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
@@ -0,0 +1,45 @@
1
+ import { t as e } from "./clsx-ROFf4vs9.js";
2
+ import { y as t } from "./esm-C1TDRARf.js";
3
+ import { forwardRef as n } from "react";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ //#region lib/components/Button/styles.module.scss
6
+ var a = "QF-Hta_attention", o = "QF-Hta_brand", s = "QF-Hta_button", c = "QF-Hta_content", l = "QF-Hta_danger", u = "QF-Hta_full", d = "QF-Hta_loader", f = "QF-Hta_loading", p = "QF-Hta_neutral", m = "QF-Hta_plain", h = "QF-Hta_spin", g = "QF-Hta_success", _ = "QF-Hta_transparent", v = "QF-Hta_white", y = {
7
+ attention: a,
8
+ brand: o,
9
+ button: s,
10
+ content: c,
11
+ danger: l,
12
+ full: u,
13
+ loader: d,
14
+ loading: f,
15
+ neutral: p,
16
+ plain: m,
17
+ "size-100": "QF-Hta_size-100",
18
+ "size-200": "QF-Hta_size-200",
19
+ "size-300": "QF-Hta_size-300",
20
+ "size-400": "QF-Hta_size-400",
21
+ "size-50": "QF-Hta_size-50",
22
+ "size-500": "QF-Hta_size-500",
23
+ spin: h,
24
+ success: g,
25
+ transparent: _,
26
+ white: v
27
+ }, b = n(({ children: n, variant: a = "neutral", size: o = 200, fullWidth: s = !1, loading: c, as: l = "button", disabled: u, className: d, ...f }, p) => /* @__PURE__ */ i(l, {
28
+ className: e("hsui-button", d, y.button, y[a], y[`size-${o}`], {
29
+ [y.full]: s,
30
+ [y.loading]: c
31
+ }),
32
+ disabled: u || c,
33
+ type: "button",
34
+ ref: p,
35
+ ...f,
36
+ children: [c && /* @__PURE__ */ r("span", {
37
+ className: y.loader,
38
+ children: /* @__PURE__ */ r(t, {})
39
+ }), /* @__PURE__ */ r("span", {
40
+ className: y.content,
41
+ children: n
42
+ })]
43
+ }));
44
+ //#endregion
45
+ export { b as t };
@@ -0,0 +1,11 @@
1
+ import { t as e } from "./clsx-ROFf4vs9.js";
2
+ import { forwardRef as t } from "react";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ var r = { container: "mkfCBG_container" }, i = t(({ children: t, className: i, as: a = "div", ...o }, s) => /* @__PURE__ */ n(a, {
5
+ className: e(i, r.container),
6
+ ref: s,
7
+ ...o,
8
+ children: t
9
+ }));
10
+ //#endregion
11
+ export { i as t };
@@ -0,0 +1,90 @@
1
+ import { t as e } from "./esm-C1TDRARf.js";
2
+ import { t } from "./Button-Bbc4vmW_.js";
3
+ import { a as n, i as r, n as i, o as a, r as o, s, t as c } from "./dist-0f0-S8_q.js";
4
+ import { useEffect as l, useRef as u, useState as d } from "react";
5
+ import { jsx as f, jsxs as p } from "react/jsx-runtime";
6
+ var m = {
7
+ bottom: "wUsx_G_bottom",
8
+ bottomLinks: "wUsx_G_bottomLinks",
9
+ cookiePolicy: "wUsx_G_cookiePolicy",
10
+ cookiePolicyClose: "wUsx_G_cookiePolicyClose",
11
+ copyright: "wUsx_G_copyright",
12
+ discord: "wUsx_G_discord",
13
+ discordAvatars: "wUsx_G_discordAvatars",
14
+ discordAvatarStatus: "wUsx_G_discordAvatarStatus",
15
+ discordContent: "wUsx_G_discordContent",
16
+ discordJoin: "wUsx_G_discordJoin",
17
+ discordMembers: "wUsx_G_discordMembers",
18
+ discordPlus: "wUsx_G_discordPlus",
19
+ error: "wUsx_G_error",
20
+ footer: "wUsx_G_footer",
21
+ help: "wUsx_G_help",
22
+ helpBall: "wUsx_G_helpBall",
23
+ helpContent: "wUsx_G_helpContent",
24
+ helpItem: "wUsx_G_helpItem",
25
+ helpWays: "wUsx_G_helpWays",
26
+ highcharts: "wUsx_G_highcharts",
27
+ links: "wUsx_G_links",
28
+ logo: "wUsx_G_logo",
29
+ newsletter: "wUsx_G_newsletter",
30
+ newsletterContent: "wUsx_G_newsletterContent",
31
+ newsletterError: "wUsx_G_newsletterError",
32
+ norway: "wUsx_G_norway",
33
+ notCharts: "wUsx_G_notCharts",
34
+ online: "wUsx_G_online",
35
+ outer: "wUsx_G_outer",
36
+ show: "wUsx_G_show",
37
+ socials: "wUsx_G_socials",
38
+ success: "wUsx_G_success",
39
+ tabletBottomLeft: "wUsx_G_tabletBottomLeft",
40
+ tagged: "wUsx_G_tagged",
41
+ top: "wUsx_G_top",
42
+ youtube: "wUsx_G_youtube",
43
+ youtubeContent: "wUsx_G_youtubeContent",
44
+ youtubeOverlay: "wUsx_G_youtubeOverlay"
45
+ };
46
+ //#endregion
47
+ //#region lib/components/Footer/CookiePolicyModal.tsx
48
+ function h() {
49
+ let [h, g] = d(!1), _ = u(null);
50
+ return l(() => {
51
+ let e = () => g(!0);
52
+ return document.addEventListener("hcCookiePolicy", e), () => document.removeEventListener("hcCookiePolicy", e);
53
+ }, []), l(() => {
54
+ queueMicrotask(() => {
55
+ if (h && _.current) {
56
+ let e = document.createElement("script");
57
+ e.src = "https://consent.cookiebot.com/8be0770c-8b7f-4e2d-aeb5-2cfded81e177/cd.js", _.current.appendChild(e);
58
+ }
59
+ });
60
+ }, [h]), /* @__PURE__ */ p(n, {
61
+ open: h,
62
+ onOpenChange: g,
63
+ children: [/* @__PURE__ */ f(s, {
64
+ asChild: !0,
65
+ children: /* @__PURE__ */ f("button", {
66
+ id: "cookiePolicyModal",
67
+ children: "Cookie Policy"
68
+ })
69
+ }), /* @__PURE__ */ p(r, { children: [/* @__PURE__ */ f(o, { className: m.youtubeOverlay }), /* @__PURE__ */ p(i, {
70
+ className: m.cookiePolicy,
71
+ "aria-describedby": void 0,
72
+ children: [
73
+ /* @__PURE__ */ f(c, {
74
+ asChild: !0,
75
+ children: /* @__PURE__ */ p(t, {
76
+ className: m.cookiePolicyClose,
77
+ children: ["Close", /* @__PURE__ */ f(e, {})]
78
+ })
79
+ }),
80
+ /* @__PURE__ */ f(a, { children: /* @__PURE__ */ f("span", {
81
+ id: "cookiePolicyModalLabel",
82
+ children: "Cookie Policy"
83
+ }) }),
84
+ /* @__PURE__ */ f("div", { ref: _ })
85
+ ]
86
+ })] })]
87
+ });
88
+ }
89
+ //#endregion
90
+ export { m as n, h as t };