@1771technologies/lytenyte-pro 0.0.58 → 0.0.60

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.
@@ -8,7 +8,7 @@ import { useRef, useState, useEffect, useCallback, useMemo, createContext, useCo
8
8
  import "@1771technologies/react-dragon";
9
9
  import "@1771technologies/grid-core";
10
10
  import { c as useGrid, G as GridProvider } from "./useScrollLock-D4UY33Sb.js";
11
- import { g as useEdgeScroll, h as useDraggable, c as canAgg, a as canMeasure, f as useDroppable, u as useAggregationSource, b as useMeasuresSource, d as useRowGroupsSource, e as useColumnPivotSource, P as Pill, M as MenuTrigger, i as PillManagerAggMenu, j as PillManagerMeasureMenu } from "./pill-nHUKSUVd.js";
11
+ import { g as useEdgeScroll, h as useDraggable, c as canAgg, a as canMeasure, f as useDroppable, u as useAggregationSource, b as useMeasuresSource, d as useRowGroupsSource, e as useColumnPivotSource, P as Pill, M as MenuTrigger, i as PillManagerAggMenu, j as PillManagerMeasureMenu } from "./pill-BZvNQdoR.js";
12
12
  import { A as ArrowRightIcon } from "./tickmark-icon-CoogRMoO.js";
13
13
  import { A as ArrowDownIcon } from "./arrow-down-icon-B-3ldODD.js";
14
14
  import { D as DragIcon, M as MeasuresIcon, C as ColumnPivotIcon, R as RowGroupIcon } from "./row-group-icon-DFUMye0v.js";
@@ -18,7 +18,7 @@ import { S as Separator } from "./separator-BnPPeAk8.js";
18
18
  import { M as MoreDotsIcon } from "./more-dots-icon-CzAH3xHG.js";
19
19
  import { C as CrossIcon } from "./cross-icon-CEMLAlFX.js";
20
20
  import { M as MenuRoot, a as MenuPortal } from "./column-menu-driver-cG-EZgLa.js";
21
- import { M as MenuPositioner } from "./menu-DvnPbFP7.js";
21
+ import { M as MenuPositioner } from "./menu-C49unLOk.js";
22
22
  function Sizer({
23
23
  children,
24
24
  onSizeChange,
@@ -1079,10 +1079,17 @@ const ColumnManagerPill = forwardRef(function ColumnManagerPill2({ item, ...prop
1079
1079
  children: /* @__PURE__ */ jsx(TriggerIcon, { width: 16, height: 16 })
1080
1080
  }
1081
1081
  ),
1082
- /* @__PURE__ */ jsx(MenuPortal, { children: /* @__PURE__ */ jsxs(MenuPositioner, { onClick: (ev) => ev.stopPropagation(), style: { zIndex: 100 }, children: [
1083
- item.isAggregation && /* @__PURE__ */ jsx(AggMenu, { grid, column: item.column }),
1084
- item.isMeasure && /* @__PURE__ */ jsx(MeasureMenu, { grid, column: item.column })
1085
- ] }) })
1082
+ /* @__PURE__ */ jsx(MenuPortal, { children: /* @__PURE__ */ jsxs(
1083
+ MenuPositioner,
1084
+ {
1085
+ onClick: (ev) => ev.stopPropagation(),
1086
+ className: "lng1771-column-manager__agg-menu",
1087
+ children: [
1088
+ item.isAggregation && /* @__PURE__ */ jsx(AggMenu, { grid, column: item.column }),
1089
+ item.isMeasure && /* @__PURE__ */ jsx(MeasureMenu, { grid, column: item.column })
1090
+ ]
1091
+ }
1092
+ ) })
1086
1093
  ] }),
1087
1094
  (item.isRowGroup || item.isColumnPivot || item.isAggregation || item.isMeasure) && /* @__PURE__ */ jsx("button", { className: "lng1771-column-manager__pill-button", onClick: item.onClick, children: /* @__PURE__ */ jsx(CrossIcon, { width: 16, height: 16 }) })
1088
1095
  ] })
@@ -969,6 +969,10 @@ body.lng1771-drag-on .lng1771-pill-manager__pill-outer[data-pill-active="false"]
969
969
  background-color: var(--lng1771-gray-05);
970
970
  }
971
971
  }
972
+
973
+ .lng1771-pill-manager__agg-menu {
974
+ z-index: 100;
975
+ }
972
976
  .lng1771-dialog {
973
977
  position: fixed;
974
978
  z-index: 100;
@@ -1504,6 +1508,10 @@ body.lng1771-drag-on .lng1771-pill-manager__pill-outer[data-pill-active="false"]
1504
1508
  font-weight: 400;
1505
1509
  line-height: 17px;
1506
1510
  }
1511
+
1512
+ .lng1771-column-manager__agg-menu {
1513
+ z-index: 100;
1514
+ }
1507
1515
  .lng1771-toggle {
1508
1516
  position: relative;
1509
1517
  width: 26px;
@@ -1831,7 +1831,7 @@ const MenuCheckboxItem2 = forwardRef(function CheckboxItem({ className, ...props
1831
1831
  const cl = useMenuClassName("lng1771-menu__checkbox-item", className);
1832
1832
  return /* @__PURE__ */ jsx(MenuCheckboxItem$1, { ...props, ref, className: cl });
1833
1833
  });
1834
- const SubMenuPositioner = forwardRef(function SubMenuPositioner2({ className, ...props }, ref) {
1834
+ const SubmenuPositioner = forwardRef(function SubMenuPositioner({ className, ...props }, ref) {
1835
1835
  const cl = useMenuClassName("lng1771-menu__submenu-positioner", className);
1836
1836
  return /* @__PURE__ */ jsx(MenuPositioner$1, { ...props, ref, className: cl });
1837
1837
  });
@@ -1866,7 +1866,7 @@ const Menu = {
1866
1866
  Container: MenuContainer,
1867
1867
  Submenu: MenuSubmenu,
1868
1868
  SubmenuTrigger: MenuSubmenuTrigger,
1869
- SubMenuPositioner,
1869
+ SubmenuPositioner,
1870
1870
  Item: MenuItem2,
1871
1871
  Separator: MenuSeparator,
1872
1872
  Group: MenuGroup2,
package/dist/menu.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a } from "./menu-DvnPbFP7.js";
1
+ import { a } from "./menu-C49unLOk.js";
2
2
  export {
3
3
  a as Menu
4
4
  };
@@ -9,7 +9,7 @@ import { o as ownerDocument, c as useGrid } from "./useScrollLock-D4UY33Sb.js";
9
9
  import { g as getPseudoElementBounds } from "./getPseudoElementBounds-BSHt6WYm.js";
10
10
  import { u as useMenuRootContext } from "./column-menu-driver-cG-EZgLa.js";
11
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
- import { a as Menu } from "./menu-DvnPbFP7.js";
12
+ import { a as Menu } from "./menu-C49unLOk.js";
13
13
  const toJSON = () => "";
14
14
  function getVisibleBoundingBox(element) {
15
15
  if (!element) return null;
@@ -3,7 +3,7 @@ import { c as useGrid, G as GridProvider } from "./useScrollLock-D4UY33Sb.js";
3
3
  import { useMemo, createContext, useState, useContext, forwardRef, useEffect, useCallback } from "react";
4
4
  import { clsx } from "@1771technologies/js-utils";
5
5
  import { useDroppable as useDroppable$1 } from "@1771technologies/react-dragon";
6
- import { c as canAgg, a as canMeasure, u as useAggregationSource, b as useMeasuresSource, d as useRowGroupsSource, e as useColumnPivotSource, f as useDroppable, g as useEdgeScroll, P as Pill, M as MenuTrigger, h as useDraggable, i as PillManagerAggMenu, j as PillManagerMeasureMenu } from "./pill-nHUKSUVd.js";
6
+ import { c as canAgg, a as canMeasure, u as useAggregationSource, b as useMeasuresSource, d as useRowGroupsSource, e as useColumnPivotSource, f as useDroppable, g as useEdgeScroll, P as Pill, M as MenuTrigger, h as useDraggable, i as PillManagerAggMenu, j as PillManagerMeasureMenu } from "./pill-BZvNQdoR.js";
7
7
  import { u as useDragStore, a as useDrag, D as DragProvider } from "./drag-store-jYWgvRwR.js";
8
8
  import "@1771technologies/react-sizer";
9
9
  import { useCombinedRefs } from "@1771technologies/react-utils";
@@ -12,7 +12,7 @@ import "@1771technologies/grid-core";
12
12
  import { D as DragIcon, M as MeasuresIcon, C as ColumnPivotIcon, R as RowGroupIcon } from "./row-group-icon-DFUMye0v.js";
13
13
  import { M as MoreDotsIcon } from "./more-dots-icon-CzAH3xHG.js";
14
14
  import { M as MenuRoot, a as MenuPortal } from "./column-menu-driver-cG-EZgLa.js";
15
- import { M as MenuPositioner } from "./menu-DvnPbFP7.js";
15
+ import { M as MenuPositioner } from "./menu-C49unLOk.js";
16
16
  import { M as ManageColumnsIcon, C as CollapseIcon, E as ExpandIcon } from "./manage-columns-icon-D4CElo5H.js";
17
17
  import { createPortal } from "react-dom";
18
18
  function useColumnSource(source) {
@@ -357,10 +357,17 @@ const PillManagerPill = forwardRef(function PillManagerPill2({ item, menu, ...pr
357
357
  children: /* @__PURE__ */ jsx(TriggerIcon, { width: 16, height: 16 })
358
358
  }
359
359
  ),
360
- /* @__PURE__ */ jsx(MenuPortal, { children: /* @__PURE__ */ jsxs(MenuPositioner, { onClick: (ev) => ev.stopPropagation(), style: { zIndex: 100 }, children: [
361
- item.isAggregation && /* @__PURE__ */ jsx(AggMenu, { grid, column: item.column }),
362
- item.isMeasure && /* @__PURE__ */ jsx(MeasureMenu, { grid, column: item.column })
363
- ] }) })
360
+ /* @__PURE__ */ jsx(MenuPortal, { children: /* @__PURE__ */ jsxs(
361
+ MenuPositioner,
362
+ {
363
+ onClick: (ev) => ev.stopPropagation(),
364
+ className: "lng1771-pill-manager__agg-menu",
365
+ children: [
366
+ item.isAggregation && /* @__PURE__ */ jsx(AggMenu, { grid, column: item.column }),
367
+ item.isMeasure && /* @__PURE__ */ jsx(MeasureMenu, { grid, column: item.column })
368
+ ]
369
+ }
370
+ ) })
364
371
  ] }),
365
372
  menu && /* @__PURE__ */ jsx(
366
373
  "button",
@@ -14,5 +14,5 @@ export declare const MenuRadioItemIndicator: import('react').ForwardRefExoticCom
14
14
  export declare const MenuRadioItem: typeof Menu.RadioItem;
15
15
  export declare const MenuCheckboxItemIndicator: import('react').ForwardRefExoticComponent<Omit<Menu.CheckboxItemIndicator.Props & import('react').RefAttributes<HTMLSpanElement>, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
16
16
  export declare const MenuCheckboxItem: typeof Menu.CheckboxItem;
17
- export declare const SubMenuPositioner: typeof Menu.Positioner;
17
+ export declare const SubmenuPositioner: typeof Menu.Positioner;
18
18
  export declare const MenuPositioner: typeof Menu.Positioner;
@@ -5,7 +5,7 @@ export declare const Menu: {
5
5
  trigger: import('react').ReactNode;
6
6
  }) => import("react/jsx-runtime").JSX.Element;
7
7
  SubmenuTrigger: import('react').ForwardRefExoticComponent<B.SubmenuTrigger.Props & import('react').RefAttributes<Element>>;
8
- SubMenuPositioner: import('react').ForwardRefExoticComponent<B.Positioner.Props & import('react').RefAttributes<HTMLDivElement>>;
8
+ SubmenuPositioner: import('react').ForwardRefExoticComponent<B.Positioner.Props & import('react').RefAttributes<HTMLDivElement>>;
9
9
  Item: import('react').ForwardRefExoticComponent<B.Item.Props & import('react').RefAttributes<Element>>;
10
10
  Separator: typeof B.Separator;
11
11
  Group: import('react').ForwardRefExoticComponent<B.Group.Props & import('react').RefAttributes<Element>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1771technologies/lytenyte-pro",
3
- "version": "0.0.58",
3
+ "version": "0.0.60",
4
4
  "license": "COMMERCIAL",
5
5
  "type": "module",
6
6
  "files": [
@@ -70,20 +70,20 @@
70
70
  "react-dom": "^18.0.0 || ^19.0.0"
71
71
  },
72
72
  "dependencies": {
73
- "@1771technologies/grid-client-data-source-pro": "0.0.58",
74
- "@1771technologies/grid-core": "0.0.58",
75
- "@1771technologies/grid-design": "0.0.58",
76
- "@1771technologies/grid-provider": "0.0.58",
77
- "@1771technologies/grid-store-pro": "0.0.58",
78
- "@1771technologies/grid-tree-data-source": "0.0.58",
79
- "@1771technologies/grid-types": "0.0.58",
80
- "@1771technologies/js-utils": "0.0.58",
81
- "@1771technologies/lytenyte-core": "0.0.58",
82
- "@1771technologies/react-cascada": "0.0.58",
83
- "@1771technologies/react-dragon": "0.0.58",
84
- "@1771technologies/react-sizer": "0.0.58",
85
- "@1771technologies/react-split-pane": "0.0.58",
86
- "@1771technologies/react-utils": "0.0.58",
73
+ "@1771technologies/grid-client-data-source-pro": "0.0.60",
74
+ "@1771technologies/grid-core": "0.0.60",
75
+ "@1771technologies/grid-design": "0.0.60",
76
+ "@1771technologies/grid-provider": "0.0.60",
77
+ "@1771technologies/grid-store-pro": "0.0.60",
78
+ "@1771technologies/grid-tree-data-source": "0.0.60",
79
+ "@1771technologies/grid-types": "0.0.60",
80
+ "@1771technologies/js-utils": "0.0.60",
81
+ "@1771technologies/lytenyte-core": "0.0.60",
82
+ "@1771technologies/react-cascada": "0.0.60",
83
+ "@1771technologies/react-dragon": "0.0.60",
84
+ "@1771technologies/react-sizer": "0.0.60",
85
+ "@1771technologies/react-split-pane": "0.0.60",
86
+ "@1771technologies/react-utils": "0.0.60",
87
87
  "@base-ui-components/react": "1.0.0-alpha.7"
88
88
  },
89
89
  "devDependencies": {