@destyler/splitter 0.0.1 → 0.0.3
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 -12
- package/dist/index.mjs +4 -12
- package/package.json +6 -5
package/dist/index.cjs
CHANGED
|
@@ -1531,9 +1531,7 @@ const DestylerSplitterGroup = vue.defineComponent({
|
|
|
1531
1531
|
"data-panel-group": "",
|
|
1532
1532
|
"data-orientation": this.$props.direction,
|
|
1533
1533
|
"data-panel-group-id": this.groupId
|
|
1534
|
-
},
|
|
1535
|
-
default: () => this.$slots.default?.()
|
|
1536
|
-
});
|
|
1534
|
+
}, () => this.$slots.default?.());
|
|
1537
1535
|
}
|
|
1538
1536
|
});
|
|
1539
1537
|
|
|
@@ -1685,9 +1683,7 @@ const DestylerSplitterResizeHandle = vue.defineComponent({
|
|
|
1685
1683
|
"onFocus": () => {
|
|
1686
1684
|
this.isFocused = false;
|
|
1687
1685
|
}
|
|
1688
|
-
},
|
|
1689
|
-
default: () => this.$slots.default?.()
|
|
1690
|
-
}), [
|
|
1686
|
+
}, () => this.$slots.default?.()), [
|
|
1691
1687
|
[directives.BindOnceDirective, { id: this.resizeHandleId }]
|
|
1692
1688
|
]);
|
|
1693
1689
|
}
|
|
@@ -1788,9 +1784,7 @@ const DestylerSplitterPanel = vue.defineComponent({
|
|
|
1788
1784
|
"data-panel-group-id": this.groupId,
|
|
1789
1785
|
"data-panel-id": this.panelId,
|
|
1790
1786
|
"data-panel-size": Number.parseFloat(`${this.style.flexGrow}`).toFixed(1)
|
|
1791
|
-
},
|
|
1792
|
-
default: () => this.$slots.default?.()
|
|
1793
|
-
}), [
|
|
1787
|
+
}, () => this.$slots.default?.()), [
|
|
1794
1788
|
[directives.BindOnceDirective, { id: this.panelId }]
|
|
1795
1789
|
]);
|
|
1796
1790
|
}
|
|
@@ -1818,9 +1812,7 @@ const DestylerSplitterRoot = vue.defineComponent({
|
|
|
1818
1812
|
return vue.h(primitive.DestylerPrimitive, {
|
|
1819
1813
|
as: this.$props.as,
|
|
1820
1814
|
asChild: this.$props.asChild
|
|
1821
|
-
},
|
|
1822
|
-
default: () => this.$slots.default?.()
|
|
1823
|
-
});
|
|
1815
|
+
}, () => this.$slots.default?.());
|
|
1824
1816
|
}
|
|
1825
1817
|
});
|
|
1826
1818
|
|
package/dist/index.mjs
CHANGED
|
@@ -1529,9 +1529,7 @@ const DestylerSplitterGroup = defineComponent({
|
|
|
1529
1529
|
"data-panel-group": "",
|
|
1530
1530
|
"data-orientation": this.$props.direction,
|
|
1531
1531
|
"data-panel-group-id": this.groupId
|
|
1532
|
-
},
|
|
1533
|
-
default: () => this.$slots.default?.()
|
|
1534
|
-
});
|
|
1532
|
+
}, () => this.$slots.default?.());
|
|
1535
1533
|
}
|
|
1536
1534
|
});
|
|
1537
1535
|
|
|
@@ -1683,9 +1681,7 @@ const DestylerSplitterResizeHandle = defineComponent({
|
|
|
1683
1681
|
"onFocus": () => {
|
|
1684
1682
|
this.isFocused = false;
|
|
1685
1683
|
}
|
|
1686
|
-
},
|
|
1687
|
-
default: () => this.$slots.default?.()
|
|
1688
|
-
}), [
|
|
1684
|
+
}, () => this.$slots.default?.()), [
|
|
1689
1685
|
[BindOnceDirective, { id: this.resizeHandleId }]
|
|
1690
1686
|
]);
|
|
1691
1687
|
}
|
|
@@ -1786,9 +1782,7 @@ const DestylerSplitterPanel = defineComponent({
|
|
|
1786
1782
|
"data-panel-group-id": this.groupId,
|
|
1787
1783
|
"data-panel-id": this.panelId,
|
|
1788
1784
|
"data-panel-size": Number.parseFloat(`${this.style.flexGrow}`).toFixed(1)
|
|
1789
|
-
},
|
|
1790
|
-
default: () => this.$slots.default?.()
|
|
1791
|
-
}), [
|
|
1785
|
+
}, () => this.$slots.default?.()), [
|
|
1792
1786
|
[BindOnceDirective, { id: this.panelId }]
|
|
1793
1787
|
]);
|
|
1794
1788
|
}
|
|
@@ -1816,9 +1810,7 @@ const DestylerSplitterRoot = defineComponent({
|
|
|
1816
1810
|
return h(DestylerPrimitive, {
|
|
1817
1811
|
as: this.$props.as,
|
|
1818
1812
|
asChild: this.$props.asChild
|
|
1819
|
-
},
|
|
1820
|
-
default: () => this.$slots.default?.()
|
|
1821
|
-
});
|
|
1813
|
+
}, () => this.$slots.default?.());
|
|
1822
1814
|
}
|
|
1823
1815
|
});
|
|
1824
1816
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@destyler/splitter",
|
|
3
|
-
"
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.0.3",
|
|
4
5
|
"description": "unstyled splitter component for vue",
|
|
5
6
|
"author": "Elone Hoo <elonehoo@gmail.com>",
|
|
6
7
|
"license": "MIT",
|
|
@@ -33,11 +34,11 @@
|
|
|
33
34
|
"vue": ">=3.3.4"
|
|
34
35
|
},
|
|
35
36
|
"dependencies": {
|
|
36
|
-
"@destyler/composition": "0.0.1-beta.22",
|
|
37
|
-
"@destyler/directives": "0.0.1-beta.22",
|
|
38
37
|
"nanoid": "^5.0.6",
|
|
39
|
-
"@destyler/
|
|
40
|
-
"@destyler/primitive": "0.0.
|
|
38
|
+
"@destyler/directives": "0.0.3",
|
|
39
|
+
"@destyler/primitive": "0.0.3",
|
|
40
|
+
"@destyler/composition": "0.0.3",
|
|
41
|
+
"@destyler/shared": "0.0.3"
|
|
41
42
|
},
|
|
42
43
|
"scripts": {
|
|
43
44
|
"clear": "rimraf ./dist",
|