@orangelogic/design-system 2.141.0 → 2.143.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 (227) hide show
  1. package/library/chunks/{AxisLabelRadial.C4AH2ZWx.js → AxisLabelRadial.D-dnNhId.js} +1 -1
  2. package/library/chunks/{BaseColumnSeries.BV8sY1Da.js → BaseColumnSeries.DuJGGHnE.js} +1 -1
  3. package/library/chunks/{CandlestickSeries.C8BE8OT-.js → CandlestickSeries.Dvk4WnlG.js} +2 -2
  4. package/library/chunks/{Circle.BaJWdg6Z.js → Circle.CSPkPGZR.js} +1 -1
  5. package/library/chunks/{ColumnSeries.BGUw3nLY.js → ColumnSeries.BgqnNaWx.js} +2 -2
  6. package/library/chunks/{EditableAxisLabel.CsgqEVmA.js → EditableAxisLabel.htXPpq9V.js} +2 -2
  7. package/library/chunks/{EditableLabel.gd9mjKfA.js → EditableLabel.BVdITrjV.js} +1 -1
  8. package/library/chunks/{Gradient.Sa3COx_2.js → Gradient.Bw8LaBZS.js} +1 -1
  9. package/library/chunks/{LinearGradient.BM0pPmvI.js → LinearGradient.DryVGwkQ.js} +2 -2
  10. package/library/chunks/{Picture.DVyGQOmS.js → Picture.GEGxHvQB.js} +1 -1
  11. package/library/chunks/{Polygon.Du2DRvxU.js → Polygon.B7Vu5sIv.js} +1 -1
  12. package/library/chunks/{ProgressPie.D3FRfVo5.js → ProgressPie.C2sMNGxC.js} +5 -5
  13. package/library/chunks/{RadialLabel.Dgipjivh.js → RadialLabel.DCE1UsLn.js} +1 -1
  14. package/library/chunks/{Scrollbar.BDbLJ_xZ.js → Scrollbar.DoQ3emzl.js} +1 -1
  15. package/library/chunks/{Slice.BIXpM75a.js → Slice.BtEmJlKG.js} +1 -1
  16. package/library/chunks/{Slider.BZNFS2HS.js → Slider.BkWEJjkG.js} +1 -1
  17. package/library/chunks/{SpriteResizer.awVrrc-n.js → SpriteResizer.CkJ6wMt2.js} +1 -1
  18. package/library/chunks/{Triangle.DW7bUiPK.js → Triangle.DRbqqwUv.js} +1 -1
  19. package/library/chunks/{ZoomTools.CSBkRpSo.js → ZoomTools.B2lVZ7om.js} +1 -1
  20. package/library/chunks/{_baseIteratee.DpzDid58.js → _baseIteratee.Dhw-0WrS.js} +12 -12
  21. package/library/chunks/{_baseUniq.HFKneygy.js → _baseUniq.DP9Qak6V.js} +1 -1
  22. package/library/chunks/_baseXor.DY_sP7af.js +116 -0
  23. package/library/chunks/{am-chart.sBfZlJdc.js → am-chart.DaqbO8CU.js} +252 -252
  24. package/library/chunks/{animation.hpY88RxG.js → animation.DYTPen16.js} +1 -1
  25. package/library/chunks/{asset-link-format.BDuHqEN5.js → asset-link-format.BVoE-GrD.js} +246 -222
  26. package/library/chunks/{button.C6-GrLyD.js → button.Bja8HrmJ.js} +4 -4
  27. package/library/chunks/button.styles.CATjjP1T.js +5 -0
  28. package/library/chunks/{capitalize.i-sHIcnm.js → capitalize.WZm6pIpy.js} +1 -1
  29. package/library/chunks/{checkbox.i5dgRvaf.js → checkbox.kdSMUgR1.js} +2 -2
  30. package/library/chunks/{color-swatch-group.BqJHjmG5.js → color-swatch-group.CwHdAKQv.js} +5444 -4076
  31. package/library/chunks/{color-swatch.DimFgBSf.js → color-swatch.DCePblYs.js} +34 -34
  32. package/library/chunks/{colorPicker.r8zsh6Oj.js → colorPicker.B1c_VK97.js} +5 -5
  33. package/library/chunks/{confirm-popover.CTdjw4Mi.js → confirm-popover.CQm_rVIt.js} +4 -4
  34. package/library/chunks/{content-builder.BGzxZUgi.js → content-builder.D-_Ou8sw.js} +14 -12
  35. package/library/chunks/dialog.0TzzxNXE.js +1820 -0
  36. package/library/chunks/{document-viewer.BqZzhJyR.js → document-viewer.Bb1M9uJ-.js} +9 -9
  37. package/library/chunks/{dot-pagination.CoG0XmAq.js → dot-pagination.BwSugdZk.js} +2 -2
  38. package/library/chunks/{endpoints.BlywT4Gl.js → endpoints.Bn_YviaU.js} +89 -88
  39. package/library/chunks/{exporting.B3VErmmW.js → exporting.C47Rlm_F.js} +2 -2
  40. package/library/chunks/{flow.gWPD-GN_.js → flow.DhXYaDTn.js} +5 -5
  41. package/library/chunks/{folder-select.CpK1RX9O.js → folder-select.5f4e8jqB.js} +7 -7
  42. package/library/chunks/{gantt.D_6T9w75.js → gantt.B-KoNU00.js} +8 -8
  43. package/library/chunks/{header.zCbb-t6m.js → header.BZKaF_-o.js} +35 -35
  44. package/library/chunks/{hierarchy.BeJLXp9N.js → hierarchy.DZcTzpNv.js} +5 -5
  45. package/library/chunks/{hub-connection.Dri0ZNfh.js → hub-connection.C9j9Ce_a.js} +1 -1
  46. package/library/chunks/{i18n.DeUAP8n2.js → i18n.C4wPyPTR.js} +10 -0
  47. package/library/chunks/{icon-button.LhIEmHNF.js → icon-button.Ce2tPGuf.js} +2 -2
  48. package/library/chunks/{icon.DnBh6-56.js → icon.-k4fR0bD.js} +1 -1
  49. package/library/chunks/{iframe.c0IPEUiJ.js → iframe.CnG8EcG1.js} +2 -2
  50. package/library/chunks/{image.u2nQNoZ8.js → image.C2acLx6g.js} +4 -4
  51. package/library/chunks/{index.CnBD7_1u.js → index.B7KpCL4Q.js} +17 -17
  52. package/library/chunks/{input.ClJ4MEsk.js → input.BAvin1Qu.js} +3 -3
  53. package/library/chunks/{json.BTCD_bjV.js → json.CYp1GBUl.js} +3 -3
  54. package/library/chunks/{map.HWubaOh9.js → map.DCp6R-yn.js} +2 -2
  55. package/library/chunks/{option.n6PDuSs1.js → option.DT-6HmoC.js} +4 -4
  56. package/library/chunks/{pagination.CNeaChqP.js → pagination.KvDdhXZL.js} +7 -7
  57. package/library/chunks/{percent.0CeOGNP1.js → percent.C253sJzT.js} +3 -3
  58. package/library/chunks/{radar.CDUzjkcg.js → radar.Bh033jVx.js} +4 -4
  59. package/library/chunks/{sliceGrouper.nPe6eWIh.js → sliceGrouper.BOB7t0KC.js} +1 -1
  60. package/library/chunks/{stock.CmWtnkxv.js → stock.rKM7Pn6U.js} +9 -9
  61. package/library/chunks/{tab-group.COQGzlw4.js → tab-group.DyInpwMz.js} +4 -4
  62. package/library/chunks/{timeline.DDCHQ84a.js → timeline.8Dbc5Mzg.js} +5 -5
  63. package/library/chunks/{toString.CAY8lys2.js → toString.BDhOhZPZ.js} +1 -1
  64. package/library/chunks/{toast.Bz-j7zP2.js → toast.BYVF5TVe.js} +4 -4
  65. package/library/chunks/{tree.DeIv5gWv.js → tree.BpSudcAI.js} +4 -4
  66. package/library/chunks/typography.IqHbnd3C.js +52 -0
  67. package/library/chunks/{venn.BZgn9wxo.js → venn.9MIxwncF.js} +1 -1
  68. package/library/chunks/{watch.CThbualB.js → watch.CkGTlwIo.js} +10 -10
  69. package/library/chunks/{wc.BUEDSaz-.js → wc.s24RZyr1.js} +1 -1
  70. package/library/chunks/{xy.Wbux-yPv.js → xy.QPSrxL0Q.js} +10 -10
  71. package/library/components/alert.js +3 -3
  72. package/library/components/am-chart.js +2 -2
  73. package/library/components/animated-image.js +2 -2
  74. package/library/components/animation.js +2 -2
  75. package/library/components/array-line-clamp.js +1 -1
  76. package/library/components/asset-link-format.js +5 -5
  77. package/library/components/atoms.js +21 -21
  78. package/library/components/audio.js +4 -4
  79. package/library/components/avatar.js +2 -2
  80. package/library/components/border-input-group.js +2 -2
  81. package/library/components/breadcrumb-item.js +1 -1
  82. package/library/components/breadcrumb.js +2 -2
  83. package/library/components/button.js +5 -5
  84. package/library/components/checkbox.js +3 -3
  85. package/library/components/color-picker.js +79 -72
  86. package/library/components/color-swatch-group.js +7 -7
  87. package/library/components/color-swatch.js +4 -4
  88. package/library/components/confirm-popover.js +5 -5
  89. package/library/components/copy-button.js +3 -3
  90. package/library/components/corner-position-input-group.js +3 -3
  91. package/library/components/date-calendar.js +1 -1
  92. package/library/components/details.js +32 -32
  93. package/library/components/dialog.js +5 -6
  94. package/library/components/diff.js +1 -1
  95. package/library/components/divider.js +1 -1
  96. package/library/components/document-viewer.js +5 -5
  97. package/library/components/dot-pagination.js +3 -3
  98. package/library/components/drawer.js +4 -4
  99. package/library/components/dropdown.js +3 -3
  100. package/library/components/dynamic-select.js +7 -7
  101. package/library/components/e-chart.js +2 -2
  102. package/library/components/element-clamp.js +3 -3
  103. package/library/components/file-on-demand.js +1872 -36
  104. package/library/components/folder-select.js +7 -7
  105. package/library/components/format-bytes.js +1 -1
  106. package/library/components/format-date.js +1 -1
  107. package/library/components/format-number.js +1 -1
  108. package/library/components/format-time.js +2 -2
  109. package/library/components/grid-item.js +1 -1
  110. package/library/components/header.js +3 -3
  111. package/library/components/hub-connection.js +2 -2
  112. package/library/components/icon-button.js +3 -3
  113. package/library/components/icon.js +2 -2
  114. package/library/components/iframe.js +3 -3
  115. package/library/components/image-comparer.js +3 -3
  116. package/library/components/image.js +4 -4
  117. package/library/components/include.js +1 -1
  118. package/library/components/input.js +4 -4
  119. package/library/components/line-clamp.js +1 -1
  120. package/library/components/markdown.js +1 -1
  121. package/library/components/masonry.js +3 -3
  122. package/library/components/menu-item.js +3 -3
  123. package/library/components/menu.js +1 -1
  124. package/library/components/molecules.js +3 -3
  125. package/library/components/mutation-observer.js +1 -1
  126. package/library/components/option.js +4 -4
  127. package/library/components/organisms.js +6 -6
  128. package/library/components/padding-input-group.js +1 -1
  129. package/library/components/pagination.js +8 -8
  130. package/library/components/popup.js +1 -1
  131. package/library/components/position-picker.js +1 -1
  132. package/library/components/progress-bar.js +1 -1
  133. package/library/components/progress-ring.js +1 -1
  134. package/library/components/qr-code.js +1 -1
  135. package/library/components/radio-button.js +2 -2
  136. package/library/components/radio-card.js +1 -1
  137. package/library/components/radio-group.js +1 -1
  138. package/library/components/radio.js +2 -2
  139. package/library/components/range.js +2 -2
  140. package/library/components/rating.js +3 -3
  141. package/library/components/relative-time.js +1 -1
  142. package/library/components/resize-observer.js +1 -1
  143. package/library/components/select.js +5 -5
  144. package/library/components/shadow-input-group.js +1 -1
  145. package/library/components/share-option-list.js +4 -4
  146. package/library/components/sidebar.js +3 -3
  147. package/library/components/size-input-group.js +4 -4
  148. package/library/components/spinner.js +1 -1
  149. package/library/components/split-panel.js +2 -2
  150. package/library/components/step.js +1 -1
  151. package/library/components/stepper-wizard.js +1 -1
  152. package/library/components/stepper.js +1 -1
  153. package/library/components/switch.js +1 -1
  154. package/library/components/tab-group.js +5 -5
  155. package/library/components/tab-panel.js +1 -1
  156. package/library/components/tab.js +6 -6
  157. package/library/components/tag.js +2 -2
  158. package/library/components/textarea.js +1 -1
  159. package/library/components/timecode.js +2 -2
  160. package/library/components/tooltip.js +2 -2
  161. package/library/components/tree-item.js +5 -5
  162. package/library/components/tree.js +3 -3
  163. package/library/components/typeface.js +4 -4
  164. package/library/components/types.js +27465 -27792
  165. package/library/components/typography.js +1 -1
  166. package/library/components/video.js +3 -3
  167. package/library/package.json +1 -1
  168. package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +1 -0
  169. package/library/packages/atoms/src/components/header/header.d.ts +1 -1
  170. package/library/packages/events/src/cx-board-change.d.ts +12 -0
  171. package/library/packages/events/src/cx-board-selected-change.d.ts +10 -0
  172. package/library/packages/events/src/cx-font-picker-change.d.ts +9 -0
  173. package/library/packages/events/src/cx-multi-select-change.d.ts +11 -0
  174. package/library/packages/events/src/cx-multi-select-configure.d.ts +8 -0
  175. package/library/packages/events/src/cx-table-column-editor-apply.d.ts +8 -0
  176. package/library/packages/events/src/cx-table-column-editor-cancel.d.ts +6 -0
  177. package/library/packages/events/src/cx-table-column-visibility-change.d.ts +9 -0
  178. package/library/packages/events/src/cx-table-columns-change.d.ts +8 -0
  179. package/library/packages/events/src/cx-table-edit-columns.d.ts +8 -0
  180. package/library/packages/events/src/cx-table-header-menu-close.d.ts +6 -0
  181. package/library/packages/events/src/cx-table-header-menu-select.d.ts +11 -0
  182. package/library/packages/events/src/events.d.ts +12 -0
  183. package/library/packages/hybrid/table-core/src/table/components/index.d.ts +2 -0
  184. package/library/packages/hybrid/table-core/src/table/components/table-column-editor/table-column-editor.d.ts +45 -0
  185. package/library/packages/hybrid/table-core/src/table/components/table-column-editor/table-column-editor.styles.d.ts +2 -0
  186. package/library/packages/hybrid/table-core/src/table/components/table-header-menu/table-header-menu.d.ts +55 -0
  187. package/library/packages/hybrid/table-core/src/table/components/table-header-menu/table-header-menu.styles.d.ts +2 -0
  188. package/library/packages/hybrid/table-core/src/table/table.d.ts +41 -1
  189. package/library/packages/molecules/src/asset-format-picker/asset-format-picker.d.ts +1 -0
  190. package/library/packages/molecules/src/font-picker/font-picker.d.ts +74 -0
  191. package/library/packages/molecules/src/font-picker/font-picker.styles.d.ts +2 -0
  192. package/library/packages/molecules/src/index.d.ts +1 -0
  193. package/library/packages/molecules/src/multi-select/components/board/board.d.ts +39 -14
  194. package/library/packages/molecules/src/multi-select/components/board-list-item/board-list-item.d.ts +1 -10
  195. package/library/packages/molecules/src/multi-select/multi-select.d.ts +7 -15
  196. package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +2 -1
  197. package/library/packages/organisms/src/content-builder/components/config-form/config-form-controller.d.ts +2 -0
  198. package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +2 -1
  199. package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +5 -0
  200. package/library/packages/organisms/src/content-builder/configs/accordion.d.ts +2 -2
  201. package/library/packages/organisms/src/content-builder/configs/button.d.ts +2 -2
  202. package/library/packages/organisms/src/content-builder/configs/color-swatches.d.ts +3 -2
  203. package/library/packages/organisms/src/content-builder/configs/font-kit.d.ts +2 -2
  204. package/library/packages/organisms/src/content-builder/configs/header.d.ts +4 -4
  205. package/library/packages/organisms/src/content-builder/configs/image.d.ts +1 -0
  206. package/library/packages/organisms/src/content-builder/configs/text.d.ts +2 -2
  207. package/library/packages/organisms/src/content-builder/configs-controller.d.ts +5 -2
  208. package/library/packages/organisms/src/content-builder/content-builder.d.ts +6 -0
  209. package/library/packages/organisms/src/content-builder/content-builder.utils.d.ts +26 -0
  210. package/library/packages/organisms/src/content-builder/styleController.d.ts +21 -2
  211. package/library/packages/services/src/api/asset/asset.d.ts +2 -1
  212. package/library/packages/services/src/api/endpoints.d.ts +4 -0
  213. package/library/packages/services/src/api/teamspace/teamspace.d.ts +2 -0
  214. package/library/packages/types/src/content-builder.d.ts +14 -1
  215. package/library/packages/types/src/font-picker.d.ts +21 -0
  216. package/library/packages/types/src/table-column-editor.d.ts +12 -0
  217. package/library/packages/types/src/table.d.ts +5 -0
  218. package/library/packages/utils/src/custom-element/i18n.d.ts +10 -0
  219. package/library/packages/utils/src/font/font.d.ts +16 -0
  220. package/library/react-web-component.d.ts +71 -5
  221. package/library/utils.js +258 -242
  222. package/package.json +1 -1
  223. package/library/chunks/button.styles.Cz4EELcL.js +0 -5
  224. package/library/chunks/dialog.C79Kd2S4.js +0 -379
  225. package/library/chunks/file-on-demand.Bxq3-Dk1.js +0 -1985
  226. package/library/chunks/overlayscrollbars.BMav4RQ4.js +0 -1445
  227. package/library/chunks/typography.DJC_UXgs.js +0 -52
@@ -1,15 +1,15 @@
1
- import v from "../components/copy-button.js";
2
- import f from "../components/line-clamp.js";
3
- import w from "../components/resize-observer.js";
1
+ import w from "../components/copy-button.js";
2
+ import v from "../components/line-clamp.js";
3
+ import f from "../components/resize-observer.js";
4
4
  import b from "../components/space.js";
5
- import { C as _ } from "./typography.DJC_UXgs.js";
6
- import { n as a, C as k } from "./lib-cortex-element.CVMmyPMC.js";
5
+ import { C as _ } from "./typography.IqHbnd3C.js";
6
+ import { n as r, C as k } from "./lib-cortex-element.CVMmyPMC.js";
7
7
  import { c as F } from "./component.styles.CRO4Odto.js";
8
8
  import { c as n, C as h, H as $, l as z } from "./color.LzSGBy7o.js";
9
9
  import { c as O } from "./custom-element.L4WJXn1j.js";
10
10
  import { d as W } from "./debounce.DaHuiSGU.js";
11
- import { L as A } from "./i18n.DeUAP8n2.js";
12
- import { w as i } from "./watch.CThbualB.js";
11
+ import { L as A } from "./i18n.C4wPyPTR.js";
12
+ import { w as i } from "./watch.CkGTlwIo.js";
13
13
  import { i as G, x as u } from "./lit-element.jLBm65_O.js";
14
14
  import { r as c } from "./state.CSDxrqLd.js";
15
15
  import { e as R } from "./query.BBf1UFkC.js";
@@ -19,11 +19,11 @@ import { c as U } from "./repeat.CFjcER6_.js";
19
19
  import { o as l } from "./style-map.llVFPd__.js";
20
20
  import { n as E } from "./when.Dr1es41R.js";
21
21
  var p = /* @__PURE__ */ ((o) => (o.Circle = "circle", o.GridItem = "grid-item", o.Oval = "oval", o))(p || {});
22
- const S = G`:host{display:block}.color-swatch{border:1px solid var(--cx-color-neutral-200);justify-content:center;align-items:center;display:flex}.color-swatch:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.color-swatch--circle{aspect-ratio:1;height:auto;width:var(--swatch-size,350px);min-width:var(--swatch-size,230px);border-radius:var(--cx-border-radius-circle);max-width:100%}.color-swatch--oval{height:var(--swatch-size,350px);border-radius:calc(var(--swatch-size,350px) / 2);width:100%}.color-swatch--grid{width:100%;height:var(--swatch-size,300px);min-width:var(--swatch-grid-min-width,165px);border-radius:var(--cx-border-radius-x-large)}.color-swatch__content{max-height:100%;padding:var(--swatch-content-padding,0);justify-content:space-between;gap:var(--cx-spacing-medium)}.color-swatch--circle>.color-swatch__content{min-width:50%;max-width:75%}.color-swatch--oval>.color-swatch__content{max-width:85%}.color-swatch--grid>.color-swatch__content{width:100%;height:100%;padding:var(--cx-spacing-large) var(--cx-spacing-medium)}.color-swatch__key::part(base){vertical-align:middle;min-width:50px;height:100%}.color-swatch__key[variant=small]::part(base){display:inline-block}.color-swatch__copy-button::part(button){height:fit-content;min-height:fit-content;padding:0;background:0 0!important;border-width:0!important}.color-swatch__copy-button::part(label){height:fit-content;padding:0}.color-swatch__value{text-transform:none}.color-swatch__value::part(base){word-break:break-word}.color-swatch__value-wrapper{text-align:left}`;
23
- var V = Object.defineProperty, B = Object.getOwnPropertyDescriptor, e = (o, r, y, d) => {
24
- for (var s = d > 1 ? void 0 : d ? B(r, y) : r, C = o.length - 1, m; C >= 0; C--)
25
- (m = o[C]) && (s = (d ? m(r, y, s) : m(s)) || s);
26
- return d && s && V(r, y, s), s;
22
+ const S = G`:host{display:block}.color-swatch{border:1px solid var(--cx-color-neutral-200);justify-content:center;align-items:center;display:flex}.color-swatch:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.color-swatch--circle{aspect-ratio:1;height:auto;width:var(--swatch-size,350px);min-width:var(--swatch-size,230px);border-radius:var(--cx-border-radius-circle);max-width:100%}.color-swatch--oval{height:var(--swatch-size,350px);border-radius:calc(var(--swatch-size,350px) / 2);width:100%}.color-swatch--grid{width:100%;height:var(--swatch-size,300px);min-width:var(--swatch-grid-min-width,165px);min-height:var(--swatch-min-height,50px);border:var(--swatch-border,1px solid var(--cx-color-neutral-200));box-shadow:var(--swatch-box-shadow,none);border-radius:var(--swatch-border-radius,var(--cx-border-radius-x-large))}.color-swatch__content{max-height:100%;padding:var(--swatch-content-padding,0);justify-content:space-between;gap:var(--cx-spacing-medium)}.color-swatch--circle>.color-swatch__content{min-width:50%;max-width:75%}.color-swatch--oval>.color-swatch__content{max-width:85%}.color-swatch--grid>.color-swatch__content{width:100%;height:100%;padding:var(--cx-spacing-large) var(--cx-spacing-medium)}.color-swatch__key::part(base){vertical-align:middle;min-width:50px;height:100%}.color-swatch__key[variant=small]::part(base){display:inline-block}.color-swatch__copy-button::part(button){height:fit-content;min-height:fit-content;padding:0;background:0 0!important;border-width:0!important}.color-swatch__copy-button::part(label){height:fit-content;padding:0}.color-swatch__value{text-transform:none}.color-swatch__value::part(base){word-break:break-word}.color-swatch__value-wrapper{text-align:left}.color-swatch__name,.color-swatch__key,.color-swatch__value{--font-family:var(--swatch-font-family,var(--cx-font-sans));--font-style:var(--swatch-font-style,normal);--font-weight:var(--swatch-font-weight);--font-size:var(--swatch-font-size)}`;
23
+ var V = Object.defineProperty, B = Object.getOwnPropertyDescriptor, e = (o, a, y, d) => {
24
+ for (var s = d > 1 ? void 0 : d ? B(a, y) : a, m = o.length - 1, C; m >= 0; m--)
25
+ (C = o[m]) && (s = (d ? C(a, y, s) : C(s)) || s);
26
+ return d && s && V(a, y, s), s;
27
27
  };
28
28
  let t = class extends k {
29
29
  constructor() {
@@ -90,7 +90,7 @@ let t = class extends k {
90
90
  { key: "RGB", value: this.rgb },
91
91
  { key: "CMYK", value: this.cmyk },
92
92
  { key: "PMS", value: this.pms }
93
- ].filter((r) => this.showCodes.includes(r.key));
93
+ ].filter((a) => this.showCodes.includes(a.key));
94
94
  return u`<cx-resize-observer @cx-resize=${this.handleResize}><div part="base" tabindex=${x(this.canFocusContainer ? "0" : void 0)} class=${g({
95
95
  "color-swatch": !0,
96
96
  "color-swatch--circle": this.variant === p.Circle,
@@ -98,36 +98,36 @@ let t = class extends k {
98
98
  "color-swatch--oval": this.variant === p.Oval
99
99
  })} style=${l({
100
100
  backgroundColor: this.backgroundColor
101
- })} @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut}><cx-space part="content" direction="vertical" class="color-swatch__content"><cx-typography variant="h5" part="name" style=${l({
101
+ })} @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut}><cx-space part="content" direction="vertical" class="color-swatch__content"><cx-typography variant="h5" part="name" class="color-swatch__name" style=${l({
102
102
  "--color": this.textColor
103
103
  })}>${this.name}</cx-typography><cx-space direction="vertical" spacing=${this.rowGap} part="content">${U(
104
104
  o,
105
- (r) => r.key,
106
- (r) => u`<cx-space direction="horizontal" align-items="center" spacing="small" part="item" wrap="nowrap"><cx-typography variant=${this.textVariant} class="color-swatch__key" part="key" style=${l({
105
+ (a) => a.key,
106
+ (a) => u`<cx-space direction="horizontal" align-items="center" spacing="small" part="item" wrap="nowrap"><cx-typography variant=${this.textVariant} class="color-swatch__key" part="key" style=${l({
107
107
  "--color": this.textColor
108
- })}>${r.key}</cx-typography>${E(
109
- this.canCopy && r.value !== "",
108
+ })}>${a.key}</cx-typography>${E(
109
+ this.canCopy && a.value !== "",
110
110
  () => u`<cx-copy-button part="copy-button" tabindex=${x(
111
111
  this.canFocusCodeOnly ? void 0 : "-1"
112
112
  )} class="color-swatch__copy-button" copy-label=${this.localize.term("clickToCopy")} focus-copy-label=${this.localize.term(
113
113
  "pressEnterOrCtrlCToCopy"
114
- )} label=${`${r.key} ${r.value}`} no-icon value=${r.value}><cx-line-clamp lines=${this.lineClamp} disabled-tooltip class=${g({
114
+ )} label=${`${a.key} ${a.value}`} no-icon value=${a.value}><cx-line-clamp lines=${this.lineClamp} disabled-tooltip class=${g({
115
115
  "color-swatch__value-wrapper": !0
116
116
  })}><cx-typography variant=${this.textVariant} style=${l({
117
117
  "--color": this.textColor
118
- })} class="color-swatch__value" part="value">${r.value}</cx-typography></cx-line-clamp></cx-copy-button>`,
118
+ })} class="color-swatch__value" part="value">${a.value}</cx-typography></cx-line-clamp></cx-copy-button>`,
119
119
  () => u`<cx-line-clamp lines=${this.lineClamp} disabled-tooltip class="color-swatch__value-wrapper"><cx-typography variant=${this.textVariant} style=${l({
120
120
  "--color": this.textColor
121
- })} class="color-swatch__value" part="value">${r.value}</cx-typography></cx-line-clamp>`
121
+ })} class="color-swatch__value" part="value">${a.value}</cx-typography></cx-line-clamp>`
122
122
  )}</cx-space>`
123
123
  )}</cx-space></cx-space></div></cx-resize-observer>`;
124
124
  }
125
125
  };
126
126
  t.styles = [F, S];
127
127
  t.dependencies = {
128
- "cx-copy-button": v,
129
- "cx-line-clamp": f,
130
- "cx-resize-observer": w,
128
+ "cx-copy-button": w,
129
+ "cx-line-clamp": v,
130
+ "cx-resize-observer": f,
131
131
  "cx-space": b,
132
132
  "cx-typography": _
133
133
  };
@@ -135,28 +135,28 @@ e([
135
135
  R(".color-swatch")
136
136
  ], t.prototype, "containerEl", 2);
137
137
  e([
138
- a({ reflect: !0, type: String })
138
+ r({ reflect: !0, type: String })
139
139
  ], t.prototype, "variant", 2);
140
140
  e([
141
- a({ reflect: !0, type: String })
141
+ r({ reflect: !0, type: String })
142
142
  ], t.prototype, "name", 2);
143
143
  e([
144
- a({ reflect: !0, type: String })
144
+ r({ reflect: !0, type: String })
145
145
  ], t.prototype, "hex", 2);
146
146
  e([
147
- a({ reflect: !0, type: String })
147
+ r({ reflect: !0, type: String })
148
148
  ], t.prototype, "rgb", 2);
149
149
  e([
150
- a({ reflect: !0, type: String })
150
+ r({ reflect: !0, type: String })
151
151
  ], t.prototype, "cmyk", 2);
152
152
  e([
153
- a({ reflect: !0, type: String })
153
+ r({ reflect: !0, type: String })
154
154
  ], t.prototype, "pms", 2);
155
155
  e([
156
- a({ attribute: "can-copy", reflect: !0, type: Boolean })
156
+ r({ attribute: "can-copy", reflect: !0, type: Boolean })
157
157
  ], t.prototype, "canCopy", 2);
158
158
  e([
159
- a({
159
+ r({
160
160
  attribute: "show-codes",
161
161
  converter: {
162
162
  fromAttribute: (o) => o?.split(" ") ?? [],
@@ -165,10 +165,10 @@ e([
165
165
  })
166
166
  ], t.prototype, "showCodes", 2);
167
167
  e([
168
- a({ attribute: "can-focus-code-only", reflect: !0, type: Boolean })
168
+ r({ attribute: "can-focus-code-only", reflect: !0, type: Boolean })
169
169
  ], t.prototype, "canFocusCodeOnly", 2);
170
170
  e([
171
- a({ attribute: "no-auto-convert", reflect: !0, type: Boolean })
171
+ r({ attribute: "no-auto-convert", reflect: !0, type: Boolean })
172
172
  ], t.prototype, "noAutoConvert", 2);
173
173
  e([
174
174
  c()
@@ -1,8 +1,8 @@
1
- import { D as L, q as i, R as m, d as s, x as c, H as A, C as h, w as g, L as R, T, B as y, G as _, b, s as G, c as S, a as x, f as p, bx as D, by as P } from "./am-chart.sBfZlJdc.js";
2
- import { L as k } from "./LinearGradient.BM0pPmvI.js";
3
- import { C as M } from "./Circle.BaJWdg6Z.js";
4
- import { E as H } from "./EditableLabel.gd9mjKfA.js";
5
- import { S as B } from "./Slider.BZNFS2HS.js";
1
+ import { D as L, q as i, R as m, d as s, x as c, H as A, C as h, w as g, L as R, T, B as y, G as _, b, s as G, c as S, a as x, f as p, bx as D, by as P } from "./am-chart.DaqbO8CU.js";
2
+ import { L as k } from "./LinearGradient.DryVGwkQ.js";
3
+ import { C as M } from "./Circle.CSPkPGZR.js";
4
+ import { E as H } from "./EditableLabel.BVdITrjV.js";
5
+ import { S as B } from "./Slider.BkWEJjkG.js";
6
6
  class O extends L {
7
7
  setupDefaultRules() {
8
8
  super.setupDefaultRules();
@@ -1,11 +1,11 @@
1
- import { C as _ } from "./button.C6-GrLyD.js";
2
- import { C as u, D as h } from "./dialog.C79Kd2S4.js";
1
+ import { C as _ } from "./button.Bja8HrmJ.js";
2
+ import { C as u, D as h } from "./dialog.0TzzxNXE.js";
3
3
  import g from "../components/dropdown.js";
4
- import { C as x } from "./typography.DJC_UXgs.js";
4
+ import { C as x } from "./typography.IqHbnd3C.js";
5
5
  import { n as e, C as b } from "./lib-cortex-element.CVMmyPMC.js";
6
6
  import { c as y } from "./component.styles.CRO4Odto.js";
7
7
  import { c as w } from "./custom-element.L4WJXn1j.js";
8
- import { L as $ } from "./i18n.DeUAP8n2.js";
8
+ import { L as $ } from "./i18n.C4wPyPTR.js";
9
9
  import { i as z, x as d } from "./lit-element.jLBm65_O.js";
10
10
  import { e as m } from "./query.BBf1UFkC.js";
11
11
  import { e as a } from "./class-map.BiVq-cVR.js";
@@ -1,6 +1,6 @@
1
- import { c as l } from "./capitalize.i-sHIcnm.js";
1
+ import { c as l } from "./capitalize.WZm6pIpy.js";
2
2
  const d = window.location.origin.includes("localhost:") ? "https://local.orangelogic.com" : window.location.origin;
3
- function B(a, o, e, i = d) {
3
+ function L(a, o, e, i = d) {
4
4
  const n = new URL(i + "/" + a);
5
5
  return Array.isArray(e) ? e.forEach((t) => {
6
6
  t[1] && n.searchParams.append(t[0], t[1]);
@@ -8,6 +8,7 @@ function B(a, o, e, i = d) {
8
8
  e[t] && n.searchParams.append(t, e[t]);
9
9
  }), fetch(n, o);
10
10
  }
11
+ const E = "space-default";
11
12
  var c = /* @__PURE__ */ ((a) => (a.Desktop = "desktop", a.Mobile = "mobile", a.Tablet = "tablet", a))(c || {});
12
13
  const C = {
13
14
  canvasWidth: "",
@@ -36,23 +37,24 @@ const C = {
36
37
  "mobile"
37
38
  /* Mobile */
38
39
  )
39
- }, L = [C, u, h];
40
- var A = /* @__PURE__ */ ((a) => (a.All = "ALL", a.CanDelete = "CanDelete", a.CanDownload = "CanDownload", a.CanFind = "CanFind", a.CanManageRights = "CanManageRights", a.CanMove = "CanMove", a.CanRead = "CanRead", a.CanReadAll = "CanReadAll", a.CanReadAndWrite = "CanReadAndWrite", a.CanReadLarge = "CanReadLarge", a.CanReadMedium = "CanReadMedium", a.CanReadOriginal = "CanReadOriginal", a.CanShare = "CanShare", a.CanUpload = "CanUpload", a.CanWrite = "CanWrite", a.None = "NONE", a))(A || {}), g = /* @__PURE__ */ ((a) => (a.All = "all", a.Audio = "audio", a.Image = "image", a.Other = "other", a.Video = "video", a))(g || {}), R = /* @__PURE__ */ ((a) => (a.Content = "content", a.Template = "template", a))(R || {}), b = /* @__PURE__ */ ((a) => (a.Administrator = "Administrator", a.Designer = "Designer", a.Editor = "Editor", a))(b || {}), r = /* @__PURE__ */ ((a) => (a.Accordion = "BlockAccordion", a.Analytics = "BlockAnalytics", a.Audio = "BlockAudio", a.Button = "BlockButton", a.Carousel = "BlockCarousel", a.ColorSwatches = "BlockColorSwatches", a.Column = "BlockCell", a.ColumnGroup = "BlockColumns", a.DamView = "BlockDamView", a.Divider = "BlockDivider", a.DocumentViewer = "BlockDocumentViewer", a.FontKit = "BlockFontKit", a.Gallery = "BlockGallery", a.Header = "BlockHeader", a.Image = "BlockImage", a.RichText = "BlockRichText", a.SearchBox = "BlockSearchBox", a.TabGroup = "BlockTabs", a.Text = "BlockText", a.Timeline = "BlockTimeline", a.Video = "BlockVideo", a))(r || {});
41
- const f = Object.values(r).filter(
40
+ }, f = [C, u, h];
41
+ var A = /* @__PURE__ */ ((a) => (a.All = "ALL", a.CanDelete = "CanDelete", a.CanDownload = "CanDownload", a.CanFind = "CanFind", a.CanManageRights = "CanManageRights", a.CanMove = "CanMove", a.CanRead = "CanRead", a.CanReadAll = "CanReadAll", a.CanReadAndWrite = "CanReadAndWrite", a.CanReadLarge = "CanReadLarge", a.CanReadMedium = "CanReadMedium", a.CanReadOriginal = "CanReadOriginal", a.CanShare = "CanShare", a.CanUpload = "CanUpload", a.CanWrite = "CanWrite", a.None = "NONE", a))(A || {}), g = /* @__PURE__ */ ((a) => (a.All = "all", a.Audio = "audio", a.Image = "image", a.Other = "other", a.Video = "video", a))(g || {}), s = /* @__PURE__ */ ((a) => (a.Content = "content", a.Template = "template", a))(s || {}), R = /* @__PURE__ */ ((a) => (a.Administrator = "Administrator", a.Designer = "Designer", a.Editor = "Editor", a))(R || {}), r = /* @__PURE__ */ ((a) => (a.Accordion = "BlockAccordion", a.Analytics = "BlockAnalytics", a.Audio = "BlockAudio", a.Button = "BlockButton", a.Carousel = "BlockCarousel", a.ColorSwatches = "BlockColorSwatches", a.Column = "BlockCell", a.ColumnGroup = "BlockColumns", a.DamView = "BlockDamView", a.Divider = "BlockDivider", a.DocumentViewer = "BlockDocumentViewer", a.FontKit = "BlockFontKit", a.Gallery = "BlockGallery", a.Header = "BlockHeader", a.Image = "BlockImage", a.RichText = "BlockRichText", a.SearchBox = "BlockSearchBox", a.TabGroup = "BlockTabs", a.Text = "BlockText", a.Timeline = "BlockTimeline", a.Video = "BlockVideo", a))(r || {});
42
+ const B = Object.values(r).filter(
42
43
  (a) => a !== "BlockCell"
43
44
  /* Column */
44
45
  );
45
- var s = /* @__PURE__ */ ((a) => (a.Carousel = "carousel", a.Gallery = "gallery", a))(s || {}), v = /* @__PURE__ */ ((a) => (a.Templates = "TEMPLATES", a.TranslatableAttributes = "TRANSLATABLE_ATTRIBUTES", a.TranslatableTexts = "TRANSLATABLE_TEXTS", a))(v || {});
46
+ var b = /* @__PURE__ */ ((a) => (a.Carousel = "carousel", a.Gallery = "gallery", a))(b || {}), v = /* @__PURE__ */ ((a) => (a.Templates = "TEMPLATES", a.TranslatableAttributes = "TRANSLATABLE_ATTRIBUTES", a.TranslatableTexts = "TRANSLATABLE_TEXTS", a))(v || {});
46
47
  export {
47
48
  g as A,
48
49
  r as B,
49
50
  c as D,
50
- R as E,
51
+ s as E,
51
52
  A as P,
52
- b as T,
53
- s as a,
53
+ E as S,
54
+ R as T,
55
+ b as a,
54
56
  v as b,
55
- f as c,
56
- L as d,
57
- B as f
57
+ B as c,
58
+ f as d,
59
+ L as f
58
60
  };