@loworbitstudio/visor 0.1.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2056,7 +2056,7 @@
2056
2056
  "name": "page-header",
2057
2057
  "type": "registry:ui",
2058
2058
  "description": "An admin page header compound with eyebrow, title, description, breadcrumb slot, and actions slot. Uses container queries for responsive collapse.",
2059
- "category": "admin",
2059
+ "category": "navigation",
2060
2060
  "dependencies": [
2061
2061
  "class-variance-authority",
2062
2062
  "@loworbitstudio/visor-core"
@@ -2132,6 +2132,7 @@
2132
2132
  "name": "use-media-query",
2133
2133
  "type": "registry:hook",
2134
2134
  "description": "SSR-safe hook that returns whether a CSS media query matches.",
2135
+ "category": "hooks",
2135
2136
  "files": [
2136
2137
  {
2137
2138
  "path": "hooks/use-media-query.ts",
@@ -3081,16 +3082,6 @@
3081
3082
  "type": "registry:block",
3082
3083
  "content": "import { Slide } from \"../../../components/deck/slide/slide\"\nimport { Text } from \"../../../components/ui/text/text\"\nimport styles from \"./slides.module.css\"\n\nexport function TitleSlide() {\n return (\n <Slide id=\"s-title\" center>\n <div className={styles.titleSlideContent}>\n <Text size=\"sm\" color=\"secondary\" weight=\"medium\" as=\"div\" className={styles.titleSlideLabel}>\n Design System\n </Text>\n <h1 className={styles.titleSlideHeading}>Visor</h1>\n <Text size=\"lg\" color=\"secondary\" as=\"p\" className={styles.titleSlideDescription}>\n A theme-agnostic component system built on CSS custom properties.\n Tokens adapt. Components follow.\n </Text>\n </div>\n </Slide>\n )\n}\n"
3083
3084
  },
3084
- {
3085
- "path": "blocks/design-system-deck/slides/gray-scale-slide.tsx",
3086
- "type": "registry:block",
3087
- "content": ""
3088
- },
3089
- {
3090
- "path": "blocks/design-system-deck/slides/accent-palette-slide.tsx",
3091
- "type": "registry:block",
3092
- "content": ""
3093
- },
3094
3085
  {
3095
3086
  "path": "blocks/design-system-deck/slides/semantic-tokens-slide.tsx",
3096
3087
  "type": "registry:block",
@@ -3160,6 +3151,21 @@
3160
3151
  "path": "blocks/design-system-deck/slides/closing-slide.tsx",
3161
3152
  "type": "registry:block",
3162
3153
  "content": "import { Slide } from \"../../../components/deck/slide/slide\"\nimport { Text } from \"../../../components/ui/text/text\"\nimport styles from \"./slides.module.css\"\n\nexport function ClosingSlide() {\n return (\n <Slide id=\"s-closing\" center>\n <div className={styles.titleSlideContent}>\n <Text size=\"sm\" color=\"secondary\" weight=\"medium\" as=\"div\" className={styles.titleSlideLabel}>\n Visor Design System\n </Text>\n <h2 className={styles.closingHeading}>Start Building</h2>\n <Text size=\"lg\" color=\"secondary\" as=\"p\" className={styles.titleSlideDescription}>\n Install components with the registry CLI. Tokens ship via npm.\n Themes are just CSS.\n </Text>\n <div className={styles.closingLinks}>\n <code className={styles.closingCode}>npx visor add button</code>\n <code className={styles.closingCode}>npm i @loworbitstudio/visor-core</code>\n </div>\n </div>\n </Slide>\n )\n}\n"
3154
+ },
3155
+ {
3156
+ "path": "blocks/design-system-deck/slides/spacing-slide.tsx",
3157
+ "type": "registry:block",
3158
+ "content": "import { Slide } from \"../../../components/deck/slide/slide\"\nimport { SlideHeader } from \"../../../components/deck/slide-header/slide-header\"\nimport { SpacingScale } from \"../../../components/ui/spacing-scale/spacing-scale\"\nimport { SPACING_STEPS } from \"../../design-system-specimen/specimen-data\"\n\nexport function SpacingSlide() {\n return (\n <Slide id=\"s-spacing\">\n <SlideHeader\n subtitle=\"Foundation\"\n title=\"Spacing\"\n description=\"4px-based spacing scale for consistent rhythm across all components.\"\n />\n\n <SpacingScale steps={SPACING_STEPS} />\n </Slide>\n )\n}\n"
3159
+ },
3160
+ {
3161
+ "path": "blocks/design-system-deck/slides/status-colors-slide.tsx",
3162
+ "type": "registry:block",
3163
+ "content": "import { Slide } from \"../../../components/deck/slide/slide\"\nimport { SlideHeader } from \"../../../components/deck/slide-header/slide-header\"\nimport { ColorSwatchGrid } from \"../../../components/ui/color-swatch/color-swatch\"\nimport { STATUS_COLOR_SCALES } from \"../../design-system-specimen/specimen-data\"\nimport styles from \"./slides.module.css\"\n\nexport function StatusColorsSlide() {\n return (\n <Slide id=\"s-status-colors\">\n <SlideHeader\n subtitle=\"Foundation\"\n title=\"Status Colors\"\n description=\"Success, warning, error, and info — semantic color scales for system feedback.\"\n />\n\n <div className={styles.statusGrid}>\n {STATUS_COLOR_SCALES.map((scale) => (\n <ColorSwatchGrid\n key={scale.name}\n label={scale.role}\n size=\"sm\"\n swatches={scale.swatches.map((s) => ({\n token: s.token,\n hex: s.hex,\n name: s.name,\n lightText: s.lightText,\n }))}\n />\n ))}\n </div>\n </Slide>\n )\n}\n"
3164
+ },
3165
+ {
3166
+ "path": "blocks/design-system-deck/slides/theme-colors-slide.tsx",
3167
+ "type": "registry:block",
3168
+ "content": "\"use client\"\n\nimport { Slide } from \"../../../components/deck/slide/slide\"\nimport { SlideHeader } from \"../../../components/deck/slide-header/slide-header\"\nimport { ColorSwatchGrid } from \"../../../components/ui/color-swatch/color-swatch\"\nimport { ColorBar } from \"../../../components/ui/color-bar/color-bar\"\nimport { THEME_COLOR_SCALES } from \"../../design-system-specimen/specimen-data\"\nimport styles from \"./slides.module.css\"\n\nexport function ThemeColorsSlide() {\n return (\n <Slide id=\"s-theme-colors\">\n <SlideHeader\n subtitle=\"Foundation\"\n title=\"Theme Colors\"\n description=\"Primary and neutral scales — fully theme-aware and responsive to the active theme.\"\n />\n\n <div className={styles.content}>\n {THEME_COLOR_SCALES.map((scale) => (\n <div key={scale.name} className={styles.themeScaleGroup}>\n {scale.brandToken && (\n <ColorBar token={scale.brandToken} label=\"Brand Color\" />\n )}\n <ColorSwatchGrid\n label={scale.name}\n size=\"lg\"\n swatches={scale.swatches.map((s) => ({\n token: s.token,\n hex: s.hex,\n name: s.name,\n lightText: s.lightText,\n dynamic: s.dynamic,\n }))}\n />\n </div>\n ))}\n </div>\n </Slide>\n )\n}\n"
3163
3169
  }
3164
3170
  ]
3165
3171
  },