@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.js
CHANGED
|
@@ -253,7 +253,7 @@ var AlertDescription = React40.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
253
253
|
));
|
|
254
254
|
AlertDescription.displayName = "AlertDescription";
|
|
255
255
|
var buttonVariants = cva(
|
|
256
|
-
"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",
|
|
256
|
+
"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",
|
|
257
257
|
{
|
|
258
258
|
variants: {
|
|
259
259
|
variant: {
|
|
@@ -302,7 +302,7 @@ function CookieBanner({
|
|
|
302
302
|
className
|
|
303
303
|
}) {
|
|
304
304
|
if (!visible) return null;
|
|
305
|
-
return /* @__PURE__ */ jsx("div", { className: cn("fixed bottom-0 left-0 right-0 z-50 p-4", className), children: /* @__PURE__ */ jsxs("div", { className: "
|
|
305
|
+
return /* @__PURE__ */ jsx("div", { className: cn("fixed bottom-0 left-0 right-0 z-50 sm:p-4", className), children: /* @__PURE__ */ 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: [
|
|
306
306
|
/* @__PURE__ */ jsxs("p", { className: "text-sm text-muted-foreground", children: [
|
|
307
307
|
"Utilizziamo i cookie per migliorare la tua esperienza.",
|
|
308
308
|
" ",
|
|
@@ -317,7 +317,7 @@ function CookieBanner({
|
|
|
317
317
|
}
|
|
318
318
|
)
|
|
319
319
|
] }),
|
|
320
|
-
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
320
|
+
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-2 self-end sm:self-auto", children: [
|
|
321
321
|
onManage && /* @__PURE__ */ jsx(Button, { variant: "ghost", size: "sm", onClick: onManage, className: "hover:bg-transparent hover:underline", children: "Gestisci" }),
|
|
322
322
|
/* @__PURE__ */ jsx(Button, { variant: "outline", size: "sm", onClick: onReject, children: "Rifiuta" }),
|
|
323
323
|
/* @__PURE__ */ jsx(Button, { size: "sm", onClick: onAccept, children: "Accetta tutto" })
|