@orangelogic/design-system 3.45.0 → 3.47.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 (99) hide show
  1. package/library/chunks/{array-line-clamp.C1AjzjRt.js → array-line-clamp.D17pOiME.js} +2 -2
  2. package/library/chunks/{asset-link-format.1oRTjzY2.js → asset-link-format.eY9eXztL.js} +2 -2
  3. package/library/chunks/{bicolor-picker.tJ5FsUXx.js → bicolor-picker.D_UcnmKA.js} +1 -1
  4. package/library/chunks/{block-width.Cafp6Gel.js → block-width.CqI8DKGv.js} +385 -383
  5. package/library/chunks/{border-input-group.DqpNEmn8.js → border-input-group.Dft3PVHv.js} +1 -1
  6. package/library/chunks/{color-picker.Cx69Viur.js → color-picker.CRmQ0m9_.js} +4 -4
  7. package/library/chunks/{color-swatch-group.DvM7s0U-.js → color-swatch-group.DEejhH3V.js} +11 -11
  8. package/library/chunks/{color-swatch.CjsFtiDs.js → color-swatch.UEGHZZx2.js} +2 -2
  9. package/library/chunks/{config-manager.C94Cwv1D.js → config-manager.BKcJUrun.js} +21 -21
  10. package/library/chunks/{configs-controller.CrFiy8NY.js → configs-controller.C9wMlr7Y.js} +5 -5
  11. package/library/chunks/{confirm-popover.BYlEhQyT.js → confirm-popover.CO3IpiGV.js} +2 -2
  12. package/library/chunks/{copy-button.DXNp4KvI.js → copy-button.DBhWr0mk.js} +1 -1
  13. package/library/chunks/{corner-position-input-group.80bovr6F.js → corner-position-input-group.MBe9fFRv.js} +1 -1
  14. package/library/chunks/dialog.BUEP_Yc3.js +1682 -0
  15. package/library/chunks/{document-viewer.Cl8JzMSg.js → document-viewer.DyohQ61p.js} +6 -6
  16. package/library/chunks/{dot-pagination.rTg08FAr.js → dot-pagination.D10yX9RB.js} +1 -1
  17. package/library/chunks/{dropdown.DAkHQCml.js → dropdown._AO9JH0m.js} +2 -2
  18. package/library/chunks/{dynamic-select.CyzcAHU5.js → dynamic-select.bmcldlUE.js} +1 -1
  19. package/library/chunks/{file-on-demand.DXBiSyP_.js → file-on-demand._vAvELmv.js} +8 -8
  20. package/library/chunks/{folder-select.B1gyfanN.js → folder-select.BlvnemXx.js} +4 -4
  21. package/library/chunks/{header.Ny2fWwyt.js → header.DzQZMa38.js} +1 -1
  22. package/library/chunks/{image.BjLoAnzR.js → image.D1D8y17M.js} +1 -1
  23. package/library/chunks/{line-clamp.CUDArhQk.js → line-clamp.CnrGMrrC.js} +1 -1
  24. package/library/chunks/{masonry.MH1B7um_.js → masonry.w1W1TERx.js} +2 -2
  25. package/library/chunks/{menu-item.FZopoctH.js → menu-item.CyQdmKhm.js} +1 -1
  26. package/library/chunks/{menu.Bf4WQ3KE.js → menu.D9R--BnI.js} +1 -1
  27. package/library/chunks/{pagination.BPM-Y5hQ.js → pagination.CanYvw0N.js} +2 -2
  28. package/library/chunks/{popup.j2x8VdwB.js → popup.ALI72D04.js} +3 -3
  29. package/library/chunks/{radio-card.Cg5NyOUL.js → radio-card.DYSmJnTa.js} +1 -1
  30. package/library/chunks/{range.GRVgbJ_H.js → range.JjDrbGgA.js} +1 -1
  31. package/library/chunks/{select.DLMCyAHm.js → select.DGC0kysp.js} +3 -3
  32. package/library/chunks/{shadow-input-group.CKv8Jo6v.js → shadow-input-group.CqJxTQGg.js} +1 -1
  33. package/library/chunks/{share-option-list.CP5eOort.js → share-option-list.C7nOWbx0.js} +1 -1
  34. package/library/chunks/{size-input-group.PcWfpR6-.js → size-input-group.DObavRHn.js} +2 -2
  35. package/library/chunks/{src.gNxtvRg-.js → src.0g5CasFQ.js} +25 -25
  36. package/library/chunks/{step.Bmj-UWVR.js → step.D_UKPog_.js} +2 -2
  37. package/library/chunks/{stepper-wizard.D0bqPHhx.js → stepper-wizard.BDezp3X-.js} +2 -2
  38. package/library/chunks/{stepper.C_bh-9jd.js → stepper.QkG9nzQk.js} +1 -1
  39. package/library/chunks/{tab-group.Cchh3mrH.js → tab-group.DPFqybPz.js} +4 -4
  40. package/library/chunks/{tab.B7cI6tex.js → tab.Bt9yrLEz.js} +1 -1
  41. package/library/chunks/{tag.pKuKheLJ.js → tag.CGDwKgUc.js} +1 -1
  42. package/library/chunks/{tooltip.EVa9qa8X.js → tooltip.Dxn_BH8D.js} +1 -1
  43. package/library/chunks/{tree.0n9ApKdO.js → tree.B2qnckq5.js} +1 -1
  44. package/library/chunks/{typeface.BSwJtcyV.js → typeface.CcL21UKB.js} +1 -1
  45. package/library/chunks/{video.BVMZglAW.js → video.uttqr317.js} +1 -1
  46. package/library/components/array-line-clamp.js +1 -1
  47. package/library/components/asset-link-format.js +1 -1
  48. package/library/components/atoms.js +30 -30
  49. package/library/components/bicolor-picker.js +1 -1
  50. package/library/components/border-input-group.js +1 -1
  51. package/library/components/color-picker.js +1 -1
  52. package/library/components/color-swatch-group.js +1 -1
  53. package/library/components/color-swatch.js +1 -1
  54. package/library/components/confirm-popover.js +1 -1
  55. package/library/components/copy-button.js +1 -1
  56. package/library/components/corner-position-input-group.js +1 -1
  57. package/library/components/dialog.js +1 -1
  58. package/library/components/document-viewer.js +1 -1
  59. package/library/components/dot-pagination.js +1 -1
  60. package/library/components/dropdown.js +1 -1
  61. package/library/components/dynamic-select.js +1 -1
  62. package/library/components/file-on-demand.js +1 -1
  63. package/library/components/folder-select.js +1 -1
  64. package/library/components/header.js +1 -1
  65. package/library/components/image.js +1 -1
  66. package/library/components/line-clamp.js +1 -1
  67. package/library/components/masonry.js +1 -1
  68. package/library/components/menu-item.js +1 -1
  69. package/library/components/menu.js +1 -1
  70. package/library/components/molecules.js +13 -13
  71. package/library/components/organisms.js +3 -3
  72. package/library/components/pagination.js +1 -1
  73. package/library/components/popup.js +1 -1
  74. package/library/components/radio-card.js +1 -1
  75. package/library/components/range.js +1 -1
  76. package/library/components/select.js +1 -1
  77. package/library/components/shadow-input-group.js +1 -1
  78. package/library/components/share-option-list.js +1 -1
  79. package/library/components/size-input-group.js +1 -1
  80. package/library/components/step.js +1 -1
  81. package/library/components/stepper-wizard.js +1 -1
  82. package/library/components/stepper.js +1 -1
  83. package/library/components/tab-group.js +1 -1
  84. package/library/components/tab.js +1 -1
  85. package/library/components/tag.js +1 -1
  86. package/library/components/tooltip.js +1 -1
  87. package/library/components/tree-item.js +1 -1
  88. package/library/components/tree.js +1 -1
  89. package/library/components/typeface.js +1 -1
  90. package/library/components/types.js +13185 -13180
  91. package/library/components/video.js +1 -1
  92. package/library/package.json +1 -1
  93. package/library/packages/atoms/src/components/dialog/dialog.d.ts +6 -2
  94. package/library/packages/molecules/src/graph-view/react/constant.d.ts +3 -1
  95. package/library/packages/organisms/src/comment/comment.d.ts +5 -0
  96. package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.d.ts +7 -0
  97. package/library/packages/organisms/src/space-selector/space-selector.d.ts +2 -0
  98. package/package.json +1 -1
  99. package/library/chunks/dialog.DyVvpdaY.js +0 -1672
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/video.BVMZglAW.js";
1
+ import { n as e, t } from "../chunks/video.uttqr317.js";
2
2
  export { t as VIDEO_BACKGROUND_SIZE_BY_OBJECT_FIT, e as default };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "3.45.0",
4
+ "version": "3.47.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -78,6 +78,7 @@ export default class CxDialog extends CortexElement {
78
78
  popup: CxPopup;
79
79
  panel: HTMLElement;
80
80
  body: HTMLElement;
81
+ overlay: HTMLElement;
81
82
  /**
82
83
  * Indicates whether or not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can
83
84
  * use the `show()` and `hide()` methods and this attribute will reflect the dialog's open state.
@@ -128,14 +129,14 @@ export default class CxDialog extends CortexElement {
128
129
  */
129
130
  strategy: 'fixed' | 'overlay';
130
131
  private osInstance;
131
- overlay: HTMLElement;
132
132
  boundaryObserver: ResizeObserver | null;
133
+ /** Keeps an open dialog hidden until its popup has applied its first position. */
134
+ private positionReady;
133
135
  boundarySize: {
134
136
  height: number;
135
137
  width: number;
136
138
  };
137
139
  constructor();
138
- runFirstUpdated(): void;
139
140
  connectedUpdatedCallback(): void;
140
141
  disconnectedCallback(): void;
141
142
  protected shouldUpdate(_changedProperties: PropertyValues): boolean;
@@ -152,6 +153,9 @@ export default class CxDialog extends CortexElement {
152
153
  private handleDocumentMouseDown;
153
154
  private handleDocumentKeyDown;
154
155
  private handleCloseButtonClick;
156
+ private handlePopupReposition;
157
+ private initializeOverlayScrollbar;
158
+ private destroyOverlayScrollbar;
155
159
  handleOpenChange(): Promise<void>;
156
160
  /** Shows the dialog. */
157
161
  show(): Promise<void>;
@@ -26,7 +26,9 @@ export declare const MENU_ACTION: {
26
26
  UNLINK: string;
27
27
  };
28
28
  export declare const LAYOUT_DEBOUNCE = 100;
29
- export declare const SUMMARY_HEIGHT = 46;
29
+ export declare const SUMMARY_LINE_HEIGHT = 20;
30
+ export declare const SUMMARY_GAP = 4;
31
+ export declare const SUMMARY_VERTICAL_PADDING = 8;
30
32
  export declare const MAX_LABEL_WIDTH = 132;
31
33
  export declare const MAX_LABEL_HEIGHT = 80;
32
34
  export declare const VERTICAL_LABEL_OFFSET: number;
@@ -179,6 +179,11 @@ export default class CxComment<TCommentMenu extends CxCommentMenu = CxCommentMen
179
179
  private handleCommentMousedown;
180
180
  handleEditableChange(): void;
181
181
  handlePlaceholderChange(): void;
182
+ /**
183
+ * Element focused when fullscreen was entered. Moving the container into the
184
+ * dialog blurs it, so the dialog itself only ever captures the body.
185
+ */
186
+ private fullscreenTrigger;
182
187
  handleFullscreenChange(): void;
183
188
  private handleRequestClose;
184
189
  protected renderMenu(): TemplateResult | DirectiveResult<typeof GuardDirective>;
@@ -96,6 +96,13 @@ export default class CxColorSwatchPicker extends CortexElement {
96
96
  * The hex color value.
97
97
  */
98
98
  private dialogHex;
99
+ /**
100
+ * The color picker's displayed value. This stays in the format selected by the user,
101
+ * while `dialogHex` remains the canonical value saved with the color swatch.
102
+ */
103
+ private dialogPickerValue;
104
+ /** The display format selected in the current color dialog. */
105
+ private dialogPickerFormat;
99
106
  /**
100
107
  * The RGB color value.
101
108
  */
@@ -22,6 +22,8 @@ import { CSSResultGroup, PropertyValues, TemplateResult } from 'lit';
22
22
  *
23
23
  * @slot (default) - Entries the host renders above the space list, e.g. a drawer's "Back" item.
24
24
  *
25
+ * @csspart trigger - The trigger, a `cx-icon-button` or a `cx-button` depending on `trigger-variant`.
26
+ * @csspart trigger-base - The trigger's own `base` part, which carries its colour in every state. *
25
27
  * @event cx-space-select - The user picked a different space. Detail carries its module and URL.
26
28
  * @event cx-space-create - The user asked for a new space.
27
29
  * @event cx-space-settings - The user asked for the current space's settings.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "3.45.0",
4
+ "version": "3.47.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {