@eightshift/ui-components 8.5.0 → 9.0.0-beta.2

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 (1131) hide show
  1. package/README.md +73 -4
  2. package/dist/AnimatePresence-d1_liqRo.js +9 -0
  3. package/dist/Autocomplete-CQH-8_68.js +1 -0
  4. package/dist/Button-DhaWFe8e.js +1 -0
  5. package/dist/Checkbox-CrF0YJpD.js +1 -0
  6. package/dist/Dialog-CapEn0UN.js +5 -0
  7. package/dist/FocusScope-BoxZvmWP.js +1 -0
  8. package/dist/Form-BRnR5K3X.js +1 -0
  9. package/dist/Heading-DMnq9QZH.js +1 -0
  10. package/dist/Hidden-BK7EwYvz.js +1 -0
  11. package/dist/I18nProvider-BEh6VvSv.js +1 -0
  12. package/dist/Input-DldfdALf.js +1 -0
  13. package/dist/ListBox-fe9bhB2y.js +1 -0
  14. package/dist/NumberFormatter-nhsGk7J2.js +1 -0
  15. package/dist/PortalProvider-CJT9hS6n.js +1 -0
  16. package/dist/RadioGroup-yAsG5Pon.js +1 -0
  17. package/dist/SearchField-BtcWW7kv.js +1 -0
  18. package/dist/SelectionIndicator-Bslc4sCw.js +1 -0
  19. package/dist/Slider-B_pPPuRp.js +1 -0
  20. package/dist/Text-CKNC-T46.js +1 -0
  21. package/dist/VisuallyHidden-D5n5kSd7.js +1 -0
  22. package/dist/animation-CmxZG3Hu.js +1 -0
  23. package/dist/assets/font-allo.css +11 -0
  24. package/dist/assets/font-dm-mono.css +1 -0
  25. package/dist/assets/fonts/Allo-OFL.txt +93 -0
  26. package/dist/assets/fonts/AlloVariable.woff2 +0 -0
  27. package/dist/assets/fonts/dm-mono-latin-300-normal.woff2 +0 -0
  28. package/dist/assets/fonts/dm-mono-latin-400-normal.woff2 +0 -0
  29. package/dist/assets/fonts/dm-mono-latin-500-normal.woff2 +0 -0
  30. package/dist/assets/fonts/dm-mono-latin-ext-300-normal.woff2 +0 -0
  31. package/dist/assets/fonts/dm-mono-latin-ext-400-normal.woff2 +0 -0
  32. package/dist/assets/fonts/dm-mono-latin-ext-500-normal.woff2 +0 -0
  33. package/dist/assets/fonts-manifest.json +13 -49
  34. package/dist/assets/style-admin.css +2 -4
  35. package/dist/assets/style-editor.css +2 -4
  36. package/dist/assets/style.css +2 -4
  37. package/dist/assets/wp-overrides/allow-full-width-blocks.css +1 -1
  38. package/dist/assets/wp-overrides/fix-label-text-case.css +2 -2
  39. package/dist/assets/wp-overrides/increase-sidebar-width.css +2 -2
  40. package/dist/assets/wp-overrides/make-block-messages-nicer.css +2 -2
  41. package/dist/assets/wp-overrides/replace-fonts.css +2 -2
  42. package/dist/assets/wp-overrides/restyle-tooltips.css +2 -2
  43. package/dist/assets/wp-overrides/round-corners.css +2 -2
  44. package/dist/assets/wp-overrides/unify-button-sizes.css +2 -2
  45. package/dist/build-module-CslE_kF6.js +1 -0
  46. package/dist/button-C_B2CkrL.js +1 -0
  47. package/dist/clsx-DB0hHKMi.js +1 -0
  48. package/dist/color-swatch-DUJ3Q4oy.js +1 -0
  49. package/dist/components/animated-visibility/animated-visibility.js +1 -82
  50. package/dist/components/base-control/base-control.d.ts +3 -1
  51. package/dist/components/base-control/base-control.js +1 -69
  52. package/dist/components/base-control/{container.d.ts → control-group.d.ts} +19 -26
  53. package/dist/components/base-control/control-group.js +1 -0
  54. package/dist/components/breakpoint-preview/breakpoint-preview.js +1 -151
  55. package/dist/components/button/button.d.ts +16 -22
  56. package/dist/components/button/button.js +1 -2
  57. package/dist/components/button/styles.d.ts +15 -0
  58. package/dist/components/button/styles.js +1 -0
  59. package/dist/components/checkbox/checkbox.d.ts +2 -4
  60. package/dist/components/checkbox/checkbox.js +1 -2
  61. package/dist/components/color-pickers/color-picker.js +1 -158
  62. package/dist/components/color-pickers/color-swatch.d.ts +0 -2
  63. package/dist/components/color-pickers/color-swatch.js +1 -2
  64. package/dist/components/color-pickers/gradient-editor.js +1 -2
  65. package/dist/components/color-pickers/solid-color-picker.js +1 -2
  66. package/dist/components/contextual-help/contextual-help.d.ts +2 -1
  67. package/dist/components/contextual-help/contextual-help.js +1 -82
  68. package/dist/components/{expandable/expandable.d.ts → disclosure/disclosure.d.ts} +15 -10
  69. package/dist/components/disclosure/disclosure.js +1 -0
  70. package/dist/components/draggable/draggable-context.js +1 -9
  71. package/dist/components/draggable/draggable-handle.js +1 -29
  72. package/dist/components/draggable/draggable.d.ts +9 -4
  73. package/dist/components/draggable/draggable.js +1 -2
  74. package/dist/components/draggable-list/draggable-list-context.js +1 -5
  75. package/dist/components/draggable-list/draggable-list-item.js +1 -61
  76. package/dist/components/draggable-list/draggable-list.d.ts +9 -2
  77. package/dist/components/draggable-list/draggable-list.js +1 -109
  78. package/dist/components/empty-state/empty-state.d.ts +19 -0
  79. package/dist/components/empty-state/empty-state.js +1 -0
  80. package/dist/components/index.d.ts +10 -19
  81. package/dist/components/index.js +1 -60
  82. package/dist/components/input-field/date-controls.d.ts +28 -0
  83. package/dist/components/input-field/date-controls.js +1 -0
  84. package/dist/components/input-field/input-clear-button.d.ts +8 -0
  85. package/dist/components/input-field/input-clear-button.js +1 -0
  86. package/dist/components/input-field/input-field.d.ts +12 -23
  87. package/dist/components/input-field/input-field.js +1 -2
  88. package/dist/components/input-field/input.d.ts +17 -0
  89. package/dist/components/input-field/input.js +1 -0
  90. package/dist/components/input-field/styles.d.ts +7 -0
  91. package/dist/components/input-field/styles.js +1 -0
  92. package/dist/components/intro-card/intro-card.d.ts +29 -0
  93. package/dist/components/intro-card/intro-card.js +1 -0
  94. package/dist/components/item-collection/item-collection.js +1 -52
  95. package/dist/components/layout/hstack.js +1 -25
  96. package/dist/components/layout/vstack.js +1 -25
  97. package/dist/components/link-input/link-input.d.ts +3 -3
  98. package/dist/components/link-input/link-input.js +1 -2
  99. package/dist/components/list/list.d.ts +7 -0
  100. package/dist/components/list/list.js +1 -0
  101. package/dist/components/list/reorderable-grid.d.ts +36 -0
  102. package/dist/components/list/reorderable-grid.js +1 -0
  103. package/dist/components/list/use-reorderable-rows.d.ts +4 -0
  104. package/dist/components/list/use-reorderable-rows.js +1 -0
  105. package/dist/components/matrix-align/matrix-align.js +1 -123
  106. package/dist/components/menu/menu.js +1 -239
  107. package/dist/components/modal/modal.js +1 -2
  108. package/dist/components/notice/notice.d.ts +0 -2
  109. package/dist/components/notice/notice.js +1 -92
  110. package/dist/components/number-picker/number-picker.d.ts +2 -4
  111. package/dist/components/number-picker/number-picker.js +1 -2
  112. package/dist/components/option-checkmark.d.ts +3 -0
  113. package/dist/components/option-checkmark.js +1 -0
  114. package/dist/components/option-picker/buttons.d.ts +20 -0
  115. package/dist/components/option-picker/buttons.js +1 -0
  116. package/dist/components/option-picker/checkboxes.d.ts +17 -0
  117. package/dist/components/option-picker/checkboxes.js +1 -0
  118. package/dist/components/option-picker/menu.d.ts +41 -0
  119. package/dist/components/option-picker/menu.js +1 -0
  120. package/dist/components/option-picker/option-picker.d.ts +26 -0
  121. package/dist/components/option-picker/option-picker.js +1 -0
  122. package/dist/components/option-picker/point.d.ts +18 -0
  123. package/dist/components/option-picker/point.js +1 -0
  124. package/dist/components/option-picker/radios.d.ts +16 -0
  125. package/dist/components/option-picker/radios.js +1 -0
  126. package/dist/components/option-picker/shared.d.ts +30 -0
  127. package/dist/components/option-picker/shared.js +1 -0
  128. package/dist/components/page-header/page-header.d.ts +32 -0
  129. package/dist/components/page-header/page-header.js +1 -0
  130. package/dist/components/panel/panel.d.ts +2 -0
  131. package/dist/components/panel/panel.js +1 -0
  132. package/dist/components/placeholders/file-picker-shell.d.ts +24 -55
  133. package/dist/components/placeholders/file-picker-shell.js +1 -87
  134. package/dist/components/placeholders/file-placeholder.d.ts +4 -2
  135. package/dist/components/placeholders/file-placeholder.js +1 -42
  136. package/dist/components/placeholders/image-placeholder.d.ts +0 -9
  137. package/dist/components/placeholders/image-placeholder.js +1 -53
  138. package/dist/components/popover/popover.d.ts +12 -7
  139. package/dist/components/popover/popover.js +1 -125
  140. package/dist/components/popover/resizing-popover.d.ts +14 -0
  141. package/dist/components/popover/resizing-popover.js +1 -0
  142. package/dist/components/popover/styles.d.ts +1 -0
  143. package/dist/components/popover/styles.js +1 -0
  144. package/dist/components/popover/suggestion-empty-state.d.ts +1 -0
  145. package/dist/components/popover/suggestion-empty-state.js +1 -0
  146. package/dist/components/portal-provider/portal-provider.js +1 -26
  147. package/dist/components/prompt-popover/prompt-popover.d.ts +4 -4
  148. package/dist/components/prompt-popover/prompt-popover.js +1 -83
  149. package/dist/components/radio/radio.d.ts +3 -14
  150. package/dist/components/radio/radio.js +1 -254
  151. package/dist/components/repeater/repeater-context.d.ts +4 -5
  152. package/dist/components/repeater/repeater-context.js +1 -5
  153. package/dist/components/repeater/repeater-item.d.ts +2 -2
  154. package/dist/components/repeater/repeater-item.js +1 -92
  155. package/dist/components/repeater/repeater.d.ts +5 -2
  156. package/dist/components/repeater/repeater.js +1 -198
  157. package/dist/components/responsive/mini-responsive.js +1 -409
  158. package/dist/components/responsive/responsive-legacy.d.ts +1 -1
  159. package/dist/components/responsive/responsive-legacy.js +1 -272
  160. package/dist/components/responsive/responsive.js +1 -449
  161. package/dist/components/responsive-preview/responsive-preview.js +1 -93
  162. package/dist/components/rich-label/rich-label.d.ts +2 -0
  163. package/dist/components/rich-label/rich-label.js +1 -70
  164. package/dist/components/select/async-multi-select.d.ts +8 -21
  165. package/dist/components/select/async-multi-select.js +1 -371
  166. package/dist/components/select/async-select-loader.d.ts +38 -0
  167. package/dist/components/select/async-select-loader.js +1 -0
  168. package/dist/components/select/async-select.d.ts +8 -21
  169. package/dist/components/select/async-select.js +1 -288
  170. package/dist/components/select/multi-select.d.ts +5 -3
  171. package/dist/components/select/multi-select.js +1 -341
  172. package/dist/components/select/selected-items-popover.d.ts +15 -0
  173. package/dist/components/select/selected-items-popover.js +1 -0
  174. package/dist/components/select/shared.d.ts +12 -3
  175. package/dist/components/select/shared.js +1 -2
  176. package/dist/components/select/single-select.d.ts +5 -3
  177. package/dist/components/select/single-select.js +1 -269
  178. package/dist/components/select/styles.d.ts +5 -3
  179. package/dist/components/select/styles.js +1 -108
  180. package/dist/components/selection-indicator.d.ts +8 -0
  181. package/dist/components/selection-indicator.js +1 -0
  182. package/dist/components/slider/column-config-slider.d.ts +0 -2
  183. package/dist/components/slider/column-config-slider.js +1 -175
  184. package/dist/components/slider/slider.d.ts +0 -2
  185. package/dist/components/slider/slider.js +1 -235
  186. package/dist/components/slider/styles.d.ts +2 -0
  187. package/dist/components/slider/styles.js +1 -0
  188. package/dist/components/slider/utils.js +1 -73
  189. package/dist/components/smart-image/smart-image.js +1 -288
  190. package/dist/components/spacer/spacer.js +1 -76
  191. package/dist/components/tabs/tabs.d.ts +33 -22
  192. package/dist/components/tabs/tabs.js +1 -2
  193. package/dist/components/toggle/switch.d.ts +2 -4
  194. package/dist/components/toggle/switch.js +1 -2
  195. package/dist/components/toggle/toggle.d.ts +0 -2
  196. package/dist/components/toggle/toggle.js +1 -47
  197. package/dist/components/toggle-button/toggle-button.d.ts +4 -17
  198. package/dist/components/toggle-button/toggle-button.js +1 -2
  199. package/dist/components/tooltip/tooltip.d.ts +4 -4
  200. package/dist/components/tooltip/tooltip.js +1 -2
  201. package/dist/date-controls-CX5bNUtF.js +1 -0
  202. package/dist/debounce-throttle-BlCrtRhZ.js +1 -0
  203. package/dist/disclosure-DYBM7fJk.js +1 -0
  204. package/dist/dist-BogNzeK9.js +1 -0
  205. package/dist/dist-C7IRUxSh.js +1 -0
  206. package/dist/draggable-9cdMY-oW.js +67 -0
  207. package/dist/es-dash-Fi4--j2S.js +1 -0
  208. package/dist/filterDOMProps-DKemR-4v.js +1 -0
  209. package/dist/gradient-editor-DB-RPeth.js +1 -0
  210. package/dist/icons/block-icon.js +1 -33
  211. package/dist/icons/generated-icon-loaders.js +1 -760
  212. package/dist/icons/generic-color-swatch.js +1 -83
  213. package/dist/icons/icon.js +1 -79
  214. package/dist/icons/icons.js +1 -219
  215. package/dist/icons/index.js +1 -759
  216. package/dist/icons/internal.js +1 -758
  217. package/dist/icons/jsx-svg.js +1 -2
  218. package/dist/icons/spinner.d.ts +1 -1
  219. package/dist/icons/spinner.js +1 -17
  220. package/dist/icons/ui-icons/a11y-warning.js +1 -34
  221. package/dist/icons/ui-icons/a11y.js +1 -29
  222. package/dist/icons/ui-icons/accelerometer.js +1 -51
  223. package/dist/icons/ui-icons/activity-log.js +1 -53
  224. package/dist/icons/ui-icons/add.js +1 -20
  225. package/dist/icons/ui-icons/alert.js +1 -31
  226. package/dist/icons/ui-icons/align-horizontal-vertical-alt.js +1 -37
  227. package/dist/icons/ui-icons/align-horizontal-vertical-alt2.js +1 -36
  228. package/dist/icons/ui-icons/align-horizontal-vertical.js +1 -34
  229. package/dist/icons/ui-icons/alt-text-generic-alt.js +1 -19
  230. package/dist/icons/ui-icons/alt-text-generic.js +1 -25
  231. package/dist/icons/ui-icons/alt-text.js +1 -36
  232. package/dist/icons/ui-icons/anchor-page.js +1 -44
  233. package/dist/icons/ui-icons/anchor.js +1 -28
  234. package/dist/icons/ui-icons/angle.js +1 -24
  235. package/dist/icons/ui-icons/animation-file.js +1 -66
  236. package/dist/icons/ui-icons/animation-generic.js +1 -36
  237. package/dist/icons/ui-icons/animation-list-generic.js +1 -41
  238. package/dist/icons/ui-icons/animation-settings-generic.js +1 -41
  239. package/dist/icons/ui-icons/animation.js +1 -55
  240. package/dist/icons/ui-icons/archive-file.js +1 -24
  241. package/dist/icons/ui-icons/archive.js +1 -39
  242. package/dist/icons/ui-icons/aria-label.js +1 -42
  243. package/dist/icons/ui-icons/arrow-down-circle-alt.js +1 -28
  244. package/dist/icons/ui-icons/arrow-down-circle.js +1 -28
  245. package/dist/icons/ui-icons/arrow-down-square-alt.js +1 -28
  246. package/dist/icons/ui-icons/arrow-down-square.js +1 -28
  247. package/dist/icons/ui-icons/arrow-down.js +1 -20
  248. package/dist/icons/ui-icons/arrow-left-circle-alt.js +1 -28
  249. package/dist/icons/ui-icons/arrow-left-circle.js +1 -28
  250. package/dist/icons/ui-icons/arrow-left-square-alt.js +1 -28
  251. package/dist/icons/ui-icons/arrow-left-square.js +1 -28
  252. package/dist/icons/ui-icons/arrow-left.js +1 -20
  253. package/dist/icons/ui-icons/arrow-right-circle-alt.js +1 -28
  254. package/dist/icons/ui-icons/arrow-right-circle.js +1 -28
  255. package/dist/icons/ui-icons/arrow-right-square-alt.js +1 -28
  256. package/dist/icons/ui-icons/arrow-right-square.js +1 -28
  257. package/dist/icons/ui-icons/arrow-right.js +1 -20
  258. package/dist/icons/ui-icons/arrow-up-circle-alt.js +1 -28
  259. package/dist/icons/ui-icons/arrow-up-circle.js +1 -28
  260. package/dist/icons/ui-icons/arrow-up-square-alt.js +1 -28
  261. package/dist/icons/ui-icons/arrow-up-square.js +1 -28
  262. package/dist/icons/ui-icons/arrow-up.js +1 -20
  263. package/dist/icons/ui-icons/arrows-down.js +1 -38
  264. package/dist/icons/ui-icons/arrows-horizontal.js +1 -20
  265. package/dist/icons/ui-icons/arrows-left-diagonal.js +1 -20
  266. package/dist/icons/ui-icons/arrows-left.js +1 -38
  267. package/dist/icons/ui-icons/arrows-right-diagonal.js +1 -20
  268. package/dist/icons/ui-icons/arrows-right.js +1 -38
  269. package/dist/icons/ui-icons/arrows-up.js +1 -38
  270. package/dist/icons/ui-icons/arrows-vertical.js +1 -20
  271. package/dist/icons/ui-icons/aspect-ratio-auto.js +1 -38
  272. package/dist/icons/ui-icons/aspect-ratio-nine-sixteen.js +1 -28
  273. package/dist/icons/ui-icons/aspect-ratio-sixteen-nine.js +1 -28
  274. package/dist/icons/ui-icons/aspect-ratio-square.js +1 -28
  275. package/dist/icons/ui-icons/aspect-ratio-three-two.js +1 -28
  276. package/dist/icons/ui-icons/aspect-ratio-twenty-one-nine.js +1 -28
  277. package/dist/icons/ui-icons/aspect-ratio.js +1 -27
  278. package/dist/icons/ui-icons/attachment.js +1 -19
  279. package/dist/icons/ui-icons/auto-close.js +1 -26
  280. package/dist/icons/ui-icons/auto-pause-scroll.js +1 -39
  281. package/dist/icons/ui-icons/auto-pause.js +1 -26
  282. package/dist/icons/ui-icons/automatic-alt.js +1 -19
  283. package/dist/icons/ui-icons/automatic.js +1 -20
  284. package/dist/icons/ui-icons/autoplay-alt.js +1 -34
  285. package/dist/icons/ui-icons/autoplay-alt2.js +1 -23
  286. package/dist/icons/ui-icons/autoplay.js +1 -36
  287. package/dist/icons/ui-icons/award.js +1 -39
  288. package/dist/icons/ui-icons/background-blur.js +1 -66
  289. package/dist/icons/ui-icons/background-color-swatch.js +1 -48
  290. package/dist/icons/ui-icons/background-image.js +1 -41
  291. package/dist/icons/ui-icons/background-repeat.js +1 -95
  292. package/dist/icons/ui-icons/background-type-alt.js +1 -38
  293. package/dist/icons/ui-icons/background-type-alt2.js +1 -27
  294. package/dist/icons/ui-icons/background-type.js +1 -27
  295. package/dist/icons/ui-icons/block-parts.js +1 -54
  296. package/dist/icons/ui-icons/bold.js +1 -21
  297. package/dist/icons/ui-icons/book.js +1 -40
  298. package/dist/icons/ui-icons/bookmark.js +1 -18
  299. package/dist/icons/ui-icons/boolean-exclude.js +1 -24
  300. package/dist/icons/ui-icons/boolean-intersect.js +1 -31
  301. package/dist/icons/ui-icons/boolean-subtract.js +1 -27
  302. package/dist/icons/ui-icons/boolean-union.js +1 -33
  303. package/dist/icons/ui-icons/border-color.js +1 -79
  304. package/dist/icons/ui-icons/border.js +1 -60
  305. package/dist/icons/ui-icons/bot-deny.js +1 -61
  306. package/dist/icons/ui-icons/bot.js +1 -47
  307. package/dist/icons/ui-icons/box.js +1 -35
  308. package/dist/icons/ui-icons/brain.js +1 -20
  309. package/dist/icons/ui-icons/branch-fork.js +1 -46
  310. package/dist/icons/ui-icons/branch.js +1 -46
  311. package/dist/icons/ui-icons/briefcase.js +1 -26
  312. package/dist/icons/ui-icons/browser.js +1 -60
  313. package/dist/icons/ui-icons/button-disabled.js +1 -30
  314. package/dist/icons/ui-icons/button-filled.js +1 -19
  315. package/dist/icons/ui-icons/button-ghost.js +1 -28
  316. package/dist/icons/ui-icons/button-outline.js +1 -27
  317. package/dist/icons/ui-icons/calculator.js +1 -139
  318. package/dist/icons/ui-icons/calendar-add.js +1 -51
  319. package/dist/icons/ui-icons/calendar-download.js +1 -62
  320. package/dist/icons/ui-icons/calendar-remove.js +1 -51
  321. package/dist/icons/ui-icons/calendar.js +1 -34
  322. package/dist/icons/ui-icons/caption-generic.js +1 -25
  323. package/dist/icons/ui-icons/card-featured.js +1 -28
  324. package/dist/icons/ui-icons/caret-down-fill.js +1 -19
  325. package/dist/icons/ui-icons/caret-down.js +1 -19
  326. package/dist/icons/ui-icons/caret-left-fill.js +1 -19
  327. package/dist/icons/ui-icons/caret-left.js +1 -19
  328. package/dist/icons/ui-icons/caret-right-fill.js +1 -19
  329. package/dist/icons/ui-icons/caret-right.js +1 -19
  330. package/dist/icons/ui-icons/caret-up-fill.js +1 -19
  331. package/dist/icons/ui-icons/caret-up.js +1 -19
  332. package/dist/icons/ui-icons/center-point.js +1 -25
  333. package/dist/icons/ui-icons/chat-bubble-alt.js +1 -25
  334. package/dist/icons/ui-icons/chat-bubble.js +1 -19
  335. package/dist/icons/ui-icons/chat.js +1 -25
  336. package/dist/icons/ui-icons/check-circle-fill-transparent.js +1 -24
  337. package/dist/icons/ui-icons/check-circle-fill.js +1 -17
  338. package/dist/icons/ui-icons/check-circle.js +1 -27
  339. package/dist/icons/ui-icons/check-square.js +1 -28
  340. package/dist/icons/ui-icons/check.js +1 -20
  341. package/dist/icons/ui-icons/checks-circle.js +1 -26
  342. package/dist/icons/ui-icons/checks.js +1 -26
  343. package/dist/icons/ui-icons/chevron-down.js +1 -20
  344. package/dist/icons/ui-icons/chevron-left.js +1 -20
  345. package/dist/icons/ui-icons/chevron-right.js +1 -20
  346. package/dist/icons/ui-icons/chevron-up.js +1 -20
  347. package/dist/icons/ui-icons/clear-alt.js +1 -25
  348. package/dist/icons/ui-icons/clear.js +1 -20
  349. package/dist/icons/ui-icons/clipboard-plain.js +1 -35
  350. package/dist/icons/ui-icons/clipboard.js +1 -43
  351. package/dist/icons/ui-icons/clock.js +1 -26
  352. package/dist/icons/ui-icons/closed-captions.js +1 -27
  353. package/dist/icons/ui-icons/code-variable.js +1 -20
  354. package/dist/icons/ui-icons/code.js +1 -20
  355. package/dist/icons/ui-icons/color-alt.js +1 -40
  356. package/dist/icons/ui-icons/color-fill-swatch.js +1 -61
  357. package/dist/icons/ui-icons/color-picker-fill.js +1 -42
  358. package/dist/icons/ui-icons/color-picker-list-marker.js +1 -41
  359. package/dist/icons/ui-icons/color-picker-text-highlight.js +1 -19
  360. package/dist/icons/ui-icons/color-picker-text.js +1 -20
  361. package/dist/icons/ui-icons/color-select.js +1 -33
  362. package/dist/icons/ui-icons/color.js +1 -22
  363. package/dist/icons/ui-icons/column-gutters-lr.js +1 -54
  364. package/dist/icons/ui-icons/columns.js +1 -42
  365. package/dist/icons/ui-icons/columns3366.js +1 -30
  366. package/dist/icons/ui-icons/columns6633.js +1 -30
  367. package/dist/icons/ui-icons/component-generic.js +1 -27
  368. package/dist/icons/ui-icons/component-options.js +1 -36
  369. package/dist/icons/ui-icons/condition-h.js +1 -20
  370. package/dist/icons/ui-icons/condition-v.js +1 -20
  371. package/dist/icons/ui-icons/conditional-visibility.js +1 -26
  372. package/dist/icons/ui-icons/container-height.js +1 -68
  373. package/dist/icons/ui-icons/container-spacing-h.js +1 -41
  374. package/dist/icons/ui-icons/container-spacing.js +1 -41
  375. package/dist/icons/ui-icons/container-width.js +1 -68
  376. package/dist/icons/ui-icons/content-bottom-left.js +1 -31
  377. package/dist/icons/ui-icons/content-bottom-right.js +1 -31
  378. package/dist/icons/ui-icons/content-center.js +1 -31
  379. package/dist/icons/ui-icons/content-top-left.js +1 -31
  380. package/dist/icons/ui-icons/content-top-right.js +1 -31
  381. package/dist/icons/ui-icons/contrast-alt.js +1 -27
  382. package/dist/icons/ui-icons/contrast.js +1 -26
  383. package/dist/icons/ui-icons/cookie-alt.js +1 -124
  384. package/dist/icons/ui-icons/cookie.js +1 -76
  385. package/dist/icons/ui-icons/copy.js +1 -26
  386. package/dist/icons/ui-icons/currency.js +1 -48
  387. package/dist/icons/ui-icons/current-page.js +1 -42
  388. package/dist/icons/ui-icons/cursor-disabled.js +1 -35
  389. package/dist/icons/ui-icons/cursor-move.js +1 -20
  390. package/dist/icons/ui-icons/dark-mode.js +1 -20
  391. package/dist/icons/ui-icons/data.js +1 -33
  392. package/dist/icons/ui-icons/date-time.js +1 -67
  393. package/dist/icons/ui-icons/defer.js +1 -26
  394. package/dist/icons/ui-icons/description-link.js +1 -40
  395. package/dist/icons/ui-icons/design.js +1 -48
  396. package/dist/icons/ui-icons/dice.js +1 -59
  397. package/dist/icons/ui-icons/divider-bottom.js +1 -23
  398. package/dist/icons/ui-icons/divider-side.js +1 -53
  399. package/dist/icons/ui-icons/divider-status.js +1 -53
  400. package/dist/icons/ui-icons/divider-top.js +1 -23
  401. package/dist/icons/ui-icons/divider.js +1 -23
  402. package/dist/icons/ui-icons/door-in.js +1 -32
  403. package/dist/icons/ui-icons/door-out.js +1 -32
  404. package/dist/icons/ui-icons/door.js +1 -27
  405. package/dist/icons/ui-icons/download.js +1 -20
  406. package/dist/icons/ui-icons/dropdown-caret-alt.js +1 -17
  407. package/dist/icons/ui-icons/dropdown-caret.js +1 -20
  408. package/dist/icons/ui-icons/dropdown-close.js +1 -52
  409. package/dist/icons/ui-icons/dropdown-open.js +1 -38
  410. package/dist/icons/ui-icons/dropdown.js +1 -38
  411. package/dist/icons/ui-icons/dummy-spacer.js +1 -17
  412. package/dist/icons/ui-icons/edit-options.js +1 -32
  413. package/dist/icons/ui-icons/edit.js +1 -22
  414. package/dist/icons/ui-icons/email-remove.js +1 -42
  415. package/dist/icons/ui-icons/email.js +1 -28
  416. package/dist/icons/ui-icons/embed.js +1 -28
  417. package/dist/icons/ui-icons/empty-circle.js +1 -23
  418. package/dist/icons/ui-icons/empty-rect.js +1 -25
  419. package/dist/icons/ui-icons/equal-columns.js +1 -25
  420. package/dist/icons/ui-icons/equal-rows.js +1 -25
  421. package/dist/icons/ui-icons/equals.js +1 -20
  422. package/dist/icons/ui-icons/error-circle-fill-transparent.js +1 -23
  423. package/dist/icons/ui-icons/error-circle-fill.js +1 -17
  424. package/dist/icons/ui-icons/error-circle.js +1 -24
  425. package/dist/icons/ui-icons/exclude-item-alt.js +1 -38
  426. package/dist/icons/ui-icons/exclude-item.js +1 -42
  427. package/dist/icons/ui-icons/exclude.js +1 -29
  428. package/dist/icons/ui-icons/expand-xl.js +1 -20
  429. package/dist/icons/ui-icons/expand.js +1 -20
  430. package/dist/icons/ui-icons/experiment.js +1 -33
  431. package/dist/icons/ui-icons/external-link.js +1 -25
  432. package/dist/icons/ui-icons/extract-alt.js +1 -25
  433. package/dist/icons/ui-icons/extract.js +1 -25
  434. package/dist/icons/ui-icons/eyedropper.js +1 -36
  435. package/dist/icons/ui-icons/fast-forward.js +1 -26
  436. package/dist/icons/ui-icons/fast-reverse.js +1 -26
  437. package/dist/icons/ui-icons/field-after-text.js +1 -54
  438. package/dist/icons/ui-icons/field-before-text.js +1 -46
  439. package/dist/icons/ui-icons/field-disabled.js +1 -35
  440. package/dist/icons/ui-icons/field-help.js +1 -46
  441. package/dist/icons/ui-icons/field-label.js +1 -38
  442. package/dist/icons/ui-icons/field-name.js +1 -45
  443. package/dist/icons/ui-icons/field-placeholder.js +1 -49
  444. package/dist/icons/ui-icons/field-readonly.js +1 -36
  445. package/dist/icons/ui-icons/field-required.js +1 -37
  446. package/dist/icons/ui-icons/field-type.js +1 -36
  447. package/dist/icons/ui-icons/field-value.js +1 -46
  448. package/dist/icons/ui-icons/field-width.js +1 -27
  449. package/dist/icons/ui-icons/file-download.js +1 -33
  450. package/dist/icons/ui-icons/file-error.js +1 -25
  451. package/dist/icons/ui-icons/file-metadata.js +1 -41
  452. package/dist/icons/ui-icons/file-pdf.js +1 -34
  453. package/dist/icons/ui-icons/file-size-max.js +1 -33
  454. package/dist/icons/ui-icons/file-size-min.js +1 -33
  455. package/dist/icons/ui-icons/file-size.js +1 -34
  456. package/dist/icons/ui-icons/file-type.js +1 -42
  457. package/dist/icons/ui-icons/file-upload.js +1 -33
  458. package/dist/icons/ui-icons/file.js +1 -24
  459. package/dist/icons/ui-icons/files.js +1 -34
  460. package/dist/icons/ui-icons/fill-color.js +1 -49
  461. package/dist/icons/ui-icons/filter-alt.js +1 -24
  462. package/dist/icons/ui-icons/filter.js +1 -20
  463. package/dist/icons/ui-icons/flag-alt.js +1 -24
  464. package/dist/icons/ui-icons/flag.js +1 -24
  465. package/dist/icons/ui-icons/flip-h.js +1 -27
  466. package/dist/icons/ui-icons/flip-v.js +1 -27
  467. package/dist/icons/ui-icons/focus.js +1 -21
  468. package/dist/icons/ui-icons/folder-add.js +1 -22
  469. package/dist/icons/ui-icons/folder-open-solid.js +1 -17
  470. package/dist/icons/ui-icons/folder-open.js +1 -19
  471. package/dist/icons/ui-icons/folder-solid.js +1 -17
  472. package/dist/icons/ui-icons/folder-top-level.js +1 -22
  473. package/dist/icons/ui-icons/folder.js +1 -19
  474. package/dist/icons/ui-icons/font-family.js +1 -24
  475. package/dist/icons/ui-icons/footer.js +1 -23
  476. package/dist/icons/ui-icons/form-alt.js +1 -71
  477. package/dist/icons/ui-icons/form.js +1 -53
  478. package/dist/icons/ui-icons/four-columns.js +1 -38
  479. package/dist/icons/ui-icons/frame.js +1 -33
  480. package/dist/icons/ui-icons/full-max-shield.js +1 -26
  481. package/dist/icons/ui-icons/full-max-text.js +1 -20
  482. package/dist/icons/ui-icons/full-width-image.js +1 -35
  483. package/dist/icons/ui-icons/gears-fill.js +1 -19
  484. package/dist/icons/ui-icons/gears.js +1 -38
  485. package/dist/icons/ui-icons/generic-color-swatch.js +1 -6
  486. package/dist/icons/ui-icons/generic-shapes-alt.js +1 -33
  487. package/dist/icons/ui-icons/generic-shapes.js +1 -38
  488. package/dist/icons/ui-icons/globe-anchor.js +1 -55
  489. package/dist/icons/ui-icons/globe-hash.js +1 -40
  490. package/dist/icons/ui-icons/globe.js +1 -37
  491. package/dist/icons/ui-icons/google-tag-manager.js +1 -36
  492. package/dist/icons/ui-icons/gradient-repeat.js +1 -41
  493. package/dist/icons/ui-icons/gradient-stop.js +1 -36
  494. package/dist/icons/ui-icons/gradient.js +1 -54
  495. package/dist/icons/ui-icons/grid-alt.js +1 -19
  496. package/dist/icons/ui-icons/grid-auto-cols.js +1 -46
  497. package/dist/icons/ui-icons/grid-auto-rows.js +1 -41
  498. package/dist/icons/ui-icons/grid-col.js +1 -22
  499. package/dist/icons/ui-icons/grid-height.js +1 -22
  500. package/dist/icons/ui-icons/grid-list-toggle.js +1 -48
  501. package/dist/icons/ui-icons/grid-manual.js +1 -18
  502. package/dist/icons/ui-icons/grid-row.js +1 -22
  503. package/dist/icons/ui-icons/grid-width.js +1 -22
  504. package/dist/icons/ui-icons/group.js +1 -33
  505. package/dist/icons/ui-icons/gutter.js +1 -28
  506. package/dist/icons/ui-icons/gyroscope.js +1 -53
  507. package/dist/icons/ui-icons/h1.js +1 -28
  508. package/dist/icons/ui-icons/h2.js +1 -28
  509. package/dist/icons/ui-icons/h3.js +1 -28
  510. package/dist/icons/ui-icons/h4.js +1 -28
  511. package/dist/icons/ui-icons/h5.js +1 -28
  512. package/dist/icons/ui-icons/h6.js +1 -28
  513. package/dist/icons/ui-icons/hamburger-menu.js +1 -19
  514. package/dist/icons/ui-icons/hard-drive.js +1 -35
  515. package/dist/icons/ui-icons/header.js +1 -23
  516. package/dist/icons/ui-icons/heading-level-alt.js +1 -28
  517. package/dist/icons/ui-icons/heading-level.js +1 -28
  518. package/dist/icons/ui-icons/heading.js +1 -20
  519. package/dist/icons/ui-icons/heart-fill-transparent.js +1 -19
  520. package/dist/icons/ui-icons/heart-fill.js +1 -18
  521. package/dist/icons/ui-icons/heart.js +1 -18
  522. package/dist/icons/ui-icons/height.js +1 -30
  523. package/dist/icons/ui-icons/help-alt.js +1 -25
  524. package/dist/icons/ui-icons/help-fill.js +1 -17
  525. package/dist/icons/ui-icons/help.js +1 -35
  526. package/dist/icons/ui-icons/hide.js +1 -29
  527. package/dist/icons/ui-icons/highlighted-checkmark.js +1 -24
  528. package/dist/icons/ui-icons/highlighted-exclamation-mark.js +1 -33
  529. package/dist/icons/ui-icons/history.js +1 -26
  530. package/dist/icons/ui-icons/horizontal-align-alt.js +1 -27
  531. package/dist/icons/ui-icons/horizontal-align-around.js +1 -37
  532. package/dist/icons/ui-icons/horizontal-align-between-alt.js +1 -37
  533. package/dist/icons/ui-icons/horizontal-align-between.js +1 -46
  534. package/dist/icons/ui-icons/horizontal-align-center.js +1 -41
  535. package/dist/icons/ui-icons/horizontal-align-evenly.js +1 -37
  536. package/dist/icons/ui-icons/horizontal-align-left.js +1 -44
  537. package/dist/icons/ui-icons/horizontal-align-right.js +1 -48
  538. package/dist/icons/ui-icons/horizontal-align-stretch.js +1 -37
  539. package/dist/icons/ui-icons/horizontal-align.js +1 -35
  540. package/dist/icons/ui-icons/hover-background-glow.js +1 -61
  541. package/dist/icons/ui-icons/hover-background-type.js +1 -34
  542. package/dist/icons/ui-icons/hover-invert-object.js +1 -42
  543. package/dist/icons/ui-icons/hover-invert-text.js +1 -32
  544. package/dist/icons/ui-icons/hover-rotate.js +1 -20
  545. package/dist/icons/ui-icons/hover-zoom.js +1 -25
  546. package/dist/icons/ui-icons/hyphenate-alt.js +1 -20
  547. package/dist/icons/ui-icons/hyphenate-alt2.js +1 -20
  548. package/dist/icons/ui-icons/hyphenate.js +1 -25
  549. package/dist/icons/ui-icons/icon-generic.js +1 -23
  550. package/dist/icons/ui-icons/id-card.js +1 -45
  551. package/dist/icons/ui-icons/id.js +1 -28
  552. package/dist/icons/ui-icons/image-blur.js +1 -50
  553. package/dist/icons/ui-icons/image-caption.js +1 -36
  554. package/dist/icons/ui-icons/image-error.js +1 -36
  555. package/dist/icons/ui-icons/image-file.js +1 -40
  556. package/dist/icons/ui-icons/image-lazy-load.js +1 -52
  557. package/dist/icons/ui-icons/image-opacity.js +1 -31
  558. package/dist/icons/ui-icons/image-overlay-alt.js +1 -93
  559. package/dist/icons/ui-icons/image-overlay-alt2.js +1 -93
  560. package/dist/icons/ui-icons/image-overlay.js +1 -92
  561. package/dist/icons/ui-icons/image-remove.js +1 -46
  562. package/dist/icons/ui-icons/image.js +1 -25
  563. package/dist/icons/ui-icons/index.js +1 -753
  564. package/dist/icons/ui-icons/info-circle-fill-transparent.js +1 -21
  565. package/dist/icons/ui-icons/info-circle-fill.js +1 -17
  566. package/dist/icons/ui-icons/info-circle.js +1 -24
  567. package/dist/icons/ui-icons/info.js +1 -17
  568. package/dist/icons/ui-icons/inherit.js +1 -41
  569. package/dist/icons/ui-icons/inline-gradient-format.js +1 -62
  570. package/dist/icons/ui-icons/input-field.js +1 -27
  571. package/dist/icons/ui-icons/italic.js +1 -20
  572. package/dist/icons/ui-icons/item-limit.js +1 -35
  573. package/dist/icons/ui-icons/item-select.js +1 -33
  574. package/dist/icons/ui-icons/item-wrap.js +1 -60
  575. package/dist/icons/ui-icons/items-per-page.js +1 -48
  576. package/dist/icons/ui-icons/items-per-row.js +1 -45
  577. package/dist/icons/ui-icons/key.js +1 -25
  578. package/dist/icons/ui-icons/keyboard.js +1 -19
  579. package/dist/icons/ui-icons/large.js +1 -24
  580. package/dist/icons/ui-icons/latest-posts.js +1 -44
  581. package/dist/icons/ui-icons/layer-off.js +1 -20
  582. package/dist/icons/ui-icons/layer.js +1 -19
  583. package/dist/icons/ui-icons/layers.js +1 -33
  584. package/dist/icons/ui-icons/layout-alt.js +1 -19
  585. package/dist/icons/ui-icons/layout-alt2.js +1 -23
  586. package/dist/icons/ui-icons/layout-alt3.js +1 -19
  587. package/dist/icons/ui-icons/layout-alt4.js +1 -19
  588. package/dist/icons/ui-icons/layout-bento-box.js +1 -19
  589. package/dist/icons/ui-icons/layout-masonry.js +1 -79
  590. package/dist/icons/ui-icons/layout.js +1 -43
  591. package/dist/icons/ui-icons/left-panel-alt.js +1 -25
  592. package/dist/icons/ui-icons/left-panel.js +1 -22
  593. package/dist/icons/ui-icons/light-bulb-alt.js +1 -30
  594. package/dist/icons/ui-icons/light-bulb.js +1 -33
  595. package/dist/icons/ui-icons/light-mode.js +1 -26
  596. package/dist/icons/ui-icons/limit-width.js +1 -26
  597. package/dist/icons/ui-icons/line-break-alt-off.js +1 -26
  598. package/dist/icons/ui-icons/line-break-alt.js +1 -25
  599. package/dist/icons/ui-icons/line-break-off-alt.js +1 -35
  600. package/dist/icons/ui-icons/line-break-off.js +1 -41
  601. package/dist/icons/ui-icons/line-break.js +1 -29
  602. package/dist/icons/ui-icons/line-breaks-hyphenation.js +1 -36
  603. package/dist/icons/ui-icons/link-add.js +1 -41
  604. package/dist/icons/ui-icons/link-nav.js +1 -59
  605. package/dist/icons/ui-icons/link-remove.js +1 -41
  606. package/dist/icons/ui-icons/link.js +1 -19
  607. package/dist/icons/ui-icons/list-indent.js +1 -26
  608. package/dist/icons/ui-icons/list-ordered.js +1 -43
  609. package/dist/icons/ui-icons/list-outdent.js +1 -26
  610. package/dist/icons/ui-icons/list-unordered.js +1 -43
  611. package/dist/icons/ui-icons/loader-alt.js +1 -19
  612. package/dist/icons/ui-icons/loader.js +1 -19
  613. package/dist/icons/ui-icons/location-add.js +1 -44
  614. package/dist/icons/ui-icons/location-allow.js +1 -44
  615. package/dist/icons/ui-icons/location-deny.js +1 -44
  616. package/dist/icons/ui-icons/location-settings.js +1 -36
  617. package/dist/icons/ui-icons/location.js +1 -26
  618. package/dist/icons/ui-icons/lock.js +1 -44
  619. package/dist/icons/ui-icons/loop-mode.js +1 -20
  620. package/dist/icons/ui-icons/magic-alt-fill-transparent.js +1 -20
  621. package/dist/icons/ui-icons/magic-alt-fill.js +1 -19
  622. package/dist/icons/ui-icons/magic-alt.js +1 -19
  623. package/dist/icons/ui-icons/magic-fill-transparent.js +1 -20
  624. package/dist/icons/ui-icons/magic-fill.js +1 -19
  625. package/dist/icons/ui-icons/magic.js +1 -19
  626. package/dist/icons/ui-icons/map-layer-json.js +1 -35
  627. package/dist/icons/ui-icons/map-layer-raster.js +1 -121
  628. package/dist/icons/ui-icons/map-layer-vector.js +1 -81
  629. package/dist/icons/ui-icons/map-layer.js +1 -26
  630. package/dist/icons/ui-icons/map-pin.js +1 -41
  631. package/dist/icons/ui-icons/matrix-align-control-dot-active.js +1 -23
  632. package/dist/icons/ui-icons/matrix-align-control-dot-inactive.js +1 -21
  633. package/dist/icons/ui-icons/media.js +1 -49
  634. package/dist/icons/ui-icons/medium.js +1 -24
  635. package/dist/icons/ui-icons/menu-item-check.js +1 -20
  636. package/dist/icons/ui-icons/menu-item-circle.js +1 -19
  637. package/dist/icons/ui-icons/microphone.js +1 -23
  638. package/dist/icons/ui-icons/migration-alt-v.js +1 -20
  639. package/dist/icons/ui-icons/migration-alt.js +1 -20
  640. package/dist/icons/ui-icons/migration.js +1 -26
  641. package/dist/icons/ui-icons/module.js +1 -24
  642. package/dist/icons/ui-icons/money-paper.js +1 -58
  643. package/dist/icons/ui-icons/more-h-circle.js +1 -40
  644. package/dist/icons/ui-icons/more-h.js +1 -33
  645. package/dist/icons/ui-icons/more-v-circle.js +1 -44
  646. package/dist/icons/ui-icons/more-v.js +1 -36
  647. package/dist/icons/ui-icons/mouse-cursor.js +1 -20
  648. package/dist/icons/ui-icons/mouse-wheel.js +1 -27
  649. package/dist/icons/ui-icons/multi-item-left-inset-mobile.js +1 -58
  650. package/dist/icons/ui-icons/multi-item-left-inset.js +1 -39
  651. package/dist/icons/ui-icons/multi-item-right-inset-mobile.js +1 -55
  652. package/dist/icons/ui-icons/multi-item-right-inset.js +1 -36
  653. package/dist/icons/ui-icons/multiple.js +1 -34
  654. package/dist/icons/ui-icons/music-note.js +1 -40
  655. package/dist/icons/ui-icons/mute-centered.js +1 -20
  656. package/dist/icons/ui-icons/mute.js +1 -20
  657. package/dist/icons/ui-icons/narrow-bottom.js +1 -49
  658. package/dist/icons/ui-icons/narrow-left.js +1 -49
  659. package/dist/icons/ui-icons/narrow-right.js +1 -49
  660. package/dist/icons/ui-icons/narrow-top.js +1 -49
  661. package/dist/icons/ui-icons/navigation-buttons.js +1 -39
  662. package/dist/icons/ui-icons/new-tab.js +1 -27
  663. package/dist/icons/ui-icons/newspaper.js +1 -45
  664. package/dist/icons/ui-icons/none.js +1 -25
  665. package/dist/icons/ui-icons/notebook.js +1 -44
  666. package/dist/icons/ui-icons/num0-circle-alt.js +1 -24
  667. package/dist/icons/ui-icons/num0-circle.js +1 -24
  668. package/dist/icons/ui-icons/num0-square-alt.js +1 -26
  669. package/dist/icons/ui-icons/num0-square.js +1 -26
  670. package/dist/icons/ui-icons/num1-circle-alt.js +1 -26
  671. package/dist/icons/ui-icons/num1-circle.js +1 -26
  672. package/dist/icons/ui-icons/num1-square-alt.js +1 -28
  673. package/dist/icons/ui-icons/num1-square.js +1 -28
  674. package/dist/icons/ui-icons/num2-circle-alt.js +1 -26
  675. package/dist/icons/ui-icons/num2-circle.js +1 -26
  676. package/dist/icons/ui-icons/num2-square-alt.js +1 -28
  677. package/dist/icons/ui-icons/num2-square.js +1 -28
  678. package/dist/icons/ui-icons/num3-circle-alt.js +1 -26
  679. package/dist/icons/ui-icons/num3-circle.js +1 -26
  680. package/dist/icons/ui-icons/num3-square-alt.js +1 -28
  681. package/dist/icons/ui-icons/num3-square.js +1 -28
  682. package/dist/icons/ui-icons/num4-circle-alt.js +1 -26
  683. package/dist/icons/ui-icons/num4-circle.js +1 -26
  684. package/dist/icons/ui-icons/num4-square-alt.js +1 -28
  685. package/dist/icons/ui-icons/num4-square.js +1 -28
  686. package/dist/icons/ui-icons/num5-circle-alt.js +1 -26
  687. package/dist/icons/ui-icons/num5-circle.js +1 -26
  688. package/dist/icons/ui-icons/num5-square-alt.js +1 -28
  689. package/dist/icons/ui-icons/num5-square.js +1 -28
  690. package/dist/icons/ui-icons/num6-circle-alt.js +1 -26
  691. package/dist/icons/ui-icons/num6-circle.js +1 -26
  692. package/dist/icons/ui-icons/num6-square-alt.js +1 -28
  693. package/dist/icons/ui-icons/num6-square.js +1 -28
  694. package/dist/icons/ui-icons/num7-circle-alt.js +1 -26
  695. package/dist/icons/ui-icons/num7-circle.js +1 -26
  696. package/dist/icons/ui-icons/num7-square-alt.js +1 -28
  697. package/dist/icons/ui-icons/num7-square.js +1 -28
  698. package/dist/icons/ui-icons/num8-circle-alt.js +1 -24
  699. package/dist/icons/ui-icons/num8-circle.js +1 -24
  700. package/dist/icons/ui-icons/num8-square-alt.js +1 -26
  701. package/dist/icons/ui-icons/num8-square.js +1 -26
  702. package/dist/icons/ui-icons/num9-circle-alt.js +1 -26
  703. package/dist/icons/ui-icons/num9-circle.js +1 -26
  704. package/dist/icons/ui-icons/num9-square-alt.js +1 -28
  705. package/dist/icons/ui-icons/num9-square.js +1 -28
  706. package/dist/icons/ui-icons/office-building.js +1 -203
  707. package/dist/icons/ui-icons/office-buildings.js +1 -256
  708. package/dist/icons/ui-icons/offset-auto.js +1 -46
  709. package/dist/icons/ui-icons/offset.js +1 -39
  710. package/dist/icons/ui-icons/option-list-alt.js +1 -61
  711. package/dist/icons/ui-icons/option-list.js +1 -63
  712. package/dist/icons/ui-icons/options.js +1 -24
  713. package/dist/icons/ui-icons/order.js +1 -49
  714. package/dist/icons/ui-icons/padding-bottom.js +1 -35
  715. package/dist/icons/ui-icons/padding-top.js +1 -35
  716. package/dist/icons/ui-icons/padding.js +1 -34
  717. package/dist/icons/ui-icons/pagination.js +1 -49
  718. package/dist/icons/ui-icons/palette-color.js +1 -111
  719. package/dist/icons/ui-icons/panel-collapse.js +1 -41
  720. package/dist/icons/ui-icons/panel-expand.js +1 -41
  721. package/dist/icons/ui-icons/paragraph.js +1 -24
  722. package/dist/icons/ui-icons/paste.js +1 -52
  723. package/dist/icons/ui-icons/pause.js +1 -20
  724. package/dist/icons/ui-icons/people-group.js +1 -57
  725. package/dist/icons/ui-icons/people.js +1 -43
  726. package/dist/icons/ui-icons/person.js +1 -26
  727. package/dist/icons/ui-icons/photo-camera.js +1 -26
  728. package/dist/icons/ui-icons/picture-in-picture.js +1 -33
  729. package/dist/icons/ui-icons/play-reverse.js +1 -20
  730. package/dist/icons/ui-icons/play.js +1 -20
  731. package/dist/icons/ui-icons/playback-options.js +1 -24
  732. package/dist/icons/ui-icons/plus-circle-fill-alt.js +1 -23
  733. package/dist/icons/ui-icons/plus-circle-fill.js +1 -17
  734. package/dist/icons/ui-icons/plus-circle.js +1 -26
  735. package/dist/icons/ui-icons/plus-minus-buttons-h.js +1 -25
  736. package/dist/icons/ui-icons/plus-minus-buttons-v.js +1 -25
  737. package/dist/icons/ui-icons/plus-square-fill-transparent.js +1 -27
  738. package/dist/icons/ui-icons/plus-square-fill.js +1 -17
  739. package/dist/icons/ui-icons/plus-square.js +1 -27
  740. package/dist/icons/ui-icons/pointer-hand-disabled.js +1 -34
  741. package/dist/icons/ui-icons/pointer-hand.js +1 -20
  742. package/dist/icons/ui-icons/position-arrows-h.js +1 -26
  743. package/dist/icons/ui-icons/position-arrows-inverted-h.js +1 -26
  744. package/dist/icons/ui-icons/position-arrows-inverted-v.js +1 -26
  745. package/dist/icons/ui-icons/position-arrows-inverted.js +1 -26
  746. package/dist/icons/ui-icons/position-arrows-v.js +1 -26
  747. package/dist/icons/ui-icons/position-arrows.js +1 -26
  748. package/dist/icons/ui-icons/position-h-center.js +1 -43
  749. package/dist/icons/ui-icons/position-h-end.js +1 -43
  750. package/dist/icons/ui-icons/position-h-start.js +1 -43
  751. package/dist/icons/ui-icons/position-left.js +1 -31
  752. package/dist/icons/ui-icons/position-right.js +1 -31
  753. package/dist/icons/ui-icons/position-v-center.js +1 -43
  754. package/dist/icons/ui-icons/position-v-end.js +1 -43
  755. package/dist/icons/ui-icons/position-v-start.js +1 -43
  756. package/dist/icons/ui-icons/position2x2-bottom-left.js +1 -52
  757. package/dist/icons/ui-icons/position2x2-bottom-right.js +1 -52
  758. package/dist/icons/ui-icons/position2x2-empty.js +1 -51
  759. package/dist/icons/ui-icons/position2x2-top-left.js +1 -52
  760. package/dist/icons/ui-icons/position2x2-top-right.js +1 -52
  761. package/dist/icons/ui-icons/position3x3-bottom-center.js +1 -97
  762. package/dist/icons/ui-icons/position3x3-bottom-left.js +1 -97
  763. package/dist/icons/ui-icons/position3x3-bottom-right.js +1 -97
  764. package/dist/icons/ui-icons/position3x3-center-center.js +1 -97
  765. package/dist/icons/ui-icons/position3x3-center-left.js +1 -97
  766. package/dist/icons/ui-icons/position3x3-center-right.js +1 -97
  767. package/dist/icons/ui-icons/position3x3-empty.js +1 -96
  768. package/dist/icons/ui-icons/position3x3-top-center.js +1 -97
  769. package/dist/icons/ui-icons/position3x3-top-left.js +1 -97
  770. package/dist/icons/ui-icons/position3x3-top-right.js +1 -97
  771. package/dist/icons/ui-icons/positioning-guide-alt.js +1 -30
  772. package/dist/icons/ui-icons/positioning-guide.js +1 -30
  773. package/dist/icons/ui-icons/positioning-width-guide.js +1 -40
  774. package/dist/icons/ui-icons/preload.js +1 -44
  775. package/dist/icons/ui-icons/preview-responsive.js +1 -48
  776. package/dist/icons/ui-icons/preview.js +1 -35
  777. package/dist/icons/ui-icons/progressbar-intermittent.js +1 -26
  778. package/dist/icons/ui-icons/progressbar.js +1 -30
  779. package/dist/icons/ui-icons/range-max.js +1 -48
  780. package/dist/icons/ui-icons/range-mid.js +1 -40
  781. package/dist/icons/ui-icons/range-min.js +1 -48
  782. package/dist/icons/ui-icons/range.js +1 -61
  783. package/dist/icons/ui-icons/read-only.js +1 -25
  784. package/dist/icons/ui-icons/reduce-height-bottom.js +1 -49
  785. package/dist/icons/ui-icons/reduce-height-top.js +1 -49
  786. package/dist/icons/ui-icons/regex.js +1 -39
  787. package/dist/icons/ui-icons/remove.js +1 -20
  788. package/dist/icons/ui-icons/rename.js +1 -24
  789. package/dist/icons/ui-icons/reorder-grabber-h.js +1 -51
  790. package/dist/icons/ui-icons/reorder-grabber-v.js +1 -57
  791. package/dist/icons/ui-icons/reorder.js +1 -35
  792. package/dist/icons/ui-icons/required-alt.js +1 -20
  793. package/dist/icons/ui-icons/required.js +1 -19
  794. package/dist/icons/ui-icons/reset-to-zero.js +1 -33
  795. package/dist/icons/ui-icons/reset.js +1 -25
  796. package/dist/icons/ui-icons/responsive-overrides-alt-fill.js +1 -26
  797. package/dist/icons/ui-icons/responsive-overrides-alt.js +1 -49
  798. package/dist/icons/ui-icons/responsive-overrides-alt2-fill.js +1 -34
  799. package/dist/icons/ui-icons/responsive-overrides-alt2.js +1 -45
  800. package/dist/icons/ui-icons/responsive-overrides-alt3-fill.js +1 -33
  801. package/dist/icons/ui-icons/responsive-overrides.js +1 -39
  802. package/dist/icons/ui-icons/responsive.js +1 -33
  803. package/dist/icons/ui-icons/right-panel-alt.js +1 -23
  804. package/dist/icons/ui-icons/right-panel.js +1 -22
  805. package/dist/icons/ui-icons/rotate-left.js +1 -20
  806. package/dist/icons/ui-icons/rotate-right.js +1 -20
  807. package/dist/icons/ui-icons/rounded-corners.js +1 -19
  808. package/dist/icons/ui-icons/route.js +1 -27
  809. package/dist/icons/ui-icons/row-add.js +1 -45
  810. package/dist/icons/ui-icons/row-empty.js +1 -51
  811. package/dist/icons/ui-icons/row.js +1 -45
  812. package/dist/icons/ui-icons/rows.js +1 -42
  813. package/dist/icons/ui-icons/ruler.js +1 -28
  814. package/dist/icons/ui-icons/save.js +1 -26
  815. package/dist/icons/ui-icons/screen-desktop.js +1 -32
  816. package/dist/icons/ui-icons/screen-large.js +1 -23
  817. package/dist/icons/ui-icons/screen-mobile.js +1 -39
  818. package/dist/icons/ui-icons/screen-tablet-large.js +1 -36
  819. package/dist/icons/ui-icons/screen-tablet.js +1 -36
  820. package/dist/icons/ui-icons/scrollbar-h.js +1 -40
  821. package/dist/icons/ui-icons/scrollbar-v.js +1 -41
  822. package/dist/icons/ui-icons/scrollbars.js +1 -55
  823. package/dist/icons/ui-icons/search-empty.js +1 -37
  824. package/dist/icons/ui-icons/search.js +1 -25
  825. package/dist/icons/ui-icons/separator-h.js +1 -41
  826. package/dist/icons/ui-icons/separator-v.js +1 -39
  827. package/dist/icons/ui-icons/shadow.js +1 -61
  828. package/dist/icons/ui-icons/share.js +1 -26
  829. package/dist/icons/ui-icons/shield-plus-alt.js +1 -27
  830. package/dist/icons/ui-icons/shield-plus.js +1 -20
  831. package/dist/icons/ui-icons/shield.js +1 -20
  832. package/dist/icons/ui-icons/shrink-diagonal-left-xl.js +1 -20
  833. package/dist/icons/ui-icons/shrink-diagonal-left.js +1 -20
  834. package/dist/icons/ui-icons/shrink-diagonal-right-xl.js +1 -20
  835. package/dist/icons/ui-icons/shrink-diagonal-right.js +1 -20
  836. package/dist/icons/ui-icons/shrink-xl.js +1 -20
  837. package/dist/icons/ui-icons/shrink.js +1 -20
  838. package/dist/icons/ui-icons/shuffle.js +1 -20
  839. package/dist/icons/ui-icons/sidebar-flip.js +1 -22
  840. package/dist/icons/ui-icons/sidebar.js +1 -22
  841. package/dist/icons/ui-icons/single-item-left-inset-mobile.js +1 -48
  842. package/dist/icons/ui-icons/single-item-left-inset.js +1 -23
  843. package/dist/icons/ui-icons/single-item-right-inset-mobile.js +1 -50
  844. package/dist/icons/ui-icons/single-item-right-inset.js +1 -23
  845. package/dist/icons/ui-icons/size-alt.js +1 -33
  846. package/dist/icons/ui-icons/size.js +1 -29
  847. package/dist/icons/ui-icons/slider.js +1 -31
  848. package/dist/icons/ui-icons/sliders.js +1 -68
  849. package/dist/icons/ui-icons/small.js +1 -24
  850. package/dist/icons/ui-icons/solid-circle-fill-transparent.js +1 -22
  851. package/dist/icons/ui-icons/solid-circle-filled.js +1 -21
  852. package/dist/icons/ui-icons/solid-circle-gradient.js +1 -31
  853. package/dist/icons/ui-icons/solid-circle.js +1 -21
  854. package/dist/icons/ui-icons/solid-color.js +1 -19
  855. package/dist/icons/ui-icons/solid-rect-fill-transparent.js +1 -24
  856. package/dist/icons/ui-icons/solid-rect-filled.js +1 -23
  857. package/dist/icons/ui-icons/solid-rect-gradient.js +1 -33
  858. package/dist/icons/ui-icons/solid-rect.js +1 -23
  859. package/dist/icons/ui-icons/sort-asc.js +1 -20
  860. package/dist/icons/ui-icons/sort-desc.js +1 -20
  861. package/dist/icons/ui-icons/sort-generic.js +1 -25
  862. package/dist/icons/ui-icons/spacing-bottom-in.js +1 -23
  863. package/dist/icons/ui-icons/spacing-bottom.js +1 -23
  864. package/dist/icons/ui-icons/spacing-left-in.js +1 -23
  865. package/dist/icons/ui-icons/spacing-left.js +1 -23
  866. package/dist/icons/ui-icons/spacing-right-in.js +1 -23
  867. package/dist/icons/ui-icons/spacing-right.js +1 -23
  868. package/dist/icons/ui-icons/spacing-top-in.js +1 -23
  869. package/dist/icons/ui-icons/spacing-top.js +1 -23
  870. package/dist/icons/ui-icons/speed.js +1 -25
  871. package/dist/icons/ui-icons/stagger.js +1 -53
  872. package/dist/icons/ui-icons/star.js +1 -18
  873. package/dist/icons/ui-icons/step.js +1 -27
  874. package/dist/icons/ui-icons/stop.js +1 -20
  875. package/dist/icons/ui-icons/swap.js +1 -41
  876. package/dist/icons/ui-icons/tag-alt.js +1 -24
  877. package/dist/icons/ui-icons/tag.js +1 -26
  878. package/dist/icons/ui-icons/text-abc.js +1 -40
  879. package/dist/icons/ui-icons/text-above.js +1 -25
  880. package/dist/icons/ui-icons/text-align-center.js +1 -20
  881. package/dist/icons/ui-icons/text-align-generic.js +1 -20
  882. package/dist/icons/ui-icons/text-align-justify.js +1 -20
  883. package/dist/icons/ui-icons/text-align-left.js +1 -20
  884. package/dist/icons/ui-icons/text-align-right.js +1 -20
  885. package/dist/icons/ui-icons/text-below.js +1 -25
  886. package/dist/icons/ui-icons/text-box-edit.js +1 -35
  887. package/dist/icons/ui-icons/text-color-swatch.js +1 -40
  888. package/dist/icons/ui-icons/text-highlight-color-swatch-alt.js +1 -49
  889. package/dist/icons/ui-icons/text-highlight-color-swatch.js +1 -48
  890. package/dist/icons/ui-icons/text-larger.js +1 -23
  891. package/dist/icons/ui-icons/text-length.js +1 -20
  892. package/dist/icons/ui-icons/text-size-alt.js +1 -23
  893. package/dist/icons/ui-icons/text-size.js +1 -20
  894. package/dist/icons/ui-icons/text-smaller.js +1 -23
  895. package/dist/icons/ui-icons/text-strikethrough.js +1 -26
  896. package/dist/icons/ui-icons/text-uppercase.js +1 -25
  897. package/dist/icons/ui-icons/text-write.js +1 -39
  898. package/dist/icons/ui-icons/thumbs-down.js +1 -22
  899. package/dist/icons/ui-icons/thumbs-up.js +1 -22
  900. package/dist/icons/ui-icons/title-generic.js +1 -25
  901. package/dist/icons/ui-icons/toggle-off.js +1 -33
  902. package/dist/icons/ui-icons/toggle-on-alt.js +1 -19
  903. package/dist/icons/ui-icons/toggle-on.js +1 -31
  904. package/dist/icons/ui-icons/tools.js +1 -25
  905. package/dist/icons/ui-icons/total-items.js +1 -45
  906. package/dist/icons/ui-icons/trash-alt.js +1 -44
  907. package/dist/icons/ui-icons/trash.js +1 -33
  908. package/dist/icons/ui-icons/tree-alt.js +1 -62
  909. package/dist/icons/ui-icons/tree-alt2.js +1 -79
  910. package/dist/icons/ui-icons/tree.js +1 -70
  911. package/dist/icons/ui-icons/troubleshoot-alt.js +1 -39
  912. package/dist/icons/ui-icons/two-cards-left.js +1 -32
  913. package/dist/icons/ui-icons/two-cards-right.js +1 -32
  914. package/dist/icons/ui-icons/two-columns.js +1 -30
  915. package/dist/icons/ui-icons/typography-options.js +1 -77
  916. package/dist/icons/ui-icons/typography.js +1 -71
  917. package/dist/icons/ui-icons/underline.js +1 -19
  918. package/dist/icons/ui-icons/ungroup.js +1 -39
  919. package/dist/icons/ui-icons/upload.js +1 -20
  920. package/dist/icons/ui-icons/venn-diagram-alt.js +1 -34
  921. package/dist/icons/ui-icons/venn-diagram-alt2.js +1 -34
  922. package/dist/icons/ui-icons/venn-diagram-alt3.js +1 -34
  923. package/dist/icons/ui-icons/venn-diagram-alt4.js +1 -34
  924. package/dist/icons/ui-icons/venn-diagram-alt5.js +1 -34
  925. package/dist/icons/ui-icons/venn-diagram-alt6.js +1 -34
  926. package/dist/icons/ui-icons/venn-diagram-alt7.js +1 -39
  927. package/dist/icons/ui-icons/venn-diagram.js +1 -26
  928. package/dist/icons/ui-icons/vertical-align-alt.js +1 -27
  929. package/dist/icons/ui-icons/vertical-align-around.js +1 -39
  930. package/dist/icons/ui-icons/vertical-align-between-alt.js +1 -39
  931. package/dist/icons/ui-icons/vertical-align-between.js +1 -48
  932. package/dist/icons/ui-icons/vertical-align-bottom.js +1 -44
  933. package/dist/icons/ui-icons/vertical-align-center.js +1 -39
  934. package/dist/icons/ui-icons/vertical-align-evenly.js +1 -39
  935. package/dist/icons/ui-icons/vertical-align-stretch.js +1 -39
  936. package/dist/icons/ui-icons/vertical-align-top.js +1 -46
  937. package/dist/icons/ui-icons/vertical-align.js +1 -35
  938. package/dist/icons/ui-icons/vertical-spacing.js +1 -28
  939. package/dist/icons/ui-icons/video-chapters.js +1 -25
  940. package/dist/icons/ui-icons/video-controls.js +1 -67
  941. package/dist/icons/ui-icons/video-file.js +1 -40
  942. package/dist/icons/ui-icons/video-poster-image.js +1 -40
  943. package/dist/icons/ui-icons/video-subtitle-alt.js +1 -39
  944. package/dist/icons/ui-icons/video-subtitle.js +1 -27
  945. package/dist/icons/ui-icons/video.js +1 -36
  946. package/dist/icons/ui-icons/visibility-alt.js +1 -40
  947. package/dist/icons/ui-icons/visibility-alt2.js +1 -41
  948. package/dist/icons/ui-icons/visibility.js +1 -45
  949. package/dist/icons/ui-icons/visible.js +1 -28
  950. package/dist/icons/ui-icons/volume.js +1 -25
  951. package/dist/icons/ui-icons/warning-circle-fill-transparent.js +1 -30
  952. package/dist/icons/ui-icons/warning-circle-fill.js +1 -17
  953. package/dist/icons/ui-icons/warning-circle.js +1 -33
  954. package/dist/icons/ui-icons/warning-fill-transparent.js +1 -30
  955. package/dist/icons/ui-icons/warning-fill.js +1 -17
  956. package/dist/icons/ui-icons/warning.js +1 -30
  957. package/dist/icons/ui-icons/web-video.js +1 -63
  958. package/dist/icons/ui-icons/wide-bottom.js +1 -49
  959. package/dist/icons/ui-icons/wide-left.js +1 -49
  960. package/dist/icons/ui-icons/wide-right.js +1 -49
  961. package/dist/icons/ui-icons/wide-top.js +1 -49
  962. package/dist/icons/ui-icons/width.js +1 -29
  963. package/dist/icons/ui-icons/wordpress.js +1 -17
  964. package/dist/icons/ui-icons/wrapper-alt.js +1 -71
  965. package/dist/icons/ui-icons/wrapper-config.js +1 -41
  966. package/dist/icons/ui-icons/wrapper-off-alt.js +1 -19
  967. package/dist/icons/ui-icons/wrapper-overflow.js +1 -31
  968. package/dist/icons/ui-icons/wrapper-simple-alt.js +1 -58
  969. package/dist/icons/ui-icons/wrapper-simple.js +1 -32
  970. package/dist/icons/ui-icons/wrapper.js +1 -42
  971. package/dist/icons/ui-icons/wrench.js +1 -19
  972. package/dist/icons/ui-icons/zap-fill.js +1 -20
  973. package/dist/icons/ui-icons/zap.js +1 -19
  974. package/dist/index.js +1 -62
  975. package/dist/input-field-fSivrDer.js +1 -0
  976. package/dist/jsx-svg-zli3d0qY.js +68 -0
  977. package/dist/keyboard-BzlG0aH2.js +1 -0
  978. package/dist/link-input-D9t6cjWZ.js +1 -0
  979. package/dist/modal-DBnLSJmx.js +1 -0
  980. package/dist/number-C1r4kgNV.js +1 -0
  981. package/dist/number-picker-BIXieDJ6.js +1 -0
  982. package/dist/react-BSpnyKxv.js +1 -0
  983. package/dist/reorderable-grid-BAYa6mTs.js +2 -0
  984. package/dist/shared-CVfujbDV.js +1 -0
  985. package/dist/solid-color-picker-BYZhRF7V.js +1 -0
  986. package/dist/sprintf-jxGppDDY.js +1 -0
  987. package/dist/switch-35fHzULo.js +1 -0
  988. package/dist/tabs-eEqiNYD8.js +1 -0
  989. package/dist/text-helpers-Bs5upvzH.js +1 -0
  990. package/dist/toggle-button-BroScPLM.js +1 -0
  991. package/dist/tooltip-Cpzgu8xY.js +1 -0
  992. package/dist/useAsyncList-cN2_5xNF.js +1 -0
  993. package/dist/useButton-CUbkFkS6.js +1 -0
  994. package/dist/useCollection-BqmrVZIy.js +1 -0
  995. package/dist/useControlledState-DuIQl7AI.js +1 -0
  996. package/dist/useEvent-BlCQMrO9.js +1 -0
  997. package/dist/useField-KKAxOCpq.js +1 -0
  998. package/dist/useFilter-c6g6MH-o.js +1 -0
  999. package/dist/useFocusRing-iqZqZ3LT.js +7 -0
  1000. package/dist/useFormReset-BR6FFFlJ.js +1 -0
  1001. package/dist/useFormValidation-Bh9mXXQp.js +1 -0
  1002. package/dist/useHasTabbableChild-B5OQsxku.js +1 -0
  1003. package/dist/useHover-B7zqOZ-m.js +1 -0
  1004. package/dist/useLabels-BrjiKdsE.js +1 -0
  1005. package/dist/useListState-CPL-VMhR.js +1 -0
  1006. package/dist/useLocalizedStringFormatter-B693_Wcz.js +1 -0
  1007. package/dist/useNumberFieldState-Cz03G3Lt.js +1 -0
  1008. package/dist/useObjectRef-BjjTnUOY.js +1 -0
  1009. package/dist/useOverlayTriggerState-DKUl8FBy.js +1 -0
  1010. package/dist/useSlot-IUqvn2jp.js +1 -0
  1011. package/dist/useSpinButton-B4eYBjz0.js +1 -0
  1012. package/dist/useTextField-CFwJQKgI.js +1 -0
  1013. package/dist/useToggle-CFFHpBO3.js +1 -0
  1014. package/dist/useToggleState-CTvAIp3u.js +1 -0
  1015. package/dist/useUpdateEffect-ydebgl8a.js +1 -0
  1016. package/dist/utilities/array-helpers.js +1 -46
  1017. package/dist/utilities/debounce-throttle.js +1 -2
  1018. package/dist/utilities/es-dash.js +1 -2
  1019. package/dist/utilities/general.js +1 -36
  1020. package/dist/utilities/hash.js +1 -35
  1021. package/dist/utilities/index.js +1 -9
  1022. package/dist/utilities/text-helpers.js +1 -2
  1023. package/dist/utilities/web-workers.js +1 -78
  1024. package/dist/utilities-CQP2zvrh.js +1 -0
  1025. package/dist/utils-a89BELgQ.js +1 -0
  1026. package/package.json +17 -24
  1027. package/dist/Autocomplete-DWofaS1k.js +0 -462
  1028. package/dist/Button-DcI8gSfH.js +0 -229
  1029. package/dist/Dialog-CSqjSLlO.js +0 -2764
  1030. package/dist/Disclosure-CkaUMe7J.js +0 -191
  1031. package/dist/FocusScope-DLpr7Rq0.js +0 -739
  1032. package/dist/Form-BWMVEpwR.js +0 -5
  1033. package/dist/Heading-BQje2nS2.js +0 -16
  1034. package/dist/Hidden-C4Saxkx9.js +0 -51
  1035. package/dist/I18nProvider-R_4IDnf9.js +0 -93
  1036. package/dist/Label-C4bJkVti.js +0 -17
  1037. package/dist/List-BKcyZ8tT.js +0 -506
  1038. package/dist/ListBox-D8_U8eBS.js +0 -562
  1039. package/dist/NumberFormatter-BbOYa3Kg.js +0 -91
  1040. package/dist/PortalProvider-Dbcc7pHq.js +0 -13
  1041. package/dist/RadioGroup-BZkgf6tl.js +0 -341
  1042. package/dist/SearchField-N1nXzeWK.js +0 -325
  1043. package/dist/SelectionIndicator-CyOcB5ps.js +0 -5
  1044. package/dist/SharedElementTransition-D1LPCrSc.js +0 -10
  1045. package/dist/Slider-Dryu0gH7.js +0 -811
  1046. package/dist/Text-CA2_mHEB.js +0 -17
  1047. package/dist/VisuallyHidden-2DfCzdKo.js +0 -43
  1048. package/dist/animation-COu1iBGW.js +0 -65
  1049. package/dist/assets/fonts/geist-latin-400-normal.woff2 +0 -0
  1050. package/dist/assets/fonts/geist-latin-500-normal.woff2 +0 -0
  1051. package/dist/assets/fonts/geist-latin-700-normal.woff2 +0 -0
  1052. package/dist/assets/fonts/geist-latin-ext-400-normal.woff2 +0 -0
  1053. package/dist/assets/fonts/geist-latin-ext-500-normal.woff2 +0 -0
  1054. package/dist/assets/fonts/geist-latin-ext-700-normal.woff2 +0 -0
  1055. package/dist/assets/fonts/geist-mono-latin-400-normal.woff2 +0 -0
  1056. package/dist/assets/fonts/geist-mono-latin-500-normal.woff2 +0 -0
  1057. package/dist/assets/fonts/geist-mono-latin-700-normal.woff2 +0 -0
  1058. package/dist/assets/fonts/geist-mono-latin-ext-400-normal.woff2 +0 -0
  1059. package/dist/assets/fonts/geist-mono-latin-ext-500-normal.woff2 +0 -0
  1060. package/dist/assets/fonts/geist-mono-latin-ext-700-normal.woff2 +0 -0
  1061. package/dist/assets/fonts/google-sans-flex-latin-ext-full-normal.woff2 +0 -0
  1062. package/dist/assets/fonts/google-sans-flex-latin-full-normal.woff2 +0 -0
  1063. package/dist/assets/fonts/google-sans-flex-symbols-full-normal.woff2 +0 -0
  1064. package/dist/assets/style-admin-no-fonts.css +0 -2
  1065. package/dist/assets/style-editor-no-fonts.css +0 -2
  1066. package/dist/assets/style-no-fonts.css +0 -2
  1067. package/dist/build-module-BISCoQjQ.js +0 -730
  1068. package/dist/button-CCtgOh0o.js +0 -583
  1069. package/dist/checkbox-d1lNvf65.js +0 -333
  1070. package/dist/clsx-DQoRUQAf.js +0 -16
  1071. package/dist/color-swatch-BstCWUIZ.js +0 -2579
  1072. package/dist/components/base-control/container.js +0 -168
  1073. package/dist/components/component-toggle/component-toggle.d.ts +0 -57
  1074. package/dist/components/component-toggle/component-toggle.js +0 -100
  1075. package/dist/components/container-panel/container-panel.d.ts +0 -50
  1076. package/dist/components/container-panel/container-panel.js +0 -82
  1077. package/dist/components/expandable/expandable.js +0 -88
  1078. package/dist/components/option-select/option-select.d.ts +0 -96
  1079. package/dist/components/option-select/option-select.js +0 -178
  1080. package/dist/components/options-panel/options-panel.d.ts +0 -97
  1081. package/dist/components/options-panel/options-panel.js +0 -114
  1082. package/dist/components/placeholders/media-placeholder.d.ts +0 -34
  1083. package/dist/components/placeholders/media-placeholder.js +0 -56
  1084. package/dist/debounce-throttle-DklGQQrz.js +0 -120
  1085. package/dist/dist-DpXluZqJ.js +0 -56
  1086. package/dist/draggable-CE4MJU75.js +0 -7496
  1087. package/dist/es-dash-DPtJSRjw.js +0 -298
  1088. package/dist/filterDOMProps-BV6v3Ytq.js +0 -70
  1089. package/dist/getMetaValue-Cpc6U0mQ.js +0 -18
  1090. package/dist/gradient-editor-D2zB_7Wi.js +0 -1650
  1091. package/dist/input-field-DVNpRfYE.js +0 -278
  1092. package/dist/jsx-svg-DRwJdRpA.js +0 -11153
  1093. package/dist/keyboard-DwWaJveG.js +0 -205
  1094. package/dist/link-input-XaVrI3wP.js +0 -1865
  1095. package/dist/modal-BXSwfGkf.js +0 -349
  1096. package/dist/number-BeC0ySe4.js +0 -41
  1097. package/dist/number-picker-DLLqEAsq.js +0 -257
  1098. package/dist/react-c-t8odpE.js +0 -10967
  1099. package/dist/shared-CsO_if0Q.js +0 -1030
  1100. package/dist/solid-color-picker-1QabIOpX.js +0 -1423
  1101. package/dist/sprintf-xJRAt4p0.js +0 -129
  1102. package/dist/switch-CfgDFjqQ.js +0 -297
  1103. package/dist/tabs-ORp17BEr.js +0 -1056
  1104. package/dist/text-helpers-QrwKKaOh.js +0 -254
  1105. package/dist/textSelection-BYhA9uWK.js +0 -45
  1106. package/dist/toggle-button-B0nKYFlk.js +0 -463
  1107. package/dist/tooltip-Dxr7aiIX.js +0 -421
  1108. package/dist/useAsyncList-CjKVLGN0.js +0 -396
  1109. package/dist/useButton-BO_4n6_e.js +0 -57
  1110. package/dist/useCollection-BVUc8URe.js +0 -2243
  1111. package/dist/useEvent-5yhOs2HC.js +0 -18
  1112. package/dist/useField-B_ibsWst.js +0 -36
  1113. package/dist/useFilter-Yp-QyW1S.js +0 -44
  1114. package/dist/useFocusRing-DxPoGWMJ.js +0 -99
  1115. package/dist/useFormReset-DFy_BhX1.js +0 -17
  1116. package/dist/useFormValidation-CZPIMeNw.js +0 -207
  1117. package/dist/useHover-DgudzTcf.js +0 -1158
  1118. package/dist/useLabel-gfFDE4bn.js +0 -27
  1119. package/dist/useLabels-Dcg-cEyM.js +0 -16
  1120. package/dist/useListState-DTn91yqB.js +0 -130
  1121. package/dist/useLocalizedStringFormatter-CTCqjYu4.js +0 -113
  1122. package/dist/useNumberFieldState-D-Bsp98Z.js +0 -1393
  1123. package/dist/useNumberFormatter-DNUGdm93.js +0 -10
  1124. package/dist/useOverlayTriggerState-uzs8mam6.js +0 -557
  1125. package/dist/usePress-BpGYwCwy.js +0 -609
  1126. package/dist/useSlot-CnQHcvd4.js +0 -25
  1127. package/dist/useTextField-C9dxy3po.js +0 -159
  1128. package/dist/useToggle-CudcGIyz.js +0 -115
  1129. package/dist/useToggleState-CYfSFy4b.js +0 -22
  1130. package/dist/utilities-COki58KB.js +0 -7
  1131. package/dist/utils-ClM91CuL.js +0 -382
@@ -1,1650 +0,0 @@
1
- import { t as clsx } from "./clsx-DQoRUQAf.js";
2
- import { t as SolidColorPicker } from "./solid-color-picker-1QabIOpX.js";
3
- import { t as ColorSwatch } from "./color-swatch-BstCWUIZ.js";
4
- import { t as NumberPicker } from "./number-picker-DLLqEAsq.js";
5
- import { n as ButtonGroup, t as Button } from "./button-CCtgOh0o.js";
6
- import { BaseControl } from "./components/base-control/base-control.js";
7
- import { isColorDark } from "./utilities/general.js";
8
- import { t as sprintf } from "./sprintf-xJRAt4p0.js";
9
- import { t as __ } from "./build-module-BISCoQjQ.js";
10
- import { add } from "./icons/ui-icons/add.js";
11
- import { angle } from "./icons/ui-icons/angle.js";
12
- import { centerPoint } from "./icons/ui-icons/center-point.js";
13
- import { genericShapesAlt } from "./icons/ui-icons/generic-shapes-alt.js";
14
- import { gradientRepeat } from "./icons/ui-icons/gradient-repeat.js";
15
- import { gradientStop } from "./icons/ui-icons/gradient-stop.js";
16
- import { sliders } from "./icons/ui-icons/sliders.js";
17
- import { trash } from "./icons/ui-icons/trash.js";
18
- import { TriggeredPopover } from "./components/popover/popover.js";
19
- import { Menu, MenuItem } from "./components/menu/menu.js";
20
- import { Container as TypedContainer, ContainerGroup as TypedContainerGroup } from "./components/base-control/container.js";
21
- import { DraggableList } from "./components/draggable-list/draggable-list.js";
22
- import { DraggableListItem } from "./components/draggable-list/draggable-list-item.js";
23
- import { MatrixAlign } from "./components/matrix-align/matrix-align.js";
24
- import { OptionSelect } from "./components/option-select/option-select.js";
25
- import { Slider } from "./components/slider/slider.js";
26
- import { Toggle } from "./components/toggle/toggle.js";
27
- import { useMemo, useState } from "react";
28
- import { jsx, jsxs } from "react/jsx-runtime";
29
- //#region node_modules/css-gradient-parser/dist/index.js
30
- function c$1(e, o = ",") {
31
- let t = [], n = 0, i = 0;
32
- o = new RegExp(o);
33
- for (let r = 0; r < e.length; r++) e[r] === "(" ? i++ : e[r] === ")" && i--, i === 0 && o.test(e[r]) && (t.push(e.slice(n, r).trim()), n = r + 1);
34
- return t.push(e.slice(n).trim()), t;
35
- }
36
- function g(e) {
37
- let o = [];
38
- for (let t = 0, n = e.length; t < n;) {
39
- let [i, r] = c$1(e[t], /\s+/);
40
- m(e[t + 1]) ? (o.push({
41
- color: i,
42
- offset: l(r),
43
- hint: l(e[t + 1])
44
- }), t += 2) : (o.push({
45
- color: i,
46
- offset: l(r)
47
- }), t++);
48
- }
49
- return o;
50
- }
51
- var u = /^(-?\d+\.?\d*)(%|vw|vh|px|em|rem|deg|rad|grad|turn|ch|vmin|vmax)?$/;
52
- function m(e) {
53
- return u.test(e);
54
- }
55
- function l(e) {
56
- if (!e) return;
57
- let [, o, t] = e.trim().match(u) || [];
58
- return {
59
- value: o,
60
- unit: t ?? "px"
61
- };
62
- }
63
- function P(e) {
64
- if (!/^(repeating-)?linear-gradient/.test(e)) throw new SyntaxError(`could not find syntax for this item: ${e}`);
65
- let [, o, t] = e.match(/(repeating-)?linear-gradient\((.+)\)/), n = {
66
- orientation: {
67
- type: "directional",
68
- value: "bottom"
69
- },
70
- repeating: !!o,
71
- stops: []
72
- }, i = c$1(t), r = x(i[0]);
73
- return r && (n.orientation = r, i.shift()), {
74
- ...n,
75
- stops: g(i)
76
- };
77
- }
78
- function x(e) {
79
- return e.startsWith("to ") ? {
80
- type: "directional",
81
- value: e.replace("to ", "")
82
- } : [
83
- "turn",
84
- "deg",
85
- "grad",
86
- "rad"
87
- ].some((o) => e.endsWith(o)) ? {
88
- type: "angular",
89
- value: l(e)
90
- } : null;
91
- }
92
- var v = new Set([
93
- "closest-corner",
94
- "closest-side",
95
- "farthest-corner",
96
- "farthest-side"
97
- ]);
98
- var w = new Set([
99
- "center",
100
- "left",
101
- "top",
102
- "right",
103
- "bottom"
104
- ]);
105
- function d$1(e) {
106
- return v.has(e);
107
- }
108
- function h(e) {
109
- return w.has(e);
110
- }
111
- function R(e) {
112
- let o = Array(2).fill("");
113
- for (let t = 0; t < 2; t++) e[t] ? o[t] = e[t] : o[t] = "center";
114
- return o;
115
- }
116
- function K(e) {
117
- if (!/(repeating-)?radial-gradient/.test(e)) throw new SyntaxError(`could not find syntax for this item: ${e}`);
118
- let [, o, t] = e.match(/(repeating-)?radial-gradient\((.+)\)/), n = {
119
- shape: "ellipse",
120
- repeating: !!o,
121
- size: [{
122
- type: "keyword",
123
- value: "farthest-corner"
124
- }],
125
- position: {
126
- x: {
127
- type: "keyword",
128
- value: "center"
129
- },
130
- y: {
131
- type: "keyword",
132
- value: "center"
133
- }
134
- },
135
- stops: []
136
- }, i = c$1(t);
137
- if (S(i[0])) return {
138
- ...n,
139
- stops: g(i)
140
- };
141
- let r = i[0].split("at").map((f) => f.trim()), p = ((r[0] || "").match(/(circle|ellipse)/) || [])[1], a = (r[0] || "").match(/(-?\d+\.?\d*(vw|vh|px|em|rem|%|rad|grad|turn|deg)?|closest-corner|closest-side|farthest-corner|farthest-side)/g) || [], s = R((r[1] || "").split(" "));
142
- return p ? n.shape = p : a.length === 1 && !d$1(a[0]) ? n.shape = "circle" : n.shape = "ellipse", a.length === 0 && a.push("farthest-corner"), n.size = a.map((f) => d$1(f) ? {
143
- type: "keyword",
144
- value: f
145
- } : {
146
- type: "length",
147
- value: l(f)
148
- }), n.position.x = h(s[0]) ? {
149
- type: "keyword",
150
- value: s[0]
151
- } : {
152
- type: "length",
153
- value: l(s[0])
154
- }, n.position.y = h(s[1]) ? {
155
- type: "keyword",
156
- value: s[1]
157
- } : {
158
- type: "length",
159
- value: l(s[1])
160
- }, (p || a.length > 0 || r[1]) && i.shift(), {
161
- ...n,
162
- stops: g(i)
163
- };
164
- }
165
- function S(e) {
166
- return /(circle|ellipse|at)/.test(e) ? !1 : /^(rgba?|hwb|hsla?|lab|lch|oklab|color|#|[a-zA-Z]+)/.test(e);
167
- }
168
- var C = new Set([
169
- "from",
170
- "in",
171
- "at"
172
- ]);
173
- function j(e) {
174
- if (!/(repeating-)?conic-gradient/.test(e)) throw new SyntaxError(`could not find syntax for this item: ${e}`);
175
- let [, o, t] = e.match(/(repeating-)?conic-gradient\((.+)\)/), n = {
176
- angle: "0deg",
177
- repeating: !!o,
178
- position: "center",
179
- stops: []
180
- }, i = c$1(t).map((s) => s.trim()), r = c$1(i[0], /\s+/), p = "", a = 0;
181
- for (let s = 0, f = r.length; s < f; s++) C.has(r[s]) && (s > 0 && Object.assign(n, y(p, r, a, s)), p = r[s], a = s + 1);
182
- return p && (Object.assign(n, y(p, r, a, r.length)), i.shift()), {
183
- ...n,
184
- stops: g(i)
185
- };
186
- }
187
- function y(e, o, t, n) {
188
- switch (e) {
189
- case "from": return { angle: o.slice(t, n).join(" ") };
190
- case "at": return { position: o.slice(t, n).join(" ") };
191
- case "in": {
192
- let [i, ...r] = o.slice(t, n);
193
- return { color: {
194
- space: i,
195
- method: r.length > 0 ? r.join(" ") : void 0
196
- } };
197
- }
198
- }
199
- }
200
- //#endregion
201
- //#region node_modules/@thi.ng/color/api.js
202
- var ParsedColor = class {
203
- constructor(mode, value) {
204
- this.mode = mode;
205
- this.value = value;
206
- }
207
- mode;
208
- value;
209
- deref() {
210
- return this.value;
211
- }
212
- };
213
- //#endregion
214
- //#region node_modules/@thi.ng/memoize/memoizej.js
215
- function memoizeJ(fn, cache = Object.create(null)) {
216
- return (...args) => {
217
- const key = JSON.stringify(args);
218
- if (key !== void 0) return key in cache ? cache[key] : cache[key] = fn.apply(null, args);
219
- return fn.apply(null, args);
220
- };
221
- }
222
- //#endregion
223
- //#region node_modules/@thi.ng/memoize/memoizeo.js
224
- function memoizeO(fn, cache = Object.create(null)) {
225
- return (...xs) => {
226
- const key = xs.join("-");
227
- return key in cache ? cache[key] : cache[key] = fn(...xs);
228
- };
229
- }
230
- //#endregion
231
- //#region node_modules/@thi.ng/strings/repeat.js
232
- var repeat = memoizeO((ch, n) => ch.repeat(n));
233
- //#endregion
234
- //#region node_modules/@thi.ng/strings/pad-left.js
235
- var padLeft = memoizeO((n, ch = " ") => {
236
- const buf = repeat(String(ch), n);
237
- return (x, len) => {
238
- if (x == null) return buf;
239
- x = x.toString();
240
- len = len !== void 0 ? len : x.length;
241
- return len < n ? buf.substring(len) + x : x;
242
- };
243
- });
244
- var Z2 = padLeft(2, "0");
245
- var Z3 = padLeft(3, "0");
246
- var Z4 = padLeft(4, "0");
247
- //#endregion
248
- //#region node_modules/@thi.ng/strings/float.js
249
- var float = memoizeJ((prec, special = false) => special ? (x) => __nanOrInf(x) || x.toFixed(prec) : (x) => x.toFixed(prec));
250
- var floatFixedWidth = memoizeJ((width, prec = 3) => {
251
- const l = width - prec - 1;
252
- const pl = Math.pow(10, l);
253
- const pln = -Math.pow(10, l - 1);
254
- const pr = Math.pow(10, -(prec - 1));
255
- const pad = padLeft(width);
256
- return (x) => {
257
- const ax = Math.abs(x);
258
- return pad(__nanOrInf(x) || (x === 0 ? "0" : ax < pr || ax >= pl ? __exp(x, width) : x.toFixed(prec - (x < pln ? 1 : 0))));
259
- };
260
- });
261
- var __exp = (x, w) => x.toExponential(Math.max(w - 4 - (Math.log(Math.abs(x)) / Math.LN10 >= 10 ? 2 : 1) - (x < 0 ? 1 : 0), 0));
262
- var __nanOrInf = (x) => isNaN(x) ? "NaN" : x === Infinity ? "+∞" : x === -Infinity ? "-∞" : void 0;
263
- //#endregion
264
- //#region node_modules/@thi.ng/strings/percent.js
265
- var percent = (prec = 0) => (x) => (x * 100).toFixed(prec) + "%";
266
- //#endregion
267
- //#region node_modules/@thi.ng/color/api/constants.js
268
- var BLACK = Object.freeze([
269
- 0,
270
- 0,
271
- 0,
272
- 1
273
- ]);
274
- var WHITE = Object.freeze([
275
- 1,
276
- 1,
277
- 1,
278
- 1
279
- ]);
280
- var RED = Object.freeze([
281
- 1,
282
- 0,
283
- 0,
284
- 1
285
- ]);
286
- var GREEN = Object.freeze([
287
- 0,
288
- 1,
289
- 0,
290
- 1
291
- ]);
292
- var BLUE = Object.freeze([
293
- 0,
294
- 0,
295
- 1,
296
- 1
297
- ]);
298
- var CYAN = Object.freeze([
299
- 0,
300
- 1,
301
- 1,
302
- 1
303
- ]);
304
- var MAGENTA = Object.freeze([
305
- 1,
306
- 0,
307
- 1,
308
- 1
309
- ]);
310
- var YELLOW = Object.freeze([
311
- 1,
312
- 1,
313
- 0,
314
- 1
315
- ]);
316
- var RGB_LUMINANCE_REC709 = [
317
- .2126,
318
- .7152,
319
- .0722
320
- ];
321
- var FF = float(3);
322
- var PC = percent(3);
323
- var INV8BIT = 1 / 255;
324
- //#endregion
325
- //#region node_modules/@thi.ng/color/api/names.js
326
- var CSS_NAMES = {
327
- aliceblue: "f0f8ff",
328
- antiquewhite: "faebd7",
329
- aqua: "0ff",
330
- aquamarine: "7fffd4",
331
- azure: "f0ffff",
332
- beige: "f5f5dc",
333
- bisque: "ffe4c4",
334
- black: "000",
335
- blanchedalmond: "ffebcd",
336
- blue: "00f",
337
- blueviolet: "8a2be2",
338
- brown: "a52a2a",
339
- burlywood: "deb887",
340
- cadetblue: "5f9ea0",
341
- chartreuse: "7fff00",
342
- chocolate: "d2691e",
343
- coral: "ff7f50",
344
- cornflowerblue: "6495ed",
345
- cornsilk: "fff8dc",
346
- crimson: "dc143c",
347
- cyan: "0ff",
348
- darkblue: "00008b",
349
- darkcyan: "008b8b",
350
- darkgoldenrod: "b8860b",
351
- darkgray: "a9a9a9",
352
- darkgreen: "006400",
353
- darkgrey: "a9a9a9",
354
- darkkhaki: "bdb76b",
355
- darkmagenta: "8b008b",
356
- darkolivegreen: "556b2f",
357
- darkorange: "ff8c00",
358
- darkorchid: "9932cc",
359
- darkred: "8b0000",
360
- darksalmon: "e9967a",
361
- darkseagreen: "8fbc8f",
362
- darkslateblue: "483d8b",
363
- darkslategray: "2f4f4f",
364
- darkslategrey: "2f4f4f",
365
- darkturquoise: "00ced1",
366
- darkviolet: "9400d3",
367
- deeppink: "ff1493",
368
- deepskyblue: "00bfff",
369
- dimgray: "696969",
370
- dimgrey: "696969",
371
- dodgerblue: "1e90ff",
372
- firebrick: "b22222",
373
- floralwhite: "fffaf0",
374
- forestgreen: "228b22",
375
- fuchsia: "f0f",
376
- gainsboro: "dcdcdc",
377
- ghostwhite: "f8f8ff",
378
- gold: "ffd700",
379
- goldenrod: "daa520",
380
- gray: "808080",
381
- grey: "808080",
382
- green: "008000",
383
- greenyellow: "adff2f",
384
- honeydew: "f0fff0",
385
- hotpink: "ff69b4",
386
- indianred: "cd5c5c",
387
- indigo: "4b0082",
388
- ivory: "fffff0",
389
- khaki: "f0e68c",
390
- lavender: "e6e6fa",
391
- lavenderblush: "fff0f5",
392
- lawngreen: "7cfc00",
393
- lemonchiffon: "fffacd",
394
- lightblue: "add8e6",
395
- lightcoral: "f08080",
396
- lightcyan: "e0ffff",
397
- lightgoldenrodyellow: "fafad2",
398
- lightgray: "d3d3d3",
399
- lightgreen: "90ee90",
400
- lightgrey: "d3d3d3",
401
- lightpink: "ffb6c1",
402
- lightsalmon: "ffa07a",
403
- lightseagreen: "20b2aa",
404
- lightskyblue: "87cefa",
405
- lightslategray: "789",
406
- lightslategrey: "789",
407
- lightsteelblue: "b0c4de",
408
- lightyellow: "ffffe0",
409
- lime: "0f0",
410
- limegreen: "32cd32",
411
- linen: "faf0e6",
412
- magenta: "f0f",
413
- maroon: "800000",
414
- mediumaquamarine: "66cdaa",
415
- mediumblue: "0000cd",
416
- mediumorchid: "ba55d3",
417
- mediumpurple: "9370db",
418
- mediumseagreen: "3cb371",
419
- mediumslateblue: "7b68ee",
420
- mediumspringgreen: "00fa9a",
421
- mediumturquoise: "48d1cc",
422
- mediumvioletred: "c71585",
423
- midnightblue: "191970",
424
- mintcream: "f5fffa",
425
- mistyrose: "ffe4e1",
426
- moccasin: "ffe4b5",
427
- navajowhite: "ffdead",
428
- navy: "000080",
429
- oldlace: "fdf5e6",
430
- olive: "808000",
431
- olivedrab: "6b8e23",
432
- orange: "ffa500",
433
- orangered: "ff4500",
434
- orchid: "da70d6",
435
- palegoldenrod: "eee8aa",
436
- palegreen: "98fb98",
437
- paleturquoise: "afeeee",
438
- palevioletred: "db7093",
439
- papayawhip: "ffefd5",
440
- peachpuff: "ffdab9",
441
- peru: "cd853f",
442
- pink: "ffc0cb",
443
- plum: "dda0dd",
444
- powderblue: "b0e0e6",
445
- purple: "800080",
446
- red: "f00",
447
- rosybrown: "bc8f8f",
448
- royalblue: "4169e1",
449
- saddlebrown: "8b4513",
450
- salmon: "fa8072",
451
- sandybrown: "f4a460",
452
- seagreen: "2e8b57",
453
- seashell: "fff5ee",
454
- sienna: "a0522d",
455
- silver: "c0c0c0",
456
- skyblue: "87ceeb",
457
- slateblue: "6a5acd",
458
- slategray: "708090",
459
- slategrey: "708090",
460
- snow: "fffafa",
461
- springgreen: "00ff7f",
462
- steelblue: "4682b4",
463
- tan: "d2b48c",
464
- teal: "008080",
465
- thistle: "d8bfd8",
466
- tomato: "ff6347",
467
- turquoise: "40e0d0",
468
- violet: "ee82ee",
469
- wheat: "f5deb3",
470
- white: "fff",
471
- whitesmoke: "f5f5f5",
472
- yellow: "ff0",
473
- yellowgreen: "9acd32",
474
- transparent: "0000",
475
- rebeccapurple: "639"
476
- };
477
- //#endregion
478
- //#region node_modules/@thi.ng/color/api/system.js
479
- var CSS_SYSTEM_COLORS = {
480
- canvas: "fff",
481
- canvastext: "000",
482
- linktext: "001ee4",
483
- visitedtext: "4e2386",
484
- activetext: "eb3323",
485
- buttonface: "ddd",
486
- buttontext: "000",
487
- buttonborder: "000",
488
- field: "fff",
489
- fieldtext: "000",
490
- highlight: "bbd5fb",
491
- highlighttext: "000",
492
- mark: "000",
493
- marktext: "fff",
494
- graytext: "808080"
495
- };
496
- //#endregion
497
- //#region node_modules/@thi.ng/vectors/setc.js
498
- var setC3 = (out, x, y, z) => {
499
- !out && (out = []);
500
- out[0] = x;
501
- out[1] = y;
502
- out[2] = z;
503
- return out;
504
- };
505
- var setC4 = (out, x, y, z, w) => {
506
- !out && (out = []);
507
- out[0] = x;
508
- out[1] = y;
509
- out[2] = z;
510
- out[3] = w;
511
- return out;
512
- };
513
- //#endregion
514
- //#region node_modules/@thi.ng/errors/deferror.js
515
- var defError = (prefix, suffix = (msg) => msg !== void 0 ? ": " + msg : "") => class extends Error {
516
- origMessage;
517
- constructor(msg) {
518
- super(prefix(msg) + suffix(msg));
519
- this.origMessage = msg !== void 0 ? String(msg) : "";
520
- }
521
- };
522
- //#endregion
523
- //#region node_modules/@thi.ng/errors/unsupported.js
524
- var UnsupportedOperationError = defError(() => "unsupported operation");
525
- var unsupportedOp = (msg) => {
526
- throw new UnsupportedOperationError(msg);
527
- };
528
- var UnsupportedFeatureError = defError(() => "unsupported feature");
529
- //#endregion
530
- //#region node_modules/@thi.ng/math/interval.js
531
- var clamp = (x, min, max) => x < min ? min : x > max ? max : x;
532
- var clamp01 = (x) => x < 0 ? 0 : x > 1 ? 1 : x;
533
- //#endregion
534
- //#region node_modules/@thi.ng/math/api.js
535
- var PI = Math.PI;
536
- var TAU = PI * 2;
537
- var HALF_PI = PI / 2;
538
- var THIRD_PI = PI / 3;
539
- var QUARTER_PI = PI / 4;
540
- var SIXTH_PI = PI / 6;
541
- var INV_PI = 1 / PI;
542
- var INV_TAU = 1 / TAU;
543
- var INV_HALF_PI = 1 / HALF_PI;
544
- var DEG2RAD = PI / 180;
545
- var RAD2DEG = 180 / PI;
546
- var PHI = (1 + Math.sqrt(5)) / 2;
547
- var SQRT2 = Math.SQRT2;
548
- var SQRT3 = Math.sqrt(3);
549
- var SQRT2_2 = SQRT2 / 2;
550
- var SQRT3_2 = SQRT3 / 2;
551
- var EPS = 1e-6;
552
- //#endregion
553
- //#region node_modules/@thi.ng/math/prec.js
554
- var fract = (x) => x - Math.floor(x);
555
- //#endregion
556
- //#region node_modules/@thi.ng/random/arandom.js
557
- var INV_MAX = 1 / 2 ** 32;
558
- var ARandom = class {
559
- float(norm = 1) {
560
- return this.int() * INV_MAX * norm;
561
- }
562
- probability(p) {
563
- return this.float() < p;
564
- }
565
- norm(norm = 1) {
566
- return (this.int() * INV_MAX - .5) * 2 * norm;
567
- }
568
- normMinMax(min, max) {
569
- const x = this.minmax(min, max);
570
- return this.float() < .5 ? x : -x;
571
- }
572
- minmax(min, max) {
573
- return this.float() * (max - min) + min;
574
- }
575
- minmaxInt(min, max) {
576
- min |= 0;
577
- const range = (max | 0) - min;
578
- return range ? min + this.int() % range : min;
579
- }
580
- minmaxUint(min, max) {
581
- min >>>= 0;
582
- const range = (max >>> 0) - min;
583
- return range ? min + this.int() % range : min;
584
- }
585
- };
586
- //#endregion
587
- //#region node_modules/@thi.ng/random/wrapped.js
588
- var WrappedRandom = class extends ARandom {
589
- constructor(rnd) {
590
- super();
591
- this.rnd = rnd;
592
- }
593
- rnd;
594
- float(norm = 1) {
595
- return this.rnd() * norm;
596
- }
597
- norm(norm = 1) {
598
- return (this.rnd() - .5) * 2 * norm;
599
- }
600
- int() {
601
- return this.rnd() * 4294967296 >>> 0;
602
- }
603
- };
604
- //#endregion
605
- //#region node_modules/@thi.ng/random/system.js
606
- var SYSTEM = new WrappedRandom(Math.random);
607
- //#endregion
608
- //#region node_modules/@thi.ng/color/internal/ensure.js
609
- var __ensureAlpha = (x, def = 1) => x != void 0 ? clamp01(x) : def;
610
- var __ensureArgs = (args) => {
611
- if (typeof args[0] === "number") switch (args.length) {
612
- case 1: return args.push(0, 0, 1), [args];
613
- case 2: return args.push(0, 1), [args];
614
- case 3: return args.push(1), [args];
615
- default: return [args];
616
- }
617
- return args;
618
- };
619
- //#endregion
620
- //#region node_modules/@thi.ng/color/clamp.js
621
- var clampH = (out, src, alpha = 1) => setC4(out || src, fract(src[0]), clamp01(src[1]), clamp01(src[2]), __ensureAlpha(src[3], alpha));
622
- //#endregion
623
- //#region node_modules/@thi.ng/checks/is-array.js
624
- var isArray = Array.isArray;
625
- //#endregion
626
- //#region node_modules/@thi.ng/checks/is-number.js
627
- var isNumber = (x) => typeof x === "number";
628
- //#endregion
629
- //#region node_modules/@thi.ng/checks/is-string.js
630
- var isString = (x) => typeof x === "string";
631
- //#endregion
632
- //#region node_modules/@thi.ng/errors/illegal-arguments.js
633
- var IllegalArgumentError = defError(() => "illegal argument(s)");
634
- var illegalArgs = (msg) => {
635
- throw new IllegalArgumentError(msg);
636
- };
637
- //#endregion
638
- //#region node_modules/@thi.ng/errors/assert.js
639
- var AssertionError = defError(() => "Assertion failed");
640
- var assert = (typeof process !== "undefined" && process.env !== void 0 ? process.env.NODE_ENV !== "production" || !!process.env.UMBRELLA_ASSERTS : false) ? (test, msg) => {
641
- if (typeof test === "function" && !test() || !test) throw new AssertionError(typeof msg === "function" ? msg() : msg);
642
- } : () => {};
643
- //#endregion
644
- //#region node_modules/@thi.ng/binary/rotate.js
645
- var rotateRight = (x, n) => (x >>> n | x << 32 - n) >>> 0;
646
- //#endregion
647
- //#region node_modules/@thi.ng/binary/splat.js
648
- var interleave4_12_24 = (x) => (x & 3840) * 4352 | (x & 240) * 272 | (x & 15) * 17;
649
- var interleave4_16_32 = (x) => ((x & 61440) * 69632 | (x & 3840) * 4352 | (x & 240) * 272 | (x & 15) * 17) >>> 0;
650
- //#endregion
651
- //#region node_modules/@thi.ng/color/int/int-srgb.js
652
- var intArgb32Srgb = (out, src) => setC4(out || [], (src >>> 16 & 255) * INV8BIT, (src >>> 8 & 255) * INV8BIT, (src & 255) * INV8BIT, (src >>> 24) * INV8BIT);
653
- var intAbgr32Srgb = (out, src) => setC4(out || [], (src & 255) * INV8BIT, (src >>> 8 & 255) * INV8BIT, (src >>> 16 & 255) * INV8BIT, (src >>> 24) * INV8BIT);
654
- //#endregion
655
- //#region node_modules/@thi.ng/color/css/parse-css.js
656
- var parseCss = (src) => {
657
- src = (isString(src) ? src : src.deref()).toLowerCase();
658
- const named = CSS_NAMES[src] || CSS_SYSTEM_COLORS[src];
659
- if (named || src[0] === "#") return new ParsedColor("srgb", intArgb32Srgb([], parseHex(named || src)));
660
- const parts = src.split(/[(),/ ]+/);
661
- const [mode, a, b, c, d] = parts;
662
- assert(parts.length === 5 || parts.length === 6, `invalid color: ${src}`);
663
- switch (mode) {
664
- case "rgb":
665
- case "rgba": return new ParsedColor("srgb", [
666
- __numOrPercent(a, 1, INV8BIT, true),
667
- __numOrPercent(b, 1, INV8BIT, true),
668
- __numOrPercent(c, 1, INV8BIT, true),
669
- __alpha(d)
670
- ]);
671
- case "hsl":
672
- case "hsla": return new ParsedColor("hsl", [
673
- __hue(a),
674
- __percent(b),
675
- __percent(c),
676
- __alpha(d)
677
- ]);
678
- case "lab": return new ParsedColor("lab50", [
679
- __numOrPercent(a),
680
- __numOrPercent(b, 1.25),
681
- __numOrPercent(c, 1.25),
682
- __alpha(d)
683
- ]);
684
- case "lch": return new ParsedColor(mode, [
685
- __numOrPercent(a),
686
- __numOrPercent(b, 1.5),
687
- __hue(c),
688
- __alpha(d)
689
- ]);
690
- case "oklab": return new ParsedColor(mode, [
691
- __numOrPercent(a, 1, 1),
692
- __numOrPercent(b, .4, 1),
693
- __numOrPercent(c, .4, 1),
694
- __alpha(d)
695
- ]);
696
- case "oklch": return new ParsedColor(mode, [
697
- __numOrPercent(a, 1, 1),
698
- __numOrPercent(b, .4, 1),
699
- __hue(c),
700
- __alpha(d)
701
- ]);
702
- default: unsupportedOp(`color mode: ${mode}`);
703
- }
704
- };
705
- var HUE_NORMS = {
706
- rad: TAU,
707
- grad: 400,
708
- turn: 1,
709
- deg: 360
710
- };
711
- var __hue = (x) => {
712
- const match = /^(-?[0-9.]+)(deg|rad|grad|turn)?$/.exec(x);
713
- assert(!!match, `expected hue, got: ${x}`);
714
- return fract(parseFloat(match[1]) / (HUE_NORMS[match[2]] || 360));
715
- };
716
- var __alpha = (x) => x ? __numOrPercent(x, 1, 1, true) : 1;
717
- var __percent = (x, clamp = true) => {
718
- assert(/^([0-9.]+)%$/.test(x), `expected percentage, got: ${x}`);
719
- const res = parseFloat(x) / 100;
720
- return clamp ? clamp01(res) : res;
721
- };
722
- var __numOrPercent = (x, scalePerc = 1, scale = .01, clamp = false) => {
723
- assert(/^-?[0-9.]+%?$/.test(x), `expected number or percentage, got: ${x}`);
724
- const res = parseFloat(x) * (x.endsWith("%") ? .01 * scalePerc : scale);
725
- return clamp ? clamp01(res) : res;
726
- };
727
- var parseHex = (src) => {
728
- const match = /^#?([0-9a-f]{3,8})$/i.exec(src);
729
- if (match) {
730
- const hex = match[1];
731
- const val = parseInt(hex, 16);
732
- switch (hex.length) {
733
- case 3: return (interleave4_12_24(val) | 4278190080) >>> 0;
734
- case 4: return rotateRight(interleave4_16_32(val), 8);
735
- case 6: return (val | 4278190080) >>> 0;
736
- case 8: return rotateRight(val, 8);
737
- }
738
- }
739
- return illegalArgs(`invalid hex color: "${src}"`);
740
- };
741
- //#endregion
742
- //#region node_modules/@thi.ng/vectors/vop.js
743
- var vop = (dispatch = 1, fallback, ...optimized) => {
744
- const impls = [, ,].concat(optimized);
745
- const fn = (...args) => {
746
- const g = impls[args[dispatch].length] || fallback;
747
- return g ? g(...args) : unsupportedOp(`no impl for vec size ${args[dispatch].length}`);
748
- };
749
- fn.add = (dim, fn2) => impls[dim] = fn2;
750
- fn.default = (fn2) => fallback = fn2;
751
- fn.impl = (dim) => dim != null ? impls[dim] || fallback : fallback;
752
- return fn;
753
- };
754
- //#endregion
755
- //#region node_modules/@thi.ng/vectors/set.js
756
- var set2 = (o, a) => {
757
- !o && (o = []);
758
- o[0] = a[0];
759
- o[1] = a[1];
760
- return o;
761
- };
762
- var set3 = (o, a) => {
763
- !o && (o = []);
764
- o[0] = a[0];
765
- o[1] = a[1];
766
- o[2] = a[2];
767
- return o;
768
- };
769
- var set4 = (o, a) => {
770
- !o && (o = []);
771
- o[0] = a[0];
772
- o[1] = a[1];
773
- o[2] = a[2];
774
- o[3] = a[3];
775
- return o;
776
- };
777
- var set = vop(1, (o, a) => {
778
- !o && (o = []);
779
- for (let i = a.length; i-- > 0;) o[i] = a[i];
780
- return o;
781
- }, set2, set3, set4);
782
- //#endregion
783
- //#region node_modules/@thi.ng/checks/implements-function.js
784
- var implementsFunction = (x, fn) => typeof x?.[fn] === "function";
785
- //#endregion
786
- //#region node_modules/@thi.ng/checks/is-arraylike.js
787
- var isArrayLike = (x) => x != null && typeof x !== "function" && x.length !== void 0;
788
- //#endregion
789
- //#region node_modules/@thi.ng/strings/vector.js
790
- var vector = memoizeJ((size, prec = 3, d = ",", pre = "[", post = "]") => {
791
- const f = typeof prec === "number" ? float(prec) : prec;
792
- switch (size) {
793
- case 1: return (v) => `${pre}${f(v[0])}${post}`;
794
- case 2: return (v) => `${pre}${f(v[0])}${d}${f(v[1])}${post}`;
795
- case 3: return (v) => `${pre}${f(v[0])}${d}${f(v[1])}${d}${f(v[2])}${post}`;
796
- case 4: return (v) => `${pre}${f(v[0])}${d}${f(v[1])}${d}${f(v[2])}${d}${f(v[3])}${post}`;
797
- default: return (v) => {
798
- const res = [];
799
- for (let i = 0; i < v.length; i++) res.push(f(v[i]));
800
- return `${pre}${res.join(d)}${post}`;
801
- };
802
- }
803
- });
804
- //#endregion
805
- //#region node_modules/@thi.ng/vectors/buffer.js
806
- var mapStridedBuffer = (ctor, buf, num, start, cstride, estride) => {
807
- const res = [];
808
- while (num-- > 0) {
809
- res.push(new ctor(buf, start, cstride));
810
- start += estride;
811
- }
812
- return res;
813
- };
814
- //#endregion
815
- //#region node_modules/@thi.ng/vectors/defopvvv.js
816
- var defOpVVV = (op, dispatch = 1, outA = true) => {
817
- const a = outA ? (o, a2, b2, c2) => {
818
- !o && (o = a2);
819
- for (let i = a2.length; i-- > 0;) o[i] = op(a2[i], b2[i], c2[i]);
820
- return o;
821
- } : (o, a2, b2, c2) => {
822
- !o && (o = c2);
823
- for (let i = a2.length; i-- > 0;) o[i] = op(a2[i], b2[i], c2[i]);
824
- return o;
825
- };
826
- const b = outA ? (o, a2, b2, c2) => {
827
- !o && (o = a2);
828
- o[0] = op(a2[0], b2[0], c2[0]);
829
- o[1] = op(a2[1], b2[1], c2[1]);
830
- return o;
831
- } : (o, a2, b2, c2) => {
832
- !o && (o = c2);
833
- o[0] = op(a2[0], b2[0], c2[0]);
834
- o[1] = op(a2[1], b2[1], c2[1]);
835
- return o;
836
- };
837
- const c = outA ? (o, a2, b2, c2) => {
838
- !o && (o = a2);
839
- o[0] = op(a2[0], b2[0], c2[0]);
840
- o[1] = op(a2[1], b2[1], c2[1]);
841
- o[2] = op(a2[2], b2[2], c2[2]);
842
- return o;
843
- } : (o, a2, b2, c2) => {
844
- !o && (o = c2);
845
- o[0] = op(a2[0], b2[0], c2[0]);
846
- o[1] = op(a2[1], b2[1], c2[1]);
847
- o[2] = op(a2[2], b2[2], c2[2]);
848
- return o;
849
- };
850
- const d = outA ? (o, a2, b2, c2) => {
851
- !o && (o = a2);
852
- o[0] = op(a2[0], b2[0], c2[0]);
853
- o[1] = op(a2[1], b2[1], c2[1]);
854
- o[2] = op(a2[2], b2[2], c2[2]);
855
- o[3] = op(a2[3], b2[3], c2[3]);
856
- return o;
857
- } : (o, a2, b2, c2) => {
858
- !o && (o = c2);
859
- o[0] = op(a2[0], b2[0], c2[0]);
860
- o[1] = op(a2[1], b2[1], c2[1]);
861
- o[2] = op(a2[2], b2[2], c2[2]);
862
- o[3] = op(a2[3], b2[3], c2[3]);
863
- return o;
864
- };
865
- return [
866
- vop(dispatch, a, b, c, d),
867
- b,
868
- c,
869
- d
870
- ];
871
- };
872
- //#endregion
873
- //#region node_modules/@thi.ng/vectors/clamp.js
874
- var [a, b, c, d] = defOpVVV(clamp);
875
- var clamp4 = d;
876
- //#endregion
877
- //#region node_modules/@thi.ng/vectors/accessors.js
878
- var declareIndex = (proto, id, idx, strided = true, defNumeric = true) => {
879
- const get = idx > 0 ? strided ? function() {
880
- return this.buf[this.offset + idx * this.stride];
881
- } : function() {
882
- return this.buf[this.offset + idx];
883
- } : function() {
884
- return this.buf[this.offset];
885
- };
886
- const set = idx > 0 ? strided ? function(n) {
887
- this.buf[this.offset + idx * this.stride] = n;
888
- } : function(n) {
889
- this.buf[this.offset + idx] = n;
890
- } : function(n) {
891
- this.buf[this.offset] = n;
892
- };
893
- defNumeric && Object.defineProperty(proto, idx, {
894
- get,
895
- set,
896
- enumerable: true
897
- });
898
- Object.defineProperty(proto, id, {
899
- get,
900
- set,
901
- enumerable: true
902
- });
903
- };
904
- var declareIndices = (proto, props, strided, defNumeric) => props.forEach((id, i) => declareIndex(proto, id, i, strided, defNumeric));
905
- //#endregion
906
- //#region node_modules/@thi.ng/math/eqdelta.js
907
- var abs = Math.abs;
908
- var eqDelta$1 = (a, b, eps = EPS) => abs(a - b) <= eps;
909
- //#endregion
910
- //#region node_modules/@thi.ng/vectors/eqdelta.js
911
- var eqDelta2 = (a, b, eps = EPS) => {
912
- return a.length === b.length && eqDelta$1(a[0], b[0], eps) && eqDelta$1(a[1], b[1], eps);
913
- };
914
- var eqDelta3 = (a, b, eps = EPS) => {
915
- return a.length === b.length && eqDelta$1(a[0], b[0], eps) && eqDelta$1(a[1], b[1], eps) && eqDelta$1(a[2], b[2], eps);
916
- };
917
- var eqDelta4 = (a, b, eps = EPS) => {
918
- return a.length === b.length && eqDelta$1(a[0], b[0], eps) && eqDelta$1(a[1], b[1], eps) && eqDelta$1(a[2], b[2], eps) && eqDelta$1(a[3], b[3], eps);
919
- };
920
- var eqDelta = vop(0, (v1, v2, eps = EPS) => {
921
- if (implementsFunction(v1, "eqDelta")) return v1.eqDelta(v2, eps);
922
- if (implementsFunction(v2, "eqDelta")) return v2.eqDelta(v1, eps);
923
- return eqDeltaS(v1, v2, v1.length, eps);
924
- }, eqDelta2, eqDelta3, eqDelta4);
925
- var eqDeltaS = (a, b, n, eps = EPS, ia = 0, ib = 0, sa = 1, sb = 1) => {
926
- for (; n > 0; n--, ia += sa, ib += sb) if (!eqDelta$1(a[ia], b[ib], eps)) return false;
927
- return true;
928
- };
929
- //#endregion
930
- //#region node_modules/@thi.ng/vectors/iterator.js
931
- function* stridedValues(buf, num, start, stride) {
932
- while (num-- > 0) {
933
- yield buf[start];
934
- start += stride;
935
- }
936
- }
937
- //#endregion
938
- //#region node_modules/@thi.ng/vectors/rand-minmax.js
939
- var randMinMax = vop(1, (o, a, b, rnd = SYSTEM) => {
940
- !o && (o = a);
941
- for (let i = a.length; i-- > 0;) o[i] = rnd.minmax(a[i], b[i]);
942
- return o;
943
- });
944
- //#endregion
945
- //#region node_modules/@thi.ng/color/convert.js
946
- var CONVERSIONS = {};
947
- var defConversions = (mode, spec) => {
948
- for (const id in spec) {
949
- const val = spec[id];
950
- if (isArray(val)) {
951
- const [a, b, c, d] = val;
952
- spec[id] = val.length === 2 ? (out, src) => b(out, a(out, src)) : val.length === 3 ? (out, src) => c(out, b(out, a(out, src))) : (out, src) => d(out, c(out, b(out, a(out, src))));
953
- }
954
- }
955
- CONVERSIONS[mode] = {
956
- ...CONVERSIONS[mode],
957
- ...spec
958
- };
959
- };
960
- var convert = (res, src, destMode, srcMode) => {
961
- const spec = CONVERSIONS[destMode];
962
- assert(!!spec, `no conversions available for ${destMode}`);
963
- let $convert = spec[srcMode];
964
- return $convert ? $convert(res, src) : CONVERSIONS.rgb[srcMode] ? spec.rgb(res, CONVERSIONS.rgb[srcMode]([], src)) : unsupportedOp(`can't convert: ${srcMode} -> ${destMode}`);
965
- };
966
- //#endregion
967
- //#region node_modules/@thi.ng/color/defcolor.js
968
- var defColor = (spec) => {
969
- const channels = spec.channels || {};
970
- const order = spec.order;
971
- const numChannels = order.length;
972
- order.reduce((acc, id) => {
973
- acc[id] = {
974
- range: [0, 1],
975
- ...channels[id]
976
- };
977
- return acc;
978
- }, channels);
979
- const min = Object.freeze(order.map((id) => channels[id].range[0]));
980
- const max = Object.freeze(order.map((id) => channels[id].range[1]));
981
- const minR = set4([], min);
982
- const maxR = set4([], max);
983
- minR[numChannels - 1] = 1;
984
- const hueChanID = order.findIndex((id) => !!channels[id].hue);
985
- const $Color = class {
986
- constructor(buf, offset = 0, stride = 1) {
987
- this.offset = offset;
988
- this.stride = stride;
989
- this.buf = buf || [
990
- 0,
991
- 0,
992
- 0,
993
- 0
994
- ];
995
- this.offset = offset;
996
- this.stride = stride;
997
- }
998
- offset;
999
- stride;
1000
- buf;
1001
- get mode() {
1002
- return spec.mode;
1003
- }
1004
- get length() {
1005
- return numChannels;
1006
- }
1007
- get range() {
1008
- return [min, max];
1009
- }
1010
- get [Symbol.toStringTag]() {
1011
- return spec.mode;
1012
- }
1013
- get xyz() {
1014
- return [
1015
- this[0],
1016
- this[1],
1017
- this[2]
1018
- ];
1019
- }
1020
- [Symbol.iterator]() {
1021
- return stridedValues(this.buf, this.length, this.offset, this.stride);
1022
- }
1023
- copy() {
1024
- return new $Color(this.deref());
1025
- }
1026
- copyView() {
1027
- return new $Color(this.buf, this.offset, this.stride);
1028
- }
1029
- empty() {
1030
- return new $Color();
1031
- }
1032
- deref() {
1033
- return [
1034
- this[0],
1035
- this[1],
1036
- this[2],
1037
- this[3]
1038
- ];
1039
- }
1040
- set(src) {
1041
- return set4(this, src);
1042
- }
1043
- clamp() {
1044
- hueChanID >= 0 && (this[hueChanID] = fract(this[hueChanID]));
1045
- clamp4(null, this, min, max);
1046
- return this;
1047
- }
1048
- eqDelta(o, eps = EPS) {
1049
- return eqDelta4(this, o, eps);
1050
- }
1051
- randomize(rnd) {
1052
- return randMinMax(this, minR, maxR, rnd);
1053
- }
1054
- toJSON() {
1055
- return this.deref();
1056
- }
1057
- toString() {
1058
- return vector(4, 4)(this);
1059
- }
1060
- };
1061
- declareIndices($Color.prototype, order);
1062
- defConversions(spec.mode, spec.from);
1063
- defConversions("rgb", { [spec.mode]: spec.toRgb });
1064
- const fromColor = (src, mode, args) => {
1065
- const res = new $Color(...args);
1066
- return mode !== spec.mode ? convert(res, src, spec.mode, mode) : res.set(src);
1067
- };
1068
- const factory = (src, ...args) => src == null ? new $Color() : isString(src) ? factory(parseCss(src), ...args) : isArrayLike(src) ? isString(src.mode) ? fromColor(src, src.mode, args) : new $Color(src, ...args) : implementsFunction(src, "deref") ? fromColor(src.deref(), src.mode, args) : isNumber(src) ? args.length && args.every(isNumber) ? new $Color(...__ensureArgs([src, ...args])) : fromColor(intArgb32Srgb([], src), "srgb", args) : illegalArgs(`can't create a ${spec.mode} color from: ${src}`);
1069
- factory.class = $Color;
1070
- factory.range = [min, max];
1071
- factory.random = (rnd, buf, idx, stride) => new $Color(buf, idx, stride).randomize(rnd);
1072
- factory.mapBuffer = (buf, num = buf.length / numChannels | 0, start = 0, cstride = 1, estride = numChannels) => mapStridedBuffer($Color, buf, num, start, cstride, estride);
1073
- return factory;
1074
- };
1075
- //#endregion
1076
- //#region node_modules/@thi.ng/vectors/dot.js
1077
- var dot2 = (a, b) => a[0] * b[0] + a[1] * b[1];
1078
- var dot3 = (a, b) => a[0] * b[0] + a[1] * b[1] + a[2] * b[2];
1079
- var dot4 = (a, b) => a[0] * b[0] + a[1] * b[1] + a[2] * b[2] + a[3] * b[3];
1080
- var dot = vop(0, (a, b) => {
1081
- let sum = 0;
1082
- for (let i = a.length; i-- > 0;) sum += a[i] * b[i];
1083
- return sum;
1084
- }, dot2, dot3, dot4);
1085
- //#endregion
1086
- //#region node_modules/@thi.ng/color/luminance-rgb.js
1087
- var luminanceRgb = (rgb, weights = RGB_LUMINANCE_REC709) => dot3(rgb, weights);
1088
- //#endregion
1089
- //#region node_modules/@thi.ng/color/rgb/hue-rgb.js
1090
- var hueRgb = (out, hue, alpha = 1) => {
1091
- hue = fract(hue) * 6;
1092
- return setC4(out || [], clamp01(Math.abs(hue - 3) - 1), clamp01(2 - Math.abs(hue - 2)), clamp01(2 - Math.abs(hue - 4)), alpha);
1093
- };
1094
- //#endregion
1095
- //#region node_modules/@thi.ng/color/hcy/hcy-rgb.js
1096
- var hcyRgb = (out, src) => {
1097
- const h = src[0];
1098
- let c = src[1];
1099
- const y = src[2];
1100
- const rgb = hueRgb(out || src, h, __ensureAlpha(src[3]));
1101
- const lum = luminanceRgb(rgb);
1102
- if (y < lum) c *= y / lum;
1103
- else if (lum < 1) c *= (1 - y) / (1 - lum);
1104
- return setC3(rgb, clamp01((rgb[0] - lum) * c + y), clamp01((rgb[1] - lum) * c + y), clamp01((rgb[2] - lum) * c + y));
1105
- };
1106
- //#endregion
1107
- //#region node_modules/@thi.ng/color/hsi/hsi-rgb.js
1108
- var hsiRgb = (out, src) => {
1109
- out = clampH(out || src, src);
1110
- const s = out[1];
1111
- const i = out[2];
1112
- if (s < 1e-6) return setC3(out, i, i, i);
1113
- const h = out[0] * 6 % 6;
1114
- const m = i * (1 - s);
1115
- const z = 1 - Math.abs(h % 2 - 1);
1116
- let c = 3 * i * s / (1 + z);
1117
- const x = c * z + m;
1118
- c += m;
1119
- switch (h | 0) {
1120
- case 0: return setC3(out, c, x, m);
1121
- case 1: return setC3(out, x, c, m);
1122
- case 2: return setC3(out, m, c, x);
1123
- case 3: return setC3(out, m, x, c);
1124
- case 4: return setC3(out, x, m, c);
1125
- case 5: return setC3(out, c, m, x);
1126
- default: return setC3(out, m, m, m);
1127
- }
1128
- };
1129
- //#endregion
1130
- //#region node_modules/@thi.ng/color/hsl/hsl-rgb.js
1131
- var hslRgb = (out, src) => {
1132
- const s = clamp01(src[1]);
1133
- const l = clamp01(src[2]);
1134
- out = hueRgb(out || src, src[0], __ensureAlpha(src[3]));
1135
- const c = (1 - Math.abs(2 * l - 1)) * s;
1136
- return setC3(out, (out[0] - .5) * c + l, (out[1] - .5) * c + l, (out[2] - .5) * c + l);
1137
- };
1138
- //#endregion
1139
- //#region node_modules/@thi.ng/color/hsv/hsv-rgb.js
1140
- var hsvRgb = (out, src) => {
1141
- out = clampH(out || src, src);
1142
- const s = out[1];
1143
- const v = out[2];
1144
- hueRgb(out, src[0], out[3]);
1145
- return setC3(out, ((out[0] - 1) * s + 1) * v, ((out[1] - 1) * s + 1) * v, ((out[2] - 1) * s + 1) * v);
1146
- };
1147
- //#endregion
1148
- //#region node_modules/@thi.ng/color/linear.js
1149
- var linearSrgb = (x) => x <= .0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - .055;
1150
- var srgbLinear = (x) => x <= .04045 ? x / 12.92 : Math.pow((x + .055) / 1.055, 2.4);
1151
- //#endregion
1152
- //#region node_modules/@thi.ng/color/srgb/srgb-rgb.js
1153
- var srgbRgb = (out, src) => setC4(out || src, srgbLinear(src[0]), srgbLinear(src[1]), srgbLinear(src[2]), __ensureAlpha(src[3]));
1154
- //#endregion
1155
- //#region node_modules/@thi.ng/color/rgb/rgb-srgb.js
1156
- var rgbSrgb = (out, src) => setC4(out || src, linearSrgb(src[0]), linearSrgb(src[1]), linearSrgb(src[2]), __ensureAlpha(src[3]));
1157
- //#endregion
1158
- //#region node_modules/@thi.ng/color/srgb/srgb.js
1159
- var srgb = defColor({
1160
- mode: "srgb",
1161
- order: [
1162
- "r",
1163
- "g",
1164
- "b",
1165
- "alpha"
1166
- ],
1167
- from: {
1168
- abgr32: (out, src) => intAbgr32Srgb(out, src[0]),
1169
- argb32: (out, src) => intArgb32Srgb(out, src[0]),
1170
- hcy: hcyRgb,
1171
- hsi: hsiRgb,
1172
- hsl: hslRgb,
1173
- hsv: hsvRgb,
1174
- rgb: rgbSrgb
1175
- },
1176
- toRgb: srgbRgb
1177
- });
1178
- //#endregion
1179
- //#region lib/components/color-pickers/gradient-editor.tsx
1180
- var TypedDraggableList = DraggableList;
1181
- var defaultGradientData = {
1182
- repeating: false,
1183
- orientation: {
1184
- type: "angular",
1185
- value: {
1186
- value: "90",
1187
- unit: "deg"
1188
- }
1189
- },
1190
- stops: [{
1191
- color: "#000000",
1192
- offset: {
1193
- value: "0",
1194
- unit: "%"
1195
- }
1196
- }, {
1197
- color: "#ffffff",
1198
- offset: {
1199
- value: "100",
1200
- unit: "%"
1201
- }
1202
- }]
1203
- };
1204
- var isStringValue = (value) => Object.prototype.toString.call(value) === "[object String]";
1205
- var isObjectValue = (value) => value !== null && Object.prototype.toString.call(value) === "[object Object]";
1206
- var isGradientType = (value) => value === "linear" || value === "radial" || value === "conic";
1207
- var isGradientForm = (value) => value === "circle" || value === "ellipse";
1208
- var getGradientResult = (input, type) => {
1209
- if (!input || !type || isStringValue(input) || !input.stops) return "";
1210
- let output = "";
1211
- if (input.repeating) output += "repeating-";
1212
- output += `${type}-gradient(`;
1213
- if (type === "linear") {
1214
- const { orientation } = input;
1215
- if (orientation?.type === "angular") output += `${orientation.value.value}${orientation.value.unit}, `;
1216
- else if (orientation?.type === "directional") output += `to ${orientation.value}, `;
1217
- }
1218
- if (type === "radial") {
1219
- const radialPosition = isObjectValue(input.position) ? input.position : void 0;
1220
- output += `${input["shape"] ?? "circle"} at ${radialPosition?.x?.value ?? "center"} ${radialPosition?.y?.value ?? "center"}, `;
1221
- }
1222
- if (type === "conic") {
1223
- const conicPosition = isStringValue(input.position) ? input.position : "center";
1224
- output += `from ${input.angle ?? "0deg"} at ${conicPosition}, `;
1225
- }
1226
- output += input.stops.map((stop) => `${stop.color} ${stop.offset?.value ?? ""}${stop.offset?.unit ?? ""}`.trim()).join(", ");
1227
- output += ")";
1228
- return output;
1229
- };
1230
- var gradientTypes = [
1231
- {
1232
- label: __("Linear"),
1233
- value: "linear",
1234
- icon: jsx("div", { className: "es:size-4 es:rounded-full es:bg-linear-to-br es:from-current" })
1235
- },
1236
- {
1237
- label: __("Radial"),
1238
- value: "radial",
1239
- icon: jsx("div", { className: "es:size-4 es:rounded-full es:bg-radial es:from-current/75 es:to-current/10" })
1240
- },
1241
- {
1242
- label: __("Conic"),
1243
- value: "conic",
1244
- icon: jsx("div", { className: "es:size-4 es:rounded-full es:bg-conic es:from-current" })
1245
- }
1246
- ];
1247
- var linearDirections = [
1248
- {
1249
- label: __("Right"),
1250
- value: "right",
1251
- iconClass: "es:bg-linear-to-r",
1252
- valueDegrees: 90
1253
- },
1254
- {
1255
- label: __("Left"),
1256
- value: "left",
1257
- iconClass: "es:bg-linear-to-l",
1258
- valueDegrees: 180
1259
- },
1260
- {
1261
- label: __("Top"),
1262
- value: "top",
1263
- iconClass: "es:bg-linear-to-t",
1264
- valueDegrees: 270
1265
- },
1266
- {
1267
- label: __("Bottom"),
1268
- value: "bottom",
1269
- iconClass: "es:bg-linear-to-b",
1270
- valueDegrees: 90
1271
- },
1272
- {
1273
- label: __("Top-right"),
1274
- value: "top right",
1275
- iconClass: "es:bg-linear-to-tr",
1276
- valueDegrees: 45
1277
- },
1278
- {
1279
- label: __("Top-left"),
1280
- value: "top left",
1281
- iconClass: "es:bg-linear-to-tl",
1282
- valueDegrees: 315
1283
- },
1284
- {
1285
- label: __("Bottom-right"),
1286
- value: "bottom right",
1287
- iconClass: "es:bg-linear-to-br",
1288
- valueDegrees: 135
1289
- },
1290
- {
1291
- label: __("Bottom-left"),
1292
- value: "bottom left",
1293
- iconClass: "es:bg-linear-to-bl",
1294
- valueDegrees: 225
1295
- }
1296
- ];
1297
- var getGradientType = (value) => {
1298
- if (value?.startsWith("radial-gradient") || value?.startsWith("repeating-radial-gradient")) return "radial";
1299
- if (value?.startsWith("conic-gradient") || value?.startsWith("repeating-conic-gradient")) return "conic";
1300
- return "linear";
1301
- };
1302
- var stringifyGradientAxisValue = (value) => isStringValue(value) ? value : `${value.value}${value.unit}`;
1303
- var parseGradientData = (value, type) => {
1304
- try {
1305
- if (type === "radial") {
1306
- const radialGradient = K(value ?? "");
1307
- return {
1308
- ...radialGradient,
1309
- size: radialGradient.size.map((item) => ({
1310
- ...item,
1311
- value: stringifyGradientAxisValue(item.value)
1312
- })),
1313
- position: {
1314
- x: {
1315
- ...radialGradient.position.x,
1316
- value: stringifyGradientAxisValue(radialGradient.position.x.value)
1317
- },
1318
- y: {
1319
- ...radialGradient.position.y,
1320
- value: stringifyGradientAxisValue(radialGradient.position.y.value)
1321
- }
1322
- }
1323
- };
1324
- }
1325
- if (type === "conic") return j(value ?? "");
1326
- return P(value ?? "");
1327
- } catch {
1328
- return defaultGradientData;
1329
- }
1330
- };
1331
- var toMatrixAlignValue = (x = "center", y = "center") => {
1332
- const value = `${y} ${x}`;
1333
- if (value === "top left" || value === "top center" || value === "top right" || value === "center left" || value === "center center" || value === "center right" || value === "bottom left" || value === "bottom center" || value === "bottom right") return value;
1334
- return "center center";
1335
- };
1336
- var parseMatrixAlignValue = (value) => {
1337
- const [y = "center", x = "center"] = value.split(" ");
1338
- return {
1339
- x,
1340
- y
1341
- };
1342
- };
1343
- /**
1344
- * A simple gradient editor.
1345
- * Allows editing linear, radial, and conic gradients.
1346
- *
1347
- * @component
1348
- * @param {GradientEditorProps} props - Component props.
1349
- *
1350
- * @returns {JSX.Element} The GradientEditor component.
1351
- *
1352
- * @example
1353
- * <GradientEditor
1354
- * value='linear-gradient(90deg, #000000 0%, #ffffff 100%)'
1355
- * onChange={setGradient}
1356
- * />
1357
- */
1358
- var GradientEditor = (props) => {
1359
- const { value, onChange, hidden } = props;
1360
- const gradientType = useMemo(() => getGradientType(value), [value]);
1361
- const gradientData = useMemo(() => parseGradientData(value, gradientType), [gradientType, value]);
1362
- const outputGradient = useMemo(() => getGradientResult(gradientData, gradientType), [gradientData, gradientType]);
1363
- const [squarePreview, setSquarePreview] = useState(false);
1364
- if (hidden) return null;
1365
- const setGradientData = (data) => {
1366
- onChange(getGradientResult(data, gradientType));
1367
- };
1368
- const stops = gradientData.stops ?? defaultGradientData.stops;
1369
- const radialPosition = isObjectValue(gradientData.position) ? gradientData.position : void 0;
1370
- const conicPosition = isStringValue(gradientData.position) ? gradientData.position : "center center";
1371
- return jsxs("div", {
1372
- className: "es:w-full es:space-y-2.5",
1373
- children: [
1374
- jsx(TypedContainerGroup, { children: jsxs(TypedContainer, { children: [jsx("button", {
1375
- className: clsx("es:mx-auto es:block es:h-40 es:rounded-lg es:border es:border-secondary-300 es:shadow-sm es:transition-[width] es:duration-300 es:ease-spring-snappy", "es:mb-2", squarePreview ? "es:w-40" : "es:w-full"),
1376
- style: { backgroundImage: outputGradient },
1377
- onClick: () => setSquarePreview((previousValue) => !previousValue),
1378
- "aria-label": __("Toggle preview size", "eightshift-ui-components")
1379
- }), jsx("div", {
1380
- className: "es:mb-5",
1381
- children: jsx(Slider, {
1382
- "aria-label": __("Stop positions", "eightshift-ui-components"),
1383
- min: 0,
1384
- max: 100,
1385
- step: 1,
1386
- value: stops.map(({ offset }, index) => {
1387
- if (!offset) return stops.length > 1 ? index * 100 / (stops.length - 1) : 0;
1388
- return parseInt(String(offset.value), 10);
1389
- }),
1390
- onChange: (nextValue) => {
1391
- if (!Array.isArray(nextValue)) return;
1392
- setGradientData({
1393
- ...gradientData,
1394
- stops: stops.map((stop, index) => ({
1395
- ...stop,
1396
- offset: {
1397
- value: nextValue[index],
1398
- unit: "%"
1399
- }
1400
- }))
1401
- });
1402
- },
1403
- thumbContent: (index) => {
1404
- const colorData = srgb(stops[index]?.color ?? "#000000");
1405
- let foregroundColor = "black";
1406
- if (colorData.alpha >= .5 && isColorDark(colorData.r, colorData.g, colorData.b)) foregroundColor = "white";
1407
- return jsx("div", {
1408
- className: "es:pointer-events-none es:absolute es:-bottom-4.5 es:flex es:w-3 es:-translate-x-1/3 es:items-center es:justify-center es:rounded-sm es:py-px es:text-center es:font-mono es:text-12 es:leading-none es:font-semibold es:tabular-nums es:ring es:ring-accent-600",
1409
- style: {
1410
- backgroundColor: stops[index]?.color,
1411
- color: foregroundColor
1412
- },
1413
- children: index + 1
1414
- });
1415
- },
1416
- noActiveHighlight: true,
1417
- tooltipContent: (currentValue) => `${Math.round(currentValue)}%`
1418
- })
1419
- })] }) }),
1420
- jsxs(TypedContainerGroup, { children: [
1421
- jsx(TypedContainer, { children: jsx(OptionSelect, {
1422
- label: __("Type", "eightshift-ui-components"),
1423
- value: gradientType,
1424
- onChange: (nextType) => {
1425
- if (isGradientType(nextType)) onChange(getGradientResult({ stops }, nextType));
1426
- },
1427
- options: gradientTypes,
1428
- type: "toggleButtons",
1429
- inline: true
1430
- }) }),
1431
- jsx(TypedContainer, {
1432
- hidden: gradientType !== "linear",
1433
- children: jsx(NumberPicker, {
1434
- inline: true,
1435
- icon: angle,
1436
- label: __("Angle", "eightshift-ui-components"),
1437
- min: 0,
1438
- max: 360,
1439
- step: 1,
1440
- value: gradientData.orientation?.type === "angular" ? Number(gradientData.orientation.value.value) : void 0,
1441
- onChange: (nextAngle) => {
1442
- setGradientData({
1443
- ...gradientData,
1444
- orientation: {
1445
- type: "angular",
1446
- value: {
1447
- value: nextAngle,
1448
- unit: "deg"
1449
- }
1450
- }
1451
- });
1452
- },
1453
- suffix: "°",
1454
- size: "medium",
1455
- className: "es:grow",
1456
- placeholder: String(linearDirections.find(({ value }) => value === (gradientData.orientation?.type === "directional" ? gradientData.orientation.value : void 0))?.valueDegrees ?? ""),
1457
- children: jsx(Menu, {
1458
- triggerIcon: sliders,
1459
- triggerProps: {
1460
- tooltip: __("Presets", "eightshift-ui-components"),
1461
- slot: null
1462
- },
1463
- keepOpen: true,
1464
- children: linearDirections.map(({ label, value, iconClass }) => jsx(MenuItem, {
1465
- icon: jsx("div", { className: clsx("es:size-5 es:rounded-sm es:from-secondary-700 es:to-secondary-200", iconClass) }),
1466
- onClick: () => {
1467
- setGradientData({
1468
- ...gradientData,
1469
- orientation: {
1470
- type: "directional",
1471
- value
1472
- }
1473
- });
1474
- },
1475
- children: label
1476
- }, value))
1477
- })
1478
- })
1479
- }),
1480
- jsx(TypedContainer, {
1481
- hidden: gradientType !== "radial",
1482
- children: jsx(OptionSelect, {
1483
- label: __("Shape", "eightshift-ui-components"),
1484
- icon: genericShapesAlt,
1485
- inline: true,
1486
- options: [{
1487
- label: __("Circle", "eightshift-ui-components"),
1488
- value: "circle"
1489
- }, {
1490
- label: __("Ellipse", "eightshift-ui-components"),
1491
- value: "ellipse"
1492
- }],
1493
- value: gradientData["shape"],
1494
- onChange: (nextValue) => {
1495
- if (isGradientForm(nextValue)) setGradientData({
1496
- ...gradientData,
1497
- "shape": nextValue
1498
- });
1499
- }
1500
- })
1501
- }),
1502
- jsx(TypedContainer, {
1503
- hidden: gradientType !== "radial",
1504
- children: jsx(MatrixAlign, {
1505
- icon: centerPoint,
1506
- label: __("Center point", "eightshift-ui-components"),
1507
- value: toMatrixAlignValue(radialPosition?.x?.value, radialPosition?.y?.value),
1508
- onChange: (nextPosition) => {
1509
- const { x, y } = parseMatrixAlignValue(nextPosition);
1510
- setGradientData({
1511
- ...gradientData,
1512
- position: {
1513
- x: {
1514
- type: "keyword",
1515
- value: x
1516
- },
1517
- y: {
1518
- type: "keyword",
1519
- value: y
1520
- }
1521
- }
1522
- });
1523
- }
1524
- })
1525
- }),
1526
- jsx(TypedContainer, {
1527
- hidden: gradientType !== "conic",
1528
- children: jsx(NumberPicker, {
1529
- inline: true,
1530
- icon: angle,
1531
- label: __("Angle", "eightshift-ui-components"),
1532
- min: 0,
1533
- max: 360,
1534
- step: 1,
1535
- value: parseInt(gradientData.angle?.replace("deg", "") ?? "0", 10),
1536
- onChange: (nextValue) => {
1537
- setGradientData({
1538
- ...gradientData,
1539
- angle: `${nextValue}deg`
1540
- });
1541
- },
1542
- size: "medium",
1543
- suffix: "°"
1544
- })
1545
- }),
1546
- jsx(TypedContainer, {
1547
- hidden: gradientType !== "conic",
1548
- children: jsx(MatrixAlign, {
1549
- icon: centerPoint,
1550
- label: __("Center point", "eightshift-ui-components"),
1551
- value: (() => {
1552
- const [x = "center", y = "center"] = conicPosition.split(" ");
1553
- return toMatrixAlignValue(x, y);
1554
- })(),
1555
- onChange: (nextValue) => {
1556
- const { x, y } = parseMatrixAlignValue(nextValue);
1557
- setGradientData({
1558
- ...gradientData,
1559
- position: `${x} ${y}`
1560
- });
1561
- }
1562
- })
1563
- }),
1564
- jsx(TypedContainer, { children: jsx(Toggle, {
1565
- checked: Boolean(gradientData.repeating),
1566
- onChange: (nextValue) => {
1567
- setGradientData({
1568
- ...gradientData,
1569
- repeating: nextValue
1570
- });
1571
- },
1572
- label: __("Repeating", "eightshift-ui-components"),
1573
- icon: gradientRepeat
1574
- }) })
1575
- ] }),
1576
- jsx(BaseControl, {
1577
- icon: gradientStop,
1578
- label: __("Gradient stops", "eightshift-ui-components"),
1579
- inline: true,
1580
- children: jsx(Button, {
1581
- icon: add,
1582
- size: "small",
1583
- onPress: () => {
1584
- setGradientData({
1585
- ...gradientData,
1586
- stops: [...stops, { color: "#000000FF" }]
1587
- });
1588
- },
1589
- type: "simple",
1590
- "aria-label": __("Add stop", "eightshift-ui-components")
1591
- })
1592
- }),
1593
- jsx(TypedContainerGroup, { children: jsx(TypedDraggableList, {
1594
- items: stops,
1595
- onChange: (items) => {
1596
- setGradientData({
1597
- ...gradientData,
1598
- stops: items.map(({ color }, index) => ({
1599
- ...stops[index],
1600
- color
1601
- }))
1602
- });
1603
- },
1604
- className: "es:contents",
1605
- children: (item) => {
1606
- const { color, updateData, itemIndex } = item;
1607
- return jsx(DraggableListItem, {
1608
- label: sprintf(__("Stop %s", "eightshift-ui-components"), String(itemIndex + 1)),
1609
- subtitle: color,
1610
- icon: jsx(TriggeredPopover, {
1611
- triggerButtonIcon: jsx(ColorSwatch, {
1612
- className: "es:size-5.5 es:rounded-full es:border es:border-white es:ring-1 es:ring-black",
1613
- color
1614
- }),
1615
- triggerButtonProps: {
1616
- size: "small",
1617
- type: "ghost",
1618
- className: "es:p-0!"
1619
- },
1620
- className: "es:p-2.5",
1621
- children: jsx(SolidColorPicker, {
1622
- value: color,
1623
- onChange: (nextColor) => {
1624
- updateData({ color: nextColor ?? color });
1625
- },
1626
- allowTransparency: true,
1627
- outputFormat: "rgba"
1628
- })
1629
- }),
1630
- children: jsx(ButtonGroup, { children: jsx(Button, {
1631
- onPress: () => {
1632
- setGradientData({
1633
- ...gradientData,
1634
- stops: stops.filter((_, index) => index !== itemIndex)
1635
- });
1636
- },
1637
- icon: trash,
1638
- size: "small",
1639
- "aria-label": __("Delete stop", "eightshift-ui-components"),
1640
- disabled: stops.length <= 2,
1641
- type: "dangerGhost"
1642
- }) })
1643
- });
1644
- }
1645
- }) })
1646
- ]
1647
- });
1648
- };
1649
- //#endregion
1650
- export { GradientEditor as t };