@orbitcommerce/constellation-docs 0.0.0-stage → 1.2.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.
- package/LICENSE.md +6 -0
- package/README.md +6 -2
- package/dist/docs.css +20787 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.js +308 -0
- package/dist/pages/Playground-Mk1yIWXb.js +129 -0
- package/dist/pages/_address-data-L9BR499w.js +161 -0
- package/dist/pages/_builder-demo-C0eJUmPU.js +282 -0
- package/dist/pages/_card-art-0be5ncyV.js +18 -0
- package/dist/pages/_conversation-samples-Bq7cn-4d.js +70 -0
- package/dist/pages/_figures-data-DaDvB7Nm.js +606 -0
- package/dist/pages/_foundations-blXWyYh8.js +30 -0
- package/dist/pages/_kpi-examples-DeGCBB9T.js +208 -0
- package/dist/pages/_overlays-specimens-bawR331Z.js +320 -0
- package/dist/pages/_preview-specimens-DKQC9HAo.js +153 -0
- package/dist/pages/accordion-Sg0TUqxB.js +1036 -0
- package/dist/pages/address-autocomplete-DP0PUOlK.js +360 -0
- package/dist/pages/address-block-BZOOOPA9.js +368 -0
- package/dist/pages/address-fields-CwSqro3W.js +277 -0
- package/dist/pages/ai-highlight-D3x2vD83.js +642 -0
- package/dist/pages/alert-D3i7xZTU.js +914 -0
- package/dist/pages/anchored-overlay-BV0OCu2Q.js +788 -0
- package/dist/pages/app-shell-D4hdlHps.js +1558 -0
- package/dist/pages/area-chart-BEWFwiB2.js +718 -0
- package/dist/pages/avatar-BFEqQViw.js +895 -0
- package/dist/pages/avatar-upload-BDCzJfyN.js +484 -0
- package/dist/pages/badge-0-PyMrih.js +1035 -0
- package/dist/pages/bar-chart-DkLogYlt.js +1060 -0
- package/dist/pages/bar-fold-B-3XeIDZ.js +360 -0
- package/dist/pages/board-card-D2tZY_mU.js +415 -0
- package/dist/pages/brand-mark-BqiLvFSR.js +417 -0
- package/dist/pages/button-DAyfssDY.js +715 -0
- package/dist/pages/calendar-Ds7KsgSI.js +682 -0
- package/dist/pages/canvas-stage-1KiPspkX.js +472 -0
- package/dist/pages/card-CQEM1_wc.js +1567 -0
- package/dist/pages/caret-suggestions-oHI6QvqW.js +526 -0
- package/dist/pages/chart-legend-B20AbakD.js +724 -0
- package/dist/pages/chat-composer-CwzUJYIa.js +437 -0
- package/dist/pages/checkbox-BG9Zkb6j.js +1581 -0
- package/dist/pages/checklist-card-DEyykVFS.js +783 -0
- package/dist/pages/chip-Ck-o3Ui6.js +839 -0
- package/dist/pages/chip-list-k1LxXuCi.js +414 -0
- package/dist/pages/clamp-text-n-iE8RDR.js +203 -0
- package/dist/pages/coachmark-Be2ghobT.js +366 -0
- package/dist/pages/code-block-Dv_Y5GYq.js +622 -0
- package/dist/pages/collab-field-CfqqK7d2.js +696 -0
- package/dist/pages/color-field-CZpfcA-A.js +1127 -0
- package/dist/pages/colour-q2ntvI0w.js +1974 -0
- package/dist/pages/column-mapper-TsTG39cl.js +502 -0
- package/dist/pages/combobox-DvK2j5tI.js +1334 -0
- package/dist/pages/command-palette-CJ7uBA04.js +1386 -0
- package/dist/pages/comment-box-CDSGYhr5.js +346 -0
- package/dist/pages/composer-D4B0NgpA.js +689 -0
- package/dist/pages/condition-builder-BZy2ZGXe.js +715 -0
- package/dist/pages/conflict-chooser-C--_9UIS.js +210 -0
- package/dist/pages/context-menu-F9DV30ia.js +487 -0
- package/dist/pages/copy-button-Cn7WiKRF.js +568 -0
- package/dist/pages/copy-field-D3Xt3Jq6.js +511 -0
- package/dist/pages/danger-zone-Db_UUeiP.js +564 -0
- package/dist/pages/date-input-GOW067EB.js +956 -0
- package/dist/pages/date-picker-GdBciR99.js +1569 -0
- package/dist/pages/date-time-BLKCXtVZ.js +678 -0
- package/dist/pages/delta-CNAGv8JY.js +779 -0
- package/dist/pages/description-list-BPeXn1eW.js +1268 -0
- package/dist/pages/device-switcher-BCaN99c1.js +554 -0
- package/dist/pages/dialog-CRpkRC98.js +3164 -0
- package/dist/pages/docs-lM2UBSir.js +520 -0
- package/dist/pages/doodle-nzkqi2UI.js +201 -0
- package/dist/pages/drag-ghost-B6kpzC3O.js +426 -0
- package/dist/pages/drill-menu-cskH5mol.js +490 -0
- package/dist/pages/dropzone-DOY_Rhw0.js +1069 -0
- package/dist/pages/element-toolbar-DZIhXlCJ.js +498 -0
- package/dist/pages/emoji-picker-CqaWaffD.js +235 -0
- package/dist/pages/empty-state-4U2txFpI.js +1113 -0
- package/dist/pages/facet-filters-McbBeY9e.js +353 -0
- package/dist/pages/figure-D-HF5vCj.js +563 -0
- package/dist/pages/figure-strip-BB3mNl7D.js +1364 -0
- package/dist/pages/figure-tabs-QOeQMY6N.js +578 -0
- package/dist/pages/file-chip-DMDjtlqQ.js +738 -0
- package/dist/pages/filter-pill-DzqNOsD4.js +1295 -0
- package/dist/pages/font-picker-Bqhu0QMh.js +416 -0
- package/dist/pages/form-grid-BfWCVlie.js +692 -0
- package/dist/pages/gallery-BBk2EOri.js +453 -0
- package/dist/pages/gif-picker-CnoDTCaL.js +270 -0
- package/dist/pages/gradient-editor-Bqxp7Fxj.js +378 -0
- package/dist/pages/grouped-checklist-gNZ0tBKU.js +477 -0
- package/dist/pages/heatmap-BohgIcNk.js +507 -0
- package/dist/pages/highlight-text-BfxzfmvS.js +287 -0
- package/dist/pages/home-dashboard-CxPmvduE.js +962 -0
- package/dist/pages/host-B6znjEgQ.js +109 -0
- package/dist/pages/hosted-embed-Jef3aIMP.js +163 -0
- package/dist/pages/hosted-field-BLh-53AE.js +208 -0
- package/dist/pages/hosted-field-DEpI4lVS.js +514 -0
- package/dist/pages/icon-button-Bu4Gj5sy.js +1200 -0
- package/dist/pages/icon-picker-DEyoMUTh.js +291 -0
- package/dist/pages/icon-tile-DcgxyXPF.js +592 -0
- package/dist/pages/icons-CJ9Aar3d.js +736 -0
- package/dist/pages/image-cropper-NyougqLH.js +466 -0
- package/dist/pages/image-field-7knBv4mJ.js +567 -0
- package/dist/pages/import-result-CmTtGXW_.js +486 -0
- package/dist/pages/inline-confirm-CEcI5Lxo.js +327 -0
- package/dist/pages/inline-edit-Ba39SzhM.js +1125 -0
- package/dist/pages/input-CzLCzfyx.js +2372 -0
- package/dist/pages/installation-C3UcpQJT.js +528 -0
- package/dist/pages/job-indicator-DOXWbFdl.js +755 -0
- package/dist/pages/kanban-Dy9sPAI0.js +740 -0
- package/dist/pages/kbd-UNj4zqxn.js +545 -0
- package/dist/pages/layout-primitives-CPRaZeyt.js +483 -0
- package/dist/pages/line-chart-CntWxeMF.js +1117 -0
- package/dist/pages/link-CXqvAg9z.js +689 -0
- package/dist/pages/link-picker-BMFGCC67.js +478 -0
- package/dist/pages/link-row-x8yaUuWc.js +595 -0
- package/dist/pages/live-globe-95ROMhGQ.js +715 -0
- package/dist/pages/loading-overlay-BeGuXM9G.js +456 -0
- package/dist/pages/loading-state-BNbCo51C.js +556 -0
- package/dist/pages/log-viewer-BQz8I_a2.js +503 -0
- package/dist/pages/logo-B38rnzoq.js +571 -0
- package/dist/pages/lottie_light-CxEH8eiR.js +9116 -0
- package/dist/pages/markdown-Ied72vMT.js +237 -0
- package/dist/pages/markdown-field-BfnIEKZH.js +193 -0
- package/dist/pages/media-banner-DkStCia0.js +233 -0
- package/dist/pages/menu-NrLYKqKp.js +2132 -0
- package/dist/pages/message-thread-Bo4zbxqu.js +731 -0
- package/dist/pages/meta-line-D5p2TycR.js +371 -0
- package/dist/pages/model-viewer-BfokvHoc.js +60288 -0
- package/dist/pages/model-viewer-C8PFO8wk.js +577 -0
- package/dist/pages/month-calendar-T1vw9Rup.js +457 -0
- package/dist/pages/motion-CrXtiBvA.js +865 -0
- package/dist/pages/number-input-CuyMZg18.js +968 -0
- package/dist/pages/orbit-loader-DeVBtkFE.js +219 -0
- package/dist/pages/orbit-spinner-Dxv5qAhr.js +348 -0
- package/dist/pages/otp-input-CVRoX1mw.js +591 -0
- package/dist/pages/overview-LA9XRhZc.js +130 -0
- package/dist/pages/package-dimensions-DFCyZj_T.js +192 -0
- package/dist/pages/pagination-C1EgVtW4.js +294 -0
- package/dist/pages/palette-tile-X9ZXu2Z0.js +414 -0
- package/dist/pages/password-field-DHEQKyUC.js +912 -0
- package/dist/pages/person-cell-BmjbADBz.js +564 -0
- package/dist/pages/phone-input-B3G7Qpb2.js +747 -0
- package/dist/pages/plan-card-DRaA6RuB.js +621 -0
- package/dist/pages/plan-card-DtloWvMh.js +258 -0
- package/dist/pages/plan-comparison-BVIGTtbd.js +559 -0
- package/dist/pages/plan-grid-cfPVTB5V.js +251 -0
- package/dist/pages/point-list-BbPmZjsm.js +222 -0
- package/dist/pages/popover-C3Oar9D5.js +1198 -0
- package/dist/pages/presence-avatars-CRZIk8n9.js +328 -0
- package/dist/pages/preview-frame-Bcwk0y_Q.js +1631 -0
- package/dist/pages/price-CRBLoa9h.js +604 -0
- package/dist/pages/principles-pnDyfHpK.js +483 -0
- package/dist/pages/print-page-BkLv6bW8.js +513 -0
- package/dist/pages/profile-hero-CC9dUzuN.js +498 -0
- package/dist/pages/progress-CP_awmo4.js +904 -0
- package/dist/pages/progress-ring-JuOAwk2T.js +576 -0
- package/dist/pages/radio-group-C-4tg6FS.js +1639 -0
- package/dist/pages/radius-control-B2kRA2Ch.js +441 -0
- package/dist/pages/rating-CweKN2SX.js +471 -0
- package/dist/pages/record-layout-DUP_X0RL.js +719 -0
- package/dist/pages/record-pager-y9D7JFgb.js +278 -0
- package/dist/pages/registry-BZg-xAbi.js +594 -0
- package/dist/pages/release-Cs6tl16C.js +16 -0
- package/dist/pages/repeater-BRZYKRQa.js +1351 -0
- package/dist/pages/reply-feedback-BDnHprla.js +192 -0
- package/dist/pages/reveal-BygENBbL.js +460 -0
- package/dist/pages/rich-text-DOFQZEpT.js +156 -0
- package/dist/pages/rich-text-editor-BhIM20JI.js +1265 -0
- package/dist/pages/rolldown-runtime-CbKu08Hx.js +25 -0
- package/dist/pages/rolling-number-GR3Cyfpz.js +529 -0
- package/dist/pages/row-list-Dl6CYhC-.js +1565 -0
- package/dist/pages/rule-list-DTCmIMpT.js +648 -0
- package/dist/pages/save-status-B5KkyMZP.js +378 -0
- package/dist/pages/schedule-YycI95O1.js +243 -0
- package/dist/pages/scroll-area-B2sGm23Q.js +423 -0
- package/dist/pages/search-field-D1uG7R6A.js +693 -0
- package/dist/pages/search-menu-DMuXyUUW.js +580 -0
- package/dist/pages/secret-field-Dj9x3LL8.js +337 -0
- package/dist/pages/section-rail-BtTCETS5.js +637 -0
- package/dist/pages/section-v2Pubup9.js +639 -0
- package/dist/pages/segmented-control-D-FB1K1T.js +1190 -0
- package/dist/pages/select-DZ43NpOm.js +1434 -0
- package/dist/pages/selection-chrome-Czcs6RN6.js +437 -0
- package/dist/pages/separator-CFwqRvfO.js +428 -0
- package/dist/pages/serp-preview-BGwORjmo.js +346 -0
- package/dist/pages/setting-row-Bt-dZV8H.js +913 -0
- package/dist/pages/shape-DzniHAVT.js +627 -0
- package/dist/pages/share-list-D4wgBxKN.js +926 -0
- package/dist/pages/side-panel-CCtkrZjs.js +811 -0
- package/dist/pages/site-preview-Dj1hM2Yo.js +353 -0
- package/dist/pages/skeleton-C1F5HkAu.js +1325 -0
- package/dist/pages/skip-link-BxznhSkz.js +252 -0
- package/dist/pages/slider-CAoPURKD.js +774 -0
- package/dist/pages/sortable-card-Sr44uCpI.js +424 -0
- package/dist/pages/sortable-list-DUAleYE1.js +1298 -0
- package/dist/pages/sortable-tree-BLzK-hTE.js +737 -0
- package/dist/pages/spacing-box-CtuvzxQu.js +550 -0
- package/dist/pages/sparkline-D3aavCly.js +947 -0
- package/dist/pages/split-bar-DYgZnFID.js +414 -0
- package/dist/pages/split-button-Be08-VI-.js +335 -0
- package/dist/pages/split-pane-lSNZgTKt.js +523 -0
- package/dist/pages/status-badge-DOdNhmzn.js +1074 -0
- package/dist/pages/status-checklist-CWkjCZIC.js +1152 -0
- package/dist/pages/status-dot-D99gAGsV.js +567 -0
- package/dist/pages/stepper-CxKTbEA-.js +1093 -0
- package/dist/pages/success-mark-CqFTOBEu.js +142 -0
- package/dist/pages/swatch-H_kNvHuC.js +565 -0
- package/dist/pages/switch-C93K6j9h.js +617 -0
- package/dist/pages/table-CL0vomno.js +3225 -0
- package/dist/pages/tabs-Dh0mUsLw.js +1690 -0
- package/dist/pages/tag-input-BjZWKKRJ.js +1307 -0
- package/dist/pages/task-card-Dv0sR1-w.js +295 -0
- package/dist/pages/textarea-CCM-SnGN.js +949 -0
- package/dist/pages/thumbnail-DwFJL_k1.js +1147 -0
- package/dist/pages/time-input-CA9-uZAa.js +442 -0
- package/dist/pages/time-zone-select-CEtMXVYO.js +296 -0
- package/dist/pages/timeline-BsMUTlpR.js +1798 -0
- package/dist/pages/toast-zXLRiMRT.js +1391 -0
- package/dist/pages/tool-rail-B1AbTMCP.js +355 -0
- package/dist/pages/toolbar-B9l_fHKy.js +754 -0
- package/dist/pages/tooltip-LHtCUkF-.js +826 -0
- package/dist/pages/translation-field-CTRXiF2N.js +251 -0
- package/dist/pages/tree-checklist-CJj3OcLg.js +451 -0
- package/dist/pages/tree-select-DU1qXHy_.js +492 -0
- package/dist/pages/tree-view-g_RjLtAb.js +739 -0
- package/dist/pages/typography-BSijtiRl.js +876 -0
- package/dist/pages/unit-input-Dml4fjmK.js +659 -0
- package/dist/pages/upload-rules-yozEzSah.js +419 -0
- package/dist/pages/url-upload-input-SSnMgfpA.js +307 -0
- package/dist/pages/value-change-CnubDKyO.js +489 -0
- package/dist/pages/weekly-hours-i2EpsmTx.js +287 -0
- package/dist/pages/widget-preview-CUJMyZ_k.js +625 -0
- package/dist/pages/working-status-CENemSsw.js +389 -0
- package/manifest.json +13001 -0
- package/package.json +35 -4
|
@@ -0,0 +1,528 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { t as DocLink } from "./host-B6znjEgQ.js";
|
|
3
|
+
import { n as REACT_RANGE, t as CONSTELLATION_VERSION } from "./release-Cs6tl16C.js";
|
|
4
|
+
import { a as DocTable, d as Section$1, i as DocPage, l as Note, n as CodeBlock$1, o as Example, s as Guidelines, u as PropsTable } from "./docs-lM2UBSir.js";
|
|
5
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { Button, IconButton, Menu, MenuContent, MenuItem, MenuTrigger, ThemeScope, Tooltip, useThemeScope } from "@orbitcommerce/constellation";
|
|
7
|
+
import { CaretDownIcon, CopySimpleIcon, PaperPlaneTiltIcon, PrinterIcon } from "@orbitcommerce/constellation/icons";
|
|
8
|
+
//#region src/pages/start/installation.tsx
|
|
9
|
+
/** An island of the other theme, so the demo reads whichever theme the stage is in. */
|
|
10
|
+
function Island() {
|
|
11
|
+
const theme = useThemeScope() === "dark" ? "light" : "dark";
|
|
12
|
+
return /* @__PURE__ */ jsxs(ThemeScope, {
|
|
13
|
+
theme,
|
|
14
|
+
className: "installation-island",
|
|
15
|
+
children: [/* @__PURE__ */ jsxs("span", {
|
|
16
|
+
className: "installation-island__label",
|
|
17
|
+
children: [
|
|
18
|
+
"A ",
|
|
19
|
+
theme,
|
|
20
|
+
" island"
|
|
21
|
+
]
|
|
22
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
23
|
+
className: "installation-island__row",
|
|
24
|
+
children: [/* @__PURE__ */ jsxs(Menu, { children: [/* @__PURE__ */ jsx(MenuTrigger, {
|
|
25
|
+
asChild: true,
|
|
26
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
27
|
+
iconEnd: /* @__PURE__ */ jsx(CaretDownIcon, {}),
|
|
28
|
+
children: "Order actions"
|
|
29
|
+
})
|
|
30
|
+
}), /* @__PURE__ */ jsxs(MenuContent, { children: [/* @__PURE__ */ jsx(MenuItem, {
|
|
31
|
+
icon: /* @__PURE__ */ jsx(PrinterIcon, {}),
|
|
32
|
+
children: "Print packing slip"
|
|
33
|
+
}), /* @__PURE__ */ jsx(MenuItem, {
|
|
34
|
+
icon: /* @__PURE__ */ jsx(PaperPlaneTiltIcon, {}),
|
|
35
|
+
children: "Send invoice"
|
|
36
|
+
})] })] }), /* @__PURE__ */ jsx(Tooltip, {
|
|
37
|
+
content: "Copy order number",
|
|
38
|
+
children: /* @__PURE__ */ jsx(IconButton, {
|
|
39
|
+
label: "Copy order number",
|
|
40
|
+
variant: "secondary",
|
|
41
|
+
children: /* @__PURE__ */ jsx(CopySimpleIcon, {})
|
|
42
|
+
})
|
|
43
|
+
})]
|
|
44
|
+
})]
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function Page() {
|
|
48
|
+
return /* @__PURE__ */ jsxs(DocPage, {
|
|
49
|
+
title: "Installation",
|
|
50
|
+
lead: "Constellation by Orbit Commerce is one package: tokens, styles, fonts, icons and React components. Import the stylesheet once, wrap the app in a tooltip provider, and every screen looks at home in Orbit Commerce.",
|
|
51
|
+
children: [
|
|
52
|
+
/* @__PURE__ */ jsxs(Section$1, {
|
|
53
|
+
id: "install",
|
|
54
|
+
title: "Install",
|
|
55
|
+
description: /* @__PURE__ */ jsx("p", { children: "The whole kit is one package on npm." }),
|
|
56
|
+
children: [
|
|
57
|
+
/* @__PURE__ */ jsxs("div", {
|
|
58
|
+
className: "installation-facts",
|
|
59
|
+
children: [/* @__PURE__ */ jsxs("span", { children: [
|
|
60
|
+
/* @__PURE__ */ jsx("code", { children: "@orbitcommerce/constellation" }),
|
|
61
|
+
" ",
|
|
62
|
+
/* @__PURE__ */ jsx("span", {
|
|
63
|
+
className: "o-num",
|
|
64
|
+
children: CONSTELLATION_VERSION
|
|
65
|
+
})
|
|
66
|
+
] }), /* @__PURE__ */ jsxs("span", { children: [
|
|
67
|
+
"React ",
|
|
68
|
+
REACT_RANGE.replace(">=", ""),
|
|
69
|
+
" and up"
|
|
70
|
+
] })]
|
|
71
|
+
}),
|
|
72
|
+
/* @__PURE__ */ jsx(CodeBlock$1, {
|
|
73
|
+
lang: "bash",
|
|
74
|
+
code: `npm install @orbitcommerce/constellation`
|
|
75
|
+
}),
|
|
76
|
+
/* @__PURE__ */ jsxs("p", {
|
|
77
|
+
className: "doc-section__description installation-after",
|
|
78
|
+
children: [
|
|
79
|
+
"React and React DOM 19 are peer dependencies. Everything else comes with the package: the Radix primitives, cmdk, ",
|
|
80
|
+
/* @__PURE__ */ jsx("code", { children: "motion" }),
|
|
81
|
+
", Phosphor icons and the Fontsource fonts."
|
|
82
|
+
]
|
|
83
|
+
})
|
|
84
|
+
]
|
|
85
|
+
}),
|
|
86
|
+
/* @__PURE__ */ jsxs(Section$1, {
|
|
87
|
+
id: "styles",
|
|
88
|
+
title: "Add the styles",
|
|
89
|
+
description: /* @__PURE__ */ jsxs("p", { children: [
|
|
90
|
+
"Import the fonts and the stylesheet once, at the root, ",
|
|
91
|
+
/* @__PURE__ */ jsx("strong", { children: "after" }),
|
|
92
|
+
" the app's own CSS."
|
|
93
|
+
] }),
|
|
94
|
+
children: [
|
|
95
|
+
/* @__PURE__ */ jsx(CodeBlock$1, {
|
|
96
|
+
lang: "tsx",
|
|
97
|
+
code: `
|
|
98
|
+
// main.tsx
|
|
99
|
+
import './index.css' // the app's own styles first
|
|
100
|
+
import '@orbitcommerce/constellation/fonts.css'
|
|
101
|
+
import '@orbitcommerce/constellation/styles.css'`
|
|
102
|
+
}),
|
|
103
|
+
/* @__PURE__ */ jsxs(Note, {
|
|
104
|
+
title: "Why after, and why no layers",
|
|
105
|
+
children: [
|
|
106
|
+
"The kit is plain CSS: ",
|
|
107
|
+
/* @__PURE__ */ jsx("code", { children: "--o-*" }),
|
|
108
|
+
" tokens and ",
|
|
109
|
+
/* @__PURE__ */ jsx("code", { children: ".o-*" }),
|
|
110
|
+
" classes, with no",
|
|
111
|
+
" ",
|
|
112
|
+
/* @__PURE__ */ jsx("code", { children: "@layer" }),
|
|
113
|
+
". Host resets are usually unlayered (Tailwind 3's preflight is), and unlayered rules beat layered ones whatever their specificity, so a layered kit would lose to a reset like",
|
|
114
|
+
" ",
|
|
115
|
+
/* @__PURE__ */ jsxs("code", { children: [
|
|
116
|
+
"button ",
|
|
117
|
+
"{",
|
|
118
|
+
" background-color: transparent ",
|
|
119
|
+
"}"
|
|
120
|
+
] }),
|
|
121
|
+
". Unlayered and loaded last, it wins on source order, and it only ever styles its own classes, so the host's elements are untouched."
|
|
122
|
+
]
|
|
123
|
+
}),
|
|
124
|
+
/* @__PURE__ */ jsxs(Note, {
|
|
125
|
+
title: "Tailwind 4 hosts",
|
|
126
|
+
children: [
|
|
127
|
+
"Tailwind 4 puts its utilities in a cascade layer, so a utility on one of the kit's components cannot override a property the component sets (a margin on a button, say). Space and place components with a wrapper, or with",
|
|
128
|
+
" ",
|
|
129
|
+
/* @__PURE__ */ jsx("code", { children: "style" }),
|
|
130
|
+
"."
|
|
131
|
+
]
|
|
132
|
+
})
|
|
133
|
+
]
|
|
134
|
+
}),
|
|
135
|
+
/* @__PURE__ */ jsxs(Section$1, {
|
|
136
|
+
id: "styles-in-parts",
|
|
137
|
+
title: "Only the styles you use",
|
|
138
|
+
description: /* @__PURE__ */ jsxs("p", { children: [
|
|
139
|
+
/* @__PURE__ */ jsx("code", { children: "styles.css" }),
|
|
140
|
+
" holds every component's rules. To send less, load the core sheet once and a sheet for each component you draw, in place of ",
|
|
141
|
+
/* @__PURE__ */ jsx("code", { children: "styles.css" }),
|
|
142
|
+
"."
|
|
143
|
+
] }),
|
|
144
|
+
children: [
|
|
145
|
+
/* @__PURE__ */ jsx(CodeBlock$1, {
|
|
146
|
+
lang: "css",
|
|
147
|
+
code: `
|
|
148
|
+
/* index.css, after the app's own styles */
|
|
149
|
+
@import '@orbitcommerce/constellation/styles/core.css';
|
|
150
|
+
@import '@orbitcommerce/constellation/styles/use/Button.css';
|
|
151
|
+
@import '@orbitcommerce/constellation/styles/use/Card.css';`
|
|
152
|
+
}),
|
|
153
|
+
/* @__PURE__ */ jsxs("p", {
|
|
154
|
+
className: "doc-section__description installation-after",
|
|
155
|
+
children: [
|
|
156
|
+
"Each ",
|
|
157
|
+
/* @__PURE__ */ jsx("code", { children: "use/<Name>.css" }),
|
|
158
|
+
" brings the sheets that component draws, the parts it is built from included, and ",
|
|
159
|
+
/* @__PURE__ */ jsx("code", { children: "styles/manifest.json" }),
|
|
160
|
+
" lists them by the name the component is imported by.",
|
|
161
|
+
" ",
|
|
162
|
+
/* @__PURE__ */ jsx("code", { children: "fonts.css" }),
|
|
163
|
+
" is loaded as before."
|
|
164
|
+
]
|
|
165
|
+
}),
|
|
166
|
+
/* @__PURE__ */ jsx(DocTable, {
|
|
167
|
+
columns: [
|
|
168
|
+
"Load",
|
|
169
|
+
"It holds",
|
|
170
|
+
"Gzipped"
|
|
171
|
+
],
|
|
172
|
+
rows: [[
|
|
173
|
+
/* @__PURE__ */ jsx("code", { children: "styles.css" }, "all"),
|
|
174
|
+
"Every component's rules",
|
|
175
|
+
"About 120 KB"
|
|
176
|
+
], [
|
|
177
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
178
|
+
/* @__PURE__ */ jsx("code", { children: "styles/core.css" }),
|
|
179
|
+
" and a ",
|
|
180
|
+
/* @__PURE__ */ jsx("code", { children: "use" }),
|
|
181
|
+
" sheet per component"
|
|
182
|
+
] }, "parts"),
|
|
183
|
+
"The tokens, the base and motion, and only the sheets those components draw",
|
|
184
|
+
"About 20 KB for a page of ten or so"
|
|
185
|
+
]]
|
|
186
|
+
})
|
|
187
|
+
]
|
|
188
|
+
}),
|
|
189
|
+
/* @__PURE__ */ jsx(Section$1, {
|
|
190
|
+
id: "fonts",
|
|
191
|
+
title: "Fonts",
|
|
192
|
+
description: /* @__PURE__ */ jsxs("p", { children: [/* @__PURE__ */ jsx("code", { children: "fonts.css" }), " loads Geist, Sora and Geist Mono, self-hosted through Fontsource (SIL Open Font License). A host that already ships Geist can load only what it is missing."] }),
|
|
193
|
+
children: /* @__PURE__ */ jsx(CodeBlock$1, {
|
|
194
|
+
lang: "tsx",
|
|
195
|
+
code: `
|
|
196
|
+
import '@orbitcommerce/constellation/fonts/sora.css'
|
|
197
|
+
import '@orbitcommerce/constellation/fonts/geist-mono.css'`
|
|
198
|
+
})
|
|
199
|
+
}),
|
|
200
|
+
/* @__PURE__ */ jsxs(Section$1, {
|
|
201
|
+
id: "base",
|
|
202
|
+
title: "The optional base",
|
|
203
|
+
description: /* @__PURE__ */ jsxs("p", { children: [
|
|
204
|
+
"The kit never resets the host page. An app that adopts it as its whole look adds ",
|
|
205
|
+
/* @__PURE__ */ jsx("code", { children: ".o-root" }),
|
|
206
|
+
" ",
|
|
207
|
+
"to its root element; without it, components still look right and the host's own text, background and focus styles stay as they are."
|
|
208
|
+
] }),
|
|
209
|
+
children: [/* @__PURE__ */ jsx(CodeBlock$1, {
|
|
210
|
+
lang: "tsx",
|
|
211
|
+
code: `
|
|
212
|
+
<body className="o-root">
|
|
213
|
+
<App />
|
|
214
|
+
</body>`
|
|
215
|
+
}), /* @__PURE__ */ jsx(DocTable, {
|
|
216
|
+
columns: [".o-root sets", "To"],
|
|
217
|
+
rows: [
|
|
218
|
+
["Font, size, line height, colour", "Geist at 14px, 1.45, Brand Ink"],
|
|
219
|
+
["Background", "The porcelain ground"],
|
|
220
|
+
["Text rendering", "Antialiased, with synthesised bold switched off"],
|
|
221
|
+
["Caret and native controls", "Orbit teal (caret-color, accent-color)"],
|
|
222
|
+
["Selected text", "A teal tint"],
|
|
223
|
+
["Scrollbars", "Thin, in the strong hairline colour"],
|
|
224
|
+
["Keyboard focus", "A 2px teal outline, 2px off every link, button and field inside it"]
|
|
225
|
+
]
|
|
226
|
+
})]
|
|
227
|
+
}),
|
|
228
|
+
/* @__PURE__ */ jsx(Section$1, {
|
|
229
|
+
id: "icons",
|
|
230
|
+
title: "Icons",
|
|
231
|
+
description: /* @__PURE__ */ jsxs("p", { children: [
|
|
232
|
+
"Icons come from the package's icons entry: Phosphor, re-exported so the set can be swapped for Orbit's own drawings later without touching product code. See ",
|
|
233
|
+
/* @__PURE__ */ jsx(DocLink, {
|
|
234
|
+
to: "/foundations/icons",
|
|
235
|
+
children: "Icons"
|
|
236
|
+
}),
|
|
237
|
+
"."
|
|
238
|
+
] }),
|
|
239
|
+
children: /* @__PURE__ */ jsx(CodeBlock$1, {
|
|
240
|
+
lang: "tsx",
|
|
241
|
+
code: `
|
|
242
|
+
import { Button } from '@orbitcommerce/constellation'
|
|
243
|
+
import { PlusIcon } from '@orbitcommerce/constellation/icons'
|
|
244
|
+
|
|
245
|
+
<Button variant="primary" icon={<PlusIcon />}>Create order</Button>`
|
|
246
|
+
})
|
|
247
|
+
}),
|
|
248
|
+
/* @__PURE__ */ jsxs(Section$1, {
|
|
249
|
+
id: "dark-theme",
|
|
250
|
+
title: "Dark theme",
|
|
251
|
+
description: /* @__PURE__ */ jsx("p", { children: "Light is the default. Dark applies under any of three markers on an ancestor, so the kit follows whichever toggle the host already has. Components read semantic tokens and never branch on the theme." }),
|
|
252
|
+
children: [
|
|
253
|
+
/* @__PURE__ */ jsx(CodeBlock$1, {
|
|
254
|
+
lang: "tsx",
|
|
255
|
+
code: `
|
|
256
|
+
// Any one of these on <html> (or any ancestor) turns the kit dark.
|
|
257
|
+
document.documentElement.classList.add('dark')
|
|
258
|
+
document.documentElement.dataset.theme = 'dark'
|
|
259
|
+
document.documentElement.dataset.oTheme = 'dark'`
|
|
260
|
+
}),
|
|
261
|
+
/* @__PURE__ */ jsx(CodeBlock$1, {
|
|
262
|
+
lang: "css",
|
|
263
|
+
code: `
|
|
264
|
+
/* tokens.css */
|
|
265
|
+
:root, [data-theme='light'], [data-o-theme='light'] { /* light tokens */ }
|
|
266
|
+
.dark, [data-theme='dark'], [data-o-theme='dark'] { /* dark tokens */ }`
|
|
267
|
+
}),
|
|
268
|
+
/* @__PURE__ */ jsxs("p", {
|
|
269
|
+
className: "doc-section__description installation-after",
|
|
270
|
+
children: [
|
|
271
|
+
"Each theme also sets ",
|
|
272
|
+
/* @__PURE__ */ jsx("code", { children: "color-scheme" }),
|
|
273
|
+
", so native scrollbars and form controls follow. To bring light back inside a dark page, use ",
|
|
274
|
+
/* @__PURE__ */ jsx("code", { children: "data-theme=\"light\"" }),
|
|
275
|
+
" or ",
|
|
276
|
+
/* @__PURE__ */ jsx("code", { children: "data-o-theme=\"light\"" }),
|
|
277
|
+
": there is no",
|
|
278
|
+
" ",
|
|
279
|
+
/* @__PURE__ */ jsx("code", { children: ".light" }),
|
|
280
|
+
" class."
|
|
281
|
+
]
|
|
282
|
+
})
|
|
283
|
+
]
|
|
284
|
+
}),
|
|
285
|
+
/* @__PURE__ */ jsxs(Section$1, {
|
|
286
|
+
id: "theme-scope",
|
|
287
|
+
title: "Theme islands",
|
|
288
|
+
description: /* @__PURE__ */ jsxs("p", { children: [/* @__PURE__ */ jsx("code", { children: "ThemeScope" }), " makes a light or dark island inside a page of the other theme: a dark band on a light page, a preview. Menus, popovers, dialogs, tooltips and the command palette opened inside it follow the island, even though they are portalled out of it. Open the menu to see."] }),
|
|
289
|
+
children: [
|
|
290
|
+
/* @__PURE__ */ jsx(Example, {
|
|
291
|
+
code: `
|
|
292
|
+
import { ThemeScope } from '@orbitcommerce/constellation'
|
|
293
|
+
|
|
294
|
+
<ThemeScope theme="dark">
|
|
295
|
+
<Menu>
|
|
296
|
+
<MenuTrigger asChild>
|
|
297
|
+
<Button iconEnd={<CaretDownIcon />}>Order actions</Button>
|
|
298
|
+
</MenuTrigger>
|
|
299
|
+
<MenuContent>
|
|
300
|
+
<MenuItem icon={<PrinterIcon />}>Print packing slip</MenuItem>
|
|
301
|
+
<MenuItem icon={<PaperPlaneTiltIcon />}>Send invoice</MenuItem>
|
|
302
|
+
</MenuContent>
|
|
303
|
+
</Menu>
|
|
304
|
+
</ThemeScope>`,
|
|
305
|
+
children: /* @__PURE__ */ jsx(Island, {})
|
|
306
|
+
}),
|
|
307
|
+
/* @__PURE__ */ jsx(Guidelines, { items: [/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
308
|
+
"Renders a ",
|
|
309
|
+
/* @__PURE__ */ jsx("code", { children: "div" }),
|
|
310
|
+
" with ",
|
|
311
|
+
/* @__PURE__ */ jsx("code", { children: "data-o-theme" }),
|
|
312
|
+
"; every other prop goes to it."
|
|
313
|
+
] }), /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
314
|
+
/* @__PURE__ */ jsx("code", { children: "useThemeScope()" }),
|
|
315
|
+
" returns the nearest island's theme, or ",
|
|
316
|
+
/* @__PURE__ */ jsx("code", { children: "undefined" }),
|
|
317
|
+
" when the page theme applies. Build portalled parts with it."
|
|
318
|
+
] })] }),
|
|
319
|
+
/* @__PURE__ */ jsx(PropsTable, {
|
|
320
|
+
title: "ThemeScope",
|
|
321
|
+
rows: [{
|
|
322
|
+
name: "theme",
|
|
323
|
+
type: "'light' | 'dark'",
|
|
324
|
+
required: true,
|
|
325
|
+
description: "The theme inside the island."
|
|
326
|
+
}]
|
|
327
|
+
})
|
|
328
|
+
]
|
|
329
|
+
}),
|
|
330
|
+
/* @__PURE__ */ jsxs(Section$1, {
|
|
331
|
+
id: "tooltip-provider",
|
|
332
|
+
title: "Tooltip provider",
|
|
333
|
+
description: /* @__PURE__ */ jsxs("p", { children: [
|
|
334
|
+
"Wrap the app in one ",
|
|
335
|
+
/* @__PURE__ */ jsx("code", { children: "TooltipProvider" }),
|
|
336
|
+
", near the root. It shares timing across tooltips: once one is open, its neighbours open instantly, which is what makes a toolbar feel quick. A lone tooltip brings its own provider, so nothing breaks without it; it is just slower."
|
|
337
|
+
] }),
|
|
338
|
+
children: [/* @__PURE__ */ jsx(CodeBlock$1, {
|
|
339
|
+
lang: "tsx",
|
|
340
|
+
code: `
|
|
341
|
+
import { TooltipProvider } from '@orbitcommerce/constellation'
|
|
342
|
+
|
|
343
|
+
createRoot(document.getElementById('root')!).render(
|
|
344
|
+
<TooltipProvider>
|
|
345
|
+
<App />
|
|
346
|
+
</TooltipProvider>,
|
|
347
|
+
)`
|
|
348
|
+
}), /* @__PURE__ */ jsx(PropsTable, {
|
|
349
|
+
title: "TooltipProvider",
|
|
350
|
+
rows: [
|
|
351
|
+
{
|
|
352
|
+
name: "delayDuration",
|
|
353
|
+
type: "number",
|
|
354
|
+
default: "350",
|
|
355
|
+
description: "Hover time in ms before the first tooltip opens."
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
name: "skipDelayDuration",
|
|
359
|
+
type: "number",
|
|
360
|
+
default: "150",
|
|
361
|
+
description: "Window in ms in which moving to another trigger opens its tooltip instantly."
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
name: "disableHoverableContent",
|
|
365
|
+
type: "boolean",
|
|
366
|
+
description: "Close as soon as the pointer leaves the trigger, even towards the tooltip."
|
|
367
|
+
}
|
|
368
|
+
]
|
|
369
|
+
})]
|
|
370
|
+
}),
|
|
371
|
+
/* @__PURE__ */ jsxs(Section$1, {
|
|
372
|
+
id: "frameworks",
|
|
373
|
+
title: "Vite and Next.js",
|
|
374
|
+
description: /* @__PURE__ */ jsxs("p", { children: [
|
|
375
|
+
"The package ships ES modules and CommonJS with type definitions. In Vite, import and go. For React Server Components, each component and each icon is an ES module of its own marked ",
|
|
376
|
+
/* @__PURE__ */ jsx("code", { children: "'use client'" }),
|
|
377
|
+
" (every component uses hooks), behind entry files that only re-export them: import components and icons straight into Server Components, they render as client components, and a page loads only the ones it uses. Turbopack (",
|
|
378
|
+
/* @__PURE__ */ jsx("code", { children: "next build" }),
|
|
379
|
+
" in Next.js 16) needs nothing more."
|
|
380
|
+
] }),
|
|
381
|
+
children: [
|
|
382
|
+
/* @__PURE__ */ jsx(CodeBlock$1, {
|
|
383
|
+
lang: "tsx",
|
|
384
|
+
code: `
|
|
385
|
+
// app/layout.tsx (Next.js App Router)
|
|
386
|
+
import './globals.css'
|
|
387
|
+
import '@orbitcommerce/constellation/fonts.css'
|
|
388
|
+
import '@orbitcommerce/constellation/styles.css'
|
|
389
|
+
import { TooltipProvider } from '@orbitcommerce/constellation'
|
|
390
|
+
|
|
391
|
+
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
392
|
+
return (
|
|
393
|
+
<html lang="en-GB">
|
|
394
|
+
<body className="o-root">
|
|
395
|
+
<TooltipProvider>{children}</TooltipProvider>
|
|
396
|
+
</body>
|
|
397
|
+
</html>
|
|
398
|
+
)
|
|
399
|
+
}`
|
|
400
|
+
}),
|
|
401
|
+
/* @__PURE__ */ jsxs("p", {
|
|
402
|
+
className: "doc-section__description installation-after",
|
|
403
|
+
children: [
|
|
404
|
+
"Webpack (Next.js 15, or ",
|
|
405
|
+
/* @__PURE__ */ jsx("code", { children: "next build --webpack" }),
|
|
406
|
+
") follows every re-export of an entry a page imports, so a page would load the whole kit and every icon. Name both entries in ",
|
|
407
|
+
/* @__PURE__ */ jsx("code", { children: "optimizePackageImports" }),
|
|
408
|
+
" and it loads only what the page uses, as with Turbopack:"
|
|
409
|
+
]
|
|
410
|
+
}),
|
|
411
|
+
/* @__PURE__ */ jsx(CodeBlock$1, {
|
|
412
|
+
lang: "tsx",
|
|
413
|
+
code: `
|
|
414
|
+
// next.config.ts, with webpack only: Turbopack needs nothing
|
|
415
|
+
export default {
|
|
416
|
+
experimental: {
|
|
417
|
+
optimizePackageImports: ['@orbitcommerce/constellation', '@orbitcommerce/constellation/icons'],
|
|
418
|
+
},
|
|
419
|
+
}`
|
|
420
|
+
})
|
|
421
|
+
]
|
|
422
|
+
}),
|
|
423
|
+
/* @__PURE__ */ jsx(Fragment, {}),
|
|
424
|
+
/* @__PURE__ */ jsxs(Section$1, {
|
|
425
|
+
id: "licence",
|
|
426
|
+
title: "Licence",
|
|
427
|
+
children: [/* @__PURE__ */ jsx(Guidelines, { items: [
|
|
428
|
+
"You may use Constellation by Orbit Commerce to build apps, plugins, themes and other software that work with Orbit Commerce.",
|
|
429
|
+
"A stand-alone app, one that does not run inside Orbit Commerce, must look clearly different from Orbit Commerce's own products, including its dashboards.",
|
|
430
|
+
"The licence does not cover Orbit Commerce's names or the Orbit logo, beyond saying where the kit comes from. Use the logo files only to refer to Orbit Commerce.",
|
|
431
|
+
"The fonts and libraries the kit uses keep their own licences, such as the SIL Open Font License (Geist, Geist Mono and Sora) and MIT (Phosphor Icons and Radix UI)."
|
|
432
|
+
] }), /* @__PURE__ */ jsxs(Note, {
|
|
433
|
+
title: "The full terms",
|
|
434
|
+
children: [
|
|
435
|
+
"This is a summary. The full licence is ",
|
|
436
|
+
/* @__PURE__ */ jsx("code", { children: "LICENSE.md" }),
|
|
437
|
+
" in the package, and it is what applies. You can read it on ",
|
|
438
|
+
/* @__PURE__ */ jsx("a", {
|
|
439
|
+
href: "https://www.npmjs.com/package/@orbitcommerce/constellation",
|
|
440
|
+
children: "the package's npm page"
|
|
441
|
+
}),
|
|
442
|
+
"."
|
|
443
|
+
]
|
|
444
|
+
})]
|
|
445
|
+
}),
|
|
446
|
+
/* @__PURE__ */ jsx(Section$1, {
|
|
447
|
+
id: "browsers",
|
|
448
|
+
title: "Browser support",
|
|
449
|
+
description: /* @__PURE__ */ jsxs("p", { children: [
|
|
450
|
+
"Chrome 125, Safari 16.4 and Firefox 128 or later. The kit relies on ",
|
|
451
|
+
/* @__PURE__ */ jsx("code", { children: "oklch()" }),
|
|
452
|
+
",",
|
|
453
|
+
" ",
|
|
454
|
+
/* @__PURE__ */ jsx("code", { children: "color-mix()" }),
|
|
455
|
+
", ",
|
|
456
|
+
/* @__PURE__ */ jsx("code", { children: "@property" }),
|
|
457
|
+
" and ",
|
|
458
|
+
/* @__PURE__ */ jsx("code", { children: "linear()" }),
|
|
459
|
+
" easing."
|
|
460
|
+
] }),
|
|
461
|
+
children: /* @__PURE__ */ jsxs(Note, {
|
|
462
|
+
title: "Safari before 17.2",
|
|
463
|
+
children: [
|
|
464
|
+
"Safari only understands ",
|
|
465
|
+
/* @__PURE__ */ jsx("code", { children: "linear()" }),
|
|
466
|
+
" from 17.2. In earlier versions, transitions that use the spring curves are dropped, so those changes happen instantly rather than animating."
|
|
467
|
+
]
|
|
468
|
+
})
|
|
469
|
+
}),
|
|
470
|
+
/* @__PURE__ */ jsxs(Section$1, {
|
|
471
|
+
id: "checklist",
|
|
472
|
+
title: "Checklist",
|
|
473
|
+
children: [/* @__PURE__ */ jsx(Guidelines, { items: [
|
|
474
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
475
|
+
"Styles: ",
|
|
476
|
+
/* @__PURE__ */ jsx("code", { children: "fonts.css" }),
|
|
477
|
+
" and ",
|
|
478
|
+
/* @__PURE__ */ jsx("code", { children: "styles.css" }),
|
|
479
|
+
" (or ",
|
|
480
|
+
/* @__PURE__ */ jsx("code", { children: "styles/core.css" }),
|
|
481
|
+
" and a",
|
|
482
|
+
" ",
|
|
483
|
+
/* @__PURE__ */ jsx("code", { children: "use" }),
|
|
484
|
+
" sheet per component), imported once, after the app's own CSS."
|
|
485
|
+
] }),
|
|
486
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("code", { children: "className=\"o-root\"" }), " on the root, if the kit is the app's whole look."] }),
|
|
487
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
488
|
+
"One ",
|
|
489
|
+
/* @__PURE__ */ jsx("code", { children: "TooltipProvider" }),
|
|
490
|
+
" near the root."
|
|
491
|
+
] }),
|
|
492
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
493
|
+
"Dark theme through ",
|
|
494
|
+
/* @__PURE__ */ jsx("code", { children: ".dark" }),
|
|
495
|
+
", ",
|
|
496
|
+
/* @__PURE__ */ jsx("code", { children: "data-theme" }),
|
|
497
|
+
" or ",
|
|
498
|
+
/* @__PURE__ */ jsx("code", { children: "data-o-theme" }),
|
|
499
|
+
" on an ancestor."
|
|
500
|
+
] }),
|
|
501
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
502
|
+
"Icons from ",
|
|
503
|
+
/* @__PURE__ */ jsx("code", { children: "@orbitcommerce/constellation/icons" }),
|
|
504
|
+
", never from Phosphor directly."
|
|
505
|
+
] })
|
|
506
|
+
] }), /* @__PURE__ */ jsxs("div", {
|
|
507
|
+
className: "installation-next",
|
|
508
|
+
children: [/* @__PURE__ */ jsx(Button, {
|
|
509
|
+
asChild: true,
|
|
510
|
+
variant: "primary",
|
|
511
|
+
children: /* @__PURE__ */ jsx(DocLink, {
|
|
512
|
+
to: "/start/principles",
|
|
513
|
+
children: "Read the principles"
|
|
514
|
+
})
|
|
515
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
516
|
+
asChild: true,
|
|
517
|
+
children: /* @__PURE__ */ jsx(DocLink, {
|
|
518
|
+
to: "/foundations/colour",
|
|
519
|
+
children: "Colour"
|
|
520
|
+
})
|
|
521
|
+
})]
|
|
522
|
+
})]
|
|
523
|
+
})
|
|
524
|
+
]
|
|
525
|
+
});
|
|
526
|
+
}
|
|
527
|
+
//#endregion
|
|
528
|
+
export { Page };
|