@appolabs/ui 0.1.30 → 0.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-LLT7263D.cjs → chunk-5AE4EJNL.cjs} +16 -7
- package/dist/chunk-5AE4EJNL.cjs.map +1 -0
- package/dist/{chunk-Y3OH62MV.js → chunk-D22GZZ4V.js} +3 -3
- package/dist/{chunk-Y3OH62MV.js.map → chunk-D22GZZ4V.js.map} +1 -1
- package/dist/{chunk-YMSSBNHK.cjs → chunk-LIC2OARP.cjs} +4 -4
- package/dist/{chunk-YMSSBNHK.cjs.map → chunk-LIC2OARP.cjs.map} +1 -1
- package/dist/{chunk-53CK5CTK.js → chunk-OWZDA7N5.js} +14 -6
- package/dist/chunk-OWZDA7N5.js.map +1 -0
- package/dist/{chunk-3WUKE7HN.cjs → chunk-PTJIVS4M.cjs} +14 -6
- package/dist/chunk-PTJIVS4M.cjs.map +1 -0
- package/dist/{chunk-JIIMGSA2.js → chunk-SWGYVBN7.js} +16 -7
- package/dist/chunk-SWGYVBN7.js.map +1 -0
- package/dist/cookie-banner.cjs +2 -2
- package/dist/cookie-banner.d.cts +13 -2
- package/dist/cookie-banner.d.ts +13 -2
- package/dist/cookie-banner.js +1 -1
- package/dist/index.cjs +31 -31
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/input.cjs +3 -3
- package/dist/input.d.cts +1 -0
- package/dist/input.d.ts +1 -0
- package/dist/input.js +1 -1
- package/dist/sidebar.cjs +26 -26
- package/dist/sidebar.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-3WUKE7HN.cjs.map +0 -1
- package/dist/chunk-53CK5CTK.js.map +0 -1
- package/dist/chunk-JIIMGSA2.js.map +0 -1
- package/dist/chunk-LLT7263D.cjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/input.tsx"],"names":[],"mappings":";;;;;AAKA,IAAM,aAAA,GAAgB,GAAA;AAAA,EAClB,gPAAA;AAAA,EACA;AAAA,IACI,QAAA,EAAU;AAAA,MACN,OAAA,EAAS;AAAA,QACL,OAAA,EAAS;AAAA,UACL,mDAAA;AAAA,UACA,wDAAA;AAAA,UACA;AAAA,SACJ;AAAA,QACA,KAAA,EAAO;AAAA,UACH,8CAAA;AAAA,UACA,iDAAA;AAAA,UACA;AAAA;AACJ,OACJ;AAAA;AAAA;AAAA,MAGA,SAAA,EAAW;AAAA,QACP,OAAA,EAAS,yCAAA;AAAA,QACT,EAAA,EAAI,qCAAA;AAAA,QACJ,EAAA,EAAI;AAAA;AACR,KACJ;AAAA,IACA,eAAA,EAAiB;AAAA,MACb,OAAA,EAAS,SAAA;AAAA,MACT,SAAA,EAAW;AAAA;AACf;AAER;AAMA,IAAM,KAAA,GAAc,KAAA,CAAA,UAAA;AAAA,EAChB,CAAC,EAAC,SAAA,EAAW,IAAA,EAAM,SAAS,SAAA,EAAW,GAAG,KAAA,EAAK,EAAG,GAAA,KAAQ;AACtD,IAAA,uBACI,GAAA;AAAA,MAAC,OAAA;AAAA,MAAA;AAAA,QACG,IAAA;AAAA,QACA,SAAA,EAAW,GAAG,aAAA,CAAc,EAAC,SAAS,SAAA,EAAW,SAAA,EAAU,CAAC,CAAA;AAAA,QAC5D,GAAA;AAAA,QACC,GAAG;AAAA;AAAA,KACR;AAAA,EAER;AACJ;AACA,KAAA,CAAM,WAAA,GAAc,OAAA","file":"chunk-OWZDA7N5.js","sourcesContent":["import * as React from \"react\"\nimport {cva, type VariantProps} from \"class-variance-authority\"\n\nimport {cn} from \"../lib/utils\"\n\nconst inputVariants = cva(\n \"flex w-full rounded-md ring-offset-background file:border-0 file:bg-transparent file:font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50\",\n {\n variants: {\n variant: {\n default: [\n \"border border-input bg-background text-foreground\",\n \"file:text-foreground placeholder:text-muted-foreground\",\n \"focus-visible:ring-ring\",\n ],\n glass: [\n \"border border-white/10 bg-white/5 text-white\",\n \"placeholder:text-slate-500 focus:border-primary\",\n \"focus-visible:ring-0 focus-visible:ring-offset-0\",\n ],\n },\n // Height/typographic scale. `size` collides with the native numeric\n // `size` attribute on <input>, so the axis is named `inputSize`.\n inputSize: {\n default: \"h-10 px-3 py-2 text-base file:text-base\",\n lg: \"h-12 px-4 py-3 text-lg file:text-lg\",\n xl: \"h-14 px-5 py-4 text-xl file:text-xl\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n inputSize: \"default\",\n },\n }\n)\n\nexport interface InputProps\n extends React.InputHTMLAttributes<HTMLInputElement>,\n VariantProps<typeof inputVariants> {}\n\nconst Input = React.forwardRef<HTMLInputElement, InputProps>(\n ({className, type, variant, inputSize, ...props}, ref) => {\n return (\n <input\n type={type}\n className={cn(inputVariants({variant, inputSize, className}))}\n ref={ref}\n {...props}\n />\n )\n }\n)\nInput.displayName = \"Input\"\n\nexport {Input, inputVariants}\n"]}
|
|
@@ -26,7 +26,7 @@ function _interopNamespace(e) {
|
|
|
26
26
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
27
27
|
|
|
28
28
|
var inputVariants = classVarianceAuthority.cva(
|
|
29
|
-
"flex
|
|
29
|
+
"flex w-full rounded-md ring-offset-background file:border-0 file:bg-transparent file:font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
30
30
|
{
|
|
31
31
|
variants: {
|
|
32
32
|
variant: {
|
|
@@ -40,20 +40,28 @@ var inputVariants = classVarianceAuthority.cva(
|
|
|
40
40
|
"placeholder:text-slate-500 focus:border-primary",
|
|
41
41
|
"focus-visible:ring-0 focus-visible:ring-offset-0"
|
|
42
42
|
]
|
|
43
|
+
},
|
|
44
|
+
// Height/typographic scale. `size` collides with the native numeric
|
|
45
|
+
// `size` attribute on <input>, so the axis is named `inputSize`.
|
|
46
|
+
inputSize: {
|
|
47
|
+
default: "h-10 px-3 py-2 text-base file:text-base",
|
|
48
|
+
lg: "h-12 px-4 py-3 text-lg file:text-lg",
|
|
49
|
+
xl: "h-14 px-5 py-4 text-xl file:text-xl"
|
|
43
50
|
}
|
|
44
51
|
},
|
|
45
52
|
defaultVariants: {
|
|
46
|
-
variant: "default"
|
|
53
|
+
variant: "default",
|
|
54
|
+
inputSize: "default"
|
|
47
55
|
}
|
|
48
56
|
}
|
|
49
57
|
);
|
|
50
58
|
var Input = React__namespace.forwardRef(
|
|
51
|
-
({ className, type, variant, ...props }, ref) => {
|
|
59
|
+
({ className, type, variant, inputSize, ...props }, ref) => {
|
|
52
60
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
53
61
|
"input",
|
|
54
62
|
{
|
|
55
63
|
type,
|
|
56
|
-
className: chunkK3WGYDSA_cjs.cn(inputVariants({ variant, className })),
|
|
64
|
+
className: chunkK3WGYDSA_cjs.cn(inputVariants({ variant, inputSize, className })),
|
|
57
65
|
ref,
|
|
58
66
|
...props
|
|
59
67
|
}
|
|
@@ -64,5 +72,5 @@ Input.displayName = "Input";
|
|
|
64
72
|
|
|
65
73
|
exports.Input = Input;
|
|
66
74
|
exports.inputVariants = inputVariants;
|
|
67
|
-
//# sourceMappingURL=chunk-
|
|
68
|
-
//# sourceMappingURL=chunk-
|
|
75
|
+
//# sourceMappingURL=chunk-PTJIVS4M.cjs.map
|
|
76
|
+
//# sourceMappingURL=chunk-PTJIVS4M.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/input.tsx"],"names":["cva","React","jsx","cn"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,IAAM,aAAA,GAAgBA,0BAAA;AAAA,EAClB,gPAAA;AAAA,EACA;AAAA,IACI,QAAA,EAAU;AAAA,MACN,OAAA,EAAS;AAAA,QACL,OAAA,EAAS;AAAA,UACL,mDAAA;AAAA,UACA,wDAAA;AAAA,UACA;AAAA,SACJ;AAAA,QACA,KAAA,EAAO;AAAA,UACH,8CAAA;AAAA,UACA,iDAAA;AAAA,UACA;AAAA;AACJ,OACJ;AAAA;AAAA;AAAA,MAGA,SAAA,EAAW;AAAA,QACP,OAAA,EAAS,yCAAA;AAAA,QACT,EAAA,EAAI,qCAAA;AAAA,QACJ,EAAA,EAAI;AAAA;AACR,KACJ;AAAA,IACA,eAAA,EAAiB;AAAA,MACb,OAAA,EAAS,SAAA;AAAA,MACT,SAAA,EAAW;AAAA;AACf;AAER;AAMA,IAAM,KAAA,GAAcC,gBAAA,CAAA,UAAA;AAAA,EAChB,CAAC,EAAC,SAAA,EAAW,IAAA,EAAM,SAAS,SAAA,EAAW,GAAG,KAAA,EAAK,EAAG,GAAA,KAAQ;AACtD,IAAA,uBACIC,cAAA;AAAA,MAAC,OAAA;AAAA,MAAA;AAAA,QACG,IAAA;AAAA,QACA,SAAA,EAAWC,qBAAG,aAAA,CAAc,EAAC,SAAS,SAAA,EAAW,SAAA,EAAU,CAAC,CAAA;AAAA,QAC5D,GAAA;AAAA,QACC,GAAG;AAAA;AAAA,KACR;AAAA,EAER;AACJ;AACA,KAAA,CAAM,WAAA,GAAc,OAAA","file":"chunk-PTJIVS4M.cjs","sourcesContent":["import * as React from \"react\"\nimport {cva, type VariantProps} from \"class-variance-authority\"\n\nimport {cn} from \"../lib/utils\"\n\nconst inputVariants = cva(\n \"flex w-full rounded-md ring-offset-background file:border-0 file:bg-transparent file:font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50\",\n {\n variants: {\n variant: {\n default: [\n \"border border-input bg-background text-foreground\",\n \"file:text-foreground placeholder:text-muted-foreground\",\n \"focus-visible:ring-ring\",\n ],\n glass: [\n \"border border-white/10 bg-white/5 text-white\",\n \"placeholder:text-slate-500 focus:border-primary\",\n \"focus-visible:ring-0 focus-visible:ring-offset-0\",\n ],\n },\n // Height/typographic scale. `size` collides with the native numeric\n // `size` attribute on <input>, so the axis is named `inputSize`.\n inputSize: {\n default: \"h-10 px-3 py-2 text-base file:text-base\",\n lg: \"h-12 px-4 py-3 text-lg file:text-lg\",\n xl: \"h-14 px-5 py-4 text-xl file:text-xl\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n inputSize: \"default\",\n },\n }\n)\n\nexport interface InputProps\n extends React.InputHTMLAttributes<HTMLInputElement>,\n VariantProps<typeof inputVariants> {}\n\nconst Input = React.forwardRef<HTMLInputElement, InputProps>(\n ({className, type, variant, inputSize, ...props}, ref) => {\n return (\n <input\n type={type}\n className={cn(inputVariants({variant, inputSize, className}))}\n ref={ref}\n {...props}\n />\n )\n }\n)\nInput.displayName = \"Input\"\n\nexport {Input, inputVariants}\n"]}
|
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
import { cn } from './chunk-C6QNNG2X.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
|
|
4
|
+
var defaultLabels = {
|
|
5
|
+
message: "Utilizziamo i cookie per migliorare la tua esperienza.",
|
|
6
|
+
policyLink: "Cookie policy",
|
|
7
|
+
manage: "Gestisci",
|
|
8
|
+
reject: "Rifiuta",
|
|
9
|
+
accept: "Accetta tutto"
|
|
10
|
+
};
|
|
4
11
|
function CookieBanner({
|
|
5
12
|
visible,
|
|
6
13
|
cookiePolicyUrl,
|
|
7
14
|
onAccept,
|
|
8
15
|
onReject,
|
|
9
16
|
onManage,
|
|
17
|
+
labels,
|
|
10
18
|
className
|
|
11
19
|
}) {
|
|
12
20
|
if (!visible) return null;
|
|
21
|
+
const copy = { ...defaultLabels, ...labels };
|
|
13
22
|
return /* @__PURE__ */ jsx("div", { className: cn("fixed bottom-0 left-0 right-0 z-50 sm:py-4 sm:px-4 md:px-6 lg:px-8", className), children: /* @__PURE__ */ jsx("div", { className: "sm:max-w-7xl sm:mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "border border-white/10 bg-white/5 backdrop-blur-md flex flex-col gap-4 px-4 py-3 sm:rounded-xl sm:flex-row sm:items-center sm:justify-between", children: [
|
|
14
23
|
/* @__PURE__ */ jsxs("p", { className: "text-sm text-white/60", children: [
|
|
15
|
-
|
|
24
|
+
copy.message,
|
|
16
25
|
" ",
|
|
17
26
|
/* @__PURE__ */ jsx(
|
|
18
27
|
"a",
|
|
@@ -21,7 +30,7 @@ function CookieBanner({
|
|
|
21
30
|
className: "text-white underline underline-offset-2 hover:no-underline",
|
|
22
31
|
target: "_blank",
|
|
23
32
|
rel: "noreferrer",
|
|
24
|
-
children:
|
|
33
|
+
children: copy.policyLink
|
|
25
34
|
}
|
|
26
35
|
)
|
|
27
36
|
] }),
|
|
@@ -32,7 +41,7 @@ function CookieBanner({
|
|
|
32
41
|
type: "button",
|
|
33
42
|
onClick: onManage,
|
|
34
43
|
className: "h-9 cursor-pointer rounded-md px-3 text-sm text-white/60 transition-colors hover:underline",
|
|
35
|
-
children:
|
|
44
|
+
children: copy.manage
|
|
36
45
|
}
|
|
37
46
|
),
|
|
38
47
|
/* @__PURE__ */ jsx(
|
|
@@ -41,7 +50,7 @@ function CookieBanner({
|
|
|
41
50
|
type: "button",
|
|
42
51
|
onClick: onReject,
|
|
43
52
|
className: "h-9 cursor-pointer rounded-xl border border-white/20 px-3 text-sm text-white/70 transition-colors hover:bg-white/10",
|
|
44
|
-
children:
|
|
53
|
+
children: copy.reject
|
|
45
54
|
}
|
|
46
55
|
),
|
|
47
56
|
/* @__PURE__ */ jsx(
|
|
@@ -50,7 +59,7 @@ function CookieBanner({
|
|
|
50
59
|
type: "button",
|
|
51
60
|
onClick: onAccept,
|
|
52
61
|
className: "h-9 cursor-pointer rounded-xl bg-gradient-to-r from-[#8a9eff] to-[#5e77cc] px-3 text-sm font-medium text-white transition-all hover:from-[#7a8eef] hover:to-[#4e67bc]",
|
|
53
|
-
children:
|
|
62
|
+
children: copy.accept
|
|
54
63
|
}
|
|
55
64
|
)
|
|
56
65
|
] })
|
|
@@ -58,5 +67,5 @@ function CookieBanner({
|
|
|
58
67
|
}
|
|
59
68
|
|
|
60
69
|
export { CookieBanner };
|
|
61
|
-
//# sourceMappingURL=chunk-
|
|
62
|
-
//# sourceMappingURL=chunk-
|
|
70
|
+
//# sourceMappingURL=chunk-SWGYVBN7.js.map
|
|
71
|
+
//# sourceMappingURL=chunk-SWGYVBN7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/cookie-banner.tsx"],"names":[],"mappings":";;;AAoBA,IAAM,aAAA,GAAoC;AAAA,EACtC,OAAA,EAAS,wDAAA;AAAA,EACT,UAAA,EAAY,eAAA;AAAA,EACZ,MAAA,EAAQ,UAAA;AAAA,EACR,MAAA,EAAQ,SAAA;AAAA,EACR,MAAA,EAAQ;AACZ,CAAA;AAcO,SAAS,YAAA,CAAa;AAAA,EACzB,OAAA;AAAA,EACA,eAAA;AAAA,EACA,QAAA;AAAA,EACA,QAAA;AAAA,EACA,QAAA;AAAA,EACA,MAAA;AAAA,EACA;AACJ,CAAA,EAAsB;AAClB,EAAA,IAAI,CAAC,SAAS,OAAO,IAAA;AAErB,EAAA,MAAM,IAAA,GAAO,EAAE,GAAG,aAAA,EAAe,GAAG,MAAA,EAAO;AAE3C,EAAA,uBACI,GAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAW,EAAA,CAAG,sEAAsE,SAAS,CAAA,EAC9F,QAAA,kBAAA,GAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAU,yBAAA,EACX,QAAA,kBAAA,IAAA,CAAC,KAAA,EAAA,EAAI,WAAU,+IAAA,EACX,QAAA,EAAA;AAAA,oBAAA,IAAA,CAAC,GAAA,EAAA,EAAE,WAAU,uBAAA,EACR,QAAA,EAAA;AAAA,MAAA,IAAA,CAAK,OAAA;AAAA,MAAS,GAAA;AAAA,sBACf,GAAA;AAAA,QAAC,GAAA;AAAA,QAAA;AAAA,UACG,IAAA,EAAM,eAAA;AAAA,UACN,SAAA,EAAU,4DAAA;AAAA,UACV,MAAA,EAAO,QAAA;AAAA,UACP,GAAA,EAAI,YAAA;AAAA,UAEH,QAAA,EAAA,IAAA,CAAK;AAAA;AAAA;AACV,KAAA,EACJ,CAAA;AAAA,oBACA,IAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAU,wDAAA,EACV,QAAA,EAAA;AAAA,MAAA,QAAA,oBACG,GAAA;AAAA,QAAC,QAAA;AAAA,QAAA;AAAA,UACG,IAAA,EAAK,QAAA;AAAA,UACL,OAAA,EAAS,QAAA;AAAA,UACT,SAAA,EAAU,4FAAA;AAAA,UAET,QAAA,EAAA,IAAA,CAAK;AAAA;AAAA,OACV;AAAA,sBAEJ,GAAA;AAAA,QAAC,QAAA;AAAA,QAAA;AAAA,UACG,IAAA,EAAK,QAAA;AAAA,UACL,OAAA,EAAS,QAAA;AAAA,UACT,SAAA,EAAU,qHAAA;AAAA,UAET,QAAA,EAAA,IAAA,CAAK;AAAA;AAAA,OACV;AAAA,sBACA,GAAA;AAAA,QAAC,QAAA;AAAA,QAAA;AAAA,UACG,IAAA,EAAK,QAAA;AAAA,UACL,OAAA,EAAS,QAAA;AAAA,UACT,SAAA,EAAU,uKAAA;AAAA,UAET,QAAA,EAAA,IAAA,CAAK;AAAA;AAAA;AACV,KAAA,EACJ;AAAA,GAAA,EACJ,GACJ,CAAA,EACJ,CAAA;AAER","file":"chunk-SWGYVBN7.js","sourcesContent":["import { cn } from '../lib/utils';\n\nexport interface CookieBannerLabels {\n message: string;\n policyLink: string;\n manage: string;\n reject: string;\n accept: string;\n}\n\nexport interface CookieBannerProps {\n visible: boolean;\n cookiePolicyUrl: string;\n onAccept: () => void;\n onReject: () => void;\n onManage?: () => void;\n labels?: Partial<CookieBannerLabels>;\n className?: string;\n}\n\nconst defaultLabels: CookieBannerLabels = {\n message: 'Utilizziamo i cookie per migliorare la tua esperienza.',\n policyLink: 'Cookie policy',\n manage: 'Gestisci',\n reject: 'Rifiuta',\n accept: 'Accetta tutto',\n};\n\n/**\n * Brand-fixed cookie consent banner. Reads as a sibling system bar to the\n * site/app topbar: translucent `bg-white/5` + `backdrop-blur-md` over the\n * page's own background. Card design is the canonical Appo design-system\n * \"glass card\" — match this treatment in any new card-like surfaces.\n *\n * Copy is overridable through `labels` so a localized host can pass its own\n * translations; the defaults are Italian.\n *\n * If you need a different visual for a future product, do not add a variant\n * prop to this component — duplicate it under a different name.\n */\nexport function CookieBanner({\n visible,\n cookiePolicyUrl,\n onAccept,\n onReject,\n onManage,\n labels,\n className,\n}: CookieBannerProps) {\n if (!visible) return null;\n\n const copy = { ...defaultLabels, ...labels };\n\n return (\n <div className={cn('fixed bottom-0 left-0 right-0 z-50 sm:py-4 sm:px-4 md:px-6 lg:px-8', className)}>\n <div className=\"sm:max-w-7xl sm:mx-auto\">\n <div className=\"border border-white/10 bg-white/5 backdrop-blur-md flex flex-col gap-4 px-4 py-3 sm:rounded-xl sm:flex-row sm:items-center sm:justify-between\">\n <p className=\"text-sm text-white/60\">\n {copy.message}{' '}\n <a\n href={cookiePolicyUrl}\n className=\"text-white underline underline-offset-2 hover:no-underline\"\n target=\"_blank\"\n rel=\"noreferrer\"\n >\n {copy.policyLink}\n </a>\n </p>\n <div className=\"flex shrink-0 items-center gap-2 self-end sm:self-auto\">\n {onManage && (\n <button\n type=\"button\"\n onClick={onManage}\n className=\"h-9 cursor-pointer rounded-md px-3 text-sm text-white/60 transition-colors hover:underline\"\n >\n {copy.manage}\n </button>\n )}\n <button\n type=\"button\"\n onClick={onReject}\n className=\"h-9 cursor-pointer rounded-xl border border-white/20 px-3 text-sm text-white/70 transition-colors hover:bg-white/10\"\n >\n {copy.reject}\n </button>\n <button\n type=\"button\"\n onClick={onAccept}\n className=\"h-9 cursor-pointer rounded-xl bg-gradient-to-r from-[#8a9eff] to-[#5e77cc] px-3 text-sm font-medium text-white transition-all hover:from-[#7a8eef] hover:to-[#4e67bc]\"\n >\n {copy.accept}\n </button>\n </div>\n </div>\n </div>\n </div>\n );\n}\n"]}
|
package/dist/cookie-banner.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk5AE4EJNL_cjs = require('./chunk-5AE4EJNL.cjs');
|
|
4
4
|
require('./chunk-K3WGYDSA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "CookieBanner", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk5AE4EJNL_cjs.CookieBanner; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=cookie-banner.cjs.map
|
|
13
13
|
//# sourceMappingURL=cookie-banner.cjs.map
|
package/dist/cookie-banner.d.cts
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
+
interface CookieBannerLabels {
|
|
4
|
+
message: string;
|
|
5
|
+
policyLink: string;
|
|
6
|
+
manage: string;
|
|
7
|
+
reject: string;
|
|
8
|
+
accept: string;
|
|
9
|
+
}
|
|
3
10
|
interface CookieBannerProps {
|
|
4
11
|
visible: boolean;
|
|
5
12
|
cookiePolicyUrl: string;
|
|
6
13
|
onAccept: () => void;
|
|
7
14
|
onReject: () => void;
|
|
8
15
|
onManage?: () => void;
|
|
16
|
+
labels?: Partial<CookieBannerLabels>;
|
|
9
17
|
className?: string;
|
|
10
18
|
}
|
|
11
19
|
/**
|
|
@@ -14,9 +22,12 @@ interface CookieBannerProps {
|
|
|
14
22
|
* page's own background. Card design is the canonical Appo design-system
|
|
15
23
|
* "glass card" — match this treatment in any new card-like surfaces.
|
|
16
24
|
*
|
|
25
|
+
* Copy is overridable through `labels` so a localized host can pass its own
|
|
26
|
+
* translations; the defaults are Italian.
|
|
27
|
+
*
|
|
17
28
|
* If you need a different visual for a future product, do not add a variant
|
|
18
29
|
* prop to this component — duplicate it under a different name.
|
|
19
30
|
*/
|
|
20
|
-
declare function CookieBanner({ visible, cookiePolicyUrl, onAccept, onReject, onManage, className, }: CookieBannerProps): react_jsx_runtime.JSX.Element | null;
|
|
31
|
+
declare function CookieBanner({ visible, cookiePolicyUrl, onAccept, onReject, onManage, labels, className, }: CookieBannerProps): react_jsx_runtime.JSX.Element | null;
|
|
21
32
|
|
|
22
|
-
export { CookieBanner, type CookieBannerProps };
|
|
33
|
+
export { CookieBanner, type CookieBannerLabels, type CookieBannerProps };
|
package/dist/cookie-banner.d.ts
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
+
interface CookieBannerLabels {
|
|
4
|
+
message: string;
|
|
5
|
+
policyLink: string;
|
|
6
|
+
manage: string;
|
|
7
|
+
reject: string;
|
|
8
|
+
accept: string;
|
|
9
|
+
}
|
|
3
10
|
interface CookieBannerProps {
|
|
4
11
|
visible: boolean;
|
|
5
12
|
cookiePolicyUrl: string;
|
|
6
13
|
onAccept: () => void;
|
|
7
14
|
onReject: () => void;
|
|
8
15
|
onManage?: () => void;
|
|
16
|
+
labels?: Partial<CookieBannerLabels>;
|
|
9
17
|
className?: string;
|
|
10
18
|
}
|
|
11
19
|
/**
|
|
@@ -14,9 +22,12 @@ interface CookieBannerProps {
|
|
|
14
22
|
* page's own background. Card design is the canonical Appo design-system
|
|
15
23
|
* "glass card" — match this treatment in any new card-like surfaces.
|
|
16
24
|
*
|
|
25
|
+
* Copy is overridable through `labels` so a localized host can pass its own
|
|
26
|
+
* translations; the defaults are Italian.
|
|
27
|
+
*
|
|
17
28
|
* If you need a different visual for a future product, do not add a variant
|
|
18
29
|
* prop to this component — duplicate it under a different name.
|
|
19
30
|
*/
|
|
20
|
-
declare function CookieBanner({ visible, cookiePolicyUrl, onAccept, onReject, onManage, className, }: CookieBannerProps): react_jsx_runtime.JSX.Element | null;
|
|
31
|
+
declare function CookieBanner({ visible, cookiePolicyUrl, onAccept, onReject, onManage, labels, className, }: CookieBannerProps): react_jsx_runtime.JSX.Element | null;
|
|
21
32
|
|
|
22
|
-
export { CookieBanner, type CookieBannerProps };
|
|
33
|
+
export { CookieBanner, type CookieBannerLabels, type CookieBannerProps };
|
package/dist/cookie-banner.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -11,7 +11,7 @@ var chunkENL6ESRU_cjs = require('./chunk-ENL6ESRU.cjs');
|
|
|
11
11
|
var chunk4PUFPF6C_cjs = require('./chunk-4PUFPF6C.cjs');
|
|
12
12
|
var chunkOT6635BH_cjs = require('./chunk-OT6635BH.cjs');
|
|
13
13
|
var chunkB64C5CKE_cjs = require('./chunk-B64C5CKE.cjs');
|
|
14
|
-
var
|
|
14
|
+
var chunkLIC2OARP_cjs = require('./chunk-LIC2OARP.cjs');
|
|
15
15
|
var chunkYDAWVTOZ_cjs = require('./chunk-YDAWVTOZ.cjs');
|
|
16
16
|
var chunkDNUPHXUJ_cjs = require('./chunk-DNUPHXUJ.cjs');
|
|
17
17
|
var chunkHDAJFMPR_cjs = require('./chunk-HDAJFMPR.cjs');
|
|
@@ -32,11 +32,11 @@ var chunkXRUHTINK_cjs = require('./chunk-XRUHTINK.cjs');
|
|
|
32
32
|
var chunk4NMM5W5Q_cjs = require('./chunk-4NMM5W5Q.cjs');
|
|
33
33
|
var chunkAFNT34UO_cjs = require('./chunk-AFNT34UO.cjs');
|
|
34
34
|
var chunkXL5TYEAZ_cjs = require('./chunk-XL5TYEAZ.cjs');
|
|
35
|
-
var
|
|
35
|
+
var chunkPTJIVS4M_cjs = require('./chunk-PTJIVS4M.cjs');
|
|
36
36
|
var chunkCAHV7CMU_cjs = require('./chunk-CAHV7CMU.cjs');
|
|
37
37
|
var chunkJQM7U4HY_cjs = require('./chunk-JQM7U4HY.cjs');
|
|
38
38
|
var chunkP5VBESJ3_cjs = require('./chunk-P5VBESJ3.cjs');
|
|
39
|
-
var
|
|
39
|
+
var chunk5AE4EJNL_cjs = require('./chunk-5AE4EJNL.cjs');
|
|
40
40
|
var chunk3CWEXWUR_cjs = require('./chunk-3CWEXWUR.cjs');
|
|
41
41
|
var chunk3SQHEJFP_cjs = require('./chunk-3SQHEJFP.cjs');
|
|
42
42
|
var chunkAPCEE7AC_cjs = require('./chunk-APCEE7AC.cjs');
|
|
@@ -235,103 +235,103 @@ Object.defineProperty(exports, "SelectValue", {
|
|
|
235
235
|
});
|
|
236
236
|
Object.defineProperty(exports, "Sidebar", {
|
|
237
237
|
enumerable: true,
|
|
238
|
-
get: function () { return
|
|
238
|
+
get: function () { return chunkLIC2OARP_cjs.Sidebar; }
|
|
239
239
|
});
|
|
240
240
|
Object.defineProperty(exports, "SidebarContent", {
|
|
241
241
|
enumerable: true,
|
|
242
|
-
get: function () { return
|
|
242
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarContent; }
|
|
243
243
|
});
|
|
244
244
|
Object.defineProperty(exports, "SidebarFooter", {
|
|
245
245
|
enumerable: true,
|
|
246
|
-
get: function () { return
|
|
246
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarFooter; }
|
|
247
247
|
});
|
|
248
248
|
Object.defineProperty(exports, "SidebarGroup", {
|
|
249
249
|
enumerable: true,
|
|
250
|
-
get: function () { return
|
|
250
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarGroup; }
|
|
251
251
|
});
|
|
252
252
|
Object.defineProperty(exports, "SidebarGroupAction", {
|
|
253
253
|
enumerable: true,
|
|
254
|
-
get: function () { return
|
|
254
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarGroupAction; }
|
|
255
255
|
});
|
|
256
256
|
Object.defineProperty(exports, "SidebarGroupContent", {
|
|
257
257
|
enumerable: true,
|
|
258
|
-
get: function () { return
|
|
258
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarGroupContent; }
|
|
259
259
|
});
|
|
260
260
|
Object.defineProperty(exports, "SidebarGroupLabel", {
|
|
261
261
|
enumerable: true,
|
|
262
|
-
get: function () { return
|
|
262
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarGroupLabel; }
|
|
263
263
|
});
|
|
264
264
|
Object.defineProperty(exports, "SidebarHeader", {
|
|
265
265
|
enumerable: true,
|
|
266
|
-
get: function () { return
|
|
266
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarHeader; }
|
|
267
267
|
});
|
|
268
268
|
Object.defineProperty(exports, "SidebarInput", {
|
|
269
269
|
enumerable: true,
|
|
270
|
-
get: function () { return
|
|
270
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarInput; }
|
|
271
271
|
});
|
|
272
272
|
Object.defineProperty(exports, "SidebarInset", {
|
|
273
273
|
enumerable: true,
|
|
274
|
-
get: function () { return
|
|
274
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarInset; }
|
|
275
275
|
});
|
|
276
276
|
Object.defineProperty(exports, "SidebarMenu", {
|
|
277
277
|
enumerable: true,
|
|
278
|
-
get: function () { return
|
|
278
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarMenu; }
|
|
279
279
|
});
|
|
280
280
|
Object.defineProperty(exports, "SidebarMenuAction", {
|
|
281
281
|
enumerable: true,
|
|
282
|
-
get: function () { return
|
|
282
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarMenuAction; }
|
|
283
283
|
});
|
|
284
284
|
Object.defineProperty(exports, "SidebarMenuBadge", {
|
|
285
285
|
enumerable: true,
|
|
286
|
-
get: function () { return
|
|
286
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarMenuBadge; }
|
|
287
287
|
});
|
|
288
288
|
Object.defineProperty(exports, "SidebarMenuButton", {
|
|
289
289
|
enumerable: true,
|
|
290
|
-
get: function () { return
|
|
290
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarMenuButton; }
|
|
291
291
|
});
|
|
292
292
|
Object.defineProperty(exports, "SidebarMenuItem", {
|
|
293
293
|
enumerable: true,
|
|
294
|
-
get: function () { return
|
|
294
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarMenuItem; }
|
|
295
295
|
});
|
|
296
296
|
Object.defineProperty(exports, "SidebarMenuSkeleton", {
|
|
297
297
|
enumerable: true,
|
|
298
|
-
get: function () { return
|
|
298
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarMenuSkeleton; }
|
|
299
299
|
});
|
|
300
300
|
Object.defineProperty(exports, "SidebarMenuSub", {
|
|
301
301
|
enumerable: true,
|
|
302
|
-
get: function () { return
|
|
302
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarMenuSub; }
|
|
303
303
|
});
|
|
304
304
|
Object.defineProperty(exports, "SidebarMenuSubButton", {
|
|
305
305
|
enumerable: true,
|
|
306
|
-
get: function () { return
|
|
306
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarMenuSubButton; }
|
|
307
307
|
});
|
|
308
308
|
Object.defineProperty(exports, "SidebarMenuSubItem", {
|
|
309
309
|
enumerable: true,
|
|
310
|
-
get: function () { return
|
|
310
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarMenuSubItem; }
|
|
311
311
|
});
|
|
312
312
|
Object.defineProperty(exports, "SidebarProvider", {
|
|
313
313
|
enumerable: true,
|
|
314
|
-
get: function () { return
|
|
314
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarProvider; }
|
|
315
315
|
});
|
|
316
316
|
Object.defineProperty(exports, "SidebarRail", {
|
|
317
317
|
enumerable: true,
|
|
318
|
-
get: function () { return
|
|
318
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarRail; }
|
|
319
319
|
});
|
|
320
320
|
Object.defineProperty(exports, "SidebarSeparator", {
|
|
321
321
|
enumerable: true,
|
|
322
|
-
get: function () { return
|
|
322
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarSeparator; }
|
|
323
323
|
});
|
|
324
324
|
Object.defineProperty(exports, "SidebarTrigger", {
|
|
325
325
|
enumerable: true,
|
|
326
|
-
get: function () { return
|
|
326
|
+
get: function () { return chunkLIC2OARP_cjs.SidebarTrigger; }
|
|
327
327
|
});
|
|
328
328
|
Object.defineProperty(exports, "useIsMobile", {
|
|
329
329
|
enumerable: true,
|
|
330
|
-
get: function () { return
|
|
330
|
+
get: function () { return chunkLIC2OARP_cjs.useIsMobile; }
|
|
331
331
|
});
|
|
332
332
|
Object.defineProperty(exports, "useSidebar", {
|
|
333
333
|
enumerable: true,
|
|
334
|
-
get: function () { return
|
|
334
|
+
get: function () { return chunkLIC2OARP_cjs.useSidebar; }
|
|
335
335
|
});
|
|
336
336
|
Object.defineProperty(exports, "Tooltip", {
|
|
337
337
|
enumerable: true,
|
|
@@ -639,11 +639,11 @@ Object.defineProperty(exports, "InputOTPSlot", {
|
|
|
639
639
|
});
|
|
640
640
|
Object.defineProperty(exports, "Input", {
|
|
641
641
|
enumerable: true,
|
|
642
|
-
get: function () { return
|
|
642
|
+
get: function () { return chunkPTJIVS4M_cjs.Input; }
|
|
643
643
|
});
|
|
644
644
|
Object.defineProperty(exports, "inputVariants", {
|
|
645
645
|
enumerable: true,
|
|
646
|
-
get: function () { return
|
|
646
|
+
get: function () { return chunkPTJIVS4M_cjs.inputVariants; }
|
|
647
647
|
});
|
|
648
648
|
Object.defineProperty(exports, "Collapsible", {
|
|
649
649
|
enumerable: true,
|
|
@@ -755,7 +755,7 @@ Object.defineProperty(exports, "ContextMenuTrigger", {
|
|
|
755
755
|
});
|
|
756
756
|
Object.defineProperty(exports, "CookieBanner", {
|
|
757
757
|
enumerable: true,
|
|
758
|
-
get: function () { return
|
|
758
|
+
get: function () { return chunk5AE4EJNL_cjs.CookieBanner; }
|
|
759
759
|
});
|
|
760
760
|
Object.defineProperty(exports, "Dialog", {
|
|
761
761
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import { ToastProps, ToastActionElement } from './toast.cjs';
|
|
|
4
4
|
export { Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport } from './toast.cjs';
|
|
5
5
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './accordion.cjs';
|
|
6
6
|
export { Alert, AlertDescription, AlertTitle } from './alert.cjs';
|
|
7
|
-
export { CookieBanner, CookieBannerProps } from './cookie-banner.cjs';
|
|
7
|
+
export { CookieBanner, CookieBannerLabels, CookieBannerProps } from './cookie-banner.cjs';
|
|
8
8
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from './alert-dialog.cjs';
|
|
9
9
|
export { AnimatedBackground, GradientOrb } from './animated-background.cjs';
|
|
10
10
|
export { AspectRatio } from './aspect-ratio.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { ToastProps, ToastActionElement } from './toast.js';
|
|
|
4
4
|
export { Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport } from './toast.js';
|
|
5
5
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './accordion.js';
|
|
6
6
|
export { Alert, AlertDescription, AlertTitle } from './alert.js';
|
|
7
|
-
export { CookieBanner, CookieBannerProps } from './cookie-banner.js';
|
|
7
|
+
export { CookieBanner, CookieBannerLabels, CookieBannerProps } from './cookie-banner.js';
|
|
8
8
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from './alert-dialog.js';
|
|
9
9
|
export { AnimatedBackground, GradientOrb } from './animated-background.js';
|
|
10
10
|
export { AspectRatio } from './aspect-ratio.js';
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ export { ToggleGroup, ToggleGroupItem } from './chunk-LQQUYJDW.js';
|
|
|
9
9
|
export { Toggle, toggleVariants } from './chunk-5PQOCJVT.js';
|
|
10
10
|
export { ScrollArea, ScrollBar } from './chunk-U7WC6RNE.js';
|
|
11
11
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './chunk-BDXHEY7V.js';
|
|
12
|
-
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useIsMobile, useSidebar } from './chunk-
|
|
12
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useIsMobile, useSidebar } from './chunk-D22GZZ4V.js';
|
|
13
13
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './chunk-UNQ5DGDS.js';
|
|
14
14
|
export { Separator, separatorVariants } from './chunk-SF3CF5IT.js';
|
|
15
15
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from './chunk-IIAOE7A5.js';
|
|
@@ -30,11 +30,11 @@ export { GlassOverlay, glassOverlayVariants } from './chunk-GINYLBFK.js';
|
|
|
30
30
|
export { GlassTabs, glassTabVariants, glassTabsContainerVariants } from './chunk-OT7XNSER.js';
|
|
31
31
|
export { HoverCard, HoverCardContent, HoverCardTrigger } from './chunk-TV5LOKYE.js';
|
|
32
32
|
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from './chunk-T73AMX2B.js';
|
|
33
|
-
export { Input, inputVariants } from './chunk-
|
|
33
|
+
export { Input, inputVariants } from './chunk-OWZDA7N5.js';
|
|
34
34
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-ONTWZWVJ.js';
|
|
35
35
|
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from './chunk-ZVMXDLJ3.js';
|
|
36
36
|
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from './chunk-XUSP522X.js';
|
|
37
|
-
export { CookieBanner } from './chunk-
|
|
37
|
+
export { CookieBanner } from './chunk-SWGYVBN7.js';
|
|
38
38
|
export { Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogSteps, DialogTitle, DialogTrigger } from './chunk-652R2JBT.js';
|
|
39
39
|
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './chunk-VHVVKUFM.js';
|
|
40
40
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './chunk-FOTJ6OCK.js';
|
package/dist/input.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPTJIVS4M_cjs = require('./chunk-PTJIVS4M.cjs');
|
|
4
4
|
require('./chunk-K3WGYDSA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Input", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkPTJIVS4M_cjs.Input; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "inputVariants", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkPTJIVS4M_cjs.inputVariants; }
|
|
15
15
|
});
|
|
16
16
|
//# sourceMappingURL=input.cjs.map
|
|
17
17
|
//# sourceMappingURL=input.cjs.map
|
package/dist/input.d.cts
CHANGED
|
@@ -4,6 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
4
4
|
|
|
5
5
|
declare const inputVariants: (props?: ({
|
|
6
6
|
variant?: "default" | "glass" | null | undefined;
|
|
7
|
+
inputSize?: "default" | "lg" | "xl" | null | undefined;
|
|
7
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
9
|
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
|
|
9
10
|
}
|
package/dist/input.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
4
4
|
|
|
5
5
|
declare const inputVariants: (props?: ({
|
|
6
6
|
variant?: "default" | "glass" | null | undefined;
|
|
7
|
+
inputSize?: "default" | "lg" | "xl" | null | undefined;
|
|
7
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
9
|
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
|
|
9
10
|
}
|
package/dist/input.js
CHANGED