vueless 0.0.779 → 0.0.780

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.779",
3
+ "version": "0.0.780",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -84,7 +84,21 @@ export default /*tw*/ {
84
84
  leftSlot: "{>toggle} pl-2.5",
85
85
  rightSlot: "{>toggle} pr-2.5",
86
86
  beforeToggle: "{>toggle} cursor-auto",
87
- afterToggle: "{>toggle} mr-2.5 items-start pt-3 cursor-auto",
87
+ afterToggle: {
88
+ base: "{>toggle} mr-2.5 items-start cursor-auto",
89
+ variants: {
90
+ size: {
91
+ sm: "pt-0.5",
92
+ md: "pt-1",
93
+ lg: "pt-1.5",
94
+ },
95
+ },
96
+ compoundVariants: [
97
+ { labelAlign: "topInside", size: "sm", class: "pt-2" },
98
+ { labelAlign: "topInside", size: "md", class: "pt-3" },
99
+ { labelAlign: "topInside", size: "lg", class: "pt-4" },
100
+ ],
101
+ },
88
102
  toggle: {
89
103
  base: "flex items-center",
90
104
  compoundVariants: [