@orangelogic/design-system 2.155.0 → 2.157.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/{color-swatch-group.Gh-drOGJ.js → color-swatch-group.oFxwjebo.js} +344 -336
- package/library/chunks/{document-viewer.BN-OQfid.js → document-viewer.DXtjdvqe.js} +1 -1
- package/library/chunks/{image.DazATuAV.js → image.BO6NWyIo.js} +1 -1
- package/library/components/atoms.js +2 -2
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/document-viewer.js +2 -2
- package/library/components/image.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/types.js +5273 -5248
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/hybrid/table-core/src/table/table.d.ts +2 -0
- package/library/packages/hybrid/table-core/src/table/table.utils.d.ts +2 -1
- package/library/packages/organisms/src/comment/comment.d.ts +11 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-tracks/video-editor-tracks.d.ts +0 -3
- package/library/packages/organisms/src/video-editor/components/video-editor-transition/video-editor-transition.d.ts +6 -4
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as kd, a as Sa, b as Be, c as Je } from "../chunks/inheritsLoose.BuSn_CvZ.js";
|
|
2
2
|
import { c as ps, a as Bn } from "../chunks/_commonjsHelpers.DQNKXVTB.js";
|
|
3
3
|
import { r as Sb } from "../chunks/___vite-browser-external_commonjs-proxy.C2tf3HsQ.js";
|
|
4
|
-
import { C as Cb } from "../chunks/image.
|
|
4
|
+
import { C as Cb } from "../chunks/image.BO6NWyIo.js";
|
|
5
5
|
import Mb from "./resize-observer.js";
|
|
6
6
|
import { r as Db, R as Pb, a as Rp, b as Lb } from "../chunks/resizable-component.styles.CAfXABBc.js";
|
|
7
7
|
import { c as Rb } from "../chunks/component.styles.CRO4Odto.js";
|
package/library/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import { default as CxButton } from '../../../../atoms/src/components/button/but
|
|
|
2
2
|
import { default as CxCheckbox } from '../../../../atoms/src/components/checkbox/checkbox.ts';
|
|
3
3
|
import { default as CxDivider } from '../../../../atoms/src/components/divider/divider.ts';
|
|
4
4
|
import { default as CxFormatNumber } from '../../../../atoms/src/components/format-number/format-number.ts';
|
|
5
|
+
import { default as CxIcon } from '../../../../atoms/src/components/icon/icon.ts';
|
|
5
6
|
import { default as CxIconButton } from '../../../../atoms/src/components/icon-button/icon-button.ts';
|
|
6
7
|
import { default as CxSelect } from '../../../../atoms/src/components/select/select.ts';
|
|
7
8
|
import { default as CxSpace } from '../../../../atoms/src/components/space/space.ts';
|
|
@@ -87,6 +88,7 @@ export default class CxTable extends CortexElement {
|
|
|
87
88
|
'cx-divider': typeof CxDivider;
|
|
88
89
|
'cx-faceted-filter': typeof CxFacetedFilter;
|
|
89
90
|
'cx-format-number': typeof CxFormatNumber;
|
|
91
|
+
'cx-icon': typeof CxIcon;
|
|
90
92
|
'cx-icon-button': typeof CxIconButton;
|
|
91
93
|
'cx-select': typeof CxSelect;
|
|
92
94
|
'cx-space': typeof CxSpace;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColumnDefinition } from '../../../../types/src/table';
|
|
1
|
+
import { ColumnDefinition, SortDirection } from '../../../../types/src/table';
|
|
2
2
|
|
|
3
3
|
export declare const movableRowDefaultRowHeader: ColumnDefinition;
|
|
4
4
|
export declare const frozenRowsConverter: {
|
|
@@ -13,3 +13,4 @@ export declare const groupByConverter: {
|
|
|
13
13
|
fromAttribute: (value: string | null) => string | any[] | null | undefined;
|
|
14
14
|
toAttribute: (value: unknown) => unknown;
|
|
15
15
|
};
|
|
16
|
+
export declare function renderHeaderSortIcon(_column: unknown, dir: SortDirection): HTMLElement;
|
|
@@ -93,7 +93,18 @@ export default class CxComment extends CortexElement {
|
|
|
93
93
|
private handleMentionUpdate;
|
|
94
94
|
private handleMentionKeyDown;
|
|
95
95
|
private initEditor;
|
|
96
|
+
/**
|
|
97
|
+
* First init must happen here: on Cortex ajax refresh the element renders while
|
|
98
|
+
* detached, so the editor DOM has to exist before insertion or the first paint
|
|
99
|
+
* collapses to zero height (buttons below overlap the comment box).
|
|
100
|
+
*/
|
|
96
101
|
runFirstUpdated(): void;
|
|
102
|
+
/**
|
|
103
|
+
* Re-init on every (re)connect: `disconnectedCallback` destroys the editor, and on
|
|
104
|
+
* Cortex ajax refresh props like `content` are applied after `runFirstUpdated`
|
|
105
|
+
* (see docs/cortex-render-order.md) — re-initializing here picks up the latest values.
|
|
106
|
+
*/
|
|
107
|
+
connectedUpdatedCallback(): void;
|
|
97
108
|
private handleCommentMousedown;
|
|
98
109
|
handleEditableChange(): void;
|
|
99
110
|
handlePlaceholderChange(): void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as CxIcon } from '../../../../../atoms/src/components/icon/icon.ts';
|
|
2
|
-
import { default as CxPopup } from '../../../../../atoms/src/components/popup/popup.ts';
|
|
3
2
|
import { default as CxResizeObserver } from '../../../../../atoms/src/components/resize-observer/resize-observer.ts';
|
|
4
3
|
import { default as CortexElement } from '../../../../../base/src/cortex-element.ts';
|
|
5
4
|
import { CanvasData, FrameCache, SubClip, Transition } from '../../../../../types/src/video-editor';
|
|
@@ -28,7 +27,6 @@ export default class CxVideoEditorTracks extends CortexElement {
|
|
|
28
27
|
static readonly styles: CSSResultGroup;
|
|
29
28
|
static readonly dependencies: {
|
|
30
29
|
'cx-icon': typeof CxIcon;
|
|
31
|
-
'cx-popup': typeof CxPopup;
|
|
32
30
|
'cx-resize-observer': typeof CxResizeObserver;
|
|
33
31
|
'cx-video-editor-track': typeof CxVideoEditorTrack;
|
|
34
32
|
'cx-video-editor-transition': typeof CxVideoEditorTransition;
|
|
@@ -44,7 +42,6 @@ export default class CxVideoEditorTracks extends CortexElement {
|
|
|
44
42
|
videoDuration: number;
|
|
45
43
|
scaleFactor: number;
|
|
46
44
|
maxScaleFactor: number;
|
|
47
|
-
hideBoundary: CxPopup['hideBoundary'];
|
|
48
45
|
scale: number;
|
|
49
46
|
maxScaleMap: Map<string, number>;
|
|
50
47
|
maxDurationMap: Map<string, number>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as CxIcon } from '../../../../../atoms/src/components/icon/icon.ts';
|
|
2
|
-
import { default as CxPopup, VirtualElement } from '../../../../../atoms/src/components/popup/popup.ts';
|
|
3
2
|
import { default as CortexElement } from '../../../../../base/src/cortex-element.ts';
|
|
4
3
|
import { Transition } from '../../../../../types/src/video-editor';
|
|
5
4
|
import { CSSResultGroup } from 'lit';
|
|
@@ -8,12 +7,15 @@ export default class CxVideoEditorTransition extends CortexElement {
|
|
|
8
7
|
static readonly styles: CSSResultGroup;
|
|
9
8
|
static readonly dependencies: {
|
|
10
9
|
'cx-icon': typeof CxIcon;
|
|
11
|
-
'cx-popup': typeof CxPopup;
|
|
12
10
|
};
|
|
13
|
-
anchor: Element | string | VirtualElement;
|
|
14
|
-
hideBoundary: Element | string | VirtualElement;
|
|
15
11
|
data: Transition | null;
|
|
16
12
|
selected: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* When true, keeps the indicator fully inside its track instead of straddling the boundary
|
|
15
|
+
* with the previous track. Use this for the first track in the list, which has no preceding
|
|
16
|
+
* track to overlap.
|
|
17
|
+
*/
|
|
18
|
+
inset: boolean;
|
|
17
19
|
private handleClick;
|
|
18
20
|
render(): import('lit').TemplateResult<1>;
|
|
19
21
|
}
|