@grasp-labs/ds-react-components 1.5.0 → 1.6.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as o } from "./index
|
|
2
|
-
import { useState as G, useEffect as Oe,
|
|
1
|
+
import { j as o } from "./index--vpOybS-.js";
|
|
2
|
+
import { useState as G, useEffect as Oe, useRef as ce, useMemo as le, useCallback as Ie, createContext as Xt, useContext as Zt } from "react";
|
|
3
3
|
const Be = (e, t, n, r, a) => {
|
|
4
4
|
if (!r) throw new Error(a ?? `Invalid property path: ${t}
|
|
5
5
|
Couldn't access "${n}" in ${JSON.stringify(e)}`);
|
|
@@ -64,7 +64,7 @@ Couldn't access "${n}" in ${JSON.stringify(e)}`);
|
|
|
64
64
|
const r = Array.isArray(t) ? t : Cn(t);
|
|
65
65
|
if (r.length === 0) return e;
|
|
66
66
|
const a = r[0];
|
|
67
|
-
if (Array.isArray(e) && typeof a != "number") return e.map(((s) => qe(s, r)));
|
|
67
|
+
if (Array.isArray(e) && typeof a != "number" && e.length > 0) return e.map(((s) => qe(s, r)));
|
|
68
68
|
if (typeof e != "object" || e === null || !(a in e)) return kn(e, a);
|
|
69
69
|
const i = e[a];
|
|
70
70
|
return r.length === 1 ? i : qe(i, r.slice(1));
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as o, a as e, b as n, c, d as t, e as r, f as I, B as l, g as i, h as b, i as d, k as C, l as u, m as g, C as B, n as T, o as p, p as D, q as L, r as h, s as S, t as w, u as P, v as f, w as F, x as y, y as x, z as E, D as m, E as H, F as k, G as A, H as v, I as R, J as M, K as N, L as O, M as U, N as G, O as W, P as _, Q as J, R as K, S as V, T as Y, U as j, V as q, W as z, X as Q, Y as X, Z, _ as $, $ as aa, a0 as sa, a1 as oa, a2 as ea, a3 as na, a4 as ca, a5 as ta, a6 as ra, a7 as Ia, a8 as la, a9 as ia, aa as ba, ab as da, ac as Ca, ad as ua, ae as ga, af as Ba, ag as Ta, ah as pa, ai as Da, aj as La, ak as ha, al as Sa, am as wa, an as Pa, ao as fa, ap as Fa, aq as ya, ar as xa, as as Ea, at as ma, au as Ha, av as ka, aw as Aa, ax as va, ay as Ra, az as Ma, aA as Na, aB as Oa, aC as Ua, aD as Ga, aE as Wa, aF as _a, aG as Ja, aH as Ka, aI as Va, aJ as Ya, aK as ja, aL as qa, aM as za, aN as Qa, aO as Xa, aP as Za, aQ as $a, aR as as, aS as ss, aT as os, aU as es, aV as ns, aW as cs, aX as ts, aY as rs, aZ as Is, a_ as ls, a$ as is, b0 as bs, b1 as ds, b2 as Cs, b3 as us, b4 as gs, b5 as Bs, b6 as Ts, b7 as ps, b8 as Ds, b9 as Ls, ba as hs, bb as Ss, bc as ws, bd as Ps, be as fs, bf as Fs, bg as ys, bh as xs } from "./index--vpOybS-.js";
|
|
2
2
|
export {
|
|
3
3
|
o as AddressIcon,
|
|
4
4
|
e as Alert,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grasp-labs/ds-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -48,54 +48,54 @@
|
|
|
48
48
|
"react-router": "^7.0.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@base-ui/react": "^1.
|
|
51
|
+
"@base-ui/react": "^1.3.0",
|
|
52
52
|
"@eslint/js": "^9.32.0",
|
|
53
|
-
"@storybook/addon-a11y": "^10.
|
|
54
|
-
"@storybook/addon-themes": "^10.
|
|
55
|
-
"@storybook/addon-vitest": "^10.
|
|
56
|
-
"@storybook/react-vite": "^10.
|
|
57
|
-
"@tailwindcss/vite": "^4.1
|
|
53
|
+
"@storybook/addon-a11y": "^10.2.19",
|
|
54
|
+
"@storybook/addon-themes": "^10.2.19",
|
|
55
|
+
"@storybook/addon-vitest": "^10.2.19",
|
|
56
|
+
"@storybook/react-vite": "^10.2.19",
|
|
57
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
58
58
|
"@tanstack/react-table": "^8.21.3",
|
|
59
|
-
"@testing-library/jest-dom": "^6.
|
|
60
|
-
"@testing-library/react": "^16.3.
|
|
59
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
60
|
+
"@testing-library/react": "^16.3.2",
|
|
61
61
|
"@testing-library/user-event": "^14.6.1",
|
|
62
62
|
"@types/node": "^22.16.5",
|
|
63
|
-
"@types/react": "^19.
|
|
64
|
-
"@types/react-dom": "^19.
|
|
63
|
+
"@types/react": "^19.2.14",
|
|
64
|
+
"@types/react-dom": "^19.2.3",
|
|
65
65
|
"@vitejs/plugin-react": "^5.1.0",
|
|
66
|
-
"@vitest/browser": "^4.0
|
|
67
|
-
"@vitest/browser-playwright": "^4.0
|
|
68
|
-
"@vitest/coverage-v8": "^4.0
|
|
69
|
-
"@xyflow/react": "^12.
|
|
66
|
+
"@vitest/browser": "^4.1.0",
|
|
67
|
+
"@vitest/browser-playwright": "^4.1.0",
|
|
68
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
69
|
+
"@xyflow/react": "^12.10.1",
|
|
70
70
|
"date-fns": "^4.1.0",
|
|
71
|
-
"downshift": "^9.
|
|
71
|
+
"downshift": "^9.3.2",
|
|
72
72
|
"eslint": "^9.32.0",
|
|
73
73
|
"eslint-config-prettier": "^10.1.8",
|
|
74
|
-
"eslint-plugin-prettier": "^5.5.
|
|
74
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
75
75
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
76
|
-
"eslint-plugin-react-refresh": "^0.
|
|
77
|
-
"eslint-plugin-storybook": "^10.
|
|
78
|
-
"globals": "^
|
|
79
|
-
"jsdom": "^
|
|
76
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
77
|
+
"eslint-plugin-storybook": "^10.2.19",
|
|
78
|
+
"globals": "^17.4.0",
|
|
79
|
+
"jsdom": "^29.0.0",
|
|
80
80
|
"json-edit-react": "^1.29.0",
|
|
81
|
-
"nanoid": "^5.1.
|
|
82
|
-
"playwright": "^1.
|
|
83
|
-
"prettier": "^3.
|
|
84
|
-
"prettier-plugin-tailwindcss": "^0.7.
|
|
81
|
+
"nanoid": "^5.1.7",
|
|
82
|
+
"playwright": "^1.58.2",
|
|
83
|
+
"prettier": "^3.8.1",
|
|
84
|
+
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
85
85
|
"react": "^19.1.1",
|
|
86
|
-
"react-day-picker": "^9.
|
|
86
|
+
"react-day-picker": "^9.14.0",
|
|
87
87
|
"@react-input/mask": "^2.0.4",
|
|
88
88
|
"react-dom": "^19.1.1",
|
|
89
89
|
"react-router": "^7.8.2",
|
|
90
|
-
"storybook": "^10.
|
|
91
|
-
"tailwind-merge": "^3.
|
|
92
|
-
"tailwindcss": "^4.1
|
|
90
|
+
"storybook": "^10.2.19",
|
|
91
|
+
"tailwind-merge": "^3.5.0",
|
|
92
|
+
"tailwindcss": "^4.2.1",
|
|
93
93
|
"typescript": "^5.9.3",
|
|
94
|
-
"typescript-eslint": "^8.
|
|
94
|
+
"typescript-eslint": "^8.57.1",
|
|
95
95
|
"vite": "^7.0.6",
|
|
96
96
|
"vite-plugin-dts": "^4.5.4",
|
|
97
|
-
"vite-plugin-static-copy": "^3.
|
|
97
|
+
"vite-plugin-static-copy": "^3.3.0",
|
|
98
98
|
"vite-plugin-svgr": "^4.5.0",
|
|
99
|
-
"vitest": "^4.0
|
|
99
|
+
"vitest": "^4.1.0"
|
|
100
100
|
}
|
|
101
101
|
}
|