@acronis-platform/shadcn-uikit 0.24.0 → 0.25.0

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.
@@ -4,7 +4,9 @@ declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
4
4
  declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
5
  declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
6
6
  declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
8
+ portal?: boolean;
9
+ } & React.RefAttributes<HTMLDivElement>>;
8
10
  declare const AlertDialogHeader: {
9
11
  ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
10
12
  displayName: string;
@@ -1,38 +1,41 @@
1
- import { jsx as o, jsxs as g } from "react/jsx-runtime";
1
+ import { jsx as o, jsxs as y, Fragment as u } from "react/jsx-runtime";
2
2
  import * as l from "react";
3
- import { Overlay as i, Portal as N, Content as r, Title as d, Description as n, Action as m, Cancel as c, Root as y, Trigger as x } from "../../node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.27__@type_2938e8bb4531c18dd665808ca65dbf8b/node_modules/@radix-ui/react-alert-dialog/dist/index.js";
3
+ import { Overlay as i, Content as d, Portal as x, Title as n, Description as m, Action as c, Cancel as f, Root as D, Trigger as A } from "../../node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.27__@type_2938e8bb4531c18dd665808ca65dbf8b/node_modules/@radix-ui/react-alert-dialog/dist/index.js";
4
4
  import { cn as s } from "../../lib/utils.js";
5
- import { buttonVariants as f } from "./button.js";
6
- const P = y, h = x, u = N, p = l.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ o(
5
+ import { buttonVariants as p } from "./button.js";
6
+ const k = D, H = A, w = x, g = l.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
7
7
  i,
8
8
  {
9
9
  className: s(
10
10
  "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
11
11
  a
12
12
  ),
13
- ...t,
14
- ref: e
13
+ ...e,
14
+ ref: t
15
15
  }
16
16
  ));
17
- p.displayName = i.displayName;
18
- const D = l.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ g(u, { children: [
19
- /* @__PURE__ */ o(p, {}),
20
- /* @__PURE__ */ o(
21
- r,
22
- {
23
- ref: e,
24
- className: s(
25
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
26
- a
27
- ),
28
- ...t
29
- }
30
- )
31
- ] }));
32
- D.displayName = r.displayName;
33
- const A = ({
17
+ g.displayName = i.displayName;
18
+ const R = l.forwardRef(({ className: a, portal: e = !0, ...t }, N) => {
19
+ const r = /* @__PURE__ */ y(u, { children: [
20
+ /* @__PURE__ */ o(g, {}),
21
+ /* @__PURE__ */ o(
22
+ d,
23
+ {
24
+ ref: N,
25
+ className: s(
26
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
27
+ a
28
+ ),
29
+ ...t
30
+ }
31
+ )
32
+ ] });
33
+ return e ? /* @__PURE__ */ o(w, { children: r }) : r;
34
+ });
35
+ R.displayName = d.displayName;
36
+ const b = ({
34
37
  className: a,
35
- ...t
38
+ ...e
36
39
  }) => /* @__PURE__ */ o(
37
40
  "div",
38
41
  {
@@ -40,13 +43,13 @@ const A = ({
40
43
  "flex flex-col space-y-2 text-center sm:text-left",
41
44
  a
42
45
  ),
43
- ...t
46
+ ...e
44
47
  }
45
48
  );
46
- A.displayName = "AlertDialogHeader";
47
- const w = ({
49
+ b.displayName = "AlertDialogHeader";
50
+ const v = ({
48
51
  className: a,
49
- ...t
52
+ ...e
50
53
  }) => /* @__PURE__ */ o(
51
54
  "div",
52
55
  {
@@ -54,61 +57,61 @@ const w = ({
54
57
  "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
55
58
  a
56
59
  ),
57
- ...t
60
+ ...e
58
61
  }
59
62
  );
60
- w.displayName = "AlertDialogFooter";
61
- const R = l.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ o(
62
- d,
63
+ v.displayName = "AlertDialogFooter";
64
+ const T = l.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
65
+ n,
63
66
  {
64
- ref: e,
67
+ ref: t,
65
68
  className: s("text-lg font-semibold", a),
66
- ...t
69
+ ...e
67
70
  }
68
71
  ));
69
- R.displayName = d.displayName;
70
- const b = l.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ o(
71
- n,
72
+ T.displayName = n.displayName;
73
+ const C = l.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
74
+ m,
72
75
  {
73
- ref: e,
76
+ ref: t,
74
77
  className: s("text-sm text-muted-foreground", a),
75
- ...t
78
+ ...e
76
79
  }
77
80
  ));
78
- b.displayName = n.displayName;
79
- const v = l.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ o(
80
- m,
81
+ C.displayName = m.displayName;
82
+ const z = l.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
83
+ c,
81
84
  {
82
- ref: e,
83
- className: s(f(), a),
84
- ...t
85
+ ref: t,
86
+ className: s(p(), a),
87
+ ...e
85
88
  }
86
89
  ));
87
- v.displayName = m.displayName;
88
- const T = l.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ o(
89
- c,
90
+ z.displayName = c.displayName;
91
+ const h = l.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
92
+ f,
90
93
  {
91
- ref: e,
94
+ ref: t,
92
95
  className: s(
93
- f({ variant: "outline" }),
96
+ p({ variant: "outline" }),
94
97
  "mt-2 sm:mt-0",
95
98
  a
96
99
  ),
97
- ...t
100
+ ...e
98
101
  }
99
102
  ));
100
- T.displayName = c.displayName;
103
+ h.displayName = f.displayName;
101
104
  export {
102
- P as AlertDialog,
103
- v as AlertDialogAction,
104
- T as AlertDialogCancel,
105
- D as AlertDialogContent,
106
- b as AlertDialogDescription,
107
- w as AlertDialogFooter,
108
- A as AlertDialogHeader,
109
- p as AlertDialogOverlay,
110
- u as AlertDialogPortal,
111
- R as AlertDialogTitle,
112
- h as AlertDialogTrigger
105
+ k as AlertDialog,
106
+ z as AlertDialogAction,
107
+ h as AlertDialogCancel,
108
+ R as AlertDialogContent,
109
+ C as AlertDialogDescription,
110
+ v as AlertDialogFooter,
111
+ b as AlertDialogHeader,
112
+ g as AlertDialogOverlay,
113
+ w as AlertDialogPortal,
114
+ T as AlertDialogTitle,
115
+ H as AlertDialogTrigger
113
116
  };
114
117
  //# sourceMappingURL=alert-dialog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert-dialog.js","sources":["../../../src/components/ui/alert-dialog.tsx"],"sourcesContent":["import * as React from \"react\"\nimport * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\"\n\nimport { cn } from \"@/lib/utils\"\nimport { buttonVariants } from \"@/components/ui/button\"\n\nconst AlertDialog = AlertDialogPrimitive.Root\n\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger\n\nconst AlertDialogPortal = AlertDialogPrimitive.Portal\n\nconst AlertDialogOverlay = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n className={cn(\n \"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className\n )}\n {...props}\n ref={ref}\n />\n))\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName\n\nconst AlertDialogContent = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg\",\n className\n )}\n {...props}\n />\n </AlertDialogPortal>\n))\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName\n\nconst AlertDialogHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n \"flex flex-col space-y-2 text-center sm:text-left\",\n className\n )}\n {...props}\n />\n)\nAlertDialogHeader.displayName = \"AlertDialogHeader\"\n\nconst AlertDialogFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n \"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\",\n className\n )}\n {...props}\n />\n)\nAlertDialogFooter.displayName = \"AlertDialogFooter\"\n\nconst AlertDialogTitle = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold\", className)}\n {...props}\n />\n))\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName\n\nconst AlertDialogDescription = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n))\nAlertDialogDescription.displayName =\n AlertDialogPrimitive.Description.displayName\n\nconst AlertDialogAction = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Action>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Action\n ref={ref}\n className={cn(buttonVariants(), className)}\n {...props}\n />\n))\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName\n\nconst AlertDialogCancel = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(\n buttonVariants({ variant: \"outline\" }),\n \"mt-2 sm:mt-0\",\n className\n )}\n {...props}\n />\n))\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName\n\nexport {\n AlertDialog,\n AlertDialogPortal,\n AlertDialogOverlay,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n}\n"],"names":["AlertDialog","AlertDialogPrimitive.Root","AlertDialogTrigger","AlertDialogPrimitive.Trigger","AlertDialogPortal","AlertDialogPrimitive.Portal","AlertDialogOverlay","React","className","props","ref","jsx","AlertDialogPrimitive.Overlay","cn","AlertDialogContent","jsxs","AlertDialogPrimitive.Content","AlertDialogHeader","AlertDialogFooter","AlertDialogTitle","AlertDialogPrimitive.Title","AlertDialogDescription","AlertDialogPrimitive.Description","AlertDialogAction","AlertDialogPrimitive.Action","buttonVariants","AlertDialogCancel","AlertDialogPrimitive.Cancel"],"mappings":";;;;;AAMA,MAAMA,IAAcC,GAEdC,IAAqBC,GAErBC,IAAoBC,GAEpBC,IAAqBC,EAAM,WAG/B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,WAAWC;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,IACJ,KAAAC;AAAA,EAAA;AACF,CACD;AACDJ,EAAmB,cAAcM,EAA6B;AAE9D,MAAME,IAAqBP,EAAM,WAG/B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAK,EAACX,GAAA,EACC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AC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAACa;AAAAA,EAAA;AAAA,IACC,KAAAd;AAAA,IACA,WAAWG,EAAGY,EAAA,GAAkBjB,CAAS;AAAA,IACxC,GAAGC;AAAA,EAAA;AACN,CACD;AACDc,EAAkB,cAAcC,EAA4B;AAE5D,MAAME,IAAoBnB,EAAM,WAG9B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAACgB;AAAAA,EAAA;AAAA,IACC,KAAAjB;AAAA,IACA,WAAWG;AAAA,MACTY,EAAe,EAAE,SAAS,WAAW;AAAA,MACrC;AAAA,MACAjB;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACDiB,EAAkB,cAAcC,EAA4B;"}
1
+ {"version":3,"file":"alert-dialog.js","sources":["../../../src/components/ui/alert-dialog.tsx"],"sourcesContent":["import * as React from \"react\"\nimport * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\"\n\nimport { cn } from \"@/lib/utils\"\nimport { buttonVariants } from \"@/components/ui/button\"\n\nconst AlertDialog = AlertDialogPrimitive.Root\n\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger\n\nconst AlertDialogPortal = AlertDialogPrimitive.Portal\n\nconst AlertDialogOverlay = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n className={cn(\n \"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className\n )}\n {...props}\n ref={ref}\n />\n))\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName\n\nconst AlertDialogContent = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> & {\n portal?: boolean\n }\n>(({ className, portal = true, ...props }, ref) => {\n const element = (\n <>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg\",\n className\n )}\n {...props}\n />\n </>\n )\n\n return portal ? <AlertDialogPortal>{element}</AlertDialogPortal> : element\n})\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName\n\nconst AlertDialogHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n \"flex flex-col space-y-2 text-center sm:text-left\",\n className\n )}\n {...props}\n />\n)\nAlertDialogHeader.displayName = \"AlertDialogHeader\"\n\nconst AlertDialogFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n \"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\",\n className\n )}\n {...props}\n />\n)\nAlertDialogFooter.displayName = \"AlertDialogFooter\"\n\nconst AlertDialogTitle = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold\", className)}\n {...props}\n />\n))\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName\n\nconst AlertDialogDescription = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n))\nAlertDialogDescription.displayName =\n AlertDialogPrimitive.Description.displayName\n\nconst AlertDialogAction = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Action>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Action\n ref={ref}\n className={cn(buttonVariants(), className)}\n {...props}\n />\n))\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName\n\nconst AlertDialogCancel = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(\n buttonVariants({ variant: \"outline\" }),\n \"mt-2 sm:mt-0\",\n className\n )}\n {...props}\n />\n))\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName\n\nexport {\n AlertDialog,\n AlertDialogPortal,\n AlertDialogOverlay,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n}\n"],"names":["AlertDialog","AlertDialogPrimitive.Root","AlertDialogTrigger","AlertDialogPrimitive.Trigger","AlertDialogPortal","AlertDialogPrimitive.Portal","AlertDialogOverlay","React","className","props","ref","jsx","AlertDialogPrimitive.Overlay","cn","AlertDialogContent","portal","element","jsxs","Fragment","AlertDialogPrimitive.Content","AlertDialogHeader","AlertDialogFooter","AlertDialogTitle","AlertDialogPrimitive.Title","AlertDialogDescription","AlertDialogPrimitive.Description","AlertDialogAction","AlertDialogPrimitive.Action","buttonVariants","AlertDialogCancel","AlertDialogPrimitive.Cancel"],"mappings":";;;;;AAMA,MA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MC,IAAmBf,EAAM,WAG7B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAACY;AAAAA,EAAA;AAAA,IACC,KAAAb;AAAA,IACA,WAAWG,EAAG,yBAAyBL,CAAS;AAAA,IAC/C,GAAGC;AAAA,EAAA;AACN,CACD;AACDa,EAAiB,cAAcC,EAA2B;AAE1D,MAAMC,IAAyBjB,EAAM,WAGnC,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAACc;AAAAA,EAAA;AAAA,IACC,KAAAf;AAAA,IACA,WAAWG,EAAG,iCAAiCL,CAAS;AAAA,IACvD,GAAGC;AAAA,EAAA;AACN,CACD;AACDe,EAAuB,cACrBC,EAAiC;AAEnC,MAAMC,IAAoBnB,EAAM,WAG9B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAACgB;AAAAA,EAAA;AAAA,IACC,KAAAjB;AAAA,IACA,WAAWG,EAAGe,EAAA,GAAkBpB,CAAS;AAAA,IACxC,GAAGC;AAAA,EAAA;AACN,CACD;AACDiB,EAAkB,cAAcC,EAA4B;AAE5D,MAAME,IAAoBtB,EAAM,WAG9B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAACmB;AAAAA,EAAA;AAAA,IACC,KAAApB;AAAA,IACA,WAAWG;AAAA,MACTe,EAAe,EAAE,SAAS,WAAW;AAAA,MACrC;AAAA,MACApB;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACDoB,EAAkB,cAAcC,EAA4B;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acronis-platform/shadcn-uikit",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "Acronis shadcn UI component library built with TypeScript, following shadcn design principles",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",