react-public-components 1.2.0 → 1.2.1
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 +56 -20
- package/dist/index.cjs +639 -771
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +36 -187
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +1 -81
- package/dist/index.d.ts +1 -81
- package/dist/index.js +632 -761
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1138,6 +1138,26 @@
|
|
|
1138
1138
|
position: relative;
|
|
1139
1139
|
box-sizing: border-box;
|
|
1140
1140
|
}
|
|
1141
|
+
.rpc_fullscreen_container:fullscreen {
|
|
1142
|
+
background-color: #ffffff !important;
|
|
1143
|
+
width: 100vw !important;
|
|
1144
|
+
height: 100vh !important;
|
|
1145
|
+
overflow: auto !important;
|
|
1146
|
+
box-sizing: border-box !important;
|
|
1147
|
+
}
|
|
1148
|
+
.rpc_fullscreen_container:fullscreen::backdrop {
|
|
1149
|
+
background-color: #ffffff !important;
|
|
1150
|
+
}
|
|
1151
|
+
.rpc_fullscreen_container:-webkit-full-screen {
|
|
1152
|
+
background-color: #ffffff !important;
|
|
1153
|
+
width: 100vw !important;
|
|
1154
|
+
height: 100vh !important;
|
|
1155
|
+
overflow: auto !important;
|
|
1156
|
+
box-sizing: border-box !important;
|
|
1157
|
+
}
|
|
1158
|
+
.rpc_fullscreen_container_fullscreen {
|
|
1159
|
+
background-color: #ffffff !important;
|
|
1160
|
+
}
|
|
1141
1161
|
.rpc_fullscreen_container_web_fullscreen {
|
|
1142
1162
|
position: fixed !important;
|
|
1143
1163
|
top: 0 !important;
|
|
@@ -1147,7 +1167,7 @@
|
|
|
1147
1167
|
width: 100vw !important;
|
|
1148
1168
|
height: 100vh !important;
|
|
1149
1169
|
z-index: 9999 !important;
|
|
1150
|
-
background: #ffffff;
|
|
1170
|
+
background-color: #ffffff !important;
|
|
1151
1171
|
overflow: auto !important;
|
|
1152
1172
|
border-radius: 0 !important;
|
|
1153
1173
|
margin: 0 !important;
|
|
@@ -1516,18 +1536,24 @@
|
|
|
1516
1536
|
justify-content: center;
|
|
1517
1537
|
width: 32px;
|
|
1518
1538
|
height: 32px;
|
|
1539
|
+
padding: 0;
|
|
1519
1540
|
border-radius: 6px;
|
|
1520
1541
|
border: 1px solid #e8e8e8;
|
|
1521
1542
|
background: #ffffff;
|
|
1522
1543
|
color: #595959;
|
|
1523
1544
|
cursor: pointer;
|
|
1524
|
-
font-size:
|
|
1525
|
-
transition: all 0.2s;
|
|
1545
|
+
font-size: 16px;
|
|
1546
|
+
transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
1526
1547
|
}
|
|
1527
1548
|
.rpc_file_previewer_modal_action_btn:hover {
|
|
1528
1549
|
color: #1677ff;
|
|
1529
1550
|
border-color: #1677ff;
|
|
1530
1551
|
background: #f0f5ff;
|
|
1552
|
+
box-shadow: 0 2px 6px rgba(22, 119, 255, 0.12);
|
|
1553
|
+
}
|
|
1554
|
+
.rpc_file_previewer_modal_action_btn:active {
|
|
1555
|
+
background: #e6f4ff;
|
|
1556
|
+
transform: scale(0.96);
|
|
1531
1557
|
}
|
|
1532
1558
|
.rpc_file_previewer_modal_body {
|
|
1533
1559
|
flex: 1;
|
|
@@ -1603,106 +1629,6 @@
|
|
|
1603
1629
|
}
|
|
1604
1630
|
}
|
|
1605
1631
|
|
|
1606
|
-
/* FloatingActionBar/index.less */
|
|
1607
|
-
.rpc_floating_action_bar {
|
|
1608
|
-
position: fixed;
|
|
1609
|
-
left: 50%;
|
|
1610
|
-
transform: translateX(-50%) translateY(20px);
|
|
1611
|
-
z-index: 1050;
|
|
1612
|
-
display: inline-flex;
|
|
1613
|
-
align-items: center;
|
|
1614
|
-
gap: 16px;
|
|
1615
|
-
padding: 10px 20px;
|
|
1616
|
-
background: rgba(255, 255, 255, 0.92);
|
|
1617
|
-
backdrop-filter: blur(16px);
|
|
1618
|
-
-webkit-backdrop-filter: blur(16px);
|
|
1619
|
-
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
1620
|
-
border-radius: 32px;
|
|
1621
|
-
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
|
|
1622
|
-
box-sizing: border-box;
|
|
1623
|
-
user-select: none;
|
|
1624
|
-
opacity: 0;
|
|
1625
|
-
pointer-events: none;
|
|
1626
|
-
transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
1627
|
-
}
|
|
1628
|
-
.rpc_floating_action_bar_visible {
|
|
1629
|
-
opacity: 1;
|
|
1630
|
-
pointer-events: auto;
|
|
1631
|
-
transform: translateX(-50%) translateY(0);
|
|
1632
|
-
}
|
|
1633
|
-
.rpc_floating_action_bar_count_badge {
|
|
1634
|
-
display: inline-flex;
|
|
1635
|
-
align-items: center;
|
|
1636
|
-
gap: 6px;
|
|
1637
|
-
font-size: 14px;
|
|
1638
|
-
color: #262626;
|
|
1639
|
-
font-weight: 500;
|
|
1640
|
-
}
|
|
1641
|
-
.rpc_floating_action_bar_count_number {
|
|
1642
|
-
color: #1677ff;
|
|
1643
|
-
font-weight: 700;
|
|
1644
|
-
font-variant-numeric: tabular-nums;
|
|
1645
|
-
}
|
|
1646
|
-
.rpc_floating_action_bar_divider {
|
|
1647
|
-
width: 1px;
|
|
1648
|
-
height: 18px;
|
|
1649
|
-
background: #e8e8e8;
|
|
1650
|
-
}
|
|
1651
|
-
.rpc_floating_action_bar_actions {
|
|
1652
|
-
display: inline-flex;
|
|
1653
|
-
align-items: center;
|
|
1654
|
-
gap: 10px;
|
|
1655
|
-
}
|
|
1656
|
-
.rpc_floating_action_bar_btn {
|
|
1657
|
-
display: inline-flex;
|
|
1658
|
-
align-items: center;
|
|
1659
|
-
justify-content: center;
|
|
1660
|
-
gap: 6px;
|
|
1661
|
-
height: 32px;
|
|
1662
|
-
padding: 4px 14px;
|
|
1663
|
-
border-radius: 16px;
|
|
1664
|
-
border: 1px solid #d9d9d9;
|
|
1665
|
-
background: #ffffff;
|
|
1666
|
-
color: #262626;
|
|
1667
|
-
font-size: 13px;
|
|
1668
|
-
cursor: pointer;
|
|
1669
|
-
transition: all 0.2s;
|
|
1670
|
-
}
|
|
1671
|
-
.rpc_floating_action_bar_btn:hover {
|
|
1672
|
-
border-color: #1677ff;
|
|
1673
|
-
color: #1677ff;
|
|
1674
|
-
}
|
|
1675
|
-
.rpc_floating_action_bar_btn_primary {
|
|
1676
|
-
background: #1677ff;
|
|
1677
|
-
border-color: #1677ff;
|
|
1678
|
-
color: #ffffff;
|
|
1679
|
-
}
|
|
1680
|
-
.rpc_floating_action_bar_btn_primary:hover {
|
|
1681
|
-
background: #4096ff;
|
|
1682
|
-
border-color: #4096ff;
|
|
1683
|
-
color: #ffffff;
|
|
1684
|
-
}
|
|
1685
|
-
.rpc_floating_action_bar_btn_danger {
|
|
1686
|
-
color: #ff4d4f;
|
|
1687
|
-
border-color: #ffa39e;
|
|
1688
|
-
background: #fff1f0;
|
|
1689
|
-
}
|
|
1690
|
-
.rpc_floating_action_bar_btn_danger:hover {
|
|
1691
|
-
background: #ff4d4f;
|
|
1692
|
-
border-color: #ff4d4f;
|
|
1693
|
-
color: #ffffff;
|
|
1694
|
-
}
|
|
1695
|
-
.rpc_floating_action_bar_clear_btn {
|
|
1696
|
-
color: #8c8c8c;
|
|
1697
|
-
font-size: 13px;
|
|
1698
|
-
cursor: pointer;
|
|
1699
|
-
transition: color 0.2s;
|
|
1700
|
-
}
|
|
1701
|
-
.rpc_floating_action_bar_clear_btn:hover {
|
|
1702
|
-
color: #1677ff;
|
|
1703
|
-
text-decoration: underline;
|
|
1704
|
-
}
|
|
1705
|
-
|
|
1706
1632
|
/* TagInput/index.less */
|
|
1707
1633
|
.rpc_tag_input {
|
|
1708
1634
|
position: relative;
|
|
@@ -3389,6 +3315,12 @@
|
|
|
3389
3315
|
perspective: 1000px;
|
|
3390
3316
|
box-sizing: border-box;
|
|
3391
3317
|
display: inline-block;
|
|
3318
|
+
user-select: none;
|
|
3319
|
+
}
|
|
3320
|
+
.rpc_flip_card *,
|
|
3321
|
+
.rpc_flip_card *::before,
|
|
3322
|
+
.rpc_flip_card *::after {
|
|
3323
|
+
box-sizing: border-box;
|
|
3392
3324
|
}
|
|
3393
3325
|
.rpc_flip_card_inner {
|
|
3394
3326
|
position: relative;
|
|
@@ -3415,6 +3347,7 @@
|
|
|
3415
3347
|
border-radius: 12px;
|
|
3416
3348
|
box-sizing: border-box;
|
|
3417
3349
|
overflow: hidden;
|
|
3350
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
|
3418
3351
|
}
|
|
3419
3352
|
.rpc_flip_card_back_horizontal {
|
|
3420
3353
|
transform: rotateY(180deg);
|
|
@@ -3928,59 +3861,6 @@
|
|
|
3928
3861
|
font-weight: 500;
|
|
3929
3862
|
}
|
|
3930
3863
|
|
|
3931
|
-
/* DiffTable/index.less */
|
|
3932
|
-
.rpc_diff_table {
|
|
3933
|
-
width: 100%;
|
|
3934
|
-
border-collapse: collapse;
|
|
3935
|
-
font-size: 13px;
|
|
3936
|
-
color: #262626;
|
|
3937
|
-
background: #ffffff;
|
|
3938
|
-
border: 1px solid #f0f0f0;
|
|
3939
|
-
border-radius: 8px;
|
|
3940
|
-
overflow: hidden;
|
|
3941
|
-
box-sizing: border-box;
|
|
3942
|
-
}
|
|
3943
|
-
.rpc_diff_table th {
|
|
3944
|
-
background: #fafafa;
|
|
3945
|
-
padding: 10px 14px;
|
|
3946
|
-
font-weight: 600;
|
|
3947
|
-
color: #595959;
|
|
3948
|
-
border-bottom: 1px solid #f0f0f0;
|
|
3949
|
-
text-align: left;
|
|
3950
|
-
}
|
|
3951
|
-
.rpc_diff_table td {
|
|
3952
|
-
padding: 10px 14px;
|
|
3953
|
-
border-bottom: 1px solid #f0f0f0;
|
|
3954
|
-
}
|
|
3955
|
-
.rpc_diff_table tr:last-child td {
|
|
3956
|
-
border-bottom: none;
|
|
3957
|
-
}
|
|
3958
|
-
.rpc_diff_table tr:hover td {
|
|
3959
|
-
background: #fafafa;
|
|
3960
|
-
}
|
|
3961
|
-
.rpc_diff_table_cell {
|
|
3962
|
-
display: flex;
|
|
3963
|
-
align-items: baseline;
|
|
3964
|
-
gap: 8px;
|
|
3965
|
-
}
|
|
3966
|
-
.rpc_diff_table_diff_tag {
|
|
3967
|
-
font-size: 11px;
|
|
3968
|
-
font-weight: 600;
|
|
3969
|
-
padding: 0 4px;
|
|
3970
|
-
border-radius: 2px;
|
|
3971
|
-
}
|
|
3972
|
-
.rpc_diff_table_diff_tag_up {
|
|
3973
|
-
color: #52c41a;
|
|
3974
|
-
background: rgba(82, 196, 26, 0.1);
|
|
3975
|
-
}
|
|
3976
|
-
.rpc_diff_table_diff_tag_down {
|
|
3977
|
-
color: #ff4d4f;
|
|
3978
|
-
background: rgba(255, 77, 79, 0.1);
|
|
3979
|
-
}
|
|
3980
|
-
.rpc_diff_table_diff_tag_same {
|
|
3981
|
-
color: #8c8c8c;
|
|
3982
|
-
}
|
|
3983
|
-
|
|
3984
3864
|
/* PhotoViewer/index.less */
|
|
3985
3865
|
.rpc_photo_viewer {
|
|
3986
3866
|
display: flex;
|
|
@@ -4152,37 +4032,6 @@
|
|
|
4152
4032
|
line-height: 1;
|
|
4153
4033
|
}
|
|
4154
4034
|
|
|
4155
|
-
/* CountdownButton/index.less */
|
|
4156
|
-
.rpc_countdown_btn {
|
|
4157
|
-
padding: 5px 14px;
|
|
4158
|
-
border-radius: 6px;
|
|
4159
|
-
font-size: 13px;
|
|
4160
|
-
font-weight: 500;
|
|
4161
|
-
border: 1px solid #1677ff;
|
|
4162
|
-
background: #1677ff;
|
|
4163
|
-
color: #ffffff;
|
|
4164
|
-
cursor: pointer;
|
|
4165
|
-
transition: all 0.2s;
|
|
4166
|
-
display: inline-flex;
|
|
4167
|
-
align-items: center;
|
|
4168
|
-
justify-content: center;
|
|
4169
|
-
user-select: none;
|
|
4170
|
-
box-sizing: border-box;
|
|
4171
|
-
}
|
|
4172
|
-
.rpc_countdown_btn:hover:not(:disabled) {
|
|
4173
|
-
background: #4096ff;
|
|
4174
|
-
border-color: #4096ff;
|
|
4175
|
-
}
|
|
4176
|
-
.rpc_countdown_btn:disabled {
|
|
4177
|
-
background: #f5f5f5;
|
|
4178
|
-
border-color: #d9d9d9;
|
|
4179
|
-
color: #8c8c8c;
|
|
4180
|
-
cursor: not-allowed;
|
|
4181
|
-
}
|
|
4182
|
-
.rpc_countdown_btn_loading {
|
|
4183
|
-
opacity: 0.8;
|
|
4184
|
-
}
|
|
4185
|
-
|
|
4186
4035
|
/* SegmentedProgress/index.less */
|
|
4187
4036
|
.rpc_seg_progress {
|
|
4188
4037
|
display: flex;
|