@fanvue/ui 3.40.1 → 3.41.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.
@@ -100,13 +100,13 @@ const Checkbox = React__namespace.forwardRef(
100
100
  "data-[state=checked]:border-content-primary data-[state=checked]:bg-content-primary data-[state=checked]:text-content-primary-inverted",
101
101
  // Indeterminate state
102
102
  "data-[state=indeterminate]:border-content-primary data-[state=indeterminate]:bg-content-primary data-[state=indeterminate]:text-content-primary-inverted",
103
- // Hover & active state
104
- "hover:ring-2 hover:ring-brand-primary-default group-hover:ring-2 group-hover:ring-brand-primary-default",
105
- "not-disabled:active:ring-2 not-disabled:active:ring-brand-primary-default",
106
- // Focus state
107
- "focus-visible:shadow-focus-ring focus-visible:outline-none",
103
+ // Hover & active state (inset, like the focus ring, so overflow containers can't clip it)
104
+ "hover:inset-ring-2 hover:inset-ring-brand-primary-default group-hover:inset-ring-2 group-hover:inset-ring-brand-primary-default",
105
+ "not-disabled:active:inset-ring-2 not-disabled:active:inset-ring-brand-primary-default",
106
+ // Focus state (drops the hover ring, which would otherwise paint over the focus ring)
107
+ "focus-visible:inset-ring-0 focus-visible:shadow-focus-ring focus-visible:outline-none",
108
108
  // Disabled state
109
- "disabled:cursor-not-allowed disabled:border-neutral-alphas-600 disabled:ring-0 disabled:group-hover:ring-0",
109
+ "disabled:inset-ring-0 disabled:cursor-not-allowed disabled:border-neutral-alphas-600 disabled:group-hover:inset-ring-0",
110
110
  "disabled:data-[state=checked]:border-neutral-alphas-600 disabled:data-[state=checked]:bg-neutral-alphas-600 disabled:data-[state=checked]:text-content-tertiary",
111
111
  !hasLabel && className
112
112
  ),
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.cjs","sources":["../../../../src/components/Checkbox/Checkbox.tsx"],"sourcesContent":["import * as CheckboxPrimitive from \"@radix-ui/react-checkbox\";\nimport * as React from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport { CheckIcon } from \"../Icons/CheckIcon\";\nimport { MinusIcon } from \"../Icons/MinusIcon\";\n\n/**\n * Size variant for the checkbox.\n *\n * - `\"20\"` (default) — 20px box, body-lg label.\n * - `\"16\"` — 16px box, body-md label, used in compact contexts like data tables.\n * - `\"default\"` and `\"small\"` are legacy aliases retained for back-compat\n * (`\"default\"` → `\"20\"`, `\"small\"` → `\"20\"` with smaller label typography).\n */\nexport type CheckboxSize =\n | \"20\"\n | \"16\"\n /** @deprecated Use `\"20\"` instead. */\n | \"default\"\n /** @deprecated Use `\"20\"` (the smaller-typography variant remains via `\"small\"`). */\n | \"small\";\n\nconst BOX_SIZE_CLASS: Record<\"20\" | \"16\", string> = {\n \"20\": \"size-5\",\n \"16\": \"size-4\",\n};\n\nconst INDICATOR_SIZE_CLASS: Record<\"20\" | \"16\", string> = {\n \"20\": \"size-3\",\n \"16\": \"size-2.5\",\n};\n\nexport interface CheckboxProps\n extends Omit<React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, \"asChild\"> {\n /** Size variant. @default \"20\" */\n size?: CheckboxSize;\n /** Label text displayed next to the checkbox. */\n label?: string;\n /** Descriptive text displayed below the label. */\n helperText?: string;\n}\n\n/**\n * A checkbox input with optional label and helper text. Supports checked,\n * unchecked, and indeterminate states.\n *\n * The ref type is intentionally `HTMLInputElement` (not `HTMLButtonElement`) for\n * form-library compatibility — libraries like react-hook-form call `register()`\n * which expects an `HTMLInputElement` ref. A hidden `<input>` is synced to the\n * Radix checkbox state via `useImperativeHandle`.\n *\n * @example\n * ```tsx\n * <Checkbox label=\"Accept terms\" helperText=\"Required to continue\" />\n * ```\n */\nexport const Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(\n ({ className, size = \"20\", label, helperText, disabled, name, ...props }, ref) => {\n const id = React.useId();\n const helperTextId = helperText ? `${id}-helper` : undefined;\n const hasLabel = Boolean(label || helperText);\n const boxSize: \"20\" | \"16\" = size === \"16\" ? \"16\" : \"20\";\n const useSmallLabelTypography = size === \"small\";\n\n if (\n process.env.NODE_ENV !== \"production\" &&\n !label &&\n !props[\"aria-label\"] &&\n !props[\"aria-labelledby\"]\n ) {\n console.warn(\n \"Checkbox: No accessible name provided. Add a `label`, `aria-label`, or `aria-labelledby` prop so screen readers can announce this checkbox.\",\n );\n }\n\n // Hidden input for form library compatibility (e.g. react-hook-form register)\n const inputRef = React.useRef<HTMLInputElement>(null);\n React.useImperativeHandle(ref, () => inputRef.current as HTMLInputElement);\n\n const handleCheckedChange = (value: boolean | \"indeterminate\") => {\n const checked = value === true;\n if (inputRef.current) {\n inputRef.current.checked = checked;\n inputRef.current.dispatchEvent(new Event(\"change\", { bubbles: true }));\n }\n props.onCheckedChange?.(value);\n };\n\n const checkboxElement = (\n <span\n className={cn(\n \"relative inline-flex shrink-0\",\n BOX_SIZE_CLASS[boxSize],\n // Alignment when used with label\n label && (helperText ? \"mt-1\" : \"mt-0.5\"),\n )}\n >\n <input\n ref={inputRef}\n type=\"checkbox\"\n name={name}\n disabled={disabled}\n aria-hidden\n tabIndex={-1}\n onChange={() => {}}\n className=\"pointer-events-none absolute size-px overflow-hidden opacity-0\"\n style={{ clip: \"rect(0,0,0,0)\" }}\n />\n <CheckboxPrimitive.Root\n id={id}\n disabled={disabled}\n aria-describedby={helperTextId}\n data-testid=\"checkbox\"\n {...props}\n onCheckedChange={handleCheckedChange}\n className={cn(\n // Base styles\n \"flex items-center justify-center rounded-2xs border\",\n BOX_SIZE_CLASS[boxSize],\n \"transition-[border-color,background-color,color,box-shadow] duration-150\",\n // Default state\n \"border-content-primary bg-transparent text-transparent\",\n // Checked state\n \"data-[state=checked]:border-content-primary data-[state=checked]:bg-content-primary data-[state=checked]:text-content-primary-inverted\",\n // Indeterminate state\n \"data-[state=indeterminate]:border-content-primary data-[state=indeterminate]:bg-content-primary data-[state=indeterminate]:text-content-primary-inverted\",\n // Hover & active state\n \"hover:ring-2 hover:ring-brand-primary-default group-hover:ring-2 group-hover:ring-brand-primary-default\",\n \"not-disabled:active:ring-2 not-disabled:active:ring-brand-primary-default\",\n // Focus state\n \"focus-visible:shadow-focus-ring focus-visible:outline-none\",\n // Disabled state\n \"disabled:cursor-not-allowed disabled:border-neutral-alphas-600 disabled:ring-0 disabled:group-hover:ring-0\",\n \"disabled:data-[state=checked]:border-neutral-alphas-600 disabled:data-[state=checked]:bg-neutral-alphas-600 disabled:data-[state=checked]:text-content-tertiary\",\n !hasLabel && className,\n )}\n >\n <CheckboxPrimitive.Indicator\n forceMount\n className={cn(\n \"flex items-center justify-center text-content-primary-inverted\",\n INDICATOR_SIZE_CLASS[boxSize],\n \"data-[state=unchecked]:invisible\",\n )}\n >\n {props.checked === \"indeterminate\" ? <MinusIcon /> : <CheckIcon />}\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n </span>\n );\n\n if (!hasLabel) {\n return checkboxElement;\n }\n\n return (\n <div\n className={cn(\n \"inline-flex flex-col gap-0.5\",\n disabled && \"is-disabled cursor-not-allowed\",\n className,\n )}\n >\n <div className=\"group inline-flex items-start gap-2\">\n {checkboxElement}\n {label && (\n <label\n htmlFor={id}\n className={cn(\n \"cursor-pointer select-none text-content-primary\",\n \"group-has-disabled:cursor-not-allowed group-has-disabled:text-content-tertiary\",\n useSmallLabelTypography\n ? \"typography-body-small-14px-semibold\"\n : \"typography-body-default-16px-semibold\",\n )}\n >\n {label}\n </label>\n )}\n </div>\n {helperText && (\n <span\n id={helperTextId}\n className={cn(\n \"ml-7 text-content-secondary\",\n \"in-[.is-disabled]:cursor-not-allowed in-[.is-disabled]:text-content-tertiary\",\n useSmallLabelTypography\n ? \"typography-description-12px-regular\"\n : \"typography-body-small-14px-regular\",\n )}\n >\n {helperText}\n </span>\n )}\n </div>\n );\n },\n);\n\nCheckbox.displayName = \"Checkbox\";\n"],"names":["React","jsxs","cn","jsx","CheckboxPrimitive","MinusIcon","CheckIcon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,MAAM,iBAA8C;AAAA,EAClD,MAAM;AAAA,EAC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BAGL,UAAA;AAAA,cAAA;AAAA,YAAA;AAAA,UACH,GAEJ;AAAA,UACC,cACCC,2BAAAA;AAAAA,YAAC;AAAA,YAAA;AAAA,cACC,IAAI;AAAA,cACJ,WAAWD,GAAAA;AAAAA,gBACT;AAAA,gBACA;AAAA,gBACA,0BACI,wCACA;AAAA,cAAA;AAAA,cAGL,UAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACH;AAAA,MAAA;AAAA,IAAA;AAAA,EAIR;AACF;AAEA,SAAS,cAAc;;"}
1
+ {"version":3,"file":"Checkbox.cjs","sources":["../../../../src/components/Checkbox/Checkbox.tsx"],"sourcesContent":["import * as CheckboxPrimitive from \"@radix-ui/react-checkbox\";\nimport * as React from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport { CheckIcon } from \"../Icons/CheckIcon\";\nimport { MinusIcon } from \"../Icons/MinusIcon\";\n\n/**\n * Size variant for the checkbox.\n *\n * - `\"20\"` (default) — 20px box, body-lg label.\n * - `\"16\"` — 16px box, body-md label, used in compact contexts like data tables.\n * - `\"default\"` and `\"small\"` are legacy aliases retained for back-compat\n * (`\"default\"` → `\"20\"`, `\"small\"` → `\"20\"` with smaller label typography).\n */\nexport type CheckboxSize =\n | \"20\"\n | \"16\"\n /** @deprecated Use `\"20\"` instead. */\n | \"default\"\n /** @deprecated Use `\"20\"` (the smaller-typography variant remains via `\"small\"`). */\n | \"small\";\n\nconst BOX_SIZE_CLASS: Record<\"20\" | \"16\", string> = {\n \"20\": \"size-5\",\n \"16\": \"size-4\",\n};\n\nconst INDICATOR_SIZE_CLASS: Record<\"20\" | \"16\", string> = {\n \"20\": \"size-3\",\n \"16\": \"size-2.5\",\n};\n\nexport interface CheckboxProps\n extends Omit<React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, \"asChild\"> {\n /** Size variant. @default \"20\" */\n size?: CheckboxSize;\n /** Label text displayed next to the checkbox. */\n label?: string;\n /** Descriptive text displayed below the label. */\n helperText?: string;\n}\n\n/**\n * A checkbox input with optional label and helper text. Supports checked,\n * unchecked, and indeterminate states.\n *\n * The ref type is intentionally `HTMLInputElement` (not `HTMLButtonElement`) for\n * form-library compatibility — libraries like react-hook-form call `register()`\n * which expects an `HTMLInputElement` ref. A hidden `<input>` is synced to the\n * Radix checkbox state via `useImperativeHandle`.\n *\n * @example\n * ```tsx\n * <Checkbox label=\"Accept terms\" helperText=\"Required to continue\" />\n * ```\n */\nexport const Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(\n ({ className, size = \"20\", label, helperText, disabled, name, ...props }, ref) => {\n const id = React.useId();\n const helperTextId = helperText ? `${id}-helper` : undefined;\n const hasLabel = Boolean(label || helperText);\n const boxSize: \"20\" | \"16\" = size === \"16\" ? \"16\" : \"20\";\n const useSmallLabelTypography = size === \"small\";\n\n if (\n process.env.NODE_ENV !== \"production\" &&\n !label &&\n !props[\"aria-label\"] &&\n !props[\"aria-labelledby\"]\n ) {\n console.warn(\n \"Checkbox: No accessible name provided. Add a `label`, `aria-label`, or `aria-labelledby` prop so screen readers can announce this checkbox.\",\n );\n }\n\n // Hidden input for form library compatibility (e.g. react-hook-form register)\n const inputRef = React.useRef<HTMLInputElement>(null);\n React.useImperativeHandle(ref, () => inputRef.current as HTMLInputElement);\n\n const handleCheckedChange = (value: boolean | \"indeterminate\") => {\n const checked = value === true;\n if (inputRef.current) {\n inputRef.current.checked = checked;\n inputRef.current.dispatchEvent(new Event(\"change\", { bubbles: true }));\n }\n props.onCheckedChange?.(value);\n };\n\n const checkboxElement = (\n <span\n className={cn(\n \"relative inline-flex shrink-0\",\n BOX_SIZE_CLASS[boxSize],\n // Alignment when used with label\n label && (helperText ? \"mt-1\" : \"mt-0.5\"),\n )}\n >\n <input\n ref={inputRef}\n type=\"checkbox\"\n name={name}\n disabled={disabled}\n aria-hidden\n tabIndex={-1}\n onChange={() => {}}\n className=\"pointer-events-none absolute size-px overflow-hidden opacity-0\"\n style={{ clip: \"rect(0,0,0,0)\" }}\n />\n <CheckboxPrimitive.Root\n id={id}\n disabled={disabled}\n aria-describedby={helperTextId}\n data-testid=\"checkbox\"\n {...props}\n onCheckedChange={handleCheckedChange}\n className={cn(\n // Base styles\n \"flex items-center justify-center rounded-2xs border\",\n BOX_SIZE_CLASS[boxSize],\n \"transition-[border-color,background-color,color,box-shadow] duration-150\",\n // Default state\n \"border-content-primary bg-transparent text-transparent\",\n // Checked state\n \"data-[state=checked]:border-content-primary data-[state=checked]:bg-content-primary data-[state=checked]:text-content-primary-inverted\",\n // Indeterminate state\n \"data-[state=indeterminate]:border-content-primary data-[state=indeterminate]:bg-content-primary data-[state=indeterminate]:text-content-primary-inverted\",\n // Hover & active state (inset, like the focus ring, so overflow containers can't clip it)\n \"hover:inset-ring-2 hover:inset-ring-brand-primary-default group-hover:inset-ring-2 group-hover:inset-ring-brand-primary-default\",\n \"not-disabled:active:inset-ring-2 not-disabled:active:inset-ring-brand-primary-default\",\n // Focus state (drops the hover ring, which would otherwise paint over the focus ring)\n \"focus-visible:inset-ring-0 focus-visible:shadow-focus-ring focus-visible:outline-none\",\n // Disabled state\n \"disabled:inset-ring-0 disabled:cursor-not-allowed disabled:border-neutral-alphas-600 disabled:group-hover:inset-ring-0\",\n \"disabled:data-[state=checked]:border-neutral-alphas-600 disabled:data-[state=checked]:bg-neutral-alphas-600 disabled:data-[state=checked]:text-content-tertiary\",\n !hasLabel && className,\n )}\n >\n <CheckboxPrimitive.Indicator\n forceMount\n className={cn(\n \"flex items-center justify-center text-content-primary-inverted\",\n INDICATOR_SIZE_CLASS[boxSize],\n \"data-[state=unchecked]:invisible\",\n )}\n >\n {props.checked === \"indeterminate\" ? <MinusIcon /> : <CheckIcon />}\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n </span>\n );\n\n if (!hasLabel) {\n return checkboxElement;\n }\n\n return (\n <div\n className={cn(\n \"inline-flex flex-col gap-0.5\",\n disabled && \"is-disabled cursor-not-allowed\",\n className,\n )}\n >\n <div className=\"group inline-flex items-start gap-2\">\n {checkboxElement}\n {label && (\n <label\n htmlFor={id}\n className={cn(\n \"cursor-pointer select-none text-content-primary\",\n \"group-has-disabled:cursor-not-allowed group-has-disabled:text-content-tertiary\",\n useSmallLabelTypography\n ? \"typography-body-small-14px-semibold\"\n : \"typography-body-default-16px-semibold\",\n )}\n >\n {label}\n </label>\n )}\n </div>\n {helperText && (\n <span\n id={helperTextId}\n className={cn(\n \"ml-7 text-content-secondary\",\n \"in-[.is-disabled]:cursor-not-allowed in-[.is-disabled]:text-content-tertiary\",\n useSmallLabelTypography\n ? \"typography-description-12px-regular\"\n : \"typography-body-small-14px-regular\",\n )}\n >\n {helperText}\n </span>\n )}\n </div>\n );\n },\n);\n\nCheckbox.displayName = \"Checkbox\";\n"],"names":["React","jsxs","cn","jsx","CheckboxPrimitive","MinusIcon","CheckIcon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,MAAM,iBAA8C;AAAA,EAClD,MAAM;AAAA,EACN,MAAM;AACR;AAEA,MAAM,uBAAoD;AAAA,EACxD,MAAM;AAAA,EACN,MAAM;AACR;AA0BO,MAAM,WAAWA,iBAAM;AAAA,EAC5B,CAAC,EAAE,WAAW,OAAO,MAAM,OAAO,YAAY,UAAU,MAAM,GAAG,MAAA,GAAS,QAAQ;AAChF,UAAM,KAAKA,iBAAM,MAAA;AACjB,UAAM,eAAe,aAAa,GAAG,EAAE,YAAY;AACnD,UAAM,WAAW,QAAQ,SAAS,UAAU;AAC5C,UAAM,UAAuB,SAAS,OAAO,OAAO;AACpD,UAAM,0BAA0B,SAAS;AAEzC,QACE,QAAQ,IAAI,aAAa,gBACzB,CAAC,SACD,CAAC,MAAM,YAAY,KACnB,CAAC,MAAM,iBAAiB,GACxB;AACA,cAAQ;AAAA,QACN;AAAA,MAAA;AAAA,IAEJ;AAGA,UAAM,WAAWA,iBAAM,OAAyB,IAAI;AACpDA,qBAAM,oBAAoB,KAAK,MAAM,SAAS,OAA2B;AAEzE,UAAM,sBAAsB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kBAAA;AAAA,kBAGD,gBAAM,YAAY,iDAAmBG,UAAAA,WAAA,EAAU,mCAAMC,UAAAA,WAAA,CAAA,CAAU;AAAA,gBAAA;AAAA,cAAA;AAAA,YAClE;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAIJ,QAAI,CAAC,UAAU;AACb,aAAO;AAAA,IACT;AAEA,WACEL,2BAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAWC,GAAAA;AAAAA,UACT;AAAA,UACA,YAAY;AAAA,UACZ;AAAA,QAAA;AAAA,QAGF,UAAA;AAAA,UAAAD,2BAAAA,KAAC,OAAA,EAAI,WAAU,uCACZ,UAAA;AAAA,YAAA;AAAA,YACA,SACCE,2BAAAA;AAAAA,cAAC;AAAA,cAAA;AAAA,gBACC,SAAS;AAAA,gBACT,WAAWD,GAAAA;AAAAA,kBACT;AAAA,kBACA;AAAA,kBACA,0BACI,wCACA;AAAA,gBAAA;AAAA,gBAGL,UAAA;AAAA,cAAA;AAAA,YAAA;AAAA,UACH,GAEJ;AAAA,UACC,cACCC,2BAAAA;AAAAA,YAAC;AAAA,YAAA;AAAA,cACC,IAAI;AAAA,cACJ,WAAWD,GAAAA;AAAAA,gBACT;AAAA,gBACA;AAAA,gBACA,0BACI,wCACA;AAAA,cAAA;AAAA,cAGL,UAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACH;AAAA,MAAA;AAAA,IAAA;AAAA,EAIR;AACF;AAEA,SAAS,cAAc;;"}
@@ -0,0 +1,74 @@
1
+ "use client";
2
+ "use strict";
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
+ const jsxRuntime = require("react/jsx-runtime");
5
+ const React = require("react");
6
+ const BaseIcon = require("./BaseIcon.cjs");
7
+ function _interopNamespaceDefault(e) {
8
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
9
+ if (e) {
10
+ for (const k in e) {
11
+ if (k !== "default") {
12
+ const d = Object.getOwnPropertyDescriptor(e, k);
13
+ Object.defineProperty(n, k, d.get ? d : {
14
+ enumerable: true,
15
+ get: () => e[k]
16
+ });
17
+ }
18
+ }
19
+ }
20
+ n.default = e;
21
+ return Object.freeze(n);
22
+ }
23
+ const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
24
+ const VARIANTS = {
25
+ 16: {
26
+ outlined: [
27
+ {
28
+ d: "M8 14.834c-1.02 0-2.013-.22-2.933-.66a.8.8 0 0 0-.387-.054l-1.807.434c-.46.113-.88.013-1.166-.267-.28-.28-.38-.707-.267-1.167l.433-1.8c.02-.08 0-.28-.053-.386a6.85 6.85 0 0 1-.567-4.08c.46-2.834 2.754-5.134 5.587-5.6 2.227-.367 4.407.326 5.987 1.906s2.273 3.76 1.906 5.987c-.466 2.84-2.586 5.02-5.4 5.553A6.5 6.5 0 0 1 8 14.834m-3.233-1.72c.246 0 .52.053.733.16a5.86 5.86 0 0 0 3.653.453c2.4-.453 4.207-2.313 4.6-4.733.314-1.907-.28-3.767-1.626-5.114-1.347-1.346-3.214-1.94-5.12-1.626-2.414.393-4.367 2.36-4.76 4.773a5.9 5.9 0 0 0 .486 3.487c.147.306.194.74.12 1.053l-.433 1.8c-.033.147-.007.213 0 .22s.073.04.22 0l1.807-.433c.093-.027.206-.04.32-.04"
29
+ },
30
+ {
31
+ d: "M11.627 7.14a.5.5 0 0 1-.467-.327 3.4 3.4 0 0 0-1.94-1.96.497.497 0 0 1-.287-.646c.1-.26.387-.387.647-.287a4.4 4.4 0 0 1 2.52 2.54.5.5 0 0 1-.473.68"
32
+ }
33
+ ],
34
+ filled: [
35
+ {
36
+ d: "M6.873 1.426c-2.766.454-5 2.687-5.446 5.454a6.7 6.7 0 0 0 .553 3.986c.093.2.14.54.087.76l-.454 1.894c-.153.633.234 1.02.867.866.66-.153 1.44-.346 1.9-.453a1.3 1.3 0 0 1 .753.087 6.7 6.7 0 0 0 4.174.52c2.753-.52 4.813-2.647 5.266-5.414a6.674 6.674 0 0 0-7.7-7.7m4.927 5.68a.4.4 0 0 1-.173.034.49.49 0 0 1-.467-.32 3.4 3.4 0 0 0-1.947-1.967.51.51 0 0 1-.286-.647.51.51 0 0 1 .646-.286 4.4 4.4 0 0 1 2.52 2.546.49.49 0 0 1-.293.64"
37
+ }
38
+ ]
39
+ },
40
+ 24: {
41
+ outlined: [
42
+ {
43
+ d: "M12 22.25c-1.53 0-3.02-.33-4.4-.99-.16-.07-.46-.11-.58-.08l-2.71.65c-.69.17-1.32.02-1.75-.4-.42-.42-.57-1.06-.4-1.75l.65-2.7c.03-.12 0-.42-.08-.58-.9-1.89-1.2-4.01-.85-6.12.69-4.25 4.13-7.7 8.38-8.4 3.34-.55 6.61.49 8.98 2.86s3.41 5.64 2.86 8.98c-.7 4.26-3.88 7.53-8.1 8.33-.67.14-1.34.2-2 .2m-4.85-2.58c.37 0 .78.08 1.1.24 1.69.81 3.59 1.04 5.48.68 3.6-.68 6.31-3.47 6.9-7.1.47-2.86-.42-5.65-2.44-7.67s-4.82-2.91-7.68-2.44c-3.62.59-6.55 3.54-7.14 7.16-.29 1.81-.04 3.62.73 5.23.22.46.29 1.11.18 1.58l-.65 2.7c-.05.22-.01.32 0 .33s.11.06.33 0l2.71-.65c.14-.04.31-.06.48-.06"
44
+ },
45
+ {
46
+ d: "M17.44 10.71c-.3 0-.59-.19-.7-.49a5.08 5.08 0 0 0-2.91-2.94.746.746 0 0 1-.43-.97c.15-.39.58-.58.97-.43a6.6 6.6 0 0 1 3.78 3.81.75.75 0 0 1-.44.97c-.09.04-.18.05-.27.05"
47
+ }
48
+ ],
49
+ filled: [
50
+ {
51
+ d: "M10.31 2.14c-4.15.68-7.5 4.03-8.17 8.18-.35 2.16-.01 4.21.83 5.98.14.3.21.81.13 1.14l-.68 2.84c-.23.95.35 1.53 1.3 1.3.99-.23 2.16-.52 2.85-.68.33-.08.83-.01 1.13.13 1.85.88 4.01 1.21 6.26.78 4.13-.78 7.22-3.97 7.9-8.12A10.01 10.01 0 0 0 10.31 2.14m7.39 8.52c-.08.04-.17.05-.26.05-.31 0-.59-.18-.7-.48a5.1 5.1 0 0 0-2.92-2.95.763.763 0 0 1-.43-.97c.15-.38.59-.57.97-.43a6.6 6.6 0 0 1 3.78 3.82c.15.39-.05.82-.44.96"
52
+ }
53
+ ]
54
+ },
55
+ 32: {
56
+ outlined: [
57
+ {
58
+ d: "M16 29.667c-2.04 0-4.026-.44-5.866-1.32-.214-.093-.614-.146-.774-.107l-3.613.867c-.92.227-1.76.027-2.333-.533-.56-.56-.76-1.413-.534-2.334l.867-3.6c.04-.16 0-.56-.107-.773-1.2-2.52-1.6-5.347-1.133-8.16.92-5.666 5.507-10.266 11.173-11.2 4.454-.733 8.814.654 11.974 3.814s4.546 7.52 3.813 11.973c-.933 5.68-5.173 10.04-10.8 11.107-.893.186-1.787.266-2.667.266m-6.466-3.44c.493 0 1.04.107 1.466.32 2.254 1.08 4.787 1.387 7.307.907 4.8-.907 8.413-4.627 9.2-9.467.627-3.813-.56-7.533-3.253-10.226s-6.427-3.88-10.24-3.254c-4.827.787-8.734 4.72-9.52 9.547-.387 2.413-.054 4.827.973 6.973.293.613.387 1.48.24 2.107l-.867 3.6c-.066.293-.013.427 0 .44.014.013.147.08.44 0l3.614-.867c.186-.053.413-.08.64-.08"
59
+ },
60
+ {
61
+ d: "M23.253 14.28c-.4 0-.787-.253-.933-.653a6.77 6.77 0 0 0-3.88-3.92.994.994 0 0 1-.573-1.293.994.994 0 0 1 1.293-.573 8.8 8.8 0 0 1 5.04 5.08 1 1 0 0 1-.587 1.293.9.9 0 0 1-.36.067"
62
+ }
63
+ ],
64
+ filled: [
65
+ {
66
+ d: "M13.747 2.853c-5.534.906-10 5.373-10.894 10.906-.466 2.88-.013 5.614 1.107 7.974.187.4.28 1.08.173 1.52l-.906 3.786c-.307 1.267.466 2.04 1.733 1.734 1.32-.307 2.88-.694 3.8-.907.44-.107 1.107-.013 1.507.173 2.466 1.174 5.346 1.614 8.346 1.04 5.507-1.04 9.627-5.293 10.534-10.826a13.348 13.348 0 0 0-15.4-15.4m9.853 11.36a.8.8 0 0 1-.347.066.98.98 0 0 1-.933-.64 6.78 6.78 0 0 0-3.893-3.933c-.507-.2-.76-.773-.574-1.293.2-.507.787-.76 1.294-.574a8.8 8.8 0 0 1 5.04 5.094.98.98 0 0 1-.587 1.28"
67
+ }
68
+ ]
69
+ }
70
+ };
71
+ const CommentIcon = React__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(BaseIcon.BaseIcon, { ref, variants: VARIANTS, ...props }));
72
+ CommentIcon.displayName = "CommentIcon";
73
+ exports.CommentIcon = CommentIcon;
74
+ //# sourceMappingURL=CommentIcon.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommentIcon.cjs","sources":["../../../../src/components/Icons/CommentIcon.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: \"M8 14.834c-1.02 0-2.013-.22-2.933-.66a.8.8 0 0 0-.387-.054l-1.807.434c-.46.113-.88.013-1.166-.267-.28-.28-.38-.707-.267-1.167l.433-1.8c.02-.08 0-.28-.053-.386a6.85 6.85 0 0 1-.567-4.08c.46-2.834 2.754-5.134 5.587-5.6 2.227-.367 4.407.326 5.987 1.906s2.273 3.76 1.906 5.987c-.466 2.84-2.586 5.02-5.4 5.553A6.5 6.5 0 0 1 8 14.834m-3.233-1.72c.246 0 .52.053.733.16a5.86 5.86 0 0 0 3.653.453c2.4-.453 4.207-2.313 4.6-4.733.314-1.907-.28-3.767-1.626-5.114-1.347-1.346-3.214-1.94-5.12-1.626-2.414.393-4.367 2.36-4.76 4.773a5.9 5.9 0 0 0 .486 3.487c.147.306.194.74.12 1.053l-.433 1.8c-.033.147-.007.213 0 .22s.073.04.22 0l1.807-.433c.093-.027.206-.04.32-.04\",\n },\n {\n d: \"M11.627 7.14a.5.5 0 0 1-.467-.327 3.4 3.4 0 0 0-1.94-1.96.497.497 0 0 1-.287-.646c.1-.26.387-.387.647-.287a4.4 4.4 0 0 1 2.52 2.54.5.5 0 0 1-.473.68\",\n },\n ],\n filled: [\n {\n d: \"M6.873 1.426c-2.766.454-5 2.687-5.446 5.454a6.7 6.7 0 0 0 .553 3.986c.093.2.14.54.087.76l-.454 1.894c-.153.633.234 1.02.867.866.66-.153 1.44-.346 1.9-.453a1.3 1.3 0 0 1 .753.087 6.7 6.7 0 0 0 4.174.52c2.753-.52 4.813-2.647 5.266-5.414a6.674 6.674 0 0 0-7.7-7.7m4.927 5.68a.4.4 0 0 1-.173.034.49.49 0 0 1-.467-.32 3.4 3.4 0 0 0-1.947-1.967.51.51 0 0 1-.286-.647.51.51 0 0 1 .646-.286 4.4 4.4 0 0 1 2.52 2.546.49.49 0 0 1-.293.64\",\n },\n ],\n },\n 24: {\n outlined: [\n {\n d: \"M12 22.25c-1.53 0-3.02-.33-4.4-.99-.16-.07-.46-.11-.58-.08l-2.71.65c-.69.17-1.32.02-1.75-.4-.42-.42-.57-1.06-.4-1.75l.65-2.7c.03-.12 0-.42-.08-.58-.9-1.89-1.2-4.01-.85-6.12.69-4.25 4.13-7.7 8.38-8.4 3.34-.55 6.61.49 8.98 2.86s3.41 5.64 2.86 8.98c-.7 4.26-3.88 7.53-8.1 8.33-.67.14-1.34.2-2 .2m-4.85-2.58c.37 0 .78.08 1.1.24 1.69.81 3.59 1.04 5.48.68 3.6-.68 6.31-3.47 6.9-7.1.47-2.86-.42-5.65-2.44-7.67s-4.82-2.91-7.68-2.44c-3.62.59-6.55 3.54-7.14 7.16-.29 1.81-.04 3.62.73 5.23.22.46.29 1.11.18 1.58l-.65 2.7c-.05.22-.01.32 0 .33s.11.06.33 0l2.71-.65c.14-.04.31-.06.48-.06\",\n },\n {\n d: \"M17.44 10.71c-.3 0-.59-.19-.7-.49a5.08 5.08 0 0 0-2.91-2.94.746.746 0 0 1-.43-.97c.15-.39.58-.58.97-.43a6.6 6.6 0 0 1 3.78 3.81.75.75 0 0 1-.44.97c-.09.04-.18.05-.27.05\",\n },\n ],\n filled: [\n {\n d: \"M10.31 2.14c-4.15.68-7.5 4.03-8.17 8.18-.35 2.16-.01 4.21.83 5.98.14.3.21.81.13 1.14l-.68 2.84c-.23.95.35 1.53 1.3 1.3.99-.23 2.16-.52 2.85-.68.33-.08.83-.01 1.13.13 1.85.88 4.01 1.21 6.26.78 4.13-.78 7.22-3.97 7.9-8.12A10.01 10.01 0 0 0 10.31 2.14m7.39 8.52c-.08.04-.17.05-.26.05-.31 0-.59-.18-.7-.48a5.1 5.1 0 0 0-2.92-2.95.763.763 0 0 1-.43-.97c.15-.38.59-.57.97-.43a6.6 6.6 0 0 1 3.78 3.82c.15.39-.05.82-.44.96\",\n },\n ],\n },\n 32: {\n outlined: [\n {\n d: \"M16 29.667c-2.04 0-4.026-.44-5.866-1.32-.214-.093-.614-.146-.774-.107l-3.613.867c-.92.227-1.76.027-2.333-.533-.56-.56-.76-1.413-.534-2.334l.867-3.6c.04-.16 0-.56-.107-.773-1.2-2.52-1.6-5.347-1.133-8.16.92-5.666 5.507-10.266 11.173-11.2 4.454-.733 8.814.654 11.974 3.814s4.546 7.52 3.813 11.973c-.933 5.68-5.173 10.04-10.8 11.107-.893.186-1.787.266-2.667.266m-6.466-3.44c.493 0 1.04.107 1.466.32 2.254 1.08 4.787 1.387 7.307.907 4.8-.907 8.413-4.627 9.2-9.467.627-3.813-.56-7.533-3.253-10.226s-6.427-3.88-10.24-3.254c-4.827.787-8.734 4.72-9.52 9.547-.387 2.413-.054 4.827.973 6.973.293.613.387 1.48.24 2.107l-.867 3.6c-.066.293-.013.427 0 .44.014.013.147.08.44 0l3.614-.867c.186-.053.413-.08.64-.08\",\n },\n {\n d: \"M23.253 14.28c-.4 0-.787-.253-.933-.653a6.77 6.77 0 0 0-3.88-3.92.994.994 0 0 1-.573-1.293.994.994 0 0 1 1.293-.573 8.8 8.8 0 0 1 5.04 5.08 1 1 0 0 1-.587 1.293.9.9 0 0 1-.36.067\",\n },\n ],\n filled: [\n {\n d: \"M13.747 2.853c-5.534.906-10 5.373-10.894 10.906-.466 2.88-.013 5.614 1.107 7.974.187.4.28 1.08.173 1.52l-.906 3.786c-.307 1.267.466 2.04 1.733 1.734 1.32-.307 2.88-.694 3.8-.907.44-.107 1.107-.013 1.507.173 2.466 1.174 5.346 1.614 8.346 1.04 5.507-1.04 9.627-5.293 10.534-10.826a13.348 13.348 0 0 0-15.4-15.4m9.853 11.36a.8.8 0 0 1-.347.066.98.98 0 0 1-.933-.64 6.78 6.78 0 0 0-3.893-3.933c-.507-.2-.76-.773-.574-1.293.2-.507.787-.76 1.294-.574a8.8 8.8 0 0 1 5.04 5.094.98.98 0 0 1-.587 1.28\",\n },\n ],\n },\n};\n\n/** Props for {@link CommentIcon}. See {@link BaseIconProps} for the shared shape. */\nexport type CommentIconProps = BaseIconProps;\n\n/**\n * Comment icon. Renders at sizes 16, 24, or 32 px with outlined and filled variants.\n *\n * @example\n * ```tsx\n * <CommentIcon size={24} filled />\n * ```\n */\nexport const CommentIcon = React.forwardRef<SVGSVGElement, CommentIconProps>((props, ref) => (\n <BaseIcon ref={ref} variants={VARIANTS} {...props} />\n));\n\nCommentIcon.displayName = \"CommentIcon\";\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,cAAcA,iBAAM,WAA4C,CAAC,OAAO,QACnFC,2BAAAA,IAACC,SAAAA,UAAA,EAAS,KAAU,UAAU,UAAW,GAAG,OAAO,CACpD;AAED,YAAY,cAAc;;"}
@@ -86,6 +86,7 @@ const CloseIcon = require("./components/Icons/CloseIcon.cjs");
86
86
  const CodeIcon = require("./components/Icons/CodeIcon.cjs");
87
87
  const CogIcon = require("./components/Icons/CogIcon.cjs");
88
88
  const CoinIcon = require("./components/Icons/CoinIcon.cjs");
89
+ const CommentIcon = require("./components/Icons/CommentIcon.cjs");
89
90
  const CompassIcon = require("./components/Icons/CompassIcon.cjs");
90
91
  const CopyIcon = require("./components/Icons/CopyIcon.cjs");
91
92
  const CrossCircleIcon = require("./components/Icons/CrossCircleIcon.cjs");
@@ -407,6 +408,7 @@ exports.CloseIcon = CloseIcon.CloseIcon;
407
408
  exports.CodeIcon = CodeIcon.CodeIcon;
408
409
  exports.CogIcon = CogIcon.CogIcon;
409
410
  exports.CoinIcon = CoinIcon.CoinIcon;
411
+ exports.CommentIcon = CommentIcon.CommentIcon;
410
412
  exports.CompassIcon = CompassIcon.CompassIcon;
411
413
  exports.CopyIcon = CopyIcon.CopyIcon;
412
414
  exports.CrossCircleIcon = CrossCircleIcon.CrossCircleIcon;
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -80,13 +80,13 @@ const Checkbox = React.forwardRef(
80
80
  "data-[state=checked]:border-content-primary data-[state=checked]:bg-content-primary data-[state=checked]:text-content-primary-inverted",
81
81
  // Indeterminate state
82
82
  "data-[state=indeterminate]:border-content-primary data-[state=indeterminate]:bg-content-primary data-[state=indeterminate]:text-content-primary-inverted",
83
- // Hover & active state
84
- "hover:ring-2 hover:ring-brand-primary-default group-hover:ring-2 group-hover:ring-brand-primary-default",
85
- "not-disabled:active:ring-2 not-disabled:active:ring-brand-primary-default",
86
- // Focus state
87
- "focus-visible:shadow-focus-ring focus-visible:outline-none",
83
+ // Hover & active state (inset, like the focus ring, so overflow containers can't clip it)
84
+ "hover:inset-ring-2 hover:inset-ring-brand-primary-default group-hover:inset-ring-2 group-hover:inset-ring-brand-primary-default",
85
+ "not-disabled:active:inset-ring-2 not-disabled:active:inset-ring-brand-primary-default",
86
+ // Focus state (drops the hover ring, which would otherwise paint over the focus ring)
87
+ "focus-visible:inset-ring-0 focus-visible:shadow-focus-ring focus-visible:outline-none",
88
88
  // Disabled state
89
- "disabled:cursor-not-allowed disabled:border-neutral-alphas-600 disabled:ring-0 disabled:group-hover:ring-0",
89
+ "disabled:inset-ring-0 disabled:cursor-not-allowed disabled:border-neutral-alphas-600 disabled:group-hover:inset-ring-0",
90
90
  "disabled:data-[state=checked]:border-neutral-alphas-600 disabled:data-[state=checked]:bg-neutral-alphas-600 disabled:data-[state=checked]:text-content-tertiary",
91
91
  !hasLabel && className
92
92
  ),
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.mjs","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"sourcesContent":["import * as CheckboxPrimitive from \"@radix-ui/react-checkbox\";\nimport * as React from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport { CheckIcon } from \"../Icons/CheckIcon\";\nimport { MinusIcon } from \"../Icons/MinusIcon\";\n\n/**\n * Size variant for the checkbox.\n *\n * - `\"20\"` (default) — 20px box, body-lg label.\n * - `\"16\"` — 16px box, body-md label, used in compact contexts like data tables.\n * - `\"default\"` and `\"small\"` are legacy aliases retained for back-compat\n * (`\"default\"` → `\"20\"`, `\"small\"` → `\"20\"` with smaller label typography).\n */\nexport type CheckboxSize =\n | \"20\"\n | \"16\"\n /** @deprecated Use `\"20\"` instead. */\n | \"default\"\n /** @deprecated Use `\"20\"` (the smaller-typography variant remains via `\"small\"`). */\n | \"small\";\n\nconst BOX_SIZE_CLASS: Record<\"20\" | \"16\", string> = {\n \"20\": \"size-5\",\n \"16\": \"size-4\",\n};\n\nconst INDICATOR_SIZE_CLASS: Record<\"20\" | \"16\", string> = {\n \"20\": \"size-3\",\n \"16\": \"size-2.5\",\n};\n\nexport interface CheckboxProps\n extends Omit<React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, \"asChild\"> {\n /** Size variant. @default \"20\" */\n size?: CheckboxSize;\n /** Label text displayed next to the checkbox. */\n label?: string;\n /** Descriptive text displayed below the label. */\n helperText?: string;\n}\n\n/**\n * A checkbox input with optional label and helper text. Supports checked,\n * unchecked, and indeterminate states.\n *\n * The ref type is intentionally `HTMLInputElement` (not `HTMLButtonElement`) for\n * form-library compatibility — libraries like react-hook-form call `register()`\n * which expects an `HTMLInputElement` ref. A hidden `<input>` is synced to the\n * Radix checkbox state via `useImperativeHandle`.\n *\n * @example\n * ```tsx\n * <Checkbox label=\"Accept terms\" helperText=\"Required to continue\" />\n * ```\n */\nexport const Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(\n ({ className, size = \"20\", label, helperText, disabled, name, ...props }, ref) => {\n const id = React.useId();\n const helperTextId = helperText ? `${id}-helper` : undefined;\n const hasLabel = Boolean(label || helperText);\n const boxSize: \"20\" | \"16\" = size === \"16\" ? \"16\" : \"20\";\n const useSmallLabelTypography = size === \"small\";\n\n if (\n process.env.NODE_ENV !== \"production\" &&\n !label &&\n !props[\"aria-label\"] &&\n !props[\"aria-labelledby\"]\n ) {\n console.warn(\n \"Checkbox: No accessible name provided. Add a `label`, `aria-label`, or `aria-labelledby` prop so screen readers can announce this checkbox.\",\n );\n }\n\n // Hidden input for form library compatibility (e.g. react-hook-form register)\n const inputRef = React.useRef<HTMLInputElement>(null);\n React.useImperativeHandle(ref, () => inputRef.current as HTMLInputElement);\n\n const handleCheckedChange = (value: boolean | \"indeterminate\") => {\n const checked = value === true;\n if (inputRef.current) {\n inputRef.current.checked = checked;\n inputRef.current.dispatchEvent(new Event(\"change\", { bubbles: true }));\n }\n props.onCheckedChange?.(value);\n };\n\n const checkboxElement = (\n <span\n className={cn(\n \"relative inline-flex shrink-0\",\n BOX_SIZE_CLASS[boxSize],\n // Alignment when used with label\n label && (helperText ? \"mt-1\" : \"mt-0.5\"),\n )}\n >\n <input\n ref={inputRef}\n type=\"checkbox\"\n name={name}\n disabled={disabled}\n aria-hidden\n tabIndex={-1}\n onChange={() => {}}\n className=\"pointer-events-none absolute size-px overflow-hidden opacity-0\"\n style={{ clip: \"rect(0,0,0,0)\" }}\n />\n <CheckboxPrimitive.Root\n id={id}\n disabled={disabled}\n aria-describedby={helperTextId}\n data-testid=\"checkbox\"\n {...props}\n onCheckedChange={handleCheckedChange}\n className={cn(\n // Base styles\n \"flex items-center justify-center rounded-2xs border\",\n BOX_SIZE_CLASS[boxSize],\n \"transition-[border-color,background-color,color,box-shadow] duration-150\",\n // Default state\n \"border-content-primary bg-transparent text-transparent\",\n // Checked state\n \"data-[state=checked]:border-content-primary data-[state=checked]:bg-content-primary data-[state=checked]:text-content-primary-inverted\",\n // Indeterminate state\n \"data-[state=indeterminate]:border-content-primary data-[state=indeterminate]:bg-content-primary data-[state=indeterminate]:text-content-primary-inverted\",\n // Hover & active state\n \"hover:ring-2 hover:ring-brand-primary-default group-hover:ring-2 group-hover:ring-brand-primary-default\",\n \"not-disabled:active:ring-2 not-disabled:active:ring-brand-primary-default\",\n // Focus state\n \"focus-visible:shadow-focus-ring focus-visible:outline-none\",\n // Disabled state\n \"disabled:cursor-not-allowed disabled:border-neutral-alphas-600 disabled:ring-0 disabled:group-hover:ring-0\",\n \"disabled:data-[state=checked]:border-neutral-alphas-600 disabled:data-[state=checked]:bg-neutral-alphas-600 disabled:data-[state=checked]:text-content-tertiary\",\n !hasLabel && className,\n )}\n >\n <CheckboxPrimitive.Indicator\n forceMount\n className={cn(\n \"flex items-center justify-center text-content-primary-inverted\",\n INDICATOR_SIZE_CLASS[boxSize],\n \"data-[state=unchecked]:invisible\",\n )}\n >\n {props.checked === \"indeterminate\" ? <MinusIcon /> : <CheckIcon />}\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n </span>\n );\n\n if (!hasLabel) {\n return checkboxElement;\n }\n\n return (\n <div\n className={cn(\n \"inline-flex flex-col gap-0.5\",\n disabled && \"is-disabled cursor-not-allowed\",\n className,\n )}\n >\n <div className=\"group inline-flex items-start gap-2\">\n {checkboxElement}\n {label && (\n <label\n htmlFor={id}\n className={cn(\n \"cursor-pointer select-none text-content-primary\",\n \"group-has-disabled:cursor-not-allowed group-has-disabled:text-content-tertiary\",\n useSmallLabelTypography\n ? \"typography-body-small-14px-semibold\"\n : \"typography-body-default-16px-semibold\",\n )}\n >\n {label}\n </label>\n )}\n </div>\n {helperText && (\n <span\n id={helperTextId}\n className={cn(\n \"ml-7 text-content-secondary\",\n \"in-[.is-disabled]:cursor-not-allowed in-[.is-disabled]:text-content-tertiary\",\n useSmallLabelTypography\n ? \"typography-description-12px-regular\"\n : \"typography-body-small-14px-regular\",\n )}\n >\n {helperText}\n </span>\n )}\n </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A;AAAA,UACH,GAEJ;AAAA,UACC,cACC;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,IAAI;AAAA,cACJ,WAAW;AAAA,gBACT;AAAA,gBACA;AAAA,gBACA,0BACI,wCACA;AAAA,cAAA;AAAA,cAGL,UAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACH;AAAA,MAAA;AAAA,IAAA;AAAA,EAIR;AACF;AAEA,SAAS,cAAc;"}
1
+ {"version":3,"file":"Checkbox.mjs","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"sourcesContent":["import * as CheckboxPrimitive from \"@radix-ui/react-checkbox\";\nimport * as React from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport { CheckIcon } from \"../Icons/CheckIcon\";\nimport { MinusIcon } from \"../Icons/MinusIcon\";\n\n/**\n * Size variant for the checkbox.\n *\n * - `\"20\"` (default) — 20px box, body-lg label.\n * - `\"16\"` — 16px box, body-md label, used in compact contexts like data tables.\n * - `\"default\"` and `\"small\"` are legacy aliases retained for back-compat\n * (`\"default\"` → `\"20\"`, `\"small\"` → `\"20\"` with smaller label typography).\n */\nexport type CheckboxSize =\n | \"20\"\n | \"16\"\n /** @deprecated Use `\"20\"` instead. */\n | \"default\"\n /** @deprecated Use `\"20\"` (the smaller-typography variant remains via `\"small\"`). */\n | \"small\";\n\nconst BOX_SIZE_CLASS: Record<\"20\" | \"16\", string> = {\n \"20\": \"size-5\",\n \"16\": \"size-4\",\n};\n\nconst INDICATOR_SIZE_CLASS: Record<\"20\" | \"16\", string> = {\n \"20\": \"size-3\",\n \"16\": \"size-2.5\",\n};\n\nexport interface CheckboxProps\n extends Omit<React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, \"asChild\"> {\n /** Size variant. @default \"20\" */\n size?: CheckboxSize;\n /** Label text displayed next to the checkbox. */\n label?: string;\n /** Descriptive text displayed below the label. */\n helperText?: string;\n}\n\n/**\n * A checkbox input with optional label and helper text. Supports checked,\n * unchecked, and indeterminate states.\n *\n * The ref type is intentionally `HTMLInputElement` (not `HTMLButtonElement`) for\n * form-library compatibility — libraries like react-hook-form call `register()`\n * which expects an `HTMLInputElement` ref. A hidden `<input>` is synced to the\n * Radix checkbox state via `useImperativeHandle`.\n *\n * @example\n * ```tsx\n * <Checkbox label=\"Accept terms\" helperText=\"Required to continue\" />\n * ```\n */\nexport const Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(\n ({ className, size = \"20\", label, helperText, disabled, name, ...props }, ref) => {\n const id = React.useId();\n const helperTextId = helperText ? `${id}-helper` : undefined;\n const hasLabel = Boolean(label || helperText);\n const boxSize: \"20\" | \"16\" = size === \"16\" ? \"16\" : \"20\";\n const useSmallLabelTypography = size === \"small\";\n\n if (\n process.env.NODE_ENV !== \"production\" &&\n !label &&\n !props[\"aria-label\"] &&\n !props[\"aria-labelledby\"]\n ) {\n console.warn(\n \"Checkbox: No accessible name provided. Add a `label`, `aria-label`, or `aria-labelledby` prop so screen readers can announce this checkbox.\",\n );\n }\n\n // Hidden input for form library compatibility (e.g. react-hook-form register)\n const inputRef = React.useRef<HTMLInputElement>(null);\n React.useImperativeHandle(ref, () => inputRef.current as HTMLInputElement);\n\n const handleCheckedChange = (value: boolean | \"indeterminate\") => {\n const checked = value === true;\n if (inputRef.current) {\n inputRef.current.checked = checked;\n inputRef.current.dispatchEvent(new Event(\"change\", { bubbles: true }));\n }\n props.onCheckedChange?.(value);\n };\n\n const checkboxElement = (\n <span\n className={cn(\n \"relative inline-flex shrink-0\",\n BOX_SIZE_CLASS[boxSize],\n // Alignment when used with label\n label && (helperText ? \"mt-1\" : \"mt-0.5\"),\n )}\n >\n <input\n ref={inputRef}\n type=\"checkbox\"\n name={name}\n disabled={disabled}\n aria-hidden\n tabIndex={-1}\n onChange={() => {}}\n className=\"pointer-events-none absolute size-px overflow-hidden opacity-0\"\n style={{ clip: \"rect(0,0,0,0)\" }}\n />\n <CheckboxPrimitive.Root\n id={id}\n disabled={disabled}\n aria-describedby={helperTextId}\n data-testid=\"checkbox\"\n {...props}\n onCheckedChange={handleCheckedChange}\n className={cn(\n // Base styles\n \"flex items-center justify-center rounded-2xs border\",\n BOX_SIZE_CLASS[boxSize],\n \"transition-[border-color,background-color,color,box-shadow] duration-150\",\n // Default state\n \"border-content-primary bg-transparent text-transparent\",\n // Checked state\n \"data-[state=checked]:border-content-primary data-[state=checked]:bg-content-primary data-[state=checked]:text-content-primary-inverted\",\n // Indeterminate state\n \"data-[state=indeterminate]:border-content-primary data-[state=indeterminate]:bg-content-primary data-[state=indeterminate]:text-content-primary-inverted\",\n // Hover & active state (inset, like the focus ring, so overflow containers can't clip it)\n \"hover:inset-ring-2 hover:inset-ring-brand-primary-default group-hover:inset-ring-2 group-hover:inset-ring-brand-primary-default\",\n \"not-disabled:active:inset-ring-2 not-disabled:active:inset-ring-brand-primary-default\",\n // Focus state (drops the hover ring, which would otherwise paint over the focus ring)\n \"focus-visible:inset-ring-0 focus-visible:shadow-focus-ring focus-visible:outline-none\",\n // Disabled state\n \"disabled:inset-ring-0 disabled:cursor-not-allowed disabled:border-neutral-alphas-600 disabled:group-hover:inset-ring-0\",\n \"disabled:data-[state=checked]:border-neutral-alphas-600 disabled:data-[state=checked]:bg-neutral-alphas-600 disabled:data-[state=checked]:text-content-tertiary\",\n !hasLabel && className,\n )}\n >\n <CheckboxPrimitive.Indicator\n forceMount\n className={cn(\n \"flex items-center justify-center text-content-primary-inverted\",\n INDICATOR_SIZE_CLASS[boxSize],\n \"data-[state=unchecked]:invisible\",\n )}\n >\n {props.checked === \"indeterminate\" ? <MinusIcon /> : <CheckIcon />}\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n </span>\n );\n\n if (!hasLabel) {\n return checkboxElement;\n }\n\n return (\n <div\n className={cn(\n \"inline-flex flex-col gap-0.5\",\n disabled && \"is-disabled cursor-not-allowed\",\n className,\n )}\n >\n <div className=\"group inline-flex items-start gap-2\">\n {checkboxElement}\n {label && (\n <label\n htmlFor={id}\n className={cn(\n \"cursor-pointer select-none text-content-primary\",\n \"group-has-disabled:cursor-not-allowed group-has-disabled:text-content-tertiary\",\n useSmallLabelTypography\n ? \"typography-body-small-14px-semibold\"\n : \"typography-body-default-16px-semibold\",\n )}\n >\n {label}\n </label>\n )}\n </div>\n {helperText && (\n <span\n id={helperTextId}\n className={cn(\n \"ml-7 text-content-secondary\",\n \"in-[.is-disabled]:cursor-not-allowed in-[.is-disabled]:text-content-tertiary\",\n useSmallLabelTypography\n ? \"typography-description-12px-regular\"\n : \"typography-body-small-14px-regular\",\n )}\n >\n {helperText}\n </span>\n )}\n </div>\n );\n },\n);\n\nCheckbox.displayName = \"Checkbox\";\n"],"names":[],"mappings":";;;;;;;AAsBA,MAAM,iBAA8C;AAAA,EAClD,MAAM;AAAA,EACN,MAAM;AACR;AAEA,MAAM,uBAAoD;AAAA,EACxD,MAAM;AAAA,EACN,MAAM;AACR;AA0BO,MAAM,WAAW,MAAM;AAAA,EAC5B,CAAC,EAAE,WAAW,OAAO,MAAM,OAAO,YAAY,UAAU,MAAM,GAAG,MAAA,GAAS,QAAQ;AAChF,UAAM,KAAK,MAAM,MAAA;AACjB,UAAM,eAAe,aAAa,GAAG,EAAE,YAAY;AACnD,UAAM,WAAW,QAAQ,SAAS,UAAU;AAC5C,UAAM,UAAuB,SAAS,OAAO,OAAO;AACpD,UAAM,0BAA0B,SAAS;AAEzC,QACE,QAAQ,IAAI,aAAa,gBACzB,CAAC,SACD,CAAC,MAAM,YAAY,KACnB,CAAC,MAAM,iBAAiB,GACxB;AACA,cAAQ;AAAA,QACN;AAAA,MAAA;AAAA,IAEJ;AAGA,UAAM,WAAW,MAAM,OAAyB,IAAI;AACpD,UAAM,oBAAoB,KAAK,MAAM,SAAS,OAA2B;AAEzE,UAAM,sBAAsB,CAAC,UAAqC;AAChE,YAAM,UAAU,UAAU;AAC1B,UAAI,SAAS,SAAS;AACpB,iBAAS,QAAQ,UAAU;AAC3B,iBAAS,QAAQ,cAAc,IAAI,MAAM,UAAU,E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;AAEA,WACE;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAW;AAAA,UACT;AAAA,UACA,YAAY;AAAA,UACZ;AAAA,QAAA;AAAA,QAGF,UAAA;AAAA,UAAA,qBAAC,OAAA,EAAI,WAAU,uCACZ,UAAA;AAAA,YAAA;AAAA,YACA,SACC;AAAA,cAAC;AAAA,cAAA;AAAA,gBACC,SAAS;AAAA,gBACT,WAAW;AAAA,kBACT;AAAA,kBACA;AAAA,kBACA,0BACI,wCACA;AAAA,gBAAA;AAAA,gBAGL,UAAA;AAAA,cAAA;AAAA,YAAA;AAAA,UACH,GAEJ;AAAA,UACC,cACC;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,IAAI;AAAA,cACJ,WAAW;AAAA,gBACT;AAAA,gBACA;AAAA,gBACA,0BACI,wCACA;AAAA,cAAA;AAAA,cAGL,UAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACH;AAAA,MAAA;AAAA,IAAA;AAAA,EAIR;AACF;AAEA,SAAS,cAAc;"}
@@ -0,0 +1,57 @@
1
+ "use client";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import * as React from "react";
4
+ import { BaseIcon } from "./BaseIcon.mjs";
5
+ const VARIANTS = {
6
+ 16: {
7
+ outlined: [
8
+ {
9
+ d: "M8 14.834c-1.02 0-2.013-.22-2.933-.66a.8.8 0 0 0-.387-.054l-1.807.434c-.46.113-.88.013-1.166-.267-.28-.28-.38-.707-.267-1.167l.433-1.8c.02-.08 0-.28-.053-.386a6.85 6.85 0 0 1-.567-4.08c.46-2.834 2.754-5.134 5.587-5.6 2.227-.367 4.407.326 5.987 1.906s2.273 3.76 1.906 5.987c-.466 2.84-2.586 5.02-5.4 5.553A6.5 6.5 0 0 1 8 14.834m-3.233-1.72c.246 0 .52.053.733.16a5.86 5.86 0 0 0 3.653.453c2.4-.453 4.207-2.313 4.6-4.733.314-1.907-.28-3.767-1.626-5.114-1.347-1.346-3.214-1.94-5.12-1.626-2.414.393-4.367 2.36-4.76 4.773a5.9 5.9 0 0 0 .486 3.487c.147.306.194.74.12 1.053l-.433 1.8c-.033.147-.007.213 0 .22s.073.04.22 0l1.807-.433c.093-.027.206-.04.32-.04"
10
+ },
11
+ {
12
+ d: "M11.627 7.14a.5.5 0 0 1-.467-.327 3.4 3.4 0 0 0-1.94-1.96.497.497 0 0 1-.287-.646c.1-.26.387-.387.647-.287a4.4 4.4 0 0 1 2.52 2.54.5.5 0 0 1-.473.68"
13
+ }
14
+ ],
15
+ filled: [
16
+ {
17
+ d: "M6.873 1.426c-2.766.454-5 2.687-5.446 5.454a6.7 6.7 0 0 0 .553 3.986c.093.2.14.54.087.76l-.454 1.894c-.153.633.234 1.02.867.866.66-.153 1.44-.346 1.9-.453a1.3 1.3 0 0 1 .753.087 6.7 6.7 0 0 0 4.174.52c2.753-.52 4.813-2.647 5.266-5.414a6.674 6.674 0 0 0-7.7-7.7m4.927 5.68a.4.4 0 0 1-.173.034.49.49 0 0 1-.467-.32 3.4 3.4 0 0 0-1.947-1.967.51.51 0 0 1-.286-.647.51.51 0 0 1 .646-.286 4.4 4.4 0 0 1 2.52 2.546.49.49 0 0 1-.293.64"
18
+ }
19
+ ]
20
+ },
21
+ 24: {
22
+ outlined: [
23
+ {
24
+ d: "M12 22.25c-1.53 0-3.02-.33-4.4-.99-.16-.07-.46-.11-.58-.08l-2.71.65c-.69.17-1.32.02-1.75-.4-.42-.42-.57-1.06-.4-1.75l.65-2.7c.03-.12 0-.42-.08-.58-.9-1.89-1.2-4.01-.85-6.12.69-4.25 4.13-7.7 8.38-8.4 3.34-.55 6.61.49 8.98 2.86s3.41 5.64 2.86 8.98c-.7 4.26-3.88 7.53-8.1 8.33-.67.14-1.34.2-2 .2m-4.85-2.58c.37 0 .78.08 1.1.24 1.69.81 3.59 1.04 5.48.68 3.6-.68 6.31-3.47 6.9-7.1.47-2.86-.42-5.65-2.44-7.67s-4.82-2.91-7.68-2.44c-3.62.59-6.55 3.54-7.14 7.16-.29 1.81-.04 3.62.73 5.23.22.46.29 1.11.18 1.58l-.65 2.7c-.05.22-.01.32 0 .33s.11.06.33 0l2.71-.65c.14-.04.31-.06.48-.06"
25
+ },
26
+ {
27
+ d: "M17.44 10.71c-.3 0-.59-.19-.7-.49a5.08 5.08 0 0 0-2.91-2.94.746.746 0 0 1-.43-.97c.15-.39.58-.58.97-.43a6.6 6.6 0 0 1 3.78 3.81.75.75 0 0 1-.44.97c-.09.04-.18.05-.27.05"
28
+ }
29
+ ],
30
+ filled: [
31
+ {
32
+ d: "M10.31 2.14c-4.15.68-7.5 4.03-8.17 8.18-.35 2.16-.01 4.21.83 5.98.14.3.21.81.13 1.14l-.68 2.84c-.23.95.35 1.53 1.3 1.3.99-.23 2.16-.52 2.85-.68.33-.08.83-.01 1.13.13 1.85.88 4.01 1.21 6.26.78 4.13-.78 7.22-3.97 7.9-8.12A10.01 10.01 0 0 0 10.31 2.14m7.39 8.52c-.08.04-.17.05-.26.05-.31 0-.59-.18-.7-.48a5.1 5.1 0 0 0-2.92-2.95.763.763 0 0 1-.43-.97c.15-.38.59-.57.97-.43a6.6 6.6 0 0 1 3.78 3.82c.15.39-.05.82-.44.96"
33
+ }
34
+ ]
35
+ },
36
+ 32: {
37
+ outlined: [
38
+ {
39
+ d: "M16 29.667c-2.04 0-4.026-.44-5.866-1.32-.214-.093-.614-.146-.774-.107l-3.613.867c-.92.227-1.76.027-2.333-.533-.56-.56-.76-1.413-.534-2.334l.867-3.6c.04-.16 0-.56-.107-.773-1.2-2.52-1.6-5.347-1.133-8.16.92-5.666 5.507-10.266 11.173-11.2 4.454-.733 8.814.654 11.974 3.814s4.546 7.52 3.813 11.973c-.933 5.68-5.173 10.04-10.8 11.107-.893.186-1.787.266-2.667.266m-6.466-3.44c.493 0 1.04.107 1.466.32 2.254 1.08 4.787 1.387 7.307.907 4.8-.907 8.413-4.627 9.2-9.467.627-3.813-.56-7.533-3.253-10.226s-6.427-3.88-10.24-3.254c-4.827.787-8.734 4.72-9.52 9.547-.387 2.413-.054 4.827.973 6.973.293.613.387 1.48.24 2.107l-.867 3.6c-.066.293-.013.427 0 .44.014.013.147.08.44 0l3.614-.867c.186-.053.413-.08.64-.08"
40
+ },
41
+ {
42
+ d: "M23.253 14.28c-.4 0-.787-.253-.933-.653a6.77 6.77 0 0 0-3.88-3.92.994.994 0 0 1-.573-1.293.994.994 0 0 1 1.293-.573 8.8 8.8 0 0 1 5.04 5.08 1 1 0 0 1-.587 1.293.9.9 0 0 1-.36.067"
43
+ }
44
+ ],
45
+ filled: [
46
+ {
47
+ d: "M13.747 2.853c-5.534.906-10 5.373-10.894 10.906-.466 2.88-.013 5.614 1.107 7.974.187.4.28 1.08.173 1.52l-.906 3.786c-.307 1.267.466 2.04 1.733 1.734 1.32-.307 2.88-.694 3.8-.907.44-.107 1.107-.013 1.507.173 2.466 1.174 5.346 1.614 8.346 1.04 5.507-1.04 9.627-5.293 10.534-10.826a13.348 13.348 0 0 0-15.4-15.4m9.853 11.36a.8.8 0 0 1-.347.066.98.98 0 0 1-.933-.64 6.78 6.78 0 0 0-3.893-3.933c-.507-.2-.76-.773-.574-1.293.2-.507.787-.76 1.294-.574a8.8 8.8 0 0 1 5.04 5.094.98.98 0 0 1-.587 1.28"
48
+ }
49
+ ]
50
+ }
51
+ };
52
+ const CommentIcon = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(BaseIcon, { ref, variants: VARIANTS, ...props }));
53
+ CommentIcon.displayName = "CommentIcon";
54
+ export {
55
+ CommentIcon
56
+ };
57
+ //# sourceMappingURL=CommentIcon.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommentIcon.mjs","sources":["../../../src/components/Icons/CommentIcon.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: \"M8 14.834c-1.02 0-2.013-.22-2.933-.66a.8.8 0 0 0-.387-.054l-1.807.434c-.46.113-.88.013-1.166-.267-.28-.28-.38-.707-.267-1.167l.433-1.8c.02-.08 0-.28-.053-.386a6.85 6.85 0 0 1-.567-4.08c.46-2.834 2.754-5.134 5.587-5.6 2.227-.367 4.407.326 5.987 1.906s2.273 3.76 1.906 5.987c-.466 2.84-2.586 5.02-5.4 5.553A6.5 6.5 0 0 1 8 14.834m-3.233-1.72c.246 0 .52.053.733.16a5.86 5.86 0 0 0 3.653.453c2.4-.453 4.207-2.313 4.6-4.733.314-1.907-.28-3.767-1.626-5.114-1.347-1.346-3.214-1.94-5.12-1.626-2.414.393-4.367 2.36-4.76 4.773a5.9 5.9 0 0 0 .486 3.487c.147.306.194.74.12 1.053l-.433 1.8c-.033.147-.007.213 0 .22s.073.04.22 0l1.807-.433c.093-.027.206-.04.32-.04\",\n },\n {\n d: \"M11.627 7.14a.5.5 0 0 1-.467-.327 3.4 3.4 0 0 0-1.94-1.96.497.497 0 0 1-.287-.646c.1-.26.387-.387.647-.287a4.4 4.4 0 0 1 2.52 2.54.5.5 0 0 1-.473.68\",\n },\n ],\n filled: [\n {\n d: \"M6.873 1.426c-2.766.454-5 2.687-5.446 5.454a6.7 6.7 0 0 0 .553 3.986c.093.2.14.54.087.76l-.454 1.894c-.153.633.234 1.02.867.866.66-.153 1.44-.346 1.9-.453a1.3 1.3 0 0 1 .753.087 6.7 6.7 0 0 0 4.174.52c2.753-.52 4.813-2.647 5.266-5.414a6.674 6.674 0 0 0-7.7-7.7m4.927 5.68a.4.4 0 0 1-.173.034.49.49 0 0 1-.467-.32 3.4 3.4 0 0 0-1.947-1.967.51.51 0 0 1-.286-.647.51.51 0 0 1 .646-.286 4.4 4.4 0 0 1 2.52 2.546.49.49 0 0 1-.293.64\",\n },\n ],\n },\n 24: {\n outlined: [\n {\n d: \"M12 22.25c-1.53 0-3.02-.33-4.4-.99-.16-.07-.46-.11-.58-.08l-2.71.65c-.69.17-1.32.02-1.75-.4-.42-.42-.57-1.06-.4-1.75l.65-2.7c.03-.12 0-.42-.08-.58-.9-1.89-1.2-4.01-.85-6.12.69-4.25 4.13-7.7 8.38-8.4 3.34-.55 6.61.49 8.98 2.86s3.41 5.64 2.86 8.98c-.7 4.26-3.88 7.53-8.1 8.33-.67.14-1.34.2-2 .2m-4.85-2.58c.37 0 .78.08 1.1.24 1.69.81 3.59 1.04 5.48.68 3.6-.68 6.31-3.47 6.9-7.1.47-2.86-.42-5.65-2.44-7.67s-4.82-2.91-7.68-2.44c-3.62.59-6.55 3.54-7.14 7.16-.29 1.81-.04 3.62.73 5.23.22.46.29 1.11.18 1.58l-.65 2.7c-.05.22-.01.32 0 .33s.11.06.33 0l2.71-.65c.14-.04.31-.06.48-.06\",\n },\n {\n d: \"M17.44 10.71c-.3 0-.59-.19-.7-.49a5.08 5.08 0 0 0-2.91-2.94.746.746 0 0 1-.43-.97c.15-.39.58-.58.97-.43a6.6 6.6 0 0 1 3.78 3.81.75.75 0 0 1-.44.97c-.09.04-.18.05-.27.05\",\n },\n ],\n filled: [\n {\n d: \"M10.31 2.14c-4.15.68-7.5 4.03-8.17 8.18-.35 2.16-.01 4.21.83 5.98.14.3.21.81.13 1.14l-.68 2.84c-.23.95.35 1.53 1.3 1.3.99-.23 2.16-.52 2.85-.68.33-.08.83-.01 1.13.13 1.85.88 4.01 1.21 6.26.78 4.13-.78 7.22-3.97 7.9-8.12A10.01 10.01 0 0 0 10.31 2.14m7.39 8.52c-.08.04-.17.05-.26.05-.31 0-.59-.18-.7-.48a5.1 5.1 0 0 0-2.92-2.95.763.763 0 0 1-.43-.97c.15-.38.59-.57.97-.43a6.6 6.6 0 0 1 3.78 3.82c.15.39-.05.82-.44.96\",\n },\n ],\n },\n 32: {\n outlined: [\n {\n d: \"M16 29.667c-2.04 0-4.026-.44-5.866-1.32-.214-.093-.614-.146-.774-.107l-3.613.867c-.92.227-1.76.027-2.333-.533-.56-.56-.76-1.413-.534-2.334l.867-3.6c.04-.16 0-.56-.107-.773-1.2-2.52-1.6-5.347-1.133-8.16.92-5.666 5.507-10.266 11.173-11.2 4.454-.733 8.814.654 11.974 3.814s4.546 7.52 3.813 11.973c-.933 5.68-5.173 10.04-10.8 11.107-.893.186-1.787.266-2.667.266m-6.466-3.44c.493 0 1.04.107 1.466.32 2.254 1.08 4.787 1.387 7.307.907 4.8-.907 8.413-4.627 9.2-9.467.627-3.813-.56-7.533-3.253-10.226s-6.427-3.88-10.24-3.254c-4.827.787-8.734 4.72-9.52 9.547-.387 2.413-.054 4.827.973 6.973.293.613.387 1.48.24 2.107l-.867 3.6c-.066.293-.013.427 0 .44.014.013.147.08.44 0l3.614-.867c.186-.053.413-.08.64-.08\",\n },\n {\n d: \"M23.253 14.28c-.4 0-.787-.253-.933-.653a6.77 6.77 0 0 0-3.88-3.92.994.994 0 0 1-.573-1.293.994.994 0 0 1 1.293-.573 8.8 8.8 0 0 1 5.04 5.08 1 1 0 0 1-.587 1.293.9.9 0 0 1-.36.067\",\n },\n ],\n filled: [\n {\n d: \"M13.747 2.853c-5.534.906-10 5.373-10.894 10.906-.466 2.88-.013 5.614 1.107 7.974.187.4.28 1.08.173 1.52l-.906 3.786c-.307 1.267.466 2.04 1.733 1.734 1.32-.307 2.88-.694 3.8-.907.44-.107 1.107-.013 1.507.173 2.466 1.174 5.346 1.614 8.346 1.04 5.507-1.04 9.627-5.293 10.534-10.826a13.348 13.348 0 0 0-15.4-15.4m9.853 11.36a.8.8 0 0 1-.347.066.98.98 0 0 1-.933-.64 6.78 6.78 0 0 0-3.893-3.933c-.507-.2-.76-.773-.574-1.293.2-.507.787-.76 1.294-.574a8.8 8.8 0 0 1 5.04 5.094.98.98 0 0 1-.587 1.28\",\n },\n ],\n },\n};\n\n/** Props for {@link CommentIcon}. See {@link BaseIconProps} for the shared shape. */\nexport type CommentIconProps = BaseIconProps;\n\n/**\n * Comment icon. Renders at sizes 16, 24, or 32 px with outlined and filled variants.\n *\n * @example\n * ```tsx\n * <CommentIcon size={24} filled />\n * ```\n */\nexport const CommentIcon = React.forwardRef<SVGSVGElement, CommentIconProps>((props, ref) => (\n <BaseIcon ref={ref} variants={VARIANTS} {...props} />\n));\n\nCommentIcon.displayName = \"CommentIcon\";\n"],"names":[],"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,cAAc,MAAM,WAA4C,CAAC,OAAO,QACnF,oBAAC,UAAA,EAAS,KAAU,UAAU,UAAW,GAAG,OAAO,CACpD;AAED,YAAY,cAAc;"}
package/dist/index.d.ts CHANGED
@@ -2109,6 +2109,19 @@ export declare const CoinIcon: React_2.ForwardRefExoticComponent<BaseIconProps &
2109
2109
  /** Props for {@link CoinIcon}. See {@link BaseIconProps} for the shared shape. */
2110
2110
  export declare type CoinIconProps = BaseIconProps;
2111
2111
 
2112
+ /**
2113
+ * Comment icon. Renders at sizes 16, 24, or 32 px with outlined and filled variants.
2114
+ *
2115
+ * @example
2116
+ * ```tsx
2117
+ * <CommentIcon size={24} filled />
2118
+ * ```
2119
+ */
2120
+ export declare const CommentIcon: React_2.ForwardRefExoticComponent<BaseIconProps & React_2.RefAttributes<SVGSVGElement>>;
2121
+
2122
+ /** Props for {@link CommentIcon}. See {@link BaseIconProps} for the shared shape. */
2123
+ export declare type CommentIconProps = BaseIconProps;
2124
+
2112
2125
  /**
2113
2126
  * Compass icon. Renders at sizes 16, 24, or 32 px with outlined and filled variants.
2114
2127
  *
package/dist/index.mjs CHANGED
@@ -84,6 +84,7 @@ import { CloseIcon } from "./components/Icons/CloseIcon.mjs";
84
84
  import { CodeIcon } from "./components/Icons/CodeIcon.mjs";
85
85
  import { CogIcon } from "./components/Icons/CogIcon.mjs";
86
86
  import { CoinIcon } from "./components/Icons/CoinIcon.mjs";
87
+ import { CommentIcon } from "./components/Icons/CommentIcon.mjs";
87
88
  import { CompassIcon } from "./components/Icons/CompassIcon.mjs";
88
89
  import { CopyIcon } from "./components/Icons/CopyIcon.mjs";
89
90
  import { CrossCircleIcon } from "./components/Icons/CrossCircleIcon.mjs";
@@ -366,6 +367,7 @@ export {
366
367
  CodeIcon,
367
368
  CogIcon,
368
369
  CoinIcon,
370
+ CommentIcon,
369
371
  CompassIcon,
370
372
  CopyIcon,
371
373
  Count,
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fanvue/ui",
3
- "version": "3.40.1",
3
+ "version": "3.41.0",
4
4
  "description": "React component library built with Tailwind CSS for Fanvue ecosystem",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org",