@orangelogic/design-system 2.133.0 → 2.135.0

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 (232) hide show
  1. package/library/chunks/asset-link-format.BBWyY5fn.js +2627 -0
  2. package/library/chunks/{button.DYoFn504.js → button.3giRMk79.js} +2 -2
  3. package/library/chunks/{checkbox.uH0uF0OV.js → checkbox.B-2O517F.js} +3 -3
  4. package/library/chunks/{table.DuP4v5FN.js → color-swatch-group.DC6vIYo4.js} +3133 -2887
  5. package/library/chunks/{color-swatch.0zyBEfL_.js → color-swatch.g3FPUnxM.js} +2 -2
  6. package/library/chunks/{confirm-popover.DpVYvK20.js → confirm-popover.DtndPsMa.js} +3 -3
  7. package/library/chunks/{dialog.BwBD_hJi.js → dialog.BQq3xBeH.js} +2 -2
  8. package/library/chunks/directive-helpers.DEDMV45_.js +42 -0
  9. package/library/chunks/{document-viewer.BM716ovi.js → document-viewer.BQPJD2lJ.js} +8 -8
  10. package/library/chunks/{dom.BXeuEG1b.js → dom.acWb8KCK.js} +1 -1
  11. package/library/chunks/{dot-pagination.B70lV5Av.js → dot-pagination.DBk9Rz1e.js} +1 -1
  12. package/library/chunks/{endpoints.6E17hFiK.js → endpoints.tU0_RZ_7.js} +4 -4
  13. package/library/chunks/{file-on-demand.D-Ectby2.js → file-on-demand.Bnloo9Ui.js} +12 -12
  14. package/library/chunks/folder-select.DuG4dSPm.js +942 -0
  15. package/library/chunks/{form.3af0bYrm.js → form.K1XOtu3S.js} +1 -1
  16. package/library/chunks/{header.BMGvKrdP.js → header.Bpjw08j7.js} +1 -1
  17. package/library/chunks/{i18n.DoMIwXr2.js → i18n.DJikbkDK.js} +48 -12
  18. package/library/chunks/{icon-button.B-Jf9W3v.js → icon-button.xobY-9OH.js} +1 -1
  19. package/library/chunks/{iframe.Cdv6esyS.js → iframe.BkvxcywO.js} +1 -1
  20. package/library/chunks/{image.SLqIVjqc.js → image.KZRXIthe.js} +241 -229
  21. package/library/chunks/{input.CQNhMu4z.js → input.GUw7x9tK.js} +3 -3
  22. package/library/chunks/{keyed.C0rkKrxH.js → keyed.DdOUTIg-.js} +1 -1
  23. package/library/chunks/{live.SCz6M8Gs.js → live.DCegntDo.js} +1 -1
  24. package/library/chunks/{option.SCVixE2L.js → option.uHye0aDT.js} +1 -1
  25. package/library/chunks/{pagination.BFE6Nk3_.js → pagination.D8Hzwlan.js} +6 -6
  26. package/library/chunks/{ref.bzeTdX0K.js → ref.DktKp7fP.js} +1 -1
  27. package/library/chunks/{repeat.DbF2p5ae.js → repeat.CFjcER6_.js} +1 -1
  28. package/library/chunks/{resizable-component.styles.BVhOesNE.js → resizable-component.styles.CAfXABBc.js} +5 -5
  29. package/library/chunks/{string.CbnVBzsd.js → string.CjJ09HK3.js} +14 -11
  30. package/library/chunks/{tab-group.C-p2Dljr.js → tab-group.0_aOE22R.js} +5 -5
  31. package/library/chunks/toast.Bz-j7zP2.js +109 -0
  32. package/library/chunks/{tree.9PK8ifJd.js → tree.C14rLLol.js} +3 -3
  33. package/library/chunks/url.-WDYqplj.js +42 -0
  34. package/library/components/alert.js +2 -2
  35. package/library/components/asset-link-format.js +16 -2163
  36. package/library/components/atoms.js +49 -51
  37. package/library/components/audio.js +3 -3
  38. package/library/components/border-input-group.js +2 -2
  39. package/library/components/breadcrumb.js +1 -1
  40. package/library/components/button.js +3 -3
  41. package/library/components/checkbox.js +3 -3
  42. package/library/components/color-picker.js +4 -4
  43. package/library/components/color-swatch-group.js +6 -7
  44. package/library/components/color-swatch.js +3 -3
  45. package/library/components/confirm-popover.js +4 -4
  46. package/library/components/copy-button.js +1 -1
  47. package/library/components/corner-position-input-group.js +3 -3
  48. package/library/components/date-calendar.js +2 -2
  49. package/library/components/details.js +1 -1
  50. package/library/components/dialog.js +3 -3
  51. package/library/components/diff.js +1 -1
  52. package/library/components/document-viewer.js +4 -4
  53. package/library/components/dot-pagination.js +2 -2
  54. package/library/components/drawer.js +2 -2
  55. package/library/components/dropdown.js +2 -2
  56. package/library/components/dynamic-select.js +88 -85
  57. package/library/components/e-chart.js +1 -1
  58. package/library/components/element-clamp.js +2 -2
  59. package/library/components/file-on-demand.js +13 -13
  60. package/library/components/folder-select.js +5 -5
  61. package/library/components/format-bytes.js +1 -1
  62. package/library/components/format-date.js +1 -1
  63. package/library/components/format-number.js +1 -1
  64. package/library/components/format-time.js +1 -1
  65. package/library/components/header.js +2 -2
  66. package/library/components/icon-button.js +2 -2
  67. package/library/components/iframe.js +2 -2
  68. package/library/components/image-comparer.js +1 -1
  69. package/library/components/image.js +6 -5
  70. package/library/components/input.js +4 -4
  71. package/library/components/line-clamp.js +1 -1
  72. package/library/components/masonry.js +3 -3
  73. package/library/components/menu-item.js +2 -2
  74. package/library/components/menu.js +1 -1
  75. package/library/components/molecules.js +27 -29
  76. package/library/components/option.js +2 -2
  77. package/library/components/organisms.js +6 -6
  78. package/library/components/padding-input-group.js +2 -2
  79. package/library/components/pagination.js +7 -7
  80. package/library/components/popup.js +1 -1
  81. package/library/components/position-picker.js +1 -1
  82. package/library/components/progress-bar.js +1 -1
  83. package/library/components/progress-ring.js +1 -1
  84. package/library/components/radio-group.js +1 -1
  85. package/library/components/range.js +5 -5
  86. package/library/components/rating.js +2 -2
  87. package/library/components/relative-time.js +1 -1
  88. package/library/components/select.js +10 -7
  89. package/library/components/shadow-input-group.js +2 -2
  90. package/library/components/share-option-list.js +3 -3
  91. package/library/components/sidebar.js +1 -1
  92. package/library/components/size-input-group.js +3 -3
  93. package/library/components/spinner.js +1 -1
  94. package/library/components/split-panel.js +1 -1
  95. package/library/components/stepper-wizard.js +1 -1
  96. package/library/components/switch.js +2 -2
  97. package/library/components/tab-group.js +5 -5
  98. package/library/components/tab.js +2 -2
  99. package/library/components/tag.js +2 -2
  100. package/library/components/textarea.js +2 -2
  101. package/library/components/timecode.js +1 -1
  102. package/library/components/tooltip.js +1 -1
  103. package/library/components/tree-item.js +4 -4
  104. package/library/components/tree.js +2 -2
  105. package/library/components/typeface.js +2 -2
  106. package/library/components/types.js +46083 -43779
  107. package/library/components/video.js +3 -3
  108. package/library/package.json +3 -1
  109. package/library/packages/atoms/src/components/image/image.d.ts +3 -0
  110. package/library/packages/atoms/src/components/select/select.d.ts +6 -0
  111. package/library/packages/atoms/src/components/tab-group/tab-group.d.ts +1 -0
  112. package/library/packages/atoms/src/index.d.ts +0 -1
  113. package/library/packages/events/src/cx-folder-select-selection-seeded.d.ts +6 -0
  114. package/library/packages/events/src/cx-image-src-resolved.d.ts +9 -0
  115. package/library/packages/events/src/cx-pdf-viewer-annotation-draw-mode-change.d.ts +10 -0
  116. package/library/packages/events/src/cx-pdf-viewer-annotation-draw-params-change.d.ts +11 -0
  117. package/library/packages/events/src/cx-pdf-viewer-more-options-select.d.ts +8 -0
  118. package/library/packages/events/src/cx-pdf-viewer-toolbar-annotation-mode-change.d.ts +10 -0
  119. package/library/packages/events/src/cx-pdf-viewer-toolbar-annotation-params-change.d.ts +11 -0
  120. package/library/packages/events/src/cx-pdf-viewer-toolbar-click.d.ts +8 -0
  121. package/library/packages/events/src/cx-pdf-viewer-toolbar-page-change.d.ts +8 -0
  122. package/library/packages/events/src/cx-pdf-viewer-toolbar-scale-change.d.ts +8 -0
  123. package/library/packages/events/src/cx-pdf-viewer-toolbar-view-toggle.d.ts +11 -0
  124. package/library/packages/events/src/cx-pdf-viewer-view-on-asset-toggle.d.ts +11 -0
  125. package/library/packages/events/src/cx-video-src-resolved.d.ts +8 -0
  126. package/library/packages/events/src/events.d.ts +13 -0
  127. package/library/packages/hybrid/table-core/src/index.d.ts +3 -0
  128. package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-row-actions/table-row-actions-dropdown.d.ts +8 -8
  129. package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-row-actions/table-row-actions.d.ts +6 -5
  130. package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-toolbar/table-dropdown-filter.d.ts +4 -4
  131. package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-toolbar/table-group-by-dropdown.d.ts +4 -4
  132. package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-toolbar/table-saved-search-dropdown.d.ts +6 -5
  133. package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-toolbar/table-toolbar.d.ts +12 -12
  134. package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/table.d.ts +11 -11
  135. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Clipboard/Clipboard.d.ts +1 -1
  136. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Clipboard/extensions/extensions.d.ts +1 -1
  137. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/History/History.d.ts +1 -1
  138. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/History/extensions/extensions.d.ts +1 -1
  139. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/HoverMenu/HoverMenu.d.ts +1 -1
  140. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Import/defaults/importers.d.ts +1 -1
  141. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/SelectRange/SelectRange.d.ts +4 -4
  142. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/SelectRange/extensions/extensions.d.ts +2 -2
  143. package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +1 -1
  144. package/library/packages/molecules/src/dynamic-select/dynamic-select.d.ts +5 -0
  145. package/library/packages/molecules/src/folder-select/components/folder-select-tree-item/folder-select-tree-item.d.ts +32 -0
  146. package/library/packages/molecules/src/folder-select/folder-select.d.ts +20 -3
  147. package/library/packages/molecules/src/gallery-item/gallery-item.d.ts +5 -0
  148. package/library/packages/molecules/src/index.d.ts +1 -1
  149. package/library/packages/molecules/src/library-index.d.ts +0 -1
  150. package/library/packages/molecules/src/pdf-viewer-toolbar/components/index.d.ts +3 -0
  151. package/library/packages/molecules/src/pdf-viewer-toolbar/components/pdf-viewer-annotation-draw/pdf-viewer-annotation-draw.d.ts +92 -0
  152. package/library/packages/molecules/src/pdf-viewer-toolbar/components/pdf-viewer-more-options/pdf-viewer-more-options.d.ts +43 -0
  153. package/library/packages/molecules/src/pdf-viewer-toolbar/components/pdf-viewer-more-options/pdf-viewer-more-options.styles.d.ts +2 -0
  154. package/library/packages/molecules/src/pdf-viewer-toolbar/components/pdf-viewer-view-on-asset/pdf-viewer-view-on-asset.d.ts +42 -0
  155. package/library/packages/molecules/src/pdf-viewer-toolbar/components/pdf-viewer-view-on-asset/pdf-viewer-view-on-asset.styles.d.ts +2 -0
  156. package/library/packages/molecules/src/pdf-viewer-toolbar/pdf-viewer-toolbar.d.ts +101 -0
  157. package/library/packages/molecules/src/pdf-viewer-toolbar/pdf-viewer-toolbar.styles.d.ts +2 -0
  158. package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +66 -0
  159. package/library/packages/organisms/src/color-swatch-group/color-swatch-group.constants.d.ts +1 -1
  160. package/library/packages/organisms/src/color-swatch-group/color-swatch-group.d.ts +1 -1
  161. package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.constants.d.ts +1 -1
  162. package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.d.ts +1 -1
  163. package/library/packages/organisms/src/content-builder/components/config-form/config-form-controller.d.ts +1 -0
  164. package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +2 -9
  165. package/library/packages/organisms/src/content-builder/configs/dam-view.d.ts +1 -7
  166. package/library/packages/organisms/src/content-builder/configs-controller.d.ts +2 -14
  167. package/library/packages/organisms/src/content-builder/styleController.d.ts +1 -1
  168. package/library/packages/organisms/src/dam-custom-toolbar-buttons-editor/dam-custom-toolbar-buttons-editor.d.ts +9 -1
  169. package/library/packages/organisms/src/dashboard-table/dashboard-table.d.ts +1 -1
  170. package/library/packages/organisms/src/index.d.ts +1 -0
  171. package/library/packages/{molecules → organisms}/src/list-editor/list-editor.d.ts +9 -3
  172. package/library/packages/organisms/src/list-editor/list-editor.styles.d.ts +2 -0
  173. package/library/packages/organisms/src/video-chapters-manager/video-chapters-manager.d.ts +1 -1
  174. package/library/packages/services/src/api/folder/folder.types.d.ts +9 -2
  175. package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +16 -0
  176. package/library/packages/types/src/content-builder.d.ts +1 -1
  177. package/library/packages/types/src/dam-view.d.ts +1 -0
  178. package/library/packages/types/src/folder-select.d.ts +8 -1
  179. package/library/packages/types/src/pdf-viewer-toolbar.d.ts +82 -0
  180. package/library/packages/utils/src/custom-element/i18n.d.ts +43 -7
  181. package/library/packages/utils/src/string/string.d.ts +1 -1
  182. package/library/packages/utils/src/url/url.d.ts +12 -2
  183. package/library/react-web-component.d.ts +514 -913
  184. package/library/utils.js +200 -199
  185. package/package.json +3 -1
  186. package/library/chunks/asset.CcxcYY9d.js +0 -469
  187. package/library/chunks/color-swatch-group.DlTVQ3Ul.js +0 -362
  188. package/library/chunks/directive-helpers.Dm4rc594.js +0 -37
  189. package/library/chunks/folder-select.DHV6f6TA.js +0 -884
  190. package/library/chunks/list-editor.BXY4UIAI.js +0 -1394
  191. package/library/chunks/responsive.Cf65FCWd.js +0 -17
  192. package/library/chunks/toast.D3AW3RWv.js +0 -94
  193. package/library/chunks/url.Cj9cIQXJ.js +0 -27
  194. package/library/components/list-editor.d.ts +0 -3
  195. package/library/components/list-editor.js +0 -33
  196. package/library/components/table.d.ts +0 -3
  197. package/library/components/table.js +0 -84
  198. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/index.d.ts +0 -0
  199. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-footer/table-footer.d.ts +0 -0
  200. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-footer/table-footer.styles.d.ts +0 -0
  201. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-row-actions/table-row-actions.styles.d.ts +0 -0
  202. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-toolbar/table-toolbar.styles.d.ts +0 -0
  203. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/controllers/ajax-facets/ajax-facet-data-controller.d.ts +0 -0
  204. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/controllers/ajax-facets/ajax-facet-filter-controller.d.ts +0 -0
  205. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/controllers/filter-controller.d.ts +0 -0
  206. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/controllers/select-all-controller.d.ts +0 -0
  207. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-alert.styles.d.ts +0 -0
  208. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-base.styles.d.ts +0 -0
  209. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-calcs.styles.d.ts +0 -0
  210. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-clickable-cell.styles.d.ts +0 -0
  211. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-data-tree.styles.d.ts +0 -0
  212. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-edit.styles.d.ts +0 -0
  213. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-footer.styles.d.ts +0 -0
  214. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-format.styles.d.ts +0 -0
  215. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-group-rows.styles.d.ts +0 -0
  216. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-header.styles.d.ts +0 -0
  217. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-hover-menu.styles.d.ts +0 -0
  218. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-move-rows.styles.d.ts +0 -0
  219. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-page.styles.d.ts +0 -0
  220. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-placeholder.styles.d.ts +0 -0
  221. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-popup.styles.d.ts +0 -0
  222. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-print.styles.d.ts +0 -0
  223. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-resize.styles.d.ts +0 -0
  224. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-responsive-layout.styles.d.ts +0 -0
  225. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-rows.styles.d.ts +0 -0
  226. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-rtl.styles.d.ts +0 -0
  227. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-select-range.styles.d.ts +0 -0
  228. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-spreadsheet.styles.d.ts +0 -0
  229. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/table-data-loader.d.ts +0 -0
  230. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/table.styles.d.ts +0 -0
  231. /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/table.utils.d.ts +0 -0
  232. /package/library/packages/molecules/src/{list-editor/list-editor.styles.d.ts → pdf-viewer-toolbar/components/pdf-viewer-annotation-draw/pdf-viewer-annotation-draw.styles.d.ts} +0 -0
package/library/utils.js CHANGED
@@ -1,39 +1,38 @@
1
- import { a as V } from "./chunks/url.Cj9cIQXJ.js";
2
- import { R as Tt, U as wt, c as Ct, b as Mt, i as xt, t as yt } from "./chunks/url.Cj9cIQXJ.js";
3
- import { e as Et, f as At, g as It, c as Lt, i as Ft, a as Rt, d as bt, m as vt, b as kt, r as Vt, t as Ot } from "./chunks/toast.D3AW3RWv.js";
4
- import { e as Ut, a as Nt, f as _t, g as Pt, d as Ht, b as Xt, c as Bt, i as Wt, p as Gt, s as $t } from "./chunks/browser.BHOCIF_A.js";
5
- import { d as qt, C as Zt, e as Qt, H as jt, R as Jt, c as Kt, h as te, f as ee, g as re, l as ae, a as se, p as oe, b as ne } from "./chunks/color.LzSGBy7o.js";
6
- import { a as le, b as ce, g as ue } from "./chunks/modal.U1QltQKe.js";
7
- import { a as fe, p as he, c as ge, b as de, s as pe, w as De } from "./chunks/event.BeKOsirN.js";
8
- import { t as we } from "./chunks/converters.DkDtLstb.js";
9
- import { c as Me } from "./chunks/custom-element.L4WJXn1j.js";
10
- import { d as ye } from "./chunks/debounce.DaHuiSGU.js";
11
- import { d as Ee } from "./chunks/default-value.COZopaet.js";
12
- import { d as Ie } from "./chunks/drag.DXEXVXPv.js";
13
- import { f as O } from "./chunks/form.3af0bYrm.js";
14
- import { F as Fe, c as Re, g as be, v as ve, a as ke } from "./chunks/form.3af0bYrm.js";
15
- import { L as Oe, r as Ye } from "./chunks/i18n.DoMIwXr2.js";
16
- import { c as Ne, q as _e } from "./chunks/math.DuKzLacZ.js";
17
- import { g as He, l as Xe, s as Be, u as We } from "./chunks/scroll.xtO5yojm.js";
18
- import { j as y } from "./chunks/dom.BXeuEG1b.js";
19
- import { c as $e, d as ze, k as qe, a as Ze, g as Qe, h as je, b as Je, f as Ke, i as tr, e as er, l as rr, s as ar } from "./chunks/dom.BXeuEG1b.js";
20
- import { H as or, a as nr, g as ir } from "./chunks/slot.j5oheLJC.js";
21
- import { g as cr, a as ur } from "./chunks/tabbable.CcMz3mIL.js";
22
- import { i as fr } from "./chunks/user-agent.D9aPuOyL.js";
23
- import { w as gr } from "./chunks/watch.CThbualB.js";
24
- import { C as pr } from "./chunks/calendar-grid.CvdcwfTo.js";
25
- import { b as Tr, e as wr, f as Cr, g as Mr, a as xr, i as yr, d as Sr, c as Er, n as Ar, p as Ir, t as Lr } from "./chunks/date.dSYNLBVO.js";
1
+ import { b as V } from "./chunks/url.-WDYqplj.js";
2
+ import { R as Tt, U as wt, e as Ct, d as yt, a as Mt, c as xt, i as St, t as Et } from "./chunks/url.-WDYqplj.js";
3
+ import { j as It, f as Lt, a as Ft, b as Rt, g as bt, e as vt, i as kt, c as Vt, h as Ot, m as Yt, d as Ut, r as Nt, t as Pt } from "./chunks/toast.Bz-j7zP2.js";
4
+ import { e as Ht, a as Xt, f as Bt, g as Wt, d as Gt, b as $t, c as zt, i as qt, p as Qt, s as Zt } from "./chunks/browser.BHOCIF_A.js";
5
+ import { d as Jt, C as Kt, e as te, H as ee, R as re, c as ae, h as se, f as oe, g as ne, l as ie, a as le, p as ce, b as ue } from "./chunks/color.LzSGBy7o.js";
6
+ import { a as fe, b as he, g as ge } from "./chunks/modal.U1QltQKe.js";
7
+ import { a as pe, p as De, c as Te, b as we, s as Ce, w as ye } from "./chunks/event.BeKOsirN.js";
8
+ import { t as xe } from "./chunks/converters.DkDtLstb.js";
9
+ import { c as Ee } from "./chunks/custom-element.L4WJXn1j.js";
10
+ import { d as Ie } from "./chunks/debounce.DaHuiSGU.js";
11
+ import { d as Fe } from "./chunks/default-value.COZopaet.js";
12
+ import { d as be } from "./chunks/drag.DXEXVXPv.js";
13
+ import { f as O } from "./chunks/form.K1XOtu3S.js";
14
+ import { F as ke, c as Ve, g as Oe, v as Ye, a as Ue } from "./chunks/form.K1XOtu3S.js";
15
+ import { L as Pe, r as _e } from "./chunks/i18n.DJikbkDK.js";
16
+ import { c as Xe, q as Be } from "./chunks/math.DuKzLacZ.js";
17
+ import { g as Ge, l as $e, s as ze, u as qe } from "./chunks/scroll.xtO5yojm.js";
18
+ import { j as x } from "./chunks/dom.acWb8KCK.js";
19
+ import { c as Ze, d as je, k as Je, a as Ke, g as tr, h as er, b as rr, f as ar, i as sr, e as or, l as nr, s as ir } from "./chunks/dom.acWb8KCK.js";
20
+ import { H as cr, a as ur, g as mr } from "./chunks/slot.j5oheLJC.js";
21
+ import { g as hr, a as gr } from "./chunks/tabbable.CcMz3mIL.js";
22
+ import { i as pr } from "./chunks/user-agent.D9aPuOyL.js";
23
+ import { w as Tr } from "./chunks/watch.CThbualB.js";
24
+ import { C as Cr } from "./chunks/calendar-grid.CvdcwfTo.js";
25
+ import { b as Mr, e as xr, f as Sr, g as Er, a as Ar, i as Ir, d as Lr, c as Fr, n as Rr, p as br, t as vr } from "./chunks/date.dSYNLBVO.js";
26
26
  import { e as c, a as u, D as m } from "./chunks/date-picker.DTUICGb9.js";
27
- import { f as Rr } from "./chunks/content-builder.BGzxZUgi.js";
28
- import { c as vr, f as kr, e as Vr, b as Or, g as Yr, d as Ur, i as Nr, r as _r, a as Pr } from "./chunks/image.BzmclWBR.js";
29
- import { b as Xr, e as Br } from "./chunks/waveform.1U9U_0rd.js";
30
- import { a as Gr, b as $r, c as zr, e as qr, d as Zr, f as Qr, g as jr, r as Jr, s as Kr } from "./chunks/number.B4PQLJIg.js";
31
- import { s as ea } from "./chunks/parse.Cu5nBDTb.js";
32
- import { g as aa, a as sa } from "./chunks/responsive.Cf65FCWd.js";
33
- import { c as na, b as ia, e as la, f as ca, m as ua, g as ma, k as fa, p as ha, v as ga, r as da, a as pa, d as Da, s as Ta, l as wa, o as Ca, h as Ma, n as xa, q as ya, t as Sa, u as Ea } from "./chunks/string.CbnVBzsd.js";
34
- import { g as Ia, a as La } from "./chunks/template.ClovJacp.js";
35
- import { c as Ra, f as ba, a as va, g as ka } from "./chunks/time.BSmpFe2G.js";
36
- import { b as Oa } from "./chunks/transformation.c-RS37zA.js";
27
+ import { f as Vr } from "./chunks/content-builder.BGzxZUgi.js";
28
+ import { c as Yr, f as Ur, e as Nr, b as Pr, g as _r, d as Hr, i as Xr, r as Br, a as Wr } from "./chunks/image.BzmclWBR.js";
29
+ import { b as $r, e as zr } from "./chunks/waveform.1U9U_0rd.js";
30
+ import { a as Qr, b as Zr, c as jr, e as Jr, d as Kr, f as ta, g as ea, r as ra, s as aa } from "./chunks/number.B4PQLJIg.js";
31
+ import { s as oa } from "./chunks/parse.Cu5nBDTb.js";
32
+ import { b as ia, d as la, e as ca, f as ua, l as ma, g as fa, k as ha, p as ga, v as da, r as pa, a as Da, c as Ta, s as wa, q as Ca, n as ya, t as Ma, m as xa, o as Sa, h as Ea, u as Aa } from "./chunks/string.CjJ09HK3.js";
33
+ import { g as La, a as Fa } from "./chunks/template.ClovJacp.js";
34
+ import { c as ba, f as va, a as ka, g as Va } from "./chunks/time.BSmpFe2G.js";
35
+ import { b as Ya } from "./chunks/transformation.c-RS37zA.js";
37
36
  function n(t) {
38
37
  const e = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), s = String(t.getDate()).padStart(2, "0");
39
38
  return `${e}-${r}-${s}`;
@@ -248,7 +247,7 @@ function q(t) {
248
247
  e
249
248
  );
250
249
  }
251
- function Z(t) {
250
+ function Q(t) {
252
251
  if (!this.ownerDocument.defaultView?.Matrix3 || !t)
253
252
  return;
254
253
  const e = this.ownerDocument.defaultView?.location.origin;
@@ -260,7 +259,7 @@ function Z(t) {
260
259
  e
261
260
  );
262
261
  }
263
- function Q(t, e = void 0) {
262
+ function Z(t, e = void 0) {
264
263
  !this.ownerDocument.defaultView?.Matrix3 || !t || this.ownerDocument.defaultView?.open(
265
264
  V(t, "https://", !0),
266
265
  e ?? "_blank"
@@ -279,24 +278,24 @@ function j(t) {
279
278
  );
280
279
  }
281
280
  function J(t, e) {
282
- if (!this.ownerDocument.defaultView?.Matrix3 || !t || !e)
281
+ if (!this.ownerDocument.defaultView?.Matrix3 || !t)
283
282
  return;
284
- const r = this.ownerDocument.defaultView?.location.origin;
285
- r && this.ownerDocument?.defaultView?.postMessage(
286
- { detail: { assetIds: t, formats: e }, type: "cx-cms5-download-assets" },
287
- r
283
+ const r = e || {}, s = this.ownerDocument.defaultView?.location.origin;
284
+ s && this.ownerDocument?.defaultView?.postMessage(
285
+ { detail: { assetIds: t, formats: r }, type: "cx-cms5-download-assets" },
286
+ s
288
287
  );
289
288
  }
290
289
  class K {
291
290
  constructor(e) {
292
- this.currentZIndex = y(), (this.host = e).addController(this);
291
+ this.currentZIndex = x(), (this.host = e).addController(this);
293
292
  }
294
293
  hostConnected() {
295
294
  }
296
295
  hostDisconnected() {
297
296
  }
298
297
  async activatePopup() {
299
- this.currentZIndex = y();
298
+ this.currentZIndex = x();
300
299
  }
301
300
  }
302
301
  class tt {
@@ -467,7 +466,7 @@ function mt(t, e) {
467
466
  function ft(t, e) {
468
467
  typeof Storage < "u" && localStorage.setItem(t, e.toString());
469
468
  }
470
- const _ = 10;
469
+ const P = 10;
471
470
  function ht(t, e) {
472
471
  let r = 0, s = t.length;
473
472
  for (; r < s; ) {
@@ -476,7 +475,7 @@ function ht(t, e) {
476
475
  }
477
476
  t.splice(r, 0, e);
478
477
  }
479
- function P(t, e, r) {
478
+ function _(t, e, r) {
480
479
  return t.find(
481
480
  (s) => s.col === e && s.row === r
482
481
  ) ?? null;
@@ -523,8 +522,8 @@ async function* gt({
523
522
  const T = g * i + d, D = T * s;
524
523
  if (D >= r)
525
524
  continue;
526
- const w = d * p, C = g * l, M = P(t[a] ?? [], d, g), x = d === i - 1 && g === f - 1 || D + s >= r;
527
- M ? yield { ...M, isLastFrame: x } : (await H(o, D, s), k.drawImage(
525
+ const w = d * p, C = g * l, y = _(t[a] ?? [], d, g), M = d === i - 1 && g === f - 1 || D + s >= r;
526
+ y ? yield { ...y, isLastFrame: M } : (await H(o, D, s), k.drawImage(
528
527
  o,
529
528
  w,
530
529
  C,
@@ -536,10 +535,10 @@ async function* gt({
536
535
  frameHeight: l,
537
536
  frameWidth: p,
538
537
  index: T,
539
- isLastFrame: x,
538
+ isLastFrame: M,
540
539
  row: g,
541
540
  rows: f,
542
- time: Number(D.toFixed(_)),
541
+ time: Number(D.toFixed(P)),
543
542
  x: w,
544
543
  y: C
545
544
  }), await new Promise(requestAnimationFrame);
@@ -557,186 +556,188 @@ function dt({
557
556
  return a > t && (a = t / 2), a;
558
557
  }
559
558
  export {
560
- qt as CMYK_VALIDATION_REGEX,
561
- pr as CalendarGrid,
562
- Zt as ColorType,
559
+ Jt as CMYK_VALIDATION_REGEX,
560
+ Cr as CalendarGrid,
561
+ Kt as ColorType,
563
562
  K as CortexPopupController,
564
563
  $ as DateRangePresets,
565
564
  tt as DragScroll,
566
- Fe as FormControlController,
567
- Qt as HEX_ALPHA_VALIDATION_REGEX,
568
- jt as HEX_VALIDATION_REGEX,
569
- or as HasSlotController,
565
+ ke as FormControlController,
566
+ te as HEX_ALPHA_VALIDATION_REGEX,
567
+ ee as HEX_VALIDATION_REGEX,
568
+ cr as HasSlotController,
570
569
  nt as HistoryManager,
571
570
  N as KeyboardKey,
572
- Oe as LocalizeController,
573
- _ as PRECISION,
571
+ Pe as LocalizeController,
572
+ P as PRECISION,
574
573
  Tt as RELATIVE_URL_REGEX,
575
- Jt as RGB_VALIDATION_REGEX,
574
+ re as RGB_VALIDATION_REGEX,
576
575
  wt as URL_DOMAIN_VALIDATION_REGEX,
577
576
  Ct as URL_PROTOCOL_VALIDATION_REGEX,
578
- Mt as URL_VALIDATION_REGEX,
579
- le as activeElements,
580
- Tr as addMonths,
581
- Et as adjustRelativeValues,
582
- fe as animateTo,
577
+ yt as URL_VALIDATION_REGEX,
578
+ fe as activeElements,
579
+ Mr as addMonths,
580
+ It as adjustRelativeValues,
581
+ pe as animateTo,
583
582
  V as appendProtocol,
584
- Oa as buildTransformationString,
585
- Xr as buildWaveformPath,
586
- vr as calculateAspectRatioFit,
587
- Ne as clamp,
588
- kr as cleanImageFileName,
589
- Ra as clearZeroDurationParts,
590
- Kt as convertColor,
591
- Gr as convertDataUnits,
592
- $r as convertDurationToMilliseconds,
593
- zr as convertPixelsToAspectRatio,
594
- Vr as convertSrcToBlob,
595
- Or as cropImage,
596
- $e as cssValueToPx,
597
- Me as customElement,
598
- Re as customErrorValidityState,
599
- ye as debounce,
600
- Ee as defaultValue,
601
- wr as displayToIso,
583
+ Mt as appendQueryParam,
584
+ Ya as buildTransformationString,
585
+ $r as buildWaveformPath,
586
+ Yr as calculateAspectRatioFit,
587
+ Xe as clamp,
588
+ Ur as cleanImageFileName,
589
+ ba as clearZeroDurationParts,
590
+ ae as convertColor,
591
+ Qr as convertDataUnits,
592
+ Zr as convertDurationToMilliseconds,
593
+ jr as convertPixelsToAspectRatio,
594
+ Nr as convertSrcToBlob,
595
+ Pr as cropImage,
596
+ Ze as cssValueToPx,
597
+ Ee as customElement,
598
+ Ve as customErrorValidityState,
599
+ Ie as debounce,
600
+ Fe as defaultValue,
601
+ xr as displayToIso,
602
602
  J as downloadAsset,
603
- Ie as drag,
604
- na as emptyToSpace,
605
- te as extractColor,
606
- ia as extractExtension,
603
+ be as drag,
604
+ ia as emptyToSpace,
605
+ se as extractColor,
606
+ la as extractExtension,
607
607
  gt as extractFrames,
608
- la as extractRootData,
609
- qr as extractValueAndUnit,
610
- Br as extractWaveformPeaks,
611
- Rr as fetchCortexApi,
612
- Ut as findAncestorWithBuggyStyle,
613
- Nt as findContainingBlock,
614
- _t as findCuttingAncestor,
615
- P as findFrameByColAndRow,
616
- At as findIndexByProp,
608
+ ca as extractRootData,
609
+ Jr as extractValueAndUnit,
610
+ zr as extractWaveformPeaks,
611
+ Vr as fetchCortexApi,
612
+ Ht as findAncestorWithBuggyStyle,
613
+ Xt as findContainingBlock,
614
+ Bt as findCuttingAncestor,
615
+ _ as findFrameByColAndRow,
616
+ Lt as findIndexByProp,
617
617
  O as formCollections,
618
- Zr as formatAspectRatioString,
619
- ba as formatDurationPartsManually,
620
- Cr as formatMonthYearLabel,
621
- Qr as formatNumberWithGrouping,
622
- ca as formatSecondsToTime,
623
- ua as formatTimeToSeconds,
624
- va as formatWithIntlDurationFormat,
625
- jr as gcd,
626
- ze as getActiveElement,
627
- ce as getActiveModals,
628
- be as getAssociatedForm,
629
- aa as getBreakpointsFromCSS,
618
+ Kr as formatAspectRatioString,
619
+ va as formatDurationPartsManually,
620
+ Sr as formatMonthYearLabel,
621
+ ta as formatNumberWithGrouping,
622
+ ua as formatSecondsToTime,
623
+ ma as formatTimeToSeconds,
624
+ ka as formatWithIntlDurationFormat,
625
+ ea as gcd,
626
+ je as getActiveElement,
627
+ he as getActiveModals,
628
+ Oe as getAssociatedForm,
629
+ Ft as getBreakpointsFromCSS,
630
630
  at as getBrowserFontVariants,
631
- ee as getColorType,
632
- Yr as getContainedImageSize,
633
- qe as getCortexPopupLayer,
634
- y as getCurrentZIndex,
635
- ue as getDeepestActiveElement,
636
- sa as getDeviceType,
637
- ka as getDurationPartsByUnitsFormat,
638
- Ze as getElementFromHTMLString,
639
- Qe as getElementFromTemplate,
640
- Mr as getFirstDayOfWeek,
631
+ oe as getColorType,
632
+ _r as getContainedImageSize,
633
+ Je as getCortexPopupLayer,
634
+ x as getCurrentZIndex,
635
+ ge as getDeepestActiveElement,
636
+ Rt as getDeviceType,
637
+ Va as getDurationPartsByUnitsFormat,
638
+ Ke as getElementFromHTMLString,
639
+ tr as getElementFromTemplate,
640
+ Er as getFirstDayOfWeek,
641
641
  U as getFormControls,
642
- Ia as getHighlightedTitle,
643
- La as getHighlightedTitleHtml,
644
- nr as getInnerHTML,
642
+ La as getHighlightedTitle,
643
+ Fa as getHighlightedTitleHtml,
644
+ ur as getInnerHTML,
645
645
  dt as getInterval,
646
- re as getLightDarkCssString,
647
- Ur as getNaturalWidthHeight,
648
- je as getNeededPaddingForBoxShadow,
649
- Pt as getNextAncestor,
650
- He as getOffset,
651
- Je as getRelativeClickPercentage,
652
- ma as getRootIDString,
653
- cr as getTabbableBoundary,
654
- ur as getTabbableElements,
655
- ir as getTextContent,
656
- xr as getTodayIsoDate,
657
- It as groupBy,
658
- Lt as insertAtIndex,
646
+ ne as getLightDarkCssString,
647
+ Hr as getNaturalWidthHeight,
648
+ er as getNeededPaddingForBoxShadow,
649
+ Wt as getNextAncestor,
650
+ Ge as getOffset,
651
+ rr as getRelativeClickPercentage,
652
+ fa as getRootIDString,
653
+ hr as getTabbableBoundary,
654
+ gr as getTabbableElements,
655
+ mr as getTextContent,
656
+ Ar as getTodayIsoDate,
657
+ bt as groupBy,
658
+ vt as insertAtIndex,
659
659
  ht as insertFrameToCache,
660
- Ft as insertMultipleAtIndex,
661
- Ht as isChrome,
662
- fr as isCortexAdobePlugin,
663
- Ke as isDomElement,
664
- tr as isElementInHorizontalView,
665
- Xt as isFirefox,
660
+ kt as insertMultipleAtIndex,
661
+ Gt as isChrome,
662
+ pr as isCortexAdobePlugin,
663
+ ar as isDomElement,
664
+ sr as isElementInHorizontalView,
665
+ xt as isExpiredAssetUrl,
666
+ $t as isFirefox,
666
667
  rt as isFontFamilyAvailable,
667
668
  ot as isFormInteracted,
668
- fa as isGalleryItemCardType,
669
- Bt as isIOS,
670
- er as isInElement,
669
+ ha as isGalleryItemCardType,
670
+ zt as isIOS,
671
+ or as isInElement,
671
672
  et as isModKey,
672
- Wt as isSafari,
673
- Nr as isSaveSrcValid,
674
- yr as isValidIsoDate,
675
- xt as isValidUrl,
676
- Sr as isoToDate,
677
- Er as isoToDisplay,
673
+ qt as isSafari,
674
+ Xr as isSaveSrcValid,
675
+ Ir as isValidIsoDate,
676
+ St as isValidUrl,
677
+ Lr as isoToDate,
678
+ Fr as isoToDisplay,
678
679
  z as isoWeekNumber,
679
- rr as loadScript,
680
- Xe as lockBodyScrolling,
681
- ae as luminanceTextColor,
682
- Rt as moveMultipleToIndex,
683
- bt as moveToIndex,
684
- vt as multiSelectTo,
685
- Ar as normalizeToIsoDate,
680
+ nr as loadScript,
681
+ $e as lockBodyScrolling,
682
+ ie as luminanceTextColor,
683
+ Vt as moveMultipleToIndex,
684
+ Ot as moveToIndex,
685
+ Yt as multiSelectTo,
686
+ Rr as normalizeToIsoDate,
686
687
  it as omit,
687
688
  q as openAssetOverview,
688
- Z as openFolderOverview,
689
- Q as openLink,
690
- ha as padPath,
691
- ga as parseBooleanString,
692
- se as parseBorder,
693
- he as parseDuration,
694
- Ir as parseIsoDate,
689
+ Q as openFolderOverview,
690
+ Z as openLink,
691
+ ga as padPath,
692
+ da as parseBooleanString,
693
+ le as parseBorder,
694
+ De as parseDuration,
695
+ br as parseIsoDate,
695
696
  ct as parseJsonString,
696
- oe as parseLightDark,
697
+ ce as parseLightDark,
697
698
  ut as parseListString,
698
- ne as parseShadow,
699
+ ue as parseShadow,
699
700
  lt as pick,
700
- Gt as popoverSupported,
701
- ge as prefersReducedMotion,
702
- _e as quantizeLargestRemainder,
701
+ Qt as popoverSupported,
702
+ Te as prefersReducedMotion,
703
+ Be as quantizeLargestRemainder,
703
704
  mt as readLocalStorageValue,
704
- da as reducePathToDirectChild,
705
- Ye as registerTranslation,
706
- kt as removeAtIndex,
707
- Vt as removeMultipleAtIndex,
708
- _r as resizeImage,
709
- Jr as rotateBox,
710
- Pr as rotateImage,
711
- pa as safeExtension,
712
- Da as safeString,
713
- Ta as sanitizeHTML,
714
- Kr as sanitizeRotation,
715
- Be as scrollIntoView,
705
+ pa as reducePathToDirectChild,
706
+ _e as registerTranslation,
707
+ Ut as removeAtIndex,
708
+ Nt as removeMultipleAtIndex,
709
+ Br as resizeImage,
710
+ ra as rotateBox,
711
+ Wr as rotateImage,
712
+ Da as safeExtension,
713
+ Ta as safeString,
714
+ wa as sanitizeHTML,
715
+ aa as sanitizeRotation,
716
+ ze as scrollIntoView,
716
717
  st as serialize,
717
718
  j as shareAsset,
718
- de as shimKeyframesHeightAuto,
719
- ar as sortByTopPosition,
719
+ we as shimKeyframesHeightAuto,
720
+ ir as sortByTopPosition,
720
721
  Y as sortTypefaceVariants,
721
- ea as splitBoxValues,
722
- wa as splitCamelCaseFormatted,
723
- pe as stopAnimations,
724
- $t as supportHLS,
722
+ oa as splitBoxValues,
723
+ Ca as splitCamelCaseFormatted,
724
+ Ce as stopAnimations,
725
+ Zt as supportHLS,
725
726
  v as testFontAvailability,
726
- we as timecodeConverter,
727
- Ca as toCamelCase,
728
- Lr as toIsoDate,
727
+ xe as timecodeConverter,
728
+ ya as toCamelCase,
729
+ vr as toIsoDate,
729
730
  Ma as toKebabCase,
730
731
  xa as toPascalCase,
731
- yt as toRelativeUrl,
732
- ya as toTitleCase,
733
- Ot as toast,
734
- Sa as truncateTextMiddle,
735
- We as unlockBodyScrolling,
736
- Ea as upperFirst,
737
- ve as validValidityState,
738
- ke as valueMissingValidityState,
739
- De as waitForEvent,
740
- gr as watch,
732
+ Et as toRelativeUrl,
733
+ Sa as toTitleCase,
734
+ Pt as toast,
735
+ Ea as truncateTextMiddle,
736
+ qe as unlockBodyScrolling,
737
+ Aa as upperFirst,
738
+ Ye as validValidityState,
739
+ Ue as valueMissingValidityState,
740
+ ye as waitForEvent,
741
+ Tr as watch,
741
742
  ft as writeLocalStorageValue
742
743
  };
package/package.json CHANGED
@@ -1,14 +1,16 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.133.0",
4
+ "version": "2.135.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
8
8
  "analyze": "vite build && open bundle-stats/stats.html",
9
9
  "copy-entry-file": "node ./scripts/copy-entry-file.js",
10
+ "sync-csharp": "node ./scripts/sync-csharp-to-core.js",
10
11
  "build-worker": "vite build --config ./vite.worker.config.js",
11
12
  "build": "vite build --config vite.config.ts && bun run build-worker && node ./scripts/remove-index-html-file.js && node ./scripts/copy-entry-file.js",
13
+ "build-sync": "bun run build && bun run sync-csharp",
12
14
  "start": "vite",
13
15
  "dev-build": "vite build --config vite.dev-build.config.ts",
14
16
  "open": "npx playwright test --project=chromium --ui",