@@ -37,35 +37,41 @@ <h2 class="pl-c-pattern-info__title">
37
37
<!--end pl-c-pattern-info__description-->
38
38
{{/ patternDescExists }} {{# lineageExists }}
39
39
< p class ="pl-c-lineage pl-js-lineage ">
40
- The < em > {{ patternName }}</ em > pattern contains the following patterns: {{#
41
- lineage }}
40
+ The
41
+ < em > {{ patternName }}</ em >
42
+ pattern contains the following patterns: {{# lineage }}
42
43
< a
43
44
href ="{{ lineagePath }} "
44
45
class ="pl-c-lineage__link pl-js-lineage-link "
45
- data-patternPartial ="{{ lineagePattern }} "
46
+ data-patternpartial ="{{ lineagePattern }} "
46
47
>
47
48
{{ lineagePattern }} {{# lineageState }}< span
48
49
class ="pl-c-pattern-state pl-c-pattern-state--{{ lineageState }} "
49
50
title ="{{ lineageState }} "
50
- /> {{/ lineageState }} </ a
51
- > <!--end pl-c-lineage__link-->
51
+ />
52
+ {{/ lineageState }}
53
+ </ a >
54
+ <!--end pl-c-lineage__link-->
52
55
{{# hasComma }}, {{/ hasComma }} {{/ lineage }}
53
56
</ p >
54
57
<!--end pl-c-lineage-->
55
58
{{/ lineageExists }} {{# lineageRExists }}
56
59
< p class ="pl-c-lineage ">
57
- The < em > {{ patternName }}</ em > pattern is included in the following
58
- patterns: {{# lineageR }}
60
+ The
61
+ < em > {{ patternName }}</ em >
62
+ pattern is included in the following patterns: {{# lineageR }}
59
63
< a
60
64
href ="{{ lineagePath }} "
61
65
class ="pl-c-lineage__link pl-js-lineage-link "
62
- data-patternPartial ="{{ lineagePattern }} "
66
+ data-patternpartial ="{{ lineagePattern }} "
63
67
>
64
68
{{ lineagePattern }} {{# lineageState }}< span
65
69
class ="pl-c-pattern-state pl-c-pattern-state--{{ lineageState }} "
66
70
title ="{{ lineageState }} "
67
- /> {{/ lineageState }} </ a
68
- > <!--end pl-c-lineage__link-->
71
+ />
72
+ {{/ lineageState }}
73
+ </ a >
74
+ <!--end pl-c-lineage__link-->
69
75
{{# hasComma }}, {{/ hasComma }} {{/ lineageR }}
70
76
</ p >
71
77
<!--end pl-c-lineage-->
@@ -105,6 +111,7 @@ <h3 class="pl-c-annotations__item-title">{{ title }}</h3>
105
111
id ="pl-{{ patternPartial }}-{{ id }}-tab "
106
112
data-patternpartial ="{{ patternPartial }} "
107
113
data-panelid ="{{ id }} "
114
+ no-smooth-scroll
108
115
> {{ name }}</ a
109
116
>
110
117
</ li >
@@ -123,11 +130,40 @@ <h3 class="pl-c-annotations__item-title">{{ title }}</h3>
123
130
>
124
131
< button
125
132
class ="pl-c-code-copy-btn pl-js-code-copy-btn "
133
+ size ="small "
126
134
data-clipboard-target ="#pl-{{ patternPartial }}-{{ id }}-panel code "
127
135
>
128
- Copy
129
- </ button >
136
+ < span class ="pl-c-code-copy-btn__icon-text "> Copy</ span >
137
+ < svg
138
+ viewbox ="0 0 24 24 "
139
+ width ="20 "
140
+ height ="20 "
141
+ class ="pl-c-code-copy-btn__icon pl-c-code-copy-btn__icon--copy "
142
+ >
143
+ < title > copy icon</ title >
144
+ < path
145
+ fill ="currentColor "
146
+ d ="M18.984 21v-14.016h-10.969v14.016h10.969zM18.984 5.016c1.078 0 2.016 0.891 2.016 1.969v14.016c0 1.078-0.938 2.016-2.016 2.016h-10.969c-1.078 0-2.016-0.938-2.016-2.016v-14.016c0-1.078 0.938-1.969 2.016-1.969h10.969zM15.984 0.984v2.016h-12v14.016h-1.969v-14.016c0-1.078 0.891-2.016 1.969-2.016h12z "
147
+ > </ path >
148
+ </ svg >
130
149
150
+ < svg
151
+ class ="pl-c-code-copy-btn__icon pl-c-code-copy-btn__icon--paste "
152
+ viewbox ="0 0 16 16 "
153
+ width ="20 "
154
+ height ="20 "
155
+ >
156
+ < title > clipboard</ title >
157
+ < path
158
+ fill ="currentColor "
159
+ d ="M14.5 2h-4.5c0-1.105-0.895-2-2-2s-2 0.895-2 2h-4.5c-0.276 0-0.5 0.224-0.5 0.5v13c0 0.276 0.224 0.5 0.5 0.5h13c0.276 0 0.5-0.224 0.5-0.5v-13c0-0.276-0.224-0.5-0.5-0.5zM8 1c0.552 0 1 0.448 1 1s-0.448 1-1 1c-0.552 0-1-0.448-1-1s0.448-1 1-1zM14 15h-12v-12h2v1.5c0 0.276 0.224 0.5 0.5 0.5h7c0.276 0 0.5-0.224 0.5-0.5v-1.5h2v12z "
160
+ > </ path >
161
+ < path
162
+ fill ="currentColor "
163
+ d ="M7 13.414l-3.207-3.707 0.914-0.914 2.293 1.793 4.293-3.793 0.914 0.914z "
164
+ > </ path >
165
+ </ svg >
166
+ </ button >
131
167
{{{ content }}}
132
168
</ div >
133
169
<!--end pl-c-tabs__panel-->
0 commit comments