react-vant-nova 1.0.6 → 1.0.7-test
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/bundle/index.css +74 -0
- package/bundle/index.min.css +1 -1
- package/bundle/react-vant-nova.es.js +765 -619
- package/bundle/react-vant-nova.js +769 -622
- package/bundle/react-vant-nova.min.js +2 -2
- package/es/index.d.ts +1 -0
- package/es/index.js +2 -1
- package/es/table/PropsType.d.ts +32 -0
- package/es/table/PropsType.js +1 -0
- package/es/table/Table.d.ts +4 -0
- package/es/table/Table.js +186 -0
- package/es/table/index.d.ts +5 -0
- package/es/table/index.js +4 -0
- package/es/table/style/index.css +74 -0
- package/es/toast/Toast.js +37 -30
- package/lib/index.css +74 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +12 -0
- package/lib/index.min.css +1 -1
- package/lib/table/PropsType.d.ts +32 -0
- package/lib/table/PropsType.js +6 -0
- package/lib/table/Table.d.ts +4 -0
- package/lib/table/Table.js +218 -0
- package/lib/table/index.d.ts +5 -0
- package/lib/table/index.js +16 -0
- package/lib/table/style/index.css +74 -0
- package/lib/toast/Toast.js +37 -30
- package/package.json +4 -4
package/bundle/index.css
CHANGED
|
@@ -6709,3 +6709,77 @@ ul {
|
|
|
6709
6709
|
width: 100%;
|
|
6710
6710
|
overflow: scroll;
|
|
6711
6711
|
}
|
|
6712
|
+
.rv-table__wrapper {
|
|
6713
|
+
overflow-x: auto;
|
|
6714
|
+
width: 100%;
|
|
6715
|
+
position: relative;
|
|
6716
|
+
scrollbar-width: thin;
|
|
6717
|
+
scrollbar-color: #e5e7eb #f9fafb;
|
|
6718
|
+
}
|
|
6719
|
+
.rv-table {
|
|
6720
|
+
width: 100%;
|
|
6721
|
+
table-layout: fixed;
|
|
6722
|
+
/* 添加这一行 */
|
|
6723
|
+
border-spacing: 0;
|
|
6724
|
+
font-size: 14px;
|
|
6725
|
+
color: var(--rv-gray-8);
|
|
6726
|
+
min-width: fit-content;
|
|
6727
|
+
word-break: break-word;
|
|
6728
|
+
/* 关键!列宽总和超容器时,表格宽度自适应,触发滚动 */
|
|
6729
|
+
border-collapse: collapse;
|
|
6730
|
+
/* 合并边框,避免间隙 */
|
|
6731
|
+
}
|
|
6732
|
+
.rv-table--bordered {
|
|
6733
|
+
border: 1px solid var(--rv-gray-3);
|
|
6734
|
+
}
|
|
6735
|
+
.rv-table__header {
|
|
6736
|
+
background-color: #fafafa;
|
|
6737
|
+
}
|
|
6738
|
+
.rv-table__header-cell {
|
|
6739
|
+
padding: 8px 12px;
|
|
6740
|
+
text-align: left;
|
|
6741
|
+
font-weight: 500;
|
|
6742
|
+
border-bottom: 1px solid var(--rv-gray-3);
|
|
6743
|
+
}
|
|
6744
|
+
.rv-table__row:last-child .rv-table__cell {
|
|
6745
|
+
border-bottom: none;
|
|
6746
|
+
}
|
|
6747
|
+
.rv-table__cell {
|
|
6748
|
+
padding: 10px 12px;
|
|
6749
|
+
border-bottom: 1px solid var(--rv-gray-3);
|
|
6750
|
+
}
|
|
6751
|
+
.rv-table__empty-cell {
|
|
6752
|
+
padding: 24px;
|
|
6753
|
+
text-align: center;
|
|
6754
|
+
color: #969799;
|
|
6755
|
+
}
|
|
6756
|
+
.rv-table--bordered .rv-table__header-cell,
|
|
6757
|
+
.rv-table--bordered .rv-table__cell {
|
|
6758
|
+
border-right: 1px solid var(--rv-gray-3);
|
|
6759
|
+
box-sizing: border-box;
|
|
6760
|
+
}
|
|
6761
|
+
.rv-table--bordered .rv-table__header-cell:last-child,
|
|
6762
|
+
.rv-table--bordered .rv-table__cell:last-child {
|
|
6763
|
+
border-right: none;
|
|
6764
|
+
}
|
|
6765
|
+
.rv-table--bordered .rv-table__empty-cell {
|
|
6766
|
+
border-right: 1px solid var(--rv-gray-3);
|
|
6767
|
+
}
|
|
6768
|
+
.rv-table--bordered .rv-table__empty-cell:last-child {
|
|
6769
|
+
border-right: none;
|
|
6770
|
+
}
|
|
6771
|
+
.rv-table__empty-cell {
|
|
6772
|
+
padding: 48px 24px;
|
|
6773
|
+
text-align: center;
|
|
6774
|
+
color: #969799;
|
|
6775
|
+
background-color: #fff;
|
|
6776
|
+
}
|
|
6777
|
+
.rv-table__empty-image {
|
|
6778
|
+
margin: 0 auto 12px;
|
|
6779
|
+
width: 90px;
|
|
6780
|
+
height: 90px;
|
|
6781
|
+
}
|
|
6782
|
+
.rv-table__empty-image img {
|
|
6783
|
+
width: 100%;
|
|
6784
|
+
height: 100%;
|
|
6785
|
+
}
|