@beehexa/design-rules 0.0.0-stage → 2611.3.2
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/README.md +56 -2
- package/dist/AGENTS.md +24 -0
- package/dist/catalog.json +1814 -0
- package/dist/docs/public/_redirects +7 -0
- package/dist/docs/public/apple-touch-icon.png +0 -0
- package/dist/docs/public/brand/logos/app/apple-touch-icon.png +0 -0
- package/dist/docs/public/brand/logos/app/avatar-800.png +0 -0
- package/dist/docs/public/brand/logos/app/icon-192.png +0 -0
- package/dist/docs/public/brand/logos/app/icon-512.png +0 -0
- package/dist/docs/public/brand/logos/app/icon-maskable-512.png +0 -0
- package/dist/docs/public/brand/logos/archive/d-550/beehexa-horizontal-1-light.svg +1 -0
- package/dist/docs/public/brand/logos/archive/d-550/beehexa-horizontal-2-dark.svg +1 -0
- package/dist/docs/public/brand/logos/archive/d-550/beehexa-horizontal-3-white.svg +1 -0
- package/dist/docs/public/brand/logos/archive/d-550/beehexa-horizontal-4-graphite.svg +1 -0
- package/dist/docs/public/brand/logos/archive/d-550/hexasync-horizontal-1-light.svg +1 -0
- package/dist/docs/public/brand/logos/archive/d-550/hexasync-horizontal-2-dark.svg +1 -0
- package/dist/docs/public/brand/logos/archive/d-550/hexasync-horizontal-3-white.svg +1 -0
- package/dist/docs/public/brand/logos/archive/d-550/hexasync-horizontal-4-graphite.svg +1 -0
- package/dist/docs/public/brand/logos/archive/d-550/ui/beehexa-d-550-dark.svg +1 -0
- package/dist/docs/public/brand/logos/archive/d-550/ui/beehexa-d-550-light.svg +1 -0
- package/dist/docs/public/brand/logos/archive/d-550/ui/beehexa-design-d-550-dark.svg +1 -0
- package/dist/docs/public/brand/logos/archive/d-550/ui/beehexa-design-d-550-light.svg +1 -0
- package/dist/docs/public/brand/logos/archive/d-550/ui/hexasync-d-550-dark.svg +1 -0
- package/dist/docs/public/brand/logos/archive/d-550/ui/hexasync-d-550-light.svg +1 -0
- package/dist/docs/public/brand/logos/archive/d-550/ui/png/beehexa-design-d-550-dark@3x.png +0 -0
- package/dist/docs/public/brand/logos/archive/d-550/ui/png/beehexa-design-d-550-light@3x.png +0 -0
- package/dist/docs/public/brand/logos/beehexa-logo.zip +0 -0
- package/dist/docs/public/brand/logos/fig/anatomy-en.png +0 -0
- package/dist/docs/public/brand/logos/fig/anatomy-vi.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-dark-12.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-dark-14.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-dark-28.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-dark-32.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-dark-56.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-graphite-28.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-graphite-32.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-light-14.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-light-21.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-light-22.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-light-24.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-light-28.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-light-32.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-light-36-7c3aed7c3aed.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-light-36-swap.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-light-36.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-light-56.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-white-20.png +0 -0
- package/dist/docs/public/brand/logos/fig/beehexa-white-32.png +0 -0
- package/dist/docs/public/brand/logos/fig/clearspace.png +0 -0
- package/dist/docs/public/brand/logos/fig/construction-en.png +0 -0
- package/dist/docs/public/brand/logos/fig/construction-vi.png +0 -0
- package/dist/docs/public/brand/logos/fig/container-en.png +0 -0
- package/dist/docs/public/brand/logos/fig/container-vi.png +0 -0
- package/dist/docs/public/brand/logos/fig/hexasync-dark-20.png +0 -0
- package/dist/docs/public/brand/logos/fig/hexasync-dark-28.png +0 -0
- package/dist/docs/public/brand/logos/fig/hexasync-dark-48.png +0 -0
- package/dist/docs/public/brand/logos/fig/hexasync-light-19.png +0 -0
- package/dist/docs/public/brand/logos/fig/hexasync-light-28.png +0 -0
- package/dist/docs/public/brand/logos/fig/hexasync-light-48.png +0 -0
- package/dist/docs/public/brand/logos/fig/icon-graphite-14.png +0 -0
- package/dist/docs/public/brand/logos/fig/icon-graphite-16.png +0 -0
- package/dist/docs/public/brand/logos/fig/icon-light-16.png +0 -0
- package/dist/docs/public/brand/logos/fig/icon-light-24.png +0 -0
- package/dist/docs/public/brand/logos/fig/icon-light-48.png +0 -0
- package/dist/docs/public/brand/logos/fig/icon-light-92.png +0 -0
- package/dist/docs/public/brand/logos/fig/meaning-bee-en.png +0 -0
- package/dist/docs/public/brand/logos/fig/meaning-bee-vi.png +0 -0
- package/dist/docs/public/brand/logos/fig/meaning-outline-en.png +0 -0
- package/dist/docs/public/brand/logos/fig/meaning-outline-vi.png +0 -0
- package/dist/docs/public/brand/logos/fig/meaning-stack-en.png +0 -0
- package/dist/docs/public/brand/logos/fig/meaning-stack-vi.png +0 -0
- package/dist/docs/public/brand/logos/fig/misuse-serif.png +0 -0
- package/dist/docs/public/brand/logos/icon/beehexa-icon-graphite.svg +1 -0
- package/dist/docs/public/brand/logos/icon/beehexa-icon-white.svg +1 -0
- package/dist/docs/public/brand/logos/icon/beehexa-icon-yellow.svg +1 -0
- package/dist/docs/public/brand/logos/lockups/beehexa-horizontal-1-light.svg +1 -0
- package/dist/docs/public/brand/logos/lockups/beehexa-horizontal-2-dark.svg +1 -0
- package/dist/docs/public/brand/logos/lockups/beehexa-horizontal-3-white.svg +1 -0
- package/dist/docs/public/brand/logos/lockups/beehexa-horizontal-4-graphite.svg +1 -0
- package/dist/docs/public/brand/logos/lockups/hexasync-horizontal-1-light.svg +1 -0
- package/dist/docs/public/brand/logos/lockups/hexasync-horizontal-2-dark.svg +1 -0
- package/dist/docs/public/brand/logos/lockups/hexasync-horizontal-3-white.svg +1 -0
- package/dist/docs/public/brand/logos/lockups/hexasync-horizontal-4-graphite.svg +1 -0
- package/dist/docs/public/brand/logos/ui/beehexa-dark.svg +1 -0
- package/dist/docs/public/brand/logos/ui/beehexa-design-dark.svg +1 -0
- package/dist/docs/public/brand/logos/ui/beehexa-design-light.svg +1 -0
- package/dist/docs/public/brand/logos/ui/beehexa-icon-yellow.svg +1 -0
- package/dist/docs/public/brand/logos/ui/beehexa-light.svg +1 -0
- package/dist/docs/public/brand/logos/ui/hexasync-dark.svg +1 -0
- package/dist/docs/public/brand/logos/ui/hexasync-light.svg +1 -0
- package/dist/docs/public/brand/logos/ui/png/beehexa-design-dark@3x.png +0 -0
- package/dist/docs/public/brand/logos/ui/png/beehexa-design-light@3x.png +0 -0
- package/dist/docs/public/favicon.ico +0 -0
- package/dist/docs/public/favicon.svg +1 -0
- package/dist/docs/public/fonts/LICENSE-Inter.txt +93 -0
- package/dist/docs/public/fonts/LICENSE-JetBrainsMono.txt +93 -0
- package/dist/docs/public/fonts/inter-latin-ext-opsz-wght-italic.woff2 +0 -0
- package/dist/docs/public/fonts/inter-latin-ext-opsz-wght-normal.woff2 +0 -0
- package/dist/docs/public/fonts/inter-latin-opsz-wght-italic.woff2 +0 -0
- package/dist/docs/public/fonts/inter-latin-opsz-wght-normal.woff2 +0 -0
- package/dist/docs/public/fonts/inter-vietnamese-opsz-wght-italic.woff2 +0 -0
- package/dist/docs/public/fonts/inter-vietnamese-opsz-wght-normal.woff2 +0 -0
- package/dist/docs/public/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
- package/dist/docs/public/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
- package/dist/docs/public/fonts/jetbrains-mono-vietnamese-wght-normal.woff2 +0 -0
- package/dist/docs/public/icon-192.png +0 -0
- package/dist/docs/public/icon-512.png +0 -0
- package/dist/docs/public/icon-maskable-512.png +0 -0
- package/dist/docs/public/robots.txt +4 -0
- package/dist/docs/public/site.webmanifest +21 -0
- package/dist/docs/scripts/color-pairs.mjs +46 -0
- package/dist/docs/scripts/contrast-exceptions.mjs +6 -0
- package/dist/docs/scripts/token-utils.d.mts +26 -0
- package/dist/docs/scripts/token-utils.mjs +114 -0
- package/dist/docs/src/brand/Beehexa-brandguide-full-mar12.pdf +0 -0
- package/dist/docs/src/brand/color+typoDirections.pdf +0 -0
- package/dist/docs/src/brand/structure-proposal.md +227 -0
- package/dist/docs/src/components/ChildPages.astro +25 -0
- package/dist/docs/src/components/CodeExample.astro +18 -0
- package/dist/docs/src/components/ColorDemo.astro +794 -0
- package/dist/docs/src/components/ColorExample.astro +32 -0
- package/dist/docs/src/components/ColorSwatch.astro +20 -0
- package/dist/docs/src/components/ComponentTabs.astro +21 -0
- package/dist/docs/src/components/DocsFooter.astro +25 -0
- package/dist/docs/src/components/HelpOptions.astro +20 -0
- package/dist/docs/src/components/IconBrowser.astro +257 -0
- package/dist/docs/src/components/IconDemo.astro +185 -0
- package/dist/docs/src/components/InDevelopment.astro +29 -0
- package/dist/docs/src/components/LayoutDemo.astro +384 -0
- package/dist/docs/src/components/Logo.astro +25 -0
- package/dist/docs/src/components/PhaseTable.astro +22 -0
- package/dist/docs/src/components/RoleGuides.astro +48 -0
- package/dist/docs/src/components/ShapeDemo.astro +239 -0
- package/dist/docs/src/components/ShapePin.astro +22 -0
- package/dist/docs/src/components/Sidebar.astro +206 -0
- package/dist/docs/src/components/SiteHeader.astro +211 -0
- package/dist/docs/src/components/SpacingDemo.astro +172 -0
- package/dist/docs/src/components/StatusBadge.astro +22 -0
- package/dist/docs/src/components/SystemAreas.astro +29 -0
- package/dist/docs/src/components/TableOfContents.astro +47 -0
- package/dist/docs/src/components/TokenTable.astro +40 -0
- package/dist/docs/src/components/TypeDemo.astro +249 -0
- package/dist/docs/src/components/logos/Fig.astro +28 -0
- package/dist/docs/src/components/logos/LogoAnatomy.astro +101 -0
- package/dist/docs/src/components/logos/LogoClearSpace.astro +81 -0
- package/dist/docs/src/components/logos/LogoColourVersions.astro +45 -0
- package/dist/docs/src/components/logos/LogoConstruction.astro +84 -0
- package/dist/docs/src/components/logos/LogoContainer.astro +84 -0
- package/dist/docs/src/components/logos/LogoHero.astro +42 -0
- package/dist/docs/src/components/logos/LogoInUse.astro +197 -0
- package/dist/docs/src/components/logos/LogoMeanings.astro +75 -0
- package/dist/docs/src/components/logos/LogoMinSize.astro +55 -0
- package/dist/docs/src/components/logos/LogoMistakes.astro +109 -0
- package/dist/docs/src/components/logos/LogoMisuse.astro +96 -0
- package/dist/docs/src/components/logos/LogoPair.astro +26 -0
- package/dist/docs/src/components/logos/LogoSvg.astro +68 -0
- package/dist/docs/src/content/components/button/accessibility.mdx +18 -0
- package/dist/docs/src/content/components/button/changelog.mdx +6 -0
- package/dist/docs/src/content/components/button/code.mdx +27 -0
- package/dist/docs/src/content/components/button/examples.mdx +21 -0
- package/dist/docs/src/content/components/button/meta.json +5 -0
- package/dist/docs/src/content/components/button/usage.mdx +18 -0
- package/dist/docs/src/content/foundations/guidelines/accessibility.mdx +19 -0
- package/dist/docs/src/content/foundations/guidelines/content.mdx +25 -0
- package/dist/docs/src/content/foundations/index.mdx +9 -0
- package/dist/docs/src/content/foundations/styles/border.mdx +89 -0
- package/dist/docs/src/content/foundations/styles/color/accessibility.mdx +32 -0
- package/dist/docs/src/content/foundations/styles/color/dark-mode.mdx +22 -0
- package/dist/docs/src/content/foundations/styles/color/index.mdx +65 -0
- package/dist/docs/src/content/foundations/styles/color/palette.mdx +57 -0
- package/dist/docs/src/content/foundations/styles/color/tokens.mdx +55 -0
- package/dist/docs/src/content/foundations/styles/color/usage.mdx +111 -0
- package/dist/docs/src/content/foundations/styles/data-visualization.mdx +11 -0
- package/dist/docs/src/content/foundations/styles/elevation.mdx +12 -0
- package/dist/docs/src/content/foundations/styles/icons/accessibility.mdx +72 -0
- package/dist/docs/src/content/foundations/styles/icons/code.mdx +171 -0
- package/dist/docs/src/content/foundations/styles/icons/index.mdx +62 -0
- package/dist/docs/src/content/foundations/styles/icons/library.mdx +19 -0
- package/dist/docs/src/content/foundations/styles/icons/usage.mdx +100 -0
- package/dist/docs/src/content/foundations/styles/illustration.mdx +9 -0
- package/dist/docs/src/content/foundations/styles/interaction-states.mdx +49 -0
- package/dist/docs/src/content/foundations/styles/layout/app-frame.mdx +81 -0
- package/dist/docs/src/content/foundations/styles/layout/breakpoints.mdx +56 -0
- package/dist/docs/src/content/foundations/styles/layout/grid.mdx +87 -0
- package/dist/docs/src/content/foundations/styles/layout/index.mdx +24 -0
- package/dist/docs/src/content/foundations/styles/layout/overlays.mdx +45 -0
- package/dist/docs/src/content/foundations/styles/layout/page-widths.mdx +38 -0
- package/dist/docs/src/content/foundations/styles/logos/downloads-and-terms.mdx +65 -0
- package/dist/docs/src/content/foundations/styles/logos/index.mdx +64 -0
- package/dist/docs/src/content/foundations/styles/logos/placement-and-containers.mdx +96 -0
- package/dist/docs/src/content/foundations/styles/logos/product-logos.mdx +56 -0
- package/dist/docs/src/content/foundations/styles/logos/using-the-logo.mdx +70 -0
- package/dist/docs/src/content/foundations/styles/motion.mdx +11 -0
- package/dist/docs/src/content/foundations/styles/opacity.mdx +9 -0
- package/dist/docs/src/content/foundations/styles/radius.mdx +98 -0
- package/dist/docs/src/content/foundations/styles/size-and-density.mdx +41 -0
- package/dist/docs/src/content/foundations/styles/spacing.mdx +70 -0
- package/dist/docs/src/content/foundations/styles/typography/code.mdx +53 -0
- package/dist/docs/src/content/foundations/styles/typography/index.mdx +58 -0
- package/dist/docs/src/content/foundations/styles/typography/usage.mdx +144 -0
- package/dist/docs/src/content/foundations/styles/typography/vietnamese.mdx +46 -0
- package/dist/docs/src/content/foundations/styles/z-index.mdx +9 -0
- package/dist/docs/src/content/foundations/tokens/all-tokens.mdx +36 -0
- package/dist/docs/src/content/foundations/tokens/index.mdx +27 -0
- package/dist/docs/src/content/get-started/content.mdx +14 -0
- package/dist/docs/src/content/get-started/design.mdx +30 -0
- package/dist/docs/src/content/get-started/develop.mdx +59 -0
- package/dist/docs/src/content/get-started/get-help.mdx +19 -0
- package/dist/docs/src/content/get-started/index.mdx +50 -0
- package/dist/docs/src/content/news/2026-10-16-site-structure.md +15 -0
- package/dist/docs/src/content/news/2026-10-20-docs-site.md +13 -0
- package/dist/docs/src/content/release-phases/index.mdx +12 -0
- package/dist/docs/src/content/tools/ai-agents.mdx +49 -0
- package/dist/docs/src/content/tools/ant-design-vue-theme.mdx +138 -0
- package/dist/docs/src/content/tools/eslint.mdx +15 -0
- package/dist/docs/src/content/tools/index.mdx +7 -0
- package/dist/docs/src/content/tools/stylelint.mdx +19 -0
- package/dist/docs/src/content-vi/foundations/styles/border.mdx +89 -0
- package/dist/docs/src/content-vi/foundations/styles/color/accessibility.mdx +32 -0
- package/dist/docs/src/content-vi/foundations/styles/color/dark-mode.mdx +22 -0
- package/dist/docs/src/content-vi/foundations/styles/color/index.mdx +65 -0
- package/dist/docs/src/content-vi/foundations/styles/color/palette.mdx +57 -0
- package/dist/docs/src/content-vi/foundations/styles/color/tokens.mdx +55 -0
- package/dist/docs/src/content-vi/foundations/styles/color/usage.mdx +111 -0
- package/dist/docs/src/content-vi/foundations/styles/data-visualization.mdx +11 -0
- package/dist/docs/src/content-vi/foundations/styles/icons/accessibility.mdx +72 -0
- package/dist/docs/src/content-vi/foundations/styles/icons/code.mdx +170 -0
- package/dist/docs/src/content-vi/foundations/styles/icons/index.mdx +62 -0
- package/dist/docs/src/content-vi/foundations/styles/icons/library.mdx +19 -0
- package/dist/docs/src/content-vi/foundations/styles/icons/usage.mdx +100 -0
- package/dist/docs/src/content-vi/foundations/styles/illustration.mdx +9 -0
- package/dist/docs/src/content-vi/foundations/styles/interaction-states.mdx +49 -0
- package/dist/docs/src/content-vi/foundations/styles/layout/app-frame.mdx +77 -0
- package/dist/docs/src/content-vi/foundations/styles/layout/breakpoints.mdx +56 -0
- package/dist/docs/src/content-vi/foundations/styles/layout/grid.mdx +87 -0
- package/dist/docs/src/content-vi/foundations/styles/layout/index.mdx +24 -0
- package/dist/docs/src/content-vi/foundations/styles/layout/page-widths.mdx +34 -0
- package/dist/docs/src/content-vi/foundations/styles/logos/downloads-and-terms.mdx +65 -0
- package/dist/docs/src/content-vi/foundations/styles/logos/index.mdx +64 -0
- package/dist/docs/src/content-vi/foundations/styles/logos/placement-and-containers.mdx +96 -0
- package/dist/docs/src/content-vi/foundations/styles/logos/product-logos.mdx +56 -0
- package/dist/docs/src/content-vi/foundations/styles/logos/using-the-logo.mdx +70 -0
- package/dist/docs/src/content-vi/foundations/styles/opacity.mdx +9 -0
- package/dist/docs/src/content-vi/foundations/styles/radius.mdx +98 -0
- package/dist/docs/src/content-vi/foundations/styles/size-and-density.mdx +41 -0
- package/dist/docs/src/content-vi/foundations/styles/spacing.mdx +70 -0
- package/dist/docs/src/content-vi/foundations/styles/typography/code.mdx +53 -0
- package/dist/docs/src/content-vi/foundations/styles/typography/index.mdx +58 -0
- package/dist/docs/src/content-vi/foundations/styles/typography/usage.mdx +144 -0
- package/dist/docs/src/content-vi/foundations/styles/typography/vietnamese.mdx +46 -0
- package/dist/docs/src/content-vi/foundations/styles/z-index.mdx +9 -0
- package/dist/docs/src/content.config.ts +68 -0
- package/dist/docs/src/lib/brand.ts +57 -0
- package/dist/docs/src/lib/contrast.ts +34 -0
- package/dist/docs/src/lib/i18n.ts +152 -0
- package/dist/docs/src/lib/icons.ts +46 -0
- package/dist/docs/src/lib/logo-geometry.ts +30 -0
- package/dist/docs/src/lib/lucide-categories.json +1 -0
- package/dist/docs/src/lib/lucide-data.ts +40 -0
- package/dist/docs/src/lib/navigation.ts +222 -0
- package/dist/docs/src/lib/release-phases.ts +10 -0
- package/dist/docs/src/lib/routes.ts +40 -0
- package/dist/docs/src/lib/token-descriptions-vi.ts +40 -0
- package/dist/docs/src/lib/tokens.ts +67 -0
- package/dist/docs/src/lib/tri-grid.ts +28 -0
- package/dist/docs/src/styles/chrome.css +122 -0
- package/dist/docs/src/styles/color.css +270 -0
- package/dist/docs/src/styles/docs.css +323 -0
- package/dist/docs/src/styles/global.css +66 -0
- package/dist/docs/src/styles/icons.css +135 -0
- package/dist/docs/src/styles/layout.css +165 -0
- package/dist/docs/src/styles/logos.css +236 -0
- package/dist/docs/src/styles/shapes.css +139 -0
- package/dist/docs/src/styles/tokens.css +461 -0
- package/dist/docs/src/styles/tokens.js +425 -0
- package/dist/docs/src/styles/typography.css +91 -0
- package/dist/docs/tokens/border.json +26 -0
- package/dist/docs/tokens/breakpoints.json +8 -0
- package/dist/docs/tokens/color.json +1350 -0
- package/dist/docs/tokens/elevation.json +26 -0
- package/dist/docs/tokens/layout.json +29 -0
- package/dist/docs/tokens/motion.json +12 -0
- package/dist/docs/tokens/radius.json +44 -0
- package/dist/docs/tokens/size.json +13 -0
- package/dist/docs/tokens/spacing.json +18 -0
- package/dist/docs/tokens/states.json +12 -0
- package/dist/docs/tokens/typography.json +220 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +1823 -0
- package/package.json +31 -4
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"elevation": {
|
|
3
|
+
"shadow": {
|
|
4
|
+
"raised": {
|
|
5
|
+
"$type": "shadow",
|
|
6
|
+
"$value": "0 1px 2px rgb(43 42 40 / 8%), 0 1px 3px rgb(43 42 40 / 6%)",
|
|
7
|
+
"$description": "Cards that sit on the page.",
|
|
8
|
+
"$extensions": {
|
|
9
|
+
"design.beehexa": {
|
|
10
|
+
"dark": "0 1px 2px rgb(0 0 0 / 40%), 0 1px 3px rgb(0 0 0 / 30%)"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"overlay": {
|
|
15
|
+
"$type": "shadow",
|
|
16
|
+
"$value": "0 24px 80px rgb(43 42 40 / 14%)",
|
|
17
|
+
"$description": "Dropdowns, popovers and dialogs.",
|
|
18
|
+
"$extensions": {
|
|
19
|
+
"design.beehexa": {
|
|
20
|
+
"dark": "0 24px 80px rgb(0 0 0 / 50%)"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"layout": {
|
|
3
|
+
"$description": "App-frame, page and data-inspection overlay contracts. See foundations/styles/layout pages; numeric framework APIs convert source rem at a 16px reference root.",
|
|
4
|
+
"header": {
|
|
5
|
+
"height": { "$type": "dimension", "$value": "{space.600}", "$description": "48px app header content height; the bottom border is separate. Global controls only; breadcrumbs and page actions belong to the page header." }
|
|
6
|
+
},
|
|
7
|
+
"sidebar": {
|
|
8
|
+
"expanded": { "$type": "dimension", "$value": "17.5rem", "$description": "280px expanded app navigation; below breakpoint.lg it appears in a drawer, not a permanent sider." },
|
|
9
|
+
"collapsed": { "$type": "dimension", "$value": "{space.800}", "$description": "64px navigation rail after an explicit user collapse. Preserve accessible labels and tooltips." }
|
|
10
|
+
},
|
|
11
|
+
"page": {
|
|
12
|
+
"narrow": { "$type": "dimension", "$value": "48rem", "$description": "768px maximum content width for forms, wizard steps, help and documentation; page margins are outside this cap." },
|
|
13
|
+
"wide": { "$type": "dimension", "$value": "80rem", "$description": "1280px maximum content width for dashboards, details and settings overviews. Tables, logs, builders and canvases use Full without a cap." },
|
|
14
|
+
"margin": {
|
|
15
|
+
"small": { "$type": "dimension", "$value": "{space.200}", "$description": "16px page margin below breakpoint.md." },
|
|
16
|
+
"medium": { "$type": "dimension", "$value": "{space.300}", "$description": "24px page margin from breakpoint.md to below breakpoint.xl." },
|
|
17
|
+
"large": { "$type": "dimension", "$value": "{space.400}", "$description": "32px page margin from breakpoint.xl." }
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"overlay": {
|
|
21
|
+
"default": { "$type": "dimension", "$value": "max(50vw, 900px)", "$description": "Default desktop width for a data-inspection overlay, from breakpoint.lg. Use the mobile role below breakpoint.lg. Not a default for small confirmation dialogs." },
|
|
22
|
+
"wide": { "$type": "dimension", "$value": "70vw", "$description": "Explicit wide data-inspection variant when its content needs it, from breakpoint.lg. Never a blanket override of all drawers." },
|
|
23
|
+
"mobile": { "$type": "dimension", "$value": "100vw", "$description": "Full available viewport width for data-inspection overlays below breakpoint.lg; content and actions must reflow." }
|
|
24
|
+
},
|
|
25
|
+
"description": {
|
|
26
|
+
"minimum": { "$type": "dimension", "$value": "12.5rem", "$description": "200px nominal minimum description-column width in desktop structured data inspection. Below the available inline budget, stack content instead of forcing horizontal overflow." }
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"motion": {
|
|
3
|
+
"duration": {
|
|
4
|
+
"fast": { "$type": "duration", "$value": "100ms", "$description": "Hover and press feedback." },
|
|
5
|
+
"default": { "$type": "duration", "$value": "200ms", "$description": "Opening small surfaces." },
|
|
6
|
+
"slow": { "$type": "duration", "$value": "300ms", "$description": "Opening dialogs and drawers." }
|
|
7
|
+
},
|
|
8
|
+
"easing": {
|
|
9
|
+
"standard": { "$type": "cubicBezier", "$value": "cubic-bezier(0.2, 0, 0, 1)", "$description": "Most transitions." }
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"radius": {
|
|
3
|
+
"0": {
|
|
4
|
+
"$type": "dimension",
|
|
5
|
+
"$value": "0",
|
|
6
|
+
"$description": "0. Edges that touch the screen, full-width tables and the page header."
|
|
7
|
+
},
|
|
8
|
+
"025": {
|
|
9
|
+
"$type": "dimension",
|
|
10
|
+
"$value": "0.125rem",
|
|
11
|
+
"$description": "2 px. A part inside a control, 6 px from its edge."
|
|
12
|
+
},
|
|
13
|
+
"050": {
|
|
14
|
+
"$type": "dimension",
|
|
15
|
+
"$value": "0.25rem",
|
|
16
|
+
"$description": "4 px. Checkboxes, tags, badges and menu items; a part inside a control, 4 px from its edge."
|
|
17
|
+
},
|
|
18
|
+
"075": {
|
|
19
|
+
"$type": "dimension",
|
|
20
|
+
"$value": "0.375rem",
|
|
21
|
+
"$description": "6 px. No component by default. Use only when the nesting rule gives 6 px."
|
|
22
|
+
},
|
|
23
|
+
"100": {
|
|
24
|
+
"$type": "dimension",
|
|
25
|
+
"$value": "0.5rem",
|
|
26
|
+
"$description": "8 px. Buttons, inputs, selects, menus, popovers, tooltips and alerts."
|
|
27
|
+
},
|
|
28
|
+
"150": {
|
|
29
|
+
"$type": "dimension",
|
|
30
|
+
"$value": "0.75rem",
|
|
31
|
+
"$description": "12 px. Cards, and groups of controls with 4 px padding."
|
|
32
|
+
},
|
|
33
|
+
"200": {
|
|
34
|
+
"$type": "dimension",
|
|
35
|
+
"$value": "1rem",
|
|
36
|
+
"$description": "16 px. Dialogs and drawers, and groups of controls with 8 px padding."
|
|
37
|
+
},
|
|
38
|
+
"full": {
|
|
39
|
+
"$type": "dimension",
|
|
40
|
+
"$value": "999px",
|
|
41
|
+
"$description": "Pill and circle. Avatars, switches and pill-shaped chips."
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"size": {
|
|
3
|
+
"control": {
|
|
4
|
+
"small": { "$type": "dimension", "$value": "1.5rem", "$description": "24 px. Height of small controls: dense tables and their toolbars, filters, tags. Side padding space.100." },
|
|
5
|
+
"default": { "$type": "dimension", "$value": "2rem", "$description": "32 px. Height of buttons, text fields, selects, segmented controls and tabs everywhere else: forms, the header, toolbars. Side padding space.150." },
|
|
6
|
+
"large": { "$type": "dimension", "$value": "2.5rem", "$description": "40 px. Height of controls on sign-in and onboarding pages. Optional for the main action on touch screens." }
|
|
7
|
+
},
|
|
8
|
+
"target": {
|
|
9
|
+
"minimum": { "$type": "dimension", "$value": "1.5rem", "$description": "24 px. Smallest area that responds to a click or tap (WCAG 2.2 SC 2.5.8). Every control and icon button is at least this size." },
|
|
10
|
+
"touch": { "$type": "dimension", "$value": "2.75rem", "$description": "44 px. Area that responds to a tap on touch screens. Extend the hit area around a smaller control; its visible height stays the same." }
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"space": {
|
|
3
|
+
"0": { "$type": "dimension", "$value": "0", "$description": "0. Joined items, such as the buttons of a segmented group." },
|
|
4
|
+
"025": { "$type": "dimension", "$value": "0.125rem", "$description": "2 px. A badge on an icon, a status dot beside text. Never between controls or as padding." },
|
|
5
|
+
"050": { "$type": "dimension", "$value": "0.25rem", "$description": "4 px. Between an icon and 14 px text; between a title and its description." },
|
|
6
|
+
"075": { "$type": "dimension", "$value": "0.375rem", "$description": "6 px. Inside components only: above and below the label of a 32 px control, and the sides of a tooltip. Never for layout, sections or card padding." },
|
|
7
|
+
"100": { "$type": "dimension", "$value": "0.5rem", "$description": "8 px. Between an icon and 16 px text; between buttons; between a label and its field; side padding of 24 px controls." },
|
|
8
|
+
"150": { "$type": "dimension", "$value": "0.75rem", "$description": "12 px. Side padding of 32 px controls, such as text fields and buttons." },
|
|
9
|
+
"200": { "$type": "dimension", "$value": "1rem", "$description": "16 px. Between related items: fields, list items, cards. Page margin and grid gutter below 768 px." },
|
|
10
|
+
"250": { "$type": "dimension", "$value": "1.25rem", "$description": "20 px. Between a section heading and its content. The edge of the logo and the side navigation icons." },
|
|
11
|
+
"300": { "$type": "dimension", "$value": "1.5rem", "$description": "24 px. Inside cards, panels and dialogs. Page margin and grid gutter from 768 px." },
|
|
12
|
+
"400": { "$type": "dimension", "$value": "2rem", "$description": "32 px. Between groups, such as form sections. Page margin from 1440 px." },
|
|
13
|
+
"500": { "$type": "dimension", "$value": "2.5rem", "$description": "40 px. Around empty states." },
|
|
14
|
+
"600": { "$type": "dimension", "$value": "3rem", "$description": "48 px. Between page sections." },
|
|
15
|
+
"800": { "$type": "dimension", "$value": "4rem", "$description": "64 px. Between the major sections of a long page. The width of the collapsed side navigation." },
|
|
16
|
+
"1000": { "$type": "dimension", "$value": "5rem", "$description": "80 px. Top and bottom of sign-in and onboarding pages. Use rarely." }
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"state": {
|
|
3
|
+
"$description": "Interaction states. Every colour for a state is a role token: color.*.hover, color.*.pressed, color.background.selected, color.*.disabled and color.border.focus. The focus ring width is border.width.focused; this group holds only the gap between a control and its ring.",
|
|
4
|
+
"focus": {
|
|
5
|
+
"offset": {
|
|
6
|
+
"$type": "dimension",
|
|
7
|
+
"$value": "2px",
|
|
8
|
+
"$description": "2 px. Gap between a control and its focus ring. The ring is drawn outside; inside a box that clips it (menu items, table cells, tabs in a scroll area) use the negative value."
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
{
|
|
2
|
+
"font": {
|
|
3
|
+
"family": {
|
|
4
|
+
"sans": {
|
|
5
|
+
"$type": "fontFamily",
|
|
6
|
+
"$value": "Inter, \"Noto Sans\", system-ui, sans-serif",
|
|
7
|
+
"$description": "All interface and reading text. Noto Sans is the fallback: it covers Vietnamese and ₫ and is close to Inter in size."
|
|
8
|
+
},
|
|
9
|
+
"mono": {
|
|
10
|
+
"$type": "fontFamily",
|
|
11
|
+
"$value": "\"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",
|
|
12
|
+
"$description": "Code, IDs, keys and token names."
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"size": {
|
|
16
|
+
"100": {
|
|
17
|
+
"$type": "dimension",
|
|
18
|
+
"$value": "0.75rem",
|
|
19
|
+
"$description": "12 px. Small body, small labels, captions."
|
|
20
|
+
},
|
|
21
|
+
"200": {
|
|
22
|
+
"$type": "dimension",
|
|
23
|
+
"$value": "0.875rem",
|
|
24
|
+
"$description": "14 px. Default UI text, labels, code, smallest heading."
|
|
25
|
+
},
|
|
26
|
+
"300": {
|
|
27
|
+
"$type": "dimension",
|
|
28
|
+
"$value": "1rem",
|
|
29
|
+
"$description": "16 px. Reading text, card titles."
|
|
30
|
+
},
|
|
31
|
+
"400": {
|
|
32
|
+
"$type": "dimension",
|
|
33
|
+
"$value": "1.25rem",
|
|
34
|
+
"$description": "20 px. Section headings."
|
|
35
|
+
},
|
|
36
|
+
"500": {
|
|
37
|
+
"$type": "dimension",
|
|
38
|
+
"$value": "1.5rem",
|
|
39
|
+
"$description": "24 px. Page titles."
|
|
40
|
+
},
|
|
41
|
+
"600": {
|
|
42
|
+
"$type": "dimension",
|
|
43
|
+
"$value": "2rem",
|
|
44
|
+
"$description": "32 px. Large titles."
|
|
45
|
+
},
|
|
46
|
+
"700": {
|
|
47
|
+
"$type": "dimension",
|
|
48
|
+
"$value": "3rem",
|
|
49
|
+
"$description": "48 px. Display, marketing only."
|
|
50
|
+
},
|
|
51
|
+
"800": {
|
|
52
|
+
"$type": "dimension",
|
|
53
|
+
"$value": "3.75rem",
|
|
54
|
+
"$description": "60 px. Display, marketing only."
|
|
55
|
+
},
|
|
56
|
+
"900": {
|
|
57
|
+
"$type": "dimension",
|
|
58
|
+
"$value": "4.5rem",
|
|
59
|
+
"$description": "72 px. Display, marketing only."
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"weight": {
|
|
63
|
+
"regular": {
|
|
64
|
+
"$type": "fontWeight",
|
|
65
|
+
"$value": "400",
|
|
66
|
+
"$description": "Body text."
|
|
67
|
+
},
|
|
68
|
+
"medium": {
|
|
69
|
+
"$type": "fontWeight",
|
|
70
|
+
"$value": "500",
|
|
71
|
+
"$description": "Labels: buttons, form labels, tabs, menu items."
|
|
72
|
+
},
|
|
73
|
+
"semibold": {
|
|
74
|
+
"$type": "fontWeight",
|
|
75
|
+
"$value": "600",
|
|
76
|
+
"$description": "Headings."
|
|
77
|
+
},
|
|
78
|
+
"bold": {
|
|
79
|
+
"$type": "fontWeight",
|
|
80
|
+
"$value": "700",
|
|
81
|
+
"$description": "Display text only."
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"display": {
|
|
85
|
+
"large": {
|
|
86
|
+
"$type": "font",
|
|
87
|
+
"$value": "{font.weight.bold} {font.size.900}/5rem {font.family.sans}",
|
|
88
|
+
"$description": "72/80. Marketing hero. Below 768 px, use display.small. Vietnamese: 72/108.",
|
|
89
|
+
"$extensions": {
|
|
90
|
+
"design.beehexa": {
|
|
91
|
+
"vi": "{font.weight.bold} {font.size.900}/6.75rem {font.family.sans}"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"medium": {
|
|
96
|
+
"$type": "font",
|
|
97
|
+
"$value": "{font.weight.bold} {font.size.800}/4.25rem {font.family.sans}",
|
|
98
|
+
"$description": "60/68. Marketing section opener. Below 768 px, use display.small. Vietnamese: 60/88.",
|
|
99
|
+
"$extensions": {
|
|
100
|
+
"design.beehexa": {
|
|
101
|
+
"vi": "{font.weight.bold} {font.size.800}/5.5rem {font.family.sans}"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"small": {
|
|
106
|
+
"$type": "font",
|
|
107
|
+
"$value": "{font.weight.bold} {font.size.700}/3.5rem {font.family.sans}",
|
|
108
|
+
"$description": "48/56. Marketing headline. Below 768 px, use heading.xlarge. Vietnamese: 48/72.",
|
|
109
|
+
"$extensions": {
|
|
110
|
+
"design.beehexa": {
|
|
111
|
+
"vi": "{font.weight.bold} {font.size.700}/4.5rem {font.family.sans}"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"heading": {
|
|
117
|
+
"xlarge": {
|
|
118
|
+
"$type": "font",
|
|
119
|
+
"$value": "{font.weight.semibold} {font.size.600}/2.5rem {font.family.sans}",
|
|
120
|
+
"$description": "32/40. Large title: empty states, onboarding, docs and landing sections. Vietnamese: 32/48.",
|
|
121
|
+
"$extensions": {
|
|
122
|
+
"design.beehexa": {
|
|
123
|
+
"vi": "{font.weight.semibold} {font.size.600}/3rem {font.family.sans}"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"large": {
|
|
128
|
+
"$type": "font",
|
|
129
|
+
"$value": "{font.weight.semibold} {font.size.500}/2rem {font.family.sans}",
|
|
130
|
+
"$description": "24/32. Page title, one per page. Vietnamese: 24/40.",
|
|
131
|
+
"$extensions": {
|
|
132
|
+
"design.beehexa": {
|
|
133
|
+
"vi": "{font.weight.semibold} {font.size.500}/2.5rem {font.family.sans}"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"medium": {
|
|
138
|
+
"$type": "font",
|
|
139
|
+
"$value": "{font.weight.semibold} {font.size.400}/1.75rem {font.family.sans}",
|
|
140
|
+
"$description": "20/28. Section and dialog titles. Vietnamese: 20/32.",
|
|
141
|
+
"$extensions": {
|
|
142
|
+
"design.beehexa": {
|
|
143
|
+
"vi": "{font.weight.semibold} {font.size.400}/2rem {font.family.sans}"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"small": {
|
|
148
|
+
"$type": "font",
|
|
149
|
+
"$value": "{font.weight.semibold} {font.size.300}/1.5rem {font.family.sans}",
|
|
150
|
+
"$description": "16/24. Card, panel and drawer titles. Vietnamese: same line height."
|
|
151
|
+
},
|
|
152
|
+
"xsmall": {
|
|
153
|
+
"$type": "font",
|
|
154
|
+
"$value": "{font.weight.semibold} {font.size.200}/1.25rem {font.family.sans}",
|
|
155
|
+
"$description": "14/20. Group titles in forms, lists and menus; banner titles. Vietnamese: 14/24.",
|
|
156
|
+
"$extensions": {
|
|
157
|
+
"design.beehexa": {
|
|
158
|
+
"vi": "{font.weight.semibold} {font.size.200}/1.5rem {font.family.sans}"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"body": {
|
|
164
|
+
"large": {
|
|
165
|
+
"$type": "font",
|
|
166
|
+
"$value": "{font.weight.regular} {font.size.300}/1.5rem {font.family.sans}",
|
|
167
|
+
"$description": "16/24. Reading text: descriptions, help, documents, email. Vietnamese: same line height."
|
|
168
|
+
},
|
|
169
|
+
"default": {
|
|
170
|
+
"$type": "font",
|
|
171
|
+
"$value": "{font.weight.regular} {font.size.200}/1.25rem {font.family.sans}",
|
|
172
|
+
"$description": "14/20. Default UI text: table cells, inputs, messages. Vietnamese: 14/24.",
|
|
173
|
+
"$extensions": {
|
|
174
|
+
"design.beehexa": {
|
|
175
|
+
"vi": "{font.weight.regular} {font.size.200}/1.5rem {font.family.sans}"
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"small": {
|
|
180
|
+
"$type": "font",
|
|
181
|
+
"$value": "{font.weight.regular} {font.size.100}/1rem {font.family.sans}",
|
|
182
|
+
"$description": "12/16. Secondary text: helper text, meta, timestamps, tooltips. Vietnamese: 12/20.",
|
|
183
|
+
"$extensions": {
|
|
184
|
+
"design.beehexa": {
|
|
185
|
+
"vi": "{font.weight.regular} {font.size.100}/1.25rem {font.family.sans}"
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"label": {
|
|
191
|
+
"default": {
|
|
192
|
+
"$type": "font",
|
|
193
|
+
"$value": "{font.weight.medium} {font.size.200}/1.25rem {font.family.sans}",
|
|
194
|
+
"$description": "14/20. Buttons, form labels, tabs, menu and nav items. Vietnamese: 14/24.",
|
|
195
|
+
"$extensions": {
|
|
196
|
+
"design.beehexa": {
|
|
197
|
+
"vi": "{font.weight.medium} {font.size.200}/1.5rem {font.family.sans}"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"small": {
|
|
202
|
+
"$type": "font",
|
|
203
|
+
"$value": "{font.weight.medium} {font.size.100}/1rem {font.family.sans}",
|
|
204
|
+
"$description": "12/16. Badges, tags, small buttons, table headers. Vietnamese: 12/20.",
|
|
205
|
+
"$extensions": {
|
|
206
|
+
"design.beehexa": {
|
|
207
|
+
"vi": "{font.weight.medium} {font.size.100}/1.25rem {font.family.sans}"
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"code": {
|
|
213
|
+
"default": {
|
|
214
|
+
"$type": "font",
|
|
215
|
+
"$value": "{font.weight.regular} {font.size.200}/1.25rem {font.family.mono}",
|
|
216
|
+
"$description": "14/20. Code blocks, IDs, keys, JSON. Same size as body.default: JetBrains Mono and Inter have the same x-height. Vietnamese: same line height."
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface RuleDocument {
|
|
2
|
+
readonly id: string;
|
|
3
|
+
readonly path: string;
|
|
4
|
+
readonly documentPath: string;
|
|
5
|
+
readonly locale: 'en' | 'vi';
|
|
6
|
+
readonly kind: 'guidance' | 'news' | 'reference';
|
|
7
|
+
readonly title: string;
|
|
8
|
+
/** Authored guidance, not a release/GA claim, or an explicitly unfinished source stub. */
|
|
9
|
+
readonly status: 'active' | 'planned';
|
|
10
|
+
readonly releasePhase: string | null;
|
|
11
|
+
readonly planned: readonly string[];
|
|
12
|
+
readonly body: string;
|
|
13
|
+
readonly raw: string;
|
|
14
|
+
readonly frontmatter: Readonly<Record<string, unknown>>;
|
|
15
|
+
}
|
|
16
|
+
export declare const catalog: readonly RuleDocument[];
|
|
17
|
+
export declare function listRules(): readonly RuleDocument[];
|
|
18
|
+
export declare function readRule(id: string): RuleDocument | undefined;
|
|
19
|
+
export declare function searchRules(query: string): readonly RuleDocument[];
|