@fanvue/ui 3.43.0 → 3.45.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/animated-icons.d.ts +2 -2
- package/dist/cjs/components/AnimatedIcons/MenuCloseIcon.cjs +6 -1
- package/dist/cjs/components/AnimatedIcons/MenuCloseIcon.cjs.map +1 -1
- package/dist/cjs/components/AnimatedIcons/MenuOpenIcon.cjs +6 -1
- package/dist/cjs/components/AnimatedIcons/MenuOpenIcon.cjs.map +1 -1
- package/dist/cjs/components/Chip/Chip.cjs +9 -4
- package/dist/cjs/components/Chip/Chip.cjs.map +1 -1
- package/dist/cjs/components/CreatorCard/CreatorCard.cjs +47 -20
- package/dist/cjs/components/CreatorCard/CreatorCard.cjs.map +1 -1
- package/dist/cjs/components/Icons/MenuCloseIcon.cjs +15 -15
- package/dist/cjs/components/Icons/MenuCloseIcon.cjs.map +1 -1
- package/dist/cjs/components/Icons/MenuOpenIcon.cjs +15 -15
- package/dist/cjs/components/Icons/MenuOpenIcon.cjs.map +1 -1
- package/dist/cjs/components/Table/TableMobileRow.cjs +21 -3
- package/dist/cjs/components/Table/TableMobileRow.cjs.map +1 -1
- package/dist/components/AnimatedIcons/MenuCloseIcon.mjs +6 -1
- package/dist/components/AnimatedIcons/MenuCloseIcon.mjs.map +1 -1
- package/dist/components/AnimatedIcons/MenuOpenIcon.mjs +6 -1
- package/dist/components/AnimatedIcons/MenuOpenIcon.mjs.map +1 -1
- package/dist/components/Chip/Chip.mjs +9 -4
- package/dist/components/Chip/Chip.mjs.map +1 -1
- package/dist/components/CreatorCard/CreatorCard.mjs +47 -20
- package/dist/components/CreatorCard/CreatorCard.mjs.map +1 -1
- package/dist/components/Icons/MenuCloseIcon.mjs +15 -15
- package/dist/components/Icons/MenuCloseIcon.mjs.map +1 -1
- package/dist/components/Icons/MenuOpenIcon.mjs +15 -15
- package/dist/components/Icons/MenuOpenIcon.mjs.map +1 -1
- package/dist/components/Table/TableMobileRow.mjs +21 -3
- package/dist/components/Table/TableMobileRow.mjs.map +1 -1
- package/dist/index.d.ts +49 -23
- package/dist/styles/theme.css +4 -4
- package/package.json +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuOpenIcon.mjs","sources":["../../../src/components/Icons/MenuOpenIcon.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { BaseIcon } from \"./BaseIcon\";\nimport type { BaseIconProps, IconVariants } from \"./types\";\n\nconst VARIANTS: IconVariants = {\n 16: {\n outlined: [\n {\n d: \"
|
|
1
|
+
{"version":3,"file":"MenuOpenIcon.mjs","sources":["../../../src/components/Icons/MenuOpenIcon.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { BaseIcon } from \"./BaseIcon\";\nimport type { BaseIconProps, IconVariants } from \"./types\";\n\nconst VARIANTS: IconVariants = {\n 16: {\n outlined: [\n {\n d: \"M4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7A2.5 2.5 0 0 1 4.5 2Z\",\n sw: 1,\n },\n { d: \"M11 11.5v-7\", sw: 1 },\n ],\n filled: [\n {\n d: \"M4.5 1.5h7a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3h-7a3 3 0 0 1-3-3v-7a3 3 0 0 1 3-3Z M10.5 4.5a0.5 0.5 0 0 1 1 0v7a0.5 0.5 0 0 1-1 0Z\",\n eo: true,\n },\n ],\n },\n 24: {\n outlined: [\n {\n d: \"M6.25 2.85h11.5a3.4 3.4 0 0 1 3.4 3.4v11.5a3.4 3.4 0 0 1-3.4 3.4H6.25a3.4 3.4 0 0 1-3.4-3.4V6.25a3.4 3.4 0 0 1 3.4-3.4Z\",\n sw: 1.2,\n },\n { d: \"M17.5 18.75V5.25\", sw: 1.2 },\n ],\n filled: [\n {\n d: \"M6.25 2.25h11.5a4 4 0 0 1 4 4v11.5a4 4 0 0 1-4 4H6.25a4 4 0 0 1-4-4V6.25a4 4 0 0 1 4-4Z M17.9 5.25a0.6 0.6 0 0 1 1.2 0v13.5a0.6 0.6 0 0 1-1.2 0Z\",\n eo: true,\n },\n ],\n },\n 32: {\n outlined: [\n {\n d: \"M8 3.75h16a4.25 4.25 0 0 1 4.25 4.25v16A4.25 4.25 0 0 1 24 28.25H8A4.25 4.25 0 0 1 3.75 24V8A4.25 4.25 0 0 1 8 3.75Z\",\n sw: 1.5,\n },\n { d: \"M24 25V7\", sw: 1.5 },\n ],\n filled: [\n {\n d: \"M8 3h16a5 5 0 0 1 5 5v16a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5V8a5 5 0 0 1 5-5Z M23.25 7a0.75 0.75 0 0 1 1.5 0v18a0.75 0.75 0 0 1-1.5 0Z\",\n eo: true,\n },\n ],\n },\n};\n\n/** Props for {@link MenuOpenIcon}. See {@link BaseIconProps} for the shared shape. */\nexport type MenuOpenIconProps = BaseIconProps;\n\n/**\n * Menu Open icon. Renders at sizes 16, 24, or 32 px with outlined and filled variants.\n *\n * @example\n * ```tsx\n * <MenuOpenIcon size={24} filled />\n * ```\n */\nexport const MenuOpenIcon = React.forwardRef<SVGSVGElement, MenuOpenIconProps>((props, ref) => (\n <BaseIcon ref={ref} variants={VARIANTS} {...props} />\n));\n\nMenuOpenIcon.displayName = \"MenuOpenIcon\";\n"],"names":[],"mappings":";;;;AAIA,MAAM,WAAyB;AAAA,EAC7B,IAAI;AAAA,IACF,UAAU;AAAA,MACR;AAAA,QACE,GAAG;AAAA,QACH,IAAI;AAAA,MAAA;AAAA,MAEN,EAAE,GAAG,eAAe,IAAI,EAAA;AAAA,IAAE;AAAA,IAE5B,QAAQ;AAAA,MACN;AAAA,QACE,GAAG;AAAA,QACH,IAAI;AAAA,MAAA;AAAA,IACN;AAAA,EACF;AAAA,EAEF,IAAI;AAAA,IACF,UAAU;AAAA,MACR;AAAA,QACE,GAAG;AAAA,QACH,IAAI;AAAA,MAAA;AAAA,MAEN,EAAE,GAAG,oBAAoB,IAAI,IAAA;AAAA,IAAI;AAAA,IAEnC,QAAQ;AAAA,MACN;AAAA,QACE,GAAG;AAAA,QACH,IAAI;AAAA,MAAA;AAAA,IACN;AAAA,EACF;AAAA,EAEF,IAAI;AAAA,IACF,UAAU;AAAA,MACR;AAAA,QACE,GAAG;AAAA,QACH,IAAI;AAAA,MAAA;AAAA,MAEN,EAAE,GAAG,YAAY,IAAI,IAAA;AAAA,IAAI;AAAA,IAE3B,QAAQ;AAAA,MACN;AAAA,QACE,GAAG;AAAA,QACH,IAAI;AAAA,MAAA;AAAA,IACN;AAAA,EACF;AAEJ;AAaO,MAAM,eAAe,MAAM,WAA6C,CAAC,OAAO,QACrF,oBAAC,UAAA,EAAS,KAAU,UAAU,UAAW,GAAG,OAAO,CACpD;AAED,aAAa,cAAc;"}
|
|
@@ -3,7 +3,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { cn } from "../../utils/cn.mjs";
|
|
5
5
|
const TableMobileRow = React.forwardRef(
|
|
6
|
-
({ className, badge, title, description, actions, ...props }, ref) => {
|
|
6
|
+
({ className, badge, title, description, actions, wrap = false, ...props }, ref) => {
|
|
7
7
|
return /* @__PURE__ */ jsxs(
|
|
8
8
|
"div",
|
|
9
9
|
{
|
|
@@ -16,8 +16,26 @@ const TableMobileRow = React.forwardRef(
|
|
|
16
16
|
actions && /* @__PURE__ */ jsx("div", { className: "flex shrink-0 items-center gap-2", children: actions })
|
|
17
17
|
] }),
|
|
18
18
|
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col", children: [
|
|
19
|
-
/* @__PURE__ */ jsx(
|
|
20
|
-
|
|
19
|
+
/* @__PURE__ */ jsx(
|
|
20
|
+
"p",
|
|
21
|
+
{
|
|
22
|
+
className: cn(
|
|
23
|
+
"typography-body-default-16px-semibold text-content-primary",
|
|
24
|
+
wrap ? "break-words" : "truncate"
|
|
25
|
+
),
|
|
26
|
+
children: title
|
|
27
|
+
}
|
|
28
|
+
),
|
|
29
|
+
description && /* @__PURE__ */ jsx(
|
|
30
|
+
"p",
|
|
31
|
+
{
|
|
32
|
+
className: cn(
|
|
33
|
+
"typography-body-small-14px-regular text-content-tertiary",
|
|
34
|
+
wrap ? "break-words" : "truncate"
|
|
35
|
+
),
|
|
36
|
+
children: description
|
|
37
|
+
}
|
|
38
|
+
)
|
|
21
39
|
] })
|
|
22
40
|
]
|
|
23
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableMobileRow.mjs","sources":["../../../src/components/Table/TableMobileRow.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { cn } from \"../../utils/cn\";\n\nexport interface TableMobileRowProps extends Omit<React.HTMLAttributes<HTMLDivElement>, \"title\"> {\n /** Status or type label above the title, typically a {@link Pill}. */\n badge?: React.ReactNode;\n /** Primary line (semibold body). */\n title: React.ReactNode;\n /** Secondary line beneath the title (muted). */\n description?: React.ReactNode;\n /** Trailing controls on the badge line, such as a favourite toggle and a navigation {@link IconButton}. */\n actions?: React.ReactNode;\n}\n\n/**\n * Stacked row that stands in for a table row on narrow screens (Figma `V2 Table Mobile`):\n * a badge and actions line, then a title with a description, closed by a divider.\n *\n * @example\n * ```tsx\n * <TableMobileRow\n * badge={<Pill variant=\"green\">Dynamic</Pill>}\n * title=\"Top Spenders\"\n * description=\"320 members\"\n * actions={<IconButton aria-label=\"Open list\" icon={<ChevronRightIcon />} />}\n * />\n * ```\n */\nexport const TableMobileRow = React.forwardRef<HTMLDivElement, TableMobileRowProps>(\n ({ className, badge, title, description, actions, ...props }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\"flex w-full flex-col gap-4 border-border-primary border-b py-4\", className)}\n {...props}\n >\n {(badge || actions) && (\n <div className=\"flex min-h-6 items-center justify-between gap-2\">\n <div className=\"flex min-w-0 items-center\">{badge}</div>\n {actions && <div className=\"flex shrink-0 items-center gap-2\">{actions}</div>}\n </div>\n )}\n <div className=\"flex min-w-0 flex-col\">\n <p
|
|
1
|
+
{"version":3,"file":"TableMobileRow.mjs","sources":["../../../src/components/Table/TableMobileRow.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { cn } from \"../../utils/cn\";\n\nexport interface TableMobileRowProps extends Omit<React.HTMLAttributes<HTMLDivElement>, \"title\"> {\n /** Status or type label above the title, typically a {@link Pill}. */\n badge?: React.ReactNode;\n /** Primary line (semibold body). */\n title: React.ReactNode;\n /** Secondary line beneath the title (muted). */\n description?: React.ReactNode;\n /** Trailing controls on the badge line, such as a favourite toggle and a navigation {@link IconButton}. */\n actions?: React.ReactNode;\n /** When `true`, the title and description wrap onto more lines instead of truncating. @default false */\n wrap?: boolean;\n}\n\n/**\n * Stacked row that stands in for a table row on narrow screens (Figma `V2 Table Mobile`):\n * a badge and actions line, then a title with a description, closed by a divider.\n *\n * @example\n * ```tsx\n * <TableMobileRow\n * badge={<Pill variant=\"green\">Dynamic</Pill>}\n * title=\"Top Spenders\"\n * description=\"320 members\"\n * actions={<IconButton aria-label=\"Open list\" icon={<ChevronRightIcon />} />}\n * />\n * ```\n */\nexport const TableMobileRow = React.forwardRef<HTMLDivElement, TableMobileRowProps>(\n ({ className, badge, title, description, actions, wrap = false, ...props }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\"flex w-full flex-col gap-4 border-border-primary border-b py-4\", className)}\n {...props}\n >\n {(badge || actions) && (\n <div className=\"flex min-h-6 items-center justify-between gap-2\">\n <div className=\"flex min-w-0 items-center\">{badge}</div>\n {actions && <div className=\"flex shrink-0 items-center gap-2\">{actions}</div>}\n </div>\n )}\n <div className=\"flex min-w-0 flex-col\">\n <p\n className={cn(\n \"typography-body-default-16px-semibold text-content-primary\",\n wrap ? \"break-words\" : \"truncate\",\n )}\n >\n {title}\n </p>\n {description && (\n <p\n className={cn(\n \"typography-body-small-14px-regular text-content-tertiary\",\n wrap ? \"break-words\" : \"truncate\",\n )}\n >\n {description}\n </p>\n )}\n </div>\n </div>\n );\n },\n);\nTableMobileRow.displayName = \"TableMobileRow\";\n"],"names":[],"mappings":";;;;AA8BO,MAAM,iBAAiB,MAAM;AAAA,EAClC,CAAC,EAAE,WAAW,OAAO,OAAO,aAAa,SAAS,OAAO,OAAO,GAAG,MAAA,GAAS,QAAQ;AAClF,WACE;AAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,WAAW,GAAG,kEAAkE,SAAS;AAAA,QACxF,GAAG;AAAA,QAEF,UAAA;AAAA,WAAA,SAAS,YACT,qBAAC,OAAA,EAAI,WAAU,mDACb,UAAA;AAAA,YAAA,oBAAC,OAAA,EAAI,WAAU,6BAA6B,UAAA,OAAM;AAAA,YACjD,WAAW,oBAAC,OAAA,EAAI,WAAU,oCAAoC,UAAA,QAAA,CAAQ;AAAA,UAAA,GACzE;AAAA,UAEF,qBAAC,OAAA,EAAI,WAAU,yBACb,UAAA;AAAA,YAAA;AAAA,cAAC;AAAA,cAAA;AAAA,gBACC,WAAW;AAAA,kBACT;AAAA,kBACA,OAAO,gBAAgB;AAAA,gBAAA;AAAA,gBAGxB,UAAA;AAAA,cAAA;AAAA,YAAA;AAAA,YAEF,eACC;AAAA,cAAC;AAAA,cAAA;AAAA,gBACC,WAAW;AAAA,kBACT;AAAA,kBACA,OAAO,gBAAgB;AAAA,gBAAA;AAAA,gBAGxB,UAAA;AAAA,cAAA;AAAA,YAAA;AAAA,UACH,EAAA,CAEJ;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;AACA,eAAe,cAAc;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1991,6 +1991,9 @@ export declare type ChevronUpIconProps = BaseIconProps;
|
|
|
1991
1991
|
*/
|
|
1992
1992
|
export declare const Chip: React_2.ForwardRefExoticComponent<ChipProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1993
1993
|
|
|
1994
|
+
/** Height of the notification badge in pixels. */
|
|
1995
|
+
export declare type ChipNotificationSize = "16" | "20";
|
|
1996
|
+
|
|
1994
1997
|
export declare interface ChipProps extends React_2.HTMLAttributes<HTMLElement> {
|
|
1995
1998
|
/** Visual variant of the chip. @default "rounded" */
|
|
1996
1999
|
variant?: ChipVariant;
|
|
@@ -2030,6 +2033,12 @@ export declare interface ChipProps extends React_2.HTMLAttributes<HTMLElement> {
|
|
|
2030
2033
|
notificationMax?: number;
|
|
2031
2034
|
/** Colour variant of the notification badge. @default "brand" */
|
|
2032
2035
|
notificationVariant?: CountVariant;
|
|
2036
|
+
/**
|
|
2037
|
+
* Height of the notification badge. `"20"` is the V2 Notification Count, a
|
|
2038
|
+
* rounded square; `"16"` is a circle for dense rows such as page tab chips.
|
|
2039
|
+
* @default "20"
|
|
2040
|
+
*/
|
|
2041
|
+
notificationSize?: ChipNotificationSize;
|
|
2033
2042
|
/** Click handler — when provided, the chip renders as a `<button>` for accessibility. */
|
|
2034
2043
|
onClick?: React_2.MouseEventHandler<HTMLElement>;
|
|
2035
2044
|
/** Merge props onto a child element instead of rendering a wrapper. @default false */
|
|
@@ -2037,7 +2046,7 @@ export declare interface ChipProps extends React_2.HTMLAttributes<HTMLElement> {
|
|
|
2037
2046
|
}
|
|
2038
2047
|
|
|
2039
2048
|
/** Height of the chip in pixels. */
|
|
2040
|
-
export declare type ChipSize = "32" | "40";
|
|
2049
|
+
export declare type ChipSize = "32" | "36" | "40";
|
|
2041
2050
|
|
|
2042
2051
|
/** Visual variant of the chip. */
|
|
2043
2052
|
export declare type ChipVariant = "rounded" | "square" | "dark";
|
|
@@ -2194,44 +2203,59 @@ export declare type CountSize = "16" | "24" | "32";
|
|
|
2194
2203
|
export declare type CountVariant = "default" | "contrast" | "brand" | "alert" | "pink" | "info" | "success" | "warning";
|
|
2195
2204
|
|
|
2196
2205
|
/**
|
|
2197
|
-
* A
|
|
2198
|
-
*
|
|
2206
|
+
* A card suggesting a creator, with a banner image, an optional {@link Pill},
|
|
2207
|
+
* the creator's avatar, name and tagline, free-form content such as a price,
|
|
2208
|
+
* and an optional action.
|
|
2199
2209
|
*
|
|
2200
|
-
*
|
|
2201
|
-
*
|
|
2210
|
+
* The card has no fixed width or corner radius: set both through `className`
|
|
2211
|
+
* (e.g. `className="w-40 rounded-md"`). The banner keeps a 10:11 ratio at any
|
|
2212
|
+
* width.
|
|
2202
2213
|
*
|
|
2203
2214
|
* @example
|
|
2204
2215
|
* ```tsx
|
|
2205
2216
|
* <CreatorCard
|
|
2206
|
-
*
|
|
2217
|
+
* className="w-40 rounded-md"
|
|
2218
|
+
* background={<img src="/banner.jpg" alt="" />}
|
|
2219
|
+
* pill={{ variant: "contrast", children: "Popular this week" }}
|
|
2220
|
+
* avatar={{ src: "/avatar.jpg", fallback: "JD" }}
|
|
2207
2221
|
* name="Jane Doe"
|
|
2208
|
-
*
|
|
2209
|
-
*
|
|
2210
|
-
*
|
|
2211
|
-
*
|
|
2212
|
-
* <Button variant="brand" fullWidth>Join for free for 3 days</Button>
|
|
2213
|
-
* <Button variant="primary" fullWidth>Follow for Free</Button>
|
|
2214
|
-
* </>
|
|
2215
|
-
* }
|
|
2222
|
+
* verified
|
|
2223
|
+
* tagline="412 posts"
|
|
2224
|
+
* content={<span className="block truncate">$9.99 / month</span>}
|
|
2225
|
+
* action={<Button variant="primary" size="32" fullWidth>Subscribe</Button>}
|
|
2216
2226
|
* />
|
|
2217
2227
|
* ```
|
|
2218
2228
|
*/
|
|
2219
2229
|
export declare const CreatorCard: React_2.ForwardRefExoticComponent<CreatorCardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2220
2230
|
|
|
2221
|
-
export declare interface CreatorCardProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
2222
|
-
/** Decorative
|
|
2231
|
+
export declare interface CreatorCardProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "content"> {
|
|
2232
|
+
/** Decorative banner media rendered at the top of the card. */
|
|
2223
2233
|
background: React_2.ReactNode;
|
|
2224
|
-
/**
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2234
|
+
/**
|
|
2235
|
+
* Props forwarded to a {@link Pill} overlaid on the top-left of the banner.
|
|
2236
|
+
* Pass the label as `children`. Omit to hide the pill.
|
|
2237
|
+
*/
|
|
2238
|
+
pill?: PillProps;
|
|
2228
2239
|
/** Avatar props forwarded to the inner {@link Avatar}. */
|
|
2229
2240
|
avatar?: React_2.ComponentPropsWithoutRef<typeof Avatar>;
|
|
2241
|
+
/** Creator display name shown next to the avatar. */
|
|
2242
|
+
name: React_2.ReactNode;
|
|
2243
|
+
/** When `true`, renders a verified badge after the name. @default false */
|
|
2244
|
+
verified?: boolean;
|
|
2245
|
+
/** Accessible label for the verified badge. @default "Verified" */
|
|
2246
|
+
verifiedLabel?: string;
|
|
2247
|
+
/** Optional secondary line shown under the name (e.g. post count). */
|
|
2248
|
+
tagline?: React_2.ReactNode;
|
|
2230
2249
|
/**
|
|
2231
|
-
*
|
|
2232
|
-
* `
|
|
2250
|
+
* Optional content shown under the creator details (e.g. the subscription
|
|
2251
|
+
* price). It wraps by default; pass a `truncate` element to keep it on one line.
|
|
2233
2252
|
*/
|
|
2234
|
-
|
|
2253
|
+
content?: React_2.ReactNode;
|
|
2254
|
+
/**
|
|
2255
|
+
* Action element rendered full-width at the bottom of the card (e.g. a
|
|
2256
|
+
* `Button` with `fullWidth` for subscribing to the creator).
|
|
2257
|
+
*/
|
|
2258
|
+
action?: React_2.ReactNode;
|
|
2235
2259
|
}
|
|
2236
2260
|
|
|
2237
2261
|
/**
|
|
@@ -6349,6 +6373,8 @@ export declare interface TableMobileRowProps extends Omit<React_2.HTMLAttributes
|
|
|
6349
6373
|
description?: React_2.ReactNode;
|
|
6350
6374
|
/** Trailing controls on the badge line, such as a favourite toggle and a navigation {@link IconButton}. */
|
|
6351
6375
|
actions?: React_2.ReactNode;
|
|
6376
|
+
/** When `true`, the title and description wrap onto more lines instead of truncating. @default false */
|
|
6377
|
+
wrap?: boolean;
|
|
6352
6378
|
}
|
|
6353
6379
|
|
|
6354
6380
|
/**
|
package/dist/styles/theme.css
CHANGED
|
@@ -867,8 +867,8 @@
|
|
|
867
867
|
--color-buttons-brand-muted: var(--color-brand-primary-muted);
|
|
868
868
|
--color-buttons-disabled-default: var(--primitives-color-gray-800);
|
|
869
869
|
--color-buttons-disabled-negative: var(--primitives-color-gray-200);
|
|
870
|
-
--color-buttons-secondary-default: var(--color-neutral-alphas-
|
|
871
|
-
--color-buttons-secondary-hover: var(--color-neutral-alphas-
|
|
870
|
+
--color-buttons-secondary-default: var(--color-neutral-alphas-50);
|
|
871
|
+
--color-buttons-secondary-hover: var(--color-neutral-alphas-200);
|
|
872
872
|
--color-buttons-secondary-negative-default: var(--primitives-color-blackalpha-100);
|
|
873
873
|
--color-buttons-secondary-negative-hover: var(--primitives-color-blackalpha-200);
|
|
874
874
|
--color-buttons-tertiary-default: #ffffff00;
|
|
@@ -887,8 +887,8 @@
|
|
|
887
887
|
--color-buttons-always-black-hover: var(--primitives-color-gray-600);
|
|
888
888
|
--color-buttons-switch-hover: var(--color-neutral-alphas-100);
|
|
889
889
|
--color-buttons-switch-active: var(--color-buttons-primary-default);
|
|
890
|
-
--color-buttons-chip-default: var(--color-neutral-alphas-
|
|
891
|
-
--color-buttons-chip-hover: var(--color-neutral-alphas-
|
|
890
|
+
--color-buttons-chip-default: var(--color-neutral-alphas-100);
|
|
891
|
+
--color-buttons-chip-hover: var(--color-neutral-alphas-200);
|
|
892
892
|
--color-buttons-chip-active: var(--primitives-color-gray-white);
|
|
893
893
|
--color-buttons-chip-disabled: var(--color-buttons-disabled-default);
|
|
894
894
|
--color-buttons-chip-dotted-default: var(--color-neutral-alphas-400);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fanvue/ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.45.0",
|
|
4
4
|
"description": "React component library built with Tailwind CSS for Fanvue ecosystem",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org",
|
|
@@ -148,12 +148,12 @@
|
|
|
148
148
|
"@playwright/test": "1.58.1",
|
|
149
149
|
"@radix-ui/react-slot": "1.2.4",
|
|
150
150
|
"@size-limit/preset-small-lib": "12.0.0",
|
|
151
|
-
"@storybook/addon-a11y": "10.
|
|
151
|
+
"@storybook/addon-a11y": "10.6.3",
|
|
152
152
|
"@storybook/addon-designs": "11.1.1",
|
|
153
|
-
"@storybook/addon-docs": "10.
|
|
154
|
-
"@storybook/addon-vitest": "10.
|
|
155
|
-
"@storybook/react": "10.
|
|
156
|
-
"@storybook/react-vite": "10.
|
|
153
|
+
"@storybook/addon-docs": "10.6.3",
|
|
154
|
+
"@storybook/addon-vitest": "10.6.3",
|
|
155
|
+
"@storybook/react": "10.6.3",
|
|
156
|
+
"@storybook/react-vite": "10.6.3",
|
|
157
157
|
"@tailwindcss/postcss": "4.1.18",
|
|
158
158
|
"@testing-library/jest-dom": "6.9.1",
|
|
159
159
|
"@testing-library/react": "16.3.2",
|
|
@@ -180,12 +180,12 @@
|
|
|
180
180
|
"recharts": "^3.0.0",
|
|
181
181
|
"remark-gfm": "4.0.1",
|
|
182
182
|
"size-limit": "12.0.0",
|
|
183
|
-
"storybook": "10.
|
|
183
|
+
"storybook": "10.6.3",
|
|
184
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
|
-
"vite": "7.3.
|
|
188
|
+
"vite": "7.3.7",
|
|
189
189
|
"vite-plugin-dts": "4.5.4",
|
|
190
190
|
"vitest": "4.1.11",
|
|
191
191
|
"vitest-axe": "1.0.0-pre.3"
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
"ws": ">=8.20.1",
|
|
209
209
|
"qs": ">=6.16.0",
|
|
210
210
|
"esbuild": ">=0.28.1",
|
|
211
|
-
"vite": "^7.3.
|
|
211
|
+
"vite": "^7.3.7",
|
|
212
212
|
"js-yaml": "^4.3.2",
|
|
213
213
|
"@babel/core": ">=7.29.6"
|
|
214
214
|
}
|