@adamosuiteservices/ui 2.10.3 → 2.10.5
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/card.cjs +6 -6
- package/dist/card.js +5 -5
- package/dist/custom-layered-styles.css +1 -1
- package/dist/dialog.cjs +10 -9
- package/dist/dialog.js +13 -12
- package/dist/field.cjs +1 -1
- package/dist/field.js +1 -1
- package/dist/{label-CNGQhi5L.cjs → label-BQhv4uCu.cjs} +2 -2
- package/dist/{label-BJ8Yf6Ft.js → label-mzFeN5wI.js} +5 -5
- package/dist/label.cjs +1 -1
- package/dist/label.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +12 -9
- package/package.json +1 -1
package/dist/dialog.cjs
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./jsx-runtime-BB_1_6y_.cjs"),e=require("./index-BFyr34mw.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./jsx-runtime-BB_1_6y_.cjs"),e=require("./index-BFyr34mw.cjs"),r=require("./icon-Bg5HV6Ls.cjs"),s=require("./index-DoxiiusW.cjs");require("react");function c({...a}){return t.jsxRuntimeExports.jsx(e.Root,{"data-slot":"dialog",...a})}function x({...a}){return t.jsxRuntimeExports.jsx(e.Trigger,{"data-slot":"dialog-trigger",...a})}function d({...a}){return t.jsxRuntimeExports.jsx(e.Portal,{"data-slot":"dialog-portal",...a})}function u({...a}){return t.jsxRuntimeExports.jsx(e.Close,{"data-slot":"dialog-close",...a})}function n({className:a,...o}){return t.jsxRuntimeExports.jsx(e.Overlay,{"data-slot":"dialog-overlay",className:s.cn(`
|
|
2
2
|
adm:fixed adm:inset-0 adm:z-50 adm:bg-black/50
|
|
3
3
|
adm:data-[state=closed]:animate-out adm:data-[state=closed]:fade-out-0
|
|
4
4
|
adm:data-[state=open]:animate-in adm:data-[state=open]:fade-in-0
|
|
5
|
-
`,a),...o})}function
|
|
6
|
-
adm:fixed adm:top-[50%] adm:left-[50%] adm:z-50 adm:
|
|
7
|
-
adm:max-
|
|
8
|
-
adm:translate-
|
|
9
|
-
adm:bg-background adm:p-6 adm:shadow-xs
|
|
5
|
+
`,a),...o})}function g({className:a,children:o,showCloseButton:i=!0,theme:l,...m}){return t.jsxRuntimeExports.jsxs(d,{"data-slot":"dialog-portal",children:[t.jsxRuntimeExports.jsx(n,{}),t.jsxRuntimeExports.jsxs(e.Content,{"data-theme":l,"data-slot":"dialog-content",className:s.cn(`
|
|
6
|
+
adm:fixed adm:top-[50%] adm:left-[50%] adm:z-50 adm:flex
|
|
7
|
+
adm:max-h-[calc(100dvh-32px)] adm:w-full adm:max-w-[calc(100%-2rem)]
|
|
8
|
+
adm:translate-x-[-50%] adm:translate-y-[-50%] adm:flex-col adm:gap-4
|
|
9
|
+
adm:rounded-lg adm:border adm:bg-background adm:p-6 adm:shadow-xs
|
|
10
|
+
adm:duration-200
|
|
10
11
|
adm:data-[state=closed]:animate-out
|
|
11
12
|
adm:data-[state=closed]:fade-out-0
|
|
12
13
|
adm:data-[state=closed]:zoom-out-95
|
|
13
14
|
adm:data-[state=open]:animate-in adm:data-[state=open]:fade-in-0
|
|
14
15
|
adm:data-[state=open]:zoom-in-95
|
|
15
16
|
adm:sm:max-w-lg
|
|
16
|
-
`,a),...
|
|
17
|
+
`,a),...m,children:[o,i&&t.jsxRuntimeExports.jsxs(e.Close,{"data-slot":"dialog-close",className:`
|
|
17
18
|
adm:absolute adm:top-4 adm:right-4 adm:flex adm:rounded-xs
|
|
18
19
|
adm:opacity-70 adm:ring-offset-background adm:transition-opacity
|
|
19
20
|
adm:hover:opacity-100
|
|
@@ -27,7 +28,7 @@
|
|
|
27
28
|
adm:[&_[data-slot=icon]:not([class*=text-])]:text-lg
|
|
28
29
|
adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
|
|
29
30
|
adm:[&_svg:not([class*=size-])]:size-4
|
|
30
|
-
`,children:[t.jsxRuntimeExports.jsx(
|
|
31
|
+
`,children:[t.jsxRuntimeExports.jsx(r.Icon,{symbol:"close"}),t.jsxRuntimeExports.jsx("span",{className:"adm:sr-only",children:"Close"})]})]})]})}function p({className:a,...o}){return t.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-header",className:s.cn("adm:flex adm:flex-col adm:gap-2",a),...o})}function f({className:a,...o}){return t.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-footer",className:s.cn(`
|
|
31
32
|
adm:flex adm:gap-2
|
|
32
33
|
adm:sm:flex-row adm:sm:justify-start
|
|
33
|
-
`,a),...o})}function j({className:a,...o}){return t.jsxRuntimeExports.jsx(e.Title,{"data-slot":"dialog-title",className:s.cn("adm:
|
|
34
|
+
`,a),...o})}function j({className:a,...o}){return t.jsxRuntimeExports.jsx(e.Title,{"data-slot":"dialog-title",className:s.cn("adm:font-semibold adm:text-neutrals-700",a),...o})}function D({className:a,...o}){return t.jsxRuntimeExports.jsx(e.Description,{"data-slot":"dialog-description",className:s.cn("adm:text-sm adm:text-muted-foreground",a),...o})}function R({className:a,...o}){return t.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-body",className:s.cn("adm:mt-2 adm:mb-6",a),...o})}exports.Dialog=c;exports.DialogBody=R;exports.DialogClose=u;exports.DialogContent=g;exports.DialogDescription=D;exports.DialogFooter=f;exports.DialogHeader=p;exports.DialogOverlay=n;exports.DialogPortal=d;exports.DialogTitle=j;exports.DialogTrigger=x;
|
package/dist/dialog.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { j as t } from "./jsx-runtime-BzflLqGi.js";
|
|
2
|
-
import { R as
|
|
2
|
+
import { R as l, C as e, a as i, D as r, O as c, P as g, b as u, T as f } from "./index-DniCthJA.js";
|
|
3
3
|
import { I as x } from "./icon-DG_i4bz2.js";
|
|
4
4
|
import { c as o } from "./index-CRiPKpXj.js";
|
|
5
5
|
import "react";
|
|
6
6
|
function N({
|
|
7
7
|
...a
|
|
8
8
|
}) {
|
|
9
|
-
return /* @__PURE__ */ t.jsx(
|
|
9
|
+
return /* @__PURE__ */ t.jsx(l, { "data-slot": "dialog", ...a });
|
|
10
10
|
}
|
|
11
11
|
function z({
|
|
12
12
|
...a
|
|
@@ -47,22 +47,23 @@ function _({
|
|
|
47
47
|
className: a,
|
|
48
48
|
children: d,
|
|
49
49
|
showCloseButton: s = !0,
|
|
50
|
-
theme:
|
|
51
|
-
...
|
|
50
|
+
theme: m,
|
|
51
|
+
...n
|
|
52
52
|
}) {
|
|
53
53
|
return /* @__PURE__ */ t.jsxs(p, { "data-slot": "dialog-portal", children: [
|
|
54
54
|
/* @__PURE__ */ t.jsx(j, {}),
|
|
55
55
|
/* @__PURE__ */ t.jsxs(
|
|
56
|
-
|
|
56
|
+
i,
|
|
57
57
|
{
|
|
58
|
-
"data-theme":
|
|
58
|
+
"data-theme": m,
|
|
59
59
|
"data-slot": "dialog-content",
|
|
60
60
|
className: o(
|
|
61
61
|
`
|
|
62
|
-
adm:fixed adm:top-[50%] adm:left-[50%] adm:z-50 adm:
|
|
63
|
-
adm:max-
|
|
64
|
-
adm:translate-
|
|
65
|
-
adm:bg-background adm:p-6 adm:shadow-xs
|
|
62
|
+
adm:fixed adm:top-[50%] adm:left-[50%] adm:z-50 adm:flex
|
|
63
|
+
adm:max-h-[calc(100dvh-32px)] adm:w-full adm:max-w-[calc(100%-2rem)]
|
|
64
|
+
adm:translate-x-[-50%] adm:translate-y-[-50%] adm:flex-col adm:gap-4
|
|
65
|
+
adm:rounded-lg adm:border adm:bg-background adm:p-6 adm:shadow-xs
|
|
66
|
+
adm:duration-200
|
|
66
67
|
adm:data-[state=closed]:animate-out
|
|
67
68
|
adm:data-[state=closed]:fade-out-0
|
|
68
69
|
adm:data-[state=closed]:zoom-out-95
|
|
@@ -72,7 +73,7 @@ function _({
|
|
|
72
73
|
`,
|
|
73
74
|
a
|
|
74
75
|
),
|
|
75
|
-
...
|
|
76
|
+
...n,
|
|
76
77
|
children: [
|
|
77
78
|
d,
|
|
78
79
|
s && /* @__PURE__ */ t.jsxs(
|
|
@@ -139,7 +140,7 @@ function T({
|
|
|
139
140
|
u,
|
|
140
141
|
{
|
|
141
142
|
"data-slot": "dialog-title",
|
|
142
|
-
className: o("adm:
|
|
143
|
+
className: o("adm:font-semibold adm:text-neutrals-700", a),
|
|
143
144
|
...d
|
|
144
145
|
}
|
|
145
146
|
);
|
package/dist/field.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./jsx-runtime-BB_1_6y_.cjs"),n=require("./label-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./jsx-runtime-BB_1_6y_.cjs"),n=require("./label-BQhv4uCu.cjs"),u=require("./separator-Brpax0EI.cjs"),d=require("./index-DoxiiusW.cjs"),c=require("./index-BTzZJcis.cjs"),f=require("react");function x({className:e,...a}){return t.jsxRuntimeExports.jsx("fieldset",{"data-slot":"field-set",className:d.cn("adm:flex adm:flex-col adm:gap-6",`
|
|
2
2
|
adm:has-[>[data-slot=checkbox-group]]:gap-3
|
|
3
3
|
adm:has-[>[data-slot=radio-group]]:gap-3
|
|
4
4
|
`,e),...a})}function p({className:e,variant:a="legend",...l}){return t.jsxRuntimeExports.jsx("legend",{"data-slot":"field-legend","data-variant":a,className:d.cn("adm:mb-3 adm:font-medium","adm:data-[variant=legend]:text-base","adm:data-[variant=label]:text-sm",e),...l})}function g({className:e,...a}){return t.jsxRuntimeExports.jsx("div",{"data-slot":"field-group",className:d.cn(`
|
package/dist/field.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as e } from "./jsx-runtime-BzflLqGi.js";
|
|
2
|
-
import { L as n } from "./label-
|
|
2
|
+
import { L as n } from "./label-mzFeN5wI.js";
|
|
3
3
|
import { S as f } from "./separator-DVypR3Qf.js";
|
|
4
4
|
import { c as t } from "./index-CRiPKpXj.js";
|
|
5
5
|
import { c as u } from "./index-BqtVL8d-.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";const n=require("./jsx-runtime-BB_1_6y_.cjs"),s=require("react"),
|
|
1
|
+
"use strict";const n=require("./jsx-runtime-BB_1_6y_.cjs"),s=require("react"),d=require("./index-CocSS1YK.cjs"),i=require("./index-DoxiiusW.cjs");function l(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const u=l(s);var c="Label",o=u.forwardRef((e,a)=>n.jsxRuntimeExports.jsx(d.Primitive.label,{...e,ref:a,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName=c;var m=o;function f({className:e,...a}){return n.jsxRuntimeExports.jsx(m,{"data-slot":"label",className:i.cn(`
|
|
2
2
|
adm:flex adm:items-center adm:gap-2 adm:text-sm adm:leading-none
|
|
3
|
-
adm:font-medium adm:select-none
|
|
3
|
+
adm:font-medium adm:text-neutrals-700 adm:select-none
|
|
4
4
|
adm:group-data-[disabled=true]:pointer-events-none
|
|
5
5
|
adm:group-data-[disabled=true]:opacity-50
|
|
6
6
|
adm:peer-disabled:cursor-not-allowed adm:peer-disabled:opacity-50
|
|
@@ -2,7 +2,7 @@ import { j as r } from "./jsx-runtime-BzflLqGi.js";
|
|
|
2
2
|
import * as d from "react";
|
|
3
3
|
import { P as m } from "./index-BMWt1NBG.js";
|
|
4
4
|
import { c as s } from "./index-CRiPKpXj.js";
|
|
5
|
-
var
|
|
5
|
+
var l = "Label", o = d.forwardRef((e, t) => /* @__PURE__ */ r.jsx(
|
|
6
6
|
m.label,
|
|
7
7
|
{
|
|
8
8
|
...e,
|
|
@@ -12,20 +12,20 @@ var i = "Label", o = d.forwardRef((e, t) => /* @__PURE__ */ r.jsx(
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
));
|
|
15
|
-
o.displayName =
|
|
16
|
-
var
|
|
15
|
+
o.displayName = l;
|
|
16
|
+
var n = o;
|
|
17
17
|
function c({
|
|
18
18
|
className: e,
|
|
19
19
|
...t
|
|
20
20
|
}) {
|
|
21
21
|
return /* @__PURE__ */ r.jsx(
|
|
22
|
-
|
|
22
|
+
n,
|
|
23
23
|
{
|
|
24
24
|
"data-slot": "label",
|
|
25
25
|
className: s(
|
|
26
26
|
`
|
|
27
27
|
adm:flex adm:items-center adm:gap-2 adm:text-sm adm:leading-none
|
|
28
|
-
adm:font-medium adm:select-none
|
|
28
|
+
adm:font-medium adm:text-neutrals-700 adm:select-none
|
|
29
29
|
adm:group-data-[disabled=true]:pointer-events-none
|
|
30
30
|
adm:group-data-[disabled=true]:opacity-50
|
|
31
31
|
adm:peer-disabled:cursor-not-allowed adm:peer-disabled:opacity-50
|
package/dist/label.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./label-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./label-BQhv4uCu.cjs");exports.Label=e.Label;
|
package/dist/label.js
CHANGED