@still-void/ui 0.0.0-canary-20261202214749
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/CHANGELOG.md +350 -0
- package/LICENSE +21 -0
- package/README.md +330 -0
- package/dist/css/app-shell.css +129 -0
- package/dist/css/base.css +27 -0
- package/dist/css/content.css +726 -0
- package/dist/css/controls.css +383 -0
- package/dist/css/data.css +190 -0
- package/dist/css/forms.css +318 -0
- package/dist/css/motion.css +49 -0
- package/dist/css/overlays.css +488 -0
- package/dist/css/toast.css +170 -0
- package/dist/react/_modules/behaviors/themeManager.js +10 -0
- package/dist/react/_modules/behaviors/themeManager.js.map +1 -0
- package/dist/react/_modules/components/ui/alert.js +14 -0
- package/dist/react/_modules/components/ui/alert.js.map +1 -0
- package/dist/react/_modules/components/ui/badge.js +9 -0
- package/dist/react/_modules/components/ui/badge.js.map +1 -0
- package/dist/react/_modules/components/ui/button.js +9 -0
- package/dist/react/_modules/components/ui/button.js.map +1 -0
- package/dist/react/_modules/components/ui/card.js +19 -0
- package/dist/react/_modules/components/ui/card.js.map +1 -0
- package/dist/react/_modules/components/ui/chart.js +18 -0
- package/dist/react/_modules/components/ui/chart.js.map +1 -0
- package/dist/react/_modules/components/ui/checkbox.js +8 -0
- package/dist/react/_modules/components/ui/checkbox.js.map +1 -0
- package/dist/react/_modules/components/ui/field.js +9 -0
- package/dist/react/_modules/components/ui/field.js.map +1 -0
- package/dist/react/_modules/components/ui/file-input.js +10 -0
- package/dist/react/_modules/components/ui/file-input.js.map +1 -0
- package/dist/react/_modules/components/ui/icon-set.js +11 -0
- package/dist/react/_modules/components/ui/icon-set.js.map +1 -0
- package/dist/react/_modules/components/ui/icon.js +9 -0
- package/dist/react/_modules/components/ui/icon.js.map +1 -0
- package/dist/react/_modules/components/ui/input.js +10 -0
- package/dist/react/_modules/components/ui/input.js.map +1 -0
- package/dist/react/_modules/components/ui/native-select.js +10 -0
- package/dist/react/_modules/components/ui/native-select.js.map +1 -0
- package/dist/react/_modules/components/ui/pagination.js +23 -0
- package/dist/react/_modules/components/ui/pagination.js.map +1 -0
- package/dist/react/_modules/components/ui/progress.js +8 -0
- package/dist/react/_modules/components/ui/progress.js.map +1 -0
- package/dist/react/_modules/components/ui/radio-group.js +12 -0
- package/dist/react/_modules/components/ui/radio-group.js.map +1 -0
- package/dist/react/_modules/components/ui/separator.js +8 -0
- package/dist/react/_modules/components/ui/separator.js.map +1 -0
- package/dist/react/_modules/components/ui/slot.js +7 -0
- package/dist/react/_modules/components/ui/slot.js.map +1 -0
- package/dist/react/_modules/components/ui/table.js +23 -0
- package/dist/react/_modules/components/ui/table.js.map +1 -0
- package/dist/react/_modules/components/ui/text-link.js +10 -0
- package/dist/react/_modules/components/ui/text-link.js.map +1 -0
- package/dist/react/_modules/components/ui/textarea.js +10 -0
- package/dist/react/_modules/components/ui/textarea.js.map +1 -0
- package/dist/react/_modules/lib/safe-href.js +9 -0
- package/dist/react/_modules/lib/safe-href.js.map +1 -0
- package/dist/react/_modules/lib/utils.js +7 -0
- package/dist/react/_modules/lib/utils.js.map +1 -0
- package/dist/react/_modules/react/components/Article.js +17 -0
- package/dist/react/_modules/react/components/Article.js.map +1 -0
- package/dist/react/_modules/react/components/Content.js +30 -0
- package/dist/react/_modules/react/components/Content.js.map +1 -0
- package/dist/react/_modules/react/components/PageHeader.js +8 -0
- package/dist/react/_modules/react/components/PageHeader.js.map +1 -0
- package/dist/react/_modules/react/components/Shell.js +17 -0
- package/dist/react/_modules/react/components/Shell.js.map +1 -0
- package/dist/react/_modules/react/components/ThemeScript.js +9 -0
- package/dist/react/_modules/react/components/ThemeScript.js.map +1 -0
- package/dist/react/_modules/recipes/article.js +34 -0
- package/dist/react/_modules/recipes/article.js.map +1 -0
- package/dist/react/_modules/recipes/content.js +34 -0
- package/dist/react/_modules/recipes/content.js.map +1 -0
- package/dist/react/_modules/recipes/cx.js +7 -0
- package/dist/react/_modules/recipes/cx.js.map +1 -0
- package/dist/react/_modules/recipes/field.js +12 -0
- package/dist/react/_modules/recipes/field.js.map +1 -0
- package/dist/react/_modules/recipes/shell.js +18 -0
- package/dist/react/_modules/recipes/shell.js.map +1 -0
- package/dist/react/_modules/recipes/table.js +9 -0
- package/dist/react/_modules/recipes/table.js.map +1 -0
- package/dist/react/_modules/tokens/categories.js +12 -0
- package/dist/react/_modules/tokens/categories.js.map +1 -0
- package/dist/react/_modules/tokens/colors.js +23 -0
- package/dist/react/_modules/tokens/colors.js.map +1 -0
- package/dist/react/_modules/tokens/motion.js +9 -0
- package/dist/react/_modules/tokens/motion.js.map +1 -0
- package/dist/react/_modules/tokens/spacing.js +9 -0
- package/dist/react/_modules/tokens/spacing.js.map +1 -0
- package/dist/react/_modules/tokens/typography.js +15 -0
- package/dist/react/_modules/tokens/typography.js.map +1 -0
- package/dist/react/_modules/tokens/zIndex.js +7 -0
- package/dist/react/_modules/tokens/zIndex.js.map +1 -0
- package/dist/react/chunk-2QRW4J2C.js +29 -0
- package/dist/react/chunk-2QRW4J2C.js.map +1 -0
- package/dist/react/chunk-3BWBG3BR.js +82 -0
- package/dist/react/chunk-3BWBG3BR.js.map +1 -0
- package/dist/react/chunk-563PKHIJ.js +48 -0
- package/dist/react/chunk-563PKHIJ.js.map +1 -0
- package/dist/react/chunk-5RPXXOD7.js +50 -0
- package/dist/react/chunk-5RPXXOD7.js.map +1 -0
- package/dist/react/chunk-6PF2SFKH.js +54 -0
- package/dist/react/chunk-6PF2SFKH.js.map +1 -0
- package/dist/react/chunk-7JIE3YAY.js +109 -0
- package/dist/react/chunk-7JIE3YAY.js.map +1 -0
- package/dist/react/chunk-7ZVSFBDK.js +26 -0
- package/dist/react/chunk-7ZVSFBDK.js.map +1 -0
- package/dist/react/chunk-AVAJOAL5.js +10 -0
- package/dist/react/chunk-AVAJOAL5.js.map +1 -0
- package/dist/react/chunk-BXKXO6FU.js +34 -0
- package/dist/react/chunk-BXKXO6FU.js.map +1 -0
- package/dist/react/chunk-CN3PNEZL.js +80 -0
- package/dist/react/chunk-CN3PNEZL.js.map +1 -0
- package/dist/react/chunk-EHJDOUXR.js +144 -0
- package/dist/react/chunk-EHJDOUXR.js.map +1 -0
- package/dist/react/chunk-FX2E23UV.js +28 -0
- package/dist/react/chunk-FX2E23UV.js.map +1 -0
- package/dist/react/chunk-GYGMM6RW.js +20 -0
- package/dist/react/chunk-GYGMM6RW.js.map +1 -0
- package/dist/react/chunk-H7DEOO3V.js +29 -0
- package/dist/react/chunk-H7DEOO3V.js.map +1 -0
- package/dist/react/chunk-HD7O5FNH.js +39 -0
- package/dist/react/chunk-HD7O5FNH.js.map +1 -0
- package/dist/react/chunk-HYLCMS2U.js +28 -0
- package/dist/react/chunk-HYLCMS2U.js.map +1 -0
- package/dist/react/chunk-HYXG2WF4.js +73 -0
- package/dist/react/chunk-HYXG2WF4.js.map +1 -0
- package/dist/react/chunk-KQK7SZ3K.js +52 -0
- package/dist/react/chunk-KQK7SZ3K.js.map +1 -0
- package/dist/react/chunk-KQZBK3XX.js +24 -0
- package/dist/react/chunk-KQZBK3XX.js.map +1 -0
- package/dist/react/chunk-L6WPFLSD.js +39 -0
- package/dist/react/chunk-L6WPFLSD.js.map +1 -0
- package/dist/react/chunk-LOVNG6RF.js +9 -0
- package/dist/react/chunk-LOVNG6RF.js.map +1 -0
- package/dist/react/chunk-M5FFVQKK.js +41 -0
- package/dist/react/chunk-M5FFVQKK.js.map +1 -0
- package/dist/react/chunk-MZEFPODP.js +77 -0
- package/dist/react/chunk-MZEFPODP.js.map +1 -0
- package/dist/react/chunk-NJQN37EG.js +37 -0
- package/dist/react/chunk-NJQN37EG.js.map +1 -0
- package/dist/react/chunk-OEFJMV7G.js +144 -0
- package/dist/react/chunk-OEFJMV7G.js.map +1 -0
- package/dist/react/chunk-P4M4LEI2.js +62 -0
- package/dist/react/chunk-P4M4LEI2.js.map +1 -0
- package/dist/react/chunk-PGDHKADW.js +60 -0
- package/dist/react/chunk-PGDHKADW.js.map +1 -0
- package/dist/react/chunk-QTVPXQ43.js +29 -0
- package/dist/react/chunk-QTVPXQ43.js.map +1 -0
- package/dist/react/chunk-QVOZHMVF.js +14 -0
- package/dist/react/chunk-QVOZHMVF.js.map +1 -0
- package/dist/react/chunk-SJ2YK4NJ.js +27 -0
- package/dist/react/chunk-SJ2YK4NJ.js.map +1 -0
- package/dist/react/chunk-SSMGCYPH.js +79 -0
- package/dist/react/chunk-SSMGCYPH.js.map +1 -0
- package/dist/react/chunk-SUT4G3TE.js +29 -0
- package/dist/react/chunk-SUT4G3TE.js.map +1 -0
- package/dist/react/chunk-SVLIJGBZ.js +14 -0
- package/dist/react/chunk-SVLIJGBZ.js.map +1 -0
- package/dist/react/chunk-SY7EEIC3.js +100 -0
- package/dist/react/chunk-SY7EEIC3.js.map +1 -0
- package/dist/react/chunk-TI3OPDCN.js +25 -0
- package/dist/react/chunk-TI3OPDCN.js.map +1 -0
- package/dist/react/chunk-U6L6J73Y.js +27 -0
- package/dist/react/chunk-U6L6J73Y.js.map +1 -0
- package/dist/react/chunk-VD5O66DN.js +54 -0
- package/dist/react/chunk-VD5O66DN.js.map +1 -0
- package/dist/react/chunk-YDGOXO6Q.js +74 -0
- package/dist/react/chunk-YDGOXO6Q.js.map +1 -0
- package/dist/react/chunk-YTTFCX3E.js +16 -0
- package/dist/react/chunk-YTTFCX3E.js.map +1 -0
- package/dist/react/chunk-YXV3UEL5.js +27 -0
- package/dist/react/chunk-YXV3UEL5.js.map +1 -0
- package/dist/react/client/_modules/behaviors/clipboard.js +8 -0
- package/dist/react/client/_modules/behaviors/clipboard.js.map +1 -0
- package/dist/react/client/_modules/behaviors/mediaQuery.js +8 -0
- package/dist/react/client/_modules/behaviors/mediaQuery.js.map +1 -0
- package/dist/react/client/_modules/behaviors/readingProgress.js +10 -0
- package/dist/react/client/_modules/behaviors/readingProgress.js.map +1 -0
- package/dist/react/client/_modules/behaviors/scrollSpy.js +8 -0
- package/dist/react/client/_modules/behaviors/scrollSpy.js.map +1 -0
- package/dist/react/client/_modules/behaviors/themeManager.js +11 -0
- package/dist/react/client/_modules/behaviors/themeManager.js.map +1 -0
- package/dist/react/client/_modules/components/ui/alert-dialog.js +30 -0
- package/dist/react/client/_modules/components/ui/alert-dialog.js.map +1 -0
- package/dist/react/client/_modules/components/ui/bottom-sheet.js +28 -0
- package/dist/react/client/_modules/components/ui/bottom-sheet.js.map +1 -0
- package/dist/react/client/_modules/components/ui/combobox.js +13 -0
- package/dist/react/client/_modules/components/ui/combobox.js.map +1 -0
- package/dist/react/client/_modules/components/ui/dialog.js +30 -0
- package/dist/react/client/_modules/components/ui/dialog.js.map +1 -0
- package/dist/react/client/_modules/components/ui/dropdown-menu.js +39 -0
- package/dist/react/client/_modules/components/ui/dropdown-menu.js.map +1 -0
- package/dist/react/client/_modules/components/ui/icon-set.js +12 -0
- package/dist/react/client/_modules/components/ui/icon-set.js.map +1 -0
- package/dist/react/client/_modules/components/ui/icon.js +10 -0
- package/dist/react/client/_modules/components/ui/icon.js.map +1 -0
- package/dist/react/client/_modules/components/ui/restore-focus.js +8 -0
- package/dist/react/client/_modules/components/ui/restore-focus.js.map +1 -0
- package/dist/react/client/_modules/components/ui/select.js +29 -0
- package/dist/react/client/_modules/components/ui/select.js.map +1 -0
- package/dist/react/client/_modules/components/ui/tabs.js +15 -0
- package/dist/react/client/_modules/components/ui/tabs.js.map +1 -0
- package/dist/react/client/_modules/components/ui/tooltip.js +15 -0
- package/dist/react/client/_modules/components/ui/tooltip.js.map +1 -0
- package/dist/react/client/_modules/lib/utils.js +8 -0
- package/dist/react/client/_modules/lib/utils.js.map +1 -0
- package/dist/react/client/_modules/react/client/CopyButton.js +11 -0
- package/dist/react/client/_modules/react/client/CopyButton.js.map +1 -0
- package/dist/react/client/_modules/react/client/ReadingProgress.js +14 -0
- package/dist/react/client/_modules/react/client/ReadingProgress.js.map +1 -0
- package/dist/react/client/_modules/react/client/SidebarProvider.js +26 -0
- package/dist/react/client/_modules/react/client/SidebarProvider.js.map +1 -0
- package/dist/react/client/_modules/react/client/TableOfContents.js +14 -0
- package/dist/react/client/_modules/react/client/TableOfContents.js.map +1 -0
- package/dist/react/client/_modules/react/client/ThemeProvider.js +12 -0
- package/dist/react/client/_modules/react/client/ThemeProvider.js.map +1 -0
- package/dist/react/client/_modules/react/client/ThemeToggle.js +14 -0
- package/dist/react/client/_modules/react/client/ThemeToggle.js.map +1 -0
- package/dist/react/client/_modules/react/client/ToastProvider.js +14 -0
- package/dist/react/client/_modules/react/client/ToastProvider.js.map +1 -0
- package/dist/react/client/_modules/react/client/hooks.js +17 -0
- package/dist/react/client/_modules/react/client/hooks.js.map +1 -0
- package/dist/react/client/_modules/react/client/shadcn.js +160 -0
- package/dist/react/client/_modules/react/client/shadcn.js.map +1 -0
- package/dist/react/client/_modules/recipes/article.js +35 -0
- package/dist/react/client/_modules/recipes/article.js.map +1 -0
- package/dist/react/client/_modules/recipes/cx.js +8 -0
- package/dist/react/client/_modules/recipes/cx.js.map +1 -0
- package/dist/react/client/_modules/recipes/field.js +13 -0
- package/dist/react/client/_modules/recipes/field.js.map +1 -0
- package/dist/react/client/_modules/tokens/colors.js +24 -0
- package/dist/react/client/_modules/tokens/colors.js.map +1 -0
- package/dist/react/client/chunk-3MVZ2ES4.js +83 -0
- package/dist/react/client/chunk-3MVZ2ES4.js.map +1 -0
- package/dist/react/client/chunk-7AU2DPOL.js +35 -0
- package/dist/react/client/chunk-7AU2DPOL.js.map +1 -0
- package/dist/react/client/chunk-ABWCVXOO.js +11 -0
- package/dist/react/client/chunk-ABWCVXOO.js.map +1 -0
- package/dist/react/client/chunk-AEXJWMUV.js +52 -0
- package/dist/react/client/chunk-AEXJWMUV.js.map +1 -0
- package/dist/react/client/chunk-CJQZ4BGO.js +125 -0
- package/dist/react/client/chunk-CJQZ4BGO.js.map +1 -0
- package/dist/react/client/chunk-CMMPIPNC.js +30 -0
- package/dist/react/client/chunk-CMMPIPNC.js.map +1 -0
- package/dist/react/client/chunk-CWA3N5RK.js +123 -0
- package/dist/react/client/chunk-CWA3N5RK.js.map +1 -0
- package/dist/react/client/chunk-ECOPTUZT.js +102 -0
- package/dist/react/client/chunk-ECOPTUZT.js.map +1 -0
- package/dist/react/client/chunk-GD7XJWKF.js +102 -0
- package/dist/react/client/chunk-GD7XJWKF.js.map +1 -0
- package/dist/react/client/chunk-JVVNV4DF.js +95 -0
- package/dist/react/client/chunk-JVVNV4DF.js.map +1 -0
- package/dist/react/client/chunk-LDOUB5IA.js +40 -0
- package/dist/react/client/chunk-LDOUB5IA.js.map +1 -0
- package/dist/react/client/chunk-M5QFSQYC.js +40 -0
- package/dist/react/client/chunk-M5QFSQYC.js.map +1 -0
- package/dist/react/client/chunk-MGR4F2BJ.js +67 -0
- package/dist/react/client/chunk-MGR4F2BJ.js.map +1 -0
- package/dist/react/client/chunk-MYTOL2RH.js +61 -0
- package/dist/react/client/chunk-MYTOL2RH.js.map +1 -0
- package/dist/react/client/chunk-N64GC5ZU.js +12 -0
- package/dist/react/client/chunk-N64GC5ZU.js.map +1 -0
- package/dist/react/client/chunk-NEAL74VV.js +130 -0
- package/dist/react/client/chunk-NEAL74VV.js.map +1 -0
- package/dist/react/client/chunk-OF6BMW2X.js +30 -0
- package/dist/react/client/chunk-OF6BMW2X.js.map +1 -0
- package/dist/react/client/chunk-OILITPDP.js +72 -0
- package/dist/react/client/chunk-OILITPDP.js.map +1 -0
- package/dist/react/client/chunk-OU4ACOFA.js +75 -0
- package/dist/react/client/chunk-OU4ACOFA.js.map +1 -0
- package/dist/react/client/chunk-OVMH25G3.js +23 -0
- package/dist/react/client/chunk-OVMH25G3.js.map +1 -0
- package/dist/react/client/chunk-P2UPL6Y3.js +205 -0
- package/dist/react/client/chunk-P2UPL6Y3.js.map +1 -0
- package/dist/react/client/chunk-PAOYY55O.js +41 -0
- package/dist/react/client/chunk-PAOYY55O.js.map +1 -0
- package/dist/react/client/chunk-PYG5NCEU.js +54 -0
- package/dist/react/client/chunk-PYG5NCEU.js.map +1 -0
- package/dist/react/client/chunk-RCZS37V5.js +239 -0
- package/dist/react/client/chunk-RCZS37V5.js.map +1 -0
- package/dist/react/client/chunk-RJFN4KXE.js +36 -0
- package/dist/react/client/chunk-RJFN4KXE.js.map +1 -0
- package/dist/react/client/chunk-RNMQZ6T2.js +62 -0
- package/dist/react/client/chunk-RNMQZ6T2.js.map +1 -0
- package/dist/react/client/chunk-TXL2US4Z.js +53 -0
- package/dist/react/client/chunk-TXL2US4Z.js.map +1 -0
- package/dist/react/client/chunk-U6FMZ32G.js +192 -0
- package/dist/react/client/chunk-U6FMZ32G.js.map +1 -0
- package/dist/react/client/chunk-WR7KQGBM.js +2 -0
- package/dist/react/client/chunk-WR7KQGBM.js.map +1 -0
- package/dist/react/client/chunk-XHL4YEVA.js +17 -0
- package/dist/react/client/chunk-XHL4YEVA.js.map +1 -0
- package/dist/react/client/index.cjs +1924 -0
- package/dist/react/client/index.cjs.map +1 -0
- package/dist/react/client/index.d.cts +588 -0
- package/dist/react/client/index.d.ts +588 -0
- package/dist/react/client/index.js +233 -0
- package/dist/react/client/index.js.map +1 -0
- package/dist/react/index.cjs +1682 -0
- package/dist/react/index.cjs.map +1 -0
- package/dist/react/index.d.cts +994 -0
- package/dist/react/index.d.ts +994 -0
- package/dist/react/index.js +333 -0
- package/dist/react/index.js.map +1 -0
- package/dist/shadcn-overrides.css +112 -0
- package/dist/style.css +2480 -0
- package/dist/tailwind.css +73 -0
- package/dist/theme.css +346 -0
- package/package.json +171 -0
|
@@ -0,0 +1,1682 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/react/index.ts
|
|
31
|
+
var react_exports = {};
|
|
32
|
+
__export(react_exports, {
|
|
33
|
+
Alert: () => Alert,
|
|
34
|
+
AlertDescription: () => AlertDescription,
|
|
35
|
+
AlertTitle: () => AlertTitle,
|
|
36
|
+
ArticleHeader: () => ArticleHeader,
|
|
37
|
+
Badge: () => Badge,
|
|
38
|
+
Button: () => Button,
|
|
39
|
+
Callout: () => Callout,
|
|
40
|
+
Card: () => Card,
|
|
41
|
+
CardContent: () => CardContent,
|
|
42
|
+
CardDescription: () => CardDescription,
|
|
43
|
+
CardFooter: () => CardFooter,
|
|
44
|
+
CardHeader: () => CardHeader,
|
|
45
|
+
CardSkeleton: () => CardSkeleton,
|
|
46
|
+
CardTitle: () => CardTitle,
|
|
47
|
+
CategoryPill: () => CategoryPill,
|
|
48
|
+
ChartAxis: () => ChartAxis,
|
|
49
|
+
ChartBar: () => ChartBar,
|
|
50
|
+
ChartContainer: () => ChartContainer,
|
|
51
|
+
ChartGrid: () => ChartGrid,
|
|
52
|
+
ChartLegend: () => ChartLegend,
|
|
53
|
+
ChartLine: () => ChartLine,
|
|
54
|
+
Checkbox: () => Checkbox,
|
|
55
|
+
CodeBlock: () => CodeBlock,
|
|
56
|
+
DEFAULT_ACCENT: () => DEFAULT_ACCENT,
|
|
57
|
+
DEFAULT_MODE: () => DEFAULT_MODE,
|
|
58
|
+
FeaturedPostCard: () => FeaturedPostCard,
|
|
59
|
+
Field: () => Field,
|
|
60
|
+
FileInput: () => FileInput,
|
|
61
|
+
Footer: () => Footer,
|
|
62
|
+
Header: () => Header,
|
|
63
|
+
Hero: () => Hero,
|
|
64
|
+
Icon: () => Icon,
|
|
65
|
+
Input: () => Input,
|
|
66
|
+
Layout: () => Layout,
|
|
67
|
+
Lead: () => Lead,
|
|
68
|
+
Logo: () => Logo,
|
|
69
|
+
NativeSelect: () => NativeSelect,
|
|
70
|
+
PageHeader: () => PageHeader,
|
|
71
|
+
Pagination: () => Pagination,
|
|
72
|
+
PaginationContent: () => PaginationContent,
|
|
73
|
+
PaginationEllipsis: () => PaginationEllipsis,
|
|
74
|
+
PaginationItem: () => PaginationItem,
|
|
75
|
+
PaginationLink: () => PaginationLink,
|
|
76
|
+
PaginationNext: () => PaginationNext,
|
|
77
|
+
PaginationPrevious: () => PaginationPrevious,
|
|
78
|
+
PostCard: () => PostCard,
|
|
79
|
+
PostGrid: () => PostGrid,
|
|
80
|
+
Progress: () => Progress,
|
|
81
|
+
Prose: () => Prose,
|
|
82
|
+
READING_PROGRESS_VAR: () => READING_PROGRESS_VAR,
|
|
83
|
+
RadioGroup: () => RadioGroup,
|
|
84
|
+
RadioGroupItem: () => RadioGroupItem,
|
|
85
|
+
Separator: () => Separator,
|
|
86
|
+
Sidebar: () => Sidebar,
|
|
87
|
+
SidebarSection: () => SidebarSection,
|
|
88
|
+
Skeleton: () => Skeleton,
|
|
89
|
+
Table: () => Table,
|
|
90
|
+
TableBody: () => TableBody,
|
|
91
|
+
TableCaption: () => TableCaption,
|
|
92
|
+
TableCell: () => TableCell,
|
|
93
|
+
TableFooter: () => TableFooter,
|
|
94
|
+
TableHead: () => TableHead,
|
|
95
|
+
TableHeader: () => TableHeader,
|
|
96
|
+
TableRow: () => TableRow,
|
|
97
|
+
TextLink: () => TextLink,
|
|
98
|
+
Textarea: () => Textarea,
|
|
99
|
+
ThemeScript: () => ThemeScript,
|
|
100
|
+
accentNames: () => accentNames,
|
|
101
|
+
accents: () => accents,
|
|
102
|
+
accentsInk: () => accentsInk,
|
|
103
|
+
articleHeader: () => articleHeader,
|
|
104
|
+
articleHeaderClasses: () => articleHeaderClasses,
|
|
105
|
+
callout: () => callout,
|
|
106
|
+
calloutClasses: () => calloutClasses,
|
|
107
|
+
calloutLabels: () => calloutLabels,
|
|
108
|
+
cardSkeleton: () => cardSkeleton,
|
|
109
|
+
categoryPill: () => categoryPill,
|
|
110
|
+
categoryPillClasses: () => categoryPillClasses,
|
|
111
|
+
codeBlock: () => codeBlock,
|
|
112
|
+
codeBlockClasses: () => codeBlockClasses,
|
|
113
|
+
colors: () => colors,
|
|
114
|
+
cx: () => cx,
|
|
115
|
+
defaultCategoryColors: () => defaultCategoryColors,
|
|
116
|
+
durations: () => durations,
|
|
117
|
+
easings: () => easings,
|
|
118
|
+
featuredPostCard: () => featuredPostCard,
|
|
119
|
+
featuredPostCardClasses: () => featuredPostCardClasses,
|
|
120
|
+
field: () => field,
|
|
121
|
+
fieldClasses: () => fieldClasses,
|
|
122
|
+
fieldMessage: () => fieldMessage,
|
|
123
|
+
fontFamilies: () => fontFamilies,
|
|
124
|
+
fontSizes: () => fontSizes,
|
|
125
|
+
fontWeights: () => fontWeights,
|
|
126
|
+
footer: () => footer,
|
|
127
|
+
footerClasses: () => footerClasses,
|
|
128
|
+
header: () => header,
|
|
129
|
+
headerClasses: () => headerClasses,
|
|
130
|
+
hero: () => hero,
|
|
131
|
+
heroClasses: () => heroClasses,
|
|
132
|
+
layout: () => layout,
|
|
133
|
+
letterSpacings: () => letterSpacings,
|
|
134
|
+
lineHeights: () => lineHeights,
|
|
135
|
+
logo: () => logo,
|
|
136
|
+
logoClasses: () => logoClasses,
|
|
137
|
+
postCard: () => postCard,
|
|
138
|
+
postCardClasses: () => postCardClasses,
|
|
139
|
+
postGrid: () => postGrid,
|
|
140
|
+
prose: () => prose,
|
|
141
|
+
proseClasses: () => proseClasses,
|
|
142
|
+
radii: () => radii,
|
|
143
|
+
readingProgress: () => readingProgress,
|
|
144
|
+
readingProgressClasses: () => readingProgressClasses,
|
|
145
|
+
resolveAccentColor: () => resolveAccentColor,
|
|
146
|
+
resolveCategoryColor: () => resolveCategoryColor,
|
|
147
|
+
safeHref: () => safeHref,
|
|
148
|
+
semantic: () => semantic,
|
|
149
|
+
semanticInk: () => semanticInk,
|
|
150
|
+
sidebar: () => sidebar,
|
|
151
|
+
sidebarClasses: () => sidebarClasses,
|
|
152
|
+
skeletonLine: () => skeletonLine,
|
|
153
|
+
spacing: () => spacing,
|
|
154
|
+
table: () => table,
|
|
155
|
+
tableClasses: () => tableClasses,
|
|
156
|
+
tableOfContents: () => tableOfContents,
|
|
157
|
+
themeModes: () => themeModes,
|
|
158
|
+
tocLink: () => tocLink,
|
|
159
|
+
zIndex: () => zIndex
|
|
160
|
+
});
|
|
161
|
+
module.exports = __toCommonJS(react_exports);
|
|
162
|
+
|
|
163
|
+
// src/components/ui/icon.tsx
|
|
164
|
+
var React = __toESM(require("react"), 1);
|
|
165
|
+
|
|
166
|
+
// src/lib/utils.ts
|
|
167
|
+
var import_clsx = require("clsx");
|
|
168
|
+
function cn(...inputs) {
|
|
169
|
+
return (0, import_clsx.clsx)(inputs);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
// src/components/ui/icon-set.ts
|
|
173
|
+
var import_outline = require("@heroicons/react/24/outline");
|
|
174
|
+
var ICON_GLYPHS = {
|
|
175
|
+
x: import_outline.XMarkIcon,
|
|
176
|
+
check: import_outline.CheckIcon,
|
|
177
|
+
"chevron-down": import_outline.ChevronDownIcon,
|
|
178
|
+
"chevron-up": import_outline.ChevronUpIcon,
|
|
179
|
+
"chevron-right": import_outline.ChevronRightIcon,
|
|
180
|
+
"chevron-left": import_outline.ChevronLeftIcon,
|
|
181
|
+
info: import_outline.InformationCircleIcon,
|
|
182
|
+
"alert-triangle": import_outline.ExclamationTriangleIcon,
|
|
183
|
+
"alert-circle": import_outline.ExclamationCircleIcon,
|
|
184
|
+
"check-circle": import_outline.CheckCircleIcon,
|
|
185
|
+
copy: import_outline.DocumentDuplicateIcon,
|
|
186
|
+
sun: import_outline.SunIcon,
|
|
187
|
+
moon: import_outline.MoonIcon,
|
|
188
|
+
search: import_outline.MagnifyingGlassIcon,
|
|
189
|
+
menu: import_outline.Bars3Icon,
|
|
190
|
+
camera: import_outline.CameraIcon,
|
|
191
|
+
blocked: import_outline.NoSymbolIcon,
|
|
192
|
+
pending: import_outline.ClockIcon
|
|
193
|
+
};
|
|
194
|
+
var ICON_NAMES = Object.keys(ICON_GLYPHS);
|
|
195
|
+
var ICON_FALLBACK_NAME = "alert-circle";
|
|
196
|
+
|
|
197
|
+
// src/components/ui/icon.tsx
|
|
198
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
199
|
+
var Icon = React.forwardRef(
|
|
200
|
+
({ name, size = "md", label, className, ...props }, ref) => {
|
|
201
|
+
const Glyph = ICON_GLYPHS[name] ?? ICON_GLYPHS[ICON_FALLBACK_NAME];
|
|
202
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
203
|
+
Glyph,
|
|
204
|
+
{
|
|
205
|
+
...props,
|
|
206
|
+
ref,
|
|
207
|
+
"data-icon-name": name,
|
|
208
|
+
className: cn(
|
|
209
|
+
"sv-icon",
|
|
210
|
+
size === "sm" && "sv-icon--sm",
|
|
211
|
+
size === "lg" && "sv-icon--lg",
|
|
212
|
+
className
|
|
213
|
+
),
|
|
214
|
+
"aria-hidden": label === void 0 ? "true" : void 0,
|
|
215
|
+
role: label === void 0 ? void 0 : "img",
|
|
216
|
+
"aria-label": label
|
|
217
|
+
}
|
|
218
|
+
);
|
|
219
|
+
}
|
|
220
|
+
);
|
|
221
|
+
Icon.displayName = "Icon";
|
|
222
|
+
|
|
223
|
+
// src/recipes/cx.ts
|
|
224
|
+
function cx(...parts) {
|
|
225
|
+
return parts.filter(Boolean).join(" ");
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
// src/recipes/shell.ts
|
|
229
|
+
function header(options = {}) {
|
|
230
|
+
return cx("sv-header", options.glass !== false && "sv-glass");
|
|
231
|
+
}
|
|
232
|
+
var headerClasses = {
|
|
233
|
+
nav: "sv-header__nav",
|
|
234
|
+
/** Wraps <nav> in a native <details> — collapsible below 640px, a no-op
|
|
235
|
+
* wrapper above it, with zero JavaScript (see DESIGN.md §5 Navigation). */
|
|
236
|
+
navToggle: "sv-header__nav-toggle",
|
|
237
|
+
navSummary: "sv-header__nav-summary",
|
|
238
|
+
link: "sv-header__link",
|
|
239
|
+
linkActive: cx("sv-header__link", "sv-header__link--active"),
|
|
240
|
+
actions: "sv-header__actions"
|
|
241
|
+
};
|
|
242
|
+
function logo() {
|
|
243
|
+
return "sv-logo";
|
|
244
|
+
}
|
|
245
|
+
var logoClasses = {
|
|
246
|
+
dot: "sv-logo__dot"
|
|
247
|
+
};
|
|
248
|
+
function footer() {
|
|
249
|
+
return "sv-footer";
|
|
250
|
+
}
|
|
251
|
+
var footerClasses = {
|
|
252
|
+
links: "sv-footer__links",
|
|
253
|
+
link: "sv-footer__link"
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
// src/lib/safe-href.ts
|
|
257
|
+
var UNSAFE_SCHEME = /^(?:javascript|vbscript|data):/i;
|
|
258
|
+
var BLOCKED_HREF = "#";
|
|
259
|
+
function safeHref(href) {
|
|
260
|
+
if (href === void 0) return href;
|
|
261
|
+
const normalised = href.replace(/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g, "").replace(/[\t\n\r]/g, "");
|
|
262
|
+
return UNSAFE_SCHEME.test(normalised) ? BLOCKED_HREF : href;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// src/react/components/Shell.tsx
|
|
266
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
267
|
+
function Logo({ label, href = "/", linkAs = "a", className, ...rest }) {
|
|
268
|
+
const LinkAs = linkAs;
|
|
269
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(LinkAs, { href: safeHref(href), className: cx(logo(), className), ...rest, children: [
|
|
270
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: logoClasses.dot, "aria-hidden": "true" }),
|
|
271
|
+
label
|
|
272
|
+
] });
|
|
273
|
+
}
|
|
274
|
+
function Header({
|
|
275
|
+
logo: logoSlot,
|
|
276
|
+
items = [],
|
|
277
|
+
actions,
|
|
278
|
+
glass,
|
|
279
|
+
linkAs: LinkAs = "a",
|
|
280
|
+
menuLabel = "Menu",
|
|
281
|
+
navLabel,
|
|
282
|
+
className,
|
|
283
|
+
...rest
|
|
284
|
+
}) {
|
|
285
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("header", { className: cx(header({ glass }), className), ...rest, children: [
|
|
286
|
+
logoSlot,
|
|
287
|
+
items.length > 0 && // <details> makes the nav collapsible below 640px with zero
|
|
288
|
+
// JavaScript: CSS forces it open above that width (a no-op wrapper),
|
|
289
|
+
// native click-to-toggle handles it below (see DESIGN.md §5).
|
|
290
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("details", { className: headerClasses.navToggle, children: [
|
|
291
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("summary", { className: headerClasses.navSummary, "aria-label": menuLabel, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Icon, { name: "menu" }) }),
|
|
292
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("nav", { className: headerClasses.nav, "aria-label": navLabel, children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
293
|
+
LinkAs,
|
|
294
|
+
{
|
|
295
|
+
href: safeHref(item.href),
|
|
296
|
+
className: item.active ? headerClasses.linkActive : headerClasses.link,
|
|
297
|
+
"aria-current": item.active ? "page" : void 0,
|
|
298
|
+
children: item.label
|
|
299
|
+
},
|
|
300
|
+
item.href
|
|
301
|
+
)) })
|
|
302
|
+
] }),
|
|
303
|
+
actions && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: headerClasses.actions, children: actions })
|
|
304
|
+
] });
|
|
305
|
+
}
|
|
306
|
+
function Footer({ author, links = [], children, linkAs: LinkAs = "a", className, ...rest }) {
|
|
307
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("footer", { className: cx(footer(), className), ...rest, children: [
|
|
308
|
+
author && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { children: author }),
|
|
309
|
+
links.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: footerClasses.links, children: links.map((link) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(LinkAs, { href: safeHref(link.href), className: footerClasses.link, children: link.label }, link.href)) }),
|
|
310
|
+
children
|
|
311
|
+
] });
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
// src/recipes/content.ts
|
|
315
|
+
function categoryPill(options = {}) {
|
|
316
|
+
return cx(
|
|
317
|
+
"sv-pill",
|
|
318
|
+
options.interactive && "sv-pill--interactive",
|
|
319
|
+
options.active && "sv-pill--active"
|
|
320
|
+
);
|
|
321
|
+
}
|
|
322
|
+
var categoryPillClasses = {
|
|
323
|
+
dot: "sv-pill__dot"
|
|
324
|
+
};
|
|
325
|
+
function postCard(options = {}) {
|
|
326
|
+
return cx(
|
|
327
|
+
"sv-post-card",
|
|
328
|
+
options.dense && "sv-post-card--dense",
|
|
329
|
+
options.hover !== false && "sv-card-hover"
|
|
330
|
+
);
|
|
331
|
+
}
|
|
332
|
+
var postCardClasses = {
|
|
333
|
+
meta: "sv-post-card__meta",
|
|
334
|
+
title: "sv-post-card__title",
|
|
335
|
+
excerpt: "sv-post-card__excerpt"
|
|
336
|
+
};
|
|
337
|
+
function featuredPostCard() {
|
|
338
|
+
return cx("sv-featured-card", "sv-gradient-border", "sv-card-hover");
|
|
339
|
+
}
|
|
340
|
+
var featuredPostCardClasses = {
|
|
341
|
+
body: "sv-featured-card__body",
|
|
342
|
+
title: "sv-featured-card__title",
|
|
343
|
+
visual: "sv-featured-card__visual"
|
|
344
|
+
};
|
|
345
|
+
function postGrid() {
|
|
346
|
+
return "sv-post-grid";
|
|
347
|
+
}
|
|
348
|
+
function layout(options = {}) {
|
|
349
|
+
return cx("sv-layout", options.withSidebar && "sv-layout--with-sidebar");
|
|
350
|
+
}
|
|
351
|
+
function sidebar() {
|
|
352
|
+
return "sv-sidebar";
|
|
353
|
+
}
|
|
354
|
+
var sidebarClasses = {
|
|
355
|
+
sectionTitle: "sv-sidebar__section-title"
|
|
356
|
+
};
|
|
357
|
+
function hero() {
|
|
358
|
+
return "sv-hero";
|
|
359
|
+
}
|
|
360
|
+
var heroClasses = {
|
|
361
|
+
eyebrow: "sv-hero__eyebrow",
|
|
362
|
+
title: "sv-hero__title",
|
|
363
|
+
description: "sv-hero__description"
|
|
364
|
+
};
|
|
365
|
+
function skeletonLine(options = {}) {
|
|
366
|
+
return cx("sv-skeleton", "sv-skeleton-line", options.small && "sv-skeleton-line--sm");
|
|
367
|
+
}
|
|
368
|
+
function cardSkeleton() {
|
|
369
|
+
return "sv-card-skeleton";
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
// src/tokens/colors.ts
|
|
373
|
+
var colors = {
|
|
374
|
+
dark: {
|
|
375
|
+
bg: "#0A0A0C",
|
|
376
|
+
bgElev: "#111114",
|
|
377
|
+
surface: "#16161B",
|
|
378
|
+
surface2: "#1C1C22",
|
|
379
|
+
border: "rgba(255,255,255,0.08)",
|
|
380
|
+
borderStrong: "rgba(255,255,255,0.14)",
|
|
381
|
+
// WCAG 1.4.11: edge of an input/select/checkbox must read ≥3:1 on every surface; the
|
|
382
|
+
// decorative borders above sit near 1.5:1 and stay decorative.
|
|
383
|
+
controlBorder: "#6B6B76",
|
|
384
|
+
text: "#EDEDF0",
|
|
385
|
+
text2: "#8B8B96",
|
|
386
|
+
// Corrected from #5A5A66 (~2.6:1 on surface) to meet WCAG AA 4.5:1 — text3 is used for
|
|
387
|
+
// real copy (metadata, TOC links), not decoration, so it must be readable, not just muted.
|
|
388
|
+
text3: "#83838F"
|
|
389
|
+
},
|
|
390
|
+
light: {
|
|
391
|
+
bg: "#F7F7F5",
|
|
392
|
+
bgElev: "#FFFFFF",
|
|
393
|
+
surface: "#FFFFFF",
|
|
394
|
+
surface2: "#F2F2EF",
|
|
395
|
+
border: "rgba(0,0,0,0.08)",
|
|
396
|
+
borderStrong: "rgba(0,0,0,0.14)",
|
|
397
|
+
controlBorder: "#85858E",
|
|
398
|
+
text: "#16161B",
|
|
399
|
+
text2: "#5A5A66",
|
|
400
|
+
// Corrected from #8B8B96 (~3.1:1 on white) to meet WCAG AA 4.5:1, same reasoning as dark.
|
|
401
|
+
// A further step from #6F6F78 to #6D6D76: the first fix cleared white/paper (≥4.7:1) but
|
|
402
|
+
// was only ~4.44:1 against surface2 (#F2F2EF), the darkest of the light surfaces — still a
|
|
403
|
+
// failure. Verified against bg/bgElev/surface/surface2 together, not just one background.
|
|
404
|
+
text3: "#6D6D76"
|
|
405
|
+
}
|
|
406
|
+
};
|
|
407
|
+
var accents = {
|
|
408
|
+
cyan: "oklch(0.78 0.12 210)",
|
|
409
|
+
violet: "oklch(0.72 0.14 295)",
|
|
410
|
+
mint: "oklch(0.78 0.10 160)",
|
|
411
|
+
amber: "oklch(0.78 0.12 75)"
|
|
412
|
+
};
|
|
413
|
+
var accentsInk = {
|
|
414
|
+
dark: {
|
|
415
|
+
cyan: "oklch(0.78 0.12 210)",
|
|
416
|
+
violet: "oklch(0.72 0.14 295)",
|
|
417
|
+
mint: "oklch(0.78 0.10 160)",
|
|
418
|
+
amber: "oklch(0.78 0.12 75)"
|
|
419
|
+
},
|
|
420
|
+
light: {
|
|
421
|
+
cyan: "oklch(0.515 0.09 210)",
|
|
422
|
+
violet: "oklch(0.535 0.14 295)",
|
|
423
|
+
mint: "oklch(0.515 0.1 160)",
|
|
424
|
+
amber: "oklch(0.53 0.11 75)"
|
|
425
|
+
}
|
|
426
|
+
};
|
|
427
|
+
var semantic = {
|
|
428
|
+
dark: {
|
|
429
|
+
danger: "oklch(0.68 0.19 25)",
|
|
430
|
+
success: "oklch(0.75 0.15 150)",
|
|
431
|
+
info: "oklch(0.78 0.12 210)",
|
|
432
|
+
warning: "oklch(0.78 0.12 75)"
|
|
433
|
+
},
|
|
434
|
+
light: {
|
|
435
|
+
danger: "oklch(0.68 0.19 25)",
|
|
436
|
+
success: "oklch(0.75 0.15 150)",
|
|
437
|
+
info: "oklch(0.78 0.12 210)",
|
|
438
|
+
warning: "oklch(0.78 0.12 75)"
|
|
439
|
+
}
|
|
440
|
+
};
|
|
441
|
+
var semanticInk = {
|
|
442
|
+
dark: {
|
|
443
|
+
danger: "oklch(0.68 0.19 25)",
|
|
444
|
+
success: "oklch(0.75 0.15 150)",
|
|
445
|
+
info: "oklch(0.78 0.12 210)",
|
|
446
|
+
warning: "oklch(0.78 0.12 75)"
|
|
447
|
+
},
|
|
448
|
+
light: {
|
|
449
|
+
danger: "oklch(0.535 0.19 25)",
|
|
450
|
+
success: "oklch(0.51 0.14 150)",
|
|
451
|
+
info: "oklch(0.515 0.09 210)",
|
|
452
|
+
warning: "oklch(0.53 0.11 75)"
|
|
453
|
+
}
|
|
454
|
+
};
|
|
455
|
+
var themeModes = Object.keys(colors);
|
|
456
|
+
var accentNames = Object.keys(accents);
|
|
457
|
+
var DEFAULT_MODE = "dark";
|
|
458
|
+
var DEFAULT_ACCENT = "cyan";
|
|
459
|
+
|
|
460
|
+
// src/tokens/categories.ts
|
|
461
|
+
var defaultCategoryColors = {
|
|
462
|
+
ia: "violet",
|
|
463
|
+
prompt: "amber",
|
|
464
|
+
dev: "mint",
|
|
465
|
+
arch: "cyan",
|
|
466
|
+
ts: "cyan"
|
|
467
|
+
};
|
|
468
|
+
var hasOwn = (obj, key) => Object.prototype.hasOwnProperty.call(obj, key);
|
|
469
|
+
function resolveAccentColor(color) {
|
|
470
|
+
return hasOwn(accents, color) ? accents[color] : color;
|
|
471
|
+
}
|
|
472
|
+
function resolveCategoryColor(color) {
|
|
473
|
+
if (hasOwn(defaultCategoryColors, color)) {
|
|
474
|
+
return accents[defaultCategoryColors[color]];
|
|
475
|
+
}
|
|
476
|
+
return resolveAccentColor(color);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
// src/react/components/Content.tsx
|
|
480
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
481
|
+
function CategoryPill({ label, color, active, interactive, className, style, ...rest }) {
|
|
482
|
+
const pillStyle = color ? { ...style, "--sv-pill-color": resolveCategoryColor(color) } : style;
|
|
483
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
|
|
484
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: categoryPillClasses.dot, "aria-hidden": "true" }),
|
|
485
|
+
label
|
|
486
|
+
] });
|
|
487
|
+
if (interactive) {
|
|
488
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
489
|
+
"button",
|
|
490
|
+
{
|
|
491
|
+
type: "button",
|
|
492
|
+
"aria-pressed": active ?? false,
|
|
493
|
+
className: cx(categoryPill({ active, interactive }), className),
|
|
494
|
+
style: pillStyle,
|
|
495
|
+
...rest,
|
|
496
|
+
children: content
|
|
497
|
+
}
|
|
498
|
+
);
|
|
499
|
+
}
|
|
500
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
501
|
+
"span",
|
|
502
|
+
{
|
|
503
|
+
className: cx(categoryPill({ active, interactive }), className),
|
|
504
|
+
style: pillStyle,
|
|
505
|
+
...rest,
|
|
506
|
+
children: content
|
|
507
|
+
}
|
|
508
|
+
);
|
|
509
|
+
}
|
|
510
|
+
function PostMeta({ post }) {
|
|
511
|
+
if (!post.category && !post.date && post.readMinutes === void 0) return null;
|
|
512
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: postCardClasses.meta, children: [
|
|
513
|
+
post.category && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(CategoryPill, { label: post.category.label, color: post.category.color }),
|
|
514
|
+
post.date && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: post.date }),
|
|
515
|
+
post.readMinutes !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { children: [
|
|
516
|
+
post.readMinutes,
|
|
517
|
+
" min"
|
|
518
|
+
] })
|
|
519
|
+
] });
|
|
520
|
+
}
|
|
521
|
+
function PostCard({ post, dense, linkAs: LinkAs = "a", meta, className, children, ...rest }) {
|
|
522
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("article", { className: cx(postCard({ dense }), className), ...rest, children: [
|
|
523
|
+
meta ?? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(PostMeta, { post }),
|
|
524
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h3", { className: postCardClasses.title, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LinkAs, { href: safeHref(post.href), children: post.title }) }),
|
|
525
|
+
!dense && post.excerpt && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: postCardClasses.excerpt, children: post.excerpt }),
|
|
526
|
+
children
|
|
527
|
+
] });
|
|
528
|
+
}
|
|
529
|
+
function FeaturedPostCard({
|
|
530
|
+
post,
|
|
531
|
+
visual,
|
|
532
|
+
linkAs: LinkAs = "a",
|
|
533
|
+
meta,
|
|
534
|
+
eyebrow,
|
|
535
|
+
className,
|
|
536
|
+
children,
|
|
537
|
+
...rest
|
|
538
|
+
}) {
|
|
539
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("article", { className: cx(featuredPostCard(), className), ...rest, children: [
|
|
540
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: featuredPostCardClasses.body, children: [
|
|
541
|
+
eyebrow,
|
|
542
|
+
meta ?? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(PostMeta, { post }),
|
|
543
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h2", { className: featuredPostCardClasses.title, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LinkAs, { href: safeHref(post.href), children: post.title }) }),
|
|
544
|
+
post.excerpt && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: postCardClasses.excerpt, children: post.excerpt }),
|
|
545
|
+
children
|
|
546
|
+
] }),
|
|
547
|
+
visual && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: featuredPostCardClasses.visual, children: visual })
|
|
548
|
+
] });
|
|
549
|
+
}
|
|
550
|
+
function PostGrid({ className, ...rest }) {
|
|
551
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: cx(postGrid(), className), ...rest });
|
|
552
|
+
}
|
|
553
|
+
function Layout({ withSidebar, className, ...rest }) {
|
|
554
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: cx(layout({ withSidebar }), className), ...rest });
|
|
555
|
+
}
|
|
556
|
+
function Sidebar({ className, ...rest }) {
|
|
557
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("aside", { className: cx(sidebar(), className), ...rest });
|
|
558
|
+
}
|
|
559
|
+
function SidebarSection({ title, children, ...rest }) {
|
|
560
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("section", { ...rest, children: [
|
|
561
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h4", { className: sidebarClasses.sectionTitle, children: title }),
|
|
562
|
+
children
|
|
563
|
+
] });
|
|
564
|
+
}
|
|
565
|
+
function Hero({ eyebrow, title, description, className, children, ...rest }) {
|
|
566
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("section", { className: cx(hero(), className), ...rest, children: [
|
|
567
|
+
eyebrow && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: heroClasses.eyebrow, children: eyebrow }),
|
|
568
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h1", { className: heroClasses.title, children: title }),
|
|
569
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: heroClasses.description, children: description }),
|
|
570
|
+
children
|
|
571
|
+
] });
|
|
572
|
+
}
|
|
573
|
+
function Skeleton({ small, className, ...rest }) {
|
|
574
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: cx(skeletonLine({ small }), className), "aria-hidden": "true", ...rest });
|
|
575
|
+
}
|
|
576
|
+
function CardSkeleton({ className, ...rest }) {
|
|
577
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: cx(cardSkeleton(), className), "aria-hidden": "true", ...rest, children: [
|
|
578
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Skeleton, { small: true }),
|
|
579
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Skeleton, {}),
|
|
580
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Skeleton, {})
|
|
581
|
+
] });
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
// src/recipes/article.ts
|
|
585
|
+
function codeBlock() {
|
|
586
|
+
return "sv-code-block";
|
|
587
|
+
}
|
|
588
|
+
var codeBlockClasses = {
|
|
589
|
+
header: "sv-code-block__header",
|
|
590
|
+
pre: "sv-code-block__pre",
|
|
591
|
+
copy: "sv-code-block__copy",
|
|
592
|
+
copyCopied: cx("sv-code-block__copy", "sv-code-block__copy--copied")
|
|
593
|
+
};
|
|
594
|
+
function callout(kind) {
|
|
595
|
+
return cx("sv-callout", `sv-callout--${kind}`);
|
|
596
|
+
}
|
|
597
|
+
var calloutClasses = {
|
|
598
|
+
label: "sv-callout__label"
|
|
599
|
+
};
|
|
600
|
+
var calloutLabels = {
|
|
601
|
+
note: "Note",
|
|
602
|
+
warn: "Warn",
|
|
603
|
+
aha: "Aha!"
|
|
604
|
+
};
|
|
605
|
+
function tableOfContents() {
|
|
606
|
+
return "sv-toc";
|
|
607
|
+
}
|
|
608
|
+
function tocLink(options = {}) {
|
|
609
|
+
return cx(
|
|
610
|
+
"sv-toc__link",
|
|
611
|
+
options.active && "sv-toc__link--active",
|
|
612
|
+
options.depth === 3 && "sv-toc__link--depth-3"
|
|
613
|
+
);
|
|
614
|
+
}
|
|
615
|
+
function readingProgress() {
|
|
616
|
+
return "sv-reading-progress";
|
|
617
|
+
}
|
|
618
|
+
var readingProgressClasses = {
|
|
619
|
+
bar: "sv-reading-progress__bar"
|
|
620
|
+
};
|
|
621
|
+
var READING_PROGRESS_VAR = "--sv-reading-progress";
|
|
622
|
+
function articleHeader() {
|
|
623
|
+
return "sv-article-header";
|
|
624
|
+
}
|
|
625
|
+
var articleHeaderClasses = {
|
|
626
|
+
title: "sv-article-header__title",
|
|
627
|
+
meta: "sv-article-header__meta",
|
|
628
|
+
author: "sv-article-header__author"
|
|
629
|
+
};
|
|
630
|
+
function prose() {
|
|
631
|
+
return "sv-prose";
|
|
632
|
+
}
|
|
633
|
+
var proseClasses = {
|
|
634
|
+
lead: "sv-prose__lead"
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
// src/react/components/Article.tsx
|
|
638
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
639
|
+
function CodeBlock({
|
|
640
|
+
code,
|
|
641
|
+
language,
|
|
642
|
+
filename,
|
|
643
|
+
rendered,
|
|
644
|
+
actions,
|
|
645
|
+
className,
|
|
646
|
+
...rest
|
|
647
|
+
}) {
|
|
648
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("figure", { className: cx(codeBlock(), className), ...rest, children: [
|
|
649
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("figcaption", { className: codeBlockClasses.header, children: [
|
|
650
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: filename ?? language ?? "code" }),
|
|
651
|
+
actions
|
|
652
|
+
] }),
|
|
653
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("pre", { className: codeBlockClasses.pre, children: rendered ?? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("code", { children: code }) })
|
|
654
|
+
] });
|
|
655
|
+
}
|
|
656
|
+
function Callout({ kind, label, className, children, ...rest }) {
|
|
657
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("aside", { className: cx(callout(kind), className), ...rest, children: [
|
|
658
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: calloutClasses.label, children: label ?? calloutLabels[kind] }),
|
|
659
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { children })
|
|
660
|
+
] });
|
|
661
|
+
}
|
|
662
|
+
function ArticleHeader({
|
|
663
|
+
title,
|
|
664
|
+
author,
|
|
665
|
+
date,
|
|
666
|
+
readMinutes,
|
|
667
|
+
eyebrow,
|
|
668
|
+
className,
|
|
669
|
+
...rest
|
|
670
|
+
}) {
|
|
671
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("header", { className: cx(articleHeader(), className), ...rest, children: [
|
|
672
|
+
eyebrow,
|
|
673
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("h1", { className: articleHeaderClasses.title, children: title }),
|
|
674
|
+
(author || date || readMinutes !== void 0) && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: articleHeaderClasses.meta, children: [
|
|
675
|
+
author && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: articleHeaderClasses.author, children: author }),
|
|
676
|
+
date && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: date }),
|
|
677
|
+
readMinutes !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("span", { children: [
|
|
678
|
+
readMinutes,
|
|
679
|
+
" min"
|
|
680
|
+
] })
|
|
681
|
+
] })
|
|
682
|
+
] });
|
|
683
|
+
}
|
|
684
|
+
function Prose({ className, ...rest }) {
|
|
685
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: cx(prose(), className), ...rest });
|
|
686
|
+
}
|
|
687
|
+
function Lead({ className, ...rest }) {
|
|
688
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { className: cx(proseClasses.lead, className), ...rest });
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
// src/react/components/PageHeader.tsx
|
|
692
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
693
|
+
function PageHeader({
|
|
694
|
+
title,
|
|
695
|
+
description,
|
|
696
|
+
badge,
|
|
697
|
+
stackBadge = false,
|
|
698
|
+
leading,
|
|
699
|
+
actions,
|
|
700
|
+
headingLevel: Heading = "h1",
|
|
701
|
+
className,
|
|
702
|
+
...rest
|
|
703
|
+
}) {
|
|
704
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("header", { className: cx("sv-page-header", className), ...rest, children: [
|
|
705
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "sv-page-header__main", children: [
|
|
706
|
+
leading ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "sv-page-header__leading", children: leading }) : null,
|
|
707
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: cx("sv-page-header__title-row", stackBadge && "sv-page-header__title-row--stack"), children: [
|
|
708
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Heading, { className: "sv-page-header__title", children: title }),
|
|
709
|
+
badge ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "sv-page-header__badge", children: badge }) : null
|
|
710
|
+
] }),
|
|
711
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "sv-page-header__description", children: description }) : null
|
|
712
|
+
] }),
|
|
713
|
+
actions ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "sv-page-header__actions", children: actions }) : null
|
|
714
|
+
] });
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
// src/behaviors/themeManager.ts
|
|
718
|
+
var DEFAULT_STORAGE_KEY = "still-void-theme";
|
|
719
|
+
|
|
720
|
+
// src/react/components/ThemeScript.tsx
|
|
721
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
722
|
+
function toScriptLiteral(value) {
|
|
723
|
+
return JSON.stringify(value).replace(/</g, "\\u003c");
|
|
724
|
+
}
|
|
725
|
+
function ThemeScript({ storageKey = DEFAULT_STORAGE_KEY, nonce } = {}) {
|
|
726
|
+
const modes = toScriptLiteral(themeModes);
|
|
727
|
+
const accents2 = toScriptLiteral(accentNames);
|
|
728
|
+
const key = toScriptLiteral(storageKey);
|
|
729
|
+
const script = `(function(){try{var s=JSON.parse(localStorage.getItem(${key})||"null");if(!s)return;var m=${modes},a=${accents2},r=document.documentElement;if(m.indexOf(s.mode)!==-1)r.setAttribute("data-theme",s.mode);if(a.indexOf(s.accent)!==-1)r.setAttribute("data-accent",s.accent);}catch(e){}})();`;
|
|
730
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("script", { nonce, dangerouslySetInnerHTML: { __html: script } });
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
// src/components/ui/button.tsx
|
|
734
|
+
var React3 = __toESM(require("react"), 1);
|
|
735
|
+
|
|
736
|
+
// src/components/ui/slot.tsx
|
|
737
|
+
var React2 = __toESM(require("react"), 1);
|
|
738
|
+
function composeRefs(...refs) {
|
|
739
|
+
return (node) => {
|
|
740
|
+
for (const ref of refs) {
|
|
741
|
+
if (typeof ref === "function") {
|
|
742
|
+
ref(node);
|
|
743
|
+
} else if (ref !== null && ref !== void 0) {
|
|
744
|
+
;
|
|
745
|
+
ref.current = node;
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
};
|
|
749
|
+
}
|
|
750
|
+
function mergeProps(slotProps, childProps) {
|
|
751
|
+
const merged = { ...slotProps, ...childProps };
|
|
752
|
+
for (const key in childProps) {
|
|
753
|
+
const slotValue = slotProps[key];
|
|
754
|
+
const childValue = childProps[key];
|
|
755
|
+
const isHandler = /^on[A-Z]/.test(key);
|
|
756
|
+
if (isHandler && typeof slotValue === "function" && typeof childValue === "function") {
|
|
757
|
+
merged[key] = (...args) => {
|
|
758
|
+
const result = childValue(...args);
|
|
759
|
+
slotValue(...args);
|
|
760
|
+
return result;
|
|
761
|
+
};
|
|
762
|
+
} else if (key === "style") {
|
|
763
|
+
merged[key] = { ...slotValue, ...childValue };
|
|
764
|
+
} else if (key === "className") {
|
|
765
|
+
merged[key] = [slotValue, childValue].filter(Boolean).join(" ");
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
return merged;
|
|
769
|
+
}
|
|
770
|
+
var Slot = React2.forwardRef(
|
|
771
|
+
({ children, ...slotProps }, forwardedRef) => {
|
|
772
|
+
if (!React2.isValidElement(children) || React2.Children.count(children) !== 1 || children.type === React2.Fragment) {
|
|
773
|
+
throw new Error(
|
|
774
|
+
"Slot expected a single React element child. Pass exactly one element to asChild."
|
|
775
|
+
);
|
|
776
|
+
}
|
|
777
|
+
const child = children;
|
|
778
|
+
const childRef = child.props.ref ?? null;
|
|
779
|
+
const mergedProps = mergeProps(slotProps, child.props);
|
|
780
|
+
mergedProps.ref = forwardedRef ? composeRefs(forwardedRef, childRef) : childRef;
|
|
781
|
+
return React2.cloneElement(child, mergedProps);
|
|
782
|
+
}
|
|
783
|
+
);
|
|
784
|
+
Slot.displayName = "Slot";
|
|
785
|
+
|
|
786
|
+
// src/components/ui/button.tsx
|
|
787
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
788
|
+
var Button = React3.forwardRef(
|
|
789
|
+
({ className, variant = "default", size = "default", asChild = false, ...props }, ref) => {
|
|
790
|
+
const classes = cn(
|
|
791
|
+
"sv-btn",
|
|
792
|
+
variant === "destructive" && "sv-btn--destructive",
|
|
793
|
+
variant === "outline" && "sv-btn--outline",
|
|
794
|
+
variant === "secondary" && "sv-btn--secondary",
|
|
795
|
+
variant === "ghost" && "sv-btn--ghost",
|
|
796
|
+
variant === "link" && "sv-btn--link",
|
|
797
|
+
(variant === "accent" || variant === "primary") && "sv-btn--accent",
|
|
798
|
+
size === "sm" && "sv-btn--sm",
|
|
799
|
+
size === "lg" && "sv-btn--lg",
|
|
800
|
+
size === "icon" && "sv-btn--icon",
|
|
801
|
+
className
|
|
802
|
+
);
|
|
803
|
+
if (asChild) {
|
|
804
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Slot, { ref, className: classes, ...props });
|
|
805
|
+
}
|
|
806
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("button", { className: classes, ref, ...props });
|
|
807
|
+
}
|
|
808
|
+
);
|
|
809
|
+
Button.displayName = "Button";
|
|
810
|
+
|
|
811
|
+
// src/components/ui/card.tsx
|
|
812
|
+
var React4 = __toESM(require("react"), 1);
|
|
813
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
814
|
+
var CARD_ELEMENTS = /* @__PURE__ */ new Set(["div", "section", "article", "li", "aside"]);
|
|
815
|
+
var Card = React4.forwardRef(
|
|
816
|
+
({ className, as, asChild = false, ...props }, ref) => {
|
|
817
|
+
if (asChild) {
|
|
818
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Slot, { ref, className: cn("sv-card", className), ...props });
|
|
819
|
+
}
|
|
820
|
+
const Comp = as !== void 0 && CARD_ELEMENTS.has(as) ? as : "div";
|
|
821
|
+
return React4.createElement(Comp, {
|
|
822
|
+
ref,
|
|
823
|
+
className: cn("sv-card", className),
|
|
824
|
+
...props
|
|
825
|
+
});
|
|
826
|
+
}
|
|
827
|
+
);
|
|
828
|
+
Card.displayName = "Card";
|
|
829
|
+
var CardHeader = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { ref, className: cn("sv-card__header", className), ...props }));
|
|
830
|
+
CardHeader.displayName = "CardHeader";
|
|
831
|
+
var CardTitle = React4.forwardRef(({ className, ...props }, ref) => (
|
|
832
|
+
// eslint-disable-next-line jsx-a11y/heading-has-content -- content arrives as children via props
|
|
833
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h2", { ref, className: cn("sv-card__title", className), ...props })
|
|
834
|
+
));
|
|
835
|
+
CardTitle.displayName = "CardTitle";
|
|
836
|
+
var CardDescription = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { ref, className: cn("sv-card__description", className), ...props }));
|
|
837
|
+
CardDescription.displayName = "CardDescription";
|
|
838
|
+
var CardContent = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { ref, className: cn("sv-card__content", className), ...props }));
|
|
839
|
+
CardContent.displayName = "CardContent";
|
|
840
|
+
var CardFooter = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { ref, className: cn("sv-card__footer", className), ...props }));
|
|
841
|
+
CardFooter.displayName = "CardFooter";
|
|
842
|
+
|
|
843
|
+
// src/components/ui/alert.tsx
|
|
844
|
+
var React5 = __toESM(require("react"), 1);
|
|
845
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
846
|
+
var variantConfig = {
|
|
847
|
+
info: { role: "status", icon: "info" },
|
|
848
|
+
success: { role: "status", icon: "check-circle" },
|
|
849
|
+
warning: { role: "alert", icon: "alert-triangle" },
|
|
850
|
+
danger: { role: "alert", icon: "alert-circle" }
|
|
851
|
+
};
|
|
852
|
+
var Alert = React5.forwardRef(
|
|
853
|
+
({ className, variant, icon, action, role: propRole, ...props }, ref) => {
|
|
854
|
+
const config = variant && Object.prototype.hasOwnProperty.call(variantConfig, variant) ? variantConfig[variant] : null;
|
|
855
|
+
const derivedRole = config?.role ?? "alert";
|
|
856
|
+
const effectiveRole = config ? derivedRole : "alert";
|
|
857
|
+
let iconElement = null;
|
|
858
|
+
if (icon !== null) {
|
|
859
|
+
if (icon !== void 0) {
|
|
860
|
+
iconElement = icon;
|
|
861
|
+
} else if (config) {
|
|
862
|
+
iconElement = /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: config.icon, "aria-hidden": "true" });
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
866
|
+
"div",
|
|
867
|
+
{
|
|
868
|
+
ref,
|
|
869
|
+
className: cn("sv-alert", config && `sv-alert--${variant}`, className),
|
|
870
|
+
role: effectiveRole,
|
|
871
|
+
...props,
|
|
872
|
+
children: [
|
|
873
|
+
iconElement,
|
|
874
|
+
props.children,
|
|
875
|
+
action && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "sv-alert__action", children: action })
|
|
876
|
+
]
|
|
877
|
+
}
|
|
878
|
+
);
|
|
879
|
+
}
|
|
880
|
+
);
|
|
881
|
+
Alert.displayName = "Alert";
|
|
882
|
+
var AlertTitle = React5.forwardRef(({ className, ...props }, ref) => (
|
|
883
|
+
// eslint-disable-next-line jsx-a11y/heading-has-content -- content arrives as children via props
|
|
884
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h5", { ref, className: cn("sv-alert__title", className), ...props })
|
|
885
|
+
));
|
|
886
|
+
AlertTitle.displayName = "AlertTitle";
|
|
887
|
+
var AlertDescription = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { ref, className: cn("sv-alert__description", className), ...props }));
|
|
888
|
+
AlertDescription.displayName = "AlertDescription";
|
|
889
|
+
|
|
890
|
+
// src/components/ui/badge.tsx
|
|
891
|
+
var React6 = require("react");
|
|
892
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
893
|
+
function Badge({ className, variant = "default", asChild = false, ...props }) {
|
|
894
|
+
const classes = cn(
|
|
895
|
+
"sv-badge",
|
|
896
|
+
variant === "secondary" && "sv-badge--secondary",
|
|
897
|
+
variant === "destructive" && "sv-badge--destructive",
|
|
898
|
+
variant === "outline" && "sv-badge--outline",
|
|
899
|
+
className
|
|
900
|
+
);
|
|
901
|
+
if (asChild) {
|
|
902
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Slot, { className: classes, ...props });
|
|
903
|
+
}
|
|
904
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: classes, ...props });
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
// src/components/ui/input.tsx
|
|
908
|
+
var React7 = __toESM(require("react"), 1);
|
|
909
|
+
|
|
910
|
+
// src/recipes/field.ts
|
|
911
|
+
function field(options = {}) {
|
|
912
|
+
return cx(
|
|
913
|
+
"sv-field",
|
|
914
|
+
options.variant && options.variant !== "input" && `sv-field--${options.variant}`
|
|
915
|
+
);
|
|
916
|
+
}
|
|
917
|
+
var fieldClasses = {
|
|
918
|
+
choice: "sv-choice",
|
|
919
|
+
srOnly: "sv-sr-only",
|
|
920
|
+
/** Wrapper of a label + control + messages group (the `Field` component). */
|
|
921
|
+
group: "sv-form-field",
|
|
922
|
+
label: "sv-label",
|
|
923
|
+
labelRequired: "sv-label__required"
|
|
924
|
+
};
|
|
925
|
+
function fieldMessage(options = {}) {
|
|
926
|
+
return cx("sv-field-message", options.variant === "error" && "sv-field-message--error");
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
// src/components/ui/input.tsx
|
|
930
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
931
|
+
var Input = React7.forwardRef(
|
|
932
|
+
({ className, type, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
933
|
+
"input",
|
|
934
|
+
{
|
|
935
|
+
type,
|
|
936
|
+
className: cn(field(), className),
|
|
937
|
+
ref,
|
|
938
|
+
...props
|
|
939
|
+
}
|
|
940
|
+
)
|
|
941
|
+
);
|
|
942
|
+
Input.displayName = "Input";
|
|
943
|
+
|
|
944
|
+
// src/components/ui/field.tsx
|
|
945
|
+
var React8 = __toESM(require("react"), 1);
|
|
946
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
947
|
+
function Field({
|
|
948
|
+
id: idProp,
|
|
949
|
+
label,
|
|
950
|
+
description,
|
|
951
|
+
error,
|
|
952
|
+
required,
|
|
953
|
+
requiredIndicator = "*",
|
|
954
|
+
className,
|
|
955
|
+
children,
|
|
956
|
+
...rest
|
|
957
|
+
}) {
|
|
958
|
+
if (!React8.isValidElement(children) || children.type === React8.Fragment) {
|
|
959
|
+
throw new Error("Field expects exactly one form control element as its child.");
|
|
960
|
+
}
|
|
961
|
+
const control = children;
|
|
962
|
+
const id = idProp ?? control.props.id;
|
|
963
|
+
if (!id) {
|
|
964
|
+
throw new Error("Field needs an `id` (on Field or on its control) to link the label and messages.");
|
|
965
|
+
}
|
|
966
|
+
const hasError = error !== void 0 && error !== null && error !== false && error !== "";
|
|
967
|
+
const descriptionId = description ? `${id}-description` : void 0;
|
|
968
|
+
const errorId = hasError ? `${id}-error` : void 0;
|
|
969
|
+
const describedBy = [control.props["aria-describedby"], descriptionId, errorId].filter(Boolean).join(" ");
|
|
970
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: cx("sv-form-field", className), ...rest, children: [
|
|
971
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("label", { className: "sv-label", htmlFor: id, children: [
|
|
972
|
+
label,
|
|
973
|
+
required ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sv-label__required", "aria-hidden": "true", children: requiredIndicator }) : null
|
|
974
|
+
] }),
|
|
975
|
+
React8.cloneElement(control, {
|
|
976
|
+
id,
|
|
977
|
+
"aria-describedby": describedBy || void 0,
|
|
978
|
+
"aria-invalid": hasError ? true : control.props["aria-invalid"],
|
|
979
|
+
required: required || control.props.required
|
|
980
|
+
}),
|
|
981
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { id: descriptionId, className: fieldMessage(), children: description }) : null,
|
|
982
|
+
hasError ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { id: errorId, className: fieldMessage({ variant: "error" }), children: error }) : null
|
|
983
|
+
] });
|
|
984
|
+
}
|
|
985
|
+
Field.displayName = "Field";
|
|
986
|
+
|
|
987
|
+
// src/components/ui/text-link.tsx
|
|
988
|
+
var React9 = __toESM(require("react"), 1);
|
|
989
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
990
|
+
var TextLink = React9.forwardRef(
|
|
991
|
+
({ className, asChild = false, href, ...props }, ref) => {
|
|
992
|
+
const classes = cx("sv-link", className);
|
|
993
|
+
const linkProps = href === void 0 ? props : { ...props, href: safeHref(href) };
|
|
994
|
+
if (asChild) {
|
|
995
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Slot, { ref, className: classes, ...linkProps });
|
|
996
|
+
}
|
|
997
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("a", { ref, className: classes, ...linkProps });
|
|
998
|
+
}
|
|
999
|
+
);
|
|
1000
|
+
TextLink.displayName = "TextLink";
|
|
1001
|
+
|
|
1002
|
+
// src/components/ui/textarea.tsx
|
|
1003
|
+
var React10 = __toESM(require("react"), 1);
|
|
1004
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
1005
|
+
var Textarea = React10.forwardRef(
|
|
1006
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
1007
|
+
"textarea",
|
|
1008
|
+
{
|
|
1009
|
+
className: cn(field({ variant: "textarea" }), className),
|
|
1010
|
+
ref,
|
|
1011
|
+
...props
|
|
1012
|
+
}
|
|
1013
|
+
)
|
|
1014
|
+
);
|
|
1015
|
+
Textarea.displayName = "Textarea";
|
|
1016
|
+
|
|
1017
|
+
// src/components/ui/native-select.tsx
|
|
1018
|
+
var React11 = __toESM(require("react"), 1);
|
|
1019
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
1020
|
+
var NativeSelect = React11.forwardRef(
|
|
1021
|
+
({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
1022
|
+
"select",
|
|
1023
|
+
{
|
|
1024
|
+
className: cn(field({ variant: "select" }), className),
|
|
1025
|
+
ref,
|
|
1026
|
+
...props,
|
|
1027
|
+
children
|
|
1028
|
+
}
|
|
1029
|
+
)
|
|
1030
|
+
);
|
|
1031
|
+
NativeSelect.displayName = "NativeSelect";
|
|
1032
|
+
|
|
1033
|
+
// src/components/ui/file-input.tsx
|
|
1034
|
+
var React12 = __toESM(require("react"), 1);
|
|
1035
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
1036
|
+
var FileInput = React12.forwardRef(
|
|
1037
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1038
|
+
"input",
|
|
1039
|
+
{
|
|
1040
|
+
className: cn(field({ variant: "file" }), className),
|
|
1041
|
+
ref,
|
|
1042
|
+
...props,
|
|
1043
|
+
type: "file"
|
|
1044
|
+
}
|
|
1045
|
+
)
|
|
1046
|
+
);
|
|
1047
|
+
FileInput.displayName = "FileInput";
|
|
1048
|
+
|
|
1049
|
+
// src/components/ui/checkbox.tsx
|
|
1050
|
+
var React13 = __toESM(require("react"), 1);
|
|
1051
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
1052
|
+
var Checkbox = React13.forwardRef(
|
|
1053
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
1054
|
+
"input",
|
|
1055
|
+
{
|
|
1056
|
+
className: cn("sv-check", className),
|
|
1057
|
+
ref,
|
|
1058
|
+
...props,
|
|
1059
|
+
type: "checkbox"
|
|
1060
|
+
}
|
|
1061
|
+
)
|
|
1062
|
+
);
|
|
1063
|
+
Checkbox.displayName = "Checkbox";
|
|
1064
|
+
|
|
1065
|
+
// src/components/ui/separator.tsx
|
|
1066
|
+
var React14 = __toESM(require("react"), 1);
|
|
1067
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
1068
|
+
var Separator = React14.forwardRef(
|
|
1069
|
+
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1070
|
+
"div",
|
|
1071
|
+
{
|
|
1072
|
+
...props,
|
|
1073
|
+
ref,
|
|
1074
|
+
role: decorative ? void 0 : "separator",
|
|
1075
|
+
"aria-orientation": !decorative && orientation === "vertical" ? "vertical" : void 0,
|
|
1076
|
+
className: cn(
|
|
1077
|
+
"sv-separator",
|
|
1078
|
+
orientation === "vertical" && "sv-separator--vertical",
|
|
1079
|
+
className
|
|
1080
|
+
)
|
|
1081
|
+
}
|
|
1082
|
+
)
|
|
1083
|
+
);
|
|
1084
|
+
Separator.displayName = "Separator";
|
|
1085
|
+
|
|
1086
|
+
// src/components/ui/progress.tsx
|
|
1087
|
+
var React15 = __toESM(require("react"), 1);
|
|
1088
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
1089
|
+
function clamp(value, max) {
|
|
1090
|
+
return Math.min(Math.max(value, 0), max);
|
|
1091
|
+
}
|
|
1092
|
+
function normalizeMax(max) {
|
|
1093
|
+
return Number.isFinite(max) && max > 0 ? max : 0;
|
|
1094
|
+
}
|
|
1095
|
+
var Progress = React15.forwardRef(
|
|
1096
|
+
({ className, value = 0, max = 100, ...props }, ref) => {
|
|
1097
|
+
const safeMax = normalizeMax(max);
|
|
1098
|
+
const clamped = clamp(value, safeMax);
|
|
1099
|
+
const percent = safeMax === 0 ? 0 : clamped / safeMax * 100;
|
|
1100
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1101
|
+
"div",
|
|
1102
|
+
{
|
|
1103
|
+
...props,
|
|
1104
|
+
ref,
|
|
1105
|
+
role: "progressbar",
|
|
1106
|
+
"aria-valuenow": clamped,
|
|
1107
|
+
"aria-valuemin": 0,
|
|
1108
|
+
"aria-valuemax": safeMax,
|
|
1109
|
+
className: cn("sv-progress", className),
|
|
1110
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "sv-progress__indicator", style: { width: `${percent}%` } })
|
|
1111
|
+
}
|
|
1112
|
+
);
|
|
1113
|
+
}
|
|
1114
|
+
);
|
|
1115
|
+
Progress.displayName = "Progress";
|
|
1116
|
+
|
|
1117
|
+
// src/components/ui/pagination.tsx
|
|
1118
|
+
var React16 = __toESM(require("react"), 1);
|
|
1119
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
1120
|
+
var Pagination = ({ className, label, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1121
|
+
"nav",
|
|
1122
|
+
{
|
|
1123
|
+
...props,
|
|
1124
|
+
"aria-label": label && label.trim().length > 0 ? label : "pagination",
|
|
1125
|
+
className: cn("sv-pagination", className)
|
|
1126
|
+
}
|
|
1127
|
+
);
|
|
1128
|
+
Pagination.displayName = "Pagination";
|
|
1129
|
+
var PaginationContent = React16.forwardRef(
|
|
1130
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("ul", { ref, className: cn("sv-pagination__content", className), ...props })
|
|
1131
|
+
);
|
|
1132
|
+
PaginationContent.displayName = "PaginationContent";
|
|
1133
|
+
var PaginationItem = React16.forwardRef(
|
|
1134
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("li", { ref, className: cn("sv-pagination__item", className), ...props })
|
|
1135
|
+
);
|
|
1136
|
+
PaginationItem.displayName = "PaginationItem";
|
|
1137
|
+
var PaginationLink = React16.forwardRef(
|
|
1138
|
+
({ className, isActive = false, href, ...props }, ref) => {
|
|
1139
|
+
const sharedClassName = cn(
|
|
1140
|
+
"sv-pagination__link",
|
|
1141
|
+
isActive && "sv-pagination__link--active",
|
|
1142
|
+
className
|
|
1143
|
+
);
|
|
1144
|
+
const sharedAria = isActive ? { "aria-current": "page" } : {};
|
|
1145
|
+
if (href !== void 0) {
|
|
1146
|
+
return (
|
|
1147
|
+
// eslint-disable-next-line jsx-a11y/anchor-has-content -- content arrives as children via props
|
|
1148
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1149
|
+
"a",
|
|
1150
|
+
{
|
|
1151
|
+
ref,
|
|
1152
|
+
href: safeHref(href),
|
|
1153
|
+
className: sharedClassName,
|
|
1154
|
+
...sharedAria,
|
|
1155
|
+
...props
|
|
1156
|
+
}
|
|
1157
|
+
)
|
|
1158
|
+
);
|
|
1159
|
+
}
|
|
1160
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1161
|
+
"button",
|
|
1162
|
+
{
|
|
1163
|
+
ref,
|
|
1164
|
+
type: "button",
|
|
1165
|
+
className: sharedClassName,
|
|
1166
|
+
...sharedAria,
|
|
1167
|
+
...props
|
|
1168
|
+
}
|
|
1169
|
+
);
|
|
1170
|
+
}
|
|
1171
|
+
);
|
|
1172
|
+
PaginationLink.displayName = "PaginationLink";
|
|
1173
|
+
var PaginationPrevious = React16.forwardRef(({ className, label = "Previous", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
1174
|
+
PaginationLink,
|
|
1175
|
+
{
|
|
1176
|
+
ref,
|
|
1177
|
+
"aria-label": label,
|
|
1178
|
+
className: cn("sv-pagination__link--previous", className),
|
|
1179
|
+
...props,
|
|
1180
|
+
children: [
|
|
1181
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Icon, { name: "chevron-left" }),
|
|
1182
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { children: label })
|
|
1183
|
+
]
|
|
1184
|
+
}
|
|
1185
|
+
));
|
|
1186
|
+
PaginationPrevious.displayName = "PaginationPrevious";
|
|
1187
|
+
var PaginationNext = React16.forwardRef(
|
|
1188
|
+
({ className, label = "Next", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
1189
|
+
PaginationLink,
|
|
1190
|
+
{
|
|
1191
|
+
ref,
|
|
1192
|
+
"aria-label": label,
|
|
1193
|
+
className: cn("sv-pagination__link--next", className),
|
|
1194
|
+
...props,
|
|
1195
|
+
children: [
|
|
1196
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { children: label }),
|
|
1197
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Icon, { name: "chevron-right" })
|
|
1198
|
+
]
|
|
1199
|
+
}
|
|
1200
|
+
)
|
|
1201
|
+
);
|
|
1202
|
+
PaginationNext.displayName = "PaginationNext";
|
|
1203
|
+
var PaginationEllipsis = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { "aria-hidden": "true", className: cn("sv-pagination__ellipsis", className), ...props, children: "\u2026" });
|
|
1204
|
+
PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
1205
|
+
|
|
1206
|
+
// src/components/ui/chart.tsx
|
|
1207
|
+
var React17 = __toESM(require("react"), 1);
|
|
1208
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
1209
|
+
var ChartContainer = React17.forwardRef(
|
|
1210
|
+
({ width, height, className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1211
|
+
"svg",
|
|
1212
|
+
{
|
|
1213
|
+
ref,
|
|
1214
|
+
role: "img",
|
|
1215
|
+
viewBox: `0 0 ${width} ${height}`,
|
|
1216
|
+
width,
|
|
1217
|
+
height,
|
|
1218
|
+
className: cn("sv-chart", className),
|
|
1219
|
+
...props,
|
|
1220
|
+
children
|
|
1221
|
+
}
|
|
1222
|
+
)
|
|
1223
|
+
);
|
|
1224
|
+
ChartContainer.displayName = "ChartContainer";
|
|
1225
|
+
var ChartGrid = ({ orientation, positions, width, className }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_jsx_runtime21.Fragment, { children: positions.map(
|
|
1226
|
+
(position) => orientation === "horizontal" ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1227
|
+
"line",
|
|
1228
|
+
{
|
|
1229
|
+
x1: 0,
|
|
1230
|
+
y1: position,
|
|
1231
|
+
x2: width,
|
|
1232
|
+
y2: position,
|
|
1233
|
+
className: cn("sv-chart__grid-line", className)
|
|
1234
|
+
},
|
|
1235
|
+
position
|
|
1236
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1237
|
+
"line",
|
|
1238
|
+
{
|
|
1239
|
+
x1: position,
|
|
1240
|
+
y1: 0,
|
|
1241
|
+
x2: position,
|
|
1242
|
+
y2: width,
|
|
1243
|
+
className: cn("sv-chart__grid-line", className)
|
|
1244
|
+
},
|
|
1245
|
+
position
|
|
1246
|
+
)
|
|
1247
|
+
) });
|
|
1248
|
+
ChartGrid.displayName = "ChartGrid";
|
|
1249
|
+
var ChartAxis = ({ orientation, ticks, length, className }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_jsx_runtime21.Fragment, { children: [
|
|
1250
|
+
orientation === "bottom" ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("line", { x1: 0, y1: 0, x2: length, y2: 0, className: cn("sv-chart__axis", className) }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("line", { x1: 0, y1: 0, x2: 0, y2: length, className: cn("sv-chart__axis", className) }),
|
|
1251
|
+
ticks.map(
|
|
1252
|
+
(tick) => orientation === "bottom" ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1253
|
+
"text",
|
|
1254
|
+
{
|
|
1255
|
+
x: tick.position,
|
|
1256
|
+
y: 16,
|
|
1257
|
+
textAnchor: "middle",
|
|
1258
|
+
className: "sv-chart__axis-label",
|
|
1259
|
+
children: tick.label
|
|
1260
|
+
},
|
|
1261
|
+
tick.position
|
|
1262
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1263
|
+
"text",
|
|
1264
|
+
{
|
|
1265
|
+
x: -8,
|
|
1266
|
+
y: tick.position,
|
|
1267
|
+
textAnchor: "end",
|
|
1268
|
+
dominantBaseline: "middle",
|
|
1269
|
+
className: "sv-chart__axis-label",
|
|
1270
|
+
children: tick.label
|
|
1271
|
+
},
|
|
1272
|
+
tick.position
|
|
1273
|
+
)
|
|
1274
|
+
)
|
|
1275
|
+
] });
|
|
1276
|
+
ChartAxis.displayName = "ChartAxis";
|
|
1277
|
+
var DASH_PRESETS = { dashed: "6 4", dotted: "1 4" };
|
|
1278
|
+
var ChartLine = ({
|
|
1279
|
+
points,
|
|
1280
|
+
color,
|
|
1281
|
+
className,
|
|
1282
|
+
strokeWidth = 2,
|
|
1283
|
+
dash,
|
|
1284
|
+
markers = false,
|
|
1285
|
+
label
|
|
1286
|
+
}) => {
|
|
1287
|
+
const line = /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1288
|
+
"polyline",
|
|
1289
|
+
{
|
|
1290
|
+
points: points.map(({ x, y }) => `${x},${y}`).join(" "),
|
|
1291
|
+
fill: "none",
|
|
1292
|
+
stroke: color,
|
|
1293
|
+
strokeWidth,
|
|
1294
|
+
strokeDasharray: dash === void 0 ? void 0 : DASH_PRESETS[dash] ?? dash,
|
|
1295
|
+
className: cn("sv-chart__line", className)
|
|
1296
|
+
}
|
|
1297
|
+
);
|
|
1298
|
+
if (markers === false && label === void 0) return line;
|
|
1299
|
+
const radius = typeof markers === "number" ? markers : 3;
|
|
1300
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("g", { className: "sv-chart__series", children: [
|
|
1301
|
+
label !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("title", { children: label }) : null,
|
|
1302
|
+
line,
|
|
1303
|
+
markers !== false ? points.map(({ x, y }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("circle", { cx: x, cy: y, r: radius, fill: color, className: "sv-chart__marker" }, `${x},${y}`)) : null
|
|
1304
|
+
] });
|
|
1305
|
+
};
|
|
1306
|
+
ChartLine.displayName = "ChartLine";
|
|
1307
|
+
var ChartBar = ({ bars, color, className }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_jsx_runtime21.Fragment, { children: bars.map((bar) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1308
|
+
"rect",
|
|
1309
|
+
{
|
|
1310
|
+
x: bar.x,
|
|
1311
|
+
y: bar.y,
|
|
1312
|
+
width: bar.width,
|
|
1313
|
+
height: bar.height,
|
|
1314
|
+
fill: color,
|
|
1315
|
+
className: cn("sv-chart__bar", className)
|
|
1316
|
+
},
|
|
1317
|
+
`${bar.x},${bar.y}`
|
|
1318
|
+
)) });
|
|
1319
|
+
ChartBar.displayName = "ChartBar";
|
|
1320
|
+
var ChartLegend = ({ items, className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("ul", { className: cn("sv-chart-legend", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("li", { className: "sv-chart-legend__item", children: [
|
|
1321
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1322
|
+
"span",
|
|
1323
|
+
{
|
|
1324
|
+
"aria-hidden": "true",
|
|
1325
|
+
className: cn(
|
|
1326
|
+
"sv-chart-legend__swatch",
|
|
1327
|
+
item.kind === "bar" && "sv-chart-legend__swatch--bar",
|
|
1328
|
+
item.dashed && "sv-chart-legend__swatch--dashed"
|
|
1329
|
+
),
|
|
1330
|
+
style: { "--sv-series-color": item.color }
|
|
1331
|
+
}
|
|
1332
|
+
),
|
|
1333
|
+
item.label
|
|
1334
|
+
] }, index)) });
|
|
1335
|
+
ChartLegend.displayName = "ChartLegend";
|
|
1336
|
+
|
|
1337
|
+
// src/components/ui/radio-group.tsx
|
|
1338
|
+
var React18 = __toESM(require("react"), 1);
|
|
1339
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
1340
|
+
var RadioGroupItem = React18.forwardRef(
|
|
1341
|
+
({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("label", { className: fieldClasses.choice, children: [
|
|
1342
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1343
|
+
"input",
|
|
1344
|
+
{
|
|
1345
|
+
className: cn("sv-radio", className),
|
|
1346
|
+
ref,
|
|
1347
|
+
...props,
|
|
1348
|
+
type: "radio"
|
|
1349
|
+
}
|
|
1350
|
+
),
|
|
1351
|
+
children
|
|
1352
|
+
] })
|
|
1353
|
+
);
|
|
1354
|
+
RadioGroupItem.displayName = "RadioGroupItem";
|
|
1355
|
+
var RadioGroup = React18.forwardRef(
|
|
1356
|
+
({ className, legend, legendHidden, orientation = "vertical", name, children, ...props }, ref) => {
|
|
1357
|
+
const items = React18.Children.map(children, (child) => {
|
|
1358
|
+
if (!React18.isValidElement(child) || child.type !== RadioGroupItem) {
|
|
1359
|
+
return child;
|
|
1360
|
+
}
|
|
1361
|
+
const itemProps = child.props;
|
|
1362
|
+
if (itemProps.name !== void 0) {
|
|
1363
|
+
return child;
|
|
1364
|
+
}
|
|
1365
|
+
return React18.cloneElement(child, { name });
|
|
1366
|
+
});
|
|
1367
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
1368
|
+
"fieldset",
|
|
1369
|
+
{
|
|
1370
|
+
className: cn(
|
|
1371
|
+
"sv-radio-group",
|
|
1372
|
+
orientation === "horizontal" && "sv-radio-group--horizontal",
|
|
1373
|
+
className
|
|
1374
|
+
),
|
|
1375
|
+
ref,
|
|
1376
|
+
...props,
|
|
1377
|
+
children: [
|
|
1378
|
+
legend !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("legend", { className: cn("sv-radio-group__legend", legendHidden && fieldClasses.srOnly), children: legend }),
|
|
1379
|
+
items
|
|
1380
|
+
]
|
|
1381
|
+
}
|
|
1382
|
+
);
|
|
1383
|
+
}
|
|
1384
|
+
);
|
|
1385
|
+
RadioGroup.displayName = "RadioGroup";
|
|
1386
|
+
|
|
1387
|
+
// src/components/ui/table.tsx
|
|
1388
|
+
var React19 = __toESM(require("react"), 1);
|
|
1389
|
+
|
|
1390
|
+
// src/recipes/table.ts
|
|
1391
|
+
function table() {
|
|
1392
|
+
return "sv-table";
|
|
1393
|
+
}
|
|
1394
|
+
var tableClasses = {
|
|
1395
|
+
container: "sv-table-container",
|
|
1396
|
+
head: "sv-table__head",
|
|
1397
|
+
body: "sv-table__body",
|
|
1398
|
+
foot: "sv-table__foot",
|
|
1399
|
+
row: "sv-table__row",
|
|
1400
|
+
th: "sv-table__th",
|
|
1401
|
+
td: "sv-table__td",
|
|
1402
|
+
caption: "sv-table__caption"
|
|
1403
|
+
};
|
|
1404
|
+
|
|
1405
|
+
// src/components/ui/table.tsx
|
|
1406
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
1407
|
+
var Table = React19.forwardRef(
|
|
1408
|
+
({ className, containerClassName, stack, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: cn(tableClasses.container, containerClassName), children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1409
|
+
"table",
|
|
1410
|
+
{
|
|
1411
|
+
role: "table",
|
|
1412
|
+
className: cn(table(), stack && "sv-table--stack", className),
|
|
1413
|
+
ref,
|
|
1414
|
+
...props
|
|
1415
|
+
}
|
|
1416
|
+
) })
|
|
1417
|
+
);
|
|
1418
|
+
Table.displayName = "Table";
|
|
1419
|
+
var TableHeader = React19.forwardRef(
|
|
1420
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("thead", { role: "rowgroup", className: cn(tableClasses.head, className), ref, ...props })
|
|
1421
|
+
);
|
|
1422
|
+
TableHeader.displayName = "TableHeader";
|
|
1423
|
+
var TableBody = React19.forwardRef(
|
|
1424
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("tbody", { role: "rowgroup", className: cn(tableClasses.body, className), ref, ...props })
|
|
1425
|
+
);
|
|
1426
|
+
TableBody.displayName = "TableBody";
|
|
1427
|
+
var TableFooter = React19.forwardRef(
|
|
1428
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("tfoot", { role: "rowgroup", className: cn(tableClasses.foot, className), ref, ...props })
|
|
1429
|
+
);
|
|
1430
|
+
TableFooter.displayName = "TableFooter";
|
|
1431
|
+
var TableRow = React19.forwardRef(
|
|
1432
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("tr", { role: "row", className: cn(tableClasses.row, className), ref, ...props })
|
|
1433
|
+
);
|
|
1434
|
+
TableRow.displayName = "TableRow";
|
|
1435
|
+
var TableHead = React19.forwardRef(
|
|
1436
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1437
|
+
"th",
|
|
1438
|
+
{
|
|
1439
|
+
role: props.scope === "row" || props.scope === "rowgroup" ? "rowheader" : "columnheader",
|
|
1440
|
+
className: cn(tableClasses.th, className),
|
|
1441
|
+
ref,
|
|
1442
|
+
...props
|
|
1443
|
+
}
|
|
1444
|
+
)
|
|
1445
|
+
);
|
|
1446
|
+
TableHead.displayName = "TableHead";
|
|
1447
|
+
var TableCell = React19.forwardRef(
|
|
1448
|
+
({ className, label, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1449
|
+
"td",
|
|
1450
|
+
{
|
|
1451
|
+
role: "cell",
|
|
1452
|
+
className: cn(tableClasses.td, className),
|
|
1453
|
+
"data-label": label,
|
|
1454
|
+
ref,
|
|
1455
|
+
...props
|
|
1456
|
+
}
|
|
1457
|
+
)
|
|
1458
|
+
);
|
|
1459
|
+
TableCell.displayName = "TableCell";
|
|
1460
|
+
var TableCaption = React19.forwardRef(
|
|
1461
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("caption", { className: cn(tableClasses.caption, className), ref, ...props })
|
|
1462
|
+
);
|
|
1463
|
+
TableCaption.displayName = "TableCaption";
|
|
1464
|
+
|
|
1465
|
+
// src/tokens/typography.ts
|
|
1466
|
+
var fontFamilies = {
|
|
1467
|
+
display: "'Sora', ui-sans-serif, system-ui, sans-serif",
|
|
1468
|
+
body: "'Manrope', ui-sans-serif, system-ui, sans-serif",
|
|
1469
|
+
mono: "'JetBrains Mono', ui-monospace, 'SF Mono', monospace"
|
|
1470
|
+
};
|
|
1471
|
+
var fontWeights = {
|
|
1472
|
+
regular: 400,
|
|
1473
|
+
medium: 500,
|
|
1474
|
+
semibold: 600,
|
|
1475
|
+
bold: 700
|
|
1476
|
+
};
|
|
1477
|
+
var fontSizes = {
|
|
1478
|
+
xs: "0.75rem",
|
|
1479
|
+
// 12px — meta, pills
|
|
1480
|
+
sm: "0.8125rem",
|
|
1481
|
+
// 13px — captions, code
|
|
1482
|
+
base: "0.9375rem",
|
|
1483
|
+
// 15px — body
|
|
1484
|
+
md: "1rem",
|
|
1485
|
+
// 16px — lead paragraphs
|
|
1486
|
+
lg: "1.125rem",
|
|
1487
|
+
// 18px — article lead
|
|
1488
|
+
xl: "1.375rem",
|
|
1489
|
+
// 22px — card titles, h3
|
|
1490
|
+
"2xl": "1.75rem",
|
|
1491
|
+
// 28px — h2
|
|
1492
|
+
"3xl": "2.25rem",
|
|
1493
|
+
// 36px — article title
|
|
1494
|
+
"4xl": "2.75rem"
|
|
1495
|
+
// 44px — hero display
|
|
1496
|
+
};
|
|
1497
|
+
var lineHeights = {
|
|
1498
|
+
tight: 1.15,
|
|
1499
|
+
snug: 1.3,
|
|
1500
|
+
normal: 1.5,
|
|
1501
|
+
relaxed: 1.7
|
|
1502
|
+
};
|
|
1503
|
+
var letterSpacings = {
|
|
1504
|
+
display: "-0.02em",
|
|
1505
|
+
normal: "0",
|
|
1506
|
+
wide: "0.08em"
|
|
1507
|
+
};
|
|
1508
|
+
|
|
1509
|
+
// src/tokens/spacing.ts
|
|
1510
|
+
var spacing = {
|
|
1511
|
+
1: "4px",
|
|
1512
|
+
2: "8px",
|
|
1513
|
+
3: "12px",
|
|
1514
|
+
4: "16px",
|
|
1515
|
+
5: "20px",
|
|
1516
|
+
6: "24px",
|
|
1517
|
+
8: "32px",
|
|
1518
|
+
10: "40px",
|
|
1519
|
+
12: "48px",
|
|
1520
|
+
14: "56px",
|
|
1521
|
+
16: "64px",
|
|
1522
|
+
18: "72px"
|
|
1523
|
+
};
|
|
1524
|
+
var radii = {
|
|
1525
|
+
sm: "6px",
|
|
1526
|
+
md: "8px",
|
|
1527
|
+
lg: "12px",
|
|
1528
|
+
xl: "16px",
|
|
1529
|
+
full: "9999px"
|
|
1530
|
+
};
|
|
1531
|
+
|
|
1532
|
+
// src/tokens/motion.ts
|
|
1533
|
+
var easings = {
|
|
1534
|
+
hover: "cubic-bezier(.3,.7,.4,1)",
|
|
1535
|
+
linear: "linear"
|
|
1536
|
+
};
|
|
1537
|
+
var durations = {
|
|
1538
|
+
fast: "120ms",
|
|
1539
|
+
base: "200ms",
|
|
1540
|
+
slow: "320ms"
|
|
1541
|
+
};
|
|
1542
|
+
|
|
1543
|
+
// src/tokens/zIndex.ts
|
|
1544
|
+
var zIndex = {
|
|
1545
|
+
dropdown: 10,
|
|
1546
|
+
sticky: 20,
|
|
1547
|
+
backdrop: 30,
|
|
1548
|
+
modal: 40,
|
|
1549
|
+
toast: 50,
|
|
1550
|
+
tooltip: 60
|
|
1551
|
+
};
|
|
1552
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1553
|
+
0 && (module.exports = {
|
|
1554
|
+
Alert,
|
|
1555
|
+
AlertDescription,
|
|
1556
|
+
AlertTitle,
|
|
1557
|
+
ArticleHeader,
|
|
1558
|
+
Badge,
|
|
1559
|
+
Button,
|
|
1560
|
+
Callout,
|
|
1561
|
+
Card,
|
|
1562
|
+
CardContent,
|
|
1563
|
+
CardDescription,
|
|
1564
|
+
CardFooter,
|
|
1565
|
+
CardHeader,
|
|
1566
|
+
CardSkeleton,
|
|
1567
|
+
CardTitle,
|
|
1568
|
+
CategoryPill,
|
|
1569
|
+
ChartAxis,
|
|
1570
|
+
ChartBar,
|
|
1571
|
+
ChartContainer,
|
|
1572
|
+
ChartGrid,
|
|
1573
|
+
ChartLegend,
|
|
1574
|
+
ChartLine,
|
|
1575
|
+
Checkbox,
|
|
1576
|
+
CodeBlock,
|
|
1577
|
+
DEFAULT_ACCENT,
|
|
1578
|
+
DEFAULT_MODE,
|
|
1579
|
+
FeaturedPostCard,
|
|
1580
|
+
Field,
|
|
1581
|
+
FileInput,
|
|
1582
|
+
Footer,
|
|
1583
|
+
Header,
|
|
1584
|
+
Hero,
|
|
1585
|
+
Icon,
|
|
1586
|
+
Input,
|
|
1587
|
+
Layout,
|
|
1588
|
+
Lead,
|
|
1589
|
+
Logo,
|
|
1590
|
+
NativeSelect,
|
|
1591
|
+
PageHeader,
|
|
1592
|
+
Pagination,
|
|
1593
|
+
PaginationContent,
|
|
1594
|
+
PaginationEllipsis,
|
|
1595
|
+
PaginationItem,
|
|
1596
|
+
PaginationLink,
|
|
1597
|
+
PaginationNext,
|
|
1598
|
+
PaginationPrevious,
|
|
1599
|
+
PostCard,
|
|
1600
|
+
PostGrid,
|
|
1601
|
+
Progress,
|
|
1602
|
+
Prose,
|
|
1603
|
+
READING_PROGRESS_VAR,
|
|
1604
|
+
RadioGroup,
|
|
1605
|
+
RadioGroupItem,
|
|
1606
|
+
Separator,
|
|
1607
|
+
Sidebar,
|
|
1608
|
+
SidebarSection,
|
|
1609
|
+
Skeleton,
|
|
1610
|
+
Table,
|
|
1611
|
+
TableBody,
|
|
1612
|
+
TableCaption,
|
|
1613
|
+
TableCell,
|
|
1614
|
+
TableFooter,
|
|
1615
|
+
TableHead,
|
|
1616
|
+
TableHeader,
|
|
1617
|
+
TableRow,
|
|
1618
|
+
TextLink,
|
|
1619
|
+
Textarea,
|
|
1620
|
+
ThemeScript,
|
|
1621
|
+
accentNames,
|
|
1622
|
+
accents,
|
|
1623
|
+
accentsInk,
|
|
1624
|
+
articleHeader,
|
|
1625
|
+
articleHeaderClasses,
|
|
1626
|
+
callout,
|
|
1627
|
+
calloutClasses,
|
|
1628
|
+
calloutLabels,
|
|
1629
|
+
cardSkeleton,
|
|
1630
|
+
categoryPill,
|
|
1631
|
+
categoryPillClasses,
|
|
1632
|
+
codeBlock,
|
|
1633
|
+
codeBlockClasses,
|
|
1634
|
+
colors,
|
|
1635
|
+
cx,
|
|
1636
|
+
defaultCategoryColors,
|
|
1637
|
+
durations,
|
|
1638
|
+
easings,
|
|
1639
|
+
featuredPostCard,
|
|
1640
|
+
featuredPostCardClasses,
|
|
1641
|
+
field,
|
|
1642
|
+
fieldClasses,
|
|
1643
|
+
fieldMessage,
|
|
1644
|
+
fontFamilies,
|
|
1645
|
+
fontSizes,
|
|
1646
|
+
fontWeights,
|
|
1647
|
+
footer,
|
|
1648
|
+
footerClasses,
|
|
1649
|
+
header,
|
|
1650
|
+
headerClasses,
|
|
1651
|
+
hero,
|
|
1652
|
+
heroClasses,
|
|
1653
|
+
layout,
|
|
1654
|
+
letterSpacings,
|
|
1655
|
+
lineHeights,
|
|
1656
|
+
logo,
|
|
1657
|
+
logoClasses,
|
|
1658
|
+
postCard,
|
|
1659
|
+
postCardClasses,
|
|
1660
|
+
postGrid,
|
|
1661
|
+
prose,
|
|
1662
|
+
proseClasses,
|
|
1663
|
+
radii,
|
|
1664
|
+
readingProgress,
|
|
1665
|
+
readingProgressClasses,
|
|
1666
|
+
resolveAccentColor,
|
|
1667
|
+
resolveCategoryColor,
|
|
1668
|
+
safeHref,
|
|
1669
|
+
semantic,
|
|
1670
|
+
semanticInk,
|
|
1671
|
+
sidebar,
|
|
1672
|
+
sidebarClasses,
|
|
1673
|
+
skeletonLine,
|
|
1674
|
+
spacing,
|
|
1675
|
+
table,
|
|
1676
|
+
tableClasses,
|
|
1677
|
+
tableOfContents,
|
|
1678
|
+
themeModes,
|
|
1679
|
+
tocLink,
|
|
1680
|
+
zIndex
|
|
1681
|
+
});
|
|
1682
|
+
//# sourceMappingURL=index.cjs.map
|