@anoki/fse-ui 1.0.0-beta1.48.7 → 1.0.0-beta1.48.9
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/CommunicationSeach/CommunicationSearch.css +1 -1
- package/dist/index.cjs135.js +1 -1
- package/dist/index.cjs135.js.map +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs323.js +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs330.js +1 -1
- package/dist/index.cjs331.js +1 -1
- package/dist/index.cjs335.js +1 -1
- package/dist/index.cjs344.js +1 -1
- package/dist/index.cjs346.js +1 -1
- package/dist/index.cjs395.js +1 -1
- package/dist/index.cjs401.js +1 -1
- package/dist/index.cjs435.js +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs486.js +1 -1
- package/dist/index.cjs486.js.map +1 -1
- package/dist/index.cjs487.js +1 -1
- package/dist/index.cjs487.js.map +1 -1
- package/dist/index.cjs488.js +1 -1
- package/dist/index.cjs488.js.map +1 -1
- package/dist/index.cjs489.js +1 -1
- package/dist/index.cjs489.js.map +1 -1
- package/dist/index.cjs490.js +1 -1
- package/dist/index.cjs490.js.map +1 -1
- 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.cjs492.js.map +1 -0
- package/dist/index.cjs500.js +1 -1
- package/dist/index.cjs523.js +1 -1
- package/dist/index.cjs524.js +1 -1
- package/dist/index.cjs525.js +1 -1
- package/dist/index.cjs531.js +1 -1
- package/dist/index.cjs534.js +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs539.js +1 -1
- package/dist/index.cjs540.js +1 -1
- package/dist/index.cjs541.js +1 -1
- package/dist/index.cjs548.js +1 -1
- package/dist/index.cjs553.js +1 -1
- package/dist/index.cjs556.js +1 -38
- package/dist/index.cjs556.js.map +1 -1
- package/dist/index.cjs557.js +38 -1
- package/dist/index.cjs557.js.map +1 -1
- package/dist/index.cjs558.js +1 -1
- 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.cjs564.js +1 -1
- package/dist/index.cjs564.js.map +1 -1
- package/dist/index.cjs565.js +1 -1
- package/dist/index.cjs565.js.map +1 -1
- package/dist/index.cjs566.js +1 -1
- package/dist/index.cjs566.js.map +1 -1
- package/dist/index.cjs567.js +1 -1
- package/dist/index.cjs567.js.map +1 -1
- package/dist/index.cjs568.js +1 -1
- package/dist/index.cjs568.js.map +1 -1
- package/dist/{index.cjs574.js → index.cjs577.js} +1 -1
- package/dist/{index.cjs574.js.map → index.cjs577.js.map} +1 -1
- package/dist/{index.cjs575.js → index.cjs578.js} +1 -1
- package/dist/{index.cjs575.js.map → index.cjs578.js.map} +1 -1
- package/dist/{index.cjs583.js → index.cjs579.js} +1 -1
- package/dist/{index.cjs583.js.map → index.cjs579.js.map} +1 -1
- package/dist/index.cjs580.js +2 -0
- package/dist/index.cjs580.js.map +1 -0
- package/dist/index.cjs581.js +1 -1
- package/dist/index.cjs581.js.map +1 -1
- package/dist/index.cjs584.js +1 -1
- package/dist/index.cjs584.js.map +1 -1
- package/dist/{index.cjs582.js → index.cjs585.js} +1 -1
- package/dist/index.cjs585.js.map +1 -0
- package/dist/index.es135.js +24 -27
- package/dist/index.es135.js.map +1 -1
- package/dist/index.es32.js +1 -1
- package/dist/index.es323.js +7 -7
- package/dist/index.es33.js +1 -1
- package/dist/index.es330.js +1 -1
- package/dist/index.es331.js +1 -1
- package/dist/index.es335.js +1 -1
- package/dist/index.es344.js +1 -1
- package/dist/index.es346.js +1 -1
- package/dist/index.es395.js +1 -1
- package/dist/index.es401.js +1 -1
- package/dist/index.es435.js +1 -1
- package/dist/index.es468.js +1 -1
- package/dist/index.es469.js +7 -7
- package/dist/index.es486.js +124 -13
- package/dist/index.es486.js.map +1 -1
- package/dist/index.es487.js +134 -14
- package/dist/index.es487.js.map +1 -1
- package/dist/index.es488.js +12 -7
- package/dist/index.es488.js.map +1 -1
- package/dist/index.es489.js +15 -50
- package/dist/index.es489.js.map +1 -1
- package/dist/index.es490.js +9 -56
- package/dist/index.es490.js.map +1 -1
- package/dist/index.es491.js +53 -0
- package/dist/index.es491.js.map +1 -0
- package/dist/index.es492.js +59 -0
- package/dist/index.es492.js.map +1 -0
- package/dist/index.es500.js +1 -1
- package/dist/index.es523.js +1 -1
- package/dist/index.es524.js +2 -2
- package/dist/index.es525.js +4 -4
- package/dist/index.es531.js +3 -3
- package/dist/index.es534.js +3 -3
- package/dist/index.es536.js +1 -1
- package/dist/index.es539.js +2 -2
- package/dist/index.es540.js +1 -1
- package/dist/index.es541.js +7 -7
- package/dist/index.es548.js +1 -1
- package/dist/index.es553.js +2 -2
- package/dist/index.es556.js +65 -69
- package/dist/index.es556.js.map +1 -1
- package/dist/index.es557.js +68 -8
- package/dist/index.es557.js.map +1 -1
- package/dist/index.es558.js +9 -14
- package/dist/index.es558.js.map +1 -1
- package/dist/index.es559.js +14 -62
- package/dist/index.es559.js.map +1 -1
- package/dist/index.es560.js +61 -64
- package/dist/index.es560.js.map +1 -1
- package/dist/index.es564.js +16 -2
- package/dist/index.es564.js.map +1 -1
- package/dist/index.es565.js +2 -2
- package/dist/index.es565.js.map +1 -1
- package/dist/index.es566.js +2 -2
- package/dist/index.es566.js.map +1 -1
- package/dist/index.es567.js +2 -6
- package/dist/index.es567.js.map +1 -1
- package/dist/index.es568.js +6 -16
- package/dist/index.es568.js.map +1 -1
- package/dist/{index.es574.js → index.es577.js} +1 -1
- package/dist/{index.es574.js.map → index.es577.js.map} +1 -1
- package/dist/{index.es575.js → index.es578.js} +1 -1
- package/dist/{index.es575.js.map → index.es578.js.map} +1 -1
- package/dist/{index.es583.js → index.es579.js} +1 -1
- package/dist/{index.es583.js.map → index.es579.js.map} +1 -1
- package/dist/index.es580.js +5 -0
- package/dist/index.es580.js.map +1 -0
- package/dist/index.es581.js +3 -73
- package/dist/index.es581.js.map +1 -1
- package/dist/index.es584.js +74 -2
- package/dist/index.es584.js.map +1 -1
- package/dist/{index.es582.js → index.es585.js} +1 -1
- package/dist/index.es585.js.map +1 -0
- package/package.json +1 -1
- package/dist/index.cjs484.js +0 -2
- package/dist/index.cjs484.js.map +0 -1
- package/dist/index.cjs485.js +0 -2
- package/dist/index.cjs485.js.map +0 -1
- package/dist/index.cjs576.js +0 -2
- package/dist/index.cjs576.js.map +0 -1
- package/dist/index.cjs582.js.map +0 -1
- package/dist/index.es484.js +0 -128
- package/dist/index.es484.js.map +0 -1
- package/dist/index.es485.js +0 -138
- package/dist/index.es485.js.map +0 -1
- package/dist/index.es576.js +0 -7
- package/dist/index.es576.js.map +0 -1
- package/dist/index.es582.js.map +0 -1
- /package/dist/components/ui/{CardMapDoctor/CardMapDoctor.css → CardMapDoctorV2/CardMapDoctorV2.css} +0 -0
- /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css → ConsentModal/ConsentModalContent/ConsentModalContent.css} +0 -0
- /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
package/dist/index.es558.js
CHANGED
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
window.addEventListener("test", e, e), window.removeEventListener("test", e, e);
|
|
10
|
-
} catch {
|
|
11
|
-
r = !1;
|
|
12
|
-
}
|
|
13
|
-
var a = r ? { passive: !1 } : !1;
|
|
1
|
+
import { styleHookSingleton as o } from "./index.es589.js";
|
|
2
|
+
var s = function() {
|
|
3
|
+
var e = o(), n = function(t) {
|
|
4
|
+
var r = t.styles, l = t.dynamic;
|
|
5
|
+
return e(r, l), null;
|
|
6
|
+
};
|
|
7
|
+
return n;
|
|
8
|
+
};
|
|
14
9
|
export {
|
|
15
|
-
|
|
10
|
+
s as styleSingleton
|
|
16
11
|
};
|
|
17
12
|
//# sourceMappingURL=index.es558.js.map
|
package/dist/index.es558.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es558.js","sources":["../node_modules/react-
|
|
1
|
+
{"version":3,"file":"index.es558.js","sources":["../node_modules/react-style-singleton/dist/es2015/component.js"],"sourcesContent":["import { styleHookSingleton } from './hook';\n/**\n * create a Component to add styles on demand\n * - styles are added when first instance is mounted\n * - styles are removed when the last instance is unmounted\n * - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior\n */\nexport var styleSingleton = function () {\n var useStyle = styleHookSingleton();\n var Sheet = function (_a) {\n var styles = _a.styles, dynamic = _a.dynamic;\n useStyle(styles, dynamic);\n return null;\n };\n return Sheet;\n};\n"],"names":["styleSingleton","useStyle","styleHookSingleton","Sheet","_a","styles","dynamic"],"mappings":";AAOU,IAACA,IAAiB,WAAY;AACpC,MAAIC,IAAWC,EAAoB,GAC/BC,IAAQ,SAAUC,GAAI;AACtB,QAAIC,IAASD,EAAG,QAAQE,IAAUF,EAAG;AACrC,WAAAH,EAASI,GAAQC,CAAO,GACjB;AAAA,EACV;AACD,SAAOH;AACX;","x_google_ignoreList":[0]}
|
package/dist/index.es559.js
CHANGED
|
@@ -1,65 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
}, H = function(e) {
|
|
15
|
-
return w(e, "overflowX");
|
|
16
|
-
}, R = function(e, r) {
|
|
17
|
-
var o = r.ownerDocument, t = r;
|
|
18
|
-
do {
|
|
19
|
-
typeof ShadowRoot < "u" && t instanceof ShadowRoot && (t = t.host);
|
|
20
|
-
var v = g(e, t);
|
|
21
|
-
if (v) {
|
|
22
|
-
var n = b(e, t), a = n[1], l = n[2];
|
|
23
|
-
if (a > l)
|
|
24
|
-
return !0;
|
|
25
|
-
}
|
|
26
|
-
t = t.parentNode;
|
|
27
|
-
} while (t && t !== o.body);
|
|
28
|
-
return !1;
|
|
29
|
-
}, B = function(e) {
|
|
30
|
-
var r = e.scrollTop, o = e.scrollHeight, t = e.clientHeight;
|
|
31
|
-
return [
|
|
32
|
-
r,
|
|
33
|
-
o,
|
|
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
|
-
};
|
|
1
|
+
var r = !1;
|
|
2
|
+
if (typeof window < "u")
|
|
3
|
+
try {
|
|
4
|
+
var e = Object.defineProperty({}, "passive", {
|
|
5
|
+
get: function() {
|
|
6
|
+
return r = !0, !0;
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
|
+
window.addEventListener("test", e, e), window.removeEventListener("test", e, e);
|
|
10
|
+
} catch {
|
|
11
|
+
r = !1;
|
|
12
|
+
}
|
|
13
|
+
var a = r ? { passive: !1 } : !1;
|
|
61
14
|
export {
|
|
62
|
-
|
|
63
|
-
R as locationCouldBeScrolled
|
|
15
|
+
a as nonPassive
|
|
64
16
|
};
|
|
65
17
|
//# sourceMappingURL=index.es559.js.map
|
package/dist/index.es559.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es559.js","sources":["../node_modules/react-remove-scroll/dist/es2015/
|
|
1
|
+
{"version":3,"file":"index.es559.js","sources":["../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"names":["passiveSupported","options","nonPassive"],"mappings":"AAAA,IAAIA,IAAmB;AACvB,IAAI,OAAO,SAAW;AAClB,MAAI;AACA,QAAIC,IAAU,OAAO,eAAe,CAAA,GAAI,WAAW;AAAA,MAC/C,KAAK,WAAY;AACb,eAAAD,IAAmB,IACZ;AAAA,MACV;AAAA,IACb,CAAS;AAED,WAAO,iBAAiB,QAAQC,GAASA,CAAO,GAEhD,OAAO,oBAAoB,QAAQA,GAASA,CAAO;AAAA,EAC3D,QACgB;AACR,IAAAD,IAAmB;AAAA,EAC3B;AAEU,IAACE,IAAaF,IAAmB,EAAE,SAAS,GAAK,IAAK;","x_google_ignoreList":[0]}
|
package/dist/index.es560.js
CHANGED
|
@@ -1,68 +1,65 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
-
};
|
|
1
|
+
var p = function(e) {
|
|
2
|
+
return e.tagName === "TEXTAREA";
|
|
3
|
+
}, w = function(e, r) {
|
|
4
|
+
if (!(e instanceof Element))
|
|
5
|
+
return !1;
|
|
6
|
+
var o = window.getComputedStyle(e);
|
|
7
|
+
return (
|
|
8
|
+
// not-not-scrollable
|
|
9
|
+
o[r] !== "hidden" && // contains scroll inside self
|
|
10
|
+
!(o.overflowY === o.overflowX && !p(e) && o[r] === "visible")
|
|
11
|
+
);
|
|
12
|
+
}, y = function(e) {
|
|
13
|
+
return w(e, "overflowY");
|
|
14
|
+
}, H = function(e) {
|
|
15
|
+
return w(e, "overflowX");
|
|
16
|
+
}, R = function(e, r) {
|
|
17
|
+
var o = r.ownerDocument, t = r;
|
|
18
|
+
do {
|
|
19
|
+
typeof ShadowRoot < "u" && t instanceof ShadowRoot && (t = t.host);
|
|
20
|
+
var v = g(e, t);
|
|
21
|
+
if (v) {
|
|
22
|
+
var n = b(e, t), a = n[1], l = n[2];
|
|
23
|
+
if (a > l)
|
|
24
|
+
return !0;
|
|
56
25
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
function
|
|
61
|
-
r
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
26
|
+
t = t.parentNode;
|
|
27
|
+
} while (t && t !== o.body);
|
|
28
|
+
return !1;
|
|
29
|
+
}, B = function(e) {
|
|
30
|
+
var r = e.scrollTop, o = e.scrollHeight, t = e.clientHeight;
|
|
31
|
+
return [
|
|
32
|
+
r,
|
|
33
|
+
o,
|
|
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
|
+
};
|
|
65
61
|
export {
|
|
66
|
-
|
|
62
|
+
W as handleScroll,
|
|
63
|
+
R as locationCouldBeScrolled
|
|
67
64
|
};
|
|
68
65
|
//# sourceMappingURL=index.es560.js.map
|
package/dist/index.es560.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es560.js","sources":["../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es560.js","sources":["../node_modules/react-remove-scroll/dist/es2015/handleScroll.js"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n if (!(node instanceof Element)) {\n return false;\n }\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var ownerDocument = node.ownerDocument;\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];\n if (scrollHeight > clientHeight) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== ownerDocument.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n if (target instanceof ShadowRoot) {\n target = target.host;\n }\n else {\n target = target.parentNode;\n }\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n // handle epsilon around 0 (non standard zoom levels)\n if (isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"names":["alwaysContainsScroll","node","elementCanBeScrolled","overflow","styles","elementCouldBeVScrolled","elementCouldBeHScrolled","locationCouldBeScrolled","axis","ownerDocument","current","isScrollable","elementCouldBeScrolled","_a","getScrollVariables","scrollHeight","clientHeight","getVScrollVariables","scrollTop","getHScrollVariables","scrollLeft","scrollWidth","clientWidth","getDirectionFactor","direction","handleScroll","endTarget","event","sourceDelta","noOverscroll","directionFactor","delta","target","targetInLock","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","position","scroll_1","capacity","elementScroll"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index.es564.js
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
function s(e, r) {
|
|
2
|
+
if (e !== void 0) return typeof e == "string" ? r(e) : Object.fromEntries(Object.entries(e).map(([n, t]) => [n, r(t)]));
|
|
3
|
+
}
|
|
4
|
+
function i(e) {
|
|
5
|
+
switch (e) {
|
|
6
|
+
case "1":
|
|
7
|
+
return "1";
|
|
8
|
+
case "2":
|
|
9
|
+
case "3":
|
|
10
|
+
return "2";
|
|
11
|
+
case "4":
|
|
12
|
+
return "3";
|
|
13
|
+
}
|
|
14
|
+
}
|
|
2
15
|
export {
|
|
3
|
-
|
|
16
|
+
i as mapButtonSizeToSpinnerSize,
|
|
17
|
+
s as mapResponsiveProp
|
|
4
18
|
};
|
|
5
19
|
//# sourceMappingURL=index.es564.js.map
|
package/dist/index.es564.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es564.js","sources":["../node_modules/@radix-ui/themes/dist/esm/
|
|
1
|
+
{"version":3,"file":"index.es564.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.js"],"sourcesContent":["function s(e,t){if(e!==void 0)return typeof e==\"string\"?t(e):Object.fromEntries(Object.entries(e).map(([n,o])=>[n,t(o)]))}function p(e){return e===\"3\"?\"3\":\"2\"}function r(e){switch(e){case\"1\":return\"1\";case\"2\":case\"3\":return\"2\";case\"4\":return\"3\"}}export{r as mapButtonSizeToSpinnerSize,p as mapCalloutSizeToTextSize,s as mapResponsiveProp};\n//# sourceMappingURL=map-prop-values.js.map\n"],"names":["t","o","r"],"mappings":"AAAA,SAAS,EAAE,GAAEA,GAAE;AAAC,MAAG,MAAI,OAAO,QAAO,OAAO,KAAG,WAASA,EAAE,CAAC,IAAE,OAAO,YAAY,OAAO,QAAQ,CAAC,EAAE,IAAI,CAAC,CAAC,GAAEC,CAAC,MAAI,CAAC,GAAED,EAAEC,CAAC,CAAC,CAAC,CAAC;AAAC;AAAsC,SAASC,EAAE,GAAE;AAAC,UAAO,GAAC;AAAA,IAAE,KAAI;AAAI,aAAM;AAAA,IAAI,KAAI;AAAA,IAAI,KAAI;AAAI,aAAM;AAAA,IAAI,KAAI;AAAI,aAAM;AAAA,EAAG;AAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es565.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const e = {
|
|
1
|
+
const e = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], s = { p: { type: "enum | string", className: "rt-r-p", customProperties: ["--p"], values: e, responsive: !0 }, px: { type: "enum | string", className: "rt-r-px", customProperties: ["--pl", "--pr"], values: e, responsive: !0 }, py: { type: "enum | string", className: "rt-r-py", customProperties: ["--pt", "--pb"], values: e, responsive: !0 }, pt: { type: "enum | string", className: "rt-r-pt", customProperties: ["--pt"], values: e, responsive: !0 }, pr: { type: "enum | string", className: "rt-r-pr", customProperties: ["--pr"], values: e, responsive: !0 }, pb: { type: "enum | string", className: "rt-r-pb", customProperties: ["--pb"], values: e, responsive: !0 }, pl: { type: "enum | string", className: "rt-r-pl", customProperties: ["--pl"], values: e, responsive: !0 } };
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
s as paddingPropDefs
|
|
4
4
|
};
|
|
5
5
|
//# sourceMappingURL=index.es565.js.map
|
package/dist/index.es565.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es565.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/
|
|
1
|
+
{"version":3,"file":"index.es565.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/padding.props.js"],"sourcesContent":["const e=[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\"],p={p:{type:\"enum | string\",className:\"rt-r-p\",customProperties:[\"--p\"],values:e,responsive:!0},px:{type:\"enum | string\",className:\"rt-r-px\",customProperties:[\"--pl\",\"--pr\"],values:e,responsive:!0},py:{type:\"enum | string\",className:\"rt-r-py\",customProperties:[\"--pt\",\"--pb\"],values:e,responsive:!0},pt:{type:\"enum | string\",className:\"rt-r-pt\",customProperties:[\"--pt\"],values:e,responsive:!0},pr:{type:\"enum | string\",className:\"rt-r-pr\",customProperties:[\"--pr\"],values:e,responsive:!0},pb:{type:\"enum | string\",className:\"rt-r-pb\",customProperties:[\"--pb\"],values:e,responsive:!0},pl:{type:\"enum | string\",className:\"rt-r-pl\",customProperties:[\"--pl\"],values:e,responsive:!0}};export{p as paddingPropDefs};\n//# sourceMappingURL=padding.props.js.map\n"],"names":["p"],"mappings":"AAAK,MAAC,IAAE,CAAC,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,GAAG,GAAEA,IAAE,EAAC,GAAE,EAAC,MAAK,iBAAgB,WAAU,UAAS,kBAAiB,CAAC,KAAK,GAAE,QAAO,GAAE,YAAW,GAAE,GAAE,IAAG,EAAC,MAAK,iBAAgB,WAAU,WAAU,kBAAiB,CAAC,QAAO,MAAM,GAAE,QAAO,GAAE,YAAW,GAAE,GAAE,IAAG,EAAC,MAAK,iBAAgB,WAAU,WAAU,kBAAiB,CAAC,QAAO,MAAM,GAAE,QAAO,GAAE,YAAW,GAAE,GAAE,IAAG,EAAC,MAAK,iBAAgB,WAAU,WAAU,kBAAiB,CAAC,MAAM,GAAE,QAAO,GAAE,YAAW,GAAE,GAAE,IAAG,EAAC,MAAK,iBAAgB,WAAU,WAAU,kBAAiB,CAAC,MAAM,GAAE,QAAO,GAAE,YAAW,GAAE,GAAE,IAAG,EAAC,MAAK,iBAAgB,WAAU,WAAU,kBAAiB,CAAC,MAAM,GAAE,QAAO,GAAE,YAAW,GAAE,GAAE,IAAG,EAAC,MAAK,iBAAgB,WAAU,WAAU,kBAAiB,CAAC,MAAM,GAAE,QAAO,GAAE,YAAW,GAAE,EAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es566.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e = { 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 } };
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
e as heightPropDefs
|
|
4
4
|
};
|
|
5
5
|
//# sourceMappingURL=index.es566.js.map
|
package/dist/index.es566.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es566.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/
|
|
1
|
+
{"version":3,"file":"index.es566.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/height.props.js"],"sourcesContent":["const e={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}};export{e as heightPropDefs};\n//# sourceMappingURL=height.props.js.map\n"],"names":[],"mappings":"AAAK,MAAC,IAAE,EAAC,QAAO,EAAC,MAAK,UAAS,WAAU,UAAS,kBAAiB,CAAC,UAAU,GAAE,YAAW,GAAE,GAAE,WAAU,EAAC,MAAK,UAAS,WAAU,cAAa,kBAAiB,CAAC,cAAc,GAAE,YAAW,GAAE,GAAE,WAAU,EAAC,MAAK,UAAS,WAAU,cAAa,kBAAiB,CAAC,cAAc,GAAE,YAAW,GAAE,EAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es567.js
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { accentColorPropDef as s } from "./index.es583.js";
|
|
3
|
-
import { highContrastPropDef as o } from "./index.es584.js";
|
|
4
|
-
import { radiusPropDef as e } from "./index.es571.js";
|
|
5
|
-
const r = ["1", "2", "3", "4"], t = ["classic", "solid", "soft", "surface", "outline", "ghost"], m = { ...a, size: { type: "enum", className: "rt-r-size", values: r, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: t, default: "solid" }, ...s, ...o, ...e, loading: { type: "boolean", className: "rt-loading", default: !1 } };
|
|
1
|
+
const t = { 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 } };
|
|
6
2
|
export {
|
|
7
|
-
|
|
3
|
+
t as widthPropDefs
|
|
8
4
|
};
|
|
9
5
|
//# sourceMappingURL=index.es567.js.map
|
package/dist/index.es567.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es567.js","sources":["../node_modules/@radix-ui/themes/dist/esm/
|
|
1
|
+
{"version":3,"file":"index.es567.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/width.props.js"],"sourcesContent":["const t={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}};export{t as widthPropDefs};\n//# sourceMappingURL=width.props.js.map\n"],"names":[],"mappings":"AAAK,MAAC,IAAE,EAAC,OAAM,EAAC,MAAK,UAAS,WAAU,UAAS,kBAAiB,CAAC,SAAS,GAAE,YAAW,GAAE,GAAE,UAAS,EAAC,MAAK,UAAS,WAAU,cAAa,kBAAiB,CAAC,aAAa,GAAE,YAAW,GAAE,GAAE,UAAS,EAAC,MAAK,UAAS,WAAU,cAAa,kBAAiB,CAAC,aAAa,GAAE,YAAW,GAAE,EAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es568.js
CHANGED
|
@@ -1,19 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
case "1":
|
|
7
|
-
return "1";
|
|
8
|
-
case "2":
|
|
9
|
-
case "3":
|
|
10
|
-
return "2";
|
|
11
|
-
case "4":
|
|
12
|
-
return "3";
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
import { asChildPropDef as a } from "./index.es569.js";
|
|
2
|
+
import { accentColorPropDef as s } from "./index.es579.js";
|
|
3
|
+
import { highContrastPropDef as o } from "./index.es580.js";
|
|
4
|
+
import { radiusPropDef as e } from "./index.es571.js";
|
|
5
|
+
const r = ["1", "2", "3", "4"], t = ["classic", "solid", "soft", "surface", "outline", "ghost"], m = { ...a, size: { type: "enum", className: "rt-r-size", values: r, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: t, default: "solid" }, ...s, ...o, ...e, loading: { type: "boolean", className: "rt-loading", default: !1 } };
|
|
15
6
|
export {
|
|
16
|
-
|
|
17
|
-
s as mapResponsiveProp
|
|
7
|
+
m as baseButtonPropDefs
|
|
18
8
|
};
|
|
19
9
|
//# sourceMappingURL=index.es568.js.map
|
package/dist/index.es568.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es568.js","sources":["../node_modules/@radix-ui/themes/dist/esm/
|
|
1
|
+
{"version":3,"file":"index.es568.js","sources":["../node_modules/@radix-ui/themes/dist/esm/components/_internal/base-button.props.js"],"sourcesContent":["import{asChildPropDef as o}from\"../../props/as-child.prop.js\";import{accentColorPropDef as e}from\"../../props/color.prop.js\";import{highContrastPropDef as s}from\"../../props/high-contrast.prop.js\";import{radiusPropDef as r}from\"../../props/radius.prop.js\";const t=[\"1\",\"2\",\"3\",\"4\"],a=[\"classic\",\"solid\",\"soft\",\"surface\",\"outline\",\"ghost\"],i={...o,size:{type:\"enum\",className:\"rt-r-size\",values:t,default:\"2\",responsive:!0},variant:{type:\"enum\",className:\"rt-variant\",values:a,default:\"solid\"},...e,...s,...r,loading:{type:\"boolean\",className:\"rt-loading\",default:!1}};export{i as baseButtonPropDefs};\n//# sourceMappingURL=base-button.props.js.map\n"],"names":["t","a","i","o","e","s","r"],"mappings":";;;;AAAqQ,MAACA,IAAE,CAAC,KAAI,KAAI,KAAI,GAAG,GAAEC,IAAE,CAAC,WAAU,SAAQ,QAAO,WAAU,WAAU,OAAO,GAAEC,IAAE,EAAC,GAAGC,GAAE,MAAK,EAAC,MAAK,QAAO,WAAU,aAAY,QAAOH,GAAE,SAAQ,KAAI,YAAW,GAAE,GAAE,SAAQ,EAAC,MAAK,QAAO,WAAU,cAAa,QAAOC,GAAE,SAAQ,QAAO,GAAE,GAAGG,GAAE,GAAGC,GAAE,GAAGC,GAAE,SAAQ,EAAC,MAAK,WAAU,WAAU,cAAa,SAAQ,GAAE,EAAC;","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.
|
|
1
|
+
{"version":3,"file":"index.es577.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]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.
|
|
1
|
+
{"version":3,"file":"index.es578.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]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.
|
|
1
|
+
{"version":3,"file":"index.es579.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/color.prop.js"],"sourcesContent":["const o=[\"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\"],e=[\"auto\",\"gray\",\"mauve\",\"slate\",\"sage\",\"olive\",\"sand\"],r={color:{type:\"enum\",values:o,default:void 0}},s={color:{type:\"enum\",values:o,default:\"\"}};export{s as accentColorPropDef,o as accentColors,r as colorPropDef,e as grayColors};\n//# sourceMappingURL=color.prop.js.map\n"],"names":["o","s"],"mappings":"AAAK,MAACA,IAAE,CAAC,QAAO,QAAO,UAAS,SAAQ,UAAS,SAAQ,UAAS,UAAS,OAAM,QAAO,WAAU,QAAO,QAAO,UAAS,UAAS,QAAO,UAAS,QAAO,QAAO,QAAO,QAAO,SAAQ,SAAQ,QAAO,QAAO,KAAK,GAA0GC,IAAE,EAAC,OAAM,EAAC,MAAK,QAAO,QAAOD,GAAE,SAAQ,GAAE,EAAC;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es580.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.js"],"sourcesContent":["const o={highContrast:{type:\"boolean\",className:\"rt-high-contrast\",default:void 0}};export{o as highContrastPropDef};\n//# sourceMappingURL=high-contrast.prop.js.map\n"],"names":["o"],"mappings":"AAAK,MAACA,IAAE,EAAC,cAAa,EAAC,MAAK,WAAU,WAAU,oBAAmB,SAAQ,OAAM,EAAC;","x_google_ignoreList":[0]}
|