@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.
@@ -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.CCgwey9f.js";
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.CCgwey9f.js";
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.CCgwey9f.js";
145
- import { C as MQt, e as PQt, f as NQt } from "../chunks/color-swatch-group.CCgwey9f.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.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";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.189.0",
4
+ "version": "2.190.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Sticky can't pin frozen cells here — every wrapper up to the real horizontal scroller (the
3
- * OverlayScrollbars viewport on `.tabulator`) is `width: max-content` and never scrolls — so
4
- * `syncFrozenOffset` mirrors the viewport's scrollLeft into these vars instead. If horizontal
5
- * scrolling ever moves back onto `.tabulator-tableholder`, delete this sheet.
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;
@@ -1,9 +1,12 @@
1
1
  /**
2
- * use-overlay-scrollbar: table-scoped OverlayScrollbars rules — structure of
3
- * the generated horizontal viewport, positioning of the scrollbars slotted
4
- * into `.table` (see initVerticalScrollbar), and the mapping of the `:host`
5
- * scrollbar css vars (declared below) onto the OverlayScrollbars theme so
6
- * tables with and without use-overlay-scrollbar look the same.
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 verticalOsInstance;
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 initVerticalScrollbar;
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;
@@ -62,6 +62,7 @@ export default class RowManager extends CoreFeature implements IRowManager {
62
62
  getElement(): HTMLElement;
63
63
  getTableElement(): HTMLElement;
64
64
  initialize(): void;
65
+ private initializeWheelWatcher;
65
66
  /**
66
67
  * IRow Manipulation
67
68
  */
@@ -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. Upstream wrote `left`/`right` insets here
39
- * for frozen columns, which added to the flow position and pushed handles a column width off;
40
- * frozen handles travel via `table-frozen.styles.ts` instead (which also owns their z-index).
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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.189.0",
4
+ "version": "2.190.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {