@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,119 +1,305 @@
1
- import { NgTemplateOutlet } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { inject, TemplateRef, Directive, contentChild, model, input, booleanAttribute, numberAttribute, output, computed, effect, Component } from '@angular/core';
4
-
5
- class AerisMessageIconTemplate {
6
- template = inject(TemplateRef);
7
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisMessageIconTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisMessageIconTemplate, isStandalone: true, selector: "ng-template[aerisMessageIcon]", ngImport: i0 });
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisMessageIconTemplate, decorators: [{
11
- type: Directive,
12
- args: [{ selector: 'ng-template[aerisMessageIcon]' }]
13
- }] });
14
- class AerisMessageContentTemplate {
15
- template = inject(TemplateRef);
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisMessageContentTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
17
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisMessageContentTemplate, isStandalone: true, selector: "ng-template[aerisMessageContent]", ngImport: i0 });
18
- }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisMessageContentTemplate, decorators: [{
20
- type: Directive,
21
- args: [{ selector: 'ng-template[aerisMessageContent]' }]
22
- }] });
1
+ import { NgTemplateOutlet } from "@angular/common";
2
+ import * as i0 from "@angular/core";
3
+ import { Component, Directive, TemplateRef, booleanAttribute, computed, contentChild, effect, inject, input, model, numberAttribute, output } from "@angular/core";
4
+ import { ɵAerisIcon } from "@aeris-ui/core";
5
+ var AerisMessageIconTemplate = class AerisMessageIconTemplate {
6
+ template = inject(TemplateRef);
7
+ static ɵfac = i0.ɵɵngDeclareFactory({
8
+ minVersion: "12.0.0",
9
+ version: "22.2.3",
10
+ ngImport: i0,
11
+ type: AerisMessageIconTemplate,
12
+ deps: [],
13
+ target: i0.ɵɵFactoryTarget.Directive
14
+ });
15
+ static ɵdir = i0.ɵɵngDeclareDirective({
16
+ minVersion: "14.0.0",
17
+ version: "22.2.3",
18
+ type: AerisMessageIconTemplate,
19
+ isStandalone: true,
20
+ selector: "ng-template[aerisMessageIcon]",
21
+ ngImport: i0
22
+ });
23
+ };
24
+ i0.ɵɵngDeclareClassMetadata({
25
+ minVersion: "12.0.0",
26
+ version: "22.2.3",
27
+ ngImport: i0,
28
+ type: AerisMessageIconTemplate,
29
+ decorators: [{
30
+ type: Directive,
31
+ args: [{ selector: "ng-template[aerisMessageIcon]" }]
32
+ }]
33
+ });
34
+ var AerisMessageContentTemplate = class AerisMessageContentTemplate {
35
+ template = inject(TemplateRef);
36
+ static ɵfac = i0.ɵɵngDeclareFactory({
37
+ minVersion: "12.0.0",
38
+ version: "22.2.3",
39
+ ngImport: i0,
40
+ type: AerisMessageContentTemplate,
41
+ deps: [],
42
+ target: i0.ɵɵFactoryTarget.Directive
43
+ });
44
+ static ɵdir = i0.ɵɵngDeclareDirective({
45
+ minVersion: "14.0.0",
46
+ version: "22.2.3",
47
+ type: AerisMessageContentTemplate,
48
+ isStandalone: true,
49
+ selector: "ng-template[aerisMessageContent]",
50
+ ngImport: i0
51
+ });
52
+ };
53
+ i0.ɵɵngDeclareClassMetadata({
54
+ minVersion: "12.0.0",
55
+ version: "22.2.3",
56
+ ngImport: i0,
57
+ type: AerisMessageContentTemplate,
58
+ decorators: [{
59
+ type: Directive,
60
+ args: [{ selector: "ng-template[aerisMessageContent]" }]
61
+ }]
62
+ });
23
63
  let nextMessageId = 0;
24
- class AerisMessage {
25
- generatedId = `aeris-message-${++nextMessageId}`;
26
- iconTemplate = contentChild(AerisMessageIconTemplate, /* @ts-ignore */
27
- ...(ngDevMode ? [{ debugName: "iconTemplate" }] : /* istanbul ignore next */ []));
28
- contentTemplate = contentChild(AerisMessageContentTemplate, /* @ts-ignore */
29
- ...(ngDevMode ? [{ debugName: "contentTemplate" }] : /* istanbul ignore next */ []));
30
- lifeTimer;
31
- visible = model(true, /* @ts-ignore */
32
- ...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
33
- id = input(this.generatedId, /* @ts-ignore */
34
- ...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
35
- severity = input('info', /* @ts-ignore */
36
- ...(ngDevMode ? [{ debugName: "severity" }] : /* istanbul ignore next */ []));
37
- variant = input('filled', /* @ts-ignore */
38
- ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
39
- size = input('md', /* @ts-ignore */
40
- ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
41
- text = input('', /* @ts-ignore */
42
- ...(ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []));
43
- closable = input(false, { ...(ngDevMode ? { debugName: "closable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
44
- life = input(0, { ...(ngDevMode ? { debugName: "life" } : /* istanbul ignore next */ {}), transform: numberAttribute });
45
- showIcon = input(true, { ...(ngDevMode ? { debugName: "showIcon" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
46
- role = input('', /* @ts-ignore */
47
- ...(ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []));
48
- ariaLive = input('', /* @ts-ignore */
49
- ...(ngDevMode ? [{ debugName: "ariaLive" }] : /* istanbul ignore next */ []));
50
- ariaLabel = input('', /* @ts-ignore */
51
- ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
52
- ariaLabelledBy = input('', /* @ts-ignore */
53
- ...(ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
54
- closeAriaLabel = input('Close message', /* @ts-ignore */
55
- ...(ngDevMode ? [{ debugName: "closeAriaLabel" }] : /* istanbul ignore next */ []));
56
- closed = output();
57
- visibilityChanged = output();
58
- resolvedRole = computed(() => {
59
- const role = this.role();
60
- if (role)
61
- return role;
62
- return this.severity() === 'error' || this.severity() === 'warning' ? 'alert' : 'status';
63
- }, /* @ts-ignore */
64
- ...(ngDevMode ? [{ debugName: "resolvedRole" }] : /* istanbul ignore next */ []));
65
- resolvedLive = computed(() => {
66
- const live = this.ariaLive();
67
- if (live)
68
- return live;
69
- return this.resolvedRole() === 'alert' ? 'assertive' : 'polite';
70
- }, /* @ts-ignore */
71
- ...(ngDevMode ? [{ debugName: "resolvedLive" }] : /* istanbul ignore next */ []));
72
- templateContext = computed(() => ({
73
- $implicit: this,
74
- message: this,
75
- close: (event) => this.close(event ?? null, 'api'),
76
- severity: this.severity(),
77
- }), /* @ts-ignore */
78
- ...(ngDevMode ? [{ debugName: "templateContext" }] : /* istanbul ignore next */ []));
79
- constructor() {
80
- effect((onCleanup) => {
81
- if (!this.visible()) {
82
- this.clearLifeTimer();
83
- return;
84
- }
85
- const life = this.life();
86
- if (Number.isFinite(life) && life > 0) {
87
- this.lifeTimer = globalThis.setTimeout(() => this.close(null, 'timeout'), life);
88
- }
89
- onCleanup(() => this.clearLifeTimer());
90
- });
91
- }
92
- close(originalEvent = null, reason = 'api') {
93
- if (!this.visible())
94
- return;
95
- this.clearLifeTimer();
96
- this.visible.set(false);
97
- this.visibilityChanged.emit(false);
98
- this.closed.emit({ originalEvent, reason });
99
- }
100
- show() {
101
- if (this.visible())
102
- return;
103
- this.visible.set(true);
104
- this.visibilityChanged.emit(true);
105
- }
106
- hide() {
107
- this.close(null, 'api');
108
- }
109
- clearLifeTimer() {
110
- if (!this.lifeTimer)
111
- return;
112
- globalThis.clearTimeout(this.lifeTimer);
113
- this.lifeTimer = undefined;
114
- }
115
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisMessage, deps: [], target: i0.ɵɵFactoryTarget.Component });
116
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: AerisMessage, isStandalone: true, selector: "aeris-message", inputs: { visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, severity: { classPropertyName: "severity", publicName: "severity", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, life: { classPropertyName: "life", publicName: "life", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, role: { classPropertyName: "role", publicName: "role", isSignal: true, isRequired: false, transformFunction: null }, ariaLive: { classPropertyName: "ariaLive", publicName: "ariaLive", 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 }, closeAriaLabel: { classPropertyName: "closeAriaLabel", publicName: "closeAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange", closed: "closed", visibilityChanged: "visibilityChanged" }, host: { properties: { "attr.id": "id()", "attr.role": "visible() ? resolvedRole() : null", "attr.aria-live": "visible() ? resolvedLive() : null", "attr.aria-atomic": "visible() ? \"true\" : null", "attr.aria-label": "visible() && ariaLabel() ? ariaLabel() : null", "attr.aria-labelledby": "visible() && ariaLabelledBy() ? ariaLabelledBy() : null", "attr.data-visible": "visible() || null", "attr.data-severity": "severity()", "attr.data-variant": "variant()", "attr.data-size": "size()", "attr.data-closable": "closable() || null", "attr.data-icon": "showIcon() || null" }, classAttribute: "aeris-message" }, queries: [{ propertyName: "iconTemplate", first: true, predicate: AerisMessageIconTemplate, descendants: true, isSignal: true }, { propertyName: "contentTemplate", first: true, predicate: AerisMessageContentTemplate, descendants: true, isSignal: true }], ngImport: i0, template: `
64
+ var AerisMessage = class AerisMessage {
65
+ closeIconTemplate = input(...ngDevMode ? [void 0, { debugName: "closeIconTemplate" }] : /* istanbul ignore next */ []);
66
+ generatedId = `aeris-message-${++nextMessageId}`;
67
+ iconTemplate = contentChild(AerisMessageIconTemplate, ...ngDevMode ? [{ debugName: "iconTemplate" }] : /* istanbul ignore next */ []);
68
+ contentTemplate = contentChild(AerisMessageContentTemplate, ...ngDevMode ? [{ debugName: "contentTemplate" }] : /* istanbul ignore next */ []);
69
+ lifeTimer;
70
+ visible = model(true, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
71
+ id = input(this.generatedId, ...ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []);
72
+ severity = input("info", ...ngDevMode ? [{ debugName: "severity" }] : /* istanbul ignore next */ []);
73
+ variant = input("filled", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
74
+ size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
75
+ text = input("", ...ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []);
76
+ closable = input(false, {
77
+ ...ngDevMode ? { debugName: "closable" } : /* istanbul ignore next */ {},
78
+ transform: booleanAttribute
79
+ });
80
+ life = input(0, {
81
+ ...ngDevMode ? { debugName: "life" } : /* istanbul ignore next */ {},
82
+ transform: numberAttribute
83
+ });
84
+ showIcon = input(true, {
85
+ ...ngDevMode ? { debugName: "showIcon" } : /* istanbul ignore next */ {},
86
+ transform: booleanAttribute
87
+ });
88
+ role = input("", ...ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []);
89
+ ariaLive = input("", ...ngDevMode ? [{ debugName: "ariaLive" }] : /* istanbul ignore next */ []);
90
+ ariaLabel = input("", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
91
+ ariaLabelledBy = input("", ...ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []);
92
+ closeAriaLabel = input("Close message", ...ngDevMode ? [{ debugName: "closeAriaLabel" }] : /* istanbul ignore next */ []);
93
+ closed = output();
94
+ visibilityChanged = output();
95
+ resolvedRole = computed(() => {
96
+ const role = this.role();
97
+ if (role) return role;
98
+ return this.severity() === "danger" || this.severity() === "warning" ? "alert" : "status";
99
+ }, ...ngDevMode ? [{ debugName: "resolvedRole" }] : /* istanbul ignore next */ []);
100
+ resolvedLive = computed(() => {
101
+ const live = this.ariaLive();
102
+ if (live) return live;
103
+ return this.resolvedRole() === "alert" ? "assertive" : "polite";
104
+ }, ...ngDevMode ? [{ debugName: "resolvedLive" }] : /* istanbul ignore next */ []);
105
+ templateContext = computed(() => ({
106
+ $implicit: this,
107
+ message: this,
108
+ close: (event) => this.close(event ?? null, "api"),
109
+ severity: this.severity()
110
+ }), ...ngDevMode ? [{ debugName: "templateContext" }] : /* istanbul ignore next */ []);
111
+ constructor() {
112
+ effect((onCleanup) => {
113
+ if (!this.visible()) {
114
+ this.clearLifeTimer();
115
+ return;
116
+ }
117
+ const life = this.life();
118
+ if (Number.isFinite(life) && life > 0) this.lifeTimer = globalThis.setTimeout(() => this.close(null, "timeout"), life);
119
+ onCleanup(() => this.clearLifeTimer());
120
+ });
121
+ }
122
+ close(originalEvent = null, reason = "api") {
123
+ if (!this.visible()) return;
124
+ this.clearLifeTimer();
125
+ this.visible.set(false);
126
+ this.visibilityChanged.emit(false);
127
+ this.closed.emit({
128
+ originalEvent,
129
+ reason
130
+ });
131
+ }
132
+ show() {
133
+ if (this.visible()) return;
134
+ this.visible.set(true);
135
+ this.visibilityChanged.emit(true);
136
+ }
137
+ hide() {
138
+ this.close(null, "api");
139
+ }
140
+ clearLifeTimer() {
141
+ if (!this.lifeTimer) return;
142
+ globalThis.clearTimeout(this.lifeTimer);
143
+ this.lifeTimer = void 0;
144
+ }
145
+ static ɵfac = i0.ɵɵngDeclareFactory({
146
+ minVersion: "12.0.0",
147
+ version: "22.2.3",
148
+ ngImport: i0,
149
+ type: AerisMessage,
150
+ deps: [],
151
+ target: i0.ɵɵFactoryTarget.Component
152
+ });
153
+ static ɵcmp = i0.ɵɵngDeclareComponent({
154
+ minVersion: "17.0.0",
155
+ version: "22.2.3",
156
+ type: AerisMessage,
157
+ isStandalone: true,
158
+ selector: "aeris-message",
159
+ inputs: {
160
+ closeIconTemplate: {
161
+ classPropertyName: "closeIconTemplate",
162
+ publicName: "closeIconTemplate",
163
+ isSignal: true,
164
+ isRequired: false,
165
+ transformFunction: null
166
+ },
167
+ visible: {
168
+ classPropertyName: "visible",
169
+ publicName: "visible",
170
+ isSignal: true,
171
+ isRequired: false,
172
+ transformFunction: null
173
+ },
174
+ id: {
175
+ classPropertyName: "id",
176
+ publicName: "id",
177
+ isSignal: true,
178
+ isRequired: false,
179
+ transformFunction: null
180
+ },
181
+ severity: {
182
+ classPropertyName: "severity",
183
+ publicName: "severity",
184
+ isSignal: true,
185
+ isRequired: false,
186
+ transformFunction: null
187
+ },
188
+ variant: {
189
+ classPropertyName: "variant",
190
+ publicName: "variant",
191
+ isSignal: true,
192
+ isRequired: false,
193
+ transformFunction: null
194
+ },
195
+ size: {
196
+ classPropertyName: "size",
197
+ publicName: "size",
198
+ isSignal: true,
199
+ isRequired: false,
200
+ transformFunction: null
201
+ },
202
+ text: {
203
+ classPropertyName: "text",
204
+ publicName: "text",
205
+ isSignal: true,
206
+ isRequired: false,
207
+ transformFunction: null
208
+ },
209
+ closable: {
210
+ classPropertyName: "closable",
211
+ publicName: "closable",
212
+ isSignal: true,
213
+ isRequired: false,
214
+ transformFunction: null
215
+ },
216
+ life: {
217
+ classPropertyName: "life",
218
+ publicName: "life",
219
+ isSignal: true,
220
+ isRequired: false,
221
+ transformFunction: null
222
+ },
223
+ showIcon: {
224
+ classPropertyName: "showIcon",
225
+ publicName: "showIcon",
226
+ isSignal: true,
227
+ isRequired: false,
228
+ transformFunction: null
229
+ },
230
+ role: {
231
+ classPropertyName: "role",
232
+ publicName: "role",
233
+ isSignal: true,
234
+ isRequired: false,
235
+ transformFunction: null
236
+ },
237
+ ariaLive: {
238
+ classPropertyName: "ariaLive",
239
+ publicName: "ariaLive",
240
+ isSignal: true,
241
+ isRequired: false,
242
+ transformFunction: null
243
+ },
244
+ ariaLabel: {
245
+ classPropertyName: "ariaLabel",
246
+ publicName: "ariaLabel",
247
+ isSignal: true,
248
+ isRequired: false,
249
+ transformFunction: null
250
+ },
251
+ ariaLabelledBy: {
252
+ classPropertyName: "ariaLabelledBy",
253
+ publicName: "ariaLabelledBy",
254
+ isSignal: true,
255
+ isRequired: false,
256
+ transformFunction: null
257
+ },
258
+ closeAriaLabel: {
259
+ classPropertyName: "closeAriaLabel",
260
+ publicName: "closeAriaLabel",
261
+ isSignal: true,
262
+ isRequired: false,
263
+ transformFunction: null
264
+ }
265
+ },
266
+ outputs: {
267
+ visible: "visibleChange",
268
+ closed: "closed",
269
+ visibilityChanged: "visibilityChanged"
270
+ },
271
+ host: {
272
+ properties: {
273
+ "attr.id": "id()",
274
+ "attr.role": "visible() ? resolvedRole() : null",
275
+ "attr.aria-live": "visible() ? resolvedLive() : null",
276
+ "attr.aria-atomic": "visible() ? \"true\" : null",
277
+ "attr.aria-label": "visible() && ariaLabel() ? ariaLabel() : null",
278
+ "attr.aria-labelledby": "visible() && ariaLabelledBy() ? ariaLabelledBy() : null",
279
+ "attr.data-visible": "visible() || null",
280
+ "attr.data-severity": "severity()",
281
+ "attr.data-variant": "variant()",
282
+ "attr.data-size": "size()",
283
+ "attr.data-closable": "closable() || null",
284
+ "attr.data-icon": "showIcon() || null"
285
+ },
286
+ classAttribute: "aeris-message"
287
+ },
288
+ queries: [{
289
+ propertyName: "iconTemplate",
290
+ first: true,
291
+ predicate: AerisMessageIconTemplate,
292
+ descendants: true,
293
+ isSignal: true
294
+ }, {
295
+ propertyName: "contentTemplate",
296
+ first: true,
297
+ predicate: AerisMessageContentTemplate,
298
+ descendants: true,
299
+ isSignal: true
300
+ }],
301
+ ngImport: i0,
302
+ template: `
117
303
  @if (visible()) {
118
304
  @if (showIcon()) {
119
305
  <span class="aeris-message__icon" aria-hidden="true">
@@ -148,15 +334,47 @@ class AerisMessage {
148
334
  [attr.aria-label]="closeAriaLabel()"
149
335
  (click)="close($event, 'close-button')"
150
336
  >
151
- <span aria-hidden="true"></span>
337
+ @if (closeIconTemplate(); as customIcon) {
338
+ <span aria-hidden="true" data-aeris-custom-icon
339
+ ><ng-container [ngTemplateOutlet]="customIcon"
340
+ /></span>
341
+ } @else {
342
+ <span aerisInternalIcon="close" aria-hidden="true"></span>
343
+ }
152
344
  </button>
153
345
  }
154
346
  }
155
- `, isInline: true, styles: [":host{--_accent: var(--aeris-primary, #879566);--_accent-soft: color-mix(in srgb, var(--_accent) 14%, transparent);--_accent-border: color-mix(in srgb, var(--_accent) 36%, var(--aeris-border, #deddd7));--_surface: color-mix(in srgb, var(--aeris-surface, #fff) 94%, var(--_accent-soft));--_text: var(--aeris-text, #222222);--_muted: var(--aeris-text-2, #555555);min-width:0;display:inline-grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.625rem;padding:.625rem .75rem;border:1px solid var(--_accent-border);border-radius:var(--aeris-radius-md, .75rem);background:linear-gradient(90deg,var(--_accent-soft),transparent 42%),var(--_surface);color:var(--_text);box-shadow:var(--aeris-shadow-sm, 0 1px 2px rgba(31, 35, 27, .06));font-size:.875rem;line-height:1.45;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,opacity .15s ease,transform .15s ease}:host(:not([data-visible])){display:none}:host([data-severity=success]){--_accent: var(--aeris-success, #6f8a68)}:host([data-severity=info]){--_accent: var(--aeris-info, #6b8793)}:host([data-severity=warning]){--_accent: var(--aeris-warning, #c38600)}:host([data-severity=error]){--_accent: var(--aeris-danger, #c81e2a)}:host([data-severity=neutral]),:host([data-severity=secondary]){--_accent: var(--aeris-text-2, #555555)}:host([data-severity=contrast]){--_accent: var(--aeris-text, #222222)}:host([data-variant=outlined]){--_surface: transparent;background:transparent;box-shadow:none}:host([data-variant=simple]){--_surface: transparent;padding-inline:0;border-color:transparent;background:transparent;box-shadow:none}:host([data-size=sm]){gap:.5rem;padding:.45rem .625rem;border-radius:var(--aeris-radius-sm, .5rem);font-size:.8125rem}:host([data-size=lg]){gap:.75rem;padding:.8125rem .95rem;font-size:.9375rem}:host([data-size=sm][data-variant=simple]){padding-inline:0}:host([data-size=lg][data-variant=simple]){padding-inline:0}.aeris-message__icon{width:var(--aeris-message-icon-size, 1.15rem);height:var(--aeris-message-icon-size, 1.15rem);display:inline-grid;place-items:center;color:var(--_accent)}:host([data-size=sm]) .aeris-message__icon{--aeris-message-icon-size: 1rem}:host([data-size=lg]) .aeris-message__icon{--aeris-message-icon-size: 1.35rem}.aeris-message__default-icon{position:relative;width:var(--aeris-message-icon-size, 1.15rem);height:var(--aeris-message-icon-size, 1.15rem);display:block;border:2px solid currentColor;border-radius:999px}.aeris-message__default-icon:before,.aeris-message__default-icon:after{position:absolute;content:\"\";background:currentColor}.aeris-message__default-icon:before{width:.125rem;height:.4rem;top:.45rem;left:50%;border-radius:999px;transform:translate(-50%)}.aeris-message__default-icon:after{width:.15625rem;height:.15625rem;top:.22rem;left:50%;border-radius:999px;transform:translate(-50%)}:host([data-severity=success]) .aeris-message__default-icon{border-color:transparent}:host([data-severity=success]) .aeris-message__default-icon:before{inset:0;width:100%;height:100%;background:currentColor;transform:none;-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.25 8.25 6.6 11.6 12.8 4.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\") center/100% 100% no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.25 8.25 6.6 11.6 12.8 4.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\") center/100% 100% no-repeat}:host([data-severity=success]) .aeris-message__default-icon:after{display:none}:host([data-severity=error]) .aeris-message__default-icon:before,:host([data-severity=error]) .aeris-message__default-icon:after{width:.65rem;height:.125rem;top:50%;left:50%;border-radius:999px}:host([data-severity=error]) .aeris-message__default-icon:before{transform:translate(-50%,-50%) rotate(45deg)}:host([data-severity=error]) .aeris-message__default-icon:after{transform:translate(-50%,-50%) rotate(-45deg)}.aeris-message__content{min-width:0;color:inherit}.aeris-message__close{width:1.875rem;height:1.875rem;display:inline-grid;place-items:center;margin:-.25rem -.25rem -.25rem 0;border:0;border-radius:var(--aeris-radius-sm, .5rem);background:transparent;color:var(--_muted);cursor:pointer}.aeris-message__close:hover{background:color-mix(in srgb,var(--aeris-text, #222222) 8%,transparent);color:var(--aeris-text, #222222)}.aeris-message__close:focus-visible{outline:2px solid var(--aeris-focus, #536437);outline-offset:2px}.aeris-message__close span{width:.8rem;height:.8rem;display:block;background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}@media(prefers-reduced-motion:reduce){:host{transition:none}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
156
- }
157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisMessage, decorators: [{
158
- type: Component,
159
- args: [{ selector: 'aeris-message', imports: [NgTemplateOutlet], template: `
347
+ `,
348
+ isInline: true,
349
+ styles: [":host{--_accent: var(--aeris-primary, #111111);--_surface: color-mix( in srgb, var(--_accent) var(--aeris-message-severity-tint, 9%), var(--aeris-surface, #fff) );--_text: var(--aeris-text, #111111);--_muted: var(--aeris-text-2, #454545);min-width:0;display:inline-grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.625rem;padding:.625rem .75rem;border:1px solid var(--aeris-message-border-color, var(--_accent));border-radius:var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem));background:var(--aeris-message-background, var(--_surface));color:var(--_text);box-shadow:var(--aeris-shadow-sm, 0 2px 5px rgba(0, 0, 0, .14));font-size:var(--aeris-font-size-lg, .875rem);line-height:1.45;transition:background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}:host(:not([data-visible])){display:none}:host([data-severity=success]){--_accent: var(--aeris-success, #6f8a68)}:host([data-severity=info]){--_accent: var(--aeris-info, #6b8793)}:host([data-severity=warning]){--_accent: var(--aeris-warning, #c38600)}:host([data-severity=danger]){--_accent: var(--aeris-danger, #c81e2a)}:host([data-severity=neutral]),:host([data-severity=secondary]){--_accent: var(--aeris-text-2, #454545)}:host([data-severity=contrast]){--_accent: var(--aeris-text, #111111)}:host([data-variant=outlined]){--_surface: transparent;background:transparent;box-shadow:none}:host([data-variant=simple]){--_surface: transparent;padding-inline:0;border-color:transparent;background:transparent;box-shadow:none}:host([data-size=sm]){gap:.5rem;padding:.45rem .625rem;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));font-size:var(--aeris-font-size-md, .8125rem)}:host([data-size=lg]){gap:.75rem;padding:.8125rem .95rem;font-size:var(--aeris-font-size-xl, .9375rem)}:host([data-size=sm][data-variant=simple]){padding-inline:0}:host([data-size=lg][data-variant=simple]){padding-inline:0}.aeris-message__icon{width:var(--aeris-message-icon-size, 1.15rem);height:var(--aeris-message-icon-size, 1.15rem);display:inline-grid;place-items:center;color:var(--_accent)}:host([data-size=sm]) .aeris-message__icon{--aeris-message-icon-size: 1rem}:host([data-size=lg]) .aeris-message__icon{--aeris-message-icon-size: 1.35rem}.aeris-message__default-icon{display:block;width:var(--aeris-message-icon-size, 1.25rem);height:var(--aeris-message-icon-size, 1.25rem);background:currentColor;-webkit-mask:var(--aeris-icon-info, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"M12 16v-4\"/%3E%3Cpath d=\"M12 8h.01\"/%3E%3C/svg%3E')) center/100% 100% no-repeat;mask:var(--aeris-icon-info, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"M12 16v-4\"/%3E%3Cpath d=\"M12 8h.01\"/%3E%3C/svg%3E')) center/100% 100% no-repeat}:host([data-severity=success]) .aeris-message__default-icon{-webkit-mask-image:var(--aeris-icon-success, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"m16 9-5.5 5.5L8 12\"/%3E%3C/svg%3E'));mask-image:var(--aeris-icon-success, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"m16 9-5.5 5.5L8 12\"/%3E%3C/svg%3E'))}:host([data-severity=warning]) .aeris-message__default-icon{-webkit-mask-image:var(--aeris-icon-warning, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\"/%3E%3Cpath d=\"M12 9v4\"/%3E%3Cpath d=\"M12 17h.01\"/%3E%3C/svg%3E'));mask-image:var(--aeris-icon-warning, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\"/%3E%3Cpath d=\"M12 9v4\"/%3E%3Cpath d=\"M12 17h.01\"/%3E%3C/svg%3E'))}:host([data-severity=danger]) .aeris-message__default-icon{-webkit-mask-image:var(--aeris-icon-danger, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"m15 9-6 6\"/%3E%3Cpath d=\"m9 9 6 6\"/%3E%3C/svg%3E'));mask-image:var(--aeris-icon-danger, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"m15 9-6 6\"/%3E%3Cpath d=\"m9 9 6 6\"/%3E%3C/svg%3E'))}.aeris-message__content{min-width:0;color:inherit}.aeris-message__close{width:1.875rem;height:1.875rem;display:inline-grid;place-items:center;margin:-.25rem -.25rem -.25rem 0;border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--_muted);cursor:pointer}@media(hover:hover){.aeris-message__close:hover{background:color-mix(in srgb,var(--aeris-text, #111111) 8%,transparent);color:var(--aeris-text, #111111)}}:host [data-aeris-custom-icon]:not([data-aeris-global-icon]){display:inline-flex;align-items:center;justify-content:center;inline-size:var(--aeris-icon-size, 1rem);block-size:var(--aeris-icon-size, 1rem);background:transparent;border:0;box-shadow:none;-webkit-mask:none;mask:none;line-height:1}:host [data-aeris-custom-icon]:before,:host [data-aeris-custom-icon]:after{display:none}.aeris-message__close:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus, #111111);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-message__close span{width:.8rem;height:.8rem;display:block;background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}@media(prefers-reduced-motion:reduce){:host{transition:none}}\n"],
350
+ dependencies: [{
351
+ kind: "component",
352
+ type: ɵAerisIcon,
353
+ selector: "span[aerisInternalIcon]",
354
+ inputs: ["aerisInternalIcon", "aerisInternalIconFallback"]
355
+ }, {
356
+ kind: "directive",
357
+ type: NgTemplateOutlet,
358
+ selector: "[ngTemplateOutlet]",
359
+ inputs: [
360
+ "ngTemplateOutletContext",
361
+ "ngTemplateOutlet",
362
+ "ngTemplateOutletInjector"
363
+ ]
364
+ }]
365
+ });
366
+ };
367
+ i0.ɵɵngDeclareClassMetadata({
368
+ minVersion: "12.0.0",
369
+ version: "22.2.3",
370
+ ngImport: i0,
371
+ type: AerisMessage,
372
+ decorators: [{
373
+ type: Component,
374
+ args: [{
375
+ selector: "aeris-message",
376
+ imports: [ɵAerisIcon, NgTemplateOutlet],
377
+ template: `
160
378
  @if (visible()) {
161
379
  @if (showIcon()) {
162
380
  <span class="aeris-message__icon" aria-hidden="true">
@@ -191,35 +409,183 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
191
409
  [attr.aria-label]="closeAriaLabel()"
192
410
  (click)="close($event, 'close-button')"
193
411
  >
194
- <span aria-hidden="true"></span>
412
+ @if (closeIconTemplate(); as customIcon) {
413
+ <span aria-hidden="true" data-aeris-custom-icon
414
+ ><ng-container [ngTemplateOutlet]="customIcon"
415
+ /></span>
416
+ } @else {
417
+ <span aerisInternalIcon="close" aria-hidden="true"></span>
418
+ }
195
419
  </button>
196
420
  }
197
421
  }
198
- `, host: {
199
- class: 'aeris-message',
200
- '[attr.id]': 'id()',
201
- '[attr.role]': 'visible() ? resolvedRole() : null',
202
- '[attr.aria-live]': 'visible() ? resolvedLive() : null',
203
- '[attr.aria-atomic]': 'visible() ? "true" : null',
204
- '[attr.aria-label]': 'visible() && ariaLabel() ? ariaLabel() : null',
205
- '[attr.aria-labelledby]': 'visible() && ariaLabelledBy() ? ariaLabelledBy() : null',
206
- '[attr.data-visible]': 'visible() || null',
207
- '[attr.data-severity]': 'severity()',
208
- '[attr.data-variant]': 'variant()',
209
- '[attr.data-size]': 'size()',
210
- '[attr.data-closable]': 'closable() || null',
211
- '[attr.data-icon]': 'showIcon() || null',
212
- }, styles: [":host{--_accent: var(--aeris-primary, #879566);--_accent-soft: color-mix(in srgb, var(--_accent) 14%, transparent);--_accent-border: color-mix(in srgb, var(--_accent) 36%, var(--aeris-border, #deddd7));--_surface: color-mix(in srgb, var(--aeris-surface, #fff) 94%, var(--_accent-soft));--_text: var(--aeris-text, #222222);--_muted: var(--aeris-text-2, #555555);min-width:0;display:inline-grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.625rem;padding:.625rem .75rem;border:1px solid var(--_accent-border);border-radius:var(--aeris-radius-md, .75rem);background:linear-gradient(90deg,var(--_accent-soft),transparent 42%),var(--_surface);color:var(--_text);box-shadow:var(--aeris-shadow-sm, 0 1px 2px rgba(31, 35, 27, .06));font-size:.875rem;line-height:1.45;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,opacity .15s ease,transform .15s ease}:host(:not([data-visible])){display:none}:host([data-severity=success]){--_accent: var(--aeris-success, #6f8a68)}:host([data-severity=info]){--_accent: var(--aeris-info, #6b8793)}:host([data-severity=warning]){--_accent: var(--aeris-warning, #c38600)}:host([data-severity=error]){--_accent: var(--aeris-danger, #c81e2a)}:host([data-severity=neutral]),:host([data-severity=secondary]){--_accent: var(--aeris-text-2, #555555)}:host([data-severity=contrast]){--_accent: var(--aeris-text, #222222)}:host([data-variant=outlined]){--_surface: transparent;background:transparent;box-shadow:none}:host([data-variant=simple]){--_surface: transparent;padding-inline:0;border-color:transparent;background:transparent;box-shadow:none}:host([data-size=sm]){gap:.5rem;padding:.45rem .625rem;border-radius:var(--aeris-radius-sm, .5rem);font-size:.8125rem}:host([data-size=lg]){gap:.75rem;padding:.8125rem .95rem;font-size:.9375rem}:host([data-size=sm][data-variant=simple]){padding-inline:0}:host([data-size=lg][data-variant=simple]){padding-inline:0}.aeris-message__icon{width:var(--aeris-message-icon-size, 1.15rem);height:var(--aeris-message-icon-size, 1.15rem);display:inline-grid;place-items:center;color:var(--_accent)}:host([data-size=sm]) .aeris-message__icon{--aeris-message-icon-size: 1rem}:host([data-size=lg]) .aeris-message__icon{--aeris-message-icon-size: 1.35rem}.aeris-message__default-icon{position:relative;width:var(--aeris-message-icon-size, 1.15rem);height:var(--aeris-message-icon-size, 1.15rem);display:block;border:2px solid currentColor;border-radius:999px}.aeris-message__default-icon:before,.aeris-message__default-icon:after{position:absolute;content:\"\";background:currentColor}.aeris-message__default-icon:before{width:.125rem;height:.4rem;top:.45rem;left:50%;border-radius:999px;transform:translate(-50%)}.aeris-message__default-icon:after{width:.15625rem;height:.15625rem;top:.22rem;left:50%;border-radius:999px;transform:translate(-50%)}:host([data-severity=success]) .aeris-message__default-icon{border-color:transparent}:host([data-severity=success]) .aeris-message__default-icon:before{inset:0;width:100%;height:100%;background:currentColor;transform:none;-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.25 8.25 6.6 11.6 12.8 4.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\") center/100% 100% no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.25 8.25 6.6 11.6 12.8 4.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\") center/100% 100% no-repeat}:host([data-severity=success]) .aeris-message__default-icon:after{display:none}:host([data-severity=error]) .aeris-message__default-icon:before,:host([data-severity=error]) .aeris-message__default-icon:after{width:.65rem;height:.125rem;top:50%;left:50%;border-radius:999px}:host([data-severity=error]) .aeris-message__default-icon:before{transform:translate(-50%,-50%) rotate(45deg)}:host([data-severity=error]) .aeris-message__default-icon:after{transform:translate(-50%,-50%) rotate(-45deg)}.aeris-message__content{min-width:0;color:inherit}.aeris-message__close{width:1.875rem;height:1.875rem;display:inline-grid;place-items:center;margin:-.25rem -.25rem -.25rem 0;border:0;border-radius:var(--aeris-radius-sm, .5rem);background:transparent;color:var(--_muted);cursor:pointer}.aeris-message__close:hover{background:color-mix(in srgb,var(--aeris-text, #222222) 8%,transparent);color:var(--aeris-text, #222222)}.aeris-message__close:focus-visible{outline:2px solid var(--aeris-focus, #536437);outline-offset:2px}.aeris-message__close span{width:.8rem;height:.8rem;display:block;background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}@media(prefers-reduced-motion:reduce){:host{transition:none}}\n"] }]
213
- }], ctorParameters: () => [], propDecorators: { iconTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisMessageIconTemplate), { isSignal: true }] }], contentTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisMessageContentTemplate), { isSignal: true }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], severity: [{ type: i0.Input, args: [{ isSignal: true, alias: "severity", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], closable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closable", required: false }] }], life: [{ type: i0.Input, args: [{ isSignal: true, alias: "life", required: false }] }], showIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIcon", required: false }] }], role: [{ type: i0.Input, args: [{ isSignal: true, alias: "role", required: false }] }], ariaLive: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLive", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], closeAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeAriaLabel", required: false }] }], closed: [{ type: i0.Output, args: ["closed"] }], visibilityChanged: [{ type: i0.Output, args: ["visibilityChanged"] }] } });
422
+ `,
423
+ host: {
424
+ class: "aeris-message",
425
+ "[attr.id]": "id()",
426
+ "[attr.role]": "visible() ? resolvedRole() : null",
427
+ "[attr.aria-live]": "visible() ? resolvedLive() : null",
428
+ "[attr.aria-atomic]": "visible() ? \"true\" : null",
429
+ "[attr.aria-label]": "visible() && ariaLabel() ? ariaLabel() : null",
430
+ "[attr.aria-labelledby]": "visible() && ariaLabelledBy() ? ariaLabelledBy() : null",
431
+ "[attr.data-visible]": "visible() || null",
432
+ "[attr.data-severity]": "severity()",
433
+ "[attr.data-variant]": "variant()",
434
+ "[attr.data-size]": "size()",
435
+ "[attr.data-closable]": "closable() || null",
436
+ "[attr.data-icon]": "showIcon() || null"
437
+ },
438
+ styles: [":host{--_accent: var(--aeris-primary, #111111);--_surface: color-mix( in srgb, var(--_accent) var(--aeris-message-severity-tint, 9%), var(--aeris-surface, #fff) );--_text: var(--aeris-text, #111111);--_muted: var(--aeris-text-2, #454545);min-width:0;display:inline-grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.625rem;padding:.625rem .75rem;border:1px solid var(--aeris-message-border-color, var(--_accent));border-radius:var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem));background:var(--aeris-message-background, var(--_surface));color:var(--_text);box-shadow:var(--aeris-shadow-sm, 0 2px 5px rgba(0, 0, 0, .14));font-size:var(--aeris-font-size-lg, .875rem);line-height:1.45;transition:background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}:host(:not([data-visible])){display:none}:host([data-severity=success]){--_accent: var(--aeris-success, #6f8a68)}:host([data-severity=info]){--_accent: var(--aeris-info, #6b8793)}:host([data-severity=warning]){--_accent: var(--aeris-warning, #c38600)}:host([data-severity=danger]){--_accent: var(--aeris-danger, #c81e2a)}:host([data-severity=neutral]),:host([data-severity=secondary]){--_accent: var(--aeris-text-2, #454545)}:host([data-severity=contrast]){--_accent: var(--aeris-text, #111111)}:host([data-variant=outlined]){--_surface: transparent;background:transparent;box-shadow:none}:host([data-variant=simple]){--_surface: transparent;padding-inline:0;border-color:transparent;background:transparent;box-shadow:none}:host([data-size=sm]){gap:.5rem;padding:.45rem .625rem;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));font-size:var(--aeris-font-size-md, .8125rem)}:host([data-size=lg]){gap:.75rem;padding:.8125rem .95rem;font-size:var(--aeris-font-size-xl, .9375rem)}:host([data-size=sm][data-variant=simple]){padding-inline:0}:host([data-size=lg][data-variant=simple]){padding-inline:0}.aeris-message__icon{width:var(--aeris-message-icon-size, 1.15rem);height:var(--aeris-message-icon-size, 1.15rem);display:inline-grid;place-items:center;color:var(--_accent)}:host([data-size=sm]) .aeris-message__icon{--aeris-message-icon-size: 1rem}:host([data-size=lg]) .aeris-message__icon{--aeris-message-icon-size: 1.35rem}.aeris-message__default-icon{display:block;width:var(--aeris-message-icon-size, 1.25rem);height:var(--aeris-message-icon-size, 1.25rem);background:currentColor;-webkit-mask:var(--aeris-icon-info, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"M12 16v-4\"/%3E%3Cpath d=\"M12 8h.01\"/%3E%3C/svg%3E')) center/100% 100% no-repeat;mask:var(--aeris-icon-info, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"M12 16v-4\"/%3E%3Cpath d=\"M12 8h.01\"/%3E%3C/svg%3E')) center/100% 100% no-repeat}:host([data-severity=success]) .aeris-message__default-icon{-webkit-mask-image:var(--aeris-icon-success, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"m16 9-5.5 5.5L8 12\"/%3E%3C/svg%3E'));mask-image:var(--aeris-icon-success, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"m16 9-5.5 5.5L8 12\"/%3E%3C/svg%3E'))}:host([data-severity=warning]) .aeris-message__default-icon{-webkit-mask-image:var(--aeris-icon-warning, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\"/%3E%3Cpath d=\"M12 9v4\"/%3E%3Cpath d=\"M12 17h.01\"/%3E%3C/svg%3E'));mask-image:var(--aeris-icon-warning, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\"/%3E%3Cpath d=\"M12 9v4\"/%3E%3Cpath d=\"M12 17h.01\"/%3E%3C/svg%3E'))}:host([data-severity=danger]) .aeris-message__default-icon{-webkit-mask-image:var(--aeris-icon-danger, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"m15 9-6 6\"/%3E%3Cpath d=\"m9 9 6 6\"/%3E%3C/svg%3E'));mask-image:var(--aeris-icon-danger, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Ccircle cx=\"12\" cy=\"12\" r=\"10\"/%3E%3Cpath d=\"m15 9-6 6\"/%3E%3Cpath d=\"m9 9 6 6\"/%3E%3C/svg%3E'))}.aeris-message__content{min-width:0;color:inherit}.aeris-message__close{width:1.875rem;height:1.875rem;display:inline-grid;place-items:center;margin:-.25rem -.25rem -.25rem 0;border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--_muted);cursor:pointer}@media(hover:hover){.aeris-message__close:hover{background:color-mix(in srgb,var(--aeris-text, #111111) 8%,transparent);color:var(--aeris-text, #111111)}}:host [data-aeris-custom-icon]:not([data-aeris-global-icon]){display:inline-flex;align-items:center;justify-content:center;inline-size:var(--aeris-icon-size, 1rem);block-size:var(--aeris-icon-size, 1rem);background:transparent;border:0;box-shadow:none;-webkit-mask:none;mask:none;line-height:1}:host [data-aeris-custom-icon]:before,:host [data-aeris-custom-icon]:after{display:none}.aeris-message__close:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus, #111111);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-message__close span{width:.8rem;height:.8rem;display:block;background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}@media(prefers-reduced-motion:reduce){:host{transition:none}}\n"]
439
+ }]
440
+ }],
441
+ ctorParameters: () => [],
442
+ propDecorators: {
443
+ closeIconTemplate: [{
444
+ type: i0.Input,
445
+ args: [{
446
+ isSignal: true,
447
+ alias: "closeIconTemplate",
448
+ required: false
449
+ }]
450
+ }],
451
+ iconTemplate: [{
452
+ type: i0.ContentChild,
453
+ args: [i0.forwardRef(() => AerisMessageIconTemplate), { isSignal: true }]
454
+ }],
455
+ contentTemplate: [{
456
+ type: i0.ContentChild,
457
+ args: [i0.forwardRef(() => AerisMessageContentTemplate), { isSignal: true }]
458
+ }],
459
+ visible: [{
460
+ type: i0.Input,
461
+ args: [{
462
+ isSignal: true,
463
+ alias: "visible",
464
+ required: false
465
+ }]
466
+ }, {
467
+ type: i0.Output,
468
+ args: ["visibleChange"]
469
+ }],
470
+ id: [{
471
+ type: i0.Input,
472
+ args: [{
473
+ isSignal: true,
474
+ alias: "id",
475
+ required: false
476
+ }]
477
+ }],
478
+ severity: [{
479
+ type: i0.Input,
480
+ args: [{
481
+ isSignal: true,
482
+ alias: "severity",
483
+ required: false
484
+ }]
485
+ }],
486
+ variant: [{
487
+ type: i0.Input,
488
+ args: [{
489
+ isSignal: true,
490
+ alias: "variant",
491
+ required: false
492
+ }]
493
+ }],
494
+ size: [{
495
+ type: i0.Input,
496
+ args: [{
497
+ isSignal: true,
498
+ alias: "size",
499
+ required: false
500
+ }]
501
+ }],
502
+ text: [{
503
+ type: i0.Input,
504
+ args: [{
505
+ isSignal: true,
506
+ alias: "text",
507
+ required: false
508
+ }]
509
+ }],
510
+ closable: [{
511
+ type: i0.Input,
512
+ args: [{
513
+ isSignal: true,
514
+ alias: "closable",
515
+ required: false
516
+ }]
517
+ }],
518
+ life: [{
519
+ type: i0.Input,
520
+ args: [{
521
+ isSignal: true,
522
+ alias: "life",
523
+ required: false
524
+ }]
525
+ }],
526
+ showIcon: [{
527
+ type: i0.Input,
528
+ args: [{
529
+ isSignal: true,
530
+ alias: "showIcon",
531
+ required: false
532
+ }]
533
+ }],
534
+ role: [{
535
+ type: i0.Input,
536
+ args: [{
537
+ isSignal: true,
538
+ alias: "role",
539
+ required: false
540
+ }]
541
+ }],
542
+ ariaLive: [{
543
+ type: i0.Input,
544
+ args: [{
545
+ isSignal: true,
546
+ alias: "ariaLive",
547
+ required: false
548
+ }]
549
+ }],
550
+ ariaLabel: [{
551
+ type: i0.Input,
552
+ args: [{
553
+ isSignal: true,
554
+ alias: "ariaLabel",
555
+ required: false
556
+ }]
557
+ }],
558
+ ariaLabelledBy: [{
559
+ type: i0.Input,
560
+ args: [{
561
+ isSignal: true,
562
+ alias: "ariaLabelledBy",
563
+ required: false
564
+ }]
565
+ }],
566
+ closeAriaLabel: [{
567
+ type: i0.Input,
568
+ args: [{
569
+ isSignal: true,
570
+ alias: "closeAriaLabel",
571
+ required: false
572
+ }]
573
+ }],
574
+ closed: [{
575
+ type: i0.Output,
576
+ args: ["closed"]
577
+ }],
578
+ visibilityChanged: [{
579
+ type: i0.Output,
580
+ args: ["visibilityChanged"]
581
+ }]
582
+ }
583
+ });
214
584
  const AerisMessageModule = [
215
- AerisMessage,
216
- AerisMessageIconTemplate,
217
- AerisMessageContentTemplate,
585
+ AerisMessage,
586
+ AerisMessageIconTemplate,
587
+ AerisMessageContentTemplate
218
588
  ];
219
-
220
- /**
221
- * Generated bundle index. Do not edit.
222
- */
223
-
224
589
  export { AerisMessage, AerisMessageContentTemplate, AerisMessageIconTemplate, AerisMessageModule };
225
- //# sourceMappingURL=aeris-ui-core-message.mjs.map
590
+
591
+ //# sourceMappingURL=aeris-ui-core-message.mjs.map