@customafk/lunas-ui 0.0.3-e → 0.0.3-g
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/Atoms/Accordion/index.js +1 -33
- package/dist/Atoms/AlertDialog/index.js +2 -34
- package/dist/Atoms/Avatar/index.js +1 -33
- package/dist/Atoms/Badge/index.js +1 -33
- package/dist/Atoms/Breadcrumb/index.js +1 -33
- package/dist/Atoms/Button/index.d.ts +2 -2
- package/dist/Atoms/Button/index.js +2 -34
- package/dist/Atoms/Card/index.js +1 -33
- package/dist/Atoms/Carousel/index.js +2 -34
- package/dist/Atoms/Checkbox/index.js +1 -33
- package/dist/Atoms/Command/index.d.ts +13 -13
- package/dist/Atoms/Command/index.js +2 -34
- package/dist/Atoms/Dialog/index.js +1 -33
- package/dist/Atoms/Drawer/index.js +15 -50
- package/dist/Atoms/DropdownMenu/index.js +1 -33
- package/dist/Atoms/Form/index.js +1 -33
- package/dist/Atoms/Input/index.js +1 -33
- package/dist/Atoms/Label/index.js +1 -33
- package/dist/Atoms/MenuItem/index.js +1 -33
- package/dist/Atoms/Money/index.js +1 -33
- package/dist/Atoms/Navbar/index.js +1 -33
- package/dist/Atoms/NavigationMenu/index.js +1 -33
- package/dist/Atoms/NumberInput/index.js +1 -33
- package/dist/Atoms/Popover/index.js +1 -33
- package/dist/Atoms/Progress/index.js +1 -33
- package/dist/Atoms/QuantityBtn/index.js +1 -33
- package/dist/Atoms/RadioGroup/index.js +1 -33
- package/dist/Atoms/ScrollBar/index.js +1 -33
- package/dist/Atoms/Select/index.js +1 -33
- package/dist/Atoms/Separator/index.js +1 -33
- package/dist/Atoms/Sheet/index.d.ts +1 -1
- package/dist/Atoms/Sheet/index.js +1 -33
- package/dist/Atoms/Skeleton/index.js +1 -33
- package/dist/Atoms/Slider/index.js +1 -33
- package/dist/Atoms/Switch/index.js +1 -33
- package/dist/Atoms/Tabs/index.js +1 -33
- package/dist/Atoms/Textarea/index.js +1 -33
- package/dist/Atoms/Tooltip/index.js +1 -33
- package/dist/Atoms/UserAvatar/index.d.ts +1 -1
- package/dist/Atoms/UserAvatar/index.js +3 -35
- package/dist/Atoms/XButton/index.js +1 -33
- package/dist/Authentication/SignIn/index.js +3 -35
- package/dist/Authentication/SignUp/index.js +3 -35
- package/dist/Authentication/ThankYou/index.js +2 -34
- package/dist/Ecommerce/Categories/index.js +12 -44
- package/dist/Layout/Flex/index.js +1 -33
- package/dist/Molecules/AuthenForm/index.js +2 -34
- package/dist/Molecules/Search/index.js +2 -34
- package/dist/Molecules/UserDropdown/index.js +3 -35
- package/dist/Organisms/Footer/index.js +15 -18
- package/dist/Organisms/Header/index.d.ts +2 -0
- package/dist/Organisms/Header/index.js +69 -88
- package/dist/tailwindTheme.d.ts +0 -31
- package/dist/tailwindTheme.js +1 -33
- package/package.json +1 -1
|
@@ -13,10 +13,6 @@ var themes = {
|
|
|
13
13
|
},
|
|
14
14
|
colors: {
|
|
15
15
|
ui: {
|
|
16
|
-
white: "#ffffff",
|
|
17
|
-
"white-primary": "#ffffff",
|
|
18
|
-
"black-primary": "#111315",
|
|
19
|
-
"bg-white": "#FAFAFA",
|
|
20
16
|
primary: {
|
|
21
17
|
default: "#6C70F0",
|
|
22
18
|
50: "#EEF2FF",
|
|
@@ -144,39 +140,11 @@ var themes = {
|
|
|
144
140
|
900: "#0F172A",
|
|
145
141
|
950: "#020817"
|
|
146
142
|
},
|
|
147
|
-
// TEXT COLOR
|
|
148
|
-
"text-primary": "#111315",
|
|
149
|
-
"text-secondary": "#30353C",
|
|
150
|
-
"text-third": "#30353CCC",
|
|
151
|
-
"text-placeholder": "#11131566",
|
|
152
|
-
"text-white-placeholder": "#FDFDFD99",
|
|
153
|
-
"text-black": {
|
|
154
|
-
primary: "#19191B",
|
|
155
|
-
secondary: "#222325",
|
|
156
|
-
third: "#292A2E",
|
|
157
|
-
fourth: "#5F606A",
|
|
158
|
-
placeholder: "#B2B3BD"
|
|
159
|
-
},
|
|
160
|
-
"text-white": {
|
|
161
|
-
primary: "#FCFCFC",
|
|
162
|
-
secondary: "#F9F9F9",
|
|
163
|
-
third: "#D9D9D9"
|
|
164
|
-
},
|
|
165
143
|
// COLOR SPECIAL
|
|
166
144
|
"positive-flat": "#4ADE80",
|
|
167
145
|
"destruction-flat": "#EF4444",
|
|
168
146
|
"neutral-flat": "#BFDBFE",
|
|
169
|
-
rating: "#FDE047"
|
|
170
|
-
input: {
|
|
171
|
-
border: {
|
|
172
|
-
active: "#71717A",
|
|
173
|
-
disabled: "#D4D4D8"
|
|
174
|
-
},
|
|
175
|
-
bg: {
|
|
176
|
-
default: "#FDFDFD",
|
|
177
|
-
error: "#FEF2F2"
|
|
178
|
-
}
|
|
179
|
-
}
|
|
147
|
+
rating: "#FDE047"
|
|
180
148
|
}
|
|
181
149
|
},
|
|
182
150
|
backgroundImage: {
|
|
@@ -17,7 +17,7 @@ var buttonVariants = cva(
|
|
|
17
17
|
"destructive-secondary": "bg-ui-destructive-50 !text-ui-destructive-500 enabled:active:ring-ui-destructive-200",
|
|
18
18
|
"destructive-outline": "border border-solid border-ui-destructive-400 bg-ui-destructive-50 !text-ui-destructive-500 ring-ui-destructive-200 disabled:opacity-60",
|
|
19
19
|
"sort-outline": "bg-ui-primary-50 !text-ui-primary-500 enabled:focus:ring-ui-primary-200",
|
|
20
|
-
normal: "border-ui-black border border-solid bg-ui-
|
|
20
|
+
normal: "border-ui-black border border-solid bg-ui-surface-50 enabled:active:shadow-ui-xl"
|
|
21
21
|
},
|
|
22
22
|
size: {
|
|
23
23
|
default: "px-3 py-1.5 text-ui-note font-semibold",
|
|
@@ -43,10 +43,6 @@ var themes = {
|
|
|
43
43
|
},
|
|
44
44
|
colors: {
|
|
45
45
|
ui: {
|
|
46
|
-
white: "#ffffff",
|
|
47
|
-
"white-primary": "#ffffff",
|
|
48
|
-
"black-primary": "#111315",
|
|
49
|
-
"bg-white": "#FAFAFA",
|
|
50
46
|
primary: {
|
|
51
47
|
default: "#6C70F0",
|
|
52
48
|
50: "#EEF2FF",
|
|
@@ -174,39 +170,11 @@ var themes = {
|
|
|
174
170
|
900: "#0F172A",
|
|
175
171
|
950: "#020817"
|
|
176
172
|
},
|
|
177
|
-
// TEXT COLOR
|
|
178
|
-
"text-primary": "#111315",
|
|
179
|
-
"text-secondary": "#30353C",
|
|
180
|
-
"text-third": "#30353CCC",
|
|
181
|
-
"text-placeholder": "#11131566",
|
|
182
|
-
"text-white-placeholder": "#FDFDFD99",
|
|
183
|
-
"text-black": {
|
|
184
|
-
primary: "#19191B",
|
|
185
|
-
secondary: "#222325",
|
|
186
|
-
third: "#292A2E",
|
|
187
|
-
fourth: "#5F606A",
|
|
188
|
-
placeholder: "#B2B3BD"
|
|
189
|
-
},
|
|
190
|
-
"text-white": {
|
|
191
|
-
primary: "#FCFCFC",
|
|
192
|
-
secondary: "#F9F9F9",
|
|
193
|
-
third: "#D9D9D9"
|
|
194
|
-
},
|
|
195
173
|
// COLOR SPECIAL
|
|
196
174
|
"positive-flat": "#4ADE80",
|
|
197
175
|
"destruction-flat": "#EF4444",
|
|
198
176
|
"neutral-flat": "#BFDBFE",
|
|
199
|
-
rating: "#FDE047"
|
|
200
|
-
input: {
|
|
201
|
-
border: {
|
|
202
|
-
active: "#71717A",
|
|
203
|
-
disabled: "#D4D4D8"
|
|
204
|
-
},
|
|
205
|
-
bg: {
|
|
206
|
-
default: "#FDFDFD",
|
|
207
|
-
error: "#FEF2F2"
|
|
208
|
-
}
|
|
209
|
-
}
|
|
177
|
+
rating: "#FDE047"
|
|
210
178
|
}
|
|
211
179
|
},
|
|
212
180
|
backgroundImage: {
|
|
@@ -63,10 +63,6 @@ var themes = {
|
|
|
63
63
|
},
|
|
64
64
|
colors: {
|
|
65
65
|
ui: {
|
|
66
|
-
white: "#ffffff",
|
|
67
|
-
"white-primary": "#ffffff",
|
|
68
|
-
"black-primary": "#111315",
|
|
69
|
-
"bg-white": "#FAFAFA",
|
|
70
66
|
primary: {
|
|
71
67
|
default: "#6C70F0",
|
|
72
68
|
50: "#EEF2FF",
|
|
@@ -194,39 +190,11 @@ var themes = {
|
|
|
194
190
|
900: "#0F172A",
|
|
195
191
|
950: "#020817"
|
|
196
192
|
},
|
|
197
|
-
// TEXT COLOR
|
|
198
|
-
"text-primary": "#111315",
|
|
199
|
-
"text-secondary": "#30353C",
|
|
200
|
-
"text-third": "#30353CCC",
|
|
201
|
-
"text-placeholder": "#11131566",
|
|
202
|
-
"text-white-placeholder": "#FDFDFD99",
|
|
203
|
-
"text-black": {
|
|
204
|
-
primary: "#19191B",
|
|
205
|
-
secondary: "#222325",
|
|
206
|
-
third: "#292A2E",
|
|
207
|
-
fourth: "#5F606A",
|
|
208
|
-
placeholder: "#B2B3BD"
|
|
209
|
-
},
|
|
210
|
-
"text-white": {
|
|
211
|
-
primary: "#FCFCFC",
|
|
212
|
-
secondary: "#F9F9F9",
|
|
213
|
-
third: "#D9D9D9"
|
|
214
|
-
},
|
|
215
193
|
// COLOR SPECIAL
|
|
216
194
|
"positive-flat": "#4ADE80",
|
|
217
195
|
"destruction-flat": "#EF4444",
|
|
218
196
|
"neutral-flat": "#BFDBFE",
|
|
219
|
-
rating: "#FDE047"
|
|
220
|
-
input: {
|
|
221
|
-
border: {
|
|
222
|
-
active: "#71717A",
|
|
223
|
-
disabled: "#D4D4D8"
|
|
224
|
-
},
|
|
225
|
-
bg: {
|
|
226
|
-
default: "#FDFDFD",
|
|
227
|
-
error: "#FEF2F2"
|
|
228
|
-
}
|
|
229
|
-
}
|
|
197
|
+
rating: "#FDE047"
|
|
230
198
|
}
|
|
231
199
|
},
|
|
232
200
|
backgroundImage: {
|
|
@@ -13,10 +13,6 @@ var themes = {
|
|
|
13
13
|
},
|
|
14
14
|
colors: {
|
|
15
15
|
ui: {
|
|
16
|
-
white: "#ffffff",
|
|
17
|
-
"white-primary": "#ffffff",
|
|
18
|
-
"black-primary": "#111315",
|
|
19
|
-
"bg-white": "#FAFAFA",
|
|
20
16
|
primary: {
|
|
21
17
|
default: "#6C70F0",
|
|
22
18
|
50: "#EEF2FF",
|
|
@@ -144,39 +140,11 @@ var themes = {
|
|
|
144
140
|
900: "#0F172A",
|
|
145
141
|
950: "#020817"
|
|
146
142
|
},
|
|
147
|
-
// TEXT COLOR
|
|
148
|
-
"text-primary": "#111315",
|
|
149
|
-
"text-secondary": "#30353C",
|
|
150
|
-
"text-third": "#30353CCC",
|
|
151
|
-
"text-placeholder": "#11131566",
|
|
152
|
-
"text-white-placeholder": "#FDFDFD99",
|
|
153
|
-
"text-black": {
|
|
154
|
-
primary: "#19191B",
|
|
155
|
-
secondary: "#222325",
|
|
156
|
-
third: "#292A2E",
|
|
157
|
-
fourth: "#5F606A",
|
|
158
|
-
placeholder: "#B2B3BD"
|
|
159
|
-
},
|
|
160
|
-
"text-white": {
|
|
161
|
-
primary: "#FCFCFC",
|
|
162
|
-
secondary: "#F9F9F9",
|
|
163
|
-
third: "#D9D9D9"
|
|
164
|
-
},
|
|
165
143
|
// COLOR SPECIAL
|
|
166
144
|
"positive-flat": "#4ADE80",
|
|
167
145
|
"destruction-flat": "#EF4444",
|
|
168
146
|
"neutral-flat": "#BFDBFE",
|
|
169
|
-
rating: "#FDE047"
|
|
170
|
-
input: {
|
|
171
|
-
border: {
|
|
172
|
-
active: "#71717A",
|
|
173
|
-
disabled: "#D4D4D8"
|
|
174
|
-
},
|
|
175
|
-
bg: {
|
|
176
|
-
default: "#FDFDFD",
|
|
177
|
-
error: "#FEF2F2"
|
|
178
|
-
}
|
|
179
|
-
}
|
|
147
|
+
rating: "#FDE047"
|
|
180
148
|
}
|
|
181
149
|
},
|
|
182
150
|
backgroundImage: {
|
|
@@ -36,10 +36,6 @@ var themes = {
|
|
|
36
36
|
},
|
|
37
37
|
colors: {
|
|
38
38
|
ui: {
|
|
39
|
-
white: "#ffffff",
|
|
40
|
-
"white-primary": "#ffffff",
|
|
41
|
-
"black-primary": "#111315",
|
|
42
|
-
"bg-white": "#FAFAFA",
|
|
43
39
|
primary: {
|
|
44
40
|
default: "#6C70F0",
|
|
45
41
|
50: "#EEF2FF",
|
|
@@ -167,39 +163,11 @@ var themes = {
|
|
|
167
163
|
900: "#0F172A",
|
|
168
164
|
950: "#020817"
|
|
169
165
|
},
|
|
170
|
-
// TEXT COLOR
|
|
171
|
-
"text-primary": "#111315",
|
|
172
|
-
"text-secondary": "#30353C",
|
|
173
|
-
"text-third": "#30353CCC",
|
|
174
|
-
"text-placeholder": "#11131566",
|
|
175
|
-
"text-white-placeholder": "#FDFDFD99",
|
|
176
|
-
"text-black": {
|
|
177
|
-
primary: "#19191B",
|
|
178
|
-
secondary: "#222325",
|
|
179
|
-
third: "#292A2E",
|
|
180
|
-
fourth: "#5F606A",
|
|
181
|
-
placeholder: "#B2B3BD"
|
|
182
|
-
},
|
|
183
|
-
"text-white": {
|
|
184
|
-
primary: "#FCFCFC",
|
|
185
|
-
secondary: "#F9F9F9",
|
|
186
|
-
third: "#D9D9D9"
|
|
187
|
-
},
|
|
188
166
|
// COLOR SPECIAL
|
|
189
167
|
"positive-flat": "#4ADE80",
|
|
190
168
|
"destruction-flat": "#EF4444",
|
|
191
169
|
"neutral-flat": "#BFDBFE",
|
|
192
|
-
rating: "#FDE047"
|
|
193
|
-
input: {
|
|
194
|
-
border: {
|
|
195
|
-
active: "#71717A",
|
|
196
|
-
disabled: "#D4D4D8"
|
|
197
|
-
},
|
|
198
|
-
bg: {
|
|
199
|
-
default: "#FDFDFD",
|
|
200
|
-
error: "#FEF2F2"
|
|
201
|
-
}
|
|
202
|
-
}
|
|
170
|
+
rating: "#FDE047"
|
|
203
171
|
}
|
|
204
172
|
},
|
|
205
173
|
backgroundImage: {
|
|
@@ -4,8 +4,8 @@ import * as class_variance_authority_dist_types from 'class-variance-authority/d
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const buttonVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
8
|
-
size?: "
|
|
7
|
+
variant?: "default" | "secondary" | "outline" | "destructive" | "destructive-secondary" | "destructive-outline" | "sort-outline" | "normal" | null | undefined;
|
|
8
|
+
size?: "base" | "small" | "default" | "large" | null | undefined;
|
|
9
9
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
10
10
|
|
|
11
11
|
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -17,7 +17,7 @@ var buttonVariants = cva(
|
|
|
17
17
|
"destructive-secondary": "bg-ui-destructive-50 !text-ui-destructive-500 enabled:active:ring-ui-destructive-200",
|
|
18
18
|
"destructive-outline": "border border-solid border-ui-destructive-400 bg-ui-destructive-50 !text-ui-destructive-500 ring-ui-destructive-200 disabled:opacity-60",
|
|
19
19
|
"sort-outline": "bg-ui-primary-50 !text-ui-primary-500 enabled:focus:ring-ui-primary-200",
|
|
20
|
-
normal: "border-ui-black border border-solid bg-ui-
|
|
20
|
+
normal: "border-ui-black border border-solid bg-ui-surface-50 enabled:active:shadow-ui-xl"
|
|
21
21
|
},
|
|
22
22
|
size: {
|
|
23
23
|
default: "px-3 py-1.5 text-ui-note font-semibold",
|
|
@@ -43,10 +43,6 @@ var themes = {
|
|
|
43
43
|
},
|
|
44
44
|
colors: {
|
|
45
45
|
ui: {
|
|
46
|
-
white: "#ffffff",
|
|
47
|
-
"white-primary": "#ffffff",
|
|
48
|
-
"black-primary": "#111315",
|
|
49
|
-
"bg-white": "#FAFAFA",
|
|
50
46
|
primary: {
|
|
51
47
|
default: "#6C70F0",
|
|
52
48
|
50: "#EEF2FF",
|
|
@@ -174,39 +170,11 @@ var themes = {
|
|
|
174
170
|
900: "#0F172A",
|
|
175
171
|
950: "#020817"
|
|
176
172
|
},
|
|
177
|
-
// TEXT COLOR
|
|
178
|
-
"text-primary": "#111315",
|
|
179
|
-
"text-secondary": "#30353C",
|
|
180
|
-
"text-third": "#30353CCC",
|
|
181
|
-
"text-placeholder": "#11131566",
|
|
182
|
-
"text-white-placeholder": "#FDFDFD99",
|
|
183
|
-
"text-black": {
|
|
184
|
-
primary: "#19191B",
|
|
185
|
-
secondary: "#222325",
|
|
186
|
-
third: "#292A2E",
|
|
187
|
-
fourth: "#5F606A",
|
|
188
|
-
placeholder: "#B2B3BD"
|
|
189
|
-
},
|
|
190
|
-
"text-white": {
|
|
191
|
-
primary: "#FCFCFC",
|
|
192
|
-
secondary: "#F9F9F9",
|
|
193
|
-
third: "#D9D9D9"
|
|
194
|
-
},
|
|
195
173
|
// COLOR SPECIAL
|
|
196
174
|
"positive-flat": "#4ADE80",
|
|
197
175
|
"destruction-flat": "#EF4444",
|
|
198
176
|
"neutral-flat": "#BFDBFE",
|
|
199
|
-
rating: "#FDE047"
|
|
200
|
-
input: {
|
|
201
|
-
border: {
|
|
202
|
-
active: "#71717A",
|
|
203
|
-
disabled: "#D4D4D8"
|
|
204
|
-
},
|
|
205
|
-
bg: {
|
|
206
|
-
default: "#FDFDFD",
|
|
207
|
-
error: "#FEF2F2"
|
|
208
|
-
}
|
|
209
|
-
}
|
|
177
|
+
rating: "#FDE047"
|
|
210
178
|
}
|
|
211
179
|
},
|
|
212
180
|
backgroundImage: {
|
package/dist/Atoms/Card/index.js
CHANGED
|
@@ -13,10 +13,6 @@ var themes = {
|
|
|
13
13
|
},
|
|
14
14
|
colors: {
|
|
15
15
|
ui: {
|
|
16
|
-
white: "#ffffff",
|
|
17
|
-
"white-primary": "#ffffff",
|
|
18
|
-
"black-primary": "#111315",
|
|
19
|
-
"bg-white": "#FAFAFA",
|
|
20
16
|
primary: {
|
|
21
17
|
default: "#6C70F0",
|
|
22
18
|
50: "#EEF2FF",
|
|
@@ -144,39 +140,11 @@ var themes = {
|
|
|
144
140
|
900: "#0F172A",
|
|
145
141
|
950: "#020817"
|
|
146
142
|
},
|
|
147
|
-
// TEXT COLOR
|
|
148
|
-
"text-primary": "#111315",
|
|
149
|
-
"text-secondary": "#30353C",
|
|
150
|
-
"text-third": "#30353CCC",
|
|
151
|
-
"text-placeholder": "#11131566",
|
|
152
|
-
"text-white-placeholder": "#FDFDFD99",
|
|
153
|
-
"text-black": {
|
|
154
|
-
primary: "#19191B",
|
|
155
|
-
secondary: "#222325",
|
|
156
|
-
third: "#292A2E",
|
|
157
|
-
fourth: "#5F606A",
|
|
158
|
-
placeholder: "#B2B3BD"
|
|
159
|
-
},
|
|
160
|
-
"text-white": {
|
|
161
|
-
primary: "#FCFCFC",
|
|
162
|
-
secondary: "#F9F9F9",
|
|
163
|
-
third: "#D9D9D9"
|
|
164
|
-
},
|
|
165
143
|
// COLOR SPECIAL
|
|
166
144
|
"positive-flat": "#4ADE80",
|
|
167
145
|
"destruction-flat": "#EF4444",
|
|
168
146
|
"neutral-flat": "#BFDBFE",
|
|
169
|
-
rating: "#FDE047"
|
|
170
|
-
input: {
|
|
171
|
-
border: {
|
|
172
|
-
active: "#71717A",
|
|
173
|
-
disabled: "#D4D4D8"
|
|
174
|
-
},
|
|
175
|
-
bg: {
|
|
176
|
-
default: "#FDFDFD",
|
|
177
|
-
error: "#FEF2F2"
|
|
178
|
-
}
|
|
179
|
-
}
|
|
147
|
+
rating: "#FDE047"
|
|
180
148
|
}
|
|
181
149
|
},
|
|
182
150
|
backgroundImage: {
|
|
@@ -27,7 +27,7 @@ var buttonVariants = cva(
|
|
|
27
27
|
"destructive-secondary": "bg-ui-destructive-50 !text-ui-destructive-500 enabled:active:ring-ui-destructive-200",
|
|
28
28
|
"destructive-outline": "border border-solid border-ui-destructive-400 bg-ui-destructive-50 !text-ui-destructive-500 ring-ui-destructive-200 disabled:opacity-60",
|
|
29
29
|
"sort-outline": "bg-ui-primary-50 !text-ui-primary-500 enabled:focus:ring-ui-primary-200",
|
|
30
|
-
normal: "border-ui-black border border-solid bg-ui-
|
|
30
|
+
normal: "border-ui-black border border-solid bg-ui-surface-50 enabled:active:shadow-ui-xl"
|
|
31
31
|
},
|
|
32
32
|
size: {
|
|
33
33
|
default: "px-3 py-1.5 text-ui-note font-semibold",
|
|
@@ -53,10 +53,6 @@ var themes = {
|
|
|
53
53
|
},
|
|
54
54
|
colors: {
|
|
55
55
|
ui: {
|
|
56
|
-
white: "#ffffff",
|
|
57
|
-
"white-primary": "#ffffff",
|
|
58
|
-
"black-primary": "#111315",
|
|
59
|
-
"bg-white": "#FAFAFA",
|
|
60
56
|
primary: {
|
|
61
57
|
default: "#6C70F0",
|
|
62
58
|
50: "#EEF2FF",
|
|
@@ -184,39 +180,11 @@ var themes = {
|
|
|
184
180
|
900: "#0F172A",
|
|
185
181
|
950: "#020817"
|
|
186
182
|
},
|
|
187
|
-
// TEXT COLOR
|
|
188
|
-
"text-primary": "#111315",
|
|
189
|
-
"text-secondary": "#30353C",
|
|
190
|
-
"text-third": "#30353CCC",
|
|
191
|
-
"text-placeholder": "#11131566",
|
|
192
|
-
"text-white-placeholder": "#FDFDFD99",
|
|
193
|
-
"text-black": {
|
|
194
|
-
primary: "#19191B",
|
|
195
|
-
secondary: "#222325",
|
|
196
|
-
third: "#292A2E",
|
|
197
|
-
fourth: "#5F606A",
|
|
198
|
-
placeholder: "#B2B3BD"
|
|
199
|
-
},
|
|
200
|
-
"text-white": {
|
|
201
|
-
primary: "#FCFCFC",
|
|
202
|
-
secondary: "#F9F9F9",
|
|
203
|
-
third: "#D9D9D9"
|
|
204
|
-
},
|
|
205
183
|
// COLOR SPECIAL
|
|
206
184
|
"positive-flat": "#4ADE80",
|
|
207
185
|
"destruction-flat": "#EF4444",
|
|
208
186
|
"neutral-flat": "#BFDBFE",
|
|
209
|
-
rating: "#FDE047"
|
|
210
|
-
input: {
|
|
211
|
-
border: {
|
|
212
|
-
active: "#71717A",
|
|
213
|
-
disabled: "#D4D4D8"
|
|
214
|
-
},
|
|
215
|
-
bg: {
|
|
216
|
-
default: "#FDFDFD",
|
|
217
|
-
error: "#FEF2F2"
|
|
218
|
-
}
|
|
219
|
-
}
|
|
187
|
+
rating: "#FDE047"
|
|
220
188
|
}
|
|
221
189
|
},
|
|
222
190
|
backgroundImage: {
|
|
@@ -13,10 +13,6 @@ var themes = {
|
|
|
13
13
|
},
|
|
14
14
|
colors: {
|
|
15
15
|
ui: {
|
|
16
|
-
white: "#ffffff",
|
|
17
|
-
"white-primary": "#ffffff",
|
|
18
|
-
"black-primary": "#111315",
|
|
19
|
-
"bg-white": "#FAFAFA",
|
|
20
16
|
primary: {
|
|
21
17
|
default: "#6C70F0",
|
|
22
18
|
50: "#EEF2FF",
|
|
@@ -144,39 +140,11 @@ var themes = {
|
|
|
144
140
|
900: "#0F172A",
|
|
145
141
|
950: "#020817"
|
|
146
142
|
},
|
|
147
|
-
// TEXT COLOR
|
|
148
|
-
"text-primary": "#111315",
|
|
149
|
-
"text-secondary": "#30353C",
|
|
150
|
-
"text-third": "#30353CCC",
|
|
151
|
-
"text-placeholder": "#11131566",
|
|
152
|
-
"text-white-placeholder": "#FDFDFD99",
|
|
153
|
-
"text-black": {
|
|
154
|
-
primary: "#19191B",
|
|
155
|
-
secondary: "#222325",
|
|
156
|
-
third: "#292A2E",
|
|
157
|
-
fourth: "#5F606A",
|
|
158
|
-
placeholder: "#B2B3BD"
|
|
159
|
-
},
|
|
160
|
-
"text-white": {
|
|
161
|
-
primary: "#FCFCFC",
|
|
162
|
-
secondary: "#F9F9F9",
|
|
163
|
-
third: "#D9D9D9"
|
|
164
|
-
},
|
|
165
143
|
// COLOR SPECIAL
|
|
166
144
|
"positive-flat": "#4ADE80",
|
|
167
145
|
"destruction-flat": "#EF4444",
|
|
168
146
|
"neutral-flat": "#BFDBFE",
|
|
169
|
-
rating: "#FDE047"
|
|
170
|
-
input: {
|
|
171
|
-
border: {
|
|
172
|
-
active: "#71717A",
|
|
173
|
-
disabled: "#D4D4D8"
|
|
174
|
-
},
|
|
175
|
-
bg: {
|
|
176
|
-
default: "#FDFDFD",
|
|
177
|
-
error: "#FEF2F2"
|
|
178
|
-
}
|
|
179
|
-
}
|
|
147
|
+
rating: "#FDE047"
|
|
180
148
|
}
|
|
181
149
|
},
|
|
182
150
|
backgroundImage: {
|
|
@@ -4,11 +4,11 @@ import { DialogProps } from '@radix-ui/react-dialog';
|
|
|
4
4
|
|
|
5
5
|
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
6
6
|
children?: React.ReactNode;
|
|
7
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
7
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
8
8
|
ref?: React.Ref<HTMLDivElement>;
|
|
9
9
|
} & {
|
|
10
10
|
asChild?: boolean;
|
|
11
|
-
}, "key" | "asChild"
|
|
11
|
+
}, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
|
|
12
12
|
label?: string;
|
|
13
13
|
shouldFilter?: boolean;
|
|
14
14
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -26,51 +26,51 @@ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<
|
|
|
26
26
|
ref?: React.Ref<HTMLInputElement>;
|
|
27
27
|
} & {
|
|
28
28
|
asChild?: boolean;
|
|
29
|
-
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "
|
|
29
|
+
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
30
30
|
value?: string;
|
|
31
31
|
onValueChange?: (search: string) => void;
|
|
32
32
|
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
33
33
|
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
34
34
|
children?: React.ReactNode;
|
|
35
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
35
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
36
36
|
ref?: React.Ref<HTMLDivElement>;
|
|
37
37
|
} & {
|
|
38
38
|
asChild?: boolean;
|
|
39
|
-
}, "key" | "asChild"
|
|
39
|
+
}, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
|
|
40
40
|
label?: string;
|
|
41
41
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
42
42
|
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
43
43
|
children?: React.ReactNode;
|
|
44
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
44
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
45
45
|
ref?: React.Ref<HTMLDivElement>;
|
|
46
46
|
} & {
|
|
47
47
|
asChild?: boolean;
|
|
48
|
-
}, "key" | "asChild"
|
|
48
|
+
}, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
49
49
|
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
50
50
|
children?: React.ReactNode;
|
|
51
|
-
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
51
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
52
52
|
ref?: React.Ref<HTMLDivElement>;
|
|
53
53
|
} & {
|
|
54
54
|
asChild?: boolean;
|
|
55
|
-
}, "key" | "asChild"
|
|
55
|
+
}, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild">, "value" | "heading"> & {
|
|
56
56
|
heading?: React.ReactNode;
|
|
57
57
|
value?: string;
|
|
58
58
|
forceMount?: boolean;
|
|
59
59
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
60
|
-
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
60
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
61
61
|
ref?: React.Ref<HTMLDivElement>;
|
|
62
62
|
} & {
|
|
63
63
|
asChild?: boolean;
|
|
64
|
-
}, "key" | "asChild"
|
|
64
|
+
}, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
|
|
65
65
|
alwaysRender?: boolean;
|
|
66
66
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
67
67
|
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
68
68
|
children?: React.ReactNode;
|
|
69
|
-
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
69
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
70
70
|
ref?: React.Ref<HTMLDivElement>;
|
|
71
71
|
} & {
|
|
72
72
|
asChild?: boolean;
|
|
73
|
-
}, "key" | "asChild"
|
|
73
|
+
}, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild">, "disabled" | "onSelect" | "value"> & {
|
|
74
74
|
disabled?: boolean;
|
|
75
75
|
onSelect?: (value: string) => void;
|
|
76
76
|
value?: string;
|
|
@@ -16,10 +16,6 @@ var themes = {
|
|
|
16
16
|
},
|
|
17
17
|
colors: {
|
|
18
18
|
ui: {
|
|
19
|
-
white: "#ffffff",
|
|
20
|
-
"white-primary": "#ffffff",
|
|
21
|
-
"black-primary": "#111315",
|
|
22
|
-
"bg-white": "#FAFAFA",
|
|
23
19
|
primary: {
|
|
24
20
|
default: "#6C70F0",
|
|
25
21
|
50: "#EEF2FF",
|
|
@@ -147,39 +143,11 @@ var themes = {
|
|
|
147
143
|
900: "#0F172A",
|
|
148
144
|
950: "#020817"
|
|
149
145
|
},
|
|
150
|
-
// TEXT COLOR
|
|
151
|
-
"text-primary": "#111315",
|
|
152
|
-
"text-secondary": "#30353C",
|
|
153
|
-
"text-third": "#30353CCC",
|
|
154
|
-
"text-placeholder": "#11131566",
|
|
155
|
-
"text-white-placeholder": "#FDFDFD99",
|
|
156
|
-
"text-black": {
|
|
157
|
-
primary: "#19191B",
|
|
158
|
-
secondary: "#222325",
|
|
159
|
-
third: "#292A2E",
|
|
160
|
-
fourth: "#5F606A",
|
|
161
|
-
placeholder: "#B2B3BD"
|
|
162
|
-
},
|
|
163
|
-
"text-white": {
|
|
164
|
-
primary: "#FCFCFC",
|
|
165
|
-
secondary: "#F9F9F9",
|
|
166
|
-
third: "#D9D9D9"
|
|
167
|
-
},
|
|
168
146
|
// COLOR SPECIAL
|
|
169
147
|
"positive-flat": "#4ADE80",
|
|
170
148
|
"destruction-flat": "#EF4444",
|
|
171
149
|
"neutral-flat": "#BFDBFE",
|
|
172
|
-
rating: "#FDE047"
|
|
173
|
-
input: {
|
|
174
|
-
border: {
|
|
175
|
-
active: "#71717A",
|
|
176
|
-
disabled: "#D4D4D8"
|
|
177
|
-
},
|
|
178
|
-
bg: {
|
|
179
|
-
default: "#FDFDFD",
|
|
180
|
-
error: "#FEF2F2"
|
|
181
|
-
}
|
|
182
|
-
}
|
|
150
|
+
rating: "#FDE047"
|
|
183
151
|
}
|
|
184
152
|
},
|
|
185
153
|
backgroundImage: {
|
|
@@ -348,7 +316,7 @@ var Command = React2.forwardRef(({ className, ...props }, reference) => /* @__PU
|
|
|
348
316
|
{
|
|
349
317
|
ref: reference,
|
|
350
318
|
className: cn(
|
|
351
|
-
"flex h-full w-full flex-col overflow-hidden rounded-md bg-ui-
|
|
319
|
+
"flex h-full w-full flex-col overflow-hidden rounded-md bg-ui-surface-50 text-ui-text-800",
|
|
352
320
|
className
|
|
353
321
|
),
|
|
354
322
|
...props
|