@rpcbase/ui 0.193.0 → 0.194.0
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/DayPickerField/index.d.ts.map +1 -1
- package/dist/components/HourPickerField/index.d.ts.map +1 -1
- package/dist/index100.js +4 -3
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +4 -5
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +8 -4
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +5 -8
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +4 -5
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +3 -3
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +6 -4
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +145 -6
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +38 -144
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +4 -39
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +7 -4
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +12 -6
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +13 -13
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +7 -13
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +30 -6
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +10 -31
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +10 -10
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +8 -10
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +13 -8
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +101 -13
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +421 -510
- package/dist/index12.js.map +1 -1
- package/dist/index120.js +20 -102
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +54 -20
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +70 -51
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +9 -72
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +20 -9
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +16 -20
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +23 -16
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +6 -23
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +5 -6
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +23 -5
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +35 -24
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +16 -35
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +7 -16
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +4 -6
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +4 -4
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +4 -4
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +4 -4
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +3 -4
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +6 -3
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +24 -7
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +8 -24
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +6 -7
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +5 -6
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +3 -5
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +3 -3
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +4 -3
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +3 -4
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +4 -3
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +3 -4
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +3 -3
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +3 -3
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +46 -3
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +599 -40
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +41 -200
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +204 -20
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +22 -25
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +23 -398
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +383 -589
- package/dist/index157.js.map +1 -1
- package/dist/index183.js +1 -1
- package/dist/index19.js +505 -557
- package/dist/index19.js.map +1 -1
- package/dist/index230.js +1 -1
- package/dist/index233.js +1 -1
- package/dist/index235.js +1 -1
- package/dist/index236.js +1 -1
- package/dist/index237.js +3 -3
- package/dist/index238.js +2 -2
- package/dist/index239.js +65 -22
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +179 -27
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +47 -5
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +22 -65
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +27 -179
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +5 -47
- package/dist/index244.js.map +1 -1
- package/dist/index276.js +1 -1
- package/dist/index277.js +1 -1
- package/dist/index299.js +1 -1
- package/dist/index31.js +5 -5
- package/dist/index32.js +24 -24
- package/dist/index33.js +3 -3
- package/dist/index41.js +20 -20
- package/dist/index45.js +1 -1
- package/dist/index46.js +1 -1
- package/dist/index49.js +1 -1
- package/dist/index50.js +1 -1
- package/dist/index51.js +205 -2
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +2 -2
- package/dist/index53.js +2 -7
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +6 -33
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +33 -26
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +26 -7
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +7 -11
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +12 -2
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +4 -2
- package/dist/index59.js.map +1 -1
- package/dist/index60.js +44 -201
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +50 -3
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +7 -47
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +12 -48
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +133 -7
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +10 -14
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +210 -127
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +12 -10
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +44 -214
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +49 -12
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +4 -47
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +5 -49
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +28 -4
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +50 -6
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +9 -28
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +2 -50
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +2 -9
- package/dist/index76.js.map +1 -1
- package/dist/index80.js +52 -47
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +5 -52
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +4 -4
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +15 -4
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +5 -15
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +7 -5
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +15 -6
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +4 -16
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +1 -1
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +5 -4
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +4 -4
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +4 -5
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +2 -2
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +5 -3
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +24 -6
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +6 -24
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +4 -6
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +5 -3
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +5 -6
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +4 -5
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index70.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index70.js","sources":["../../../node_modules/@radix-ui/react-
|
|
1
|
+
{"version":3,"file":"index70.js","sources":["../../../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["// packages/react/use-layout-effect/src/use-layout-effect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useLayoutEffect2","React"],"mappings":";AAEG,IAACA,IAAmB,YAAY,WAAWC,EAAM,kBAAkB,MAAM;AAC5E;","x_google_ignoreList":[0]}
|
package/dist/index71.js
CHANGED
|
@@ -1,53 +1,9 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
prop: e,
|
|
6
|
-
defaultProp: s,
|
|
7
|
-
onChange: t = () => {
|
|
8
|
-
},
|
|
9
|
-
caller: f
|
|
10
|
-
}) {
|
|
11
|
-
const [u, c, i] = R({
|
|
12
|
-
defaultProp: s,
|
|
13
|
-
onChange: t
|
|
14
|
-
}), n = e !== void 0, a = n ? e : u;
|
|
15
|
-
{
|
|
16
|
-
const r = o.useRef(e !== void 0);
|
|
17
|
-
o.useEffect(() => {
|
|
18
|
-
const l = r.current;
|
|
19
|
-
l !== n && console.warn(
|
|
20
|
-
`${f} is changing from ${l ? "controlled" : "uncontrolled"} to ${n ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
|
|
21
|
-
), r.current = n;
|
|
22
|
-
}, [n, f]);
|
|
23
|
-
}
|
|
24
|
-
const d = o.useCallback(
|
|
25
|
-
(r) => {
|
|
26
|
-
if (n) {
|
|
27
|
-
const l = C(r) ? r(e) : r;
|
|
28
|
-
l !== e && i.current?.(l);
|
|
29
|
-
} else
|
|
30
|
-
c(r);
|
|
31
|
-
},
|
|
32
|
-
[n, e, c, i]
|
|
33
|
-
);
|
|
34
|
-
return [a, d];
|
|
35
|
-
}
|
|
36
|
-
function R({
|
|
37
|
-
defaultProp: e,
|
|
38
|
-
onChange: s
|
|
39
|
-
}) {
|
|
40
|
-
const [t, f] = o.useState(e), u = o.useRef(t), c = o.useRef(s);
|
|
41
|
-
return v(() => {
|
|
42
|
-
c.current = s;
|
|
43
|
-
}, [s]), o.useEffect(() => {
|
|
44
|
-
u.current !== t && (c.current?.(t), u.current = t);
|
|
45
|
-
}, [t, u]), [t, f, c];
|
|
46
|
-
}
|
|
47
|
-
function C(e) {
|
|
48
|
-
return typeof e == "function";
|
|
1
|
+
import * as u from "react";
|
|
2
|
+
function t(r) {
|
|
3
|
+
const e = u.useRef({ value: r, previous: r });
|
|
4
|
+
return u.useMemo(() => (e.current.value !== r && (e.current.previous = e.current.value, e.current.value = r), e.current.previous), [r]);
|
|
49
5
|
}
|
|
50
6
|
export {
|
|
51
|
-
|
|
7
|
+
t as usePrevious
|
|
52
8
|
};
|
|
53
9
|
//# sourceMappingURL=index71.js.map
|
package/dist/index71.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index71.js","sources":["../../../node_modules/@radix-ui/react-use-
|
|
1
|
+
{"version":3,"file":"index71.js","sources":["../../../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["// packages/react/use-previous/src/use-previous.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n const ref = React.useRef({ value, previous: value });\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\nexport {\n usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["usePrevious","value","ref","React"],"mappings":";AAEA,SAASA,EAAYC,GAAO;AAC1B,QAAMC,IAAMC,EAAM,OAAO,EAAE,OAAAF,GAAO,UAAUA,GAAO;AACnD,SAAOE,EAAM,QAAQ,OACfD,EAAI,QAAQ,UAAUD,MACxBC,EAAI,QAAQ,WAAWA,EAAI,QAAQ,OACnCA,EAAI,QAAQ,QAAQD,IAEfC,EAAI,QAAQ,WAClB,CAACD,CAAK,CAAC;AACZ;","x_google_ignoreList":[0]}
|
package/dist/index72.js
CHANGED
|
@@ -1,7 +1,31 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
};
|
|
1
|
+
import * as i from "react";
|
|
2
|
+
import { Primitive as a } from "./index55.js";
|
|
3
|
+
import { j as t } from "./index30.js";
|
|
4
|
+
var o = Object.freeze({
|
|
5
|
+
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
|
6
|
+
position: "absolute",
|
|
7
|
+
border: 0,
|
|
8
|
+
width: 1,
|
|
9
|
+
height: 1,
|
|
10
|
+
padding: 0,
|
|
11
|
+
margin: -1,
|
|
12
|
+
overflow: "hidden",
|
|
13
|
+
clip: "rect(0, 0, 0, 0)",
|
|
14
|
+
whiteSpace: "nowrap",
|
|
15
|
+
wordWrap: "normal"
|
|
16
|
+
}), d = "VisuallyHidden", s = i.forwardRef(
|
|
17
|
+
(r, e) => /* @__PURE__ */ t.jsx(
|
|
18
|
+
a.span,
|
|
19
|
+
{
|
|
20
|
+
...r,
|
|
21
|
+
ref: e,
|
|
22
|
+
style: { ...o, ...r.style }
|
|
23
|
+
}
|
|
24
|
+
)
|
|
25
|
+
);
|
|
26
|
+
s.displayName = d;
|
|
4
27
|
export {
|
|
5
|
-
|
|
28
|
+
o as VISUALLY_HIDDEN_STYLES,
|
|
29
|
+
s as VisuallyHidden
|
|
6
30
|
};
|
|
7
31
|
//# sourceMappingURL=index72.js.map
|
package/dist/index72.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index72.js","sources":["../../../node_modules/@radix-ui/react-
|
|
1
|
+
{"version":3,"file":"index72.js","sources":["../../../node_modules/@radix-ui/react-visually-hidden/dist/index.mjs"],"sourcesContent":["// src/visually-hidden.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar VISUALLY_HIDDEN_STYLES = Object.freeze({\n // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss\n position: \"absolute\",\n border: 0,\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: \"hidden\",\n clip: \"rect(0, 0, 0, 0)\",\n whiteSpace: \"nowrap\",\n wordWrap: \"normal\"\n});\nvar NAME = \"VisuallyHidden\";\nvar VisuallyHidden = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(\n Primitive.span,\n {\n ...props,\n ref: forwardedRef,\n style: { ...VISUALLY_HIDDEN_STYLES, ...props.style }\n }\n );\n }\n);\nVisuallyHidden.displayName = NAME;\nvar Root = VisuallyHidden;\nexport {\n Root,\n VISUALLY_HIDDEN_STYLES,\n VisuallyHidden\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["VISUALLY_HIDDEN_STYLES","NAME","VisuallyHidden","React","props","forwardedRef","jsx","Primitive"],"mappings":";;;AAIG,IAACA,IAAyB,OAAO,OAAO;AAAA;AAAA,EAEzC,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,UAAU;AACZ,CAAC,GACGC,IAAO,kBACPC,IAAiBC,EAAM;AAAA,EACzB,CAACC,GAAOC,MACiBC,gBAAAA,EAAAA;AAAAA,IACrBC,EAAU;AAAA,IACV;AAAA,MACE,GAAGH;AAAA,MACH,KAAKC;AAAA,MACL,OAAO,EAAE,GAAGL,GAAwB,GAAGI,EAAM,MAAK;AAAA,IAC1D;AAAA,EACA;AAEA;AACAF,EAAe,cAAcD;","x_google_ignoreList":[0]}
|
package/dist/index73.js
CHANGED
|
@@ -1,9 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
var S = function(r) {
|
|
2
|
+
if (typeof document > "u")
|
|
3
|
+
return null;
|
|
4
|
+
var u = Array.isArray(r) ? r[0] : r;
|
|
5
|
+
return u.ownerDocument.body;
|
|
6
|
+
}, f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {}, h = 0, W = function(r) {
|
|
7
|
+
return r && (r.host || W(r.parentNode));
|
|
8
|
+
}, D = function(r, u) {
|
|
9
|
+
return u.map(function(e) {
|
|
10
|
+
if (r.contains(e))
|
|
11
|
+
return e;
|
|
12
|
+
var n = W(e);
|
|
13
|
+
return n && r.contains(n) ? n : (console.error("aria-hidden", e, "in not contained inside", r, ". Doing nothing"), null);
|
|
14
|
+
}).filter(function(e) {
|
|
15
|
+
return !!e;
|
|
16
|
+
});
|
|
17
|
+
}, E = function(r, u, e, n) {
|
|
18
|
+
var i = D(u, Array.isArray(r) ? r : [r]);
|
|
19
|
+
p[e] || (p[e] = /* @__PURE__ */ new WeakMap());
|
|
20
|
+
var s = p[e], l = [], o = /* @__PURE__ */ new Set(), b = new Set(i), y = function(t) {
|
|
21
|
+
!t || o.has(t) || (o.add(t), y(t.parentNode));
|
|
22
|
+
};
|
|
23
|
+
i.forEach(y);
|
|
24
|
+
var A = function(t) {
|
|
25
|
+
!t || b.has(t) || Array.prototype.forEach.call(t.children, function(a) {
|
|
26
|
+
if (o.has(a))
|
|
27
|
+
A(a);
|
|
28
|
+
else
|
|
29
|
+
try {
|
|
30
|
+
var c = a.getAttribute(n), w = c !== null && c !== "false", d = (f.get(a) || 0) + 1, M = (s.get(a) || 0) + 1;
|
|
31
|
+
f.set(a, d), s.set(a, M), l.push(a), d === 1 && w && v.set(a, !0), M === 1 && a.setAttribute(e, "true"), w || a.setAttribute(n, "true");
|
|
32
|
+
} catch (k) {
|
|
33
|
+
console.error("aria-hidden: cannot operate on ", a, k);
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
return A(u), o.clear(), h++, function() {
|
|
38
|
+
l.forEach(function(t) {
|
|
39
|
+
var a = f.get(t) - 1, c = s.get(t) - 1;
|
|
40
|
+
f.set(t, a), s.set(t, c), a || (v.has(t) || t.removeAttribute(n), v.delete(t)), c || t.removeAttribute(e);
|
|
41
|
+
}), h--, h || (f = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {});
|
|
42
|
+
};
|
|
43
|
+
}, C = function(r, u, e) {
|
|
44
|
+
e === void 0 && (e = "data-aria-hidden");
|
|
45
|
+
var n = Array.from(Array.isArray(r) ? r : [r]), i = S(r);
|
|
46
|
+
return i ? (n.push.apply(n, Array.from(i.querySelectorAll("[aria-live], script"))), E(n, i, e, "aria-hidden")) : function() {
|
|
47
|
+
return null;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
6
50
|
export {
|
|
7
|
-
|
|
51
|
+
C as hideOthers
|
|
8
52
|
};
|
|
9
53
|
//# sourceMappingURL=index73.js.map
|
package/dist/index73.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index73.js","sources":["../../../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["// packages/react/use-previous/src/use-previous.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n const ref = React.useRef({ value, previous: value });\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\nexport {\n usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["usePrevious","value","ref","React"],"mappings":";AAEA,SAASA,EAAYC,GAAO;AAC1B,QAAMC,IAAMC,EAAM,OAAO,EAAE,OAAAF,GAAO,UAAUA,GAAO;AACnD,SAAOE,EAAM,QAAQ,OACfD,EAAI,QAAQ,UAAUD,MACxBC,EAAI,QAAQ,WAAWA,EAAI,QAAQ,OACnCA,EAAI,QAAQ,QAAQD,IAEfC,EAAI,QAAQ,WAClB,CAACD,CAAK,CAAC;AACZ;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index73.js","sources":["../../../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide aria-live elements - https://github.com/theKashey/aria-hidden/issues/10\n // and script elements, as they have no impact on accessibility.\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live], script')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","active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C/BC,IAAY,CAAA;AAAA,EAEpB;AACJ,GAQW0B,IAAa,SAAU9B,GAAgBe,GAAYC,GAAY;AACtE,EAAIA,MAAe,WAAUA,IAAa;AAC1C,MAAIN,IAAU,MAAM,KAAK,MAAM,QAAQV,CAAc,IAAIA,IAAiB,CAACA,CAAc,CAAC,GACtF+B,IAAiChC,EAAiBC,CAAc;AACpE,SAAK+B,KAKLrB,EAAQ,KAAK,MAAMA,GAAS,MAAM,KAAKqB,EAAiB,iBAAiB,qBAAqB,CAAC,CAAC,GACzFjB,EAAuBJ,GAASqB,GAAkBf,GAAY,aAAa,KALvE,WAAY;AAAE,WAAO;AAAA,EAAM;AAM1C;","x_google_ignoreList":[0]}
|
package/dist/index74.js
CHANGED
|
@@ -1,31 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
height: 1,
|
|
10
|
-
padding: 0,
|
|
11
|
-
margin: -1,
|
|
12
|
-
overflow: "hidden",
|
|
13
|
-
clip: "rect(0, 0, 0, 0)",
|
|
14
|
-
whiteSpace: "nowrap",
|
|
15
|
-
wordWrap: "normal"
|
|
16
|
-
}), d = "VisuallyHidden", s = i.forwardRef(
|
|
17
|
-
(r, e) => /* @__PURE__ */ t.jsx(
|
|
18
|
-
a.span,
|
|
19
|
-
{
|
|
20
|
-
...r,
|
|
21
|
-
ref: e,
|
|
22
|
-
style: { ...o, ...r.style }
|
|
23
|
-
}
|
|
24
|
-
)
|
|
25
|
-
);
|
|
26
|
-
s.displayName = d;
|
|
1
|
+
import { __assign as m } from "./index242.js";
|
|
2
|
+
import * as r from "react";
|
|
3
|
+
import { RemoveScroll as e } from "./index243.js";
|
|
4
|
+
import t from "./index244.js";
|
|
5
|
+
var s = r.forwardRef(function(a, o) {
|
|
6
|
+
return r.createElement(e, m({}, a, { ref: o, sideCar: t }));
|
|
7
|
+
});
|
|
8
|
+
s.classNames = e.classNames;
|
|
27
9
|
export {
|
|
28
|
-
|
|
29
|
-
s as VisuallyHidden
|
|
10
|
+
s as default
|
|
30
11
|
};
|
|
31
12
|
//# sourceMappingURL=index74.js.map
|
package/dist/index74.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index74.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index74.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":";;;;AAIG,IAACA,IAAoBC,EAAM,WAAW,SAAUC,GAAOC,GAAK;AAAE,SAAQF,EAAM,cAAcG,GAAcC,EAAS,IAAIH,GAAO,EAAE,KAAKC,GAAK,SAASG,EAAO,CAAE,CAAC;AAAI,CAAC;AACnKN,EAAkB,aAAaI,EAAa;","x_google_ignoreList":[0]}
|
package/dist/index75.js
CHANGED
|
@@ -1,53 +1,5 @@
|
|
|
1
|
-
var
|
|
2
|
-
if (typeof document > "u")
|
|
3
|
-
return null;
|
|
4
|
-
var u = Array.isArray(r) ? r[0] : r;
|
|
5
|
-
return u.ownerDocument.body;
|
|
6
|
-
}, f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {}, h = 0, W = function(r) {
|
|
7
|
-
return r && (r.host || W(r.parentNode));
|
|
8
|
-
}, D = function(r, u) {
|
|
9
|
-
return u.map(function(e) {
|
|
10
|
-
if (r.contains(e))
|
|
11
|
-
return e;
|
|
12
|
-
var n = W(e);
|
|
13
|
-
return n && r.contains(n) ? n : (console.error("aria-hidden", e, "in not contained inside", r, ". Doing nothing"), null);
|
|
14
|
-
}).filter(function(e) {
|
|
15
|
-
return !!e;
|
|
16
|
-
});
|
|
17
|
-
}, E = function(r, u, e, n) {
|
|
18
|
-
var i = D(u, Array.isArray(r) ? r : [r]);
|
|
19
|
-
p[e] || (p[e] = /* @__PURE__ */ new WeakMap());
|
|
20
|
-
var s = p[e], l = [], o = /* @__PURE__ */ new Set(), b = new Set(i), y = function(t) {
|
|
21
|
-
!t || o.has(t) || (o.add(t), y(t.parentNode));
|
|
22
|
-
};
|
|
23
|
-
i.forEach(y);
|
|
24
|
-
var A = function(t) {
|
|
25
|
-
!t || b.has(t) || Array.prototype.forEach.call(t.children, function(a) {
|
|
26
|
-
if (o.has(a))
|
|
27
|
-
A(a);
|
|
28
|
-
else
|
|
29
|
-
try {
|
|
30
|
-
var c = a.getAttribute(n), w = c !== null && c !== "false", d = (f.get(a) || 0) + 1, M = (s.get(a) || 0) + 1;
|
|
31
|
-
f.set(a, d), s.set(a, M), l.push(a), d === 1 && w && v.set(a, !0), M === 1 && a.setAttribute(e, "true"), w || a.setAttribute(n, "true");
|
|
32
|
-
} catch (k) {
|
|
33
|
-
console.error("aria-hidden: cannot operate on ", a, k);
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
return A(u), o.clear(), h++, function() {
|
|
38
|
-
l.forEach(function(t) {
|
|
39
|
-
var a = f.get(t) - 1, c = s.get(t) - 1;
|
|
40
|
-
f.set(t, a), s.set(t, c), a || (v.has(t) || t.removeAttribute(n), v.delete(t)), c || t.removeAttribute(e);
|
|
41
|
-
}), h--, h || (f = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {});
|
|
42
|
-
};
|
|
43
|
-
}, C = function(r, u, e) {
|
|
44
|
-
e === void 0 && (e = "data-aria-hidden");
|
|
45
|
-
var n = Array.from(Array.isArray(r) ? r : [r]), i = S(r);
|
|
46
|
-
return i ? (n.push.apply(n, Array.from(i.querySelectorAll("[aria-live], script"))), E(n, i, e, "aria-hidden")) : function() {
|
|
47
|
-
return null;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
1
|
+
var r = {};
|
|
50
2
|
export {
|
|
51
|
-
|
|
3
|
+
r as __exports
|
|
52
4
|
};
|
|
53
5
|
//# sourceMappingURL=index75.js.map
|
package/dist/index75.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index75.js","sources":["../../../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide aria-live elements - https://github.com/theKashey/aria-hidden/issues/10\n // and script elements, as they have no impact on accessibility.\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live], script')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","activeParentNode"],"mappings":"AAAA,IAAIA,IAAmB,SAAUC,GAAgB;AAC7C,MAAI,OAAO,WAAa;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,GAAY;AACtE,EAAIA,MAAe,WAAUA,IAAa;AAC1C,MAAIN,IAAU,MAAM,KAAK,MAAM,QAAQV,CAAc,IAAIA,IAAiB,CAACA,CAAc,CAAC,GACtF+B,IAAiChC,EAAiBC,CAAc;AACpE,SAAK+B,KAKLrB,EAAQ,KAAK,MAAMA,GAAS,MAAM,KAAKqB,EAAiB,iBAAiB,qBAAqB,CAAC,CAAC,GACzFjB,EAAuBJ,GAASqB,GAAkBf,GAAY,aAAa,KALvE,WAAY;AAAE,WAAO;AAAA,EAAM;AAM1C;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index75.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index76.js
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import * as r from "react";
|
|
3
|
-
import { RemoveScroll as e } from "./index240.js";
|
|
4
|
-
import t from "./index241.js";
|
|
5
|
-
var s = r.forwardRef(function(a, o) {
|
|
6
|
-
return r.createElement(e, m({}, a, { ref: o, sideCar: t }));
|
|
7
|
-
});
|
|
8
|
-
s.classNames = e.classNames;
|
|
1
|
+
var e = {};
|
|
9
2
|
export {
|
|
10
|
-
|
|
3
|
+
e as __exports
|
|
11
4
|
};
|
|
12
5
|
//# sourceMappingURL=index76.js.map
|
package/dist/index76.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index76.js","sources":[
|
|
1
|
+
{"version":3,"file":"index76.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index80.js
CHANGED
|
@@ -1,50 +1,55 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
var E = /* @__PURE__ */ Symbol("radix.slottable");
|
|
29
|
-
function g(e) {
|
|
30
|
-
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === E;
|
|
31
|
-
}
|
|
32
|
-
function C(e, r) {
|
|
33
|
-
const t = { ...r };
|
|
34
|
-
for (const o in r) {
|
|
35
|
-
const n = e[o], i = r[o];
|
|
36
|
-
/^on[A-Z]/.test(o) ? n && i ? t[o] = (...s) => {
|
|
37
|
-
const a = i(...s);
|
|
38
|
-
return n(...s), a;
|
|
39
|
-
} : n && (t[o] = n) : o === "style" ? t[o] = { ...n, ...i } : o === "className" && (t[o] = [n, i].filter(Boolean).join(" "));
|
|
40
|
-
}
|
|
41
|
-
return { ...e, ...t };
|
|
42
|
-
}
|
|
43
|
-
function R(e) {
|
|
44
|
-
let r = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning;
|
|
45
|
-
return t ? e.ref : (r = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
|
|
46
|
-
}
|
|
1
|
+
import { Button as e } from "./index81.js";
|
|
2
|
+
import { CaptionLabel as p } from "./index82.js";
|
|
3
|
+
import { Chevron as x } from "./index83.js";
|
|
4
|
+
import { Day as n } from "./index84.js";
|
|
5
|
+
import { DayButton as d } from "./index85.js";
|
|
6
|
+
import { Dropdown as u } from "./index86.js";
|
|
7
|
+
import { DropdownNav as k } from "./index87.js";
|
|
8
|
+
import { Footer as D } from "./index88.js";
|
|
9
|
+
import { Month as i } from "./index89.js";
|
|
10
|
+
import { MonthCaption as v } from "./index90.js";
|
|
11
|
+
import { MonthGrid as y } from "./index91.js";
|
|
12
|
+
import { Months as b } from "./index92.js";
|
|
13
|
+
import { MonthsDropdown as l } from "./index93.js";
|
|
14
|
+
import { Nav as F } from "./index94.js";
|
|
15
|
+
import { NextMonthButton as H } from "./index95.js";
|
|
16
|
+
import { Option as O } from "./index96.js";
|
|
17
|
+
import { PreviousMonthButton as R } from "./index97.js";
|
|
18
|
+
import { Root as Y } from "./index98.js";
|
|
19
|
+
import { Select as j } from "./index99.js";
|
|
20
|
+
import { Week as z } from "./index100.js";
|
|
21
|
+
import { Weekday as E } from "./index101.js";
|
|
22
|
+
import { Weekdays as J } from "./index102.js";
|
|
23
|
+
import { WeekNumber as Q } from "./index103.js";
|
|
24
|
+
import { WeekNumberHeader as U } from "./index104.js";
|
|
25
|
+
import { Weeks as X } from "./index105.js";
|
|
26
|
+
import { YearsDropdown as _ } from "./index106.js";
|
|
47
27
|
export {
|
|
48
|
-
|
|
28
|
+
e as Button,
|
|
29
|
+
p as CaptionLabel,
|
|
30
|
+
x as Chevron,
|
|
31
|
+
n as Day,
|
|
32
|
+
d as DayButton,
|
|
33
|
+
u as Dropdown,
|
|
34
|
+
k as DropdownNav,
|
|
35
|
+
D as Footer,
|
|
36
|
+
i as Month,
|
|
37
|
+
v as MonthCaption,
|
|
38
|
+
y as MonthGrid,
|
|
39
|
+
b as Months,
|
|
40
|
+
l as MonthsDropdown,
|
|
41
|
+
F as Nav,
|
|
42
|
+
H as NextMonthButton,
|
|
43
|
+
O as Option,
|
|
44
|
+
R as PreviousMonthButton,
|
|
45
|
+
Y as Root,
|
|
46
|
+
j as Select,
|
|
47
|
+
z as Week,
|
|
48
|
+
Q as WeekNumber,
|
|
49
|
+
U as WeekNumberHeader,
|
|
50
|
+
E as Weekday,
|
|
51
|
+
J as Weekdays,
|
|
52
|
+
X as Weeks,
|
|
53
|
+
_ as YearsDropdown
|
|
49
54
|
};
|
|
50
55
|
//# sourceMappingURL=index80.js.map
|
package/dist/index80.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index80.js","sources":[
|
|
1
|
+
{"version":3,"file":"index80.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index81.js
CHANGED
|
@@ -1,55 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { DayButton as d } from "./index86.js";
|
|
6
|
-
import { Dropdown as u } from "./index87.js";
|
|
7
|
-
import { DropdownNav as k } from "./index88.js";
|
|
8
|
-
import { Footer as D } from "./index89.js";
|
|
9
|
-
import { Month as i } from "./index90.js";
|
|
10
|
-
import { MonthCaption as v } from "./index91.js";
|
|
11
|
-
import { MonthGrid as y } from "./index92.js";
|
|
12
|
-
import { Months as b } from "./index93.js";
|
|
13
|
-
import { MonthsDropdown as l } from "./index94.js";
|
|
14
|
-
import { Nav as F } from "./index95.js";
|
|
15
|
-
import { NextMonthButton as H } from "./index96.js";
|
|
16
|
-
import { Option as O } from "./index97.js";
|
|
17
|
-
import { PreviousMonthButton as R } from "./index98.js";
|
|
18
|
-
import { Root as Y } from "./index99.js";
|
|
19
|
-
import { Select as j } from "./index100.js";
|
|
20
|
-
import { Week as z } from "./index101.js";
|
|
21
|
-
import { Weekday as E } from "./index102.js";
|
|
22
|
-
import { Weekdays as J } from "./index103.js";
|
|
23
|
-
import { WeekNumber as Q } from "./index104.js";
|
|
24
|
-
import { WeekNumberHeader as U } from "./index105.js";
|
|
25
|
-
import { Weeks as X } from "./index106.js";
|
|
26
|
-
import { YearsDropdown as _ } from "./index107.js";
|
|
1
|
+
import e from "react";
|
|
2
|
+
function o(t) {
|
|
3
|
+
return e.createElement("button", { ...t });
|
|
4
|
+
}
|
|
27
5
|
export {
|
|
28
|
-
|
|
29
|
-
p as CaptionLabel,
|
|
30
|
-
x as Chevron,
|
|
31
|
-
n as Day,
|
|
32
|
-
d as DayButton,
|
|
33
|
-
u as Dropdown,
|
|
34
|
-
k as DropdownNav,
|
|
35
|
-
D as Footer,
|
|
36
|
-
i as Month,
|
|
37
|
-
v as MonthCaption,
|
|
38
|
-
y as MonthGrid,
|
|
39
|
-
b as Months,
|
|
40
|
-
l as MonthsDropdown,
|
|
41
|
-
F as Nav,
|
|
42
|
-
H as NextMonthButton,
|
|
43
|
-
O as Option,
|
|
44
|
-
R as PreviousMonthButton,
|
|
45
|
-
Y as Root,
|
|
46
|
-
j as Select,
|
|
47
|
-
z as Week,
|
|
48
|
-
Q as WeekNumber,
|
|
49
|
-
U as WeekNumberHeader,
|
|
50
|
-
E as Weekday,
|
|
51
|
-
J as Weekdays,
|
|
52
|
-
X as Weeks,
|
|
53
|
-
_ as YearsDropdown
|
|
6
|
+
o as Button
|
|
54
7
|
};
|
|
55
8
|
//# sourceMappingURL=index81.js.map
|
package/dist/index81.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index81.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index81.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Button.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the button elements in the calendar.\n *\n * @private\n * @deprecated Use `PreviousMonthButton` or `@link NextMonthButton` instead.\n */\nexport function Button(props) {\n return React.createElement(\"button\", { ...props });\n}\n"],"names":["Button","props","React"],"mappings":";AAOO,SAASA,EAAOC,GAAO;AAC1B,SAAOC,EAAM,cAAc,UAAU,EAAE,GAAGD,EAAK,CAAE;AACrD;","x_google_ignoreList":[0]}
|
package/dist/index82.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
function
|
|
3
|
-
return
|
|
1
|
+
import t from "react";
|
|
2
|
+
function n(e) {
|
|
3
|
+
return t.createElement("span", { ...e });
|
|
4
4
|
}
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
n as CaptionLabel
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=index82.js.map
|
package/dist/index82.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index82.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index82.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/CaptionLabel.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the label in the month caption.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function CaptionLabel(props) {\n return React.createElement(\"span\", { ...props });\n}\n"],"names":["CaptionLabel","props","React"],"mappings":";AAOO,SAASA,EAAaC,GAAO;AAChC,SAAOC,EAAM,cAAc,QAAQ,EAAE,GAAGD,EAAK,CAAE;AACnD;","x_google_ignoreList":[0]}
|