@anoki/fse-ui 1.0.0-beta1.48.42 → 1.0.0-beta1.48.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs110.js.map +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs157.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs173.js +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs178.js +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.cjs184.js +1 -1
- package/dist/index.cjs185.js +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs198.js +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs215.js +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs224.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs274.js +1 -1
- package/dist/index.cjs274.js.map +1 -1
- package/dist/index.cjs275.js +2 -0
- package/dist/index.cjs275.js.map +1 -0
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs316.js +1 -1
- package/dist/index.cjs321.js +1 -1
- package/dist/index.cjs323.js +1 -1
- package/dist/index.cjs352.js +1 -1
- package/dist/index.cjs353.js +1 -1
- package/dist/index.cjs395.js +1 -1
- package/dist/index.cjs443.js +1 -1
- package/dist/index.cjs454.js +1 -1
- package/dist/index.cjs455.js +1 -1
- package/dist/index.cjs456.js +1 -27
- package/dist/index.cjs456.js.map +1 -1
- package/dist/index.cjs457.js +2 -1
- package/dist/index.cjs457.js.map +1 -1
- package/dist/index.cjs458.js +27 -1
- package/dist/index.cjs458.js.map +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs459.js.map +1 -1
- package/dist/index.cjs460.js +1 -2
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/{index.cjs492.js → index.cjs477.js} +2 -2
- package/dist/{index.cjs492.js.map → index.cjs477.js.map} +1 -1
- package/dist/index.cjs481.js +2 -0
- package/dist/index.cjs481.js.map +1 -0
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs482.js.map +1 -1
- package/dist/index.cjs483.js +1 -1
- package/dist/index.cjs483.js.map +1 -1
- package/dist/index.cjs484.js +1 -1
- package/dist/index.cjs484.js.map +1 -1
- package/dist/index.cjs485.js +1 -1
- package/dist/index.cjs485.js.map +1 -1
- package/dist/index.cjs486.js +1 -1
- package/dist/index.cjs486.js.map +1 -1
- package/dist/index.cjs487.js +1 -1
- package/dist/index.cjs487.js.map +1 -1
- package/dist/index.cjs508.js +1 -1
- package/dist/{index.cjs515.js → index.cjs512.js} +1 -1
- package/dist/index.cjs512.js.map +1 -0
- package/dist/index.cjs513.js +2 -0
- package/dist/index.cjs513.js.map +1 -0
- package/dist/index.cjs516.js +1 -1
- package/dist/index.cjs516.js.map +1 -1
- package/dist/index.cjs517.js +1 -1
- package/dist/index.cjs517.js.map +1 -1
- package/dist/index.cjs518.js +1 -1
- package/dist/index.cjs519.js +1 -1
- package/dist/index.cjs519.js.map +1 -1
- package/dist/index.cjs520.js +1 -1
- package/dist/index.cjs520.js.map +1 -1
- package/dist/index.cjs522.js +1 -1
- package/dist/index.cjs527.js +1 -1
- package/dist/index.cjs527.js.map +1 -1
- package/dist/index.cjs528.js +1 -1
- package/dist/index.cjs528.js.map +1 -1
- package/dist/index.cjs531.js +1 -1
- package/dist/index.cjs535.js +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs537.js +1 -1
- package/dist/index.cjs542.js +1 -1
- package/dist/index.cjs546.js +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs554.js +1 -1
- package/dist/index.cjs559.js +1 -1
- package/dist/index.cjs563.js +1 -1
- package/dist/index.cjs565.js +1 -1
- package/dist/index.cjs573.js +1 -1
- package/dist/index.cjs580.js +1 -38
- package/dist/index.cjs580.js.map +1 -1
- package/dist/index.cjs581.js +1 -1
- package/dist/index.cjs581.js.map +1 -1
- package/dist/index.cjs582.js +1 -1
- package/dist/index.cjs582.js.map +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs583.js.map +1 -1
- package/dist/index.cjs584.js +38 -1
- package/dist/index.cjs584.js.map +1 -1
- package/dist/index.cjs585.js +1 -1
- package/dist/index.cjs585.js.map +1 -1
- package/dist/index.cjs586.js +1 -1
- package/dist/index.cjs586.js.map +1 -1
- package/dist/index.cjs587.js +1 -1
- package/dist/index.cjs587.js.map +1 -1
- package/dist/index.cjs588.js +1 -1
- package/dist/index.cjs588.js.map +1 -1
- package/dist/index.cjs589.js +1 -1
- package/dist/index.cjs589.js.map +1 -1
- package/dist/index.cjs590.js +1 -1
- package/dist/index.cjs590.js.map +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.es10.js +2 -2
- package/dist/index.es110.js +36 -42
- package/dist/index.es110.js.map +1 -1
- package/dist/index.es137.js +1 -1
- package/dist/index.es157.js +1 -1
- package/dist/index.es158.js +1 -1
- package/dist/index.es159.js +1 -1
- package/dist/index.es160.js +1 -1
- package/dist/index.es161.js +1 -1
- package/dist/index.es162.js +1 -1
- package/dist/index.es163.js +1 -1
- package/dist/index.es164.js +1 -1
- package/dist/index.es165.js +1 -1
- package/dist/index.es166.js +1 -1
- package/dist/index.es167.js +1 -1
- package/dist/index.es168.js +1 -1
- package/dist/index.es169.js +1 -1
- package/dist/index.es170.js +1 -1
- package/dist/index.es171.js +1 -1
- package/dist/index.es172.js +1 -1
- package/dist/index.es173.js +1 -1
- package/dist/index.es174.js +1 -1
- package/dist/index.es175.js +1 -1
- package/dist/index.es176.js +1 -1
- package/dist/index.es177.js +1 -1
- package/dist/index.es178.js +1 -1
- package/dist/index.es179.js +1 -1
- package/dist/index.es183.js +1 -1
- package/dist/index.es184.js +1 -1
- package/dist/index.es185.js +1 -1
- package/dist/index.es187.js +1 -1
- package/dist/index.es188.js +1 -1
- package/dist/index.es189.js +1 -1
- package/dist/index.es190.js +1 -1
- package/dist/index.es191.js +1 -1
- package/dist/index.es192.js +1 -1
- package/dist/index.es193.js +1 -1
- package/dist/index.es194.js +1 -1
- package/dist/index.es195.js +1 -1
- package/dist/index.es197.js +1 -1
- package/dist/index.es198.js +1 -1
- package/dist/index.es199.js +1 -1
- package/dist/index.es200.js +1 -1
- package/dist/index.es201.js +1 -1
- package/dist/index.es202.js +1 -1
- package/dist/index.es203.js +1 -1
- package/dist/index.es206.js +1 -1
- package/dist/index.es207.js +1 -1
- package/dist/index.es208.js +1 -1
- package/dist/index.es209.js +1 -1
- package/dist/index.es210.js +1 -1
- package/dist/index.es211.js +1 -1
- package/dist/index.es212.js +1 -1
- package/dist/index.es213.js +1 -1
- package/dist/index.es214.js +1 -1
- package/dist/index.es215.js +1 -1
- package/dist/index.es221.js +1 -1
- package/dist/index.es223.js +1 -1
- package/dist/index.es224.js +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es248.js +1 -1
- package/dist/index.es255.js +2 -2
- package/dist/index.es262.js +1 -1
- package/dist/index.es263.js +2 -2
- package/dist/index.es264.js +2 -2
- package/dist/index.es274.js +2 -27
- package/dist/index.es274.js.map +1 -1
- package/dist/index.es275.js +30 -0
- package/dist/index.es275.js.map +1 -0
- package/dist/index.es28.js +1 -1
- package/dist/index.es295.js +1 -1
- package/dist/index.es316.js +1 -1
- package/dist/index.es321.js +1 -1
- package/dist/index.es323.js +7 -7
- package/dist/index.es352.js +1 -1
- package/dist/index.es353.js +1 -1
- package/dist/index.es395.js +1 -1
- package/dist/index.es443.js +1 -1
- package/dist/index.es454.js +1 -1
- package/dist/index.es455.js +1 -1
- package/dist/index.es456.js +5 -3674
- package/dist/index.es456.js.map +1 -1
- package/dist/index.es457.js +520 -5
- package/dist/index.es457.js.map +1 -1
- package/dist/index.es458.js +3675 -2
- package/dist/index.es458.js.map +1 -1
- package/dist/index.es459.js +5 -5
- package/dist/index.es459.js.map +1 -1
- package/dist/index.es460.js +2 -521
- package/dist/index.es460.js.map +1 -1
- package/dist/index.es461.js +1 -1
- package/dist/index.es468.js +1 -1
- package/dist/index.es469.js +7 -7
- package/dist/{index.es492.js → index.es477.js} +2 -2
- package/dist/{index.es492.js.map → index.es477.js.map} +1 -1
- package/dist/index.es481.js +128 -0
- package/dist/index.es481.js.map +1 -0
- package/dist/index.es482.js +126 -116
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +13 -134
- package/dist/index.es483.js.map +1 -1
- package/dist/index.es484.js +14 -13
- package/dist/index.es484.js.map +1 -1
- package/dist/index.es485.js +8 -14
- package/dist/index.es485.js.map +1 -1
- package/dist/index.es486.js +50 -9
- package/dist/index.es486.js.map +1 -1
- package/dist/index.es487.js +55 -49
- package/dist/index.es487.js.map +1 -1
- package/dist/index.es508.js +1 -1
- package/dist/{index.es515.js → index.es512.js} +1 -1
- package/dist/index.es512.js.map +1 -0
- package/dist/index.es513.js +5 -0
- package/dist/index.es513.js.map +1 -0
- package/dist/index.es516.js +5 -2
- package/dist/index.es516.js.map +1 -1
- package/dist/index.es517.js +131 -8
- package/dist/index.es517.js.map +1 -1
- package/dist/index.es518.js +1 -1
- package/dist/index.es519.js +9 -3
- package/dist/index.es519.js.map +1 -1
- package/dist/index.es520.js +2 -131
- package/dist/index.es520.js.map +1 -1
- package/dist/index.es522.js +1 -1
- package/dist/index.es527.js +2 -14
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +14 -2
- package/dist/index.es528.js.map +1 -1
- package/dist/index.es531.js +3 -3
- package/dist/index.es535.js +1 -1
- package/dist/index.es536.js +1 -1
- package/dist/index.es537.js +1 -1
- package/dist/index.es542.js +1 -1
- package/dist/index.es546.js +1 -1
- package/dist/index.es547.js +7 -7
- package/dist/index.es554.js +1 -1
- package/dist/index.es559.js +2 -2
- package/dist/index.es563.js +1 -1
- package/dist/index.es565.js +4 -4
- package/dist/index.es573.js +2 -2
- package/dist/index.es580.js +518 -64
- package/dist/index.es580.js.map +1 -1
- package/dist/index.es581.js +126 -8
- package/dist/index.es581.js.map +1 -1
- package/dist/index.es582.js +128 -13
- package/dist/index.es582.js.map +1 -1
- package/dist/index.es583.js +64 -61
- package/dist/index.es583.js.map +1 -1
- package/dist/index.es584.js +69 -65
- package/dist/index.es584.js.map +1 -1
- package/dist/index.es585.js +7 -521
- package/dist/index.es585.js.map +1 -1
- package/dist/index.es586.js +13 -126
- package/dist/index.es586.js.map +1 -1
- package/dist/index.es587.js +60 -127
- package/dist/index.es587.js.map +1 -1
- package/dist/index.es588.js +4 -3
- package/dist/index.es588.js.map +1 -1
- package/dist/index.es589.js +3 -2
- package/dist/index.es589.js.map +1 -1
- package/dist/index.es590.js +2 -4
- package/dist/index.es590.js.map +1 -1
- package/dist/index.es6.js +1 -1
- package/dist/index.es64.js +1 -1
- package/dist/index.es7.js +1 -1
- package/dist/index.es8.js +1 -1
- package/dist/index.es9.js +2 -2
- package/package.json +1 -1
- package/dist/index.cjs276.js +0 -2
- package/dist/index.cjs276.js.map +0 -1
- package/dist/index.cjs488.js +0 -2
- package/dist/index.cjs488.js.map +0 -1
- package/dist/index.cjs514.js +0 -2
- package/dist/index.cjs514.js.map +0 -1
- package/dist/index.cjs515.js.map +0 -1
- package/dist/index.es276.js +0 -5
- package/dist/index.es276.js.map +0 -1
- package/dist/index.es488.js +0 -59
- package/dist/index.es488.js.map +0 -1
- package/dist/index.es514.js +0 -8
- package/dist/index.es514.js.map +0 -1
- package/dist/index.es515.js.map +0 -1
package/dist/index.es520.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.es520.js.map
|
package/dist/index.es520.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es520.js","sources":["../node_modules/swiper/shared/
|
1
|
+
{"version":3,"file":"index.es520.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.es522.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import r from "react";
|
2
2
|
import { createContextScope as y } from "./index.es466.js";
|
3
3
|
import { useComposedRefs as S } from "./index.es465.js";
|
4
|
-
import { createSlot as M } from "./index.
|
4
|
+
import { createSlot as M } from "./index.es487.js";
|
5
5
|
import { j as d } from "./index.es244.js";
|
6
6
|
function D(s) {
|
7
7
|
const m = s + "CollectionProvider", [A, E] = y(m), [N, f] = A(
|
package/dist/index.es527.js
CHANGED
@@ -1,15 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
function p(n, e = globalThis == null ? void 0 : globalThis.document) {
|
4
|
-
const t = s(n);
|
5
|
-
r.useEffect(() => {
|
6
|
-
const o = (a) => {
|
7
|
-
a.key === "Escape" && t(a);
|
8
|
-
};
|
9
|
-
return e.addEventListener("keydown", o, { capture: !0 }), () => e.removeEventListener("keydown", o, { capture: !0 });
|
10
|
-
}, [t, e]);
|
11
|
-
}
|
12
|
-
export {
|
13
|
-
p as useEscapeKeydown
|
14
|
-
};
|
1
|
+
import { __require as e } from "./index.es535.js";
|
2
|
+
e();
|
15
3
|
//# sourceMappingURL=index.es527.js.map
|
package/dist/index.es527.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es527.js","sources":[
|
1
|
+
{"version":3,"file":"index.es527.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
package/dist/index.es528.js
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import * as r from "react";
|
2
|
+
import { useCallbackRef as s } from "./index.es521.js";
|
3
|
+
function p(n, e = globalThis == null ? void 0 : globalThis.document) {
|
4
|
+
const t = s(n);
|
5
|
+
r.useEffect(() => {
|
6
|
+
const o = (a) => {
|
7
|
+
a.key === "Escape" && t(a);
|
8
|
+
};
|
9
|
+
return e.addEventListener("keydown", o, { capture: !0 }), () => e.removeEventListener("keydown", o, { capture: !0 });
|
10
|
+
}, [t, e]);
|
11
|
+
}
|
12
|
+
export {
|
13
|
+
p as useEscapeKeydown
|
14
|
+
};
|
3
15
|
//# sourceMappingURL=index.es528.js.map
|
package/dist/index.es528.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es528.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
1
|
+
{"version":3,"file":"index.es528.js","sources":["../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/use-escape-keydown.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n React.useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === \"Escape\") {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\nexport {\n useEscapeKeydown\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useEscapeKeydown","onEscapeKeyDownProp","ownerDocument","onEscapeKeyDown","useCallbackRef","React","handleKeyDown","event"],"mappings":";;AAGA,SAASA,EAAiBC,GAAqBC,IAAgB,yCAAY,UAAU;AACnF,QAAMC,IAAkBC,EAAeH,CAAmB;AAC1D,EAAAI,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAgB,CAACC,MAAU;AAC/B,MAAIA,EAAM,QAAQ,YAChBJ,EAAgBI,CAAK;AAAA,IAExB;AACD,WAAAL,EAAc,iBAAiB,WAAWI,GAAe,EAAE,SAAS,IAAM,GACnE,MAAMJ,EAAc,oBAAoB,WAAWI,GAAe,EAAE,SAAS,IAAM;AAAA,EAC9F,GAAK,CAACH,GAAiBD,CAAa,CAAC;AACrC;","x_google_ignoreList":[0]}
|
package/dist/index.es531.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { offset as ot, shift as st, flip as rt, size as ct, hide as lt, limitShift as ft, computePosition as ut, arrow as ht } from "./index.
|
2
|
-
import { createCoords as m, round as A, max as E, min as V, rectToClientRect as J, floor as D } from "./index.
|
3
|
-
import { isElement as v, getDocumentElement as O, getOverflowAncestors as $, getComputedStyle as R, isHTMLElement as b, getWindow as L, isTopLayer as S, getParentNode as W, isLastTraversableNode as H, isTableElement as at, isContainingBlock as Q, getContainingBlock as dt, getNodeName as M, isOverflowElement as _, getNodeScroll as N, getFrameElement as K, isWebKit as Y } from "./index.
|
1
|
+
import { offset as ot, shift as st, flip as rt, size as ct, hide as lt, limitShift as ft, computePosition as ut, arrow as ht } from "./index.es580.js";
|
2
|
+
import { createCoords as m, round as A, max as E, min as V, rectToClientRect as J, floor as D } from "./index.es581.js";
|
3
|
+
import { isElement as v, getDocumentElement as O, getOverflowAncestors as $, getComputedStyle as R, isHTMLElement as b, getWindow as L, isTopLayer as S, getParentNode as W, isLastTraversableNode as H, isTableElement as at, isContainingBlock as Q, getContainingBlock as dt, getNodeName as M, isOverflowElement as _, getNodeScroll as N, getFrameElement as K, isWebKit as Y } from "./index.es582.js";
|
4
4
|
function Z(t) {
|
5
5
|
const e = R(t);
|
6
6
|
let i = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
package/dist/index.es535.js
CHANGED
package/dist/index.es536.js
CHANGED
package/dist/index.es537.js
CHANGED
@@ -7,7 +7,7 @@ import { VisuallyHidden as b } from "./index.es560.js";
|
|
7
7
|
import { extractProps as y } from "./index.es539.js";
|
8
8
|
import { mapResponsiveProp as E, mapButtonSizeToSpinnerSize as g } from "./index.es574.js";
|
9
9
|
import { marginPropDefs as h } from "./index.es541.js";
|
10
|
-
import { Root as z } from "./index.
|
10
|
+
import { Root as z } from "./index.es487.js";
|
11
11
|
const S = e.forwardRef((t, o) => {
|
12
12
|
const { size: i = s.size.default } = t, { className: n, children: a, asChild: l, color: m, radius: d, disabled: r = t.loading, ...p } = y(t, s, h), c = l ? z : "button";
|
13
13
|
return e.createElement(c, { "data-disabled": r || void 0, "data-accent-color": m, "data-radius": d, ...p, ref: o, className: u("rt-reset", "rt-BaseButton", n), disabled: r }, t.loading ? e.createElement(e.Fragment, null, e.createElement("span", { style: { display: "contents", visibility: "hidden" }, "aria-hidden": !0 }, a), e.createElement(b, null, a), e.createElement(f, { asChild: !0, align: "center", justify: "center", position: "absolute", inset: "0" }, e.createElement("span", null, e.createElement(B, { size: E(i, g) })))) : a);
|
package/dist/index.es542.js
CHANGED
package/dist/index.es546.js
CHANGED
@@ -4,7 +4,7 @@ import { getMatchingGrayColor as N } from "./index.es557.js";
|
|
4
4
|
import { themePropDefs as o } from "./index.es558.js";
|
5
5
|
import { Provider as b } from "./index.es559.js";
|
6
6
|
import { Provider as w } from "./index.es523.js";
|
7
|
-
import { Root as D } from "./index.
|
7
|
+
import { Root as D } from "./index.es487.js";
|
8
8
|
const g = () => {
|
9
9
|
}, P = a.createContext(void 0), I = a.forwardRef((n, c) => a.useContext(P) === void 0 ? a.createElement(b, { delayDuration: 200 }, a.createElement(w, { dir: "ltr" }, a.createElement(A, { ...n, ref: c }))) : a.createElement(x, { ...n, ref: c }));
|
10
10
|
I.displayName = "Theme";
|
package/dist/index.es547.js
CHANGED
@@ -2,18 +2,18 @@ import * as i from "react";
|
|
2
2
|
import { composeEventHandlers as P } from "./index.es464.js";
|
3
3
|
import { useComposedRefs as A } from "./index.es465.js";
|
4
4
|
import { createContextScope as G } from "./index.es466.js";
|
5
|
-
import { DismissableLayer as H } from "./index.
|
6
|
-
import { useFocusGuards as K } from "./index.
|
7
|
-
import { FocusScope as $ } from "./index.
|
5
|
+
import { DismissableLayer as H } from "./index.es481.js";
|
6
|
+
import { useFocusGuards as K } from "./index.es484.js";
|
7
|
+
import { FocusScope as $ } from "./index.es482.js";
|
8
8
|
import { useId as U } from "./index.es470.js";
|
9
9
|
import { createPopperScope as O, Root as V, Anchor as _, Content as W, Arrow as Z } from "./index.es524.js";
|
10
|
-
import { Portal as q } from "./index.
|
10
|
+
import { Portal as q } from "./index.es483.js";
|
11
11
|
import { Presence as E } from "./index.es476.js";
|
12
12
|
import { Primitive as w } from "./index.es468.js";
|
13
|
-
import { createSlot as z } from "./index.
|
13
|
+
import { createSlot as z } from "./index.es487.js";
|
14
14
|
import { useControllableState as B } from "./index.es467.js";
|
15
|
-
import { hideOthers as J } from "./index.
|
16
|
-
import Q from "./index.
|
15
|
+
import { hideOthers as J } from "./index.es486.js";
|
16
|
+
import Q from "./index.es485.js";
|
17
17
|
import { j as p } from "./index.es244.js";
|
18
18
|
var x = "Popover", [j, Oo] = G(x, [
|
19
19
|
O
|
package/dist/index.es554.js
CHANGED
@@ -6,7 +6,7 @@ import { useComposedRefs as T } from "./index.es465.js";
|
|
6
6
|
import { useCallbackRef as x } from "./index.es521.js";
|
7
7
|
import { useDirection as ce } from "./index.es523.js";
|
8
8
|
import { useLayoutEffect as se } from "./index.es526.js";
|
9
|
-
import { clamp as ie } from "./index.
|
9
|
+
import { clamp as ie } from "./index.es588.js";
|
10
10
|
import { composeEventHandlers as C } from "./index.es464.js";
|
11
11
|
import { j as b } from "./index.es244.js";
|
12
12
|
function ae(e, t) {
|
package/dist/index.es559.js
CHANGED
@@ -2,11 +2,11 @@ import * as a from "react";
|
|
2
2
|
import { composeEventHandlers as y } from "./index.es464.js";
|
3
3
|
import { useComposedRefs as A } from "./index.es465.js";
|
4
4
|
import { createContextScope as G } from "./index.es466.js";
|
5
|
-
import { DismissableLayer as F } from "./index.
|
5
|
+
import { DismissableLayer as F } from "./index.es481.js";
|
6
6
|
import { createPopperScope as j, Anchor as B, Content as U, Arrow as V } from "./index.es524.js";
|
7
7
|
import { Presence as Y } from "./index.es476.js";
|
8
8
|
import { Primitive as q } from "./index.es468.js";
|
9
|
-
import { createSlottable as X } from "./index.
|
9
|
+
import { createSlottable as X } from "./index.es487.js";
|
10
10
|
import { Root as K } from "./index.es561.js";
|
11
11
|
import { j as d } from "./index.es244.js";
|
12
12
|
var [E, ge] = G("Tooltip", [
|
package/dist/index.es563.js
CHANGED
package/dist/index.es565.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { __spreadArray as x } from "./index.es532.js";
|
2
2
|
import * as n from "react";
|
3
|
-
import { RemoveScrollBar as A } from "./index.
|
4
|
-
import { styleSingleton as I } from "./index.
|
5
|
-
import { nonPassive as s } from "./index.
|
6
|
-
import { locationCouldBeScrolled as T, handleScroll as W } from "./index.
|
3
|
+
import { RemoveScrollBar as A } from "./index.es584.js";
|
4
|
+
import { styleSingleton as I } from "./index.es585.js";
|
5
|
+
import { nonPassive as s } from "./index.es586.js";
|
6
|
+
import { locationCouldBeScrolled as T, handleScroll as W } from "./index.es587.js";
|
7
7
|
var b = function(t) {
|
8
8
|
return "changedTouches" in t ? [t.changedTouches[0].clientX, t.changedTouches[0].clientY] : [0, 0];
|
9
9
|
}, Y = function(t) {
|
package/dist/index.es573.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { asChildPropDef as a } from "./index.es575.js";
|
2
|
-
import { accentColorPropDef as s } from "./index.
|
3
|
-
import { highContrastPropDef as o } from "./index.
|
2
|
+
import { accentColorPropDef as s } from "./index.es589.js";
|
3
|
+
import { highContrastPropDef as o } from "./index.es590.js";
|
4
4
|
import { radiusPropDef as e } from "./index.es577.js";
|
5
5
|
const r = ["1", "2", "3", "4"], t = ["classic", "solid", "soft", "surface", "outline", "ghost"], m = { ...a, size: { type: "enum", className: "rt-r-size", values: r, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: t, default: "solid" }, ...s, ...o, ...e, loading: { type: "boolean", className: "rt-loading", default: !1 } };
|
6
6
|
export {
|