@aeris-ui/core 22.0.0-alpha.1 → 22.0.0-alpha.11

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 (318) hide show
  1. package/README.md +232 -191
  2. package/THIRD_PARTY_LICENSES.md +48 -0
  3. package/fesm2022/aeris-ui-core-accordion.mjs +666 -273
  4. package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
  5. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +284 -103
  6. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -1
  7. package/fesm2022/aeris-ui-core-auto-complete.mjs +1301 -450
  8. package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
  9. package/fesm2022/aeris-ui-core-auto-focus.mjs +111 -61
  10. package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -1
  11. package/fesm2022/aeris-ui-core-avatar.mjs +383 -101
  12. package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
  13. package/fesm2022/aeris-ui-core-badge.mjs +562 -115
  14. package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
  15. package/fesm2022/aeris-ui-core-block-ui.mjs +221 -101
  16. package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
  17. package/fesm2022/aeris-ui-core-breadcrumb.mjs +609 -199
  18. package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
  19. package/fesm2022/aeris-ui-core-button-forms.mjs +78 -0
  20. package/fesm2022/aeris-ui-core-button-forms.mjs.map +1 -0
  21. package/fesm2022/aeris-ui-core-button-group.mjs +554 -36
  22. package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
  23. package/fesm2022/aeris-ui-core-button.mjs +911 -137
  24. package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
  25. package/fesm2022/aeris-ui-core-card.mjs +371 -101
  26. package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
  27. package/fesm2022/aeris-ui-core-carousel.mjs +835 -369
  28. package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
  29. package/fesm2022/aeris-ui-core-cascade-select.mjs +1294 -525
  30. package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
  31. package/fesm2022/aeris-ui-core-chart.mjs +594 -262
  32. package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
  33. package/fesm2022/aeris-ui-core-checkbox.mjs +619 -150
  34. package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
  35. package/fesm2022/aeris-ui-core-chip.mjs +1109 -121
  36. package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
  37. package/fesm2022/aeris-ui-core-class-names.mjs +87 -65
  38. package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -1
  39. package/fesm2022/aeris-ui-core-code-block.mjs +687 -0
  40. package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -0
  41. package/fesm2022/aeris-ui-core-color-picker.mjs +2436 -1076
  42. package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
  43. package/fesm2022/aeris-ui-core-command-palette.mjs +996 -0
  44. package/fesm2022/aeris-ui-core-command-palette.mjs.map +1 -0
  45. package/fesm2022/aeris-ui-core-compare.mjs +870 -338
  46. package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
  47. package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1454 -575
  48. package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
  49. package/fesm2022/aeris-ui-core-confirm-popup.mjs +1499 -760
  50. package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
  51. package/fesm2022/aeris-ui-core-context-menu.mjs +975 -449
  52. package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
  53. package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs +946 -0
  54. package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs.map +1 -0
  55. package/fesm2022/aeris-ui-core-date-picker.mjs +2538 -1183
  56. package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
  57. package/fesm2022/aeris-ui-core-dialog.mjs +1187 -368
  58. package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
  59. package/fesm2022/aeris-ui-core-divider.mjs +204 -43
  60. package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
  61. package/fesm2022/aeris-ui-core-drawer.mjs +1712 -345
  62. package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
  63. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +418 -254
  64. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
  65. package/fesm2022/aeris-ui-core-editor.mjs +1808 -783
  66. package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
  67. package/fesm2022/aeris-ui-core-file-upload.mjs +1529 -536
  68. package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
  69. package/fesm2022/aeris-ui-core-filter-service.mjs +258 -301
  70. package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
  71. package/fesm2022/aeris-ui-core-fluid.mjs +68 -21
  72. package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
  73. package/fesm2022/aeris-ui-core-focus-trap.mjs +206 -182
  74. package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -1
  75. package/fesm2022/aeris-ui-core-form-field.mjs +688 -0
  76. package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -0
  77. package/fesm2022/aeris-ui-core-galleria.mjs +2821 -1143
  78. package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
  79. package/fesm2022/aeris-ui-core-glass.mjs +110 -33
  80. package/fesm2022/aeris-ui-core-glass.mjs.map +1 -1
  81. package/fesm2022/aeris-ui-core-icon-field.mjs +426 -98
  82. package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
  83. package/fesm2022/aeris-ui-core-inplace.mjs +496 -132
  84. package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
  85. package/fesm2022/aeris-ui-core-input-group.mjs +413 -107
  86. package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
  87. package/fesm2022/aeris-ui-core-input-mask.mjs +713 -257
  88. package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
  89. package/fesm2022/aeris-ui-core-input-number.mjs +1095 -297
  90. package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
  91. package/fesm2022/aeris-ui-core-input-otp.mjs +678 -264
  92. package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
  93. package/fesm2022/aeris-ui-core-input-text.mjs +703 -160
  94. package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
  95. package/fesm2022/aeris-ui-core-kbd.mjs +243 -0
  96. package/fesm2022/aeris-ui-core-kbd.mjs.map +1 -0
  97. package/fesm2022/aeris-ui-core-key-filter.mjs +263 -201
  98. package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -1
  99. package/fesm2022/aeris-ui-core-listbox.mjs +789 -0
  100. package/fesm2022/aeris-ui-core-listbox.mjs.map +1 -0
  101. package/fesm2022/aeris-ui-core-mega-menu.mjs +662 -388
  102. package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
  103. package/fesm2022/aeris-ui-core-menu.mjs +1111 -478
  104. package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
  105. package/fesm2022/aeris-ui-core-menubar.mjs +1081 -411
  106. package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
  107. package/fesm2022/aeris-ui-core-message.mjs +513 -147
  108. package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
  109. package/fesm2022/aeris-ui-core-meter-group.mjs +641 -230
  110. package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
  111. package/fesm2022/aeris-ui-core-multi-select.mjs +1832 -577
  112. package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
  113. package/fesm2022/aeris-ui-core-navbar.mjs +1407 -0
  114. package/fesm2022/aeris-ui-core-navbar.mjs.map +1 -0
  115. package/fesm2022/aeris-ui-core-order-list.mjs +748 -220
  116. package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
  117. package/fesm2022/aeris-ui-core-organization-chart.mjs +521 -201
  118. package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
  119. package/fesm2022/aeris-ui-core-paginator.mjs +671 -127
  120. package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
  121. package/fesm2022/aeris-ui-core-panel.mjs +602 -210
  122. package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
  123. package/fesm2022/aeris-ui-core-password.mjs +1046 -269
  124. package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
  125. package/fesm2022/aeris-ui-core-pick-list.mjs +1796 -703
  126. package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
  127. package/fesm2022/aeris-ui-core-popover.mjs +1354 -385
  128. package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
  129. package/fesm2022/aeris-ui-core-progress-bar.mjs +609 -182
  130. package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
  131. package/fesm2022/aeris-ui-core-progress-spinner.mjs +428 -133
  132. package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
  133. package/fesm2022/aeris-ui-core-radio-button.mjs +502 -132
  134. package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
  135. package/fesm2022/aeris-ui-core-rating.mjs +506 -231
  136. package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
  137. package/fesm2022/aeris-ui-core-scroll-panel.mjs +457 -154
  138. package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
  139. package/fesm2022/aeris-ui-core-scroll-top.mjs +279 -69
  140. package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
  141. package/fesm2022/aeris-ui-core-select-native.mjs +145 -0
  142. package/fesm2022/aeris-ui-core-select-native.mjs.map +1 -0
  143. package/fesm2022/aeris-ui-core-select.mjs +1984 -668
  144. package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
  145. package/fesm2022/aeris-ui-core-sidebar.mjs +1293 -0
  146. package/fesm2022/aeris-ui-core-sidebar.mjs.map +1 -0
  147. package/fesm2022/aeris-ui-core-skeleton.mjs +149 -45
  148. package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -1
  149. package/fesm2022/aeris-ui-core-slider.mjs +884 -430
  150. package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
  151. package/fesm2022/aeris-ui-core-speed-dial.mjs +882 -337
  152. package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
  153. package/fesm2022/aeris-ui-core-split-button.mjs +972 -268
  154. package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
  155. package/fesm2022/aeris-ui-core-splitter.mjs +831 -356
  156. package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
  157. package/fesm2022/aeris-ui-core-stepper.mjs +705 -256
  158. package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
  159. package/fesm2022/aeris-ui-core-style-class.mjs +587 -342
  160. package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -1
  161. package/fesm2022/aeris-ui-core-table.mjs +2927 -923
  162. package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
  163. package/fesm2022/aeris-ui-core-tabs.mjs +855 -283
  164. package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
  165. package/fesm2022/aeris-ui-core-textarea.mjs +919 -221
  166. package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
  167. package/fesm2022/aeris-ui-core-theme-builder.mjs +1368 -1407
  168. package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
  169. package/fesm2022/aeris-ui-core-theming.mjs +132 -144
  170. package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
  171. package/fesm2022/aeris-ui-core-tiered-menu.mjs +966 -447
  172. package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
  173. package/fesm2022/aeris-ui-core-timeline.mjs +407 -131
  174. package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
  175. package/fesm2022/aeris-ui-core-toast.mjs +1109 -384
  176. package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
  177. package/fesm2022/aeris-ui-core-toggle-switch.mjs +398 -132
  178. package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
  179. package/fesm2022/aeris-ui-core-toolbar.mjs +1340 -131
  180. package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
  181. package/fesm2022/aeris-ui-core-tooltip.mjs +625 -330
  182. package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
  183. package/fesm2022/aeris-ui-core-tree-select.mjs +1650 -627
  184. package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
  185. package/fesm2022/aeris-ui-core-tree-table.mjs +2442 -994
  186. package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
  187. package/fesm2022/aeris-ui-core-tree.mjs +1257 -670
  188. package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
  189. package/fesm2022/aeris-ui-core.mjs +1601 -312
  190. package/fesm2022/aeris-ui-core.mjs.map +1 -1
  191. package/package.json +48 -8
  192. package/schematics/ng-add/schema.json +1 -1
  193. package/schematics/runtime/schematics/ng-add/options.js +4 -4
  194. package/schematics/runtime/schematics/ng-add/options.js.map +1 -1
  195. package/schematics/runtime/schematics/ng-add/workspace.js +1 -1
  196. package/schematics/runtime/schematics/ng-add/workspace.js.map +1 -1
  197. package/schematics/runtime/theme-builder/aeris-color-derivation.js +1 -1
  198. package/schematics/runtime/theme-builder/aeris-contrast.js +38 -17
  199. package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
  200. package/schematics/runtime/theme-builder/aeris-foundation.js +13 -8
  201. package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
  202. package/schematics/runtime/theme-builder/aeris-semantic-tones.js +33 -23
  203. package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
  204. package/schematics/runtime/theme-builder/aeris-theme-generator.js +8 -2
  205. package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
  206. package/schematics/runtime/theme-builder/aeris-theme-resolver.js +63 -76
  207. package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
  208. package/schematics/runtime/theme-builder/aeris-theme-tokens.js +15 -5
  209. package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
  210. package/schematics/runtime/theme-builder/aeris-theme-validation.js +18 -2
  211. package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
  212. package/schematics/runtime/theme-builder/aeris-theme.js +121 -34
  213. package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
  214. package/styles/_choice-card.scss +93 -0
  215. package/styles/_fallback-colors.scss +10 -0
  216. package/styles/_icon-artwork.scss +14 -0
  217. package/styles/_icon-template.scss +42 -0
  218. package/styles/_mobile.scss +16 -0
  219. package/styles/_selection-icons.scss +12 -0
  220. package/styles/_table-pinning.scss +119 -0
  221. package/styles/_tokens.scss +5 -5
  222. package/styles/aeris.css +447 -137
  223. package/styles/controls.css +205 -35
  224. package/tools/aeris-theme.mjs +4 -4
  225. package/tools/aeris-theme.schema.json +18 -13
  226. package/types/aeris-ui-core-accordion.d.ts +167 -93
  227. package/types/aeris-ui-core-animate-on-scroll.d.ts +72 -31
  228. package/types/aeris-ui-core-auto-complete.d.ts +339 -140
  229. package/types/aeris-ui-core-auto-focus.d.ts +24 -16
  230. package/types/aeris-ui-core-avatar.d.ts +112 -42
  231. package/types/aeris-ui-core-badge.d.ts +160 -46
  232. package/types/aeris-ui-core-block-ui.d.ts +48 -27
  233. package/types/aeris-ui-core-breadcrumb.d.ts +163 -92
  234. package/types/aeris-ui-core-button-forms.d.ts +18 -0
  235. package/types/aeris-ui-core-button-group.d.ts +150 -16
  236. package/types/aeris-ui-core-button.d.ts +274 -67
  237. package/types/aeris-ui-core-card.d.ts +74 -37
  238. package/types/aeris-ui-core-carousel.d.ts +213 -117
  239. package/types/aeris-ui-core-cascade-select.d.ts +275 -123
  240. package/types/aeris-ui-core-chart.d.ts +150 -84
  241. package/types/aeris-ui-core-checkbox.d.ts +173 -54
  242. package/types/aeris-ui-core-chip.d.ts +316 -56
  243. package/types/aeris-ui-core-class-names.d.ts +22 -20
  244. package/types/aeris-ui-core-code-block.d.ts +201 -0
  245. package/types/aeris-ui-core-color-picker.d.ts +450 -143
  246. package/types/aeris-ui-core-command-palette.d.ts +267 -0
  247. package/types/aeris-ui-core-compare.d.ts +230 -102
  248. package/types/aeris-ui-core-confirm-dialog.d.ts +450 -245
  249. package/types/aeris-ui-core-confirm-popup.d.ts +442 -263
  250. package/types/aeris-ui-core-context-menu.d.ts +270 -146
  251. package/types/aeris-ui-core-date-picker.d.ts +594 -219
  252. package/types/aeris-ui-core-dialog.d.ts +301 -117
  253. package/types/aeris-ui-core-divider.d.ts +58 -20
  254. package/types/aeris-ui-core-drawer.d.ts +380 -112
  255. package/types/aeris-ui-core-dynamic-dialog.d.ts +162 -137
  256. package/types/aeris-ui-core-editor.d.ts +257 -123
  257. package/types/aeris-ui-core-file-upload.d.ts +385 -197
  258. package/types/aeris-ui-core-filter-service.d.ts +48 -52
  259. package/types/aeris-ui-core-fluid.d.ts +12 -9
  260. package/types/aeris-ui-core-focus-trap.d.ts +39 -31
  261. package/types/aeris-ui-core-form-field.d.ts +163 -0
  262. package/types/aeris-ui-core-galleria.d.ts +636 -256
  263. package/types/aeris-ui-core-glass.d.ts +24 -11
  264. package/types/aeris-ui-core-icon-field.d.ts +94 -32
  265. package/types/aeris-ui-core-inplace.d.ts +129 -62
  266. package/types/aeris-ui-core-input-group.d.ts +84 -33
  267. package/types/aeris-ui-core-input-mask.d.ts +201 -69
  268. package/types/aeris-ui-core-input-number.d.ts +291 -87
  269. package/types/aeris-ui-core-input-otp.d.ts +191 -81
  270. package/types/aeris-ui-core-input-text.d.ts +195 -60
  271. package/types/aeris-ui-core-kbd.d.ts +74 -0
  272. package/types/aeris-ui-core-key-filter.d.ts +53 -39
  273. package/types/aeris-ui-core-listbox.d.ts +222 -0
  274. package/types/aeris-ui-core-mega-menu.d.ts +181 -121
  275. package/types/aeris-ui-core-menu.d.ts +283 -168
  276. package/types/aeris-ui-core-menubar.d.ts +289 -135
  277. package/types/aeris-ui-core-message.d.ts +138 -60
  278. package/types/aeris-ui-core-meter-group.d.ts +169 -90
  279. package/types/aeris-ui-core-multi-select.d.ts +469 -180
  280. package/types/aeris-ui-core-navbar.d.ts +208 -0
  281. package/types/aeris-ui-core-order-list.d.ts +168 -66
  282. package/types/aeris-ui-core-organization-chart.d.ts +139 -77
  283. package/types/aeris-ui-core-paginator.d.ts +129 -38
  284. package/types/aeris-ui-core-panel.d.ts +149 -78
  285. package/types/aeris-ui-core-password.d.ts +276 -102
  286. package/types/aeris-ui-core-pick-list.d.ts +428 -179
  287. package/types/aeris-ui-core-popover.d.ts +294 -105
  288. package/types/aeris-ui-core-progress-bar.d.ts +163 -73
  289. package/types/aeris-ui-core-progress-spinner.d.ts +116 -48
  290. package/types/aeris-ui-core-radio-button.d.ts +146 -50
  291. package/types/aeris-ui-core-rating.d.ts +149 -76
  292. package/types/aeris-ui-core-scroll-panel.d.ts +142 -64
  293. package/types/aeris-ui-core-scroll-top.d.ts +73 -29
  294. package/types/aeris-ui-core-select-native.d.ts +40 -0
  295. package/types/aeris-ui-core-select.d.ts +487 -217
  296. package/types/aeris-ui-core-sidebar.d.ts +220 -0
  297. package/types/aeris-ui-core-skeleton.d.ts +39 -17
  298. package/types/aeris-ui-core-slider.d.ts +270 -115
  299. package/types/aeris-ui-core-speed-dial.d.ts +241 -111
  300. package/types/aeris-ui-core-split-button.d.ts +267 -113
  301. package/types/aeris-ui-core-splitter.d.ts +224 -106
  302. package/types/aeris-ui-core-stepper.d.ts +184 -91
  303. package/types/aeris-ui-core-style-class.d.ts +141 -71
  304. package/types/aeris-ui-core-table.d.ts +729 -304
  305. package/types/aeris-ui-core-tabs.d.ts +193 -76
  306. package/types/aeris-ui-core-textarea.d.ts +271 -78
  307. package/types/aeris-ui-core-theme-builder.d.ts +220 -463
  308. package/types/aeris-ui-core-theming.d.ts +42 -45
  309. package/types/aeris-ui-core-tiered-menu.d.ts +257 -142
  310. package/types/aeris-ui-core-timeline.d.ts +109 -71
  311. package/types/aeris-ui-core-toast.d.ts +231 -115
  312. package/types/aeris-ui-core-toggle-switch.d.ts +125 -51
  313. package/types/aeris-ui-core-toolbar.d.ts +314 -47
  314. package/types/aeris-ui-core-tooltip.d.ts +157 -88
  315. package/types/aeris-ui-core-tree-select.d.ts +394 -171
  316. package/types/aeris-ui-core-tree-table.d.ts +629 -288
  317. package/types/aeris-ui-core-tree.d.ts +294 -165
  318. package/types/aeris-ui-core.d.ts +338 -74
@@ -1,151 +1,365 @@
1
- import { NgTemplateOutlet } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { inject, TemplateRef, Directive, contentChild, input, numberAttribute, booleanAttribute, computed, Component } from '@angular/core';
4
-
5
- class AerisProgressBarValueTemplate {
6
- template = inject(TemplateRef);
7
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisProgressBarValueTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisProgressBarValueTemplate, isStandalone: true, selector: "ng-template[aerisProgressBarValue]", ngImport: i0 });
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisProgressBarValueTemplate, decorators: [{
11
- type: Directive,
12
- args: [{ selector: 'ng-template[aerisProgressBarValue]' }]
13
- }] });
14
- class AerisProgressBarStepTemplate {
15
- template = inject(TemplateRef);
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisProgressBarStepTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
17
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisProgressBarStepTemplate, isStandalone: true, selector: "ng-template[aerisProgressBarStep]", ngImport: i0 });
18
- }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisProgressBarStepTemplate, decorators: [{
20
- type: Directive,
21
- args: [{ selector: 'ng-template[aerisProgressBarStep]' }]
22
- }] });
1
+ import { NgTemplateOutlet } from "@angular/common";
2
+ import * as i0 from "@angular/core";
3
+ import { Component, Directive, TemplateRef, booleanAttribute, computed, contentChild, inject, input, numberAttribute } from "@angular/core";
4
+ var AerisProgressBarValueTemplate = class AerisProgressBarValueTemplate {
5
+ template = inject(TemplateRef);
6
+ static ɵfac = i0.ɵɵngDeclareFactory({
7
+ minVersion: "12.0.0",
8
+ version: "22.2.3",
9
+ ngImport: i0,
10
+ type: AerisProgressBarValueTemplate,
11
+ deps: [],
12
+ target: i0.ɵɵFactoryTarget.Directive
13
+ });
14
+ static ɵdir = i0.ɵɵngDeclareDirective({
15
+ minVersion: "14.0.0",
16
+ version: "22.2.3",
17
+ type: AerisProgressBarValueTemplate,
18
+ isStandalone: true,
19
+ selector: "ng-template[aerisProgressBarValue]",
20
+ ngImport: i0
21
+ });
22
+ };
23
+ i0.ɵɵngDeclareClassMetadata({
24
+ minVersion: "12.0.0",
25
+ version: "22.2.3",
26
+ ngImport: i0,
27
+ type: AerisProgressBarValueTemplate,
28
+ decorators: [{
29
+ type: Directive,
30
+ args: [{ selector: "ng-template[aerisProgressBarValue]" }]
31
+ }]
32
+ });
33
+ var AerisProgressBarStepTemplate = class AerisProgressBarStepTemplate {
34
+ template = inject(TemplateRef);
35
+ static ɵfac = i0.ɵɵngDeclareFactory({
36
+ minVersion: "12.0.0",
37
+ version: "22.2.3",
38
+ ngImport: i0,
39
+ type: AerisProgressBarStepTemplate,
40
+ deps: [],
41
+ target: i0.ɵɵFactoryTarget.Directive
42
+ });
43
+ static ɵdir = i0.ɵɵngDeclareDirective({
44
+ minVersion: "14.0.0",
45
+ version: "22.2.3",
46
+ type: AerisProgressBarStepTemplate,
47
+ isStandalone: true,
48
+ selector: "ng-template[aerisProgressBarStep]",
49
+ ngImport: i0
50
+ });
51
+ };
52
+ i0.ɵɵngDeclareClassMetadata({
53
+ minVersion: "12.0.0",
54
+ version: "22.2.3",
55
+ ngImport: i0,
56
+ type: AerisProgressBarStepTemplate,
57
+ decorators: [{
58
+ type: Directive,
59
+ args: [{ selector: "ng-template[aerisProgressBarStep]" }]
60
+ }]
61
+ });
23
62
  let nextProgressBarId = 0;
24
- class AerisProgressBar {
25
- valueTemplate = contentChild(AerisProgressBarValueTemplate, /* @ts-ignore */
26
- ...(ngDevMode ? [{ debugName: "valueTemplate" }] : /* istanbul ignore next */ []));
27
- stepTemplate = contentChild(AerisProgressBarStepTemplate, /* @ts-ignore */
28
- ...(ngDevMode ? [{ debugName: "stepTemplate" }] : /* istanbul ignore next */ []));
29
- id = input(`aeris-progress-bar-${++nextProgressBarId}`, /* @ts-ignore */
30
- ...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
31
- value = input(0, { ...(ngDevMode ? { debugName: "value" } : /* istanbul ignore next */ {}), transform: numberAttribute });
32
- min = input(0, { ...(ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {}), transform: numberAttribute });
33
- max = input(100, { ...(ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {}), transform: numberAttribute });
34
- mode = input('determinate', /* @ts-ignore */
35
- ...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
36
- severity = input('primary', /* @ts-ignore */
37
- ...(ngDevMode ? [{ debugName: "severity" }] : /* istanbul ignore next */ []));
38
- size = input('md', /* @ts-ignore */
39
- ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
40
- showValue = input(true, { ...(ngDevMode ? { debugName: "showValue" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
41
- striped = input(false, { ...(ngDevMode ? { debugName: "striped" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
42
- animated = input(false, { ...(ngDevMode ? { debugName: "animated" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
43
- rounded = input(true, { ...(ngDevMode ? { debugName: "rounded" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
44
- ariaLabel = input('', /* @ts-ignore */
45
- ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
46
- ariaLabelledBy = input('', /* @ts-ignore */
47
- ...(ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
48
- ariaValueText = input('', /* @ts-ignore */
49
- ...(ngDevMode ? [{ debugName: "ariaValueText" }] : /* istanbul ignore next */ []));
50
- steps = input([], /* @ts-ignore */
51
- ...(ngDevMode ? [{ debugName: "steps" }] : /* istanbul ignore next */ []));
52
- activeStep = input(null, /* @ts-ignore */
53
- ...(ngDevMode ? [{ debugName: "activeStep" }] : /* istanbul ignore next */ []));
54
- valueFormatter = input(null, /* @ts-ignore */
55
- ...(ngDevMode ? [{ debugName: "valueFormatter" }] : /* istanbul ignore next */ []));
56
- normalizedMin = computed(() => {
57
- const min = this.min();
58
- return Number.isFinite(min) ? min : 0;
59
- }, /* @ts-ignore */
60
- ...(ngDevMode ? [{ debugName: "normalizedMin" }] : /* istanbul ignore next */ []));
61
- normalizedMax = computed(() => {
62
- const min = this.normalizedMin();
63
- const max = this.max();
64
- return Number.isFinite(max) && max > min ? max : min + 100;
65
- }, /* @ts-ignore */
66
- ...(ngDevMode ? [{ debugName: "normalizedMax" }] : /* istanbul ignore next */ []));
67
- clampedValue = computed(() => {
68
- const value = this.value();
69
- return this.clamp(Number.isFinite(value) ? value : this.normalizedMin(), this.normalizedMin(), this.normalizedMax());
70
- }, /* @ts-ignore */
71
- ...(ngDevMode ? [{ debugName: "clampedValue" }] : /* istanbul ignore next */ []));
72
- percent = computed(() => {
73
- const min = this.normalizedMin();
74
- const max = this.normalizedMax();
75
- const range = max - min;
76
- if (range <= 0)
77
- return 0;
78
- return Math.round(((this.clampedValue() - min) / range) * 1000) / 10;
79
- }, /* @ts-ignore */
80
- ...(ngDevMode ? [{ debugName: "percent" }] : /* istanbul ignore next */ []));
81
- percentStyle = computed(() => `${this.percent()}%`, /* @ts-ignore */
82
- ...(ngDevMode ? [{ debugName: "percentStyle" }] : /* istanbul ignore next */ []));
83
- valueContext = computed(() => ({
84
- $implicit: this.clampedValue(),
85
- value: this.clampedValue(),
86
- min: this.normalizedMin(),
87
- max: this.normalizedMax(),
88
- percent: this.percent(),
89
- }), /* @ts-ignore */
90
- ...(ngDevMode ? [{ debugName: "valueContext" }] : /* istanbul ignore next */ []));
91
- valueText = computed(() => {
92
- const formatter = this.valueFormatter();
93
- if (formatter)
94
- return formatter(this.valueContext());
95
- return `${Math.round(this.percent())}%`;
96
- }, /* @ts-ignore */
97
- ...(ngDevMode ? [{ debugName: "valueText" }] : /* istanbul ignore next */ []));
98
- resolvedAriaValueText = computed(() => {
99
- if (this.mode() !== 'determinate')
100
- return this.ariaValueText() || null;
101
- return this.ariaValueText() || this.valueText();
102
- }, /* @ts-ignore */
103
- ...(ngDevMode ? [{ debugName: "resolvedAriaValueText" }] : /* istanbul ignore next */ []));
104
- stepViews = computed(() => {
105
- const steps = this.steps();
106
- if (steps.length === 0)
107
- return [];
108
- const activeStep = this.activeStep();
109
- const denominator = Math.max(1, steps.length - 1);
110
- return steps.map((step, index) => {
111
- const fallbackPercent = steps.length === 1 ? 100 : (index / denominator) * 100;
112
- const stepPercent = this.stepPercent(step.value, fallbackPercent);
113
- const active = activeStep === null ? this.percent() >= stepPercent : activeStep === index;
114
- const complete = activeStep === null ? this.percent() >= stepPercent : index <= activeStep;
115
- return {
116
- step,
117
- index,
118
- active,
119
- complete,
120
- percent: `${stepPercent}%`,
121
- context: {
122
- $implicit: step,
123
- step,
124
- index,
125
- active,
126
- complete,
127
- percent: stepPercent,
128
- },
129
- };
130
- });
131
- }, /* @ts-ignore */
132
- ...(ngDevMode ? [{ debugName: "stepViews" }] : /* istanbul ignore next */ []));
133
- stepPercent(value, fallback) {
134
- if (value === undefined || !Number.isFinite(value))
135
- return this.clamp(fallback, 0, 100);
136
- const min = this.normalizedMin();
137
- const max = this.normalizedMax();
138
- return this.clamp(((value - min) / (max - min)) * 100, 0, 100);
139
- }
140
- clamp(value, min, max) {
141
- return Math.min(Math.max(value, min), max);
142
- }
143
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisProgressBar, deps: [], target: i0.ɵɵFactoryTarget.Component });
144
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: AerisProgressBar, isStandalone: true, selector: "aeris-progress-bar", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, severity: { classPropertyName: "severity", publicName: "severity", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, showValue: { classPropertyName: "showValue", publicName: "showValue", isSignal: true, isRequired: false, transformFunction: null }, striped: { classPropertyName: "striped", publicName: "striped", isSignal: true, isRequired: false, transformFunction: null }, animated: { classPropertyName: "animated", publicName: "animated", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, ariaValueText: { classPropertyName: "ariaValueText", publicName: "ariaValueText", isSignal: true, isRequired: false, transformFunction: null }, steps: { classPropertyName: "steps", publicName: "steps", isSignal: true, isRequired: false, transformFunction: null }, activeStep: { classPropertyName: "activeStep", publicName: "activeStep", isSignal: true, isRequired: false, transformFunction: null }, valueFormatter: { classPropertyName: "valueFormatter", publicName: "valueFormatter", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "progressbar" }, properties: { "attr.id": "id()", "attr.aria-valuemin": "mode() === \"determinate\" ? min() : null", "attr.aria-valuemax": "mode() === \"determinate\" ? max() : null", "attr.aria-valuenow": "mode() === \"determinate\" ? clampedValue() : null", "attr.aria-valuetext": "resolvedAriaValueText()", "attr.aria-label": "ariaLabel() || null", "attr.aria-labelledby": "ariaLabelledBy() || null", "attr.data-mode": "mode()", "attr.data-severity": "severity()", "attr.data-size": "size()", "attr.data-striped": "striped() || null", "attr.data-animated": "animated() || null", "attr.data-rounded": "rounded() || null", "style.--aeris-progress-bar-value": "percentStyle()" }, classAttribute: "aeris-progress-bar" }, queries: [{ propertyName: "valueTemplate", first: true, predicate: AerisProgressBarValueTemplate, descendants: true, isSignal: true }, { propertyName: "stepTemplate", first: true, predicate: AerisProgressBarStepTemplate, descendants: true, isSignal: true }], ngImport: i0, template: `
63
+ var AerisProgressBar = class AerisProgressBar {
64
+ valueTemplate = contentChild(AerisProgressBarValueTemplate, ...ngDevMode ? [{ debugName: "valueTemplate" }] : /* istanbul ignore next */ []);
65
+ stepTemplate = contentChild(AerisProgressBarStepTemplate, ...ngDevMode ? [{ debugName: "stepTemplate" }] : /* istanbul ignore next */ []);
66
+ id = input(`aeris-progress-bar-${++nextProgressBarId}`, ...ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []);
67
+ value = input(0, {
68
+ ...ngDevMode ? { debugName: "value" } : /* istanbul ignore next */ {},
69
+ transform: numberAttribute
70
+ });
71
+ min = input(0, {
72
+ ...ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {},
73
+ transform: numberAttribute
74
+ });
75
+ max = input(100, {
76
+ ...ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {},
77
+ transform: numberAttribute
78
+ });
79
+ mode = input("determinate", ...ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []);
80
+ severity = input("primary", ...ngDevMode ? [{ debugName: "severity" }] : /* istanbul ignore next */ []);
81
+ size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
82
+ showValue = input(true, {
83
+ ...ngDevMode ? { debugName: "showValue" } : /* istanbul ignore next */ {},
84
+ transform: booleanAttribute
85
+ });
86
+ striped = input(false, {
87
+ ...ngDevMode ? { debugName: "striped" } : /* istanbul ignore next */ {},
88
+ transform: booleanAttribute
89
+ });
90
+ animated = input(false, {
91
+ ...ngDevMode ? { debugName: "animated" } : /* istanbul ignore next */ {},
92
+ transform: booleanAttribute
93
+ });
94
+ rounded = input(true, {
95
+ ...ngDevMode ? { debugName: "rounded" } : /* istanbul ignore next */ {},
96
+ transform: booleanAttribute
97
+ });
98
+ ariaLabel = input("", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
99
+ ariaLabelledBy = input("", ...ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []);
100
+ ariaDescribedBy = input("", ...ngDevMode ? [{ debugName: "ariaDescribedBy" }] : /* istanbul ignore next */ []);
101
+ ariaValueText = input("", ...ngDevMode ? [{ debugName: "ariaValueText" }] : /* istanbul ignore next */ []);
102
+ steps = input([], ...ngDevMode ? [{ debugName: "steps" }] : /* istanbul ignore next */ []);
103
+ activeStep = input(null, ...ngDevMode ? [{ debugName: "activeStep" }] : /* istanbul ignore next */ []);
104
+ valueFormatter = input(null, ...ngDevMode ? [{ debugName: "valueFormatter" }] : /* istanbul ignore next */ []);
105
+ normalizedMin = computed(() => {
106
+ const min = this.min();
107
+ return Number.isFinite(min) ? min : 0;
108
+ }, ...ngDevMode ? [{ debugName: "normalizedMin" }] : /* istanbul ignore next */ []);
109
+ normalizedMax = computed(() => {
110
+ const min = this.normalizedMin();
111
+ const max = this.max();
112
+ return Number.isFinite(max) && max > min ? max : min + 100;
113
+ }, ...ngDevMode ? [{ debugName: "normalizedMax" }] : /* istanbul ignore next */ []);
114
+ clampedValue = computed(() => {
115
+ const value = this.value();
116
+ return this.clamp(Number.isFinite(value) ? value : this.normalizedMin(), this.normalizedMin(), this.normalizedMax());
117
+ }, ...ngDevMode ? [{ debugName: "clampedValue" }] : /* istanbul ignore next */ []);
118
+ percent = computed(() => {
119
+ const min = this.normalizedMin();
120
+ const range = this.normalizedMax() - min;
121
+ if (range <= 0) return 0;
122
+ return Math.round((this.clampedValue() - min) / range * 1e3) / 10;
123
+ }, ...ngDevMode ? [{ debugName: "percent" }] : /* istanbul ignore next */ []);
124
+ percentStyle = computed(() => `${this.percent()}%`, ...ngDevMode ? [{ debugName: "percentStyle" }] : /* istanbul ignore next */ []);
125
+ valueContext = computed(() => ({
126
+ $implicit: this.clampedValue(),
127
+ value: this.clampedValue(),
128
+ min: this.normalizedMin(),
129
+ max: this.normalizedMax(),
130
+ percent: this.percent()
131
+ }), ...ngDevMode ? [{ debugName: "valueContext" }] : /* istanbul ignore next */ []);
132
+ valueText = computed(() => {
133
+ const formatter = this.valueFormatter();
134
+ if (formatter) return formatter(this.valueContext());
135
+ return `${Math.round(this.percent())}%`;
136
+ }, ...ngDevMode ? [{ debugName: "valueText" }] : /* istanbul ignore next */ []);
137
+ resolvedAriaValueText = computed(() => {
138
+ if (this.mode() !== "determinate") return this.ariaValueText() || null;
139
+ return this.ariaValueText() || this.valueText();
140
+ }, ...ngDevMode ? [{ debugName: "resolvedAriaValueText" }] : /* istanbul ignore next */ []);
141
+ stepViews = computed(() => {
142
+ const steps = this.steps();
143
+ if (steps.length === 0) return [];
144
+ const activeStep = this.activeStep();
145
+ const denominator = Math.max(1, steps.length - 1);
146
+ return steps.map((step, index) => {
147
+ const fallbackPercent = steps.length === 1 ? 100 : index / denominator * 100;
148
+ const stepPercent = this.stepPercent(step.value, fallbackPercent);
149
+ const active = activeStep === null ? this.percent() >= stepPercent : activeStep === index;
150
+ const complete = activeStep === null ? this.percent() >= stepPercent : index <= activeStep;
151
+ return {
152
+ step,
153
+ index,
154
+ active,
155
+ complete,
156
+ percentValue: stepPercent,
157
+ percent: `${stepPercent}%`,
158
+ context: {
159
+ $implicit: step,
160
+ step,
161
+ index,
162
+ active,
163
+ complete,
164
+ percent: stepPercent
165
+ }
166
+ };
167
+ });
168
+ }, ...ngDevMode ? [{ debugName: "stepViews" }] : /* istanbul ignore next */ []);
169
+ stepPercent(value, fallback) {
170
+ if (value === void 0 || !Number.isFinite(value)) return this.clamp(fallback, 0, 100);
171
+ const min = this.normalizedMin();
172
+ const max = this.normalizedMax();
173
+ return this.clamp((value - min) / (max - min) * 100, 0, 100);
174
+ }
175
+ clamp(value, min, max) {
176
+ return Math.min(Math.max(value, min), max);
177
+ }
178
+ static ɵfac = i0.ɵɵngDeclareFactory({
179
+ minVersion: "12.0.0",
180
+ version: "22.2.3",
181
+ ngImport: i0,
182
+ type: AerisProgressBar,
183
+ deps: [],
184
+ target: i0.ɵɵFactoryTarget.Component
185
+ });
186
+ static ɵcmp = i0.ɵɵngDeclareComponent({
187
+ minVersion: "17.0.0",
188
+ version: "22.2.3",
189
+ type: AerisProgressBar,
190
+ isStandalone: true,
191
+ selector: "aeris-progress-bar",
192
+ inputs: {
193
+ id: {
194
+ classPropertyName: "id",
195
+ publicName: "id",
196
+ isSignal: true,
197
+ isRequired: false,
198
+ transformFunction: null
199
+ },
200
+ value: {
201
+ classPropertyName: "value",
202
+ publicName: "value",
203
+ isSignal: true,
204
+ isRequired: false,
205
+ transformFunction: null
206
+ },
207
+ min: {
208
+ classPropertyName: "min",
209
+ publicName: "min",
210
+ isSignal: true,
211
+ isRequired: false,
212
+ transformFunction: null
213
+ },
214
+ max: {
215
+ classPropertyName: "max",
216
+ publicName: "max",
217
+ isSignal: true,
218
+ isRequired: false,
219
+ transformFunction: null
220
+ },
221
+ mode: {
222
+ classPropertyName: "mode",
223
+ publicName: "mode",
224
+ isSignal: true,
225
+ isRequired: false,
226
+ transformFunction: null
227
+ },
228
+ severity: {
229
+ classPropertyName: "severity",
230
+ publicName: "severity",
231
+ isSignal: true,
232
+ isRequired: false,
233
+ transformFunction: null
234
+ },
235
+ size: {
236
+ classPropertyName: "size",
237
+ publicName: "size",
238
+ isSignal: true,
239
+ isRequired: false,
240
+ transformFunction: null
241
+ },
242
+ showValue: {
243
+ classPropertyName: "showValue",
244
+ publicName: "showValue",
245
+ isSignal: true,
246
+ isRequired: false,
247
+ transformFunction: null
248
+ },
249
+ striped: {
250
+ classPropertyName: "striped",
251
+ publicName: "striped",
252
+ isSignal: true,
253
+ isRequired: false,
254
+ transformFunction: null
255
+ },
256
+ animated: {
257
+ classPropertyName: "animated",
258
+ publicName: "animated",
259
+ isSignal: true,
260
+ isRequired: false,
261
+ transformFunction: null
262
+ },
263
+ rounded: {
264
+ classPropertyName: "rounded",
265
+ publicName: "rounded",
266
+ isSignal: true,
267
+ isRequired: false,
268
+ transformFunction: null
269
+ },
270
+ ariaLabel: {
271
+ classPropertyName: "ariaLabel",
272
+ publicName: "ariaLabel",
273
+ isSignal: true,
274
+ isRequired: false,
275
+ transformFunction: null
276
+ },
277
+ ariaLabelledBy: {
278
+ classPropertyName: "ariaLabelledBy",
279
+ publicName: "ariaLabelledBy",
280
+ isSignal: true,
281
+ isRequired: false,
282
+ transformFunction: null
283
+ },
284
+ ariaDescribedBy: {
285
+ classPropertyName: "ariaDescribedBy",
286
+ publicName: "ariaDescribedBy",
287
+ isSignal: true,
288
+ isRequired: false,
289
+ transformFunction: null
290
+ },
291
+ ariaValueText: {
292
+ classPropertyName: "ariaValueText",
293
+ publicName: "ariaValueText",
294
+ isSignal: true,
295
+ isRequired: false,
296
+ transformFunction: null
297
+ },
298
+ steps: {
299
+ classPropertyName: "steps",
300
+ publicName: "steps",
301
+ isSignal: true,
302
+ isRequired: false,
303
+ transformFunction: null
304
+ },
305
+ activeStep: {
306
+ classPropertyName: "activeStep",
307
+ publicName: "activeStep",
308
+ isSignal: true,
309
+ isRequired: false,
310
+ transformFunction: null
311
+ },
312
+ valueFormatter: {
313
+ classPropertyName: "valueFormatter",
314
+ publicName: "valueFormatter",
315
+ isSignal: true,
316
+ isRequired: false,
317
+ transformFunction: null
318
+ }
319
+ },
320
+ host: {
321
+ attributes: { "role": "progressbar" },
322
+ properties: {
323
+ "attr.id": "id()",
324
+ "attr.aria-valuemin": "mode() === \"determinate\" ? normalizedMin() : null",
325
+ "attr.aria-valuemax": "mode() === \"determinate\" ? normalizedMax() : null",
326
+ "attr.aria-valuenow": "mode() === \"determinate\" ? clampedValue() : null",
327
+ "attr.aria-valuetext": "resolvedAriaValueText()",
328
+ "attr.aria-label": "ariaLabel() || null",
329
+ "attr.aria-labelledby": "ariaLabelledBy() || null",
330
+ "attr.aria-describedby": "ariaDescribedBy() || null",
331
+ "attr.data-mode": "mode()",
332
+ "attr.data-severity": "severity()",
333
+ "attr.data-size": "size()",
334
+ "attr.data-striped": "striped() || null",
335
+ "attr.data-animated": "animated() || null",
336
+ "attr.data-rounded": "rounded() || null",
337
+ "style.--aeris-progress-bar-value": "percentStyle()"
338
+ },
339
+ classAttribute: "aeris-progress-bar"
340
+ },
341
+ queries: [{
342
+ propertyName: "valueTemplate",
343
+ first: true,
344
+ predicate: AerisProgressBarValueTemplate,
345
+ descendants: true,
346
+ isSignal: true
347
+ }, {
348
+ propertyName: "stepTemplate",
349
+ first: true,
350
+ predicate: AerisProgressBarStepTemplate,
351
+ descendants: true,
352
+ isSignal: true
353
+ }],
354
+ ngImport: i0,
355
+ template: `
145
356
  <div class="aeris-progress-bar__track">
146
- <span class="aeris-progress-bar__fill" [style.inline-size.%]="mode() === 'determinate' ? percent() : null"></span>
357
+ <span class="aeris-progress-bar__fill" [style.inline-size.%]="percent()"></span>
358
+ <span class="aeris-progress-bar__activity" aria-hidden="true">
359
+ <span class="aeris-progress-bar__sweep"></span>
360
+ </span>
147
361
  @if (showValue() && mode() === 'determinate') {
148
- <span class="aeris-progress-bar__value">
362
+ <span class="aeris-progress-bar__value" aria-hidden="true">
149
363
  @if (valueTemplate(); as template) {
150
364
  <ng-container
151
365
  [ngTemplateOutlet]="template.template"
@@ -165,9 +379,26 @@ class AerisProgressBar {
165
379
  class="aeris-progress-bar__step"
166
380
  [attr.data-active]="item.active || null"
167
381
  [attr.data-complete]="item.complete || null"
382
+ [attr.data-edge-start]="item.percentValue === 0 || null"
383
+ [attr.data-edge-end]="item.percentValue === 100 || null"
168
384
  [style.--aeris-progress-bar-step-position]="item.percent"
169
385
  >
170
- <span class="aeris-progress-bar__step-marker"></span>
386
+ <svg
387
+ class="aeris-progress-bar__step-marker"
388
+ viewBox="0 0 20 20"
389
+ aria-hidden="true"
390
+ focusable="false"
391
+ >
392
+ @if (item.active) {
393
+ <path
394
+ class="aeris-progress-bar__step-selected"
395
+ fill-rule="evenodd"
396
+ d="M19 10a9 9 0 1 1-18 0a9 9 0 1 1 18 0Z M18 10a8 8 0 1 1-16 0a8 8 0 1 1 16 0Z M16 10a6 6 0 1 1-12 0a6 6 0 1 1 12 0Z"
397
+ />
398
+ } @else {
399
+ <circle class="aeris-progress-bar__step-dot" cx="10" cy="10" r="5" />
400
+ }
401
+ </svg>
171
402
  <span class="aeris-progress-bar__step-label">
172
403
  @if (stepTemplate(); as template) {
173
404
  <ng-container
@@ -182,15 +413,39 @@ class AerisProgressBar {
182
413
  }
183
414
  </ol>
184
415
  }
185
- `, isInline: true, styles: [":host{--_accent: var(--aeris-primary, #879566);--_on-accent: var(--aeris-on-primary, #17200f);--_height: var(--aeris-progress-bar-height, .875rem);display:grid;gap:var(--aeris-progress-bar-gap, .75rem);min-inline-size:0;color:var(--aeris-progress-bar-text, var(--aeris-text, #222222))}:host([data-size=sm]){--_height: var(--aeris-progress-bar-sm-height, .5rem)}:host([data-size=lg]){--_height: var(--aeris-progress-bar-lg-height, 1.25rem)}:host([data-severity=secondary]){--_accent: var(--aeris-surface-3, var(--aeris-border-strong, #c7c9c0));--_on-accent: var(--aeris-text, #222222)}:host([data-severity=success]){--_accent: var(--aeris-success, #6f8a68);--_on-accent: #fff}:host([data-severity=info]){--_accent: var(--aeris-info, #6b8793);--_on-accent: #fff}:host([data-severity=warning]){--_accent: var(--aeris-warning, #c38600);--_on-accent: var(--aeris-on-warning, #211600)}:host([data-severity=danger]){--_accent: var(--aeris-danger, #c81e2a);--_on-accent: #fff}:host([data-severity=neutral]){--_accent: var(--aeris-text-3, #6f7667);--_on-accent: #fff}:host([data-severity=contrast]){--_accent: var(--aeris-text, #222222);--_on-accent: var(--aeris-surface, #fff)}.aeris-progress-bar__track{position:relative;min-inline-size:0;block-size:var(--_height);overflow:hidden;border-radius:var(--aeris-progress-bar-radius, 999px);background:var(--aeris-progress-bar-track, color-mix(in srgb, var(--_accent) 14%, var(--aeris-surface-2, #f2f0ec)));box-shadow:inset 0 0 0 1px var(--aeris-progress-bar-track-border, color-mix(in srgb, var(--_accent) 12%, transparent))}:host([data-rounded=false]) .aeris-progress-bar__track{border-radius:var(--aeris-radius-sm, .4375rem)}.aeris-progress-bar__fill{position:absolute;inset-block:0;inset-inline-start:0;inline-size:0%;min-inline-size:0;border-radius:inherit;background:var(--aeris-progress-bar-fill, var(--_accent));transition:inline-size .18s ease}:host([data-striped=true]) .aeris-progress-bar__fill{background:linear-gradient(45deg,color-mix(in srgb,#fff 22%,transparent) 25%,transparent 25%,transparent 50%,color-mix(in srgb,#fff 22%,transparent) 50%,color-mix(in srgb,#fff 22%,transparent) 75%,transparent 75%,transparent),var(--aeris-progress-bar-fill, var(--_accent));background-size:1.2rem 1.2rem}:host([data-striped=true][data-animated=true]) .aeris-progress-bar__fill{animation:aeris-progress-bar-stripes .9s linear infinite}:host([data-mode=indeterminate]) .aeris-progress-bar__fill{inline-size:42%;min-inline-size:42%;animation:aeris-progress-bar-indeterminate 1.25s ease-in-out infinite}.aeris-progress-bar__value{position:absolute;inset:0;z-index:1;display:inline-grid;place-items:center;padding-inline:.5rem;color:var(--aeris-progress-bar-value-text, var(--_on-accent));font-size:var(--aeris-progress-bar-value-font-size, .75rem);font-weight:800;line-height:1;text-shadow:0 1px 1px rgba(0,0,0,.14)}:host([data-size=sm]) .aeris-progress-bar__value{display:none}.aeris-progress-bar__steps{position:relative;display:block;min-block-size:2rem;margin:0;padding:0;list-style:none}.aeris-progress-bar__step{position:absolute;inset-block-start:0;inset-inline-start:var(--aeris-progress-bar-step-position);display:grid;justify-items:center;gap:.35rem;max-inline-size:8rem;color:var(--aeris-progress-bar-step-text, var(--aeris-text-3, #6f7667));font-size:.75rem;font-weight:700;text-align:center;transform:translate(-50%)}.aeris-progress-bar__step-marker{inline-size:var(--aeris-progress-bar-step-marker-size, .75rem);block-size:var(--aeris-progress-bar-step-marker-size, .75rem);border:2px solid var(--aeris-progress-bar-step-border, var(--aeris-border-strong, #c7c9c0));border-radius:999px;background:var(--aeris-progress-bar-step-background, var(--aeris-surface, #fff));box-shadow:0 0 0 2px var(--aeris-progress-bar-step-ring, var(--aeris-surface, #fff))}.aeris-progress-bar__step[data-complete=true]{color:var(--aeris-progress-bar-step-complete-text, var(--aeris-text, #222222))}.aeris-progress-bar__step[data-complete=true] .aeris-progress-bar__step-marker{border-color:var(--_accent);background:var(--_accent)}.aeris-progress-bar__step[data-active=true] .aeris-progress-bar__step-marker{box-shadow:0 0 0 2px var(--aeris-progress-bar-step-ring, var(--aeris-surface, #fff)),0 0 0 5px color-mix(in srgb,var(--_accent) 22%,transparent)}@keyframes aeris-progress-bar-indeterminate{0%{transform:translate(-115%)}55%{transform:translate(80%)}to{transform:translate(245%)}}@keyframes aeris-progress-bar-stripes{0%{background-position:0 0}to{background-position:1.2rem 0}}@media(max-width:36rem){.aeris-progress-bar__steps{min-block-size:3rem}.aeris-progress-bar__step-label{max-inline-size:4.5rem}}@media(prefers-reduced-motion:reduce){.aeris-progress-bar__fill{transition:none;animation:none!important}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
186
- }
187
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisProgressBar, decorators: [{
188
- type: Component,
189
- args: [{ selector: 'aeris-progress-bar', imports: [NgTemplateOutlet], template: `
416
+ `,
417
+ isInline: true,
418
+ styles: [":host{--_accent: var(--aeris-primary, #111111);--_on-accent: var(--aeris-on-primary, #ffffff);--_height: var(--aeris-progress-bar-height, .875rem);display:grid;gap:var(--aeris-progress-bar-gap, .75rem);min-inline-size:0;color:var(--aeris-progress-bar-text, var(--aeris-text, #111111))}:host([data-size=sm]){--_height: var(--aeris-progress-bar-sm-height, .5rem)}:host([data-size=lg]){--_height: var(--aeris-progress-bar-lg-height, 1.25rem)}:host([data-severity=secondary]){--_accent: var(--aeris-surface-3, var(--aeris-border, #efefef));--_on-accent: var(--aeris-text, #111111)}:host([data-severity=success]){--_accent: var(--aeris-success, #6f8a68);--_on-accent: #fff}:host([data-severity=info]){--_accent: var(--aeris-info, #6b8793);--_on-accent: #fff}:host([data-severity=warning]){--_accent: var(--aeris-warning, #c38600);--_on-accent: var(--aeris-on-warning, #211600)}:host([data-severity=danger]){--_accent: var(--aeris-danger, #c81e2a);--_on-accent: #fff}:host([data-severity=neutral]){--_accent: var(--aeris-text-3, #6f7667);--_on-accent: #fff}:host([data-severity=contrast]){--_accent: var(--aeris-text, #111111);--_on-accent: var(--aeris-surface, #fff)}.aeris-progress-bar__track{position:relative;min-inline-size:0;block-size:var(--_height);overflow:hidden;border-radius:var(--aeris-progress-bar-radius, 999px);background:var(--aeris-progress-bar-track, color-mix(in srgb, var(--_accent) 14%, var(--aeris-surface-2, #f3f3f3)));box-shadow:inset 0 0 0 1px var(--aeris-progress-bar-track-border, color-mix(in srgb, var(--_accent) 12%, transparent))}:host([data-rounded=false]) .aeris-progress-bar__track{border-radius:var(--aeris-radius-sm, .4375rem)}.aeris-progress-bar__fill{position:absolute;inset-block:0;inset-inline-start:0;inline-size:0%;min-inline-size:0;border-radius:inherit;background:var(--aeris-progress-bar-fill, var(--_accent));transition:inline-size var(--aeris-motion-emphasized, .32s) var(--aeris-ease-enter, ease-out),opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}:host([data-striped=true]) :is(.aeris-progress-bar__fill,.aeris-progress-bar__sweep){background:linear-gradient(45deg,color-mix(in srgb,#fff 22%,transparent) 25%,transparent 25%,transparent 50%,color-mix(in srgb,#fff 22%,transparent) 50%,color-mix(in srgb,#fff 22%,transparent) 75%,transparent 75%,transparent),var(--aeris-progress-bar-fill, var(--_accent));background-size:1.2rem 1.2rem}:host([data-mode=determinate][data-striped=true][data-animated=true]) .aeris-progress-bar__fill{animation:aeris-progress-bar-stripes .9s linear infinite}:host([data-mode=indeterminate]) .aeris-progress-bar__fill{opacity:0}.aeris-progress-bar__activity{position:absolute;inset:0;border-radius:inherit;opacity:0;visibility:hidden;transition:opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),visibility 0s var(--aeris-motion-normal, .15s)}:host([data-mode=indeterminate]) .aeris-progress-bar__activity{opacity:1;visibility:visible;transition-delay:0s}.aeris-progress-bar__sweep{position:absolute;inset-block:0;inset-inline-start:0;inline-size:42%;border-radius:inherit;background:var(--aeris-progress-bar-fill, var(--_accent));animation:aeris-progress-bar-indeterminate 1.25s ease-in-out infinite;animation-play-state:paused}:host([data-mode=indeterminate]) .aeris-progress-bar__sweep{animation-play-state:running}:host(:dir(rtl)) .aeris-progress-bar__sweep{animation-name:aeris-progress-bar-indeterminate-rtl}.aeris-progress-bar__value{position:absolute;inset:0;z-index:1;display:inline-grid;place-items:center;padding-inline:.5rem;color:var(--aeris-progress-bar-value-text, var(--_on-accent));font-size:var(--aeris-progress-bar-value-font-size, .75rem);font-weight:var(--aeris-font-weight-bold, 700);line-height:1;text-shadow:0 1px 1px rgba(0,0,0,.14)}:host([data-size=sm]) .aeris-progress-bar__value{display:none}.aeris-progress-bar__steps{position:relative;display:block;min-block-size:2.75rem;margin:0;padding:0;list-style:none}.aeris-progress-bar__step{position:absolute;inset-block-start:0;inset-inline-start:var(--aeris-progress-bar-step-position);display:grid;justify-items:center;gap:.35rem;inline-size:max-content;max-inline-size:min(8rem,40vw);color:var(--aeris-progress-bar-step-text, var(--aeris-text-3, #6f7667));font-size:var(--aeris-font-size-sm, .75rem);font-weight:var(--aeris-font-weight-bold, 700);text-align:center;transform:translate(-50%)}.aeris-progress-bar__step[data-edge-start=true]{justify-items:start;text-align:start;transform:none}.aeris-progress-bar__step[data-edge-end=true]{justify-items:end;text-align:end;transform:translate(-100%)}.aeris-progress-bar__step-label{max-inline-size:inherit;overflow-wrap:normal;word-break:normal}:host-context([dir=rtl]) .aeris-progress-bar__step{transform:translate(50%)}:host-context([dir=rtl]) .aeris-progress-bar__step[data-edge-start=true]{transform:none}:host-context([dir=rtl]) .aeris-progress-bar__step[data-edge-end=true]{transform:translate(100%)}.aeris-progress-bar__step-marker{display:block;inline-size:var(--aeris-progress-bar-step-marker-size, 1.25rem);block-size:var(--aeris-progress-bar-step-marker-size, 1.25rem);overflow:hidden}.aeris-progress-bar__step-dot{fill:var(--aeris-progress-bar-step-background, var(--aeris-surface, #fff));stroke:var(--aeris-progress-bar-step-border, var(--aeris-border, #efefef));stroke-width:2;transition:fill var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),stroke var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-progress-bar__step-selected{fill:var(--_accent);stroke:none}.aeris-progress-bar__step[data-complete=true]{color:var(--aeris-progress-bar-step-complete-text, var(--aeris-text, #111111))}.aeris-progress-bar__step[data-complete=true] .aeris-progress-bar__step-dot{stroke:var(--_accent);fill:var(--_accent)}@keyframes aeris-progress-bar-indeterminate{0%{transform:translate(-115%)}55%{transform:translate(80%)}to{transform:translate(245%)}}@keyframes aeris-progress-bar-indeterminate-rtl{0%{transform:translate(115%)}55%{transform:translate(-80%)}to{transform:translate(-245%)}}@keyframes aeris-progress-bar-stripes{0%{background-position:0 0}to{background-position:1.2rem 0}}@media(max-width:36rem){.aeris-progress-bar__steps{min-block-size:3rem}.aeris-progress-bar__step-label{max-inline-size:4.5rem}}@media(prefers-reduced-motion:reduce){.aeris-progress-bar__fill,.aeris-progress-bar__activity,.aeris-progress-bar__sweep,.aeris-progress-bar__step-dot{transition:none;animation:none!important}}\n"],
419
+ dependencies: [{
420
+ kind: "directive",
421
+ type: NgTemplateOutlet,
422
+ selector: "[ngTemplateOutlet]",
423
+ inputs: [
424
+ "ngTemplateOutletContext",
425
+ "ngTemplateOutlet",
426
+ "ngTemplateOutletInjector"
427
+ ]
428
+ }]
429
+ });
430
+ };
431
+ i0.ɵɵngDeclareClassMetadata({
432
+ minVersion: "12.0.0",
433
+ version: "22.2.3",
434
+ ngImport: i0,
435
+ type: AerisProgressBar,
436
+ decorators: [{
437
+ type: Component,
438
+ args: [{
439
+ selector: "aeris-progress-bar",
440
+ imports: [NgTemplateOutlet],
441
+ template: `
190
442
  <div class="aeris-progress-bar__track">
191
- <span class="aeris-progress-bar__fill" [style.inline-size.%]="mode() === 'determinate' ? percent() : null"></span>
443
+ <span class="aeris-progress-bar__fill" [style.inline-size.%]="percent()"></span>
444
+ <span class="aeris-progress-bar__activity" aria-hidden="true">
445
+ <span class="aeris-progress-bar__sweep"></span>
446
+ </span>
192
447
  @if (showValue() && mode() === 'determinate') {
193
- <span class="aeris-progress-bar__value">
448
+ <span class="aeris-progress-bar__value" aria-hidden="true">
194
449
  @if (valueTemplate(); as template) {
195
450
  <ng-container
196
451
  [ngTemplateOutlet]="template.template"
@@ -210,9 +465,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
210
465
  class="aeris-progress-bar__step"
211
466
  [attr.data-active]="item.active || null"
212
467
  [attr.data-complete]="item.complete || null"
468
+ [attr.data-edge-start]="item.percentValue === 0 || null"
469
+ [attr.data-edge-end]="item.percentValue === 100 || null"
213
470
  [style.--aeris-progress-bar-step-position]="item.percent"
214
471
  >
215
- <span class="aeris-progress-bar__step-marker"></span>
472
+ <svg
473
+ class="aeris-progress-bar__step-marker"
474
+ viewBox="0 0 20 20"
475
+ aria-hidden="true"
476
+ focusable="false"
477
+ >
478
+ @if (item.active) {
479
+ <path
480
+ class="aeris-progress-bar__step-selected"
481
+ fill-rule="evenodd"
482
+ d="M19 10a9 9 0 1 1-18 0a9 9 0 1 1 18 0Z M18 10a8 8 0 1 1-16 0a8 8 0 1 1 16 0Z M16 10a6 6 0 1 1-12 0a6 6 0 1 1 12 0Z"
483
+ />
484
+ } @else {
485
+ <circle class="aeris-progress-bar__step-dot" cx="10" cy="10" r="5" />
486
+ }
487
+ </svg>
216
488
  <span class="aeris-progress-bar__step-label">
217
489
  @if (stepTemplate(); as template) {
218
490
  <ng-container
@@ -227,34 +499,189 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
227
499
  }
228
500
  </ol>
229
501
  }
230
- `, host: {
231
- class: 'aeris-progress-bar',
232
- '[attr.id]': 'id()',
233
- role: 'progressbar',
234
- '[attr.aria-valuemin]': 'mode() === "determinate" ? min() : null',
235
- '[attr.aria-valuemax]': 'mode() === "determinate" ? max() : null',
236
- '[attr.aria-valuenow]': 'mode() === "determinate" ? clampedValue() : null',
237
- '[attr.aria-valuetext]': 'resolvedAriaValueText()',
238
- '[attr.aria-label]': 'ariaLabel() || null',
239
- '[attr.aria-labelledby]': 'ariaLabelledBy() || null',
240
- '[attr.data-mode]': 'mode()',
241
- '[attr.data-severity]': 'severity()',
242
- '[attr.data-size]': 'size()',
243
- '[attr.data-striped]': 'striped() || null',
244
- '[attr.data-animated]': 'animated() || null',
245
- '[attr.data-rounded]': 'rounded() || null',
246
- '[style.--aeris-progress-bar-value]': 'percentStyle()',
247
- }, styles: [":host{--_accent: var(--aeris-primary, #879566);--_on-accent: var(--aeris-on-primary, #17200f);--_height: var(--aeris-progress-bar-height, .875rem);display:grid;gap:var(--aeris-progress-bar-gap, .75rem);min-inline-size:0;color:var(--aeris-progress-bar-text, var(--aeris-text, #222222))}:host([data-size=sm]){--_height: var(--aeris-progress-bar-sm-height, .5rem)}:host([data-size=lg]){--_height: var(--aeris-progress-bar-lg-height, 1.25rem)}:host([data-severity=secondary]){--_accent: var(--aeris-surface-3, var(--aeris-border-strong, #c7c9c0));--_on-accent: var(--aeris-text, #222222)}:host([data-severity=success]){--_accent: var(--aeris-success, #6f8a68);--_on-accent: #fff}:host([data-severity=info]){--_accent: var(--aeris-info, #6b8793);--_on-accent: #fff}:host([data-severity=warning]){--_accent: var(--aeris-warning, #c38600);--_on-accent: var(--aeris-on-warning, #211600)}:host([data-severity=danger]){--_accent: var(--aeris-danger, #c81e2a);--_on-accent: #fff}:host([data-severity=neutral]){--_accent: var(--aeris-text-3, #6f7667);--_on-accent: #fff}:host([data-severity=contrast]){--_accent: var(--aeris-text, #222222);--_on-accent: var(--aeris-surface, #fff)}.aeris-progress-bar__track{position:relative;min-inline-size:0;block-size:var(--_height);overflow:hidden;border-radius:var(--aeris-progress-bar-radius, 999px);background:var(--aeris-progress-bar-track, color-mix(in srgb, var(--_accent) 14%, var(--aeris-surface-2, #f2f0ec)));box-shadow:inset 0 0 0 1px var(--aeris-progress-bar-track-border, color-mix(in srgb, var(--_accent) 12%, transparent))}:host([data-rounded=false]) .aeris-progress-bar__track{border-radius:var(--aeris-radius-sm, .4375rem)}.aeris-progress-bar__fill{position:absolute;inset-block:0;inset-inline-start:0;inline-size:0%;min-inline-size:0;border-radius:inherit;background:var(--aeris-progress-bar-fill, var(--_accent));transition:inline-size .18s ease}:host([data-striped=true]) .aeris-progress-bar__fill{background:linear-gradient(45deg,color-mix(in srgb,#fff 22%,transparent) 25%,transparent 25%,transparent 50%,color-mix(in srgb,#fff 22%,transparent) 50%,color-mix(in srgb,#fff 22%,transparent) 75%,transparent 75%,transparent),var(--aeris-progress-bar-fill, var(--_accent));background-size:1.2rem 1.2rem}:host([data-striped=true][data-animated=true]) .aeris-progress-bar__fill{animation:aeris-progress-bar-stripes .9s linear infinite}:host([data-mode=indeterminate]) .aeris-progress-bar__fill{inline-size:42%;min-inline-size:42%;animation:aeris-progress-bar-indeterminate 1.25s ease-in-out infinite}.aeris-progress-bar__value{position:absolute;inset:0;z-index:1;display:inline-grid;place-items:center;padding-inline:.5rem;color:var(--aeris-progress-bar-value-text, var(--_on-accent));font-size:var(--aeris-progress-bar-value-font-size, .75rem);font-weight:800;line-height:1;text-shadow:0 1px 1px rgba(0,0,0,.14)}:host([data-size=sm]) .aeris-progress-bar__value{display:none}.aeris-progress-bar__steps{position:relative;display:block;min-block-size:2rem;margin:0;padding:0;list-style:none}.aeris-progress-bar__step{position:absolute;inset-block-start:0;inset-inline-start:var(--aeris-progress-bar-step-position);display:grid;justify-items:center;gap:.35rem;max-inline-size:8rem;color:var(--aeris-progress-bar-step-text, var(--aeris-text-3, #6f7667));font-size:.75rem;font-weight:700;text-align:center;transform:translate(-50%)}.aeris-progress-bar__step-marker{inline-size:var(--aeris-progress-bar-step-marker-size, .75rem);block-size:var(--aeris-progress-bar-step-marker-size, .75rem);border:2px solid var(--aeris-progress-bar-step-border, var(--aeris-border-strong, #c7c9c0));border-radius:999px;background:var(--aeris-progress-bar-step-background, var(--aeris-surface, #fff));box-shadow:0 0 0 2px var(--aeris-progress-bar-step-ring, var(--aeris-surface, #fff))}.aeris-progress-bar__step[data-complete=true]{color:var(--aeris-progress-bar-step-complete-text, var(--aeris-text, #222222))}.aeris-progress-bar__step[data-complete=true] .aeris-progress-bar__step-marker{border-color:var(--_accent);background:var(--_accent)}.aeris-progress-bar__step[data-active=true] .aeris-progress-bar__step-marker{box-shadow:0 0 0 2px var(--aeris-progress-bar-step-ring, var(--aeris-surface, #fff)),0 0 0 5px color-mix(in srgb,var(--_accent) 22%,transparent)}@keyframes aeris-progress-bar-indeterminate{0%{transform:translate(-115%)}55%{transform:translate(80%)}to{transform:translate(245%)}}@keyframes aeris-progress-bar-stripes{0%{background-position:0 0}to{background-position:1.2rem 0}}@media(max-width:36rem){.aeris-progress-bar__steps{min-block-size:3rem}.aeris-progress-bar__step-label{max-inline-size:4.5rem}}@media(prefers-reduced-motion:reduce){.aeris-progress-bar__fill{transition:none;animation:none!important}}\n"] }]
248
- }], propDecorators: { valueTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisProgressBarValueTemplate), { isSignal: true }] }], stepTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisProgressBarStepTemplate), { isSignal: true }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], severity: [{ type: i0.Input, args: [{ isSignal: true, alias: "severity", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], showValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "showValue", required: false }] }], striped: [{ type: i0.Input, args: [{ isSignal: true, alias: "striped", required: false }] }], animated: [{ type: i0.Input, args: [{ isSignal: true, alias: "animated", required: false }] }], rounded: [{ type: i0.Input, args: [{ isSignal: true, alias: "rounded", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], ariaValueText: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaValueText", required: false }] }], steps: [{ type: i0.Input, args: [{ isSignal: true, alias: "steps", required: false }] }], activeStep: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeStep", required: false }] }], valueFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormatter", required: false }] }] } });
502
+ `,
503
+ host: {
504
+ class: "aeris-progress-bar",
505
+ "[attr.id]": "id()",
506
+ role: "progressbar",
507
+ "[attr.aria-valuemin]": "mode() === \"determinate\" ? normalizedMin() : null",
508
+ "[attr.aria-valuemax]": "mode() === \"determinate\" ? normalizedMax() : null",
509
+ "[attr.aria-valuenow]": "mode() === \"determinate\" ? clampedValue() : null",
510
+ "[attr.aria-valuetext]": "resolvedAriaValueText()",
511
+ "[attr.aria-label]": "ariaLabel() || null",
512
+ "[attr.aria-labelledby]": "ariaLabelledBy() || null",
513
+ "[attr.aria-describedby]": "ariaDescribedBy() || null",
514
+ "[attr.data-mode]": "mode()",
515
+ "[attr.data-severity]": "severity()",
516
+ "[attr.data-size]": "size()",
517
+ "[attr.data-striped]": "striped() || null",
518
+ "[attr.data-animated]": "animated() || null",
519
+ "[attr.data-rounded]": "rounded() || null",
520
+ "[style.--aeris-progress-bar-value]": "percentStyle()"
521
+ },
522
+ styles: [":host{--_accent: var(--aeris-primary, #111111);--_on-accent: var(--aeris-on-primary, #ffffff);--_height: var(--aeris-progress-bar-height, .875rem);display:grid;gap:var(--aeris-progress-bar-gap, .75rem);min-inline-size:0;color:var(--aeris-progress-bar-text, var(--aeris-text, #111111))}:host([data-size=sm]){--_height: var(--aeris-progress-bar-sm-height, .5rem)}:host([data-size=lg]){--_height: var(--aeris-progress-bar-lg-height, 1.25rem)}:host([data-severity=secondary]){--_accent: var(--aeris-surface-3, var(--aeris-border, #efefef));--_on-accent: var(--aeris-text, #111111)}:host([data-severity=success]){--_accent: var(--aeris-success, #6f8a68);--_on-accent: #fff}:host([data-severity=info]){--_accent: var(--aeris-info, #6b8793);--_on-accent: #fff}:host([data-severity=warning]){--_accent: var(--aeris-warning, #c38600);--_on-accent: var(--aeris-on-warning, #211600)}:host([data-severity=danger]){--_accent: var(--aeris-danger, #c81e2a);--_on-accent: #fff}:host([data-severity=neutral]){--_accent: var(--aeris-text-3, #6f7667);--_on-accent: #fff}:host([data-severity=contrast]){--_accent: var(--aeris-text, #111111);--_on-accent: var(--aeris-surface, #fff)}.aeris-progress-bar__track{position:relative;min-inline-size:0;block-size:var(--_height);overflow:hidden;border-radius:var(--aeris-progress-bar-radius, 999px);background:var(--aeris-progress-bar-track, color-mix(in srgb, var(--_accent) 14%, var(--aeris-surface-2, #f3f3f3)));box-shadow:inset 0 0 0 1px var(--aeris-progress-bar-track-border, color-mix(in srgb, var(--_accent) 12%, transparent))}:host([data-rounded=false]) .aeris-progress-bar__track{border-radius:var(--aeris-radius-sm, .4375rem)}.aeris-progress-bar__fill{position:absolute;inset-block:0;inset-inline-start:0;inline-size:0%;min-inline-size:0;border-radius:inherit;background:var(--aeris-progress-bar-fill, var(--_accent));transition:inline-size var(--aeris-motion-emphasized, .32s) var(--aeris-ease-enter, ease-out),opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}:host([data-striped=true]) :is(.aeris-progress-bar__fill,.aeris-progress-bar__sweep){background:linear-gradient(45deg,color-mix(in srgb,#fff 22%,transparent) 25%,transparent 25%,transparent 50%,color-mix(in srgb,#fff 22%,transparent) 50%,color-mix(in srgb,#fff 22%,transparent) 75%,transparent 75%,transparent),var(--aeris-progress-bar-fill, var(--_accent));background-size:1.2rem 1.2rem}:host([data-mode=determinate][data-striped=true][data-animated=true]) .aeris-progress-bar__fill{animation:aeris-progress-bar-stripes .9s linear infinite}:host([data-mode=indeterminate]) .aeris-progress-bar__fill{opacity:0}.aeris-progress-bar__activity{position:absolute;inset:0;border-radius:inherit;opacity:0;visibility:hidden;transition:opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),visibility 0s var(--aeris-motion-normal, .15s)}:host([data-mode=indeterminate]) .aeris-progress-bar__activity{opacity:1;visibility:visible;transition-delay:0s}.aeris-progress-bar__sweep{position:absolute;inset-block:0;inset-inline-start:0;inline-size:42%;border-radius:inherit;background:var(--aeris-progress-bar-fill, var(--_accent));animation:aeris-progress-bar-indeterminate 1.25s ease-in-out infinite;animation-play-state:paused}:host([data-mode=indeterminate]) .aeris-progress-bar__sweep{animation-play-state:running}:host(:dir(rtl)) .aeris-progress-bar__sweep{animation-name:aeris-progress-bar-indeterminate-rtl}.aeris-progress-bar__value{position:absolute;inset:0;z-index:1;display:inline-grid;place-items:center;padding-inline:.5rem;color:var(--aeris-progress-bar-value-text, var(--_on-accent));font-size:var(--aeris-progress-bar-value-font-size, .75rem);font-weight:var(--aeris-font-weight-bold, 700);line-height:1;text-shadow:0 1px 1px rgba(0,0,0,.14)}:host([data-size=sm]) .aeris-progress-bar__value{display:none}.aeris-progress-bar__steps{position:relative;display:block;min-block-size:2.75rem;margin:0;padding:0;list-style:none}.aeris-progress-bar__step{position:absolute;inset-block-start:0;inset-inline-start:var(--aeris-progress-bar-step-position);display:grid;justify-items:center;gap:.35rem;inline-size:max-content;max-inline-size:min(8rem,40vw);color:var(--aeris-progress-bar-step-text, var(--aeris-text-3, #6f7667));font-size:var(--aeris-font-size-sm, .75rem);font-weight:var(--aeris-font-weight-bold, 700);text-align:center;transform:translate(-50%)}.aeris-progress-bar__step[data-edge-start=true]{justify-items:start;text-align:start;transform:none}.aeris-progress-bar__step[data-edge-end=true]{justify-items:end;text-align:end;transform:translate(-100%)}.aeris-progress-bar__step-label{max-inline-size:inherit;overflow-wrap:normal;word-break:normal}:host-context([dir=rtl]) .aeris-progress-bar__step{transform:translate(50%)}:host-context([dir=rtl]) .aeris-progress-bar__step[data-edge-start=true]{transform:none}:host-context([dir=rtl]) .aeris-progress-bar__step[data-edge-end=true]{transform:translate(100%)}.aeris-progress-bar__step-marker{display:block;inline-size:var(--aeris-progress-bar-step-marker-size, 1.25rem);block-size:var(--aeris-progress-bar-step-marker-size, 1.25rem);overflow:hidden}.aeris-progress-bar__step-dot{fill:var(--aeris-progress-bar-step-background, var(--aeris-surface, #fff));stroke:var(--aeris-progress-bar-step-border, var(--aeris-border, #efefef));stroke-width:2;transition:fill var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),stroke var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-progress-bar__step-selected{fill:var(--_accent);stroke:none}.aeris-progress-bar__step[data-complete=true]{color:var(--aeris-progress-bar-step-complete-text, var(--aeris-text, #111111))}.aeris-progress-bar__step[data-complete=true] .aeris-progress-bar__step-dot{stroke:var(--_accent);fill:var(--_accent)}@keyframes aeris-progress-bar-indeterminate{0%{transform:translate(-115%)}55%{transform:translate(80%)}to{transform:translate(245%)}}@keyframes aeris-progress-bar-indeterminate-rtl{0%{transform:translate(115%)}55%{transform:translate(-80%)}to{transform:translate(-245%)}}@keyframes aeris-progress-bar-stripes{0%{background-position:0 0}to{background-position:1.2rem 0}}@media(max-width:36rem){.aeris-progress-bar__steps{min-block-size:3rem}.aeris-progress-bar__step-label{max-inline-size:4.5rem}}@media(prefers-reduced-motion:reduce){.aeris-progress-bar__fill,.aeris-progress-bar__activity,.aeris-progress-bar__sweep,.aeris-progress-bar__step-dot{transition:none;animation:none!important}}\n"]
523
+ }]
524
+ }],
525
+ propDecorators: {
526
+ valueTemplate: [{
527
+ type: i0.ContentChild,
528
+ args: [i0.forwardRef(() => AerisProgressBarValueTemplate), { isSignal: true }]
529
+ }],
530
+ stepTemplate: [{
531
+ type: i0.ContentChild,
532
+ args: [i0.forwardRef(() => AerisProgressBarStepTemplate), { isSignal: true }]
533
+ }],
534
+ id: [{
535
+ type: i0.Input,
536
+ args: [{
537
+ isSignal: true,
538
+ alias: "id",
539
+ required: false
540
+ }]
541
+ }],
542
+ value: [{
543
+ type: i0.Input,
544
+ args: [{
545
+ isSignal: true,
546
+ alias: "value",
547
+ required: false
548
+ }]
549
+ }],
550
+ min: [{
551
+ type: i0.Input,
552
+ args: [{
553
+ isSignal: true,
554
+ alias: "min",
555
+ required: false
556
+ }]
557
+ }],
558
+ max: [{
559
+ type: i0.Input,
560
+ args: [{
561
+ isSignal: true,
562
+ alias: "max",
563
+ required: false
564
+ }]
565
+ }],
566
+ mode: [{
567
+ type: i0.Input,
568
+ args: [{
569
+ isSignal: true,
570
+ alias: "mode",
571
+ required: false
572
+ }]
573
+ }],
574
+ severity: [{
575
+ type: i0.Input,
576
+ args: [{
577
+ isSignal: true,
578
+ alias: "severity",
579
+ required: false
580
+ }]
581
+ }],
582
+ size: [{
583
+ type: i0.Input,
584
+ args: [{
585
+ isSignal: true,
586
+ alias: "size",
587
+ required: false
588
+ }]
589
+ }],
590
+ showValue: [{
591
+ type: i0.Input,
592
+ args: [{
593
+ isSignal: true,
594
+ alias: "showValue",
595
+ required: false
596
+ }]
597
+ }],
598
+ striped: [{
599
+ type: i0.Input,
600
+ args: [{
601
+ isSignal: true,
602
+ alias: "striped",
603
+ required: false
604
+ }]
605
+ }],
606
+ animated: [{
607
+ type: i0.Input,
608
+ args: [{
609
+ isSignal: true,
610
+ alias: "animated",
611
+ required: false
612
+ }]
613
+ }],
614
+ rounded: [{
615
+ type: i0.Input,
616
+ args: [{
617
+ isSignal: true,
618
+ alias: "rounded",
619
+ required: false
620
+ }]
621
+ }],
622
+ ariaLabel: [{
623
+ type: i0.Input,
624
+ args: [{
625
+ isSignal: true,
626
+ alias: "ariaLabel",
627
+ required: false
628
+ }]
629
+ }],
630
+ ariaLabelledBy: [{
631
+ type: i0.Input,
632
+ args: [{
633
+ isSignal: true,
634
+ alias: "ariaLabelledBy",
635
+ required: false
636
+ }]
637
+ }],
638
+ ariaDescribedBy: [{
639
+ type: i0.Input,
640
+ args: [{
641
+ isSignal: true,
642
+ alias: "ariaDescribedBy",
643
+ required: false
644
+ }]
645
+ }],
646
+ ariaValueText: [{
647
+ type: i0.Input,
648
+ args: [{
649
+ isSignal: true,
650
+ alias: "ariaValueText",
651
+ required: false
652
+ }]
653
+ }],
654
+ steps: [{
655
+ type: i0.Input,
656
+ args: [{
657
+ isSignal: true,
658
+ alias: "steps",
659
+ required: false
660
+ }]
661
+ }],
662
+ activeStep: [{
663
+ type: i0.Input,
664
+ args: [{
665
+ isSignal: true,
666
+ alias: "activeStep",
667
+ required: false
668
+ }]
669
+ }],
670
+ valueFormatter: [{
671
+ type: i0.Input,
672
+ args: [{
673
+ isSignal: true,
674
+ alias: "valueFormatter",
675
+ required: false
676
+ }]
677
+ }]
678
+ }
679
+ });
249
680
  const AerisProgressBarModule = [
250
- AerisProgressBar,
251
- AerisProgressBarValueTemplate,
252
- AerisProgressBarStepTemplate,
681
+ AerisProgressBar,
682
+ AerisProgressBarValueTemplate,
683
+ AerisProgressBarStepTemplate
253
684
  ];
254
-
255
- /**
256
- * Generated bundle index. Do not edit.
257
- */
258
-
259
685
  export { AerisProgressBar, AerisProgressBarModule, AerisProgressBarStepTemplate, AerisProgressBarValueTemplate };
260
- //# sourceMappingURL=aeris-ui-core-progress-bar.mjs.map
686
+
687
+ //# sourceMappingURL=aeris-ui-core-progress-bar.mjs.map