@fileverse-dev/fortune-react 1.0.2-mod-34 → 1.0.2-mod-36

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.
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
2
  import "./index.css";
3
+ export declare const getIcon: (title: string) => "AlignLeft" | "AlignCenter" | "AlignRight" | "ArrowUpFromLine" | "AlignVerticalMiddle" | "ArrowDownFromLine" | "TextOverflow" | "WrapText" | "TextClip" | "";
3
4
  declare const Toolbar: React.FC<{
4
5
  setMoreItems: React.Dispatch<React.SetStateAction<React.ReactNode>>;
5
6
  moreItemsOpen: boolean;
package/dist/index.css CHANGED
@@ -987,28 +987,32 @@ html::-webkit-scrollbar-button {
987
987
 
988
988
  #luckysheet-dataVerification-showHintBox {
989
989
  display: none;
990
- padding: 10px;
991
- background-color: #ffffff;
992
- border: 1px solid #ccc;
990
+ padding: 8px;
991
+ min-width: 132px;
992
+ background-color: hsl(var(--color-bg-default));
993
+ border: 1px solid hsl(var(--color-border-default));
994
+ border-left: 4px solid #f4874a !important;
995
+ border-radius: 4px;
993
996
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
994
997
  position: absolute;
998
+ transform: translateY(4px);
995
999
  z-index: 1000;
996
1000
  -webkit-user-select: none;
997
1001
  -moz-user-select: none;
998
1002
  user-select: none;
999
1003
  cursor: default;
1000
1004
  white-space: nowrap;
1001
- font-size: 12px;
1005
+ font-size: 14px;
1002
1006
  }
1003
1007
 
1004
1008
  #luckysheet-dataVerification-dropdown-btn {
1005
1009
  display: none;
1006
- width: 20px;
1007
- height: 20px;
1008
- background-color: #ffffff;
1010
+ padding: 1px;
1009
1011
  position: absolute;
1012
+ transform: translateY(15%);
1010
1013
  z-index: 10;
1011
1014
  overflow: hidden;
1015
+ cursor: pointer !important;
1012
1016
  }
1013
1017
 
1014
1018
  .luckysheet-formula-search-c {
@@ -1814,8 +1818,7 @@ line-height: 16px; /* 133.333% */
1814
1818
  }
1815
1819
 
1816
1820
  #fortune-data-verification {
1817
- min-width: 500px;
1818
- padding: 10px 0px;
1821
+ min-width: 510px;
1819
1822
  -webkit-user-select: none;
1820
1823
  -moz-user-select: none;
1821
1824
  user-select: none;
@@ -1992,25 +1995,38 @@ line-height: 16px; /* 133.333% */
1992
1995
  }
1993
1996
 
1994
1997
  #luckysheet-dataVerification-dropdown-List {
1995
- background-color: #fff;
1996
- border: 1px solid #ccc;
1998
+ background-color: hsl(var(--color-bg-default));
1999
+ border: 1px solid hsl(var(--color-border-default));
2000
+ border-radius: 8px;
1997
2001
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
2002
+ transform: translateY(4px);
1998
2003
  position: absolute;
1999
2004
  z-index: 10000;
2000
2005
  box-sizing: border-box;
2001
- font-size: 12px;
2006
+ font-size: 14px;
2007
+ padding: 8px;
2008
+ min-width: 160px;
2002
2009
  }
2003
2010
 
2004
2011
  #luckysheet-dataVerification-dropdown-List .dropdown-List-item {
2005
- padding: 5px 10px;
2012
+ padding: 4px 8px;
2006
2013
  box-sizing: border-box;
2007
- cursor: pointer;
2014
+ cursor: pointer !important;
2015
+ border-radius: 4px;
2008
2016
  }
2009
2017
 
2010
2018
  #luckysheet-dataVerification-dropdown-List .dropdown-List-item:hover {
2011
- background-color: #e1e1e1;
2019
+ background-color: hsl(var(--color-bg-default-hover));
2020
+ transition: background-color 0.2s ease;
2012
2021
  }
2013
2022
 
2023
+ [data-radix-popper-content-wrapper] {
2024
+ z-index: 10000 !important;
2025
+ }
2026
+
2027
+ .data-verification-checkbox-label {
2028
+ min-width: 100px;
2029
+ }
2014
2030
  .condition-format-sub-menu {
2015
2031
  position: absolute;
2016
2032
  top: -12px;
@@ -987,28 +987,32 @@ html::-webkit-scrollbar-button {
987
987
 
988
988
  #luckysheet-dataVerification-showHintBox {
989
989
  display: none;
990
- padding: 10px;
991
- background-color: #ffffff;
992
- border: 1px solid #ccc;
990
+ padding: 8px;
991
+ min-width: 132px;
992
+ background-color: hsl(var(--color-bg-default));
993
+ border: 1px solid hsl(var(--color-border-default));
994
+ border-left: 4px solid #f4874a !important;
995
+ border-radius: 4px;
993
996
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
994
997
  position: absolute;
998
+ transform: translateY(4px);
995
999
  z-index: 1000;
996
1000
  -webkit-user-select: none;
997
1001
  -moz-user-select: none;
998
1002
  user-select: none;
999
1003
  cursor: default;
1000
1004
  white-space: nowrap;
1001
- font-size: 12px;
1005
+ font-size: 14px;
1002
1006
  }
1003
1007
 
1004
1008
  #luckysheet-dataVerification-dropdown-btn {
1005
1009
  display: none;
1006
- width: 20px;
1007
- height: 20px;
1008
- background-color: #ffffff;
1010
+ padding: 1px;
1009
1011
  position: absolute;
1012
+ transform: translateY(15%);
1010
1013
  z-index: 10;
1011
1014
  overflow: hidden;
1015
+ cursor: pointer !important;
1012
1016
  }
1013
1017
 
1014
1018
  .luckysheet-formula-search-c {
@@ -1814,8 +1818,7 @@ line-height: 16px; /* 133.333% */
1814
1818
  }
1815
1819
 
1816
1820
  #fortune-data-verification {
1817
- min-width: 500px;
1818
- padding: 10px 0px;
1821
+ min-width: 510px;
1819
1822
  -webkit-user-select: none;
1820
1823
  -moz-user-select: none;
1821
1824
  user-select: none;
@@ -1992,25 +1995,38 @@ line-height: 16px; /* 133.333% */
1992
1995
  }
1993
1996
 
1994
1997
  #luckysheet-dataVerification-dropdown-List {
1995
- background-color: #fff;
1996
- border: 1px solid #ccc;
1998
+ background-color: hsl(var(--color-bg-default));
1999
+ border: 1px solid hsl(var(--color-border-default));
2000
+ border-radius: 8px;
1997
2001
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
2002
+ transform: translateY(4px);
1998
2003
  position: absolute;
1999
2004
  z-index: 10000;
2000
2005
  box-sizing: border-box;
2001
- font-size: 12px;
2006
+ font-size: 14px;
2007
+ padding: 8px;
2008
+ min-width: 160px;
2002
2009
  }
2003
2010
 
2004
2011
  #luckysheet-dataVerification-dropdown-List .dropdown-List-item {
2005
- padding: 5px 10px;
2012
+ padding: 4px 8px;
2006
2013
  box-sizing: border-box;
2007
- cursor: pointer;
2014
+ cursor: pointer !important;
2015
+ border-radius: 4px;
2008
2016
  }
2009
2017
 
2010
2018
  #luckysheet-dataVerification-dropdown-List .dropdown-List-item:hover {
2011
- background-color: #e1e1e1;
2019
+ background-color: hsl(var(--color-bg-default-hover));
2020
+ transition: background-color 0.2s ease;
2012
2021
  }
2013
2022
 
2023
+ [data-radix-popper-content-wrapper] {
2024
+ z-index: 10000 !important;
2025
+ }
2026
+
2027
+ .data-verification-checkbox-label {
2028
+ min-width: 100px;
2029
+ }
2014
2030
  .condition-format-sub-menu {
2015
2031
  position: absolute;
2016
2032
  top: -12px;