@ebay/skin 16.0.0-2 → 16.1.0-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.
Files changed (269) hide show
  1. package/.github/workflows/jekyll-gh-pages.yml +56 -0
  2. package/.github/workflows/pages-html-proofer.yml +5 -0
  3. package/.percy.yml +4 -3
  4. package/.prettierrc.json +1 -12
  5. package/.storybook/main.js +44 -40
  6. package/.storybook/manager.js +6 -6
  7. package/.storybook/preview-head.html +49 -11
  8. package/.storybook/theme.js +9 -9
  9. package/.stylelintrc +80 -73
  10. package/ICON-CREATION.md +22 -45
  11. package/README.md +1 -1
  12. package/_cdn/skin/v16.1.0-0/skin-default.min.css +6 -0
  13. package/_cdn/skin/v16.1.0-0/skin-full.min.css +6 -0
  14. package/_cdn/skin/v16.1.0-0/skin-headless.min.css +6 -0
  15. package/_cdn/skin/v16.1.0-0/skin-legacy.min.css +6 -0
  16. package/dist/alert-dialog/alert-dialog.css +16 -11
  17. package/dist/breadcrumbs/breadcrumbs.css +1 -1
  18. package/dist/button/button.css +3 -5
  19. package/dist/calendar/calendar.css +11 -10
  20. package/dist/carousel/carousel.css +11 -15
  21. package/dist/combobox/combobox.css +0 -2
  22. package/dist/confirm-dialog/confirm-dialog.css +16 -11
  23. package/dist/date-textbox/date-textbox.css +4 -1
  24. package/dist/drawer-dialog/drawer-dialog.css +11 -8
  25. package/dist/fullscreen-dialog/fullscreen-dialog.css +11 -8
  26. package/dist/icon/icon.css +17 -5
  27. package/dist/image-placeholder/image-placeholder.css +4 -0
  28. package/dist/infotip/infotip.css +2 -5
  29. package/dist/legacy-theme/legacy-theme.css +2 -2
  30. package/dist/legacy-tokens/ds4-light.css +2 -0
  31. package/dist/lightbox-dialog/lightbox-dialog.css +24 -17
  32. package/dist/listbox/listbox.css +0 -2
  33. package/dist/listbox-button/listbox-button.css +0 -2
  34. package/dist/menu/menu.css +0 -2
  35. package/dist/menu-button/menu-button.css +0 -2
  36. package/dist/mixins/utility-mixins.less +1 -4
  37. package/dist/page-grid/page-grid.css +15 -5
  38. package/dist/page-notice/page-notice.css +1 -1
  39. package/dist/panel-dialog/panel-dialog.css +12 -9
  40. package/dist/progress-bar/progress-bar.css +1 -1
  41. package/dist/progress-stepper/progress-stepper.css +1 -1
  42. package/dist/section-notice/section-notice.css +1 -1
  43. package/dist/section-title/section-title.css +1 -1
  44. package/dist/snackbar-dialog/snackbar-dialog.css +7 -1
  45. package/dist/square-corner-theme/square-corner-theme.css +3 -3
  46. package/dist/svg/icon/icon-bookmark-16.svg +7 -0
  47. package/dist/svg/icon/icon-bookmark-24.svg +7 -0
  48. package/dist/svg/icon/icon-play-filled-16-colored.svg +13 -0
  49. package/dist/svg/icon/icon-play-filled-24-colored.svg +11 -0
  50. package/dist/svg/icon/image-placeholder.svg +3 -0
  51. package/dist/svg/icons.svg +49 -11
  52. package/dist/toast-dialog/toast-dialog.css +7 -1
  53. package/dist/tokens/evo-dark.css +2 -0
  54. package/dist/tokens/evo-light.css +2 -0
  55. package/dist/tooltip/tooltip.css +2 -5
  56. package/dist/tourtip/tourtip.css +2 -5
  57. package/dist/typography/typography.css +1 -1
  58. package/dist/utility/utility.css +2 -8
  59. package/dist/video/video.css +1 -4
  60. package/image-placeholder.browser.json +1 -0
  61. package/image-placeholder.css +1 -0
  62. package/image-placeholder.js +1 -0
  63. package/image-placeholder.mjs +1 -0
  64. package/index.browser.json +1 -0
  65. package/index.css +1 -0
  66. package/index.js +1 -0
  67. package/index.mjs +1 -0
  68. package/package.json +13 -12
  69. package/scripts/develop-module_proper/code-generators/doc-generator.js +32 -16
  70. package/scripts/develop-module_proper/code-generators/style-generator.js +89 -34
  71. package/scripts/develop-module_proper/code-generators/test-generator.js +18 -12
  72. package/scripts/develop-module_proper/errors/illegal-input.js +1 -1
  73. package/scripts/develop-module_proper/index.js +6 -6
  74. package/scripts/develop-module_proper/input/module-name.js +9 -7
  75. package/scripts/develop-module_proper/input/parse-input.js +10 -8
  76. package/scripts/develop-module_proper/util/line-writer.js +31 -18
  77. package/scripts/develop-module_proper/util/title-case.js +4 -3
  78. package/scripts/generate-bundle.js +58 -33
  79. package/scripts/generate-images.js +72 -45
  80. package/scripts/generate-imports/config.json +21 -3
  81. package/scripts/generate-imports/index.js +35 -29
  82. package/scripts/generate-imports/module-builder.js +58 -36
  83. package/scripts/import-svgs.js +33 -25
  84. package/scripts/index.js +68 -68
  85. package/scripts/jekyll-config.js +8 -5
  86. package/scripts/log.js +5 -3
  87. package/scripts/split-icon.js +20 -15
  88. package/scripts/storybook/copy.js +29 -10
  89. package/scripts/svgo.config.js +42 -42
  90. package/scripts/util.js +15 -11
  91. package/scripts/verify-build.js +12 -12
  92. package/src/fonts/marketsans/MarketSans-Regular-WebS.css +6 -3
  93. package/src/fonts/marketsans/MarketSans-SemiBold-WebS.css +6 -3
  94. package/src/less/alert-dialog/alert-dialog.less +5 -6
  95. package/src/less/alert-dialog/stories/alert-dialog.stories.js +1 -1
  96. package/src/less/badge/stories/badge.stories.js +1 -1
  97. package/src/less/breadcrumbs/breadcrumbs.less +5 -2
  98. package/src/less/breadcrumbs/stories/button-cascade.stories.js +1 -1
  99. package/src/less/breadcrumbs/stories/button-overflow.stories.js +1 -1
  100. package/src/less/breadcrumbs/stories/buttons.stories.js +1 -1
  101. package/src/less/breadcrumbs/stories/link-cascade.stories.js +1 -1
  102. package/src/less/breadcrumbs/stories/link-overflow.stories.js +1 -1
  103. package/src/less/breadcrumbs/stories/links.stories.js +1 -1
  104. package/src/less/bundles/skin-headless.less +1 -0
  105. package/src/less/button/button.less +16 -10
  106. package/src/less/button/stories/button/base.stories.js +1 -1
  107. package/src/less/button/stories/button/borderless.stories.js +5 -3
  108. package/src/less/button/stories/button/cascade.stories.js +1 -1
  109. package/src/less/button/stories/button/dimensions.stories.js +1 -1
  110. package/src/less/button/stories/button/primary.stories.js +3 -2
  111. package/src/less/button/stories/button/secondary.stories.js +3 -2
  112. package/src/less/button/stories/button/tertiary.stories.js +1 -1
  113. package/src/less/button/stories/destructive-button/primary.stories.js +1 -1
  114. package/src/less/button/stories/destructive-button/secondary.stories.js +1 -1
  115. package/src/less/button/stories/destructive-button/tertiary.stories.js +1 -1
  116. package/src/less/button/stories/fake-button/base.stories.js +3 -2
  117. package/src/less/button/stories/fake-button/cascade.stories.js +1 -1
  118. package/src/less/button/stories/fake-button/dimensions.stories.js +1 -1
  119. package/src/less/button/stories/fake-button/primary.stories.js +1 -1
  120. package/src/less/button/stories/fake-button/secondary.stories.js +1 -1
  121. package/src/less/calendar/calendar.less +31 -13
  122. package/src/less/calendar/stories/calendar.stories.js +601 -108
  123. package/src/less/carousel/carousel.less +14 -9
  124. package/src/less/carousel/stories/carousel.stories.js +1 -1
  125. package/src/less/checkbox/checkbox.less +14 -5
  126. package/src/less/checkbox/stories/checked.stories.js +1 -1
  127. package/src/less/checkbox/stories/mixed.stories.js +2 -2
  128. package/src/less/checkbox/stories/unchecked.stories.js +1 -1
  129. package/src/less/combobox/combobox.less +4 -1
  130. package/src/less/combobox/stories/combobox.stories.js +1 -1
  131. package/src/less/confirm-dialog/confirm-dialog.less +5 -6
  132. package/src/less/confirm-dialog/stories/confirm-dialog.stories.js +1 -1
  133. package/src/less/cta-button/stories/cascade.stories.js +1 -1
  134. package/src/less/cta-button/stories/cta-button.stories.js +1 -1
  135. package/src/less/cta-button/stories/dimensions.stories.js +1 -1
  136. package/src/less/date-textbox/date-textbox.less +5 -1
  137. package/src/less/details/stories/cascade.stories.js +1 -1
  138. package/src/less/details/stories/details.stories.js +1 -1
  139. package/src/less/drawer-dialog/drawer-dialog.less +2 -2
  140. package/src/less/drawer-dialog/stories/drawer-dialog.stories.js +1 -1
  141. package/src/less/eek/eek.less +2 -2
  142. package/src/less/field/stories/stacked.stories.js +1 -1
  143. package/src/less/field/stories/unstacked.stories.js +1 -1
  144. package/src/less/filter-button/stories/button.stories.js +1 -1
  145. package/src/less/filter-button/stories/group.stories.js +1 -1
  146. package/src/less/filter-button/stories/link.stories.js +1 -1
  147. package/src/less/filter-menu/filter-menu.less +8 -4
  148. package/src/less/filter-menu/stories/filter-menu.stories.js +1 -1
  149. package/src/less/filter-menu-button/filter-menu-button.less +2 -1
  150. package/src/less/filter-menu-button/stories/filter-menu-button.stories.js +1 -1
  151. package/src/less/floating-label/stories/floating-label.stories.js +1 -1
  152. package/src/less/fullscreen-dialog/fullscreen-dialog.less +2 -2
  153. package/src/less/fullscreen-dialog/stories/fullscreen-dialog.stories.js +1 -1
  154. package/src/less/global/stories/global.stories.js +1 -1
  155. package/src/less/icon/generated/icon.less +17 -5
  156. package/src/less/icon/stories/icon.stories.js +1 -1
  157. package/src/less/icon-button/stories/alignment.stories.js +1 -1
  158. package/src/less/image-placeholder/image-placeholder.less +4 -0
  159. package/src/less/image-placeholder/stories/image-placeholder.stories.js +35 -0
  160. package/src/less/index.stories.js +1 -1
  161. package/src/less/infotip/infotip.less +1 -1
  162. package/src/less/infotip/stories/infotip.stories.js +1 -1
  163. package/src/less/inline-notice/stories/inline.stories.js +1 -1
  164. package/src/less/legacy-theme/legacy-theme.less +2 -2
  165. package/src/less/lightbox-dialog/lightbox-dialog.less +12 -9
  166. package/src/less/lightbox-dialog/stories/lightbox-dialog.stories.js +91 -1
  167. package/src/less/link/stories/link.stories.js +3 -2
  168. package/src/less/listbox/listbox.less +2 -1
  169. package/src/less/listbox/stories/cascade.stories.js +1 -1
  170. package/src/less/listbox/stories/listbox.stories.js +1 -1
  171. package/src/less/listbox-button/listbox-button.less +2 -1
  172. package/src/less/listbox-button/stories/base.stories.js +1 -1
  173. package/src/less/listbox-button/stories/cascade.stories.js +1 -1
  174. package/src/less/listbox-button/stories/dimensions.stories.js +1 -1
  175. package/src/less/listbox-button/stories/form.stories.js +1 -1
  176. package/src/less/marketsans/marketsans.less +12 -6
  177. package/src/less/menu/stories/fake-menu.stories.js +1 -1
  178. package/src/less/menu/stories/misc.stories.js +1 -1
  179. package/src/less/menu/stories/multiSelect.stories.js +1 -1
  180. package/src/less/menu-button/menu-button.less +2 -1
  181. package/src/less/menu-button/stories/base.stories.js +1 -1
  182. package/src/less/menu-button/stories/cascade.stories.js +1 -1
  183. package/src/less/menu-button/stories/dimensions.stories.js +1 -1
  184. package/src/less/menu-button/stories/fake-menu-button.stories.js +1 -1
  185. package/src/less/mixins/private/bubble-mixins.less +1 -4
  186. package/src/less/mixins/private/dialog-mixins.less +12 -10
  187. package/src/less/mixins/private/filter-menu-mixins.less +4 -1
  188. package/src/less/mixins/private/selection-list-mixins.less +0 -2
  189. package/src/less/mixins/private/token-mixins.less +2 -1
  190. package/src/less/mixins/public/utility-mixins.less +1 -4
  191. package/src/less/page-grid/page-grid.less +32 -10
  192. package/src/less/page-notice/page-notice.less +1 -1
  193. package/src/less/page-notice/stories/page-notice.stories.js +1 -1
  194. package/src/less/page-notice/stories/test.stories.js +1 -1
  195. package/src/less/pagination/stories/button-cascade.stories.js +1 -1
  196. package/src/less/pagination/stories/buttons.stories.js +1 -1
  197. package/src/less/pagination/stories/link-cascade.stories.js +1 -1
  198. package/src/less/pagination/stories/links.stories.js +1 -1
  199. package/src/less/pagination/stories/overflow.stories.js +1 -1
  200. package/src/less/panel-dialog/panel-dialog.less +5 -4
  201. package/src/less/panel-dialog/stories/panel-dialog.stories.js +1 -1
  202. package/src/less/progress-bar/progress-bar.less +1 -1
  203. package/src/less/progress-bar/stories/progress-bar.stories.js +10 -7
  204. package/src/less/progress-spinner/stories/progress-spinner.stories.js +1 -1
  205. package/src/less/progress-stepper/progress-stepper.less +29 -9
  206. package/src/less/progress-stepper/stories/progress-stepper.stories.js +1 -1
  207. package/src/less/radio/radio.less +8 -3
  208. package/src/less/radio/stories/checked.stories.js +1 -1
  209. package/src/less/radio/stories/unchecked.stories.js +1 -1
  210. package/src/less/section-notice/section-notice.less +1 -1
  211. package/src/less/section-notice/stories/rtl.stories.js +1 -1
  212. package/src/less/section-notice/stories/section-notice.stories.js +1 -1
  213. package/src/less/section-notice/stories/test.stories.js +1 -1
  214. package/src/less/section-title/section-title.less +1 -1
  215. package/src/less/section-title/stories/rtl.stories.js +1 -1
  216. package/src/less/section-title/stories/section-title.stories.js +1 -1
  217. package/src/less/select/stories/cascade.stories.js +1 -1
  218. package/src/less/select/stories/default.stories.js +1 -1
  219. package/src/less/select/stories/floating-label.stories.js +1 -1
  220. package/src/less/signal/stories/signal.stories.js +1 -1
  221. package/src/less/snackbar-dialog/snackbar-dialog.less +1 -1
  222. package/src/less/snackbar-dialog/stories/base.stories.js +1 -1
  223. package/src/less/snackbar-dialog/stories/font-size.stories.js +1 -1
  224. package/src/less/snackbar-dialog/stories/rtl.stories.js +1 -1
  225. package/src/less/split-button/stories/base.stories.js +1 -1
  226. package/src/less/split-button/stories/rtl.stories.js +1 -1
  227. package/src/less/split-button/stories/size.stories.js +1 -1
  228. package/src/less/square-corner-theme/square-corner-theme.less +3 -3
  229. package/src/less/star-rating/stories/star-rating.stories.js +1 -1
  230. package/src/less/star-rating-select/star-rating-select.less +6 -2
  231. package/src/less/star-rating-select/stories/star-rating-select.stories.js +1 -1
  232. package/src/less/switch/stories/form.stories.js +1 -1
  233. package/src/less/switch/stories/script.stories.js +1 -1
  234. package/src/less/switch/switch.less +12 -6
  235. package/src/less/tabs/stories/fake-tabs/block.stories.js +1 -1
  236. package/src/less/tabs/stories/fake-tabs/inlineBlock.stories.js +1 -1
  237. package/src/less/tabs/stories/tabs/block.stories.js +1 -1
  238. package/src/less/tabs/stories/tabs/inlineBlock.stories.js +1 -1
  239. package/src/less/textbox/stories/icon.stories.js +1 -1
  240. package/src/less/textbox/stories/rtl/icon.stories.js +1 -1
  241. package/src/less/textbox/stories/rtl/textbox.stories.js +1 -1
  242. package/src/less/textbox/stories/textbox.stories.js +1 -1
  243. package/src/less/toast-dialog/stories/toast-dialog.stories.js +1 -1
  244. package/src/less/toast-dialog/toast-dialog.less +1 -1
  245. package/src/less/tooltip/stories/pointer.stories.js +84 -78
  246. package/src/less/tooltip/stories/tooltip.stories.js +1 -1
  247. package/src/less/tooltip/tooltip.less +1 -1
  248. package/src/less/tourtip/stories/tourtip.stories.js +1 -1
  249. package/src/less/tourtip/tourtip.less +1 -1
  250. package/src/less/typography/typography.less +1 -1
  251. package/src/less/video/video.less +1 -4
  252. package/src/svg/icon/icon-bookmark-16.svg +7 -0
  253. package/src/svg/icon/icon-bookmark-24.svg +7 -0
  254. package/src/svg/icon/icon-play-filled-16-colored.svg +13 -0
  255. package/src/svg/icon/icon-play-filled-24-colored.svg +11 -0
  256. package/src/svg/icon/image-placeholder.svg +3 -0
  257. package/src/svg/icons.svg +49 -11
  258. package/src/tokens/evo-dark.css +2 -0
  259. package/src/tokens/evo-light.css +2 -0
  260. package/svg.svg +49 -11
  261. package/webpack.config.js +6 -6
  262. package/_cdn/skin/v16.0.0-2/skin-default.min.css +0 -6
  263. package/_cdn/skin/v16.0.0-2/skin-full.min.css +0 -6
  264. package/_cdn/skin/v16.0.0-2/skin-headless.min.css +0 -6
  265. package/_cdn/skin/v16.0.0-2/skin-legacy.min.css +0 -6
  266. package/dist/svg/icon/icon-image-placeholder.svg +0 -10
  267. package/src/svg/icon/icon-image-placeholder.svg +0 -10
  268. /package/dist/svg/icon/{icon-zoom-In-16.svg → icon-zoom-in-16.svg} +0 -0
  269. /package/src/svg/icon/{icon-zoom-In-16.svg → icon-zoom-in-16.svg} +0 -0
@@ -1,4 +1,4 @@
1
- export default { title: 'Calendar' };
1
+ export default { title: "Calendar" };
2
2
 
3
3
  export const base = () => /* HTML */ `
4
4
  <div class="calendar">
@@ -22,25 +22,107 @@ export const base = () => /* HTML */ `
22
22
  <tbody>
23
23
  <tr>
24
24
  <td colspan="4"></td>
25
- <td><span class="calendar__cell--disabled">1</span></td>
26
- <td><span class="calendar__cell--disabled">2</span></td>
27
- <td><span class="calendar__cell--disabled">3</span></td>
25
+ <td>
26
+ <span class="calendar__cell--disabled"
27
+ >1<span class="clipped">
28
+ - inactive</span
29
+ ></span
30
+ >
31
+ </td>
32
+ <td>
33
+ <span class="calendar__cell--disabled"
34
+ >2<span class="clipped">
35
+ - inactive</span
36
+ ></span
37
+ >
38
+ </td>
39
+ <td>
40
+ <span class="calendar__cell--disabled"
41
+ >3<span class="clipped">
42
+ - inactive</span
43
+ ></span
44
+ >
45
+ </td>
28
46
  </tr>
29
47
  <tr>
30
- <td><span class="calendar__cell--disabled">4</span></td>
31
- <td><span class="calendar__cell--disabled">5</span></td>
32
- <td><span class="calendar__cell--disabled">6</span></td>
33
- <td><span class="calendar__cell--disabled">7</span></td>
34
- <td><span class="calendar__cell--disabled">8</span></td>
35
- <td><span class="calendar__cell--disabled">9</span></td>
36
- <td><span class="calendar__cell--disabled">10</span></td>
48
+ <td>
49
+ <span class="calendar__cell--disabled"
50
+ >4<span class="clipped">
51
+ - inactive</span
52
+ ></span
53
+ >
54
+ </td>
55
+ <td>
56
+ <span class="calendar__cell--disabled"
57
+ >5<span class="clipped">
58
+ - inactive</span
59
+ ></span
60
+ >
61
+ </td>
62
+ <td>
63
+ <span class="calendar__cell--disabled"
64
+ >6<span class="clipped">
65
+ - inactive</span
66
+ ></span
67
+ >
68
+ </td>
69
+ <td>
70
+ <span class="calendar__cell--disabled"
71
+ >7<span class="clipped">
72
+ - inactive</span
73
+ ></span
74
+ >
75
+ </td>
76
+ <td>
77
+ <span class="calendar__cell--disabled"
78
+ >8<span class="clipped">
79
+ - inactive</span
80
+ ></span
81
+ >
82
+ </td>
83
+ <td>
84
+ <span class="calendar__cell--disabled"
85
+ >9<span class="clipped">
86
+ - inactive</span
87
+ ></span
88
+ >
89
+ </td>
90
+ <td>
91
+ <span class="calendar__cell--disabled"
92
+ >10<span class="clipped">
93
+ - inactive</span
94
+ ></span
95
+ >
96
+ </td>
37
97
  </tr>
38
98
  <tr>
39
- <td><span class="calendar__cell--disabled">11</span></td>
40
- <td><span class="calendar__cell--disabled">12</span></td>
41
- <td><span class="calendar__cell--disabled">13</span></td>
42
- <td aria-current="date">
43
- <span>14</span>
99
+ <td>
100
+ <span class="calendar__cell--disabled"
101
+ >11<span class="clipped">
102
+ - inactive</span
103
+ ></span
104
+ >
105
+ </td>
106
+ <td>
107
+ <span class="calendar__cell--disabled"
108
+ >12<span class="clipped">
109
+ - inactive</span
110
+ ></span
111
+ >
112
+ </td>
113
+ <td>
114
+ <span class="calendar__cell--disabled"
115
+ >13<span class="clipped">
116
+ - inactive</span
117
+ ></span
118
+ >
119
+ </td>
120
+ <td>
121
+ <span class="calendar__cell--current"
122
+ >14<span class="clipped">
123
+ - today</span
124
+ ></span
125
+ >
44
126
  </td>
45
127
  <td><span>15</span></td>
46
128
  <td><span>16</span></td>
@@ -52,22 +134,46 @@ export const base = () => /* HTML */ `
52
134
  <td><span>20</span></td>
53
135
  <td><span>21</span></td>
54
136
  <td><span>22</span></td>
55
- <td class="calendar__range calendar__range--start" aria-selected="true">
56
- <span aria-label="23 - start of range">23</span>
137
+ <td
138
+ class="calendar__cell--selected calendar__range calendar__range--start"
139
+ >
140
+ <span
141
+ >23<span class="clipped">
142
+ - selected - start of range</span
143
+ ></span
144
+ >
57
145
  </td>
58
146
  <td class="calendar__range">
59
- <span aria-label="24 - in range">24</span>
147
+ <span
148
+ >24<span class="clipped">
149
+ - in range</span
150
+ ></span
151
+ >
60
152
  </td>
61
153
  </tr>
62
154
  <tr>
63
155
  <td class="calendar__range">
64
- <span aria-label="25 - in range">25</span>
156
+ <span
157
+ >25<span class="clipped">
158
+ - in range</span
159
+ ></span
160
+ >
65
161
  </td>
66
162
  <td class="calendar__range">
67
- <span aria-label="26 - in range">26</span>
163
+ <span
164
+ >26<span class="clipped">
165
+ - in range</span
166
+ ></span
167
+ >
68
168
  </td>
69
- <td class="calendar__range calendar__range--end" aria-selected="true">
70
- <span aria-label="27 - end of range">27</span>
169
+ <td
170
+ class="calendar__cell--selected calendar__range calendar__range--end"
171
+ >
172
+ <span
173
+ >27<span class="clipped">
174
+ - selected - end of range</span
175
+ ></span
176
+ >
71
177
  </td>
72
178
  <td><span>28</span></td>
73
179
  <td><span>29</span></td>
@@ -120,8 +226,8 @@ export const interactive = () => /* HTML */ `
120
226
  <td><button tabindex="-1" disabled>11</button></td>
121
227
  <td><button tabindex="-1" disabled>12</button></td>
122
228
  <td><button tabindex="-1" disabled>13</button></td>
123
- <td aria-current="date">
124
- <button>14</button>
229
+ <td>
230
+ <button aria-current="date">14</button>
125
231
  </td>
126
232
  <td><button tabindex="-1">15</button></td>
127
233
  <td><button tabindex="-1">16</button></td>
@@ -133,22 +239,51 @@ export const interactive = () => /* HTML */ `
133
239
  <td><button tabindex="-1">20</button></td>
134
240
  <td><button tabindex="-1">21</button></td>
135
241
  <td><button tabindex="-1">22</button></td>
136
- <td class="calendar__range calendar__range--start" aria-selected="true">
137
- <button tabindex="-1" aria-label="23 - start of range">23</button>
242
+ <td
243
+ class="calendar__cell--selected calendar__range calendar__range--start"
244
+ >
245
+ <button
246
+ tabindex="-1"
247
+ aria-label="23 - selected - start of range"
248
+ >
249
+ 23
250
+ </button>
138
251
  </td>
139
252
  <td class="calendar__range">
140
- <button tabindex="-1" aria-label="24 - in range">24</button>
253
+ <button
254
+ tabindex="-1"
255
+ aria-label="24 - in range"
256
+ >
257
+ 24
258
+ </button>
141
259
  </td>
142
260
  </tr>
143
261
  <tr>
144
262
  <td class="calendar__range">
145
- <button tabindex="-1" aria-label="25 - in range">25</button>
263
+ <button
264
+ tabindex="-1"
265
+ aria-label="25 - in range"
266
+ >
267
+ 25
268
+ </button>
146
269
  </td>
147
270
  <td class="calendar__range">
148
- <button tabindex="-1" aria-label="26 - in range">26</button>
271
+ <button
272
+ tabindex="-1"
273
+ aria-label="26 - in range"
274
+ >
275
+ 26
276
+ </button>
149
277
  </td>
150
- <td class="calendar__range calendar__range--end" aria-selected="true">
151
- <button tabindex="-1" aria-label="27 - end of range">27</button>
278
+ <td
279
+ class="calendar__cell--selected calendar__range calendar__range--end"
280
+ >
281
+ <button
282
+ tabindex="-1"
283
+ aria-label="27 - selected - end of range"
284
+ >
285
+ 27
286
+ </button>
152
287
  </td>
153
288
  <td><button tabindex="-1">28</button></td>
154
289
  <td><button tabindex="-1">29</button></td>
@@ -207,25 +342,107 @@ export const header = () => /* HTML */ `
207
342
  <tbody>
208
343
  <tr>
209
344
  <td colspan="4"></td>
210
- <td><span class="calendar__cell--disabled">1</span></td>
211
- <td><span class="calendar__cell--disabled">2</span></td>
212
- <td><span class="calendar__cell--disabled">3</span></td>
345
+ <td>
346
+ <span class="calendar__cell--disabled"
347
+ >1<span class="clipped">
348
+ - inactive</span
349
+ ></span
350
+ >
351
+ </td>
352
+ <td>
353
+ <span class="calendar__cell--disabled"
354
+ >2<span class="clipped">
355
+ - inactive</span
356
+ ></span
357
+ >
358
+ </td>
359
+ <td>
360
+ <span class="calendar__cell--disabled"
361
+ >3<span class="clipped">
362
+ - inactive</span
363
+ ></span
364
+ >
365
+ </td>
213
366
  </tr>
214
367
  <tr>
215
- <td><span class="calendar__cell--disabled">4</span></td>
216
- <td><span class="calendar__cell--disabled">5</span></td>
217
- <td><span class="calendar__cell--disabled">6</span></td>
218
- <td><span class="calendar__cell--disabled">7</span></td>
219
- <td><span class="calendar__cell--disabled">8</span></td>
220
- <td><span class="calendar__cell--disabled">9</span></td>
221
- <td><span class="calendar__cell--disabled">10</span></td>
368
+ <td>
369
+ <span class="calendar__cell--disabled"
370
+ >4<span class="clipped">
371
+ - inactive</span
372
+ ></span
373
+ >
374
+ </td>
375
+ <td>
376
+ <span class="calendar__cell--disabled"
377
+ >5<span class="clipped">
378
+ - inactive</span
379
+ ></span
380
+ >
381
+ </td>
382
+ <td>
383
+ <span class="calendar__cell--disabled"
384
+ >6<span class="clipped">
385
+ - inactive</span
386
+ ></span
387
+ >
388
+ </td>
389
+ <td>
390
+ <span class="calendar__cell--disabled"
391
+ >7<span class="clipped">
392
+ - inactive</span
393
+ ></span
394
+ >
395
+ </td>
396
+ <td>
397
+ <span class="calendar__cell--disabled"
398
+ >8<span class="clipped">
399
+ - inactive</span
400
+ ></span
401
+ >
402
+ </td>
403
+ <td>
404
+ <span class="calendar__cell--disabled"
405
+ >9<span class="clipped">
406
+ - inactive</span
407
+ ></span
408
+ >
409
+ </td>
410
+ <td>
411
+ <span class="calendar__cell--disabled"
412
+ >10<span class="clipped">
413
+ - inactive</span
414
+ ></span
415
+ >
416
+ </td>
222
417
  </tr>
223
418
  <tr>
224
- <td><span class="calendar__cell--disabled">11</span></td>
225
- <td><span class="calendar__cell--disabled">12</span></td>
226
- <td><span class="calendar__cell--disabled">13</span></td>
227
- <td aria-current="date">
228
- <span>14</span>
419
+ <td>
420
+ <span class="calendar__cell--disabled"
421
+ >11<span class="clipped">
422
+ - inactive</span
423
+ ></span
424
+ >
425
+ </td>
426
+ <td>
427
+ <span class="calendar__cell--disabled"
428
+ >12<span class="clipped">
429
+ - inactive</span
430
+ ></span
431
+ >
432
+ </td>
433
+ <td>
434
+ <span class="calendar__cell--disabled"
435
+ >13<span class="clipped">
436
+ - inactive</span
437
+ ></span
438
+ >
439
+ </td>
440
+ <td>
441
+ <span class="calendar__cell--current"
442
+ >14<span class="clipped">
443
+ - today</span
444
+ ></span
445
+ >
229
446
  </td>
230
447
  <td><span>15</span></td>
231
448
  <td><span>16</span></td>
@@ -237,22 +454,46 @@ export const header = () => /* HTML */ `
237
454
  <td><span>20</span></td>
238
455
  <td><span>21</span></td>
239
456
  <td><span>22</span></td>
240
- <td class="calendar__range calendar__range--start" aria-selected="true">
241
- <span aria-label="23 - start of range">23</span>
457
+ <td
458
+ class="calendar__cell--selected calendar__range calendar__range--start"
459
+ >
460
+ <span
461
+ >23<span class="clipped">
462
+ - selected - start of range</span
463
+ ></span
464
+ >
242
465
  </td>
243
466
  <td class="calendar__range">
244
- <span aria-label="24 - in range">24</span>
467
+ <span
468
+ >24<span class="clipped">
469
+ - in range</span
470
+ ></span
471
+ >
245
472
  </td>
246
473
  </tr>
247
474
  <tr>
248
475
  <td class="calendar__range">
249
- <span aria-label="25 - in range">25</span>
476
+ <span
477
+ >25<span class="clipped">
478
+ - in range</span
479
+ ></span
480
+ >
250
481
  </td>
251
482
  <td class="calendar__range">
252
- <span aria-label="26 - in range">26</span>
483
+ <span
484
+ >26<span class="clipped">
485
+ - in range</span
486
+ ></span
487
+ >
253
488
  </td>
254
- <td class="calendar__range calendar__range--end" aria-selected="true">
255
- <span aria-label="27 - end of range">27</span>
489
+ <td
490
+ class="calendar__cell--selected calendar__range calendar__range--end"
491
+ >
492
+ <span
493
+ >27<span class="clipped">
494
+ - selected - end of range</span
495
+ ></span
496
+ >
256
497
  </td>
257
498
  <td><span>28</span></td>
258
499
  <td><span>29</span></td>
@@ -288,25 +529,107 @@ export const double = () => /* HTML */ `
288
529
  <tbody>
289
530
  <tr>
290
531
  <td colspan="4"></td>
291
- <td><span class="calendar__cell--disabled">1</span></td>
292
- <td><span class="calendar__cell--disabled">2</span></td>
293
- <td><span class="calendar__cell--disabled">3</span></td>
532
+ <td>
533
+ <span class="calendar__cell--disabled"
534
+ >1<span class="clipped">
535
+ - inactive</span
536
+ ></span
537
+ >
538
+ </td>
539
+ <td>
540
+ <span class="calendar__cell--disabled"
541
+ >2<span class="clipped">
542
+ - inactive</span
543
+ ></span
544
+ >
545
+ </td>
546
+ <td>
547
+ <span class="calendar__cell--disabled"
548
+ >3<span class="clipped">
549
+ - inactive</span
550
+ ></span
551
+ >
552
+ </td>
294
553
  </tr>
295
554
  <tr>
296
- <td><span class="calendar__cell--disabled">4</span></td>
297
- <td><span class="calendar__cell--disabled">5</span></td>
298
- <td><span class="calendar__cell--disabled">6</span></td>
299
- <td><span class="calendar__cell--disabled">7</span></td>
300
- <td><span class="calendar__cell--disabled">8</span></td>
301
- <td><span class="calendar__cell--disabled">9</span></td>
302
- <td><span class="calendar__cell--disabled">10</span></td>
555
+ <td>
556
+ <span class="calendar__cell--disabled"
557
+ >4<span class="clipped">
558
+ - inactive</span
559
+ ></span
560
+ >
561
+ </td>
562
+ <td>
563
+ <span class="calendar__cell--disabled"
564
+ >5<span class="clipped">
565
+ - inactive</span
566
+ ></span
567
+ >
568
+ </td>
569
+ <td>
570
+ <span class="calendar__cell--disabled"
571
+ >6<span class="clipped">
572
+ - inactive</span
573
+ ></span
574
+ >
575
+ </td>
576
+ <td>
577
+ <span class="calendar__cell--disabled"
578
+ >7<span class="clipped">
579
+ - inactive</span
580
+ ></span
581
+ >
582
+ </td>
583
+ <td>
584
+ <span class="calendar__cell--disabled"
585
+ >8<span class="clipped">
586
+ - inactive</span
587
+ ></span
588
+ >
589
+ </td>
590
+ <td>
591
+ <span class="calendar__cell--disabled"
592
+ >9<span class="clipped">
593
+ - inactive</span
594
+ ></span
595
+ >
596
+ </td>
597
+ <td>
598
+ <span class="calendar__cell--disabled"
599
+ >10<span class="clipped">
600
+ - inactive</span
601
+ ></span
602
+ >
603
+ </td>
303
604
  </tr>
304
605
  <tr>
305
- <td><span class="calendar__cell--disabled">11</span></td>
306
- <td><span class="calendar__cell--disabled">12</span></td>
307
- <td><span class="calendar__cell--disabled">13</span></td>
308
- <td aria-current="date">
309
- <span>14</span>
606
+ <td>
607
+ <span class="calendar__cell--disabled"
608
+ >11<span class="clipped">
609
+ - inactive</span
610
+ ></span
611
+ >
612
+ </td>
613
+ <td>
614
+ <span class="calendar__cell--disabled"
615
+ >12<span class="clipped">
616
+ - inactive</span
617
+ ></span
618
+ >
619
+ </td>
620
+ <td>
621
+ <span class="calendar__cell--disabled"
622
+ >13<span class="clipped">
623
+ - inactive</span
624
+ ></span
625
+ >
626
+ </td>
627
+ <td>
628
+ <span class="calendar__cell--current"
629
+ >14<span class="clipped">
630
+ - today</span
631
+ ></span
632
+ >
310
633
  </td>
311
634
  <td><span>15</span></td>
312
635
  <td><span>16</span></td>
@@ -370,37 +693,81 @@ export const double = () => /* HTML */ `
370
693
  </tr>
371
694
  <tr>
372
695
  <td><span>15</span></td>
373
- <td class="calendar__range calendar__range--start" aria-selected="true">
374
- <span aria-label="16 - start of range">16</span>
696
+ <td
697
+ class="calendar__cell--selected calendar__range calendar__range--start"
698
+ >
699
+ <span
700
+ >16<span class="clipped">
701
+ - selected - start of range</span
702
+ ></span
703
+ >
375
704
  </td>
376
705
  <td class="calendar__range">
377
- <span aria-label="17 - in range">17</span>
706
+ <span
707
+ >17<span class="clipped">
708
+ - in range</span
709
+ ></span
710
+ >
378
711
  </td>
379
712
  <td class="calendar__range">
380
- <span aria-label="18 - in range">18</span>
713
+ <span
714
+ >18<span class="clipped">
715
+ - in range</span
716
+ ></span
717
+ >
381
718
  </td>
382
719
  <td class="calendar__range">
383
- <span aria-label="19 - in range">19</span>
720
+ <span
721
+ >19<span class="clipped">
722
+ - in range</span
723
+ ></span
724
+ >
384
725
  </td>
385
726
  <td class="calendar__range">
386
- <span aria-label="20 - in range">20</span>
727
+ <span
728
+ >20<span class="clipped">
729
+ - in range</span
730
+ ></span
731
+ >
387
732
  </td>
388
733
  <td class="calendar__range">
389
- <span aria-label="21 - in range">21</span>
734
+ <span
735
+ >21<span class="clipped">
736
+ - in range</span
737
+ ></span
738
+ >
390
739
  </td>
391
740
  </tr>
392
741
  <tr>
393
742
  <td class="calendar__range">
394
- <span aria-label="22 - in range">22</span>
743
+ <span
744
+ >22<span class="clipped">
745
+ - in range</span
746
+ ></span
747
+ >
395
748
  </td>
396
749
  <td class="calendar__range">
397
- <span aria-label="23 - in range">23</span>
750
+ <span
751
+ >23<span class="clipped">
752
+ - in range</span
753
+ ></span
754
+ >
398
755
  </td>
399
756
  <td class="calendar__range">
400
- <span aria-label="24 - in range">24</span>
757
+ <span
758
+ >24<span class="clipped">
759
+ - in range</span
760
+ ></span
761
+ >
401
762
  </td>
402
- <td class="calendar__range calendar__range--end" aria-selected="true">
403
- <span aria-label="25 - end of range">25</span>
763
+ <td
764
+ class="calendar__cell--selected calendar__range calendar__range--end"
765
+ >
766
+ <span
767
+ >25<span class="clipped">
768
+ - selected - end of range</span
769
+ ></span
770
+ >
404
771
  </td>
405
772
  <td><span>26</span></td>
406
773
  <td><span>27</span></td>
@@ -463,25 +830,107 @@ export const doubleWithHeader = () => /* HTML */ `
463
830
  <tbody>
464
831
  <tr>
465
832
  <td colspan="4"></td>
466
- <td><span class="calendar__cell--disabled">1</span></td>
467
- <td><span class="calendar__cell--disabled">2</span></td>
468
- <td><span class="calendar__cell--disabled">3</span></td>
833
+ <td>
834
+ <span class="calendar__cell--disabled"
835
+ >1<span class="clipped">
836
+ - inactive</span
837
+ ></span
838
+ >
839
+ </td>
840
+ <td>
841
+ <span class="calendar__cell--disabled"
842
+ >2<span class="clipped">
843
+ - inactive</span
844
+ ></span
845
+ >
846
+ </td>
847
+ <td>
848
+ <span class="calendar__cell--disabled"
849
+ >3<span class="clipped">
850
+ - inactive</span
851
+ ></span
852
+ >
853
+ </td>
469
854
  </tr>
470
855
  <tr>
471
- <td><span class="calendar__cell--disabled">4</span></td>
472
- <td><span class="calendar__cell--disabled">5</span></td>
473
- <td><span class="calendar__cell--disabled">6</span></td>
474
- <td><span class="calendar__cell--disabled">7</span></td>
475
- <td><span class="calendar__cell--disabled">8</span></td>
476
- <td><span class="calendar__cell--disabled">9</span></td>
477
- <td><span class="calendar__cell--disabled">10</span></td>
856
+ <td>
857
+ <span class="calendar__cell--disabled"
858
+ >4<span class="clipped">
859
+ - inactive</span
860
+ ></span
861
+ >
862
+ </td>
863
+ <td>
864
+ <span class="calendar__cell--disabled"
865
+ >5<span class="clipped">
866
+ - inactive</span
867
+ ></span
868
+ >
869
+ </td>
870
+ <td>
871
+ <span class="calendar__cell--disabled"
872
+ >6<span class="clipped">
873
+ - inactive</span
874
+ ></span
875
+ >
876
+ </td>
877
+ <td>
878
+ <span class="calendar__cell--disabled"
879
+ >7<span class="clipped">
880
+ - inactive</span
881
+ ></span
882
+ >
883
+ </td>
884
+ <td>
885
+ <span class="calendar__cell--disabled"
886
+ >8<span class="clipped">
887
+ - inactive</span
888
+ ></span
889
+ >
890
+ </td>
891
+ <td>
892
+ <span class="calendar__cell--disabled"
893
+ >9<span class="clipped">
894
+ - inactive</span
895
+ ></span
896
+ >
897
+ </td>
898
+ <td>
899
+ <span class="calendar__cell--disabled"
900
+ >10<span class="clipped">
901
+ - inactive</span
902
+ ></span
903
+ >
904
+ </td>
478
905
  </tr>
479
906
  <tr>
480
- <td><span class="calendar__cell--disabled">11</span></td>
481
- <td><span class="calendar__cell--disabled">12</span></td>
482
- <td><span class="calendar__cell--disabled">13</span></td>
483
- <td aria-current="date">
484
- <span>14</span>
907
+ <td>
908
+ <span class="calendar__cell--disabled"
909
+ >11<span class="clipped">
910
+ - inactive</span
911
+ ></span
912
+ >
913
+ </td>
914
+ <td>
915
+ <span class="calendar__cell--disabled"
916
+ >12<span class="clipped">
917
+ - inactive</span
918
+ ></span
919
+ >
920
+ </td>
921
+ <td>
922
+ <span class="calendar__cell--disabled"
923
+ >13<span class="clipped">
924
+ - inactive</span
925
+ ></span
926
+ >
927
+ </td>
928
+ <td>
929
+ <span class="calendar__cell--current"
930
+ >14<span class="clipped">
931
+ - today</span
932
+ ></span
933
+ >
485
934
  </td>
486
935
  <td><span>15</span></td>
487
936
  <td><span>16</span></td>
@@ -545,37 +994,81 @@ export const doubleWithHeader = () => /* HTML */ `
545
994
  </tr>
546
995
  <tr>
547
996
  <td><span>15</span></td>
548
- <td class="calendar__range calendar__range--start" aria-selected="true">
549
- <span aria-label="16 - start of range">16</span>
997
+ <td
998
+ class="calendar__cell--selected calendar__range calendar__range--start"
999
+ >
1000
+ <span
1001
+ >16<span class="clipped">
1002
+ - selected - start of range</span
1003
+ ></span
1004
+ >
550
1005
  </td>
551
1006
  <td class="calendar__range">
552
- <span aria-label="17 - in range">17</span>
1007
+ <span
1008
+ >17<span class="clipped">
1009
+ - in range</span
1010
+ ></span
1011
+ >
553
1012
  </td>
554
1013
  <td class="calendar__range">
555
- <span aria-label="18 - in range">18</span>
1014
+ <span
1015
+ >18<span class="clipped">
1016
+ - in range</span
1017
+ ></span
1018
+ >
556
1019
  </td>
557
1020
  <td class="calendar__range">
558
- <span aria-label="19 - in range">19</span>
1021
+ <span
1022
+ >19<span class="clipped">
1023
+ - in range</span
1024
+ ></span
1025
+ >
559
1026
  </td>
560
1027
  <td class="calendar__range">
561
- <span aria-label="20 - in range">20</span>
1028
+ <span
1029
+ >20<span class="clipped">
1030
+ - in range</span
1031
+ ></span
1032
+ >
562
1033
  </td>
563
1034
  <td class="calendar__range">
564
- <span aria-label="21 - in range">21</span>
1035
+ <span
1036
+ >21<span class="clipped">
1037
+ - in range</span
1038
+ ></span
1039
+ >
565
1040
  </td>
566
1041
  </tr>
567
1042
  <tr>
568
1043
  <td class="calendar__range">
569
- <span aria-label="22 - in range">22</span>
1044
+ <span
1045
+ >22<span class="clipped">
1046
+ - in range</span
1047
+ ></span
1048
+ >
570
1049
  </td>
571
1050
  <td class="calendar__range">
572
- <span aria-label="23 - in range">23</span>
1051
+ <span
1052
+ >23<span class="clipped">
1053
+ - in range</span
1054
+ ></span
1055
+ >
573
1056
  </td>
574
1057
  <td class="calendar__range">
575
- <span aria-label="24 - in range">24</span>
1058
+ <span
1059
+ >24<span class="clipped">
1060
+ - in range</span
1061
+ ></span
1062
+ >
576
1063
  </td>
577
- <td class="calendar__range calendar__range--end" aria-selected="true">
578
- <span aria-label="25 - end of range">25</span>
1064
+ <td
1065
+ class="calendar__cell--selected calendar__range calendar__range--end"
1066
+ >
1067
+ <span
1068
+ >25<span class="clipped">
1069
+ - selected - end of range</span
1070
+ ></span
1071
+ >
579
1072
  </td>
580
1073
  <td><span>26</span></td>
581
1074
  <td><span>27</span></td>