@fanvue/ui 3.37.1 → 3.39.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/ChatEmbed/ChatEmbed.cjs +315 -0
- package/dist/cjs/components/ChatEmbed/ChatEmbed.cjs.map +1 -0
- package/dist/cjs/components/DropdownMenu/DropdownMenuItem.cjs +24 -25
- package/dist/cjs/components/DropdownMenu/DropdownMenuItem.cjs.map +1 -1
- package/dist/cjs/components/DropdownMenu/DropdownMenuRoot.cjs +7 -8
- package/dist/cjs/components/DropdownMenu/DropdownMenuRoot.cjs.map +1 -1
- package/dist/cjs/components/LiveStatus/LiveStatus.cjs +51 -0
- package/dist/cjs/components/LiveStatus/LiveStatus.cjs.map +1 -0
- package/dist/cjs/components/SwitchField/SwitchField.cjs +12 -1
- package/dist/cjs/components/SwitchField/SwitchField.cjs.map +1 -1
- package/dist/cjs/index.cjs +6 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/components/ChatEmbed/ChatEmbed.mjs +298 -0
- package/dist/components/ChatEmbed/ChatEmbed.mjs.map +1 -0
- package/dist/components/DropdownMenu/DropdownMenuItem.mjs +24 -25
- package/dist/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenuRoot.mjs +7 -8
- package/dist/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -1
- package/dist/components/LiveStatus/LiveStatus.mjs +34 -0
- package/dist/components/LiveStatus/LiveStatus.mjs.map +1 -0
- package/dist/components/SwitchField/SwitchField.mjs +12 -1
- package/dist/components/SwitchField/SwitchField.mjs.map +1 -1
- package/dist/index.d.ts +178 -5
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/dist/styles/theme.css +21 -2
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -1459,6 +1459,158 @@ export declare const ChartIcon: React_2.ForwardRefExoticComponent<BaseIconProps
|
|
|
1459
1459
|
/** Props for {@link ChartIcon}. See {@link BaseIconProps} for the shared shape. */
|
|
1460
1460
|
export declare type ChartIconProps = BaseIconProps;
|
|
1461
1461
|
|
|
1462
|
+
/**
|
|
1463
|
+
* A card embedded in a chat thread that links out to a creator profile or a fan
|
|
1464
|
+
* experience such as a live stream or game. Media fills the card and the profile
|
|
1465
|
+
* row sits on a blurred scrim along the bottom edge.
|
|
1466
|
+
*
|
|
1467
|
+
* The `creator` variant is 160px tall and the `experience` variant 239px; both
|
|
1468
|
+
* fill their container up to 400px wide. Pass `href` (or `onOpen`) to make the
|
|
1469
|
+
* whole card clickable; the `action` stays separately clickable above it. Use
|
|
1470
|
+
* {@link ChatEmbedSkeleton} while the embed's data loads and
|
|
1471
|
+
* {@link ChatEmbedUnavailable} when the shared item no longer exists.
|
|
1472
|
+
*
|
|
1473
|
+
* Give `media` meaningful alt text when it conveys content, or `alt=""` when the
|
|
1474
|
+
* title already describes it. When `media` is a video with `verticalMedia`, pass
|
|
1475
|
+
* its poster frame as `mediaBackdrop` so the video is not decoded twice.
|
|
1476
|
+
* `socialProof` is shown to everyone in the chat, so prefer a count over naming
|
|
1477
|
+
* other fans.
|
|
1478
|
+
*
|
|
1479
|
+
* @example
|
|
1480
|
+
* ```tsx
|
|
1481
|
+
* <ChatEmbed
|
|
1482
|
+
* variant="experience"
|
|
1483
|
+
* href="https://www.fanvue.com"
|
|
1484
|
+
* badge={<LiveStatus variant="live" />}
|
|
1485
|
+
* category="Audio"
|
|
1486
|
+
* media={<img src="/stream.jpg" alt="" />}
|
|
1487
|
+
* avatar={{ src: "/avatar.jpg", fallback: "JD" }}
|
|
1488
|
+
* title="Friday night Q&A"
|
|
1489
|
+
* subtitle="@jane_doe"
|
|
1490
|
+
* action={<Button variant="white" size="32">Join</Button>}
|
|
1491
|
+
* />
|
|
1492
|
+
* ```
|
|
1493
|
+
*/
|
|
1494
|
+
export declare const ChatEmbed: React_2.ForwardRefExoticComponent<ChatEmbedProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1495
|
+
|
|
1496
|
+
declare interface ChatEmbedBaseProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "title" | "onClick"> {
|
|
1497
|
+
/** Media filling the card, typically an `img` or `video`, over a dark surface. */
|
|
1498
|
+
media?: React_2.ReactNode;
|
|
1499
|
+
/** Still image blurred behind `verticalMedia`, e.g. the same image or a video's poster frame. */
|
|
1500
|
+
mediaBackdrop?: React_2.ReactNode;
|
|
1501
|
+
/** Frame portrait media in a centred 9:16 column over `mediaBackdrop`. @default false */
|
|
1502
|
+
verticalMedia?: boolean;
|
|
1503
|
+
/** Avatar shown at the start of the profile row. */
|
|
1504
|
+
avatar?: AvatarProps;
|
|
1505
|
+
/** Primary line of the profile row: a display name or an experience title. */
|
|
1506
|
+
title: React_2.ReactNode;
|
|
1507
|
+
/** Secondary line under the title, e.g. a handle or "Made by @jane_doe". */
|
|
1508
|
+
subtitle?: React_2.ReactNode;
|
|
1509
|
+
/** Show the verified badge on the creator line. @default false */
|
|
1510
|
+
verified?: boolean;
|
|
1511
|
+
/** Accessible label for the verified badge. @default "Verified" */
|
|
1512
|
+
verifiedLabel?: string;
|
|
1513
|
+
/** Show the EU AI-disclosure badge on the creator line. @default false */
|
|
1514
|
+
aiDisclosure?: boolean;
|
|
1515
|
+
/** Accessible label for the AI-disclosure badge. @default "AI creator" */
|
|
1516
|
+
aiDisclosureLabel?: string;
|
|
1517
|
+
/** Action at the end of the profile row, typically a `Button` with `variant="white"` and `size="32"`. */
|
|
1518
|
+
action?: React_2.ReactNode;
|
|
1519
|
+
/** Badge in the top-left corner, typically a {@link LiveStatus}. */
|
|
1520
|
+
badge?: React_2.ReactNode;
|
|
1521
|
+
/** Short category label shown as a tag after the badge, e.g. "Game" or "Audio". */
|
|
1522
|
+
category?: React_2.ReactNode;
|
|
1523
|
+
/** Short copy in a translucent pill in the top-right corner, e.g. "2 hours ago". */
|
|
1524
|
+
meta?: React_2.ReactNode;
|
|
1525
|
+
/** Renders the media in greyscale, e.g. once a live has ended. @default false */
|
|
1526
|
+
inactive?: boolean;
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
declare interface ChatEmbedButtonProps {
|
|
1530
|
+
/** Not available with `onOpen`. */
|
|
1531
|
+
href?: never;
|
|
1532
|
+
/** Not available with `onOpen`. */
|
|
1533
|
+
target?: never;
|
|
1534
|
+
/** Makes the whole card a button named by the title, e.g. to open a dialog. */
|
|
1535
|
+
onOpen?: () => void;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
declare interface ChatEmbedCreatorProps extends ChatEmbedBaseProps {
|
|
1539
|
+
/** Layout of the embed. @default "creator" */
|
|
1540
|
+
variant?: "creator";
|
|
1541
|
+
/** Only available on the `experience` variant. */
|
|
1542
|
+
socialProof?: never;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
declare interface ChatEmbedExperienceProps extends ChatEmbedBaseProps {
|
|
1546
|
+
/** Layout of the embed. */
|
|
1547
|
+
variant: "experience";
|
|
1548
|
+
/** Social proof row shown above the profile row. */
|
|
1549
|
+
socialProof?: ChatEmbedSocialProof;
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
declare interface ChatEmbedLinkProps {
|
|
1553
|
+
/** Makes the whole card a link to this URL, named by the title. */
|
|
1554
|
+
href: string;
|
|
1555
|
+
/** Where to open `href`; `"_blank"` adds `rel="noopener noreferrer"`. */
|
|
1556
|
+
target?: React_2.HTMLAttributeAnchorTarget;
|
|
1557
|
+
/** Not available with `href`. */
|
|
1558
|
+
onOpen?: never;
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
/** Props for {@link ChatEmbed}. `socialProof` is only accepted on `experience`, and `href` and `onOpen` are exclusive. */
|
|
1562
|
+
export declare type ChatEmbedProps = (ChatEmbedCreatorProps | ChatEmbedExperienceProps) & (ChatEmbedLinkProps | ChatEmbedButtonProps);
|
|
1563
|
+
|
|
1564
|
+
/**
|
|
1565
|
+
* Loading placeholder sized to match a {@link ChatEmbed}, shown while the data
|
|
1566
|
+
* for a shared link is being fetched.
|
|
1567
|
+
*
|
|
1568
|
+
* @example
|
|
1569
|
+
* ```tsx
|
|
1570
|
+
* <ChatEmbedSkeleton variant="experience" />
|
|
1571
|
+
* ```
|
|
1572
|
+
*/
|
|
1573
|
+
export declare const ChatEmbedSkeleton: React_2.ForwardRefExoticComponent<ChatEmbedSkeletonProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1574
|
+
|
|
1575
|
+
export declare interface ChatEmbedSkeletonProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
1576
|
+
/** Layout to match while the embed loads. @default "creator" */
|
|
1577
|
+
variant?: ChatEmbedVariant;
|
|
1578
|
+
/** Visually hidden text read by screen readers in place of the placeholder. @default "Loading" */
|
|
1579
|
+
label?: string;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
/** Overlapping avatars and copy showing who else is taking part. */
|
|
1583
|
+
export declare interface ChatEmbedSocialProof {
|
|
1584
|
+
/** Avatars shown in the overlapping stack, left to right. */
|
|
1585
|
+
avatars: AvatarProps[];
|
|
1586
|
+
/** Name shown in bold before the label, truncated at 120px. */
|
|
1587
|
+
name?: React_2.ReactNode;
|
|
1588
|
+
/** Copy shown after the name, e.g. "+2 watching". */
|
|
1589
|
+
label: React_2.ReactNode;
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* Placeholder sized to match a {@link ChatEmbed}, shown in place of the card when
|
|
1594
|
+
* the shared profile or experience has been removed, hidden or unpublished.
|
|
1595
|
+
* Pass `children` to localise the message.
|
|
1596
|
+
*
|
|
1597
|
+
* @example
|
|
1598
|
+
* ```tsx
|
|
1599
|
+
* <ChatEmbedUnavailable variant="experience" />
|
|
1600
|
+
* ```
|
|
1601
|
+
*/
|
|
1602
|
+
export declare const ChatEmbedUnavailable: React_2.ForwardRefExoticComponent<ChatEmbedUnavailableProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1603
|
+
|
|
1604
|
+
export declare interface ChatEmbedUnavailableProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
1605
|
+
/** Layout to match the embed it replaces. @default "creator" */
|
|
1606
|
+
variant?: ChatEmbedVariant;
|
|
1607
|
+
/** Icon shown above the message. */
|
|
1608
|
+
icon?: React_2.ReactNode;
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
/** Layout of the embed: a creator profile card or a fan experience card. */
|
|
1612
|
+
export declare type ChatEmbedVariant = "creator" | "experience";
|
|
1613
|
+
|
|
1462
1614
|
/**
|
|
1463
1615
|
* A chat-style multi-line input with an integrated toolbar containing an
|
|
1464
1616
|
* optional file-attach button, optional right-side controls (e.g. a model
|
|
@@ -2995,11 +3147,7 @@ export declare interface DropdownMenuItemProps extends React_2.ComponentPropsWit
|
|
|
2995
3147
|
*/
|
|
2996
3148
|
avatar?: React_2.ReactNode;
|
|
2997
3149
|
/**
|
|
2998
|
-
* Icon (or other node) rendered after the label.
|
|
2999
|
-
* {@link DropdownMenuItemProps.selected} is true and no `trailingIcon` is
|
|
3000
|
-
* given, the built-in selected check indicator renders in this slot
|
|
3001
|
-
* instead — pass a `trailingIcon` to use a custom selected indicator (e.g.
|
|
3002
|
-
* a themed tick) rather than the default one.
|
|
3150
|
+
* Icon (or other node) rendered after the label.
|
|
3003
3151
|
*/
|
|
3004
3152
|
trailingIcon?: React_2.ReactNode;
|
|
3005
3153
|
/** Trailing count or number (e.g. an unread total) rendered before {@link DropdownMenuItemProps.trailingIcon}. */
|
|
@@ -3955,6 +4103,26 @@ export declare const ListViewIcon: React_2.ForwardRefExoticComponent<BaseIconPro
|
|
|
3955
4103
|
/** Props for {@link ListViewIcon}. See {@link BaseIconProps} for the shared shape. */
|
|
3956
4104
|
export declare type ListViewIconProps = BaseIconProps;
|
|
3957
4105
|
|
|
4106
|
+
/**
|
|
4107
|
+
* Live state badge for experience embeds, typically passed to the `badge` slot of
|
|
4108
|
+
* {@link ChatEmbed}. `live` uses the live gradient and glow, `ended` a flat
|
|
4109
|
+
* surface. The label defaults per variant; pass `children` to localise it.
|
|
4110
|
+
*
|
|
4111
|
+
* @example
|
|
4112
|
+
* ```tsx
|
|
4113
|
+
* <LiveStatus variant="live" />
|
|
4114
|
+
* ```
|
|
4115
|
+
*/
|
|
4116
|
+
export declare const LiveStatus: React_2.ForwardRefExoticComponent<LiveStatusProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
4117
|
+
|
|
4118
|
+
export declare interface LiveStatusProps extends React_2.HTMLAttributes<HTMLSpanElement> {
|
|
4119
|
+
/** State shown by the badge. @default "live" */
|
|
4120
|
+
variant?: LiveStatusVariant;
|
|
4121
|
+
}
|
|
4122
|
+
|
|
4123
|
+
/** State shown by the live status badge. */
|
|
4124
|
+
export declare type LiveStatusVariant = "live" | "ended";
|
|
4125
|
+
|
|
3958
4126
|
/**
|
|
3959
4127
|
* A layout-aware loading indicator that renders a centered `SpinnerIcon` inside
|
|
3960
4128
|
* a relatively-positioned container. Drop-in replacement for the Olympus `Loader`.
|
|
@@ -5901,6 +6069,9 @@ export declare type SwitchButtonVariant = "default" | "ai";
|
|
|
5901
6069
|
*/
|
|
5902
6070
|
export declare const SwitchField: React_2.ForwardRefExoticComponent<SwitchFieldProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
5903
6071
|
|
|
6072
|
+
/** Font weight of the {@link SwitchField} label. */
|
|
6073
|
+
export declare type SwitchFieldLabelWeight = "semibold" | "regular";
|
|
6074
|
+
|
|
5904
6075
|
/** Side on which the switch toggle is positioned relative to the label. */
|
|
5905
6076
|
export declare type SwitchFieldOrientation = "right" | "left";
|
|
5906
6077
|
|
|
@@ -5911,6 +6082,8 @@ export declare interface SwitchFieldProps extends Omit<React_2.ComponentPropsWit
|
|
|
5911
6082
|
size?: SwitchSize;
|
|
5912
6083
|
/** Label text displayed next to the switch. */
|
|
5913
6084
|
label?: string;
|
|
6085
|
+
/** Font weight of the label. Settings rows use `"regular"`. @default "semibold" */
|
|
6086
|
+
labelWeight?: SwitchFieldLabelWeight;
|
|
5914
6087
|
/** Descriptive text displayed below the label. */
|
|
5915
6088
|
helperText?: string;
|
|
5916
6089
|
/** Tooltip text shown when hovering the info icon next to the label. */
|
package/dist/index.mjs
CHANGED
|
@@ -24,6 +24,7 @@ import { Button } from "./components/Button/Button.mjs";
|
|
|
24
24
|
import { ButtonIconGroup } from "./components/ButtonIconGroup/ButtonIconGroup.mjs";
|
|
25
25
|
import { ButtonStack } from "./components/ButtonStack/ButtonStack.mjs";
|
|
26
26
|
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./components/Card/Card.mjs";
|
|
27
|
+
import { ChatEmbed, ChatEmbedSkeleton, ChatEmbedUnavailable } from "./components/ChatEmbed/ChatEmbed.mjs";
|
|
27
28
|
import { ChatInput } from "./components/ChatInput/ChatInput.mjs";
|
|
28
29
|
import { ChatMessage } from "./components/ChatMessage/ChatMessage.mjs";
|
|
29
30
|
import { Checkbox } from "./components/Checkbox/Checkbox.mjs";
|
|
@@ -219,6 +220,7 @@ import { WrenchIcon } from "./components/Icons/WrenchIcon.mjs";
|
|
|
219
220
|
import { InfoBox, InfoBoxContent, InfoBoxTrigger } from "./components/InfoBox/InfoBox.mjs";
|
|
220
221
|
import { InlineEdit } from "./components/InlineEdit/InlineEdit.mjs";
|
|
221
222
|
import { Link } from "./components/Link/Link.mjs";
|
|
223
|
+
import { LiveStatus } from "./components/LiveStatus/LiveStatus.mjs";
|
|
222
224
|
import { Loader } from "./components/Loader/Loader.mjs";
|
|
223
225
|
import { Logo } from "./components/Logo/Logo.mjs";
|
|
224
226
|
import { MediaStatusIndicator } from "./components/MediaStatusIndicator/MediaStatusIndicator.mjs";
|
|
@@ -343,6 +345,9 @@ export {
|
|
|
343
345
|
CardIcon,
|
|
344
346
|
CardTitle,
|
|
345
347
|
ChartIcon,
|
|
348
|
+
ChatEmbed,
|
|
349
|
+
ChatEmbedSkeleton,
|
|
350
|
+
ChatEmbedUnavailable,
|
|
346
351
|
ChatInput,
|
|
347
352
|
ChatMessage,
|
|
348
353
|
CheckBoxOffIcon,
|
|
@@ -459,6 +464,7 @@ export {
|
|
|
459
464
|
Link,
|
|
460
465
|
LinkIcon,
|
|
461
466
|
ListViewIcon,
|
|
467
|
+
LiveStatus,
|
|
462
468
|
Loader,
|
|
463
469
|
LocationIcon,
|
|
464
470
|
LockerIcon,
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/styles/theme.css
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
--shadow-blur-menu: 0px 6px 12px 0px #0000001a;
|
|
21
21
|
--shadow-blur-floating: 0px 12px 40px 2px #00000026;
|
|
22
22
|
--shadow-ai-button-glow: -1px 1px 4px 0px #49f2643d, -4px 4px 12px 0px #49f26429, -8px 2px 24px 0px #49f2640a;
|
|
23
|
+
--shadow-live-glow: -2px 2px 16px 0px var(--color-live-glow-red), 2px -2px 16px 0px var(--color-live-glow-pink);
|
|
23
24
|
--shadow-focus-ring: inset 0 0 0 2px var(--fv-focus-ring-color);
|
|
24
25
|
--radius-3xs: 2px;
|
|
25
26
|
--radius-2xs: 4px;
|
|
@@ -259,7 +260,7 @@
|
|
|
259
260
|
--color-messages-user-callout: var(--primitives-color-green-800);
|
|
260
261
|
--color-tab-active: var(--color-buttons-primary-default);
|
|
261
262
|
--color-tab-inactive-hover: var(--color-buttons-secondary-hover);
|
|
262
|
-
--color-modal-stroke: var(--color-
|
|
263
|
+
--color-modal-stroke: var(--primitives-color-gray-300);
|
|
263
264
|
--color-modal-background: var(--color-background-secondary);
|
|
264
265
|
--color-modal-padding-desktop: var(--spacing-global-lg);
|
|
265
266
|
--color-modal-padding-mobile: var(--spacing-global-md);
|
|
@@ -308,6 +309,12 @@
|
|
|
308
309
|
--color-creator-agent-mesh-gradient-2: var(--primitives-color-green-200);
|
|
309
310
|
--color-creator-agent-mesh-gradient-3: var(--primitives-color-green-300);
|
|
310
311
|
--color-creator-agent-mesh-gradient-background: var(--color-background-secondary);
|
|
312
|
+
--color-live-gradient-start: #f47bffff;
|
|
313
|
+
--color-live-gradient-end: #f01932ff;
|
|
314
|
+
--color-live-glow-pink: #f8a8ff29;
|
|
315
|
+
--color-live-glow-red: #f019323d;
|
|
316
|
+
--color-live-ended-background: var(--primitives-color-gray-150);
|
|
317
|
+
--color-live-ended-content: var(--primitives-color-gray-600);
|
|
311
318
|
--color-buttons-ai-background-gradient-default-start: var(--color-buttons-ai-default);
|
|
312
319
|
--color-buttons-ai-background-gradient-default-end: var(--color-buttons-ai-default);
|
|
313
320
|
--color-buttons-ai-background-gradient-hover-start: var(--color-buttons-ai-hover);
|
|
@@ -727,7 +734,7 @@
|
|
|
727
734
|
--color-messages-user-callout: var(--primitives-color-green-800);
|
|
728
735
|
--color-tab-active: var(--color-buttons-primary-default);
|
|
729
736
|
--color-tab-inactive-hover: var(--color-buttons-secondary-hover);
|
|
730
|
-
--color-modal-stroke: var(--color-
|
|
737
|
+
--color-modal-stroke: var(--primitives-color-gray-300);
|
|
731
738
|
--color-modal-background: var(--color-background-secondary);
|
|
732
739
|
--color-modal-padding-desktop: var(--spacing-global-lg);
|
|
733
740
|
--color-modal-padding-mobile: var(--spacing-global-md);
|
|
@@ -776,6 +783,12 @@
|
|
|
776
783
|
--color-creator-agent-mesh-gradient-2: var(--primitives-color-green-200);
|
|
777
784
|
--color-creator-agent-mesh-gradient-3: var(--primitives-color-green-300);
|
|
778
785
|
--color-creator-agent-mesh-gradient-background: var(--color-background-secondary);
|
|
786
|
+
--color-live-gradient-start: #f47bffff;
|
|
787
|
+
--color-live-gradient-end: #f01932ff;
|
|
788
|
+
--color-live-glow-pink: #f8a8ff29;
|
|
789
|
+
--color-live-glow-red: #f019323d;
|
|
790
|
+
--color-live-ended-background: var(--primitives-color-gray-150);
|
|
791
|
+
--color-live-ended-content: var(--primitives-color-gray-600);
|
|
779
792
|
--color-buttons-ai-background-gradient-default-start: var(--color-buttons-ai-default);
|
|
780
793
|
--color-buttons-ai-background-gradient-default-end: var(--color-buttons-ai-default);
|
|
781
794
|
--color-buttons-ai-background-gradient-hover-start: var(--color-buttons-ai-hover);
|
|
@@ -1067,6 +1080,12 @@
|
|
|
1067
1080
|
--color-creator-agent-mesh-gradient-2: var(--primitives-color-green-700);
|
|
1068
1081
|
--color-creator-agent-mesh-gradient-3: var(--primitives-color-green-600);
|
|
1069
1082
|
--color-creator-agent-mesh-gradient-background: var(--color-background-secondary);
|
|
1083
|
+
--color-live-gradient-start: #f47bffff;
|
|
1084
|
+
--color-live-gradient-end: #f01932ff;
|
|
1085
|
+
--color-live-glow-pink: #f8a8ff29;
|
|
1086
|
+
--color-live-glow-red: #f019323d;
|
|
1087
|
+
--color-live-ended-background: var(--primitives-color-gray-850);
|
|
1088
|
+
--color-live-ended-content: var(--primitives-color-gray-400);
|
|
1070
1089
|
--color-buttons-ai-background-gradient-default-start: var(--color-buttons-ai-default);
|
|
1071
1090
|
--color-buttons-ai-background-gradient-default-end: var(--color-buttons-ai-default);
|
|
1072
1091
|
--color-buttons-ai-background-gradient-hover-start: var(--color-buttons-ai-hover);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fanvue/ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.39.0",
|
|
4
4
|
"description": "React component library built with Tailwind CSS for Fanvue ecosystem",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org",
|
|
@@ -162,14 +162,14 @@
|
|
|
162
162
|
"@types/react": "19.2.9",
|
|
163
163
|
"@types/react-dom": "19.2.3",
|
|
164
164
|
"@vitejs/plugin-react": "5.1.2",
|
|
165
|
-
"@vitest/browser-playwright": "4.1.
|
|
166
|
-
"@vitest/coverage-v8": "4.1.
|
|
165
|
+
"@vitest/browser-playwright": "4.1.11",
|
|
166
|
+
"@vitest/coverage-v8": "4.1.11",
|
|
167
167
|
"autoprefixer": "10.4.23",
|
|
168
168
|
"axe-core": "4.11.1",
|
|
169
169
|
"chromatic": "13.3.5",
|
|
170
170
|
"husky": "9.1.7",
|
|
171
171
|
"jsdom": "27.4.0",
|
|
172
|
-
"lint-staged": "
|
|
172
|
+
"lint-staged": "17.0.8",
|
|
173
173
|
"motion": "13.1.1",
|
|
174
174
|
"playwright": "^1.58.1",
|
|
175
175
|
"postcss": "8.5.26",
|
|
@@ -181,13 +181,13 @@
|
|
|
181
181
|
"remark-gfm": "4.0.1",
|
|
182
182
|
"size-limit": "12.0.0",
|
|
183
183
|
"storybook": "10.2.13",
|
|
184
|
-
"style-dictionary": "
|
|
184
|
+
"style-dictionary": "5.6.0",
|
|
185
185
|
"svgo": "4.1.0",
|
|
186
186
|
"tailwindcss": "4.1.18",
|
|
187
187
|
"typescript": "5.9.3",
|
|
188
188
|
"vite": "7.3.5",
|
|
189
189
|
"vite-plugin-dts": "4.5.4",
|
|
190
|
-
"vitest": "4.1.
|
|
190
|
+
"vitest": "4.1.11",
|
|
191
191
|
"vitest-axe": "1.0.0-pre.3"
|
|
192
192
|
},
|
|
193
193
|
"pnpm": {
|
|
@@ -196,16 +196,16 @@
|
|
|
196
196
|
"lodash-es": ">=4.18.0",
|
|
197
197
|
"minimatch": ">=10.2.3",
|
|
198
198
|
"ajv": ">=8.18.0",
|
|
199
|
-
"fast-uri": ">=4.1.
|
|
199
|
+
"fast-uri": ">=4.1.5",
|
|
200
200
|
"browserslist": ">=4.28.7",
|
|
201
|
-
"brace-expansion": ">=5.0.
|
|
201
|
+
"brace-expansion": ">=5.0.11",
|
|
202
202
|
"yaml": ">=2.8.3",
|
|
203
203
|
"postcss": ">=8.5.23",
|
|
204
204
|
"nanoid@^3": "^3.3.18",
|
|
205
205
|
"nanoid@^5": "^5.1.16",
|
|
206
206
|
"tmp": ">=0.2.7",
|
|
207
207
|
"ws": ">=8.20.1",
|
|
208
|
-
"qs": ">=6.
|
|
208
|
+
"qs": ">=6.16.0",
|
|
209
209
|
"esbuild": ">=0.28.1",
|
|
210
210
|
"vite": "^7.3.5",
|
|
211
211
|
"js-yaml": "^4.3.2",
|