@yoyaflow/yoya-ui 0.3.2 → 0.3.3
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/README.md +347 -108
- package/README.zh-CN.md +321 -121
- package/dist/yoya-ui.umd.js +2 -2
- package/dist/yoya.core.js +845 -286
- package/dist/yoya.devtools.js +223 -0
- package/dist/yoya.echart.js +341 -84
- package/dist/yoya.ssr.js +1347 -759
- package/dist/yoya.ui.css +71 -0
- package/dist/yoya.ui.js +3358 -2480
- package/package.json +13 -1
- package/types/core.d.ts +122 -1
- package/types/data-display.d.ts +44 -2
- package/types/devtools.d.ts +156 -0
- package/types/feedback.d.ts +13 -0
- package/types/form.d.ts +1 -1
- package/types/ssr.d.ts +27 -7
- package/types/yoya.devtools.d.ts +5 -0
package/dist/yoya.ui.css
CHANGED
|
@@ -960,6 +960,77 @@ body {
|
|
|
960
960
|
width: 0;
|
|
961
961
|
}
|
|
962
962
|
|
|
963
|
+
.yoya-vtreetable {
|
|
964
|
+
box-sizing: border-box;
|
|
965
|
+
font-family: var(--yoya-font-family, inherit);
|
|
966
|
+
font-size: var(--yoya-font-size-sm, 13px);
|
|
967
|
+
line-height: 1.5;
|
|
968
|
+
max-width: 100%;
|
|
969
|
+
overflow-x: auto;
|
|
970
|
+
width: 100%;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
.yoya-vtreetable .yoya-vtreetable-table {
|
|
974
|
+
border-collapse: collapse;
|
|
975
|
+
width: 100%;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
.yoya-vtreetable th,
|
|
979
|
+
.yoya-vtreetable td {
|
|
980
|
+
border-bottom: 1px solid var(--yoya-color-border-faint, light-dark(#efefef, #2a2a2a));
|
|
981
|
+
padding: 6px 10px;
|
|
982
|
+
text-align: left;
|
|
983
|
+
vertical-align: middle;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
.yoya-vtreetable thead th {
|
|
987
|
+
background: var(--yoya-color-surface-muted, light-dark(#f5f5f5, #1c1c1c));
|
|
988
|
+
color: var(--yoya-color-text-secondary, light-dark(#6f6f6f, #a6a6a6));
|
|
989
|
+
font-weight: 600;
|
|
990
|
+
white-space: nowrap;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.yoya-vtreetable tbody tr:hover {
|
|
994
|
+
background: var(--yoya-color-surface-hover, light-dark(#f3f3f3, #262626));
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.yoya-vtreetable .yoya-vtreetable-expand {
|
|
998
|
+
background: transparent;
|
|
999
|
+
border: 0;
|
|
1000
|
+
border-radius: 4px;
|
|
1001
|
+
color: var(--yoya-color-text-secondary, light-dark(#6f6f6f, #a6a6a6));
|
|
1002
|
+
cursor: pointer;
|
|
1003
|
+
font: inherit;
|
|
1004
|
+
margin-left: 2px;
|
|
1005
|
+
padding: 0 3px;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
.yoya-vtreetable .yoya-vtreetable-expand:hover {
|
|
1009
|
+
background: transparent;
|
|
1010
|
+
color: var(--yoya-color-primary, #1f6feb);
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
.yoya-vtreetable .yoya-vtreetable-expand:focus-visible {
|
|
1014
|
+
outline: 2px solid var(--yoya-color-primary-ring, rgba(31, 111, 235, 0.35));
|
|
1015
|
+
outline-offset: 1px;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
.yoya-vtreetable .yoya-vtreetable-select {
|
|
1019
|
+
accent-color: var(--yoya-color-primary, #1f6feb);
|
|
1020
|
+
margin: 0;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.yoya-vtreetable thead th:first-child,
|
|
1024
|
+
.yoya-vtreetable tbody td:first-child {
|
|
1025
|
+
padding-left: 10px;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
.yoya-vtreetable thead th:first-child,
|
|
1029
|
+
.yoya-vtreetable tbody td:first-child {
|
|
1030
|
+
white-space: nowrap;
|
|
1031
|
+
width: 1%;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
963
1034
|
:where(.yoya-vnavbar) {
|
|
964
1035
|
align-items: center;
|
|
965
1036
|
background: transparent;
|