@anoki/fse-ui 1.0.425 → 1.0.426
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/navigations/Footer/Footer.css +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs16.js.map +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs186.js.map +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs215.js +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs237.js +2 -2
- package/dist/index.cjs237.js.map +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs280.js +2 -2
- package/dist/index.cjs281.js +9 -9
- package/dist/index.cjs287.js +2 -0
- package/dist/index.cjs287.js.map +1 -0
- package/dist/index.cjs288.js +1 -1
- package/dist/index.cjs288.js.map +1 -1
- package/dist/index.cjs289.js +2 -0
- package/dist/index.cjs289.js.map +1 -0
- package/dist/{index.cjs294.js → index.cjs290.js} +2 -2
- package/dist/{index.cjs294.js.map → index.cjs290.js.map} +1 -1
- package/dist/index.cjs291.js +1 -1
- package/dist/index.cjs291.js.map +1 -1
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs292.js.map +1 -1
- package/dist/index.cjs293.js +1 -1
- package/dist/index.cjs293.js.map +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs295.js.map +1 -1
- package/dist/index.cjs296.js +1 -1
- package/dist/index.cjs296.js.map +1 -1
- package/dist/index.cjs297.js +1 -1
- package/dist/index.cjs297.js.map +1 -1
- package/dist/index.cjs298.js +1 -1
- package/dist/index.cjs298.js.map +1 -1
- package/dist/index.cjs299.js +1 -1
- package/dist/index.cjs299.js.map +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs300.js +1 -1
- package/dist/index.cjs300.js.map +1 -1
- package/dist/index.cjs301.js +1 -1
- package/dist/index.cjs301.js.map +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs302.js.map +1 -1
- package/dist/index.cjs303.js +1 -1
- package/dist/index.cjs303.js.map +1 -1
- package/dist/index.cjs304.js +1 -1
- package/dist/index.cjs304.js.map +1 -1
- package/dist/index.cjs305.js +1 -1
- package/dist/index.cjs305.js.map +1 -1
- package/dist/index.cjs306.js +1 -1
- package/dist/index.cjs306.js.map +1 -1
- package/dist/index.cjs307.js +1 -1
- package/dist/index.cjs307.js.map +1 -1
- package/dist/index.cjs308.js +1 -1
- package/dist/index.cjs308.js.map +1 -1
- package/dist/index.cjs309.js +1 -1
- package/dist/index.cjs309.js.map +1 -1
- package/dist/index.cjs310.js +1 -1
- package/dist/index.cjs310.js.map +1 -1
- package/dist/index.cjs311.js +1 -1
- package/dist/index.cjs311.js.map +1 -1
- package/dist/index.cjs312.js +1 -1
- package/dist/index.cjs312.js.map +1 -1
- package/dist/index.cjs313.js +1 -1
- package/dist/index.cjs313.js.map +1 -1
- package/dist/index.cjs314.js +1 -1
- package/dist/index.cjs314.js.map +1 -1
- package/dist/index.cjs315.js +1 -1
- package/dist/index.cjs315.js.map +1 -1
- package/dist/index.cjs316.js +2 -0
- package/dist/index.cjs316.js.map +1 -0
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs320.js +1 -1
- package/dist/index.cjs320.js.map +1 -1
- package/dist/index.cjs321.js +1 -1
- package/dist/index.cjs321.js.map +1 -1
- package/dist/index.cjs322.js +1 -1
- package/dist/index.cjs322.js.map +1 -1
- package/dist/{index.cjs347.js → index.cjs323.js} +2 -2
- package/dist/{index.cjs347.js.map → index.cjs323.js.map} +1 -1
- package/dist/{index.cjs348.js → index.cjs324.js} +2 -2
- package/dist/{index.cjs348.js.map → index.cjs324.js.map} +1 -1
- package/dist/index.cjs325.js +2 -0
- package/dist/{index.cjs349.js.map → index.cjs325.js.map} +1 -1
- package/dist/{index.cjs350.js → index.cjs326.js} +1 -1
- package/dist/{index.cjs350.js.map → index.cjs326.js.map} +1 -1
- package/dist/{index.cjs351.js → index.cjs327.js} +2 -2
- package/dist/{index.cjs351.js.map → index.cjs327.js.map} +1 -1
- package/dist/index.cjs328.js +2 -0
- package/dist/index.cjs328.js.map +1 -0
- package/dist/index.cjs329.js +38 -1
- package/dist/index.cjs329.js.map +1 -1
- package/dist/index.cjs330.js +1 -1
- package/dist/index.cjs330.js.map +1 -1
- package/dist/index.cjs331.js +1 -1
- package/dist/index.cjs331.js.map +1 -1
- package/dist/index.cjs332.js +1 -1
- package/dist/index.cjs332.js.map +1 -1
- package/dist/index.cjs333.js +2 -0
- package/dist/{index.cjs352.js.map → index.cjs333.js.map} +1 -1
- package/dist/index.cjs334.js +2 -0
- package/dist/index.cjs334.js.map +1 -0
- package/dist/index.cjs340.js +1 -1
- package/dist/index.cjs340.js.map +1 -1
- package/dist/index.cjs341.js +1 -1
- package/dist/index.cjs341.js.map +1 -1
- package/dist/index.cjs342.js +1 -1
- package/dist/index.cjs342.js.map +1 -1
- package/dist/index.cjs343.js +1 -1
- package/dist/index.cjs343.js.map +1 -1
- package/dist/index.cjs344.js +1 -1
- package/dist/index.cjs344.js.map +1 -1
- package/dist/index.cjs345.js +1 -1
- package/dist/index.cjs345.js.map +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs93.js +1 -1
- package/dist/index.es142.js +1 -1
- package/dist/index.es144.js +2 -2
- package/dist/index.es145.js +24 -24
- package/dist/index.es152.js +1 -1
- package/dist/index.es16.js +13 -13
- package/dist/index.es16.js.map +1 -1
- package/dist/index.es18.js +22 -22
- package/dist/index.es186.js +22 -22
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es190.js +25 -25
- package/dist/index.es191.js +10 -10
- package/dist/index.es197.js +8 -8
- package/dist/index.es208.js +57 -57
- package/dist/index.es215.js +1 -1
- package/dist/index.es220.js +1 -1
- package/dist/index.es227.js +1 -1
- package/dist/index.es235.js +32 -32
- package/dist/index.es237.js +22 -22
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es24.js +4 -4
- package/dist/index.es25.js +38 -38
- package/dist/index.es26.js +21 -21
- package/dist/index.es27.js +2 -2
- package/dist/index.es280.js +20 -20
- package/dist/index.es281.js +91 -91
- package/dist/index.es287.js +10 -0
- package/dist/index.es287.js.map +1 -0
- package/dist/index.es288.js +27 -15
- package/dist/index.es288.js.map +1 -1
- package/dist/index.es289.js +71 -0
- package/dist/index.es289.js.map +1 -0
- package/dist/index.es290.js +33 -0
- package/dist/{index.es294.js.map → index.es290.js.map} +1 -1
- package/dist/index.es291.js +32 -6
- package/dist/index.es291.js.map +1 -1
- package/dist/index.es292.js +618 -23
- package/dist/index.es292.js.map +1 -1
- package/dist/index.es293.js +10 -67
- package/dist/index.es293.js.map +1 -1
- package/dist/index.es295.js +10 -32
- package/dist/index.es295.js.map +1 -1
- package/dist/index.es296.js +41 -621
- package/dist/index.es296.js.map +1 -1
- package/dist/index.es297.js +45 -10
- package/dist/index.es297.js.map +1 -1
- package/dist/index.es298.js +7 -5
- package/dist/index.es298.js.map +1 -1
- package/dist/index.es299.js +123 -23
- package/dist/index.es299.js.map +1 -1
- package/dist/index.es300.js +13 -67
- package/dist/index.es300.js.map +1 -1
- package/dist/index.es301.js +134 -28
- package/dist/index.es301.js.map +1 -1
- package/dist/index.es302.js +217 -10
- package/dist/index.es302.js.map +1 -1
- package/dist/index.es303.js +13 -45
- package/dist/index.es303.js.map +1 -1
- package/dist/index.es304.js +66 -43
- package/dist/index.es304.js.map +1 -1
- package/dist/index.es305.js +177 -7
- package/dist/index.es305.js.map +1 -1
- package/dist/index.es306.js +47 -122
- package/dist/index.es306.js.map +1 -1
- package/dist/index.es307.js +8 -14
- package/dist/index.es307.js.map +1 -1
- package/dist/index.es308.js +4 -135
- package/dist/index.es308.js.map +1 -1
- package/dist/index.es309.js +11 -217
- package/dist/index.es309.js.map +1 -1
- package/dist/index.es310.js +204 -13
- package/dist/index.es310.js.map +1 -1
- package/dist/index.es311.js +19 -175
- package/dist/index.es311.js.map +1 -1
- package/dist/index.es312.js +25 -50
- package/dist/index.es312.js.map +1 -1
- package/dist/index.es313.js +393 -9
- package/dist/index.es313.js.map +1 -1
- package/dist/index.es314.js +24 -3
- package/dist/index.es314.js.map +1 -1
- package/dist/index.es315.js +28 -41
- package/dist/index.es315.js.map +1 -1
- package/dist/index.es316.js +8 -0
- package/dist/index.es316.js.map +1 -0
- package/dist/index.es32.js +4 -4
- package/dist/index.es320.js +5 -14
- package/dist/index.es320.js.map +1 -1
- package/dist/index.es321.js +3 -33
- package/dist/index.es321.js.map +1 -1
- package/dist/index.es322.js +23 -41
- package/dist/index.es322.js.map +1 -1
- package/dist/{index.es347.js → index.es323.js} +6 -6
- package/dist/{index.es347.js.map → index.es323.js.map} +1 -1
- package/dist/{index.es348.js → index.es324.js} +2 -2
- package/dist/{index.es348.js.map → index.es324.js.map} +1 -1
- package/dist/{index.es349.js → index.es325.js} +98 -98
- package/dist/{index.es349.js.map → index.es325.js.map} +1 -1
- package/dist/{index.es350.js → index.es326.js} +7 -7
- package/dist/{index.es350.js.map → index.es326.js.map} +1 -1
- package/dist/{index.es351.js → index.es327.js} +43 -43
- package/dist/{index.es351.js.map → index.es327.js.map} +1 -1
- package/dist/index.es328.js +9 -0
- package/dist/index.es328.js.map +1 -0
- package/dist/index.es329.js +68 -11
- package/dist/index.es329.js.map +1 -1
- package/dist/index.es330.js +8 -204
- package/dist/index.es330.js.map +1 -1
- package/dist/index.es331.js +14 -22
- package/dist/index.es331.js.map +1 -1
- package/dist/index.es332.js +60 -391
- package/dist/index.es332.js.map +1 -1
- package/dist/{index.es352.js → index.es333.js} +2 -2
- package/dist/{index.es352.js.map → index.es333.js.map} +1 -1
- package/dist/index.es334.js +18 -0
- package/dist/index.es334.js.map +1 -0
- package/dist/index.es340.js +3 -24
- package/dist/index.es340.js.map +1 -1
- package/dist/index.es341.js +23 -29
- package/dist/index.es341.js.map +1 -1
- package/dist/index.es342.js +23 -5
- package/dist/index.es342.js.map +1 -1
- package/dist/index.es343.js +13 -42
- package/dist/index.es343.js.map +1 -1
- package/dist/index.es344.js +28 -5
- package/dist/index.es344.js.map +1 -1
- package/dist/index.es345.js +5 -3
- package/dist/index.es345.js.map +1 -1
- package/dist/index.es35.js +14 -14
- package/dist/index.es37.js +6 -6
- package/dist/index.es47.js +2 -2
- package/dist/index.es5.js +4 -4
- package/dist/index.es65.js +44 -44
- package/dist/index.es68.js +25 -25
- package/dist/index.es69.js +23 -23
- package/dist/index.es93.js +17 -17
- package/package.json +2 -2
- package/dist/index.cjs318.js +0 -2
- package/dist/index.cjs318.js.map +0 -1
- package/dist/index.cjs319.js +0 -2
- package/dist/index.cjs319.js.map +0 -1
- package/dist/index.cjs339.js +0 -2
- package/dist/index.cjs339.js.map +0 -1
- package/dist/index.cjs346.js +0 -2
- package/dist/index.cjs346.js.map +0 -1
- package/dist/index.cjs349.js +0 -2
- package/dist/index.cjs352.js +0 -2
- package/dist/index.cjs353.js +0 -39
- package/dist/index.cjs353.js.map +0 -1
- package/dist/index.cjs354.js +0 -2
- package/dist/index.cjs354.js.map +0 -1
- package/dist/index.cjs355.js +0 -2
- package/dist/index.cjs355.js.map +0 -1
- package/dist/index.cjs356.js +0 -2
- package/dist/index.cjs356.js.map +0 -1
- package/dist/index.cjs357.js +0 -2
- package/dist/index.cjs357.js.map +0 -1
- package/dist/index.cjs358.js +0 -2
- package/dist/index.cjs358.js.map +0 -1
- package/dist/index.cjs359.js +0 -2
- package/dist/index.cjs359.js.map +0 -1
- package/dist/index.cjs360.js +0 -2
- package/dist/index.cjs360.js.map +0 -1
- package/dist/index.cjs361.js +0 -2
- package/dist/index.cjs361.js.map +0 -1
- package/dist/index.cjs362.js +0 -2
- package/dist/index.cjs362.js.map +0 -1
- package/dist/index.es294.js +0 -33
- package/dist/index.es318.js +0 -128
- package/dist/index.es318.js.map +0 -1
- package/dist/index.es319.js +0 -138
- package/dist/index.es319.js.map +0 -1
- package/dist/index.es339.js +0 -32
- package/dist/index.es339.js.map +0 -1
- package/dist/index.es346.js +0 -27
- package/dist/index.es346.js.map +0 -1
- package/dist/index.es353.js +0 -72
- package/dist/index.es353.js.map +0 -1
- package/dist/index.es354.js +0 -12
- package/dist/index.es354.js.map +0 -1
- package/dist/index.es355.js +0 -17
- package/dist/index.es355.js.map +0 -1
- package/dist/index.es356.js +0 -65
- package/dist/index.es356.js.map +0 -1
- package/dist/index.es357.js +0 -7
- package/dist/index.es357.js.map +0 -1
- package/dist/index.es358.js +0 -26
- package/dist/index.es358.js.map +0 -1
- package/dist/index.es359.js +0 -16
- package/dist/index.es359.js.map +0 -1
- package/dist/index.es360.js +0 -31
- package/dist/index.es360.js.map +0 -1
- package/dist/index.es361.js +0 -8
- package/dist/index.es361.js.map +0 -1
- package/dist/index.es362.js +0 -26
- package/dist/index.es362.js.map +0 -1
- /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
package/dist/index.es208.js
CHANGED
@@ -1,30 +1,30 @@
|
|
1
1
|
import * as s from "react";
|
2
|
-
import { composeEventHandlers as p } from "./index.
|
3
|
-
import { useComposedRefs as C } from "./index.
|
4
|
-
import { createContextScope as L, createContext as $ } from "./index.
|
5
|
-
import { useId as x } from "./index.
|
6
|
-
import { useControllableState as B } from "./index.
|
7
|
-
import { DismissableLayer as H } from "./index.
|
8
|
-
import { FocusScope as V } from "./index.
|
9
|
-
import { Portal as q } from "./index.
|
10
|
-
import { Presence as R } from "./index.
|
11
|
-
import { Primitive as m } from "./index.
|
12
|
-
import { useFocusGuards as K } from "./index.
|
13
|
-
import U from "./index.
|
14
|
-
import { hideOthers as Y } from "./index.
|
15
|
-
import { Slot as Z } from "./index.
|
2
|
+
import { composeEventHandlers as p } from "./index.es287.js";
|
3
|
+
import { useComposedRefs as C } from "./index.es288.js";
|
4
|
+
import { createContextScope as L, createContext as $ } from "./index.es289.js";
|
5
|
+
import { useId as x } from "./index.es293.js";
|
6
|
+
import { useControllableState as B } from "./index.es290.js";
|
7
|
+
import { DismissableLayer as H } from "./index.es299.js";
|
8
|
+
import { FocusScope as V } from "./index.es301.js";
|
9
|
+
import { Portal as q } from "./index.es303.js";
|
10
|
+
import { Presence as R } from "./index.es304.js";
|
11
|
+
import { Primitive as m } from "./index.es291.js";
|
12
|
+
import { useFocusGuards as K } from "./index.es300.js";
|
13
|
+
import U from "./index.es307.js";
|
14
|
+
import { hideOthers as Y } from "./index.es306.js";
|
15
|
+
import { Slot as Z } from "./index.es296.js";
|
16
16
|
import { j as i } from "./index.es161.js";
|
17
17
|
var _ = "Dialog", [P, _e] = L(_), [z, u] = P(_), y = (e) => {
|
18
18
|
const {
|
19
19
|
__scopeDialog: o,
|
20
|
-
children:
|
20
|
+
children: n,
|
21
21
|
open: a,
|
22
|
-
defaultOpen:
|
22
|
+
defaultOpen: r,
|
23
23
|
onOpenChange: t,
|
24
24
|
modal: c = !0
|
25
25
|
} = e, l = s.useRef(null), d = s.useRef(null), [g = !1, v] = B({
|
26
26
|
prop: a,
|
27
|
-
defaultProp:
|
27
|
+
defaultProp: r,
|
28
28
|
onChange: t
|
29
29
|
});
|
30
30
|
return /* @__PURE__ */ i.jsx(
|
@@ -40,25 +40,25 @@ var _ = "Dialog", [P, _e] = L(_), [z, u] = P(_), y = (e) => {
|
|
40
40
|
onOpenChange: v,
|
41
41
|
onOpenToggle: s.useCallback(() => v((G) => !G), [v]),
|
42
42
|
modal: c,
|
43
|
-
children:
|
43
|
+
children: n
|
44
44
|
}
|
45
45
|
);
|
46
46
|
};
|
47
47
|
y.displayName = _;
|
48
48
|
var I = "DialogTrigger", J = s.forwardRef(
|
49
49
|
(e, o) => {
|
50
|
-
const { __scopeDialog:
|
50
|
+
const { __scopeDialog: n, ...a } = e, r = u(I, n), t = C(o, r.triggerRef);
|
51
51
|
return /* @__PURE__ */ i.jsx(
|
52
52
|
m.button,
|
53
53
|
{
|
54
54
|
type: "button",
|
55
55
|
"aria-haspopup": "dialog",
|
56
|
-
"aria-expanded":
|
57
|
-
"aria-controls":
|
58
|
-
"data-state": N(
|
56
|
+
"aria-expanded": r.open,
|
57
|
+
"aria-controls": r.contentId,
|
58
|
+
"data-state": N(r.open),
|
59
59
|
...a,
|
60
60
|
ref: t,
|
61
|
-
onClick: p(e.onClick,
|
61
|
+
onClick: p(e.onClick, r.onOpenToggle)
|
62
62
|
}
|
63
63
|
);
|
64
64
|
}
|
@@ -67,27 +67,27 @@ J.displayName = I;
|
|
67
67
|
var h = "DialogPortal", [Q, O] = P(h, {
|
68
68
|
forceMount: void 0
|
69
69
|
}), A = (e) => {
|
70
|
-
const { __scopeDialog: o, forceMount:
|
71
|
-
return /* @__PURE__ */ i.jsx(Q, { scope: o, forceMount:
|
70
|
+
const { __scopeDialog: o, forceMount: n, children: a, container: r } = e, t = u(h, o);
|
71
|
+
return /* @__PURE__ */ i.jsx(Q, { scope: o, forceMount: n, children: s.Children.map(a, (c) => /* @__PURE__ */ i.jsx(R, { present: n || t.open, children: /* @__PURE__ */ i.jsx(q, { asChild: !0, container: r, children: c }) })) });
|
72
72
|
};
|
73
73
|
A.displayName = h;
|
74
74
|
var D = "DialogOverlay", j = s.forwardRef(
|
75
75
|
(e, o) => {
|
76
|
-
const
|
77
|
-
return t.modal ? /* @__PURE__ */ i.jsx(R, { present: a || t.open, children: /* @__PURE__ */ i.jsx(X, { ...
|
76
|
+
const n = O(D, e.__scopeDialog), { forceMount: a = n.forceMount, ...r } = e, t = u(D, e.__scopeDialog);
|
77
|
+
return t.modal ? /* @__PURE__ */ i.jsx(R, { present: a || t.open, children: /* @__PURE__ */ i.jsx(X, { ...r, ref: o }) }) : null;
|
78
78
|
}
|
79
79
|
);
|
80
80
|
j.displayName = D;
|
81
81
|
var X = s.forwardRef(
|
82
82
|
(e, o) => {
|
83
|
-
const { __scopeDialog:
|
83
|
+
const { __scopeDialog: n, ...a } = e, r = u(D, n);
|
84
84
|
return (
|
85
85
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
86
86
|
// ie. when `Overlay` and `Content` are siblings
|
87
|
-
/* @__PURE__ */ i.jsx(U, { as: Z, allowPinchZoom: !0, shards: [
|
87
|
+
/* @__PURE__ */ i.jsx(U, { as: Z, allowPinchZoom: !0, shards: [r.contentRef], children: /* @__PURE__ */ i.jsx(
|
88
88
|
m.div,
|
89
89
|
{
|
90
|
-
"data-state": N(
|
90
|
+
"data-state": N(r.open),
|
91
91
|
...a,
|
92
92
|
ref: o,
|
93
93
|
style: { pointerEvents: "auto", ...a.style }
|
@@ -97,14 +97,14 @@ var X = s.forwardRef(
|
|
97
97
|
}
|
98
98
|
), f = "DialogContent", T = s.forwardRef(
|
99
99
|
(e, o) => {
|
100
|
-
const
|
101
|
-
return /* @__PURE__ */ i.jsx(R, { present: a || t.open, children: t.modal ? /* @__PURE__ */ i.jsx(ee, { ...
|
100
|
+
const n = O(f, e.__scopeDialog), { forceMount: a = n.forceMount, ...r } = e, t = u(f, e.__scopeDialog);
|
101
|
+
return /* @__PURE__ */ i.jsx(R, { present: a || t.open, children: t.modal ? /* @__PURE__ */ i.jsx(ee, { ...r, ref: o }) : /* @__PURE__ */ i.jsx(te, { ...r, ref: o }) });
|
102
102
|
}
|
103
103
|
);
|
104
104
|
T.displayName = f;
|
105
105
|
var ee = s.forwardRef(
|
106
106
|
(e, o) => {
|
107
|
-
const
|
107
|
+
const n = u(f, e.__scopeDialog), a = s.useRef(null), r = C(o, n.contentRef, a);
|
108
108
|
return s.useEffect(() => {
|
109
109
|
const t = a.current;
|
110
110
|
if (t) return Y(t);
|
@@ -112,12 +112,12 @@ var ee = s.forwardRef(
|
|
112
112
|
b,
|
113
113
|
{
|
114
114
|
...e,
|
115
|
-
ref:
|
116
|
-
trapFocus:
|
115
|
+
ref: r,
|
116
|
+
trapFocus: n.open,
|
117
117
|
disableOutsidePointerEvents: !0,
|
118
118
|
onCloseAutoFocus: p(e.onCloseAutoFocus, (t) => {
|
119
119
|
var c;
|
120
|
-
t.preventDefault(), (c =
|
120
|
+
t.preventDefault(), (c = n.triggerRef.current) == null || c.focus();
|
121
121
|
}),
|
122
122
|
onPointerDownOutside: p(e.onPointerDownOutside, (t) => {
|
123
123
|
const c = t.detail.originalEvent, l = c.button === 0 && c.ctrlKey === !0;
|
@@ -132,7 +132,7 @@ var ee = s.forwardRef(
|
|
132
132
|
}
|
133
133
|
), te = s.forwardRef(
|
134
134
|
(e, o) => {
|
135
|
-
const
|
135
|
+
const n = u(f, e.__scopeDialog), a = s.useRef(!1), r = s.useRef(!1);
|
136
136
|
return /* @__PURE__ */ i.jsx(
|
137
137
|
b,
|
138
138
|
{
|
@@ -142,20 +142,20 @@ var ee = s.forwardRef(
|
|
142
142
|
disableOutsidePointerEvents: !1,
|
143
143
|
onCloseAutoFocus: (t) => {
|
144
144
|
var c, l;
|
145
|
-
(c = e.onCloseAutoFocus) == null || c.call(e, t), t.defaultPrevented || (a.current || (l =
|
145
|
+
(c = e.onCloseAutoFocus) == null || c.call(e, t), t.defaultPrevented || (a.current || (l = n.triggerRef.current) == null || l.focus(), t.preventDefault()), a.current = !1, r.current = !1;
|
146
146
|
},
|
147
147
|
onInteractOutside: (t) => {
|
148
148
|
var d, g;
|
149
|
-
(d = e.onInteractOutside) == null || d.call(e, t), t.defaultPrevented || (a.current = !0, t.detail.originalEvent.type === "pointerdown" && (
|
149
|
+
(d = e.onInteractOutside) == null || d.call(e, t), t.defaultPrevented || (a.current = !0, t.detail.originalEvent.type === "pointerdown" && (r.current = !0));
|
150
150
|
const c = t.target;
|
151
|
-
((g =
|
151
|
+
((g = n.triggerRef.current) == null ? void 0 : g.contains(c)) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && r.current && t.preventDefault();
|
152
152
|
}
|
153
153
|
}
|
154
154
|
);
|
155
155
|
}
|
156
156
|
), b = s.forwardRef(
|
157
157
|
(e, o) => {
|
158
|
-
const { __scopeDialog:
|
158
|
+
const { __scopeDialog: n, trapFocus: a, onOpenAutoFocus: r, onCloseAutoFocus: t, ...c } = e, l = u(f, n), d = s.useRef(null), g = C(o, d);
|
159
159
|
return K(), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
160
160
|
/* @__PURE__ */ i.jsx(
|
161
161
|
V,
|
@@ -163,7 +163,7 @@ var ee = s.forwardRef(
|
|
163
163
|
asChild: !0,
|
164
164
|
loop: !0,
|
165
165
|
trapped: a,
|
166
|
-
onMountAutoFocus:
|
166
|
+
onMountAutoFocus: r,
|
167
167
|
onUnmountAutoFocus: t,
|
168
168
|
children: /* @__PURE__ */ i.jsx(
|
169
169
|
H,
|
@@ -181,35 +181,35 @@ var ee = s.forwardRef(
|
|
181
181
|
}
|
182
182
|
),
|
183
183
|
/* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
184
|
-
/* @__PURE__ */ i.jsx(
|
184
|
+
/* @__PURE__ */ i.jsx(re, { titleId: l.titleId }),
|
185
185
|
/* @__PURE__ */ i.jsx(ae, { contentRef: d, descriptionId: l.descriptionId })
|
186
186
|
] })
|
187
187
|
] });
|
188
188
|
}
|
189
189
|
), E = "DialogTitle", M = s.forwardRef(
|
190
190
|
(e, o) => {
|
191
|
-
const { __scopeDialog:
|
192
|
-
return /* @__PURE__ */ i.jsx(m.h2, { id:
|
191
|
+
const { __scopeDialog: n, ...a } = e, r = u(E, n);
|
192
|
+
return /* @__PURE__ */ i.jsx(m.h2, { id: r.titleId, ...a, ref: o });
|
193
193
|
}
|
194
194
|
);
|
195
195
|
M.displayName = E;
|
196
196
|
var w = "DialogDescription", oe = s.forwardRef(
|
197
197
|
(e, o) => {
|
198
|
-
const { __scopeDialog:
|
199
|
-
return /* @__PURE__ */ i.jsx(m.p, { id:
|
198
|
+
const { __scopeDialog: n, ...a } = e, r = u(w, n);
|
199
|
+
return /* @__PURE__ */ i.jsx(m.p, { id: r.descriptionId, ...a, ref: o });
|
200
200
|
}
|
201
201
|
);
|
202
202
|
oe.displayName = w;
|
203
203
|
var F = "DialogClose", S = s.forwardRef(
|
204
204
|
(e, o) => {
|
205
|
-
const { __scopeDialog:
|
205
|
+
const { __scopeDialog: n, ...a } = e, r = u(F, n);
|
206
206
|
return /* @__PURE__ */ i.jsx(
|
207
207
|
m.button,
|
208
208
|
{
|
209
209
|
type: "button",
|
210
210
|
...a,
|
211
211
|
ref: o,
|
212
|
-
onClick: p(e.onClick, () =>
|
212
|
+
onClick: p(e.onClick, () => r.onOpenChange(!1))
|
213
213
|
}
|
214
214
|
);
|
215
215
|
}
|
@@ -222,21 +222,21 @@ var W = "DialogTitleWarning", [he, k] = $(W, {
|
|
222
222
|
contentName: f,
|
223
223
|
titleName: E,
|
224
224
|
docsSlug: "dialog"
|
225
|
-
}),
|
226
|
-
const o = k(W),
|
225
|
+
}), re = ({ titleId: e }) => {
|
226
|
+
const o = k(W), n = `\`${o.contentName}\` requires a \`${o.titleName}\` for the component to be accessible for screen reader users.
|
227
227
|
|
228
228
|
If you want to hide the \`${o.titleName}\`, you can wrap it with our VisuallyHidden component.
|
229
229
|
|
230
230
|
For more information, see https://radix-ui.com/primitives/docs/components/${o.docsSlug}`;
|
231
231
|
return s.useEffect(() => {
|
232
|
-
e && (document.getElementById(e) || console.error(
|
233
|
-
}, [
|
234
|
-
},
|
235
|
-
const a = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${k(
|
232
|
+
e && (document.getElementById(e) || console.error(n));
|
233
|
+
}, [n, e]), null;
|
234
|
+
}, ne = "DialogDescriptionWarning", ae = ({ contentRef: e, descriptionId: o }) => {
|
235
|
+
const a = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${k(ne).contentName}}.`;
|
236
236
|
return s.useEffect(() => {
|
237
237
|
var t;
|
238
|
-
const
|
239
|
-
o &&
|
238
|
+
const r = (t = e.current) == null ? void 0 : t.getAttribute("aria-describedby");
|
239
|
+
o && r && (document.getElementById(o) || console.warn(a));
|
240
240
|
}, [a, e, o]), null;
|
241
241
|
}, Ee = y, Ne = A, Pe = j, ye = T, Ie = M, Oe = S;
|
242
242
|
export {
|
package/dist/index.es215.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { j as t } from "./index.es161.js";
|
2
|
-
import './components/ui/
|
2
|
+
import './components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css';/* empty css */
|
3
3
|
const s = ({ children: o }) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
|
4
4
|
export {
|
5
5
|
s as ConsentModalFooter
|
package/dist/index.es220.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { j as t } from "./index.es161.js";
|
2
|
-
import './components/ui/
|
2
|
+
import './components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css';/* empty css */
|
3
3
|
const s = ({ children: o }) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
|
4
4
|
export {
|
5
5
|
s as DoctorModalFooter
|
package/dist/index.es227.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { j as t } from "./index.es161.js";
|
2
|
-
import './components/ui/
|
2
|
+
import './components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css';/* empty css */
|
3
3
|
const s = ({
|
4
4
|
children: o
|
5
5
|
}) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
|
package/dist/index.es235.js
CHANGED
@@ -1,32 +1,32 @@
|
|
1
|
-
import * as
|
2
|
-
import { composeEventHandlers as T } from "./index.
|
3
|
-
import { useComposedRefs as _ } from "./index.
|
4
|
-
import { createContextScope as H } from "./index.
|
5
|
-
import { useControllableState as I } from "./index.
|
6
|
-
import { usePrevious as M } from "./index.
|
7
|
-
import { useSize as N } from "./index.
|
8
|
-
import { Primitive as w } from "./index.
|
9
|
-
import { j as
|
10
|
-
var
|
11
|
-
(e,
|
1
|
+
import * as s from "react";
|
2
|
+
import { composeEventHandlers as T } from "./index.es287.js";
|
3
|
+
import { useComposedRefs as _ } from "./index.es288.js";
|
4
|
+
import { createContextScope as H } from "./index.es289.js";
|
5
|
+
import { useControllableState as I } from "./index.es290.js";
|
6
|
+
import { usePrevious as M } from "./index.es328.js";
|
7
|
+
import { useSize as N } from "./index.es312.js";
|
8
|
+
import { Primitive as w } from "./index.es291.js";
|
9
|
+
import { j as p } from "./index.es161.js";
|
10
|
+
var S = "Switch", [B, J] = H(S), [q, z] = B(S), C = s.forwardRef(
|
11
|
+
(e, n) => {
|
12
12
|
const {
|
13
13
|
__scopeSwitch: t,
|
14
14
|
name: o,
|
15
15
|
checked: r,
|
16
|
-
defaultChecked:
|
16
|
+
defaultChecked: u,
|
17
17
|
required: a,
|
18
18
|
disabled: c,
|
19
19
|
value: i = "on",
|
20
|
-
onCheckedChange:
|
20
|
+
onCheckedChange: f,
|
21
21
|
form: b,
|
22
22
|
...l
|
23
|
-
} = e, [d, R] =
|
23
|
+
} = e, [d, R] = s.useState(null), E = _(n, (m) => R(m)), v = s.useRef(!1), k = d ? b || !!d.closest("form") : !0, [h = !1, g] = I({
|
24
24
|
prop: r,
|
25
|
-
defaultProp:
|
26
|
-
onChange:
|
25
|
+
defaultProp: u,
|
26
|
+
onChange: f
|
27
27
|
});
|
28
|
-
return /* @__PURE__ */
|
29
|
-
/* @__PURE__ */
|
28
|
+
return /* @__PURE__ */ p.jsxs(q, { scope: t, checked: h, disabled: c, children: [
|
29
|
+
/* @__PURE__ */ p.jsx(
|
30
30
|
w.button,
|
31
31
|
{
|
32
32
|
type: "button",
|
@@ -39,16 +39,16 @@ var k = "Switch", [B, J] = H(k), [q, z] = B(k), C = n.forwardRef(
|
|
39
39
|
value: i,
|
40
40
|
...l,
|
41
41
|
ref: E,
|
42
|
-
onClick: T(e.onClick, (
|
43
|
-
g((j) => !j),
|
42
|
+
onClick: T(e.onClick, (m) => {
|
43
|
+
g((j) => !j), k && (v.current = m.isPropagationStopped(), v.current || m.stopPropagation());
|
44
44
|
})
|
45
45
|
}
|
46
46
|
),
|
47
|
-
|
47
|
+
k && /* @__PURE__ */ p.jsx(
|
48
48
|
A,
|
49
49
|
{
|
50
50
|
control: d,
|
51
|
-
bubbles: !
|
51
|
+
bubbles: !v.current,
|
52
52
|
name: o,
|
53
53
|
value: i,
|
54
54
|
checked: h,
|
@@ -61,31 +61,31 @@ var k = "Switch", [B, J] = H(k), [q, z] = B(k), C = n.forwardRef(
|
|
61
61
|
] });
|
62
62
|
}
|
63
63
|
);
|
64
|
-
C.displayName =
|
65
|
-
var x = "SwitchThumb", P =
|
66
|
-
(e,
|
64
|
+
C.displayName = S;
|
65
|
+
var x = "SwitchThumb", P = s.forwardRef(
|
66
|
+
(e, n) => {
|
67
67
|
const { __scopeSwitch: t, ...o } = e, r = z(x, t);
|
68
|
-
return /* @__PURE__ */
|
68
|
+
return /* @__PURE__ */ p.jsx(
|
69
69
|
w.span,
|
70
70
|
{
|
71
71
|
"data-state": y(r.checked),
|
72
72
|
"data-disabled": r.disabled ? "" : void 0,
|
73
73
|
...o,
|
74
|
-
ref:
|
74
|
+
ref: n
|
75
75
|
}
|
76
76
|
);
|
77
77
|
}
|
78
78
|
);
|
79
79
|
P.displayName = x;
|
80
80
|
var A = (e) => {
|
81
|
-
const { control:
|
82
|
-
return
|
83
|
-
const i =
|
81
|
+
const { control: n, checked: t, bubbles: o = !0, ...r } = e, u = s.useRef(null), a = M(t), c = N(n);
|
82
|
+
return s.useEffect(() => {
|
83
|
+
const i = u.current, f = window.HTMLInputElement.prototype, l = Object.getOwnPropertyDescriptor(f, "checked").set;
|
84
84
|
if (a !== t && l) {
|
85
85
|
const d = new Event("click", { bubbles: o });
|
86
86
|
l.call(i, t), i.dispatchEvent(d);
|
87
87
|
}
|
88
|
-
}, [a, t, o]), /* @__PURE__ */
|
88
|
+
}, [a, t, o]), /* @__PURE__ */ p.jsx(
|
89
89
|
"input",
|
90
90
|
{
|
91
91
|
type: "checkbox",
|
@@ -93,7 +93,7 @@ var A = (e) => {
|
|
93
93
|
defaultChecked: t,
|
94
94
|
...r,
|
95
95
|
tabIndex: -1,
|
96
|
-
ref:
|
96
|
+
ref: u,
|
97
97
|
style: {
|
98
98
|
...e.style,
|
99
99
|
...c,
|
package/dist/index.es237.js
CHANGED
@@ -1,54 +1,54 @@
|
|
1
1
|
import n from "react";
|
2
|
-
var
|
2
|
+
var b = typeof window > "u", y = b ? n.useEffect : n.useLayoutEffect, $ = 0, v = () => ++$, m = !1;
|
3
3
|
function x() {
|
4
|
-
let [t, s] = n.useState(
|
4
|
+
let [t, s] = n.useState(m ? v : void 0);
|
5
5
|
return y(() => {
|
6
|
-
t === void 0 && s(
|
6
|
+
t === void 0 && s(v()), m = !0;
|
7
7
|
}, []), t === void 0 ? t : `rwb-${t.toString(32)}`;
|
8
8
|
}
|
9
9
|
function E() {
|
10
10
|
return n.useMemo(() => "useId" in n ? n.useId : x, [])();
|
11
11
|
}
|
12
|
-
var p = "__wrap_b", f = "__wrap_n",
|
12
|
+
var p = "__wrap_b", f = "__wrap_n", _ = "__wrap_o", w = (t, s, e) => {
|
13
13
|
e = e || document.querySelector(`[data-br="${t}"]`);
|
14
14
|
let r = e == null ? void 0 : e.parentElement;
|
15
15
|
if (!r) return;
|
16
|
-
let l = (
|
16
|
+
let l = (d) => e.style.maxWidth = d + "px";
|
17
17
|
e.style.maxWidth = "";
|
18
|
-
let i = r.clientWidth,
|
18
|
+
let i = r.clientWidth, u = r.clientHeight, o = i / 2 - 0.25, a = i + 0.5, c;
|
19
19
|
if (i) {
|
20
|
-
for (l(
|
21
|
-
l(
|
20
|
+
for (l(o), o = Math.max(e.scrollWidth, o); o + 1 < a; ) c = Math.round((o + a) / 2), l(c), r.clientHeight === u ? a = c : o = c;
|
21
|
+
l(a * s + i * (1 - s));
|
22
22
|
}
|
23
23
|
e.__wrap_o || (typeof ResizeObserver < "u" ? (e.__wrap_o = new ResizeObserver(() => {
|
24
24
|
self.__wrap_b(0, +e.dataset.brr, e);
|
25
25
|
})).observe(r) : process.env.NODE_ENV === "development" && console.warn("The browser you are using does not support the ResizeObserver API. Please consider add polyfill for this API to avoid potential layout shifts or upgrade your browser. Read more: https://github.com/shuding/react-wrap-balancer#browser-support-information"));
|
26
|
-
}, S = w.toString(), N = '(self.CSS&&CSS.supports("text-wrap","balance")?1:2)', A = (t, s, e = "") => (e && (e = `self.${f}!=1&&${e}`), n.createElement("script", { suppressHydrationWarning: !0, dangerouslySetInnerHTML: { __html: (t ? "" : `self.${f}=self.${f}||${N};self.${p}=${S};`) + e }, nonce: s })), I = n.createContext({ preferNative: !0, hasProvider: !1 }), O = n.forwardRef(({ ratio: t = 1, preferNative: s, nonce: e, children: r, as: l, ...i },
|
27
|
-
let
|
28
|
-
return n.useImperativeHandle(
|
29
|
-
|
30
|
-
}, [r,
|
31
|
-
if (!(
|
32
|
-
if (!
|
33
|
-
let h =
|
34
|
-
h && (h.disconnect(), delete
|
26
|
+
}, S = w.toString(), N = '(self.CSS&&CSS.supports("text-wrap","balance")?1:2)', A = (t, s, e = "") => (e && (e = `self.${f}!=1&&${e}`), n.createElement("script", { suppressHydrationWarning: !0, dangerouslySetInnerHTML: { __html: (t ? "" : `self.${f}=self.${f}||${N};self.${p}=${S};`) + e }, nonce: s })), I = n.createContext({ preferNative: !0, hasProvider: !1 }), O = n.forwardRef(({ ratio: t = 1, preferNative: s, nonce: e, children: r, as: l, ...i }, u) => {
|
27
|
+
let o = E(), a = n.useRef(), c = n.useContext(I), d = s ?? c.preferNative, g = l || "span";
|
28
|
+
return n.useImperativeHandle(u, () => a.current, []), y(() => {
|
29
|
+
d && self[f] === 1 || a.current && (self[p] = w)(0, t, a.current);
|
30
|
+
}, [r, d, t]), y(() => {
|
31
|
+
if (!(d && self[f] === 1)) return () => {
|
32
|
+
if (!a.current) return;
|
33
|
+
let h = a.current[_];
|
34
|
+
h && (h.disconnect(), delete a.current[_]);
|
35
35
|
};
|
36
|
-
}, [
|
36
|
+
}, [d]), process.env.NODE_ENV === "development" && r && !Array.isArray(r) && typeof r == "object" && "type" in r && typeof r.type == "string" && r.type !== "span" && console.warn(`<Balancer> should not wrap <${r.type}> inside. Instead, it should directly wrap text or inline nodes.
|
37
37
|
|
38
38
|
Try changing this:
|
39
39
|
<Balancer><${r.type}>content</${r.type}></Balancer>
|
40
40
|
To:
|
41
|
-
<${r.type}><Balancer>content</Balancer></${r.type}>`), n.createElement(n.Fragment, null, n.createElement(g, { ...i, "data-br":
|
41
|
+
<${r.type}><Balancer>content</Balancer></${r.type}>`), n.createElement(n.Fragment, null, n.createElement(g, { ...i, "data-br": o, "data-brr": t, ref: a, style: { display: "inline-block", verticalAlign: "top", textDecoration: "inherit", textWrap: d ? "balance" : "initial" }, suppressHydrationWarning: !0 }, r), A(c.hasProvider, e, `self.${p}("${o}",${t})`));
|
42
42
|
});
|
43
|
-
if (!
|
43
|
+
if (!b && process.env.NODE_ENV !== "production") {
|
44
44
|
let t = document.querySelector("[data-next-hide-fouc]");
|
45
45
|
if (t) {
|
46
46
|
let s = (r) => {
|
47
47
|
for (let l of r) for (let i of Array.from(l.removedNodes)) {
|
48
48
|
if (i !== t) continue;
|
49
49
|
e.disconnect();
|
50
|
-
let
|
51
|
-
for (let
|
50
|
+
let u = document.querySelectorAll("[data-br]");
|
51
|
+
for (let o of Array.from(u)) self[p](0, +o.dataset.brr, o);
|
52
52
|
}
|
53
53
|
}, e = new MutationObserver(s);
|
54
54
|
e.observe(document.head, { childList: !0 });
|
package/dist/index.es237.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es237.js","sources":["../node_modules/react-wrap-balancer/dist/index.mjs"],"sourcesContent":["\"use client\"\nimport a from\"react\";import p from\"react\";var E=typeof window==\"undefined\",m=E?p.useEffect:p.useLayoutEffect,B=0,_=()=>++B,v=!1;function O(){let[n,r]=p.useState(v?_:void 0);return m(()=>{n===void 0&&r(_()),v=!0},[]),n===void 0?n:`rwb-${n.toString(32)}`}function R(){return p.useMemo(()=>\"useId\"in p?p.useId:O,[])()}var y=\"__wrap_b\",f=\"__wrap_n\",S=\"__wrap_o\",T=(n,r,e)=>{e=e||document.querySelector(`[data-br=\"${n}\"]`);let t=e==null?void 0:e.parentElement;if(!t)return;let l=u=>e.style.maxWidth=u+\"px\";e.style.maxWidth=\"\";let i=t.clientWidth,d=t.clientHeight,o=i/2-.25,s=i+.5,c;if(i){for(l(o),o=Math.max(e.scrollWidth,o);o+1<s;)c=Math.round((o+s)/2),l(c),t.clientHeight===d?s=c:o=c;l(s*r+i*(1-r))}e.__wrap_o||(typeof ResizeObserver!=\"undefined\"?(e.__wrap_o=new ResizeObserver(()=>{self.__wrap_b(0,+e.dataset.brr,e)})).observe(t):process.env.NODE_ENV===\"development\"&&console.warn(\"The browser you are using does not support the ResizeObserver API. Please consider add polyfill for this API to avoid potential layout shifts or upgrade your browser. Read more: https://github.com/shuding/react-wrap-balancer#browser-support-information\"))},I=T.toString(),w='(self.CSS&&CSS.supports(\"text-wrap\",\"balance\")?1:2)',g=(n,r,e=\"\")=>(e&&(e=`self.${f}!=1&&${e}`),a.createElement(\"script\",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(n?\"\":`self.${f}=self.${f}||${w};self.${y}=${I};`)+e},nonce:r})),h=a.createContext({preferNative:!0,hasProvider:!1}),Y=({preferNative:n=!0,nonce:r,children:e})=>{let t=a.useMemo(()=>({preferNative:n,hasProvider:!0}),[n]);return a.createElement(h.Provider,{value:t},g(!1,r),e)},P=a.forwardRef(({ratio:n=1,preferNative:r,nonce:e,children:t,as:l,...i},d)=>{let o=R(),s=a.useRef(),c=a.useContext(h),u=r!=null?r:c.preferNative,x=l||\"span\";return a.useImperativeHandle(d,()=>s.current,[]),m(()=>{u&&self[f]===1||s.current&&(self[y]=T)(0,n,s.current)},[t,u,n]),m(()=>{if(!(u&&self[f]===1))return()=>{if(!s.current)return;let b=s.current[S];b&&(b.disconnect(),delete s.current[S])}},[u]),process.env.NODE_ENV===\"development\"&&t&&!Array.isArray(t)&&typeof t==\"object\"&&\"type\"in t&&typeof t.type==\"string\"&&t.type!==\"span\"&&console.warn(`<Balancer> should not wrap <${t.type}> inside. Instead, it should directly wrap text or inline nodes.\n\nTry changing this:\n <Balancer><${t.type}>content</${t.type}></Balancer>\nTo:\n <${t.type}><Balancer>content</Balancer></${t.type}>`),a.createElement(a.Fragment,null,a.createElement(x,{...i,\"data-br\":o,\"data-brr\":n,ref:s,style:{display:\"inline-block\",verticalAlign:\"top\",textDecoration:\"inherit\",textWrap:u?\"balance\":\"initial\"},suppressHydrationWarning:!0},t),g(c.hasProvider,e,`self.${y}(\"${o}\",${n})`))});if(!E&&process.env.NODE_ENV!==\"production\"){let n=document.querySelector(\"[data-next-hide-fouc]\");if(n){let r=t=>{for(let l of t)for(let i of Array.from(l.removedNodes)){if(i!==n)continue;e.disconnect();let d=document.querySelectorAll(\"[data-br]\");for(let o of Array.from(d))self[y](0,+o.dataset.brr,o)}},e=new MutationObserver(r);e.observe(document.head,{childList:!0})}}var A=P;export{P as Balancer,Y as Provider,A as default};\n//# sourceMappingURL=index.mjs.map"],"names":["E","m","p","B","_","v","O","n","r","R","y","S","T","t","
|
1
|
+
{"version":3,"file":"index.es237.js","sources":["../node_modules/react-wrap-balancer/dist/index.mjs"],"sourcesContent":["\"use client\"\nimport a from\"react\";import p from\"react\";var E=typeof window==\"undefined\",m=E?p.useEffect:p.useLayoutEffect,B=0,_=()=>++B,v=!1;function O(){let[n,r]=p.useState(v?_:void 0);return m(()=>{n===void 0&&r(_()),v=!0},[]),n===void 0?n:`rwb-${n.toString(32)}`}function R(){return p.useMemo(()=>\"useId\"in p?p.useId:O,[])()}var y=\"__wrap_b\",f=\"__wrap_n\",S=\"__wrap_o\",T=(n,r,e)=>{e=e||document.querySelector(`[data-br=\"${n}\"]`);let t=e==null?void 0:e.parentElement;if(!t)return;let l=u=>e.style.maxWidth=u+\"px\";e.style.maxWidth=\"\";let i=t.clientWidth,d=t.clientHeight,o=i/2-.25,s=i+.5,c;if(i){for(l(o),o=Math.max(e.scrollWidth,o);o+1<s;)c=Math.round((o+s)/2),l(c),t.clientHeight===d?s=c:o=c;l(s*r+i*(1-r))}e.__wrap_o||(typeof ResizeObserver!=\"undefined\"?(e.__wrap_o=new ResizeObserver(()=>{self.__wrap_b(0,+e.dataset.brr,e)})).observe(t):process.env.NODE_ENV===\"development\"&&console.warn(\"The browser you are using does not support the ResizeObserver API. Please consider add polyfill for this API to avoid potential layout shifts or upgrade your browser. Read more: https://github.com/shuding/react-wrap-balancer#browser-support-information\"))},I=T.toString(),w='(self.CSS&&CSS.supports(\"text-wrap\",\"balance\")?1:2)',g=(n,r,e=\"\")=>(e&&(e=`self.${f}!=1&&${e}`),a.createElement(\"script\",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(n?\"\":`self.${f}=self.${f}||${w};self.${y}=${I};`)+e},nonce:r})),h=a.createContext({preferNative:!0,hasProvider:!1}),Y=({preferNative:n=!0,nonce:r,children:e})=>{let t=a.useMemo(()=>({preferNative:n,hasProvider:!0}),[n]);return a.createElement(h.Provider,{value:t},g(!1,r),e)},P=a.forwardRef(({ratio:n=1,preferNative:r,nonce:e,children:t,as:l,...i},d)=>{let o=R(),s=a.useRef(),c=a.useContext(h),u=r!=null?r:c.preferNative,x=l||\"span\";return a.useImperativeHandle(d,()=>s.current,[]),m(()=>{u&&self[f]===1||s.current&&(self[y]=T)(0,n,s.current)},[t,u,n]),m(()=>{if(!(u&&self[f]===1))return()=>{if(!s.current)return;let b=s.current[S];b&&(b.disconnect(),delete s.current[S])}},[u]),process.env.NODE_ENV===\"development\"&&t&&!Array.isArray(t)&&typeof t==\"object\"&&\"type\"in t&&typeof t.type==\"string\"&&t.type!==\"span\"&&console.warn(`<Balancer> should not wrap <${t.type}> inside. Instead, it should directly wrap text or inline nodes.\n\nTry changing this:\n <Balancer><${t.type}>content</${t.type}></Balancer>\nTo:\n <${t.type}><Balancer>content</Balancer></${t.type}>`),a.createElement(a.Fragment,null,a.createElement(x,{...i,\"data-br\":o,\"data-brr\":n,ref:s,style:{display:\"inline-block\",verticalAlign:\"top\",textDecoration:\"inherit\",textWrap:u?\"balance\":\"initial\"},suppressHydrationWarning:!0},t),g(c.hasProvider,e,`self.${y}(\"${o}\",${n})`))});if(!E&&process.env.NODE_ENV!==\"production\"){let n=document.querySelector(\"[data-next-hide-fouc]\");if(n){let r=t=>{for(let l of t)for(let i of Array.from(l.removedNodes)){if(i!==n)continue;e.disconnect();let d=document.querySelectorAll(\"[data-br]\");for(let o of Array.from(d))self[y](0,+o.dataset.brr,o)}},e=new MutationObserver(r);e.observe(document.head,{childList:!0})}}var A=P;export{P as Balancer,Y as Provider,A as default};\n//# sourceMappingURL=index.mjs.map"],"names":["E","m","p","B","_","v","O","n","r","R","y","S","T","t","u","d","s","I","w","g","a","h","P","x","b","A"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index.es24.js
CHANGED
@@ -2,13 +2,13 @@ import { j as r } from "./index.es161.js";
|
|
2
2
|
import { HeaderMobile as p } from "./index.es190.js";
|
3
3
|
import { HeaderDesktop as f } from "./index.es191.js";
|
4
4
|
import './components/navigations/Header/Header.css';/* empty css */
|
5
|
-
import {
|
5
|
+
import { Lazio as l } from "./index.es110.js";
|
6
6
|
import { Marche as H } from "./index.es111.js";
|
7
|
-
import {
|
7
|
+
import { Fse as h } from "./index.es107.js";
|
8
8
|
const v = {
|
9
|
-
nazionale:
|
9
|
+
nazionale: h,
|
10
10
|
marche: H,
|
11
|
-
lazio:
|
11
|
+
lazio: l
|
12
12
|
}, D = ({
|
13
13
|
title: t,
|
14
14
|
region: o,
|