@grasp-labs/ds-react-components 0.17.0 → 0.19.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/dist/components/baseButton/BaseButton.styles.d.ts +20 -0
- package/dist/components/baseButton/index.d.ts +1 -0
- package/dist/components/button/Button.styles.d.ts +10 -0
- package/dist/components/datePicker/datePicker.const.d.ts +1 -0
- package/dist/components/datePicker/datePicker.d.ts +1 -5
- package/dist/components/datePicker/datePicker.util.d.ts +3 -0
- package/dist/components/datePicker/datePickerTextBox.d.ts +15 -0
- package/dist/components/dropdown/Dropdown.d.ts +18 -0
- package/dist/components/dropdown/DropdownItem.d.ts +7 -0
- package/dist/components/dropdown/index.d.ts +3 -0
- package/dist/components/link/Link.d.ts +21 -0
- package/dist/components/link/index.d.ts +1 -0
- package/dist/components/{menu/Menu.d.ts → sidebar/Sidebar.d.ts} +14 -14
- package/dist/components/{menu/MenuEntry.d.ts → sidebar/SidebarEntry.d.ts} +18 -18
- package/dist/components/sidebar/index.d.ts +11 -0
- package/dist/index-wJPxf68W.js +13626 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/{index.esm-B4HiWhze.js → index.esm-hxxEbnri.js} +1 -1
- package/dist/index.js +49 -46
- package/package.json +6 -4
- package/dist/components/menu/index.d.ts +0 -11
- package/dist/index-CTQbH0dg.js +0 -11518
package/dist/index.d.ts
CHANGED
|
@@ -15,9 +15,10 @@ export * from './components/field';
|
|
|
15
15
|
export * from './components/flow';
|
|
16
16
|
export * from './components/iconButton';
|
|
17
17
|
export * from './components/jsonEditor';
|
|
18
|
+
export * from './components/link';
|
|
18
19
|
export * from './components/list';
|
|
19
20
|
export * from './components/logo';
|
|
20
|
-
export * from './components/
|
|
21
|
+
export * from './components/sidebar';
|
|
21
22
|
export * from './components/multiSelect';
|
|
22
23
|
export * from './components/popover';
|
|
23
24
|
export * from './components/portal';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as o } from "./index-
|
|
1
|
+
import { j as o } from "./index-wJPxf68W.js";
|
|
2
2
|
import { useState as G, useEffect as Oe, createContext as Xt, useRef as ce, useContext as Zt, useMemo as le, useCallback as Ie } from "react";
|
|
3
3
|
const Be = (e, t, n, r, a) => {
|
|
4
4
|
if (!r) throw new Error(a ?? `Invalid property path: ${t}
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as e, b as o, B as n, a as l, c,
|
|
1
|
+
import { A as e, b as o, B as n, a as l, d as c, e as t, a9 as r, C as i, H as I, aa as d, f as u, h as C, ab as g, ac as b, ad as T, ae as h, af as D, ag as F, ah as B, i as p, ai as x, aj as E, a7 as L, ak as P, al as S, D as H, k as m, l as v, w, am as f, E as k, an as y, ao as O, m as R, ap as A, ar as M, aq as W, F as G, o as J, s as N, n as V, r as _, p as q, t as z, q as K, as as U, u as Y, $ as j, a0 as Q, a1 as X, a2 as Z, a3 as $, a4 as aa, at as sa, au as ea, I as oa, av as na, aw as la, J as ca, a5 as ta, L as ra, v as ia, x as Ia, y as da, M as ua, N as Ca, ax as ga, ay as ba, P as Ta, z as ha, R as Da, az as Fa, aA as Ba, aB as pa, aC as xa, G as Ea, S as La, K as Pa, aD as Sa, aE as Ha, U as ma, V as va, T as wa, aF as fa, O as ka, Q as ya, aG as Oa, W as Ra, X as Aa, Y as Ma, Z as Wa, _ as Ga, a6 as Ja, aH as Na, aI as Va, c as _a, g as qa, a8 as za, aJ as Ka, aK as Ua } from "./index-wJPxf68W.js";
|
|
2
2
|
export {
|
|
3
3
|
e as Alert,
|
|
4
4
|
o as AnimatedList,
|
|
5
5
|
n as BaseButton,
|
|
6
6
|
l as BaseTextBox,
|
|
7
7
|
c as Breadcrumb,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
t as Button,
|
|
9
|
+
r as CalendarIcon,
|
|
10
10
|
i as Card,
|
|
11
11
|
I as CenteredSpinner,
|
|
12
12
|
d as CheckIcon,
|
|
@@ -18,36 +18,36 @@ export {
|
|
|
18
18
|
h as ChevronRightIcon,
|
|
19
19
|
D as CircleIcon,
|
|
20
20
|
F as CloseIcon,
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
B as CogWheelIcon,
|
|
22
|
+
p as ConfirmationDialog,
|
|
23
23
|
x as DashIcon,
|
|
24
24
|
E as DatabaseIcon,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
L as DatePicker,
|
|
26
|
+
P as DeleteIcon,
|
|
27
|
+
S as DetailsIcon,
|
|
28
|
+
H as Dialog,
|
|
29
29
|
m as Drawer,
|
|
30
30
|
v as DynamicIcon,
|
|
31
31
|
w as EMPTY_OPTION_ID,
|
|
32
32
|
f as EarthIcon,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
k as ErrorBoundary,
|
|
34
|
+
y as ErrorFilledIcon,
|
|
35
|
+
O as ErrorOutlinedIcon,
|
|
36
|
+
R as ErrorPage,
|
|
37
37
|
A as ExpandDownIcon,
|
|
38
38
|
M as ExpandIcon,
|
|
39
39
|
W as ExpandRightIcon,
|
|
40
40
|
G as Field,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
41
|
+
J as FieldContent,
|
|
42
|
+
N as FieldGroup,
|
|
43
|
+
V as FieldLabel,
|
|
44
|
+
_ as FieldLegend,
|
|
45
|
+
q as FieldMessage,
|
|
46
|
+
z as FieldSeparator,
|
|
47
|
+
K as FieldSet,
|
|
48
|
+
U as FilterIcon,
|
|
49
|
+
Y as FlowTile,
|
|
50
|
+
j as H1,
|
|
51
51
|
Q as H2,
|
|
52
52
|
X as H3,
|
|
53
53
|
Z as H4,
|
|
@@ -59,11 +59,11 @@ export {
|
|
|
59
59
|
na as IdeaIcon,
|
|
60
60
|
la as InfoOutlinedIcon,
|
|
61
61
|
ca as JsonEditor,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
ia as
|
|
65
|
-
Ia as
|
|
66
|
-
da as
|
|
62
|
+
ta as Label,
|
|
63
|
+
ra as Link,
|
|
64
|
+
ia as List,
|
|
65
|
+
Ia as ListItem,
|
|
66
|
+
da as Logo,
|
|
67
67
|
ua as MultiSelect,
|
|
68
68
|
Ca as Pagination,
|
|
69
69
|
ga as PlayIcon,
|
|
@@ -72,29 +72,32 @@ export {
|
|
|
72
72
|
ha as Portal,
|
|
73
73
|
Da as RadioButton,
|
|
74
74
|
Fa as RecycleIcon,
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
Ba as ReloadIcon,
|
|
76
|
+
pa as SaveIcon,
|
|
77
77
|
xa as SearchIcon,
|
|
78
78
|
Ea as Select,
|
|
79
|
+
La as Sidebar,
|
|
79
80
|
Pa as Spinner,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
Sa as SuccessFilledIcon,
|
|
82
|
+
Ha as SuccessOutlinedIcon,
|
|
83
|
+
ma as Tab,
|
|
84
|
+
va as TabPanel,
|
|
85
|
+
wa as Table,
|
|
86
|
+
fa as TableArrowIcon,
|
|
87
|
+
ka as TableCell,
|
|
87
88
|
ya as TableHeaderCell,
|
|
88
89
|
Oa as TableIcon,
|
|
89
90
|
Ra as Tag,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
91
|
+
Aa as TagList,
|
|
92
|
+
Ma as TextBox,
|
|
93
|
+
Wa as Toast,
|
|
94
|
+
Ga as Toaster,
|
|
95
|
+
Ja as UnstyledButton,
|
|
96
|
+
Na as WarningFilledIcon,
|
|
97
|
+
Va as WarningOutlinedIcon,
|
|
98
|
+
_a as colorVariantClasses,
|
|
99
|
+
qa as getBaseButtonClassName,
|
|
97
100
|
za as icons,
|
|
98
|
-
|
|
99
|
-
|
|
101
|
+
Ka as useDropdownPosition,
|
|
102
|
+
Ua as useViewportCollision
|
|
100
103
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grasp-labs/ds-react-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"react-router": "^7.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
+
"@base-ui/react": "^1.0.0",
|
|
48
49
|
"@eslint/js": "^9.32.0",
|
|
49
50
|
"@storybook/addon-a11y": "^10.0.1",
|
|
50
51
|
"@storybook/addon-themes": "^10.0.1",
|
|
@@ -63,6 +64,7 @@
|
|
|
63
64
|
"@vitest/browser-playwright": "^4.0.5",
|
|
64
65
|
"@vitest/coverage-v8": "^4.0.5",
|
|
65
66
|
"@xyflow/react": "^12.8.6",
|
|
67
|
+
"date-fns": "^4.1.0",
|
|
66
68
|
"downshift": "^9.0.10",
|
|
67
69
|
"eslint": "^9.32.0",
|
|
68
70
|
"eslint-config-prettier": "^10.1.8",
|
|
@@ -78,6 +80,8 @@
|
|
|
78
80
|
"prettier": "^3.6.2",
|
|
79
81
|
"prettier-plugin-tailwindcss": "^0.7.1",
|
|
80
82
|
"react": "^19.1.1",
|
|
83
|
+
"react-day-picker": "^9.13.0",
|
|
84
|
+
"@react-input/mask": "^2.0.4",
|
|
81
85
|
"react-dom": "^19.1.1",
|
|
82
86
|
"react-router": "^7.8.2",
|
|
83
87
|
"storybook": "^10.0.1",
|
|
@@ -89,8 +93,6 @@
|
|
|
89
93
|
"vite-plugin-dts": "^4.5.4",
|
|
90
94
|
"vite-plugin-static-copy": "^3.1.1",
|
|
91
95
|
"vite-plugin-svgr": "^4.5.0",
|
|
92
|
-
"vitest": "^4.0.5"
|
|
93
|
-
"date-fns": "^4.1.0",
|
|
94
|
-
"react-day-picker": "^9.13.0"
|
|
96
|
+
"vitest": "^4.0.5"
|
|
95
97
|
}
|
|
96
98
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Barrel exports for the Menu system.
|
|
3
|
-
* Allows importing the main menu component.
|
|
4
|
-
*
|
|
5
|
-
* @example
|
|
6
|
-
* ```tsx
|
|
7
|
-
* import { Menu } from "@/components/Menu";
|
|
8
|
-
* ```
|
|
9
|
-
*/
|
|
10
|
-
export { Menu } from './Menu';
|
|
11
|
-
export type { MenuProps, MenuRoute } from './Menu';
|