@fuaran-ui/ops 0.23.0 → 0.24.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/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1499,9 +1499,11 @@ var tabsSpec = (s) => {
|
|
|
1499
1499
|
const fields = [
|
|
1500
1500
|
["children", jArray(s.children.map(node))],
|
|
1501
1501
|
// 0.2.0 omitted-when-default (`Horizontal`).
|
|
1502
|
-
...s.orientation === "Horizontal" ? [] : [["orientation", str(s.orientation)]]
|
|
1503
|
-
["activeIndex", binding(s.activeIndex)]
|
|
1502
|
+
...s.orientation === "Horizontal" ? [] : [["orientation", str(s.orientation)]]
|
|
1504
1503
|
];
|
|
1504
|
+
if (!(s.activeIndex.kind === "Static" && s.activeIndex.value === 0)) {
|
|
1505
|
+
fields.push(["activeIndex", binding(s.activeIndex)]);
|
|
1506
|
+
}
|
|
1505
1507
|
if (s.onSelect !== void 0) fields.push(["onSelect", CLOSURE]);
|
|
1506
1508
|
if (s.tabHeaders !== void 0) fields.push(["tabHeaders", jArray(s.tabHeaders.map(tabHeader))]);
|
|
1507
1509
|
if (s.tabTags !== void 0) fields.push(["tabTags", jArray(s.tabTags.map(str))]);
|