@tryghost/shade 0.1.0-alpha.42 → 0.1.0-alpha.44
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/es/assets/images/index.js +1 -1
- package/es/components/ui/icon.js +1 -1
- package/es/components/ui/input-group-variants.js +1 -1
- package/es/components/ui/input-group-variants.js.map +1 -1
- package/es/components.js +2 -2
- package/es/{icon-BJcGsQ4b.js → icon--CakqPdG.js} +15 -19
- package/es/icon--CakqPdG.js.map +1 -0
- package/es/{images-DtbFINdz.js → images-F6slcZrB.js} +14 -20
- package/es/images-F6slcZrB.js.map +1 -0
- package/es/index.js +2 -2
- package/es/lib/svg-graphic.js +32 -0
- package/es/lib/svg-graphic.js.map +1 -0
- package/es/providers/shade-provider.js +1 -1
- package/package.json +1 -1
- package/types/assets/images/index.d.ts +3 -2
- package/types/assets/images/index.d.ts.map +1 -1
- package/types/components/ui/icon.d.ts +2 -1
- package/types/components/ui/icon.d.ts.map +1 -1
- package/types/components/ui/input-group-variants.d.ts.map +1 -1
- package/types/lib/svg-graphic.d.ts +22 -0
- package/types/lib/svg-graphic.d.ts.map +1 -0
- package/es/icon-BJcGsQ4b.js.map +0 -1
- package/es/images-DtbFINdz.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as XLogo, i as GoogleLogo, n as GhostLogo, r as GhostOrb, t as FacebookLogo } from "../../images-
|
|
1
|
+
import { a as XLogo, i as GoogleLogo, n as GhostLogo, r as GhostOrb, t as FacebookLogo } from "../../images-F6slcZrB.js";
|
|
2
2
|
export { FacebookLogo, GhostLogo, GhostOrb, GoogleLogo, XLogo };
|
package/es/components/ui/icon.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as IconComponents, t as Icon } from "../../icon
|
|
1
|
+
import { n as IconComponents, t as Icon } from "../../icon--CakqPdG.js";
|
|
2
2
|
export { IconComponents, Icon as default };
|
|
@@ -2,7 +2,7 @@ import { cn } from "../../lib/ds-utils.js";
|
|
|
2
2
|
import { inputSurfaceClasses } from "./input-surface.js";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
//#region src/components/ui/input-group-variants.ts
|
|
5
|
-
var inputGroupVariants = cva(cn(inputSurfaceClasses.base, inputSurfaceClasses.invalidWithin, "group/input-group relative flex w-full items-center outline-hidden data-[disabled=true]:bg-field-disabled-surface [&>[data-slot=input-group-control]]:bg-transparent", "h-(--control-height) has-[>textarea]:h-auto", "has-[>[data-align=inline-start]]:[&>input]:pl-2", "has-[>[data-align=inline-end]]:[&>input]:pr-2", "has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-3", "has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3", "has-[[data-slot=input-group-control]:focus-visible]:
|
|
5
|
+
var inputGroupVariants = cva(cn(inputSurfaceClasses.base, inputSurfaceClasses.invalidWithin, "group/input-group relative flex w-full items-center outline-hidden data-[disabled=true]:bg-field-disabled-surface [&>[data-slot=input-group-control]]:bg-transparent", "h-(--control-height) has-[>textarea]:h-auto", "has-[>[data-align=inline-start]]:[&>input]:pl-2", "has-[>[data-align=inline-end]]:[&>input]:pr-2", "has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-3", "has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3", "has-[[data-slot=input-group-control]:focus-visible]:ring-2 has-[[data-slot=input-group-control]:focus-visible]:outline-hidden has-[[data-slot=input-group-control]:focus-visible]:not-has-[[aria-invalid=true]]:border-focus-ring has-[[data-slot=input-group-control]:focus-visible]:not-has-[[aria-invalid=true]]:ring-focus-ring/25", "in-data-[admin7-design=true]:has-[[data-slot=input-group-control]:focus-visible]:bg-control-surface"), {
|
|
6
6
|
variants: {
|
|
7
7
|
variant: {
|
|
8
8
|
default: "",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-group-variants.js","names":[],"sources":["../../../src/components/ui/input-group-variants.ts"],"sourcesContent":["import { cva } from 'class-variance-authority';\nimport { inputSurfaceClasses } from '@/components/ui/input-surface';\nimport { cn } from '@/lib/utils';\n\nconst inputGroupVariants = cva(\n cn(\n // Shared surface chrome (border, bg, radius, transition, invalid state).\n inputSurfaceClasses.base,\n inputSurfaceClasses.invalidWithin,\n\n // Wrapper layout + group context (input-group specific).\n 'group/input-group relative flex w-full items-center outline-hidden data-[disabled=true]:bg-field-disabled-surface [&>[data-slot=input-group-control]]:bg-transparent',\n 'h-(--control-height) has-[>textarea]:h-auto',\n\n // Variants based on alignment.\n 'has-[>[data-align=inline-start]]:[&>input]:pl-2',\n 'has-[>[data-align=inline-end]]:[&>input]:pr-2',\n 'has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-3',\n 'has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3',\n\n // Focus state — scoped to the input-group control specifically so that\n // focusing an InputGroupButton inside the group does NOT trigger the surface\n // focus ring. This is why we don't use inputSurface('within') here.\n 'has-[[data-slot=input-group-control]:focus-visible]:
|
|
1
|
+
{"version":3,"file":"input-group-variants.js","names":[],"sources":["../../../src/components/ui/input-group-variants.ts"],"sourcesContent":["import { cva } from 'class-variance-authority';\nimport { inputSurfaceClasses } from '@/components/ui/input-surface';\nimport { cn } from '@/lib/utils';\n\nconst inputGroupVariants = cva(\n cn(\n // Shared surface chrome (border, bg, radius, transition, invalid state).\n inputSurfaceClasses.base,\n inputSurfaceClasses.invalidWithin,\n\n // Wrapper layout + group context (input-group specific).\n 'group/input-group relative flex w-full items-center outline-hidden data-[disabled=true]:bg-field-disabled-surface [&>[data-slot=input-group-control]]:bg-transparent',\n 'h-(--control-height) has-[>textarea]:h-auto',\n\n // Variants based on alignment.\n 'has-[>[data-align=inline-start]]:[&>input]:pl-2',\n 'has-[>[data-align=inline-end]]:[&>input]:pr-2',\n 'has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-3',\n 'has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3',\n\n // Focus state — scoped to the input-group control specifically so that\n // focusing an InputGroupButton inside the group does NOT trigger the surface\n // focus ring. Invalid groups keep the recipe's error border and ring color\n // when focused. This is why we don't use inputSurface('within') here.\n 'has-[[data-slot=input-group-control]:focus-visible]:ring-2 has-[[data-slot=input-group-control]:focus-visible]:outline-hidden has-[[data-slot=input-group-control]:focus-visible]:not-has-[[aria-invalid=true]]:border-focus-ring has-[[data-slot=input-group-control]:focus-visible]:not-has-[[aria-invalid=true]]:ring-focus-ring/25',\n 'in-data-[admin7-design=true]:has-[[data-slot=input-group-control]:focus-visible]:bg-control-surface',\n ),\n {\n variants: {\n variant: {\n default: '',\n // Ghost and secondary groups read as buttons until used, so they keep a button's corners.\n ghost:\n 'border-transparent bg-transparent shadow-none [--radius-field:var(--radius-control)] [--text-field:var(--text-control)] hover:bg-button-hover',\n secondary:\n 'border-transparent bg-tab-active text-secondary-foreground shadow-none [--radius-field:var(--radius-control)] [--text-field:var(--text-control)] hover:bg-secondary has-[[data-slot=input-group-control]:focus-visible]:bg-field-surface has-[[data-slot=input-group-control]:focus-visible]:hover:bg-field-surface has-[[data-slot=input-group-control]:not(:placeholder-shown)]:border-field-border has-[[data-slot=input-group-control]:not(:placeholder-shown)]:bg-field-surface has-[[data-slot=input-group-control]:not(:placeholder-shown)]:hover:bg-field-surface',\n },\n shape: {\n rounded: 'rounded-field',\n pill: 'rounded-full has-[>[data-align=block-end]]:rounded-field has-[>[data-align=block-start]]:rounded-field has-[>textarea]:rounded-field',\n },\n },\n defaultVariants: {\n variant: 'default',\n shape: 'rounded',\n },\n },\n);\n\nexport { inputGroupVariants };\n"],"mappings":";;;;AAIA,IAAM,qBAAqB,IACzB,GAEE,oBAAoB,MACpB,oBAAoB,eAGpB,wKACA,+CAGA,mDACA,iDACA,kIACA,4HAMA,0UACA,qGACF,GACA;CACE,UAAU;EACR,SAAS;GACP,SAAS;GAET,OACE;GACF,WACE;EACJ;EACA,OAAO;GACL,SAAS;GACT,MAAM;EACR;CACF;CACA,iBAAiB;EACf,SAAS;EACT,OAAO;CACT;AACF,CACF"}
|
package/es/components.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as IconComponents } from "./icon
|
|
1
|
+
import { n as IconComponents } from "./icon--CakqPdG.js";
|
|
2
2
|
import { Toaster } from "./components/ui/sonner.js";
|
|
3
3
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./components/ui/tooltip.js";
|
|
4
4
|
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./components/ui/dropdown-menu.js";
|
|
@@ -74,7 +74,7 @@ import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, Tabl
|
|
|
74
74
|
import { Textarea } from "./components/ui/textarea.js";
|
|
75
75
|
import { toast } from "./components/ui/toast.js";
|
|
76
76
|
import { ToggleGroup, ToggleGroupItem } from "./components/ui/toggle-group.js";
|
|
77
|
-
import { a as XLogo, i as GoogleLogo, n as GhostLogo, r as GhostOrb, t as FacebookLogo } from "./images-
|
|
77
|
+
import { a as XLogo, i as GoogleLogo, n as GhostLogo, r as GhostOrb, t as FacebookLogo } from "./images-F6slcZrB.js";
|
|
78
78
|
import { TimePicker } from "./components/ui/time-picker.js";
|
|
79
79
|
import { tokenFieldClasses } from "./components/ui/token-field.js";
|
|
80
80
|
import { RowPrimaryAction } from "./components/ui/row-primary-action.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { cn, kebabToPascalCase } from "./lib/ds-utils.js";
|
|
2
|
+
import { svgGraphicProps } from "./lib/svg-graphic.js";
|
|
2
3
|
import React from "react";
|
|
3
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
5
|
import { cva } from "class-variance-authority";
|
|
@@ -16,46 +17,43 @@ var __exportAll = (all, no_symbols) => {
|
|
|
16
17
|
//#endregion
|
|
17
18
|
//#region src/assets/icons/error-fill.svg?react
|
|
18
19
|
var error_fill_exports = /* @__PURE__ */ __exportAll({ default: () => SvgErrorFill });
|
|
19
|
-
var SvgErrorFill = (props) => /* @__PURE__ */
|
|
20
|
+
var SvgErrorFill = (props) => /* @__PURE__ */ jsx("svg", {
|
|
20
21
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21
22
|
viewBox: "0 0 24 24",
|
|
22
23
|
height: 24,
|
|
23
24
|
width: 24,
|
|
24
|
-
id: "Alert-Triangle--Streamline-Ultimate",
|
|
25
25
|
...props,
|
|
26
|
-
children:
|
|
26
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
27
27
|
d: "m23.77 20.57 -10 -19A2 2 0 0 0 12 0.5a2 2 0 0 0 -1.77 1.07l-10 19a2 2 0 0 0 0.06 2A2 2 0 0 0 2 23.5h20a2 2 0 0 0 1.77 -2.93ZM11 8.5a1 1 0 0 1 2 0v6a1 1 0 0 1 -2 0ZM12.05 20a1.53 1.53 0 0 1 -1.52 -1.47A1.48 1.48 0 0 1 12 17a1.53 1.53 0 0 1 1.52 1.47A1.48 1.48 0 0 1 12.05 20Z",
|
|
28
28
|
fill: "currentColor",
|
|
29
29
|
strokeWidth: 1
|
|
30
|
-
})
|
|
30
|
+
})
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
//#region src/assets/icons/info-fill.svg?react
|
|
34
34
|
var info_fill_exports = /* @__PURE__ */ __exportAll({ default: () => SvgInfoFill });
|
|
35
|
-
var SvgInfoFill = (props) => /* @__PURE__ */
|
|
35
|
+
var SvgInfoFill = (props) => /* @__PURE__ */ jsx("svg", {
|
|
36
36
|
xmlns: "http://www.w3.org/2000/svg",
|
|
37
37
|
viewBox: "0 0 24 24",
|
|
38
38
|
height: 24,
|
|
39
39
|
width: 24,
|
|
40
|
-
id: "Information-Circle--Streamline-Ultimate",
|
|
41
40
|
...props,
|
|
42
|
-
children:
|
|
41
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
43
42
|
d: "M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0Zm0.25 5a1.5 1.5 0 1 1 -1.5 1.5 1.5 1.5 0 0 1 1.5 -1.5Zm2.25 13.5h-4a1 1 0 0 1 0 -2h0.75a0.25 0.25 0 0 0 0.25 -0.25v-4.5a0.25 0.25 0 0 0 -0.25 -0.25h-0.75a1 1 0 0 1 0 -2h1a2 2 0 0 1 2 2v4.75a0.25 0.25 0 0 0 0.25 0.25h0.75a1 1 0 0 1 0 2Z",
|
|
44
43
|
fill: "currentcolor",
|
|
45
44
|
strokeWidth: 1
|
|
46
|
-
})
|
|
45
|
+
})
|
|
47
46
|
});
|
|
48
47
|
//#endregion
|
|
49
48
|
//#region src/assets/icons/skull-and-bones.svg?react
|
|
50
49
|
var skull_and_bones_exports = /* @__PURE__ */ __exportAll({ default: () => SvgSkullAndBones });
|
|
51
|
-
var SvgSkullAndBones = (props) => /* @__PURE__ */
|
|
50
|
+
var SvgSkullAndBones = (props) => /* @__PURE__ */ jsx("svg", {
|
|
52
51
|
height: 16,
|
|
53
|
-
id: "Skull-2--Streamline-Ultimate",
|
|
54
52
|
viewBox: "0 0 16 16",
|
|
55
53
|
width: 16,
|
|
56
54
|
xmlns: "http://www.w3.org/2000/svg",
|
|
57
55
|
...props,
|
|
58
|
-
children:
|
|
56
|
+
children: /* @__PURE__ */ jsxs("g", { children: [
|
|
59
57
|
/* @__PURE__ */ jsx("path", {
|
|
60
58
|
d: "M12.333333333333332 7.333333333333333a4.333333333333333 4.333333333333333 0 1 0 -7.333333333333333 3.126666666666667v1.88a1 1 0 0 0 2 0 1 1 0 0 0 2 0 1 1 0 1 0 2 0v-1.88a4.326666666666666 4.326666666666666 0 0 0 1.3333333333333333 -3.126666666666667Zm-6.253333333333334 1a1 1 0 1 1 1 -1 1 1 0 0 1 -1 1Zm4 0a1 1 0 1 1 1 -1 1 1 0 0 1 -1 1Z",
|
|
61
59
|
fill: "currentColor",
|
|
@@ -81,23 +79,22 @@ var SvgSkullAndBones = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
|
81
79
|
fill: "currentColor",
|
|
82
80
|
strokeWidth: .6667
|
|
83
81
|
})
|
|
84
|
-
] })
|
|
82
|
+
] })
|
|
85
83
|
});
|
|
86
84
|
//#endregion
|
|
87
85
|
//#region src/assets/icons/success-fill.svg?react
|
|
88
86
|
var success_fill_exports = /* @__PURE__ */ __exportAll({ default: () => SvgSuccessFill });
|
|
89
|
-
var SvgSuccessFill = (props) => /* @__PURE__ */
|
|
87
|
+
var SvgSuccessFill = (props) => /* @__PURE__ */ jsx("svg", {
|
|
90
88
|
xmlns: "http://www.w3.org/2000/svg",
|
|
91
89
|
viewBox: "0 0 24 24",
|
|
92
90
|
height: 24,
|
|
93
91
|
width: 24,
|
|
94
|
-
id: "Check-Circle-1--Streamline-Ultimate",
|
|
95
92
|
...props,
|
|
96
|
-
children:
|
|
93
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
97
94
|
d: "M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0Zm6.93 8.2 -6.85 9.29a1 1 0 0 1 -1.43 0.19l-4.89 -3.91a1 1 0 0 1 -0.15 -1.41A1 1 0 0 1 7 12.21l4.08 3.26L17.32 7a1 1 0 0 1 1.39 -0.21 1 1 0 0 1 0.22 1.41Z",
|
|
98
95
|
fill: "currentcolor",
|
|
99
96
|
strokeWidth: 1
|
|
100
|
-
})
|
|
97
|
+
})
|
|
101
98
|
});
|
|
102
99
|
//#endregion
|
|
103
100
|
//#region src/assets/icons/typography.svg?react
|
|
@@ -109,7 +106,6 @@ var SvgTypography = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
|
109
106
|
width: 24,
|
|
110
107
|
...props,
|
|
111
108
|
children: [
|
|
112
|
-
/* @__PURE__ */ jsx("desc", { children: "Typography" }),
|
|
113
109
|
/* @__PURE__ */ jsx("path", {
|
|
114
110
|
d: "m0.578125 9.827354166666668 8.09375 0",
|
|
115
111
|
fill: "none",
|
|
@@ -170,7 +166,7 @@ var Icon = Object.entries(/* @__PURE__ */ Object.assign({
|
|
|
170
166
|
className
|
|
171
167
|
}));
|
|
172
168
|
return React.createElement(module.default, {
|
|
173
|
-
...rest,
|
|
169
|
+
...svgGraphicProps(rest),
|
|
174
170
|
className: iconClassName
|
|
175
171
|
});
|
|
176
172
|
};
|
|
@@ -182,4 +178,4 @@ var IconComponents = Icon;
|
|
|
182
178
|
//#endregion
|
|
183
179
|
export { IconComponents as n, Icon as t };
|
|
184
180
|
|
|
185
|
-
//# sourceMappingURL=icon
|
|
181
|
+
//# sourceMappingURL=icon--CakqPdG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon--CakqPdG.js","names":[],"sources":["../src/assets/icons/error-fill.svg?react","../src/assets/icons/info-fill.svg?react","../src/assets/icons/skull-and-bones.svg?react","../src/assets/icons/success-fill.svg?react","../src/assets/icons/typography.svg?react","../src/components/ui/icon.ts"],"sourcesContent":["import * as React from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgErrorFill = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tviewBox: \"0 0 24 24\",\n\theight: 24,\n\twidth: 24,\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"m23.77 20.57 -10 -19A2 2 0 0 0 12 0.5a2 2 0 0 0 -1.77 1.07l-10 19a2 2 0 0 0 0.06 2A2 2 0 0 0 2 23.5h20a2 2 0 0 0 1.77 -2.93ZM11 8.5a1 1 0 0 1 2 0v6a1 1 0 0 1 -2 0ZM12.05 20a1.53 1.53 0 0 1 -1.52 -1.47A1.48 1.48 0 0 1 12 17a1.53 1.53 0 0 1 1.52 1.47A1.48 1.48 0 0 1 12.05 20Z\",\n\t\tfill: \"currentColor\",\n\t\tstrokeWidth: 1\n\t})\n});\nexport default SvgErrorFill;\n","import * as React from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgInfoFill = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tviewBox: \"0 0 24 24\",\n\theight: 24,\n\twidth: 24,\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0Zm0.25 5a1.5 1.5 0 1 1 -1.5 1.5 1.5 1.5 0 0 1 1.5 -1.5Zm2.25 13.5h-4a1 1 0 0 1 0 -2h0.75a0.25 0.25 0 0 0 0.25 -0.25v-4.5a0.25 0.25 0 0 0 -0.25 -0.25h-0.75a1 1 0 0 1 0 -2h1a2 2 0 0 1 2 2v4.75a0.25 0.25 0 0 0 0.25 0.25h0.75a1 1 0 0 1 0 2Z\",\n\t\tfill: \"currentcolor\",\n\t\tstrokeWidth: 1\n\t})\n});\nexport default SvgInfoFill;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgSkullAndBones = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\theight: 16,\n\tviewBox: \"0 0 16 16\",\n\twidth: 16,\n\txmlns: \"http://www.w3.org/2000/svg\",\n\t...props,\n\tchildren: /* @__PURE__ */ _jsxs(\"g\", { children: [\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M12.333333333333332 7.333333333333333a4.333333333333333 4.333333333333333 0 1 0 -7.333333333333333 3.126666666666667v1.88a1 1 0 0 0 2 0 1 1 0 0 0 2 0 1 1 0 1 0 2 0v-1.88a4.326666666666666 4.326666666666666 0 0 0 1.3333333333333333 -3.126666666666667Zm-6.253333333333334 1a1 1 0 1 1 1 -1 1 1 0 0 1 -1 1Zm4 0a1 1 0 1 1 1 -1 1 1 0 0 1 -1 1Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m1.8666666666666665 3.28 1.22 1.22a0.3466666666666667 0.3466666666666667 0 0 0 0.26666666666666666 0.09333333333333334 0.35333333333333333 0.35333333333333333 0 0 0 0.24666666666666665 -0.14666666666666667 5.133333333333333 5.133333333333333 0 0 1 0.8066666666666666 -0.9733333333333333 0.3133333333333333 0.3133333333333333 0 0 0 0.09999999999999999 -0.2333333333333333 0.3666666666666667 0.3666666666666667 0 0 0 -0.09333333333333334 -0.24666666666666665L3.28 1.8666666666666665A1.1666666666666665 1.1666666666666665 0 0 0 1.8399999999999999 0.11333333333333334a0.6666666666666666 0.6666666666666666 0 0 0 -0.3666666666666667 0.48l-0.09999999999999999 0.5133333333333333a0.31999999999999995 0.31999999999999995 0 0 1 -0.26 0.26666666666666666l-0.52 0.09999999999999999a0.6666666666666666 0.6666666666666666 0 0 0 -0.48 0.3666666666666667A1.1666666666666665 1.1666666666666665 0 0 0 1.8666666666666665 3.28Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M12.4 4.446666666666666a0.35333333333333333 0.35333333333333333 0 0 0 0.24666666666666665 0.14666666666666667 0.3466666666666667 0.3466666666666667 0 0 0 0.26666666666666666 -0.09333333333333334l1.22 -1.22a1.1666666666666665 1.1666666666666665 0 0 0 1.7533333333333332 -1.44 0.6666666666666666 0.6666666666666666 0 0 0 -0.48 -0.3666666666666667l-0.52 -0.09999999999999999a0.31999999999999995 0.31999999999999995 0 0 1 -0.26 -0.26666666666666666l-0.09999999999999999 -0.5133333333333333a0.6666666666666666 0.6666666666666666 0 0 0 -0.3666666666666667 -0.48 1.1666666666666665 1.1666666666666665 0 0 0 -1.44 1.7533333333333332l-1.1333333333333333 1.1266666666666665a0.3666666666666667 0.3666666666666667 0 0 0 -0.09333333333333334 0.24666666666666665 0.3133333333333333 0.3133333333333333 0 0 0 0.09999999999999999 0.2333333333333333 5.133333333333333 5.133333333333333 0 0 1 0.8066666666666666 0.9733333333333333Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M3.6 11.559999999999999a0.33999999999999997 0.33999999999999997 0 0 0 -0.26666666666666666 -0.15333333333333332 0.3466666666666667 0.3466666666666667 0 0 0 -0.26666666666666666 0.09333333333333334l-1.2 1.22a1.1666666666666665 1.1666666666666665 0 0 0 -1.7533333333333332 1.44 0.6666666666666666 0.6666666666666666 0 0 0 0.48 0.3666666666666667l0.52 0.09999999999999999a0.31999999999999995 0.31999999999999995 0 0 1 0.26 0.26666666666666666l0.09999999999999999 0.5133333333333333a0.6666666666666666 0.6666666666666666 0 0 0 0.3666666666666667 0.48 1.1666666666666665 1.1666666666666665 0 0 0 1.44 -1.7533333333333332l1.1333333333333333 -1.1266666666666665a0.36 0.36 0 0 0 0.09333333333333334 -0.24 0.31999999999999995 0.31999999999999995 0 0 0 -0.09999999999999999 -0.24 5.333333333333333 5.333333333333333 0 0 1 -0.8066666666666666 -0.9666666666666666Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m14.133333333333333 12.719999999999999 -1.22 -1.22a0.3466666666666667 0.3466666666666667 0 0 0 -0.26666666666666666 -0.09333333333333334 0.33999999999999997 0.33999999999999997 0 0 0 -0.24666666666666665 0.15333333333333332 5.333333333333333 5.333333333333333 0 0 1 -0.8066666666666666 0.9666666666666666 0.31999999999999995 0.31999999999999995 0 0 0 -0.09999999999999999 0.24 0.36 0.36 0 0 0 0.09333333333333334 0.24l1.1333333333333333 1.1266666666666665a1.1666666666666665 1.1666666666666665 0 0 0 1.44 1.7533333333333332 0.6666666666666666 0.6666666666666666 0 0 0 0.3666666666666667 -0.48l0.09999999999999999 -0.5133333333333333a0.31999999999999995 0.31999999999999995 0 0 1 0.26 -0.26666666666666666l0.52 -0.09999999999999999a0.6666666666666666 0.6666666666666666 0 0 0 0.48 -0.3666666666666667 1.1666666666666665 1.1666666666666665 0 0 0 -1.7533333333333332 -1.44Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t})\n\t] })\n});\nexport default SvgSkullAndBones;\n","import * as React from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgSuccessFill = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tviewBox: \"0 0 24 24\",\n\theight: 24,\n\twidth: 24,\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0Zm6.93 8.2 -6.85 9.29a1 1 0 0 1 -1.43 0.19l-4.89 -3.91a1 1 0 0 1 -0.15 -1.41A1 1 0 0 1 7 12.21l4.08 3.26L17.32 7a1 1 0 0 1 1.39 -0.21 1 1 0 0 1 0.22 1.41Z\",\n\t\tfill: \"currentcolor\",\n\t\tstrokeWidth: 1\n\t})\n});\nexport default SvgSuccessFill;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgTypography = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\tviewBox: \"-0.75 -0.75 20 20\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\theight: 24,\n\twidth: 24,\n\t...props,\n\tchildren: [\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m0.578125 9.827354166666668 8.09375 0\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m12.140625 13.296104166666666 5.78125 0\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M12.140625 16.764854166666666V10.40625a2.890625 2.890625 0 0 1 5.78125 0v6.359375\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M0.578125 16.764854166666666V5.78125a4.046875 4.046875 0 0 1 8.09375 0v10.984375\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t})\n\t]\n});\nexport default SvgTypography;\n","import React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { svgGraphicProps, type SvgGraphicProps } from '@/lib/svg-graphic';\nimport { cn, kebabToPascalCase } from '@/lib/utils';\n\nconst iconVariants = cva('', {\n variants: {\n size: {\n sm: 'size-3',\n md: 'size-4',\n lg: 'size-6',\n xl: 'size-8',\n },\n },\n defaultVariants: {\n size: 'md',\n },\n});\n\n// Icons are decorative unless the caller names them with `title`,\n// `aria-label` or `aria-labelledby`.\ninterface IconProps extends SvgGraphicProps, VariantProps<typeof iconVariants> {\n className?: string;\n}\n\nconst iconModules = import.meta.glob<{ default: React.FC<React.SVGProps<SVGSVGElement>> }>(\n '../../assets/icons/*.svg',\n {\n eager: true,\n query: '?react',\n },\n);\n\nconst Icon = Object.entries(iconModules).reduce(\n (acc, [path, module]) => {\n const kebabName = path.match(/[^/]+(?=\\.svg$)/)?.[0] ?? '';\n const iconName = kebabToPascalCase(kebabName);\n\n const IconComponent = (props: IconProps) => {\n const { size, className, ...rest } = props;\n const iconClassName = cn(iconVariants({ size, className }));\n return React.createElement(module.default, {\n ...svgGraphicProps(rest),\n className: iconClassName,\n });\n };\n\n IconComponent.displayName = `Icon.${iconName}`;\n\n acc[iconName] = IconComponent;\n return acc;\n },\n {} as Record<string, React.FC<IconProps>>,\n);\n\nexport type IconName = keyof typeof Icon;\n\nexport const IconComponents = Icon;\nexport default Icon;\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAEA,IAAM,gBAAgB,UAA0B,oBAAK,OAAO;CAC3D,OAAO;CACP,SAAS;CACT,QAAQ;CACR,OAAO;CACP,GAAG;CACH,UAA0B,oBAAK,QAAQ;EACtC,GAAG;EACH,MAAM;EACN,aAAa;CACd,CAAC;AACF,CAAC;;;;ACXD,IAAM,eAAe,UAA0B,oBAAK,OAAO;CAC1D,OAAO;CACP,SAAS;CACT,QAAQ;CACR,OAAO;CACP,GAAG;CACH,UAA0B,oBAAK,QAAQ;EACtC,GAAG;EACH,MAAM;EACN,aAAa;CACd,CAAC;AACF,CAAC;;;;ACXD,IAAM,oBAAoB,UAA0B,oBAAK,OAAO;CAC/D,QAAQ;CACR,SAAS;CACT,OAAO;CACP,OAAO;CACP,GAAG;CACH,UAA0B,qBAAM,KAAK,EAAE,UAAU;EAChC,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,aAAa;EACd,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;GACN,aAAa;EACd,CAAC;EACe,oBAAK,QA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K,CAAC,MAAM,YAAY;CAEvB,MAAM,WAAW,kBADC,KAAK,MAAM,iBAAiB,CAAC,GAAG,MAAM,EACZ;CAE5C,MAAM,iBAAiB,UAAqB;EAC1C,MAAM,EAAE,MAAM,WAAW,GAAG,SAAS;EACrC,MAAM,gBAAgB,GAAG,aAAa;GAAE;GAAM;EAAU,CAAC,CAAC;EAC1D,OAAO,MAAM,cAAc,OAAO,SAAS;GACzC,GAAG,gBAAgB,IAAI;GACvB,WAAW;EACb,CAAC;CACH;CAEA,cAAc,cAAc,QAAQ;CAEpC,IAAI,YAAY;CAChB,OAAO;AACT,GACA,CAAC,CACH;AAIA,IAAa,iBAAiB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { svgGraphic } from "./lib/svg-graphic.js";
|
|
1
2
|
import "react";
|
|
2
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
4
|
//#region src/assets/images/facebook-logo.svg?react
|
|
@@ -6,17 +7,13 @@ var SvgFacebookLogo = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
|
6
7
|
viewBox: "0 0 40 40",
|
|
7
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8
9
|
...props,
|
|
9
|
-
children: [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
d: "m27.785 25.785.886-5.782h-5.546V16.25c0-1.58.773-3.125 3.26-3.125h2.522V8.204s-2.29-.39-4.477-.39c-4.568 0-7.555 2.767-7.555 7.781v4.408h-5.08v5.782h5.08v13.976a20.08 20.08 0 0 0 3.125.242c1.063 0 2.107-.085 3.125-.242V25.785h4.66z",
|
|
17
|
-
fill: "#fff"
|
|
18
|
-
})
|
|
19
|
-
]
|
|
10
|
+
children: [/* @__PURE__ */ jsx("path", {
|
|
11
|
+
d: "M20 40.004c11.046 0 20-8.955 20-20 0-11.046-8.954-20-20-20s-20 8.954-20 20c0 11.045 8.954 20 20 20z",
|
|
12
|
+
fill: "#1977F3"
|
|
13
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
14
|
+
d: "m27.785 25.785.886-5.782h-5.546V16.25c0-1.58.773-3.125 3.26-3.125h2.522V8.204s-2.29-.39-4.477-.39c-4.568 0-7.555 2.767-7.555 7.781v4.408h-5.08v5.782h5.08v13.976a20.08 20.08 0 0 0 3.125.242c1.063 0 2.107-.085 3.125-.242V25.785h4.66z",
|
|
15
|
+
fill: "#fff"
|
|
16
|
+
})]
|
|
20
17
|
});
|
|
21
18
|
//#endregion
|
|
22
19
|
//#region src/assets/images/ghost-logo.svg?react
|
|
@@ -27,7 +24,6 @@ var SvgGhostLogo = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
27
24
|
backgroundRepeat: "no-repeat",
|
|
28
25
|
backgroundImage: "url(https://assets.ghost.io/admin/1597/assets/img/logos/ghost-logo-black-1-fb561a374422b405ec90fa586b05ebdf.png)"
|
|
29
26
|
},
|
|
30
|
-
alt: "Ghost",
|
|
31
27
|
...props
|
|
32
28
|
});
|
|
33
29
|
//#endregion
|
|
@@ -53,7 +49,6 @@ var SvgGoogleLogo = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
|
53
49
|
viewBox: "0 0 92 31",
|
|
54
50
|
...props,
|
|
55
51
|
children: [
|
|
56
|
-
/* @__PURE__ */ jsx("title", { children: "google" }),
|
|
57
52
|
/* @__PURE__ */ jsx("path", {
|
|
58
53
|
d: "M39.15 15.898c0 4.303-3.378 7.473-7.525 7.473s-7.526-3.17-7.526-7.473c0-4.334 3.38-7.474 7.526-7.474 4.147 0 7.526 3.14 7.526 7.474zm-3.294 0c0-2.69-1.958-4.529-4.231-4.529-2.273 0-4.231 1.84-4.231 4.529 0 2.662 1.958 4.528 4.231 4.528 2.273 0 4.231-1.87 4.231-4.528z",
|
|
59
54
|
fill: "#EA4335"
|
|
@@ -84,7 +79,6 @@ var SvgGoogleLogo = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
|
84
79
|
//#region src/assets/images/x-logo.svg?react
|
|
85
80
|
var SvgXLogo = (props) => /* @__PURE__ */ jsx("svg", {
|
|
86
81
|
viewBox: "0 0 24 24",
|
|
87
|
-
"aria-hidden": "true",
|
|
88
82
|
...props,
|
|
89
83
|
children: /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsx("path", {
|
|
90
84
|
d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z",
|
|
@@ -93,12 +87,12 @@ var SvgXLogo = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
93
87
|
});
|
|
94
88
|
//#endregion
|
|
95
89
|
//#region src/assets/images/index.ts
|
|
96
|
-
var FacebookLogo = SvgFacebookLogo;
|
|
97
|
-
var GhostLogo = SvgGhostLogo;
|
|
98
|
-
var GhostOrb = SvgGhostOrb;
|
|
99
|
-
var GoogleLogo = SvgGoogleLogo;
|
|
100
|
-
var XLogo = SvgXLogo;
|
|
90
|
+
var FacebookLogo = svgGraphic(SvgFacebookLogo, "FacebookLogo");
|
|
91
|
+
var GhostLogo = svgGraphic(SvgGhostLogo, "GhostLogo");
|
|
92
|
+
var GhostOrb = svgGraphic(SvgGhostOrb, "GhostOrb");
|
|
93
|
+
var GoogleLogo = svgGraphic(SvgGoogleLogo, "GoogleLogo");
|
|
94
|
+
var XLogo = svgGraphic(SvgXLogo, "XLogo");
|
|
101
95
|
//#endregion
|
|
102
96
|
export { XLogo as a, GoogleLogo as i, GhostLogo as n, GhostOrb as r, FacebookLogo as t };
|
|
103
97
|
|
|
104
|
-
//# sourceMappingURL=images-
|
|
98
|
+
//# sourceMappingURL=images-F6slcZrB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"images-F6slcZrB.js","names":[],"sources":["../src/assets/images/facebook-logo.svg?react","../src/assets/images/ghost-logo.svg?react","../src/assets/images/ghost-orb.svg?react","../src/assets/images/google-logo.svg?react","../src/assets/images/x-logo.svg?react","../src/assets/images/index.ts"],"sourcesContent":["import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgFacebookLogo = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\tfill: \"none\",\n\tviewBox: \"0 0 40 40\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"M20 40.004c11.046 0 20-8.955 20-20 0-11.046-8.954-20-20-20s-20 8.954-20 20c0 11.045 8.954 20 20 20z\",\n\t\tfill: \"#1977F3\"\n\t}), /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"m27.785 25.785.886-5.782h-5.546V16.25c0-1.58.773-3.125 3.26-3.125h2.522V8.204s-2.29-.39-4.477-.39c-4.568 0-7.555 2.767-7.555 7.781v4.408h-5.08v5.782h5.08v13.976a20.08 20.08 0 0 0 3.125.242c1.063 0 2.107-.085 3.125-.242V25.785h4.66z\",\n\t\tfill: \"#fff\"\n\t})]\n});\nexport default SvgFacebookLogo;\n","import * as React from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgGhostLogo = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\tviewBox: \"0 0 770 294\",\n\tstyle: {\n\t\tbackgroundSize: \"100% 100%\",\n\t\tbackgroundRepeat: \"no-repeat\",\n\t\tbackgroundImage: \"url(https://assets.ghost.io/admin/1597/assets/img/logos/ghost-logo-black-1-fb561a374422b405ec90fa586b05ebdf.png)\"\n\t},\n\t...props\n});\nexport default SvgGhostLogo;\n","import * as React from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgGhostOrb = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\tfill: \"none\",\n\theight: 24,\n\tviewBox: \"0 0 24 24\",\n\twidth: 24,\n\txmlns: \"http://www.w3.org/2000/svg\",\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"path\", {\n\t\tclipRule: \"evenodd\",\n\t\td: \"M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM11.8326 2.33879C6.37785 2.95189 3.95901 5.20797 3.41126 9.74699C3.34896 10.2632 3.22642 10.7805 3.10443 11.2954C2.93277 12.02 2.76221 12.74 2.76221 13.4458C2.76221 17.9885 6.5856 21.556 11.1283 21.556C12.8959 21.556 14.4433 20.8144 15.8756 20.048C19.0536 18.3478 22.0328 16.2597 22.0328 12.5411C22.0328 9.91512 20.1051 7.56932 18.466 5.5747C18.3834 5.47416 18.3015 5.37451 18.2206 5.27577C17.3866 4.25742 14.4333 2.04643 11.8326 2.33879Z\",\n\t\tfill: \"currentColor\",\n\t\tfillRule: \"evenodd\"\n\t})\n});\nexport default SvgGhostOrb;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgGoogleLogo = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\tfill: \"none\",\n\tviewBox: \"0 0 92 31\",\n\t...props,\n\tchildren: [\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M39.15 15.898c0 4.303-3.378 7.473-7.525 7.473s-7.526-3.17-7.526-7.473c0-4.334 3.38-7.474 7.526-7.474 4.147 0 7.526 3.14 7.526 7.474zm-3.294 0c0-2.69-1.958-4.529-4.231-4.529-2.273 0-4.231 1.84-4.231 4.529 0 2.662 1.958 4.528 4.231 4.528 2.273 0 4.231-1.87 4.231-4.528z\",\n\t\t\tfill: \"#EA4335\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M55.386 15.898c0 4.303-3.379 7.473-7.526 7.473-4.146 0-7.526-3.17-7.526-7.473 0-4.33 3.38-7.474 7.526-7.474 4.147 0 7.526 3.14 7.526 7.474zm-3.294 0c0-2.69-1.959-4.529-4.232-4.529s-4.231 1.84-4.231 4.529c0 2.662 1.958 4.528 4.231 4.528 2.273 0 4.232-1.87 4.232-4.528z\",\n\t\t\tfill: \"#FBBC05\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M70.945 8.875v13.418c0 5.52-3.267 7.774-7.13 7.774-3.636 0-5.825-2.423-6.65-4.404l2.868-1.19c.511 1.217 1.763 2.652 3.779 2.652 2.472 0 4.004-1.52 4.004-4.38V21.67h-.115c-.737.906-2.158 1.698-3.95 1.698-3.751 0-7.188-3.255-7.188-7.443 0-4.22 3.437-7.501 7.188-7.501 1.789 0 3.21.792 3.95 1.671h.115V8.88h3.129v-.004zm-2.895 7.05c0-2.632-1.763-4.556-4.005-4.556-2.273 0-4.177 1.924-4.177 4.556 0 2.604 1.904 4.501 4.177 4.501 2.242 0 4.005-1.897 4.005-4.501z\",\n\t\t\tfill: \"#4285F4\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M76.103 1.01v21.903H72.89V1.011h3.213z\",\n\t\t\tfill: \"#34A853\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M88.624 18.357l2.558 1.699c-.826 1.216-2.815 3.312-6.251 3.312-4.262 0-7.445-3.282-7.445-7.474 0-4.444 3.21-7.473 7.076-7.473 3.893 0 5.798 3.086 6.42 4.754l.341.85-10.028 4.137c.768 1.5 1.962 2.264 3.636 2.264 1.678 0 2.841-.822 3.693-2.069zm-7.87-2.688l6.703-2.774c-.368-.933-1.478-1.583-2.783-1.583-1.674 0-4.005 1.472-3.92 4.357z\",\n\t\t\tfill: \"#EA4335\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M11.936 13.953v-3.17h10.726c.105.552.159 1.206.159 1.914 0 2.378-.653 5.32-2.757 7.416-2.046 2.123-4.66 3.255-8.124 3.255-6.42 0-11.818-5.21-11.818-11.605C.122 5.368 5.52.158 11.94.158c3.551 0 6.081 1.389 7.982 3.198l-2.246 2.237c-1.363-1.273-3.21-2.264-5.74-2.264-4.688 0-8.354 3.764-8.354 8.434s3.666 8.434 8.354 8.434c3.041 0 4.773-1.216 5.882-2.322.9-.896 1.492-2.176 1.725-3.925l-7.607.003z\",\n\t\t\tfill: \"#4285F4\"\n\t\t})\n\t]\n});\nexport default SvgGoogleLogo;\n","import * as React from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgXLogo = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\tviewBox: \"0 0 24 24\",\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"g\", { children: /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z\",\n\t\tfill: \"currentColor\"\n\t}) })\n});\nexport default SvgXLogo;\n","import type { FunctionComponent } from 'react';\nimport { svgGraphic, type SvgGraphicProps } from '@/lib/svg-graphic';\nimport FacebookLogoSvg from './facebook-logo.svg?react';\nimport GhostLogoSvg from './ghost-logo.svg?react';\nimport GhostOrbSvg from './ghost-orb.svg?react';\nimport GoogleLogoSvg from './google-logo.svg?react';\nimport XLogoSvg from './x-logo.svg?react';\n\n// Explicit types keep the `?react` asset imports out of the published\n// declarations, where consumers can't resolve them.\ntype Logo = FunctionComponent<SvgGraphicProps>;\n\n// Logos are decorative unless the caller names them with `title`,\n// `aria-label` or `aria-labelledby`.\nexport const FacebookLogo: Logo = svgGraphic(FacebookLogoSvg, 'FacebookLogo');\nexport const GhostLogo: Logo = svgGraphic(GhostLogoSvg, 'GhostLogo');\nexport const GhostOrb: Logo = svgGraphic(GhostOrbSvg, 'GhostOrb');\nexport const GoogleLogo: Logo = svgGraphic(GoogleLogoSvg, 'GoogleLogo');\nexport const XLogo: Logo = svg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WAAW,iBAAiB,cAAc;AAC5E,IAAa,YAAkB,WAAW,cAAc,WAAW;AACnE,IAAa,WAAiB,WAAW,aAAa,UAAU;AAChE,IAAa,aAAmB,WAAW,eAAe,YAAY;AACtE,IAAa,QAAc,WAAW,UAAU,OAAO"}
|
package/es/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as IconComponents } from "./icon
|
|
1
|
+
import { n as IconComponents } from "./icon--CakqPdG.js";
|
|
2
2
|
import { SHADE_TOKEN_NAMES, shadeToken } from "./tokens.js";
|
|
3
3
|
import { Toaster } from "./components/ui/sonner.js";
|
|
4
4
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./components/ui/tooltip.js";
|
|
@@ -108,7 +108,7 @@ import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, Tabl
|
|
|
108
108
|
import { Textarea } from "./components/ui/textarea.js";
|
|
109
109
|
import { toast } from "./components/ui/toast.js";
|
|
110
110
|
import { ToggleGroup, ToggleGroupItem } from "./components/ui/toggle-group.js";
|
|
111
|
-
import { a as XLogo, i as GoogleLogo, n as GhostLogo, r as GhostOrb, t as FacebookLogo } from "./images-
|
|
111
|
+
import { a as XLogo, i as GoogleLogo, n as GhostLogo, r as GhostOrb, t as FacebookLogo } from "./images-F6slcZrB.js";
|
|
112
112
|
import { TimePicker } from "./components/ui/time-picker.js";
|
|
113
113
|
import { tokenFieldClasses } from "./components/ui/token-field.js";
|
|
114
114
|
import { RowPrimaryAction } from "./components/ui/row-primary-action.js";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createElement } from "react";
|
|
2
|
+
//#region src/lib/svg-graphic.ts
|
|
3
|
+
var nonBlank = (value) => value?.trim() ? value : void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Applies Shade's rule for SVG logos and icons: decorative by default, and an
|
|
6
|
+
* image with a name when the caller gives one. Callers can still override
|
|
7
|
+
* `aria-hidden` and `role`; a prop passed as `undefined` keeps the default.
|
|
8
|
+
*
|
|
9
|
+
* This lives in code rather than SVGR options because Admin and other apps
|
|
10
|
+
* compile Shade's source with their own SVGR config.
|
|
11
|
+
*/
|
|
12
|
+
function svgGraphicProps({ title, ...props }) {
|
|
13
|
+
const label = nonBlank(props["aria-label"]) ?? nonBlank(title);
|
|
14
|
+
if (label || nonBlank(props["aria-labelledby"])) return {
|
|
15
|
+
...props,
|
|
16
|
+
role: props.role ?? "img",
|
|
17
|
+
"aria-label": label
|
|
18
|
+
};
|
|
19
|
+
return {
|
|
20
|
+
...props,
|
|
21
|
+
"aria-hidden": props["aria-hidden"] ?? true
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function svgGraphic(Svg, displayName) {
|
|
25
|
+
const Graphic = (props) => createElement(Svg, svgGraphicProps(props));
|
|
26
|
+
Graphic.displayName = displayName;
|
|
27
|
+
return Graphic;
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { svgGraphic, svgGraphicProps };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=svg-graphic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svg-graphic.js","names":[],"sources":["../../src/lib/svg-graphic.ts"],"sourcesContent":["import { createElement, type FunctionComponent, type SVGProps } from 'react';\n\nexport interface SvgGraphicProps extends SVGProps<SVGSVGElement> {\n /**\n * Names the graphic for screen readers. It sets `aria-label`, and doesn't\n * render a tooltip or an SVG `<title>`. Without a `title`, `aria-label` or\n * `aria-labelledby`, the graphic is decorative and hidden from them. A\n * non-blank `aria-label` takes precedence over `title`, and an explicit\n * `aria-hidden` from the caller always wins.\n */\n title?: string | undefined;\n}\n\nconst nonBlank = (value: string | undefined) => (value?.trim() ? value : undefined);\n\n/**\n * Applies Shade's rule for SVG logos and icons: decorative by default, and an\n * image with a name when the caller gives one. Callers can still override\n * `aria-hidden` and `role`; a prop passed as `undefined` keeps the default.\n *\n * This lives in code rather than SVGR options because Admin and other apps\n * compile Shade's source with their own SVGR config.\n */\nexport function svgGraphicProps({ title, ...props }: SvgGraphicProps): SVGProps<SVGSVGElement> {\n const label = nonBlank(props['aria-label']) ?? nonBlank(title);\n\n if (label || nonBlank(props['aria-labelledby'])) {\n return { ...props, role: props.role ?? 'img', 'aria-label': label };\n }\n\n return { ...props, 'aria-hidden': props['aria-hidden'] ?? true };\n}\n\nexport function svgGraphic(\n Svg: FunctionComponent<SVGProps<SVGSVGElement>>,\n displayName: string,\n): FunctionComponent<SvgGraphicProps> {\n const Graphic = (props: SvgGraphicProps) => createElement(Svg, svgGraphicProps(props));\n Graphic.displayName = displayName;\n return Graphic;\n}\n"],"mappings":";;AAaA,IAAM,YAAY,UAA+B,OAAO,KAAK,IAAI,QAAQ,KAAA;;;;;;;;;AAUzE,SAAgB,gBAAgB,EAAE,OAAO,GAAG,SAAmD;CAC7F,MAAM,QAAQ,SAAS,MAAM,aAAa,KAAK,SAAS,KAAK;CAE7D,IAAI,SAAS,SAAS,MAAM,kBAAkB,GAC5C,OAAO;EAAE,GAAG;EAAO,MAAM,MAAM,QAAQ;EAAO,cAAc;CAAM;CAGpE,OAAO;EAAE,GAAG;EAAO,eAAe,MAAM,kBAAkB;CAAK;AACjE;AAEA,SAAgB,WACd,KACA,aACoC;CACpC,MAAM,WAAW,UAA2B,cAAc,KAAK,gBAAgB,KAAK,CAAC;CACrF,QAAQ,cAAc;CACtB,OAAO;AACT"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { FunctionComponent
|
|
2
|
-
type
|
|
1
|
+
import type { FunctionComponent } from 'react';
|
|
2
|
+
import { type SvgGraphicProps } from '../../lib/svg-graphic.js';
|
|
3
|
+
type Logo = FunctionComponent<SvgGraphicProps>;
|
|
3
4
|
export declare const FacebookLogo: Logo;
|
|
4
5
|
export declare const GhostLogo: Logo;
|
|
5
6
|
export declare const GhostOrb: Logo;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/assets/images/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/assets/images/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AASrE,KAAK,IAAI,GAAG,iBAAiB,CAAC,eAAe,CAAC,CAAC;AAI/C,eAAO,MAAM,YAAY,EAAE,IAAkD,CAAC;AAC9E,eAAO,MAAM,SAAS,EAAE,IAA4C,CAAC;AACrE,eAAO,MAAM,QAAQ,EAAE,IAA0C,CAAC;AAClE,eAAO,MAAM,UAAU,EAAE,IAA8C,CAAC;AACxE,eAAO,MAAM,KAAK,EAAE,IAAoC,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { type SvgGraphicProps } from '../../lib/svg-graphic.js';
|
|
3
4
|
declare const iconVariants: (props?: ({
|
|
4
5
|
size?: "lg" | "md" | "sm" | "xl" | null | undefined;
|
|
5
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
-
interface IconProps extends
|
|
7
|
+
interface IconProps extends SvgGraphicProps, VariantProps<typeof iconVariants> {
|
|
7
8
|
className?: string;
|
|
8
9
|
}
|
|
9
10
|
declare const Icon: Record<string, React.FC<IconProps>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/components/ui/icon.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/components/ui/icon.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAmB,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAG1E,QAAA,MAAM,YAAY;;8EAYhB,CAAC;AAIH,UAAU,SAAU,SAAQ,eAAe,EAAE,YAAY,CAAC,OAAO,YAAY,CAAC;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAUD,QAAA,MAAM,IAAI,qCAoBT,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,IAAI,CAAC;AAEzC,eAAO,MAAM,cAAc,qCAAO,CAAC;eACpB,IAAI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-group-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-group-variants.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,kBAAkB;;;
|
|
1
|
+
{"version":3,"file":"input-group-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-group-variants.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,kBAAkB;;;8EA2CvB,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type FunctionComponent, type SVGProps } from 'react';
|
|
2
|
+
export interface SvgGraphicProps extends SVGProps<SVGSVGElement> {
|
|
3
|
+
/**
|
|
4
|
+
* Names the graphic for screen readers. It sets `aria-label`, and doesn't
|
|
5
|
+
* render a tooltip or an SVG `<title>`. Without a `title`, `aria-label` or
|
|
6
|
+
* `aria-labelledby`, the graphic is decorative and hidden from them. A
|
|
7
|
+
* non-blank `aria-label` takes precedence over `title`, and an explicit
|
|
8
|
+
* `aria-hidden` from the caller always wins.
|
|
9
|
+
*/
|
|
10
|
+
title?: string | undefined;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Applies Shade's rule for SVG logos and icons: decorative by default, and an
|
|
14
|
+
* image with a name when the caller gives one. Callers can still override
|
|
15
|
+
* `aria-hidden` and `role`; a prop passed as `undefined` keeps the default.
|
|
16
|
+
*
|
|
17
|
+
* This lives in code rather than SVGR options because Admin and other apps
|
|
18
|
+
* compile Shade's source with their own SVGR config.
|
|
19
|
+
*/
|
|
20
|
+
export declare function svgGraphicProps({ title, ...props }: SvgGraphicProps): SVGProps<SVGSVGElement>;
|
|
21
|
+
export declare function svgGraphic(Svg: FunctionComponent<SVGProps<SVGSVGElement>>, displayName: string): FunctionComponent<SvgGraphicProps>;
|
|
22
|
+
//# sourceMappingURL=svg-graphic.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svg-graphic.d.ts","sourceRoot":"","sources":["../../src/lib/svg-graphic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,iBAAiB,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE7E,MAAM,WAAW,eAAgB,SAAQ,QAAQ,CAAC,aAAa,CAAC;IAC9D;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B;AAID;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,GAAG,QAAQ,CAAC,aAAa,CAAC,CAQ7F;AAED,wBAAgB,UAAU,CACxB,GAAG,EAAE,iBAAiB,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,EAC/C,WAAW,EAAE,MAAM,GAClB,iBAAiB,CAAC,eAAe,CAAC,CAIpC"}
|
package/es/icon-BJcGsQ4b.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icon-BJcGsQ4b.js","names":[],"sources":["../src/assets/icons/error-fill.svg?react","../src/assets/icons/info-fill.svg?react","../src/assets/icons/skull-and-bones.svg?react","../src/assets/icons/success-fill.svg?react","../src/assets/icons/typography.svg?react","../src/components/ui/icon.ts"],"sourcesContent":["import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgErrorFill = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tviewBox: \"0 0 24 24\",\n\theight: 24,\n\twidth: 24,\n\tid: \"Alert-Triangle--Streamline-Ultimate\",\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsx(\"desc\", { children: \"Alert Triangle Streamline Icon: https://streamlinehq.com\" }), /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"m23.77 20.57 -10 -19A2 2 0 0 0 12 0.5a2 2 0 0 0 -1.77 1.07l-10 19a2 2 0 0 0 0.06 2A2 2 0 0 0 2 23.5h20a2 2 0 0 0 1.77 -2.93ZM11 8.5a1 1 0 0 1 2 0v6a1 1 0 0 1 -2 0ZM12.05 20a1.53 1.53 0 0 1 -1.52 -1.47A1.48 1.48 0 0 1 12 17a1.53 1.53 0 0 1 1.52 1.47A1.48 1.48 0 0 1 12.05 20Z\",\n\t\tfill: \"currentColor\",\n\t\tstrokeWidth: 1\n\t})]\n});\nexport default SvgErrorFill;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgInfoFill = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tviewBox: \"0 0 24 24\",\n\theight: 24,\n\twidth: 24,\n\tid: \"Information-Circle--Streamline-Ultimate\",\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsx(\"desc\", { children: \"Information Circle Streamline Icon: https://streamlinehq.com\" }), /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0Zm0.25 5a1.5 1.5 0 1 1 -1.5 1.5 1.5 1.5 0 0 1 1.5 -1.5Zm2.25 13.5h-4a1 1 0 0 1 0 -2h0.75a0.25 0.25 0 0 0 0.25 -0.25v-4.5a0.25 0.25 0 0 0 -0.25 -0.25h-0.75a1 1 0 0 1 0 -2h1a2 2 0 0 1 2 2v4.75a0.25 0.25 0 0 0 0.25 0.25h0.75a1 1 0 0 1 0 2Z\",\n\t\tfill: \"currentcolor\",\n\t\tstrokeWidth: 1\n\t})]\n});\nexport default SvgInfoFill;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgSkullAndBones = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\theight: 16,\n\tid: \"Skull-2--Streamline-Ultimate\",\n\tviewBox: \"0 0 16 16\",\n\twidth: 16,\n\txmlns: \"http://www.w3.org/2000/svg\",\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsx(\"desc\", { children: \"\\n Skull 2 Streamline Icon: https://streamlinehq.com\\n \" }), /* @__PURE__ */ _jsxs(\"g\", { children: [\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M12.333333333333332 7.333333333333333a4.333333333333333 4.333333333333333 0 1 0 -7.333333333333333 3.126666666666667v1.88a1 1 0 0 0 2 0 1 1 0 0 0 2 0 1 1 0 1 0 2 0v-1.88a4.326666666666666 4.326666666666666 0 0 0 1.3333333333333333 -3.126666666666667Zm-6.253333333333334 1a1 1 0 1 1 1 -1 1 1 0 0 1 -1 1Zm4 0a1 1 0 1 1 1 -1 1 1 0 0 1 -1 1Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m1.8666666666666665 3.28 1.22 1.22a0.3466666666666667 0.3466666666666667 0 0 0 0.26666666666666666 0.09333333333333334 0.35333333333333333 0.35333333333333333 0 0 0 0.24666666666666665 -0.14666666666666667 5.133333333333333 5.133333333333333 0 0 1 0.8066666666666666 -0.9733333333333333 0.3133333333333333 0.3133333333333333 0 0 0 0.09999999999999999 -0.2333333333333333 0.3666666666666667 0.3666666666666667 0 0 0 -0.09333333333333334 -0.24666666666666665L3.28 1.8666666666666665A1.1666666666666665 1.1666666666666665 0 0 0 1.8399999999999999 0.11333333333333334a0.6666666666666666 0.6666666666666666 0 0 0 -0.3666666666666667 0.48l-0.09999999999999999 0.5133333333333333a0.31999999999999995 0.31999999999999995 0 0 1 -0.26 0.26666666666666666l-0.52 0.09999999999999999a0.6666666666666666 0.6666666666666666 0 0 0 -0.48 0.3666666666666667A1.1666666666666665 1.1666666666666665 0 0 0 1.8666666666666665 3.28Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M12.4 4.446666666666666a0.35333333333333333 0.35333333333333333 0 0 0 0.24666666666666665 0.14666666666666667 0.3466666666666667 0.3466666666666667 0 0 0 0.26666666666666666 -0.09333333333333334l1.22 -1.22a1.1666666666666665 1.1666666666666665 0 0 0 1.7533333333333332 -1.44 0.6666666666666666 0.6666666666666666 0 0 0 -0.48 -0.3666666666666667l-0.52 -0.09999999999999999a0.31999999999999995 0.31999999999999995 0 0 1 -0.26 -0.26666666666666666l-0.09999999999999999 -0.5133333333333333a0.6666666666666666 0.6666666666666666 0 0 0 -0.3666666666666667 -0.48 1.1666666666666665 1.1666666666666665 0 0 0 -1.44 1.7533333333333332l-1.1333333333333333 1.1266666666666665a0.3666666666666667 0.3666666666666667 0 0 0 -0.09333333333333334 0.24666666666666665 0.3133333333333333 0.3133333333333333 0 0 0 0.09999999999999999 0.2333333333333333 5.133333333333333 5.133333333333333 0 0 1 0.8066666666666666 0.9733333333333333Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M3.6 11.559999999999999a0.33999999999999997 0.33999999999999997 0 0 0 -0.26666666666666666 -0.15333333333333332 0.3466666666666667 0.3466666666666667 0 0 0 -0.26666666666666666 0.09333333333333334l-1.2 1.22a1.1666666666666665 1.1666666666666665 0 0 0 -1.7533333333333332 1.44 0.6666666666666666 0.6666666666666666 0 0 0 0.48 0.3666666666666667l0.52 0.09999999999999999a0.31999999999999995 0.31999999999999995 0 0 1 0.26 0.26666666666666666l0.09999999999999999 0.5133333333333333a0.6666666666666666 0.6666666666666666 0 0 0 0.3666666666666667 0.48 1.1666666666666665 1.1666666666666665 0 0 0 1.44 -1.7533333333333332l1.1333333333333333 -1.1266666666666665a0.36 0.36 0 0 0 0.09333333333333334 -0.24 0.31999999999999995 0.31999999999999995 0 0 0 -0.09999999999999999 -0.24 5.333333333333333 5.333333333333333 0 0 1 -0.8066666666666666 -0.9666666666666666Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m14.133333333333333 12.719999999999999 -1.22 -1.22a0.3466666666666667 0.3466666666666667 0 0 0 -0.26666666666666666 -0.09333333333333334 0.33999999999999997 0.33999999999999997 0 0 0 -0.24666666666666665 0.15333333333333332 5.333333333333333 5.333333333333333 0 0 1 -0.8066666666666666 0.9666666666666666 0.31999999999999995 0.31999999999999995 0 0 0 -0.09999999999999999 0.24 0.36 0.36 0 0 0 0.09333333333333334 0.24l1.1333333333333333 1.1266666666666665a1.1666666666666665 1.1666666666666665 0 0 0 1.44 1.7533333333333332 0.6666666666666666 0.6666666666666666 0 0 0 0.3666666666666667 -0.48l0.09999999999999999 -0.5133333333333333a0.31999999999999995 0.31999999999999995 0 0 1 0.26 -0.26666666666666666l0.52 -0.09999999999999999a0.6666666666666666 0.6666666666666666 0 0 0 0.48 -0.3666666666666667 1.1666666666666665 1.1666666666666665 0 0 0 -1.7533333333333332 -1.44Z\",\n\t\t\tfill: \"currentColor\",\n\t\t\tstrokeWidth: .6667\n\t\t})\n\t] })]\n});\nexport default SvgSkullAndBones;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgSuccessFill = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tviewBox: \"0 0 24 24\",\n\theight: 24,\n\twidth: 24,\n\tid: \"Check-Circle-1--Streamline-Ultimate\",\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsx(\"desc\", { children: \"Check Circle 1 Streamline Icon: https://streamlinehq.com\" }), /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0Zm6.93 8.2 -6.85 9.29a1 1 0 0 1 -1.43 0.19l-4.89 -3.91a1 1 0 0 1 -0.15 -1.41A1 1 0 0 1 7 12.21l4.08 3.26L17.32 7a1 1 0 0 1 1.39 -0.21 1 1 0 0 1 0.22 1.41Z\",\n\t\tfill: \"currentcolor\",\n\t\tstrokeWidth: 1\n\t})]\n});\nexport default SvgSuccessFill;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgTypography = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\tviewBox: \"-0.75 -0.75 20 20\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\theight: 24,\n\twidth: 24,\n\t...props,\n\tchildren: [\n\t\t/* @__PURE__ */ _jsx(\"desc\", { children: \"Typography\" }),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m0.578125 9.827354166666668 8.09375 0\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m12.140625 13.296104166666666 5.78125 0\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M12.140625 16.764854166666666V10.40625a2.890625 2.890625 0 0 1 5.78125 0v6.359375\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M0.578125 16.764854166666666V5.78125a4.046875 4.046875 0 0 1 8.09375 0v10.984375\",\n\t\t\tfill: \"none\",\n\t\t\tstroke: \"currentColor\",\n\t\t\tstrokeLinecap: \"round\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeWidth: 1.5\n\t\t})\n\t]\n});\nexport default SvgTypography;\n","import React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn, kebabToPascalCase } from '@/lib/utils';\n\nconst iconVariants = cva('', {\n variants: {\n size: {\n sm: 'size-3',\n md: 'size-4',\n lg: 'size-6',\n xl: 'size-8',\n },\n },\n defaultVariants: {\n size: 'md',\n },\n});\n\ninterface IconProps extends React.SVGProps<SVGSVGElement>, VariantProps<typeof iconVariants> {\n className?: string;\n}\n\nconst iconModules = import.meta.glob<{ default: React.FC<IconProps> }>('../../assets/icons/*.svg', {\n eager: true,\n query: '?react',\n});\n\nconst Icon = Object.entries(iconModules).reduce(\n (acc, [path, module]) => {\n const kebabName = path.match(/[^/]+(?=\\.svg$)/)?.[0] ?? '';\n const iconName = kebabToPascalCase(kebabName);\n\n const IconComponent = (props: IconProps) => {\n const { size, className, ...rest } = props;\n const iconClassName = cn(iconVariants({ size, className }));\n return React.createElement(module.default, {\n ...rest,\n className: iconClassName,\n });\n };\n\n IconComponent.displayName = `Icon.${iconName}`;\n\n acc[iconName] = IconComponent;\n return acc;\n },\n {} as Record<string, React.FC<IconProps>>,\n);\n\nexport type IconName = keyof typeof Icon;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,aAAa;GAAE;GAAM;EAAU,CAAC,CAAC;EAC1D,OAAO,MAAM,cAAc,OAAO,SAAS;GACzC,GAAG;GACH,WAAW;EACb,CAAC;CACH;CAEA,cAAc,cAAc,QAAQ;CAEpC,IAAI,YAAY;CAChB,OAAO;AACT,GACA,CAAC,CACH;AAIA,IAAa,iBAAiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"images-DtbFINdz.js","names":[],"sources":["../src/assets/images/facebook-logo.svg?react","../src/assets/images/ghost-logo.svg?react","../src/assets/images/ghost-orb.svg?react","../src/assets/images/google-logo.svg?react","../src/assets/images/x-logo.svg?react","../src/assets/images/index.ts"],"sourcesContent":["import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgFacebookLogo = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\tfill: \"none\",\n\tviewBox: \"0 0 40 40\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\t...props,\n\tchildren: [\n\t\t/* @__PURE__ */ _jsx(\"title\", { children: \"social-facebook\" }),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M20 40.004c11.046 0 20-8.955 20-20 0-11.046-8.954-20-20-20s-20 8.954-20 20c0 11.045 8.954 20 20 20z\",\n\t\t\tfill: \"#1977F3\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"m27.785 25.785.886-5.782h-5.546V16.25c0-1.58.773-3.125 3.26-3.125h2.522V8.204s-2.29-.39-4.477-.39c-4.568 0-7.555 2.767-7.555 7.781v4.408h-5.08v5.782h5.08v13.976a20.08 20.08 0 0 0 3.125.242c1.063 0 2.107-.085 3.125-.242V25.785h4.66z\",\n\t\t\tfill: \"#fff\"\n\t\t})\n\t]\n});\nexport default SvgFacebookLogo;\n","import * as React from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgGhostLogo = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\tviewBox: \"0 0 770 294\",\n\tstyle: {\n\t\tbackgroundSize: \"100% 100%\",\n\t\tbackgroundRepeat: \"no-repeat\",\n\t\tbackgroundImage: \"url(https://assets.ghost.io/admin/1597/assets/img/logos/ghost-logo-black-1-fb561a374422b405ec90fa586b05ebdf.png)\"\n\t},\n\talt: \"Ghost\",\n\t...props\n});\nexport default SvgGhostLogo;\n","import * as React from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgGhostOrb = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\tfill: \"none\",\n\theight: 24,\n\tviewBox: \"0 0 24 24\",\n\twidth: 24,\n\txmlns: \"http://www.w3.org/2000/svg\",\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"path\", {\n\t\tclipRule: \"evenodd\",\n\t\td: \"M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM11.8326 2.33879C6.37785 2.95189 3.95901 5.20797 3.41126 9.74699C3.34896 10.2632 3.22642 10.7805 3.10443 11.2954C2.93277 12.02 2.76221 12.74 2.76221 13.4458C2.76221 17.9885 6.5856 21.556 11.1283 21.556C12.8959 21.556 14.4433 20.8144 15.8756 20.048C19.0536 18.3478 22.0328 16.2597 22.0328 12.5411C22.0328 9.91512 20.1051 7.56932 18.466 5.5747C18.3834 5.47416 18.3015 5.37451 18.2206 5.27577C17.3866 4.25742 14.4333 2.04643 11.8326 2.33879Z\",\n\t\tfill: \"currentColor\",\n\t\tfillRule: \"evenodd\"\n\t})\n});\nexport default SvgGhostOrb;\n","import * as React from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgGoogleLogo = (props) => /* @__PURE__ */ _jsxs(\"svg\", {\n\tfill: \"none\",\n\tviewBox: \"0 0 92 31\",\n\t...props,\n\tchildren: [\n\t\t/* @__PURE__ */ _jsx(\"title\", { children: \"google\" }),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M39.15 15.898c0 4.303-3.378 7.473-7.525 7.473s-7.526-3.17-7.526-7.473c0-4.334 3.38-7.474 7.526-7.474 4.147 0 7.526 3.14 7.526 7.474zm-3.294 0c0-2.69-1.958-4.529-4.231-4.529-2.273 0-4.231 1.84-4.231 4.529 0 2.662 1.958 4.528 4.231 4.528 2.273 0 4.231-1.87 4.231-4.528z\",\n\t\t\tfill: \"#EA4335\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M55.386 15.898c0 4.303-3.379 7.473-7.526 7.473-4.146 0-7.526-3.17-7.526-7.473 0-4.33 3.38-7.474 7.526-7.474 4.147 0 7.526 3.14 7.526 7.474zm-3.294 0c0-2.69-1.959-4.529-4.232-4.529s-4.231 1.84-4.231 4.529c0 2.662 1.958 4.528 4.231 4.528 2.273 0 4.232-1.87 4.232-4.528z\",\n\t\t\tfill: \"#FBBC05\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M70.945 8.875v13.418c0 5.52-3.267 7.774-7.13 7.774-3.636 0-5.825-2.423-6.65-4.404l2.868-1.19c.511 1.217 1.763 2.652 3.779 2.652 2.472 0 4.004-1.52 4.004-4.38V21.67h-.115c-.737.906-2.158 1.698-3.95 1.698-3.751 0-7.188-3.255-7.188-7.443 0-4.22 3.437-7.501 7.188-7.501 1.789 0 3.21.792 3.95 1.671h.115V8.88h3.129v-.004zm-2.895 7.05c0-2.632-1.763-4.556-4.005-4.556-2.273 0-4.177 1.924-4.177 4.556 0 2.604 1.904 4.501 4.177 4.501 2.242 0 4.005-1.897 4.005-4.501z\",\n\t\t\tfill: \"#4285F4\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M76.103 1.01v21.903H72.89V1.011h3.213z\",\n\t\t\tfill: \"#34A853\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M88.624 18.357l2.558 1.699c-.826 1.216-2.815 3.312-6.251 3.312-4.262 0-7.445-3.282-7.445-7.474 0-4.444 3.21-7.473 7.076-7.473 3.893 0 5.798 3.086 6.42 4.754l.341.85-10.028 4.137c.768 1.5 1.962 2.264 3.636 2.264 1.678 0 2.841-.822 3.693-2.069zm-7.87-2.688l6.703-2.774c-.368-.933-1.478-1.583-2.783-1.583-1.674 0-4.005 1.472-3.92 4.357z\",\n\t\t\tfill: \"#EA4335\"\n\t\t}),\n\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\td: \"M11.936 13.953v-3.17h10.726c.105.552.159 1.206.159 1.914 0 2.378-.653 5.32-2.757 7.416-2.046 2.123-4.66 3.255-8.124 3.255-6.42 0-11.818-5.21-11.818-11.605C.122 5.368 5.52.158 11.94.158c3.551 0 6.081 1.389 7.982 3.198l-2.246 2.237c-1.363-1.273-3.21-2.264-5.74-2.264-4.688 0-8.354 3.764-8.354 8.434s3.666 8.434 8.354 8.434c3.041 0 4.773-1.216 5.882-2.322.9-.896 1.492-2.176 1.725-3.925l-7.607.003z\",\n\t\t\tfill: \"#4285F4\"\n\t\t})\n\t]\n});\nexport default SvgGoogleLogo;\n","import * as React from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SvgXLogo = (props) => /* @__PURE__ */ _jsx(\"svg\", {\n\tviewBox: \"0 0 24 24\",\n\t\"aria-hidden\": \"true\",\n\t...props,\n\tchildren: /* @__PURE__ */ _jsx(\"g\", { children: /* @__PURE__ */ _jsx(\"path\", {\n\t\td: \"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z\",\n\t\tfill: \"currentColor\"\n\t}) })\n});\nexport default SvgXLogo;\n","import type { FunctionComponent, SVGProps } from 'react';\nimport FacebookLogoSvg from './facebook-logo.svg?react';\nimport GhostLogoSvg from './ghost-logo.svg?react';\nimport GhostOrbSvg from './ghost-orb.svg?react';\nimport GoogleLogoSvg from './google-logo.svg?react';\nimport XLogoSvg from './x-logo.svg?react';\n\n// Explicit types keep the `?react` asset imports out of the published\n// declarations, where consumers can't resolve them.\ntype Logo = FunctionComponent<SVGProps<SVGSVGElement>>;\n\nexport const FacebookLogo: Logo = FacebookLogoSvg;\nexport const GhostLogo: Logo = GhostLogoSvg;\nexport const GhostOrb: Logo = GhostOrbSvg;\nexport const GoogleLogo: Logo = GoogleLogoSvg;\nexport const XLogo: Logo = XLogoSvg;\n"],"mappings":";;;AAEA,IAAM,mBAAmB,UAA0B,qBAAM,OAAO;CAC/D,MAAM;CACN,SAAS;CACT,OAAO;CACP,GAAG;CACH,UAAU;EACO,oBAAK,SAAS,EAAE,UAAU,kBAAkB,CAAC;EAC7C,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;CACF;AACD,CAAC;;;AChBD,IAAM,gBAAgB,UAA0B,oBAAK,OAAO;CAC3D,SAAS;CACT,OAAO;EACN,gBAAgB;EAChB,kBAAkB;EAClB,iBAAiB;CAClB;CACA,KAAK;CACL,GAAG;AACJ,CAAC;;;ACTD,IAAM,eAAe,UAA0B,oBAAK,OAAO;CAC1D,MAAM;CACN,QAAQ;CACR,SAAS;CACT,OAAO;CACP,OAAO;CACP,GAAG;CACH,UAA0B,oBAAK,QAAQ;EACtC,UAAU;EACV,GAAG;EACH,MAAM;EACN,UAAU;CACX,CAAC;AACF,CAAC;;;ACbD,IAAM,iBAAiB,UAA0B,qBAAM,OAAO;CAC7D,MAAM;CACN,SAAS;CACT,GAAG;CACH,UAAU;EACO,oBAAK,SAAS,EAAE,UAAU,SAAS,CAAC;EACpC,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,CAAC;EACe,oBAAK,QAAQ;GAC5B,GAAG;GACH,MAAM;EACP,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