@expofp/floorplan 3.0.0-alpha.14 → 3.0.0-alpha.16
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/{Debug-Pul6-ZdY.js → Debug-DazuGIJc.js} +19 -10
- package/dist/browser/Demo-CXdISYQf.js +47 -0
- package/dist/browser/{Free-Dm2FRajw.js → Free-CVgHQ8yt.js} +29 -20
- package/dist/browser/Gallery-BMcvPLO_.js +288 -0
- package/dist/browser/GpsLoader-BiwFO3QG.js +140 -0
- package/dist/browser/{KioskStore-Bvvm0aNQ.js → KioskStore-NqUeUutQ.js} +58 -49
- package/dist/browser/Mapbox-PHCrBnx5.js +118 -0
- package/dist/browser/{SetKioskMode-BecTBVRp.js → SetKioskMode-DMQej1ec.js} +86 -77
- package/dist/browser/{ShowKiosk-C-6DHz7T.js → ShowKiosk-BWlBMcI7.js} +28 -19
- package/dist/browser/{ThreeComponent-Brnrh22I.js → ThreeComponent-Dmt2HPyX.js} +181 -172
- package/dist/browser/ViewerMenuPanel-CuqRZ7m1.js +77 -0
- package/dist/browser/boolean-editor-zsvPcNpX.js +157 -0
- package/dist/browser/bundle.json +32 -29
- package/dist/browser/{client-D3Op9Jdd.js → client-B2kCMH8A.js} +590 -581
- package/dist/browser/{data-0pZ-ZMEi.js → data-BtD6blv7.js} +276 -267
- package/dist/browser/{debug-overlay-6c_tWF4O.js → debug-overlay-CF0imHRX.js} +98 -89
- package/dist/browser/debug-ui-Zt7T7T-N.js +67 -0
- package/dist/browser/{favicon-DalyEhbd.js → favicon-Dj8hNa7i.js} +11 -2
- package/dist/browser/fetch-retry.umd-B-swKpFA.js +123 -0
- package/dist/browser/{flex-OW_m-DBA.js → flex-COa6XN1F.js} +80 -71
- package/dist/browser/{floorplan.ready-D-VQ-QvS.js → floorplan.ready-CNnM_Yyc.js} +12217 -14231
- package/dist/browser/fonts/efp-symbols.woff +0 -0
- package/dist/browser/index-B1P-x0sk.js +92 -0
- package/dist/browser/index-BEcZnTgd.js +54 -0
- package/dist/browser/{index-BUq8_R36.js → index-BeS6l0j-.js} +50 -41
- package/dist/browser/index-C04zJbbt.js +12475 -0
- package/dist/browser/index-CgWDjED_.js +57 -0
- package/dist/browser/{index-BuJlIIdP.js → index-CqICVJZO.js} +96 -87
- package/dist/browser/{index-AJbTBu7z.js → index-atMSRNM1.js} +258 -249
- package/dist/browser/index.js +11 -2
- package/dist/browser/jsx-runtime-DAY7g56y.js +40 -0
- package/dist/browser/locales/ar.json +3 -1
- package/dist/browser/locales/de.json +3 -1
- package/dist/browser/locales/es.json +3 -1
- package/dist/browser/locales/fr.json +3 -1
- package/dist/browser/locales/he.json +3 -1
- package/dist/browser/locales/it.json +3 -1
- package/dist/browser/locales/kk.json +3 -1
- package/dist/browser/locales/ko.json +3 -1
- package/dist/browser/locales/mn.json +3 -1
- package/dist/browser/locales/nl.json +3 -1
- package/dist/browser/locales/pl.json +3 -1
- package/dist/browser/locales/pt.json +3 -1
- package/dist/browser/locales/ru.json +3 -1
- package/dist/browser/locales/sv.json +3 -1
- package/dist/browser/locales/th.json +3 -1
- package/dist/browser/locales/tr.json +3 -1
- package/dist/browser/locales/uk.json +3 -1
- package/dist/browser/locales/vi.json +3 -1
- package/dist/browser/locales/zh.json +3 -1
- package/dist/browser/{main-CD9JioNt.js → main-DZpmA53N.js} +24 -15
- package/dist/browser/{particles.min-BZTb0pvb.js → particles.min-DXab_WLN.js} +43 -34
- package/dist/esm/components/Alert.d.ts +2 -0
- package/dist/esm/components/Alert.js +1 -1
- package/dist/esm/components/Badge.d.ts +3 -2
- package/dist/esm/components/Badge.js +1 -1
- package/dist/esm/components/CookieConsent.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/storage.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/storage.js +1 -1
- package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/components/Overlay.d.ts +2 -0
- package/dist/esm/components/Overlay.js +1 -1
- package/dist/esm/components/OverlayContainer.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlanner.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerHeader.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
- package/dist/esm/components/Schedule.js +1 -1
- package/dist/esm/components/SearchBox.js +1 -1
- package/dist/esm/components/ViewerMenuPanel.d.ts +5 -0
- package/dist/esm/components/ViewerMenuPanel.js +1 -0
- package/dist/esm/constants.d.ts +2 -0
- package/dist/esm/constants.js +1 -1
- package/dist/esm/floorplan.loader.d.ts +2 -0
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/services/routing.js +1 -1
- package/dist/esm/store/LayerStore.d.ts +1 -0
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/RoutePlannerStore.d.ts +16 -0
- package/dist/esm/store/RoutePlannerStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +1 -0
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/init-layers.js +1 -1
- package/dist/esm/tools/telemetry.d.ts +35 -0
- package/dist/esm/tools/telemetry.js +1 -0
- package/dist/esm/tools/track-event.d.ts +3 -1
- package/dist/esm/tools/track-event.js +1 -1
- package/dist/esm/utils/i18n.d.ts +2 -2
- package/dist/esm/utils/i18n.js +1 -1
- package/package.json +4 -3
- package/dist/browser/Demo-DN_Ej-P_.js +0 -38
- package/dist/browser/Gallery-TLr-wfCG.js +0 -279
- package/dist/browser/GpsLoader-CeS0cp98.js +0 -131
- package/dist/browser/Mapbox-DizBJSb0.js +0 -109
- package/dist/browser/boolean-editor-Duwgypgb.js +0 -148
- package/dist/browser/debug-ui-TGRI1j4k.js +0 -58
- package/dist/browser/fetch-retry.umd-BZ52tMyv.js +0 -114
- package/dist/browser/index-B2YV6GNs.js +0 -48
- package/dist/browser/index-D0SjrKD-.js +0 -45
- package/dist/browser/index-Vc2rrV4B.js +0 -83
- package/dist/browser/index-Zz9lJz5_.js +0 -10224
- package/dist/browser/jsx-runtime-jIxVPx5o.js +0 -31
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
import { r as l,
|
|
2
|
-
import { r as
|
|
3
|
-
import { j as g } from "./jsx-runtime-
|
|
1
|
+
import { r as l, ax as Y } from "./index-C04zJbbt.js";
|
|
2
|
+
import { r as H, y } from "./index-BEcZnTgd.js";
|
|
3
|
+
import { j as g } from "./jsx-runtime-DAY7g56y.js";
|
|
4
|
+
(function() {
|
|
5
|
+
try {
|
|
6
|
+
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
7
|
+
e.SENTRY_RELEASE = { id: "3.0.0-alpha.16" };
|
|
8
|
+
var t = new e.Error().stack;
|
|
9
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ed2f7d55-e025-430b-a785-31ffd8fe692d", e._sentryDebugIdIdentifier = "sentry-dbid-ed2f7d55-e025-430b-a785-31ffd8fe692d");
|
|
10
|
+
} catch {
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
4
13
|
function V(e, t) {
|
|
5
14
|
if (typeof e == "function")
|
|
6
15
|
return e(t);
|
|
@@ -22,13 +31,13 @@ function k(...e) {
|
|
|
22
31
|
};
|
|
23
32
|
};
|
|
24
33
|
}
|
|
25
|
-
function
|
|
34
|
+
function Ue(...e) {
|
|
26
35
|
return l.useCallback(k(...e), e);
|
|
27
36
|
}
|
|
28
37
|
// @__NO_SIDE_EFFECTS__
|
|
29
|
-
function
|
|
30
|
-
const t = /* @__PURE__ */
|
|
31
|
-
const { children: o, ...u } = a, n = l.Children.toArray(o), i = n.find(
|
|
38
|
+
function z(e) {
|
|
39
|
+
const t = /* @__PURE__ */ U(e), r = l.forwardRef((a, s) => {
|
|
40
|
+
const { children: o, ...u } = a, n = l.Children.toArray(o), i = n.find(X);
|
|
32
41
|
if (i) {
|
|
33
42
|
const c = i.props.children, p = n.map((m) => m === i ? l.Children.count(c) > 1 ? l.Children.only(null) : l.isValidElement(c) ? c.props.children : null : m);
|
|
34
43
|
return /* @__PURE__ */ g.jsx(t, { ...u, ref: s, children: l.isValidElement(c) ? l.cloneElement(c, void 0, p) : null });
|
|
@@ -37,9 +46,9 @@ function A(e) {
|
|
|
37
46
|
});
|
|
38
47
|
return r.displayName = `${e}.Slot`, r;
|
|
39
48
|
}
|
|
40
|
-
var
|
|
49
|
+
var A = /* @__PURE__ */ z("Slot");
|
|
41
50
|
// @__NO_SIDE_EFFECTS__
|
|
42
|
-
function
|
|
51
|
+
function U(e) {
|
|
43
52
|
const t = l.forwardRef((r, a) => {
|
|
44
53
|
const { children: s, ...o } = r;
|
|
45
54
|
if (l.isValidElement(s)) {
|
|
@@ -50,14 +59,14 @@ function X(e) {
|
|
|
50
59
|
});
|
|
51
60
|
return t.displayName = `${e}.SlotClone`, t;
|
|
52
61
|
}
|
|
53
|
-
var
|
|
62
|
+
var I = /* @__PURE__ */ Symbol("radix.slottable");
|
|
54
63
|
// @__NO_SIDE_EFFECTS__
|
|
55
|
-
function
|
|
64
|
+
function Xe(e) {
|
|
56
65
|
const t = ({ children: r }) => /* @__PURE__ */ g.jsx(g.Fragment, { children: r });
|
|
57
|
-
return t.displayName = `${e}.Slottable`, t.__radixId =
|
|
66
|
+
return t.displayName = `${e}.Slottable`, t.__radixId = I, t;
|
|
58
67
|
}
|
|
59
|
-
function
|
|
60
|
-
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
68
|
+
function X(e) {
|
|
69
|
+
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === I;
|
|
61
70
|
}
|
|
62
71
|
function q(e, t) {
|
|
63
72
|
const r = { ...t };
|
|
@@ -94,14 +103,14 @@ var Z = [
|
|
|
94
103
|
"svg",
|
|
95
104
|
"ul"
|
|
96
105
|
], qe = Z.reduce((e, t) => {
|
|
97
|
-
const r = /* @__PURE__ */
|
|
106
|
+
const r = /* @__PURE__ */ z(`Primitive.${t}`), a = l.forwardRef((s, o) => {
|
|
98
107
|
const { asChild: u, ...n } = s, i = u ? r : t;
|
|
99
108
|
return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ g.jsx(i, { ...n, ref: o });
|
|
100
109
|
});
|
|
101
110
|
return a.displayName = `Primitive.${t}`, { ...e, [t]: a };
|
|
102
111
|
}, {});
|
|
103
112
|
function Ge(e, t) {
|
|
104
|
-
e &&
|
|
113
|
+
e && H.flushSync(() => e.dispatchEvent(t));
|
|
105
114
|
}
|
|
106
115
|
function Ze(e, t) {
|
|
107
116
|
const r = l.createContext(t), a = (o) => {
|
|
@@ -124,13 +133,13 @@ function Je(e, t = []) {
|
|
|
124
133
|
r = [...r, u];
|
|
125
134
|
const c = (m) => {
|
|
126
135
|
var R;
|
|
127
|
-
const { scope: f, children:
|
|
128
|
-
return /* @__PURE__ */ g.jsx(
|
|
136
|
+
const { scope: f, children: w, ...h } = m, $ = ((R = f == null ? void 0 : f[e]) == null ? void 0 : R[i]) || n, M = l.useMemo(() => h, Object.values(h));
|
|
137
|
+
return /* @__PURE__ */ g.jsx($.Provider, { value: M, children: w });
|
|
129
138
|
};
|
|
130
139
|
c.displayName = o + "Provider";
|
|
131
140
|
function p(m, f) {
|
|
132
|
-
var
|
|
133
|
-
const
|
|
141
|
+
var $;
|
|
142
|
+
const w = (($ = f == null ? void 0 : f[e]) == null ? void 0 : $[i]) || n, h = l.useContext(w);
|
|
134
143
|
if (h) return h;
|
|
135
144
|
if (u !== void 0) return u;
|
|
136
145
|
throw new Error(`\`${m}\` must be used within \`${o}\``);
|
|
@@ -173,8 +182,8 @@ function Ke(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
|
|
|
173
182
|
return t == null ? void 0 : t(s);
|
|
174
183
|
};
|
|
175
184
|
}
|
|
176
|
-
var
|
|
177
|
-
}, K =
|
|
185
|
+
var D = globalThis != null && globalThis.document ? l.useLayoutEffect : () => {
|
|
186
|
+
}, K = Y[" useInsertionEffect ".trim().toString()] || D;
|
|
178
187
|
function Qe({
|
|
179
188
|
prop: e,
|
|
180
189
|
defaultProp: t,
|
|
@@ -225,7 +234,7 @@ function ee(e) {
|
|
|
225
234
|
}
|
|
226
235
|
function et(e) {
|
|
227
236
|
const [t, r] = l.useState(void 0);
|
|
228
|
-
return
|
|
237
|
+
return D(() => {
|
|
229
238
|
if (e) {
|
|
230
239
|
r({ width: e.offsetWidth, height: e.offsetHeight });
|
|
231
240
|
const a = new ResizeObserver((s) => {
|
|
@@ -245,29 +254,29 @@ function et(e) {
|
|
|
245
254
|
r(void 0);
|
|
246
255
|
}, [e]), t;
|
|
247
256
|
}
|
|
248
|
-
const S = { asChild: { type: "boolean" } }, te = { width: { type: "string", className: "rt-r-w", customProperties: ["--width"], responsive: !0 }, minWidth: { type: "string", className: "rt-r-min-w", customProperties: ["--min-width"], responsive: !0 }, maxWidth: { type: "string", className: "rt-r-max-w", customProperties: ["--max-width"], responsive: !0 } }, se = { height: { type: "string", className: "rt-r-h", customProperties: ["--height"], responsive: !0 }, minHeight: { type: "string", className: "rt-r-min-h", customProperties: ["--min-height"], responsive: !0 }, maxHeight: { type: "string", className: "rt-r-max-h", customProperties: ["--max-height"], responsive: !0 } },
|
|
249
|
-
function
|
|
257
|
+
const S = { asChild: { type: "boolean" } }, te = { width: { type: "string", className: "rt-r-w", customProperties: ["--width"], responsive: !0 }, minWidth: { type: "string", className: "rt-r-min-w", customProperties: ["--min-width"], responsive: !0 }, maxWidth: { type: "string", className: "rt-r-max-w", customProperties: ["--max-width"], responsive: !0 } }, se = { height: { type: "string", className: "rt-r-h", customProperties: ["--height"], responsive: !0 }, minHeight: { type: "string", className: "rt-r-min-h", customProperties: ["--min-height"], responsive: !0 }, maxHeight: { type: "string", className: "rt-r-max-h", customProperties: ["--max-height"], responsive: !0 } }, W = ["gray", "gold", "bronze", "brown", "yellow", "amber", "orange", "tomato", "red", "ruby", "crimson", "pink", "plum", "purple", "violet", "iris", "indigo", "blue", "cyan", "teal", "jade", "green", "grass", "lime", "mint", "sky"], re = { color: { type: "enum", values: W, default: void 0 } }, tt = { color: { type: "enum", values: W, default: "" } }, ne = { highContrast: { type: "boolean", className: "rt-high-contrast", default: void 0 } }, oe = ["normal", "start", "end", "both"], ie = { trim: { type: "enum", className: "rt-r-lt", values: oe, responsive: !0 } }, ae = ["left", "center", "right"], ue = { align: { type: "enum", className: "rt-r-ta", values: ae, responsive: !0 } }, le = ["wrap", "nowrap", "pretty", "balance"], ce = { wrap: { type: "enum", className: "rt-r-tw", values: le, responsive: !0 } }, pe = { truncate: { type: "boolean", className: "rt-truncate" } }, me = ["light", "regular", "medium", "bold"], fe = { weight: { type: "enum", className: "rt-r-weight", values: me, responsive: !0 } }, de = ["h1", "h2", "h3", "h4", "h5", "h6"], ve = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], ye = { as: { type: "enum", values: de, default: "h1" }, ...S, size: { type: "enum", className: "rt-r-size", values: ve, default: "6", responsive: !0 }, ...fe, ...ue, ...ie, ...pe, ...ce, ...re, ...ne }, ge = ["initial", "xs", "sm", "md", "lg", "xl"], C = new Set(ge);
|
|
258
|
+
function B(e, t) {
|
|
250
259
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
251
260
|
}
|
|
252
|
-
function
|
|
261
|
+
function N(e) {
|
|
253
262
|
return typeof e == "object" && e !== null && Object.keys(e).some((t) => C.has(t));
|
|
254
263
|
}
|
|
255
264
|
function he({ className: e, customProperties: t, ...r }) {
|
|
256
|
-
const a =
|
|
265
|
+
const a = T({ allowArbitraryValues: !0, className: e, ...r }), s = be({ customProperties: t, ...r });
|
|
257
266
|
return [a, s];
|
|
258
267
|
}
|
|
259
|
-
function
|
|
268
|
+
function T({ allowArbitraryValues: e, value: t, className: r, propValues: a, parseValue: s = (o) => o }) {
|
|
260
269
|
const o = [];
|
|
261
270
|
if (t) {
|
|
262
|
-
if (typeof t == "string" && a.includes(t)) return
|
|
263
|
-
if (
|
|
271
|
+
if (typeof t == "string" && a.includes(t)) return _(r, t, s);
|
|
272
|
+
if (N(t)) {
|
|
264
273
|
const u = t;
|
|
265
274
|
for (const n in u) {
|
|
266
|
-
if (!
|
|
275
|
+
if (!B(u, n) || !C.has(n)) continue;
|
|
267
276
|
const i = u[n];
|
|
268
277
|
if (i !== void 0) {
|
|
269
278
|
if (a.includes(i)) {
|
|
270
|
-
const c =
|
|
279
|
+
const c = _(r, i, s), p = n === "initial" ? c : `${n}:${c}`;
|
|
271
280
|
o.push(p);
|
|
272
281
|
} else if (e) {
|
|
273
282
|
const c = n === "initial" ? r : `${n}:${r}`;
|
|
@@ -280,17 +289,17 @@ function F({ allowArbitraryValues: e, value: t, className: r, propValues: a, par
|
|
|
280
289
|
if (e) return r;
|
|
281
290
|
}
|
|
282
291
|
}
|
|
283
|
-
function
|
|
292
|
+
function _(e, t, r) {
|
|
284
293
|
const a = e ? "-" : "", s = r(t), o = s == null ? void 0 : s.startsWith("-"), u = o ? "-" : "", n = o ? s == null ? void 0 : s.substring(1) : s;
|
|
285
294
|
return `${u}${e}${a}${n}`;
|
|
286
295
|
}
|
|
287
|
-
function
|
|
296
|
+
function be({ customProperties: e, value: t, propValues: r, parseValue: a = (s) => s }) {
|
|
288
297
|
let s = {};
|
|
289
298
|
if (!(!t || typeof t == "string" && r.includes(t))) {
|
|
290
|
-
if (typeof t == "string" && (s = Object.fromEntries(e.map((o) => [o, t]))),
|
|
299
|
+
if (typeof t == "string" && (s = Object.fromEntries(e.map((o) => [o, t]))), N(t)) {
|
|
291
300
|
const o = t;
|
|
292
301
|
for (const u in o) {
|
|
293
|
-
if (!
|
|
302
|
+
if (!B(o, u) || !C.has(u)) continue;
|
|
294
303
|
const n = o[u];
|
|
295
304
|
if (!r.includes(n)) for (const i of e) s = { [u === "initial" ? i : `${i}-${u}`]: n, ...s };
|
|
296
305
|
}
|
|
@@ -302,32 +311,32 @@ function Ne({ customProperties: e, value: t, propValues: r, parseValue: a = (s)
|
|
|
302
311
|
return s;
|
|
303
312
|
}
|
|
304
313
|
}
|
|
305
|
-
function
|
|
314
|
+
function O(...e) {
|
|
306
315
|
let t = {};
|
|
307
316
|
for (const r of e) r && (t = { ...t, ...r });
|
|
308
317
|
return Object.keys(t).length ? t : void 0;
|
|
309
318
|
}
|
|
310
|
-
function
|
|
319
|
+
function Ne(...e) {
|
|
311
320
|
return Object.assign({}, ...e);
|
|
312
321
|
}
|
|
313
|
-
function
|
|
322
|
+
function E(e, ...t) {
|
|
314
323
|
let r, a;
|
|
315
|
-
const s = { ...e }, o =
|
|
324
|
+
const s = { ...e }, o = Ne(...t);
|
|
316
325
|
for (const u in o) {
|
|
317
326
|
let n = s[u];
|
|
318
327
|
const i = o[u];
|
|
319
|
-
if (i.default !== void 0 && n === void 0 && (n = i.default), i.type === "enum" && ![i.default, ...i.values].includes(n) && !
|
|
328
|
+
if (i.default !== void 0 && n === void 0 && (n = i.default), i.type === "enum" && ![i.default, ...i.values].includes(n) && !N(n) && (n = i.default), s[u] = n, "className" in i && i.className) {
|
|
320
329
|
delete s[u];
|
|
321
330
|
const c = "responsive" in i;
|
|
322
|
-
if (!n ||
|
|
323
|
-
if (
|
|
324
|
-
const p =
|
|
331
|
+
if (!n || N(n) && !c) continue;
|
|
332
|
+
if (N(n) && (i.default !== void 0 && n.initial === void 0 && (n.initial = i.default), i.type === "enum" && ([i.default, ...i.values].includes(n.initial) || (n.initial = i.default))), i.type === "enum") {
|
|
333
|
+
const p = T({ allowArbitraryValues: !1, value: n, className: i.className, propValues: i.values, parseValue: i.parseValue });
|
|
325
334
|
r = y(r, p);
|
|
326
335
|
continue;
|
|
327
336
|
}
|
|
328
337
|
if (i.type === "string" || i.type === "enum | string") {
|
|
329
338
|
const p = i.type === "string" ? [] : i.values, [m, f] = he({ className: i.className, customProperties: i.customProperties, propValues: p, parseValue: i.parseValue, value: n });
|
|
330
|
-
a =
|
|
339
|
+
a = O(a, f), r = y(r, m);
|
|
331
340
|
continue;
|
|
332
341
|
}
|
|
333
342
|
if (i.type === "boolean" && n) {
|
|
@@ -336,54 +345,54 @@ function j(e, ...t) {
|
|
|
336
345
|
}
|
|
337
346
|
}
|
|
338
347
|
}
|
|
339
|
-
return s.className = y(r, e.className), s.style =
|
|
348
|
+
return s.className = y(r, e.className), s.style = O(a, e.style), s;
|
|
340
349
|
}
|
|
341
|
-
const d = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-1", "-2", "-3", "-4", "-5", "-6", "-7", "-8", "-9"],
|
|
342
|
-
const { children: r, className: a, asChild: s, as: o = "h1", color: u, ...n } =
|
|
343
|
-
return l.createElement(
|
|
350
|
+
const d = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-1", "-2", "-3", "-4", "-5", "-6", "-7", "-8", "-9"], j = { m: { type: "enum | string", values: d, responsive: !0, className: "rt-r-m", customProperties: ["--m"] }, mx: { type: "enum | string", values: d, responsive: !0, className: "rt-r-mx", customProperties: ["--ml", "--mr"] }, my: { type: "enum | string", values: d, responsive: !0, className: "rt-r-my", customProperties: ["--mt", "--mb"] }, mt: { type: "enum | string", values: d, responsive: !0, className: "rt-r-mt", customProperties: ["--mt"] }, mr: { type: "enum | string", values: d, responsive: !0, className: "rt-r-mr", customProperties: ["--mr"] }, mb: { type: "enum | string", values: d, responsive: !0, className: "rt-r-mb", customProperties: ["--mb"] }, ml: { type: "enum | string", values: d, responsive: !0, className: "rt-r-ml", customProperties: ["--ml"] } }, we = l.forwardRef((e, t) => {
|
|
351
|
+
const { children: r, className: a, asChild: s, as: o = "h1", color: u, ...n } = E(e, ye, j);
|
|
352
|
+
return l.createElement(A, { "data-accent-color": u, ...n, ref: t, className: y("rt-Heading", a) }, s ? r : l.createElement(o, null, r));
|
|
344
353
|
});
|
|
345
|
-
|
|
346
|
-
const
|
|
347
|
-
const { className: r, asChild: a, as: s = "div", ...o } =
|
|
348
|
-
return l.createElement(a ?
|
|
354
|
+
we.displayName = "Heading";
|
|
355
|
+
const $e = ["none", "small", "medium", "large", "full"], st = { radius: { type: "enum", values: $e, default: void 0 } }, F = A, Pe = ["div", "span"], xe = ["none", "inline", "inline-block", "block", "contents"], Se = { as: { type: "enum", values: Pe, default: "div" }, ...S, display: { type: "enum", className: "rt-r-display", values: xe, responsive: !0 } }, v = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], Ce = { p: { type: "enum | string", className: "rt-r-p", customProperties: ["--p"], values: v, responsive: !0 }, px: { type: "enum | string", className: "rt-r-px", customProperties: ["--pl", "--pr"], values: v, responsive: !0 }, py: { type: "enum | string", className: "rt-r-py", customProperties: ["--pt", "--pb"], values: v, responsive: !0 }, pt: { type: "enum | string", className: "rt-r-pt", customProperties: ["--pt"], values: v, responsive: !0 }, pr: { type: "enum | string", className: "rt-r-pr", customProperties: ["--pr"], values: v, responsive: !0 }, pb: { type: "enum | string", className: "rt-r-pb", customProperties: ["--pb"], values: v, responsive: !0 }, pl: { type: "enum | string", className: "rt-r-pl", customProperties: ["--pl"], values: v, responsive: !0 } }, P = ["visible", "hidden", "clip", "scroll", "auto"], Ee = ["static", "relative", "absolute", "fixed", "sticky"], b = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-1", "-2", "-3", "-4", "-5", "-6", "-7", "-8", "-9"], je = ["0", "1"], Re = ["0", "1"], Ve = ["start", "center", "end", "baseline", "stretch"], _e = ["start", "center", "end", "baseline", "stretch"], L = { ...Ce, ...te, ...se, position: { type: "enum", className: "rt-r-position", values: Ee, responsive: !0 }, inset: { type: "enum | string", className: "rt-r-inset", customProperties: ["--inset"], values: b, responsive: !0 }, top: { type: "enum | string", className: "rt-r-top", customProperties: ["--top"], values: b, responsive: !0 }, right: { type: "enum | string", className: "rt-r-right", customProperties: ["--right"], values: b, responsive: !0 }, bottom: { type: "enum | string", className: "rt-r-bottom", customProperties: ["--bottom"], values: b, responsive: !0 }, left: { type: "enum | string", className: "rt-r-left", customProperties: ["--left"], values: b, responsive: !0 }, overflow: { type: "enum", className: "rt-r-overflow", values: P, responsive: !0 }, overflowX: { type: "enum", className: "rt-r-ox", values: P, responsive: !0 }, overflowY: { type: "enum", className: "rt-r-oy", values: P, responsive: !0 }, flexBasis: { type: "string", className: "rt-r-fb", customProperties: ["--flex-basis"], responsive: !0 }, flexShrink: { type: "enum | string", className: "rt-r-fs", customProperties: ["--flex-shrink"], values: je, responsive: !0 }, flexGrow: { type: "enum | string", className: "rt-r-fg", customProperties: ["--flex-grow"], values: Re, responsive: !0 }, gridArea: { type: "string", className: "rt-r-ga", customProperties: ["--grid-area"], responsive: !0 }, gridColumn: { type: "string", className: "rt-r-gc", customProperties: ["--grid-column"], responsive: !0 }, gridColumnStart: { type: "string", className: "rt-r-gcs", customProperties: ["--grid-column-start"], responsive: !0 }, gridColumnEnd: { type: "string", className: "rt-r-gce", customProperties: ["--grid-column-end"], responsive: !0 }, gridRow: { type: "string", className: "rt-r-gr", customProperties: ["--grid-row"], responsive: !0 }, gridRowStart: { type: "string", className: "rt-r-grs", customProperties: ["--grid-row-start"], responsive: !0 }, gridRowEnd: { type: "string", className: "rt-r-gre", customProperties: ["--grid-row-end"], responsive: !0 }, alignSelf: { type: "enum", className: "rt-r-as", values: Ve, responsive: !0 }, justifySelf: { type: "enum", className: "rt-r-js", values: _e, responsive: !0 } }, Oe = l.forwardRef((e, t) => {
|
|
356
|
+
const { className: r, asChild: a, as: s = "div", ...o } = E(e, Se, L, j);
|
|
357
|
+
return l.createElement(a ? F : s, { ...o, ref: t, className: y("rt-Box", r) });
|
|
349
358
|
});
|
|
350
|
-
|
|
351
|
-
const x = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], ke = { gap: { type: "enum | string", className: "rt-r-gap", customProperties: ["--gap"], values: x, responsive: !0 }, gapX: { type: "enum | string", className: "rt-r-cg", customProperties: ["--column-gap"], values: x, responsive: !0 }, gapY: { type: "enum | string", className: "rt-r-rg", customProperties: ["--row-gap"], values: x, responsive: !0 } },
|
|
352
|
-
function
|
|
359
|
+
Oe.displayName = "Box";
|
|
360
|
+
const x = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], ke = { gap: { type: "enum | string", className: "rt-r-gap", customProperties: ["--gap"], values: x, responsive: !0 }, gapX: { type: "enum | string", className: "rt-r-cg", customProperties: ["--column-gap"], values: x, responsive: !0 }, gapY: { type: "enum | string", className: "rt-r-rg", customProperties: ["--row-gap"], values: x, responsive: !0 } }, ze = ["div", "span"], Ae = ["none", "inline-flex", "flex"], Ie = ["row", "column", "row-reverse", "column-reverse"], De = ["start", "center", "end", "baseline", "stretch"], We = ["start", "center", "end", "between"], Be = ["nowrap", "wrap", "wrap-reverse"], Te = { as: { type: "enum", values: ze, default: "div" }, ...S, display: { type: "enum", className: "rt-r-display", values: Ae, responsive: !0 }, direction: { type: "enum", className: "rt-r-fd", values: Ie, responsive: !0 }, align: { type: "enum", className: "rt-r-ai", values: De, responsive: !0 }, justify: { type: "enum", className: "rt-r-jc", values: We, parseValue: Fe, responsive: !0 }, wrap: { type: "enum", className: "rt-r-fw", values: Be, responsive: !0 }, ...ke };
|
|
361
|
+
function Fe(e) {
|
|
353
362
|
return e === "between" ? "space-between" : e;
|
|
354
363
|
}
|
|
355
|
-
const
|
|
356
|
-
const { className: r, asChild: a, as: s = "div", ...o } =
|
|
357
|
-
return l.createElement(a ?
|
|
364
|
+
const Le = l.forwardRef((e, t) => {
|
|
365
|
+
const { className: r, asChild: a, as: s = "div", ...o } = E(e, Te, L, j);
|
|
366
|
+
return l.createElement(a ? F : s, { ...o, ref: t, className: y("rt-Flex", r) });
|
|
358
367
|
});
|
|
359
|
-
|
|
368
|
+
Le.displayName = "Flex";
|
|
360
369
|
export {
|
|
361
370
|
tt as A,
|
|
362
|
-
|
|
371
|
+
L as B,
|
|
363
372
|
qe as P,
|
|
364
|
-
|
|
373
|
+
A as S,
|
|
365
374
|
Qe as a,
|
|
366
375
|
et as b,
|
|
367
376
|
Ke as c,
|
|
368
377
|
Je as d,
|
|
369
|
-
|
|
378
|
+
j as e,
|
|
370
379
|
st as f,
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
380
|
+
we as g,
|
|
381
|
+
Le as h,
|
|
382
|
+
z as i,
|
|
383
|
+
D as j,
|
|
375
384
|
Ge as k,
|
|
376
385
|
Ze as l,
|
|
377
|
-
|
|
386
|
+
Xe as m,
|
|
378
387
|
se as n,
|
|
379
388
|
ne as o,
|
|
380
|
-
|
|
389
|
+
Oe as p,
|
|
381
390
|
S as q,
|
|
382
391
|
re as r,
|
|
383
392
|
ce as s,
|
|
384
393
|
te as t,
|
|
385
|
-
|
|
386
|
-
|
|
394
|
+
Ue as u,
|
|
395
|
+
E as v,
|
|
387
396
|
pe as w,
|
|
388
397
|
ie as x,
|
|
389
398
|
ue as y,
|