@aeris-ui/core 22.0.0-alpha.10 → 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 (259) hide show
  1. package/README.md +35 -3
  2. package/THIRD_PARTY_LICENSES.md +48 -0
  3. package/fesm2022/aeris-ui-core-accordion.mjs +34 -32
  4. package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
  5. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +3 -3
  6. package/fesm2022/aeris-ui-core-auto-complete.mjs +119 -50
  7. package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
  8. package/fesm2022/aeris-ui-core-auto-focus.mjs +3 -3
  9. package/fesm2022/aeris-ui-core-avatar.mjs +6 -6
  10. package/fesm2022/aeris-ui-core-badge.mjs +6 -6
  11. package/fesm2022/aeris-ui-core-block-ui.mjs +18 -6
  12. package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
  13. package/fesm2022/aeris-ui-core-breadcrumb.mjs +42 -24
  14. package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
  15. package/fesm2022/aeris-ui-core-button-forms.mjs +78 -0
  16. package/fesm2022/aeris-ui-core-button-forms.mjs.map +1 -0
  17. package/fesm2022/aeris-ui-core-button-group.mjs +417 -14
  18. package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
  19. package/fesm2022/aeris-ui-core-button.mjs +191 -19
  20. package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
  21. package/fesm2022/aeris-ui-core-card.mjs +18 -18
  22. package/fesm2022/aeris-ui-core-carousel.mjs +81 -19
  23. package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
  24. package/fesm2022/aeris-ui-core-cascade-select.mjs +165 -46
  25. package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
  26. package/fesm2022/aeris-ui-core-chart.mjs +171 -36
  27. package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
  28. package/fesm2022/aeris-ui-core-checkbox.mjs +191 -22
  29. package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
  30. package/fesm2022/aeris-ui-core-chip.mjs +702 -27
  31. package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
  32. package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
  33. package/fesm2022/aeris-ui-core-code-block.mjs +57 -7
  34. package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -1
  35. package/fesm2022/aeris-ui-core-color-picker.mjs +1223 -503
  36. package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
  37. package/fesm2022/aeris-ui-core-command-palette.mjs +996 -0
  38. package/fesm2022/aeris-ui-core-command-palette.mjs.map +1 -0
  39. package/fesm2022/aeris-ui-core-compare.mjs +61 -34
  40. package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
  41. package/fesm2022/aeris-ui-core-confirm-dialog.mjs +68 -38
  42. package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
  43. package/fesm2022/aeris-ui-core-confirm-popup.mjs +46 -38
  44. package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
  45. package/fesm2022/aeris-ui-core-context-menu.mjs +94 -43
  46. package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
  47. package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs +946 -0
  48. package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs.map +1 -0
  49. package/fesm2022/aeris-ui-core-date-picker.mjs +1186 -650
  50. package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
  51. package/fesm2022/aeris-ui-core-dialog.mjs +157 -71
  52. package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
  53. package/fesm2022/aeris-ui-core-divider.mjs +3 -3
  54. package/fesm2022/aeris-ui-core-drawer.mjs +751 -77
  55. package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
  56. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +14 -6
  57. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
  58. package/fesm2022/aeris-ui-core-editor.mjs +847 -202
  59. package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
  60. package/fesm2022/aeris-ui-core-file-upload.mjs +204 -68
  61. package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
  62. package/fesm2022/aeris-ui-core-filter-service.mjs +3 -3
  63. package/fesm2022/aeris-ui-core-fluid.mjs +5 -5
  64. package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
  65. package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
  66. package/fesm2022/aeris-ui-core-form-field.mjs +15 -15
  67. package/fesm2022/aeris-ui-core-galleria.mjs +472 -123
  68. package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
  69. package/fesm2022/aeris-ui-core-glass.mjs +3 -3
  70. package/fesm2022/aeris-ui-core-icon-field.mjs +12 -12
  71. package/fesm2022/aeris-ui-core-inplace.mjs +56 -14
  72. package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
  73. package/fesm2022/aeris-ui-core-input-group.mjs +17 -17
  74. package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
  75. package/fesm2022/aeris-ui-core-input-mask.mjs +61 -8
  76. package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
  77. package/fesm2022/aeris-ui-core-input-number.mjs +191 -28
  78. package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
  79. package/fesm2022/aeris-ui-core-input-otp.mjs +6 -6
  80. package/fesm2022/aeris-ui-core-input-text.mjs +102 -26
  81. package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
  82. package/fesm2022/aeris-ui-core-kbd.mjs +243 -0
  83. package/fesm2022/aeris-ui-core-kbd.mjs.map +1 -0
  84. package/fesm2022/aeris-ui-core-key-filter.mjs +3 -3
  85. package/fesm2022/aeris-ui-core-listbox.mjs +789 -0
  86. package/fesm2022/aeris-ui-core-listbox.mjs.map +1 -0
  87. package/fesm2022/aeris-ui-core-mega-menu.mjs +59 -16
  88. package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
  89. package/fesm2022/aeris-ui-core-menu.mjs +95 -52
  90. package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
  91. package/fesm2022/aeris-ui-core-menubar.mjs +103 -34
  92. package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
  93. package/fesm2022/aeris-ui-core-message.mjs +48 -14
  94. package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
  95. package/fesm2022/aeris-ui-core-meter-group.mjs +33 -15
  96. package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
  97. package/fesm2022/aeris-ui-core-multi-select.mjs +283 -65
  98. package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
  99. package/fesm2022/aeris-ui-core-navbar.mjs +1407 -0
  100. package/fesm2022/aeris-ui-core-navbar.mjs.map +1 -0
  101. package/fesm2022/aeris-ui-core-order-list.mjs +191 -35
  102. package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
  103. package/fesm2022/aeris-ui-core-organization-chart.mjs +48 -14
  104. package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
  105. package/fesm2022/aeris-ui-core-paginator.mjs +300 -61
  106. package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
  107. package/fesm2022/aeris-ui-core-panel.mjs +21 -29
  108. package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
  109. package/fesm2022/aeris-ui-core-password.mjs +166 -65
  110. package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
  111. package/fesm2022/aeris-ui-core-pick-list.mjs +528 -56
  112. package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
  113. package/fesm2022/aeris-ui-core-popover.mjs +504 -72
  114. package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
  115. package/fesm2022/aeris-ui-core-progress-bar.mjs +75 -21
  116. package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
  117. package/fesm2022/aeris-ui-core-progress-spinner.mjs +24 -6
  118. package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
  119. package/fesm2022/aeris-ui-core-radio-button.mjs +119 -19
  120. package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
  121. package/fesm2022/aeris-ui-core-rating.mjs +6 -6
  122. package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
  123. package/fesm2022/aeris-ui-core-scroll-panel.mjs +3 -3
  124. package/fesm2022/aeris-ui-core-scroll-top.mjs +59 -12
  125. package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
  126. package/fesm2022/aeris-ui-core-select-native.mjs +145 -0
  127. package/fesm2022/aeris-ui-core-select-native.mjs.map +1 -0
  128. package/fesm2022/aeris-ui-core-select.mjs +206 -87
  129. package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
  130. package/fesm2022/aeris-ui-core-sidebar.mjs +1293 -0
  131. package/fesm2022/aeris-ui-core-sidebar.mjs.map +1 -0
  132. package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
  133. package/fesm2022/aeris-ui-core-slider.mjs +3 -3
  134. package/fesm2022/aeris-ui-core-speed-dial.mjs +34 -13
  135. package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
  136. package/fesm2022/aeris-ui-core-split-button.mjs +26 -11
  137. package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
  138. package/fesm2022/aeris-ui-core-splitter.mjs +35 -20
  139. package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
  140. package/fesm2022/aeris-ui-core-stepper.mjs +23 -17
  141. package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
  142. package/fesm2022/aeris-ui-core-style-class.mjs +3 -3
  143. package/fesm2022/aeris-ui-core-table.mjs +945 -106
  144. package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
  145. package/fesm2022/aeris-ui-core-tabs.mjs +81 -19
  146. package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
  147. package/fesm2022/aeris-ui-core-textarea.mjs +89 -28
  148. package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
  149. package/fesm2022/aeris-ui-core-theme-builder.mjs +202 -126
  150. package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
  151. package/fesm2022/aeris-ui-core-theming.mjs +8 -8
  152. package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
  153. package/fesm2022/aeris-ui-core-tiered-menu.mjs +94 -43
  154. package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
  155. package/fesm2022/aeris-ui-core-timeline.mjs +17 -17
  156. package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
  157. package/fesm2022/aeris-ui-core-toast.mjs +51 -18
  158. package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
  159. package/fesm2022/aeris-ui-core-toggle-switch.mjs +3 -3
  160. package/fesm2022/aeris-ui-core-toolbar.mjs +916 -44
  161. package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
  162. package/fesm2022/aeris-ui-core-tooltip.mjs +6 -6
  163. package/fesm2022/aeris-ui-core-tree-select.mjs +252 -61
  164. package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
  165. package/fesm2022/aeris-ui-core-tree-table.mjs +493 -124
  166. package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
  167. package/fesm2022/aeris-ui-core-tree.mjs +165 -27
  168. package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
  169. package/fesm2022/aeris-ui-core.mjs +632 -12
  170. package/fesm2022/aeris-ui-core.mjs.map +1 -1
  171. package/package.json +29 -1
  172. package/schematics/runtime/theme-builder/aeris-color-derivation.js +1 -1
  173. package/schematics/runtime/theme-builder/aeris-contrast.js +32 -0
  174. package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
  175. package/schematics/runtime/theme-builder/aeris-foundation.js +8 -9
  176. package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
  177. package/schematics/runtime/theme-builder/aeris-semantic-tones.js +8 -21
  178. package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
  179. package/schematics/runtime/theme-builder/aeris-theme-generator.js +6 -0
  180. package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
  181. package/schematics/runtime/theme-builder/aeris-theme-resolver.js +64 -91
  182. package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
  183. package/schematics/runtime/theme-builder/aeris-theme-tokens.js +7 -5
  184. package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
  185. package/schematics/runtime/theme-builder/aeris-theme-validation.js +11 -1
  186. package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
  187. package/schematics/runtime/theme-builder/aeris-theme.js +81 -10
  188. package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
  189. package/styles/_choice-card.scss +93 -0
  190. package/styles/_icon-artwork.scss +14 -0
  191. package/styles/_icon-template.scss +42 -0
  192. package/styles/_selection-icons.scss +12 -0
  193. package/styles/_table-pinning.scss +119 -0
  194. package/styles/aeris.css +35 -12
  195. package/styles/controls.css +149 -11
  196. package/tools/aeris-theme.mjs +3 -3
  197. package/tools/aeris-theme.schema.json +13 -11
  198. package/types/aeris-ui-core-auto-complete.d.ts +12 -0
  199. package/types/aeris-ui-core-block-ui.d.ts +1 -0
  200. package/types/aeris-ui-core-button-forms.d.ts +18 -0
  201. package/types/aeris-ui-core-button-group.d.ts +116 -3
  202. package/types/aeris-ui-core-button.d.ts +52 -4
  203. package/types/aeris-ui-core-carousel.d.ts +12 -0
  204. package/types/aeris-ui-core-cascade-select.d.ts +18 -0
  205. package/types/aeris-ui-core-chart.d.ts +26 -10
  206. package/types/aeris-ui-core-checkbox.d.ts +36 -2
  207. package/types/aeris-ui-core-chip.d.ts +196 -1
  208. package/types/aeris-ui-core-code-block.d.ts +13 -0
  209. package/types/aeris-ui-core-color-picker.d.ts +117 -15
  210. package/types/aeris-ui-core-command-palette.d.ts +267 -0
  211. package/types/aeris-ui-core-compare.d.ts +6 -0
  212. package/types/aeris-ui-core-confirm-dialog.d.ts +9 -1
  213. package/types/aeris-ui-core-context-menu.d.ts +6 -0
  214. package/types/aeris-ui-core-date-picker.d.ts +123 -20
  215. package/types/aeris-ui-core-dialog.d.ts +15 -2
  216. package/types/aeris-ui-core-drawer.d.ts +111 -4
  217. package/types/aeris-ui-core-dynamic-dialog.d.ts +6 -2
  218. package/types/aeris-ui-core-editor.d.ts +8 -1
  219. package/types/aeris-ui-core-file-upload.d.ts +18 -0
  220. package/types/aeris-ui-core-galleria.d.ts +48 -0
  221. package/types/aeris-ui-core-inplace.d.ts +6 -0
  222. package/types/aeris-ui-core-input-mask.d.ts +8 -1
  223. package/types/aeris-ui-core-input-number.d.ts +20 -1
  224. package/types/aeris-ui-core-input-text.d.ts +11 -1
  225. package/types/aeris-ui-core-kbd.d.ts +74 -0
  226. package/types/aeris-ui-core-listbox.d.ts +222 -0
  227. package/types/aeris-ui-core-mega-menu.d.ts +6 -0
  228. package/types/aeris-ui-core-menu.d.ts +6 -0
  229. package/types/aeris-ui-core-menubar.d.ts +16 -0
  230. package/types/aeris-ui-core-message.d.ts +6 -0
  231. package/types/aeris-ui-core-meter-group.d.ts +6 -0
  232. package/types/aeris-ui-core-multi-select.d.ts +30 -0
  233. package/types/aeris-ui-core-navbar.d.ts +208 -0
  234. package/types/aeris-ui-core-order-list.d.ts +24 -0
  235. package/types/aeris-ui-core-organization-chart.d.ts +6 -0
  236. package/types/aeris-ui-core-paginator.d.ts +37 -1
  237. package/types/aeris-ui-core-password.d.ts +18 -0
  238. package/types/aeris-ui-core-pick-list.d.ts +54 -0
  239. package/types/aeris-ui-core-popover.d.ts +80 -5
  240. package/types/aeris-ui-core-progress-bar.d.ts +6 -0
  241. package/types/aeris-ui-core-progress-spinner.d.ts +6 -0
  242. package/types/aeris-ui-core-radio-button.d.ts +24 -2
  243. package/types/aeris-ui-core-rating.d.ts +1 -1
  244. package/types/aeris-ui-core-scroll-top.d.ts +7 -0
  245. package/types/aeris-ui-core-select-native.d.ts +40 -0
  246. package/types/aeris-ui-core-select.d.ts +12 -0
  247. package/types/aeris-ui-core-sidebar.d.ts +220 -0
  248. package/types/aeris-ui-core-splitter.d.ts +3 -4
  249. package/types/aeris-ui-core-table.d.ts +144 -11
  250. package/types/aeris-ui-core-tabs.d.ts +12 -0
  251. package/types/aeris-ui-core-textarea.d.ts +11 -1
  252. package/types/aeris-ui-core-theme-builder.d.ts +31 -296
  253. package/types/aeris-ui-core-tiered-menu.d.ts +6 -0
  254. package/types/aeris-ui-core-toast.d.ts +6 -0
  255. package/types/aeris-ui-core-toolbar.d.ts +213 -3
  256. package/types/aeris-ui-core-tree-select.d.ts +30 -0
  257. package/types/aeris-ui-core-tree-table.d.ts +75 -14
  258. package/types/aeris-ui-core-tree.d.ts +24 -0
  259. package/types/aeris-ui-core.d.ts +142 -3
@@ -8,7 +8,7 @@ var AerisIconDirective = class AerisIconDirective {
8
8
  });
9
9
  static ɵfac = i0.ɵɵngDeclareFactory({
10
10
  minVersion: "12.0.0",
11
- version: "22.2.2",
11
+ version: "22.2.3",
12
12
  ngImport: i0,
13
13
  type: AerisIconDirective,
14
14
  deps: [],
@@ -16,7 +16,7 @@ var AerisIconDirective = class AerisIconDirective {
16
16
  });
17
17
  static ɵdir = i0.ɵɵngDeclareDirective({
18
18
  minVersion: "17.1.0",
19
- version: "22.2.2",
19
+ version: "22.2.3",
20
20
  type: AerisIconDirective,
21
21
  isStandalone: true,
22
22
  selector: "[aerisIcon]",
@@ -37,7 +37,7 @@ var AerisIconDirective = class AerisIconDirective {
37
37
  };
38
38
  i0.ɵɵngDeclareClassMetadata({
39
39
  minVersion: "12.0.0",
40
- version: "22.2.2",
40
+ version: "22.2.3",
41
41
  ngImport: i0,
42
42
  type: AerisIconDirective,
43
43
  decorators: [{
@@ -67,7 +67,7 @@ var AerisIconStartDirective = class AerisIconStartDirective {
67
67
  });
68
68
  static ɵfac = i0.ɵɵngDeclareFactory({
69
69
  minVersion: "12.0.0",
70
- version: "22.2.2",
70
+ version: "22.2.3",
71
71
  ngImport: i0,
72
72
  type: AerisIconStartDirective,
73
73
  deps: [],
@@ -75,7 +75,7 @@ var AerisIconStartDirective = class AerisIconStartDirective {
75
75
  });
76
76
  static ɵdir = i0.ɵɵngDeclareDirective({
77
77
  minVersion: "17.1.0",
78
- version: "22.2.2",
78
+ version: "22.2.3",
79
79
  type: AerisIconStartDirective,
80
80
  isStandalone: true,
81
81
  selector: "[aerisIconStart]",
@@ -96,7 +96,7 @@ var AerisIconStartDirective = class AerisIconStartDirective {
96
96
  };
97
97
  i0.ɵɵngDeclareClassMetadata({
98
98
  minVersion: "12.0.0",
99
- version: "22.2.2",
99
+ version: "22.2.3",
100
100
  ngImport: i0,
101
101
  type: AerisIconStartDirective,
102
102
  decorators: [{
@@ -126,7 +126,7 @@ var AerisIconEndDirective = class AerisIconEndDirective {
126
126
  });
127
127
  static ɵfac = i0.ɵɵngDeclareFactory({
128
128
  minVersion: "12.0.0",
129
- version: "22.2.2",
129
+ version: "22.2.3",
130
130
  ngImport: i0,
131
131
  type: AerisIconEndDirective,
132
132
  deps: [],
@@ -134,7 +134,7 @@ var AerisIconEndDirective = class AerisIconEndDirective {
134
134
  });
135
135
  static ɵdir = i0.ɵɵngDeclareDirective({
136
136
  minVersion: "17.1.0",
137
- version: "22.2.2",
137
+ version: "22.2.3",
138
138
  type: AerisIconEndDirective,
139
139
  isStandalone: true,
140
140
  selector: "[aerisIconEnd]",
@@ -155,7 +155,7 @@ var AerisIconEndDirective = class AerisIconEndDirective {
155
155
  };
156
156
  i0.ɵɵngDeclareClassMetadata({
157
157
  minVersion: "12.0.0",
158
- version: "22.2.2",
158
+ version: "22.2.3",
159
159
  ngImport: i0,
160
160
  type: AerisIconEndDirective,
161
161
  decorators: [{
@@ -203,7 +203,7 @@ var AerisIconFieldComponent = class AerisIconFieldComponent {
203
203
  displayInvalid = computed(() => ɵaerisDisplayInvalid(this.invalid(), this.touched()), ...ngDevMode ? [{ debugName: "displayInvalid" }] : /* istanbul ignore next */ []);
204
204
  static ɵfac = i0.ɵɵngDeclareFactory({
205
205
  minVersion: "12.0.0",
206
- version: "22.2.2",
206
+ version: "22.2.3",
207
207
  ngImport: i0,
208
208
  type: AerisIconFieldComponent,
209
209
  deps: [],
@@ -211,7 +211,7 @@ var AerisIconFieldComponent = class AerisIconFieldComponent {
211
211
  });
212
212
  static ɵcmp = i0.ɵɵngDeclareComponent({
213
213
  minVersion: "17.1.0",
214
- version: "22.2.2",
214
+ version: "22.2.3",
215
215
  type: AerisIconFieldComponent,
216
216
  isStandalone: true,
217
217
  selector: "aeris-icon-field",
@@ -317,7 +317,7 @@ var AerisIconFieldComponent = class AerisIconFieldComponent {
317
317
  };
318
318
  i0.ɵɵngDeclareClassMetadata({
319
319
  minVersion: "12.0.0",
320
- version: "22.2.2",
320
+ version: "22.2.3",
321
321
  ngImport: i0,
322
322
  type: AerisIconFieldComponent,
323
323
  decorators: [{
@@ -1,3 +1,4 @@
1
+ import { ɵAerisIcon } from "@aeris-ui/core";
1
2
  import { NgTemplateOutlet } from "@angular/common";
2
3
  import * as i0 from "@angular/core";
3
4
  import { Component, Directive, TemplateRef, booleanAttribute, computed, contentChild, inject, input, model, output, viewChild } from "@angular/core";
@@ -5,7 +6,7 @@ var AerisInplaceDisplayTemplate = class AerisInplaceDisplayTemplate {
5
6
  template = inject(TemplateRef);
6
7
  static ɵfac = i0.ɵɵngDeclareFactory({
7
8
  minVersion: "12.0.0",
8
- version: "22.2.2",
9
+ version: "22.2.3",
9
10
  ngImport: i0,
10
11
  type: AerisInplaceDisplayTemplate,
11
12
  deps: [],
@@ -13,7 +14,7 @@ var AerisInplaceDisplayTemplate = class AerisInplaceDisplayTemplate {
13
14
  });
14
15
  static ɵdir = i0.ɵɵngDeclareDirective({
15
16
  minVersion: "14.0.0",
16
- version: "22.2.2",
17
+ version: "22.2.3",
17
18
  type: AerisInplaceDisplayTemplate,
18
19
  isStandalone: true,
19
20
  selector: "ng-template[aerisInplaceDisplay]",
@@ -22,7 +23,7 @@ var AerisInplaceDisplayTemplate = class AerisInplaceDisplayTemplate {
22
23
  };
23
24
  i0.ɵɵngDeclareClassMetadata({
24
25
  minVersion: "12.0.0",
25
- version: "22.2.2",
26
+ version: "22.2.3",
26
27
  ngImport: i0,
27
28
  type: AerisInplaceDisplayTemplate,
28
29
  decorators: [{
@@ -34,7 +35,7 @@ var AerisInplaceContentTemplate = class AerisInplaceContentTemplate {
34
35
  template = inject(TemplateRef);
35
36
  static ɵfac = i0.ɵɵngDeclareFactory({
36
37
  minVersion: "12.0.0",
37
- version: "22.2.2",
38
+ version: "22.2.3",
38
39
  ngImport: i0,
39
40
  type: AerisInplaceContentTemplate,
40
41
  deps: [],
@@ -42,7 +43,7 @@ var AerisInplaceContentTemplate = class AerisInplaceContentTemplate {
42
43
  });
43
44
  static ɵdir = i0.ɵɵngDeclareDirective({
44
45
  minVersion: "14.0.0",
45
- version: "22.2.2",
46
+ version: "22.2.3",
46
47
  type: AerisInplaceContentTemplate,
47
48
  isStandalone: true,
48
49
  selector: "ng-template[aerisInplaceContent]",
@@ -51,7 +52,7 @@ var AerisInplaceContentTemplate = class AerisInplaceContentTemplate {
51
52
  };
52
53
  i0.ɵɵngDeclareClassMetadata({
53
54
  minVersion: "12.0.0",
54
- version: "22.2.2",
55
+ version: "22.2.3",
55
56
  ngImport: i0,
56
57
  type: AerisInplaceContentTemplate,
57
58
  decorators: [{
@@ -60,6 +61,7 @@ i0.ɵɵngDeclareClassMetadata({
60
61
  }]
61
62
  });
62
63
  var AerisInplace = class AerisInplace {
64
+ closeIconTemplate = input(...ngDevMode ? [void 0, { debugName: "closeIconTemplate" }] : /* istanbul ignore next */ []);
63
65
  static nextId = 0;
64
66
  displayButton = viewChild("displayButton", ...ngDevMode ? [{ debugName: "displayButton" }] : /* istanbul ignore next */ []);
65
67
  contentPanel = viewChild("contentPanel", ...ngDevMode ? [{ debugName: "contentPanel" }] : /* istanbul ignore next */ []);
@@ -144,7 +146,7 @@ var AerisInplace = class AerisInplace {
144
146
  }
145
147
  static ɵfac = i0.ɵɵngDeclareFactory({
146
148
  minVersion: "12.0.0",
147
- version: "22.2.2",
149
+ version: "22.2.3",
148
150
  ngImport: i0,
149
151
  type: AerisInplace,
150
152
  deps: [],
@@ -152,11 +154,18 @@ var AerisInplace = class AerisInplace {
152
154
  });
153
155
  static ɵcmp = i0.ɵɵngDeclareComponent({
154
156
  minVersion: "17.0.0",
155
- version: "22.2.2",
157
+ version: "22.2.3",
156
158
  type: AerisInplace,
157
159
  isStandalone: true,
158
160
  selector: "aeris-inplace",
159
161
  inputs: {
162
+ closeIconTemplate: {
163
+ classPropertyName: "closeIconTemplate",
164
+ publicName: "closeIconTemplate",
165
+ isSignal: true,
166
+ isRequired: false,
167
+ transformFunction: null
168
+ },
160
169
  active: {
161
170
  classPropertyName: "active",
162
171
  publicName: "active",
@@ -333,15 +342,30 @@ var AerisInplace = class AerisInplace {
333
342
  [attr.aria-label]="closeAriaLabel()"
334
343
  (click)="deactivate($event, 'close')"
335
344
  >
336
- <span class="aeris-inplace__close-icon" aria-hidden="true"></span>
345
+ @if (closeIconTemplate(); as customIcon) {
346
+ <span class="aeris-inplace__close-icon" aria-hidden="true" data-aeris-custom-icon
347
+ ><ng-container [ngTemplateOutlet]="customIcon"
348
+ /></span>
349
+ } @else {
350
+ <span
351
+ aerisInternalIcon="close"
352
+ class="aeris-inplace__close-icon"
353
+ aria-hidden="true"
354
+ ></span>
355
+ }
337
356
  </button>
338
357
  }
339
358
  </div>
340
359
  }
341
360
  `,
342
361
  isInline: true,
343
- styles: [":host,.aeris-inplace,.aeris-inplace *{box-sizing:border-box}:host(.aeris-inplace){min-inline-size:0;max-inline-size:100%;display:block;color:var(--aeris-inplace-text, var(--aeris-text, #111111));font:inherit}.aeris-inplace__display{max-inline-size:100%;min-block-size:var(--aeris-inplace-display-min-height, var(--aeris-control-height, 2.625rem));display:inline-flex;align-items:center;justify-content:flex-start;padding-block:var(--aeris-inplace-display-padding-block, var(--aeris-item-padding-y, .5rem));padding-inline:var(--aeris-inplace-display-padding-inline, var(--aeris-item-padding-x, .75rem));border:1px solid transparent;border-radius:var(--aeris-inplace-radius, var(--aeris-radius-control, .4375rem));background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;transition:border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}@media(hover:hover){.aeris-inplace__display:hover:not(:disabled){border-color:var(--aeris-inplace-display-border, var(--aeris-border, #efefef));background:var(--aeris-inplace-display-hover, var(--aeris-surface-2, #f3f3f3))}}.aeris-inplace__display:focus-visible,.aeris-inplace__close:focus-visible,.aeris-inplace__content:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus, #111111);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-inplace__display:disabled{opacity:var(--aeris-disabled-opacity, .52);cursor:not-allowed}.aeris-inplace__label{min-inline-size:0;overflow-wrap:anywhere}.aeris-inplace__content{position:relative;min-inline-size:0;max-inline-size:100%;border:1px solid var(--aeris-inplace-content-border, var(--aeris-border));border-radius:var(--aeris-inplace-radius, var(--aeris-radius-control, .4375rem));background:var(--aeris-inplace-content-background, var(--aeris-surface, #fff));box-shadow:var(--aeris-inplace-content-shadow, var(--aeris-shadow-sm, 0 2px 5px rgba(0, 0, 0, .14)));animation:aeris-inplace-enter var(--aeris-motion-normal, .15s) var(--aeris-ease-enter, ease-out)}.aeris-inplace__body{min-inline-size:0;padding:var(--aeris-inplace-content-padding, 1rem);overflow-wrap:anywhere}.aeris-inplace__content--closable .aeris-inplace__body{padding-inline-end:calc(var(--aeris-inplace-content-padding, 1rem) + 2rem)}.aeris-inplace__close{position:absolute;inset-block-start:.5rem;inset-inline-end:.5rem;inline-size:var(--aeris-inplace-close-size, 1.75rem);block-size:var(--aeris-inplace-close-size, 1.75rem);display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:var(--aeris-inplace-close-color, var(--aeris-text-2, #454545));font:inherit;cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}@media(hover:hover){.aeris-inplace__close:hover{background:var(--aeris-inplace-display-hover, var(--aeris-surface-2, #f3f3f3));color:var(--aeris-text, #111111)}}.aeris-inplace__close-icon{inline-size:var(--aeris-inplace-close-icon-size, .75rem);block-size:var(--aeris-inplace-close-icon-size, .75rem);background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}@keyframes aeris-inplace-enter{0%{opacity:0;transform:translateY(-.25rem)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.aeris-inplace__display,.aeris-inplace__content{animation:none;transition:none}}\n"],
362
+ styles: [":host,.aeris-inplace,.aeris-inplace *{box-sizing:border-box}:host(.aeris-inplace){min-inline-size:0;max-inline-size:100%;display:block;color:var(--aeris-inplace-text, var(--aeris-text, #111111));font:inherit}.aeris-inplace__display{max-inline-size:100%;min-block-size:var(--aeris-inplace-display-min-height, var(--aeris-control-height, 2.625rem));display:inline-flex;align-items:center;justify-content:flex-start;padding-block:var(--aeris-inplace-display-padding-block, var(--aeris-item-padding-y, .5rem));padding-inline:var(--aeris-inplace-display-padding-inline, var(--aeris-item-padding-x, .75rem));border:1px solid transparent;border-radius:var(--aeris-inplace-radius, var(--aeris-radius-control, .4375rem));background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;transition:border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}@media(hover:hover){.aeris-inplace__display:hover:not(:disabled){border-color:var(--aeris-inplace-display-border, var(--aeris-border, #efefef));background:var(--aeris-inplace-display-hover, var(--aeris-surface-2, #f3f3f3))}}.aeris-inplace__display:focus-visible,.aeris-inplace__close:focus-visible,.aeris-inplace__content:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus, #111111);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-inplace__display:disabled{opacity:var(--aeris-disabled-opacity, .52);cursor:not-allowed}.aeris-inplace__label{min-inline-size:0;overflow-wrap:anywhere}.aeris-inplace__content{position:relative;min-inline-size:0;max-inline-size:100%;border:1px solid var(--aeris-inplace-content-border, var(--aeris-border));border-radius:var(--aeris-inplace-radius, var(--aeris-radius-control, .4375rem));background:var(--aeris-inplace-content-background, var(--aeris-surface, #fff));box-shadow:var(--aeris-inplace-content-shadow, var(--aeris-shadow-sm, 0 2px 5px rgba(0, 0, 0, .14)));animation:aeris-inplace-enter var(--aeris-motion-normal, .15s) var(--aeris-ease-enter, ease-out)}.aeris-inplace__body{min-inline-size:0;padding:var(--aeris-inplace-content-padding, 1rem);overflow-wrap:anywhere}.aeris-inplace__content--closable .aeris-inplace__body{padding-inline-end:calc(var(--aeris-inplace-content-padding, 1rem) + 2rem)}.aeris-inplace__close{position:absolute;inset-block-start:.5rem;inset-inline-end:.5rem;inline-size:var(--aeris-inplace-close-size, 1.75rem);block-size:var(--aeris-inplace-close-size, 1.75rem);display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:var(--aeris-inplace-close-color, var(--aeris-text-2, #454545));font:inherit;cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}@media(hover:hover){.aeris-inplace__close:hover{background:var(--aeris-inplace-display-hover, var(--aeris-surface-2, #f3f3f3));color:var(--aeris-text, #111111)}}.aeris-inplace__close-icon{inline-size:var(--aeris-inplace-close-icon-size, .75rem);block-size:var(--aeris-inplace-close-icon-size, .75rem);background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}@keyframes aeris-inplace-enter{0%{opacity:0;transform:translateY(-.25rem)}to{opacity:1;transform:translateY(0)}}: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}@media(prefers-reduced-motion:reduce){.aeris-inplace__display,.aeris-inplace__content{animation:none;transition:none}}\n"],
344
363
  dependencies: [{
364
+ kind: "component",
365
+ type: ɵAerisIcon,
366
+ selector: "span[aerisInternalIcon]",
367
+ inputs: ["aerisInternalIcon", "aerisInternalIconFallback"]
368
+ }, {
345
369
  kind: "directive",
346
370
  type: NgTemplateOutlet,
347
371
  selector: "[ngTemplateOutlet]",
@@ -355,14 +379,14 @@ var AerisInplace = class AerisInplace {
355
379
  };
356
380
  i0.ɵɵngDeclareClassMetadata({
357
381
  minVersion: "12.0.0",
358
- version: "22.2.2",
382
+ version: "22.2.3",
359
383
  ngImport: i0,
360
384
  type: AerisInplace,
361
385
  decorators: [{
362
386
  type: Component,
363
387
  args: [{
364
388
  selector: "aeris-inplace",
365
- imports: [NgTemplateOutlet],
389
+ imports: [ɵAerisIcon, NgTemplateOutlet],
366
390
  template: `
367
391
  @if (!active()) {
368
392
  <button
@@ -414,7 +438,17 @@ i0.ɵɵngDeclareClassMetadata({
414
438
  [attr.aria-label]="closeAriaLabel()"
415
439
  (click)="deactivate($event, 'close')"
416
440
  >
417
- <span class="aeris-inplace__close-icon" aria-hidden="true"></span>
441
+ @if (closeIconTemplate(); as customIcon) {
442
+ <span class="aeris-inplace__close-icon" aria-hidden="true" data-aeris-custom-icon
443
+ ><ng-container [ngTemplateOutlet]="customIcon"
444
+ /></span>
445
+ } @else {
446
+ <span
447
+ aerisInternalIcon="close"
448
+ class="aeris-inplace__close-icon"
449
+ aria-hidden="true"
450
+ ></span>
451
+ }
418
452
  </button>
419
453
  }
420
454
  </div>
@@ -426,10 +460,18 @@ i0.ɵɵngDeclareClassMetadata({
426
460
  "[attr.data-disabled]": "disabled() || null",
427
461
  "[attr.data-closable]": "closable() || null"
428
462
  },
429
- styles: [":host,.aeris-inplace,.aeris-inplace *{box-sizing:border-box}:host(.aeris-inplace){min-inline-size:0;max-inline-size:100%;display:block;color:var(--aeris-inplace-text, var(--aeris-text, #111111));font:inherit}.aeris-inplace__display{max-inline-size:100%;min-block-size:var(--aeris-inplace-display-min-height, var(--aeris-control-height, 2.625rem));display:inline-flex;align-items:center;justify-content:flex-start;padding-block:var(--aeris-inplace-display-padding-block, var(--aeris-item-padding-y, .5rem));padding-inline:var(--aeris-inplace-display-padding-inline, var(--aeris-item-padding-x, .75rem));border:1px solid transparent;border-radius:var(--aeris-inplace-radius, var(--aeris-radius-control, .4375rem));background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;transition:border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}@media(hover:hover){.aeris-inplace__display:hover:not(:disabled){border-color:var(--aeris-inplace-display-border, var(--aeris-border, #efefef));background:var(--aeris-inplace-display-hover, var(--aeris-surface-2, #f3f3f3))}}.aeris-inplace__display:focus-visible,.aeris-inplace__close:focus-visible,.aeris-inplace__content:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus, #111111);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-inplace__display:disabled{opacity:var(--aeris-disabled-opacity, .52);cursor:not-allowed}.aeris-inplace__label{min-inline-size:0;overflow-wrap:anywhere}.aeris-inplace__content{position:relative;min-inline-size:0;max-inline-size:100%;border:1px solid var(--aeris-inplace-content-border, var(--aeris-border));border-radius:var(--aeris-inplace-radius, var(--aeris-radius-control, .4375rem));background:var(--aeris-inplace-content-background, var(--aeris-surface, #fff));box-shadow:var(--aeris-inplace-content-shadow, var(--aeris-shadow-sm, 0 2px 5px rgba(0, 0, 0, .14)));animation:aeris-inplace-enter var(--aeris-motion-normal, .15s) var(--aeris-ease-enter, ease-out)}.aeris-inplace__body{min-inline-size:0;padding:var(--aeris-inplace-content-padding, 1rem);overflow-wrap:anywhere}.aeris-inplace__content--closable .aeris-inplace__body{padding-inline-end:calc(var(--aeris-inplace-content-padding, 1rem) + 2rem)}.aeris-inplace__close{position:absolute;inset-block-start:.5rem;inset-inline-end:.5rem;inline-size:var(--aeris-inplace-close-size, 1.75rem);block-size:var(--aeris-inplace-close-size, 1.75rem);display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:var(--aeris-inplace-close-color, var(--aeris-text-2, #454545));font:inherit;cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}@media(hover:hover){.aeris-inplace__close:hover{background:var(--aeris-inplace-display-hover, var(--aeris-surface-2, #f3f3f3));color:var(--aeris-text, #111111)}}.aeris-inplace__close-icon{inline-size:var(--aeris-inplace-close-icon-size, .75rem);block-size:var(--aeris-inplace-close-icon-size, .75rem);background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}@keyframes aeris-inplace-enter{0%{opacity:0;transform:translateY(-.25rem)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.aeris-inplace__display,.aeris-inplace__content{animation:none;transition:none}}\n"]
463
+ styles: [":host,.aeris-inplace,.aeris-inplace *{box-sizing:border-box}:host(.aeris-inplace){min-inline-size:0;max-inline-size:100%;display:block;color:var(--aeris-inplace-text, var(--aeris-text, #111111));font:inherit}.aeris-inplace__display{max-inline-size:100%;min-block-size:var(--aeris-inplace-display-min-height, var(--aeris-control-height, 2.625rem));display:inline-flex;align-items:center;justify-content:flex-start;padding-block:var(--aeris-inplace-display-padding-block, var(--aeris-item-padding-y, .5rem));padding-inline:var(--aeris-inplace-display-padding-inline, var(--aeris-item-padding-x, .75rem));border:1px solid transparent;border-radius:var(--aeris-inplace-radius, var(--aeris-radius-control, .4375rem));background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;transition:border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}@media(hover:hover){.aeris-inplace__display:hover:not(:disabled){border-color:var(--aeris-inplace-display-border, var(--aeris-border, #efefef));background:var(--aeris-inplace-display-hover, var(--aeris-surface-2, #f3f3f3))}}.aeris-inplace__display:focus-visible,.aeris-inplace__close:focus-visible,.aeris-inplace__content:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus, #111111);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-inplace__display:disabled{opacity:var(--aeris-disabled-opacity, .52);cursor:not-allowed}.aeris-inplace__label{min-inline-size:0;overflow-wrap:anywhere}.aeris-inplace__content{position:relative;min-inline-size:0;max-inline-size:100%;border:1px solid var(--aeris-inplace-content-border, var(--aeris-border));border-radius:var(--aeris-inplace-radius, var(--aeris-radius-control, .4375rem));background:var(--aeris-inplace-content-background, var(--aeris-surface, #fff));box-shadow:var(--aeris-inplace-content-shadow, var(--aeris-shadow-sm, 0 2px 5px rgba(0, 0, 0, .14)));animation:aeris-inplace-enter var(--aeris-motion-normal, .15s) var(--aeris-ease-enter, ease-out)}.aeris-inplace__body{min-inline-size:0;padding:var(--aeris-inplace-content-padding, 1rem);overflow-wrap:anywhere}.aeris-inplace__content--closable .aeris-inplace__body{padding-inline-end:calc(var(--aeris-inplace-content-padding, 1rem) + 2rem)}.aeris-inplace__close{position:absolute;inset-block-start:.5rem;inset-inline-end:.5rem;inline-size:var(--aeris-inplace-close-size, 1.75rem);block-size:var(--aeris-inplace-close-size, 1.75rem);display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:var(--aeris-inplace-close-color, var(--aeris-text-2, #454545));font:inherit;cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}@media(hover:hover){.aeris-inplace__close:hover{background:var(--aeris-inplace-display-hover, var(--aeris-surface-2, #f3f3f3));color:var(--aeris-text, #111111)}}.aeris-inplace__close-icon{inline-size:var(--aeris-inplace-close-icon-size, .75rem);block-size:var(--aeris-inplace-close-icon-size, .75rem);background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}@keyframes aeris-inplace-enter{0%{opacity:0;transform:translateY(-.25rem)}to{opacity:1;transform:translateY(0)}}: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}@media(prefers-reduced-motion:reduce){.aeris-inplace__display,.aeris-inplace__content{animation:none;transition:none}}\n"]
430
464
  }]
431
465
  }],
432
466
  propDecorators: {
467
+ closeIconTemplate: [{
468
+ type: i0.Input,
469
+ args: [{
470
+ isSignal: true,
471
+ alias: "closeIconTemplate",
472
+ required: false
473
+ }]
474
+ }],
433
475
  displayButton: [{
434
476
  type: i0.ViewChild,
435
477
  args: ["displayButton", { isSignal: true }]
@@ -1 +1 @@
1
- {"version":3,"file":"aeris-ui-core-inplace.mjs","names":[],"sources":["../../../projects/aeris-ui/inplace/aeris-inplace.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n model,\n output,\n viewChild,\n} from '@angular/core';\n\nexport type AerisInplaceChangeReason = 'display' | 'close' | 'escape' | 'api';\nexport type AerisInplaceAriaLive = 'off' | 'polite' | 'assertive';\n\nexport interface AerisInplaceStateEvent {\n readonly active: boolean;\n readonly originalEvent: Event | null;\n readonly reason: AerisInplaceChangeReason;\n}\n\nexport interface AerisInplaceDisplayContext {\n readonly $implicit: AerisInplace;\n readonly active: boolean;\n readonly activate: () => void;\n}\n\nexport interface AerisInplaceContentContext {\n readonly $implicit: AerisInplace;\n readonly active: boolean;\n readonly close: () => void;\n}\n\n@Directive({ selector: 'ng-template[aerisInplaceDisplay]' })\nexport class AerisInplaceDisplayTemplate {\n readonly template = inject<TemplateRef<AerisInplaceDisplayContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisInplaceContent]' })\nexport class AerisInplaceContentTemplate {\n readonly template = inject<TemplateRef<AerisInplaceContentContext>>(TemplateRef);\n}\n\n@Component({\n selector: 'aeris-inplace',\n imports: [NgTemplateOutlet],\n template: `\n @if (!active()) {\n <button\n #displayButton\n class=\"aeris-inplace__display\"\n type=\"button\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n [attr.aria-expanded]=\"false\"\n [attr.aria-controls]=\"contentId()\"\n (click)=\"activate($event, 'display')\"\n >\n @if (displayTemplate(); as display) {\n <ng-container\n [ngTemplateOutlet]=\"display.template\"\n [ngTemplateOutletContext]=\"displayContext()\"\n />\n } @else {\n <span class=\"aeris-inplace__label\">{{ label() }}</span>\n }\n </button>\n } @else {\n <div\n #contentPanel\n class=\"aeris-inplace__content\"\n [class.aeris-inplace__content--closable]=\"closable()\"\n [id]=\"contentId()\"\n [attr.tabindex]=\"autofocusContent() ? -1 : null\"\n [attr.aria-live]=\"ariaLive()\"\n (keydown)=\"handleContentKeydown($event)\"\n >\n <div class=\"aeris-inplace__body\">\n @if (contentTemplate(); as content) {\n <ng-container\n [ngTemplateOutlet]=\"content.template\"\n [ngTemplateOutletContext]=\"contentContext()\"\n />\n } @else {\n <ng-content />\n }\n </div>\n\n @if (closable()) {\n <button\n class=\"aeris-inplace__close\"\n type=\"button\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"deactivate($event, 'close')\"\n >\n <span class=\"aeris-inplace__close-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n }\n `,\n styleUrl: './aeris-inplace.scss',\n host: {\n class: 'aeris-inplace',\n '[attr.data-active]': 'active() || null',\n '[attr.data-disabled]': 'disabled() || null',\n '[attr.data-closable]': 'closable() || null',\n },\n})\nexport class AerisInplace {\n private static nextId = 0;\n private readonly displayButton = viewChild<ElementRef<HTMLButtonElement>>('displayButton');\n private readonly contentPanel = viewChild<ElementRef<HTMLElement>>('contentPanel');\n private readonly generatedContentId = `aeris-inplace-content-${++AerisInplace.nextId}`;\n private readonly activateCallback = (): void => this.activate();\n private readonly closeCallback = (): void => this.deactivate();\n\n readonly active = model(false);\n readonly label = input('Show content');\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly closable = input(false, { transform: booleanAttribute });\n readonly autofocusContent = input(true, { transform: booleanAttribute });\n readonly closeOnEscape = input(true, { transform: booleanAttribute });\n readonly closeAriaLabel = input('Close content');\n readonly contentId = input(this.generatedContentId);\n readonly ariaLabel = input('');\n readonly ariaLabelledBy = input('');\n readonly ariaDescribedBy = input('');\n readonly ariaLive = input<AerisInplaceAriaLive>('polite');\n\n readonly activated = output<AerisInplaceStateEvent>();\n readonly deactivated = output<AerisInplaceStateEvent>();\n\n protected readonly displayTemplate = contentChild(AerisInplaceDisplayTemplate);\n protected readonly contentTemplate = contentChild(AerisInplaceContentTemplate);\n protected readonly displayContext = computed<AerisInplaceDisplayContext>(() => ({\n $implicit: this,\n active: this.active(),\n activate: this.activateCallback,\n }));\n protected readonly contentContext = computed<AerisInplaceContentContext>(() => ({\n $implicit: this,\n active: this.active(),\n close: this.closeCallback,\n }));\n\n activate(originalEvent: Event | null = null, reason: AerisInplaceChangeReason = 'api'): void {\n if (this.disabled() || this.active()) return;\n this.active.set(true);\n this.activated.emit({ active: true, originalEvent, reason });\n if (this.autofocusContent()) queueMicrotask(() => this.focusContent());\n }\n\n deactivate(originalEvent: Event | null = null, reason: AerisInplaceChangeReason = 'api'): void {\n if (!this.active()) return;\n this.active.set(false);\n this.deactivated.emit({ active: false, originalEvent, reason });\n queueMicrotask(() => this.focusDisplay());\n }\n\n toggle(originalEvent: Event | null = null): void {\n if (this.active()) this.deactivate(originalEvent);\n else this.activate(originalEvent);\n }\n\n focusDisplay(options?: FocusOptions): void {\n this.displayButton()?.nativeElement.focus(options);\n }\n\n focusContent(options?: FocusOptions): void {\n const panel = this.contentPanel()?.nativeElement;\n if (!panel) return;\n const target = panel.querySelector<HTMLElement>(\n 'input:not([disabled]), textarea:not([disabled]), select:not([disabled]), button:not([disabled]), a[href], [tabindex]:not([tabindex=\"-1\"])',\n );\n (target ?? panel).focus(options);\n }\n\n protected handleContentKeydown(event: KeyboardEvent): void {\n if (event.key !== 'Escape' || !this.closeOnEscape()) return;\n event.preventDefault();\n event.stopPropagation();\n this.deactivate(event, 'escape');\n }\n}\n\nexport const AerisInplaceModule = [\n AerisInplace,\n AerisInplaceDisplayTemplate,\n AerisInplaceContentTemplate,\n] as const;\n"],"mappings":";;;AAsCA,IAAa,8BAAb,MAAa,4BAA2B;CAC7B,WAAW,OAAgD,WAAW;CADpE,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAA2B,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAA3B,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAA2B,cAAA;EAAA,UAAA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EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,WAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,WAAA;EAAA,CAAA;EAAA,aAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,aAAA;EAAA,CAAA;EAAA,iBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAqB/B,2BAA2B,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,iBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAC3B,2BAA2B,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AAoD/E,MAAa,qBAAqB;CAChC;CACA;CACA;AACQ"}
1
+ {"version":3,"file":"aeris-ui-core-inplace.mjs","names":[],"sources":["../../../projects/aeris-ui/inplace/aeris-inplace.ts"],"sourcesContent":["import { ɵAerisIcon } from '@aeris-ui/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n model,\n output,\n viewChild,\n} from '@angular/core';\n\nexport type AerisInplaceChangeReason = 'display' | 'close' | 'escape' | 'api';\nexport type AerisInplaceAriaLive = 'off' | 'polite' | 'assertive';\n\nexport interface AerisInplaceStateEvent {\n readonly active: boolean;\n readonly originalEvent: Event | null;\n readonly reason: AerisInplaceChangeReason;\n}\n\nexport interface AerisInplaceDisplayContext {\n readonly $implicit: AerisInplace;\n readonly active: boolean;\n readonly activate: () => void;\n}\n\nexport interface AerisInplaceContentContext {\n readonly $implicit: AerisInplace;\n readonly active: boolean;\n readonly close: () => void;\n}\n\n@Directive({ selector: 'ng-template[aerisInplaceDisplay]' })\nexport class AerisInplaceDisplayTemplate {\n readonly template = inject<TemplateRef<AerisInplaceDisplayContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisInplaceContent]' })\nexport class AerisInplaceContentTemplate {\n readonly template = inject<TemplateRef<AerisInplaceContentContext>>(TemplateRef);\n}\n\n@Component({\n selector: 'aeris-inplace',\n imports: [ɵAerisIcon, NgTemplateOutlet],\n template: `\n @if (!active()) {\n <button\n #displayButton\n class=\"aeris-inplace__display\"\n type=\"button\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n [attr.aria-expanded]=\"false\"\n [attr.aria-controls]=\"contentId()\"\n (click)=\"activate($event, 'display')\"\n >\n @if (displayTemplate(); as display) {\n <ng-container\n [ngTemplateOutlet]=\"display.template\"\n [ngTemplateOutletContext]=\"displayContext()\"\n />\n } @else {\n <span class=\"aeris-inplace__label\">{{ label() }}</span>\n }\n </button>\n } @else {\n <div\n #contentPanel\n class=\"aeris-inplace__content\"\n [class.aeris-inplace__content--closable]=\"closable()\"\n [id]=\"contentId()\"\n [attr.tabindex]=\"autofocusContent() ? -1 : null\"\n [attr.aria-live]=\"ariaLive()\"\n (keydown)=\"handleContentKeydown($event)\"\n >\n <div class=\"aeris-inplace__body\">\n @if (contentTemplate(); as content) {\n <ng-container\n [ngTemplateOutlet]=\"content.template\"\n [ngTemplateOutletContext]=\"contentContext()\"\n />\n } @else {\n <ng-content />\n }\n </div>\n\n @if (closable()) {\n <button\n class=\"aeris-inplace__close\"\n type=\"button\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"deactivate($event, 'close')\"\n >\n @if (closeIconTemplate(); as customIcon) {\n <span class=\"aeris-inplace__close-icon\" aria-hidden=\"true\" data-aeris-custom-icon\n ><ng-container [ngTemplateOutlet]=\"customIcon\"\n /></span>\n } @else {\n <span\n aerisInternalIcon=\"close\"\n class=\"aeris-inplace__close-icon\"\n aria-hidden=\"true\"\n ></span>\n }\n </button>\n }\n </div>\n }\n `,\n styleUrl: './aeris-inplace.scss',\n host: {\n class: 'aeris-inplace',\n '[attr.data-active]': 'active() || null',\n '[attr.data-disabled]': 'disabled() || null',\n '[attr.data-closable]': 'closable() || null',\n },\n})\nexport class AerisInplace {\n readonly closeIconTemplate = input<TemplateRef<void>>();\n\n private static nextId = 0;\n private readonly displayButton = viewChild<ElementRef<HTMLButtonElement>>('displayButton');\n private readonly contentPanel = viewChild<ElementRef<HTMLElement>>('contentPanel');\n private readonly generatedContentId = `aeris-inplace-content-${++AerisInplace.nextId}`;\n private readonly activateCallback = (): void => this.activate();\n private readonly closeCallback = (): void => this.deactivate();\n\n readonly active = model(false);\n readonly label = input('Show content');\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly closable = input(false, { transform: booleanAttribute });\n readonly autofocusContent = input(true, { transform: booleanAttribute });\n readonly closeOnEscape = input(true, { transform: booleanAttribute });\n readonly closeAriaLabel = input('Close content');\n readonly contentId = input(this.generatedContentId);\n readonly ariaLabel = input('');\n readonly ariaLabelledBy = input('');\n readonly ariaDescribedBy = input('');\n readonly ariaLive = input<AerisInplaceAriaLive>('polite');\n\n readonly activated = output<AerisInplaceStateEvent>();\n readonly deactivated = output<AerisInplaceStateEvent>();\n\n protected readonly displayTemplate = contentChild(AerisInplaceDisplayTemplate);\n protected readonly contentTemplate = contentChild(AerisInplaceContentTemplate);\n protected readonly displayContext = computed<AerisInplaceDisplayContext>(() => ({\n $implicit: this,\n active: this.active(),\n activate: this.activateCallback,\n }));\n protected readonly contentContext = computed<AerisInplaceContentContext>(() => ({\n $implicit: this,\n active: this.active(),\n close: this.closeCallback,\n }));\n\n activate(originalEvent: Event | null = null, reason: AerisInplaceChangeReason = 'api'): void {\n if (this.disabled() || this.active()) return;\n this.active.set(true);\n this.activated.emit({ active: true, originalEvent, reason });\n if (this.autofocusContent()) queueMicrotask(() => this.focusContent());\n }\n\n deactivate(originalEvent: Event | null = null, reason: AerisInplaceChangeReason = 'api'): void {\n if (!this.active()) return;\n this.active.set(false);\n this.deactivated.emit({ active: false, originalEvent, reason });\n queueMicrotask(() => this.focusDisplay());\n }\n\n toggle(originalEvent: Event | null = null): void {\n if (this.active()) this.deactivate(originalEvent);\n else this.activate(originalEvent);\n }\n\n focusDisplay(options?: FocusOptions): void {\n this.displayButton()?.nativeElement.focus(options);\n }\n\n focusContent(options?: FocusOptions): void {\n const panel = this.contentPanel()?.nativeElement;\n if (!panel) return;\n const target = panel.querySelector<HTMLElement>(\n 'input:not([disabled]), textarea:not([disabled]), select:not([disabled]), button:not([disabled]), a[href], [tabindex]:not([tabindex=\"-1\"])',\n );\n (target ?? panel).focus(options);\n }\n\n protected handleContentKeydown(event: KeyboardEvent): void {\n if (event.key !== 'Escape' || !this.closeOnEscape()) return;\n event.preventDefault();\n event.stopPropagation();\n this.deactivate(event, 'escape');\n }\n}\n\nexport const AerisInplaceModule = [\n AerisInplace,\n AerisInplaceDisplayTemplate,\n AerisInplaceContentTemplate,\n] as const;\n"],"mappings":";;;;AAuCA,IAAa,8BAAb,MAAa,4BAA2B;CAC7B,WAAW,OAAgD,WAAW;CADpE,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAA2B,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAA3B,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAA2B,cAAA;EAAA,UAAA;EAAA,UAAA;CAAA,CAAA;;AAA3B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA2B,YAAA,CAAA;EADvC,MAAA;EAAU,MAAA,CAAA,EAAE,UAAU,mCAAkC,CAAE;;;AAM3D,IAAa,8BAAb,MAAa,4BAA2B;CAC7B,WAAW,OAAgD,WAAW;CADpE,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;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