rizzo-css 0.0.75 → 0.0.77

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 (130) hide show
  1. package/README.md +1 -1
  2. package/dist/rizzo.min.css +1 -1
  3. package/package.json +1 -1
  4. package/scaffold/astro/Footer.astro +1 -1
  5. package/scaffold/landing/index.html +27 -2
  6. package/scaffold/react/base/package.json +1 -1
  7. package/scaffold/svelte/Button.svelte +5 -1
  8. package/scaffold/svelte/Navbar.svelte +10 -2
  9. package/scaffold/svelte/base/src/routes/+layout.svelte +18 -0
  10. package/scaffold/svelte/base/src/routes/+page.svelte +158 -87
  11. package/scaffold/svelte/index.ts +1 -0
  12. package/scaffold/svelte/variants/full/src/routes/+layout.svelte +2 -0
  13. package/scaffold/vanilla/README-RIZZO.md +1 -1
  14. package/scaffold/vanilla/components/accordion.html +6 -0
  15. package/scaffold/vanilla/components/alert-dialog.html +6 -0
  16. package/scaffold/vanilla/components/alert.html +6 -0
  17. package/scaffold/vanilla/components/aspect-ratio.html +6 -0
  18. package/scaffold/vanilla/components/avatar.html +6 -0
  19. package/scaffold/vanilla/components/back-to-top.html +6 -0
  20. package/scaffold/vanilla/components/badge.html +6 -0
  21. package/scaffold/vanilla/components/breadcrumb.html +6 -0
  22. package/scaffold/vanilla/components/button-group.html +6 -0
  23. package/scaffold/vanilla/components/button.html +6 -0
  24. package/scaffold/vanilla/components/calendar.html +6 -0
  25. package/scaffold/vanilla/components/cards.html +6 -0
  26. package/scaffold/vanilla/components/carousel.html +6 -0
  27. package/scaffold/vanilla/components/chart.html +6 -0
  28. package/scaffold/vanilla/components/collapsible.html +6 -0
  29. package/scaffold/vanilla/components/command.html +6 -0
  30. package/scaffold/vanilla/components/context-menu.html +6 -0
  31. package/scaffold/vanilla/components/copy-to-clipboard.html +6 -0
  32. package/scaffold/vanilla/components/dashboard.html +6 -0
  33. package/scaffold/vanilla/components/direction.html +6 -0
  34. package/scaffold/vanilla/components/divider.html +6 -0
  35. package/scaffold/vanilla/components/docs-sidebar.html +6 -0
  36. package/scaffold/vanilla/components/dropdown.html +6 -0
  37. package/scaffold/vanilla/components/empty.html +6 -0
  38. package/scaffold/vanilla/components/font-switcher.html +6 -0
  39. package/scaffold/vanilla/components/footer.html +6 -0
  40. package/scaffold/vanilla/components/forms.html +6 -0
  41. package/scaffold/vanilla/components/hover-card.html +6 -0
  42. package/scaffold/vanilla/components/icons.html +6 -0
  43. package/scaffold/vanilla/components/index.html +6 -0
  44. package/scaffold/vanilla/components/input-group.html +6 -0
  45. package/scaffold/vanilla/components/input-otp.html +6 -0
  46. package/scaffold/vanilla/components/kbd.html +6 -0
  47. package/scaffold/vanilla/components/label.html +6 -0
  48. package/scaffold/vanilla/components/menubar.html +6 -0
  49. package/scaffold/vanilla/components/modal.html +6 -0
  50. package/scaffold/vanilla/components/navbar.html +6 -0
  51. package/scaffold/vanilla/components/pagination.html +6 -0
  52. package/scaffold/vanilla/components/popover.html +6 -0
  53. package/scaffold/vanilla/components/progress-bar.html +6 -0
  54. package/scaffold/vanilla/components/range-calendar.html +6 -0
  55. package/scaffold/vanilla/components/resizable.html +6 -0
  56. package/scaffold/vanilla/components/scroll-area.html +6 -0
  57. package/scaffold/vanilla/components/search.html +6 -0
  58. package/scaffold/vanilla/components/separator.html +6 -0
  59. package/scaffold/vanilla/components/settings.html +6 -0
  60. package/scaffold/vanilla/components/sheet.html +6 -0
  61. package/scaffold/vanilla/components/skeleton.html +6 -0
  62. package/scaffold/vanilla/components/slider.html +6 -0
  63. package/scaffold/vanilla/components/sound-effects.html +6 -0
  64. package/scaffold/vanilla/components/spinner.html +6 -0
  65. package/scaffold/vanilla/components/switch.html +6 -0
  66. package/scaffold/vanilla/components/table.html +6 -0
  67. package/scaffold/vanilla/components/tabs.html +6 -0
  68. package/scaffold/vanilla/components/theme-switcher.html +6 -0
  69. package/scaffold/vanilla/components/toast.html +6 -0
  70. package/scaffold/vanilla/components/toggle-group.html +6 -0
  71. package/scaffold/vanilla/components/toggle.html +6 -0
  72. package/scaffold/vanilla/components/tooltip.html +6 -0
  73. package/scaffold/vanilla/index.html +6 -0
  74. package/scaffold/vue/Accordion.vue +1 -1
  75. package/scaffold/vue/Alert.vue +1 -1
  76. package/scaffold/vue/AlertDialog.vue +1 -1
  77. package/scaffold/vue/AspectRatio.vue +1 -1
  78. package/scaffold/vue/Avatar.vue +1 -1
  79. package/scaffold/vue/BackToTop.vue +1 -1
  80. package/scaffold/vue/Badge.vue +6 -12
  81. package/scaffold/vue/Breadcrumb.vue +1 -1
  82. package/scaffold/vue/Button.vue +6 -11
  83. package/scaffold/vue/ButtonGroup.vue +1 -1
  84. package/scaffold/vue/Card.vue +4 -7
  85. package/scaffold/vue/Checkbox.vue +12 -12
  86. package/scaffold/vue/Collapsible.vue +1 -1
  87. package/scaffold/vue/ContextMenu.vue +1 -1
  88. package/scaffold/vue/CopyToClipboard.vue +1 -1
  89. package/scaffold/vue/Dashboard.vue +1 -1
  90. package/scaffold/vue/Divider.vue +5 -8
  91. package/scaffold/vue/DocsSidebar.vue +1 -1
  92. package/scaffold/vue/Dropdown.vue +1 -1
  93. package/scaffold/vue/Empty.vue +1 -1
  94. package/scaffold/vue/FontSwitcher.vue +1 -1
  95. package/scaffold/vue/Footer.vue +1 -1
  96. package/scaffold/vue/FormGroup.vue +9 -12
  97. package/scaffold/vue/HoverCard.vue +1 -1
  98. package/scaffold/vue/Icons.vue +1 -1
  99. package/scaffold/vue/Input.vue +17 -30
  100. package/scaffold/vue/Kbd.vue +1 -1
  101. package/scaffold/vue/Label.vue +5 -8
  102. package/scaffold/vue/Modal.vue +1 -1
  103. package/scaffold/vue/Navbar.vue +1 -1
  104. package/scaffold/vue/Pagination.vue +1 -1
  105. package/scaffold/vue/Popover.vue +1 -1
  106. package/scaffold/vue/ProgressBar.vue +1 -1
  107. package/scaffold/vue/Radio.vue +10 -13
  108. package/scaffold/vue/ResizableHandle.vue +1 -1
  109. package/scaffold/vue/ResizablePane.vue +1 -1
  110. package/scaffold/vue/ResizablePaneGroup.vue +1 -1
  111. package/scaffold/vue/ScrollArea.vue +1 -1
  112. package/scaffold/vue/Search.vue +1 -1
  113. package/scaffold/vue/Select.vue +14 -25
  114. package/scaffold/vue/Separator.vue +1 -1
  115. package/scaffold/vue/Settings.vue +1 -1
  116. package/scaffold/vue/Sheet.vue +1 -1
  117. package/scaffold/vue/Skeleton.vue +1 -1
  118. package/scaffold/vue/Slider.vue +1 -1
  119. package/scaffold/vue/SoundEffects.vue +1 -1
  120. package/scaffold/vue/Spinner.vue +6 -9
  121. package/scaffold/vue/Switch.vue +1 -1
  122. package/scaffold/vue/Table.vue +1 -1
  123. package/scaffold/vue/Tabs.vue +1 -1
  124. package/scaffold/vue/Textarea.vue +18 -31
  125. package/scaffold/vue/ThemeSwitcher.vue +1 -1
  126. package/scaffold/vue/Toast.vue +1 -1
  127. package/scaffold/vue/Toggle.vue +1 -1
  128. package/scaffold/vue/ToggleGroup.vue +1 -1
  129. package/scaffold/vue/Tooltip.vue +1 -1
  130. package/scaffold/vue/base/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,16 +1,10 @@
1
1
  <script setup lang="ts">
2
- type Variant = 'primary' | 'success' | 'warning' | 'error' | 'info';
3
- type Size = 'sm' | 'md' | 'lg';
4
-
5
- withDefaults(
6
- defineProps<{
7
- variant?: Variant;
8
- size?: Size;
9
- pill?: boolean;
10
- class?: string;
11
- }>(),
12
- { variant: 'primary', size: 'md', pill: false, class: '' }
13
- );
2
+ defineProps({
3
+ variant: { type: String, default: 'primary' },
4
+ size: { type: String, default: 'md' },
5
+ pill: { type: Boolean, default: false },
6
+ class: { type: String, default: '' },
7
+ });
14
8
  </script>
15
9
 
16
10
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,15 +1,10 @@
1
1
  <script setup lang="ts">
2
- type Variant = 'default' | 'primary' | 'success' | 'warning' | 'error' | 'info' | 'outline';
3
-
4
- withDefaults(
5
- defineProps<{
6
- variant?: Variant;
7
- disabled?: boolean;
8
- type?: 'button' | 'submit' | 'reset';
9
- class?: string;
10
- }>(),
11
- { variant: 'default', disabled: false, type: 'button', class: '' }
12
- );
2
+ defineProps({
3
+ variant: { type: String, default: 'default' },
4
+ disabled: { type: Boolean, default: false },
5
+ type: { type: String, default: 'button' },
6
+ class: { type: String, default: '' },
7
+ });
13
8
  </script>
14
9
 
15
10
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,11 +1,8 @@
1
1
  <script setup lang="ts">
2
- withDefaults(
3
- defineProps<{
4
- variant?: 'default' | 'outlined' | 'elevated';
5
- class?: string;
6
- }>(),
7
- { variant: 'default', class: '' }
8
- );
2
+ defineProps({
3
+ variant: { type: String, default: 'default' },
4
+ class: { type: String, default: '' },
5
+ });
9
6
  </script>
10
7
 
11
8
  <template>
@@ -1,17 +1,17 @@
1
1
  <script setup lang="ts">
2
- defineProps<{
3
- id?: string;
4
- name?: string;
5
- value?: string;
6
- modelValue?: boolean;
7
- required?: boolean;
8
- disabled?: boolean;
9
- class?: string;
10
- ariaDescribedby?: string;
11
- ariaLabel?: string;
12
- }>();
2
+ defineProps({
3
+ id: { type: String, default: undefined },
4
+ name: { type: String, default: undefined },
5
+ value: { type: String, default: undefined },
6
+ modelValue: { type: Boolean, default: false },
7
+ required: { type: Boolean, default: false },
8
+ disabled: { type: Boolean, default: false },
9
+ class: { type: String, default: undefined },
10
+ ariaDescribedby: { type: String, default: undefined },
11
+ ariaLabel: { type: String, default: undefined },
12
+ });
13
13
 
14
- const emit = defineEmits<{ (e: 'update:modelValue', value: boolean): void }>();
14
+ const emit = defineEmits(['update:modelValue']);
15
15
  </script>
16
16
 
17
17
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,12 +1,9 @@
1
1
  <script setup lang="ts">
2
- withDefaults(
3
- defineProps<{
4
- orientation?: 'horizontal' | 'vertical';
5
- label?: string;
6
- class?: string;
7
- }>(),
8
- { orientation: 'horizontal', class: '' }
9
- );
2
+ defineProps({
3
+ orientation: { type: String, default: 'horizontal' },
4
+ label: { type: String, default: undefined },
5
+ class: { type: String, default: '' },
6
+ });
10
7
  </script>
11
8
 
12
9
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,16 +1,13 @@
1
1
  <script setup lang="ts">
2
- withDefaults(
3
- defineProps<{
4
- label?: string;
5
- labelFor?: string;
6
- required?: boolean;
7
- help?: string;
8
- error?: string;
9
- success?: string;
10
- class?: string;
11
- }>(),
12
- { required: false, class: '' }
13
- );
2
+ defineProps({
3
+ label: { type: String, default: undefined },
4
+ labelFor: { type: String, default: undefined },
5
+ required: { type: Boolean, default: false },
6
+ help: { type: String, default: undefined },
7
+ error: { type: String, default: undefined },
8
+ success: { type: String, default: undefined },
9
+ class: { type: String, default: '' },
10
+ });
14
11
  </script>
15
12
 
16
13
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- withDefaults(defineProps<{ class?: string }>(), { class: "" });
2
+ defineProps({ class: { type: String, default: '' } });
3
3
  </script>
4
4
 
5
5
  <template>