@oomol-lab/open-flow 0.1.0-beta.16 → 0.1.0-beta.18
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/browser/{createResourceDialog-DRUIXBbz.js → createResourceDialog-DlrAMxmo.js} +2 -2
- package/dist/browser/flow-authoring.js +1464 -1463
- package/dist/browser/flow-change.js +1 -0
- package/dist/browser/{flowChanges-iuoam3Bx.js → flowChanges-DR6bsnz-.js} +1745 -1484
- package/dist/browser/{flowWorkspace-B0UAQ-s7.js → flowWorkspace-fsNhVe8S.js} +32429 -29399
- package/dist/browser/{i18n-JtW9O5x3.js → i18n-9ypjMjOo.js} +167 -27
- package/dist/browser/{inputValues-DICmJoN-.js → inputValues-MIPdGucY.js} +2 -2
- package/dist/browser/licenses.md +48 -0
- package/dist/browser/{markdownContent-tWc7bRAs.js → markdownContent-BBgH9ZIV.js} +13 -13
- package/dist/browser/theme.css +9 -9
- package/dist/browser/ui.css +1 -1
- package/dist/browser/ui.d.ts +9 -0
- package/dist/browser/ui.js +1219 -1022
- package/dist/browser/{useValueChanged-DSookOEC.js → useValueChanged-BY05Usw-.js} +3 -3
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.js +931 -629
- package/dist/browser/{workbenchSelect-DgxXqCAa.js → workbenchSelect-CwP6rphY.js} +4 -3
- package/dist/common/control-api-conformance.js +389 -394
- package/dist/common/control-api-errors.d.ts +5 -0
- package/dist/common/control-api.d.ts +1 -6
- package/dist/common/control-api.js +1019 -1003
- package/dist/common/control-requests.js +1 -0
- package/dist/common/engine-contract.d.ts +2 -0
- package/dist/common/flow-encoding.js +1 -0
- package/dist/common/flow-semantics.js +2802 -2767
- package/dist/common/integration-trigger.d.ts +23 -1
- package/dist/common/integration-trigger.js +188 -52
- package/dist/common/mcp.js +409 -391
- package/dist/common/provider-triggers.js +890 -842
- package/dist/common/runtime-contract.d.ts +2 -1
- package/dist/common/runtime-contract.js +99 -28
- package/dist/common/scheduler.js +1255 -1254
- package/package.json +1 -1
package/dist/browser/ui.js
CHANGED
|
@@ -1,23 +1,38 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import { createElement as t } from "react";
|
|
3
|
-
import { jsx as
|
|
2
|
+
import { createElement as t, forwardRef as n } from "react";
|
|
3
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
4
|
+
//#region ../../node_modules/.bun/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
5
|
+
function i() {
|
|
6
|
+
return typeof window < "u";
|
|
7
|
+
}
|
|
8
|
+
function a(e) {
|
|
9
|
+
var t;
|
|
10
|
+
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
11
|
+
}
|
|
12
|
+
function o(e) {
|
|
13
|
+
return i() ? e instanceof Element || e instanceof a(e).Element : !1;
|
|
14
|
+
}
|
|
15
|
+
function s(e) {
|
|
16
|
+
return i() ? e instanceof HTMLElement || e instanceof a(e).HTMLElement : !1;
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
4
19
|
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useRefWithInit.js
|
|
5
|
-
var
|
|
6
|
-
function
|
|
7
|
-
let
|
|
8
|
-
return
|
|
20
|
+
var c = {};
|
|
21
|
+
function l(t, n) {
|
|
22
|
+
let r = e.useRef(c);
|
|
23
|
+
return r.current === c && (r.current = t(n)), r;
|
|
9
24
|
}
|
|
10
25
|
//#endregion
|
|
11
26
|
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useStableCallback.js
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
let t =
|
|
15
|
-
return t.next = e,
|
|
27
|
+
var u = e[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0, -3)], d = u && u !== e.useLayoutEffect ? u : (e) => e();
|
|
28
|
+
function f(e) {
|
|
29
|
+
let t = l(p).current;
|
|
30
|
+
return t.next = e, d(t.effect), t.trampoline;
|
|
16
31
|
}
|
|
17
|
-
function
|
|
32
|
+
function p() {
|
|
18
33
|
let e = {
|
|
19
34
|
next: void 0,
|
|
20
|
-
callback:
|
|
35
|
+
callback: m,
|
|
21
36
|
trampoline: (...t) => e.callback?.(...t),
|
|
22
37
|
effect: () => {
|
|
23
38
|
e.callback = e.next;
|
|
@@ -25,90 +40,25 @@ function c() {
|
|
|
25
40
|
};
|
|
26
41
|
return e;
|
|
27
42
|
}
|
|
28
|
-
function
|
|
43
|
+
function m() {
|
|
29
44
|
if (process.env.NODE_ENV !== "production") throw Error("Base UI: Cannot call an event handler while rendering.");
|
|
30
45
|
}
|
|
31
46
|
//#endregion
|
|
32
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
var d = u("https://base-ui.com/production-error", "Base UI");
|
|
40
|
-
//#endregion
|
|
41
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/empty.js
|
|
42
|
-
function f() {}
|
|
43
|
-
Object.freeze([]);
|
|
44
|
-
var p = Object.freeze({}), m = /*#__PURE__*/ function(e) {
|
|
45
|
-
return e.disabled = "data-disabled", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.filled = "data-filled", e.focused = "data-focused", e;
|
|
46
|
-
}({}), h = {
|
|
47
|
-
badInput: !1,
|
|
48
|
-
customError: !1,
|
|
49
|
-
patternMismatch: !1,
|
|
50
|
-
rangeOverflow: !1,
|
|
51
|
-
rangeUnderflow: !1,
|
|
52
|
-
stepMismatch: !1,
|
|
53
|
-
tooLong: !1,
|
|
54
|
-
tooShort: !1,
|
|
55
|
-
typeMismatch: !1,
|
|
56
|
-
valid: null,
|
|
57
|
-
valueMissing: !1
|
|
58
|
-
}, g = {
|
|
59
|
-
valid: null,
|
|
60
|
-
touched: !1,
|
|
61
|
-
dirty: !1,
|
|
62
|
-
filled: !1,
|
|
63
|
-
focused: !1
|
|
64
|
-
}, _ = {
|
|
65
|
-
disabled: !1,
|
|
66
|
-
...g
|
|
67
|
-
}, ee = { valid(e) {
|
|
68
|
-
return e === null ? null : e ? { [m.valid]: "" } : { [m.invalid]: "" };
|
|
69
|
-
} }, v = /*#__PURE__*/ e.createContext({
|
|
70
|
-
invalid: void 0,
|
|
71
|
-
name: void 0,
|
|
72
|
-
validityData: {
|
|
73
|
-
state: h,
|
|
74
|
-
errors: [],
|
|
75
|
-
error: "",
|
|
76
|
-
value: "",
|
|
77
|
-
initialValue: null
|
|
78
|
-
},
|
|
79
|
-
setValidityData: f,
|
|
80
|
-
disabled: void 0,
|
|
81
|
-
touched: g.touched,
|
|
82
|
-
setTouched: f,
|
|
83
|
-
dirty: g.dirty,
|
|
84
|
-
setDirty: f,
|
|
85
|
-
filled: g.filled,
|
|
86
|
-
setFilled: f,
|
|
87
|
-
focused: g.focused,
|
|
88
|
-
setFocused: f,
|
|
89
|
-
validate: () => null,
|
|
90
|
-
validationMode: "onSubmit",
|
|
91
|
-
validationDebounceTime: 0,
|
|
92
|
-
shouldValidateOnChange: () => !1,
|
|
93
|
-
state: _,
|
|
94
|
-
markedDirtyRef: { current: !1 },
|
|
95
|
-
registerFieldControl: f,
|
|
96
|
-
validation: {
|
|
97
|
-
getValidationProps: (e = p) => e,
|
|
98
|
-
getInputValidationProps: (e = p) => e,
|
|
99
|
-
inputRef: { current: null },
|
|
100
|
-
commit: async () => {}
|
|
47
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/error.js
|
|
48
|
+
var h;
|
|
49
|
+
process.env.NODE_ENV !== "production" && (h = /* @__PURE__ */ new Set());
|
|
50
|
+
function g(...e) {
|
|
51
|
+
if (process.env.NODE_ENV !== "production") {
|
|
52
|
+
let t = e.join(" ");
|
|
53
|
+
h.has(t) || (h.add(t), console.error(`Base UI: ${t}`));
|
|
101
54
|
}
|
|
102
|
-
});
|
|
103
|
-
process.env.NODE_ENV !== "production" && (v.displayName = "FieldRootContext");
|
|
104
|
-
function y(t = !0) {
|
|
105
|
-
let n = e.useContext(v);
|
|
106
|
-
if (n.setValidityData === f && !t) throw Error(process.env.NODE_ENV === "production" ? d(28) : "Base UI: FieldRootContext is missing. Field parts must be placed within <Field.Root>.");
|
|
107
|
-
return n;
|
|
108
55
|
}
|
|
109
56
|
//#endregion
|
|
57
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/safeReact.js
|
|
58
|
+
var _ = { ...e }, v = typeof document < "u" ? e.useLayoutEffect : () => {};
|
|
59
|
+
//#endregion
|
|
110
60
|
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/mergeObjects.js
|
|
111
|
-
function
|
|
61
|
+
function y(e, t) {
|
|
112
62
|
if (e && !t) return e;
|
|
113
63
|
if (!e && t) return t;
|
|
114
64
|
if (e || t) return {
|
|
@@ -118,214 +68,234 @@ function b(e, t) {
|
|
|
118
68
|
}
|
|
119
69
|
//#endregion
|
|
120
70
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/merge-props/mergeProps.js
|
|
121
|
-
var
|
|
122
|
-
function
|
|
123
|
-
if (!n && !r && !i && !e) return
|
|
124
|
-
let a =
|
|
125
|
-
return t && (a =
|
|
71
|
+
var b = {};
|
|
72
|
+
function x(e, t, n, r, i) {
|
|
73
|
+
if (!n && !r && !i && !e) return C(t);
|
|
74
|
+
let a = C(e);
|
|
75
|
+
return t && (a = w(a, t)), n && (a = w(a, n)), r && (a = w(a, r)), i && (a = w(a, i)), a;
|
|
126
76
|
}
|
|
127
|
-
function
|
|
128
|
-
if (e.length === 0) return
|
|
129
|
-
if (e.length === 1) return
|
|
130
|
-
let t =
|
|
131
|
-
for (let n = 1; n < e.length; n += 1) t =
|
|
77
|
+
function S(e) {
|
|
78
|
+
if (e.length === 0) return b;
|
|
79
|
+
if (e.length === 1) return C(e[0]);
|
|
80
|
+
let t = C(e[0]);
|
|
81
|
+
for (let n = 1; n < e.length; n += 1) t = w(t, e[n]);
|
|
132
82
|
return t;
|
|
133
83
|
}
|
|
134
|
-
function
|
|
135
|
-
return
|
|
84
|
+
function C(e) {
|
|
85
|
+
return D(e) ? { ...te(e, b) } : T(e);
|
|
136
86
|
}
|
|
137
|
-
function
|
|
138
|
-
return
|
|
87
|
+
function w(e, t) {
|
|
88
|
+
return D(t) ? te(t, e) : ee(e, t);
|
|
139
89
|
}
|
|
140
|
-
function
|
|
90
|
+
function T(e) {
|
|
141
91
|
let t = { ...e };
|
|
142
92
|
for (let e in t) {
|
|
143
93
|
let n = t[e];
|
|
144
|
-
|
|
94
|
+
E(e, n) && (t[e] = k(n));
|
|
145
95
|
}
|
|
146
96
|
return t;
|
|
147
97
|
}
|
|
148
|
-
function
|
|
98
|
+
function ee(e, t) {
|
|
149
99
|
if (!t) return e;
|
|
150
100
|
for (let n in t) {
|
|
151
101
|
let r = t[n];
|
|
152
102
|
switch (n) {
|
|
153
103
|
case "style":
|
|
154
|
-
e[n] =
|
|
104
|
+
e[n] = y(e.style, r);
|
|
155
105
|
break;
|
|
156
106
|
case "className":
|
|
157
|
-
e[n] =
|
|
107
|
+
e[n] = j(e.className, r);
|
|
158
108
|
break;
|
|
159
|
-
default: e[n] =
|
|
109
|
+
default: e[n] = E(n, r) ? O(e[n], r) : r;
|
|
160
110
|
}
|
|
161
111
|
}
|
|
162
112
|
return e;
|
|
163
113
|
}
|
|
164
|
-
function
|
|
114
|
+
function E(e, t) {
|
|
165
115
|
let n = e.charCodeAt(0), r = e.charCodeAt(1), i = e.charCodeAt(2);
|
|
166
116
|
return n === 111 && r === 110 && i >= 65 && i <= 90 && (typeof t == "function" || t === void 0);
|
|
167
117
|
}
|
|
168
|
-
function
|
|
118
|
+
function D(e) {
|
|
169
119
|
return typeof e == "function";
|
|
170
120
|
}
|
|
171
|
-
function
|
|
172
|
-
return
|
|
121
|
+
function te(e, t) {
|
|
122
|
+
return D(e) ? e(t) : e ?? b;
|
|
173
123
|
}
|
|
174
|
-
function
|
|
124
|
+
function O(e, t) {
|
|
175
125
|
return t ? e ? (...n) => {
|
|
176
126
|
let r = n[0];
|
|
177
|
-
if (
|
|
127
|
+
if (M(r)) {
|
|
178
128
|
let i = r;
|
|
179
|
-
|
|
129
|
+
A(i);
|
|
180
130
|
let a = t(...n);
|
|
181
131
|
return i.baseUIHandlerPrevented || e?.(...n), a;
|
|
182
132
|
}
|
|
183
133
|
let i = t(...n);
|
|
184
134
|
return e?.(...n), i;
|
|
185
|
-
} :
|
|
135
|
+
} : k(t) : e;
|
|
186
136
|
}
|
|
187
|
-
function
|
|
137
|
+
function k(e) {
|
|
188
138
|
return e && ((...t) => {
|
|
189
139
|
let n = t[0];
|
|
190
|
-
return
|
|
140
|
+
return M(n) && A(n), e(...t);
|
|
191
141
|
});
|
|
192
142
|
}
|
|
193
|
-
function
|
|
143
|
+
function A(e) {
|
|
194
144
|
return e.preventBaseUIHandler = () => {
|
|
195
145
|
e.baseUIHandlerPrevented = !0;
|
|
196
146
|
}, e;
|
|
197
147
|
}
|
|
198
|
-
function
|
|
148
|
+
function j(e, t) {
|
|
199
149
|
return t ? e ? t + " " + e : t : e;
|
|
200
150
|
}
|
|
201
|
-
function
|
|
151
|
+
function M(e) {
|
|
202
152
|
return typeof e == "object" && !!e && "nativeEvent" in e;
|
|
203
153
|
}
|
|
204
154
|
//#endregion
|
|
205
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/
|
|
206
|
-
|
|
207
|
-
function
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
}, [r, n]), a;
|
|
212
|
-
}
|
|
213
|
-
var I = te.useId;
|
|
214
|
-
function L(e, t) {
|
|
215
|
-
if (I !== void 0) {
|
|
216
|
-
let n = I();
|
|
217
|
-
return e ?? (t ? `${t}-${n}` : n);
|
|
218
|
-
}
|
|
219
|
-
return re(e, t);
|
|
220
|
-
}
|
|
221
|
-
//#endregion
|
|
222
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/useBaseUiId.js
|
|
223
|
-
function R(e) {
|
|
224
|
-
return L(e, "base-ui");
|
|
155
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/formatErrorMessage.js
|
|
156
|
+
function ne(e, t) {
|
|
157
|
+
return function(n, ...r) {
|
|
158
|
+
let i = new URL(e);
|
|
159
|
+
return i.searchParams.set("code", n.toString()), r.forEach((e) => i.searchParams.append("args[]", e)), `${t} error #${n}; visit ${i} for the full message.`;
|
|
160
|
+
};
|
|
225
161
|
}
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
setLabelId: f,
|
|
233
|
-
messageIds: [],
|
|
234
|
-
setMessageIds: f,
|
|
235
|
-
getDescriptionProps: (e) => e
|
|
236
|
-
});
|
|
237
|
-
process.env.NODE_ENV !== "production" && (z.displayName = "LabelableContext");
|
|
238
|
-
function ie() {
|
|
239
|
-
return e.useContext(z);
|
|
162
|
+
var N = ne("https://base-ui.com/production-error", "Base UI"), re = /*#__PURE__*/ e.createContext(void 0);
|
|
163
|
+
process.env.NODE_ENV !== "production" && (re.displayName = "CompositeRootContext");
|
|
164
|
+
function ie(t = !1) {
|
|
165
|
+
let n = e.useContext(re);
|
|
166
|
+
if (n === void 0 && !t) throw Error(process.env.NODE_ENV === "production" ? N(16) : "Base UI: CompositeRootContext is missing. Composite parts must be placed within <Composite.Root>.");
|
|
167
|
+
return n;
|
|
240
168
|
}
|
|
241
|
-
var B = typeof document < "u" ? e.useLayoutEffect : () => {};
|
|
242
169
|
//#endregion
|
|
243
|
-
//#region ../../node_modules/.bun/@
|
|
244
|
-
function ae() {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
170
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/useFocusableWhenDisabled.js
|
|
171
|
+
function ae(t) {
|
|
172
|
+
let { focusableWhenDisabled: n, disabled: r, composite: i = !1, tabIndex: a = 0, isNativeButton: o } = t, s = i && n !== !1, c = i && n === !1;
|
|
173
|
+
return { props: e.useMemo(() => {
|
|
174
|
+
let e = { onKeyDown(e) {
|
|
175
|
+
r && n && e.key !== "Tab" && e.preventDefault();
|
|
176
|
+
} };
|
|
177
|
+
return i || (e.tabIndex = a, !o && r && (e.tabIndex = n ? a : -1)), (o && (n || s) || !o && r) && (e["aria-disabled"] = r), o && (!n || c) && (e.disabled = r), e;
|
|
178
|
+
}, [
|
|
179
|
+
i,
|
|
180
|
+
r,
|
|
181
|
+
n,
|
|
182
|
+
s,
|
|
183
|
+
c,
|
|
184
|
+
o,
|
|
185
|
+
a
|
|
186
|
+
]) };
|
|
253
187
|
}
|
|
254
188
|
//#endregion
|
|
255
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/
|
|
189
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/use-button/useButton.js
|
|
256
190
|
function oe(t = {}) {
|
|
257
|
-
let {
|
|
258
|
-
|
|
191
|
+
let { disabled: n = !1, focusableWhenDisabled: r, tabIndex: i = 0, native: a = !0, composite: o } = t, s = e.useRef(null), c = ie(!0), l = o ?? c !== void 0, { props: u } = ae({
|
|
192
|
+
focusableWhenDisabled: r,
|
|
193
|
+
disabled: n,
|
|
194
|
+
composite: l,
|
|
195
|
+
tabIndex: i,
|
|
196
|
+
isNativeButton: a
|
|
259
197
|
});
|
|
260
|
-
|
|
261
|
-
if (
|
|
262
|
-
let e;
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
else {
|
|
269
|
-
h();
|
|
270
|
-
return;
|
|
271
|
-
}
|
|
272
|
-
if (e === void 0) {
|
|
273
|
-
h();
|
|
274
|
-
return;
|
|
275
|
-
}
|
|
276
|
-
p.current = !0, c(d.current, e);
|
|
198
|
+
process.env.NODE_ENV !== "production" && e.useEffect(() => {
|
|
199
|
+
if (!s.current) return;
|
|
200
|
+
let e = P(s.current);
|
|
201
|
+
a ? e || g(`A component that acts as a button expected a native <button> because the \`nativeButton\` prop is true. Rendering a non-<button> removes native button semantics, which can impact forms and accessibility. Use a real <button> in the \`render\` prop, or set \`nativeButton\` to \`false\`.${_.captureOwnerStack?.() || ""}`) : e && g(`A component that acts as a button expected a non-<button> because the \`nativeButton\` prop is false. Rendering a <button> keeps native behavior while Base UI applies non-native attributes and handlers, which can add unintended extra attributes (such as \`role\` or \`aria-disabled\`). Use a non-<button> in the \`render\` prop, or set \`nativeButton\` to \`true\`.${_.captureOwnerStack?.() || ""}`);
|
|
202
|
+
}, [a]);
|
|
203
|
+
let d = e.useCallback(() => {
|
|
204
|
+
let e = s.current;
|
|
205
|
+
P(e) && l && n && u.disabled === void 0 && e.disabled && (e.disabled = !1);
|
|
277
206
|
}, [
|
|
278
207
|
n,
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
208
|
+
u.disabled,
|
|
209
|
+
l
|
|
210
|
+
]);
|
|
211
|
+
return v(d, [d]), {
|
|
212
|
+
getButtonProps: e.useCallback((e = {}) => {
|
|
213
|
+
let { onClick: t, onMouseDown: r, onKeyUp: i, onKeyDown: o, onPointerDown: s, ...c } = e;
|
|
214
|
+
return x({
|
|
215
|
+
type: a ? "button" : void 0,
|
|
216
|
+
onClick(e) {
|
|
217
|
+
if (n) {
|
|
218
|
+
e.preventDefault();
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
221
|
+
t?.(e);
|
|
222
|
+
},
|
|
223
|
+
onMouseDown(e) {
|
|
224
|
+
n || r?.(e);
|
|
225
|
+
},
|
|
226
|
+
onKeyDown(e) {
|
|
227
|
+
if (n || (A(e), o?.(e), e.baseUIHandlerPrevented)) return;
|
|
228
|
+
let r = e.target === e.currentTarget, i = e.currentTarget, s = P(i), c = !a && F(i), u = r && (a ? s : !c), d = e.key === "Enter", f = e.key === " ", p = i.getAttribute("role"), m = p?.startsWith("menuitem") || p === "option" || p === "gridcell";
|
|
229
|
+
if (r && l && f) {
|
|
230
|
+
if (e.defaultPrevented && m) return;
|
|
231
|
+
e.preventDefault(), c || a && s ? (i.click(), e.preventBaseUIHandler()) : u && (t?.(e), e.preventBaseUIHandler());
|
|
232
|
+
return;
|
|
233
|
+
}
|
|
234
|
+
u && (!a && (f || d) && e.preventDefault(), !a && d && t?.(e));
|
|
235
|
+
},
|
|
236
|
+
onKeyUp(e) {
|
|
237
|
+
if (!n) {
|
|
238
|
+
if (A(e), i?.(e), e.target === e.currentTarget && a && l && P(e.currentTarget) && e.key === " ") {
|
|
239
|
+
e.preventDefault();
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
242
|
+
e.baseUIHandlerPrevented || e.target === e.currentTarget && !a && !l && e.key === " " && t?.(e);
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
onPointerDown(e) {
|
|
246
|
+
if (n) {
|
|
247
|
+
e.preventDefault();
|
|
248
|
+
return;
|
|
249
|
+
}
|
|
250
|
+
s?.(e);
|
|
251
|
+
}
|
|
252
|
+
}, a ? void 0 : { role: "button" }, u, c);
|
|
253
|
+
}, [
|
|
254
|
+
n,
|
|
255
|
+
u,
|
|
256
|
+
l,
|
|
257
|
+
a
|
|
258
|
+
]),
|
|
259
|
+
buttonRef: f((e) => {
|
|
260
|
+
s.current = e, d();
|
|
261
|
+
})
|
|
262
|
+
};
|
|
287
263
|
}
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
function U(e) {
|
|
291
|
-
return e?.ownerDocument || document;
|
|
264
|
+
function P(e) {
|
|
265
|
+
return s(e) && e.tagName === "BUTTON";
|
|
292
266
|
}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
function se(e) {
|
|
296
|
-
let t = e.activeElement;
|
|
297
|
-
for (; t?.shadowRoot?.activeElement != null;) t = t.shadowRoot.activeElement;
|
|
298
|
-
return t;
|
|
267
|
+
function F(e) {
|
|
268
|
+
return !!(e?.tagName === "A" && e?.href);
|
|
299
269
|
}
|
|
300
270
|
//#endregion
|
|
301
271
|
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useMergedRefs.js
|
|
302
|
-
function
|
|
303
|
-
let
|
|
304
|
-
return
|
|
272
|
+
function I(e, t, n, r) {
|
|
273
|
+
let i = l(L).current;
|
|
274
|
+
return ce(i, e, t, n, r) && z(i, [
|
|
305
275
|
e,
|
|
306
276
|
t,
|
|
307
277
|
n,
|
|
308
278
|
r
|
|
309
|
-
]),
|
|
279
|
+
]), i.callback;
|
|
310
280
|
}
|
|
311
|
-
function
|
|
312
|
-
let t =
|
|
313
|
-
return
|
|
281
|
+
function se(e) {
|
|
282
|
+
let t = l(L).current;
|
|
283
|
+
return R(t, e) && z(t, e), t.callback;
|
|
314
284
|
}
|
|
315
|
-
function
|
|
285
|
+
function L() {
|
|
316
286
|
return {
|
|
317
287
|
callback: null,
|
|
318
288
|
cleanup: null,
|
|
319
289
|
refs: []
|
|
320
290
|
};
|
|
321
291
|
}
|
|
322
|
-
function
|
|
292
|
+
function ce(e, t, n, r, i) {
|
|
323
293
|
return e.refs[0] !== t || e.refs[1] !== n || e.refs[2] !== r || e.refs[3] !== i;
|
|
324
294
|
}
|
|
325
|
-
function
|
|
295
|
+
function R(e, t) {
|
|
326
296
|
return e.refs.length !== t.length || e.refs.some((e, n) => e !== t[n]);
|
|
327
297
|
}
|
|
328
|
-
function
|
|
298
|
+
function z(e, t) {
|
|
329
299
|
if (e.refs = t, t.every((e) => e == null)) {
|
|
330
300
|
e.callback = null;
|
|
331
301
|
return;
|
|
@@ -362,30 +332,35 @@ function pe(e, t) {
|
|
|
362
332
|
}
|
|
363
333
|
//#endregion
|
|
364
334
|
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/reactVersion.js
|
|
365
|
-
var
|
|
366
|
-
function
|
|
367
|
-
return
|
|
335
|
+
var le = parseInt(e.version, 10);
|
|
336
|
+
function B(e) {
|
|
337
|
+
return le >= e;
|
|
368
338
|
}
|
|
369
339
|
//#endregion
|
|
370
340
|
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/getReactElementRef.js
|
|
371
|
-
function
|
|
341
|
+
function ue(t) {
|
|
372
342
|
if (!/*#__PURE__*/ e.isValidElement(t)) return null;
|
|
373
343
|
let n = t, r = n.props;
|
|
374
|
-
return (
|
|
344
|
+
return (B(19) ? r?.ref : n.ref) ?? null;
|
|
375
345
|
}
|
|
376
346
|
//#endregion
|
|
377
347
|
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/warn.js
|
|
378
|
-
var
|
|
379
|
-
process.env.NODE_ENV !== "production" && (
|
|
380
|
-
function
|
|
348
|
+
var de;
|
|
349
|
+
process.env.NODE_ENV !== "production" && (de = /* @__PURE__ */ new Set());
|
|
350
|
+
function fe(...e) {
|
|
381
351
|
if (process.env.NODE_ENV !== "production") {
|
|
382
352
|
let t = e.join(" ");
|
|
383
|
-
|
|
353
|
+
de.has(t) || (de.add(t), console.warn(`Base UI: ${t}`));
|
|
384
354
|
}
|
|
385
355
|
}
|
|
386
356
|
//#endregion
|
|
357
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/empty.js
|
|
358
|
+
function V() {}
|
|
359
|
+
Object.freeze([]);
|
|
360
|
+
var H = Object.freeze({});
|
|
361
|
+
//#endregion
|
|
387
362
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/getStateAttributesProps.js
|
|
388
|
-
function
|
|
363
|
+
function pe(e, t) {
|
|
389
364
|
let n = {};
|
|
390
365
|
for (let r in e) {
|
|
391
366
|
let i = e[r];
|
|
@@ -400,53 +375,53 @@ function ye(e, t) {
|
|
|
400
375
|
}
|
|
401
376
|
//#endregion
|
|
402
377
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/resolveClassName.js
|
|
403
|
-
function
|
|
378
|
+
function me(e, t) {
|
|
404
379
|
return typeof e == "function" ? e(t) : e;
|
|
405
380
|
}
|
|
406
381
|
//#endregion
|
|
407
382
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/resolveStyle.js
|
|
408
|
-
function
|
|
383
|
+
function he(e, t) {
|
|
409
384
|
return typeof e == "function" ? e(t) : e;
|
|
410
385
|
}
|
|
411
386
|
//#endregion
|
|
412
387
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/useRenderElement.js
|
|
413
|
-
function
|
|
414
|
-
let r = t.render, i =
|
|
415
|
-
return n.enabled === !1 ? null :
|
|
416
|
-
}
|
|
417
|
-
function
|
|
418
|
-
let { className: n, style: r, render: i } = e, { state: a =
|
|
419
|
-
return typeof document < "u" && (l ?
|
|
420
|
-
|
|
421
|
-
|
|
388
|
+
function ge(e, t, n = {}) {
|
|
389
|
+
let r = t.render, i = _e(t, n);
|
|
390
|
+
return n.enabled === !1 ? null : Se(e, r, i, n.state ?? H);
|
|
391
|
+
}
|
|
392
|
+
function _e(e, t = {}) {
|
|
393
|
+
let { className: n, style: r, render: i } = e, { state: a = H, ref: o, props: s, stateAttributesMapping: c, enabled: l = !0 } = t, u = l ? me(n, a) : void 0, d = l ? he(r, a) : void 0, f = l ? pe(a, c) : H, p = l && s ? ve(s) : void 0, m = l ? y(f, p) ?? {} : H;
|
|
394
|
+
return typeof document < "u" && (l ? m.ref = Array.isArray(o) ? se([
|
|
395
|
+
m.ref,
|
|
396
|
+
ue(i),
|
|
422
397
|
...o
|
|
423
|
-
]) :
|
|
398
|
+
]) : I(m.ref, ue(i), o) : I(null, null)), l ? (u !== void 0 && (m.className = j(m.className, u)), d !== void 0 && (m.style = y(m.style, d)), m) : H;
|
|
424
399
|
}
|
|
425
|
-
function
|
|
426
|
-
return Array.isArray(e) ?
|
|
400
|
+
function ve(e) {
|
|
401
|
+
return Array.isArray(e) ? S(e) : x(void 0, e);
|
|
427
402
|
}
|
|
428
|
-
var
|
|
429
|
-
function
|
|
403
|
+
var ye = Symbol.for("react.lazy"), be = /^[A-Z][A-Za-z0-9$]*$/, xe = /[a-z]/;
|
|
404
|
+
function Se(t, n, r, i) {
|
|
430
405
|
if (n) {
|
|
431
|
-
if (typeof n == "function") return process.env.NODE_ENV !== "production" &&
|
|
432
|
-
let t =
|
|
406
|
+
if (typeof n == "function") return process.env.NODE_ENV !== "production" && Ce(n), n(r, i);
|
|
407
|
+
let t = x(r, n.props);
|
|
433
408
|
t.ref = r.ref;
|
|
434
409
|
let a = n;
|
|
435
|
-
if (a?.$$typeof ===
|
|
410
|
+
if (a?.$$typeof === ye && (a = e.Children.toArray(n)[0]), process.env.NODE_ENV !== "production" && !/*#__PURE__*/ e.isValidElement(a)) throw Error([
|
|
436
411
|
"Base UI: The `render` prop was provided an invalid React element as `React.isValidElement(render)` is `false`.",
|
|
437
412
|
"A valid React element must be provided to the `render` prop because it is cloned with props to replace the default element.",
|
|
438
413
|
"https://base-ui.com/r/invalid-render-prop"
|
|
439
414
|
].join("\n"));
|
|
440
415
|
return /*#__PURE__*/ e.cloneElement(a, t);
|
|
441
416
|
}
|
|
442
|
-
if (t && typeof t == "string") return
|
|
443
|
-
throw Error(process.env.NODE_ENV === "production" ?
|
|
417
|
+
if (t && typeof t == "string") return we(t, r);
|
|
418
|
+
throw Error(process.env.NODE_ENV === "production" ? N(8) : "Base UI: Render element or function are not defined.");
|
|
444
419
|
}
|
|
445
|
-
function
|
|
420
|
+
function Ce(e) {
|
|
446
421
|
let t = e.name;
|
|
447
|
-
t.length !== 0 &&
|
|
422
|
+
t.length !== 0 && be.test(t) && xe.test(t) && fe(`The \`render\` prop received a function named \`${t}\` that starts with an uppercase letter.`, "This usually means a React component was passed directly as `render={Component}`.", "Base UI calls `render` as a plain function, which can break the Rules of Hooks during reconciliation.", "If this is an intentional render callback, rename it to start with a lowercase letter.", "Use `render={<Component />}` or `render={(props) => <Component {...props} />}` instead.", "https://base-ui.com/r/invalid-render-prop");
|
|
448
423
|
}
|
|
449
|
-
function
|
|
424
|
+
function we(n, r) {
|
|
450
425
|
return n === "button" ? /*#__PURE__*/ t("button", {
|
|
451
426
|
type: "button",
|
|
452
427
|
...r,
|
|
@@ -458,293 +433,161 @@ function Ae(n, r) {
|
|
|
458
433
|
}) : /*#__PURE__*/ e.createElement(n, r);
|
|
459
434
|
}
|
|
460
435
|
//#endregion
|
|
461
|
-
//#region ../../node_modules/.bun/@base-ui+
|
|
462
|
-
var
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
je.has(t) || (je.add(t), console.error(`Base UI: ${t}`));
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
//#endregion
|
|
471
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useControlled.js
|
|
472
|
-
function Ne({ controlled: t, default: n, name: r, state: i = "value" }) {
|
|
473
|
-
let { current: a } = e.useRef(t !== void 0), [o, s] = e.useState(n), c = a ? t : o;
|
|
474
|
-
if (process.env.NODE_ENV !== "production") {
|
|
475
|
-
e.useEffect(() => {
|
|
476
|
-
a !== (t !== void 0) && Me([
|
|
477
|
-
`A component is changing the ${a ? "" : "un"}controlled ${i} state of ${r} to be ${a ? "un" : ""}controlled.`,
|
|
478
|
-
"Elements should not switch from uncontrolled to controlled (or vice versa).",
|
|
479
|
-
`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,
|
|
480
|
-
"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.",
|
|
481
|
-
"More info: https://fb.me/react-controlled-components"
|
|
482
|
-
].join("\n"));
|
|
483
|
-
}, [
|
|
484
|
-
i,
|
|
485
|
-
r,
|
|
486
|
-
t
|
|
487
|
-
]);
|
|
488
|
-
let { current: o } = e.useRef(n);
|
|
489
|
-
e.useEffect(() => {
|
|
490
|
-
!a && Pe(o) !== Pe(n) && Me([`A component is changing the default ${i} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join("\n"));
|
|
491
|
-
}, [n]);
|
|
492
|
-
}
|
|
493
|
-
return [c, e.useCallback((e) => {
|
|
494
|
-
a || s(e);
|
|
495
|
-
}, [])];
|
|
496
|
-
}
|
|
497
|
-
function Pe(e) {
|
|
498
|
-
let t = 0, n = /* @__PURE__ */ new WeakMap();
|
|
499
|
-
try {
|
|
500
|
-
return JSON.stringify(e, function(e, r) {
|
|
501
|
-
if (!(e === "_owner" && this != null && typeof this == "object" && "$$typeof" in this)) {
|
|
502
|
-
if (typeof r == "bigint") return `__bigint__:${r}`;
|
|
503
|
-
if (typeof r == "object" && r) {
|
|
504
|
-
let e = n.get(r);
|
|
505
|
-
if (e !== void 0) return `__object__:${e}`;
|
|
506
|
-
n.set(r, t), t += 1;
|
|
507
|
-
}
|
|
508
|
-
return r;
|
|
509
|
-
}
|
|
510
|
-
}) ?? `__top__:${typeof e}`;
|
|
511
|
-
} catch {
|
|
512
|
-
return "__unserializable__";
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
//#endregion
|
|
516
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/field-register-control/useRegisterFieldControl.js
|
|
517
|
-
function Fe(t, n) {
|
|
518
|
-
let { enabled: r = !0, getValue: i, id: a, value: o } = n, { registerFieldControl: s } = y(), c = e.useRef(null);
|
|
519
|
-
c.current ||= Symbol(), B(() => {
|
|
520
|
-
let e = c.current;
|
|
521
|
-
if (!(!e || !r)) return s(e, {
|
|
522
|
-
controlRef: t,
|
|
523
|
-
getValue: i,
|
|
524
|
-
id: a,
|
|
525
|
-
value: o
|
|
526
|
-
}), () => {
|
|
527
|
-
s(e, void 0);
|
|
528
|
-
};
|
|
529
|
-
}, [
|
|
530
|
-
t,
|
|
531
|
-
r,
|
|
532
|
-
i,
|
|
533
|
-
a,
|
|
534
|
-
s,
|
|
535
|
-
o
|
|
536
|
-
]);
|
|
537
|
-
}
|
|
538
|
-
//#endregion
|
|
539
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/reason-parts.js
|
|
540
|
-
var Ie = "none";
|
|
541
|
-
//#endregion
|
|
542
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/createBaseUIEventDetails.js
|
|
543
|
-
function Le(e, t, n, r) {
|
|
544
|
-
let i = !1, a = !1, o = r ?? p;
|
|
545
|
-
return {
|
|
546
|
-
reason: e,
|
|
547
|
-
event: t ?? new Event("base-ui"),
|
|
548
|
-
cancel() {
|
|
549
|
-
i = !0;
|
|
550
|
-
},
|
|
551
|
-
allowPropagation() {
|
|
552
|
-
a = !0;
|
|
553
|
-
},
|
|
554
|
-
get isCanceled() {
|
|
555
|
-
return i;
|
|
556
|
-
},
|
|
557
|
-
get isPropagationAllowed() {
|
|
558
|
-
return a;
|
|
559
|
-
},
|
|
560
|
-
trigger: n,
|
|
561
|
-
...o
|
|
562
|
-
};
|
|
563
|
-
}
|
|
564
|
-
//#endregion
|
|
565
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/field/control/FieldControl.js
|
|
566
|
-
var Re = /*#__PURE__*/ e.forwardRef(function(t, n) {
|
|
567
|
-
let { render: r, className: i, id: a, name: o, value: c, disabled: l = !1, onValueChange: u, defaultValue: d, autoFocus: f = !1, style: p, ...m } = t, { state: h, name: g, disabled: _, setTouched: v, setDirty: b, validityData: x, setFocused: S, setFilled: C, validationMode: w, validation: T } = y(), E = _ || l, D = g ?? o, O = {
|
|
568
|
-
...h,
|
|
569
|
-
disabled: E
|
|
570
|
-
}, { labelId: k } = ie(), A = oe({ id: a });
|
|
571
|
-
B(() => {
|
|
572
|
-
let e = c != null;
|
|
573
|
-
T.inputRef.current?.value || e && c !== "" ? C(!0) : e && c === "" && C(!1);
|
|
574
|
-
}, [
|
|
575
|
-
T.inputRef,
|
|
576
|
-
C,
|
|
577
|
-
c
|
|
578
|
-
]);
|
|
579
|
-
let j = e.useRef(null);
|
|
580
|
-
B(() => {
|
|
581
|
-
f && j.current === se(U(j.current)) && S(!0);
|
|
582
|
-
}, [f, S]);
|
|
583
|
-
let [M] = Ne({
|
|
584
|
-
controlled: c,
|
|
585
|
-
default: d,
|
|
586
|
-
name: "FieldControl",
|
|
587
|
-
state: "value"
|
|
588
|
-
}), N = c !== void 0, P = N ? M : void 0, F = s(() => T.inputRef.current?.value);
|
|
589
|
-
return Fe(T.inputRef, {
|
|
590
|
-
id: A,
|
|
591
|
-
value: P,
|
|
592
|
-
getValue: F
|
|
593
|
-
}), Se("input", t, {
|
|
594
|
-
ref: [n, j],
|
|
595
|
-
state: O,
|
|
596
|
-
props: [
|
|
597
|
-
{
|
|
598
|
-
id: A,
|
|
599
|
-
disabled: E,
|
|
600
|
-
name: D,
|
|
601
|
-
ref: T.inputRef,
|
|
602
|
-
"aria-labelledby": k,
|
|
603
|
-
autoFocus: f,
|
|
604
|
-
...N ? { value: P } : { defaultValue: d },
|
|
605
|
-
onChange(e) {
|
|
606
|
-
let t = e.currentTarget.value;
|
|
607
|
-
u?.(t, Le(Ie, e.nativeEvent)), b(t !== x.initialValue), C(t !== "");
|
|
608
|
-
},
|
|
609
|
-
onFocus() {
|
|
610
|
-
S(!0);
|
|
611
|
-
},
|
|
612
|
-
onBlur(e) {
|
|
613
|
-
v(!0), S(!1), w === "onBlur" && T.commit(e.currentTarget.value);
|
|
614
|
-
},
|
|
615
|
-
onKeyDown(e) {
|
|
616
|
-
e.currentTarget.tagName === "INPUT" && e.key === "Enter" && (v(!0), T.commit(e.currentTarget.value));
|
|
617
|
-
}
|
|
618
|
-
},
|
|
619
|
-
T.getInputValidationProps(),
|
|
620
|
-
m
|
|
621
|
-
],
|
|
622
|
-
stateAttributesMapping: ee
|
|
436
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/button/Button.js
|
|
437
|
+
var Te = /*#__PURE__*/ e.forwardRef(function(e, t) {
|
|
438
|
+
let { render: n, className: r, disabled: i = !1, focusableWhenDisabled: a = !1, nativeButton: o = !0, style: s, ...c } = e, { getButtonProps: l, buttonRef: u } = oe({
|
|
439
|
+
disabled: i,
|
|
440
|
+
focusableWhenDisabled: a,
|
|
441
|
+
native: o
|
|
623
442
|
});
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
var ze = /*#__PURE__*/ e.forwardRef(function(e, t) {
|
|
629
|
-
return /*#__PURE__*/ n(Re, {
|
|
630
|
-
ref: t,
|
|
631
|
-
...e
|
|
443
|
+
return ge("button", e, {
|
|
444
|
+
state: { disabled: i },
|
|
445
|
+
ref: [t, u],
|
|
446
|
+
props: [c, l]
|
|
632
447
|
});
|
|
633
448
|
});
|
|
634
|
-
process.env.NODE_ENV !== "production" && (
|
|
449
|
+
process.env.NODE_ENV !== "production" && (Te.displayName = "Button");
|
|
635
450
|
//#endregion
|
|
636
451
|
//#region ../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
637
|
-
function
|
|
452
|
+
function Ee(e) {
|
|
638
453
|
var t, n, r = "";
|
|
639
454
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
640
455
|
else if (typeof e == "object") {
|
|
641
456
|
if (Array.isArray(e)) {
|
|
642
457
|
var i = e.length;
|
|
643
|
-
for (t = 0; t < i; t++) e[t] && (n =
|
|
458
|
+
for (t = 0; t < i; t++) e[t] && (n = Ee(e[t])) && (r && (r += " "), r += n);
|
|
644
459
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
645
460
|
}
|
|
646
461
|
return r;
|
|
647
462
|
}
|
|
648
|
-
function
|
|
649
|
-
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t =
|
|
463
|
+
function De() {
|
|
464
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Ee(e)) && (r && (r += " "), r += t);
|
|
650
465
|
return r;
|
|
651
466
|
}
|
|
652
467
|
//#endregion
|
|
653
|
-
//#region ../../node_modules/.bun/
|
|
654
|
-
var
|
|
468
|
+
//#region ../../node_modules/.bun/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs
|
|
469
|
+
var Oe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ke = De, Ae = (e, t) => (n) => {
|
|
470
|
+
if (t?.variants == null) return ke(e, n?.class, n?.className);
|
|
471
|
+
let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
|
|
472
|
+
let t = n?.[e], a = i?.[e];
|
|
473
|
+
if (t === null) return null;
|
|
474
|
+
let o = Oe(t) || Oe(a);
|
|
475
|
+
return r[e][o];
|
|
476
|
+
}), o = n && Object.entries(n).reduce((e, t) => {
|
|
477
|
+
let [n, r] = t;
|
|
478
|
+
return r === void 0 || (e[n] = r), e;
|
|
479
|
+
}, {});
|
|
480
|
+
return ke(e, a, t?.compoundVariants?.reduce((e, t) => {
|
|
481
|
+
let { class: n, className: r, ...a } = t;
|
|
482
|
+
return Object.entries(a).every((e) => {
|
|
483
|
+
let [t, n] = e;
|
|
484
|
+
return Array.isArray(n) ? n.includes({
|
|
485
|
+
...i,
|
|
486
|
+
...o
|
|
487
|
+
}[t]) : {
|
|
488
|
+
...i,
|
|
489
|
+
...o
|
|
490
|
+
}[t] === n;
|
|
491
|
+
}) ? [
|
|
492
|
+
...e,
|
|
493
|
+
n,
|
|
494
|
+
r
|
|
495
|
+
] : e;
|
|
496
|
+
}, []), n?.class, n?.className);
|
|
497
|
+
}, je = (e, t) => {
|
|
655
498
|
let n = Array(e.length + t.length);
|
|
656
499
|
for (let t = 0; t < e.length; t++) n[t] = e[t];
|
|
657
500
|
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
|
|
658
501
|
return n;
|
|
659
|
-
},
|
|
502
|
+
}, Me = (e, t) => ({
|
|
660
503
|
classGroupId: e,
|
|
661
504
|
validator: t
|
|
662
|
-
}),
|
|
505
|
+
}), Ne = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
663
506
|
nextPart: e,
|
|
664
507
|
validators: t,
|
|
665
508
|
classGroupId: n
|
|
666
|
-
}),
|
|
667
|
-
let t =
|
|
509
|
+
}), Pe = "-", Fe = [], Ie = "arbitrary..", Le = (e) => {
|
|
510
|
+
let t = Be(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
668
511
|
return {
|
|
669
512
|
getClassGroupId: (e) => {
|
|
670
|
-
if (e.startsWith("[") && e.endsWith("]")) return
|
|
671
|
-
let n = e.split(
|
|
672
|
-
return
|
|
513
|
+
if (e.startsWith("[") && e.endsWith("]")) return ze(e);
|
|
514
|
+
let n = e.split(Pe);
|
|
515
|
+
return Re(n, +(n[0] === "" && n.length > 1), t);
|
|
673
516
|
},
|
|
674
517
|
getConflictingClassGroupIds: (e, t) => {
|
|
675
518
|
if (t) {
|
|
676
519
|
let t = r[e], i = n[e];
|
|
677
|
-
return t ? i ?
|
|
520
|
+
return t ? i ? je(i, t) : t : i || Fe;
|
|
678
521
|
}
|
|
679
|
-
return n[e] ||
|
|
522
|
+
return n[e] || Fe;
|
|
680
523
|
}
|
|
681
524
|
};
|
|
682
|
-
},
|
|
525
|
+
}, Re = (e, t, n) => {
|
|
683
526
|
if (e.length - t === 0) return n.classGroupId;
|
|
684
527
|
let r = e[t], i = n.nextPart.get(r);
|
|
685
528
|
if (i) {
|
|
686
|
-
let n =
|
|
529
|
+
let n = Re(e, t + 1, i);
|
|
687
530
|
if (n) return n;
|
|
688
531
|
}
|
|
689
532
|
let a = n.validators;
|
|
690
533
|
if (a === null) return;
|
|
691
|
-
let o = t === 0 ? e.join(
|
|
534
|
+
let o = t === 0 ? e.join(Pe) : e.slice(t).join(Pe), s = a.length;
|
|
692
535
|
for (let e = 0; e < s; e++) {
|
|
693
536
|
let t = a[e];
|
|
694
537
|
if (t.validator(o)) return t.classGroupId;
|
|
695
538
|
}
|
|
696
|
-
},
|
|
539
|
+
}, ze = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
697
540
|
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
|
|
698
|
-
return r ?
|
|
699
|
-
})(),
|
|
541
|
+
return r ? Ie + r : void 0;
|
|
542
|
+
})(), Be = (e) => {
|
|
700
543
|
let { theme: t, classGroups: n } = e;
|
|
701
|
-
return
|
|
702
|
-
},
|
|
703
|
-
let n =
|
|
544
|
+
return Ve(n, t);
|
|
545
|
+
}, Ve = (e, t) => {
|
|
546
|
+
let n = Ne();
|
|
704
547
|
for (let r in e) {
|
|
705
548
|
let i = e[r];
|
|
706
|
-
|
|
549
|
+
He(i, n, r, t);
|
|
707
550
|
}
|
|
708
551
|
return n;
|
|
709
|
-
},
|
|
552
|
+
}, He = (e, t, n, r) => {
|
|
710
553
|
let i = e.length;
|
|
711
554
|
for (let a = 0; a < i; a++) {
|
|
712
555
|
let i = e[a];
|
|
713
|
-
|
|
556
|
+
Ue(i, t, n, r);
|
|
714
557
|
}
|
|
715
|
-
},
|
|
558
|
+
}, Ue = (e, t, n, r) => {
|
|
716
559
|
if (typeof e == "string") {
|
|
717
|
-
|
|
560
|
+
We(e, t, n);
|
|
718
561
|
return;
|
|
719
562
|
}
|
|
720
563
|
if (typeof e == "function") {
|
|
721
|
-
|
|
564
|
+
Ge(e, t, n, r);
|
|
722
565
|
return;
|
|
723
566
|
}
|
|
724
|
-
|
|
725
|
-
},
|
|
726
|
-
let r = e === "" ? t :
|
|
567
|
+
Ke(e, t, n, r);
|
|
568
|
+
}, We = (e, t, n) => {
|
|
569
|
+
let r = e === "" ? t : qe(t, e);
|
|
727
570
|
r.classGroupId = n;
|
|
728
|
-
},
|
|
729
|
-
if (
|
|
730
|
-
|
|
571
|
+
}, Ge = (e, t, n, r) => {
|
|
572
|
+
if (Je(e)) {
|
|
573
|
+
He(e(r), t, n, r);
|
|
731
574
|
return;
|
|
732
575
|
}
|
|
733
|
-
t.validators === null && (t.validators = []), t.validators.push(
|
|
734
|
-
},
|
|
576
|
+
t.validators === null && (t.validators = []), t.validators.push(Me(n, e));
|
|
577
|
+
}, Ke = (e, t, n, r) => {
|
|
735
578
|
let i = Object.entries(e), a = i.length;
|
|
736
579
|
for (let e = 0; e < a; e++) {
|
|
737
580
|
let [a, o] = i[e];
|
|
738
|
-
|
|
581
|
+
He(o, qe(t, a), n, r);
|
|
739
582
|
}
|
|
740
|
-
},
|
|
741
|
-
let n = e, r = t.split(
|
|
583
|
+
}, qe = (e, t) => {
|
|
584
|
+
let n = e, r = t.split(Pe), i = r.length;
|
|
742
585
|
for (let e = 0; e < i; e++) {
|
|
743
586
|
let t = r[e], i = n.nextPart.get(t);
|
|
744
|
-
i || (i =
|
|
587
|
+
i || (i = Ne(), n.nextPart.set(t, i)), n = i;
|
|
745
588
|
}
|
|
746
589
|
return n;
|
|
747
|
-
},
|
|
590
|
+
}, Je = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ye = (e) => {
|
|
748
591
|
if (e < 1) return {
|
|
749
592
|
get: () => void 0,
|
|
750
593
|
set: () => {}
|
|
@@ -762,19 +605,19 @@ var He = (e, t) => {
|
|
|
762
605
|
e in n ? n[e] = t : i(e, t);
|
|
763
606
|
}
|
|
764
607
|
};
|
|
765
|
-
},
|
|
608
|
+
}, Xe = "!", Ze = ":", Qe = [], $e = (e, t, n, r, i) => ({
|
|
766
609
|
modifiers: e,
|
|
767
610
|
hasImportantModifier: t,
|
|
768
611
|
baseClassName: n,
|
|
769
612
|
maybePostfixModifierPosition: r,
|
|
770
613
|
isExternal: i
|
|
771
|
-
}),
|
|
614
|
+
}), et = (e) => {
|
|
772
615
|
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
|
|
773
616
|
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
|
|
774
617
|
for (let s = 0; s < o; s++) {
|
|
775
618
|
let o = e[s];
|
|
776
619
|
if (n === 0 && r === 0) {
|
|
777
|
-
if (o ===
|
|
620
|
+
if (o === Ze) {
|
|
778
621
|
t.push(e.slice(i, s)), i = s + 1;
|
|
779
622
|
continue;
|
|
780
623
|
}
|
|
@@ -786,13 +629,13 @@ var He = (e, t) => {
|
|
|
786
629
|
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
|
|
787
630
|
}
|
|
788
631
|
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
|
|
789
|
-
s.endsWith(
|
|
632
|
+
s.endsWith(Xe) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Xe) && (c = s.slice(1), l = !0);
|
|
790
633
|
let u = a && a > i ? a - i : void 0;
|
|
791
|
-
return
|
|
634
|
+
return $e(t, l, c, u);
|
|
792
635
|
};
|
|
793
636
|
if (t) {
|
|
794
|
-
let e = t +
|
|
795
|
-
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) :
|
|
637
|
+
let e = t + Ze, n = r;
|
|
638
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : $e(Qe, !1, t, void 0, !0);
|
|
796
639
|
}
|
|
797
640
|
if (n) {
|
|
798
641
|
let e = r;
|
|
@@ -802,7 +645,7 @@ var He = (e, t) => {
|
|
|
802
645
|
});
|
|
803
646
|
}
|
|
804
647
|
return r;
|
|
805
|
-
},
|
|
648
|
+
}, tt = (e) => {
|
|
806
649
|
let t = /* @__PURE__ */ new Map();
|
|
807
650
|
return e.orderSensitiveModifiers.forEach((e, n) => {
|
|
808
651
|
t.set(e, 1e6 + n);
|
|
@@ -814,18 +657,18 @@ var He = (e, t) => {
|
|
|
814
657
|
}
|
|
815
658
|
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
816
659
|
};
|
|
817
|
-
},
|
|
818
|
-
cache:
|
|
819
|
-
parseClassName:
|
|
820
|
-
sortModifiers:
|
|
821
|
-
postfixLookupClassGroupIds:
|
|
822
|
-
...
|
|
823
|
-
}),
|
|
660
|
+
}, nt = (e) => ({
|
|
661
|
+
cache: Ye(e.cacheSize),
|
|
662
|
+
parseClassName: et(e),
|
|
663
|
+
sortModifiers: tt(e),
|
|
664
|
+
postfixLookupClassGroupIds: rt(e),
|
|
665
|
+
...Le(e)
|
|
666
|
+
}), rt = (e) => {
|
|
824
667
|
let t = Object.create(null), n = e.postfixLookupClassGroups;
|
|
825
668
|
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
|
|
826
669
|
return t;
|
|
827
|
-
},
|
|
828
|
-
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(
|
|
670
|
+
}, it = /\s+/, at = (e, t) => {
|
|
671
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(it), l = "";
|
|
829
672
|
for (let e = c.length - 1; e >= 0; --e) {
|
|
830
673
|
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
|
|
831
674
|
if (u) {
|
|
@@ -849,45 +692,45 @@ var He = (e, t) => {
|
|
|
849
692
|
}
|
|
850
693
|
h = !1;
|
|
851
694
|
}
|
|
852
|
-
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"),
|
|
853
|
-
if (s.indexOf(
|
|
854
|
-
s.push(
|
|
855
|
-
let
|
|
856
|
-
for (let e = 0; e <
|
|
857
|
-
let t =
|
|
858
|
-
s.push(
|
|
695
|
+
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Xe : _, y = v + g;
|
|
696
|
+
if (s.indexOf(y) > -1) continue;
|
|
697
|
+
s.push(y);
|
|
698
|
+
let b = i(g, h);
|
|
699
|
+
for (let e = 0; e < b.length; ++e) {
|
|
700
|
+
let t = b[e];
|
|
701
|
+
s.push(v + t);
|
|
859
702
|
}
|
|
860
703
|
l = t + (l.length > 0 ? " " + l : l);
|
|
861
704
|
}
|
|
862
705
|
return l;
|
|
863
|
-
},
|
|
706
|
+
}, ot = (...e) => {
|
|
864
707
|
let t = 0, n, r, i = "";
|
|
865
|
-
for (; t < e.length;) (n = e[t++]) && (r =
|
|
708
|
+
for (; t < e.length;) (n = e[t++]) && (r = st(n)) && (i && (i += " "), i += r);
|
|
866
709
|
return i;
|
|
867
|
-
},
|
|
710
|
+
}, st = (e) => {
|
|
868
711
|
if (typeof e == "string") return e;
|
|
869
712
|
let t, n = "";
|
|
870
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
713
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = st(e[r])) && (n && (n += " "), n += t);
|
|
871
714
|
return n;
|
|
872
|
-
},
|
|
873
|
-
let n, r, i, a, o = (o) => (n =
|
|
715
|
+
}, ct = (e, ...t) => {
|
|
716
|
+
let n, r, i, a, o = (o) => (n = nt(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
874
717
|
let t = r(e);
|
|
875
718
|
if (t) return t;
|
|
876
|
-
let a =
|
|
719
|
+
let a = at(e, n);
|
|
877
720
|
return i(e, a), a;
|
|
878
721
|
};
|
|
879
|
-
return a = o, (...e) => a(
|
|
880
|
-
},
|
|
881
|
-
let t = (t) => t[e] ||
|
|
722
|
+
return a = o, (...e) => a(ot(...e));
|
|
723
|
+
}, lt = [], U = (e) => {
|
|
724
|
+
let t = (t) => t[e] || lt;
|
|
882
725
|
return t.isThemeGetter = !0, t;
|
|
883
|
-
},
|
|
884
|
-
let r =
|
|
726
|
+
}, ut = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, dt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ft = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, pt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, mt = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ht = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, gt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, _t = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, W = (e) => ft.test(e), G = (e) => !!e && !Number.isNaN(Number(e)), K = (e) => !!e && Number.isInteger(Number(e)), vt = (e) => e.endsWith("%") && G(e.slice(0, -1)), q = (e) => pt.test(e), yt = () => !0, bt = (e) => mt.test(e) && !ht.test(e), xt = () => !1, St = (e) => gt.test(e), Ct = (e) => _t.test(e), wt = (e) => !J(e) && !X(e), Tt = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Et = (e) => Z(e, Ht, xt), J = (e) => ut.test(e), Y = (e) => Z(e, Ut, bt), Dt = (e) => Z(e, Wt, G), Ot = (e) => Z(e, Kt, yt), kt = (e) => Z(e, Gt, xt), At = (e) => Z(e, Bt, xt), jt = (e) => Z(e, Vt, Ct), Mt = (e) => Z(e, qt, St), X = (e) => dt.test(e), Nt = (e) => Q(e, Ut), Pt = (e) => Q(e, Gt), Ft = (e) => Q(e, Bt), It = (e) => Q(e, Ht), Lt = (e) => Q(e, Vt), Rt = (e) => Q(e, qt, !0), zt = (e) => Q(e, Kt, !0), Z = (e, t, n) => {
|
|
727
|
+
let r = ut.exec(e);
|
|
885
728
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
886
|
-
},
|
|
887
|
-
let r =
|
|
729
|
+
}, Q = (e, t, n = !1) => {
|
|
730
|
+
let r = dt.exec(e);
|
|
888
731
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
889
|
-
},
|
|
890
|
-
let e =
|
|
732
|
+
}, Bt = (e) => e === "position" || e === "percentage", Vt = (e) => e === "image" || e === "url", Ht = (e) => e === "length" || e === "size" || e === "bg-size", Ut = (e) => e === "length", Wt = (e) => e === "number", Gt = (e) => e === "family-name", Kt = (e) => e === "number" || e === "weight", qt = (e) => e === "shadow", Jt = /*#__PURE__*/ ct(() => {
|
|
733
|
+
let e = U("color"), t = U("font"), n = U("text"), r = U("font-weight"), i = U("tracking"), a = U("leading"), o = U("breakpoint"), s = U("container"), c = U("spacing"), l = U("radius"), u = U("shadow"), d = U("inset-shadow"), f = U("text-shadow"), p = U("drop-shadow"), m = U("blur"), h = U("perspective"), g = U("aspect"), _ = U("ease"), v = U("animate"), y = () => [
|
|
891
734
|
"auto",
|
|
892
735
|
"avoid",
|
|
893
736
|
"all",
|
|
@@ -896,7 +739,7 @@ var He = (e, t) => {
|
|
|
896
739
|
"left",
|
|
897
740
|
"right",
|
|
898
741
|
"column"
|
|
899
|
-
],
|
|
742
|
+
], b = () => [
|
|
900
743
|
"center",
|
|
901
744
|
"top",
|
|
902
745
|
"bottom",
|
|
@@ -910,59 +753,59 @@ var He = (e, t) => {
|
|
|
910
753
|
"right-bottom",
|
|
911
754
|
"bottom-left",
|
|
912
755
|
"left-bottom"
|
|
913
|
-
], b = () => [
|
|
914
|
-
...y(),
|
|
915
|
-
Z,
|
|
916
|
-
Y
|
|
917
756
|
], x = () => [
|
|
757
|
+
...b(),
|
|
758
|
+
X,
|
|
759
|
+
J
|
|
760
|
+
], S = () => [
|
|
918
761
|
"auto",
|
|
919
762
|
"hidden",
|
|
920
763
|
"clip",
|
|
921
764
|
"visible",
|
|
922
765
|
"scroll"
|
|
923
|
-
],
|
|
766
|
+
], C = () => [
|
|
924
767
|
"auto",
|
|
925
768
|
"contain",
|
|
926
769
|
"none"
|
|
927
|
-
], C = () => [
|
|
928
|
-
Z,
|
|
929
|
-
Y,
|
|
930
|
-
c
|
|
931
770
|
], w = () => [
|
|
932
|
-
|
|
771
|
+
X,
|
|
772
|
+
J,
|
|
773
|
+
c
|
|
774
|
+
], T = () => [
|
|
775
|
+
W,
|
|
933
776
|
"full",
|
|
934
777
|
"auto",
|
|
935
|
-
...
|
|
936
|
-
],
|
|
937
|
-
|
|
778
|
+
...w()
|
|
779
|
+
], ee = () => [
|
|
780
|
+
K,
|
|
938
781
|
"none",
|
|
939
782
|
"subgrid",
|
|
940
|
-
|
|
941
|
-
|
|
783
|
+
X,
|
|
784
|
+
J
|
|
942
785
|
], E = () => [
|
|
943
786
|
"auto",
|
|
944
787
|
{ span: [
|
|
945
788
|
"full",
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
789
|
+
K,
|
|
790
|
+
X,
|
|
791
|
+
J
|
|
949
792
|
] },
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
793
|
+
K,
|
|
794
|
+
X,
|
|
795
|
+
J
|
|
953
796
|
], D = () => [
|
|
954
|
-
|
|
797
|
+
K,
|
|
955
798
|
"auto",
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
],
|
|
799
|
+
X,
|
|
800
|
+
J
|
|
801
|
+
], te = () => [
|
|
959
802
|
"auto",
|
|
960
803
|
"min",
|
|
961
804
|
"max",
|
|
962
805
|
"fr",
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
],
|
|
806
|
+
X,
|
|
807
|
+
J
|
|
808
|
+
], O = () => [
|
|
966
809
|
"start",
|
|
967
810
|
"end",
|
|
968
811
|
"center",
|
|
@@ -973,15 +816,15 @@ var He = (e, t) => {
|
|
|
973
816
|
"baseline",
|
|
974
817
|
"center-safe",
|
|
975
818
|
"end-safe"
|
|
976
|
-
],
|
|
819
|
+
], k = () => [
|
|
977
820
|
"start",
|
|
978
821
|
"end",
|
|
979
822
|
"center",
|
|
980
823
|
"stretch",
|
|
981
824
|
"center-safe",
|
|
982
825
|
"end-safe"
|
|
983
|
-
],
|
|
984
|
-
|
|
826
|
+
], A = () => ["auto", ...w()], j = () => [
|
|
827
|
+
W,
|
|
985
828
|
"auto",
|
|
986
829
|
"full",
|
|
987
830
|
"dvw",
|
|
@@ -993,9 +836,9 @@ var He = (e, t) => {
|
|
|
993
836
|
"min",
|
|
994
837
|
"max",
|
|
995
838
|
"fit",
|
|
996
|
-
...
|
|
997
|
-
],
|
|
998
|
-
|
|
839
|
+
...w()
|
|
840
|
+
], M = () => [
|
|
841
|
+
W,
|
|
999
842
|
"screen",
|
|
1000
843
|
"full",
|
|
1001
844
|
"dvw",
|
|
@@ -1004,9 +847,9 @@ var He = (e, t) => {
|
|
|
1004
847
|
"min",
|
|
1005
848
|
"max",
|
|
1006
849
|
"fit",
|
|
1007
|
-
...
|
|
1008
|
-
],
|
|
1009
|
-
|
|
850
|
+
...w()
|
|
851
|
+
], ne = () => [
|
|
852
|
+
W,
|
|
1010
853
|
"screen",
|
|
1011
854
|
"full",
|
|
1012
855
|
"lh",
|
|
@@ -1016,51 +859,51 @@ var He = (e, t) => {
|
|
|
1016
859
|
"min",
|
|
1017
860
|
"max",
|
|
1018
861
|
"fit",
|
|
1019
|
-
...
|
|
1020
|
-
],
|
|
862
|
+
...w()
|
|
863
|
+
], N = () => [
|
|
1021
864
|
e,
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
],
|
|
1025
|
-
...
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
{ position: [
|
|
1029
|
-
],
|
|
865
|
+
X,
|
|
866
|
+
J
|
|
867
|
+
], re = () => [
|
|
868
|
+
...b(),
|
|
869
|
+
Ft,
|
|
870
|
+
At,
|
|
871
|
+
{ position: [X, J] }
|
|
872
|
+
], ie = () => ["no-repeat", { repeat: [
|
|
1030
873
|
"",
|
|
1031
874
|
"x",
|
|
1032
875
|
"y",
|
|
1033
876
|
"space",
|
|
1034
877
|
"round"
|
|
1035
|
-
] }],
|
|
878
|
+
] }], ae = () => [
|
|
1036
879
|
"auto",
|
|
1037
880
|
"cover",
|
|
1038
881
|
"contain",
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
{ size: [
|
|
1042
|
-
],
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
],
|
|
882
|
+
It,
|
|
883
|
+
Et,
|
|
884
|
+
{ size: [X, J] }
|
|
885
|
+
], oe = () => [
|
|
886
|
+
vt,
|
|
887
|
+
Nt,
|
|
888
|
+
Y
|
|
889
|
+
], P = () => [
|
|
1047
890
|
"",
|
|
1048
891
|
"none",
|
|
1049
892
|
"full",
|
|
1050
893
|
l,
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
],
|
|
894
|
+
X,
|
|
895
|
+
J
|
|
896
|
+
], F = () => [
|
|
1054
897
|
"",
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
],
|
|
898
|
+
G,
|
|
899
|
+
Nt,
|
|
900
|
+
Y
|
|
901
|
+
], I = () => [
|
|
1059
902
|
"solid",
|
|
1060
903
|
"dashed",
|
|
1061
904
|
"dotted",
|
|
1062
905
|
"double"
|
|
1063
|
-
],
|
|
906
|
+
], se = () => [
|
|
1064
907
|
"normal",
|
|
1065
908
|
"multiply",
|
|
1066
909
|
"screen",
|
|
@@ -1077,35 +920,35 @@ var He = (e, t) => {
|
|
|
1077
920
|
"saturation",
|
|
1078
921
|
"color",
|
|
1079
922
|
"luminosity"
|
|
1080
|
-
],
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
],
|
|
923
|
+
], L = () => [
|
|
924
|
+
G,
|
|
925
|
+
vt,
|
|
926
|
+
Ft,
|
|
927
|
+
At
|
|
928
|
+
], ce = () => [
|
|
1086
929
|
"",
|
|
1087
930
|
"none",
|
|
1088
931
|
m,
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
],
|
|
932
|
+
X,
|
|
933
|
+
J
|
|
934
|
+
], R = () => [
|
|
1092
935
|
"none",
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
],
|
|
936
|
+
G,
|
|
937
|
+
X,
|
|
938
|
+
J
|
|
939
|
+
], z = () => [
|
|
1097
940
|
"none",
|
|
1098
|
-
K,
|
|
1099
|
-
Z,
|
|
1100
|
-
Y
|
|
1101
|
-
], oe = () => [
|
|
1102
|
-
K,
|
|
1103
|
-
Z,
|
|
1104
|
-
Y
|
|
1105
|
-
], U = () => [
|
|
1106
941
|
G,
|
|
942
|
+
X,
|
|
943
|
+
J
|
|
944
|
+
], le = () => [
|
|
945
|
+
G,
|
|
946
|
+
X,
|
|
947
|
+
J
|
|
948
|
+
], B = () => [
|
|
949
|
+
W,
|
|
1107
950
|
"full",
|
|
1108
|
-
...
|
|
951
|
+
...w()
|
|
1109
952
|
];
|
|
1110
953
|
return {
|
|
1111
954
|
cacheSize: 500,
|
|
@@ -1117,17 +960,17 @@ var He = (e, t) => {
|
|
|
1117
960
|
"bounce"
|
|
1118
961
|
],
|
|
1119
962
|
aspect: ["video"],
|
|
1120
|
-
blur: [
|
|
1121
|
-
breakpoint: [
|
|
1122
|
-
color: [
|
|
1123
|
-
container: [
|
|
1124
|
-
"drop-shadow": [
|
|
963
|
+
blur: [q],
|
|
964
|
+
breakpoint: [q],
|
|
965
|
+
color: [yt],
|
|
966
|
+
container: [q],
|
|
967
|
+
"drop-shadow": [q],
|
|
1125
968
|
ease: [
|
|
1126
969
|
"in",
|
|
1127
970
|
"out",
|
|
1128
971
|
"in-out"
|
|
1129
972
|
],
|
|
1130
|
-
font: [
|
|
973
|
+
font: [wt],
|
|
1131
974
|
"font-weight": [
|
|
1132
975
|
"thin",
|
|
1133
976
|
"extralight",
|
|
@@ -1139,7 +982,7 @@ var He = (e, t) => {
|
|
|
1139
982
|
"extrabold",
|
|
1140
983
|
"black"
|
|
1141
984
|
],
|
|
1142
|
-
"inset-shadow": [
|
|
985
|
+
"inset-shadow": [q],
|
|
1143
986
|
leading: [
|
|
1144
987
|
"none",
|
|
1145
988
|
"tight",
|
|
@@ -1156,11 +999,11 @@ var He = (e, t) => {
|
|
|
1156
999
|
"distant",
|
|
1157
1000
|
"none"
|
|
1158
1001
|
],
|
|
1159
|
-
radius: [
|
|
1160
|
-
shadow: [
|
|
1161
|
-
spacing: ["px",
|
|
1162
|
-
text: [
|
|
1163
|
-
"text-shadow": [
|
|
1002
|
+
radius: [q],
|
|
1003
|
+
shadow: [q],
|
|
1004
|
+
spacing: ["px", G],
|
|
1005
|
+
text: [q],
|
|
1006
|
+
"text-shadow": [q],
|
|
1164
1007
|
tracking: [
|
|
1165
1008
|
"tighter",
|
|
1166
1009
|
"tight",
|
|
@@ -1174,9 +1017,9 @@ var He = (e, t) => {
|
|
|
1174
1017
|
aspect: [{ aspect: [
|
|
1175
1018
|
"auto",
|
|
1176
1019
|
"square",
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1020
|
+
W,
|
|
1021
|
+
J,
|
|
1022
|
+
X,
|
|
1180
1023
|
g
|
|
1181
1024
|
] }],
|
|
1182
1025
|
container: ["container"],
|
|
@@ -1184,18 +1027,18 @@ var He = (e, t) => {
|
|
|
1184
1027
|
"",
|
|
1185
1028
|
"normal",
|
|
1186
1029
|
"size",
|
|
1187
|
-
|
|
1188
|
-
|
|
1030
|
+
X,
|
|
1031
|
+
J
|
|
1189
1032
|
] }],
|
|
1190
|
-
"container-named": [
|
|
1033
|
+
"container-named": [Tt],
|
|
1191
1034
|
columns: [{ columns: [
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1035
|
+
G,
|
|
1036
|
+
J,
|
|
1037
|
+
X,
|
|
1195
1038
|
s
|
|
1196
1039
|
] }],
|
|
1197
|
-
"break-after": [{ "break-after":
|
|
1198
|
-
"break-before": [{ "break-before":
|
|
1040
|
+
"break-after": [{ "break-after": y() }],
|
|
1041
|
+
"break-before": [{ "break-before": y() }],
|
|
1199
1042
|
"break-inside": [{ "break-inside": [
|
|
1200
1043
|
"auto",
|
|
1201
1044
|
"avoid",
|
|
@@ -1251,13 +1094,13 @@ var He = (e, t) => {
|
|
|
1251
1094
|
"none",
|
|
1252
1095
|
"scale-down"
|
|
1253
1096
|
] }],
|
|
1254
|
-
"object-position": [{ object:
|
|
1255
|
-
overflow: [{ overflow:
|
|
1256
|
-
"overflow-x": [{ "overflow-x":
|
|
1257
|
-
"overflow-y": [{ "overflow-y":
|
|
1258
|
-
overscroll: [{ overscroll:
|
|
1259
|
-
"overscroll-x": [{ "overscroll-x":
|
|
1260
|
-
"overscroll-y": [{ "overscroll-y":
|
|
1097
|
+
"object-position": [{ object: x() }],
|
|
1098
|
+
overflow: [{ overflow: S() }],
|
|
1099
|
+
"overflow-x": [{ "overflow-x": S() }],
|
|
1100
|
+
"overflow-y": [{ "overflow-y": S() }],
|
|
1101
|
+
overscroll: [{ overscroll: C() }],
|
|
1102
|
+
"overscroll-x": [{ "overscroll-x": C() }],
|
|
1103
|
+
"overscroll-y": [{ "overscroll-y": C() }],
|
|
1261
1104
|
position: [
|
|
1262
1105
|
"static",
|
|
1263
1106
|
"fixed",
|
|
@@ -1265,40 +1108,40 @@ var He = (e, t) => {
|
|
|
1265
1108
|
"relative",
|
|
1266
1109
|
"sticky"
|
|
1267
1110
|
],
|
|
1268
|
-
inset: [{ inset:
|
|
1269
|
-
"inset-x": [{ "inset-x":
|
|
1270
|
-
"inset-y": [{ "inset-y":
|
|
1111
|
+
inset: [{ inset: T() }],
|
|
1112
|
+
"inset-x": [{ "inset-x": T() }],
|
|
1113
|
+
"inset-y": [{ "inset-y": T() }],
|
|
1271
1114
|
start: [{
|
|
1272
|
-
"inset-s":
|
|
1273
|
-
start:
|
|
1115
|
+
"inset-s": T(),
|
|
1116
|
+
start: T()
|
|
1274
1117
|
}],
|
|
1275
1118
|
end: [{
|
|
1276
|
-
"inset-e":
|
|
1277
|
-
end:
|
|
1119
|
+
"inset-e": T(),
|
|
1120
|
+
end: T()
|
|
1278
1121
|
}],
|
|
1279
|
-
"inset-bs": [{ "inset-bs":
|
|
1280
|
-
"inset-be": [{ "inset-be":
|
|
1281
|
-
top: [{ top:
|
|
1282
|
-
right: [{ right:
|
|
1283
|
-
bottom: [{ bottom:
|
|
1284
|
-
left: [{ left:
|
|
1122
|
+
"inset-bs": [{ "inset-bs": T() }],
|
|
1123
|
+
"inset-be": [{ "inset-be": T() }],
|
|
1124
|
+
top: [{ top: T() }],
|
|
1125
|
+
right: [{ right: T() }],
|
|
1126
|
+
bottom: [{ bottom: T() }],
|
|
1127
|
+
left: [{ left: T() }],
|
|
1285
1128
|
visibility: [
|
|
1286
1129
|
"visible",
|
|
1287
1130
|
"invisible",
|
|
1288
1131
|
"collapse"
|
|
1289
1132
|
],
|
|
1290
1133
|
z: [{ z: [
|
|
1291
|
-
|
|
1134
|
+
K,
|
|
1292
1135
|
"auto",
|
|
1293
|
-
|
|
1294
|
-
|
|
1136
|
+
X,
|
|
1137
|
+
J
|
|
1295
1138
|
] }],
|
|
1296
1139
|
basis: [{ basis: [
|
|
1297
|
-
|
|
1140
|
+
W,
|
|
1298
1141
|
"full",
|
|
1299
1142
|
"auto",
|
|
1300
1143
|
s,
|
|
1301
|
-
...
|
|
1144
|
+
...w()
|
|
1302
1145
|
] }],
|
|
1303
1146
|
"flex-direction": [{ flex: [
|
|
1304
1147
|
"row",
|
|
@@ -1312,38 +1155,38 @@ var He = (e, t) => {
|
|
|
1312
1155
|
"wrap-reverse"
|
|
1313
1156
|
] }],
|
|
1314
1157
|
flex: [{ flex: [
|
|
1315
|
-
K,
|
|
1316
1158
|
G,
|
|
1159
|
+
W,
|
|
1317
1160
|
"auto",
|
|
1318
1161
|
"initial",
|
|
1319
1162
|
"none",
|
|
1320
|
-
|
|
1163
|
+
J
|
|
1321
1164
|
] }],
|
|
1322
1165
|
grow: [{ grow: [
|
|
1323
1166
|
"",
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1167
|
+
G,
|
|
1168
|
+
X,
|
|
1169
|
+
J
|
|
1327
1170
|
] }],
|
|
1328
1171
|
shrink: [{ shrink: [
|
|
1329
1172
|
"",
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1173
|
+
G,
|
|
1174
|
+
X,
|
|
1175
|
+
J
|
|
1333
1176
|
] }],
|
|
1334
1177
|
order: [{ order: [
|
|
1335
|
-
|
|
1178
|
+
K,
|
|
1336
1179
|
"first",
|
|
1337
1180
|
"last",
|
|
1338
1181
|
"none",
|
|
1339
|
-
|
|
1340
|
-
|
|
1182
|
+
X,
|
|
1183
|
+
J
|
|
1341
1184
|
] }],
|
|
1342
|
-
"grid-cols": [{ "grid-cols":
|
|
1185
|
+
"grid-cols": [{ "grid-cols": ee() }],
|
|
1343
1186
|
"col-start-end": [{ col: E() }],
|
|
1344
1187
|
"col-start": [{ "col-start": D() }],
|
|
1345
1188
|
"col-end": [{ "col-end": D() }],
|
|
1346
|
-
"grid-rows": [{ "grid-rows":
|
|
1189
|
+
"grid-rows": [{ "grid-rows": ee() }],
|
|
1347
1190
|
"row-start-end": [{ row: E() }],
|
|
1348
1191
|
"row-start": [{ "row-start": D() }],
|
|
1349
1192
|
"row-end": [{ "row-end": D() }],
|
|
@@ -1354,67 +1197,67 @@ var He = (e, t) => {
|
|
|
1354
1197
|
"row-dense",
|
|
1355
1198
|
"col-dense"
|
|
1356
1199
|
] }],
|
|
1357
|
-
"auto-cols": [{ "auto-cols":
|
|
1358
|
-
"auto-rows": [{ "auto-rows":
|
|
1359
|
-
gap: [{ gap:
|
|
1360
|
-
"gap-x": [{ "gap-x":
|
|
1361
|
-
"gap-y": [{ "gap-y":
|
|
1362
|
-
"justify-content": [{ justify: [...
|
|
1363
|
-
"justify-items": [{ "justify-items": [...
|
|
1364
|
-
"justify-self": [{ "justify-self": ["auto", ...
|
|
1365
|
-
"align-content": [{ content: ["normal", ...
|
|
1366
|
-
"align-items": [{ items: [...
|
|
1200
|
+
"auto-cols": [{ "auto-cols": te() }],
|
|
1201
|
+
"auto-rows": [{ "auto-rows": te() }],
|
|
1202
|
+
gap: [{ gap: w() }],
|
|
1203
|
+
"gap-x": [{ "gap-x": w() }],
|
|
1204
|
+
"gap-y": [{ "gap-y": w() }],
|
|
1205
|
+
"justify-content": [{ justify: [...O(), "normal"] }],
|
|
1206
|
+
"justify-items": [{ "justify-items": [...k(), "normal"] }],
|
|
1207
|
+
"justify-self": [{ "justify-self": ["auto", ...k()] }],
|
|
1208
|
+
"align-content": [{ content: ["normal", ...O()] }],
|
|
1209
|
+
"align-items": [{ items: [...k(), { baseline: ["", "last"] }] }],
|
|
1367
1210
|
"align-self": [{ self: [
|
|
1368
1211
|
"auto",
|
|
1369
|
-
...
|
|
1212
|
+
...k(),
|
|
1370
1213
|
{ baseline: ["", "last"] }
|
|
1371
1214
|
] }],
|
|
1372
|
-
"place-content": [{ "place-content":
|
|
1373
|
-
"place-items": [{ "place-items": [...
|
|
1374
|
-
"place-self": [{ "place-self": ["auto", ...
|
|
1375
|
-
p: [{ p:
|
|
1376
|
-
px: [{ px:
|
|
1377
|
-
py: [{ py:
|
|
1378
|
-
ps: [{ ps:
|
|
1379
|
-
pe: [{ pe:
|
|
1380
|
-
pbs: [{ pbs:
|
|
1381
|
-
pbe: [{ pbe:
|
|
1382
|
-
pt: [{ pt:
|
|
1383
|
-
pr: [{ pr:
|
|
1384
|
-
pb: [{ pb:
|
|
1385
|
-
pl: [{ pl:
|
|
1386
|
-
m: [{ m:
|
|
1387
|
-
mx: [{ mx:
|
|
1388
|
-
my: [{ my:
|
|
1389
|
-
ms: [{ ms:
|
|
1390
|
-
me: [{ me:
|
|
1391
|
-
mbs: [{ mbs:
|
|
1392
|
-
mbe: [{ mbe:
|
|
1393
|
-
mt: [{ mt:
|
|
1394
|
-
mr: [{ mr:
|
|
1395
|
-
mb: [{ mb:
|
|
1396
|
-
ml: [{ ml:
|
|
1397
|
-
"space-x": [{ "space-x":
|
|
1215
|
+
"place-content": [{ "place-content": O() }],
|
|
1216
|
+
"place-items": [{ "place-items": [...k(), "baseline"] }],
|
|
1217
|
+
"place-self": [{ "place-self": ["auto", ...k()] }],
|
|
1218
|
+
p: [{ p: w() }],
|
|
1219
|
+
px: [{ px: w() }],
|
|
1220
|
+
py: [{ py: w() }],
|
|
1221
|
+
ps: [{ ps: w() }],
|
|
1222
|
+
pe: [{ pe: w() }],
|
|
1223
|
+
pbs: [{ pbs: w() }],
|
|
1224
|
+
pbe: [{ pbe: w() }],
|
|
1225
|
+
pt: [{ pt: w() }],
|
|
1226
|
+
pr: [{ pr: w() }],
|
|
1227
|
+
pb: [{ pb: w() }],
|
|
1228
|
+
pl: [{ pl: w() }],
|
|
1229
|
+
m: [{ m: A() }],
|
|
1230
|
+
mx: [{ mx: A() }],
|
|
1231
|
+
my: [{ my: A() }],
|
|
1232
|
+
ms: [{ ms: A() }],
|
|
1233
|
+
me: [{ me: A() }],
|
|
1234
|
+
mbs: [{ mbs: A() }],
|
|
1235
|
+
mbe: [{ mbe: A() }],
|
|
1236
|
+
mt: [{ mt: A() }],
|
|
1237
|
+
mr: [{ mr: A() }],
|
|
1238
|
+
mb: [{ mb: A() }],
|
|
1239
|
+
ml: [{ ml: A() }],
|
|
1240
|
+
"space-x": [{ "space-x": w() }],
|
|
1398
1241
|
"space-x-reverse": ["space-x-reverse"],
|
|
1399
|
-
"space-y": [{ "space-y":
|
|
1242
|
+
"space-y": [{ "space-y": w() }],
|
|
1400
1243
|
"space-y-reverse": ["space-y-reverse"],
|
|
1401
|
-
size: [{ size:
|
|
1402
|
-
"inline-size": [{ inline: ["auto", ...
|
|
1403
|
-
"min-inline-size": [{ "min-inline": ["auto", ...
|
|
1404
|
-
"max-inline-size": [{ "max-inline": ["none", ...
|
|
1405
|
-
"block-size": [{ block: ["auto", ...
|
|
1406
|
-
"min-block-size": [{ "min-block": ["auto", ...
|
|
1407
|
-
"max-block-size": [{ "max-block": ["none", ...
|
|
1244
|
+
size: [{ size: j() }],
|
|
1245
|
+
"inline-size": [{ inline: ["auto", ...M()] }],
|
|
1246
|
+
"min-inline-size": [{ "min-inline": ["auto", ...M()] }],
|
|
1247
|
+
"max-inline-size": [{ "max-inline": ["none", ...M()] }],
|
|
1248
|
+
"block-size": [{ block: ["auto", ...ne()] }],
|
|
1249
|
+
"min-block-size": [{ "min-block": ["auto", ...ne()] }],
|
|
1250
|
+
"max-block-size": [{ "max-block": ["none", ...ne()] }],
|
|
1408
1251
|
w: [{ w: [
|
|
1409
1252
|
s,
|
|
1410
1253
|
"screen",
|
|
1411
|
-
...
|
|
1254
|
+
...j()
|
|
1412
1255
|
] }],
|
|
1413
1256
|
"min-w": [{ "min-w": [
|
|
1414
1257
|
s,
|
|
1415
1258
|
"screen",
|
|
1416
1259
|
"none",
|
|
1417
|
-
...
|
|
1260
|
+
...j()
|
|
1418
1261
|
] }],
|
|
1419
1262
|
"max-w": [{ "max-w": [
|
|
1420
1263
|
s,
|
|
@@ -1422,36 +1265,36 @@ var He = (e, t) => {
|
|
|
1422
1265
|
"none",
|
|
1423
1266
|
"prose",
|
|
1424
1267
|
{ screen: [o] },
|
|
1425
|
-
...
|
|
1268
|
+
...j()
|
|
1426
1269
|
] }],
|
|
1427
1270
|
h: [{ h: [
|
|
1428
1271
|
"screen",
|
|
1429
1272
|
"lh",
|
|
1430
|
-
...
|
|
1273
|
+
...j()
|
|
1431
1274
|
] }],
|
|
1432
1275
|
"min-h": [{ "min-h": [
|
|
1433
1276
|
"screen",
|
|
1434
1277
|
"lh",
|
|
1435
1278
|
"none",
|
|
1436
|
-
...
|
|
1279
|
+
...j()
|
|
1437
1280
|
] }],
|
|
1438
1281
|
"max-h": [{ "max-h": [
|
|
1439
1282
|
"screen",
|
|
1440
1283
|
"lh",
|
|
1441
|
-
...
|
|
1284
|
+
...j()
|
|
1442
1285
|
] }],
|
|
1443
1286
|
"font-size": [{ text: [
|
|
1444
1287
|
"base",
|
|
1445
1288
|
n,
|
|
1446
|
-
|
|
1447
|
-
|
|
1289
|
+
Nt,
|
|
1290
|
+
Y
|
|
1448
1291
|
] }],
|
|
1449
1292
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
1450
1293
|
"font-style": ["italic", "not-italic"],
|
|
1451
1294
|
"font-weight": [{ font: [
|
|
1452
1295
|
r,
|
|
1453
|
-
|
|
1454
|
-
|
|
1296
|
+
zt,
|
|
1297
|
+
Ot
|
|
1455
1298
|
] }],
|
|
1456
1299
|
"font-stretch": [{ "font-stretch": [
|
|
1457
1300
|
"ultra-condensed",
|
|
@@ -1463,15 +1306,15 @@ var He = (e, t) => {
|
|
|
1463
1306
|
"expanded",
|
|
1464
1307
|
"extra-expanded",
|
|
1465
1308
|
"ultra-expanded",
|
|
1466
|
-
|
|
1467
|
-
|
|
1309
|
+
vt,
|
|
1310
|
+
J
|
|
1468
1311
|
] }],
|
|
1469
1312
|
"font-family": [{ font: [
|
|
1470
|
-
|
|
1471
|
-
|
|
1313
|
+
Pt,
|
|
1314
|
+
kt,
|
|
1472
1315
|
t
|
|
1473
1316
|
] }],
|
|
1474
|
-
"font-features": [{ "font-features": [
|
|
1317
|
+
"font-features": [{ "font-features": [J] }],
|
|
1475
1318
|
"fvn-normal": ["normal-nums"],
|
|
1476
1319
|
"fvn-ordinal": ["ordinal"],
|
|
1477
1320
|
"fvn-slashed-zero": ["slashed-zero"],
|
|
@@ -1480,28 +1323,28 @@ var He = (e, t) => {
|
|
|
1480
1323
|
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
1481
1324
|
tracking: [{ tracking: [
|
|
1482
1325
|
i,
|
|
1483
|
-
|
|
1484
|
-
|
|
1326
|
+
X,
|
|
1327
|
+
J
|
|
1485
1328
|
] }],
|
|
1486
1329
|
"line-clamp": [{ "line-clamp": [
|
|
1487
|
-
|
|
1330
|
+
G,
|
|
1488
1331
|
"none",
|
|
1489
|
-
|
|
1490
|
-
|
|
1332
|
+
X,
|
|
1333
|
+
Dt
|
|
1491
1334
|
] }],
|
|
1492
|
-
leading: [{ leading: [a, ...
|
|
1335
|
+
leading: [{ leading: [a, ...w()] }],
|
|
1493
1336
|
"list-image": [{ "list-image": [
|
|
1494
1337
|
"none",
|
|
1495
|
-
|
|
1496
|
-
|
|
1338
|
+
X,
|
|
1339
|
+
J
|
|
1497
1340
|
] }],
|
|
1498
1341
|
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
1499
1342
|
"list-style-type": [{ list: [
|
|
1500
1343
|
"disc",
|
|
1501
1344
|
"decimal",
|
|
1502
1345
|
"none",
|
|
1503
|
-
|
|
1504
|
-
|
|
1346
|
+
X,
|
|
1347
|
+
J
|
|
1505
1348
|
] }],
|
|
1506
1349
|
"text-alignment": [{ text: [
|
|
1507
1350
|
"left",
|
|
@@ -1511,28 +1354,28 @@ var He = (e, t) => {
|
|
|
1511
1354
|
"start",
|
|
1512
1355
|
"end"
|
|
1513
1356
|
] }],
|
|
1514
|
-
"placeholder-color": [{ placeholder:
|
|
1515
|
-
"text-color": [{ text:
|
|
1357
|
+
"placeholder-color": [{ placeholder: N() }],
|
|
1358
|
+
"text-color": [{ text: N() }],
|
|
1516
1359
|
"text-decoration": [
|
|
1517
1360
|
"underline",
|
|
1518
1361
|
"overline",
|
|
1519
1362
|
"line-through",
|
|
1520
1363
|
"no-underline"
|
|
1521
1364
|
],
|
|
1522
|
-
"text-decoration-style": [{ decoration: [...
|
|
1365
|
+
"text-decoration-style": [{ decoration: [...I(), "wavy"] }],
|
|
1523
1366
|
"text-decoration-thickness": [{ decoration: [
|
|
1524
|
-
|
|
1367
|
+
G,
|
|
1525
1368
|
"from-font",
|
|
1526
1369
|
"auto",
|
|
1527
|
-
|
|
1528
|
-
|
|
1370
|
+
X,
|
|
1371
|
+
Y
|
|
1529
1372
|
] }],
|
|
1530
|
-
"text-decoration-color": [{ decoration:
|
|
1373
|
+
"text-decoration-color": [{ decoration: N() }],
|
|
1531
1374
|
"underline-offset": [{ "underline-offset": [
|
|
1532
|
-
|
|
1375
|
+
G,
|
|
1533
1376
|
"auto",
|
|
1534
|
-
|
|
1535
|
-
|
|
1377
|
+
X,
|
|
1378
|
+
J
|
|
1536
1379
|
] }],
|
|
1537
1380
|
"text-transform": [
|
|
1538
1381
|
"uppercase",
|
|
@@ -1551,11 +1394,11 @@ var He = (e, t) => {
|
|
|
1551
1394
|
"balance",
|
|
1552
1395
|
"pretty"
|
|
1553
1396
|
] }],
|
|
1554
|
-
indent: [{ indent:
|
|
1397
|
+
indent: [{ indent: w() }],
|
|
1555
1398
|
"tab-size": [{ tab: [
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1399
|
+
K,
|
|
1400
|
+
X,
|
|
1401
|
+
J
|
|
1559
1402
|
] }],
|
|
1560
1403
|
"vertical-align": [{ align: [
|
|
1561
1404
|
"baseline",
|
|
@@ -1566,8 +1409,8 @@ var He = (e, t) => {
|
|
|
1566
1409
|
"text-bottom",
|
|
1567
1410
|
"sub",
|
|
1568
1411
|
"super",
|
|
1569
|
-
|
|
1570
|
-
|
|
1412
|
+
X,
|
|
1413
|
+
J
|
|
1571
1414
|
] }],
|
|
1572
1415
|
whitespace: [{ whitespace: [
|
|
1573
1416
|
"normal",
|
|
@@ -1595,8 +1438,8 @@ var He = (e, t) => {
|
|
|
1595
1438
|
] }],
|
|
1596
1439
|
content: [{ content: [
|
|
1597
1440
|
"none",
|
|
1598
|
-
|
|
1599
|
-
|
|
1441
|
+
X,
|
|
1442
|
+
J
|
|
1600
1443
|
] }],
|
|
1601
1444
|
"bg-attachment": [{ bg: [
|
|
1602
1445
|
"fixed",
|
|
@@ -1614,9 +1457,9 @@ var He = (e, t) => {
|
|
|
1614
1457
|
"padding",
|
|
1615
1458
|
"content"
|
|
1616
1459
|
] }],
|
|
1617
|
-
"bg-position": [{ bg:
|
|
1618
|
-
"bg-repeat": [{ bg:
|
|
1619
|
-
"bg-size": [{ bg:
|
|
1460
|
+
"bg-position": [{ bg: re() }],
|
|
1461
|
+
"bg-repeat": [{ bg: ie() }],
|
|
1462
|
+
"bg-size": [{ bg: ae() }],
|
|
1620
1463
|
"bg-image": [{ bg: [
|
|
1621
1464
|
"none",
|
|
1622
1465
|
{
|
|
@@ -1631,140 +1474,140 @@ var He = (e, t) => {
|
|
|
1631
1474
|
"l",
|
|
1632
1475
|
"tl"
|
|
1633
1476
|
] },
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1477
|
+
K,
|
|
1478
|
+
X,
|
|
1479
|
+
J
|
|
1637
1480
|
],
|
|
1638
1481
|
radial: [
|
|
1639
1482
|
"",
|
|
1640
|
-
|
|
1641
|
-
|
|
1483
|
+
X,
|
|
1484
|
+
J
|
|
1642
1485
|
],
|
|
1643
1486
|
conic: [
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1487
|
+
K,
|
|
1488
|
+
X,
|
|
1489
|
+
J
|
|
1647
1490
|
]
|
|
1648
1491
|
},
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
] }],
|
|
1652
|
-
"bg-color": [{ bg:
|
|
1653
|
-
"gradient-from-pos": [{ from:
|
|
1654
|
-
"gradient-via-pos": [{ via:
|
|
1655
|
-
"gradient-to-pos": [{ to:
|
|
1656
|
-
"gradient-from": [{ from:
|
|
1657
|
-
"gradient-via": [{ via:
|
|
1658
|
-
"gradient-to": [{ to:
|
|
1659
|
-
rounded: [{ rounded:
|
|
1660
|
-
"rounded-s": [{ "rounded-s":
|
|
1661
|
-
"rounded-e": [{ "rounded-e":
|
|
1662
|
-
"rounded-t": [{ "rounded-t":
|
|
1663
|
-
"rounded-r": [{ "rounded-r":
|
|
1664
|
-
"rounded-b": [{ "rounded-b":
|
|
1665
|
-
"rounded-l": [{ "rounded-l":
|
|
1666
|
-
"rounded-ss": [{ "rounded-ss":
|
|
1667
|
-
"rounded-se": [{ "rounded-se":
|
|
1668
|
-
"rounded-ee": [{ "rounded-ee":
|
|
1669
|
-
"rounded-es": [{ "rounded-es":
|
|
1670
|
-
"rounded-tl": [{ "rounded-tl":
|
|
1671
|
-
"rounded-tr": [{ "rounded-tr":
|
|
1672
|
-
"rounded-br": [{ "rounded-br":
|
|
1673
|
-
"rounded-bl": [{ "rounded-bl":
|
|
1674
|
-
"border-w": [{ border:
|
|
1675
|
-
"border-w-x": [{ "border-x":
|
|
1676
|
-
"border-w-y": [{ "border-y":
|
|
1677
|
-
"border-w-s": [{ "border-s":
|
|
1678
|
-
"border-w-e": [{ "border-e":
|
|
1679
|
-
"border-w-bs": [{ "border-bs":
|
|
1680
|
-
"border-w-be": [{ "border-be":
|
|
1681
|
-
"border-w-t": [{ "border-t":
|
|
1682
|
-
"border-w-r": [{ "border-r":
|
|
1683
|
-
"border-w-b": [{ "border-b":
|
|
1684
|
-
"border-w-l": [{ "border-l":
|
|
1685
|
-
"divide-x": [{ "divide-x":
|
|
1492
|
+
Lt,
|
|
1493
|
+
jt
|
|
1494
|
+
] }],
|
|
1495
|
+
"bg-color": [{ bg: N() }],
|
|
1496
|
+
"gradient-from-pos": [{ from: oe() }],
|
|
1497
|
+
"gradient-via-pos": [{ via: oe() }],
|
|
1498
|
+
"gradient-to-pos": [{ to: oe() }],
|
|
1499
|
+
"gradient-from": [{ from: N() }],
|
|
1500
|
+
"gradient-via": [{ via: N() }],
|
|
1501
|
+
"gradient-to": [{ to: N() }],
|
|
1502
|
+
rounded: [{ rounded: P() }],
|
|
1503
|
+
"rounded-s": [{ "rounded-s": P() }],
|
|
1504
|
+
"rounded-e": [{ "rounded-e": P() }],
|
|
1505
|
+
"rounded-t": [{ "rounded-t": P() }],
|
|
1506
|
+
"rounded-r": [{ "rounded-r": P() }],
|
|
1507
|
+
"rounded-b": [{ "rounded-b": P() }],
|
|
1508
|
+
"rounded-l": [{ "rounded-l": P() }],
|
|
1509
|
+
"rounded-ss": [{ "rounded-ss": P() }],
|
|
1510
|
+
"rounded-se": [{ "rounded-se": P() }],
|
|
1511
|
+
"rounded-ee": [{ "rounded-ee": P() }],
|
|
1512
|
+
"rounded-es": [{ "rounded-es": P() }],
|
|
1513
|
+
"rounded-tl": [{ "rounded-tl": P() }],
|
|
1514
|
+
"rounded-tr": [{ "rounded-tr": P() }],
|
|
1515
|
+
"rounded-br": [{ "rounded-br": P() }],
|
|
1516
|
+
"rounded-bl": [{ "rounded-bl": P() }],
|
|
1517
|
+
"border-w": [{ border: F() }],
|
|
1518
|
+
"border-w-x": [{ "border-x": F() }],
|
|
1519
|
+
"border-w-y": [{ "border-y": F() }],
|
|
1520
|
+
"border-w-s": [{ "border-s": F() }],
|
|
1521
|
+
"border-w-e": [{ "border-e": F() }],
|
|
1522
|
+
"border-w-bs": [{ "border-bs": F() }],
|
|
1523
|
+
"border-w-be": [{ "border-be": F() }],
|
|
1524
|
+
"border-w-t": [{ "border-t": F() }],
|
|
1525
|
+
"border-w-r": [{ "border-r": F() }],
|
|
1526
|
+
"border-w-b": [{ "border-b": F() }],
|
|
1527
|
+
"border-w-l": [{ "border-l": F() }],
|
|
1528
|
+
"divide-x": [{ "divide-x": F() }],
|
|
1686
1529
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
1687
|
-
"divide-y": [{ "divide-y":
|
|
1530
|
+
"divide-y": [{ "divide-y": F() }],
|
|
1688
1531
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
1689
1532
|
"border-style": [{ border: [
|
|
1690
|
-
...
|
|
1533
|
+
...I(),
|
|
1691
1534
|
"hidden",
|
|
1692
1535
|
"none"
|
|
1693
1536
|
] }],
|
|
1694
1537
|
"divide-style": [{ divide: [
|
|
1695
|
-
...
|
|
1538
|
+
...I(),
|
|
1696
1539
|
"hidden",
|
|
1697
1540
|
"none"
|
|
1698
1541
|
] }],
|
|
1699
|
-
"border-color": [{ border:
|
|
1700
|
-
"border-color-x": [{ "border-x":
|
|
1701
|
-
"border-color-y": [{ "border-y":
|
|
1702
|
-
"border-color-s": [{ "border-s":
|
|
1703
|
-
"border-color-e": [{ "border-e":
|
|
1704
|
-
"border-color-bs": [{ "border-bs":
|
|
1705
|
-
"border-color-be": [{ "border-be":
|
|
1706
|
-
"border-color-t": [{ "border-t":
|
|
1707
|
-
"border-color-r": [{ "border-r":
|
|
1708
|
-
"border-color-b": [{ "border-b":
|
|
1709
|
-
"border-color-l": [{ "border-l":
|
|
1710
|
-
"divide-color": [{ divide:
|
|
1542
|
+
"border-color": [{ border: N() }],
|
|
1543
|
+
"border-color-x": [{ "border-x": N() }],
|
|
1544
|
+
"border-color-y": [{ "border-y": N() }],
|
|
1545
|
+
"border-color-s": [{ "border-s": N() }],
|
|
1546
|
+
"border-color-e": [{ "border-e": N() }],
|
|
1547
|
+
"border-color-bs": [{ "border-bs": N() }],
|
|
1548
|
+
"border-color-be": [{ "border-be": N() }],
|
|
1549
|
+
"border-color-t": [{ "border-t": N() }],
|
|
1550
|
+
"border-color-r": [{ "border-r": N() }],
|
|
1551
|
+
"border-color-b": [{ "border-b": N() }],
|
|
1552
|
+
"border-color-l": [{ "border-l": N() }],
|
|
1553
|
+
"divide-color": [{ divide: N() }],
|
|
1711
1554
|
"outline-style": [{ outline: [
|
|
1712
|
-
...
|
|
1555
|
+
...I(),
|
|
1713
1556
|
"none",
|
|
1714
1557
|
"hidden"
|
|
1715
1558
|
] }],
|
|
1716
1559
|
"outline-offset": [{ "outline-offset": [
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1560
|
+
G,
|
|
1561
|
+
X,
|
|
1562
|
+
J
|
|
1720
1563
|
] }],
|
|
1721
1564
|
"outline-w": [{ outline: [
|
|
1722
1565
|
"",
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1566
|
+
G,
|
|
1567
|
+
Nt,
|
|
1568
|
+
Y
|
|
1726
1569
|
] }],
|
|
1727
|
-
"outline-color": [{ outline:
|
|
1570
|
+
"outline-color": [{ outline: N() }],
|
|
1728
1571
|
shadow: [{ shadow: [
|
|
1729
1572
|
"",
|
|
1730
1573
|
"none",
|
|
1731
1574
|
u,
|
|
1732
|
-
|
|
1733
|
-
|
|
1575
|
+
Rt,
|
|
1576
|
+
Mt
|
|
1734
1577
|
] }],
|
|
1735
|
-
"shadow-color": [{ shadow:
|
|
1578
|
+
"shadow-color": [{ shadow: N() }],
|
|
1736
1579
|
"inset-shadow": [{ "inset-shadow": [
|
|
1737
1580
|
"none",
|
|
1738
1581
|
d,
|
|
1739
|
-
|
|
1740
|
-
|
|
1582
|
+
Rt,
|
|
1583
|
+
Mt
|
|
1741
1584
|
] }],
|
|
1742
|
-
"inset-shadow-color": [{ "inset-shadow":
|
|
1743
|
-
"ring-w": [{ ring:
|
|
1585
|
+
"inset-shadow-color": [{ "inset-shadow": N() }],
|
|
1586
|
+
"ring-w": [{ ring: F() }],
|
|
1744
1587
|
"ring-w-inset": ["ring-inset"],
|
|
1745
|
-
"ring-color": [{ ring:
|
|
1746
|
-
"ring-offset-w": [{ "ring-offset": [
|
|
1747
|
-
"ring-offset-color": [{ "ring-offset":
|
|
1748
|
-
"inset-ring-w": [{ "inset-ring":
|
|
1749
|
-
"inset-ring-color": [{ "inset-ring":
|
|
1588
|
+
"ring-color": [{ ring: N() }],
|
|
1589
|
+
"ring-offset-w": [{ "ring-offset": [G, Y] }],
|
|
1590
|
+
"ring-offset-color": [{ "ring-offset": N() }],
|
|
1591
|
+
"inset-ring-w": [{ "inset-ring": F() }],
|
|
1592
|
+
"inset-ring-color": [{ "inset-ring": N() }],
|
|
1750
1593
|
"text-shadow": [{ "text-shadow": [
|
|
1751
1594
|
"none",
|
|
1752
1595
|
f,
|
|
1753
|
-
|
|
1754
|
-
|
|
1596
|
+
Rt,
|
|
1597
|
+
Mt
|
|
1755
1598
|
] }],
|
|
1756
|
-
"text-shadow-color": [{ "text-shadow":
|
|
1599
|
+
"text-shadow-color": [{ "text-shadow": N() }],
|
|
1757
1600
|
opacity: [{ opacity: [
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1601
|
+
G,
|
|
1602
|
+
X,
|
|
1603
|
+
J
|
|
1761
1604
|
] }],
|
|
1762
1605
|
"mix-blend": [{ "mix-blend": [
|
|
1763
|
-
...
|
|
1606
|
+
...se(),
|
|
1764
1607
|
"plus-darker",
|
|
1765
1608
|
"plus-lighter"
|
|
1766
1609
|
] }],
|
|
1767
|
-
"bg-blend": [{ "bg-blend":
|
|
1610
|
+
"bg-blend": [{ "bg-blend": se() }],
|
|
1768
1611
|
"mask-clip": [{ "mask-clip": [
|
|
1769
1612
|
"border",
|
|
1770
1613
|
"padding",
|
|
@@ -1779,51 +1622,51 @@ var He = (e, t) => {
|
|
|
1779
1622
|
"intersect",
|
|
1780
1623
|
"exclude"
|
|
1781
1624
|
] }],
|
|
1782
|
-
"mask-image-linear-pos": [{ "mask-linear": [
|
|
1783
|
-
"mask-image-linear-from-pos": [{ "mask-linear-from":
|
|
1784
|
-
"mask-image-linear-to-pos": [{ "mask-linear-to":
|
|
1785
|
-
"mask-image-linear-from-color": [{ "mask-linear-from":
|
|
1786
|
-
"mask-image-linear-to-color": [{ "mask-linear-to":
|
|
1787
|
-
"mask-image-t-from-pos": [{ "mask-t-from":
|
|
1788
|
-
"mask-image-t-to-pos": [{ "mask-t-to":
|
|
1789
|
-
"mask-image-t-from-color": [{ "mask-t-from":
|
|
1790
|
-
"mask-image-t-to-color": [{ "mask-t-to":
|
|
1791
|
-
"mask-image-r-from-pos": [{ "mask-r-from":
|
|
1792
|
-
"mask-image-r-to-pos": [{ "mask-r-to":
|
|
1793
|
-
"mask-image-r-from-color": [{ "mask-r-from":
|
|
1794
|
-
"mask-image-r-to-color": [{ "mask-r-to":
|
|
1795
|
-
"mask-image-b-from-pos": [{ "mask-b-from":
|
|
1796
|
-
"mask-image-b-to-pos": [{ "mask-b-to":
|
|
1797
|
-
"mask-image-b-from-color": [{ "mask-b-from":
|
|
1798
|
-
"mask-image-b-to-color": [{ "mask-b-to":
|
|
1799
|
-
"mask-image-l-from-pos": [{ "mask-l-from":
|
|
1800
|
-
"mask-image-l-to-pos": [{ "mask-l-to":
|
|
1801
|
-
"mask-image-l-from-color": [{ "mask-l-from":
|
|
1802
|
-
"mask-image-l-to-color": [{ "mask-l-to":
|
|
1803
|
-
"mask-image-x-from-pos": [{ "mask-x-from":
|
|
1804
|
-
"mask-image-x-to-pos": [{ "mask-x-to":
|
|
1805
|
-
"mask-image-x-from-color": [{ "mask-x-from":
|
|
1806
|
-
"mask-image-x-to-color": [{ "mask-x-to":
|
|
1807
|
-
"mask-image-y-from-pos": [{ "mask-y-from":
|
|
1808
|
-
"mask-image-y-to-pos": [{ "mask-y-to":
|
|
1809
|
-
"mask-image-y-from-color": [{ "mask-y-from":
|
|
1810
|
-
"mask-image-y-to-color": [{ "mask-y-to":
|
|
1811
|
-
"mask-image-radial": [{ "mask-radial": [
|
|
1812
|
-
"mask-image-radial-from-pos": [{ "mask-radial-from":
|
|
1813
|
-
"mask-image-radial-to-pos": [{ "mask-radial-to":
|
|
1814
|
-
"mask-image-radial-from-color": [{ "mask-radial-from":
|
|
1815
|
-
"mask-image-radial-to-color": [{ "mask-radial-to":
|
|
1625
|
+
"mask-image-linear-pos": [{ "mask-linear": [G] }],
|
|
1626
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": L() }],
|
|
1627
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": L() }],
|
|
1628
|
+
"mask-image-linear-from-color": [{ "mask-linear-from": N() }],
|
|
1629
|
+
"mask-image-linear-to-color": [{ "mask-linear-to": N() }],
|
|
1630
|
+
"mask-image-t-from-pos": [{ "mask-t-from": L() }],
|
|
1631
|
+
"mask-image-t-to-pos": [{ "mask-t-to": L() }],
|
|
1632
|
+
"mask-image-t-from-color": [{ "mask-t-from": N() }],
|
|
1633
|
+
"mask-image-t-to-color": [{ "mask-t-to": N() }],
|
|
1634
|
+
"mask-image-r-from-pos": [{ "mask-r-from": L() }],
|
|
1635
|
+
"mask-image-r-to-pos": [{ "mask-r-to": L() }],
|
|
1636
|
+
"mask-image-r-from-color": [{ "mask-r-from": N() }],
|
|
1637
|
+
"mask-image-r-to-color": [{ "mask-r-to": N() }],
|
|
1638
|
+
"mask-image-b-from-pos": [{ "mask-b-from": L() }],
|
|
1639
|
+
"mask-image-b-to-pos": [{ "mask-b-to": L() }],
|
|
1640
|
+
"mask-image-b-from-color": [{ "mask-b-from": N() }],
|
|
1641
|
+
"mask-image-b-to-color": [{ "mask-b-to": N() }],
|
|
1642
|
+
"mask-image-l-from-pos": [{ "mask-l-from": L() }],
|
|
1643
|
+
"mask-image-l-to-pos": [{ "mask-l-to": L() }],
|
|
1644
|
+
"mask-image-l-from-color": [{ "mask-l-from": N() }],
|
|
1645
|
+
"mask-image-l-to-color": [{ "mask-l-to": N() }],
|
|
1646
|
+
"mask-image-x-from-pos": [{ "mask-x-from": L() }],
|
|
1647
|
+
"mask-image-x-to-pos": [{ "mask-x-to": L() }],
|
|
1648
|
+
"mask-image-x-from-color": [{ "mask-x-from": N() }],
|
|
1649
|
+
"mask-image-x-to-color": [{ "mask-x-to": N() }],
|
|
1650
|
+
"mask-image-y-from-pos": [{ "mask-y-from": L() }],
|
|
1651
|
+
"mask-image-y-to-pos": [{ "mask-y-to": L() }],
|
|
1652
|
+
"mask-image-y-from-color": [{ "mask-y-from": N() }],
|
|
1653
|
+
"mask-image-y-to-color": [{ "mask-y-to": N() }],
|
|
1654
|
+
"mask-image-radial": [{ "mask-radial": [X, J] }],
|
|
1655
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": L() }],
|
|
1656
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": L() }],
|
|
1657
|
+
"mask-image-radial-from-color": [{ "mask-radial-from": N() }],
|
|
1658
|
+
"mask-image-radial-to-color": [{ "mask-radial-to": N() }],
|
|
1816
1659
|
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
1817
1660
|
"mask-image-radial-size": [{ "mask-radial": [{
|
|
1818
1661
|
closest: ["side", "corner"],
|
|
1819
1662
|
farthest: ["side", "corner"]
|
|
1820
1663
|
}] }],
|
|
1821
|
-
"mask-image-radial-pos": [{ "mask-radial-at":
|
|
1822
|
-
"mask-image-conic-pos": [{ "mask-conic": [
|
|
1823
|
-
"mask-image-conic-from-pos": [{ "mask-conic-from":
|
|
1824
|
-
"mask-image-conic-to-pos": [{ "mask-conic-to":
|
|
1825
|
-
"mask-image-conic-from-color": [{ "mask-conic-from":
|
|
1826
|
-
"mask-image-conic-to-color": [{ "mask-conic-to":
|
|
1664
|
+
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
1665
|
+
"mask-image-conic-pos": [{ "mask-conic": [G] }],
|
|
1666
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": L() }],
|
|
1667
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": L() }],
|
|
1668
|
+
"mask-image-conic-from-color": [{ "mask-conic-from": N() }],
|
|
1669
|
+
"mask-image-conic-to-color": [{ "mask-conic-to": N() }],
|
|
1827
1670
|
"mask-mode": [{ mask: [
|
|
1828
1671
|
"alpha",
|
|
1829
1672
|
"luminance",
|
|
@@ -1837,122 +1680,122 @@ var He = (e, t) => {
|
|
|
1837
1680
|
"stroke",
|
|
1838
1681
|
"view"
|
|
1839
1682
|
] }],
|
|
1840
|
-
"mask-position": [{ mask:
|
|
1841
|
-
"mask-repeat": [{ mask:
|
|
1842
|
-
"mask-size": [{ mask:
|
|
1683
|
+
"mask-position": [{ mask: re() }],
|
|
1684
|
+
"mask-repeat": [{ mask: ie() }],
|
|
1685
|
+
"mask-size": [{ mask: ae() }],
|
|
1843
1686
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
1844
1687
|
"mask-image": [{ mask: [
|
|
1845
1688
|
"none",
|
|
1846
|
-
|
|
1847
|
-
|
|
1689
|
+
X,
|
|
1690
|
+
J
|
|
1848
1691
|
] }],
|
|
1849
1692
|
filter: [{ filter: [
|
|
1850
1693
|
"",
|
|
1851
1694
|
"none",
|
|
1852
|
-
|
|
1853
|
-
|
|
1695
|
+
X,
|
|
1696
|
+
J
|
|
1854
1697
|
] }],
|
|
1855
|
-
blur: [{ blur:
|
|
1698
|
+
blur: [{ blur: ce() }],
|
|
1856
1699
|
brightness: [{ brightness: [
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1700
|
+
G,
|
|
1701
|
+
X,
|
|
1702
|
+
J
|
|
1860
1703
|
] }],
|
|
1861
1704
|
contrast: [{ contrast: [
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1705
|
+
G,
|
|
1706
|
+
X,
|
|
1707
|
+
J
|
|
1865
1708
|
] }],
|
|
1866
1709
|
"drop-shadow": [{ "drop-shadow": [
|
|
1867
1710
|
"",
|
|
1868
1711
|
"none",
|
|
1869
1712
|
p,
|
|
1870
|
-
|
|
1871
|
-
|
|
1713
|
+
Rt,
|
|
1714
|
+
Mt
|
|
1872
1715
|
] }],
|
|
1873
|
-
"drop-shadow-color": [{ "drop-shadow":
|
|
1716
|
+
"drop-shadow-color": [{ "drop-shadow": N() }],
|
|
1874
1717
|
grayscale: [{ grayscale: [
|
|
1875
1718
|
"",
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1719
|
+
G,
|
|
1720
|
+
X,
|
|
1721
|
+
J
|
|
1879
1722
|
] }],
|
|
1880
1723
|
"hue-rotate": [{ "hue-rotate": [
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1724
|
+
G,
|
|
1725
|
+
X,
|
|
1726
|
+
J
|
|
1884
1727
|
] }],
|
|
1885
1728
|
invert: [{ invert: [
|
|
1886
1729
|
"",
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1730
|
+
G,
|
|
1731
|
+
X,
|
|
1732
|
+
J
|
|
1890
1733
|
] }],
|
|
1891
1734
|
saturate: [{ saturate: [
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1735
|
+
G,
|
|
1736
|
+
X,
|
|
1737
|
+
J
|
|
1895
1738
|
] }],
|
|
1896
1739
|
sepia: [{ sepia: [
|
|
1897
1740
|
"",
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1741
|
+
G,
|
|
1742
|
+
X,
|
|
1743
|
+
J
|
|
1901
1744
|
] }],
|
|
1902
1745
|
"backdrop-filter": [{ "backdrop-filter": [
|
|
1903
1746
|
"",
|
|
1904
1747
|
"none",
|
|
1905
|
-
|
|
1906
|
-
|
|
1748
|
+
X,
|
|
1749
|
+
J
|
|
1907
1750
|
] }],
|
|
1908
|
-
"backdrop-blur": [{ "backdrop-blur":
|
|
1751
|
+
"backdrop-blur": [{ "backdrop-blur": ce() }],
|
|
1909
1752
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1753
|
+
G,
|
|
1754
|
+
X,
|
|
1755
|
+
J
|
|
1913
1756
|
] }],
|
|
1914
1757
|
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1758
|
+
G,
|
|
1759
|
+
X,
|
|
1760
|
+
J
|
|
1918
1761
|
] }],
|
|
1919
1762
|
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
1920
1763
|
"",
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1764
|
+
G,
|
|
1765
|
+
X,
|
|
1766
|
+
J
|
|
1924
1767
|
] }],
|
|
1925
1768
|
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1769
|
+
G,
|
|
1770
|
+
X,
|
|
1771
|
+
J
|
|
1929
1772
|
] }],
|
|
1930
1773
|
"backdrop-invert": [{ "backdrop-invert": [
|
|
1931
1774
|
"",
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1775
|
+
G,
|
|
1776
|
+
X,
|
|
1777
|
+
J
|
|
1935
1778
|
] }],
|
|
1936
1779
|
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1780
|
+
G,
|
|
1781
|
+
X,
|
|
1782
|
+
J
|
|
1940
1783
|
] }],
|
|
1941
1784
|
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1785
|
+
G,
|
|
1786
|
+
X,
|
|
1787
|
+
J
|
|
1945
1788
|
] }],
|
|
1946
1789
|
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1947
1790
|
"",
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1791
|
+
G,
|
|
1792
|
+
X,
|
|
1793
|
+
J
|
|
1951
1794
|
] }],
|
|
1952
1795
|
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
1953
|
-
"border-spacing": [{ "border-spacing":
|
|
1954
|
-
"border-spacing-x": [{ "border-spacing-x":
|
|
1955
|
-
"border-spacing-y": [{ "border-spacing-y":
|
|
1796
|
+
"border-spacing": [{ "border-spacing": w() }],
|
|
1797
|
+
"border-spacing-x": [{ "border-spacing-x": w() }],
|
|
1798
|
+
"border-spacing-y": [{ "border-spacing-y": w() }],
|
|
1956
1799
|
"table-layout": [{ table: ["auto", "fixed"] }],
|
|
1957
1800
|
caption: [{ caption: ["top", "bottom"] }],
|
|
1958
1801
|
transition: [{ transition: [
|
|
@@ -1963,76 +1806,76 @@ var He = (e, t) => {
|
|
|
1963
1806
|
"shadow",
|
|
1964
1807
|
"transform",
|
|
1965
1808
|
"none",
|
|
1966
|
-
|
|
1967
|
-
|
|
1809
|
+
X,
|
|
1810
|
+
J
|
|
1968
1811
|
] }],
|
|
1969
1812
|
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
1970
1813
|
duration: [{ duration: [
|
|
1971
|
-
|
|
1814
|
+
G,
|
|
1972
1815
|
"initial",
|
|
1973
|
-
|
|
1974
|
-
|
|
1816
|
+
X,
|
|
1817
|
+
J
|
|
1975
1818
|
] }],
|
|
1976
1819
|
ease: [{ ease: [
|
|
1977
1820
|
"linear",
|
|
1978
1821
|
"initial",
|
|
1979
1822
|
_,
|
|
1980
|
-
|
|
1981
|
-
|
|
1823
|
+
X,
|
|
1824
|
+
J
|
|
1982
1825
|
] }],
|
|
1983
1826
|
delay: [{ delay: [
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1827
|
+
G,
|
|
1828
|
+
X,
|
|
1829
|
+
J
|
|
1987
1830
|
] }],
|
|
1988
1831
|
animate: [{ animate: [
|
|
1989
1832
|
"none",
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1833
|
+
v,
|
|
1834
|
+
X,
|
|
1835
|
+
J
|
|
1993
1836
|
] }],
|
|
1994
1837
|
backface: [{ backface: ["hidden", "visible"] }],
|
|
1995
1838
|
perspective: [{ perspective: [
|
|
1996
1839
|
h,
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
] }],
|
|
2000
|
-
"perspective-origin": [{ "perspective-origin":
|
|
2001
|
-
rotate: [{ rotate:
|
|
2002
|
-
"rotate-x": [{ "rotate-x":
|
|
2003
|
-
"rotate-y": [{ "rotate-y":
|
|
2004
|
-
"rotate-z": [{ "rotate-z":
|
|
2005
|
-
scale: [{ scale:
|
|
2006
|
-
"scale-x": [{ "scale-x":
|
|
2007
|
-
"scale-y": [{ "scale-y":
|
|
2008
|
-
"scale-z": [{ "scale-z":
|
|
1840
|
+
X,
|
|
1841
|
+
J
|
|
1842
|
+
] }],
|
|
1843
|
+
"perspective-origin": [{ "perspective-origin": x() }],
|
|
1844
|
+
rotate: [{ rotate: R() }],
|
|
1845
|
+
"rotate-x": [{ "rotate-x": R() }],
|
|
1846
|
+
"rotate-y": [{ "rotate-y": R() }],
|
|
1847
|
+
"rotate-z": [{ "rotate-z": R() }],
|
|
1848
|
+
scale: [{ scale: z() }],
|
|
1849
|
+
"scale-x": [{ "scale-x": z() }],
|
|
1850
|
+
"scale-y": [{ "scale-y": z() }],
|
|
1851
|
+
"scale-z": [{ "scale-z": z() }],
|
|
2009
1852
|
"scale-3d": ["scale-3d"],
|
|
2010
|
-
skew: [{ skew:
|
|
2011
|
-
"skew-x": [{ "skew-x":
|
|
2012
|
-
"skew-y": [{ "skew-y":
|
|
1853
|
+
skew: [{ skew: le() }],
|
|
1854
|
+
"skew-x": [{ "skew-x": le() }],
|
|
1855
|
+
"skew-y": [{ "skew-y": le() }],
|
|
2013
1856
|
transform: [{ transform: [
|
|
2014
|
-
|
|
2015
|
-
|
|
1857
|
+
X,
|
|
1858
|
+
J,
|
|
2016
1859
|
"",
|
|
2017
1860
|
"none",
|
|
2018
1861
|
"gpu",
|
|
2019
1862
|
"cpu"
|
|
2020
1863
|
] }],
|
|
2021
|
-
"transform-origin": [{ origin:
|
|
1864
|
+
"transform-origin": [{ origin: x() }],
|
|
2022
1865
|
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
2023
|
-
translate: [{ translate:
|
|
2024
|
-
"translate-x": [{ "translate-x":
|
|
2025
|
-
"translate-y": [{ "translate-y":
|
|
2026
|
-
"translate-z": [{ "translate-z":
|
|
1866
|
+
translate: [{ translate: B() }],
|
|
1867
|
+
"translate-x": [{ "translate-x": B() }],
|
|
1868
|
+
"translate-y": [{ "translate-y": B() }],
|
|
1869
|
+
"translate-z": [{ "translate-z": B() }],
|
|
2027
1870
|
"translate-none": ["translate-none"],
|
|
2028
1871
|
zoom: [{ zoom: [
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
1872
|
+
K,
|
|
1873
|
+
X,
|
|
1874
|
+
J
|
|
2032
1875
|
] }],
|
|
2033
|
-
accent: [{ accent:
|
|
1876
|
+
accent: [{ accent: N() }],
|
|
2034
1877
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
2035
|
-
"caret-color": [{ caret:
|
|
1878
|
+
"caret-color": [{ caret: N() }],
|
|
2036
1879
|
"color-scheme": [{ scheme: [
|
|
2037
1880
|
"normal",
|
|
2038
1881
|
"dark",
|
|
@@ -2078,8 +1921,8 @@ var He = (e, t) => {
|
|
|
2078
1921
|
"nwse-resize",
|
|
2079
1922
|
"zoom-in",
|
|
2080
1923
|
"zoom-out",
|
|
2081
|
-
|
|
2082
|
-
|
|
1924
|
+
X,
|
|
1925
|
+
J
|
|
2083
1926
|
] }],
|
|
2084
1927
|
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
2085
1928
|
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
@@ -2090,8 +1933,8 @@ var He = (e, t) => {
|
|
|
2090
1933
|
"x"
|
|
2091
1934
|
] }],
|
|
2092
1935
|
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
2093
|
-
"scrollbar-thumb-color": [{ "scrollbar-thumb":
|
|
2094
|
-
"scrollbar-track-color": [{ "scrollbar-track":
|
|
1936
|
+
"scrollbar-thumb-color": [{ "scrollbar-thumb": N() }],
|
|
1937
|
+
"scrollbar-track-color": [{ "scrollbar-track": N() }],
|
|
2095
1938
|
"scrollbar-gutter": [{ "scrollbar-gutter": [
|
|
2096
1939
|
"auto",
|
|
2097
1940
|
"stable",
|
|
@@ -2102,28 +1945,28 @@ var He = (e, t) => {
|
|
|
2102
1945
|
"thin",
|
|
2103
1946
|
"none"
|
|
2104
1947
|
] }],
|
|
2105
|
-
"scroll-m": [{ "scroll-m":
|
|
2106
|
-
"scroll-mx": [{ "scroll-mx":
|
|
2107
|
-
"scroll-my": [{ "scroll-my":
|
|
2108
|
-
"scroll-ms": [{ "scroll-ms":
|
|
2109
|
-
"scroll-me": [{ "scroll-me":
|
|
2110
|
-
"scroll-mbs": [{ "scroll-mbs":
|
|
2111
|
-
"scroll-mbe": [{ "scroll-mbe":
|
|
2112
|
-
"scroll-mt": [{ "scroll-mt":
|
|
2113
|
-
"scroll-mr": [{ "scroll-mr":
|
|
2114
|
-
"scroll-mb": [{ "scroll-mb":
|
|
2115
|
-
"scroll-ml": [{ "scroll-ml":
|
|
2116
|
-
"scroll-p": [{ "scroll-p":
|
|
2117
|
-
"scroll-px": [{ "scroll-px":
|
|
2118
|
-
"scroll-py": [{ "scroll-py":
|
|
2119
|
-
"scroll-ps": [{ "scroll-ps":
|
|
2120
|
-
"scroll-pe": [{ "scroll-pe":
|
|
2121
|
-
"scroll-pbs": [{ "scroll-pbs":
|
|
2122
|
-
"scroll-pbe": [{ "scroll-pbe":
|
|
2123
|
-
"scroll-pt": [{ "scroll-pt":
|
|
2124
|
-
"scroll-pr": [{ "scroll-pr":
|
|
2125
|
-
"scroll-pb": [{ "scroll-pb":
|
|
2126
|
-
"scroll-pl": [{ "scroll-pl":
|
|
1948
|
+
"scroll-m": [{ "scroll-m": w() }],
|
|
1949
|
+
"scroll-mx": [{ "scroll-mx": w() }],
|
|
1950
|
+
"scroll-my": [{ "scroll-my": w() }],
|
|
1951
|
+
"scroll-ms": [{ "scroll-ms": w() }],
|
|
1952
|
+
"scroll-me": [{ "scroll-me": w() }],
|
|
1953
|
+
"scroll-mbs": [{ "scroll-mbs": w() }],
|
|
1954
|
+
"scroll-mbe": [{ "scroll-mbe": w() }],
|
|
1955
|
+
"scroll-mt": [{ "scroll-mt": w() }],
|
|
1956
|
+
"scroll-mr": [{ "scroll-mr": w() }],
|
|
1957
|
+
"scroll-mb": [{ "scroll-mb": w() }],
|
|
1958
|
+
"scroll-ml": [{ "scroll-ml": w() }],
|
|
1959
|
+
"scroll-p": [{ "scroll-p": w() }],
|
|
1960
|
+
"scroll-px": [{ "scroll-px": w() }],
|
|
1961
|
+
"scroll-py": [{ "scroll-py": w() }],
|
|
1962
|
+
"scroll-ps": [{ "scroll-ps": w() }],
|
|
1963
|
+
"scroll-pe": [{ "scroll-pe": w() }],
|
|
1964
|
+
"scroll-pbs": [{ "scroll-pbs": w() }],
|
|
1965
|
+
"scroll-pbe": [{ "scroll-pbe": w() }],
|
|
1966
|
+
"scroll-pt": [{ "scroll-pt": w() }],
|
|
1967
|
+
"scroll-pr": [{ "scroll-pr": w() }],
|
|
1968
|
+
"scroll-pb": [{ "scroll-pb": w() }],
|
|
1969
|
+
"scroll-pl": [{ "scroll-pl": w() }],
|
|
2127
1970
|
"snap-align": [{ snap: [
|
|
2128
1971
|
"start",
|
|
2129
1972
|
"end",
|
|
@@ -2165,17 +2008,17 @@ var He = (e, t) => {
|
|
|
2165
2008
|
"scroll",
|
|
2166
2009
|
"contents",
|
|
2167
2010
|
"transform",
|
|
2168
|
-
|
|
2169
|
-
|
|
2011
|
+
X,
|
|
2012
|
+
J
|
|
2170
2013
|
] }],
|
|
2171
|
-
fill: [{ fill: ["none", ...
|
|
2014
|
+
fill: [{ fill: ["none", ...N()] }],
|
|
2172
2015
|
"stroke-w": [{ stroke: [
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2016
|
+
G,
|
|
2017
|
+
Nt,
|
|
2018
|
+
Y,
|
|
2019
|
+
Dt
|
|
2177
2020
|
] }],
|
|
2178
|
-
stroke: [{ stroke: ["none", ...
|
|
2021
|
+
stroke: [{ stroke: ["none", ...N()] }],
|
|
2179
2022
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
2180
2023
|
},
|
|
2181
2024
|
conflictingClassGroups: {
|
|
@@ -2364,38 +2207,392 @@ var He = (e, t) => {
|
|
|
2364
2207
|
});
|
|
2365
2208
|
//#endregion
|
|
2366
2209
|
//#region src/ui/browser/utils.ts
|
|
2367
|
-
function
|
|
2368
|
-
return
|
|
2210
|
+
function Yt(...e) {
|
|
2211
|
+
return Jt(De(e));
|
|
2212
|
+
}
|
|
2213
|
+
//#endregion
|
|
2214
|
+
//#region src/ui/browser/button.tsx
|
|
2215
|
+
var Xt = Ae("nodrag group/button relative inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap no-underline transition-[color,background-color,border-color,box-shadow,opacity,transform] outline-none select-none before:absolute before:inset-0 before:content-[''] motion-reduce:transition-none focus-visible:border-border focus-visible:outline-2 focus-visible:outline-solid focus-visible:ring-0 focus-visible:aria-invalid:ring-0 focus-visible:outline-offset-1 focus-visible:outline-ring active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
2216
|
+
variants: {
|
|
2217
|
+
variant: {
|
|
2218
|
+
default: "bg-primary text-primary-foreground hover:bg-primary/80",
|
|
2219
|
+
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
|
|
2220
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
|
|
2221
|
+
ghost: "hover:bg-muted hover:text-foreground aria-current:bg-muted aria-current:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
|
|
2222
|
+
disclosure: "text-muted-foreground hover:bg-muted hover:text-foreground dark:hover:bg-muted/50",
|
|
2223
|
+
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30",
|
|
2224
|
+
link: "text-primary hover:text-primary/80"
|
|
2225
|
+
},
|
|
2226
|
+
size: {
|
|
2227
|
+
default: "h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
|
|
2228
|
+
xs: "h-6 gap-1 rounded-md px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
|
|
2229
|
+
sm: "h-7 gap-1 rounded-md px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",
|
|
2230
|
+
lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
|
|
2231
|
+
icon: "size-8",
|
|
2232
|
+
"icon-xs": "size-6 rounded-md in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3",
|
|
2233
|
+
"icon-sm": "size-7 rounded-md in-data-[slot=button-group]:rounded-lg",
|
|
2234
|
+
"icon-lg": "size-9"
|
|
2235
|
+
}
|
|
2236
|
+
},
|
|
2237
|
+
defaultVariants: {
|
|
2238
|
+
variant: "default",
|
|
2239
|
+
size: "default"
|
|
2240
|
+
}
|
|
2241
|
+
}), Zt = n(function({ className: e, variant: t = "default", size: n = "default", ...i }, a) {
|
|
2242
|
+
return /* @__PURE__ */ r(Te, {
|
|
2243
|
+
ref: a,
|
|
2244
|
+
"data-slot": "button",
|
|
2245
|
+
"data-size": n,
|
|
2246
|
+
"data-variant": t,
|
|
2247
|
+
className: Yt(Xt({
|
|
2248
|
+
variant: t,
|
|
2249
|
+
size: n,
|
|
2250
|
+
className: e
|
|
2251
|
+
})),
|
|
2252
|
+
...i
|
|
2253
|
+
});
|
|
2254
|
+
}), Qt = /*#__PURE__*/ function(e) {
|
|
2255
|
+
return e.disabled = "data-disabled", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.filled = "data-filled", e.focused = "data-focused", e;
|
|
2256
|
+
}({}), $t = {
|
|
2257
|
+
badInput: !1,
|
|
2258
|
+
customError: !1,
|
|
2259
|
+
patternMismatch: !1,
|
|
2260
|
+
rangeOverflow: !1,
|
|
2261
|
+
rangeUnderflow: !1,
|
|
2262
|
+
stepMismatch: !1,
|
|
2263
|
+
tooLong: !1,
|
|
2264
|
+
tooShort: !1,
|
|
2265
|
+
typeMismatch: !1,
|
|
2266
|
+
valid: null,
|
|
2267
|
+
valueMissing: !1
|
|
2268
|
+
}, $ = {
|
|
2269
|
+
valid: null,
|
|
2270
|
+
touched: !1,
|
|
2271
|
+
dirty: !1,
|
|
2272
|
+
filled: !1,
|
|
2273
|
+
focused: !1
|
|
2274
|
+
}, en = {
|
|
2275
|
+
disabled: !1,
|
|
2276
|
+
...$
|
|
2277
|
+
}, tn = { valid(e) {
|
|
2278
|
+
return e === null ? null : e ? { [Qt.valid]: "" } : { [Qt.invalid]: "" };
|
|
2279
|
+
} }, nn = /*#__PURE__*/ e.createContext({
|
|
2280
|
+
invalid: void 0,
|
|
2281
|
+
name: void 0,
|
|
2282
|
+
validityData: {
|
|
2283
|
+
state: $t,
|
|
2284
|
+
errors: [],
|
|
2285
|
+
error: "",
|
|
2286
|
+
value: "",
|
|
2287
|
+
initialValue: null
|
|
2288
|
+
},
|
|
2289
|
+
setValidityData: V,
|
|
2290
|
+
disabled: void 0,
|
|
2291
|
+
touched: $.touched,
|
|
2292
|
+
setTouched: V,
|
|
2293
|
+
dirty: $.dirty,
|
|
2294
|
+
setDirty: V,
|
|
2295
|
+
filled: $.filled,
|
|
2296
|
+
setFilled: V,
|
|
2297
|
+
focused: $.focused,
|
|
2298
|
+
setFocused: V,
|
|
2299
|
+
validate: () => null,
|
|
2300
|
+
validationMode: "onSubmit",
|
|
2301
|
+
validationDebounceTime: 0,
|
|
2302
|
+
shouldValidateOnChange: () => !1,
|
|
2303
|
+
state: en,
|
|
2304
|
+
markedDirtyRef: { current: !1 },
|
|
2305
|
+
registerFieldControl: V,
|
|
2306
|
+
validation: {
|
|
2307
|
+
getValidationProps: (e = H) => e,
|
|
2308
|
+
getInputValidationProps: (e = H) => e,
|
|
2309
|
+
inputRef: { current: null },
|
|
2310
|
+
commit: async () => {}
|
|
2311
|
+
}
|
|
2312
|
+
});
|
|
2313
|
+
process.env.NODE_ENV !== "production" && (nn.displayName = "FieldRootContext");
|
|
2314
|
+
function rn(t = !0) {
|
|
2315
|
+
let n = e.useContext(nn);
|
|
2316
|
+
if (n.setValidityData === V && !t) throw Error(process.env.NODE_ENV === "production" ? N(28) : "Base UI: FieldRootContext is missing. Field parts must be placed within <Field.Root>.");
|
|
2317
|
+
return n;
|
|
2318
|
+
}
|
|
2319
|
+
//#endregion
|
|
2320
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useId.js
|
|
2321
|
+
var an = 0;
|
|
2322
|
+
function on(t, n = "mui") {
|
|
2323
|
+
let [r, i] = e.useState(t), a = t || r;
|
|
2324
|
+
return e.useEffect(() => {
|
|
2325
|
+
r ?? (an += 1, i(`${n}-${an}`));
|
|
2326
|
+
}, [r, n]), a;
|
|
2327
|
+
}
|
|
2328
|
+
var sn = _.useId;
|
|
2329
|
+
function cn(e, t) {
|
|
2330
|
+
if (sn !== void 0) {
|
|
2331
|
+
let n = sn();
|
|
2332
|
+
return e ?? (t ? `${t}-${n}` : n);
|
|
2333
|
+
}
|
|
2334
|
+
return on(e, t);
|
|
2335
|
+
}
|
|
2336
|
+
//#endregion
|
|
2337
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/useBaseUiId.js
|
|
2338
|
+
function ln(e) {
|
|
2339
|
+
return cn(e, "base-ui");
|
|
2340
|
+
}
|
|
2341
|
+
//#endregion
|
|
2342
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/labelable-provider/LabelableContext.js
|
|
2343
|
+
var un = /*#__PURE__*/ e.createContext({
|
|
2344
|
+
controlId: void 0,
|
|
2345
|
+
registerControlId: V,
|
|
2346
|
+
labelId: void 0,
|
|
2347
|
+
setLabelId: V,
|
|
2348
|
+
messageIds: [],
|
|
2349
|
+
setMessageIds: V,
|
|
2350
|
+
getDescriptionProps: (e) => e
|
|
2351
|
+
});
|
|
2352
|
+
process.env.NODE_ENV !== "production" && (un.displayName = "LabelableContext");
|
|
2353
|
+
function dn() {
|
|
2354
|
+
return e.useContext(un);
|
|
2355
|
+
}
|
|
2356
|
+
//#endregion
|
|
2357
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/labelable-provider/useLabelableId.js
|
|
2358
|
+
function fn(t = {}) {
|
|
2359
|
+
let { id: n, implicit: r = !1, controlRef: i } = t, { controlId: a, registerControlId: s } = dn(), c = ln(n), u = r ? a : void 0, d = l(() => Symbol("labelable-control")), p = e.useRef(!1), m = e.useRef(n != null), h = f(() => {
|
|
2360
|
+
!p.current || s === V || (p.current = !1, s(d.current, void 0));
|
|
2361
|
+
});
|
|
2362
|
+
return v(() => {
|
|
2363
|
+
if (s === V) return;
|
|
2364
|
+
let e;
|
|
2365
|
+
if (r) {
|
|
2366
|
+
let t = i?.current;
|
|
2367
|
+
e = o(t) && t.closest("label") != null ? n ?? null : u ?? c;
|
|
2368
|
+
} else if (n != null) m.current = !0, e = n;
|
|
2369
|
+
else if (m.current) e = c;
|
|
2370
|
+
else {
|
|
2371
|
+
h();
|
|
2372
|
+
return;
|
|
2373
|
+
}
|
|
2374
|
+
if (e === void 0) {
|
|
2375
|
+
h();
|
|
2376
|
+
return;
|
|
2377
|
+
}
|
|
2378
|
+
p.current = !0, s(d.current, e);
|
|
2379
|
+
}, [
|
|
2380
|
+
n,
|
|
2381
|
+
i,
|
|
2382
|
+
u,
|
|
2383
|
+
s,
|
|
2384
|
+
r,
|
|
2385
|
+
c,
|
|
2386
|
+
d,
|
|
2387
|
+
h
|
|
2388
|
+
]), e.useEffect(() => h, [h]), a ?? c;
|
|
2389
|
+
}
|
|
2390
|
+
//#endregion
|
|
2391
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/owner.js
|
|
2392
|
+
function pn(e) {
|
|
2393
|
+
return e?.ownerDocument || document;
|
|
2394
|
+
}
|
|
2395
|
+
//#endregion
|
|
2396
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/shadowDom.js
|
|
2397
|
+
function mn(e) {
|
|
2398
|
+
let t = e.activeElement;
|
|
2399
|
+
for (; t?.shadowRoot?.activeElement != null;) t = t.shadowRoot.activeElement;
|
|
2400
|
+
return t;
|
|
2401
|
+
}
|
|
2402
|
+
//#endregion
|
|
2403
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useControlled.js
|
|
2404
|
+
function hn({ controlled: t, default: n, name: r, state: i = "value" }) {
|
|
2405
|
+
let { current: a } = e.useRef(t !== void 0), [o, s] = e.useState(n), c = a ? t : o;
|
|
2406
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2407
|
+
e.useEffect(() => {
|
|
2408
|
+
a !== (t !== void 0) && g([
|
|
2409
|
+
`A component is changing the ${a ? "" : "un"}controlled ${i} state of ${r} to be ${a ? "un" : ""}controlled.`,
|
|
2410
|
+
"Elements should not switch from uncontrolled to controlled (or vice versa).",
|
|
2411
|
+
`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,
|
|
2412
|
+
"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.",
|
|
2413
|
+
"More info: https://fb.me/react-controlled-components"
|
|
2414
|
+
].join("\n"));
|
|
2415
|
+
}, [
|
|
2416
|
+
i,
|
|
2417
|
+
r,
|
|
2418
|
+
t
|
|
2419
|
+
]);
|
|
2420
|
+
let { current: o } = e.useRef(n);
|
|
2421
|
+
e.useEffect(() => {
|
|
2422
|
+
!a && gn(o) !== gn(n) && g([`A component is changing the default ${i} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join("\n"));
|
|
2423
|
+
}, [n]);
|
|
2424
|
+
}
|
|
2425
|
+
return [c, e.useCallback((e) => {
|
|
2426
|
+
a || s(e);
|
|
2427
|
+
}, [])];
|
|
2428
|
+
}
|
|
2429
|
+
function gn(e) {
|
|
2430
|
+
let t = 0, n = /* @__PURE__ */ new WeakMap();
|
|
2431
|
+
try {
|
|
2432
|
+
return JSON.stringify(e, function(e, r) {
|
|
2433
|
+
if (!(e === "_owner" && this != null && typeof this == "object" && "$$typeof" in this)) {
|
|
2434
|
+
if (typeof r == "bigint") return `__bigint__:${r}`;
|
|
2435
|
+
if (typeof r == "object" && r) {
|
|
2436
|
+
let e = n.get(r);
|
|
2437
|
+
if (e !== void 0) return `__object__:${e}`;
|
|
2438
|
+
n.set(r, t), t += 1;
|
|
2439
|
+
}
|
|
2440
|
+
return r;
|
|
2441
|
+
}
|
|
2442
|
+
}) ?? `__top__:${typeof e}`;
|
|
2443
|
+
} catch {
|
|
2444
|
+
return "__unserializable__";
|
|
2445
|
+
}
|
|
2446
|
+
}
|
|
2447
|
+
//#endregion
|
|
2448
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/field-register-control/useRegisterFieldControl.js
|
|
2449
|
+
function _n(t, n) {
|
|
2450
|
+
let { enabled: r = !0, getValue: i, id: a, value: o } = n, { registerFieldControl: s } = rn(), c = e.useRef(null);
|
|
2451
|
+
c.current ||= Symbol(), v(() => {
|
|
2452
|
+
let e = c.current;
|
|
2453
|
+
if (!(!e || !r)) return s(e, {
|
|
2454
|
+
controlRef: t,
|
|
2455
|
+
getValue: i,
|
|
2456
|
+
id: a,
|
|
2457
|
+
value: o
|
|
2458
|
+
}), () => {
|
|
2459
|
+
s(e, void 0);
|
|
2460
|
+
};
|
|
2461
|
+
}, [
|
|
2462
|
+
t,
|
|
2463
|
+
r,
|
|
2464
|
+
i,
|
|
2465
|
+
a,
|
|
2466
|
+
s,
|
|
2467
|
+
o
|
|
2468
|
+
]);
|
|
2469
|
+
}
|
|
2470
|
+
//#endregion
|
|
2471
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/reason-parts.js
|
|
2472
|
+
var vn = "none";
|
|
2473
|
+
//#endregion
|
|
2474
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/createBaseUIEventDetails.js
|
|
2475
|
+
function yn(e, t, n, r) {
|
|
2476
|
+
let i = !1, a = !1, o = r ?? H;
|
|
2477
|
+
return {
|
|
2478
|
+
reason: e,
|
|
2479
|
+
event: t ?? new Event("base-ui"),
|
|
2480
|
+
cancel() {
|
|
2481
|
+
i = !0;
|
|
2482
|
+
},
|
|
2483
|
+
allowPropagation() {
|
|
2484
|
+
a = !0;
|
|
2485
|
+
},
|
|
2486
|
+
get isCanceled() {
|
|
2487
|
+
return i;
|
|
2488
|
+
},
|
|
2489
|
+
get isPropagationAllowed() {
|
|
2490
|
+
return a;
|
|
2491
|
+
},
|
|
2492
|
+
trigger: n,
|
|
2493
|
+
...o
|
|
2494
|
+
};
|
|
2369
2495
|
}
|
|
2370
2496
|
//#endregion
|
|
2497
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/field/control/FieldControl.js
|
|
2498
|
+
var bn = /*#__PURE__*/ e.forwardRef(function(t, n) {
|
|
2499
|
+
let { render: r, className: i, id: a, name: o, value: s, disabled: c = !1, onValueChange: l, defaultValue: u, autoFocus: d = !1, style: p, ...m } = t, { state: h, name: g, disabled: _, setTouched: y, setDirty: b, validityData: x, setFocused: S, setFilled: C, validationMode: w, validation: T } = rn(), ee = _ || c, E = g ?? o, D = {
|
|
2500
|
+
...h,
|
|
2501
|
+
disabled: ee
|
|
2502
|
+
}, { labelId: te } = dn(), O = fn({ id: a });
|
|
2503
|
+
v(() => {
|
|
2504
|
+
let e = s != null;
|
|
2505
|
+
T.inputRef.current?.value || e && s !== "" ? C(!0) : e && s === "" && C(!1);
|
|
2506
|
+
}, [
|
|
2507
|
+
T.inputRef,
|
|
2508
|
+
C,
|
|
2509
|
+
s
|
|
2510
|
+
]);
|
|
2511
|
+
let k = e.useRef(null);
|
|
2512
|
+
v(() => {
|
|
2513
|
+
d && k.current === mn(pn(k.current)) && S(!0);
|
|
2514
|
+
}, [d, S]);
|
|
2515
|
+
let [A] = hn({
|
|
2516
|
+
controlled: s,
|
|
2517
|
+
default: u,
|
|
2518
|
+
name: "FieldControl",
|
|
2519
|
+
state: "value"
|
|
2520
|
+
}), j = s !== void 0, M = j ? A : void 0, ne = f(() => T.inputRef.current?.value);
|
|
2521
|
+
return _n(T.inputRef, {
|
|
2522
|
+
id: O,
|
|
2523
|
+
value: M,
|
|
2524
|
+
getValue: ne
|
|
2525
|
+
}), ge("input", t, {
|
|
2526
|
+
ref: [n, k],
|
|
2527
|
+
state: D,
|
|
2528
|
+
props: [
|
|
2529
|
+
{
|
|
2530
|
+
id: O,
|
|
2531
|
+
disabled: ee,
|
|
2532
|
+
name: E,
|
|
2533
|
+
ref: T.inputRef,
|
|
2534
|
+
"aria-labelledby": te,
|
|
2535
|
+
autoFocus: d,
|
|
2536
|
+
...j ? { value: M } : { defaultValue: u },
|
|
2537
|
+
onChange(e) {
|
|
2538
|
+
let t = e.currentTarget.value;
|
|
2539
|
+
l?.(t, yn(vn, e.nativeEvent)), b(t !== x.initialValue), C(t !== "");
|
|
2540
|
+
},
|
|
2541
|
+
onFocus() {
|
|
2542
|
+
S(!0);
|
|
2543
|
+
},
|
|
2544
|
+
onBlur(e) {
|
|
2545
|
+
y(!0), S(!1), w === "onBlur" && T.commit(e.currentTarget.value);
|
|
2546
|
+
},
|
|
2547
|
+
onKeyDown(e) {
|
|
2548
|
+
e.currentTarget.tagName === "INPUT" && e.key === "Enter" && (y(!0), T.commit(e.currentTarget.value));
|
|
2549
|
+
}
|
|
2550
|
+
},
|
|
2551
|
+
T.getInputValidationProps(),
|
|
2552
|
+
m
|
|
2553
|
+
],
|
|
2554
|
+
stateAttributesMapping: tn
|
|
2555
|
+
});
|
|
2556
|
+
});
|
|
2557
|
+
process.env.NODE_ENV !== "production" && (bn.displayName = "FieldControl");
|
|
2558
|
+
//#endregion
|
|
2559
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/input/Input.js
|
|
2560
|
+
var xn = /*#__PURE__*/ e.forwardRef(function(e, t) {
|
|
2561
|
+
return /*#__PURE__*/ r(bn, {
|
|
2562
|
+
ref: t,
|
|
2563
|
+
...e
|
|
2564
|
+
});
|
|
2565
|
+
});
|
|
2566
|
+
process.env.NODE_ENV !== "production" && (xn.displayName = "Input");
|
|
2567
|
+
//#endregion
|
|
2371
2568
|
//#region src/ui/browser/input.tsx
|
|
2372
|
-
var
|
|
2373
|
-
return /* @__PURE__ */
|
|
2569
|
+
var Sn = e.forwardRef(function({ className: e, type: t, ...n }, i) {
|
|
2570
|
+
return /* @__PURE__ */ r(xn, {
|
|
2374
2571
|
ref: i,
|
|
2375
2572
|
type: t,
|
|
2376
2573
|
"data-slot": "input",
|
|
2377
|
-
className:
|
|
2378
|
-
...
|
|
2574
|
+
className: Yt("h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground data-[slot=input]:focus-visible:text-field-focus data-[slot=input]:focus-visible:aria-invalid:text-field-focus disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", e),
|
|
2575
|
+
...n
|
|
2379
2576
|
});
|
|
2380
2577
|
});
|
|
2381
2578
|
//#endregion
|
|
2382
2579
|
//#region src/ui/browser/label.tsx
|
|
2383
|
-
function
|
|
2384
|
-
return /* @__PURE__ */
|
|
2580
|
+
function Cn({ className: e, ...t }) {
|
|
2581
|
+
return /* @__PURE__ */ r("label", {
|
|
2385
2582
|
"data-slot": "label",
|
|
2386
|
-
className:
|
|
2583
|
+
className: Yt("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
|
|
2387
2584
|
...t
|
|
2388
2585
|
});
|
|
2389
2586
|
}
|
|
2390
2587
|
//#endregion
|
|
2391
2588
|
//#region src/ui/browser/textarea.tsx
|
|
2392
|
-
var
|
|
2393
|
-
return /* @__PURE__ */
|
|
2394
|
-
ref:
|
|
2589
|
+
var wn = e.forwardRef(function({ className: e, ...t }, n) {
|
|
2590
|
+
return /* @__PURE__ */ r("textarea", {
|
|
2591
|
+
ref: n,
|
|
2395
2592
|
"data-slot": "textarea",
|
|
2396
|
-
className:
|
|
2593
|
+
className: Yt("flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:text-field-focus focus-visible:aria-invalid:text-field-focus disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", e),
|
|
2397
2594
|
...t
|
|
2398
2595
|
});
|
|
2399
|
-
});
|
|
2596
|
+
}), Tn = Zt;
|
|
2400
2597
|
//#endregion
|
|
2401
|
-
export {
|
|
2598
|
+
export { Tn as Button, Sn as Input, Cn as Label, wn as Textarea };
|