@re-code/aurora 0.2.0 → 0.3.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 (320) hide show
  1. package/README.md +1 -1
  2. package/dist/aurora/aurora.esm.js +1 -1
  3. package/dist/aurora/{p-8ed72e5b.entry.js → p-01ff4d34.entry.js} +1 -1
  4. package/dist/aurora/{p-c3668073.entry.js → p-0554ffea.entry.js} +1 -1
  5. package/dist/aurora/{p-278d3434.entry.js → p-0a0a2bfe.entry.js} +1 -1
  6. package/dist/aurora/{p-e1c97234.entry.js → p-0a7e9e8e.entry.js} +1 -1
  7. package/dist/aurora/{p-c330982c.entry.js → p-1670a9bd.entry.js} +1 -1
  8. package/dist/aurora/{p-efd60427.entry.js → p-17c6de2c.entry.js} +1 -1
  9. package/dist/aurora/{p-a87dc1d3.entry.js → p-24ff90e0.entry.js} +1 -1
  10. package/dist/aurora/p-27da7b8a.entry.js +1 -0
  11. package/dist/aurora/p-380d8ebe.entry.js +1 -0
  12. package/dist/aurora/{p-a1e257c7.entry.js → p-3cfccef1.entry.js} +1 -1
  13. package/dist/aurora/{p-e72126a2.entry.js → p-4fd71d14.entry.js} +1 -1
  14. package/dist/aurora/{p-89b66c7a.entry.js → p-5606ed9c.entry.js} +1 -1
  15. package/dist/aurora/p-56fc4315.entry.js +1 -0
  16. package/dist/aurora/{p-685b9e53.entry.js → p-5a027df1.entry.js} +1 -1
  17. package/dist/aurora/{p-487df7d8.entry.js → p-5dd73182.entry.js} +1 -1
  18. package/dist/aurora/{p-17e65032.entry.js → p-62d79933.entry.js} +1 -1
  19. package/dist/aurora/p-6a1363da.entry.js +1 -0
  20. package/dist/aurora/{p-fd4e9cdd.entry.js → p-6e9c8e27.entry.js} +1 -1
  21. package/dist/aurora/{p-31a86367.entry.js → p-742abb2c.entry.js} +1 -1
  22. package/dist/aurora/{p-40bb52c3.entry.js → p-7a9bc20f.entry.js} +1 -1
  23. package/dist/aurora/{p-35edd036.entry.js → p-7cc6bb71.entry.js} +1 -1
  24. package/dist/aurora/{p-689f37db.entry.js → p-7fa0ee48.entry.js} +1 -1
  25. package/dist/aurora/{p-ee2ea46e.entry.js → p-815611f9.entry.js} +1 -1
  26. package/dist/aurora/{p-a8e984e1.entry.js → p-8800c466.entry.js} +1 -1
  27. package/dist/aurora/{p-5d2a88ca.entry.js → p-9e9377b5.entry.js} +1 -1
  28. package/dist/aurora/p-DMeUBbqF.js +7 -0
  29. package/dist/aurora/{p-DXbj-yic.js → p-DNpzZvak.js} +1 -1
  30. package/dist/aurora/p-DjW6oMgu.js +7 -0
  31. package/dist/aurora/{p-DzNA1eDU.js → p-DqAwSryz.js} +1 -1
  32. package/dist/aurora/p-NvNa2Iiu.js +1 -0
  33. package/dist/aurora/p-a376a248.entry.js +1 -0
  34. package/dist/aurora/{p-0608e910.entry.js → p-a63d1f80.entry.js} +1 -1
  35. package/dist/aurora/p-b0ebcc51.entry.js +1 -0
  36. package/dist/aurora/p-be98a1d7.entry.js +1 -0
  37. package/dist/aurora/{p-ed998b0c.entry.js → p-bf922703.entry.js} +1 -1
  38. package/dist/aurora/{p-ee4475a6.entry.js → p-c1422894.entry.js} +1 -1
  39. package/dist/aurora/{p-372a3416.entry.js → p-c2164ffe.entry.js} +1 -1
  40. package/dist/aurora/{p-2a16d544.entry.js → p-cb63ca43.entry.js} +1 -1
  41. package/dist/aurora/p-cc1015fe.entry.js +1 -0
  42. package/dist/aurora/{p-88b72de7.entry.js → p-cf16464e.entry.js} +1 -1
  43. package/dist/aurora/p-cfa0166b.entry.js +1 -0
  44. package/dist/aurora/{p-e7c81a6b.entry.js → p-d85e1d60.entry.js} +1 -1
  45. package/dist/aurora/{p-64229ad2.entry.js → p-f176be8b.entry.js} +1 -1
  46. package/dist/aurora/{p-bd1f6486.entry.js → p-f3383f3c.entry.js} +1 -1
  47. package/dist/aurora/p-f5d3aefa.entry.js +1 -0
  48. package/dist/aurora/{p-038b2190.entry.js → p-f85687a5.entry.js} +1 -1
  49. package/dist/aurora/{p-546a2f69.entry.js → p-fe143404.entry.js} +1 -1
  50. package/dist/cjs/au-alert.cjs.entry.js +1 -1
  51. package/dist/cjs/au-breadcrumb-item.cjs.entry.js +1 -1
  52. package/dist/cjs/au-breadcrumb.cjs.entry.js +1 -1
  53. package/dist/cjs/au-checkbox.cjs.entry.js +4 -4
  54. package/dist/cjs/au-combobox.cjs.entry.js +6 -6
  55. package/dist/cjs/au-container.cjs.entry.js +1 -1
  56. package/dist/cjs/au-dialog.cjs.entry.js +4 -4
  57. package/dist/cjs/au-divider.cjs.entry.js +1 -1
  58. package/dist/cjs/au-field.cjs.entry.js +1 -1
  59. package/dist/cjs/{au-icon-D0L9Wwy0.js → au-icon-0-khGfX2.js} +1 -1
  60. package/dist/cjs/au-icon.cjs.entry.js +1 -1
  61. package/dist/cjs/au-input.cjs.entry.js +6 -6
  62. package/dist/cjs/au-kbd.cjs.entry.js +355 -0
  63. package/dist/cjs/au-list-item.cjs.entry.js +195 -0
  64. package/dist/cjs/au-list.cjs.entry.js +78 -0
  65. package/dist/cjs/au-menu-item.cjs.entry.js +1 -1
  66. package/dist/cjs/au-menu.cjs.entry.js +1 -1
  67. package/dist/cjs/au-nav-link.cjs.entry.js +1 -1
  68. package/dist/cjs/au-navbar.cjs.entry.js +4 -4
  69. package/dist/cjs/au-number-input.cjs.entry.js +4 -4
  70. package/dist/cjs/au-popover.cjs.entry.js +1 -1
  71. package/dist/cjs/au-progress.cjs.entry.js +107 -0
  72. package/dist/cjs/au-radio-group.cjs.entry.js +3 -3
  73. package/dist/cjs/au-radio.cjs.entry.js +1 -1
  74. package/dist/cjs/au-segmented-control.cjs.entry.js +3 -3
  75. package/dist/cjs/au-segmented-option.cjs.entry.js +1 -1
  76. package/dist/cjs/au-select.cjs.entry.js +4 -4
  77. package/dist/cjs/au-sidebar-nav.cjs.entry.js +1 -1
  78. package/dist/cjs/au-skeleton.cjs.entry.js +106 -0
  79. package/dist/cjs/au-slider.cjs.entry.js +3 -3
  80. package/dist/cjs/au-splitter.cjs.entry.js +2 -2
  81. package/dist/cjs/au-stat.cjs.entry.js +262 -0
  82. package/dist/cjs/au-switch.cjs.entry.js +4 -4
  83. package/dist/cjs/au-tab-panel.cjs.entry.js +1 -1
  84. package/dist/cjs/au-tab.cjs.entry.js +1 -1
  85. package/dist/cjs/au-table.cjs.entry.js +337 -0
  86. package/dist/cjs/au-tabs.cjs.entry.js +4 -4
  87. package/dist/cjs/au-textarea.cjs.entry.js +3 -3
  88. package/dist/cjs/au-toast-region.cjs.entry.js +1 -1
  89. package/dist/cjs/au-toast.cjs.entry.js +1 -1
  90. package/dist/cjs/au-toc.cjs.entry.js +1 -1
  91. package/dist/cjs/au-tooltip.cjs.entry.js +1 -1
  92. package/dist/cjs/aurora.cjs.js +1 -1
  93. package/dist/cjs/{icon-loader-DyRasOnf.js → icon-loader-Dij7pYkP.js} +3 -1
  94. package/dist/cjs/loader.cjs.js +1 -1
  95. package/dist/cjs/trending-down-BKjmYE1H.js +19 -0
  96. package/dist/cjs/trending-up-CoWuXxqz.js +19 -0
  97. package/dist/collection/collection-manifest.json +7 -0
  98. package/dist/collection/components/data-display/au-kbd/au-kbd.constants.js +85 -0
  99. package/dist/collection/components/data-display/au-kbd/au-kbd.css +98 -0
  100. package/dist/collection/components/data-display/au-kbd/au-kbd.js +189 -0
  101. package/dist/collection/components/data-display/au-kbd/au-kbd.types.js +1 -0
  102. package/dist/collection/components/data-display/au-kbd/index.js +2 -0
  103. package/dist/collection/components/data-display/au-kbd/internal/describe.js +67 -0
  104. package/dist/collection/components/data-display/au-kbd/internal/parse.js +85 -0
  105. package/dist/collection/components/data-display/au-kbd/internal/platform.js +19 -0
  106. package/dist/collection/components/data-display/au-list/au-list.constants.js +8 -0
  107. package/dist/collection/components/data-display/au-list/au-list.css +30 -0
  108. package/dist/collection/components/data-display/au-list/au-list.js +132 -0
  109. package/dist/collection/components/data-display/au-list/au-list.types.js +1 -0
  110. package/dist/collection/components/data-display/au-list/index.js +2 -0
  111. package/dist/collection/components/data-display/au-list-item/au-list-item.css +196 -0
  112. package/dist/collection/components/data-display/au-list-item/au-list-item.js +305 -0
  113. package/dist/collection/components/data-display/au-list-item/index.js +1 -0
  114. package/dist/collection/components/data-display/au-list-item/internal/interactive-content.js +29 -0
  115. package/dist/collection/components/data-display/au-stat/au-stat.constants.js +44 -0
  116. package/dist/collection/components/data-display/au-stat/au-stat.css +139 -0
  117. package/dist/collection/components/data-display/au-stat/au-stat.js +491 -0
  118. package/dist/collection/components/data-display/au-stat/au-stat.types.js +1 -0
  119. package/dist/collection/components/data-display/au-stat/index.js +2 -0
  120. package/dist/collection/components/data-display/au-stat/internal/announcement.js +13 -0
  121. package/dist/collection/components/data-display/au-table/au-table.constants.js +21 -0
  122. package/dist/collection/components/data-display/au-table/au-table.css +20 -0
  123. package/dist/collection/components/data-display/au-table/au-table.js +482 -0
  124. package/dist/collection/components/data-display/au-table/au-table.types.js +1 -0
  125. package/dist/collection/components/data-display/au-table/index.js +2 -0
  126. package/dist/collection/components/data-display/au-table/internal/scroller-label.js +11 -0
  127. package/dist/collection/components/data-display/au-table/internal/sort.js +17 -0
  128. package/dist/collection/components/feedback/au-alert/au-alert.js +1 -1
  129. package/dist/collection/components/feedback/au-progress/au-progress.constants.js +38 -0
  130. package/dist/collection/components/feedback/au-progress/au-progress.css +201 -0
  131. package/dist/collection/components/feedback/au-progress/au-progress.js +226 -0
  132. package/dist/collection/components/feedback/au-progress/au-progress.types.js +1 -0
  133. package/dist/collection/components/feedback/au-progress/index.js +2 -0
  134. package/dist/collection/components/feedback/au-skeleton/au-skeleton.constants.js +33 -0
  135. package/dist/collection/components/feedback/au-skeleton/au-skeleton.css +108 -0
  136. package/dist/collection/components/feedback/au-skeleton/au-skeleton.js +159 -0
  137. package/dist/collection/components/feedback/au-skeleton/au-skeleton.types.js +1 -0
  138. package/dist/collection/components/feedback/au-skeleton/index.js +2 -0
  139. package/dist/collection/components/feedback/au-toast/au-toast.js +1 -1
  140. package/dist/collection/components/feedback/au-toast-region/au-toast-region.js +1 -1
  141. package/dist/collection/components/forms/au-checkbox/au-checkbox.js +4 -4
  142. package/dist/collection/components/forms/au-combobox/au-combobox.js +6 -6
  143. package/dist/collection/components/forms/au-field/au-field.js +1 -1
  144. package/dist/collection/components/forms/au-input/au-input.js +6 -6
  145. package/dist/collection/components/forms/au-number-input/au-number-input.js +4 -4
  146. package/dist/collection/components/forms/au-radio/au-radio.js +1 -1
  147. package/dist/collection/components/forms/au-radio-group/au-radio-group.js +3 -3
  148. package/dist/collection/components/forms/au-segmented-control/au-segmented-control.js +3 -3
  149. package/dist/collection/components/forms/au-segmented-option/au-segmented-option.js +1 -1
  150. package/dist/collection/components/forms/au-select/au-select.js +4 -4
  151. package/dist/collection/components/forms/au-slider/au-slider.js +3 -3
  152. package/dist/collection/components/forms/au-switch/au-switch.js +4 -4
  153. package/dist/collection/components/forms/au-textarea/au-textarea.js +3 -3
  154. package/dist/collection/components/layout/au-container/au-container.js +1 -1
  155. package/dist/collection/components/layout/au-divider/au-divider.js +1 -1
  156. package/dist/collection/components/layout/au-splitter/au-splitter.js +2 -2
  157. package/dist/collection/components/navigation/au-breadcrumb/au-breadcrumb.js +1 -1
  158. package/dist/collection/components/navigation/au-breadcrumb-item/au-breadcrumb-item.js +1 -1
  159. package/dist/collection/components/navigation/au-nav-link/au-nav-link.js +1 -1
  160. package/dist/collection/components/navigation/au-navbar/au-navbar.js +4 -4
  161. package/dist/collection/components/navigation/au-sidebar-nav/au-sidebar-nav.js +1 -1
  162. package/dist/collection/components/navigation/au-tab/au-tab.js +1 -1
  163. package/dist/collection/components/navigation/au-tab-panel/au-tab-panel.js +1 -1
  164. package/dist/collection/components/navigation/au-tabs/au-tabs.js +4 -4
  165. package/dist/collection/components/navigation/au-toc/au-toc.js +1 -1
  166. package/dist/collection/components/overlays/au-dialog/au-dialog.js +4 -4
  167. package/dist/collection/components/overlays/au-menu/au-menu.js +1 -1
  168. package/dist/collection/components/overlays/au-menu-item/au-menu-item.js +1 -1
  169. package/dist/collection/components/overlays/au-popover/au-popover.js +1 -1
  170. package/dist/collection/components/overlays/au-tooltip/au-tooltip.js +1 -1
  171. package/dist/collection/components/primitives/au-icon/core-icons.js +2 -0
  172. package/dist/components/au-alert.js +1 -1
  173. package/dist/components/au-avatar.js +1 -1
  174. package/dist/components/au-breadcrumb-item.js +1 -1
  175. package/dist/components/au-breadcrumb.js +1 -1
  176. package/dist/components/au-checkbox.js +1 -1
  177. package/dist/components/au-chip.js +1 -1
  178. package/dist/components/au-code-block.js +1 -1
  179. package/dist/components/au-combobox.js +1 -1
  180. package/dist/components/au-container.js +1 -1
  181. package/dist/components/au-dialog.js +1 -1
  182. package/dist/components/au-divider.js +1 -1
  183. package/dist/components/au-field.js +1 -1
  184. package/dist/components/au-icon.js +1 -1
  185. package/dist/components/au-input.js +1 -1
  186. package/dist/components/au-kbd.d.ts +11 -0
  187. package/dist/components/au-kbd.js +1 -0
  188. package/dist/components/au-list-item.d.ts +11 -0
  189. package/dist/components/au-list-item.js +1 -0
  190. package/dist/components/au-list.d.ts +11 -0
  191. package/dist/components/au-list.js +1 -0
  192. package/dist/components/au-menu-item.js +1 -1
  193. package/dist/components/au-menu.js +1 -1
  194. package/dist/components/au-nav-link.js +1 -1
  195. package/dist/components/au-navbar.js +1 -1
  196. package/dist/components/au-number-input.js +1 -1
  197. package/dist/components/au-popover.js +1 -1
  198. package/dist/components/au-progress.d.ts +11 -0
  199. package/dist/components/au-progress.js +1 -0
  200. package/dist/components/au-radio-group.js +1 -1
  201. package/dist/components/au-radio.js +1 -1
  202. package/dist/components/au-segmented-control.js +1 -1
  203. package/dist/components/au-segmented-option.js +1 -1
  204. package/dist/components/au-select.js +1 -1
  205. package/dist/components/au-sidebar-nav.js +1 -1
  206. package/dist/components/au-skeleton.d.ts +11 -0
  207. package/dist/components/au-skeleton.js +1 -0
  208. package/dist/components/au-slider.js +1 -1
  209. package/dist/components/au-splitter.js +1 -1
  210. package/dist/components/au-stat.d.ts +11 -0
  211. package/dist/components/au-stat.js +1 -0
  212. package/dist/components/au-switch.js +1 -1
  213. package/dist/components/au-tab-panel.js +1 -1
  214. package/dist/components/au-tab.js +1 -1
  215. package/dist/components/au-table.d.ts +11 -0
  216. package/dist/components/au-table.js +1 -0
  217. package/dist/components/au-tabs.js +1 -1
  218. package/dist/components/au-textarea.js +1 -1
  219. package/dist/components/au-toast-region.js +1 -1
  220. package/dist/components/au-toast.js +1 -1
  221. package/dist/components/au-toc.js +1 -1
  222. package/dist/components/au-tooltip.js +1 -1
  223. package/dist/components/p-B5BhPkwP.js +1 -0
  224. package/dist/components/p-DMeUBbqF.js +7 -0
  225. package/dist/components/p-DjW6oMgu.js +7 -0
  226. package/dist/components/{p-DzNA1eDU.js → p-DqAwSryz.js} +1 -1
  227. package/dist/components/{p-DAqsVCAy.js → p-Dw0zb4x_.js} +1 -1
  228. package/dist/components/{p-DIL-tsh4.js → p-ZpauIcNt.js} +1 -1
  229. package/dist/custom-elements.json +1338 -66
  230. package/dist/esm/au-alert.entry.js +1 -1
  231. package/dist/esm/au-breadcrumb-item.entry.js +1 -1
  232. package/dist/esm/au-breadcrumb.entry.js +1 -1
  233. package/dist/esm/au-checkbox.entry.js +4 -4
  234. package/dist/esm/au-code-block.entry.js +1 -1
  235. package/dist/esm/au-combobox.entry.js +7 -7
  236. package/dist/esm/au-container.entry.js +1 -1
  237. package/dist/esm/au-dialog.entry.js +4 -4
  238. package/dist/esm/au-divider.entry.js +1 -1
  239. package/dist/esm/au-field.entry.js +1 -1
  240. package/dist/esm/{au-icon-B17psn7x.js → au-icon-6iJTkDID.js} +1 -1
  241. package/dist/esm/au-icon.entry.js +1 -1
  242. package/dist/esm/au-input.entry.js +6 -6
  243. package/dist/esm/au-kbd.entry.js +353 -0
  244. package/dist/esm/au-list-item.entry.js +193 -0
  245. package/dist/esm/au-list.entry.js +76 -0
  246. package/dist/esm/au-menu-item.entry.js +1 -1
  247. package/dist/esm/au-menu.entry.js +1 -1
  248. package/dist/esm/au-nav-link.entry.js +1 -1
  249. package/dist/esm/au-navbar.entry.js +4 -4
  250. package/dist/esm/au-number-input.entry.js +4 -4
  251. package/dist/esm/au-popover.entry.js +1 -1
  252. package/dist/esm/au-progress.entry.js +105 -0
  253. package/dist/esm/au-radio-group.entry.js +3 -3
  254. package/dist/esm/au-radio.entry.js +1 -1
  255. package/dist/esm/au-segmented-control.entry.js +3 -3
  256. package/dist/esm/au-segmented-option.entry.js +1 -1
  257. package/dist/esm/au-select.entry.js +4 -4
  258. package/dist/esm/au-sidebar-nav.entry.js +1 -1
  259. package/dist/esm/au-skeleton.entry.js +104 -0
  260. package/dist/esm/au-slider.entry.js +3 -3
  261. package/dist/esm/au-splitter.entry.js +2 -2
  262. package/dist/esm/au-stat.entry.js +260 -0
  263. package/dist/esm/au-switch.entry.js +4 -4
  264. package/dist/esm/au-tab-panel.entry.js +1 -1
  265. package/dist/esm/au-tab.entry.js +1 -1
  266. package/dist/esm/au-table.entry.js +335 -0
  267. package/dist/esm/au-tabs.entry.js +4 -4
  268. package/dist/esm/au-textarea.entry.js +3 -3
  269. package/dist/esm/au-toast-region.entry.js +2 -2
  270. package/dist/esm/au-toast.entry.js +1 -1
  271. package/dist/esm/au-toc.entry.js +1 -1
  272. package/dist/esm/au-tooltip.entry.js +1 -1
  273. package/dist/esm/aurora.js +1 -1
  274. package/dist/esm/{icon-loader-CqLCmu4h.js → icon-loader-B2WSNZ27.js} +3 -1
  275. package/dist/esm/{live-announcer-CXd2OhYs.js → live-announcer-IAjNBWYI.js} +1 -1
  276. package/dist/esm/loader.js +1 -1
  277. package/dist/esm/trending-down-DjW6oMgu.js +17 -0
  278. package/dist/esm/trending-up-DMeUBbqF.js +17 -0
  279. package/dist/styles.css +139 -0
  280. package/dist/types/components/data-display/au-kbd/au-kbd.constants.d.ts +41 -0
  281. package/dist/types/components/data-display/au-kbd/au-kbd.d.ts +36 -0
  282. package/dist/types/components/data-display/au-kbd/au-kbd.types.d.ts +1 -0
  283. package/dist/types/components/data-display/au-kbd/index.d.ts +3 -0
  284. package/dist/types/components/data-display/au-kbd/internal/describe.d.ts +13 -0
  285. package/dist/types/components/data-display/au-kbd/internal/parse.d.ts +18 -0
  286. package/dist/types/components/data-display/au-kbd/internal/platform.d.ts +13 -0
  287. package/dist/types/components/data-display/au-list/au-list.constants.d.ts +8 -0
  288. package/dist/types/components/data-display/au-list/au-list.d.ts +29 -0
  289. package/dist/types/components/data-display/au-list/au-list.types.d.ts +1 -0
  290. package/dist/types/components/data-display/au-list/index.d.ts +3 -0
  291. package/dist/types/components/data-display/au-list-item/au-list-item.d.ts +61 -0
  292. package/dist/types/components/data-display/au-list-item/index.d.ts +1 -0
  293. package/dist/types/components/data-display/au-list-item/internal/interactive-content.d.ts +2 -0
  294. package/dist/types/components/data-display/au-stat/au-stat.constants.d.ts +44 -0
  295. package/dist/types/components/data-display/au-stat/au-stat.d.ts +67 -0
  296. package/dist/types/components/data-display/au-stat/au-stat.types.d.ts +1 -0
  297. package/dist/types/components/data-display/au-stat/index.d.ts +3 -0
  298. package/dist/types/components/data-display/au-stat/internal/announcement.d.ts +16 -0
  299. package/dist/types/components/data-display/au-table/au-table.constants.d.ts +26 -0
  300. package/dist/types/components/data-display/au-table/au-table.d.ts +86 -0
  301. package/dist/types/components/data-display/au-table/au-table.types.d.ts +1 -0
  302. package/dist/types/components/data-display/au-table/index.d.ts +3 -0
  303. package/dist/types/components/data-display/au-table/internal/scroller-label.d.ts +9 -0
  304. package/dist/types/components/data-display/au-table/internal/sort.d.ts +11 -0
  305. package/dist/types/components/feedback/au-progress/au-progress.constants.d.ts +31 -0
  306. package/dist/types/components/feedback/au-progress/au-progress.d.ts +32 -0
  307. package/dist/types/components/feedback/au-progress/au-progress.types.d.ts +1 -0
  308. package/dist/types/components/feedback/au-progress/index.d.ts +3 -0
  309. package/dist/types/components/feedback/au-skeleton/au-skeleton.constants.d.ts +27 -0
  310. package/dist/types/components/feedback/au-skeleton/au-skeleton.d.ts +31 -0
  311. package/dist/types/components/feedback/au-skeleton/au-skeleton.types.d.ts +1 -0
  312. package/dist/types/components/feedback/au-skeleton/index.d.ts +3 -0
  313. package/dist/types/components.d.ts +712 -0
  314. package/dist/types/vue.d.ts +7 -0
  315. package/package.json +53 -1
  316. package/dist/aurora/p-746825ce.entry.js +0 -1
  317. package/dist/aurora/p-CoyAdNcI.js +0 -1
  318. package/dist/aurora/p-b2feddb2.entry.js +0 -1
  319. package/dist/aurora/p-f89bde2b.entry.js +0 -1
  320. package/dist/components/p-M21eKzKU.js +0 -1
@@ -0,0 +1,201 @@
1
+ /*
2
+ * A linear progress bar around a native <progress> (spec phase5-step9-progress-spinner, PG-D10 to
3
+ * PG-D13). The native element keeps the role, the value and the indeterminate mode; the vendor
4
+ * pseudo-elements stay inside this shadow root. The fill and the indeterminate segment are painted
5
+ * pseudo-elements that getComputedStyle does not report, so the tests read painted pixels.
6
+ *
7
+ * The colors go through private properties, so the forced-colors block can replace them in one place.
8
+ * The `animation-*` longhands are written separately (no `var()` inside a shorthand), so the authored
9
+ * rules can be read back.
10
+ */
11
+ /*
12
+ * Every vendor pseudo-element has its own rule: a selector list with a pseudo-element the engine
13
+ * does not know is dropped whole, so `a::-webkit-x, a::-moz-y` would apply in no browser.
14
+ */
15
+ :host {
16
+ display: block;
17
+ }
18
+
19
+ :host([hidden]) {
20
+ display: none;
21
+ }
22
+
23
+ .progress {
24
+ display: flex;
25
+ flex-direction: column;
26
+ gap: var(--aurora-progress-gap, 0.375rem);
27
+ }
28
+
29
+ .progress__header {
30
+ align-items: baseline;
31
+ display: flex;
32
+ gap: 0.75rem;
33
+ justify-content: space-between;
34
+ }
35
+
36
+ .progress__label,
37
+ .progress__value {
38
+ font-family: var(--aurora-font-family-body, inherit);
39
+ font-size: var(--aurora-progress-font-size, var(--aurora-font-size-sm, 0.875rem));
40
+ line-height: 1.4;
41
+ }
42
+
43
+ .progress__label {
44
+ color: var(--aurora-progress-label-color, var(--aurora-color-text, #202733));
45
+ font-weight: var(--aurora-font-weight-medium, 500);
46
+ }
47
+
48
+ /* Pushed to the inline end even when there is no label. */
49
+ .progress__value {
50
+ color: var(--aurora-progress-value-color, var(--aurora-color-text-muted, #566273));
51
+ font-variant-numeric: tabular-nums;
52
+ margin-inline-start: auto;
53
+ }
54
+
55
+ progress {
56
+ --_fill: var(--aurora-progress-fill, var(--aurora-color-primary, #3157a4));
57
+ --_track: var(
58
+ --aurora-progress-track,
59
+ color-mix(in srgb, var(--aurora-color-text, #202733) 12%, var(--aurora-color-canvas, #ffffff))
60
+ );
61
+ --_radius: var(--aurora-progress-radius, var(--aurora-radius-pill, 999px));
62
+ --_duration: var(
63
+ --aurora-progress-transition-duration,
64
+ var(--aurora-motion-duration-normal, 180ms)
65
+ );
66
+ appearance: none;
67
+ background-color: var(--_track);
68
+ block-size: var(--aurora-progress-block-size, 0.5rem);
69
+ border: 0;
70
+ border-radius: var(--_radius);
71
+ box-sizing: border-box;
72
+ color: var(--_fill);
73
+ display: block;
74
+ inline-size: 100%;
75
+ overflow: hidden;
76
+ }
77
+
78
+ .progress--small progress {
79
+ block-size: var(--aurora-progress-block-size, 0.25rem);
80
+ }
81
+
82
+ /* The track. */
83
+ progress::-webkit-progress-bar {
84
+ background-color: var(--_track);
85
+ border-radius: var(--_radius);
86
+ }
87
+
88
+ /* The fill. It grows from the inline start (native behavior) and its edge transitions. */
89
+ progress::-webkit-progress-value {
90
+ background-color: var(--_fill);
91
+ border-radius: var(--_radius);
92
+ transition-duration: var(--_duration);
93
+ transition-property: inline-size;
94
+ transition-timing-function: ease;
95
+ }
96
+
97
+ progress::-moz-progress-bar {
98
+ background-color: var(--_fill);
99
+ border-radius: var(--_radius);
100
+ transition-duration: var(--_duration);
101
+ transition-property: inline-size;
102
+ transition-timing-function: ease;
103
+ }
104
+
105
+ /*
106
+ * Indeterminate: a segment (40% of the track) slides from the inline start to the inline end. A
107
+ * background-position percentage is physical, so the right-to-left direction swaps the keyframes.
108
+ * Offsets of -66.67% and 166.67% put the 40% wide segment fully outside the track at both ends.
109
+ */
110
+ progress:indeterminate::-webkit-progress-bar {
111
+ animation-duration: var(--aurora-progress-indeterminate-duration, 1.5s);
112
+ animation-iteration-count: infinite;
113
+ animation-name: au-progress-slide;
114
+ animation-timing-function: ease-in-out;
115
+ background-image: linear-gradient(var(--_fill), var(--_fill));
116
+ background-repeat: no-repeat;
117
+ background-size: 40% 100%;
118
+ }
119
+
120
+ progress:indeterminate::-moz-progress-bar {
121
+ animation-duration: var(--aurora-progress-indeterminate-duration, 1.5s);
122
+ animation-iteration-count: infinite;
123
+ animation-name: au-progress-slide;
124
+ animation-timing-function: ease-in-out;
125
+ background-color: transparent;
126
+ background-image: linear-gradient(var(--_fill), var(--_fill));
127
+ background-repeat: no-repeat;
128
+ background-size: 40% 100%;
129
+ }
130
+
131
+ progress:indeterminate:dir(rtl)::-webkit-progress-bar {
132
+ animation-name: au-progress-slide-rtl;
133
+ }
134
+
135
+ progress:indeterminate:dir(rtl)::-moz-progress-bar {
136
+ animation-name: au-progress-slide-rtl;
137
+ }
138
+
139
+ @keyframes au-progress-slide {
140
+ from {
141
+ background-position-x: -66.67%;
142
+ }
143
+ to {
144
+ background-position-x: 166.67%;
145
+ }
146
+ }
147
+ @keyframes au-progress-slide-rtl {
148
+ from {
149
+ background-position-x: 166.67%;
150
+ }
151
+ to {
152
+ background-position-x: -66.67%;
153
+ }
154
+ }
155
+ /*
156
+ * Reduced motion: no fill transition (even for a consumer's own duration) and a static diagonal
157
+ * stripe pattern over the whole track for the indeterminate bar. A static segment would read as a
158
+ * determinate value; stripes read as "in progress, amount unknown".
159
+ */
160
+ @media (prefers-reduced-motion: reduce) {
161
+ progress::-webkit-progress-value {
162
+ transition-duration: 0s;
163
+ }
164
+ progress::-moz-progress-bar {
165
+ transition-duration: 0s;
166
+ }
167
+ progress:indeterminate::-webkit-progress-bar {
168
+ animation-name: none;
169
+ background-image: repeating-linear-gradient(45deg, var(--_fill) 0 0.25rem, transparent 0.25rem 0.5rem);
170
+ background-position: 0 0;
171
+ background-repeat: repeat;
172
+ background-size: auto;
173
+ }
174
+ progress:indeterminate::-moz-progress-bar {
175
+ animation-name: none;
176
+ background-image: repeating-linear-gradient(45deg, var(--_fill) 0 0.25rem, transparent 0.25rem 0.5rem);
177
+ background-position: 0 0;
178
+ background-repeat: repeat;
179
+ background-size: auto;
180
+ }
181
+ /* The right-to-left rules above are more specific: keep them static too. */
182
+ progress:indeterminate:dir(rtl)::-webkit-progress-bar {
183
+ animation-name: none;
184
+ }
185
+ progress:indeterminate:dir(rtl)::-moz-progress-bar {
186
+ animation-name: none;
187
+ }
188
+ }
189
+ /*
190
+ * Forced colors: the system palette replaces every authored color, including the consumer's
191
+ * custom properties. `forced-color-adjust: none` keeps the fill from being forced to the canvas
192
+ * color, which would erase the value; the track gets a border so its extent is visible.
193
+ */
194
+ @media (forced-colors: active) {
195
+ progress {
196
+ --_fill: Highlight;
197
+ --_track: Canvas;
198
+ border: 1px solid CanvasText;
199
+ forced-color-adjust: none;
200
+ }
201
+ }
@@ -0,0 +1,226 @@
1
+ import { Host, h } from "@stencil/core";
2
+ import { warnOncePerDocument } from "../../../shared/warn-once.js";
3
+ import { PROGRESS_DEFAULT_MAX, PROGRESS_SIZE, formatProgressPercent, isProgressSize, resolveProgress, } from "./au-progress.constants.js";
4
+ /**
5
+ * A linear progress bar that wraps a native `<progress>` in its shadow root, so the role, the value
6
+ * and the indeterminate mode come from the platform. The component adds a required name (a visible
7
+ * label or a hidden one), a readout tied to the value, one owner of `aria-valuetext`, themed
8
+ * cross-engine styling, and the reduced-motion and forced-colors rules. It never announces: use
9
+ * `announce()` for milestones (start, done, failure).
10
+ */
11
+ export class AuProgress {
12
+ host;
13
+ /** The accessible name (required). Shown above the bar, or kept as the bar's `aria-label` with `hide-label`. A host `aria-label` is not forwarded. */
14
+ label;
15
+ /** Hides the visible label; the name stays on the bar as `aria-label`. */
16
+ hideLabel = false;
17
+ /** The current value, clamped to `[0, max]`. Unset, empty or not a finite number is indeterminate (no value). */
18
+ value;
19
+ /** The maximum, 100 by default. A value that is not a number above zero renders 100 and warns once. */
20
+ max = 100;
21
+ /** Text for `aria-valuetext` and for the visible readout (for example `2 of 5 steps`). Blank means none. */
22
+ valueText;
23
+ /** Shows a visible, `aria-hidden` readout: `value-text` when set, else the localized percent. */
24
+ showValue = false;
25
+ /** `small` (0.25rem) or `medium` (0.5rem); any other thickness is `--aurora-progress-block-size`. */
26
+ size = PROGRESS_SIZE.medium;
27
+ componentWillRender() {
28
+ this.warnAboutProperties();
29
+ }
30
+ warn(key, message) {
31
+ warnOncePerDocument(this.host.ownerDocument, `au-progress:${key}`, `[au-progress] ${message}`);
32
+ }
33
+ warnAboutProperties() {
34
+ if ((this.label ?? '').trim() === '') {
35
+ this.warn('missing-label', 'A progress bar needs an accessible name. Set the "label" attribute (add "hide-label" to keep it invisible); a host aria-label is not forwarded.');
36
+ }
37
+ if (!isProgressSize(this.size)) {
38
+ this.warn('size', `Unsupported size ${JSON.stringify(this.size)}; it renders as "medium". Use "small" or "medium".`);
39
+ }
40
+ if (resolveProgress(this.value, this.max).invalidMax) {
41
+ this.warn('max', `Unsupported max ${JSON.stringify(this.max)}; it renders as ${PROGRESS_DEFAULT_MAX}. Use a number above zero.`);
42
+ }
43
+ }
44
+ get safeSize() {
45
+ return isProgressSize(this.size) ? this.size : PROGRESS_SIZE.medium;
46
+ }
47
+ /** The `lang` of the nearest ancestor that has one, else the runtime default. */
48
+ get locale() {
49
+ return this.host.closest('[lang]')?.getAttribute('lang') || undefined;
50
+ }
51
+ render() {
52
+ const state = resolveProgress(this.value, this.max);
53
+ const label = (this.label ?? '').trim();
54
+ const valueText = (this.valueText ?? '').trim();
55
+ const visibleLabel = !this.hideLabel && label !== '';
56
+ let readout = '';
57
+ if (this.showValue) {
58
+ if (valueText !== '')
59
+ readout = valueText;
60
+ else if (state.ratio !== null)
61
+ readout = formatProgressPercent(state.ratio, this.locale);
62
+ }
63
+ return (h(Host, { key: '1e08b9730fd3d94b0c79dfe52d12631db83b1909' }, h("span", { key: 'a6f42c6ed4f6b3dc985c6805bcb823a87edf535e', part: "base", class: `progress progress--${this.safeSize}${state.indeterminate ? ' progress--indeterminate' : ''}` }, (visibleLabel || readout !== '') && (h("span", { key: 'ef416abfa75e9adcb98752018e65432aad663f36', part: "header", class: "progress__header" }, visibleLabel && (h("label", { key: '62d95f5d78a069e41d37891406381d3ea534ec19', part: "label", class: "progress__label", htmlFor: "progress" }, label)), readout !== '' && (h("span", { key: 'e7cd0f6c8d8b868511745b2e87f42b1165a38e70', part: "value", class: "progress__value", "aria-hidden": "true" }, readout)))), h("progress", { key: '4c25bf50028817550e8b988b4ec32b7c4ba30224', part: "progress", id: "progress", max: state.max, ...(state.value !== null ? { value: state.value } : {}), ...(this.hideLabel && label !== '' ? { 'aria-label': label } : {}), ...(valueText !== '' ? { 'aria-valuetext': valueText } : {}) }))));
64
+ }
65
+ static get is() { return "au-progress"; }
66
+ static get encapsulation() { return "shadow"; }
67
+ static get originalStyleUrls() {
68
+ return {
69
+ "$": ["au-progress.scss"]
70
+ };
71
+ }
72
+ static get styleUrls() {
73
+ return {
74
+ "$": ["au-progress.css"]
75
+ };
76
+ }
77
+ static get properties() {
78
+ return {
79
+ "label": {
80
+ "type": "string",
81
+ "mutable": false,
82
+ "complexType": {
83
+ "original": "string",
84
+ "resolved": "string | undefined",
85
+ "references": {}
86
+ },
87
+ "required": false,
88
+ "optional": true,
89
+ "docs": {
90
+ "tags": [],
91
+ "text": "The accessible name (required). Shown above the bar, or kept as the bar's `aria-label` with `hide-label`. A host `aria-label` is not forwarded."
92
+ },
93
+ "getter": false,
94
+ "setter": false,
95
+ "reflect": false,
96
+ "attribute": "label"
97
+ },
98
+ "hideLabel": {
99
+ "type": "boolean",
100
+ "mutable": false,
101
+ "complexType": {
102
+ "original": "boolean",
103
+ "resolved": "boolean",
104
+ "references": {}
105
+ },
106
+ "required": false,
107
+ "optional": false,
108
+ "docs": {
109
+ "tags": [],
110
+ "text": "Hides the visible label; the name stays on the bar as `aria-label`."
111
+ },
112
+ "getter": false,
113
+ "setter": false,
114
+ "reflect": true,
115
+ "attribute": "hide-label",
116
+ "defaultValue": "false"
117
+ },
118
+ "value": {
119
+ "type": "number",
120
+ "mutable": false,
121
+ "complexType": {
122
+ "original": "number | undefined",
123
+ "resolved": "number | undefined",
124
+ "references": {}
125
+ },
126
+ "required": false,
127
+ "optional": true,
128
+ "docs": {
129
+ "tags": [],
130
+ "text": "The current value, clamped to `[0, max]`. Unset, empty or not a finite number is indeterminate (no value)."
131
+ },
132
+ "getter": false,
133
+ "setter": false,
134
+ "reflect": false,
135
+ "attribute": "value"
136
+ },
137
+ "max": {
138
+ "type": "number",
139
+ "mutable": false,
140
+ "complexType": {
141
+ "original": "number",
142
+ "resolved": "number | undefined",
143
+ "references": {}
144
+ },
145
+ "required": false,
146
+ "optional": true,
147
+ "docs": {
148
+ "tags": [],
149
+ "text": "The maximum, 100 by default. A value that is not a number above zero renders 100 and warns once."
150
+ },
151
+ "getter": false,
152
+ "setter": false,
153
+ "reflect": false,
154
+ "attribute": "max",
155
+ "defaultValue": "100"
156
+ },
157
+ "valueText": {
158
+ "type": "string",
159
+ "mutable": false,
160
+ "complexType": {
161
+ "original": "string",
162
+ "resolved": "string | undefined",
163
+ "references": {}
164
+ },
165
+ "required": false,
166
+ "optional": true,
167
+ "docs": {
168
+ "tags": [],
169
+ "text": "Text for `aria-valuetext` and for the visible readout (for example `2 of 5 steps`). Blank means none."
170
+ },
171
+ "getter": false,
172
+ "setter": false,
173
+ "reflect": false,
174
+ "attribute": "value-text"
175
+ },
176
+ "showValue": {
177
+ "type": "boolean",
178
+ "mutable": false,
179
+ "complexType": {
180
+ "original": "boolean",
181
+ "resolved": "boolean",
182
+ "references": {}
183
+ },
184
+ "required": false,
185
+ "optional": false,
186
+ "docs": {
187
+ "tags": [],
188
+ "text": "Shows a visible, `aria-hidden` readout: `value-text` when set, else the localized percent."
189
+ },
190
+ "getter": false,
191
+ "setter": false,
192
+ "reflect": true,
193
+ "attribute": "show-value",
194
+ "defaultValue": "false"
195
+ },
196
+ "size": {
197
+ "type": "string",
198
+ "mutable": false,
199
+ "complexType": {
200
+ "original": "ProgressSize",
201
+ "resolved": "\"medium\" | \"small\"",
202
+ "references": {
203
+ "ProgressSize": {
204
+ "location": "import",
205
+ "path": "./au-progress.constants",
206
+ "id": "src/components/feedback/au-progress/au-progress.constants.ts::ProgressSize",
207
+ "referenceLocation": "ProgressSize"
208
+ }
209
+ }
210
+ },
211
+ "required": false,
212
+ "optional": false,
213
+ "docs": {
214
+ "tags": [],
215
+ "text": "`small` (0.25rem) or `medium` (0.5rem); any other thickness is `--aurora-progress-block-size`."
216
+ },
217
+ "getter": false,
218
+ "setter": false,
219
+ "reflect": true,
220
+ "attribute": "size",
221
+ "defaultValue": "'medium'"
222
+ }
223
+ };
224
+ }
225
+ static get elementRef() { return "host"; }
226
+ }
@@ -0,0 +1,2 @@
1
+ export { AuProgress } from './au-progress.js';
2
+ export { PROGRESS_DEFAULT_MAX, PROGRESS_SIZE, formatProgressPercent, isProgressSize, resolveProgress, } from './au-progress.constants.js';
@@ -0,0 +1,33 @@
1
+ /** Literals only: no import from the foundations, so the `/constants` subpath stays standalone. */
2
+ /** `text` draws one or more bars (`lines`), `circle` an avatar-sized disc and `rect` a media or card block. */
3
+ export const SKELETON_SHAPE = {
4
+ text: 'text',
5
+ circle: 'circle',
6
+ rect: 'rect',
7
+ };
8
+ /** `shimmer` moves a highlight across each bar. Reduced motion is always static, whatever the value. */
9
+ export const SKELETON_ANIMATION = {
10
+ shimmer: 'shimmer',
11
+ none: 'none',
12
+ };
13
+ /** The most lines a text skeleton renders. A larger value is clamped, so a typo cannot render hundreds of nodes. */
14
+ export const SKELETON_MAX_LINES = 20;
15
+ const shapes = new Set(Object.values(SKELETON_SHAPE));
16
+ const animations = new Set(Object.values(SKELETON_ANIMATION));
17
+ export const isSkeletonShape = (value) => typeof value === 'string' && shapes.has(value);
18
+ export const isSkeletonAnimation = (value) => typeof value === 'string' && animations.has(value);
19
+ /**
20
+ * The number of lines to render. `undefined` and `null` (a removed attribute) are the unset default
21
+ * (one line, valid). `NaN`, a value below 1 and a non-finite value give one line and are invalid; a
22
+ * value above the maximum is clamped and is invalid too. Fractions are floored.
23
+ */
24
+ export function normalizeSkeletonLines(value) {
25
+ if (value === undefined || value === null)
26
+ return { lines: 1, invalid: false };
27
+ const number = Math.floor(Number(value));
28
+ if (!Number.isFinite(number) || number < 1)
29
+ return { lines: 1, invalid: true };
30
+ if (number > SKELETON_MAX_LINES)
31
+ return { lines: SKELETON_MAX_LINES, invalid: true };
32
+ return { lines: number, invalid: false };
33
+ }
@@ -0,0 +1,108 @@
1
+ /*
2
+ * A decorative placeholder (spec phase5-step9-skeleton). The bars are real elements, never
3
+ * pseudo-elements, so a test and a consumer read their computed styles. The base color is a plain
4
+ * background-color (opaque in every theme); the shimmer is a background-image highlight moved by a
5
+ * keyframe animation. The literal fallbacks inside the token references keep a bar visible on a
6
+ * page that has not loaded styles.css.
7
+ */
8
+ :host {
9
+ display: block;
10
+ }
11
+
12
+ :host([shape=circle]) {
13
+ inline-size: fit-content;
14
+ }
15
+
16
+ .skeleton {
17
+ display: block;
18
+ }
19
+
20
+ /* A text skeleton paints nothing itself: its lines do. */
21
+ .skeleton--text {
22
+ display: flex;
23
+ flex-direction: column;
24
+ gap: var(--aurora-skeleton-line-gap, 0.5em);
25
+ inline-size: var(--aurora-skeleton-inline-size, 100%);
26
+ }
27
+
28
+ .skeleton__line,
29
+ .skeleton--circle,
30
+ .skeleton--rect {
31
+ background-color: var(--aurora-skeleton-background, color-mix(in srgb, var(--aurora-color-text, #202733) 10%, var(--aurora-color-canvas, #ffffff)));
32
+ box-sizing: border-box;
33
+ }
34
+
35
+ .skeleton__line {
36
+ block-size: var(--aurora-skeleton-line-block-size, 0.875em);
37
+ border-radius: var(--aurora-skeleton-radius, var(--aurora-radius-sm, 0.25rem));
38
+ inline-size: 100%;
39
+ }
40
+
41
+ .skeleton__line--last {
42
+ inline-size: var(--aurora-skeleton-last-line-inline-size, 60%);
43
+ }
44
+
45
+ .skeleton--circle {
46
+ block-size: var(--aurora-skeleton-size, 2.5rem);
47
+ border-radius: 50%;
48
+ inline-size: var(--aurora-skeleton-size, 2.5rem);
49
+ }
50
+
51
+ .skeleton--rect {
52
+ block-size: var(--aurora-skeleton-block-size, 6rem);
53
+ border-radius: var(--aurora-skeleton-radius, var(--aurora-radius-md, 0.5rem));
54
+ inline-size: var(--aurora-skeleton-inline-size, 100%);
55
+ }
56
+
57
+ /*
58
+ * Shimmer (SK-D5): the image is twice as wide as the bar, so moving its position from 100% to 0
59
+ * carries the highlight from the inline start edge to the inline end edge. The duration is its own
60
+ * property, not a motion token: the motion tokens go to 0ms under reduced motion, and an infinite
61
+ * 0ms animation is not static.
62
+ */
63
+ .skeleton--shimmer .skeleton__line,
64
+ .skeleton--shimmer.skeleton--circle,
65
+ .skeleton--shimmer.skeleton--rect {
66
+ animation: skeleton-shimmer var(--aurora-skeleton-animation-duration, 1.5s) ease-in-out infinite;
67
+ background-image: linear-gradient(90deg, transparent 25%, var(--aurora-skeleton-highlight, color-mix(in srgb, var(--aurora-color-canvas, #ffffff) 60%, transparent)) 50%, transparent 75%);
68
+ background-repeat: no-repeat;
69
+ background-size: 200% 100%;
70
+ }
71
+
72
+ @keyframes skeleton-shimmer {
73
+ from {
74
+ background-position: 100% 0;
75
+ }
76
+ to {
77
+ background-position: 0 0;
78
+ }
79
+ }
80
+ /* Right to left: the highlight travels from the right (inline start) to the left. */
81
+ :host(:dir(rtl)) .skeleton--shimmer .skeleton__line,
82
+ :host(:dir(rtl)) .skeleton--shimmer.skeleton--circle,
83
+ :host(:dir(rtl)) .skeleton--shimmer.skeleton--rect {
84
+ animation-direction: reverse;
85
+ }
86
+
87
+ /* Reduced motion is static, explicitly (SK-D6): the bar shows its plain base color. */
88
+ @media (prefers-reduced-motion: reduce) {
89
+ .skeleton--shimmer .skeleton__line,
90
+ .skeleton--shimmer.skeleton--circle,
91
+ .skeleton--shimmer.skeleton--rect {
92
+ animation: none;
93
+ background-image: none;
94
+ }
95
+ }
96
+ /* Forced colors drop backgrounds to Canvas, so each bar becomes a GrayText outline (SK-D7). */
97
+ @media (forced-colors: active) {
98
+ .skeleton__line,
99
+ .skeleton--circle,
100
+ .skeleton--rect,
101
+ .skeleton--shimmer .skeleton__line,
102
+ .skeleton--shimmer.skeleton--circle,
103
+ .skeleton--shimmer.skeleton--rect {
104
+ animation: none;
105
+ background: Canvas;
106
+ border: 1px solid GrayText;
107
+ }
108
+ }