@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,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Still Void — Tailwind v4 CSS-first theme entry.
|
|
3
|
+
* Import once, after theme.css: `@import "@still-void/ui/tailwind.css";`
|
|
4
|
+
*
|
|
5
|
+
* This file exists for the CONSUMER's own markup, not for this package's
|
|
6
|
+
* components — every component this package ships styles itself through
|
|
7
|
+
* `sv-*` classes in style.css and needs zero Tailwind configuration (AD-001).
|
|
8
|
+
* If a consumer wants `bg-sv-surface`, `text-sv-text` and similar utilities
|
|
9
|
+
* available in their own JSX, this is what wires the design tokens into
|
|
10
|
+
* Tailwind's utility generator.
|
|
11
|
+
*
|
|
12
|
+
* `@theme inline`, not a bare `@theme`: every value below is `var(--sv-*)`,
|
|
13
|
+
* and those variables are redeclared under `[data-theme='light']` and each
|
|
14
|
+
* `[data-accent]` in theme.css. Without `inline`, Tailwind resolves the
|
|
15
|
+
* theme variable once and bakes that value into the generated utility class
|
|
16
|
+
* — the utility would freeze on whichever value was in scope wherever the
|
|
17
|
+
* @theme block itself happened to be read, and stop following `[data-theme]`
|
|
18
|
+
* switches. `inline` keeps the utility referencing the CSS variable at the
|
|
19
|
+
* point of use instead, which is what lets it react to the runtime switch
|
|
20
|
+
* the same way every `sv-*` class in style.css already does. Confirmed
|
|
21
|
+
* against Tailwind's own docs before writing this (see design.md).
|
|
22
|
+
*
|
|
23
|
+
* No `@source` here (AD-011): after round 2 no component in `dist` emits a
|
|
24
|
+
* Tailwind class for a scanner to find — the family that used to (Dialog,
|
|
25
|
+
* DropdownMenu, Select, Tabs, Tooltip) migrated to `sv-*` in this same round.
|
|
26
|
+
* A `@source` pointed at this package's `dist` would scan an empty target.
|
|
27
|
+
*
|
|
28
|
+
* Color and radius keys are namespaced `sv-*` (`--color-sv-*`, `--radius-sv-*`)
|
|
29
|
+
* rather than overriding Tailwind's own `--color-gray-*` / `--radius-md` etc:
|
|
30
|
+
* a consumer using vanilla `rounded-md` elsewhere in their app must not have
|
|
31
|
+
* its value silently changed by importing this file.
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
@theme inline {
|
|
35
|
+
/* Colors -> bg-sv-*, text-sv-*, border-sv-*, fill-sv-*, ... */
|
|
36
|
+
--color-sv-bg: var(--sv-bg);
|
|
37
|
+
--color-sv-bg-elev: var(--sv-bg-elev);
|
|
38
|
+
--color-sv-surface: var(--sv-surface);
|
|
39
|
+
--color-sv-surface-2: var(--sv-surface-2);
|
|
40
|
+
--color-sv-border: var(--sv-border);
|
|
41
|
+
--color-sv-border-strong: var(--sv-border-strong);
|
|
42
|
+
--color-sv-control-border: var(--sv-control-border);
|
|
43
|
+
--color-sv-text: var(--sv-text);
|
|
44
|
+
--color-sv-text-2: var(--sv-text-2);
|
|
45
|
+
--color-sv-text-3: var(--sv-text-3);
|
|
46
|
+
--color-sv-signal-cyan: var(--sv-accent-cyan);
|
|
47
|
+
--color-sv-twilight-violet: var(--sv-accent-violet);
|
|
48
|
+
--color-sv-quiet-mint: var(--sv-accent-mint);
|
|
49
|
+
--color-sv-warm-amber: var(--sv-accent-amber);
|
|
50
|
+
|
|
51
|
+
/* Fonts -> font-sv-display, font-sv-body, font-sv-mono */
|
|
52
|
+
--font-sv-display: var(--sv-font-display);
|
|
53
|
+
--font-sv-body: var(--sv-font-body);
|
|
54
|
+
--font-sv-mono: var(--sv-font-mono);
|
|
55
|
+
|
|
56
|
+
/*
|
|
57
|
+
* Spacing -> every padding, margin, gap, width and height utility.
|
|
58
|
+
* Tailwind computes its whole numeric spacing scale as
|
|
59
|
+
* calc(var(--spacing) times N); sv-space-1 IS that atomic unit (4px), and
|
|
60
|
+
* every other sv-space-N step is already N times it (sv-space-6 = 24px =
|
|
61
|
+
* 6 times 4px). Overriding the single multiplier ties the entire scale to
|
|
62
|
+
* the token in one line instead of redeclaring each step, and keeps
|
|
63
|
+
* values in sync automatically if sv-space-1 ever changes.
|
|
64
|
+
*/
|
|
65
|
+
--spacing: var(--sv-space-1);
|
|
66
|
+
|
|
67
|
+
/* Radius -> rounded-sv-sm .. rounded-sv-full */
|
|
68
|
+
--radius-sv-sm: var(--sv-radius-sm);
|
|
69
|
+
--radius-sv-md: var(--sv-radius-md);
|
|
70
|
+
--radius-sv-lg: var(--sv-radius-lg);
|
|
71
|
+
--radius-sv-xl: var(--sv-radius-xl);
|
|
72
|
+
--radius-sv-full: var(--sv-radius-full);
|
|
73
|
+
}
|
package/dist/theme.css
ADDED
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
/* ============================================================
|
|
2
|
+
Still Void — theme tokens
|
|
3
|
+
Import once: `import '@still-void/ui/theme.css'`
|
|
4
|
+
Theming is attribute-driven and therefore Server-Component
|
|
5
|
+
safe: render <html data-theme="dark" data-accent="cyan"> on
|
|
6
|
+
the server and no JS is required for correct first paint.
|
|
7
|
+
|
|
8
|
+
Fonts (Sora, Manrope, JetBrains Mono) are NOT loaded here. A
|
|
9
|
+
render-blocking @import of a third-party font stylesheet inside
|
|
10
|
+
this file would serialize "download theme.css" → "discover font
|
|
11
|
+
URLs" → "download fonts" on every consumer's critical path, and
|
|
12
|
+
forces a runtime dependency on Google's CDN. Load fonts yourself
|
|
13
|
+
— see the README's Fonts section for `next/font` and self-hosted
|
|
14
|
+
examples — the family names below already match what you load.
|
|
15
|
+
============================================================ */
|
|
16
|
+
|
|
17
|
+
:root {
|
|
18
|
+
/* dark is the default scheme */
|
|
19
|
+
--sv-bg: #0a0a0c;
|
|
20
|
+
--sv-bg-elev: #111114;
|
|
21
|
+
--sv-surface: #16161b;
|
|
22
|
+
--sv-surface-2: #1c1c22;
|
|
23
|
+
--sv-border: rgba(255, 255, 255, 0.08);
|
|
24
|
+
--sv-border-strong: rgba(255, 255, 255, 0.14);
|
|
25
|
+
/* WCAG 1.4.11: ≥3:1 on every surface, for the edge of form controls. */
|
|
26
|
+
--sv-control-border: #6b6b76;
|
|
27
|
+
--sv-text: #ededf0;
|
|
28
|
+
--sv-text-2: #8b8b96;
|
|
29
|
+
/* WCAG AA fix: was #5a5a66 (~2.6:1 on surface) — text3 carries real copy, not decoration. */
|
|
30
|
+
--sv-text-3: #83838f;
|
|
31
|
+
|
|
32
|
+
/* accent palette — surface use (dots, gradient border, progress track). */
|
|
33
|
+
--sv-accent-cyan: oklch(0.78 0.12 210);
|
|
34
|
+
--sv-accent-violet: oklch(0.72 0.14 295);
|
|
35
|
+
--sv-accent-mint: oklch(0.78 0.1 160);
|
|
36
|
+
--sv-accent-amber: oklch(0.78 0.12 75);
|
|
37
|
+
--sv-accent: var(--sv-accent-cyan);
|
|
38
|
+
|
|
39
|
+
/* accent "ink" — text/UI-state use (links, active states, focus ring).
|
|
40
|
+
Dark mode: identical to the surface accent (already ≥6.9:1). Light mode
|
|
41
|
+
overrides these to a darker step of the same hue so text meets 4.5:1 —
|
|
42
|
+
see accentsInk in tokens/colors.ts for the derivation. */
|
|
43
|
+
--sv-accent-cyan-ink: var(--sv-accent-cyan);
|
|
44
|
+
--sv-accent-violet-ink: var(--sv-accent-violet);
|
|
45
|
+
--sv-accent-mint-ink: var(--sv-accent-mint);
|
|
46
|
+
--sv-accent-amber-ink: var(--sv-accent-amber);
|
|
47
|
+
--sv-accent-ink: var(--sv-accent-cyan-ink);
|
|
48
|
+
|
|
49
|
+
/* typography */
|
|
50
|
+
--sv-font-display: 'Sora', ui-sans-serif, system-ui, sans-serif;
|
|
51
|
+
--sv-font-body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
|
|
52
|
+
--sv-font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
|
|
53
|
+
|
|
54
|
+
--sv-text-xs: 0.75rem;
|
|
55
|
+
--sv-text-sm: 0.8125rem;
|
|
56
|
+
--sv-text-base: 0.9375rem;
|
|
57
|
+
--sv-text-md: 1rem;
|
|
58
|
+
--sv-text-lg: 1.125rem;
|
|
59
|
+
--sv-text-xl: 1.375rem;
|
|
60
|
+
--sv-text-2xl: 1.75rem;
|
|
61
|
+
--sv-text-3xl: 2.25rem;
|
|
62
|
+
--sv-text-4xl: 2.75rem;
|
|
63
|
+
|
|
64
|
+
/* spacing 4→72px */
|
|
65
|
+
--sv-space-1: 4px;
|
|
66
|
+
--sv-space-2: 8px;
|
|
67
|
+
--sv-space-3: 12px;
|
|
68
|
+
--sv-space-4: 16px;
|
|
69
|
+
--sv-space-5: 20px;
|
|
70
|
+
--sv-space-6: 24px;
|
|
71
|
+
--sv-space-8: 32px;
|
|
72
|
+
--sv-space-10: 40px;
|
|
73
|
+
--sv-space-12: 48px;
|
|
74
|
+
--sv-space-14: 56px;
|
|
75
|
+
--sv-space-16: 64px;
|
|
76
|
+
--sv-space-18: 72px;
|
|
77
|
+
|
|
78
|
+
/* radii */
|
|
79
|
+
--sv-radius-sm: 6px;
|
|
80
|
+
--sv-radius-md: 8px;
|
|
81
|
+
--sv-radius-lg: 12px;
|
|
82
|
+
--sv-radius-xl: 16px;
|
|
83
|
+
--sv-radius-full: 9999px;
|
|
84
|
+
|
|
85
|
+
/* motion */
|
|
86
|
+
--sv-ease-hover: cubic-bezier(0.3, 0.7, 0.4, 1);
|
|
87
|
+
--sv-duration-fast: 120ms;
|
|
88
|
+
--sv-duration-base: 200ms;
|
|
89
|
+
--sv-duration-slow: 320ms;
|
|
90
|
+
|
|
91
|
+
/* z-index scale — named steps, never arbitrary values like 999/9999. */
|
|
92
|
+
--sv-z-dropdown: 10;
|
|
93
|
+
--sv-z-sticky: 20;
|
|
94
|
+
--sv-z-backdrop: 30;
|
|
95
|
+
--sv-z-modal: 40;
|
|
96
|
+
--sv-z-toast: 50;
|
|
97
|
+
--sv-z-tooltip: 60;
|
|
98
|
+
|
|
99
|
+
/* semantic state colors — fixed regardless of the active site accent. */
|
|
100
|
+
--sv-danger: oklch(0.68 0.19 25);
|
|
101
|
+
--sv-success: oklch(0.75 0.15 150);
|
|
102
|
+
--sv-info: oklch(0.78 0.12 210);
|
|
103
|
+
--sv-warning: oklch(0.78 0.12 75);
|
|
104
|
+
--sv-danger-ink: var(--sv-danger);
|
|
105
|
+
--sv-success-ink: var(--sv-success);
|
|
106
|
+
--sv-info-ink: var(--sv-info);
|
|
107
|
+
--sv-warning-ink: var(--sv-warning);
|
|
108
|
+
|
|
109
|
+
color-scheme: dark;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
[data-theme='light'] {
|
|
113
|
+
--sv-bg: #f7f7f5;
|
|
114
|
+
--sv-bg-elev: #ffffff;
|
|
115
|
+
--sv-surface: #ffffff;
|
|
116
|
+
--sv-surface-2: #f2f2ef;
|
|
117
|
+
--sv-border: rgba(0, 0, 0, 0.08);
|
|
118
|
+
--sv-border-strong: rgba(0, 0, 0, 0.14);
|
|
119
|
+
--sv-control-border: #85858e;
|
|
120
|
+
--sv-text: #16161b;
|
|
121
|
+
--sv-text-2: #5a5a66;
|
|
122
|
+
/* WCAG AA fix: was #8b8b96 (~3.1:1 on white). #6f6f78 (a first fix) cleared
|
|
123
|
+
white/paper but was ~4.44:1 on surface2 (#f2f2ef) — still a failure. */
|
|
124
|
+
--sv-text-3: #6d6d76;
|
|
125
|
+
color-scheme: light;
|
|
126
|
+
|
|
127
|
+
/* WCAG AA fix: the dark-mode accent hues read 1.8–2.6:1 as text on light
|
|
128
|
+
surfaces. Darkened per-hue steps restore ≥4.5:1 without touching the
|
|
129
|
+
canonical (dark-mode, surface-use) accent values above. */
|
|
130
|
+
--sv-accent-cyan-ink: oklch(0.515 0.09 210);
|
|
131
|
+
--sv-accent-violet-ink: oklch(0.535 0.14 295);
|
|
132
|
+
--sv-accent-mint-ink: oklch(0.515 0.1 160);
|
|
133
|
+
--sv-accent-amber-ink: oklch(0.53 0.11 75);
|
|
134
|
+
|
|
135
|
+
/* Same WCAG AA fix, applied to the semantic state colors. */
|
|
136
|
+
--sv-danger-ink: oklch(0.535 0.19 25);
|
|
137
|
+
--sv-success-ink: oklch(0.51 0.14 150);
|
|
138
|
+
--sv-info-ink: oklch(0.515 0.09 210);
|
|
139
|
+
--sv-warning-ink: oklch(0.53 0.11 75);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/* Nested dark island: `data-theme="dark"` on any element inside a light page.
|
|
143
|
+
Repeats the dark color tokens, because `:root` alone only applies at the
|
|
144
|
+
root. The two `*-ink` groups are re-pointed explicitly: custom properties
|
|
145
|
+
inherit as *resolved* values, so without this the island would inherit the
|
|
146
|
+
light page's darkened inks. In dark mode every ink equals its surface color,
|
|
147
|
+
so `--sv-accent-ink: var(--sv-accent)` follows the page's active accent
|
|
148
|
+
without needing `data-accent` on the island. (A light island inside a dark
|
|
149
|
+
page also needs `data-accent` on the island, for the same reason.) */
|
|
150
|
+
[data-theme='dark'] {
|
|
151
|
+
--sv-bg: #0a0a0c;
|
|
152
|
+
--sv-bg-elev: #111114;
|
|
153
|
+
--sv-surface: #16161b;
|
|
154
|
+
--sv-surface-2: #1c1c22;
|
|
155
|
+
--sv-border: rgba(255, 255, 255, 0.08);
|
|
156
|
+
--sv-border-strong: rgba(255, 255, 255, 0.14);
|
|
157
|
+
--sv-control-border: #6b6b76;
|
|
158
|
+
--sv-text: #ededf0;
|
|
159
|
+
--sv-text-2: #8b8b96;
|
|
160
|
+
--sv-text-3: #83838f;
|
|
161
|
+
--sv-accent-cyan-ink: var(--sv-accent-cyan);
|
|
162
|
+
--sv-accent-violet-ink: var(--sv-accent-violet);
|
|
163
|
+
--sv-accent-mint-ink: var(--sv-accent-mint);
|
|
164
|
+
--sv-accent-amber-ink: var(--sv-accent-amber);
|
|
165
|
+
--sv-accent-ink: var(--sv-accent);
|
|
166
|
+
--sv-danger-ink: var(--sv-danger);
|
|
167
|
+
--sv-success-ink: var(--sv-success);
|
|
168
|
+
--sv-info-ink: var(--sv-info);
|
|
169
|
+
--sv-warning-ink: var(--sv-warning);
|
|
170
|
+
color-scheme: dark;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/* An island also re-sets its text color: `color` inherits as the page's
|
|
174
|
+
resolved value, so island text would otherwise keep the outer theme's ink. */
|
|
175
|
+
[data-theme]:not(:root) {
|
|
176
|
+
color: var(--sv-text);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* Accent switching is pure CSS — works in Server Components. */
|
|
180
|
+
[data-accent='cyan'] {
|
|
181
|
+
--sv-accent: var(--sv-accent-cyan);
|
|
182
|
+
--sv-accent-ink: var(--sv-accent-cyan-ink);
|
|
183
|
+
}
|
|
184
|
+
[data-accent='violet'] {
|
|
185
|
+
--sv-accent: var(--sv-accent-violet);
|
|
186
|
+
--sv-accent-ink: var(--sv-accent-violet-ink);
|
|
187
|
+
}
|
|
188
|
+
[data-accent='mint'] {
|
|
189
|
+
--sv-accent: var(--sv-accent-mint);
|
|
190
|
+
--sv-accent-ink: var(--sv-accent-mint-ink);
|
|
191
|
+
}
|
|
192
|
+
[data-accent='amber'] {
|
|
193
|
+
--sv-accent: var(--sv-accent-amber);
|
|
194
|
+
--sv-accent-ink: var(--sv-accent-amber-ink);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/* Visible keyboard focus everywhere — never removed without a replacement.
|
|
198
|
+
Uses the ink accent so the ring clears 3:1 (WCAG 1.4.11) in light mode too. */
|
|
199
|
+
:focus-visible {
|
|
200
|
+
outline: 2px solid var(--sv-accent-ink);
|
|
201
|
+
outline-offset: 2px;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/* ============================================================
|
|
205
|
+
Signature utilities
|
|
206
|
+
============================================================ */
|
|
207
|
+
|
|
208
|
+
/* .sv-gradient-border — the system's visual signature.
|
|
209
|
+
Never replace with box-shadow.
|
|
210
|
+
|
|
211
|
+
Lives in Tailwind's `components` layer (the statement below fixes the
|
|
212
|
+
standard v4 order even when this file loads before Tailwind), so a
|
|
213
|
+
utility on the same element — `rounded-md`, `bg-*` — wins over the
|
|
214
|
+
default radius/background instead of losing to unlayered CSS. Up to 3.5.1
|
|
215
|
+
it was unlayered and beat those utilities. Without Tailwind, the only
|
|
216
|
+
difference is that the app's own unlayered CSS on the same element now
|
|
217
|
+
wins too. */
|
|
218
|
+
@layer theme, base, components, utilities;
|
|
219
|
+
|
|
220
|
+
@layer components {
|
|
221
|
+
.sv-gradient-border {
|
|
222
|
+
position: relative;
|
|
223
|
+
background: var(--sv-surface);
|
|
224
|
+
border-radius: var(--sv-radius-lg);
|
|
225
|
+
}
|
|
226
|
+
.sv-gradient-border::before {
|
|
227
|
+
content: '';
|
|
228
|
+
position: absolute;
|
|
229
|
+
inset: 0;
|
|
230
|
+
border-radius: inherit;
|
|
231
|
+
padding: 1px;
|
|
232
|
+
background: linear-gradient(
|
|
233
|
+
135deg,
|
|
234
|
+
var(--sv-accent) 0%,
|
|
235
|
+
transparent 40%,
|
|
236
|
+
transparent 60%,
|
|
237
|
+
var(--sv-border-strong) 100%
|
|
238
|
+
);
|
|
239
|
+
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
240
|
+
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
241
|
+
-webkit-mask-composite: xor;
|
|
242
|
+
mask-composite: exclude;
|
|
243
|
+
pointer-events: none;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/* Cards have no shadow — hover lifts via border/transform only. */
|
|
248
|
+
.sv-card-hover {
|
|
249
|
+
transition:
|
|
250
|
+
transform var(--sv-duration-base) var(--sv-ease-hover),
|
|
251
|
+
border-color var(--sv-duration-base) var(--sv-ease-hover),
|
|
252
|
+
background var(--sv-duration-base) var(--sv-ease-hover);
|
|
253
|
+
}
|
|
254
|
+
.sv-card-hover:hover {
|
|
255
|
+
transform: translateY(-2px);
|
|
256
|
+
border-color: var(--sv-border-strong);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.sv-skeleton {
|
|
260
|
+
background: linear-gradient(
|
|
261
|
+
90deg,
|
|
262
|
+
var(--sv-surface-2) 25%,
|
|
263
|
+
var(--sv-surface) 50%,
|
|
264
|
+
var(--sv-surface-2) 75%
|
|
265
|
+
);
|
|
266
|
+
background-size: 200% 100%;
|
|
267
|
+
animation: sv-skeleton-shimmer 1.4s linear infinite;
|
|
268
|
+
border-radius: var(--sv-radius-md);
|
|
269
|
+
}
|
|
270
|
+
@keyframes sv-skeleton-shimmer {
|
|
271
|
+
from {
|
|
272
|
+
background-position: 200% 0;
|
|
273
|
+
}
|
|
274
|
+
to {
|
|
275
|
+
background-position: -200% 0;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* Shared fade for every portal surface in style.css (.sv-overlay, .sv-dialog,
|
|
280
|
+
.sv-pop). Radix's Presence decides whether to keep a closing element
|
|
281
|
+
mounted long enough to animate out by reading the node's computed
|
|
282
|
+
`animation-name` — it listens for `animationstart`/`animationend`, never
|
|
283
|
+
`transitionend` (verified directly in @radix-ui/react-presence's source).
|
|
284
|
+
A `transition`-based fade never sets `animation-name`, so Presence sees
|
|
285
|
+
"none" and unmounts before a single frame renders; `animation` +
|
|
286
|
+
`@keyframes` is what it is actually built to detect. Declared here, not in
|
|
287
|
+
style.css's Overlays/Dialog/Popovers sections: those sections are parsed by
|
|
288
|
+
a flat, non-recursive selector-body regex in the CSS contract tests, which
|
|
289
|
+
cannot handle a rule with nested braces — the same reason
|
|
290
|
+
`sv-skeleton-shimmer` above lives here instead of next to `.sv-skeleton`. */
|
|
291
|
+
/* Bottom sheet slide. `from`/`to` honour --sv-sheet-drag so a sheet released
|
|
292
|
+
mid-drag leaves from where the finger let go instead of snapping back. */
|
|
293
|
+
@keyframes sv-sheet-in {
|
|
294
|
+
from {
|
|
295
|
+
transform: translateY(100%);
|
|
296
|
+
}
|
|
297
|
+
to {
|
|
298
|
+
transform: translateY(var(--sv-sheet-drag, 0px));
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
@keyframes sv-sheet-out {
|
|
302
|
+
from {
|
|
303
|
+
transform: translateY(var(--sv-sheet-drag, 0px));
|
|
304
|
+
}
|
|
305
|
+
to {
|
|
306
|
+
transform: translateY(100%);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
@keyframes sv-fade-in {
|
|
310
|
+
from {
|
|
311
|
+
opacity: 0;
|
|
312
|
+
}
|
|
313
|
+
to {
|
|
314
|
+
opacity: 1;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
@keyframes sv-fade-out {
|
|
318
|
+
from {
|
|
319
|
+
opacity: 1;
|
|
320
|
+
}
|
|
321
|
+
to {
|
|
322
|
+
opacity: 0;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.sv-glass {
|
|
327
|
+
background: color-mix(in srgb, var(--sv-bg-elev) 72%, transparent);
|
|
328
|
+
backdrop-filter: blur(12px) saturate(1.4);
|
|
329
|
+
-webkit-backdrop-filter: blur(12px) saturate(1.4);
|
|
330
|
+
border-bottom: 1px solid var(--sv-border);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
@media (prefers-reduced-motion: reduce) {
|
|
334
|
+
.sv-card-hover,
|
|
335
|
+
.sv-card-hover:hover {
|
|
336
|
+
transition: none;
|
|
337
|
+
transform: none;
|
|
338
|
+
}
|
|
339
|
+
.sv-skeleton {
|
|
340
|
+
animation: none;
|
|
341
|
+
}
|
|
342
|
+
/* Everything else this block used to name is declared in style.css, which
|
|
343
|
+
loads after this file. A media query adds no specificity, so the override
|
|
344
|
+
lost the cascade to the base rule every time — the reduce rules for those
|
|
345
|
+
classes now live at the end of style.css, where they can win. */
|
|
346
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@still-void/ui",
|
|
3
|
+
"version": "0.0.0-canary-20261202214749",
|
|
4
|
+
"description": "Still Void design system — React/Next.js design system with a server-safe entry and a client-only entry, built on shadcn/ui.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Kalleo Pinheiro",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"design-system",
|
|
9
|
+
"ui",
|
|
10
|
+
"components",
|
|
11
|
+
"react",
|
|
12
|
+
"nextjs",
|
|
13
|
+
"server-components",
|
|
14
|
+
"typescript"
|
|
15
|
+
],
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/KalleoPinheiro/still-void.git"
|
|
19
|
+
},
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/KalleoPinheiro/still-void/issues"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/KalleoPinheiro/still-void#readme",
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public",
|
|
26
|
+
"provenance": true
|
|
27
|
+
},
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": ">=18"
|
|
30
|
+
},
|
|
31
|
+
"devEngines": {
|
|
32
|
+
"runtime": {
|
|
33
|
+
"name": "node",
|
|
34
|
+
"version": ">=22",
|
|
35
|
+
"onFail": "warn"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"packageManager": "npm@10.9.7",
|
|
39
|
+
"type": "module",
|
|
40
|
+
"sideEffects": [
|
|
41
|
+
"*.css"
|
|
42
|
+
],
|
|
43
|
+
"exports": {
|
|
44
|
+
"./react": {
|
|
45
|
+
"import": {
|
|
46
|
+
"types": "./dist/react/index.d.ts",
|
|
47
|
+
"default": "./dist/react/index.js"
|
|
48
|
+
},
|
|
49
|
+
"require": {
|
|
50
|
+
"types": "./dist/react/index.d.cts",
|
|
51
|
+
"default": "./dist/react/index.cjs"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"./react/client": {
|
|
55
|
+
"import": {
|
|
56
|
+
"types": "./dist/react/client/index.d.ts",
|
|
57
|
+
"default": "./dist/react/client/index.js"
|
|
58
|
+
},
|
|
59
|
+
"require": {
|
|
60
|
+
"types": "./dist/react/client/index.d.cts",
|
|
61
|
+
"default": "./dist/react/client/index.cjs"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"./theme.css": "./dist/theme.css",
|
|
65
|
+
"./style.css": "./dist/style.css",
|
|
66
|
+
"./tailwind.css": "./dist/tailwind.css",
|
|
67
|
+
"./shadcn-overrides.css": "./dist/shadcn-overrides.css",
|
|
68
|
+
"./css/base.css": "./dist/css/base.css",
|
|
69
|
+
"./css/content.css": "./dist/css/content.css",
|
|
70
|
+
"./css/forms.css": "./dist/css/forms.css",
|
|
71
|
+
"./css/controls.css": "./dist/css/controls.css",
|
|
72
|
+
"./css/overlays.css": "./dist/css/overlays.css",
|
|
73
|
+
"./css/data.css": "./dist/css/data.css",
|
|
74
|
+
"./css/app-shell.css": "./dist/css/app-shell.css",
|
|
75
|
+
"./css/toast.css": "./dist/css/toast.css",
|
|
76
|
+
"./css/motion.css": "./dist/css/motion.css",
|
|
77
|
+
"./package.json": "./package.json"
|
|
78
|
+
},
|
|
79
|
+
"typesVersions": {
|
|
80
|
+
"*": {
|
|
81
|
+
"react": [
|
|
82
|
+
"./dist/react/index.d.ts"
|
|
83
|
+
],
|
|
84
|
+
"react/client": [
|
|
85
|
+
"./dist/react/client/index.d.ts"
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"files": [
|
|
90
|
+
"dist",
|
|
91
|
+
"CHANGELOG.md"
|
|
92
|
+
],
|
|
93
|
+
"scripts": {
|
|
94
|
+
"build": "node scripts/clean-dist.mjs && tsup && npm run build:css",
|
|
95
|
+
"build:css": "node scripts/copy-css.mjs",
|
|
96
|
+
"dev": "tsup --watch",
|
|
97
|
+
"test": "vitest run",
|
|
98
|
+
"test:watch": "vitest",
|
|
99
|
+
"test:coverage": "vitest run --coverage",
|
|
100
|
+
"typecheck": "tsc --noEmit",
|
|
101
|
+
"lint": "eslint . --max-warnings 0",
|
|
102
|
+
"lint:package": "publint --strict && attw --pack . --exclude-entrypoints theme.css style.css tailwind.css shadcn-overrides.css css/base.css css/content.css css/forms.css css/controls.css css/overlays.css css/data.css css/app-shell.css css/toast.css css/motion.css",
|
|
103
|
+
"changeset": "changeset",
|
|
104
|
+
"version-packages": "changeset version && npm install --package-lock-only --ignore-scripts",
|
|
105
|
+
"release": "npm run build && changeset publish",
|
|
106
|
+
"storybook": "storybook dev -p 6006",
|
|
107
|
+
"build-storybook": "storybook build",
|
|
108
|
+
"check:treeshake": "node scripts/check-treeshake.mjs"
|
|
109
|
+
},
|
|
110
|
+
"peerDependencies": {
|
|
111
|
+
"react": ">=18",
|
|
112
|
+
"react-dom": ">=18",
|
|
113
|
+
"tailwindcss": ">=4"
|
|
114
|
+
},
|
|
115
|
+
"peerDependenciesMeta": {
|
|
116
|
+
"tailwindcss": {
|
|
117
|
+
"optional": true
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"devDependencies": {
|
|
121
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
122
|
+
"@changesets/changelog-github": "^0.7.0",
|
|
123
|
+
"@changesets/cli": "^2.31.1",
|
|
124
|
+
"@eslint/js": "^9.39.5",
|
|
125
|
+
"@storybook/addon-a11y": "^10.5.2",
|
|
126
|
+
"@storybook/addon-docs": "^10.5.2",
|
|
127
|
+
"@storybook/react-vite": "^10.5.2",
|
|
128
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
129
|
+
"@testing-library/react": "^16.3.2",
|
|
130
|
+
"@testing-library/user-event": "^14.6.1",
|
|
131
|
+
"@types/node": "^22.20.7",
|
|
132
|
+
"@types/react": "^19",
|
|
133
|
+
"@types/react-dom": "^19",
|
|
134
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
135
|
+
"autoprefixer": "^10.5.4",
|
|
136
|
+
"esbuild": "^0.28.2",
|
|
137
|
+
"eslint": "^9.39.5",
|
|
138
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
139
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
140
|
+
"globals": "^17.15.0",
|
|
141
|
+
"jsdom": "^29.1.1",
|
|
142
|
+
"postcss": "^8.5.26",
|
|
143
|
+
"publint": "^0.3.22",
|
|
144
|
+
"react": "19.2.4",
|
|
145
|
+
"react-dom": "19.2.4",
|
|
146
|
+
"shadcn": "^4.18.0",
|
|
147
|
+
"storybook": "^10.5.2",
|
|
148
|
+
"tailwindcss": "^4.3.3",
|
|
149
|
+
"tsup": "^8.3.5",
|
|
150
|
+
"typescript": "^5",
|
|
151
|
+
"typescript-eslint": "^8.74.0",
|
|
152
|
+
"vitest": "^4.1.10"
|
|
153
|
+
},
|
|
154
|
+
"dependencies": {
|
|
155
|
+
"@heroicons/react": "^2.2.0",
|
|
156
|
+
"@radix-ui/react-alert-dialog": "^1.1.23",
|
|
157
|
+
"@radix-ui/react-dialog": "^1.1.23",
|
|
158
|
+
"@radix-ui/react-dropdown-menu": "^2.1.24",
|
|
159
|
+
"@radix-ui/react-primitive": "^2.1.10",
|
|
160
|
+
"@radix-ui/react-select": "^2.3.7",
|
|
161
|
+
"@radix-ui/react-tabs": "^1.1.21",
|
|
162
|
+
"@radix-ui/react-toast": "^1.2.23",
|
|
163
|
+
"@radix-ui/react-tooltip": "^1.2.16",
|
|
164
|
+
"clsx": "^2.1.1"
|
|
165
|
+
},
|
|
166
|
+
"overrides": {
|
|
167
|
+
"@joshwooding/vite-plugin-react-docgen-typescript": {
|
|
168
|
+
"glob": "^14.0.6"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|