@ginia/ui 0.1.22 → 0.1.23
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/AGENTS.md +4 -2
- package/dist/components/ui/ginia-wordmark/ginia-wordmark.cjs +85 -0
- package/dist/components/ui/ginia-wordmark/ginia-wordmark.cjs.map +1 -0
- package/dist/components/ui/ginia-wordmark/ginia-wordmark.d.cts +22 -0
- package/dist/components/ui/ginia-wordmark/ginia-wordmark.d.ts +22 -0
- package/dist/components/ui/ginia-wordmark/ginia-wordmark.js +60 -0
- package/dist/components/ui/ginia-wordmark/ginia-wordmark.js.map +1 -0
- package/dist/components/ui/ginia-wordmark/index.cjs +31 -0
- package/dist/components/ui/ginia-wordmark/index.cjs.map +1 -0
- package/dist/components/ui/ginia-wordmark/index.d.cts +5 -0
- package/dist/components/ui/ginia-wordmark/index.d.ts +5 -0
- package/dist/components/ui/ginia-wordmark/index.js +6 -0
- package/dist/components/ui/ginia-wordmark/index.js.map +1 -0
- package/dist/components/ui/index.cjs +5 -1
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.d.cts +2 -0
- package/dist/components/ui/index.d.ts +2 -0
- package/dist/components/ui/index.js +2 -0
- package/dist/components/ui/index.js.map +1 -1
- package/dist/components/ui/typography/index.cjs +31 -0
- package/dist/components/ui/typography/index.cjs.map +1 -0
- package/dist/components/ui/typography/index.d.cts +5 -0
- package/dist/components/ui/typography/index.d.ts +5 -0
- package/dist/components/ui/typography/index.js +6 -0
- package/dist/components/ui/typography/index.js.map +1 -0
- package/dist/components/ui/typography/typography.cjs +80 -0
- package/dist/components/ui/typography/typography.cjs.map +1 -0
- package/dist/components/ui/typography/typography.d.cts +15 -0
- package/dist/components/ui/typography/typography.d.ts +15 -0
- package/dist/components/ui/typography/typography.js +55 -0
- package/dist/components/ui/typography/typography.js.map +1 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +14 -14
package/AGENTS.md
CHANGED
|
@@ -32,7 +32,7 @@ export default {
|
|
|
32
32
|
|
|
33
33
|
```tsx
|
|
34
34
|
// Import components
|
|
35
|
-
import { Button, Card, Input, Dialog } from "@ginia/ui";
|
|
35
|
+
import { Button, Card, Input, Dialog, Typography, GiniaWordmark } from "@ginia/ui";
|
|
36
36
|
|
|
37
37
|
// Import design tokens
|
|
38
38
|
import { colors, fontFamily } from "@ginia/ui/tokens";
|
|
@@ -63,4 +63,6 @@ import { cn } from "@ginia/ui";
|
|
|
63
63
|
5. **Components are `"use client"`** — wrap accordingly in Next.js App Router.
|
|
64
64
|
6. **Composed APIs**: `Select`, `Dialog`, `Sheet`, `Accordion`, etc. use multi-part patterns (e.g., `<Select>` + `<SelectTrigger>` + `<SelectContent>` + `<SelectItem>`). Check the Storybook for the exact composition pattern of each component.
|
|
65
65
|
7. **Icons**: Icons are re-exported from `lucide-react` and should be imported from `@ginia/ui/icons`. For consistent sizing and accessibility, prefer using the `<Icon />` component from `@ginia/ui`.
|
|
66
|
-
8. **
|
|
66
|
+
8. **Typography**: Use `<Typography variant="…" />` for headings, body, lead, caption, and display styles. Each variant has a default HTML tag; override with `as` or `asChild` when you need a different element (e.g. a link styled as a heading).
|
|
67
|
+
9. **Brand lockup**: `<GiniaWordmark />` combines the official `<Logo />` SVG with the word “Ginia” for headers and splash surfaces. Use `size` (`sm` | `md` | `lg`) and optional `label` for accessibility.
|
|
68
|
+
10. **No business logic** in components — they are purely presentational.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use client";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
var ginia_wordmark_exports = {};
|
|
21
|
+
__export(ginia_wordmark_exports, {
|
|
22
|
+
GiniaWordmark: () => GiniaWordmark,
|
|
23
|
+
wordmarkVariants: () => wordmarkVariants
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(ginia_wordmark_exports);
|
|
26
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
27
|
+
var import_class_variance_authority = require("class-variance-authority");
|
|
28
|
+
var import_utils = require("../../../lib/utils");
|
|
29
|
+
var import_logo = require("../logo/logo");
|
|
30
|
+
const wordmarkVariants = (0, import_class_variance_authority.cva)("inline-flex items-center", {
|
|
31
|
+
variants: {
|
|
32
|
+
size: {
|
|
33
|
+
sm: "gap-1.5",
|
|
34
|
+
md: "gap-2",
|
|
35
|
+
lg: "gap-2.5"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
defaultVariants: {
|
|
39
|
+
size: "md"
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
const logoSizeClass = {
|
|
43
|
+
sm: "size-6",
|
|
44
|
+
md: "size-8",
|
|
45
|
+
lg: "size-10"
|
|
46
|
+
};
|
|
47
|
+
const labelVariants = (0, import_class_variance_authority.cva)("font-semibold tracking-tight text-foreground", {
|
|
48
|
+
variants: {
|
|
49
|
+
size: {
|
|
50
|
+
sm: "text-lg",
|
|
51
|
+
md: "text-xl",
|
|
52
|
+
lg: "text-2xl"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
defaultVariants: {
|
|
56
|
+
size: "md"
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
function GiniaWordmark({
|
|
60
|
+
className,
|
|
61
|
+
size = "md",
|
|
62
|
+
label = "Ginia",
|
|
63
|
+
...props
|
|
64
|
+
}) {
|
|
65
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
66
|
+
"div",
|
|
67
|
+
{
|
|
68
|
+
className: (0, import_utils.cn)(wordmarkVariants({ size }), className),
|
|
69
|
+
role: "img",
|
|
70
|
+
"aria-label": label,
|
|
71
|
+
"data-slot": "ginia-wordmark",
|
|
72
|
+
...props,
|
|
73
|
+
children: [
|
|
74
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_logo.Logo, { "data-slot": "ginia-logo", "aria-hidden": true, className: (0, import_utils.cn)(logoSizeClass[size ?? "md"], "shrink-0") }),
|
|
75
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: (0, import_utils.cn)(labelVariants({ size })), "aria-hidden": true, children: "Ginia" })
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
81
|
+
0 && (module.exports = {
|
|
82
|
+
GiniaWordmark,
|
|
83
|
+
wordmarkVariants
|
|
84
|
+
});
|
|
85
|
+
//# sourceMappingURL=ginia-wordmark.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ui/ginia-wordmark/ginia-wordmark.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../../lib/utils\";\nimport { Logo } from \"../logo/logo\";\n\nconst wordmarkVariants = cva(\"inline-flex items-center\", {\n variants: {\n size: {\n sm: \"gap-1.5\",\n md: \"gap-2\",\n lg: \"gap-2.5\",\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n});\n\nconst logoSizeClass = {\n sm: \"size-6\",\n md: \"size-8\",\n lg: \"size-10\",\n} as const;\n\nconst labelVariants = cva(\"font-semibold tracking-tight text-foreground\", {\n variants: {\n size: {\n sm: \"text-lg\",\n md: \"text-xl\",\n lg: \"text-2xl\",\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n});\n\nexport interface GiniaWordmarkProps extends React.HTMLAttributes<HTMLDivElement> {\n /** Visual scale of the mark and label. */\n size?: VariantProps<typeof wordmarkVariants>[\"size\"];\n /** Accessible label for the combined mark (e.g. for screen readers). */\n label?: string;\n}\n\n/**\n * Brand lockup: Ginia logo (mark) plus the word “Ginia”.\n *\n * Use in headers, splash screens, and anywhere the product name should appear with the icon.\n */\nfunction GiniaWordmark({\n className,\n size = \"md\",\n label = \"Ginia\",\n ...props\n}: GiniaWordmarkProps) {\n return (\n <div\n className={cn(wordmarkVariants({ size }), className)}\n role=\"img\"\n aria-label={label}\n data-slot=\"ginia-wordmark\"\n {...props}\n >\n <Logo data-slot=\"ginia-logo\" aria-hidden className={cn(logoSizeClass[size ?? \"md\"], \"shrink-0\")} />\n <span className={cn(labelVariants({ size }))} aria-hidden>\n Ginia\n </span>\n </div>\n );\n}\n\nexport { GiniaWordmark, wordmarkVariants };\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA2DI;AAxDJ,sCAAuC;AAEvC,mBAAmB;AACnB,kBAAqB;AAErB,MAAM,uBAAmB,qCAAI,4BAA4B;AAAA,EACvD,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,CAAC;AAED,MAAM,gBAAgB;AAAA,EACpB,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAEA,MAAM,oBAAgB,qCAAI,gDAAgD;AAAA,EACxE,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,CAAC;AAcD,SAAS,cAAc;AAAA,EACrB;AAAA,EACA,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,GAAG;AACL,GAAuB;AACrB,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAW,iBAAG,iBAAiB,EAAE,KAAK,CAAC,GAAG,SAAS;AAAA,MACnD,MAAK;AAAA,MACL,cAAY;AAAA,MACZ,aAAU;AAAA,MACT,GAAG;AAAA,MAEJ;AAAA,oDAAC,oBAAK,aAAU,cAAa,eAAW,MAAC,eAAW,iBAAG,cAAc,QAAQ,IAAI,GAAG,UAAU,GAAG;AAAA,QACjG,4CAAC,UAAK,eAAW,iBAAG,cAAc,EAAE,KAAK,CAAC,CAAC,GAAG,eAAW,MAAC,mBAE1D;AAAA;AAAA;AAAA,EACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const wordmarkVariants: (props?: ({
|
|
7
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
interface GiniaWordmarkProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
/** Visual scale of the mark and label. */
|
|
11
|
+
size?: VariantProps<typeof wordmarkVariants>["size"];
|
|
12
|
+
/** Accessible label for the combined mark (e.g. for screen readers). */
|
|
13
|
+
label?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Brand lockup: Ginia logo (mark) plus the word “Ginia”.
|
|
17
|
+
*
|
|
18
|
+
* Use in headers, splash screens, and anywhere the product name should appear with the icon.
|
|
19
|
+
*/
|
|
20
|
+
declare function GiniaWordmark({ className, size, label, ...props }: GiniaWordmarkProps): react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
export { GiniaWordmark, type GiniaWordmarkProps, wordmarkVariants };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const wordmarkVariants: (props?: ({
|
|
7
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
interface GiniaWordmarkProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
/** Visual scale of the mark and label. */
|
|
11
|
+
size?: VariantProps<typeof wordmarkVariants>["size"];
|
|
12
|
+
/** Accessible label for the combined mark (e.g. for screen readers). */
|
|
13
|
+
label?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Brand lockup: Ginia logo (mark) plus the word “Ginia”.
|
|
17
|
+
*
|
|
18
|
+
* Use in headers, splash screens, and anywhere the product name should appear with the icon.
|
|
19
|
+
*/
|
|
20
|
+
declare function GiniaWordmark({ className, size, label, ...props }: GiniaWordmarkProps): react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
export { GiniaWordmark, type GiniaWordmarkProps, wordmarkVariants };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import { cn } from "../../../lib/utils";
|
|
5
|
+
import { Logo } from "../logo/logo";
|
|
6
|
+
const wordmarkVariants = cva("inline-flex items-center", {
|
|
7
|
+
variants: {
|
|
8
|
+
size: {
|
|
9
|
+
sm: "gap-1.5",
|
|
10
|
+
md: "gap-2",
|
|
11
|
+
lg: "gap-2.5"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
defaultVariants: {
|
|
15
|
+
size: "md"
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
const logoSizeClass = {
|
|
19
|
+
sm: "size-6",
|
|
20
|
+
md: "size-8",
|
|
21
|
+
lg: "size-10"
|
|
22
|
+
};
|
|
23
|
+
const labelVariants = cva("font-semibold tracking-tight text-foreground", {
|
|
24
|
+
variants: {
|
|
25
|
+
size: {
|
|
26
|
+
sm: "text-lg",
|
|
27
|
+
md: "text-xl",
|
|
28
|
+
lg: "text-2xl"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
defaultVariants: {
|
|
32
|
+
size: "md"
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
function GiniaWordmark({
|
|
36
|
+
className,
|
|
37
|
+
size = "md",
|
|
38
|
+
label = "Ginia",
|
|
39
|
+
...props
|
|
40
|
+
}) {
|
|
41
|
+
return /* @__PURE__ */ jsxs(
|
|
42
|
+
"div",
|
|
43
|
+
{
|
|
44
|
+
className: cn(wordmarkVariants({ size }), className),
|
|
45
|
+
role: "img",
|
|
46
|
+
"aria-label": label,
|
|
47
|
+
"data-slot": "ginia-wordmark",
|
|
48
|
+
...props,
|
|
49
|
+
children: [
|
|
50
|
+
/* @__PURE__ */ jsx(Logo, { "data-slot": "ginia-logo", "aria-hidden": true, className: cn(logoSizeClass[size ?? "md"], "shrink-0") }),
|
|
51
|
+
/* @__PURE__ */ jsx("span", { className: cn(labelVariants({ size })), "aria-hidden": true, children: "Ginia" })
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
export {
|
|
57
|
+
GiniaWordmark,
|
|
58
|
+
wordmarkVariants
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=ginia-wordmark.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ui/ginia-wordmark/ginia-wordmark.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../../lib/utils\";\nimport { Logo } from \"../logo/logo\";\n\nconst wordmarkVariants = cva(\"inline-flex items-center\", {\n variants: {\n size: {\n sm: \"gap-1.5\",\n md: \"gap-2\",\n lg: \"gap-2.5\",\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n});\n\nconst logoSizeClass = {\n sm: \"size-6\",\n md: \"size-8\",\n lg: \"size-10\",\n} as const;\n\nconst labelVariants = cva(\"font-semibold tracking-tight text-foreground\", {\n variants: {\n size: {\n sm: \"text-lg\",\n md: \"text-xl\",\n lg: \"text-2xl\",\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n});\n\nexport interface GiniaWordmarkProps extends React.HTMLAttributes<HTMLDivElement> {\n /** Visual scale of the mark and label. */\n size?: VariantProps<typeof wordmarkVariants>[\"size\"];\n /** Accessible label for the combined mark (e.g. for screen readers). */\n label?: string;\n}\n\n/**\n * Brand lockup: Ginia logo (mark) plus the word “Ginia”.\n *\n * Use in headers, splash screens, and anywhere the product name should appear with the icon.\n */\nfunction GiniaWordmark({\n className,\n size = \"md\",\n label = \"Ginia\",\n ...props\n}: GiniaWordmarkProps) {\n return (\n <div\n className={cn(wordmarkVariants({ size }), className)}\n role=\"img\"\n aria-label={label}\n data-slot=\"ginia-wordmark\"\n {...props}\n >\n <Logo data-slot=\"ginia-logo\" aria-hidden className={cn(logoSizeClass[size ?? \"md\"], \"shrink-0\")} />\n <span className={cn(labelVariants({ size }))} aria-hidden>\n Ginia\n </span>\n </div>\n );\n}\n\nexport { GiniaWordmark, wordmarkVariants };\n"],"mappings":";AA2DI,SAOE,KAPF;AAxDJ,SAAS,WAA8B;AAEvC,SAAS,UAAU;AACnB,SAAS,YAAY;AAErB,MAAM,mBAAmB,IAAI,4BAA4B;AAAA,EACvD,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,CAAC;AAED,MAAM,gBAAgB;AAAA,EACpB,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAEA,MAAM,gBAAgB,IAAI,gDAAgD;AAAA,EACxE,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,CAAC;AAcD,SAAS,cAAc;AAAA,EACrB;AAAA,EACA,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,GAAG;AACL,GAAuB;AACrB,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,GAAG,iBAAiB,EAAE,KAAK,CAAC,GAAG,SAAS;AAAA,MACnD,MAAK;AAAA,MACL,cAAY;AAAA,MACZ,aAAU;AAAA,MACT,GAAG;AAAA,MAEJ;AAAA,4BAAC,QAAK,aAAU,cAAa,eAAW,MAAC,WAAW,GAAG,cAAc,QAAQ,IAAI,GAAG,UAAU,GAAG;AAAA,QACjG,oBAAC,UAAK,WAAW,GAAG,cAAc,EAAE,KAAK,CAAC,CAAC,GAAG,eAAW,MAAC,mBAE1D;AAAA;AAAA;AAAA,EACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var ginia_wordmark_exports = {};
|
|
20
|
+
__export(ginia_wordmark_exports, {
|
|
21
|
+
GiniaWordmark: () => import_ginia_wordmark.GiniaWordmark,
|
|
22
|
+
wordmarkVariants: () => import_ginia_wordmark.wordmarkVariants
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(ginia_wordmark_exports);
|
|
25
|
+
var import_ginia_wordmark = require("./ginia-wordmark");
|
|
26
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
27
|
+
0 && (module.exports = {
|
|
28
|
+
GiniaWordmark,
|
|
29
|
+
wordmarkVariants
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ui/ginia-wordmark/index.ts"],"sourcesContent":["export { GiniaWordmark, wordmarkVariants } from \"./ginia-wordmark\";\nexport type { GiniaWordmarkProps } from \"./ginia-wordmark\";\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAAgD;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ui/ginia-wordmark/index.ts"],"sourcesContent":["export { GiniaWordmark, wordmarkVariants } from \"./ginia-wordmark\";\nexport type { GiniaWordmarkProps } from \"./ginia-wordmark\";\n"],"mappings":"AAAA,SAAS,eAAe,wBAAwB;","names":[]}
|
|
@@ -38,6 +38,7 @@ __reExport(ui_exports, require("./dialog"), module.exports);
|
|
|
38
38
|
__reExport(ui_exports, require("./drawer"), module.exports);
|
|
39
39
|
__reExport(ui_exports, require("./dropdown-menu"), module.exports);
|
|
40
40
|
__reExport(ui_exports, require("./form"), module.exports);
|
|
41
|
+
__reExport(ui_exports, require("./ginia-wordmark"), module.exports);
|
|
41
42
|
__reExport(ui_exports, require("./hover-card"), module.exports);
|
|
42
43
|
__reExport(ui_exports, require("./icon"), module.exports);
|
|
43
44
|
__reExport(ui_exports, require("./input"), module.exports);
|
|
@@ -74,6 +75,7 @@ __reExport(ui_exports, require("./toast"), module.exports);
|
|
|
74
75
|
__reExport(ui_exports, require("./toggle"), module.exports);
|
|
75
76
|
__reExport(ui_exports, require("./toggle-group"), module.exports);
|
|
76
77
|
__reExport(ui_exports, require("./tooltip"), module.exports);
|
|
78
|
+
__reExport(ui_exports, require("./typography"), module.exports);
|
|
77
79
|
// Annotate the CommonJS export names for ESM import in node:
|
|
78
80
|
0 && (module.exports = {
|
|
79
81
|
...require("./accordion"),
|
|
@@ -99,6 +101,7 @@ __reExport(ui_exports, require("./tooltip"), module.exports);
|
|
|
99
101
|
...require("./drawer"),
|
|
100
102
|
...require("./dropdown-menu"),
|
|
101
103
|
...require("./form"),
|
|
104
|
+
...require("./ginia-wordmark"),
|
|
102
105
|
...require("./hover-card"),
|
|
103
106
|
...require("./icon"),
|
|
104
107
|
...require("./input"),
|
|
@@ -134,6 +137,7 @@ __reExport(ui_exports, require("./tooltip"), module.exports);
|
|
|
134
137
|
...require("./toast"),
|
|
135
138
|
...require("./toggle"),
|
|
136
139
|
...require("./toggle-group"),
|
|
137
|
-
...require("./tooltip")
|
|
140
|
+
...require("./tooltip"),
|
|
141
|
+
...require("./typography")
|
|
138
142
|
});
|
|
139
143
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/ui/index.ts"],"sourcesContent":["export * from \"./accordion\";\nexport * from \"./alert\";\nexport * from \"./alert-dialog\";\nexport * from \"./aspect-ratio\";\nexport * from \"./autocomplete\";\nexport * from \"./avatar\";\nexport * from \"./background\";\nexport * from \"./badge\";\nexport * from \"./breadcrumb\";\nexport * from \"./button\";\nexport * from \"./calendar\";\nexport * from \"./card\";\nexport * from \"./carousel\";\nexport * from \"./checkbox\";\nexport * from \"./collapsible\";\nexport * from \"./combobox\";\nexport * from \"./command\";\nexport * from \"./context-menu\";\nexport * from \"./date-picker\";\nexport * from \"./dialog\";\nexport * from \"./drawer\";\nexport * from \"./dropdown-menu\";\nexport * from \"./form\";\nexport * from \"./hover-card\";\nexport * from \"./icon\";\nexport * from \"./input\";\nexport * from \"./input-field\";\nexport * from \"./input-otp\";\nexport * from \"./label\";\nexport * from \"./logo\";\nexport * from \"./loading-state\";\nexport * from \"./menubar\";\nexport * from \"./month-year-picker\";\nexport * from \"./multi-select\";\nexport * from \"./navigation-menu\";\nexport * from \"./pagination\";\nexport * from \"./popover\";\nexport * from \"./progress\";\nexport * from \"./radio-group\";\nexport * from \"./resizable\";\nexport * from \"./rich-text-editor\";\nexport * from \"./scroll-area\";\nexport * from \"./section-loader\";\nexport * from \"./select\";\nexport * from \"./separator\";\nexport * from \"./sheet\";\nexport * from \"./skeleton\";\nexport * from \"./slider\";\nexport * from \"./sonner\";\nexport * from \"./spinner\";\nexport * from \"./switch\";\nexport * from \"./table\";\nexport * from \"./tabs\";\nexport * from \"./tag-input\";\nexport * from \"./textarea\";\nexport * from \"./toast\";\nexport * from \"./toggle\";\nexport * from \"./toggle-group\";\nexport * from \"./tooltip\";\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,uBAAc,wBAAd;AACA,uBAAc,oBADd;AAEA,uBAAc,2BAFd;AAGA,uBAAc,2BAHd;AAIA,uBAAc,2BAJd;AAKA,uBAAc,qBALd;AAMA,uBAAc,yBANd;AAOA,uBAAc,oBAPd;AAQA,uBAAc,yBARd;AASA,uBAAc,qBATd;AAUA,uBAAc,uBAVd;AAWA,uBAAc,mBAXd;AAYA,uBAAc,uBAZd;AAaA,uBAAc,uBAbd;AAcA,uBAAc,0BAdd;AAeA,uBAAc,uBAfd;AAgBA,uBAAc,sBAhBd;AAiBA,uBAAc,2BAjBd;AAkBA,uBAAc,0BAlBd;AAmBA,uBAAc,qBAnBd;AAoBA,uBAAc,qBApBd;AAqBA,uBAAc,4BArBd;AAsBA,uBAAc,mBAtBd;AAuBA,uBAAc,
|
|
1
|
+
{"version":3,"sources":["../../../src/components/ui/index.ts"],"sourcesContent":["export * from \"./accordion\";\nexport * from \"./alert\";\nexport * from \"./alert-dialog\";\nexport * from \"./aspect-ratio\";\nexport * from \"./autocomplete\";\nexport * from \"./avatar\";\nexport * from \"./background\";\nexport * from \"./badge\";\nexport * from \"./breadcrumb\";\nexport * from \"./button\";\nexport * from \"./calendar\";\nexport * from \"./card\";\nexport * from \"./carousel\";\nexport * from \"./checkbox\";\nexport * from \"./collapsible\";\nexport * from \"./combobox\";\nexport * from \"./command\";\nexport * from \"./context-menu\";\nexport * from \"./date-picker\";\nexport * from \"./dialog\";\nexport * from \"./drawer\";\nexport * from \"./dropdown-menu\";\nexport * from \"./form\";\nexport * from \"./ginia-wordmark\";\nexport * from \"./hover-card\";\nexport * from \"./icon\";\nexport * from \"./input\";\nexport * from \"./input-field\";\nexport * from \"./input-otp\";\nexport * from \"./label\";\nexport * from \"./logo\";\nexport * from \"./loading-state\";\nexport * from \"./menubar\";\nexport * from \"./month-year-picker\";\nexport * from \"./multi-select\";\nexport * from \"./navigation-menu\";\nexport * from \"./pagination\";\nexport * from \"./popover\";\nexport * from \"./progress\";\nexport * from \"./radio-group\";\nexport * from \"./resizable\";\nexport * from \"./rich-text-editor\";\nexport * from \"./scroll-area\";\nexport * from \"./section-loader\";\nexport * from \"./select\";\nexport * from \"./separator\";\nexport * from \"./sheet\";\nexport * from \"./skeleton\";\nexport * from \"./slider\";\nexport * from \"./sonner\";\nexport * from \"./spinner\";\nexport * from \"./switch\";\nexport * from \"./table\";\nexport * from \"./tabs\";\nexport * from \"./tag-input\";\nexport * from \"./textarea\";\nexport * from \"./toast\";\nexport * from \"./toggle\";\nexport * from \"./toggle-group\";\nexport * from \"./tooltip\";\nexport * from \"./typography\";\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,uBAAc,wBAAd;AACA,uBAAc,oBADd;AAEA,uBAAc,2BAFd;AAGA,uBAAc,2BAHd;AAIA,uBAAc,2BAJd;AAKA,uBAAc,qBALd;AAMA,uBAAc,yBANd;AAOA,uBAAc,oBAPd;AAQA,uBAAc,yBARd;AASA,uBAAc,qBATd;AAUA,uBAAc,uBAVd;AAWA,uBAAc,mBAXd;AAYA,uBAAc,uBAZd;AAaA,uBAAc,uBAbd;AAcA,uBAAc,0BAdd;AAeA,uBAAc,uBAfd;AAgBA,uBAAc,sBAhBd;AAiBA,uBAAc,2BAjBd;AAkBA,uBAAc,0BAlBd;AAmBA,uBAAc,qBAnBd;AAoBA,uBAAc,qBApBd;AAqBA,uBAAc,4BArBd;AAsBA,uBAAc,mBAtBd;AAuBA,uBAAc,6BAvBd;AAwBA,uBAAc,yBAxBd;AAyBA,uBAAc,mBAzBd;AA0BA,uBAAc,oBA1Bd;AA2BA,uBAAc,0BA3Bd;AA4BA,uBAAc,wBA5Bd;AA6BA,uBAAc,oBA7Bd;AA8BA,uBAAc,mBA9Bd;AA+BA,uBAAc,4BA/Bd;AAgCA,uBAAc,sBAhCd;AAiCA,uBAAc,gCAjCd;AAkCA,uBAAc,2BAlCd;AAmCA,uBAAc,8BAnCd;AAoCA,uBAAc,yBApCd;AAqCA,uBAAc,sBArCd;AAsCA,uBAAc,uBAtCd;AAuCA,uBAAc,0BAvCd;AAwCA,uBAAc,wBAxCd;AAyCA,uBAAc,+BAzCd;AA0CA,uBAAc,0BA1Cd;AA2CA,uBAAc,6BA3Cd;AA4CA,uBAAc,qBA5Cd;AA6CA,uBAAc,wBA7Cd;AA8CA,uBAAc,oBA9Cd;AA+CA,uBAAc,uBA/Cd;AAgDA,uBAAc,qBAhDd;AAiDA,uBAAc,qBAjDd;AAkDA,uBAAc,sBAlDd;AAmDA,uBAAc,qBAnDd;AAoDA,uBAAc,oBApDd;AAqDA,uBAAc,mBArDd;AAsDA,uBAAc,wBAtDd;AAuDA,uBAAc,uBAvDd;AAwDA,uBAAc,oBAxDd;AAyDA,uBAAc,qBAzDd;AA0DA,uBAAc,2BA1Dd;AA2DA,uBAAc,sBA3Dd;AA4DA,uBAAc,yBA5Dd;","names":[]}
|
|
@@ -21,6 +21,7 @@ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, Di
|
|
|
21
21
|
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './drawer/drawer.cjs';
|
|
22
22
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './dropdown-menu/dropdown-menu.cjs';
|
|
23
23
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './form/form.cjs';
|
|
24
|
+
export { GiniaWordmark, GiniaWordmarkProps, wordmarkVariants } from './ginia-wordmark/ginia-wordmark.cjs';
|
|
24
25
|
export { HoverCard, HoverCardContent, HoverCardTrigger } from './hover-card/hover-card.cjs';
|
|
25
26
|
export { Icon, IconProps, IconSize, iconSizes } from './icon/icon.cjs';
|
|
26
27
|
export { Input } from './input/input.cjs';
|
|
@@ -57,6 +58,7 @@ export { Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, T
|
|
|
57
58
|
export { Toggle, toggleVariants } from './toggle/toggle.cjs';
|
|
58
59
|
export { ToggleGroup, ToggleGroupItem } from './toggle-group/toggle-group.cjs';
|
|
59
60
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './tooltip/tooltip.cjs';
|
|
61
|
+
export { Typography, TypographyProps, typographyVariants } from './typography/typography.cjs';
|
|
60
62
|
export { toast } from 'sonner';
|
|
61
63
|
import 'react';
|
|
62
64
|
import '@radix-ui/react-accordion';
|
|
@@ -21,6 +21,7 @@ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, Di
|
|
|
21
21
|
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './drawer/drawer.js';
|
|
22
22
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './dropdown-menu/dropdown-menu.js';
|
|
23
23
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './form/form.js';
|
|
24
|
+
export { GiniaWordmark, GiniaWordmarkProps, wordmarkVariants } from './ginia-wordmark/ginia-wordmark.js';
|
|
24
25
|
export { HoverCard, HoverCardContent, HoverCardTrigger } from './hover-card/hover-card.js';
|
|
25
26
|
export { Icon, IconProps, IconSize, iconSizes } from './icon/icon.js';
|
|
26
27
|
export { Input } from './input/input.js';
|
|
@@ -57,6 +58,7 @@ export { Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, T
|
|
|
57
58
|
export { Toggle, toggleVariants } from './toggle/toggle.js';
|
|
58
59
|
export { ToggleGroup, ToggleGroupItem } from './toggle-group/toggle-group.js';
|
|
59
60
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './tooltip/tooltip.js';
|
|
61
|
+
export { Typography, TypographyProps, typographyVariants } from './typography/typography.js';
|
|
60
62
|
export { toast } from 'sonner';
|
|
61
63
|
import 'react';
|
|
62
64
|
import '@radix-ui/react-accordion';
|
|
@@ -21,6 +21,7 @@ export * from "./dialog";
|
|
|
21
21
|
export * from "./drawer";
|
|
22
22
|
export * from "./dropdown-menu";
|
|
23
23
|
export * from "./form";
|
|
24
|
+
export * from "./ginia-wordmark";
|
|
24
25
|
export * from "./hover-card";
|
|
25
26
|
export * from "./icon";
|
|
26
27
|
export * from "./input";
|
|
@@ -57,4 +58,5 @@ export * from "./toast";
|
|
|
57
58
|
export * from "./toggle";
|
|
58
59
|
export * from "./toggle-group";
|
|
59
60
|
export * from "./tooltip";
|
|
61
|
+
export * from "./typography";
|
|
60
62
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/ui/index.ts"],"sourcesContent":["export * from \"./accordion\";\nexport * from \"./alert\";\nexport * from \"./alert-dialog\";\nexport * from \"./aspect-ratio\";\nexport * from \"./autocomplete\";\nexport * from \"./avatar\";\nexport * from \"./background\";\nexport * from \"./badge\";\nexport * from \"./breadcrumb\";\nexport * from \"./button\";\nexport * from \"./calendar\";\nexport * from \"./card\";\nexport * from \"./carousel\";\nexport * from \"./checkbox\";\nexport * from \"./collapsible\";\nexport * from \"./combobox\";\nexport * from \"./command\";\nexport * from \"./context-menu\";\nexport * from \"./date-picker\";\nexport * from \"./dialog\";\nexport * from \"./drawer\";\nexport * from \"./dropdown-menu\";\nexport * from \"./form\";\nexport * from \"./hover-card\";\nexport * from \"./icon\";\nexport * from \"./input\";\nexport * from \"./input-field\";\nexport * from \"./input-otp\";\nexport * from \"./label\";\nexport * from \"./logo\";\nexport * from \"./loading-state\";\nexport * from \"./menubar\";\nexport * from \"./month-year-picker\";\nexport * from \"./multi-select\";\nexport * from \"./navigation-menu\";\nexport * from \"./pagination\";\nexport * from \"./popover\";\nexport * from \"./progress\";\nexport * from \"./radio-group\";\nexport * from \"./resizable\";\nexport * from \"./rich-text-editor\";\nexport * from \"./scroll-area\";\nexport * from \"./section-loader\";\nexport * from \"./select\";\nexport * from \"./separator\";\nexport * from \"./sheet\";\nexport * from \"./skeleton\";\nexport * from \"./slider\";\nexport * from \"./sonner\";\nexport * from \"./spinner\";\nexport * from \"./switch\";\nexport * from \"./table\";\nexport * from \"./tabs\";\nexport * from \"./tag-input\";\nexport * from \"./textarea\";\nexport * from \"./toast\";\nexport * from \"./toggle\";\nexport * from \"./toggle-group\";\nexport * from \"./tooltip\";\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../src/components/ui/index.ts"],"sourcesContent":["export * from \"./accordion\";\nexport * from \"./alert\";\nexport * from \"./alert-dialog\";\nexport * from \"./aspect-ratio\";\nexport * from \"./autocomplete\";\nexport * from \"./avatar\";\nexport * from \"./background\";\nexport * from \"./badge\";\nexport * from \"./breadcrumb\";\nexport * from \"./button\";\nexport * from \"./calendar\";\nexport * from \"./card\";\nexport * from \"./carousel\";\nexport * from \"./checkbox\";\nexport * from \"./collapsible\";\nexport * from \"./combobox\";\nexport * from \"./command\";\nexport * from \"./context-menu\";\nexport * from \"./date-picker\";\nexport * from \"./dialog\";\nexport * from \"./drawer\";\nexport * from \"./dropdown-menu\";\nexport * from \"./form\";\nexport * from \"./ginia-wordmark\";\nexport * from \"./hover-card\";\nexport * from \"./icon\";\nexport * from \"./input\";\nexport * from \"./input-field\";\nexport * from \"./input-otp\";\nexport * from \"./label\";\nexport * from \"./logo\";\nexport * from \"./loading-state\";\nexport * from \"./menubar\";\nexport * from \"./month-year-picker\";\nexport * from \"./multi-select\";\nexport * from \"./navigation-menu\";\nexport * from \"./pagination\";\nexport * from \"./popover\";\nexport * from \"./progress\";\nexport * from \"./radio-group\";\nexport * from \"./resizable\";\nexport * from \"./rich-text-editor\";\nexport * from \"./scroll-area\";\nexport * from \"./section-loader\";\nexport * from \"./select\";\nexport * from \"./separator\";\nexport * from \"./sheet\";\nexport * from \"./skeleton\";\nexport * from \"./slider\";\nexport * from \"./sonner\";\nexport * from \"./spinner\";\nexport * from \"./switch\";\nexport * from \"./table\";\nexport * from \"./tabs\";\nexport * from \"./tag-input\";\nexport * from \"./textarea\";\nexport * from \"./toast\";\nexport * from \"./toggle\";\nexport * from \"./toggle-group\";\nexport * from \"./tooltip\";\nexport * from \"./typography\";\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var typography_exports = {};
|
|
20
|
+
__export(typography_exports, {
|
|
21
|
+
Typography: () => import_typography.Typography,
|
|
22
|
+
typographyVariants: () => import_typography.typographyVariants
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(typography_exports);
|
|
25
|
+
var import_typography = require("./typography");
|
|
26
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
27
|
+
0 && (module.exports = {
|
|
28
|
+
Typography,
|
|
29
|
+
typographyVariants
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ui/typography/index.ts"],"sourcesContent":["export { Typography, typographyVariants } from \"./typography\";\nexport type { TypographyProps } from \"./typography\";\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAA+C;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ui/typography/index.ts"],"sourcesContent":["export { Typography, typographyVariants } from \"./typography\";\nexport type { TypographyProps } from \"./typography\";\n"],"mappings":"AAAA,SAAS,YAAY,0BAA0B;","names":[]}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use client";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
var typography_exports = {};
|
|
21
|
+
__export(typography_exports, {
|
|
22
|
+
Typography: () => Typography,
|
|
23
|
+
typographyVariants: () => typographyVariants
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(typography_exports);
|
|
26
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
27
|
+
var import_react_slot = require("@radix-ui/react-slot");
|
|
28
|
+
var import_class_variance_authority = require("class-variance-authority");
|
|
29
|
+
var import_utils = require("../../../lib/utils");
|
|
30
|
+
const typographyVariants = (0, import_class_variance_authority.cva)("font-sans", {
|
|
31
|
+
variants: {
|
|
32
|
+
variant: {
|
|
33
|
+
display: "text-4xl font-bold tracking-tight md:text-5xl",
|
|
34
|
+
h1: "text-3xl font-semibold tracking-tight md:text-4xl",
|
|
35
|
+
h2: "text-2xl font-semibold tracking-tight md:text-3xl",
|
|
36
|
+
h3: "text-xl font-semibold tracking-tight md:text-2xl",
|
|
37
|
+
h4: "text-lg font-semibold md:text-xl",
|
|
38
|
+
h5: "text-base font-semibold md:text-lg",
|
|
39
|
+
h6: "text-sm font-semibold md:text-base",
|
|
40
|
+
lead: "text-lg text-muted-foreground md:text-xl",
|
|
41
|
+
body: "text-base leading-relaxed",
|
|
42
|
+
"body-sm": "text-sm leading-relaxed",
|
|
43
|
+
caption: "text-xs text-muted-foreground",
|
|
44
|
+
overline: "text-xs font-medium uppercase tracking-wider text-muted-foreground"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
defaultVariants: {
|
|
48
|
+
variant: "body"
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
const variantToDefaultTag = {
|
|
52
|
+
display: "div",
|
|
53
|
+
h1: "h1",
|
|
54
|
+
h2: "h2",
|
|
55
|
+
h3: "h3",
|
|
56
|
+
h4: "h4",
|
|
57
|
+
h5: "h5",
|
|
58
|
+
h6: "h6",
|
|
59
|
+
lead: "p",
|
|
60
|
+
body: "p",
|
|
61
|
+
"body-sm": "p",
|
|
62
|
+
caption: "p",
|
|
63
|
+
overline: "p"
|
|
64
|
+
};
|
|
65
|
+
function Typography({
|
|
66
|
+
className,
|
|
67
|
+
variant = "body",
|
|
68
|
+
as,
|
|
69
|
+
asChild = false,
|
|
70
|
+
...props
|
|
71
|
+
}) {
|
|
72
|
+
const Comp = asChild ? import_react_slot.Slot : as ?? variantToDefaultTag[variant ?? "body"];
|
|
73
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Comp, { className: (0, import_utils.cn)(typographyVariants({ variant }), className), "data-slot": "typography", ...props });
|
|
74
|
+
}
|
|
75
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
76
|
+
0 && (module.exports = {
|
|
77
|
+
Typography,
|
|
78
|
+
typographyVariants
|
|
79
|
+
});
|
|
80
|
+
//# sourceMappingURL=typography.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ui/typography/typography.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../../lib/utils\";\n\nconst typographyVariants = cva(\"font-sans\", {\n variants: {\n variant: {\n display: \"text-4xl font-bold tracking-tight md:text-5xl\",\n h1: \"text-3xl font-semibold tracking-tight md:text-4xl\",\n h2: \"text-2xl font-semibold tracking-tight md:text-3xl\",\n h3: \"text-xl font-semibold tracking-tight md:text-2xl\",\n h4: \"text-lg font-semibold md:text-xl\",\n h5: \"text-base font-semibold md:text-lg\",\n h6: \"text-sm font-semibold md:text-base\",\n lead: \"text-lg text-muted-foreground md:text-xl\",\n body: \"text-base leading-relaxed\",\n \"body-sm\": \"text-sm leading-relaxed\",\n caption: \"text-xs text-muted-foreground\",\n overline: \"text-xs font-medium uppercase tracking-wider text-muted-foreground\",\n },\n },\n defaultVariants: {\n variant: \"body\",\n },\n});\n\nconst variantToDefaultTag: Record<\n NonNullable<VariantProps<typeof typographyVariants>[\"variant\"]>,\n React.ElementType\n> = {\n display: \"div\",\n h1: \"h1\",\n h2: \"h2\",\n h3: \"h3\",\n h4: \"h4\",\n h5: \"h5\",\n h6: \"h6\",\n lead: \"p\",\n body: \"p\",\n \"body-sm\": \"p\",\n caption: \"p\",\n overline: \"p\",\n};\n\nexport interface TypographyProps\n extends React.HTMLAttributes<HTMLElement>,\n VariantProps<typeof typographyVariants> {\n asChild?: boolean;\n as?: React.ElementType;\n}\n\nfunction Typography({\n className,\n variant = \"body\",\n as,\n asChild = false,\n ...props\n}: TypographyProps) {\n const Comp = asChild ? Slot : (as ?? variantToDefaultTag[variant ?? \"body\"]);\n\n return (\n <Comp className={cn(typographyVariants({ variant }), className)} data-slot=\"typography\" {...props} />\n );\n}\n\nexport { Typography, typographyVariants };\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiEI;AA9DJ,wBAAqB;AACrB,sCAAuC;AAEvC,mBAAmB;AAEnB,MAAM,yBAAqB,qCAAI,aAAa;AAAA,EAC1C,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,MAAM;AAAA,MACN,WAAW;AAAA,MACX,SAAS;AAAA,MACT,UAAU;AAAA,IACZ;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,SAAS;AAAA,EACX;AACF,CAAC;AAED,MAAM,sBAGF;AAAA,EACF,SAAS;AAAA,EACT,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,MAAM;AAAA,EACN,WAAW;AAAA,EACX,SAAS;AAAA,EACT,UAAU;AACZ;AASA,SAAS,WAAW;AAAA,EAClB;AAAA,EACA,UAAU;AAAA,EACV;AAAA,EACA,UAAU;AAAA,EACV,GAAG;AACL,GAAoB;AAClB,QAAM,OAAO,UAAU,yBAAQ,MAAM,oBAAoB,WAAW,MAAM;AAE1E,SACE,4CAAC,QAAK,eAAW,iBAAG,mBAAmB,EAAE,QAAQ,CAAC,GAAG,SAAS,GAAG,aAAU,cAAc,GAAG,OAAO;AAEvG;","names":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const typographyVariants: (props?: ({
|
|
7
|
+
variant?: "body" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "display" | "lead" | "body-sm" | "overline" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
interface TypographyProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
|
|
10
|
+
asChild?: boolean;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
}
|
|
13
|
+
declare function Typography({ className, variant, as, asChild, ...props }: TypographyProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
export { Typography, type TypographyProps, typographyVariants };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare const typographyVariants: (props?: ({
|
|
7
|
+
variant?: "body" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "display" | "lead" | "body-sm" | "overline" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
interface TypographyProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
|
|
10
|
+
asChild?: boolean;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
}
|
|
13
|
+
declare function Typography({ className, variant, as, asChild, ...props }: TypographyProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
export { Typography, type TypographyProps, typographyVariants };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
import { cn } from "../../../lib/utils";
|
|
6
|
+
const typographyVariants = cva("font-sans", {
|
|
7
|
+
variants: {
|
|
8
|
+
variant: {
|
|
9
|
+
display: "text-4xl font-bold tracking-tight md:text-5xl",
|
|
10
|
+
h1: "text-3xl font-semibold tracking-tight md:text-4xl",
|
|
11
|
+
h2: "text-2xl font-semibold tracking-tight md:text-3xl",
|
|
12
|
+
h3: "text-xl font-semibold tracking-tight md:text-2xl",
|
|
13
|
+
h4: "text-lg font-semibold md:text-xl",
|
|
14
|
+
h5: "text-base font-semibold md:text-lg",
|
|
15
|
+
h6: "text-sm font-semibold md:text-base",
|
|
16
|
+
lead: "text-lg text-muted-foreground md:text-xl",
|
|
17
|
+
body: "text-base leading-relaxed",
|
|
18
|
+
"body-sm": "text-sm leading-relaxed",
|
|
19
|
+
caption: "text-xs text-muted-foreground",
|
|
20
|
+
overline: "text-xs font-medium uppercase tracking-wider text-muted-foreground"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
defaultVariants: {
|
|
24
|
+
variant: "body"
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
const variantToDefaultTag = {
|
|
28
|
+
display: "div",
|
|
29
|
+
h1: "h1",
|
|
30
|
+
h2: "h2",
|
|
31
|
+
h3: "h3",
|
|
32
|
+
h4: "h4",
|
|
33
|
+
h5: "h5",
|
|
34
|
+
h6: "h6",
|
|
35
|
+
lead: "p",
|
|
36
|
+
body: "p",
|
|
37
|
+
"body-sm": "p",
|
|
38
|
+
caption: "p",
|
|
39
|
+
overline: "p"
|
|
40
|
+
};
|
|
41
|
+
function Typography({
|
|
42
|
+
className,
|
|
43
|
+
variant = "body",
|
|
44
|
+
as,
|
|
45
|
+
asChild = false,
|
|
46
|
+
...props
|
|
47
|
+
}) {
|
|
48
|
+
const Comp = asChild ? Slot : as ?? variantToDefaultTag[variant ?? "body"];
|
|
49
|
+
return /* @__PURE__ */ jsx(Comp, { className: cn(typographyVariants({ variant }), className), "data-slot": "typography", ...props });
|
|
50
|
+
}
|
|
51
|
+
export {
|
|
52
|
+
Typography,
|
|
53
|
+
typographyVariants
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=typography.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ui/typography/typography.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../../lib/utils\";\n\nconst typographyVariants = cva(\"font-sans\", {\n variants: {\n variant: {\n display: \"text-4xl font-bold tracking-tight md:text-5xl\",\n h1: \"text-3xl font-semibold tracking-tight md:text-4xl\",\n h2: \"text-2xl font-semibold tracking-tight md:text-3xl\",\n h3: \"text-xl font-semibold tracking-tight md:text-2xl\",\n h4: \"text-lg font-semibold md:text-xl\",\n h5: \"text-base font-semibold md:text-lg\",\n h6: \"text-sm font-semibold md:text-base\",\n lead: \"text-lg text-muted-foreground md:text-xl\",\n body: \"text-base leading-relaxed\",\n \"body-sm\": \"text-sm leading-relaxed\",\n caption: \"text-xs text-muted-foreground\",\n overline: \"text-xs font-medium uppercase tracking-wider text-muted-foreground\",\n },\n },\n defaultVariants: {\n variant: \"body\",\n },\n});\n\nconst variantToDefaultTag: Record<\n NonNullable<VariantProps<typeof typographyVariants>[\"variant\"]>,\n React.ElementType\n> = {\n display: \"div\",\n h1: \"h1\",\n h2: \"h2\",\n h3: \"h3\",\n h4: \"h4\",\n h5: \"h5\",\n h6: \"h6\",\n lead: \"p\",\n body: \"p\",\n \"body-sm\": \"p\",\n caption: \"p\",\n overline: \"p\",\n};\n\nexport interface TypographyProps\n extends React.HTMLAttributes<HTMLElement>,\n VariantProps<typeof typographyVariants> {\n asChild?: boolean;\n as?: React.ElementType;\n}\n\nfunction Typography({\n className,\n variant = \"body\",\n as,\n asChild = false,\n ...props\n}: TypographyProps) {\n const Comp = asChild ? Slot : (as ?? variantToDefaultTag[variant ?? \"body\"]);\n\n return (\n <Comp className={cn(typographyVariants({ variant }), className)} data-slot=\"typography\" {...props} />\n );\n}\n\nexport { Typography, typographyVariants };\n"],"mappings":";AAiEI;AA9DJ,SAAS,YAAY;AACrB,SAAS,WAA8B;AAEvC,SAAS,UAAU;AAEnB,MAAM,qBAAqB,IAAI,aAAa;AAAA,EAC1C,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,MAAM;AAAA,MACN,WAAW;AAAA,MACX,SAAS;AAAA,MACT,UAAU;AAAA,IACZ;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,SAAS;AAAA,EACX;AACF,CAAC;AAED,MAAM,sBAGF;AAAA,EACF,SAAS;AAAA,EACT,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,MAAM;AAAA,EACN,WAAW;AAAA,EACX,SAAS;AAAA,EACT,UAAU;AACZ;AASA,SAAS,WAAW;AAAA,EAClB;AAAA,EACA,UAAU;AAAA,EACV;AAAA,EACA,UAAU;AAAA,EACV,GAAG;AACL,GAAoB;AAClB,QAAM,OAAO,UAAU,OAAQ,MAAM,oBAAoB,WAAW,MAAM;AAE1E,SACE,oBAAC,QAAK,WAAW,GAAG,mBAAmB,EAAE,QAAQ,CAAC,GAAG,SAAS,GAAG,aAAU,cAAc,GAAG,OAAO;AAEvG;","names":[]}
|
package/dist/index.d.cts
CHANGED
|
@@ -27,6 +27,7 @@ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, Di
|
|
|
27
27
|
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './components/ui/drawer/drawer.cjs';
|
|
28
28
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './components/ui/dropdown-menu/dropdown-menu.cjs';
|
|
29
29
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './components/ui/form/form.cjs';
|
|
30
|
+
export { GiniaWordmark, GiniaWordmarkProps, wordmarkVariants } from './components/ui/ginia-wordmark/ginia-wordmark.cjs';
|
|
30
31
|
export { HoverCard, HoverCardContent, HoverCardTrigger } from './components/ui/hover-card/hover-card.cjs';
|
|
31
32
|
export { Icon, IconProps, IconSize, iconSizes } from './components/ui/icon/icon.cjs';
|
|
32
33
|
export { Input } from './components/ui/input/input.cjs';
|
|
@@ -63,6 +64,7 @@ export { Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, T
|
|
|
63
64
|
export { Toggle, toggleVariants } from './components/ui/toggle/toggle.cjs';
|
|
64
65
|
export { ToggleGroup, ToggleGroupItem } from './components/ui/toggle-group/toggle-group.cjs';
|
|
65
66
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './components/ui/tooltip/tooltip.cjs';
|
|
67
|
+
export { Typography, TypographyProps, typographyVariants } from './components/ui/typography/typography.cjs';
|
|
66
68
|
export { Action, CVActivityItem, CVCertificationItem, CVDocumentItem, CVEducationItem, CVExperienceBaseItem, CVExperienceItem, CVSkillItem, CandidateProfile, CertificationWithAction, DocumentWithAction, ExperienceWithAction, ResumeAward, ResumeEducation, ResumeExperience, ResumeMenuSlot, ResumeProps, ResumeSavePayload, ResumeSkill, SkillWithAction } from './components/domain/resume/types.cjs';
|
|
67
69
|
export { Resume } from './components/domain/resume/resume.cjs';
|
|
68
70
|
export { ResumeEditor, ResumeEditorProps } from './components/domain/resume/resume-editor/resume-editor.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, Di
|
|
|
27
27
|
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './components/ui/drawer/drawer.js';
|
|
28
28
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './components/ui/dropdown-menu/dropdown-menu.js';
|
|
29
29
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './components/ui/form/form.js';
|
|
30
|
+
export { GiniaWordmark, GiniaWordmarkProps, wordmarkVariants } from './components/ui/ginia-wordmark/ginia-wordmark.js';
|
|
30
31
|
export { HoverCard, HoverCardContent, HoverCardTrigger } from './components/ui/hover-card/hover-card.js';
|
|
31
32
|
export { Icon, IconProps, IconSize, iconSizes } from './components/ui/icon/icon.js';
|
|
32
33
|
export { Input } from './components/ui/input/input.js';
|
|
@@ -63,6 +64,7 @@ export { Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, T
|
|
|
63
64
|
export { Toggle, toggleVariants } from './components/ui/toggle/toggle.js';
|
|
64
65
|
export { ToggleGroup, ToggleGroupItem } from './components/ui/toggle-group/toggle-group.js';
|
|
65
66
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './components/ui/tooltip/tooltip.js';
|
|
67
|
+
export { Typography, TypographyProps, typographyVariants } from './components/ui/typography/typography.js';
|
|
66
68
|
export { Action, CVActivityItem, CVCertificationItem, CVDocumentItem, CVEducationItem, CVExperienceBaseItem, CVExperienceItem, CVSkillItem, CandidateProfile, CertificationWithAction, DocumentWithAction, ExperienceWithAction, ResumeAward, ResumeEducation, ResumeExperience, ResumeMenuSlot, ResumeProps, ResumeSavePayload, ResumeSkill, SkillWithAction } from './components/domain/resume/types.js';
|
|
67
69
|
export { Resume } from './components/domain/resume/resume.js';
|
|
68
70
|
export { ResumeEditor, ResumeEditorProps } from './components/domain/resume/resume-editor/resume-editor.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ginia/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.23",
|
|
4
4
|
"description": "Ginia Design System — Unified UI component library for all Ginia hubs",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -34,6 +34,18 @@
|
|
|
34
34
|
"require": "./dist/icons.cjs"
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "NODE_OPTIONS=--max-old-space-size=8192 tsup",
|
|
39
|
+
"dev": "tsup --watch",
|
|
40
|
+
"clean": "rm -rf dist",
|
|
41
|
+
"typecheck": "tsc --noEmit",
|
|
42
|
+
"lint": "eslint src/",
|
|
43
|
+
"lint:fix": "eslint src/ --fix",
|
|
44
|
+
"format": "prettier --write 'src/**/*.{ts,tsx,css,json}'",
|
|
45
|
+
"format:check": "prettier --check 'src/**/*.{ts,tsx,css,json}'",
|
|
46
|
+
"storybook": "storybook dev -p 6006",
|
|
47
|
+
"build-storybook": "storybook build"
|
|
48
|
+
},
|
|
37
49
|
"peerDependencies": {
|
|
38
50
|
"react": ">=18",
|
|
39
51
|
"react-dom": ">=18",
|
|
@@ -125,17 +137,5 @@
|
|
|
125
137
|
"typescript-eslint": "^8.56.1",
|
|
126
138
|
"vite": "^5.4.0",
|
|
127
139
|
"zod": "^4.3.6"
|
|
128
|
-
},
|
|
129
|
-
"scripts": {
|
|
130
|
-
"build": "NODE_OPTIONS=--max-old-space-size=8192 tsup",
|
|
131
|
-
"dev": "tsup --watch",
|
|
132
|
-
"clean": "rm -rf dist",
|
|
133
|
-
"typecheck": "tsc --noEmit",
|
|
134
|
-
"lint": "eslint src/",
|
|
135
|
-
"lint:fix": "eslint src/ --fix",
|
|
136
|
-
"format": "prettier --write 'src/**/*.{ts,tsx,css,json}'",
|
|
137
|
-
"format:check": "prettier --check 'src/**/*.{ts,tsx,css,json}'",
|
|
138
|
-
"storybook": "storybook dev -p 6006",
|
|
139
|
-
"build-storybook": "storybook build"
|
|
140
140
|
}
|
|
141
|
-
}
|
|
141
|
+
}
|