@aurora-is-near/intents-swap-widget 3.19.1 → 3.21.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.
Files changed (111) hide show
  1. package/dist/components/BaseContainer.d.ts +2 -0
  2. package/dist/components/BaseContainer.js +23 -0
  3. package/dist/components/BaseContainer.js.map +1 -0
  4. package/dist/components/WidgetContainer.js +17 -18
  5. package/dist/components/WidgetContainer.js.map +1 -1
  6. package/dist/{config-CpXS2LPZ.js → config-CyBNYvb1.js} +833 -820
  7. package/dist/{config-CpXS2LPZ.js.map → config-CyBNYvb1.js.map} +1 -1
  8. package/dist/config.js +1 -1
  9. package/dist/errors.js +1 -1
  10. package/dist/ext/alchemy/index.js +1 -1
  11. package/dist/ext/index.js +1 -1
  12. package/dist/features/BalanceRpcLoader/TokenBalanceLoader.js +1 -1
  13. package/dist/features/BalanceRpcLoader/index.js +1 -1
  14. package/dist/features/BalanceRpcLoader/useTokenBalanceRpc.js +1 -1
  15. package/dist/features/ChainsDropdown/index.js +1 -1
  16. package/dist/features/ChainsSelector/index.js +1 -1
  17. package/dist/features/DepositMethodSwitcher.js +1 -1
  18. package/dist/features/ErrorBoundary.js +1 -1
  19. package/dist/features/ExternalDeposit.js +1 -1
  20. package/dist/features/SendAddress/index.js +1 -1
  21. package/dist/features/SendAddress/useNotification.js +1 -1
  22. package/dist/features/SubmitButton/index.js +1 -1
  23. package/dist/features/SuccessScreen/index.js +1 -1
  24. package/dist/features/SuccessScreen/useSummaryItemsCount.js +1 -1
  25. package/dist/features/SwapDirectionSwitcher.js +1 -1
  26. package/dist/features/SwapQuote/SwapQuote.js +1 -1
  27. package/dist/features/SwapQuote/index.js +1 -1
  28. package/dist/features/TokenInput/TokenInput.js +1 -1
  29. package/dist/features/TokenInput/TokenInputEmpty.js +1 -1
  30. package/dist/features/TokenInput/TokenInputSource.js +1 -1
  31. package/dist/features/TokenInput/TokenInputTarget.js +1 -1
  32. package/dist/features/TokenInput/WalletBalance.js +1 -1
  33. package/dist/features/TokenInput/hooks/index.js +1 -1
  34. package/dist/features/TokenInput/hooks/useTokenInputBalance.js +1 -1
  35. package/dist/features/TokenInput/index.js +1 -1
  36. package/dist/features/TokensList/TokenItem.js +1 -1
  37. package/dist/features/TokensList/TokensList.js +1 -1
  38. package/dist/features/TokensList/index.js +1 -1
  39. package/dist/features/TokensModal.js +1 -1
  40. package/dist/features/WalletCompatibilityCheck/WalletCompatibilityModal.js +1 -1
  41. package/dist/features/WalletCompatibilityCheck/index.js +1 -1
  42. package/dist/features/index.js +1 -1
  43. package/dist/hooks/index.js +1 -1
  44. package/dist/hooks/useAllTokens.js +1 -1
  45. package/dist/hooks/useChains.js +1 -1
  46. package/dist/hooks/useCompatibilityCheck.js +1 -1
  47. package/dist/hooks/useDefaultToken.js +1 -1
  48. package/dist/hooks/useExternalDepositStatus/index.js +1 -1
  49. package/dist/hooks/useExternalDepositStatus/usePoaExternalDepositStatus.js +1 -1
  50. package/dist/hooks/useIntentsBalance.js +1 -1
  51. package/dist/hooks/useIsCompatibilityCheckRequired.js +1 -1
  52. package/dist/hooks/useMakeDepositAddress.js +1 -1
  53. package/dist/hooks/useMakeIntentsTransfer.js +1 -1
  54. package/dist/hooks/useMakeNEARFtTransferCall.js +1 -1
  55. package/dist/hooks/useMakeQuote.js +1 -1
  56. package/dist/hooks/useMakeQuoteTransfer.js +1 -1
  57. package/dist/hooks/useMakeTransfer.js +1 -1
  58. package/dist/hooks/useMergedBalance.js +1 -1
  59. package/dist/hooks/useSwitchChain.js +1 -1
  60. package/dist/hooks/useTheme.js +1 -1
  61. package/dist/hooks/useTokenInputPair.js +1 -1
  62. package/dist/hooks/useTokens.js +1 -1
  63. package/dist/hooks/useTokensFiltered.js +1 -1
  64. package/dist/hooks/useTokensIntentsUnique.js +1 -1
  65. package/dist/index.js +1 -1
  66. package/dist/machine/effects/index.js +1 -1
  67. package/dist/machine/effects/useAlchemyBalanceEffect.js +1 -1
  68. package/dist/machine/effects/useBalancesUpdateEffect.js +1 -1
  69. package/dist/machine/effects/useMakeQuoteEffect.js +1 -1
  70. package/dist/machine/effects/useSelectedTokensEffect.js +1 -1
  71. package/dist/machine/effects/useSetTokenBalanceEffect.js +1 -1
  72. package/dist/machine/effects/useSetTokenIntentsTargetEffect.js +1 -1
  73. package/dist/machine/effects/useWalletConnEffect.js +1 -1
  74. package/dist/machine/events/index.js +1 -1
  75. package/dist/machine/events/tokenSelect.js +1 -1
  76. package/dist/machine/events/validateInputAndMoveTo.js +1 -1
  77. package/dist/machine/events/validateInputs.js +1 -1
  78. package/dist/machine/index.js +1 -1
  79. package/dist/machine/snap.js +1 -1
  80. package/dist/machine/subscriptions/checkers/isSendAddressAsConnected.js +1 -1
  81. package/dist/machine/subscriptions/index.js +1 -1
  82. package/dist/styles.css +1 -1
  83. package/dist/tailwind.css +3 -1
  84. package/dist/theme/ThemeProvider.js +1 -1
  85. package/dist/theme.css +10 -5
  86. package/dist/types/theme.d.ts +6 -0
  87. package/dist/utils/intents/signers/near.js +1 -1
  88. package/dist/utils/intents/signers/privy.js +1 -1
  89. package/dist/utils/near/getNearNep141StorageBalance.js +1 -1
  90. package/dist/widgets/WidgetDeposit/WidgetDepositContent.js +1 -1
  91. package/dist/widgets/WidgetDeposit/WidgetDepositSkeleton.js +1 -1
  92. package/dist/widgets/WidgetDeposit/index.js +15 -14
  93. package/dist/widgets/WidgetDeposit/index.js.map +1 -1
  94. package/dist/widgets/WidgetSwap/WidgetSwapContent.js +1 -1
  95. package/dist/widgets/WidgetSwap/WidgetSwapSkeleton.js +1 -1
  96. package/dist/widgets/WidgetSwap/index.js +15 -14
  97. package/dist/widgets/WidgetSwap/index.js.map +1 -1
  98. package/dist/widgets/WidgetWithdraw/WidgetWithdrawContent.js +1 -1
  99. package/dist/widgets/WidgetWithdraw/WidgetWithdrawSkeleton.js +1 -1
  100. package/dist/widgets/WidgetWithdraw/index.js +13 -12
  101. package/dist/widgets/WidgetWithdraw/index.js.map +1 -1
  102. package/package.json +1 -1
  103. package/src/components/BaseContainer.tsx +19 -0
  104. package/src/components/WidgetContainer.tsx +0 -1
  105. package/src/tailwind.css +3 -1
  106. package/src/theme/ThemeProvider.tsx +52 -8
  107. package/src/theme.css +10 -5
  108. package/src/types/theme.ts +8 -0
  109. package/src/widgets/WidgetDeposit/index.tsx +10 -7
  110. package/src/widgets/WidgetSwap/index.tsx +10 -7
  111. package/src/widgets/WidgetWithdraw/index.tsx +10 -7
@@ -1,6 +1,6 @@
1
1
  import "valtio";
2
2
  import "./tokenSelectRotate.js";
3
- import { Z as p } from "../../config-CpXS2LPZ.js";
3
+ import { Z as p } from "../../config-CyBNYvb1.js";
4
4
  import "../../utils/notReachable.js";
5
5
  export {
6
6
  p as tokenSelect
@@ -1,4 +1,4 @@
1
- import { O as m } from "../../config-CpXS2LPZ.js";
1
+ import { O as m } from "../../config-CyBNYvb1.js";
2
2
  import "ethers";
3
3
  import "../machine.js";
4
4
  import "../guards/checks/isDryQuote.js";
@@ -3,7 +3,7 @@ import "../../utils/near/checkNearAccountExists.js";
3
3
  import "../../utils/checkers/isNotEmptyAmount.js";
4
4
  import "../../utils/checkers/isValidBigint.js";
5
5
  import "../../utils/near/isNearAddress.js";
6
- import { K as I, L as d, N as u } from "../../config-CpXS2LPZ.js";
6
+ import { K as I, L as d, N as u } from "../../config-CyBNYvb1.js";
7
7
  import "../guards/index.js";
8
8
  import "../machine.js";
9
9
  import "../guards/checks/isBalanceSufficient.js";
@@ -1,4 +1,4 @@
1
- import { r as o, u as t, a as r, c as a, b as f } from "../config-CpXS2LPZ.js";
1
+ import { r as o, u as t, a as r, c as a, b as f } from "../config-CyBNYvb1.js";
2
2
  import { guardStates as S } from "./guards/index.js";
3
3
  import { machine as n, moveTo as u } from "./machine.js";
4
4
  import { fireEvent as i } from "./events/utils/fireEvent.js";
@@ -2,7 +2,7 @@ import "valtio";
2
2
  import "derive-valtio";
3
3
  import "./computed/getIsNativeNearDeposit.js";
4
4
  import "./computed/getIsDirectTokenOnNearDeposit.js";
5
- import { u as h, a as b, b as d } from "../config-CpXS2LPZ.js";
5
+ import { u as h, a as b, b as d } from "../config-CyBNYvb1.js";
6
6
  import "./machine.js";
7
7
  import "./guards/index.js";
8
8
  import "./computed/getUsdTradeDelta.js";
@@ -1,5 +1,5 @@
1
1
  import "valtio";
2
- import { V as o } from "../../../config-CpXS2LPZ.js";
2
+ import { V as o } from "../../../config-CyBNYvb1.js";
3
3
  export {
4
4
  o as isSendAddressAsConnected
5
5
  };
@@ -5,7 +5,7 @@ import "./checkers/isOnlyErrorChanged.js";
5
5
  import "./checkers/isValidInitialState.js";
6
6
  import "./checkers/isWalletDisconnected.js";
7
7
  import "./checkers/isSendAddressForbidden.js";
8
- import { X as g, Y as u } from "../../config-CpXS2LPZ.js";
8
+ import { X as g, Y as u } from "../../config-CyBNYvb1.js";
9
9
  import "./checkers/isAmountChangedFromQuote.js";
10
10
  import "ethers";
11
11
  import "../machine.js";
package/dist/styles.css CHANGED
@@ -1 +1 @@
1
- /*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){.sw *,.sw :before,.sw :after,.sw ::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{.sw,.sw :host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--font-weight-medium:500;--font-weight-semibold:600;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--radius-full:99999px;--radius-sw-sm:var(--r-sw-sm);--radius-sw-md:var(--r-sw-md);--radius-sw-lg:var(--r-sw-lg);--color-sw-gray-50:var(--c-sw-gray-50);--color-sw-gray-100:var(--c-sw-gray-100);--color-sw-gray-200:var(--c-sw-gray-200);--color-sw-gray-300:var(--c-sw-gray-300);--color-sw-gray-400:var(--c-sw-gray-400);--color-sw-gray-600:var(--c-sw-gray-600);--color-sw-gray-700:var(--c-sw-gray-700);--color-sw-gray-800:var(--c-sw-gray-800);--color-sw-gray-900:var(--c-sw-gray-900);--color-sw-gray-950:var(--c-sw-gray-950);--color-sw-accent-200:var(--c-sw-accent-200);--color-sw-accent-400:var(--c-sw-accent-400);--color-sw-accent-500:var(--c-sw-accent-500);--color-sw-status-success:var(--c-sw-status-success);--color-sw-status-warning:var(--c-sw-status-warning);--color-sw-status-error:var(--c-sw-status-error);--spacing-sw-xxs:2px;--spacing-sw-xs:4px;--spacing-sw-sm:6px;--spacing-sw-md:8px;--spacing-sw-lg:12px;--spacing-sw-xl:16px;--spacing-sw-2xl:20px;--spacing-sw-3xl:24px;--spacing-sw-4xl:32px;--spacing-sw-5xl:40px;--spacing-sw-6xl:48px}}@layer base{.sw *,.sw :after,.sw :before,.sw ::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}.sw ::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}.sw,.sw :host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}.sw hr{height:0;color:inherit;border-top-width:1px}.sw abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.sw h1,.sw h2,.sw h3,.sw h4,.sw h5,.sw h6{font-size:inherit;font-weight:inherit}.sw a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}.sw b,.sw strong{font-weight:bolder}.sw code,.sw kbd,.sw samp,.sw pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}.sw small{font-size:80%}.sw sub,.sw sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}.sw sub{bottom:-.25em}.sw sup{top:-.5em}.sw table{text-indent:0;border-color:inherit;border-collapse:collapse}.sw :-moz-focusring{outline:auto}.sw progress{vertical-align:baseline}.sw summary{display:list-item}.sw ol,.sw ul,.sw menu{list-style:none}.sw img,.sw svg,.sw video,.sw canvas,.sw audio,.sw iframe,.sw embed,.sw object{vertical-align:middle;display:block}.sw img,.sw video{max-width:100%;height:auto}.sw button,.sw input,.sw select,.sw optgroup,.sw textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}.sw ::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}.sw :where(select:is([multiple],[size])) optgroup{font-weight:bolder}.sw :where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}.sw ::file-selector-button{margin-inline-end:4px}.sw ::-moz-placeholder{opacity:1}.sw ::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){.sw ::-moz-placeholder{color:currentColor}.sw ::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){.sw ::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}.sw ::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}.sw textarea{resize:vertical}.sw ::-webkit-search-decoration{-webkit-appearance:none}.sw ::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}.sw ::-webkit-datetime-edit{display:inline-flex}.sw ::-webkit-datetime-edit-fields-wrapper{padding:0}.sw ::-webkit-datetime-edit{padding-block:0}.sw ::-webkit-datetime-edit-year-field{padding-block:0}.sw ::-webkit-datetime-edit-month-field{padding-block:0}.sw ::-webkit-datetime-edit-day-field{padding-block:0}.sw ::-webkit-datetime-edit-hour-field{padding-block:0}.sw ::-webkit-datetime-edit-minute-field{padding-block:0}.sw ::-webkit-datetime-edit-second-field{padding-block:0}.sw ::-webkit-datetime-edit-millisecond-field{padding-block:0}.sw ::-webkit-datetime-edit-meridiem-field{padding-block:0}.sw ::-webkit-calendar-picker-indicator{line-height:1}.sw :-moz-ui-invalid{box-shadow:none}.sw button,.sw input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}.sw ::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}.sw ::-webkit-inner-spin-button{height:auto}.sw ::-webkit-outer-spin-button{height:auto}.sw [hidden]:where(:not([hidden=until-found])){display:none!important}.sw[data-sw-theme=light]{color-scheme:light;--c-sw-gray-50:#24262d;--c-sw-gray-100:#2e3038;--c-sw-gray-200:#41444f;--c-sw-gray-300:#555967;--c-sw-gray-400:#686d7d;--c-sw-gray-500:#7e8396;--c-sw-gray-600:#979baa;--c-sw-gray-700:#b0b3bf;--c-sw-gray-800:#caccd3;--c-sw-gray-900:#e4e5e9;--c-sw-gray-950:#f3f3f5;--c-sw-accent-50:#280045;--c-sw-accent-100:#400069;--c-sw-accent-200:#7300b7;--c-sw-accent-300:#a528ff;--c-sw-accent-400:#ba7aff;--c-sw-accent-500:#d5b7ff;--c-sw-accent-600:#dcc4ff;--c-sw-accent-700:#e6d6ff;--c-sw-accent-800:#eee4ff;--c-sw-accent-900:#f6f1ff;--c-sw-accent-950:#fbf8ff;--c-sw-status-success:#00652f;--c-sw-status-warning:#a87a04;--c-sw-status-error:#9f002b}.sw[data-sw-theme=dark]{color-scheme:dark;--c-sw-gray-50:#f3f3f5;--c-sw-gray-100:#e4e5e9;--c-sw-gray-200:#caccd3;--c-sw-gray-300:#b0b3bf;--c-sw-gray-400:#979baa;--c-sw-gray-500:#7e8396;--c-sw-gray-600:#686d7d;--c-sw-gray-700:#555967;--c-sw-gray-800:#41444f;--c-sw-gray-900:#2e3038;--c-sw-gray-950:#24262d;--c-sw-accent-50:#fbf8ff;--c-sw-accent-100:#f6f1ff;--c-sw-accent-200:#eee4ff;--c-sw-accent-300:#e6d6ff;--c-sw-accent-400:#dcc4ff;--c-sw-accent-500:#d5b7ff;--c-sw-accent-600:#ba7aff;--c-sw-accent-700:#a528ff;--c-sw-accent-800:#7300b7;--c-sw-accent-900:#400069;--c-sw-accent-950:#280045;--c-sw-status-success:#98ffb5;--c-sw-status-warning:#fadfad;--c-sw-status-error:#ffb8be}.sw .hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.sw .hide-scrollbar::-webkit-scrollbar{display:none}}@layer components;@layer utilities{.sw .absolute{position:absolute}.sw .fixed{position:fixed}.sw .relative{position:relative}.sw .static{position:static}.sw .top-1\/2{top:50%}.sw .top-\[14px\]{top:14px}.sw .top-\[19px\]{top:19px}.sw .top-sw-2xl{top:var(--spacing-sw-2xl)}.sw .right-\[-4px\]{right:-4px}.sw .right-sw-2xl{right:var(--spacing-sw-2xl)}.sw .left-1\/2{left:50%}.sw .z-1{z-index:1}.sw .z-10{z-index:10}.sw .m-sw-lg{margin:var(--spacing-sw-lg)}.sw .mx-auto{margin-inline:auto}.sw .my-sw-sm{margin-block:var(--spacing-sw-sm)}.sw .mt-sw-2xl{margin-top:var(--spacing-sw-2xl)}.sw .mt-sw-lg{margin-top:var(--spacing-sw-lg)}.sw .mt-sw-xl{margin-top:var(--spacing-sw-xl)}.sw .mt-sw-xs{margin-top:var(--spacing-sw-xs)}.sw .mr-auto{margin-right:auto}.sw .mr-sw-md{margin-right:var(--spacing-sw-md)}.sw .mb-sw-2xl{margin-bottom:var(--spacing-sw-2xl)}.sw .mb-sw-md{margin-bottom:var(--spacing-sw-md)}.sw .mb-sw-xl{margin-bottom:var(--spacing-sw-xl)}.sw .ml-auto{margin-left:auto}.sw .ml-sw-lg{margin-left:var(--spacing-sw-lg)}.sw .flex{display:flex}.sw .hidden{display:none}.sw .inline{display:inline}.sw .inline-block{display:inline-block}.sw .h-\[1px\]{height:1px}.sw .h-\[7px\]{height:7px}.sw .h-\[12px\]{height:12px}.sw .h-\[16px\]{height:16px}.sw .h-\[17px\]{height:17px}.sw .h-\[20px\]{height:20px}.sw .h-\[34px\]{height:34px}.sw .h-\[36px\]{height:36px}.sw .h-\[40px\]{height:40px}.sw .h-\[44px\]{height:44px}.sw .h-\[48px\]{height:48px}.sw .h-\[108px\]{height:108px}.sw .h-\[116px\]{height:116px}.sw .h-\[120px\]{height:120px}.sw .h-\[152px\]{height:152px}.sw .h-\[165px\]{height:165px}.sw .h-\[180px\]{height:180px}.sw .h-fit{height:-moz-fit-content;height:fit-content}.sw .h-sw-2xl{height:var(--spacing-sw-2xl)}.sw .h-sw-4xl{height:var(--spacing-sw-4xl)}.sw .h-sw-lg{height:var(--spacing-sw-lg)}.sw .h-sw-xl{height:var(--spacing-sw-xl)}.sw .max-h-\[400px\]{max-height:400px}.sw .min-h-\[200px\]{min-height:200px}.sw .min-h-screen{min-height:100vh}.sw .min-h-sw-2xl{min-height:var(--spacing-sw-2xl)}.sw .w-\[7px\]{width:7px}.sw .w-\[16px\]{width:16px}.sw .w-\[34px\]{width:34px}.sw .w-\[36px\]{width:36px}.sw .w-\[40px\]{width:40px}.sw .w-\[60px\]{width:60px}.sw .w-\[100px\]{width:100px}.sw .w-\[180px\]{width:180px}.sw .w-\[200px\]{width:200px}.sw .w-fit{width:-moz-fit-content;width:fit-content}.sw .w-full{width:100%}.sw .w-sw-2xl{width:var(--spacing-sw-2xl)}.sw .w-sw-4xl{width:var(--spacing-sw-4xl)}.sw .w-sw-lg{width:var(--spacing-sw-lg)}.sw .w-sw-xl{width:var(--spacing-sw-xl)}.sw .max-w-\[80\%\]{max-width:80%}.sw .max-w-\[265px\]{max-width:265px}.sw .max-w-\[456px\]{max-width:456px}.sw .min-w-\[80px\]{min-width:80px}.sw .min-w-\[100px\]{min-width:100px}.sw .min-w-\[200px\]{min-width:200px}.sw .min-w-\[270px\]{min-width:270px}.sw .min-w-full{min-width:100%}.sw .min-w-max{min-width:-moz-max-content;min-width:max-content}.sw .shrink-0{flex-shrink:0}.sw .-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.sw .-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.sw .scale-80{--tw-scale-x:80%;--tw-scale-y:80%;--tw-scale-z:80%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .-rotate-90{rotate:-90deg}.sw .rotate-90{rotate:90deg}.sw .transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.sw .animate-pulse{animation:var(--animate-pulse)}.sw .animate-spin{animation:var(--animate-spin)}.sw .cursor-default{cursor:default}.sw .cursor-not-allowed{cursor:not-allowed}.sw .cursor-pointer{cursor:pointer}.sw .list-none{list-style-type:none}.sw .flex-col{flex-direction:column}.sw .flex-wrap{flex-wrap:wrap}.sw .items-center{align-items:center}.sw .items-end{align-items:flex-end}.sw .justify-between{justify-content:space-between}.sw .justify-center{justify-content:center}.sw .justify-end{justify-content:flex-end}.sw .gap-\[10px\]{gap:10px}.sw .gap-sw-2xl{gap:var(--spacing-sw-2xl)}.sw .gap-sw-4xl{gap:var(--spacing-sw-4xl)}.sw .gap-sw-lg{gap:var(--spacing-sw-lg)}.sw .gap-sw-md{gap:var(--spacing-sw-md)}.sw .gap-sw-sm{gap:var(--spacing-sw-sm)}.sw .gap-sw-xl{gap:var(--spacing-sw-xl)}.sw .gap-sw-xs{gap:var(--spacing-sw-xs)}.sw .gap-sw-xxs{gap:var(--spacing-sw-xxs)}.sw .gap-x-\[2px\]{-moz-column-gap:2px;column-gap:2px}.sw .overflow-hidden{overflow:hidden}.sw .rounded-\[2px\]{border-radius:2px}.sw .rounded-full{border-radius:3.40282e38px;border-radius:var(--radius-full)}.sw .rounded-sw-lg{border-radius:var(--radius-sw-lg)}.sw .rounded-sw-md{border-radius:var(--radius-sw-md)}.sw .rounded-sw-sm{border-radius:var(--radius-sw-sm)}.sw .border-2{border-style:var(--tw-border-style);border-width:2px}.sw .border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.sw .border-none{--tw-border-style:none;border-style:none}.sw .border-sw-gray-800{border-color:var(--color-sw-gray-800)}.sw .border-sw-gray-900{border-color:var(--color-sw-gray-900)}.sw .bg-\[\#fff\]{background-color:#fff}.sw .bg-sw-accent-500{background-color:var(--color-sw-accent-500)}.sw .bg-sw-gray-50{background-color:var(--color-sw-gray-50)}.sw .bg-sw-gray-600{background-color:var(--color-sw-gray-600)}.sw .bg-sw-gray-700{background-color:var(--color-sw-gray-700)}.sw .bg-sw-gray-800{background-color:var(--color-sw-gray-800)}.sw .bg-sw-gray-900{background-color:var(--color-sw-gray-900)}.sw .bg-sw-gray-950{background-color:var(--color-sw-gray-950)}.sw .bg-sw-status-success{background-color:var(--color-sw-status-success)}.sw .bg-transparent{background-color:#0000}.sw .p-sw-2xl{padding:var(--spacing-sw-2xl)}.sw .p-sw-lg{padding:var(--spacing-sw-lg)}.sw .p-sw-md{padding:var(--spacing-sw-md)}.sw .px-\[1px\]{padding-inline:1px}.sw .px-sw-2xl{padding-inline:var(--spacing-sw-2xl)}.sw .px-sw-3xl{padding-inline:var(--spacing-sw-3xl)}.sw .px-sw-lg{padding-inline:var(--spacing-sw-lg)}.sw .px-sw-md{padding-inline:var(--spacing-sw-md)}.sw .px-sw-sm{padding-inline:var(--spacing-sw-sm)}.sw .px-sw-xl{padding-inline:var(--spacing-sw-xl)}.sw .py-sw-2xl{padding-block:var(--spacing-sw-2xl)}.sw .py-sw-6xl{padding-block:var(--spacing-sw-6xl)}.sw .py-sw-lg{padding-block:var(--spacing-sw-lg)}.sw .py-sw-sm{padding-block:var(--spacing-sw-sm)}.sw .py-sw-xl{padding-block:var(--spacing-sw-xl)}.sw .py-sw-xs{padding-block:var(--spacing-sw-xs)}.sw .pt-sw-2xl{padding-top:var(--spacing-sw-2xl)}.sw .pt-sw-5xl{padding-top:var(--spacing-sw-5xl)}.sw .pt-sw-sm{padding-top:var(--spacing-sw-sm)}.sw .pt-sw-xl{padding-top:var(--spacing-sw-xl)}.sw .pr-sw-md{padding-right:var(--spacing-sw-md)}.sw .pb-sw-5xl{padding-bottom:var(--spacing-sw-5xl)}.sw .pb-sw-lg{padding-bottom:var(--spacing-sw-lg)}.sw .pl-sw-2xl{padding-left:var(--spacing-sw-2xl)}.sw .pl-sw-lg{padding-left:var(--spacing-sw-lg)}.sw .pl-sw-sm{padding-left:var(--spacing-sw-sm)}.sw .text-center{text-align:center}.sw .align-sub{vertical-align:sub}@layer components{.sw .text-sw-body-lg{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);letter-spacing:-.025rem;font-size:1rem;line-height:1.375rem}.sw .text-sw-body-md{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);letter-spacing:-.025rem;font-size:.875rem;line-height:1.25rem}.sw .text-sw-body-sm{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);letter-spacing:-.025rem;font-size:.75rem;line-height:1rem}.sw .text-sw-label-lg{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.025rem;font-size:1rem;line-height:1rem}.sw .text-sw-label-md{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.025rem;font-size:.875rem;line-height:1rem}.sw .text-sw-label-sm{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.01875rem;font-size:.75rem;line-height:.875rem}.sw .text-sw-value-lg{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.0625rem;font-size:2rem;line-height:2.25rem}}.sw .text-\[10px\]{font-size:10px}.sw .font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.sw .text-nowrap{text-wrap:nowrap}.sw .text-sw-accent-500{color:var(--color-sw-accent-500)}.sw .text-sw-gray-50{color:var(--color-sw-gray-50)}.sw .text-sw-gray-100{color:var(--color-sw-gray-100)}.sw .text-sw-gray-200{color:var(--color-sw-gray-200)}.sw .text-sw-gray-300{color:var(--color-sw-gray-300)}.sw .text-sw-gray-400{color:var(--color-sw-gray-400)}.sw .text-sw-gray-900{color:var(--color-sw-gray-900)}.sw .text-sw-gray-950{color:var(--color-sw-gray-950)}.sw .text-sw-status-error{color:var(--color-sw-status-error)}.sw .text-sw-status-success{color:var(--color-sw-status-success)}.sw .text-sw-status-warning{color:var(--color-sw-status-warning)}.sw .lowercase{text-transform:lowercase}.sw .opacity-0{opacity:0}.sw .opacity-50{opacity:.5}.sw .opacity-100{opacity:1}.sw .shadow-\[0_6px_48px_0_rgba\(36\,38\,45\,0\.3\)\]{--tw-shadow:0 6px 48px 0 var(--tw-shadow-color,#24262d4d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.sw .ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.sw .ring-sw-gray-600{--tw-ring-color:var(--color-sw-gray-600)}.sw .ring-sw-gray-700{--tw-ring-color:var(--color-sw-gray-700)}.sw .ring-sw-status-error{--tw-ring-color:var(--color-sw-status-error)}.sw .ring-transparent{--tw-ring-color:transparent}.sw .outline{outline-style:var(--tw-outline-style);outline-width:1px}.sw .blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.sw .grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.sw .transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .delay-0{transition-delay:0s}.sw .duration-150{--tw-duration:.15s;transition-duration:.15s}.sw .duration-250{--tw-duration:.25s;transition-duration:.25s}.sw .duration-300{--tw-duration:.3s;transition-duration:.3s}.sw .ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.sw .\[transition-timing-function\:cubic-bezier\(0\.175\,0\.885\,0\.32\,1\.275\)\]{transition-timing-function:cubic-bezier(.175,.885,.32,1.275)}.sw .outline-none{--tw-outline-style:none;outline-style:none}.sw .ring-inset{--tw-ring-inset:inset}@media (hover:hover){.sw .group-hover\:rotate-180:is(:where(.group):hover *){rotate:180deg}.sw .group-hover\:border-sw-gray-700:is(:where(.group):hover *){border-color:var(--color-sw-gray-700)}.sw .group-hover\:border-sw-gray-800:is(:where(.group):hover *){border-color:var(--color-sw-gray-800)}.sw .hover\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .hover\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .hover\:bg-sw-accent-400:hover{background-color:var(--color-sw-accent-400)}.sw .hover\:bg-sw-gray-700:hover{background-color:var(--color-sw-gray-700)}.sw .hover\:bg-sw-gray-800:hover{background-color:var(--color-sw-gray-800)}.sw .hover\:text-sw-accent-200:hover{color:var(--color-sw-accent-200)}.sw .hover\:text-sw-gray-50:hover{color:var(--color-sw-gray-50)}.sw .hover\:ring-sw-gray-100:hover{--tw-ring-color:var(--color-sw-gray-100)}}.sw .active\:scale-x-90:active{--tw-scale-x:90%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .active\:scale-y-110:active{--tw-scale-y:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .data-focus\:outline-none[data-focus]{--tw-outline-style:none;outline-style:none}@media (min-width:40rem){.sw .sm\:fixed{position:fixed}.sw .sm\:h-full{height:100%}.sw .sm\:max-h-screen{max-height:100vh}.sw .sm\:overflow-auto{overflow:auto}}}.sw{--font-family-sw:"Inter",sans-serif;--default-font-family:var(--font-family-sw);--r-sw-sm:6px;--r-sw-md:10px;--r-sw-lg:16px;--r-sw-xl:24px}.sw .sw{font-family:var(--font-family-sw);font-feature-settings:"liga" 1,"calt" 1}@supports (font-variation-settings:normal){.sw .sw{font-family:var(--font-family-sw)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
1
+ /*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){.sw *,.sw :before,.sw :after,.sw ::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{.sw,.sw :host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--font-weight-medium:500;--font-weight-semibold:600;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--radius-full:99999px;--radius-sw-sm:var(--r-sw-sm);--radius-sw-md:var(--r-sw-md);--radius-sw-lg:var(--r-sw-lg);--color-sw-gray-50:var(--c-sw-gray-50);--color-sw-gray-100:var(--c-sw-gray-100);--color-sw-gray-200:var(--c-sw-gray-200);--color-sw-gray-300:var(--c-sw-gray-300);--color-sw-gray-400:var(--c-sw-gray-400);--color-sw-gray-600:var(--c-sw-gray-600);--color-sw-gray-700:var(--c-sw-gray-700);--color-sw-gray-800:var(--c-sw-gray-800);--color-sw-gray-900:var(--c-sw-gray-900);--color-sw-gray-950:var(--c-sw-gray-950);--color-sw-accent-200:var(--c-sw-accent-200);--color-sw-accent-400:var(--c-sw-accent-400);--color-sw-accent-500:var(--c-sw-accent-500);--color-sw-status-success:var(--c-sw-status-success);--color-sw-status-warning:var(--c-sw-status-warning);--color-sw-status-error:var(--c-sw-status-error);--color-sw-container:var(--c-sw-container);--spacing-sw-xxs:2px;--spacing-sw-xs:4px;--spacing-sw-sm:6px;--spacing-sw-md:8px;--spacing-sw-lg:12px;--spacing-sw-xl:16px;--spacing-sw-2xl:20px;--spacing-sw-3xl:24px;--spacing-sw-4xl:32px;--spacing-sw-5xl:40px;--spacing-sw-6xl:48px}}@layer base{.sw *,.sw :after,.sw :before,.sw ::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}.sw ::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}.sw,.sw :host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}.sw hr{height:0;color:inherit;border-top-width:1px}.sw abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.sw h1,.sw h2,.sw h3,.sw h4,.sw h5,.sw h6{font-size:inherit;font-weight:inherit}.sw a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}.sw b,.sw strong{font-weight:bolder}.sw code,.sw kbd,.sw samp,.sw pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}.sw small{font-size:80%}.sw sub,.sw sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}.sw sub{bottom:-.25em}.sw sup{top:-.5em}.sw table{text-indent:0;border-color:inherit;border-collapse:collapse}.sw :-moz-focusring{outline:auto}.sw progress{vertical-align:baseline}.sw summary{display:list-item}.sw ol,.sw ul,.sw menu{list-style:none}.sw img,.sw svg,.sw video,.sw canvas,.sw audio,.sw iframe,.sw embed,.sw object{vertical-align:middle;display:block}.sw img,.sw video{max-width:100%;height:auto}.sw button,.sw input,.sw select,.sw optgroup,.sw textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}.sw ::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}.sw :where(select:is([multiple],[size])) optgroup{font-weight:bolder}.sw :where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}.sw ::file-selector-button{margin-inline-end:4px}.sw ::-moz-placeholder{opacity:1}.sw ::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){.sw ::-moz-placeholder{color:currentColor}.sw ::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){.sw ::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}.sw ::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}.sw textarea{resize:vertical}.sw ::-webkit-search-decoration{-webkit-appearance:none}.sw ::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}.sw ::-webkit-datetime-edit{display:inline-flex}.sw ::-webkit-datetime-edit-fields-wrapper{padding:0}.sw ::-webkit-datetime-edit{padding-block:0}.sw ::-webkit-datetime-edit-year-field{padding-block:0}.sw ::-webkit-datetime-edit-month-field{padding-block:0}.sw ::-webkit-datetime-edit-day-field{padding-block:0}.sw ::-webkit-datetime-edit-hour-field{padding-block:0}.sw ::-webkit-datetime-edit-minute-field{padding-block:0}.sw ::-webkit-datetime-edit-second-field{padding-block:0}.sw ::-webkit-datetime-edit-millisecond-field{padding-block:0}.sw ::-webkit-datetime-edit-meridiem-field{padding-block:0}.sw ::-webkit-calendar-picker-indicator{line-height:1}.sw :-moz-ui-invalid{box-shadow:none}.sw button,.sw input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}.sw ::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}.sw ::-webkit-inner-spin-button{height:auto}.sw ::-webkit-outer-spin-button{height:auto}.sw [hidden]:where(:not([hidden=until-found])){display:none!important}.sw[data-sw-theme]{--r-sw-sm:6px;--r-sw-md:10px;--r-sw-lg:16px}.sw[data-sw-theme=light]{color-scheme:light;--c-sw-gray-50:#24262d;--c-sw-gray-100:#2e3038;--c-sw-gray-200:#41444f;--c-sw-gray-300:#555967;--c-sw-gray-400:#686d7d;--c-sw-gray-500:#7e8396;--c-sw-gray-600:#979baa;--c-sw-gray-700:#b0b3bf;--c-sw-gray-800:#caccd3;--c-sw-gray-900:#e4e5e9;--c-sw-gray-950:#f3f3f5;--c-sw-accent-50:#280045;--c-sw-accent-100:#400069;--c-sw-accent-200:#7300b7;--c-sw-accent-300:#a528ff;--c-sw-accent-400:#ba7aff;--c-sw-accent-500:#d5b7ff;--c-sw-accent-600:#dcc4ff;--c-sw-accent-700:#e6d6ff;--c-sw-accent-800:#eee4ff;--c-sw-accent-900:#f6f1ff;--c-sw-accent-950:#fbf8ff;--c-sw-status-success:#00652f;--c-sw-status-warning:#a87a04;--c-sw-status-error:#9f002b;--c-sw-container:#000}.sw[data-sw-theme=dark]{color-scheme:dark;--c-sw-gray-50:#f3f3f5;--c-sw-gray-100:#e4e5e9;--c-sw-gray-200:#caccd3;--c-sw-gray-300:#b0b3bf;--c-sw-gray-400:#979baa;--c-sw-gray-500:#7e8396;--c-sw-gray-600:#686d7d;--c-sw-gray-700:#555967;--c-sw-gray-800:#41444f;--c-sw-gray-900:#2e3038;--c-sw-gray-950:#24262d;--c-sw-accent-50:#fbf8ff;--c-sw-accent-100:#f6f1ff;--c-sw-accent-200:#eee4ff;--c-sw-accent-300:#e6d6ff;--c-sw-accent-400:#dcc4ff;--c-sw-accent-500:#d5b7ff;--c-sw-accent-600:#ba7aff;--c-sw-accent-700:#a528ff;--c-sw-accent-800:#7300b7;--c-sw-accent-900:#400069;--c-sw-accent-950:#280045;--c-sw-status-success:#98ffb5;--c-sw-status-warning:#fadfad;--c-sw-status-error:#ffb8be;--c-sw-container:#fff}.sw .hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.sw .hide-scrollbar::-webkit-scrollbar{display:none}}@layer components;@layer utilities{.sw .absolute{position:absolute}.sw .fixed{position:fixed}.sw .relative{position:relative}.sw .static{position:static}.sw .top-1\/2{top:50%}.sw .top-\[14px\]{top:14px}.sw .top-\[19px\]{top:19px}.sw .top-sw-2xl{top:var(--spacing-sw-2xl)}.sw .right-\[-4px\]{right:-4px}.sw .right-sw-2xl{right:var(--spacing-sw-2xl)}.sw .left-1\/2{left:50%}.sw .z-1{z-index:1}.sw .z-10{z-index:10}.sw .container{width:100%}@media (min-width:40rem){.sw .container{max-width:40rem}}@media (min-width:48rem){.sw .container{max-width:48rem}}@media (min-width:64rem){.sw .container{max-width:64rem}}@media (min-width:80rem){.sw .container{max-width:80rem}}@media (min-width:96rem){.sw .container{max-width:96rem}}.sw .m-sw-lg{margin:var(--spacing-sw-lg)}.sw .mx-auto{margin-inline:auto}.sw .my-sw-sm{margin-block:var(--spacing-sw-sm)}.sw .mt-sw-2xl{margin-top:var(--spacing-sw-2xl)}.sw .mt-sw-lg{margin-top:var(--spacing-sw-lg)}.sw .mt-sw-xl{margin-top:var(--spacing-sw-xl)}.sw .mt-sw-xs{margin-top:var(--spacing-sw-xs)}.sw .mr-auto{margin-right:auto}.sw .mr-sw-md{margin-right:var(--spacing-sw-md)}.sw .mb-sw-2xl{margin-bottom:var(--spacing-sw-2xl)}.sw .mb-sw-md{margin-bottom:var(--spacing-sw-md)}.sw .mb-sw-xl{margin-bottom:var(--spacing-sw-xl)}.sw .ml-auto{margin-left:auto}.sw .ml-sw-lg{margin-left:var(--spacing-sw-lg)}.sw .flex{display:flex}.sw .hidden{display:none}.sw .inline{display:inline}.sw .inline-block{display:inline-block}.sw .h-\[1px\]{height:1px}.sw .h-\[7px\]{height:7px}.sw .h-\[12px\]{height:12px}.sw .h-\[16px\]{height:16px}.sw .h-\[17px\]{height:17px}.sw .h-\[20px\]{height:20px}.sw .h-\[34px\]{height:34px}.sw .h-\[36px\]{height:36px}.sw .h-\[40px\]{height:40px}.sw .h-\[44px\]{height:44px}.sw .h-\[48px\]{height:48px}.sw .h-\[108px\]{height:108px}.sw .h-\[116px\]{height:116px}.sw .h-\[120px\]{height:120px}.sw .h-\[152px\]{height:152px}.sw .h-\[165px\]{height:165px}.sw .h-\[180px\]{height:180px}.sw .h-fit{height:-moz-fit-content;height:fit-content}.sw .h-sw-2xl{height:var(--spacing-sw-2xl)}.sw .h-sw-4xl{height:var(--spacing-sw-4xl)}.sw .h-sw-lg{height:var(--spacing-sw-lg)}.sw .h-sw-xl{height:var(--spacing-sw-xl)}.sw .max-h-\[400px\]{max-height:400px}.sw .min-h-\[200px\]{min-height:200px}.sw .min-h-screen{min-height:100vh}.sw .min-h-sw-2xl{min-height:var(--spacing-sw-2xl)}.sw .w-\[7px\]{width:7px}.sw .w-\[16px\]{width:16px}.sw .w-\[34px\]{width:34px}.sw .w-\[36px\]{width:36px}.sw .w-\[40px\]{width:40px}.sw .w-\[60px\]{width:60px}.sw .w-\[100px\]{width:100px}.sw .w-\[180px\]{width:180px}.sw .w-\[200px\]{width:200px}.sw .w-auto{width:auto}.sw .w-fit{width:-moz-fit-content;width:fit-content}.sw .w-full{width:100%}.sw .w-sw-2xl{width:var(--spacing-sw-2xl)}.sw .w-sw-4xl{width:var(--spacing-sw-4xl)}.sw .w-sw-lg{width:var(--spacing-sw-lg)}.sw .w-sw-xl{width:var(--spacing-sw-xl)}.sw .max-w-\[80\%\]{max-width:80%}.sw .max-w-\[265px\]{max-width:265px}.sw .max-w-\[456px\]{max-width:456px}.sw .max-w-\[496px\]{max-width:496px}.sw .min-w-\[80px\]{min-width:80px}.sw .min-w-\[100px\]{min-width:100px}.sw .min-w-\[200px\]{min-width:200px}.sw .min-w-\[270px\]{min-width:270px}.sw .min-w-full{min-width:100%}.sw .min-w-max{min-width:-moz-max-content;min-width:max-content}.sw .shrink-0{flex-shrink:0}.sw .-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.sw .-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.sw .scale-80{--tw-scale-x:80%;--tw-scale-y:80%;--tw-scale-z:80%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .-rotate-90{rotate:-90deg}.sw .rotate-90{rotate:90deg}.sw .transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.sw .animate-pulse{animation:var(--animate-pulse)}.sw .animate-spin{animation:var(--animate-spin)}.sw .cursor-default{cursor:default}.sw .cursor-not-allowed{cursor:not-allowed}.sw .cursor-pointer{cursor:pointer}.sw .list-none{list-style-type:none}.sw .flex-col{flex-direction:column}.sw .flex-wrap{flex-wrap:wrap}.sw .items-center{align-items:center}.sw .items-end{align-items:flex-end}.sw .justify-between{justify-content:space-between}.sw .justify-center{justify-content:center}.sw .justify-end{justify-content:flex-end}.sw .gap-\[10px\]{gap:10px}.sw .gap-sw-2xl{gap:var(--spacing-sw-2xl)}.sw .gap-sw-4xl{gap:var(--spacing-sw-4xl)}.sw .gap-sw-lg{gap:var(--spacing-sw-lg)}.sw .gap-sw-md{gap:var(--spacing-sw-md)}.sw .gap-sw-sm{gap:var(--spacing-sw-sm)}.sw .gap-sw-xl{gap:var(--spacing-sw-xl)}.sw .gap-sw-xs{gap:var(--spacing-sw-xs)}.sw .gap-sw-xxs{gap:var(--spacing-sw-xxs)}.sw .gap-x-\[2px\]{-moz-column-gap:2px;column-gap:2px}.sw .overflow-hidden{overflow:hidden}.sw .rounded-\[2px\]{border-radius:2px}.sw .rounded-full{border-radius:3.40282e38px;border-radius:var(--radius-full)}.sw .rounded-sw-lg{border-radius:var(--radius-sw-lg)}.sw .rounded-sw-md{border-radius:var(--radius-sw-md)}.sw .rounded-sw-sm{border-radius:var(--radius-sw-sm)}.sw .border-2{border-style:var(--tw-border-style);border-width:2px}.sw .border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.sw .border-none{--tw-border-style:none;border-style:none}.sw .border-sw-gray-800{border-color:var(--color-sw-gray-800)}.sw .border-sw-gray-900{border-color:var(--color-sw-gray-900)}.sw .bg-\[\#fff\]{background-color:#fff}.sw .bg-sw-accent-500{background-color:var(--color-sw-accent-500)}.sw .bg-sw-container{background-color:var(--color-sw-container)}.sw .bg-sw-gray-50{background-color:var(--color-sw-gray-50)}.sw .bg-sw-gray-600{background-color:var(--color-sw-gray-600)}.sw .bg-sw-gray-700{background-color:var(--color-sw-gray-700)}.sw .bg-sw-gray-800{background-color:var(--color-sw-gray-800)}.sw .bg-sw-gray-900{background-color:var(--color-sw-gray-900)}.sw .bg-sw-gray-950{background-color:var(--color-sw-gray-950)}.sw .bg-sw-status-success{background-color:var(--color-sw-status-success)}.sw .bg-transparent{background-color:#0000}.sw .p-sw-2xl{padding:var(--spacing-sw-2xl)}.sw .p-sw-lg{padding:var(--spacing-sw-lg)}.sw .p-sw-md{padding:var(--spacing-sw-md)}.sw .px-\[1px\]{padding-inline:1px}.sw .px-sw-2xl{padding-inline:var(--spacing-sw-2xl)}.sw .px-sw-3xl{padding-inline:var(--spacing-sw-3xl)}.sw .px-sw-lg{padding-inline:var(--spacing-sw-lg)}.sw .px-sw-md{padding-inline:var(--spacing-sw-md)}.sw .px-sw-sm{padding-inline:var(--spacing-sw-sm)}.sw .px-sw-xl{padding-inline:var(--spacing-sw-xl)}.sw .py-sw-2xl{padding-block:var(--spacing-sw-2xl)}.sw .py-sw-6xl{padding-block:var(--spacing-sw-6xl)}.sw .py-sw-lg{padding-block:var(--spacing-sw-lg)}.sw .py-sw-sm{padding-block:var(--spacing-sw-sm)}.sw .py-sw-xl{padding-block:var(--spacing-sw-xl)}.sw .py-sw-xs{padding-block:var(--spacing-sw-xs)}.sw .pt-sw-2xl{padding-top:var(--spacing-sw-2xl)}.sw .pt-sw-5xl{padding-top:var(--spacing-sw-5xl)}.sw .pt-sw-sm{padding-top:var(--spacing-sw-sm)}.sw .pt-sw-xl{padding-top:var(--spacing-sw-xl)}.sw .pr-sw-md{padding-right:var(--spacing-sw-md)}.sw .pb-sw-5xl{padding-bottom:var(--spacing-sw-5xl)}.sw .pb-sw-lg{padding-bottom:var(--spacing-sw-lg)}.sw .pl-sw-2xl{padding-left:var(--spacing-sw-2xl)}.sw .pl-sw-lg{padding-left:var(--spacing-sw-lg)}.sw .pl-sw-sm{padding-left:var(--spacing-sw-sm)}.sw .text-center{text-align:center}.sw .align-sub{vertical-align:sub}@layer components{.sw .text-sw-body-lg{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);letter-spacing:-.025rem;font-size:1rem;line-height:1.375rem}.sw .text-sw-body-md{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);letter-spacing:-.025rem;font-size:.875rem;line-height:1.25rem}.sw .text-sw-body-sm{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);letter-spacing:-.025rem;font-size:.75rem;line-height:1rem}.sw .text-sw-label-lg{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.025rem;font-size:1rem;line-height:1rem}.sw .text-sw-label-md{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.025rem;font-size:.875rem;line-height:1rem}.sw .text-sw-label-sm{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.01875rem;font-size:.75rem;line-height:.875rem}.sw .text-sw-value-lg{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);letter-spacing:-.0625rem;font-size:2rem;line-height:2.25rem}}.sw .text-\[10px\]{font-size:10px}.sw .font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.sw .text-nowrap{text-wrap:nowrap}.sw .text-sw-accent-500{color:var(--color-sw-accent-500)}.sw .text-sw-gray-50{color:var(--color-sw-gray-50)}.sw .text-sw-gray-100{color:var(--color-sw-gray-100)}.sw .text-sw-gray-200{color:var(--color-sw-gray-200)}.sw .text-sw-gray-300{color:var(--color-sw-gray-300)}.sw .text-sw-gray-400{color:var(--color-sw-gray-400)}.sw .text-sw-gray-900{color:var(--color-sw-gray-900)}.sw .text-sw-gray-950{color:var(--color-sw-gray-950)}.sw .text-sw-status-error{color:var(--color-sw-status-error)}.sw .text-sw-status-success{color:var(--color-sw-status-success)}.sw .text-sw-status-warning{color:var(--color-sw-status-warning)}.sw .lowercase{text-transform:lowercase}.sw .opacity-0{opacity:0}.sw .opacity-50{opacity:.5}.sw .opacity-100{opacity:1}.sw .shadow-\[0_6px_48px_0_rgba\(36\,38\,45\,0\.3\)\]{--tw-shadow:0 6px 48px 0 var(--tw-shadow-color,#24262d4d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.sw .ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.sw .ring-sw-gray-600{--tw-ring-color:var(--color-sw-gray-600)}.sw .ring-sw-gray-700{--tw-ring-color:var(--color-sw-gray-700)}.sw .ring-sw-status-error{--tw-ring-color:var(--color-sw-status-error)}.sw .ring-transparent{--tw-ring-color:transparent}.sw .outline{outline-style:var(--tw-outline-style);outline-width:1px}.sw .blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.sw .grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.sw .transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.sw .delay-0{transition-delay:0s}.sw .duration-150{--tw-duration:.15s;transition-duration:.15s}.sw .duration-250{--tw-duration:.25s;transition-duration:.25s}.sw .duration-300{--tw-duration:.3s;transition-duration:.3s}.sw .ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.sw .\[transition-timing-function\:cubic-bezier\(0\.175\,0\.885\,0\.32\,1\.275\)\]{transition-timing-function:cubic-bezier(.175,.885,.32,1.275)}.sw .outline-none{--tw-outline-style:none;outline-style:none}.sw .ring-inset{--tw-ring-inset:inset}@media (hover:hover){.sw .group-hover\:rotate-180:is(:where(.group):hover *){rotate:180deg}.sw .group-hover\:border-sw-gray-700:is(:where(.group):hover *){border-color:var(--color-sw-gray-700)}.sw .group-hover\:border-sw-gray-800:is(:where(.group):hover *){border-color:var(--color-sw-gray-800)}.sw .hover\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .hover\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .hover\:bg-sw-accent-400:hover{background-color:var(--color-sw-accent-400)}.sw .hover\:bg-sw-gray-700:hover{background-color:var(--color-sw-gray-700)}.sw .hover\:bg-sw-gray-800:hover{background-color:var(--color-sw-gray-800)}.sw .hover\:text-sw-accent-200:hover{color:var(--color-sw-accent-200)}.sw .hover\:text-sw-gray-50:hover{color:var(--color-sw-gray-50)}.sw .hover\:ring-sw-gray-100:hover{--tw-ring-color:var(--color-sw-gray-100)}}.sw .active\:scale-x-90:active{--tw-scale-x:90%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .active\:scale-y-110:active{--tw-scale-y:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.sw .data-focus\:outline-none[data-focus]{--tw-outline-style:none;outline-style:none}@media (min-width:40rem){.sw .sm\:fixed{position:fixed}.sw .sm\:h-full{height:100%}.sw .sm\:max-h-screen{max-height:100vh}.sw .sm\:w-\[456px\]{width:456px}.sw .sm\:w-\[496px\]{width:496px}.sw .sm\:overflow-auto{overflow:auto}}}.sw{--font-family-sw:"Inter",sans-serif;--default-font-family:var(--font-family-sw)}.sw .sw{font-family:var(--font-family-sw);font-feature-settings:"liga" 1,"calt" 1}@supports (font-variation-settings:normal){.sw .sw{font-family:var(--font-family-sw)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
package/dist/tailwind.css CHANGED
@@ -19,7 +19,6 @@
19
19
  --radius-sw-sm: var(--r-sw-sm);
20
20
  --radius-sw-md: var(--r-sw-md);
21
21
  --radius-sw-lg: var(--r-sw-lg);
22
- --radius-sw-xl: var(--r-sw-xl);
23
22
 
24
23
  /* Gray tones */
25
24
  --color-sw-gray-50: var(--c-sw-gray-50);
@@ -52,6 +51,9 @@
52
51
  --color-sw-status-warning: var(--c-sw-status-warning);
53
52
  --color-sw-status-error: var(--c-sw-status-error);
54
53
 
54
+ /* Container color */
55
+ --color-sw-container: var(--c-sw-container);
56
+
55
57
  /* Spaces */
56
58
  --spacing-sw-xxs: 2px;
57
59
  --spacing-sw-xs: 4px;
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "./createColorPalette.js";
4
- import { C as i, ad as p } from "../config-CpXS2LPZ.js";
4
+ import { C as i, ad as p } from "../config-CyBNYvb1.js";
5
5
  export {
6
6
  i as ThemeContext,
7
7
  p as ThemeProvider
package/dist/theme.css CHANGED
@@ -1,14 +1,15 @@
1
1
  :root {
2
2
  --font-family-sw: 'Inter', sans-serif;
3
3
  --default-font-family: var(--font-family-sw);
4
-
5
- --r-sw-sm: 6px;
6
- --r-sw-md: 10px;
7
- --r-sw-lg: 16px;
8
- --r-sw-xl: 24px;
9
4
  }
10
5
 
11
6
  @layer base {
7
+ body[data-sw-theme] {
8
+ --r-sw-sm: 6px;
9
+ --r-sw-md: 10px;
10
+ --r-sw-lg: 16px;
11
+ }
12
+
12
13
  body[data-sw-theme="light"] {
13
14
  color-scheme: light;
14
15
 
@@ -39,6 +40,8 @@
39
40
  --c-sw-status-success: #00652F;
40
41
  --c-sw-status-warning: #A87A04;
41
42
  --c-sw-status-error: #9F002B;
43
+
44
+ --c-sw-container: #000;
42
45
  }
43
46
 
44
47
  body[data-sw-theme="dark"] {
@@ -71,6 +74,8 @@
71
74
  --c-sw-status-success: #98FFB5;
72
75
  --c-sw-status-warning: #FADFAD;
73
76
  --c-sw-status-error: #FFB8BE;
77
+
78
+ --c-sw-container: #FFF;
74
79
  }
75
80
  }
76
81
 
@@ -1,12 +1,18 @@
1
1
  export type HexColor = `#${string}`;
2
2
  export type ColorScheme = 'light' | 'dark';
3
+ export type ThemeBorderRadius = 'none' | 'sm' | 'md' | 'lg';
4
+ export type ThemeStylePreset = 'clean' | 'bold';
3
5
  export type Theme = {
4
6
  colorScheme?: ColorScheme;
7
+ stylePreset?: ThemeStylePreset;
5
8
  backgroundColor?: HexColor;
6
9
  primaryColor?: HexColor;
7
10
  surfaceColor?: HexColor;
11
+ containerColor?: HexColor;
8
12
  successColor?: HexColor;
9
13
  warningColor?: HexColor;
10
14
  errorColor?: HexColor;
15
+ borderRadius?: ThemeBorderRadius;
16
+ showContainer?: boolean;
11
17
  };
12
18
  export type ColorPalette = Record<50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950, string>;
@@ -1,6 +1,6 @@
1
1
  import "../../../index-DEq3oXQF.js";
2
2
  import "@defuse-protocol/intents-sdk";
3
- import { a2 as o } from "../../../config-CpXS2LPZ.js";
3
+ import { a2 as o } from "../../../config-CyBNYvb1.js";
4
4
  export {
5
5
  o as createNearWalletSigner
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import "@defuse-protocol/internal-utils";
2
- import { a1 as i } from "../../../config-CpXS2LPZ.js";
2
+ import { a1 as i } from "../../../config-CyBNYvb1.js";
3
3
  export {
4
4
  i as IntentSignerPrivy
5
5
  };
@@ -2,7 +2,7 @@ import "../../index-DEq3oXQF.js";
2
2
  import "zod";
3
3
  import "./decodeQueryResult.js";
4
4
  import "./rpc.js";
5
- import { $ as m } from "../../config-CpXS2LPZ.js";
5
+ import { $ as m } from "../../config-CyBNYvb1.js";
6
6
  export {
7
7
  m as getNearNep141StorageBalance
8
8
  };
@@ -3,7 +3,7 @@ import { useState as b, useEffect as p, useCallback as R } from "react";
3
3
  import { useTokenModal as A } from "../../hooks/useTokenModal.js";
4
4
  import { useTypedTranslation as F } from "../../localisation.js";
5
5
  import { WidgetDepositSkeleton as S } from "./WidgetDepositSkeleton.js";
6
- import { b as q, u as j, y as N, n as O, c as Q, p as U, o as K, S as P } from "../../config-CpXS2LPZ.js";
6
+ import { b as q, u as j, y as N, n as O, c as Q, p as U, o as K, S as P } from "../../config-CyBNYvb1.js";
7
7
  import "@tanstack/react-query";
8
8
  import "@headlessui/react";
9
9
  import "@material-symbols-svg/react-rounded/icons/chevron-left";
@@ -1,7 +1,7 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
2
  import a from "clsx";
3
3
  import { SkeletonBox as s } from "../../components/SkeletonBox.js";
4
- import { y as i } from "../../config-CpXS2LPZ.js";
4
+ import { y as i } from "../../config-CyBNYvb1.js";
5
5
  const p = () => {
6
6
  const { hideTokenInputHeadings: l } = i();
7
7
  return /* @__PURE__ */ o("div", { className: "w-full gap-sw-xl relative flex flex-col", children: [
@@ -1,22 +1,23 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { WidgetContainer as n } from "../../components/WidgetContainer.js";
3
- import { WidgetDepositContent as p } from "./WidgetDepositContent.js";
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { BaseContainer as m } from "../../components/BaseContainer.js";
3
+ import { WidgetContainer as p } from "../../components/WidgetContainer.js";
4
+ import { WidgetDepositContent as d } from "./WidgetDepositContent.js";
4
5
  const g = ({
5
- HeaderComponent: o,
6
+ HeaderComponent: t,
6
7
  FooterComponent: i,
7
- isFullPage: e,
8
- className: r,
9
- ...m
10
- }) => /* @__PURE__ */ t(
11
- n,
8
+ isFullPage: r,
9
+ className: e,
10
+ ...n
11
+ }) => /* @__PURE__ */ o(m, { children: /* @__PURE__ */ o(
12
+ p,
12
13
  {
13
- className: r,
14
- isFullPage: e,
15
- HeaderComponent: o,
14
+ className: e,
15
+ isFullPage: r,
16
+ HeaderComponent: t,
16
17
  FooterComponent: i,
17
- children: /* @__PURE__ */ t(p, { ...m })
18
+ children: /* @__PURE__ */ o(d, { ...n })
18
19
  }
19
- );
20
+ ) });
20
21
  export {
21
22
  g as WidgetDeposit
22
23
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/widgets/WidgetDeposit/index.tsx"],"sourcesContent":["import {\n WidgetContainer,\n WidgetContainerProps,\n} from '../../components/WidgetContainer';\nimport { Props, WidgetDepositContent } from './WidgetDepositContent';\n\nexport type WidgetDepositProps = Props & Omit<WidgetContainerProps, 'children'>;\n\nexport const WidgetDeposit = ({\n HeaderComponent,\n FooterComponent,\n isFullPage,\n className,\n ...widgetProps\n}: WidgetDepositProps) => (\n <WidgetContainer\n className={className}\n isFullPage={isFullPage}\n HeaderComponent={HeaderComponent}\n FooterComponent={FooterComponent}>\n <WidgetDepositContent {...widgetProps} />\n </WidgetContainer>\n);\n"],"names":["WidgetDeposit","HeaderComponent","FooterComponent","isFullPage","className","widgetProps","jsx","WidgetContainer","WidgetDepositContent"],"mappings":";;;AAQO,MAAMA,IAAgB,CAAC;AAAA,EAC5B,iBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,YAAAC;AAAA,EACA,WAAAC;AAAA,EACA,GAAGC;AACL,MACE,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,WAAAH;AAAA,IACA,YAAAD;AAAA,IACA,iBAAAF;AAAA,IACA,iBAAAC;AAAA,IACA,UAAA,gBAAAI,EAACE,GAAA,EAAsB,GAAGH,EAAA,CAAa;AAAA,EAAA;AACzC;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/widgets/WidgetDeposit/index.tsx"],"sourcesContent":["import { BaseContainer } from '../../components/BaseContainer';\nimport {\n WidgetContainer,\n WidgetContainerProps,\n} from '../../components/WidgetContainer';\nimport { Props, WidgetDepositContent } from './WidgetDepositContent';\n\nexport type WidgetDepositProps = Props & Omit<WidgetContainerProps, 'children'>;\n\nexport const WidgetDeposit = ({\n HeaderComponent,\n FooterComponent,\n isFullPage,\n className,\n ...widgetProps\n}: WidgetDepositProps) => (\n <BaseContainer>\n <WidgetContainer\n className={className}\n isFullPage={isFullPage}\n HeaderComponent={HeaderComponent}\n FooterComponent={FooterComponent}>\n <WidgetDepositContent {...widgetProps} />\n </WidgetContainer>\n </BaseContainer>\n);\n"],"names":["WidgetDeposit","HeaderComponent","FooterComponent","isFullPage","className","widgetProps","BaseContainer","jsx","WidgetContainer","WidgetDepositContent"],"mappings":";;;;AASO,MAAMA,IAAgB,CAAC;AAAA,EAC5B,iBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,YAAAC;AAAA,EACA,WAAAC;AAAA,EACA,GAAGC;AACL,wBACGC,GAAA,EACC,UAAA,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,WAAAJ;AAAA,IACA,YAAAD;AAAA,IACA,iBAAAF;AAAA,IACA,iBAAAC;AAAA,IACA,UAAA,gBAAAK,EAACE,GAAA,EAAsB,GAAGJ,EAAA,CAAa;AAAA,EAAA;AACzC,EAAA,CACF;"}
@@ -3,7 +3,7 @@ import { useState as S, useEffect as w } from "react";
3
3
  import { useTokenModal as N } from "../../hooks/useTokenModal.js";
4
4
  import { WidgetSwapSkeleton as T } from "./WidgetSwapSkeleton.js";
5
5
  import { useTypedTranslation as O } from "../../localisation.js";
6
- import { b as Q, u as j, y as q, n as F, c as U, p as b, o as K, S as P } from "../../config-CpXS2LPZ.js";
6
+ import { b as Q, u as j, y as q, n as F, c as U, p as b, o as K, S as P } from "../../config-CyBNYvb1.js";
7
7
  import "@tanstack/react-query";
8
8
  import "@headlessui/react";
9
9
  import "@material-symbols-svg/react-rounded/icons/chevron-left";
@@ -1,7 +1,7 @@
1
1
  import { jsxs as a, jsx as l } from "react/jsx-runtime";
2
2
  import o from "clsx";
3
3
  import { SkeletonBox as s } from "../../components/SkeletonBox.js";
4
- import { y as i } from "../../config-CpXS2LPZ.js";
4
+ import { y as i } from "../../config-CyBNYvb1.js";
5
5
  const m = () => {
6
6
  const { hideTokenInputHeadings: e } = i();
7
7
  return /* @__PURE__ */ a("div", { className: "w-full gap-sw-lg relative flex flex-col", children: [
@@ -1,23 +1,24 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { WidgetContainer as n } from "../../components/WidgetContainer.js";
3
- import { WidgetSwapContent as p } from "./WidgetSwapContent.js";
4
- const g = ({
5
- HeaderComponent: o,
6
- FooterComponent: r,
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { BaseContainer as m } from "../../components/BaseContainer.js";
3
+ import { WidgetContainer as p } from "../../components/WidgetContainer.js";
4
+ import { WidgetSwapContent as a } from "./WidgetSwapContent.js";
5
+ const s = ({
6
+ HeaderComponent: r,
7
+ FooterComponent: t,
7
8
  isFullPage: i,
8
9
  className: e,
9
- ...m
10
- }) => /* @__PURE__ */ t(
11
- n,
10
+ ...n
11
+ }) => /* @__PURE__ */ o(m, { children: /* @__PURE__ */ o(
12
+ p,
12
13
  {
13
14
  className: e,
14
15
  isFullPage: i,
15
- HeaderComponent: o,
16
- FooterComponent: r,
17
- children: /* @__PURE__ */ t(p, { ...m })
16
+ HeaderComponent: r,
17
+ FooterComponent: t,
18
+ children: /* @__PURE__ */ o(a, { ...n })
18
19
  }
19
- );
20
+ ) });
20
21
  export {
21
- g as WidgetSwap
22
+ s as WidgetSwap
22
23
  };
23
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/widgets/WidgetSwap/index.tsx"],"sourcesContent":["import {\n WidgetContainer,\n WidgetContainerProps,\n} from '../../components/WidgetContainer';\nimport { Props, WidgetSwapContent } from './WidgetSwapContent';\n\nexport type WidgetSwapProps = Props & Omit<WidgetContainerProps, 'children'>;\n\nexport const WidgetSwap = ({\n HeaderComponent,\n FooterComponent,\n isFullPage,\n className,\n ...widgetProps\n}: WidgetSwapProps) => (\n <WidgetContainer\n className={className}\n isFullPage={isFullPage}\n HeaderComponent={HeaderComponent}\n FooterComponent={FooterComponent}>\n <WidgetSwapContent {...widgetProps} />\n </WidgetContainer>\n);\n"],"names":["WidgetSwap","HeaderComponent","FooterComponent","isFullPage","className","widgetProps","jsx","WidgetContainer","WidgetSwapContent"],"mappings":";;;AAQO,MAAMA,IAAa,CAAC;AAAA,EACzB,iBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,YAAAC;AAAA,EACA,WAAAC;AAAA,EACA,GAAGC;AACL,MACE,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,WAAAH;AAAA,IACA,YAAAD;AAAA,IACA,iBAAAF;AAAA,IACA,iBAAAC;AAAA,IACA,UAAA,gBAAAI,EAACE,GAAA,EAAmB,GAAGH,EAAA,CAAa;AAAA,EAAA;AACtC;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/widgets/WidgetSwap/index.tsx"],"sourcesContent":["import { BaseContainer } from '../../components/BaseContainer';\nimport {\n WidgetContainer,\n WidgetContainerProps,\n} from '../../components/WidgetContainer';\nimport { Props, WidgetSwapContent } from './WidgetSwapContent';\n\nexport type WidgetSwapProps = Props & Omit<WidgetContainerProps, 'children'>;\n\nexport const WidgetSwap = ({\n HeaderComponent,\n FooterComponent,\n isFullPage,\n className,\n ...widgetProps\n}: WidgetSwapProps) => (\n <BaseContainer>\n <WidgetContainer\n className={className}\n isFullPage={isFullPage}\n HeaderComponent={HeaderComponent}\n FooterComponent={FooterComponent}>\n <WidgetSwapContent {...widgetProps} />\n </WidgetContainer>\n </BaseContainer>\n);\n"],"names":["WidgetSwap","HeaderComponent","FooterComponent","isFullPage","className","widgetProps","BaseContainer","jsx","WidgetContainer","WidgetSwapContent"],"mappings":";;;;AASO,MAAMA,IAAa,CAAC;AAAA,EACzB,iBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,YAAAC;AAAA,EACA,WAAAC;AAAA,EACA,GAAGC;AACL,wBACGC,GAAA,EACC,UAAA,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,WAAAJ;AAAA,IACA,YAAAD;AAAA,IACA,iBAAAF;AAAA,IACA,iBAAAC;AAAA,IACA,UAAA,gBAAAK,EAACE,GAAA,EAAmB,GAAGJ,EAAA,CAAa;AAAA,EAAA;AACtC,EAAA,CACF;"}
@@ -3,7 +3,7 @@ import { useState as _, useEffect as b } from "react";
3
3
  import { useTokenModal as N } from "../../hooks/useTokenModal.js";
4
4
  import { WidgetWithdrawSkeleton as y } from "./WidgetWithdrawSkeleton.js";
5
5
  import { useTypedTranslation as O } from "../../localisation.js";
6
- import { b as Q, u as j, y as q, n as F, c as U, p as T, o as K, S as P } from "../../config-CpXS2LPZ.js";
6
+ import { b as Q, u as j, y as q, n as F, c as U, p as T, o as K, S as P } from "../../config-CyBNYvb1.js";
7
7
  import "@tanstack/react-query";
8
8
  import "@headlessui/react";
9
9
  import "@material-symbols-svg/react-rounded/icons/chevron-left";
@@ -1,7 +1,7 @@
1
1
  import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
2
  import o from "clsx";
3
3
  import { SkeletonBox as l } from "../../components/SkeletonBox.js";
4
- import { y as x } from "../../config-CpXS2LPZ.js";
4
+ import { y as x } from "../../config-CyBNYvb1.js";
5
5
  const p = () => {
6
6
  const { hideTokenInputHeadings: s } = x();
7
7
  return /* @__PURE__ */ a("div", { className: "w-full gap-sw-xl relative flex flex-col", children: [
@@ -1,23 +1,24 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { WidgetContainer as m } from "../../components/WidgetContainer.js";
3
- import { WidgetWithdrawContent as n } from "./WidgetWithdrawContent.js";
4
- const f = ({
5
- HeaderComponent: r,
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { BaseContainer as m } from "../../components/BaseContainer.js";
3
+ import { WidgetContainer as d } from "../../components/WidgetContainer.js";
4
+ import { WidgetWithdrawContent as a } from "./WidgetWithdrawContent.js";
5
+ const c = ({
6
+ HeaderComponent: t,
6
7
  FooterComponent: i,
7
8
  isFullPage: o,
8
9
  className: e,
9
- ...d
10
- }) => /* @__PURE__ */ t(
11
- m,
10
+ ...n
11
+ }) => /* @__PURE__ */ r(m, { children: /* @__PURE__ */ r(
12
+ d,
12
13
  {
13
14
  className: e,
14
15
  isFullPage: o,
15
- HeaderComponent: r,
16
+ HeaderComponent: t,
16
17
  FooterComponent: i,
17
- children: /* @__PURE__ */ t(n, { ...d })
18
+ children: /* @__PURE__ */ r(a, { ...n })
18
19
  }
19
- );
20
+ ) });
20
21
  export {
21
- f as WidgetWithdraw
22
+ c as WidgetWithdraw
22
23
  };
23
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/widgets/WidgetWithdraw/index.tsx"],"sourcesContent":["import {\n WidgetContainer,\n WidgetContainerProps,\n} from '../../components/WidgetContainer';\nimport { Props, WidgetWithdrawContent } from './WidgetWithdrawContent';\n\nexport type WidgetWithdrawProps = Props &\n Omit<WidgetContainerProps, 'children'>;\n\nexport const WidgetWithdraw = ({\n HeaderComponent,\n FooterComponent,\n isFullPage,\n className,\n ...widgetProps\n}: WidgetWithdrawProps) => (\n <WidgetContainer\n className={className}\n isFullPage={isFullPage}\n HeaderComponent={HeaderComponent}\n FooterComponent={FooterComponent}>\n <WidgetWithdrawContent {...widgetProps} />\n </WidgetContainer>\n);\n"],"names":["WidgetWithdraw","HeaderComponent","FooterComponent","isFullPage","className","widgetProps","jsx","WidgetContainer","WidgetWithdrawContent"],"mappings":";;;AASO,MAAMA,IAAiB,CAAC;AAAA,EAC7B,iBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,YAAAC;AAAA,EACA,WAAAC;AAAA,EACA,GAAGC;AACL,MACE,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,WAAAH;AAAA,IACA,YAAAD;AAAA,IACA,iBAAAF;AAAA,IACA,iBAAAC;AAAA,IACA,UAAA,gBAAAI,EAACE,GAAA,EAAuB,GAAGH,EAAA,CAAa;AAAA,EAAA;AAC1C;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/widgets/WidgetWithdraw/index.tsx"],"sourcesContent":["import { BaseContainer } from '../../components/BaseContainer';\nimport {\n WidgetContainer,\n WidgetContainerProps,\n} from '../../components/WidgetContainer';\nimport { Props, WidgetWithdrawContent } from './WidgetWithdrawContent';\n\nexport type WidgetWithdrawProps = Props &\n Omit<WidgetContainerProps, 'children'>;\n\nexport const WidgetWithdraw = ({\n HeaderComponent,\n FooterComponent,\n isFullPage,\n className,\n ...widgetProps\n}: WidgetWithdrawProps) => (\n <BaseContainer>\n <WidgetContainer\n className={className}\n isFullPage={isFullPage}\n HeaderComponent={HeaderComponent}\n FooterComponent={FooterComponent}>\n <WidgetWithdrawContent {...widgetProps} />\n </WidgetContainer>\n </BaseContainer>\n);\n"],"names":["WidgetWithdraw","HeaderComponent","FooterComponent","isFullPage","className","widgetProps","BaseContainer","jsx","WidgetContainer","WidgetWithdrawContent"],"mappings":";;;;AAUO,MAAMA,IAAiB,CAAC;AAAA,EAC7B,iBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,YAAAC;AAAA,EACA,WAAAC;AAAA,EACA,GAAGC;AACL,wBACGC,GAAA,EACC,UAAA,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,WAAAJ;AAAA,IACA,YAAAD;AAAA,IACA,iBAAAF;AAAA,IACA,iBAAAC;AAAA,IACA,UAAA,gBAAAK,EAACE,GAAA,EAAuB,GAAGJ,EAAA,CAAa;AAAA,EAAA;AAC1C,EAAA,CACF;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurora-is-near/intents-swap-widget",
3
- "version": "3.19.1",
3
+ "version": "3.21.0",
4
4
  "description": "Provides components and hooks to build your own Intents swap widget",
5
5
  "author": "Maksim Vashchuk",
6
6
  "license": "MIT",
@@ -0,0 +1,19 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { useTheme } from '../hooks/useTheme';
3
+ import { cn } from '../utils';
4
+
5
+ export const BaseContainer = ({ children }: PropsWithChildren) => {
6
+ const theme = useTheme();
7
+
8
+ return (
9
+ <div
10
+ className={cn(
11
+ 'relative w-auto mx-auto',
12
+ theme?.showContainer
13
+ ? 'max-w-[496px] sm:w-[496px] p-csw-2xl bg-sw-container rounded-sw-lg'
14
+ : 'max-w-[456px] sm:w-[456px]',
15
+ )}>
16
+ {children}
17
+ </div>
18
+ );
19
+ };
@@ -24,7 +24,6 @@ export const WidgetContainer = ({
24
24
  <div
25
25
  style={{
26
26
  transform: isFullPage ? 'translateY(15dvh)' : 'none',
27
- backgroundColor: theme?.backgroundColor,
28
27
  }}
29
28
  className={cn(
30
29
  'w-full h-fit flex flex-col justify-center items-center relative',
package/src/tailwind.css CHANGED
@@ -19,7 +19,6 @@
19
19
  --radius-sw-sm: var(--r-sw-sm);
20
20
  --radius-sw-md: var(--r-sw-md);
21
21
  --radius-sw-lg: var(--r-sw-lg);
22
- --radius-sw-xl: var(--r-sw-xl);
23
22
 
24
23
  /* Gray tones */
25
24
  --color-sw-gray-50: var(--c-sw-gray-50);
@@ -52,6 +51,9 @@
52
51
  --color-sw-status-warning: var(--c-sw-status-warning);
53
52
  --color-sw-status-error: var(--c-sw-status-error);
54
53
 
54
+ /* Container color */
55
+ --color-sw-container: var(--c-sw-container);
56
+
55
57
  /* Spaces */
56
58
  --spacing-sw-xxs: 2px;
57
59
  --spacing-sw-xs: 4px;