@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.
- package/dist/package/bundle/assets/fees.png +0 -0
- package/dist/package/bundle/assets/powered-by.png +0 -0
- package/dist/package/bundle/assets/what-is-deposit.png +0 -0
- package/dist/package/bundle/assets/what-is-lending.png +0 -0
- package/dist/package/bundle/assets/what-is-liquid-staking.png +0 -0
- package/dist/package/bundle/assets/what-is-staking.png +0 -0
- package/dist/package/bundle/index.bundle.css +2 -0
- package/dist/package/bundle/index.bundle.css.map +7 -0
- package/dist/package/bundle/index.bundle.js +1119 -0
- package/dist/package/bundle/index.bundle.js.map +7 -0
- package/dist/package/chunk-USBWYVY2.js +1953 -0
- package/dist/package/chunk-USBWYVY2.js.map +7 -0
- package/dist/package/index.package.css +3746 -0
- package/dist/package/index.package.css.map +7 -0
- package/dist/package/index.package.js +22541 -0
- package/dist/package/index.package.js.map +7 -0
- package/dist/package/polyfills.js +2 -0
- package/dist/package/polyfills.js.map +7 -0
- package/dist/package/types/src/App.d.ts +15 -0
- package/dist/package/types/src/components/atoms/box/index.d.ts +133 -0
- package/dist/package/types/src/components/atoms/button/button.d.ts +8 -0
- package/dist/package/types/src/components/atoms/button/index.d.ts +1 -0
- package/dist/package/types/src/components/atoms/button/styles.css.d.ts +48 -0
- package/dist/package/types/src/components/atoms/divider/index.d.ts +4 -0
- package/dist/package/types/src/components/atoms/highlight/index.d.ts +6 -0
- package/dist/package/types/src/components/atoms/icons/arrows-left-right.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/caret-down.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/caret-left.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/check-circle.d.ts +4 -0
- package/dist/package/types/src/components/atoms/icons/check-disabled.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/check-steps.d.ts +3 -0
- package/dist/package/types/src/components/atoms/icons/check.d.ts +4 -0
- package/dist/package/types/src/components/atoms/icons/circle-notch.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/clock-clock-wise.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/gift.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/help.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/index.d.ts +11 -0
- package/dist/package/types/src/components/atoms/icons/search.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/x-icon.d.ts +4 -0
- package/dist/package/types/src/components/atoms/image/index.d.ts +6 -0
- package/dist/package/types/src/components/atoms/number-input/index.d.ts +8 -0
- package/dist/package/types/src/components/atoms/number-input/styles.css.d.ts +3 -0
- package/dist/package/types/src/components/atoms/number-input/use-auto-resize-text.d.ts +6 -0
- package/dist/package/types/src/components/atoms/select-modal/index.d.ts +17 -0
- package/dist/package/types/src/components/atoms/select-modal/styles.css.d.ts +7 -0
- package/dist/package/types/src/components/atoms/spinner/index.d.ts +5 -0
- package/dist/package/types/src/components/atoms/spinner/style.css.d.ts +8 -0
- package/dist/package/types/src/components/atoms/token-icon/index.d.ts +8 -0
- package/dist/package/types/src/components/atoms/token-icon/style.css.d.ts +1 -0
- package/dist/package/types/src/components/atoms/typography/heading.d.ts +279 -0
- package/dist/package/types/src/components/atoms/typography/index.d.ts +2 -0
- package/dist/package/types/src/components/atoms/typography/styles.css.d.ts +76 -0
- package/dist/package/types/src/components/atoms/typography/text.d.ts +8 -0
- package/dist/package/types/src/components/index.d.ts +10 -0
- package/dist/package/types/src/components/molecules/header/header.d.ts +1 -0
- package/dist/package/types/src/components/molecules/header/index.d.ts +1 -0
- package/dist/package/types/src/components/molecules/header/styles.css.d.ts +3 -0
- package/dist/package/types/src/components/molecules/help-modal/index.d.ts +7 -0
- package/dist/package/types/src/components/molecules/help-modal/style.css.d.ts +2 -0
- package/dist/package/types/src/components/molecules/reward-token-details/index.d.ts +4 -0
- package/dist/package/types/src/components/molecules/reward-token-details/style.css.d.ts +1 -0
- package/dist/package/types/src/config/index.d.ts +16 -0
- package/dist/package/types/src/domain/index.d.ts +36 -0
- package/dist/package/types/src/domain/types/index.d.ts +4 -0
- package/dist/package/types/src/domain/types/price.d.ts +6 -0
- package/dist/package/types/src/domain/types/tokens.d.ts +2 -0
- package/dist/package/types/src/domain/types/wallet.d.ts +25 -0
- package/dist/package/types/src/domain/types/yields.d.ts +7 -0
- package/dist/package/types/src/hooks/api/use-account-balance.d.ts +5 -0
- package/dist/package/types/src/hooks/api/use-filtered-opportunities.d.ts +3 -0
- package/dist/package/types/src/hooks/api/use-network-gas.d.ts +4 -0
- package/dist/package/types/src/hooks/api/use-opportunities.d.ts +2 -0
- package/dist/package/types/src/hooks/api/use-prices.d.ts +4 -0
- package/dist/package/types/src/hooks/api/use-selected-stake-price.d.ts +6 -0
- package/dist/package/types/src/hooks/api/use-stake-enter-and-txs-construct.d.ts +8 -0
- package/dist/package/types/src/hooks/index.d.ts +6 -0
- package/dist/package/types/src/hooks/use-color-scheme.d.ts +1 -0
- package/dist/package/types/src/hooks/use-debounce.d.ts +1 -0
- package/dist/package/types/src/hooks/use-location-transition-animation/index.d.ts +5 -0
- package/dist/package/types/src/hooks/use-location-transition-animation/style.css.d.ts +2 -0
- package/dist/package/types/src/hooks/use-logout.d.ts +1 -0
- package/dist/package/types/src/hooks/use-previous.d.ts +1 -0
- package/dist/package/types/src/hooks/use-reset-app.d.ts +1 -0
- package/dist/package/types/src/hooks/use-root-element.d.ts +1 -0
- package/dist/package/types/src/hooks/use-saved-ref.d.ts +2 -0
- package/dist/package/types/src/hooks/use-shared-mutation.d.ts +2 -0
- package/dist/package/types/src/hooks/use-sk-wallet.d.ts +2 -0
- package/dist/package/types/src/hooks/use-toggle-theme.d.ts +1 -0
- package/dist/package/types/src/hooks/use-webview-connect-machine.d.ts +72 -0
- package/dist/package/types/src/index.bundle.d.ts +2 -0
- package/dist/package/types/src/index.package.d.ts +3 -0
- package/dist/package/types/src/main.d.ts +1 -0
- package/dist/package/types/src/pages/complete/index.d.ts +1 -0
- package/dist/package/types/src/pages/complete/use-complete.d.ts +13 -0
- package/dist/package/types/src/pages/components/index.d.ts +2 -0
- package/dist/package/types/src/pages/components/layout/index.d.ts +6 -0
- package/dist/package/types/src/pages/components/layout/style.css.d.ts +1 -0
- package/dist/package/types/src/pages/components/page-container.d.ts +2 -0
- package/dist/package/types/src/pages/details/components/footer.d.ts +5 -0
- package/dist/package/types/src/pages/details/components/select-opportunity.d.ts +12 -0
- package/dist/package/types/src/pages/details/components/select-validator.d.ts +7 -0
- package/dist/package/types/src/pages/details/components/styles.css.d.ts +4 -0
- package/dist/package/types/src/pages/details/index.d.ts +1 -0
- package/dist/package/types/src/pages/details/style.css.d.ts +6 -0
- package/dist/package/types/src/pages/details/types.d.ts +9 -0
- package/dist/package/types/src/pages/details/use-details.d.ts +46 -0
- package/dist/package/types/src/pages/index.d.ts +5 -0
- package/dist/package/types/src/pages/positions/index.d.ts +1 -0
- package/dist/package/types/src/pages/positions/styles.css.d.ts +4 -0
- package/dist/package/types/src/pages/positions/use-positions.d.ts +17 -0
- package/dist/package/types/src/pages/review/index.d.ts +1 -0
- package/dist/package/types/src/pages/review/style.css.d.ts +2 -0
- package/dist/package/types/src/pages/review/use-review.d.ts +16 -0
- package/dist/package/types/src/pages/steps/errors.d.ts +18 -0
- package/dist/package/types/src/pages/steps/index.d.ts +1 -0
- package/dist/package/types/src/pages/steps/styles.css.d.ts +5 -0
- package/dist/package/types/src/pages/steps/types.d.ts +14 -0
- package/dist/package/types/src/pages/steps/use-steps-machine.d.ts +344 -0
- package/dist/package/types/src/pages/steps/use-steps.d.ts +17 -0
- package/dist/package/types/src/polyfills.d.ts +1 -0
- package/dist/package/types/src/providers/cosmos/config.d.ts +303 -0
- package/dist/package/types/src/providers/cosmos/provider.d.ts +2 -0
- package/dist/package/types/src/providers/cosmos/wallet-connect/chain-wallet.d.ts +5 -0
- package/dist/package/types/src/providers/cosmos/wallet-connect/client.d.ts +3 -0
- package/dist/package/types/src/providers/cosmos/wallet-connect/index.d.ts +3 -0
- package/dist/package/types/src/providers/cosmos/wallet-connect/main-wallet.d.ts +5 -0
- package/dist/package/types/src/providers/cosmos/wallet-connect/registry.d.ts +2 -0
- package/dist/package/types/src/providers/ethereum/config.d.ts +6 -0
- package/dist/package/types/src/providers/ethereum/provider.d.ts +2 -0
- package/dist/package/types/src/providers/index.d.ts +2 -0
- package/dist/package/types/src/providers/rainbow-kit.d.ts +5 -0
- package/dist/package/types/src/providers/settings.d.ts +10 -0
- package/dist/package/types/src/providers/theme-wrapper.d.ts +8 -0
- package/dist/package/types/src/providers/wagmi/index.d.ts +7 -0
- package/dist/package/types/src/services/query-client.d.ts +2 -0
- package/dist/package/types/src/state/app-state.d.ts +7 -0
- package/dist/package/types/src/state/derived-app-state.d.ts +18 -0
- package/dist/package/types/src/state/index.d.ts +2 -0
- package/dist/package/types/src/state/types.d.ts +34 -0
- package/dist/package/types/src/style.css.d.ts +1 -0
- package/dist/package/types/src/styles/index.d.ts +1 -0
- package/dist/package/types/src/styles/theme/atoms.css.d.ts +124 -0
- package/dist/package/types/src/styles/theme/contract.css.d.ts +668 -0
- package/dist/package/types/src/styles/theme/global.css.d.ts +1 -0
- package/dist/package/types/src/styles/theme/index.d.ts +2 -0
- package/dist/package/types/src/styles/theme/properties.d.ts +472 -0
- package/dist/package/types/src/styles/tokens/breakpoints.d.ts +7 -0
- package/dist/package/types/src/styles/tokens/colors.d.ts +52 -0
- package/dist/package/types/src/styles/tokens/fonts.d.ts +6 -0
- package/dist/package/types/src/styles/tokens/radii.d.ts +17 -0
- package/dist/package/types/src/styles/tokens/space.d.ts +31 -0
- package/dist/package/types/src/styles/tokens/typography.d.ts +77 -0
- package/dist/package/types/src/styles/tokens/z-indices.d.ts +13 -0
- package/dist/package/types/src/translation/index.d.ts +103 -0
- package/dist/package/types/src/types/index.d.ts +1 -0
- package/dist/package/types/src/types/utils.d.ts +5 -0
- package/dist/package/types/src/types/window.d.ts +10 -0
- package/dist/package/types/src/utils/index.d.ts +5 -0
- package/dist/package/types/src/utils/mappers.d.ts +9 -0
- package/package.json +119 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
export declare const atoms: ((props: {
|
|
2
|
+
readonly position?: "sticky" | "relative" | "absolute" | undefined;
|
|
3
|
+
readonly opacity?: 0 | 1 | 0.1 | 0.5 | undefined;
|
|
4
|
+
readonly zIndex?: "auto" | "base" | "hide" | "docked" | "dropdown" | "sticky" | "banner" | "overlay" | "modal" | "skipLink" | undefined;
|
|
5
|
+
readonly fontWeight?: "tokenSelect" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | "modalHeading" | "primaryButton" | "secondaryButton" | undefined;
|
|
6
|
+
readonly border?: "none" | undefined;
|
|
7
|
+
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;
|
|
8
|
+
readonly borderRadius?: "3xl" | "2xl" | "xl" | "lg" | "md" | "sm" | "none" | "base" | "primaryButton" | "secondaryButton" | "full" | "half" | "widgetBorderRadius" | undefined;
|
|
9
|
+
readonly textAlign?: "left" | "right" | "center" | undefined;
|
|
10
|
+
readonly flex?: 1 | 2 | 3 | 4 | 5 | undefined;
|
|
11
|
+
readonly lineHeight?: "3xl" | "4xl" | "2xl" | "xl" | "lg" | "md" | "sm" | "xs" | "5xl" | "6xl" | "none" | "shorter" | "short" | "base" | "tall" | "taller" | undefined;
|
|
12
|
+
readonly letterSpacing?: "tighter" | "tight" | "normal" | "wide" | "wider" | "widest" | undefined;
|
|
13
|
+
readonly borderWidth?: 1 | 2 | 3 | 0.5 | undefined;
|
|
14
|
+
readonly borderStyle?: "solid" | undefined;
|
|
15
|
+
} & {
|
|
16
|
+
readonly display?: "none" | "flex" | "block" | "inline" | "inline-block" | "inline-flex" | {
|
|
17
|
+
mobile?: "none" | "flex" | "block" | "inline" | "inline-block" | "inline-flex" | undefined;
|
|
18
|
+
tablet?: "none" | "flex" | "block" | "inline" | "inline-block" | "inline-flex" | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
readonly fontSize?: "3xl" | "4xl" | "2xl" | "xl" | "lgx" | "lg" | "md" | "sm" | "xs" | "5xl" | "6xl" | {
|
|
21
|
+
mobile?: "3xl" | "4xl" | "2xl" | "xl" | "lgx" | "lg" | "md" | "sm" | "xs" | "5xl" | "6xl" | undefined;
|
|
22
|
+
tablet?: "3xl" | "4xl" | "2xl" | "xl" | "lgx" | "lg" | "md" | "sm" | "xs" | "5xl" | "6xl" | undefined;
|
|
23
|
+
} | undefined;
|
|
24
|
+
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" | {
|
|
25
|
+
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;
|
|
26
|
+
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;
|
|
27
|
+
} | undefined;
|
|
28
|
+
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" | {
|
|
29
|
+
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;
|
|
30
|
+
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;
|
|
31
|
+
} | undefined;
|
|
32
|
+
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" | {
|
|
33
|
+
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;
|
|
34
|
+
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;
|
|
35
|
+
} | undefined;
|
|
36
|
+
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" | {
|
|
37
|
+
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;
|
|
38
|
+
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;
|
|
39
|
+
} | undefined;
|
|
40
|
+
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" | {
|
|
41
|
+
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;
|
|
42
|
+
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;
|
|
43
|
+
} | undefined;
|
|
44
|
+
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" | {
|
|
45
|
+
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;
|
|
46
|
+
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;
|
|
47
|
+
} | undefined;
|
|
48
|
+
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" | {
|
|
49
|
+
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;
|
|
50
|
+
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;
|
|
51
|
+
} | undefined;
|
|
52
|
+
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" | {
|
|
53
|
+
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;
|
|
54
|
+
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;
|
|
55
|
+
} | undefined;
|
|
56
|
+
readonly alignItems?: "center" | "flex-end" | "flex-start" | {
|
|
57
|
+
mobile?: "center" | "flex-end" | "flex-start" | undefined;
|
|
58
|
+
tablet?: "center" | "flex-end" | "flex-start" | undefined;
|
|
59
|
+
} | undefined;
|
|
60
|
+
readonly justifyContent?: "center" | "space-between" | "flex-end" | "flex-start" | {
|
|
61
|
+
mobile?: "center" | "space-between" | "flex-end" | "flex-start" | undefined;
|
|
62
|
+
tablet?: "center" | "space-between" | "flex-end" | "flex-start" | undefined;
|
|
63
|
+
} | undefined;
|
|
64
|
+
readonly flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | {
|
|
65
|
+
mobile?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
66
|
+
tablet?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
67
|
+
} | undefined;
|
|
68
|
+
readonly flexWrap?: "wrap" | "nowrap" | {
|
|
69
|
+
mobile?: "wrap" | "nowrap" | undefined;
|
|
70
|
+
tablet?: "wrap" | "nowrap" | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
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" | {
|
|
73
|
+
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;
|
|
74
|
+
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;
|
|
75
|
+
} | undefined;
|
|
76
|
+
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" | {
|
|
77
|
+
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;
|
|
78
|
+
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;
|
|
79
|
+
} | undefined;
|
|
80
|
+
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" | {
|
|
81
|
+
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;
|
|
82
|
+
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;
|
|
83
|
+
} | undefined;
|
|
84
|
+
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" | {
|
|
85
|
+
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;
|
|
86
|
+
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;
|
|
87
|
+
} | undefined;
|
|
88
|
+
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" | {
|
|
89
|
+
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;
|
|
90
|
+
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;
|
|
91
|
+
} | undefined;
|
|
92
|
+
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" | {
|
|
93
|
+
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;
|
|
94
|
+
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;
|
|
95
|
+
} | undefined;
|
|
96
|
+
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" | {
|
|
97
|
+
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;
|
|
98
|
+
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;
|
|
99
|
+
} | undefined;
|
|
100
|
+
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" | {
|
|
101
|
+
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;
|
|
102
|
+
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;
|
|
103
|
+
} | undefined;
|
|
104
|
+
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" | {
|
|
105
|
+
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;
|
|
106
|
+
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;
|
|
107
|
+
} | undefined;
|
|
108
|
+
} & {
|
|
109
|
+
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" | {
|
|
110
|
+
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;
|
|
111
|
+
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;
|
|
112
|
+
} | undefined;
|
|
113
|
+
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" | {
|
|
114
|
+
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;
|
|
115
|
+
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;
|
|
116
|
+
} | undefined;
|
|
117
|
+
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" | {
|
|
118
|
+
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;
|
|
119
|
+
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;
|
|
120
|
+
} | undefined;
|
|
121
|
+
}) => string) & {
|
|
122
|
+
properties: Set<"color" | "fontSize" | "letterSpacing" | "lineHeight" | "fontWeight" | "borderRadius" | "background" | "px" | "alignItems" | "display" | "flexDirection" | "flexWrap" | "height" | "justifyContent" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "minHeight" | "minWidth" | "opacity" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "textAlign" | "width" | "zIndex" | "border" | "borderColor" | "borderStyle" | "borderWidth" | "flex" | "gap" | "py" | "mx" | "my" | "hw">;
|
|
123
|
+
};
|
|
124
|
+
export type Atoms = Parameters<typeof atoms>[0];
|