@netlify/spark-ui 1.8.2-alpha.0 → 1.8.2
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/chunks/compat.module.DJD78v1z.js +175 -0
- package/dist/chunks/hooks.module.D9IrxdEh.js +138 -0
- package/dist/chunks/{useTimeout.Cq4aqnDe.js → useTimeout.YR4eKwj7.js} +1 -1
- package/dist/components/preact/AskNetlify/AskNetlify.js +9 -8
- package/dist/components/preact/AskNetlify/components/ChatInterface.js +51 -8
- package/dist/components/preact/AskNetlify/components/ChatMessages.js +12 -1574
- package/dist/components/preact/Modal/Modal.js +1 -1
- package/dist/components/preact/SearchModal/components/SearchInput.js +2 -2
- package/dist/components/preact/SearchModal/components/SearchLink/SearchLink.js +1 -1
- package/dist/components/preact/SearchModal/components/SearchModal/SearchModal.js +1 -1
- package/dist/components/preact/SearchModal/components/SearchToggle/SearchToggle.js +1 -1
- package/dist/components/preact/SearchModal/components/SearchWindow.js +1 -1
- package/dist/components/preact/SearchModal/hooks/useKeyboardNav.js +1 -1
- package/dist/components/preact/SearchModal/hooks/useSearch.js +2 -2
- package/dist/components/preact/SearchModal/hooks/useSearchHotkeys.js +1 -1
- package/dist/components/preact/SearchModal/hooks/useSearchLogger.js +1 -1
- package/dist/components/preact/SearchModal/hooks/useSearchParams.js +1 -1
- package/dist/components/preact/SearchModal/hooks/useSearchToggles.js +1 -1
- package/dist/components/preact/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunks/ChatInterface.BMDJO4i6.js +0 -4162
- package/dist/chunks/compat.module.BNbXPLVY.js +0 -298
- package/dist/chunks/hooks.module.DGkdD5n9.js +0 -177
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as l } from "../../../chunks/jsxRuntime.module.Bzuv3cXw.js";
|
|
2
|
-
import { D as d } from "../../../chunks/compat.module.
|
|
2
|
+
import { D as d } from "../../../chunks/compat.module.DJD78v1z.js";
|
|
3
3
|
const u = d(function({ children: o, className: r, ...a }, t) {
|
|
4
4
|
return /* @__PURE__ */ l("dialog", { ref: t, className: r, role: "dialog", "aria-modal": "true", ...a, children: o });
|
|
5
5
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as e } from "../../../../chunks/jsxRuntime.module.Bzuv3cXw.js";
|
|
2
|
-
import { d as u, y as h } from "../../../../chunks/hooks.module.
|
|
3
|
-
import { u as o } from "../../../../chunks/useTimeout.
|
|
2
|
+
import { d as u, y as h } from "../../../../chunks/hooks.module.D9IrxdEh.js";
|
|
3
|
+
import { u as o } from "../../../../chunks/useTimeout.YR4eKwj7.js";
|
|
4
4
|
import d from "../../Icon/index.js";
|
|
5
5
|
const I = (a) => {
|
|
6
6
|
const [r, t] = u(""), { reset: c, run: i } = o((l) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as a } from "../../../../../chunks/jsxRuntime.module.Bzuv3cXw.js";
|
|
2
|
-
import "../../../../../chunks/hooks.module.
|
|
2
|
+
import "../../../../../chunks/hooks.module.D9IrxdEh.js";
|
|
3
3
|
import { useSearchLogger as d } from "../../hooks/useSearchLogger.js";
|
|
4
4
|
import c from "../../../Icon/index.js";
|
|
5
5
|
import '../../../../../assets/SearchLink.css';const g = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as e } from "../../../../../chunks/jsxRuntime.module.Bzuv3cXw.js";
|
|
2
|
-
import { A as N, y as l, d as h } from "../../../../../chunks/hooks.module.
|
|
2
|
+
import { A as N, y as l, d as h } from "../../../../../chunks/hooks.module.D9IrxdEh.js";
|
|
3
3
|
import w from "../../../Modal/Modal.js";
|
|
4
4
|
import p from "../../../KeyboardKey/KeyboardKey.js";
|
|
5
5
|
import I from "../SearchWindow.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as e } from "../../../../../chunks/jsxRuntime.module.Bzuv3cXw.js";
|
|
2
|
-
import { D as a } from "../../../../../chunks/compat.module.
|
|
2
|
+
import { D as a } from "../../../../../chunks/compat.module.DJD78v1z.js";
|
|
3
3
|
import o from "../../../Icon/index.js";
|
|
4
4
|
import '../../../../../assets/SearchToggle.css';const s = a(function(r, t) {
|
|
5
5
|
return /* @__PURE__ */ e("button", { id: r.id, ref: t, class: "n-search-toggle button", disabled: !0, "data-ntl-search-toggle": !0, children: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as e } from "../../../../chunks/jsxRuntime.module.Bzuv3cXw.js";
|
|
2
|
-
import { T as h } from "../../../../chunks/hooks.module.
|
|
2
|
+
import { T as h } from "../../../../chunks/hooks.module.D9IrxdEh.js";
|
|
3
3
|
import s from "./SearchHeading/SearchHeading.js";
|
|
4
4
|
import a from "./SearchLink/SearchLink.js";
|
|
5
5
|
import { Fragment as d } from "preact";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as g, A as w } from "../../../../chunks/hooks.module.
|
|
2
|
-
import { u as S } from "../../../../chunks/useTimeout.
|
|
1
|
+
import { d as g, A as w } from "../../../../chunks/hooks.module.D9IrxdEh.js";
|
|
2
|
+
import { u as S } from "../../../../chunks/useTimeout.YR4eKwj7.js";
|
|
3
3
|
function x() {
|
|
4
4
|
const [l, r] = g({
|
|
5
5
|
searchTerm: "",
|
|
@@ -6,7 +6,7 @@ import { default as x } from "./SearchModal/components/SearchHeading/SearchHeadi
|
|
|
6
6
|
import { default as i } from "./SearchModal/components/SearchToggle/SearchToggle.js";
|
|
7
7
|
import { default as S } from "./AskNetlify/AskNetlify.js";
|
|
8
8
|
import "preact";
|
|
9
|
-
import "../../chunks/hooks.module.
|
|
9
|
+
import "../../chunks/hooks.module.D9IrxdEh.js";
|
|
10
10
|
import { default as n } from "./SearchModal/components/SearchModal/SearchModal.js";
|
|
11
11
|
export {
|
|
12
12
|
S as AskNetlify,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/spark-ui",
|
|
3
3
|
"description": "Assets, design tokens, components, and utilities",
|
|
4
|
-
"version": "1.8.2
|
|
4
|
+
"version": "1.8.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/components/preact/index.js",
|
|
7
7
|
"types": "dist/components/preact/index.d.ts",
|
|
@@ -68,4 +68,4 @@
|
|
|
68
68
|
"prettier": "^3.5.3",
|
|
69
69
|
"prettier-plugin-astro": "^0.14.1"
|
|
70
70
|
}
|
|
71
|
-
}
|
|
71
|
+
}
|