@ebay/skin 17.3.0 → 17.4.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.changeset/big-cheetahs-peel.md +5 -0
- package/.changeset/kind-pens-own.md +5 -0
- package/.changeset/loud-carrots-protect.md +5 -0
- package/.changeset/metal-cars-promise.md +5 -0
- package/.changeset/pre.json +16 -0
- package/.changeset/shaggy-ways-pump.md +5 -0
- package/.changeset/shaggy-yaks-guess.md +5 -0
- package/.changeset/soft-ligers-march.md +5 -0
- package/.github/workflows/jekyll-gh-pages.yml +8 -2
- package/.storybook/main.js +1 -1
- package/CHANGELOG.md +22 -0
- package/ICON-CREATION.md +1 -1
- package/_cdn/skin/v17.4.0-next.1/skin-default.min.css +76 -0
- package/_cdn/skin/v17.4.0-next.1/skin-full.min.css +160 -0
- package/_cdn/skin/v17.4.0-next.1/skin-headless.min.css +6 -0
- package/dist/flag/flag.css +774 -0
- package/dist/icon/icon.css +20 -0
- package/dist/icon-button/icon-button.css +113 -0
- package/dist/phone-input/phone-input.css +144 -0
- package/dist/skeleton/skeleton.css +6 -0
- package/dist/svg/icon/icon-bids-24.svg +4 -2
- package/dist/svg/icon/icon-bids-64.svg +2 -5
- package/dist/svg/icon/icon-bookmark-filled-16.svg +7 -0
- package/dist/svg/icon/icon-bookmark-filled-24.svg +7 -0
- package/dist/svg/icon/icon-exclude-16.svg +7 -0
- package/dist/svg/icon/icon-exclude-24.svg +7 -0
- package/dist/svg/icon/icon-fast-and-free-16.svg +4 -2
- package/dist/svg/icon/icon-fast-and-free-24.svg +4 -2
- package/dist/svg/icon/icon-inspect-64.svg +7 -0
- package/dist/svg/icon/icon-on-the-way-16.svg +4 -3
- package/dist/svg/icon/icon-on-the-way-24.svg +4 -2
- package/dist/svg/icon/icon-wallet-24.svg +4 -2
- package/dist/svg/icon/icon-wallet-64.svg +4 -2
- package/dist/svg/icons.svg +72 -27
- package/dist/tokens/evo-dark.css +14 -9
- package/dist/tokens/evo-light.css +13 -3
- package/eslint.config.mjs +15 -0
- package/index.browser.json +1 -0
- package/index.css +1 -0
- package/index.js +1 -0
- package/index.mjs +1 -0
- package/lint.log +10 -0
- package/package.json +17 -17
- package/phone-input.browser.json +1 -0
- package/phone-input.css +1 -0
- package/phone-input.js +1 -0
- package/phone-input.mjs +1 -0
- package/scripts/jekyll-config.js +2 -4
- package/src/less/alert-dialog/stories/alert-dialog.stories.js +16 -0
- package/src/less/badge/stories/badge.stories.js +4 -0
- package/src/less/breadcrumbs/stories/button-cascade.stories.js +29 -0
- package/src/less/breadcrumbs/stories/button-overflow.stories.js +48 -0
- package/src/less/breadcrumbs/stories/link-cascade.stories.js +29 -0
- package/src/less/breadcrumbs/stories/link-overflow.stories.js +51 -0
- package/src/less/bundles/skin-headless.less +1 -0
- package/src/less/button/stories/button/text-spacing.stories.js +16 -0
- package/src/less/button/stories/fake-button/text-spacing.stories.js +13 -0
- package/src/less/calendar/stories/calendar.stories.js +210 -0
- package/src/less/checkbox/stories/checked.stories.js +20 -0
- package/src/less/chips-combobox/stories/chips-combobox.stories.js +58 -0
- package/src/less/combobox/stories/combobox.stories.js +21 -0
- package/src/less/confirm-dialog/stories/confirm-dialog.stories.js +17 -0
- package/src/less/cta-button/stories/cta-button.stories.js +11 -0
- package/src/less/date-textbox/stories/date-textbox.stories.js +27 -0
- package/src/less/details/stories/details.stories.js +14 -0
- package/src/less/drawer-dialog/stories/drawer-dialog.stories.js +27 -0
- package/src/less/field/stories/helper-texts-stacked.stories.js +17 -0
- package/src/less/filter-button/stories/button.stories.js +8 -0
- package/src/less/filter-menu/stories/filter-menu.stories.js +41 -0
- package/src/less/filter-menu-button/stories/filter-menu-button.stories.js +238 -0
- package/src/less/flag/flag.less +777 -0
- package/src/less/flag/stories/flag.stories.js +9 -0
- package/src/less/floating-label/stories/floating-label.stories.js +102 -0
- package/src/less/fullscreen-dialog/stories/fullscreen-dialog.stories.js +27 -0
- package/src/less/global/stories/global.stories.js +16 -0
- package/src/less/icon/generated/icon.less +20 -0
- package/src/less/icon-button/icon-button.less +133 -0
- package/src/less/icon-button/stories/buttons.stories.js +241 -0
- package/src/less/icon-button/stories/links.stories.js +241 -0
- package/src/less/infotip/stories/infotip.stories.js +27 -2
- package/src/less/inline-notice/stories/inline.stories.js +13 -0
- package/src/less/lightbox-dialog/stories/lightbox-dialog.stories.js +24 -0
- package/src/less/link/stories/link.stories.js +9 -3
- package/src/less/listbox/stories/listbox.stories.js +37 -0
- package/src/less/listbox-button/stories/base.stories.js +42 -0
- package/src/less/menu/stories/misc.stories.js +10 -0
- package/src/less/menu-button/stories/base.stories.js +26 -0
- package/src/less/page-notice/stories/page-notice.stories.js +22 -0
- package/src/less/pagination/stories/overflow.stories.js +49 -0
- package/src/less/panel-dialog/stories/panel-dialog.stories.js +45 -0
- package/src/less/phone-input/phone-input.less +175 -0
- package/src/less/phone-input/stories/phone-input.stories.js +771 -0
- package/src/less/progress-bar-expressive/stories/progress-bar-expressive.stories.js +31 -0
- package/src/less/progress-stepper/stories/progress-stepper.stories.js +52 -0
- package/src/less/radio/stories/checked.stories.js +49 -2
- package/src/less/section-notice/stories/icon-16.stories.js +25 -1
- package/src/less/section-title/stories/section-title.stories.js +17 -0
- package/src/less/segmented-buttons/stories/segmented-buttons.stories.js +10 -0
- package/src/less/select/stories/default.stories.js +13 -0
- package/src/less/signal/stories/signal.stories.js +6 -0
- package/src/less/skeleton/skeleton.less +11 -0
- package/src/less/skeleton/stories/composite.stories.js +1 -1
- package/src/less/snackbar-dialog/stories/base.stories.js +14 -0
- package/src/less/split-button/stories/base.stories.js +30 -0
- package/src/less/tabs/stories/tabs/block.stories.js +17 -0
- package/src/less/tabs/stories/tabs/inlineBlock.stories.js +17 -0
- package/src/less/textbox/stories/textbox.stories.js +6 -0
- package/src/less/toast-dialog/stories/toast-dialog.stories.js +23 -0
- package/src/less/toggle-button/stories/gallery-layout.stories.js +13 -0
- package/src/less/toggle-button/stories/list-layout.stories.js +14 -0
- package/src/less/toggle-button/stories/minimal-layout.stories.js +8 -0
- package/src/less/tooltip/stories/tooltip.stories.js +19 -0
- package/src/less/tourtip/stories/tourtip.stories.js +21 -0
- package/src/svg/icon/icon-bids-24.svg +4 -2
- package/src/svg/icon/icon-bids-64.svg +2 -5
- package/src/svg/icon/icon-bookmark-filled-16.svg +7 -0
- package/src/svg/icon/icon-bookmark-filled-24.svg +7 -0
- package/src/svg/icon/icon-exclude-16.svg +7 -0
- package/src/svg/icon/icon-exclude-24.svg +7 -0
- package/src/svg/icon/icon-fast-and-free-16.svg +4 -2
- package/src/svg/icon/icon-fast-and-free-24.svg +4 -2
- package/src/svg/icon/icon-inspect-64.svg +7 -0
- package/src/svg/icon/icon-on-the-way-16.svg +4 -3
- package/src/svg/icon/icon-on-the-way-24.svg +4 -2
- package/src/svg/icon/icon-wallet-24.svg +4 -2
- package/src/svg/icon/icon-wallet-64.svg +4 -2
- package/src/svg/icons.svg +72 -27
- package/src/tokens/evo-dark.css +14 -9
- package/src/tokens/evo-light.css +13 -3
- package/svg.svg +72 -27
- package/.eslintrc +0 -14
- package/_cdn/skin/v17.3.0/skin-default.min.css +0 -69
- package/_cdn/skin/v17.3.0/skin-full.min.css +0 -151
- package/_cdn/skin/v17.3.0/skin-headless.min.css +0 -6
- package/src/less/section-notice/stories/icon-24.stories.js +0 -251
|
@@ -0,0 +1,771 @@
|
|
|
1
|
+
export default { title: "Skin/Phone Input/Base" };
|
|
2
|
+
|
|
3
|
+
export const Default = () => `
|
|
4
|
+
<span class="phone-input">
|
|
5
|
+
<span class="listbox-button listbox-button--form">
|
|
6
|
+
<button class="btn btn--form btn--split-start" aria-expanded="false" aria-haspopup="listbox" type="button"
|
|
7
|
+
data-listbox-button-prefix="Country: ">
|
|
8
|
+
<span class="btn__cell">
|
|
9
|
+
<span class="btn__text">
|
|
10
|
+
<span class="fflag fflag--us" data-country-code="1"
|
|
11
|
+
aria-label="Country: United States of America (+1)">
|
|
12
|
+
</span>
|
|
13
|
+
</span>
|
|
14
|
+
<svg class="icon icon--chevron-down-12" focusable="false" height="10" width="14" aria-hidden="true">
|
|
15
|
+
<use href="#icon-chevron-down-12"></use>
|
|
16
|
+
</svg>
|
|
17
|
+
</span>
|
|
18
|
+
</button>
|
|
19
|
+
<div class="listbox-button__listbox">
|
|
20
|
+
<div class="listbox-button__options" role="listbox">
|
|
21
|
+
<div class="listbox-button__option" role="option">
|
|
22
|
+
<span class="listbox-button__value">
|
|
23
|
+
<span class="fflag fflag--al" data-country-code="355">
|
|
24
|
+
</span>
|
|
25
|
+
<span>Albania</span>
|
|
26
|
+
<span>(+355)</span>
|
|
27
|
+
</span>
|
|
28
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
29
|
+
<use href="#icon-tick-16"></use>
|
|
30
|
+
</svg>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="listbox-button__option" role="option">
|
|
33
|
+
<span class="listbox-button__value">
|
|
34
|
+
<span class="fflag fflag--in" data-country-code="91">
|
|
35
|
+
</span>
|
|
36
|
+
<span>India</span>
|
|
37
|
+
<span>(+91)</span>
|
|
38
|
+
</span>
|
|
39
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
40
|
+
<use href="#icon-tick-16"></use>
|
|
41
|
+
</svg>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="listbox-button__option" role="option">
|
|
44
|
+
<span class="listbox-button__value">
|
|
45
|
+
<span class="fflag fflag--sh" data-country-code="290">
|
|
46
|
+
</span>
|
|
47
|
+
<span>Saint Helena, Ascension and Tristan da Cunha</span>
|
|
48
|
+
<span>(+290)</span>
|
|
49
|
+
</span>
|
|
50
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
51
|
+
<use href="#icon-tick-16"></use>
|
|
52
|
+
</svg>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="listbox-button__option" role="option">
|
|
55
|
+
<span class="listbox-button__value">
|
|
56
|
+
<span class="fflag fflag--gb" data-country-code="44">
|
|
57
|
+
</span>
|
|
58
|
+
<span>United Kingdom</span>
|
|
59
|
+
<span>(+44)</span>
|
|
60
|
+
</span>
|
|
61
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
62
|
+
<use href="#icon-tick-16"></use>
|
|
63
|
+
</svg>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="listbox-button__option" role="option" aria-selected="true">
|
|
66
|
+
<span class="listbox-button__value">
|
|
67
|
+
<span class="fflag fflag--us" data-country-code="1">
|
|
68
|
+
</span>
|
|
69
|
+
<span>United States of America</span>
|
|
70
|
+
<span>(+1)</span>
|
|
71
|
+
</span>
|
|
72
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
73
|
+
<use href="#icon-tick-16"></use>
|
|
74
|
+
</svg>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
</span>
|
|
79
|
+
<span class="textbox">
|
|
80
|
+
<span aria-hidden="true">+1</span>
|
|
81
|
+
<input class="textbox__control" type="tel" aria-label="area code + phone number"
|
|
82
|
+
autocomplete="tel-national" />
|
|
83
|
+
</span>
|
|
84
|
+
</span>`;
|
|
85
|
+
|
|
86
|
+
export const Large = () => `
|
|
87
|
+
<span class="phone-input phone-input--large">
|
|
88
|
+
<span class="listbox-button listbox-button--form">
|
|
89
|
+
<button class="btn btn--form btn--split-start btn--large btn--large-fixed-height" aria-expanded="false" aria-haspopup="listbox" type="button"
|
|
90
|
+
data-listbox-button-prefix="Country: ">
|
|
91
|
+
<span class="btn__cell">
|
|
92
|
+
<span class="btn__text">
|
|
93
|
+
<span class="fflag fflag--us" data-country-code="1"
|
|
94
|
+
aria-label="Country: United States of America (+1)">
|
|
95
|
+
</span>
|
|
96
|
+
</span>
|
|
97
|
+
<svg class="icon icon--chevron-down-12" focusable="false" height="10" width="14" aria-hidden="true">
|
|
98
|
+
<use href="#icon-chevron-down-12"></use>
|
|
99
|
+
</svg>
|
|
100
|
+
</span>
|
|
101
|
+
</button>
|
|
102
|
+
<div class="listbox-button__listbox">
|
|
103
|
+
<div class="listbox-button__options" role="listbox">
|
|
104
|
+
<div class="listbox-button__option" role="option">
|
|
105
|
+
<span class="listbox-button__value">
|
|
106
|
+
<span class="fflag fflag--al" data-country-code="355">
|
|
107
|
+
</span>
|
|
108
|
+
<span>Albania</span>
|
|
109
|
+
<span>(+355)</span>
|
|
110
|
+
</span>
|
|
111
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
112
|
+
<use href="#icon-tick-16"></use>
|
|
113
|
+
</svg>
|
|
114
|
+
</div>
|
|
115
|
+
<div class="listbox-button__option" role="option">
|
|
116
|
+
<span class="listbox-button__value">
|
|
117
|
+
<span class="fflag fflag--in" data-country-code="91">
|
|
118
|
+
</span>
|
|
119
|
+
<span>India</span>
|
|
120
|
+
<span>(+91)</span>
|
|
121
|
+
</span>
|
|
122
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
123
|
+
<use href="#icon-tick-16"></use>
|
|
124
|
+
</svg>
|
|
125
|
+
</div>
|
|
126
|
+
<div class="listbox-button__option" role="option">
|
|
127
|
+
<span class="listbox-button__value">
|
|
128
|
+
<span class="fflag fflag--sh" data-country-code="290">
|
|
129
|
+
</span>
|
|
130
|
+
<span>Saint Helena, Ascension and Tristan da Cunha</span>
|
|
131
|
+
<span>(+290)</span>
|
|
132
|
+
</span>
|
|
133
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
134
|
+
<use href="#icon-tick-16"></use>
|
|
135
|
+
</svg>
|
|
136
|
+
</div>
|
|
137
|
+
<div class="listbox-button__option" role="option">
|
|
138
|
+
<span class="listbox-button__value">
|
|
139
|
+
<span class="fflag fflag--gb" data-country-code="44">
|
|
140
|
+
</span>
|
|
141
|
+
<span>United Kingdom</span>
|
|
142
|
+
<span>(+44)</span>
|
|
143
|
+
</span>
|
|
144
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
145
|
+
<use href="#icon-tick-16"></use>
|
|
146
|
+
</svg>
|
|
147
|
+
</div>
|
|
148
|
+
<div class="listbox-button__option" role="option" aria-selected="true">
|
|
149
|
+
<span class="listbox-button__value">
|
|
150
|
+
<span class="fflag fflag--us" data-country-code="1">
|
|
151
|
+
</span>
|
|
152
|
+
<span>United States of America</span>
|
|
153
|
+
<span>(+1)</span>
|
|
154
|
+
</span>
|
|
155
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
156
|
+
<use href="#icon-tick-16"></use>
|
|
157
|
+
</svg>
|
|
158
|
+
</div>
|
|
159
|
+
</div>
|
|
160
|
+
</div>
|
|
161
|
+
</span>
|
|
162
|
+
<span class="textbox">
|
|
163
|
+
<span aria-hidden="true">+1</span>
|
|
164
|
+
<input class="textbox__control textbox__control--large" type="tel" aria-label="area code + phone number"
|
|
165
|
+
autocomplete="tel-national" />
|
|
166
|
+
</span>
|
|
167
|
+
</span>`;
|
|
168
|
+
|
|
169
|
+
export const ReadOnly = () => `
|
|
170
|
+
<span class="phone-input phone-input--readonly">
|
|
171
|
+
<span class="listbox-button listbox-button--form">
|
|
172
|
+
<button class="btn btn--form btn--split-start" aria-expanded="false" aria-haspopup="listbox" type="button"
|
|
173
|
+
data-listbox-button-prefix="Country: " disabled>
|
|
174
|
+
<span class="btn__cell">
|
|
175
|
+
<span class="btn__text">
|
|
176
|
+
<span class="fflag fflag--us" data-country-code="1"
|
|
177
|
+
aria-label="Country: United States of America (+1)">
|
|
178
|
+
</span>
|
|
179
|
+
</span>
|
|
180
|
+
<svg class="icon icon--chevron-down-12" focusable="false" height="10" width="14" aria-hidden="true">
|
|
181
|
+
<use href="#icon-chevron-down-12"></use>
|
|
182
|
+
</svg>
|
|
183
|
+
</span>
|
|
184
|
+
</button>
|
|
185
|
+
<div class="listbox-button__listbox">
|
|
186
|
+
<div class="listbox-button__options" role="listbox">
|
|
187
|
+
<div class="listbox-button__option" role="option">
|
|
188
|
+
<span class="listbox-button__value">
|
|
189
|
+
<span class="fflag fflag--al" data-country-code="355">
|
|
190
|
+
</span>
|
|
191
|
+
<span>Albania</span>
|
|
192
|
+
<span>(+355)</span>
|
|
193
|
+
</span>
|
|
194
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
195
|
+
<use href="#icon-tick-16"></use>
|
|
196
|
+
</svg>
|
|
197
|
+
</div>
|
|
198
|
+
<div class="listbox-button__option" role="option">
|
|
199
|
+
<span class="listbox-button__value">
|
|
200
|
+
<span class="fflag fflag--in" data-country-code="91">
|
|
201
|
+
</span>
|
|
202
|
+
<span>India</span>
|
|
203
|
+
<span>(+91)</span>
|
|
204
|
+
</span>
|
|
205
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
206
|
+
<use href="#icon-tick-16"></use>
|
|
207
|
+
</svg>
|
|
208
|
+
</div>
|
|
209
|
+
<div class="listbox-button__option" role="option">
|
|
210
|
+
<span class="listbox-button__value">
|
|
211
|
+
<span class="fflag fflag--sh" data-country-code="290">
|
|
212
|
+
</span>
|
|
213
|
+
<span>Saint Helena, Ascension and Tristan da Cunha</span>
|
|
214
|
+
<span>(+290)</span>
|
|
215
|
+
</span>
|
|
216
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
217
|
+
<use href="#icon-tick-16"></use>
|
|
218
|
+
</svg>
|
|
219
|
+
</div>
|
|
220
|
+
<div class="listbox-button__option" role="option">
|
|
221
|
+
<span class="listbox-button__value">
|
|
222
|
+
<span class="fflag fflag--gb" data-country-code="44">
|
|
223
|
+
</span>
|
|
224
|
+
<span>United Kingdom</span>
|
|
225
|
+
<span>(+44)</span>
|
|
226
|
+
</span>
|
|
227
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
228
|
+
<use href="#icon-tick-16"></use>
|
|
229
|
+
</svg>
|
|
230
|
+
</div>
|
|
231
|
+
<div class="listbox-button__option" role="option" aria-selected="true">
|
|
232
|
+
<span class="listbox-button__value">
|
|
233
|
+
<span class="fflag fflag--us" data-country-code="1">
|
|
234
|
+
</span>
|
|
235
|
+
<span>United States of America</span>
|
|
236
|
+
<span>(+1)</span>
|
|
237
|
+
</span>
|
|
238
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
239
|
+
<use href="#icon-tick-16"></use>
|
|
240
|
+
</svg>
|
|
241
|
+
</div>
|
|
242
|
+
</div>
|
|
243
|
+
</div>
|
|
244
|
+
</span>
|
|
245
|
+
<span class="textbox">
|
|
246
|
+
<span aria-hidden="true">+1</span>
|
|
247
|
+
<input class="textbox__control" type="tel" aria-label="Area code + phone number" autocomplete="tel-national"
|
|
248
|
+
readonly value="123456789" />
|
|
249
|
+
</span>
|
|
250
|
+
</span>`;
|
|
251
|
+
|
|
252
|
+
export const Disabled = () => `
|
|
253
|
+
<span class="phone-input phone-input--disabled">
|
|
254
|
+
<span class="listbox-button listbox-button--form">
|
|
255
|
+
<button class="btn btn--form btn--split-start" aria-expanded="false" aria-haspopup="listbox" type="button"
|
|
256
|
+
data-listbox-button-prefix="Country: " disabled>
|
|
257
|
+
<span class="btn__cell">
|
|
258
|
+
<span class="btn__text">
|
|
259
|
+
<span class="fflag fflag--us"
|
|
260
|
+
data-country-code="1" aria-label="Country: United States of America (+1)">
|
|
261
|
+
</span>
|
|
262
|
+
</span>
|
|
263
|
+
<svg class="icon icon--chevron-down-12" focusable="false" height="10" width="14" aria-hidden="true">
|
|
264
|
+
<use href="#icon-chevron-down-12"></use>
|
|
265
|
+
</svg>
|
|
266
|
+
</span>
|
|
267
|
+
</button>
|
|
268
|
+
<div class="listbox-button__listbox">
|
|
269
|
+
<div class="listbox-button__options" role="listbox">
|
|
270
|
+
<div class="listbox-button__option" role="option">
|
|
271
|
+
<span class="listbox-button__value">
|
|
272
|
+
<span class="fflag fflag--al" data-country-code="355">
|
|
273
|
+
</span>
|
|
274
|
+
<span>Albania</span>
|
|
275
|
+
<span>(+355)</span>
|
|
276
|
+
</span>
|
|
277
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
278
|
+
<use href="#icon-tick-16"></use>
|
|
279
|
+
</svg>
|
|
280
|
+
</div>
|
|
281
|
+
<div class="listbox-button__option" role="option">
|
|
282
|
+
<span class="listbox-button__value">
|
|
283
|
+
<span class="fflag fflag--in" data-country-code="91">
|
|
284
|
+
</span>
|
|
285
|
+
<span>India</span>
|
|
286
|
+
<span>(+91)</span>
|
|
287
|
+
</span>
|
|
288
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
289
|
+
<use href="#icon-tick-16"></use>
|
|
290
|
+
</svg>
|
|
291
|
+
</div>
|
|
292
|
+
<div class="listbox-button__option" role="option">
|
|
293
|
+
<span class="listbox-button__value">
|
|
294
|
+
<span class="fflag fflag--sh" data-country-code="290">
|
|
295
|
+
</span>
|
|
296
|
+
<span>Saint Helena, Ascension and Tristan da Cunha</span>
|
|
297
|
+
<span>(+290)</span>
|
|
298
|
+
</span>
|
|
299
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
300
|
+
<use href="#icon-tick-16"></use>
|
|
301
|
+
</svg>
|
|
302
|
+
</div>
|
|
303
|
+
<div class="listbox-button__option" role="option">
|
|
304
|
+
<span class="listbox-button__value">
|
|
305
|
+
<span class="fflag fflag--gb" data-country-code="44">
|
|
306
|
+
</span>
|
|
307
|
+
<span>United Kingdom</span>
|
|
308
|
+
<span>(+44)</span>
|
|
309
|
+
</span>
|
|
310
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
311
|
+
<use href="#icon-tick-16"></use>
|
|
312
|
+
</svg>
|
|
313
|
+
</div>
|
|
314
|
+
<div class="listbox-button__option" role="option" aria-selected="true">
|
|
315
|
+
<span class="listbox-button__value">
|
|
316
|
+
<span class="fflag fflag--us" data-country-code="1">
|
|
317
|
+
</span>
|
|
318
|
+
<span>United States of America</span>
|
|
319
|
+
<span>(+1)</span>
|
|
320
|
+
</span>
|
|
321
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
322
|
+
<use href="#icon-tick-16"></use>
|
|
323
|
+
</svg>
|
|
324
|
+
</div>
|
|
325
|
+
</div>
|
|
326
|
+
</div>
|
|
327
|
+
</span>
|
|
328
|
+
<span class="textbox">
|
|
329
|
+
<span aria-hidden="true">+1</span>
|
|
330
|
+
<input class="textbox__control" type="tel" aria-label="area code + phone number" autocomplete="tel-national"
|
|
331
|
+
value="123456789" disabled />
|
|
332
|
+
</span>
|
|
333
|
+
</span>`;
|
|
334
|
+
|
|
335
|
+
export const Error = () => `
|
|
336
|
+
<span class="phone-input phone-input--error">
|
|
337
|
+
<span class="listbox-button listbox-button--form listbox-button--error">
|
|
338
|
+
<button class="btn btn--form btn--split-start" aria-expanded="false" aria-haspopup="listbox" type="button"
|
|
339
|
+
data-listbox-button-prefix="Country: ">
|
|
340
|
+
<span class="btn__cell">
|
|
341
|
+
<span class="btn__text">
|
|
342
|
+
<span class="fflag fflag--us" data-country-code="1"
|
|
343
|
+
aria-label="Country: United States of America (+1)">
|
|
344
|
+
</span>
|
|
345
|
+
</span>
|
|
346
|
+
<svg class="icon icon--chevron-down-12" focusable="false" height="10" width="14" aria-hidden="true">
|
|
347
|
+
<use href="#icon-chevron-down-12"></use>
|
|
348
|
+
</svg>
|
|
349
|
+
</span>
|
|
350
|
+
</button>
|
|
351
|
+
<div class="listbox-button__listbox">
|
|
352
|
+
<div class="listbox-button__options" role="listbox">
|
|
353
|
+
<div class="listbox-button__option" role="option">
|
|
354
|
+
<span class="listbox-button__value">
|
|
355
|
+
<span class="fflag fflag--al" data-country-code="355">
|
|
356
|
+
</span>
|
|
357
|
+
<span>Albania</span>
|
|
358
|
+
<span>(+355)</span>
|
|
359
|
+
</span>
|
|
360
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
361
|
+
<use href="#icon-tick-16"></use>
|
|
362
|
+
</svg>
|
|
363
|
+
</div>
|
|
364
|
+
<div class="listbox-button__option" role="option">
|
|
365
|
+
<span class="listbox-button__value">
|
|
366
|
+
<span class="fflag fflag--in" data-country-code="91">
|
|
367
|
+
</span>
|
|
368
|
+
<span>India</span>
|
|
369
|
+
<span>(+91)</span>
|
|
370
|
+
</span>
|
|
371
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
372
|
+
<use href="#icon-tick-16"></use>
|
|
373
|
+
</svg>
|
|
374
|
+
</div>
|
|
375
|
+
<div class="listbox-button__option" role="option">
|
|
376
|
+
<span class="listbox-button__value">
|
|
377
|
+
<span class="fflag fflag--sh" data-country-code="290">
|
|
378
|
+
</span>
|
|
379
|
+
<span>Saint Helena, Ascension and Tristan da Cunha</span>
|
|
380
|
+
<span>(+290)</span>
|
|
381
|
+
</span>
|
|
382
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
383
|
+
<use href="#icon-tick-16"></use>
|
|
384
|
+
</svg>
|
|
385
|
+
</div>
|
|
386
|
+
<div class="listbox-button__option" role="option">
|
|
387
|
+
<span class="listbox-button__value">
|
|
388
|
+
<span class="fflag fflag--gb" data-country-code="44">
|
|
389
|
+
</span>
|
|
390
|
+
<span>United Kingdom</span>
|
|
391
|
+
<span>(+44)</span>
|
|
392
|
+
</span>
|
|
393
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
394
|
+
<use href="#icon-tick-16"></use>
|
|
395
|
+
</svg>
|
|
396
|
+
</div>
|
|
397
|
+
<div class="listbox-button__option" role="option" aria-selected="true">
|
|
398
|
+
<span class="listbox-button__value">
|
|
399
|
+
<span class="fflag fflag--us" data-country-code="1">
|
|
400
|
+
</span>
|
|
401
|
+
<span>United States of America</span>
|
|
402
|
+
<span>(+1)</span>
|
|
403
|
+
</span>
|
|
404
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
405
|
+
<use href="#icon-tick-16"></use>
|
|
406
|
+
</svg>
|
|
407
|
+
</div>
|
|
408
|
+
</div>
|
|
409
|
+
</div>
|
|
410
|
+
</span>
|
|
411
|
+
<span class="textbox">
|
|
412
|
+
<span aria-hidden="true">+1</span>
|
|
413
|
+
<input class="textbox__control" type="tel" aria-label="area code + phone number" autocomplete="tel-national"
|
|
414
|
+
value="123456789" aria-invalid="true" />
|
|
415
|
+
</span>
|
|
416
|
+
</span>`;
|
|
417
|
+
|
|
418
|
+
export const Fluid = () => `
|
|
419
|
+
<span class="phone-input phone-input--fluid">
|
|
420
|
+
<span class="listbox-button listbox-button--form">
|
|
421
|
+
<button class="btn btn--form btn--split-start" aria-expanded="false" aria-haspopup="listbox" type="button"
|
|
422
|
+
data-listbox-button-prefix="Country: ">
|
|
423
|
+
<span class="btn__cell">
|
|
424
|
+
<span class="btn__text">
|
|
425
|
+
<span class="fflag fflag--us" data-country-code="1"
|
|
426
|
+
aria-label="Country: United States of America (+1)">
|
|
427
|
+
</span>
|
|
428
|
+
</span>
|
|
429
|
+
<svg class="icon icon--chevron-down-12" focusable="false" height="10" width="14" aria-hidden="true">
|
|
430
|
+
<use href="#icon-chevron-down-12"></use>
|
|
431
|
+
</svg>
|
|
432
|
+
</span>
|
|
433
|
+
</button>
|
|
434
|
+
<div class="listbox-button__listbox">
|
|
435
|
+
<div class="listbox-button__options" role="listbox">
|
|
436
|
+
<div class="listbox-button__option" role="option">
|
|
437
|
+
<span class="listbox-button__value">
|
|
438
|
+
<span class="fflag fflag--al" data-country-code="355">
|
|
439
|
+
</span>
|
|
440
|
+
<span>Albania</span>
|
|
441
|
+
<span>(+355)</span>
|
|
442
|
+
</span>
|
|
443
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
444
|
+
<use href="#icon-tick-16"></use>
|
|
445
|
+
</svg>
|
|
446
|
+
</div>
|
|
447
|
+
<div class="listbox-button__option" role="option">
|
|
448
|
+
<span class="listbox-button__value">
|
|
449
|
+
<span class="fflag fflag--in" data-country-code="91">
|
|
450
|
+
</span>
|
|
451
|
+
<span>India</span>
|
|
452
|
+
<span>(+91)</span>
|
|
453
|
+
</span>
|
|
454
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
455
|
+
<use href="#icon-tick-16"></use>
|
|
456
|
+
</svg>
|
|
457
|
+
</div>
|
|
458
|
+
<div class="listbox-button__option" role="option">
|
|
459
|
+
<span class="listbox-button__value">
|
|
460
|
+
<span class="fflag fflag--sh" data-country-code="290">
|
|
461
|
+
</span>
|
|
462
|
+
<span>Saint Helena, Ascension and Tristan da Cunha</span>
|
|
463
|
+
<span>(+290)</span>
|
|
464
|
+
</span>
|
|
465
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
466
|
+
<use href="#icon-tick-16"></use>
|
|
467
|
+
</svg>
|
|
468
|
+
</div>
|
|
469
|
+
<div class="listbox-button__option" role="option">
|
|
470
|
+
<span class="listbox-button__value">
|
|
471
|
+
<span class="fflag fflag--gb" data-country-code="44">
|
|
472
|
+
</span>
|
|
473
|
+
<span>United Kingdom</span>
|
|
474
|
+
<span>(+44)</span>
|
|
475
|
+
</span>
|
|
476
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
477
|
+
<use href="#icon-tick-16"></use>
|
|
478
|
+
</svg>
|
|
479
|
+
</div>
|
|
480
|
+
<div class="listbox-button__option" role="option" aria-selected="true">
|
|
481
|
+
<span class="listbox-button__value">
|
|
482
|
+
<span class="fflag fflag--us" data-country-code="1">
|
|
483
|
+
</span>
|
|
484
|
+
<span>United States of America</span>
|
|
485
|
+
<span>(+1)</span>
|
|
486
|
+
</span>
|
|
487
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
488
|
+
<use href="#icon-tick-16"></use>
|
|
489
|
+
</svg>
|
|
490
|
+
</div>
|
|
491
|
+
</div>
|
|
492
|
+
</div>
|
|
493
|
+
</span>
|
|
494
|
+
<span class="textbox">
|
|
495
|
+
<span aria-hidden="true">+1</span>
|
|
496
|
+
<input class="textbox__control" type="tel" aria-label="area code + phone number"
|
|
497
|
+
autocomplete="tel-national" />
|
|
498
|
+
</span>
|
|
499
|
+
</span>`;
|
|
500
|
+
|
|
501
|
+
export const RTL = () => `
|
|
502
|
+
<div dir="rtl">
|
|
503
|
+
<span class="phone-input">
|
|
504
|
+
<span class="listbox-button listbox-button--form">
|
|
505
|
+
<button class="btn btn--form btn--split-start" aria-expanded="false" aria-haspopup="listbox" type="button"
|
|
506
|
+
data-listbox-button-prefix="Country: ">
|
|
507
|
+
<span class="btn__cell">
|
|
508
|
+
<span class="btn__text">
|
|
509
|
+
<span class="fflag fflag--us" data-country-code="1"
|
|
510
|
+
aria-label="Country: United States of America (+1)">
|
|
511
|
+
</span>
|
|
512
|
+
</span>
|
|
513
|
+
<svg class="icon icon--chevron-down-12" focusable="false" height="10" width="14" aria-hidden="true">
|
|
514
|
+
<use href="#icon-chevron-down-12"></use>
|
|
515
|
+
</svg>
|
|
516
|
+
</span>
|
|
517
|
+
</button>
|
|
518
|
+
<div class="listbox-button__listbox">
|
|
519
|
+
<div class="listbox-button__options" role="listbox">
|
|
520
|
+
<div class="listbox-button__option" role="option">
|
|
521
|
+
<span class="listbox-button__value">
|
|
522
|
+
<span class="fflag fflag--al" data-country-code="355">
|
|
523
|
+
</span>
|
|
524
|
+
<span>Albania</span>
|
|
525
|
+
<span>(+355)</span>
|
|
526
|
+
</span>
|
|
527
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
528
|
+
<use href="#icon-tick-16"></use>
|
|
529
|
+
</svg>
|
|
530
|
+
</div>
|
|
531
|
+
<div class="listbox-button__option" role="option">
|
|
532
|
+
<span class="listbox-button__value">
|
|
533
|
+
<span class="fflag fflag--in" data-country-code="91">
|
|
534
|
+
</span>
|
|
535
|
+
<span>India</span>
|
|
536
|
+
<span>(+91)</span>
|
|
537
|
+
</span>
|
|
538
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
539
|
+
<use href="#icon-tick-16"></use>
|
|
540
|
+
</svg>
|
|
541
|
+
</div>
|
|
542
|
+
<div class="listbox-button__option" role="option">
|
|
543
|
+
<span class="listbox-button__value">
|
|
544
|
+
<span class="fflag fflag--sh" data-country-code="290">
|
|
545
|
+
</span>
|
|
546
|
+
<span>Saint Helena, Ascension and Tristan da Cunha</span>
|
|
547
|
+
<span>(+290)</span>
|
|
548
|
+
</span>
|
|
549
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
550
|
+
<use href="#icon-tick-16"></use>
|
|
551
|
+
</svg>
|
|
552
|
+
</div>
|
|
553
|
+
<div class="listbox-button__option" role="option">
|
|
554
|
+
<span class="listbox-button__value">
|
|
555
|
+
<span class="fflag fflag--gb" data-country-code="44">
|
|
556
|
+
</span>
|
|
557
|
+
<span>United Kingdom</span>
|
|
558
|
+
<span>(+44)</span>
|
|
559
|
+
</span>
|
|
560
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
561
|
+
<use href="#icon-tick-16"></use>
|
|
562
|
+
</svg>
|
|
563
|
+
</div>
|
|
564
|
+
<div class="listbox-button__option" role="option" aria-selected="true">
|
|
565
|
+
<span class="listbox-button__value">
|
|
566
|
+
<span class="fflag fflag--us" data-country-code="1">
|
|
567
|
+
</span>
|
|
568
|
+
<span>United States of America</span>
|
|
569
|
+
<span>(+1)</span>
|
|
570
|
+
</span>
|
|
571
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
572
|
+
<use href="#icon-tick-16"></use>
|
|
573
|
+
</svg>
|
|
574
|
+
</div>
|
|
575
|
+
</div>
|
|
576
|
+
</div>
|
|
577
|
+
</span>
|
|
578
|
+
<span class="textbox">
|
|
579
|
+
<span aria-hidden="true">+1</span>
|
|
580
|
+
<input class="textbox__control" type="tel" aria-label="area code + phone number"
|
|
581
|
+
autocomplete="tel-national" value="123456789" />
|
|
582
|
+
</span>
|
|
583
|
+
</span>
|
|
584
|
+
</div>`;
|
|
585
|
+
|
|
586
|
+
export const TextSpacing = () => `
|
|
587
|
+
<div class="demo-a11y-text-spacing">
|
|
588
|
+
<span class="field" role="group" aria-labelledby="phone-number-label-0">
|
|
589
|
+
<label class="field__label field__label--stacked" id="phone-number-label-0">Phone number</label>
|
|
590
|
+
<span class="phone-input">
|
|
591
|
+
<span class="listbox-button listbox-button--form">
|
|
592
|
+
<button class="btn btn--form btn--split-start" aria-expanded="false" aria-haspopup="listbox" type="button"
|
|
593
|
+
data-listbox-button-prefix="Country: " aria-label="Country: United States of America">
|
|
594
|
+
<span class="btn__cell">
|
|
595
|
+
<span class="btn__text">
|
|
596
|
+
<span class="fflag fflag--us" aria-hidden="true"
|
|
597
|
+
data-country-code="1">
|
|
598
|
+
</span>
|
|
599
|
+
</span>
|
|
600
|
+
<svg class="icon icon--chevron-down-12" focusable="false" height="10" width="14" aria-hidden="true">
|
|
601
|
+
<use href="#icon-chevron-down-12"></use>
|
|
602
|
+
</svg>
|
|
603
|
+
</span>
|
|
604
|
+
</button>
|
|
605
|
+
<div class="listbox-button__listbox">
|
|
606
|
+
<div class="listbox-button__options" role="listbox">
|
|
607
|
+
<div class="listbox-button__option" role="option">
|
|
608
|
+
<span class="listbox-button__value">
|
|
609
|
+
<span class="fflag fflag--al" aria-hidden="true"
|
|
610
|
+
data-country-code="355">
|
|
611
|
+
</span>
|
|
612
|
+
<span>Albania</span>
|
|
613
|
+
<span>(+355)</span>
|
|
614
|
+
</span>
|
|
615
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
616
|
+
<use href="#icon-tick-16"></use>
|
|
617
|
+
</svg>
|
|
618
|
+
</div>
|
|
619
|
+
<div class="listbox-button__option" role="option">
|
|
620
|
+
<span class="listbox-button__value">
|
|
621
|
+
<span class="fflag fflag--in" aria-hidden="true"
|
|
622
|
+
data-country-code="91">
|
|
623
|
+
</span>
|
|
624
|
+
<span>India</span>
|
|
625
|
+
<span>(+91)</span>
|
|
626
|
+
</span>
|
|
627
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
628
|
+
<use href="#icon-tick-16"></use>
|
|
629
|
+
</svg>
|
|
630
|
+
</div>
|
|
631
|
+
<div class="listbox-button__option" role="option">
|
|
632
|
+
<span class="listbox-button__value">
|
|
633
|
+
<span class="fflag fflag--sh" aria-hidden="true"
|
|
634
|
+
data-country-code="290">
|
|
635
|
+
</span>
|
|
636
|
+
<span>Saint Helena, Ascension and Tristan da Cunha</span>
|
|
637
|
+
<span>(+290)</span>
|
|
638
|
+
</span>
|
|
639
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
640
|
+
<use href="#icon-tick-16"></use>
|
|
641
|
+
</svg>
|
|
642
|
+
</div>
|
|
643
|
+
<div class="listbox-button__option" role="option">
|
|
644
|
+
<span class="listbox-button__value">
|
|
645
|
+
<span class="fflag fflag--gb" aria-hidden="true"
|
|
646
|
+
data-country-code="44">
|
|
647
|
+
</span>
|
|
648
|
+
<span>United Kingdom</span>
|
|
649
|
+
<span>(+44)</span>
|
|
650
|
+
</span>
|
|
651
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
652
|
+
<use href="#icon-tick-16"></use>
|
|
653
|
+
</svg>
|
|
654
|
+
</div>
|
|
655
|
+
<div class="listbox-button__option" role="option" aria-selected="true">
|
|
656
|
+
<span class="listbox-button__value">
|
|
657
|
+
<span class="fflag fflag--us" aria-hidden="true"
|
|
658
|
+
data-country-code="1">
|
|
659
|
+
</span>
|
|
660
|
+
<span>United States of America</span>
|
|
661
|
+
<span>(+1)</span>
|
|
662
|
+
</span>
|
|
663
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
664
|
+
<use href="#icon-tick-16"></use>
|
|
665
|
+
</svg>
|
|
666
|
+
</div>
|
|
667
|
+
</div>
|
|
668
|
+
</div>
|
|
669
|
+
</span>
|
|
670
|
+
<span class="textbox">
|
|
671
|
+
<span id="phone-prefix-1">+1</span>
|
|
672
|
+
<input class="textbox__control" type="tel" aria-label="area code + phone number" autocomplete="tel-national"
|
|
673
|
+
aria-describedby="phone-prefix-1" value="123456789" />
|
|
674
|
+
</span>
|
|
675
|
+
</span>
|
|
676
|
+
</span>
|
|
677
|
+
</div>`;
|
|
678
|
+
|
|
679
|
+
export const overrideFontSize = () => `
|
|
680
|
+
<div>
|
|
681
|
+
<span class="field" role="group" aria-labelledby="phone-number-label-0">
|
|
682
|
+
<label style="font-size: 200%;" class="field__label field__label--stacked" id="phone-number-label-0">Phone number</label>
|
|
683
|
+
<span class="phone-input">
|
|
684
|
+
<span class="listbox-button listbox-button--form" style="font-size: 200%;">
|
|
685
|
+
<button class="btn btn--form btn--split-start" aria-expanded="false" aria-haspopup="listbox" type="button"
|
|
686
|
+
data-listbox-button-prefix="Country: " aria-label="Country: United States of America">
|
|
687
|
+
<span class="btn__cell">
|
|
688
|
+
<span class="btn__text">
|
|
689
|
+
<span class="fflag fflag--us" aria-hidden="true"
|
|
690
|
+
data-country-code="1">
|
|
691
|
+
</span>
|
|
692
|
+
</span>
|
|
693
|
+
<svg class="icon icon--chevron-down-12" focusable="false" height="10" width="14" aria-hidden="true">
|
|
694
|
+
<use href="#icon-chevron-down-12"></use>
|
|
695
|
+
</svg>
|
|
696
|
+
</span>
|
|
697
|
+
</button>
|
|
698
|
+
<div class="listbox-button__listbox">
|
|
699
|
+
<div class="listbox-button__options" role="listbox">
|
|
700
|
+
<div class="listbox-button__option" role="option">
|
|
701
|
+
<span class="listbox-button__value">
|
|
702
|
+
<span class="fflag fflag--al" aria-hidden="true"
|
|
703
|
+
data-country-code="355">
|
|
704
|
+
</span>
|
|
705
|
+
<span>Albania</span>
|
|
706
|
+
<span>(+355)</span>
|
|
707
|
+
</span>
|
|
708
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
709
|
+
<use href="#icon-tick-16"></use>
|
|
710
|
+
</svg>
|
|
711
|
+
</div>
|
|
712
|
+
<div class="listbox-button__option" role="option">
|
|
713
|
+
<span class="listbox-button__value">
|
|
714
|
+
<span class="fflag fflag--in" aria-hidden="true"
|
|
715
|
+
data-country-code="91">
|
|
716
|
+
</span>
|
|
717
|
+
<span>India</span>
|
|
718
|
+
<span>(+91)</span>
|
|
719
|
+
</span>
|
|
720
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
721
|
+
<use href="#icon-tick-16"></use>
|
|
722
|
+
</svg>
|
|
723
|
+
</div>
|
|
724
|
+
<div class="listbox-button__option" role="option">
|
|
725
|
+
<span class="listbox-button__value">
|
|
726
|
+
<span class="fflag fflag--sh" aria-hidden="true"
|
|
727
|
+
data-country-code="290">
|
|
728
|
+
</span>
|
|
729
|
+
<span>Saint Helena, Ascension and Tristan da Cunha</span>
|
|
730
|
+
<span>(+290)</span>
|
|
731
|
+
</span>
|
|
732
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
733
|
+
<use href="#icon-tick-16"></use>
|
|
734
|
+
</svg>
|
|
735
|
+
</div>
|
|
736
|
+
<div class="listbox-button__option" role="option">
|
|
737
|
+
<span class="listbox-button__value">
|
|
738
|
+
<span class="fflag fflag--gb" aria-hidden="true"
|
|
739
|
+
data-country-code="44">
|
|
740
|
+
</span>
|
|
741
|
+
<span>United Kingdom</span>
|
|
742
|
+
<span>(+44)</span>
|
|
743
|
+
</span>
|
|
744
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
745
|
+
<use href="#icon-tick-16"></use>
|
|
746
|
+
</svg>
|
|
747
|
+
</div>
|
|
748
|
+
<div class="listbox-button__option" role="option" aria-selected="true">
|
|
749
|
+
<span class="listbox-button__value">
|
|
750
|
+
<span class="fflag fflag--us" aria-hidden="true"
|
|
751
|
+
data-country-code="1">
|
|
752
|
+
</span>
|
|
753
|
+
<span>United States of America</span>
|
|
754
|
+
<span>(+1)</span>
|
|
755
|
+
</span>
|
|
756
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
757
|
+
<use href="#icon-tick-16"></use>
|
|
758
|
+
</svg>
|
|
759
|
+
</div>
|
|
760
|
+
</div>
|
|
761
|
+
</div>
|
|
762
|
+
</span>
|
|
763
|
+
<span class="textbox" style="font-size: 200%;">
|
|
764
|
+
<span id="phone-prefix-1">+1</span>
|
|
765
|
+
<input class="textbox__control" type="tel" aria-label="area code + phone number" autocomplete="tel-national"
|
|
766
|
+
aria-describedby="phone-prefix-1" value="123456789" />
|
|
767
|
+
</span>
|
|
768
|
+
</span>
|
|
769
|
+
</span>
|
|
770
|
+
<div>
|
|
771
|
+
`;
|