@1771technologies/lytenyte-pro 0.0.50 → 0.0.52

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.
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { IsoResizeObserver, getPreciseElementDimensions, clsx } from "@1771technologies/js-utils";
3
- import { u as useDragStore, a as useDrag, C as Checkbox, I as Input, D as DragProvider } from "./drag-store-C056Fm0B.js";
3
+ import { u as useDragStore, a as useDrag, C as Checkbox, I as Input, D as DragProvider } from "./drag-store-jYWgvRwR.js";
4
4
  import "@1771technologies/react-sizer";
5
5
  import { useCombinedRefs, useEvent } from "@1771technologies/react-utils";
6
6
  import "@1771technologies/grid-provider";
@@ -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-0vXb9g1m.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";
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";
@@ -638,9 +638,7 @@ function useCellEvents(api, column, row, rowIndex, columnIndex) {
638
638
  const mode = sx.rowSelectionMode.peek();
639
639
  if (mode !== "none") {
640
640
  if (event.key === " ") {
641
- const x = sx.rowSelectionSelectedIds.peek();
642
- if (x.has(row.id)) api.rowSelectionDeselect([row.id]);
643
- else api.rowSelectionSelect([row.id]);
641
+ handleRowSelection(api, row, false, true, true, "single-click");
644
642
  event.preventDefault();
645
643
  }
646
644
  }
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { useState, useEffect, useCallback, createContext, useContext, useMemo, forwardRef } from "react";
3
3
  import { c as useGrid, G as GridProvider } from "./useScrollLock-D4UY33Sb.js";
4
- import { S as Select } from "./select-CXCphiS3.js";
5
- import { I as Input, C as Checkbox } from "./drag-store-C056Fm0B.js";
4
+ import { S as Select } from "./select-005D5mHt.js";
5
+ import { I as Input, C as Checkbox } from "./drag-store-jYWgvRwR.js";
6
6
  import "@1771technologies/react-sizer";
7
7
  import "@1771technologies/react-utils";
8
8
  import "@1771technologies/grid-provider";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { C as Checkbox, d as COLUMN_MARKER_ID, H as HEADER_CELL_POSITION, g as getTransform, e as COLUMN_EMPTY_PREFIX, f as HEADER_GROUP_CELL_POSITION, h as CollapseButton, F as FLOATING_CELL_POSITION, i as FULL_ENCODING, j as CellFullWidth, E as END_ENCODING, k as Cell, I as Input, G as GRID_CELL_POSITION, l as GridButton } from "./drag-store-C056Fm0B.js";
2
- import { t, n, v, w, B, J, L, K, M, q, p, r, s, P, x, o, z, m, y, R, A } from "./drag-store-C056Fm0B.js";
1
+ import { C as Checkbox, d as COLUMN_MARKER_ID, H as HEADER_CELL_POSITION, g as getTransform, e as COLUMN_EMPTY_PREFIX, f as HEADER_GROUP_CELL_POSITION, h as CollapseButton, F as FLOATING_CELL_POSITION, i as FULL_ENCODING, j as CellFullWidth, E as END_ENCODING, k as Cell, I as Input, G as GRID_CELL_POSITION, l as GridButton } from "./drag-store-jYWgvRwR.js";
2
+ import { t, n, v, w, B, J, L, K, M, q, p, r, s, P, x, o, z, m, y, R, A } from "./drag-store-jYWgvRwR.js";
3
3
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
4
4
  import { Sizer } from "@1771technologies/react-sizer";
5
5
  import { useEvent, useIsoEffect } from "@1771technologies/react-utils";
@@ -811,6 +811,8 @@ body.lng1771-drag-on .lng1771-pill-manager__pill-outer[data-pill-active="false"]
811
811
  }
812
812
 
813
813
  .lng1771-pill-manager__row-label {
814
+ color: var(--lng1771-gray-80);
815
+ font-family: var(--lng1771-typeface);
814
816
  padding-inline-start: 16px;
815
817
  }
816
818
 
@@ -834,6 +836,7 @@ body.lng1771-drag-on .lng1771-pill-manager__pill-outer[data-pill-active="false"]
834
836
  border-inline-start: 1px solid var(--lng1771-gray-40);
835
837
  cursor: pointer;
836
838
  transition: background-color 100ms ease-in;
839
+ color: var(--lng1771-gray-70);
837
840
 
838
841
  &:hover {
839
842
  background-color: var(--lng1771-gray-20);
@@ -3,8 +3,8 @@ 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-0vXb9g1m.js";
7
- import { u as useDragStore, a as useDrag, D as DragProvider } from "./drag-store-C056Fm0B.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-nHUKSUVd.js";
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";
10
10
  import "@1771technologies/grid-provider";
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { useRef, useState, useEffect, useCallback, useMemo, forwardRef } from "react";
3
- import { u as useDragStore, b as useStore } from "./drag-store-C056Fm0B.js";
3
+ import { u as useDragStore, b as useStore } from "./drag-store-jYWgvRwR.js";
4
4
  import { arrayOverlap, clsx } from "@1771technologies/js-utils";
5
5
  import { m as mergeProps, E as contains, P as PropTypes } from "./proptypes-BjYr2nFr.js";
6
6
  import { u as useButton } from "./useButton-DWXzFgcr.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { clsx } from "@1771technologies/js-utils";
3
3
  import { A as ArrowDownIcon } from "./arrow-down-icon-B-3ldODD.js";
4
- import { c as CheckMark } from "./drag-store-C056Fm0B.js";
4
+ import { c as CheckMark } from "./drag-store-jYWgvRwR.js";
5
5
  import "@1771technologies/react-sizer";
6
6
  import "@1771technologies/react-utils";
7
7
  import "@1771technologies/grid-provider";
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { useMemo, useState, useEffect, createContext, useContext, forwardRef } from "react";
3
3
  import { c as useGrid, G as GridProvider } from "./useScrollLock-D4UY33Sb.js";
4
4
  import { clsx } from "@1771technologies/js-utils";
5
- import { S as Select } from "./select-CXCphiS3.js";
5
+ import { S as Select } from "./select-005D5mHt.js";
6
6
  import { P as PlusIcon } from "./plus-icon-ToqW5CC-.js";
7
7
  import { C as CrossIcon } from "./cross-icon-CEMLAlFX.js";
8
8
  import { S as Separator } from "./separator-BnPPeAk8.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1771technologies/lytenyte-pro",
3
- "version": "0.0.50",
3
+ "version": "0.0.52",
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.50",
74
- "@1771technologies/grid-core": "0.0.50",
75
- "@1771technologies/grid-design": "0.0.50",
76
- "@1771technologies/grid-provider": "0.0.50",
77
- "@1771technologies/grid-store-pro": "0.0.50",
78
- "@1771technologies/grid-tree-data-source": "0.0.50",
79
- "@1771technologies/grid-types": "0.0.50",
80
- "@1771technologies/js-utils": "0.0.50",
81
- "@1771technologies/lytenyte-core": "0.0.50",
82
- "@1771technologies/react-cascada": "0.0.50",
83
- "@1771technologies/react-dragon": "0.0.50",
84
- "@1771technologies/react-sizer": "0.0.50",
85
- "@1771technologies/react-split-pane": "0.0.50",
86
- "@1771technologies/react-utils": "0.0.50",
73
+ "@1771technologies/grid-client-data-source-pro": "0.0.52",
74
+ "@1771technologies/grid-core": "0.0.52",
75
+ "@1771technologies/grid-design": "0.0.52",
76
+ "@1771technologies/grid-provider": "0.0.52",
77
+ "@1771technologies/grid-store-pro": "0.0.52",
78
+ "@1771technologies/grid-tree-data-source": "0.0.52",
79
+ "@1771technologies/grid-types": "0.0.52",
80
+ "@1771technologies/js-utils": "0.0.52",
81
+ "@1771technologies/lytenyte-core": "0.0.52",
82
+ "@1771technologies/react-cascada": "0.0.52",
83
+ "@1771technologies/react-dragon": "0.0.52",
84
+ "@1771technologies/react-sizer": "0.0.52",
85
+ "@1771technologies/react-split-pane": "0.0.52",
86
+ "@1771technologies/react-utils": "0.0.52",
87
87
  "@base-ui-components/react": "1.0.0-alpha.7"
88
88
  },
89
89
  "devDependencies": {