@drjoshcsimmons/scl 0.1.5 → 0.1.7
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/globals.css +300 -0
- package/dist/index100.js +30 -9
- package/dist/index101.js +648 -48
- package/dist/index102.js +167 -205
- package/dist/index103.js +25 -30
- package/dist/index104.js +12 -178
- package/dist/index106.js +12 -21
- package/dist/index107.js +15 -3
- package/dist/index108.js +3 -32
- package/dist/index109.js +32 -12
- package/dist/index11.js +2 -2
- package/dist/index110.js +18 -12
- package/dist/index112.js +1 -1
- package/dist/index115.js +1 -1
- package/dist/index116.js +1 -1
- package/dist/index117.js +25 -2
- package/dist/index118.js +29 -2
- package/dist/index119.js +5 -25
- package/dist/index12.js +1 -1
- package/dist/index120.js +2 -29
- package/dist/index121.js +2 -5
- package/dist/index125.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index13.js +2 -2
- package/dist/index130.js +1 -1
- package/dist/index14.js +2 -2
- package/dist/index15.js +2 -2
- package/dist/index17.js +4 -4
- package/dist/index18.js +1 -1
- package/dist/index20.js +1 -1
- package/dist/index22.js +1 -1
- package/dist/index23.js +2 -2
- package/dist/index24.js +1 -1
- package/dist/index25.js +4 -4
- package/dist/index26.js +1 -1
- package/dist/index27.js +3 -3
- package/dist/index29.js +1 -1
- package/dist/index33.js +1 -1
- package/dist/index36.js +2 -2
- package/dist/index37.js +1 -1
- package/dist/index4.js +2 -2
- package/dist/index45.js +33 -237
- package/dist/index46.js +237 -11
- package/dist/index47.js +11 -33
- package/dist/index48.js +64 -116
- package/dist/index49.js +116 -64
- package/dist/index5.js +1 -1
- package/dist/index50.js +1 -1
- package/dist/index51.js +254 -248
- package/dist/index52.js +12 -118
- package/dist/index53.js +12 -310
- package/dist/index54.js +3 -6
- package/dist/index55.js +860 -12
- package/dist/index56.js +3 -3
- package/dist/index57.js +205 -415
- package/dist/index58.js +11 -225
- package/dist/index59.js +4 -4
- package/dist/index6.js +1 -1
- package/dist/index60.js +118 -11
- package/dist/index61.js +18 -256
- package/dist/index62.js +254 -12
- package/dist/index63.js +204 -828
- package/dist/index64.js +161 -9
- package/dist/index65.js +392 -487
- package/dist/index66.js +318 -143
- package/dist/index67.js +1 -1
- package/dist/index68.js +526 -18
- package/dist/index69.js +224 -311
- package/dist/index7.js +1 -1
- package/dist/index70.js +6 -6
- package/dist/index71.js +31 -82
- package/dist/index72.js +14 -14
- package/dist/index73.js +69 -236
- package/dist/index74.js +309 -30
- package/dist/index75.js +12 -236
- package/dist/index77.js +44 -25
- package/dist/index78.js +25 -5
- package/dist/index79.js +6 -53
- package/dist/index8.js +1 -1
- package/dist/index80.js +49 -52
- package/dist/index81.js +33 -10
- package/dist/index82.js +11 -4
- package/dist/index83.js +8 -30
- package/dist/index84.js +52 -10
- package/dist/index85.js +10 -51
- package/dist/index86.js +4 -34
- package/dist/index87.js +29 -68
- package/dist/index88.js +12 -10
- package/dist/index89.js +51 -12
- package/dist/index9.js +1 -1
- package/dist/index90.js +123 -44
- package/dist/index91.js +134 -7
- package/dist/index92.js +14 -4
- package/dist/index93.js +68 -5
- package/dist/index94.js +14 -24
- package/dist/index95.js +8 -649
- package/dist/index96.js +47 -122
- package/dist/index97.js +3 -134
- package/dist/index98.js +218 -13
- package/dist/index99.js +5 -14
- package/package.json +2 -2
package/dist/index71.js
CHANGED
|
@@ -1,84 +1,33 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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
|
-
ref: e
|
|
31
|
-
}
|
|
32
|
-
) });
|
|
33
|
-
}
|
|
34
|
-
);
|
|
35
|
-
f.displayName = u;
|
|
36
|
-
var g = "ProgressIndicator", x = m.forwardRef(
|
|
37
|
-
(r, e) => {
|
|
38
|
-
const { __scopeProgress: i, ...o } = r, a = _(g, i);
|
|
39
|
-
return /* @__PURE__ */ l(
|
|
40
|
-
c.div,
|
|
41
|
-
{
|
|
42
|
-
"data-state": P(a.value, a.max),
|
|
43
|
-
"data-value": a.value ?? void 0,
|
|
44
|
-
"data-max": a.max,
|
|
45
|
-
...o,
|
|
46
|
-
ref: e
|
|
47
|
-
}
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
);
|
|
51
|
-
x.displayName = g;
|
|
52
|
-
function E(r, e) {
|
|
53
|
-
return `${Math.round(r / e * 100)}%`;
|
|
54
|
-
}
|
|
55
|
-
function P(r, e) {
|
|
56
|
-
return r == null ? "indeterminate" : r === e ? "complete" : "loading";
|
|
57
|
-
}
|
|
58
|
-
function s(r) {
|
|
59
|
-
return typeof r == "number";
|
|
60
|
-
}
|
|
61
|
-
function v(r) {
|
|
62
|
-
return s(r) && !isNaN(r) && r > 0;
|
|
63
|
-
}
|
|
64
|
-
function p(r, e) {
|
|
65
|
-
return s(r) && !isNaN(r) && r <= e && r >= 0;
|
|
66
|
-
}
|
|
67
|
-
function M(r, e) {
|
|
68
|
-
return `Invalid prop \`max\` of value \`${r}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${d}\`.`;
|
|
69
|
-
}
|
|
70
|
-
function V(r, e) {
|
|
71
|
-
return `Invalid prop \`value\` of value \`${r}\` supplied to \`${e}\`. The \`value\` prop must be:
|
|
72
|
-
- a positive number
|
|
73
|
-
- less than the value passed to \`max\` (or ${d} if no \`max\` prop is set)
|
|
74
|
-
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
75
|
-
|
|
76
|
-
Defaulting to \`null\`.`;
|
|
77
|
-
}
|
|
78
|
-
var D = f, L = x;
|
|
1
|
+
import * as f from "react";
|
|
2
|
+
import { composeEventHandlers as m } from "./index79.js";
|
|
3
|
+
import { useControllableState as p } from "./index80.js";
|
|
4
|
+
import { Primitive as b } from "./index81.js";
|
|
5
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
6
|
+
var r = "Toggle", t = f.forwardRef((e, a) => {
|
|
7
|
+
const { pressed: s, defaultPressed: d, onPressedChange: i, ...l } = e, [o, n] = p({
|
|
8
|
+
prop: s,
|
|
9
|
+
onChange: i,
|
|
10
|
+
defaultProp: d ?? !1,
|
|
11
|
+
caller: r
|
|
12
|
+
});
|
|
13
|
+
return /* @__PURE__ */ c(
|
|
14
|
+
b.button,
|
|
15
|
+
{
|
|
16
|
+
type: "button",
|
|
17
|
+
"aria-pressed": o,
|
|
18
|
+
"data-state": o ? "on" : "off",
|
|
19
|
+
"data-disabled": e.disabled ? "" : void 0,
|
|
20
|
+
...l,
|
|
21
|
+
ref: a,
|
|
22
|
+
onClick: m(e.onClick, () => {
|
|
23
|
+
e.disabled || n(!o);
|
|
24
|
+
})
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
});
|
|
28
|
+
t.displayName = r;
|
|
29
|
+
var C = t;
|
|
79
30
|
export {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
x as ProgressIndicator,
|
|
83
|
-
D as Root
|
|
31
|
+
C as Root,
|
|
32
|
+
t as Toggle
|
|
84
33
|
};
|
package/dist/index72.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as i from "react";
|
|
2
|
-
import { composeEventHandlers as P } from "./
|
|
3
|
-
import { useComposedRefs as O } from "./
|
|
2
|
+
import { composeEventHandlers as P } from "./index79.js";
|
|
3
|
+
import { useComposedRefs as O } from "./index78.js";
|
|
4
4
|
import { createContextScope as G } from "./index76.js";
|
|
5
|
-
import { DismissableLayer as H } from "./
|
|
6
|
-
import { useFocusGuards as K } from "./
|
|
7
|
-
import { FocusScope as $ } from "./
|
|
8
|
-
import { useId as j } from "./
|
|
9
|
-
import { createPopperScope as _, Root as U, Anchor as x, Content as V, Arrow as W } from "./
|
|
10
|
-
import { Portal as Z } from "./
|
|
11
|
-
import { Presence as w } from "./
|
|
12
|
-
import { Primitive as E } from "./
|
|
13
|
-
import { createSlot as q } from "./
|
|
14
|
-
import { useControllableState as z } from "./
|
|
15
|
-
import { hideOthers as B } from "./
|
|
16
|
-
import J from "./
|
|
5
|
+
import { DismissableLayer as H } from "./index90.js";
|
|
6
|
+
import { useFocusGuards as K } from "./index94.js";
|
|
7
|
+
import { FocusScope as $ } from "./index91.js";
|
|
8
|
+
import { useId as j } from "./index82.js";
|
|
9
|
+
import { createPopperScope as _, Root as U, Anchor as x, Content as V, Arrow as W } from "./index98.js";
|
|
10
|
+
import { Portal as Z } from "./index92.js";
|
|
11
|
+
import { Presence as w } from "./index93.js";
|
|
12
|
+
import { Primitive as E } from "./index81.js";
|
|
13
|
+
import { createSlot as q } from "./index89.js";
|
|
14
|
+
import { useControllableState as z } from "./index80.js";
|
|
15
|
+
import { hideOthers as B } from "./index96.js";
|
|
16
|
+
import J from "./index95.js";
|
|
17
17
|
import { jsx as p } from "react/jsx-runtime";
|
|
18
18
|
var C = "Popover", [b] = G(C, [
|
|
19
19
|
_
|
package/dist/index73.js
CHANGED
|
@@ -1,251 +1,84 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { useSize as H } from "./index94.js";
|
|
8
|
-
import { Presence as z } from "./index87.js";
|
|
9
|
-
import { Primitive as P } from "./index86.js";
|
|
10
|
-
import { jsx as b, jsxs as G, Fragment as K } from "react/jsx-runtime";
|
|
11
|
-
var g = "Checkbox", [U] = L(g), [X, E] = U(g);
|
|
12
|
-
function J(t) {
|
|
13
|
-
const {
|
|
14
|
-
__scopeCheckbox: a,
|
|
15
|
-
checked: c,
|
|
16
|
-
children: u,
|
|
17
|
-
defaultChecked: r,
|
|
18
|
-
disabled: e,
|
|
19
|
-
form: p,
|
|
20
|
-
name: f,
|
|
21
|
-
onCheckedChange: i,
|
|
22
|
-
required: m,
|
|
23
|
-
value: C = "on",
|
|
24
|
-
// @ts-expect-error
|
|
25
|
-
internal_do_not_use_render: d
|
|
26
|
-
} = t, [l, v] = O({
|
|
27
|
-
prop: c,
|
|
28
|
-
defaultProp: r ?? !1,
|
|
29
|
-
onChange: i,
|
|
30
|
-
caller: g
|
|
31
|
-
}), [k, x] = s.useState(null), [_, o] = s.useState(null), n = s.useRef(!1), I = k ? !!p || !!k.closest("form") : (
|
|
32
|
-
// We set this to true by default so that events bubble to forms without JS (SSR)
|
|
33
|
-
!0
|
|
34
|
-
), R = {
|
|
35
|
-
checked: l,
|
|
36
|
-
disabled: e,
|
|
37
|
-
setChecked: v,
|
|
38
|
-
control: k,
|
|
39
|
-
setControl: x,
|
|
40
|
-
name: f,
|
|
41
|
-
form: p,
|
|
42
|
-
value: C,
|
|
43
|
-
hasConsumerStoppedPropagationRef: n,
|
|
44
|
-
required: m,
|
|
45
|
-
defaultChecked: h(r) ? !1 : r,
|
|
46
|
-
isFormControl: I,
|
|
47
|
-
bubbleInput: _,
|
|
48
|
-
setBubbleInput: o
|
|
49
|
-
};
|
|
50
|
-
return /* @__PURE__ */ b(
|
|
51
|
-
X,
|
|
52
|
-
{
|
|
53
|
-
scope: a,
|
|
54
|
-
...R,
|
|
55
|
-
children: W(d) ? d(R) : u
|
|
56
|
-
}
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
var N = "CheckboxTrigger", w = s.forwardRef(
|
|
60
|
-
({ __scopeCheckbox: t, onKeyDown: a, onClick: c, ...u }, r) => {
|
|
61
|
-
const {
|
|
62
|
-
control: e,
|
|
63
|
-
value: p,
|
|
64
|
-
disabled: f,
|
|
65
|
-
checked: i,
|
|
66
|
-
required: m,
|
|
67
|
-
setControl: C,
|
|
68
|
-
setChecked: d,
|
|
69
|
-
hasConsumerStoppedPropagationRef: l,
|
|
70
|
-
isFormControl: v,
|
|
71
|
-
bubbleInput: k
|
|
72
|
-
} = E(N, t), x = B(r, C), _ = s.useRef(i);
|
|
73
|
-
return s.useEffect(() => {
|
|
74
|
-
const o = e == null ? void 0 : e.form;
|
|
75
|
-
if (o) {
|
|
76
|
-
const n = () => d(_.current);
|
|
77
|
-
return o.addEventListener("reset", n), () => o.removeEventListener("reset", n);
|
|
78
|
-
}
|
|
79
|
-
}, [e, d]), /* @__PURE__ */ b(
|
|
80
|
-
P.button,
|
|
81
|
-
{
|
|
82
|
-
type: "button",
|
|
83
|
-
role: "checkbox",
|
|
84
|
-
"aria-checked": h(i) ? "mixed" : i,
|
|
85
|
-
"aria-required": m,
|
|
86
|
-
"data-state": A(i),
|
|
87
|
-
"data-disabled": f ? "" : void 0,
|
|
88
|
-
disabled: f,
|
|
89
|
-
value: p,
|
|
90
|
-
...u,
|
|
91
|
-
ref: x,
|
|
92
|
-
onKeyDown: S(a, (o) => {
|
|
93
|
-
o.key === "Enter" && o.preventDefault();
|
|
94
|
-
}),
|
|
95
|
-
onClick: S(c, (o) => {
|
|
96
|
-
d((n) => h(n) ? !0 : !n), k && v && (l.current = o.isPropagationStopped(), l.current || o.stopPropagation());
|
|
97
|
-
})
|
|
98
|
-
}
|
|
99
|
-
);
|
|
100
|
-
}
|
|
101
|
-
);
|
|
102
|
-
w.displayName = N;
|
|
103
|
-
var Q = s.forwardRef(
|
|
104
|
-
(t, a) => {
|
|
1
|
+
import * as m from "react";
|
|
2
|
+
import { createContextScope as $ } from "./index84.js";
|
|
3
|
+
import { Primitive as c } from "./index87.js";
|
|
4
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
5
|
+
var u = "Progress", d = 100, [h] = $(u), [R, _] = h(u), f = m.forwardRef(
|
|
6
|
+
(r, e) => {
|
|
105
7
|
const {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
J,
|
|
119
|
-
{
|
|
120
|
-
__scopeCheckbox: c,
|
|
121
|
-
checked: r,
|
|
122
|
-
defaultChecked: e,
|
|
123
|
-
disabled: f,
|
|
124
|
-
required: p,
|
|
125
|
-
onCheckedChange: m,
|
|
126
|
-
name: u,
|
|
127
|
-
form: C,
|
|
128
|
-
value: i,
|
|
129
|
-
internal_do_not_use_render: ({ isFormControl: l }) => /* @__PURE__ */ G(K, { children: [
|
|
130
|
-
/* @__PURE__ */ b(
|
|
131
|
-
w,
|
|
132
|
-
{
|
|
133
|
-
...d,
|
|
134
|
-
ref: a,
|
|
135
|
-
__scopeCheckbox: c
|
|
136
|
-
}
|
|
137
|
-
),
|
|
138
|
-
l && /* @__PURE__ */ b(
|
|
139
|
-
q,
|
|
140
|
-
{
|
|
141
|
-
__scopeCheckbox: c
|
|
142
|
-
}
|
|
143
|
-
)
|
|
144
|
-
] })
|
|
145
|
-
}
|
|
146
|
-
);
|
|
147
|
-
}
|
|
148
|
-
);
|
|
149
|
-
Q.displayName = g;
|
|
150
|
-
var T = "CheckboxIndicator", V = s.forwardRef(
|
|
151
|
-
(t, a) => {
|
|
152
|
-
const { __scopeCheckbox: c, forceMount: u, ...r } = t, e = E(T, c);
|
|
153
|
-
return /* @__PURE__ */ b(
|
|
154
|
-
z,
|
|
8
|
+
__scopeProgress: i,
|
|
9
|
+
value: o = null,
|
|
10
|
+
max: a,
|
|
11
|
+
getValueLabel: N = E,
|
|
12
|
+
...b
|
|
13
|
+
} = r;
|
|
14
|
+
(a || a === 0) && !v(a) && console.error(M(`${a}`, "Progress"));
|
|
15
|
+
const t = v(a) ? a : d;
|
|
16
|
+
o !== null && !p(o, t) && console.error(V(`${o}`, "Progress"));
|
|
17
|
+
const n = p(o, t) ? o : null, I = s(n) ? N(n, t) : void 0;
|
|
18
|
+
return /* @__PURE__ */ l(R, { scope: i, value: n, max: t, children: /* @__PURE__ */ l(
|
|
19
|
+
c.div,
|
|
155
20
|
{
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
)
|
|
21
|
+
"aria-valuemax": t,
|
|
22
|
+
"aria-valuemin": 0,
|
|
23
|
+
"aria-valuenow": s(n) ? n : void 0,
|
|
24
|
+
"aria-valuetext": I,
|
|
25
|
+
role: "progressbar",
|
|
26
|
+
"data-state": P(n, t),
|
|
27
|
+
"data-value": n ?? void 0,
|
|
28
|
+
"data-max": t,
|
|
29
|
+
...b,
|
|
30
|
+
ref: e
|
|
167
31
|
}
|
|
168
|
-
);
|
|
32
|
+
) });
|
|
169
33
|
}
|
|
170
34
|
);
|
|
171
|
-
|
|
172
|
-
var
|
|
173
|
-
(
|
|
174
|
-
const {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
checked: e,
|
|
178
|
-
defaultChecked: p,
|
|
179
|
-
required: f,
|
|
180
|
-
disabled: i,
|
|
181
|
-
name: m,
|
|
182
|
-
value: C,
|
|
183
|
-
form: d,
|
|
184
|
-
bubbleInput: l,
|
|
185
|
-
setBubbleInput: v
|
|
186
|
-
} = E(M, t), k = B(c, v), x = j(e), _ = H(u);
|
|
187
|
-
s.useEffect(() => {
|
|
188
|
-
const n = l;
|
|
189
|
-
if (!n) return;
|
|
190
|
-
const I = window.HTMLInputElement.prototype, y = Object.getOwnPropertyDescriptor(
|
|
191
|
-
I,
|
|
192
|
-
"checked"
|
|
193
|
-
).set, D = !r.current;
|
|
194
|
-
if (x !== e && y) {
|
|
195
|
-
const F = new Event("click", { bubbles: D });
|
|
196
|
-
n.indeterminate = h(e), y.call(n, h(e) ? !1 : e), n.dispatchEvent(F);
|
|
197
|
-
}
|
|
198
|
-
}, [l, x, e, r]);
|
|
199
|
-
const o = s.useRef(h(e) ? !1 : e);
|
|
200
|
-
return /* @__PURE__ */ b(
|
|
201
|
-
P.input,
|
|
35
|
+
f.displayName = u;
|
|
36
|
+
var g = "ProgressIndicator", x = m.forwardRef(
|
|
37
|
+
(r, e) => {
|
|
38
|
+
const { __scopeProgress: i, ...o } = r, a = _(g, i);
|
|
39
|
+
return /* @__PURE__ */ l(
|
|
40
|
+
c.div,
|
|
202
41
|
{
|
|
203
|
-
|
|
204
|
-
"
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
name: m,
|
|
209
|
-
value: C,
|
|
210
|
-
form: d,
|
|
211
|
-
...a,
|
|
212
|
-
tabIndex: -1,
|
|
213
|
-
ref: k,
|
|
214
|
-
style: {
|
|
215
|
-
...a.style,
|
|
216
|
-
..._,
|
|
217
|
-
position: "absolute",
|
|
218
|
-
pointerEvents: "none",
|
|
219
|
-
opacity: 0,
|
|
220
|
-
margin: 0,
|
|
221
|
-
// We transform because the input is absolutely positioned but we have
|
|
222
|
-
// rendered it **after** the button. This pulls it back to sit on top
|
|
223
|
-
// of the button.
|
|
224
|
-
transform: "translateX(-100%)"
|
|
225
|
-
}
|
|
42
|
+
"data-state": P(a.value, a.max),
|
|
43
|
+
"data-value": a.value ?? void 0,
|
|
44
|
+
"data-max": a.max,
|
|
45
|
+
...o,
|
|
46
|
+
ref: e
|
|
226
47
|
}
|
|
227
48
|
);
|
|
228
49
|
}
|
|
229
50
|
);
|
|
230
|
-
|
|
231
|
-
function
|
|
232
|
-
return
|
|
51
|
+
x.displayName = g;
|
|
52
|
+
function E(r, e) {
|
|
53
|
+
return `${Math.round(r / e * 100)}%`;
|
|
54
|
+
}
|
|
55
|
+
function P(r, e) {
|
|
56
|
+
return r == null ? "indeterminate" : r === e ? "complete" : "loading";
|
|
57
|
+
}
|
|
58
|
+
function s(r) {
|
|
59
|
+
return typeof r == "number";
|
|
60
|
+
}
|
|
61
|
+
function v(r) {
|
|
62
|
+
return s(r) && !isNaN(r) && r > 0;
|
|
63
|
+
}
|
|
64
|
+
function p(r, e) {
|
|
65
|
+
return s(r) && !isNaN(r) && r <= e && r >= 0;
|
|
233
66
|
}
|
|
234
|
-
function
|
|
235
|
-
return
|
|
67
|
+
function M(r, e) {
|
|
68
|
+
return `Invalid prop \`max\` of value \`${r}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${d}\`.`;
|
|
236
69
|
}
|
|
237
|
-
function
|
|
238
|
-
return
|
|
70
|
+
function V(r, e) {
|
|
71
|
+
return `Invalid prop \`value\` of value \`${r}\` supplied to \`${e}\`. The \`value\` prop must be:
|
|
72
|
+
- a positive number
|
|
73
|
+
- less than the value passed to \`max\` (or ${d} if no \`max\` prop is set)
|
|
74
|
+
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
75
|
+
|
|
76
|
+
Defaulting to \`null\`.`;
|
|
239
77
|
}
|
|
78
|
+
var D = f, L = x;
|
|
240
79
|
export {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
q as unstable_BubbleInput,
|
|
246
|
-
q as unstable_CheckboxBubbleInput,
|
|
247
|
-
J as unstable_CheckboxProvider,
|
|
248
|
-
w as unstable_CheckboxTrigger,
|
|
249
|
-
J as unstable_Provider,
|
|
250
|
-
w as unstable_Trigger
|
|
80
|
+
L as Indicator,
|
|
81
|
+
f as Progress,
|
|
82
|
+
x as ProgressIndicator,
|
|
83
|
+
D as Root
|
|
251
84
|
};
|