@nexub/react 1.6.0 → 1.7.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.
- package/dist/{chunk-743Y5MY3.js → chunk-24ZFAXB2.js} +11 -5
- package/dist/{chunk-HSPGJSFJ.js → chunk-37L5ERUJ.js} +1 -1
- package/dist/{chunk-GSG2W6DP.js → chunk-3LTB6TGN.js} +1 -1
- package/dist/{chunk-PMWYLYM3.js → chunk-4HQFOIZW.js} +1 -1
- package/dist/{chunk-DGQJRTO6.js → chunk-4NFUBFYK.js} +1 -1
- package/dist/{chunk-PPCGUIAB.js → chunk-4UBVU53C.js} +1 -1
- package/dist/{chunk-NSVXGOR3.js → chunk-643EYCLL.js} +1 -1
- package/dist/{chunk-MEUJBGY5.js → chunk-AGYGWU6C.js} +1 -1
- package/dist/{chunk-CBDJRPMD.js → chunk-B254JXS7.js} +1 -1
- package/dist/{chunk-3FPJIXG7.js → chunk-BSL62LBX.js} +1 -1
- package/dist/{chunk-5VW6RUKZ.js → chunk-GG54WBLA.js} +1 -1
- package/dist/{chunk-7B4VF2ZU.js → chunk-GWDEKW7P.js} +1 -1
- package/dist/{chunk-O626NJEM.js → chunk-J65MK3N4.js} +1 -1
- package/dist/{chunk-TRA6A5C5.js → chunk-JSBNYRO4.js} +1 -1
- package/dist/{chunk-WXRQ42DR.js → chunk-KRCLK5O4.js} +2 -2
- package/dist/{chunk-3MT23LNM.js → chunk-MLT7SA3T.js} +1 -1
- package/dist/{chunk-IGLOYOCH.js → chunk-MYP5ZTC3.js} +44 -9
- package/dist/{chunk-UTJJ5HFX.js → chunk-NAJKIBU2.js} +53 -51
- package/dist/{chunk-S7GH2BJP.js → chunk-NERAWEIQ.js} +1 -1
- package/dist/{chunk-VAFBGFKY.js → chunk-NYWD5SI4.js} +1 -1
- package/dist/{chunk-5KI4YHA3.js → chunk-NZR4UGUZ.js} +15 -16
- package/dist/{chunk-Q3ESHXKU.js → chunk-QUNH4BFR.js} +1 -1
- package/dist/{chunk-2Y4WLNEZ.js → chunk-QUYOV2ZJ.js} +3 -1
- package/dist/{chunk-O74XEHLA.js → chunk-RM7MTOT5.js} +11 -3
- package/dist/{chunk-SAUA52EJ.js → chunk-TAVVXXGO.js} +1 -1
- package/dist/{chunk-74RUJ5KZ.js → chunk-TZ6KJIR4.js} +1 -1
- package/dist/{chunk-FIDUY6SS.js → chunk-U2ZYPPRG.js} +1 -1
- package/dist/{chunk-7Q4T7CB6.js → chunk-UTLKZPKJ.js} +1 -1
- package/dist/{chunk-RSU2UHN4.js → chunk-W3KO3JNZ.js} +2 -2
- package/dist/{chunk-SZ2WPWXJ.js → chunk-X4BQHXLB.js} +1 -1
- package/dist/{chunk-HXV5UA7K.js → chunk-ZMJ54TG6.js} +1 -1
- package/dist/components/Alert/index.js +2 -2
- package/dist/components/Amount/index.js +3 -3
- package/dist/components/Autocomplete/index.js +2 -2
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/AvatarGroup/index.js +3 -3
- package/dist/components/Banner/index.js +2 -2
- package/dist/components/Breadcrumb/index.js +2 -2
- package/dist/components/Chip/index.js +2 -2
- package/dist/components/Citation/index.js +2 -2
- package/dist/components/CommandPalette/index.js +2 -2
- package/dist/components/DatePicker/index.js +2 -2
- package/dist/components/DateRangePicker/index.js +3 -3
- package/dist/components/FileUpload/index.js +2 -2
- package/dist/components/FilterChip/index.js +2 -2
- package/dist/components/FormField/index.js +2 -2
- package/dist/components/MessageBubble/index.js +2 -2
- package/dist/components/MoneyInput/index.js +2 -2
- package/dist/components/NavigationRail/index.js +2 -2
- package/dist/components/NexubProvider/index.js +1 -1
- package/dist/components/NumberInput/index.js +2 -2
- package/dist/components/NumberTicker/index.js +2 -2
- package/dist/components/Pagination/index.js +2 -2
- package/dist/components/PasswordInput/index.js +2 -2
- package/dist/components/PromptInput/index.js +2 -2
- package/dist/components/Rating/index.js +2 -2
- package/dist/components/ScrollArea/index.js +1 -1
- package/dist/components/SearchInput/index.js +2 -2
- package/dist/components/Sidebar/index.js +2 -2
- package/dist/components/Spinner/index.js +2 -2
- package/dist/components/ThinkingIndicator/index.js +2 -2
- package/dist/components/Toast/index.js +2 -2
- package/dist/components/TopNav/index.js +2 -2
- package/dist/index.d.ts +37 -6
- package/dist/index.js +69 -69
- package/package.json +5 -5
- package/dist/{chunk-BNFGVFZ3.js → chunk-RATKKN3F.js} +3 -3
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
NumberTicker
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AGYGWU6C.js";
|
|
5
5
|
import {
|
|
6
6
|
moneyFormatter
|
|
7
7
|
} from "./chunk-CIQHFMF6.js";
|
|
8
8
|
import {
|
|
9
9
|
useIntlLocale
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-24ZFAXB2.js";
|
|
11
11
|
import {
|
|
12
12
|
cn
|
|
13
13
|
} from "./chunk-Q7G5WGYV.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Amount
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-W3KO3JNZ.js";
|
|
5
|
+
import "../../chunk-AGYGWU6C.js";
|
|
6
6
|
import "../../chunk-CIQHFMF6.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-24ZFAXB2.js";
|
|
8
8
|
import "../../chunk-Q7G5WGYV.js";
|
|
9
9
|
export {
|
|
10
10
|
Amount
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Autocomplete
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-X4BQHXLB.js";
|
|
5
5
|
import "../../chunk-FJUVYRNT.js";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-24ZFAXB2.js";
|
|
7
7
|
import "../../chunk-Q7G5WGYV.js";
|
|
8
8
|
export {
|
|
9
9
|
Autocomplete
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AvatarGroup,
|
|
4
4
|
avatarGroupVariants
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-KRCLK5O4.js";
|
|
6
|
+
import "../../chunk-QUYOV2ZJ.js";
|
|
7
|
+
import "../../chunk-24ZFAXB2.js";
|
|
8
8
|
import "../../chunk-Q7G5WGYV.js";
|
|
9
9
|
export {
|
|
10
10
|
AvatarGroup,
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
SourceChip,
|
|
5
5
|
SourceList,
|
|
6
6
|
safeUrl
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-TAVVXXGO.js";
|
|
8
8
|
import "../../chunk-KE4YVG5Q.js";
|
|
9
9
|
import "../../chunk-FLZD7HQY.js";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-24ZFAXB2.js";
|
|
11
11
|
import "../../chunk-Q7G5WGYV.js";
|
|
12
12
|
export {
|
|
13
13
|
Citation,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
CommandPalette
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-U2ZYPPRG.js";
|
|
5
5
|
import "../../chunk-47UGX37F.js";
|
|
6
6
|
import "../../chunk-FLZD7HQY.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-24ZFAXB2.js";
|
|
8
8
|
import "../../chunk-Q7G5WGYV.js";
|
|
9
9
|
export {
|
|
10
10
|
CommandPalette
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import "../../chunk-52ZVJPF7.js";
|
|
3
3
|
import {
|
|
4
4
|
DatePicker
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-MYP5ZTC3.js";
|
|
6
6
|
import "../../chunk-FLZD7HQY.js";
|
|
7
7
|
import "../../chunk-7SXR4PGO.js";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-24ZFAXB2.js";
|
|
9
9
|
import "../../chunk-Q7G5WGYV.js";
|
|
10
10
|
export {
|
|
11
11
|
DatePicker
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
DateRangePicker
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-NZR4UGUZ.js";
|
|
5
|
+
import "../../chunk-MYP5ZTC3.js";
|
|
6
6
|
import "../../chunk-FLZD7HQY.js";
|
|
7
7
|
import "../../chunk-7SXR4PGO.js";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-24ZFAXB2.js";
|
|
9
9
|
import "../../chunk-Q7G5WGYV.js";
|
|
10
10
|
export {
|
|
11
11
|
DateRangePicker
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
FilterChip
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-37L5ERUJ.js";
|
|
5
5
|
import "../../chunk-7SXR4PGO.js";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-24ZFAXB2.js";
|
|
7
7
|
import "../../chunk-Q7G5WGYV.js";
|
|
8
8
|
export {
|
|
9
9
|
FilterChip
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
FormField
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-WVBGQCYC.js";
|
|
4
|
+
} from "../../chunk-RATKKN3F.js";
|
|
6
5
|
import "../../chunk-PREMZMLU.js";
|
|
7
6
|
import "../../chunk-QVTVDL6Y.js";
|
|
7
|
+
import "../../chunk-WVBGQCYC.js";
|
|
8
8
|
import "../../chunk-C6JRJ6JW.js";
|
|
9
9
|
import "../../chunk-7SXR4PGO.js";
|
|
10
10
|
import "../../chunk-DEIBF3P7.js";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
MessageActions,
|
|
4
4
|
MessageBubble,
|
|
5
5
|
defaultMessageStrings
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-GG54WBLA.js";
|
|
7
7
|
import "../../chunk-XQDD76EF.js";
|
|
8
8
|
import "../../chunk-JLUCMNVS.js";
|
|
9
9
|
import "../../chunk-NHUQLIHL.js";
|
|
10
10
|
import "../../chunk-CQWYZPPJ.js";
|
|
11
11
|
import "../../chunk-7SXR4PGO.js";
|
|
12
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-24ZFAXB2.js";
|
|
13
13
|
import "../../chunk-Q7G5WGYV.js";
|
|
14
14
|
export {
|
|
15
15
|
MessageActions,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
MoneyInput
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-GWDEKW7P.js";
|
|
5
5
|
import "../../chunk-JLUCMNVS.js";
|
|
6
6
|
import "../../chunk-NHUQLIHL.js";
|
|
7
7
|
import "../../chunk-JHVYI5GK.js";
|
|
8
8
|
import "../../chunk-7SXR4PGO.js";
|
|
9
9
|
import "../../chunk-CIQHFMF6.js";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-24ZFAXB2.js";
|
|
11
11
|
import "../../chunk-Q7G5WGYV.js";
|
|
12
12
|
export {
|
|
13
13
|
MoneyInput
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
NumberInput
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-4HQFOIZW.js";
|
|
5
5
|
import "../../chunk-JHVYI5GK.js";
|
|
6
6
|
import "../../chunk-7SXR4PGO.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-24ZFAXB2.js";
|
|
8
8
|
import "../../chunk-Q7G5WGYV.js";
|
|
9
9
|
export {
|
|
10
10
|
NumberInput
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import "../../chunk-WLRRMT6W.js";
|
|
3
3
|
import {
|
|
4
4
|
NumberTicker
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-AGYGWU6C.js";
|
|
6
|
+
import "../../chunk-24ZFAXB2.js";
|
|
7
7
|
import "../../chunk-Q7G5WGYV.js";
|
|
8
8
|
export {
|
|
9
9
|
NumberTicker
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Pagination
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-JSBNYRO4.js";
|
|
5
5
|
import "../../chunk-7SXR4PGO.js";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-24ZFAXB2.js";
|
|
7
7
|
import "../../chunk-Q7G5WGYV.js";
|
|
8
8
|
export {
|
|
9
9
|
Pagination
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
PasswordInput
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-NERAWEIQ.js";
|
|
5
5
|
import "../../chunk-JHVYI5GK.js";
|
|
6
6
|
import "../../chunk-7SXR4PGO.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-24ZFAXB2.js";
|
|
8
8
|
import "../../chunk-Q7G5WGYV.js";
|
|
9
9
|
export {
|
|
10
10
|
PasswordInput
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
PromptInput
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-MLT7SA3T.js";
|
|
5
5
|
import "../../chunk-MNEXMMLM.js";
|
|
6
6
|
import "../../chunk-JLUCMNVS.js";
|
|
7
7
|
import "../../chunk-NHUQLIHL.js";
|
|
8
8
|
import "../../chunk-CQWYZPPJ.js";
|
|
9
9
|
import "../../chunk-7SXR4PGO.js";
|
|
10
10
|
import "../../chunk-DEIBF3P7.js";
|
|
11
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-24ZFAXB2.js";
|
|
12
12
|
import "../../chunk-Q7G5WGYV.js";
|
|
13
13
|
export {
|
|
14
14
|
PromptInput
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Rating,
|
|
4
4
|
ratingVariants
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-4UBVU53C.js";
|
|
6
6
|
import "../../chunk-JLUCMNVS.js";
|
|
7
7
|
import "../../chunk-NHUQLIHL.js";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-24ZFAXB2.js";
|
|
9
9
|
import "../../chunk-Q7G5WGYV.js";
|
|
10
10
|
export {
|
|
11
11
|
Rating,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
SearchInput
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-J65MK3N4.js";
|
|
5
5
|
import "../../chunk-JHVYI5GK.js";
|
|
6
6
|
import "../../chunk-7SXR4PGO.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-24ZFAXB2.js";
|
|
8
8
|
import "../../chunk-Q7G5WGYV.js";
|
|
9
9
|
export {
|
|
10
10
|
SearchInput
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
Toaster,
|
|
5
5
|
toast,
|
|
6
6
|
useToastStore
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-RM7MTOT5.js";
|
|
8
8
|
import "../../chunk-NHUQLIHL.js";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-24ZFAXB2.js";
|
|
10
10
|
import "../../chunk-Q7G5WGYV.js";
|
|
11
11
|
export {
|
|
12
12
|
Toast,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
TopNav
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-BSL62LBX.js";
|
|
5
5
|
import "../../chunk-DEIBF3P7.js";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-24ZFAXB2.js";
|
|
7
7
|
import "../../chunk-Q7G5WGYV.js";
|
|
8
8
|
export {
|
|
9
9
|
TopNav
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useLayoutEffect, Ref } from 'react';
|
|
4
|
+
import { Locale } from 'date-fns';
|
|
4
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
6
|
import { VariantProps } from 'class-variance-authority';
|
|
6
7
|
import * as RadixRadioGroup from '@radix-ui/react-radio-group';
|
|
@@ -254,6 +255,14 @@ interface NexubMessages {
|
|
|
254
255
|
noResults: string;
|
|
255
256
|
pickDate: string;
|
|
256
257
|
pickDateRange: string;
|
|
258
|
+
/** Calendar nav and day labels (DatePicker, DateRangePicker). */
|
|
259
|
+
previousMonth: string;
|
|
260
|
+
nextMonth: string;
|
|
261
|
+
calendarNavigation: string;
|
|
262
|
+
/** Wraps a day's formatted date when it is today. */
|
|
263
|
+
todayDate: (date: string) => string;
|
|
264
|
+
/** Wraps a day's (possibly today-wrapped) label when it is selected. */
|
|
265
|
+
selectedDate: (label: string) => string;
|
|
257
266
|
commandPalette: string;
|
|
258
267
|
/** Toaster region label; Radix replaces `{hotkey}`. */
|
|
259
268
|
notifications: string;
|
|
@@ -284,6 +293,11 @@ interface NexubProviderProps {
|
|
|
284
293
|
locale?: string;
|
|
285
294
|
/** Text direction for Radix primitives. @default derived from `locale` */
|
|
286
295
|
dir?: Direction;
|
|
296
|
+
/**
|
|
297
|
+
* date-fns Locale for calendars (month/weekday names, week start, trigger text).
|
|
298
|
+
* Import only the one you need, e.g. `import { fr } from 'date-fns/locale/fr'`.
|
|
299
|
+
*/
|
|
300
|
+
dateLocale?: Locale;
|
|
287
301
|
/** Overrides for the default English strings. */
|
|
288
302
|
messages?: Partial<NexubMessages>;
|
|
289
303
|
children?: React.ReactNode;
|
|
@@ -293,13 +307,14 @@ interface NexubProviderProps {
|
|
|
293
307
|
* It does not set `dir`/`lang` on <html> — the app does that (as it renders
|
|
294
308
|
* <html>), so the page and CSS `rtl:` variants agree with this provider.
|
|
295
309
|
*/
|
|
296
|
-
declare function NexubProvider({ locale, dir, messages, children }: NexubProviderProps): React.JSX.Element;
|
|
310
|
+
declare function NexubProvider({ locale, dir, dateLocale, messages, children }: NexubProviderProps): React.JSX.Element;
|
|
297
311
|
/** The active strings: defaults merged with the nearest NexubProvider's overrides. */
|
|
298
312
|
declare function useNexubMessages(): NexubMessages;
|
|
299
|
-
/** The active locale (default 'en') and
|
|
313
|
+
/** The active locale (default 'en'), direction and optional date-fns Locale. */
|
|
300
314
|
declare function useLocale(): {
|
|
301
315
|
locale: string;
|
|
302
316
|
dir: Direction;
|
|
317
|
+
dateLocale?: Locale;
|
|
303
318
|
};
|
|
304
319
|
|
|
305
320
|
type ToneValue = 'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'leap' | 'bookub' | 'payub' | 'founderub';
|
|
@@ -581,7 +596,14 @@ declare const tagVariants: (props?: ({
|
|
|
581
596
|
interface TagProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof tagVariants> {
|
|
582
597
|
tone?: ToneValue;
|
|
583
598
|
}
|
|
584
|
-
/**
|
|
599
|
+
/**
|
|
600
|
+
* Static metadata label (status, category, version). Shape: `rounded-shape-min`,
|
|
601
|
+
* a squared label, so it never reads as tappable. It has no state layer or
|
|
602
|
+
* hover/press affordance on purpose; anything a user toggles, filters by or
|
|
603
|
+
* removes is a `Chip` (control-shaped, `nx-state-layer`, optional remove button).
|
|
604
|
+
*
|
|
605
|
+
* @deprecated Use `Badge` instead: `<Badge size="sm">` covers it. Will be removed in 1.0.
|
|
606
|
+
*/
|
|
585
607
|
declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
|
|
586
608
|
|
|
587
609
|
interface EyebrowChipProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
@@ -981,7 +1003,7 @@ declare const Popover: {
|
|
|
981
1003
|
Close: React.ForwardRefExoticComponent<RadixPopover.PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
982
1004
|
};
|
|
983
1005
|
|
|
984
|
-
declare function Provider({ delayDuration, skipDelayDuration, ...props }: RadixTooltip.TooltipProviderProps): React.JSX.Element;
|
|
1006
|
+
declare function Provider$1({ delayDuration, skipDelayDuration, ...props }: RadixTooltip.TooltipProviderProps): React.JSX.Element;
|
|
985
1007
|
interface TooltipProps {
|
|
986
1008
|
label: string;
|
|
987
1009
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
@@ -1358,8 +1380,13 @@ declare const Toolbar: {
|
|
|
1358
1380
|
ToggleItem: React.ForwardRefExoticComponent<RadixToolbar.ToolbarToggleItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1359
1381
|
};
|
|
1360
1382
|
|
|
1383
|
+
/** Swipe to dismiss toward the viewport's inline-end edge: right, or left in RTL. */
|
|
1384
|
+
declare function Provider({ swipeDirection, ...props }: RadixToast.ToastProviderProps): React.JSX.Element;
|
|
1385
|
+
declare namespace Provider {
|
|
1386
|
+
var displayName: string;
|
|
1387
|
+
}
|
|
1361
1388
|
declare const Toast: {
|
|
1362
|
-
Provider:
|
|
1389
|
+
Provider: typeof Provider;
|
|
1363
1390
|
Viewport: React.ForwardRefExoticComponent<RadixToast.ToastViewportProps & React.RefAttributes<HTMLOListElement>>;
|
|
1364
1391
|
Root: React.ForwardRefExoticComponent<RadixToast.ToastProps & React.RefAttributes<HTMLLIElement>>;
|
|
1365
1392
|
Title: React.ForwardRefExoticComponent<RadixToast.ToastTitleProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1659,6 +1686,8 @@ interface DatePickerProps {
|
|
|
1659
1686
|
id?: string;
|
|
1660
1687
|
/** Field name for screen readers; the current value is appended. */
|
|
1661
1688
|
'aria-label'?: string;
|
|
1689
|
+
/** date-fns Locale for the calendar and trigger text; wins over NexubProvider's `dateLocale`. */
|
|
1690
|
+
locale?: Locale;
|
|
1662
1691
|
}
|
|
1663
1692
|
declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1664
1693
|
|
|
@@ -1674,6 +1703,8 @@ interface DateRangePickerProps {
|
|
|
1674
1703
|
id?: string;
|
|
1675
1704
|
/** Field name for screen readers; the current value is appended. */
|
|
1676
1705
|
'aria-label'?: string;
|
|
1706
|
+
/** date-fns Locale for the calendar and trigger text; wins over NexubProvider's `dateLocale`. */
|
|
1707
|
+
locale?: Locale;
|
|
1677
1708
|
}
|
|
1678
1709
|
declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1679
1710
|
|
|
@@ -1833,4 +1864,4 @@ interface CollapseProps extends Omit<MotionBaseProps, 'easing'>, React.HTMLAttri
|
|
|
1833
1864
|
*/
|
|
1834
1865
|
declare const Collapse: React.ForwardRefExoticComponent<CollapseProps & React.RefAttributes<HTMLDivElement>>;
|
|
1835
1866
|
|
|
1836
|
-
export { Accordion, Alert, AlertDialog, type AlertProps, Amount, type AmountProps, AppShell, AspectRatio, type AspectRatioProps, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, Breadcrumb, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonStatus, Callout, type CalloutProps, Card, CardLink, type CardLinkProps, type CardProps, CheckList, CheckListItem, type CheckListItemProps, type CheckListProps, Checkbox, CheckboxCard, type CheckboxCardProps, type CheckboxProps, Chip, type ChipProps, Citation, type CitationMessages, type CitationProps, type CitationSource, Code, type CodeProps, Collapse, type CollapseProps, Collapsible, Combobox, CommandPalette, type CommandPaletteRootProps, Container, type ContainerProps, ContextMenu, CountryBadge, type CountryBadgeProps, DataTable, type DataTableProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, Dialog, Drawer, type DrawerRootProps, DropdownMenu, EmptyState, ErrorState, type ErrorStateProps, EyebrowChip, type EyebrowChipProps, Fade, type FadeProps, type Feedback, FileUpload, type FileUploadRootProps, FilterChip, type FilterChipProps, Flag, type FlagProps, Flex, type FlexProps, FormError, type FormErrorProps, FormField, type FormFieldContextValue, type FormFieldRootProps, type GlassMode, GradientDivider, type GradientDividerProps, Grid, type GridProps, Heading, type HeadingProps, HelperText, type HelperTextProps, HoverCard, IconButton, type IconButtonProps, Input, type InputProps, Kbd, type KbdProps, KeyboardShortcut, type KeyboardShortcutProps, Label, type LabelProps, Link, type LinkProps, Logo, type LogoProps, MediaCard, type MediaCardProps, type MediaCardRatio, Menubar, MessageActions, type MessageActionsProps, MessageBubble, type MessageBubbleProps, type MessageFrom, type MessageStrings, MoneyInput, type MoneyInputProps, type MotionBaseProps, type MotionDuration, type MotionEasing, NavigationMenu, NavigationRail, type NavigationRailItemProps, type NavigationRailRootProps, type NexubMessages, NexubProvider, type NexubProviderProps, NumberInput, type NumberInputProps, NumberTicker, type NumberTickerPart, type NumberTickerProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, Popover, Progress, type ProgressProps, PromptInput, type PromptInputMessages, type PromptInputProps, type PromptInputStatus, RadioCard, RadioCardGroup, type RadioCardGroupProps, type RadioCardProps, RadioGroup, Rating, type RatingProps, Scale, type ScaleProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, type SectionProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlProps, Select, Separator, type SeparatorProps, Sheet, Sidebar, type SidebarGroupProps, type SidebarHeaderProps, type SidebarItemProps, type SidebarRootProps, Skeleton, type SkeletonProps, Slide, type SlideDirection, type SlideProps, Slider, type SliderProps, SourceChip, type SourceChipProps, SourceList, type SourceListProps, Spinner, type SpinnerProps, SplitButton, type SplitButtonProps, Stack, type StackProps, StatusPill, type StatusPillProps, StreamingText, type StreamingTextProps, Switch, type SwitchProps, Table, Tabs, Tag, type TagProps, Text, type Direction as TextDirection, TextGradient, type TextGradientProps, type TextProps, Textarea, type TextareaProps, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeScript, type ThemeScriptProps, ThinkingIndicator, type ThinkingIndicatorMessages, type ThinkingIndicatorProps, Toast, type ToastItem, Toaster, type ToasterProps, Toggle, ToggleGroup, type ToggleProps, type ToneValue, Toolbar, type ToolbarRootProps, Tooltip, Provider as TooltipProvider, TopNav, type TopNavItemProps, type TopNavRootProps, type UndoableToastOptions, addonVariants, alertVariants, avatarGroupVariants, avatarVariants, badgeVariants, bannerVariants, buttonVariants, calloutVariants, cardVariants, chipVariants, cn, containerVariants, defaultMessageStrings, defaultMessages, headingVariants, iconButtonVariants, inputVariants, inputWrapperVariants, labelVariants, linkVariants, logoVariants, progressFillVariants, progressTrackVariants, ratingVariants, safeUrl, sectionVariants, separatorVariants, skeletonVariants, spinnerVariants, startViewTransition, statusPillVariants, tagVariants, textVariants, textareaVariants, toast, toggleVariants, useControllableState, useDisclosure, useIsomorphicLayoutEffect, useLocale, useMediaQuery, useMergedRefs, useNexubMessages, usePointerSheen, useTheme, useToastStore };
|
|
1867
|
+
export { Accordion, Alert, AlertDialog, type AlertProps, Amount, type AmountProps, AppShell, AspectRatio, type AspectRatioProps, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, Breadcrumb, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonStatus, Callout, type CalloutProps, Card, CardLink, type CardLinkProps, type CardProps, CheckList, CheckListItem, type CheckListItemProps, type CheckListProps, Checkbox, CheckboxCard, type CheckboxCardProps, type CheckboxProps, Chip, type ChipProps, Citation, type CitationMessages, type CitationProps, type CitationSource, Code, type CodeProps, Collapse, type CollapseProps, Collapsible, Combobox, CommandPalette, type CommandPaletteRootProps, Container, type ContainerProps, ContextMenu, CountryBadge, type CountryBadgeProps, DataTable, type DataTableProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, Dialog, Drawer, type DrawerRootProps, DropdownMenu, EmptyState, ErrorState, type ErrorStateProps, EyebrowChip, type EyebrowChipProps, Fade, type FadeProps, type Feedback, FileUpload, type FileUploadRootProps, FilterChip, type FilterChipProps, Flag, type FlagProps, Flex, type FlexProps, FormError, type FormErrorProps, FormField, type FormFieldContextValue, type FormFieldRootProps, type GlassMode, GradientDivider, type GradientDividerProps, Grid, type GridProps, Heading, type HeadingProps, HelperText, type HelperTextProps, HoverCard, IconButton, type IconButtonProps, Input, type InputProps, Kbd, type KbdProps, KeyboardShortcut, type KeyboardShortcutProps, Label, type LabelProps, Link, type LinkProps, Logo, type LogoProps, MediaCard, type MediaCardProps, type MediaCardRatio, Menubar, MessageActions, type MessageActionsProps, MessageBubble, type MessageBubbleProps, type MessageFrom, type MessageStrings, MoneyInput, type MoneyInputProps, type MotionBaseProps, type MotionDuration, type MotionEasing, NavigationMenu, NavigationRail, type NavigationRailItemProps, type NavigationRailRootProps, type NexubMessages, NexubProvider, type NexubProviderProps, NumberInput, type NumberInputProps, NumberTicker, type NumberTickerPart, type NumberTickerProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, Popover, Progress, type ProgressProps, PromptInput, type PromptInputMessages, type PromptInputProps, type PromptInputStatus, RadioCard, RadioCardGroup, type RadioCardGroupProps, type RadioCardProps, RadioGroup, Rating, type RatingProps, Scale, type ScaleProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, type SectionProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlProps, Select, Separator, type SeparatorProps, Sheet, Sidebar, type SidebarGroupProps, type SidebarHeaderProps, type SidebarItemProps, type SidebarRootProps, Skeleton, type SkeletonProps, Slide, type SlideDirection, type SlideProps, Slider, type SliderProps, SourceChip, type SourceChipProps, SourceList, type SourceListProps, Spinner, type SpinnerProps, SplitButton, type SplitButtonProps, Stack, type StackProps, StatusPill, type StatusPillProps, StreamingText, type StreamingTextProps, Switch, type SwitchProps, Table, Tabs, Tag, type TagProps, Text, type Direction as TextDirection, TextGradient, type TextGradientProps, type TextProps, Textarea, type TextareaProps, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeScript, type ThemeScriptProps, ThinkingIndicator, type ThinkingIndicatorMessages, type ThinkingIndicatorProps, Toast, type ToastItem, Toaster, type ToasterProps, Toggle, ToggleGroup, type ToggleProps, type ToneValue, Toolbar, type ToolbarRootProps, Tooltip, Provider$1 as TooltipProvider, TopNav, type TopNavItemProps, type TopNavRootProps, type UndoableToastOptions, addonVariants, alertVariants, avatarGroupVariants, avatarVariants, badgeVariants, bannerVariants, buttonVariants, calloutVariants, cardVariants, chipVariants, cn, containerVariants, defaultMessageStrings, defaultMessages, headingVariants, iconButtonVariants, inputVariants, inputWrapperVariants, labelVariants, linkVariants, logoVariants, progressFillVariants, progressTrackVariants, ratingVariants, safeUrl, sectionVariants, separatorVariants, skeletonVariants, spinnerVariants, startViewTransition, statusPillVariants, tagVariants, textVariants, textareaVariants, toast, toggleVariants, useControllableState, useDisclosure, useIsomorphicLayoutEffect, useLocale, useMediaQuery, useMergedRefs, useNexubMessages, usePointerSheen, useTheme, useToastStore };
|