vueless 0.0.311 → 0.0.313

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.311",
3
+ "version": "0.0.313",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless Component Framework.",
6
6
  "homepage": "https://vueless.com",
@@ -165,7 +165,7 @@ const props = defineProps({
165
165
  * Controls the keyboard “Tab” focus order of elements.
166
166
  */
167
167
  tabindex: {
168
- type: String,
168
+ type: [String, Number],
169
169
  default: getDefault(defaultConfig, UButton).tabindex,
170
170
  },
171
171
 
@@ -1,6 +1,6 @@
1
1
  export default /*tw*/ {
2
2
  icon: {
3
- base: "flex w-fit fill-current outline-0",
3
+ base: "fill-current outline-0 shrink-0 grow-0",
4
4
  variants: {
5
5
  variant: {
6
6
  light: "text-{color}-400",
@@ -31,14 +31,14 @@ export default /*tw*/ {
31
31
  },
32
32
  },
33
33
  defaults: {
34
- name: "",
35
- library: "@material-symbols",
36
- weight: 500,
37
- style: "outlined",
38
34
  color: "grayscale",
39
35
  size: "md",
40
36
  variant: "default",
41
37
  interactive: false,
38
+ /* icon library */
39
+ library: "@material-symbols",
40
+ style: "outlined",
41
+ weight: 500,
42
42
  },
43
43
  safelist: (colors) => [
44
44
  { pattern: `text-(${colors})-400` },
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.311",
4
+ "version": "0.0.313",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -947,7 +947,7 @@
947
947
  "description": "Controls the keyboard “Tab” focus order of elements.",
948
948
  "value": {
949
949
  "kind": "expression",
950
- "type": "string"
950
+ "type": "string|number"
951
951
  },
952
952
  "default": "0"
953
953
  },
@@ -4092,7 +4092,7 @@
4092
4092
  "kind": "expression",
4093
4093
  "type": "string"
4094
4094
  },
4095
- "default": ""
4095
+ "default": "\"\""
4096
4096
  },
4097
4097
  {
4098
4098
  "name": "color",