@raylang/react 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.
- package/components/radio.js +1 -1
- package/index.d.ts +3 -1
- package/package.json +2 -2
package/components/radio.js
CHANGED
|
@@ -10,6 +10,6 @@ export const RayRadioGroup = /*#__PURE__*/ createComponent("ray-radio-group", {
|
|
|
10
10
|
});
|
|
11
11
|
export const RayRadio = /*#__PURE__*/ createComponent("ray-radio", {
|
|
12
12
|
displayName: "RayRadio",
|
|
13
|
-
properties: ["value", "label", "description", "disabled", "color", "size", "variant"],
|
|
13
|
+
properties: ["value", "checked", "label", "description", "disabled", "color", "size", "variant"],
|
|
14
14
|
events: { },
|
|
15
15
|
});
|
package/index.d.ts
CHANGED
|
@@ -782,6 +782,8 @@ export declare const RayRadioGroup: React.ForwardRefExoticComponent<RayRadioGrou
|
|
|
782
782
|
export interface RayRadioOwnProps {
|
|
783
783
|
/** Value given to the group when chosen. */
|
|
784
784
|
value?: string;
|
|
785
|
+
/** 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). */
|
|
786
|
+
checked?: boolean;
|
|
785
787
|
/** Label text (or the content). */
|
|
786
788
|
label?: string;
|
|
787
789
|
/** Help text under the label. */
|
|
@@ -1680,7 +1682,7 @@ export type RayCodeProps = RayCodeOwnProps & Omit<React.HTMLAttributes<Ray.RayCo
|
|
|
1680
1682
|
export declare const RayCode: React.ForwardRefExoticComponent<RayCodeProps & React.RefAttributes<Ray.RayCode>>;
|
|
1681
1683
|
|
|
1682
1684
|
export interface RayIconOwnProps {
|
|
1683
|
-
/** Registered icon name (iconNames()). */
|
|
1685
|
+
/** Registered icon name (iconNames()); "none" draws nothing, a blank that keeps the alignment (a menu item without its check). */
|
|
1684
1686
|
name?: string;
|
|
1685
1687
|
/** xs…xl or any CSS length. Default: 1em. */
|
|
1686
1688
|
size?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raylang/react",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "React wrappers of the ray-elements web components",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": ["web-components", "design-system", "ui", "raylang", "react"],
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@raylang/elements": "^0.5.
|
|
31
|
+
"@raylang/elements": "^0.5.2",
|
|
32
32
|
"react": ">=18"
|
|
33
33
|
}
|
|
34
34
|
}
|