@anoki/fse-ui 1.0.0-beta1.37.22 → 1.0.0-beta1.37.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs134.js +1 -1
- package/dist/index.cjs134.js.map +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs287.js +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs305.js +1 -1
- package/dist/index.cjs319.js +1 -1
- package/dist/index.cjs332.js +1 -1
- package/dist/index.cjs342.js +1 -1
- package/dist/index.cjs389.js +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs453.js +1 -1
- package/dist/index.cjs453.js.map +1 -1
- package/dist/index.cjs454.js +1 -1
- package/dist/index.cjs455.js +1 -1
- package/dist/index.cjs455.js.map +1 -1
- package/dist/index.cjs456.js +1 -1
- package/dist/index.cjs456.js.map +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs471.js +1 -1
- package/dist/index.cjs476.js +1 -1
- package/dist/index.cjs479.js +1 -1
- package/dist/index.cjs479.js.map +1 -1
- package/dist/index.cjs480.js +2 -0
- package/dist/index.cjs480.js.map +1 -0
- package/dist/index.cjs481.js +1 -1
- package/dist/index.cjs481.js.map +1 -1
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs482.js.map +1 -1
- package/dist/index.cjs483.js +1 -1
- package/dist/index.cjs483.js.map +1 -1
- package/dist/index.cjs484.js +1 -1
- package/dist/index.cjs484.js.map +1 -1
- package/dist/index.cjs485.js +1 -1
- package/dist/index.cjs485.js.map +1 -1
- package/dist/index.cjs486.js +2 -0
- package/dist/index.cjs486.js.map +1 -0
- package/dist/index.cjs487.js +2 -0
- package/dist/index.cjs487.js.map +1 -0
- package/dist/index.cjs488.js +2 -0
- package/dist/index.cjs488.js.map +1 -0
- package/dist/index.cjs491.js +2 -0
- package/dist/index.cjs491.js.map +1 -0
- package/dist/index.cjs492.js +2 -0
- package/dist/{index.cjs500.js.map → index.cjs492.js.map} +1 -1
- package/dist/{index.cjs501.js → index.cjs493.js} +2 -2
- package/dist/{index.cjs501.js.map → index.cjs493.js.map} +1 -1
- package/dist/{index.cjs502.js → index.cjs494.js} +2 -2
- package/dist/{index.cjs502.js.map → index.cjs494.js.map} +1 -1
- package/dist/{index.cjs503.js → index.cjs495.js} +2 -2
- package/dist/{index.cjs503.js.map → index.cjs495.js.map} +1 -1
- package/dist/index.cjs496.js +1 -1
- package/dist/index.cjs496.js.map +1 -1
- package/dist/index.cjs497.js +1 -1
- package/dist/index.cjs497.js.map +1 -1
- package/dist/index.cjs498.js +1 -1
- package/dist/index.cjs498.js.map +1 -1
- package/dist/index.cjs499.js +1 -1
- package/dist/index.cjs499.js.map +1 -1
- package/dist/index.cjs506.js +38 -1
- package/dist/index.cjs506.js.map +1 -1
- package/dist/index.cjs507.js +1 -38
- package/dist/index.cjs507.js.map +1 -1
- package/dist/index.cjs508.js +1 -1
- package/dist/index.cjs508.js.map +1 -1
- package/dist/index.cjs509.js +1 -1
- package/dist/index.cjs509.js.map +1 -1
- package/dist/index.cjs510.js +1 -1
- package/dist/index.cjs510.js.map +1 -1
- package/dist/index.cjs513.js +2 -0
- package/dist/index.cjs513.js.map +1 -0
- package/dist/index.cjs514.js +1 -1
- package/dist/index.cjs514.js.map +1 -1
- package/dist/index.cjs525.js +1 -1
- package/dist/index.cjs525.js.map +1 -1
- package/dist/index.cjs526.js +1 -1
- package/dist/index.cjs526.js.map +1 -1
- package/dist/index.cjs527.js +1 -1
- package/dist/index.cjs527.js.map +1 -1
- package/dist/index.cjs528.js +1 -1
- package/dist/index.cjs528.js.map +1 -1
- package/dist/index.cjs529.js +1 -1
- package/dist/index.cjs530.js +1 -1
- package/dist/index.cjs532.js +1 -1
- package/dist/index.cjs533.js +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs538.js +1 -1
- package/dist/index.cjs541.js +1 -1
- package/dist/index.cjs544.js +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs555.js +6 -0
- package/dist/index.cjs555.js.map +1 -0
- package/dist/index.cjs556.js +1 -1
- package/dist/index.cjs556.js.map +1 -1
- package/dist/index.cjs557.js +1 -1
- package/dist/index.cjs557.js.map +1 -1
- package/dist/index.cjs558.js +1 -5
- package/dist/index.cjs558.js.map +1 -1
- package/dist/index.cjs559.js +1 -1
- package/dist/index.cjs559.js.map +1 -1
- package/dist/index.cjs560.js +1 -1
- package/dist/index.cjs560.js.map +1 -1
- package/dist/index.cjs561.js +1 -1
- package/dist/index.cjs561.js.map +1 -1
- package/dist/index.cjs562.js +1 -1
- package/dist/index.cjs562.js.map +1 -1
- package/dist/index.cjs563.js +1 -1
- package/dist/index.cjs563.js.map +1 -1
- package/dist/index.cjs564.js +1 -1
- package/dist/index.cjs564.js.map +1 -1
- package/dist/index.cjs569.js +2 -0
- package/dist/index.cjs569.js.map +1 -0
- package/dist/index.cjs570.js +1 -1
- package/dist/index.cjs570.js.map +1 -1
- package/dist/index.cjs575.js +1 -1
- package/dist/index.cjs575.js.map +1 -1
- package/dist/index.cjs576.js +1 -1
- package/dist/index.cjs576.js.map +1 -1
- package/dist/index.cjs577.js +2 -0
- package/dist/index.cjs577.js.map +1 -0
- package/dist/index.es134.js +45 -40
- package/dist/index.es134.js.map +1 -1
- package/dist/index.es253.js +1 -1
- package/dist/index.es254.js +2 -2
- package/dist/index.es255.js +2 -2
- package/dist/index.es287.js +1 -1
- package/dist/index.es295.js +2 -2
- package/dist/index.es305.js +1 -1
- package/dist/index.es319.js +1 -1
- package/dist/index.es332.js +1 -1
- package/dist/index.es342.js +2 -2
- package/dist/index.es389.js +1 -1
- package/dist/index.es448.js +1 -1
- package/dist/index.es453.js +131 -8
- package/dist/index.es453.js.map +1 -1
- package/dist/index.es454.js +1 -1
- package/dist/index.es455.js +9 -3
- package/dist/index.es455.js.map +1 -1
- package/dist/index.es456.js +2 -131
- package/dist/index.es456.js.map +1 -1
- package/dist/index.es468.js +1 -1
- package/dist/index.es471.js +4 -4
- package/dist/index.es476.js +3 -3
- package/dist/index.es479.js +11 -24
- package/dist/index.es479.js.map +1 -1
- package/dist/index.es480.js +208 -0
- package/dist/index.es480.js.map +1 -0
- package/dist/index.es481.js +22 -12
- package/dist/index.es481.js.map +1 -1
- package/dist/index.es482.js +24 -204
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +392 -21
- package/dist/index.es483.js.map +1 -1
- package/dist/index.es484.js +5 -392
- package/dist/index.es484.js.map +1 -1
- package/dist/index.es485.js +24 -14
- package/dist/index.es485.js.map +1 -1
- package/dist/index.es486.js +32 -0
- package/dist/index.es486.js.map +1 -0
- package/dist/index.es487.js +8 -0
- package/dist/index.es487.js.map +1 -0
- package/dist/index.es488.js +18 -0
- package/dist/index.es488.js.map +1 -0
- package/dist/index.es491.js +8 -0
- package/dist/index.es491.js.map +1 -0
- package/dist/index.es492.js +6 -0
- package/dist/{index.es500.js.map → index.es492.js.map} +1 -1
- package/dist/{index.es501.js → index.es493.js} +3 -3
- package/dist/{index.es501.js.map → index.es493.js.map} +1 -1
- package/dist/{index.es502.js → index.es494.js} +6 -6
- package/dist/{index.es502.js.map → index.es494.js.map} +1 -1
- package/dist/{index.es503.js → index.es495.js} +2 -2
- package/dist/{index.es503.js.map → index.es495.js.map} +1 -1
- package/dist/index.es496.js +519 -21
- package/dist/index.es496.js.map +1 -1
- package/dist/index.es497.js +126 -28
- package/dist/index.es497.js.map +1 -1
- package/dist/index.es498.js +129 -5
- package/dist/index.es498.js.map +1 -1
- package/dist/index.es499.js +15 -5
- package/dist/index.es499.js.map +1 -1
- package/dist/index.es506.js +67 -127
- package/dist/index.es506.js.map +1 -1
- package/dist/index.es507.js +8 -68
- package/dist/index.es507.js.map +1 -1
- package/dist/index.es508.js +14 -9
- package/dist/index.es508.js.map +1 -1
- package/dist/index.es509.js +62 -14
- package/dist/index.es509.js.map +1 -1
- package/dist/index.es510.js +64 -61
- package/dist/index.es510.js.map +1 -1
- package/dist/index.es513.js +7 -0
- package/dist/index.es513.js.map +1 -0
- package/dist/index.es514.js +22 -3
- package/dist/index.es514.js.map +1 -1
- package/dist/index.es525.js +21 -11
- package/dist/index.es525.js.map +1 -1
- package/dist/index.es526.js +11 -26
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +27 -4
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +4 -22
- package/dist/index.es528.js.map +1 -1
- package/dist/index.es529.js +1 -1
- package/dist/index.es530.js +2 -2
- package/dist/index.es532.js +1 -1
- package/dist/index.es533.js +3 -3
- package/dist/index.es536.js +2 -2
- package/dist/index.es538.js +3 -3
- package/dist/index.es541.js +1 -1
- package/dist/index.es544.js +1 -1
- package/dist/index.es547.js +1 -1
- package/dist/index.es555.js +43 -0
- package/dist/index.es555.js.map +1 -0
- package/dist/index.es556.js +2 -74
- package/dist/index.es556.js.map +1 -1
- package/dist/index.es557.js +5 -2
- package/dist/index.es557.js.map +1 -1
- package/dist/index.es558.js +15 -39
- package/dist/index.es558.js.map +1 -1
- package/dist/index.es559.js +2 -2
- package/dist/index.es559.js.map +1 -1
- package/dist/index.es560.js +2 -5
- package/dist/index.es560.js.map +1 -1
- package/dist/index.es561.js +2 -6
- package/dist/index.es561.js.map +1 -1
- package/dist/index.es562.js +6 -16
- package/dist/index.es562.js.map +1 -1
- package/dist/index.es563.js +2 -2
- package/dist/index.es563.js.map +1 -1
- package/dist/index.es564.js +2 -2
- package/dist/index.es564.js.map +1 -1
- package/dist/index.es569.js +77 -0
- package/dist/index.es569.js.map +1 -0
- package/dist/index.es570.js +2 -2
- package/dist/index.es570.js.map +1 -1
- package/dist/index.es575.js +4 -3
- package/dist/index.es575.js.map +1 -1
- package/dist/index.es576.js +3 -2
- package/dist/index.es576.js.map +1 -1
- package/dist/index.es577.js +5 -0
- package/dist/index.es577.js.map +1 -0
- package/package.json +1 -1
- package/dist/index.cjs478.js +0 -2
- package/dist/index.cjs478.js.map +0 -1
- package/dist/index.cjs500.js +0 -2
- package/dist/index.cjs504.js +0 -2
- package/dist/index.cjs504.js.map +0 -1
- package/dist/index.cjs505.js +0 -2
- package/dist/index.cjs505.js.map +0 -1
- package/dist/index.cjs511.js +0 -2
- package/dist/index.cjs511.js.map +0 -1
- package/dist/index.cjs515.js +0 -2
- package/dist/index.cjs515.js.map +0 -1
- package/dist/index.cjs519.js +0 -2
- package/dist/index.cjs519.js.map +0 -1
- package/dist/index.cjs565.js +0 -2
- package/dist/index.cjs565.js.map +0 -1
- package/dist/index.cjs571.js +0 -2
- package/dist/index.cjs571.js.map +0 -1
- package/dist/index.cjs579.js +0 -2
- package/dist/index.cjs579.js.map +0 -1
- package/dist/index.es478.js +0 -9
- package/dist/index.es478.js.map +0 -1
- package/dist/index.es500.js +0 -6
- package/dist/index.es504.js +0 -526
- package/dist/index.es504.js.map +0 -1
- package/dist/index.es505.js +0 -130
- package/dist/index.es505.js.map +0 -1
- package/dist/index.es511.js +0 -68
- package/dist/index.es511.js.map +0 -1
- package/dist/index.es515.js +0 -26
- package/dist/index.es515.js.map +0 -1
- package/dist/index.es519.js +0 -18
- package/dist/index.es519.js.map +0 -1
- package/dist/index.es565.js +0 -5
- package/dist/index.es565.js.map +0 -1
- package/dist/index.es571.js +0 -5
- package/dist/index.es571.js.map +0 -1
- package/dist/index.es579.js +0 -7
- package/dist/index.es579.js.map +0 -1
- /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css → ConsentModal/ConsentModalContent/ConsentModalContent.css} +0 -0
package/dist/index.es510.js
CHANGED
|
@@ -1,65 +1,68 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import { __assign as d } from "./index.es485.js";
|
|
2
|
+
function l(r) {
|
|
3
|
+
return r;
|
|
4
|
+
}
|
|
5
|
+
function h(r, t) {
|
|
6
|
+
t === void 0 && (t = l);
|
|
7
|
+
var e = [], o = !1, c = {
|
|
8
|
+
read: function() {
|
|
9
|
+
if (o)
|
|
10
|
+
throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
|
|
11
|
+
return e.length ? e[e.length - 1] : r;
|
|
12
|
+
},
|
|
13
|
+
useMedium: function(u) {
|
|
14
|
+
var n = t(u, o);
|
|
15
|
+
return e.push(n), function() {
|
|
16
|
+
e = e.filter(function(i) {
|
|
17
|
+
return i !== n;
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
},
|
|
21
|
+
assignSyncMedium: function(u) {
|
|
22
|
+
for (o = !0; e.length; ) {
|
|
23
|
+
var n = e;
|
|
24
|
+
e = [], n.forEach(u);
|
|
25
|
+
}
|
|
26
|
+
e = {
|
|
27
|
+
push: function(i) {
|
|
28
|
+
return u(i);
|
|
29
|
+
},
|
|
30
|
+
filter: function() {
|
|
31
|
+
return e;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
},
|
|
35
|
+
assignMedium: function(u) {
|
|
36
|
+
o = !0;
|
|
37
|
+
var n = [];
|
|
38
|
+
if (e.length) {
|
|
39
|
+
var i = e;
|
|
40
|
+
e = [], i.forEach(u), n = e;
|
|
41
|
+
}
|
|
42
|
+
var s = function() {
|
|
43
|
+
var f = n;
|
|
44
|
+
n = [], f.forEach(u);
|
|
45
|
+
}, a = function() {
|
|
46
|
+
return Promise.resolve().then(s);
|
|
47
|
+
};
|
|
48
|
+
a(), e = {
|
|
49
|
+
push: function(f) {
|
|
50
|
+
n.push(f), a();
|
|
51
|
+
},
|
|
52
|
+
filter: function(f) {
|
|
53
|
+
return n = n.filter(f), e;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
25
56
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
t
|
|
35
|
-
];
|
|
36
|
-
}, V = function(e) {
|
|
37
|
-
var r = e.scrollLeft, o = e.scrollWidth, t = e.clientWidth;
|
|
38
|
-
return [
|
|
39
|
-
r,
|
|
40
|
-
o,
|
|
41
|
-
t
|
|
42
|
-
];
|
|
43
|
-
}, g = function(e, r) {
|
|
44
|
-
return e === "v" ? y(r) : H(r);
|
|
45
|
-
}, b = function(e, r) {
|
|
46
|
-
return e === "v" ? B(r) : V(r);
|
|
47
|
-
}, D = function(e, r) {
|
|
48
|
-
return e === "h" && r === "rtl" ? -1 : 1;
|
|
49
|
-
}, W = function(e, r, o, t, v) {
|
|
50
|
-
var n = D(e, window.getComputedStyle(r).direction), a = n * t, l = o.target, f = r.contains(l), i = !1, s = a > 0, d = 0, h = 0;
|
|
51
|
-
do {
|
|
52
|
-
var c = b(e, l), u = c[0], m = c[1], C = c[2], S = m - C - n * u;
|
|
53
|
-
(u || S) && g(e, l) && (d += S, h += u), l instanceof ShadowRoot ? l = l.host : l = l.parentNode;
|
|
54
|
-
} while (
|
|
55
|
-
// portaled content
|
|
56
|
-
!f && l !== document.body || // self content
|
|
57
|
-
f && (r.contains(l) || r === l)
|
|
58
|
-
);
|
|
59
|
-
return (s && Math.abs(d) < 1 || !s && Math.abs(h) < 1) && (i = !0), i;
|
|
60
|
-
};
|
|
57
|
+
};
|
|
58
|
+
return c;
|
|
59
|
+
}
|
|
60
|
+
function v(r) {
|
|
61
|
+
r === void 0 && (r = {});
|
|
62
|
+
var t = h(null);
|
|
63
|
+
return t.options = d({ async: !0, ssr: !1 }, r), t;
|
|
64
|
+
}
|
|
61
65
|
export {
|
|
62
|
-
|
|
63
|
-
R as locationCouldBeScrolled
|
|
66
|
+
v as createSidecarMedium
|
|
64
67
|
};
|
|
65
68
|
//# sourceMappingURL=index.es510.js.map
|
package/dist/index.es510.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es510.js","sources":["../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es510.js","sources":["../node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","__assign"],"mappings":";AACA,SAASA,EAAKC,GAAG;AACb,SAAOA;AACX;AACA,SAASC,EAAkBC,GAAUC,GAAY;AAC7C,EAAIA,MAAe,WAAUA,IAAaJ;AAC1C,MAAIK,IAAS,CAAE,GACXC,IAAW,IACXC,IAAS;AAAA,IACT,MAAM,WAAY;AACd,UAAID;AACA,cAAM,IAAI,MAAM,kGAAkG;AAEtH,aAAID,EAAO,SACAA,EAAOA,EAAO,SAAS,CAAC,IAE5BF;AAAA,IACV;AAAA,IACD,WAAW,SAAUK,GAAM;AACvB,UAAIC,IAAOL,EAAWI,GAAMF,CAAQ;AACpC,aAAAD,EAAO,KAAKI,CAAI,GACT,WAAY;AACf,QAAAJ,IAASA,EAAO,OAAO,SAAUK,GAAG;AAAE,iBAAOA,MAAMD;AAAA,SAAO;AAAA,MAC7D;AAAA,IACJ;AAAA,IACD,kBAAkB,SAAUE,GAAI;AAE5B,WADAL,IAAW,IACJD,EAAO,UAAQ;AAClB,YAAIO,IAAMP;AACV,QAAAA,IAAS,CAAE,GACXO,EAAI,QAAQD,CAAE;AAAA,MAC9B;AACY,MAAAN,IAAS;AAAA,QACL,MAAM,SAAUK,GAAG;AAAE,iBAAOC,EAAGD,CAAC;AAAA,QAAI;AAAA,QACpC,QAAQ,WAAY;AAAE,iBAAOL;AAAA,QAAS;AAAA,MACzC;AAAA,IACJ;AAAA,IACD,cAAc,SAAUM,GAAI;AACxB,MAAAL,IAAW;AACX,UAAIO,IAAe,CAAE;AACrB,UAAIR,EAAO,QAAQ;AACf,YAAIO,IAAMP;AACV,QAAAA,IAAS,CAAE,GACXO,EAAI,QAAQD,CAAE,GACdE,IAAeR;AAAA,MAC/B;AACY,UAAIS,IAAe,WAAY;AAC3B,YAAIF,IAAMC;AACV,QAAAA,IAAe,CAAE,GACjBD,EAAI,QAAQD,CAAE;AAAA,MACjB,GACGI,IAAQ,WAAY;AAAE,eAAO,QAAQ,QAAO,EAAG,KAAKD,CAAY;AAAA,MAAI;AACxE,MAAAC,EAAO,GACPV,IAAS;AAAA,QACL,MAAM,SAAUK,GAAG;AACf,UAAAG,EAAa,KAAKH,CAAC,GACnBK,EAAO;AAAA,QACV;AAAA,QACD,QAAQ,SAAUC,GAAQ;AACtB,iBAAAH,IAAeA,EAAa,OAAOG,CAAM,GAClCX;AAAA,QACV;AAAA,MACJ;AAAA,IACJ;AAAA,EACJ;AACD,SAAOE;AACX;AAMO,SAASU,EAAoBC,GAAS;AACzC,EAAIA,MAAY,WAAUA,IAAU,CAAA;AACpC,MAAIX,IAASL,EAAkB,IAAI;AACnC,SAAAK,EAAO,UAAUY,EAAS,EAAE,OAAO,IAAM,KAAK,GAAO,GAAED,CAAO,GACvDX;AACX;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es513.js","sources":["../node_modules/use-callback-ref/dist/es2015/assignRef.js"],"sourcesContent":["/**\n * Assigns a value for a given ref, no matter of the ref format\n * @param {RefObject} ref - a callback function or ref object\n * @param value - a new value\n *\n * @see https://github.com/theKashey/use-callback-ref#assignref\n * @example\n * const refObject = useRef();\n * const refFn = (ref) => {....}\n *\n * assignRef(refObject, \"refValue\");\n * assignRef(refFn, \"refValue\");\n */\nexport function assignRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n }\n else if (ref) {\n ref.current = value;\n }\n return ref;\n}\n"],"names":["assignRef","ref","value"],"mappings":"AAaO,SAASA,EAAUC,GAAKC,GAAO;AAClC,SAAI,OAAOD,KAAQ,aACfA,EAAIC,CAAK,IAEJD,MACLA,EAAI,UAAUC,IAEXD;AACX;","x_google_ignoreList":[0]}
|
package/dist/index.es514.js
CHANGED
|
@@ -1,7 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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;
|
|
3
22
|
}
|
|
4
23
|
export {
|
|
5
|
-
|
|
24
|
+
n as useCallbackRef
|
|
6
25
|
};
|
|
7
26
|
//# sourceMappingURL=index.es514.js.map
|
package/dist/index.es514.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es514.js","sources":["../node_modules/use-callback-ref/dist/es2015/
|
|
1
|
+
{"version":3,"file":"index.es514.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.es525.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.es525.js.map
|
package/dist/index.es525.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es525.js","sources":["../node_modules/react-
|
|
1
|
+
{"version":3,"file":"index.es525.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.es526.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.es527.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.es526.js.map
|
package/dist/index.es526.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es526.js","sources":["../node_modules/react-style-singleton/dist/es2015/
|
|
1
|
+
{"version":3,"file":"index.es526.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.es527.js
CHANGED
|
@@ -1,8 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { getNonce as o } from "./index.es528.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.es527.js.map
|
package/dist/index.es527.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es527.js","sources":["../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es527.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.es528.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.es528.js.map
|
package/dist/index.es528.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es528.js","sources":["../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es528.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.es529.js
CHANGED
package/dist/index.es530.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import u from "./index.es529.js";
|
|
3
|
-
import { baseButtonPropDefs as s } from "./index.
|
|
3
|
+
import { baseButtonPropDefs as s } from "./index.es562.js";
|
|
4
4
|
import { Flex as f } from "./index.es531.js";
|
|
5
5
|
import { Spinner as B } from "./index.es548.js";
|
|
6
6
|
import { VisuallyHidden as b } from "./index.es553.js";
|
|
7
7
|
import { extractProps as y } from "./index.es532.js";
|
|
8
|
-
import { mapResponsiveProp as E, mapButtonSizeToSpinnerSize as g } from "./index.
|
|
8
|
+
import { mapResponsiveProp as E, mapButtonSizeToSpinnerSize as g } from "./index.es558.js";
|
|
9
9
|
import { marginPropDefs as h } from "./index.es534.js";
|
|
10
10
|
import { Root as z } from "./index.es465.js";
|
|
11
11
|
const S = e.forwardRef((t, o) => {
|
package/dist/index.es532.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import n from "./index.es529.js";
|
|
2
2
|
import { getResponsiveClassNames as y, getResponsiveStyles as N } from "./index.es544.js";
|
|
3
|
-
import { isResponsiveObject as r } from "./index.
|
|
3
|
+
import { isResponsiveObject as r } from "./index.es557.js";
|
|
4
4
|
import { mergeStyles as p } from "./index.es546.js";
|
|
5
5
|
function g(...i) {
|
|
6
6
|
return Object.assign({}, ...i);
|
package/dist/index.es533.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { paddingPropDefs as s } from "./index.
|
|
2
|
-
import { heightPropDefs as t } from "./index.
|
|
3
|
-
import { widthPropDefs as o } from "./index.
|
|
1
|
+
import { paddingPropDefs as s } from "./index.es559.js";
|
|
2
|
+
import { heightPropDefs as t } from "./index.es560.js";
|
|
3
|
+
import { widthPropDefs as o } from "./index.es561.js";
|
|
4
4
|
const r = ["visible", "hidden", "clip", "scroll", "auto"], i = ["static", "relative", "absolute", "fixed", "sticky"], e = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-1", "-2", "-3", "-4", "-5", "-6", "-7", "-8", "-9"], p = ["0", "1"], a = ["0", "1"], l = { ...s, ...o, ...t, position: { type: "enum", className: "rt-r-position", values: i, responsive: !0 }, inset: { type: "enum | string", className: "rt-r-inset", customProperties: ["--inset"], values: e, responsive: !0 }, top: { type: "enum | string", className: "rt-r-top", customProperties: ["--top"], values: e, responsive: !0 }, right: { type: "enum | string", className: "rt-r-right", customProperties: ["--right"], values: e, responsive: !0 }, bottom: { type: "enum | string", className: "rt-r-bottom", customProperties: ["--bottom"], values: e, responsive: !0 }, left: { type: "enum | string", className: "rt-r-left", customProperties: ["--left"], values: e, responsive: !0 }, overflow: { type: "enum", className: "rt-r-overflow", values: r, responsive: !0 }, overflowX: { type: "enum", className: "rt-r-ox", values: r, responsive: !0 }, overflowY: { type: "enum", className: "rt-r-oy", values: r, 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: p, responsive: !0 }, flexGrow: { type: "enum | string", className: "rt-r-fg", customProperties: ["--flex-grow"], values: a, 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 } };
|
|
5
5
|
export {
|
|
6
6
|
l as layoutPropDefs
|
package/dist/index.es536.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { asChildPropDef as r } from "./index.
|
|
2
|
-
import { gapPropDefs as s } from "./index.
|
|
1
|
+
import { asChildPropDef as r } from "./index.es563.js";
|
|
2
|
+
import { gapPropDefs as s } from "./index.es564.js";
|
|
3
3
|
const a = ["div", "span"], t = ["none", "inline-flex", "flex"], n = ["row", "column", "row-reverse", "column-reverse"], p = ["start", "center", "end", "baseline", "stretch"], l = ["start", "center", "end", "between"], u = ["nowrap", "wrap", "wrap-reverse"], v = { as: { type: "enum", values: a, default: "div" }, ...r, display: { type: "enum", className: "rt-r-display", values: t, responsive: !0 }, direction: { type: "enum", className: "rt-r-fd", values: n, responsive: !0 }, align: { type: "enum", className: "rt-r-ai", values: p, responsive: !0 }, justify: { type: "enum", className: "rt-r-jc", values: l, parseValue: o, responsive: !0 }, wrap: { type: "enum", className: "rt-r-fw", values: u, responsive: !0 }, ...s };
|
|
4
4
|
function o(e) {
|
|
5
5
|
return e === "between" ? "space-between" : e;
|
package/dist/index.es538.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { asChildPropDef as e } from "./index.
|
|
2
|
-
import { heightPropDefs as i } from "./index.
|
|
3
|
-
import { widthPropDefs as t } from "./index.
|
|
1
|
+
import { asChildPropDef as e } from "./index.es563.js";
|
|
2
|
+
import { heightPropDefs as i } from "./index.es560.js";
|
|
3
|
+
import { widthPropDefs as t } from "./index.es561.js";
|
|
4
4
|
const o = ["1", "2", "3", "4"], a = { ...e, size: { type: "enum", className: "rt-r-size", values: o, default: "2", responsive: !0 }, width: t.width, minWidth: t.minWidth, maxWidth: { ...t.maxWidth, default: "480px" }, ...i };
|
|
5
5
|
export {
|
|
6
6
|
a as popoverContentPropDefs
|
package/dist/index.es541.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { asChildPropDef as r } from "./index.
|
|
1
|
+
import { asChildPropDef as r } from "./index.es563.js";
|
|
2
2
|
import { radiusPropDef as o } from "./index.es572.js";
|
|
3
3
|
const s = ["1", "2", "3"], l = { ...r, size: { values: s, default: "1" }, ...o, scrollbars: { default: "both" } };
|
|
4
4
|
export {
|
package/dist/index.es544.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { breakpoints as l } from "./index.es573.js";
|
|
2
2
|
import { hasOwnProperty as p } from "./index.es574.js";
|
|
3
|
-
import { isResponsiveObject as m } from "./index.
|
|
3
|
+
import { isResponsiveObject as m } from "./index.es557.js";
|
|
4
4
|
function V({ className: n, customProperties: i, ...t }) {
|
|
5
5
|
const u = v({ allowArbitraryValues: !0, className: n, ...t }), s = d({ customProperties: i, ...t });
|
|
6
6
|
return [u, s];
|
package/dist/index.es547.js
CHANGED
|
@@ -6,7 +6,7 @@ import { useComposedRefs as T } from "./index.es458.js";
|
|
|
6
6
|
import { useCallbackRef as x } from "./index.es464.js";
|
|
7
7
|
import { useDirection as ce } from "./index.es467.js";
|
|
8
8
|
import { useLayoutEffect as se } from "./index.es477.js";
|
|
9
|
-
import { clamp as ie } from "./index.
|
|
9
|
+
import { clamp as ie } from "./index.es575.js";
|
|
10
10
|
import { composeEventHandlers as C } from "./index.es457.js";
|
|
11
11
|
import { j as b } from "./index.es235.js";
|
|
12
12
|
function ae(e, t) {
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { __module as s } from "./index.es556.js";
|
|
2
|
+
/*!
|
|
3
|
+
Copyright (c) 2018 Jed Watson.
|
|
4
|
+
Licensed under the MIT License (MIT), see
|
|
5
|
+
http://jedwatson.github.io/classnames
|
|
6
|
+
*/
|
|
7
|
+
var u;
|
|
8
|
+
function c() {
|
|
9
|
+
return u ? s.exports : (u = 1, function(i) {
|
|
10
|
+
(function() {
|
|
11
|
+
var f = {}.hasOwnProperty;
|
|
12
|
+
function n() {
|
|
13
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
14
|
+
var e = arguments[t];
|
|
15
|
+
e && (r = o(r, a(e)));
|
|
16
|
+
}
|
|
17
|
+
return r;
|
|
18
|
+
}
|
|
19
|
+
function a(r) {
|
|
20
|
+
if (typeof r == "string" || typeof r == "number")
|
|
21
|
+
return r;
|
|
22
|
+
if (typeof r != "object")
|
|
23
|
+
return "";
|
|
24
|
+
if (Array.isArray(r))
|
|
25
|
+
return n.apply(null, r);
|
|
26
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
27
|
+
return r.toString();
|
|
28
|
+
var t = "";
|
|
29
|
+
for (var e in r)
|
|
30
|
+
f.call(r, e) && r[e] && (t = o(t, e));
|
|
31
|
+
return t;
|
|
32
|
+
}
|
|
33
|
+
function o(r, t) {
|
|
34
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
35
|
+
}
|
|
36
|
+
i.exports ? (n.default = n, i.exports = n) : window.classNames = n;
|
|
37
|
+
})();
|
|
38
|
+
}(s), s.exports);
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
c as __require
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=index.es555.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es555.js","sources":["../node_modules/classnames/index.js"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n"],"names":["hasOwn","classNames","classes","i","arg","appendClass","parseValue","key","value","newClass","module"],"mappings":";;;;;;;;;AAOA,KAAC,WAAY;AAGZ,UAAIA,IAAS,CAAA,EAAG;AAEhB,eAASC,IAAc;AAGtB,iBAFIC,IAAU,IAELC,IAAI,GAAGA,IAAI,UAAU,QAAQA,KAAK;AAC1C,cAAIC,IAAM,UAAUD,CAAC;AACrB,UAAIC,MACHF,IAAUG,EAAYH,GAASI,EAAWF,CAAG,CAAC;AAAA,QAElD;AAEE,eAAOF;AAAA,MACT;AAEC,eAASI,EAAYF,GAAK;AACzB,YAAI,OAAOA,KAAQ,YAAY,OAAOA,KAAQ;AAC7C,iBAAOA;AAGR,YAAI,OAAOA,KAAQ;AAClB,iBAAO;AAGR,YAAI,MAAM,QAAQA,CAAG;AACpB,iBAAOH,EAAW,MAAM,MAAMG,CAAG;AAGlC,YAAIA,EAAI,aAAa,OAAO,UAAU,YAAY,CAACA,EAAI,SAAS,SAAQ,EAAG,SAAS,eAAe;AAClG,iBAAOA,EAAI,SAAU;AAGtB,YAAIF,IAAU;AAEd,iBAASK,KAAOH;AACf,UAAIJ,EAAO,KAAKI,GAAKG,CAAG,KAAKH,EAAIG,CAAG,MACnCL,IAAUG,EAAYH,GAASK,CAAG;AAIpC,eAAOL;AAAA,MACT;AAEC,eAASG,EAAaG,GAAOC,GAAU;AACtC,eAAKA,IAIDD,IACIA,IAAQ,MAAMC,IAGfD,IAAQC,IAPPD;AAAA,MAQV;AAEC,MAAqCE,EAAO,WAC3CT,EAAW,UAAUA,GACrBS,YAAiBT,KAOjB,OAAO,aAAaA;AAAA,IAEtB;;;","x_google_ignoreList":[0]}
|