vx-vue 1.1.1 → 1.2.1

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 Gregor Kofler
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Gregor Kofler
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,64 +1,64 @@
1
- # vxVue
2
-
3
- ## Introduction
4
- VxVue provides a handful of reusable Vue components styled with Tailwind CSS. All components are geared towards simplicity leaving room for customizations, extensions or adaptations. At some point a more verbose documentation than this brief readme might emerge.
5
-
6
- ## Requirements
7
- * Vue.js 3.5+
8
- * Tailwind CSS 3.4+
9
-
10
- The official Tailwind CSS forms plugin is used to provide basic styling of the form components using the class strategy which allows the styling of non-form elements consistently.
11
- An easy to configure color theming is applied. `vxvue` and `vxvue-alt` are used as the two colors scales. Since Tailwind won't observe classes in imported components tailwind.config.js should also list the node package in the content array.
12
- ```javascript
13
- module.exports = {
14
- content: [
15
- './node_modules/vx-vue/**/*.js',
16
- ...
17
- ],
18
- theme: {
19
- extend: {
20
- colors: {
21
- 'vxvue': {
22
- DEFAULT: ...,
23
- '50': ...,
24
- ...
25
- '900': ...
26
- },
27
- 'vxvue-alt': {
28
- ...
29
- }
30
- }
31
- }
32
- }
33
- }
34
- ```
35
- To use the few scoped styles along with your CSS add
36
-
37
- ```javascript
38
- import 'vx-vue/vx-vue.css'
39
- ```
40
- to your main.js or index.js file.
41
-
42
- The components use an extra color palette. Used library specific colors are
43
-
44
- ```
45
- *-vxvue
46
- *-vxvue-50
47
- *-vxvue-100
48
- *-vxvue-600
49
- *-vxvue-700
50
-
51
- *-vxvue-alt
52
- *-vxvue-alt-50
53
- *-vxvue-alt-100
54
- *-vxvue-alt-300
55
- *-vxvue-alt-800
56
- *-vxvue-alt-900
57
-
58
- *-error
59
- *-error-50
60
- *-error-600
61
-
62
- *-success
63
- *-success-700
1
+ # vxVue
2
+
3
+ ## Introduction
4
+ VxVue provides a handful of reusable Vue components styled with Tailwind CSS. All components are geared towards simplicity leaving room for customizations, extensions or adaptations. At some point a more verbose documentation than this brief readme might emerge.
5
+
6
+ ## Requirements
7
+ * Vue.js 3.5+
8
+ * Tailwind CSS 3.4+
9
+
10
+ The official Tailwind CSS forms plugin is used to provide basic styling of the form components using the class strategy which allows the styling of non-form elements consistently.
11
+ An easy to configure color theming is applied. `vxvue` and `vxvue-alt` are used as the two colors scales. Since Tailwind won't observe classes in imported components tailwind.config.js should also list the node package in the content array.
12
+ ```javascript
13
+ module.exports = {
14
+ content: [
15
+ './node_modules/vx-vue/**/*.js',
16
+ ...
17
+ ],
18
+ theme: {
19
+ extend: {
20
+ colors: {
21
+ 'vxvue': {
22
+ DEFAULT: ...,
23
+ '50': ...,
24
+ ...
25
+ '900': ...
26
+ },
27
+ 'vxvue-alt': {
28
+ ...
29
+ }
30
+ }
31
+ }
32
+ }
33
+ }
34
+ ```
35
+ To use the few scoped styles along with your CSS add
36
+
37
+ ```javascript
38
+ import 'vx-vue/vx-vue.css'
39
+ ```
40
+ to your main.js or index.js file.
41
+
42
+ The components use an extra color palette. Used library specific colors are
43
+
44
+ ```
45
+ *-vxvue
46
+ *-vxvue-50
47
+ *-vxvue-100
48
+ *-vxvue-600
49
+ *-vxvue-700
50
+
51
+ *-vxvue-alt
52
+ *-vxvue-alt-50
53
+ *-vxvue-alt-100
54
+ *-vxvue-alt-300
55
+ *-vxvue-alt-800
56
+ *-vxvue-alt-900
57
+
58
+ *-error
59
+ *-error-50
60
+ *-error-600
61
+
62
+ *-success
63
+ *-success-700
64
64
  ```
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .messagetoast-fade-enter-from[data-v-49feefa9],.messagetoast-fade-leave-to[data-v-49feefa9]{--tw-translate-y: -2.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0}.messagetoast-fade-enter-to[data-v-49feefa9],.messagetoast-fade-leave-from[data-v-49feefa9]{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}.messagetoast-fade-enter-active[data-v-49feefa9],.messagetoast-fade-leave-active[data-v-49feefa9]{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}button.success[data-v-6ed8744e]{background-color:rgb(var(--success-color));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}button.success[data-v-6ed8744e]:hover{background-color:rgb(var(--success-color-700))}button.success[data-v-6ed8744e]:focus{--tw-ring-color: rgb(var(--success-color)) }button.error[data-v-6ed8744e]{background-color:rgb(var(--error-color));color:rgb(var(--error-color-50))}button.error[data-v-6ed8744e]:hover{background-color:rgb(var(--error-color-600))}button.error[data-v-6ed8744e]:focus{--tw-ring-color: rgb(var(--error-color-600)) }button[data-v-6ed8744e]:disabled{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}button[data-v-6ed8744e]:disabled:hover{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}button[data-v-6ed8744e]:disabled:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}
1
+ /*! tailwindcss v4.0.0 | MIT License | https://tailwindcss.com */button.success[data-v-9f360713]{background-color:var(--color-success);color:var(--color-white)}@media (hover:hover){button.success[data-v-9f360713]:hover{background-color:var(--color-success-700)}}button.success[data-v-9f360713]:focus{--tw-ring-color:var(--color-success)}button.error[data-v-9f360713]{background-color:var(--color-error);color:var(--color-error-50)}@media (hover:hover){button.error[data-v-9f360713]:hover{background-color:var(--color-error-600)}}button.error[data-v-9f360713]:focus{--tw-ring-color:var(--color-error-600)}button[data-v-9f360713]:disabled{background-color:var(--color-slate-300);color:var(--color-slate-800)}@media (hover:hover){button[data-v-9f360713]:disabled:hover{background-color:var(--color-slate-300)}}button[data-v-9f360713]:disabled:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}