@particle-network/ui-react 0.5.1-beta.7 → 0.5.1-beta.9
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/ProgressWrapper/index.js +1 -1
- package/dist/components/UXButton/button-theme.js +2 -2
- package/dist/components/UXCheckbox/checkbox.extend.js +1 -1
- package/dist/components/UXColorPicker/color-input.js +1 -1
- package/dist/components/UXColorPicker/color-picker.js +2 -2
- package/dist/components/UXCopy/index.js +1 -1
- package/dist/components/UXEmpty/index.js +1 -1
- package/dist/components/UXHint/index.js +1 -1
- package/dist/components/UXInput/index.d.ts +2 -2
- package/dist/components/UXInput/input.extend.d.ts +2 -2
- package/dist/components/UXRadio/radio.extend.js +3 -3
- package/dist/components/UXSlider/use-slider.js +1 -1
- package/dist/components/UXSpinner/spinner.js +1 -1
- package/dist/components/UXSwitch/switch.extend.js +6 -6
- package/dist/components/UXTable/index.d.ts +2 -2
- package/dist/components/UXTable/table.extend.d.ts +2 -2
- package/dist/components/UXTabs/tabs.classes.js +4 -4
- package/dist/components/UXThemeSwitch/custom-theme-config.js +7 -5
- package/dist/components/UXThemeSwitch/theme-item.js +3 -3
- package/dist/components/UXThemeSwitch/theme-switch.js +1 -1
- package/dist/components/UXThemeSwitch/use-theme-store.js +1 -1
- package/dist/components/UXThemeSwitch/utils.js +29 -9
- package/dist/components/UXToast/index.js +3 -3
- package/dist/components/layout/Box/box-theme.d.ts +456 -39
- package/dist/components/layout/Box/box-theme.js +30 -10
- package/dist/components/layout/Box/box.js +4 -4
- package/dist/components/layout/Square.js +2 -4
- package/dist/components/typography/Text.js +4 -4
- package/dist/hooks/useI18n.d.ts +14 -10
- package/dist/hooks/useI18n.js +14 -10
- package/dist/utils/cn.d.ts +2 -0
- package/dist/utils/cn.js +258 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +2 -1
- package/dist/utils/input-classes.js +2 -2
- package/package.json +5 -5
- package/tailwind-preset.js +62 -12
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useMemo } from "react";
|
|
3
|
-
import { cn } from "@heroui/theme";
|
|
4
3
|
import { boxVariants } from "./box-theme.js";
|
|
5
4
|
const Box = /*#__PURE__*/ forwardRef(({ as, position, display, aspect, overflow, zIndex, direction, items, justify, gap, wrap, self, fill, vertical, horizontal, center, grow, shrink, order, p, pt, pr, pb, pl, ps, pe, px, py, m, mt, mr, mb, ml, ms, me, mx, my, w, h, minW, maxW, minH, maxH, fullWidth, fullHeight, bg, opacity, shadow, rounded, radius, borderStyle, cursor, color, fontWeight, lineHeight, textAlign, style = {}, className, ...props }, ref)=>{
|
|
6
5
|
const Component = as || 'div';
|
|
@@ -26,7 +25,7 @@ const Box = /*#__PURE__*/ forwardRef(({ as, position, display, aspect, overflow,
|
|
|
26
25
|
return /*#__PURE__*/ jsx(Component, {
|
|
27
26
|
ref: ref,
|
|
28
27
|
style: boxStyle,
|
|
29
|
-
className:
|
|
28
|
+
className: boxVariants({
|
|
30
29
|
position,
|
|
31
30
|
display,
|
|
32
31
|
aspect,
|
|
@@ -81,8 +80,9 @@ const Box = /*#__PURE__*/ forwardRef(({ as, position, display, aspect, overflow,
|
|
|
81
80
|
color: color,
|
|
82
81
|
fontWeight,
|
|
83
82
|
lineHeight,
|
|
84
|
-
textAlign
|
|
85
|
-
|
|
83
|
+
textAlign,
|
|
84
|
+
className
|
|
85
|
+
}),
|
|
86
86
|
...props
|
|
87
87
|
});
|
|
88
88
|
});
|
|
@@ -4,10 +4,8 @@ import { Center } from "./Center.js";
|
|
|
4
4
|
const Square = /*#__PURE__*/ forwardRef(({ size, ...props }, ref)=>/*#__PURE__*/ jsx(Center, {
|
|
5
5
|
ref: ref,
|
|
6
6
|
shrink: 0,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
height: `${size}px`
|
|
10
|
-
},
|
|
7
|
+
w: size,
|
|
8
|
+
aspect: "square",
|
|
11
9
|
...props
|
|
12
10
|
}));
|
|
13
11
|
Square.displayName = 'UX.Square';
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
|
-
import { cn } from "@heroui/theme";
|
|
4
3
|
import { Box } from "../layout/index.js";
|
|
5
4
|
import { textVariants } from "./text-theme.js";
|
|
6
5
|
const Text = /*#__PURE__*/ forwardRef(({ variant, className, h1, h2, h3, body1, body1Bold, body2, body2Bold, body3, body3Bold, caption1, caption1Bold, fontWeight, lineHeight, align, textAlign, ...props }, ref)=>/*#__PURE__*/ jsx(Box, {
|
|
7
6
|
ref: ref,
|
|
8
7
|
as: "span",
|
|
9
8
|
textAlign: textAlign || align,
|
|
10
|
-
className:
|
|
9
|
+
className: textVariants({
|
|
11
10
|
variant,
|
|
12
11
|
h1,
|
|
13
12
|
h2,
|
|
@@ -21,8 +20,9 @@ const Text = /*#__PURE__*/ forwardRef(({ variant, className, h1, h2, h3, body1,
|
|
|
21
20
|
caption1,
|
|
22
21
|
caption1Bold,
|
|
23
22
|
fontWeight,
|
|
24
|
-
lineHeight
|
|
25
|
-
|
|
23
|
+
lineHeight,
|
|
24
|
+
className
|
|
25
|
+
}),
|
|
26
26
|
...props
|
|
27
27
|
}));
|
|
28
28
|
Text.displayName = 'UX.Text';
|
package/dist/hooks/useI18n.d.ts
CHANGED
|
@@ -40,11 +40,12 @@ export declare const useI18n: () => {
|
|
|
40
40
|
readonly primary: "Primary";
|
|
41
41
|
readonly bullish: "Positive";
|
|
42
42
|
readonly bearish: "Negative";
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
43
|
+
readonly bgDefault: "Background Primary";
|
|
44
|
+
readonly bg200: "Background Quaternary";
|
|
45
|
+
readonly bg300: "Background Tertiary";
|
|
46
|
+
readonly bg400: "Background Secondary";
|
|
47
|
+
readonly cursor: "Background Selected";
|
|
48
|
+
readonly overlay: "Background Overlay";
|
|
48
49
|
readonly default: "Default";
|
|
49
50
|
readonly foreground: "Text Primary";
|
|
50
51
|
readonly secondary: "Text Secondary";
|
|
@@ -54,6 +55,7 @@ export declare const useI18n: () => {
|
|
|
54
55
|
readonly danger: "Signal Red";
|
|
55
56
|
readonly warning: "Signal Yellow";
|
|
56
57
|
readonly alert: "Signal Orange";
|
|
58
|
+
readonly blue: "Signal Blue";
|
|
57
59
|
readonly candleUp: "Body (up)";
|
|
58
60
|
readonly candleDown: "Body (down)";
|
|
59
61
|
readonly candleWickUp: "Wick (up)";
|
|
@@ -107,11 +109,12 @@ export declare const useI18n: () => {
|
|
|
107
109
|
readonly primary: "主要色";
|
|
108
110
|
readonly bullish: "上涨色";
|
|
109
111
|
readonly bearish: "下跌色";
|
|
110
|
-
readonly
|
|
111
|
-
readonly
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
114
|
-
readonly
|
|
112
|
+
readonly bgDefault: "一级背景色";
|
|
113
|
+
readonly bg200: "四级背景色";
|
|
114
|
+
readonly bg300: "三级背景色";
|
|
115
|
+
readonly bg400: "二级背景色";
|
|
116
|
+
readonly cursor: "选中背景色";
|
|
117
|
+
readonly overlay: "浮窗背景色";
|
|
115
118
|
readonly default: "默认";
|
|
116
119
|
readonly foreground: "一级文字色";
|
|
117
120
|
readonly secondary: "二级文字色";
|
|
@@ -121,6 +124,7 @@ export declare const useI18n: () => {
|
|
|
121
124
|
readonly danger: "红色信号";
|
|
122
125
|
readonly warning: "黄色信号";
|
|
123
126
|
readonly alert: "橙色信号";
|
|
127
|
+
readonly blue: "蓝色信号";
|
|
124
128
|
readonly candleUp: "主体色 (上涨)";
|
|
125
129
|
readonly candleDown: "主体色 (下跌)";
|
|
126
130
|
readonly candleWickUp: "影线 (上涨)";
|
package/dist/hooks/useI18n.js
CHANGED
|
@@ -42,11 +42,12 @@ const en = {
|
|
|
42
42
|
primary: 'Primary',
|
|
43
43
|
bullish: 'Positive',
|
|
44
44
|
bearish: 'Negative',
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
bgDefault: 'Background Primary',
|
|
46
|
+
bg200: 'Background Quaternary',
|
|
47
|
+
bg300: 'Background Tertiary',
|
|
48
|
+
bg400: 'Background Secondary',
|
|
49
|
+
cursor: 'Background Selected',
|
|
50
|
+
overlay: 'Background Overlay',
|
|
50
51
|
default: 'Default',
|
|
51
52
|
foreground: 'Text Primary',
|
|
52
53
|
secondary: 'Text Secondary',
|
|
@@ -56,6 +57,7 @@ const en = {
|
|
|
56
57
|
danger: 'Signal Red',
|
|
57
58
|
warning: 'Signal Yellow',
|
|
58
59
|
alert: 'Signal Orange',
|
|
60
|
+
blue: 'Signal Blue',
|
|
59
61
|
candleUp: 'Body (up)',
|
|
60
62
|
candleDown: 'Body (down)',
|
|
61
63
|
candleWickUp: 'Wick (up)',
|
|
@@ -110,11 +112,12 @@ const zh = {
|
|
|
110
112
|
primary: '主要色',
|
|
111
113
|
bullish: '上涨色',
|
|
112
114
|
bearish: '下跌色',
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
bgDefault: '一级背景色',
|
|
116
|
+
bg200: '四级背景色',
|
|
117
|
+
bg300: '三级背景色',
|
|
118
|
+
bg400: '二级背景色',
|
|
119
|
+
cursor: '选中背景色',
|
|
120
|
+
overlay: '浮窗背景色',
|
|
118
121
|
default: '默认',
|
|
119
122
|
foreground: '一级文字色',
|
|
120
123
|
secondary: '二级文字色',
|
|
@@ -124,6 +127,7 @@ const zh = {
|
|
|
124
127
|
danger: '红色信号',
|
|
125
128
|
warning: '黄色信号',
|
|
126
129
|
alert: '橙色信号',
|
|
130
|
+
blue: '蓝色信号',
|
|
127
131
|
candleUp: '主体色 (上涨)',
|
|
128
132
|
candleDown: '主体色 (下跌)',
|
|
129
133
|
candleWickUp: '影线 (上涨)',
|
package/dist/utils/cn.js
ADDED
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { clsx } from "clsx";
|
|
2
|
+
import { extendTailwindMerge, twMerge } from "tailwind-merge";
|
|
3
|
+
const COMMON_UNITS = [
|
|
4
|
+
'small',
|
|
5
|
+
'medium',
|
|
6
|
+
'large'
|
|
7
|
+
];
|
|
8
|
+
const FONT_SIZE = [
|
|
9
|
+
'xxs',
|
|
10
|
+
'tiny',
|
|
11
|
+
'caption1',
|
|
12
|
+
'body3',
|
|
13
|
+
'body2',
|
|
14
|
+
'body1',
|
|
15
|
+
'h4',
|
|
16
|
+
'h3',
|
|
17
|
+
'h2',
|
|
18
|
+
'h1'
|
|
19
|
+
];
|
|
20
|
+
const COMMON_SPACING = [
|
|
21
|
+
'xs',
|
|
22
|
+
'sm',
|
|
23
|
+
'md',
|
|
24
|
+
'lg'
|
|
25
|
+
];
|
|
26
|
+
const OPACITY = [
|
|
27
|
+
'disabled',
|
|
28
|
+
'hover'
|
|
29
|
+
];
|
|
30
|
+
const cn_twMerge = extendTailwindMerge({
|
|
31
|
+
extend: {
|
|
32
|
+
classGroups: {
|
|
33
|
+
'font-size': [
|
|
34
|
+
{
|
|
35
|
+
text: [
|
|
36
|
+
...FONT_SIZE,
|
|
37
|
+
...COMMON_UNITS
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
px: [
|
|
42
|
+
{
|
|
43
|
+
px: COMMON_SPACING
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
py: [
|
|
47
|
+
{
|
|
48
|
+
py: COMMON_SPACING
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
pt: [
|
|
52
|
+
{
|
|
53
|
+
pt: COMMON_SPACING
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
pb: [
|
|
57
|
+
{
|
|
58
|
+
pb: COMMON_SPACING
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
pl: [
|
|
62
|
+
{
|
|
63
|
+
pl: COMMON_SPACING
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
pr: [
|
|
67
|
+
{
|
|
68
|
+
pr: COMMON_SPACING
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
ps: [
|
|
72
|
+
{
|
|
73
|
+
ps: COMMON_SPACING
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
pe: [
|
|
77
|
+
{
|
|
78
|
+
pe: COMMON_SPACING
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
p: [
|
|
82
|
+
{
|
|
83
|
+
p: COMMON_SPACING
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
m: [
|
|
87
|
+
{
|
|
88
|
+
m: COMMON_SPACING
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
mx: [
|
|
92
|
+
{
|
|
93
|
+
mx: COMMON_SPACING
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
my: [
|
|
97
|
+
{
|
|
98
|
+
my: COMMON_SPACING
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
mt: [
|
|
102
|
+
{
|
|
103
|
+
mt: COMMON_SPACING
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
mb: [
|
|
107
|
+
{
|
|
108
|
+
mb: COMMON_SPACING
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
ml: [
|
|
112
|
+
{
|
|
113
|
+
ml: COMMON_SPACING
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
mr: [
|
|
117
|
+
{
|
|
118
|
+
mr: COMMON_SPACING
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
ms: [
|
|
122
|
+
{
|
|
123
|
+
ms: COMMON_SPACING
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
me: [
|
|
127
|
+
{
|
|
128
|
+
me: COMMON_SPACING
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
gap: [
|
|
132
|
+
{
|
|
133
|
+
gap: COMMON_SPACING
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
'gap-x': [
|
|
137
|
+
{
|
|
138
|
+
'gap-x': COMMON_SPACING
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
'gap-y': [
|
|
142
|
+
{
|
|
143
|
+
'gap-y': COMMON_SPACING
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
rounded: [
|
|
147
|
+
{
|
|
148
|
+
rounded: COMMON_UNITS
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
'rounded-s': [
|
|
152
|
+
{
|
|
153
|
+
'rounded-s': COMMON_UNITS
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
'rounded-e': [
|
|
157
|
+
{
|
|
158
|
+
'rounded-e': COMMON_UNITS
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
'rounded-t': [
|
|
162
|
+
{
|
|
163
|
+
'rounded-t': COMMON_UNITS
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
'rounded-r': [
|
|
167
|
+
{
|
|
168
|
+
'rounded-r': COMMON_UNITS
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
'rounded-b': [
|
|
172
|
+
{
|
|
173
|
+
'rounded-b': COMMON_UNITS
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
'rounded-l': [
|
|
177
|
+
{
|
|
178
|
+
'rounded-l': COMMON_UNITS
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
top: [
|
|
182
|
+
{
|
|
183
|
+
top: COMMON_SPACING
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
right: [
|
|
187
|
+
{
|
|
188
|
+
right: COMMON_SPACING
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
bottom: [
|
|
192
|
+
{
|
|
193
|
+
bottom: COMMON_SPACING
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
left: [
|
|
197
|
+
{
|
|
198
|
+
left: COMMON_SPACING
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
inset: [
|
|
202
|
+
{
|
|
203
|
+
inset: COMMON_SPACING
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
'inset-x': [
|
|
207
|
+
{
|
|
208
|
+
'inset-x': COMMON_SPACING
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
'inset-y': [
|
|
212
|
+
{
|
|
213
|
+
'inset-y': COMMON_SPACING
|
|
214
|
+
}
|
|
215
|
+
],
|
|
216
|
+
start: [
|
|
217
|
+
{
|
|
218
|
+
start: COMMON_SPACING
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
end: [
|
|
222
|
+
{
|
|
223
|
+
end: COMMON_SPACING
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
opacity: [
|
|
227
|
+
{
|
|
228
|
+
opacity: OPACITY
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
'border-w': [
|
|
232
|
+
{
|
|
233
|
+
border: COMMON_UNITS
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
shadow: [
|
|
237
|
+
{
|
|
238
|
+
shadow: [
|
|
239
|
+
'box',
|
|
240
|
+
...COMMON_UNITS
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
function cn(...inputs) {
|
|
248
|
+
return cn_twMerge(clsx(inputs));
|
|
249
|
+
}
|
|
250
|
+
console.log(cn('text-red-500 text-brand text-h1'), '|', twMerge('text-red-500 text-brand text-h1'));
|
|
251
|
+
console.log(cn('text-red-500 text-sm text-h1'), '|', twMerge('text-red-500 text-sm text-h1'));
|
|
252
|
+
console.log(cn('px-2 px-md'), '|', twMerge('px-2 px-md'));
|
|
253
|
+
console.log(cn('gap-2 gap-md'), '|', twMerge('gap-2 gap-md'));
|
|
254
|
+
console.log(cn('rounded-sm rounded-small'), '|', twMerge('rounded-sm rounded-small'));
|
|
255
|
+
console.log(cn('top-1 top-md'), '|', twMerge('top-1 top-md'));
|
|
256
|
+
console.log(cn('opacity-0 opacity-disabled opacity-hover'), '|', twMerge('opacity-0 opacity-disabled opacity-hover'));
|
|
257
|
+
console.log(cn('border-1 border-large'), '|', twMerge('border-1 border-large'));
|
|
258
|
+
export { cn };
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses, } from './classes';
|
|
2
|
+
export { cn } from './cn';
|
|
2
3
|
export * from './detect';
|
|
3
4
|
export * from './input-classes';
|
|
4
5
|
export { colorVariants } from './variants';
|
package/dist/utils/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses } from "./classes.js";
|
|
2
|
+
import { cn } from "./cn.js";
|
|
2
3
|
import { colorVariants } from "./variants.js";
|
|
3
4
|
export * from "./detect.js";
|
|
4
5
|
export * from "./input-classes.js";
|
|
5
|
-
export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, colorVariants, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses };
|
|
6
|
+
export { absoluteFullClasses, baseStyles, cn, collapseAdjacentVariantBorders, colorVariants, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses };
|
|
@@ -191,9 +191,9 @@ const inputClasses = {
|
|
|
191
191
|
'lg'
|
|
192
192
|
],
|
|
193
193
|
class: {
|
|
194
|
-
inputWrapper: 'bg-background-200 text-
|
|
194
|
+
inputWrapper: 'bg-background-200 text-foreground-100 font-medium',
|
|
195
195
|
label: 'font-medium',
|
|
196
|
-
input: '!outline-none placeholder:text-
|
|
196
|
+
input: '!outline-none placeholder:text-foreground-100 placeholder:font-medium font-medium text-foreground'
|
|
197
197
|
}
|
|
198
198
|
},
|
|
199
199
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@particle-network/ui-react",
|
|
3
|
-
"version": "0.5.1-beta.
|
|
3
|
+
"version": "0.5.1-beta.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@rslib/core": "^0.12.3",
|
|
39
39
|
"@types/react": "^19.1.10",
|
|
40
40
|
"react": "^19.1.0",
|
|
41
|
-
"@particle-network/
|
|
42
|
-
"@particle-network/
|
|
41
|
+
"@particle-network/eslint-config": "0.3.0",
|
|
42
|
+
"@particle-network/lintstaged-config": "0.1.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": ">=16.9.0",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"react-aria-components": "^1.14.0",
|
|
53
53
|
"values.js": "^2.1.1",
|
|
54
54
|
"zustand": "^5.0.8",
|
|
55
|
-
"@particle-network/
|
|
56
|
-
"@particle-network/
|
|
55
|
+
"@particle-network/ui-shared": "0.4.1-beta.4",
|
|
56
|
+
"@particle-network/icons": "0.5.1-beta.5"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "rslib build",
|