@stakekit/widget 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/package/bundle/assets/fees.png +0 -0
  2. package/dist/package/bundle/assets/powered-by.png +0 -0
  3. package/dist/package/bundle/assets/what-is-deposit.png +0 -0
  4. package/dist/package/bundle/assets/what-is-lending.png +0 -0
  5. package/dist/package/bundle/assets/what-is-liquid-staking.png +0 -0
  6. package/dist/package/bundle/assets/what-is-staking.png +0 -0
  7. package/dist/package/bundle/index.bundle.css +2 -0
  8. package/dist/package/bundle/index.bundle.css.map +7 -0
  9. package/dist/package/bundle/index.bundle.js +1119 -0
  10. package/dist/package/bundle/index.bundle.js.map +7 -0
  11. package/dist/package/chunk-USBWYVY2.js +1953 -0
  12. package/dist/package/chunk-USBWYVY2.js.map +7 -0
  13. package/dist/package/index.package.css +3746 -0
  14. package/dist/package/index.package.css.map +7 -0
  15. package/dist/package/index.package.js +22541 -0
  16. package/dist/package/index.package.js.map +7 -0
  17. package/dist/package/polyfills.js +2 -0
  18. package/dist/package/polyfills.js.map +7 -0
  19. package/dist/package/types/src/App.d.ts +15 -0
  20. package/dist/package/types/src/components/atoms/box/index.d.ts +133 -0
  21. package/dist/package/types/src/components/atoms/button/button.d.ts +8 -0
  22. package/dist/package/types/src/components/atoms/button/index.d.ts +1 -0
  23. package/dist/package/types/src/components/atoms/button/styles.css.d.ts +48 -0
  24. package/dist/package/types/src/components/atoms/divider/index.d.ts +4 -0
  25. package/dist/package/types/src/components/atoms/highlight/index.d.ts +6 -0
  26. package/dist/package/types/src/components/atoms/icons/arrows-left-right.d.ts +1 -0
  27. package/dist/package/types/src/components/atoms/icons/caret-down.d.ts +1 -0
  28. package/dist/package/types/src/components/atoms/icons/caret-left.d.ts +1 -0
  29. package/dist/package/types/src/components/atoms/icons/check-circle.d.ts +4 -0
  30. package/dist/package/types/src/components/atoms/icons/check-disabled.d.ts +1 -0
  31. package/dist/package/types/src/components/atoms/icons/check-steps.d.ts +3 -0
  32. package/dist/package/types/src/components/atoms/icons/check.d.ts +4 -0
  33. package/dist/package/types/src/components/atoms/icons/circle-notch.d.ts +1 -0
  34. package/dist/package/types/src/components/atoms/icons/clock-clock-wise.d.ts +1 -0
  35. package/dist/package/types/src/components/atoms/icons/gift.d.ts +1 -0
  36. package/dist/package/types/src/components/atoms/icons/help.d.ts +1 -0
  37. package/dist/package/types/src/components/atoms/icons/index.d.ts +11 -0
  38. package/dist/package/types/src/components/atoms/icons/search.d.ts +1 -0
  39. package/dist/package/types/src/components/atoms/icons/x-icon.d.ts +4 -0
  40. package/dist/package/types/src/components/atoms/image/index.d.ts +6 -0
  41. package/dist/package/types/src/components/atoms/number-input/index.d.ts +8 -0
  42. package/dist/package/types/src/components/atoms/number-input/styles.css.d.ts +3 -0
  43. package/dist/package/types/src/components/atoms/number-input/use-auto-resize-text.d.ts +6 -0
  44. package/dist/package/types/src/components/atoms/select-modal/index.d.ts +17 -0
  45. package/dist/package/types/src/components/atoms/select-modal/styles.css.d.ts +7 -0
  46. package/dist/package/types/src/components/atoms/spinner/index.d.ts +5 -0
  47. package/dist/package/types/src/components/atoms/spinner/style.css.d.ts +8 -0
  48. package/dist/package/types/src/components/atoms/token-icon/index.d.ts +8 -0
  49. package/dist/package/types/src/components/atoms/token-icon/style.css.d.ts +1 -0
  50. package/dist/package/types/src/components/atoms/typography/heading.d.ts +279 -0
  51. package/dist/package/types/src/components/atoms/typography/index.d.ts +2 -0
  52. package/dist/package/types/src/components/atoms/typography/styles.css.d.ts +76 -0
  53. package/dist/package/types/src/components/atoms/typography/text.d.ts +8 -0
  54. package/dist/package/types/src/components/index.d.ts +10 -0
  55. package/dist/package/types/src/components/molecules/header/header.d.ts +1 -0
  56. package/dist/package/types/src/components/molecules/header/index.d.ts +1 -0
  57. package/dist/package/types/src/components/molecules/header/styles.css.d.ts +3 -0
  58. package/dist/package/types/src/components/molecules/help-modal/index.d.ts +7 -0
  59. package/dist/package/types/src/components/molecules/help-modal/style.css.d.ts +2 -0
  60. package/dist/package/types/src/components/molecules/reward-token-details/index.d.ts +4 -0
  61. package/dist/package/types/src/components/molecules/reward-token-details/style.css.d.ts +1 -0
  62. package/dist/package/types/src/config/index.d.ts +16 -0
  63. package/dist/package/types/src/domain/index.d.ts +36 -0
  64. package/dist/package/types/src/domain/types/index.d.ts +4 -0
  65. package/dist/package/types/src/domain/types/price.d.ts +6 -0
  66. package/dist/package/types/src/domain/types/tokens.d.ts +2 -0
  67. package/dist/package/types/src/domain/types/wallet.d.ts +25 -0
  68. package/dist/package/types/src/domain/types/yields.d.ts +7 -0
  69. package/dist/package/types/src/hooks/api/use-account-balance.d.ts +5 -0
  70. package/dist/package/types/src/hooks/api/use-filtered-opportunities.d.ts +3 -0
  71. package/dist/package/types/src/hooks/api/use-network-gas.d.ts +4 -0
  72. package/dist/package/types/src/hooks/api/use-opportunities.d.ts +2 -0
  73. package/dist/package/types/src/hooks/api/use-prices.d.ts +4 -0
  74. package/dist/package/types/src/hooks/api/use-selected-stake-price.d.ts +6 -0
  75. package/dist/package/types/src/hooks/api/use-stake-enter-and-txs-construct.d.ts +8 -0
  76. package/dist/package/types/src/hooks/index.d.ts +6 -0
  77. package/dist/package/types/src/hooks/use-color-scheme.d.ts +1 -0
  78. package/dist/package/types/src/hooks/use-debounce.d.ts +1 -0
  79. package/dist/package/types/src/hooks/use-location-transition-animation/index.d.ts +5 -0
  80. package/dist/package/types/src/hooks/use-location-transition-animation/style.css.d.ts +2 -0
  81. package/dist/package/types/src/hooks/use-logout.d.ts +1 -0
  82. package/dist/package/types/src/hooks/use-previous.d.ts +1 -0
  83. package/dist/package/types/src/hooks/use-reset-app.d.ts +1 -0
  84. package/dist/package/types/src/hooks/use-root-element.d.ts +1 -0
  85. package/dist/package/types/src/hooks/use-saved-ref.d.ts +2 -0
  86. package/dist/package/types/src/hooks/use-shared-mutation.d.ts +2 -0
  87. package/dist/package/types/src/hooks/use-sk-wallet.d.ts +2 -0
  88. package/dist/package/types/src/hooks/use-toggle-theme.d.ts +1 -0
  89. package/dist/package/types/src/hooks/use-webview-connect-machine.d.ts +72 -0
  90. package/dist/package/types/src/index.bundle.d.ts +2 -0
  91. package/dist/package/types/src/index.package.d.ts +3 -0
  92. package/dist/package/types/src/main.d.ts +1 -0
  93. package/dist/package/types/src/pages/complete/index.d.ts +1 -0
  94. package/dist/package/types/src/pages/complete/use-complete.d.ts +13 -0
  95. package/dist/package/types/src/pages/components/index.d.ts +2 -0
  96. package/dist/package/types/src/pages/components/layout/index.d.ts +6 -0
  97. package/dist/package/types/src/pages/components/layout/style.css.d.ts +1 -0
  98. package/dist/package/types/src/pages/components/page-container.d.ts +2 -0
  99. package/dist/package/types/src/pages/details/components/footer.d.ts +5 -0
  100. package/dist/package/types/src/pages/details/components/select-opportunity.d.ts +12 -0
  101. package/dist/package/types/src/pages/details/components/select-validator.d.ts +7 -0
  102. package/dist/package/types/src/pages/details/components/styles.css.d.ts +4 -0
  103. package/dist/package/types/src/pages/details/index.d.ts +1 -0
  104. package/dist/package/types/src/pages/details/style.css.d.ts +6 -0
  105. package/dist/package/types/src/pages/details/types.d.ts +9 -0
  106. package/dist/package/types/src/pages/details/use-details.d.ts +46 -0
  107. package/dist/package/types/src/pages/index.d.ts +5 -0
  108. package/dist/package/types/src/pages/positions/index.d.ts +1 -0
  109. package/dist/package/types/src/pages/positions/styles.css.d.ts +4 -0
  110. package/dist/package/types/src/pages/positions/use-positions.d.ts +17 -0
  111. package/dist/package/types/src/pages/review/index.d.ts +1 -0
  112. package/dist/package/types/src/pages/review/style.css.d.ts +2 -0
  113. package/dist/package/types/src/pages/review/use-review.d.ts +16 -0
  114. package/dist/package/types/src/pages/steps/errors.d.ts +18 -0
  115. package/dist/package/types/src/pages/steps/index.d.ts +1 -0
  116. package/dist/package/types/src/pages/steps/styles.css.d.ts +5 -0
  117. package/dist/package/types/src/pages/steps/types.d.ts +14 -0
  118. package/dist/package/types/src/pages/steps/use-steps-machine.d.ts +344 -0
  119. package/dist/package/types/src/pages/steps/use-steps.d.ts +17 -0
  120. package/dist/package/types/src/polyfills.d.ts +1 -0
  121. package/dist/package/types/src/providers/cosmos/config.d.ts +303 -0
  122. package/dist/package/types/src/providers/cosmos/provider.d.ts +2 -0
  123. package/dist/package/types/src/providers/cosmos/wallet-connect/chain-wallet.d.ts +5 -0
  124. package/dist/package/types/src/providers/cosmos/wallet-connect/client.d.ts +3 -0
  125. package/dist/package/types/src/providers/cosmos/wallet-connect/index.d.ts +3 -0
  126. package/dist/package/types/src/providers/cosmos/wallet-connect/main-wallet.d.ts +5 -0
  127. package/dist/package/types/src/providers/cosmos/wallet-connect/registry.d.ts +2 -0
  128. package/dist/package/types/src/providers/ethereum/config.d.ts +6 -0
  129. package/dist/package/types/src/providers/ethereum/provider.d.ts +2 -0
  130. package/dist/package/types/src/providers/index.d.ts +2 -0
  131. package/dist/package/types/src/providers/rainbow-kit.d.ts +5 -0
  132. package/dist/package/types/src/providers/settings.d.ts +10 -0
  133. package/dist/package/types/src/providers/theme-wrapper.d.ts +8 -0
  134. package/dist/package/types/src/providers/wagmi/index.d.ts +7 -0
  135. package/dist/package/types/src/services/query-client.d.ts +2 -0
  136. package/dist/package/types/src/state/app-state.d.ts +7 -0
  137. package/dist/package/types/src/state/derived-app-state.d.ts +18 -0
  138. package/dist/package/types/src/state/index.d.ts +2 -0
  139. package/dist/package/types/src/state/types.d.ts +34 -0
  140. package/dist/package/types/src/style.css.d.ts +1 -0
  141. package/dist/package/types/src/styles/index.d.ts +1 -0
  142. package/dist/package/types/src/styles/theme/atoms.css.d.ts +124 -0
  143. package/dist/package/types/src/styles/theme/contract.css.d.ts +668 -0
  144. package/dist/package/types/src/styles/theme/global.css.d.ts +1 -0
  145. package/dist/package/types/src/styles/theme/index.d.ts +2 -0
  146. package/dist/package/types/src/styles/theme/properties.d.ts +472 -0
  147. package/dist/package/types/src/styles/tokens/breakpoints.d.ts +7 -0
  148. package/dist/package/types/src/styles/tokens/colors.d.ts +52 -0
  149. package/dist/package/types/src/styles/tokens/fonts.d.ts +6 -0
  150. package/dist/package/types/src/styles/tokens/radii.d.ts +17 -0
  151. package/dist/package/types/src/styles/tokens/space.d.ts +31 -0
  152. package/dist/package/types/src/styles/tokens/typography.d.ts +77 -0
  153. package/dist/package/types/src/styles/tokens/z-indices.d.ts +13 -0
  154. package/dist/package/types/src/translation/index.d.ts +103 -0
  155. package/dist/package/types/src/types/index.d.ts +1 -0
  156. package/dist/package/types/src/types/utils.d.ts +5 -0
  157. package/dist/package/types/src/types/window.d.ts +10 -0
  158. package/dist/package/types/src/utils/index.d.ts +5 -0
  159. package/dist/package/types/src/utils/mappers.d.ts +9 -0
  160. package/package.json +119 -0
@@ -0,0 +1,2 @@
1
+ import "./chunk-USBWYVY2.js";
2
+ //# sourceMappingURL=polyfills.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -0,0 +1,15 @@
1
+ import "./polyfills";
2
+ import "@rainbow-me/rainbowkit/styles.css";
3
+ import "./styles/theme/global.css";
4
+ import "./translation";
5
+ import ReactDOM from "react-dom/client";
6
+ import { ComponentProps } from "react";
7
+ import { SettingsContextType } from "./providers/settings";
8
+ export declare const SKApp: ({ withPositions, ...rest }: {
9
+ withPositions?: boolean | undefined;
10
+ } & SettingsContextType) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const renderSKWidget: ({ container, ...rest }: {
12
+ withPositions?: boolean | undefined;
13
+ } & SettingsContextType & {
14
+ container: Parameters<typeof ReactDOM.createRoot>[0];
15
+ }) => void;
@@ -0,0 +1,133 @@
1
+ import classNames from "classnames";
2
+ import { AllHTMLAttributes, ElementType, PropsWithChildren } from "react";
3
+ import { Atoms } from "../../../styles";
4
+ export type BoxProps = PropsWithChildren<Omit<AllHTMLAttributes<HTMLElement>, "className" | "content" | "height" | "translate" | "color" | "width" | "cursor"> & Atoms & {
5
+ as?: ElementType;
6
+ className?: Parameters<typeof classNames>[0];
7
+ }>;
8
+ export declare const Box: import("react").ForwardRefExoticComponent<Omit<AllHTMLAttributes<HTMLElement>, "color" | "content" | "cursor" | "height" | "translate" | "width" | "className"> & {
9
+ readonly position?: "sticky" | "relative" | "absolute" | undefined;
10
+ readonly opacity?: 0 | 1 | 0.1 | 0.5 | undefined;
11
+ readonly zIndex?: "auto" | "base" | "hide" | "docked" | "dropdown" | "sticky" | "banner" | "overlay" | "modal" | "skipLink" | undefined;
12
+ readonly fontWeight?: "tokenSelect" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | "modalHeading" | "primaryButton" | "secondaryButton" | undefined;
13
+ readonly border?: "none" | undefined;
14
+ readonly gap?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
15
+ readonly borderRadius?: "3xl" | "2xl" | "xl" | "lg" | "md" | "sm" | "none" | "base" | "primaryButton" | "secondaryButton" | "full" | "half" | "widgetBorderRadius" | undefined;
16
+ readonly textAlign?: "left" | "right" | "center" | undefined;
17
+ readonly flex?: 1 | 2 | 3 | 4 | 5 | undefined;
18
+ readonly lineHeight?: "3xl" | "4xl" | "2xl" | "xl" | "lg" | "md" | "sm" | "xs" | "5xl" | "6xl" | "none" | "shorter" | "short" | "base" | "tall" | "taller" | undefined;
19
+ readonly letterSpacing?: "tighter" | "tight" | "normal" | "wide" | "wider" | "widest" | undefined;
20
+ readonly borderWidth?: 1 | 2 | 3 | 0.5 | undefined;
21
+ readonly borderStyle?: "solid" | undefined;
22
+ } & {
23
+ readonly display?: "none" | "flex" | "block" | "inline" | "inline-block" | "inline-flex" | {
24
+ mobile?: "none" | "flex" | "block" | "inline" | "inline-block" | "inline-flex" | undefined;
25
+ tablet?: "none" | "flex" | "block" | "inline" | "inline-block" | "inline-flex" | undefined;
26
+ } | undefined;
27
+ readonly fontSize?: "3xl" | "4xl" | "2xl" | "xl" | "lgx" | "lg" | "md" | "sm" | "xs" | "5xl" | "6xl" | {
28
+ mobile?: "3xl" | "4xl" | "2xl" | "xl" | "lgx" | "lg" | "md" | "sm" | "xs" | "5xl" | "6xl" | undefined;
29
+ tablet?: "3xl" | "4xl" | "2xl" | "xl" | "lgx" | "lg" | "md" | "sm" | "xs" | "5xl" | "6xl" | undefined;
30
+ } | undefined;
31
+ readonly marginTop?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
32
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
33
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
34
+ } | undefined;
35
+ readonly marginBottom?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
36
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
37
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
38
+ } | undefined;
39
+ readonly marginRight?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
40
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
41
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
42
+ } | undefined;
43
+ readonly marginLeft?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
44
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
45
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
46
+ } | undefined;
47
+ readonly paddingTop?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
48
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
49
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
50
+ } | undefined;
51
+ readonly paddingBottom?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
52
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
53
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
54
+ } | undefined;
55
+ readonly paddingRight?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
56
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
57
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
58
+ } | undefined;
59
+ readonly paddingLeft?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
60
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
61
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
62
+ } | undefined;
63
+ readonly alignItems?: "center" | "flex-end" | "flex-start" | {
64
+ mobile?: "center" | "flex-end" | "flex-start" | undefined;
65
+ tablet?: "center" | "flex-end" | "flex-start" | undefined;
66
+ } | undefined;
67
+ readonly justifyContent?: "center" | "space-between" | "flex-end" | "flex-start" | {
68
+ mobile?: "center" | "space-between" | "flex-end" | "flex-start" | undefined;
69
+ tablet?: "center" | "space-between" | "flex-end" | "flex-start" | undefined;
70
+ } | undefined;
71
+ readonly flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | {
72
+ mobile?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
73
+ tablet?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
74
+ } | undefined;
75
+ readonly flexWrap?: "wrap" | "nowrap" | {
76
+ mobile?: "wrap" | "nowrap" | undefined;
77
+ tablet?: "wrap" | "nowrap" | undefined;
78
+ } | undefined;
79
+ readonly height?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
80
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
81
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
82
+ } | undefined;
83
+ readonly width?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
84
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
85
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
86
+ } | undefined;
87
+ readonly minWidth?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
88
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
89
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
90
+ } | undefined;
91
+ readonly minHeight?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
92
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
93
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
94
+ } | undefined;
95
+ px?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
96
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
97
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
98
+ } | undefined;
99
+ py?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
100
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
101
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
102
+ } | undefined;
103
+ mx?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
104
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
105
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
106
+ } | undefined;
107
+ my?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
108
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
109
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
110
+ } | undefined;
111
+ hw?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | {
112
+ mobile?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
113
+ tablet?: "0" | "unset" | "auto" | "10" | "1" | "2" | "full" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "px" | "buttonMinHeight" | undefined;
114
+ } | undefined;
115
+ } & {
116
+ color?: "transparent" | "text" | "white" | "black" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelect" | "stakeSectionBackground" | "positionsSectionBackgroundColor" | "positionsSectionBorderColor" | "positionsSectionDividerColor" | "modalOverlayBackground" | "modalBodyBackground" | "primaryButtonColor" | "primaryButtonBackground" | "primaryButtonOutline" | "primaryButtonHoverColor" | "primaryButtonHoverBackground" | "primaryButtonHoverOutline" | "primaryButtonActiveColor" | "primaryButtonActiveBackground" | "primaryButtonActiveOutline" | "secondaryButtonColor" | "secondaryButtonBackground" | "secondaryButtonOutline" | "secondaryButtonHoverColor" | "secondaryButtonHoverBackground" | "secondaryButtonHoverOutline" | "secondaryButtonActiveColor" | "secondaryButtonActiveBackground" | "secondaryButtonActiveOutline" | "disabledButtonColor" | "disabledButtonBackground" | "disabledButtonOutline" | "disabledButtonHoverColor" | "disabledButtonHoverBackground" | "disabledButtonHoverOutline" | "disabledButtonActiveColor" | "disabledButtonActiveBackground" | "disabledButtonActiveOutline" | {
117
+ light?: "transparent" | "text" | "white" | "black" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelect" | "stakeSectionBackground" | "positionsSectionBackgroundColor" | "positionsSectionBorderColor" | "positionsSectionDividerColor" | "modalOverlayBackground" | "modalBodyBackground" | "primaryButtonColor" | "primaryButtonBackground" | "primaryButtonOutline" | "primaryButtonHoverColor" | "primaryButtonHoverBackground" | "primaryButtonHoverOutline" | "primaryButtonActiveColor" | "primaryButtonActiveBackground" | "primaryButtonActiveOutline" | "secondaryButtonColor" | "secondaryButtonBackground" | "secondaryButtonOutline" | "secondaryButtonHoverColor" | "secondaryButtonHoverBackground" | "secondaryButtonHoverOutline" | "secondaryButtonActiveColor" | "secondaryButtonActiveBackground" | "secondaryButtonActiveOutline" | "disabledButtonColor" | "disabledButtonBackground" | "disabledButtonOutline" | "disabledButtonHoverColor" | "disabledButtonHoverBackground" | "disabledButtonHoverOutline" | "disabledButtonActiveColor" | "disabledButtonActiveBackground" | "disabledButtonActiveOutline" | undefined;
118
+ dark?: "transparent" | "text" | "white" | "black" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelect" | "stakeSectionBackground" | "positionsSectionBackgroundColor" | "positionsSectionBorderColor" | "positionsSectionDividerColor" | "modalOverlayBackground" | "modalBodyBackground" | "primaryButtonColor" | "primaryButtonBackground" | "primaryButtonOutline" | "primaryButtonHoverColor" | "primaryButtonHoverBackground" | "primaryButtonHoverOutline" | "primaryButtonActiveColor" | "primaryButtonActiveBackground" | "primaryButtonActiveOutline" | "secondaryButtonColor" | "secondaryButtonBackground" | "secondaryButtonOutline" | "secondaryButtonHoverColor" | "secondaryButtonHoverBackground" | "secondaryButtonHoverOutline" | "secondaryButtonActiveColor" | "secondaryButtonActiveBackground" | "secondaryButtonActiveOutline" | "disabledButtonColor" | "disabledButtonBackground" | "disabledButtonOutline" | "disabledButtonHoverColor" | "disabledButtonHoverBackground" | "disabledButtonHoverOutline" | "disabledButtonActiveColor" | "disabledButtonActiveBackground" | "disabledButtonActiveOutline" | undefined;
119
+ } | undefined;
120
+ background?: "transparent" | "text" | "white" | "black" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelect" | "stakeSectionBackground" | "positionsSectionBackgroundColor" | "positionsSectionBorderColor" | "positionsSectionDividerColor" | "modalOverlayBackground" | "modalBodyBackground" | "primaryButtonColor" | "primaryButtonBackground" | "primaryButtonOutline" | "primaryButtonHoverColor" | "primaryButtonHoverBackground" | "primaryButtonHoverOutline" | "primaryButtonActiveColor" | "primaryButtonActiveBackground" | "primaryButtonActiveOutline" | "secondaryButtonColor" | "secondaryButtonBackground" | "secondaryButtonOutline" | "secondaryButtonHoverColor" | "secondaryButtonHoverBackground" | "secondaryButtonHoverOutline" | "secondaryButtonActiveColor" | "secondaryButtonActiveBackground" | "secondaryButtonActiveOutline" | "disabledButtonColor" | "disabledButtonBackground" | "disabledButtonOutline" | "disabledButtonHoverColor" | "disabledButtonHoverBackground" | "disabledButtonHoverOutline" | "disabledButtonActiveColor" | "disabledButtonActiveBackground" | "disabledButtonActiveOutline" | {
121
+ light?: "transparent" | "text" | "white" | "black" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelect" | "stakeSectionBackground" | "positionsSectionBackgroundColor" | "positionsSectionBorderColor" | "positionsSectionDividerColor" | "modalOverlayBackground" | "modalBodyBackground" | "primaryButtonColor" | "primaryButtonBackground" | "primaryButtonOutline" | "primaryButtonHoverColor" | "primaryButtonHoverBackground" | "primaryButtonHoverOutline" | "primaryButtonActiveColor" | "primaryButtonActiveBackground" | "primaryButtonActiveOutline" | "secondaryButtonColor" | "secondaryButtonBackground" | "secondaryButtonOutline" | "secondaryButtonHoverColor" | "secondaryButtonHoverBackground" | "secondaryButtonHoverOutline" | "secondaryButtonActiveColor" | "secondaryButtonActiveBackground" | "secondaryButtonActiveOutline" | "disabledButtonColor" | "disabledButtonBackground" | "disabledButtonOutline" | "disabledButtonHoverColor" | "disabledButtonHoverBackground" | "disabledButtonHoverOutline" | "disabledButtonActiveColor" | "disabledButtonActiveBackground" | "disabledButtonActiveOutline" | undefined;
122
+ dark?: "transparent" | "text" | "white" | "black" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelect" | "stakeSectionBackground" | "positionsSectionBackgroundColor" | "positionsSectionBorderColor" | "positionsSectionDividerColor" | "modalOverlayBackground" | "modalBodyBackground" | "primaryButtonColor" | "primaryButtonBackground" | "primaryButtonOutline" | "primaryButtonHoverColor" | "primaryButtonHoverBackground" | "primaryButtonHoverOutline" | "primaryButtonActiveColor" | "primaryButtonActiveBackground" | "primaryButtonActiveOutline" | "secondaryButtonColor" | "secondaryButtonBackground" | "secondaryButtonOutline" | "secondaryButtonHoverColor" | "secondaryButtonHoverBackground" | "secondaryButtonHoverOutline" | "secondaryButtonActiveColor" | "secondaryButtonActiveBackground" | "secondaryButtonActiveOutline" | "disabledButtonColor" | "disabledButtonBackground" | "disabledButtonOutline" | "disabledButtonHoverColor" | "disabledButtonHoverBackground" | "disabledButtonHoverOutline" | "disabledButtonActiveColor" | "disabledButtonActiveBackground" | "disabledButtonActiveOutline" | undefined;
123
+ } | undefined;
124
+ borderColor?: "transparent" | "text" | "white" | "black" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelect" | "stakeSectionBackground" | "positionsSectionBackgroundColor" | "positionsSectionBorderColor" | "positionsSectionDividerColor" | "modalOverlayBackground" | "modalBodyBackground" | "primaryButtonColor" | "primaryButtonBackground" | "primaryButtonOutline" | "primaryButtonHoverColor" | "primaryButtonHoverBackground" | "primaryButtonHoverOutline" | "primaryButtonActiveColor" | "primaryButtonActiveBackground" | "primaryButtonActiveOutline" | "secondaryButtonColor" | "secondaryButtonBackground" | "secondaryButtonOutline" | "secondaryButtonHoverColor" | "secondaryButtonHoverBackground" | "secondaryButtonHoverOutline" | "secondaryButtonActiveColor" | "secondaryButtonActiveBackground" | "secondaryButtonActiveOutline" | "disabledButtonColor" | "disabledButtonBackground" | "disabledButtonOutline" | "disabledButtonHoverColor" | "disabledButtonHoverBackground" | "disabledButtonHoverOutline" | "disabledButtonActiveColor" | "disabledButtonActiveBackground" | "disabledButtonActiveOutline" | {
125
+ light?: "transparent" | "text" | "white" | "black" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelect" | "stakeSectionBackground" | "positionsSectionBackgroundColor" | "positionsSectionBorderColor" | "positionsSectionDividerColor" | "modalOverlayBackground" | "modalBodyBackground" | "primaryButtonColor" | "primaryButtonBackground" | "primaryButtonOutline" | "primaryButtonHoverColor" | "primaryButtonHoverBackground" | "primaryButtonHoverOutline" | "primaryButtonActiveColor" | "primaryButtonActiveBackground" | "primaryButtonActiveOutline" | "secondaryButtonColor" | "secondaryButtonBackground" | "secondaryButtonOutline" | "secondaryButtonHoverColor" | "secondaryButtonHoverBackground" | "secondaryButtonHoverOutline" | "secondaryButtonActiveColor" | "secondaryButtonActiveBackground" | "secondaryButtonActiveOutline" | "disabledButtonColor" | "disabledButtonBackground" | "disabledButtonOutline" | "disabledButtonHoverColor" | "disabledButtonHoverBackground" | "disabledButtonHoverOutline" | "disabledButtonActiveColor" | "disabledButtonActiveBackground" | "disabledButtonActiveOutline" | undefined;
126
+ dark?: "transparent" | "text" | "white" | "black" | "primary" | "accent" | "disabled" | "textMuted" | "textDanger" | "background" | "backgroundMuted" | "tokenSelectBackground" | "tokenSelectHoverBackground" | "tokenSelect" | "stakeSectionBackground" | "positionsSectionBackgroundColor" | "positionsSectionBorderColor" | "positionsSectionDividerColor" | "modalOverlayBackground" | "modalBodyBackground" | "primaryButtonColor" | "primaryButtonBackground" | "primaryButtonOutline" | "primaryButtonHoverColor" | "primaryButtonHoverBackground" | "primaryButtonHoverOutline" | "primaryButtonActiveColor" | "primaryButtonActiveBackground" | "primaryButtonActiveOutline" | "secondaryButtonColor" | "secondaryButtonBackground" | "secondaryButtonOutline" | "secondaryButtonHoverColor" | "secondaryButtonHoverBackground" | "secondaryButtonHoverOutline" | "secondaryButtonActiveColor" | "secondaryButtonActiveBackground" | "secondaryButtonActiveOutline" | "disabledButtonColor" | "disabledButtonBackground" | "disabledButtonOutline" | "disabledButtonHoverColor" | "disabledButtonHoverBackground" | "disabledButtonHoverOutline" | "disabledButtonActiveColor" | "disabledButtonActiveBackground" | "disabledButtonActiveOutline" | undefined;
127
+ } | undefined;
128
+ } & {
129
+ as?: ElementType | undefined;
130
+ className?: Parameters<typeof classNames>[0];
131
+ } & {
132
+ children?: import("react").ReactNode;
133
+ } & import("react").RefAttributes<unknown>>;
@@ -0,0 +1,8 @@
1
+ import { PropsWithChildren } from "react";
2
+ import { ButtonVariants } from "./styles.css";
3
+ type Props = PropsWithChildren<{
4
+ variant?: ButtonVariants;
5
+ isLoading?: boolean;
6
+ }> & JSX.IntrinsicElements["button"];
7
+ export declare const Button: ({ children, variant, isLoading, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./button";
@@ -0,0 +1,48 @@
1
+ import { RecipeVariants } from "@vanilla-extract/recipes";
2
+ export declare const pressAnimation: string;
3
+ export declare const buttonStyle: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ color: {
5
+ primary: (string | {
6
+ ":hover": {
7
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
8
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
9
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
10
+ };
11
+ ":active": {
12
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
13
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
14
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
15
+ };
16
+ })[];
17
+ secondary: (string | {
18
+ ":hover": {
19
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
20
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
21
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
22
+ };
23
+ ":active": {
24
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
25
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
26
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
27
+ };
28
+ })[];
29
+ disabled: (string | {
30
+ ":hover": {
31
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
32
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
33
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
34
+ };
35
+ ":active": {
36
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
37
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
38
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
39
+ };
40
+ })[];
41
+ };
42
+ animation: {
43
+ none: {};
44
+ press: string[];
45
+ };
46
+ }>;
47
+ export declare const spinnerStyles: string;
48
+ export type ButtonVariants = RecipeVariants<typeof buttonStyle>;
@@ -0,0 +1,4 @@
1
+ import { BoxProps } from "../box";
2
+ type Props = BoxProps;
3
+ export declare const Divider: (props: Props) => import("react/jsx-runtime").JSX.Element;
4
+ export {};
@@ -0,0 +1,6 @@
1
+ import classNames from "classnames";
2
+ import { PropsWithChildren } from "react";
3
+ export type HighlightProps = PropsWithChildren<{
4
+ className?: Parameters<typeof classNames>[0];
5
+ }>;
6
+ export declare const Highlight: ({ children, className }: HighlightProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const ArrowsLeftRightIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const CaretDownIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const CaretLeftIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare const CheckCircleIcon: ({ height, width, }: {
2
+ width?: number | undefined;
3
+ height?: number | undefined;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const CheckDisabledIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ export declare const CheckSteps: (props: {
2
+ hw?: number;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare const CheckIcon: (props: {
2
+ color?: string;
3
+ hw?: number;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const CircleNotchIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const ClockClockWiseIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const GifIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const HelpIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ export * from "./arrows-left-right";
2
+ export * from "./caret-left";
3
+ export * from "./check";
4
+ export * from "./check-disabled";
5
+ export * from "./circle-notch";
6
+ export * from "./clock-clock-wise";
7
+ export * from "./gift";
8
+ export * from "./help";
9
+ export * from "./x-icon";
10
+ export * from "./caret-down";
11
+ export * from "./search";
@@ -0,0 +1 @@
1
+ export declare const SearchIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { vars } from "../../../styles";
2
+ export declare const XIcon: (props: {
3
+ color?: keyof (typeof vars)["color"];
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from "react";
2
+ import { BoxProps } from "../box";
3
+ export type ImageProps = Omit<BoxProps, "as"> & {
4
+ fallback?: string | ReactNode;
5
+ };
6
+ export declare const Image: ({ fallback, ...props }: ImageProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import BigNumber from "bignumber.js";
3
+ import { Maybe } from "purify-ts";
4
+ export type NumberInputProps = {
5
+ onChange: (value: Maybe<BigNumber>) => void;
6
+ value: Maybe<BigNumber>;
7
+ };
8
+ export declare const NumberInput: import("react").MemoExoticComponent<({ onChange, value }: NumberInputProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,3 @@
1
+ export declare const initialFontSizeVar: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2
+ export declare const numberInput: string;
3
+ export declare const spanStyle: string;
@@ -0,0 +1,6 @@
1
+ import { RefObject } from "react";
2
+ export declare const useAutoResizeText: ({ inputVal, inputRef, spanRef, }: {
3
+ inputVal: string;
4
+ inputRef: RefObject<HTMLInputElement>;
5
+ spanRef: RefObject<HTMLSpanElement>;
6
+ }) => void;
@@ -0,0 +1,17 @@
1
+ import { PropsWithChildren, ReactNode } from "react";
2
+ export type SelectModalProps = PropsWithChildren<{
3
+ title?: string;
4
+ inputPlaceholder?: string;
5
+ onSearch?: (value: string) => void;
6
+ trigger: ReactNode;
7
+ onClose?: () => void;
8
+ }>;
9
+ export declare const SelectModalContext: import("react").Context<{
10
+ closeModal: () => void;
11
+ } | undefined>;
12
+ export declare const SelectModal: ({ children, trigger, title, onSearch, inputPlaceholder, onClose, }: SelectModalProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const SelectModalItemContainer: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const SelectModalItem: ({ children, onItemClick, testId, }: PropsWithChildren<{
15
+ onItemClick: () => void;
16
+ testId?: string | undefined;
17
+ }>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const container: string;
2
+ export declare const overlay: string;
3
+ export declare const content: string;
4
+ export declare const stakeText: string;
5
+ export declare const itemContainer: string;
6
+ export declare const noOutline: string;
7
+ export declare const tokenLogo: string;
@@ -0,0 +1,5 @@
1
+ import { PropsWithChildren } from "react";
2
+ import { SpinnerVariants } from "./style.css";
3
+ export declare const Spinner: ({ variant, }: PropsWithChildren<{
4
+ variant?: SpinnerVariants;
5
+ }>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { RecipeVariants } from "@vanilla-extract/recipes";
2
+ export declare const spinnerStyles: import("@vanilla-extract/recipes").RuntimeFn<{
3
+ color: {
4
+ regular: string[];
5
+ inverted: string[];
6
+ };
7
+ }>;
8
+ export type SpinnerVariants = RecipeVariants<typeof spinnerStyles>;
@@ -0,0 +1,8 @@
1
+ import { TokenDto, YieldOpportunityDto } from "@stakekit/api-hooks";
2
+ import { Atoms } from "../../../styles";
3
+ export declare const TokenIcon: ({ token, metadata, tokenLogoHw, tokenNetworkLogoHw, }: {
4
+ token: TokenDto;
5
+ metadata: YieldOpportunityDto["metadata"];
6
+ tokenLogoHw?: Atoms["hw"];
7
+ tokenNetworkLogoHw?: Atoms["hw"];
8
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const smallLogo: string;