vueless 0.0.149 → 0.0.151

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.149",
3
+ "version": "0.0.151",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless Component Framework.",
6
6
  "homepage": "https://vueless.com",
@@ -11,11 +11,11 @@ export default /*tw*/ {
11
11
  base: "flex flex-wrap",
12
12
  variants: {
13
13
  size: {
14
- "2xs": "gap-0.5",
15
- xs: "gap-1",
16
- sm: "gap-1.5",
17
- md: "gap-2",
18
- lg: "gap-2.5",
14
+ "2xs": "gap-1",
15
+ xs: "gap-1.5",
16
+ sm: "gap-2",
17
+ md: "gap-2.5",
18
+ lg: "gap-3",
19
19
  xl: "gap-3",
20
20
  },
21
21
  separated: {
@@ -173,6 +173,14 @@ const props = defineProps({
173
173
  default: UIService.get(defaultConfig, UToggle).default.square,
174
174
  },
175
175
 
176
+ /**
177
+ * Component ui config object.
178
+ */
179
+ config: {
180
+ type: Object,
181
+ default: () => ({}),
182
+ },
183
+
176
184
  /**
177
185
  * Sets data-cy attribute for automated testing.
178
186
  */
@@ -2,7 +2,7 @@ export default /*tw*/ {
2
2
  wrapper: "relative inline-block",
3
3
  trigger: "flex items-center relative space-x-0.5",
4
4
  link: "",
5
- icon: "transition-all duration-300",
5
+ icon: "block transition-all duration-300",
6
6
  iconName: "keyboard_arrow_down",
7
7
  iconRotate: "rotate-180",
8
8
  listWrapper: {
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.149",
4
+ "version": "0.0.151",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -7137,6 +7137,15 @@
7137
7137
  },
7138
7138
  "default": "false"
7139
7139
  },
7140
+ {
7141
+ "name": "config",
7142
+ "description": "Component ui config object.",
7143
+ "value": {
7144
+ "kind": "expression",
7145
+ "type": "object"
7146
+ },
7147
+ "default": "{}"
7148
+ },
7140
7149
  {
7141
7150
  "name": "dataCy",
7142
7151
  "description": "Sets data-cy attribute for automated testing.",