@orbitcommerce/constellation-docs 0.0.0-stage → 1.0.0

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 (62) hide show
  1. package/LICENSE.md +6 -0
  2. package/README.md +6 -2
  3. package/dist/docs.css +8260 -0
  4. package/dist/index.d.ts +33 -0
  5. package/dist/index.js +308 -0
  6. package/dist/pages/Playground-CNbBbErC.js +129 -0
  7. package/dist/pages/_figures-data-BDmScEny.js +606 -0
  8. package/dist/pages/_foundations-blXWyYh8.js +30 -0
  9. package/dist/pages/_overlays-specimens-Dpn6oiyH.js +310 -0
  10. package/dist/pages/alert-BD4e6QTh.js +769 -0
  11. package/dist/pages/app-shell-KbA-nRqZ.js +1479 -0
  12. package/dist/pages/area-chart-B91dLcGo.js +562 -0
  13. package/dist/pages/avatar-DPPHXJAu.js +713 -0
  14. package/dist/pages/badge-C9JR0thI.js +729 -0
  15. package/dist/pages/button-D3V912P4.js +518 -0
  16. package/dist/pages/calendar-DSDZ9nRH.js +630 -0
  17. package/dist/pages/card-DUggbis3.js +659 -0
  18. package/dist/pages/checkbox-DwimQaK3.js +365 -0
  19. package/dist/pages/colour-BwuO8xAv.js +1498 -0
  20. package/dist/pages/command-palette-xAD7fOg6.js +1243 -0
  21. package/dist/pages/date-picker-BYSa816m.js +1421 -0
  22. package/dist/pages/delta-CtAo0eIM.js +574 -0
  23. package/dist/pages/dialog-BRAf4LMh.js +1451 -0
  24. package/dist/pages/docs-BNOb7AqR.js +515 -0
  25. package/dist/pages/empty-state-C-mLrXW2.js +417 -0
  26. package/dist/pages/figure-tabs-CoPFzzKz.js +460 -0
  27. package/dist/pages/home-dashboard-CFQwDtC9.js +959 -0
  28. package/dist/pages/host-B6znjEgQ.js +109 -0
  29. package/dist/pages/icon-button-C9eSVPPW.js +861 -0
  30. package/dist/pages/icons-sxkTs5Ob.js +473 -0
  31. package/dist/pages/input-KF9Gkawf.js +1093 -0
  32. package/dist/pages/installation-DpsX8G_n.js +445 -0
  33. package/dist/pages/kbd-cNfDoikz.js +544 -0
  34. package/dist/pages/live-globe-ClvLn9Lb.js +571 -0
  35. package/dist/pages/logo-BfGF1Pq9.js +571 -0
  36. package/dist/pages/menu-by2sgQ09.js +1618 -0
  37. package/dist/pages/motion-BvTGc2Dk.js +855 -0
  38. package/dist/pages/orbit-spinner-Dil1Z3Oy.js +332 -0
  39. package/dist/pages/overview-BPEbZQ6g.js +130 -0
  40. package/dist/pages/pagination-BBUnGvv5.js +249 -0
  41. package/dist/pages/popover-Db1gLDpb.js +1136 -0
  42. package/dist/pages/principles-CeAIOIdt.js +483 -0
  43. package/dist/pages/radio-group-CkdBWWfG.js +1077 -0
  44. package/dist/pages/registry-CroHzK9I.js +244 -0
  45. package/dist/pages/release-Dvo684UJ.js +13 -0
  46. package/dist/pages/rolling-number-qmvH84Mq.js +529 -0
  47. package/dist/pages/search-field-BN7MWGQ4.js +693 -0
  48. package/dist/pages/segmented-control-CTbIpRBW.js +777 -0
  49. package/dist/pages/select-DguELoRR.js +1429 -0
  50. package/dist/pages/separator-CPZub9pv.js +351 -0
  51. package/dist/pages/shape-DKvA0YKr.js +627 -0
  52. package/dist/pages/skeleton-DLuBhP46.js +561 -0
  53. package/dist/pages/sparkline-DMMYGbHn.js +668 -0
  54. package/dist/pages/switch-B-Qe4kcT.js +517 -0
  55. package/dist/pages/table-AMoODng4.js +607 -0
  56. package/dist/pages/tabs-B4M-usCV.js +1455 -0
  57. package/dist/pages/textarea-fTuUZRQb.js +693 -0
  58. package/dist/pages/toast-CKP03zjy.js +1176 -0
  59. package/dist/pages/tooltip-CBYil3kt.js +697 -0
  60. package/dist/pages/typography-PCbg8Bhg.js +735 -0
  61. package/manifest.json +3125 -0
  62. package/package.json +35 -4
@@ -0,0 +1,332 @@
1
+ "use client";
2
+ import { t as DocLink } from "./host-B6znjEgQ.js";
3
+ import { a as DocTable, d as Section, i as DocPage, l as Note, m as ThemePair, o as Example, r as DoDont, s as Guidelines, u as PropsTable } from "./docs-BNOb7AqR.js";
4
+ import { useState } from "react";
5
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
6
+ import { Button, OrbitSpinner } from "@orbitcommerce/constellation";
7
+ //#region src/pages/components/orbit-spinner.tsx
8
+ var SIZES = [
9
+ 12,
10
+ 14,
11
+ 16,
12
+ 20,
13
+ 24,
14
+ 32,
15
+ 48
16
+ ];
17
+ function Preview() {
18
+ return /* @__PURE__ */ jsxs("div", {
19
+ className: "orbit-spinner-preview",
20
+ children: [/* @__PURE__ */ jsx("span", {
21
+ style: { color: "var(--o-accent)" },
22
+ children: /* @__PURE__ */ jsx(OrbitSpinner, { size: 40 })
23
+ }), /* @__PURE__ */ jsxs("span", {
24
+ className: "orbit-spinner-inline",
25
+ children: [/* @__PURE__ */ jsx(OrbitSpinner, { size: 14 }), "Syncing catalogue"]
26
+ })]
27
+ });
28
+ }
29
+ function RunButton({ variant, idle, busy }) {
30
+ const [running, setRunning] = useState(false);
31
+ return /* @__PURE__ */ jsx(Button, {
32
+ variant,
33
+ loading: running,
34
+ onClick: () => {
35
+ setRunning(true);
36
+ window.setTimeout(() => setRunning(false), 2400);
37
+ },
38
+ children: running ? busy : idle
39
+ });
40
+ }
41
+ function Page() {
42
+ return /* @__PURE__ */ jsxs(DocPage, {
43
+ title: "Orbit spinner",
44
+ status: "stable",
45
+ importNames: ["OrbitSpinner"],
46
+ lead: "A satellite with a fading tail, circling a faint orbit: Orbit's sign that something is working. It lives inside the thing that is busy, a button or a row, and takes that thing's colour.",
47
+ children: [
48
+ /* @__PURE__ */ jsxs(Section, {
49
+ id: "sizes",
50
+ title: "Sizes",
51
+ description: /* @__PURE__ */ jsxs("p", { children: [/* @__PURE__ */ jsx("code", { children: "size" }), " is the diameter in pixels, 16 by default. The orbit's stroke grows with it (about a ninth of the size, never thinner than 1.5px), so it reads at every size."] }),
52
+ children: [/* @__PURE__ */ jsx(Example, {
53
+ code: `
54
+ <OrbitSpinner size={12} />
55
+ <OrbitSpinner size={14} />
56
+ <OrbitSpinner />
57
+ <OrbitSpinner size={20} />
58
+ <OrbitSpinner size={24} />
59
+ <OrbitSpinner size={32} />
60
+ <OrbitSpinner size={48} />`,
61
+ children: /* @__PURE__ */ jsx("div", {
62
+ className: "orbit-spinner-row",
63
+ children: SIZES.map((size) => /* @__PURE__ */ jsxs("span", {
64
+ className: "orbit-spinner-size",
65
+ children: [/* @__PURE__ */ jsx(OrbitSpinner, { size }), size]
66
+ }, size))
67
+ })
68
+ }), /* @__PURE__ */ jsx(DocTable, {
69
+ columns: ["Size", "Where it is used"],
70
+ rows: [
71
+ ["12", "Extra small buttons."],
72
+ ["14", "The command palette, beside \"Searching\"."],
73
+ ["15", "Small and medium buttons."],
74
+ ["16", "The default: beside a line of text."],
75
+ ["18", "Large buttons."],
76
+ ["24 to 48", "A panel waiting on something with no known shape. If the shape is known, use a Skeleton."]
77
+ ]
78
+ })]
79
+ }),
80
+ /* @__PURE__ */ jsx(Section, {
81
+ id: "colour",
82
+ title: "Colour",
83
+ description: /* @__PURE__ */ jsxs("p", { children: [
84
+ "The spinner has no colour of its own: it takes the text colour around it. The satellite and its tail are the full colour, and the orbit is the same colour at 20%. Set ",
85
+ /* @__PURE__ */ jsx("code", { children: "color" }),
86
+ " on a parent to change it."
87
+ ] }),
88
+ children: /* @__PURE__ */ jsx(Example, {
89
+ code: `
90
+ <span style={{ color: 'var(--o-fg-1)' }}><OrbitSpinner size={24} /></span>
91
+ <span style={{ color: 'var(--o-fg-3)' }}><OrbitSpinner size={24} /></span>
92
+ <span style={{ color: 'var(--o-accent)' }}><OrbitSpinner size={24} /></span>`,
93
+ children: /* @__PURE__ */ jsx("div", {
94
+ className: "orbit-spinner-row",
95
+ children: [
96
+ {
97
+ name: "Ink",
98
+ color: "var(--o-fg-1)"
99
+ },
100
+ {
101
+ name: "Quiet",
102
+ color: "var(--o-fg-3)"
103
+ },
104
+ {
105
+ name: "Accent",
106
+ color: "var(--o-accent)"
107
+ }
108
+ ].map((tone) => /* @__PURE__ */ jsxs("span", {
109
+ className: "orbit-spinner-size",
110
+ children: [/* @__PURE__ */ jsx("span", {
111
+ style: { color: tone.color },
112
+ children: /* @__PURE__ */ jsx(OrbitSpinner, { size: 24 })
113
+ }), tone.name]
114
+ }, tone.name))
115
+ })
116
+ })
117
+ }),
118
+ /* @__PURE__ */ jsxs(Section, {
119
+ id: "in-buttons",
120
+ title: "In buttons",
121
+ description: /* @__PURE__ */ jsxs("p", { children: [
122
+ "A button's ",
123
+ /* @__PURE__ */ jsx("code", { children: "loading" }),
124
+ " swaps its leading icon for a spinner in the label's colour, and keeps the comet in orbit around the pill. You do not place the spinner yourself. Press a button to run it."
125
+ ] }),
126
+ children: [/* @__PURE__ */ jsxs(Example, {
127
+ code: `
128
+ <Button variant="primary" loading={saving} onClick={save}>
129
+ {saving ? 'Saving' : 'Save changes'}
130
+ </Button>
131
+ <Button loading={syncing} onClick={sync}>
132
+ {syncing ? 'Syncing' : 'Sync catalogue'}
133
+ </Button>
134
+ <Button variant="inverse" loading={publishing} onClick={publish}>
135
+ {publishing ? 'Publishing' : 'Publish theme'}
136
+ </Button>
137
+ <Button variant="critical" loading={deleting} onClick={remove}>
138
+ {deleting ? 'Deleting' : 'Delete product'}
139
+ </Button>`,
140
+ children: [
141
+ /* @__PURE__ */ jsx(RunButton, {
142
+ variant: "primary",
143
+ idle: "Save changes",
144
+ busy: "Saving"
145
+ }),
146
+ /* @__PURE__ */ jsx(RunButton, {
147
+ idle: "Sync catalogue",
148
+ busy: "Syncing"
149
+ }),
150
+ /* @__PURE__ */ jsx(RunButton, {
151
+ variant: "inverse",
152
+ idle: "Publish theme",
153
+ busy: "Publishing"
154
+ }),
155
+ /* @__PURE__ */ jsx(RunButton, {
156
+ variant: "critical",
157
+ idle: "Delete product",
158
+ busy: "Deleting"
159
+ })
160
+ ]
161
+ }), /* @__PURE__ */ jsxs("p", {
162
+ className: "doc-section__description",
163
+ children: [
164
+ "See ",
165
+ /* @__PURE__ */ jsx(DocLink, {
166
+ to: "/components/button#loading",
167
+ children: "Button"
168
+ }),
169
+ " for how a loading button keeps focus and ignores repeat presses. The command palette shows the same spinner, 14px and teal, beside \"Searching\" while results load: see ",
170
+ /* @__PURE__ */ jsx(DocLink, {
171
+ to: "/components/command-palette",
172
+ children: "Command palette"
173
+ }),
174
+ "."
175
+ ]
176
+ })]
177
+ }),
178
+ /* @__PURE__ */ jsx(Section, {
179
+ id: "with-text",
180
+ title: "Beside text",
181
+ description: /* @__PURE__ */ jsx("p", { children: "Sized to the words it sits with, and in their colour, for a status that is running somewhere on the page." }),
182
+ children: /* @__PURE__ */ jsx(Example, {
183
+ code: `
184
+ <span className="status">
185
+ <OrbitSpinner size={14} />
186
+ Syncing catalogue
187
+ </span>`,
188
+ children: /* @__PURE__ */ jsxs("span", {
189
+ className: "orbit-spinner-inline",
190
+ children: [/* @__PURE__ */ jsx(OrbitSpinner, { size: 14 }), "Syncing catalogue"]
191
+ })
192
+ })
193
+ }),
194
+ /* @__PURE__ */ jsx(Section, {
195
+ id: "reduced-motion",
196
+ title: "Reduced motion",
197
+ description: /* @__PURE__ */ jsx("p", { children: "One lap takes 0.95s, easing a little in and out, and it loops for as long as the wait lasts. When the system asks for reduced motion the satellite stops travelling: it holds at the top of its orbit, and it and its tail breathe, fading gently in and out, so it still says \"working\" without movement." }),
198
+ children: /* @__PURE__ */ jsx(Note, {
199
+ title: "To check it",
200
+ children: "Turn on Reduce motion in your system's accessibility settings (on a Mac: System Settings, Accessibility, Display) and look at any spinner on this page."
201
+ })
202
+ }),
203
+ /* @__PURE__ */ jsx(Section, {
204
+ id: "both-themes",
205
+ title: "In both themes",
206
+ description: /* @__PURE__ */ jsx("p", { children: "Sizes, colours and loading buttons, light and dark side by side." }),
207
+ children: /* @__PURE__ */ jsx(ThemePair, { children: /* @__PURE__ */ jsxs("div", {
208
+ className: "orbit-spinner-rows",
209
+ children: [/* @__PURE__ */ jsxs("div", {
210
+ className: "orbit-spinner-row",
211
+ children: [
212
+ /* @__PURE__ */ jsx(OrbitSpinner, { size: 14 }),
213
+ /* @__PURE__ */ jsx(OrbitSpinner, {}),
214
+ /* @__PURE__ */ jsx(OrbitSpinner, { size: 24 }),
215
+ /* @__PURE__ */ jsx("span", {
216
+ style: { color: "var(--o-accent)" },
217
+ children: /* @__PURE__ */ jsx(OrbitSpinner, { size: 32 })
218
+ })
219
+ ]
220
+ }), /* @__PURE__ */ jsxs("div", {
221
+ className: "orbit-spinner-row",
222
+ children: [
223
+ /* @__PURE__ */ jsx(Button, {
224
+ variant: "primary",
225
+ loading: true,
226
+ children: "Saving"
227
+ }),
228
+ /* @__PURE__ */ jsx(Button, {
229
+ loading: true,
230
+ children: "Syncing"
231
+ }),
232
+ /* @__PURE__ */ jsx(Button, {
233
+ variant: "inverse",
234
+ loading: true,
235
+ children: "Publishing"
236
+ }),
237
+ /* @__PURE__ */ jsx(Button, {
238
+ variant: "critical",
239
+ loading: true,
240
+ children: "Deleting"
241
+ })
242
+ ]
243
+ })]
244
+ }) })
245
+ }),
246
+ /* @__PURE__ */ jsxs(Section, {
247
+ id: "guidelines",
248
+ title: "Guidelines",
249
+ children: [
250
+ /* @__PURE__ */ jsx(DoDont, {
251
+ do: {
252
+ children: /* @__PURE__ */ jsx(Button, {
253
+ variant: "primary",
254
+ loading: true,
255
+ children: "Saving"
256
+ }),
257
+ caption: "The spinner inside the button that is doing the work."
258
+ },
259
+ dont: {
260
+ children: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Button, {
261
+ variant: "primary",
262
+ children: "Save changes"
263
+ }), /* @__PURE__ */ jsx(OrbitSpinner, {})] }),
264
+ caption: "A spinner beside a button is a second signal, and the button can still be pressed again."
265
+ }
266
+ }),
267
+ /* @__PURE__ */ jsx(DoDont, {
268
+ do: {
269
+ children: /* @__PURE__ */ jsxs("span", {
270
+ className: "orbit-spinner-inline",
271
+ children: [/* @__PURE__ */ jsx(OrbitSpinner, { size: 14 }), "Syncing catalogue"]
272
+ }),
273
+ caption: "Sized to the words it sits with."
274
+ },
275
+ dont: {
276
+ children: /* @__PURE__ */ jsxs("span", {
277
+ className: "orbit-spinner-inline",
278
+ children: [/* @__PURE__ */ jsx(OrbitSpinner, { size: 32 }), "Syncing catalogue"]
279
+ }),
280
+ caption: "Too big for its line, it shouts over the words it is meant to support."
281
+ }
282
+ }),
283
+ /* @__PURE__ */ jsx(Guidelines, { items: [
284
+ "Use it for actions and short waits. For content with a known shape (a list, a card, a figure), use a Skeleton.",
285
+ "One spinner per wait. Never a spinner inside a region that is already showing skeletons.",
286
+ "Say what is happening in the words beside it, in the present tense: \"Saving\", \"Syncing catalogue\"."
287
+ ] })
288
+ ]
289
+ }),
290
+ /* @__PURE__ */ jsx(Section, {
291
+ id: "accessibility",
292
+ title: "Accessibility",
293
+ children: /* @__PURE__ */ jsx(Guidelines, { items: [
294
+ "Without a label the spinner is hidden from assistive tech. That is right inside a button: the button itself is marked busy.",
295
+ /* @__PURE__ */ jsxs(Fragment$1, { children: [
296
+ "With ",
297
+ /* @__PURE__ */ jsx("code", { children: "label" }),
298
+ " it becomes a status (",
299
+ /* @__PURE__ */ jsx("code", { children: "role=\"status\"" }),
300
+ ") holding the label as visually hidden text, so screen readers announce it when it appears. Use it for a spinner that stands alone."
301
+ ] }),
302
+ "Under reduced motion it stops travelling and breathes in place."
303
+ ] })
304
+ }),
305
+ /* @__PURE__ */ jsx(Section, {
306
+ id: "props",
307
+ title: "Props",
308
+ description: /* @__PURE__ */ jsx("p", { children: "These three only: set colour and spacing on a wrapper." }),
309
+ children: /* @__PURE__ */ jsx(PropsTable, { rows: [
310
+ {
311
+ name: "size",
312
+ type: "number",
313
+ default: "16",
314
+ description: "Diameter in pixels."
315
+ },
316
+ {
317
+ name: "label",
318
+ type: "string",
319
+ description: "Makes the spinner a status that announces this text. Without it, the spinner is hidden from assistive tech."
320
+ },
321
+ {
322
+ name: "className",
323
+ type: "string",
324
+ description: "Extra class on the outer element."
325
+ }
326
+ ] })
327
+ })
328
+ ]
329
+ });
330
+ }
331
+ //#endregion
332
+ export { Page, Preview };
@@ -0,0 +1,130 @@
1
+ "use client";
2
+ import { t as DocLink } from "./host-B6znjEgQ.js";
3
+ import { o as pagesIn, t as CATEGORIES } from "./registry-CroHzK9I.js";
4
+ import { c as ImportLine, i as DocPage } from "./docs-BNOb7AqR.js";
5
+ import { useEffect, useState } from "react";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ import { Button } from "@orbitcommerce/constellation";
8
+ import { ArrowRightIcon } from "@orbitcommerce/constellation/icons";
9
+ //#region src/site/Gallery.tsx
10
+ function usePreviews(pages) {
11
+ const [previews, setPreviews] = useState({});
12
+ useEffect(() => {
13
+ let live = true;
14
+ Promise.allSettled(pages.map((p) => p.load())).then((results) => {
15
+ if (!live) return;
16
+ const next = {};
17
+ results.forEach((r, i) => {
18
+ next[pages[i].path] = r.status === "fulfilled" ? r.value.Preview ?? null : null;
19
+ });
20
+ setPreviews(next);
21
+ });
22
+ return () => {
23
+ live = false;
24
+ };
25
+ }, [pages]);
26
+ return previews;
27
+ }
28
+ var COMPONENT_PAGES = pagesIn("components");
29
+ var PATTERN_PAGES = pagesIn("patterns");
30
+ var ALL = [...COMPONENT_PAGES, ...PATTERN_PAGES];
31
+ function Gallery() {
32
+ const previews = usePreviews(ALL);
33
+ const families = [
34
+ ...CATEGORIES.map((c) => ({
35
+ id: c.id,
36
+ title: c.title,
37
+ pages: COMPONENT_PAGES.filter((p) => p.category === c.id)
38
+ })),
39
+ {
40
+ id: "more",
41
+ title: "More components",
42
+ pages: COMPONENT_PAGES.filter((p) => !p.category)
43
+ },
44
+ {
45
+ id: "patterns",
46
+ title: "Patterns",
47
+ pages: PATTERN_PAGES
48
+ }
49
+ ].filter((f) => f.pages.length > 0);
50
+ return /* @__PURE__ */ jsx("div", {
51
+ className: "gallery",
52
+ id: "components",
53
+ children: families.map((family) => /* @__PURE__ */ jsxs("section", {
54
+ className: "gallery__family",
55
+ "aria-labelledby": `gallery-${family.id}`,
56
+ children: [/* @__PURE__ */ jsx("h2", {
57
+ className: "gallery__family-title",
58
+ id: `gallery-${family.id}`,
59
+ children: family.title
60
+ }), /* @__PURE__ */ jsx("ul", {
61
+ className: "gallery__grid",
62
+ children: family.pages.map((page) => {
63
+ const Preview = previews[page.path];
64
+ return /* @__PURE__ */ jsxs("li", {
65
+ className: "gallery-tile",
66
+ children: [/* @__PURE__ */ jsx("div", {
67
+ className: "gallery-tile__stage",
68
+ inert: true,
69
+ "aria-hidden": "true",
70
+ children: Preview ? /* @__PURE__ */ jsx(Preview, {}) : null
71
+ }), /* @__PURE__ */ jsxs(DocLink, {
72
+ to: page.path,
73
+ className: "gallery-tile__name",
74
+ children: [page.title, /* @__PURE__ */ jsx("span", {
75
+ className: "gallery-tile__arrow",
76
+ "aria-hidden": "true",
77
+ children: /* @__PURE__ */ jsx(ArrowRightIcon, {})
78
+ })]
79
+ })]
80
+ }, page.path);
81
+ })
82
+ })]
83
+ }, family.id))
84
+ });
85
+ }
86
+ //#endregion
87
+ //#region src/pages/start/overview.tsx
88
+ function Page() {
89
+ return /* @__PURE__ */ jsxs(DocPage, {
90
+ title: "Constellation by Orbit Commerce",
91
+ lead: "The design system Orbit Commerce builds its dashboards with: tokens, components and patterns that make every screen feel like one product. Use it to build plugins and apps that look at home inside Orbit Commerce.",
92
+ children: [
93
+ /* @__PURE__ */ jsx(ImportLine, { code: "npm install @orbitcommerce/constellation" }),
94
+ /* @__PURE__ */ jsxs("div", {
95
+ className: "start-links",
96
+ children: [
97
+ /* @__PURE__ */ jsx(Button, {
98
+ asChild: true,
99
+ variant: "primary",
100
+ size: "sm",
101
+ children: /* @__PURE__ */ jsx(DocLink, {
102
+ to: "/start/installation",
103
+ children: "Get set up"
104
+ })
105
+ }),
106
+ /* @__PURE__ */ jsx(Button, {
107
+ asChild: true,
108
+ size: "sm",
109
+ children: /* @__PURE__ */ jsx(DocLink, {
110
+ to: "/start/principles",
111
+ children: "Principles"
112
+ })
113
+ }),
114
+ /* @__PURE__ */ jsx(Button, {
115
+ asChild: true,
116
+ variant: "ghost",
117
+ size: "sm",
118
+ children: /* @__PURE__ */ jsx(DocLink, {
119
+ to: "/foundations/colour",
120
+ children: "Foundations"
121
+ })
122
+ })
123
+ ]
124
+ }),
125
+ /* @__PURE__ */ jsx(Gallery, {})
126
+ ]
127
+ });
128
+ }
129
+ //#endregion
130
+ export { Page };