@anoki/fse-ui 1.0.0-beta1.37.27 → 1.0.0-beta1.37.29
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/AggregationItemCard/AggregationItemCard.css +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs148.js.map +1 -1
- package/dist/index.cjs282.js +1 -1
- package/dist/index.cjs287.js +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs305.js +1 -1
- package/dist/index.cjs311.js +1 -1
- package/dist/index.cjs342.js +1 -1
- package/dist/index.cjs383.js +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs458.js.map +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs461.js.map +1 -1
- package/dist/index.cjs462.js +1 -1
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/{index.cjs460.js → index.cjs464.js} +2 -2
- package/dist/{index.cjs460.js.map → index.cjs464.js.map} +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +1 -1
- package/dist/index.cjs467.js.map +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs468.js.map +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs469.js.map +1 -1
- package/dist/index.cjs470.js +1 -1
- package/dist/index.cjs470.js.map +1 -1
- package/dist/index.cjs471.js +1 -1
- package/dist/index.cjs471.js.map +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs472.js.map +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.cjs475.js +1 -1
- package/dist/index.cjs475.js.map +1 -1
- package/dist/index.cjs476.js +1 -1
- package/dist/index.cjs476.js.map +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs477.js.map +1 -1
- package/dist/index.cjs478.js +1 -1
- package/dist/index.cjs478.js.map +1 -1
- package/dist/index.cjs479.js +1 -1
- package/dist/index.cjs479.js.map +1 -1
- package/dist/index.cjs480.js +2 -0
- package/dist/index.cjs480.js.map +1 -0
- 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.cjs493.js +1 -1
- package/dist/index.cjs493.js.map +1 -1
- package/dist/index.cjs497.js +1 -1
- package/dist/index.cjs497.js.map +1 -1
- package/dist/index.cjs498.js +1 -1
- package/dist/index.cjs498.js.map +1 -1
- package/dist/index.cjs499.js +1 -1
- package/dist/index.cjs499.js.map +1 -1
- package/dist/{index.cjs491.js → index.cjs510.js} +1 -1
- package/dist/{index.cjs491.js.map → index.cjs510.js.map} +1 -1
- package/dist/index.cjs511.js +2 -0
- package/dist/{index.cjs492.js.map → index.cjs511.js.map} +1 -1
- package/dist/index.cjs512.js +2 -0
- package/dist/index.cjs512.js.map +1 -0
- package/dist/{index.cjs494.js → index.cjs513.js} +2 -2
- package/dist/{index.cjs494.js.map → index.cjs513.js.map} +1 -1
- package/dist/{index.cjs495.js → index.cjs514.js} +2 -2
- package/dist/{index.cjs495.js.map → index.cjs514.js.map} +1 -1
- package/dist/{index.cjs496.js → index.cjs515.js} +2 -2
- package/dist/{index.cjs496.js.map → index.cjs515.js.map} +1 -1
- package/dist/index.cjs516.js +2 -0
- package/dist/index.cjs516.js.map +1 -0
- package/dist/index.cjs517.js +2 -0
- package/dist/index.cjs517.js.map +1 -0
- package/dist/{index.cjs501.js → index.cjs518.js} +2 -2
- package/dist/{index.cjs501.js.map → index.cjs518.js.map} +1 -1
- package/dist/{index.cjs502.js → index.cjs519.js} +2 -2
- package/dist/{index.cjs502.js.map → index.cjs519.js.map} +1 -1
- package/dist/{index.cjs503.js → index.cjs520.js} +1 -1
- package/dist/{index.cjs503.js.map → index.cjs520.js.map} +1 -1
- package/dist/index.cjs521.js +1 -1
- package/dist/index.cjs521.js.map +1 -1
- package/dist/index.cjs522.js +1 -1
- package/dist/index.cjs522.js.map +1 -1
- package/dist/index.cjs523.js +2 -0
- package/dist/index.cjs523.js.map +1 -0
- package/dist/index.cjs524.js +2 -0
- package/dist/index.cjs524.js.map +1 -0
- package/dist/index.cjs525.js +1 -1
- package/dist/index.cjs525.js.map +1 -1
- package/dist/index.cjs526.js +1 -1
- package/dist/index.cjs526.js.map +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.cjs530.js +1 -1
- package/dist/index.cjs535.js +1 -1
- package/dist/index.cjs539.js +1 -1
- package/dist/index.cjs540.js +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs552.js +1 -1
- package/dist/index.cjs554.js +1 -1
- package/dist/index.cjs568.js +1 -1
- package/dist/index.cjs580.js +1 -1
- 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.d.ts +1 -0
- package/dist/index.es148.js +54 -50
- package/dist/index.es148.js.map +1 -1
- package/dist/index.es282.js +7 -7
- package/dist/index.es287.js +1 -1
- package/dist/index.es295.js +8 -8
- package/dist/index.es305.js +1 -1
- package/dist/index.es311.js +14 -14
- package/dist/index.es342.js +7 -7
- package/dist/index.es383.js +4 -4
- package/dist/index.es458.js +15 -27
- package/dist/index.es458.js.map +1 -1
- package/dist/index.es461.js +26 -32
- package/dist/index.es461.js.map +1 -1
- package/dist/index.es462.js +63 -617
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +6 -10
- package/dist/index.es463.js.map +1 -1
- package/dist/{index.es460.js → index.es464.js} +2 -2
- package/dist/{index.es460.js.map → index.es464.js.map} +1 -1
- package/dist/index.es465.js +5 -10
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +24 -55
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +66 -43
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es468.js +32 -13
- package/dist/index.es468.js.map +1 -1
- package/dist/index.es469.js +609 -112
- package/dist/index.es469.js.map +1 -1
- package/dist/index.es470.js +10 -14
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es471.js +10 -134
- package/dist/index.es471.js.map +1 -1
- package/dist/index.es472.js +3 -217
- package/dist/index.es472.js.map +1 -1
- package/dist/index.es473.js +56 -14
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +43 -66
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +12 -176
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +122 -47
- package/dist/index.es476.js.map +1 -1
- package/dist/index.es477.js +14 -8
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es478.js +135 -4
- package/dist/index.es478.js.map +1 -1
- package/dist/index.es479.js +217 -14
- package/dist/index.es479.js.map +1 -1
- package/dist/index.es480.js +17 -0
- package/dist/index.es480.js.map +1 -0
- package/dist/index.es481.js +181 -0
- package/dist/index.es481.js.map +1 -0
- package/dist/index.es482.js +50 -12
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +8 -204
- package/dist/index.es483.js.map +1 -1
- package/dist/index.es484.js +12 -22
- package/dist/index.es484.js.map +1 -1
- package/dist/index.es485.js +204 -24
- package/dist/index.es485.js.map +1 -1
- package/dist/index.es486.js +21 -392
- package/dist/index.es486.js.map +1 -1
- package/dist/index.es487.js +392 -5
- package/dist/index.es487.js.map +1 -1
- package/dist/index.es493.js +13 -22
- package/dist/index.es493.js.map +1 -1
- package/dist/index.es497.js +23 -125
- package/dist/index.es497.js.map +1 -1
- package/dist/index.es498.js +28 -128
- package/dist/index.es498.js.map +1 -1
- package/dist/index.es499.js +5 -15
- package/dist/index.es499.js.map +1 -1
- package/dist/{index.es491.js → index.es510.js} +1 -1
- package/dist/{index.es491.js.map → index.es510.js.map} +1 -1
- package/dist/index.es511.js +6 -0
- package/dist/{index.es492.js.map → index.es511.js.map} +1 -1
- package/dist/index.es512.js +27 -0
- package/dist/index.es512.js.map +1 -0
- package/dist/{index.es494.js → index.es513.js} +6 -6
- package/dist/{index.es494.js.map → index.es513.js.map} +1 -1
- package/dist/{index.es495.js → index.es514.js} +2 -2
- package/dist/{index.es495.js.map → index.es514.js.map} +1 -1
- package/dist/{index.es496.js → index.es515.js} +2 -2
- package/dist/{index.es496.js.map → index.es515.js.map} +1 -1
- package/dist/index.es516.js +130 -0
- package/dist/index.es516.js.map +1 -0
- package/dist/index.es517.js +132 -0
- package/dist/index.es517.js.map +1 -0
- package/dist/{index.es501.js → index.es518.js} +4 -4
- package/dist/{index.es501.js.map → index.es518.js.map} +1 -1
- package/dist/{index.es502.js → index.es519.js} +2 -2
- package/dist/{index.es502.js.map → index.es519.js.map} +1 -1
- package/dist/{index.es503.js → index.es520.js} +1 -1
- package/dist/{index.es503.js.map → index.es520.js.map} +1 -1
- package/dist/index.es521.js +62 -4
- package/dist/index.es521.js.map +1 -1
- package/dist/index.es522.js +61 -19
- package/dist/index.es522.js.map +1 -1
- package/dist/index.es523.js +7 -0
- package/dist/index.es523.js.map +1 -0
- package/dist/index.es524.js +26 -0
- package/dist/index.es524.js.map +1 -0
- package/dist/index.es525.js +21 -11
- package/dist/index.es525.js.map +1 -1
- package/dist/index.es526.js +11 -26
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +27 -4
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +4 -22
- package/dist/index.es528.js.map +1 -1
- package/dist/index.es530.js +1 -1
- package/dist/index.es535.js +1 -1
- package/dist/index.es539.js +2 -2
- package/dist/index.es540.js +15 -15
- package/dist/index.es547.js +9 -9
- package/dist/index.es552.js +8 -8
- package/dist/index.es554.js +1 -1
- package/dist/index.es568.js +2 -2
- package/dist/index.es580.js +3 -4
- package/dist/index.es580.js.map +1 -1
- package/dist/index.es581.js +2 -3
- package/dist/index.es581.js.map +1 -1
- package/dist/index.es582.js +4 -2
- package/dist/index.es582.js.map +1 -1
- package/dist/sections/Slider/Slider.css +1 -1
- package/package.json +1 -1
- package/dist/index.cjs457.js +0 -2
- package/dist/index.cjs457.js.map +0 -1
- package/dist/index.cjs459.js +0 -2
- package/dist/index.cjs459.js.map +0 -1
- package/dist/index.cjs488.js +0 -2
- package/dist/index.cjs488.js.map +0 -1
- package/dist/index.cjs489.js +0 -2
- package/dist/index.cjs489.js.map +0 -1
- package/dist/index.cjs490.js +0 -2
- package/dist/index.cjs490.js.map +0 -1
- package/dist/index.cjs492.js +0 -2
- package/dist/index.cjs500.js +0 -2
- package/dist/index.cjs500.js.map +0 -1
- package/dist/index.cjs504.js +0 -2
- package/dist/index.cjs504.js.map +0 -1
- package/dist/index.es457.js +0 -10
- package/dist/index.es457.js.map +0 -1
- package/dist/index.es459.js +0 -71
- package/dist/index.es459.js.map +0 -1
- package/dist/index.es488.js +0 -28
- package/dist/index.es488.js.map +0 -1
- package/dist/index.es489.js +0 -32
- package/dist/index.es489.js.map +0 -1
- package/dist/index.es490.js +0 -8
- package/dist/index.es490.js.map +0 -1
- package/dist/index.es492.js +0 -6
- package/dist/index.es500.js +0 -68
- package/dist/index.es500.js.map +0 -1
- package/dist/index.es504.js +0 -65
- package/dist/index.es504.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es524.js","sources":["../node_modules/use-callback-ref/dist/es2015/useRef.js"],"sourcesContent":["import { useState } from 'react';\n/**\n * creates a MutableRef with ref change callback\n * @param initialValue - initial ref value\n * @param {Function} callback - a callback to run when value changes\n *\n * @example\n * const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);\n * ref.current = 1;\n * // prints 0 -> 1\n *\n * @see https://reactjs.org/docs/hooks-reference.html#useref\n * @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref\n * @returns {MutableRefObject}\n */\nexport function useCallbackRef(initialValue, callback) {\n var ref = useState(function () { return ({\n // value\n value: initialValue,\n // last callback\n callback: callback,\n // \"memoized\" public interface\n facade: {\n get current() {\n return ref.value;\n },\n set current(value) {\n var last = ref.value;\n if (last !== value) {\n ref.value = value;\n ref.callback(value, last);\n }\n },\n },\n }); })[0];\n // update callback\n ref.callback = callback;\n return ref.facade;\n}\n"],"names":["useCallbackRef","initialValue","callback","ref","useState","value","last"],"mappings":";AAeO,SAASA,EAAeC,GAAcC,GAAU;AACnD,MAAIC,IAAMC,EAAS,WAAY;AAAE,WAAQ;AAAA;AAAA,MAErC,OAAOH;AAAA;AAAA,MAEP,UAAUC;AAAA;AAAA,MAEV,QAAQ;AAAA,QACJ,IAAI,UAAU;AACV,iBAAOC,EAAI;AAAA,QACd;AAAA,QACD,IAAI,QAAQE,GAAO;AACf,cAAIC,IAAOH,EAAI;AACf,UAAIG,MAASD,MACTF,EAAI,QAAQE,GACZF,EAAI,SAASE,GAAOC,CAAI;AAAA,QAE/B;AAAA,MACJ;AAAA,IACT;AAAA,EAAO,CAAE,EAAE,CAAC;AAER,SAAAH,EAAI,WAAWD,GACRC,EAAI;AACf;","x_google_ignoreList":[0]}
|
package/dist/index.es525.js
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
var a = {
|
|
2
|
+
left: 0,
|
|
3
|
+
top: 0,
|
|
4
|
+
right: 0,
|
|
5
|
+
gap: 0
|
|
6
|
+
}, e = function(t) {
|
|
7
|
+
return parseInt(t || "", 10) || 0;
|
|
8
|
+
}, o = function(t) {
|
|
9
|
+
var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
|
|
10
|
+
return [e(i), e(r), e(d)];
|
|
11
|
+
}, f = function(t) {
|
|
12
|
+
if (t === void 0 && (t = "margin"), typeof window > "u")
|
|
13
|
+
return a;
|
|
14
|
+
var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
|
|
15
|
+
return {
|
|
16
|
+
left: n[0],
|
|
17
|
+
top: n[1],
|
|
18
|
+
right: n[2],
|
|
19
|
+
gap: Math.max(0, r - i + n[2] - n[0])
|
|
11
20
|
};
|
|
12
21
|
};
|
|
13
22
|
export {
|
|
14
|
-
|
|
23
|
+
f as getGapWidth,
|
|
24
|
+
a as zeroGap
|
|
15
25
|
};
|
|
16
26
|
//# sourceMappingURL=index.es525.js.map
|
package/dist/index.es525.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es525.js","sources":["../node_modules/react-
|
|
1
|
+
{"version":3,"file":"index.es525.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"AAAU,IAACA,IAAU;AAAA,EACjB,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,KAAK;AACT,GACIC,IAAQ,SAAUC,GAAG;AAAE,SAAO,SAASA,KAAK,IAAI,EAAE,KAAK;AAAI,GAC3DC,IAAY,SAAUC,GAAS;AAC/B,MAAIC,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1CC,IAAOD,EAAGD,MAAY,YAAY,gBAAgB,YAAY,GAC9DG,IAAMF,EAAGD,MAAY,YAAY,eAAe,WAAW,GAC3DI,IAAQH,EAAGD,MAAY,YAAY,iBAAiB,aAAa;AACrE,SAAO,CAACH,EAAMK,CAAI,GAAGL,EAAMM,CAAG,GAAGN,EAAMO,CAAK,CAAC;AACjD,GACWC,IAAc,SAAUL,GAAS;AAExC,MADIA,MAAY,WAAUA,IAAU,WAChC,OAAO,SAAW;AAClB,WAAOJ;AAEX,MAAIU,IAAUP,EAAUC,CAAO,GAC3BO,IAAgB,SAAS,gBAAgB,aACzCC,IAAc,OAAO;AACzB,SAAO;AAAA,IACH,MAAMF,EAAQ,CAAC;AAAA,IACf,KAAKA,EAAQ,CAAC;AAAA,IACd,OAAOA,EAAQ,CAAC;AAAA,IAChB,KAAK,KAAK,IAAI,GAAGE,IAAcD,IAAgBD,EAAQ,CAAC,IAAIA,EAAQ,CAAC,CAAC;AAAA,EACzE;AACL;","x_google_ignoreList":[0]}
|
package/dist/index.es526.js
CHANGED
|
@@ -1,31 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
|
|
12
|
-
}
|
|
13
|
-
function a(t) {
|
|
14
|
-
var e = document.head || document.getElementsByTagName("head")[0];
|
|
15
|
-
e.appendChild(t);
|
|
16
|
-
}
|
|
17
|
-
var c = function() {
|
|
18
|
-
var t = 0, e = null;
|
|
19
|
-
return {
|
|
20
|
-
add: function(n) {
|
|
21
|
-
t == 0 && (e = r()) && (l(e, n), a(e)), t++;
|
|
22
|
-
},
|
|
23
|
-
remove: function() {
|
|
24
|
-
t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
|
|
25
|
-
}
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
import { stylesheetSingleton as r } from "./index.es527.js";
|
|
3
|
+
var i = function() {
|
|
4
|
+
var t = r();
|
|
5
|
+
return function(e, n) {
|
|
6
|
+
o.useEffect(function() {
|
|
7
|
+
return t.add(e), function() {
|
|
8
|
+
t.remove();
|
|
9
|
+
};
|
|
10
|
+
}, [e && n]);
|
|
26
11
|
};
|
|
27
12
|
};
|
|
28
13
|
export {
|
|
29
|
-
|
|
14
|
+
i as styleHookSingleton
|
|
30
15
|
};
|
|
31
16
|
//# sourceMappingURL=index.es526.js.map
|
package/dist/index.es526.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es526.js","sources":["../node_modules/react-style-singleton/dist/es2015/
|
|
1
|
+
{"version":3,"file":"index.es526.js","sources":["../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":";;AAWU,IAACA,IAAqB,WAAY;AACxC,MAAIC,IAAQC,EAAqB;AACjC,SAAO,SAAUC,GAAQC,GAAW;AAChC,IAAAC,EAAM,UAAU,WAAY;AACxB,aAAAJ,EAAM,IAAIE,CAAM,GACT,WAAY;AACf,QAAAF,EAAM,OAAQ;AAAA,MACjB;AAAA,IACb,GAAW,CAACE,KAAUC,CAAS,CAAC;AAAA,EAC3B;AACL;","x_google_ignoreList":[0]}
|
package/dist/index.es527.js
CHANGED
|
@@ -1,8 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { getNonce as o } from "./index.es528.js";
|
|
2
|
+
function r() {
|
|
3
|
+
if (!document)
|
|
4
|
+
return null;
|
|
5
|
+
var t = document.createElement("style");
|
|
6
|
+
t.type = "text/css";
|
|
7
|
+
var e = o();
|
|
8
|
+
return e && t.setAttribute("nonce", e), t;
|
|
9
|
+
}
|
|
10
|
+
function l(t, e) {
|
|
11
|
+
t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
|
|
12
|
+
}
|
|
13
|
+
function a(t) {
|
|
14
|
+
var e = document.head || document.getElementsByTagName("head")[0];
|
|
15
|
+
e.appendChild(t);
|
|
16
|
+
}
|
|
17
|
+
var c = function() {
|
|
18
|
+
var t = 0, e = null;
|
|
19
|
+
return {
|
|
20
|
+
add: function(n) {
|
|
21
|
+
t == 0 && (e = r()) && (l(e, n), a(e)), t++;
|
|
22
|
+
},
|
|
23
|
+
remove: function() {
|
|
24
|
+
t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
4
27
|
};
|
|
5
28
|
export {
|
|
6
|
-
|
|
29
|
+
c as stylesheetSingleton
|
|
7
30
|
};
|
|
8
31
|
//# sourceMappingURL=index.es527.js.map
|
package/dist/index.es527.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es527.js","sources":["../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es527.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAU;AACtB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACH;AAAA,IACD,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAEpB;AAAA,EACJ;AACL;","x_google_ignoreList":[0]}
|
package/dist/index.es528.js
CHANGED
|
@@ -1,26 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
right: 0,
|
|
5
|
-
gap: 0
|
|
6
|
-
}, e = function(t) {
|
|
7
|
-
return parseInt(t || "", 10) || 0;
|
|
8
|
-
}, o = function(t) {
|
|
9
|
-
var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
|
|
10
|
-
return [e(i), e(r), e(d)];
|
|
11
|
-
}, f = function(t) {
|
|
12
|
-
if (t === void 0 && (t = "margin"), typeof window > "u")
|
|
13
|
-
return a;
|
|
14
|
-
var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
|
|
15
|
-
return {
|
|
16
|
-
left: n[0],
|
|
17
|
-
top: n[1],
|
|
18
|
-
right: n[2],
|
|
19
|
-
gap: Math.max(0, r - i + n[2] - n[0])
|
|
20
|
-
};
|
|
1
|
+
var e = function() {
|
|
2
|
+
if (typeof __webpack_nonce__ < "u")
|
|
3
|
+
return __webpack_nonce__;
|
|
21
4
|
};
|
|
22
5
|
export {
|
|
23
|
-
|
|
24
|
-
a as zeroGap
|
|
6
|
+
e as getNonce
|
|
25
7
|
};
|
|
26
8
|
//# sourceMappingURL=index.es528.js.map
|
package/dist/index.es528.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es528.js","sources":["../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es528.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
|
package/dist/index.es530.js
CHANGED
|
@@ -7,7 +7,7 @@ import { VisuallyHidden as b } from "./index.es553.js";
|
|
|
7
7
|
import { extractProps as y } from "./index.es532.js";
|
|
8
8
|
import { mapResponsiveProp as E, mapButtonSizeToSpinnerSize as g } from "./index.es569.js";
|
|
9
9
|
import { marginPropDefs as h } from "./index.es534.js";
|
|
10
|
-
import { Root as z } from "./index.
|
|
10
|
+
import { Root as z } from "./index.es473.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.es535.js
CHANGED
package/dist/index.es539.js
CHANGED
|
@@ -3,8 +3,8 @@ import G from "./index.es529.js";
|
|
|
3
3
|
import { getMatchingGrayColor as N } from "./index.es550.js";
|
|
4
4
|
import { themePropDefs as o } from "./index.es551.js";
|
|
5
5
|
import { Provider as b } from "./index.es552.js";
|
|
6
|
-
import { Provider as w } from "./index.
|
|
7
|
-
import { Root as D } from "./index.
|
|
6
|
+
import { Provider as w } from "./index.es475.js";
|
|
7
|
+
import { Root as D } from "./index.es473.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.es540.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as i from "react";
|
|
2
|
-
import { composeEventHandlers as P } from "./index.
|
|
3
|
-
import { useComposedRefs as A } from "./index.
|
|
4
|
-
import { createContextScope as G } from "./index.
|
|
5
|
-
import { DismissableLayer as H } from "./index.
|
|
6
|
-
import { useFocusGuards as K } from "./index.
|
|
7
|
-
import { FocusScope as $ } from "./index.
|
|
8
|
-
import { useId as U } from "./index.
|
|
9
|
-
import { createPopperScope as O, Root as V, Anchor as _, Content as W, Arrow as Z } from "./index.
|
|
10
|
-
import { Portal as q } from "./index.
|
|
11
|
-
import { Presence as E } from "./index.
|
|
12
|
-
import { Primitive as w } from "./index.
|
|
13
|
-
import { createSlot as z } from "./index.
|
|
14
|
-
import { useControllableState as B } from "./index.
|
|
15
|
-
import { hideOthers as J } from "./index.
|
|
16
|
-
import Q from "./index.
|
|
2
|
+
import { composeEventHandlers as P } from "./index.es463.js";
|
|
3
|
+
import { useComposedRefs as A } from "./index.es461.js";
|
|
4
|
+
import { createContextScope as G } from "./index.es462.js";
|
|
5
|
+
import { DismissableLayer as H } from "./index.es476.js";
|
|
6
|
+
import { useFocusGuards as K } from "./index.es477.js";
|
|
7
|
+
import { FocusScope as $ } from "./index.es478.js";
|
|
8
|
+
import { useId as U } from "./index.es470.js";
|
|
9
|
+
import { createPopperScope as O, Root as V, Anchor as _, Content as W, Arrow as Z } from "./index.es479.js";
|
|
10
|
+
import { Portal as q } from "./index.es480.js";
|
|
11
|
+
import { Presence as E } from "./index.es467.js";
|
|
12
|
+
import { Primitive as w } from "./index.es468.js";
|
|
13
|
+
import { createSlot as z } from "./index.es473.js";
|
|
14
|
+
import { useControllableState as B } from "./index.es464.js";
|
|
15
|
+
import { hideOthers as J } from "./index.es482.js";
|
|
16
|
+
import Q from "./index.es483.js";
|
|
17
17
|
import { j as p } from "./index.es235.js";
|
|
18
18
|
var x = "Popover", [j, Oo] = G(x, [
|
|
19
19
|
O
|
package/dist/index.es547.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.
|
|
6
|
-
import { useCallbackRef as x } from "./index.
|
|
7
|
-
import { useDirection as ce } from "./index.
|
|
8
|
-
import { useLayoutEffect as se } from "./index.
|
|
9
|
-
import { clamp as ie } from "./index.
|
|
10
|
-
import { composeEventHandlers as C } from "./index.
|
|
2
|
+
import { Primitive as L } from "./index.es468.js";
|
|
3
|
+
import { Presence as O } from "./index.es467.js";
|
|
4
|
+
import { createContextScope as le } from "./index.es462.js";
|
|
5
|
+
import { useComposedRefs as T } from "./index.es461.js";
|
|
6
|
+
import { useCallbackRef as x } from "./index.es471.js";
|
|
7
|
+
import { useDirection as ce } from "./index.es475.js";
|
|
8
|
+
import { useLayoutEffect as se } from "./index.es472.js";
|
|
9
|
+
import { clamp as ie } from "./index.es582.js";
|
|
10
|
+
import { composeEventHandlers as C } from "./index.es463.js";
|
|
11
11
|
import { j as b } from "./index.es235.js";
|
|
12
12
|
function ae(e, t) {
|
|
13
13
|
return c.useReducer((r, l) => t[r][l] ?? r, e);
|
package/dist/index.es552.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as a from "react";
|
|
2
|
-
import { composeEventHandlers as y } from "./index.
|
|
3
|
-
import { useComposedRefs as A } from "./index.
|
|
4
|
-
import { createContextScope as G } from "./index.
|
|
5
|
-
import { DismissableLayer as F } from "./index.
|
|
6
|
-
import { createPopperScope as j, Anchor as B, Content as U, Arrow as V } from "./index.
|
|
7
|
-
import { Presence as Y } from "./index.
|
|
8
|
-
import { Primitive as q } from "./index.
|
|
9
|
-
import { createSlottable as X } from "./index.
|
|
2
|
+
import { composeEventHandlers as y } from "./index.es463.js";
|
|
3
|
+
import { useComposedRefs as A } from "./index.es461.js";
|
|
4
|
+
import { createContextScope as G } from "./index.es462.js";
|
|
5
|
+
import { DismissableLayer as F } from "./index.es476.js";
|
|
6
|
+
import { createPopperScope as j, Anchor as B, Content as U, Arrow as V } from "./index.es479.js";
|
|
7
|
+
import { Presence as Y } from "./index.es467.js";
|
|
8
|
+
import { Primitive as q } from "./index.es468.js";
|
|
9
|
+
import { createSlottable as X } from "./index.es473.js";
|
|
10
10
|
import { Root as K } from "./index.es554.js";
|
|
11
11
|
import { j as d } from "./index.es235.js";
|
|
12
12
|
var [E, ge] = G("Tooltip", [
|
package/dist/index.es554.js
CHANGED
package/dist/index.es568.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { asChildPropDef as a } from "./index.es570.js";
|
|
2
|
-
import { accentColorPropDef as s } from "./index.
|
|
3
|
-
import { highContrastPropDef as o } from "./index.
|
|
2
|
+
import { accentColorPropDef as s } from "./index.es580.js";
|
|
3
|
+
import { highContrastPropDef as o } from "./index.es581.js";
|
|
4
4
|
import { radiusPropDef as e } from "./index.es572.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 {
|
package/dist/index.es580.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
return Math.min(n, Math.max(a, t));
|
|
3
|
-
}
|
|
1
|
+
const e = ["gray", "gold", "bronze", "brown", "yellow", "amber", "orange", "tomato", "red", "ruby", "crimson", "pink", "plum", "purple", "violet", "iris", "indigo", "blue", "cyan", "teal", "jade", "green", "grass", "lime", "mint", "sky"], o = { color: { type: "enum", values: e, default: "" } };
|
|
4
2
|
export {
|
|
5
|
-
|
|
3
|
+
o as accentColorPropDef,
|
|
4
|
+
e as accentColors
|
|
6
5
|
};
|
|
7
6
|
//# sourceMappingURL=index.es580.js.map
|
package/dist/index.es580.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es580.js","sources":["../node_modules/@radix-ui/
|
|
1
|
+
{"version":3,"file":"index.es580.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/color.prop.js"],"sourcesContent":["const o=[\"gray\",\"gold\",\"bronze\",\"brown\",\"yellow\",\"amber\",\"orange\",\"tomato\",\"red\",\"ruby\",\"crimson\",\"pink\",\"plum\",\"purple\",\"violet\",\"iris\",\"indigo\",\"blue\",\"cyan\",\"teal\",\"jade\",\"green\",\"grass\",\"lime\",\"mint\",\"sky\"],e=[\"auto\",\"gray\",\"mauve\",\"slate\",\"sage\",\"olive\",\"sand\"],r={color:{type:\"enum\",values:o,default:void 0}},s={color:{type:\"enum\",values:o,default:\"\"}};export{s as accentColorPropDef,o as accentColors,r as colorPropDef,e as grayColors};\n//# sourceMappingURL=color.prop.js.map\n"],"names":["o","s"],"mappings":"AAAK,MAACA,IAAE,CAAC,QAAO,QAAO,UAAS,SAAQ,UAAS,SAAQ,UAAS,UAAS,OAAM,QAAO,WAAU,QAAO,QAAO,UAAS,UAAS,QAAO,UAAS,QAAO,QAAO,QAAO,QAAO,SAAQ,SAAQ,QAAO,QAAO,KAAK,GAA0GC,IAAE,EAAC,OAAM,EAAC,MAAK,QAAO,QAAOD,GAAE,SAAQ,GAAE,EAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es581.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
const
|
|
1
|
+
const t = { highContrast: { type: "boolean", className: "rt-high-contrast", default: void 0 } };
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
e as accentColors
|
|
3
|
+
t as highContrastPropDef
|
|
5
4
|
};
|
|
6
5
|
//# sourceMappingURL=index.es581.js.map
|
package/dist/index.es581.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es581.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/
|
|
1
|
+
{"version":3,"file":"index.es581.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.js"],"sourcesContent":["const o={highContrast:{type:\"boolean\",className:\"rt-high-contrast\",default:void 0}};export{o as highContrastPropDef};\n//# sourceMappingURL=high-contrast.prop.js.map\n"],"names":["o"],"mappings":"AAAK,MAACA,IAAE,EAAC,cAAa,EAAC,MAAK,WAAU,WAAU,oBAAmB,SAAQ,OAAM,EAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es582.js
CHANGED
package/dist/index.es582.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es582.js","sources":["../node_modules/@radix-ui/
|
|
1
|
+
{"version":3,"file":"index.es582.js","sources":["../node_modules/@radix-ui/number/dist/index.mjs"],"sourcesContent":["// packages/core/number/src/number.ts\nfunction clamp(value, [min, max]) {\n return Math.min(max, Math.max(min, value));\n}\nexport {\n clamp\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["clamp","value","min","max"],"mappings":"AACA,SAASA,EAAMC,GAAO,CAACC,GAAKC,CAAG,GAAG;AAChC,SAAO,KAAK,IAAIA,GAAK,KAAK,IAAID,GAAKD,CAAK,CAAC;AAC3C;","x_google_ignoreList":[0]}
|