@wikicasa-dev/components 3.0.0-alpha.2 → 3.0.0-alpha.4

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 (73) hide show
  1. package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js +17 -16
  2. package/dist/css/SwiperSlideImagePrimitive.css +1 -1
  3. package/dist/docs/AccessibleSelect.md +1 -1
  4. package/dist/docs/AccordionContentPrimitive.md +1 -1
  5. package/dist/docs/AccordionHeaderPrimitive.md +1 -1
  6. package/dist/docs/AccordionItemPrimitive.md +1 -1
  7. package/dist/docs/AccordionTriggerPrimitive.md +1 -1
  8. package/dist/docs/BaseAccordion.md +1 -1
  9. package/dist/docs/BaseAccordionItem.md +1 -1
  10. package/dist/docs/BaseAlert.md +1 -1
  11. package/dist/docs/BaseAutocomplete.md +1 -1
  12. package/dist/docs/BaseBadge.md +1 -1
  13. package/dist/docs/BaseBreadcrumb.md +1 -1
  14. package/dist/docs/BaseButton.md +1 -1
  15. package/dist/docs/BaseCard.md +1 -1
  16. package/dist/docs/BaseComplexToggle.md +1 -1
  17. package/dist/docs/BaseDropDown.md +1 -1
  18. package/dist/docs/BaseFloatingLabel.md +1 -1
  19. package/dist/docs/BaseInput.md +1 -1
  20. package/dist/docs/BaseModal.md +1 -1
  21. package/dist/docs/BasePagination.md +1 -1
  22. package/dist/docs/BaseShimmerLoader.md +1 -1
  23. package/dist/docs/BaseSlider.md +1 -1
  24. package/dist/docs/BaseSnackbar.md +1 -1
  25. package/dist/docs/BaseTab.md +1 -1
  26. package/dist/docs/BaseTabView.md +1 -1
  27. package/dist/docs/BaseTabs.md +1 -1
  28. package/dist/docs/BaseTabsContent.md +1 -1
  29. package/dist/docs/BaseTabsIndicator.md +1 -1
  30. package/dist/docs/BaseTabsList.md +1 -1
  31. package/dist/docs/BaseTabsTrigger.md +1 -1
  32. package/dist/docs/BaseTextarea.md +1 -1
  33. package/dist/docs/BaseToggle.md +1 -1
  34. package/dist/docs/BaseTooltip.md +1 -1
  35. package/dist/docs/BaseUploadFile.md +1 -1
  36. package/dist/docs/CardDescriptionPrimitive.md +1 -1
  37. package/dist/docs/CardImagePrimitive.md +1 -1
  38. package/dist/docs/CardRootPrimitive.md +1 -1
  39. package/dist/docs/CheckboxBtn.md +1 -1
  40. package/dist/docs/CheckboxButtonGroup.md +1 -1
  41. package/dist/docs/CheckboxGroup.md +1 -1
  42. package/dist/docs/CheckboxGroupItemPrimitive.md +1 -1
  43. package/dist/docs/CheckboxGroupPrimitive.md +1 -1
  44. package/dist/docs/ClearableAutocomplete.md +1 -1
  45. package/dist/docs/DoughnutChart.md +1 -1
  46. package/dist/docs/INDEX.md +1 -1
  47. package/dist/docs/IntersectionObservable.md +1 -1
  48. package/dist/docs/IntersectionObserver.md +1 -1
  49. package/dist/docs/IntersectionObserverProvider.md +1 -1
  50. package/dist/docs/IntersectionObserverTarget.md +1 -1
  51. package/dist/docs/LineChart.md +1 -1
  52. package/dist/docs/ProgressIndicatorPrimitive.md +1 -1
  53. package/dist/docs/ProgressRootPrimitive.md +1 -1
  54. package/dist/docs/RadioButton.md +1 -1
  55. package/dist/docs/RadioButtonGroup.md +1 -1
  56. package/dist/docs/RadioButtonItem.md +1 -1
  57. package/dist/docs/RadioGroup.md +1 -1
  58. package/dist/docs/RadioGroupItemPrimitive.md +1 -1
  59. package/dist/docs/SelectItem.md +1 -1
  60. package/dist/docs/ShimmerMultiLine.md +1 -1
  61. package/dist/docs/SimpleSlider.md +1 -1
  62. package/dist/docs/StaticSpinner.md +1 -1
  63. package/dist/docs/SwiperCarousel.md +1 -1
  64. package/dist/docs/SwiperNavigationPrimitive.md +1 -1
  65. package/dist/docs/SwiperPaginationPrimitive.md +1 -1
  66. package/dist/docs/SwiperPrimitive.md +1 -1
  67. package/dist/docs/SwiperRootPrimitive.md +1 -1
  68. package/dist/docs/SwiperSlide.md +1 -1
  69. package/dist/docs/SwiperSlideImagePrimitive.md +3 -3
  70. package/dist/docs/SwiperThumbnailPrimitive.md +1 -1
  71. package/dist/docs/TOKENS.md +1 -1
  72. package/dist/docs/agent-index.md +1 -1
  73. package/package.json +3 -3
@@ -1,13 +1,13 @@
1
- import { createBlock as e, createElementVNode as t, createPropsRestProxy as n, defineComponent as r, inject as i, mergeProps as a, openBlock as o, shallowRef as s, withCtx as c } from "vue";
2
- import l from "../SwiperSlide.js";
3
- import { setLazyImagesLoaderKey as u } from "./SwiperRootPrimitive.vue.js";
1
+ import { createBlock as e, createElementVNode as t, createPropsRestProxy as n, defineComponent as r, inject as i, mergeProps as a, openBlock as o, shallowRef as s, unref as c, withCtx as l } from "vue";
2
+ import u from "../SwiperSlide.js";
3
+ import { setLazyImagesLoaderKey as d } from "./SwiperRootPrimitive.vue.js";
4
4
  import '../../../css/SwiperSlideImagePrimitive.css';// lib/components/carousel/Primitive/SwiperSlideImagePrimitive.vue?vue&type=script&setup=true&lang.ts
5
- var d = [
5
+ var f = [
6
6
  "src",
7
7
  "srcset",
8
8
  "data-src",
9
9
  "data-srcset"
10
- ], f = /*@__PURE__*/ r({
10
+ ], p = /*@__PURE__*/ r({
11
11
  __name: "SwiperSlideImagePrimitive",
12
12
  props: {
13
13
  src: {},
@@ -24,21 +24,22 @@ var d = [
24
24
  lazy: { type: Boolean }
25
25
  },
26
26
  setup(r) {
27
- let f = n(r, [
27
+ let p = n(r, [
28
28
  "src",
29
29
  "srcset",
30
- "imgClasses"
31
- ]), p = s(), m = s(), h = i(u, void 0);
32
- return f.lazy && (p.value = r.src, m.value = r.srcset, h?.(!0)), (n, i) => (o(), e(l, null, {
33
- default: c(() => [t("img", a(f, {
30
+ "imgClasses",
31
+ "lazy"
32
+ ]), m = r.lazy, h = s(), g = s(), _ = i(d, void 0);
33
+ return m && (h.value = r.src, g.value = r.srcset, _?.(!0)), (n, i) => (o(), e(u, null, {
34
+ default: l(() => [t("img", a(p, {
34
35
  class: ["swiper-slide-image-primitive", r.imgClasses],
35
- src: r.lazy ? void 0 : r.src,
36
- srcset: r.lazy ? void 0 : r.srcset,
37
- "data-src": p.value,
38
- "data-srcset": m.value
39
- }), null, 16, d)]),
36
+ src: c(m) ? void 0 : r.src,
37
+ srcset: c(m) ? void 0 : r.srcset,
38
+ "data-src": h.value,
39
+ "data-srcset": g.value
40
+ }), null, 16, f)]),
40
41
  _: 1
41
42
  }));
42
43
  }
43
44
  });
44
- export { f as default };
45
+ export { p as default };
@@ -1 +1 @@
1
- .swiper-slide-image-primitive img[data-src]{opacity:0}.swiper-slide-image-primitive img:not([data-src]){opacity:1;transition:opacity .3s ease-in-out}
1
+ .swiper-slide-image-primitive[data-src]:not([data-src=""]){opacity:0}
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Forms
5
5
  summary: Single-choice select field (combobox + listbox) with floating label, validation state and keyboard support.
6
6
  import: @wikicasa-dev/components/UIKit/AccessibleSelect
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # AccessibleSelect
@@ -4,7 +4,7 @@ status: primitive
4
4
  category: Layout
5
5
  summary: Unstyled collapsible panel of a primitive accordion item; hidden while the item is closed.
6
6
  import: @wikicasa-dev/components/UIKit/Accordion/AccordionContentPrimitive
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # AccordionContentPrimitive
@@ -4,7 +4,7 @@ status: primitive
4
4
  category: Layout
5
5
  summary: Unstyled heading element (h3 by default) wrapping the trigger of a primitive accordion item.
6
6
  import: @wikicasa-dev/components/UIKit/Accordion/AccordionHeaderPrimitive
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # AccordionHeaderPrimitive
@@ -4,7 +4,7 @@ status: primitive
4
4
  category: Layout
5
5
  summary: Unstyled accordion section wrapper, for custom accordion items composed from the Accordion*Primitive parts.
6
6
  import: @wikicasa-dev/components/UIKit/Accordion/AccordionItemPrimitive
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # AccordionItemPrimitive
@@ -4,7 +4,7 @@ status: primitive
4
4
  category: Layout
5
5
  summary: Unstyled button that opens and closes a primitive accordion item.
6
6
  import: @wikicasa-dev/components/UIKit/Accordion/AccordionTriggerPrimitive
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # AccordionTriggerPrimitive
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseAccordion
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseAccordionItem
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseAlert
@@ -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: 3.0.0-alpha.2
8
+ version: 3.0.0-alpha.4
9
9
  ---
10
10
 
11
11
  # BaseAutocomplete
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseBadge
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Navigation
5
5
  summary: Breadcrumb trail of links separated by arrows, e.g. Home › Vendita › Milano › Navigli.
6
6
  import: @wikicasa-dev/components/UIKit/BaseBreadcrumb
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseBreadcrumb
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseButton
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseCard
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseComplexToggle
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseDropDown
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseFloatingLabel
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseInput
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseModal
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseShimmerLoader
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseSlider
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseSnackbar
@@ -5,7 +5,7 @@ category: Navigation
5
5
  summary: One tab (header plus panel content) inside the legacy BaseTabView.
6
6
  useInstead: BaseTabsTrigger
7
7
  import: @wikicasa-dev/components/UIKit/Tab/BaseTab
8
- version: 3.0.0-alpha.2
8
+ version: 3.0.0-alpha.4
9
9
  ---
10
10
 
11
11
  # BaseTab
@@ -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: 3.0.0-alpha.2
8
+ version: 3.0.0-alpha.4
9
9
  ---
10
10
 
11
11
  # BaseTabView
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseTabs
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseTabsIndicator
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Navigation
5
5
  summary: Row that holds the BaseTabsTrigger tabs (and the BaseTabsIndicator) inside BaseTabs.
6
6
  import: @wikicasa-dev/components/UIKit/Tab/v2/BaseTabsList
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseTabsList
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseTextarea
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Forms
5
5
  summary: On/off switch bound to a boolean, with a label on the left or right.
6
6
  import: @wikicasa-dev/components/UIKit/BaseToggle
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseToggle
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseTooltip
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Forms
5
5
  summary: Dashed, field-shaped file picker with a floating label that emits the chosen File.
6
6
  import: @wikicasa-dev/components/UIKit/BaseUploadFile
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # BaseUploadFile
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # CardRootPrimitive
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # CheckboxBtn
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
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: 3.0.0-alpha.2
8
+ version: 3.0.0-alpha.4
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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # CheckboxGroupItemPrimitive
@@ -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: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # CheckboxGroupPrimitive
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Forms
5
5
  summary: Unstyled search-as-you-type input with an inline clear button, loading slot and race-safe async results.
6
6
  import: @wikicasa-dev/components/UIKit/Autocomplete/ClearableAutocomplete
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # ClearableAutocomplete
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Charts
5
5
  summary: Chart.js doughnut chart for shares of a whole, e.g. a mortgage split into capital and interest.
6
6
  import: @wikicasa-dev/components/chart/DoughnutChart
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # DoughnutChart
@@ -1,4 +1,4 @@
1
- # @wikicasa-dev/components 3.0.0-alpha.2: component catalog
1
+ # @wikicasa-dev/components 3.0.0-alpha.4: component catalog
2
2
 
3
3
  Start here. Each component has its own doc with usage notes and its full API (props, events, slots, v-model).
4
4
 
@@ -5,7 +5,7 @@ category: Utilities
5
5
  summary: Older element wrapper registered with the observer passed in from IntersectionObserver's #observer slot.
6
6
  useInstead: IntersectionObserverTarget
7
7
  import: @wikicasa-dev/components/generic/IntersectionObserver/IntersectionObservable
8
- version: 3.0.0-alpha.2
8
+ version: 3.0.0-alpha.4
9
9
  ---
10
10
 
11
11
  # IntersectionObservable
@@ -5,7 +5,7 @@ category: Utilities
5
5
  summary: Older lazy-render helper exposing one observer and a single shared isVisible flag through its #observer slot.
6
6
  useInstead: IntersectionObserverProvider
7
7
  import: @wikicasa-dev/components/generic/IntersectionObserver/IntersectionObserver
8
- version: 3.0.0-alpha.2
8
+ version: 3.0.0-alpha.4
9
9
  ---
10
10
 
11
11
  # IntersectionObserver
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Utilities
5
5
  summary: Shares one IntersectionObserver with its IntersectionObserverTarget children to lazy-render content or detect scroll-into-view.
6
6
  import: @wikicasa-dev/components/generic/IntersectionObserver/v2/IntersectionObserverProvider
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # IntersectionObserverProvider
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Utilities
5
5
  summary: Element watched by the surrounding IntersectionObserverProvider; exposes isVisible to its slot.
6
6
  import: @wikicasa-dev/components/generic/IntersectionObserver/v2/IntersectionObserverTarget
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # IntersectionObserverTarget
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Charts
5
5
  summary: Chart.js line chart (category, linear or time x-axis) for trends such as average €/m² over time.
6
6
  import: @wikicasa-dev/components/chart/LineChart
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # LineChart
@@ -4,7 +4,7 @@ status: primitive
4
4
  category: Loading
5
5
  summary: Unstyled fill element of a progress bar; must sit inside ProgressRootPrimitive, which you size and position yourself.
6
6
  import: @wikicasa-dev/components/UIKit/ProgressBar/ProgressIndicatorPrimitive
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # ProgressIndicatorPrimitive
@@ -4,7 +4,7 @@ status: primitive
4
4
  category: Loading
5
5
  summary: Unstyled accessible progress bar root (role="progressbar"); compose with ProgressIndicatorPrimitive and style it yourself.
6
6
  import: @wikicasa-dev/components/UIKit/ProgressBar/ProgressRootPrimitive
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # ProgressRootPrimitive
@@ -5,7 +5,7 @@ category: Selection
5
5
  summary: Older standalone radio button with a boolean model, used by RadioGroup; not keyboard accessible.
6
6
  useInstead: RadioButtonItem
7
7
  import: @wikicasa-dev/components/UIKit/Radio/RadioButton
8
- version: 3.0.0-alpha.2
8
+ version: 3.0.0-alpha.4
9
9
  ---
10
10
 
11
11
  # RadioButton
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Selection
5
5
  summary: Accessible single-choice radio group bound to one value, rendering items from a list or from its slot.
6
6
  import: @wikicasa-dev/components/UIKit/Radio/v2/RadioButtonGroup
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # RadioButtonGroup
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Selection
5
5
  summary: Classic radio button (circle + clickable label) used inside RadioButtonGroup.
6
6
  import: @wikicasa-dev/components/UIKit/Radio/v2/RadioButtonItem
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # RadioButtonItem
@@ -5,7 +5,7 @@ category: Selection
5
5
  summary: Older radio list driven by radioValues objects, emitting the selected object.
6
6
  useInstead: RadioButtonGroup
7
7
  import: @wikicasa-dev/components/UIKit/Radio/RadioGroup
8
- version: 3.0.0-alpha.2
8
+ version: 3.0.0-alpha.4
9
9
  ---
10
10
 
11
11
  # RadioGroup
@@ -4,7 +4,7 @@ status: primitive
4
4
  category: Selection
5
5
  summary: Unstyled radio option (reka-ui RadioGroupItem) for custom segmented buttons or cards inside RadioButtonGroup.
6
6
  import: @wikicasa-dev/components/UIKit/Radio/v2/RadioGroupItemPrimitive
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # RadioGroupItemPrimitive
@@ -4,7 +4,7 @@ status: primitive
4
4
  category: Selection
5
5
  summary: List row (`<li>`) with an active/highlighted state, for building option lists inside BaseDropDown.
6
6
  import: @wikicasa-dev/components/UIKit/BaseSelect/SelectItem
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # SelectItem
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Loading
5
5
  summary: Stack of BaseShimmerLoader lines, a quick skeleton for a paragraph or a card description.
6
6
  import: @wikicasa-dev/components/UIKit/ShimmerLoader/ShimmerMultiLine
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # ShimmerMultiLine
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Forms
5
5
  summary: Single-thumb draggable slider bound with v-model to one number (linear or logarithmic scale).
6
6
  import: @wikicasa-dev/components/UIKit/Slider/SimpleSlider
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # SimpleSlider
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Loading
5
5
  summary: Small rotating SVG ring (24px) for inline waits, e.g. inside a button while a request runs.
6
6
  import: @wikicasa-dev/components/UIKit/StaticSpinner
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # StaticSpinner
@@ -5,7 +5,7 @@ category: Media
5
5
  summary: Ready-made Swiper carousel for slides or an image gallery, with optional arrows, bullets, autoplay and thumbnails.
6
6
  dataType: Image
7
7
  import: @wikicasa-dev/components/generic/carousel/SwiperCarousel
8
- version: 3.0.0-alpha.2
8
+ version: 3.0.0-alpha.4
9
9
  ---
10
10
 
11
11
  # SwiperCarousel
@@ -4,7 +4,7 @@ status: primitive
4
4
  category: Media
5
5
  summary: Swiper prev/next arrows for a SwiperRootPrimitive carousel.
6
6
  import: @wikicasa-dev/components/generic/carousel/Primitive/SwiperNavigationPrimitive
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # SwiperNavigationPrimitive
@@ -4,7 +4,7 @@ status: primitive
4
4
  category: Media
5
5
  summary: Pagination (bullets or "2 / 8" fraction) for a SwiperRootPrimitive carousel.
6
6
  import: @wikicasa-dev/components/generic/carousel/Primitive/SwiperPaginationPrimitive
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # SwiperPaginationPrimitive
@@ -4,7 +4,7 @@ status: primitive
4
4
  category: Media
5
5
  summary: The slide track (.swiper-wrapper) of a SwiperRootPrimitive carousel; holds the slides and emits click.
6
6
  import: @wikicasa-dev/components/generic/carousel/Primitive/SwiperPrimitive
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # SwiperPrimitive
@@ -4,7 +4,7 @@ status: primitive
4
4
  category: Media
5
5
  summary: Root of the composable Swiper carousel; owns the Swiper instance, deferred image loading and the reveal.
6
6
  import: @wikicasa-dev/components/generic/carousel/Primitive/SwiperRootPrimitive
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # SwiperRootPrimitive
@@ -4,7 +4,7 @@ status: preferred
4
4
  category: Media
5
5
  summary: One slide of a SwiperCarousel or SwiperPrimitive track; holds any content (card, image, banner).
6
6
  import: @wikicasa-dev/components/generic/carousel/SwiperSlide
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # SwiperSlide
@@ -4,7 +4,7 @@ status: primitive
4
4
  category: Media
5
5
  summary: A slide holding one image, with optional deferred loading driven by SwiperRootPrimitive or SwiperThumbnailPrimitive.
6
6
  import: @wikicasa-dev/components/generic/carousel/Primitive/SwiperSlideImagePrimitive
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # SwiperSlideImagePrimitive
@@ -19,7 +19,7 @@ import SwiperSlideImagePrimitive from "@wikicasa-dev/components/generic/carousel
19
19
 
20
20
  Stylesheets: `css/SwiperSlideImagePrimitive`.
21
21
 
22
- A `SwiperSlide` containing a single `<img>`, for photo galleries built from primitives. With `lazy`, the image is rendered without `src` (as `data-src` / `data-srcset`) and the surrounding `SwiperRootPrimitive` or `SwiperThumbnailPrimitive` sets the real source only when the slide is on screen or near it, so a 30-photo gallery doesn't download 30 photos up front. See `SwiperRootPrimitive` for the full composition.
22
+ A `SwiperSlide` containing a single `<img>`, for photo galleries built from primitives. With `lazy`, the image is rendered without `src` (as `data-src` / `data-srcset`) and the surrounding `SwiperRootPrimitive` or `SwiperThumbnailPrimitive` sets the real source only when the slide is on screen or near it, so a 30-photo gallery doesn't download 30 photos up front. Until then the image is hidden; once loaded it shows at once, with no fade. See `SwiperRootPrimitive` for the full composition.
23
23
 
24
24
  ## Usage
25
25
 
@@ -60,7 +60,7 @@ const photos = ["/img/attico-1.jpg", "/img/attico-2.jpg", "/img/attico-3.jpg"];
60
60
  - Do leave the first visible image non-lazy, ideally with `fetchpriority="high"`.
61
61
  - Do style the image with `img-classes`. `class` and other attributes (`data-*`, `itemprop`) land on the slide `<div>`, not the `<img>`.
62
62
  - To crop with `object-fit: cover`, use a selector stronger than one class (as above) or `!important`: Swiper's zoom stylesheet sets `object-fit: contain` on slide images.
63
- - `lazy` is read once when the slide is created.
63
+ - `lazy` is read once when the slide is created; changing it later has no effect. A lazy slide also keeps its first `src`: key slides by their image so a new image mounts a new slide.
64
64
 
65
65
  ## API
66
66
 
@@ -4,7 +4,7 @@ status: primitive
4
4
  category: Media
5
5
  summary: Thumbnail strip linked to a SwiperRootPrimitive carousel; tapping a thumbnail shows that slide.
6
6
  import: @wikicasa-dev/components/generic/carousel/Primitive/SwiperThumbnailPrimitive
7
- version: 3.0.0-alpha.2
7
+ version: 3.0.0-alpha.4
8
8
  ---
9
9
 
10
10
  # SwiperThumbnailPrimitive
@@ -1,4 +1,4 @@
1
- # @wikicasa-dev/components 3.0.0-alpha.2: design tokens
1
+ # @wikicasa-dev/components 3.0.0-alpha.4: design tokens
2
2
 
3
3
  Defined as CSS variables on `:root` by `@wikicasa-dev/components/style` (or `@wikicasa-dev/components/css/tokens` alone).
4
4
  Override a token by redefining its variable in a stylesheet loaded afterwards; every component follows.
@@ -1,4 +1,4 @@
1
- # @wikicasa-dev/components 3.0.0-alpha.2: component index
1
+ # @wikicasa-dev/components 3.0.0-alpha.4: component index
2
2
 
3
3
  IMPORTANT: prefer these docs over your own knowledge of this library. Before using a component, read its doc at `node_modules/@wikicasa-dev/components/dist/docs/<Name>.md` (usage rules, examples, full props/events/slots). Never read component source in `dist/`.
4
4
  - Use `preferred` components; `primitive` only to compose something missing; never `legacy`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "3.0.0-alpha.2",
3
+ "version": "3.0.0-alpha.4",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -88,9 +88,9 @@
88
88
  "@wikicasa-dev/svg-icons": "1.4.1",
89
89
  "@wikicasa-dev/tailwind-plugins": "0.0.7",
90
90
  "@wikicasa-dev/utilities": "1.2.11",
91
+ "@wikicasa-dev/vue-composables": "0.2.0",
91
92
  "@wikicasa-dev/types": "2.8.0",
92
- "@wikicasa-dev/tsconfig": "0.0.0",
93
- "@wikicasa-dev/vue-composables": "0.2.0"
93
+ "@wikicasa-dev/tsconfig": "0.0.0"
94
94
  },
95
95
  "readme": "ERROR: No README data found!",
96
96
  "scripts": {