@adamosuiteservices/ui 2.10.7 → 2.10.9
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/accordion-rounded.cjs +8 -8
- package/dist/accordion-rounded.js +16 -16
- package/dist/alert.cjs +18 -19
- package/dist/alert.js +32 -27
- package/dist/{button-qnFw4fZd.js → button-BXTNbWAk.js} +12 -8
- package/dist/{button-D7hVwtUK.cjs → button-r2Y2aX25.cjs} +4 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/calendar.cjs +2 -2
- package/dist/calendar.js +2 -2
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/colors.css +1 -1
- package/dist/combobox.cjs +1 -1
- package/dist/combobox.js +1 -1
- package/dist/components/ui/alert/alert.d.ts +2 -1
- package/dist/components/ui/alert/alert.stories.d.ts +1 -0
- package/dist/components/ui/button/button.d.ts +1 -1
- package/dist/components/ui/button/button.stories.d.ts +1 -0
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/field.cjs +1 -1
- package/dist/field.js +1 -1
- package/dist/input-group.cjs +2 -2
- package/dist/input-group.js +5 -5
- package/dist/{label-BQhv4uCu.cjs → label-1jx6a0Sm.cjs} +3 -3
- package/dist/{label-mzFeN5wI.js → label-CrsELeIw.js} +11 -11
- package/dist/label.cjs +1 -1
- package/dist/label.js +1 -1
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.js +1 -1
- package/dist/sidebar.cjs +1 -1
- package/dist/sidebar.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/table.cjs +4 -3
- package/dist/table.js +6 -5
- package/dist/tailwind-colors.css +1 -1
- package/dist/tailwind-theme.css +1 -1
- package/dist/themes.css +1 -1
- package/dist/toaster.cjs +1 -1
- package/dist/toaster.js +13 -13
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +11 -11
- package/docs/components/layout/toaster.md +1 -1
- package/docs/components/ui/accordion-rounded.md +584 -584
- package/docs/components/ui/button.md +66 -7
- package/docs/components/ui/table.md +183 -183
- package/docs/components/ui/typography.md +8 -8
- package/package.json +1 -2
- package/dist/custom-layered-styles.css +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./jsx-runtime-BB_1_6y_.cjs"),d=require("./index-DIwmXz1u.cjs"),m=require("./icon-Bg5HV6Ls.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./jsx-runtime-BB_1_6y_.cjs"),d=require("./index-DIwmXz1u.cjs"),m=require("./icon-Bg5HV6Ls.cjs"),o=require("./index-DoxiiusW.cjs");require("react");function i({...t}){return e.jsxRuntimeExports.jsx(d.Root2,{"data-slot":"accordion",...t})}function c({className:t,...a}){return e.jsxRuntimeExports.jsx(d.Item,{"data-slot":"accordion-item",className:o.cn(`
|
|
2
2
|
adm:mb-4 adm:rounded-2xl adm:bg-neutrals-50
|
|
3
3
|
adm:last:mb-0
|
|
4
|
-
`,t),...a})}function
|
|
4
|
+
`,t),...a})}function x({className:t,children:a,title:n,badge:s,...r}){return e.jsxRuntimeExports.jsx(d.Header,{className:"adm:flex adm:h-14",children:e.jsxRuntimeExports.jsxs(d.Trigger2,{"data-slot":"accordion-trigger",className:o.cn(`
|
|
5
5
|
adm:group adm:flex adm:flex-1 adm:items-center adm:gap-4
|
|
6
6
|
adm:rounded-lg adm:px-4 adm:transition-all adm:outline-none
|
|
7
7
|
adm:disabled:pointer-events-none adm:disabled:opacity-50
|
|
8
8
|
`,t),...r,children:[e.jsxRuntimeExports.jsx("div",{className:`
|
|
9
9
|
adm:line-clamp-1 adm:flex adm:flex-1 adm:items-center
|
|
10
10
|
adm:justify-start adm:text-left adm:text-xs adm:leading-5
|
|
11
|
-
adm:font-semibold adm:text-
|
|
12
|
-
`,children:n||a}),
|
|
13
|
-
adm:text-lg adm:text-
|
|
11
|
+
adm:font-semibold adm:text-muted-foreground adm:uppercase
|
|
12
|
+
`,children:n||a}),s&&e.jsxRuntimeExports.jsx("div",{className:"adm:shrink-0",children:s}),e.jsxRuntimeExports.jsxs("div",{className:"adm:flex adm:shrink-0 adm:items-center adm:justify-end",children:[e.jsxRuntimeExports.jsx(m.Icon,{symbol:"add",className:`
|
|
13
|
+
adm:text-lg adm:text-muted-foreground adm:transition-transform
|
|
14
14
|
adm:duration-200
|
|
15
15
|
adm:group-data-[state=open]:hidden
|
|
16
16
|
`}),e.jsxRuntimeExports.jsx(m.Icon,{symbol:"remove",className:`
|
|
17
|
-
adm:hidden adm:text-lg adm:text-
|
|
17
|
+
adm:hidden adm:text-lg adm:text-muted-foreground
|
|
18
18
|
adm:group-data-[state=open]:block
|
|
19
|
-
`})]})]})})}function
|
|
19
|
+
`})]})]})})}function l({className:t,children:a,...n}){return e.jsxRuntimeExports.jsx(d.Content2,{"data-slot":"accordion-content",className:`
|
|
20
20
|
adm:overflow-hidden adm:text-sm
|
|
21
21
|
adm:data-[state=closed]:animate-accordion-up
|
|
22
22
|
adm:data-[state=open]:animate-accordion-down
|
|
23
|
-
`,...n,children:e.jsxRuntimeExports.jsx("div",{className:
|
|
23
|
+
`,...n,children:e.jsxRuntimeExports.jsx("div",{className:o.cn("adm:pt-0 adm:pb-4",t),children:a})})}exports.Accordion=i;exports.AccordionContent=l;exports.AccordionItem=c;exports.AccordionTrigger=x;
|
|
@@ -10,7 +10,7 @@ function h({
|
|
|
10
10
|
}
|
|
11
11
|
function N({
|
|
12
12
|
className: d,
|
|
13
|
-
...
|
|
13
|
+
...e
|
|
14
14
|
}) {
|
|
15
15
|
return /* @__PURE__ */ a.jsx(
|
|
16
16
|
i,
|
|
@@ -23,16 +23,16 @@ function N({
|
|
|
23
23
|
`,
|
|
24
24
|
d
|
|
25
25
|
),
|
|
26
|
-
...
|
|
26
|
+
...e
|
|
27
27
|
}
|
|
28
28
|
);
|
|
29
29
|
}
|
|
30
30
|
function b({
|
|
31
31
|
className: d,
|
|
32
|
-
children:
|
|
33
|
-
title:
|
|
34
|
-
badge:
|
|
35
|
-
...
|
|
32
|
+
children: e,
|
|
33
|
+
title: t,
|
|
34
|
+
badge: o,
|
|
35
|
+
...s
|
|
36
36
|
}) {
|
|
37
37
|
return /* @__PURE__ */ a.jsx(c, { className: "adm:flex adm:h-14", children: /* @__PURE__ */ a.jsxs(
|
|
38
38
|
l,
|
|
@@ -46,7 +46,7 @@ function b({
|
|
|
46
46
|
`,
|
|
47
47
|
d
|
|
48
48
|
),
|
|
49
|
-
...
|
|
49
|
+
...s,
|
|
50
50
|
children: [
|
|
51
51
|
/* @__PURE__ */ a.jsx(
|
|
52
52
|
"div",
|
|
@@ -54,19 +54,19 @@ function b({
|
|
|
54
54
|
className: `
|
|
55
55
|
adm:line-clamp-1 adm:flex adm:flex-1 adm:items-center
|
|
56
56
|
adm:justify-start adm:text-left adm:text-xs adm:leading-5
|
|
57
|
-
adm:font-semibold adm:text-
|
|
57
|
+
adm:font-semibold adm:text-muted-foreground adm:uppercase
|
|
58
58
|
`,
|
|
59
|
-
children:
|
|
59
|
+
children: t || e
|
|
60
60
|
}
|
|
61
61
|
),
|
|
62
|
-
|
|
62
|
+
o && /* @__PURE__ */ a.jsx("div", { className: "adm:shrink-0", children: o }),
|
|
63
63
|
/* @__PURE__ */ a.jsxs("div", { className: "adm:flex adm:shrink-0 adm:items-center adm:justify-end", children: [
|
|
64
64
|
/* @__PURE__ */ a.jsx(
|
|
65
65
|
n,
|
|
66
66
|
{
|
|
67
67
|
symbol: "add",
|
|
68
68
|
className: `
|
|
69
|
-
adm:text-lg adm:text-
|
|
69
|
+
adm:text-lg adm:text-muted-foreground adm:transition-transform
|
|
70
70
|
adm:duration-200
|
|
71
71
|
adm:group-data-[state=open]:hidden
|
|
72
72
|
`
|
|
@@ -77,7 +77,7 @@ function b({
|
|
|
77
77
|
{
|
|
78
78
|
symbol: "remove",
|
|
79
79
|
className: `
|
|
80
|
-
adm:hidden adm:text-lg adm:text-
|
|
80
|
+
adm:hidden adm:text-lg adm:text-muted-foreground
|
|
81
81
|
adm:group-data-[state=open]:block
|
|
82
82
|
`
|
|
83
83
|
}
|
|
@@ -89,8 +89,8 @@ function b({
|
|
|
89
89
|
}
|
|
90
90
|
function v({
|
|
91
91
|
className: d,
|
|
92
|
-
children:
|
|
93
|
-
...
|
|
92
|
+
children: e,
|
|
93
|
+
...t
|
|
94
94
|
}) {
|
|
95
95
|
return /* @__PURE__ */ a.jsx(
|
|
96
96
|
x,
|
|
@@ -101,8 +101,8 @@ function v({
|
|
|
101
101
|
adm:data-[state=closed]:animate-accordion-up
|
|
102
102
|
adm:data-[state=open]:animate-accordion-down
|
|
103
103
|
`,
|
|
104
|
-
...
|
|
105
|
-
children: /* @__PURE__ */ a.jsx("div", { className: m("adm:pt-0 adm:pb-4", d), children:
|
|
104
|
+
...t,
|
|
105
|
+
children: /* @__PURE__ */ a.jsx("div", { className: m("adm:pt-0 adm:pb-4", d), children: e })
|
|
106
106
|
}
|
|
107
107
|
);
|
|
108
108
|
}
|
package/dist/alert.cjs
CHANGED
|
@@ -1,30 +1,29 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./jsx-runtime-BB_1_6y_.cjs"),d=require("./index-DoxiiusW.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./jsx-runtime-BB_1_6y_.cjs"),d=require("./index-DoxiiusW.cjs"),m=require("./index-BTzZJcis.cjs");require("react");const i=m.cva(`
|
|
2
2
|
adm:relative adm:grid adm:w-full adm:grid-cols-[0_1fr] adm:items-start
|
|
3
|
-
adm:gap-y-0.5 adm:rounded-
|
|
3
|
+
adm:gap-y-0.5 adm:rounded-xl adm:px-4 adm:py-3 adm:text-sm
|
|
4
4
|
adm:has-[>[data-slot=icon]]:grid-cols-[calc(var(--adm-spacing)*4)_1fr]
|
|
5
5
|
adm:has-[>[data-slot=icon]]:gap-x-3
|
|
6
6
|
adm:has-[>svg]:grid-cols-[calc(var(--adm-spacing)*4)_1fr]
|
|
7
7
|
adm:has-[>svg]:gap-x-3
|
|
8
8
|
adm:[&>[data-slot=icon]]:translate-y-0.5 adm:[&>[data-slot=icon]]:text-lg
|
|
9
|
-
adm:[&>[
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
adm:
|
|
13
|
-
adm
|
|
14
|
-
adm:[&>svg]:text-current
|
|
9
|
+
adm:[&>svg]:size-4 adm:[&>svg]:translate-y-0.5
|
|
10
|
+
`,{variants:{variant:{default:"adm:border-border adm:bg-card adm:text-card-foreground",destructive:`
|
|
11
|
+
adm:border-destructive/30 adm:bg-destructive-50
|
|
12
|
+
adm:[&>[data-slot=icon]]:text-destructive
|
|
13
|
+
adm:[&>svg]:text-destructive
|
|
15
14
|
`,success:`
|
|
16
|
-
adm:
|
|
17
|
-
adm
|
|
18
|
-
adm:[&>svg]:text-
|
|
15
|
+
adm:border-success/30 adm:bg-success-50
|
|
16
|
+
adm:[&>[data-slot=icon]]:text-success
|
|
17
|
+
adm:[&>svg]:text-success
|
|
19
18
|
`,warning:`
|
|
20
|
-
adm:
|
|
21
|
-
adm
|
|
22
|
-
adm:[&>svg]:text-
|
|
23
|
-
`}},defaultVariants:{variant:"default"}});function
|
|
24
|
-
adm:col-start-2 adm:line-clamp-1 adm:min-h-4 adm:
|
|
25
|
-
adm:tracking-tight
|
|
26
|
-
`,
|
|
19
|
+
adm:border-warning/30 adm:bg-warning-50
|
|
20
|
+
adm:[&>[data-slot=icon]]:text-warning
|
|
21
|
+
adm:[&>svg]:text-warning
|
|
22
|
+
`},border:{default:"adm:border",transparent:"adm:border adm:border-transparent"}},defaultVariants:{variant:"default",border:"default"}});function n({className:a,variant:t,border:r,...s}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"alert",role:"alert",className:d.cn(i({variant:t,border:r}),a),...s})}function o({className:a,...t}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"alert-title",className:d.cn(`
|
|
23
|
+
adm:col-start-2 adm:line-clamp-1 adm:min-h-4 adm:text-sm
|
|
24
|
+
adm:font-medium adm:tracking-tight adm:text-foreground
|
|
25
|
+
`,a),...t})}function c({className:a,...t}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"alert-description",className:d.cn(`
|
|
27
26
|
adm:col-start-2 adm:grid adm:justify-items-start adm:gap-1 adm:text-sm
|
|
28
27
|
adm:text-muted-foreground
|
|
29
28
|
adm:[&_p]:leading-relaxed
|
|
30
|
-
`,
|
|
29
|
+
`,a),...t})}exports.Alert=n;exports.AlertDescription=c;exports.AlertTitle=o;
|
package/dist/alert.js
CHANGED
|
@@ -1,69 +1,74 @@
|
|
|
1
1
|
import { j as d } from "./jsx-runtime-BzflLqGi.js";
|
|
2
2
|
import { c as r } from "./index-CRiPKpXj.js";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as m } from "./index-BqtVL8d-.js";
|
|
4
4
|
import "react";
|
|
5
|
-
const
|
|
5
|
+
const i = m(
|
|
6
6
|
`
|
|
7
7
|
adm:relative adm:grid adm:w-full adm:grid-cols-[0_1fr] adm:items-start
|
|
8
|
-
adm:gap-y-0.5 adm:rounded-
|
|
8
|
+
adm:gap-y-0.5 adm:rounded-xl adm:px-4 adm:py-3 adm:text-sm
|
|
9
9
|
adm:has-[>[data-slot=icon]]:grid-cols-[calc(var(--adm-spacing)*4)_1fr]
|
|
10
10
|
adm:has-[>[data-slot=icon]]:gap-x-3
|
|
11
11
|
adm:has-[>svg]:grid-cols-[calc(var(--adm-spacing)*4)_1fr]
|
|
12
12
|
adm:has-[>svg]:gap-x-3
|
|
13
13
|
adm:[&>[data-slot=icon]]:translate-y-0.5 adm:[&>[data-slot=icon]]:text-lg
|
|
14
|
-
adm:[&>[
|
|
15
|
-
adm:[&>svg]:size-4 adm:[&>svg]:translate-y-0.5 adm:[&>svg]:text-current
|
|
14
|
+
adm:[&>svg]:size-4 adm:[&>svg]:translate-y-0.5
|
|
16
15
|
`,
|
|
17
16
|
{
|
|
18
17
|
variants: {
|
|
19
18
|
variant: {
|
|
20
|
-
default: "adm:bg-card adm:text-card-foreground",
|
|
19
|
+
default: "adm:border-border adm:bg-card adm:text-card-foreground",
|
|
21
20
|
destructive: `
|
|
22
|
-
adm:
|
|
23
|
-
adm
|
|
24
|
-
adm:[&>svg]:text-
|
|
21
|
+
adm:border-destructive/30 adm:bg-destructive-50
|
|
22
|
+
adm:[&>[data-slot=icon]]:text-destructive
|
|
23
|
+
adm:[&>svg]:text-destructive
|
|
25
24
|
`,
|
|
26
25
|
success: `
|
|
27
|
-
adm:
|
|
28
|
-
adm
|
|
29
|
-
adm:[&>svg]:text-
|
|
26
|
+
adm:border-success/30 adm:bg-success-50
|
|
27
|
+
adm:[&>[data-slot=icon]]:text-success
|
|
28
|
+
adm:[&>svg]:text-success
|
|
30
29
|
`,
|
|
31
30
|
warning: `
|
|
32
|
-
adm:
|
|
33
|
-
adm
|
|
34
|
-
adm:[&>svg]:text-
|
|
31
|
+
adm:border-warning/30 adm:bg-warning-50
|
|
32
|
+
adm:[&>[data-slot=icon]]:text-warning
|
|
33
|
+
adm:[&>svg]:text-warning
|
|
35
34
|
`
|
|
35
|
+
},
|
|
36
|
+
border: {
|
|
37
|
+
default: "adm:border",
|
|
38
|
+
transparent: "adm:border adm:border-transparent"
|
|
36
39
|
}
|
|
37
40
|
},
|
|
38
41
|
defaultVariants: {
|
|
39
|
-
variant: "default"
|
|
42
|
+
variant: "default",
|
|
43
|
+
border: "default"
|
|
40
44
|
}
|
|
41
45
|
}
|
|
42
46
|
);
|
|
43
|
-
function
|
|
47
|
+
function g({
|
|
44
48
|
className: a,
|
|
45
49
|
variant: t,
|
|
46
|
-
|
|
50
|
+
border: e,
|
|
51
|
+
...s
|
|
47
52
|
}) {
|
|
48
53
|
return /* @__PURE__ */ d.jsx(
|
|
49
54
|
"div",
|
|
50
55
|
{
|
|
51
56
|
"data-slot": "alert",
|
|
52
57
|
role: "alert",
|
|
53
|
-
className: r(
|
|
54
|
-
...
|
|
58
|
+
className: r(i({ variant: t, border: e }), a),
|
|
59
|
+
...s
|
|
55
60
|
}
|
|
56
61
|
);
|
|
57
62
|
}
|
|
58
|
-
function
|
|
63
|
+
function u({ className: a, ...t }) {
|
|
59
64
|
return /* @__PURE__ */ d.jsx(
|
|
60
65
|
"div",
|
|
61
66
|
{
|
|
62
67
|
"data-slot": "alert-title",
|
|
63
68
|
className: r(
|
|
64
69
|
`
|
|
65
|
-
adm:col-start-2 adm:line-clamp-1 adm:min-h-4 adm:
|
|
66
|
-
adm:tracking-tight
|
|
70
|
+
adm:col-start-2 adm:line-clamp-1 adm:min-h-4 adm:text-sm
|
|
71
|
+
adm:font-medium adm:tracking-tight adm:text-foreground
|
|
67
72
|
`,
|
|
68
73
|
a
|
|
69
74
|
),
|
|
@@ -71,7 +76,7 @@ function g({ className: a, ...t }) {
|
|
|
71
76
|
}
|
|
72
77
|
);
|
|
73
78
|
}
|
|
74
|
-
function
|
|
79
|
+
function x({
|
|
75
80
|
className: a,
|
|
76
81
|
...t
|
|
77
82
|
}) {
|
|
@@ -92,7 +97,7 @@ function u({
|
|
|
92
97
|
);
|
|
93
98
|
}
|
|
94
99
|
export {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
100
|
+
g as Alert,
|
|
101
|
+
x as AlertDescription,
|
|
102
|
+
u as AlertTitle
|
|
98
103
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { S as
|
|
1
|
+
import { j as t } from "./jsx-runtime-BzflLqGi.js";
|
|
2
|
+
import { S as m } from "./index-BvLQnI56.js";
|
|
3
3
|
import { c as n } from "./index-CRiPKpXj.js";
|
|
4
4
|
import { c as o } from "./index-BqtVL8d-.js";
|
|
5
5
|
import "react";
|
|
@@ -78,6 +78,10 @@ const c = o(
|
|
|
78
78
|
adm:hover:bg-primary-50 adm:hover:text-primary
|
|
79
79
|
adm:dark:hover:bg-primary-50/20
|
|
80
80
|
`,
|
|
81
|
+
"ghost-neutral": `
|
|
82
|
+
adm:hover:bg-accent adm:hover:text-accent-foreground
|
|
83
|
+
adm:dark:hover:bg-accent/50
|
|
84
|
+
`,
|
|
81
85
|
link: `
|
|
82
86
|
adm:text-primary adm:underline-offset-4
|
|
83
87
|
adm:hover:underline
|
|
@@ -114,16 +118,16 @@ function p({
|
|
|
114
118
|
className: a,
|
|
115
119
|
variant: d,
|
|
116
120
|
size: e,
|
|
117
|
-
asChild:
|
|
118
|
-
...
|
|
121
|
+
asChild: r = !1,
|
|
122
|
+
...i
|
|
119
123
|
}) {
|
|
120
|
-
const
|
|
121
|
-
return /* @__PURE__ */
|
|
122
|
-
|
|
124
|
+
const s = r ? m : "button";
|
|
125
|
+
return /* @__PURE__ */ t.jsx(
|
|
126
|
+
s,
|
|
123
127
|
{
|
|
124
128
|
"data-slot": "button",
|
|
125
129
|
className: n(c({ variant: d, size: e, className: a })),
|
|
126
|
-
...
|
|
130
|
+
...i
|
|
127
131
|
}
|
|
128
132
|
);
|
|
129
133
|
}
|
|
@@ -58,6 +58,9 @@
|
|
|
58
58
|
adm:text-primary
|
|
59
59
|
adm:hover:bg-primary-50 adm:hover:text-primary
|
|
60
60
|
adm:dark:hover:bg-primary-50/20
|
|
61
|
+
`,"ghost-neutral":`
|
|
62
|
+
adm:hover:bg-accent adm:hover:text-accent-foreground
|
|
63
|
+
adm:dark:hover:bg-accent/50
|
|
61
64
|
`,link:`
|
|
62
65
|
adm:text-primary adm:underline-offset-4
|
|
63
66
|
adm:hover:underline
|
|
@@ -73,4 +76,4 @@
|
|
|
73
76
|
adm:h-10 adm:rounded-md adm:px-6
|
|
74
77
|
adm:has-[>[data-slot=icon]]:px-4
|
|
75
78
|
adm:has-[>svg]:px-4
|
|
76
|
-
`,icon:"adm:size-9","icon-sm":"adm:size-8","icon-lg":"adm:size-10"}},defaultVariants:{variant:"default",size:"default"}});function u({className:d,variant:e,size:i,asChild:
|
|
79
|
+
`,icon:"adm:size-9","icon-sm":"adm:size-8","icon-lg":"adm:size-10"}},defaultVariants:{variant:"default",size:"default"}});function u({className:d,variant:e,size:i,asChild:r=!1,...s}){const t=r?m.Slot:"button";return n.jsxRuntimeExports.jsx(t,{"data-slot":"button",className:o.cn(a({variant:e,size:i,className:d})),...s})}exports.Button=u;exports.buttonVariants=a;
|
package/dist/button.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./button-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./button-r2Y2aX25.cjs");exports.Button=t.Button;exports.buttonVariants=t.buttonVariants;
|
package/dist/button.js
CHANGED