vueless 0.0.275 → 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.
|
|
3
|
+
"version": "0.0.277",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Vue Styleless Component Framework.",
|
|
6
6
|
"homepage": "https://vueless.com",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@release-it/bumper": "^6.0.1",
|
|
38
38
|
"@vitejs/plugin-vue": "^5.0.5",
|
|
39
39
|
"@vue/eslint-config-prettier": "^9.0.0",
|
|
40
|
-
"@vueless/plugin-vite": "^0.0.
|
|
40
|
+
"@vueless/plugin-vite": "^0.0.50",
|
|
41
41
|
"@vueless/storybook": "^0.0.34",
|
|
42
42
|
"@vueless/web-types": "^0.0.13",
|
|
43
43
|
"autoprefixer": "^10.4.19",
|
|
@@ -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:
|
|
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: `
|
|
83
|
-
{ pattern: `text-(${colors})-
|
|
84
|
-
{ pattern: `
|
|
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
|
};
|
package/ui.button-link/index.vue
CHANGED
|
@@ -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"
|