highsoft-ui 1.0.167 → 1.0.169

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 (74) hide show
  1. package/LICENSE.txt +11 -0
  2. package/README.md +4 -0
  3. package/dist/{BrowserFrame-BMEB82QL.js → BrowserFrame-CisPLoTR.js} +1 -0
  4. package/dist/{ButtonGroup-BLkws_1r.js → ButtonGroup-JtJaVLlu.js} +1 -0
  5. package/dist/{Checkbox-CANbP6f1.js → Checkbox-DU_KGp-P.js} +1 -0
  6. package/dist/{CodeBlock-uC58F4a0.js → CodeBlock-CGBo8nwy.js} +2 -1
  7. package/dist/{CookiePolicyModal-BzwB-YHV.js → CookiePolicyModal-xPb4G_hM.js} +2 -1
  8. package/dist/{CopyCode-DxxkY2kc.js → CopyCode-72gVieQO.js} +2 -1
  9. package/dist/{DiscordInvite-CLYxexdH.js → DiscordInvite-DfPVlJ5G.js} +1 -0
  10. package/dist/{Dropdown-QsYaDPOC.js → Dropdown-DLRtYhFa.js} +4 -3
  11. package/dist/{Footer-HsmWZqYI.js → Footer-B5lSjhAD.js} +7 -6
  12. package/dist/{FooterBottom-DAe43eoh.js → FooterBottom-B8GCRg2o.js} +3 -2
  13. package/dist/{FooterHelp-BB1s4wdX.js → FooterHelp-D5X2Pco9.js} +2 -1
  14. package/dist/{GPTInput-C0YG1990.js → GPTInput-g460kfc6.js} +1 -0
  15. package/dist/{Header-CrLwXLXJ.js → Header-CQKgp8xy.js} +13 -12
  16. package/dist/{InputGrouped-vToXKD3G.js → InputGrouped-DLghbzO7.js} +1 -0
  17. package/dist/{InputSolo-DUdKtZjX.js → InputSolo-CbnsJlJu.js} +1 -0
  18. package/dist/{List-DjnBw3VY.js → List-B1zRI6pm.js} +1 -0
  19. package/dist/{LogoCarousel-BF0C-ZTk.js → LogoCarousel-TbyB0ot0.js} +2 -1
  20. package/dist/{NewsletterSignup-BTSzt793.js → NewsletterSignup-BPLup66s.js} +3 -2
  21. package/dist/{Notification-Bb5gAUtp.js → Notification-DtqcW5FH.js} +1 -0
  22. package/dist/{PrefPanel-PUo4GkIF.js → PrefPanel-6oTpfC5q.js} +4 -3
  23. package/dist/{RadioBox-o1Ssyj0s.js → RadioBox-C7bDjItJ.js} +1 -0
  24. package/dist/{RoadmapDetails-BeOcvtZS.js → RoadmapDetails-CLQzIxv7.js} +1 -0
  25. package/dist/{SearchDropdown-LvkKAoM9.js → SearchDropdown-Ow5_Hu21.js} +2 -1
  26. package/dist/{Tabs-B3LZUm4Q.js → Tabs-TRXBM5Zr.js} +1 -0
  27. package/dist/{VideoCover-BSDxeqcs.js → VideoCover-25FfvhPg.js} +1 -0
  28. package/dist/{VideoPlayer-BpvOHF5Z.js → VideoPlayer-CB2lOh95.js} +1 -0
  29. package/dist/{VideoPlayerModal-CUfLw2MK.js → VideoPlayerModal-CVJbPd6n.js} +4 -3
  30. package/dist/{YoutubeModal-3pu-Gx0q.js → YoutubeModal-j51vfjYk.js} +2 -2
  31. package/dist/components/BrowserFrame/index.js +1 -1
  32. package/dist/components/ButtonGroup/index.js +1 -1
  33. package/dist/components/Checkbox/index.js +1 -1
  34. package/dist/components/CodeBlock/index.js +1 -1
  35. package/dist/components/CopyCode/index.js +1 -1
  36. package/dist/components/DiscordInvite/index.js +1 -1
  37. package/dist/components/Dropdown/index.js +1 -1
  38. package/dist/components/Footer/CookiePolicyModal.js +1 -1
  39. package/dist/components/Footer/FooterBottom.js +1 -1
  40. package/dist/components/Footer/FooterHelp.js +1 -1
  41. package/dist/components/Footer/YoutubeModal.js +1 -1
  42. package/dist/components/Footer/index.js +1 -1
  43. package/dist/components/GPTInput/index.js +1 -1
  44. package/dist/components/Header/index.js +1 -1
  45. package/dist/components/InputGrouped/index.js +1 -1
  46. package/dist/components/InputSolo/index.js +1 -1
  47. package/dist/components/List/index.js +1 -1
  48. package/dist/components/LogoCarousel/index.js +1 -1
  49. package/dist/components/Modal/index.js +1 -0
  50. package/dist/components/NewsletterSignup/index.js +1 -1
  51. package/dist/components/Notification/index.js +1 -1
  52. package/dist/components/PrefPanel/index.js +1 -1
  53. package/dist/components/RadioBox/index.js +1 -1
  54. package/dist/components/RoadmapDetails/index.js +1 -1
  55. package/dist/{Search-BeOH4XUH.js → components/Search/SearchDialog.js} +610 -627
  56. package/dist/components/Search/index.js +39 -2
  57. package/dist/components/SearchDropdown/index.js +1 -1
  58. package/dist/components/Sidebar/SidebarLayout.js +1 -1
  59. package/dist/components/Tabs/index.js +1 -1
  60. package/dist/components/VideoCover/index.js +1 -1
  61. package/dist/components/VideoPlayer/VideoPlayerModal.js +1 -1
  62. package/dist/components/VideoPlayer/index.js +1 -1
  63. package/dist/components/VideoPlayer/useMediaEngine.js +1 -0
  64. package/dist/{dist-CE9LFbij.js → dist-BAH-0dTg.js} +2 -1
  65. package/dist/{dist-B04QoImH.js → dist-D5nNWgEm.js} +2 -1
  66. package/dist/{dist-f0z6DapB.js → dist-DWZ0DflU.js} +2 -1
  67. package/dist/{dist-J9cXmrDi.js → dist-an9z21ra.js} +1 -1
  68. package/dist/{es2015-DWa0ZZ7A.js → es2015-DGI5uxql.js} +1 -0
  69. package/dist/highsoft-ui.css +1 -1
  70. package/dist/lib/components/Search/SearchDialog.d.ts +4 -0
  71. package/dist/main.js +25 -25
  72. package/dist/{utils-K9S_6_Eq.js → utils-bAjntFD8.js} +1 -0
  73. package/dist/utils.js +1 -1
  74. package/package.json +4 -3
@@ -1,2 +1,39 @@
1
- import { t as e } from "../../Search-BeOH4XUH.js";
2
- export { e as Search };
1
+ "use client";
2
+ import { v as e } from "../../esm-zUd-Cmgs.js";
3
+ import { t } from "../../Button-CdrrwvXk.js";
4
+ import { s as n, t as r } from "../../dist-DWZ0DflU.js";
5
+ import { Suspense as i, lazy as a, useEffect as o, useState as s } from "react";
6
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
7
+ //#region lib/components/Search/index.tsx
8
+ var u = a(() => import("./SearchDialog.js")), d = () => void import("./SearchDialog.js");
9
+ function f() {
10
+ let [a, f] = s(!1), [p, m] = s(!1), h = (e) => {
11
+ e && m(!0), f(e);
12
+ };
13
+ return o(() => {
14
+ let e = (e) => {
15
+ (e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k" && (e.preventDefault(), h(!0));
16
+ };
17
+ return window.addEventListener("keydown", e), () => {
18
+ window.removeEventListener("keydown", e);
19
+ };
20
+ }, []), /* @__PURE__ */ l(r, {
21
+ open: a,
22
+ onOpenChange: h,
23
+ children: [/* @__PURE__ */ c(n, {
24
+ asChild: !0,
25
+ children: /* @__PURE__ */ c(t, {
26
+ variant: "transparent",
27
+ "aria-label": "Search",
28
+ onPointerEnter: d,
29
+ onFocus: d,
30
+ children: /* @__PURE__ */ c(e, {})
31
+ })
32
+ }), p && /* @__PURE__ */ c(i, {
33
+ fallback: null,
34
+ children: /* @__PURE__ */ c(u, { open: a })
35
+ })]
36
+ });
37
+ }
38
+ //#endregion
39
+ export { f as Search };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../SearchDropdown-LvkKAoM9.js";
1
+ import { t as e } from "../../SearchDropdown-Ow5_Hu21.js";
2
2
  export { e as SearchDropdown };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { a as e } from "../../utils-K9S_6_Eq.js";
2
+ import { a as e } from "../../utils-bAjntFD8.js";
3
3
  import { t } from "../../clsx-BWCAbrjV.js";
4
4
  import { Y as n } from "../../esm-zUd-Cmgs.js";
5
5
  import { n as r } from "../../Typography-DI1AkqiO.js";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../Tabs-B3LZUm4Q.js";
1
+ import { t as e } from "../../Tabs-TRXBM5Zr.js";
2
2
  export { e as Tabs };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../VideoCover-BSDxeqcs.js";
1
+ import { t as e } from "../../VideoCover-25FfvhPg.js";
2
2
  export { e as VideoCover };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../VideoPlayerModal-CUfLw2MK.js";
1
+ import { t as e } from "../../VideoPlayerModal-CVJbPd6n.js";
2
2
  export { e as VideoPlayerModal };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../VideoPlayer-BpvOHF5Z.js";
1
+ import { t as e } from "../../VideoPlayer-CB2lOh95.js";
2
2
  export { e as VideoPlayer };
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useCallback as e, useEffect as t, useRef as n, useState as r } from "react";
2
3
  //#region lib/components/VideoPlayer/useMediaEngine.ts
3
4
  var i = (e) => Math.max(0, Math.min(1, e));
@@ -1,4 +1,5 @@
1
- import { _ as e, c as t, d as n, h as r, l as i, m as a, p as o, y as s } from "./es2015-DWa0ZZ7A.js";
1
+ "use client";
2
+ import { _ as e, c as t, d as n, h as r, l as i, m as a, p as o, y as s } from "./es2015-DGI5uxql.js";
2
3
  import * as c from "react";
3
4
  import { jsx as l } from "react/jsx-runtime";
4
5
  //#region node_modules/@radix-ui/react-collection/dist/index.mjs
@@ -1,4 +1,5 @@
1
- import { c as e, f as t, h as n, m as r, y as i } from "./es2015-DWa0ZZ7A.js";
1
+ "use client";
2
+ import { c as e, f as t, h as n, m as r, y as i } from "./es2015-DGI5uxql.js";
2
3
  import * as a from "react";
3
4
  import { useLayoutEffect as o } from "react";
4
5
  import { jsx as s } from "react/jsx-runtime";
@@ -1,4 +1,5 @@
1
- import { _ as e, a as t, d as n, h as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p, y as m } from "./es2015-DWa0ZZ7A.js";
1
+ "use client";
2
+ import { _ as e, a as t, d as n, h as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p, y as m } from "./es2015-DGI5uxql.js";
2
3
  import * as h from "react";
3
4
  import { Fragment as g, jsx as _ } from "react/jsx-runtime";
4
5
  //#region node_modules/@radix-ui/react-dialog/dist/index.mjs
@@ -1,4 +1,4 @@
1
- import { h as e } from "./es2015-DWa0ZZ7A.js";
1
+ import { h as e } from "./es2015-DGI5uxql.js";
2
2
  import * as t from "react";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  //#region node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as e from "react";
2
3
  import { useState as t } from "react";
3
4
  import { jsx as n } from "react/jsx-runtime";