@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.cjs
CHANGED
|
@@ -1501,9 +1501,11 @@ var tabsSpec = (s) => {
|
|
|
1501
1501
|
const fields = [
|
|
1502
1502
|
["children", jArray(s.children.map(node))],
|
|
1503
1503
|
// 0.2.0 omitted-when-default (`Horizontal`).
|
|
1504
|
-
...s.orientation === "Horizontal" ? [] : [["orientation", str(s.orientation)]]
|
|
1505
|
-
["activeIndex", binding(s.activeIndex)]
|
|
1504
|
+
...s.orientation === "Horizontal" ? [] : [["orientation", str(s.orientation)]]
|
|
1506
1505
|
];
|
|
1506
|
+
if (!(s.activeIndex.kind === "Static" && s.activeIndex.value === 0)) {
|
|
1507
|
+
fields.push(["activeIndex", binding(s.activeIndex)]);
|
|
1508
|
+
}
|
|
1507
1509
|
if (s.onSelect !== void 0) fields.push(["onSelect", CLOSURE]);
|
|
1508
1510
|
if (s.tabHeaders !== void 0) fields.push(["tabHeaders", jArray(s.tabHeaders.map(tabHeader))]);
|
|
1509
1511
|
if (s.tabTags !== void 0) fields.push(["tabTags", jArray(s.tabTags.map(str))]);
|