@semcore/radio 17.0.0-prerelease.36 → 17.0.0-prerelease.39
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 +2 -2
- package/lib/esm/Radio.mjs +4 -3
- package/lib/esm/Radio.type.mjs +1 -0
- package/lib/esm/index.mjs +1 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
-
## [17.0.0] - 2026-04-
|
|
5
|
+
## [17.0.0] - 2026-04-14
|
|
6
6
|
|
|
7
7
|
### BREAK
|
|
8
8
|
|
|
9
|
-
-
|
|
9
|
+
- New major version.
|
|
10
10
|
|
|
11
11
|
### Fixed
|
|
12
12
|
|
package/lib/esm/Radio.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
-
import { sstyled,
|
|
2
|
+
import { sstyled, Component, assignProps, createComponent } from "@semcore/core";
|
|
3
3
|
import { Flex, Box, InvalidStateBox } from "@semcore/base-components";
|
|
4
4
|
import { callAllEventHandlers } from "@semcore/core/lib/utils/assignProps";
|
|
5
5
|
import resolveColorEnhance from "@semcore/core/lib/utils/enhances/resolveColorEnhance";
|
|
@@ -9,7 +9,6 @@ import logger from "@semcore/core/lib/utils/logger";
|
|
|
9
9
|
import { useColorResolver } from "@semcore/core/lib/utils/use/useColorResolver";
|
|
10
10
|
import { Text as Text$1 } from "@semcore/typography";
|
|
11
11
|
import React from "react";
|
|
12
|
-
/*!__reshadow-styles__:"./style/radio.shadow.css"*/
|
|
13
12
|
const style = (
|
|
14
13
|
/*__reshadow_css_start__*/
|
|
15
14
|
(sstyled.insert(
|
|
@@ -253,7 +252,8 @@ class ValueRoot extends Component {
|
|
|
253
252
|
Children
|
|
254
253
|
} = this.asProps;
|
|
255
254
|
if (!hasChildren) {
|
|
256
|
-
|
|
255
|
+
var _ref7;
|
|
256
|
+
return _ref7 = sstyled(styles), /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Radio.Value.Control, null), /* @__PURE__ */ React.createElement(Radio.Value.RadioMark, null));
|
|
257
257
|
}
|
|
258
258
|
return _ref8 = sstyled(styles), /* @__PURE__ */ React.createElement(Children, _ref8.cn("Children", {}));
|
|
259
259
|
}
|
|
@@ -281,6 +281,7 @@ function Control(props) {
|
|
|
281
281
|
}, _ref3)
|
|
282
282
|
}));
|
|
283
283
|
}
|
|
284
|
+
;
|
|
284
285
|
Control.displayName = "Control";
|
|
285
286
|
function RadioMark(props) {
|
|
286
287
|
var _ref4 = arguments[0], _ref0;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/lib/esm/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/radio",
|
|
3
3
|
"description": "Semrush Radio Component",
|
|
4
|
-
"version": "17.0.0-prerelease.
|
|
4
|
+
"version": "17.0.0-prerelease.39",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"author": "UI-kit team <ui-kit-team@semrush.com>",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"exports": {
|
|
12
|
-
"
|
|
12
|
+
"types": "./lib/types/index.d.ts",
|
|
13
13
|
"import": "./lib/esm/index.mjs",
|
|
14
|
-
"
|
|
14
|
+
"require": "./lib/cjs/index.js"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/typography": "^17.0.0-prerelease.
|
|
17
|
+
"@semcore/typography": "^17.0.0-prerelease.39"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@semcore/base-components": "^17.0.0 || ^17.0.0-0"
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"directory": "semcore/radio"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@semcore/
|
|
29
|
-
"@semcore/
|
|
30
|
-
"@semcore/
|
|
28
|
+
"@semcore/core": "17.0.0-prerelease.39",
|
|
29
|
+
"@semcore/base-components": "17.0.0-prerelease.39",
|
|
30
|
+
"@semcore/testing-utils": "1.0.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "pnpm semcore-builder && pnpm vite build"
|