@semcore/radio 16.1.0-prerelease.5 → 16.1.0
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/lib/esm/Radio.mjs +6 -6
- package/package.json +5 -5
package/lib/esm/Radio.mjs
CHANGED
|
@@ -43,7 +43,7 @@ var style = (
|
|
|
43
43
|
"__SInvalidPattern": "___SInvalidPattern_12d1k_gg_"
|
|
44
44
|
})
|
|
45
45
|
);
|
|
46
|
-
var RadioGroupRoot = /* @__PURE__ */ function(_Component) {
|
|
46
|
+
var RadioGroupRoot = /* @__PURE__ */ (function(_Component) {
|
|
47
47
|
function RadioGroupRoot2() {
|
|
48
48
|
_classCallCheck(this, RadioGroupRoot2);
|
|
49
49
|
return _callSuper(this, RadioGroupRoot2, arguments);
|
|
@@ -81,13 +81,13 @@ var RadioGroupRoot = /* @__PURE__ */ function(_Component) {
|
|
|
81
81
|
}, _ref), /* @__PURE__ */ React.createElement(Children, null));
|
|
82
82
|
}
|
|
83
83
|
}]);
|
|
84
|
-
}(Component);
|
|
84
|
+
})(Component);
|
|
85
85
|
_defineProperty(RadioGroupRoot, "displayName", "RadioGroup");
|
|
86
86
|
_defineProperty(RadioGroupRoot, "defaultProps", {
|
|
87
87
|
defaultValue: null
|
|
88
88
|
});
|
|
89
89
|
var RadioGroup = createComponent(RadioGroupRoot);
|
|
90
|
-
var RadioRoot = /* @__PURE__ */ function(_Component2) {
|
|
90
|
+
var RadioRoot = /* @__PURE__ */ (function(_Component2) {
|
|
91
91
|
function RadioRoot2() {
|
|
92
92
|
var _this;
|
|
93
93
|
_classCallCheck(this, RadioRoot2);
|
|
@@ -152,11 +152,11 @@ var RadioRoot = /* @__PURE__ */ function(_Component2) {
|
|
|
152
152
|
}, _ref2))), hasChildren ? /* @__PURE__ */ React.createElement(Children, _ref6.cn("Children", {})) : /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Radio.Value, null), /* @__PURE__ */ React.createElement(Radio.Text, null)));
|
|
153
153
|
}
|
|
154
154
|
}]);
|
|
155
|
-
}(Component);
|
|
155
|
+
})(Component);
|
|
156
156
|
_defineProperty(RadioRoot, "displayName", "Radio");
|
|
157
157
|
_defineProperty(RadioRoot, "style", style);
|
|
158
158
|
_defineProperty(RadioRoot, "contextType", RadioGroup[CONTEXT_COMPONENT]);
|
|
159
|
-
var ValueRoot = /* @__PURE__ */ function(_Component3) {
|
|
159
|
+
var ValueRoot = /* @__PURE__ */ (function(_Component3) {
|
|
160
160
|
function ValueRoot2() {
|
|
161
161
|
var _this2;
|
|
162
162
|
_classCallCheck(this, ValueRoot2);
|
|
@@ -255,7 +255,7 @@ var ValueRoot = /* @__PURE__ */ function(_Component3) {
|
|
|
255
255
|
return _ref8 = sstyled(styles), /* @__PURE__ */ React.createElement(Children, _ref8.cn("Children", {}));
|
|
256
256
|
}
|
|
257
257
|
}]);
|
|
258
|
-
}(Component);
|
|
258
|
+
})(Component);
|
|
259
259
|
_defineProperty(ValueRoot, "defaultProps", {
|
|
260
260
|
includeInputProps: inputProps,
|
|
261
261
|
defaultChecked: false
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/radio",
|
|
3
3
|
"description": "Semrush Radio Component",
|
|
4
|
-
"version": "16.1.0
|
|
4
|
+
"version": "16.1.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/flex-box": "16.0.10
|
|
18
|
-
"@semcore/typography": "16.3.0
|
|
17
|
+
"@semcore/flex-box": "16.0.10",
|
|
18
|
+
"@semcore/typography": "16.3.0"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@semcore/base-components": "^16.
|
|
21
|
+
"@semcore/base-components": "^16.0.0"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@semcore/testing-utils": "1.0.0",
|
|
30
|
-
"@semcore/core": "16.5.0
|
|
30
|
+
"@semcore/core": "16.5.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "pnpm semcore-builder --source=js && pnpm vite build"
|