@fanvue/ui 3.8.0 → 3.10.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/cjs/components/Alert/Alert.cjs +28 -5
- package/dist/cjs/components/Alert/Alert.cjs.map +1 -1
- package/dist/cjs/components/Badge/Badge.cjs +17 -5
- package/dist/cjs/components/Badge/Badge.cjs.map +1 -1
- package/dist/cjs/components/Checkbox/Checkbox.cjs +1 -1
- package/dist/cjs/components/Checkbox/Checkbox.cjs.map +1 -1
- package/dist/cjs/components/Dialog/Dialog.cjs +21 -8
- package/dist/cjs/components/Dialog/Dialog.cjs.map +1 -1
- package/dist/cjs/components/FanFollowerCount/FanFollowerCount.cjs +64 -0
- package/dist/cjs/components/FanFollowerCount/FanFollowerCount.cjs.map +1 -0
- package/dist/cjs/components/IconButton/IconButton.cjs +1 -1
- package/dist/cjs/components/IconButton/IconButton.cjs.map +1 -1
- package/dist/cjs/components/Icons/CogIcon.cjs +74 -0
- package/dist/cjs/components/Icons/CogIcon.cjs.map +1 -0
- package/dist/cjs/components/Link/Link.cjs +85 -0
- package/dist/cjs/components/Link/Link.cjs.map +1 -0
- package/dist/cjs/components/Pill/Pill.cjs +3 -1
- package/dist/cjs/components/Pill/Pill.cjs.map +1 -1
- package/dist/cjs/components/ProfileStatus/ProfileStatus.cjs +51 -0
- package/dist/cjs/components/ProfileStatus/ProfileStatus.cjs.map +1 -0
- package/dist/cjs/components/Radio/Radio.cjs +65 -34
- package/dist/cjs/components/Radio/Radio.cjs.map +1 -1
- package/dist/cjs/components/Select/Select.cjs +4 -4
- package/dist/cjs/components/Select/Select.cjs.map +1 -1
- package/dist/cjs/components/Tabs/TabsTrigger.cjs +35 -26
- package/dist/cjs/components/Tabs/TabsTrigger.cjs.map +1 -1
- package/dist/cjs/components/TextField/TextField.cjs +4 -4
- package/dist/cjs/components/TextField/TextField.cjs.map +1 -1
- package/dist/cjs/index.cjs +8 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/components/Alert/Alert.mjs +28 -5
- package/dist/components/Alert/Alert.mjs.map +1 -1
- package/dist/components/Badge/Badge.mjs +17 -5
- package/dist/components/Badge/Badge.mjs.map +1 -1
- package/dist/components/Checkbox/Checkbox.mjs +1 -1
- package/dist/components/Checkbox/Checkbox.mjs.map +1 -1
- package/dist/components/Dialog/Dialog.mjs +21 -8
- package/dist/components/Dialog/Dialog.mjs.map +1 -1
- package/dist/components/FanFollowerCount/FanFollowerCount.mjs +47 -0
- package/dist/components/FanFollowerCount/FanFollowerCount.mjs.map +1 -0
- package/dist/components/IconButton/IconButton.mjs +1 -1
- package/dist/components/IconButton/IconButton.mjs.map +1 -1
- package/dist/components/Icons/CogIcon.mjs +57 -0
- package/dist/components/Icons/CogIcon.mjs.map +1 -0
- package/dist/components/Link/Link.mjs +68 -0
- package/dist/components/Link/Link.mjs.map +1 -0
- package/dist/components/Pill/Pill.mjs +3 -1
- package/dist/components/Pill/Pill.mjs.map +1 -1
- package/dist/components/ProfileStatus/ProfileStatus.mjs +34 -0
- package/dist/components/ProfileStatus/ProfileStatus.mjs.map +1 -0
- package/dist/components/Radio/Radio.mjs +66 -35
- package/dist/components/Radio/Radio.mjs.map +1 -1
- package/dist/components/Select/Select.mjs +4 -4
- package/dist/components/Select/Select.mjs.map +1 -1
- package/dist/components/Tabs/TabsTrigger.mjs +35 -26
- package/dist/components/Tabs/TabsTrigger.mjs.map +1 -1
- package/dist/components/TextField/TextField.mjs +4 -4
- package/dist/components/TextField/TextField.mjs.map +1 -1
- package/dist/index.d.ts +180 -12
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -155,18 +155,39 @@ export declare type AIIconProps = BaseIconProps;
|
|
|
155
155
|
/**
|
|
156
156
|
* Displays a contextual feedback message to the user.
|
|
157
157
|
*
|
|
158
|
-
* Supports `info`, `success`, `warning`, and `
|
|
159
|
-
* icon per variant, optional title, description,
|
|
158
|
+
* Supports `info`, `success`, `warning`, `error`, and `neutral` variants with a
|
|
159
|
+
* default icon per variant, optional title, description, dismiss button, and an
|
|
160
|
+
* optional composable `action` slot.
|
|
160
161
|
*
|
|
161
162
|
* Each variant renders a default icon automatically. Pass a custom `icon` to
|
|
162
163
|
* override, or `icon={null}` to hide the icon entirely.
|
|
163
164
|
*
|
|
165
|
+
* Only the title and description live inside the `role="alert"` live region.
|
|
166
|
+
* The icon, `action`, and close button are rendered outside it so interactive
|
|
167
|
+
* controls are announced and navigated consistently by screen readers.
|
|
168
|
+
*
|
|
164
169
|
* @example
|
|
165
170
|
* ```tsx
|
|
166
171
|
* <Alert variant="success" title="Saved" closable onClose={handleClose}>
|
|
167
172
|
* Your changes have been saved.
|
|
168
173
|
* </Alert>
|
|
169
174
|
* ```
|
|
175
|
+
*
|
|
176
|
+
* @example
|
|
177
|
+
* ```tsx
|
|
178
|
+
* <Alert variant="neutral" title="Heads up" action={<a href="/docs">Learn more</a>}>
|
|
179
|
+
* A general notice with no specific sentiment.
|
|
180
|
+
* </Alert>
|
|
181
|
+
* ```
|
|
182
|
+
*
|
|
183
|
+
* @example
|
|
184
|
+
* ```tsx
|
|
185
|
+
* import Link from "next/link";
|
|
186
|
+
*
|
|
187
|
+
* <Alert variant="info" title="Update available" action={<Link href="/changelog">See what's new</Link>}>
|
|
188
|
+
* A new version is ready to install.
|
|
189
|
+
* </Alert>
|
|
190
|
+
* ```
|
|
170
191
|
*/
|
|
171
192
|
export declare const Alert: React_2.ForwardRefExoticComponent<AlertProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
172
193
|
|
|
@@ -196,10 +217,17 @@ export declare interface AlertProps extends React_2.HTMLAttributes<HTMLDivElemen
|
|
|
196
217
|
onClose?: () => void;
|
|
197
218
|
/** Accessible label for the close button. @default "Close alert" */
|
|
198
219
|
closeLabel?: string;
|
|
220
|
+
/**
|
|
221
|
+
* Composable action slot rendered beneath the description, outside the
|
|
222
|
+
* `role="alert"` live region. Pass your own element (an `<a>`, a `next/link`
|
|
223
|
+
* `<Link>`, or a `<Button>`) and it receives the variant-appropriate link
|
|
224
|
+
* styling via the Radix `Slot` pattern while remaining a real link/button.
|
|
225
|
+
*/
|
|
226
|
+
action?: React_2.ReactNode;
|
|
199
227
|
}
|
|
200
228
|
|
|
201
229
|
/** Visual style variant of the alert. */
|
|
202
|
-
export declare type AlertVariant = "info" | "success" | "warning" | "error";
|
|
230
|
+
export declare type AlertVariant = "info" | "success" | "warning" | "error" | "neutral";
|
|
203
231
|
|
|
204
232
|
/**
|
|
205
233
|
* Apps icon. Renders at sizes 16, 24, or 32 px with outlined and filled variants.
|
|
@@ -596,7 +624,7 @@ export declare interface BadgeProps extends React_2.HTMLAttributes<HTMLSpanEleme
|
|
|
596
624
|
}
|
|
597
625
|
|
|
598
626
|
/** Visual style variant of the badge. */
|
|
599
|
-
export declare type BadgeVariant = "default" | "dark" | "success" | "warning" | "error" | "special" | "info" | "online" | "brand" | "pink" | "brandLight" | "pinkLight";
|
|
627
|
+
export declare type BadgeVariant = "default" | "dark" | "success" | "warning" | "error" | "special" | "info" | "successColour" | "warningColour" | "errorColour" | "infoColour" | "aiGenerated" | "negative" | "online" | "brand" | "pink" | "brandLight" | "pinkLight";
|
|
600
628
|
|
|
601
629
|
/**
|
|
602
630
|
* Bank icon. Renders at sizes 16, 24, or 32 px with outlined and filled variants.
|
|
@@ -1388,6 +1416,19 @@ export declare const CodeIcon: React_2.ForwardRefExoticComponent<BaseIconProps &
|
|
|
1388
1416
|
/** Props for {@link CodeIcon}. See {@link BaseIconProps} for the shared shape. */
|
|
1389
1417
|
export declare type CodeIconProps = BaseIconProps;
|
|
1390
1418
|
|
|
1419
|
+
/**
|
|
1420
|
+
* Cog icon. Renders at sizes 16, 24, or 32 px with outlined and filled variants.
|
|
1421
|
+
*
|
|
1422
|
+
* @example
|
|
1423
|
+
* ```tsx
|
|
1424
|
+
* <CogIcon size={24} filled />
|
|
1425
|
+
* ```
|
|
1426
|
+
*/
|
|
1427
|
+
export declare const CogIcon: React_2.ForwardRefExoticComponent<BaseIconProps & React_2.RefAttributes<SVGSVGElement>>;
|
|
1428
|
+
|
|
1429
|
+
/** Props for {@link CogIcon}. See {@link BaseIconProps} for the shared shape. */
|
|
1430
|
+
export declare type CogIconProps = BaseIconProps;
|
|
1431
|
+
|
|
1391
1432
|
/**
|
|
1392
1433
|
* Coin icon. Renders at sizes 16, 24, or 32 px with outlined and filled variants.
|
|
1393
1434
|
*
|
|
@@ -1703,8 +1744,9 @@ export declare type DialogCloseProps = React_2.ComponentPropsWithoutRef<typeof D
|
|
|
1703
1744
|
* `fixed` positioning still applies; ancestors with `transform` or `overflow` may affect layout.
|
|
1704
1745
|
*
|
|
1705
1746
|
* On mobile viewports (<640px), the dialog slides up from the bottom as a sheet
|
|
1706
|
-
* with top-only border radius
|
|
1707
|
-
*
|
|
1747
|
+
* with top-only border radius by default; pass `mobilePresentation="card"` to
|
|
1748
|
+
* render a centered floating card instead (used for small confirmation dialogs).
|
|
1749
|
+
* On larger viewports it renders centered with full border radius.
|
|
1708
1750
|
*
|
|
1709
1751
|
* @example
|
|
1710
1752
|
* ```tsx
|
|
@@ -1747,8 +1789,17 @@ export declare interface DialogContentProps extends React_2.ComponentPropsWithou
|
|
|
1747
1789
|
* @default true
|
|
1748
1790
|
*/
|
|
1749
1791
|
portal?: boolean;
|
|
1750
|
-
/** Show the v2 mobile sheet pull handle. @default true */
|
|
1792
|
+
/** Show the v2 mobile sheet pull handle. Only rendered when `mobilePresentation` is `"sheet"`. @default true */
|
|
1751
1793
|
showMobileHandle?: boolean;
|
|
1794
|
+
/**
|
|
1795
|
+
* How the dialog presents below the `sm` breakpoint.
|
|
1796
|
+
* - `"sheet"` — bottom sheet pinned to the viewport bottom edge (default)
|
|
1797
|
+
* - `"card"` — centered floating card per the v2-modal confirmation spec:
|
|
1798
|
+
* 16px side margins, 24px padding, 32px radius on all corners, no pull handle
|
|
1799
|
+
*
|
|
1800
|
+
* @default "sheet"
|
|
1801
|
+
*/
|
|
1802
|
+
mobilePresentation?: "sheet" | "card";
|
|
1752
1803
|
}
|
|
1753
1804
|
|
|
1754
1805
|
/** Accessible description for the dialog. Rendered as secondary text. */
|
|
@@ -2461,6 +2512,33 @@ export declare const FacebookIcon: React_2.ForwardRefExoticComponent<React_2.SVG
|
|
|
2461
2512
|
className?: string;
|
|
2462
2513
|
} & React_2.RefAttributes<SVGSVGElement>>;
|
|
2463
2514
|
|
|
2515
|
+
/**
|
|
2516
|
+
* Displays a creator's formatted fan and subscriber counts, each paired with an
|
|
2517
|
+
* icon. Numeric values are compacted (`1200` → `"1.2k"`); pass a pre-formatted
|
|
2518
|
+
* string to bypass formatting. Either group can be hidden independently.
|
|
2519
|
+
*
|
|
2520
|
+
* @example
|
|
2521
|
+
* ```tsx
|
|
2522
|
+
* <FanFollowerCount fans={1200} subs={3000} />
|
|
2523
|
+
* ```
|
|
2524
|
+
*/
|
|
2525
|
+
export declare const FanFollowerCount: React_2.ForwardRefExoticComponent<FanFollowerCountProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2526
|
+
|
|
2527
|
+
export declare interface FanFollowerCountProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
2528
|
+
/** Fan count. Numbers are compacted (e.g. `1200` → `"1.2k"`); strings render verbatim. @default 0 */
|
|
2529
|
+
fans?: number | string;
|
|
2530
|
+
/** Subscriber count. Numbers are compacted (e.g. `3000` → `"3k"`); strings render verbatim. @default 0 */
|
|
2531
|
+
subs?: number | string;
|
|
2532
|
+
/** Show the fan count group. @default true */
|
|
2533
|
+
showFans?: boolean;
|
|
2534
|
+
/** Show the subscriber count group. @default true */
|
|
2535
|
+
showSubs?: boolean;
|
|
2536
|
+
/** Label rendered after the fan count. @default "Fans" */
|
|
2537
|
+
fansLabel?: string;
|
|
2538
|
+
/** Label rendered after the subscriber count. @default "Subs" */
|
|
2539
|
+
subsLabel?: string;
|
|
2540
|
+
}
|
|
2541
|
+
|
|
2464
2542
|
/**
|
|
2465
2543
|
* Flag icon. Renders at sizes 16, 24, or 32 px with outlined and filled variants.
|
|
2466
2544
|
*
|
|
@@ -2901,6 +2979,22 @@ export declare const LanguageIcon: React_2.ForwardRefExoticComponent<BaseIconPro
|
|
|
2901
2979
|
/** Props for {@link LanguageIcon}. See {@link BaseIconProps} for the shared shape. */
|
|
2902
2980
|
export declare type LanguageIconProps = BaseIconProps;
|
|
2903
2981
|
|
|
2982
|
+
/**
|
|
2983
|
+
* An inline text link for navigating to a related page or section without
|
|
2984
|
+
* using a button. Use `primary` for standard navigation and `brand` for the
|
|
2985
|
+
* Fanvue green accent on calls to action within content.
|
|
2986
|
+
*
|
|
2987
|
+
* Renders an underlined `<a>` by default. Pass `asChild` to compose with a
|
|
2988
|
+
* router link (e.g. Next.js `Link`). When rendering without a visible label,
|
|
2989
|
+
* provide an `aria-label`.
|
|
2990
|
+
*
|
|
2991
|
+
* @example
|
|
2992
|
+
* ```tsx
|
|
2993
|
+
* <Link href="/pricing" variant="brand">See our plans</Link>
|
|
2994
|
+
* ```
|
|
2995
|
+
*/
|
|
2996
|
+
export declare const Link: React_2.ForwardRefExoticComponent<LinkProps & React_2.RefAttributes<HTMLAnchorElement>>;
|
|
2997
|
+
|
|
2904
2998
|
/**
|
|
2905
2999
|
* Link icon. Renders at sizes 16, 24, or 32 px.
|
|
2906
3000
|
*
|
|
@@ -2914,6 +3008,27 @@ export declare const LinkIcon: React_2.ForwardRefExoticComponent<BaseIconProps &
|
|
|
2914
3008
|
/** Props for {@link LinkIcon}. See {@link BaseIconProps} for the shared shape. */
|
|
2915
3009
|
export declare type LinkIconProps = BaseIconProps;
|
|
2916
3010
|
|
|
3011
|
+
export declare interface LinkProps extends React_2.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
3012
|
+
/** Visual style variant of the link. @default "primary" */
|
|
3013
|
+
variant?: LinkVariant;
|
|
3014
|
+
/** Text size of the link in pixels. @default "16" */
|
|
3015
|
+
size?: LinkSize;
|
|
3016
|
+
/** When `true`, greys the link out and blocks interaction. @default false */
|
|
3017
|
+
disabled?: boolean;
|
|
3018
|
+
/** Icon element displayed before the label. */
|
|
3019
|
+
leftIcon?: React_2.ReactNode;
|
|
3020
|
+
/** Icon element displayed after the label. */
|
|
3021
|
+
rightIcon?: React_2.ReactNode;
|
|
3022
|
+
/** Merge props onto a child element instead of rendering an `<a>`. @default false */
|
|
3023
|
+
asChild?: boolean;
|
|
3024
|
+
}
|
|
3025
|
+
|
|
3026
|
+
/** Text size of the link in pixels. */
|
|
3027
|
+
export declare type LinkSize = "16" | "14";
|
|
3028
|
+
|
|
3029
|
+
/** Visual style variant of the link. */
|
|
3030
|
+
export declare type LinkVariant = "primary" | "brand";
|
|
3031
|
+
|
|
2917
3032
|
/**
|
|
2918
3033
|
* A layout-aware loading indicator that renders a centered `SpinnerIcon` inside
|
|
2919
3034
|
* a relatively-positioned container. Drop-in replacement for the Olympus `Loader`.
|
|
@@ -3413,7 +3528,7 @@ export declare interface PillProps extends React_2.HTMLAttributes<HTMLSpanElemen
|
|
|
3413
3528
|
}
|
|
3414
3529
|
|
|
3415
3530
|
/** Colour variant of the pill. */
|
|
3416
|
-
export declare type PillVariant = "green" | "grey" | "blue" | "gold" | "pinkLight" | "base" | "brand" | "brandLight" | "beta" | "error" | "red";
|
|
3531
|
+
export declare type PillVariant = "green" | "grey" | "blue" | "gold" | "pinkLight" | "base" | "contrast" | "negative" | "brand" | "brandLight" | "beta" | "error" | "red";
|
|
3417
3532
|
|
|
3418
3533
|
/**
|
|
3419
3534
|
* Pin 2 icon. Renders at sizes 16, 24, or 32 px with outlined and filled variants.
|
|
@@ -3483,6 +3598,38 @@ export declare interface ProfileOnlineStatusProps extends React_2.HTMLAttributes
|
|
|
3483
3598
|
label?: string;
|
|
3484
3599
|
}
|
|
3485
3600
|
|
|
3601
|
+
/**
|
|
3602
|
+
* Presence indicator showing whether a creator or fan is currently active.
|
|
3603
|
+
* The active state pulses to signal real-time presence; the inactive state is a
|
|
3604
|
+
* static, muted dot for lists, tables, and content views where presence is less
|
|
3605
|
+
* relevant.
|
|
3606
|
+
*
|
|
3607
|
+
* Decorative by default (`aria-hidden`) — pair it with a visible or visually
|
|
3608
|
+
* hidden label at the usage site. Pass `aria-label` to expose it as a
|
|
3609
|
+
* standalone image to assistive technology.
|
|
3610
|
+
*
|
|
3611
|
+
* Supersedes the V1 `OnlineBlinkingIcon`: `<ProfileStatus />` is a drop-in
|
|
3612
|
+
* replacement for `<OnlineBlinkingIcon />`, adding the distinct inactive state.
|
|
3613
|
+
*
|
|
3614
|
+
* @example
|
|
3615
|
+
* ```tsx
|
|
3616
|
+
* <ProfileStatus active />
|
|
3617
|
+
* <ProfileStatus active={false} size="md" />
|
|
3618
|
+
* <ProfileStatus active aria-label="Online" />
|
|
3619
|
+
* ```
|
|
3620
|
+
*/
|
|
3621
|
+
export declare const ProfileStatus: React_2.ForwardRefExoticComponent<ProfileStatusProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
3622
|
+
|
|
3623
|
+
export declare interface ProfileStatusProps extends React_2.HTMLAttributes<HTMLSpanElement> {
|
|
3624
|
+
/** Whether the profile is currently active. Active renders a pulsing green dot; inactive renders a static grey dot. @default true */
|
|
3625
|
+
active?: boolean;
|
|
3626
|
+
/** Size preset of the indicator. @default "sm" */
|
|
3627
|
+
size?: ProfileStatusSize;
|
|
3628
|
+
}
|
|
3629
|
+
|
|
3630
|
+
/** Size preset of the {@link ProfileStatus} indicator. */
|
|
3631
|
+
export declare type ProfileStatusSize = "sm" | "md";
|
|
3632
|
+
|
|
3486
3633
|
/**
|
|
3487
3634
|
* A horizontal progress indicator with optional title, completion percentage,
|
|
3488
3635
|
* step count, and helper text. The bar colour reflects progress when using the
|
|
@@ -3540,14 +3687,14 @@ export declare const QueueIcon: React_2.ForwardRefExoticComponent<BaseIconProps
|
|
|
3540
3687
|
export declare type QueueIconProps = BaseIconProps;
|
|
3541
3688
|
|
|
3542
3689
|
/**
|
|
3543
|
-
* A single radio option within a {@link RadioGroup}.
|
|
3544
|
-
* and helper text.
|
|
3690
|
+
* A single radio option within a {@link RadioGroup}. Supports leading or
|
|
3691
|
+
* trailing button placement, an optional avatar, a label, and helper text.
|
|
3545
3692
|
*
|
|
3546
3693
|
* @example
|
|
3547
3694
|
* ```tsx
|
|
3548
3695
|
* <RadioGroup value={value} onValueChange={setValue}>
|
|
3549
3696
|
* <Radio value="a" label="Option A" />
|
|
3550
|
-
* <Radio value="b" label="Option B" />
|
|
3697
|
+
* <Radio value="b" label="Option B" layout="trailing" />
|
|
3551
3698
|
* </RadioGroup>
|
|
3552
3699
|
* ```
|
|
3553
3700
|
*/
|
|
@@ -3570,6 +3717,9 @@ export declare const RadioGroup: React_2.ForwardRefExoticComponent<Omit<RadioGro
|
|
|
3570
3717
|
/** Props for the {@link RadioGroup} component. Extends the Radix `RadioGroup.Root` props. */
|
|
3571
3718
|
export declare type RadioGroupProps = React_2.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;
|
|
3572
3719
|
|
|
3720
|
+
/** Placement of the radio button relative to its label. */
|
|
3721
|
+
export declare type RadioLayout = "leading" | "trailing";
|
|
3722
|
+
|
|
3573
3723
|
export declare interface RadioProps extends Omit<React_2.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, "asChild"> {
|
|
3574
3724
|
/** Size variant controlling label and helper text typography. @default "default" */
|
|
3575
3725
|
size?: "default" | "small";
|
|
@@ -3577,6 +3727,16 @@ export declare interface RadioProps extends Omit<React_2.ComponentPropsWithoutRe
|
|
|
3577
3727
|
label?: string;
|
|
3578
3728
|
/** Descriptive text displayed below the label. */
|
|
3579
3729
|
helperText?: string;
|
|
3730
|
+
/**
|
|
3731
|
+
* Placement of the radio button. `"leading"` renders it before the label;
|
|
3732
|
+
* `"trailing"` pushes it to the far end of the row (for list rows). @default "leading"
|
|
3733
|
+
*/
|
|
3734
|
+
layout?: RadioLayout;
|
|
3735
|
+
/**
|
|
3736
|
+
* Optional avatar shown alongside the label, for options that represent a
|
|
3737
|
+
* person or account. Pass an {@link Avatar} sized to `32`.
|
|
3738
|
+
*/
|
|
3739
|
+
avatar?: React_2.ReactNode;
|
|
3580
3740
|
}
|
|
3581
3741
|
|
|
3582
3742
|
/** A single rating value paired with the number of reviews that gave it. */
|
|
@@ -4666,7 +4826,15 @@ export declare type TabsListProps = React_2.ComponentPropsWithoutRef<typeof Tabs
|
|
|
4666
4826
|
/** Props for the {@link Tabs} root component. Extends Radix `Tabs.Root` props. */
|
|
4667
4827
|
export declare type TabsProps = React_2.ComponentPropsWithoutRef<typeof TabsPrimitive.Root>;
|
|
4668
4828
|
|
|
4669
|
-
/**
|
|
4829
|
+
/**
|
|
4830
|
+
* An interactive tab that activates its associated {@link TabsContent} panel.
|
|
4831
|
+
*
|
|
4832
|
+
* Renders a `<button>` by default. Pass `asChild` to render the tab as another
|
|
4833
|
+
* element — e.g. a router link for navigation tabs (`<TabsTrigger asChild><Link
|
|
4834
|
+
* href="…">…</Link></TabsTrigger>`). With `asChild` the child element becomes
|
|
4835
|
+
* the tab itself (receiving `role="tab"` and focus management), so the tab
|
|
4836
|
+
* stays a single interactive control rather than nesting one inside the other.
|
|
4837
|
+
*/
|
|
4670
4838
|
export declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
4671
4839
|
|
|
4672
4840
|
/** Props for the {@link TabsTrigger} button component. */
|
package/dist/index.mjs
CHANGED
|
@@ -29,6 +29,7 @@ import { Divider } from "./components/Divider/Divider.mjs";
|
|
|
29
29
|
import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerTitle, DrawerTrigger } from "./components/Drawer/Drawer.mjs";
|
|
30
30
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuHeader, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger } from "./components/DropdownMenu/DropdownMenu.mjs";
|
|
31
31
|
import { EmptyState } from "./components/EmptyState/EmptyState.mjs";
|
|
32
|
+
import { FanFollowerCount } from "./components/FanFollowerCount/FanFollowerCount.mjs";
|
|
32
33
|
import { IconButton } from "./components/IconButton/IconButton.mjs";
|
|
33
34
|
import { AddIcon } from "./components/Icons/AddIcon.mjs";
|
|
34
35
|
import { AffiliatesIcon } from "./components/Icons/AffiliatesIcon.mjs";
|
|
@@ -67,6 +68,7 @@ import { ChevronUpIcon } from "./components/Icons/ChevronUpIcon.mjs";
|
|
|
67
68
|
import { ClockIcon } from "./components/Icons/ClockIcon.mjs";
|
|
68
69
|
import { CloseIcon } from "./components/Icons/CloseIcon.mjs";
|
|
69
70
|
import { CodeIcon } from "./components/Icons/CodeIcon.mjs";
|
|
71
|
+
import { CogIcon } from "./components/Icons/CogIcon.mjs";
|
|
70
72
|
import { CoinIcon } from "./components/Icons/CoinIcon.mjs";
|
|
71
73
|
import { CompassIcon } from "./components/Icons/CompassIcon.mjs";
|
|
72
74
|
import { CopyIcon } from "./components/Icons/CopyIcon.mjs";
|
|
@@ -195,6 +197,7 @@ import { WifiOnIcon } from "./components/Icons/WifiOnIcon.mjs";
|
|
|
195
197
|
import { WrenchIcon } from "./components/Icons/WrenchIcon.mjs";
|
|
196
198
|
import { InfoBox, InfoBoxContent, InfoBoxTrigger } from "./components/InfoBox/InfoBox.mjs";
|
|
197
199
|
import { InlineEdit } from "./components/InlineEdit/InlineEdit.mjs";
|
|
200
|
+
import { Link } from "./components/Link/Link.mjs";
|
|
198
201
|
import { Loader } from "./components/Loader/Loader.mjs";
|
|
199
202
|
import { Logo } from "./components/Logo/Logo.mjs";
|
|
200
203
|
import { MobileStepper } from "./components/MobileStepper/MobileStepper.mjs";
|
|
@@ -203,6 +206,7 @@ import { Pagination } from "./components/Pagination/Pagination.mjs";
|
|
|
203
206
|
import { PasswordField } from "./components/PasswordField/PasswordField.mjs";
|
|
204
207
|
import { Pill } from "./components/Pill/Pill.mjs";
|
|
205
208
|
import { ProfileOnlineStatus } from "./components/ProfileOnlineStatus/ProfileOnlineStatus.mjs";
|
|
209
|
+
import { ProfileStatus } from "./components/ProfileStatus/ProfileStatus.mjs";
|
|
206
210
|
import { ProgressBar } from "./components/ProgressBar/ProgressBar.mjs";
|
|
207
211
|
import { Radio } from "./components/Radio/Radio.mjs";
|
|
208
212
|
import { RadioGroup } from "./components/RadioGroup/RadioGroup.mjs";
|
|
@@ -303,6 +307,7 @@ export {
|
|
|
303
307
|
ClockIcon,
|
|
304
308
|
CloseIcon,
|
|
305
309
|
CodeIcon,
|
|
310
|
+
CogIcon,
|
|
306
311
|
CoinIcon,
|
|
307
312
|
CompassIcon,
|
|
308
313
|
CopyIcon,
|
|
@@ -362,6 +367,7 @@ export {
|
|
|
362
367
|
EyeOffIcon,
|
|
363
368
|
EyeSlashIcon,
|
|
364
369
|
FacebookIcon,
|
|
370
|
+
FanFollowerCount,
|
|
365
371
|
FlagIcon,
|
|
366
372
|
FlameIcon,
|
|
367
373
|
FlashIcon,
|
|
@@ -389,6 +395,7 @@ export {
|
|
|
389
395
|
InfoIcon,
|
|
390
396
|
InlineEdit,
|
|
391
397
|
LanguageIcon,
|
|
398
|
+
Link,
|
|
392
399
|
LinkIcon,
|
|
393
400
|
Loader,
|
|
394
401
|
LocationIcon,
|
|
@@ -426,6 +433,7 @@ export {
|
|
|
426
433
|
PlusIcon,
|
|
427
434
|
PrivacyIcon,
|
|
428
435
|
ProfileOnlineStatus,
|
|
436
|
+
ProfileStatus,
|
|
429
437
|
ProgressBar,
|
|
430
438
|
QueueIcon,
|
|
431
439
|
Radio,
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|