@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.
- package/library/chunks/{array-line-clamp.C1AjzjRt.js → array-line-clamp.D17pOiME.js} +2 -2
- package/library/chunks/{asset-link-format.1oRTjzY2.js → asset-link-format.eY9eXztL.js} +2 -2
- package/library/chunks/{bicolor-picker.tJ5FsUXx.js → bicolor-picker.D_UcnmKA.js} +1 -1
- package/library/chunks/{block-width.Cafp6Gel.js → block-width.CqI8DKGv.js} +385 -383
- package/library/chunks/{border-input-group.DqpNEmn8.js → border-input-group.Dft3PVHv.js} +1 -1
- package/library/chunks/{color-picker.Cx69Viur.js → color-picker.CRmQ0m9_.js} +4 -4
- package/library/chunks/{color-swatch-group.DvM7s0U-.js → color-swatch-group.DEejhH3V.js} +11 -11
- package/library/chunks/{color-swatch.CjsFtiDs.js → color-swatch.UEGHZZx2.js} +2 -2
- package/library/chunks/{config-manager.C94Cwv1D.js → config-manager.BKcJUrun.js} +21 -21
- package/library/chunks/{configs-controller.CrFiy8NY.js → configs-controller.C9wMlr7Y.js} +5 -5
- package/library/chunks/{confirm-popover.BYlEhQyT.js → confirm-popover.CO3IpiGV.js} +2 -2
- package/library/chunks/{copy-button.DXNp4KvI.js → copy-button.DBhWr0mk.js} +1 -1
- package/library/chunks/{corner-position-input-group.80bovr6F.js → corner-position-input-group.MBe9fFRv.js} +1 -1
- package/library/chunks/dialog.BUEP_Yc3.js +1682 -0
- package/library/chunks/{document-viewer.Cl8JzMSg.js → document-viewer.DyohQ61p.js} +6 -6
- package/library/chunks/{dot-pagination.rTg08FAr.js → dot-pagination.D10yX9RB.js} +1 -1
- package/library/chunks/{dropdown.DAkHQCml.js → dropdown._AO9JH0m.js} +2 -2
- package/library/chunks/{dynamic-select.CyzcAHU5.js → dynamic-select.bmcldlUE.js} +1 -1
- package/library/chunks/{file-on-demand.DXBiSyP_.js → file-on-demand._vAvELmv.js} +8 -8
- package/library/chunks/{folder-select.B1gyfanN.js → folder-select.BlvnemXx.js} +4 -4
- package/library/chunks/{header.Ny2fWwyt.js → header.DzQZMa38.js} +1 -1
- package/library/chunks/{image.BjLoAnzR.js → image.D1D8y17M.js} +1 -1
- package/library/chunks/{line-clamp.CUDArhQk.js → line-clamp.CnrGMrrC.js} +1 -1
- package/library/chunks/{masonry.MH1B7um_.js → masonry.w1W1TERx.js} +2 -2
- package/library/chunks/{menu-item.FZopoctH.js → menu-item.CyQdmKhm.js} +1 -1
- package/library/chunks/{menu.Bf4WQ3KE.js → menu.D9R--BnI.js} +1 -1
- package/library/chunks/{pagination.BPM-Y5hQ.js → pagination.CanYvw0N.js} +2 -2
- package/library/chunks/{popup.j2x8VdwB.js → popup.ALI72D04.js} +3 -3
- package/library/chunks/{radio-card.Cg5NyOUL.js → radio-card.DYSmJnTa.js} +1 -1
- package/library/chunks/{range.GRVgbJ_H.js → range.JjDrbGgA.js} +1 -1
- package/library/chunks/{select.DLMCyAHm.js → select.DGC0kysp.js} +3 -3
- package/library/chunks/{shadow-input-group.CKv8Jo6v.js → shadow-input-group.CqJxTQGg.js} +1 -1
- package/library/chunks/{share-option-list.CP5eOort.js → share-option-list.C7nOWbx0.js} +1 -1
- package/library/chunks/{size-input-group.PcWfpR6-.js → size-input-group.DObavRHn.js} +2 -2
- package/library/chunks/{src.gNxtvRg-.js → src.0g5CasFQ.js} +25 -25
- package/library/chunks/{step.Bmj-UWVR.js → step.D_UKPog_.js} +2 -2
- package/library/chunks/{stepper-wizard.D0bqPHhx.js → stepper-wizard.BDezp3X-.js} +2 -2
- package/library/chunks/{stepper.C_bh-9jd.js → stepper.QkG9nzQk.js} +1 -1
- package/library/chunks/{tab-group.Cchh3mrH.js → tab-group.DPFqybPz.js} +4 -4
- package/library/chunks/{tab.B7cI6tex.js → tab.Bt9yrLEz.js} +1 -1
- package/library/chunks/{tag.pKuKheLJ.js → tag.CGDwKgUc.js} +1 -1
- package/library/chunks/{tooltip.EVa9qa8X.js → tooltip.Dxn_BH8D.js} +1 -1
- package/library/chunks/{tree.0n9ApKdO.js → tree.B2qnckq5.js} +1 -1
- package/library/chunks/{typeface.BSwJtcyV.js → typeface.CcL21UKB.js} +1 -1
- package/library/chunks/{video.BVMZglAW.js → video.uttqr317.js} +1 -1
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +30 -30
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/color-picker.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/color-swatch.js +1 -1
- package/library/components/confirm-popover.js +1 -1
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +1 -1
- package/library/components/dialog.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/dot-pagination.js +1 -1
- package/library/components/dropdown.js +1 -1
- package/library/components/dynamic-select.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +1 -1
- package/library/components/header.js +1 -1
- package/library/components/image.js +1 -1
- package/library/components/line-clamp.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +13 -13
- package/library/components/organisms.js +3 -3
- package/library/components/pagination.js +1 -1
- package/library/components/popup.js +1 -1
- package/library/components/radio-card.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/select.js +1 -1
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/step.js +1 -1
- package/library/components/stepper-wizard.js +1 -1
- package/library/components/stepper.js +1 -1
- package/library/components/tab-group.js +1 -1
- package/library/components/tab.js +1 -1
- package/library/components/tag.js +1 -1
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +1 -1
- package/library/components/tree.js +1 -1
- package/library/components/typeface.js +1 -1
- package/library/components/types.js +13185 -13180
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/dialog/dialog.d.ts +6 -2
- package/library/packages/molecules/src/graph-view/react/constant.d.ts +3 -1
- package/library/packages/organisms/src/comment/comment.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.d.ts +7 -0
- package/library/packages/organisms/src/space-selector/space-selector.d.ts +2 -0
- package/package.json +1 -1
- package/library/chunks/dialog.DyVvpdaY.js +0 -1672
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/video.
|
|
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 };
|
package/library/package.json
CHANGED
|
@@ -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
|
|
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.
|