@grasp-labs/ds-react-components 0.22.0 → 0.22.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/README.md +8 -0
- package/dist/components/checkbox/Checkbox.d.ts +1 -1
- package/dist/components/flow/FlowTile.d.ts +11 -3
- package/dist/components/flow/index.d.ts +0 -1
- package/dist/components/keyValueList/KeyValueList.d.ts +9 -0
- package/dist/components/keyValueList/index.d.ts +1 -0
- package/dist/hooks/index.d.ts +0 -1
- package/dist/index-CCS3Z4T8.js +20737 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/{index.esm-B5iW_Gyh.js → index.esm-7GxVylgs.js} +1 -1
- package/dist/index.js +92 -90
- package/package.json +1 -1
- package/dist/components/flow/MetadataList.d.ts +0 -6
- package/dist/components/flow/StatusIcon.d.ts +0 -5
- package/dist/components/flow/TileHeader.d.ts +0 -8
- package/dist/components/flow/types.d.ts +0 -15
- package/dist/hooks/useViewportCollision.d.ts +0 -7
- package/dist/index-BQ1m0iH2.js +0 -13819
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './components/card';
|
|
|
8
8
|
export * from './components/checkbox';
|
|
9
9
|
export * from './components/dialog';
|
|
10
10
|
export * from './components/drawer';
|
|
11
|
+
export * from './components/dropdown';
|
|
11
12
|
export * from './components/dynamicIcon';
|
|
12
13
|
export * from './components/errorBoundary';
|
|
13
14
|
export * from './components/errorPage';
|
|
@@ -15,6 +16,7 @@ export * from './components/field';
|
|
|
15
16
|
export * from './components/flow';
|
|
16
17
|
export * from './components/iconButton';
|
|
17
18
|
export * from './components/jsonEditor';
|
|
19
|
+
export * from './components/keyValueList';
|
|
18
20
|
export * from './components/link';
|
|
19
21
|
export * from './components/list';
|
|
20
22
|
export * from './components/logo';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as o } from "./index-
|
|
1
|
+
import { j as o } from "./index-CCS3Z4T8.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,11 +1,11 @@
|
|
|
1
|
-
import { A as e, b as o, B as n, a as l, d as
|
|
1
|
+
import { A as e, b as o, B as n, a as l, d as t, e as c, ag as r, C as i, Q as I, ah as d, f as u, h as C, ai as g, aj as T, ak as b, al as p, am as D, an as h, ao as B, i as F, ap as S, aq as x, ae as E, ar as L, as as P, D as H, k as m, l as w, m as y, n as f, y as O, at as v, E as R, au as k, av as A, o as M, ay as N, aA as W, az as G, aw as J, ax as K, F as V, q as _, u as q, p as z, t as Q, r as U, v as Y, s as j, aB as X, w as Z, a6 as $, a7 as aa, a8 as sa, a9 as ea, aa as oa, ab as na, aC as la, aD as ta, I as ca, aE as ra, aF as ia, J as Ia, K as da, ac as ua, L as Ca, x as ga, z as Ta, G as ba, M as pa, X as Da, P as ha, aG as Ba, aH as Fa, H as Sa, N as xa, R as Ea, aI as La, aJ as Pa, aK as Ha, aL as ma, O as wa, S as ya, U as fa, V as Oa, W as va, aM as Ra, aN as ka, $ as Aa, a0 as Ma, Y as Na, aO as Wa, Z as Ga, _ as Ja, aP as Ka, a1 as Va, a2 as _a, a3 as qa, a4 as za, a5 as Qa, T as Ua, ad as Ya, aQ as ja, aR as Xa, c as Za, g as $a, af as as, aS as ss } from "./index-CCS3Z4T8.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
|
-
|
|
8
|
-
|
|
7
|
+
t as Breadcrumb,
|
|
8
|
+
c as Button,
|
|
9
9
|
r as CalendarIcon,
|
|
10
10
|
i as Card,
|
|
11
11
|
I as CenteredSpinner,
|
|
@@ -16,94 +16,96 @@ export {
|
|
|
16
16
|
T as ChevronDoubleRightIcon,
|
|
17
17
|
b as ChevronLeftIcon,
|
|
18
18
|
p as ChevronRightIcon,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
D as CircleIcon,
|
|
20
|
+
h as CloseIcon,
|
|
21
|
+
B as CogWheelIcon,
|
|
22
22
|
F as ConfirmationDialog,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
S as DashIcon,
|
|
24
|
+
x as DatabaseIcon,
|
|
25
|
+
E as DatePicker,
|
|
26
|
+
L as DeleteIcon,
|
|
27
|
+
P as DetailsIcon,
|
|
28
28
|
H as Dialog,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
O as
|
|
34
|
-
v as
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
A as
|
|
38
|
-
M as
|
|
39
|
-
N as
|
|
40
|
-
W as
|
|
41
|
-
G as
|
|
42
|
-
J as
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
Q as
|
|
49
|
-
U as
|
|
50
|
-
Y as
|
|
51
|
-
j as
|
|
52
|
-
X as
|
|
53
|
-
Z as
|
|
54
|
-
$ as
|
|
55
|
-
aa as
|
|
56
|
-
sa as
|
|
57
|
-
ea as
|
|
58
|
-
oa as
|
|
59
|
-
na as
|
|
60
|
-
la as
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
ra as
|
|
64
|
-
ia as
|
|
65
|
-
Ia as
|
|
66
|
-
da as
|
|
67
|
-
ua as
|
|
68
|
-
Ca as
|
|
69
|
-
ga as
|
|
70
|
-
Ta as
|
|
71
|
-
ba as
|
|
72
|
-
pa as
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
Fa as
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
Ha as
|
|
29
|
+
m as Drawer,
|
|
30
|
+
w as Dropdown,
|
|
31
|
+
y as DropdownItem,
|
|
32
|
+
f as DynamicIcon,
|
|
33
|
+
O as EMPTY_OPTION_ID,
|
|
34
|
+
v as EarthIcon,
|
|
35
|
+
R as ErrorBoundary,
|
|
36
|
+
k as ErrorFilledIcon,
|
|
37
|
+
A as ErrorOutlinedIcon,
|
|
38
|
+
M as ErrorPage,
|
|
39
|
+
N as ExpandDownIcon,
|
|
40
|
+
W as ExpandIcon,
|
|
41
|
+
G as ExpandRightIcon,
|
|
42
|
+
J as EyeIcon,
|
|
43
|
+
K as EyeOffIcon,
|
|
44
|
+
V as Field,
|
|
45
|
+
_ as FieldContent,
|
|
46
|
+
q as FieldGroup,
|
|
47
|
+
z as FieldLabel,
|
|
48
|
+
Q as FieldLegend,
|
|
49
|
+
U as FieldMessage,
|
|
50
|
+
Y as FieldSeparator,
|
|
51
|
+
j as FieldSet,
|
|
52
|
+
X as FilterIcon,
|
|
53
|
+
Z as FlowTile,
|
|
54
|
+
$ as H1,
|
|
55
|
+
aa as H2,
|
|
56
|
+
sa as H3,
|
|
57
|
+
ea as H4,
|
|
58
|
+
oa as H5,
|
|
59
|
+
na as H6,
|
|
60
|
+
la as HourglassCircleIcon,
|
|
61
|
+
ta as HourglassFilledIcon,
|
|
62
|
+
ca as IconButton,
|
|
63
|
+
ra as IdeaIcon,
|
|
64
|
+
ia as InfoOutlinedIcon,
|
|
65
|
+
Ia as JsonEditor,
|
|
66
|
+
da as KeyValueList,
|
|
67
|
+
ua as Label,
|
|
68
|
+
Ca as Link,
|
|
69
|
+
ga as List,
|
|
70
|
+
Ta as ListItem,
|
|
71
|
+
ba as Logo,
|
|
72
|
+
pa as MultiSelect,
|
|
73
|
+
Da as Pagination,
|
|
74
|
+
ha as PasswordTextBox,
|
|
75
|
+
Ba as PlayIcon,
|
|
76
|
+
Fa as PlusIcon,
|
|
77
|
+
Sa as Popover,
|
|
78
|
+
xa as Portal,
|
|
79
|
+
Ea as RadioButton,
|
|
80
|
+
La as RecycleIcon,
|
|
81
|
+
Pa as ReloadIcon,
|
|
82
|
+
Ha as SaveIcon,
|
|
83
|
+
ma as SearchIcon,
|
|
84
|
+
wa as Select,
|
|
85
|
+
ya as Sidebar,
|
|
83
86
|
fa as Spinner,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
$a as useViewportCollision
|
|
87
|
+
Oa as Step,
|
|
88
|
+
va as Stepper,
|
|
89
|
+
Ra as SuccessFilledIcon,
|
|
90
|
+
ka as SuccessOutlinedIcon,
|
|
91
|
+
Aa as Tab,
|
|
92
|
+
Ma as TabPanel,
|
|
93
|
+
Na as Table,
|
|
94
|
+
Wa as TableArrowIcon,
|
|
95
|
+
Ga as TableCell,
|
|
96
|
+
Ja as TableHeaderCell,
|
|
97
|
+
Ka as TableIcon,
|
|
98
|
+
Va as Tag,
|
|
99
|
+
_a as TagList,
|
|
100
|
+
qa as TextBox,
|
|
101
|
+
za as Toast,
|
|
102
|
+
Qa as Toaster,
|
|
103
|
+
Ua as Tooltip,
|
|
104
|
+
Ya as UnstyledButton,
|
|
105
|
+
ja as WarningFilledIcon,
|
|
106
|
+
Xa as WarningOutlinedIcon,
|
|
107
|
+
Za as colorVariantClasses,
|
|
108
|
+
$a as getBaseButtonClassName,
|
|
109
|
+
as as icons,
|
|
110
|
+
ss as useDropdownPosition
|
|
109
111
|
};
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { FlowStatus } from './types';
|
|
3
|
-
export type TileHeaderProps = {
|
|
4
|
-
title: string;
|
|
5
|
-
headerAction: ReactNode | undefined;
|
|
6
|
-
status: FlowStatus | undefined;
|
|
7
|
-
};
|
|
8
|
-
export declare const TileHeader: ({ title, status, headerAction, }: TileHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Position } from '@xyflow/system';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import { IconName } from '../../icons';
|
|
4
|
-
export type FlowStatus = "success" | "warning" | "error" | "pending" | "not-run";
|
|
5
|
-
export type FlowPosition = Position | "none";
|
|
6
|
-
export type FlowData = {
|
|
7
|
-
title: string;
|
|
8
|
-
status?: FlowStatus;
|
|
9
|
-
iconName?: IconName;
|
|
10
|
-
metadata?: Record<string, ReactNode>;
|
|
11
|
-
children?: ReactNode;
|
|
12
|
-
headerAction?: ReactNode;
|
|
13
|
-
targetPosition?: FlowPosition;
|
|
14
|
-
sourcePosition?: FlowPosition;
|
|
15
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
type UseViewportCollisionOptions = {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
containerRef: RefObject<HTMLElement | null>;
|
|
5
|
-
};
|
|
6
|
-
export declare const useViewportCollision: ({ isOpen, containerRef, }: UseViewportCollisionOptions) => boolean;
|
|
7
|
-
export {};
|