highsoft-ui 1.0.111 → 1.0.113

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.
Files changed (68) hide show
  1. package/dist/Button-Bbc4vmW_.js +45 -0
  2. package/dist/Container-LAkF4ShX.js +11 -0
  3. package/dist/CookiePolicyModal-BH2uHybE.js +90 -0
  4. package/dist/Footer-DY0QJnxb.js +783 -0
  5. package/dist/GPTInput-DRFGKJ2u.js +66 -0
  6. package/dist/Header-DbSqXuvO.js +383 -0
  7. package/dist/Logo-CZ5LYqub.js +194 -0
  8. package/dist/NewTag-C-3mRyvV.js +26 -0
  9. package/dist/Notification-_vWBqFiA.js +96 -0
  10. package/dist/PrefPanel-DmiRZs1n.js +1548 -0
  11. package/dist/Search-D_fsZ-hm.js +4673 -0
  12. package/dist/clsx-ROFf4vs9.js +16 -0
  13. package/dist/components/Button/index.js +2 -81
  14. package/dist/components/Container/index.js +2 -11
  15. package/dist/components/Footer/CookiePolicyModal.js +2 -9
  16. package/dist/components/Footer/index.js +2 -833
  17. package/dist/components/GPTInput/index.js +2 -86
  18. package/dist/components/Header/index.js +2 -611
  19. package/dist/components/Logo/index.js +2 -255
  20. package/dist/components/NewTag/index.js +2 -54
  21. package/dist/components/Notification/index.js +2 -100
  22. package/dist/components/PrefPanel/index.js +2 -1945
  23. package/dist/components/Search/index.js +2 -9
  24. package/dist/components/ThemeLoader/index.js +6 -34
  25. package/dist/components/icons/Bubble.js +37 -52
  26. package/dist/components/icons/MadeInNorway.js +110 -145
  27. package/dist/components/icons/Plane.js +17 -23
  28. package/dist/dist-0f0-S8_q.js +211 -0
  29. package/dist/dist-CjrKJb_1.js +27 -0
  30. package/dist/es2015-CzBBLWyD.js +1140 -0
  31. package/dist/esm-C1TDRARf.js +479 -0
  32. package/dist/highsoft-ui.css +2 -1
  33. package/dist/main.js +12 -28
  34. package/dist/php-client.js +9 -9
  35. package/dist/php.js +10 -16
  36. package/dist/utils-C4QGLbxr.js +162 -0
  37. package/dist/utils.js +2 -11
  38. package/package.json +14 -8
  39. package/dist/Announcement03-obPaH4LK.js +0 -23
  40. package/dist/Check-Cm4roSEj.js +0 -23
  41. package/dist/CookiePolicyModal-C5FOuvB-.js +0 -82
  42. package/dist/XClose-CCu1vrNS.js +0 -23
  43. package/dist/clsx-OuTLNxxd.js +0 -16
  44. package/dist/extends-hS2Bh-Yp.js +0 -12
  45. package/dist/index-CUCGgBGk.js +0 -5654
  46. package/dist/index-CYz8LhDn.js +0 -1110
  47. package/dist/index-DThcOQDt.js +0 -234
  48. package/dist/index-hYJmp-0x.js +0 -30
  49. package/dist/utils-BKDJp1i0.js +0 -140
  50. /package/dist/{components → lib/components}/Button/index.d.ts +0 -0
  51. /package/dist/{components → lib/components}/Container/index.d.ts +0 -0
  52. /package/dist/{components → lib/components}/Footer/CookiePolicyModal.d.ts +0 -0
  53. /package/dist/{components → lib/components}/Footer/index.d.ts +0 -0
  54. /package/dist/{components → lib/components}/GPTInput/index.d.ts +0 -0
  55. /package/dist/{components → lib/components}/Header/index.d.ts +0 -0
  56. /package/dist/{components → lib/components}/Logo/index.d.ts +0 -0
  57. /package/dist/{components → lib/components}/NewTag/index.d.ts +0 -0
  58. /package/dist/{components → lib/components}/Notification/index.d.ts +0 -0
  59. /package/dist/{components → lib/components}/PrefPanel/index.d.ts +0 -0
  60. /package/dist/{components → lib/components}/Search/index.d.ts +0 -0
  61. /package/dist/{components → lib/components}/ThemeLoader/index.d.ts +0 -0
  62. /package/dist/{components → lib/components}/icons/Bubble.d.ts +0 -0
  63. /package/dist/{components → lib/components}/icons/MadeInNorway.d.ts +0 -0
  64. /package/dist/{components → lib/components}/icons/Plane.d.ts +0 -0
  65. /package/dist/{main.d.ts → lib/main.d.ts} +0 -0
  66. /package/dist/{php-client.d.ts → lib/php-client.d.ts} +0 -0
  67. /package/dist/{php.d.ts → lib/php.d.ts} +0 -0
  68. /package/dist/{utils.d.ts → lib/utils.d.ts} +0 -0
package/dist/php.js CHANGED
@@ -1,18 +1,12 @@
1
- import { writeFileSync as o } from "node:fs";
2
- import { renderToString as p } from "react-dom/server";
3
- function d(n, r) {
4
- const t = Object.entries(r).map(([i, e]) => `function hsui_${i}() {
5
- ?><div id="hsui-${i}" style="display: contents;">${p(e, { identifierPrefix: `hsui-${i}-` })}</div><?php
6
- }`);
7
- o(
8
- n,
9
- `<?php
1
+ import { writeFileSync as e } from "node:fs";
2
+ import { renderToString as t } from "react-dom/server";
3
+ //#region lib/php.ts
4
+ function n(n, r) {
5
+ e(n, `<?php
10
6
 
11
- ${t.join(`
12
-
13
- `)}`
14
- );
7
+ ${Object.entries(r).map(([e, n]) => `function hsui_${e}() {
8
+ ?><div id="hsui-${e}" style="display: contents;">${t(n, { identifierPrefix: `hsui-${e}-` })}</div><?php
9
+ }`).join("\n\n")}`);
15
10
  }
16
- export {
17
- d as render
18
- };
11
+ //#endregion
12
+ export { n as render };
@@ -0,0 +1,162 @@
1
+ import * as e from "react";
2
+ import { useEffect as t, useLayoutEffect as n, useState as r } from "react";
3
+ //#region node_modules/next-themes/dist/index.mjs
4
+ var i = (e, t, n, r, i, a, o, s) => {
5
+ let c = document.documentElement, l = ["light", "dark"];
6
+ function u(t) {
7
+ (Array.isArray(e) ? e : [e]).forEach((e) => {
8
+ let n = e === "class", r = n && a ? i.map((e) => a[e] || e) : i;
9
+ n ? (c.classList.remove(...r), c.classList.add(a && a[t] ? a[t] : t)) : c.setAttribute(e, t);
10
+ }), d(t);
11
+ }
12
+ function d(e) {
13
+ s && l.includes(e) && (c.style.colorScheme = e);
14
+ }
15
+ function f() {
16
+ return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
17
+ }
18
+ if (r) u(r);
19
+ else try {
20
+ let e = localStorage.getItem(t) || n;
21
+ u(o && e === "system" ? f() : e);
22
+ } catch {}
23
+ }, a = ["light", "dark"], o = "(prefers-color-scheme: dark)", s = typeof window > "u", c = e.createContext(void 0), l = {
24
+ setTheme: (e) => {},
25
+ themes: []
26
+ }, u = () => e.useContext(c) ?? l, d = (t) => e.useContext(c) ? e.createElement(e.Fragment, null, t.children) : e.createElement(p, { ...t }), f = ["light", "dark"], p = ({ forcedTheme: t, disableTransitionOnChange: n = !1, enableSystem: r = !0, enableColorScheme: i = !0, storageKey: s = "theme", themes: l = f, defaultTheme: u = r ? "system" : "light", attribute: d = "data-theme", value: p, children: v, nonce: y, scriptProps: b }) => {
27
+ let [x, S] = e.useState(() => h(s, u)), [C, w] = e.useState(() => x === "system" ? _() : x), T = p ? Object.values(p) : l, E = e.useCallback((e) => {
28
+ let t = e;
29
+ if (!t) return;
30
+ e === "system" && r && (t = _());
31
+ let o = p ? p[t] : t, s = n ? g(y) : null, c = document.documentElement, l = (e) => {
32
+ e === "class" ? (c.classList.remove(...T), o && c.classList.add(o)) : e.startsWith("data-") && (o ? c.setAttribute(e, o) : c.removeAttribute(e));
33
+ };
34
+ if (Array.isArray(d) ? d.forEach(l) : l(d), i) {
35
+ let e = a.includes(u) ? u : null, n = a.includes(t) ? t : e;
36
+ c.style.colorScheme = n;
37
+ }
38
+ s?.();
39
+ }, [y]), D = e.useCallback((e) => {
40
+ let t = typeof e == "function" ? e(x) : e;
41
+ S(t);
42
+ try {
43
+ localStorage.setItem(s, t);
44
+ } catch {}
45
+ }, [x]), O = e.useCallback((e) => {
46
+ w(_(e)), x === "system" && r && !t && E("system");
47
+ }, [x, t]);
48
+ e.useEffect(() => {
49
+ let e = window.matchMedia(o);
50
+ return e.addListener(O), O(e), () => e.removeListener(O);
51
+ }, [O]), e.useEffect(() => {
52
+ let e = (e) => {
53
+ e.key === s && (e.newValue ? S(e.newValue) : D(u));
54
+ };
55
+ return window.addEventListener("storage", e), () => window.removeEventListener("storage", e);
56
+ }, [D]), e.useEffect(() => {
57
+ E(t ?? x);
58
+ }, [t, x]);
59
+ let k = e.useMemo(() => ({
60
+ theme: x,
61
+ setTheme: D,
62
+ forcedTheme: t,
63
+ resolvedTheme: x === "system" ? C : x,
64
+ themes: r ? [...l, "system"] : l,
65
+ systemTheme: r ? C : void 0
66
+ }), [
67
+ x,
68
+ D,
69
+ t,
70
+ C,
71
+ r,
72
+ l
73
+ ]);
74
+ return e.createElement(c.Provider, { value: k }, e.createElement(m, {
75
+ forcedTheme: t,
76
+ storageKey: s,
77
+ attribute: d,
78
+ enableSystem: r,
79
+ enableColorScheme: i,
80
+ defaultTheme: u,
81
+ value: p,
82
+ themes: l,
83
+ nonce: y,
84
+ scriptProps: b
85
+ }), v);
86
+ }, m = e.memo(({ forcedTheme: t, storageKey: n, attribute: r, enableSystem: a, enableColorScheme: o, defaultTheme: s, value: c, themes: l, nonce: u, scriptProps: d }) => {
87
+ let f = JSON.stringify([
88
+ r,
89
+ n,
90
+ s,
91
+ t,
92
+ l,
93
+ c,
94
+ a,
95
+ o
96
+ ]).slice(1, -1);
97
+ return e.createElement("script", {
98
+ ...d,
99
+ suppressHydrationWarning: !0,
100
+ nonce: typeof window > "u" ? u : "",
101
+ dangerouslySetInnerHTML: { __html: `(${i.toString()})(${f})` }
102
+ });
103
+ }), h = (e, t) => {
104
+ if (s) return;
105
+ let n;
106
+ try {
107
+ n = localStorage.getItem(e) || void 0;
108
+ } catch {}
109
+ return n || t;
110
+ }, g = (e) => {
111
+ let t = document.createElement("style");
112
+ return e && t.setAttribute("nonce", e), t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")), document.head.appendChild(t), () => {
113
+ window.getComputedStyle(document.body), setTimeout(() => {
114
+ document.head.removeChild(t);
115
+ }, 1);
116
+ };
117
+ }, _ = (e) => (e ||= window.matchMedia(o), e.matches ? "dark" : "light"), v = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
118
+ function y(e) {
119
+ return !!e.match(v);
120
+ }
121
+ function b(e) {
122
+ let [n, i] = r(!1);
123
+ return t(() => {
124
+ let t = window.matchMedia(e);
125
+ i(t.matches);
126
+ let n = (e) => {
127
+ i(e.matches);
128
+ };
129
+ return t.addEventListener("change", n), () => t.removeEventListener("change", n);
130
+ }, [e]), n;
131
+ }
132
+ var x = typeof window < "u" ? n : t;
133
+ function S() {
134
+ let [e, t] = r(!1);
135
+ return x(() => {
136
+ t(!0);
137
+ }, []), e;
138
+ }
139
+ function C() {
140
+ let [e, t] = r(!1);
141
+ return [async (e) => {
142
+ if (e) try {
143
+ await navigator.clipboard.writeText(e), t(!0);
144
+ } finally {
145
+ setTimeout(() => t(!1), 2e3);
146
+ }
147
+ }, e];
148
+ }
149
+ function w() {
150
+ let e = S(), { resolvedTheme: n } = u(), [i, a] = r("light");
151
+ return t(() => {
152
+ if (!n) {
153
+ a(document.documentElement.dataset.theme || "light");
154
+ let e = new MutationObserver(() => {
155
+ a(document.documentElement.dataset.theme || "light");
156
+ });
157
+ return e.observe(document.documentElement, { attributeFilter: ["data-theme"] }), () => e.disconnect();
158
+ }
159
+ }, [n]), e && n || i;
160
+ }
161
+ //#endregion
162
+ export { S as a, d as c, b as i, u as l, C as n, w as o, x as r, y as s, v as t };
package/dist/utils.js CHANGED
@@ -1,11 +1,2 @@
1
- import { e as u, d as o, b as i, a as m, c as r, u as t, v as d } from "./utils-BKDJp1i0.js";
2
- import "react";
3
- export {
4
- u as emailRegex,
5
- o as useClipboard,
6
- i as useIsomorphicLayoutEffect,
7
- m as useMediaQuery,
8
- r as useMounted,
9
- t as useTheme,
10
- d as validateEmail
11
- };
1
+ import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./utils-C4QGLbxr.js";
2
+ export { o as emailRegex, n as useClipboard, i as useIsomorphicLayoutEffect, t as useMediaQuery, e as useMounted, r as useTheme, a as validateEmail };
package/package.json CHANGED
@@ -1,19 +1,25 @@
1
1
  {
2
2
  "name": "highsoft-ui",
3
- "version": "1.0.111",
3
+ "version": "1.0.113",
4
4
  "description": "Highsoft UI",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
- "types": "dist/main.d.ts",
7
+ "types": "dist/lib/main.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
10
  "import": "./dist/main.js",
11
- "types": "./dist/main.d.ts"
11
+ "types": "./dist/lib/main.d.ts"
12
12
  },
13
13
  "./css": "./dist/highsoft-ui.css",
14
14
  "./scss/variables": "./dist/scss/variables.scss",
15
- "./php": "./dist/php.js",
16
- "./php/client": "./dist/php-client.js",
15
+ "./php": {
16
+ "import": "./dist/php.js",
17
+ "types": "./dist/lib/php.d.ts"
18
+ },
19
+ "./php/client": {
20
+ "import": "./dist/php-client.js",
21
+ "types": "./dist/lib/php-client.d.ts"
22
+ },
17
23
  "./stylelint": "./stylelint.config.js"
18
24
  },
19
25
  "files": [
@@ -66,7 +72,7 @@
66
72
  "@types/react-dom": "^19.2.2",
67
73
  "@typescript-eslint/eslint-plugin": "^8.31.1",
68
74
  "@typescript-eslint/parser": "^8.31.1",
69
- "@vitejs/plugin-react-swc": "^4.0.0",
75
+ "@vitejs/plugin-react": "^6.0.1",
70
76
  "eslint": "^9.25.1",
71
77
  "eslint-config-prettier": "^10.1.2",
72
78
  "eslint-plugin-react": "^7.34.1",
@@ -84,9 +90,9 @@
84
90
  "stylelint": "^17.0.0",
85
91
  "stylelint-config-standard": "^40.0.0",
86
92
  "stylelint-config-standard-scss": "^17.0.0",
87
- "typescript": "^5.2.2",
93
+ "typescript": "^6.0.2",
88
94
  "typescript-eslint": "^8.31.1",
89
- "vite": "^7.0.0",
95
+ "vite": "^8.0.0",
90
96
  "vite-plugin-dts": "^4.5.3",
91
97
  "vite-plugin-lib-inject-css": "^2.0.1",
92
98
  "vite-plugin-static-copy": "^3.0.0"
@@ -1,23 +0,0 @@
1
- import { _ as r } from "./extends-hS2Bh-Yp.js";
2
- import "react";
3
- import { jsx as n } from "react/jsx-runtime";
4
- var s = function(o) {
5
- return /* @__PURE__ */ n("svg", r({
6
- xmlns: "http://www.w3.org/2000/svg",
7
- width: 24,
8
- height: 24,
9
- fill: "none",
10
- viewBox: "0 0 24 24"
11
- }, o, {
12
- children: /* @__PURE__ */ n("path", {
13
- stroke: "currentColor",
14
- strokeLinecap: "round",
15
- strokeLinejoin: "round",
16
- strokeWidth: 2,
17
- d: "M18.5 16c1.933 0 3.5-2.9101 3.5-6.5C22 5.9102 20.433 3 18.5 3m0 13c-1.933 0-3.5-2.9101-3.5-6.5C15 5.9102 16.567 3 18.5 3m0 13L5.4435 13.6261c-.9275-.1686-1.3912-.253-1.7662-.4371a3 3 0 0 1-1.5632-1.8731C2 10.914 2 10.4427 2 9.5s0-1.414.1141-1.816a3 3 0 0 1 1.5632-1.873c.375-.1841.8388-.2685 1.7662-.4371L18.5 3M5 14l.3939 5.514c.0374.5236.056.7855.17.9839a1 1 0 0 0 .4324.4026c.206.0995.4685.0995.9935.0995h1.7824c.6001 0 .9002 0 1.1223-.1197a1 1 0 0 0 .4397-.4748c.1023-.2306.0793-.5298.0333-1.1282L10 14.5"
18
- })
19
- }));
20
- };
21
- export {
22
- s as A
23
- };
@@ -1,23 +0,0 @@
1
- import { _ as t } from "./extends-hS2Bh-Yp.js";
2
- import "react";
3
- import { jsx as r } from "react/jsx-runtime";
4
- var h = function(o) {
5
- return /* @__PURE__ */ r("svg", t({
6
- xmlns: "http://www.w3.org/2000/svg",
7
- width: 24,
8
- height: 24,
9
- fill: "none",
10
- viewBox: "0 0 24 24"
11
- }, o, {
12
- children: /* @__PURE__ */ r("path", {
13
- stroke: "currentColor",
14
- strokeLinecap: "round",
15
- strokeLinejoin: "round",
16
- strokeWidth: 2,
17
- d: "M20 6 9 17l-5-5"
18
- })
19
- }));
20
- };
21
- export {
22
- h as C
23
- };
@@ -1,82 +0,0 @@
1
- import { jsxs as s, jsx as o } from "react/jsx-runtime";
2
- import { useState as l, useRef as a, useEffect as i } from "react";
3
- import { X as d } from "./XClose-CCu1vrNS.js";
4
- import { Button as _ } from "./components/Button/index.js";
5
- import { R as u, T as w, P as h, O as y, C as x, b as G, a as U } from "./index-DThcOQDt.js";
6
- const p = "wUsx_G_bottom", m = "wUsx_G_bottomLinks", C = "wUsx_G_cookiePolicy", b = "wUsx_G_cookiePolicyClose", k = "wUsx_G_copyright", f = "wUsx_G_discord", P = "wUsx_G_discordAvatars", g = "wUsx_G_discordAvatarStatus", v = "wUsx_G_discordContent", L = "wUsx_G_discordJoin", B = "wUsx_G_discordMembers", E = "wUsx_G_discordPlus", O = "wUsx_G_error", A = "wUsx_G_footer", M = "wUsx_G_help", S = "wUsx_G_helpBall", R = "wUsx_G_helpContent", j = "wUsx_G_helpItem", I = "wUsx_G_helpWays", J = "wUsx_G_highcharts", N = "wUsx_G_links", T = "wUsx_G_logo", W = "wUsx_G_newsletter", X = "wUsx_G_newsletterContent", q = "wUsx_G_newsletterError", z = "wUsx_G_norway", D = "wUsx_G_notCharts", F = "wUsx_G_online", H = "wUsx_G_outer", K = "wUsx_G_socials", Q = "wUsx_G_success", V = "wUsx_G_tabletBottomLeft", Y = "wUsx_G_tagged", Z = "wUsx_G_top", $ = "wUsx_G_youtube", oo = "wUsx_G_youtubeContent", to = "wUsx_G_youtubeOverlay", n = {
7
- bottom: p,
8
- bottomLinks: m,
9
- cookiePolicy: C,
10
- cookiePolicyClose: b,
11
- copyright: k,
12
- discord: f,
13
- discordAvatars: P,
14
- discordAvatarStatus: g,
15
- discordContent: v,
16
- discordJoin: L,
17
- discordMembers: B,
18
- discordPlus: E,
19
- error: O,
20
- footer: A,
21
- help: M,
22
- helpBall: S,
23
- helpContent: R,
24
- helpItem: j,
25
- helpWays: I,
26
- highcharts: J,
27
- links: N,
28
- logo: T,
29
- newsletter: W,
30
- newsletterContent: X,
31
- newsletterError: q,
32
- norway: z,
33
- notCharts: D,
34
- online: F,
35
- outer: H,
36
- socials: K,
37
- success: Q,
38
- tabletBottomLeft: V,
39
- tagged: Y,
40
- top: Z,
41
- youtube: $,
42
- youtubeContent: oo,
43
- youtubeOverlay: to
44
- };
45
- function io() {
46
- const [e, r] = l(!1), c = a(null);
47
- return i(() => {
48
- const t = () => r(!0);
49
- return document.addEventListener("hcCookiePolicy", t), () => document.removeEventListener("hcCookiePolicy", t);
50
- }, []), i(() => {
51
- queueMicrotask(() => {
52
- if (e && c.current) {
53
- const t = document.createElement("script");
54
- t.src = "https://consent.cookiebot.com/8be0770c-8b7f-4e2d-aeb5-2cfded81e177/cd.js", c.current.appendChild(t);
55
- }
56
- });
57
- }, [e]), /* @__PURE__ */ s(u, { open: e, onOpenChange: r, children: [
58
- /* @__PURE__ */ o(w, { asChild: !0, children: /* @__PURE__ */ o("button", { id: "cookiePolicyModal", children: "Cookie Policy" }) }),
59
- /* @__PURE__ */ s(h, { children: [
60
- /* @__PURE__ */ o(y, { className: n.youtubeOverlay }),
61
- /* @__PURE__ */ s(
62
- x,
63
- {
64
- className: n.cookiePolicy,
65
- "aria-describedby": void 0,
66
- children: [
67
- /* @__PURE__ */ o(G, { asChild: !0, children: /* @__PURE__ */ s(_, { className: n.cookiePolicyClose, children: [
68
- "Close",
69
- /* @__PURE__ */ o(d, {})
70
- ] }) }),
71
- /* @__PURE__ */ o(U, { children: /* @__PURE__ */ o("span", { id: "cookiePolicyModalLabel", children: "Cookie Policy" }) }),
72
- /* @__PURE__ */ o("div", { ref: c })
73
- ]
74
- }
75
- )
76
- ] })
77
- ] });
78
- }
79
- export {
80
- io as C,
81
- n as s
82
- };
@@ -1,23 +0,0 @@
1
- import { _ as t } from "./extends-hS2Bh-Yp.js";
2
- import "react";
3
- import { jsx as o } from "react/jsx-runtime";
4
- var l = function(r) {
5
- return /* @__PURE__ */ o("svg", t({
6
- xmlns: "http://www.w3.org/2000/svg",
7
- width: 24,
8
- height: 24,
9
- fill: "none",
10
- viewBox: "0 0 24 24"
11
- }, r, {
12
- children: /* @__PURE__ */ o("path", {
13
- stroke: "currentColor",
14
- strokeLinecap: "round",
15
- strokeLinejoin: "round",
16
- strokeWidth: 2,
17
- d: "M18 6 6 18M6 6l12 12"
18
- })
19
- }));
20
- };
21
- export {
22
- l as X
23
- };
@@ -1,16 +0,0 @@
1
- function a(r) {
2
- var f, n, t = "";
3
- if (typeof r == "string" || typeof r == "number") t += r;
4
- else if (typeof r == "object") if (Array.isArray(r)) {
5
- var o = r.length;
6
- for (f = 0; f < o; f++) r[f] && (n = a(r[f])) && (t && (t += " "), t += n);
7
- } else for (n in r) r[n] && (t && (t += " "), t += n);
8
- return t;
9
- }
10
- function i() {
11
- for (var r, f, n = 0, t = "", o = arguments.length; n < o; n++) (r = arguments[n]) && (f = a(r)) && (t && (t += " "), t += f);
12
- return t;
13
- }
14
- export {
15
- i as c
16
- };
@@ -1,12 +0,0 @@
1
- function e() {
2
- return e = Object.assign ? Object.assign.bind() : function(t) {
3
- for (var n = 1; n < arguments.length; n++) {
4
- var r = arguments[n];
5
- for (var a in r) ({}).hasOwnProperty.call(r, a) && (t[a] = r[a]);
6
- }
7
- return t;
8
- }, e.apply(null, arguments);
9
- }
10
- export {
11
- e as _
12
- };