@adamosuiteservices/ui 2.10.13 → 2.11.14
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.cjs +5 -6
- package/dist/accordion.js +8 -9
- package/dist/{button-hCW1Pww0.cjs → button-B_VHdPPV.cjs} +1 -4
- package/dist/{button-CBy_oQDu.js → button-BzVY7053.js} +5 -8
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/calendar-BIttOd3g.js +2949 -0
- package/dist/calendar-IAVS_7up.cjs +76 -0
- package/dist/calendar.cjs +1 -76
- package/dist/calendar.js +3 -2945
- package/dist/combobox-DI-WK3Ng.js +598 -0
- package/dist/combobox-DplJzBX6.cjs +37 -0
- package/dist/combobox.cjs +1 -37
- package/dist/combobox.js +2 -596
- package/dist/components/layout/full-screen-loader/full-screen-loader-manager.d.ts +6 -0
- package/dist/components/layout/full-screen-loader/full-screen-loader-observable.d.ts +8 -0
- package/dist/components/layout/full-screen-loader/full-screen-loader.d.ts +4 -0
- package/dist/components/layout/full-screen-loader/index.d.ts +3 -0
- package/dist/components/ui/date-picker-selector/date-picker-selector.d.ts +21 -0
- package/dist/components/ui/date-picker-selector/index.d.ts +1 -0
- package/dist/date-picker-selector.cjs +1 -0
- package/dist/date-picker-selector.js +105 -0
- package/dist/full-screen-loader.cjs +4 -0
- package/dist/full-screen-loader.js +50 -0
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.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/spinner-B-sC3DVC.cjs +1 -0
- package/dist/spinner-DvrliN2E.js +19 -0
- package/dist/spinner.cjs +1 -1
- package/dist/spinner.js +1 -16
- package/dist/styles.css +1 -1
- package/dist/themes.css +1 -1
- package/docs/components/layout/full-screen-loader.md +500 -0
- package/docs/components/ui/date-picker-selector.md +376 -0
- package/package.json +302 -294
package/dist/accordion.cjs
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./jsx-runtime-BB_1_6y_.cjs"),o=require("./index-BnkHpTJs.cjs"),r=require("./icon-DPMQJBkA.cjs"),d=require("./index-DoxiiusW.cjs");require("react");function i({...t}){return e.jsxRuntimeExports.jsx(o.Root2,{"data-slot":"accordion",...t})}function s({className:t,...a}){return e.jsxRuntimeExports.jsx(o.Item,{"data-slot":"accordion-item",className:d.cn(`
|
|
2
2
|
adm:border-b
|
|
3
3
|
adm:last:border-b-0
|
|
4
|
-
`,
|
|
4
|
+
`,t),...a})}function m({className:t,children:a,...n}){return e.jsxRuntimeExports.jsx(o.Header,{className:"adm:flex",children:e.jsxRuntimeExports.jsxs(o.Trigger2,{"data-slot":"accordion-trigger",className:d.cn(`
|
|
5
5
|
adm:flex adm:flex-1 adm:items-start adm:justify-between adm:gap-4
|
|
6
6
|
adm:rounded-md adm:py-4 adm:text-left adm:text-sm adm:font-medium
|
|
7
7
|
adm:transition-all adm:outline-none
|
|
8
|
-
adm:hover:underline
|
|
9
8
|
adm:focus-visible:border-ring adm:focus-visible:ring-[3px]
|
|
10
9
|
adm:focus-visible:ring-ring/50
|
|
11
10
|
adm:disabled:pointer-events-none adm:disabled:opacity-50
|
|
12
11
|
adm:[&[data-state=open]>[data-slot=icon]]:rotate-180
|
|
13
12
|
adm:[&[data-state=open]>svg]:rotate-180
|
|
14
|
-
`,
|
|
13
|
+
`,t),...n,children:[a,e.jsxRuntimeExports.jsx(r.Icon,{symbol:"keyboard_arrow_down",className:`
|
|
15
14
|
adm:pointer-events-none adm:shrink-0 adm:translate-y-0.5
|
|
16
15
|
adm:text-muted-foreground adm:transition-transform adm:duration-200
|
|
17
|
-
`})]})})}function c({className:
|
|
16
|
+
`})]})})}function c({className:t,children:a,...n}){return e.jsxRuntimeExports.jsx(o.Content2,{"data-slot":"accordion-content",className:`
|
|
18
17
|
adm:overflow-hidden adm:text-sm
|
|
19
18
|
adm:data-[state=closed]:animate-accordion-up
|
|
20
19
|
adm:data-[state=open]:animate-accordion-down
|
|
21
|
-
`,...
|
|
20
|
+
`,...n,children:e.jsxRuntimeExports.jsx("div",{className:d.cn("adm:pt-0 adm:pb-4",t),children:a})})}exports.Accordion=i;exports.AccordionContent=c;exports.AccordionItem=s;exports.AccordionTrigger=m;
|
package/dist/accordion.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { j as t } from "./jsx-runtime-BzflLqGi.js";
|
|
3
3
|
import { R as n, I as r, H as m, T as s, C as i } from "./index-D_hmhfRp.js";
|
|
4
4
|
import { I as c } from "./icon-DKAhvlX_.js";
|
|
5
|
-
import { c as
|
|
5
|
+
import { c as e } from "./index-CRiPKpXj.js";
|
|
6
6
|
import "react";
|
|
7
7
|
function b({
|
|
8
8
|
...a
|
|
@@ -17,7 +17,7 @@ function g({
|
|
|
17
17
|
r,
|
|
18
18
|
{
|
|
19
19
|
"data-slot": "accordion-item",
|
|
20
|
-
className:
|
|
20
|
+
className: e(`
|
|
21
21
|
adm:border-b
|
|
22
22
|
adm:last:border-b-0
|
|
23
23
|
`, a),
|
|
@@ -28,18 +28,17 @@ function g({
|
|
|
28
28
|
function j({
|
|
29
29
|
className: a,
|
|
30
30
|
children: o,
|
|
31
|
-
...
|
|
31
|
+
...d
|
|
32
32
|
}) {
|
|
33
33
|
return /* @__PURE__ */ t.jsx(m, { className: "adm:flex", children: /* @__PURE__ */ t.jsxs(
|
|
34
34
|
s,
|
|
35
35
|
{
|
|
36
36
|
"data-slot": "accordion-trigger",
|
|
37
|
-
className:
|
|
37
|
+
className: e(
|
|
38
38
|
`
|
|
39
39
|
adm:flex adm:flex-1 adm:items-start adm:justify-between adm:gap-4
|
|
40
40
|
adm:rounded-md adm:py-4 adm:text-left adm:text-sm adm:font-medium
|
|
41
41
|
adm:transition-all adm:outline-none
|
|
42
|
-
adm:hover:underline
|
|
43
42
|
adm:focus-visible:border-ring adm:focus-visible:ring-[3px]
|
|
44
43
|
adm:focus-visible:ring-ring/50
|
|
45
44
|
adm:disabled:pointer-events-none adm:disabled:opacity-50
|
|
@@ -48,7 +47,7 @@ function j({
|
|
|
48
47
|
`,
|
|
49
48
|
a
|
|
50
49
|
),
|
|
51
|
-
...
|
|
50
|
+
...d,
|
|
52
51
|
children: [
|
|
53
52
|
o,
|
|
54
53
|
/* @__PURE__ */ t.jsx(
|
|
@@ -68,7 +67,7 @@ function j({
|
|
|
68
67
|
function v({
|
|
69
68
|
className: a,
|
|
70
69
|
children: o,
|
|
71
|
-
...
|
|
70
|
+
...d
|
|
72
71
|
}) {
|
|
73
72
|
return /* @__PURE__ */ t.jsx(
|
|
74
73
|
i,
|
|
@@ -79,8 +78,8 @@ function v({
|
|
|
79
78
|
adm:data-[state=closed]:animate-accordion-up
|
|
80
79
|
adm:data-[state=open]:animate-accordion-down
|
|
81
80
|
`,
|
|
82
|
-
...
|
|
83
|
-
children: /* @__PURE__ */ t.jsx("div", { className:
|
|
81
|
+
...d,
|
|
82
|
+
children: /* @__PURE__ */ t.jsx("div", { className: e("adm:pt-0 adm:pb-4", a), children: o })
|
|
84
83
|
}
|
|
85
84
|
);
|
|
86
85
|
}
|
|
@@ -61,10 +61,7 @@
|
|
|
61
61
|
`,"ghost-neutral":`
|
|
62
62
|
adm:hover:bg-accent adm:hover:text-accent-foreground
|
|
63
63
|
adm:dark:hover:bg-accent/50
|
|
64
|
-
`,link:`
|
|
65
|
-
adm:text-primary adm:underline-offset-4
|
|
66
|
-
adm:hover:underline
|
|
67
|
-
`},size:{default:`
|
|
64
|
+
`,link:"adm:text-primary adm:underline-offset-4"},size:{default:`
|
|
68
65
|
adm:h-9 adm:px-4 adm:py-2
|
|
69
66
|
adm:has-[>[data-slot=icon]]:px-3
|
|
70
67
|
adm:has-[>svg]:px-3
|
|
@@ -83,10 +83,7 @@ const c = o(
|
|
|
83
83
|
adm:hover:bg-accent adm:hover:text-accent-foreground
|
|
84
84
|
adm:dark:hover:bg-accent/50
|
|
85
85
|
`,
|
|
86
|
-
link:
|
|
87
|
-
adm:text-primary adm:underline-offset-4
|
|
88
|
-
adm:hover:underline
|
|
89
|
-
`
|
|
86
|
+
link: "adm:text-primary adm:underline-offset-4"
|
|
90
87
|
},
|
|
91
88
|
size: {
|
|
92
89
|
default: `
|
|
@@ -120,15 +117,15 @@ function p({
|
|
|
120
117
|
variant: d,
|
|
121
118
|
size: e,
|
|
122
119
|
asChild: r = !1,
|
|
123
|
-
...
|
|
120
|
+
...s
|
|
124
121
|
}) {
|
|
125
|
-
const
|
|
122
|
+
const i = r ? m : "button";
|
|
126
123
|
return /* @__PURE__ */ t.jsx(
|
|
127
|
-
|
|
124
|
+
i,
|
|
128
125
|
{
|
|
129
126
|
"data-slot": "button",
|
|
130
127
|
className: n(c({ variant: d, size: e, className: a })),
|
|
131
|
-
...
|
|
128
|
+
...s
|
|
132
129
|
}
|
|
133
130
|
);
|
|
134
131
|
}
|
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-B_VHdPPV.cjs");exports.Button=t.Button;exports.buttonVariants=t.buttonVariants;
|
package/dist/button.js
CHANGED