@orangelogic/design-system 2.189.0 → 2.190.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.CCgwey9f.js → color-swatch-group.tnhiQ0jp.js} +360 -324
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/types.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/hybrid/table-core/src/table/styles/table-frozen.styles.d.ts +4 -4
- package/library/packages/hybrid/table-core/src/table/styles/table-overlay-scrollbar.styles.d.ts +8 -5
- package/library/packages/hybrid/table-core/src/table/table.d.ts +2 -12
- package/library/packages/hybrid/table-core/src/tabulator-tables/core/RowManager.d.ts +1 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/ResizeColumns/ResizeColumns.d.ts +5 -3
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import "../chunks/typography.IqHbnd3C.js";
|
|
|
3
3
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
4
4
|
import "../chunks/color-swatch.D6Gg5bpz.js";
|
|
5
5
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
6
|
-
import { C as v } from "../chunks/color-swatch-group.
|
|
6
|
+
import { C as v } from "../chunks/color-swatch-group.tnhiQ0jp.js";
|
|
7
7
|
import "../chunks/transformation.8uLv6uwG.js";
|
|
8
8
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
9
9
|
import "../chunks/debounce.DaHuiSGU.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as a } from "../chunks/asset-link-format.D--xQVgR.js";
|
|
2
|
-
import { C as t } from "../chunks/color-swatch-group.
|
|
2
|
+
import { C as t } from "../chunks/color-swatch-group.tnhiQ0jp.js";
|
|
3
3
|
import { default as C } from "./file-on-demand.js";
|
|
4
4
|
export {
|
|
5
5
|
a as CxAssetLinkFormat,
|
|
@@ -141,8 +141,8 @@ import { g as rz, F as jee } from "../chunks/form.DSsy3Fcy.js";
|
|
|
141
141
|
import { c as xQt, f as kQt, v as _Qt, a as CQt } from "../chunks/form.DSsy3Fcy.js";
|
|
142
142
|
import { d as eT, c as O8, e as Hee, i as D8, h as Vee, p as Uee, t as qee } from "../chunks/date.iWq_pkIk.js";
|
|
143
143
|
import { b as TQt, f as AQt, g as EQt, a as OQt, n as DQt } from "../chunks/date.iWq_pkIk.js";
|
|
144
|
-
import { F as oz, a as Wee, b as h6, H as Gee, c as u0, d as Kee, o as _u } from "../chunks/color-swatch-group.
|
|
145
|
-
import { C as MQt, e as PQt, f as NQt } from "../chunks/color-swatch-group.
|
|
144
|
+
import { F as oz, a as Wee, b as h6, H as Gee, c as u0, d as Kee, o as _u } from "../chunks/color-swatch-group.tnhiQ0jp.js";
|
|
145
|
+
import { C as MQt, e as PQt, f as NQt } from "../chunks/color-swatch-group.tnhiQ0jp.js";
|
|
146
146
|
import { F as Wd, C as g6, s as p3, a as tT } from "../chunks/folder-select.CIqVGGFl.js";
|
|
147
147
|
import { b as h3, a as Aw, c as Yee, r as Ue, j as _e, w as Xee, R as Jee } from "../chunks/jsx-runtime.CTpPVMxj.js";
|
|
148
148
|
import { j as nT } from "../chunks/index.CrhRU5m8.js";
|
package/library/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
2
|
+
* Frozen columns are pinned by `position: sticky` written from `FrozenColumns.layoutElement`, and
|
|
3
|
+
* their resize handles by matching insets from `ResizeColumns.reinitializeColumn`. Both resolve
|
|
4
|
+
* against `.tabulator-tableholder`, the table's single scroll container — keep it that way. This
|
|
5
|
+
* sheet only owns what sticky cannot express: the freeze divider and the stacking order around it.
|
|
6
6
|
*/
|
|
7
7
|
declare const _default: import('lit').CSSResult;
|
|
8
8
|
export default _default;
|
package/library/packages/hybrid/table-core/src/table/styles/table-overlay-scrollbar.styles.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* use-overlay-scrollbar: table-scoped OverlayScrollbars rules —
|
|
3
|
-
* the
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
2
|
+
* use-overlay-scrollbar: table-scoped OverlayScrollbars rules — positioning of
|
|
3
|
+
* the scrollbars slotted into `.table` (see initScrollbars) and the mapping of
|
|
4
|
+
* the `:host` scrollbar css vars (declared below) onto the OverlayScrollbars
|
|
5
|
+
* theme so tables with and without use-overlay-scrollbar look the same.
|
|
6
|
+
*
|
|
7
|
+
* There are deliberately no rules for a generated viewport element: the single
|
|
8
|
+
* instance runs in `viewportIsTarget` mode so `.tabulator-tableholder` stays
|
|
9
|
+
* the scroll container that frozen columns pin against.
|
|
7
10
|
*/
|
|
8
11
|
declare const _default: import('lit').CSSResult;
|
|
9
12
|
export default _default;
|
|
@@ -102,10 +102,7 @@ export default class CxTable extends CortexElement {
|
|
|
102
102
|
'cx-table-toolbar': typeof CxTableToolbar;
|
|
103
103
|
'cx-tooltip': typeof CxTooltip;
|
|
104
104
|
};
|
|
105
|
-
private
|
|
106
|
-
private horizontalOsInstance;
|
|
107
|
-
/** Removes the horizontal scrollbar's scroll listener (see syncFrozenOffset). */
|
|
108
|
-
private frozenScrollOff;
|
|
105
|
+
private osInstance;
|
|
109
106
|
private resizeObserver;
|
|
110
107
|
private overflowObserver;
|
|
111
108
|
private readonly ajaxFacetsController;
|
|
@@ -926,14 +923,7 @@ export default class CxTable extends CortexElement {
|
|
|
926
923
|
private repositionValidationTooltipNow;
|
|
927
924
|
private handleValidationMouseOut;
|
|
928
925
|
disconnectedCallback(): void;
|
|
929
|
-
private
|
|
930
|
-
private initHorizontalScrollbar;
|
|
931
|
-
/**
|
|
932
|
-
* Mirrors the horizontal scroller's offset into `--frozen-offset-start/end` so
|
|
933
|
-
* `table-frozen.styles.ts` can pin frozen columns. Deliberately not debounced: the offset must
|
|
934
|
-
* land in the same frame as the scroll, and it is only two custom-property writes.
|
|
935
|
-
*/
|
|
936
|
-
private syncFrozenOffset;
|
|
926
|
+
private initScrollbars;
|
|
937
927
|
private readonly checkHorizontalOverflow;
|
|
938
928
|
private initOverflowObserver;
|
|
939
929
|
private registerEventListeners;
|
|
@@ -28,6 +28,8 @@ export default class ResizeColumns extends Module {
|
|
|
28
28
|
* walks `columns` because `columnsByIndex` is still empty when `column-rendered` creates handles.
|
|
29
29
|
*/
|
|
30
30
|
private isPinnedEnd;
|
|
31
|
+
private pinHandle;
|
|
32
|
+
private repinFrozenHandles;
|
|
31
33
|
/**
|
|
32
34
|
* The in-flow handle goes right after the element it resizes — except for an end-pinned column,
|
|
33
35
|
* whose right edge is the table edge: its handle goes before the element, onto the freeze
|
|
@@ -35,9 +37,9 @@ export default class ResizeColumns extends Module {
|
|
|
35
37
|
*/
|
|
36
38
|
private attachHandle;
|
|
37
39
|
/**
|
|
38
|
-
* Re-inserts handles next to the element they resize
|
|
39
|
-
*
|
|
40
|
-
*
|
|
40
|
+
* Re-inserts handles next to the element they resize and re-pins the frozen ones. Runs off
|
|
41
|
+
* `column-width`, which `FrozenColumns` subscribes to first (in `initialize()`, whereas this
|
|
42
|
+
* module subscribes lazily from `column-rendered`), so the margins read here are already current.
|
|
41
43
|
*/
|
|
42
44
|
reinitializeColumn(column: Column): void;
|
|
43
45
|
initializeColumn(type: string, component: any, column: Column, element: HTMLElement): void;
|