@simpli-route/apollo-ds 0.0.19 → 0.0.20
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/index.cjs14.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.es14.js +1 -1
- package/dist/index.es17.js +30 -152
- package/dist/index.es18.js +152 -30
- package/dist/index.es4.js +1 -1
- package/dist/index.es5.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs14.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),r=e.cva("flex h-5 w-5 shrink-0 cursor-pointer items-center justify-center rounded border-2 border-primary-200 text-white transition duration-150 ease-in-out",{variants:{isHovered:{true:""},isSelected:{true:"border-primary-500 bg-primary-500",false:"bg-white"},isFocusVisible:{true:"border-primary-500 group-active:border-primary-500"},isDisabled:{true:"border-neutral-500"},label:{true:"mr-2"}},compoundVariants:[{isHovered:!0,isSelected:!0,class:"border-none bg-primary-600 group-active:bg-primary-600"},{isHovered:!0,isSelected:!1,isDisabled:!1,class:"border-primary-700 group-active:bg-primary-600"},{isDisabled:!0,isSelected:!0,class:"bg-neutral-500"}]});exports.checkboxVariants=r;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),r=e.cva("flex h-5 w-5 shrink-0 cursor-pointer items-center justify-center rounded border-2 border-primary-200 text-white transition duration-150 ease-in-out",{variants:{isHovered:{true:""},isSelected:{true:"border-primary-500 bg-primary-500",false:"bg-white"},isFocusVisible:{true:"border-primary-500 group-active:border-primary-500"},isDisabled:{true:"border-neutral-500 cursor-not-allowed"},label:{true:"mr-2"}},compoundVariants:[{isHovered:!0,isSelected:!0,class:"border-none bg-primary-600 group-active:bg-primary-600"},{isHovered:!0,isSelected:!1,isDisabled:!1,class:"border-primary-700 group-active:bg-primary-600"},{isDisabled:!0,isSelected:!0,class:"bg-neutral-500"}]});exports.checkboxVariants=r;
|
package/dist/index.cjs17.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs10.js"),l=require("./index.cjs11.js"),c=o=>{const{isIndeterminate:t,isSelected:e,className:n,isHovered:i}=o,r=i&&!e&&!t?"text-neutral-500":"",a=!!(r||e);return s.jsxRuntimeExports.jsx("svg",{className:l.cn("stroke-current",r,n),viewBox:"-1 1 17 17",children:t?s.jsxRuntimeExports.jsx("line",{x1:1,y1:10,x2:14,y2:10,fill:"none",strokeWidth:2,strokeDasharray:14,strokeDashoffset:e?28:42,style:{transition:"all 400ms"}}):s.jsxRuntimeExports.jsx("polyline",{points:"1 9 7 14 15 4",fill:"none",strokeWidth:2,strokeDasharray:22,strokeDashoffset:a?44:66,style:{transition:"all 400ms"}})})};exports.MarkIcon=c;
|
package/dist/index.cjs18.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),t=[{intent:"primary",isHovered:!0,isDisabled:!1,isActive:!1,class:"bg-primary-100"},{intent:"primary",isHovered:!0,isDisabled:!1,isActive:!0,class:"bg-primary-700 text-primary-50"},{intent:"secondary",isHovered:!0,isDisabled:!1,isActive:!1,class:"bg-primary-300"},{intent:"secondary",isHovered:!0,isDisabled:!1,isActive:!0,class:"bg-primary-700 text-primary-50"},{intent:"minimal",isHovered:!0,isDisabled:!1,isActive:!1,class:"bg-neutral-200 text-neutral-800"},{intent:"minimal",isHovered:!0,isDisabled:!1,isActive:!0,class:"bg-neutral-200 text-primary-700"}],i=[{intent:"primary",isActive:!0,isDisabled:!1,class:"bg-primary-500 text-primary-50"},{intent:"primary",isActive:!0,isDisabled:!0,class:"bg-primary-300 text-primary-100"},{intent:"secondary",isActive:!0,isDisabled:!1,class:"bg-primary-700 text-primary-50"},{intent:"secondary",isActive:!0,isDisabled:!0,class:"bg-primary-100 text-primary-300"},{intent:"minimal",isActive:!0,isDisabled:!1,class:"text-primary-500"},{intent:"minimal",isActive:!0,isDisabled:!0,class:"text-neutral-700"}],s=[{intent:"primary",isDisabled:!0,isActive:!1,class:"text-neutral-600"},{intent:"primary",isDisabled:!0,isActive:!0,class:"bg-primary-300 text-primary-100"},{intent:"secondary",isDisabled:!0,isActive:!1,class:"bg-neutral-400 text-neutral-600"},{intent:"secondary",isDisabled:!0,isActive:!0,class:"bg-primary-100 text-primary-300"},{intent:"minimal",isDisabled:!0,isActive:!1,class:"text-neutral-600"},{intent:"minimal",isDisabled:!0,isActive:!0,class:"text-neutral-700"}],r=e.cva("inline-flex items-center justify-center border border-transparent transition duration-150 ease-in-out",{variants:{intent:{primary:"bg-transparent text-primary-500",secondary:"bg-primary-200 text-primary-500",minimal:"bg-transparent text-neutral-700"},size:{xxs:"p-1",xs:"p-2",sm:"p-2.5",md:"p-3",lg:"p-4"},isDisabled:{true:"pointer-events-none cursor-not-allowed"},isHovered:{true:""},isActive:{true:""},isFocused:{false:"",true:"focus:outline-none focus:ring-offset-2 outline-none ring-2 ring-sky-400"}},compoundVariants:[...t,...i,...s]});exports.buttonVariants=r;
|
package/dist/index.cjs4.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs10.js"),l=require("react-aria-components"),x=require("./index.cjs11.js"),p=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs10.js"),l=require("react-aria-components"),x=require("./index.cjs11.js"),p=require("./index.cjs17.js"),b=require("./index.cjs14.js"),h=({isIndeterminate:c=!1,isDisabled:s=!1,className:u,children:r,onChange:i,isSelected:n,id:o,...m})=>{const j=(a,t)=>x.cn(b.checkboxVariants({isDisabled:s,isFocusVisible:a,isHovered:t,isSelected:n,label:!!r}));return e.jsxRuntimeExports.jsx(l.Checkbox,{className:x.cn("group flex items-center",u),isSelected:n,isDisabled:s,id:o,onChange:i,...m,children:({isFocusVisible:a,isHovered:t})=>e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("div",{className:j(a,t),"aria-hidden":"true",children:e.jsxRuntimeExports.jsx(p.MarkIcon,{isIndeterminate:c,isHovered:t,isSelected:n,className:"size-3"})}),r&&e.jsxRuntimeExports.jsx("span",{className:x.cn("select-none text-base leading-6",s?"text-neutral-500":"text-primary-900"),id:o,children:r})]})})};exports.Checkbox=h;
|
package/dist/index.cjs5.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs10.js"),q=require("react"),n=require("react-aria-components"),R=require("./index.cjs11.js"),g=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs10.js"),q=require("react"),n=require("react-aria-components"),R=require("./index.cjs11.js"),g=require("./index.cjs18.js");function v(i,c){const[a,u]=n.useContextProps(i,c,n.ButtonContext),{intent:l="secondary",size:d="lg",isDisabled:o=!1,isActive:x=!1,children:e,className:f,...m}=a,r="flex h-full items-center overflow-hidden whitespace-nowrap";return s.jsxRuntimeExports.jsx(n.Button,{ref:u,className:({isPressed:t,isHovered:p,isFocusVisible:j,isFocused:h})=>R.cn(g.buttonVariants({intent:l,size:d,isDisabled:o,isActive:x||t,isHovered:p,isFocused:j||h}),f),isDisabled:o,...m,children:typeof e=="function"?t=>s.jsxRuntimeExports.jsx("span",{className:r+"p-2.",children:e(t)}):s.jsxRuntimeExports.jsx("span",{className:r,children:e})})}const B=q.forwardRef(v);exports.IconButton=B;
|
package/dist/index.es14.js
CHANGED
package/dist/index.es17.js
CHANGED
|
@@ -1,154 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
intent: "minimal",
|
|
33
|
-
isHovered: !0,
|
|
34
|
-
isDisabled: !1,
|
|
35
|
-
isActive: !1,
|
|
36
|
-
class: "bg-neutral-200 text-neutral-800"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
intent: "minimal",
|
|
40
|
-
isHovered: !0,
|
|
41
|
-
isDisabled: !1,
|
|
42
|
-
isActive: !0,
|
|
43
|
-
class: "bg-neutral-200 text-primary-700"
|
|
44
|
-
}
|
|
45
|
-
], t = [
|
|
46
|
-
{
|
|
47
|
-
intent: "primary",
|
|
48
|
-
isActive: !0,
|
|
49
|
-
isDisabled: !1,
|
|
50
|
-
class: "bg-primary-500 text-primary-50"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
intent: "primary",
|
|
54
|
-
isActive: !0,
|
|
55
|
-
isDisabled: !0,
|
|
56
|
-
class: "bg-primary-300 text-primary-100"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
intent: "secondary",
|
|
60
|
-
isActive: !0,
|
|
61
|
-
isDisabled: !1,
|
|
62
|
-
class: "bg-primary-700 text-primary-50"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
intent: "secondary",
|
|
66
|
-
isActive: !0,
|
|
67
|
-
isDisabled: !0,
|
|
68
|
-
class: "bg-primary-100 text-primary-300"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
intent: "minimal",
|
|
72
|
-
isActive: !0,
|
|
73
|
-
isDisabled: !1,
|
|
74
|
-
class: "text-primary-500"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
intent: "minimal",
|
|
78
|
-
isActive: !0,
|
|
79
|
-
isDisabled: !0,
|
|
80
|
-
class: "text-neutral-700"
|
|
81
|
-
}
|
|
82
|
-
], s = [
|
|
83
|
-
{
|
|
84
|
-
intent: "primary",
|
|
85
|
-
isDisabled: !0,
|
|
86
|
-
isActive: !1,
|
|
87
|
-
class: "text-neutral-600"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
intent: "primary",
|
|
91
|
-
isDisabled: !0,
|
|
92
|
-
isActive: !0,
|
|
93
|
-
class: "bg-primary-300 text-primary-100"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
intent: "secondary",
|
|
97
|
-
isDisabled: !0,
|
|
98
|
-
isActive: !1,
|
|
99
|
-
class: "bg-neutral-400 text-neutral-600"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
intent: "secondary",
|
|
103
|
-
isDisabled: !0,
|
|
104
|
-
isActive: !0,
|
|
105
|
-
class: "bg-primary-100 text-primary-300"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
intent: "minimal",
|
|
109
|
-
isDisabled: !0,
|
|
110
|
-
isActive: !1,
|
|
111
|
-
class: "text-neutral-600"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
intent: "minimal",
|
|
115
|
-
isDisabled: !0,
|
|
116
|
-
isActive: !0,
|
|
117
|
-
class: "text-neutral-700"
|
|
118
|
-
}
|
|
119
|
-
], a = e(
|
|
120
|
-
"inline-flex items-center justify-center border border-transparent transition duration-150 ease-in-out",
|
|
121
|
-
{
|
|
122
|
-
variants: {
|
|
123
|
-
intent: {
|
|
124
|
-
primary: "bg-transparent text-primary-500",
|
|
125
|
-
secondary: "bg-primary-200 text-primary-500",
|
|
126
|
-
minimal: "bg-transparent text-neutral-700"
|
|
127
|
-
},
|
|
128
|
-
size: {
|
|
129
|
-
xxs: "p-1",
|
|
130
|
-
xs: "p-2",
|
|
131
|
-
sm: "p-2.5",
|
|
132
|
-
md: "p-3",
|
|
133
|
-
lg: "p-4"
|
|
134
|
-
},
|
|
135
|
-
isDisabled: {
|
|
136
|
-
true: "pointer-events-none cursor-not-allowed"
|
|
137
|
-
},
|
|
138
|
-
isHovered: {
|
|
139
|
-
true: ""
|
|
140
|
-
},
|
|
141
|
-
isActive: {
|
|
142
|
-
true: ""
|
|
143
|
-
},
|
|
144
|
-
isFocused: {
|
|
145
|
-
false: "",
|
|
146
|
-
true: "focus:outline-none focus:ring-offset-2 outline-none ring-2 ring-sky-400"
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
compoundVariants: [...i, ...t, ...s]
|
|
150
|
-
}
|
|
151
|
-
);
|
|
1
|
+
import { j as e } from "./index.es10.js";
|
|
2
|
+
import { cn as l } from "./index.es11.js";
|
|
3
|
+
const m = (r) => {
|
|
4
|
+
const { isIndeterminate: t, isSelected: s, className: n, isHovered: a } = r, o = a && !s && !t ? "text-neutral-500" : "", i = !!(o || s);
|
|
5
|
+
return /* @__PURE__ */ e.jsx("svg", { className: l("stroke-current", o, n), viewBox: "-1 1 17 17", children: t ? /* @__PURE__ */ e.jsx(
|
|
6
|
+
"line",
|
|
7
|
+
{
|
|
8
|
+
x1: 1,
|
|
9
|
+
y1: 10,
|
|
10
|
+
x2: 14,
|
|
11
|
+
y2: 10,
|
|
12
|
+
fill: "none",
|
|
13
|
+
strokeWidth: 2,
|
|
14
|
+
strokeDasharray: 14,
|
|
15
|
+
strokeDashoffset: s ? 28 : 42,
|
|
16
|
+
style: { transition: "all 400ms" }
|
|
17
|
+
}
|
|
18
|
+
) : /* @__PURE__ */ e.jsx(
|
|
19
|
+
"polyline",
|
|
20
|
+
{
|
|
21
|
+
points: "1 9 7 14 15 4",
|
|
22
|
+
fill: "none",
|
|
23
|
+
strokeWidth: 2,
|
|
24
|
+
strokeDasharray: 22,
|
|
25
|
+
strokeDashoffset: i ? 44 : 66,
|
|
26
|
+
style: { transition: "all 400ms" }
|
|
27
|
+
}
|
|
28
|
+
) });
|
|
29
|
+
};
|
|
152
30
|
export {
|
|
153
|
-
|
|
31
|
+
m as MarkIcon
|
|
154
32
|
};
|
package/dist/index.es18.js
CHANGED
|
@@ -1,32 +1,154 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
import { cva as e } from "class-variance-authority";
|
|
2
|
+
const i = [
|
|
3
|
+
{
|
|
4
|
+
intent: "primary",
|
|
5
|
+
isHovered: !0,
|
|
6
|
+
isDisabled: !1,
|
|
7
|
+
isActive: !1,
|
|
8
|
+
class: "bg-primary-100"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
intent: "primary",
|
|
12
|
+
isHovered: !0,
|
|
13
|
+
isDisabled: !1,
|
|
14
|
+
isActive: !0,
|
|
15
|
+
class: "bg-primary-700 text-primary-50"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
intent: "secondary",
|
|
19
|
+
isHovered: !0,
|
|
20
|
+
isDisabled: !1,
|
|
21
|
+
isActive: !1,
|
|
22
|
+
class: "bg-primary-300"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
intent: "secondary",
|
|
26
|
+
isHovered: !0,
|
|
27
|
+
isDisabled: !1,
|
|
28
|
+
isActive: !0,
|
|
29
|
+
class: "bg-primary-700 text-primary-50"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
intent: "minimal",
|
|
33
|
+
isHovered: !0,
|
|
34
|
+
isDisabled: !1,
|
|
35
|
+
isActive: !1,
|
|
36
|
+
class: "bg-neutral-200 text-neutral-800"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
intent: "minimal",
|
|
40
|
+
isHovered: !0,
|
|
41
|
+
isDisabled: !1,
|
|
42
|
+
isActive: !0,
|
|
43
|
+
class: "bg-neutral-200 text-primary-700"
|
|
44
|
+
}
|
|
45
|
+
], t = [
|
|
46
|
+
{
|
|
47
|
+
intent: "primary",
|
|
48
|
+
isActive: !0,
|
|
49
|
+
isDisabled: !1,
|
|
50
|
+
class: "bg-primary-500 text-primary-50"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
intent: "primary",
|
|
54
|
+
isActive: !0,
|
|
55
|
+
isDisabled: !0,
|
|
56
|
+
class: "bg-primary-300 text-primary-100"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
intent: "secondary",
|
|
60
|
+
isActive: !0,
|
|
61
|
+
isDisabled: !1,
|
|
62
|
+
class: "bg-primary-700 text-primary-50"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
intent: "secondary",
|
|
66
|
+
isActive: !0,
|
|
67
|
+
isDisabled: !0,
|
|
68
|
+
class: "bg-primary-100 text-primary-300"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
intent: "minimal",
|
|
72
|
+
isActive: !0,
|
|
73
|
+
isDisabled: !1,
|
|
74
|
+
class: "text-primary-500"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
intent: "minimal",
|
|
78
|
+
isActive: !0,
|
|
79
|
+
isDisabled: !0,
|
|
80
|
+
class: "text-neutral-700"
|
|
81
|
+
}
|
|
82
|
+
], s = [
|
|
83
|
+
{
|
|
84
|
+
intent: "primary",
|
|
85
|
+
isDisabled: !0,
|
|
86
|
+
isActive: !1,
|
|
87
|
+
class: "text-neutral-600"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
intent: "primary",
|
|
91
|
+
isDisabled: !0,
|
|
92
|
+
isActive: !0,
|
|
93
|
+
class: "bg-primary-300 text-primary-100"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
intent: "secondary",
|
|
97
|
+
isDisabled: !0,
|
|
98
|
+
isActive: !1,
|
|
99
|
+
class: "bg-neutral-400 text-neutral-600"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
intent: "secondary",
|
|
103
|
+
isDisabled: !0,
|
|
104
|
+
isActive: !0,
|
|
105
|
+
class: "bg-primary-100 text-primary-300"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
intent: "minimal",
|
|
109
|
+
isDisabled: !0,
|
|
110
|
+
isActive: !1,
|
|
111
|
+
class: "text-neutral-600"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
intent: "minimal",
|
|
115
|
+
isDisabled: !0,
|
|
116
|
+
isActive: !0,
|
|
117
|
+
class: "text-neutral-700"
|
|
118
|
+
}
|
|
119
|
+
], a = e(
|
|
120
|
+
"inline-flex items-center justify-center border border-transparent transition duration-150 ease-in-out",
|
|
121
|
+
{
|
|
122
|
+
variants: {
|
|
123
|
+
intent: {
|
|
124
|
+
primary: "bg-transparent text-primary-500",
|
|
125
|
+
secondary: "bg-primary-200 text-primary-500",
|
|
126
|
+
minimal: "bg-transparent text-neutral-700"
|
|
127
|
+
},
|
|
128
|
+
size: {
|
|
129
|
+
xxs: "p-1",
|
|
130
|
+
xs: "p-2",
|
|
131
|
+
sm: "p-2.5",
|
|
132
|
+
md: "p-3",
|
|
133
|
+
lg: "p-4"
|
|
134
|
+
},
|
|
135
|
+
isDisabled: {
|
|
136
|
+
true: "pointer-events-none cursor-not-allowed"
|
|
137
|
+
},
|
|
138
|
+
isHovered: {
|
|
139
|
+
true: ""
|
|
140
|
+
},
|
|
141
|
+
isActive: {
|
|
142
|
+
true: ""
|
|
143
|
+
},
|
|
144
|
+
isFocused: {
|
|
145
|
+
false: "",
|
|
146
|
+
true: "focus:outline-none focus:ring-offset-2 outline-none ring-2 ring-sky-400"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
compoundVariants: [...i, ...t, ...s]
|
|
150
|
+
}
|
|
151
|
+
);
|
|
30
152
|
export {
|
|
31
|
-
|
|
153
|
+
a as buttonVariants
|
|
32
154
|
};
|
package/dist/index.es4.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as e } from "./index.es10.js";
|
|
2
2
|
import { Checkbox as h } from "react-aria-components";
|
|
3
3
|
import { cn as m } from "./index.es11.js";
|
|
4
|
-
import { MarkIcon as i } from "./index.
|
|
4
|
+
import { MarkIcon as i } from "./index.es17.js";
|
|
5
5
|
import { checkboxVariants as j } from "./index.es14.js";
|
|
6
6
|
const g = ({
|
|
7
7
|
isIndeterminate: x = !1,
|
package/dist/index.es5.js
CHANGED
|
@@ -2,7 +2,7 @@ import { j as s } from "./index.es10.js";
|
|
|
2
2
|
import { forwardRef as j } from "react";
|
|
3
3
|
import { useContextProps as B, ButtonContext as w, Button as C } from "react-aria-components";
|
|
4
4
|
import { cn as N } from "./index.es11.js";
|
|
5
|
-
import { buttonVariants as g } from "./index.
|
|
5
|
+
import { buttonVariants as g } from "./index.es18.js";
|
|
6
6
|
function v(r, i) {
|
|
7
7
|
const [c, a] = B(r, i, w), {
|
|
8
8
|
intent: m = "secondary",
|