@raylang/vue 0.5.1 → 0.5.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.
@@ -9,6 +9,6 @@ export const RayRadioGroup = /*#__PURE__*/ createComponent("RayRadioGroup", "ray
9
9
  model: { prop: "value", events: ["change"] },
10
10
  });
11
11
  export const RayRadio = /*#__PURE__*/ createComponent("RayRadio", "ray-radio", {
12
- properties: ["value", "label", "description", "disabled", "color", "size", "variant"],
13
- booleans: ["disabled"],
12
+ properties: ["value", "checked", "label", "description", "disabled", "color", "size", "variant"],
13
+ booleans: ["checked", "disabled"],
14
14
  });
package/index.d.ts CHANGED
@@ -797,6 +797,8 @@ export declare const RayRadioGroup: DefineComponent<RayRadioGroupProps>;
797
797
  export interface RayRadioProps {
798
798
  /** Value given to the group when chosen. */
799
799
  value?: string;
800
+ /** Whether this radio is the group's value; setting it sets the group's value. The checked attribute marks the group's initial value (when the group has no value attribute). */
801
+ checked?: boolean;
800
802
  /** Label text (or the content). */
801
803
  label?: string;
802
804
  /** Help text under the label. */
@@ -1708,7 +1710,7 @@ export interface RayCodeProps {
1708
1710
  export declare const RayCode: DefineComponent<RayCodeProps>;
1709
1711
 
1710
1712
  export interface RayIconProps {
1711
- /** Registered icon name (iconNames()). */
1713
+ /** Registered icon name (iconNames()); "none" draws nothing, a blank that keeps the alignment (a menu item without its check). */
1712
1714
  name?: string;
1713
1715
  /** xs…xl or any CSS length. Default: 1em. */
1714
1716
  size?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raylang/vue",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Vue 3 wrappers (with v-model) of the ray-elements web components",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": ["web-components", "design-system", "ui", "raylang", "vue"],
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "sideEffects": false,
30
30
  "peerDependencies": {
31
- "@raylang/elements": "^0.5.1",
31
+ "@raylang/elements": "^0.5.2",
32
32
  "vue": ">=3.3"
33
33
  }
34
34
  }