@nexub/react 2.2.0 → 2.3.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.
|
@@ -83,7 +83,9 @@ var Pagination = React.forwardRef(
|
|
|
83
83
|
"aria-current": p === page ? "page" : void 0,
|
|
84
84
|
className: cn(
|
|
85
85
|
pressable,
|
|
86
|
-
|
|
86
|
+
// tabular-nums on the button itself: Tailwind 4's preflight lets buttons
|
|
87
|
+
// inherit it from the nav, Tailwind 3's (UA font reset) does not.
|
|
88
|
+
"inline-flex h-11 min-w-11 px-2 items-center justify-center text-label-lg tabular-nums",
|
|
87
89
|
p === page ? "bg-[var(--color-primary)] text-[var(--color-on-primary)]" : "bg-transparent text-[var(--color-on-surface)]"
|
|
88
90
|
),
|
|
89
91
|
children: p
|
|
@@ -101,7 +101,7 @@ var Footer = React.forwardRef(
|
|
|
101
101
|
{
|
|
102
102
|
ref,
|
|
103
103
|
className: cn(
|
|
104
|
-
"mt-auto border-t border-[var(--color-outline-variant)] p-4",
|
|
104
|
+
"sticky bottom-0 mt-auto shrink-0 border-t border-[var(--color-outline-variant)] bg-[var(--color-surface-container-low)] p-4",
|
|
105
105
|
className
|
|
106
106
|
),
|
|
107
107
|
...props
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import
|
|
2
|
+
import {
|
|
3
|
+
TopNav
|
|
4
|
+
} from "./chunk-ZVQYAIOA.js";
|
|
3
5
|
import {
|
|
4
6
|
Root
|
|
5
7
|
} from "./chunk-ZXLACKEB.js";
|
|
@@ -12,6 +14,9 @@ import {
|
|
|
12
14
|
ThemeScript,
|
|
13
15
|
useTheme
|
|
14
16
|
} from "./chunk-3XX45SUC.js";
|
|
17
|
+
import {
|
|
18
|
+
ThinkingIndicator
|
|
19
|
+
} from "./chunk-D7HMUIA5.js";
|
|
15
20
|
import {
|
|
16
21
|
Toast,
|
|
17
22
|
Toaster,
|
|
@@ -19,12 +24,6 @@ import {
|
|
|
19
24
|
useToastStore
|
|
20
25
|
} from "./chunk-I6ELDWZE.js";
|
|
21
26
|
import "./chunk-YJU4ZRQZ.js";
|
|
22
|
-
import {
|
|
23
|
-
ThinkingIndicator
|
|
24
|
-
} from "./chunk-D7HMUIA5.js";
|
|
25
|
-
import {
|
|
26
|
-
Toolbar
|
|
27
|
-
} from "./chunk-2ZBJOUJ7.js";
|
|
28
27
|
import {
|
|
29
28
|
ToggleGroup
|
|
30
29
|
} from "./chunk-DYWJ7BIK.js";
|
|
@@ -33,8 +32,9 @@ import {
|
|
|
33
32
|
toggleVariants
|
|
34
33
|
} from "./chunk-3TMIZQPR.js";
|
|
35
34
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
35
|
+
Toolbar
|
|
36
|
+
} from "./chunk-2ZBJOUJ7.js";
|
|
37
|
+
import "./chunk-XYXMPHND.js";
|
|
38
38
|
import {
|
|
39
39
|
StatusPill,
|
|
40
40
|
statusPillVariants
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
} from "./chunk-CUOASXI7.js";
|
|
70
70
|
import {
|
|
71
71
|
Sidebar
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-5HEMUXSR.js";
|
|
73
73
|
import {
|
|
74
74
|
Skeleton,
|
|
75
75
|
skeletonVariants
|
|
@@ -87,13 +87,13 @@ import {
|
|
|
87
87
|
import {
|
|
88
88
|
Stack
|
|
89
89
|
} from "./chunk-I6CAF7C5.js";
|
|
90
|
+
import {
|
|
91
|
+
PromptInput
|
|
92
|
+
} from "./chunk-VMMZHSZL.js";
|
|
90
93
|
import {
|
|
91
94
|
RadioCard,
|
|
92
95
|
RadioCardGroup
|
|
93
96
|
} from "./chunk-XTATJMY6.js";
|
|
94
|
-
import {
|
|
95
|
-
PromptInput
|
|
96
|
-
} from "./chunk-VMMZHSZL.js";
|
|
97
97
|
import {
|
|
98
98
|
RadioGroup
|
|
99
99
|
} from "./chunk-Z3HF6XJ3.js";
|
|
@@ -118,17 +118,17 @@ import "./chunk-6UKNUI46.js";
|
|
|
118
118
|
import {
|
|
119
119
|
useMergedRefs
|
|
120
120
|
} from "./chunk-MNEXMMLM.js";
|
|
121
|
+
import "./chunk-A3O23F2B.js";
|
|
121
122
|
import {
|
|
122
123
|
NumberInput
|
|
123
124
|
} from "./chunk-7JXJOYM6.js";
|
|
124
|
-
import "./chunk-A3O23F2B.js";
|
|
125
125
|
import "./chunk-WLRRMT6W.js";
|
|
126
126
|
import {
|
|
127
127
|
PageHeader
|
|
128
128
|
} from "./chunk-UCNA2ICU.js";
|
|
129
129
|
import {
|
|
130
130
|
Pagination
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-2NJQBJWH.js";
|
|
132
132
|
import {
|
|
133
133
|
PasswordInput
|
|
134
134
|
} from "./chunk-TSBBWYDO.js";
|
|
@@ -218,9 +218,6 @@ import {
|
|
|
218
218
|
Flex
|
|
219
219
|
} from "./chunk-7MSIOYJZ.js";
|
|
220
220
|
import "./chunk-ADO2DB6Q.js";
|
|
221
|
-
import {
|
|
222
|
-
GradientDivider
|
|
223
|
-
} from "./chunk-ZC4MZAEX.js";
|
|
224
221
|
import {
|
|
225
222
|
FormField
|
|
226
223
|
} from "./chunk-G4RLUGE3.js";
|
|
@@ -234,6 +231,9 @@ import {
|
|
|
234
231
|
import {
|
|
235
232
|
FormError
|
|
236
233
|
} from "./chunk-QVTVDL6Y.js";
|
|
234
|
+
import {
|
|
235
|
+
GradientDivider
|
|
236
|
+
} from "./chunk-ZC4MZAEX.js";
|
|
237
237
|
import {
|
|
238
238
|
Grid
|
|
239
239
|
} from "./chunk-6JBQAJJD.js";
|
|
@@ -262,12 +262,12 @@ import {
|
|
|
262
262
|
import {
|
|
263
263
|
ErrorState
|
|
264
264
|
} from "./chunk-SZNSQR2B.js";
|
|
265
|
-
import {
|
|
266
|
-
FileUpload
|
|
267
|
-
} from "./chunk-D6HHYT2S.js";
|
|
268
265
|
import {
|
|
269
266
|
EyebrowChip
|
|
270
267
|
} from "./chunk-322WR6EU.js";
|
|
268
|
+
import {
|
|
269
|
+
FileUpload
|
|
270
|
+
} from "./chunk-D6HHYT2S.js";
|
|
271
271
|
import {
|
|
272
272
|
Collapsible
|
|
273
273
|
} from "./chunk-3LP2CR7F.js";
|
|
@@ -367,10 +367,6 @@ import {
|
|
|
367
367
|
import {
|
|
368
368
|
Accordion
|
|
369
369
|
} from "./chunk-T7RLPFGX.js";
|
|
370
|
-
import {
|
|
371
|
-
Alert,
|
|
372
|
-
alertVariants
|
|
373
|
-
} from "./chunk-TXIJMUD5.js";
|
|
374
370
|
import {
|
|
375
371
|
AlertDialog
|
|
376
372
|
} from "./chunk-TSN6HYVY.js";
|
|
@@ -391,6 +387,10 @@ import "./chunk-R3SUPKKI.js";
|
|
|
391
387
|
import {
|
|
392
388
|
AppShell
|
|
393
389
|
} from "./chunk-56FERRWW.js";
|
|
390
|
+
import {
|
|
391
|
+
Alert,
|
|
392
|
+
alertVariants
|
|
393
|
+
} from "./chunk-TXIJMUD5.js";
|
|
394
394
|
import {
|
|
395
395
|
AspectRatio
|
|
396
396
|
} from "./chunk-S2CTBFLN.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexub/react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
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",
|
|
@@ -68,39 +68,39 @@
|
|
|
68
68
|
"date-fns": "^4.4.0",
|
|
69
69
|
"react-day-picker": "^9.14.0",
|
|
70
70
|
"tailwind-merge": "^2.6.1",
|
|
71
|
-
"@nexub/core": "2.
|
|
72
|
-
"@nexub/icons": "2.
|
|
71
|
+
"@nexub/core": "2.3.0",
|
|
72
|
+
"@nexub/icons": "2.3.0"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"react": ">=18 <20",
|
|
76
76
|
"react-dom": ">=18 <20",
|
|
77
|
-
"@nexub/tokens": "^2.
|
|
77
|
+
"@nexub/tokens": "^2.3.0"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@playwright/test": "1.64.0",
|
|
81
81
|
"@storybook/react": "10.6.3",
|
|
82
82
|
"@storybook/react-vite": "10.6.3",
|
|
83
|
+
"@tailwindcss/vite": "^4.3.3",
|
|
83
84
|
"@testing-library/jest-dom": "^6.9.1",
|
|
84
85
|
"@testing-library/react": "^16.3.3",
|
|
85
86
|
"@testing-library/user-event": "^14.6.8",
|
|
86
87
|
"@types/node": "^26.6.5",
|
|
87
88
|
"@types/react": "^19.3.0",
|
|
88
89
|
"@types/react-dom": "^19.3.0",
|
|
89
|
-
"autoprefixer": "^10.6.1",
|
|
90
90
|
"axe-core": "^4.14.0",
|
|
91
91
|
"jsdom": "^30.1.3",
|
|
92
92
|
"postcss": "^8.5.31",
|
|
93
93
|
"react": "^19.3.1",
|
|
94
94
|
"react-dom": "^19.3.1",
|
|
95
95
|
"storybook": "10.6.3",
|
|
96
|
-
"tailwindcss": "^3.
|
|
96
|
+
"tailwindcss": "^4.3.3",
|
|
97
97
|
"tsup": "^8.5.1",
|
|
98
98
|
"typescript": "^5.9.3",
|
|
99
99
|
"vaul": "1.1.2",
|
|
100
100
|
"vite": "^7.3.7",
|
|
101
101
|
"vitest": "^5.0.5",
|
|
102
|
-
"@nexub/themes": "2.
|
|
103
|
-
"@nexub/tokens": "2.
|
|
102
|
+
"@nexub/themes": "2.3.0",
|
|
103
|
+
"@nexub/tokens": "2.3.0"
|
|
104
104
|
},
|
|
105
105
|
"scripts": {
|
|
106
106
|
"build": "tsup && node scripts/check-dts.mjs",
|