@blockscout/ui-toolkit 0.0.1-alpha.0 → 0.0.1-alpha.1
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/_virtual/_commonjsHelpers.js +2 -6
- package/dist/chakra/color-mode.js +5 -5
- package/dist/chakra/link.js +1 -1
- package/dist/node_modules/react-scroll/modules/components/Link.js +1 -1
- package/package.json +4 -2
- package/dist/_virtual/_interop_require_default.js +0 -4
- package/dist/_virtual/_interop_require_wildcard.js +0 -4
- package/dist/_virtual/add-base-path.js +0 -4
- package/dist/_virtual/add-locale.js +0 -4
- package/dist/_virtual/add-locale2.js +0 -4
- package/dist/_virtual/add-path-prefix.js +0 -4
- package/dist/_virtual/app-paths.js +0 -4
- package/dist/_virtual/constants.js +0 -4
- package/dist/_virtual/detect-domain-locale.js +0 -4
- package/dist/_virtual/detect-domain-locale2.js +0 -4
- package/dist/_virtual/ensure-leading-slash.js +0 -4
- package/dist/_virtual/escape-regexp.js +0 -4
- package/dist/_virtual/format-url.js +0 -4
- package/dist/_virtual/get-domain-locale.js +0 -4
- package/dist/_virtual/has-base-path.js +0 -4
- package/dist/_virtual/index5.js +0 -4
- package/dist/_virtual/interception-routes.js +0 -4
- package/dist/_virtual/interpolate-as.js +0 -4
- package/dist/_virtual/is-dynamic.js +0 -4
- package/dist/_virtual/is-local-url.js +0 -4
- package/dist/_virtual/link.js +0 -7
- package/dist/_virtual/link3.js +0 -4
- package/dist/_virtual/normalize-locale-path.js +0 -4
- package/dist/_virtual/normalize-locale-path2.js +0 -4
- package/dist/_virtual/normalize-trailing-slash.js +0 -4
- package/dist/_virtual/omit.js +0 -4
- package/dist/_virtual/parse-path.js +0 -4
- package/dist/_virtual/path-has-prefix.js +0 -4
- package/dist/_virtual/querystring.js +0 -4
- package/dist/_virtual/remove-trailing-slash.js +0 -4
- package/dist/_virtual/request-idle-callback.js +0 -4
- package/dist/_virtual/resolve-href.js +0 -4
- package/dist/_virtual/route-matcher.js +0 -4
- package/dist/_virtual/route-regex.js +0 -4
- package/dist/_virtual/router-context.shared-runtime.js +0 -4
- package/dist/_virtual/segment.js +0 -4
- package/dist/_virtual/sorted-routes.js +0 -4
- package/dist/_virtual/use-intersection.js +0 -4
- package/dist/_virtual/use-merged-ref.js +0 -4
- package/dist/_virtual/utils2.js +0 -4
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -13
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -30
- package/dist/node_modules/next/dist/client/add-base-path.js +0 -24
- package/dist/node_modules/next/dist/client/add-locale.js +0 -25
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -25
- package/dist/node_modules/next/dist/client/get-domain-locale.js +0 -33
- package/dist/node_modules/next/dist/client/has-base-path.js +0 -23
- package/dist/node_modules/next/dist/client/link.js +0 -249
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +0 -23
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -26
- package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -40
- package/dist/node_modules/next/dist/client/resolve-href.js +0 -67
- package/dist/node_modules/next/dist/client/use-intersection.js +0 -85
- package/dist/node_modules/next/dist/client/use-merged-ref.js +0 -44
- package/dist/node_modules/next/dist/lib/constants.js +0 -285
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -21
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -28
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -37
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -20
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -39
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -57
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -90
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -49
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -22
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -29
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -23
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -29
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -64
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -20
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -42
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -167
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -154
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -21
- package/dist/node_modules/next/dist/shared/lib/segment.js +0 -49
- package/dist/node_modules/next/dist/shared/lib/utils.js +0 -166
- package/dist/node_modules/next/link.js +0 -8
- package/dist/node_modules/next-themes/dist/index.js +0 -85
- /package/dist/_virtual/{Link2.js → Link.js} +0 -0
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
var
|
|
2
|
-
function l(e) {
|
|
3
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4
|
-
}
|
|
1
|
+
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
5
2
|
export {
|
|
6
|
-
|
|
7
|
-
l as getDefaultExportFromCjs
|
|
3
|
+
e as commonjsGlobal
|
|
8
4
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as t } from "../_virtual/jsx-runtime.js";
|
|
2
|
-
import { ThemeProvider as
|
|
2
|
+
import { ThemeProvider as l, useTheme as s } from "next-themes";
|
|
3
3
|
import n from "../configs/app/index.js";
|
|
4
|
-
function
|
|
4
|
+
function a(e) {
|
|
5
5
|
var o;
|
|
6
6
|
return /* @__PURE__ */ t.jsx(
|
|
7
|
-
|
|
7
|
+
l,
|
|
8
8
|
{
|
|
9
9
|
attribute: "class",
|
|
10
10
|
scriptProps: { "data-cfasync": "false" },
|
|
@@ -15,7 +15,7 @@ function u(e) {
|
|
|
15
15
|
);
|
|
16
16
|
}
|
|
17
17
|
function i() {
|
|
18
|
-
const { resolvedTheme: e, setTheme: o } =
|
|
18
|
+
const { resolvedTheme: e, setTheme: o } = s();
|
|
19
19
|
return {
|
|
20
20
|
colorMode: e,
|
|
21
21
|
setColorMode: o,
|
|
@@ -29,7 +29,7 @@ function m(e, o) {
|
|
|
29
29
|
return r === "light" ? e : o;
|
|
30
30
|
}
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
a as ColorModeProvider,
|
|
33
33
|
i as useColorMode,
|
|
34
34
|
m as useColorModeValue
|
|
35
35
|
};
|
package/dist/chakra/link.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as r } from "../_virtual/jsx-runtime.js";
|
|
2
2
|
import { Link as f, LinkOverlay as h, Icon as b, LinkBox as g } from "@chakra-ui/react";
|
|
3
|
-
import u from "
|
|
3
|
+
import u from "next/link";
|
|
4
4
|
import p from "react";
|
|
5
5
|
import v from "../icons/link_external.svg.js";
|
|
6
6
|
import { Skeleton as k } from "./skeleton.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockscout/ui-toolkit",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./components/*": {
|
|
@@ -37,7 +37,9 @@
|
|
|
37
37
|
"@chakra-ui/react": "3.15.0",
|
|
38
38
|
"@emotion/react": "11.14.0",
|
|
39
39
|
"react": "18.3.1",
|
|
40
|
-
"react-dom": "18.3.1"
|
|
40
|
+
"react-dom": "18.3.1",
|
|
41
|
+
"next": "15.2.3",
|
|
42
|
+
"next-themes": "0.4.4"
|
|
41
43
|
},
|
|
42
44
|
"devDependencies": {
|
|
43
45
|
"@types/node": "20.16.7",
|
package/dist/_virtual/index5.js
DELETED
package/dist/_virtual/link.js
DELETED
package/dist/_virtual/link3.js
DELETED
package/dist/_virtual/omit.js
DELETED
package/dist/_virtual/segment.js
DELETED
package/dist/_virtual/utils2.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { __exports as r } from "../../../../_virtual/_interop_require_default.js";
|
|
2
|
-
var _;
|
|
3
|
-
function i() {
|
|
4
|
-
if (_) return r;
|
|
5
|
-
_ = 1;
|
|
6
|
-
function u(e) {
|
|
7
|
-
return e && e.__esModule ? e : { default: e };
|
|
8
|
-
}
|
|
9
|
-
return r._ = u, r;
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
i as __require
|
|
13
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { __exports as u } from "../../../../_virtual/_interop_require_wildcard.js";
|
|
2
|
-
var c;
|
|
3
|
-
function o() {
|
|
4
|
-
if (c) return u;
|
|
5
|
-
c = 1;
|
|
6
|
-
function p(r) {
|
|
7
|
-
if (typeof WeakMap != "function") return null;
|
|
8
|
-
var n = /* @__PURE__ */ new WeakMap(), e = /* @__PURE__ */ new WeakMap();
|
|
9
|
-
return (p = function(t) {
|
|
10
|
-
return t ? e : n;
|
|
11
|
-
})(r);
|
|
12
|
-
}
|
|
13
|
-
function f(r, n) {
|
|
14
|
-
if (!n && r && r.__esModule) return r;
|
|
15
|
-
if (r === null || typeof r != "object" && typeof r != "function") return { default: r };
|
|
16
|
-
var e = p(n);
|
|
17
|
-
if (e && e.has(r)) return e.get(r);
|
|
18
|
-
var t = { __proto__: null }, _ = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
19
|
-
for (var i in r)
|
|
20
|
-
if (i !== "default" && Object.prototype.hasOwnProperty.call(r, i)) {
|
|
21
|
-
var a = _ ? Object.getOwnPropertyDescriptor(r, i) : null;
|
|
22
|
-
a && (a.get || a.set) ? Object.defineProperty(t, i, a) : t[i] = r[i];
|
|
23
|
-
}
|
|
24
|
-
return t.default = r, e && e.set(r, t), t;
|
|
25
|
-
}
|
|
26
|
-
return u._ = f, u;
|
|
27
|
-
}
|
|
28
|
-
export {
|
|
29
|
-
o as __require
|
|
30
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { __module as a } from "../../../../_virtual/add-base-path.js";
|
|
2
|
-
import { __require as _ } from "../shared/lib/router/utils/add-path-prefix.js";
|
|
3
|
-
import { __require as l } from "./normalize-trailing-slash.js";
|
|
4
|
-
var t;
|
|
5
|
-
function h() {
|
|
6
|
-
return t ? a.exports : (t = 1, function(u, e) {
|
|
7
|
-
Object.defineProperty(e, "__esModule", {
|
|
8
|
-
value: !0
|
|
9
|
-
}), Object.defineProperty(e, "addBasePath", {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: function() {
|
|
12
|
-
return f;
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
const i = _(), d = l(), n = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
16
|
-
function f(r, o) {
|
|
17
|
-
return (0, d.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !o ? r : (0, i.addPathPrefix)(r, n));
|
|
18
|
-
}
|
|
19
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), u.exports = e.default);
|
|
20
|
-
}(a, a.exports), a.exports);
|
|
21
|
-
}
|
|
22
|
-
export {
|
|
23
|
-
h as __require
|
|
24
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __module as a } from "../../../../_virtual/add-locale.js";
|
|
2
|
-
import { __require as f } from "./normalize-trailing-slash.js";
|
|
3
|
-
import { __require as c } from "../shared/lib/router/utils/add-locale.js";
|
|
4
|
-
var i;
|
|
5
|
-
function g() {
|
|
6
|
-
return i ? a.exports : (i = 1, function(o, e) {
|
|
7
|
-
Object.defineProperty(e, "__esModule", {
|
|
8
|
-
value: !0
|
|
9
|
-
}), Object.defineProperty(e, "addLocale", {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: function() {
|
|
12
|
-
return l;
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
const d = f(), l = function(t) {
|
|
16
|
-
for (var u = arguments.length, n = new Array(u > 1 ? u - 1 : 0), r = 1; r < u; r++)
|
|
17
|
-
n[r - 1] = arguments[r];
|
|
18
|
-
return process.env.__NEXT_I18N_SUPPORT ? (0, d.normalizePathTrailingSlash)(c().addLocale(t, ...n)) : t;
|
|
19
|
-
};
|
|
20
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), o.exports = e.default);
|
|
21
|
-
}(a, a.exports), a.exports);
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
g as __require
|
|
25
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __module as u } from "../../../../_virtual/detect-domain-locale.js";
|
|
2
|
-
import { __require as c } from "../shared/lib/i18n/detect-domain-locale.js";
|
|
3
|
-
var a;
|
|
4
|
-
function d() {
|
|
5
|
-
return a ? u.exports : (a = 1, function(o, e) {
|
|
6
|
-
Object.defineProperty(e, "__esModule", {
|
|
7
|
-
value: !0
|
|
8
|
-
}), Object.defineProperty(e, "detectDomainLocale", {
|
|
9
|
-
enumerable: !0,
|
|
10
|
-
get: function() {
|
|
11
|
-
return i;
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
const i = function() {
|
|
15
|
-
for (var n = arguments.length, r = new Array(n), t = 0; t < n; t++)
|
|
16
|
-
r[t] = arguments[t];
|
|
17
|
-
if (process.env.__NEXT_I18N_SUPPORT)
|
|
18
|
-
return c().detectDomainLocale(...r);
|
|
19
|
-
};
|
|
20
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), o.exports = e.default);
|
|
21
|
-
}(u, u.exports), u.exports);
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
d as __require
|
|
25
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { __module as a } from "../../../../_virtual/get-domain-locale.js";
|
|
2
|
-
import { __require as h } from "./normalize-trailing-slash.js";
|
|
3
|
-
import { __require as p } from "./normalize-locale-path.js";
|
|
4
|
-
import { __require as g } from "./detect-domain-locale.js";
|
|
5
|
-
var n;
|
|
6
|
-
function y() {
|
|
7
|
-
return n ? a.exports : (n = 1, function(i, e) {
|
|
8
|
-
Object.defineProperty(e, "__esModule", {
|
|
9
|
-
value: !0
|
|
10
|
-
}), Object.defineProperty(e, "getDomainLocale", {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: function() {
|
|
13
|
-
return c;
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
const l = h(), u = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
17
|
-
function c(r, f, s, d) {
|
|
18
|
-
if (process.env.__NEXT_I18N_SUPPORT) {
|
|
19
|
-
const m = p().normalizeLocalePath, _ = g().detectDomainLocale, o = f || m(r, s).detectedLocale, t = _(d, void 0, o);
|
|
20
|
-
if (t) {
|
|
21
|
-
const L = "http" + (t.http ? "" : "s") + "://", P = o === t.defaultLocale ? "" : "/" + o;
|
|
22
|
-
return "" + L + t.domain + (0, l.normalizePathTrailingSlash)("" + u + P + r);
|
|
23
|
-
}
|
|
24
|
-
return !1;
|
|
25
|
-
} else
|
|
26
|
-
return !1;
|
|
27
|
-
}
|
|
28
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), i.exports = e.default);
|
|
29
|
-
}(a, a.exports), a.exports);
|
|
30
|
-
}
|
|
31
|
-
export {
|
|
32
|
-
y as __require
|
|
33
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { __module as t } from "../../../../_virtual/has-base-path.js";
|
|
2
|
-
import { __require as s } from "../shared/lib/router/utils/path-has-prefix.js";
|
|
3
|
-
var a;
|
|
4
|
-
function _() {
|
|
5
|
-
return a ? t.exports : (a = 1, function(u, e) {
|
|
6
|
-
Object.defineProperty(e, "__esModule", {
|
|
7
|
-
value: !0
|
|
8
|
-
}), Object.defineProperty(e, "hasBasePath", {
|
|
9
|
-
enumerable: !0,
|
|
10
|
-
get: function() {
|
|
11
|
-
return n;
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
const r = s(), f = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
15
|
-
function n(i) {
|
|
16
|
-
return (0, r.pathHasPrefix)(i, f);
|
|
17
|
-
}
|
|
18
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), u.exports = e.default);
|
|
19
|
-
}(t, t.exports), t.exports);
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
_ as __require
|
|
23
|
-
};
|