@fileverse-dev/fortune-react 1.0.2-mod-33 → 1.0.2-mod-28-patch-2

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.
@@ -944,25 +944,32 @@ html::-webkit-scrollbar-button {
944
944
  }
945
945
 
946
946
  .luckysheet-filter-options {
947
+ color: #897bff;
947
948
  cursor: pointer;
948
949
  position: absolute;
949
950
  z-index: 200;
950
- border-radius: 2px;
951
- top: 4px;
952
- margin-right: 2px;
953
- margin-top: 2px;
951
+ border: 1px solid #897bff;
952
+ border-radius: 3px;
953
+ top: 3px;
954
+ margin-left: 0px;
955
+ display: "block";
956
+ padding: 0px 4px;
954
957
  font-size: 12px;
955
958
  height: 15px;
956
- padding: 1px;
957
- background: hsl(var(--color-bg-tertiary));
959
+ background: #fff;
958
960
  }
959
961
 
960
962
  .luckysheet-filter-options:hover {
961
- background: hsl(var(--color-bg-default-hover));
963
+ color: #fff;
964
+ border: 1px solid #fff;
965
+ background: #897bff;
962
966
  }
963
967
 
964
968
  .luckysheet-filter-options-active {
965
- background: hsl(var(--color-bg-tertiary));
969
+ color: #fff;
970
+ border: 1px solid #897bff;
971
+ padding: 0px 1px;
972
+ background: #897bff;
966
973
  }
967
974
 
968
975
  .caret {
@@ -1133,7 +1140,7 @@ html::-webkit-scrollbar-button {
1133
1140
  .luckysheet-formula-help-content {
1134
1141
  display: flex;
1135
1142
  flex-direction: column;
1136
- /* gap: 8px; */
1143
+ gap: 8px;
1137
1144
  }
1138
1145
 
1139
1146
  .luckysheet-formula-help-content-param {
@@ -1173,6 +1180,14 @@ font-style: normal;
1173
1180
  font-weight: 400;
1174
1181
  line-height: 16px; /* 133.333% */
1175
1182
  }
1183
+ .example-value-code {
1184
+ color: var(--color-text-default, #363B3F);
1185
+
1186
+ font-size: var(--font-size-2xsm, 12px);
1187
+ font-style: normal;
1188
+ font-weight: 400;
1189
+ line-height: 16px; /* 133.333% */
1190
+ }
1176
1191
 
1177
1192
  .formula-title {
1178
1193
  display: flex;
@@ -1196,7 +1211,7 @@ line-height: 16px; /* 133.333% */
1196
1211
  }
1197
1212
 
1198
1213
  .luckysheet-arguments-help-parameter-content {
1199
- padding: 1px 10px;
1214
+ padding: 1px 0px;
1200
1215
  display: inline-block;
1201
1216
  word-wrap: break-word;
1202
1217
  }
@@ -1536,108 +1551,10 @@ line-height: 16px; /* 133.333% */
1536
1551
  overflow: hidden;
1537
1552
  background-color: #fff;
1538
1553
  z-index: 300;
1539
- padding: 16px 20px 20px 20px;
1540
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
1541
- border: 1px solid #e5e5e5;
1542
- border-radius: 8px;
1543
- min-width: 320px;
1544
- }
1545
-
1546
- .fortune-link-cards-container {
1547
- position: absolute;
1548
- display: flex;
1549
- gap: 16px;
1550
- z-index: 300;
1551
- }
1552
-
1553
- .fortune-link-card {
1554
- position: absolute;
1555
- background-color: #fff;
1556
- border: 1px solid #e5e5e5;
1557
- border-radius: 8px;
1558
- padding: 16px;
1559
- width: 300px;
1560
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
1561
- display: flex;
1562
- flex-direction: column;
1563
- gap: 12px;
1564
- z-index: 300;
1565
- }
1566
-
1567
- .fortune-link-type-select {
1568
- width: 100% !important;
1569
- }
1570
-
1571
- .fortune-link-type-dropdown {
1572
- z-index: 999999 !important;
1573
- }
1574
-
1575
- .fortune-sheet-dropdown {
1576
- z-index: 999999 !important;
1577
- }
1578
-
1579
- .fortune-input-with-icon {
1580
- position: relative;
1581
- display: flex;
1582
- align-items: center;
1583
- }
1584
-
1585
- .fortune-input-with-icon .input-icon {
1586
- position: absolute;
1587
- left: 12px;
1588
- top: 50%;
1589
- transform: translateY(-50%);
1590
- width: 16px;
1591
- height: 16px;
1592
- color: #666;
1593
- z-index: 1;
1594
- display: flex;
1595
- align-items: center;
1596
- justify-content: center;
1597
- }
1598
-
1599
- .fortune-input-with-icon .input-icon svg {
1600
- width: 16px;
1601
- height: 16px;
1602
- }
1603
-
1604
- .fortune-link-input {
1605
- width: 100% !important;
1606
- padding-left: 36px !important;
1607
- }
1608
-
1609
- .fortune-sheet-select {
1610
- width: 100% !important;
1611
- padding-left: 36px !important;
1612
- }
1613
-
1614
- /* Ensure Select dropdowns appear above everything */
1615
- [data-radix-portal] {
1616
- z-index: 999999 !important;
1617
- }
1618
-
1619
- .fortune-insert-button {
1620
- width: 100% !important;
1621
- background-color: #000 !important;
1622
- color: white !important;
1623
- border: none !important;
1624
- border-radius: 6px !important;
1625
- padding: 12px !important;
1626
- font-weight: 500 !important;
1627
- }
1628
-
1629
- .fortune-insert-button:hover {
1630
- background-color: #333 !important;
1631
- }
1632
-
1633
- .fortune-insert-button:disabled {
1634
- background-color: #ccc !important;
1635
- color: #666 !important;
1636
- cursor: not-allowed !important;
1637
- }
1638
-
1639
- .fortune-insert-button:disabled:hover {
1640
- background-color: #ccc !important;
1554
+ padding: 6px 20px 10px 20px;
1555
+ box-shadow: 0 2px 6px 0 rgb(0 0 0 / 16%);
1556
+ border: solid 0.5px #e5e5e5;
1557
+ border-radius: 6px;
1641
1558
  }
1642
1559
 
1643
1560
  .fortune-link-modify-modal.link-toolbar {
@@ -1683,72 +1600,82 @@ line-height: 16px; /* 133.333% */
1683
1600
  }
1684
1601
 
1685
1602
  .fortune-link-modify-line {
1686
- padding-top: 16px;
1687
- display: flex;
1688
- flex-direction: column;
1689
- gap: 8px;
1690
- }
1691
-
1692
- .fortune-link-modify-line:first-child {
1693
- padding-top: 0;
1603
+ padding-top: 10px;
1694
1604
  }
1695
1605
 
1696
1606
  .fortune-link-modify-title {
1697
- font-size: 14px;
1698
- font-weight: 500;
1607
+ font-size: 12px;
1608
+ display: inline-block;
1609
+ height: 16px;
1610
+ width: 74px;
1611
+ line-height: 16px;
1612
+ padding: 7px 0;
1699
1613
  color: #333333;
1700
- margin-bottom: 4px;
1701
- }
1702
-
1703
- .fortune-link-modify-input {
1704
- width: 100% !important;
1614
+ margin-right: 6px;
1705
1615
  }
1706
1616
 
1617
+ .fortune-link-modify-input,
1707
1618
  .fortune-link-modify-select {
1708
- width: 100% !important;
1619
+ width: 232px;
1620
+ box-sizing: border-box;
1621
+ height: 26px;
1622
+ border-radius: 5px;
1623
+ border: 1px solid #d9d9d9;
1624
+ font-size: 12px;
1625
+ padding: 1px 8px;
1626
+ outline: none;
1627
+ -webkit-user-select: auto;
1628
+ -moz-user-select: auto;
1629
+ -ms-user-select: auto;
1630
+ user-select: auto;
1709
1631
  }
1710
1632
 
1711
- .input-with-selector {
1712
- position: relative;
1713
- display: flex;
1714
- align-items: center;
1633
+ .fortune-link-modify-input:focus,
1634
+ .fortune-link-modify-modal .range-selection-input:focus {
1635
+ border-color: #4d90fe;
1715
1636
  }
1716
1637
 
1717
- .input-with-selector .fortune-link-modify-input {
1718
- padding-right: 32px !important;
1638
+ .fortune-link-modify-input.error-input,
1639
+ .fortune-link-modify-modal .range-selection-input.error-input {
1640
+ border: 1px solid #ef4e2f !important;
1719
1641
  }
1720
1642
 
1721
1643
  .fortune-link-modify-cell-selector {
1722
- position: absolute;
1723
- right: 8px;
1724
- top: 50%;
1725
- transform: translateY(-50%);
1726
1644
  width: 20px;
1727
- height: 20px;
1728
- padding: 2px;
1729
- display: flex;
1730
- align-items: center;
1731
- justify-content: center;
1645
+ right: 24px;
1646
+ padding: 4px;
1647
+ position: absolute;
1648
+ display: inline-block;
1732
1649
  border: none;
1733
1650
  cursor: pointer;
1734
- background: transparent;
1735
- border-radius: 4px;
1736
- }
1737
-
1738
- .fortune-link-modify-cell-selector:hover {
1739
- background-color: rgba(0, 0, 0, 0.06);
1651
+ -webkit-appearance: none;
1652
+ -moz-appearance: none;
1653
+ appearance: none;
1740
1654
  }
1741
1655
 
1742
1656
  .fortune-link-modify-modal .modal-title {
1743
- font-weight: 600;
1744
- font-size: 18px;
1657
+ font-weight: 500;
1658
+ font-size: 16px;
1745
1659
  color: rgba(0, 0, 0, 0.88);
1746
- margin-bottom: 16px;
1660
+ margin-bottom: 12px;
1747
1661
  line-height: 24px;
1748
1662
  }
1749
1663
 
1750
1664
  .fortune-link-modify-modal .range-selection-input {
1751
- width: 100% !important;
1665
+ display: block;
1666
+ outline: none;
1667
+ font-size: 14px;
1668
+ height: 32px;
1669
+ width: 100%;
1670
+ -webkit-box-sizing: border-box;
1671
+ box-sizing: border-box;
1672
+ padding: 7px 11px;
1673
+ border: 1px solid #e0e0e0;
1674
+ border-radius: 4px;
1675
+ -webkit-appearance: none;
1676
+ -moz-appearance: none;
1677
+ appearance: none;
1678
+ margin: 0;
1752
1679
  }
1753
1680
 
1754
1681
  .fortune-link-modify-modal .modal-icon-close {
@@ -1756,53 +1683,52 @@ line-height: 16px; /* 133.333% */
1756
1683
  right: 22px;
1757
1684
  top: 22px;
1758
1685
  cursor: pointer;
1759
- width: 20px;
1760
- height: 20px;
1761
- display: flex;
1762
- align-items: center;
1763
- justify-content: center;
1764
- border-radius: 4px;
1765
- }
1766
-
1767
- .fortune-link-modify-modal .modal-icon-close:hover {
1768
- background-color: rgba(0, 0, 0, 0.06);
1769
1686
  }
1770
1687
 
1771
1688
  .fortune-link-modify-modal .validation-input-tip {
1689
+ height: 17px;
1772
1690
  font-size: 12px;
1773
1691
  color: #ef4e2f;
1774
- margin-top: 4px;
1692
+ margin: 3px 0px;
1775
1693
  }
1776
1694
 
1777
1695
  .fortune-link-modify-modal .button-group {
1778
1696
  display: flex;
1779
- gap: 12px;
1780
- justify-content: flex-end;
1781
1697
  }
1782
1698
 
1783
1699
  .fortune-link-modify-modal .modal-footer {
1784
1700
  display: flex;
1785
1701
  justify-content: flex-end;
1786
- padding-top: 20px;
1787
- margin-top: 8px;
1788
- border-top: 1px solid #f0f0f0;
1702
+ padding: 0px 0px 5px 0px;
1789
1703
  }
1790
1704
 
1791
1705
  .fortune-link-modify-modal.range-selection-modal .modal-footer {
1792
- padding-top: 16px;
1793
- border-top: 1px solid #f0f0f0;
1706
+ padding: 0px;
1707
+ }
1708
+
1709
+ .fortune-link-modify-modal .button-basic {
1710
+ display: flex;
1711
+ flex-flow: row nowrap;
1712
+ justify-content: center;
1713
+ align-items: center;
1714
+ font-size: 14px;
1715
+ height: 32px;
1716
+ width: 88px;
1717
+ padding: 0;
1718
+ border-radius: 4px;
1719
+ cursor: pointer;
1794
1720
  }
1795
1721
 
1796
- /* Error state styling for fileverse/ui components */
1797
- .fortune-link-modify-modal .error-input input,
1798
- .fortune-link-card .error-input input {
1799
- border-color: #ef4e2f !important;
1722
+ .fortune-link-modify-modal .button-default {
1723
+ color: rgb(38, 42, 51);
1724
+ background-color: rgb(255, 255, 255);
1725
+ border: 1px solid rgb(235, 235, 235);
1800
1726
  }
1801
1727
 
1802
- .fortune-link-modify-modal .error-input input:focus,
1803
- .fortune-link-card .error-input input:focus {
1804
- border-color: #ef4e2f !important;
1805
- box-shadow: 0 0 0 2px rgba(239, 78, 47, 0.2) !important;
1728
+ .fortune-link-modify-modal .button-primary {
1729
+ color: white;
1730
+ background-color: #0188fb;
1731
+ margin-left: 14px;
1806
1732
  }
1807
1733
 
1808
1734
  #fortune-data-verification {
@@ -2545,29 +2471,6 @@ input[type="number"].condition-rules-project-input {
2545
2471
  cursor: pointer;
2546
2472
  }
2547
2473
 
2548
- .fortune-border-grid {
2549
- display: grid;
2550
- grid-template-columns: repeat(5, 1fr);
2551
- gap: 4px;
2552
- padding: 8px;
2553
- min-width: 200px;
2554
- }
2555
-
2556
- .fortune-border-grid-item {
2557
- display: flex;
2558
- align-items: center;
2559
- justify-content: center;
2560
- width: 32px;
2561
- height: 32px;
2562
- cursor: pointer;
2563
- border-radius: 4px;
2564
- transition: background-color 0.2s ease;
2565
- }
2566
-
2567
- .fortune-border-grid-item:hover {
2568
- background-color: hsl(var(--color-bg-default-hover));
2569
- }
2570
-
2571
2474
  #fortune-split-column {
2572
2475
  /* position: absolute;
2573
2476
  padding: 30px 42px;
@@ -3169,12 +3072,13 @@ label {
3169
3072
  min-width: 240px;
3170
3073
  max-height: 100%;
3171
3074
  overflow-y: auto;
3172
- border-radius: 8px;
3075
+ border-radius: 4px;
3173
3076
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
3174
3077
  transition: opacity 0.218s;
3175
3078
  background: #fff;
3176
3079
  border: 1px solid hsl(var(--color-border-default));
3177
3080
  cursor: default;
3081
+ font-size: 13px;
3178
3082
  margin: 0;
3179
3083
  outline: none;
3180
3084
  padding: 8px;
@@ -3186,8 +3090,9 @@ label {
3186
3090
  user-select: none;
3187
3091
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
3188
3092
  font-size: 14px;
3189
- /* max-width: 250px; */
3190
- color: hsl(var(--color-text-default));
3093
+ max-width: 250px;
3094
+ box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.08);
3095
+ color: #363b3f;
3191
3096
  line-height: 20px;
3192
3097
  }
3193
3098
 
@@ -3269,10 +3174,9 @@ label {
3269
3174
 
3270
3175
  .fortune-menuitem-row {
3271
3176
  display: flex;
3177
+ padding: 7px 24px;
3272
3178
  white-space: pre;
3273
3179
  align-items: center;
3274
- gap: 8px;
3275
- justify-content: flex-end;
3276
3180
  }
3277
3181
 
3278
3182
  .fortune-byvalue-btn {
@@ -3398,32 +3302,21 @@ label {
3398
3302
  }
3399
3303
 
3400
3304
  #luckysheet-filter-byvalue-select {
3401
- position: relative;
3402
3305
  min-height: 100px;
3403
- max-height: 210px;
3404
3306
  overflow-y: auto;
3405
3307
  overflow-x: hidden;
3406
- padding: 8px;
3407
- display: flex;
3408
- flex-direction: column;
3409
- gap: 8px;
3410
- border-radius: 4px;
3411
- border: 1px solid hsl(var(--color-border-default));
3308
+ padding: 4px 24px;
3412
3309
  }
3413
3310
 
3414
3311
  #luckysheet-filter-byvalue-select .count,
3415
3312
  #luckysheet-pivotTableFilter-byvalue-select .count {
3416
- color: hsl(var(--color-text-secondary));
3417
- font-size: 14px;
3313
+ color: gray;
3314
+ margin-left: 5px;
3418
3315
  }
3419
3316
 
3420
3317
  #luckysheet-filter-byvalue-select .select-item {
3421
3318
  display: flex;
3422
3319
  align-items: center;
3423
- justify-content: space-between;
3424
- gap: 8px;
3425
- font-size: 14px;
3426
-
3427
3320
  }
3428
3321
 
3429
3322
  /*颜色筛选 -- pan*/