@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
@@ -1,4 +1,4 @@
1
- import { DOCUMENT } from "@angular/common";
1
+ import { DOCUMENT, NgTemplateOutlet } from "@angular/common";
2
2
  import * as i0 from "@angular/core";
3
3
  import { Component, SecurityContext, ViewEncapsulation, booleanAttribute, computed, effect, forwardRef, inject, input, model, output, signal, viewChild } from "@angular/core";
4
4
  import { NG_VALUE_ACCESSOR } from "@angular/forms";
@@ -58,6 +58,7 @@ const AERIS_EDITOR_ALL_FORMATS = [
58
58
  ];
59
59
  let editorId = 0;
60
60
  var AerisEditorComponent = class AerisEditorComponent {
61
+ toolbarIcons = input({}, ...ngDevMode ? [{ debugName: "toolbarIcons" }] : /* istanbul ignore next */ []);
61
62
  document = inject(DOCUMENT);
62
63
  sanitizer = inject(DomSanitizer);
63
64
  value = model("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
@@ -510,7 +511,7 @@ var AerisEditorComponent = class AerisEditorComponent {
510
511
  }
511
512
  static ɵfac = i0.ɵɵngDeclareFactory({
512
513
  minVersion: "12.0.0",
513
- version: "22.2.2",
514
+ version: "22.2.3",
514
515
  ngImport: i0,
515
516
  type: AerisEditorComponent,
516
517
  deps: [],
@@ -518,11 +519,18 @@ var AerisEditorComponent = class AerisEditorComponent {
518
519
  });
519
520
  static ɵcmp = i0.ɵɵngDeclareComponent({
520
521
  minVersion: "17.0.0",
521
- version: "22.2.2",
522
+ version: "22.2.3",
522
523
  type: AerisEditorComponent,
523
524
  isStandalone: true,
524
525
  selector: "aeris-editor",
525
526
  inputs: {
527
+ toolbarIcons: {
528
+ classPropertyName: "toolbarIcons",
529
+ publicName: "toolbarIcons",
530
+ isSignal: true,
531
+ isRequired: false,
532
+ transformFunction: null
533
+ },
526
534
  value: {
527
535
  classPropertyName: "value",
528
536
  publicName: "value",
@@ -722,18 +730,30 @@ var AerisEditorComponent = class AerisEditorComponent {
722
730
  <div class="aeris-editor__toolbar" role="toolbar" [attr.aria-label]="toolbarAriaLabel()">
723
731
  @if (availableFormats().has('undo')) {
724
732
  <button type="button" aria-label="Undo" [disabled]="toolbarDisabled()" (click)="undo()">
725
- <svg aria-hidden="true" viewBox="0 0 24 24">
726
- <path d="M9 8H4V3" />
727
- <path d="M4 8c2.1-2.7 5-4 8.1-4A8 8 0 1 1 6 17.1" />
728
- </svg>
733
+ @if (toolbarIcons()['undo']; as customIcon) {
734
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
735
+ ><ng-container [ngTemplateOutlet]="customIcon"
736
+ /></span>
737
+ } @else {
738
+ <svg aria-hidden="true" viewBox="0 0 24 24">
739
+ <path d="M3 7v6h6" />
740
+ <path d="M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13" />
741
+ </svg>
742
+ }
729
743
  </button>
730
744
  }
731
745
  @if (availableFormats().has('redo')) {
732
746
  <button type="button" aria-label="Redo" [disabled]="toolbarDisabled()" (click)="redo()">
733
- <svg aria-hidden="true" viewBox="0 0 24 24">
734
- <path d="M15 8h5V3" />
735
- <path d="M20 8c-2.1-2.7-5-4-8.1-4A8 8 0 1 0 18 17.1" />
736
- </svg>
747
+ @if (toolbarIcons()['redo']; as customIcon) {
748
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
749
+ ><ng-container [ngTemplateOutlet]="customIcon"
750
+ /></span>
751
+ } @else {
752
+ <svg aria-hidden="true" viewBox="0 0 24 24">
753
+ <path d="M21 7v6h-6" />
754
+ <path d="M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7" />
755
+ </svg>
756
+ }
737
757
  </button>
738
758
  }
739
759
 
@@ -748,7 +768,15 @@ var AerisEditorComponent = class AerisEditorComponent {
748
768
  [disabled]="toolbarDisabled()"
749
769
  (click)="format('bold')"
750
770
  >
751
- <strong>B</strong>
771
+ @if (toolbarIcons()['bold']; as customIcon) {
772
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
773
+ ><ng-container [ngTemplateOutlet]="customIcon"
774
+ /></span>
775
+ } @else {
776
+ <svg aria-hidden="true" viewBox="0 0 24 24">
777
+ <path d="M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8" />
778
+ </svg>
779
+ }
752
780
  </button>
753
781
  }
754
782
  @if (availableFormats().has('italic')) {
@@ -759,7 +787,17 @@ var AerisEditorComponent = class AerisEditorComponent {
759
787
  [disabled]="toolbarDisabled()"
760
788
  (click)="format('italic')"
761
789
  >
762
- <em>I</em>
790
+ @if (toolbarIcons()['italic']; as customIcon) {
791
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
792
+ ><ng-container [ngTemplateOutlet]="customIcon"
793
+ /></span>
794
+ } @else {
795
+ <svg aria-hidden="true" viewBox="0 0 24 24">
796
+ <line x1="19" x2="10" y1="4" y2="4" />
797
+ <line x1="14" x2="5" y1="20" y2="20" />
798
+ <line x1="15" x2="9" y1="4" y2="20" />
799
+ </svg>
800
+ }
763
801
  </button>
764
802
  }
765
803
  @if (availableFormats().has('underline')) {
@@ -770,7 +808,16 @@ var AerisEditorComponent = class AerisEditorComponent {
770
808
  [disabled]="toolbarDisabled()"
771
809
  (click)="format('underline')"
772
810
  >
773
- <span class="aeris-editor__underline">U</span>
811
+ @if (toolbarIcons()['underline']; as customIcon) {
812
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
813
+ ><ng-container [ngTemplateOutlet]="customIcon"
814
+ /></span>
815
+ } @else {
816
+ <svg aria-hidden="true" viewBox="0 0 24 24">
817
+ <path d="M6 4v6a6 6 0 0 0 12 0V4" />
818
+ <line x1="4" x2="20" y1="20" y2="20" />
819
+ </svg>
820
+ }
774
821
  </button>
775
822
  }
776
823
  @if (availableFormats().has('strikethrough')) {
@@ -781,7 +828,17 @@ var AerisEditorComponent = class AerisEditorComponent {
781
828
  [disabled]="toolbarDisabled()"
782
829
  (click)="format('strikethrough')"
783
830
  >
784
- <span class="aeris-editor__strikethrough">S</span>
831
+ @if (toolbarIcons()['strikethrough']; as customIcon) {
832
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
833
+ ><ng-container [ngTemplateOutlet]="customIcon"
834
+ /></span>
835
+ } @else {
836
+ <svg aria-hidden="true" viewBox="0 0 24 24">
837
+ <path d="M16 4H9a3 3 0 0 0-2.83 4" />
838
+ <path d="M14 12a4 4 0 0 1 0 8H6" />
839
+ <line x1="4" x2="20" y1="12" y2="12" />
840
+ </svg>
841
+ }
785
842
  </button>
786
843
  }
787
844
  @if (availableFormats().has('code')) {
@@ -792,7 +849,16 @@ var AerisEditorComponent = class AerisEditorComponent {
792
849
  [disabled]="toolbarDisabled()"
793
850
  (click)="format('code')"
794
851
  >
795
- <span aria-hidden="true">&lt;/&gt;</span>
852
+ @if (toolbarIcons()['code']; as customIcon) {
853
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
854
+ ><ng-container [ngTemplateOutlet]="customIcon"
855
+ /></span>
856
+ } @else {
857
+ <svg aria-hidden="true" viewBox="0 0 24 24">
858
+ <path d="m16 18 6-6-6-6" />
859
+ <path d="m8 6-6 6 6 6" />
860
+ </svg>
861
+ }
796
862
  </button>
797
863
  }
798
864
  @if (availableFormats().has('highlight')) {
@@ -803,11 +869,16 @@ var AerisEditorComponent = class AerisEditorComponent {
803
869
  [disabled]="toolbarDisabled()"
804
870
  (click)="format('highlight')"
805
871
  >
806
- <svg aria-hidden="true" viewBox="0 0 24 24">
807
- <path d="m9 11 4 4" />
808
- <path d="m14.5 4.5 5 5L10 19H5v-5Z" />
809
- <path d="M4 21h16" />
810
- </svg>
872
+ @if (toolbarIcons()['highlight']; as customIcon) {
873
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
874
+ ><ng-container [ngTemplateOutlet]="customIcon"
875
+ /></span>
876
+ } @else {
877
+ <svg aria-hidden="true" viewBox="0 0 24 24">
878
+ <path d="m9 11-6 6v3h9l3-3" />
879
+ <path d="m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4" />
880
+ </svg>
881
+ }
811
882
  </button>
812
883
  }
813
884
  @if (availableFormats().has('subscript')) {
@@ -818,7 +889,19 @@ var AerisEditorComponent = class AerisEditorComponent {
818
889
  [disabled]="toolbarDisabled()"
819
890
  (click)="format('subscript')"
820
891
  >
821
- <span aria-hidden="true">X<sub>2</sub></span>
892
+ @if (toolbarIcons()['subscript']; as customIcon) {
893
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
894
+ ><ng-container [ngTemplateOutlet]="customIcon"
895
+ /></span>
896
+ } @else {
897
+ <svg aria-hidden="true" viewBox="0 0 24 24">
898
+ <path d="m4 5 8 8" />
899
+ <path d="m12 5-8 8" />
900
+ <path
901
+ d="M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07"
902
+ />
903
+ </svg>
904
+ }
822
905
  </button>
823
906
  }
824
907
  @if (availableFormats().has('superscript')) {
@@ -829,7 +912,19 @@ var AerisEditorComponent = class AerisEditorComponent {
829
912
  [disabled]="toolbarDisabled()"
830
913
  (click)="format('superscript')"
831
914
  >
832
- <span aria-hidden="true">X<sup>2</sup></span>
915
+ @if (toolbarIcons()['superscript']; as customIcon) {
916
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
917
+ ><ng-container [ngTemplateOutlet]="customIcon"
918
+ /></span>
919
+ } @else {
920
+ <svg aria-hidden="true" viewBox="0 0 24 24">
921
+ <path d="m4 19 8-8" />
922
+ <path d="m12 19-8-8" />
923
+ <path
924
+ d="M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06"
925
+ />
926
+ </svg>
927
+ }
833
928
  </button>
834
929
  }
835
930
  @if (availableFormats().has('lowercase')) {
@@ -840,7 +935,18 @@ var AerisEditorComponent = class AerisEditorComponent {
840
935
  [disabled]="toolbarDisabled()"
841
936
  (click)="format('lowercase')"
842
937
  >
843
- aa
938
+ @if (toolbarIcons()['lowercase']; as customIcon) {
939
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
940
+ ><ng-container [ngTemplateOutlet]="customIcon"
941
+ /></span>
942
+ } @else {
943
+ <svg aria-hidden="true" viewBox="0 0 24 24">
944
+ <path d="M10 9v7" />
945
+ <path d="M14 6v10" />
946
+ <circle cx="17.5" cy="12.5" r="3.5" />
947
+ <circle cx="6.5" cy="12.5" r="3.5" />
948
+ </svg>
949
+ }
844
950
  </button>
845
951
  }
846
952
  @if (availableFormats().has('uppercase')) {
@@ -851,7 +957,19 @@ var AerisEditorComponent = class AerisEditorComponent {
851
957
  [disabled]="toolbarDisabled()"
852
958
  (click)="format('uppercase')"
853
959
  >
854
- AA
960
+ @if (toolbarIcons()['uppercase']; as customIcon) {
961
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
962
+ ><ng-container [ngTemplateOutlet]="customIcon"
963
+ /></span>
964
+ } @else {
965
+ <svg aria-hidden="true" viewBox="0 0 24 24">
966
+ <path
967
+ d="M15 11h4.5a1 1 0 0 1 0 5h-4a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h3a1 1 0 0 1 0 5"
968
+ />
969
+ <path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />
970
+ <path d="M3.304 13h6.392" />
971
+ </svg>
972
+ }
855
973
  </button>
856
974
  }
857
975
  @if (availableFormats().has('capitalize')) {
@@ -862,7 +980,18 @@ var AerisEditorComponent = class AerisEditorComponent {
862
980
  [disabled]="toolbarDisabled()"
863
981
  (click)="format('capitalize')"
864
982
  >
865
- Aa
983
+ @if (toolbarIcons()['capitalize']; as customIcon) {
984
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
985
+ ><ng-container [ngTemplateOutlet]="customIcon"
986
+ /></span>
987
+ } @else {
988
+ <svg aria-hidden="true" viewBox="0 0 24 24">
989
+ <path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />
990
+ <path d="M22 9v7" />
991
+ <path d="M3.304 13h6.392" />
992
+ <circle cx="18.5" cy="12.5" r="3.5" />
993
+ </svg>
994
+ }
866
995
  </button>
867
996
  }
868
997
 
@@ -877,7 +1006,17 @@ var AerisEditorComponent = class AerisEditorComponent {
877
1006
  [disabled]="toolbarDisabled()"
878
1007
  (click)="setBlock('paragraph')"
879
1008
  >
880
- P
1009
+ @if (toolbarIcons()['paragraph']; as customIcon) {
1010
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1011
+ ><ng-container [ngTemplateOutlet]="customIcon"
1012
+ /></span>
1013
+ } @else {
1014
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1015
+ <path d="M13 4v16" />
1016
+ <path d="M17 4v16" />
1017
+ <path d="M19 4H9.5a4.5 4.5 0 0 0 0 9H13" />
1018
+ </svg>
1019
+ }
881
1020
  </button>
882
1021
  }
883
1022
  @if (availableFormats().has('heading1')) {
@@ -888,7 +1027,18 @@ var AerisEditorComponent = class AerisEditorComponent {
888
1027
  [disabled]="toolbarDisabled()"
889
1028
  (click)="setBlock('h1')"
890
1029
  >
891
- H1
1030
+ @if (toolbarIcons()['heading1']; as customIcon) {
1031
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1032
+ ><ng-container [ngTemplateOutlet]="customIcon"
1033
+ /></span>
1034
+ } @else {
1035
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1036
+ <path d="M4 12h8" />
1037
+ <path d="M4 18V6" />
1038
+ <path d="M12 18V6" />
1039
+ <path d="m17 12 3-2v8" />
1040
+ </svg>
1041
+ }
892
1042
  </button>
893
1043
  }
894
1044
  @if (availableFormats().has('heading')) {
@@ -899,7 +1049,18 @@ var AerisEditorComponent = class AerisEditorComponent {
899
1049
  [disabled]="toolbarDisabled()"
900
1050
  (click)="setBlock('heading')"
901
1051
  >
902
- H2
1052
+ @if (toolbarIcons()['heading']; as customIcon) {
1053
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1054
+ ><ng-container [ngTemplateOutlet]="customIcon"
1055
+ /></span>
1056
+ } @else {
1057
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1058
+ <path d="M4 12h8" />
1059
+ <path d="M4 18V6" />
1060
+ <path d="M12 18V6" />
1061
+ <path d="M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1" />
1062
+ </svg>
1063
+ }
903
1064
  </button>
904
1065
  }
905
1066
  @if (availableFormats().has('heading2')) {
@@ -910,7 +1071,18 @@ var AerisEditorComponent = class AerisEditorComponent {
910
1071
  [disabled]="toolbarDisabled()"
911
1072
  (click)="setBlock('h2')"
912
1073
  >
913
- H2
1074
+ @if (toolbarIcons()['heading2']; as customIcon) {
1075
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1076
+ ><ng-container [ngTemplateOutlet]="customIcon"
1077
+ /></span>
1078
+ } @else {
1079
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1080
+ <path d="M4 12h8" />
1081
+ <path d="M4 18V6" />
1082
+ <path d="M12 18V6" />
1083
+ <path d="M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1" />
1084
+ </svg>
1085
+ }
914
1086
  </button>
915
1087
  }
916
1088
  @if (availableFormats().has('heading3')) {
@@ -921,7 +1093,19 @@ var AerisEditorComponent = class AerisEditorComponent {
921
1093
  [disabled]="toolbarDisabled()"
922
1094
  (click)="setBlock('h3')"
923
1095
  >
924
- H3
1096
+ @if (toolbarIcons()['heading3']; as customIcon) {
1097
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1098
+ ><ng-container [ngTemplateOutlet]="customIcon"
1099
+ /></span>
1100
+ } @else {
1101
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1102
+ <path d="M4 12h8" />
1103
+ <path d="M4 18V6" />
1104
+ <path d="M12 18V6" />
1105
+ <path d="M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2" />
1106
+ <path d="M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2" />
1107
+ </svg>
1108
+ }
925
1109
  </button>
926
1110
  }
927
1111
  @if (availableFormats().has('heading4')) {
@@ -932,7 +1116,19 @@ var AerisEditorComponent = class AerisEditorComponent {
932
1116
  [disabled]="toolbarDisabled()"
933
1117
  (click)="setBlock('h4')"
934
1118
  >
935
- H4
1119
+ @if (toolbarIcons()['heading4']; as customIcon) {
1120
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1121
+ ><ng-container [ngTemplateOutlet]="customIcon"
1122
+ /></span>
1123
+ } @else {
1124
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1125
+ <path d="M12 18V6" />
1126
+ <path d="M17 10v3a1 1 0 0 0 1 1h3" />
1127
+ <path d="M21 10v8" />
1128
+ <path d="M4 12h8" />
1129
+ <path d="M4 18V6" />
1130
+ </svg>
1131
+ }
936
1132
  </button>
937
1133
  }
938
1134
  @if (availableFormats().has('heading5')) {
@@ -943,7 +1139,19 @@ var AerisEditorComponent = class AerisEditorComponent {
943
1139
  [disabled]="toolbarDisabled()"
944
1140
  (click)="setBlock('h5')"
945
1141
  >
946
- H5
1142
+ @if (toolbarIcons()['heading5']; as customIcon) {
1143
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1144
+ ><ng-container [ngTemplateOutlet]="customIcon"
1145
+ /></span>
1146
+ } @else {
1147
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1148
+ <path d="M4 12h8" />
1149
+ <path d="M4 18V6" />
1150
+ <path d="M12 18V6" />
1151
+ <path d="M17 13v-3h4" />
1152
+ <path d="M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17" />
1153
+ </svg>
1154
+ }
947
1155
  </button>
948
1156
  }
949
1157
  @if (availableFormats().has('heading6')) {
@@ -954,7 +1162,19 @@ var AerisEditorComponent = class AerisEditorComponent {
954
1162
  [disabled]="toolbarDisabled()"
955
1163
  (click)="setBlock('h6')"
956
1164
  >
957
- H6
1165
+ @if (toolbarIcons()['heading6']; as customIcon) {
1166
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1167
+ ><ng-container [ngTemplateOutlet]="customIcon"
1168
+ /></span>
1169
+ } @else {
1170
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1171
+ <path d="M4 12h8" />
1172
+ <path d="M4 18V6" />
1173
+ <path d="M12 18V6" />
1174
+ <circle cx="19" cy="16" r="2" />
1175
+ <path d="M20 10c-2 2-3 3.5-3 6" />
1176
+ </svg>
1177
+ }
958
1178
  </button>
959
1179
  }
960
1180
  @if (availableFormats().has('quote')) {
@@ -965,14 +1185,20 @@ var AerisEditorComponent = class AerisEditorComponent {
965
1185
  [disabled]="toolbarDisabled()"
966
1186
  (click)="setBlock('quote')"
967
1187
  >
968
- <svg aria-hidden="true" viewBox="0 0 24 24">
969
- <path
970
- d="M8 6H5.8C4.8 7.7 4.3 9.3 4.3 11c0 2.1 1.1 3.6 3 3.6 1.5 0 2.7-1.1 2.7-2.7 0-1.4-1-2.5-2.4-2.7.1-.9.5-1.9 1.1-3.2Z"
971
- />
972
- <path
973
- d="M18 6h-2.2c-1 1.7-1.5 3.3-1.5 5 0 2.1 1.1 3.6 3 3.6 1.5 0 2.7-1.1 2.7-2.7 0-1.4-1-2.5-2.4-2.7.1-.9.5-1.9 1.1-3.2Z"
974
- />
975
- </svg>
1188
+ @if (toolbarIcons()['quote']; as customIcon) {
1189
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1190
+ ><ng-container [ngTemplateOutlet]="customIcon"
1191
+ /></span>
1192
+ } @else {
1193
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1194
+ <path
1195
+ d="M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"
1196
+ />
1197
+ <path
1198
+ d="M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"
1199
+ />
1200
+ </svg>
1201
+ }
976
1202
  </button>
977
1203
  }
978
1204
 
@@ -987,14 +1213,20 @@ var AerisEditorComponent = class AerisEditorComponent {
987
1213
  [disabled]="toolbarDisabled()"
988
1214
  (click)="toggleBulletList()"
989
1215
  >
990
- <svg aria-hidden="true" viewBox="0 0 24 24">
991
- <path d="M8 6h12" />
992
- <path d="M8 12h12" />
993
- <path d="M8 18h12" />
994
- <circle cx="4" cy="6" r="1" />
995
- <circle cx="4" cy="12" r="1" />
996
- <circle cx="4" cy="18" r="1" />
997
- </svg>
1216
+ @if (toolbarIcons()['bulletList']; as customIcon) {
1217
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
1218
+ ><ng-container [ngTemplateOutlet]="customIcon"
1219
+ /></span>
1220
+ } @else {
1221
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1222
+ <path d="M3 5h.01" />
1223
+ <path d="M3 12h.01" />
1224
+ <path d="M3 19h.01" />
1225
+ <path d="M8 5h13" />
1226
+ <path d="M8 12h13" />
1227
+ <path d="M8 19h13" />
1228
+ </svg>
1229
+ }
998
1230
  </button>
999
1231
  }
1000
1232
  @if (availableFormats().has('numberedList')) {
@@ -1005,19 +1237,20 @@ var AerisEditorComponent = class AerisEditorComponent {
1005
1237
  [disabled]="toolbarDisabled()"
1006
1238
  (click)="toggleNumberedList()"
1007
1239
  >
1008
- <svg aria-hidden="true" viewBox="0 0 24 24">
1009
- <path d="M10 6h10" />
1010
- <path d="M10 12h10" />
1011
- <path d="M10 18h10" />
1012
- <path d="M4 5h1v3" />
1013
- <path d="M3.7 8h2.6" />
1014
- <path
1015
- d="M3.6 11.4c.3-.4.8-.6 1.4-.6.8 0 1.4.5 1.4 1.2 0 .5-.3.9-.8 1.2L4 14.5h2.5"
1016
- />
1017
- <path
1018
- d="M3.7 17h2.1l-1 1h.3c.8 0 1.4.4 1.4 1.1 0 .7-.6 1.2-1.5 1.2-.6 0-1.1-.2-1.5-.6"
1019
- />
1020
- </svg>
1240
+ @if (toolbarIcons()['numberedList']; as customIcon) {
1241
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
1242
+ ><ng-container [ngTemplateOutlet]="customIcon"
1243
+ /></span>
1244
+ } @else {
1245
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1246
+ <path d="M11 5h10" />
1247
+ <path d="M11 12h10" />
1248
+ <path d="M11 19h10" />
1249
+ <path d="M4 4h1v5" />
1250
+ <path d="M4 9h2" />
1251
+ <path d="M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02" />
1252
+ </svg>
1253
+ }
1021
1254
  </button>
1022
1255
  }
1023
1256
  @if (availableFormats().has('checkList')) {
@@ -1028,13 +1261,19 @@ var AerisEditorComponent = class AerisEditorComponent {
1028
1261
  [disabled]="toolbarDisabled()"
1029
1262
  (click)="toggleCheckList()"
1030
1263
  >
1031
- <svg aria-hidden="true" viewBox="0 0 24 24">
1032
- <rect x="3" y="4" width="5" height="5" rx="1" />
1033
- <path d="m4.5 6.5 1.2 1.2L8.3 5" />
1034
- <path d="M11 6.5h10" />
1035
- <rect x="3" y="15" width="5" height="5" rx="1" />
1036
- <path d="M11 17.5h10" />
1037
- </svg>
1264
+ @if (toolbarIcons()['checkList']; as customIcon) {
1265
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
1266
+ ><ng-container [ngTemplateOutlet]="customIcon"
1267
+ /></span>
1268
+ } @else {
1269
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1270
+ <path d="M13 5h8" />
1271
+ <path d="M13 12h8" />
1272
+ <path d="M13 19h8" />
1273
+ <path d="m3 17 2 2 4-4" />
1274
+ <path d="m3 7 2 2 4-4" />
1275
+ </svg>
1276
+ }
1038
1277
  </button>
1039
1278
  }
1040
1279
 
@@ -1049,9 +1288,17 @@ var AerisEditorComponent = class AerisEditorComponent {
1049
1288
  [disabled]="toolbarDisabled()"
1050
1289
  (click)="align('left')"
1051
1290
  >
1052
- <svg aria-hidden="true" viewBox="0 0 24 24">
1053
- <path d="M4 6h16M4 10h11M4 14h16M4 18h11" />
1054
- </svg>
1291
+ @if (toolbarIcons()['alignLeft']; as customIcon) {
1292
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
1293
+ ><ng-container [ngTemplateOutlet]="customIcon"
1294
+ /></span>
1295
+ } @else {
1296
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1297
+ <path d="M21 5H3" />
1298
+ <path d="M15 12H3" />
1299
+ <path d="M17 19H3" />
1300
+ </svg>
1301
+ }
1055
1302
  </button>
1056
1303
  }
1057
1304
  @if (availableFormats().has('alignStart')) {
@@ -1062,9 +1309,20 @@ var AerisEditorComponent = class AerisEditorComponent {
1062
1309
  [disabled]="toolbarDisabled()"
1063
1310
  (click)="align('start')"
1064
1311
  >
1065
- <svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
1066
- <path d="M4 6h16M4 10h11M4 14h16M4 18h11" />
1067
- </svg>
1312
+ @if (toolbarIcons()['alignStart']; as customIcon) {
1313
+ <span
1314
+ class="aeris-custom-icon aeris-editor__logical-icon"
1315
+ aria-hidden="true"
1316
+ data-aeris-custom-icon
1317
+ ><ng-container [ngTemplateOutlet]="customIcon"
1318
+ /></span>
1319
+ } @else {
1320
+ <svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
1321
+ <path d="M21 5H3" />
1322
+ <path d="M15 12H3" />
1323
+ <path d="M17 19H3" />
1324
+ </svg>
1325
+ }
1068
1326
  </button>
1069
1327
  }
1070
1328
  @if (availableFormats().has('alignCenter')) {
@@ -1075,9 +1333,17 @@ var AerisEditorComponent = class AerisEditorComponent {
1075
1333
  [disabled]="toolbarDisabled()"
1076
1334
  (click)="align('center')"
1077
1335
  >
1078
- <svg aria-hidden="true" viewBox="0 0 24 24">
1079
- <path d="M4 6h16M6.5 10h11M4 14h16M6.5 18h11" />
1080
- </svg>
1336
+ @if (toolbarIcons()['alignCenter']; as customIcon) {
1337
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
1338
+ ><ng-container [ngTemplateOutlet]="customIcon"
1339
+ /></span>
1340
+ } @else {
1341
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1342
+ <path d="M21 5H3" />
1343
+ <path d="M17 12H7" />
1344
+ <path d="M19 19H5" />
1345
+ </svg>
1346
+ }
1081
1347
  </button>
1082
1348
  }
1083
1349
  @if (availableFormats().has('alignRight')) {
@@ -1088,9 +1354,17 @@ var AerisEditorComponent = class AerisEditorComponent {
1088
1354
  [disabled]="toolbarDisabled()"
1089
1355
  (click)="align('right')"
1090
1356
  >
1091
- <svg aria-hidden="true" viewBox="0 0 24 24">
1092
- <path d="M4 6h16M9 10h11M4 14h16M9 18h11" />
1093
- </svg>
1357
+ @if (toolbarIcons()['alignRight']; as customIcon) {
1358
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
1359
+ ><ng-container [ngTemplateOutlet]="customIcon"
1360
+ /></span>
1361
+ } @else {
1362
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1363
+ <path d="M21 5H3" />
1364
+ <path d="M21 12H9" />
1365
+ <path d="M21 19H7" />
1366
+ </svg>
1367
+ }
1094
1368
  </button>
1095
1369
  }
1096
1370
  @if (availableFormats().has('alignEnd')) {
@@ -1101,9 +1375,20 @@ var AerisEditorComponent = class AerisEditorComponent {
1101
1375
  [disabled]="toolbarDisabled()"
1102
1376
  (click)="align('end')"
1103
1377
  >
1104
- <svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
1105
- <path d="M4 6h16M9 10h11M4 14h16M9 18h11" />
1106
- </svg>
1378
+ @if (toolbarIcons()['alignEnd']; as customIcon) {
1379
+ <span
1380
+ class="aeris-custom-icon aeris-editor__logical-icon"
1381
+ aria-hidden="true"
1382
+ data-aeris-custom-icon
1383
+ ><ng-container [ngTemplateOutlet]="customIcon"
1384
+ /></span>
1385
+ } @else {
1386
+ <svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
1387
+ <path d="M21 5H3" />
1388
+ <path d="M21 12H9" />
1389
+ <path d="M21 19H7" />
1390
+ </svg>
1391
+ }
1107
1392
  </button>
1108
1393
  }
1109
1394
  @if (availableFormats().has('alignJustify')) {
@@ -1114,9 +1399,17 @@ var AerisEditorComponent = class AerisEditorComponent {
1114
1399
  [disabled]="toolbarDisabled()"
1115
1400
  (click)="align('justify')"
1116
1401
  >
1117
- <svg aria-hidden="true" viewBox="0 0 24 24">
1118
- <path d="M4 6h16M4 10h16M4 14h16M4 18h16" />
1119
- </svg>
1402
+ @if (toolbarIcons()['alignJustify']; as customIcon) {
1403
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
1404
+ ><ng-container [ngTemplateOutlet]="customIcon"
1405
+ /></span>
1406
+ } @else {
1407
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1408
+ <path d="M3 5h18" />
1409
+ <path d="M3 12h18" />
1410
+ <path d="M3 19h18" />
1411
+ </svg>
1412
+ }
1120
1413
  </button>
1121
1414
  }
1122
1415
 
@@ -1130,10 +1423,18 @@ var AerisEditorComponent = class AerisEditorComponent {
1130
1423
  [disabled]="toolbarDisabled()"
1131
1424
  (click)="outdent()"
1132
1425
  >
1133
- <svg aria-hidden="true" viewBox="0 0 24 24">
1134
- <path d="M11 6h9M11 10h9M11 14h9M11 18h9" />
1135
- <path d="m8 9-4 3 4 3" />
1136
- </svg>
1426
+ @if (toolbarIcons()['outdent']; as customIcon) {
1427
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
1428
+ ><ng-container [ngTemplateOutlet]="customIcon"
1429
+ /></span>
1430
+ } @else {
1431
+ <svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
1432
+ <path d="M21 5H11" />
1433
+ <path d="M21 12H11" />
1434
+ <path d="M21 19H11" />
1435
+ <path d="m7 8-4 4 4 4" />
1436
+ </svg>
1437
+ }
1137
1438
  </button>
1138
1439
  }
1139
1440
  @if (availableFormats().has('indent')) {
@@ -1143,10 +1444,18 @@ var AerisEditorComponent = class AerisEditorComponent {
1143
1444
  [disabled]="toolbarDisabled()"
1144
1445
  (click)="indent()"
1145
1446
  >
1146
- <svg aria-hidden="true" viewBox="0 0 24 24">
1147
- <path d="M11 6h9M11 10h9M11 14h9M11 18h9" />
1148
- <path d="m4 9 4 3-4 3" />
1149
- </svg>
1447
+ @if (toolbarIcons()['indent']; as customIcon) {
1448
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
1449
+ ><ng-container [ngTemplateOutlet]="customIcon"
1450
+ /></span>
1451
+ } @else {
1452
+ <svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
1453
+ <path d="M21 5H11" />
1454
+ <path d="M21 12H11" />
1455
+ <path d="M21 19H11" />
1456
+ <path d="m3 8 4 4-4 4" />
1457
+ </svg>
1458
+ }
1150
1459
  </button>
1151
1460
  }
1152
1461
  @if (availableFormats().has('clear')) {
@@ -1156,11 +1465,19 @@ var AerisEditorComponent = class AerisEditorComponent {
1156
1465
  [disabled]="toolbarDisabled()"
1157
1466
  (click)="clearFormatting()"
1158
1467
  >
1159
- <svg aria-hidden="true" viewBox="0 0 24 24">
1160
- <path d="m4 20 16-16" />
1161
- <path d="M6.5 4h9l-1.5 5" />
1162
- <path d="m9.5 15-.5 2H5" />
1163
- </svg>
1468
+ @if (toolbarIcons()['clear']; as customIcon) {
1469
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
1470
+ ><ng-container [ngTemplateOutlet]="customIcon"
1471
+ /></span>
1472
+ } @else {
1473
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1474
+ <path d="M4 7V4h16v3" />
1475
+ <path d="M5 20h6" />
1476
+ <path d="M13 4 8 20" />
1477
+ <path d="m15 15 5 5" />
1478
+ <path d="m20 15-5 5" />
1479
+ </svg>
1480
+ }
1164
1481
  </button>
1165
1482
  }
1166
1483
  </div>
@@ -1196,19 +1513,30 @@ var AerisEditorComponent = class AerisEditorComponent {
1196
1513
  </div>
1197
1514
  `,
1198
1515
  isInline: true,
1199
- styles: [":host{display:inline-block;color:var(--aeris-text)}:host([data-fluid]){display:block;width:100%}.aeris-editor{--aeris-editor-padding: .875rem;--aeris-editor-font-size: var(--aeris-font-size-xl, .9375rem);--aeris-editor-line-height: 1.6;display:grid;overflow:hidden;width:min(100%,44rem);border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-structured-control, var(--aeris-radius-control, var(--aeris-radius-md, .5625rem)));background:var(--aeris-surface);box-shadow:var(--aeris-shadow-xs, 0 1px 2px rgba(0, 0, 0, .1));transition:border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor[data-fluid]{width:100%}.aeris-editor[data-size=sm]{--aeris-editor-padding: .75rem;--aeris-editor-font-size: var(--aeris-font-size-lg, .875rem)}.aeris-editor[data-size=lg]{--aeris-editor-padding: 1rem;--aeris-editor-font-size: var(--aeris-font-size-2xl, 1rem)}.aeris-editor[data-appearance=filled]{background:var(--aeris-surface-2)}.aeris-editor:focus-within{border-color:var(--aeris-control-focus-border, var(--aeris-focus));box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-focus-ring-color, var(--aeris-focus-ring-color, transparent))}.aeris-editor[data-invalid]{border-color:var(--aeris-control-invalid-border, var(--aeris-danger))}.aeris-editor[data-invalid]:focus-within{box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-invalid-focus-ring-color, transparent)}.aeris-editor[data-disabled]{cursor:not-allowed;opacity:.62}.aeris-editor__toolbar{display:flex;flex-wrap:wrap;gap:.25rem;align-items:center;padding:.5rem;border-bottom:1px solid var(--aeris-border);background:color-mix(in srgb,var(--aeris-surface-2) 82%,transparent)}.aeris-editor__toolbar button{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text);font:inherit;font-size:var(--aeris-font-size-md, .8125rem);font-weight:var(--aeris-font-weight-bold, 700);cursor:pointer;transition:background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor__toolbar button[aria-pressed=true]{background:var(--aeris-primary-soft);color:var(--aeris-text)}@media(hover:hover){.aeris-editor__toolbar button:hover:not(:disabled){background:var(--aeris-primary-soft);color:var(--aeris-text)}}.aeris-editor__toolbar button:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-editor__toolbar button:disabled{cursor:not-allowed;opacity:.45}.aeris-editor__toolbar svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}:dir(rtl) .aeris-editor__logical-icon{transform:scaleX(-1)}.aeris-editor__separator{width:1px;height:1.5rem;margin-inline:.125rem;background:var(--aeris-border)}.aeris-editor__underline{text-decoration:underline;text-underline-offset:.14em}.aeris-editor__strikethrough{text-decoration:line-through}.aeris-editor__toolbar sub,.aeris-editor__toolbar sup{font-size:.65em}.aeris-editor__content-shell{position:relative;display:grid}.aeris-editor__content{position:relative;z-index:1;min-width:0;padding:var(--aeris-editor-padding);color:var(--aeris-text);font-size:var(--aeris-editor-font-size);line-height:var(--aeris-editor-line-height);outline:0;overflow-wrap:anywhere}.aeris-editor__content[contenteditable=false]{cursor:default}.aeris-editor__placeholder{position:absolute;inset-block-start:var(--aeris-editor-padding);inset-inline-start:var(--aeris-editor-padding);color:var(--aeris-text-muted);font-size:var(--aeris-editor-font-size);line-height:var(--aeris-editor-line-height);pointer-events:none}.aeris-editor-content__paragraph{margin:0 0 .65rem}.aeris-editor-content__paragraph:last-child{margin-bottom:0}.aeris-editor-content__heading{margin:0 0 .75rem;color:var(--aeris-text);font-size:1.3em;line-height:var(--aeris-line-height-tight, 1.25)}.aeris-editor-content__heading--h1{font-size:1.65em}.aeris-editor-content__heading--h2{font-size:1.35em}.aeris-editor-content__heading--h3{font-size:1.15em}.aeris-editor-content__heading--h4{font-size:1.05em}.aeris-editor-content__heading--h5{font-size:.95em}.aeris-editor-content__heading--h6{font-size:.85em;letter-spacing:.02em;text-transform:uppercase}.aeris-editor-content__quote{margin:0 0 .75rem;padding:.75rem .875rem;border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));background:var(--aeris-surface-2);color:var(--aeris-text-muted)}.aeris-editor-content__unordered-list,.aeris-editor-content__ordered-list{margin:0 0 .75rem;padding-inline-start:1.35rem}.aeris-editor-content__nested-list-item{list-style-type:none}.aeris-editor-content__check-list{margin:0 0 .75rem;padding-inline-start:0;list-style:none}.aeris-editor-content__list-item--checked,.aeris-editor-content__list-item--unchecked{position:relative;padding-inline-start:1.75rem;list-style:none}.aeris-editor-content__list-item--checked:before,.aeris-editor-content__list-item--unchecked:before{position:absolute;inset-block-start:.26em;inset-inline-start:0;width:1rem;height:1rem;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-xs, .25rem);background:var(--aeris-surface);content:\"\"}.aeris-editor-content__list-item--checked:before{border-color:var(--aeris-primary);background:var(--aeris-primary)}.aeris-editor-content__list-item--checked:after{position:absolute;inset-block-start:.43em;inset-inline-start:.27rem;width:.45rem;height:.24rem;border-block-end:2px solid var(--aeris-primary-contrast, white);border-inline-start:2px solid var(--aeris-primary-contrast, white);content:\"\";transform:rotate(-45deg)}.aeris-editor-content__list-item--checked{color:var(--aeris-text-muted);text-decoration:line-through}.aeris-editor-content__bold{font-weight:var(--aeris-font-weight-bold, 700)}.aeris-editor-content__italic{font-style:italic}.aeris-editor-content__underline{text-decoration:underline;text-underline-offset:.14em}.aeris-editor-content__strikethrough{text-decoration:line-through}.aeris-editor-content__code{padding:.12em .32em;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-xs, .25rem);background:var(--aeris-surface-2);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em}.aeris-editor-content__highlight{border-radius:.18em;background:color-mix(in srgb,var(--aeris-warning, #c38600) 28%,transparent)}.aeris-editor-content__lowercase{text-transform:lowercase}.aeris-editor-content__uppercase{text-transform:uppercase}.aeris-editor-content__capitalize{text-transform:capitalize}.aeris-editor-content__subscript,.aeris-editor-content__superscript{font-size:.75em;line-height:0}.aeris-editor-content__subscript{vertical-align:sub}.aeris-editor-content__superscript{vertical-align:super}@media(prefers-reduced-motion:reduce){.aeris-editor,.aeris-editor__toolbar button{transition:none}}@media(pointer:coarse){input:not([type=checkbox]):not([type=radio]),textarea{font-size:var(--aeris-mobile-input-font-size, 1rem)}}\n"],
1516
+ styles: [":host{display:inline-block;color:var(--aeris-text)}:host([data-fluid]){display:block;width:100%}.aeris-editor{--aeris-editor-padding: .875rem;--aeris-editor-font-size: var(--aeris-font-size-xl, .9375rem);--aeris-editor-line-height: 1.6;display:grid;overflow:hidden;width:min(100%,44rem);border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-structured-control, var(--aeris-radius-control, var(--aeris-radius-md, .5625rem)));background:var(--aeris-surface);box-shadow:var(--aeris-shadow-xs, 0 1px 2px rgba(0, 0, 0, .1));transition:border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor[data-fluid]{width:100%}.aeris-editor[data-size=sm]{--aeris-editor-padding: .75rem;--aeris-editor-font-size: var(--aeris-font-size-lg, .875rem)}.aeris-editor[data-size=lg]{--aeris-editor-padding: 1rem;--aeris-editor-font-size: var(--aeris-font-size-2xl, 1rem)}.aeris-editor[data-appearance=filled]{background:var(--aeris-surface-2)}.aeris-editor:focus-within{border-color:var(--aeris-control-focus-border, var(--aeris-focus));box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-focus-ring-color, var(--aeris-focus-ring-color, transparent))}.aeris-editor[data-invalid]{border-color:var(--aeris-control-invalid-border, var(--aeris-danger))}.aeris-editor[data-invalid]:focus-within{box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-invalid-focus-ring-color, transparent)}.aeris-editor[data-disabled]{cursor:not-allowed;opacity:.62}.aeris-editor__toolbar{display:flex;flex-wrap:wrap;gap:.25rem;align-items:center;padding:.5rem;border-bottom:1px solid var(--aeris-border);background:color-mix(in srgb,var(--aeris-surface-2) 82%,transparent)}.aeris-editor__toolbar button{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text);font:inherit;font-size:var(--aeris-font-size-md, .8125rem);font-weight:var(--aeris-font-weight-bold, 700);cursor:pointer;transition:background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor__toolbar button[aria-pressed=true]{background:var(--aeris-editor-toolbar-active-background, var(--aeris-primary));color:var(--aeris-editor-toolbar-active-color, var(--aeris-on-primary))}@media(hover:hover){.aeris-editor__toolbar button:hover:not(:disabled):not([aria-pressed=true]){background:var(--aeris-interactive-hover, var(--aeris-surface-3));color:var(--aeris-text)}}.aeris-editor__toolbar button:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-editor__toolbar button:disabled{cursor:not-allowed;opacity:.45}.aeris-editor__toolbar svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}:dir(rtl) .aeris-editor__logical-icon{transform:scaleX(-1)}.aeris-editor__separator{width:1px;height:1.5rem;margin-inline:.125rem;background:var(--aeris-border)}.aeris-editor__content-shell{position:relative;display:grid}.aeris-editor__content{position:relative;z-index:1;min-width:0;padding:var(--aeris-editor-padding);color:var(--aeris-text);font-size:var(--aeris-editor-font-size);line-height:var(--aeris-editor-line-height);outline:0;overflow-wrap:anywhere}.aeris-editor__content[contenteditable=false]{cursor:default}.aeris-editor__placeholder{position:absolute;inset-block-start:var(--aeris-editor-padding);inset-inline-start:var(--aeris-editor-padding);color:var(--aeris-text-muted);font-size:var(--aeris-editor-font-size);line-height:var(--aeris-editor-line-height);pointer-events:none}.aeris-editor-content__paragraph{margin:0 0 .65rem}.aeris-editor-content__paragraph:last-child{margin-bottom:0}.aeris-editor-content__heading{margin:0 0 .75rem;color:var(--aeris-text);font-size:1.3em;line-height:var(--aeris-line-height-tight, 1.25)}.aeris-editor-content__heading--h1{font-size:1.65em}.aeris-editor-content__heading--h2{font-size:1.35em}.aeris-editor-content__heading--h3{font-size:1.15em}.aeris-editor-content__heading--h4{font-size:1.05em}.aeris-editor-content__heading--h5{font-size:.95em}.aeris-editor-content__heading--h6{font-size:.85em;letter-spacing:.02em;text-transform:uppercase}.aeris-editor-content__quote{margin:0 0 .75rem;padding:.75rem .875rem;border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));background:var(--aeris-surface-2);color:var(--aeris-text-muted)}.aeris-editor-content__unordered-list,.aeris-editor-content__ordered-list{margin:0 0 .75rem;padding-inline-start:1.35rem}.aeris-editor-content__nested-list-item{list-style-type:none}.aeris-editor-content__check-list{margin:0 0 .75rem;padding-inline-start:0;list-style:none}.aeris-editor-content__list-item--checked,.aeris-editor-content__list-item--unchecked{position:relative;padding-inline-start:1.75rem;list-style:none}.aeris-editor-content__list-item--checked:before,.aeris-editor-content__list-item--unchecked:before{position:absolute;inset-block-start:.26em;inset-inline-start:0;width:1rem;height:1rem;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-xs, .25rem);background:var(--aeris-surface);content:\"\"}.aeris-editor-content__list-item--checked:before{border-color:var(--aeris-primary);background:var(--aeris-primary)}.aeris-editor-content__list-item--checked:after{position:absolute;inset-block-start:.43em;inset-inline-start:.27rem;width:.45rem;height:.24rem;border-block-end:2px solid var(--aeris-primary-contrast, white);border-inline-start:2px solid var(--aeris-primary-contrast, white);content:\"\";transform:rotate(-45deg)}.aeris-editor-content__list-item--checked{color:var(--aeris-text-muted);text-decoration:line-through}.aeris-editor-content__bold{font-weight:var(--aeris-font-weight-bold, 700)}.aeris-editor-content__italic{font-style:italic}.aeris-editor-content__underline{text-decoration:underline;text-underline-offset:.14em}.aeris-editor-content__strikethrough{text-decoration:line-through}.aeris-editor-content__code{padding:.12em .32em;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-xs, .25rem);background:var(--aeris-surface-2);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em}.aeris-editor-content__highlight{border-radius:.18em;background:color-mix(in srgb,var(--aeris-warning, #c38600) 28%,transparent)}.aeris-editor-content__lowercase{text-transform:lowercase}.aeris-editor-content__uppercase{text-transform:uppercase}.aeris-editor-content__capitalize{text-transform:capitalize}.aeris-editor-content__subscript,.aeris-editor-content__superscript{font-size:.75em;line-height:0}.aeris-editor-content__subscript{vertical-align:sub}.aeris-editor-content__superscript{vertical-align:super}@media(prefers-reduced-motion:reduce){.aeris-editor,.aeris-editor__toolbar button{transition:none}}@media(pointer:coarse){input:not([type=checkbox]):not([type=radio]),textarea{font-size:var(--aeris-mobile-input-font-size, 1rem)}}\n"],
1517
+ dependencies: [{
1518
+ kind: "directive",
1519
+ type: NgTemplateOutlet,
1520
+ selector: "[ngTemplateOutlet]",
1521
+ inputs: [
1522
+ "ngTemplateOutletContext",
1523
+ "ngTemplateOutlet",
1524
+ "ngTemplateOutletInjector"
1525
+ ]
1526
+ }],
1200
1527
  encapsulation: i0.ViewEncapsulation.None
1201
1528
  });
1202
1529
  };
1203
1530
  i0.ɵɵngDeclareClassMetadata({
1204
1531
  minVersion: "12.0.0",
1205
- version: "22.2.2",
1532
+ version: "22.2.3",
1206
1533
  ngImport: i0,
1207
1534
  type: AerisEditorComponent,
1208
1535
  decorators: [{
1209
1536
  type: Component,
1210
1537
  args: [{
1211
1538
  selector: "aeris-editor",
1539
+ imports: [NgTemplateOutlet],
1212
1540
  template: `
1213
1541
  <div
1214
1542
  class="aeris-editor"
@@ -1224,18 +1552,30 @@ i0.ɵɵngDeclareClassMetadata({
1224
1552
  <div class="aeris-editor__toolbar" role="toolbar" [attr.aria-label]="toolbarAriaLabel()">
1225
1553
  @if (availableFormats().has('undo')) {
1226
1554
  <button type="button" aria-label="Undo" [disabled]="toolbarDisabled()" (click)="undo()">
1227
- <svg aria-hidden="true" viewBox="0 0 24 24">
1228
- <path d="M9 8H4V3" />
1229
- <path d="M4 8c2.1-2.7 5-4 8.1-4A8 8 0 1 1 6 17.1" />
1230
- </svg>
1555
+ @if (toolbarIcons()['undo']; as customIcon) {
1556
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
1557
+ ><ng-container [ngTemplateOutlet]="customIcon"
1558
+ /></span>
1559
+ } @else {
1560
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1561
+ <path d="M3 7v6h6" />
1562
+ <path d="M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13" />
1563
+ </svg>
1564
+ }
1231
1565
  </button>
1232
1566
  }
1233
1567
  @if (availableFormats().has('redo')) {
1234
1568
  <button type="button" aria-label="Redo" [disabled]="toolbarDisabled()" (click)="redo()">
1235
- <svg aria-hidden="true" viewBox="0 0 24 24">
1236
- <path d="M15 8h5V3" />
1237
- <path d="M20 8c-2.1-2.7-5-4-8.1-4A8 8 0 1 0 18 17.1" />
1238
- </svg>
1569
+ @if (toolbarIcons()['redo']; as customIcon) {
1570
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
1571
+ ><ng-container [ngTemplateOutlet]="customIcon"
1572
+ /></span>
1573
+ } @else {
1574
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1575
+ <path d="M21 7v6h-6" />
1576
+ <path d="M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7" />
1577
+ </svg>
1578
+ }
1239
1579
  </button>
1240
1580
  }
1241
1581
 
@@ -1250,7 +1590,15 @@ i0.ɵɵngDeclareClassMetadata({
1250
1590
  [disabled]="toolbarDisabled()"
1251
1591
  (click)="format('bold')"
1252
1592
  >
1253
- <strong>B</strong>
1593
+ @if (toolbarIcons()['bold']; as customIcon) {
1594
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
1595
+ ><ng-container [ngTemplateOutlet]="customIcon"
1596
+ /></span>
1597
+ } @else {
1598
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1599
+ <path d="M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8" />
1600
+ </svg>
1601
+ }
1254
1602
  </button>
1255
1603
  }
1256
1604
  @if (availableFormats().has('italic')) {
@@ -1261,7 +1609,17 @@ i0.ɵɵngDeclareClassMetadata({
1261
1609
  [disabled]="toolbarDisabled()"
1262
1610
  (click)="format('italic')"
1263
1611
  >
1264
- <em>I</em>
1612
+ @if (toolbarIcons()['italic']; as customIcon) {
1613
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1614
+ ><ng-container [ngTemplateOutlet]="customIcon"
1615
+ /></span>
1616
+ } @else {
1617
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1618
+ <line x1="19" x2="10" y1="4" y2="4" />
1619
+ <line x1="14" x2="5" y1="20" y2="20" />
1620
+ <line x1="15" x2="9" y1="4" y2="20" />
1621
+ </svg>
1622
+ }
1265
1623
  </button>
1266
1624
  }
1267
1625
  @if (availableFormats().has('underline')) {
@@ -1272,7 +1630,16 @@ i0.ɵɵngDeclareClassMetadata({
1272
1630
  [disabled]="toolbarDisabled()"
1273
1631
  (click)="format('underline')"
1274
1632
  >
1275
- <span class="aeris-editor__underline">U</span>
1633
+ @if (toolbarIcons()['underline']; as customIcon) {
1634
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1635
+ ><ng-container [ngTemplateOutlet]="customIcon"
1636
+ /></span>
1637
+ } @else {
1638
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1639
+ <path d="M6 4v6a6 6 0 0 0 12 0V4" />
1640
+ <line x1="4" x2="20" y1="20" y2="20" />
1641
+ </svg>
1642
+ }
1276
1643
  </button>
1277
1644
  }
1278
1645
  @if (availableFormats().has('strikethrough')) {
@@ -1283,7 +1650,17 @@ i0.ɵɵngDeclareClassMetadata({
1283
1650
  [disabled]="toolbarDisabled()"
1284
1651
  (click)="format('strikethrough')"
1285
1652
  >
1286
- <span class="aeris-editor__strikethrough">S</span>
1653
+ @if (toolbarIcons()['strikethrough']; as customIcon) {
1654
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1655
+ ><ng-container [ngTemplateOutlet]="customIcon"
1656
+ /></span>
1657
+ } @else {
1658
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1659
+ <path d="M16 4H9a3 3 0 0 0-2.83 4" />
1660
+ <path d="M14 12a4 4 0 0 1 0 8H6" />
1661
+ <line x1="4" x2="20" y1="12" y2="12" />
1662
+ </svg>
1663
+ }
1287
1664
  </button>
1288
1665
  }
1289
1666
  @if (availableFormats().has('code')) {
@@ -1294,7 +1671,16 @@ i0.ɵɵngDeclareClassMetadata({
1294
1671
  [disabled]="toolbarDisabled()"
1295
1672
  (click)="format('code')"
1296
1673
  >
1297
- <span aria-hidden="true">&lt;/&gt;</span>
1674
+ @if (toolbarIcons()['code']; as customIcon) {
1675
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1676
+ ><ng-container [ngTemplateOutlet]="customIcon"
1677
+ /></span>
1678
+ } @else {
1679
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1680
+ <path d="m16 18 6-6-6-6" />
1681
+ <path d="m8 6-6 6 6 6" />
1682
+ </svg>
1683
+ }
1298
1684
  </button>
1299
1685
  }
1300
1686
  @if (availableFormats().has('highlight')) {
@@ -1305,11 +1691,16 @@ i0.ɵɵngDeclareClassMetadata({
1305
1691
  [disabled]="toolbarDisabled()"
1306
1692
  (click)="format('highlight')"
1307
1693
  >
1308
- <svg aria-hidden="true" viewBox="0 0 24 24">
1309
- <path d="m9 11 4 4" />
1310
- <path d="m14.5 4.5 5 5L10 19H5v-5Z" />
1311
- <path d="M4 21h16" />
1312
- </svg>
1694
+ @if (toolbarIcons()['highlight']; as customIcon) {
1695
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1696
+ ><ng-container [ngTemplateOutlet]="customIcon"
1697
+ /></span>
1698
+ } @else {
1699
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1700
+ <path d="m9 11-6 6v3h9l3-3" />
1701
+ <path d="m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4" />
1702
+ </svg>
1703
+ }
1313
1704
  </button>
1314
1705
  }
1315
1706
  @if (availableFormats().has('subscript')) {
@@ -1320,7 +1711,19 @@ i0.ɵɵngDeclareClassMetadata({
1320
1711
  [disabled]="toolbarDisabled()"
1321
1712
  (click)="format('subscript')"
1322
1713
  >
1323
- <span aria-hidden="true">X<sub>2</sub></span>
1714
+ @if (toolbarIcons()['subscript']; as customIcon) {
1715
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
1716
+ ><ng-container [ngTemplateOutlet]="customIcon"
1717
+ /></span>
1718
+ } @else {
1719
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1720
+ <path d="m4 5 8 8" />
1721
+ <path d="m12 5-8 8" />
1722
+ <path
1723
+ d="M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07"
1724
+ />
1725
+ </svg>
1726
+ }
1324
1727
  </button>
1325
1728
  }
1326
1729
  @if (availableFormats().has('superscript')) {
@@ -1331,7 +1734,19 @@ i0.ɵɵngDeclareClassMetadata({
1331
1734
  [disabled]="toolbarDisabled()"
1332
1735
  (click)="format('superscript')"
1333
1736
  >
1334
- <span aria-hidden="true">X<sup>2</sup></span>
1737
+ @if (toolbarIcons()['superscript']; as customIcon) {
1738
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1739
+ ><ng-container [ngTemplateOutlet]="customIcon"
1740
+ /></span>
1741
+ } @else {
1742
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1743
+ <path d="m4 19 8-8" />
1744
+ <path d="m12 19-8-8" />
1745
+ <path
1746
+ d="M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06"
1747
+ />
1748
+ </svg>
1749
+ }
1335
1750
  </button>
1336
1751
  }
1337
1752
  @if (availableFormats().has('lowercase')) {
@@ -1342,7 +1757,18 @@ i0.ɵɵngDeclareClassMetadata({
1342
1757
  [disabled]="toolbarDisabled()"
1343
1758
  (click)="format('lowercase')"
1344
1759
  >
1345
- aa
1760
+ @if (toolbarIcons()['lowercase']; as customIcon) {
1761
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1762
+ ><ng-container [ngTemplateOutlet]="customIcon"
1763
+ /></span>
1764
+ } @else {
1765
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1766
+ <path d="M10 9v7" />
1767
+ <path d="M14 6v10" />
1768
+ <circle cx="17.5" cy="12.5" r="3.5" />
1769
+ <circle cx="6.5" cy="12.5" r="3.5" />
1770
+ </svg>
1771
+ }
1346
1772
  </button>
1347
1773
  }
1348
1774
  @if (availableFormats().has('uppercase')) {
@@ -1353,7 +1779,19 @@ i0.ɵɵngDeclareClassMetadata({
1353
1779
  [disabled]="toolbarDisabled()"
1354
1780
  (click)="format('uppercase')"
1355
1781
  >
1356
- AA
1782
+ @if (toolbarIcons()['uppercase']; as customIcon) {
1783
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1784
+ ><ng-container [ngTemplateOutlet]="customIcon"
1785
+ /></span>
1786
+ } @else {
1787
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1788
+ <path
1789
+ d="M15 11h4.5a1 1 0 0 1 0 5h-4a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h3a1 1 0 0 1 0 5"
1790
+ />
1791
+ <path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />
1792
+ <path d="M3.304 13h6.392" />
1793
+ </svg>
1794
+ }
1357
1795
  </button>
1358
1796
  }
1359
1797
  @if (availableFormats().has('capitalize')) {
@@ -1364,7 +1802,18 @@ i0.ɵɵngDeclareClassMetadata({
1364
1802
  [disabled]="toolbarDisabled()"
1365
1803
  (click)="format('capitalize')"
1366
1804
  >
1367
- Aa
1805
+ @if (toolbarIcons()['capitalize']; as customIcon) {
1806
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1807
+ ><ng-container [ngTemplateOutlet]="customIcon"
1808
+ /></span>
1809
+ } @else {
1810
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1811
+ <path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />
1812
+ <path d="M22 9v7" />
1813
+ <path d="M3.304 13h6.392" />
1814
+ <circle cx="18.5" cy="12.5" r="3.5" />
1815
+ </svg>
1816
+ }
1368
1817
  </button>
1369
1818
  }
1370
1819
 
@@ -1379,7 +1828,17 @@ i0.ɵɵngDeclareClassMetadata({
1379
1828
  [disabled]="toolbarDisabled()"
1380
1829
  (click)="setBlock('paragraph')"
1381
1830
  >
1382
- P
1831
+ @if (toolbarIcons()['paragraph']; as customIcon) {
1832
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1833
+ ><ng-container [ngTemplateOutlet]="customIcon"
1834
+ /></span>
1835
+ } @else {
1836
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1837
+ <path d="M13 4v16" />
1838
+ <path d="M17 4v16" />
1839
+ <path d="M19 4H9.5a4.5 4.5 0 0 0 0 9H13" />
1840
+ </svg>
1841
+ }
1383
1842
  </button>
1384
1843
  }
1385
1844
  @if (availableFormats().has('heading1')) {
@@ -1390,7 +1849,18 @@ i0.ɵɵngDeclareClassMetadata({
1390
1849
  [disabled]="toolbarDisabled()"
1391
1850
  (click)="setBlock('h1')"
1392
1851
  >
1393
- H1
1852
+ @if (toolbarIcons()['heading1']; as customIcon) {
1853
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1854
+ ><ng-container [ngTemplateOutlet]="customIcon"
1855
+ /></span>
1856
+ } @else {
1857
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1858
+ <path d="M4 12h8" />
1859
+ <path d="M4 18V6" />
1860
+ <path d="M12 18V6" />
1861
+ <path d="m17 12 3-2v8" />
1862
+ </svg>
1863
+ }
1394
1864
  </button>
1395
1865
  }
1396
1866
  @if (availableFormats().has('heading')) {
@@ -1401,7 +1871,18 @@ i0.ɵɵngDeclareClassMetadata({
1401
1871
  [disabled]="toolbarDisabled()"
1402
1872
  (click)="setBlock('heading')"
1403
1873
  >
1404
- H2
1874
+ @if (toolbarIcons()['heading']; as customIcon) {
1875
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1876
+ ><ng-container [ngTemplateOutlet]="customIcon"
1877
+ /></span>
1878
+ } @else {
1879
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1880
+ <path d="M4 12h8" />
1881
+ <path d="M4 18V6" />
1882
+ <path d="M12 18V6" />
1883
+ <path d="M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1" />
1884
+ </svg>
1885
+ }
1405
1886
  </button>
1406
1887
  }
1407
1888
  @if (availableFormats().has('heading2')) {
@@ -1412,7 +1893,18 @@ i0.ɵɵngDeclareClassMetadata({
1412
1893
  [disabled]="toolbarDisabled()"
1413
1894
  (click)="setBlock('h2')"
1414
1895
  >
1415
- H2
1896
+ @if (toolbarIcons()['heading2']; as customIcon) {
1897
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1898
+ ><ng-container [ngTemplateOutlet]="customIcon"
1899
+ /></span>
1900
+ } @else {
1901
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1902
+ <path d="M4 12h8" />
1903
+ <path d="M4 18V6" />
1904
+ <path d="M12 18V6" />
1905
+ <path d="M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1" />
1906
+ </svg>
1907
+ }
1416
1908
  </button>
1417
1909
  }
1418
1910
  @if (availableFormats().has('heading3')) {
@@ -1423,7 +1915,19 @@ i0.ɵɵngDeclareClassMetadata({
1423
1915
  [disabled]="toolbarDisabled()"
1424
1916
  (click)="setBlock('h3')"
1425
1917
  >
1426
- H3
1918
+ @if (toolbarIcons()['heading3']; as customIcon) {
1919
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1920
+ ><ng-container [ngTemplateOutlet]="customIcon"
1921
+ /></span>
1922
+ } @else {
1923
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1924
+ <path d="M4 12h8" />
1925
+ <path d="M4 18V6" />
1926
+ <path d="M12 18V6" />
1927
+ <path d="M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2" />
1928
+ <path d="M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2" />
1929
+ </svg>
1930
+ }
1427
1931
  </button>
1428
1932
  }
1429
1933
  @if (availableFormats().has('heading4')) {
@@ -1434,7 +1938,19 @@ i0.ɵɵngDeclareClassMetadata({
1434
1938
  [disabled]="toolbarDisabled()"
1435
1939
  (click)="setBlock('h4')"
1436
1940
  >
1437
- H4
1941
+ @if (toolbarIcons()['heading4']; as customIcon) {
1942
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1943
+ ><ng-container [ngTemplateOutlet]="customIcon"
1944
+ /></span>
1945
+ } @else {
1946
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1947
+ <path d="M12 18V6" />
1948
+ <path d="M17 10v3a1 1 0 0 0 1 1h3" />
1949
+ <path d="M21 10v8" />
1950
+ <path d="M4 12h8" />
1951
+ <path d="M4 18V6" />
1952
+ </svg>
1953
+ }
1438
1954
  </button>
1439
1955
  }
1440
1956
  @if (availableFormats().has('heading5')) {
@@ -1445,7 +1961,19 @@ i0.ɵɵngDeclareClassMetadata({
1445
1961
  [disabled]="toolbarDisabled()"
1446
1962
  (click)="setBlock('h5')"
1447
1963
  >
1448
- H5
1964
+ @if (toolbarIcons()['heading5']; as customIcon) {
1965
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1966
+ ><ng-container [ngTemplateOutlet]="customIcon"
1967
+ /></span>
1968
+ } @else {
1969
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1970
+ <path d="M4 12h8" />
1971
+ <path d="M4 18V6" />
1972
+ <path d="M12 18V6" />
1973
+ <path d="M17 13v-3h4" />
1974
+ <path d="M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17" />
1975
+ </svg>
1976
+ }
1449
1977
  </button>
1450
1978
  }
1451
1979
  @if (availableFormats().has('heading6')) {
@@ -1456,7 +1984,19 @@ i0.ɵɵngDeclareClassMetadata({
1456
1984
  [disabled]="toolbarDisabled()"
1457
1985
  (click)="setBlock('h6')"
1458
1986
  >
1459
- H6
1987
+ @if (toolbarIcons()['heading6']; as customIcon) {
1988
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
1989
+ ><ng-container [ngTemplateOutlet]="customIcon"
1990
+ /></span>
1991
+ } @else {
1992
+ <svg aria-hidden="true" viewBox="0 0 24 24">
1993
+ <path d="M4 12h8" />
1994
+ <path d="M4 18V6" />
1995
+ <path d="M12 18V6" />
1996
+ <circle cx="19" cy="16" r="2" />
1997
+ <path d="M20 10c-2 2-3 3.5-3 6" />
1998
+ </svg>
1999
+ }
1460
2000
  </button>
1461
2001
  }
1462
2002
  @if (availableFormats().has('quote')) {
@@ -1467,14 +2007,20 @@ i0.ɵɵngDeclareClassMetadata({
1467
2007
  [disabled]="toolbarDisabled()"
1468
2008
  (click)="setBlock('quote')"
1469
2009
  >
1470
- <svg aria-hidden="true" viewBox="0 0 24 24">
1471
- <path
1472
- d="M8 6H5.8C4.8 7.7 4.3 9.3 4.3 11c0 2.1 1.1 3.6 3 3.6 1.5 0 2.7-1.1 2.7-2.7 0-1.4-1-2.5-2.4-2.7.1-.9.5-1.9 1.1-3.2Z"
1473
- />
1474
- <path
1475
- d="M18 6h-2.2c-1 1.7-1.5 3.3-1.5 5 0 2.1 1.1 3.6 3 3.6 1.5 0 2.7-1.1 2.7-2.7 0-1.4-1-2.5-2.4-2.7.1-.9.5-1.9 1.1-3.2Z"
1476
- />
1477
- </svg>
2010
+ @if (toolbarIcons()['quote']; as customIcon) {
2011
+ <span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
2012
+ ><ng-container [ngTemplateOutlet]="customIcon"
2013
+ /></span>
2014
+ } @else {
2015
+ <svg aria-hidden="true" viewBox="0 0 24 24">
2016
+ <path
2017
+ d="M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"
2018
+ />
2019
+ <path
2020
+ d="M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"
2021
+ />
2022
+ </svg>
2023
+ }
1478
2024
  </button>
1479
2025
  }
1480
2026
 
@@ -1489,14 +2035,20 @@ i0.ɵɵngDeclareClassMetadata({
1489
2035
  [disabled]="toolbarDisabled()"
1490
2036
  (click)="toggleBulletList()"
1491
2037
  >
1492
- <svg aria-hidden="true" viewBox="0 0 24 24">
1493
- <path d="M8 6h12" />
1494
- <path d="M8 12h12" />
1495
- <path d="M8 18h12" />
1496
- <circle cx="4" cy="6" r="1" />
1497
- <circle cx="4" cy="12" r="1" />
1498
- <circle cx="4" cy="18" r="1" />
1499
- </svg>
2038
+ @if (toolbarIcons()['bulletList']; as customIcon) {
2039
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
2040
+ ><ng-container [ngTemplateOutlet]="customIcon"
2041
+ /></span>
2042
+ } @else {
2043
+ <svg aria-hidden="true" viewBox="0 0 24 24">
2044
+ <path d="M3 5h.01" />
2045
+ <path d="M3 12h.01" />
2046
+ <path d="M3 19h.01" />
2047
+ <path d="M8 5h13" />
2048
+ <path d="M8 12h13" />
2049
+ <path d="M8 19h13" />
2050
+ </svg>
2051
+ }
1500
2052
  </button>
1501
2053
  }
1502
2054
  @if (availableFormats().has('numberedList')) {
@@ -1507,19 +2059,20 @@ i0.ɵɵngDeclareClassMetadata({
1507
2059
  [disabled]="toolbarDisabled()"
1508
2060
  (click)="toggleNumberedList()"
1509
2061
  >
1510
- <svg aria-hidden="true" viewBox="0 0 24 24">
1511
- <path d="M10 6h10" />
1512
- <path d="M10 12h10" />
1513
- <path d="M10 18h10" />
1514
- <path d="M4 5h1v3" />
1515
- <path d="M3.7 8h2.6" />
1516
- <path
1517
- d="M3.6 11.4c.3-.4.8-.6 1.4-.6.8 0 1.4.5 1.4 1.2 0 .5-.3.9-.8 1.2L4 14.5h2.5"
1518
- />
1519
- <path
1520
- d="M3.7 17h2.1l-1 1h.3c.8 0 1.4.4 1.4 1.1 0 .7-.6 1.2-1.5 1.2-.6 0-1.1-.2-1.5-.6"
1521
- />
1522
- </svg>
2062
+ @if (toolbarIcons()['numberedList']; as customIcon) {
2063
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
2064
+ ><ng-container [ngTemplateOutlet]="customIcon"
2065
+ /></span>
2066
+ } @else {
2067
+ <svg aria-hidden="true" viewBox="0 0 24 24">
2068
+ <path d="M11 5h10" />
2069
+ <path d="M11 12h10" />
2070
+ <path d="M11 19h10" />
2071
+ <path d="M4 4h1v5" />
2072
+ <path d="M4 9h2" />
2073
+ <path d="M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02" />
2074
+ </svg>
2075
+ }
1523
2076
  </button>
1524
2077
  }
1525
2078
  @if (availableFormats().has('checkList')) {
@@ -1530,13 +2083,19 @@ i0.ɵɵngDeclareClassMetadata({
1530
2083
  [disabled]="toolbarDisabled()"
1531
2084
  (click)="toggleCheckList()"
1532
2085
  >
1533
- <svg aria-hidden="true" viewBox="0 0 24 24">
1534
- <rect x="3" y="4" width="5" height="5" rx="1" />
1535
- <path d="m4.5 6.5 1.2 1.2L8.3 5" />
1536
- <path d="M11 6.5h10" />
1537
- <rect x="3" y="15" width="5" height="5" rx="1" />
1538
- <path d="M11 17.5h10" />
1539
- </svg>
2086
+ @if (toolbarIcons()['checkList']; as customIcon) {
2087
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
2088
+ ><ng-container [ngTemplateOutlet]="customIcon"
2089
+ /></span>
2090
+ } @else {
2091
+ <svg aria-hidden="true" viewBox="0 0 24 24">
2092
+ <path d="M13 5h8" />
2093
+ <path d="M13 12h8" />
2094
+ <path d="M13 19h8" />
2095
+ <path d="m3 17 2 2 4-4" />
2096
+ <path d="m3 7 2 2 4-4" />
2097
+ </svg>
2098
+ }
1540
2099
  </button>
1541
2100
  }
1542
2101
 
@@ -1551,9 +2110,17 @@ i0.ɵɵngDeclareClassMetadata({
1551
2110
  [disabled]="toolbarDisabled()"
1552
2111
  (click)="align('left')"
1553
2112
  >
1554
- <svg aria-hidden="true" viewBox="0 0 24 24">
1555
- <path d="M4 6h16M4 10h11M4 14h16M4 18h11" />
1556
- </svg>
2113
+ @if (toolbarIcons()['alignLeft']; as customIcon) {
2114
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
2115
+ ><ng-container [ngTemplateOutlet]="customIcon"
2116
+ /></span>
2117
+ } @else {
2118
+ <svg aria-hidden="true" viewBox="0 0 24 24">
2119
+ <path d="M21 5H3" />
2120
+ <path d="M15 12H3" />
2121
+ <path d="M17 19H3" />
2122
+ </svg>
2123
+ }
1557
2124
  </button>
1558
2125
  }
1559
2126
  @if (availableFormats().has('alignStart')) {
@@ -1564,9 +2131,20 @@ i0.ɵɵngDeclareClassMetadata({
1564
2131
  [disabled]="toolbarDisabled()"
1565
2132
  (click)="align('start')"
1566
2133
  >
1567
- <svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
1568
- <path d="M4 6h16M4 10h11M4 14h16M4 18h11" />
1569
- </svg>
2134
+ @if (toolbarIcons()['alignStart']; as customIcon) {
2135
+ <span
2136
+ class="aeris-custom-icon aeris-editor__logical-icon"
2137
+ aria-hidden="true"
2138
+ data-aeris-custom-icon
2139
+ ><ng-container [ngTemplateOutlet]="customIcon"
2140
+ /></span>
2141
+ } @else {
2142
+ <svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
2143
+ <path d="M21 5H3" />
2144
+ <path d="M15 12H3" />
2145
+ <path d="M17 19H3" />
2146
+ </svg>
2147
+ }
1570
2148
  </button>
1571
2149
  }
1572
2150
  @if (availableFormats().has('alignCenter')) {
@@ -1577,9 +2155,17 @@ i0.ɵɵngDeclareClassMetadata({
1577
2155
  [disabled]="toolbarDisabled()"
1578
2156
  (click)="align('center')"
1579
2157
  >
1580
- <svg aria-hidden="true" viewBox="0 0 24 24">
1581
- <path d="M4 6h16M6.5 10h11M4 14h16M6.5 18h11" />
1582
- </svg>
2158
+ @if (toolbarIcons()['alignCenter']; as customIcon) {
2159
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
2160
+ ><ng-container [ngTemplateOutlet]="customIcon"
2161
+ /></span>
2162
+ } @else {
2163
+ <svg aria-hidden="true" viewBox="0 0 24 24">
2164
+ <path d="M21 5H3" />
2165
+ <path d="M17 12H7" />
2166
+ <path d="M19 19H5" />
2167
+ </svg>
2168
+ }
1583
2169
  </button>
1584
2170
  }
1585
2171
  @if (availableFormats().has('alignRight')) {
@@ -1590,9 +2176,17 @@ i0.ɵɵngDeclareClassMetadata({
1590
2176
  [disabled]="toolbarDisabled()"
1591
2177
  (click)="align('right')"
1592
2178
  >
1593
- <svg aria-hidden="true" viewBox="0 0 24 24">
1594
- <path d="M4 6h16M9 10h11M4 14h16M9 18h11" />
1595
- </svg>
2179
+ @if (toolbarIcons()['alignRight']; as customIcon) {
2180
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
2181
+ ><ng-container [ngTemplateOutlet]="customIcon"
2182
+ /></span>
2183
+ } @else {
2184
+ <svg aria-hidden="true" viewBox="0 0 24 24">
2185
+ <path d="M21 5H3" />
2186
+ <path d="M21 12H9" />
2187
+ <path d="M21 19H7" />
2188
+ </svg>
2189
+ }
1596
2190
  </button>
1597
2191
  }
1598
2192
  @if (availableFormats().has('alignEnd')) {
@@ -1603,9 +2197,20 @@ i0.ɵɵngDeclareClassMetadata({
1603
2197
  [disabled]="toolbarDisabled()"
1604
2198
  (click)="align('end')"
1605
2199
  >
1606
- <svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
1607
- <path d="M4 6h16M9 10h11M4 14h16M9 18h11" />
1608
- </svg>
2200
+ @if (toolbarIcons()['alignEnd']; as customIcon) {
2201
+ <span
2202
+ class="aeris-custom-icon aeris-editor__logical-icon"
2203
+ aria-hidden="true"
2204
+ data-aeris-custom-icon
2205
+ ><ng-container [ngTemplateOutlet]="customIcon"
2206
+ /></span>
2207
+ } @else {
2208
+ <svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
2209
+ <path d="M21 5H3" />
2210
+ <path d="M21 12H9" />
2211
+ <path d="M21 19H7" />
2212
+ </svg>
2213
+ }
1609
2214
  </button>
1610
2215
  }
1611
2216
  @if (availableFormats().has('alignJustify')) {
@@ -1616,9 +2221,17 @@ i0.ɵɵngDeclareClassMetadata({
1616
2221
  [disabled]="toolbarDisabled()"
1617
2222
  (click)="align('justify')"
1618
2223
  >
1619
- <svg aria-hidden="true" viewBox="0 0 24 24">
1620
- <path d="M4 6h16M4 10h16M4 14h16M4 18h16" />
1621
- </svg>
2224
+ @if (toolbarIcons()['alignJustify']; as customIcon) {
2225
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
2226
+ ><ng-container [ngTemplateOutlet]="customIcon"
2227
+ /></span>
2228
+ } @else {
2229
+ <svg aria-hidden="true" viewBox="0 0 24 24">
2230
+ <path d="M3 5h18" />
2231
+ <path d="M3 12h18" />
2232
+ <path d="M3 19h18" />
2233
+ </svg>
2234
+ }
1622
2235
  </button>
1623
2236
  }
1624
2237
 
@@ -1632,10 +2245,18 @@ i0.ɵɵngDeclareClassMetadata({
1632
2245
  [disabled]="toolbarDisabled()"
1633
2246
  (click)="outdent()"
1634
2247
  >
1635
- <svg aria-hidden="true" viewBox="0 0 24 24">
1636
- <path d="M11 6h9M11 10h9M11 14h9M11 18h9" />
1637
- <path d="m8 9-4 3 4 3" />
1638
- </svg>
2248
+ @if (toolbarIcons()['outdent']; as customIcon) {
2249
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
2250
+ ><ng-container [ngTemplateOutlet]="customIcon"
2251
+ /></span>
2252
+ } @else {
2253
+ <svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
2254
+ <path d="M21 5H11" />
2255
+ <path d="M21 12H11" />
2256
+ <path d="M21 19H11" />
2257
+ <path d="m7 8-4 4 4 4" />
2258
+ </svg>
2259
+ }
1639
2260
  </button>
1640
2261
  }
1641
2262
  @if (availableFormats().has('indent')) {
@@ -1645,10 +2266,18 @@ i0.ɵɵngDeclareClassMetadata({
1645
2266
  [disabled]="toolbarDisabled()"
1646
2267
  (click)="indent()"
1647
2268
  >
1648
- <svg aria-hidden="true" viewBox="0 0 24 24">
1649
- <path d="M11 6h9M11 10h9M11 14h9M11 18h9" />
1650
- <path d="m4 9 4 3-4 3" />
1651
- </svg>
2269
+ @if (toolbarIcons()['indent']; as customIcon) {
2270
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
2271
+ ><ng-container [ngTemplateOutlet]="customIcon"
2272
+ /></span>
2273
+ } @else {
2274
+ <svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
2275
+ <path d="M21 5H11" />
2276
+ <path d="M21 12H11" />
2277
+ <path d="M21 19H11" />
2278
+ <path d="m3 8 4 4-4 4" />
2279
+ </svg>
2280
+ }
1652
2281
  </button>
1653
2282
  }
1654
2283
  @if (availableFormats().has('clear')) {
@@ -1658,11 +2287,19 @@ i0.ɵɵngDeclareClassMetadata({
1658
2287
  [disabled]="toolbarDisabled()"
1659
2288
  (click)="clearFormatting()"
1660
2289
  >
1661
- <svg aria-hidden="true" viewBox="0 0 24 24">
1662
- <path d="m4 20 16-16" />
1663
- <path d="M6.5 4h9l-1.5 5" />
1664
- <path d="m9.5 15-.5 2H5" />
1665
- </svg>
2290
+ @if (toolbarIcons()['clear']; as customIcon) {
2291
+ <span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
2292
+ ><ng-container [ngTemplateOutlet]="customIcon"
2293
+ /></span>
2294
+ } @else {
2295
+ <svg aria-hidden="true" viewBox="0 0 24 24">
2296
+ <path d="M4 7V4h16v3" />
2297
+ <path d="M5 20h6" />
2298
+ <path d="M13 4 8 20" />
2299
+ <path d="m15 15 5 5" />
2300
+ <path d="m20 15-5 5" />
2301
+ </svg>
2302
+ }
1666
2303
  </button>
1667
2304
  }
1668
2305
  </div>
@@ -1704,11 +2341,19 @@ i0.ɵɵngDeclareClassMetadata({
1704
2341
  multi: true
1705
2342
  }],
1706
2343
  host: { "[attr.data-fluid]": "fluid() || null" },
1707
- styles: [":host{display:inline-block;color:var(--aeris-text)}:host([data-fluid]){display:block;width:100%}.aeris-editor{--aeris-editor-padding: .875rem;--aeris-editor-font-size: var(--aeris-font-size-xl, .9375rem);--aeris-editor-line-height: 1.6;display:grid;overflow:hidden;width:min(100%,44rem);border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-structured-control, var(--aeris-radius-control, var(--aeris-radius-md, .5625rem)));background:var(--aeris-surface);box-shadow:var(--aeris-shadow-xs, 0 1px 2px rgba(0, 0, 0, .1));transition:border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor[data-fluid]{width:100%}.aeris-editor[data-size=sm]{--aeris-editor-padding: .75rem;--aeris-editor-font-size: var(--aeris-font-size-lg, .875rem)}.aeris-editor[data-size=lg]{--aeris-editor-padding: 1rem;--aeris-editor-font-size: var(--aeris-font-size-2xl, 1rem)}.aeris-editor[data-appearance=filled]{background:var(--aeris-surface-2)}.aeris-editor:focus-within{border-color:var(--aeris-control-focus-border, var(--aeris-focus));box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-focus-ring-color, var(--aeris-focus-ring-color, transparent))}.aeris-editor[data-invalid]{border-color:var(--aeris-control-invalid-border, var(--aeris-danger))}.aeris-editor[data-invalid]:focus-within{box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-invalid-focus-ring-color, transparent)}.aeris-editor[data-disabled]{cursor:not-allowed;opacity:.62}.aeris-editor__toolbar{display:flex;flex-wrap:wrap;gap:.25rem;align-items:center;padding:.5rem;border-bottom:1px solid var(--aeris-border);background:color-mix(in srgb,var(--aeris-surface-2) 82%,transparent)}.aeris-editor__toolbar button{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text);font:inherit;font-size:var(--aeris-font-size-md, .8125rem);font-weight:var(--aeris-font-weight-bold, 700);cursor:pointer;transition:background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor__toolbar button[aria-pressed=true]{background:var(--aeris-primary-soft);color:var(--aeris-text)}@media(hover:hover){.aeris-editor__toolbar button:hover:not(:disabled){background:var(--aeris-primary-soft);color:var(--aeris-text)}}.aeris-editor__toolbar button:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-editor__toolbar button:disabled{cursor:not-allowed;opacity:.45}.aeris-editor__toolbar svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}:dir(rtl) .aeris-editor__logical-icon{transform:scaleX(-1)}.aeris-editor__separator{width:1px;height:1.5rem;margin-inline:.125rem;background:var(--aeris-border)}.aeris-editor__underline{text-decoration:underline;text-underline-offset:.14em}.aeris-editor__strikethrough{text-decoration:line-through}.aeris-editor__toolbar sub,.aeris-editor__toolbar sup{font-size:.65em}.aeris-editor__content-shell{position:relative;display:grid}.aeris-editor__content{position:relative;z-index:1;min-width:0;padding:var(--aeris-editor-padding);color:var(--aeris-text);font-size:var(--aeris-editor-font-size);line-height:var(--aeris-editor-line-height);outline:0;overflow-wrap:anywhere}.aeris-editor__content[contenteditable=false]{cursor:default}.aeris-editor__placeholder{position:absolute;inset-block-start:var(--aeris-editor-padding);inset-inline-start:var(--aeris-editor-padding);color:var(--aeris-text-muted);font-size:var(--aeris-editor-font-size);line-height:var(--aeris-editor-line-height);pointer-events:none}.aeris-editor-content__paragraph{margin:0 0 .65rem}.aeris-editor-content__paragraph:last-child{margin-bottom:0}.aeris-editor-content__heading{margin:0 0 .75rem;color:var(--aeris-text);font-size:1.3em;line-height:var(--aeris-line-height-tight, 1.25)}.aeris-editor-content__heading--h1{font-size:1.65em}.aeris-editor-content__heading--h2{font-size:1.35em}.aeris-editor-content__heading--h3{font-size:1.15em}.aeris-editor-content__heading--h4{font-size:1.05em}.aeris-editor-content__heading--h5{font-size:.95em}.aeris-editor-content__heading--h6{font-size:.85em;letter-spacing:.02em;text-transform:uppercase}.aeris-editor-content__quote{margin:0 0 .75rem;padding:.75rem .875rem;border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));background:var(--aeris-surface-2);color:var(--aeris-text-muted)}.aeris-editor-content__unordered-list,.aeris-editor-content__ordered-list{margin:0 0 .75rem;padding-inline-start:1.35rem}.aeris-editor-content__nested-list-item{list-style-type:none}.aeris-editor-content__check-list{margin:0 0 .75rem;padding-inline-start:0;list-style:none}.aeris-editor-content__list-item--checked,.aeris-editor-content__list-item--unchecked{position:relative;padding-inline-start:1.75rem;list-style:none}.aeris-editor-content__list-item--checked:before,.aeris-editor-content__list-item--unchecked:before{position:absolute;inset-block-start:.26em;inset-inline-start:0;width:1rem;height:1rem;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-xs, .25rem);background:var(--aeris-surface);content:\"\"}.aeris-editor-content__list-item--checked:before{border-color:var(--aeris-primary);background:var(--aeris-primary)}.aeris-editor-content__list-item--checked:after{position:absolute;inset-block-start:.43em;inset-inline-start:.27rem;width:.45rem;height:.24rem;border-block-end:2px solid var(--aeris-primary-contrast, white);border-inline-start:2px solid var(--aeris-primary-contrast, white);content:\"\";transform:rotate(-45deg)}.aeris-editor-content__list-item--checked{color:var(--aeris-text-muted);text-decoration:line-through}.aeris-editor-content__bold{font-weight:var(--aeris-font-weight-bold, 700)}.aeris-editor-content__italic{font-style:italic}.aeris-editor-content__underline{text-decoration:underline;text-underline-offset:.14em}.aeris-editor-content__strikethrough{text-decoration:line-through}.aeris-editor-content__code{padding:.12em .32em;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-xs, .25rem);background:var(--aeris-surface-2);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em}.aeris-editor-content__highlight{border-radius:.18em;background:color-mix(in srgb,var(--aeris-warning, #c38600) 28%,transparent)}.aeris-editor-content__lowercase{text-transform:lowercase}.aeris-editor-content__uppercase{text-transform:uppercase}.aeris-editor-content__capitalize{text-transform:capitalize}.aeris-editor-content__subscript,.aeris-editor-content__superscript{font-size:.75em;line-height:0}.aeris-editor-content__subscript{vertical-align:sub}.aeris-editor-content__superscript{vertical-align:super}@media(prefers-reduced-motion:reduce){.aeris-editor,.aeris-editor__toolbar button{transition:none}}@media(pointer:coarse){input:not([type=checkbox]):not([type=radio]),textarea{font-size:var(--aeris-mobile-input-font-size, 1rem)}}\n"]
2344
+ styles: [":host{display:inline-block;color:var(--aeris-text)}:host([data-fluid]){display:block;width:100%}.aeris-editor{--aeris-editor-padding: .875rem;--aeris-editor-font-size: var(--aeris-font-size-xl, .9375rem);--aeris-editor-line-height: 1.6;display:grid;overflow:hidden;width:min(100%,44rem);border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-structured-control, var(--aeris-radius-control, var(--aeris-radius-md, .5625rem)));background:var(--aeris-surface);box-shadow:var(--aeris-shadow-xs, 0 1px 2px rgba(0, 0, 0, .1));transition:border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor[data-fluid]{width:100%}.aeris-editor[data-size=sm]{--aeris-editor-padding: .75rem;--aeris-editor-font-size: var(--aeris-font-size-lg, .875rem)}.aeris-editor[data-size=lg]{--aeris-editor-padding: 1rem;--aeris-editor-font-size: var(--aeris-font-size-2xl, 1rem)}.aeris-editor[data-appearance=filled]{background:var(--aeris-surface-2)}.aeris-editor:focus-within{border-color:var(--aeris-control-focus-border, var(--aeris-focus));box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-focus-ring-color, var(--aeris-focus-ring-color, transparent))}.aeris-editor[data-invalid]{border-color:var(--aeris-control-invalid-border, var(--aeris-danger))}.aeris-editor[data-invalid]:focus-within{box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-invalid-focus-ring-color, transparent)}.aeris-editor[data-disabled]{cursor:not-allowed;opacity:.62}.aeris-editor__toolbar{display:flex;flex-wrap:wrap;gap:.25rem;align-items:center;padding:.5rem;border-bottom:1px solid var(--aeris-border);background:color-mix(in srgb,var(--aeris-surface-2) 82%,transparent)}.aeris-editor__toolbar button{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text);font:inherit;font-size:var(--aeris-font-size-md, .8125rem);font-weight:var(--aeris-font-weight-bold, 700);cursor:pointer;transition:background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor__toolbar button[aria-pressed=true]{background:var(--aeris-editor-toolbar-active-background, var(--aeris-primary));color:var(--aeris-editor-toolbar-active-color, var(--aeris-on-primary))}@media(hover:hover){.aeris-editor__toolbar button:hover:not(:disabled):not([aria-pressed=true]){background:var(--aeris-interactive-hover, var(--aeris-surface-3));color:var(--aeris-text)}}.aeris-editor__toolbar button:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-editor__toolbar button:disabled{cursor:not-allowed;opacity:.45}.aeris-editor__toolbar svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}:dir(rtl) .aeris-editor__logical-icon{transform:scaleX(-1)}.aeris-editor__separator{width:1px;height:1.5rem;margin-inline:.125rem;background:var(--aeris-border)}.aeris-editor__content-shell{position:relative;display:grid}.aeris-editor__content{position:relative;z-index:1;min-width:0;padding:var(--aeris-editor-padding);color:var(--aeris-text);font-size:var(--aeris-editor-font-size);line-height:var(--aeris-editor-line-height);outline:0;overflow-wrap:anywhere}.aeris-editor__content[contenteditable=false]{cursor:default}.aeris-editor__placeholder{position:absolute;inset-block-start:var(--aeris-editor-padding);inset-inline-start:var(--aeris-editor-padding);color:var(--aeris-text-muted);font-size:var(--aeris-editor-font-size);line-height:var(--aeris-editor-line-height);pointer-events:none}.aeris-editor-content__paragraph{margin:0 0 .65rem}.aeris-editor-content__paragraph:last-child{margin-bottom:0}.aeris-editor-content__heading{margin:0 0 .75rem;color:var(--aeris-text);font-size:1.3em;line-height:var(--aeris-line-height-tight, 1.25)}.aeris-editor-content__heading--h1{font-size:1.65em}.aeris-editor-content__heading--h2{font-size:1.35em}.aeris-editor-content__heading--h3{font-size:1.15em}.aeris-editor-content__heading--h4{font-size:1.05em}.aeris-editor-content__heading--h5{font-size:.95em}.aeris-editor-content__heading--h6{font-size:.85em;letter-spacing:.02em;text-transform:uppercase}.aeris-editor-content__quote{margin:0 0 .75rem;padding:.75rem .875rem;border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));background:var(--aeris-surface-2);color:var(--aeris-text-muted)}.aeris-editor-content__unordered-list,.aeris-editor-content__ordered-list{margin:0 0 .75rem;padding-inline-start:1.35rem}.aeris-editor-content__nested-list-item{list-style-type:none}.aeris-editor-content__check-list{margin:0 0 .75rem;padding-inline-start:0;list-style:none}.aeris-editor-content__list-item--checked,.aeris-editor-content__list-item--unchecked{position:relative;padding-inline-start:1.75rem;list-style:none}.aeris-editor-content__list-item--checked:before,.aeris-editor-content__list-item--unchecked:before{position:absolute;inset-block-start:.26em;inset-inline-start:0;width:1rem;height:1rem;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-xs, .25rem);background:var(--aeris-surface);content:\"\"}.aeris-editor-content__list-item--checked:before{border-color:var(--aeris-primary);background:var(--aeris-primary)}.aeris-editor-content__list-item--checked:after{position:absolute;inset-block-start:.43em;inset-inline-start:.27rem;width:.45rem;height:.24rem;border-block-end:2px solid var(--aeris-primary-contrast, white);border-inline-start:2px solid var(--aeris-primary-contrast, white);content:\"\";transform:rotate(-45deg)}.aeris-editor-content__list-item--checked{color:var(--aeris-text-muted);text-decoration:line-through}.aeris-editor-content__bold{font-weight:var(--aeris-font-weight-bold, 700)}.aeris-editor-content__italic{font-style:italic}.aeris-editor-content__underline{text-decoration:underline;text-underline-offset:.14em}.aeris-editor-content__strikethrough{text-decoration:line-through}.aeris-editor-content__code{padding:.12em .32em;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-xs, .25rem);background:var(--aeris-surface-2);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em}.aeris-editor-content__highlight{border-radius:.18em;background:color-mix(in srgb,var(--aeris-warning, #c38600) 28%,transparent)}.aeris-editor-content__lowercase{text-transform:lowercase}.aeris-editor-content__uppercase{text-transform:uppercase}.aeris-editor-content__capitalize{text-transform:capitalize}.aeris-editor-content__subscript,.aeris-editor-content__superscript{font-size:.75em;line-height:0}.aeris-editor-content__subscript{vertical-align:sub}.aeris-editor-content__superscript{vertical-align:super}@media(prefers-reduced-motion:reduce){.aeris-editor,.aeris-editor__toolbar button{transition:none}}@media(pointer:coarse){input:not([type=checkbox]):not([type=radio]),textarea{font-size:var(--aeris-mobile-input-font-size, 1rem)}}\n"]
1708
2345
  }]
1709
2346
  }],
1710
2347
  ctorParameters: () => [],
1711
2348
  propDecorators: {
2349
+ toolbarIcons: [{
2350
+ type: i0.Input,
2351
+ args: [{
2352
+ isSignal: true,
2353
+ alias: "toolbarIcons",
2354
+ required: false
2355
+ }]
2356
+ }],
1712
2357
  value: [{
1713
2358
  type: i0.Input,
1714
2359
  args: [{