rizzo-css 0.0.84 → 0.0.85

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.
Files changed (72) hide show
  1. package/README.md +1 -1
  2. package/bin/rizzo-css.js +5 -1
  3. package/package.json +1 -1
  4. package/scaffold/react/base/package.json +1 -1
  5. package/scaffold/react/variants/full/package.json +1 -1
  6. package/scaffold/react/variants/full/src/config/componentCategories.ts +2 -2
  7. package/scaffold/svelte/variants/full/README-RIZZO.md +4 -0
  8. package/scaffold/svelte/variants/full/src/config/componentCategories.ts +2 -2
  9. package/scaffold/vanilla/README-RIZZO.md +1 -1
  10. package/scaffold/vanilla/components/accordion.html +2 -0
  11. package/scaffold/vanilla/components/alert-dialog.html +2 -0
  12. package/scaffold/vanilla/components/alert.html +2 -0
  13. package/scaffold/vanilla/components/aspect-ratio.html +2 -0
  14. package/scaffold/vanilla/components/avatar.html +2 -0
  15. package/scaffold/vanilla/components/back-to-top.html +2 -0
  16. package/scaffold/vanilla/components/badge.html +2 -0
  17. package/scaffold/vanilla/components/breadcrumb.html +2 -0
  18. package/scaffold/vanilla/components/button-group.html +2 -0
  19. package/scaffold/vanilla/components/button.html +2 -0
  20. package/scaffold/vanilla/components/calendar.html +2 -0
  21. package/scaffold/vanilla/components/cards.html +2 -0
  22. package/scaffold/vanilla/components/carousel.html +2 -0
  23. package/scaffold/vanilla/components/chart.html +2 -0
  24. package/scaffold/vanilla/components/collapsible.html +2 -0
  25. package/scaffold/vanilla/components/command.html +2 -0
  26. package/scaffold/vanilla/components/context-menu.html +2 -0
  27. package/scaffold/vanilla/components/copy-to-clipboard.html +2 -0
  28. package/scaffold/vanilla/components/dashboard.html +2 -0
  29. package/scaffold/vanilla/components/direction.html +2 -0
  30. package/scaffold/vanilla/components/divider.html +2 -0
  31. package/scaffold/vanilla/components/docs-sidebar.html +2 -0
  32. package/scaffold/vanilla/components/dropdown.html +2 -0
  33. package/scaffold/vanilla/components/empty.html +2 -0
  34. package/scaffold/vanilla/components/font-switcher.html +2 -0
  35. package/scaffold/vanilla/components/footer.html +2 -0
  36. package/scaffold/vanilla/components/forms.html +2 -0
  37. package/scaffold/vanilla/components/hover-card.html +2 -0
  38. package/scaffold/vanilla/components/icons.html +2 -0
  39. package/scaffold/vanilla/components/index.html +2 -0
  40. package/scaffold/vanilla/components/input-group.html +2 -0
  41. package/scaffold/vanilla/components/input-otp.html +2 -0
  42. package/scaffold/vanilla/components/kbd.html +2 -0
  43. package/scaffold/vanilla/components/label.html +2 -0
  44. package/scaffold/vanilla/components/menubar.html +2 -0
  45. package/scaffold/vanilla/components/modal.html +2 -0
  46. package/scaffold/vanilla/components/navbar.html +2 -0
  47. package/scaffold/vanilla/components/pagination.html +2 -0
  48. package/scaffold/vanilla/components/popover.html +2 -0
  49. package/scaffold/vanilla/components/progress-bar.html +2 -0
  50. package/scaffold/vanilla/components/range-calendar.html +2 -0
  51. package/scaffold/vanilla/components/resizable.html +2 -0
  52. package/scaffold/vanilla/components/scroll-area.html +2 -0
  53. package/scaffold/vanilla/components/search.html +2 -0
  54. package/scaffold/vanilla/components/separator.html +2 -0
  55. package/scaffold/vanilla/components/settings.html +2 -0
  56. package/scaffold/vanilla/components/sheet.html +2 -0
  57. package/scaffold/vanilla/components/skeleton.html +2 -0
  58. package/scaffold/vanilla/components/slider.html +2 -0
  59. package/scaffold/vanilla/components/sound-effects.html +2 -0
  60. package/scaffold/vanilla/components/spinner.html +2 -0
  61. package/scaffold/vanilla/components/switch.html +2 -0
  62. package/scaffold/vanilla/components/table.html +2 -0
  63. package/scaffold/vanilla/components/tabs.html +2 -0
  64. package/scaffold/vanilla/components/theme-switcher.html +2 -0
  65. package/scaffold/vanilla/components/toast.html +2 -0
  66. package/scaffold/vanilla/components/toggle-group.html +2 -0
  67. package/scaffold/vanilla/components/toggle.html +2 -0
  68. package/scaffold/vanilla/components/tooltip.html +2 -0
  69. package/scaffold/vanilla/index.html +2 -0
  70. package/scaffold/vue/base/package.json +1 -1
  71. package/scaffold/vue/variants/full/package.json +1 -1
  72. package/scaffold/vue/variants/full/src/config/componentCategories.ts +2 -2
package/README.md CHANGED
@@ -72,7 +72,7 @@ import 'rizzo-css';
72
72
  **Without a bundler (plain HTML):** Use a CDN. Both unpkg and jsDelivr resolve the package root to the built CSS (via the `unpkg` / `jsdelivr` fields in this package). For reliability or to pin a version, use the explicit path:
73
73
 
74
74
  ```html
75
- <!-- unpkg (pin version: replace @latest with @0.0.84 or any version) -->
75
+ <!-- unpkg (pin version: replace @latest with @0.0.85 or any version) -->
76
76
  <link rel="stylesheet" href="https://unpkg.com/rizzo-css@latest/dist/rizzo.min.css" />
77
77
 
78
78
  <!-- or jsDelivr -->
package/bin/rizzo-css.js CHANGED
@@ -737,6 +737,9 @@ function hasFullVariant(framework) {
737
737
  return getVariantDir(framework, 'full') !== null;
738
738
  }
739
739
 
740
+ /** Components imported by Svelte full variant routes (themes, layout, docs, blocks). Ensures these are always copied so Vite dep-scan does not fail. */
741
+ const SVELTE_FULL_VARIANT_REQUIRED = ['ThemeIcon', 'ThemeSwitcher', 'Card', 'CopyToClipboard', 'Navbar', 'Footer', 'Settings', 'BackToTop', 'DocsSidebar'];
742
+
740
743
  /** Copy variant overlay onto project (after base). Applies replacements. Overwrites matching paths. */
741
744
  function copyVariantOverlay(projectDir, framework, variation, replacements) {
742
745
  const variantDir = getVariantDir(framework, variation);
@@ -2759,7 +2762,8 @@ async function cmdInit(argv) {
2759
2762
  const fullDir = getVariantDir('svelte', 'full');
2760
2763
  copyDirRecursiveWithReplacements(fullDir, projectDir, replacements);
2761
2764
  copyRizzoCssAndFontsForSvelte(projectDir, cssSource);
2762
- copySvelteComponents(projectDir, componentsToCopy);
2765
+ const svelteFullComponents = [...new Set([...componentsToCopy, ...SVELTE_FULL_VARIANT_REQUIRED])];
2766
+ copySvelteComponents(projectDir, expandWithDeps('svelte', svelteFullComponents));
2763
2767
  cssTarget = join(projectDir, 'static', 'css', 'rizzo.min.css');
2764
2768
  if (existsSync(cssTarget) && statSync(cssTarget).size < 5000) {
2765
2769
  console.warn('\nWarning: rizzo.min.css is very small. From repo root run: pnpm build:css');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rizzo-css",
3
- "version": "0.0.84",
3
+ "version": "0.0.85",
4
4
  "engines": {
5
5
  "node": ">=18"
6
6
  },
@@ -16,7 +16,7 @@
16
16
  "@types/react": "^18.3.12",
17
17
  "@types/react-dom": "^18.3.1",
18
18
  "@vitejs/plugin-react": "^4.3.3",
19
- "rizzo-css": "^0.0.84",
19
+ "rizzo-css": "^0.0.85",
20
20
  "typescript": "~5.6.2",
21
21
  "vite": "^6.0.1"
22
22
  }
@@ -17,7 +17,7 @@
17
17
  "@types/react": "^18.3.12",
18
18
  "@types/react-dom": "^18.3.1",
19
19
  "@vitejs/plugin-react": "^4.3.3",
20
- "rizzo-css": "^0.0.84",
20
+ "rizzo-css": "^0.0.85",
21
21
  "typescript": "~5.6.2",
22
22
  "vite": "^6.0.1"
23
23
  }
@@ -21,7 +21,7 @@ function slugToTitle(slug: string): string {
21
21
  .join(' ');
22
22
  }
23
23
 
24
- const CATEGORIES: { id: string; label: string; slugs: string[] }[] = [
24
+ export const COMPONENT_CATEGORIES: { id: string; label: string; slugs: string[] }[] = [
25
25
  { id: 'layout', label: 'Layout', slugs: ['navbar', 'docs-sidebar', 'dashboard', 'resizable', 'footer'] },
26
26
  { id: 'forms', label: 'Forms & inputs', slugs: ['button', 'button-group', 'forms', 'switch', 'slider', 'toggle', 'toggle-group', 'divider', 'separator', 'label', 'kbd'] },
27
27
  { id: 'data', label: 'Data display', slugs: ['cards', 'table', 'badge', 'pagination', 'aspect-ratio', 'empty', 'scroll-area', 'alert', 'skeleton', 'spinner', 'progress-bar', 'toast'] },
@@ -31,7 +31,7 @@ const CATEGORIES: { id: string; label: string; slugs: string[] }[] = [
31
31
 
32
32
  export function getComponentsByCategory(): CategoryWithItems[] {
33
33
  const pathPrefix = '/docs/components';
34
- return CATEGORIES.map((cat) => ({
34
+ return COMPONENT_CATEGORIES.map((cat) => ({
35
35
  id: cat.id,
36
36
  label: cat.label,
37
37
  items: cat.slugs.map((slug) => ({
@@ -56,4 +56,8 @@ SvelteKit project with Rizzo CSS. Scaffolded with `npx rizzo-css init` when you
56
56
  - `pnpm build` — Build for production
57
57
  - `pnpm preview` — Preview production build
58
58
 
59
+ ## Troubleshooting
60
+
61
+ If the dev server shows **Failed to run dependency scan** or an error about a missing file under `src/lib/rizzo/` (e.g. `ThemeIcon.svelte`), the CLI may have omitted a required component. Upgrade to the latest **rizzo-css** and re-scaffold, or run `npx rizzo-css add` and add the missing component (e.g. ThemeIcon) into an existing project. The Full template requires ThemeIcon, ThemeSwitcher, Card, CopyToClipboard, Navbar, Footer, Settings, BackToTop, and DocsSidebar.
62
+
59
63
  Docs: [rizzo-css.vercel.app](https://rizzo-css.vercel.app)
@@ -21,7 +21,7 @@ function slugToTitle(slug: string): string {
21
21
  .join(' ');
22
22
  }
23
23
 
24
- const CATEGORIES: { id: string; label: string; slugs: string[] }[] = [
24
+ export const COMPONENT_CATEGORIES: { id: string; label: string; slugs: string[] }[] = [
25
25
  { id: 'layout', label: 'Layout', slugs: ['navbar', 'docs-sidebar', 'dashboard', 'resizable', 'footer'] },
26
26
  { id: 'forms', label: 'Forms & inputs', slugs: ['button', 'button-group', 'forms', 'switch', 'slider', 'toggle', 'toggle-group', 'divider', 'separator', 'label', 'kbd'] },
27
27
  { id: 'data', label: 'Data display', slugs: ['cards', 'table', 'badge', 'pagination', 'aspect-ratio', 'empty', 'scroll-area', 'alert', 'skeleton', 'spinner', 'progress-bar', 'toast'] },
@@ -31,7 +31,7 @@ const CATEGORIES: { id: string; label: string; slugs: string[] }[] = [
31
31
 
32
32
  export function getComponentsByCategory(): CategoryWithItems[] {
33
33
  const pathPrefix = '/docs/components';
34
- return CATEGORIES.map((cat) => ({
34
+ return COMPONENT_CATEGORIES.map((cat) => ({
35
35
  id: cat.id,
36
36
  label: cat.label,
37
37
  items: cat.slugs.map((slug) => ({
@@ -28,7 +28,7 @@ If you prefer to load CSS from a CDN instead of the local file, replace the `<li
28
28
  - `<link rel="stylesheet" href="https://unpkg.com/rizzo-css@latest/dist/rizzo.min.css" />`
29
29
  - Or jsDelivr: `https://cdn.jsdelivr.net/npm/rizzo-css@latest/dist/rizzo.min.css`
30
30
 
31
- (Replace `@latest` with a specific version, e.g. `@0.0.84`, in production.)
31
+ (Replace `@latest` with a specific version, e.g. `@0.0.85`, in production.)
32
32
 
33
33
  The CLI replaces placeholders in `index.html` (e.g. `{{DATA_THEME}}`, `{{TITLE}}`) when you run `rizzo-css init`. The theme selected during init is used on first load when you have no saved preference in the browser.
34
34
 
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -945,6 +946,7 @@
945
946
 
946
947
 
947
948
 
949
+
948
950
 
949
951
 
950
952
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="flex flex-col items-center justify-center text-center min-h-screen" style="padding: var(--spacing-12) var(--spacing-4); min-height: calc(100vh - 4rem);">
@@ -886,6 +887,7 @@
886
887
 
887
888
 
888
889
 
890
+
889
891
 
890
892
 
891
893
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -525,6 +525,7 @@
525
525
 
526
526
 
527
527
 
528
+
528
529
 
529
530
 
530
531
  <main id="main-content" class="home">
@@ -976,6 +977,7 @@
976
977
 
977
978
 
978
979
 
980
+
979
981
 
980
982
 
981
983
  <div class="back-to-top" data-back-to-top data-threshold="400" aria-hidden="true">
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@vitejs/plugin-vue": "^5.2.1",
16
- "rizzo-css": "^0.0.84",
16
+ "rizzo-css": "^0.0.85",
17
17
  "typescript": "~5.6.2",
18
18
  "vite": "^6.0.1",
19
19
  "vue-tsc": "^2.1.10"
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@vitejs/plugin-vue": "^5.2.1",
17
- "rizzo-css": "^0.0.84",
17
+ "rizzo-css": "^0.0.85",
18
18
  "typescript": "~5.6.2",
19
19
  "vite": "^6.0.1",
20
20
  "vue-tsc": "^2.1.10"
@@ -21,7 +21,7 @@ function slugToTitle(slug: string): string {
21
21
  .join(' ');
22
22
  }
23
23
 
24
- const CATEGORIES: { id: string; label: string; slugs: string[] }[] = [
24
+ export const COMPONENT_CATEGORIES: { id: string; label: string; slugs: string[] }[] = [
25
25
  { id: 'layout', label: 'Layout', slugs: ['navbar', 'docs-sidebar', 'dashboard', 'resizable', 'footer'] },
26
26
  { id: 'forms', label: 'Forms & inputs', slugs: ['button', 'button-group', 'forms', 'switch', 'slider', 'toggle', 'toggle-group', 'divider', 'separator', 'label', 'kbd'] },
27
27
  { id: 'data', label: 'Data display', slugs: ['cards', 'table', 'badge', 'pagination', 'aspect-ratio', 'empty', 'scroll-area', 'alert', 'skeleton', 'spinner', 'progress-bar', 'toast'] },
@@ -31,7 +31,7 @@ const CATEGORIES: { id: string; label: string; slugs: string[] }[] = [
31
31
 
32
32
  export function getComponentsByCategory(): CategoryWithItems[] {
33
33
  const pathPrefix = '/docs/components';
34
- return CATEGORIES.map((cat) => ({
34
+ return COMPONENT_CATEGORIES.map((cat) => ({
35
35
  id: cat.id,
36
36
  label: cat.label,
37
37
  items: cat.slugs.map((slug) => ({