highsoft-ui 1.0.77 → 1.0.79
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/Check-Cm4roSEj.js +23 -0
- package/dist/CookiePolicyModal-B0UcoKfp.js +310 -0
- package/dist/XClose-CCu1vrNS.js +23 -0
- package/dist/components/Footer/CookiePolicyModal.d.ts +1 -0
- package/dist/components/Footer/CookiePolicyModal.js +8 -0
- package/dist/components/Footer/index.js +302 -537
- package/dist/components/Header/index.js +8 -7
- package/dist/components/Notification/index.js +47 -6
- package/dist/components/PrefPanel/index.js +28 -27
- package/dist/highsoft-ui.css +1 -1
- package/dist/{index-CM3YgRXK.js → index-DdHkr4BN.js} +205 -224
- package/dist/main.js +10 -10
- package/package.json +1 -1
- package/dist/index-pnL-sAld.js +0 -68
package/dist/main.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { J as r, z as t, u as m } from "./utils-C7rfowvr.js";
|
|
2
2
|
import { Button as p } from "./components/Button/index.js";
|
|
3
3
|
import { Container as a } from "./components/Container/index.js";
|
|
4
|
-
import { Footer as
|
|
5
|
-
import { GPTInput as
|
|
6
|
-
import { Header as
|
|
7
|
-
import { Logo as
|
|
4
|
+
import { Footer as u } from "./components/Footer/index.js";
|
|
5
|
+
import { GPTInput as s } from "./components/GPTInput/index.js";
|
|
6
|
+
import { Header as P, SubHeader as d } from "./components/Header/index.js";
|
|
7
|
+
import { Logo as N } from "./components/Logo/index.js";
|
|
8
8
|
import { NewTag as H } from "./components/NewTag/index.js";
|
|
9
|
-
import {
|
|
9
|
+
import { Notification as c } from "./components/Notification/index.js";
|
|
10
10
|
import { PrefPanel as v } from "./components/PrefPanel/index.js";
|
|
11
11
|
export {
|
|
12
12
|
p as Button,
|
|
13
13
|
a as Container,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
u as Footer,
|
|
15
|
+
s as GPTInput,
|
|
16
|
+
P as Header,
|
|
17
|
+
N as Logo,
|
|
18
18
|
H as NewTag,
|
|
19
19
|
c as Notification,
|
|
20
20
|
v as PrefPanel,
|
|
21
|
-
|
|
21
|
+
d as SubHeader,
|
|
22
22
|
r as ThemeProvider,
|
|
23
23
|
t as useNextTheme,
|
|
24
24
|
m as useTheme
|
package/package.json
CHANGED
package/dist/index-pnL-sAld.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import { _ as r } from "./extends-hS2Bh-Yp.js";
|
|
4
|
-
import { c as l } from "./clsx-OuTLNxxd.js";
|
|
5
|
-
import { Button as d } from "./components/Button/index.js";
|
|
6
|
-
import { Container as h } from "./components/Container/index.js";
|
|
7
|
-
var f = function(o) {
|
|
8
|
-
return /* @__PURE__ */ t("svg", r({
|
|
9
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
-
width: 24,
|
|
11
|
-
height: 24,
|
|
12
|
-
fill: "none",
|
|
13
|
-
viewBox: "0 0 24 24"
|
|
14
|
-
}, o, {
|
|
15
|
-
children: /* @__PURE__ */ t("path", {
|
|
16
|
-
stroke: "currentColor",
|
|
17
|
-
strokeLinecap: "round",
|
|
18
|
-
strokeLinejoin: "round",
|
|
19
|
-
strokeWidth: 2,
|
|
20
|
-
d: "M18 6 6 18M6 6l12 12"
|
|
21
|
-
})
|
|
22
|
-
}));
|
|
23
|
-
};
|
|
24
|
-
const m = "MhRkRW_attention", R = "MhRkRW_close", p = "MhRkRW_container", u = "MhRkRW_danger", k = "MhRkRW_description", M = "MhRkRW_notification", _ = "MhRkRW_success", W = "MhRkRW_title", n = {
|
|
25
|
-
attention: m,
|
|
26
|
-
close: R,
|
|
27
|
-
container: p,
|
|
28
|
-
danger: u,
|
|
29
|
-
default: "MhRkRW_default",
|
|
30
|
-
description: k,
|
|
31
|
-
notification: M,
|
|
32
|
-
success: _,
|
|
33
|
-
title: W
|
|
34
|
-
};
|
|
35
|
-
function j({
|
|
36
|
-
children: e,
|
|
37
|
-
variant: o = "default",
|
|
38
|
-
description: i,
|
|
39
|
-
closable: s = !0,
|
|
40
|
-
onClose: c
|
|
41
|
-
}) {
|
|
42
|
-
return /* @__PURE__ */ t(
|
|
43
|
-
"div",
|
|
44
|
-
{
|
|
45
|
-
className: l(n.notification, n[o]),
|
|
46
|
-
"data-theme": "light",
|
|
47
|
-
children: /* @__PURE__ */ a(h, { className: n.container, children: [
|
|
48
|
-
/* @__PURE__ */ t("span", { className: n.title, children: e }),
|
|
49
|
-
i && /* @__PURE__ */ t("span", { className: n.description, children: i }),
|
|
50
|
-
s && /* @__PURE__ */ t(
|
|
51
|
-
d,
|
|
52
|
-
{
|
|
53
|
-
variant: o === "default" ? "brand" : "transparent",
|
|
54
|
-
size: 100,
|
|
55
|
-
className: n.close,
|
|
56
|
-
"aria-label": "Close notification",
|
|
57
|
-
onClick: () => c?.(),
|
|
58
|
-
children: /* @__PURE__ */ t(f, {})
|
|
59
|
-
}
|
|
60
|
-
)
|
|
61
|
-
] })
|
|
62
|
-
}
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
export {
|
|
66
|
-
j as N,
|
|
67
|
-
f as X
|
|
68
|
-
};
|