@wikicasa-dev/components 2.10.0 → 3.0.0-alpha.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/dist/UIKit/AccessibleSelect.js +1 -2
- package/dist/UIKit/AccessibleSelect.vue.js +75 -76
- package/dist/UIKit/Accordion/AccordionContentPrimitive.d.ts +5 -3
- package/dist/UIKit/Accordion/AccordionContentPrimitive.js +1 -2
- package/dist/UIKit/Accordion/AccordionContentPrimitive.vue.js +6 -3
- package/dist/UIKit/Accordion/AccordionHeaderPrimitive.js +1 -2
- package/dist/UIKit/Accordion/AccordionHeaderPrimitive.vue.js +6 -3
- package/dist/UIKit/Accordion/AccordionItemPrimitive.d.ts +9 -2
- package/dist/UIKit/Accordion/AccordionItemPrimitive.js +1 -2
- package/dist/UIKit/Accordion/AccordionItemPrimitive.vue.js +12 -9
- package/dist/UIKit/Accordion/AccordionTriggerPrimitive.js +1 -2
- package/dist/UIKit/Accordion/AccordionTriggerPrimitive.vue.js +6 -3
- package/dist/UIKit/Accordion/BaseAccordion.d.ts +6 -0
- package/dist/UIKit/Accordion/BaseAccordion.js +1 -2
- package/dist/UIKit/Accordion/BaseAccordion.vue.js +18 -6
- package/dist/UIKit/Accordion/BaseAccordionItem.js +1 -2
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.js +34 -28
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +1 -2
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.vue.js +84 -97
- package/dist/UIKit/BaseAlert.d.ts +5 -3
- package/dist/UIKit/BaseAlert.js +1 -2
- package/dist/UIKit/BaseAlert.vue.js +1 -2
- package/dist/UIKit/BaseAutocomplete.js +1 -2
- package/dist/UIKit/BaseAutocomplete.vue.js +65 -72
- package/dist/UIKit/BaseBadge.d.ts +5 -3
- package/dist/UIKit/BaseBadge.js +1 -2
- package/dist/UIKit/BaseBadge.vue.js +1 -2
- package/dist/UIKit/BaseBreadcrumb.d.ts +9 -7
- package/dist/UIKit/BaseBreadcrumb.js +1 -2
- package/dist/UIKit/BaseBreadcrumb.vue.js +1 -2
- package/dist/UIKit/BaseButton.js +1 -2
- package/dist/UIKit/BaseButton.vue.js +26 -27
- package/dist/UIKit/BaseComplexToggle.js +4 -5
- package/dist/UIKit/BaseComplexToggle.vue.js +2 -13
- package/dist/UIKit/BaseDropDown.d.ts +27 -20
- package/dist/UIKit/BaseDropDown.js +1 -2
- package/dist/UIKit/BaseDropDown.vue.js +48 -49
- package/dist/UIKit/BaseFloatingLabel.js +4 -5
- package/dist/UIKit/BaseFloatingLabel.vue.js +1 -2
- package/dist/UIKit/BaseInput.js +4 -5
- package/dist/UIKit/BaseInput.vue.js +65 -66
- package/dist/UIKit/BaseModal.d.ts +22 -15
- package/dist/UIKit/BaseModal.js +1 -2
- package/dist/UIKit/BaseModal.vue.js +50 -56
- package/dist/UIKit/BasePagination.js +1 -2
- package/dist/UIKit/BasePagination.vue.js +9 -3
- package/dist/UIKit/BaseSelect/SelectItem.d.ts +10 -5
- package/dist/UIKit/BaseSelect/SelectItem.js +1 -2
- package/dist/UIKit/BaseSelect/SelectItem.vue.js +1 -2
- package/dist/UIKit/BaseSlider.js +4 -5
- package/dist/UIKit/BaseSlider.vue.js +29 -32
- package/dist/UIKit/BaseSnackbar.js +1 -2
- package/dist/UIKit/BaseSnackbar.vue.js +19 -24
- package/dist/UIKit/BaseTextarea.js +4 -5
- package/dist/UIKit/BaseTextarea.vue.js +51 -52
- package/dist/UIKit/BaseToggle.d.ts +7 -5
- package/dist/UIKit/BaseToggle.js +1 -2
- package/dist/UIKit/BaseToggle.vue.js +1 -2
- package/dist/UIKit/BaseTooltip.d.ts +8 -6
- package/dist/UIKit/BaseTooltip.js +4 -5
- package/dist/UIKit/BaseTooltip.vue.js +1 -2
- package/dist/UIKit/BaseUploadFile.d.ts +7 -5
- package/dist/UIKit/BaseUploadFile.js +1 -2
- package/dist/UIKit/BaseUploadFile.vue.js +26 -27
- package/dist/UIKit/Card/BaseCard.js +1 -2
- package/dist/UIKit/Card/BaseCard.vue.js +2 -2
- package/dist/UIKit/Card/CardDescriptionPrimitive.d.ts +5 -3
- package/dist/UIKit/Card/CardDescriptionPrimitive.js +6 -7
- package/dist/UIKit/Card/CardImagePrimitive.d.ts +5 -3
- package/dist/UIKit/Card/CardImagePrimitive.js +1 -2
- package/dist/UIKit/Card/CardImagePrimitive.vue.js +7 -8
- package/dist/UIKit/Card/CardRootPrimitive.js +1 -2
- package/dist/UIKit/Card/CardRootPrimitive.vue.js +11 -11
- package/dist/UIKit/Card/type.js +1 -2
- package/dist/UIKit/Checkbox/CheckboxBtn.js +1 -2
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.js +6 -7
- package/dist/UIKit/Checkbox/CheckboxGroup.js +1 -2
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.js +39 -46
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.js +1 -2
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.vue.js +21 -32
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.d.ts +1 -1
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.js +1 -2
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js +7 -3
- package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.js +1 -2
- package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js +8 -3
- package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.js +1 -2
- package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue.js +6 -3
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.d.ts +72 -7
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.js +1 -2
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.vue.js +6 -3
- package/dist/UIKit/Radio/RadioButton.js +1 -2
- package/dist/UIKit/Radio/RadioButton.vue.js +1 -2
- package/dist/UIKit/Radio/RadioGroup.js +1 -2
- package/dist/UIKit/Radio/RadioGroup.vue.js +23 -24
- package/dist/UIKit/Radio/v2/RadioButtonGroup.js +1 -2
- package/dist/UIKit/Radio/v2/RadioButtonGroup.vue.js +17 -14
- package/dist/UIKit/Radio/v2/RadioButtonItem.js +1 -2
- package/dist/UIKit/Radio/v2/RadioButtonItem.vue.js +6 -3
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.d.ts +9 -3
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.js +1 -2
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.vue.js +6 -3
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +4 -5
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +1 -2
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -2
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +12 -13
- package/dist/UIKit/Slider/SimpleSlider.js +4 -5
- package/dist/UIKit/Slider/SimpleSlider.vue.js +1 -2
- package/dist/UIKit/StaticSpinner.js +1 -2
- package/dist/UIKit/StaticSpinner.vue.js +1 -2
- package/dist/UIKit/Tab/BaseTab.d.ts +5 -3
- package/dist/UIKit/Tab/BaseTab.js +1 -2
- package/dist/UIKit/Tab/BaseTab.vue.js +1 -2
- package/dist/UIKit/Tab/BaseTabList.js +1 -2
- package/dist/UIKit/Tab/BaseTabList.vue.js +1 -2
- package/dist/UIKit/Tab/BaseTabPanel.d.ts +5 -3
- package/dist/UIKit/Tab/BaseTabPanel.js +1 -2
- package/dist/UIKit/Tab/BaseTabPanel.vue.js +1 -2
- package/dist/UIKit/Tab/BaseTabView.js +1 -2
- package/dist/UIKit/Tab/BaseTabView.vue.js +36 -37
- package/dist/UIKit/Tab/v2/BaseTabs.d.ts +6 -0
- package/dist/UIKit/Tab/v2/BaseTabs.js +1 -2
- package/dist/UIKit/Tab/v2/BaseTabs.vue.js +13 -6
- package/dist/UIKit/Tab/v2/BaseTabsContent.js +1 -2
- package/dist/UIKit/Tab/v2/BaseTabsContent.vue.js +6 -3
- package/dist/UIKit/Tab/v2/BaseTabsIndicator.js +1 -2
- package/dist/UIKit/Tab/v2/BaseTabsIndicator.vue.js +6 -3
- package/dist/UIKit/Tab/v2/BaseTabsList.js +1 -2
- package/dist/UIKit/Tab/v2/BaseTabsList.vue.js +6 -3
- package/dist/UIKit/Tab/v2/BaseTabsTrigger.js +1 -2
- package/dist/UIKit/Tab/v2/BaseTabsTrigger.vue.js +6 -3
- package/dist/UIKit/frameUtils.js +1 -2
- package/dist/UIKit/useScrollLock.js +2 -3
- package/dist/_virtual/_plugin-vue_export-helper.js +1 -2
- package/dist/chart/DoughnutChart.js +1 -2
- package/dist/chart/DoughnutChart.vue.js +14 -15
- package/dist/chart/LineChart.js +1 -2
- package/dist/chart/LineChart.vue.js +16 -17
- package/dist/components/IntersectionObserver/IntersectionObservable.d.ts +7 -5
- package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -2
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.js +1 -2
- package/dist/components/IntersectionObserver/IntersectionObserver.d.ts +31 -29
- package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -2
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.js +2 -7
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.js +1 -2
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js +16 -17
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.d.ts +14 -9
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.js +1 -2
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.vue.js +12 -13
- package/dist/components/IntersectionObserver/v2/types.js +1 -2
- package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.js +4 -4
- package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.vue.js +13 -14
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.js +1 -2
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js +12 -13
- package/dist/components/carousel/Primitive/SwiperPrimitive.d.ts +5 -3
- package/dist/components/carousel/Primitive/SwiperPrimitive.js +1 -2
- package/dist/components/carousel/Primitive/SwiperPrimitive.vue.js +1 -2
- package/dist/components/carousel/Primitive/SwiperRootPrimitive.js +5 -6
- package/dist/components/carousel/Primitive/SwiperRootPrimitive.vue.js +39 -40
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.js +1 -2
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js +13 -14
- package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.js +1 -2
- package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.vue.js +27 -28
- package/dist/components/carousel/Primitive/deferredImages.js +1 -2
- package/dist/components/carousel/SwiperCarousel.d.ts +14 -7
- package/dist/components/carousel/SwiperCarousel.js +4 -5
- package/dist/components/carousel/SwiperCarousel.vue.js +82 -83
- package/dist/components/carousel/SwiperSlide.d.ts +5 -3
- package/dist/components/carousel/SwiperSlide.js +6 -7
- package/dist/composables/mock.js +1 -2
- package/dist/composables/useFloatingLabel.js +2 -7
- package/dist/composables/useValidator.js +1 -2
- package/dist/css/BaseAccordionItem.css +1 -0
- package/dist/{assets/BaseInput2.css → css/BaseInput.css} +1 -1
- package/dist/css/BaseModal.css +1 -0
- package/dist/css/BaseSlider.css +1 -0
- package/dist/css/BaseSnackbar.css +1 -0
- package/dist/{assets → css}/ClearableAutocomplete.css +1 -1
- package/dist/css/SwiperCarousel.css +1 -0
- package/dist/css/SwiperNavigationPrimitive.css +1 -0
- package/dist/css/SwiperRootPrimitive.css +1 -0
- package/dist/docs/AccessibleSelect.md +3 -1
- package/dist/docs/AccordionContentPrimitive.md +1 -1
- package/dist/docs/AccordionHeaderPrimitive.md +1 -1
- package/dist/docs/AccordionItemPrimitive.md +3 -3
- package/dist/docs/AccordionTriggerPrimitive.md +1 -1
- package/dist/docs/BaseAccordion.md +3 -3
- package/dist/docs/BaseAccordionItem.md +3 -1
- package/dist/docs/BaseAlert.md +3 -1
- package/dist/docs/BaseAutocomplete.md +3 -1
- package/dist/docs/BaseBadge.md +3 -1
- package/dist/docs/BaseBreadcrumb.md +1 -1
- package/dist/docs/BaseButton.md +1 -1
- package/dist/docs/BaseCard.md +3 -1
- package/dist/docs/BaseComplexToggle.md +3 -1
- package/dist/docs/BaseDropDown.md +3 -1
- package/dist/docs/BaseFloatingLabel.md +3 -1
- package/dist/docs/BaseInput.md +3 -1
- package/dist/docs/BaseModal.md +3 -1
- package/dist/docs/BasePagination.md +1 -1
- package/dist/docs/BaseShimmerLoader.md +3 -1
- package/dist/docs/BaseSlider.md +3 -1
- package/dist/docs/BaseSnackbar.md +4 -2
- package/dist/docs/BaseTab.md +1 -1
- package/dist/docs/BaseTabView.md +1 -1
- package/dist/docs/BaseTabs.md +4 -2
- package/dist/docs/BaseTabsContent.md +1 -1
- package/dist/docs/BaseTabsIndicator.md +3 -1
- package/dist/docs/BaseTabsList.md +1 -1
- package/dist/docs/BaseTabsTrigger.md +1 -1
- package/dist/docs/BaseTextarea.md +3 -1
- package/dist/docs/BaseToggle.md +1 -1
- package/dist/docs/BaseTooltip.md +3 -1
- package/dist/docs/BaseUploadFile.md +1 -1
- package/dist/docs/CardDescriptionPrimitive.md +1 -1
- package/dist/docs/CardImagePrimitive.md +1 -1
- package/dist/docs/CardRootPrimitive.md +3 -1
- package/dist/docs/CheckboxBtn.md +3 -1
- package/dist/docs/CheckboxButtonGroup.md +1 -1
- package/dist/docs/CheckboxGroup.md +1 -1
- package/dist/docs/CheckboxGroupItemPrimitive.md +6 -5
- package/dist/docs/CheckboxGroupPrimitive.md +3 -1
- package/dist/docs/ClearableAutocomplete.md +3 -1
- package/dist/docs/DoughnutChart.md +1 -1
- package/dist/docs/INDEX.md +2 -2
- package/dist/docs/IntersectionObservable.md +1 -1
- package/dist/docs/IntersectionObserver.md +1 -1
- package/dist/docs/IntersectionObserverProvider.md +1 -1
- package/dist/docs/IntersectionObserverTarget.md +1 -1
- package/dist/docs/LineChart.md +1 -1
- package/dist/docs/ProgressIndicatorPrimitive.md +1 -1
- package/dist/docs/ProgressRootPrimitive.md +2 -2
- package/dist/docs/RadioButton.md +1 -1
- package/dist/docs/RadioButtonGroup.md +1 -1
- package/dist/docs/RadioButtonItem.md +3 -1
- package/dist/docs/RadioGroup.md +1 -1
- package/dist/docs/RadioGroupItemPrimitive.md +1 -1
- package/dist/docs/SelectItem.md +1 -1
- package/dist/docs/ShimmerMultiLine.md +1 -1
- package/dist/docs/SimpleSlider.md +3 -1
- package/dist/docs/StaticSpinner.md +3 -1
- package/dist/docs/SwiperCarousel.md +3 -1
- package/dist/docs/SwiperNavigationPrimitive.md +3 -1
- package/dist/docs/SwiperPaginationPrimitive.md +3 -1
- package/dist/docs/SwiperPrimitive.md +1 -1
- package/dist/docs/SwiperRootPrimitive.md +3 -1
- package/dist/docs/SwiperSlide.md +1 -1
- package/dist/docs/SwiperSlideImagePrimitive.md +3 -1
- package/dist/docs/SwiperThumbnailPrimitive.md +1 -1
- package/dist/docs/TOKENS.md +1 -1
- package/dist/docs/agent-index.md +1 -1
- package/dist/index.js +25 -25
- package/dist/lazyModules/ChartJs/Chart.js +1 -2
- package/dist/lazyModules/ChartJs/DoughnutChart/core.js +1 -2
- package/dist/lazyModules/ChartJs/LineChart/cartesian.js +1 -2
- package/dist/lazyModules/ChartJs/LineChart/core.js +1 -2
- package/dist/lazyModules/ChartJs/Plugins/Legend.js +1 -2
- package/dist/lazyModules/ChartJs/Plugins/TimeScale.js +2 -3
- package/dist/lazyModules/ChartJs/Plugins/Title.js +1 -2
- package/dist/lazyModules/ChartJs/Plugins/Tooltip.js +1 -2
- package/dist/lazyModules/Swiper/Autoplay/factory.js +1 -2
- package/dist/lazyModules/Swiper/Autoplay/index.js +2 -3
- package/dist/lazyModules/Swiper/Controller/factory.js +1 -2
- package/dist/lazyModules/Swiper/Controller/index.js +2 -3
- package/dist/lazyModules/Swiper/FreeMode/factory.js +1 -2
- package/dist/lazyModules/Swiper/FreeMode/index.js +2 -3
- package/dist/lazyModules/Swiper/Keyboard/factory.js +1 -2
- package/dist/lazyModules/Swiper/Keyboard/index.js +2 -3
- package/dist/lazyModules/Swiper/Navigation/factory.js +1 -2
- package/dist/lazyModules/Swiper/Navigation/index.js +2 -3
- package/dist/lazyModules/Swiper/Pagination/factory.js +1 -2
- package/dist/lazyModules/Swiper/Pagination/index.js +2 -3
- package/dist/lazyModules/Swiper/Thumbs/factory.js +1 -2
- package/dist/lazyModules/Swiper/Thumbs/index.js +2 -3
- package/dist/lazyModules/Swiper/Zoom/factory.js +1 -2
- package/dist/lazyModules/Swiper/Zoom/index.js +2 -3
- package/dist/lazyModules/Swiper/factory.js +1 -2
- package/dist/lazyModules/Swiper/index.js +2 -3
- package/dist/lazyModules/VueChartJs/Doughnut/factory.js +1 -2
- package/dist/lazyModules/VueChartJs/Doughnut/index.js +1 -2
- package/dist/lazyModules/VueChartJs/Line/factory.js +1 -2
- package/dist/lazyModules/VueChartJs/Line/index.js +1 -2
- package/dist/utils.js +1 -2
- package/package.json +31 -31
- package/dist/assets/BaseAccordionItem.css +0 -1
- package/dist/assets/BaseSlider2.css +0 -1
- package/dist/assets/BaseSnackbar.css +0 -1
- package/dist/assets/SwiperCarousel.css +0 -1
- package/dist/assets/SwiperRootPrimitive.css +0 -1
- package/dist/assets/SwiperRootPrimitive2.css +0 -1
- package/dist/assets/baseComplexToggle.css +0 -1
- package/dist/assets/baseFloatingLabel.css +0 -1
- package/dist/assets/baseInput.css +0 -1
- package/dist/assets/baseModal.css +0 -1
- package/dist/assets/baseSlider.css +0 -1
- package/dist/assets/baseSpinner.css +0 -1
- package/dist/assets/baseTextarea.css +0 -1
- package/dist/assets/baseTooltip.css +0 -1
- package/dist/assets/swiper-autoplay.css +0 -1
- /package/dist/{assets → css}/AccessibleSelect.css +0 -0
- /package/dist/{assets/baseAlert.css → css/BaseAlert.css} +0 -0
- /package/dist/{assets → css}/BaseAutocomplete.css +0 -0
- /package/dist/{assets → css}/BaseBadge.css +0 -0
- /package/dist/{assets/baseCard.css → css/BaseCard.css} +0 -0
- /package/dist/{assets/BaseComplexToggle2.css → css/BaseComplexToggle.css} +0 -0
- /package/dist/{assets → css}/BaseDropDown.css +0 -0
- /package/dist/{assets/BaseFloatingLabel2.css → css/BaseFloatingLabel.css} +0 -0
- /package/dist/{assets → css}/BaseShimmerLoader.css +0 -0
- /package/dist/{assets → css}/BaseTabs.css +0 -0
- /package/dist/{assets → css}/BaseTabsIndicator.css +0 -0
- /package/dist/{assets/BaseTextarea2.css → css/BaseTextarea.css} +0 -0
- /package/dist/{assets/BaseTooltip2.css → css/BaseTooltip.css} +0 -0
- /package/dist/{assets → css}/CheckboxBtn.css +0 -0
- /package/dist/{assets → css}/RadioButtonItem.css +0 -0
- /package/dist/{assets → css}/SimpleSlider.css +0 -0
- /package/dist/{assets → css}/StaticSpinner.css +0 -0
- /package/dist/{assets/swiperPaginationBullet.css → css/SwiperPaginationPrimitive.css} +0 -0
- /package/dist/{assets → css}/SwiperSlideImagePrimitive.css +0 -0
- /package/dist/{assets → css}/swiper-free-mode.css +0 -0
- /package/dist/{assets → css}/swiper-navigation.css +0 -0
- /package/dist/{assets → css}/swiper-pagination.css +0 -0
- /package/dist/{assets → css}/swiper-swiper.css +0 -0
- /package/dist/{assets → css}/swiper-zoom.css +0 -0
- /package/dist/{assets → css}/tailwind.css +0 -0
- /package/dist/{assets → css}/tokens.css +0 -0
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Layout
|
|
5
5
|
summary: Accessible accordion root: a stack of collapsible sections (FAQs, grouped filters), one or many open at a time.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/Accordion/BaseAccordion
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseAccordion
|
|
@@ -54,7 +54,7 @@ const open = ref("faq-1");
|
|
|
54
54
|
## Do / Don't
|
|
55
55
|
|
|
56
56
|
- Give every item a unique `value`; it is what `v-model` holds.
|
|
57
|
-
- Closed sections stay in the DOM (hidden), which keeps FAQ text indexable. Pass `unmount-on-hide` to drop
|
|
57
|
+
- Closed sections stay in the DOM (hidden), which keeps FAQ text indexable. Pass `unmount-on-hide` on the root to drop them instead; an item's own `unmount-on-hide` (`true` or `false`) overrides the root for that item.
|
|
58
58
|
- `disabled` on the root disables every section.
|
|
59
59
|
- Separators/borders between items go in `class` on the root or items; the accordion draws none.
|
|
60
60
|
- Its default slot exposes `modelValue` if a header needs to know what is open.
|
|
@@ -69,10 +69,10 @@ _Generated from the component's types. Do not edit by hand._
|
|
|
69
69
|
| --- | --- | --- | --- | --- |
|
|
70
70
|
| `collapsible` | `boolean` | | | When type is "single", allows closing content when clicking trigger for an open item. When type is "multiple", this prop has no effect. |
|
|
71
71
|
| `type` | `T` | | yes | Determines whether a "single" or "multiple" items can be selected at a time. |
|
|
72
|
+
| `unmountOnHide` | `boolean` | `false` | | When `true`, closed items' content is unmounted; when `false`, it stays mounted (hidden) and indexable. An item's own `unmountOnHide` overrides it. The default is `false` here, unlike reka-ui's `true`. |
|
|
72
73
|
| `disabled` | `boolean` | | | When `true`, prevents the user from interacting with the accordion and all its items |
|
|
73
74
|
| `dir` | `Direction` | | | The reading direction of the accordion when applicable. If omitted, assumes LTR (left-to-right) reading mode. |
|
|
74
75
|
| `orientation` | `DataOrientation` | | | The orientation of the accordion. |
|
|
75
|
-
| `unmountOnHide` | `boolean` | | | When `true`, the element will be unmounted on closed state. |
|
|
76
76
|
| `asChild` | `boolean` | | | Change the default rendered element for the one passed as a child, merging their props and behavior. Read our [Composition](https://www.reka-ui.com/docs/guides/composition) guide for more details. |
|
|
77
77
|
| `as` | `AsTag \| Component` | | | The element or component this component should render as. Can be overwritten by `asChild`. |
|
|
78
78
|
| `modelValue` | `Optional<ModelType>` | | | |
|
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Layout
|
|
5
5
|
summary: One collapsible section of BaseAccordion: a header with title and rotating arrow, plus the content.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/Accordion/BaseAccordionItem
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseAccordionItem
|
|
@@ -15,6 +15,8 @@ One collapsible section of BaseAccordion: a header with title and rotating arrow
|
|
|
15
15
|
import BaseAccordionItem from "@wikicasa-dev/components/UIKit/Accordion/BaseAccordionItem";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/BaseAccordionItem`.
|
|
19
|
+
|
|
18
20
|
Use it inside `BaseAccordion` (see that doc for single/multiple mode and `v-model`). It renders a heading (`h3` by default, change with `headerTag`) containing a full-width trigger button with `title` and a chevron that rotates when open, then the content, which animates its height.
|
|
19
21
|
|
|
20
22
|
## Usage
|
package/dist/docs/BaseAlert.md
CHANGED
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Feedback
|
|
5
5
|
summary: Inline, static message box (success/info, error, dark) shown in the page flow, e.g. under a form.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/BaseAlert
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseAlert
|
|
@@ -15,6 +15,8 @@ Inline, static message box (success/info, error, dark) shown in the page flow, e
|
|
|
15
15
|
import BaseAlert from "@wikicasa-dev/components/UIKit/BaseAlert";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/BaseAlert`.
|
|
19
|
+
|
|
18
20
|
Use it for a persistent message that belongs to a spot on the page: the result of a form submission, a validation summary, an informative notice. It has no close button, timer or animation: show and hide it with `v-if`. For a temporary, floating notification use `BaseSnackbar`.
|
|
19
21
|
|
|
20
22
|
The look is chosen with `alertClass`:
|
|
@@ -5,7 +5,7 @@ category: Forms
|
|
|
5
5
|
summary: Legacy search-as-you-type form field (BaseInput look) replaced by ClearableAutocomplete; wikicasa-nuxt no longer uses it.
|
|
6
6
|
useInstead: ClearableAutocomplete
|
|
7
7
|
import: @wikicasa-dev/components/UIKit/BaseAutocomplete
|
|
8
|
-
version:
|
|
8
|
+
version: 3.0.0-alpha.2
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# BaseAutocomplete
|
|
@@ -18,6 +18,8 @@ Legacy search-as-you-type form field (BaseInput look) replaced by ClearableAutoc
|
|
|
18
18
|
import BaseAutocomplete from "@wikicasa-dev/components/UIKit/BaseAutocomplete";
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
+
Stylesheets: `css/BaseAutocomplete`.
|
|
22
|
+
|
|
21
23
|
Legacy: don't use it in new work. `ClearableAutocomplete` replaces it everywhere, including inside forms (style its trigger to match the other fields), and wikicasa-nuxt no longer uses it. This page is for reading existing code.
|
|
22
24
|
|
|
23
25
|
It wraps `BaseInput`, so it has a floating label, validation colors and icon slots. For a short fixed list use `AccessibleSelect`.
|
package/dist/docs/BaseBadge.md
CHANGED
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Feedback
|
|
5
5
|
summary: Small non-interactive label or pill: listing status, "Vetrina", Premium/Gold tiers, tags and counters.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/BaseBadge
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseBadge
|
|
@@ -15,6 +15,8 @@ Small non-interactive label or pill: listing status, "Vetrina", Premium/Gold tie
|
|
|
15
15
|
import BaseBadge from "@wikicasa-dev/components/UIKit/BaseBadge";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/BaseBadge`.
|
|
19
|
+
|
|
18
20
|
Use it to tag something with a short status or category, typically over a property card or next to a title. It is a plain `<span>`, not clickable; for a selectable chip use `BaseButton` with a selection variant.
|
|
19
21
|
|
|
20
22
|
Pick the look with `badgeClass` (default `uikit-badge-w-primary-sm`):
|
package/dist/docs/BaseButton.md
CHANGED
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Actions
|
|
5
5
|
summary: The standard button: primary/secondary/danger CTAs, light and text-style buttons, selectable chips, loading state.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/BaseButton
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseButton
|
package/dist/docs/BaseCard.md
CHANGED
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Layout
|
|
5
5
|
summary: Image + body card with fixed layouts (default row, mini, vertical, news) for listings, agencies and articles.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/Card/BaseCard
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseCard
|
|
@@ -15,6 +15,8 @@ Image + body card with fixed layouts (default row, mini, vertical, news) for lis
|
|
|
15
15
|
import BaseCard from "@wikicasa-dev/components/UIKit/Card/BaseCard";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/BaseCard`.
|
|
19
|
+
|
|
18
20
|
Use `BaseCard` for any "picture plus text" tile: a property in a list, an agency, a news article. It renders two cells, `.card-img` (the `#card-image` slot) and `.card-body` (the `#card-description` slot), inside a rounded, shadowed, `overflow: hidden` box. Pick the layout with `type`:
|
|
19
21
|
|
|
20
22
|
- `""` (default): horizontal row. From 576px up the card is 240px tall and the image column is at most 300px wide; below 576px the height is `auto`. It stays a row on phones.
|
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Selection
|
|
5
5
|
summary: Two-option segmented toggle (pill with a sliding highlight) that picks one of two labelled choices.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/BaseComplexToggle
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseComplexToggle
|
|
@@ -15,6 +15,8 @@ Two-option segmented toggle (pill with a sliding highlight) that picks one of tw
|
|
|
15
15
|
import BaseComplexToggle from "@wikicasa-dev/components/UIKit/BaseComplexToggle";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/BaseComplexToggle`.
|
|
19
|
+
|
|
18
20
|
Use to switch between exactly two named modes: "Privato" / "Agenzia", "Tasso variabile" / "Tasso fisso", "Avviso immediato" / "Avviso giornaliero". For an on/off boolean use `BaseToggle`; for three or more options use `RadioButtonGroup`.
|
|
19
21
|
|
|
20
22
|
`labels` holds `leftToggle` and `rightToggle`, each `{ id?, label, icon?, checked?, payload? }`. `v-model` holds the whole active toggle object. On mount it selects the side marked `checked`, otherwise the left one, and emits it right away.
|
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Overlays
|
|
5
5
|
summary: Toggle button with an attached dropdown panel for menus, link lists and custom filter content.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/BaseDropDown
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseDropDown
|
|
@@ -15,6 +15,8 @@ Toggle button with an attached dropdown panel for menus, link lists and custom f
|
|
|
15
15
|
import BaseDropDown from "@wikicasa-dev/components/UIKit/BaseDropDown";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/BaseDropDown`.
|
|
19
|
+
|
|
18
20
|
Use for anything that opens a panel under (or above) a trigger: a language switcher, a user menu, a "more actions" menu on a listing card, a breadcrumb sub-menu, or a panel of custom filter controls. It handles open/close, outside click, Escape and arrow-key navigation. To choose a form value use `AccessibleSelect` (built on this component) instead.
|
|
19
21
|
|
|
20
22
|
The default trigger is a button showing `btnLabel` (plus a chevron with `withArrowIcon`). Replace it via the `btn_slot` slot and call `toggleDropdown()` yourself. Panel content goes in the default slot; its slot props are `isOpen`, `toggleDropdown`, `activeIdx`, `selectedIdx`, `setActiveIdx`, `setSelectedIdx`.
|
|
@@ -4,7 +4,7 @@ status: primitive
|
|
|
4
4
|
category: Forms
|
|
5
5
|
summary: The floating field label used by BaseInput and BaseTextarea, for labelling custom field-like controls.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/BaseFloatingLabel
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseFloatingLabel
|
|
@@ -17,6 +17,8 @@ The floating field label used by BaseInput and BaseTextarea, for labelling custo
|
|
|
17
17
|
import BaseFloatingLabel from "@wikicasa-dev/components/UIKit/BaseFloatingLabel";
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
+
Stylesheets: `css/BaseFloatingLabel`.
|
|
21
|
+
|
|
20
22
|
`BaseInput`, `BaseTextarea` and `BaseUploadFile` already render it, so you only need it on its own to put the same label on a custom control (for example a dropdown trigger styled as a field) so it matches the other form fields.
|
|
21
23
|
|
|
22
24
|
It is absolutely positioned: place it inside a `position: relative` container that also holds the control, and nudge it with `class` / `style` / `labelClasses` (all land on the `<label>`). It doesn't animate by itself; you decide `labelState`.
|
package/dist/docs/BaseInput.md
CHANGED
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Forms
|
|
5
5
|
summary: Single-line text field with floating label, validation state, feedback messages and optional icons.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/BaseInput
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseInput
|
|
@@ -15,6 +15,8 @@ Single-line text field with floating label, validation state, feedback messages
|
|
|
15
15
|
import BaseInput from "@wikicasa-dev/components/UIKit/BaseInput";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/BaseInput`.
|
|
19
|
+
|
|
18
20
|
Use for any single-line text entry in a form (name, email, phone, price, surface). For multi-line text use `BaseTextarea`; for search-as-you-type use `ClearableAutocomplete`.
|
|
19
21
|
|
|
20
22
|
Native input attributes go straight on the component (`type`, `name`, `placeholder`, `maxlength`, `inputmode`, `pattern`, `min`, `max`, `disabled`, `readonly`, `autocomplete="on"`). `class` styles the outer wrapper; `inputClass` styles the `<input>` itself. An `id` is generated if you don't pass one.
|
package/dist/docs/BaseModal.md
CHANGED
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Overlays
|
|
5
5
|
summary: Dialog over a dimmed backdrop: centered card on desktop, bottom sheet on mobile, with header/body/footer slots.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/BaseModal
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseModal
|
|
@@ -15,6 +15,8 @@ Dialog over a dimmed backdrop: centered card on desktop, bottom sheet on mobile,
|
|
|
15
15
|
import BaseModal from "@wikicasa-dev/components/UIKit/BaseModal";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/BaseModal`.
|
|
19
|
+
|
|
18
20
|
Use it for focused tasks that interrupt the page: confirmations ("Eliminare questo annuncio?"), short forms (contact the agency, login), filter pickers, sort options. On screens below 576px it becomes a full-width sheet sliding up from the bottom; from 576px up it is a card slid down from the top (or vertically centered with `centered`). It locks page scroll while open and closes on Escape, on the X button and on backdrop click (disable with `:close-on-click-out="false"`).
|
|
19
21
|
|
|
20
22
|
## Usage
|
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Navigation
|
|
5
5
|
summary: Page navigator for result lists: prev/next arrows, first/last page, siblings and ellipses, or a compact prev/next form.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/BasePagination
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BasePagination
|
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Loading
|
|
5
5
|
summary: Animated skeleton block (lavender box with a moving shine) that stands in for content while it loads.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/ShimmerLoader/BaseShimmerLoader
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseShimmerLoader
|
|
@@ -15,6 +15,8 @@ Animated skeleton block (lavender box with a moving shine) that stands in for co
|
|
|
15
15
|
import BaseShimmerLoader from "@wikicasa-dev/components/UIKit/ShimmerLoader/BaseShimmerLoader";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/BaseShimmerLoader`.
|
|
19
|
+
|
|
18
20
|
A skeleton placeholder: a lavender block with a light sweep animated across it. It has no size of its own, so you give it the size and radius of the thing it replaces (a price, a title line, an image). Render it with `v-if` while loading and swap in the real content with `v-else`.
|
|
19
21
|
|
|
20
22
|
For several stacked text lines use `ShimmerMultiLine`. For a spinner inside a button or small inline wait, use `StaticSpinner`.
|
package/dist/docs/BaseSlider.md
CHANGED
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Forms
|
|
5
5
|
summary: Dual-thumb range slider with linked Min/Max number fields, linear or logarithmic.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/BaseSlider
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseSlider
|
|
@@ -15,6 +15,8 @@ Dual-thumb range slider with linked Min/Max number fields, linear or logarithmic
|
|
|
15
15
|
import BaseSlider from "@wikicasa-dev/components/UIKit/BaseSlider";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/BaseSlider`.
|
|
19
|
+
|
|
18
20
|
Use to pick a numeric range: price from/to, surface from/to (m²). It renders two thumbs on one track plus two `BaseInput` fields labelled "Min" and "Max" that stay in sync with the thumbs. For a single value use `SimpleSlider`.
|
|
19
21
|
|
|
20
22
|
Bind the range with `v-model:min-value` and `v-model:max-value`. `min` / `max` set the limits (default 0–100) and the native `step` attribute is forwarded to both thumbs. Use `type="logarithmic"` for wide ranges such as prices, so low values get more of the track.
|
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Feedback
|
|
5
5
|
summary: Temporary toast notification that slides in at the page edge, auto-closes with a progress bar, swipe to dismiss.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/BaseSnackbar
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseSnackbar
|
|
@@ -15,6 +15,8 @@ Temporary toast notification that slides in at the page edge, auto-closes with a
|
|
|
15
15
|
import BaseSnackbar from "@wikicasa-dev/components/UIKit/BaseSnackbar";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/BaseSnackbar`.
|
|
19
|
+
|
|
18
20
|
Use it to confirm an action that happened ("Annuncio salvato nei preferiti", "Annuncio ripristinato") or to report a background error, without taking space in the layout. It closes itself after `duration` ms (default 3000) and shows a progress bar meanwhile. For a message that must stay on the page, use `BaseAlert`.
|
|
19
21
|
|
|
20
22
|
Control it with `v-model:open`. Set `v-model:refresh` to `true` to close and reopen it (restarting the timer) when the same snackbar fires again while already open. Colors: `alertClass` = `primary` (default, lavender/blue), `danger` (pale red/red), `darkblue` (dark blue/white).
|
|
@@ -71,7 +73,7 @@ const save = () => {
|
|
|
71
73
|
|
|
72
74
|
On the viewport (`.uikit-alert-viewport`, add your own class with `viewportClasses`): `--uikit-alert-viewport-padding`, `--uikit-alert-viewport-position`, `--uikit-alert-viewport-top`/`-right`/`-bottom`/`-left`, `--uikit-alert-viewport-display`, `--uikit-alert-viewport-flex-direction`, `--uikit-alert-viewport-align-items`, `--uikit-alert-viewport-justify-content`.
|
|
73
75
|
|
|
74
|
-
On the toast (`.uikit-
|
|
76
|
+
On the toast (`.uikit-snackbar` / `.uikit-toast-root`; `BaseAlert`'s `.uikit-alert` classes don't apply to it): `--uikit-alert-bg-color`, `--uikit-alert-text-color`, `--uikit-alert-progress-indicator-bg-color`, `--uikit-toast-root-display` (e.g. `grid` for custom layouts), `--uikit-toast-root-gap`.
|
|
75
77
|
|
|
76
78
|
## API
|
|
77
79
|
|
package/dist/docs/BaseTab.md
CHANGED
package/dist/docs/BaseTabView.md
CHANGED
|
@@ -5,7 +5,7 @@ category: Navigation
|
|
|
5
5
|
summary: First-generation tabs container driven by BaseTab children and an index-based v-model.
|
|
6
6
|
useInstead: BaseTabs
|
|
7
7
|
import: @wikicasa-dev/components/UIKit/Tab/BaseTabView
|
|
8
|
-
version:
|
|
8
|
+
version: 3.0.0-alpha.2
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# BaseTabView
|
package/dist/docs/BaseTabs.md
CHANGED
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Navigation
|
|
5
5
|
summary: Accessible tabs (root of the compound set): switches between panels with an animated underline indicator.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/Tab/v2/BaseTabs
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseTabs
|
|
@@ -15,6 +15,8 @@ Accessible tabs (root of the compound set): switches between panels with an anim
|
|
|
15
15
|
import BaseTabs from "@wikicasa-dev/components/UIKit/Tab/v2/BaseTabs";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/BaseTabs`.
|
|
19
|
+
|
|
18
20
|
Use it to switch between sibling views of the same context without leaving the page: "Vendita / Affitto / Aste" in a search box, "Preferiti / Ricerche salvate / Visti di recente" in a user area. Don't use it for page navigation (use links) or for a filter that changes a single list (use `BaseButton` selection variants).
|
|
19
21
|
|
|
20
22
|
It is a compound component; always use the five parts together:
|
|
@@ -85,12 +87,12 @@ _Generated from the component's types. Do not edit by hand._
|
|
|
85
87
|
| Name | Type | Default | Required | Description |
|
|
86
88
|
| --- | --- | --- | --- | --- |
|
|
87
89
|
| `dataCy` | `string` | | | |
|
|
90
|
+
| `unmountOnHide` | `boolean` | `false` | | When `true`, inactive panels are unmounted; when `false`, they stay mounted (hidden) and keep their state. The default is `false` here, unlike reka-ui's `true`. |
|
|
88
91
|
| `defaultValue` | `T` | | | The value of the tab that should be active when initially rendered. Use when you do not need to control the state of the tabs |
|
|
89
92
|
| `orientation` | `DataOrientation` | | | The orientation the tabs are laid out. Mainly so arrow navigation is done accordingly (left & right vs. up & down) |
|
|
90
93
|
| `dir` | `Direction` | | | The reading direction of the combobox when applicable. <br> If omitted, inherits globally from `ConfigProvider` or assumes LTR (left-to-right) reading mode. |
|
|
91
94
|
| `activationMode` | `"automatic" \| "manual"` | | | Whether a tab is activated automatically (on focus) or manually (on click). |
|
|
92
95
|
| `modelValue` | `T` | | | The controlled value of the tab to activate. Can be bind as `v-model`. |
|
|
93
|
-
| `unmountOnHide` | `boolean` | | | When `true`, the element will be unmounted on closed state. |
|
|
94
96
|
| `asChild` | `boolean` | | | Change the default rendered element for the one passed as a child, merging their props and behavior. Read our [Composition](https://www.reka-ui.com/docs/guides/composition) guide for more details. |
|
|
95
97
|
| `as` | `AsTag \| Component` | | | The element or component this component should render as. Can be overwritten by `asChild`. |
|
|
96
98
|
|
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Navigation
|
|
5
5
|
summary: The panel of a BaseTabs set, shown while the trigger with the same value is active.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/Tab/v2/BaseTabsContent
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseTabsContent
|
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Navigation
|
|
5
5
|
summary: Animated underline that slides under the active BaseTabsTrigger.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/Tab/v2/BaseTabsIndicator
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseTabsIndicator
|
|
@@ -15,6 +15,8 @@ Animated underline that slides under the active BaseTabsTrigger.
|
|
|
15
15
|
import BaseTabsIndicator from "@wikicasa-dev/components/UIKit/Tab/v2/BaseTabsIndicator";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/BaseTabsIndicator`.
|
|
19
|
+
|
|
18
20
|
Part of the `BaseTabs` compound component: see the `BaseTabs` doc for the full composition. Optional: without it, the active trigger shows a static underline. Place it once, inside `BaseTabsList`.
|
|
19
21
|
|
|
20
22
|
## Usage
|
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Navigation
|
|
5
5
|
summary: A single tab button inside BaseTabsList; activates the BaseTabsContent with the same value.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/Tab/v2/BaseTabsTrigger
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseTabsTrigger
|
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Forms
|
|
5
5
|
summary: Multi-line text field with floating label and validation state, matching BaseInput's look.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/BaseTextarea
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseTextarea
|
|
@@ -15,6 +15,8 @@ Multi-line text field with floating label and validation state, matching BaseInp
|
|
|
15
15
|
import BaseTextarea from "@wikicasa-dev/components/UIKit/BaseTextarea";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/BaseTextarea`.
|
|
19
|
+
|
|
18
20
|
Use for free-text messages: contact-the-agency forms, listing descriptions, personal notes on a property. For a single line use `BaseInput`.
|
|
19
21
|
|
|
20
22
|
Only these attributes reach the `<textarea>`: `id`, `data-cy`, `rows`, `disabled`, `readonly`, plus `required` (adds the label asterisk). `class` styles the textarea itself; `wrapper-classes` styles the outer wrapper.
|
package/dist/docs/BaseToggle.md
CHANGED
package/dist/docs/BaseTooltip.md
CHANGED
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Overlays
|
|
5
5
|
summary: CSS hover tooltip with an arrow, opening below a trigger (e.g. an info icon) to explain a value.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/BaseTooltip
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# BaseTooltip
|
|
@@ -15,6 +15,8 @@ CSS hover tooltip with an arrow, opening below a trigger (e.g. an info icon) to
|
|
|
15
15
|
import BaseTooltip from "@wikicasa-dev/components/UIKit/BaseTooltip";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/BaseTooltip`.
|
|
19
|
+
|
|
18
20
|
Use it for a short explanation attached to a small trigger, typically an "i" icon next to a price estimate or a label. It opens on mouse hover only (pure CSS, no JavaScript positioning), so it is a desktop affordance: keep the information available elsewhere for touch and keyboard users. For longer content or anything interactive, use `BaseModal`.
|
|
19
21
|
|
|
20
22
|
## Usage
|
|
@@ -4,7 +4,7 @@ status: primitive
|
|
|
4
4
|
category: Layout
|
|
5
5
|
summary: The body cell (.card-body) of a CardRootPrimitive composition, with the card's standard padding.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/Card/CardDescriptionPrimitive
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# CardDescriptionPrimitive
|
|
@@ -4,7 +4,7 @@ status: primitive
|
|
|
4
4
|
category: Layout
|
|
5
5
|
summary: The image cell (.card-img) of a CardRootPrimitive composition, sized by the card type.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/Card/CardImagePrimitive
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# CardImagePrimitive
|
|
@@ -4,7 +4,7 @@ status: primitive
|
|
|
4
4
|
category: Layout
|
|
5
5
|
summary: Card shell (rounded, shadowed root with the BaseCard layouts) to compose with CardImagePrimitive and CardDescriptionPrimitive.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/Card/CardRootPrimitive
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# CardRootPrimitive
|
|
@@ -17,6 +17,8 @@ Card shell (rounded, shadowed root with the BaseCard layouts) to compose with Ca
|
|
|
17
17
|
import CardRootPrimitive from "@wikicasa-dev/components/UIKit/Card/CardRootPrimitive";
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
+
Stylesheets: `css/BaseCard`.
|
|
21
|
+
|
|
20
22
|
The root of the card primitives. It renders the same `.uikit-card` box as `BaseCard` (same `type` layouts and `--card-*` custom properties, see BaseCard) but takes free content in its default slot. Use it when `BaseCard`'s fixed "image cell + body cell" doesn't fit: an image-only tile, a skeleton that must match a real card's geometry, a third cell, or a body that comes first.
|
|
21
23
|
|
|
22
24
|
The parts:
|
package/dist/docs/CheckboxBtn.md
CHANGED
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Forms
|
|
5
5
|
summary: Single accessible checkbox with a clickable text label, bound to a boolean.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/Checkbox/CheckboxBtn
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# CheckboxBtn
|
|
@@ -15,6 +15,8 @@ Single accessible checkbox with a clickable text label, bound to a boolean.
|
|
|
15
15
|
import CheckboxBtn from "@wikicasa-dev/components/UIKit/Checkbox/CheckboxBtn";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Stylesheets: `css/CheckboxBtn`.
|
|
19
|
+
|
|
18
20
|
Use for one on/off choice submitted with a form, such as accepting the privacy policy or "Solo annunci con foto", and as the item inside a `CheckboxButtonGroup` when you render the group's items yourself. For a list of options bound to one array use `CheckboxButtonGroup`; for chip-style toggle buttons compose `CheckboxGroupPrimitive` + `CheckboxGroupItemPrimitive`; for a setting that applies immediately use `BaseToggle`.
|
|
19
21
|
|
|
20
22
|
The whole row is a `<label>`, so clicking the text toggles the box. The text comes from the `label` prop or the `label` slot (for links or truncation).
|
|
@@ -4,7 +4,7 @@ status: preferred
|
|
|
4
4
|
category: Selection
|
|
5
5
|
summary: Group of CheckboxBtn bound to one array of selected values, with an optional "select all" reset option.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/Checkbox/v2/CheckboxButtonGroup
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# CheckboxButtonGroup
|
|
@@ -5,7 +5,7 @@ category: Selection
|
|
|
5
5
|
summary: Older checkbox list driven by checkboxData objects, emitting the checked objects, with optional reset checkbox.
|
|
6
6
|
useInstead: CheckboxButtonGroup
|
|
7
7
|
import: @wikicasa-dev/components/UIKit/Checkbox/CheckboxGroup
|
|
8
|
-
version:
|
|
8
|
+
version: 3.0.0-alpha.2
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# CheckboxGroup
|
|
@@ -4,7 +4,7 @@ status: primitive
|
|
|
4
4
|
category: Selection
|
|
5
5
|
summary: Unstyled checkbox item (reka-ui CheckboxRoot) for building custom chips or tiles inside CheckboxGroupPrimitive.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# CheckboxGroupItemPrimitive
|
|
@@ -72,14 +72,15 @@ _Generated from the component's types. Do not edit by hand._
|
|
|
72
72
|
| --- | --- | --- | --- | --- |
|
|
73
73
|
| `dataCy` | `string` | | | |
|
|
74
74
|
| `value` | `TValue` | | yes | |
|
|
75
|
-
| `modelValue` | `
|
|
76
|
-
| `defaultValue` | `
|
|
75
|
+
| `modelValue` | `"indeterminate" \| NoInfer<T> \| null` | | | The controlled value of the checkbox. Can be binded with v-model. |
|
|
76
|
+
| `defaultValue` | `"indeterminate" \| NoInfer<T>` | | | The value of the checkbox when it is initially rendered. Use when you do not need to control its value. |
|
|
77
77
|
| `disabled` | `boolean` | | | When `true`, prevents the user from interacting with the checkbox |
|
|
78
78
|
| `asChild` | `boolean` | | | Change the default rendered element for the one passed as a child, merging their props and behavior. Read our [Composition](https://www.reka-ui.com/docs/guides/composition) guide for more details. |
|
|
79
79
|
| `as` | `AsTag \| Component` | | | The element or component this component should render as. Can be overwritten by `asChild`. |
|
|
80
80
|
| `required` | `boolean` | | | When `true`, indicates that the user must set the value before the owning form can be submitted. |
|
|
81
81
|
| `id` | `string` | | | Id of the element |
|
|
82
82
|
| `name` | `string` | | | The name of the field. Submitted with its owning form as part of a name/value pair. |
|
|
83
|
+
| `parent` | `boolean` | | | When `true` inside a `CheckboxGroupRoot`, the checkbox controls the values listed in the group's `allValues`: it shows their combined state and checks or unchecks them all. Disabled checkboxes keep their value. A parent checkbox doesn't submit a value of its own. |
|
|
83
84
|
| `trueValue` | `T` | | | The value used when the checkbox is checked. Defaults to `true`. |
|
|
84
85
|
| `falseValue` | `T` | | | The value used when the checkbox is unchecked. Defaults to `false`. |
|
|
85
86
|
|
|
@@ -91,13 +92,13 @@ _Generated from the component's types. Do not edit by hand._
|
|
|
91
92
|
|
|
92
93
|
### v-model
|
|
93
94
|
|
|
94
|
-
- `v-model` binds `modelValue` (`
|
|
95
|
+
- `v-model` binds `modelValue` (`"indeterminate" \| NoInfer<T> \| null`)
|
|
95
96
|
|
|
96
97
|
### Slots
|
|
97
98
|
|
|
98
99
|
| Name | Slot props |
|
|
99
100
|
| --- | --- |
|
|
100
|
-
| `default` | `{ modelValue: T \| "indeterminate"; state: CheckedState; }` |
|
|
101
|
+
| `default` | `{ modelValue: T \| "indeterminate"; state: CheckedState$1; }` |
|
|
101
102
|
|
|
102
103
|
### Exposed (template ref)
|
|
103
104
|
|
|
@@ -4,7 +4,7 @@ status: primitive
|
|
|
4
4
|
category: Selection
|
|
5
5
|
summary: Unstyled multi-select group root (reka-ui CheckboxGroupRoot) holding an array of checked values.
|
|
6
6
|
import: @wikicasa-dev/components/UIKit/Checkbox/v2/CheckboxGroupPrimitive
|
|
7
|
-
version:
|
|
7
|
+
version: 3.0.0-alpha.2
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# CheckboxGroupPrimitive
|
|
@@ -76,6 +76,8 @@ _Generated from the component's types. Do not edit by hand._
|
|
|
76
76
|
| `modelValue` | `T[]` | | | The controlled value of the checkbox. Can be binded with v-model. |
|
|
77
77
|
| `rovingFocus` | `boolean` | | | When `false`, navigating through the items using arrow keys will be disabled. |
|
|
78
78
|
| `disabled` | `boolean` | | | When `true`, prevents the user from interacting with the checkboxes |
|
|
79
|
+
| `max` | `number \| null` | | | The maximum number of values that can be selected. Once reached, the unchecked checkboxes get `aria-disabled` but stay focusable, so consider telling users about the limit. Style them with `[aria-disabled="true"]`. |
|
|
80
|
+
| `allValues` | `T[]` | | | Every value a parent checkbox (`CheckboxRoot` with `parent`) controls. The parent is checked when all of them are in the model, unchecked when none are, and indeterminate otherwise. |
|
|
79
81
|
| `dir` | `Direction$5` | | | The direction of navigation between items. |
|
|
80
82
|
| `orientation` | `Orientation$1` | | | The orientation of the group. Mainly so arrow navigation is done accordingly (left & right vs. up & down) |
|
|
81
83
|
| `asChild` | `boolean` | | | Change the default rendered element for the one passed as a child, merging their props and behavior. Read our [Composition](https://www.reka-ui.com/docs/guides/composition) guide for more details. |
|