@anoki/fse-ui 1.0.648 → 1.0.649
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/AuthorWithImage/AuthorWithImage.css +1 -1
- package/dist/index.cjs215.js +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs270.js +1 -1
- package/dist/index.cjs309.js +1 -1
- package/dist/index.cjs337.js +1 -1
- package/dist/index.cjs338.js +1 -1
- package/dist/index.cjs345.js +1 -1
- package/dist/index.cjs352.js +1 -1
- package/dist/index.cjs357.js +1 -1
- package/dist/index.cjs358.js +1 -1
- package/dist/index.cjs359.js +2 -0
- package/dist/index.cjs359.js.map +1 -0
- package/dist/index.cjs360.js +1 -1
- package/dist/index.cjs360.js.map +1 -1
- package/dist/index.cjs361.js +1 -1
- package/dist/index.cjs361.js.map +1 -1
- package/dist/index.cjs362.js +1 -1
- package/dist/index.cjs362.js.map +1 -1
- package/dist/index.cjs363.js +1 -1
- package/dist/index.cjs363.js.map +1 -1
- package/dist/index.cjs364.js +1 -1
- package/dist/index.cjs364.js.map +1 -1
- package/dist/index.cjs365.js +1 -1
- package/dist/index.cjs365.js.map +1 -1
- package/dist/index.cjs367.js +1 -1
- package/dist/index.cjs367.js.map +1 -1
- package/dist/index.cjs370.js +1 -1
- package/dist/index.cjs370.js.map +1 -1
- package/dist/index.cjs371.js +1 -1
- package/dist/index.cjs371.js.map +1 -1
- package/dist/index.cjs372.js +2 -0
- package/dist/index.cjs372.js.map +1 -0
- package/dist/index.cjs373.js +2 -0
- package/dist/index.cjs373.js.map +1 -0
- package/dist/index.cjs374.js +2 -0
- package/dist/index.cjs374.js.map +1 -0
- package/dist/index.cjs375.js +2 -0
- package/dist/index.cjs375.js.map +1 -0
- package/dist/index.cjs376.js +2 -0
- package/dist/index.cjs376.js.map +1 -0
- package/dist/index.cjs377.js +1 -1
- package/dist/index.cjs377.js.map +1 -1
- package/dist/index.cjs378.js +1 -1
- package/dist/index.cjs378.js.map +1 -1
- package/dist/index.cjs379.js +1 -1
- package/dist/index.cjs379.js.map +1 -1
- package/dist/index.cjs380.js +1 -1
- package/dist/index.cjs380.js.map +1 -1
- package/dist/index.cjs398.js +1 -1
- package/dist/index.cjs401.js +1 -27
- package/dist/index.cjs401.js.map +1 -1
- package/dist/index.cjs402.js +1 -1
- package/dist/index.cjs403.js +1 -1
- package/dist/index.cjs403.js.map +1 -1
- package/dist/index.cjs404.js +2 -1
- package/dist/index.cjs404.js.map +1 -1
- package/dist/index.cjs405.js +27 -2
- package/dist/index.cjs405.js.map +1 -1
- package/dist/index.cjs406.js +1 -1
- package/dist/index.cjs407.js +1 -1
- package/dist/index.cjs409.js +1 -1
- package/dist/index.cjs411.js +1 -1
- package/dist/index.cjs412.js +1 -1
- package/dist/index.cjs416.js +1 -1
- package/dist/index.cjs416.js.map +1 -1
- package/dist/index.cjs417.js +1 -1
- package/dist/index.cjs418.js +1 -1
- package/dist/index.cjs418.js.map +1 -1
- package/dist/index.cjs419.js +1 -1
- package/dist/index.cjs419.js.map +1 -1
- package/dist/index.cjs421.js +1 -1
- package/dist/index.cjs423.js +1 -1
- package/dist/index.cjs427.js +1 -1
- package/dist/index.cjs434.js +1 -1
- package/dist/index.es215.js +7 -7
- package/dist/index.es219.js +1 -1
- package/dist/index.es226.js +8 -8
- package/dist/index.es236.js +1 -1
- package/dist/index.es243.js +14 -14
- package/dist/index.es270.js +7 -7
- package/dist/index.es309.js +4 -4
- package/dist/index.es337.js +1 -1
- package/dist/index.es338.js +2 -2
- package/dist/index.es345.js +1 -1
- package/dist/index.es352.js +2 -2
- package/dist/index.es357.js +1 -1
- package/dist/index.es358.js +1 -1
- package/dist/index.es359.js +10 -0
- package/dist/index.es359.js.map +1 -0
- package/dist/index.es360.js +25 -5
- package/dist/index.es360.js.map +1 -1
- package/dist/index.es361.js +64 -23
- package/dist/index.es361.js.map +1 -1
- package/dist/index.es362.js +27 -65
- package/dist/index.es362.js.map +1 -1
- package/dist/index.es363.js +32 -29
- package/dist/index.es363.js.map +1 -1
- package/dist/index.es364.js +620 -31
- package/dist/index.es364.js.map +1 -1
- package/dist/index.es365.js +10 -621
- package/dist/index.es365.js.map +1 -1
- package/dist/index.es367.js +15 -15
- package/dist/index.es367.js.map +1 -1
- package/dist/index.es370.js +5 -68
- package/dist/index.es370.js.map +1 -1
- package/dist/index.es371.js +25 -15
- package/dist/index.es371.js.map +1 -1
- package/dist/index.es372.js +72 -0
- package/dist/index.es372.js.map +1 -0
- package/dist/index.es373.js +18 -0
- package/dist/index.es373.js.map +1 -0
- package/dist/index.es374.js +128 -0
- package/dist/index.es374.js.map +1 -0
- package/dist/index.es375.js +138 -0
- package/dist/index.es375.js.map +1 -0
- package/dist/index.es376.js +17 -0
- package/dist/index.es376.js.map +1 -0
- package/dist/index.es377.js +12 -122
- package/dist/index.es377.js.map +1 -1
- package/dist/index.es378.js +8 -134
- package/dist/index.es378.js.map +1 -1
- package/dist/index.es379.js +50 -14
- package/dist/index.es379.js.map +1 -1
- package/dist/index.es380.js +51 -13
- package/dist/index.es380.js.map +1 -1
- package/dist/index.es398.js +1 -1
- package/dist/index.es401.js +2 -3675
- package/dist/index.es401.js.map +1 -1
- package/dist/index.es402.js +2 -6
- package/dist/index.es402.js.map +1 -1
- package/dist/index.es403.js +6 -2
- package/dist/index.es403.js.map +1 -1
- package/dist/index.es404.js +520 -5
- package/dist/index.es404.js.map +1 -1
- package/dist/index.es405.js +3653 -499
- package/dist/index.es405.js.map +1 -1
- package/dist/index.es406.js +6 -2
- package/dist/index.es406.js.map +1 -1
- package/dist/index.es407.js +2 -2
- package/dist/index.es409.js +3 -3
- package/dist/index.es411.js +4 -4
- package/dist/index.es412.js +6 -6
- package/dist/index.es416.js +131 -8
- package/dist/index.es416.js.map +1 -1
- package/dist/index.es417.js +1 -1
- package/dist/index.es418.js +9 -3
- package/dist/index.es418.js.map +1 -1
- package/dist/index.es419.js +2 -131
- package/dist/index.es419.js.map +1 -1
- package/dist/index.es421.js +1 -1
- package/dist/index.es423.js +1 -1
- package/dist/index.es427.js +1 -1
- package/dist/index.es434.js +5 -5
- package/package.json +1 -1
- package/dist/index.cjs366.js +0 -2
- package/dist/index.cjs366.js.map +0 -1
- package/dist/index.cjs368.js +0 -2
- package/dist/index.cjs368.js.map +0 -1
- package/dist/index.cjs369.js +0 -2
- package/dist/index.cjs369.js.map +0 -1
- package/dist/index.cjs381.js +0 -2
- package/dist/index.cjs381.js.map +0 -1
- package/dist/index.cjs382.js +0 -2
- package/dist/index.cjs382.js.map +0 -1
- package/dist/index.cjs383.js +0 -2
- package/dist/index.cjs383.js.map +0 -1
- package/dist/index.es366.js +0 -14
- package/dist/index.es366.js.map +0 -1
- package/dist/index.es368.js +0 -9
- package/dist/index.es368.js.map +0 -1
- package/dist/index.es369.js +0 -28
- package/dist/index.es369.js.map +0 -1
- package/dist/index.es381.js +0 -12
- package/dist/index.es381.js.map +0 -1
- package/dist/index.es382.js +0 -53
- package/dist/index.es382.js.map +0 -1
- package/dist/index.es383.js +0 -56
- package/dist/index.es383.js.map +0 -1
package/dist/index.es406.js
CHANGED
@@ -1,5 +1,9 @@
|
|
1
|
-
var
|
1
|
+
var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
2
|
+
function l(e) {
|
3
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
4
|
+
}
|
2
5
|
export {
|
3
|
-
|
6
|
+
o as commonjsGlobal,
|
7
|
+
l as getDefaultExportFromCjs
|
4
8
|
};
|
5
9
|
//# sourceMappingURL=index.es406.js.map
|
package/dist/index.es406.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es406.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.es406.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/index.es407.js
CHANGED
package/dist/index.es409.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import r from "react";
|
2
|
-
import { createContextScope as y } from "./index.
|
3
|
-
import { useComposedRefs as S } from "./index.
|
4
|
-
import { createSlot as M } from "./index.
|
2
|
+
import { createContextScope as y } from "./index.es361.js";
|
3
|
+
import { useComposedRefs as S } from "./index.es360.js";
|
4
|
+
import { createSlot as M } from "./index.es380.js";
|
5
5
|
import { j as d } from "./index.es197.js";
|
6
6
|
function D(s) {
|
7
7
|
const m = s + "CollectionProvider", [A, E] = y(m), [N, f] = A(
|
package/dist/index.es411.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import * as s from "react";
|
2
2
|
import { useFloating as xe, offset as Pe, shift as ye, flip as Ae, size as ve, arrow as Ce, hide as be, limitShift as Se } from "./index.es420.js";
|
3
3
|
import { Root as Oe } from "./index.es421.js";
|
4
|
-
import { useComposedRefs as T } from "./index.
|
5
|
-
import { createContextScope as Re } from "./index.
|
6
|
-
import { Primitive as z } from "./index.
|
4
|
+
import { useComposedRefs as T } from "./index.es360.js";
|
5
|
+
import { createContextScope as Re } from "./index.es361.js";
|
6
|
+
import { Primitive as z } from "./index.es363.js";
|
7
7
|
import { useCallbackRef as Ee } from "./index.es408.js";
|
8
8
|
import { useLayoutEffect as B } from "./index.es413.js";
|
9
|
-
import { useSize as Ne } from "./index.
|
9
|
+
import { useSize as Ne } from "./index.es371.js";
|
10
10
|
import { j as f } from "./index.es197.js";
|
11
11
|
import { autoUpdate as _e } from "./index.es422.js";
|
12
12
|
var N = "Popper", [L, Ue] = Re(N), [$e, Z] = L(N), U = (e) => {
|
package/dist/index.es412.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import * as s from "react";
|
2
|
-
import { composeEventHandlers as p } from "./index.
|
2
|
+
import { composeEventHandlers as p } from "./index.es359.js";
|
3
3
|
import { createCollection as H } from "./index.es409.js";
|
4
|
-
import { useComposedRefs as V } from "./index.
|
5
|
-
import { createContextScope as z } from "./index.
|
6
|
-
import { useId as q } from "./index.
|
7
|
-
import { Primitive as P } from "./index.
|
4
|
+
import { useComposedRefs as V } from "./index.es360.js";
|
5
|
+
import { createContextScope as z } from "./index.es361.js";
|
6
|
+
import { useId as q } from "./index.es365.js";
|
7
|
+
import { Primitive as P } from "./index.es363.js";
|
8
8
|
import { useCallbackRef as J } from "./index.es408.js";
|
9
|
-
import { useControllableState as Q } from "./index.
|
9
|
+
import { useControllableState as Q } from "./index.es362.js";
|
10
10
|
import { useDirection as W } from "./index.es410.js";
|
11
11
|
import { j as d } from "./index.es197.js";
|
12
12
|
var _ = "rovingFocusGroup.onEntryFocus", X = { bubbles: !1, cancelable: !0 }, b = "RovingFocusGroup", [h, G, Z] = H(b), [$, Fe] = z(
|
package/dist/index.es416.js
CHANGED
@@ -1,13 +1,136 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
function r(e) {
|
2
|
+
return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
|
3
|
+
}
|
4
|
+
function o(e, n) {
|
5
|
+
e === void 0 && (e = {}), n === void 0 && (n = {});
|
6
|
+
const u = ["__proto__", "constructor", "prototype"];
|
7
|
+
Object.keys(n).filter((t) => u.indexOf(t) < 0).forEach((t) => {
|
8
|
+
typeof e[t] > "u" ? e[t] = n[t] : r(n[t]) && r(e[t]) && Object.keys(n[t]).length > 0 && o(e[t], n[t]);
|
9
|
+
});
|
10
|
+
}
|
11
|
+
const i = {
|
12
|
+
body: {},
|
13
|
+
addEventListener() {
|
14
|
+
},
|
15
|
+
removeEventListener() {
|
16
|
+
},
|
17
|
+
activeElement: {
|
18
|
+
blur() {
|
19
|
+
},
|
20
|
+
nodeName: ""
|
21
|
+
},
|
22
|
+
querySelector() {
|
23
|
+
return null;
|
24
|
+
},
|
25
|
+
querySelectorAll() {
|
26
|
+
return [];
|
27
|
+
},
|
28
|
+
getElementById() {
|
29
|
+
return null;
|
30
|
+
},
|
31
|
+
createEvent() {
|
32
|
+
return {
|
33
|
+
initEvent() {
|
34
|
+
}
|
35
|
+
};
|
36
|
+
},
|
37
|
+
createElement() {
|
38
|
+
return {
|
39
|
+
children: [],
|
40
|
+
childNodes: [],
|
41
|
+
style: {},
|
42
|
+
setAttribute() {
|
43
|
+
},
|
44
|
+
getElementsByTagName() {
|
45
|
+
return [];
|
46
|
+
}
|
47
|
+
};
|
48
|
+
},
|
49
|
+
createElementNS() {
|
50
|
+
return {};
|
51
|
+
},
|
52
|
+
importNode() {
|
53
|
+
return null;
|
54
|
+
},
|
55
|
+
location: {
|
56
|
+
hash: "",
|
57
|
+
host: "",
|
58
|
+
hostname: "",
|
59
|
+
href: "",
|
60
|
+
origin: "",
|
61
|
+
pathname: "",
|
62
|
+
protocol: "",
|
63
|
+
search: ""
|
64
|
+
}
|
65
|
+
};
|
66
|
+
function s() {
|
67
|
+
const e = typeof document < "u" ? document : {};
|
68
|
+
return o(e, i), e;
|
69
|
+
}
|
70
|
+
const c = {
|
71
|
+
document: i,
|
72
|
+
navigator: {
|
73
|
+
userAgent: ""
|
74
|
+
},
|
75
|
+
location: {
|
76
|
+
hash: "",
|
77
|
+
host: "",
|
78
|
+
hostname: "",
|
79
|
+
href: "",
|
80
|
+
origin: "",
|
81
|
+
pathname: "",
|
82
|
+
protocol: "",
|
83
|
+
search: ""
|
84
|
+
},
|
85
|
+
history: {
|
86
|
+
replaceState() {
|
87
|
+
},
|
88
|
+
pushState() {
|
89
|
+
},
|
90
|
+
go() {
|
91
|
+
},
|
92
|
+
back() {
|
7
93
|
}
|
8
|
-
}
|
94
|
+
},
|
95
|
+
CustomEvent: function() {
|
96
|
+
return this;
|
97
|
+
},
|
98
|
+
addEventListener() {
|
99
|
+
},
|
100
|
+
removeEventListener() {
|
101
|
+
},
|
102
|
+
getComputedStyle() {
|
103
|
+
return {
|
104
|
+
getPropertyValue() {
|
105
|
+
return "";
|
106
|
+
}
|
107
|
+
};
|
108
|
+
},
|
109
|
+
Image() {
|
110
|
+
},
|
111
|
+
Date() {
|
112
|
+
},
|
113
|
+
screen: {},
|
114
|
+
setTimeout() {
|
115
|
+
},
|
116
|
+
clearTimeout() {
|
117
|
+
},
|
118
|
+
matchMedia() {
|
119
|
+
return {};
|
120
|
+
},
|
121
|
+
requestAnimationFrame(e) {
|
122
|
+
return typeof setTimeout > "u" ? (e(), null) : setTimeout(e, 0);
|
123
|
+
},
|
124
|
+
cancelAnimationFrame(e) {
|
125
|
+
typeof setTimeout > "u" || clearTimeout(e);
|
126
|
+
}
|
127
|
+
};
|
128
|
+
function a() {
|
129
|
+
const e = typeof window < "u" ? window : {};
|
130
|
+
return o(e, c), e;
|
9
131
|
}
|
10
132
|
export {
|
11
|
-
|
133
|
+
a,
|
134
|
+
s as g
|
12
135
|
};
|
13
136
|
//# sourceMappingURL=index.es416.js.map
|
package/dist/index.es416.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es416.js","sources":["../node_modules/swiper/shared/
|
1
|
+
{"version":3,"file":"index.es416.js","sources":["../node_modules/swiper/shared/ssr-window.esm.mjs"],"sourcesContent":["/**\n * SSR Window 5.0.0\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2025, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: February 12, 2025\n */\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object' && 'constructor' in obj && obj.constructor === Object;\n}\nfunction extend(target, src) {\n if (target === void 0) {\n target = {};\n }\n if (src === void 0) {\n src = {};\n }\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n Object.keys(src).filter(key => noExtend.indexOf(key) < 0).forEach(key => {\n if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\nconst ssrDocument = {\n body: {},\n addEventListener() {},\n removeEventListener() {},\n activeElement: {\n blur() {},\n nodeName: ''\n },\n querySelector() {\n return null;\n },\n querySelectorAll() {\n return [];\n },\n getElementById() {\n return null;\n },\n createEvent() {\n return {\n initEvent() {}\n };\n },\n createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute() {},\n getElementsByTagName() {\n return [];\n }\n };\n },\n createElementNS() {\n return {};\n },\n importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n }\n};\nfunction getDocument() {\n const doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\nconst ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: ''\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n },\n history: {\n replaceState() {},\n pushState() {},\n go() {},\n back() {}\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener() {},\n removeEventListener() {},\n getComputedStyle() {\n return {\n getPropertyValue() {\n return '';\n }\n };\n },\n Image() {},\n Date() {},\n screen: {},\n setTimeout() {},\n clearTimeout() {},\n matchMedia() {\n return {};\n },\n requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n clearTimeout(id);\n }\n};\nfunction getWindow() {\n const win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { getWindow as a, getDocument as g };\n"],"names":["isObject","obj","extend","target","src","noExtend","key","ssrDocument","getDocument","doc","ssrWindow","callback","id","getWindow","win"],"mappings":"AAYA,SAASA,EAASC,GAAK;AACrB,SAAOA,MAAQ,QAAQ,OAAOA,KAAQ,YAAY,iBAAiBA,KAAOA,EAAI,gBAAgB;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EACnB;AACA;AACA,SAASC,IAAY;AACnB,QAAMC,IAAM,OAAO,SAAW,MAAc,SAAS,CAAE;AACvD,SAAAZ,EAAOY,GAAKJ,CAAS,GACdI;AACT;","x_google_ignoreList":[0]}
|
package/dist/index.es417.js
CHANGED
package/dist/index.es418.js
CHANGED
@@ -1,7 +1,13 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { e as i, c as m } from "./index.es417.js";
|
2
|
+
function o(f, a, n, l) {
|
3
|
+
return f.params.createElements && Object.keys(l).forEach((e) => {
|
4
|
+
if (!n[e] && n.auto === !0) {
|
5
|
+
let t = i(f.el, `.${l[e]}`)[0];
|
6
|
+
t || (t = m("div", l[e]), t.className = l[e], f.el.append(t)), n[e] = t, a[e] = t;
|
7
|
+
}
|
8
|
+
}), n;
|
3
9
|
}
|
4
10
|
export {
|
5
|
-
|
11
|
+
o as c
|
6
12
|
};
|
7
13
|
//# sourceMappingURL=index.es418.js.map
|
package/dist/index.es418.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es418.js","sources":["../node_modules/swiper/shared/
|
1
|
+
{"version":3,"file":"index.es418.js","sources":["../node_modules/swiper/shared/create-element-if-not-defined.mjs"],"sourcesContent":["import { e as elementChildren, c as createElement } from './utils.mjs';\n\nfunction createElementIfNotDefined(swiper, originalParams, params, checkProps) {\n if (swiper.params.createElements) {\n Object.keys(checkProps).forEach(key => {\n if (!params[key] && params.auto === true) {\n let element = elementChildren(swiper.el, `.${checkProps[key]}`)[0];\n if (!element) {\n element = createElement('div', checkProps[key]);\n element.className = checkProps[key];\n swiper.el.append(element);\n }\n params[key] = element;\n originalParams[key] = element;\n }\n });\n }\n return params;\n}\n\nexport { createElementIfNotDefined as c };\n"],"names":["createElementIfNotDefined","swiper","originalParams","params","checkProps","key","element","elementChildren","createElement"],"mappings":";AAEA,SAASA,EAA0BC,GAAQC,GAAgBC,GAAQC,GAAY;AAC7E,SAAIH,EAAO,OAAO,kBAChB,OAAO,KAAKG,CAAU,EAAE,QAAQ,CAAAC,MAAO;AACrC,QAAI,CAACF,EAAOE,CAAG,KAAKF,EAAO,SAAS,IAAM;AACxC,UAAIG,IAAUC,EAAgBN,EAAO,IAAI,IAAIG,EAAWC,CAAG,CAAC,EAAE,EAAE,CAAC;AACjE,MAAKC,MACHA,IAAUE,EAAc,OAAOJ,EAAWC,CAAG,CAAC,GAC9CC,EAAQ,YAAYF,EAAWC,CAAG,GAClCJ,EAAO,GAAG,OAAOK,CAAO,IAE1BH,EAAOE,CAAG,IAAIC,GACdJ,EAAeG,CAAG,IAAIC;AAAA,IAC9B;AAAA,EACA,CAAK,GAEIH;AACT;","x_google_ignoreList":[0]}
|
package/dist/index.es419.js
CHANGED
@@ -1,136 +1,7 @@
|
|
1
1
|
function r(e) {
|
2
|
-
return e
|
3
|
-
}
|
4
|
-
function o(e, n) {
|
5
|
-
e === void 0 && (e = {}), n === void 0 && (n = {});
|
6
|
-
const u = ["__proto__", "constructor", "prototype"];
|
7
|
-
Object.keys(n).filter((t) => u.indexOf(t) < 0).forEach((t) => {
|
8
|
-
typeof e[t] > "u" ? e[t] = n[t] : r(n[t]) && r(e[t]) && Object.keys(n[t]).length > 0 && o(e[t], n[t]);
|
9
|
-
});
|
10
|
-
}
|
11
|
-
const i = {
|
12
|
-
body: {},
|
13
|
-
addEventListener() {
|
14
|
-
},
|
15
|
-
removeEventListener() {
|
16
|
-
},
|
17
|
-
activeElement: {
|
18
|
-
blur() {
|
19
|
-
},
|
20
|
-
nodeName: ""
|
21
|
-
},
|
22
|
-
querySelector() {
|
23
|
-
return null;
|
24
|
-
},
|
25
|
-
querySelectorAll() {
|
26
|
-
return [];
|
27
|
-
},
|
28
|
-
getElementById() {
|
29
|
-
return null;
|
30
|
-
},
|
31
|
-
createEvent() {
|
32
|
-
return {
|
33
|
-
initEvent() {
|
34
|
-
}
|
35
|
-
};
|
36
|
-
},
|
37
|
-
createElement() {
|
38
|
-
return {
|
39
|
-
children: [],
|
40
|
-
childNodes: [],
|
41
|
-
style: {},
|
42
|
-
setAttribute() {
|
43
|
-
},
|
44
|
-
getElementsByTagName() {
|
45
|
-
return [];
|
46
|
-
}
|
47
|
-
};
|
48
|
-
},
|
49
|
-
createElementNS() {
|
50
|
-
return {};
|
51
|
-
},
|
52
|
-
importNode() {
|
53
|
-
return null;
|
54
|
-
},
|
55
|
-
location: {
|
56
|
-
hash: "",
|
57
|
-
host: "",
|
58
|
-
hostname: "",
|
59
|
-
href: "",
|
60
|
-
origin: "",
|
61
|
-
pathname: "",
|
62
|
-
protocol: "",
|
63
|
-
search: ""
|
64
|
-
}
|
65
|
-
};
|
66
|
-
function s() {
|
67
|
-
const e = typeof document < "u" ? document : {};
|
68
|
-
return o(e, i), e;
|
69
|
-
}
|
70
|
-
const c = {
|
71
|
-
document: i,
|
72
|
-
navigator: {
|
73
|
-
userAgent: ""
|
74
|
-
},
|
75
|
-
location: {
|
76
|
-
hash: "",
|
77
|
-
host: "",
|
78
|
-
hostname: "",
|
79
|
-
href: "",
|
80
|
-
origin: "",
|
81
|
-
pathname: "",
|
82
|
-
protocol: "",
|
83
|
-
search: ""
|
84
|
-
},
|
85
|
-
history: {
|
86
|
-
replaceState() {
|
87
|
-
},
|
88
|
-
pushState() {
|
89
|
-
},
|
90
|
-
go() {
|
91
|
-
},
|
92
|
-
back() {
|
93
|
-
}
|
94
|
-
},
|
95
|
-
CustomEvent: function() {
|
96
|
-
return this;
|
97
|
-
},
|
98
|
-
addEventListener() {
|
99
|
-
},
|
100
|
-
removeEventListener() {
|
101
|
-
},
|
102
|
-
getComputedStyle() {
|
103
|
-
return {
|
104
|
-
getPropertyValue() {
|
105
|
-
return "";
|
106
|
-
}
|
107
|
-
};
|
108
|
-
},
|
109
|
-
Image() {
|
110
|
-
},
|
111
|
-
Date() {
|
112
|
-
},
|
113
|
-
screen: {},
|
114
|
-
setTimeout() {
|
115
|
-
},
|
116
|
-
clearTimeout() {
|
117
|
-
},
|
118
|
-
matchMedia() {
|
119
|
-
return {};
|
120
|
-
},
|
121
|
-
requestAnimationFrame(e) {
|
122
|
-
return typeof setTimeout > "u" ? (e(), null) : setTimeout(e, 0);
|
123
|
-
},
|
124
|
-
cancelAnimationFrame(e) {
|
125
|
-
typeof setTimeout > "u" || clearTimeout(e);
|
126
|
-
}
|
127
|
-
};
|
128
|
-
function a() {
|
129
|
-
const e = typeof window < "u" ? window : {};
|
130
|
-
return o(e, c), e;
|
2
|
+
return e === void 0 && (e = ""), `.${e.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
|
131
3
|
}
|
132
4
|
export {
|
133
|
-
|
134
|
-
s as g
|
5
|
+
r as c
|
135
6
|
};
|
136
7
|
//# sourceMappingURL=index.es419.js.map
|
package/dist/index.es419.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es419.js","sources":["../node_modules/swiper/shared/
|
1
|
+
{"version":3,"file":"index.es419.js","sources":["../node_modules/swiper/shared/classes-to-selector.mjs"],"sourcesContent":["function classesToSelector(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return `.${classes.trim().replace(/([\\.:!+\\/])/g, '\\\\$1') // eslint-disable-line\n .replace(/ /g, '.')}`;\n}\n\nexport { classesToSelector as c };\n"],"names":["classesToSelector","classes"],"mappings":"AAAA,SAASA,EAAkBC,GAAS;AAClC,SAAIA,MAAY,WACdA,IAAU,KAEL,IAAIA,EAAQ,KAAM,EAAC,QAAQ,gBAAgB,MAAM,EACvD,QAAQ,MAAM,GAAG,CAAC;AACrB;","x_google_ignoreList":[0]}
|
package/dist/index.es421.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as n from "react";
|
2
|
-
import { Primitive as p } from "./index.
|
2
|
+
import { Primitive as p } from "./index.es363.js";
|
3
3
|
import { j as o } from "./index.es197.js";
|
4
4
|
var v = "Arrow", e = n.forwardRef((r, i) => {
|
5
5
|
const { children: t, width: s = 10, height: a = 5, ...m } = r;
|
package/dist/index.es423.js
CHANGED
package/dist/index.es427.js
CHANGED
package/dist/index.es434.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import * as c from "react";
|
2
|
-
import { Primitive as L } from "./index.
|
3
|
-
import { Presence as O } from "./index.
|
4
|
-
import { createContextScope as le } from "./index.
|
5
|
-
import { useComposedRefs as T } from "./index.
|
2
|
+
import { Primitive as L } from "./index.es363.js";
|
3
|
+
import { Presence as O } from "./index.es372.js";
|
4
|
+
import { createContextScope as le } from "./index.es361.js";
|
5
|
+
import { useComposedRefs as T } from "./index.es360.js";
|
6
6
|
import { useCallbackRef as x } from "./index.es408.js";
|
7
7
|
import { useDirection as ce } from "./index.es410.js";
|
8
8
|
import { useLayoutEffect as se } from "./index.es413.js";
|
9
9
|
import { clamp as ie } from "./index.es456.js";
|
10
|
-
import { composeEventHandlers as C } from "./index.
|
10
|
+
import { composeEventHandlers as C } from "./index.es359.js";
|
11
11
|
import { j as b } from "./index.es197.js";
|
12
12
|
function ae(e, t) {
|
13
13
|
return c.useReducer((r, l) => t[r][l] ?? r, e);
|
package/package.json
CHANGED
package/dist/index.cjs366.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs413.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=a(u);var i=o[" useId ".trim().toString()]||(()=>{}),s=0;function d(e){const[t,r]=o.useState(i());return c.useLayoutEffect(()=>{r(n=>n??String(s++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=d;
|
2
|
-
//# sourceMappingURL=index.cjs366.js.map
|
package/dist/index.cjs366.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.cjs366.js","sources":["../node_modules/@radix-ui/react-id/dist/index.mjs"],"sourcesContent":["// packages/react/id/src/id.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useReactId = React[\" useId \".trim().toString()] || (() => void 0);\nvar count = 0;\nfunction useId(deterministicId) {\n const [id, setId] = React.useState(useReactId());\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : \"\");\n}\nexport {\n useId\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useReactId","React","count","useId","deterministicId","id","setId","useLayoutEffect","reactId"],"mappings":"kaAGA,IAAIA,EAAaC,EAAM,UAAU,KAAM,EAAC,SAAU,CAAA,IAAM,IAAA,IACpDC,EAAQ,EACZ,SAASC,EAAMC,EAAiB,CAC9B,KAAM,CAACC,EAAIC,CAAK,EAAIL,EAAM,SAASD,GAAY,EAC/CO,OAAAA,EAAAA,gBAAgB,IAAM,CACED,EAAOE,GAAYA,GAAW,OAAON,GAAO,CAAC,CACvE,EAAK,CAACE,CAAe,CAAC,EACbA,IAAoBC,EAAK,SAASA,CAAE,GAAK,GAClD","x_google_ignoreList":[0]}
|
package/dist/index.cjs368.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=c(o);function s(e){const t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}exports.usePrevious=s;
|
2
|
-
//# sourceMappingURL=index.cjs368.js.map
|
package/dist/index.cjs368.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.cjs368.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":"mYAEA,SAASA,EAAYC,EAAO,CAC1B,MAAMC,EAAMC,EAAM,OAAO,CAAE,MAAAF,EAAO,SAAUA,EAAO,EACnD,OAAOE,EAAM,QAAQ,KACfD,EAAI,QAAQ,QAAUD,IACxBC,EAAI,QAAQ,SAAWA,EAAI,QAAQ,MACnCA,EAAI,QAAQ,MAAQD,GAEfC,EAAI,QAAQ,UAClB,CAACD,CAAK,CAAC,CACZ","x_google_ignoreList":[0]}
|
package/dist/index.cjs369.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.cjs413.js");function d(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const S=d(a);function z(e){const[r,t]=S.useState(void 0);return b.useLayoutEffect(()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const u=o[0];let s,n;if("borderBoxSize"in u){const c=u.borderBoxSize,f=Array.isArray(c)?c[0]:c;s=f.inlineSize,n=f.blockSize}else s=e.offsetWidth,n=e.offsetHeight;t({width:s,height:n})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else t(void 0)},[e]),r}exports.useSize=z;
|
2
|
-
//# sourceMappingURL=index.cjs369.js.map
|
package/dist/index.cjs369.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.cjs369.js","sources":["../node_modules/@radix-ui/react-use-size/dist/index.mjs"],"sourcesContent":["// packages/react/use-size/src/use-size.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nfunction useSize(element) {\n const [size, setSize] = React.useState(void 0);\n useLayoutEffect(() => {\n if (element) {\n setSize({ width: element.offsetWidth, height: element.offsetHeight });\n const resizeObserver = new ResizeObserver((entries) => {\n if (!Array.isArray(entries)) {\n return;\n }\n if (!entries.length) {\n return;\n }\n const entry = entries[0];\n let width;\n let height;\n if (\"borderBoxSize\" in entry) {\n const borderSizeEntry = entry[\"borderBoxSize\"];\n const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;\n width = borderSize[\"inlineSize\"];\n height = borderSize[\"blockSize\"];\n } else {\n width = element.offsetWidth;\n height = element.offsetHeight;\n }\n setSize({ width, height });\n });\n resizeObserver.observe(element, { box: \"border-box\" });\n return () => resizeObserver.unobserve(element);\n } else {\n setSize(void 0);\n }\n }, [element]);\n return size;\n}\nexport {\n useSize\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useSize","element","size","setSize","React","useLayoutEffect","resizeObserver","entries","entry","width","height","borderSizeEntry","borderSize"],"mappings":"kaAGA,SAASA,EAAQC,EAAS,CACxB,KAAM,CAACC,EAAMC,CAAO,EAAIC,EAAM,SAAS,MAAM,EAC7CC,OAAAA,EAAAA,gBAAgB,IAAM,CACpB,GAAIJ,EAAS,CACXE,EAAQ,CAAE,MAAOF,EAAQ,YAAa,OAAQA,EAAQ,aAAc,EACpE,MAAMK,EAAiB,IAAI,eAAgBC,GAAY,CAIrD,GAHI,CAAC,MAAM,QAAQA,CAAO,GAGtB,CAACA,EAAQ,OACX,OAEF,MAAMC,EAAQD,EAAQ,CAAC,EACvB,IAAIE,EACAC,EACJ,GAAI,kBAAmBF,EAAO,CAC5B,MAAMG,EAAkBH,EAAM,cACxBI,EAAa,MAAM,QAAQD,CAAe,EAAIA,EAAgB,CAAC,EAAIA,EACzEF,EAAQG,EAAW,WACnBF,EAASE,EAAW,SAC9B,MACUH,EAAQR,EAAQ,YAChBS,EAAST,EAAQ,aAEnBE,EAAQ,CAAE,MAAAM,EAAO,OAAAC,EAAQ,CACjC,CAAO,EACD,OAAAJ,EAAe,QAAQL,EAAS,CAAE,IAAK,YAAY,CAAE,EAC9C,IAAMK,EAAe,UAAUL,CAAO,CACnD,MACME,EAAQ,MAAM,CAEpB,EAAK,CAACF,CAAO,CAAC,EACLC,CACT","x_google_ignoreList":[0]}
|
package/dist/index.cjs381.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";const a=require("./index.cjs424.js"),l=require("react"),s=require("./index.cjs425.js"),i=require("./index.cjs426.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=u(l);var n=o.forwardRef(function(e,t){return o.createElement(s.RemoveScroll,a.__assign({},e,{ref:t,sideCar:i}))});n.classNames=s.RemoveScroll.classNames;module.exports=n;
|
2
|
-
//# sourceMappingURL=index.cjs381.js.map
|
package/dist/index.cjs381.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.cjs381.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":"6ZAIG,IAACA,EAAoBC,EAAM,WAAW,SAAUC,EAAOC,EAAK,CAAE,OAAQF,EAAM,cAAcG,EAAAA,aAAcC,EAAAA,SAAS,CAAE,EAAEH,EAAO,CAAE,IAAKC,EAAK,QAASG,EAAS,CAAC,CAAK,CAAA,EACnKN,EAAkB,WAAaI,EAAAA,aAAa","x_google_ignoreList":[0]}
|
package/dist/index.cjs382.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var k=function(r){if(typeof document>"u")return null;var u=Array.isArray(r)?r[0]:r;return u.ownerDocument.body},f=new WeakMap,v=new WeakMap,p={},h=0,b=function(r){return r&&(r.host||b(r.parentNode))},O=function(r,u){return u.map(function(t){if(r.contains(t))return t;var n=b(t);return n&&r.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",r,". Doing nothing"),null)}).filter(function(t){return!!t})},D=function(r,u,t,n){var i=O(u,Array.isArray(r)?r:[r]);p[t]||(p[t]=new WeakMap);var o=p[t],l=[],s=new Set,S=new Set(i),y=function(e){!e||s.has(e)||(s.add(e),y(e.parentNode))};i.forEach(y);var A=function(e){!e||S.has(e)||Array.prototype.forEach.call(e.children,function(a){if(s.has(a))A(a);else try{var c=a.getAttribute(n),d=c!==null&&c!=="false",w=(f.get(a)||0)+1,M=(o.get(a)||0)+1;f.set(a,w),o.set(a,M),l.push(a),w===1&&d&&v.set(a,!0),M===1&&a.setAttribute(t,"true"),d||a.setAttribute(n,"true")}catch(W){console.error("aria-hidden: cannot operate on ",a,W)}})};return A(u),s.clear(),h++,function(){l.forEach(function(e){var a=f.get(e)-1,c=o.get(e)-1;f.set(e,a),o.set(e,c),a||(v.has(e)||e.removeAttribute(n),v.delete(e)),c||e.removeAttribute(t)}),h--,h||(f=new WeakMap,f=new WeakMap,v=new WeakMap,p={})}},E=function(r,u,t){t===void 0&&(t="data-aria-hidden");var n=Array.from(Array.isArray(r)?r:[r]),i=k(r);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),D(n,i,t,"aria-hidden")):function(){return null}};exports.hideOthers=E;
|
2
|
-
//# sourceMappingURL=index.cjs382.js.map
|
package/dist/index.cjs382.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.cjs382.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 ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));\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":"gFAAA,IAAIA,EAAmB,SAAUC,EAAgB,CAC7C,GAAI,OAAO,SAAa,IACpB,OAAO,KAEX,IAAIC,EAAe,MAAM,QAAQD,CAAc,EAAIA,EAAe,CAAC,EAAIA,EACvE,OAAOC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AAuBJ,EAASqB,EAAkBf,EAAY,aAAa,GAJvE,UAAY,CAAE,OAAO,IAAO,CAK3C","x_google_ignoreList":[0]}
|
package/dist/index.cjs383.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),g=require("./index.cjs361.js"),u=require("./index.cjs197.js");function S(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const l=S(y);function b(e){const t=x(e),n=l.forwardRef((r,o)=>{const{children:i,...c}=r,s=l.Children.toArray(i),f=s.find(E);if(f){const a=f.props.children,m=s.map(p=>p===f?l.Children.count(a)>1?l.Children.only(null):l.isValidElement(a)?a.props.children:null:p);return u.jsxRuntimeExports.jsx(t,{...c,ref:o,children:l.isValidElement(a)?l.cloneElement(a,void 0,m):null})}return u.jsxRuntimeExports.jsx(t,{...c,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function x(e){const t=l.forwardRef((n,r)=>{const{children:o,...i}=n;if(l.isValidElement(o)){const c=O(o),s=R(i,o.props);return o.type!==l.Fragment&&(s.ref=r?g.composeRefs(r,c):c),l.cloneElement(o,s)}return l.Children.count(o)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var d=Symbol("radix.slottable");function j(e){const t=({children:n})=>u.jsxRuntimeExports.jsx(u.jsxRuntimeExports.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=d,t}function E(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===d}function R(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function O(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}exports.createSlot=b;exports.createSlottable=j;
|
2
|
-
//# sourceMappingURL=index.cjs383.js.map
|
package/dist/index.cjs383.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.cjs383.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","createSlottable","Slottable2","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":"icAKA,SAASA,EAAWC,EAAW,CAC7B,MAAMC,EAA4BC,EAAgBF,CAAS,EACrDG,EAAQC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACtD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EAC7BI,EAAgBL,EAAM,SAAS,QAAQG,CAAQ,EAC/CG,EAAYD,EAAc,KAAKE,CAAW,EAChD,GAAID,EAAW,CACb,MAAME,EAAaF,EAAU,MAAM,SAC7BG,EAAcJ,EAAc,IAAKK,GACjCA,IAAUJ,EACRN,EAAM,SAAS,MAAMQ,CAAU,EAAI,EAAUR,EAAM,SAAS,KAAK,IAAI,EAClEA,EAAM,eAAeQ,CAAU,EAAIA,EAAW,MAAM,SAAW,KAE/DE,CAEV,EACD,OAAuBC,EAAAA,kBAAAA,IAAId,EAAW,CAAE,GAAGO,EAAW,IAAKF,EAAc,SAAUF,EAAM,eAAeQ,CAAU,EAAIR,EAAM,aAAaQ,EAAY,OAAQC,CAAW,EAAI,KAAM,CACxL,CACI,OAAuBE,EAAAA,kBAAAA,IAAId,EAAW,CAAE,GAAGO,EAAW,IAAKF,EAAc,SAAAC,EAAU,CACvF,CAAG,EACD,OAAAJ,EAAM,YAAc,GAAGH,CAAS,QACzBG,CACT,CAGA,SAASD,EAAgBF,EAAW,CAClC,MAAMC,EAAYG,EAAM,WAAW,CAACC,EAAOC,IAAiB,CA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C,CAAgB,EACxDF,IAAa,cACtBD,EAAcC,CAAQ,EAAI,CAACC,EAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAExF,CACE,MAAO,CAAE,GAAGrB,EAAW,GAAGkB,CAAe,CAC3C,CACA,SAAST,EAAcc,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
|
package/dist/index.es366.js
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
import * as o from "react";
|
2
|
-
import { useLayoutEffect as a } from "./index.es413.js";
|
3
|
-
var s = o[" useId ".trim().toString()] || (() => {
|
4
|
-
}), f = 0;
|
5
|
-
function i(t) {
|
6
|
-
const [e, r] = o.useState(s());
|
7
|
-
return a(() => {
|
8
|
-
r((u) => u ?? String(f++));
|
9
|
-
}, [t]), t || (e ? `radix-${e}` : "");
|
10
|
-
}
|
11
|
-
export {
|
12
|
-
i as useId
|
13
|
-
};
|
14
|
-
//# sourceMappingURL=index.es366.js.map
|
package/dist/index.es366.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.es366.js","sources":["../node_modules/@radix-ui/react-id/dist/index.mjs"],"sourcesContent":["// packages/react/id/src/id.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useReactId = React[\" useId \".trim().toString()] || (() => void 0);\nvar count = 0;\nfunction useId(deterministicId) {\n const [id, setId] = React.useState(useReactId());\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : \"\");\n}\nexport {\n useId\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useReactId","React","count","useId","deterministicId","id","setId","useLayoutEffect","reactId"],"mappings":";;AAGA,IAAIA,IAAaC,EAAM,UAAU,KAAM,EAAC,SAAU,CAAA,MAAM,MAAA;AAAA,IACpDC,IAAQ;AACZ,SAASC,EAAMC,GAAiB;AAC9B,QAAM,CAACC,GAAIC,CAAK,IAAIL,EAAM,SAASD,GAAY;AAC/CO,SAAAA,EAAgB,MAAM;AACE,IAAAD,EAAM,CAACE,MAAYA,KAAW,OAAON,GAAO,CAAC;AAAA,EACvE,GAAK,CAACE,CAAe,CAAC,GACbA,MAAoBC,IAAK,SAASA,CAAE,KAAK;AAClD;","x_google_ignoreList":[0]}
|
package/dist/index.es368.js
DELETED
@@ -1,9 +0,0 @@
|
|
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]);
|
5
|
-
}
|
6
|
-
export {
|
7
|
-
t as usePrevious
|
8
|
-
};
|
9
|
-
//# sourceMappingURL=index.es368.js.map
|