@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.
Files changed (32) hide show
  1. package/dist/animated-icons.d.ts +2 -2
  2. package/dist/cjs/components/AnimatedIcons/MenuCloseIcon.cjs +6 -1
  3. package/dist/cjs/components/AnimatedIcons/MenuCloseIcon.cjs.map +1 -1
  4. package/dist/cjs/components/AnimatedIcons/MenuOpenIcon.cjs +6 -1
  5. package/dist/cjs/components/AnimatedIcons/MenuOpenIcon.cjs.map +1 -1
  6. package/dist/cjs/components/Chip/Chip.cjs +9 -4
  7. package/dist/cjs/components/Chip/Chip.cjs.map +1 -1
  8. package/dist/cjs/components/CreatorCard/CreatorCard.cjs +47 -20
  9. package/dist/cjs/components/CreatorCard/CreatorCard.cjs.map +1 -1
  10. package/dist/cjs/components/Icons/MenuCloseIcon.cjs +15 -15
  11. package/dist/cjs/components/Icons/MenuCloseIcon.cjs.map +1 -1
  12. package/dist/cjs/components/Icons/MenuOpenIcon.cjs +15 -15
  13. package/dist/cjs/components/Icons/MenuOpenIcon.cjs.map +1 -1
  14. package/dist/cjs/components/Table/TableMobileRow.cjs +21 -3
  15. package/dist/cjs/components/Table/TableMobileRow.cjs.map +1 -1
  16. package/dist/components/AnimatedIcons/MenuCloseIcon.mjs +6 -1
  17. package/dist/components/AnimatedIcons/MenuCloseIcon.mjs.map +1 -1
  18. package/dist/components/AnimatedIcons/MenuOpenIcon.mjs +6 -1
  19. package/dist/components/AnimatedIcons/MenuOpenIcon.mjs.map +1 -1
  20. package/dist/components/Chip/Chip.mjs +9 -4
  21. package/dist/components/Chip/Chip.mjs.map +1 -1
  22. package/dist/components/CreatorCard/CreatorCard.mjs +47 -20
  23. package/dist/components/CreatorCard/CreatorCard.mjs.map +1 -1
  24. package/dist/components/Icons/MenuCloseIcon.mjs +15 -15
  25. package/dist/components/Icons/MenuCloseIcon.mjs.map +1 -1
  26. package/dist/components/Icons/MenuOpenIcon.mjs +15 -15
  27. package/dist/components/Icons/MenuOpenIcon.mjs.map +1 -1
  28. package/dist/components/Table/TableMobileRow.mjs +21 -3
  29. package/dist/components/Table/TableMobileRow.mjs.map +1 -1
  30. package/dist/index.d.ts +49 -23
  31. package/dist/styles/theme.css +4 -4
  32. package/package.json +9 -9
@@ -936,7 +936,7 @@ export declare type LockerIconProps = AnimatedIconProps;
936
936
  * Animated MenuClose icon — the animated twin of `MenuCloseIcon` from
937
937
  * `@fanvue/ui`. Plays on hover, or on demand through `controlRef`, and stays
938
938
  * still when the user has asked for reduced motion.
939
- * Renders at sizes 16, 24, or 32 px — the same box as the static icon.
939
+ * Renders at sizes 16, 24, or 32 px — the same box and stroke weight as the static icon.
940
940
  *
941
941
  * @example
942
942
  * ```tsx
@@ -978,7 +978,7 @@ export declare type MenuIconProps = AnimatedIconProps;
978
978
  * Animated MenuOpen icon — the animated twin of `MenuOpenIcon` from
979
979
  * `@fanvue/ui`. Plays on hover, or on demand through `controlRef`, and stays
980
980
  * still when the user has asked for reduced motion.
981
- * Renders at sizes 16, 24, or 32 px — the same box as the static icon.
981
+ * Renders at sizes 16, 24, or 32 px — the same box and stroke weight as the static icon.
982
982
  *
983
983
  * @example
984
984
  * ```tsx
@@ -32,6 +32,11 @@ const PATH_VARIANTS = {
32
32
  normal: { x: 0 },
33
33
  animate: { x: [0, -1.5, 0] }
34
34
  };
35
+ const STROKE_WIDTH = {
36
+ 16: 1.5,
37
+ 24: 1.2,
38
+ 32: 1.125
39
+ };
35
40
  const MenuCloseIcon = React__namespace.forwardRef(
36
41
  ({ size = 24, filled: _filled, className, controlRef, onMouseEnter, onMouseLeave, ...props }, ref) => {
37
42
  const { controls, handleMouseEnter, handleMouseLeave } = useIconAnimation.useIconAnimation({
@@ -50,7 +55,7 @@ const MenuCloseIcon = React__namespace.forwardRef(
50
55
  strokeLinecap: "round",
51
56
  strokeLinejoin: "round",
52
57
  viewBox: "0 0 24 24",
53
- strokeWidth: "2",
58
+ strokeWidth: STROKE_WIDTH[size],
54
59
  className: cn.cn(iconSizeClass.ICON_SIZE_CLASS[size], className),
55
60
  onMouseEnter: handleMouseEnter,
56
61
  onMouseLeave: handleMouseLeave,
@@ -1 +1 @@
1
- {"version":3,"file":"MenuCloseIcon.cjs","sources":["../../../../src/components/AnimatedIcons/MenuCloseIcon.tsx"],"sourcesContent":["\"use client\";\n\n/*! Animated icon artwork from lucide-animated (MIT, (c) 2024-2026 pqoqubbw) — https://lucide-animated.com (registry item \"panel-left-close\"). @license MIT */\n// Generated by scripts/import-animated-icons.mjs — do not edit by hand.\nimport type { Transition, Variants } from \"motion/react\";\nimport { motion } from \"motion/react\";\nimport * as React from \"react\";\nimport { cn } from \"@/utils/cn\";\nimport { ICON_SIZE_CLASS } from \"../Icons/iconSizeClass\";\nimport type { AnimatedIconHandle, AnimatedIconProps } from \"./types\";\nimport { useIconAnimation } from \"./useIconAnimation\";\n\nconst DEFAULT_TRANSITION: Transition = {\n times: [0, 0.4, 1],\n duration: 0.5,\n};\n\nconst PATH_VARIANTS: Variants = {\n normal: { x: 0 },\n animate: { x: [0, -1.5, 0] },\n};\n\n/** Props for {@link MenuCloseIcon}. See {@link AnimatedIconProps} for the shared shape. */\nexport type MenuCloseIconProps = AnimatedIconProps;\n\n/** Imperative handle for {@link MenuCloseIcon}, via its `controlRef` prop. */\nexport type MenuCloseIconHandle = AnimatedIconHandle;\n\n/**\n * Animated MenuClose icon — the animated twin of `MenuCloseIcon` from\n * `@fanvue/ui`. Plays on hover, or on demand through `controlRef`, and stays\n * still when the user has asked for reduced motion.\n * Renders at sizes 16, 24, or 32 px — the same box as the static icon.\n *\n * @example\n * ```tsx\n * import { MenuCloseIcon } from \"@fanvue/ui/animated-icons\";\n *\n * <MenuCloseIcon size={24} />\n * ```\n */\nexport const MenuCloseIcon = React.forwardRef<SVGSVGElement, MenuCloseIconProps>(\n (\n { size = 24, filled: _filled, className, controlRef, onMouseEnter, onMouseLeave, ...props },\n ref,\n ) => {\n const { controls, handleMouseEnter, handleMouseLeave } = useIconAnimation({\n controlRef,\n onMouseEnter,\n onMouseLeave,\n });\n\n return (\n <svg\n ref={ref}\n aria-hidden=\"true\"\n {...props}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n viewBox=\"0 0 24 24\"\n strokeWidth=\"2\"\n className={cn(ICON_SIZE_CLASS[size], className)}\n onMouseEnter={handleMouseEnter}\n onMouseLeave={handleMouseLeave}\n >\n <rect height=\"18\" rx=\"2\" width=\"18\" x=\"3\" y=\"3\" />\n <path d=\"M9 3v18\" />\n <motion.path\n animate={controls}\n d=\"m16 15-3-3 3-3\"\n transition={DEFAULT_TRANSITION}\n variants={PATH_VARIANTS}\n />\n </svg>\n );\n },\n);\n\nMenuCloseIcon.displayName = \"MenuCloseIcon\";\n"],"names":["React","useIconAnimation","jsxs","cn","ICON_SIZE_CLASS","jsx","motion"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,MAAM,qBAAiC;AAAA,EACrC,OAAO,CAAC,GAAG,KAAK,CAAC;AAAA,EACjB,UAAU;AACZ;AAEA,MAAM,gBAA0B;AAAA,EAC9B,QAAQ,EAAE,GAAG,EAAA;AAAA,EACb,SAAS,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,EAAA;AAC3B;AAqBO,MAAM,gBAAgBA,iBAAM;AAAA,EACjC,CACE,EAAE,OAAO,IAAI,QAAQ,SAAS,WAAW,YAAY,cAAc,cAAc,GAAG,MAAA,GACpF,QACG;AACH,UAAM,EAAE,UAAU,kBAAkB,iBAAA,IAAqBC,iBAAAA,iBAAiB;AAAA,MACxE;AAAA,MACA;AAAA,MACA;AAAA,IAAA,CACD;AAED,WACEC,2BAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,eAAY;AAAA,QACX,GAAG;AAAA,QACJ,MAAK;AAAA,QACL,QAAO;AAAA,QACP,eAAc;AAAA,QACd,gBAAe;AAAA,QACf,SAAQ;AAAA,QACR,aAAY;AAAA,QACZ,WAAWC,GAAAA,GAAGC,cAAAA,gBAAgB,IAAI,GAAG,SAAS;AAAA,QAC9C,cAAc;AAAA,QACd,cAAc;AAAA,QAEd,UAAA;AAAA,UAAAC,2BAAAA,IAAC,QAAA,EAAK,QAAO,MAAK,IAAG,KAAI,OAAM,MAAK,GAAE,KAAI,GAAE,IAAA,CAAI;AAAA,UAChDA,2BAAAA,IAAC,QAAA,EAAK,GAAE,UAAA,CAAU;AAAA,UAClBA,2BAAAA;AAAAA,YAACC,MAAAA,OAAO;AAAA,YAAP;AAAA,cACC,SAAS;AAAA,cACT,GAAE;AAAA,cACF,YAAY;AAAA,cACZ,UAAU;AAAA,YAAA;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;AAEA,cAAc,cAAc;;"}
1
+ {"version":3,"file":"MenuCloseIcon.cjs","sources":["../../../../src/components/AnimatedIcons/MenuCloseIcon.tsx"],"sourcesContent":["\"use client\";\n\n/*! Animated icon artwork from lucide-animated (MIT, (c) 2024-2026 pqoqubbw) — https://lucide-animated.com (registry item \"panel-left-close\"). @license MIT */\n// Generated by scripts/import-animated-icons.mjs — do not edit by hand.\nimport type { Transition, Variants } from \"motion/react\";\nimport { motion } from \"motion/react\";\nimport * as React from \"react\";\nimport { cn } from \"@/utils/cn\";\nimport { ICON_SIZE_CLASS } from \"../Icons/iconSizeClass\";\nimport type { IconSize } from \"../Icons/types\";\nimport type { AnimatedIconHandle, AnimatedIconProps } from \"./types\";\nimport { useIconAnimation } from \"./useIconAnimation\";\n\nconst DEFAULT_TRANSITION: Transition = {\n times: [0, 0.4, 1],\n duration: 0.5,\n};\n\nconst PATH_VARIANTS: Variants = {\n normal: { x: 0 },\n animate: { x: [0, -1.5, 0] },\n};\n\nconst STROKE_WIDTH: Record<IconSize, number> = {\n 16: 1.5,\n 24: 1.2,\n 32: 1.125,\n};\n\n/** Props for {@link MenuCloseIcon}. See {@link AnimatedIconProps} for the shared shape. */\nexport type MenuCloseIconProps = AnimatedIconProps;\n\n/** Imperative handle for {@link MenuCloseIcon}, via its `controlRef` prop. */\nexport type MenuCloseIconHandle = AnimatedIconHandle;\n\n/**\n * Animated MenuClose icon — the animated twin of `MenuCloseIcon` from\n * `@fanvue/ui`. Plays on hover, or on demand through `controlRef`, and stays\n * still when the user has asked for reduced motion.\n * Renders at sizes 16, 24, or 32 px — the same box and stroke weight as the static icon.\n *\n * @example\n * ```tsx\n * import { MenuCloseIcon } from \"@fanvue/ui/animated-icons\";\n *\n * <MenuCloseIcon size={24} />\n * ```\n */\nexport const MenuCloseIcon = React.forwardRef<SVGSVGElement, MenuCloseIconProps>(\n (\n { size = 24, filled: _filled, className, controlRef, onMouseEnter, onMouseLeave, ...props },\n ref,\n ) => {\n const { controls, handleMouseEnter, handleMouseLeave } = useIconAnimation({\n controlRef,\n onMouseEnter,\n onMouseLeave,\n });\n\n return (\n <svg\n ref={ref}\n aria-hidden=\"true\"\n {...props}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n viewBox=\"0 0 24 24\"\n strokeWidth={STROKE_WIDTH[size]}\n className={cn(ICON_SIZE_CLASS[size], className)}\n onMouseEnter={handleMouseEnter}\n onMouseLeave={handleMouseLeave}\n >\n <rect height=\"18\" rx=\"2\" width=\"18\" x=\"3\" y=\"3\" />\n <path d=\"M9 3v18\" />\n <motion.path\n animate={controls}\n d=\"m16 15-3-3 3-3\"\n transition={DEFAULT_TRANSITION}\n variants={PATH_VARIANTS}\n />\n </svg>\n );\n },\n);\n\nMenuCloseIcon.displayName = \"MenuCloseIcon\";\n"],"names":["React","useIconAnimation","jsxs","cn","ICON_SIZE_CLASS","jsx","motion"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,MAAM,qBAAiC;AAAA,EACrC,OAAO,CAAC,GAAG,KAAK,CAAC;AAAA,EACjB,UAAU;AACZ;AAEA,MAAM,gBAA0B;AAAA,EAC9B,QAAQ,EAAE,GAAG,EAAA;AAAA,EACb,SAAS,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,EAAA;AAC3B;AAEA,MAAM,eAAyC;AAAA,EAC7C,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAqBO,MAAM,gBAAgBA,iBAAM;AAAA,EACjC,CACE,EAAE,OAAO,IAAI,QAAQ,SAAS,WAAW,YAAY,cAAc,cAAc,GAAG,MAAA,GACpF,QACG;AACH,UAAM,EAAE,UAAU,kBAAkB,iBAAA,IAAqBC,iBAAAA,iBAAiB;AAAA,MACxE;AAAA,MACA;AAAA,MACA;AAAA,IAAA,CACD;AAED,WACEC,2BAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,eAAY;AAAA,QACX,GAAG;AAAA,QACJ,MAAK;AAAA,QACL,QAAO;AAAA,QACP,eAAc;AAAA,QACd,gBAAe;AAAA,QACf,SAAQ;AAAA,QACR,aAAa,aAAa,IAAI;AAAA,QAC9B,WAAWC,GAAAA,GAAGC,cAAAA,gBAAgB,IAAI,GAAG,SAAS;AAAA,QAC9C,cAAc;AAAA,QACd,cAAc;AAAA,QAEd,UAAA;AAAA,UAAAC,2BAAAA,IAAC,QAAA,EAAK,QAAO,MAAK,IAAG,KAAI,OAAM,MAAK,GAAE,KAAI,GAAE,IAAA,CAAI;AAAA,UAChDA,2BAAAA,IAAC,QAAA,EAAK,GAAE,UAAA,CAAU;AAAA,UAClBA,2BAAAA;AAAAA,YAACC,MAAAA,OAAO;AAAA,YAAP;AAAA,cACC,SAAS;AAAA,cACT,GAAE;AAAA,cACF,YAAY;AAAA,cACZ,UAAU;AAAA,YAAA;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;AAEA,cAAc,cAAc;;"}
@@ -32,6 +32,11 @@ const PATH_VARIANTS = {
32
32
  normal: { x: 0 },
33
33
  animate: { x: [0, 1.5, 0] }
34
34
  };
35
+ const STROKE_WIDTH = {
36
+ 16: 1.5,
37
+ 24: 1.2,
38
+ 32: 1.125
39
+ };
35
40
  const MenuOpenIcon = React__namespace.forwardRef(
36
41
  ({ size = 24, filled: _filled, className, controlRef, onMouseEnter, onMouseLeave, ...props }, ref) => {
37
42
  const { controls, handleMouseEnter, handleMouseLeave } = useIconAnimation.useIconAnimation({
@@ -50,7 +55,7 @@ const MenuOpenIcon = React__namespace.forwardRef(
50
55
  strokeLinecap: "round",
51
56
  strokeLinejoin: "round",
52
57
  viewBox: "0 0 24 24",
53
- strokeWidth: "2",
58
+ strokeWidth: STROKE_WIDTH[size],
54
59
  className: cn.cn(iconSizeClass.ICON_SIZE_CLASS[size], className),
55
60
  onMouseEnter: handleMouseEnter,
56
61
  onMouseLeave: handleMouseLeave,
@@ -1 +1 @@
1
- {"version":3,"file":"MenuOpenIcon.cjs","sources":["../../../../src/components/AnimatedIcons/MenuOpenIcon.tsx"],"sourcesContent":["\"use client\";\n\n/*! Animated icon artwork from lucide-animated (MIT, (c) 2024-2026 pqoqubbw) — https://lucide-animated.com (registry item \"panel-left-open\"). @license MIT */\n// Generated by scripts/import-animated-icons.mjs — do not edit by hand.\nimport type { Transition, Variants } from \"motion/react\";\nimport { motion } from \"motion/react\";\nimport * as React from \"react\";\nimport { cn } from \"@/utils/cn\";\nimport { ICON_SIZE_CLASS } from \"../Icons/iconSizeClass\";\nimport type { AnimatedIconHandle, AnimatedIconProps } from \"./types\";\nimport { useIconAnimation } from \"./useIconAnimation\";\n\nconst DEFAULT_TRANSITION: Transition = {\n times: [0, 0.4, 1],\n duration: 0.5,\n};\n\nconst PATH_VARIANTS: Variants = {\n normal: { x: 0 },\n animate: { x: [0, 1.5, 0] },\n};\n\n/** Props for {@link MenuOpenIcon}. See {@link AnimatedIconProps} for the shared shape. */\nexport type MenuOpenIconProps = AnimatedIconProps;\n\n/** Imperative handle for {@link MenuOpenIcon}, via its `controlRef` prop. */\nexport type MenuOpenIconHandle = AnimatedIconHandle;\n\n/**\n * Animated MenuOpen icon — the animated twin of `MenuOpenIcon` from\n * `@fanvue/ui`. Plays on hover, or on demand through `controlRef`, and stays\n * still when the user has asked for reduced motion.\n * Renders at sizes 16, 24, or 32 px — the same box as the static icon.\n *\n * @example\n * ```tsx\n * import { MenuOpenIcon } from \"@fanvue/ui/animated-icons\";\n *\n * <MenuOpenIcon size={24} />\n * ```\n */\nexport const MenuOpenIcon = React.forwardRef<SVGSVGElement, MenuOpenIconProps>(\n (\n { size = 24, filled: _filled, className, controlRef, onMouseEnter, onMouseLeave, ...props },\n ref,\n ) => {\n const { controls, handleMouseEnter, handleMouseLeave } = useIconAnimation({\n controlRef,\n onMouseEnter,\n onMouseLeave,\n });\n\n return (\n <svg\n ref={ref}\n aria-hidden=\"true\"\n {...props}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n viewBox=\"0 0 24 24\"\n strokeWidth=\"2\"\n className={cn(ICON_SIZE_CLASS[size], className)}\n onMouseEnter={handleMouseEnter}\n onMouseLeave={handleMouseLeave}\n >\n <rect height=\"18\" rx=\"2\" width=\"18\" x=\"3\" y=\"3\" />\n <path d=\"M9 3v18\" />\n <motion.path\n animate={controls}\n d=\"m14 9 3 3-3 3\"\n transition={DEFAULT_TRANSITION}\n variants={PATH_VARIANTS}\n />\n </svg>\n );\n },\n);\n\nMenuOpenIcon.displayName = \"MenuOpenIcon\";\n"],"names":["React","useIconAnimation","jsxs","cn","ICON_SIZE_CLASS","jsx","motion"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,MAAM,qBAAiC;AAAA,EACrC,OAAO,CAAC,GAAG,KAAK,CAAC;AAAA,EACjB,UAAU;AACZ;AAEA,MAAM,gBAA0B;AAAA,EAC9B,QAAQ,EAAE,GAAG,EAAA;AAAA,EACb,SAAS,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC,EAAA;AAC1B;AAqBO,MAAM,eAAeA,iBAAM;AAAA,EAChC,CACE,EAAE,OAAO,IAAI,QAAQ,SAAS,WAAW,YAAY,cAAc,cAAc,GAAG,MAAA,GACpF,QACG;AACH,UAAM,EAAE,UAAU,kBAAkB,iBAAA,IAAqBC,iBAAAA,iBAAiB;AAAA,MACxE;AAAA,MACA;AAAA,MACA;AAAA,IAAA,CACD;AAED,WACEC,2BAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,eAAY;AAAA,QACX,GAAG;AAAA,QACJ,MAAK;AAAA,QACL,QAAO;AAAA,QACP,eAAc;AAAA,QACd,gBAAe;AAAA,QACf,SAAQ;AAAA,QACR,aAAY;AAAA,QACZ,WAAWC,GAAAA,GAAGC,cAAAA,gBAAgB,IAAI,GAAG,SAAS;AAAA,QAC9C,cAAc;AAAA,QACd,cAAc;AAAA,QAEd,UAAA;AAAA,UAAAC,2BAAAA,IAAC,QAAA,EAAK,QAAO,MAAK,IAAG,KAAI,OAAM,MAAK,GAAE,KAAI,GAAE,IAAA,CAAI;AAAA,UAChDA,2BAAAA,IAAC,QAAA,EAAK,GAAE,UAAA,CAAU;AAAA,UAClBA,2BAAAA;AAAAA,YAACC,MAAAA,OAAO;AAAA,YAAP;AAAA,cACC,SAAS;AAAA,cACT,GAAE;AAAA,cACF,YAAY;AAAA,cACZ,UAAU;AAAA,YAAA;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;AAEA,aAAa,cAAc;;"}
1
+ {"version":3,"file":"MenuOpenIcon.cjs","sources":["../../../../src/components/AnimatedIcons/MenuOpenIcon.tsx"],"sourcesContent":["\"use client\";\n\n/*! Animated icon artwork from lucide-animated (MIT, (c) 2024-2026 pqoqubbw) — https://lucide-animated.com (registry item \"panel-left-open\"). @license MIT */\n// Generated by scripts/import-animated-icons.mjs — do not edit by hand.\nimport type { Transition, Variants } from \"motion/react\";\nimport { motion } from \"motion/react\";\nimport * as React from \"react\";\nimport { cn } from \"@/utils/cn\";\nimport { ICON_SIZE_CLASS } from \"../Icons/iconSizeClass\";\nimport type { IconSize } from \"../Icons/types\";\nimport type { AnimatedIconHandle, AnimatedIconProps } from \"./types\";\nimport { useIconAnimation } from \"./useIconAnimation\";\n\nconst DEFAULT_TRANSITION: Transition = {\n times: [0, 0.4, 1],\n duration: 0.5,\n};\n\nconst PATH_VARIANTS: Variants = {\n normal: { x: 0 },\n animate: { x: [0, 1.5, 0] },\n};\n\nconst STROKE_WIDTH: Record<IconSize, number> = {\n 16: 1.5,\n 24: 1.2,\n 32: 1.125,\n};\n\n/** Props for {@link MenuOpenIcon}. See {@link AnimatedIconProps} for the shared shape. */\nexport type MenuOpenIconProps = AnimatedIconProps;\n\n/** Imperative handle for {@link MenuOpenIcon}, via its `controlRef` prop. */\nexport type MenuOpenIconHandle = AnimatedIconHandle;\n\n/**\n * Animated MenuOpen icon — the animated twin of `MenuOpenIcon` from\n * `@fanvue/ui`. Plays on hover, or on demand through `controlRef`, and stays\n * still when the user has asked for reduced motion.\n * Renders at sizes 16, 24, or 32 px — the same box and stroke weight as the static icon.\n *\n * @example\n * ```tsx\n * import { MenuOpenIcon } from \"@fanvue/ui/animated-icons\";\n *\n * <MenuOpenIcon size={24} />\n * ```\n */\nexport const MenuOpenIcon = React.forwardRef<SVGSVGElement, MenuOpenIconProps>(\n (\n { size = 24, filled: _filled, className, controlRef, onMouseEnter, onMouseLeave, ...props },\n ref,\n ) => {\n const { controls, handleMouseEnter, handleMouseLeave } = useIconAnimation({\n controlRef,\n onMouseEnter,\n onMouseLeave,\n });\n\n return (\n <svg\n ref={ref}\n aria-hidden=\"true\"\n {...props}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n viewBox=\"0 0 24 24\"\n strokeWidth={STROKE_WIDTH[size]}\n className={cn(ICON_SIZE_CLASS[size], className)}\n onMouseEnter={handleMouseEnter}\n onMouseLeave={handleMouseLeave}\n >\n <rect height=\"18\" rx=\"2\" width=\"18\" x=\"3\" y=\"3\" />\n <path d=\"M9 3v18\" />\n <motion.path\n animate={controls}\n d=\"m14 9 3 3-3 3\"\n transition={DEFAULT_TRANSITION}\n variants={PATH_VARIANTS}\n />\n </svg>\n );\n },\n);\n\nMenuOpenIcon.displayName = \"MenuOpenIcon\";\n"],"names":["React","useIconAnimation","jsxs","cn","ICON_SIZE_CLASS","jsx","motion"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,MAAM,qBAAiC;AAAA,EACrC,OAAO,CAAC,GAAG,KAAK,CAAC;AAAA,EACjB,UAAU;AACZ;AAEA,MAAM,gBAA0B;AAAA,EAC9B,QAAQ,EAAE,GAAG,EAAA;AAAA,EACb,SAAS,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC,EAAA;AAC1B;AAEA,MAAM,eAAyC;AAAA,EAC7C,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAqBO,MAAM,eAAeA,iBAAM;AAAA,EAChC,CACE,EAAE,OAAO,IAAI,QAAQ,SAAS,WAAW,YAAY,cAAc,cAAc,GAAG,MAAA,GACpF,QACG;AACH,UAAM,EAAE,UAAU,kBAAkB,iBAAA,IAAqBC,iBAAAA,iBAAiB;AAAA,MACxE;AAAA,MACA;AAAA,MACA;AAAA,IAAA,CACD;AAED,WACEC,2BAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,eAAY;AAAA,QACX,GAAG;AAAA,QACJ,MAAK;AAAA,QACL,QAAO;AAAA,QACP,eAAc;AAAA,QACd,gBAAe;AAAA,QACf,SAAQ;AAAA,QACR,aAAa,aAAa,IAAI;AAAA,QAC9B,WAAWC,GAAAA,GAAGC,cAAAA,gBAAgB,IAAI,GAAG,SAAS;AAAA,QAC9C,cAAc;AAAA,QACd,cAAc;AAAA,QAEd,UAAA;AAAA,UAAAC,2BAAAA,IAAC,QAAA,EAAK,QAAO,MAAK,IAAG,KAAI,OAAM,MAAK,GAAE,KAAI,GAAE,IAAA,CAAI;AAAA,UAChDA,2BAAAA,IAAC,QAAA,EAAK,GAAE,UAAA,CAAU;AAAA,UAClBA,2BAAAA;AAAAA,YAACC,MAAAA,OAAO;AAAA,YAAP;AAAA,cACC,SAAS;AAAA,cACT,GAAE;AAAA,cACF,YAAY;AAAA,cACZ,UAAU;AAAA,YAAA;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;AAEA,aAAa,cAAc;;"}
@@ -39,6 +39,7 @@ const Chip = React__namespace.forwardRef(
39
39
  notificationCount,
40
40
  notificationMax,
41
41
  notificationVariant = "brand",
42
+ notificationSize = "20",
42
43
  onClick,
43
44
  asChild = false,
44
45
  children,
@@ -68,7 +69,7 @@ const Chip = React__namespace.forwardRef(
68
69
  {
69
70
  x: "0.5",
70
71
  y: "0.5",
71
- rx: variant === "square" ? 7.5 : size === "40" ? 19.5 : 15.5,
72
+ rx: variant === "square" ? 7.5 : size === "40" ? 19.5 : size === "36" ? 17.5 : 15.5,
72
73
  fill: "none",
73
74
  stroke: "currentColor",
74
75
  strokeWidth: "1",
@@ -89,6 +90,7 @@ const Chip = React__namespace.forwardRef(
89
90
  variant === "square" ? "rounded-xs" : "rounded-full",
90
91
  // Size (32px uses 12px text, 40px uses 14px text per the design spec)
91
92
  size === "32" && "typography-description-12px-semibold h-8 min-w-12 py-1",
93
+ size === "36" && "typography-body-small-14px-semibold h-9 min-w-14 py-2",
92
94
  size === "40" && "typography-body-small-14px-semibold h-10 min-w-14 py-2.5",
93
95
  // Variant colors
94
96
  isDark && "bg-neutral-alphas-600 text-content-always-white",
@@ -166,13 +168,16 @@ const Chip = React__namespace.forwardRef(
166
168
  Count.Count,
167
169
  {
168
170
  variant: notificationVariant,
169
- size: "32",
171
+ size: notificationSize === "16" ? "24" : "32",
170
172
  className: cn.cn(
171
173
  // V2 Notification Count: 20px high/min-width, caption 12,
172
174
  // 4px horizontal and 2px vertical padding, rounded-md.
173
- "absolute top-[-4px] rounded-md px-1 py-0.5",
175
+ notificationSize === "20" && "absolute top-[-4px] rounded-md px-1 py-0.5",
176
+ notificationSize === "16" && "absolute top-[-6px] rounded-full",
174
177
  // Anchor the leading edge so wider values grow away from the label.
175
- size === "40" ? "left-[calc(100%_-_16px)]" : "left-[calc(100%_-_11px)]"
178
+ size === "40" && "left-[calc(100%_-_16px)]",
179
+ size === "36" && "left-[calc(100%_-_14px)]",
180
+ size === "32" && "left-[calc(100%_-_11px)]"
176
181
  ),
177
182
  value: notificationCount ?? 0,
178
183
  max: notificationMax,
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.cjs","sources":["../../../../src/components/Chip/Chip.tsx"],"sourcesContent":["import { Slot, Slottable } from \"@radix-ui/react-slot\";\nimport * as React from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport { Count, type CountVariant } from \"../Count/Count\";\n\n/** Visual variant of the chip. */\nexport type ChipVariant = \"rounded\" | \"square\" | \"dark\";\n/** Height of the chip in pixels. */\nexport type ChipSize = \"32\" | \"40\";\n\nexport interface ChipProps extends React.HTMLAttributes<HTMLElement> {\n /** Visual variant of the chip. @default \"rounded\" */\n variant?: ChipVariant;\n /** Height of the chip in pixels. @default \"32\" */\n size?: ChipSize;\n /** Whether the chip is in a selected (pressed) state. @default false */\n selected?: boolean;\n /** Whether the chip is disabled. @default false */\n disabled?: boolean;\n /** Whether to show a coloured status dot at the leading edge. @default false */\n leftDot?: boolean;\n /**\n * Whether the chip uses a dashed border for add/create affordances.\n * When `selected`, it becomes a subtle filled state with a solid border.\n * Has no effect when `variant=\"dark\"`.\n * @default false\n */\n dotted?: boolean;\n /**\n * Draws the unselected state as a 1px `buttons-chip-default` outline over a\n * transparent background instead of filling with that same token. This is the\n * Figma `V2 Insights Chips` treatment, used where chips sit over a chart and a\n * row of solid fills would compete with the plotted series. The selected state\n * is unaffected — it stays filled — as are the `dark` and `dotted` variants.\n * @default false\n */\n outlined?: boolean;\n /** Icon element displayed before the label. */\n leftIcon?: React.ReactNode;\n /** Icon element displayed after the label. */\n rightIcon?: React.ReactNode;\n /** Notification badge content (e.g. `\"99+\"`). Passed as a string for i18n support. */\n notificationLabel?: string;\n /** Numeric value for the notification badge. Uses the `Count` component for overflow formatting. Takes precedence over `notificationLabel` when both are provided. */\n notificationCount?: number;\n /** Maximum value before the badge shows overflow (e.g. `\"9+\"`). Only applies when `notificationCount` is set. @default 99 */\n notificationMax?: number;\n /** Colour variant of the notification badge. @default \"brand\" */\n notificationVariant?: CountVariant;\n /** Click handler — when provided, the chip renders as a `<button>` for accessibility. */\n onClick?: React.MouseEventHandler<HTMLElement>;\n /** Merge props onto a child element instead of rendering a wrapper. @default false */\n asChild?: boolean;\n}\n\n/**\n * A compact element for filters, tags, or toggleable actions. When an `onClick`\n * handler is provided, the chip renders as an interactive `<button>` with\n * `aria-pressed` support.\n *\n * @example\n * ```tsx\n * <Chip selected onClick={toggle}>Music</Chip>\n * ```\n */\nexport const Chip = React.forwardRef<HTMLButtonElement, ChipProps>(\n (\n {\n className,\n variant = \"rounded\",\n size = \"32\",\n selected = false,\n disabled = false,\n leftDot = false,\n dotted = false,\n outlined = false,\n leftIcon,\n rightIcon,\n notificationLabel,\n notificationCount,\n notificationMax,\n notificationVariant = \"brand\",\n onClick,\n asChild = false,\n children,\n ...props\n },\n ref,\n // biome-ignore lint/complexity/noExcessiveCognitiveComplexity: Variant-heavy UI component\n ) => {\n const isInteractive = !!onClick && !asChild;\n const Comp = asChild ? Slot : isInteractive ? \"button\" : \"span\";\n const isDark = variant === \"dark\";\n // Precedence between the three treatments, named once rather than re-derived per\n // rule: `dark` owns its own palette, `dotted` wins over `outlined`, and what is\n // left is the normal chip, either filled or outlined.\n const isDotted = !isDark && dotted;\n const isSolid = !isDark && !dotted && !outlined;\n const isOutlined = !isDark && !dotted && outlined;\n\n // The dashed border is drawn as an SVG so the dash length matches the design\n // spec (8/8 for the 40px square, 6/6 otherwise). CSS `border-dashed` only\n // renders browser-default dash lengths, which are too short. The stroke colour\n // is driven by `currentColor`, and `group-hover`/`group-active` react to the\n // chip's interactive states. Rendered only in the default (non-`asChild`) path.\n const showDottedBorder = isDotted && !selected && !asChild;\n const dottedBorder = showDottedBorder ? (\n <svg\n aria-hidden=\"true\"\n className={cn(\n // `-1px` spans the reserved transparent border rather than the padding box\n // inside it, so the dash lands on the same ring as the solid border it\n // becomes when selected.\n \"pointer-events-none absolute -top-px -left-px h-[calc(100%+2px)] w-[calc(100%+2px)] overflow-visible\",\n disabled ? \"text-buttons-chip-disabled\" : \"text-buttons-chip-dotted-default\",\n isInteractive &&\n !disabled &&\n \"group-hover:text-buttons-chip-dotted-hover-stroke group-active:text-buttons-chip-dotted-hover-stroke\",\n )}\n >\n <rect\n x=\"0.5\"\n y=\"0.5\"\n rx={variant === \"square\" ? 7.5 : size === \"40\" ? 19.5 : 15.5}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"1\"\n strokeDasharray={variant === \"square\" && size === \"40\" ? \"8 8\" : \"6 6\"}\n style={{ width: \"calc(100% - 1px)\", height: \"calc(100% - 1px)\" }}\n />\n </svg>\n ) : null;\n\n return (\n <Comp\n ref={ref}\n data-testid=\"chip\"\n className={cn(\n \"relative inline-flex min-w-0 items-center justify-center whitespace-nowrap motion-safe:transition-colors motion-safe:duration-150\",\n // Shape\n variant === \"square\" ? \"rounded-xs\" : \"rounded-full\",\n // Size (32px uses 12px text, 40px uses 14px text per the design spec)\n size === \"32\" && \"typography-description-12px-semibold h-8 min-w-12 py-1\",\n size === \"40\" && \"typography-body-small-14px-semibold h-10 min-w-14 py-2.5\",\n // Variant colors\n isDark && \"bg-neutral-alphas-600 text-content-always-white\",\n (isSolid || isOutlined) &&\n selected &&\n \"bg-buttons-chip-active text-content-primary-inverted\",\n // Active + dotted is a subtle filled state with a solid (non-dashed) border.\n isDotted &&\n selected &&\n \"border border-border-primary border-solid bg-inputs-inputs-primary text-content-primary\",\n isSolid && !selected && \"bg-buttons-chip-default text-content-primary\",\n // Outlined: the same token as a 1px stroke rather than a fill. The border\n // is declared in BOTH states and only changes colour, going transparent\n // once selected. It cannot be dropped on selection: `border-box` constrains\n // only explicitly sized axes, and a chip's width is intrinsic, so losing the\n // border would narrow the chip by 2px and reflow the whole row on every\n // click. Height is safe either way because `h-8` is explicit.\n isOutlined && \"border border-solid\",\n isOutlined &&\n !selected &&\n \"border-buttons-chip-default bg-transparent text-content-primary\",\n isOutlined && selected && \"border-transparent\",\n // Dotted (non-selected): the dashed border is drawn via SVG (`dottedBorder`).\n // `group` lets that SVG react to hover/active. `asChild` keeps a CSS dashed\n // border fallback since the SVG is only rendered in the default path.\n isDotted && !selected && \"bg-transparent text-content-primary\",\n isDotted && !selected && !asChild && \"group\",\n // The SVG path draws no CSS border, so selecting one used to add 1px and\n // widen the chip by 2px, shifting the row on every toggle. Reserving a\n // transparent border also puts the dash on the same ring as the solid\n // border it becomes. The `asChild` path already has a real border below.\n isDotted && !selected && !asChild && \"border border-transparent border-solid\",\n isDotted &&\n !selected &&\n asChild &&\n (disabled\n ? \"border border-buttons-chip-disabled border-dashed\"\n : \"border border-buttons-chip-dotted-default border-dashed\"),\n // Interactive\n isInteractive && !disabled && \"cursor-pointer\",\n isInteractive && !disabled && isSolid && !selected && \"hover:bg-buttons-chip-hover\",\n // Outlined darkens its stroke rather than filling. `buttons-chip-hover` is\n // the one-step darkening for chips, but as a fill it is 20% over a 10%\n // stroke, so it swallows the outline the variant exists to show. Moved onto\n // the border, over `interaction-hover`, the atomic hover surface.\n isInteractive &&\n !disabled &&\n isOutlined &&\n !selected &&\n \"hover:border-buttons-chip-hover hover:bg-interaction-hover\",\n isInteractive &&\n !disabled &&\n isDotted &&\n !selected &&\n \"hover:bg-neutral-alphas-50 active:bg-neutral-alphas-50\",\n // Focus\n \"focus-visible:shadow-focus-ring focus-visible:outline-none\",\n // Disabled\n disabled && isDark && \"pointer-events-none opacity-50\",\n disabled && !isDark && \"pointer-events-none text-content-disabled\",\n // Solid (non-dotted) disabled chips get a muted fill; dotted ones stay\n // transparent with their dashed border (drawn via SVG).\n disabled && (isSolid || (isOutlined && selected)) && \"bg-buttons-chip-disabled\",\n // Unselected outlined greys only its stroke. Selected is already filled, so\n // it takes the muted fill above and keeps `border-transparent` for its width.\n disabled && isOutlined && !selected && \"border-buttons-chip-disabled\",\n className,\n )}\n {...(isInteractive && {\n type: \"button\" as const,\n disabled,\n \"aria-pressed\": selected,\n onClick,\n })}\n {...(!isInteractive && disabled && { \"aria-disabled\": true })}\n {...(selected && { \"data-selected\": \"\" })}\n {...props}\n >\n {asChild ? (\n <Slottable>{children}</Slottable>\n ) : (\n <>\n {dottedBorder}\n <span className=\"flex min-w-0 items-center gap-0.5 overflow-hidden px-3\">\n {leftDot && (\n <span className=\"size-2 shrink-0 rounded-full bg-current\" aria-hidden=\"true\" />\n )}\n {leftIcon && (\n <span className=\"flex shrink-0 items-center justify-center\" aria-hidden=\"true\">\n {leftIcon}\n </span>\n )}\n <span className=\"min-w-0 truncate\">{children}</span>\n {rightIcon && (\n <span\n className=\"flex size-5 shrink-0 items-center justify-center\"\n aria-hidden=\"true\"\n >\n {rightIcon}\n </span>\n )}\n </span>\n {(notificationCount != null || notificationLabel) && (\n <Count\n variant={notificationVariant}\n size=\"32\"\n className={cn(\n // V2 Notification Count: 20px high/min-width, caption 12,\n // 4px horizontal and 2px vertical padding, rounded-md.\n \"absolute top-[-4px] rounded-md px-1 py-0.5\",\n // Anchor the leading edge so wider values grow away from the label.\n size === \"40\" ? \"left-[calc(100%_-_16px)]\" : \"left-[calc(100%_-_11px)]\",\n )}\n value={notificationCount ?? 0}\n max={notificationMax}\n >\n {notificationCount == null ? notificationLabel : undefined}\n </Count>\n )}\n </>\n )}\n </Comp>\n );\n },\n);\n\nChip.displayName = \"Chip\";\n"],"names":["React","Slot","jsx","cn","Slottable","jsxs","Fragment","Count"],"mappings":"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"}
1
+ {"version":3,"file":"Chip.cjs","sources":["../../../../src/components/Chip/Chip.tsx"],"sourcesContent":["import { Slot, Slottable } from \"@radix-ui/react-slot\";\nimport * as React from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport { Count, type CountVariant } from \"../Count/Count\";\n\n/** Visual variant of the chip. */\nexport type ChipVariant = \"rounded\" | \"square\" | \"dark\";\n/** Height of the chip in pixels. */\nexport type ChipSize = \"32\" | \"36\" | \"40\";\n/** Height of the notification badge in pixels. */\nexport type ChipNotificationSize = \"16\" | \"20\";\n\nexport interface ChipProps extends React.HTMLAttributes<HTMLElement> {\n /** Visual variant of the chip. @default \"rounded\" */\n variant?: ChipVariant;\n /** Height of the chip in pixels. @default \"32\" */\n size?: ChipSize;\n /** Whether the chip is in a selected (pressed) state. @default false */\n selected?: boolean;\n /** Whether the chip is disabled. @default false */\n disabled?: boolean;\n /** Whether to show a coloured status dot at the leading edge. @default false */\n leftDot?: boolean;\n /**\n * Whether the chip uses a dashed border for add/create affordances.\n * When `selected`, it becomes a subtle filled state with a solid border.\n * Has no effect when `variant=\"dark\"`.\n * @default false\n */\n dotted?: boolean;\n /**\n * Draws the unselected state as a 1px `buttons-chip-default` outline over a\n * transparent background instead of filling with that same token. This is the\n * Figma `V2 Insights Chips` treatment, used where chips sit over a chart and a\n * row of solid fills would compete with the plotted series. The selected state\n * is unaffected — it stays filled — as are the `dark` and `dotted` variants.\n * @default false\n */\n outlined?: boolean;\n /** Icon element displayed before the label. */\n leftIcon?: React.ReactNode;\n /** Icon element displayed after the label. */\n rightIcon?: React.ReactNode;\n /** Notification badge content (e.g. `\"99+\"`). Passed as a string for i18n support. */\n notificationLabel?: string;\n /** Numeric value for the notification badge. Uses the `Count` component for overflow formatting. Takes precedence over `notificationLabel` when both are provided. */\n notificationCount?: number;\n /** Maximum value before the badge shows overflow (e.g. `\"9+\"`). Only applies when `notificationCount` is set. @default 99 */\n notificationMax?: number;\n /** Colour variant of the notification badge. @default \"brand\" */\n notificationVariant?: CountVariant;\n /**\n * Height of the notification badge. `\"20\"` is the V2 Notification Count, a\n * rounded square; `\"16\"` is a circle for dense rows such as page tab chips.\n * @default \"20\"\n */\n notificationSize?: ChipNotificationSize;\n /** Click handler — when provided, the chip renders as a `<button>` for accessibility. */\n onClick?: React.MouseEventHandler<HTMLElement>;\n /** Merge props onto a child element instead of rendering a wrapper. @default false */\n asChild?: boolean;\n}\n\n/**\n * A compact element for filters, tags, or toggleable actions. When an `onClick`\n * handler is provided, the chip renders as an interactive `<button>` with\n * `aria-pressed` support.\n *\n * @example\n * ```tsx\n * <Chip selected onClick={toggle}>Music</Chip>\n * ```\n */\nexport const Chip = React.forwardRef<HTMLButtonElement, ChipProps>(\n (\n {\n className,\n variant = \"rounded\",\n size = \"32\",\n selected = false,\n disabled = false,\n leftDot = false,\n dotted = false,\n outlined = false,\n leftIcon,\n rightIcon,\n notificationLabel,\n notificationCount,\n notificationMax,\n notificationVariant = \"brand\",\n notificationSize = \"20\",\n onClick,\n asChild = false,\n children,\n ...props\n },\n ref,\n // biome-ignore lint/complexity/noExcessiveCognitiveComplexity: Variant-heavy UI component\n ) => {\n const isInteractive = !!onClick && !asChild;\n const Comp = asChild ? Slot : isInteractive ? \"button\" : \"span\";\n const isDark = variant === \"dark\";\n // Precedence between the three treatments, named once rather than re-derived per\n // rule: `dark` owns its own palette, `dotted` wins over `outlined`, and what is\n // left is the normal chip, either filled or outlined.\n const isDotted = !isDark && dotted;\n const isSolid = !isDark && !dotted && !outlined;\n const isOutlined = !isDark && !dotted && outlined;\n\n // The dashed border is drawn as an SVG so the dash length matches the design\n // spec (8/8 for the 40px square, 6/6 otherwise). CSS `border-dashed` only\n // renders browser-default dash lengths, which are too short. The stroke colour\n // is driven by `currentColor`, and `group-hover`/`group-active` react to the\n // chip's interactive states. Rendered only in the default (non-`asChild`) path.\n const showDottedBorder = isDotted && !selected && !asChild;\n const dottedBorder = showDottedBorder ? (\n <svg\n aria-hidden=\"true\"\n className={cn(\n // `-1px` spans the reserved transparent border rather than the padding box\n // inside it, so the dash lands on the same ring as the solid border it\n // becomes when selected.\n \"pointer-events-none absolute -top-px -left-px h-[calc(100%+2px)] w-[calc(100%+2px)] overflow-visible\",\n disabled ? \"text-buttons-chip-disabled\" : \"text-buttons-chip-dotted-default\",\n isInteractive &&\n !disabled &&\n \"group-hover:text-buttons-chip-dotted-hover-stroke group-active:text-buttons-chip-dotted-hover-stroke\",\n )}\n >\n <rect\n x=\"0.5\"\n y=\"0.5\"\n rx={variant === \"square\" ? 7.5 : size === \"40\" ? 19.5 : size === \"36\" ? 17.5 : 15.5}\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"1\"\n strokeDasharray={variant === \"square\" && size === \"40\" ? \"8 8\" : \"6 6\"}\n style={{ width: \"calc(100% - 1px)\", height: \"calc(100% - 1px)\" }}\n />\n </svg>\n ) : null;\n\n return (\n <Comp\n ref={ref}\n data-testid=\"chip\"\n className={cn(\n \"relative inline-flex min-w-0 items-center justify-center whitespace-nowrap motion-safe:transition-colors motion-safe:duration-150\",\n // Shape\n variant === \"square\" ? \"rounded-xs\" : \"rounded-full\",\n // Size (32px uses 12px text, 40px uses 14px text per the design spec)\n size === \"32\" && \"typography-description-12px-semibold h-8 min-w-12 py-1\",\n size === \"36\" && \"typography-body-small-14px-semibold h-9 min-w-14 py-2\",\n size === \"40\" && \"typography-body-small-14px-semibold h-10 min-w-14 py-2.5\",\n // Variant colors\n isDark && \"bg-neutral-alphas-600 text-content-always-white\",\n (isSolid || isOutlined) &&\n selected &&\n \"bg-buttons-chip-active text-content-primary-inverted\",\n // Active + dotted is a subtle filled state with a solid (non-dashed) border.\n isDotted &&\n selected &&\n \"border border-border-primary border-solid bg-inputs-inputs-primary text-content-primary\",\n isSolid && !selected && \"bg-buttons-chip-default text-content-primary\",\n // Outlined: the same token as a 1px stroke rather than a fill. The border\n // is declared in BOTH states and only changes colour, going transparent\n // once selected. It cannot be dropped on selection: `border-box` constrains\n // only explicitly sized axes, and a chip's width is intrinsic, so losing the\n // border would narrow the chip by 2px and reflow the whole row on every\n // click. Height is safe either way because `h-8` is explicit.\n isOutlined && \"border border-solid\",\n isOutlined &&\n !selected &&\n \"border-buttons-chip-default bg-transparent text-content-primary\",\n isOutlined && selected && \"border-transparent\",\n // Dotted (non-selected): the dashed border is drawn via SVG (`dottedBorder`).\n // `group` lets that SVG react to hover/active. `asChild` keeps a CSS dashed\n // border fallback since the SVG is only rendered in the default path.\n isDotted && !selected && \"bg-transparent text-content-primary\",\n isDotted && !selected && !asChild && \"group\",\n // The SVG path draws no CSS border, so selecting one used to add 1px and\n // widen the chip by 2px, shifting the row on every toggle. Reserving a\n // transparent border also puts the dash on the same ring as the solid\n // border it becomes. The `asChild` path already has a real border below.\n isDotted && !selected && !asChild && \"border border-transparent border-solid\",\n isDotted &&\n !selected &&\n asChild &&\n (disabled\n ? \"border border-buttons-chip-disabled border-dashed\"\n : \"border border-buttons-chip-dotted-default border-dashed\"),\n // Interactive\n isInteractive && !disabled && \"cursor-pointer\",\n isInteractive && !disabled && isSolid && !selected && \"hover:bg-buttons-chip-hover\",\n // Outlined darkens its stroke rather than filling. `buttons-chip-hover` is\n // the one-step darkening for chips, but as a fill it is 20% over a 10%\n // stroke, so it swallows the outline the variant exists to show. Moved onto\n // the border, over `interaction-hover`, the atomic hover surface.\n isInteractive &&\n !disabled &&\n isOutlined &&\n !selected &&\n \"hover:border-buttons-chip-hover hover:bg-interaction-hover\",\n isInteractive &&\n !disabled &&\n isDotted &&\n !selected &&\n \"hover:bg-neutral-alphas-50 active:bg-neutral-alphas-50\",\n // Focus\n \"focus-visible:shadow-focus-ring focus-visible:outline-none\",\n // Disabled\n disabled && isDark && \"pointer-events-none opacity-50\",\n disabled && !isDark && \"pointer-events-none text-content-disabled\",\n // Solid (non-dotted) disabled chips get a muted fill; dotted ones stay\n // transparent with their dashed border (drawn via SVG).\n disabled && (isSolid || (isOutlined && selected)) && \"bg-buttons-chip-disabled\",\n // Unselected outlined greys only its stroke. Selected is already filled, so\n // it takes the muted fill above and keeps `border-transparent` for its width.\n disabled && isOutlined && !selected && \"border-buttons-chip-disabled\",\n className,\n )}\n {...(isInteractive && {\n type: \"button\" as const,\n disabled,\n \"aria-pressed\": selected,\n onClick,\n })}\n {...(!isInteractive && disabled && { \"aria-disabled\": true })}\n {...(selected && { \"data-selected\": \"\" })}\n {...props}\n >\n {asChild ? (\n <Slottable>{children}</Slottable>\n ) : (\n <>\n {dottedBorder}\n <span className=\"flex min-w-0 items-center gap-0.5 overflow-hidden px-3\">\n {leftDot && (\n <span className=\"size-2 shrink-0 rounded-full bg-current\" aria-hidden=\"true\" />\n )}\n {leftIcon && (\n <span className=\"flex shrink-0 items-center justify-center\" aria-hidden=\"true\">\n {leftIcon}\n </span>\n )}\n <span className=\"min-w-0 truncate\">{children}</span>\n {rightIcon && (\n <span\n className=\"flex size-5 shrink-0 items-center justify-center\"\n aria-hidden=\"true\"\n >\n {rightIcon}\n </span>\n )}\n </span>\n {(notificationCount != null || notificationLabel) && (\n <Count\n variant={notificationVariant}\n size={notificationSize === \"16\" ? \"24\" : \"32\"}\n className={cn(\n // V2 Notification Count: 20px high/min-width, caption 12,\n // 4px horizontal and 2px vertical padding, rounded-md.\n notificationSize === \"20\" && \"absolute top-[-4px] rounded-md px-1 py-0.5\",\n notificationSize === \"16\" && \"absolute top-[-6px] rounded-full\",\n // Anchor the leading edge so wider values grow away from the label.\n size === \"40\" && \"left-[calc(100%_-_16px)]\",\n size === \"36\" && \"left-[calc(100%_-_14px)]\",\n size === \"32\" && \"left-[calc(100%_-_11px)]\",\n )}\n value={notificationCount ?? 0}\n max={notificationMax}\n >\n {notificationCount == null ? notificationLabel : undefined}\n </Count>\n )}\n </>\n )}\n </Comp>\n );\n },\n);\n\nChip.displayName = \"Chip\";\n"],"names":["React","Slot","jsx","cn","Slottable","jsxs","Fragment","Count"],"mappings":"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"}
@@ -5,6 +5,8 @@ const jsxRuntime = require("react/jsx-runtime");
5
5
  const React = require("react");
6
6
  const cn = require("../../utils/cn.cjs");
7
7
  const Avatar = require("../Avatar/Avatar.cjs");
8
+ const VerifiedIcon = require("../Icons/VerifiedIcon.cjs");
9
+ const Pill = require("../Pill/Pill.cjs");
8
10
  function _interopNamespaceDefault(e) {
9
11
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
10
12
  if (e) {
@@ -23,45 +25,70 @@ function _interopNamespaceDefault(e) {
23
25
  }
24
26
  const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
25
27
  const CreatorCard = React__namespace.forwardRef(
26
- ({ className, background, name, description, avatar, actions, ...props }, ref) => {
28
+ ({
29
+ className,
30
+ background,
31
+ pill,
32
+ avatar,
33
+ name,
34
+ verified = false,
35
+ verifiedLabel = "Verified",
36
+ tagline,
37
+ content,
38
+ action,
39
+ ...props
40
+ }, ref) => {
27
41
  return /* @__PURE__ */ jsxRuntime.jsxs(
28
42
  "div",
29
43
  {
30
44
  ref,
31
45
  className: cn.cn(
32
- "relative isolate flex aspect-290/450 max-w-full flex-col justify-end overflow-hidden bg-background-primary",
46
+ "relative isolate flex flex-col overflow-hidden bg-surface-primary",
33
47
  className
34
48
  ),
35
49
  ...props,
36
50
  children: [
37
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-0 h-full w-full select-none *:h-full *:w-full [&>img]:object-cover [&>video]:object-cover", children: background }),
38
- /* @__PURE__ */ jsxRuntime.jsx(
39
- "div",
40
- {
41
- className: cn.cn(
42
- "pointer-events-none absolute inset-x-0 bottom-0 bg-linear-to-t from-background-primary via-background-primary/90 to-transparent",
43
- actions ? "h-3/5" : "h-1/3"
44
- )
45
- }
46
- ),
47
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex flex-col gap-4 p-4", children: [
48
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4", children: [
51
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative aspect-10/11 w-full shrink-0 overflow-hidden", children: [
52
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-0 select-none *:h-full *:w-full [&>img]:object-cover [&>video]:object-cover", children: background }),
53
+ pill ? /* @__PURE__ */ jsxRuntime.jsx(
54
+ Pill.Pill,
55
+ {
56
+ variant: "contrast",
57
+ ...pill,
58
+ className: cn.cn("absolute top-2 left-2 max-w-[calc(100%-1rem)]", pill.className)
59
+ }
60
+ ) : null
61
+ ] }),
62
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 flex-col gap-2.5 p-3", children: [
63
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
49
64
  /* @__PURE__ */ jsxRuntime.jsx(
50
65
  Avatar.Avatar,
51
66
  {
52
- size: 48,
67
+ size: 32,
53
68
  src: avatar?.src,
54
- alt: avatar?.alt ?? name,
69
+ alt: avatar?.alt ?? (typeof name === "string" ? name : void 0),
55
70
  fallback: avatar?.fallback,
56
71
  ...avatar
57
72
  }
58
73
  ),
59
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
60
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "typography-header-heading-sm truncate text-content-primary", children: name }),
61
- description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "typography-description-12px-semibold truncate text-content-secondary dark:text-brand-primary-default", children: description })
74
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 flex-1 flex-col", children: [
75
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-1", children: [
76
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "typography-body-small-14px-semibold m-0 truncate text-content-primary", children: name }),
77
+ verified ? /* @__PURE__ */ jsxRuntime.jsx(
78
+ "span",
79
+ {
80
+ role: "img",
81
+ "aria-label": verifiedLabel,
82
+ className: "inline-flex shrink-0 text-content-primary",
83
+ children: /* @__PURE__ */ jsxRuntime.jsx(VerifiedIcon.VerifiedIcon, { size: 16, filled: true })
84
+ }
85
+ ) : null
86
+ ] }),
87
+ tagline ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "typography-body-small-14px-regular m-0 truncate text-content-secondary", children: tagline }) : null
62
88
  ] })
63
89
  ] }),
64
- actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: actions })
90
+ content ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "typography-body-small-14px-semibold min-w-0 text-content-primary", children: content }) : null,
91
+ action ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex w-full", children: action }) : null
65
92
  ] })
66
93
  ]
67
94
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CreatorCard.cjs","sources":["../../../../src/components/CreatorCard/CreatorCard.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport { Avatar } from \"../Avatar/Avatar\";\n\nexport interface CreatorCardProps extends React.HTMLAttributes<HTMLDivElement> {\n /** Decorative background media rendered behind the creator content. */\n background: React.ReactNode;\n /** Creator display name shown as the heading. */\n name: string;\n /** Optional secondary line shown below the name (e.g. role or tagline). */\n description?: string;\n /** Avatar props forwarded to the inner {@link Avatar}. */\n avatar?: React.ComponentPropsWithoutRef<typeof Avatar>;\n /**\n * Action buttons rendered at the bottom of the card. Pass zero, one, or two\n * `Button` elements to render variants with no, one, or two CTAs.\n */\n actions?: React.ReactNode;\n}\n\n/**\n * A portrait media card highlighting a creator with avatar, name, optional\n * tagline, and up to two stacked action buttons over a background image.\n *\n * Pass zero, one, or two {@link Button} elements via `actions` to render the\n * no-button, single-button, or two-button variants.\n *\n * @example\n * ```tsx\n * <CreatorCard\n * background={<img src=\"/creator.jpg\" alt=\"\" />}\n * name=\"Jane Doe\"\n * description=\"MODEL & PODCASTER\"\n * avatar={{ src: \"/avatar.jpg\", alt: \"Jane Doe\", fallback: \"JD\" }}\n * actions={\n * <>\n * <Button variant=\"brand\" fullWidth>Join for free for 3 days</Button>\n * <Button variant=\"primary\" fullWidth>Follow for Free</Button>\n * </>\n * }\n * />\n * ```\n */\nexport const CreatorCard = React.forwardRef<HTMLDivElement, CreatorCardProps>(\n ({ className, background, name, description, avatar, actions, ...props }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n \"relative isolate flex aspect-290/450 max-w-full flex-col justify-end overflow-hidden bg-background-primary\",\n className,\n )}\n {...props}\n >\n <div className=\"pointer-events-none absolute inset-0 h-full w-full select-none *:h-full *:w-full [&>img]:object-cover [&>video]:object-cover\">\n {background}\n </div>\n <div\n className={cn(\n \"pointer-events-none absolute inset-x-0 bottom-0 bg-linear-to-t from-background-primary via-background-primary/90 to-transparent\",\n actions ? \"h-3/5\" : \"h-1/3\",\n )}\n />\n <div className=\"relative flex flex-col gap-4 p-4\">\n <div className=\"flex items-center gap-4\">\n <Avatar\n size={48}\n src={avatar?.src}\n alt={avatar?.alt ?? name}\n fallback={avatar?.fallback}\n {...avatar}\n />\n <div className=\"min-w-0 flex-1\">\n <p className=\"typography-header-heading-sm truncate text-content-primary\">{name}</p>\n {description && (\n <p className=\"typography-description-12px-semibold truncate text-content-secondary dark:text-brand-primary-default\">\n {description}\n </p>\n )}\n </div>\n </div>\n {actions && <div className=\"flex flex-col gap-2\">{actions}</div>}\n </div>\n </div>\n );\n },\n);\n\nCreatorCard.displayName = \"CreatorCard\";\n"],"names":["React","jsxs","cn","jsx","Avatar"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA2CO,MAAM,cAAcA,iBAAM;AAAA,EAC/B,CAAC,EAAE,WAAW,YAAY,MAAM,aAAa,QAAQ,SAAS,GAAG,MAAA,GAAS,QAAQ;AAChF,WACEC,2BAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,WAAWC,GAAAA;AAAAA,UACT;AAAA,UACA;AAAA,QAAA;AAAA,QAED,GAAG;AAAA,QAEJ,UAAA;AAAA,UAAAC,2BAAAA,IAAC,OAAA,EAAI,WAAU,gIACZ,UAAA,YACH;AAAA,UACAA,2BAAAA;AAAAA,YAAC;AAAA,YAAA;AAAA,cACC,WAAWD,GAAAA;AAAAA,gBACT;AAAA,gBACA,UAAU,UAAU;AAAA,cAAA;AAAA,YACtB;AAAA,UAAA;AAAA,UAEFD,2BAAAA,KAAC,OAAA,EAAI,WAAU,oCACb,UAAA;AAAA,YAAAA,2BAAAA,KAAC,OAAA,EAAI,WAAU,2BACb,UAAA;AAAA,cAAAE,2BAAAA;AAAAA,gBAACC,OAAAA;AAAAA,gBAAA;AAAA,kBACC,MAAM;AAAA,kBACN,KAAK,QAAQ;AAAA,kBACb,KAAK,QAAQ,OAAO;AAAA,kBACpB,UAAU,QAAQ;AAAA,kBACjB,GAAG;AAAA,gBAAA;AAAA,cAAA;AAAA,cAENH,2BAAAA,KAAC,OAAA,EAAI,WAAU,kBACb,UAAA;AAAA,gBAAAE,2BAAAA,IAAC,KAAA,EAAE,WAAU,8DAA8D,UAAA,MAAK;AAAA,gBAC/E,eACCA,2BAAAA,IAAC,KAAA,EAAE,WAAU,wGACV,UAAA,YAAA,CACH;AAAA,cAAA,EAAA,CAEJ;AAAA,YAAA,GACF;AAAA,YACC,WAAWA,2BAAAA,IAAC,OAAA,EAAI,WAAU,uBAAuB,UAAA,QAAA,CAAQ;AAAA,UAAA,EAAA,CAC5D;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;AAEA,YAAY,cAAc;;"}
1
+ {"version":3,"file":"CreatorCard.cjs","sources":["../../../../src/components/CreatorCard/CreatorCard.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport { Avatar } from \"../Avatar/Avatar\";\nimport { VerifiedIcon } from \"../Icons/VerifiedIcon\";\nimport { Pill, type PillProps } from \"../Pill/Pill\";\n\nexport interface CreatorCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, \"content\"> {\n /** Decorative banner media rendered at the top of the card. */\n background: React.ReactNode;\n /**\n * Props forwarded to a {@link Pill} overlaid on the top-left of the banner.\n * Pass the label as `children`. Omit to hide the pill.\n */\n pill?: PillProps;\n /** Avatar props forwarded to the inner {@link Avatar}. */\n avatar?: React.ComponentPropsWithoutRef<typeof Avatar>;\n /** Creator display name shown next to the avatar. */\n name: React.ReactNode;\n /** When `true`, renders a verified badge after the name. @default false */\n verified?: boolean;\n /** Accessible label for the verified badge. @default \"Verified\" */\n verifiedLabel?: string;\n /** Optional secondary line shown under the name (e.g. post count). */\n tagline?: React.ReactNode;\n /**\n * Optional content shown under the creator details (e.g. the subscription\n * price). It wraps by default; pass a `truncate` element to keep it on one line.\n */\n content?: React.ReactNode;\n /**\n * Action element rendered full-width at the bottom of the card (e.g. a\n * `Button` with `fullWidth` for subscribing to the creator).\n */\n action?: React.ReactNode;\n}\n\n/**\n * A card suggesting a creator, with a banner image, an optional {@link Pill},\n * the creator's avatar, name and tagline, free-form content such as a price,\n * and an optional action.\n *\n * The card has no fixed width or corner radius: set both through `className`\n * (e.g. `className=\"w-40 rounded-md\"`). The banner keeps a 10:11 ratio at any\n * width.\n *\n * @example\n * ```tsx\n * <CreatorCard\n * className=\"w-40 rounded-md\"\n * background={<img src=\"/banner.jpg\" alt=\"\" />}\n * pill={{ variant: \"contrast\", children: \"Popular this week\" }}\n * avatar={{ src: \"/avatar.jpg\", fallback: \"JD\" }}\n * name=\"Jane Doe\"\n * verified\n * tagline=\"412 posts\"\n * content={<span className=\"block truncate\">$9.99 / month</span>}\n * action={<Button variant=\"primary\" size=\"32\" fullWidth>Subscribe</Button>}\n * />\n * ```\n */\nexport const CreatorCard = React.forwardRef<HTMLDivElement, CreatorCardProps>(\n (\n {\n className,\n background,\n pill,\n avatar,\n name,\n verified = false,\n verifiedLabel = \"Verified\",\n tagline,\n content,\n action,\n ...props\n },\n ref,\n ) => {\n return (\n <div\n ref={ref}\n className={cn(\n \"relative isolate flex flex-col overflow-hidden bg-surface-primary\",\n className,\n )}\n {...props}\n >\n <div className=\"relative aspect-10/11 w-full shrink-0 overflow-hidden\">\n <div className=\"pointer-events-none absolute inset-0 select-none *:h-full *:w-full [&>img]:object-cover [&>video]:object-cover\">\n {background}\n </div>\n {pill ? (\n <Pill\n variant=\"contrast\"\n {...pill}\n className={cn(\"absolute top-2 left-2 max-w-[calc(100%-1rem)]\", pill.className)}\n />\n ) : null}\n </div>\n <div className=\"flex min-w-0 flex-col gap-2.5 p-3\">\n <div className=\"flex min-w-0 items-center gap-2\">\n <Avatar\n size={32}\n src={avatar?.src}\n alt={avatar?.alt ?? (typeof name === \"string\" ? name : undefined)}\n fallback={avatar?.fallback}\n {...avatar}\n />\n <div className=\"flex min-w-0 flex-1 flex-col\">\n <div className=\"flex min-w-0 items-center gap-1\">\n <p className=\"typography-body-small-14px-semibold m-0 truncate text-content-primary\">\n {name}\n </p>\n {verified ? (\n <span\n role=\"img\"\n aria-label={verifiedLabel}\n className=\"inline-flex shrink-0 text-content-primary\"\n >\n <VerifiedIcon size={16} filled />\n </span>\n ) : null}\n </div>\n {tagline ? (\n <p className=\"typography-body-small-14px-regular m-0 truncate text-content-secondary\">\n {tagline}\n </p>\n ) : null}\n </div>\n </div>\n {content ? (\n <div className=\"typography-body-small-14px-semibold min-w-0 text-content-primary\">\n {content}\n </div>\n ) : null}\n {action ? <div className=\"flex w-full\">{action}</div> : null}\n </div>\n </div>\n );\n },\n);\n\nCreatorCard.displayName = \"CreatorCard\";\n"],"names":["React","jsxs","cn","jsx","Pill","Avatar","VerifiedIcon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA4DO,MAAM,cAAcA,iBAAM;AAAA,EAC/B,CACE;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,WAAW;AAAA,IACX,gBAAgB;AAAA,IAChB;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EAAA,GAEL,QACG;AACH,WACEC,2BAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,WAAWC,GAAAA;AAAAA,UACT;AAAA,UACA;AAAA,QAAA;AAAA,QAED,GAAG;AAAA,QAEJ,UAAA;AAAA,UAAAD,2BAAAA,KAAC,OAAA,EAAI,WAAU,yDACb,UAAA;AAAA,YAAAE,2BAAAA,IAAC,OAAA,EAAI,WAAU,kHACZ,UAAA,YACH;AAAA,YACC,OACCA,2BAAAA;AAAAA,cAACC,KAAAA;AAAAA,cAAA;AAAA,gBACC,SAAQ;AAAA,gBACP,GAAG;AAAA,gBACJ,WAAWF,GAAAA,GAAG,iDAAiD,KAAK,SAAS;AAAA,cAAA;AAAA,YAAA,IAE7E;AAAA,UAAA,GACN;AAAA,UACAD,2BAAAA,KAAC,OAAA,EAAI,WAAU,qCACb,UAAA;AAAA,YAAAA,2BAAAA,KAAC,OAAA,EAAI,WAAU,mCACb,UAAA;AAAA,cAAAE,2BAAAA;AAAAA,gBAACE,OAAAA;AAAAA,gBAAA;AAAA,kBACC,MAAM;AAAA,kBACN,KAAK,QAAQ;AAAA,kBACb,KAAK,QAAQ,QAAQ,OAAO,SAAS,WAAW,OAAO;AAAA,kBACvD,UAAU,QAAQ;AAAA,kBACjB,GAAG;AAAA,gBAAA;AAAA,cAAA;AAAA,cAENJ,2BAAAA,KAAC,OAAA,EAAI,WAAU,gCACb,UAAA;AAAA,gBAAAA,2BAAAA,KAAC,OAAA,EAAI,WAAU,mCACb,UAAA;AAAA,kBAAAE,2BAAAA,IAAC,KAAA,EAAE,WAAU,yEACV,UAAA,MACH;AAAA,kBACC,WACCA,2BAAAA;AAAAA,oBAAC;AAAA,oBAAA;AAAA,sBACC,MAAK;AAAA,sBACL,cAAY;AAAA,sBACZ,WAAU;AAAA,sBAEV,UAAAA,2BAAAA,IAACG,2BAAA,EAAa,MAAM,IAAI,QAAM,KAAA,CAAC;AAAA,oBAAA;AAAA,kBAAA,IAE/B;AAAA,gBAAA,GACN;AAAA,gBACC,UACCH,2BAAAA,IAAC,KAAA,EAAE,WAAU,0EACV,mBACH,IACE;AAAA,cAAA,EAAA,CACN;AAAA,YAAA,GACF;AAAA,YACC,UACCA,2BAAAA,IAAC,OAAA,EAAI,WAAU,oEACZ,mBACH,IACE;AAAA,YACH,SAASA,2BAAAA,IAAC,OAAA,EAAI,WAAU,eAAe,kBAAO,IAAS;AAAA,UAAA,EAAA,CAC1D;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;AAEA,YAAY,cAAc;;"}
@@ -25,45 +25,45 @@ const VARIANTS = {
25
25
  16: {
26
26
  outlined: [
27
27
  {
28
- d: "M9.98 15.167h-4C2.36 15.167.813 13.62.813 10V6C.813 2.38 2.36.833 5.98.833h4C13.6.833 15.147 2.38 15.147 6v4c0 3.62-1.54 5.167-5.167 5.167m-4-13.334C2.907 1.833 1.813 2.927 1.813 6v4c0 3.073 1.094 4.167 4.167 4.167h4c3.073 0 4.167-1.094 4.167-4.167V6c0-3.073-1.094-4.167-4.167-4.167z"
28
+ 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",
29
+ sw: 1
29
30
  },
30
- {
31
- d: "M5.313 15.167a.504.504 0 0 1-.5-.5V1.333c0-.273.227-.5.5-.5.274 0 .5.227.5.5v13.334a.5.5 0 0 1-.5.5m4.667-4.96a.5.5 0 0 1-.353-.146L7.92 8.354a.503.503 0 0 1 0-.707l1.707-1.706a.503.503 0 0 1 .706 0 .503.503 0 0 1 0 .706L8.987 8.001l1.353 1.353a.498.498 0 0 1-.36.853"
32
- }
31
+ { d: "M5 11.5v-7", sw: 1 }
33
32
  ],
34
33
  filled: [
35
34
  {
36
- d: "M1.333 5.206v5.587c0 .993.24 1.82.7 2.453.194.28.44.527.72.72.547.4 1.24.634 2.06.687v-13.3c-2.186.14-3.48 1.56-3.48 3.853m12.634-2.453a2.8 2.8 0 0 0-.72-.72c-.634-.46-1.46-.7-2.454-.7h-4.98v13.334h4.98c2.427 0 3.874-1.447 3.874-3.874V5.207c0-.994-.24-1.82-.7-2.454m-3.634 6.6a.503.503 0 0 1 0 .707.495.495 0 0 1-.707 0L7.92 8.353a.503.503 0 0 1 0-.706L9.627 5.94a.503.503 0 0 1 .706 0 .503.503 0 0 1 0 .707L8.987 8z"
35
+ 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 M4.5 4.5a0.5 0.5 0 0 1 1 0v7a0.5 0.5 0 0 1-1 0Z",
36
+ eo: true
37
37
  }
38
38
  ]
39
39
  },
40
40
  24: {
41
41
  outlined: [
42
42
  {
43
- d: "M14.97 22.75h-6c-5.43 0-7.75-2.32-7.75-7.75V9c0-5.43 2.32-7.75 7.75-7.75h6c5.43 0 7.75 2.32 7.75 7.75v6c0 5.43-2.31 7.75-7.75 7.75m-6-20C4.36 2.75 2.72 4.39 2.72 9v6c0 4.61 1.64 6.25 6.25 6.25h6c4.61 0 6.25-1.64 6.25-6.25V9c0-4.61-1.64-6.25-6.25-6.25z"
43
+ 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",
44
+ sw: 1.2
44
45
  },
45
- {
46
- d: "M7.97 22.75c-.41 0-.75-.34-.75-.75V2c0-.41.34-.75.75-.75s.75.34.75.75v20c0 .41-.33.75-.75.75m7-7.44c-.19 0-.38-.07-.53-.22l-2.56-2.56a.754.754 0 0 1 0-1.06l2.56-2.56c.29-.29.77-.29 1.06 0s.29.77 0 1.06L13.48 12l2.03 2.03c.29.29.29.77 0 1.06-.15.15-.34.22-.54.22"
47
- }
46
+ { d: "M6.5 18.75V5.25", sw: 1.2 }
48
47
  ],
49
48
  filled: [
50
49
  {
51
- d: "M2 7.81v8.38c0 1.49.36 2.73 1.05 3.68.29.42.66.79 1.08 1.08.82.6 1.86.95 3.09 1.03V2.03C3.94 2.24 2 4.37 2 7.81m18.95-3.68c-.29-.42-.66-.79-1.08-1.08C18.92 2.36 17.68 2 16.19 2H8.72v20h7.47c3.64 0 5.81-2.17 5.81-5.81V7.81c0-1.49-.36-2.73-1.05-3.68m-5.45 9.9c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22s-.38-.07-.53-.22l-2.56-2.56a.754.754 0 0 1 0-1.06l2.56-2.56c.29-.29.77-.29 1.06 0s.29.77 0 1.06L13.48 12z"
50
+ 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 M4.9 5.25a0.6 0.6 0 0 1 1.2 0v13.5a0.6 0.6 0 0 1-1.2 0Z",
51
+ eo: true
52
52
  }
53
53
  ]
54
54
  },
55
55
  32: {
56
56
  outlined: [
57
57
  {
58
- d: "M19.96 30.333h-8C4.72 30.333 1.627 27.24 1.627 20v-8c0-7.24 3.093-10.333 10.333-10.333h8C27.2 1.667 30.293 4.76 30.293 12v8c0 7.24-3.08 10.333-10.333 10.333m-8-26.666c-6.147 0-8.333 2.186-8.333 8.333v8c0 6.147 2.186 8.333 8.333 8.333h8c6.147 0 8.333-2.186 8.333-8.333v-8c0-6.147-2.186-8.333-8.333-8.333z"
58
+ 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",
59
+ sw: 1.5
59
60
  },
60
- {
61
- d: "M10.627 30.333c-.547 0-1-.453-1-1V2.667c0-.547.453-1 1-1s1 .453 1 1v26.666c0 .547-.44 1-1 1m9.333-9.918a1 1 0 0 1-.707-.294l-3.413-3.413a1.006 1.006 0 0 1 0-1.413l3.413-3.414a1.006 1.006 0 0 1 1.414 0 1.006 1.006 0 0 1 0 1.413l-2.694 2.707 2.707 2.707a1.006 1.006 0 0 1 0 1.413c-.2.2-.453.294-.72.294"
62
- }
61
+ { d: "M8 25V7", sw: 1.5 }
63
62
  ],
64
63
  filled: [
65
64
  {
66
- d: "M2.667 10.412v11.174c0 1.986.48 3.64 1.4 4.906.386.56.88 1.054 1.44 1.44 1.093.8 2.48 1.267 4.12 1.374v-26.6c-4.374.28-6.96 3.12-6.96 7.706m25.266-4.905a5.7 5.7 0 0 0-1.44-1.44c-1.266-.92-2.92-1.4-4.906-1.4h-9.96v26.666h9.96c4.853 0 7.746-2.893 7.746-7.746V10.413c0-1.986-.48-3.64-1.4-4.906m-7.267 13.2a1.006 1.006 0 0 1 0 1.413c-.2.2-.453.293-.706.293a1 1 0 0 1-.707-.293l-3.413-3.413a1.006 1.006 0 0 1 0-1.414l3.413-3.413a1.006 1.006 0 0 1 1.413 0 1.006 1.006 0 0 1 0 1.413L17.973 16z"
65
+ 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 M7.25 7a0.75 0.75 0 0 1 1.5 0v18a0.75 0.75 0 0 1-1.5 0Z",
66
+ eo: true
67
67
  }
68
68
  ]
69
69
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MenuCloseIcon.cjs","sources":["../../../../src/components/Icons/MenuCloseIcon.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: \"M9.98 15.167h-4C2.36 15.167.813 13.62.813 10V6C.813 2.38 2.36.833 5.98.833h4C13.6.833 15.147 2.38 15.147 6v4c0 3.62-1.54 5.167-5.167 5.167m-4-13.334C2.907 1.833 1.813 2.927 1.813 6v4c0 3.073 1.094 4.167 4.167 4.167h4c3.073 0 4.167-1.094 4.167-4.167V6c0-3.073-1.094-4.167-4.167-4.167z\",\n },\n {\n d: \"M5.313 15.167a.504.504 0 0 1-.5-.5V1.333c0-.273.227-.5.5-.5.274 0 .5.227.5.5v13.334a.5.5 0 0 1-.5.5m4.667-4.96a.5.5 0 0 1-.353-.146L7.92 8.354a.503.503 0 0 1 0-.707l1.707-1.706a.503.503 0 0 1 .706 0 .503.503 0 0 1 0 .706L8.987 8.001l1.353 1.353a.498.498 0 0 1-.36.853\",\n },\n ],\n filled: [\n {\n d: \"M1.333 5.206v5.587c0 .993.24 1.82.7 2.453.194.28.44.527.72.72.547.4 1.24.634 2.06.687v-13.3c-2.186.14-3.48 1.56-3.48 3.853m12.634-2.453a2.8 2.8 0 0 0-.72-.72c-.634-.46-1.46-.7-2.454-.7h-4.98v13.334h4.98c2.427 0 3.874-1.447 3.874-3.874V5.207c0-.994-.24-1.82-.7-2.454m-3.634 6.6a.503.503 0 0 1 0 .707.495.495 0 0 1-.707 0L7.92 8.353a.503.503 0 0 1 0-.706L9.627 5.94a.503.503 0 0 1 .706 0 .503.503 0 0 1 0 .707L8.987 8z\",\n },\n ],\n },\n 24: {\n outlined: [\n {\n d: \"M14.97 22.75h-6c-5.43 0-7.75-2.32-7.75-7.75V9c0-5.43 2.32-7.75 7.75-7.75h6c5.43 0 7.75 2.32 7.75 7.75v6c0 5.43-2.31 7.75-7.75 7.75m-6-20C4.36 2.75 2.72 4.39 2.72 9v6c0 4.61 1.64 6.25 6.25 6.25h6c4.61 0 6.25-1.64 6.25-6.25V9c0-4.61-1.64-6.25-6.25-6.25z\",\n },\n {\n d: \"M7.97 22.75c-.41 0-.75-.34-.75-.75V2c0-.41.34-.75.75-.75s.75.34.75.75v20c0 .41-.33.75-.75.75m7-7.44c-.19 0-.38-.07-.53-.22l-2.56-2.56a.754.754 0 0 1 0-1.06l2.56-2.56c.29-.29.77-.29 1.06 0s.29.77 0 1.06L13.48 12l2.03 2.03c.29.29.29.77 0 1.06-.15.15-.34.22-.54.22\",\n },\n ],\n filled: [\n {\n d: \"M2 7.81v8.38c0 1.49.36 2.73 1.05 3.68.29.42.66.79 1.08 1.08.82.6 1.86.95 3.09 1.03V2.03C3.94 2.24 2 4.37 2 7.81m18.95-3.68c-.29-.42-.66-.79-1.08-1.08C18.92 2.36 17.68 2 16.19 2H8.72v20h7.47c3.64 0 5.81-2.17 5.81-5.81V7.81c0-1.49-.36-2.73-1.05-3.68m-5.45 9.9c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22s-.38-.07-.53-.22l-2.56-2.56a.754.754 0 0 1 0-1.06l2.56-2.56c.29-.29.77-.29 1.06 0s.29.77 0 1.06L13.48 12z\",\n },\n ],\n },\n 32: {\n outlined: [\n {\n d: \"M19.96 30.333h-8C4.72 30.333 1.627 27.24 1.627 20v-8c0-7.24 3.093-10.333 10.333-10.333h8C27.2 1.667 30.293 4.76 30.293 12v8c0 7.24-3.08 10.333-10.333 10.333m-8-26.666c-6.147 0-8.333 2.186-8.333 8.333v8c0 6.147 2.186 8.333 8.333 8.333h8c6.147 0 8.333-2.186 8.333-8.333v-8c0-6.147-2.186-8.333-8.333-8.333z\",\n },\n {\n d: \"M10.627 30.333c-.547 0-1-.453-1-1V2.667c0-.547.453-1 1-1s1 .453 1 1v26.666c0 .547-.44 1-1 1m9.333-9.918a1 1 0 0 1-.707-.294l-3.413-3.413a1.006 1.006 0 0 1 0-1.413l3.413-3.414a1.006 1.006 0 0 1 1.414 0 1.006 1.006 0 0 1 0 1.413l-2.694 2.707 2.707 2.707a1.006 1.006 0 0 1 0 1.413c-.2.2-.453.294-.72.294\",\n },\n ],\n filled: [\n {\n d: \"M2.667 10.412v11.174c0 1.986.48 3.64 1.4 4.906.386.56.88 1.054 1.44 1.44 1.093.8 2.48 1.267 4.12 1.374v-26.6c-4.374.28-6.96 3.12-6.96 7.706m25.266-4.905a5.7 5.7 0 0 0-1.44-1.44c-1.266-.92-2.92-1.4-4.906-1.4h-9.96v26.666h9.96c4.853 0 7.746-2.893 7.746-7.746V10.413c0-1.986-.48-3.64-1.4-4.906m-7.267 13.2a1.006 1.006 0 0 1 0 1.413c-.2.2-.453.293-.706.293a1 1 0 0 1-.707-.293l-3.413-3.413a1.006 1.006 0 0 1 0-1.414l3.413-3.413a1.006 1.006 0 0 1 1.413 0 1.006 1.006 0 0 1 0 1.413L17.973 16z\",\n },\n ],\n },\n};\n\n/** Props for {@link MenuCloseIcon}. See {@link BaseIconProps} for the shared shape. */\nexport type MenuCloseIconProps = BaseIconProps;\n\n/**\n * Menu Close icon. Renders at sizes 16, 24, or 32 px with outlined and filled variants.\n *\n * @example\n * ```tsx\n * <MenuCloseIcon size={24} filled />\n * ```\n */\nexport const MenuCloseIcon = React.forwardRef<SVGSVGElement, MenuCloseIconProps>((props, ref) => (\n <BaseIcon ref={ref} variants={VARIANTS} {...props} />\n));\n\nMenuCloseIcon.displayName = \"MenuCloseIcon\";\n"],"names":["React","jsx","BaseIcon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,WAAyB;AAAA,EAC7B,IAAI;AAAA,IACF,UAAU;AAAA,MACR;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,MAEL;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,IAEF,QAAQ;AAAA,MACN;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,EACF;AAAA,EAEF,IAAI;AAAA,IACF,UAAU;AAAA,MACR;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,MAEL;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,IAEF,QAAQ;AAAA,MACN;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,EACF;AAAA,EAEF,IAAI;AAAA,IACF,UAAU;AAAA,MACR;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,MAEL;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,IAEF,QAAQ;AAAA,MACN;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,EACF;AAEJ;AAaO,MAAM,gBAAgBA,iBAAM,WAA8C,CAAC,OAAO,QACvFC,2BAAAA,IAACC,SAAAA,UAAA,EAAS,KAAU,UAAU,UAAW,GAAG,OAAO,CACpD;AAED,cAAc,cAAc;;"}
1
+ {"version":3,"file":"MenuCloseIcon.cjs","sources":["../../../../src/components/Icons/MenuCloseIcon.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: \"M5 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 M4.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: \"M6.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 M4.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: \"M8 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 M7.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 MenuCloseIcon}. See {@link BaseIconProps} for the shared shape. */\nexport type MenuCloseIconProps = BaseIconProps;\n\n/**\n * Menu Close icon. Renders at sizes 16, 24, or 32 px with outlined and filled variants.\n *\n * @example\n * ```tsx\n * <MenuCloseIcon size={24} filled />\n * ```\n */\nexport const MenuCloseIcon = React.forwardRef<SVGSVGElement, MenuCloseIconProps>((props, ref) => (\n <BaseIcon ref={ref} variants={VARIANTS} {...props} />\n));\n\nMenuCloseIcon.displayName = \"MenuCloseIcon\";\n"],"names":["React","jsx","BaseIcon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,WAAyB;AAAA,EAC7B,IAAI;AAAA,IACF,UAAU;AAAA,MACR;AAAA,QACE,GAAG;AAAA,QACH,IAAI;AAAA,MAAA;AAAA,MAEN,EAAE,GAAG,cAAc,IAAI,EAAA;AAAA,IAAE;AAAA,IAE3B,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,mBAAmB,IAAI,IAAA;AAAA,IAAI;AAAA,IAElC,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,WAAW,IAAI,IAAA;AAAA,IAAI;AAAA,IAE1B,QAAQ;AAAA,MACN;AAAA,QACE,GAAG;AAAA,QACH,IAAI;AAAA,MAAA;AAAA,IACN;AAAA,EACF;AAEJ;AAaO,MAAM,gBAAgBA,iBAAM,WAA8C,CAAC,OAAO,QACvFC,2BAAAA,IAACC,SAAAA,UAAA,EAAS,KAAU,UAAU,UAAW,GAAG,OAAO,CACpD;AAED,cAAc,cAAc;;"}
@@ -25,45 +25,45 @@ const VARIANTS = {
25
25
  16: {
26
26
  outlined: [
27
27
  {
28
- d: "M9.98 15.167h-4C2.36 15.167.813 13.62.813 10V6C.813 2.38 2.36.833 5.98.833h4C13.6.833 15.147 2.38 15.147 6v4c0 3.62-1.54 5.167-5.167 5.167m-4-13.334C2.907 1.833 1.813 2.927 1.813 6v4c0 3.073 1.094 4.167 4.167 4.167h4c3.073 0 4.167-1.094 4.167-4.167V6c0-3.073-1.094-4.167-4.167-4.167z"
28
+ 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",
29
+ sw: 1
29
30
  },
30
- {
31
- d: "M9.98 15.167a.504.504 0 0 1-.5-.5V1.333c0-.273.227-.5.5-.5s.5.227.5.5v13.334a.5.5 0 0 1-.5.5m-4.667-4.96a.5.5 0 0 1-.353-.146.503.503 0 0 1 0-.707l1.353-1.353L4.96 6.647a.503.503 0 0 1 0-.706.503.503 0 0 1 .707 0l1.706 1.706a.503.503 0 0 1 0 .707l-1.706 1.707a.47.47 0 0 1-.354.146"
32
- }
31
+ { d: "M11 11.5v-7", sw: 1 }
33
32
  ],
34
33
  filled: [
35
34
  {
36
- d: "M5.207 1.333c-.994 0-1.82.24-2.454.7-.28.194-.526.44-.72.72-.46.634-.7 1.46-.7 2.454v5.586c0 2.427 1.447 3.874 3.874 3.874h4.98V1.333zm2.873 7.02L6.373 10.06a.495.495 0 0 1-.707 0 .503.503 0 0 1 0-.707L7.014 8 5.667 6.647a.49.49 0 0 1 0-.707.503.503 0 0 1 .706 0L8.08 7.647a.503.503 0 0 1 0 .706m3.107-7v13.3c.82-.053 1.513-.287 2.06-.687.28-.193.526-.44.72-.72.46-.633.7-1.46.7-2.453V5.206c0-2.293-1.294-3.713-3.48-3.853"
35
+ 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",
36
+ eo: true
37
37
  }
38
38
  ]
39
39
  },
40
40
  24: {
41
41
  outlined: [
42
42
  {
43
- d: "M14.97 22.75h-6c-5.43 0-7.75-2.32-7.75-7.75V9c0-5.43 2.32-7.75 7.75-7.75h6c5.43 0 7.75 2.32 7.75 7.75v6c0 5.43-2.31 7.75-7.75 7.75m-6-20C4.36 2.75 2.72 4.39 2.72 9v6c0 4.61 1.64 6.25 6.25 6.25h6c4.61 0 6.25-1.64 6.25-6.25V9c0-4.61-1.64-6.25-6.25-6.25z"
43
+ 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",
44
+ sw: 1.2
44
45
  },
45
- {
46
- d: "M14.97 22.75c-.41 0-.75-.34-.75-.75V2c0-.41.34-.75.75-.75s.75.34.75.75v20c0 .41-.33.75-.75.75m-7-7.44c-.19 0-.38-.07-.53-.22a.754.754 0 0 1 0-1.06L9.47 12 7.44 9.97a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2.56 2.56c.29.29.29.77 0 1.06L8.5 15.09a.7.7 0 0 1-.53.22"
47
- }
46
+ { d: "M17.5 18.75V5.25", sw: 1.2 }
48
47
  ],
49
48
  filled: [
50
49
  {
51
- d: "M7.81 2c-1.49 0-2.73.36-3.68 1.05-.42.29-.79.66-1.08 1.08C2.36 5.08 2 6.32 2 7.81v8.38C2 19.83 4.17 22 7.81 22h7.47V2zm4.31 10.53-2.56 2.56c-.15.15-.34.22-.53.22s-.38-.07-.53-.22a.754.754 0 0 1 0-1.06L10.52 12 8.5 9.97c-.3-.29-.3-.77 0-1.06s.77-.29 1.06 0l2.56 2.56c.29.29.29.77 0 1.06m4.66-10.5v19.95c1.23-.08 2.27-.43 3.09-1.03.42-.29.79-.66 1.08-1.08.69-.95 1.05-2.19 1.05-3.68V7.81c0-3.44-1.94-5.57-5.22-5.78"
50
+ 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",
51
+ eo: true
52
52
  }
53
53
  ]
54
54
  },
55
55
  32: {
56
56
  outlined: [
57
57
  {
58
- d: "M19.96 30.333h-8C4.72 30.333 1.627 27.24 1.627 20v-8c0-7.24 3.093-10.333 10.333-10.333h8C27.2 1.667 30.293 4.76 30.293 12v8c0 7.24-3.08 10.333-10.333 10.333m-8-26.666c-6.147 0-8.333 2.186-8.333 8.333v8c0 6.147 2.186 8.333 8.333 8.333h8c6.147 0 8.333-2.186 8.333-8.333v-8c0-6.147-2.186-8.333-8.333-8.333z"
58
+ 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",
59
+ sw: 1.5
59
60
  },
60
- {
61
- d: "M19.96 30.333c-.547 0-1-.453-1-1V2.667c0-.547.453-1 1-1s1 .453 1 1v26.666c0 .547-.44 1-1 1m-9.334-9.918a1 1 0 0 1-.706-.294 1.006 1.006 0 0 1 0-1.413L12.626 16 9.92 13.294a1.006 1.006 0 0 1 0-1.413 1.006 1.006 0 0 1 1.413 0l3.413 3.414a1.006 1.006 0 0 1 0 1.413l-3.413 3.413a.95.95 0 0 1-.707.294"
62
- }
61
+ { d: "M24 25V7", sw: 1.5 }
63
62
  ],
64
63
  filled: [
65
64
  {
66
- d: "M10.413 2.667c-1.986 0-3.64.48-4.906 1.4-.56.386-1.054.88-1.44 1.44-.92 1.266-1.4 2.92-1.4 4.906v11.174c0 4.853 2.893 7.746 7.746 7.746h9.96V2.667zm5.747 14.04-3.413 3.413a1 1 0 0 1-.707.293 1 1 0 0 1-.707-.293 1.006 1.006 0 0 1 0-1.413L14.027 16l-2.694-2.707a.98.98 0 0 1 0-1.413 1.006 1.006 0 0 1 1.414 0l3.413 3.413a1.006 1.006 0 0 1 0 1.414m6.213-14.001v26.6c1.64-.107 3.027-.574 4.12-1.374a5.7 5.7 0 0 0 1.44-1.44c.92-1.266 1.4-2.92 1.4-4.906V10.412c0-4.586-2.586-7.426-6.96-7.706"
65
+ 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",
66
+ eo: true
67
67
  }
68
68
  ]
69
69
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MenuOpenIcon.cjs","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: \"M9.98 15.167h-4C2.36 15.167.813 13.62.813 10V6C.813 2.38 2.36.833 5.98.833h4C13.6.833 15.147 2.38 15.147 6v4c0 3.62-1.54 5.167-5.167 5.167m-4-13.334C2.907 1.833 1.813 2.927 1.813 6v4c0 3.073 1.094 4.167 4.167 4.167h4c3.073 0 4.167-1.094 4.167-4.167V6c0-3.073-1.094-4.167-4.167-4.167z\",\n },\n {\n d: \"M9.98 15.167a.504.504 0 0 1-.5-.5V1.333c0-.273.227-.5.5-.5s.5.227.5.5v13.334a.5.5 0 0 1-.5.5m-4.667-4.96a.5.5 0 0 1-.353-.146.503.503 0 0 1 0-.707l1.353-1.353L4.96 6.647a.503.503 0 0 1 0-.706.503.503 0 0 1 .707 0l1.706 1.706a.503.503 0 0 1 0 .707l-1.706 1.707a.47.47 0 0 1-.354.146\",\n },\n ],\n filled: [\n {\n d: \"M5.207 1.333c-.994 0-1.82.24-2.454.7-.28.194-.526.44-.72.72-.46.634-.7 1.46-.7 2.454v5.586c0 2.427 1.447 3.874 3.874 3.874h4.98V1.333zm2.873 7.02L6.373 10.06a.495.495 0 0 1-.707 0 .503.503 0 0 1 0-.707L7.014 8 5.667 6.647a.49.49 0 0 1 0-.707.503.503 0 0 1 .706 0L8.08 7.647a.503.503 0 0 1 0 .706m3.107-7v13.3c.82-.053 1.513-.287 2.06-.687.28-.193.526-.44.72-.72.46-.633.7-1.46.7-2.453V5.206c0-2.293-1.294-3.713-3.48-3.853\",\n },\n ],\n },\n 24: {\n outlined: [\n {\n d: \"M14.97 22.75h-6c-5.43 0-7.75-2.32-7.75-7.75V9c0-5.43 2.32-7.75 7.75-7.75h6c5.43 0 7.75 2.32 7.75 7.75v6c0 5.43-2.31 7.75-7.75 7.75m-6-20C4.36 2.75 2.72 4.39 2.72 9v6c0 4.61 1.64 6.25 6.25 6.25h6c4.61 0 6.25-1.64 6.25-6.25V9c0-4.61-1.64-6.25-6.25-6.25z\",\n },\n {\n d: \"M14.97 22.75c-.41 0-.75-.34-.75-.75V2c0-.41.34-.75.75-.75s.75.34.75.75v20c0 .41-.33.75-.75.75m-7-7.44c-.19 0-.38-.07-.53-.22a.754.754 0 0 1 0-1.06L9.47 12 7.44 9.97a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2.56 2.56c.29.29.29.77 0 1.06L8.5 15.09a.7.7 0 0 1-.53.22\",\n },\n ],\n filled: [\n {\n d: \"M7.81 2c-1.49 0-2.73.36-3.68 1.05-.42.29-.79.66-1.08 1.08C2.36 5.08 2 6.32 2 7.81v8.38C2 19.83 4.17 22 7.81 22h7.47V2zm4.31 10.53-2.56 2.56c-.15.15-.34.22-.53.22s-.38-.07-.53-.22a.754.754 0 0 1 0-1.06L10.52 12 8.5 9.97c-.3-.29-.3-.77 0-1.06s.77-.29 1.06 0l2.56 2.56c.29.29.29.77 0 1.06m4.66-10.5v19.95c1.23-.08 2.27-.43 3.09-1.03.42-.29.79-.66 1.08-1.08.69-.95 1.05-2.19 1.05-3.68V7.81c0-3.44-1.94-5.57-5.22-5.78\",\n },\n ],\n },\n 32: {\n outlined: [\n {\n d: \"M19.96 30.333h-8C4.72 30.333 1.627 27.24 1.627 20v-8c0-7.24 3.093-10.333 10.333-10.333h8C27.2 1.667 30.293 4.76 30.293 12v8c0 7.24-3.08 10.333-10.333 10.333m-8-26.666c-6.147 0-8.333 2.186-8.333 8.333v8c0 6.147 2.186 8.333 8.333 8.333h8c6.147 0 8.333-2.186 8.333-8.333v-8c0-6.147-2.186-8.333-8.333-8.333z\",\n },\n {\n d: \"M19.96 30.333c-.547 0-1-.453-1-1V2.667c0-.547.453-1 1-1s1 .453 1 1v26.666c0 .547-.44 1-1 1m-9.334-9.918a1 1 0 0 1-.706-.294 1.006 1.006 0 0 1 0-1.413L12.626 16 9.92 13.294a1.006 1.006 0 0 1 0-1.413 1.006 1.006 0 0 1 1.413 0l3.413 3.414a1.006 1.006 0 0 1 0 1.413l-3.413 3.413a.95.95 0 0 1-.707.294\",\n },\n ],\n filled: [\n {\n d: \"M10.413 2.667c-1.986 0-3.64.48-4.906 1.4-.56.386-1.054.88-1.44 1.44-.92 1.266-1.4 2.92-1.4 4.906v11.174c0 4.853 2.893 7.746 7.746 7.746h9.96V2.667zm5.747 14.04-3.413 3.413a1 1 0 0 1-.707.293 1 1 0 0 1-.707-.293 1.006 1.006 0 0 1 0-1.413L14.027 16l-2.694-2.707a.98.98 0 0 1 0-1.413 1.006 1.006 0 0 1 1.414 0l3.413 3.413a1.006 1.006 0 0 1 0 1.414m6.213-14.001v26.6c1.64-.107 3.027-.574 4.12-1.374a5.7 5.7 0 0 0 1.44-1.44c.92-1.266 1.4-2.92 1.4-4.906V10.412c0-4.586-2.586-7.426-6.96-7.706\",\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":["React","jsx","BaseIcon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,WAAyB;AAAA,EAC7B,IAAI;AAAA,IACF,UAAU;AAAA,MACR;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,MAEL;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,IAEF,QAAQ;AAAA,MACN;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,EACF;AAAA,EAEF,IAAI;AAAA,IACF,UAAU;AAAA,MACR;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,MAEL;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,IAEF,QAAQ;AAAA,MACN;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,EACF;AAAA,EAEF,IAAI;AAAA,IACF,UAAU;AAAA,MACR;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,MAEL;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,IAEF,QAAQ;AAAA,MACN;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,EACF;AAEJ;AAaO,MAAM,eAAeA,iBAAM,WAA6C,CAAC,OAAO,QACrFC,2BAAAA,IAACC,SAAAA,UAAA,EAAS,KAAU,UAAU,UAAW,GAAG,OAAO,CACpD;AAED,aAAa,cAAc;;"}
1
+ {"version":3,"file":"MenuOpenIcon.cjs","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":["React","jsx","BaseIcon"],"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,eAAeA,iBAAM,WAA6C,CAAC,OAAO,QACrFC,2BAAAA,IAACC,SAAAA,UAAA,EAAS,KAAU,UAAU,UAAW,GAAG,OAAO,CACpD;AAED,aAAa,cAAc;;"}