@orangelogic/design-system 2.60.0 → 2.61.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 (248) hide show
  1. package/library/apps/cortex/src/types.d.ts +2 -0
  2. package/library/chunks/_baseRest.ClTMQtN1.js +67 -0
  3. package/library/chunks/{_baseUniq.BUihBa8c.js → _baseUniq.Df-fLIBx.js} +53 -56
  4. package/library/chunks/{amazon_s3.DeaMdPPn.js → amazon_s3.BEMtqafk.js} +1 -1
  5. package/library/chunks/animate.El-MpOws.js +37 -0
  6. package/library/chunks/animation-registry.HmpwNuGH.js +34 -0
  7. package/library/chunks/{animation.B7d72NVK.js → animation.DfUHRQry.js} +10 -8
  8. package/library/chunks/array.DCtvHiLS.js +81 -0
  9. package/library/chunks/asset.CG_yXtWK.js +288 -0
  10. package/library/chunks/{browser.Va59Ix3P.js → browser.BHOCIF_A.js} +18 -16
  11. package/library/chunks/{button.CtCSNRB3.js → button.P71VJ5xh.js} +75 -74
  12. package/library/chunks/{button.styles.C8AIO8fd.js → button.styles.Dl5IQLHU.js} +1 -1
  13. package/library/chunks/{capitalize.CNStXZBq.js → capitalize.WSkCXkNE.js} +1 -1
  14. package/library/chunks/{chatbot.sm4Rph1v.js → chatbot.BmpIu59L.js} +2 -2
  15. package/library/chunks/{class-map.CoZTSvbM.js → class-map.BiVq-cVR.js} +1 -1
  16. package/library/chunks/{color-swatch-group.qJevXs50.js → color-swatch-group.DlLmydlB.js} +116 -127
  17. package/library/chunks/color-swatch.Bpb_hW2H.js +407 -0
  18. package/library/chunks/color.vLD2sNTs.js +164 -0
  19. package/library/chunks/{component.styles.CI-v8BZa.js → component.styles.DMSLciL5.js} +1 -1
  20. package/library/chunks/{confirm-popover.D2TF1x6K.js → confirm-popover.C1uA36JR.js} +15 -13
  21. package/library/chunks/{content-builder.WranV3P4.js → content-builder.Bf7kqzDI.js} +1 -1
  22. package/library/chunks/converters.DkDtLstb.js +11 -0
  23. package/library/chunks/{cropper.aA0v16xS.js → cropper.BraEEykE.js} +5004 -5024
  24. package/library/chunks/custom-element.L4WJXn1j.js +14 -0
  25. package/library/chunks/debounce.DaHuiSGU.js +15 -0
  26. package/library/chunks/{default-value.CIKAvD5l.js → default-value.COZopaet.js} +1 -1
  27. package/library/chunks/{dialog.B1TORO6S.js → dialog.C_75RVVz.js} +52 -49
  28. package/library/chunks/{directive-helpers.DBHob-_L.js → directive-helpers.Dm4rc594.js} +1 -1
  29. package/library/chunks/dom.CZrJ64Dm.js +92 -0
  30. package/library/chunks/{dot-pagination.8f2oX_ge.js → dot-pagination.CoCIJsHC.js} +24 -22
  31. package/library/chunks/{endpoints.BgyupJys.js → endpoints.B7lcoc1N.js} +1 -3
  32. package/library/chunks/{file-on-demand.Cwgabdyw.js → file-on-demand.B2jNilAj.js} +1829 -1544
  33. package/library/chunks/{folder-select.DiWCwR-T.js → folder-select.CSEQxIXF.js} +380 -255
  34. package/library/chunks/{form-control.styles.NE2Q-quE.js → form-control.styles.CUGhvlfT.js} +1 -1
  35. package/library/chunks/{form.B8u0ywni.js → form.CO12-VK0.js} +1 -1
  36. package/library/chunks/{guard.BDP4A85K.js → guard.D4axKaMo.js} +1 -1
  37. package/library/chunks/{header.B_FD8uLt.js → header.Bd3G0-oA.js} +11 -9
  38. package/library/chunks/{hub-connection.CxfaT11o.js → hub-connection.BxT2b7Nq.js} +4 -3
  39. package/library/chunks/{i18n.BP2FRO1v.js → i18n.DrzK7TPf.js} +54 -7
  40. package/library/chunks/identity.ByMq8VxU.js +6 -0
  41. package/library/chunks/{if-defined.MfEgpxEN.js → if-defined.BRoBj_Rp.js} +1 -1
  42. package/library/chunks/{iframe.DZm7FiCl.js → iframe.UCj6Ze2A.js} +18 -16
  43. package/library/chunks/{image.Ycf8RudS.js → image.DZCRhE3G.js} +82 -79
  44. package/library/chunks/image.mbpyiQpQ.js +82 -0
  45. package/library/chunks/index.S0wy3rzm.js +373 -0
  46. package/library/chunks/isObjectLike.D3cpZO39.js +81 -0
  47. package/library/chunks/{isSymbol.L0C2ND_U.js → isSymbol.huJ_Cvxt.js} +1 -1
  48. package/library/chunks/lib-cortex-element.CVMmyPMC.js +146 -0
  49. package/library/chunks/{list-editor.COkw5JKG.js → list-editor.CrLntuM7.js} +75 -79
  50. package/library/chunks/{custom-element.vnXBMQxc.js → lit-element.jLBm65_O.js} +123 -277
  51. package/library/chunks/{live.LdB9xEhp.js → live.SCz6M8Gs.js} +2 -2
  52. package/library/chunks/{mailchimp.BjbPJfd-.js → mailchimp.Bs6uJVsf.js} +1 -1
  53. package/library/chunks/{modal.BqNLxgs1.js → modal.U1QltQKe.js} +25 -19
  54. package/library/chunks/{option.D9KJhzHs.js → option.D1u5-cTt.js} +21 -19
  55. package/library/chunks/{orangelogic.BgbQXkBv.js → orangelogic.TdFfoPUN.js} +1 -1
  56. package/library/chunks/{overlayscrollbars.aFuRG5Rs.js → overlayscrollbars.XhGWx9Zk.js} +1 -1
  57. package/library/chunks/{pagination.C2FN4fmO.js → pagination.BI3LONVU.js} +17 -15
  58. package/library/chunks/{ref.BaCjlzLO.js → ref.bzeTdX0K.js} +2 -2
  59. package/library/chunks/{repeat.CauKaXyy.js → repeat.DbF2p5ae.js} +2 -2
  60. package/library/chunks/responsive.CA6dcNiM.js +17 -0
  61. package/library/chunks/{scroll.DwPiX2Ox.js → scroll.xtO5yojm.js} +3 -2
  62. package/library/chunks/{slot.DJLm4Dig.js → slot.j5oheLJC.js} +12 -4
  63. package/library/chunks/{state.Cw55xXlb.js → state.CSDxrqLd.js} +1 -1
  64. package/library/chunks/{static.BjNkqt7_.js → static.UA3G1Deq.js} +1 -1
  65. package/library/chunks/string.Cp_XNbnV.js +160 -0
  66. package/library/chunks/{style-map.CZovMmo_.js → style-map.llVFPd__.js} +1 -1
  67. package/library/chunks/{tab-group.5fLnWflv.js → tab-group.DxSlcWK0.js} +20 -18
  68. package/library/chunks/{table.BAr8KKc6.js → table.CY-iMTWV.js} +457 -505
  69. package/library/chunks/template.CsJd8Pb_.js +20 -0
  70. package/library/chunks/time.D_uFZqqe.js +118 -0
  71. package/library/chunks/{toString.CL_lYXbK.js → toString.CRT5zqEU.js} +3 -3
  72. package/library/chunks/toast.BXNbwZV8.js +25 -0
  73. package/library/chunks/{tree.CUfvIDyA.js → tree.CNbrP8cY.js} +33 -36
  74. package/library/chunks/{typography.BFpl0WMA.js → typography.oDzoLbZS.js} +16 -14
  75. package/library/chunks/{unsafe-html.DyO9_Rsq.js → unsafe-html.Dff7-rCx.js} +1 -1
  76. package/library/chunks/url.LjsR2sB5.js +15 -0
  77. package/library/chunks/user-agent.D9aPuOyL.js +4 -0
  78. package/library/chunks/watch.q1sEjPWL.js +501 -0
  79. package/library/components/alert.js +38 -35
  80. package/library/components/animated-image.js +25 -23
  81. package/library/components/animation.js +7 -5
  82. package/library/components/array-line-clamp.d.ts +3 -0
  83. package/library/components/array-line-clamp.js +195 -0
  84. package/library/components/asset-link-format.js +223 -212
  85. package/library/components/atoms.js +164 -162
  86. package/library/components/avatar.js +28 -26
  87. package/library/components/badge.js +10 -8
  88. package/library/components/bicolor-picker.js +21 -19
  89. package/library/components/border-input-group.js +11 -9
  90. package/library/components/breadcrumb-item.js +14 -12
  91. package/library/components/breadcrumb.js +24 -22
  92. package/library/components/button-group.js +26 -24
  93. package/library/components/button.js +14 -13
  94. package/library/components/card.js +28 -19
  95. package/library/components/checkbox.js +29 -23
  96. package/library/components/color-picker.js +19 -17
  97. package/library/components/color-swatch-group.js +20 -17
  98. package/library/components/color-swatch.js +16 -13
  99. package/library/components/confirm-popover.js +11 -9
  100. package/library/components/copy-button.js +15 -13
  101. package/library/components/corner-position-input-group.js +13 -11
  102. package/library/components/cortex-element.d.ts +3 -0
  103. package/library/components/cortex-element.js +5 -0
  104. package/library/components/cropper.js +7 -5
  105. package/library/components/details.js +23 -20
  106. package/library/components/dialog.js +19 -16
  107. package/library/components/divider.js +13 -11
  108. package/library/components/dot-pagination.js +11 -9
  109. package/library/components/dot-status.js +10 -8
  110. package/library/components/drawer.js +63 -51
  111. package/library/components/dropdown.js +29 -26
  112. package/library/components/dynamic-select.js +12 -10
  113. package/library/components/element-clamp.js +28 -25
  114. package/library/components/file-on-demand.js +21 -20
  115. package/library/components/folder-select.js +12 -10
  116. package/library/components/format-bytes.js +11 -10
  117. package/library/components/format-date.js +11 -9
  118. package/library/components/format-number.js +16 -15
  119. package/library/components/format-time.js +118 -9
  120. package/library/components/grid-item.js +48 -46
  121. package/library/components/grid.js +31 -29
  122. package/library/components/header.js +10 -9
  123. package/library/components/hub-connection.js +6 -5
  124. package/library/components/icon-button.js +20 -18
  125. package/library/components/icon.js +17 -15
  126. package/library/components/iframe.js +10 -8
  127. package/library/components/image-comparer.js +27 -25
  128. package/library/components/image.js +14 -11
  129. package/library/components/include.js +26 -24
  130. package/library/components/input-group.js +15 -13
  131. package/library/components/input.js +23 -21
  132. package/library/components/line-clamp.js +12 -10
  133. package/library/components/list-editor.js +17 -15
  134. package/library/components/markdown.js +80 -78
  135. package/library/components/masonry.js +46 -44
  136. package/library/components/menu-item.js +151 -136
  137. package/library/components/menu-label.js +15 -13
  138. package/library/components/menu-section.js +18 -16
  139. package/library/components/menu.js +10 -8
  140. package/library/components/molecules.js +5 -5
  141. package/library/components/mutation-observer.js +12 -10
  142. package/library/components/option.js +10 -8
  143. package/library/components/organisms.js +2 -2
  144. package/library/components/padding-input-group.js +30 -28
  145. package/library/components/pagination.js +14 -12
  146. package/library/components/popup.js +3296 -9
  147. package/library/components/position-picker.js +12 -10
  148. package/library/components/progress-bar.js +13 -11
  149. package/library/components/progress-ring.js +15 -13
  150. package/library/components/qr-code.js +54 -52
  151. package/library/components/radio-button.js +19 -17
  152. package/library/components/radio-card.js +14 -12
  153. package/library/components/radio-group.js +20 -18
  154. package/library/components/radio.js +15 -13
  155. package/library/components/range.js +25 -23
  156. package/library/components/rating.js +17 -15
  157. package/library/components/relative-time.js +16 -14
  158. package/library/components/resize-observer.js +21 -19
  159. package/library/components/select.js +1442 -25
  160. package/library/components/shadow-input-group.js +19 -17
  161. package/library/components/share-option-list.js +20 -18
  162. package/library/components/sidebar.js +14 -12
  163. package/library/components/size-input-group.js +35 -33
  164. package/library/components/skeleton.js +12 -10
  165. package/library/components/space.js +12 -10
  166. package/library/components/spinner.js +17 -15
  167. package/library/components/split-panel.js +15 -13
  168. package/library/components/step.js +18 -16
  169. package/library/components/stepper-wizard.js +11 -9
  170. package/library/components/stepper.js +13 -11
  171. package/library/components/switch.js +21 -19
  172. package/library/components/tab-group.js +15 -13
  173. package/library/components/tab-panel.js +20 -18
  174. package/library/components/tab.js +18 -16
  175. package/library/components/table.js +69 -67
  176. package/library/components/tag.js +11 -9
  177. package/library/components/textarea.js +20 -18
  178. package/library/components/timecode.js +98 -8
  179. package/library/components/tooltip.js +24 -21
  180. package/library/components/tree-item.js +14 -11
  181. package/library/components/tree.js +12 -10
  182. package/library/components/typeface.js +13 -11
  183. package/library/components/types.js +15487 -15444
  184. package/library/components/typography.js +6 -4
  185. package/library/components/video.js +13 -11
  186. package/library/components/visually-hidden.js +15 -13
  187. package/library/events.d.ts +1 -0
  188. package/library/events.js +1 -0
  189. package/library/package.json +11 -2
  190. package/library/packages/atoms/src/components/array-line-clamp/array-line-clamp.d.ts +45 -0
  191. package/library/packages/atoms/src/components/array-line-clamp/array-line-clamp.styles.d.ts +2 -0
  192. package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +2 -0
  193. package/library/packages/atoms/src/components/drawer/drawer.d.ts +7 -1
  194. package/library/packages/atoms/src/components/include/include.d.ts +1 -0
  195. package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +2 -0
  196. package/library/packages/atoms/src/components/tree/tree.d.ts +0 -4
  197. package/library/packages/atoms/src/index.d.ts +1 -0
  198. package/library/packages/events/src/cx-file-on-demand-load-more.d.ts +8 -0
  199. package/library/packages/events/src/cx-file-on-demand-pin.d.ts +8 -0
  200. package/library/packages/events/src/cx-file-on-demand-unpin.d.ts +8 -0
  201. package/library/packages/events/src/cx-folder-select-search-term-change.d.ts +8 -0
  202. package/library/packages/events/src/cx-share-option-list-item-selected.d.ts +8 -0
  203. package/library/packages/events/src/events.d.ts +6 -2
  204. package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +2 -0
  205. package/library/packages/molecules/src/cropper/cropper.d.ts +1 -0
  206. package/library/packages/molecules/src/cropper/react/Cropper.d.ts +1 -0
  207. package/library/packages/molecules/src/download-format-picker/download-format-picker.d.ts +1 -0
  208. package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +8 -0
  209. package/library/packages/molecules/src/folder-select/components/folder-select-tree-item/folder-select-tree-item.d.ts +1 -0
  210. package/library/packages/molecules/src/folder-select/folder-select.d.ts +6 -1
  211. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +3 -7
  212. package/library/packages/organisms/src/content-builder/styleController.d.ts +8 -8
  213. package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.d.ts +80 -0
  214. package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.styles.d.ts +2 -0
  215. package/library/packages/organisms/src/file-on-demand/components/file-on-demand-pinned-status.ts/file-on-demand-pinned-status.d.ts +44 -0
  216. package/library/packages/organisms/src/file-on-demand/file-on-demand.constants.d.ts +1 -0
  217. package/library/packages/organisms/src/file-on-demand/file-on-demand.d.ts +11 -18
  218. package/library/packages/organisms/src/file-on-demand/file-on-demand.utils.d.ts +6 -0
  219. package/library/packages/services/src/api/folder/folder.d.ts +4 -8
  220. package/library/packages/services/src/api/folder/folder.types.d.ts +2 -1
  221. package/library/packages/types/src/file-on-demand.d.ts +4 -0
  222. package/library/packages/types/src/folder-select.d.ts +9 -2
  223. package/library/packages/utils/src/custom-element/i18n.d.ts +40 -2
  224. package/library/packages/utils/src/drag-scroll/drag-scroll.d.ts +22 -0
  225. package/library/packages/utils/src/drag-scroll/index.d.ts +1 -0
  226. package/library/packages/utils/src/font/font.d.ts +26 -0
  227. package/library/packages/utils/src/font/index.d.ts +1 -0
  228. package/library/packages/utils/src/history-manager/history-manager.d.ts +13 -0
  229. package/library/packages/utils/src/history-manager/index.d.ts +1 -0
  230. package/library/packages/utils/src/index.d.ts +45 -0
  231. package/library/packages/utils/src/template/index.d.ts +1 -0
  232. package/library/packages/utils/src/template/template.d.ts +3 -0
  233. package/library/react-web-component.d.ts +418 -360
  234. package/library/utils.d.ts +1 -0
  235. package/library/utils.js +180 -0
  236. package/package.json +11 -2
  237. package/library/chunks/animation-registry.DavRkTTr.js +0 -69
  238. package/library/chunks/asset.Ba-CxnNM.js +0 -309
  239. package/library/chunks/color-swatch.DUe3iLLo.js +0 -558
  240. package/library/chunks/dom.C0OFx7ND.js +0 -78
  241. package/library/chunks/format-time.BW6-ZWCX.js +0 -226
  242. package/library/chunks/isObjectLike.z36Fu426.js +0 -34
  243. package/library/chunks/popup._w5T7x8f.js +0 -3307
  244. package/library/chunks/select.DfO4de04.js +0 -1441
  245. package/library/chunks/string.BCk3SmdZ.js +0 -144
  246. package/library/chunks/timecode.D7XTiQ_3.js +0 -105
  247. package/library/chunks/watch.BCJD77bD.js +0 -547
  248. package/library/packages/events/src/cx-load-more.d.ts +0 -8
@@ -1,17 +1,19 @@
1
1
  import u from "./input.js";
2
2
  import l from "./input-group.js";
3
3
  import m from "./space.js";
4
- import { i as h, n as x, C as d, x as c, c as f } from "../chunks/custom-element.vnXBMQxc.js";
5
- import g from "./bicolor-picker.js";
6
- import { c as v } from "../chunks/component.styles.CI-v8BZa.js";
7
- import { c as b } from "../chunks/repeat.CauKaXyy.js";
8
- const $ = h``;
4
+ import { n as h, C as x } from "../chunks/lib-cortex-element.CVMmyPMC.js";
5
+ import f from "./bicolor-picker.js";
6
+ import { c as d } from "../chunks/component.styles.DMSLciL5.js";
7
+ import { c as g } from "../chunks/custom-element.L4WJXn1j.js";
8
+ import { i as v, x as c } from "../chunks/lit-element.jLBm65_O.js";
9
+ import { c as b } from "../chunks/repeat.DbF2p5ae.js";
10
+ const $ = v``;
9
11
  var C = Object.defineProperty, w = Object.getOwnPropertyDescriptor, p = (r, e, o, t) => {
10
- for (var a = t > 1 ? void 0 : t ? w(e, o) : e, n = r.length - 1, i; n >= 0; n--)
11
- (i = r[n]) && (a = (t ? i(e, o, a) : i(a)) || a);
12
+ for (var a = t > 1 ? void 0 : t ? w(e, o) : e, n = r.length - 1, s; n >= 0; n--)
13
+ (s = r[n]) && (a = (t ? s(e, o, a) : s(a)) || a);
12
14
  return t && a && C(e, o, a), a;
13
15
  };
14
- let s = class extends d {
16
+ let i = class extends x {
15
17
  constructor() {
16
18
  super(...arguments), this.value = [
17
19
  "0",
@@ -83,15 +85,15 @@ let s = class extends d {
83
85
  </cx-space>`;
84
86
  }
85
87
  };
86
- s.styles = [v, $];
87
- s.dependencies = {
88
- "cx-bi-color-picker": g,
88
+ i.styles = [d, $];
89
+ i.dependencies = {
90
+ "cx-bi-color-picker": f,
89
91
  "cx-input": u,
90
92
  "cx-input-group": l,
91
93
  "cx-space": m
92
94
  };
93
95
  p([
94
- x({
96
+ h({
95
97
  converter: {
96
98
  fromAttribute: (r) => {
97
99
  const e = (r ?? "").split(" ");
@@ -108,10 +110,10 @@ p([
108
110
  },
109
111
  type: String
110
112
  })
111
- ], s.prototype, "value", 2);
112
- s = p([
113
- f("cx-shadow-input-group")
114
- ], s);
113
+ ], i.prototype, "value", 2);
114
+ i = p([
115
+ g("cx-shadow-input-group")
116
+ ], i);
115
117
  export {
116
- s as default
118
+ i as default
117
119
  };
@@ -1,22 +1,24 @@
1
1
  import _ from "./icon.js";
2
2
  import I from "./resize-observer.js";
3
- import { i as P, n as h, C, x as g, c as w } from "../chunks/custom-element.vnXBMQxc.js";
4
- import { c as z } from "../chunks/component.styles.CI-v8BZa.js";
5
- import { e as O } from "../chunks/animation-registry.DavRkTTr.js";
6
- import { L as E } from "../chunks/i18n.BP2FRO1v.js";
3
+ import { n as h, C as P } from "../chunks/lib-cortex-element.CVMmyPMC.js";
4
+ import { c as C } from "../chunks/component.styles.DMSLciL5.js";
5
+ import { c as O } from "../chunks/animate.El-MpOws.js";
6
+ import { c as w } from "../chunks/custom-element.L4WJXn1j.js";
7
+ import { L as E } from "../chunks/i18n.DrzK7TPf.js";
7
8
  import { c as b } from "../chunks/math.DqTA6ya4.js";
8
- import { w as m } from "../chunks/watch.BCJD77bD.js";
9
- import { c as x } from "../chunks/dom.C0OFx7ND.js";
10
- import { r as v } from "../chunks/state.Cw55xXlb.js";
9
+ import { w as m } from "../chunks/watch.q1sEjPWL.js";
10
+ import { c as x } from "../chunks/dom.CZrJ64Dm.js";
11
+ import { i as z, x as g } from "../chunks/lit-element.jLBm65_O.js";
12
+ import { r as v } from "../chunks/state.CSDxrqLd.js";
11
13
  import { t as L } from "../chunks/event-options.CYHYGOd8.js";
12
14
  import { e as S } from "../chunks/query.BBf1UFkC.js";
13
- import { e as u } from "../chunks/class-map.CoZTSvbM.js";
14
- import { c as M } from "../chunks/repeat.CauKaXyy.js";
15
- import { o as k } from "../chunks/style-map.CZovMmo_.js";
15
+ import { e as u } from "../chunks/class-map.BiVq-cVR.js";
16
+ import { c as M } from "../chunks/repeat.DbF2p5ae.js";
17
+ import { o as k } from "../chunks/style-map.llVFPd__.js";
16
18
  import { n as $ } from "../chunks/when.Dr1es41R.js";
17
19
  import T from "./tooltip.js";
18
- import { C as A } from "../chunks/typography.BFpl0WMA.js";
19
- import { H as R } from "../chunks/slot.DJLm4Dig.js";
20
+ import { C as A } from "../chunks/typography.oDzoLbZS.js";
21
+ import { H as R } from "../chunks/slot.j5oheLJC.js";
20
22
  const N = (e, t) => {
21
23
  let i = 0;
22
24
  return function(...s) {
@@ -66,7 +68,7 @@ if (!U) {
66
68
  }
67
69
  );
68
70
  }
69
- const D = P`
71
+ const D = z`
70
72
  :host {
71
73
  display: block;
72
74
  }
@@ -114,7 +116,7 @@ var B = Object.defineProperty, j = Object.getOwnPropertyDescriptor, p = (e, t, i
114
116
  (r = e[n]) && (o = (s ? r(t, i, o) : r(o)) || o);
115
117
  return s && o && B(t, i, o), o;
116
118
  };
117
- let d = class extends C {
119
+ let d = class extends P {
118
120
  constructor() {
119
121
  super(...arguments), this.hasSlotController = new R(this, "[default]"), this.disabled = !1, this.icon = "", this.tooltip = "", this.selected = !1, this.value = "", this.processedIcon = "";
120
122
  }
@@ -163,7 +165,7 @@ let d = class extends C {
163
165
  </div>`;
164
166
  }
165
167
  };
166
- d.styles = [z, D];
168
+ d.styles = [C, D];
167
169
  d.dependencies = {
168
170
  "cx-icon": _,
169
171
  "cx-tooltip": T,
@@ -193,7 +195,7 @@ p([
193
195
  d = p([
194
196
  w("cx-share-option-list-item")
195
197
  ], d);
196
- const V = P`
198
+ const V = z`
197
199
  :host {
198
200
  --border: none;
199
201
  --border-radius: var(--cx-border-radius-small);
@@ -365,7 +367,7 @@ var G = Object.defineProperty, H = Object.getOwnPropertyDescriptor, a = (e, t, i
365
367
  (r = e[n]) && (o = (s ? r(t, i, o) : r(o)) || o);
366
368
  return s && o && G(t, i, o), o;
367
369
  };
368
- let l = class extends C {
370
+ let l = class extends P {
369
371
  constructor() {
370
372
  super(...arguments), this.data = [], this.navigation = void 0, this.orientation = "horizontal", this.slidesPerPage = 1, this.slidesPerMove = 1, this.selectedItem = "", this.currentSlide = 0, this.activeSlide = 0, this.scrolling = !1, this.calculatedSlidesPerPage = 0, this.localize = new E(this), this.pendingSlideChange = !1, this.slideObserver = null, this.slidesCache = null, this.handleSlotChange = (e) => {
371
373
  this.invalidateSlidesCache(), e.some(
@@ -696,7 +698,7 @@ let l = class extends C {
696
698
  `;
697
699
  }
698
700
  };
699
- l.styles = [z, V];
701
+ l.styles = [C, V];
700
702
  l.dependencies = {
701
703
  "cx-icon": _,
702
704
  "cx-resize-observer": I,
@@ -2,15 +2,17 @@ import b from "./divider.js";
2
2
  import v from "./icon.js";
3
3
  import u from "./icon-button.js";
4
4
  import _ from "./resize-observer.js";
5
- import { i as m, n, C as f, E as h, x as l, c as x } from "../chunks/custom-element.vnXBMQxc.js";
6
- import { c as y } from "../chunks/component.styles.CI-v8BZa.js";
7
- import { d as C } from "../chunks/drag.DXEXVXPv.js";
8
- import { H as z } from "../chunks/slot.DJLm4Dig.js";
9
- import { w as g } from "../chunks/watch.BCJD77bD.js";
10
- import { r as w } from "../chunks/state.Cw55xXlb.js";
5
+ import { n, C as m } from "../chunks/lib-cortex-element.CVMmyPMC.js";
6
+ import { c as f } from "../chunks/component.styles.DMSLciL5.js";
7
+ import { c as x } from "../chunks/custom-element.L4WJXn1j.js";
8
+ import { d as y } from "../chunks/drag.DXEXVXPv.js";
9
+ import { H as C } from "../chunks/slot.j5oheLJC.js";
10
+ import { w as g } from "../chunks/watch.q1sEjPWL.js";
11
+ import { i as z, E as h, x as l } from "../chunks/lit-element.jLBm65_O.js";
12
+ import { r as w } from "../chunks/state.CSDxrqLd.js";
11
13
  import { e as $ } from "../chunks/query.BBf1UFkC.js";
12
- import { e as p } from "../chunks/class-map.CoZTSvbM.js";
13
- const k = m`
14
+ import { e as p } from "../chunks/class-map.BiVq-cVR.js";
15
+ const k = z`
14
16
  /* Host styles */
15
17
  :host {
16
18
  display: block;
@@ -182,9 +184,9 @@ var S = Object.defineProperty, D = Object.getOwnPropertyDescriptor, r = (e, o, t
182
184
  (c = e[d]) && (s = (a ? c(o, t, s) : c(s)) || s);
183
185
  return a && s && S(o, t, s), s;
184
186
  };
185
- let i = class extends f {
187
+ let i = class extends m {
186
188
  constructor() {
187
- super(), this.side = "left", this.open = !1, this.collapsible = !1, this.resizable = !1, this.state = "idle", this.hasSlotController = new z(this, "header"), this.handleSizeChange = this.handleSizeChange.bind(this);
189
+ super(), this.side = "left", this.open = !1, this.collapsible = !1, this.resizable = !1, this.state = "idle", this.hasSlotController = new C(this, "header"), this.handleSizeChange = this.handleSizeChange.bind(this);
188
190
  }
189
191
  handleStateChange() {
190
192
  this.state === "dragging" ? document.body.style.cursor = "col-resize" : document.body.style.cursor = "";
@@ -196,7 +198,7 @@ let i = class extends f {
196
198
  super.connectedCallback(), this.slot === "left" ? this.side = "left" : this.slot === "right" && (this.side = "right"), this.collapsible || (this.open = !0);
197
199
  }
198
200
  handleDrag(e) {
199
- this.resizable && (e.cancelable && e.preventDefault(), this.state = "dragging", C(this, {
201
+ this.resizable && (e.cancelable && e.preventDefault(), this.state = "dragging", y(this, {
200
202
  initialEvent: e,
201
203
  onMove: (o) => {
202
204
  let t = o;
@@ -283,7 +285,7 @@ let i = class extends f {
283
285
  </div>`;
284
286
  }
285
287
  };
286
- i.styles = [y, k];
288
+ i.styles = [f, k];
287
289
  i.dependencies = {
288
290
  "cx-divider": b,
289
291
  "cx-icon": v,
@@ -1,18 +1,20 @@
1
- import f from "./icon-button.js";
1
+ import x from "./icon-button.js";
2
2
  import d from "./input.js";
3
- import { C as g } from "../chunks/select.DfO4de04.js";
3
+ import g from "./select.js";
4
4
  import v from "./space.js";
5
5
  import k from "./tooltip.js";
6
- import { i as P, n as r, C as $, x as h, c as b } from "../chunks/custom-element.vnXBMQxc.js";
7
- import { c as _ } from "../chunks/component.styles.CI-v8BZa.js";
8
- import { d as y } from "../chunks/default-value.CIKAvD5l.js";
9
- import { L as V } from "../chunks/i18n.BP2FRO1v.js";
10
- import { w } from "../chunks/watch.BCJD77bD.js";
11
- import { r as c } from "../chunks/state.Cw55xXlb.js";
6
+ import { n as u, C as P } from "../chunks/lib-cortex-element.CVMmyPMC.js";
7
+ import { c as $ } from "../chunks/component.styles.DMSLciL5.js";
8
+ import { c as b } from "../chunks/custom-element.L4WJXn1j.js";
9
+ import { d as _ } from "../chunks/default-value.COZopaet.js";
10
+ import { L as y } from "../chunks/i18n.DrzK7TPf.js";
11
+ import { w as V } from "../chunks/watch.q1sEjPWL.js";
12
+ import { i as w, x as h } from "../chunks/lit-element.jLBm65_O.js";
13
+ import { r as c } from "../chunks/state.CSDxrqLd.js";
12
14
  import { e as m } from "../chunks/query.BBf1UFkC.js";
13
- import { n as x } from "../chunks/when.Dr1es41R.js";
15
+ import { n as f } from "../chunks/when.Dr1es41R.js";
14
16
  var i = /* @__PURE__ */ ((t) => (t.Percentage = "percentage", t.Pixel = "pixel", t))(i || {});
15
- const z = P`
17
+ const z = w`
16
18
  :host {
17
19
  display: block;
18
20
  width: 100%;
@@ -23,14 +25,14 @@ const z = P`
23
25
  flex: 1;
24
26
  }
25
27
  `;
26
- var C = Object.defineProperty, R = Object.getOwnPropertyDescriptor, s = (t, e, u, n) => {
27
- for (var l = n > 1 ? void 0 : n ? R(e, u) : e, o = t.length - 1, p; o >= 0; o--)
28
- (p = t[o]) && (l = (n ? p(e, u, l) : p(l)) || l);
29
- return n && l && C(e, u, l), l;
28
+ var C = Object.defineProperty, R = Object.getOwnPropertyDescriptor, s = (t, e, r, n) => {
29
+ for (var l = n > 1 ? void 0 : n ? R(e, r) : e, o = t.length - 1, p; o >= 0; o--)
30
+ (p = t[o]) && (l = (n ? p(e, r, l) : p(l)) || l);
31
+ return n && l && C(e, r, l), l;
30
32
  };
31
- let a = class extends $ {
33
+ let a = class extends P {
32
34
  constructor() {
33
- super(...arguments), this.localize = new V(this), this.value = ["100%", "100%"], this.defaultPixelValue = ["0px", "0px"], this.keepRatio = !1, this.canSetUnit = !1, this.canSetAspectRatio = !1, this.useMask = !1, this.unit = i.Percentage, this.defaultUnit = i.Percentage, this.fallbackValue = ["100%", ""], this.name = "", this.defaultValue = ["100%", ""];
35
+ super(...arguments), this.localize = new y(this), this.value = ["100%", "100%"], this.defaultPixelValue = ["0px", "0px"], this.keepRatio = !1, this.canSetUnit = !1, this.canSetAspectRatio = !1, this.useMask = !1, this.unit = i.Percentage, this.defaultUnit = i.Percentage, this.fallbackValue = ["100%", ""], this.name = "", this.defaultValue = ["100%", ""];
34
36
  }
35
37
  get mask() {
36
38
  return this.useMask ? this.unit === i.Pixel ? "numpx" : "num%" : "num";
@@ -43,15 +45,15 @@ let a = class extends $ {
43
45
  }
44
46
  handleWidthInput(t) {
45
47
  t.stopPropagation();
46
- const e = t.target, u = [...this.value], n = e.value, l = !Number.isNaN(parseFloat(n));
48
+ const e = t.target, r = [...this.value], n = e.value, l = !Number.isNaN(parseFloat(n));
47
49
  let o = "";
48
- this.useMask ? o = l ? n : "0" : this.unit === i.Percentage ? o = l ? `${n}%` : "0%" : o = l ? `${n}px` : "0px", u[0] = o, this.keepRatio && this.unit === i.Pixel && (u[1] = (parseFloat(o) / this.defaultAspectRatio).toFixed(0) + "px", this.heightInput.requestUpdate()), this.value = u, this.emit("cx-change");
50
+ this.useMask ? o = l ? n : "0" : this.unit === i.Percentage ? o = l ? `${n}%` : "0%" : o = l ? `${n}px` : "0px", r[0] = o, this.keepRatio && this.unit === i.Pixel && (r[1] = (parseFloat(o) / this.defaultAspectRatio).toFixed(0) + "px", this.heightInput.requestUpdate()), this.value = r, this.emit("cx-change");
49
51
  }
50
52
  handleHeightInput(t) {
51
53
  t.stopPropagation();
52
- const e = t.target, u = [...this.value], n = e.value, l = !Number.isNaN(parseFloat(n));
54
+ const e = t.target, r = [...this.value], n = e.value, l = !Number.isNaN(parseFloat(n));
53
55
  let o = "";
54
- this.useMask ? o = l ? n : "0" : this.unit === i.Percentage ? o = l ? `${n}%` : "0%" : o = l ? `${n}px` : "0px", u[1] = o, this.keepRatio && this.unit === i.Pixel && (u[0] = (parseFloat(o) * this.defaultAspectRatio).toFixed(0) + "px", this.widthInput.requestUpdate()), this.value = u, this.emit("cx-change");
56
+ this.useMask ? o = l ? n : "0" : this.unit === i.Percentage ? o = l ? `${n}%` : "0%" : o = l ? `${n}px` : "0px", r[1] = o, this.keepRatio && this.unit === i.Pixel && (r[0] = (parseFloat(o) * this.defaultAspectRatio).toFixed(0) + "px", this.widthInput.requestUpdate()), this.value = r, this.emit("cx-change");
55
57
  }
56
58
  handleUnitChange(t) {
57
59
  t.stopPropagation();
@@ -93,7 +95,7 @@ let a = class extends $ {
93
95
  @cx-change=${this.handleInputChange}
94
96
  @cx-input=${this.handleWidthInput}
95
97
  ></cx-input>
96
- ${x(
98
+ ${f(
97
99
  this.unit === i.Pixel && this.canSetAspectRatio,
98
100
  () => h`
99
101
  <cx-icon-button
@@ -129,7 +131,7 @@ let a = class extends $ {
129
131
  @cx-input=${this.handleHeightInput}
130
132
  ></cx-input>
131
133
  </cx-tooltip>
132
- ${x(
134
+ ${f(
133
135
  this.canSetUnit,
134
136
  () => h`
135
137
  <cx-select
@@ -148,9 +150,9 @@ let a = class extends $ {
148
150
  </cx-space>`;
149
151
  }
150
152
  };
151
- a.styles = [_, z];
153
+ a.styles = [$, z];
152
154
  a.dependencies = {
153
- "cx-icon-button": f,
155
+ "cx-icon-button": x,
154
156
  "cx-input": d,
155
157
  "cx-select": g,
156
158
  "cx-space": v,
@@ -166,7 +168,7 @@ s([
166
168
  m(".size-input-group__unit")
167
169
  ], a.prototype, "unitSelect", 2);
168
170
  s([
169
- r({
171
+ u({
170
172
  converter: {
171
173
  fromAttribute: (t) => {
172
174
  const e = (t ?? "").split(" ");
@@ -178,7 +180,7 @@ s([
178
180
  })
179
181
  ], a.prototype, "value", 2);
180
182
  s([
181
- r({
183
+ u({
182
184
  attribute: "default-pixel-value",
183
185
  converter: {
184
186
  fromAttribute: (t) => {
@@ -192,16 +194,16 @@ s([
192
194
  })
193
195
  ], a.prototype, "defaultPixelValue", 2);
194
196
  s([
195
- r({ attribute: "keep-ratio", reflect: !0, type: Boolean })
197
+ u({ attribute: "keep-ratio", reflect: !0, type: Boolean })
196
198
  ], a.prototype, "keepRatio", 2);
197
199
  s([
198
- r({ attribute: "can-set-unit", reflect: !0, type: Boolean })
200
+ u({ attribute: "can-set-unit", reflect: !0, type: Boolean })
199
201
  ], a.prototype, "canSetUnit", 2);
200
202
  s([
201
- r({ attribute: "can-set-aspect-ratio", reflect: !0, type: Boolean })
203
+ u({ attribute: "can-set-aspect-ratio", reflect: !0, type: Boolean })
202
204
  ], a.prototype, "canSetAspectRatio", 2);
203
205
  s([
204
- r({ attribute: "use-mask", reflect: !0, type: Boolean })
206
+ u({ attribute: "use-mask", reflect: !0, type: Boolean })
205
207
  ], a.prototype, "useMask", 2);
206
208
  s([
207
209
  c()
@@ -213,13 +215,13 @@ s([
213
215
  c()
214
216
  ], a.prototype, "fallbackValue", 2);
215
217
  s([
216
- r()
218
+ u()
217
219
  ], a.prototype, "name", 2);
218
220
  s([
219
- y()
221
+ _()
220
222
  ], a.prototype, "defaultValue", 2);
221
223
  s([
222
- w("value")
224
+ V("value")
223
225
  ], a.prototype, "handleValueChange", 1);
224
226
  a = s([
225
227
  b("cx-size-input-group")
@@ -1,7 +1,9 @@
1
- import { i as c, n as d, C as p, x as u, c as f } from "../chunks/custom-element.vnXBMQxc.js";
2
- import { c as v } from "../chunks/component.styles.CI-v8BZa.js";
3
- import { e as h } from "../chunks/class-map.CoZTSvbM.js";
4
- const m = c`
1
+ import { n as c, C as d } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as p } from "../chunks/component.styles.DMSLciL5.js";
3
+ import { c as u } from "../chunks/custom-element.L4WJXn1j.js";
4
+ import { i as f, x as m } from "../chunks/lit-element.jLBm65_O.js";
5
+ import { e as v } from "../chunks/class-map.BiVq-cVR.js";
6
+ const h = f`
5
7
  :host {
6
8
  --border-radius: var(--cx-border-radius-pill);
7
9
  --color: var(--cx-color-neutral-200);
@@ -73,15 +75,15 @@ var k = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, l = (a, o, s
73
75
  (i = a[n]) && (e = (r ? i(o, s, e) : i(e)) || e);
74
76
  return r && e && k(o, s, e), e;
75
77
  };
76
- let t = class extends p {
78
+ let t = class extends d {
77
79
  constructor() {
78
80
  super(...arguments), this.effect = "none";
79
81
  }
80
82
  render() {
81
- return u`
83
+ return m`
82
84
  <div
83
85
  part="base"
84
- class=${h({
86
+ class=${v({
85
87
  skeleton: !0,
86
88
  "skeleton--pulse": this.effect === "pulse",
87
89
  "skeleton--sheen": this.effect === "sheen"
@@ -92,12 +94,12 @@ let t = class extends p {
92
94
  `;
93
95
  }
94
96
  };
95
- t.styles = [v, m];
97
+ t.styles = [p, h];
96
98
  l([
97
- d()
99
+ c()
98
100
  ], t.prototype, "effect", 2);
99
101
  t = l([
100
- f("cx-skeleton")
102
+ u("cx-skeleton")
101
103
  ], t);
102
104
  export {
103
105
  t as default
@@ -1,6 +1,8 @@
1
- import { i as g, n as a, C as l, x as f, c as m } from "../chunks/custom-element.vnXBMQxc.js";
2
- import { c as h } from "../chunks/component.styles.CI-v8BZa.js";
3
- const u = g`
1
+ import { n as a, C as g } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as l } from "../chunks/component.styles.DMSLciL5.js";
3
+ import { c as m } from "../chunks/custom-element.L4WJXn1j.js";
4
+ import { i as f, x as h } from "../chunks/lit-element.jLBm65_O.js";
5
+ const u = f`
4
6
  :host {
5
7
  display: flex;
6
8
  flex-direction: var(--spacing-container-direction, horizontal);
@@ -138,20 +140,20 @@ const u = g`
138
140
  width: 100%;
139
141
  }
140
142
  `;
141
- var y = Object.defineProperty, x = Object.getOwnPropertyDescriptor, e = (p, i, c, s) => {
142
- for (var n = s > 1 ? void 0 : s ? x(i, c) : i, r = p.length - 1, o; r >= 0; r--)
143
- (o = p[r]) && (n = (s ? o(i, c, n) : o(n)) || n);
144
- return s && n && y(i, c, n), n;
143
+ var y = Object.defineProperty, x = Object.getOwnPropertyDescriptor, e = (p, i, r, s) => {
144
+ for (var n = s > 1 ? void 0 : s ? x(i, r) : i, c = p.length - 1, o; c >= 0; c--)
145
+ (o = p[c]) && (n = (s ? o(i, r, n) : o(n)) || n);
146
+ return s && n && y(i, r, n), n;
145
147
  };
146
- let t = class extends l {
148
+ let t = class extends g {
147
149
  constructor() {
148
150
  super(...arguments), this.block = !1, this.direction = "horizontal", this.spacing = "medium", this.wrap = "wrap", this.justifyContent = "normal", this.alignItems = "normal";
149
151
  }
150
152
  render() {
151
- return f`<slot part="base"></slot>`;
153
+ return h`<slot part="base"></slot>`;
152
154
  }
153
155
  };
154
- t.styles = [h, u];
156
+ t.styles = [l, u];
155
157
  e([
156
158
  a({ reflect: !0, type: Boolean })
157
159
  ], t.prototype, "block", 2);
@@ -1,7 +1,9 @@
1
- import { i as c, C as l, x as m, c as p } from "../chunks/custom-element.vnXBMQxc.js";
2
- import { c as d } from "../chunks/component.styles.CI-v8BZa.js";
3
- import { L as h } from "../chunks/i18n.BP2FRO1v.js";
4
- const f = c`
1
+ import { C as c } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as l } from "../chunks/component.styles.DMSLciL5.js";
3
+ import { c as m } from "../chunks/custom-element.L4WJXn1j.js";
4
+ import { L as p } from "../chunks/i18n.DrzK7TPf.js";
5
+ import { i as d, x as h } from "../chunks/lit-element.jLBm65_O.js";
6
+ const f = d`
5
7
  :host {
6
8
  --track-width: 2px;
7
9
  --track-color: rgb(128 128 128 / 25%);
@@ -61,17 +63,17 @@ const f = c`
61
63
  }
62
64
  }
63
65
  `;
64
- var g = Object.getOwnPropertyDescriptor, k = (t, s, o, i) => {
65
- for (var r = i > 1 ? void 0 : i ? g(s, o) : s, e = t.length - 1, n; e >= 0; e--)
66
- (n = t[e]) && (r = n(r) || r);
66
+ var g = Object.getOwnPropertyDescriptor, k = (a, s, n, o) => {
67
+ for (var r = o > 1 ? void 0 : o ? g(s, n) : s, e = a.length - 1, i; e >= 0; e--)
68
+ (i = a[e]) && (r = i(r) || r);
67
69
  return r;
68
70
  };
69
- let a = class extends l {
71
+ let t = class extends c {
70
72
  constructor() {
71
- super(...arguments), this.localize = new h(this);
73
+ super(...arguments), this.localize = new p(this);
72
74
  }
73
75
  render() {
74
- return m`
76
+ return h`
75
77
  <svg
76
78
  part="base"
77
79
  class="spinner"
@@ -84,10 +86,10 @@ let a = class extends l {
84
86
  `;
85
87
  }
86
88
  };
87
- a.styles = [d, f];
88
- a = k([
89
- p("cx-spinner")
90
- ], a);
89
+ t.styles = [l, f];
90
+ t = k([
91
+ m("cx-spinner")
92
+ ], t);
91
93
  export {
92
- a as default
94
+ t as default
93
95
  };
@@ -1,12 +1,14 @@
1
- import { i as v, n, C as u, x as m, c as g } from "../chunks/custom-element.vnXBMQxc.js";
2
- import { c as f } from "../chunks/component.styles.CI-v8BZa.js";
3
- import { d as y } from "../chunks/drag.DXEXVXPv.js";
4
- import { L as x } from "../chunks/i18n.BP2FRO1v.js";
1
+ import { n, C as v } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as m } from "../chunks/component.styles.DMSLciL5.js";
3
+ import { c as u } from "../chunks/custom-element.L4WJXn1j.js";
4
+ import { d as g } from "../chunks/drag.DXEXVXPv.js";
5
+ import { L as f } from "../chunks/i18n.DrzK7TPf.js";
5
6
  import { c as p } from "../chunks/math.DqTA6ya4.js";
6
- import { w as c } from "../chunks/watch.BCJD77bD.js";
7
+ import { w as c } from "../chunks/watch.q1sEjPWL.js";
8
+ import { i as y, x } from "../chunks/lit-element.jLBm65_O.js";
7
9
  import { e as b } from "../chunks/query.BBf1UFkC.js";
8
- import { o as w } from "../chunks/if-defined.MfEgpxEN.js";
9
- const P = v`
10
+ import { o as w } from "../chunks/if-defined.BRoBj_Rp.js";
11
+ const P = y`
10
12
  :host {
11
13
  --divider-color: var(--cx-panel-border-color);
12
14
  --divider-color-hover: var(--cx-color-neutral-300);
@@ -99,9 +101,9 @@ var z = Object.defineProperty, C = Object.getOwnPropertyDescriptor, s = (i, t, o
99
101
  (l = i[h]) && (e = (a ? l(t, o, e) : l(e)) || e);
100
102
  return a && e && z(t, o, e), e;
101
103
  };
102
- let r = class extends u {
104
+ let r = class extends v {
103
105
  constructor() {
104
- super(...arguments), this.localize = new x(this), this.position = 50, this.vertical = !1, this.disabled = !1, this.state = "idle", this.snapThreshold = 12;
106
+ super(...arguments), this.localize = new f(this), this.position = 50, this.vertical = !1, this.disabled = !1, this.state = "idle", this.snapThreshold = 12;
105
107
  }
106
108
  runFirstUpdated() {
107
109
  this.detectSize(), this.cachedPositionInPixels = this.percentageToPixels(this.position);
@@ -126,7 +128,7 @@ let r = class extends u {
126
128
  }
127
129
  handleDrag(i) {
128
130
  const t = this.localize.dir() === "rtl";
129
- this.disabled || (i.cancelable && i.preventDefault(), this.state = "dragging", y(this, {
131
+ this.disabled || (i.cancelable && i.preventDefault(), this.state = "dragging", g(this, {
130
132
  initialEvent: i,
131
133
  onMove: (o, a) => {
132
134
  let e = this.vertical ? a : o;
@@ -191,7 +193,7 @@ let r = class extends u {
191
193
  calc(100% - var(--divider-width))
192
194
  )
193
195
  `, e = "auto";
194
- return this.primary === "end" ? o && !this.vertical ? this.style[i] = `${a} var(--divider-width) ${e}` : this.style[i] = `${e} var(--divider-width) ${a}` : o && !this.vertical ? this.style[i] = `${e} var(--divider-width) ${a}` : this.style[i] = `${a} var(--divider-width) ${e}`, this.style[t] = "", m`
196
+ return this.primary === "end" ? o && !this.vertical ? this.style[i] = `${a} var(--divider-width) ${e}` : this.style[i] = `${e} var(--divider-width) ${a}` : o && !this.vertical ? this.style[i] = `${e} var(--divider-width) ${a}` : this.style[i] = `${a} var(--divider-width) ${e}`, this.style[t] = "", x`
195
197
  <slot name="start" part="panel start" class="start"></slot>
196
198
 
197
199
  <div
@@ -214,7 +216,7 @@ let r = class extends u {
214
216
  `;
215
217
  }
216
218
  };
217
- r.styles = [f, P];
219
+ r.styles = [m, P];
218
220
  s([
219
221
  b(".divider")
220
222
  ], r.prototype, "divider", 2);
@@ -255,7 +257,7 @@ s([
255
257
  c("vertical")
256
258
  ], r.prototype, "handleVerticalChange", 1);
257
259
  r = s([
258
- g("cx-split-panel")
260
+ u("cx-split-panel")
259
261
  ], r);
260
262
  export {
261
263
  r as default
@@ -1,14 +1,16 @@
1
- import { i as _, n as r, C as x, x as o, c as u } from "../chunks/custom-element.vnXBMQxc.js";
2
- import { c as h } from "../chunks/component.styles.CI-v8BZa.js";
3
- import { e as m } from "../chunks/query.BBf1UFkC.js";
4
- import { e as v } from "../chunks/class-map.CoZTSvbM.js";
5
- import { o as g } from "../chunks/style-map.CZovMmo_.js";
1
+ import { n as r, C as _ } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as x } from "../chunks/component.styles.DMSLciL5.js";
3
+ import { c as u } from "../chunks/custom-element.L4WJXn1j.js";
4
+ import { i as m, x as o } from "../chunks/lit-element.jLBm65_O.js";
5
+ import { e as h } from "../chunks/query.BBf1UFkC.js";
6
+ import { e as v } from "../chunks/class-map.BiVq-cVR.js";
7
+ import { o as f } from "../chunks/style-map.llVFPd__.js";
6
8
  import { n as l } from "../chunks/when.Dr1es41R.js";
7
- import f from "./icon.js";
9
+ import g from "./icon.js";
8
10
  import b from "./line-clamp.js";
9
11
  import y from "./progress-bar.js";
10
12
  import w from "./tooltip.js";
11
- const $ = _`
13
+ const $ = m`
12
14
  :host {
13
15
  --color: var(--color);
14
16
 
@@ -221,12 +223,12 @@ const $ = _`
221
223
  flex: 1;
222
224
  }
223
225
  `;
224
- var S = Object.defineProperty, C = Object.getOwnPropertyDescriptor, t = (d, i, a, c) => {
225
- for (var s = c > 1 ? void 0 : c ? C(i, a) : i, p = d.length - 1, n; p >= 0; p--)
226
- (n = d[p]) && (s = (c ? n(i, a, s) : n(s)) || s);
227
- return c && s && S(i, a, s), s;
226
+ var S = Object.defineProperty, C = Object.getOwnPropertyDescriptor, t = (d, i, p, c) => {
227
+ for (var s = c > 1 ? void 0 : c ? C(i, p) : i, a = d.length - 1, n; a >= 0; a--)
228
+ (n = d[a]) && (s = (c ? n(i, p, s) : n(s)) || s);
229
+ return c && s && S(i, p, s), s;
228
230
  };
229
- let e = class extends x {
231
+ let e = class extends _ {
230
232
  constructor() {
231
233
  super(), this.active = !1, this.completed = !1, this.disabled = !1, this.readonly = !1, this.error = !1, this.index = 0, this.last = !1, this.helpText = "", this.progress = 0, this.color = "var(--cx-color-primary)", this.round = !1, this.description = "", this.renderDefaultStep = this.renderDefaultStep.bind(this), this.renderRoundStep = this.renderRoundStep.bind(this);
232
234
  }
@@ -276,7 +278,7 @@ let e = class extends x {
276
278
  hoist
277
279
  >
278
280
  <div
279
- style=${g({
281
+ style=${f({
280
282
  "--color": this.color
281
283
  })}
282
284
  >
@@ -306,15 +308,15 @@ let e = class extends x {
306
308
  `;
307
309
  }
308
310
  };
309
- e.styles = [h, $];
311
+ e.styles = [x, $];
310
312
  e.dependencies = {
311
- "cx-icon": f,
313
+ "cx-icon": g,
312
314
  "cx-line-clamp": b,
313
315
  "cx-progress-bar": y,
314
316
  "cx-tooltip": w
315
317
  };
316
318
  t([
317
- m('div[part="base"]')
319
+ h('div[part="base"]')
318
320
  ], e.prototype, "step", 2);
319
321
  t([
320
322
  r({ reflect: !0, type: Boolean })