@grasp-labs/ds-react-components 0.28.0 → 1.1.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,4 +1,4 @@
1
- import { j as o } from "./index-D-LlrXgj.js";
1
+ import { j as o } from "./index-3FfnDfv1.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,120 +1,134 @@
1
- import { A as o, b as e, ai as n, B as c, a as l, aj as t, d as r, e as i, ak as I, C as d, Q as u, al as g, f as C, h as T, an as D, ao as B, ap as b, aq as p, am as h, ar as F, as as E, at as P, au as S, i as x, av as L, aw as w, ag as f, ax as m, ay as y, D as H, az as k, k as O, l as v, m as R, n as A, y as M, aA as W, aB as N, E as V, aC as _, aD as G, o as J, aG as K, aI as U, aH as Y, aE as q, aF as z, F as Q, q as X, u as Z, p as $, t as j, r as aa, v as sa, s as oa, aJ as ea, w as na, a8 as ca, a9 as la, aa as ta, ab as ra, ac as ia, ad as Ia, aK as da, I as ua, aL as ga, aM as Ca, J as Ta, K as Da, ae as Ba, L as ba, x as pa, z as ha, G as Fa, aN as Ea, M as Pa, X as Sa, P as xa, aO as La, aP as wa, H as fa, N as ma, aQ as ya, R as Ha, aR as ka, aS as Oa, aT as va, aU as Ra, O as Aa, S as Ma, U as Wa, V as Na, W as Va, aV as _a, aW as Ga, $ as Ja, a0 as Ka, Y as Ua, aX as Ya, Z as qa, _ as za, aY as Qa, a1 as Xa, a2 as Za, a3 as $a, a4 as ja, a5 as as, a6 as ss, a7 as os, T as es, af as ns, aZ as cs, a_ as ls, c as ts, g as rs, ah as is, a$ as Is } from "./index-D-LlrXgj.js";
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-3FfnDfv1.js";
2
2
  export {
3
- o as Alert,
4
- e as AnimatedList,
5
- n as ArrowDownIcon,
6
- c as BaseButton,
7
- l as BaseTextBox,
8
- t as BellIcon,
9
- r as Breadcrumb,
10
- i as Button,
11
- I as CalendarIcon,
12
- d as Card,
13
- u as CenteredSpinner,
14
- g as CheckIcon,
15
- C as Checkbox,
16
- T as CheckboxIcon,
17
- D as ChevronDoubleLeftIcon,
18
- B as ChevronDoubleRightIcon,
19
- b as ChevronLeftIcon,
20
- p as ChevronRightIcon,
21
- h as CircleFilledIcon,
22
- F as CircleIcon,
23
- E as ClockIcon,
24
- P as CloseIcon,
25
- S as CogWheelIcon,
26
- x as ConfirmationDialog,
27
- L as DashIcon,
28
- w as DatabaseIcon,
29
- f as DatePicker,
30
- m as DeleteIcon,
31
- y as DetailsIcon,
32
- H as Dialog,
33
- k as DownloadIcon,
34
- O as Drawer,
35
- v as Dropdown,
36
- R as DropdownItem,
37
- A as DynamicIcon,
38
- M as EMPTY_OPTION_ID,
39
- W as EarthIcon,
40
- N as EditIcon,
41
- V as ErrorBoundary,
42
- _ as ErrorFilledIcon,
43
- G as ErrorOutlinedIcon,
44
- J as ErrorPage,
45
- K as ExpandDownIcon,
46
- U as ExpandIcon,
47
- Y as ExpandRightIcon,
48
- q as EyeIcon,
49
- z as EyeOffIcon,
50
- Q as Field,
51
- X as FieldContent,
52
- Z as FieldGroup,
53
- $ as FieldLabel,
54
- j as FieldLegend,
55
- aa as FieldMessage,
56
- sa as FieldSeparator,
57
- oa as FieldSet,
58
- ea as FilterIcon,
59
- na as FlowTile,
60
- ca as H1,
61
- la as H2,
62
- ta as H3,
63
- ra as H4,
64
- ia as H5,
65
- Ia as H6,
66
- da as HourglassIcon,
67
- ua as IconButton,
68
- ga as IdeaIcon,
69
- Ca as InfoOutlinedIcon,
70
- Ta as JsonEditor,
71
- Da as KeyValueList,
72
- Ba as Label,
73
- ba as Link,
74
- pa as List,
75
- ha as ListItem,
76
- Fa as Logo,
77
- Ea as MoreIcon,
78
- Pa as MultiSelect,
79
- Sa as Pagination,
80
- xa as PasswordTextBox,
81
- La as PlayIcon,
82
- wa as PlusIcon,
83
- fa as Popover,
84
- ma as Portal,
85
- ya as ProfileIcon,
86
- Ha as RadioButton,
87
- ka as RecycleIcon,
88
- Oa as ReloadIcon,
89
- va as SaveIcon,
90
- Ra as SearchIcon,
91
- Aa as Select,
92
- Ma as Sidebar,
93
- Wa as Spinner,
94
- Na as Step,
95
- Va as Stepper,
96
- _a as SuccessFilledIcon,
97
- Ga as SuccessOutlinedIcon,
98
- Ja as Tab,
99
- Ka as TabPanel,
100
- Ua as Table,
101
- Ya as TableArrowIcon,
102
- qa as TableCell,
103
- za as TableHeaderCell,
104
- Qa as TableIcon,
105
- Xa as Tag,
106
- Za as TagList,
107
- $a as TextBox,
108
- ja as Toast,
109
- as as Toaster,
110
- ss as ToggleButton,
111
- os as ToggleButtonTrack,
112
- es as Tooltip,
113
- ns as UnstyledButton,
114
- cs as WarningFilledIcon,
115
- ls as WarningOutlinedIcon,
116
- ts as colorVariantClasses,
117
- rs as getBaseButtonClassName,
118
- is as icons,
119
- Is as useDropdownPosition
3
+ o as AddressIcon,
4
+ e as Alert,
5
+ n as AnimatedList,
6
+ c as ArrowDownIcon,
7
+ t as ArrowLeftIcon,
8
+ r as ArrowRightIcon,
9
+ I as ArrowUpIcon,
10
+ l as BaseButton,
11
+ i as BaseTextBox,
12
+ d as BellIcon,
13
+ b as Body,
14
+ C as Breadcrumb,
15
+ g as BriefcaseIcon,
16
+ u as Button,
17
+ B as CalendarIcon,
18
+ T as Card,
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,
27
+ F as ClockIcon,
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,
40
+ O as Dialog,
41
+ G as DownIcon,
42
+ W as DownloadIcon,
43
+ _ as Drawer,
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
120
134
  };
@@ -1,42 +1,117 @@
1
1
  @import "tailwindcss";
2
2
 
3
3
  @theme {
4
- --text-3xs: 0.625rem; /* 10px */
5
- --text-xxs: 0.75rem; /* 12px */
6
- --text-xs: 0.875rem; /* 14px */
7
- --text-sm: 1rem; /* 16px */
8
- --text-md: 1.125rem; /* 18px */
9
- --text-lg: 1.5625rem; /* 25px */
10
- --text-xl: 1.875rem; /* 30px */
11
- --text-2xl: 3.75rem; /* 60px */
12
- --text-3xl: 4.6875rem; /* 75px */
13
- --text-4xl: 5rem; /* 80px */
14
-
15
- --spacing-0: 0;
4
+ --text-3xs: 0.5rem; /* 8px */
5
+ --text-3xs--line-height: 1.4;
6
+ --text-xxs: 0.625rem; /* 10px */
7
+ --text-xxs--line-height: 1.4;
8
+ --text-xs: 0.75rem; /* 12px */
9
+ --text-xs--line-height: 1.4;
10
+ --text-sm: 0.875rem; /* 14px */
11
+ --text-sm--line-height: 1.4;
12
+ --text-md: 1rem; /* 16px */
13
+ --text-md--line-height: 1.4;
14
+ --text-lg: 1.25rem; /* 20px */
15
+ --text-lg--line-height: 1.2;
16
+ --text-xl: 1.5rem; /* 24px */
17
+ --text-xl--line-height: 1.2;
18
+ --text-2xl: 2rem; /* 32px */
19
+ --text-2xl--line-height: 1.2;
20
+ --text-3xl: 3rem; /* 48px */
21
+ --text-3xl--line-height: 1.2;
22
+ --text-4xl: 4.5rem; /* 72px */
23
+ --text-4xl--line-height: 1.2;
24
+
25
+ --spacing-0: 0; /* 0px */
16
26
  --spacing-0_5: 0.125rem; /* 2px */
17
27
  --spacing-1: 0.25rem; /* 4px */
28
+ --spacing-1_5: 0.375rem; /* 6px */
18
29
  --spacing-2: 0.5rem; /* 8px */
30
+ --spacing-2_5: 0.625rem; /* 10px */
19
31
  --spacing-3: 0.75rem; /* 12px */
32
+ --spacing-3_5: 0.875rem; /* 14px */
20
33
  --spacing-4: 1rem; /* 16px */
34
+ --spacing-4_5: 1.125rem; /* 18px */
21
35
  --spacing-5: 1.25rem; /* 20px */
36
+ --spacing-5_5: 1.375rem; /* 22px */
22
37
  --spacing-6: 1.5rem; /* 24px */
38
+ --spacing-6_5: 1.625rem; /* 26px */
23
39
  --spacing-7: 1.75rem; /* 28px */
40
+ --spacing-7_5: 1.875rem; /* 30px */
24
41
  --spacing-8: 2rem; /* 32px */
42
+ --spacing-8_5: 2.125rem; /* 34px */
25
43
  --spacing-9: 2.25rem; /* 36px */
44
+ --spacing-9_5: 2.375rem; /* 38px */
26
45
  --spacing-10: 2.5rem; /* 40px */
46
+ --spacing-10_5: 2.625rem; /* 42px */
27
47
  --spacing-11: 2.75rem; /* 44px */
48
+ --spacing-11_5: 2.875rem; /* 46px */
28
49
  --spacing-12: 3rem; /* 48px */
50
+ --spacing-12_5: 3.125rem; /* 50px */
29
51
  --spacing-13: 3.25rem; /* 52px */
52
+ --spacing-13_5: 3.375rem; /* 54px */
30
53
  --spacing-14: 3.5rem; /* 56px */
54
+ --spacing-14_5: 3.625rem; /* 58px */
31
55
  --spacing-15: 3.75rem; /* 60px */
56
+ --spacing-15_5: 3.875rem; /* 62px */
32
57
  --spacing-16: 4rem; /* 64px */
58
+ --spacing-16_5: 4.125rem; /* 66px */
33
59
  --spacing-17: 4.25rem; /* 68px */
60
+ --spacing-17_5: 4.375rem; /* 70px */
34
61
  --spacing-18: 4.5rem; /* 72px */
62
+ --spacing-18_5: 4.625rem; /* 74px */
35
63
  --spacing-19: 4.75rem; /* 76px */
64
+ --spacing-19_5: 4.875rem; /* 78px */
36
65
  --spacing-20: 5rem; /* 80px */
66
+ --spacing-20_5: 5.125rem; /* 82px */
67
+ --spacing-21: 5.25rem; /* 84px */
68
+ --spacing-21_5: 5.375rem; /* 86px */
69
+ --spacing-22: 5.5rem; /* 88px */
70
+ --spacing-22_5: 5.625rem; /* 90px */
71
+ --spacing-23: 5.75rem; /* 92px */
72
+ --spacing-23_5: 5.875rem; /* 94px */
73
+ --spacing-24: 6rem; /* 96px */
74
+ --spacing-24_5: 6.125rem; /* 98px */
75
+ --spacing-25: 6.25rem; /* 100px */
76
+ --spacing-25_5: 6.375rem; /* 102px */
77
+ --spacing-26: 6.5rem; /* 104px */
78
+ --spacing-26_5: 6.625rem; /* 106px */
79
+ --spacing-27: 6.75rem; /* 108px */
80
+ --spacing-27_5: 6.875rem; /* 110px */
81
+ --spacing-28: 7rem; /* 112px */
82
+ --spacing-28_5: 7.125rem; /* 114px */
83
+ --spacing-29: 7.25rem; /* 116px */
84
+ --spacing-29_5: 7.375rem; /* 118px */
85
+ --spacing-30: 7.5rem; /* 120px */
86
+ --spacing-30_5: 7.625rem; /* 122px */
87
+ --spacing-31: 7.75rem; /* 124px */
88
+ --spacing-31_5: 7.875rem; /* 126px */
89
+ --spacing-32: 8rem; /* 128px */
90
+ --spacing-32_5: 8.125rem; /* 130px */
91
+ --spacing-33: 8.25rem; /* 132px */
92
+ --spacing-33_5: 8.375rem; /* 134px */
93
+ --spacing-34: 8.5rem; /* 136px */
94
+ --spacing-34_5: 8.625rem; /* 138px */
95
+ --spacing-35: 8.75rem; /* 140px */
96
+ --spacing-35_5: 8.875rem; /* 142px */
97
+ --spacing-36: 9rem; /* 144px */
98
+ --spacing-36_5: 9.125rem; /* 146px */
99
+ --spacing-37: 9.25rem; /* 148px */
100
+ --spacing-37_5: 9.375rem; /* 150px */
101
+ --spacing-38: 9.5rem; /* 152px */
102
+ --spacing-38_5: 9.625rem; /* 154px */
103
+ --spacing-39: 9.75rem; /* 156px */
104
+ --spacing-39_5: 9.875rem; /* 158px */
105
+ --spacing-40: 10rem; /* 160px */
106
+
37
107
  --spacing-full: 100%;
38
108
 
39
- --shadow-md: 0 0 12px 2px rgba(100, 103, 198, 0.25);
109
+ --shadow-md: 0 1px 4px 0 #0c0c0d1a;
110
+ --shadow-lg: 0 4px 4px -1px #0c0c0d1a;
111
+ --shadow-xl: 0 16px 32px -4px #0c0c0d1a;
112
+
113
+ --ease-default: ease-out;
114
+ --default-transition-timing-function: var(--ease-default);
40
115
 
41
116
  --animate-fadeIn: fadeIn;
42
117
 
@@ -48,27 +123,51 @@
48
123
  }
49
124
 
50
125
  @theme inline {
126
+ /* Primary */
51
127
  --color-primary: var(--primary);
52
128
  --color-primary-light: var(--primary-light);
53
- --color-primary-light-hover: var(--primary-light-hover);
54
- --color-primary-super-light: var(--primary-super-light);
129
+ --color-primary-dark: var(--primary-dark);
130
+ --color-primary-contrast: var(--primary-contrast);
131
+
132
+ /* Secondary */
55
133
  --color-secondary: var(--secondary);
134
+ --color-secondary-light: var(--secondary-light);
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 */
56
142
  --color-text: var(--text);
57
- --color-text-contrast: var(--text-contrast);
58
143
  --color-text-disabled: var(--text-disabled);
144
+
145
+ /* Background */
59
146
  --color-background: var(--background);
60
147
  --color-background-disabled: var(--background-disabled);
61
- --color-background-success: var(--background-success);
62
- --color-background-error: var(--background-error);
63
- --color-background-warning: var(--background-warning);
64
- --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 */
65
155
  --color-error: var(--error);
66
156
  --color-error-light: var(--error-light);
67
- --color-error-light-hover: var(--error-light-hover);
157
+ --color-error-dark: var(--error-dark);
158
+ --color-error-contrast: var(--error-contrast);
159
+
160
+ /* Success */
68
161
  --color-success: var(--success);
162
+ --color-success-contrast: var(--success-contrast);
163
+ --color-success-dark: var(--success-dark);
164
+
165
+ /* Warning */
69
166
  --color-warning: var(--warning);
70
- --color-shade: var(--shade);
71
- --color-shade-light: var(--shade-light);
167
+ --color-warning-contrast: var(--warning-contrast);
168
+ --color-warning-dark: var(--warning-dark);
169
+
170
+ /* Utils */
72
171
  --color-mask: var(--mask);
73
172
 
74
173
  --font-inter: var(--inter);
@@ -85,53 +184,102 @@
85
184
  :root {
86
185
  --inter: Inter, sans-serif;
87
186
  --font-base: 16px;
88
- --primary: #2a2a2a;
89
- --primary-light: #5c5c5c;
90
- --primary-light-hover: #6e6e6e;
91
- --primary-super-light: #e0e0df;
92
- --secondary: #8b8b8b;
93
- --text: #2b292a;
94
- --text-contrast: #f8f7f6;
95
- --text-disabled: #acaaa9;
96
- --background: #f5f4f3;
97
- --background-disabled: #eaeaea;
98
- --background-error: #ff4d4f1a;
99
- --background-success: #52c41a1a;
100
- --background-warning: #ffa5001a;
101
- --contrast: #ffffff;
102
- --error: #ff4d4f;
103
- --error-light: #ff9495;
104
- --error-light-hover: #ffaaab;
105
- --success: #52c41a;
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 */
204
+ --text: #1e1e1e;
205
+ --text-disabled: #757575;
206
+
207
+ /* Background */
208
+ --background: #ffffff;
209
+ --background-disabled: #f5f5f5;
210
+
211
+ /* Info */
212
+ --info: #00a4d2;
213
+ --info-dark: #0f5b73;
214
+ --info-contrast: #f4f8fa;
215
+
216
+ /* Error */
217
+ --error: #ec221f;
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 */
106
228
  --warning: #ffa500;
107
- --shade: #d1d1d1;
108
- --shade-light: #f3f2f4;
229
+ --warning-dark: #682d03;
230
+ --warning-contrast: #fffbeb;
231
+
232
+ /* Utils */
109
233
  --mask: #2a2a2a73;
110
234
  }
111
235
 
112
236
  .dark {
237
+ /* Primary */
113
238
  --primary: #e0e0df;
114
239
  --primary-light: #b8b8b8;
115
- --primary-light-hover: #c8c8c8;
116
- --primary-super-light: #3a3a3a;
117
- --secondary: #8b8b8b;
240
+ --primary-dark: #c8c8c8;
241
+ --primary-contrast: #2b292a;
242
+
243
+ /* Secondary */
244
+ --secondary: #4f4f4f;
245
+ --secondary-light: #a5a5a5;
246
+ --secondary-dark: #727272;
247
+ --secondary-contrast: #2b292a;
248
+
249
+ /* Border */
250
+ --border: #f2f4f7;
251
+
252
+ /* Text */
118
253
  --text: #f8f7f6;
119
- --text-contrast: #2b292a;
120
254
  --text-disabled: #6b6b6b;
255
+
256
+ /* Background */
121
257
  --background: #1a1a1a;
122
258
  --background-disabled: #2a2a2a;
123
- --background-error: #ff4d4f1a;
124
- --background-success: #52c41a1a;
125
- --background-warning: #ffa5001a;
126
- --contrast: #2a2a2a;
127
- --error: #ff6b6d;
128
- --error-light: #ff4d4f;
129
- --error-light-hover: #ff6b6d;
130
- --success: #6fdb3f;
131
- --warning: #ffb733;
132
- --shade: #3f3f3f;
133
- --shade-light: #2f2f2f;
134
- --mask: #ffffff73;
259
+
260
+ /* Info */
261
+ --info: #00a4d2;
262
+ --info-dark: #0f5b73;
263
+ --info-contrast: #f4f8fa;
264
+
265
+ /* Error */
266
+ --error: #ec221f;
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;
135
283
  }
136
284
 
137
285
  body {
@@ -147,39 +295,45 @@ body {
147
295
  h3,
148
296
  h4,
149
297
  h5,
150
- h6 {
298
+ p {
151
299
  margin: 0;
152
300
  padding: 0;
153
301
  }
154
302
 
155
303
  h1 {
156
304
  font-size: var(--text-4xl);
157
- line-height: var(--text-4xl);
305
+ line-height: var(--text-4xl--line-height);
306
+ font-weight: 700;
158
307
  }
159
308
 
160
309
  h2 {
161
310
  font-size: var(--text-3xl);
162
- line-height: var(--text-3xl);
311
+ line-height: var(--text-3xl--line-height);
312
+ font-weight: 700;
163
313
  }
164
314
 
165
315
  h3 {
166
- font-size: var(--text-xxl);
167
- line-height: var(--text-xxl);
316
+ font-size: var(--text-2xl);
317
+ line-height: var(--text-2xl--line-height);
318
+ font-weight: 400;
168
319
  }
169
320
 
170
321
  h4 {
171
322
  font-size: var(--text-xl);
172
- line-height: var(--text-xl);
323
+ line-height: var(--text-xl--line-height);
324
+ font-weight: 600;
173
325
  }
174
326
 
175
327
  h5 {
176
328
  font-size: var(--text-lg);
177
- line-height: var(--text-lg);
329
+ line-height: var(--text-lg--line-height);
330
+ font-weight: 400;
178
331
  }
179
332
 
180
- h6 {
333
+ p {
181
334
  font-size: var(--text-md);
182
- line-height: var(--text-md);
335
+ line-height: var(--text-md--line-height);
336
+ font-weight: 400;
183
337
  }
184
338
  }
185
339
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grasp-labs/ds-react-components",
3
- "version": "0.28.0",
3
+ "version": "1.1.0",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -1,5 +0,0 @@
1
- import * as e from "react";
2
- const r = (t) => /* @__PURE__ */ e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M12 16.5C14.4853 16.5 16.5 14.4853 16.5 12C16.5 9.5147 14.4853 7.5 12 7.5C9.5147 7.5 7.5 9.5147 7.5 12C7.5 14.4853 9.5147 16.5 12 16.5Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 2 }));
3
- export {
4
- r as default
5
- };