@orangelogic/design-system 3.44.0 → 3.46.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.BenfACwj.js → asset-link-format.eY9eXztL.js} +3 -3
- package/library/chunks/{bicolor-picker.pEuB5d7x.js → bicolor-picker.D_UcnmKA.js} +1 -1
- package/library/chunks/{block-width.C1BPe6lP.js → block-width.sAttAkEm.js} +385 -383
- package/library/chunks/{border-input-group.D0_n4dvI.js → border-input-group.Dft3PVHv.js} +1 -1
- package/library/chunks/{color-picker.DwYmn7LF.js → color-picker.CRmQ0m9_.js} +4 -4
- package/library/chunks/{color-swatch-group.Pm-mqCgt.js → color-swatch-group.C3dL4xnG.js} +20 -20
- package/library/chunks/{color-swatch.CjsFtiDs.js → color-swatch.UEGHZZx2.js} +2 -2
- package/library/chunks/{config-manager.B3oU6rhe.js → config-manager.u0EwtjHz.js} +21 -21
- package/library/chunks/{configs-controller.D3ER8OhT.js → configs-controller.CXh4ejXp.js} +5 -5
- package/library/chunks/{confirm-popover.DENzK8Zo.js → confirm-popover.B1wGohE_.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.DyVvpdaY.js → dialog.a6Ny625w.js} +24 -15
- package/library/chunks/{document-viewer.C5yuaeGH.js → document-viewer.DyohQ61p.js} +6 -6
- package/library/chunks/{dot-pagination.rTg08FAr.js → dot-pagination.D10yX9RB.js} +1 -1
- package/library/chunks/{dropdown.Bap8f8gT.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.DZEBSyi3.js → file-on-demand.CK150wg4.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.C7zSpVh7.js → menu.D9R--BnI.js} +6 -2
- 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.Dp6ME7lP.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.E-9k1EYO.js → src.UIyKzeaw.js} +26 -26
- 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.BgkjcwaU.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 +29 -29
- 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 +11085 -11085
- 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/atoms/src/components/menu/menu.d.ts +1 -0
- package/library/packages/molecules/src/graph-view/react/constant.d.ts +3 -1
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.d.ts +7 -0
- package/package.json +1 -1
|
@@ -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>;
|
|
@@ -49,6 +49,7 @@ export default class CxMenu extends CortexElement {
|
|
|
49
49
|
runFirstUpdated(): void;
|
|
50
50
|
private handleClick;
|
|
51
51
|
private handleKeyDown;
|
|
52
|
+
private handleMouseDown;
|
|
52
53
|
private handleSlotChange;
|
|
53
54
|
/** Sets `tabindex="0"` on the selected item (`checked`/`active`), or the first item if none is selected. */
|
|
54
55
|
private syncTabIndexToSelection;
|
|
@@ -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;
|
|
@@ -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
|
*/
|