@grasp-labs/ds-react-components 1.0.0 → 1.1.1
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 +1 -1
- package/dist/components/iconButton/IconButton.d.ts +4 -3
- package/dist/components/sidebar/Sidebar.d.ts +1 -1
- package/dist/components/table/components/Pagination.d.ts +3 -3
- package/dist/components/table/types.d.ts +0 -2
- package/dist/icons/iconsComponents.d.ts +3 -0
- package/dist/icons/iconsLazy.d.ts +18 -0
- package/dist/{index-DbrsXeBO.js → index-DoGqwfY0.js} +5481 -5456
- package/dist/index.css +1 -1
- package/dist/{index.esm-C32CGj2t.js → index.esm-DOdrC2fW.js} +1 -1
- package/dist/index.js +115 -112
- package/dist/tailwind-styles.css +112 -49
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as o } from "./index-
|
|
1
|
+
import { j as o } from "./index-DoGqwfY0.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,4 +1,4 @@
|
|
|
1
|
-
import { aj as o, A as e, c as n, ak as c, al as t, am as r, an as I, B as l, a as i, ao as d, af as b, e as C,
|
|
1
|
+
import { aj as o, A as e, c as n, ak as c, al as t, am as r, an as I, B as l, a as i, ao as d, af as b, e as C, ap as g, f as u, aq as B, C as T, ar as D, V as p, as as L, h, i as w, at as P, au as S, av as f, aw as F, ax as y, ay as x, k as E, az as m, aA as k, aB as A, aC as H, aD as v, aE as R, ai as M, aF as N, aG as U, D as O, aH as G, aI as W, l as _, m as J, n as K, o as V, G as Y, aJ as q, aK as z, E as Q, aL as X, p as Z, aM as $, aO as j, F as aa, r as sa, w as oa, q as ea, u as na, s as ca, x as ta, t as ra, aN as Ia, aP as la, y as ia, aQ as da, aa as ba, ab as Ca, ac as ga, ad as ua, ae as Ba, aR as Ta, I as Da, aS as pa, aT as La, J as ha, K as wa, ag as Pa, aU as Sa, aV as fa, L as Fa, z as ya, aW as xa, H as Ea, M as ma, aX as ka, N as Aa, aY as Ha, aZ as va, Z as Ra, P as Ma, a_ as Na, a$ as Ua, O as Oa, Q as Ga, b0 as Wa, R as _a, b1 as Ja, b2 as Ka, b3 as Va, b4 as Ya, b5 as qa, U as za, b6 as Qa, S as Xa, W as Za, X as $a, Y as ja, b7 as as, a1 as ss, a2 as os, _ as es, $ as ns, a0 as cs, b8 as ts, a3 as rs, a4 as Is, a5 as ls, a6 as is, a7 as ds, a8 as bs, a9 as Cs, T as gs, ah as us, b9 as Bs, ba as Ts, bb as Ds, b as ps, d as Ls, g as hs, bc as ws, bd as Ps, v as Ss } from "./index-DoGqwfY0.js";
|
|
2
2
|
export {
|
|
3
3
|
o as AddressIcon,
|
|
4
4
|
e as Alert,
|
|
@@ -12,120 +12,123 @@ export {
|
|
|
12
12
|
d as BellIcon,
|
|
13
13
|
b as Body,
|
|
14
14
|
C as Breadcrumb,
|
|
15
|
-
g as
|
|
16
|
-
u as
|
|
15
|
+
g as BriefcaseIcon,
|
|
16
|
+
u as Button,
|
|
17
|
+
B as CalendarIcon,
|
|
17
18
|
T as Card,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
D as CautionIcon,
|
|
20
|
+
p as CenteredSpinner,
|
|
21
|
+
L as CheckIcon,
|
|
22
|
+
h as Checkbox,
|
|
23
|
+
w as CheckboxIcon,
|
|
24
|
+
P as ChevronDoubleLeftIcon,
|
|
25
|
+
S as ChevronDoubleRightIcon,
|
|
26
|
+
f as CircleIcon,
|
|
26
27
|
F as ClockIcon,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
28
|
+
y as CloseIcon,
|
|
29
|
+
x as CogWheelIcon,
|
|
30
|
+
E as ConfirmationDialog,
|
|
31
|
+
m as ConnectionIcon,
|
|
32
|
+
k as CopyIcon,
|
|
33
|
+
A as CorrectIcon,
|
|
34
|
+
H as DashIcon,
|
|
35
|
+
v as DashboardIcon,
|
|
36
|
+
R as DatabaseIcon,
|
|
37
|
+
M as DatePicker,
|
|
38
|
+
N as DeleteIcon,
|
|
39
|
+
U as DetailsIcon,
|
|
39
40
|
O as Dialog,
|
|
40
|
-
|
|
41
|
+
G as DownIcon,
|
|
41
42
|
W as DownloadIcon,
|
|
42
43
|
_ as Drawer,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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
|
-
Ta as
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
Fa as
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
Oa as
|
|
94
|
-
|
|
95
|
-
Wa as
|
|
96
|
-
_a as
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
Ts as
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
44
|
+
J as Dropdown,
|
|
45
|
+
K as DropdownItem,
|
|
46
|
+
V as DynamicIcon,
|
|
47
|
+
Y as EMPTY_OPTION_ID,
|
|
48
|
+
q as EarthIcon,
|
|
49
|
+
z as EditIcon,
|
|
50
|
+
Q as ErrorBoundary,
|
|
51
|
+
X as ErrorIcon,
|
|
52
|
+
Z as ErrorPage,
|
|
53
|
+
$ as EyeIcon,
|
|
54
|
+
j as EyeOffIcon,
|
|
55
|
+
aa as Field,
|
|
56
|
+
sa as FieldContent,
|
|
57
|
+
oa as FieldGroup,
|
|
58
|
+
ea as FieldLabel,
|
|
59
|
+
na as FieldLegend,
|
|
60
|
+
ca as FieldMessage,
|
|
61
|
+
ta as FieldSeparator,
|
|
62
|
+
ra as FieldSet,
|
|
63
|
+
Ia as FileIcon,
|
|
64
|
+
la as FilterIcon,
|
|
65
|
+
ia as FlowTile,
|
|
66
|
+
da as GlobeIcon,
|
|
67
|
+
ba as H1,
|
|
68
|
+
Ca as H2,
|
|
69
|
+
ga as H3,
|
|
70
|
+
ua as H4,
|
|
71
|
+
Ba as H5,
|
|
72
|
+
Ta as HourglassIcon,
|
|
73
|
+
Da as IconButton,
|
|
74
|
+
pa as IdeaIcon,
|
|
75
|
+
La as InfoIcon,
|
|
76
|
+
ha as JsonEditor,
|
|
77
|
+
wa as KeyValueList,
|
|
78
|
+
Pa as Label,
|
|
79
|
+
Sa as LeftBarIcon,
|
|
80
|
+
fa as LeftIcon,
|
|
81
|
+
Fa as Link,
|
|
82
|
+
ya as List,
|
|
83
|
+
xa as ListIcon,
|
|
84
|
+
Ea as ListItem,
|
|
85
|
+
ma as Logo,
|
|
86
|
+
ka as MoreIcon,
|
|
87
|
+
Aa as MultiSelect,
|
|
88
|
+
Ha as NotepadIcon,
|
|
89
|
+
va as NotesIcon,
|
|
90
|
+
Ra as Pagination,
|
|
91
|
+
Ma as PasswordTextBox,
|
|
92
|
+
Na as PlayIcon,
|
|
93
|
+
Ua as PlusIcon,
|
|
94
|
+
Oa as Popover,
|
|
95
|
+
Ga as Portal,
|
|
96
|
+
Wa as ProfileIcon,
|
|
97
|
+
_a as RadioButton,
|
|
98
|
+
Ja as RecycleIcon,
|
|
99
|
+
Ka as ReloadIcon,
|
|
100
|
+
Va as RightIcon,
|
|
101
|
+
Ya as SaveIcon,
|
|
102
|
+
qa as SearchIcon,
|
|
103
|
+
za as Select,
|
|
104
|
+
Qa as ServerIcon,
|
|
105
|
+
Xa as Sidebar,
|
|
106
|
+
Za as Spinner,
|
|
107
|
+
$a as Step,
|
|
108
|
+
ja as Stepper,
|
|
109
|
+
as as SuccessIcon,
|
|
110
|
+
ss as Tab,
|
|
111
|
+
os as TabPanel,
|
|
112
|
+
es as Table,
|
|
113
|
+
ns as TableCell,
|
|
114
|
+
cs as TableHeaderCell,
|
|
115
|
+
ts as TableIcon,
|
|
116
|
+
rs as Tag,
|
|
117
|
+
Is as TagList,
|
|
118
|
+
ls as TextBox,
|
|
119
|
+
is as Toast,
|
|
120
|
+
ds as Toaster,
|
|
121
|
+
bs as ToggleButton,
|
|
122
|
+
Cs as ToggleButtonTrack,
|
|
123
|
+
gs as Tooltip,
|
|
124
|
+
us as UnstyledButton,
|
|
125
|
+
Bs as UpIcon,
|
|
126
|
+
Ts as UserIcon,
|
|
127
|
+
Ds as WarningIcon,
|
|
128
|
+
ps as baseClasses,
|
|
129
|
+
Ls as disabledClasses,
|
|
130
|
+
hs as getBaseButtonClassName,
|
|
131
|
+
ws as icons,
|
|
132
|
+
Ps as useDropdownPosition,
|
|
133
|
+
Ss as variantClasses
|
|
131
134
|
};
|
package/dist/tailwind-styles.css
CHANGED
|
@@ -106,7 +106,9 @@
|
|
|
106
106
|
|
|
107
107
|
--spacing-full: 100%;
|
|
108
108
|
|
|
109
|
-
--shadow-md: 0
|
|
109
|
+
--shadow-md: 0 1px 4px 0 #0c0c0d1a;
|
|
110
|
+
--shadow-lg: 0 4px 4px -1px #0c0c0d1a;
|
|
111
|
+
--shadow-xl: 0 16px 32px -4px #0c0c0d1a;
|
|
110
112
|
|
|
111
113
|
--ease-default: ease-out;
|
|
112
114
|
--default-transition-timing-function: var(--ease-default);
|
|
@@ -121,31 +123,51 @@
|
|
|
121
123
|
}
|
|
122
124
|
|
|
123
125
|
@theme inline {
|
|
126
|
+
/* Primary */
|
|
124
127
|
--color-primary: var(--primary);
|
|
125
128
|
--color-primary-light: var(--primary-light);
|
|
126
|
-
--color-primary-light-hover: var(--primary-light-hover);
|
|
127
|
-
--color-primary-super-light: var(--primary-super-light);
|
|
128
129
|
--color-primary-dark: var(--primary-dark);
|
|
130
|
+
--color-primary-contrast: var(--primary-contrast);
|
|
131
|
+
|
|
132
|
+
/* Secondary */
|
|
129
133
|
--color-secondary: var(--secondary);
|
|
130
134
|
--color-secondary-light: var(--secondary-light);
|
|
131
135
|
--color-secondary-dark: var(--secondary-dark);
|
|
136
|
+
--color-secondary-contrast: var(--secondary-contrast);
|
|
137
|
+
|
|
138
|
+
/* Border */
|
|
139
|
+
--color-border: var(--border);
|
|
140
|
+
|
|
141
|
+
/* Text */
|
|
132
142
|
--color-text: var(--text);
|
|
133
|
-
--color-text-contrast: var(--text-contrast);
|
|
134
143
|
--color-text-disabled: var(--text-disabled);
|
|
144
|
+
|
|
145
|
+
/* Background */
|
|
135
146
|
--color-background: var(--background);
|
|
136
147
|
--color-background-disabled: var(--background-disabled);
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
--color-
|
|
140
|
-
--color-contrast: var(--contrast);
|
|
148
|
+
|
|
149
|
+
/* Info */
|
|
150
|
+
--color-info: var(--info);
|
|
151
|
+
--color-info-contrast: var(--info-contrast);
|
|
152
|
+
--color-info-dark: var(--info-dark);
|
|
153
|
+
|
|
154
|
+
/* Error */
|
|
141
155
|
--color-error: var(--error);
|
|
142
156
|
--color-error-light: var(--error-light);
|
|
143
157
|
--color-error-dark: var(--error-dark);
|
|
144
|
-
--color-error-
|
|
158
|
+
--color-error-contrast: var(--error-contrast);
|
|
159
|
+
|
|
160
|
+
/* Success */
|
|
145
161
|
--color-success: var(--success);
|
|
162
|
+
--color-success-contrast: var(--success-contrast);
|
|
163
|
+
--color-success-dark: var(--success-dark);
|
|
164
|
+
|
|
165
|
+
/* Warning */
|
|
146
166
|
--color-warning: var(--warning);
|
|
147
|
-
--color-
|
|
148
|
-
--color-
|
|
167
|
+
--color-warning-contrast: var(--warning-contrast);
|
|
168
|
+
--color-warning-dark: var(--warning-dark);
|
|
169
|
+
|
|
170
|
+
/* Utils */
|
|
149
171
|
--color-mask: var(--mask);
|
|
150
172
|
|
|
151
173
|
--font-inter: var(--inter);
|
|
@@ -162,61 +184,102 @@
|
|
|
162
184
|
:root {
|
|
163
185
|
--inter: Inter, sans-serif;
|
|
164
186
|
--font-base: 16px;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
--primary
|
|
168
|
-
--primary-
|
|
169
|
-
--primary-dark:
|
|
170
|
-
--
|
|
171
|
-
|
|
172
|
-
|
|
187
|
+
|
|
188
|
+
/* Primary */
|
|
189
|
+
--primary: rgb(40, 40, 40);
|
|
190
|
+
--primary-light: rgb(80, 80, 80);
|
|
191
|
+
--primary-dark: rgb(10, 10, 10);
|
|
192
|
+
--primary-contrast: #f8f7f6;
|
|
193
|
+
|
|
194
|
+
/* Secondary */
|
|
195
|
+
--secondary: rgb(220, 220, 220);
|
|
196
|
+
--secondary-light: rgb(170, 170, 170);
|
|
197
|
+
--secondary-dark: rgb(120, 120, 120);
|
|
198
|
+
--secondary-contrast: #f8f7f6;
|
|
199
|
+
|
|
200
|
+
/* Border */
|
|
201
|
+
--border: #f2f4f7;
|
|
202
|
+
|
|
203
|
+
/* Text */
|
|
173
204
|
--text: #1e1e1e;
|
|
174
|
-
--text-
|
|
175
|
-
|
|
205
|
+
--text-disabled: #757575;
|
|
206
|
+
|
|
207
|
+
/* Background */
|
|
176
208
|
--background: #ffffff;
|
|
177
|
-
--background-disabled: #
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
--
|
|
181
|
-
--
|
|
209
|
+
--background-disabled: #f5f5f5;
|
|
210
|
+
|
|
211
|
+
/* Info */
|
|
212
|
+
--info: #00a4d2;
|
|
213
|
+
--info-dark: #0f5b73;
|
|
214
|
+
--info-contrast: #f4f8fa;
|
|
215
|
+
|
|
216
|
+
/* Error */
|
|
182
217
|
--error: #ec221f;
|
|
183
|
-
--error-light: #
|
|
184
|
-
--error-dark: #
|
|
185
|
-
--error-
|
|
186
|
-
|
|
218
|
+
--error-light: #c00f0c;
|
|
219
|
+
--error-dark: #900b09;
|
|
220
|
+
--error-contrast: #fee9e7;
|
|
221
|
+
|
|
222
|
+
/* Success */
|
|
223
|
+
--success: #009951;
|
|
224
|
+
--success-dark: #02542d;
|
|
225
|
+
--success-contrast: #ebffee;
|
|
226
|
+
|
|
227
|
+
/* Warning */
|
|
187
228
|
--warning: #ffa500;
|
|
188
|
-
--
|
|
189
|
-
--
|
|
229
|
+
--warning-dark: #682d03;
|
|
230
|
+
--warning-contrast: #fffbeb;
|
|
231
|
+
|
|
232
|
+
/* Utils */
|
|
190
233
|
--mask: #2a2a2a73;
|
|
191
234
|
}
|
|
192
235
|
|
|
193
236
|
.dark {
|
|
237
|
+
/* Primary */
|
|
194
238
|
--primary: #e0e0df;
|
|
195
239
|
--primary-light: #b8b8b8;
|
|
196
|
-
--primary-
|
|
197
|
-
--primary-
|
|
198
|
-
|
|
199
|
-
|
|
240
|
+
--primary-dark: #c8c8c8;
|
|
241
|
+
--primary-contrast: #2b292a;
|
|
242
|
+
|
|
243
|
+
/* Secondary */
|
|
244
|
+
--secondary: #4f4f4f;
|
|
200
245
|
--secondary-light: #a5a5a5;
|
|
201
246
|
--secondary-dark: #727272;
|
|
247
|
+
--secondary-contrast: #2b292a;
|
|
248
|
+
|
|
249
|
+
/* Border */
|
|
250
|
+
--border: #f2f4f7;
|
|
251
|
+
|
|
252
|
+
/* Text */
|
|
202
253
|
--text: #f8f7f6;
|
|
203
|
-
--text-contrast: #2b292a;
|
|
204
254
|
--text-disabled: #6b6b6b;
|
|
255
|
+
|
|
256
|
+
/* Background */
|
|
205
257
|
--background: #1a1a1a;
|
|
206
258
|
--background-disabled: #2a2a2a;
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
--
|
|
210
|
-
--
|
|
259
|
+
|
|
260
|
+
/* Info */
|
|
261
|
+
--info: #00a4d2;
|
|
262
|
+
--info-dark: #0f5b73;
|
|
263
|
+
--info-contrast: #f4f8fa;
|
|
264
|
+
|
|
265
|
+
/* Error */
|
|
211
266
|
--error: #ec221f;
|
|
212
|
-
--error-light: #
|
|
213
|
-
--error-dark: #
|
|
214
|
-
--error-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
--
|
|
218
|
-
--
|
|
219
|
-
--
|
|
267
|
+
--error-light: #c00f0c;
|
|
268
|
+
--error-dark: #900b09;
|
|
269
|
+
--error-contrast: #fee9e7;
|
|
270
|
+
|
|
271
|
+
/* Success */
|
|
272
|
+
--success: #009951;
|
|
273
|
+
--success-dark: #02542d;
|
|
274
|
+
--success-contrast: #ebffee;
|
|
275
|
+
|
|
276
|
+
/* Warning */
|
|
277
|
+
--warning: #ffa500;
|
|
278
|
+
--warning-dark: #682d03;
|
|
279
|
+
--warning-contrast: #fffbeb;
|
|
280
|
+
|
|
281
|
+
/* Utils */
|
|
282
|
+
--mask: #000000b2;
|
|
220
283
|
}
|
|
221
284
|
|
|
222
285
|
body {
|