@adamosuiteservices/ui 2.9.15 → 2.10.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.
- package/dist/accordion-rounded.cjs +12 -17
- package/dist/accordion-rounded.js +37 -46
- package/dist/accordion.cjs +8 -7
- package/dist/accordion.js +19 -17
- package/dist/alert.cjs +7 -3
- package/dist/alert.js +14 -10
- package/dist/avatar.cjs +2 -0
- package/dist/avatar.js +42 -40
- package/dist/badge.cjs +9 -2
- package/dist/badge.js +19 -12
- package/dist/breadcrumb.cjs +7 -3
- package/dist/breadcrumb.js +30 -24
- package/dist/{button-B7ZP4LZN.js → button-CUNnLccZ.js} +11 -6
- package/dist/{button-D-qFRXiM.cjs → button-CxGyLoeN.cjs} +7 -2
- package/dist/button-group.cjs +2 -0
- package/dist/button-group.js +15 -13
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/calendar.cjs +8 -6
- package/dist/calendar.js +507 -492
- package/dist/card.cjs +9 -4
- package/dist/card.js +8 -3
- package/dist/checkbox-CFGlO5wt.cjs +22 -0
- package/dist/{checkbox-DhBcmKze.js → checkbox-DsN1IQGA.js} +70 -68
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/combobox.cjs +10 -13
- package/dist/combobox.js +90 -99
- package/dist/components/ui/icon/icon.d.ts +1 -3
- package/dist/components/ui/icon/icon.stories.d.ts +0 -5
- package/dist/components/ui/spinner/spinner.d.ts +1 -1
- package/dist/components/ui/tooltip/tooltip.stories.d.ts +0 -1
- package/dist/context-menu.cjs +10 -8
- package/dist/context-menu.js +126 -120
- package/dist/custom-layered-styles.css +1 -1
- package/dist/dialog.cjs +10 -7
- package/dist/dialog.js +43 -40
- package/dist/dropdown-menu.cjs +25 -10
- package/dist/dropdown-menu.js +179 -166
- package/dist/icon-D0vVkV-A.js +35 -0
- package/dist/icon-SWksUOv5.cjs +6 -0
- package/dist/icon.cjs +1 -1
- package/dist/icon.js +1 -1
- package/dist/icons.css +1 -1
- package/dist/input-group.cjs +14 -6
- package/dist/input-group.js +25 -17
- package/dist/kbd.cjs +3 -3
- package/dist/kbd.js +1 -0
- package/dist/pagination.cjs +4 -4
- package/dist/pagination.js +41 -43
- package/dist/radio-group.cjs +5 -5
- package/dist/radio-group.js +44 -42
- package/dist/radius.css +1 -1
- package/dist/select.cjs +12 -13
- package/dist/select.js +182 -187
- package/dist/{sheet-Q3dBOQG-.js → sheet-DM7b3ckK.js} +18 -18
- package/dist/{sheet-CGahUP7F.cjs → sheet-DfRu4ByS.cjs} +4 -4
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/sidebar.cjs +6 -11
- package/dist/sidebar.js +38 -49
- package/dist/spinner.cjs +1 -6
- package/dist/spinner.js +10 -16
- package/dist/styles.css +1 -1
- package/dist/tabs-underline.cjs +6 -3
- package/dist/tabs-underline.js +8 -5
- package/dist/tabs.cjs +6 -3
- package/dist/tabs.js +8 -5
- package/dist/toggle.cjs +5 -2
- package/dist/toggle.js +14 -11
- package/docs/components/layout/sidebar.md +18 -23
- package/docs/components/ui/accordion-rounded.md +584 -583
- package/docs/components/ui/accordion.md +3 -1
- package/docs/components/ui/alert.md +650 -671
- package/docs/components/ui/avatar.md +587 -588
- package/docs/components/ui/badge.md +1019 -1024
- package/docs/components/ui/breadcrumb.md +14 -14
- package/docs/components/ui/button-group.md +69 -87
- package/docs/components/ui/button.md +17 -17
- package/docs/components/ui/calendar.md +6 -6
- package/docs/components/ui/card.md +21 -27
- package/docs/components/ui/collapsible.md +16 -13
- package/docs/components/ui/combobox.md +14 -14
- package/docs/components/ui/command.md +6 -6
- package/docs/components/ui/context-menu.md +23 -23
- package/docs/components/ui/dialog.md +16 -16
- package/docs/components/ui/dropdown-menu.md +44 -66
- package/docs/components/ui/hover-card.md +5 -5
- package/docs/components/ui/icon.md +87 -88
- package/docs/components/ui/input-group.md +523 -509
- package/docs/components/ui/kbd.md +8 -8
- package/docs/components/ui/label.md +5 -5
- package/docs/components/ui/pagination.md +5 -5
- package/docs/components/ui/popover.md +14 -14
- package/docs/components/ui/progress.md +2 -2
- package/docs/components/ui/radio-group.md +2 -2
- package/docs/components/ui/select.md +6 -6
- package/docs/components/ui/spinner.md +15 -15
- package/docs/components/ui/switch.md +15 -9
- package/docs/components/ui/tabs-underline.md +4 -4
- package/docs/components/ui/tabs.md +5 -5
- package/docs/components/ui/toggle.md +17 -23
- package/docs/components/ui/tooltip.md +7 -10
- package/package.json +1 -1
- package/dist/check-CLxNVljQ.cjs +0 -6
- package/dist/check-Ci0GjV-B.js +0 -11
- package/dist/checkbox-CdnZ8VFJ.cjs +0 -21
- package/dist/chevron-down-BqEHzml5.cjs +0 -6
- package/dist/chevron-down-CpVS2Z7w.js +0 -11
- package/dist/chevron-left-B8QsBNvc.cjs +0 -6
- package/dist/chevron-left-Eal-WYLp.js +0 -11
- package/dist/chevron-right-BpzggHsr.cjs +0 -6
- package/dist/chevron-right-Cnc2tB4-.js +0 -11
- package/dist/circle-CX7JIirj.cjs +0 -6
- package/dist/circle-DYv-7Qb9.js +0 -11
- package/dist/createLucideIcon-B_8CJpcQ.js +0 -94
- package/dist/createLucideIcon-CAtnV-yz.cjs +0 -21
- package/dist/ellipsis-CryjZKZn.js +0 -15
- package/dist/ellipsis-Ct9VTDOG.cjs +0 -6
- package/dist/icon-DTx6Y_mx.cjs +0 -6
- package/dist/icon-DmU_SEHC.js +0 -36
- package/dist/minus-C0pHPx21.cjs +0 -6
- package/dist/minus-DE-onYs2.js +0 -11
- package/dist/x-CBKgg4YL.cjs +0 -6
- package/dist/x-Dl66o_vF.js +0 -14
package/dist/badge.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./jsx-runtime-BB_1_6y_.cjs"),n=require("./index-CjyiloO7.cjs"),g=require("./index-DoxiiusW.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./jsx-runtime-BB_1_6y_.cjs"),n=require("./index-CjyiloO7.cjs"),g=require("./index-DoxiiusW.cjs"),o=require("./index-BTzZJcis.cjs");require("react");const a=o.cva(`
|
|
2
2
|
adm:inline-flex adm:w-fit adm:shrink-0 adm:items-center adm:justify-center
|
|
3
3
|
adm:gap-1 adm:overflow-hidden adm:rounded-md adm:border adm:px-2 adm:py-0.5
|
|
4
4
|
adm:text-xs adm:font-medium adm:whitespace-nowrap
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
adm:focus-visible:ring-ring/50
|
|
8
8
|
adm:aria-invalid:border-destructive adm:aria-invalid:ring-destructive/20
|
|
9
9
|
adm:dark:aria-invalid:ring-destructive/40
|
|
10
|
+
adm:[&>[data-slot=icon]]:text-sm
|
|
10
11
|
adm:[&>svg]:pointer-events-none adm:[&>svg]:size-3
|
|
11
12
|
`,{variants:{variant:{default:`
|
|
12
13
|
adm:border-transparent adm:bg-primary adm:text-primary-foreground
|
|
@@ -16,6 +17,7 @@
|
|
|
16
17
|
adm:focus-visible:ring-primary/10
|
|
17
18
|
adm:dark:bg-primary-200 adm:dark:text-primary-800
|
|
18
19
|
adm:dark:focus-visible:ring-primary/20
|
|
20
|
+
adm:[&>[data-slot=icon]]:text-primary
|
|
19
21
|
adm:[&>svg]:text-primary
|
|
20
22
|
adm:[a&]:hover:bg-primary-100
|
|
21
23
|
`,waiting:`
|
|
@@ -26,6 +28,7 @@
|
|
|
26
28
|
adm:focus-visible:ring-waiting/10
|
|
27
29
|
adm:dark:bg-waiting-200 adm:dark:text-waiting-800
|
|
28
30
|
adm:dark:focus-visible:ring-waiting/20
|
|
31
|
+
adm:[&>[data-slot=icon]]:text-waiting
|
|
29
32
|
adm:[&>svg]:text-waiting
|
|
30
33
|
adm:[a&]:hover:bg-waiting-100
|
|
31
34
|
`,secondary:`
|
|
@@ -37,6 +40,7 @@
|
|
|
37
40
|
adm:focus-visible:ring-success/10
|
|
38
41
|
adm:dark:bg-success-200 adm:dark:text-success-800
|
|
39
42
|
adm:dark:focus-visible:ring-success/20
|
|
43
|
+
adm:[&>[data-slot=icon]]:text-success
|
|
40
44
|
adm:[&>svg]:text-success
|
|
41
45
|
adm:[a&]:hover:bg-success-100
|
|
42
46
|
`,success:`
|
|
@@ -49,6 +53,7 @@
|
|
|
49
53
|
adm:focus-visible:ring-warning/10
|
|
50
54
|
adm:dark:bg-warning-200 adm:dark:text-warning-800
|
|
51
55
|
adm:dark:focus-visible:ring-warning/20
|
|
56
|
+
adm:[&>[data-slot=icon]]:text-warning
|
|
52
57
|
adm:[&>svg]:text-warning
|
|
53
58
|
adm:[a&]:hover:bg-warning-100
|
|
54
59
|
`,warning:`
|
|
@@ -61,6 +66,7 @@
|
|
|
61
66
|
adm:focus-visible:ring-destructive/10
|
|
62
67
|
adm:dark:bg-destructive-200 adm:dark:text-destructive-800
|
|
63
68
|
adm:dark:focus-visible:ring-destructive/20
|
|
69
|
+
adm:[&>[data-slot=icon]]:text-destructive
|
|
64
70
|
adm:[&>svg]:text-destructive
|
|
65
71
|
adm:[a&]:hover:bg-destructive-100
|
|
66
72
|
`,destructive:`
|
|
@@ -79,5 +85,6 @@
|
|
|
79
85
|
adm:[a&]:hover:bg-accent adm:[a&]:hover:text-accent-foreground
|
|
80
86
|
`},size:{lg:`
|
|
81
87
|
adm:gap-2 adm:px-2 adm:py-1 adm:text-sm
|
|
88
|
+
adm:[&>[data-slot=icon]]:text-lg
|
|
82
89
|
adm:[&>svg]:size-4
|
|
83
|
-
`}},defaultVariants:{variant:"default"}});function
|
|
90
|
+
`}},defaultVariants:{variant:"default"}});function c({className:d,variant:e,size:r,asChild:t=!1,...i}){const s=t?n.Slot:"span";return m.jsxRuntimeExports.jsx(s,{"data-slot":"badge",className:g.cn(a({variant:e,size:r}),d),...i})}exports.Badge=c;exports.badgeVariants=a;
|
package/dist/badge.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as m } from "./jsx-runtime-BzflLqGi.js";
|
|
2
2
|
import { S as s } from "./index-BvLQnI56.js";
|
|
3
3
|
import { c as n } from "./index-CRiPKpXj.js";
|
|
4
|
-
import { c as
|
|
4
|
+
import { c as o } from "./index-BqtVL8d-.js";
|
|
5
5
|
import "react";
|
|
6
|
-
const
|
|
6
|
+
const g = o(
|
|
7
7
|
`
|
|
8
8
|
adm:inline-flex adm:w-fit adm:shrink-0 adm:items-center adm:justify-center
|
|
9
9
|
adm:gap-1 adm:overflow-hidden adm:rounded-md adm:border adm:px-2 adm:py-0.5
|
|
@@ -13,6 +13,7 @@ const o = g(
|
|
|
13
13
|
adm:focus-visible:ring-ring/50
|
|
14
14
|
adm:aria-invalid:border-destructive adm:aria-invalid:ring-destructive/20
|
|
15
15
|
adm:dark:aria-invalid:ring-destructive/40
|
|
16
|
+
adm:[&>[data-slot=icon]]:text-sm
|
|
16
17
|
adm:[&>svg]:pointer-events-none adm:[&>svg]:size-3
|
|
17
18
|
`,
|
|
18
19
|
{
|
|
@@ -27,6 +28,7 @@ const o = g(
|
|
|
27
28
|
adm:focus-visible:ring-primary/10
|
|
28
29
|
adm:dark:bg-primary-200 adm:dark:text-primary-800
|
|
29
30
|
adm:dark:focus-visible:ring-primary/20
|
|
31
|
+
adm:[&>[data-slot=icon]]:text-primary
|
|
30
32
|
adm:[&>svg]:text-primary
|
|
31
33
|
adm:[a&]:hover:bg-primary-100
|
|
32
34
|
`,
|
|
@@ -39,6 +41,7 @@ const o = g(
|
|
|
39
41
|
adm:focus-visible:ring-waiting/10
|
|
40
42
|
adm:dark:bg-waiting-200 adm:dark:text-waiting-800
|
|
41
43
|
adm:dark:focus-visible:ring-waiting/20
|
|
44
|
+
adm:[&>[data-slot=icon]]:text-waiting
|
|
42
45
|
adm:[&>svg]:text-waiting
|
|
43
46
|
adm:[a&]:hover:bg-waiting-100
|
|
44
47
|
`,
|
|
@@ -52,6 +55,7 @@ const o = g(
|
|
|
52
55
|
adm:focus-visible:ring-success/10
|
|
53
56
|
adm:dark:bg-success-200 adm:dark:text-success-800
|
|
54
57
|
adm:dark:focus-visible:ring-success/20
|
|
58
|
+
adm:[&>[data-slot=icon]]:text-success
|
|
55
59
|
adm:[&>svg]:text-success
|
|
56
60
|
adm:[a&]:hover:bg-success-100
|
|
57
61
|
`,
|
|
@@ -66,6 +70,7 @@ const o = g(
|
|
|
66
70
|
adm:focus-visible:ring-warning/10
|
|
67
71
|
adm:dark:bg-warning-200 adm:dark:text-warning-800
|
|
68
72
|
adm:dark:focus-visible:ring-warning/20
|
|
73
|
+
adm:[&>[data-slot=icon]]:text-warning
|
|
69
74
|
adm:[&>svg]:text-warning
|
|
70
75
|
adm:[a&]:hover:bg-warning-100
|
|
71
76
|
`,
|
|
@@ -80,6 +85,7 @@ const o = g(
|
|
|
80
85
|
adm:focus-visible:ring-destructive/10
|
|
81
86
|
adm:dark:bg-destructive-200 adm:dark:text-destructive-800
|
|
82
87
|
adm:dark:focus-visible:ring-destructive/20
|
|
88
|
+
adm:[&>[data-slot=icon]]:text-destructive
|
|
83
89
|
adm:[&>svg]:text-destructive
|
|
84
90
|
adm:[a&]:hover:bg-destructive-100
|
|
85
91
|
`,
|
|
@@ -104,6 +110,7 @@ const o = g(
|
|
|
104
110
|
size: {
|
|
105
111
|
lg: `
|
|
106
112
|
adm:gap-2 adm:px-2 adm:py-1 adm:text-sm
|
|
113
|
+
adm:[&>[data-slot=icon]]:text-lg
|
|
107
114
|
adm:[&>svg]:size-4
|
|
108
115
|
`
|
|
109
116
|
}
|
|
@@ -113,24 +120,24 @@ const o = g(
|
|
|
113
120
|
}
|
|
114
121
|
}
|
|
115
122
|
);
|
|
116
|
-
function
|
|
123
|
+
function x({
|
|
117
124
|
className: a,
|
|
118
|
-
variant:
|
|
119
|
-
size:
|
|
125
|
+
variant: d,
|
|
126
|
+
size: r,
|
|
120
127
|
asChild: e = !1,
|
|
121
|
-
...
|
|
128
|
+
...t
|
|
122
129
|
}) {
|
|
123
|
-
const
|
|
130
|
+
const i = e ? s : "span";
|
|
124
131
|
return /* @__PURE__ */ m.jsx(
|
|
125
|
-
|
|
132
|
+
i,
|
|
126
133
|
{
|
|
127
134
|
"data-slot": "badge",
|
|
128
|
-
className: n(
|
|
129
|
-
...
|
|
135
|
+
className: n(g({ variant: d, size: r }), a),
|
|
136
|
+
...t
|
|
130
137
|
}
|
|
131
138
|
);
|
|
132
139
|
}
|
|
133
140
|
export {
|
|
134
|
-
|
|
135
|
-
|
|
141
|
+
x as Badge,
|
|
142
|
+
g as badgeVariants
|
|
136
143
|
};
|
package/dist/breadcrumb.cjs
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./jsx-runtime-BB_1_6y_.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./jsx-runtime-BB_1_6y_.cjs"),d=require("./index-CjyiloO7.cjs"),n=require("./icon-SWksUOv5.cjs"),t=require("./index-DoxiiusW.cjs");require("react");function i({...e}){return a.jsxRuntimeExports.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",...e})}function o({className:e,...r}){return a.jsxRuntimeExports.jsx("ol",{"data-slot":"breadcrumb-list",className:t.cn(`
|
|
2
2
|
adm:flex adm:flex-wrap adm:items-center adm:gap-1.5 adm:text-sm
|
|
3
3
|
adm:break-words adm:text-muted-foreground
|
|
4
4
|
adm:sm:gap-2.5
|
|
5
|
-
`,e),...r})}function c({className:e,...r}){return a.jsxRuntimeExports.jsx("li",{"data-slot":"breadcrumb-item",className:t.cn("adm:inline-flex adm:items-center adm:gap-1.5",e),...r})}function
|
|
5
|
+
`,e),...r})}function c({className:e,...r}){return a.jsxRuntimeExports.jsx("li",{"data-slot":"breadcrumb-item",className:t.cn("adm:inline-flex adm:items-center adm:gap-1.5",e),...r})}function u({asChild:e,className:r,...s}){const m=e?d.Slot:"a";return a.jsxRuntimeExports.jsx(m,{"data-slot":"breadcrumb-link",className:t.cn(`
|
|
6
6
|
adm:transition-colors
|
|
7
7
|
adm:hover:text-foreground
|
|
8
|
-
`,r),...s})}function
|
|
8
|
+
`,r),...s})}function l({className:e,...r}){return a.jsxRuntimeExports.jsx("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:t.cn("adm:font-normal adm:text-foreground",e),...r})}function x({children:e,className:r,...s}){return a.jsxRuntimeExports.jsx("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:t.cn(`
|
|
9
|
+
adm:flex
|
|
10
|
+
adm:[&>[data-slot=icon]]:text-lg
|
|
11
|
+
adm:[&>svg]:size-3.5
|
|
12
|
+
`,r),...s,children:e??a.jsxRuntimeExports.jsx(n.Icon,{symbol:"chevron_right"})})}function b({className:e,...r}){return a.jsxRuntimeExports.jsxs("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:t.cn("adm:flex adm:size-9 adm:items-center adm:justify-center",e),...r,children:[a.jsxRuntimeExports.jsx(n.Icon,{symbol:"more_horiz",className:"adm:text-lg"}),a.jsxRuntimeExports.jsx("span",{className:"adm:sr-only",children:"More"})]})}exports.Breadcrumb=i;exports.BreadcrumbEllipsis=b;exports.BreadcrumbItem=c;exports.BreadcrumbLink=u;exports.BreadcrumbList=o;exports.BreadcrumbPage=l;exports.BreadcrumbSeparator=x;
|
package/dist/breadcrumb.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { j as e } from "./jsx-runtime-BzflLqGi.js";
|
|
2
|
-
import { S as
|
|
2
|
+
import { S as o } from "./index-BvLQnI56.js";
|
|
3
|
+
import { I as s } from "./icon-D0vVkV-A.js";
|
|
3
4
|
import { c as t } from "./index-CRiPKpXj.js";
|
|
4
5
|
import "react";
|
|
5
|
-
|
|
6
|
-
import { E as o } from "./ellipsis-CryjZKZn.js";
|
|
7
|
-
function f({ ...a }) {
|
|
6
|
+
function b({ ...a }) {
|
|
8
7
|
return /* @__PURE__ */ e.jsx("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...a });
|
|
9
8
|
}
|
|
10
9
|
function x({ className: a, ...r }) {
|
|
@@ -24,7 +23,7 @@ function x({ className: a, ...r }) {
|
|
|
24
23
|
}
|
|
25
24
|
);
|
|
26
25
|
}
|
|
27
|
-
function
|
|
26
|
+
function p({ className: a, ...r }) {
|
|
28
27
|
return /* @__PURE__ */ e.jsx(
|
|
29
28
|
"li",
|
|
30
29
|
{
|
|
@@ -34,25 +33,25 @@ function j({ className: a, ...r }) {
|
|
|
34
33
|
}
|
|
35
34
|
);
|
|
36
35
|
}
|
|
37
|
-
function
|
|
36
|
+
function f({
|
|
38
37
|
asChild: a,
|
|
39
38
|
className: r,
|
|
40
|
-
...
|
|
39
|
+
...m
|
|
41
40
|
}) {
|
|
42
|
-
const
|
|
41
|
+
const d = a ? o : "a";
|
|
43
42
|
return /* @__PURE__ */ e.jsx(
|
|
44
|
-
|
|
43
|
+
d,
|
|
45
44
|
{
|
|
46
45
|
"data-slot": "breadcrumb-link",
|
|
47
46
|
className: t(`
|
|
48
47
|
adm:transition-colors
|
|
49
48
|
adm:hover:text-foreground
|
|
50
49
|
`, r),
|
|
51
|
-
...
|
|
50
|
+
...m
|
|
52
51
|
}
|
|
53
52
|
);
|
|
54
53
|
}
|
|
55
|
-
function
|
|
54
|
+
function g({ className: a, ...r }) {
|
|
56
55
|
return /* @__PURE__ */ e.jsx(
|
|
57
56
|
"span",
|
|
58
57
|
{
|
|
@@ -65,10 +64,10 @@ function h({ className: a, ...r }) {
|
|
|
65
64
|
}
|
|
66
65
|
);
|
|
67
66
|
}
|
|
68
|
-
function
|
|
67
|
+
function j({
|
|
69
68
|
children: a,
|
|
70
69
|
className: r,
|
|
71
|
-
...
|
|
70
|
+
...m
|
|
72
71
|
}) {
|
|
73
72
|
return /* @__PURE__ */ e.jsx(
|
|
74
73
|
"li",
|
|
@@ -76,13 +75,20 @@ function N({
|
|
|
76
75
|
"data-slot": "breadcrumb-separator",
|
|
77
76
|
role: "presentation",
|
|
78
77
|
"aria-hidden": "true",
|
|
79
|
-
className: t(
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
className: t(
|
|
79
|
+
`
|
|
80
|
+
adm:flex
|
|
81
|
+
adm:[&>[data-slot=icon]]:text-lg
|
|
82
|
+
adm:[&>svg]:size-3.5
|
|
83
|
+
`,
|
|
84
|
+
r
|
|
85
|
+
),
|
|
86
|
+
...m,
|
|
87
|
+
children: a ?? /* @__PURE__ */ e.jsx(s, { symbol: "chevron_right" })
|
|
82
88
|
}
|
|
83
89
|
);
|
|
84
90
|
}
|
|
85
|
-
function
|
|
91
|
+
function h({
|
|
86
92
|
className: a,
|
|
87
93
|
...r
|
|
88
94
|
}) {
|
|
@@ -95,18 +101,18 @@ function B({
|
|
|
95
101
|
className: t("adm:flex adm:size-9 adm:items-center adm:justify-center", a),
|
|
96
102
|
...r,
|
|
97
103
|
children: [
|
|
98
|
-
/* @__PURE__ */ e.jsx(
|
|
104
|
+
/* @__PURE__ */ e.jsx(s, { symbol: "more_horiz", className: "adm:text-lg" }),
|
|
99
105
|
/* @__PURE__ */ e.jsx("span", { className: "adm:sr-only", children: "More" })
|
|
100
106
|
]
|
|
101
107
|
}
|
|
102
108
|
);
|
|
103
109
|
}
|
|
104
110
|
export {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
111
|
+
b as Breadcrumb,
|
|
112
|
+
h as BreadcrumbEllipsis,
|
|
113
|
+
p as BreadcrumbItem,
|
|
114
|
+
f as BreadcrumbLink,
|
|
109
115
|
x as BreadcrumbList,
|
|
110
|
-
|
|
111
|
-
|
|
116
|
+
g as BreadcrumbPage,
|
|
117
|
+
j as BreadcrumbSeparator
|
|
112
118
|
};
|
|
@@ -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";
|
|
@@ -15,6 +15,8 @@ const c = o(
|
|
|
15
15
|
adm:dark:aria-invalid:ring-destructive/40
|
|
16
16
|
adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
|
|
17
17
|
adm:[&_svg:not([class*=size-])]:size-4
|
|
18
|
+
adm:[&>[data-slot=icon]]:pointer-events-none
|
|
19
|
+
adm:[&>[data-slot=icon]]:shrink-0 adm:[&>[data-slot=icon]]:text-lg
|
|
18
20
|
`,
|
|
19
21
|
{
|
|
20
22
|
variants: {
|
|
@@ -83,14 +85,17 @@ const c = o(
|
|
|
83
85
|
size: {
|
|
84
86
|
default: `
|
|
85
87
|
adm:h-9 adm:px-4 adm:py-2
|
|
88
|
+
adm:has-[>[data-slot=icon]]:px-3
|
|
86
89
|
adm:has-[>svg]:px-3
|
|
87
90
|
`,
|
|
88
91
|
sm: `
|
|
89
92
|
adm:h-8 adm:gap-1.5 adm:rounded-md adm:px-3
|
|
93
|
+
adm:has-[>[data-slot=icon]]:px-2.5
|
|
90
94
|
adm:has-[>svg]:px-2.5
|
|
91
95
|
`,
|
|
92
96
|
lg: `
|
|
93
97
|
adm:h-10 adm:rounded-md adm:px-6
|
|
98
|
+
adm:has-[>[data-slot=icon]]:px-4
|
|
94
99
|
adm:has-[>svg]:px-4
|
|
95
100
|
`,
|
|
96
101
|
icon: "adm:size-9",
|
|
@@ -108,12 +113,12 @@ function f({
|
|
|
108
113
|
className: a,
|
|
109
114
|
variant: d,
|
|
110
115
|
size: e,
|
|
111
|
-
asChild:
|
|
116
|
+
asChild: s = !1,
|
|
112
117
|
...i
|
|
113
118
|
}) {
|
|
114
|
-
const
|
|
115
|
-
return /* @__PURE__ */
|
|
116
|
-
|
|
119
|
+
const r = s ? m : "button";
|
|
120
|
+
return /* @__PURE__ */ t.jsx(
|
|
121
|
+
r,
|
|
117
122
|
{
|
|
118
123
|
"data-slot": "button",
|
|
119
124
|
className: n(c({ variant: d, size: e, className: a })),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("./jsx-runtime-BB_1_6y_.cjs"),m=require("./index-CjyiloO7.cjs"),
|
|
1
|
+
"use strict";const n=require("./jsx-runtime-BB_1_6y_.cjs"),m=require("./index-CjyiloO7.cjs"),o=require("./index-DoxiiusW.cjs"),c=require("./index-BTzZJcis.cjs");require("react");const a=c.cva(`
|
|
2
2
|
adm:inline-flex adm:shrink-0 adm:items-center adm:justify-center adm:gap-2
|
|
3
3
|
adm:rounded-md adm:text-sm adm:font-semibold adm:whitespace-nowrap
|
|
4
4
|
adm:transition-all adm:outline-none
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
adm:dark:aria-invalid:ring-destructive/40
|
|
10
10
|
adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
|
|
11
11
|
adm:[&_svg:not([class*=size-])]:size-4
|
|
12
|
+
adm:[&>[data-slot=icon]]:pointer-events-none
|
|
13
|
+
adm:[&>[data-slot=icon]]:shrink-0 adm:[&>[data-slot=icon]]:text-lg
|
|
12
14
|
`,{variants:{variant:{default:`
|
|
13
15
|
adm:bg-primary adm:text-primary-foreground
|
|
14
16
|
adm:hover:bg-primary-700
|
|
@@ -60,11 +62,14 @@
|
|
|
60
62
|
adm:hover:underline
|
|
61
63
|
`},size:{default:`
|
|
62
64
|
adm:h-9 adm:px-4 adm:py-2
|
|
65
|
+
adm:has-[>[data-slot=icon]]:px-3
|
|
63
66
|
adm:has-[>svg]:px-3
|
|
64
67
|
`,sm:`
|
|
65
68
|
adm:h-8 adm:gap-1.5 adm:rounded-md adm:px-3
|
|
69
|
+
adm:has-[>[data-slot=icon]]:px-2.5
|
|
66
70
|
adm:has-[>svg]:px-2.5
|
|
67
71
|
`,lg:`
|
|
68
72
|
adm:h-10 adm:rounded-md adm:px-6
|
|
73
|
+
adm:has-[>[data-slot=icon]]:px-4
|
|
69
74
|
adm:has-[>svg]:px-4
|
|
70
|
-
`,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:
|
|
75
|
+
`,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:s=!1,...r}){const t=s?m.Slot:"button";return n.jsxRuntimeExports.jsx(t,{"data-slot":"button",className:o.cn(a({variant:e,size:i,className:d})),...r})}exports.Button=u;exports.buttonVariants=a;
|
package/dist/button-group.cjs
CHANGED
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
adm:bg-muted adm:px-4 adm:text-sm adm:font-medium adm:shadow-xs
|
|
20
20
|
adm:[&_svg]:pointer-events-none
|
|
21
21
|
adm:[&_svg:not([class*=size-])]:size-4
|
|
22
|
+
adm:[&>[data-slot=icon]]:pointer-events-none
|
|
23
|
+
adm:[&>[data-slot=icon]]:text-lg
|
|
22
24
|
`,a),...e})}function c({className:a,orientation:t="vertical",...e}){return o.jsxRuntimeExports.jsx(i.Separator,{"data-slot":"button-group-separator",orientation:t,className:r.cn(`
|
|
23
25
|
adm:relative adm:!m-0 adm:self-stretch adm:bg-input
|
|
24
26
|
adm:data-[orientation=vertical]:h-auto
|
package/dist/button-group.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as d } from "./jsx-runtime-BzflLqGi.js";
|
|
2
2
|
import { S as n } from "./index-BvLQnI56.js";
|
|
3
3
|
import { S as s } from "./separator-DVypR3Qf.js";
|
|
4
|
-
import { c as
|
|
5
|
-
import { c as
|
|
6
|
-
const
|
|
4
|
+
import { c as e } from "./index-CRiPKpXj.js";
|
|
5
|
+
import { c as i } from "./index-BqtVL8d-.js";
|
|
6
|
+
const m = i(
|
|
7
7
|
`
|
|
8
8
|
adm:flex adm:w-fit adm:items-stretch
|
|
9
9
|
adm:has-[>[data-slot=button-group]]:gap-2
|
|
@@ -38,13 +38,13 @@ function h({
|
|
|
38
38
|
orientation: t,
|
|
39
39
|
...o
|
|
40
40
|
}) {
|
|
41
|
-
return /* @__PURE__ */
|
|
41
|
+
return /* @__PURE__ */ d.jsx(
|
|
42
42
|
"div",
|
|
43
43
|
{
|
|
44
44
|
role: "group",
|
|
45
45
|
"data-slot": "button-group",
|
|
46
46
|
"data-orientation": t,
|
|
47
|
-
className:
|
|
47
|
+
className: e(m({ orientation: t }), a),
|
|
48
48
|
...o
|
|
49
49
|
}
|
|
50
50
|
);
|
|
@@ -54,16 +54,18 @@ function g({
|
|
|
54
54
|
asChild: t = !1,
|
|
55
55
|
...o
|
|
56
56
|
}) {
|
|
57
|
-
const
|
|
58
|
-
return /* @__PURE__ */
|
|
59
|
-
|
|
57
|
+
const r = t ? n : "div";
|
|
58
|
+
return /* @__PURE__ */ d.jsx(
|
|
59
|
+
r,
|
|
60
60
|
{
|
|
61
|
-
className:
|
|
61
|
+
className: e(
|
|
62
62
|
`
|
|
63
63
|
adm:flex adm:items-center adm:gap-2 adm:rounded-md adm:border
|
|
64
64
|
adm:bg-muted adm:px-4 adm:text-sm adm:font-medium adm:shadow-xs
|
|
65
65
|
adm:[&_svg]:pointer-events-none
|
|
66
66
|
adm:[&_svg:not([class*=size-])]:size-4
|
|
67
|
+
adm:[&>[data-slot=icon]]:pointer-events-none
|
|
68
|
+
adm:[&>[data-slot=icon]]:text-lg
|
|
67
69
|
`,
|
|
68
70
|
a
|
|
69
71
|
),
|
|
@@ -76,12 +78,12 @@ function v({
|
|
|
76
78
|
orientation: t = "vertical",
|
|
77
79
|
...o
|
|
78
80
|
}) {
|
|
79
|
-
return /* @__PURE__ */
|
|
81
|
+
return /* @__PURE__ */ d.jsx(
|
|
80
82
|
s,
|
|
81
83
|
{
|
|
82
84
|
"data-slot": "button-group-separator",
|
|
83
85
|
orientation: t,
|
|
84
|
-
className:
|
|
86
|
+
className: e(
|
|
85
87
|
`
|
|
86
88
|
adm:relative adm:!m-0 adm:self-stretch adm:bg-input
|
|
87
89
|
adm:data-[orientation=vertical]:h-auto
|
|
@@ -96,5 +98,5 @@ export {
|
|
|
96
98
|
h as ButtonGroup,
|
|
97
99
|
v as ButtonGroupSeparator,
|
|
98
100
|
g as ButtonGroupText,
|
|
99
|
-
|
|
101
|
+
m as buttonGroupVariants
|
|
100
102
|
};
|
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-CxGyLoeN.cjs");exports.Button=t.Button;exports.buttonVariants=t.buttonVariants;
|
package/dist/button.js
CHANGED