@synopackageland/ui 0.17.14 → 0.17.15

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.17.15 (2026-10-31)
4
+
5
+ - `RadioGroup` takes `variant="card"`: each option is a choice card with an optional `icon` tile (`RadioOption.icon`), its label and description, and the radio dot. The whole card picks it; the chosen card takes the primary border and a soft fill (`data-ui-choice-card`, `data-state`). Horizontal cards share the row, at least 180px each, and wrap. Use it for a wizard step's 2–4 options (docs/wizard.md, Choices). The default variant is unchanged.
6
+
3
7
  ## 0.17.14 (2026-10-30)
4
8
 
5
9
  - `SectionTabs keep-mounted` retains all supplied item panels with `v-show`, preserving component-local drafts across tab switches, with or without `fill`. Inactive panels are hidden; the default still unmounts them.
@@ -1,20 +1,26 @@
1
+ import { Component } from 'vue';
1
2
  export type RadioOption = {
2
3
  label: string;
3
4
  value: string;
4
5
  description?: string;
5
6
  disabled?: boolean;
7
+ /** An icon in a tile at the top of the option; drawn by the `card` variant only. */
8
+ icon?: Component;
6
9
  };
7
10
  type __VLS_Props = {
8
11
  modelValue?: string;
9
12
  options: RadioOption[];
10
13
  orientation?: 'vertical' | 'horizontal';
11
14
  disabled?: boolean;
15
+ /** `card` draws each option as a choice card (a wizard step's options); the radio dot stays. */
16
+ variant?: 'default' | 'card';
12
17
  };
13
18
  declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
19
  "update:modelValue": (value: string) => any;
15
20
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
21
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
17
22
  }>, {
23
+ variant: "default" | "card";
18
24
  disabled: boolean;
19
25
  orientation: "vertical" | "horizontal";
20
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;