@anoki/fse-ui 1.0.528 → 1.0.529
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/components/ui/EditorialWidget/EditorialWidget.css +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs102.js.map +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs162.js.map +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs163.js.map +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs167.js.map +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs176.js.map +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs180.js.map +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs260.js +2 -2
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs297.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs310.js +1 -1
- package/dist/index.cjs318.js +2 -2
- package/dist/index.cjs319.js +3 -12
- package/dist/index.cjs319.js.map +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs325.js +2 -0
- package/dist/index.cjs325.js.map +1 -0
- package/dist/index.cjs327.js +1 -1
- package/dist/index.cjs328.js +1 -1
- package/dist/index.cjs328.js.map +1 -1
- package/dist/index.cjs329.js +1 -1
- package/dist/index.cjs329.js.map +1 -1
- package/dist/index.cjs330.js +1 -1
- package/dist/index.cjs330.js.map +1 -1
- package/dist/index.cjs331.js +1 -1
- package/dist/index.cjs331.js.map +1 -1
- package/dist/index.cjs333.js +1 -1
- package/dist/index.cjs333.js.map +1 -1
- package/dist/index.cjs334.js +2 -0
- package/dist/index.cjs334.js.map +1 -0
- package/dist/index.cjs335.js +2 -0
- package/dist/index.cjs335.js.map +1 -0
- package/dist/index.cjs336.js +2 -0
- package/dist/index.cjs336.js.map +1 -0
- package/dist/index.cjs337.js +1 -1
- package/dist/index.cjs337.js.map +1 -1
- package/dist/index.cjs338.js +1 -1
- package/dist/index.cjs338.js.map +1 -1
- package/dist/index.cjs339.js +1 -1
- package/dist/index.cjs340.js +1 -1
- package/dist/index.cjs340.js.map +1 -1
- package/dist/index.cjs341.js +1 -1
- package/dist/index.cjs341.js.map +1 -1
- package/dist/index.cjs342.js +1 -1
- package/dist/index.cjs342.js.map +1 -1
- package/dist/index.cjs343.js +1 -1
- package/dist/index.cjs343.js.map +1 -1
- package/dist/index.cjs344.js +1 -1
- package/dist/index.cjs344.js.map +1 -1
- package/dist/index.cjs345.js +2 -0
- package/dist/index.cjs345.js.map +1 -0
- package/dist/index.cjs346.js +2 -0
- package/dist/index.cjs346.js.map +1 -0
- package/dist/index.cjs347.js +2 -0
- package/dist/index.cjs347.js.map +1 -0
- package/dist/index.cjs348.js +1 -1
- package/dist/index.cjs348.js.map +1 -1
- package/dist/index.cjs349.js +1 -1
- package/dist/index.cjs349.js.map +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs350.js +1 -1
- package/dist/index.cjs350.js.map +1 -1
- package/dist/index.cjs351.js +1 -1
- package/dist/index.cjs351.js.map +1 -1
- package/dist/index.cjs352.js +1 -1
- package/dist/index.cjs352.js.map +1 -1
- package/dist/index.cjs353.js +1 -1
- package/dist/index.cjs353.js.map +1 -1
- package/dist/{index.cjs361.js → index.cjs356.js} +1 -1
- package/dist/{index.cjs361.js.map → index.cjs356.js.map} +1 -1
- package/dist/index.cjs357.js +2 -0
- package/dist/{index.cjs362.js.map → index.cjs357.js.map} +1 -1
- package/dist/index.cjs358.js +2 -0
- package/dist/index.cjs358.js.map +1 -0
- package/dist/index.cjs363.js +1 -1
- package/dist/index.cjs363.js.map +1 -1
- package/dist/index.cjs364.js +1 -1
- package/dist/index.cjs364.js.map +1 -1
- package/dist/{index.cjs386.js → index.cjs365.js} +2 -2
- package/dist/{index.cjs386.js.map → index.cjs365.js.map} +1 -1
- package/dist/index.cjs366.js +2 -0
- package/dist/index.cjs366.js.map +1 -0
- package/dist/index.cjs367.js +1 -1
- package/dist/index.cjs367.js.map +1 -1
- package/dist/index.cjs368.js +1 -1
- package/dist/index.cjs368.js.map +1 -1
- package/dist/index.cjs369.js +4 -1
- package/dist/index.cjs369.js.map +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs370.js +1 -1
- package/dist/index.cjs370.js.map +1 -1
- package/dist/index.cjs379.js +1 -1
- package/dist/index.cjs380.js +3 -3
- package/dist/index.cjs381.js +1 -1
- package/dist/index.cjs384.js +1 -1
- package/dist/index.cjs384.js.map +1 -1
- package/dist/index.cjs385.js +1 -1
- package/dist/index.cjs385.js.map +1 -1
- package/dist/index.cjs389.js +1 -1
- package/dist/index.cjs389.js.map +1 -1
- package/dist/index.cjs390.js +1 -1
- package/dist/index.cjs390.js.map +1 -1
- package/dist/index.cjs391.js +1 -1
- package/dist/index.cjs391.js.map +1 -1
- package/dist/index.cjs392.js +1 -1
- package/dist/index.cjs392.js.map +1 -1
- package/dist/index.cjs396.js +1 -1
- package/dist/index.cjs396.js.map +1 -1
- package/dist/index.cjs399.js +1 -1
- package/dist/index.cjs399.js.map +1 -1
- package/dist/index.cjs401.js +1 -1
- package/dist/index.cjs402.js +1 -1
- package/dist/index.cjs405.js +1 -1
- package/dist/index.cjs405.js.map +1 -1
- package/dist/index.cjs407.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.es102.js +1 -1
- package/dist/index.es102.js.map +1 -1
- package/dist/index.es107.js +17 -17
- package/dist/index.es16.js +18 -18
- package/dist/index.es162.js +76 -71
- package/dist/index.es162.js.map +1 -1
- package/dist/index.es163.js +11 -1
- package/dist/index.es163.js.map +1 -1
- package/dist/index.es164.js +2 -2
- package/dist/index.es165.js +24 -24
- package/dist/index.es167.js +63 -58
- package/dist/index.es167.js.map +1 -1
- package/dist/index.es172.js +1 -1
- package/dist/index.es176.js +29 -26
- package/dist/index.es176.js.map +1 -1
- package/dist/index.es18.js +22 -22
- package/dist/index.es180.js +18 -15
- package/dist/index.es180.js.map +1 -1
- package/dist/index.es209.js +20 -20
- package/dist/index.es213.js +25 -25
- package/dist/index.es214.js +10 -10
- package/dist/index.es220.js +6 -6
- package/dist/index.es231.js +11 -11
- package/dist/index.es24.js +4 -4
- package/dist/index.es25.js +38 -38
- package/dist/index.es258.js +30 -30
- package/dist/index.es26.js +21 -21
- package/dist/index.es260.js +22 -22
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es27.js +2 -2
- package/dist/index.es297.js +11 -11
- package/dist/index.es30.js +6 -6
- package/dist/index.es310.js +3 -3
- package/dist/index.es318.js +20 -20
- package/dist/index.es319.js +137 -298
- package/dist/index.es319.js.map +1 -1
- package/dist/index.es32.js +4 -4
- package/dist/index.es325.js +10 -0
- package/dist/index.es325.js.map +1 -0
- package/dist/index.es326.js +14 -14
- package/dist/index.es327.js +40 -40
- package/dist/index.es328.js +29 -6
- package/dist/index.es328.js.map +1 -1
- package/dist/index.es329.js +32 -29
- package/dist/index.es329.js.map +1 -1
- package/dist/index.es330.js +621 -5
- package/dist/index.es330.js.map +1 -1
- package/dist/index.es331.js +10 -24
- package/dist/index.es331.js.map +1 -1
- package/dist/index.es333.js +10 -32
- package/dist/index.es333.js.map +1 -1
- package/dist/index.es334.js +56 -0
- package/dist/index.es334.js.map +1 -0
- package/dist/index.es335.js +49 -0
- package/dist/index.es335.js.map +1 -0
- package/dist/index.es336.js +11 -0
- package/dist/index.es336.js.map +1 -0
- package/dist/index.es337.js +124 -10
- package/dist/index.es337.js.map +1 -1
- package/dist/index.es338.js +12 -122
- package/dist/index.es338.js.map +1 -1
- package/dist/index.es339.js +2 -2
- package/dist/index.es340.js +217 -13
- package/dist/index.es340.js.map +1 -1
- package/dist/index.es341.js +13 -14
- package/dist/index.es341.js.map +1 -1
- package/dist/index.es342.js +69 -9
- package/dist/index.es342.js.map +1 -1
- package/dist/index.es343.js +176 -48
- package/dist/index.es343.js.map +1 -1
- package/dist/index.es344.js +49 -52
- package/dist/index.es344.js.map +1 -1
- package/dist/index.es345.js +12 -0
- package/dist/index.es345.js.map +1 -0
- package/dist/index.es346.js +7 -0
- package/dist/index.es346.js.map +1 -0
- package/dist/index.es347.js +9 -0
- package/dist/index.es347.js.map +1 -0
- package/dist/index.es348.js +24 -10
- package/dist/index.es348.js.map +1 -1
- package/dist/index.es349.js +12 -4
- package/dist/index.es349.js.map +1 -1
- package/dist/index.es35.js +14 -14
- package/dist/index.es350.js +197 -614
- package/dist/index.es350.js.map +1 -1
- package/dist/index.es351.js +22 -12
- package/dist/index.es351.js.map +1 -1
- package/dist/index.es352.js +390 -43
- package/dist/index.es352.js.map +1 -1
- package/dist/index.es353.js +15 -8
- package/dist/index.es353.js.map +1 -1
- package/dist/{index.es361.js → index.es356.js} +1 -1
- package/dist/{index.es361.js.map → index.es356.js.map} +1 -1
- package/dist/{index.es362.js → index.es357.js} +14 -14
- package/dist/{index.es362.js.map → index.es357.js.map} +1 -1
- package/dist/index.es358.js +8 -0
- package/dist/index.es358.js.map +1 -0
- package/dist/index.es363.js +523 -5
- package/dist/index.es363.js.map +1 -1
- package/dist/index.es364.js +126 -14
- package/dist/index.es364.js.map +1 -1
- package/dist/{index.es386.js → index.es365.js} +43 -43
- package/dist/{index.es386.js.map → index.es365.js.map} +1 -1
- package/dist/index.es366.js +8 -0
- package/dist/index.es366.js.map +1 -0
- package/dist/index.es367.js +3 -205
- package/dist/index.es367.js.map +1 -1
- package/dist/index.es368.js +23 -21
- package/dist/index.es368.js.map +1 -1
- package/dist/index.es369.js +105 -388
- package/dist/index.es369.js.map +1 -1
- package/dist/index.es37.js +6 -6
- package/dist/index.es370.js +16 -5
- package/dist/index.es370.js.map +1 -1
- package/dist/index.es379.js +1 -1
- package/dist/index.es380.js +16 -16
- package/dist/index.es381.js +1 -1
- package/dist/index.es384.js +3 -522
- package/dist/index.es384.js.map +1 -1
- package/dist/index.es385.js +22 -126
- package/dist/index.es385.js.map +1 -1
- package/dist/index.es389.js +21 -11
- package/dist/index.es389.js.map +1 -1
- package/dist/index.es390.js +11 -26
- package/dist/index.es390.js.map +1 -1
- package/dist/index.es391.js +27 -4
- package/dist/index.es391.js.map +1 -1
- package/dist/index.es392.js +4 -22
- package/dist/index.es392.js.map +1 -1
- package/dist/index.es396.js +2 -2
- package/dist/index.es396.js.map +1 -1
- package/dist/index.es399.js +34 -34
- package/dist/index.es399.js.map +1 -1
- package/dist/index.es401.js +2 -2
- package/dist/index.es401.js.map +1 -1
- package/dist/index.es402.js +6 -6
- package/dist/index.es405.js +2 -2
- package/dist/index.es405.js.map +1 -1
- package/dist/index.es47.js +2 -2
- package/dist/index.es5.js +4 -4
- package/dist/index.es65.js +44 -44
- package/dist/index.es68.js +25 -25
- package/dist/index.es69.js +23 -23
- package/dist/index.es98.js +12 -12
- package/package.json +1 -1
- package/dist/index.cjs332.js +0 -2
- package/dist/index.cjs332.js.map +0 -1
- package/dist/index.cjs354.js +0 -2
- package/dist/index.cjs354.js.map +0 -1
- package/dist/index.cjs355.js +0 -2
- package/dist/index.cjs355.js.map +0 -1
- package/dist/index.cjs362.js +0 -2
- package/dist/index.cjs371.js +0 -2
- package/dist/index.cjs371.js.map +0 -1
- package/dist/index.cjs372.js +0 -2
- package/dist/index.cjs372.js.map +0 -1
- package/dist/index.cjs373.js +0 -5
- package/dist/index.cjs373.js.map +0 -1
- package/dist/index.cjs374.js +0 -2
- package/dist/index.cjs374.js.map +0 -1
- package/dist/index.cjs387.js +0 -2
- package/dist/index.cjs387.js.map +0 -1
- package/dist/index.cjs388.js +0 -2
- package/dist/index.cjs388.js.map +0 -1
- package/dist/index.es332.js +0 -72
- package/dist/index.es332.js.map +0 -1
- package/dist/index.es354.js +0 -221
- package/dist/index.es354.js.map +0 -1
- package/dist/index.es355.js +0 -181
- package/dist/index.es355.js.map +0 -1
- package/dist/index.es371.js +0 -6
- package/dist/index.es371.js.map +0 -1
- package/dist/index.es372.js +0 -27
- package/dist/index.es372.js.map +0 -1
- package/dist/index.es373.js +0 -113
- package/dist/index.es373.js.map +0 -1
- package/dist/index.es374.js +0 -19
- package/dist/index.es374.js.map +0 -1
- package/dist/index.es387.js +0 -7
- package/dist/index.es387.js.map +0 -1
- package/dist/index.es388.js +0 -26
- package/dist/index.es388.js.map +0 -1
package/dist/index.es385.js
CHANGED
@@ -1,130 +1,26 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
}
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
function g(t) {
|
23
|
-
return t.split("-")[1];
|
24
|
-
}
|
25
|
-
function h(t) {
|
26
|
-
return t === "x" ? "y" : "x";
|
27
|
-
}
|
28
|
-
function b(t) {
|
29
|
-
return t === "y" ? "height" : "width";
|
30
|
-
}
|
31
|
-
function d(t) {
|
32
|
-
return ["top", "bottom"].includes(u(t)) ? "y" : "x";
|
33
|
-
}
|
34
|
-
function x(t) {
|
35
|
-
return h(d(t));
|
36
|
-
}
|
37
|
-
function C(t, n, e) {
|
38
|
-
e === void 0 && (e = !1);
|
39
|
-
const r = g(t), o = x(t), i = b(o);
|
40
|
-
let c = o === "x" ? r === (e ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
41
|
-
return n.reference[i] > n.floating[i] && (c = f(c)), [c, f(c)];
|
42
|
-
}
|
43
|
-
function L(t) {
|
44
|
-
const n = f(t);
|
45
|
-
return [s(t), n, s(n)];
|
46
|
-
}
|
47
|
-
function s(t) {
|
48
|
-
return t.replace(/start|end/g, (n) => a[n]);
|
49
|
-
}
|
50
|
-
function A(t, n, e) {
|
51
|
-
const r = ["left", "right"], o = ["right", "left"], i = ["top", "bottom"], c = ["bottom", "top"];
|
52
|
-
switch (t) {
|
53
|
-
case "top":
|
54
|
-
case "bottom":
|
55
|
-
return e ? n ? o : r : n ? r : o;
|
56
|
-
case "left":
|
57
|
-
case "right":
|
58
|
-
return n ? i : c;
|
59
|
-
default:
|
60
|
-
return [];
|
61
|
-
}
|
62
|
-
}
|
63
|
-
function E(t, n, e, r) {
|
64
|
-
const o = g(t);
|
65
|
-
let i = A(u(t), e === "start", r);
|
66
|
-
return o && (i = i.map((c) => c + "-" + o), n && (i = i.concat(i.map(s)))), i;
|
67
|
-
}
|
68
|
-
function f(t) {
|
69
|
-
return t.replace(/left|right|bottom|top/g, (n) => p[n]);
|
70
|
-
}
|
71
|
-
function y(t) {
|
72
|
-
return {
|
73
|
-
top: 0,
|
74
|
-
right: 0,
|
75
|
-
bottom: 0,
|
76
|
-
left: 0,
|
77
|
-
...t
|
78
|
-
};
|
79
|
-
}
|
80
|
-
function R(t) {
|
81
|
-
return typeof t != "number" ? y(t) : {
|
82
|
-
top: t,
|
83
|
-
right: t,
|
84
|
-
bottom: t,
|
85
|
-
left: t
|
86
|
-
};
|
87
|
-
}
|
88
|
-
function T(t) {
|
89
|
-
const {
|
90
|
-
x: n,
|
91
|
-
y: e,
|
92
|
-
width: r,
|
93
|
-
height: o
|
94
|
-
} = t;
|
95
|
-
return {
|
96
|
-
width: r,
|
97
|
-
height: o,
|
98
|
-
top: e,
|
99
|
-
left: n,
|
100
|
-
right: n + r,
|
101
|
-
bottom: e + o,
|
102
|
-
x: n,
|
103
|
-
y: e
|
104
|
-
};
|
1
|
+
import { useState as u } from "react";
|
2
|
+
function n(c, r) {
|
3
|
+
var e = u(function() {
|
4
|
+
return {
|
5
|
+
// value
|
6
|
+
value: c,
|
7
|
+
// last callback
|
8
|
+
callback: r,
|
9
|
+
// "memoized" public interface
|
10
|
+
facade: {
|
11
|
+
get current() {
|
12
|
+
return e.value;
|
13
|
+
},
|
14
|
+
set current(a) {
|
15
|
+
var t = e.value;
|
16
|
+
t !== a && (e.value = a, e.callback(a, t));
|
17
|
+
}
|
18
|
+
}
|
19
|
+
};
|
20
|
+
})[0];
|
21
|
+
return e.callback = r, e.facade;
|
105
22
|
}
|
106
23
|
export {
|
107
|
-
|
108
|
-
S as createCoords,
|
109
|
-
j as evaluate,
|
110
|
-
y as expandPaddingObject,
|
111
|
-
O as floor,
|
112
|
-
g as getAlignment,
|
113
|
-
x as getAlignmentAxis,
|
114
|
-
C as getAlignmentSides,
|
115
|
-
b as getAxisLength,
|
116
|
-
L as getExpandedPlacements,
|
117
|
-
s as getOppositeAlignmentPlacement,
|
118
|
-
h as getOppositeAxis,
|
119
|
-
E as getOppositeAxisPlacements,
|
120
|
-
f as getOppositePlacement,
|
121
|
-
R as getPaddingObject,
|
122
|
-
u as getSide,
|
123
|
-
d as getSideAxis,
|
124
|
-
m as max,
|
125
|
-
l as min,
|
126
|
-
T as rectToClientRect,
|
127
|
-
M as round,
|
128
|
-
P as sides
|
24
|
+
n as useCallbackRef
|
129
25
|
};
|
130
26
|
//# sourceMappingURL=index.es385.js.map
|
package/dist/index.es385.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es385.js","sources":["../node_modules
|
1
|
+
{"version":3,"file":"index.es385.js","sources":["../node_modules/use-callback-ref/dist/es2015/useRef.js"],"sourcesContent":["import { useState } from 'react';\n/**\n * creates a MutableRef with ref change callback\n * @param initialValue - initial ref value\n * @param {Function} callback - a callback to run when value changes\n *\n * @example\n * const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);\n * ref.current = 1;\n * // prints 0 -> 1\n *\n * @see https://reactjs.org/docs/hooks-reference.html#useref\n * @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref\n * @returns {MutableRefObject}\n */\nexport function useCallbackRef(initialValue, callback) {\n var ref = useState(function () { return ({\n // value\n value: initialValue,\n // last callback\n callback: callback,\n // \"memoized\" public interface\n facade: {\n get current() {\n return ref.value;\n },\n set current(value) {\n var last = ref.value;\n if (last !== value) {\n ref.value = value;\n ref.callback(value, last);\n }\n },\n },\n }); })[0];\n // update callback\n ref.callback = callback;\n return ref.facade;\n}\n"],"names":["useCallbackRef","initialValue","callback","ref","useState","value","last"],"mappings":";AAeO,SAASA,EAAeC,GAAcC,GAAU;AACnD,MAAIC,IAAMC,EAAS,WAAY;AAAE,WAAQ;AAAA;AAAA,MAErC,OAAOH;AAAA;AAAA,MAEP,UAAUC;AAAA;AAAA,MAEV,QAAQ;AAAA,QACJ,IAAI,UAAU;AACV,iBAAOC,EAAI;AAAA,QACd;AAAA,QACD,IAAI,QAAQE,GAAO;AACf,cAAIC,IAAOH,EAAI;AACf,UAAIG,MAASD,MACTF,EAAI,QAAQE,GACZF,EAAI,SAASE,GAAOC,CAAI;AAAA,QAE/B;AAAA,MACJ;AAAA,IACT;AAAA,EAAO,CAAE,EAAE,CAAC;AAER,SAAAH,EAAI,WAAWD,GACRC,EAAI;AACf;","x_google_ignoreList":[0]}
|
package/dist/index.es389.js
CHANGED
@@ -1,16 +1,26 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
var a = {
|
2
|
+
left: 0,
|
3
|
+
top: 0,
|
4
|
+
right: 0,
|
5
|
+
gap: 0
|
6
|
+
}, e = function(t) {
|
7
|
+
return parseInt(t || "", 10) || 0;
|
8
|
+
}, o = function(t) {
|
9
|
+
var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
|
10
|
+
return [e(i), e(r), e(d)];
|
11
|
+
}, f = function(t) {
|
12
|
+
if (t === void 0 && (t = "margin"), typeof window > "u")
|
13
|
+
return a;
|
14
|
+
var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
|
15
|
+
return {
|
16
|
+
left: n[0],
|
17
|
+
top: n[1],
|
18
|
+
right: n[2],
|
19
|
+
gap: Math.max(0, r - i + n[2] - n[0])
|
11
20
|
};
|
12
21
|
};
|
13
22
|
export {
|
14
|
-
|
23
|
+
f as getGapWidth,
|
24
|
+
a as zeroGap
|
15
25
|
};
|
16
26
|
//# sourceMappingURL=index.es389.js.map
|
package/dist/index.es389.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es389.js","sources":["../node_modules/react-
|
1
|
+
{"version":3,"file":"index.es389.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"AAAU,IAACA,IAAU;AAAA,EACjB,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,KAAK;AACT,GACIC,IAAQ,SAAUC,GAAG;AAAE,SAAO,SAASA,KAAK,IAAI,EAAE,KAAK;AAAI,GAC3DC,IAAY,SAAUC,GAAS;AAC/B,MAAIC,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1CC,IAAOD,EAAGD,MAAY,YAAY,gBAAgB,YAAY,GAC9DG,IAAMF,EAAGD,MAAY,YAAY,eAAe,WAAW,GAC3DI,IAAQH,EAAGD,MAAY,YAAY,iBAAiB,aAAa;AACrE,SAAO,CAACH,EAAMK,CAAI,GAAGL,EAAMM,CAAG,GAAGN,EAAMO,CAAK,CAAC;AACjD,GACWC,IAAc,SAAUL,GAAS;AAExC,MADIA,MAAY,WAAUA,IAAU,WAChC,OAAO,SAAW;AAClB,WAAOJ;AAEX,MAAIU,IAAUP,EAAUC,CAAO,GAC3BO,IAAgB,SAAS,gBAAgB,aACzCC,IAAc,OAAO;AACzB,SAAO;AAAA,IACH,MAAMF,EAAQ,CAAC;AAAA,IACf,KAAKA,EAAQ,CAAC;AAAA,IACd,OAAOA,EAAQ,CAAC;AAAA,IAChB,KAAK,KAAK,IAAI,GAAGE,IAAcD,IAAgBD,EAAQ,CAAC,IAAIA,EAAQ,CAAC,CAAC;AAAA,EACzE;AACL;","x_google_ignoreList":[0]}
|
package/dist/index.es390.js
CHANGED
@@ -1,31 +1,16 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
}
|
10
|
-
|
11
|
-
t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
|
12
|
-
}
|
13
|
-
function a(t) {
|
14
|
-
var e = document.head || document.getElementsByTagName("head")[0];
|
15
|
-
e.appendChild(t);
|
16
|
-
}
|
17
|
-
var c = function() {
|
18
|
-
var t = 0, e = null;
|
19
|
-
return {
|
20
|
-
add: function(n) {
|
21
|
-
t == 0 && (e = r()) && (l(e, n), a(e)), t++;
|
22
|
-
},
|
23
|
-
remove: function() {
|
24
|
-
t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
|
25
|
-
}
|
1
|
+
import * as o from "react";
|
2
|
+
import { stylesheetSingleton as r } from "./index.es391.js";
|
3
|
+
var i = function() {
|
4
|
+
var t = r();
|
5
|
+
return function(e, n) {
|
6
|
+
o.useEffect(function() {
|
7
|
+
return t.add(e), function() {
|
8
|
+
t.remove();
|
9
|
+
};
|
10
|
+
}, [e && n]);
|
26
11
|
};
|
27
12
|
};
|
28
13
|
export {
|
29
|
-
|
14
|
+
i as styleHookSingleton
|
30
15
|
};
|
31
16
|
//# sourceMappingURL=index.es390.js.map
|
package/dist/index.es390.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es390.js","sources":["../node_modules/react-style-singleton/dist/es2015/
|
1
|
+
{"version":3,"file":"index.es390.js","sources":["../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":";;AAWU,IAACA,IAAqB,WAAY;AACxC,MAAIC,IAAQC,EAAqB;AACjC,SAAO,SAAUC,GAAQC,GAAW;AAChC,IAAAC,EAAM,UAAU,WAAY;AACxB,aAAAJ,EAAM,IAAIE,CAAM,GACT,WAAY;AACf,QAAAF,EAAM,OAAQ;AAAA,MACjB;AAAA,IACb,GAAW,CAACE,KAAUC,CAAS,CAAC;AAAA,EAC3B;AACL;","x_google_ignoreList":[0]}
|
package/dist/index.es391.js
CHANGED
@@ -1,8 +1,31 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
import { getNonce as o } from "./index.es392.js";
|
2
|
+
function r() {
|
3
|
+
if (!document)
|
4
|
+
return null;
|
5
|
+
var t = document.createElement("style");
|
6
|
+
t.type = "text/css";
|
7
|
+
var e = o();
|
8
|
+
return e && t.setAttribute("nonce", e), t;
|
9
|
+
}
|
10
|
+
function l(t, e) {
|
11
|
+
t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
|
12
|
+
}
|
13
|
+
function a(t) {
|
14
|
+
var e = document.head || document.getElementsByTagName("head")[0];
|
15
|
+
e.appendChild(t);
|
16
|
+
}
|
17
|
+
var c = function() {
|
18
|
+
var t = 0, e = null;
|
19
|
+
return {
|
20
|
+
add: function(n) {
|
21
|
+
t == 0 && (e = r()) && (l(e, n), a(e)), t++;
|
22
|
+
},
|
23
|
+
remove: function() {
|
24
|
+
t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
|
25
|
+
}
|
26
|
+
};
|
4
27
|
};
|
5
28
|
export {
|
6
|
-
|
29
|
+
c as stylesheetSingleton
|
7
30
|
};
|
8
31
|
//# sourceMappingURL=index.es391.js.map
|
package/dist/index.es391.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es391.js","sources":["../node_modules/
|
1
|
+
{"version":3,"file":"index.es391.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAU;AACtB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACH;AAAA,IACD,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAEpB;AAAA,EACJ;AACL;","x_google_ignoreList":[0]}
|
package/dist/index.es392.js
CHANGED
@@ -1,26 +1,8 @@
|
|
1
|
-
var
|
2
|
-
|
3
|
-
|
4
|
-
right: 0,
|
5
|
-
gap: 0
|
6
|
-
}, e = function(t) {
|
7
|
-
return parseInt(t || "", 10) || 0;
|
8
|
-
}, o = function(t) {
|
9
|
-
var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
|
10
|
-
return [e(i), e(r), e(d)];
|
11
|
-
}, f = function(t) {
|
12
|
-
if (t === void 0 && (t = "margin"), typeof window > "u")
|
13
|
-
return a;
|
14
|
-
var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
|
15
|
-
return {
|
16
|
-
left: n[0],
|
17
|
-
top: n[1],
|
18
|
-
right: n[2],
|
19
|
-
gap: Math.max(0, r - i + n[2] - n[0])
|
20
|
-
};
|
1
|
+
var e = function() {
|
2
|
+
if (typeof __webpack_nonce__ < "u")
|
3
|
+
return __webpack_nonce__;
|
21
4
|
};
|
22
5
|
export {
|
23
|
-
|
24
|
-
a as zeroGap
|
6
|
+
e as getNonce
|
25
7
|
};
|
26
8
|
//# sourceMappingURL=index.es392.js.map
|
package/dist/index.es392.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es392.js","sources":["../node_modules/
|
1
|
+
{"version":3,"file":"index.es392.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
|
package/dist/index.es396.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { asChildPropDef as r } from "./index.es406.js";
|
2
|
-
import { radiusPropDef as
|
3
|
-
const
|
2
|
+
import { radiusPropDef as o } from "./index.es407.js";
|
3
|
+
const s = ["1", "2", "3"], l = { ...r, size: { values: s, default: "1" }, ...o, scrollbars: { default: "both" } };
|
4
4
|
export {
|
5
5
|
l as scrollAreaPropDefs
|
6
6
|
};
|
package/dist/index.es396.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es396.js","sources":["../node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.js"],"sourcesContent":["import{asChildPropDef as s}from\"../props/as-child.prop.js\";import{radiusPropDef as e}from\"../props/radius.prop.js\";const r=[\"1\",\"2\",\"3\"],o=[\"vertical\",\"horizontal\",\"both\"],t={...s,size:{type:\"enum\",className:\"rt-r-size\",values:r,default:\"1\",responsive:!0},...e,scrollbars:{type:\"enum\",values:o,default:\"both\"}};export{t as scrollAreaPropDefs};\n//# sourceMappingURL=scroll-area.props.js.map\n"],"names":["r","
|
1
|
+
{"version":3,"file":"index.es396.js","sources":["../node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.js"],"sourcesContent":["import{asChildPropDef as s}from\"../props/as-child.prop.js\";import{radiusPropDef as e}from\"../props/radius.prop.js\";const r=[\"1\",\"2\",\"3\"],o=[\"vertical\",\"horizontal\",\"both\"],t={...s,size:{type:\"enum\",className:\"rt-r-size\",values:r,default:\"1\",responsive:!0},...e,scrollbars:{type:\"enum\",values:o,default:\"both\"}};export{t as scrollAreaPropDefs};\n//# sourceMappingURL=scroll-area.props.js.map\n"],"names":["r","t","s","e"],"mappings":";;AAAwH,MAACA,IAAE,CAAC,KAAI,KAAI,GAAG,GAAqCC,IAAE,EAAC,GAAGC,GAAE,MAAK,EAAmC,QAAOF,GAAE,SAAQ,IAAiB,GAAE,GAAGG,GAAE,YAAW,EAAsB,SAAQ,OAAM,EAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es399.js
CHANGED
@@ -1,59 +1,59 @@
|
|
1
1
|
import { breakpoints as l } from "./index.es408.js";
|
2
2
|
import { hasOwnProperty as p } from "./index.es409.js";
|
3
3
|
import { isResponsiveObject as m } from "./index.es410.js";
|
4
|
-
function V({ className:
|
5
|
-
const u =
|
4
|
+
function V({ className: n, customProperties: i, ...t }) {
|
5
|
+
const u = v({ allowArbitraryValues: !0, className: n, ...t }), s = d({ customProperties: i, ...t });
|
6
6
|
return [u, s];
|
7
7
|
}
|
8
|
-
function
|
9
|
-
const
|
10
|
-
if (
|
11
|
-
if (typeof
|
12
|
-
if (m(
|
13
|
-
const o =
|
14
|
-
for (const
|
15
|
-
if (!p(o,
|
16
|
-
const a = o[
|
8
|
+
function v({ allowArbitraryValues: n, value: i, className: t, propValues: u, parseValue: s = (e) => e }) {
|
9
|
+
const e = [];
|
10
|
+
if (i) {
|
11
|
+
if (typeof i == "string" && u.includes(i)) return f(t, i, s);
|
12
|
+
if (m(i)) {
|
13
|
+
const o = i;
|
14
|
+
for (const r in o) {
|
15
|
+
if (!p(o, r) || !l.includes(r)) continue;
|
16
|
+
const a = o[r];
|
17
17
|
if (a !== void 0) {
|
18
18
|
if (u.includes(a)) {
|
19
|
-
const c = f(t, a, s), $ =
|
20
|
-
|
21
|
-
} else if (
|
22
|
-
const c =
|
23
|
-
|
19
|
+
const c = f(t, a, s), $ = r === "initial" ? c : `${r}:${c}`;
|
20
|
+
e.push($);
|
21
|
+
} else if (n) {
|
22
|
+
const c = r === "initial" ? t : `${r}:${t}`;
|
23
|
+
e.push(c);
|
24
24
|
}
|
25
25
|
}
|
26
26
|
}
|
27
|
-
return
|
27
|
+
return e.join(" ");
|
28
28
|
}
|
29
|
-
if (
|
29
|
+
if (n) return t;
|
30
30
|
}
|
31
31
|
}
|
32
|
-
function f(
|
33
|
-
const u =
|
34
|
-
return `${o}${
|
32
|
+
function f(n, i, t) {
|
33
|
+
const u = n ? "-" : "", s = t(i), e = s == null ? void 0 : s.startsWith("-"), o = e ? "-" : "", r = e ? s == null ? void 0 : s.substring(1) : s;
|
34
|
+
return `${o}${n}${u}${r}`;
|
35
35
|
}
|
36
|
-
function
|
36
|
+
function d({ customProperties: n, value: i, propValues: t, parseValue: u = (s) => s }) {
|
37
37
|
let s = {};
|
38
|
-
if (!(!
|
39
|
-
if (typeof
|
40
|
-
const
|
41
|
-
for (const o in
|
42
|
-
if (!p(
|
43
|
-
const
|
44
|
-
if (!t.includes(
|
38
|
+
if (!(!i || typeof i == "string" && t.includes(i))) {
|
39
|
+
if (typeof i == "string" && (s = Object.fromEntries(n.map((e) => [e, i]))), m(i)) {
|
40
|
+
const e = i;
|
41
|
+
for (const o in e) {
|
42
|
+
if (!p(e, o) || !l.includes(o)) continue;
|
43
|
+
const r = e[o];
|
44
|
+
if (!t.includes(r)) for (const a of n) s = { [o === "initial" ? a : `${a}-${o}`]: r, ...s };
|
45
45
|
}
|
46
46
|
}
|
47
|
-
for (const
|
48
|
-
const o = s[
|
49
|
-
o !== void 0 && (s[
|
47
|
+
for (const e in s) {
|
48
|
+
const o = s[e];
|
49
|
+
o !== void 0 && (s[e] = u(o));
|
50
50
|
}
|
51
51
|
return s;
|
52
52
|
}
|
53
53
|
}
|
54
54
|
export {
|
55
|
-
|
56
|
-
|
55
|
+
v as getResponsiveClassNames,
|
56
|
+
d as getResponsiveCustomProperties,
|
57
57
|
V as getResponsiveStyles
|
58
58
|
};
|
59
59
|
//# sourceMappingURL=index.es399.js.map
|
package/dist/index.es399.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es399.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.js"],"sourcesContent":["import{breakpoints as c}from\"../props/prop-def.js\";import{hasOwnProperty as a}from\"./has-own-property.js\";import{isResponsiveObject as d}from\"./is-responsive-object.js\";function R({className:r,customProperties:n,...t}){const p=g({allowArbitraryValues:!0,className:r,...t}),e=m({customProperties:n,...t});return[p,e]}function g({allowArbitraryValues:r,value:n,className:t,propValues:p,parseValue:e=s=>s}){const s=[];if(n){if(typeof n==\"string\"&&p.includes(n))return l(t,n,e);if(d(n)){const i=n;for(const o in i){if(!a(i,o)||!c.includes(o))continue;const u=i[o];if(u!==void 0){if(p.includes(u)){const f=l(t,u,e),v=o===\"initial\"?f:`${o}:${f}`;s.push(v)}else if(r){const f=o===\"initial\"?t:`${o}:${t}`;s.push(f)}}}return s.join(\" \")}if(r)return t}}function l(r,n,t){const p=r?\"-\":\"\",e=t(n),s=e?.startsWith(\"-\"),i=s?\"-\":\"\",o=s?e?.substring(1):e;return`${i}${r}${p}${o}`}function m({customProperties:r,value:n,propValues:t,parseValue:p=e=>e}){let e={};if(!(!n||typeof n==\"string\"&&t.includes(n))){if(typeof n==\"string\"&&(e=Object.fromEntries(r.map(s=>[s,n]))),d(n)){const s=n;for(const i in s){if(!a(s,i)||!c.includes(i))continue;const o=s[i];if(!t.includes(o))for(const u of r)e={[i===\"initial\"?u:`${u}-${i}`]:o,...e}}}for(const s in e){const i=e[s];i!==void 0&&(e[s]=p(i))}return e}}export{g as getResponsiveClassNames,m as getResponsiveCustomProperties,R as getResponsiveStyles};\n//# sourceMappingURL=get-responsive-styles.js.map\n"],"names":["R","n","p","g","e","m","s","l","d","i","o","a","c","u","f","v"],"mappings":";;;AAAyK,SAASA,EAAE,EAAC,
|
1
|
+
{"version":3,"file":"index.es399.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.js"],"sourcesContent":["import{breakpoints as c}from\"../props/prop-def.js\";import{hasOwnProperty as a}from\"./has-own-property.js\";import{isResponsiveObject as d}from\"./is-responsive-object.js\";function R({className:r,customProperties:n,...t}){const p=g({allowArbitraryValues:!0,className:r,...t}),e=m({customProperties:n,...t});return[p,e]}function g({allowArbitraryValues:r,value:n,className:t,propValues:p,parseValue:e=s=>s}){const s=[];if(n){if(typeof n==\"string\"&&p.includes(n))return l(t,n,e);if(d(n)){const i=n;for(const o in i){if(!a(i,o)||!c.includes(o))continue;const u=i[o];if(u!==void 0){if(p.includes(u)){const f=l(t,u,e),v=o===\"initial\"?f:`${o}:${f}`;s.push(v)}else if(r){const f=o===\"initial\"?t:`${o}:${t}`;s.push(f)}}}return s.join(\" \")}if(r)return t}}function l(r,n,t){const p=r?\"-\":\"\",e=t(n),s=e?.startsWith(\"-\"),i=s?\"-\":\"\",o=s?e?.substring(1):e;return`${i}${r}${p}${o}`}function m({customProperties:r,value:n,propValues:t,parseValue:p=e=>e}){let e={};if(!(!n||typeof n==\"string\"&&t.includes(n))){if(typeof n==\"string\"&&(e=Object.fromEntries(r.map(s=>[s,n]))),d(n)){const s=n;for(const i in s){if(!a(s,i)||!c.includes(i))continue;const o=s[i];if(!t.includes(o))for(const u of r)e={[i===\"initial\"?u:`${u}-${i}`]:o,...e}}}for(const s in e){const i=e[s];i!==void 0&&(e[s]=p(i))}return e}}export{g as getResponsiveClassNames,m as getResponsiveCustomProperties,R as getResponsiveStyles};\n//# sourceMappingURL=get-responsive-styles.js.map\n"],"names":["R","r","n","p","g","e","m","s","l","d","i","o","a","c","u","f","v"],"mappings":";;;AAAyK,SAASA,EAAE,EAAC,WAAUC,GAAE,kBAAiBC,GAAE,GAAG,EAAC,GAAE;AAAC,QAAMC,IAAEC,EAAE,EAAC,sBAAqB,IAAG,WAAUH,GAAE,GAAG,EAAC,CAAC,GAAEI,IAAEC,EAAE,EAAC,kBAAiBJ,GAAE,GAAG,EAAC,CAAC;AAAE,SAAM,CAACC,GAAEE,CAAC;AAAC;AAAC,SAASD,EAAE,EAAC,sBAAqBH,GAAE,OAAMC,GAAE,WAAU,GAAE,YAAWC,GAAE,YAAWE,IAAE,CAAAE,MAAGA,EAAC,GAAE;AAAC,QAAMA,IAAE,CAAA;AAAG,MAAGL,GAAE;AAAC,QAAG,OAAOA,KAAG,YAAUC,EAAE,SAASD,CAAC,EAAE,QAAOM,EAAE,GAAEN,GAAEG,CAAC;AAAE,QAAGI,EAAEP,CAAC,GAAE;AAAC,YAAMQ,IAAER;AAAE,iBAAUS,KAAKD,GAAE;AAAC,YAAG,CAACE,EAAEF,GAAEC,CAAC,KAAG,CAACE,EAAE,SAASF,CAAC,EAAE;AAAS,cAAMG,IAAEJ,EAAEC,CAAC;AAAE,YAAGG,MAAI;AAAQ,cAAGX,EAAE,SAASW,CAAC,GAAE;AAAC,kBAAMC,IAAEP,EAAE,GAAEM,GAAET,CAAC,GAAEW,IAAEL,MAAI,YAAUI,IAAE,GAAGJ,CAAC,IAAII,CAAC;AAAG,YAAAR,EAAE,KAAKS,CAAC;AAAA,UAAC,WAASf,GAAE;AAAC,kBAAMc,IAAEJ,MAAI,YAAU,IAAE,GAAGA,CAAC,IAAI,CAAC;AAAG,YAAAJ,EAAE,KAAKQ,CAAC;AAAA,UAAC;AAAA;AAAA,MAAE;AAAC,aAAOR,EAAE,KAAK,GAAG;AAAA,IAAC;AAAC,QAAGN,EAAE,QAAO;AAAA,EAAC;AAAC;AAAC,SAASO,EAAEP,GAAEC,GAAE,GAAE;AAAC,QAAMC,IAAEF,IAAE,MAAI,IAAGI,IAAE,EAAEH,CAAC,GAAEK,IAAEF,KAAA,gBAAAA,EAAG,WAAW,MAAKK,IAAEH,IAAE,MAAI,IAAGI,IAAEJ,IAAEF,KAAA,gBAAAA,EAAG,UAAU,KAAGA;AAAE,SAAM,GAAGK,CAAC,GAAGT,CAAC,GAAGE,CAAC,GAAGQ,CAAC;AAAE;AAAC,SAASL,EAAE,EAAC,kBAAiBL,GAAE,OAAMC,GAAE,YAAW,GAAE,YAAWC,IAAE,CAAAE,MAAGA,EAAC,GAAE;AAAC,MAAIA,IAAE,CAAE;AAAC,MAAG,EAAE,CAACH,KAAG,OAAOA,KAAG,YAAU,EAAE,SAASA,CAAC,IAAG;AAAC,QAAG,OAAOA,KAAG,aAAWG,IAAE,OAAO,YAAYJ,EAAE,IAAI,CAAAM,MAAG,CAACA,GAAEL,CAAC,CAAC,CAAC,IAAGO,EAAEP,CAAC,GAAE;AAAC,YAAMK,IAAEL;AAAE,iBAAUQ,KAAKH,GAAE;AAAC,YAAG,CAACK,EAAEL,GAAEG,CAAC,KAAG,CAACG,EAAE,SAASH,CAAC,EAAE;AAAS,cAAMC,IAAEJ,EAAEG,CAAC;AAAE,YAAG,CAAC,EAAE,SAASC,CAAC,EAAE,YAAUG,KAAKb,EAAEI,CAAAA,IAAE,EAAC,CAACK,MAAI,YAAUI,IAAE,GAAGA,CAAC,IAAIJ,CAAC,EAAE,GAAEC,GAAE,GAAGN,EAAC;AAAA,MAAC;AAAA,IAAC;AAAC,eAAUE,KAAKF,GAAE;AAAC,YAAMK,IAAEL,EAAEE,CAAC;AAAE,MAAAG,MAAI,WAASL,EAAEE,CAAC,IAAEJ,EAAEO,CAAC;AAAA,IAAE;AAAC,WAAOL;AAAAA,EAAC;AAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es401.js
CHANGED
package/dist/index.es401.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es401.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.js"],"sourcesContent":["function l(...t){let e={};for(const n of t)n&&(e={...e,...n});return Object.keys(e).length?e:void 0}export{l as mergeStyles};\n//# sourceMappingURL=merge-styles.js.map\n"],"names":["l"],"mappings":"AAAA,SAASA,
|
1
|
+
{"version":3,"file":"index.es401.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.js"],"sourcesContent":["function l(...t){let e={};for(const n of t)n&&(e={...e,...n});return Object.keys(e).length?e:void 0}export{l as mergeStyles};\n//# sourceMappingURL=merge-styles.js.map\n"],"names":["l","t","n"],"mappings":"AAAA,SAASA,KAAKC,GAAE;AAAC,MAAI,IAAE;AAAG,aAAUC,KAAKD,EAAE,CAAAC,MAAI,IAAE,EAAC,GAAG,GAAE,GAAGA,EAAC;AAAG,SAAO,OAAO,KAAK,CAAC,EAAE,SAAO,IAAE;AAAM;","x_google_ignoreList":[0]}
|
package/dist/index.es402.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import * as c from "react";
|
2
|
-
import { Primitive as L } from "./index.
|
3
|
-
import { Presence as O } from "./index.
|
2
|
+
import { Primitive as L } from "./index.es329.js";
|
3
|
+
import { Presence as O } from "./index.es342.js";
|
4
4
|
import { createContextScope as le } from "./index.es327.js";
|
5
5
|
import { useComposedRefs as T } from "./index.es326.js";
|
6
|
-
import { useCallbackRef as x } from "./index.
|
7
|
-
import { useDirection as ce } from "./index.
|
8
|
-
import { useLayoutEffect as se } from "./index.
|
6
|
+
import { useCallbackRef as x } from "./index.es333.js";
|
7
|
+
import { useDirection as ce } from "./index.es336.js";
|
8
|
+
import { useLayoutEffect as se } from "./index.es346.js";
|
9
9
|
import { clamp as ie } from "./index.es411.js";
|
10
|
-
import { composeEventHandlers as C } from "./index.
|
10
|
+
import { composeEventHandlers as C } from "./index.es325.js";
|
11
11
|
import { j as b } from "./index.es181.js";
|
12
12
|
function ae(e, t) {
|
13
13
|
return c.useReducer((r, l) => t[r][l] ?? r, e);
|
package/dist/index.es405.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
const e = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-1", "-2", "-3", "-4", "-5", "-6", "-7", "-8", "-9"],
|
1
|
+
const e = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-1", "-2", "-3", "-4", "-5", "-6", "-7", "-8", "-9"], r = { m: { values: e } };
|
2
2
|
export {
|
3
|
-
|
3
|
+
r as marginPropDefs
|
4
4
|
};
|
5
5
|
//# sourceMappingURL=index.es405.js.map
|
package/dist/index.es405.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es405.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/margin.props.js"],"sourcesContent":["const e=[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"-1\",\"-2\",\"-3\",\"-4\",\"-5\",\"-6\",\"-7\",\"-8\",\"-9\"],r={m:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-m\",customProperties:[\"--m\"]},mx:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-mx\",customProperties:[\"--ml\",\"--mr\"]},my:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-my\",customProperties:[\"--mt\",\"--mb\"]},mt:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-mt\",customProperties:[\"--mt\"]},mr:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-mr\",customProperties:[\"--mr\"]},mb:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-mb\",customProperties:[\"--mb\"]},ml:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-ml\",customProperties:[\"--ml\"]}};export{r as marginPropDefs};\n//# sourceMappingURL=margin.props.js.map\n"],"names":[
|
1
|
+
{"version":3,"file":"index.es405.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/margin.props.js"],"sourcesContent":["const e=[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"-1\",\"-2\",\"-3\",\"-4\",\"-5\",\"-6\",\"-7\",\"-8\",\"-9\"],r={m:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-m\",customProperties:[\"--m\"]},mx:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-mx\",customProperties:[\"--ml\",\"--mr\"]},my:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-my\",customProperties:[\"--mt\",\"--mb\"]},mt:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-mt\",customProperties:[\"--mt\"]},mr:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-mr\",customProperties:[\"--mr\"]},mb:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-mb\",customProperties:[\"--mb\"]},ml:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-ml\",customProperties:[\"--ml\"]}};export{r as marginPropDefs};\n//# sourceMappingURL=margin.props.js.map\n"],"names":[],"mappings":"AAAK,MAAC,IAAE,CAAC,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,MAAK,MAAK,MAAK,MAAK,MAAK,MAAK,MAAK,MAAK,IAAI,GAAE,IAAE,EAAC,GAAE,EAAsB,QAAO,EAA2D,EAAykB;","x_google_ignoreList":[0]}
|
package/dist/index.es47.js
CHANGED
@@ -2,7 +2,7 @@ import { j as e } from "./index.es181.js";
|
|
2
2
|
import { Root as l, Thumb as c } from "./index.es258.js";
|
3
3
|
import { Row as x } from "./index.es9.js";
|
4
4
|
import './components/ui/Switch/Switch.css';/* empty css */
|
5
|
-
const
|
5
|
+
const p = ({
|
6
6
|
id: t = void 0,
|
7
7
|
label: s = "",
|
8
8
|
checked: o = !1,
|
@@ -70,6 +70,6 @@ const g = ({
|
|
70
70
|
] });
|
71
71
|
};
|
72
72
|
export {
|
73
|
-
|
73
|
+
p as Switch
|
74
74
|
};
|
75
75
|
//# sourceMappingURL=index.es47.js.map
|