@ethlete/components 1.0.0-next.77 → 1.0.0-next.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/CHANGELOG.md +119 -0
  2. package/design/accordion.ts +73 -0
  3. package/design/avatar.ts +90 -0
  4. package/design/badge.ts +48 -0
  5. package/design/banner.ts +77 -0
  6. package/design/bracket.ts +457 -0
  7. package/design/breadcrumb.ts +145 -0
  8. package/design/button.ts +49 -0
  9. package/design/calendar.ts +306 -0
  10. package/design/card.ts +92 -0
  11. package/design/carousel.ts +240 -0
  12. package/design/chart.ts +512 -0
  13. package/design/checkbox.ts +275 -0
  14. package/design/chip.ts +64 -0
  15. package/design/config.json +22 -0
  16. package/design/control.ts +19 -0
  17. package/design/copy-button.ts +59 -0
  18. package/design/description-list.ts +41 -0
  19. package/design/dialog.ts +214 -0
  20. package/design/divider.ts +27 -0
  21. package/design/empty-state.ts +45 -0
  22. package/design/floating-action.ts +55 -0
  23. package/design/form-field.ts +40 -1
  24. package/design/grid.ts +148 -0
  25. package/design/icon-set.ts +19 -0
  26. package/design/icon.ts +9 -0
  27. package/design/input.ts +86 -0
  28. package/design/kbd.ts +19 -0
  29. package/design/loader.ts +152 -0
  30. package/design/masonry.ts +115 -0
  31. package/design/match.ts +131 -0
  32. package/design/menu.ts +143 -0
  33. package/design/notification.ts +129 -0
  34. package/design/otp-input.ts +107 -0
  35. package/design/pagination.ts +120 -0
  36. package/design/picture.ts +80 -0
  37. package/design/progress-steps.ts +79 -0
  38. package/design/query-error.ts +60 -0
  39. package/design/radio-group.ts +132 -0
  40. package/design/scheduler.ts +369 -0
  41. package/design/scrollable.ts +218 -0
  42. package/design/scrollbar.ts +47 -0
  43. package/design/sdk/assets/fallback.svg +1 -0
  44. package/design/sdk/assets/tall.svg +1 -0
  45. package/design/sdk/assets/wide.svg +1 -0
  46. package/design/sdk/components/accent-on-light/accent-on-light.css +35 -0
  47. package/design/sdk/components/accent-on-light/accent-on-light.ts +10 -0
  48. package/design/sdk/components/accent-on-light/shared/controls.ts +46 -0
  49. package/design/sdk/components/accordion/accordion.css +17 -0
  50. package/design/sdk/components/accordion/accordion.ts +64 -0
  51. package/design/sdk/components/avatar/avatar.css +14 -0
  52. package/design/sdk/components/avatar/avatar.ts +78 -0
  53. package/design/sdk/components/badge/badge.css +13 -0
  54. package/design/sdk/components/badge/badge.ts +52 -0
  55. package/design/sdk/components/banner/banner.css +18 -0
  56. package/design/sdk/components/banner/banner.ts +87 -0
  57. package/design/sdk/components/bracket/bracket.css +59 -0
  58. package/design/sdk/components/bracket/bracket.ts +143 -0
  59. package/design/sdk/components/breadcrumb/breadcrumb.css +25 -0
  60. package/design/sdk/components/breadcrumb/breadcrumb.ts +81 -0
  61. package/design/sdk/components/button/button.css +33 -0
  62. package/design/sdk/components/button/button.ts +82 -0
  63. package/design/sdk/components/calendar/calendar.css +33 -0
  64. package/design/sdk/components/calendar/calendar.ts +96 -0
  65. package/design/sdk/components/card/card.css +19 -0
  66. package/design/sdk/components/card/card.ts +61 -0
  67. package/design/sdk/components/carousel/carousel.css +44 -0
  68. package/design/sdk/components/carousel/carousel.ts +74 -0
  69. package/design/sdk/components/chart/chart.css +56 -0
  70. package/design/sdk/components/chart/chart.ts +98 -0
  71. package/design/sdk/components/chip/chip.css +18 -0
  72. package/design/sdk/components/chip/chip.ts +76 -0
  73. package/design/sdk/components/copy-button/copy-button.css +14 -0
  74. package/design/sdk/components/copy-button/copy-button.ts +59 -0
  75. package/design/sdk/components/description-list/description-list.css +7 -0
  76. package/design/sdk/components/description-list/description-list.ts +53 -0
  77. package/design/sdk/components/dialog/dialog.css +29 -0
  78. package/design/sdk/components/dialog/dialog.ts +78 -0
  79. package/design/sdk/components/divider/divider.css +26 -0
  80. package/design/sdk/components/divider/divider.ts +43 -0
  81. package/design/sdk/components/empty-state/empty-state.css +15 -0
  82. package/design/sdk/components/empty-state/empty-state.ts +56 -0
  83. package/design/sdk/components/floating-action/floating-action.css +51 -0
  84. package/design/sdk/components/floating-action/floating-action.ts +63 -0
  85. package/design/sdk/components/form-field/form-field.ts +118 -0
  86. package/design/sdk/components/grid/grid.css +17 -0
  87. package/design/sdk/components/grid/grid.ts +80 -0
  88. package/design/sdk/components/input/input.css +75 -0
  89. package/design/sdk/components/input/input.ts +79 -0
  90. package/design/sdk/components/kbd/kbd.css +25 -0
  91. package/design/sdk/components/kbd/kbd.ts +57 -0
  92. package/design/sdk/components/loader/loader.css +37 -0
  93. package/design/sdk/components/loader/loader.ts +68 -0
  94. package/design/sdk/components/masonry/masonry.css +7 -0
  95. package/design/sdk/components/masonry/masonry.ts +42 -0
  96. package/design/sdk/components/match/match.css +25 -0
  97. package/design/sdk/components/match/match.ts +76 -0
  98. package/design/sdk/components/menu/menu.css +22 -0
  99. package/design/sdk/components/menu/menu.ts +91 -0
  100. package/design/sdk/components/notification/notification.css +32 -0
  101. package/design/sdk/components/notification/notification.ts +106 -0
  102. package/design/sdk/components/otp-input/otp-input.css +35 -0
  103. package/design/sdk/components/otp-input/otp-input.ts +64 -0
  104. package/design/sdk/components/pagination/pagination.css +14 -0
  105. package/design/sdk/components/pagination/pagination.ts +75 -0
  106. package/design/sdk/components/picture/picture.css +37 -0
  107. package/design/sdk/components/picture/picture.ts +96 -0
  108. package/design/sdk/components/progress-steps/progress-steps.css +37 -0
  109. package/design/sdk/components/progress-steps/progress-steps.ts +91 -0
  110. package/design/sdk/components/query-error/query-error.css +33 -0
  111. package/design/sdk/components/query-error/query-error.ts +120 -0
  112. package/design/sdk/components/scheduler/scheduler.css +55 -0
  113. package/design/sdk/components/scheduler/scheduler.ts +239 -0
  114. package/design/sdk/components/scrollable/scrollable.css +58 -0
  115. package/design/sdk/components/scrollable/scrollable.ts +133 -0
  116. package/design/sdk/components/scrollbar/scrollbar.css +78 -0
  117. package/design/sdk/components/scrollbar/scrollbar.ts +123 -0
  118. package/design/sdk/components/select/select.css +5 -0
  119. package/design/sdk/components/select/select.ts +16 -0
  120. package/design/sdk/components/select/shared/select-part.ts +75 -0
  121. package/design/sdk/components/select-panel/select-panel.css +3 -0
  122. package/design/sdk/components/select-panel/select-panel.ts +124 -0
  123. package/design/sdk/components/skeleton/skeleton.css +22 -0
  124. package/design/sdk/components/skeleton/skeleton.ts +50 -0
  125. package/design/sdk/components/slider/slider.css +52 -0
  126. package/design/sdk/components/slider/slider.ts +86 -0
  127. package/design/sdk/components/standings/standings.css +33 -0
  128. package/design/sdk/components/standings/standings.ts +130 -0
  129. package/design/sdk/components/stat-tile/stat-tile.css +15 -0
  130. package/design/sdk/components/stat-tile/stat-tile.ts +84 -0
  131. package/design/sdk/components/stream/stream.css +48 -0
  132. package/design/sdk/components/stream/stream.ts +38 -0
  133. package/design/sdk/components/switch/switch.css +35 -0
  134. package/design/sdk/components/switch/switch.ts +63 -0
  135. package/design/sdk/components/table/table.css +67 -0
  136. package/design/sdk/components/table/table.ts +160 -0
  137. package/design/sdk/components/tabs/tabs.css +13 -0
  138. package/design/sdk/components/tabs/tabs.ts +74 -0
  139. package/design/sdk/components/textarea/textarea.css +116 -0
  140. package/design/sdk/components/textarea/textarea.ts +64 -0
  141. package/design/sdk/components/timeline/timeline.css +30 -0
  142. package/design/sdk/components/timeline/timeline.ts +87 -0
  143. package/design/sdk/components/toolbar/toolbar.css +24 -0
  144. package/design/sdk/components/toolbar/toolbar.ts +87 -0
  145. package/design/sdk/components/tooltip/tooltip.css +15 -0
  146. package/design/sdk/components/tooltip/tooltip.ts +28 -0
  147. package/design/sdk/components/tree/selected-tint.css +15 -0
  148. package/design/sdk/components/tree/tree.ts +70 -0
  149. package/design/sdk/fixtures.ts +0 -0
  150. package/design/sdk/foundations/colors/colors.css +632 -0
  151. package/design/sdk/foundations/colors/colors.ts +188 -0
  152. package/design/sdk/foundations/colors/overrides.json +19 -0
  153. package/design/sdk/foundations/colors/shared/contrast.ts +120 -0
  154. package/design/sdk/foundations/elevation/elevation.css +6 -0
  155. package/design/sdk/foundations/elevation/elevation.ts +11 -0
  156. package/design/sdk/foundations/elevation/shared/elevation/scene.css +101 -0
  157. package/design/sdk/foundations/elevation/shared/elevation/scene.ts +74 -0
  158. package/design/sdk/foundations/icons/icons.ts +119 -0
  159. package/design/select.ts +113 -28
  160. package/design/skeleton.ts +67 -0
  161. package/design/slider.ts +155 -0
  162. package/design/standings.ts +161 -0
  163. package/design/stat-tile.ts +109 -0
  164. package/design/stream.ts +92 -0
  165. package/design/switch.ts +83 -0
  166. package/design/table.ts +302 -0
  167. package/design/tabs.ts +75 -0
  168. package/design/textarea.ts +92 -0
  169. package/design/timeline.ts +52 -0
  170. package/design/toolbar.ts +95 -0
  171. package/design/tooltip.ts +87 -0
  172. package/design/tree.ts +106 -0
  173. package/fesm2022/ethlete-components.mjs +240 -199
  174. package/fesm2022/ethlete-components.mjs.map +1 -1
  175. package/package.json +1 -1
  176. package/src/lib/accordion/accordion.component.css +2 -1
  177. package/src/lib/avatar/avatar.component.css +10 -0
  178. package/src/lib/badge/badge.component.css +2 -2
  179. package/src/lib/banner/banner.component.css +3 -1
  180. package/src/lib/breadcrumb/breadcrumb-outlet.component.css +5 -0
  181. package/src/lib/breadcrumb/breadcrumb.component.css +5 -1
  182. package/src/lib/button/button.component.css +19 -0
  183. package/src/lib/button/icon-button.component.css +19 -20
  184. package/src/lib/button/split-button.component.css +5 -1
  185. package/src/lib/calendar/calendar.component.css +13 -3
  186. package/src/lib/card/card.component.css +4 -0
  187. package/src/lib/carousel/carousel-autoplay-styles.component.css +1 -1
  188. package/src/lib/carousel/carousel.component.css +2 -2
  189. package/src/lib/chart/chart-axis.component.css +3 -3
  190. package/src/lib/chip/chip.component.css +8 -2
  191. package/src/lib/description-list/description-list.component.css +2 -1
  192. package/src/lib/empty-state/empty-state.component.css +4 -0
  193. package/src/lib/floating-action/floating-action-styles.component.css +27 -0
  194. package/src/lib/focus-ring/focus-ring-styles.component.css +4 -1
  195. package/src/lib/forms/checkbox/checkbox.component.css +31 -5
  196. package/src/lib/forms/color-input/color-input.component.css +3 -1
  197. package/src/lib/forms/color-input/color-picker-panel.component.css +6 -2
  198. package/src/lib/forms/date-time/date-input/date-input.component.css +1 -1
  199. package/src/lib/forms/date-time/date-time-input/date-time-input.component.css +1 -1
  200. package/src/lib/forms/date-time/duration-input/duration-input.component.css +1 -1
  201. package/src/lib/forms/date-time/range-input-shell-styles.component.css +1 -1
  202. package/src/lib/forms/date-time/time-input/time-input.component.css +1 -1
  203. package/src/lib/forms/description/description.component.css +7 -0
  204. package/src/lib/forms/dropzone/dropzone.component.css +26 -0
  205. package/src/lib/forms/form-field/form-field-control-suffix-styles.component.css +4 -2
  206. package/src/lib/forms/form-field/form-field-text-shell-styles.component.css +74 -17
  207. package/src/lib/forms/form-field/form-field-textarea-styles.component.css +62 -0
  208. package/src/lib/forms/form-field/form-field.component.css +6 -0
  209. package/src/lib/forms/form-field/headless/label.directive.css +1 -1
  210. package/src/lib/forms/input/input.component.css +6 -2
  211. package/src/lib/forms/input/number-input.component.css +2 -2
  212. package/src/lib/forms/input/password-input.component.css +4 -3
  213. package/src/lib/forms/otp-input/otp-input.component.css +23 -4
  214. package/src/lib/forms/phone-input/phone-input.component.css +4 -3
  215. package/src/lib/forms/rating/rating.component.css +2 -1
  216. package/src/lib/forms/rich-text-editor/rich-text-editor.component.css +1 -1
  217. package/src/lib/forms/select/select-option-styles.component.css +3 -2
  218. package/src/lib/forms/selection-card-styles.component.css +3 -2
  219. package/src/lib/forms/selection-list/checkbox-group/checkbox-group-select-all.component.css +4 -2
  220. package/src/lib/forms/selection-list/checkbox-group/checkbox-option.component.css +4 -2
  221. package/src/lib/forms/selection-list/radio-group/radio.component.css +5 -2
  222. package/src/lib/forms/selection-list/segmented-button-group/segmented-button.component.css +2 -1
  223. package/src/lib/forms/slider/range-slider.component.css +98 -6
  224. package/src/lib/forms/slider/slider.component.css +96 -4
  225. package/src/lib/forms/switch/switch.component.css +47 -4
  226. package/src/lib/forms/tag-input/tag-input.component.css +2 -2
  227. package/src/lib/forms/textarea/textarea-autosize-styles.component.css +2 -3
  228. package/src/lib/forms/textarea/textarea.component.css +7 -2
  229. package/src/lib/grid/grid-item-toolbar.component.css +10 -0
  230. package/src/lib/grid/grid-item.component.css +6 -1
  231. package/src/lib/icon/headless/align-icons.ts +30 -0
  232. package/src/lib/icon/headless/arrow-out-up-right-icon.ts +17 -0
  233. package/src/lib/icon/headless/arrow-right-icon.ts +23 -0
  234. package/src/lib/icon/headless/arrow-up-icon.ts +30 -0
  235. package/src/lib/icon/headless/arrows-left-right-icon.ts +31 -0
  236. package/src/lib/icon/headless/bold-icon.ts +11 -0
  237. package/src/lib/icon/headless/calendar-icon.ts +21 -0
  238. package/src/lib/icon/headless/check-icon.ts +14 -0
  239. package/src/lib/icon/headless/chevron-icon.ts +14 -0
  240. package/src/lib/icon/headless/circle-check-icon.ts +14 -0
  241. package/src/lib/icon/headless/circle-info-icon.ts +14 -0
  242. package/src/lib/icon/headless/clipboard-check-icon.ts +28 -0
  243. package/src/lib/icon/headless/clock-icon.ts +21 -0
  244. package/src/lib/icon/headless/code-block-icon.ts +15 -0
  245. package/src/lib/icon/headless/code-icon.ts +14 -0
  246. package/src/lib/icon/headless/ellipsis-icon.ts +13 -0
  247. package/src/lib/icon/headless/ellipsis-vertical-icon.ts +13 -0
  248. package/src/lib/icon/headless/eye-icons.ts +27 -0
  249. package/src/lib/icon/headless/eyedropper-icon.ts +22 -0
  250. package/src/lib/icon/headless/file-icon.ts +16 -0
  251. package/src/lib/icon/headless/filter-icon.ts +11 -0
  252. package/src/lib/icon/headless/floppy-disk-icon.ts +27 -0
  253. package/src/lib/icon/headless/focus-frame-icon.ts +16 -0
  254. package/src/lib/icon/headless/grid-2x2-icon.ts +17 -0
  255. package/src/lib/icon/headless/heading-1-icon.ts +11 -0
  256. package/src/lib/icon/headless/heading-2-icon.ts +11 -0
  257. package/src/lib/icon/headless/heading-3-icon.ts +11 -0
  258. package/src/lib/icon/headless/icon-definition.ts +14 -0
  259. package/src/lib/icon/headless/image-icon.ts +14 -0
  260. package/src/lib/icon/headless/italic-icon.ts +19 -0
  261. package/src/lib/icon/headless/link-icon.ts +17 -0
  262. package/src/lib/icon/headless/list-bulleted-icon.ts +14 -0
  263. package/src/lib/icon/headless/list-numbered-icon.ts +14 -0
  264. package/src/lib/icon/headless/location-icon.ts +21 -0
  265. package/src/lib/icon/headless/lock-icon.ts +14 -0
  266. package/src/lib/icon/headless/minus-icon.ts +14 -0
  267. package/src/lib/icon/headless/paragraph-icon.ts +11 -0
  268. package/src/lib/icon/headless/pause-icon.ts +11 -0
  269. package/src/lib/icon/headless/pencil-icon.ts +21 -0
  270. package/src/lib/icon/headless/play-icon.ts +10 -0
  271. package/src/lib/icon/headless/plus-icon.ts +21 -0
  272. package/src/lib/icon/headless/quote-icon.ts +15 -0
  273. package/src/lib/icon/headless/rotate-right-icon.ts +16 -0
  274. package/src/lib/icon/headless/star-icon.ts +14 -0
  275. package/src/lib/icon/headless/strikethrough-icon.ts +18 -0
  276. package/src/lib/icon/headless/table-icon.ts +15 -0
  277. package/src/lib/icon/headless/thumbtack-icon.ts +18 -0
  278. package/src/lib/icon/headless/times-icon.ts +14 -0
  279. package/src/lib/icon/headless/trash-icon.ts +24 -0
  280. package/src/lib/icon/headless/triangle-exclamation-icon.ts +14 -0
  281. package/src/lib/icon/headless/trophy-icon.ts +24 -0
  282. package/src/lib/icon/headless/underline-icon.ts +12 -0
  283. package/src/lib/icon/headless/undo-redo-icons.ts +24 -0
  284. package/src/lib/icon/headless/upload-icon.ts +16 -0
  285. package/src/lib/loader/brand-loader/brand-loader.component.css +4 -1
  286. package/src/lib/loader/progress-bar/progress-bar.component.css +1 -1
  287. package/src/lib/loader/spinner/spinner-styles.component.css +1 -1
  288. package/src/lib/match/match-card.component.css +9 -3
  289. package/src/lib/match/match-score.component.css +4 -1
  290. package/src/lib/menu/menu-selection-item.component.css +1 -1
  291. package/src/lib/menu/menu.component.css +5 -0
  292. package/src/lib/overlay/overlay-container.component.css +4 -0
  293. package/src/lib/pagination/pagination.component.css +4 -0
  294. package/src/lib/progress-steps/progress-step.component.css +4 -4
  295. package/src/lib/query-error/query-error.component.css +4 -0
  296. package/src/lib/scheduler/scheduler-appointment-styles.component.css +21 -5
  297. package/src/lib/scheduler/scheduler-month-view.component.css +4 -2
  298. package/src/lib/scheduler/scheduler-time-grid-view.component.css +8 -2
  299. package/src/lib/scrollable/headless/scrollable-navigation.component.css +1 -1
  300. package/src/lib/standings/standings-pick.component.css +1 -1
  301. package/src/lib/standings/standings.component.css +10 -10
  302. package/src/lib/stat-tile/stat-tile-sparkline.component.css +1 -1
  303. package/src/lib/stream/consent/stream-consent.component.css +99 -0
  304. package/src/lib/stream/error/stream-player-error.component.css +100 -0
  305. package/src/lib/stream/loading/stream-player-loading.component.css +16 -0
  306. package/src/lib/stream/pip/pip-slot-placeholder.component.css +68 -0
  307. package/src/lib/stream/stream-player-slot-styles.component.css +4 -0
  308. package/src/lib/table/table-resize-grip.component.css +2 -1
  309. package/src/lib/table/table-select-cell.component.css +45 -15
  310. package/src/lib/table/table.component.css +15 -5
  311. package/src/lib/tabs/tab-bar-styles.component.css +1 -1
  312. package/src/lib/tabs/tabs/tab-group.component.css +111 -0
  313. package/src/lib/time-picker/time-picker.component.css +2 -1
  314. package/src/lib/timeline/timeline-item.component.css +5 -1
  315. package/src/lib/toolbar/toolbar.component.css +4 -0
  316. package/src/lib/tooltip/tooltip.component.css +14 -0
  317. package/src/lib/tree/tree.component.css +2 -2
  318. package/types/ethlete-components.d.ts +62 -53
@@ -0,0 +1,21 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ export const CALENDAR_ICON: IconDefinition = {
4
+ name: 'et-calendar',
5
+ data: `
6
+ <svg
7
+ width="100%"
8
+ height="100%"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ viewBox="0 0 24 24"
11
+ fill="none"
12
+ stroke="currentColor"
13
+ stroke-width="1.8"
14
+ stroke-linecap="round"
15
+ stroke-linejoin="round"
16
+ >
17
+ <rect x="3.5" y="4.5" width="17" height="16.5" rx="3" />
18
+ <path d="M8 2.5v4M16 2.5v4M3.5 10h17" />
19
+ </svg>
20
+ `,
21
+ };
@@ -0,0 +1,14 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Font Awesome Pro 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.
4
+ export const CHECK_ICON: IconDefinition = {
5
+ name: 'et-check',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
8
+ <path
9
+ fill="currentColor"
10
+ d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"
11
+ />
12
+ </svg>
13
+ `,
14
+ };
@@ -0,0 +1,14 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Font Awesome Pro 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.
4
+ export const CHEVRON_ICON: IconDefinition = {
5
+ name: 'et-chevron',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
8
+ <path
9
+ fill="currentColor"
10
+ d="M244.7 116.7c6.2-6.2 16.4-6.2 22.6 0l192 192c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L256 150.6 75.3 331.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l192-192z"
11
+ />
12
+ </svg>
13
+ `,
14
+ };
@@ -0,0 +1,14 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Font Awesome Pro 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.
4
+ export const CIRCLE_CHECK_ICON: IconDefinition = {
5
+ name: 'et-circle-check',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
8
+ <path
9
+ fill="currentColor"
10
+ d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335.1 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"
11
+ />
12
+ </svg>
13
+ `,
14
+ };
@@ -0,0 +1,14 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Font Awesome Pro 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.
4
+ export const CIRCLE_INFO_ICON: IconDefinition = {
5
+ name: 'et-circle-info',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
8
+ <path
9
+ fill="currentColor"
10
+ d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"
11
+ />
12
+ </svg>
13
+ `,
14
+ };
@@ -0,0 +1,28 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ export const CLIPBOARD_CHECK_ICON: IconDefinition = {
4
+ name: 'et-clipboard-check',
5
+ data: `
6
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
7
+ <path
8
+ d="M9 4.5h6"
9
+ stroke="currentColor"
10
+ stroke-width="1.8"
11
+ stroke-linecap="round"
12
+ />
13
+ <path
14
+ d="M9 3h6a1.5 1.5 0 0 1 1.5 1.5V6H18a2 2 0 0 1 2 2v10.5a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 4 18.5V8a2 2 0 0 1 2-2h1.5V4.5A1.5 1.5 0 0 1 9 3z"
15
+ stroke="currentColor"
16
+ stroke-width="1.8"
17
+ stroke-linejoin="round"
18
+ />
19
+ <path
20
+ d="M8.5 13l2.2 2.2 4.8-4.9"
21
+ stroke="currentColor"
22
+ stroke-width="1.8"
23
+ stroke-linecap="round"
24
+ stroke-linejoin="round"
25
+ />
26
+ </svg>
27
+ `,
28
+ };
@@ -0,0 +1,21 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ export const CLOCK_ICON: IconDefinition = {
4
+ name: 'et-clock',
5
+ data: `
6
+ <svg
7
+ width="100%"
8
+ height="100%"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ viewBox="0 0 24 24"
11
+ fill="none"
12
+ stroke="currentColor"
13
+ stroke-width="1.8"
14
+ stroke-linecap="round"
15
+ stroke-linejoin="round"
16
+ >
17
+ <circle cx="12" cy="12" r="8.75" />
18
+ <path d="M12 7.5V12l3 2" />
19
+ </svg>
20
+ `,
21
+ };
@@ -0,0 +1,15 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Custom icon: the inline-code chevrons inside a block, so it reads as a fenced block next to
4
+ // `et-code` (the inline mark) in the same toolbar.
5
+ export const CODE_BLOCK_ICON: IconDefinition = {
6
+ name: 'et-code-block',
7
+ data: `
8
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none"
9
+ stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round">
10
+ <rect x="1.75" y="2.75" width="12.5" height="10.5" rx="2" />
11
+ <path d="M6.75 6.5 5 8l1.75 1.5" />
12
+ <path d="M9.25 6.5 11 8 9.25 9.5" />
13
+ </svg>
14
+ `,
15
+ };
@@ -0,0 +1,14 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Custom icon.
4
+ export const CODE_ICON: IconDefinition = {
5
+ name: 'et-code',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none"
8
+ stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
9
+ <path d="M5.5 5 2.5 8l3 3" />
10
+ <path d="M10.5 5l3 3-3 3" />
11
+ <path d="M9 3.5 7 12.5" />
12
+ </svg>
13
+ `,
14
+ };
@@ -0,0 +1,13 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ /** Horizontal three-dot glyph - the breadcrumb's "show the hidden levels" trigger. */
4
+ export const ELLIPSIS_ICON: IconDefinition = {
5
+ name: 'et-ellipsis',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
8
+ <circle cx="5" cy="12" r="1.75" fill="currentColor" />
9
+ <circle cx="12" cy="12" r="1.75" fill="currentColor" />
10
+ <circle cx="19" cy="12" r="1.75" fill="currentColor" />
11
+ </svg>
12
+ `,
13
+ };
@@ -0,0 +1,13 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ /** Vertical three-dot "more actions" glyph - the table's column menu trigger. */
4
+ export const ELLIPSIS_VERTICAL_ICON: IconDefinition = {
5
+ name: 'et-ellipsis-vertical',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
8
+ <circle cx="12" cy="5" r="1.75" fill="currentColor" />
9
+ <circle cx="12" cy="12" r="1.75" fill="currentColor" />
10
+ <circle cx="12" cy="19" r="1.75" fill="currentColor" />
11
+ </svg>
12
+ `,
13
+ };
@@ -0,0 +1,27 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Font Awesome Pro 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.
4
+ export const EYE_ICON: IconDefinition = {
5
+ name: 'et-eye',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">
8
+ <path
9
+ fill="currentColor"
10
+ d="M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"
11
+ />
12
+ </svg>
13
+ `,
14
+ };
15
+
16
+ // Font Awesome Pro 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.
17
+ export const EYE_SLASH_ICON: IconDefinition = {
18
+ name: 'et-eye-slash',
19
+ data: `
20
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512">
21
+ <path
22
+ fill="currentColor"
23
+ d="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"
24
+ />
25
+ </svg>
26
+ `,
27
+ };
@@ -0,0 +1,22 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ export const EYEDROPPER_ICON: IconDefinition = {
4
+ name: 'et-eyedropper',
5
+ data: `
6
+ <svg
7
+ width="100%"
8
+ height="100%"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ viewBox="0 0 24 24"
11
+ fill="none"
12
+ stroke="currentColor"
13
+ stroke-width="1.8"
14
+ stroke-linecap="round"
15
+ stroke-linejoin="round"
16
+ >
17
+ <path d="m3 21 1-1h3l8.5-8.5" />
18
+ <path d="M4 20v-3l8.5-8.5" />
19
+ <path d="m15 6 2.9-2.9a2.05 2.05 0 0 1 2.9 2.9L17.9 8.9l.4.4a2.05 2.05 0 0 1-2.9 2.9l-3.6-3.6a2.05 2.05 0 0 1 2.9-2.9l.3.3Z" />
20
+ </svg>
21
+ `,
22
+ };
@@ -0,0 +1,16 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ export const FILE_ICON: IconDefinition = {
4
+ name: 'et-file',
5
+ data: `
6
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
7
+ <path
8
+ d="M13 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V9m-6-6 6 6m-6-6v6h6"
9
+ stroke="currentColor"
10
+ stroke-width="1.5"
11
+ stroke-linecap="round"
12
+ stroke-linejoin="round"
13
+ />
14
+ </svg>
15
+ `,
16
+ };
@@ -0,0 +1,11 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ /** Funnel glyph for a column's filter menu trigger. */
4
+ export const FILTER_ICON: IconDefinition = {
5
+ name: 'et-filter',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
8
+ <path fill="currentColor" d="M1 2h14l-5.5 6.5V14L6.5 12V8.5z" />
9
+ </svg>
10
+ `,
11
+ };
@@ -0,0 +1,27 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ export const FLOPPY_DISK_ICON: IconDefinition = {
4
+ name: 'et-floppy-disk',
5
+ data: `
6
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
7
+ <path
8
+ d="M5 3h11l3 3v13a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V3z"
9
+ stroke="currentColor"
10
+ stroke-width="1.8"
11
+ stroke-linejoin="round"
12
+ />
13
+ <path
14
+ d="M8 3v6h7V3"
15
+ stroke="currentColor"
16
+ stroke-width="1.8"
17
+ stroke-linejoin="round"
18
+ />
19
+ <path
20
+ d="M8 17h8"
21
+ stroke="currentColor"
22
+ stroke-width="1.8"
23
+ stroke-linecap="round"
24
+ />
25
+ </svg>
26
+ `,
27
+ };
@@ -0,0 +1,16 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ export const FOCUS_FRAME_ICON: IconDefinition = {
4
+ name: 'et-focus-frame',
5
+ data: `
6
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
7
+ <path
8
+ fill="currentColor"
9
+ fill-rule="evenodd"
10
+ d="M5.75 4A1.75 1.75 0 0 0 4 5.75v12.5C4 19.216 4.784 20 5.75 20h12.5A1.75 1.75 0 0 0 20 18.25V5.75A1.75 1.75 0 0 0 18.25 4H5.75Zm0 1.5a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V5.75a.25.25 0 0 0-.25-.25H5.75Z"
11
+ clip-rule="evenodd"
12
+ />
13
+ <rect x="8" y="8" width="8" height="8" rx="1.25" fill="currentColor" />
14
+ </svg>
15
+ `,
16
+ };
@@ -0,0 +1,17 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ export const GRID_2X2_ICON: IconDefinition = {
4
+ name: 'et-grid-2x2',
5
+ data: `
6
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
7
+ <path
8
+ fill="currentColor"
9
+ fill-rule="evenodd"
10
+ d="M5.75 4A1.75 1.75 0 0 0 4 5.75v12.5C4 19.216 4.784 20 5.75 20h12.5A1.75 1.75 0 0 0 20 18.25V5.75A1.75 1.75 0 0 0 18.25 4H5.75Zm0 1.5a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V5.75a.25.25 0 0 0-.25-.25H5.75Z"
11
+ clip-rule="evenodd"
12
+ />
13
+ <rect x="11.25" y="5.5" width="1.5" height="13" fill="currentColor" />
14
+ <rect x="5.5" y="11.25" width="13" height="1.5" fill="currentColor" />
15
+ </svg>
16
+ `,
17
+ };
@@ -0,0 +1,11 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Custom icon.
4
+ export const HEADING_1_ICON: IconDefinition = {
5
+ name: 'et-heading-1',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
8
+ <text x="8" y="12" font-size="11" font-weight="700" text-anchor="middle" fill="currentColor">H1</text>
9
+ </svg>
10
+ `,
11
+ };
@@ -0,0 +1,11 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Custom icon.
4
+ export const HEADING_2_ICON: IconDefinition = {
5
+ name: 'et-heading-2',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
8
+ <text x="8" y="12" font-size="11" font-weight="700" text-anchor="middle" fill="currentColor">H2</text>
9
+ </svg>
10
+ `,
11
+ };
@@ -0,0 +1,11 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Custom icon.
4
+ export const HEADING_3_ICON: IconDefinition = {
5
+ name: 'et-heading-3',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
8
+ <text x="8" y="12" font-size="11" font-weight="700" text-anchor="middle" fill="currentColor">H3</text>
9
+ </svg>
10
+ `,
11
+ };
@@ -0,0 +1,14 @@
1
+ export type IconDefinition = {
2
+ name: string;
3
+ /**
4
+ * Optional style variant (e.g. `'solid'`, `'light'`, `'regular'`). Lets the same icon
5
+ * `name` exist in several styles without encoding the style into the name. Icons
6
+ * registered without a variant are matched by their bare name.
7
+ */
8
+ variant?: string;
9
+ /**
10
+ * The SVG markup. It is rendered as-is without sanitising, so it must be trusted, build-time markup -
11
+ * never a string from a CMS, an API or user input.
12
+ */
13
+ data: string;
14
+ };
@@ -0,0 +1,14 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Font Awesome Pro 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.
4
+ export const IMAGE_ICON: IconDefinition = {
5
+ name: 'et-image',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
8
+ <path
9
+ fill="currentColor"
10
+ d="M0 96C0 60.7 28.7 32 64 32l384 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6l96 0 32 0 208 0c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"
11
+ />
12
+ </svg>
13
+ `,
14
+ };
@@ -0,0 +1,19 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Custom icon.
4
+ export const ITALIC_ICON: IconDefinition = {
5
+ name: 'et-italic',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
8
+ <text
9
+ x="8"
10
+ y="12"
11
+ font-size="12"
12
+ font-style="italic"
13
+ font-family="serif"
14
+ text-anchor="middle"
15
+ fill="currentColor"
16
+ >I</text>
17
+ </svg>
18
+ `,
19
+ };
@@ -0,0 +1,17 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Custom icon.
4
+ export const LINK_ICON: IconDefinition = {
5
+ name: 'et-link',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none">
8
+ <path
9
+ d="M6.5 9.5l3-3M7 4.5l1-1a2.5 2.5 0 013.5 3.5l-1 1M9 11.5l-1 1A2.5 2.5 0 014.5 9l1-1"
10
+ stroke="currentColor"
11
+ stroke-width="1.4"
12
+ stroke-linecap="round"
13
+ stroke-linejoin="round"
14
+ />
15
+ </svg>
16
+ `,
17
+ };
@@ -0,0 +1,14 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Custom icon.
4
+ export const LIST_BULLETED_ICON: IconDefinition = {
5
+ name: 'et-list-bulleted',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none">
8
+ <circle cx="2.5" cy="4" r="1.2" fill="currentColor" />
9
+ <circle cx="2.5" cy="8" r="1.2" fill="currentColor" />
10
+ <circle cx="2.5" cy="12" r="1.2" fill="currentColor" />
11
+ <path d="M6 4h8M6 8h8M6 12h8" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" />
12
+ </svg>
13
+ `,
14
+ };
@@ -0,0 +1,14 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Custom icon.
4
+ export const LIST_NUMBERED_ICON: IconDefinition = {
5
+ name: 'et-list-numbered',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none">
8
+ <path d="M6 4h8M6 8h8M6 12h8" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" />
9
+ <text x="1" y="5.4" font-size="5" fill="currentColor">1</text>
10
+ <text x="1" y="9.6" font-size="5" fill="currentColor">2</text>
11
+ <text x="1" y="13.8" font-size="5" fill="currentColor">3</text>
12
+ </svg>
13
+ `,
14
+ };
@@ -0,0 +1,21 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ export const LOCATION_ICON: IconDefinition = {
4
+ name: 'et-location',
5
+ data: `
6
+ <svg
7
+ width="100%"
8
+ height="100%"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ viewBox="0 0 24 24"
11
+ fill="none"
12
+ stroke="currentColor"
13
+ stroke-width="1.8"
14
+ stroke-linecap="round"
15
+ stroke-linejoin="round"
16
+ >
17
+ <path d="M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z" />
18
+ <circle cx="12" cy="9.5" r="2.25" />
19
+ </svg>
20
+ `,
21
+ };
@@ -0,0 +1,14 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Font Awesome Pro 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.
4
+ export const LOCK_ICON: IconDefinition = {
5
+ name: 'et-lock',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
8
+ <path
9
+ fill="currentColor"
10
+ d="M144 144l0 48 160 0 0-48c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192l0-48C80 64.5 144.5 0 224 0s144 64.5 144 144l0 48 48 0c26.5 0 48 21.5 48 48l0 224c0 26.5-21.5 48-48 48L32 512c-26.5 0-48-21.5-48-48L-16 240c0-26.5 21.5-48 48-48l48 0zm144 184c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40z"
11
+ />
12
+ </svg>
13
+ `,
14
+ };
@@ -0,0 +1,14 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Font Awesome Pro 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.
4
+ export const MINUS_ICON: IconDefinition = {
5
+ name: 'et-minus',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
8
+ <path
9
+ fill="currentColor"
10
+ d="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"
11
+ />
12
+ </svg>
13
+ `,
14
+ };
@@ -0,0 +1,11 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Custom icon.
4
+ export const PARAGRAPH_ICON: IconDefinition = {
5
+ name: 'et-paragraph',
6
+ data: `
7
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
8
+ <text x="8" y="12" font-size="12" font-weight="700" text-anchor="middle" fill="currentColor">¶</text>
9
+ </svg>
10
+ `,
11
+ };
@@ -0,0 +1,11 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ export const PAUSE_ICON: IconDefinition = {
4
+ name: 'et-pause',
5
+ data: `
6
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
7
+ <path fill="currentColor" d="M7 4h3.5a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1z" />
8
+ <path fill="currentColor" d="M13.5 4H17a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1z" />
9
+ </svg>
10
+ `,
11
+ };
@@ -0,0 +1,21 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ export const PENCIL_ICON: IconDefinition = {
4
+ name: 'et-pencil',
5
+ data: `
6
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
7
+ <path
8
+ d="M4 20l4.2-1 9.3-9.3a1.8 1.8 0 0 0 0-2.5l-.7-.7a1.8 1.8 0 0 0-2.5 0L5 15.8 4 20z"
9
+ stroke="currentColor"
10
+ stroke-width="1.8"
11
+ stroke-linejoin="round"
12
+ />
13
+ <path
14
+ d="M12.8 7.2l4 4"
15
+ stroke="currentColor"
16
+ stroke-width="1.8"
17
+ stroke-linecap="round"
18
+ />
19
+ </svg>
20
+ `,
21
+ };
@@ -0,0 +1,10 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ export const PLAY_ICON: IconDefinition = {
4
+ name: 'et-play',
5
+ data: `
6
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
7
+ <path fill="currentColor" d="M8 5.14a1 1 0 0 1 1.52-.85l10 6.86a1 1 0 0 1 0 1.7l-10 6.86A1 1 0 0 1 8 18.86z" />
8
+ </svg>
9
+ `,
10
+ };
@@ -0,0 +1,21 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ export const PLUS_ICON: IconDefinition = {
4
+ name: 'et-plus',
5
+ data: `
6
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
7
+ <path
8
+ d="M12 5v14"
9
+ stroke="currentColor"
10
+ stroke-width="1.8"
11
+ stroke-linecap="round"
12
+ />
13
+ <path
14
+ d="M5 12h14"
15
+ stroke="currentColor"
16
+ stroke-width="1.8"
17
+ stroke-linecap="round"
18
+ />
19
+ </svg>
20
+ `,
21
+ };
@@ -0,0 +1,15 @@
1
+ import { IconDefinition } from './icon-definition';
2
+
3
+ // Two filled quotation marks - the block-quote tool's mark, drawn rather than typeset so it doesn't
4
+ // depend on the font's glyph.
5
+ export const QUOTE_ICON: IconDefinition = {
6
+ name: 'et-quote',
7
+ data: `
8
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
9
+ <path
10
+ d="M10 6.5C7 7.5 5.5 10 5.5 13v4.5h5V12H8c0-2 .7-3.3 2-4zm9 0c-3 1-4.5 3.5-4.5 6.5v4.5h5V12H17c0-2 .7-3.3 2-4z"
11
+ fill="currentColor"
12
+ />
13
+ </svg>
14
+ `,
15
+ };