vueless 0.0.609 → 0.0.610

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.609",
3
+ "version": "0.0.610",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -30,12 +30,6 @@ export default /*tw*/ {
30
30
  },
31
31
  toggleInput: "p-0 m-0 size-0 invisible absolute",
32
32
  defaults: {
33
- variant: "primary",
34
- type: "radio",
35
- size: "md",
36
- block: false,
37
- round: false,
38
- square: false,
39
33
  disabled: false,
40
34
  },
41
35
  };
@@ -11,7 +11,6 @@ export default /*tw*/ {
11
11
  size: "sm",
12
12
  confirmColor: "brand",
13
13
  inner: false,
14
- noDivider: false,
15
14
  closeOnEsc: true,
16
15
  closeOnCross: true,
17
16
  closeOnOverlay: true,
@@ -28,7 +28,6 @@ export default /*tw*/ {
28
28
  size: "md",
29
29
  variant: "primary",
30
30
  labelKey: "label",
31
- valueKey: "id",
32
31
  yPosition: "bottom",
33
32
  xPosition: "left",
34
33
  round: false,
@@ -28,7 +28,6 @@ export default /*tw*/ {
28
28
  size: "md",
29
29
  variant: "primary",
30
30
  labelKey: "label",
31
- valueKey: "id",
32
31
  yPosition: "bottom",
33
32
  xPosition: "left",
34
33
  filled: false,
@@ -26,7 +26,6 @@ export default /*tw*/ {
26
26
  color: "brand",
27
27
  size: "md",
28
28
  labelKey: "label",
29
- valueKey: "id",
30
29
  yPosition: "bottom",
31
30
  xPosition: "left",
32
31
  underlined: undefined,
@@ -10,7 +10,6 @@ export default /*tw*/ {
10
10
  minLength: 0,
11
11
  disabled: false,
12
12
  readonly: false,
13
- searchButton: false,
14
13
  /* icons */
15
14
  clearIcon: "close",
16
15
  searchIcon: "search",
@@ -19,7 +19,7 @@ export default /*tw*/ {
19
19
  },
20
20
  disabled: {
21
21
  true: `
22
- focus-within:ring-0 focus-within:ring-offset-0 bg-gray-100
22
+ focus-within:ring-0 focus-within:ring-offset-0 bg-gray-100
23
23
  hover:border-gray-300 focus-within:border-gray-300 hover:focus-within:border-gray-300
24
24
  `,
25
25
  },
@@ -53,7 +53,6 @@ export default /*tw*/ {
53
53
  defaults: {
54
54
  rows: "3",
55
55
  size: "md",
56
- type: "text",
57
56
  inputmode: "text",
58
57
  labelAlign: "topInside",
59
58
  resizable: false,
@@ -52,7 +52,7 @@ const { config, overlayAttrs, nestedLoaderAttrs } = useUI<Config>(defaultConfig)
52
52
 
53
53
  <template>
54
54
  <Transition v-bind="config.transition">
55
- <div v-if="showLoader" v-bind="overlayAttrs">
55
+ <div v-if="showLoader" v-bind="overlayAttrs" :data-test="dataTest">
56
56
  <!-- @slot Use it to add something instead of the default loader. -->
57
57
  <slot>
58
58
  <ULoader :loading="showLoader" size="lg" :color="loaderColor" v-bind="nestedLoaderAttrs" />
@@ -40,4 +40,9 @@ export interface Props {
40
40
  * Component config object.
41
41
  */
42
42
  config?: ComponentConfig<Config>;
43
+
44
+ /**
45
+ * Data-test attribute for automated testing.
46
+ */
47
+ dataTest?: string;
43
48
  }
@@ -16,7 +16,6 @@ export default /*tw*/ {
16
16
  },
17
17
  },
18
18
  defaults: {
19
- size: "md",
20
19
  disabled: false,
21
20
  },
22
21
  };
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.609",
4
+ "version": "0.0.610",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -7748,6 +7748,15 @@
7748
7748
  "kind": "expression",
7749
7749
  "type": "ComponentConfig"
7750
7750
  }
7751
+ },
7752
+ {
7753
+ "name": "dataTest",
7754
+ "required": false,
7755
+ "description": "Data-test attribute for automated testing.",
7756
+ "value": {
7757
+ "kind": "expression",
7758
+ "type": "string"
7759
+ }
7751
7760
  }
7752
7761
  ],
7753
7762
  "slots": [