@synerise/ds-radio 1.1.9 → 1.1.11
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 +10 -0
- package/dist/Radio.js +2 -2
- package/dist/Radio.styles.d.ts +1 -1
- package/dist/Radio.styles.js +4 -4
- package/dist/Radio.types.d.ts +1 -1
- package/package.json +13 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.1.11](https://github.com/synerise/synerise-design/compare/@synerise/ds-radio@1.1.10...@synerise/ds-radio@1.1.11) (2026-05-04)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- add exports field to all component packages for correct ESM detection ([6eccfde](https://github.com/synerise/synerise-design/commit/6eccfde8f2dd73c59860793231fbd7bcd61813b4))
|
|
11
|
+
|
|
12
|
+
## [1.1.10](https://github.com/synerise/synerise-design/compare/@synerise/ds-radio@1.1.9...@synerise/ds-radio@1.1.10) (2026-04-29)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @synerise/ds-radio
|
|
15
|
+
|
|
6
16
|
## [1.1.9](https://github.com/synerise/synerise-design/compare/@synerise/ds-radio@1.1.8...@synerise/ds-radio@1.1.9) (2026-04-28)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @synerise/ds-radio
|
package/dist/Radio.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import { Radio as Radio$1 } from "antd";
|
|
3
3
|
import { RadioWrapper, AntRadio, Label, AdditionalData, Description, AntRadioGroup } from "./Radio.styles.js";
|
|
4
4
|
import "./style/index.css";
|
|
5
5
|
const Group = ({
|
|
@@ -23,7 +23,7 @@ const RadioComponent = ({
|
|
|
23
23
|
};
|
|
24
24
|
const Radio = Object.assign(RadioComponent, {
|
|
25
25
|
Group,
|
|
26
|
-
Button:
|
|
26
|
+
Button: Radio$1.Button
|
|
27
27
|
});
|
|
28
28
|
export {
|
|
29
29
|
Radio as default
|
package/dist/Radio.styles.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const Label: import('styled-components').StyledComponent<({ id, l
|
|
|
8
8
|
}, never>;
|
|
9
9
|
export declare const AdditionalData: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
10
10
|
export declare const AntRadio: import('styled-components').StyledComponent<({ ...rest }: any) => React.JSX.Element, any, {}, never>;
|
|
11
|
-
export declare const AntRadioGroup: import('styled-components').StyledComponent<React.MemoExoticComponent<React.ForwardRefExoticComponent<import('antd
|
|
11
|
+
export declare const AntRadioGroup: import('styled-components').StyledComponent<React.MemoExoticComponent<React.ForwardRefExoticComponent<import('antd').RadioGroupProps & React.RefAttributes<HTMLDivElement>>>, any, {
|
|
12
12
|
fullWidth?: boolean;
|
|
13
13
|
big?: boolean;
|
|
14
14
|
}, never>;
|
package/dist/Radio.styles.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import { Radio } from "antd";
|
|
3
3
|
import styled, { css } from "styled-components";
|
|
4
4
|
import { FormFieldLabel } from "@synerise/ds-form-field";
|
|
5
|
-
import { macro } from "@synerise/ds-typography
|
|
5
|
+
import { macro } from "@synerise/ds-typography";
|
|
6
6
|
const RadioWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
7
7
|
displayName: "Radiostyles__RadioWrapper",
|
|
8
8
|
componentId: "sc-137n5jf-0"
|
|
@@ -21,11 +21,11 @@ const AdditionalData = /* @__PURE__ */ styled.div.withConfig({
|
|
|
21
21
|
})(["margin:4px 8px 15px 28px;"]);
|
|
22
22
|
const AntRadio = /* @__PURE__ */ styled(({
|
|
23
23
|
...rest
|
|
24
|
-
}) => /* @__PURE__ */ jsx(
|
|
24
|
+
}) => /* @__PURE__ */ jsx(Radio, { ...rest })).withConfig({
|
|
25
25
|
displayName: "Radiostyles__AntRadio",
|
|
26
26
|
componentId: "sc-137n5jf-4"
|
|
27
27
|
})([".ant-radio{height:16px;top:0;}.ant-radio + span{flex-grow:1;}"]);
|
|
28
|
-
const AntRadioGroup = /* @__PURE__ */ styled(
|
|
28
|
+
const AntRadioGroup = /* @__PURE__ */ styled(Radio.Group).withConfig({
|
|
29
29
|
displayName: "Radiostyles__AntRadioGroup",
|
|
30
30
|
componentId: "sc-137n5jf-5"
|
|
31
31
|
})(["", ""], (props) => props.fullWidth && css(["&&{display:flex;width:100%;label{flex:1;height:", ";display:flex;align-items:center;justify-content:center;font-weight:500;}}"], props.big ? "48px" : "32px"));
|
package/dist/Radio.types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RadioGroupProps as AntdRadioGroupProps, RadioProps as AntdRadioProps } from 'antd
|
|
1
|
+
import { RadioGroupProps as AntdRadioGroupProps, RadioProps as AntdRadioProps } from 'antd';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
export type RadioProps = AntdRadioProps & {
|
|
4
4
|
description?: ReactNode;
|
package/package.json
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-radio",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.11",
|
|
4
4
|
"description": "Radio UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./dist/*.js": "./dist/*.js",
|
|
15
|
+
"./dist/*": "./dist/*.js"
|
|
16
|
+
},
|
|
8
17
|
"files": [
|
|
9
18
|
"/dist",
|
|
10
19
|
"CHANGELOG.md",
|
|
@@ -32,8 +41,8 @@
|
|
|
32
41
|
],
|
|
33
42
|
"types": "dist/index.d.ts",
|
|
34
43
|
"dependencies": {
|
|
35
|
-
"@synerise/ds-form-field": "^1.3.
|
|
36
|
-
"@synerise/ds-typography": "^1.1.
|
|
44
|
+
"@synerise/ds-form-field": "^1.3.18",
|
|
45
|
+
"@synerise/ds-typography": "^1.1.21"
|
|
37
46
|
},
|
|
38
47
|
"peerDependencies": {
|
|
39
48
|
"@synerise/ds-core": "*",
|
|
@@ -42,5 +51,5 @@
|
|
|
42
51
|
"styled-components": "^5.3.3",
|
|
43
52
|
"vitest": "4"
|
|
44
53
|
},
|
|
45
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "c5eee882509cbeb4544cb45939620881b829d4d9"
|
|
46
55
|
}
|