@nexub/react 1.5.0 → 1.5.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.
@@ -13,7 +13,9 @@ var TextGradient = React.forwardRef(
13
13
  {
14
14
  ref,
15
15
  className: cn(
16
- "bg-[var(--gradient-brand-horizontal)] bg-clip-text text-transparent",
16
+ // Keep the `image:` hint: without it the arbitrary value compiles to
17
+ // background-color, which drops the gradient and hides the text.
18
+ "bg-[image:var(--gradient-brand-horizontal)] bg-clip-text text-transparent",
17
19
  className
18
20
  ),
19
21
  ...rest,
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
  import {
3
3
  FormField
4
- } from "../../chunk-OASFXI27.js";
4
+ } from "../../chunk-XI63BK3S.js";
5
5
  import "../../chunk-NIX4SEKM.js";
6
- import "../../chunk-UMC64NCT.js";
7
6
  import "../../chunk-KM6Z3VTI.js";
7
+ import "../../chunk-UMC64NCT.js";
8
8
  import "../../chunk-Q7G5WGYV.js";
9
9
  export {
10
10
  FormField
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  TextGradient
4
- } from "../../chunk-RB4CVS22.js";
4
+ } from "../../chunk-HH7EHNOW.js";
5
5
  import "../../chunk-Q7G5WGYV.js";
6
6
  export {
7
7
  TextGradient
package/dist/index.js CHANGED
@@ -1,7 +1,18 @@
1
1
  'use client';
2
+ import {
3
+ Toast,
4
+ Toaster,
5
+ toast,
6
+ useToastStore
7
+ } from "./chunk-TYTW4F3B.js";
8
+ import "./chunk-YJU4ZRQZ.js";
2
9
  import {
3
10
  ToggleGroup
4
11
  } from "./chunk-DYWJ7BIK.js";
12
+ import {
13
+ Toggle,
14
+ toggleVariants
15
+ } from "./chunk-3TMIZQPR.js";
5
16
  import {
6
17
  Toolbar
7
18
  } from "./chunk-2ZBJOUJ7.js";
@@ -15,14 +26,16 @@ import {
15
26
  import {
16
27
  Root
17
28
  } from "./chunk-ZXLACKEB.js";
18
- import "./chunk-IZ6ZPEZ2.js";
19
29
  import {
20
- Container,
21
- containerVariants
22
- } from "./chunk-E4JM3HUM.js";
30
+ AvatarGroup,
31
+ avatarGroupVariants
32
+ } from "./chunk-QCNLE27O.js";
23
33
  import {
24
- ContextMenu
25
- } from "./chunk-6QLLH6ID.js";
34
+ Switch
35
+ } from "./chunk-GHCV6UXG.js";
36
+ import {
37
+ Table
38
+ } from "./chunk-JSD3H7WV.js";
26
39
  import {
27
40
  Tabs
28
41
  } from "./chunk-OJ2TLWYD.js";
@@ -36,7 +49,7 @@ import {
36
49
  } from "./chunk-7Q7ZF6BY.js";
37
50
  import {
38
51
  TextGradient
39
- } from "./chunk-RB4CVS22.js";
52
+ } from "./chunk-HH7EHNOW.js";
40
53
  import {
41
54
  Textarea,
42
55
  textareaVariants
@@ -47,16 +60,12 @@ import {
47
60
  useTheme
48
61
  } from "./chunk-AEBYQKLS.js";
49
62
  import {
50
- Toast,
51
- Toaster,
52
- toast,
53
- useToastStore
54
- } from "./chunk-TYTW4F3B.js";
55
- import "./chunk-YJU4ZRQZ.js";
63
+ Separator,
64
+ separatorVariants
65
+ } from "./chunk-6RBNM5RO.js";
56
66
  import {
57
- Toggle,
58
- toggleVariants
59
- } from "./chunk-3TMIZQPR.js";
67
+ Sidebar
68
+ } from "./chunk-BFRX6X4O.js";
60
69
  import {
61
70
  Skeleton,
62
71
  skeletonVariants
@@ -79,11 +88,13 @@ import {
79
88
  statusPillVariants
80
89
  } from "./chunk-J2T4GFFS.js";
81
90
  import {
82
- Switch
83
- } from "./chunk-GHCV6UXG.js";
91
+ Progress,
92
+ progressFillVariants,
93
+ progressTrackVariants
94
+ } from "./chunk-2555JXCP.js";
84
95
  import {
85
- Table
86
- } from "./chunk-JSD3H7WV.js";
96
+ RadioGroup
97
+ } from "./chunk-6SJPVQQW.js";
87
98
  import {
88
99
  Rating,
89
100
  ratingVariants
@@ -108,12 +119,14 @@ import {
108
119
  Select
109
120
  } from "./chunk-RTDUTWJ4.js";
110
121
  import {
111
- Separator,
112
- separatorVariants
113
- } from "./chunk-6RBNM5RO.js";
122
+ Collapse,
123
+ Fade,
124
+ Scale,
125
+ Slide
126
+ } from "./chunk-FS4XKWFA.js";
114
127
  import {
115
- Sidebar
116
- } from "./chunk-BFRX6X4O.js";
128
+ NavigationMenu
129
+ } from "./chunk-QD7H3WV3.js";
117
130
  import {
118
131
  NavigationRail
119
132
  } from "./chunk-5O34ZNC3.js";
@@ -132,17 +145,14 @@ import {
132
145
  import {
133
146
  Popover
134
147
  } from "./chunk-GIGOTRXX.js";
135
- import {
136
- Progress,
137
- progressFillVariants,
138
- progressTrackVariants
139
- } from "./chunk-2555JXCP.js";
140
- import {
141
- RadioGroup
142
- } from "./chunk-6SJPVQQW.js";
148
+ import "./chunk-NZ7UK3G6.js";
149
+ import "./chunk-KLTQJZOX.js";
143
150
  import {
144
151
  KeyboardShortcut
145
152
  } from "./chunk-HG6HTUWU.js";
153
+ import {
154
+ Kbd
155
+ } from "./chunk-A4IMFAZX.js";
146
156
  import "./chunk-EV43I5J6.js";
147
157
  import {
148
158
  Link,
@@ -165,14 +175,22 @@ import {
165
175
  useIsomorphicLayoutEffect
166
176
  } from "./chunk-NHUQLIHL.js";
167
177
  import {
168
- Collapse,
169
- Fade,
170
- Scale,
171
- Slide
172
- } from "./chunk-FS4XKWFA.js";
178
+ Input,
179
+ addonVariants,
180
+ inputVariants,
181
+ inputWrapperVariants
182
+ } from "./chunk-IK23Q2OF.js";
183
+ import "./chunk-ADO2DB6Q.js";
173
184
  import {
174
- NavigationMenu
175
- } from "./chunk-QD7H3WV3.js";
185
+ FormField
186
+ } from "./chunk-XI63BK3S.js";
187
+ import {
188
+ Label,
189
+ labelVariants
190
+ } from "./chunk-NIX4SEKM.js";
191
+ import {
192
+ FormError
193
+ } from "./chunk-KM6Z3VTI.js";
176
194
  import {
177
195
  GradientDivider
178
196
  } from "./chunk-I4URNMI7.js";
@@ -184,6 +202,9 @@ import {
184
202
  headingVariants
185
203
  } from "./chunk-SVQCINRE.js";
186
204
  import "./chunk-PICMOOAZ.js";
205
+ import {
206
+ HelperText
207
+ } from "./chunk-UMC64NCT.js";
187
208
  import {
188
209
  HoverCard
189
210
  } from "./chunk-5URGARPH.js";
@@ -191,17 +212,13 @@ import {
191
212
  IconButton,
192
213
  iconButtonVariants
193
214
  } from "./chunk-LZB3KTSH.js";
194
- import "./chunk-NZ7UK3G6.js";
215
+ import "./chunk-HI7GBSW2.js";
195
216
  import {
196
- Input,
197
- addonVariants,
198
- inputVariants,
199
- inputWrapperVariants
200
- } from "./chunk-IK23Q2OF.js";
201
- import "./chunk-KLTQJZOX.js";
217
+ DropdownMenu
218
+ } from "./chunk-7L3CGIRA.js";
202
219
  import {
203
- Kbd
204
- } from "./chunk-A4IMFAZX.js";
220
+ EmptyState
221
+ } from "./chunk-2FCSWBSM.js";
205
222
  import {
206
223
  ErrorState
207
224
  } from "./chunk-72I7EVOL.js";
@@ -218,20 +235,13 @@ import "./chunk-BV3U3ATL.js";
218
235
  import {
219
236
  Flex
220
237
  } from "./chunk-NCRFKPA4.js";
221
- import "./chunk-ADO2DB6Q.js";
222
- import {
223
- FormField
224
- } from "./chunk-OASFXI27.js";
225
- import {
226
- Label,
227
- labelVariants
228
- } from "./chunk-NIX4SEKM.js";
229
238
  import {
230
- HelperText
231
- } from "./chunk-UMC64NCT.js";
239
+ Container,
240
+ containerVariants
241
+ } from "./chunk-E4JM3HUM.js";
232
242
  import {
233
- FormError
234
- } from "./chunk-KM6Z3VTI.js";
243
+ ContextMenu
244
+ } from "./chunk-6QLLH6ID.js";
235
245
  import {
236
246
  CountryBadge
237
247
  } from "./chunk-PWBPHGM3.js";
@@ -254,13 +264,6 @@ import {
254
264
  Drawer,
255
265
  Sheet
256
266
  } from "./chunk-SY6V3HAK.js";
257
- import "./chunk-HI7GBSW2.js";
258
- import {
259
- DropdownMenu
260
- } from "./chunk-7L3CGIRA.js";
261
- import {
262
- EmptyState
263
- } from "./chunk-2FCSWBSM.js";
264
267
  import {
265
268
  Card,
266
269
  cardVariants
@@ -288,13 +291,8 @@ import {
288
291
  } from "./chunk-V3TETH4J.js";
289
292
  import "./chunk-47UGX37F.js";
290
293
  import {
291
- AvatarGroup,
292
- avatarGroupVariants
293
- } from "./chunk-QCNLE27O.js";
294
- import {
295
- Avatar,
296
- avatarVariants
297
- } from "./chunk-FHFVBOF3.js";
294
+ Accordion
295
+ } from "./chunk-W2NEXOTG.js";
298
296
  import {
299
297
  Badge,
300
298
  badgeVariants
@@ -319,8 +317,9 @@ import {
319
317
  calloutVariants
320
318
  } from "./chunk-XR4NBY54.js";
321
319
  import {
322
- Accordion
323
- } from "./chunk-W2NEXOTG.js";
320
+ Alert,
321
+ alertVariants
322
+ } from "./chunk-IIPYF6ZQ.js";
324
323
  import {
325
324
  AlertDialog
326
325
  } from "./chunk-RHOYF7MO.js";
@@ -331,10 +330,6 @@ import {
331
330
  } from "./chunk-LMPGHWUA.js";
332
331
  import "./chunk-7SXR4PGO.js";
333
332
  import "./chunk-DEIBF3P7.js";
334
- import {
335
- Alert,
336
- alertVariants
337
- } from "./chunk-IIPYF6ZQ.js";
338
333
  import {
339
334
  Amount
340
335
  } from "./chunk-AXOKFS4K.js";
@@ -351,6 +346,11 @@ import {
351
346
  import {
352
347
  Combobox
353
348
  } from "./chunk-Z3IG5WRA.js";
349
+ import "./chunk-IZ6ZPEZ2.js";
350
+ import {
351
+ Avatar,
352
+ avatarVariants
353
+ } from "./chunk-FHFVBOF3.js";
354
354
  import {
355
355
  cn
356
356
  } from "./chunk-Q7G5WGYV.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexub/react",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "React component library for Nexub Design System — 90+ accessible, themeable UI components built on Radix UI primitives.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -67,12 +67,12 @@
67
67
  "date-fns": "^4.1.0",
68
68
  "react-day-picker": "^9.14.0",
69
69
  "tailwind-merge": "^2.5.4",
70
- "@nexub/icons": "1.5.0"
70
+ "@nexub/icons": "1.5.1"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "react": ">=18 <20",
74
74
  "react-dom": ">=18 <20",
75
- "@nexub/tokens": "^1.5.0"
75
+ "@nexub/tokens": "^1.5.1"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@playwright/test": "1.64.0",
@@ -96,8 +96,8 @@
96
96
  "typescript": "^5.6.3",
97
97
  "vaul": "1.1.2",
98
98
  "vitest": "^2.1.8",
99
- "@nexub/themes": "1.5.0",
100
- "@nexub/tokens": "1.5.0"
99
+ "@nexub/themes": "1.5.1",
100
+ "@nexub/tokens": "1.5.1"
101
101
  },
102
102
  "scripts": {
103
103
  "build": "tsup && node scripts/check-dts.mjs",
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  Label
4
4
  } from "./chunk-NIX4SEKM.js";
5
- import {
6
- HelperText
7
- } from "./chunk-UMC64NCT.js";
8
5
  import {
9
6
  FormError
10
7
  } from "./chunk-KM6Z3VTI.js";
8
+ import {
9
+ HelperText
10
+ } from "./chunk-UMC64NCT.js";
11
11
  import {
12
12
  cn
13
13
  } from "./chunk-Q7G5WGYV.js";