@volverjs/style 0.1.2-beta.11 → 0.1.2-beta.17

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.
Files changed (51) hide show
  1. package/dist/components/vv-alert.css +1 -1
  2. package/dist/components/vv-avatar.css +1 -0
  3. package/dist/components/vv-badge.css +1 -1
  4. package/dist/components/vv-card.css +1 -1
  5. package/dist/components/vv-dialog.css +1 -1
  6. package/dist/components/vv-input-checkbox.css +1 -1
  7. package/dist/components/vv-input-text.css +1 -1
  8. package/dist/components/vv-nav.css +1 -1
  9. package/dist/components/vv-textarea.css +1 -1
  10. package/dist/components/vv-toast.css +1 -0
  11. package/dist/components/vv-tooltip.css +1 -0
  12. package/dist/components.css +1 -1
  13. package/dist/export.css +1 -1
  14. package/dist/props/background.css +1 -1
  15. package/dist/props/colors.css +1 -1
  16. package/dist/props.css +1 -1
  17. package/dist/themes/dark/components.css +1 -1
  18. package/dist/themes/dark/props.css +1 -1
  19. package/dist/themes/dark/volver.css +1 -1
  20. package/dist/utilities/backgrounds.css +1 -1
  21. package/dist/utilities/colors.css +1 -1
  22. package/dist/utilities.css +1 -1
  23. package/dist/volver.css +1 -1
  24. package/package.json +8 -2
  25. package/src/_config.scss +3 -0
  26. package/src/_preflight.scss +251 -248
  27. package/src/components/index.scss +4 -1
  28. package/src/components/vv-avatar.scss +12 -0
  29. package/src/components/vv-toast.scss +12 -0
  30. package/src/components/vv-tooltip.scss +12 -0
  31. package/src/settings/_background.scss +3 -1
  32. package/src/settings/_colors.scss +14 -1
  33. package/src/settings/_index.scss +4 -1
  34. package/src/settings/components/_vv-alert.scss +73 -72
  35. package/src/settings/components/_vv-avatar.scss +34 -0
  36. package/src/settings/components/_vv-badge.scss +6 -0
  37. package/src/settings/components/_vv-card.scss +2 -1
  38. package/src/settings/components/_vv-dialog.scss +9 -3
  39. package/src/settings/components/_vv-input-checkbox.scss +8 -0
  40. package/src/settings/components/_vv-input-text.scss +16 -0
  41. package/src/settings/components/_vv-nav.scss +27 -1
  42. package/src/settings/components/_vv-textarea.scss +21 -0
  43. package/src/settings/components/_vv-toast.scss +128 -0
  44. package/src/settings/components/_vv-tooltip.scss +140 -0
  45. package/src/themes/dark/_context.scss +4 -1
  46. package/src/themes/dark/components/index.scss +0 -1
  47. package/src/themes/dark/settings/_background.scss +2 -0
  48. package/src/themes/dark/settings/_colors.scss +14 -1
  49. package/src/themes/dark/settings/_index.scss +0 -1
  50. package/src/themes/dark/components/_vv-alert.scss +0 -22
  51. package/src/themes/dark/settings/components/_vv-alert.scss +0 -80
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volverjs/style",
3
- "version": "0.1.2-beta.11",
3
+ "version": "0.1.2-beta.17",
4
4
  "description": "@volverjs/style is a lightweight responsive CSS utility library to accompany @volverjs/ui and static webpages as well.",
5
5
  "main": "dist/style.css",
6
6
  "style": "dist/style.css",
@@ -27,6 +27,8 @@
27
27
  "./scss/components/vv-accordion": "./src/components/vv-accordion.scss",
28
28
  "./components/vv-alert": "./dist/components/vv-alert.css",
29
29
  "./scss/components/vv-alert": "./src/components/vv-alert.scss",
30
+ "./components/vv-avatar": "./dist/components/vv-avatar.css",
31
+ "./scss/components/vv-avatar": "./src/components/vv-avatar.scss",
30
32
  "./components/vv-badge": "./dist/components/vv-badge.css",
31
33
  "./scss/components/vv-badge": "./src/components/vv-badge.scss",
32
34
  "./components/vv-breadcrumb": "./dist/components/vv-breadcrumb.css",
@@ -63,6 +65,10 @@
63
65
  "./scss/components/vv-text": "./src/components/vv-text.scss",
64
66
  "./components/vv-textarea": "./dist/components/vv-textarea.css",
65
67
  "./scss/components/vv-textarea": "./src/components/vv-textarea.scss",
68
+ "./components/vv-toast": "./dist/components/vv-toast.css",
69
+ "./scss/components/vv-toast": "./src/components/vv-toast.scss",
70
+ "./components/vv-tooltip": "./dist/components/vv-tooltip.css",
71
+ "./scss/components/vv-tooltip": "./src/components/vv-tooltip.scss",
66
72
  "./export": "./dist/export.css",
67
73
  "./scss/export": "./src/export.scss",
68
74
  "./props/animation": "./dist/props/animation.css",
@@ -152,13 +158,13 @@
152
158
  "eslint-plugin-vue": "^9.7.0",
153
159
  "glob": "^8.0.3",
154
160
  "icss-utils": "^5.1.0",
161
+ "markdown-it-anchor": "^8.6.5",
155
162
  "markdown-it-prism": "^2.3.0",
156
163
  "postcss": "^8.4.18",
157
164
  "postcss-html": "^1.5.0",
158
165
  "postcss-preset-env": "^7.8.2",
159
166
  "prism-themes": "^1.9.0",
160
167
  "prismjs": "1.29.0",
161
- "promise": "^8.3.0",
162
168
  "sass": "^1.56.0",
163
169
  "stylelint": "^14.14.1",
164
170
  "stylelint-config-prettier": "^9.0.3",
package/src/_config.scss CHANGED
@@ -25,6 +25,7 @@ $components-names: (
25
25
  vv-input-checkbox: $components-prefix + -input-checkbox,
26
26
  vv-input-radio-group: $components-prefix + -input-radio-group,
27
27
  vv-input-radio: $components-prefix + -input-radio,
28
+ vv-avatar: $components-prefix + -avatar,
28
29
  vv-input-text: $components-prefix + -input-text,
29
30
  vv-nav: $components-prefix + -nav,
30
31
  vv-progress: $components-prefix + -progress,
@@ -32,4 +33,6 @@ $components-names: (
32
33
  vv-table: $components-prefix + -table,
33
34
  vv-text: $components-prefix + -text,
34
35
  vv-textarea: $components-prefix + -textarea,
36
+ vv-toast: $components-prefix + -toast,
37
+ vv-tooltip: $components-prefix + -tooltip,
35
38
  ) !default;
@@ -9,343 +9,346 @@
9
9
  }
10
10
 
11
11
  :where(.preflight) {
12
- // typography
13
- :where(h1, h2, h3, h4, h5, h6) {
14
- @extend %vv-text !optional;
15
- @extend %vv-text--headline !optional;
16
- }
17
-
18
- :where(h1) {
19
- @extend %vv-text--size-1 !optional;
20
- }
21
-
22
- :where(h2) {
23
- @extend %vv-text--size-2 !optional;
24
- }
25
-
26
- :where(h3) {
27
- @extend %vv-text--size-3 !optional;
28
- }
29
-
30
- :where(h4) {
31
- @extend %vv-text--size-4 !optional;
32
- }
33
-
34
- :where(h5) {
35
- @extend %vv-text--size-5 !optional;
36
- }
37
-
38
- :where(h6) {
39
- @extend %vv-text--size-6 !optional;
40
- }
41
-
42
- :where(p) {
43
- @extend %vv-text !optional;
44
- @extend %vv-text--copy !optional;
45
- }
46
-
47
- :where(blockquote) {
48
- @extend %vv-text !optional;
49
- @extend %vv-text--quote !optional;
50
- }
51
-
52
- :where(ul, ol) {
53
- @extend %list-inside !optional;
54
- @extend %my-sm !optional;
55
- @extend %pl-lg !optional;
56
- }
57
-
58
- :where(ul) {
59
- @extend %list-disc !optional;
60
- }
61
-
62
- :where(ol) {
63
- @extend %list-decimal !optional;
64
- }
12
+ :not(.preflight-revert *) {
13
+ // typography
14
+ &:where(h1, h2, h3, h4, h5, h6) {
15
+ @extend %vv-text !optional;
16
+ @extend %vv-text--headline !optional;
17
+ }
65
18
 
66
- :where(b, strong, th) {
67
- @extend %font-bold !optional;
68
- }
19
+ &:where(h1) {
20
+ @extend %vv-text--size-1 !optional;
21
+ }
69
22
 
70
- :where(em, i, cite, dfn, var) {
71
- @extend %italic !optional;
72
- }
23
+ &:where(h2) {
24
+ @extend %vv-text--size-2 !optional;
25
+ }
73
26
 
74
- :where(dfn, var) {
75
- @extend %font-serif !optional;
76
- }
27
+ &:where(h3) {
28
+ @extend %vv-text--size-3 !optional;
29
+ }
77
30
 
78
- :where(del, s) {
79
- @extend %line-through !optional;
80
- }
31
+ &:where(h4) {
32
+ @extend %vv-text--size-4 !optional;
33
+ }
81
34
 
82
- :where(ins, u, cite, a) {
83
- @extend %underline !optional;
84
- }
35
+ &:where(h5) {
36
+ @extend %vv-text--size-5 !optional;
37
+ }
85
38
 
86
- :where(abbr) {
87
- @extend %underline !optional;
88
- @extend %decoration-dotted !optional;
89
- }
39
+ &:where(h6) {
40
+ @extend %vv-text--size-6 !optional;
41
+ }
90
42
 
91
- :where(code) {
92
- @extend %font-mono !optional;
93
- }
43
+ &:where(p) {
44
+ @extend %vv-text !optional;
45
+ @extend %vv-text--copy !optional;
46
+ }
94
47
 
95
- :where(sub) {
96
- @extend %align-sub !optional;
97
- @extend %text-smaller !optional;
98
- }
48
+ &:where(blockquote) {
49
+ @extend %vv-text !optional;
50
+ @extend %vv-text--quote !optional;
51
+ }
99
52
 
100
- :where(sup) {
101
- @extend %align-super !optional;
102
- @extend %text-smaller !optional;
103
- }
53
+ &:where(ul, ol) {
54
+ @extend %list-inside !optional;
55
+ @extend %my-sm !optional;
56
+ @extend %pl-lg !optional;
57
+ }
104
58
 
105
- :where(q) {
106
- @extend %font-serif !optional;
107
- }
59
+ &:where(ul) {
60
+ @extend %list-disc !optional;
61
+ }
108
62
 
109
- :where(small) {
110
- @extend %text-smaller !optional;
111
- }
63
+ &:where(ol) {
64
+ @extend %list-decimal !optional;
65
+ }
112
66
 
113
- :where(mark) {
114
- @extend %bg-warning !optional;
115
- }
67
+ &:where(b, strong, th) {
68
+ @extend %font-bold !optional;
69
+ }
116
70
 
117
- :where(pre) {
118
- @extend %font-mono !optional;
119
- @extend %whitespace-pre-line !optional;
120
- }
71
+ &:where(em, i, cite, dfn, var) {
72
+ @extend %italic !optional;
73
+ }
121
74
 
122
- :where(dl) {
123
- @extend %my-sm !optional;
124
- }
75
+ &:where(dfn, var) {
76
+ @extend %font-serif !optional;
77
+ }
125
78
 
126
- :where(dd) {
127
- @extend %ml-sm !optional;
128
- }
79
+ &:where(del, s) {
80
+ @extend %line-through !optional;
81
+ }
129
82
 
130
- :where(hr) {
131
- @extend %my-lg !optional;
132
- @extend %border !optional;
133
- @extend %border-solid !optional;
134
- @extend %border-surface-3 !optional;
135
- }
83
+ &:where(ins, u, cite, a) {
84
+ @extend %underline !optional;
85
+ }
136
86
 
137
- // buttons
138
- :where(button, input[type='button'], input[type='submit'], input[type='reset']) {
139
- @extend %vv-button !optional;
87
+ &:where(abbr) {
88
+ @extend %underline !optional;
89
+ @extend %decoration-dotted !optional;
90
+ }
140
91
 
141
- &:where([type='button']) {
142
- @extend %vv-button--primary !optional;
92
+ &:where(code) {
93
+ @extend %font-mono !optional;
143
94
  }
144
95
 
145
- &:where([type='reset']) {
146
- @extend %vv-button--secondary !optional;
96
+ &:where(sub) {
97
+ @extend %align-sub !optional;
98
+ @extend %text-smaller !optional;
147
99
  }
148
100
 
149
- &:where(:disabled) {
150
- @extend %vv-button--disabled !optional;
101
+ &:where(sup) {
102
+ @extend %align-super !optional;
103
+ @extend %text-smaller !optional;
151
104
  }
152
105
 
153
- &:where(:hover) {
154
- @extend %vv-button--hover !optional;
106
+ &:where(q) {
107
+ @extend %font-serif !optional;
155
108
  }
156
109
 
157
- &:where(:focus) {
158
- @extend %vv-button--focus !optional;
110
+ &:where(small) {
111
+ @extend %text-smaller !optional;
159
112
  }
160
113
 
161
- &:where(:focus-visible) {
162
- @extend %vv-button--focus-visible !optional;
114
+ &:where(mark) {
115
+ @extend %bg-warning !optional;
163
116
  }
164
117
 
165
- &:where(:visited) {
166
- @extend %vv-button--visited !optional;
118
+ &:where(pre) {
119
+ @extend %font-mono !optional;
120
+ @extend %whitespace-pre-line !optional;
167
121
  }
168
122
 
169
- &:where(:active) {
170
- @extend %vv-button--active !optional;
123
+ &:where(dl) {
124
+ @extend %my-sm !optional;
171
125
  }
172
126
 
173
- &
174
- + :where(button, input[type='button'], input[type='submit'], input[type='reset']) {
127
+ &:where(dd) {
175
128
  @extend %ml-sm !optional;
176
129
  }
177
- }
178
-
179
- // table
180
- :where(table) {
181
- @extend %vv-table !optional;
182
130
 
183
- :where(tr) {
184
- @extend %vv-table__tr !optional;
131
+ &:where(hr) {
132
+ @extend %my-lg !optional;
133
+ @extend %border !optional;
134
+ @extend %border-solid !optional;
135
+ @extend %border-surface-3 !optional;
185
136
  }
186
137
 
187
- :where(td) {
188
- @extend %vv-table__td !optional;
189
- }
138
+ // buttons
139
+ &:where(button, input[type='button'], input[type='submit'], input[type='reset']) {
140
+ @extend %vv-button !optional;
190
141
 
191
- :where(th) {
192
- @extend %vv-table__th !optional;
193
- }
194
- }
142
+ &:where([type='button']) {
143
+ @extend %vv-button--primary !optional;
144
+ }
195
145
 
196
- // progress
197
- :where(progress) {
198
- @extend %vv-progress !optional;
199
- }
146
+ &:where([type='reset']) {
147
+ @extend %vv-button--secondary !optional;
148
+ }
200
149
 
201
- // checkbox
202
- :where(fieldset:has(input[type='checkbox'])) {
203
- @extend %vv-input-checkbox-group !optional;
150
+ &:where(:disabled) {
151
+ @extend %vv-button--disabled !optional;
152
+ }
204
153
 
205
- :where(legend) {
206
- @extend %vv-input-checkbox-group__legend !optional;
207
- }
208
- }
154
+ &:where(:hover) {
155
+ @extend %vv-button--hover !optional;
156
+ }
209
157
 
210
- :where(label:has(input[type='checkbox'])) {
211
- @extend %w-full !optional;
212
- @extend %vv-input-checkbox !optional;
158
+ &:where(:focus) {
159
+ @extend %vv-button--focus !optional;
160
+ }
213
161
 
214
- :where(input[type='checkbox']) {
215
- @extend %vv-input-checkbox__input !optional;
162
+ &:where(:focus-visible) {
163
+ @extend %vv-button--focus-visible !optional;
164
+ }
216
165
 
217
- &:checked {
218
- @extend %vv-input-checkbox-element-input--checked !optional;
166
+ &:where(:visited) {
167
+ @extend %vv-button--visited !optional;
219
168
  }
220
169
 
221
- &:indeterminate {
222
- @extend %vv-input-checkbox-element-input--indeterminate
223
- !optional;
170
+ &:where(:active) {
171
+ @extend %vv-button--active !optional;
224
172
  }
225
173
 
226
- &:focus-visible {
227
- @extend %vv-input-checkbox-element-input--focus-visible
228
- !optional;
174
+ &
175
+ + :where(button, input[type='button'], input[type='submit'], input[type='reset']) {
176
+ @extend %ml-sm !optional;
229
177
  }
230
178
  }
231
- }
232
-
233
- // switch
234
- :where(label:has(input[type='checkbox'][role='switch'])) {
235
- @extend %vv-input-checkbox--switch !optional;
236
179
 
237
- :where(input[type='checkbox'][role='switch']) {
238
- @extend %vv-input-checkbox-modifier-switch__input !optional;
180
+ // table
181
+ &:where(table) {
182
+ @extend %vv-table !optional;
239
183
 
240
- &:hover {
241
- @extend %vv-input-checkbox-modifier-switch-element-input--hover
242
- !optional;
184
+ :where(tr) {
185
+ @extend %vv-table__tr !optional;
243
186
  }
244
187
 
245
- &:active {
246
- @extend %vv-input-checkbox-modifier-switch-element-input--active
247
- !optional;
188
+ :where(td) {
189
+ @extend %vv-table__td !optional;
248
190
  }
249
191
 
250
- &:checked {
251
- @extend %vv-input-checkbox-modifier-switch-element-input--checked
252
- !optional;
192
+ :where(th) {
193
+ @extend %vv-table__th !optional;
253
194
  }
195
+ }
196
+
197
+ // progress
198
+ &:where(progress) {
199
+ @extend %vv-progress !optional;
200
+ }
254
201
 
255
- &:focus-visible {
256
- @extend %vv-input-checkbox-modifier-switch-element-input--focus-visible
257
- !optional;
202
+ // checkbox
203
+ &:where(fieldset:has(input[type='checkbox'])) {
204
+ @extend %vv-input-checkbox-group !optional;
205
+
206
+ :where(legend) {
207
+ @extend %vv-input-checkbox-group__legend !optional;
258
208
  }
259
209
  }
260
- }
261
210
 
262
- :where(label:has(input[type='checkbox']:disabled)) {
263
- @extend %vv-input-checkbox--disabled !optional;
264
- }
211
+ &:where(label:has(input[type='checkbox'])) {
212
+ @extend %w-full !optional;
213
+ @extend %vv-input-checkbox !optional;
214
+
215
+ :where(input[type='checkbox']) {
216
+ @extend %vv-input-checkbox__input !optional;
265
217
 
266
- // radio
267
- :where(fieldset:has(input[type='radio'])) {
268
- @extend %vv-input-radio-group !optional;
218
+ &:checked {
219
+ @extend %vv-input-checkbox-element-input--checked !optional;
220
+ }
269
221
 
270
- :where(legend) {
271
- @extend %vv-input-radio-group__legend !optional;
222
+ &:indeterminate {
223
+ @extend %vv-input-checkbox-element-input--indeterminate
224
+ !optional;
225
+ }
226
+
227
+ &:focus-visible {
228
+ @extend %vv-input-checkbox-element-input--focus-visible
229
+ !optional;
230
+ }
231
+ }
272
232
  }
273
- }
274
233
 
275
- :where(label:has(input[type='radio'])) {
276
- @extend %w-full !optional;
277
- @extend %vv-input-radio !optional;
234
+ // switch
235
+ &:where(label:has(input[type='checkbox'][role='switch'])) {
236
+ @extend %vv-input-checkbox--switch !optional;
278
237
 
279
- :where(input[type='radio']) {
280
- @extend %vv-input-radio__input !optional;
238
+ :where(input[type='checkbox'][role='switch']) {
239
+ @extend %vv-input-checkbox-modifier-switch__input !optional;
281
240
 
282
- &:checked {
283
- @extend %vv-input-radio-element-input--checked !optional;
241
+ &:hover {
242
+ @extend %vv-input-checkbox-modifier-switch-element-input--hover
243
+ !optional;
244
+ }
245
+
246
+ &:active {
247
+ @extend %vv-input-checkbox-modifier-switch-element-input--active
248
+ !optional;
249
+ }
250
+
251
+ &:checked {
252
+ @extend %vv-input-checkbox-modifier-switch-element-input--checked
253
+ !optional;
254
+ }
255
+
256
+ &:focus-visible {
257
+ @extend %vv-input-checkbox-modifier-switch-element-input--focus-visible
258
+ !optional;
259
+ }
284
260
  }
261
+ }
262
+
263
+ &:where(label:has(input[type='checkbox']:disabled)) {
264
+ @extend %vv-input-checkbox--disabled !optional;
265
+ }
266
+
267
+ // radio
268
+ &:where(fieldset:has(input[type='radio'])) {
269
+ @extend %vv-input-radio-group !optional;
285
270
 
286
- &:focus-visible {
287
- @extend %vv-input-radio-element-input--focus-visible !optional;
271
+ :where(legend) {
272
+ @extend %vv-input-radio-group__legend !optional;
288
273
  }
289
274
  }
290
- }
291
275
 
292
- :where(label:has(input[type='radio']:disabled)) {
293
- @extend %vv-input-radio--disabled !optional;
294
- }
276
+ &:where(label:has(input[type='radio'])) {
277
+ @extend %w-full !optional;
278
+ @extend %vv-input-radio !optional;
295
279
 
296
- // textarea
297
- :where(label:has(+ textarea)) {
298
- @extend %vv-textarea__label !optional;
299
- }
280
+ :where(input[type='radio']) {
281
+ @extend %vv-input-radio__input !optional;
300
282
 
301
- :where(textarea) {
302
- @extend %w-full !optional;
303
- @extend %vv-textarea !optional;
304
- @extend %vv-textarea__wrapper !optional;
305
- @extend %vv-textarea__input !optional;
283
+ &:checked {
284
+ @extend %vv-input-radio-element-input--checked !optional;
285
+ }
306
286
 
307
- &:disabled {
308
- @extend %vv-textarea--disabled !optional;
287
+ &:focus-visible {
288
+ @extend %vv-input-radio-element-input--focus-visible
289
+ !optional;
290
+ }
291
+ }
309
292
  }
310
293
 
311
- &:readonly {
312
- @extend %vv-textarea--readonly !optional;
294
+ &:where(label:has(input[type='radio']:disabled)) {
295
+ @extend %vv-input-radio--disabled !optional;
313
296
  }
314
- }
315
297
 
316
- // select
317
- :where(label:has(+ select)) {
318
- @extend %vv-select__label !optional;
319
- }
298
+ // textarea
299
+ &:where(label:has(+ textarea)) {
300
+ @extend %vv-textarea__label !optional;
301
+ }
320
302
 
321
- :where(select) {
322
- @extend %w-full !optional;
323
- @extend %vv-select !optional;
324
- @extend %vv-select__wrapper !optional;
325
- @extend %vv-select__input !optional;
303
+ &:where(textarea) {
304
+ @extend %w-full !optional;
305
+ @extend %vv-textarea !optional;
306
+ @extend %vv-textarea__wrapper !optional;
307
+ @extend %vv-textarea__input !optional;
326
308
 
327
- &:disabled {
328
- @extend %vv-select--disabled !optional;
309
+ &:disabled {
310
+ @extend %vv-textarea--disabled !optional;
311
+ }
312
+
313
+ &:readonly {
314
+ @extend %vv-textarea--readonly !optional;
315
+ }
329
316
  }
330
- }
331
317
 
332
- // input text
333
- :where(label:has(+ input:not([type='radio'], [type='checkbox'], [type='button'], [type='submit'], [type='reset']))) {
334
- @extend %vv-input-text__label !optional;
335
- }
318
+ // select
319
+ &:where(label:has(+ select)) {
320
+ @extend %vv-select__label !optional;
321
+ }
336
322
 
337
- :where(input:not([type='radio'], [type='checkbox'], [type='button'], [type='submit'], [type='reset'])) {
338
- @extend %w-full !optional;
339
- @extend %vv-input-text !optional;
340
- @extend %vv-input-text__wrapper !optional;
341
- @extend %vv-input-text__input !optional;
323
+ &:where(select) {
324
+ @extend %w-full !optional;
325
+ @extend %vv-select !optional;
326
+ @extend %vv-select__wrapper !optional;
327
+ @extend %vv-select__input !optional;
342
328
 
343
- &:disabled {
344
- @extend %vv-input-text--disabled !optional;
329
+ &:disabled {
330
+ @extend %vv-select--disabled !optional;
331
+ }
345
332
  }
346
333
 
347
- &:readonly {
348
- @extend %vv-input-text--readonly !optional;
334
+ // input text
335
+ &:where(label:has(+ input:not([type='radio'], [type='checkbox'], [type='button'], [type='submit'], [type='reset']))) {
336
+ @extend %vv-input-text__label !optional;
337
+ }
338
+
339
+ &:where(input:not([type='radio'], [type='checkbox'], [type='button'], [type='submit'], [type='reset'])) {
340
+ @extend %w-full !optional;
341
+ @extend %vv-input-text !optional;
342
+ @extend %vv-input-text__wrapper !optional;
343
+ @extend %vv-input-text__input !optional;
344
+
345
+ &:disabled {
346
+ @extend %vv-input-text--disabled !optional;
347
+ }
348
+
349
+ &:readonly {
350
+ @extend %vv-input-text--readonly !optional;
351
+ }
349
352
  }
350
353
  }
351
354
  }
@@ -2,8 +2,8 @@
2
2
  @import 'vv-alert';
3
3
  @import 'vv-badge';
4
4
  @import 'vv-breadcrumb';
5
- @import 'vv-button-group';
6
5
  @import 'vv-button';
6
+ @import 'vv-button-group';
7
7
  @import 'vv-card';
8
8
  @import 'vv-dialog';
9
9
  @import 'vv-dropdown';
@@ -11,6 +11,7 @@
11
11
  @import 'vv-input-checkbox';
12
12
  @import 'vv-input-radio-group';
13
13
  @import 'vv-input-radio';
14
+ @import 'vv-avatar';
14
15
  @import 'vv-input-text';
15
16
  @import 'vv-nav';
16
17
  @import 'vv-progress';
@@ -18,3 +19,5 @@
18
19
  @import 'vv-table';
19
20
  @import 'vv-text';
20
21
  @import 'vv-textarea';
22
+ @import 'vv-tooltip';
23
+ @import 'vv-toast';