@semcore/accordion 16.7.0-prerelease.5 → 16.7.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/Accordion.mjs +6 -6
- package/package.json +9 -9
package/lib/esm/Accordion.mjs
CHANGED
|
@@ -32,7 +32,7 @@ var style = (
|
|
|
32
32
|
"_selected": "__selected_hn2bd_gg_"
|
|
33
33
|
})
|
|
34
34
|
);
|
|
35
|
-
var RootAccordion = /* @__PURE__ */ function(_Component) {
|
|
35
|
+
var RootAccordion = /* @__PURE__ */ (function(_Component) {
|
|
36
36
|
function RootAccordion2() {
|
|
37
37
|
var _this;
|
|
38
38
|
_classCallCheck(this, RootAccordion2);
|
|
@@ -81,7 +81,7 @@ var RootAccordion = /* @__PURE__ */ function(_Component) {
|
|
|
81
81
|
return /* @__PURE__ */ React.createElement(Children, null);
|
|
82
82
|
}
|
|
83
83
|
}]);
|
|
84
|
-
}(Component);
|
|
84
|
+
})(Component);
|
|
85
85
|
_defineProperty(RootAccordion, "displayName", "Accordion");
|
|
86
86
|
_defineProperty(RootAccordion, "style", style);
|
|
87
87
|
_defineProperty(RootAccordion, "defaultProps", {
|
|
@@ -94,7 +94,7 @@ _defineProperty(RootAccordion, "enhance", [cssVariableEnhance({
|
|
|
94
94
|
map: Number.parseInt,
|
|
95
95
|
prop: "duration"
|
|
96
96
|
})]);
|
|
97
|
-
var RootItem = /* @__PURE__ */ function(_Component2) {
|
|
97
|
+
var RootItem = /* @__PURE__ */ (function(_Component2) {
|
|
98
98
|
function RootItem2() {
|
|
99
99
|
var _this2;
|
|
100
100
|
_classCallCheck(this, RootItem2);
|
|
@@ -162,11 +162,11 @@ var RootItem = /* @__PURE__ */ function(_Component2) {
|
|
|
162
162
|
return /* @__PURE__ */ React.createElement(Children, null);
|
|
163
163
|
}
|
|
164
164
|
}]);
|
|
165
|
-
}(Component);
|
|
165
|
+
})(Component);
|
|
166
166
|
_defineProperty(RootItem, "displayName", "Item");
|
|
167
167
|
_defineProperty(RootItem, "style", style);
|
|
168
168
|
_defineProperty(RootItem, "enhance", [uniqueIDEnhancement()]);
|
|
169
|
-
var Toggle = /* @__PURE__ */ function(_Component3) {
|
|
169
|
+
var Toggle = /* @__PURE__ */ (function(_Component3) {
|
|
170
170
|
function Toggle2() {
|
|
171
171
|
var _this3;
|
|
172
172
|
_classCallCheck(this, Toggle2);
|
|
@@ -204,7 +204,7 @@ var Toggle = /* @__PURE__ */ function(_Component3) {
|
|
|
204
204
|
}, _ref))));
|
|
205
205
|
}
|
|
206
206
|
}]);
|
|
207
|
-
}(Component);
|
|
207
|
+
})(Component);
|
|
208
208
|
function Chevron(props) {
|
|
209
209
|
var _ref2 = arguments[0], _ref6;
|
|
210
210
|
var styles = props.styles, size = props.size;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/accordion",
|
|
3
3
|
"description": "Semrush Accordion Component",
|
|
4
|
-
"version": "16.7.0
|
|
4
|
+
"version": "16.7.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/animation": "16.0.6
|
|
18
|
-
"@semcore/flex-box": "16.0.10
|
|
19
|
-
"@semcore/icon": "16.5.1
|
|
20
|
-
"@semcore/button": "16.0.10
|
|
21
|
-
"@semcore/typography": "16.3.0
|
|
17
|
+
"@semcore/animation": "16.0.6",
|
|
18
|
+
"@semcore/flex-box": "16.0.10",
|
|
19
|
+
"@semcore/icon": "16.5.1",
|
|
20
|
+
"@semcore/button": "16.0.10",
|
|
21
|
+
"@semcore/typography": "16.3.0",
|
|
22
22
|
"csstype": "3.1.3"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@semcore/base-components": "^16.
|
|
25
|
+
"@semcore/base-components": "^16.0.0"
|
|
26
26
|
},
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"directory": "semcore/accordion"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@semcore/
|
|
34
|
-
"@semcore/
|
|
33
|
+
"@semcore/testing-utils": "1.0.0",
|
|
34
|
+
"@semcore/core": "16.5.0"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "pnpm semcore-builder --source=js && pnpm vite build"
|