@orangelogic/design-system 2.78.0 → 2.79.0-ci.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/library/chunks/{AxisLabelRadial.BTpA5dYy.js → AxisLabelRadial.Bs1P_q_F.js} +1 -1
  2. package/library/chunks/{BaseColumnSeries.hIO71GLG.js → BaseColumnSeries.C7jwOxIJ.js} +1 -1
  3. package/library/chunks/{CandlestickSeries.w9C0GR9v.js → CandlestickSeries.CkXGtRWE.js} +2 -2
  4. package/library/chunks/{Circle.tOnnO-F-.js → Circle.DBa5Ok8V.js} +1 -1
  5. package/library/chunks/{ColumnSeries.Ckz75x1M.js → ColumnSeries.DGazbfza.js} +2 -2
  6. package/library/chunks/{EditableAxisLabel.CCMTJT7K.js → EditableAxisLabel.wN0t_G2B.js} +2 -2
  7. package/library/chunks/{EditableLabel.DPmicdjK.js → EditableLabel.BWeq6fgX.js} +1 -1
  8. package/library/chunks/{Gradient.BrDBLm8v.js → Gradient.CdcsPIru.js} +1 -1
  9. package/library/chunks/{LinearGradient.CxfXxvMw.js → LinearGradient.B1z9AGUt.js} +2 -2
  10. package/library/chunks/{Picture.BNASYM-P.js → Picture.YSPC0l0Q.js} +1 -1
  11. package/library/chunks/{Polygon.Dr-GV2hn.js → Polygon.BwMvXN2H.js} +1 -1
  12. package/library/chunks/{ProgressPie.4mPA6xqm.js → ProgressPie.DlCwXN17.js} +5 -5
  13. package/library/chunks/{RadialLabel.HfsGiN4x.js → RadialLabel.DyVOf2K8.js} +1 -1
  14. package/library/chunks/{Scrollbar.Bgg-RhjP.js → Scrollbar.BdZVb_Z-.js} +1 -1
  15. package/library/chunks/{Slice.Dm56LTKj.js → Slice.DiEswWa6.js} +1 -1
  16. package/library/chunks/{Slider.FKJwoPq2.js → Slider.C20No2z5.js} +1 -1
  17. package/library/chunks/{SpriteResizer.-qJDgug8.js → SpriteResizer.DFnmcy0h.js} +1 -1
  18. package/library/chunks/{Triangle.BECgi7mc.js → Triangle.BaOef7HV.js} +1 -1
  19. package/library/chunks/{ZoomTools.cgwuIB0e.js → ZoomTools.D5JPehoL.js} +1 -1
  20. package/library/chunks/{am-chart.oZVBmpnn.js → am-chart.H2jnOzFc.js} +253 -261
  21. package/library/chunks/{animation.DU8t6mrk.js → animation.7ifl4x2S.js} +3 -7
  22. package/library/chunks/{button.DS64Tr8Z.js → button.B-ktz-w4.js} +7 -40
  23. package/library/chunks/button.styles.CKqn956w.js +5 -0
  24. package/library/chunks/{color-swatch-group.C7T6-sY7.js → color-swatch-group.DvllHUil.js} +46 -216
  25. package/library/chunks/{color-swatch.BuUP5yG4.js → color-swatch.Bx-HOp9f.js} +18 -202
  26. package/library/chunks/{colorPicker.C4w_vDjh.js → colorPicker.06n6P3aK.js} +5 -5
  27. package/library/chunks/component.styles.CRO4Odto.js +5 -0
  28. package/library/chunks/confirm-popover.BbHneK19.js +121 -0
  29. package/library/chunks/{cropper.D1lO3pl-.js → cropper.DTokTzP9.js} +2533 -2904
  30. package/library/chunks/{dialog.BdXQkCKY.js → dialog.B1nzoJak.js} +40 -251
  31. package/library/chunks/dot-pagination.C26bQ3vy.js +204 -0
  32. package/library/chunks/{exporting.BdjsEGF8.js → exporting.Chnl3UWi.js} +2 -2
  33. package/library/chunks/file-on-demand.D_Mia7M9.js +1956 -0
  34. package/library/chunks/{flow.D0FqdfOy.js → flow.D2CqFQa7.js} +5 -5
  35. package/library/chunks/{folder-select.B2qxSKA5.js → folder-select.DOsefkAC.js} +20 -226
  36. package/library/chunks/form-control.styles.CaGWmeAS.js +5 -0
  37. package/library/chunks/{gantt.DfUM7Gvb.js → gantt.DSHD2gjO.js} +8 -8
  38. package/library/chunks/header.D68fIfe2.js +170 -0
  39. package/library/chunks/{hierarchy.5kfBCoGt.js → hierarchy.DwVsMmsP.js} +5 -5
  40. package/library/chunks/icon-button.BuhCp--_.js +149 -0
  41. package/library/chunks/iframe.BQFZQMTe.js +73 -0
  42. package/library/chunks/{image.DHBgKeJp.js → image.4eLWAZ3-.js} +16 -272
  43. package/library/chunks/{index.BkoLctE9.js → index.C9khsiad.js} +17 -17
  44. package/library/chunks/{json.BjaT7cyo.js → json.zyETMOw-.js} +3 -3
  45. package/library/chunks/{list-editor.DluUZa06.js → list-editor.DNa6ROgr.js} +45 -360
  46. package/library/chunks/{map.DbgNAGxD.js → map.CqM2O6LB.js} +2 -2
  47. package/library/chunks/option.DljDoFx4.js +123 -0
  48. package/library/chunks/{overlayscrollbars.XhGWx9Zk.js → overlayscrollbars.BMav4RQ4.js} +252 -958
  49. package/library/chunks/{pagination.g4zErKN2.js → pagination.BiRyMwhM.js} +45 -141
  50. package/library/chunks/{percent.DO4FjAdu.js → percent.DuQwbCCg.js} +3 -3
  51. package/library/chunks/{radar.Dd5fJVMg.js → radar.FpYl3UH5.js} +4 -4
  52. package/library/chunks/{sliceGrouper.DA3aeuJ-.js → sliceGrouper.BsE7fGMt.js} +1 -1
  53. package/library/chunks/{stock.BfI5MUyK.js → stock.BR-ag4Pt.js} +9 -9
  54. package/library/chunks/{tab-group.Dg6a82ei.js → tab-group.9HbDE1AF.js} +30 -581
  55. package/library/chunks/{table.CcqrVieF.js → table.B8LpbiGE.js} +192 -2133
  56. package/library/chunks/{timeline.BxMLjB5J.js → timeline.DkzkmgEM.js} +5 -5
  57. package/library/chunks/{tree.OXvhEOjS.js → tree.q7xRVYyh.js} +31 -399
  58. package/library/chunks/typography.DJC_UXgs.js +52 -0
  59. package/library/chunks/{venn.CxFupTb9.js → venn.D739bOV3.js} +1 -1
  60. package/library/chunks/{wc.ThQubbN2.js → wc.DzW311D-.js} +1 -1
  61. package/library/chunks/{xy.q6e68du3.js → xy.DCRDfTsa.js} +10 -10
  62. package/library/components/alert.js +9 -177
  63. package/library/components/am-chart.js +2 -2
  64. package/library/components/animated-image.js +12 -100
  65. package/library/components/animation.js +2 -2
  66. package/library/components/array-line-clamp.js +7 -88
  67. package/library/components/asset-link-format.js +48 -626
  68. package/library/components/atoms.js +17 -17
  69. package/library/components/avatar.js +5 -94
  70. package/library/components/badge.js +11 -139
  71. package/library/components/bicolor-picker.js +4 -23
  72. package/library/components/border-input-group.js +4 -25
  73. package/library/components/breadcrumb-item.js +24 -155
  74. package/library/components/breadcrumb.js +3 -21
  75. package/library/components/button-group.js +3 -28
  76. package/library/components/button.js +3 -3
  77. package/library/components/card.js +4 -126
  78. package/library/components/checkbox.js +11 -252
  79. package/library/components/color-picker.js +54 -725
  80. package/library/components/color-swatch-group.js +5 -5
  81. package/library/components/color-swatch.js +3 -3
  82. package/library/components/confirm-popover.js +5 -5
  83. package/library/components/copy-button.js +9 -254
  84. package/library/components/corner-position-input-group.js +4 -57
  85. package/library/components/cropper.js +2 -2
  86. package/library/components/details.js +6 -152
  87. package/library/components/dialog.js +4 -4
  88. package/library/components/divider.js +5 -67
  89. package/library/components/dot-pagination.js +2 -2
  90. package/library/components/dot-status.js +25 -95
  91. package/library/components/drawer.js +8 -239
  92. package/library/components/dropdown.js +47 -149
  93. package/library/components/dynamic-select.js +7 -72
  94. package/library/components/e-chart.js +6 -49
  95. package/library/components/element-clamp.js +5 -78
  96. package/library/components/file-on-demand.js +9 -9
  97. package/library/components/folder-select.js +3 -3
  98. package/library/components/format-date.js +2 -6
  99. package/library/components/format-time.js +2 -12
  100. package/library/components/grid-item.js +4 -171
  101. package/library/components/grid.js +5 -41
  102. package/library/components/header.js +2 -2
  103. package/library/components/icon-button.js +2 -2
  104. package/library/components/icon.js +8 -2448
  105. package/library/components/iframe.js +2 -2
  106. package/library/components/image-comparer.js +7 -127
  107. package/library/components/image.js +2 -2
  108. package/library/components/include.js +2 -6
  109. package/library/components/input-group.js +4 -29
  110. package/library/components/input.js +21 -715
  111. package/library/components/line-clamp.js +7 -83
  112. package/library/components/list-editor.js +7 -7
  113. package/library/components/markdown.js +1 -3
  114. package/library/components/masonry.js +22 -221
  115. package/library/components/menu-item.js +9 -309
  116. package/library/components/menu-label.js +3 -20
  117. package/library/components/menu-section.js +3 -17
  118. package/library/components/menu.js +4 -112
  119. package/library/components/molecules.js +5 -5
  120. package/library/components/mutation-observer.js +2 -6
  121. package/library/components/option.js +2 -2
  122. package/library/components/organisms.js +2 -2
  123. package/library/components/padding-input-group.js +5 -16
  124. package/library/components/pagination.js +5 -5
  125. package/library/components/popup.js +204 -538
  126. package/library/components/position-picker.js +3 -93
  127. package/library/components/progress-bar.js +18 -135
  128. package/library/components/progress-ring.js +3 -94
  129. package/library/components/qr-code.js +4 -16
  130. package/library/components/radio-button.js +4 -24
  131. package/library/components/radio-card.js +7 -175
  132. package/library/components/radio-group.js +20 -151
  133. package/library/components/radio.js +13 -170
  134. package/library/components/range.js +120 -657
  135. package/library/components/rating.js +56 -236
  136. package/library/components/relative-time.js +2 -12
  137. package/library/components/resize-observer.js +3 -7
  138. package/library/components/select.js +225 -933
  139. package/library/components/shadow-input-group.js +5 -24
  140. package/library/components/share-option-list.js +18 -310
  141. package/library/components/sidebar.js +14 -220
  142. package/library/components/size-input-group.js +10 -75
  143. package/library/components/skeleton.js +7 -80
  144. package/library/components/space.js +6 -143
  145. package/library/components/spinner.js +6 -75
  146. package/library/components/split-panel.js +16 -123
  147. package/library/components/step.js +21 -272
  148. package/library/components/stepper-wizard.js +9 -43
  149. package/library/components/stepper.js +16 -33
  150. package/library/components/switch.js +11 -274
  151. package/library/components/tab-group.js +4 -4
  152. package/library/components/tab-panel.js +4 -31
  153. package/library/components/tab.js +9 -255
  154. package/library/components/table.js +6 -6
  155. package/library/components/tag.js +14 -165
  156. package/library/components/textarea.js +14 -363
  157. package/library/components/timecode.js +4 -23
  158. package/library/components/tooltip.js +8 -92
  159. package/library/components/tree-item.js +2 -2
  160. package/library/components/tree.js +2 -2
  161. package/library/components/typeface.js +18 -117
  162. package/library/components/types.js +777 -12001
  163. package/library/components/typography.js +2 -2
  164. package/library/components/video.js +3522 -5919
  165. package/library/components/visually-hidden.js +3 -15
  166. package/library/package.json +4 -1
  167. package/library/packages/atoms/src/components/pagination/pagination.d.ts +2 -1
  168. package/library/packages/atoms/src/components/select/select.d.ts +11 -0
  169. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/Ajax.d.ts +1 -1
  170. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/List.d.ts +32 -1
  171. package/library/packages/types/src/table.d.ts +2 -0
  172. package/library/react-web-component.d.ts +7 -3
  173. package/package.json +4 -1
  174. package/library/chunks/button.styles.Dl5IQLHU.js +0 -718
  175. package/library/chunks/component.styles.DMSLciL5.js +0 -71
  176. package/library/chunks/confirm-popover.BNjRvnN0.js +0 -288
  177. package/library/chunks/dot-pagination.CIVxMAAS.js +0 -325
  178. package/library/chunks/file-on-demand.BTTdth3o.js +0 -3802
  179. package/library/chunks/form-control.styles.CUGhvlfT.js +0 -67
  180. package/library/chunks/header.m7v3M94Z.js +0 -777
  181. package/library/chunks/icon-button.C3eqeQl9.js +0 -683
  182. package/library/chunks/iframe.CNEyWhcM.js +0 -160
  183. package/library/chunks/option.Csqefux_.js +0 -296
  184. package/library/chunks/typography.oDzoLbZS.js +0 -149
@@ -1,9 +1,9 @@
1
1
  import b from "./divider.js";
2
2
  import v from "./icon.js";
3
- import { C as u } from "../chunks/icon-button.C3eqeQl9.js";
3
+ import { C as u } from "../chunks/icon-button.BuhCp--_.js";
4
4
  import _ from "./resize-observer.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";
5
+ import { n as d, C as m } from "../chunks/lib-cortex-element.CVMmyPMC.js";
6
+ import { c as f } from "../chunks/component.styles.CRO4Odto.js";
7
7
  import { c as x } from "../chunks/custom-element.L4WJXn1j.js";
8
8
  import { d as y } from "../chunks/drag.DXEXVXPv.js";
9
9
  import { H as C } from "../chunks/slot.j5oheLJC.js";
@@ -12,176 +12,10 @@ import { i as z, E as h, x as l } from "../chunks/lit-element.jLBm65_O.js";
12
12
  import { r as w } from "../chunks/state.CSDxrqLd.js";
13
13
  import { e as $ } from "../chunks/query.BBf1UFkC.js";
14
14
  import { e as p } from "../chunks/class-map.BiVq-cVR.js";
15
- const k = z`
16
- /* Host styles */
17
- :host {
18
- display: block;
19
-
20
- --_background-color: var(--background-color, var(--cx-color-neutral-0));
21
- --_hint-color: var(--hint-color, var(--cx-color-primary-300));
22
- --closed-width: 0px;
23
- }
24
-
25
- /* Layout containers */
26
- .sidebar {
27
- display: grid;
28
- grid-template-areas: 'main';
29
- position: relative;
30
- }
31
-
32
- .sidebar,
33
- .group--opened,
34
- .group--closed,
35
- .group_content,
36
- .open_trigger {
37
- height: 100%;
38
- }
39
-
40
- .group--opened,
41
- .group--closed {
42
- grid-area: main;
43
- }
44
-
45
- /* Content sections */
46
- .sidebar__header {
47
- padding: var(--cx-spacing-x-small) var(--cx-spacing-small);
48
- position: relative;
49
- }
50
- .sidebar--no-header .sidebar__header {
51
- display: none;
52
- }
53
-
54
- .content {
55
- padding: var(--cx-spacing-small);
56
- padding-bottom: var(--cx-spacing-small);
57
- flex-grow: 1;
58
- }
59
-
60
- /* Dividers */
61
- .sidebar__divider {
62
- --spacing: 6px;
63
- position: absolute;
64
- top: 0;
65
- }
66
-
67
- .sidebar__divider:hover {
68
- --color: var(--_hint-color);
69
- cursor: col-resize;
70
- }
71
-
72
- /* Disable resize interaction when not resizable */
73
- .sidebar--not-resizable .sidebar__divider {
74
- cursor: default;
75
- pointer-events: none;
76
- }
77
-
78
- .sidebar--not-resizable .sidebar__divider:hover {
79
- --color: inherit;
80
- cursor: default;
81
- }
82
-
83
- .sidebar--left .sidebar__divider {
84
- right: calc(0px - var(--spacing));
85
- }
86
-
87
- .sidebar--right .sidebar__divider {
88
- left: calc(0px - var(--spacing));
89
- }
90
-
91
- /* Trigger elements */
92
- .close_trigger {
93
- visibility: hidden;
94
- position: absolute;
95
- top: max(calc(var(--header-height) / 2), 32px);
96
- transform: translateY(-50%);
97
- }
98
-
99
- .close_trigger > cx-icon-button::part(base) {
100
- background-color: var(--cx-color-neutral-0);
101
- }
102
-
103
- .sidebar--left .close_trigger {
104
- right: 0;
105
- transform: translate(50%, -50%);
106
- }
107
-
108
- .sidebar--right .close_trigger {
109
- left: 0;
110
- transform: translate(-50%, -50%);
111
- }
112
-
113
- .sidebar--opened:hover .close_trigger {
114
- visibility: visible;
115
- }
116
-
117
- .open_trigger {
118
- padding: var(--cx-spacing-medium);
119
- cursor: pointer;
120
- background-color: var(--_background-color);
121
- position: relative;
122
- }
123
-
124
- .open_trigger_hint {
125
- --spacing: 0;
126
- position: absolute;
127
- top: 0;
128
- right: 0;
129
- }
130
-
131
- .open_trigger:hover .open_trigger_hint {
132
- --color: var(--_hint-color);
133
- }
134
-
135
- /* Group containers */
136
- .group_container {
137
- overflow-x: clip;
138
- }
139
-
140
- .group--opened,
141
- .group--closed {
142
- display: flex;
143
- flex-direction: column;
144
- }
145
-
146
- .group--closed {
147
- width: var(--closed-width);
148
- }
149
-
150
- .group_content {
151
- background-color: var(--_background-color);
152
- contain: inline-size;
153
- overflow-x: clip;
154
- }
155
-
156
- .group--opened .group_content {
157
- width: var(--size);
158
- min-width: var(--min-width);
159
- max-width: var(--max-width);
160
- }
161
-
162
- /* State-based visibility */
163
- .sidebar--opened .group--opened {
164
- visibility: visible;
165
- }
166
-
167
- .sidebar--opened .group--closed {
168
- visibility: hidden;
169
- width: 0;
170
- }
171
-
172
- .sidebar:not(.sidebar--opened) .group--closed {
173
- visibility: visible;
174
- }
175
-
176
- .sidebar:not(.sidebar--opened) .group--opened {
177
- contain: inline-size;
178
- visibility: hidden;
179
- width: 0;
180
- }
181
- `;
182
- var S = Object.defineProperty, D = Object.getOwnPropertyDescriptor, r = (e, o, t, a) => {
183
- for (var s = a > 1 ? void 0 : a ? D(o, t) : o, d = e.length - 1, c; d >= 0; d--)
184
- (c = e[d]) && (s = (a ? c(o, t, s) : c(s)) || s);
15
+ const k = z`:host{--_background-color:var(--background-color,var(--cx-color-neutral-0));--_hint-color:var(--hint-color,var(--cx-color-primary-300));--closed-width:0px;display:block}.sidebar{grid-template-areas:"main";display:grid;position:relative}.sidebar,.group--opened,.group--closed,.group_content,.open_trigger{height:100%}.group--opened,.group--closed{grid-area:main}.sidebar__header{padding:var(--cx-spacing-x-small) var(--cx-spacing-small);position:relative}.sidebar--no-header .sidebar__header{display:none}.content{padding:var(--cx-spacing-small);padding-bottom:var(--cx-spacing-small);flex-grow:1}.sidebar__divider{--spacing:6px;position:absolute;top:0}.sidebar__divider:hover{--color:var(--_hint-color);cursor:col-resize}.sidebar--not-resizable .sidebar__divider{cursor:default;pointer-events:none}.sidebar--not-resizable .sidebar__divider:hover{--color:inherit;cursor:default}.sidebar--left .sidebar__divider{right:calc(0px - var(--spacing))}.sidebar--right .sidebar__divider{left:calc(0px - var(--spacing))}.close_trigger{visibility:hidden;top:max(calc(var(--header-height) / 2), 32px);position:absolute;transform:translateY(-50%)}.close_trigger>cx-icon-button::part(base){background-color:var(--cx-color-neutral-0)}.sidebar--left .close_trigger{right:0;transform:translate(50%,-50%)}.sidebar--right .close_trigger{left:0;transform:translate(-50%,-50%)}.sidebar--opened:hover .close_trigger{visibility:visible}.open_trigger{padding:var(--cx-spacing-medium);cursor:pointer;background-color:var(--_background-color);position:relative}.open_trigger_hint{--spacing:0;position:absolute;top:0;right:0}.open_trigger:hover .open_trigger_hint{--color:var(--_hint-color)}.group_container{overflow-x:clip}.group--opened,.group--closed{flex-direction:column;display:flex}.group--closed{width:var(--closed-width)}.group_content{background-color:var(--_background-color);contain:inline-size;overflow-x:clip}.group--opened .group_content{width:var(--size);min-width:var(--min-width);max-width:var(--max-width)}.sidebar--opened .group--opened{visibility:visible}.sidebar--opened .group--closed{visibility:hidden;width:0}.sidebar:not(.sidebar--opened) .group--closed{visibility:visible}.sidebar:not(.sidebar--opened) .group--opened{contain:inline-size;visibility:hidden;width:0}`;
16
+ var S = Object.defineProperty, B = Object.getOwnPropertyDescriptor, r = (e, o, t, a) => {
17
+ for (var s = a > 1 ? void 0 : a ? B(o, t) : o, n = e.length - 1, c; n >= 0; n--)
18
+ (c = e[n]) && (s = (a ? c(o, t, s) : c(s)) || s);
185
19
  return a && s && S(o, t, s), s;
186
20
  };
187
21
  let i = class extends m {
@@ -232,57 +66,17 @@ let i = class extends m {
232
66
  }
233
67
  render() {
234
68
  const e = this.hasSlotController.test("header");
235
- return l`<div
236
- part="base"
237
- class=${p({
69
+ return l`<div part="base" class=${p({
238
70
  sidebar: !0,
239
71
  "sidebar--left": this.side === "left",
240
72
  "sidebar--no-header": !e,
241
73
  "sidebar--not-resizable": !this.resizable,
242
74
  "sidebar--opened": this.open,
243
75
  "sidebar--right": this.side === "right"
244
- })}
245
- >
246
- <div class=${p({
76
+ })}><div class=${p({
247
77
  "group--closed": !this.open,
248
78
  "group--opened": this.open
249
- })}>
250
- <div class="group_content">
251
- <cx-resize-observer @cx-resize=${this.handleResize}>
252
- <div part="header" class="sidebar__header">
253
- <slot name="header"></slot>
254
- </div>
255
- </cx-resize-observer>
256
- ${e ? l`<cx-divider style="--spacing:0"></cx-divider>` : h}
257
- <div part="content" class="content"><slot></slot></div>
258
- </div>
259
- <cx-divider
260
- class="sidebar__divider"
261
- vertical
262
- @mousedown=${this.handleDrag}
263
- @touchstart=${this.handleDrag}
264
- ></cx-divider>
265
- ${this.collapsible ? l`<div class="close_trigger" @click=${this.handleCloseTriggerClick}>
266
- <cx-icon-button
267
- outline
268
- size="small"
269
- name=${this.side === "right" ? "keyboard_double_arrow_right" : "keyboard_double_arrow_left"}
270
- ></cx-icon-button>
271
- </div>` : h}
272
- </div>
273
- ${this.collapsible ? l`<div class="group--closed">
274
- <div class="group_content">
275
- <div class="open_trigger" @click=${this.handleOpenTriggerClick}>
276
- <slot name="open_trigger">
277
- <cx-icon
278
- name=${this.side === "right" ? "keyboard_double_arrow_left" : "keyboard_double_arrow_right"}
279
- ></cx-icon>
280
- </slot>
281
- <cx-divider class="open_trigger_hint" vertical></cx-divider>
282
- </div>
283
- </div>
284
- </div>` : h}
285
- </div>`;
79
+ })}><div class="group_content"><cx-resize-observer @cx-resize=${this.handleResize}><div part="header" class="sidebar__header"><slot name="header"></slot></div></cx-resize-observer>${e ? l`<cx-divider style="--spacing:0"></cx-divider>` : h}<div part="content" class="content"><slot></slot></div></div><cx-divider class="sidebar__divider" vertical @mousedown=${this.handleDrag} @touchstart=${this.handleDrag}></cx-divider>${this.collapsible ? l`<div class="close_trigger" @click=${this.handleCloseTriggerClick}><cx-icon-button outline size="small" name=${this.side === "right" ? "keyboard_double_arrow_right" : "keyboard_double_arrow_left"}></cx-icon-button></div>` : h}</div>${this.collapsible ? l`<div class="group--closed"><div class="group_content"><div class="open_trigger" @click=${this.handleOpenTriggerClick}><slot name="open_trigger"><cx-icon name=${this.side === "right" ? "keyboard_double_arrow_left" : "keyboard_double_arrow_right"}></cx-icon></slot><cx-divider class="open_trigger_hint" vertical></cx-divider></div></div></div>` : h}</div>`;
286
80
  }
287
81
  };
288
82
  i.styles = [f, k];
@@ -296,16 +90,16 @@ r([
296
90
  $(".sidebar__header")
297
91
  ], i.prototype, "header", 2);
298
92
  r([
299
- n({ reflect: !0 })
93
+ d({ reflect: !0 })
300
94
  ], i.prototype, "side", 2);
301
95
  r([
302
- n({ reflect: !0, type: Boolean })
96
+ d({ reflect: !0, type: Boolean })
303
97
  ], i.prototype, "open", 2);
304
98
  r([
305
- n({ reflect: !0, type: Boolean })
99
+ d({ reflect: !0, type: Boolean })
306
100
  ], i.prototype, "collapsible", 2);
307
101
  r([
308
- n({ reflect: !0, type: Boolean })
102
+ d({ reflect: !0, type: Boolean })
309
103
  ], i.prototype, "resizable", 2);
310
104
  r([
311
105
  w()
@@ -1,10 +1,10 @@
1
- import { C as x } from "../chunks/icon-button.C3eqeQl9.js";
1
+ import { C as x } from "../chunks/icon-button.BuhCp--_.js";
2
2
  import d from "./input.js";
3
3
  import g from "./select.js";
4
4
  import v from "./space.js";
5
5
  import k from "./tooltip.js";
6
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";
7
+ import { c as $ } from "../chunks/component.styles.CRO4Odto.js";
8
8
  import { c as b } from "../chunks/custom-element.L4WJXn1j.js";
9
9
  import { d as _ } from "../chunks/default-value.COZopaet.js";
10
10
  import { L as y } from "../chunks/i18n.BUW7B9hr.js";
@@ -14,17 +14,7 @@ import { r as c } from "../chunks/state.CSDxrqLd.js";
14
14
  import { e as m } from "../chunks/query.BBf1UFkC.js";
15
15
  import { n as f } from "../chunks/when.Dr1es41R.js";
16
16
  var i = /* @__PURE__ */ ((t) => (t.Percentage = "percentage", t.Pixel = "pixel", t))(i || {});
17
- const z = w`
18
- :host {
19
- display: block;
20
- width: 100%;
21
- }
22
-
23
- .size-input-group__width,
24
- .size-input-group__height {
25
- flex: 1;
26
- }
27
- `;
17
+ const z = w`:host{width:100%;display:block}.size-input-group__width,.size-input-group__height{flex:1}`;
28
18
  var C = Object.defineProperty, R = Object.getOwnPropertyDescriptor, s = (t, e, r, n) => {
29
19
  for (var l = n > 1 ? void 0 : n ? R(e, r) : e, o = t.length - 1, p; o >= 0; o--)
30
20
  (p = t[o]) && (l = (n ? p(e, r, l) : p(l)) || l);
@@ -70,19 +60,7 @@ let a = class extends P {
70
60
  }
71
61
  render() {
72
62
  let t = this.value[0], e = this.value[1];
73
- return this.useMask || (t = Number.isNaN(parseFloat(this.value[0])) ? "" : String(parseFloat(this.value[0])), e = Number.isNaN(parseFloat(this.value[1])) ? "" : String(parseFloat(this.value[1]))), h`<cx-space
74
- spacing="x-small"
75
- align-items="center"
76
- wrap="nowrap"
77
- class="size-input-group"
78
- >
79
- <cx-input
80
- part="width"
81
- class="size-input-group__width"
82
- value=${t}
83
- label=${this.localize.term("width")}
84
- mask=${this.mask}
85
- .maskBlocks=${{
63
+ return this.useMask || (t = Number.isNaN(parseFloat(this.value[0])) ? "" : String(parseFloat(this.value[0])), e = Number.isNaN(parseFloat(this.value[1])) ? "" : String(parseFloat(this.value[1]))), h`<cx-space spacing="x-small" align-items="center" wrap="nowrap" class="size-input-group"><cx-input part="width" class="size-input-group__width" value=${t} label=${this.localize.term("width")} mask=${this.mask} .maskBlocks=${{
86
64
  num: {
87
65
  mask: Number,
88
66
  max: this.unit === i.Percentage ? 100 : void 0,
@@ -90,35 +68,10 @@ let a = class extends P {
90
68
  scale: 0,
91
69
  thousandsSeparator: ""
92
70
  }
93
- }}
94
- .form=${this.closest("form")}
95
- @cx-change=${this.handleInputChange}
96
- @cx-input=${this.handleWidthInput}
97
- ></cx-input>
98
- ${f(
71
+ }} .form=${this.closest("form")} @cx-change=${this.handleInputChange} @cx-input=${this.handleWidthInput}></cx-input>${f(
99
72
  this.unit === i.Pixel && this.canSetAspectRatio,
100
- () => h`
101
- <cx-icon-button
102
- part="keep-aspect-ratio"
103
- class="size-input-group__keep-aspect-ratio"
104
- name=${this.keepRatio ? "insert_link" : "link_off"}
105
- title=${this.localize.term("keepAspectRatio")}
106
- @click=${this.handleKeepRatioClick}
107
- ></cx-icon-button>
108
- `
109
- )}
110
- <cx-tooltip
111
- content=${this.localize.term("disabledHeightInputHelpText")}
112
- ?disabled=${this.unit === i.Pixel}
113
- >
114
- <cx-input
115
- part="height"
116
- class="size-input-group__height"
117
- value=${e}
118
- label=${this.localize.term("height")}
119
- ?disabled=${this.unit === i.Percentage}
120
- mask=${this.mask}
121
- .maskBlocks=${{
73
+ () => h`<cx-icon-button part="keep-aspect-ratio" class="size-input-group__keep-aspect-ratio" name=${this.keepRatio ? "insert_link" : "link_off"} title=${this.localize.term("keepAspectRatio")} @click=${this.handleKeepRatioClick}></cx-icon-button>`
74
+ )}<cx-tooltip content=${this.localize.term("disabledHeightInputHelpText")} ?disabled=${this.unit === i.Pixel}><cx-input part="height" class="size-input-group__height" value=${e} label=${this.localize.term("height")} ?disabled=${this.unit === i.Percentage} mask=${this.mask} .maskBlocks=${{
122
75
  num: {
123
76
  mask: Number,
124
77
  max: this.unit === i.Percentage ? 100 : void 0,
@@ -126,28 +79,10 @@ let a = class extends P {
126
79
  scale: 0,
127
80
  thousandsSeparator: ""
128
81
  }
129
- }}
130
- .form=${this.closest("form")}
131
- @cx-input=${this.handleHeightInput}
132
- ></cx-input>
133
- </cx-tooltip>
134
- ${f(
82
+ }} .form=${this.closest("form")} @cx-input=${this.handleHeightInput}></cx-input></cx-tooltip>${f(
135
83
  this.canSetUnit,
136
- () => h`
137
- <cx-select
138
- part="unit"
139
- class="size-input-group__unit"
140
- label=${this.localize.term("unit")}
141
- value=${this.unit}
142
- .form=${this.closest("form")}
143
- @cx-change=${this.handleUnitChange}
144
- >
145
- <cx-option value=${i.Pixel}>px</cx-option>
146
- <cx-option value=${i.Percentage}>%</cx-option>
147
- </cx-select>
148
- `
149
- )}
150
- </cx-space>`;
84
+ () => h`<cx-select part="unit" class="size-input-group__unit" label=${this.localize.term("unit")} value=${this.unit} .form=${this.closest("form")} @cx-change=${this.handleUnitChange}><cx-option value=${i.Pixel}>px</cx-option><cx-option value=${i.Percentage}>%</cx-option></cx-select>`
85
+ )}</cx-space>`;
151
86
  }
152
87
  };
153
88
  a.styles = [$, z];
@@ -1,100 +1,27 @@
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";
1
+ import { n as c, C as p } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as d } from "../chunks/component.styles.CRO4Odto.js";
3
3
  import { c as u } from "../chunks/custom-element.L4WJXn1j.js";
4
4
  import { i as f, x as m } from "../chunks/lit-element.jLBm65_O.js";
5
5
  import { e as v } from "../chunks/class-map.BiVq-cVR.js";
6
- const h = f`
7
- :host {
8
- --border-radius: var(--cx-border-radius-pill);
9
- --color: var(--cx-color-neutral-200);
10
- --sheen-color: var(--cx-color-neutral-300);
11
-
12
- display: block;
13
- position: relative;
14
- }
15
-
16
- .skeleton {
17
- display: flex;
18
- width: 100%;
19
- height: 100%;
20
- min-height: 1rem;
21
- }
22
-
23
- .skeleton__indicator {
24
- flex: 1 1 auto;
25
- background: var(--color);
26
- border-radius: var(--border-radius);
27
- }
28
-
29
- .skeleton--sheen .skeleton__indicator {
30
- background: linear-gradient(
31
- 270deg,
32
- var(--sheen-color),
33
- var(--color),
34
- var(--color),
35
- var(--sheen-color)
36
- );
37
- background-size: 400% 100%;
38
- animation: sheen 8s ease-in-out infinite;
39
- }
40
-
41
- .skeleton--pulse .skeleton__indicator {
42
- animation: pulse 2s ease-in-out 0.5s infinite;
43
- }
44
-
45
- /* Forced colors mode */
46
- @media (forced-colors: active) {
47
- :host {
48
- --color: GrayText;
49
- }
50
- }
51
-
52
- @keyframes sheen {
53
- 0% {
54
- background-position: 200% 0;
55
- }
56
- to {
57
- background-position: -200% 0;
58
- }
59
- }
60
-
61
- @keyframes pulse {
62
- 0% {
63
- opacity: 1;
64
- }
65
- 50% {
66
- opacity: 0.4;
67
- }
68
- 100% {
69
- opacity: 1;
70
- }
71
- }
72
- `;
6
+ const h = f`:host{--border-radius:var(--cx-border-radius-pill);--color:var(--cx-color-neutral-200);--sheen-color:var(--cx-color-neutral-300);display:block;position:relative}.skeleton{width:100%;height:100%;min-height:1rem;display:flex}.skeleton__indicator{background:var(--color);border-radius:var(--border-radius);flex:auto}.skeleton--sheen .skeleton__indicator{background:linear-gradient(270deg, var(--sheen-color), var(--color), var(--color), var(--sheen-color));background-size:400% 100%;animation:8s ease-in-out infinite sheen}.skeleton--pulse .skeleton__indicator{animation:2s ease-in-out .5s infinite pulse}@media (forced-colors:active){:host{--color:GrayText}}@keyframes sheen{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}`;
73
7
  var k = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, l = (a, o, s, r) => {
74
8
  for (var e = r > 1 ? void 0 : r ? _(o, s) : o, n = a.length - 1, i; n >= 0; n--)
75
9
  (i = a[n]) && (e = (r ? i(o, s, e) : i(e)) || e);
76
10
  return r && e && k(o, s, e), e;
77
11
  };
78
- let t = class extends d {
12
+ let t = class extends p {
79
13
  constructor() {
80
14
  super(...arguments), this.effect = "none";
81
15
  }
82
16
  render() {
83
- return m`
84
- <div
85
- part="base"
86
- class=${v({
17
+ return m`<div part="base" class=${v({
87
18
  skeleton: !0,
88
19
  "skeleton--pulse": this.effect === "pulse",
89
20
  "skeleton--sheen": this.effect === "sheen"
90
- })}
91
- >
92
- <div part="indicator" class="skeleton__indicator"></div>
93
- </div>
94
- `;
21
+ })}><div part="indicator" class="skeleton__indicator"></div></div>`;
95
22
  }
96
23
  };
97
- t.styles = [p, h];
24
+ t.styles = [d, h];
98
25
  l([
99
26
  c()
100
27
  ], t.prototype, "effect", 2);
@@ -1,149 +1,12 @@
1
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";
2
+ import { c as l } from "../chunks/component.styles.CRO4Odto.js";
3
3
  import { c as m } from "../chunks/custom-element.L4WJXn1j.js";
4
4
  import { i as f, x as h } from "../chunks/lit-element.jLBm65_O.js";
5
- const u = f`
6
- :host {
7
- display: flex;
8
- flex-direction: var(--spacing-container-direction, horizontal);
9
- gap: var(--spacing-container-gap, var(--cx-spacing-medium));
10
- align-items: var(--spacing-container-align-items, normal);
11
- flex-wrap: var(--spacing-container-wrap, nowrap);
12
- justify-content: var(--spacing-container-justify-content, normal);
13
- }
14
-
15
- :host([direction='vertical']) {
16
- --spacing-container-direction: column;
17
- }
18
-
19
- :host([direction='horizontal']) {
20
- --spacing-container-direction: row;
21
- --spacing-container-align-items: center;
22
- }
23
-
24
- /* #region Spacing */
25
- :host([spacing='3x-small']) {
26
- --spacing-container-gap: var(--cx-spacing-3x-small);
27
- }
28
- :host([spacing='2x-small']) {
29
- --spacing-container-gap: var(--cx-spacing-2x-small);
30
- }
31
- :host([spacing='x-small']) {
32
- --spacing-container-gap: var(--cx-spacing-x-small);
33
- }
34
- :host([spacing='small']) {
35
- --spacing-container-gap: var(--cx-spacing-small);
36
- }
37
- :host([spacing='medium']) {
38
- --spacing-container-gap: var(--cx-spacing-medium);
39
- }
40
- :host([spacing='large']) {
41
- --spacing-container-gap: var(--cx-spacing-large);
42
- }
43
- :host([spacing='x-large']) {
44
- --spacing-container-gap: var(--cx-spacing-x-large);
45
- }
46
- :host([spacing='2x-large']) {
47
- --spacing-container-gap: var(--cx-spacing-2x-large);
48
- }
49
- :host([spacing='3x-large']) {
50
- --spacing-container-gap: var(--cx-spacing-3x-large);
51
- }
52
- :host([spacing='4x-large']) {
53
- --spacing-container-gap: var(--cx-spacing-4x-large);
54
- }
55
-
56
- /* #endregion */
57
-
58
- /* #region Wrap */
59
- :host([wrap='wrap']) {
60
- --spacing-container-wrap: wrap;
61
- }
62
-
63
- :host([wrap='nowrap']) {
64
- --spacing-container-wrap: nowrap;
65
- }
66
-
67
- :host([wrap='wrap-reverse']) {
68
- --spacing-container-wrap: wrap-reverse;
69
- }
70
- /* #endregion */
71
-
72
- /* #region Justify content */
73
- :host([justify-content='start']) {
74
- --spacing-container-justify-content: start;
75
- }
76
- :host([justify-content='end']) {
77
- --spacing-container-justify-content: end;
78
- }
79
- :host([justify-content='flex-start']) {
80
- --spacing-container-justify-content: flex-start;
81
- }
82
- :host([justify-content='flex-end']) {
83
- --spacing-container-justify-content: flex-end;
84
- }
85
- :host([justify-content='center']) {
86
- --spacing-container-justify-content: center;
87
- }
88
- :host([justify-content='left']) {
89
- --spacing-container-justify-content: left;
90
- }
91
- :host([justify-content='right']) {
92
- --spacing-container-justify-content: right;
93
- }
94
- :host([justify-content='normal']) {
95
- --spacing-container-justify-content: normal;
96
- }
97
- :host([justify-content='space-between']) {
98
- --spacing-container-justify-content: space-between;
99
- }
100
- :host([justify-content='space-around']) {
101
- --spacing-container-justify-content: space-around;
102
- }
103
- :host([justify-content='space-evenly']) {
104
- --spacing-container-justify-content: space-evenly;
105
- }
106
- :host([justify-content='stretch']) {
107
- --spacing-container-justify-content: stretch;
108
- }
109
- /* #endregion */
110
-
111
- /* #region Align items */
112
- :host([align-items='normal']) {
113
- --spacing-container-align-items: normal;
114
- }
115
- :host([align-items='center']) {
116
- --spacing-container-align-items: center;
117
- }
118
- :host([align-items='start']) {
119
- --spacing-container-align-items: start;
120
- }
121
- :host([align-items='end']) {
122
- --spacing-container-align-items: end;
123
- }
124
- :host([align-items='baseline']) {
125
- --spacing-container-align-items: baseline;
126
- }
127
- :host([align-items='stretch']) {
128
- --spacing-container-align-items: stretch;
129
- }
130
- :host([align-items='flex-start']) {
131
- --spacing-container-align-items: flex-start;
132
- }
133
- :host([align-items='flex-end']) {
134
- --spacing-container-align-items: flex-end;
135
- }
136
- /* #endregion */
137
-
138
- :host([direction='vertical'][block]) ::slotted(*) {
139
- display: block;
140
- width: 100%;
141
- }
142
- `;
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;
5
+ const u = f`:host{flex-direction:var(--spacing-container-direction,horizontal);gap:var(--spacing-container-gap,var(--cx-spacing-medium));align-items:var(--spacing-container-align-items,normal);flex-wrap:var(--spacing-container-wrap,nowrap);justify-content:var(--spacing-container-justify-content,normal);display:flex}:host([direction=vertical]){--spacing-container-direction:column}:host([direction=horizontal]){--spacing-container-direction:row;--spacing-container-align-items:center}:host([spacing="3x-small"]){--spacing-container-gap:var(--cx-spacing-3x-small)}:host([spacing="2x-small"]){--spacing-container-gap:var(--cx-spacing-2x-small)}:host([spacing=x-small]){--spacing-container-gap:var(--cx-spacing-x-small)}:host([spacing=small]){--spacing-container-gap:var(--cx-spacing-small)}:host([spacing=medium]){--spacing-container-gap:var(--cx-spacing-medium)}:host([spacing=large]){--spacing-container-gap:var(--cx-spacing-large)}:host([spacing=x-large]){--spacing-container-gap:var(--cx-spacing-x-large)}:host([spacing="2x-large"]){--spacing-container-gap:var(--cx-spacing-2x-large)}:host([spacing="3x-large"]){--spacing-container-gap:var(--cx-spacing-3x-large)}:host([spacing="4x-large"]){--spacing-container-gap:var(--cx-spacing-4x-large)}:host([wrap=wrap]){--spacing-container-wrap:wrap}:host([wrap=nowrap]){--spacing-container-wrap:nowrap}:host([wrap=wrap-reverse]){--spacing-container-wrap:wrap-reverse}:host([justify-content=start]){--spacing-container-justify-content:start}:host([justify-content=end]){--spacing-container-justify-content:end}:host([justify-content=flex-start]){--spacing-container-justify-content:flex-start}:host([justify-content=flex-end]){--spacing-container-justify-content:flex-end}:host([justify-content=center]){--spacing-container-justify-content:center}:host([justify-content=left]){--spacing-container-justify-content:left}:host([justify-content=right]){--spacing-container-justify-content:right}:host([justify-content=normal]){--spacing-container-justify-content:normal}:host([justify-content=space-between]){--spacing-container-justify-content:space-between}:host([justify-content=space-around]){--spacing-container-justify-content:space-around}:host([justify-content=space-evenly]){--spacing-container-justify-content:space-evenly}:host([justify-content=stretch]){--spacing-container-justify-content:stretch}:host([align-items=normal]){--spacing-container-align-items:normal}:host([align-items=center]){--spacing-container-align-items:center}:host([align-items=start]){--spacing-container-align-items:start}:host([align-items=end]){--spacing-container-align-items:end}:host([align-items=baseline]){--spacing-container-align-items:baseline}:host([align-items=stretch]){--spacing-container-align-items:stretch}:host([align-items=flex-start]){--spacing-container-align-items:flex-start}:host([align-items=flex-end]){--spacing-container-align-items:flex-end}:host([direction=vertical][block]) ::slotted(*){width:100%;display:block}`;
6
+ var y = Object.defineProperty, x = Object.getOwnPropertyDescriptor, e = (p, i, c, s) => {
7
+ for (var n = s > 1 ? void 0 : s ? x(i, c) : i, r = p.length - 1, o; r >= 0; r--)
8
+ (o = p[r]) && (n = (s ? o(i, c, n) : o(n)) || n);
9
+ return s && n && y(i, c, n), n;
147
10
  };
148
11
  let t = class extends g {
149
12
  constructor() {