@orangelogic/design-system 2.78.0 → 2.79.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 (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,103 +1,20 @@
1
- import { n as p, C as b } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
- import { c as d } from "../chunks/component.styles.DMSLciL5.js";
3
- import { c as f } from "../chunks/custom-element.L4WJXn1j.js";
1
+ import { n as p, C as c } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
+ import { c as f } from "../chunks/component.styles.CRO4Odto.js";
3
+ import { c as d } from "../chunks/custom-element.L4WJXn1j.js";
4
4
  import { H as h } from "../chunks/slot.j5oheLJC.js";
5
5
  import { w as u } from "../chunks/watch.BCJD77bD.js";
6
- import { i as x, x as s } from "../chunks/lit-element.jLBm65_O.js";
6
+ import { i as x, x as o } from "../chunks/lit-element.jLBm65_O.js";
7
7
  import { r as _ } from "../chunks/state.CSDxrqLd.js";
8
8
  import { e as g } from "../chunks/query.BBf1UFkC.js";
9
9
  import { e as y } from "../chunks/class-map.BiVq-cVR.js";
10
- import { o as c } from "../chunks/if-defined.BRoBj_Rp.js";
11
- const v = x`
12
- :host {
13
- display: inline-flex;
14
- }
15
-
16
- .breadcrumb-item {
17
- display: inline-flex;
18
- align-items: center;
19
- font-family: var(--cx-font-sans);
20
- font-size: var(--cx-font-size-small);
21
- font-weight: var(--cx-font-weight-semibold);
22
- color: var(--cx-color-neutral);
23
- line-height: var(--cx-line-height-large);
24
- white-space: nowrap;
25
- }
26
-
27
- .breadcrumb-item__label {
28
- display: inline-block;
29
- font-family: inherit;
30
- font-size: inherit;
31
- font-weight: inherit;
32
- line-height: inherit;
33
- text-decoration: none;
34
- color: inherit;
35
- background: none;
36
- border: none;
37
- border-radius: var(--cx-border-radius-small);
38
- padding: 0;
39
- margin: 0;
40
- cursor: pointer;
41
- transition: var(--cx-transition-fast) --color;
42
- }
43
-
44
- :host(:not(:last-of-type)) .breadcrumb-item__label {
45
- color: var(--cx-color-primary);
46
- }
47
-
48
- :host(:not(:last-of-type)) .breadcrumb-item__label:hover {
49
- color: var(--cx-color-primary);
50
- }
51
-
52
- :host(:not(:last-of-type)) .breadcrumb-item__label:active {
53
- color: var(--cx-color-primary);
54
- }
55
-
56
- .breadcrumb-item__label:focus {
57
- outline: none;
58
- }
59
-
60
- .breadcrumb-item__label:focus-visible {
61
- outline: var(--cx-focus-ring);
62
- outline-offset: var(--cx-focus-ring-offset);
63
- }
64
-
65
- .breadcrumb-item__prefix,
66
- .breadcrumb-item__suffix {
67
- display: none;
68
- flex: 0 0 auto;
69
- display: flex;
70
- align-items: center;
71
- }
72
-
73
- .breadcrumb-item--has-prefix .breadcrumb-item__prefix {
74
- display: inline-flex;
75
- margin-inline-end: var(--cx-spacing-x-small);
76
- }
77
-
78
- .breadcrumb-item--has-suffix .breadcrumb-item__suffix {
79
- display: inline-flex;
80
- margin-inline-start: var(--cx-spacing-x-small);
81
- }
82
-
83
- :host(:last-of-type) .breadcrumb-item__separator {
84
- display: none;
85
- }
86
-
87
- .breadcrumb-item__separator {
88
- display: inline-flex;
89
- align-items: center;
90
- margin: 0 var(--cx-spacing-x-small);
91
- user-select: none;
92
- -webkit-user-select: none;
93
- }
94
- `;
95
- var w = Object.defineProperty, C = Object.getOwnPropertyDescriptor, t = (i, a, l, o) => {
96
- for (var r = o > 1 ? void 0 : o ? C(a, l) : a, n = i.length - 1, m; n >= 0; n--)
97
- (m = i[n]) && (r = (o ? m(a, l, r) : m(r)) || r);
98
- return o && r && w(a, l, r), r;
10
+ import { o as b } from "../chunks/if-defined.BRoBj_Rp.js";
11
+ const v = x`:host{display:inline-flex}.breadcrumb-item{font-family:var(--cx-font-sans);font-size:var(--cx-font-size-small);font-weight:var(--cx-font-weight-semibold);color:var(--cx-color-neutral);line-height:var(--cx-line-height-large);white-space:nowrap;align-items:center;display:inline-flex}.breadcrumb-item__label{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;border-radius:var(--cx-border-radius-small);cursor:pointer;transition:var(--cx-transition-fast) --color;background:0 0;border:none;margin:0;padding:0;text-decoration:none;display:inline-block}:host(:not(:last-of-type)) .breadcrumb-item__label,:host(:not(:last-of-type)) .breadcrumb-item__label:hover,:host(:not(:last-of-type)) .breadcrumb-item__label:active{color:var(--cx-color-primary)}.breadcrumb-item__label:focus{outline:none}.breadcrumb-item__label:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.breadcrumb-item__prefix,.breadcrumb-item__suffix{flex:none;align-items:center;display:flex}.breadcrumb-item--has-prefix .breadcrumb-item__prefix{margin-inline-end:var(--cx-spacing-x-small);display:inline-flex}.breadcrumb-item--has-suffix .breadcrumb-item__suffix{margin-inline-start:var(--cx-spacing-x-small);display:inline-flex}:host(:last-of-type) .breadcrumb-item__separator{display:none}.breadcrumb-item__separator{margin:0 var(--cx-spacing-x-small);-webkit-user-select:none;user-select:none;align-items:center;display:inline-flex}`;
12
+ var w = Object.defineProperty, C = Object.getOwnPropertyDescriptor, r = (i, a, l, s) => {
13
+ for (var t = s > 1 ? void 0 : s ? C(a, l) : a, n = i.length - 1, m; n >= 0; n--)
14
+ (m = i[n]) && (t = (s ? m(a, l, t) : m(t)) || t);
15
+ return s && t && w(a, l, t), t;
99
16
  };
100
- let e = class extends b {
17
+ let e = class extends c {
101
18
  constructor() {
102
19
  super(...arguments), this.hasSlotController = new h(
103
20
  this,
@@ -124,84 +41,36 @@ let e = class extends b {
124
41
  this.setRenderType();
125
42
  }
126
43
  render() {
127
- return s`
128
- <div
129
- part="base"
130
- class=${y({
44
+ return o`<div part="base" class=${y({
131
45
  "breadcrumb-item": !0,
132
46
  "breadcrumb-item--has-prefix": this.hasSlotController.test("prefix"),
133
47
  "breadcrumb-item--has-suffix": this.hasSlotController.test("suffix")
134
- })}
135
- >
136
- <span part="prefix" class="breadcrumb-item__prefix">
137
- <slot name="prefix"></slot>
138
- </span>
139
-
140
- ${this.renderType === "link" ? s`
141
- <a
142
- part="label"
143
- class="breadcrumb-item__label breadcrumb-item__label--link"
144
- href=${this.href}
145
- target=${c(this.target ? this.target : void 0)}
146
- rel=${c(this.target ? this.rel : void 0)}
147
- >
148
- <slot @slotchange=${this.handleSlotChange}></slot>
149
- </a>
150
- ` : ""}
151
- ${this.renderType === "button" ? s`
152
- <button
153
- part="label"
154
- type="button"
155
- class="breadcrumb-item__label breadcrumb-item__label--button"
156
- >
157
- <slot @slotchange=${this.handleSlotChange}></slot>
158
- </button>
159
- ` : ""}
160
- ${this.renderType === "dropdown" ? s`
161
- <div
162
- part="label"
163
- class="breadcrumb-item__label breadcrumb-item__label--drop-down"
164
- >
165
- <slot @slotchange=${this.handleSlotChange}></slot>
166
- </div>
167
- ` : ""}
168
-
169
- <span part="suffix" class="breadcrumb-item__suffix">
170
- <slot name="suffix"></slot>
171
- </span>
172
-
173
- <span
174
- part="separator"
175
- class="breadcrumb-item__separator"
176
- aria-hidden="true"
177
- >
178
- <slot name="separator"></slot>
179
- </span>
180
- </div>
181
- `;
48
+ })}><span part="prefix" class="breadcrumb-item__prefix"><slot name="prefix"></slot></span>${this.renderType === "link" ? o`<a part="label" class="breadcrumb-item__label breadcrumb-item__label--link" href=${this.href} target=${b(this.target ? this.target : void 0)} rel=${b(this.target ? this.rel : void 0)}><slot @slotchange=${this.handleSlotChange}></slot></a>` : ""}
49
+ ${this.renderType === "button" ? o`<button part="label" type="button" class="breadcrumb-item__label breadcrumb-item__label--button"><slot @slotchange=${this.handleSlotChange}></slot></button>` : ""}
50
+ ${this.renderType === "dropdown" ? o`<div part="label" class="breadcrumb-item__label breadcrumb-item__label--drop-down"><slot @slotchange=${this.handleSlotChange}></slot></div>` : ""}<span part="suffix" class="breadcrumb-item__suffix"><slot name="suffix"></slot></span><span part="separator" class="breadcrumb-item__separator" aria-hidden="true"><slot name="separator"></slot></span></div>`;
182
51
  }
183
52
  };
184
- e.styles = [d, v];
185
- t([
53
+ e.styles = [f, v];
54
+ r([
186
55
  g("slot:not([name])")
187
56
  ], e.prototype, "defaultSlot", 2);
188
- t([
57
+ r([
189
58
  _()
190
59
  ], e.prototype, "renderType", 2);
191
- t([
60
+ r([
192
61
  p()
193
62
  ], e.prototype, "href", 2);
194
- t([
63
+ r([
195
64
  p()
196
65
  ], e.prototype, "target", 2);
197
- t([
66
+ r([
198
67
  p()
199
68
  ], e.prototype, "rel", 2);
200
- t([
69
+ r([
201
70
  u("href", { waitUntilFirstUpdate: !0 })
202
71
  ], e.prototype, "hrefChanged", 1);
203
- e = t([
204
- f("cx-breadcrumb-item")
72
+ e = r([
73
+ d("cx-breadcrumb-item")
205
74
  ], e);
206
75
  export {
207
76
  e as default
@@ -1,17 +1,11 @@
1
1
  import { n as p, C as h } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
- import { c as d } from "../chunks/component.styles.DMSLciL5.js";
2
+ import { c as d } from "../chunks/component.styles.CRO4Odto.js";
3
3
  import { c as m } from "../chunks/custom-element.L4WJXn1j.js";
4
4
  import { L as u } from "../chunks/i18n.BUW7B9hr.js";
5
5
  import { i as f, x as b } from "../chunks/lit-element.jLBm65_O.js";
6
6
  import { e as c } from "../chunks/query.BBf1UFkC.js";
7
7
  import g from "./icon.js";
8
- const S = f`
9
- .breadcrumb {
10
- display: flex;
11
- align-items: center;
12
- flex-wrap: wrap;
13
- }
14
- `;
8
+ const S = f`.breadcrumb{flex-wrap:wrap;align-items:center;display:flex}`;
15
9
  var x = Object.defineProperty, v = Object.getOwnPropertyDescriptor, l = (s, e, r, t) => {
16
10
  for (var a = t > 1 ? void 0 : t ? v(e, r) : e, i = s.length - 1, n; i >= 0; i--)
17
11
  (n = s[i]) && (a = (t ? n(e, r, a) : n(a)) || a);
@@ -42,19 +36,7 @@ let o = class extends h {
42
36
  });
43
37
  }
44
38
  render() {
45
- return this.separatorDir !== this.localize.dir() && (this.separatorDir = this.localize.dir(), this.updateComplete.then(() => this.handleSlotChange())), b`
46
- <nav part="base" class="breadcrumb" aria-label=${this.label}>
47
- <slot @slotchange=${this.handleSlotChange}></slot>
48
- </nav>
49
-
50
- <span hidden aria-hidden="true" style="display: none">
51
- <slot name="separator" @slotchange=${this.handleSlotChange}>
52
- <cx-icon
53
- name=${this.localize.dir() === "rtl" ? "chevron_left" : "chevron_right"}
54
- ></cx-icon>
55
- </slot>
56
- </span>
57
- `;
39
+ return this.separatorDir !== this.localize.dir() && (this.separatorDir = this.localize.dir(), this.updateComplete.then(() => this.handleSlotChange())), b`<nav part="base" class="breadcrumb" aria-label=${this.label}><slot @slotchange=${this.handleSlotChange}></slot></nav><span hidden aria-hidden="true" style="display: none"><slot name="separator" @slotchange=${this.handleSlotChange}><cx-icon name=${this.localize.dir() === "rtl" ? "chevron_left" : "chevron_right"}></cx-icon></slot></span>`;
58
40
  }
59
41
  };
60
42
  o.styles = [d, S];
@@ -1,22 +1,10 @@
1
1
  import { n as i, C as c } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
- import { c as g } from "../chunks/component.styles.DMSLciL5.js";
2
+ import { c as g } from "../chunks/component.styles.CRO4Odto.js";
3
3
  import { c as p } from "../chunks/custom-element.L4WJXn1j.js";
4
4
  import { i as d, x as f } from "../chunks/lit-element.jLBm65_O.js";
5
5
  import { r as h } from "../chunks/state.CSDxrqLd.js";
6
6
  import { e as x } from "../chunks/query.BBf1UFkC.js";
7
- const _ = d`
8
- :host {
9
- display: inline-block;
10
- }
11
-
12
- .button-group {
13
- display: flex;
14
- flex-wrap: wrap;
15
- overflow: hidden;
16
- row-gap: var(--cx-spacing-x-small);
17
- overflow: unset;
18
- }
19
- `;
7
+ const _ = d`:host{display:inline-block}.button-group{row-gap:var(--cx-spacing-x-small);overflow:hidden;overflow:unset;flex-wrap:wrap;display:flex}`;
20
8
  var m = Object.defineProperty, v = Object.getOwnPropertyDescriptor, a = (t, o, r, e) => {
21
9
  for (var u = e > 1 ? void 0 : e ? v(o, r) : o, l = t.length - 1, b; l >= 0; l--)
22
10
  (b = t[l]) && (u = (e ? b(o, r, u) : b(u)) || u);
@@ -60,20 +48,7 @@ let n = class extends c {
60
48
  });
61
49
  }
62
50
  render() {
63
- return f`
64
- <div
65
- part="base"
66
- class="button-group"
67
- role=${this.disableRole ? "presentation" : "group"}
68
- aria-label=${this.label}
69
- @focusout=${this.handleBlur}
70
- @focusin=${this.handleFocus}
71
- @mouseover=${this.handleMouseOver}
72
- @mouseout=${this.handleMouseOut}
73
- >
74
- <slot @slotchange=${this.handleSlotChange}></slot>
75
- </div>
76
- `;
51
+ return f`<div part="base" class="button-group" role=${this.disableRole ? "presentation" : "group"} aria-label=${this.label} @focusout=${this.handleBlur} @focusin=${this.handleFocus} @mouseover=${this.handleMouseOver} @mouseout=${this.handleMouseOut}><slot @slotchange=${this.handleSlotChange}></slot></div>`;
77
52
  }
78
53
  };
79
54
  n.styles = [g, _];
@@ -1,6 +1,6 @@
1
1
  import "../chunks/lib-cortex-element.CVMmyPMC.js";
2
- import "../chunks/component.styles.DMSLciL5.js";
3
- import { C as h } from "../chunks/button.DS64Tr8Z.js";
2
+ import "../chunks/component.styles.CRO4Odto.js";
3
+ import { C as h } from "../chunks/button.B-ktz-w4.js";
4
4
  import "../chunks/custom-element.L4WJXn1j.js";
5
5
  import "../chunks/form.DgwYWi0O.js";
6
6
  import "../chunks/i18n.BUW7B9hr.js";
@@ -14,7 +14,7 @@ import "../chunks/when.Dr1es41R.js";
14
14
  import "../chunks/static.UA3G1Deq.js";
15
15
  import "./icon.js";
16
16
  import "./spinner.js";
17
- import "../chunks/button.styles.Dl5IQLHU.js";
17
+ import "../chunks/button.styles.CKqn956w.js";
18
18
  export {
19
19
  h as default
20
20
  };
@@ -1,120 +1,10 @@
1
1
  import { n as c, C as n } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
- import { c as h } from "../chunks/component.styles.DMSLciL5.js";
2
+ import { c as h } from "../chunks/component.styles.CRO4Odto.js";
3
3
  import { c as p } from "../chunks/custom-element.L4WJXn1j.js";
4
4
  import { H as b } from "../chunks/slot.j5oheLJC.js";
5
5
  import { i as v, x as m } from "../chunks/lit-element.jLBm65_O.js";
6
6
  import { e as g } from "../chunks/class-map.BiVq-cVR.js";
7
- const f = v`
8
- :host {
9
- --border-color: var(--cx-color-neutral-200);
10
- --border-radius: var(--cx-border-radius-x-large);
11
- --box-shadow: var(--cx-shadow-x-small);
12
- --image-border-radius: var(--cx-border-radius-x-large);
13
- --border-width: 1px;
14
- --padding: var(--cx-spacing-large);
15
-
16
- display: inline-block;
17
- width: var(--card-width, auto);
18
- height: var(--card-height, auto);
19
- }
20
-
21
- .card {
22
- display: flex;
23
- flex-direction: column;
24
- background-color: var(--cx-panel-background-color);
25
- box-shadow: var(--box-shadow);
26
- border: solid var(--border-width) var(--border-color);
27
- border-radius: var(--border-radius);
28
- padding: var(--padding);
29
- position: relative;
30
- width: 100%;
31
- height: 100%;
32
- overflow: auto;
33
- }
34
-
35
- .card--interactive {
36
- --border-color: var(--cx-color-primary-300);
37
-
38
- box-shadow: none;
39
- cursor: pointer;
40
- transition: box-shadow 0.2s ease-in-out;
41
- }
42
-
43
- .card--interactive:hover {
44
- box-shadow: var(--cx-shadow-medium);
45
- }
46
-
47
- .card--disabled::before {
48
- content: '';
49
- position: absolute;
50
- width: 100%;
51
- height: 100%;
52
- top: 0;
53
- left: 0;
54
- background-color: rgb(from var(--cx-color-neutral-0) r g b / 50%);
55
- z-index: 1;
56
- }
57
-
58
- .card__image {
59
- display: flex;
60
- align-items: center;
61
- justify-content: center;
62
- background-color: var(--cx-color-neutral-100);
63
- border-radius: var(--image-border-radius);
64
- margin: calc(-1 * var(--border-width));
65
- overflow: hidden;
66
- margin-bottom: var(--padding);
67
- flex-shrink: 0;
68
- }
69
-
70
- .card__image::slotted(img) {
71
- display: block;
72
- height: auto;
73
- width: 100%;
74
- }
75
-
76
- .card:not(.card--has-image) .card__image {
77
- display: none;
78
- }
79
-
80
- .card__header {
81
- display: block;
82
- border-bottom: solid var(--header-border-width, var(--border-width))
83
- var(--border-color);
84
- padding-bottom: var(--padding);
85
- margin-bottom: var(--padding);
86
- }
87
-
88
- .card:not(.card--has-header) .card__header {
89
- display: none;
90
- }
91
-
92
- .card__title {
93
- display: block;
94
- font-size: var(--cx-font-size-large);
95
- font-weight: var(--cx-font-weight-bold);
96
- }
97
-
98
- .card:not(.card--has-title) .card__title {
99
- display: none;
100
- }
101
-
102
- .card__body {
103
- display: block;
104
- width: 100%;
105
- }
106
-
107
- .card--has-footer .card__footer {
108
- display: block;
109
- border-top: solid var(--border-width) var(--border-color);
110
- padding-top: var(--padding);
111
- margin-top: var(--padding);
112
- }
113
-
114
- .card:not(.card--has-footer) .card__footer {
115
- display: none;
116
- }
117
- `;
7
+ const f = v`:host{--border-color:var(--cx-color-neutral-200);--border-radius:var(--cx-border-radius-x-large);--box-shadow:var(--cx-shadow-x-small);--image-border-radius:var(--cx-border-radius-x-large);--border-width:1px;--padding:var(--cx-spacing-large);width:var(--card-width,auto);height:var(--card-height,auto);display:inline-block}.card{background-color:var(--cx-panel-background-color);box-shadow:var(--box-shadow);border:solid var(--border-width) var(--border-color);border-radius:var(--border-radius);padding:var(--padding);flex-direction:column;width:100%;height:100%;display:flex;position:relative;overflow:auto}.card--interactive{--border-color:var(--cx-color-primary-300);box-shadow:none;cursor:pointer;transition:box-shadow .2s ease-in-out}.card--interactive:hover{box-shadow:var(--cx-shadow-medium)}.card--disabled:before{content:"";background-color:rgb(from var(--cx-color-neutral-0) r g b / 50%);z-index:1;width:100%;height:100%;position:absolute;top:0;left:0}.card__image{background-color:var(--cx-color-neutral-100);border-radius:var(--image-border-radius);margin:calc(-1 * var(--border-width));margin-bottom:var(--padding);flex-shrink:0;justify-content:center;align-items:center;display:flex;overflow:hidden}.card__image::slotted(img){width:100%;height:auto;display:block}.card:not(.card--has-image) .card__image{display:none}.card__header{border-bottom:solid var(--header-border-width,var(--border-width)) var(--border-color);padding-bottom:var(--padding);margin-bottom:var(--padding);display:block}.card:not(.card--has-header) .card__header{display:none}.card__title{font-size:var(--cx-font-size-large);font-weight:var(--cx-font-weight-bold);display:block}.card:not(.card--has-title) .card__title{display:none}.card__body{width:100%;display:block}.card--has-footer .card__footer{border-top:solid var(--border-width) var(--border-color);padding-top:var(--padding);margin-top:var(--padding);display:block}.card:not(.card--has-footer) .card__footer{display:none}`;
118
8
  var u = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, l = (o, e, d, t) => {
119
9
  for (var r = t > 1 ? void 0 : t ? _(e, d) : e, i = o.length - 1, s; i >= 0; i--)
120
10
  (s = o[i]) && (r = (t ? s(e, d, r) : s(r)) || r);
@@ -133,10 +23,7 @@ let a = class extends n {
133
23
  this.disabled && o.preventDefault();
134
24
  }
135
25
  render() {
136
- return m`
137
- <div
138
- part="base"
139
- class=${g({
26
+ return m`<div part="base" class=${g({
140
27
  card: !0,
141
28
  "card--disabled": this.disabled,
142
29
  "card--has-footer": this.hasSlotController.test("footer"),
@@ -144,16 +31,7 @@ let a = class extends n {
144
31
  "card--has-image": this.hasSlotController.test("image"),
145
32
  "card--has-title": this.hasSlotController.test("title"),
146
33
  "card--interactive": this.interactive
147
- })}
148
- @click=${this.handleClick}
149
- >
150
- <slot name="image" part="image" class="card__image"></slot>
151
- <slot name="header" part="header" class="card__header"></slot>
152
- <slot name="title" part="title" class="card__title"></slot>
153
- <slot part="body" class="card__body"></slot>
154
- <slot name="footer" part="footer" class="card__footer"></slot>
155
- </div>
156
- `;
34
+ })} @click=${this.handleClick}><slot name="image" part="image" class="card__image"></slot><slot name="header" part="header" class="card__header"></slot><slot name="title" part="title" class="card__title"></slot><slot part="body" class="card__body"></slot><slot name="footer" part="footer" class="card__footer"></slot></div>`;
157
35
  }
158
36
  };
159
37
  a.styles = [h, f];