@grasp-labs/ds-react-components 0.27.0 → 1.0.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.
Files changed (29) hide show
  1. package/dist/components/baseButton/BaseButton.d.ts +4 -4
  2. package/dist/components/baseButton/BaseButton.styles.d.ts +5 -20
  3. package/dist/components/baseTextBox/BaseTextBox.d.ts +4 -4
  4. package/dist/components/button/Button.d.ts +5 -4
  5. package/dist/components/button/Button.styles.d.ts +3 -10
  6. package/dist/components/datePicker/DatePickerTextBox.d.ts +3 -3
  7. package/dist/components/dialog/ConfirmationDialog.d.ts +2 -2
  8. package/dist/components/dynamicIcon/DynamicIcon.d.ts +1 -1
  9. package/dist/components/iconButton/IconButton.d.ts +1 -1
  10. package/dist/components/iconButton/IconButton.styles.d.ts +5 -0
  11. package/dist/components/link/Link.d.ts +2 -2
  12. package/dist/components/multiSelect/MultiSelect.d.ts +3 -3
  13. package/dist/components/select/Select.d.ts +3 -3
  14. package/dist/components/toggleButton/ToggleButton.d.ts +23 -0
  15. package/dist/components/toggleButton/ToggleButtonTrack.d.ts +23 -0
  16. package/dist/components/toggleButton/index.d.ts +4 -0
  17. package/dist/components/typography/Typography.d.ts +16 -24
  18. package/dist/components/typography/index.d.ts +1 -1
  19. package/dist/icons/iconsComponents.d.ts +55 -0
  20. package/dist/icons/{icons.d.ts → iconsLazy.d.ts} +79 -71
  21. package/dist/icons/index.d.ts +2 -1
  22. package/dist/{index-DGPKStbk.js → index-DbrsXeBO.js} +5189 -5081
  23. package/dist/index.css +1 -1
  24. package/dist/index.d.ts +1 -0
  25. package/dist/{index.esm-BWMKgcXW.js → index.esm-C32CGj2t.js} +1 -1
  26. package/dist/index.js +127 -114
  27. package/dist/tailwind-styles.css +124 -27
  28. package/package.json +1 -1
  29. package/dist/circle-filled-DDHXyiE7.js +0 -5
package/dist/index.d.ts CHANGED
@@ -36,6 +36,7 @@ export * from './components/tag';
36
36
  export * from './components/tagList';
37
37
  export * from './components/textBox';
38
38
  export * from './components/toast';
39
+ export * from './components/toggleButton';
39
40
  export * from './components/typography';
40
41
  export * from './components/unstyledButton';
41
42
  export * from './components/datePicker';
@@ -1,4 +1,4 @@
1
- import { j as o } from "./index-DGPKStbk.js";
1
+ import { j as o } from "./index-DbrsXeBO.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,118 +1,131 @@
1
- import { A as o, b as e, ag as n, B as c, a as l, ah as t, d as r, e as i, ai as I, C as d, Q as u, aj as C, f as D, h as T, al as g, am as b, an as p, ao as B, ak as h, ap as F, aq as E, ar as P, as as S, i as x, at as L, au as w, ae as f, av as m, aw as y, D as H, ax as O, k, l as v, m as R, n as A, y as M, ay as W, az as N, E as V, aA as G, aB as J, o as K, aE as U, aG as Y, aF as _, aC as q, aD as z, F as Q, q as X, u as Z, p as j, t as $, r as aa, v as sa, s as oa, aH as ea, w as na, a6 as ca, a7 as la, a8 as ta, a9 as ra, aa as ia, ab as Ia, aI as da, I as ua, aJ as Ca, aK as Da, J as Ta, K as ga, ac as ba, L as pa, x as Ba, z as ha, G as Fa, aL as Ea, M as Pa, X as Sa, P as xa, aM as La, aN as wa, H as fa, N as ma, aO as ya, R as Ha, aP as Oa, aQ as ka, aR as va, aS as Ra, O as Aa, S as Ma, U as Wa, V as Na, W as Va, aT as Ga, aU as Ja, $ as Ka, a0 as Ua, Y as Ya, aV as _a, Z as qa, _ as za, aW as Qa, a1 as Xa, a2 as Za, a3 as ja, a4 as $a, a5 as as, T as ss, ad as os, aX as es, aY as ns, c as cs, g as ls, af as ts, aZ as rs } from "./index-DGPKStbk.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, f as g, ap as u, C as T, aq as B, V as D, ar as p, h as L, i as h, as as w, at as P, au as S, av as F, aw as f, ax as y, k as x, ay as E, az as m, aA as k, aB as A, aC as H, aD as v, ai as R, aE as M, aF as N, D as O, aG as U, aH as W, l as _, m as G, n as J, o as K, G as V, aI as Y, aJ as q, E as z, aK as Q, p as X, aL as Z, aN as $, F as j, r as aa, w as sa, q as oa, u as ea, s as na, x as ca, t as ta, aM as ra, aO as Ia, y as la, aa as ia, ab as da, ac as ba, ad as Ca, ae as ga, aP as ua, I as Ta, aQ as Ba, aR as Da, J as pa, K as La, ag as ha, aS as wa, aT as Pa, L as Sa, z as Fa, aU as fa, H as ya, M as xa, aV as Ea, N as ma, aW as ka, aX as Aa, Z as Ha, P as va, aY as Ra, aZ as Ma, O as Na, Q as Oa, a_ as Ua, R as Wa, a$ as _a, b0 as Ga, b1 as Ja, b2 as Ka, b3 as Va, U as Ya, b4 as qa, S as za, W as Qa, X as Xa, Y as Za, b5 as $a, a1 as ja, a2 as as, _ as ss, $ as os, a0 as es, b6 as ns, a3 as cs, a4 as ts, a5 as rs, a6 as Is, a7 as ls, a8 as is, a9 as ds, T as bs, ah as Cs, b7 as gs, b8 as us, b as Ts, d as Bs, g as Ds, b9 as ps, ba as Ls, v as hs } from "./index-DbrsXeBO.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
- C as CheckIcon,
15
- D as Checkbox,
16
- T as CheckboxIcon,
17
- g as ChevronDoubleLeftIcon,
18
- b as ChevronDoubleRightIcon,
19
- p as ChevronLeftIcon,
20
- B as ChevronRightIcon,
21
- h as CircleFilledIcon,
22
- F as CircleIcon,
23
- E as ClockIcon,
24
- P as CloseIcon,
25
- S as CogWheelIcon,
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 Button,
16
+ u as CalendarIcon,
17
+ T as Card,
18
+ B as CautionIcon,
19
+ D as CenteredSpinner,
20
+ p as CheckIcon,
21
+ L as Checkbox,
22
+ h as CheckboxIcon,
23
+ w as ChevronDoubleLeftIcon,
24
+ P as ChevronDoubleRightIcon,
25
+ S as CircleIcon,
26
+ F as ClockIcon,
27
+ f as CloseIcon,
28
+ y as CogWheelIcon,
26
29
  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
- O as DownloadIcon,
34
- k 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
- G as ErrorFilledIcon,
43
- J as ErrorOutlinedIcon,
44
- K as ErrorPage,
45
- U as ExpandDownIcon,
46
- Y as ExpandIcon,
47
- _ as ExpandRightIcon,
48
- q as EyeIcon,
49
- z as EyeOffIcon,
50
- Q as Field,
51
- X as FieldContent,
52
- Z as FieldGroup,
53
- j as FieldLabel,
54
- $ 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
- Ca as IdeaIcon,
69
- Da as InfoOutlinedIcon,
70
- Ta as JsonEditor,
71
- ga as KeyValueList,
72
- ba as Label,
73
- pa as Link,
74
- Ba as List,
75
- ha as ListItem,
76
- Fa as Logo,
30
+ E as ConnectionIcon,
31
+ m as CopyIcon,
32
+ k as CorrectIcon,
33
+ A as DashIcon,
34
+ H as DashboardIcon,
35
+ v as DatabaseIcon,
36
+ R as DatePicker,
37
+ M as DeleteIcon,
38
+ N as DetailsIcon,
39
+ O as Dialog,
40
+ U as DownIcon,
41
+ W as DownloadIcon,
42
+ _ as Drawer,
43
+ G as Dropdown,
44
+ J as DropdownItem,
45
+ K as DynamicIcon,
46
+ V as EMPTY_OPTION_ID,
47
+ Y as EarthIcon,
48
+ q as EditIcon,
49
+ z as ErrorBoundary,
50
+ Q as ErrorIcon,
51
+ X as ErrorPage,
52
+ Z as EyeIcon,
53
+ $ as EyeOffIcon,
54
+ j as Field,
55
+ aa as FieldContent,
56
+ sa as FieldGroup,
57
+ oa as FieldLabel,
58
+ ea as FieldLegend,
59
+ na as FieldMessage,
60
+ ca as FieldSeparator,
61
+ ta as FieldSet,
62
+ ra as FileIcon,
63
+ Ia as FilterIcon,
64
+ la as FlowTile,
65
+ ia as H1,
66
+ da as H2,
67
+ ba as H3,
68
+ Ca as H4,
69
+ ga as H5,
70
+ ua as HourglassIcon,
71
+ Ta as IconButton,
72
+ Ba as IdeaIcon,
73
+ Da as InfoIcon,
74
+ pa as JsonEditor,
75
+ La as KeyValueList,
76
+ ha as Label,
77
+ wa as LeftBarIcon,
78
+ Pa as LeftIcon,
79
+ Sa as Link,
80
+ Fa as List,
81
+ fa as ListIcon,
82
+ ya as ListItem,
83
+ xa as Logo,
77
84
  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
- Oa as RecycleIcon,
88
- ka 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
- Ga as SuccessFilledIcon,
97
- Ja as SuccessOutlinedIcon,
98
- Ka as Tab,
99
- Ua as TabPanel,
100
- Ya as Table,
101
- _a as TableArrowIcon,
102
- qa as TableCell,
103
- za as TableHeaderCell,
104
- Qa as TableIcon,
105
- Xa as Tag,
106
- Za as TagList,
107
- ja as TextBox,
108
- $a as Toast,
109
- as as Toaster,
110
- ss as Tooltip,
111
- os as UnstyledButton,
112
- es as WarningFilledIcon,
113
- ns as WarningOutlinedIcon,
114
- cs as colorVariantClasses,
115
- ls as getBaseButtonClassName,
116
- ts as icons,
117
- rs as useDropdownPosition
85
+ ma as MultiSelect,
86
+ ka as NotepadIcon,
87
+ Aa as NotesIcon,
88
+ Ha as Pagination,
89
+ va as PasswordTextBox,
90
+ Ra as PlayIcon,
91
+ Ma as PlusIcon,
92
+ Na as Popover,
93
+ Oa as Portal,
94
+ Ua as ProfileIcon,
95
+ Wa as RadioButton,
96
+ _a as RecycleIcon,
97
+ Ga as ReloadIcon,
98
+ Ja as RightIcon,
99
+ Ka as SaveIcon,
100
+ Va as SearchIcon,
101
+ Ya as Select,
102
+ qa as ServerIcon,
103
+ za as Sidebar,
104
+ Qa as Spinner,
105
+ Xa as Step,
106
+ Za as Stepper,
107
+ $a as SuccessIcon,
108
+ ja as Tab,
109
+ as as TabPanel,
110
+ ss as Table,
111
+ os as TableCell,
112
+ es as TableHeaderCell,
113
+ ns as TableIcon,
114
+ cs as Tag,
115
+ ts as TagList,
116
+ rs as TextBox,
117
+ Is as Toast,
118
+ ls as Toaster,
119
+ is as ToggleButton,
120
+ ds as ToggleButtonTrack,
121
+ bs as Tooltip,
122
+ Cs as UnstyledButton,
123
+ gs as UpIcon,
124
+ us as WarningIcon,
125
+ Ts as baseClasses,
126
+ Bs as disabledClasses,
127
+ Ds as getBaseButtonClassName,
128
+ ps as icons,
129
+ Ls as useDropdownPosition,
130
+ hs as variantClasses
118
131
  };
@@ -1,43 +1,116 @@
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
109
  --shadow-md: 0 0 12px 2px rgba(100, 103, 198, 0.25);
40
110
 
111
+ --ease-default: ease-out;
112
+ --default-transition-timing-function: var(--ease-default);
113
+
41
114
  --animate-fadeIn: fadeIn;
42
115
 
43
116
  --z-index-toast: 70;
@@ -50,8 +123,12 @@
50
123
  @theme inline {
51
124
  --color-primary: var(--primary);
52
125
  --color-primary-light: var(--primary-light);
126
+ --color-primary-light-hover: var(--primary-light-hover);
53
127
  --color-primary-super-light: var(--primary-super-light);
128
+ --color-primary-dark: var(--primary-dark);
54
129
  --color-secondary: var(--secondary);
130
+ --color-secondary-light: var(--secondary-light);
131
+ --color-secondary-dark: var(--secondary-dark);
55
132
  --color-text: var(--text);
56
133
  --color-text-contrast: var(--text-contrast);
57
134
  --color-text-disabled: var(--text-disabled);
@@ -63,6 +140,8 @@
63
140
  --color-contrast: var(--contrast);
64
141
  --color-error: var(--error);
65
142
  --color-error-light: var(--error-light);
143
+ --color-error-dark: var(--error-dark);
144
+ --color-error-darker: var(--error-darker);
66
145
  --color-success: var(--success);
67
146
  --color-warning: var(--warning);
68
147
  --color-shade: var(--shade);
@@ -85,19 +164,25 @@
85
164
  --font-base: 16px;
86
165
  --primary: #2a2a2a;
87
166
  --primary-light: #5c5c5c;
167
+ --primary-light-hover: #6e6e6e;
88
168
  --primary-super-light: #e0e0df;
169
+ --primary-dark: #111111;
89
170
  --secondary: #8b8b8b;
90
- --text: #2b292a;
171
+ --secondary-light: #a5a5a5;
172
+ --secondary-dark: #727272;
173
+ --text: #1e1e1e;
91
174
  --text-contrast: #f8f7f6;
92
175
  --text-disabled: #acaaa9;
93
- --background: #f5f4f3;
176
+ --background: #ffffff;
94
177
  --background-disabled: #eaeaea;
95
178
  --background-error: #ff4d4f1a;
96
179
  --background-success: #52c41a1a;
97
180
  --background-warning: #ffa5001a;
98
181
  --contrast: #ffffff;
99
- --error: #ff4d4f;
100
- --error-light: #ff9495;
182
+ --error: #ec221f;
183
+ --error-light: #fdd3d0;
184
+ --error-dark: #c00f0c;
185
+ --error-darker: #900b09;
101
186
  --success: #52c41a;
102
187
  --warning: #ffa500;
103
188
  --shade: #d1d1d1;
@@ -108,8 +193,12 @@
108
193
  .dark {
109
194
  --primary: #e0e0df;
110
195
  --primary-light: #b8b8b8;
196
+ --primary-light-hover: #c8c8c8;
111
197
  --primary-super-light: #3a3a3a;
198
+ --primary-dark: #f9f9f9;
112
199
  --secondary: #8b8b8b;
200
+ --secondary-light: #a5a5a5;
201
+ --secondary-dark: #727272;
113
202
  --text: #f8f7f6;
114
203
  --text-contrast: #2b292a;
115
204
  --text-disabled: #6b6b6b;
@@ -119,8 +208,10 @@
119
208
  --background-success: #52c41a1a;
120
209
  --background-warning: #ffa5001a;
121
210
  --contrast: #2a2a2a;
122
- --error: #ff6b6d;
123
- --error-light: #ff4d4f;
211
+ --error: #ec221f;
212
+ --error-light: #fdd3d0;
213
+ --error-dark: #c00f0c;
214
+ --error-darker: #900b09;
124
215
  --success: #6fdb3f;
125
216
  --warning: #ffb733;
126
217
  --shade: #3f3f3f;
@@ -141,39 +232,45 @@ body {
141
232
  h3,
142
233
  h4,
143
234
  h5,
144
- h6 {
235
+ p {
145
236
  margin: 0;
146
237
  padding: 0;
147
238
  }
148
239
 
149
240
  h1 {
150
241
  font-size: var(--text-4xl);
151
- line-height: var(--text-4xl);
242
+ line-height: var(--text-4xl--line-height);
243
+ font-weight: 700;
152
244
  }
153
245
 
154
246
  h2 {
155
247
  font-size: var(--text-3xl);
156
- line-height: var(--text-3xl);
248
+ line-height: var(--text-3xl--line-height);
249
+ font-weight: 700;
157
250
  }
158
251
 
159
252
  h3 {
160
- font-size: var(--text-xxl);
161
- line-height: var(--text-xxl);
253
+ font-size: var(--text-2xl);
254
+ line-height: var(--text-2xl--line-height);
255
+ font-weight: 400;
162
256
  }
163
257
 
164
258
  h4 {
165
259
  font-size: var(--text-xl);
166
- line-height: var(--text-xl);
260
+ line-height: var(--text-xl--line-height);
261
+ font-weight: 600;
167
262
  }
168
263
 
169
264
  h5 {
170
265
  font-size: var(--text-lg);
171
- line-height: var(--text-lg);
266
+ line-height: var(--text-lg--line-height);
267
+ font-weight: 400;
172
268
  }
173
269
 
174
- h6 {
270
+ p {
175
271
  font-size: var(--text-md);
176
- line-height: var(--text-md);
272
+ line-height: var(--text-md--line-height);
273
+ font-weight: 400;
177
274
  }
178
275
  }
179
276
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grasp-labs/ds-react-components",
3
- "version": "0.27.0",
3
+ "version": "1.0.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
- };