@fastkit/vui 0.16.26 → 0.16.27
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/dist/after-effects/display-flow.scss +3 -3
- package/dist/after-effects/spacing.scss +4 -5
- package/dist/after-effects/text.scss +3 -2
- package/dist/after-effects.scss +3 -3
- package/dist/vui.css +1 -1
- package/package.json +4 -4
- package/src/components/VAvatar/VAvatar.scss +1 -1
- package/src/components/VBreadcrumbs/VBreadcrumbs.scss +1 -0
- package/src/components/VButton/VButton.scss +6 -1
- package/src/components/VCard/VCard.scss +2 -1
- package/src/components/VCheckable/VCheckable.scss +1 -0
- package/src/components/VChip/VChip.scss +1 -1
- package/src/components/VControlField/VControlField.scss +5 -0
- package/src/components/VDataTable/VDataTable.scss +37 -34
- package/src/components/VFormControl/VFormControl.scss +3 -0
- package/src/components/VIcon/VIcon.scss +1 -0
- package/src/components/VListTile/VListTile.scss +1 -0
- package/src/components/VNavigation/VNavigation.scss +1 -0
- package/src/components/VOption/VOption.scss +2 -1
- package/src/components/VOptionGroup/VOptionGroup.scss +1 -0
- package/src/components/VRadio/VRadio.scss +3 -0
- package/src/components/VSelect/VSelect.scss +1 -0
- package/src/components/VSwitch/VSwitch.scss +2 -0
- package/src/components/VTabs/VTab.scss +3 -0
- package/src/components/VTextField/VTextField.scss +3 -0
- package/src/components/VTextarea/VTextarea.scss +1 -0
- package/src/components/VToolbar/VToolbarTitle.scss +3 -0
- package/src/components/VTooltip/VTooltip.scss +1 -0
- package/src/styles/core/functions.scss +1 -0
- package/src/styles/elevation.scss +1 -0
- package/src/styles/index.scss +0 -1
- package/src/styles/variables.scss +1 -0
|
@@ -234,7 +234,6 @@ $props-map: (
|
|
|
234
234
|
('top', 'left'),
|
|
235
235
|
if($direction == 'x', ('left'), ('top'))
|
|
236
236
|
);
|
|
237
|
-
|
|
238
237
|
$suffix: if($direction == 'all', '', '-' + $direction);
|
|
239
238
|
|
|
240
239
|
@for $i from 1 through 10 {
|
|
@@ -305,6 +304,7 @@ $props-map: (
|
|
|
305
304
|
$value: map-get($value-info, value);
|
|
306
305
|
|
|
307
306
|
.#{$selector}#{$breakpoint-suffix} {
|
|
307
|
+
/* stylelint-disable-next-line scss/function-unquote-no-unquoted-strings-inside */
|
|
308
308
|
#{$prop}: unquote($value);
|
|
309
309
|
}
|
|
310
310
|
}
|
|
@@ -339,8 +339,8 @@ $props-map: (
|
|
|
339
339
|
@include grid-spacing($breakpoint-suffix, 'y');
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
-
@include display-flow
|
|
342
|
+
@include display-flow;
|
|
343
343
|
|
|
344
|
-
@include mq-each
|
|
344
|
+
@include mq-each {
|
|
345
345
|
@include display-flow($breakpoint-suffix: '--' + $mq-each-target);
|
|
346
346
|
}
|
|
@@ -23,7 +23,6 @@ $property-map: (
|
|
|
23
23
|
has-auto: false,
|
|
24
24
|
)
|
|
25
25
|
);
|
|
26
|
-
|
|
27
26
|
$sides-map: (
|
|
28
27
|
(
|
|
29
28
|
selector: '',
|
|
@@ -83,7 +82,7 @@ $sides-map: (
|
|
|
83
82
|
$sides-props: map-get($sides-info, props);
|
|
84
83
|
$base-selector: '.' + #{$prop-selector}#{$sides-selector};
|
|
85
84
|
|
|
86
|
-
@if
|
|
85
|
+
@if $has-auto {
|
|
87
86
|
#{$base-selector}-auto#{$breakpoint-suffix} {
|
|
88
87
|
@each $sides-prop in $sides-props {
|
|
89
88
|
$prop-suffix: if($sides-prop == 'all', '', '-' + $sides-prop);
|
|
@@ -118,7 +117,7 @@ $sides-map: (
|
|
|
118
117
|
}
|
|
119
118
|
}
|
|
120
119
|
|
|
121
|
-
@if
|
|
120
|
+
@if $has-negative {
|
|
122
121
|
@for $i from 1 through 10 {
|
|
123
122
|
$base-value: if(
|
|
124
123
|
$i == 1,
|
|
@@ -148,8 +147,8 @@ $sides-map: (
|
|
|
148
147
|
}
|
|
149
148
|
}
|
|
150
149
|
|
|
151
|
-
@include spacing
|
|
150
|
+
@include spacing;
|
|
152
151
|
|
|
153
|
-
@include mq-each
|
|
152
|
+
@include mq-each {
|
|
154
153
|
@include spacing($breakpoint-suffix: '--' + $mq-each-target);
|
|
155
154
|
}
|
|
@@ -69,6 +69,7 @@ $props-map: (
|
|
|
69
69
|
$value: map-get($value-info, value);
|
|
70
70
|
|
|
71
71
|
.#{$selector}#{$breakpoint-suffix} {
|
|
72
|
+
/* stylelint-disable-next-line scss/function-unquote-no-unquoted-strings-inside */
|
|
72
73
|
#{$prop}: unquote($value);
|
|
73
74
|
}
|
|
74
75
|
}
|
|
@@ -83,8 +84,8 @@ $props-map: (
|
|
|
83
84
|
}
|
|
84
85
|
}
|
|
85
86
|
|
|
86
|
-
@include text
|
|
87
|
+
@include text;
|
|
87
88
|
|
|
88
|
-
@include mq-each
|
|
89
|
+
@include mq-each {
|
|
89
90
|
@include text($breakpoint-suffix: '--' + $mq-each-target);
|
|
90
91
|
}
|
package/dist/after-effects.scss
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@import './after-effects/display-flow
|
|
2
|
-
@import './after-effects/text
|
|
3
|
-
@import './after-effects/spacing
|
|
1
|
+
@import './after-effects/display-flow';
|
|
2
|
+
@import './after-effects/text';
|
|
3
|
+
@import './after-effects/spacing';
|
package/dist/vui.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fastkit/vui",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.27",
|
|
4
4
|
"description": "A simple, extensible UI kit for Vue applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fastkit",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@fastkit/color-scheme": "1.0.8",
|
|
48
|
-
"@fastkit/dom": "0.1.1",
|
|
49
48
|
"@fastkit/color-scheme-gen": "0.13.8",
|
|
49
|
+
"@fastkit/dom": "0.1.1",
|
|
50
50
|
"@fastkit/helpers": "0.13.1",
|
|
51
51
|
"@fastkit/icon-font": "1.0.7",
|
|
52
52
|
"@fastkit/media-match": "1.0.7",
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"@fastkit/vue-body-scroll-lock": "0.1.3",
|
|
60
60
|
"@fastkit/vue-click-outside": "0.1.3",
|
|
61
61
|
"@fastkit/vue-color-scheme": "0.14.3",
|
|
62
|
-
"@fastkit/vue-form-control": "0.15.
|
|
62
|
+
"@fastkit/vue-form-control": "0.15.16",
|
|
63
63
|
"@fastkit/vue-keyboard": "0.1.1",
|
|
64
|
-
"@fastkit/vue-location": "0.1.3",
|
|
65
64
|
"@fastkit/vue-loading": "0.14.4",
|
|
65
|
+
"@fastkit/vue-location": "0.1.3",
|
|
66
66
|
"@fastkit/vue-media-match": "0.13.8",
|
|
67
67
|
"@fastkit/vue-resize": "0.1.3",
|
|
68
68
|
"@fastkit/vue-scroller": "0.14.2",
|
|
@@ -15,20 +15,24 @@
|
|
|
15
15
|
align-items: center;
|
|
16
16
|
justify-content: center;
|
|
17
17
|
min-width: calc(var(--root-em) * 4);
|
|
18
|
+
|
|
18
19
|
// height: calc(var(--root-em) * 2);
|
|
19
20
|
height: var(--height);
|
|
21
|
+
|
|
20
22
|
// padding: 0 var(--root-em);
|
|
21
23
|
padding: 0 var(--padding);
|
|
24
|
+
|
|
22
25
|
// margin: 0;
|
|
23
26
|
margin: calc(var(--root-em) * 0.375) calc(var(--root-em) * 0.5);
|
|
24
27
|
overflow: hidden;
|
|
25
28
|
font: inherit;
|
|
29
|
+
|
|
26
30
|
// font-size: calc(var(--root-em) * 0.875);
|
|
27
31
|
font-weight: 500;
|
|
28
32
|
line-height: 1;
|
|
29
33
|
text-decoration: none;
|
|
30
34
|
text-transform: uppercase;
|
|
31
|
-
letter-spacing: math.div(1.25, 14) * 1em; //1.25px;
|
|
35
|
+
letter-spacing: math.div(1.25, 14) * 1em; // 1.25px;
|
|
32
36
|
vertical-align: bottom;
|
|
33
37
|
cursor: pointer;
|
|
34
38
|
user-select: none;
|
|
@@ -49,6 +53,7 @@
|
|
|
49
53
|
|
|
50
54
|
&--plain {
|
|
51
55
|
color: inherit !important;
|
|
56
|
+
|
|
52
57
|
// color: inherit !important;
|
|
53
58
|
|
|
54
59
|
&[disabled] {
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
&--disabled {
|
|
35
35
|
color: var(--control-disabled-color);
|
|
36
36
|
pointer-events: none;
|
|
37
|
+
|
|
37
38
|
// cursor: not-allowed !important;
|
|
38
39
|
user-select: none;
|
|
39
40
|
}
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
left: 0;
|
|
47
48
|
pointer-events: none;
|
|
48
49
|
content: '';
|
|
50
|
+
|
|
49
51
|
// transition: all 0.2s;
|
|
50
52
|
}
|
|
51
53
|
|
|
@@ -89,8 +91,10 @@
|
|
|
89
91
|
flex: 1 1 auto;
|
|
90
92
|
align-items: stretch;
|
|
91
93
|
align-self: stretch;
|
|
94
|
+
|
|
92
95
|
// margin: 0 8px;
|
|
93
96
|
margin: 0;
|
|
97
|
+
|
|
94
98
|
// pointer-events: none;
|
|
95
99
|
|
|
96
100
|
// color: #f00;
|
|
@@ -160,6 +164,7 @@
|
|
|
160
164
|
&:focus-within {
|
|
161
165
|
box-shadow: 0 0 1px var(--shadow-color),
|
|
162
166
|
0 0 2px 2px var(--focusShadow-color);
|
|
167
|
+
|
|
163
168
|
// border-color: var(--my-focused-color);
|
|
164
169
|
}
|
|
165
170
|
}
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
margin-left: calc(var(--card-content-padding) * -1);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
&__empty--message {
|
|
11
|
-
|
|
10
|
+
// &__empty--message {
|
|
11
|
+
// @include container;
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
}
|
|
13
|
+
// color: get-color(text-muted);
|
|
14
|
+
// }
|
|
15
15
|
|
|
16
16
|
&__controls {
|
|
17
17
|
display: flex;
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
flex: 1 1 100%;
|
|
50
50
|
margin-left: auto;
|
|
51
51
|
|
|
52
|
-
@media screen and (
|
|
52
|
+
@media screen and (width >= 320px) {
|
|
53
53
|
flex: 0 0 50%;
|
|
54
54
|
width: 50%;
|
|
55
55
|
}
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
&::before,
|
|
79
79
|
&::after {
|
|
80
80
|
display: block;
|
|
81
|
+
|
|
81
82
|
// flex: 0 0 $view-padding-narrow;
|
|
82
83
|
// width: $view-padding-narrow;
|
|
83
84
|
height: 1px;
|
|
@@ -103,8 +104,10 @@
|
|
|
103
104
|
|
|
104
105
|
&__table {
|
|
105
106
|
width: 100%;
|
|
107
|
+
|
|
106
108
|
// min-width: calc(100% - #{$view-padding-narrow * 2});
|
|
107
109
|
margin: 0;
|
|
110
|
+
|
|
108
111
|
// border-collapse: separate;
|
|
109
112
|
background: var(--palette-background);
|
|
110
113
|
border-radius: var(--control-field-radius);
|
|
@@ -148,11 +151,11 @@
|
|
|
148
151
|
&[tabindex='0'] {
|
|
149
152
|
cursor: pointer;
|
|
150
153
|
|
|
151
|
-
&:hover,
|
|
152
|
-
&:focus {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
}
|
|
154
|
+
// &:hover,
|
|
155
|
+
// &:focus {
|
|
156
|
+
// background: var(--shadow-color);
|
|
157
|
+
// background: get-color(light);
|
|
158
|
+
// }
|
|
156
159
|
}
|
|
157
160
|
|
|
158
161
|
&__tile {
|
|
@@ -178,10 +181,10 @@
|
|
|
178
181
|
background: rgba(255, 255, 255, 0.85);
|
|
179
182
|
backdrop-filter: blur(3px);
|
|
180
183
|
|
|
181
|
-
&--active[tabindex='0'] {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}
|
|
184
|
+
// &--active[tabindex='0'] {
|
|
185
|
+
// color: get-color(invert-text);
|
|
186
|
+
// background: get-color(primary);
|
|
187
|
+
// }
|
|
185
188
|
}
|
|
186
189
|
|
|
187
190
|
&__header &__cell--active &__sort-icon {
|
|
@@ -197,26 +200,26 @@
|
|
|
197
200
|
border-bottom: none;
|
|
198
201
|
}
|
|
199
202
|
|
|
200
|
-
&__item {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}
|
|
203
|
+
// &__item {
|
|
204
|
+
// &:hover {
|
|
205
|
+
// td {
|
|
206
|
+
// background: get-color(tocuh-0);
|
|
207
|
+
// }
|
|
208
|
+
// }
|
|
209
|
+
|
|
210
|
+
// &--selected {
|
|
211
|
+
// stylelint-disable-next-line no-descending-specificity
|
|
212
|
+
// td {
|
|
213
|
+
// background: get-color(light);
|
|
214
|
+
// }
|
|
215
|
+
|
|
216
|
+
// &:hover {
|
|
217
|
+
// td {
|
|
218
|
+
// background: get-color(light);
|
|
219
|
+
// }
|
|
220
|
+
// }
|
|
221
|
+
// }
|
|
222
|
+
// }
|
|
220
223
|
}
|
|
221
224
|
|
|
222
225
|
// stylelint-disable-next-line no-descending-specificity
|
|
@@ -34,10 +34,12 @@
|
|
|
34
34
|
align-items: center;
|
|
35
35
|
margin-top: -0.2em;
|
|
36
36
|
margin-left: 0.6em;
|
|
37
|
+
|
|
37
38
|
// font-size: calc(var(--root-em) * 0.5);
|
|
38
39
|
font-size: 80%;
|
|
39
40
|
line-height: 1;
|
|
40
41
|
color: inherit;
|
|
42
|
+
|
|
41
43
|
// color: var(--palette-muted);
|
|
42
44
|
text-decoration: none;
|
|
43
45
|
letter-spacing: normal;
|
|
@@ -89,6 +91,7 @@
|
|
|
89
91
|
|
|
90
92
|
&__message {
|
|
91
93
|
flex: 1 0;
|
|
94
|
+
|
|
92
95
|
// margin: 0 var(--control-message-horizontal-margin);
|
|
93
96
|
// font-size: var(--control-message-font-size);
|
|
94
97
|
// line-height: 1.66;
|
|
@@ -15,12 +15,14 @@
|
|
|
15
15
|
|
|
16
16
|
&__faux {
|
|
17
17
|
position: relative;
|
|
18
|
+
|
|
18
19
|
// display: flex;
|
|
19
20
|
// align-items: center;
|
|
20
21
|
// justify-content: center;
|
|
21
22
|
display: block;
|
|
22
23
|
width: 100%;
|
|
23
24
|
height: 100%;
|
|
25
|
+
|
|
24
26
|
// background: var(--my-faux-bg-color);
|
|
25
27
|
// border: solid 2px currentColor;
|
|
26
28
|
// border-radius: 100%;
|
|
@@ -37,6 +39,7 @@
|
|
|
37
39
|
&::before {
|
|
38
40
|
inset: 0;
|
|
39
41
|
border: solid 2px currentColor;
|
|
42
|
+
|
|
40
43
|
// display: block;
|
|
41
44
|
// width: 60%;
|
|
42
45
|
// height: 60%;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@layer vui {
|
|
4
4
|
.v-switch {
|
|
5
5
|
--my-pin-color: var(--palette-background);
|
|
6
|
+
|
|
6
7
|
// --my-faux-bg-color: transparent;
|
|
7
8
|
|
|
8
9
|
&--selected {
|
|
@@ -39,6 +40,7 @@
|
|
|
39
40
|
justify-content: center;
|
|
40
41
|
width: var(--outer-size);
|
|
41
42
|
height: var(--outer-size);
|
|
43
|
+
|
|
42
44
|
// background: #f00;
|
|
43
45
|
border-radius: 50%;
|
|
44
46
|
transition: left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
position: relative;
|
|
12
12
|
z-index: 3;
|
|
13
13
|
display: flex;
|
|
14
|
+
|
|
14
15
|
// flex: 1 1 auto;
|
|
15
16
|
align-items: center;
|
|
16
17
|
justify-content: center;
|
|
@@ -18,6 +19,7 @@
|
|
|
18
19
|
padding: 0 1.25em;
|
|
19
20
|
font: inherit;
|
|
20
21
|
font-size: var(--tabs-font-size);
|
|
22
|
+
|
|
21
23
|
// color: inherit;
|
|
22
24
|
white-space: nowrap;
|
|
23
25
|
user-select: none;
|
|
@@ -27,6 +29,7 @@
|
|
|
27
29
|
position: absolute;
|
|
28
30
|
right: 0;
|
|
29
31
|
bottom: 0;
|
|
32
|
+
|
|
30
33
|
// top: 0;
|
|
31
34
|
left: 0;
|
|
32
35
|
z-index: 1;
|
|
@@ -8,10 +8,12 @@
|
|
|
8
8
|
&__element {
|
|
9
9
|
width: 100%;
|
|
10
10
|
min-width: 0;
|
|
11
|
+
|
|
11
12
|
// width: calc(100% - 8px);
|
|
12
13
|
padding: 0;
|
|
13
14
|
margin: 0;
|
|
14
15
|
overflow: hidden;
|
|
16
|
+
|
|
15
17
|
// margin: 0 8px;
|
|
16
18
|
font-size: inherit;
|
|
17
19
|
line-height: inherit;
|
|
@@ -25,6 +27,7 @@
|
|
|
25
27
|
|
|
26
28
|
&:-webkit-autofill {
|
|
27
29
|
@include core.auto-fill-cancel;
|
|
30
|
+
|
|
28
31
|
// color: inherit !important;
|
|
29
32
|
// box-shadow: 0 0 0 1000px get-color(field) inset;
|
|
30
33
|
}
|
package/src/styles/index.scss
CHANGED