@grasp-labs/ds-react-components 0.18.0 → 0.20.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/passwordTextBox/PasswordTextBox.d.ts +15 -0
- package/dist/components/passwordTextBox/index.d.ts +2 -0
- package/dist/components/tooltip/Tooltip.d.ts +20 -0
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/icons/icons.d.ts +14 -0
- package/dist/index-CnFQnrvD.js +13695 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/{index.esm-Dvqs323u.js → index.esm-BTIq6l_S.js} +1 -1
- package/dist/index.js +88 -81
- package/package.json +6 -4
- package/dist/index-B-Odpfhq.js +0 -11518
package/dist/index.d.ts
CHANGED
|
@@ -15,12 +15,15 @@ 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
21
|
export * from './components/sidebar';
|
|
21
22
|
export * from './components/multiSelect';
|
|
23
|
+
export * from './components/passwordTextBox';
|
|
22
24
|
export * from './components/popover';
|
|
23
25
|
export * from './components/portal';
|
|
26
|
+
export * from './components/tooltip';
|
|
24
27
|
export * from './components/radioButton';
|
|
25
28
|
export * from './components/select';
|
|
26
29
|
export * from './components/spinner';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as o } from "./index-
|
|
1
|
+
import { j as o } from "./index-CnFQnrvD.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,100 +1,107 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as o, b as e, B as n, a as l, d as c, e as t, ab as r, C as i, K as I, ac as d, f as u, h as C, ad as g, ae as T, af as b, ag as h, ah as B, ai as D, aj as F, i as p, ak as x, al as E, a9 as L, am as P, an as S, D as H, k as f, l as m, w, ao as y, E as O, ap as v, aq as k, m as R, at as A, av as M, au as N, ar as W, as as G, F as J, o as V, s as _, n as q, r as z, p as K, t as U, q as Y, aw as j, u as Q, a1 as X, a2 as Z, a3 as $, a4 as aa, a5 as sa, a6 as oa, ax as ea, ay as na, I as la, az as ca, aA as ta, J as ra, a7 as ia, L as Ia, v as da, x as ua, y as Ca, M as ga, O as Ta, P as ba, aB as ha, aC as Ba, z as Da, G as Fa, R as pa, aD as xa, aE as Ea, aF as La, aG as Pa, H as Sa, S as Ha, N as fa, aH as ma, aI as wa, W as ya, X as Oa, Q as va, aJ as ka, U as Ra, V as Aa, aK as Ma, Y as Na, Z as Wa, _ as Ga, $ as Ja, a0 as Va, T as _a, a8 as qa, aL as za, aM as Ka, c as Ua, g as Ya, aa as ja, aN as Qa, aO as Xa } from "./index-CnFQnrvD.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
o as Alert,
|
|
4
|
+
e 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,
|
|
13
13
|
u as Checkbox,
|
|
14
14
|
C as CheckboxIcon,
|
|
15
15
|
g as ChevronDoubleLeftIcon,
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
T as ChevronDoubleRightIcon,
|
|
17
|
+
b as ChevronLeftIcon,
|
|
18
18
|
h as ChevronRightIcon,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
B as CircleIcon,
|
|
20
|
+
D as CloseIcon,
|
|
21
|
+
F as CogWheelIcon,
|
|
22
|
+
p as ConfirmationDialog,
|
|
23
23
|
x as DashIcon,
|
|
24
24
|
E as DatabaseIcon,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
L as DatePicker,
|
|
26
|
+
P as DeleteIcon,
|
|
27
|
+
S as DetailsIcon,
|
|
28
|
+
H as Dialog,
|
|
29
|
+
f as Drawer,
|
|
30
|
+
m as DynamicIcon,
|
|
31
31
|
w as EMPTY_OPTION_ID,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
y as EarthIcon,
|
|
33
|
+
O as ErrorBoundary,
|
|
34
|
+
v as ErrorFilledIcon,
|
|
35
|
+
k as ErrorOutlinedIcon,
|
|
36
|
+
R as ErrorPage,
|
|
37
37
|
A as ExpandDownIcon,
|
|
38
38
|
M as ExpandIcon,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
N as ExpandRightIcon,
|
|
40
|
+
W as EyeIcon,
|
|
41
|
+
G as EyeOffIcon,
|
|
42
|
+
J as Field,
|
|
43
|
+
V as FieldContent,
|
|
44
|
+
_ as FieldGroup,
|
|
45
|
+
q as FieldLabel,
|
|
46
|
+
z as FieldLegend,
|
|
47
|
+
K as FieldMessage,
|
|
46
48
|
U as FieldSeparator,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
49
|
+
Y as FieldSet,
|
|
50
|
+
j as FilterIcon,
|
|
51
|
+
Q as FlowTile,
|
|
52
|
+
X as H1,
|
|
53
|
+
Z as H2,
|
|
54
|
+
$ as H3,
|
|
55
|
+
aa as H4,
|
|
56
|
+
sa as H5,
|
|
57
|
+
oa as H6,
|
|
58
|
+
ea as HourglassCircleIcon,
|
|
59
|
+
na as HourglassFilledIcon,
|
|
60
|
+
la as IconButton,
|
|
61
|
+
ca as IdeaIcon,
|
|
62
|
+
ta as InfoOutlinedIcon,
|
|
63
|
+
ra as JsonEditor,
|
|
64
|
+
ia as Label,
|
|
65
|
+
Ia as Link,
|
|
66
|
+
da as List,
|
|
67
|
+
ua as ListItem,
|
|
68
|
+
Ca as Logo,
|
|
69
|
+
ga as MultiSelect,
|
|
70
|
+
Ta as Pagination,
|
|
71
|
+
ba as PasswordTextBox,
|
|
72
|
+
ha as PlayIcon,
|
|
73
|
+
Ba as PlusIcon,
|
|
74
|
+
Da as Popover,
|
|
75
|
+
Fa as Portal,
|
|
76
|
+
pa as RadioButton,
|
|
77
|
+
xa as RecycleIcon,
|
|
78
|
+
Ea as ReloadIcon,
|
|
79
|
+
La as SaveIcon,
|
|
80
|
+
Pa as SearchIcon,
|
|
81
|
+
Sa as Select,
|
|
82
|
+
Ha as Sidebar,
|
|
83
|
+
fa as Spinner,
|
|
84
|
+
ma as SuccessFilledIcon,
|
|
85
|
+
wa as SuccessOutlinedIcon,
|
|
86
|
+
ya as Tab,
|
|
87
|
+
Oa as TabPanel,
|
|
84
88
|
va as Table,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
89
|
+
ka as TableArrowIcon,
|
|
90
|
+
Ra as TableCell,
|
|
91
|
+
Aa as TableHeaderCell,
|
|
92
|
+
Ma as TableIcon,
|
|
93
|
+
Na as Tag,
|
|
94
|
+
Wa as TagList,
|
|
95
|
+
Ga as TextBox,
|
|
96
|
+
Ja as Toast,
|
|
97
|
+
Va as Toaster,
|
|
98
|
+
_a as Tooltip,
|
|
99
|
+
qa as UnstyledButton,
|
|
100
|
+
za as WarningFilledIcon,
|
|
101
|
+
Ka as WarningOutlinedIcon,
|
|
102
|
+
Ua as colorVariantClasses,
|
|
103
|
+
Ya as getBaseButtonClassName,
|
|
104
|
+
ja as icons,
|
|
105
|
+
Qa as useDropdownPosition,
|
|
106
|
+
Xa as useViewportCollision
|
|
100
107
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grasp-labs/ds-react-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.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
|
}
|