@relayprotocol/relay-kit-ui 5.1.2 → 6.0.0
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/_cjs/src/components/common/BalanceDisplay.js +4 -3
- package/_cjs/src/components/common/BalanceDisplay.js.map +1 -1
- package/_cjs/src/components/common/MultiWalletDropdown.js +5 -4
- package/_cjs/src/components/common/MultiWalletDropdown.js.map +1 -1
- package/_cjs/src/components/common/PercentageButtons.js +9 -9
- package/_cjs/src/components/common/PercentageButtons.js.map +1 -1
- package/_cjs/src/components/common/SlippageToleranceConfig.js +30 -17
- package/_cjs/src/components/common/SlippageToleranceConfig.js.map +1 -1
- package/_cjs/src/components/common/TokenSelector/ChainFilter.js +21 -19
- package/_cjs/src/components/common/TokenSelector/ChainFilter.js.map +1 -1
- package/_cjs/src/components/common/TokenSelector/ChainFilterRow.js +117 -0
- package/_cjs/src/components/common/TokenSelector/ChainFilterRow.js.map +1 -0
- package/_cjs/src/components/common/TokenSelector/ChainFilterSidebar.js +2 -13
- package/_cjs/src/components/common/TokenSelector/ChainFilterSidebar.js.map +1 -1
- package/_cjs/src/components/common/TokenSelector/CompactChainFilter.js +180 -0
- package/_cjs/src/components/common/TokenSelector/CompactChainFilter.js.map +1 -0
- package/_cjs/src/components/common/TokenSelector/PaymentMethod.js +456 -0
- package/_cjs/src/components/common/TokenSelector/PaymentMethod.js.map +1 -0
- package/_cjs/src/components/common/TokenSelector/PaymentTokenList.js +83 -0
- package/_cjs/src/components/common/TokenSelector/PaymentTokenList.js.map +1 -0
- package/_cjs/src/components/common/TokenSelector/triggers/PaymentMethodTrigger.js +77 -0
- package/_cjs/src/components/common/TokenSelector/triggers/PaymentMethodTrigger.js.map +1 -0
- package/_cjs/src/components/primitives/ChainTokenIcon.js +3 -2
- package/_cjs/src/components/primitives/ChainTokenIcon.js.map +1 -1
- package/_cjs/src/components/primitives/SlippageButton.js +40 -0
- package/_cjs/src/components/primitives/SlippageButton.js.map +1 -0
- package/_cjs/src/components/primitives/Tabs.js +4 -2
- package/_cjs/src/components/primitives/Tabs.js.map +1 -1
- package/_cjs/src/components/widgets/SwapButton.js +35 -7
- package/_cjs/src/components/widgets/SwapButton.js.map +1 -1
- package/_cjs/src/components/widgets/TokenWidget/AmountModeToggle.js +31 -0
- package/_cjs/src/components/widgets/TokenWidget/AmountModeToggle.js.map +1 -0
- package/_cjs/src/components/widgets/TokenWidget/AmountSectionHeader.js +8 -0
- package/_cjs/src/components/widgets/TokenWidget/AmountSectionHeader.js.map +1 -0
- package/_cjs/src/components/widgets/TokenWidget/BuyTabContent.js +218 -0
- package/_cjs/src/components/widgets/TokenWidget/BuyTabContent.js.map +1 -0
- package/_cjs/src/components/widgets/TokenWidget/DestinationWalletSelector.js +20 -0
- package/_cjs/src/components/widgets/TokenWidget/DestinationWalletSelector.js.map +1 -0
- package/_cjs/src/components/widgets/TokenWidget/FeeBreakdownInfo.js +26 -0
- package/_cjs/src/components/widgets/TokenWidget/FeeBreakdownInfo.js.map +1 -0
- package/_cjs/src/components/widgets/TokenWidget/FeeBreakdownTooltip.js +40 -0
- package/_cjs/src/components/widgets/TokenWidget/FeeBreakdownTooltip.js.map +1 -0
- package/_cjs/src/components/widgets/TokenWidget/SectionContainer.js +22 -0
- package/_cjs/src/components/widgets/TokenWidget/SectionContainer.js.map +1 -0
- package/_cjs/src/components/widgets/TokenWidget/SellTabContent.js +280 -0
- package/_cjs/src/components/widgets/TokenWidget/SellTabContent.js.map +1 -0
- package/_cjs/src/components/widgets/TokenWidget/TransactionDetailsFooter.js +28 -0
- package/_cjs/src/components/widgets/TokenWidget/TransactionDetailsFooter.js.map +1 -0
- package/_cjs/src/components/widgets/TokenWidget/hooks/useWalletGuards.js +108 -0
- package/_cjs/src/components/widgets/TokenWidget/hooks/useWalletGuards.js.map +1 -0
- package/_cjs/src/components/widgets/TokenWidget/index.js +9 -0
- package/_cjs/src/components/widgets/TokenWidget/index.js.map +1 -0
- package/_cjs/src/components/widgets/TokenWidget/widget/TokenWidgetRenderer.js +770 -0
- package/_cjs/src/components/widgets/TokenWidget/widget/TokenWidgetRenderer.js.map +1 -0
- package/_cjs/src/components/widgets/TokenWidget/widget/index.js +1005 -0
- package/_cjs/src/components/widgets/TokenWidget/widget/index.js.map +1 -0
- package/_cjs/src/hooks/index.js +3 -1
- package/_cjs/src/hooks/index.js.map +1 -1
- package/_cjs/src/hooks/useDuneBalances.js +2 -1
- package/_cjs/src/hooks/useDuneBalances.js.map +1 -1
- package/_cjs/src/hooks/useEOADetection.js +3 -0
- package/_cjs/src/hooks/useEOADetection.js.map +1 -1
- package/_cjs/src/hooks/useMultiWalletBalances.js +119 -0
- package/_cjs/src/hooks/useMultiWalletBalances.js.map +1 -0
- package/_cjs/src/index.js.map +1 -1
- package/_cjs/src/styles.css +251 -88
- package/_cjs/src/utils/numbers.js +39 -1
- package/_cjs/src/utils/numbers.js.map +1 -1
- package/_cjs/src/utils/tokenSelector.js +4 -1
- package/_cjs/src/utils/tokenSelector.js.map +1 -1
- package/_cjs/src/utils/tokens.js +20 -1
- package/_cjs/src/utils/tokens.js.map +1 -1
- package/_cjs/src/version.js +1 -1
- package/_cjs/tsconfig.build.tsbuildinfo +1 -1
- package/_esm/src/components/common/BalanceDisplay.js +4 -3
- package/_esm/src/components/common/BalanceDisplay.js.map +1 -1
- package/_esm/src/components/common/MultiWalletDropdown.js +5 -4
- package/_esm/src/components/common/MultiWalletDropdown.js.map +1 -1
- package/_esm/src/components/common/PercentageButtons.js +10 -10
- package/_esm/src/components/common/PercentageButtons.js.map +1 -1
- package/_esm/src/components/common/SlippageToleranceConfig.js +31 -23
- package/_esm/src/components/common/SlippageToleranceConfig.js.map +1 -1
- package/_esm/src/components/common/TokenSelector/ChainFilter.js +25 -23
- package/_esm/src/components/common/TokenSelector/ChainFilter.js.map +1 -1
- package/_esm/src/components/common/TokenSelector/ChainFilterRow.js +112 -0
- package/_esm/src/components/common/TokenSelector/ChainFilterRow.js.map +1 -0
- package/_esm/src/components/common/TokenSelector/ChainFilterSidebar.js +4 -15
- package/_esm/src/components/common/TokenSelector/ChainFilterSidebar.js.map +1 -1
- package/_esm/src/components/common/TokenSelector/CompactChainFilter.js +176 -0
- package/_esm/src/components/common/TokenSelector/CompactChainFilter.js.map +1 -0
- package/_esm/src/components/common/TokenSelector/PaymentMethod.js +461 -0
- package/_esm/src/components/common/TokenSelector/PaymentMethod.js.map +1 -0
- package/_esm/src/components/common/TokenSelector/PaymentTokenList.js +79 -0
- package/_esm/src/components/common/TokenSelector/PaymentTokenList.js.map +1 -0
- package/_esm/src/components/common/TokenSelector/triggers/PaymentMethodTrigger.js +72 -0
- package/_esm/src/components/common/TokenSelector/triggers/PaymentMethodTrigger.js.map +1 -0
- package/_esm/src/components/primitives/ChainTokenIcon.js +3 -2
- package/_esm/src/components/primitives/ChainTokenIcon.js.map +1 -1
- package/_esm/src/components/primitives/SlippageButton.js +36 -0
- package/_esm/src/components/primitives/SlippageButton.js.map +1 -0
- package/_esm/src/components/primitives/Tabs.js +4 -2
- package/_esm/src/components/primitives/Tabs.js.map +1 -1
- package/_esm/src/components/widgets/SwapButton.js +35 -7
- package/_esm/src/components/widgets/SwapButton.js.map +1 -1
- package/_esm/src/components/widgets/TokenWidget/AmountModeToggle.js +30 -0
- package/_esm/src/components/widgets/TokenWidget/AmountModeToggle.js.map +1 -0
- package/_esm/src/components/widgets/TokenWidget/AmountSectionHeader.js +7 -0
- package/_esm/src/components/widgets/TokenWidget/AmountSectionHeader.js.map +1 -0
- package/_esm/src/components/widgets/TokenWidget/BuyTabContent.js +215 -0
- package/_esm/src/components/widgets/TokenWidget/BuyTabContent.js.map +1 -0
- package/_esm/src/components/widgets/TokenWidget/DestinationWalletSelector.js +16 -0
- package/_esm/src/components/widgets/TokenWidget/DestinationWalletSelector.js.map +1 -0
- package/_esm/src/components/widgets/TokenWidget/FeeBreakdownInfo.js +21 -0
- package/_esm/src/components/widgets/TokenWidget/FeeBreakdownInfo.js.map +1 -0
- package/_esm/src/components/widgets/TokenWidget/FeeBreakdownTooltip.js +39 -0
- package/_esm/src/components/widgets/TokenWidget/FeeBreakdownTooltip.js.map +1 -0
- package/_esm/src/components/widgets/TokenWidget/SectionContainer.js +22 -0
- package/_esm/src/components/widgets/TokenWidget/SectionContainer.js.map +1 -0
- package/_esm/src/components/widgets/TokenWidget/SellTabContent.js +283 -0
- package/_esm/src/components/widgets/TokenWidget/SellTabContent.js.map +1 -0
- package/_esm/src/components/widgets/TokenWidget/TransactionDetailsFooter.js +27 -0
- package/_esm/src/components/widgets/TokenWidget/TransactionDetailsFooter.js.map +1 -0
- package/_esm/src/components/widgets/TokenWidget/hooks/useWalletGuards.js +104 -0
- package/_esm/src/components/widgets/TokenWidget/hooks/useWalletGuards.js.map +1 -0
- package/_esm/src/components/widgets/TokenWidget/index.js +2 -0
- package/_esm/src/components/widgets/TokenWidget/index.js.map +1 -0
- package/_esm/src/components/widgets/TokenWidget/widget/TokenWidgetRenderer.js +795 -0
- package/_esm/src/components/widgets/TokenWidget/widget/TokenWidgetRenderer.js.map +1 -0
- package/_esm/src/components/widgets/TokenWidget/widget/index.js +1073 -0
- package/_esm/src/components/widgets/TokenWidget/widget/index.js.map +1 -0
- package/_esm/src/hooks/index.js +2 -1
- package/_esm/src/hooks/index.js.map +1 -1
- package/_esm/src/hooks/useDuneBalances.js +2 -1
- package/_esm/src/hooks/useDuneBalances.js.map +1 -1
- package/_esm/src/hooks/useEOADetection.js +3 -0
- package/_esm/src/hooks/useEOADetection.js.map +1 -1
- package/_esm/src/hooks/useMultiWalletBalances.js +122 -0
- package/_esm/src/hooks/useMultiWalletBalances.js.map +1 -0
- package/_esm/src/index.js.map +1 -1
- package/_esm/src/styles.css +251 -88
- package/_esm/src/utils/numbers.js +44 -1
- package/_esm/src/utils/numbers.js.map +1 -1
- package/_esm/src/utils/tokenSelector.js +4 -1
- package/_esm/src/utils/tokenSelector.js.map +1 -1
- package/_esm/src/utils/tokens.js +25 -0
- package/_esm/src/utils/tokens.js.map +1 -1
- package/_esm/src/version.js +1 -1
- package/_esm/tsconfig.build.tsbuildinfo +1 -1
- package/_types/src/components/common/BalanceDisplay.d.ts +2 -0
- package/_types/src/components/common/BalanceDisplay.d.ts.map +1 -1
- package/_types/src/components/common/MultiWalletDropdown.d.ts +2 -1
- package/_types/src/components/common/MultiWalletDropdown.d.ts.map +1 -1
- package/_types/src/components/common/PercentageButtons.d.ts +3 -1
- package/_types/src/components/common/PercentageButtons.d.ts.map +1 -1
- package/_types/src/components/common/SlippageToleranceConfig.d.ts +7 -0
- package/_types/src/components/common/SlippageToleranceConfig.d.ts.map +1 -1
- package/_types/src/components/common/TokenSelector/ChainFilter.d.ts.map +1 -1
- package/_types/src/components/common/TokenSelector/ChainFilterRow.d.ts +19 -0
- package/_types/src/components/common/TokenSelector/ChainFilterRow.d.ts.map +1 -0
- package/_types/src/components/common/TokenSelector/ChainFilterSidebar.d.ts.map +1 -1
- package/_types/src/components/common/TokenSelector/CompactChainFilter.d.ts +14 -0
- package/_types/src/components/common/TokenSelector/CompactChainFilter.d.ts.map +1 -0
- package/_types/src/components/common/TokenSelector/PaymentMethod.d.ts +24 -0
- package/_types/src/components/common/TokenSelector/PaymentMethod.d.ts.map +1 -0
- package/_types/src/components/common/TokenSelector/PaymentTokenList.d.ts +15 -0
- package/_types/src/components/common/TokenSelector/PaymentTokenList.d.ts.map +1 -0
- package/_types/src/components/common/TokenSelector/triggers/PaymentMethodTrigger.d.ts +13 -0
- package/_types/src/components/common/TokenSelector/triggers/PaymentMethodTrigger.d.ts.map +1 -0
- package/_types/src/components/primitives/ChainTokenIcon.d.ts +1 -0
- package/_types/src/components/primitives/ChainTokenIcon.d.ts.map +1 -1
- package/_types/src/components/primitives/SlippageButton.d.ts +8 -0
- package/_types/src/components/primitives/SlippageButton.d.ts.map +1 -0
- package/_types/src/components/primitives/Tabs.d.ts.map +1 -1
- package/_types/src/components/widgets/SwapButton.d.ts +5 -2
- package/_types/src/components/widgets/SwapButton.d.ts.map +1 -1
- package/_types/src/components/widgets/TokenWidget/AmountModeToggle.d.ts +12 -0
- package/_types/src/components/widgets/TokenWidget/AmountModeToggle.d.ts.map +1 -0
- package/_types/src/components/widgets/TokenWidget/AmountSectionHeader.d.ts +11 -0
- package/_types/src/components/widgets/TokenWidget/AmountSectionHeader.d.ts.map +1 -0
- package/_types/src/components/widgets/TokenWidget/BuyTabContent.d.ts +52 -0
- package/_types/src/components/widgets/TokenWidget/BuyTabContent.d.ts.map +1 -0
- package/_types/src/components/widgets/TokenWidget/DestinationWalletSelector.d.ts +17 -0
- package/_types/src/components/widgets/TokenWidget/DestinationWalletSelector.d.ts.map +1 -0
- package/_types/src/components/widgets/TokenWidget/FeeBreakdownInfo.d.ts +16 -0
- package/_types/src/components/widgets/TokenWidget/FeeBreakdownInfo.d.ts.map +1 -0
- package/_types/src/components/widgets/TokenWidget/FeeBreakdownTooltip.d.ts +15 -0
- package/_types/src/components/widgets/TokenWidget/FeeBreakdownTooltip.d.ts.map +1 -0
- package/_types/src/components/widgets/TokenWidget/SectionContainer.d.ts +8 -0
- package/_types/src/components/widgets/TokenWidget/SectionContainer.d.ts.map +1 -0
- package/_types/src/components/widgets/TokenWidget/SellTabContent.d.ts +61 -0
- package/_types/src/components/widgets/TokenWidget/SellTabContent.d.ts.map +1 -0
- package/_types/src/components/widgets/TokenWidget/TransactionDetailsFooter.d.ts +14 -0
- package/_types/src/components/widgets/TokenWidget/TransactionDetailsFooter.d.ts.map +1 -0
- package/_types/src/components/widgets/TokenWidget/hooks/useWalletGuards.d.ts +28 -0
- package/_types/src/components/widgets/TokenWidget/hooks/useWalletGuards.d.ts.map +1 -0
- package/_types/src/components/widgets/TokenWidget/index.d.ts +3 -0
- package/_types/src/components/widgets/TokenWidget/index.d.ts.map +1 -0
- package/_types/src/components/widgets/TokenWidget/widget/TokenWidgetRenderer.d.ts +125 -0
- package/_types/src/components/widgets/TokenWidget/widget/TokenWidgetRenderer.d.ts.map +1 -0
- package/_types/src/components/widgets/TokenWidget/widget/index.d.ts +57 -0
- package/_types/src/components/widgets/TokenWidget/widget/index.d.ts.map +1 -0
- package/_types/src/hooks/index.d.ts +2 -1
- package/_types/src/hooks/index.d.ts.map +1 -1
- package/_types/src/hooks/useDuneBalances.d.ts.map +1 -1
- package/_types/src/hooks/useEOADetection.d.ts.map +1 -1
- package/_types/src/hooks/useMultiWalletBalances.d.ts +26 -0
- package/_types/src/hooks/useMultiWalletBalances.d.ts.map +1 -0
- package/_types/src/index.d.ts +1 -0
- package/_types/src/index.d.ts.map +1 -1
- package/_types/src/utils/numbers.d.ts +8 -1
- package/_types/src/utils/numbers.d.ts.map +1 -1
- package/_types/src/utils/tokenSelector.d.ts +1 -1
- package/_types/src/utils/tokenSelector.d.ts.map +1 -1
- package/_types/src/utils/tokens.d.ts +17 -0
- package/_types/src/utils/tokens.d.ts.map +1 -1
- package/_types/src/version.d.ts +1 -1
- package/_types/tsconfig.build.tsbuildinfo +1 -1
- package/dist/panda.buildinfo.json +74 -33
- package/dist/styles.css +251 -88
- package/package.json +8 -3
package/_esm/src/styles.css
CHANGED
|
@@ -1260,10 +1260,6 @@
|
|
|
1260
1260
|
padding: var(--relay-spacing-4);
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
|
-
.relay-px_2\!:not(#\#) {
|
|
1264
|
-
padding-inline: var(--relay-spacing-2) !important;
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
1263
|
.relay-gap_1:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1268
1264
|
gap: var(--relay-spacing-1);
|
|
1269
1265
|
}
|
|
@@ -1344,6 +1340,10 @@
|
|
|
1344
1340
|
color: white;
|
|
1345
1341
|
}
|
|
1346
1342
|
|
|
1343
|
+
.relay-gap_4px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1344
|
+
gap: 4px;
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
1347
|
.relay-gap_3:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1348
1348
|
gap: var(--relay-spacing-3);
|
|
1349
1349
|
}
|
|
@@ -1706,6 +1706,14 @@
|
|
|
1706
1706
|
animation: pulse 3s ease-in-out infinite;
|
|
1707
1707
|
}
|
|
1708
1708
|
|
|
1709
|
+
.relay-rounded_8px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1710
|
+
border-radius: 8px;
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
.relay-p_4px_6px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1714
|
+
padding: 4px 6px;
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1709
1717
|
.relay-w_38px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1710
1718
|
width: 38px;
|
|
1711
1719
|
}
|
|
@@ -1896,6 +1904,10 @@
|
|
|
1896
1904
|
height: 1px;
|
|
1897
1905
|
}
|
|
1898
1906
|
|
|
1907
|
+
.relay-text-transform_uppercase:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1908
|
+
text-transform: uppercase;
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1899
1911
|
.relay-text_error:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1900
1912
|
color: error;
|
|
1901
1913
|
}
|
|
@@ -1960,6 +1972,10 @@
|
|
|
1960
1972
|
max-height: 290px;
|
|
1961
1973
|
}
|
|
1962
1974
|
|
|
1975
|
+
.relay-scrollbar-color_var\(--relay-colors-gray5\)_transparent:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1976
|
+
scrollbar-color: var(--relay-colors-gray5) transparent;
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1963
1979
|
.relay-px_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1964
1980
|
padding-inline: var(--relay-spacing-2);
|
|
1965
1981
|
}
|
|
@@ -1988,10 +2004,6 @@
|
|
|
1988
2004
|
max-width: 212px;
|
|
1989
2005
|
}
|
|
1990
2006
|
|
|
1991
|
-
.relay-scrollbar-color_var\(--relay-colors-gray5\)_transparent:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1992
|
-
scrollbar-color: var(--relay-colors-gray5) transparent;
|
|
1993
|
-
}
|
|
1994
|
-
|
|
1995
2007
|
.relay-py_10px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1996
2008
|
padding-block: 10px;
|
|
1997
2009
|
}
|
|
@@ -2000,14 +2012,14 @@
|
|
|
2000
2012
|
height: 40px;
|
|
2001
2013
|
}
|
|
2002
2014
|
|
|
2003
|
-
.relay-rounded_8px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2004
|
-
border-radius: 8px;
|
|
2005
|
-
}
|
|
2006
|
-
|
|
2007
2015
|
.relay-w_20px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2008
2016
|
width: 20px;
|
|
2009
2017
|
}
|
|
2010
2018
|
|
|
2019
|
+
.relay-px_12px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2020
|
+
padding-inline: 12px;
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2011
2023
|
.relay-min-w_40px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2012
2024
|
min-width: 40px;
|
|
2013
2025
|
}
|
|
@@ -2020,36 +2032,48 @@
|
|
|
2020
2032
|
text-align: left;
|
|
2021
2033
|
}
|
|
2022
2034
|
|
|
2023
|
-
.relay-
|
|
2024
|
-
|
|
2025
|
-
}
|
|
2026
|
-
|
|
2027
|
-
.relay---borderColor_colors\.gray5:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2028
|
-
--borderColor: var(--relay-colors-gray5);
|
|
2035
|
+
.relay-h_min\(85vh\,_540px\):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2036
|
+
height: min(85vh, 540px);
|
|
2029
2037
|
}
|
|
2030
2038
|
|
|
2031
|
-
.relay-
|
|
2032
|
-
|
|
2039
|
+
.relay-w_min\(400px\,_100vw\):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2040
|
+
width: min(400px, 100vw);
|
|
2033
2041
|
}
|
|
2034
2042
|
|
|
2035
|
-
.relay-
|
|
2036
|
-
|
|
2043
|
+
.relay-max-w_min\(400px\,_100vw\):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2044
|
+
max-width: min(400px, 100vw);
|
|
2037
2045
|
}
|
|
2038
2046
|
|
|
2039
|
-
.relay-
|
|
2040
|
-
|
|
2047
|
+
.relay-min-w_0:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2048
|
+
min-width: 0;
|
|
2041
2049
|
}
|
|
2042
2050
|
|
|
2043
|
-
.relay-
|
|
2044
|
-
|
|
2051
|
+
.relay-box_border-box:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2052
|
+
box-sizing: border-box;
|
|
2045
2053
|
}
|
|
2046
2054
|
|
|
2047
2055
|
.relay-max-w_100\%:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2048
2056
|
max-width: 100%;
|
|
2049
2057
|
}
|
|
2050
2058
|
|
|
2051
|
-
.relay-
|
|
2052
|
-
|
|
2059
|
+
.relay-py_5:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2060
|
+
padding-block: var(--relay-spacing-5);
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
.relay-max-w_312:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2064
|
+
max-width: 312px;
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
.relay-min-w_auto:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2068
|
+
min-width: auto;
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
.relay-w_27:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2072
|
+
width: 27px;
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
.relay-gap_2px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2076
|
+
gap: 2px;
|
|
2053
2077
|
}
|
|
2054
2078
|
|
|
2055
2079
|
.relay-w_40:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -2068,14 +2092,22 @@
|
|
|
2068
2092
|
width: 60px;
|
|
2069
2093
|
}
|
|
2070
2094
|
|
|
2071
|
-
.relay-
|
|
2072
|
-
|
|
2095
|
+
.relay-px_6px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2096
|
+
padding-inline: 6px;
|
|
2097
|
+
}
|
|
2098
|
+
|
|
2099
|
+
.relay-py_4px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2100
|
+
padding-block: 4px;
|
|
2073
2101
|
}
|
|
2074
2102
|
|
|
2075
2103
|
.relay-snap-align_start:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2076
2104
|
scroll-snap-align: start;
|
|
2077
2105
|
}
|
|
2078
2106
|
|
|
2107
|
+
.relay-opacity_1:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2108
|
+
opacity: 1;
|
|
2109
|
+
}
|
|
2110
|
+
|
|
2079
2111
|
.relay-min-h_24:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2080
2112
|
min-height: 24px;
|
|
2081
2113
|
}
|
|
@@ -2084,6 +2116,22 @@
|
|
|
2084
2116
|
color: grey;
|
|
2085
2117
|
}
|
|
2086
2118
|
|
|
2119
|
+
.relay-my_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2120
|
+
margin-block: var(--relay-spacing-2);
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
.relay---borderColor_colors\.gray5:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2124
|
+
--borderColor: var(--relay-colors-gray5);
|
|
2125
|
+
}
|
|
2126
|
+
|
|
2127
|
+
.relay-text_primary11:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2128
|
+
color: var(--relay-colors-primary11);
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2131
|
+
.relay-text-wrap_nowrap:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2132
|
+
text-wrap: nowrap;
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2087
2135
|
.relay-h_min\(85vh\,_600px\):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2088
2136
|
height: min(85vh, 600px);
|
|
2089
2137
|
}
|
|
@@ -2100,18 +2148,6 @@
|
|
|
2100
2148
|
border-radius: 0px;
|
|
2101
2149
|
}
|
|
2102
2150
|
|
|
2103
|
-
.relay-py_5:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2104
|
-
padding-block: var(--relay-spacing-5);
|
|
2105
|
-
}
|
|
2106
|
-
|
|
2107
|
-
.relay-max-w_312:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2108
|
-
max-width: 312px;
|
|
2109
|
-
}
|
|
2110
|
-
|
|
2111
|
-
.relay-w_27:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2112
|
-
width: 27px;
|
|
2113
|
-
}
|
|
2114
|
-
|
|
2115
2151
|
.relay-max-w_412px\!:not(#\#) {
|
|
2116
2152
|
max-width: 412px !important;
|
|
2117
2153
|
}
|
|
@@ -2132,10 +2168,6 @@
|
|
|
2132
2168
|
max-width: 408px;
|
|
2133
2169
|
}
|
|
2134
2170
|
|
|
2135
|
-
.relay-gap_4px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2136
|
-
gap: 4px;
|
|
2137
|
-
}
|
|
2138
|
-
|
|
2139
2171
|
.relay-h_23:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2140
2172
|
height: 23px;
|
|
2141
2173
|
}
|
|
@@ -2204,6 +2236,46 @@
|
|
|
2204
2236
|
height: 10px;
|
|
2205
2237
|
}
|
|
2206
2238
|
|
|
2239
|
+
.relay-border_1px_solid:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2240
|
+
border: 1px solid;
|
|
2241
|
+
}
|
|
2242
|
+
|
|
2243
|
+
.relay---thickness_1px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2244
|
+
--thickness: 1px;
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
.relay-min-h_42:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2248
|
+
min-height: 42px;
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
.relay-w_90:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2252
|
+
width: 90px;
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2255
|
+
.relay-w_70:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2256
|
+
width: 70px;
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
.relay-min-w_240:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2260
|
+
min-width: 240px;
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
.relay-min-w_400px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2264
|
+
min-width: 400px;
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2267
|
+
.relay-max-w_400px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2268
|
+
max-width: 400px;
|
|
2269
|
+
}
|
|
2270
|
+
|
|
2271
|
+
.relay-p_16px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2272
|
+
padding: 16px;
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2275
|
+
.relay-text_green9:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2276
|
+
color: var(--relay-colors-green9);
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2207
2279
|
.relay-h_50:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2208
2280
|
height: 50px;
|
|
2209
2281
|
}
|
|
@@ -2212,14 +2284,26 @@
|
|
|
2212
2284
|
min-height: 50px;
|
|
2213
2285
|
}
|
|
2214
2286
|
|
|
2215
|
-
.relay-
|
|
2216
|
-
|
|
2287
|
+
.relay-w_248px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2288
|
+
width: 248px;
|
|
2289
|
+
}
|
|
2290
|
+
|
|
2291
|
+
.relay-p_12px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2292
|
+
padding: 12px;
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2295
|
+
.relay-max-w_150:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2296
|
+
max-width: 150px;
|
|
2217
2297
|
}
|
|
2218
2298
|
|
|
2219
2299
|
.relay-min-w_60:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2220
2300
|
min-width: 60px;
|
|
2221
2301
|
}
|
|
2222
2302
|
|
|
2303
|
+
.relay-max-w_100:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2304
|
+
max-width: 100px;
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2223
2307
|
.relay-p_12px_16px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2224
2308
|
padding: 12px 16px;
|
|
2225
2309
|
}
|
|
@@ -2248,10 +2332,6 @@
|
|
|
2248
2332
|
padding: 0 16px;
|
|
2249
2333
|
}
|
|
2250
2334
|
|
|
2251
|
-
.relay-text_green9:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2252
|
-
color: var(--relay-colors-green9);
|
|
2253
|
-
}
|
|
2254
|
-
|
|
2255
2335
|
.relay-w_1px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2256
2336
|
width: 1px;
|
|
2257
2337
|
}
|
|
@@ -2416,6 +2496,10 @@
|
|
|
2416
2496
|
white-space: pre;
|
|
2417
2497
|
}
|
|
2418
2498
|
|
|
2499
|
+
.relay-border_1px_solid_transparent:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2500
|
+
border: 1px solid transparent;
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2419
2503
|
.relay-w_1:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2420
2504
|
width: 1px;
|
|
2421
2505
|
}
|
|
@@ -2464,18 +2548,14 @@
|
|
|
2464
2548
|
font-size: 32px;
|
|
2465
2549
|
}
|
|
2466
2550
|
|
|
2467
|
-
.relay-
|
|
2468
|
-
|
|
2551
|
+
.relay-items_center:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2552
|
+
align-items: center;
|
|
2469
2553
|
}
|
|
2470
2554
|
|
|
2471
2555
|
.relay-flex_column:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2472
2556
|
flex-direction: column;
|
|
2473
2557
|
}
|
|
2474
2558
|
|
|
2475
|
-
.relay-items_center:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2476
|
-
align-items: center;
|
|
2477
|
-
}
|
|
2478
|
-
|
|
2479
2559
|
.relay-flex-wrap_wrap:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2480
2560
|
flex-wrap: wrap;
|
|
2481
2561
|
}
|
|
@@ -2524,6 +2604,14 @@
|
|
|
2524
2604
|
background-color: var(--relay-colors-black-a10);
|
|
2525
2605
|
}
|
|
2526
2606
|
|
|
2607
|
+
.relay-pl_0\!:not(#\#) {
|
|
2608
|
+
padding-left: 0 !important;
|
|
2609
|
+
}
|
|
2610
|
+
|
|
2611
|
+
.relay-pr_2\!:not(#\#) {
|
|
2612
|
+
padding-right: var(--relay-spacing-2) !important;
|
|
2613
|
+
}
|
|
2614
|
+
|
|
2527
2615
|
.relay-content_center:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2528
2616
|
align-content: center;
|
|
2529
2617
|
}
|
|
@@ -2560,6 +2648,14 @@
|
|
|
2560
2648
|
background-color: var(--relay-colors-widget-selector-background);
|
|
2561
2649
|
}
|
|
2562
2650
|
|
|
2651
|
+
.relay-leading_normal:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2652
|
+
line-height: normal;
|
|
2653
|
+
}
|
|
2654
|
+
|
|
2655
|
+
.relay-fs_12px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2656
|
+
font-size: 12px;
|
|
2657
|
+
}
|
|
2658
|
+
|
|
2563
2659
|
.relay-leading_14px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2564
2660
|
line-height: 14px;
|
|
2565
2661
|
}
|
|
@@ -2752,6 +2848,18 @@
|
|
|
2752
2848
|
font-size: 14px;
|
|
2753
2849
|
}
|
|
2754
2850
|
|
|
2851
|
+
.relay-border-w_1px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2852
|
+
border-width: 1px;
|
|
2853
|
+
}
|
|
2854
|
+
|
|
2855
|
+
.relay-border-style_solid:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2856
|
+
border-style: solid;
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2859
|
+
.relay-border_transparent:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2860
|
+
border-color: transparent;
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2755
2863
|
.relay-fw_800:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2756
2864
|
font-weight: 800;
|
|
2757
2865
|
}
|
|
@@ -2784,10 +2892,6 @@
|
|
|
2784
2892
|
font-size: 16px;
|
|
2785
2893
|
}
|
|
2786
2894
|
|
|
2787
|
-
.relay-fs_12px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2788
|
-
font-size: 12px;
|
|
2789
|
-
}
|
|
2790
|
-
|
|
2791
2895
|
.relay-fw_400:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2792
2896
|
font-weight: 400;
|
|
2793
2897
|
}
|
|
@@ -2868,6 +2972,10 @@
|
|
|
2868
2972
|
margin-bottom: var(--relay-spacing-2);
|
|
2869
2973
|
}
|
|
2870
2974
|
|
|
2975
|
+
.relay-font-style_var\(--relay-fonts-button-cta-font-style\,_italic\):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2976
|
+
font-style: var(--relay-fonts-button-cta-font-style, italic);
|
|
2977
|
+
}
|
|
2978
|
+
|
|
2871
2979
|
.relay-pb_8px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2872
2980
|
padding-bottom: 8px;
|
|
2873
2981
|
}
|
|
@@ -2892,10 +3000,6 @@
|
|
|
2892
3000
|
background-color: var(--relay-colors-dropdown-background);
|
|
2893
3001
|
}
|
|
2894
3002
|
|
|
2895
|
-
.relay-overflow-y_scroll:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2896
|
-
overflow-y: scroll;
|
|
2897
|
-
}
|
|
2898
|
-
|
|
2899
3003
|
.relay-ml_auto:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2900
3004
|
margin-left: auto;
|
|
2901
3005
|
}
|
|
@@ -2908,12 +3012,16 @@
|
|
|
2908
3012
|
overflow-x: auto;
|
|
2909
3013
|
}
|
|
2910
3014
|
|
|
2911
|
-
.relay-
|
|
2912
|
-
|
|
3015
|
+
.relay-overflow-y_hidden:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3016
|
+
overflow-y: hidden;
|
|
2913
3017
|
}
|
|
2914
3018
|
|
|
2915
|
-
.relay-
|
|
2916
|
-
|
|
3019
|
+
.relay-pt_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3020
|
+
padding-top: var(--relay-spacing-2);
|
|
3021
|
+
}
|
|
3022
|
+
|
|
3023
|
+
.relay-self_center:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3024
|
+
align-self: center;
|
|
2917
3025
|
}
|
|
2918
3026
|
|
|
2919
3027
|
.relay-grow_1:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -2924,20 +3032,16 @@
|
|
|
2924
3032
|
align-items: end;
|
|
2925
3033
|
}
|
|
2926
3034
|
|
|
2927
|
-
.relay-
|
|
2928
|
-
|
|
2929
|
-
}
|
|
2930
|
-
|
|
2931
|
-
.relay-pb_1:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2932
|
-
padding-bottom: var(--relay-spacing-1);
|
|
3035
|
+
.relay-pr_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3036
|
+
padding-right: var(--relay-spacing-2);
|
|
2933
3037
|
}
|
|
2934
3038
|
|
|
2935
|
-
.relay-
|
|
2936
|
-
|
|
3039
|
+
.relay-bg_primary5:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3040
|
+
background-color: var(--relay-colors-primary5);
|
|
2937
3041
|
}
|
|
2938
3042
|
|
|
2939
|
-
.relay-
|
|
2940
|
-
|
|
3043
|
+
.relay-pb_1:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3044
|
+
padding-bottom: var(--relay-spacing-1);
|
|
2941
3045
|
}
|
|
2942
3046
|
|
|
2943
3047
|
.relay-mb_8:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -2960,6 +3064,22 @@
|
|
|
2960
3064
|
margin-top: 4px;
|
|
2961
3065
|
}
|
|
2962
3066
|
|
|
3067
|
+
.relay-border_slate\.4:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3068
|
+
border-color: var(--relay-colors-slate-4);
|
|
3069
|
+
}
|
|
3070
|
+
|
|
3071
|
+
.relay-leading_32px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3072
|
+
line-height: 32px;
|
|
3073
|
+
}
|
|
3074
|
+
|
|
3075
|
+
.relay-border-block-end-width_var\(--thickness\):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3076
|
+
border-block-end-width: var(--thickness);
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
.relay-border_gray4:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3080
|
+
border-color: var(--relay-colors-gray4);
|
|
3081
|
+
}
|
|
3082
|
+
|
|
2963
3083
|
.relay-leading_15px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2964
3084
|
line-height: 15px;
|
|
2965
3085
|
}
|
|
@@ -3084,6 +3204,10 @@
|
|
|
3084
3204
|
margin-bottom: 6px;
|
|
3085
3205
|
}
|
|
3086
3206
|
|
|
3207
|
+
.relay-mt_6px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3208
|
+
margin-top: 6px;
|
|
3209
|
+
}
|
|
3210
|
+
|
|
3087
3211
|
.relay-bg_green2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3088
3212
|
background-color: var(--relay-colors-green2);
|
|
3089
3213
|
}
|
|
@@ -3128,10 +3252,6 @@
|
|
|
3128
3252
|
--borderColor: var(--relay-colors-gray-5);
|
|
3129
3253
|
}
|
|
3130
3254
|
|
|
3131
|
-
.\[\&\[data-state\=\"active\"\]\]\:relay-border_1px_solid_var\(--borderColor\)[data-state="active"]:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3132
|
-
border: 1px solid var(--borderColor);
|
|
3133
|
-
}
|
|
3134
|
-
|
|
3135
3255
|
.\[\&\:disabled\]\:relay-cursor_default:disabled:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3136
3256
|
cursor: default;
|
|
3137
3257
|
}
|
|
@@ -3200,6 +3320,18 @@
|
|
|
3200
3320
|
filter: brightness(130%);
|
|
3201
3321
|
}
|
|
3202
3322
|
|
|
3323
|
+
.\[\&\[data-state\=\"active\"\]\]\:relay-bg_white[data-state="active"]:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3324
|
+
background: white;
|
|
3325
|
+
}
|
|
3326
|
+
|
|
3327
|
+
.\[\&\[data-state\=\"active\"\]\]\:relay-rounded_12px[data-state="active"]:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3328
|
+
border-radius: 12px;
|
|
3329
|
+
}
|
|
3330
|
+
|
|
3331
|
+
.\[\&\[data-state\=\"active\"\]\]\:relay-text_gray12[data-state="active"]:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3332
|
+
color: var(--relay-colors-gray12);
|
|
3333
|
+
}
|
|
3334
|
+
|
|
3203
3335
|
.disabled\:relay-bg_button-disabled-background:is(:disabled, [disabled], [data-disabled]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3204
3336
|
background-color: var(--relay-colors-button-disabled-background);
|
|
3205
3337
|
}
|
|
@@ -3224,6 +3356,10 @@
|
|
|
3224
3356
|
background-color: var(--relay-colors-subtle-background-color);
|
|
3225
3357
|
}
|
|
3226
3358
|
|
|
3359
|
+
.\[\&\[data-state\=\"active\"\]\]\:relay-border_var\(--borderColor\)[data-state="active"]:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3360
|
+
border-color: var(--borderColor);
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3227
3363
|
.\[\&\:disabled\]\:relay-bg_transparent:disabled:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3228
3364
|
background-color: transparent;
|
|
3229
3365
|
}
|
|
@@ -3248,6 +3384,10 @@
|
|
|
3248
3384
|
background-color: var(--relay-colors-primary-color);
|
|
3249
3385
|
}
|
|
3250
3386
|
|
|
3387
|
+
.\[\&\[data-state\=\"active\"\]\]\:relay-border_slate\.4[data-state="active"]:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3388
|
+
border-color: var(--relay-colors-slate-4);
|
|
3389
|
+
}
|
|
3390
|
+
|
|
3251
3391
|
.focusWithin\:relay-shadow_inset_0_0_0_2px_var\(--focusColor\):focus-within:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3252
3392
|
box-shadow: inset 0 0 0 2px var(--focusColor);
|
|
3253
3393
|
}
|
|
@@ -3296,6 +3436,10 @@
|
|
|
3296
3436
|
background-color: var(--mix-backgroundColor, gray);
|
|
3297
3437
|
}
|
|
3298
3438
|
|
|
3439
|
+
.focus\:relay-bg_gray3:is(:focus, [data-focus]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3440
|
+
background-color: var(--relay-colors-gray3);
|
|
3441
|
+
}
|
|
3442
|
+
|
|
3299
3443
|
.hover\:relay-text_gray11:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3300
3444
|
color: var(--relay-colors-gray11);
|
|
3301
3445
|
}
|
|
@@ -3379,14 +3523,14 @@
|
|
|
3379
3523
|
background-color: var(--mix-backgroundColor, gray);
|
|
3380
3524
|
}
|
|
3381
3525
|
|
|
3382
|
-
.hover\:relay-bg_gray3:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3383
|
-
background-color: var(--relay-colors-gray3);
|
|
3384
|
-
}
|
|
3385
|
-
|
|
3386
3526
|
.hover\:relay-bg_gray2:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3387
3527
|
background-color: var(--relay-colors-gray2);
|
|
3388
3528
|
}
|
|
3389
3529
|
|
|
3530
|
+
.hover\:relay-bg_gray3:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3531
|
+
background-color: var(--relay-colors-gray3);
|
|
3532
|
+
}
|
|
3533
|
+
|
|
3390
3534
|
.hover\:relay-bg_gray6:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3391
3535
|
background-color: var(--relay-colors-gray6);
|
|
3392
3536
|
}
|
|
@@ -3407,6 +3551,10 @@ button:hover:not(#\#):not(#\#):not(#\#):not(#\#) .\[button\:hover_\&\]\:relay-bg
|
|
|
3407
3551
|
color: var(--relay-colors-gray10);
|
|
3408
3552
|
}
|
|
3409
3553
|
|
|
3554
|
+
.dark:not(#\#):not(#\#):not(#\#):not(#\#) .dark\:\[\&\[data-state\=\"active\"\]\]\:relay-bg_gray1[data-state="active"],[data-theme="dark"]:not(#\#):not(#\#):not(#\#):not(#\#) .dark\:\[\&\[data-state\=\"active\"\]\]\:relay-bg_gray1[data-state="active"] {
|
|
3555
|
+
background: var(--relay-colors-gray1);
|
|
3556
|
+
}
|
|
3557
|
+
|
|
3410
3558
|
.disabled\:hover\:relay-bg_button-disabled-background:is(:disabled, [disabled], [data-disabled]):is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3411
3559
|
background-color: var(--relay-colors-button-disabled-background);
|
|
3412
3560
|
}
|
|
@@ -3415,6 +3563,18 @@ button:hover:not(#\#):not(#\#):not(#\#):not(#\#) .\[button\:hover_\&\]\:relay-bg
|
|
|
3415
3563
|
background-color: transparent;
|
|
3416
3564
|
}
|
|
3417
3565
|
|
|
3566
|
+
.\[\&\:not\(\[data-state\=\"active\"\]\)\]\:hover\:relay-bg_transparent\!:not([data-state="active"]):is(:hover, [data-hover]):not(#\#) {
|
|
3567
|
+
background-color: transparent !important;
|
|
3568
|
+
}
|
|
3569
|
+
|
|
3570
|
+
.dark:not(#\#):not(#\#):not(#\#):not(#\#) .dark\:\[\&\[data-state\=\"active\"\]\]\:relay-border_gray\.4[data-state="active"],[data-theme="dark"]:not(#\#):not(#\#):not(#\#):not(#\#) .dark\:\[\&\[data-state\=\"active\"\]\]\:relay-border_gray\.4[data-state="active"] {
|
|
3571
|
+
border-color: var(--relay-colors-gray-4);
|
|
3572
|
+
}
|
|
3573
|
+
|
|
3574
|
+
.dark:not(#\#) .dark\:\[\&\:not\(\[data-state\=\"active\"\]\)\]\:hover\:relay-bg_transparent\!:not([data-state="active"]):is(:hover, [data-hover]), [data-theme="dark"]:not(#\#) .dark\:\[\&\:not\(\[data-state\=\"active\"\]\)\]\:hover\:relay-bg_transparent\!:not([data-state="active"]):is(:hover, [data-hover]) {
|
|
3575
|
+
background-color: transparent !important;
|
|
3576
|
+
}
|
|
3577
|
+
|
|
3418
3578
|
@media screen and (min-width: 31.25rem) {
|
|
3419
3579
|
.bp500\:relay-gap_1:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3420
3580
|
gap: var(--relay-spacing-1);
|
|
@@ -3433,6 +3593,9 @@ button:hover:not(#\#):not(#\#):not(#\#):not(#\#) .\[button\:hover_\&\]\:relay-bg
|
|
|
3433
3593
|
@media screen and (min-width: 37.5rem) {
|
|
3434
3594
|
.sm\:relay-w_386:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3435
3595
|
width: 386px;
|
|
3596
|
+
}
|
|
3597
|
+
.sm\:relay-gap_4px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3598
|
+
gap: 4px;
|
|
3436
3599
|
}
|
|
3437
3600
|
.sm\:relay-gap_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3438
3601
|
gap: var(--relay-spacing-2);
|
|
@@ -18,6 +18,32 @@ function formatDollar(price) {
|
|
|
18
18
|
}
|
|
19
19
|
return formatted;
|
|
20
20
|
}
|
|
21
|
+
function formatDollarCompact(price) {
|
|
22
|
+
if (price === undefined || price === null || price === 0) {
|
|
23
|
+
return '-';
|
|
24
|
+
}
|
|
25
|
+
// For values >= $1B, show ">$1B"
|
|
26
|
+
if (Math.abs(price) >= 1000000000) {
|
|
27
|
+
return '>$1B';
|
|
28
|
+
}
|
|
29
|
+
// Use compact notation for values >= $1000
|
|
30
|
+
if (Math.abs(price) >= 1000) {
|
|
31
|
+
const { format } = new Intl.NumberFormat('en-US', {
|
|
32
|
+
style: 'currency',
|
|
33
|
+
currency: 'USD',
|
|
34
|
+
notation: 'compact',
|
|
35
|
+
compactDisplay: 'short',
|
|
36
|
+
minimumFractionDigits: 0,
|
|
37
|
+
maximumFractionDigits: 2
|
|
38
|
+
});
|
|
39
|
+
return format(price);
|
|
40
|
+
}
|
|
41
|
+
const formatted = formatUsdCurrency(price);
|
|
42
|
+
if (formatted === '$0.00' && price && price > 0) {
|
|
43
|
+
return '< $0.01';
|
|
44
|
+
}
|
|
45
|
+
return formatted;
|
|
46
|
+
}
|
|
21
47
|
function formatNumber(amount, maximumFractionDigits = 2, compact) {
|
|
22
48
|
const { format } = new Intl.NumberFormat('en-US', {
|
|
23
49
|
maximumFractionDigits: maximumFractionDigits,
|
|
@@ -241,5 +267,22 @@ function formatSignificantDigits(value, decimals = 18) {
|
|
|
241
267
|
}
|
|
242
268
|
return isNegative ? '-' + result : result;
|
|
243
269
|
}
|
|
244
|
-
|
|
270
|
+
/**
|
|
271
|
+
* Converts basis points to percentage string
|
|
272
|
+
* @param bps Basis points as string (e.g. "250" for 2.5%)
|
|
273
|
+
* @returns Formatted percentage string or undefined
|
|
274
|
+
*/
|
|
275
|
+
function convertBpsToPercent(bps) {
|
|
276
|
+
if (bps === undefined)
|
|
277
|
+
return undefined;
|
|
278
|
+
const numeric = Number(bps);
|
|
279
|
+
if (!Number.isFinite(numeric))
|
|
280
|
+
return undefined;
|
|
281
|
+
const percent = numeric / 100;
|
|
282
|
+
if (!Number.isFinite(percent))
|
|
283
|
+
return undefined;
|
|
284
|
+
const formatted = percent.toFixed(percent % 1 === 0 ? 0 : 2);
|
|
285
|
+
return formatted.replace(/\.0+$/, '').replace(/\.00$/, '');
|
|
286
|
+
}
|
|
287
|
+
export { formatDollar, formatDollarCompact, formatBN, formatFixedLength, formatNumber, formatSignificantDigits, truncateBalance, convertBpsToPercent };
|
|
245
288
|
//# sourceMappingURL=numbers.js.map
|