vueless 0.0.276 → 0.0.277

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.276",
3
+ "version": "0.0.277",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless Component Framework.",
6
6
  "homepage": "https://vueless.com",
@@ -25,7 +25,7 @@ export default /*tw*/ {
25
25
  w-full inline-block cursor-pointer !leading-none transition
26
26
  text-{color}-600 decoration-{color}-600 underline-offset-4
27
27
  hover:text-{color}-700 hover:decoration-{color}-700
28
- focus:text-{color}-700 focus:decoration-{color}-700 focus:ring-0 focus:ring-offset-0
28
+ focus:text-{color}-700 focus:decoration-{color}-700 focus:outline-0
29
29
  active:text-{color}-800 active:decoration-{color}-800
30
30
  `,
31
31
  variants: {
@@ -79,8 +79,12 @@ export default /*tw*/ {
79
79
  replace: false,
80
80
  },
81
81
  safelist: (colors) => [
82
- { pattern: `decoration-(${colors})-500` },
83
- { pattern: `text-(${colors})-500` },
84
- { pattern: `ring-(${colors})-500`, variants: ["focus-within"] },
82
+ { pattern: `text-(${colors})-600` },
83
+ { pattern: `text-(${colors})-700`, variants: ["hover", "focus"] },
84
+ { pattern: `text-(${colors})-800`, variants: ["active"] },
85
+ { pattern: `decoration-(${colors})-600` },
86
+ { pattern: `decoration-(${colors})-700`, variants: ["hover", "focus"] },
87
+ { pattern: `decoration-(${colors})-800`, variants: ["active"] },
88
+ { pattern: `ring-(${colors})-700`, variants: ["focus-within"] },
85
89
  ],
86
90
  };
@@ -11,6 +11,7 @@
11
11
  :target="targetValue"
12
12
  :data-cy="dataCy"
13
13
  v-bind="linkAttrs"
14
+ tabindex="0"
14
15
  @blur="onBlur"
15
16
  @focus="onFocus"
16
17
  @click="onClick"
@@ -29,6 +30,7 @@
29
30
  :target="targetValue"
30
31
  :data-cy="dataCy"
31
32
  v-bind="linkAttrs"
33
+ tabindex="0"
32
34
  @blur="onBlur"
33
35
  @focus="onFocus"
34
36
  @click="onClick"
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.276",
4
+ "version": "0.0.277",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",