@aviala-design/spiral 3.0.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-XVABQUTX.js → chunk-G7RVHJIV.js} +2 -1
- package/dist/{chunk-XVABQUTX.js.map → chunk-G7RVHJIV.js.map} +1 -1
- package/dist/{chunk-CXGFGGGI.cjs → chunk-Q6UMVIGM.cjs} +2 -1
- package/dist/chunk-Q6UMVIGM.cjs.map +1 -0
- package/dist/component-catalog.json +533 -0
- package/dist/component-changelogs.json +767 -3
- package/dist/form.cjs +8 -8
- package/dist/form.js +1 -1
- package/dist/index.cjs +2370 -1068
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +250 -77
- package/dist/index.d.ts +250 -77
- package/dist/index.js +2353 -1051
- package/dist/index.js.map +1 -1
- package/dist/props.json +631 -31
- package/dist/styles.css +22470 -735
- package/package.json +8 -3
- package/dist/chunk-CXGFGGGI.cjs.map +0 -1
|
@@ -126,6 +126,7 @@ var Typeface = forwardRef2(
|
|
|
126
126
|
"span",
|
|
127
127
|
{
|
|
128
128
|
className: "aviala-typeface__line",
|
|
129
|
+
"data-line": index,
|
|
129
130
|
children: /* @__PURE__ */ jsx2(Typography, { level: line.level, content: lineContent, tone, children: value })
|
|
130
131
|
},
|
|
131
132
|
`${line.level}-${index}`
|
|
@@ -171,4 +172,4 @@ export {
|
|
|
171
172
|
Typeface,
|
|
172
173
|
TypefacePair
|
|
173
174
|
};
|
|
174
|
-
//# sourceMappingURL=chunk-
|
|
175
|
+
//# sourceMappingURL=chunk-G7RVHJIV.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/lib/utils.ts","../src/components/form-field-context.ts","../src/components/typography.tsx","../src/components/typeface.tsx"],"sourcesContent":["import { type ClassValue, clsx } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n","import { createContext, useContext } from \"react\";\n\n/**\n * Kept free of `react-hook-form` imports so the controls that consume it\n * (Input, Textarea, Select, …) stay usable from the main entry without the\n * peer dependency installed. The RHF-aware pieces live in `form-field.tsx`,\n * which is only reachable through `@aviala-design/spiral/form`.\n */\ntype FormFieldControlContextValue = {\n /** True when FormField is showing an error tip (layout `error` or RHF message). */\n invalid: boolean;\n};\n\nexport const FormFieldControlContext =\n createContext<FormFieldControlContextValue | null>(null);\n\n/**\n * Resolve a control `error` prop against the surrounding FormField.\n * Explicit `error={true|false}` wins; otherwise inherits FormField tip invalidity.\n */\nexport function useResolvedControlError(errorProp?: boolean): boolean {\n const ctx = useContext(FormFieldControlContext);\n return errorProp ?? ctx?.invalid ?? false;\n}\n","import { Slot } from \"@radix-ui/react-slot\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { createElement, forwardRef, type HTMLAttributes } from \"react\";\nimport { cn } from \"../lib/utils\";\n\n/** Figma Components → System Composition → Typography (128:85) */\nexport type TypographyLevel =\n | \"display\"\n | \"headline1\"\n | \"headline2\"\n | \"title\"\n | \"subtitle\"\n | \"text\"\n | \"caption\";\n\nexport type TypographyContent = \"text\" | \"number\";\nexport type TypographyTone = \"default\" | \"white\";\n\nexport const typographyVariants = cva(\"aviala-typography\", {\n variants: {\n level: {\n display: \"aviala-typography--display\",\n headline1: \"aviala-typography--headline1\",\n headline2: \"aviala-typography--headline2\",\n title: \"aviala-typography--title\",\n subtitle: \"aviala-typography--subtitle\",\n text: \"aviala-typography--text\",\n caption: \"aviala-typography--caption\",\n },\n },\n defaultVariants: {\n level: \"text\",\n },\n});\n\nexport type TypographyProps = HTMLAttributes<HTMLElement> &\n VariantProps<typeof typographyVariants> & {\n /** Figma `Content` — text vs numeric styling */\n content?: TypographyContent;\n /** Figma `White` — light text on dark surfaces */\n tone?: TypographyTone;\n asChild?: boolean;\n as?:\n \"p\" | \"span\" | \"div\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"label\";\n };\n\nexport const Typography = forwardRef<HTMLSpanElement, TypographyProps>(\n (\n {\n className,\n level = \"text\",\n content = \"text\",\n tone = \"default\",\n as: Tag = \"span\",\n asChild = false,\n ...props\n },\n ref\n ) => {\n const hostProps = {\n ...props,\n ref,\n className: cn(typographyVariants({ level }), className),\n \"data-content\": content,\n \"data-tone\": tone === \"white\" ? \"white\" : undefined,\n };\n\n if (asChild) return <Slot {...hostProps} />;\n\n // JSX resolves a union `as` tag to the intersection of every member's props,\n // which no single element ref can satisfy. createElement keeps the ref typed\n // as HTMLElement.\n return createElement(Tag, hostProps);\n }\n);\nTypography.displayName = \"Typography\";\n","import { forwardRef, type HTMLAttributes, type ReactNode } from \"react\";\nimport { cn } from \"../lib/utils\";\nimport {\n Typography,\n type TypographyContent,\n type TypographyLevel,\n type TypographyTone,\n} from \"./typography\";\n\n/** Figma Components → System Composition → Typeface (527:56311) */\nexport type TypefaceContent =\n | \"allCustom\"\n | \"textCaption\"\n | \"textCaptionSubtitle\"\n | \"textTitle\"\n | \"textHeadline2\"\n | \"textHeadline1\";\n\ntype TypefaceLine = {\n level: TypographyLevel;\n content?: TypographyContent;\n tone?: TypographyTone;\n children: ReactNode;\n};\n\nconst typefaceLayouts: Record<TypefaceContent, TypefaceLine[]> = {\n allCustom: [\n { level: \"text\", children: null },\n { level: \"caption\", children: null },\n ],\n textCaption: [\n { level: \"text\", children: null },\n { level: \"caption\", children: null },\n ],\n textCaptionSubtitle: [\n { level: \"subtitle\", children: null },\n { level: \"text\", children: null },\n { level: \"caption\", children: null },\n ],\n textTitle: [\n { level: \"title\", children: null },\n { level: \"text\", children: null },\n ],\n textHeadline2: [\n { level: \"headline2\", children: null },\n { level: \"text\", children: null },\n ],\n textHeadline1: [\n { level: \"headline1\", children: null },\n { level: \"text\", children: null },\n ],\n};\n\nexport type TypefaceProps = Omit<HTMLAttributes<HTMLDivElement>, \"content\"> & {\n /** Figma `Content` preset */\n content?: TypefaceContent;\n /** Primary line — overrides preset first line */\n primary?: ReactNode;\n /** Secondary line — overrides preset second line */\n secondary?: ReactNode;\n /** Tertiary line — used by `textCaptionSubtitle` */\n tertiary?: ReactNode;\n /** Per-line content mode for numeric text */\n primaryContent?: TypographyContent;\n secondaryContent?: TypographyContent;\n tertiaryContent?: TypographyContent;\n tone?: TypographyTone;\n};\n\nexport const Typeface = forwardRef<HTMLDivElement, TypefaceProps>(\n (\n {\n className,\n content = \"allCustom\",\n primary,\n secondary,\n tertiary,\n primaryContent = \"text\",\n secondaryContent = \"text\",\n tertiaryContent = \"text\",\n tone = \"default\",\n children,\n ...props\n },\n ref\n ) => {\n const layout = typefaceLayouts[content];\n const values = resolveTypefaceValues(\n primary,\n secondary,\n tertiary,\n children\n );\n\n return (\n <div\n ref={ref}\n className={cn(\"aviala-typeface\", className)}\n data-content={content}\n {...props}\n >\n {layout.map((line, index) => {\n const value = values[index];\n if (value === undefined || value === null || value === false)\n return null;\n\n const lineContent =\n index === 0\n ? primaryContent\n : index === 1\n ? secondaryContent\n : tertiaryContent;\n\n return (\n <span\n key={`${line.level}-${index}`}\n className=\"aviala-typeface__line\"\n >\n <Typography level={line.level} content={lineContent} tone={tone}>\n {value}\n </Typography>\n </span>\n );\n })}\n </div>\n );\n }\n);\nTypeface.displayName = \"Typeface\";\n\nfunction resolveTypefaceValues(\n primary?: ReactNode,\n secondary?: ReactNode,\n tertiary?: ReactNode,\n children?: ReactNode\n): ReactNode[] {\n if (\n primary !== undefined ||\n secondary !== undefined ||\n tertiary !== undefined\n ) {\n return [primary, secondary, tertiary];\n }\n\n if (children == null || children === false) {\n return [];\n }\n\n if (Array.isArray(children)) {\n return children;\n }\n\n return [children];\n}\n\n/** Convenience helper for two-line label + caption pairs (Radio, Checkbox, etc.) */\nexport type TypefacePairProps = Omit<TypefaceProps, \"content\"> & {\n title: ReactNode;\n description?: ReactNode;\n};\n\nexport const TypefacePair = forwardRef<HTMLDivElement, TypefacePairProps>(\n ({ title, description, ...props }, ref) => (\n <Typeface\n ref={ref}\n content=\"textCaption\"\n primary={title}\n secondary={description}\n {...props}\n />\n )\n);\nTypefacePair.displayName = \"TypefacePair\";\n"],"mappings":";;;AAAA,SAA0B,YAAY;AACtC,SAAS,eAAe;AAEjB,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;;;ACLA,SAAS,eAAe,kBAAkB;AAanC,IAAM,0BACX,cAAmD,IAAI;AAMlD,SAAS,wBAAwB,WAA8B;AACpE,QAAM,MAAM,WAAW,uBAAuB;AAC9C,SAAO,aAAa,KAAK,WAAW;AACtC;;;ACvBA,SAAS,YAAY;AACrB,SAAS,WAA8B;AACvC,SAAS,eAAe,kBAAuC;AAiEvC;AAjDjB,IAAM,qBAAqB,IAAI,qBAAqB;AAAA,EACzD,UAAU;AAAA,IACR,OAAO;AAAA,MACL,SAAS;AAAA,MACT,WAAW;AAAA,MACX,WAAW;AAAA,MACX,OAAO;AAAA,MACP,UAAU;AAAA,MACV,MAAM;AAAA,MACN,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,OAAO;AAAA,EACT;AACF,CAAC;AAaM,IAAM,aAAa;AAAA,EACxB,CACE;AAAA,IACE;AAAA,IACA,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,OAAO;AAAA,IACP,IAAI,MAAM;AAAA,IACV,UAAU;AAAA,IACV,GAAG;AAAA,EACL,GACA,QACG;AACH,UAAM,YAAY;AAAA,MAChB,GAAG;AAAA,MACH;AAAA,MACA,WAAW,GAAG,mBAAmB,EAAE,MAAM,CAAC,GAAG,SAAS;AAAA,MACtD,gBAAgB;AAAA,MAChB,aAAa,SAAS,UAAU,UAAU;AAAA,IAC5C;AAEA,QAAI,QAAS,QAAO,oBAAC,QAAM,GAAG,WAAW;AAKzC,WAAO,cAAc,KAAK,SAAS;AAAA,EACrC;AACF;AACA,WAAW,cAAc;;;AC3EzB,SAAS,cAAAA,mBAAuD;AAsHlD,gBAAAC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AAI,CAAC,MAAM,UAAU;AAC3B,gBAAM,QAAQ,OAAO,KAAK;AAC1B,cAAI,UAAU,UAAa,UAAU,QAAQ,UAAU;AACrD,mBAAO;AAET,gBAAM,cACJ,UAAU,IACN,iBACA,UAAU,IACR,mBACA;AAER,iBACE,gBAAAA;AAAA,YAAC;AAAA;AAAA,cAEC,WAAU;AAAA,cAEV,0BAAAA,KAAC,cAAW,OAAO,KAAK,OAAO,SAAS,aAAa,MAClD,iBACH;AAAA;AAAA,YALK,GAAG,KAAK,KAAK,IAAI,KAAK;AAAA,UAM7B;AAAA,QAEJ,CAAC;AAAA;AAAA,IACH;AAAA,EAEJ;AACF;AACA,SAAS,cAAc;AAEvB,SAAS,sBACP,SACA,WACA,UACA,UACa;AACb,MACE,YAAY,UACZ,cAAc,UACd,aAAa,QACb;AACA,WAAO,CAAC,SAAS,WAAW,QAAQ;AAAA,EACtC;AAEA,MAAI,YAAY,QAAQ,aAAa,OAAO;AAC1C,WAAO,CAAC;AAAA,EACV;AAEA,MAAI,MAAM,QAAQ,QAAQ,GAAG;AAC3B,WAAO;AAAA,EACT;AAEA,SAAO,CAAC,QAAQ;AAClB;AAQO,IAAM,eAAeC;AAAA,EAC1B,CAAC,EAAE,OAAO,aAAa,GAAG,MAAM,GAAG,QACjC,gBAAAD;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,SAAQ;AAAA,MACR,SAAS;AAAA,MACT,WAAW;AAAA,MACV,GAAG;AAAA;AAAA,EACN;AAEJ;AACA,aAAa,cAAc;","names":["forwardRef","jsx","forwardRef"]}
|
|
1
|
+
{"version":3,"sources":["../src/lib/utils.ts","../src/components/form-field-context.ts","../src/components/typography.tsx","../src/components/typeface.tsx"],"sourcesContent":["import { type ClassValue, clsx } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n","import { createContext, useContext } from \"react\";\n\n/**\n * Kept free of `react-hook-form` imports so the controls that consume it\n * (Input, Textarea, Select, …) stay usable from the main entry without the\n * peer dependency installed. The RHF-aware pieces live in `form-field.tsx`,\n * which is only reachable through `@aviala-design/spiral/form`.\n */\ntype FormFieldControlContextValue = {\n /** True when FormField is showing an error tip (layout `error` or RHF message). */\n invalid: boolean;\n};\n\nexport const FormFieldControlContext =\n createContext<FormFieldControlContextValue | null>(null);\n\n/**\n * Resolve a control `error` prop against the surrounding FormField.\n * Explicit `error={true|false}` wins; otherwise inherits FormField tip invalidity.\n */\nexport function useResolvedControlError(errorProp?: boolean): boolean {\n const ctx = useContext(FormFieldControlContext);\n return errorProp ?? ctx?.invalid ?? false;\n}\n","import { Slot } from \"@radix-ui/react-slot\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { createElement, forwardRef, type HTMLAttributes } from \"react\";\nimport { cn } from \"../lib/utils\";\n\n/** Figma Components → System Composition → Typography (128:85) */\nexport type TypographyLevel =\n | \"display\"\n | \"headline1\"\n | \"headline2\"\n | \"title\"\n | \"subtitle\"\n | \"text\"\n | \"caption\";\n\nexport type TypographyContent = \"text\" | \"number\";\nexport type TypographyTone = \"default\" | \"white\";\n\nexport const typographyVariants = cva(\"aviala-typography\", {\n variants: {\n level: {\n display: \"aviala-typography--display\",\n headline1: \"aviala-typography--headline1\",\n headline2: \"aviala-typography--headline2\",\n title: \"aviala-typography--title\",\n subtitle: \"aviala-typography--subtitle\",\n text: \"aviala-typography--text\",\n caption: \"aviala-typography--caption\",\n },\n },\n defaultVariants: {\n level: \"text\",\n },\n});\n\nexport type TypographyProps = HTMLAttributes<HTMLElement> &\n VariantProps<typeof typographyVariants> & {\n /** Figma `Content` — text vs numeric styling */\n content?: TypographyContent;\n /** Figma `White` — light text on dark surfaces */\n tone?: TypographyTone;\n asChild?: boolean;\n as?:\n \"p\" | \"span\" | \"div\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"label\";\n };\n\nexport const Typography = forwardRef<HTMLSpanElement, TypographyProps>(\n (\n {\n className,\n level = \"text\",\n content = \"text\",\n tone = \"default\",\n as: Tag = \"span\",\n asChild = false,\n ...props\n },\n ref\n ) => {\n const hostProps = {\n ...props,\n ref,\n className: cn(typographyVariants({ level }), className),\n \"data-content\": content,\n \"data-tone\": tone === \"white\" ? \"white\" : undefined,\n };\n\n if (asChild) return <Slot {...hostProps} />;\n\n // JSX resolves a union `as` tag to the intersection of every member's props,\n // which no single element ref can satisfy. createElement keeps the ref typed\n // as HTMLElement.\n return createElement(Tag, hostProps);\n }\n);\nTypography.displayName = \"Typography\";\n","import { forwardRef, type HTMLAttributes, type ReactNode } from \"react\";\nimport { cn } from \"../lib/utils\";\nimport {\n Typography,\n type TypographyContent,\n type TypographyLevel,\n type TypographyTone,\n} from \"./typography\";\n\n/** Figma Components → System Composition → Typeface (527:56311) */\nexport type TypefaceContent =\n | \"allCustom\"\n | \"textCaption\"\n | \"textCaptionSubtitle\"\n | \"textTitle\"\n | \"textHeadline2\"\n | \"textHeadline1\";\n\ntype TypefaceLine = {\n level: TypographyLevel;\n content?: TypographyContent;\n tone?: TypographyTone;\n children: ReactNode;\n};\n\nconst typefaceLayouts: Record<TypefaceContent, TypefaceLine[]> = {\n allCustom: [\n { level: \"text\", children: null },\n { level: \"caption\", children: null },\n ],\n textCaption: [\n { level: \"text\", children: null },\n { level: \"caption\", children: null },\n ],\n textCaptionSubtitle: [\n { level: \"subtitle\", children: null },\n { level: \"text\", children: null },\n { level: \"caption\", children: null },\n ],\n textTitle: [\n { level: \"title\", children: null },\n { level: \"text\", children: null },\n ],\n textHeadline2: [\n { level: \"headline2\", children: null },\n { level: \"text\", children: null },\n ],\n textHeadline1: [\n { level: \"headline1\", children: null },\n { level: \"text\", children: null },\n ],\n};\n\nexport type TypefaceProps = Omit<HTMLAttributes<HTMLDivElement>, \"content\"> & {\n /** Figma `Content` preset */\n content?: TypefaceContent;\n /** Primary line — overrides preset first line */\n primary?: ReactNode;\n /** Secondary line — overrides preset second line */\n secondary?: ReactNode;\n /** Tertiary line — used by `textCaptionSubtitle` */\n tertiary?: ReactNode;\n /** Per-line content mode for numeric text */\n primaryContent?: TypographyContent;\n secondaryContent?: TypographyContent;\n tertiaryContent?: TypographyContent;\n tone?: TypographyTone;\n};\n\nexport const Typeface = forwardRef<HTMLDivElement, TypefaceProps>(\n (\n {\n className,\n content = \"allCustom\",\n primary,\n secondary,\n tertiary,\n primaryContent = \"text\",\n secondaryContent = \"text\",\n tertiaryContent = \"text\",\n tone = \"default\",\n children,\n ...props\n },\n ref\n ) => {\n const layout = typefaceLayouts[content];\n const values = resolveTypefaceValues(\n primary,\n secondary,\n tertiary,\n children\n );\n\n return (\n <div\n ref={ref}\n className={cn(\"aviala-typeface\", className)}\n data-content={content}\n {...props}\n >\n {layout.map((line, index) => {\n const value = values[index];\n if (value === undefined || value === null || value === false)\n return null;\n\n const lineContent =\n index === 0\n ? primaryContent\n : index === 1\n ? secondaryContent\n : tertiaryContent;\n\n return (\n <span\n key={`${line.level}-${index}`}\n className=\"aviala-typeface__line\"\n data-line={index}\n >\n <Typography level={line.level} content={lineContent} tone={tone}>\n {value}\n </Typography>\n </span>\n );\n })}\n </div>\n );\n }\n);\nTypeface.displayName = \"Typeface\";\n\nfunction resolveTypefaceValues(\n primary?: ReactNode,\n secondary?: ReactNode,\n tertiary?: ReactNode,\n children?: ReactNode\n): ReactNode[] {\n if (\n primary !== undefined ||\n secondary !== undefined ||\n tertiary !== undefined\n ) {\n return [primary, secondary, tertiary];\n }\n\n if (children == null || children === false) {\n return [];\n }\n\n if (Array.isArray(children)) {\n return children;\n }\n\n return [children];\n}\n\n/** Convenience helper for two-line label + caption pairs (Radio, Checkbox, etc.) */\nexport type TypefacePairProps = Omit<TypefaceProps, \"content\"> & {\n title: ReactNode;\n description?: ReactNode;\n};\n\nexport const TypefacePair = forwardRef<HTMLDivElement, TypefacePairProps>(\n ({ title, description, ...props }, ref) => (\n <Typeface\n ref={ref}\n content=\"textCaption\"\n primary={title}\n secondary={description}\n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AO,KAAK;AAC1B,cAAI,UAAU,UAAa,UAAU,QAAQ,UAAU;AACrD,mBAAO;AAET,gBAAM,cACJ,UAAU,IACN,iBACA,UAAU,IACR,mBACA;AAER,iBACE,gBAAAA;AAAA,YAAC;AAAA;AAAA,cAEC,WAAU;AAAA,cACV,aAAW;AAAA,cAEX,0BAAAA,KAAC,cAAW,OAAO,KAAK,OAAO,SAAS,aAAa,MAClD,iBACH;AAAA;AAAA,YANK,GAAG,KAAK,KAAK,IAAI,KAAK;AAAA,UAO7B;AAAA,QAEJ,CAAC;AAAA;AAAA,IACH;AAAA,EAEJ;AACF;AACA,SAAS,cAAc;AAEvB,SAAS,sBACP,SACA,WACA,UACA,UACa;AACb,MACE,YAAY,UACZ,cAAc,UACd,aAAa,QACb;AACA,WAAO,CAAC,SAAS,WAAW,QAAQ;AAAA,EACtC;AAEA,MAAI,YAAY,QAAQ,aAAa,OAAO;AAC1C,WAAO,CAAC;AAAA,EACV;AAEA,MAAI,MAAM,QAAQ,QAAQ,GAAG;AAC3B,WAAO;AAAA,EACT;AAEA,SAAO,CAAC,QAAQ;AAClB;AAQO,IAAM,eAAeC;AAAA,EAC1B,CAAC,EAAE,OAAO,aAAa,GAAG,MAAM,GAAG,QACjC,gBAAAD;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,SAAQ;AAAA,MACR,SAAS;AAAA,MACT,WAAW;AAAA,MACV,GAAG;AAAA;AAAA,EACN;AAEJ;AACA,aAAa,cAAc;","names":["forwardRef","jsx","forwardRef"]}
|
|
@@ -126,6 +126,7 @@ var Typeface = _react.forwardRef.call(void 0,
|
|
|
126
126
|
"span",
|
|
127
127
|
{
|
|
128
128
|
className: "aviala-typeface__line",
|
|
129
|
+
"data-line": index,
|
|
129
130
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Typography, { level: line.level, content: lineContent, tone, children: value })
|
|
130
131
|
},
|
|
131
132
|
`${line.level}-${index}`
|
|
@@ -171,4 +172,4 @@ TypefacePair.displayName = "TypefacePair";
|
|
|
171
172
|
|
|
172
173
|
|
|
173
174
|
exports.cn = cn; exports.FormFieldControlContext = FormFieldControlContext; exports.useResolvedControlError = useResolvedControlError; exports.typographyVariants = typographyVariants; exports.Typography = Typography; exports.Typeface = Typeface; exports.TypefacePair = TypefacePair;
|
|
174
|
-
//# sourceMappingURL=chunk-
|
|
175
|
+
//# sourceMappingURL=chunk-Q6UMVIGM.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/developer-kit/developer-kit/packages/ui/dist/chunk-Q6UMVIGM.cjs","../src/lib/utils.ts","../src/components/form-field-context.ts","../src/components/typography.tsx","../src/components/typeface.tsx"],"names":["forwardRef","jsx"],"mappings":"AAAA,6rBAAY;AACZ;AACA;ACFA,4BAAsC;AACtC,+CAAwB;AAEjB,SAAS,EAAA,CAAA,GAAM,MAAA,EAAsB;AAC1C,EAAA,OAAO,oCAAA,wBAAQ,MAAW,CAAC,CAAA;AAC7B;ADGA;AACA;AETA,8BAA0C;AAanC,IAAM,wBAAA,EACX,kCAAA,IAAuD,CAAA;AAMlD,SAAS,uBAAA,CAAwB,SAAA,EAA8B;AACpE,EAAA,MAAM,IAAA,EAAM,+BAAA,uBAAkC,CAAA;AAC9C,EAAA,yCAAO,SAAA,0BAAa,GAAA,2BAAK,WAAA,UAAW,OAAA;AACtC;AFPA;AACA;AGjBA,iDAAqB;AACrB,kEAAuC;AACvC;AAiEwB,+CAAA;AAjDjB,IAAM,mBAAA,EAAqB,yCAAA,mBAAI,EAAqB;AAAA,EACzD,QAAA,EAAU;AAAA,IACR,KAAA,EAAO;AAAA,MACL,OAAA,EAAS,4BAAA;AAAA,MACT,SAAA,EAAW,8BAAA;AAAA,MACX,SAAA,EAAW,8BAAA;AAAA,MACX,KAAA,EAAO,0BAAA;AAAA,MACP,QAAA,EAAU,6BAAA;AAAA,MACV,IAAA,EAAM,yBAAA;AAAA,MACN,OAAA,EAAS;AAAA,IACX;AAA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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"/home/runner/work/developer-kit/developer-kit/packages/ui/dist/chunk-Q6UMVIGM.cjs","sourcesContent":[null,"import { type ClassValue, clsx } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n","import { createContext, useContext } from \"react\";\n\n/**\n * Kept free of `react-hook-form` imports so the controls that consume it\n * (Input, Textarea, Select, …) stay usable from the main entry without the\n * peer dependency installed. The RHF-aware pieces live in `form-field.tsx`,\n * which is only reachable through `@aviala-design/spiral/form`.\n */\ntype FormFieldControlContextValue = {\n /** True when FormField is showing an error tip (layout `error` or RHF message). */\n invalid: boolean;\n};\n\nexport const FormFieldControlContext =\n createContext<FormFieldControlContextValue | null>(null);\n\n/**\n * Resolve a control `error` prop against the surrounding FormField.\n * Explicit `error={true|false}` wins; otherwise inherits FormField tip invalidity.\n */\nexport function useResolvedControlError(errorProp?: boolean): boolean {\n const ctx = useContext(FormFieldControlContext);\n return errorProp ?? ctx?.invalid ?? false;\n}\n","import { Slot } from \"@radix-ui/react-slot\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { createElement, forwardRef, type HTMLAttributes } from \"react\";\nimport { cn } from \"../lib/utils\";\n\n/** Figma Components → System Composition → Typography (128:85) */\nexport type TypographyLevel =\n | \"display\"\n | \"headline1\"\n | \"headline2\"\n | \"title\"\n | \"subtitle\"\n | \"text\"\n | \"caption\";\n\nexport type TypographyContent = \"text\" | \"number\";\nexport type TypographyTone = \"default\" | \"white\";\n\nexport const typographyVariants = cva(\"aviala-typography\", {\n variants: {\n level: {\n display: \"aviala-typography--display\",\n headline1: \"aviala-typography--headline1\",\n headline2: \"aviala-typography--headline2\",\n title: \"aviala-typography--title\",\n subtitle: \"aviala-typography--subtitle\",\n text: \"aviala-typography--text\",\n caption: \"aviala-typography--caption\",\n },\n },\n defaultVariants: {\n level: \"text\",\n },\n});\n\nexport type TypographyProps = HTMLAttributes<HTMLElement> &\n VariantProps<typeof typographyVariants> & {\n /** Figma `Content` — text vs numeric styling */\n content?: TypographyContent;\n /** Figma `White` — light text on dark surfaces */\n tone?: TypographyTone;\n asChild?: boolean;\n as?:\n \"p\" | \"span\" | \"div\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"label\";\n };\n\nexport const Typography = forwardRef<HTMLSpanElement, TypographyProps>(\n (\n {\n className,\n level = \"text\",\n content = \"text\",\n tone = \"default\",\n as: Tag = \"span\",\n asChild = false,\n ...props\n },\n ref\n ) => {\n const hostProps = {\n ...props,\n ref,\n className: cn(typographyVariants({ level }), className),\n \"data-content\": content,\n \"data-tone\": tone === \"white\" ? \"white\" : undefined,\n };\n\n if (asChild) return <Slot {...hostProps} />;\n\n // JSX resolves a union `as` tag to the intersection of every member's props,\n // which no single element ref can satisfy. createElement keeps the ref typed\n // as HTMLElement.\n return createElement(Tag, hostProps);\n }\n);\nTypography.displayName = \"Typography\";\n","import { forwardRef, type HTMLAttributes, type ReactNode } from \"react\";\nimport { cn } from \"../lib/utils\";\nimport {\n Typography,\n type TypographyContent,\n type TypographyLevel,\n type TypographyTone,\n} from \"./typography\";\n\n/** Figma Components → System Composition → Typeface (527:56311) */\nexport type TypefaceContent =\n | \"allCustom\"\n | \"textCaption\"\n | \"textCaptionSubtitle\"\n | \"textTitle\"\n | \"textHeadline2\"\n | \"textHeadline1\";\n\ntype TypefaceLine = {\n level: TypographyLevel;\n content?: TypographyContent;\n tone?: TypographyTone;\n children: ReactNode;\n};\n\nconst typefaceLayouts: Record<TypefaceContent, TypefaceLine[]> = {\n allCustom: [\n { level: \"text\", children: null },\n { level: \"caption\", children: null },\n ],\n textCaption: [\n { level: \"text\", children: null },\n { level: \"caption\", children: null },\n ],\n textCaptionSubtitle: [\n { level: \"subtitle\", children: null },\n { level: \"text\", children: null },\n { level: \"caption\", children: null },\n ],\n textTitle: [\n { level: \"title\", children: null },\n { level: \"text\", children: null },\n ],\n textHeadline2: [\n { level: \"headline2\", children: null },\n { level: \"text\", children: null },\n ],\n textHeadline1: [\n { level: \"headline1\", children: null },\n { level: \"text\", children: null },\n ],\n};\n\nexport type TypefaceProps = Omit<HTMLAttributes<HTMLDivElement>, \"content\"> & {\n /** Figma `Content` preset */\n content?: TypefaceContent;\n /** Primary line — overrides preset first line */\n primary?: ReactNode;\n /** Secondary line — overrides preset second line */\n secondary?: ReactNode;\n /** Tertiary line — used by `textCaptionSubtitle` */\n tertiary?: ReactNode;\n /** Per-line content mode for numeric text */\n primaryContent?: TypographyContent;\n secondaryContent?: TypographyContent;\n tertiaryContent?: TypographyContent;\n tone?: TypographyTone;\n};\n\nexport const Typeface = forwardRef<HTMLDivElement, TypefaceProps>(\n (\n {\n className,\n content = \"allCustom\",\n primary,\n secondary,\n tertiary,\n primaryContent = \"text\",\n secondaryContent = \"text\",\n tertiaryContent = \"text\",\n tone = \"default\",\n children,\n ...props\n },\n ref\n ) => {\n const layout = typefaceLayouts[content];\n const values = resolveTypefaceValues(\n primary,\n secondary,\n tertiary,\n children\n );\n\n return (\n <div\n ref={ref}\n className={cn(\"aviala-typeface\", className)}\n data-content={content}\n {...props}\n >\n {layout.map((line, index) => {\n const value = values[index];\n if (value === undefined || value === null || value === false)\n return null;\n\n const lineContent =\n index === 0\n ? primaryContent\n : index === 1\n ? secondaryContent\n : tertiaryContent;\n\n return (\n <span\n key={`${line.level}-${index}`}\n className=\"aviala-typeface__line\"\n data-line={index}\n >\n <Typography level={line.level} content={lineContent} tone={tone}>\n {value}\n </Typography>\n </span>\n );\n })}\n </div>\n );\n }\n);\nTypeface.displayName = \"Typeface\";\n\nfunction resolveTypefaceValues(\n primary?: ReactNode,\n secondary?: ReactNode,\n tertiary?: ReactNode,\n children?: ReactNode\n): ReactNode[] {\n if (\n primary !== undefined ||\n secondary !== undefined ||\n tertiary !== undefined\n ) {\n return [primary, secondary, tertiary];\n }\n\n if (children == null || children === false) {\n return [];\n }\n\n if (Array.isArray(children)) {\n return children;\n }\n\n return [children];\n}\n\n/** Convenience helper for two-line label + caption pairs (Radio, Checkbox, etc.) */\nexport type TypefacePairProps = Omit<TypefaceProps, \"content\"> & {\n title: ReactNode;\n description?: ReactNode;\n};\n\nexport const TypefacePair = forwardRef<HTMLDivElement, TypefacePairProps>(\n ({ title, description, ...props }, ref) => (\n <Typeface\n ref={ref}\n content=\"textCaption\"\n primary={title}\n secondary={description}\n {...props}\n />\n )\n);\nTypefacePair.displayName = \"TypefacePair\";\n"]}
|
|
@@ -0,0 +1,533 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"css": "@aviala-design/spiral/styles.css",
|
|
4
|
+
"notes": "Consumer agents: import css once, wrap with ThemeProvider. See CONSUMER.md / spiral-consume.",
|
|
5
|
+
"components": [
|
|
6
|
+
{
|
|
7
|
+
"name": "InputGroup",
|
|
8
|
+
"exportName": "InputGroup",
|
|
9
|
+
"import": "@aviala-design/spiral",
|
|
10
|
+
"requiresThemeProvider": true,
|
|
11
|
+
"isProvider": false,
|
|
12
|
+
"parts": [
|
|
13
|
+
"InputGroupItem",
|
|
14
|
+
"InputGroupAddon"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "ButtonGroup",
|
|
19
|
+
"exportName": "ButtonGroup",
|
|
20
|
+
"import": "@aviala-design/spiral",
|
|
21
|
+
"requiresThemeProvider": true,
|
|
22
|
+
"isProvider": false,
|
|
23
|
+
"parts": []
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "MultiSelect",
|
|
27
|
+
"exportName": "MultiSelect",
|
|
28
|
+
"import": "@aviala-design/spiral",
|
|
29
|
+
"requiresThemeProvider": true,
|
|
30
|
+
"isProvider": false,
|
|
31
|
+
"parts": []
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "Rate",
|
|
35
|
+
"exportName": "Rate",
|
|
36
|
+
"import": "@aviala-design/spiral",
|
|
37
|
+
"requiresThemeProvider": true,
|
|
38
|
+
"isProvider": false,
|
|
39
|
+
"parts": [
|
|
40
|
+
"RateIcon"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "Button",
|
|
45
|
+
"exportName": "Button",
|
|
46
|
+
"import": "@aviala-design/spiral",
|
|
47
|
+
"requiresThemeProvider": true,
|
|
48
|
+
"isProvider": false,
|
|
49
|
+
"parts": []
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "Input",
|
|
53
|
+
"exportName": "Input",
|
|
54
|
+
"import": "@aviala-design/spiral",
|
|
55
|
+
"requiresThemeProvider": true,
|
|
56
|
+
"isProvider": false,
|
|
57
|
+
"parts": []
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "NumberInput",
|
|
61
|
+
"exportName": "NumberInput",
|
|
62
|
+
"import": "@aviala-design/spiral",
|
|
63
|
+
"requiresThemeProvider": true,
|
|
64
|
+
"isProvider": false,
|
|
65
|
+
"parts": []
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "Select",
|
|
69
|
+
"exportName": "Select",
|
|
70
|
+
"import": "@aviala-design/spiral",
|
|
71
|
+
"requiresThemeProvider": true,
|
|
72
|
+
"isProvider": false,
|
|
73
|
+
"parts": [
|
|
74
|
+
"SelectTrigger",
|
|
75
|
+
"SelectContent",
|
|
76
|
+
"SelectItem",
|
|
77
|
+
"SelectItemGroup",
|
|
78
|
+
"SelectItemPeople",
|
|
79
|
+
"SelectSubItem",
|
|
80
|
+
"SelectValue"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "SegmentatorGroup",
|
|
85
|
+
"exportName": "SegmentatorGroup",
|
|
86
|
+
"import": "@aviala-design/spiral",
|
|
87
|
+
"requiresThemeProvider": true,
|
|
88
|
+
"isProvider": false,
|
|
89
|
+
"parts": [
|
|
90
|
+
"SegmentatorItem"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "ThemeProvider",
|
|
95
|
+
"exportName": "ThemeProvider",
|
|
96
|
+
"import": "@aviala-design/spiral",
|
|
97
|
+
"requiresThemeProvider": false,
|
|
98
|
+
"isProvider": true,
|
|
99
|
+
"parts": []
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "LocaleProvider",
|
|
103
|
+
"exportName": "LocaleProvider",
|
|
104
|
+
"import": "@aviala-design/spiral",
|
|
105
|
+
"requiresThemeProvider": false,
|
|
106
|
+
"isProvider": true,
|
|
107
|
+
"parts": []
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "ConfigProvider",
|
|
111
|
+
"exportName": "ConfigProvider",
|
|
112
|
+
"import": "@aviala-design/spiral",
|
|
113
|
+
"requiresThemeProvider": false,
|
|
114
|
+
"isProvider": true,
|
|
115
|
+
"parts": []
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "Alert",
|
|
119
|
+
"exportName": "Alert",
|
|
120
|
+
"import": "@aviala-design/spiral",
|
|
121
|
+
"requiresThemeProvider": true,
|
|
122
|
+
"isProvider": false,
|
|
123
|
+
"parts": []
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "Feedback",
|
|
127
|
+
"exportName": "Feedback",
|
|
128
|
+
"import": "@aviala-design/spiral",
|
|
129
|
+
"requiresThemeProvider": true,
|
|
130
|
+
"isProvider": false,
|
|
131
|
+
"parts": []
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "DatePickerField",
|
|
135
|
+
"exportName": "DatePickerField",
|
|
136
|
+
"import": "@aviala-design/spiral",
|
|
137
|
+
"requiresThemeProvider": true,
|
|
138
|
+
"isProvider": false,
|
|
139
|
+
"parts": [
|
|
140
|
+
"DatePicker",
|
|
141
|
+
"DatePickerTrigger",
|
|
142
|
+
"DatePickerContent",
|
|
143
|
+
"DatePickerCalendar"
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "TimePickerField",
|
|
148
|
+
"exportName": "TimePickerField",
|
|
149
|
+
"import": "@aviala-design/spiral",
|
|
150
|
+
"requiresThemeProvider": true,
|
|
151
|
+
"isProvider": false,
|
|
152
|
+
"parts": [
|
|
153
|
+
"TimePicker",
|
|
154
|
+
"TimePickerTrigger",
|
|
155
|
+
"TimePickerContent",
|
|
156
|
+
"TimePickerPanel",
|
|
157
|
+
"TimePickerWheels"
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "Switch",
|
|
162
|
+
"exportName": "Switch",
|
|
163
|
+
"import": "@aviala-design/spiral",
|
|
164
|
+
"requiresThemeProvider": true,
|
|
165
|
+
"isProvider": false,
|
|
166
|
+
"parts": []
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "Link",
|
|
170
|
+
"exportName": "Link",
|
|
171
|
+
"import": "@aviala-design/spiral",
|
|
172
|
+
"requiresThemeProvider": true,
|
|
173
|
+
"isProvider": false,
|
|
174
|
+
"parts": []
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "Textarea",
|
|
178
|
+
"exportName": "Textarea",
|
|
179
|
+
"import": "@aviala-design/spiral",
|
|
180
|
+
"requiresThemeProvider": true,
|
|
181
|
+
"isProvider": false,
|
|
182
|
+
"parts": []
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "Checkbox",
|
|
186
|
+
"exportName": "Checkbox",
|
|
187
|
+
"import": "@aviala-design/spiral",
|
|
188
|
+
"requiresThemeProvider": true,
|
|
189
|
+
"isProvider": false,
|
|
190
|
+
"parts": [
|
|
191
|
+
"CheckboxGroup",
|
|
192
|
+
"CheckboxInput"
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "RadioGroup",
|
|
197
|
+
"exportName": "RadioGroup",
|
|
198
|
+
"import": "@aviala-design/spiral",
|
|
199
|
+
"requiresThemeProvider": true,
|
|
200
|
+
"isProvider": false,
|
|
201
|
+
"parts": [
|
|
202
|
+
"RadioGroupItem",
|
|
203
|
+
"RadioInput"
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "CascaderField",
|
|
208
|
+
"exportName": "CascaderField",
|
|
209
|
+
"import": "@aviala-design/spiral",
|
|
210
|
+
"requiresThemeProvider": true,
|
|
211
|
+
"isProvider": false,
|
|
212
|
+
"parts": [
|
|
213
|
+
"Cascader",
|
|
214
|
+
"CascaderTrigger",
|
|
215
|
+
"CascaderContent",
|
|
216
|
+
"CascaderMenu",
|
|
217
|
+
"CascaderColumn",
|
|
218
|
+
"CascaderItem",
|
|
219
|
+
"CascaderItemGroup",
|
|
220
|
+
"CascaderOptionsMenu"
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "ColorPicker",
|
|
225
|
+
"exportName": "ColorPicker",
|
|
226
|
+
"import": "@aviala-design/spiral",
|
|
227
|
+
"requiresThemeProvider": true,
|
|
228
|
+
"isProvider": false,
|
|
229
|
+
"parts": [
|
|
230
|
+
"ColorPickerTrigger",
|
|
231
|
+
"ColorPickerContent",
|
|
232
|
+
"ColorPickerPanel",
|
|
233
|
+
"ColorPickButton",
|
|
234
|
+
"ColorPickerArea",
|
|
235
|
+
"ColorPickerSlider",
|
|
236
|
+
"ColorPickerInputs",
|
|
237
|
+
"ColorPickerPresets"
|
|
238
|
+
]
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "Navigation",
|
|
242
|
+
"exportName": "Navigation",
|
|
243
|
+
"import": "@aviala-design/spiral",
|
|
244
|
+
"requiresThemeProvider": true,
|
|
245
|
+
"isProvider": false,
|
|
246
|
+
"parts": [
|
|
247
|
+
"NavigationBrand",
|
|
248
|
+
"NavigationBrandTitle",
|
|
249
|
+
"NavigationSection",
|
|
250
|
+
"NavigationGroup",
|
|
251
|
+
"NavigationItemGroup",
|
|
252
|
+
"NavigationItem",
|
|
253
|
+
"NavigationItemMenu",
|
|
254
|
+
"NavigationItemMenuTrigger",
|
|
255
|
+
"NavigationItemMenuContent",
|
|
256
|
+
"NavigationItemMenuItem",
|
|
257
|
+
"NavigationActions",
|
|
258
|
+
"NavigationActionsSlot"
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "List",
|
|
263
|
+
"exportName": "List",
|
|
264
|
+
"import": "@aviala-design/spiral",
|
|
265
|
+
"requiresThemeProvider": true,
|
|
266
|
+
"isProvider": false,
|
|
267
|
+
"parts": [
|
|
268
|
+
"ListTitle",
|
|
269
|
+
"ListGroup",
|
|
270
|
+
"ListItem",
|
|
271
|
+
"ListItemGroup",
|
|
272
|
+
"ListDivider",
|
|
273
|
+
"ListSeparator"
|
|
274
|
+
]
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"name": "Typography",
|
|
278
|
+
"exportName": "Typography",
|
|
279
|
+
"import": "@aviala-design/spiral",
|
|
280
|
+
"requiresThemeProvider": true,
|
|
281
|
+
"isProvider": false,
|
|
282
|
+
"parts": []
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "Typeface",
|
|
286
|
+
"exportName": "Typeface",
|
|
287
|
+
"import": "@aviala-design/spiral",
|
|
288
|
+
"requiresThemeProvider": true,
|
|
289
|
+
"isProvider": false,
|
|
290
|
+
"parts": [
|
|
291
|
+
"TypefacePair"
|
|
292
|
+
]
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"name": "FormField",
|
|
296
|
+
"exportName": "FormField",
|
|
297
|
+
"import": "@aviala-design/spiral/form",
|
|
298
|
+
"requiresThemeProvider": true,
|
|
299
|
+
"isProvider": false,
|
|
300
|
+
"parts": []
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "Anchor",
|
|
304
|
+
"exportName": "Anchor",
|
|
305
|
+
"import": "@aviala-design/spiral",
|
|
306
|
+
"requiresThemeProvider": true,
|
|
307
|
+
"isProvider": false,
|
|
308
|
+
"parts": [
|
|
309
|
+
"AnchorItem"
|
|
310
|
+
]
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"name": "Popover",
|
|
314
|
+
"exportName": "Popover",
|
|
315
|
+
"import": "@aviala-design/spiral",
|
|
316
|
+
"requiresThemeProvider": true,
|
|
317
|
+
"isProvider": false,
|
|
318
|
+
"parts": [
|
|
319
|
+
"PopoverTrigger",
|
|
320
|
+
"PopoverContent",
|
|
321
|
+
"PopoverIcon",
|
|
322
|
+
"PopoverAnchor"
|
|
323
|
+
]
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "Modal",
|
|
327
|
+
"exportName": "Modal",
|
|
328
|
+
"import": "@aviala-design/spiral",
|
|
329
|
+
"requiresThemeProvider": true,
|
|
330
|
+
"isProvider": false,
|
|
331
|
+
"parts": [
|
|
332
|
+
"ModalTrigger",
|
|
333
|
+
"ModalOverlay",
|
|
334
|
+
"ModalContent",
|
|
335
|
+
"ModalHeader",
|
|
336
|
+
"ModalHeaderText",
|
|
337
|
+
"ModalTitle",
|
|
338
|
+
"ModalDescription",
|
|
339
|
+
"ModalBody",
|
|
340
|
+
"ModalFooter",
|
|
341
|
+
"ModalClose"
|
|
342
|
+
]
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"name": "Drawer",
|
|
346
|
+
"exportName": "Drawer",
|
|
347
|
+
"import": "@aviala-design/spiral",
|
|
348
|
+
"requiresThemeProvider": true,
|
|
349
|
+
"isProvider": false,
|
|
350
|
+
"parts": [
|
|
351
|
+
"DrawerTrigger",
|
|
352
|
+
"DrawerOverlay",
|
|
353
|
+
"DrawerContent",
|
|
354
|
+
"DrawerHeader",
|
|
355
|
+
"DrawerHeaderText",
|
|
356
|
+
"DrawerTitle",
|
|
357
|
+
"DrawerDescription",
|
|
358
|
+
"DrawerBody",
|
|
359
|
+
"DrawerFooter",
|
|
360
|
+
"DrawerClose"
|
|
361
|
+
]
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "Tooltip",
|
|
365
|
+
"exportName": "Tooltip",
|
|
366
|
+
"import": "@aviala-design/spiral",
|
|
367
|
+
"requiresThemeProvider": true,
|
|
368
|
+
"isProvider": false,
|
|
369
|
+
"parts": [
|
|
370
|
+
"TooltipProvider",
|
|
371
|
+
"TooltipTrigger",
|
|
372
|
+
"TooltipContent"
|
|
373
|
+
]
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"name": "ResponsiveTooltip",
|
|
377
|
+
"exportName": "ResponsiveTooltip",
|
|
378
|
+
"import": "@aviala-design/spiral",
|
|
379
|
+
"requiresThemeProvider": true,
|
|
380
|
+
"isProvider": false,
|
|
381
|
+
"parts": []
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"name": "Loading",
|
|
385
|
+
"exportName": "Loading",
|
|
386
|
+
"import": "@aviala-design/spiral",
|
|
387
|
+
"requiresThemeProvider": true,
|
|
388
|
+
"isProvider": false,
|
|
389
|
+
"parts": []
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "Badge",
|
|
393
|
+
"exportName": "Badge",
|
|
394
|
+
"import": "@aviala-design/spiral",
|
|
395
|
+
"requiresThemeProvider": true,
|
|
396
|
+
"isProvider": false,
|
|
397
|
+
"parts": []
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"name": "Avatar",
|
|
401
|
+
"exportName": "Avatar",
|
|
402
|
+
"import": "@aviala-design/spiral",
|
|
403
|
+
"requiresThemeProvider": true,
|
|
404
|
+
"isProvider": false,
|
|
405
|
+
"parts": []
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"name": "Tag",
|
|
409
|
+
"exportName": "Tag",
|
|
410
|
+
"import": "@aviala-design/spiral",
|
|
411
|
+
"requiresThemeProvider": true,
|
|
412
|
+
"isProvider": false,
|
|
413
|
+
"parts": [
|
|
414
|
+
"TagClose"
|
|
415
|
+
]
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"name": "Progress",
|
|
419
|
+
"exportName": "Progress",
|
|
420
|
+
"import": "@aviala-design/spiral",
|
|
421
|
+
"requiresThemeProvider": true,
|
|
422
|
+
"isProvider": false,
|
|
423
|
+
"parts": []
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"name": "Scroll",
|
|
427
|
+
"exportName": "Scroll",
|
|
428
|
+
"import": "@aviala-design/spiral",
|
|
429
|
+
"requiresThemeProvider": true,
|
|
430
|
+
"isProvider": false,
|
|
431
|
+
"parts": []
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"name": "Slider",
|
|
435
|
+
"exportName": "Slider",
|
|
436
|
+
"import": "@aviala-design/spiral",
|
|
437
|
+
"requiresThemeProvider": true,
|
|
438
|
+
"isProvider": false,
|
|
439
|
+
"parts": []
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"name": "Upload",
|
|
443
|
+
"exportName": "Upload",
|
|
444
|
+
"import": "@aviala-design/spiral",
|
|
445
|
+
"requiresThemeProvider": true,
|
|
446
|
+
"isProvider": false,
|
|
447
|
+
"parts": []
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "Video",
|
|
451
|
+
"exportName": "Video",
|
|
452
|
+
"import": "@aviala-design/spiral",
|
|
453
|
+
"requiresThemeProvider": true,
|
|
454
|
+
"isProvider": false,
|
|
455
|
+
"parts": []
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "ScrollPicker",
|
|
459
|
+
"exportName": "ScrollPicker",
|
|
460
|
+
"import": "@aviala-design/spiral",
|
|
461
|
+
"requiresThemeProvider": true,
|
|
462
|
+
"isProvider": false,
|
|
463
|
+
"parts": [
|
|
464
|
+
"ScrollPickerColumn",
|
|
465
|
+
"ScrollPickerItem"
|
|
466
|
+
]
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"name": "Breadcrumb",
|
|
470
|
+
"exportName": "Breadcrumb",
|
|
471
|
+
"import": "@aviala-design/spiral",
|
|
472
|
+
"requiresThemeProvider": true,
|
|
473
|
+
"isProvider": false,
|
|
474
|
+
"parts": [
|
|
475
|
+
"BreadcrumbItem",
|
|
476
|
+
"BreadcrumbSeparator",
|
|
477
|
+
"BreadcrumbEllipsis",
|
|
478
|
+
"BreadcrumbEllipsisItem"
|
|
479
|
+
]
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"name": "Pagehead",
|
|
483
|
+
"exportName": "Pagehead",
|
|
484
|
+
"import": "@aviala-design/spiral",
|
|
485
|
+
"requiresThemeProvider": true,
|
|
486
|
+
"isProvider": false,
|
|
487
|
+
"parts": []
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"name": "Steps",
|
|
491
|
+
"exportName": "Steps",
|
|
492
|
+
"import": "@aviala-design/spiral",
|
|
493
|
+
"requiresThemeProvider": true,
|
|
494
|
+
"isProvider": false,
|
|
495
|
+
"parts": [
|
|
496
|
+
"StepsItem",
|
|
497
|
+
"StepsIcon"
|
|
498
|
+
]
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"name": "Pagination",
|
|
502
|
+
"exportName": "Pagination",
|
|
503
|
+
"import": "@aviala-design/spiral",
|
|
504
|
+
"requiresThemeProvider": true,
|
|
505
|
+
"isProvider": false,
|
|
506
|
+
"parts": []
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"name": "Card",
|
|
510
|
+
"exportName": "Card",
|
|
511
|
+
"import": "@aviala-design/spiral",
|
|
512
|
+
"requiresThemeProvider": true,
|
|
513
|
+
"isProvider": false,
|
|
514
|
+
"parts": [
|
|
515
|
+
"CardHead",
|
|
516
|
+
"CardBody",
|
|
517
|
+
"CardBottom"
|
|
518
|
+
]
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"name": "Table",
|
|
522
|
+
"exportName": "Table",
|
|
523
|
+
"import": "@aviala-design/spiral",
|
|
524
|
+
"requiresThemeProvider": true,
|
|
525
|
+
"isProvider": false,
|
|
526
|
+
"parts": [
|
|
527
|
+
"TableRow",
|
|
528
|
+
"TableHead",
|
|
529
|
+
"TableCell"
|
|
530
|
+
]
|
|
531
|
+
}
|
|
532
|
+
]
|
|
533
|
+
}
|