@orangelogic/design-system 4.48.0 → 4.50.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 (105) hide show
  1. package/library/chunks/{array-line-clamp.BWWMLJhi.js → array-line-clamp.HGGPocNC.js} +2 -2
  2. package/library/chunks/{asset-link-format.P8WKO488.js → asset-link-format.Ca8KxyCV.js} +13 -8
  3. package/library/chunks/{bicolor-picker.Dbag6AHo.js → bicolor-picker.BGSxhZJ-.js} +1 -1
  4. package/library/chunks/{block-width.BRSYOaIg.js → block-width.BiCAGZxV.js} +27 -27
  5. package/library/chunks/{border-input-group.B12EFZFD.js → border-input-group.wXw6aSGa.js} +1 -1
  6. package/library/chunks/{color-picker.Dz6vVcZS.js → color-picker.DlcAbY3b.js} +5 -5
  7. package/library/chunks/{color-swatch-group.ujgqmTBa.js → color-swatch-group.BdYLfI59.js} +12 -12
  8. package/library/chunks/{color-swatch.C3Elv0dG.js → color-swatch.D31RnyZs.js} +2 -2
  9. package/library/chunks/{config-manager.B-v8i-BX.js → config-manager.Bwkq7ll7.js} +22 -22
  10. package/library/chunks/{configs-controller.oPuU_6Qb.js → configs-controller.Cc-Lt6BH.js} +6 -6
  11. package/library/chunks/{confirm-popover.CahmeTbf.js → confirm-popover.UUhlXSDu.js} +2 -2
  12. package/library/chunks/{copy-button.D2ZwXadV.js → copy-button.CSUoVbip.js} +1 -1
  13. package/library/chunks/{corner-position-input-group.BV8b7GsS.js → corner-position-input-group.DmmX8lEw.js} +2 -2
  14. package/library/chunks/{dialog.BfGASgvs.js → dialog.BKSCSk0r.js} +14 -13
  15. package/library/chunks/{document-viewer.BtB-RTvP.js → document-viewer.CpC54CmZ.js} +7 -7
  16. package/library/chunks/{dot-pagination.BUZhiikk.js → dot-pagination.CfK67Z-x.js} +1 -1
  17. package/library/chunks/{dropdown.CnT7uTzf.js → dropdown.CcjP36wF.js} +2 -2
  18. package/library/chunks/{dynamic-select.BeqPRh6t.js → dynamic-select.CtdC5OzH.js} +2 -2
  19. package/library/chunks/{file-on-demand.BEAjdrt_.js → file-on-demand.B4KUSqtB.js} +9 -9
  20. package/library/chunks/{folder-select.B02Mdr8b.js → folder-select.DEGiL0pP.js} +4 -4
  21. package/library/chunks/{header.NoiopyyV.js → header.CD4B3ylz.js} +1 -1
  22. package/library/chunks/{image.CRrj-94o.js → image.B87-7U_Z.js} +75 -80
  23. package/library/chunks/{line-clamp.B7QEzpUF.js → line-clamp.BFh7eXXl.js} +1 -1
  24. package/library/chunks/{masonry.B5kwpjVE.js → masonry.H7Hpnx9d.js} +2 -2
  25. package/library/chunks/{menu-item.BgoL4QFj.js → menu-item.CCbtHE5R.js} +1 -1
  26. package/library/chunks/{menu.DJBOpi__.js → menu.DNeN3pz0.js} +1 -1
  27. package/library/chunks/{option.C97GEvQ6.js → option.Da60zYvc.js} +1 -1
  28. package/library/chunks/{pagination.GiwV5ZHF.js → pagination.ca5R1wld.js} +3 -3
  29. package/library/chunks/{popup.C2ySgZ9I.js → popup.yll4fQau.js} +1 -1
  30. package/library/chunks/{radio-card.BPumEe9b.js → radio-card.DTRD2YQ6.js} +1 -1
  31. package/library/chunks/{range.E1wPWa7j.js → range.BUjztx8Q.js} +1 -1
  32. package/library/chunks/{select.DGL9C_32.js → select.NhbQgMNA.js} +24 -30
  33. package/library/chunks/{shadow-input-group.CaCaO1C9.js → shadow-input-group.Zt8zKRxQ.js} +1 -1
  34. package/library/chunks/{share-option-list.u2Q0zMae.js → share-option-list.pVQugFoP.js} +1 -1
  35. package/library/chunks/{size-input-group.Ciupfrja.js → size-input-group.Cxo0uCXM.js} +2 -2
  36. package/library/chunks/{src.CkVx3FOe.js → src.3QpUQeRm.js} +26 -26
  37. package/library/chunks/{src.QIRlv8bQ.js → src.CFxipFzl.js} +1 -1
  38. package/library/chunks/{step.CjuuzW_o.js → step.CC1wfskA.js} +2 -2
  39. package/library/chunks/{stepper-wizard.CwmtGpGw.js → stepper-wizard.BJARESIb.js} +2 -2
  40. package/library/chunks/{stepper.DIAhu2lX.js → stepper.CUxBZKM6.js} +1 -1
  41. package/library/chunks/{tab-group.Ib4bahXC.js → tab-group.lMvydOdb.js} +4 -4
  42. package/library/chunks/{tab.BOJ3V4IE.js → tab.BKJEGsgj.js} +1 -1
  43. package/library/chunks/{tag.BySfbRok.js → tag.Dj8VrFFk.js} +1 -1
  44. package/library/chunks/{tooltip.DWx9VYtS.js → tooltip.DJl5qcTx.js} +1 -1
  45. package/library/chunks/{tree.B3qvSTCo.js → tree.BWKeg92V.js} +1 -1
  46. package/library/chunks/{typeface.BcNOEnVy.js → typeface.BLblmcP7.js} +1 -1
  47. package/library/chunks/{video.DVuLcN2J.js → video.2jpE1tqO.js} +2 -2
  48. package/library/components/array-line-clamp.js +1 -1
  49. package/library/components/asset-link-format.js +1 -1
  50. package/library/components/atoms.js +27 -27
  51. package/library/components/bicolor-picker.js +1 -1
  52. package/library/components/border-input-group.js +1 -1
  53. package/library/components/color-picker.js +1 -1
  54. package/library/components/color-swatch-group.js +1 -1
  55. package/library/components/color-swatch.js +1 -1
  56. package/library/components/confirm-popover.js +1 -1
  57. package/library/components/copy-button.js +1 -1
  58. package/library/components/corner-position-input-group.js +1 -1
  59. package/library/components/dialog.js +1 -1
  60. package/library/components/document-viewer.js +1 -1
  61. package/library/components/dot-pagination.js +1 -1
  62. package/library/components/dropdown.js +1 -1
  63. package/library/components/dynamic-select.js +1 -1
  64. package/library/components/file-on-demand.js +1 -1
  65. package/library/components/folder-select.js +1 -1
  66. package/library/components/header.js +1 -1
  67. package/library/components/image.js +1 -1
  68. package/library/components/line-clamp.js +1 -1
  69. package/library/components/masonry.js +1 -1
  70. package/library/components/menu-item.js +1 -1
  71. package/library/components/menu.js +1 -1
  72. package/library/components/molecules.js +13 -13
  73. package/library/components/option.js +1 -1
  74. package/library/components/organisms.js +3 -3
  75. package/library/components/pagination.js +1 -1
  76. package/library/components/popup.js +1 -1
  77. package/library/components/radio-card.js +1 -1
  78. package/library/components/range.js +1 -1
  79. package/library/components/select.js +1 -1
  80. package/library/components/shadow-input-group.js +1 -1
  81. package/library/components/share-option-list.js +1 -1
  82. package/library/components/size-input-group.js +1 -1
  83. package/library/components/step.js +1 -1
  84. package/library/components/stepper-wizard.js +1 -1
  85. package/library/components/stepper.js +1 -1
  86. package/library/components/tab-group.js +1 -1
  87. package/library/components/tab.js +1 -1
  88. package/library/components/tag.js +1 -1
  89. package/library/components/tooltip.js +1 -1
  90. package/library/components/tree-item.js +1 -1
  91. package/library/components/tree.js +1 -1
  92. package/library/components/typeface.js +1 -1
  93. package/library/components/types.js +64 -60
  94. package/library/components/video.js +1 -1
  95. package/library/package.json +1 -1
  96. package/library/packages/atoms/src/components/dialog/dialog.d.ts +2 -0
  97. package/library/packages/atoms/src/components/image/image.d.ts +0 -3
  98. package/library/packages/atoms/src/components/option/option.d.ts +0 -1
  99. package/library/packages/atoms/src/components/select/select.d.ts +3 -1
  100. package/library/packages/molecules/src/3d-viewer/controllers/scene-controller.d.ts +1 -0
  101. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +5 -0
  102. package/library/packages/organisms/src/carousel/carousel.d.ts +3 -0
  103. package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +1 -6
  104. package/library/utils.js +1 -1
  105. package/package.json +1 -1
@@ -43,7 +43,6 @@ import { default as CxSpace } from '../space/space';
43
43
  * @slot fallback - The fallback element, always shown when the image fails to load; override this slot to customize the broken-image UI.
44
44
  */
45
45
  export default class CxImage extends ResizableElement {
46
- #private;
47
46
  static readonly styles: import('lit').CSSResult[];
48
47
  static readonly dependencies: {
49
48
  'cx-icon': typeof CxIcon;
@@ -239,8 +238,6 @@ export default class CxImage extends ResizableElement {
239
238
  handleSrcChange(): void;
240
239
  private clearRetryTimer;
241
240
  private scheduleRetry;
242
- /** Appends the retry cache-bust param to `src` while a retry attempt is in flight, so a CDN edge caching a corrupted/truncated response is bypassed in favor of a fresh origin fetch. */
243
- protected applyRetryCacheBust(src: string): string;
244
241
  private initZoom;
245
242
  protected handleLoad(event: Event): void;
246
243
  protected handleError(): void;
@@ -18,7 +18,6 @@ import { default as CxSpace } from '../space/space';
18
18
  * @csspart suffix - The container that wraps the suffix.
19
19
  *
20
20
  * @cssproperty [--option-color=var(--cx-color-neutral-700)] - The option's color.
21
- * @cssproperty [--option-current-background-color=var(--cx-menu-item-background-color-hover)] - The background color of the option under the keyboard cursor (`aria-activedescendant`). Only one option is current at a time, and it is not necessarily the selected one.
22
21
  * @cssproperty [--option-font-weight=var(--cx-font-weight-regular)] - The option's font weight.
23
22
  * @cssproperty [--option-help-text-color=var(--cx-color-neutral-600)] - The option's help text color.
24
23
  * @cssproperty [--option-help-text-font-weight=var(--cx-font-weight-regular)] - The option's help text font weight.
@@ -1,7 +1,7 @@
1
1
  import { default as CxLineClamp } from '../line-clamp/line-clamp.ts';
2
2
  import { default as CxTypography } from '../typography/typography.ts';
3
3
  import { CortexFormControl, default as CortexElement } from '../../../../base/src/cortex-element.ts';
4
- import { CSSResultGroup, TemplateResult, nothing } from 'lit';
4
+ import { CSSResultGroup, PropertyValues, TemplateResult, nothing } from 'lit';
5
5
  import { default as CxIcon } from '../icon/icon';
6
6
  import { default as CxPopup } from '../popup/popup';
7
7
  import { default as CxSpinner } from '../spinner/spinner';
@@ -53,6 +53,7 @@ import { default as CxTag } from '../tag/tag';
53
53
  * @cssproperty --select-font-size - The font size of the select.
54
54
  */
55
55
  export default class CxSelect extends CortexElement implements CortexFormControl {
56
+ #private;
56
57
  static readonly styles: CSSResultGroup;
57
58
  static readonly dependencies: {
58
59
  'cx-icon': typeof CxIcon;
@@ -323,6 +324,7 @@ export default class CxSelect extends CortexElement implements CortexFormControl
323
324
  connectedCallback(): void;
324
325
  disconnectedCallback(): void;
325
326
  runFirstUpdated(): void;
327
+ protected willUpdate(changedProperties: PropertyValues<this>): void;
326
328
  private addOpenListeners;
327
329
  private removeOpenListeners;
328
330
  private handleFocus;
@@ -65,6 +65,7 @@ export declare class SceneController {
65
65
  * @throws Error if model loading fails
66
66
  */
67
67
  loadModel(url: string): Promise<Scene>;
68
+ private loadScene;
68
69
  /**
69
70
  * Starts the Babylon.js render loop for continuous scene rendering.
70
71
  * Waits for scene to be ready before beginning the render loop.
@@ -484,6 +484,11 @@ export default class CxAssetLinkFormat extends CortexElement {
484
484
  private handleRotationChange;
485
485
  handlePartsChange(): void;
486
486
  handleReorderableChange(): void;
487
+ /**
488
+ * Destroying mid-drag skips Sortable's drop cleanup and `onEnd`: the dragged panel would keep
489
+ * the placeholder class and stay where Sortable moved it, outside Lit's repeat markers.
490
+ */
491
+ private destroySortable;
487
492
  private syncSortable;
488
493
  private rememberOrder;
489
494
  private emitReorder;
@@ -38,6 +38,9 @@ import { AutoplayController } from './autoplay-controller';
38
38
  * @cssproperty --border - The border of entire carousel.
39
39
  * @cssproperty --scroll-container-border - The border of the scroll container.
40
40
  * @cssproperty --border-radius - The border radius of the carousel.
41
+ * @cssproperty [--navigation-button-background-color=var(--color, var(--cx-color-neutral-0))] - The background color of the previous and next navigation buttons, applied at 60% of its opacity.
42
+ * @cssproperty [--navigation-icon-color=var(--cx-color-neutral-800)] - The color of the previous and next navigation icons.
43
+ * @cssproperty [--navigation-icon-size=var(--cx-font-size-2x-large)] - The size of the previous and next navigation icons. Also insulates the icons from a `--font-size` inherited from an ancestor.
41
44
  */
42
45
  declare class CxCarouselDotPagination extends CxDotPagination {
43
46
  createRenderRoot(): this;
@@ -323,12 +323,7 @@ export default class CxSbImage extends CxImage {
323
323
  handleClickSpaceChange(): void;
324
324
  handleObjectFitChange(): Promise<void>;
325
325
  handleSrcChange(): void;
326
- /**
327
- * Drops a cached extension once the asset it described is replaced, so a new record
328
- * cannot inherit the previous one's answer about whether it may be resized — nor its
329
- * resolved flag, which would let `srcset` be built before the new answer arrives.
330
- */
331
- handleRecordIdChangeForExtension(): void;
326
+ protected willUpdate(changedProps: PropertyValues<this>): void;
332
327
  handleFetchedAssetDataChange(): void;
333
328
  handleProvidedVariantChange(): void;
334
329
  protected update(changedProps: PropertyValues): void;
package/library/utils.js CHANGED
@@ -23,7 +23,7 @@ import { i as rt, n as it, r as at, t as ot } from "./chunks/scroll.CEH_a4pm.js"
23
23
  import { t as st } from "./chunks/user-agent.D2bRhUeS.js";
24
24
  import { t as ct } from "./chunks/parse.CDrJ-NY7.js";
25
25
  import { S as lt, _ as ut, b as dt, d as ft, f as pt, g as mt, h as ht, m as gt, p as _t, t as vt, u as yt, v as bt, x as xt, y as St } from "./chunks/date.BL4L64Hx.js";
26
- import { $ as Ct, A as wt, B as Tt, F as Et, G as Dt, H as Ot, I as kt, J as At, K as jt, L as Mt, M as Nt, N as Pt, O as Ft, P as It, Q as Lt, R as Rt, U as zt, V as Bt, W as Vt, X as Ht, Y as Ut, Z as Wt, _ as Gt, a as Kt, at as qt, b as Jt, c as Yt, ct as Xt, d as Zt, dt as Qt, et as $t, f as en, ft as tn, g as nn, h as rn, i as an, it as on, j as sn, k as cn, l as ln, lt as un, m as dn, mt as fn, n as pn, nt as mn, o as hn, ot as gn, p as _n, pt as vn, q as yn, r as bn, rt as xn, s as Sn, st as Cn, t as wn, tt as Tn, u as En, ut as Dn, v as On, y as kn, z as An } from "./chunks/src.QIRlv8bQ.js";
26
+ import { $ as Ct, A as wt, B as Tt, F as Et, G as Dt, H as Ot, I as kt, J as At, K as jt, L as Mt, M as Nt, N as Pt, O as Ft, P as It, Q as Lt, R as Rt, U as zt, V as Bt, W as Vt, X as Ht, Y as Ut, Z as Wt, _ as Gt, a as Kt, at as qt, b as Jt, c as Yt, ct as Xt, d as Zt, dt as Qt, et as $t, f as en, ft as tn, g as nn, h as rn, i as an, it as on, j as sn, k as cn, l as ln, lt as un, m as dn, mt as fn, n as pn, nt as mn, o as hn, ot as gn, p as _n, pt as vn, q as yn, r as bn, rt as xn, s as Sn, st as Cn, t as wn, tt as Tn, u as En, ut as Dn, v as On, y as kn, z as An } from "./chunks/src.CFxipFzl.js";
27
27
  import { n as jn } from "./chunks/modal.775mgCbW.js";
28
28
  import { a as Mn, c as Nn, d as Pn, f as Fn, i as In, l as Ln, m as Rn, n as zn, o as Bn, p as Vn, r as Hn, s as Un, t as Wn, u as Gn } from "./chunks/url.BCc06dE7.js";
29
29
  import { a as Kn, c as qn, d as Jn, f as Yn, h as Xn, i as Zn, l as Qn, m as $n, n as er, o as tr, p as nr, r as rr, s as ir, t as ar, u as or } from "./chunks/color.CIOzHtLK.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "4.48.0",
4
+ "version": "4.50.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {