@netlify/spark-ui 0.0.47-alpha → 0.0.47

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 (41) hide show
  1. package/dist/chunks/compat.module.DT16W4Wr.js +175 -0
  2. package/dist/chunks/hooks.module.CNV9mxng.js +138 -0
  3. package/dist/chunks/{useTimeout.DYuvQwFN.js → useTimeout.DOkYFG64.js} +1 -1
  4. package/dist/components/index.d.ts +0 -1
  5. package/dist/components/preact/Modal/Modal.js +1 -1
  6. package/dist/components/preact/SearchModal/components/SearchInput.js +2 -2
  7. package/dist/components/preact/SearchModal/components/SearchLink/SearchLink.js +1 -1
  8. package/dist/components/preact/SearchModal/components/SearchModal/SearchModal.js +1 -1
  9. package/dist/components/preact/SearchModal/components/SearchToggle/SearchToggle.js +1 -1
  10. package/dist/components/preact/SearchModal/components/SearchWindow.js +1 -1
  11. package/dist/components/preact/SearchModal/hooks/useKeyboardNav.js +1 -1
  12. package/dist/components/preact/SearchModal/hooks/useSearch.js +2 -2
  13. package/dist/components/preact/SearchModal/hooks/useSearchHotkeys.js +1 -1
  14. package/dist/components/preact/SearchModal/hooks/useSearchLogger.js +1 -1
  15. package/dist/components/preact/SearchModal/hooks/useSearchParams.js +1 -1
  16. package/dist/components/preact/SearchModal/hooks/useSearchToggles.js +1 -1
  17. package/dist/components/preact/index.d.ts +0 -1
  18. package/dist/components/preact/index.js +5 -7
  19. package/package.json +2 -4
  20. package/packages/assets/fonts/README.md +5 -0
  21. package/packages/assets/fonts/figtree/Figtree-Italic[wght].woff2 +0 -0
  22. package/packages/assets/fonts/figtree/Figtree[wght].woff2 +0 -0
  23. package/packages/assets/fonts/instrument-sans/InstrumentSans-Italic[wdth,wght].woff2 +0 -0
  24. package/packages/assets/fonts/instrument-sans/InstrumentSans[wdth,wght].woff2 +0 -0
  25. package/packages/assets/fonts/martian-mono/MartianMono-Bold.woff2 +0 -0
  26. package/packages/assets/fonts/martian-mono/MartianMono-Medium.woff2 +0 -0
  27. package/packages/assets/fonts/martian-mono/MartianMono-Regular.woff2 +0 -0
  28. package/packages/assets/fonts/martian-mono/MartianMono-SemiBold.woff2 +0 -0
  29. package/packages/components/index.ts +0 -1
  30. package/packages/components/preact/index.ts +0 -1
  31. package/packages/styles/base.css +1 -0
  32. package/packages/styles/fonts.css +125 -10
  33. package/packages/styles/reset.css +79 -0
  34. package/packages/styles/tokens.css +24 -19
  35. package/dist/assets/ChatApp.css +0 -1
  36. package/dist/chunks/compat.module.BjTzMHXJ.js +0 -296
  37. package/dist/chunks/hooks.module.DeYLzLnU.js +0 -177
  38. package/dist/components/preact/ChatApp/ChatApp.d.ts +0 -2
  39. package/dist/components/preact/ChatApp/ChatApp.js +0 -5346
  40. package/packages/components/preact/ChatApp/ChatApp.css +0 -142
  41. package/packages/components/preact/ChatApp/ChatApp.tsx +0 -237
@@ -0,0 +1,175 @@
1
+ import { Component as f, options as a, createElement as d, Fragment as h, toChildArray as v } from "preact";
2
+ import "./hooks.module.CNV9mxng.js";
3
+ function C(e, t) {
4
+ for (var r in t) e[r] = t[r];
5
+ return e;
6
+ }
7
+ function m(e, t) {
8
+ for (var r in e) if (r !== "__source" && !(r in t)) return !0;
9
+ for (var o in t) if (o !== "__source" && e[o] !== t[o]) return !0;
10
+ return !1;
11
+ }
12
+ function y(e, t) {
13
+ this.props = e, this.context = t;
14
+ }
15
+ (y.prototype = new f()).isPureReactComponent = !0, y.prototype.shouldComponentUpdate = function(e, t) {
16
+ return m(this.props, e) || m(this.state, t);
17
+ };
18
+ var b = a.__b;
19
+ a.__b = function(e) {
20
+ e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), b && b(e);
21
+ };
22
+ var x = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
23
+ function z(e) {
24
+ function t(r) {
25
+ var o = C({}, r);
26
+ return delete o.ref, e(o, r.ref || null);
27
+ }
28
+ return t.$$typeof = x, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
29
+ }
30
+ var U = a.__e;
31
+ a.__e = function(e, t, r, o) {
32
+ if (e.then) {
33
+ for (var n, l = t; l = l.__; ) if ((n = l.__c) && n.__c) return t.__e == null && (t.__e = r.__e, t.__k = r.__k), n.__c(e, t);
34
+ }
35
+ U(e, t, r, o);
36
+ };
37
+ var g = a.unmount;
38
+ function N(e, t, r) {
39
+ return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(o) {
40
+ typeof o.__c == "function" && o.__c();
41
+ }), e.__c.__H = null), (e = C({}, e)).__c != null && (e.__c.__P === r && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(o) {
42
+ return N(o, t, r);
43
+ })), e;
44
+ }
45
+ function E(e, t, r) {
46
+ return e && r && (e.__v = null, e.__k = e.__k && e.__k.map(function(o) {
47
+ return E(o, t, r);
48
+ }), e.__c && e.__c.__P === t && (e.__e && r.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = r)), e;
49
+ }
50
+ function p() {
51
+ this.__u = 0, this.o = null, this.__b = null;
52
+ }
53
+ function R(e) {
54
+ var t = e.__.__c;
55
+ return t && t.__a && t.__a(e);
56
+ }
57
+ function s() {
58
+ this.i = null, this.l = null;
59
+ }
60
+ a.unmount = function(e) {
61
+ var t = e.__c;
62
+ t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), g && g(e);
63
+ }, (p.prototype = new f()).__c = function(e, t) {
64
+ var r = t.__c, o = this;
65
+ o.o == null && (o.o = []), o.o.push(r);
66
+ var n = R(o.__v), l = !1, _ = function() {
67
+ l || (l = !0, r.__R = null, n ? n(i) : i());
68
+ };
69
+ r.__R = _;
70
+ var i = function() {
71
+ if (!--o.__u) {
72
+ if (o.state.__a) {
73
+ var u = o.state.__a;
74
+ o.__v.__k[0] = E(u, u.__c.__P, u.__c.__O);
75
+ }
76
+ var c;
77
+ for (o.setState({ __a: o.__b = null }); c = o.o.pop(); ) c.forceUpdate();
78
+ }
79
+ };
80
+ o.__u++ || 32 & t.__u || o.setState({ __a: o.__b = o.__v.__k[0] }), e.then(_, _);
81
+ }, p.prototype.componentWillUnmount = function() {
82
+ this.o = [];
83
+ }, p.prototype.render = function(e, t) {
84
+ if (this.__b) {
85
+ if (this.__v.__k) {
86
+ var r = document.createElement("div"), o = this.__v.__k[0].__c;
87
+ this.__v.__k[0] = N(this.__b, r, o.__O = o.__P);
88
+ }
89
+ this.__b = null;
90
+ }
91
+ var n = t.__a && d(h, null, e.fallback);
92
+ return n && (n.__u &= -33), [d(h, null, t.__a ? null : e.children), n];
93
+ };
94
+ var k = function(e, t, r) {
95
+ if (++r[1] === r[0] && e.l.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.l.size)) for (r = e.i; r; ) {
96
+ for (; r.length > 3; ) r.pop()();
97
+ if (r[1] < r[0]) break;
98
+ e.i = r = r[2];
99
+ }
100
+ };
101
+ (s.prototype = new f()).__a = function(e) {
102
+ var t = this, r = R(t.__v), o = t.l.get(e);
103
+ return o[0]++, function(n) {
104
+ var l = function() {
105
+ t.props.revealOrder ? (o.push(n), k(t, e, o)) : n();
106
+ };
107
+ r ? r(l) : l();
108
+ };
109
+ }, s.prototype.render = function(e) {
110
+ this.i = null, this.l = /* @__PURE__ */ new Map();
111
+ var t = v(e.children);
112
+ e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
113
+ for (var r = t.length; r--; ) this.l.set(t[r], this.i = [1, 0, this.i]);
114
+ return e.children;
115
+ }, s.prototype.componentDidUpdate = s.prototype.componentDidMount = function() {
116
+ var e = this;
117
+ this.l.forEach(function(t, r) {
118
+ k(e, r, t);
119
+ });
120
+ };
121
+ var A = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, V = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, W = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, H = /[A-Z0-9]/g, $ = typeof document < "u", j = function(e) {
122
+ return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
123
+ };
124
+ f.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
125
+ Object.defineProperty(f.prototype, e, { configurable: !0, get: function() {
126
+ return this["UNSAFE_" + e];
127
+ }, set: function(t) {
128
+ Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
129
+ } });
130
+ });
131
+ var P = a.event;
132
+ function D() {
133
+ }
134
+ function F() {
135
+ return this.cancelBubble;
136
+ }
137
+ function B() {
138
+ return this.defaultPrevented;
139
+ }
140
+ a.event = function(e) {
141
+ return P && (e = P(e)), e.persist = D, e.isPropagationStopped = F, e.isDefaultPrevented = B, e.nativeEvent = e;
142
+ };
143
+ var L = { enumerable: !1, configurable: !0, get: function() {
144
+ return this.class;
145
+ } }, O = a.vnode;
146
+ a.vnode = function(e) {
147
+ typeof e.type == "string" && function(t) {
148
+ var r = t.props, o = t.type, n = {}, l = o.indexOf("-") === -1;
149
+ for (var _ in r) {
150
+ var i = r[_];
151
+ if (!(_ === "value" && "defaultValue" in r && i == null || $ && _ === "children" && o === "noscript" || _ === "class" || _ === "className")) {
152
+ var u = _.toLowerCase();
153
+ _ === "defaultValue" && "value" in r && r.value == null ? _ = "value" : _ === "download" && i === !0 ? i = "" : u === "translate" && i === "no" ? i = !1 : u[0] === "o" && u[1] === "n" ? u === "ondoubleclick" ? _ = "ondblclick" : u !== "onchange" || o !== "input" && o !== "textarea" || j(r.type) ? u === "onfocus" ? _ = "onfocusin" : u === "onblur" ? _ = "onfocusout" : W.test(_) && (_ = u) : u = _ = "oninput" : l && V.test(_) ? _ = _.replace(H, "-$&").toLowerCase() : i === null && (i = void 0), u === "oninput" && n[_ = u] && (_ = "oninputCapture"), n[_] = i;
154
+ }
155
+ }
156
+ o == "select" && n.multiple && Array.isArray(n.value) && (n.value = v(r.children).forEach(function(c) {
157
+ c.props.selected = n.value.indexOf(c.props.value) != -1;
158
+ })), o == "select" && n.defaultValue != null && (n.value = v(r.children).forEach(function(c) {
159
+ c.props.selected = n.multiple ? n.defaultValue.indexOf(c.props.value) != -1 : n.defaultValue == c.props.value;
160
+ })), r.class && !r.className ? (n.class = r.class, Object.defineProperty(n, "className", L)) : (r.className && !r.class || r.class && r.className) && (n.class = n.className = r.className), t.props = n;
161
+ }(e), e.$$typeof = A, O && O(e);
162
+ };
163
+ var S = a.__r;
164
+ a.__r = function(e) {
165
+ S && S(e), e.__c;
166
+ };
167
+ var w = a.diffed;
168
+ a.diffed = function(e) {
169
+ w && w(e);
170
+ var t = e.props, r = e.__e;
171
+ r != null && e.type === "textarea" && "value" in t && t.value !== r.value && (r.value = t.value == null ? "" : t.value);
172
+ };
173
+ export {
174
+ z as D
175
+ };
@@ -0,0 +1,138 @@
1
+ import { options as x } from "preact";
2
+ var v, n, H, y, m = 0, C = [], u = x, A = u.__b, q = u.__r, F = u.diffed, g = u.__c, k = u.unmount, T = u.__;
3
+ function d(_, t) {
4
+ u.__h && u.__h(n, _, m || t), m = 0;
5
+ var r = n.__H || (n.__H = { __: [], __h: [] });
6
+ return _ >= r.__.length && r.__.push({}), r.__[_];
7
+ }
8
+ function S(_) {
9
+ return m = 1, z(j, _);
10
+ }
11
+ function z(_, t, r) {
12
+ var o = d(v++, 2);
13
+ if (o.t = _, !o.__c && (o.__ = [r ? r(t) : j(void 0, t), function(c) {
14
+ var e = o.__N ? o.__N[0] : o.__[0], f = o.t(e, c);
15
+ e !== f && (o.__N = [f, o.__[1]], o.__c.setState({}));
16
+ }], o.__c = n, !n.__f)) {
17
+ var a = function(c, e, f) {
18
+ if (!o.__c.__H) return !0;
19
+ var l = o.__c.__H.__.filter(function(i) {
20
+ return !!i.__c;
21
+ });
22
+ if (l.every(function(i) {
23
+ return !i.__N;
24
+ })) return !h || h.call(this, c, e, f);
25
+ var E = o.__c.props !== c;
26
+ return l.forEach(function(i) {
27
+ if (i.__N) {
28
+ var w = i.__[0];
29
+ i.__ = i.__N, i.__N = void 0, w !== i.__[0] && (E = !0);
30
+ }
31
+ }), h && h.call(this, c, e, f) || E;
32
+ };
33
+ n.__f = !0;
34
+ var h = n.shouldComponentUpdate, N = n.componentWillUpdate;
35
+ n.componentWillUpdate = function(c, e, f) {
36
+ if (this.__e) {
37
+ var l = h;
38
+ h = void 0, a(c, e, f), h = l;
39
+ }
40
+ N && N.call(this, c, e, f);
41
+ }, n.shouldComponentUpdate = a;
42
+ }
43
+ return o.__N || o.__;
44
+ }
45
+ function G(_, t) {
46
+ var r = d(v++, 3);
47
+ !u.__s && W(r.__H, t) && (r.__ = _, r.u = t, n.__H.__h.push(r));
48
+ }
49
+ function I(_) {
50
+ return m = 5, b(function() {
51
+ return { current: _ };
52
+ }, []);
53
+ }
54
+ function b(_, t) {
55
+ var r = d(v++, 7);
56
+ return W(r.__H, t) && (r.__ = _(), r.__H = t, r.__h = _), r.__;
57
+ }
58
+ function J(_, t) {
59
+ return m = 8, b(function() {
60
+ return _;
61
+ }, t);
62
+ }
63
+ function B() {
64
+ for (var _; _ = C.shift(); ) if (_.__P && _.__H) try {
65
+ _.__H.__h.forEach(s), _.__H.__h.forEach(p), _.__H.__h = [];
66
+ } catch (t) {
67
+ _.__H.__h = [], u.__e(t, _.__v);
68
+ }
69
+ }
70
+ u.__b = function(_) {
71
+ n = null, A && A(_);
72
+ }, u.__ = function(_, t) {
73
+ _ && t.__k && t.__k.__m && (_.__m = t.__k.__m), T && T(_, t);
74
+ }, u.__r = function(_) {
75
+ q && q(_), v = 0;
76
+ var t = (n = _.__c).__H;
77
+ t && (H === n ? (t.__h = [], n.__h = [], t.__.forEach(function(r) {
78
+ r.__N && (r.__ = r.__N), r.u = r.__N = void 0;
79
+ })) : (t.__h.forEach(s), t.__h.forEach(p), t.__h = [], v = 0)), H = n;
80
+ }, u.diffed = function(_) {
81
+ F && F(_);
82
+ var t = _.__c;
83
+ t && t.__H && (t.__H.__h.length && (C.push(t) !== 1 && y === u.requestAnimationFrame || ((y = u.requestAnimationFrame) || D)(B)), t.__H.__.forEach(function(r) {
84
+ r.u && (r.__H = r.u), r.u = void 0;
85
+ })), H = n = null;
86
+ }, u.__c = function(_, t) {
87
+ t.some(function(r) {
88
+ try {
89
+ r.__h.forEach(s), r.__h = r.__h.filter(function(o) {
90
+ return !o.__ || p(o);
91
+ });
92
+ } catch (o) {
93
+ t.some(function(a) {
94
+ a.__h && (a.__h = []);
95
+ }), t = [], u.__e(o, r.__v);
96
+ }
97
+ }), g && g(_, t);
98
+ }, u.unmount = function(_) {
99
+ k && k(_);
100
+ var t, r = _.__c;
101
+ r && r.__H && (r.__H.__.forEach(function(o) {
102
+ try {
103
+ s(o);
104
+ } catch (a) {
105
+ t = a;
106
+ }
107
+ }), r.__H = void 0, t && u.__e(t, r.__v));
108
+ };
109
+ var U = typeof requestAnimationFrame == "function";
110
+ function D(_) {
111
+ var t, r = function() {
112
+ clearTimeout(o), U && cancelAnimationFrame(t), setTimeout(_);
113
+ }, o = setTimeout(r, 100);
114
+ U && (t = requestAnimationFrame(r));
115
+ }
116
+ function s(_) {
117
+ var t = n, r = _.__c;
118
+ typeof r == "function" && (_.__c = void 0, r()), n = t;
119
+ }
120
+ function p(_) {
121
+ var t = n;
122
+ _.__c = _.__(), n = t;
123
+ }
124
+ function W(_, t) {
125
+ return !_ || _.length !== t.length || t.some(function(r, o) {
126
+ return r !== _[o];
127
+ });
128
+ }
129
+ function j(_, t) {
130
+ return typeof t == "function" ? t(_) : t;
131
+ }
132
+ export {
133
+ I as A,
134
+ b as T,
135
+ S as d,
136
+ J as q,
137
+ G as y
138
+ };
@@ -1,4 +1,4 @@
1
- import { A as t, y as o } from "./hooks.module.DeYLzLnU.js";
1
+ import { A as t, y as o } from "./hooks.module.CNV9mxng.js";
2
2
  function f(u, n) {
3
3
  const e = t(null), r = t("");
4
4
  return o(() => () => {
@@ -5,7 +5,6 @@ export { default as SearchLink } from './preact/SearchModal/components/SearchLin
5
5
  export { default as SearchHeading } from './preact/SearchModal/components/SearchHeading/SearchHeading';
6
6
  export { default as SearchToggle } from './preact/SearchModal/components/SearchToggle/SearchToggle';
7
7
  export { default as SearchModal } from './preact/SearchModal/components/SearchModal/SearchModal';
8
- export { default as ChatApp } from './preact/ChatApp/ChatApp';
9
8
  export { type IconName } from './preact/Icon';
10
9
  export { default as Button } from './Button.astro';
11
10
  export { default as DeployToNetlifyButton } from './DeployToNetlifyButton.astro';
@@ -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.BjTzMHXJ.js";
2
+ import { D as d } from "../../../chunks/compat.module.DT16W4Wr.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.DeYLzLnU.js";
3
- import { u as o } from "../../../../chunks/useTimeout.DYuvQwFN.js";
2
+ import { d as u, y as h } from "../../../../chunks/hooks.module.CNV9mxng.js";
3
+ import { u as o } from "../../../../chunks/useTimeout.DOkYFG64.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.DeYLzLnU.js";
2
+ import "../../../../../chunks/hooks.module.CNV9mxng.js";
3
3
  import { useSearchLogger as h } from "../../hooks/useSearchLogger.js";
4
4
  import c from "../../../Icon/index.js";
5
5
  import '../../../../../assets/SearchLink.css';const k = ({ icon: n, label: s, url: r, excerpt: l, resource: e }) => {
@@ -1,5 +1,5 @@
1
1
  import { u as e } from "../../../../../chunks/jsxRuntime.module.Bzuv3cXw.js";
2
- import { A as v, y as u, d as S } from "../../../../../chunks/hooks.module.DeYLzLnU.js";
2
+ import { A as v, y as u, d as S } from "../../../../../chunks/hooks.module.CNV9mxng.js";
3
3
  import L from "../../../Modal/Modal.js";
4
4
  import d from "../../../KeyboardKey/KeyboardKey.js";
5
5
  import k from "../SearchWindow.js";
@@ -1,5 +1,5 @@
1
1
  import { u as e } from "../../../../../chunks/jsxRuntime.module.Bzuv3cXw.js";
2
- import { D as t } from "../../../../../chunks/compat.module.BjTzMHXJ.js";
2
+ import { D as t } from "../../../../../chunks/compat.module.DT16W4Wr.js";
3
3
  import o from "../../../Icon/index.js";
4
4
  import '../../../../../assets/SearchToggle.css';const s = t(function(r, a) {
5
5
  return /* @__PURE__ */ e("button", { id: r.id, ref: a, class: "n-search-toggle", 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 o } from "../../../../chunks/hooks.module.DeYLzLnU.js";
2
+ import { T as o } from "../../../../chunks/hooks.module.CNV9mxng.js";
3
3
  import t from "./SearchHeading/SearchHeading.js";
4
4
  import a from "./SearchLink/SearchLink.js";
5
5
  const h = ({
@@ -1,4 +1,4 @@
1
- import { y as l } from "../../../../chunks/hooks.module.DeYLzLnU.js";
1
+ import { y as l } from "../../../../chunks/hooks.module.CNV9mxng.js";
2
2
  function s(r, t, o, c) {
3
3
  l(() => {
4
4
  if (!r) return;
@@ -1,5 +1,5 @@
1
- import { d as g, A as w } from "../../../../chunks/hooks.module.DeYLzLnU.js";
2
- import { u as S } from "../../../../chunks/useTimeout.DYuvQwFN.js";
1
+ import { d as g, A as w } from "../../../../chunks/hooks.module.CNV9mxng.js";
2
+ import { u as S } from "../../../../chunks/useTimeout.DOkYFG64.js";
3
3
  function x() {
4
4
  const [l, r] = g({
5
5
  searchTerm: "",
@@ -1,4 +1,4 @@
1
- import { y as u } from "../../../../chunks/hooks.module.DeYLzLnU.js";
1
+ import { y as u } from "../../../../chunks/hooks.module.CNV9mxng.js";
2
2
  function a(t, r, n, o) {
3
3
  u(() => {
4
4
  if (!t) return;
@@ -1,4 +1,4 @@
1
- import { A as y, y as h, q as k } from "../../../../chunks/hooks.module.DeYLzLnU.js";
1
+ import { A as y, y as h, q as k } from "../../../../chunks/hooks.module.CNV9mxng.js";
2
2
  class s {
3
3
  /**
4
4
  * Pushes an event payload into the dataLayer.
@@ -1,4 +1,4 @@
1
- import { y as c } from "../../../../chunks/hooks.module.DeYLzLnU.js";
1
+ import { y as c } from "../../../../chunks/hooks.module.CNV9mxng.js";
2
2
  function n(r, o, a) {
3
3
  c(() => {
4
4
  if (typeof location > "u" || r) return;
@@ -1,4 +1,4 @@
1
- import { y as l } from "../../../../chunks/hooks.module.DeYLzLnU.js";
1
+ import { y as l } from "../../../../chunks/hooks.module.CNV9mxng.js";
2
2
  function i(c, r) {
3
3
  l(() => {
4
4
  if (!c) return;
@@ -4,6 +4,5 @@ export { default as Icon } from './Icon';
4
4
  export { default as SearchLink } from './SearchModal/components/SearchLink/SearchLink';
5
5
  export { default as SearchHeading } from './SearchModal/components/SearchHeading/SearchHeading';
6
6
  export { default as SearchToggle } from './SearchModal/components/SearchToggle/SearchToggle';
7
- export { default as ChatApp } from './ChatApp/ChatApp';
8
7
  export { SearchModal } from './SearchModal';
9
8
  export { type IconName } from './Icon';
@@ -1,20 +1,18 @@
1
1
  import { default as t } from "./KeyboardKey/KeyboardKey.js";
2
2
  import { default as d } from "./Modal/Modal.js";
3
- import { default as l } from "./Icon/index.js";
3
+ import { default as m } from "./Icon/index.js";
4
4
  import { default as s } from "./SearchModal/components/SearchLink/SearchLink.js";
5
5
  import { default as x } from "./SearchModal/components/SearchHeading/SearchHeading.js";
6
6
  import { default as h } from "./SearchModal/components/SearchToggle/SearchToggle.js";
7
- import { default as S } from "./ChatApp/ChatApp.js";
8
7
  import "preact";
9
- import "../../chunks/hooks.module.DeYLzLnU.js";
10
- import { default as n } from "./SearchModal/components/SearchModal/SearchModal.js";
8
+ import "../../chunks/hooks.module.CNV9mxng.js";
9
+ import { default as S } from "./SearchModal/components/SearchModal/SearchModal.js";
11
10
  export {
12
- S as ChatApp,
13
- l as Icon,
11
+ m as Icon,
14
12
  t as KeyboardKey,
15
13
  d as Modal,
16
14
  x as SearchHeading,
17
15
  s as SearchLink,
18
- n as SearchModal,
16
+ S as SearchModal,
19
17
  h as SearchToggle
20
18
  };
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": "0.0.47-alpha",
4
+ "version": "0.0.47",
5
5
  "type": "module",
6
6
  "main": "dist/components/preact/index.js",
7
7
  "types": "dist/components/preact/index.d.ts",
@@ -32,11 +32,9 @@
32
32
  "./analytics": "./packages/analytics/index.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@kapaai/react-sdk": "^0.0.5",
36
35
  "@preact/preset-vite": "^2.10.1",
37
36
  "@shikijs/transformers": "^3.3.0",
38
37
  "glob": "^11.0.1",
39
- "marked": "^15.0.11",
40
38
  "preact": "^10.26.4",
41
39
  "vite": "^6.2.5",
42
40
  "vite-plugin-dts": "^4.5.3",
@@ -44,7 +42,7 @@
44
42
  "vite-tsconfig-paths": "^5.1.4"
45
43
  },
46
44
  "devDependencies": {
47
- "@terrazzo/cli": "^0.6.3",
45
+ "@terrazzo/cli": "^0.7.0",
48
46
  "@terrazzo/plugin-css": "^0.6.0",
49
47
  "@types/gtag.js": "^0.0.20",
50
48
  "tslib": "^2.8.1",
@@ -0,0 +1,5 @@
1
+ # Fonts
2
+
3
+ - [Figtree](https://github.com/erikdkennedy/figtree)
4
+ - [Instrument Sans](https://github.com/Instrument/instrument-sans)
5
+ - [Martian Mono](https://github.com/evilmartians/mono.git)
@@ -6,7 +6,6 @@ export { default as SearchLink } from './preact/SearchModal/components/SearchLin
6
6
  export { default as SearchHeading } from './preact/SearchModal/components/SearchHeading/SearchHeading';
7
7
  export { default as SearchToggle } from './preact/SearchModal/components/SearchToggle/SearchToggle';
8
8
  export { default as SearchModal } from './preact/SearchModal/components/SearchModal/SearchModal';
9
- export { default as ChatApp } from './preact/ChatApp/ChatApp';
10
9
  export { type IconName } from './preact/Icon';
11
10
 
12
11
  // Astro components
@@ -4,7 +4,6 @@ export { default as Icon } from './Icon';
4
4
  export { default as SearchLink } from './SearchModal/components/SearchLink/SearchLink';
5
5
  export { default as SearchHeading } from './SearchModal/components/SearchHeading/SearchHeading';
6
6
  export { default as SearchToggle } from './SearchModal/components/SearchToggle/SearchToggle';
7
- export { default as ChatApp } from "./ChatApp/ChatApp"
8
7
  export { SearchModal } from './SearchModal';
9
8
 
10
9
  export { type IconName } from './Icon';
@@ -1,3 +1,4 @@
1
+ @import 'reset.css';
1
2
  @import 'tokens.css';
2
3
  @import 'utils.css';
3
4
  @import 'fonts.css';