@fastkit/vui 0.13.5 → 0.14.0
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/vui.css +42 -13
- package/dist/vui.d.ts +1658 -4327
- package/dist/vui.mjs +117 -109
- package/dist/vui.mjs.map +1 -1
- package/package.json +22 -22
- package/src/components/VAvatar/VAvatar.tsx +1 -2
- package/src/components/VBreadcrumbs/VBreadcrumbs.tsx +0 -1
- package/src/components/VBusyImage/VBusyImage.tsx +8 -5
- package/src/components/VButton/VButton.tsx +2 -9
- package/src/components/VCard/VCardActions.tsx +2 -7
- package/src/components/VCard/VCardContent.tsx +2 -7
- package/src/components/VCheckable/VCheckable.tsx +14 -15
- package/src/components/VCheckbox/VCheckbox.tsx +1 -2
- package/src/components/VChip/VChip.tsx +1 -2
- package/src/components/VContentSwitcher/VContentSwitcher.tsx +1 -2
- package/src/components/VControlField/VControlField.tsx +13 -13
- package/src/components/VDrawerLayout/VDrawerLayout.tsx +2 -1
- package/src/components/VForm/VForm.tsx +9 -6
- package/src/components/VFormControl/VFormControl.tsx +10 -7
- package/src/components/VGrid/VGridContainer.tsx +0 -2
- package/src/components/VGrid/VGridItem.tsx +0 -3
- package/src/components/VHero/VHero.tsx +9 -15
- package/src/components/VListTile/VListTile.tsx +2 -4
- package/src/components/VNavigation/VNavigationItem.tsx +2 -2
- package/src/components/VOption/VOption.tsx +1 -4
- package/src/components/VOptionGroup/VOptionGroup.tsx +9 -6
- package/src/components/VPaper/VPaper.tsx +10 -12
- package/src/components/VRadio/VRadio.tsx +1 -2
- package/src/components/VSelect/VSelect.tsx +14 -8
- package/src/components/VSkeltonLoader/VSkeltonLoaderBone.tsx +1 -2
- package/src/components/VSwitch/VSwitch.tsx +1 -2
- package/src/components/VTabs/VTab.tsx +1 -2
- package/src/components/VTabs/VTabs.tsx +8 -6
- package/src/components/VTextField/VTextField.tsx +5 -3
- package/src/components/VTextarea/VTextarea.tsx +4 -2
- package/src/components/VToolbar/VToolbar.tsx +1 -4
- package/src/components/VToolbar/VToolbarMenu.tsx +1 -2
- package/src/components/VToolbar/VToolbarTitle.tsx +8 -6
- package/src/composables/form-selector.tsx +10 -4
- package/src/plugin.tsx +1 -1
package/dist/vui.css
CHANGED
|
@@ -121,7 +121,10 @@
|
|
|
121
121
|
summary{
|
|
122
122
|
display:list-item;
|
|
123
123
|
}
|
|
124
|
-
|
|
124
|
+
template{
|
|
125
|
+
display:none;
|
|
126
|
+
}
|
|
127
|
+
[hidden]{
|
|
125
128
|
display:none;
|
|
126
129
|
}
|
|
127
130
|
button{
|
|
@@ -608,6 +611,8 @@
|
|
|
608
611
|
margin:var(--control-horizontal-margin) 0;
|
|
609
612
|
max-width:100%;
|
|
610
613
|
}
|
|
614
|
+
}
|
|
615
|
+
@layer vui{
|
|
611
616
|
.v-form-control--invalid:not(.v-form-control--readonly){
|
|
612
617
|
--my-label-color:var(--main-color);
|
|
613
618
|
--my-message-color:var(--main-color);
|
|
@@ -693,6 +698,8 @@
|
|
|
693
698
|
overflow:hidden;
|
|
694
699
|
position:relative;
|
|
695
700
|
}
|
|
701
|
+
}
|
|
702
|
+
@layer vui{
|
|
696
703
|
.v-skelton-loader-bone:after{
|
|
697
704
|
animation:v-skelton-loader-bone-loading 1.5s infinite;
|
|
698
705
|
background:linear-gradient(90deg, hsla(0,0%,100%,0), hsla(0,0%,100%,.3), hsla(0,0%,100%,0));
|
|
@@ -981,6 +988,8 @@
|
|
|
981
988
|
.v-card[disabled]:before{
|
|
982
989
|
content:none;
|
|
983
990
|
}
|
|
991
|
+
}
|
|
992
|
+
@layer vui{
|
|
984
993
|
.v-card-content{
|
|
985
994
|
padding:var(--card-content-padding);
|
|
986
995
|
}
|
|
@@ -1032,6 +1041,8 @@
|
|
|
1032
1041
|
.v-button--plain{
|
|
1033
1042
|
color:inherit !important;
|
|
1034
1043
|
}
|
|
1044
|
+
}
|
|
1045
|
+
@layer vui{
|
|
1035
1046
|
.v-button--plain[disabled]{
|
|
1036
1047
|
opacity:.5;
|
|
1037
1048
|
}
|
|
@@ -1059,8 +1070,6 @@
|
|
|
1059
1070
|
--padding:0em;
|
|
1060
1071
|
min-width:1.9285714286em;
|
|
1061
1072
|
}
|
|
1062
|
-
}
|
|
1063
|
-
@layer vui{
|
|
1064
1073
|
.v-button::-moz-focus-inner{
|
|
1065
1074
|
border:0;
|
|
1066
1075
|
}
|
|
@@ -1112,9 +1121,13 @@
|
|
|
1112
1121
|
border-bottom-right-radius:0;
|
|
1113
1122
|
border-top-right-radius:0;
|
|
1114
1123
|
}
|
|
1124
|
+
}
|
|
1125
|
+
@layer vui{
|
|
1115
1126
|
.v-button-group__item:focus{
|
|
1116
1127
|
z-index:1;
|
|
1117
1128
|
}
|
|
1129
|
+
}
|
|
1130
|
+
@layer vui{
|
|
1118
1131
|
.v-pagination{
|
|
1119
1132
|
--pagination-size:var(--pagination-item-size);
|
|
1120
1133
|
--pagination-margin:var(--pagination-item-margin);
|
|
@@ -1160,8 +1173,6 @@
|
|
|
1160
1173
|
transition:.1s;
|
|
1161
1174
|
user-select:none;
|
|
1162
1175
|
}
|
|
1163
|
-
}
|
|
1164
|
-
@layer vui{
|
|
1165
1176
|
.v-pagination a.v-pagination__item::-moz-focus-inner,.v-pagination__item::-moz-focus-inner{
|
|
1166
1177
|
border:0;
|
|
1167
1178
|
}
|
|
@@ -1229,6 +1240,8 @@
|
|
|
1229
1240
|
--tile-text-active-color:var(--navActive-color, var(--nav-color));
|
|
1230
1241
|
cursor:pointer;
|
|
1231
1242
|
}
|
|
1243
|
+
}
|
|
1244
|
+
@layer vui{
|
|
1232
1245
|
.v-list-tile--clickable:focus,.v-list-tile--clickable:hover{
|
|
1233
1246
|
--tile-background:var(--tile-active-background);
|
|
1234
1247
|
--tile-text-color:var(--tile-text-active-color);
|
|
@@ -1347,6 +1360,8 @@
|
|
|
1347
1360
|
position:relative;
|
|
1348
1361
|
width:100%;
|
|
1349
1362
|
}
|
|
1363
|
+
}
|
|
1364
|
+
@layer vui{
|
|
1350
1365
|
.v-control-field--invalid:not(.v-control-field--disabled):not(.v-control-field--readonly){
|
|
1351
1366
|
--my-bottom-color:var(--main-color);
|
|
1352
1367
|
--my-bottom-hover-color:var(--main-color);
|
|
@@ -1380,8 +1395,6 @@
|
|
|
1380
1395
|
transform:scaleX(0);
|
|
1381
1396
|
transition:transform .2s cubic-bezier(0, 0, .2, 1) 0ms;
|
|
1382
1397
|
}
|
|
1383
|
-
}
|
|
1384
|
-
@layer vui{
|
|
1385
1398
|
.v-control-field--focused,.v-control-field:focus-within{
|
|
1386
1399
|
--my-outline-color:var(--my-focused-color);
|
|
1387
1400
|
--my-outline-hover-color:var(--my-focused-color);
|
|
@@ -1486,7 +1499,12 @@
|
|
|
1486
1499
|
padding-right:1em;
|
|
1487
1500
|
user-select:none;
|
|
1488
1501
|
}
|
|
1489
|
-
.v-checkable--checked
|
|
1502
|
+
.v-checkable--checked{
|
|
1503
|
+
--color:var(--main-color);
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
@layer vui{
|
|
1507
|
+
.v-checkable--invalid:not(.v-checkable--readonly){
|
|
1490
1508
|
--color:var(--main-color);
|
|
1491
1509
|
}
|
|
1492
1510
|
.v-checkable--disabled{
|
|
@@ -1547,8 +1565,6 @@
|
|
|
1547
1565
|
.v-checkable--custom-icon .v-checkable__faux:before{
|
|
1548
1566
|
content:none;
|
|
1549
1567
|
}
|
|
1550
|
-
}
|
|
1551
|
-
@layer vui{
|
|
1552
1568
|
.v-checkable:focus-within .v-checkable__faux:before{
|
|
1553
1569
|
opacity:.2;
|
|
1554
1570
|
}
|
|
@@ -1568,6 +1584,8 @@
|
|
|
1568
1584
|
transition:border-color .2s,background-color .2s;
|
|
1569
1585
|
width:100%;
|
|
1570
1586
|
}
|
|
1587
|
+
}
|
|
1588
|
+
@layer vui{
|
|
1571
1589
|
.v-radio__faux:after,.v-radio__faux:before{
|
|
1572
1590
|
border-radius:100%;
|
|
1573
1591
|
content:"";
|
|
@@ -1590,6 +1608,8 @@
|
|
|
1590
1608
|
.v-radio--selected .v-radio__faux:after{
|
|
1591
1609
|
transform:translate(-50%, -50%) scale(1);
|
|
1592
1610
|
}
|
|
1611
|
+
}
|
|
1612
|
+
@layer vui{
|
|
1593
1613
|
.v-switch{
|
|
1594
1614
|
--my-pin-color:var(--palette-background);
|
|
1595
1615
|
}
|
|
@@ -1663,8 +1683,6 @@
|
|
|
1663
1683
|
.v-switch__faux:hover .v-switch__faux__pin:before{
|
|
1664
1684
|
opacity:.1;
|
|
1665
1685
|
}
|
|
1666
|
-
}
|
|
1667
|
-
@layer vui{
|
|
1668
1686
|
.v-switch:focus-within .v-switch__faux__pin:before{
|
|
1669
1687
|
opacity:.1;
|
|
1670
1688
|
}
|
|
@@ -1738,6 +1756,8 @@
|
|
|
1738
1756
|
.v-option[disabled]:before,.v-option[tabindex="-1"]:before{
|
|
1739
1757
|
opacity:0 !important;
|
|
1740
1758
|
}
|
|
1759
|
+
}
|
|
1760
|
+
@layer vui{
|
|
1741
1761
|
.v-option-group{
|
|
1742
1762
|
display:block;
|
|
1743
1763
|
}
|
|
@@ -1961,6 +1981,8 @@
|
|
|
1961
1981
|
.v-tab--active:before{
|
|
1962
1982
|
transform:scaleX(1);
|
|
1963
1983
|
}
|
|
1984
|
+
}
|
|
1985
|
+
@layer vui{
|
|
1964
1986
|
.v-breadcrumbs{
|
|
1965
1987
|
display:block;
|
|
1966
1988
|
font-size:var(--breadcrumbs-font-size);
|
|
@@ -2180,7 +2202,10 @@
|
|
|
2180
2202
|
background:hsla(0,0%,100%,.85);
|
|
2181
2203
|
user-select:none;
|
|
2182
2204
|
}
|
|
2183
|
-
.v-data-
|
|
2205
|
+
.v-data-table__table__header .v-data-table__table__cell--active .v-data-table__table__sort-icon{
|
|
2206
|
+
opacity:1;
|
|
2207
|
+
}
|
|
2208
|
+
.v-data-table__table__cell[tabindex="0"]:focus .v-data-table__table__sort-icon,.v-data-table__table__cell[tabindex="0"]:hover .v-data-table__table__sort-icon{
|
|
2184
2209
|
opacity:1;
|
|
2185
2210
|
}
|
|
2186
2211
|
.v-data-table__table__body tr:last-child .v-data-table__table__cell{
|
|
@@ -2204,6 +2229,8 @@
|
|
|
2204
2229
|
.v-toolbar--plain{
|
|
2205
2230
|
--main-color:var(--palette-background);
|
|
2206
2231
|
}
|
|
2232
|
+
}
|
|
2233
|
+
@layer vui{
|
|
2207
2234
|
.v-app-layout__header>.v-toolbar{
|
|
2208
2235
|
height:100%;
|
|
2209
2236
|
}
|
|
@@ -2221,6 +2248,8 @@
|
|
|
2221
2248
|
display:flex;
|
|
2222
2249
|
flex:0 0;
|
|
2223
2250
|
}
|
|
2251
|
+
}
|
|
2252
|
+
@layer vui{
|
|
2224
2253
|
.v-toolbar-edge--empty,.v-toolbar-edge:empty{
|
|
2225
2254
|
display:none;
|
|
2226
2255
|
}
|