@appolabs/ui 0.1.21 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -305,7 +305,7 @@ var AlertDescription = React40__namespace.forwardRef(({ className, ...props }, r
|
|
|
305
305
|
));
|
|
306
306
|
AlertDescription.displayName = "AlertDescription";
|
|
307
307
|
var buttonVariants = classVarianceAuthority.cva(
|
|
308
|
-
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-base font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
308
|
+
"inline-flex cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-md text-base font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
309
309
|
{
|
|
310
310
|
variants: {
|
|
311
311
|
variant: {
|
|
@@ -354,7 +354,7 @@ function CookieBanner({
|
|
|
354
354
|
className
|
|
355
355
|
}) {
|
|
356
356
|
if (!visible) return null;
|
|
357
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("fixed bottom-0 left-0 right-0 z-50 p-4", className), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
357
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("fixed bottom-0 left-0 right-0 z-50 sm:p-4", className), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border border-border bg-card/95 backdrop-blur-sm flex flex-col gap-4 px-4 py-4 sm:rounded-xl sm:flex-row sm:items-center sm:justify-between", children: [
|
|
358
358
|
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-sm text-muted-foreground", children: [
|
|
359
359
|
"Utilizziamo i cookie per migliorare la tua esperienza.",
|
|
360
360
|
" ",
|
|
@@ -369,7 +369,7 @@ function CookieBanner({
|
|
|
369
369
|
}
|
|
370
370
|
)
|
|
371
371
|
] }),
|
|
372
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
372
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2 self-end sm:self-auto", children: [
|
|
373
373
|
onManage && /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "ghost", size: "sm", onClick: onManage, className: "hover:bg-transparent hover:underline", children: "Gestisci" }),
|
|
374
374
|
/* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "outline", size: "sm", onClick: onReject, children: "Rifiuta" }),
|
|
375
375
|
/* @__PURE__ */ jsxRuntime.jsx(Button, { size: "sm", onClick: onAccept, children: "Accetta tutto" })
|