@sheinx/base 3.3.7-beta.3 → 3.3.7-beta.5
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/cjs/tabs/tab.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;;
|
|
1
|
+
{"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;;AAoHtC,wBAAqC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs-header.d.ts","sourceRoot":"","sources":["tabs-header.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAwBrD,QAAA,MAAM,UAAU,UAAW,eAAe,
|
|
1
|
+
{"version":3,"file":"tabs-header.d.ts","sourceRoot":"","sources":["tabs-header.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAwBrD,QAAA,MAAM,UAAU,UAAW,eAAe,gBA0OzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/tabs/tabs-header.js
CHANGED
|
@@ -145,11 +145,7 @@ var TabsHeader = function TabsHeader(props) {
|
|
|
145
145
|
button: buttonStyle
|
|
146
146
|
},
|
|
147
147
|
children: tabs.map(function (tab, index) {
|
|
148
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_tab.default, _objectSpread(
|
|
149
|
-
ref: function ref(node) {
|
|
150
|
-
tabRef.current[tab.id] = node;
|
|
151
|
-
}
|
|
152
|
-
}), index);
|
|
148
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_tab.default, _objectSpread({}, tab), index);
|
|
153
149
|
})
|
|
154
150
|
}), shape !== 'button' && tabs.map(function (tab, index) {
|
|
155
151
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_tab.default, _objectSpread(_objectSpread({}, tab), {}, {
|
package/esm/tabs/tab.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;;
|
|
1
|
+
{"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;;AAoHtC,wBAAqC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs-header.d.ts","sourceRoot":"","sources":["tabs-header.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAwBrD,QAAA,MAAM,UAAU,UAAW,eAAe,
|
|
1
|
+
{"version":3,"file":"tabs-header.d.ts","sourceRoot":"","sources":["tabs-header.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAwBrD,QAAA,MAAM,UAAU,UAAW,eAAe,gBA0OzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/tabs/tabs-header.js
CHANGED
|
@@ -139,11 +139,7 @@ var TabsHeader = function TabsHeader(props) {
|
|
|
139
139
|
button: buttonStyle
|
|
140
140
|
},
|
|
141
141
|
children: tabs.map(function (tab, index) {
|
|
142
|
-
return /*#__PURE__*/_jsx(Tab, _objectSpread(
|
|
143
|
-
ref: function ref(node) {
|
|
144
|
-
tabRef.current[tab.id] = node;
|
|
145
|
-
}
|
|
146
|
-
}), index);
|
|
142
|
+
return /*#__PURE__*/_jsx(Tab, _objectSpread({}, tab), index);
|
|
147
143
|
})
|
|
148
144
|
}), shape !== 'button' && tabs.map(function (tab, index) {
|
|
149
145
|
return /*#__PURE__*/_jsx(Tab, _objectSpread(_objectSpread({}, tab), {}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/base",
|
|
3
|
-
"version": "3.3.7-beta.
|
|
3
|
+
"version": "3.3.7-beta.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"module": "./esm/index.js",
|
|
11
11
|
"typings": "./cjs/index.d.ts",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@sheinx/hooks": "3.3.7-beta.
|
|
13
|
+
"@sheinx/hooks": "3.3.7-beta.5",
|
|
14
14
|
"immer": "^10.0.0",
|
|
15
15
|
"classnames": "^2.0.0",
|
|
16
16
|
"@shined/reactive": "^0.1.3-alpha.0"
|