@ebay/skin 17.4.1 → 17.5.0
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/CHANGELOG.md +24 -0
- package/_cdn/skin/v17.5.0/skin-default.min.css +76 -0
- package/_cdn/skin/v17.5.0/skin-full.min.css +160 -0
- package/_cdn/skin/v17.5.0/skin-headless.min.css +6 -0
- package/dist/breadcrumbs/breadcrumbs.css +0 -1
- package/dist/drawer-dialog/drawer-dialog.css +8 -7
- package/dist/filter-menu-button/filter-menu-button.css +0 -1
- package/dist/fullscreen-dialog/fullscreen-dialog.css +3 -4
- package/dist/icon/icon.css +52 -0
- package/dist/infotip/infotip.css +0 -1
- package/dist/lightbox-dialog/lightbox-dialog.css +2 -4
- package/dist/menu/menu.css +1 -0
- package/dist/panel-dialog/panel-dialog.css +3 -4
- package/dist/svg/icon/icon-bank-16.svg +7 -0
- package/dist/svg/icon/icon-clear-20.svg +7 -0
- package/dist/svg/icon/icon-download-24.svg +4 -2
- package/dist/svg/icon/icon-ebay-international-shipping-64.svg +7 -0
- package/dist/svg/icon/icon-fast-and-free-64.svg +7 -0
- package/dist/svg/icon/icon-graph-dynamic-16.svg +7 -0
- package/dist/svg/icon/icon-graph-dynamic-24.svg +7 -0
- package/dist/svg/icon/icon-print-16.svg +7 -0
- package/dist/svg/icon/icon-ship-and-local-16.svg +7 -0
- package/dist/svg/icon/icon-ship-and-local-24.svg +7 -0
- package/dist/svg/icon/icon-shirt-16.svg +7 -0
- package/dist/svg/icon/icon-shirt-24.svg +7 -0
- package/dist/svg/icon/icon-target-16.svg +7 -0
- package/dist/svg/icon/icon-target-24.svg +7 -0
- package/dist/svg/icon/icon-upload-24.svg +4 -2
- package/dist/svg/icon/icon-video-24.svg +4 -5
- package/dist/svg/icons.svg +119 -25
- package/dist/toast-dialog/toast-dialog.css +2 -1
- package/dist/toggle-button/toggle-button.css +6 -0
- package/dist/tokens/evo-light.css +4 -4
- package/dist/tooltip/tooltip.css +0 -1
- package/dist/tourtip/tourtip.css +0 -1
- package/package.json +18 -18
- package/src/less/alert-dialog/stories/alert-dialog.stories.js +16 -0
- package/src/less/confirm-dialog/stories/confirm-dialog.stories.js +17 -0
- package/src/less/date-textbox/stories/date-textbox.stories.js +19 -6
- package/src/less/drawer-dialog/drawer-dialog.less +7 -4
- package/src/less/drawer-dialog/stories/drawer-dialog.stories.js +27 -0
- package/src/less/fullscreen-dialog/fullscreen-dialog.less +2 -1
- package/src/less/fullscreen-dialog/stories/fullscreen-dialog.stories.js +23 -0
- package/src/less/icon/generated/icon.less +52 -0
- package/src/less/lightbox-dialog/lightbox-dialog.less +1 -1
- package/src/less/lightbox-dialog/stories/lightbox-dialog.stories.js +24 -0
- package/src/less/menu/menu.less +1 -0
- package/src/less/menu/stories/fake-menu.stories.js +10 -0
- package/src/less/mixins/private/dialog-mixins.less +1 -3
- package/src/less/panel-dialog/panel-dialog.less +2 -1
- package/src/less/panel-dialog/stories/panel-dialog.stories.js +23 -0
- package/src/less/toast-dialog/stories/toast-dialog.stories.js +22 -0
- package/src/less/toast-dialog/toast-dialog.less +2 -1
- package/src/less/toggle-button/toggle-button.less +8 -0
- package/src/svg/icon/icon-bank-16.svg +7 -0
- package/src/svg/icon/icon-clear-20.svg +7 -0
- package/src/svg/icon/icon-download-24.svg +4 -2
- package/src/svg/icon/icon-ebay-international-shipping-64.svg +7 -0
- package/src/svg/icon/icon-fast-and-free-64.svg +7 -0
- package/src/svg/icon/icon-graph-dynamic-16.svg +7 -0
- package/src/svg/icon/icon-graph-dynamic-24.svg +7 -0
- package/src/svg/icon/icon-print-16.svg +7 -0
- package/src/svg/icon/icon-ship-and-local-16.svg +7 -0
- package/src/svg/icon/icon-ship-and-local-24.svg +7 -0
- package/src/svg/icon/icon-shirt-16.svg +7 -0
- package/src/svg/icon/icon-shirt-24.svg +7 -0
- package/src/svg/icon/icon-target-16.svg +7 -0
- package/src/svg/icon/icon-target-24.svg +7 -0
- package/src/svg/icon/icon-upload-24.svg +4 -2
- package/src/svg/icon/icon-video-24.svg +4 -5
- package/src/svg/icons.svg +119 -25
- package/src/tokens/evo-light.css +4 -4
- package/svg.svg +119 -25
- package/_cdn/skin/v17.4.1/skin-default.min.css +0 -76
- package/_cdn/skin/v17.4.1/skin-full.min.css +0 -160
- package/_cdn/skin/v17.4.1/skin-headless.min.css +0 -6
package/dist/svg/icons.svg
CHANGED
|
@@ -15,20 +15,6 @@
|
|
|
15
15
|
<stop offset=".562" stop-color="#0968F6" />
|
|
16
16
|
<stop offset=".785" stop-color="#4EE04B" />
|
|
17
17
|
</linearGradient>
|
|
18
|
-
<linearGradient
|
|
19
|
-
id="ref-ai-spectrum-24-colored"
|
|
20
|
-
x1="32.758"
|
|
21
|
-
y1="16.968"
|
|
22
|
-
x2="17.145"
|
|
23
|
-
y2="33.645"
|
|
24
|
-
gradientUnits="userSpaceOnUse"
|
|
25
|
-
>
|
|
26
|
-
<stop offset=".098" stop-color="#FFD80E" />
|
|
27
|
-
<stop offset=".267" stop-color="#FF4242" />
|
|
28
|
-
<stop offset=".418" stop-color="#993EE0" />
|
|
29
|
-
<stop offset=".562" stop-color="#0968F6" />
|
|
30
|
-
<stop offset=".785" stop-color="#4EE04B" />
|
|
31
|
-
</linearGradient>
|
|
32
18
|
<linearGradient
|
|
33
19
|
id="ref-ai-spectrum-20-colored"
|
|
34
20
|
x1="26.984"
|
|
@@ -44,11 +30,11 @@
|
|
|
44
30
|
<stop offset=".785" stop-color="#4EE04B" />
|
|
45
31
|
</linearGradient>
|
|
46
32
|
<linearGradient
|
|
47
|
-
id="ref-ai-spectrum-
|
|
48
|
-
x1="
|
|
49
|
-
y1="
|
|
50
|
-
x2="
|
|
51
|
-
y2="
|
|
33
|
+
id="ref-ai-spectrum-24-colored"
|
|
34
|
+
x1="32.758"
|
|
35
|
+
y1="16.968"
|
|
36
|
+
x2="17.145"
|
|
37
|
+
y2="33.645"
|
|
52
38
|
gradientUnits="userSpaceOnUse"
|
|
53
39
|
>
|
|
54
40
|
<stop offset=".098" stop-color="#FFD80E" />
|
|
@@ -85,6 +71,20 @@
|
|
|
85
71
|
<stop offset=".562" stop-color="#0968F6" />
|
|
86
72
|
<stop offset=".785" stop-color="#4EE04B" />
|
|
87
73
|
</linearGradient>
|
|
74
|
+
<linearGradient
|
|
75
|
+
id="ref-ai-spectrum-filled-20-colored"
|
|
76
|
+
x1="26.984"
|
|
77
|
+
y1="14.065"
|
|
78
|
+
x2="14.21"
|
|
79
|
+
y2="27.71"
|
|
80
|
+
gradientUnits="userSpaceOnUse"
|
|
81
|
+
>
|
|
82
|
+
<stop offset=".098" stop-color="#FFD80E" />
|
|
83
|
+
<stop offset=".267" stop-color="#FF4242" />
|
|
84
|
+
<stop offset=".418" stop-color="#993EE0" />
|
|
85
|
+
<stop offset=".562" stop-color="#0968F6" />
|
|
86
|
+
<stop offset=".785" stop-color="#4EE04B" />
|
|
87
|
+
</linearGradient>
|
|
88
88
|
<linearGradient
|
|
89
89
|
id="ref-ai-spectrum-thin-16-colored"
|
|
90
90
|
x1="21.21"
|
|
@@ -621,6 +621,13 @@
|
|
|
621
621
|
d="M10.505 2H20a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3h6.505ZM3 10.951v7.711l4.673-4.154a5 5 0 0 1 7.324-6.51L19.495 4h-8.617L3 10.951ZM7.855 4 3 8.284V5a1 1 0 0 1 1-1h3.855Zm8.471 5.492L21 5.338v7.71L13.122 20H4.505l4.498-3.998a5 5 0 0 0 7.324-6.51ZM20 20h-3.855L21 15.716V19a1 1 0 0 1-1 1ZM9 12a3 3 0 1 1 6 0 3 3 0 0 1-6 0Z"
|
|
622
622
|
/>
|
|
623
623
|
</symbol>
|
|
624
|
+
<symbol viewBox="0 0 16 16" id="icon-bank-16">
|
|
625
|
+
<path
|
|
626
|
+
fill-rule="evenodd"
|
|
627
|
+
clip-rule="evenodd"
|
|
628
|
+
d="M8.555.168a1 1 0 0 0-1.11 0l-6 4A1 1 0 0 0 2 6h12a1 1 0 0 0 .555-1.832l-6-4ZM8 2.202 10.697 4H5.303L8 2.202ZM4 7a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0V8a1 1 0 0 1 1-1Zm11 7a1 1 0 0 1-1 1H2a1 1 0 1 1 0-2h12a1 1 0 0 1 1 1ZM9 8a1 1 0 0 0-2 0v3a1 1 0 1 0 2 0V8Zm3-1a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0V8a1 1 0 0 1 1-1Z"
|
|
629
|
+
/>
|
|
630
|
+
</symbol>
|
|
624
631
|
<symbol viewBox="0 0 24 24" id="icon-bank-24">
|
|
625
632
|
<path
|
|
626
633
|
fill-rule="evenodd"
|
|
@@ -1239,6 +1246,13 @@
|
|
|
1239
1246
|
d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm3.71 10.29a1 1 0 1 1-1.41 1.41L8 9.41l-2.29 2.3A1 1 0 0 1 4.3 10.3L6.59 8l-2.3-2.29a1.004 1.004 0 0 1 1.42-1.42L8 6.59l2.29-2.29a1 1 0 0 1 1.41 1.41L9.41 8l2.3 2.29Z"
|
|
1240
1247
|
/>
|
|
1241
1248
|
</symbol>
|
|
1249
|
+
<symbol viewBox="0 0 20 20" id="icon-clear-20">
|
|
1250
|
+
<path
|
|
1251
|
+
fill-rule="evenodd"
|
|
1252
|
+
clip-rule="evenodd"
|
|
1253
|
+
d="M10 20c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10Zm4.707-14.707a1 1 0 0 0-1.414 0L10 8.586 6.707 5.293a1 1 0 0 0-1.414 1.414L8.586 10l-3.293 3.293a1 1 0 1 0 1.414 1.414L10 11.414l3.293 3.293a1 1 0 0 0 1.414-1.414L11.414 10l3.293-3.293a1 1 0 0 0 0-1.414Z"
|
|
1254
|
+
/>
|
|
1255
|
+
</symbol>
|
|
1242
1256
|
<symbol viewBox="0 0 24 24" id="icon-clear-24">
|
|
1243
1257
|
<path
|
|
1244
1258
|
d="M0 12C0 5.373 5.373 0 12 0c3.183 0 6.235 1.264 8.485 3.515A11.996 11.996 0 0 1 24 12c0 6.627-5.373 12-12 12S0 18.627 0 12Zm17.968 5.233a.996.996 0 0 0-.32-.989l-4.277-4.27 4.267-4.272a.995.995 0 0 0-1.402-1.404l-4.268 4.271-4.267-4.28a.998.998 0 1 0-1.413 1.413l4.278 4.271-4.268 4.281a.995.995 0 0 0 1.403 1.404l4.267-4.281 4.277 4.27a.994.994 0 0 0 1.723-.414Z"
|
|
@@ -2192,7 +2206,9 @@
|
|
|
2192
2206
|
</symbol>
|
|
2193
2207
|
<symbol viewBox="0 0 24 24" id="icon-download-24">
|
|
2194
2208
|
<path
|
|
2195
|
-
|
|
2209
|
+
fill-rule="evenodd"
|
|
2210
|
+
clip-rule="evenodd"
|
|
2211
|
+
d="M12 1a1 1 0 0 1 1 1v12.586l5.293-5.293a1 1 0 1 1 1.414 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 1.414-1.414L11 14.586V2a1 1 0 0 1 1-1ZM2 21a1 1 0 1 0 0 2h20a1 1 0 1 0 0-2H2Z"
|
|
2196
2212
|
/>
|
|
2197
2213
|
</symbol>
|
|
2198
2214
|
<symbol viewBox="0 0 20 12" id="icon-ebay-balance-12-colored">
|
|
@@ -2363,6 +2379,13 @@
|
|
|
2363
2379
|
clip-rule="evenodd"
|
|
2364
2380
|
/>
|
|
2365
2381
|
</symbol>
|
|
2382
|
+
<symbol viewBox="0 0 64 64" id="icon-ebay-international-shipping-64">
|
|
2383
|
+
<path
|
|
2384
|
+
fill-rule="evenodd"
|
|
2385
|
+
clip-rule="evenodd"
|
|
2386
|
+
d="M20.214 37.666A74.415 74.415 0 0 1 20 32c0-2.04.081-4.032.237-5.957-4.345-.76-8.139-1.946-11.402-3.46a24.929 24.929 0 0 0-1.811 10.513c3.164 1.67 7.873 3.414 13.19 4.57Zm.601 5.226c-4.803-.918-9.24-2.312-12.798-3.811a25.055 25.055 0 0 0 16.749 16.856c-1.758-3.324-3.137-7.83-3.95-13.045Zm5.204.779C27.995 43.883 30 44 32 44c2.002 0 4.006-.117 5.98-.33-.542 2.935-1.276 5.534-2.137 7.686-.946 2.366-1.948 3.945-2.805 4.85-.58.614-.928.76-1.038.79-.11-.03-.458-.176-1.038-.79-.857-.905-1.859-2.484-2.805-4.85-.86-2.152-1.595-4.75-2.137-7.685Zm12.673-5.119c-2.2.285-4.45.448-6.692.448s-4.491-.163-6.692-.448A68.667 68.667 0 0 1 25 32c0-1.825.07-3.597.2-5.302 2.152.198 4.417.302 6.8.302s4.648-.104 6.8-.302c.13 1.705.2 3.477.2 5.302 0 2.276-.108 4.47-.308 6.552Zm4.493 4.34c-.814 5.215-2.193 9.72-3.95 13.045a25.055 25.055 0 0 0 16.748-16.856c-3.558 1.5-7.995 2.893-12.798 3.811Zm13.791-9.796c-3.164 1.67-7.873 3.414-13.19 4.57.14-1.835.214-3.729.214-5.666 0-2.04-.081-4.032-.237-5.957 4.345-.76 8.139-1.946 11.402-3.46a24.927 24.927 0 0 1 1.811 10.513ZM32 22c2.196 0 4.268-.093 6.221-.27-.557-3.511-1.383-6.598-2.378-9.086-.946-2.366-1.948-3.945-2.805-4.85-.58-.614-.928-.76-1.038-.79-.11.03-.458.176-1.038.79-.857.905-1.859 2.484-2.805 4.85-.995 2.488-1.821 5.575-2.378 9.087 1.953.175 4.026.269 6.221.269Zm11.178-.932c3.73-.673 6.931-1.68 9.643-2.911A25.054 25.054 0 0 0 39.234 8.063c1.753 3.316 3.13 7.807 3.944 13.005ZM11.18 18.157c2.712 1.232 5.912 2.238 9.643 2.911.814-5.198 2.19-9.69 3.944-13.005A25.054 25.054 0 0 0 11.18 18.157ZM32 62c16.569 0 30-13.431 30-30C62 15.431 48.569 2 32 2 15.431 2 2 15.431 2 32c0 16.569 13.431 30 30 30Z"
|
|
2387
|
+
/>
|
|
2388
|
+
</symbol>
|
|
2366
2389
|
<symbol viewBox="0 0 16 16" id="icon-ebay-live-16">
|
|
2367
2390
|
<path
|
|
2368
2391
|
d="M3.817 2.294a1 1 0 0 1-.01 1.414A6.054 6.054 0 0 0 2 8c0 1.662.7 3.195 1.801 4.287a1 1 0 1 1-1.408 1.42A8.06 8.06 0 0 1 0 8c0-2.15.88-4.214 2.403-5.716a1 1 0 0 1 1.414.01Z"
|
|
@@ -2941,6 +2964,13 @@
|
|
|
2941
2964
|
d="M4 6a1 1 0 0 0-1 1v8.75c0 .138.112.25.25.25h.92a3.001 3.001 0 0 1 5.66 0H14V7a1 1 0 0 0-1-1H4Zm-.75 12h.92a3.001 3.001 0 0 0 5.66 0h4.34a3.001 3.001 0 0 0 5.66 0h.92A2.25 2.25 0 0 0 23 15.75v-3.28a2.25 2.25 0 0 0-.557-1.482l-2.817-3.22A2.25 2.25 0 0 0 17.933 7H16a3 3 0 0 0-3-3H4a3 3 0 0 0-3 3v8.75A2.25 2.25 0 0 0 3.25 18ZM16 9v5.17A3.001 3.001 0 0 1 19.83 16h.92a.25.25 0 0 0 .25-.25v-3.28a.25.25 0 0 0-.062-.165l-2.817-3.22A.25.25 0 0 0 17.933 9H16Zm1 9a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm-9-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"
|
|
2942
2965
|
/>
|
|
2943
2966
|
</symbol>
|
|
2967
|
+
<symbol viewBox="0 0 64 64" id="icon-fast-and-free-64">
|
|
2968
|
+
<path
|
|
2969
|
+
fill-rule="evenodd"
|
|
2970
|
+
clip-rule="evenodd"
|
|
2971
|
+
d="M5 16.5A2.5 2.5 0 0 1 7.5 14h28a2.5 2.5 0 0 1 2.5 2.5V44H25.626a8.504 8.504 0 0 0-16.252 0H7.5A2.5 2.5 0 0 1 5 41.5v-25ZM9.374 49H7.5A7.5 7.5 0 0 1 0 41.5v-25A7.5 7.5 0 0 1 7.5 9h28a7.5 7.5 0 0 1 7.5 7.5v.5h5.74a6.5 6.5 0 0 1 4.792 2.108l8.76 9.556A6.5 6.5 0 0 1 64 33.056V42.5a6.5 6.5 0 0 1-6.5 6.5h-2.874a8.504 8.504 0 0 1-16.252 0H25.626a8.504 8.504 0 0 1-16.252 0ZM43 38.752V22h5.74a1.5 1.5 0 0 1 1.106.486l8.76 9.556A1.5 1.5 0 0 1 59 33.056V42.5a1.5 1.5 0 0 1-1.5 1.5h-2.874A8.504 8.504 0 0 0 43 38.752Zm0 7.748a3.5 3.5 0 1 0 7 0 3.5 3.5 0 0 0-7 0Zm-22 0a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z"
|
|
2972
|
+
/>
|
|
2973
|
+
</symbol>
|
|
2944
2974
|
<symbol viewBox="0 0 16 16" id="icon-feedback-16">
|
|
2945
2975
|
<path
|
|
2946
2976
|
fill-rule="evenodd"
|
|
@@ -3720,6 +3750,20 @@
|
|
|
3720
3750
|
d="M3 3a1 1 0 0 0-2 0v16a3 3 0 0 0 3 3h18a1 1 0 1 0 0-2H4a1 1 0 0 1-1-1V3Zm2.263 12.324 5.495-5.995.02-.02a.997.997 0 0 1 1.434-.011l2.261 2.261 5.794-6.24a1 1 0 0 1 1.466 1.361l-6.496 6.996a.995.995 0 0 1-1.15.235.997.997 0 0 1-.298-.208l-2.258-2.257-4.794 5.23a1 1 0 0 1-1.474-1.352Z"
|
|
3721
3751
|
/>
|
|
3722
3752
|
</symbol>
|
|
3753
|
+
<symbol viewBox="0 0 16 16" id="icon-graph-dynamic-16">
|
|
3754
|
+
<path
|
|
3755
|
+
fill-rule="evenodd"
|
|
3756
|
+
clip-rule="evenodd"
|
|
3757
|
+
d="M6 3.333 2.8 7.597a1 1 0 0 1-1.6-1.2L4.8 1.6c.6-.8 1.8-.8 2.4 0L9 3.996h2.586l-.293-.293a1 1 0 1 1 1.414-1.414l2 2a1 1 0 0 1 0 1.414l-2 2a1 1 0 1 1-1.414-1.414l.293-.293H8.75a1.5 1.5 0 0 1-1.2-.6L6 3.334Zm-4 7.664a1 1 0 0 1 1 1v2a1 1 0 1 1-2 0v-2a1 1 0 0 1 1-1Zm13 3v-3a1 1 0 0 0-2 0v3a1 1 0 1 0 2 0Zm-5-3a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Zm-3-2a1 1 0 0 0-2 0v5a1 1 0 1 0 2 0v-5Z"
|
|
3758
|
+
/>
|
|
3759
|
+
</symbol>
|
|
3760
|
+
<symbol viewBox="0 0 24 24" id="icon-graph-dynamic-24">
|
|
3761
|
+
<path
|
|
3762
|
+
fill-rule="evenodd"
|
|
3763
|
+
clip-rule="evenodd"
|
|
3764
|
+
d="M8.49 3.11a.25.25 0 0 1 .422.011l2.866 4.783a2.25 2.25 0 0 0 1.93 1.093h5.878l-1.293 1.293a1 1 0 0 0 1.414 1.414l3-3a1 1 0 0 0 0-1.414l-3-3a1 1 0 1 0-1.414 1.414l1.293 1.293h-5.877a.25.25 0 0 1-.215-.122l-2.867-4.782C9.78.678 7.747.627 6.83 1.997L1.17 10.44a1 1 0 1 0 1.662 1.114L8.49 3.11Zm.177 7.887a1 1 0 0 1 1 1v9a1 1 0 1 1-2 0v-9a1 1 0 0 1 1-1Zm-6.667 5a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1Zm14.333 1a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0v-4Zm4.667-1a1 1 0 1 1 2 0v5a1 1 0 1 1-2 0v-5Z"
|
|
3765
|
+
/>
|
|
3766
|
+
</symbol>
|
|
3723
3767
|
<symbol viewBox="0 0 16 16" id="icon-grid-view-16">
|
|
3724
3768
|
<path
|
|
3725
3769
|
d="M6 7H1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1ZM2 5h3V3H2v2Zm13 2h-5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1Zm-4-2h3V3h-3v2ZM1 15h5a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1H1a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1Zm4-2H2v-2h3v2Zm10 2h-5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1Zm-4-2h3v-2h-3v2Z"
|
|
@@ -6853,6 +6897,13 @@
|
|
|
6853
6897
|
d="M19 20H8.3c2.09-2.43 2.87-4.31 2.8-6h5.91c.55 0 1-.45 1-1s-.45-1-1-1H10.6c-.484-1.14-1.252-2.142-1.65-3.32C8.042 5.955 10.135 3 13 3c2.573 0 4.427 1.816 5.03 4.24a1 1 0 0 0 1.94-.48C19.142 3.462 16.48 1 13 1c-2.37 0-4.18 1.2-5.22 2.84-1.03 1.61-1.33 3.67-.73 5.48.314.942.81 1.84 1.32 2.69H5c-.55 0-1 .45-1 1s.45 1 1 1h4.09c.09 1.19-.5 3-3.8 6.29 0 0 0 .01-.01.02-.28.28-.342.706-.21 1.07a.99.99 0 0 0 .92.61H19c.55 0 1-.45 1-1s-.45-1-1-1Z"
|
|
6854
6898
|
/>
|
|
6855
6899
|
</symbol>
|
|
6900
|
+
<symbol viewBox="0 0 16 16" id="icon-print-16">
|
|
6901
|
+
<path
|
|
6902
|
+
fill-rule="evenodd"
|
|
6903
|
+
clip-rule="evenodd"
|
|
6904
|
+
d="M5 2.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5V4H5V2.5ZM3 4V2.5A2.5 2.5 0 0 1 5.5 0h5A2.5 2.5 0 0 1 13 2.5V4h.5A2.5 2.5 0 0 1 16 6.5v4a2.5 2.5 0 0 1-2.5 2.5H13v.5a2.5 2.5 0 0 1-2.5 2.5h-5A2.5 2.5 0 0 1 3 13.5V13h-.5A2.5 2.5 0 0 1 0 10.5v-4A2.5 2.5 0 0 1 2.5 4H3Zm0 7V9a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v2h.5a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0-.5.5v4a.5.5 0 0 0 .5.5H3Zm2 2.5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5V10H5v3.5Z"
|
|
6905
|
+
/>
|
|
6906
|
+
</symbol>
|
|
6856
6907
|
<symbol viewBox="0 0 24 24" id="icon-print-24">
|
|
6857
6908
|
<path d="M17 9a1 1 0 1 0 0 2h3a1 1 0 1 0 0-2h-3Z" />
|
|
6858
6909
|
<path
|
|
@@ -7378,6 +7429,34 @@
|
|
|
7378
7429
|
clip-rule="evenodd"
|
|
7379
7430
|
/>
|
|
7380
7431
|
</symbol>
|
|
7432
|
+
<symbol viewBox="0 0 16 16" id="icon-ship-and-local-16">
|
|
7433
|
+
<path
|
|
7434
|
+
fill-rule="evenodd"
|
|
7435
|
+
clip-rule="evenodd"
|
|
7436
|
+
d="M3.387 2.223A.5.5 0 0 1 3.803 2H6v1H2.869l.518-.777ZM8 3V2h2.197a.5.5 0 0 1 .416.223l.519.777H8Zm4 2H8v.5a.997.997 0 0 1-1 1 1 1 0 0 1-1-1V5H2v5.5a.5.5 0 0 0 .5.5h4.557A4.18 4.18 0 0 1 7 10.316v-.008C7 7.928 9.015 6 11.5 6c.169 0 .336.009.5.026V5Zm2 1v.725c1.206.773 2 2.09 2 3.583 0 2.288-1.784 3.841-4.209 5.599a.497.497 0 0 1-.582 0c-1.35-.979-2.5-1.893-3.256-2.907H2.5A2.5 2.5 0 0 1 0 10.5V4.454a2.5 2.5 0 0 1 .42-1.387l1.303-1.954A2.5 2.5 0 0 1 3.803 0h6.394a2.5 2.5 0 0 1 2.08 1.113l1.303 1.954c.274.411.42.894.42 1.387V6Zm-.728 6.022c.533-.636.728-1.158.728-1.714C14 9.115 12.964 8 11.5 8S9 9.115 9 10.309c0 .556.195 1.078.728 1.712.424.507 1.009 1.022 1.772 1.61.763-.588 1.348-1.103 1.772-1.609Z"
|
|
7437
|
+
/>
|
|
7438
|
+
</symbol>
|
|
7439
|
+
<symbol viewBox="0 0 24 24" id="icon-ship-and-local-24">
|
|
7440
|
+
<path
|
|
7441
|
+
fill-rule="evenodd"
|
|
7442
|
+
clip-rule="evenodd"
|
|
7443
|
+
d="M7 3a1 1 0 0 0-.8.4L5 5h5.5V3H7Zm5.5 0v2H18l-1.2-1.6A1 1 0 0 0 16 3h-3.5Zm0 4H19v3.048a5.837 5.837 0 0 0-.75-.048c-3.168 0-5.75 2.551-5.75 5.714 0 .442.05.873.146 1.286H5a1 1 0 0 1-1-1V7h6.5v2a1 1 0 1 0 2 0V7Zm1.045 12H5a3 3 0 0 1-3-3V6.667a3 3 0 0 1 .6-1.8l2-2.667A3 3 0 0 1 7 1h9a3 3 0 0 1 2.4 1.2l2 2.667a3 3 0 0 1 .6 1.8v4.028c1.785.968 3 2.85 3 5.02a5.671 5.671 0 0 1-1.214 3.511c-.955 1.216-2.34 2.39-3.94 3.577a1 1 0 0 1-1.192 0c-1.6-1.187-2.986-2.36-3.94-3.577a5.758 5.758 0 0 1-.169-.226Zm4.705-1.813a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm-3.75-1.473C14.5 13.67 16.172 12 18.25 12c2.078 0 3.75 1.67 3.75 3.714 0 .86-.293 1.648-.787 2.278-.682.868-1.684 1.77-2.963 2.755-1.28-.984-2.281-1.887-2.963-2.755a3.672 3.672 0 0 1-.787-2.278Z"
|
|
7444
|
+
/>
|
|
7445
|
+
</symbol>
|
|
7446
|
+
<symbol viewBox="0 0 16 16" id="icon-shirt-16">
|
|
7447
|
+
<path
|
|
7448
|
+
fill-rule="evenodd"
|
|
7449
|
+
clip-rule="evenodd"
|
|
7450
|
+
d="M9.25 2H6.827l-.077.001V2.2a1.25 1.25 0 1 0 2.5 0V2Zm1.986.5a3.25 3.25 0 0 1-6.472 0l-2.56 1.08A.333.333 0 0 0 2 3.886V6h2a1 1 0 0 1 1 1v6.201c.069.068.196.175.416.293.447.24 1.25.505 2.584.505a1 1 0 0 1 .03.001c1.317-.004 2.11-.267 2.555-.506.219-.118.346-.225.415-.292V7a1 1 0 0 1 1-1h2V3.885a.333.333 0 0 0-.204-.307L11.236 2.5ZM13 8h2a1 1 0 0 0 1-1V3.885c0-.938-.563-1.786-1.428-2.15L11.631.496A6.334 6.334 0 0 0 9.173 0H6.827c-.844 0-1.68.17-2.458.497L1.428 1.735A2.333 2.333 0 0 0 0 3.885V7a1 1 0 0 0 1 1h2v5.5a1 1 0 0 0 .051.316c.165.494.668 1.036 1.417 1.44.786.422 1.918.74 3.499.743L8 16c1.599 0 2.74-.318 3.532-.744.75-.404 1.252-.946 1.417-1.44A.999.999 0 0 0 13 13.5V8Z"
|
|
7451
|
+
/>
|
|
7452
|
+
</symbol>
|
|
7453
|
+
<symbol viewBox="0 0 24 24" id="icon-shirt-24">
|
|
7454
|
+
<path
|
|
7455
|
+
fill-rule="evenodd"
|
|
7456
|
+
clip-rule="evenodd"
|
|
7457
|
+
d="M10 3.01a7 7 0 0 1 .386-.01h3.228a7 7 0 0 1 .386.01 2 2 0 0 1-4 0ZM10.386 1h3.228a9 9 0 0 1 3.027.524l4.368 1.56A3 3 0 0 1 23 5.91V10a1 1 0 0 1-1 1h-3v8.5a.999.999 0 0 1-.051.316C18.607 20.843 16.692 23 12 23c-4.691 0-6.607-2.157-6.949-3.184A1 1 0 0 1 5 19.5V11H2a1 1 0 0 1-1-1V5.91a3 3 0 0 1 1.991-2.826l4.368-1.56A9 9 0 0 1 10.386 1ZM12 21c3.569 0 4.755-1.39 5-1.738V10a1 1 0 0 1 1-1h3V5.91a1 1 0 0 0-.664-.942L15.98 3.412a4 4 0 0 1-7.958 0L3.664 4.968A1 1 0 0 0 3 5.909V9h3a1 1 0 0 1 1 1v9.262C7.245 19.61 8.431 21 12 21Z"
|
|
7458
|
+
/>
|
|
7459
|
+
</symbol>
|
|
7381
7460
|
<symbol viewBox="0 0 24 24" id="icon-shoe-box-24">
|
|
7382
7461
|
<path
|
|
7383
7462
|
fill-rule="evenodd"
|
|
@@ -7780,6 +7859,20 @@
|
|
|
7780
7859
|
d="M6.595 4.051A3 3 0 0 1 9.442 2h5.117a3 3 0 0 1 2.845 2.051l.317.949H21a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h3.28l.315-.949ZM9.442 4a1 1 0 0 0-.95.684L7.95 6.316A1 1 0 0 1 7 7H3a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1h-4a1 1 0 0 1-.949-.684l-.544-1.632A1 1 0 0 0 14.56 4H9.442Z"
|
|
7781
7860
|
/>
|
|
7782
7861
|
</symbol>
|
|
7862
|
+
<symbol viewBox="0 0 16 16" id="icon-target-16">
|
|
7863
|
+
<path
|
|
7864
|
+
fill-rule="evenodd"
|
|
7865
|
+
clip-rule="evenodd"
|
|
7866
|
+
d="M12 0a1 1 0 0 1 1 1v2h2a1 1 0 1 1 0 2h-2.586L9.328 8.086a2.5 2.5 0 1 1-1.414-1.414L11 3.586V1a1 1 0 0 1 1-1ZM2 9a5 5 0 0 1 5.835-4.93 1 1 0 0 0 .33-1.973 7 7 0 1 0 5.738 5.738 1 1 0 0 0-1.972.33A5 5 0 1 1 2 9Z"
|
|
7867
|
+
/>
|
|
7868
|
+
</symbol>
|
|
7869
|
+
<symbol viewBox="0 0 24 24" id="icon-target-24">
|
|
7870
|
+
<path
|
|
7871
|
+
fill-rule="evenodd"
|
|
7872
|
+
clip-rule="evenodd"
|
|
7873
|
+
d="M20 1a1 1 0 1 0-2 0v3.586l-7.707 7.707a1 1 0 1 0 1.414 1.414L19.414 6H23a1 1 0 1 0 0-2h-3V1ZM2 13.5A8.5 8.5 0 0 1 10.5 5c1.108 0 2.164.211 3.131.595a1 1 0 0 0 .738-1.86A10.475 10.475 0 0 0 10.5 3C4.701 3 0 7.701 0 13.5S4.701 24 10.5 24 21 19.299 21 13.5c0-1.364-.26-2.67-.736-3.869a1 1 0 0 0-1.86.738A8.5 8.5 0 1 1 2 13.5Zm8.11-3.479a1 1 0 0 0-.22-1.988A5.502 5.502 0 0 0 10.5 19a5.502 5.502 0 0 0 5.466-4.89 1 1 0 1 0-1.987-.22A3.502 3.502 0 0 1 7 13.5a3.502 3.502 0 0 1 3.11-3.479Z"
|
|
7874
|
+
/>
|
|
7875
|
+
</symbol>
|
|
7783
7876
|
<symbol viewBox="0 0 16 16" id="icon-text-messaging-16">
|
|
7784
7877
|
<path
|
|
7785
7878
|
d="M3 5a1 1 0 0 1 1-1h7a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Zm1 2a1 1 0 0 0 0 2h4a1 1 0 0 0 0-2H4Z"
|
|
@@ -8149,7 +8242,9 @@
|
|
|
8149
8242
|
</symbol>
|
|
8150
8243
|
<symbol viewBox="0 0 24 24" id="icon-upload-24">
|
|
8151
8244
|
<path
|
|
8152
|
-
|
|
8245
|
+
fill-rule="evenodd"
|
|
8246
|
+
clip-rule="evenodd"
|
|
8247
|
+
d="M11.293 1.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1-1.414 1.414L13 4.414V17a1 1 0 1 1-2 0V4.414L5.707 9.707a1 1 0 0 1-1.414-1.414l7-7ZM2 21a1 1 0 1 0 0 2h20a1 1 0 1 0 0-2H2Z"
|
|
8153
8248
|
/>
|
|
8154
8249
|
</symbol>
|
|
8155
8250
|
<symbol viewBox="0 0 20 12" id="icon-venmo-12-colored">
|
|
@@ -8238,10 +8333,9 @@
|
|
|
8238
8333
|
</symbol>
|
|
8239
8334
|
<symbol viewBox="0 0 24 24" id="icon-video-24">
|
|
8240
8335
|
<path
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
d="M9.752 8.068A.5.5 0 0 0 9 8.5v7a.5.5 0 0 0 .752.432l6-3.5a.5.5 0 0 0 0-.864l-6-3.5Z"
|
|
8336
|
+
fill-rule="evenodd"
|
|
8337
|
+
clip-rule="evenodd"
|
|
8338
|
+
d="M5 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H5ZM4 6a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6Zm11.671 5.435-5.6-3.333C9.605 7.825 9 8.144 9 8.668v6.664c0 .524.605.843 1.071.566l5.6-3.333a.65.65 0 0 0 0-1.13Z"
|
|
8245
8339
|
/>
|
|
8246
8340
|
</symbol>
|
|
8247
8341
|
<symbol viewBox="0 0 20 12" id="icon-visa-12-colored">
|
|
@@ -52,8 +52,9 @@
|
|
|
52
52
|
margin: 0;
|
|
53
53
|
}
|
|
54
54
|
button.toast-dialog__close {
|
|
55
|
-
align-self:
|
|
55
|
+
align-self: flex-start;
|
|
56
56
|
border: 0;
|
|
57
|
+
flex-shrink: 0;
|
|
57
58
|
color: var(--toast-dialog-foreground-color, var(--color-foreground-on-information));
|
|
58
59
|
-webkit-margin-start: auto;
|
|
59
60
|
margin-inline-start: auto;
|
|
@@ -47,6 +47,12 @@
|
|
|
47
47
|
border-color: var(--color-stroke-disabled);
|
|
48
48
|
box-shadow: 0 0 0 1px var(--color-stroke-disabled);
|
|
49
49
|
}
|
|
50
|
+
.toggle-button:not([aria-disabled="true"], [disabled]):hover {
|
|
51
|
+
background-color: var(--state-layer-hover);
|
|
52
|
+
}
|
|
53
|
+
.toggle-button:not([aria-disabled="true"], [disabled]):active {
|
|
54
|
+
background-color: var(--state-layer-pressed);
|
|
55
|
+
}
|
|
50
56
|
.toggle-button__content {
|
|
51
57
|
align-self: center;
|
|
52
58
|
display: flex;
|
|
@@ -89,10 +89,10 @@
|
|
|
89
89
|
--color-marketing-orange-background-3: var(--color-orange-3);
|
|
90
90
|
--color-marketing-magenta-foreground-4: var(--color-neutral-0);
|
|
91
91
|
--color-marketing-magenta-background-4: var(--color-magenta-4);
|
|
92
|
-
--state-layer-focus: rgba(var(--color-neutral-8-rgb), var(--opacity-
|
|
93
|
-
--state-layer-hover: rgba(var(--color-neutral-8-rgb), var(--opacity-
|
|
94
|
-
--state-layer-pressed: rgba(var(--color-neutral-8-rgb), var(--opacity-
|
|
95
|
-
--state-layer-drag: rgba(var(--color-neutral-8-rgb), var(--opacity-
|
|
92
|
+
--state-layer-focus: rgba(var(--color-neutral-8-rgb), var(--opacity-50));
|
|
93
|
+
--state-layer-hover: rgba(var(--color-neutral-8-rgb), var(--opacity-50));
|
|
94
|
+
--state-layer-pressed: rgba(var(--color-neutral-8-rgb), var(--opacity-100));
|
|
95
|
+
--state-layer-drag: rgba(var(--color-neutral-8-rgb), var(--opacity-150));
|
|
96
96
|
--color-ai-gradient-full-spectrum: linear-gradient(
|
|
97
97
|
223deg,
|
|
98
98
|
var(--color-ai-solid-yellow-strong) 9.79%,
|
package/dist/tooltip/tooltip.css
CHANGED
package/dist/tourtip/tourtip.css
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ebay/skin",
|
|
3
3
|
"description": "Skin - CSS modules that represent the brand eBay",
|
|
4
|
-
"version": "17.
|
|
4
|
+
"version": "17.5.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"maintainers": [
|
|
@@ -61,24 +61,24 @@
|
|
|
61
61
|
"prerelease:end": "changeset pre exit || :"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@babel/cli": "^7.24.
|
|
65
|
-
"@babel/core": "^7.24.
|
|
66
|
-
"@babel/preset-env": "^7.24.
|
|
64
|
+
"@babel/cli": "^7.24.6",
|
|
65
|
+
"@babel/core": "^7.24.6",
|
|
66
|
+
"@babel/preset-env": "^7.24.6",
|
|
67
67
|
"@changesets/changelog-github": "^0.5.0",
|
|
68
|
-
"@changesets/cli": "^2.27.
|
|
69
|
-
"@commitlint/cli": "^19.
|
|
68
|
+
"@changesets/cli": "^2.27.5",
|
|
69
|
+
"@commitlint/cli": "^19.3.0",
|
|
70
70
|
"@commitlint/config-conventional": "^19.2.2",
|
|
71
|
-
"@ebay/browserslist-config": "^2.
|
|
72
|
-
"@floating-ui/dom": "^1.6.
|
|
73
|
-
"@percy/cli": "^1.28.
|
|
71
|
+
"@ebay/browserslist-config": "^2.9.0",
|
|
72
|
+
"@floating-ui/dom": "^1.6.5",
|
|
73
|
+
"@percy/cli": "^1.28.7",
|
|
74
74
|
"@percy/storybook": "^5.0.3",
|
|
75
|
-
"@storybook/html": "^8.
|
|
76
|
-
"@storybook/html-webpack5": "^8.
|
|
75
|
+
"@storybook/html": "^8.1.4",
|
|
76
|
+
"@storybook/html-webpack5": "^8.1.4",
|
|
77
77
|
"babel-loader": "^9.1.3",
|
|
78
78
|
"browser-sync": "^3.0.2",
|
|
79
79
|
"btoa": "^1",
|
|
80
80
|
"cross-env": "^7",
|
|
81
|
-
"eslint": "^9.
|
|
81
|
+
"eslint": "^9.3.0",
|
|
82
82
|
"eslint-config-ebay": "^1",
|
|
83
83
|
"eslint-config-prettier": "^9",
|
|
84
84
|
"eslint-plugin-prettier": "^5",
|
|
@@ -89,11 +89,11 @@
|
|
|
89
89
|
"gulp-rename": "^2",
|
|
90
90
|
"husky": "^9.0.11",
|
|
91
91
|
"jekyll": "^3.0.0-beta1",
|
|
92
|
-
"jsdom": "^24.
|
|
92
|
+
"jsdom": "^24.1.0",
|
|
93
93
|
"less-loader": "^12.2.0",
|
|
94
94
|
"less-plugin-autoprefix": "^2",
|
|
95
95
|
"less-plugin-clean-css": "^1.5.1",
|
|
96
|
-
"lint-staged": "^15.2.
|
|
96
|
+
"lint-staged": "^15.2.5",
|
|
97
97
|
"makeup-alert-dialog": "~0.2.0",
|
|
98
98
|
"makeup-combobox": "~0.3.0",
|
|
99
99
|
"makeup-confirm-dialog": "~0.2.0",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"makeup-dialog-button": "~0.3.0",
|
|
102
102
|
"makeup-drawer-dialog": "0.1.0",
|
|
103
103
|
"makeup-expander": "~0.10.1",
|
|
104
|
-
"makeup-floating-label": "~0.3.
|
|
104
|
+
"makeup-floating-label": "~0.3.3",
|
|
105
105
|
"makeup-fullscreen-dialog": "0.1.0",
|
|
106
106
|
"makeup-input-dialog": "0.1.0",
|
|
107
107
|
"makeup-key-emitter": "~0.3.1",
|
|
@@ -124,13 +124,13 @@
|
|
|
124
124
|
"postcss-loader": "^8.1.1",
|
|
125
125
|
"prettier": "^3.2.5",
|
|
126
126
|
"rimraf": "^5",
|
|
127
|
-
"storybook": "^8.
|
|
128
|
-
"stylelint": "^16.
|
|
127
|
+
"storybook": "^8.1.4",
|
|
128
|
+
"stylelint": "^16.6.1",
|
|
129
129
|
"stylelint-config-standard": "^36",
|
|
130
130
|
"stylelint-no-unsupported-browser-features": "^8",
|
|
131
131
|
"stylelint-order": "^6",
|
|
132
132
|
"stylelint-prettier": "^5",
|
|
133
|
-
"svgo": "^3.2
|
|
133
|
+
"svgo": "^3.3.2",
|
|
134
134
|
"webpack": "^5.91.0",
|
|
135
135
|
"webpack-cli": "^5.1.4",
|
|
136
136
|
"winston": "^3.13.0",
|
|
@@ -31,3 +31,19 @@ export const textSpacing = () => `
|
|
|
31
31
|
</div>
|
|
32
32
|
</div>
|
|
33
33
|
`;
|
|
34
|
+
|
|
35
|
+
export const baseWithHeaderOverflow = () => `
|
|
36
|
+
<div aria-labelledby="alert-dialog-title" aria-modal="true" class="alert-dialog alert-dialog--mask-fade" role="alertdialog">
|
|
37
|
+
<div class="alert-dialog__window alert-dialog__window--fade">
|
|
38
|
+
<div class="alert-dialog__header">
|
|
39
|
+
<h2 id="alert-dialog-title" class="alert-dialog__title">Alert! This title is so long that it wraps to the next line. No dialog should ever have a title this long.</h2>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="alert-dialog__main">
|
|
42
|
+
<p id="alert-description-0">You must acknowledge this alert to continue.</p>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="alert-dialog__footer">
|
|
45
|
+
<button class="btn btn--primary alert-dialog__acknowledge" aria-describedby="alert-description-0">OK</button>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
`;
|
|
@@ -33,3 +33,20 @@ export const textSpacing = () => `
|
|
|
33
33
|
</div>
|
|
34
34
|
</div>
|
|
35
35
|
`;
|
|
36
|
+
|
|
37
|
+
export const baseWithHeaderOverflow = () => `
|
|
38
|
+
<div aria-labelledby="confirm-dialog-title" aria-modal="true" class="confirm-dialog confirm-dialog--mask-fade" role="dialog">
|
|
39
|
+
<div class="confirm-dialog__window confirm-dialog__window--fade">
|
|
40
|
+
<div class="confirm-dialog__header">
|
|
41
|
+
<h2 id="confirm-dialog-title" class="confirm-dialog__title">This title is long enough that it needs to wrap into multiple lines. No dialog header should ever be this long.</h2>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="confirm-dialog__main">
|
|
44
|
+
<p id="confirm-dialog__description">You will permanently lose this address.</p>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="confirm-dialog__footer">
|
|
47
|
+
<button class="btn confirm-dialog__reject">Cancel</button>
|
|
48
|
+
<button class="btn btn--primary confirm-dialog__confirm" aria-describedby="confirm-dialog__description">Delete</button>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
`;
|
|
@@ -5,9 +5,22 @@ export const base = () => `
|
|
|
5
5
|
<span class="textbox textbox--icon-end">
|
|
6
6
|
<input class="textbox__control" placeholder="YYYY-MM-DD" type="text" />
|
|
7
7
|
<button class="icon-btn icon-btn--transparent" type="button" aria-label="Calendar">
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
<svg aria-hidden="true" class="icon icon--calendar-24" width="16" height="16">
|
|
9
|
+
<use href="#icon-calendar-24"></use>
|
|
10
|
+
</svg>
|
|
11
|
+
</button>
|
|
12
|
+
</span>
|
|
13
|
+
</span>
|
|
14
|
+
`;
|
|
15
|
+
|
|
16
|
+
export const disabled = () => `
|
|
17
|
+
<span class="date-textbox">
|
|
18
|
+
<span class="textbox textbox--icon-end">
|
|
19
|
+
<input class="textbox__control" placeholder="YYYY-MM-DD" type="text" disabled />
|
|
20
|
+
<button class="icon-btn icon-btn--transparent" type="button" aria-label="Calendar" disabled>
|
|
21
|
+
<svg aria-hidden="true" class="icon icon--calendar-24" width="16" height="16">
|
|
22
|
+
<use href="#icon-calendar-24"></use>
|
|
23
|
+
</svg>
|
|
11
24
|
</button>
|
|
12
25
|
</span>
|
|
13
26
|
</span>
|
|
@@ -18,9 +31,9 @@ export const textSpacing = () => `
|
|
|
18
31
|
<span class="textbox textbox--icon-end">
|
|
19
32
|
<input class="textbox__control" placeholder="YYYY-MM-DD" type="text" />
|
|
20
33
|
<button class="icon-btn icon-btn--transparent" type="button" aria-label="Calendar">
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
34
|
+
<svg aria-hidden="true" class="icon icon--calendar-24" width="16" height="16">
|
|
35
|
+
<use href="#icon-calendar-24"></use>
|
|
36
|
+
</svg>
|
|
24
37
|
</button>
|
|
25
38
|
</span>
|
|
26
39
|
</span>
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.drawer-dialog__header .fake-link {
|
|
20
|
+
align-self: flex-start;
|
|
20
21
|
text-decoration: none;
|
|
21
22
|
}
|
|
22
23
|
|
|
@@ -66,11 +67,13 @@
|
|
|
66
67
|
|
|
67
68
|
// inherits from .icon-btn
|
|
68
69
|
// Added icon button selector so it doesn't override fake-link
|
|
69
|
-
button.icon-
|
|
70
|
-
|
|
70
|
+
button.icon-btn.drawer-dialog__close {
|
|
71
|
+
align-self: flex-start;
|
|
71
72
|
border: 0;
|
|
72
|
-
height:
|
|
73
|
-
|
|
73
|
+
height: 32px;
|
|
74
|
+
min-width: 32px;
|
|
75
|
+
position: relative;
|
|
76
|
+
width: 32px;
|
|
74
77
|
z-index: 1;
|
|
75
78
|
}
|
|
76
79
|
|
|
@@ -256,3 +256,30 @@ export const textClose = () => `
|
|
|
256
256
|
</div>
|
|
257
257
|
</div>
|
|
258
258
|
`;
|
|
259
|
+
|
|
260
|
+
export const withFooterAndHeaderOverflow = () => `
|
|
261
|
+
<div aria-labelledby="drawer-dialog-title" aria-modal="true" class="drawer-dialog drawer-dialog--mask-fade-slow" role="dialog">
|
|
262
|
+
<div class="drawer-dialog__window drawer-dialog__window--slide">
|
|
263
|
+
<button class="drawer-dialog__handle"></button>
|
|
264
|
+
<div class="drawer-dialog__header">
|
|
265
|
+
<h2 id="dialog-title" class="large-text-1 bold-text">Heading that is so long it needs to wrap across multiple lines. In order for this to happen, text needs to span the entire width of the screen. No dialog header should ever be this long.</h2>
|
|
266
|
+
<button aria-label="Close dialog" class="icon-btn drawer-dialog__close" type="button">
|
|
267
|
+
<svg aria-hidden="true" class="icon icon--close-16" height="16" width="16">
|
|
268
|
+
<use href="#icon-close-16"></use>
|
|
269
|
+
</svg>
|
|
270
|
+
</button>
|
|
271
|
+
</div>
|
|
272
|
+
<div class="drawer-dialog__main">
|
|
273
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore
|
|
274
|
+
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
|
|
275
|
+
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
|
276
|
+
</p>
|
|
277
|
+
<p><a href="http://www.ebay.com">www.ebay.com</a></p>
|
|
278
|
+
</div>
|
|
279
|
+
<div class="drawer-dialog__footer">
|
|
280
|
+
<button class="btn">Cancel</button>
|
|
281
|
+
<button class="btn btn--primary">Submit</button>
|
|
282
|
+
</div>
|
|
283
|
+
</div>
|
|
284
|
+
</div>
|
|
285
|
+
`;
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.fullscreen-dialog__header .fake-link {
|
|
26
|
+
align-self: flex-start;
|
|
26
27
|
outline-offset: 4px;
|
|
27
28
|
text-decoration: none;
|
|
28
29
|
}
|
|
@@ -46,7 +47,7 @@ button.icon-btn.fullscreen-dialog__close {
|
|
|
46
47
|
// inherits from .icon-btn
|
|
47
48
|
button.fullscreen-dialog__close,
|
|
48
49
|
button.fullscreen-dialog__back {
|
|
49
|
-
align-self:
|
|
50
|
+
align-self: flex-start;
|
|
50
51
|
border: 0;
|
|
51
52
|
padding: 0;
|
|
52
53
|
position: relative;
|
|
@@ -143,3 +143,26 @@ export const textSpacing = () => `
|
|
|
143
143
|
</div>
|
|
144
144
|
</div>
|
|
145
145
|
`;
|
|
146
|
+
|
|
147
|
+
export const closeButtonWithHeaderOverflow = () => `
|
|
148
|
+
<div aria-labelledby="fullscreen-dialog-title" aria-modal="true" class="fullscreen-dialog" role="dialog">
|
|
149
|
+
<div class="fullscreen-dialog__window">
|
|
150
|
+
<div class="fullscreen-dialog__header">
|
|
151
|
+
<h2 id="fullscreen-dialog-title">Dialog Full screen with title so long that it needs to wrap into multiple lines. This is a fullscreen dialog so it needs to be even longer than in others before it overflows. No dialog header should ever be this long.</h2>
|
|
152
|
+
<button class="icon-btn fullscreen-dialog__close" type="button" aria-label="Close Dialog">
|
|
153
|
+
<svg class="icon icon--close-16" aria-hidden="true">
|
|
154
|
+
<use href="#icon-close-16"></use>
|
|
155
|
+
</svg>
|
|
156
|
+
</button>
|
|
157
|
+
</div>
|
|
158
|
+
<div class="fullscreen-dialog__main">
|
|
159
|
+
<h3>Heading</h3>
|
|
160
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus convallis molestie erat, ut adipiscing risus blandit vel. Vivamus luctus elementum lorem, eu sodales velit sagittis id.</p>
|
|
161
|
+
<p><a href="http://www.ebay.com">www.ebay.com</a></p>
|
|
162
|
+
<h3>Heading</h3>
|
|
163
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus convallis molestie erat, ut adipiscing risus blandit vel. Vivamus luctus elementum lorem, eu sodales velit sagittis id.</p>
|
|
164
|
+
<p><a href="http://www.ebay.com">www.ebay.com</a></p>
|
|
165
|
+
</div>
|
|
166
|
+
</div>
|
|
167
|
+
</div>
|
|
168
|
+
`;
|