@agg-build/ui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +287 -0
- package/dist/chunk-2QJXRRYP.mjs +37 -0
- package/dist/chunk-6NS7D73S.mjs +8811 -0
- package/dist/chunk-75IGOQ4N.mjs +3415 -0
- package/dist/chunk-C7T56TJR.mjs +748 -0
- package/dist/chunk-CGNDMLQL.mjs +3813 -0
- package/dist/chunk-DMKKNK76.mjs +3742 -0
- package/dist/chunk-I2WBGEWK.mjs +4512 -0
- package/dist/chunk-KHHFHXXD.mjs +1 -0
- package/dist/events.d.mts +1 -0
- package/dist/events.d.ts +1 -0
- package/dist/events.js +11414 -0
- package/dist/events.mjs +41 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +25520 -0
- package/dist/index.mjs +978 -0
- package/dist/modals.d.mts +1 -0
- package/dist/modals.d.ts +1 -0
- package/dist/modals.js +7743 -0
- package/dist/modals.mjs +36 -0
- package/dist/pages.d.mts +1 -0
- package/dist/pages.d.ts +1 -0
- package/dist/pages.js +20230 -0
- package/dist/pages.mjs +33 -0
- package/dist/primitives.d.mts +1 -0
- package/dist/primitives.d.ts +1 -0
- package/dist/primitives.js +8599 -0
- package/dist/primitives.mjs +179 -0
- package/dist/styles.css +2 -0
- package/dist/tailwind.css +2 -0
- package/dist/trading.d.mts +1 -0
- package/dist/trading.d.ts +1 -0
- package/dist/trading.js +8658 -0
- package/dist/trading.mjs +49 -0
- package/dist/types/auth/connect-button-view/connect-button-view.constants.d.mts +30 -0
- package/dist/types/auth/connect-button-view/connect-button-view.constants.d.ts +30 -0
- package/dist/types/auth/connect-button-view/connect-button-view.types.d.mts +115 -0
- package/dist/types/auth/connect-button-view/connect-button-view.types.d.ts +115 -0
- package/dist/types/auth/connect-button-view/index.d.mts +7 -0
- package/dist/types/auth/connect-button-view/index.d.ts +7 -0
- package/dist/types/auth/index.d.mts +1 -0
- package/dist/types/auth/index.d.ts +1 -0
- package/dist/types/constants.d.mts +5 -0
- package/dist/types/constants.d.ts +5 -0
- package/dist/types/deposit/components/DepositQRCode.d.mts +12 -0
- package/dist/types/deposit/components/DepositQRCode.d.ts +12 -0
- package/dist/types/deposit/deposit-modal.constants.d.mts +10 -0
- package/dist/types/deposit/deposit-modal.constants.d.ts +10 -0
- package/dist/types/deposit/deposit-modal.types.d.mts +233 -0
- package/dist/types/deposit/deposit-modal.types.d.ts +233 -0
- package/dist/types/deposit/index.d.mts +22 -0
- package/dist/types/deposit/index.d.ts +22 -0
- package/dist/types/deposit/steps/card-deposit.d.mts +17 -0
- package/dist/types/deposit/steps/card-deposit.d.ts +17 -0
- package/dist/types/deposit/steps/card-payment-pending.d.mts +7 -0
- package/dist/types/deposit/steps/card-payment-pending.d.ts +7 -0
- package/dist/types/deposit/steps/card-provider.d.mts +14 -0
- package/dist/types/deposit/steps/card-provider.d.ts +14 -0
- package/dist/types/deposit/steps/card-purchase-success.d.mts +7 -0
- package/dist/types/deposit/steps/card-purchase-success.d.ts +7 -0
- package/dist/types/deposit/steps/card-widget.d.mts +6 -0
- package/dist/types/deposit/steps/card-widget.d.ts +6 -0
- package/dist/types/deposit/steps/crypto-transfer.d.mts +19 -0
- package/dist/types/deposit/steps/crypto-transfer.d.ts +19 -0
- package/dist/types/deposit/steps/deposit-method.d.mts +12 -0
- package/dist/types/deposit/steps/deposit-method.d.ts +12 -0
- package/dist/types/deposit/steps/venue-selection.d.mts +7 -0
- package/dist/types/deposit/steps/venue-selection.d.ts +7 -0
- package/dist/types/deposit/steps/wallet-form.d.mts +24 -0
- package/dist/types/deposit/steps/wallet-form.d.ts +24 -0
- package/dist/types/deposit/steps/wallet-processing.d.mts +7 -0
- package/dist/types/deposit/steps/wallet-processing.d.ts +7 -0
- package/dist/types/deposit/steps/wallet-success.d.mts +7 -0
- package/dist/types/deposit/steps/wallet-success.d.ts +7 -0
- package/dist/types/events/index.d.mts +5 -0
- package/dist/types/events/index.d.ts +5 -0
- package/dist/types/events/item/event-list-item.constants.d.mts +1 -0
- package/dist/types/events/item/event-list-item.constants.d.ts +1 -0
- package/dist/types/events/item/event-list-item.types.d.mts +71 -0
- package/dist/types/events/item/event-list-item.types.d.ts +71 -0
- package/dist/types/events/item/event-list-item.utils.d.mts +46 -0
- package/dist/types/events/item/event-list-item.utils.d.ts +46 -0
- package/dist/types/events/item/index.d.mts +6 -0
- package/dist/types/events/item/index.d.ts +6 -0
- package/dist/types/events/item-details/event-list-item-details-market-selector.d.mts +10 -0
- package/dist/types/events/item-details/event-list-item-details-market-selector.d.ts +10 -0
- package/dist/types/events/item-details/event-list-item-details.constants.d.mts +3 -0
- package/dist/types/events/item-details/event-list-item-details.constants.d.ts +3 -0
- package/dist/types/events/item-details/event-list-item-details.types.d.mts +116 -0
- package/dist/types/events/item-details/event-list-item-details.types.d.ts +116 -0
- package/dist/types/events/item-details/event-list-item-details.utils.d.mts +75 -0
- package/dist/types/events/item-details/event-list-item-details.utils.d.ts +75 -0
- package/dist/types/events/item-details/index.d.mts +8 -0
- package/dist/types/events/item-details/index.d.ts +8 -0
- package/dist/types/events/item-details/settlement-summary.d.mts +9 -0
- package/dist/types/events/item-details/settlement-summary.d.ts +9 -0
- package/dist/types/events/list/event-list-tabs.d.mts +44 -0
- package/dist/types/events/list/event-list-tabs.d.ts +44 -0
- package/dist/types/events/list/event-list.constants.d.mts +4 -0
- package/dist/types/events/list/event-list.constants.d.ts +4 -0
- package/dist/types/events/list/event-list.types.d.mts +48 -0
- package/dist/types/events/list/event-list.types.d.ts +48 -0
- package/dist/types/events/list/event-list.utils.d.mts +19 -0
- package/dist/types/events/list/event-list.utils.d.ts +19 -0
- package/dist/types/events/list/index.d.mts +6 -0
- package/dist/types/events/list/index.d.ts +6 -0
- package/dist/types/events/market-details/index.d.mts +12 -0
- package/dist/types/events/market-details/index.d.ts +12 -0
- package/dist/types/events/market-details/market-details-outcome-button.d.mts +13 -0
- package/dist/types/events/market-details/market-details-outcome-button.d.ts +13 -0
- package/dist/types/events/market-details/market-details.constants.d.mts +9 -0
- package/dist/types/events/market-details/market-details.constants.d.ts +9 -0
- package/dist/types/events/market-details/market-details.types.d.mts +143 -0
- package/dist/types/events/market-details/market-details.types.d.ts +143 -0
- package/dist/types/events/market-details/market-details.utils.d.mts +72 -0
- package/dist/types/events/market-details/market-details.utils.d.ts +72 -0
- package/dist/types/events/market-details/orderbook-aggregation.d.mts +30 -0
- package/dist/types/events/market-details/orderbook-aggregation.d.ts +30 -0
- package/dist/types/events/orderbook/index.d.mts +11 -0
- package/dist/types/events/orderbook/index.d.ts +11 -0
- package/dist/types/events/orderbook/orderbook-with-states.d.mts +35 -0
- package/dist/types/events/orderbook/orderbook-with-states.d.ts +35 -0
- package/dist/types/events/orderbook/orderbook.constants.d.mts +10 -0
- package/dist/types/events/orderbook/orderbook.constants.d.ts +10 -0
- package/dist/types/events/orderbook/orderbook.types.d.mts +65 -0
- package/dist/types/events/orderbook/orderbook.types.d.ts +65 -0
- package/dist/types/events/orderbook/orderbook.utils.d.mts +13 -0
- package/dist/types/events/orderbook/orderbook.utils.d.ts +13 -0
- package/dist/types/events/orderbook/use-center-orderbook-spread.d.mts +13 -0
- package/dist/types/events/orderbook/use-center-orderbook-spread.d.ts +13 -0
- package/dist/types/events/shared/chart-venue-selection.d.mts +20 -0
- package/dist/types/events/shared/chart-venue-selection.d.ts +20 -0
- package/dist/types/events/shared/event-trading-state.utils.d.mts +14 -0
- package/dist/types/events/shared/event-trading-state.utils.d.ts +14 -0
- package/dist/types/events/shared/venue-market-cluster.d.mts +11 -0
- package/dist/types/events/shared/venue-market-cluster.d.ts +11 -0
- package/dist/types/geo-block-banner/index.d.mts +12 -0
- package/dist/types/geo-block-banner/index.d.ts +12 -0
- package/dist/types/geo-block-modal/geo-block-modal.types.d.mts +13 -0
- package/dist/types/geo-block-modal/geo-block-modal.types.d.ts +13 -0
- package/dist/types/geo-block-modal/index.d.mts +6 -0
- package/dist/types/geo-block-modal/index.d.ts +6 -0
- package/dist/types/index.d.mts +10 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/modals/index.d.mts +6 -0
- package/dist/types/modals/index.d.ts +6 -0
- package/dist/types/onboarding/index.d.mts +11 -0
- package/dist/types/onboarding/index.d.ts +11 -0
- package/dist/types/onboarding/onboarding-modal.constants.d.mts +10 -0
- package/dist/types/onboarding/onboarding-modal.constants.d.ts +10 -0
- package/dist/types/onboarding/onboarding-modal.types.d.mts +76 -0
- package/dist/types/onboarding/onboarding-modal.types.d.ts +76 -0
- package/dist/types/onboarding/steps/connect-accounts.d.mts +5 -0
- package/dist/types/onboarding/steps/connect-accounts.d.ts +5 -0
- package/dist/types/onboarding/steps/connect-kalshi-modal.d.mts +5 -0
- package/dist/types/onboarding/steps/connect-kalshi-modal.d.ts +5 -0
- package/dist/types/onboarding/steps/connect-onchain-modal.d.mts +5 -0
- package/dist/types/onboarding/steps/connect-onchain-modal.d.ts +5 -0
- package/dist/types/onboarding/steps/how-it-works.d.mts +5 -0
- package/dist/types/onboarding/steps/how-it-works.d.ts +5 -0
- package/dist/types/onboarding/steps/profile-setup.d.mts +5 -0
- package/dist/types/onboarding/steps/profile-setup.d.ts +5 -0
- package/dist/types/pages/event-market/event-market.types.d.mts +84 -0
- package/dist/types/pages/event-market/event-market.types.d.ts +84 -0
- package/dist/types/pages/event-market/event-market.utils.d.mts +14 -0
- package/dist/types/pages/event-market/event-market.utils.d.ts +14 -0
- package/dist/types/pages/event-market/index.d.mts +8 -0
- package/dist/types/pages/event-market/index.d.ts +8 -0
- package/dist/types/pages/home/home.constants.d.mts +6 -0
- package/dist/types/pages/home/home.constants.d.ts +6 -0
- package/dist/types/pages/home/home.types.d.mts +85 -0
- package/dist/types/pages/home/home.types.d.ts +85 -0
- package/dist/types/pages/home/home.utils.d.mts +7 -0
- package/dist/types/pages/home/home.utils.d.ts +7 -0
- package/dist/types/pages/home/index.d.mts +9 -0
- package/dist/types/pages/home/index.d.ts +9 -0
- package/dist/types/pages/home/use-home-page-modals.d.mts +32 -0
- package/dist/types/pages/home/use-home-page-modals.d.ts +32 -0
- package/dist/types/pages/home/use-scroll-restoration.d.mts +17 -0
- package/dist/types/pages/home/use-scroll-restoration.d.ts +17 -0
- package/dist/types/pages/index.d.mts +4 -0
- package/dist/types/pages/index.d.ts +4 -0
- package/dist/types/pages/user-profile/chain-display.d.mts +1 -0
- package/dist/types/pages/user-profile/chain-display.d.ts +1 -0
- package/dist/types/pages/user-profile/components/activity-row.d.mts +11 -0
- package/dist/types/pages/user-profile/components/activity-row.d.ts +11 -0
- package/dist/types/pages/user-profile/components/available-balance-card.d.mts +18 -0
- package/dist/types/pages/user-profile/components/available-balance-card.d.ts +18 -0
- package/dist/types/pages/user-profile/components/balance-display.d.mts +10 -0
- package/dist/types/pages/user-profile/components/balance-display.d.ts +10 -0
- package/dist/types/pages/user-profile/components/balances-card.d.mts +12 -0
- package/dist/types/pages/user-profile/components/balances-card.d.ts +12 -0
- package/dist/types/pages/user-profile/components/default-avatar.d.mts +8 -0
- package/dist/types/pages/user-profile/components/default-avatar.d.ts +8 -0
- package/dist/types/pages/user-profile/components/empty-state.d.mts +10 -0
- package/dist/types/pages/user-profile/components/empty-state.d.ts +10 -0
- package/dist/types/pages/user-profile/components/open-order-row.d.mts +12 -0
- package/dist/types/pages/user-profile/components/open-order-row.d.ts +12 -0
- package/dist/types/pages/user-profile/components/position-row.d.mts +15 -0
- package/dist/types/pages/user-profile/components/position-row.d.ts +15 -0
- package/dist/types/pages/user-profile/components/positions-activity.d.mts +51 -0
- package/dist/types/pages/user-profile/components/positions-activity.d.ts +51 -0
- package/dist/types/pages/user-profile/components/positions-value-card.d.mts +10 -0
- package/dist/types/pages/user-profile/components/positions-value-card.d.ts +10 -0
- package/dist/types/pages/user-profile/components/user-info-card.d.mts +15 -0
- package/dist/types/pages/user-profile/components/user-info-card.d.ts +15 -0
- package/dist/types/pages/user-profile/index.d.mts +10 -0
- package/dist/types/pages/user-profile/index.d.ts +10 -0
- package/dist/types/pages/user-profile/user-profile.constants.d.mts +9 -0
- package/dist/types/pages/user-profile/user-profile.constants.d.ts +9 -0
- package/dist/types/pages/user-profile/user-profile.types.d.mts +281 -0
- package/dist/types/pages/user-profile/user-profile.types.d.ts +281 -0
- package/dist/types/primitives/agg-logo/agg-logo.constants.d.mts +3 -0
- package/dist/types/primitives/agg-logo/agg-logo.constants.d.ts +3 -0
- package/dist/types/primitives/agg-logo/agg-logo.types.d.mts +2 -0
- package/dist/types/primitives/agg-logo/agg-logo.types.d.ts +2 -0
- package/dist/types/primitives/agg-logo/agg-logo.utils.d.mts +2 -0
- package/dist/types/primitives/agg-logo/agg-logo.utils.d.ts +2 -0
- package/dist/types/primitives/agg-logo/index.d.mts +7 -0
- package/dist/types/primitives/agg-logo/index.d.ts +7 -0
- package/dist/types/primitives/autocomplete-select/autocomplete-select.constants.d.mts +1 -0
- package/dist/types/primitives/autocomplete-select/autocomplete-select.constants.d.ts +1 -0
- package/dist/types/primitives/autocomplete-select/autocomplete-select.types.d.mts +26 -0
- package/dist/types/primitives/autocomplete-select/autocomplete-select.types.d.ts +26 -0
- package/dist/types/primitives/autocomplete-select/autocomplete-select.utils.d.mts +7 -0
- package/dist/types/primitives/autocomplete-select/autocomplete-select.utils.d.ts +7 -0
- package/dist/types/primitives/autocomplete-select/index.d.mts +7 -0
- package/dist/types/primitives/autocomplete-select/index.d.ts +7 -0
- package/dist/types/primitives/badge/badge.constants.d.mts +4 -0
- package/dist/types/primitives/badge/badge.constants.d.ts +4 -0
- package/dist/types/primitives/badge/badge.types.d.mts +27 -0
- package/dist/types/primitives/badge/badge.types.d.ts +27 -0
- package/dist/types/primitives/badge/badge.utils.d.mts +11 -0
- package/dist/types/primitives/badge/badge.utils.d.ts +11 -0
- package/dist/types/primitives/badge/index.d.mts +8 -0
- package/dist/types/primitives/badge/index.d.ts +8 -0
- package/dist/types/primitives/button/button.constants.d.mts +6 -0
- package/dist/types/primitives/button/button.constants.d.ts +6 -0
- package/dist/types/primitives/button/button.types.d.mts +18 -0
- package/dist/types/primitives/button/button.types.d.ts +18 -0
- package/dist/types/primitives/button/button.utils.d.mts +12 -0
- package/dist/types/primitives/button/button.utils.d.ts +12 -0
- package/dist/types/primitives/button/index.d.mts +7 -0
- package/dist/types/primitives/button/index.d.ts +7 -0
- package/dist/types/primitives/card/card.constants.d.mts +4 -0
- package/dist/types/primitives/card/card.constants.d.ts +4 -0
- package/dist/types/primitives/card/card.types.d.mts +8 -0
- package/dist/types/primitives/card/card.types.d.ts +8 -0
- package/dist/types/primitives/card/card.utils.d.mts +8 -0
- package/dist/types/primitives/card/card.utils.d.ts +8 -0
- package/dist/types/primitives/card/index.d.mts +6 -0
- package/dist/types/primitives/card/index.d.ts +6 -0
- package/dist/types/primitives/chart/chart-type-switch.constants.d.mts +2 -0
- package/dist/types/primitives/chart/chart-type-switch.constants.d.ts +2 -0
- package/dist/types/primitives/chart/chart-type-switch.d.mts +7 -0
- package/dist/types/primitives/chart/chart-type-switch.d.ts +7 -0
- package/dist/types/primitives/chart/chart-type-switch.types.d.mts +9 -0
- package/dist/types/primitives/chart/chart-type-switch.types.d.ts +9 -0
- package/dist/types/primitives/chart/chart-type-switch.utils.d.mts +13 -0
- package/dist/types/primitives/chart/chart-type-switch.utils.d.ts +13 -0
- package/dist/types/primitives/chart/chart.constants.d.mts +5 -0
- package/dist/types/primitives/chart/chart.constants.d.ts +5 -0
- package/dist/types/primitives/chart/chart.types.d.mts +59 -0
- package/dist/types/primitives/chart/chart.types.d.ts +59 -0
- package/dist/types/primitives/chart/chart.utils.d.mts +35 -0
- package/dist/types/primitives/chart/chart.utils.d.ts +35 -0
- package/dist/types/primitives/chart/index.d.mts +7 -0
- package/dist/types/primitives/chart/index.d.ts +7 -0
- package/dist/types/primitives/conditional-wrapper.d.mts +11 -0
- package/dist/types/primitives/conditional-wrapper.d.ts +11 -0
- package/dist/types/primitives/currency-input/currency-input.constants.d.mts +6 -0
- package/dist/types/primitives/currency-input/currency-input.constants.d.ts +6 -0
- package/dist/types/primitives/currency-input/currency-input.types.d.mts +36 -0
- package/dist/types/primitives/currency-input/currency-input.types.d.ts +36 -0
- package/dist/types/primitives/currency-input/currency-input.utils.d.mts +10 -0
- package/dist/types/primitives/currency-input/currency-input.utils.d.ts +10 -0
- package/dist/types/primitives/currency-input/index.d.mts +7 -0
- package/dist/types/primitives/currency-input/index.d.ts +7 -0
- package/dist/types/primitives/error-boundary/index.d.mts +24 -0
- package/dist/types/primitives/error-boundary/index.d.ts +24 -0
- package/dist/types/primitives/footer/agg-build-logo.d.mts +16 -0
- package/dist/types/primitives/footer/agg-build-logo.d.ts +16 -0
- package/dist/types/primitives/footer/footer.constants.d.mts +3 -0
- package/dist/types/primitives/footer/footer.constants.d.ts +3 -0
- package/dist/types/primitives/footer/footer.types.d.mts +25 -0
- package/dist/types/primitives/footer/footer.types.d.ts +25 -0
- package/dist/types/primitives/footer/index.d.mts +8 -0
- package/dist/types/primitives/footer/index.d.ts +8 -0
- package/dist/types/primitives/header/agg-logo.d.mts +2 -0
- package/dist/types/primitives/header/agg-logo.d.ts +2 -0
- package/dist/types/primitives/header/header.constants.d.mts +2 -0
- package/dist/types/primitives/header/header.constants.d.ts +2 -0
- package/dist/types/primitives/header/header.types.d.mts +42 -0
- package/dist/types/primitives/header/header.types.d.ts +42 -0
- package/dist/types/primitives/header/header.utils.d.mts +12 -0
- package/dist/types/primitives/header/header.utils.d.ts +12 -0
- package/dist/types/primitives/header/index.d.mts +8 -0
- package/dist/types/primitives/header/index.d.ts +8 -0
- package/dist/types/primitives/icon/icon.constants.d.mts +2 -0
- package/dist/types/primitives/icon/icon.constants.d.ts +2 -0
- package/dist/types/primitives/icon/icon.types.d.mts +12 -0
- package/dist/types/primitives/icon/icon.types.d.ts +12 -0
- package/dist/types/primitives/icon/icon.utils.d.mts +3 -0
- package/dist/types/primitives/icon/icon.utils.d.ts +3 -0
- package/dist/types/primitives/icon/index.d.mts +68 -0
- package/dist/types/primitives/icon/index.d.ts +68 -0
- package/dist/types/primitives/icon/registry.d.mts +286 -0
- package/dist/types/primitives/icon/registry.d.ts +286 -0
- package/dist/types/primitives/icon/svg/activity-chart.d.mts +5 -0
- package/dist/types/primitives/icon/svg/activity-chart.d.ts +5 -0
- package/dist/types/primitives/icon/svg/activity.d.mts +5 -0
- package/dist/types/primitives/icon/svg/activity.d.ts +5 -0
- package/dist/types/primitives/icon/svg/apple.d.mts +5 -0
- package/dist/types/primitives/icon/svg/apple.d.ts +5 -0
- package/dist/types/primitives/icon/svg/arbitrum.d.mts +5 -0
- package/dist/types/primitives/icon/svg/arbitrum.d.ts +5 -0
- package/dist/types/primitives/icon/svg/arrow-right.d.mts +5 -0
- package/dist/types/primitives/icon/svg/arrow-right.d.ts +5 -0
- package/dist/types/primitives/icon/svg/arrow-trend-up.d.mts +5 -0
- package/dist/types/primitives/icon/svg/arrow-trend-up.d.ts +5 -0
- package/dist/types/primitives/icon/svg/arrows-to-dot.d.mts +5 -0
- package/dist/types/primitives/icon/svg/arrows-to-dot.d.ts +5 -0
- package/dist/types/primitives/icon/svg/badge-check-thin.d.mts +5 -0
- package/dist/types/primitives/icon/svg/badge-check-thin.d.ts +5 -0
- package/dist/types/primitives/icon/svg/bank.d.mts +5 -0
- package/dist/types/primitives/icon/svg/bank.d.ts +5 -0
- package/dist/types/primitives/icon/svg/base.d.mts +5 -0
- package/dist/types/primitives/icon/svg/base.d.ts +5 -0
- package/dist/types/primitives/icon/svg/best-prices.d.mts +5 -0
- package/dist/types/primitives/icon/svg/best-prices.d.ts +5 -0
- package/dist/types/primitives/icon/svg/bnb.d.mts +5 -0
- package/dist/types/primitives/icon/svg/bnb.d.ts +5 -0
- package/dist/types/primitives/icon/svg/bolt.d.mts +5 -0
- package/dist/types/primitives/icon/svg/bolt.d.ts +5 -0
- package/dist/types/primitives/icon/svg/chart-candlestick.d.mts +5 -0
- package/dist/types/primitives/icon/svg/chart-candlestick.d.ts +5 -0
- package/dist/types/primitives/icon/svg/chart-line.d.mts +5 -0
- package/dist/types/primitives/icon/svg/chart-line.d.ts +5 -0
- package/dist/types/primitives/icon/svg/check-badge.d.mts +5 -0
- package/dist/types/primitives/icon/svg/check-badge.d.ts +5 -0
- package/dist/types/primitives/icon/svg/check-circle.d.mts +5 -0
- package/dist/types/primitives/icon/svg/check-circle.d.ts +5 -0
- package/dist/types/primitives/icon/svg/chevron-down-thin.d.mts +6 -0
- package/dist/types/primitives/icon/svg/chevron-down-thin.d.ts +6 -0
- package/dist/types/primitives/icon/svg/chevron-down.d.mts +5 -0
- package/dist/types/primitives/icon/svg/chevron-down.d.ts +5 -0
- package/dist/types/primitives/icon/svg/chevron-left.d.mts +5 -0
- package/dist/types/primitives/icon/svg/chevron-left.d.ts +5 -0
- package/dist/types/primitives/icon/svg/chevron-right.d.mts +5 -0
- package/dist/types/primitives/icon/svg/chevron-right.d.ts +5 -0
- package/dist/types/primitives/icon/svg/chevron-up.d.mts +5 -0
- package/dist/types/primitives/icon/svg/chevron-up.d.ts +5 -0
- package/dist/types/primitives/icon/svg/close.d.mts +5 -0
- package/dist/types/primitives/icon/svg/close.d.ts +5 -0
- package/dist/types/primitives/icon/svg/copy.d.mts +5 -0
- package/dist/types/primitives/icon/svg/copy.d.ts +5 -0
- package/dist/types/primitives/icon/svg/create-account.d.mts +5 -0
- package/dist/types/primitives/icon/svg/create-account.d.ts +5 -0
- package/dist/types/primitives/icon/svg/credit-card.d.mts +5 -0
- package/dist/types/primitives/icon/svg/credit-card.d.ts +5 -0
- package/dist/types/primitives/icon/svg/cross-circle.d.mts +5 -0
- package/dist/types/primitives/icon/svg/cross-circle.d.ts +5 -0
- package/dist/types/primitives/icon/svg/disconnect.d.mts +5 -0
- package/dist/types/primitives/icon/svg/disconnect.d.ts +5 -0
- package/dist/types/primitives/icon/svg/discord.d.mts +5 -0
- package/dist/types/primitives/icon/svg/discord.d.ts +5 -0
- package/dist/types/primitives/icon/svg/document.d.mts +5 -0
- package/dist/types/primitives/icon/svg/document.d.ts +5 -0
- package/dist/types/primitives/icon/svg/dots-horizontal.d.mts +5 -0
- package/dist/types/primitives/icon/svg/dots-horizontal.d.ts +5 -0
- package/dist/types/primitives/icon/svg/download.d.mts +5 -0
- package/dist/types/primitives/icon/svg/download.d.ts +5 -0
- package/dist/types/primitives/icon/svg/email.d.mts +5 -0
- package/dist/types/primitives/icon/svg/email.d.ts +5 -0
- package/dist/types/primitives/icon/svg/error-filled.d.mts +5 -0
- package/dist/types/primitives/icon/svg/error-filled.d.ts +5 -0
- package/dist/types/primitives/icon/svg/ethereum.d.mts +5 -0
- package/dist/types/primitives/icon/svg/ethereum.d.ts +5 -0
- package/dist/types/primitives/icon/svg/external-link.d.mts +5 -0
- package/dist/types/primitives/icon/svg/external-link.d.ts +5 -0
- package/dist/types/primitives/icon/svg/google.d.mts +5 -0
- package/dist/types/primitives/icon/svg/google.d.ts +5 -0
- package/dist/types/primitives/icon/svg/image.d.mts +5 -0
- package/dist/types/primitives/icon/svg/image.d.ts +5 -0
- package/dist/types/primitives/icon/svg/info.d.mts +5 -0
- package/dist/types/primitives/icon/svg/info.d.ts +5 -0
- package/dist/types/primitives/icon/svg/internet-security.d.mts +5 -0
- package/dist/types/primitives/icon/svg/internet-security.d.ts +5 -0
- package/dist/types/primitives/icon/svg/link-accounts.d.mts +5 -0
- package/dist/types/primitives/icon/svg/link-accounts.d.ts +5 -0
- package/dist/types/primitives/icon/svg/paper-plane.d.mts +5 -0
- package/dist/types/primitives/icon/svg/paper-plane.d.ts +5 -0
- package/dist/types/primitives/icon/svg/pencil.d.mts +5 -0
- package/dist/types/primitives/icon/svg/pencil.d.ts +5 -0
- package/dist/types/primitives/icon/svg/play-square.d.mts +5 -0
- package/dist/types/primitives/icon/svg/play-square.d.ts +5 -0
- package/dist/types/primitives/icon/svg/polygon.d.mts +5 -0
- package/dist/types/primitives/icon/svg/polygon.d.ts +5 -0
- package/dist/types/primitives/icon/svg/profile-about-tab.d.mts +6 -0
- package/dist/types/primitives/icon/svg/profile-about-tab.d.ts +6 -0
- package/dist/types/primitives/icon/svg/profile-accounts-wallets-tab.d.mts +6 -0
- package/dist/types/primitives/icon/svg/profile-accounts-wallets-tab.d.ts +6 -0
- package/dist/types/primitives/icon/svg/profile.d.mts +5 -0
- package/dist/types/primitives/icon/svg/profile.d.ts +5 -0
- package/dist/types/primitives/icon/svg/quotes-warning.d.mts +6 -0
- package/dist/types/primitives/icon/svg/quotes-warning.d.ts +6 -0
- package/dist/types/primitives/icon/svg/recenter.d.mts +5 -0
- package/dist/types/primitives/icon/svg/recenter.d.ts +5 -0
- package/dist/types/primitives/icon/svg/revenue-alt.d.mts +5 -0
- package/dist/types/primitives/icon/svg/revenue-alt.d.ts +5 -0
- package/dist/types/primitives/icon/svg/search.d.mts +5 -0
- package/dist/types/primitives/icon/svg/search.d.ts +5 -0
- package/dist/types/primitives/icon/svg/shield-trust.d.mts +5 -0
- package/dist/types/primitives/icon/svg/shield-trust.d.ts +5 -0
- package/dist/types/primitives/icon/svg/solana.d.mts +5 -0
- package/dist/types/primitives/icon/svg/solana.d.ts +5 -0
- package/dist/types/primitives/icon/svg/sparkles-filled.d.mts +5 -0
- package/dist/types/primitives/icon/svg/sparkles-filled.d.ts +5 -0
- package/dist/types/primitives/icon/svg/stay-in-control.d.mts +5 -0
- package/dist/types/primitives/icon/svg/stay-in-control.d.ts +5 -0
- package/dist/types/primitives/icon/svg/success-check.d.mts +5 -0
- package/dist/types/primitives/icon/svg/success-check.d.ts +5 -0
- package/dist/types/primitives/icon/svg/telegram.d.mts +5 -0
- package/dist/types/primitives/icon/svg/telegram.d.ts +5 -0
- package/dist/types/primitives/icon/svg/triangle-down.d.mts +5 -0
- package/dist/types/primitives/icon/svg/triangle-down.d.ts +5 -0
- package/dist/types/primitives/icon/svg/triangle-up-filled.d.mts +5 -0
- package/dist/types/primitives/icon/svg/triangle-up-filled.d.ts +5 -0
- package/dist/types/primitives/icon/svg/triangle-up.d.mts +5 -0
- package/dist/types/primitives/icon/svg/triangle-up.d.ts +5 -0
- package/dist/types/primitives/icon/svg/twitter.d.mts +5 -0
- package/dist/types/primitives/icon/svg/twitter.d.ts +5 -0
- package/dist/types/primitives/icon/svg/upload.d.mts +5 -0
- package/dist/types/primitives/icon/svg/upload.d.ts +5 -0
- package/dist/types/primitives/icon/svg/usdc.d.mts +5 -0
- package/dist/types/primitives/icon/svg/usdc.d.ts +5 -0
- package/dist/types/primitives/icon/svg/user-trust.d.mts +5 -0
- package/dist/types/primitives/icon/svg/user-trust.d.ts +5 -0
- package/dist/types/primitives/icon/svg/wallet-avatar.d.mts +5 -0
- package/dist/types/primitives/icon/svg/wallet-avatar.d.ts +5 -0
- package/dist/types/primitives/icon/svg/wallet-filled.d.mts +5 -0
- package/dist/types/primitives/icon/svg/wallet-filled.d.ts +5 -0
- package/dist/types/primitives/icon/svg/wallet.d.mts +5 -0
- package/dist/types/primitives/icon/svg/wallet.d.ts +5 -0
- package/dist/types/primitives/icon/svg/warning-filled.d.mts +5 -0
- package/dist/types/primitives/icon/svg/warning-filled.d.ts +5 -0
- package/dist/types/primitives/icon/svg/warning.d.mts +5 -0
- package/dist/types/primitives/icon/svg/warning.d.ts +5 -0
- package/dist/types/primitives/icon/types.d.mts +6 -0
- package/dist/types/primitives/icon/types.d.ts +6 -0
- package/dist/types/primitives/index.d.mts +25 -0
- package/dist/types/primitives/index.d.ts +25 -0
- package/dist/types/primitives/inline-alert/index.d.mts +7 -0
- package/dist/types/primitives/inline-alert/index.d.ts +7 -0
- package/dist/types/primitives/inline-alert/inline-alert.constants.d.mts +7 -0
- package/dist/types/primitives/inline-alert/inline-alert.constants.d.ts +7 -0
- package/dist/types/primitives/inline-alert/inline-alert.types.d.mts +24 -0
- package/dist/types/primitives/inline-alert/inline-alert.types.d.ts +24 -0
- package/dist/types/primitives/inline-alert/inline-alert.utils.d.mts +10 -0
- package/dist/types/primitives/inline-alert/inline-alert.utils.d.ts +10 -0
- package/dist/types/primitives/loading-icon/index.d.mts +7 -0
- package/dist/types/primitives/loading-icon/index.d.ts +7 -0
- package/dist/types/primitives/loading-icon/loading-icon.constants.d.mts +11 -0
- package/dist/types/primitives/loading-icon/loading-icon.constants.d.ts +11 -0
- package/dist/types/primitives/loading-icon/loading-icon.types.d.mts +15 -0
- package/dist/types/primitives/loading-icon/loading-icon.types.d.ts +15 -0
- package/dist/types/primitives/loading-icon/loading-icon.utils.d.mts +5 -0
- package/dist/types/primitives/loading-icon/loading-icon.utils.d.ts +5 -0
- package/dist/types/primitives/modal/index.d.mts +11 -0
- package/dist/types/primitives/modal/index.d.ts +11 -0
- package/dist/types/primitives/modal/modal.constants.d.mts +2 -0
- package/dist/types/primitives/modal/modal.constants.d.ts +2 -0
- package/dist/types/primitives/modal/modal.types.d.mts +78 -0
- package/dist/types/primitives/modal/modal.types.d.ts +78 -0
- package/dist/types/primitives/modal/modal.utils.d.mts +8 -0
- package/dist/types/primitives/modal/modal.utils.d.ts +8 -0
- package/dist/types/primitives/number-value.d.mts +12 -0
- package/dist/types/primitives/number-value.d.ts +12 -0
- package/dist/types/primitives/remote-image/index.d.mts +7 -0
- package/dist/types/primitives/remote-image/index.d.ts +7 -0
- package/dist/types/primitives/remote-image/remote-image.constants.d.mts +4 -0
- package/dist/types/primitives/remote-image/remote-image.constants.d.ts +4 -0
- package/dist/types/primitives/remote-image/remote-image.types.d.mts +28 -0
- package/dist/types/primitives/remote-image/remote-image.types.d.ts +28 -0
- package/dist/types/primitives/remote-image/remote-image.utils.d.mts +4 -0
- package/dist/types/primitives/remote-image/remote-image.utils.d.ts +4 -0
- package/dist/types/primitives/search/index.d.mts +7 -0
- package/dist/types/primitives/search/index.d.ts +7 -0
- package/dist/types/primitives/search/search-empty-icon.d.mts +5 -0
- package/dist/types/primitives/search/search-empty-icon.d.ts +5 -0
- package/dist/types/primitives/search/search.constants.d.mts +3 -0
- package/dist/types/primitives/search/search.constants.d.ts +3 -0
- package/dist/types/primitives/search/search.types.d.mts +57 -0
- package/dist/types/primitives/search/search.types.d.ts +57 -0
- package/dist/types/primitives/search/search.utils.d.mts +4 -0
- package/dist/types/primitives/search/search.utils.d.ts +4 -0
- package/dist/types/primitives/select/index.d.mts +7 -0
- package/dist/types/primitives/select/index.d.ts +7 -0
- package/dist/types/primitives/select/select.constants.d.mts +1 -0
- package/dist/types/primitives/select/select.constants.d.ts +1 -0
- package/dist/types/primitives/select/select.types.d.mts +25 -0
- package/dist/types/primitives/select/select.types.d.ts +25 -0
- package/dist/types/primitives/select/select.utils.d.mts +9 -0
- package/dist/types/primitives/select/select.utils.d.ts +9 -0
- package/dist/types/primitives/skeleton/index.d.mts +8 -0
- package/dist/types/primitives/skeleton/index.d.ts +8 -0
- package/dist/types/primitives/skeleton/skeleton-block.d.mts +8 -0
- package/dist/types/primitives/skeleton/skeleton-block.d.ts +8 -0
- package/dist/types/primitives/skeleton/skeleton.constants.d.mts +1 -0
- package/dist/types/primitives/skeleton/skeleton.constants.d.ts +1 -0
- package/dist/types/primitives/skeleton/skeleton.types.d.mts +27 -0
- package/dist/types/primitives/skeleton/skeleton.types.d.ts +27 -0
- package/dist/types/primitives/skeleton/skeleton.utils.d.mts +3 -0
- package/dist/types/primitives/skeleton/skeleton.utils.d.ts +3 -0
- package/dist/types/primitives/skeleton/views/event-list-item-details-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/event-list-item-details-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/skeleton/views/event-list-item-skeleton-view.d.mts +9 -0
- package/dist/types/primitives/skeleton/views/event-list-item-skeleton-view.d.ts +9 -0
- package/dist/types/primitives/skeleton/views/event-list-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/event-list-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/skeleton/views/market-details-skeleton-view.d.mts +12 -0
- package/dist/types/primitives/skeleton/views/market-details-skeleton-view.d.ts +12 -0
- package/dist/types/primitives/skeleton/views/place-order-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/place-order-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/skeleton/views/search-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/search-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/skeleton/views/settlement-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/settlement-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/skeleton/views/user-profile-overview-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/user-profile-overview-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/state-message/index.d.mts +7 -0
- package/dist/types/primitives/state-message/index.d.ts +7 -0
- package/dist/types/primitives/state-message/state-message.constants.d.mts +1 -0
- package/dist/types/primitives/state-message/state-message.constants.d.ts +1 -0
- package/dist/types/primitives/state-message/state-message.types.d.mts +24 -0
- package/dist/types/primitives/state-message/state-message.types.d.ts +24 -0
- package/dist/types/primitives/state-message/state-message.utils.d.mts +4 -0
- package/dist/types/primitives/state-message/state-message.utils.d.ts +4 -0
- package/dist/types/primitives/switch-button/index.d.mts +7 -0
- package/dist/types/primitives/switch-button/index.d.ts +7 -0
- package/dist/types/primitives/switch-button/switch-button.constants.d.mts +5 -0
- package/dist/types/primitives/switch-button/switch-button.constants.d.ts +5 -0
- package/dist/types/primitives/switch-button/switch-button.types.d.mts +19 -0
- package/dist/types/primitives/switch-button/switch-button.types.d.ts +19 -0
- package/dist/types/primitives/switch-button/switch-button.utils.d.mts +7 -0
- package/dist/types/primitives/switch-button/switch-button.utils.d.ts +7 -0
- package/dist/types/primitives/tabs/index.d.mts +7 -0
- package/dist/types/primitives/tabs/index.d.ts +7 -0
- package/dist/types/primitives/tabs/tabs.constants.d.mts +1 -0
- package/dist/types/primitives/tabs/tabs.constants.d.ts +1 -0
- package/dist/types/primitives/tabs/tabs.types.d.mts +36 -0
- package/dist/types/primitives/tabs/tabs.types.d.ts +36 -0
- package/dist/types/primitives/tabs/tabs.utils.d.mts +15 -0
- package/dist/types/primitives/tabs/tabs.utils.d.ts +15 -0
- package/dist/types/primitives/tooltip/index.d.mts +7 -0
- package/dist/types/primitives/tooltip/index.d.ts +7 -0
- package/dist/types/primitives/tooltip/tooltip.constants.d.mts +3 -0
- package/dist/types/primitives/tooltip/tooltip.constants.d.ts +3 -0
- package/dist/types/primitives/tooltip/tooltip.types.d.mts +27 -0
- package/dist/types/primitives/tooltip/tooltip.types.d.ts +27 -0
- package/dist/types/primitives/tooltip/tooltip.utils.d.mts +7 -0
- package/dist/types/primitives/tooltip/tooltip.utils.d.ts +7 -0
- package/dist/types/primitives/typography/index.d.mts +8 -0
- package/dist/types/primitives/typography/index.d.ts +8 -0
- package/dist/types/primitives/typography/typography.constants.d.mts +3 -0
- package/dist/types/primitives/typography/typography.constants.d.ts +3 -0
- package/dist/types/primitives/typography/typography.types.d.mts +12 -0
- package/dist/types/primitives/typography/typography.types.d.ts +12 -0
- package/dist/types/primitives/typography/typography.utils.d.mts +6 -0
- package/dist/types/primitives/typography/typography.utils.d.ts +6 -0
- package/dist/types/primitives/venue-logo/index.d.mts +9 -0
- package/dist/types/primitives/venue-logo/index.d.ts +9 -0
- package/dist/types/primitives/venue-logo/logo-props.d.mts +10 -0
- package/dist/types/primitives/venue-logo/logo-props.d.ts +10 -0
- package/dist/types/primitives/venue-logo/svg/default-venue.d.mts +2 -0
- package/dist/types/primitives/venue-logo/svg/default-venue.d.ts +2 -0
- package/dist/types/primitives/venue-logo/svg/logo-hyperliquid.d.mts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-hyperliquid.d.ts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-kalshi.d.mts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-kalshi.d.ts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-limitless.d.mts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-limitless.d.ts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-myriad.d.mts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-myriad.d.ts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-opinion.d.mts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-opinion.d.ts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-polymarket.d.mts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-polymarket.d.ts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-predict.d.mts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-predict.d.ts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-probable.d.mts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-probable.d.ts +5 -0
- package/dist/types/primitives/venue-logo/venue-logo.constants.d.mts +17 -0
- package/dist/types/primitives/venue-logo/venue-logo.constants.d.ts +17 -0
- package/dist/types/primitives/venue-logo/venue-logo.types.d.mts +24 -0
- package/dist/types/primitives/venue-logo/venue-logo.types.d.ts +24 -0
- package/dist/types/primitives/venue-logo/venue-logo.utils.d.mts +13 -0
- package/dist/types/primitives/venue-logo/venue-logo.utils.d.ts +13 -0
- package/dist/types/profile/index.d.mts +6 -0
- package/dist/types/profile/index.d.ts +6 -0
- package/dist/types/profile/profile-modal.constants.d.mts +17 -0
- package/dist/types/profile/profile-modal.constants.d.ts +17 -0
- package/dist/types/profile/profile-modal.types.d.mts +84 -0
- package/dist/types/profile/profile-modal.types.d.ts +84 -0
- package/dist/types/profile/tabs/about-tab.d.mts +18 -0
- package/dist/types/profile/tabs/about-tab.d.ts +18 -0
- package/dist/types/profile/tabs/accounts-wallets-tab.d.mts +33 -0
- package/dist/types/profile/tabs/accounts-wallets-tab.d.ts +33 -0
- package/dist/types/shared/constants.d.mts +33 -0
- package/dist/types/shared/constants.d.ts +33 -0
- package/dist/types/shared/deposit-modal-events.d.mts +4 -0
- package/dist/types/shared/deposit-modal-events.d.ts +4 -0
- package/dist/types/shared/query-error.d.mts +2 -0
- package/dist/types/shared/query-error.d.ts +2 -0
- package/dist/types/shared/types.d.mts +1 -0
- package/dist/types/shared/types.d.ts +1 -0
- package/dist/types/shared/utils.d.mts +15 -0
- package/dist/types/shared/utils.d.ts +15 -0
- package/dist/types/trading/index.d.mts +7 -0
- package/dist/types/trading/index.d.ts +7 -0
- package/dist/types/trading/place-order/index.d.mts +10 -0
- package/dist/types/trading/place-order/index.d.ts +10 -0
- package/dist/types/trading/place-order/index.place-order.constants.d.mts +18 -0
- package/dist/types/trading/place-order/index.place-order.constants.d.ts +18 -0
- package/dist/types/trading/place-order/index.place-order.failure.d.mts +14 -0
- package/dist/types/trading/place-order/index.place-order.failure.d.ts +14 -0
- package/dist/types/trading/place-order/index.place-order.success.d.mts +12 -0
- package/dist/types/trading/place-order/index.place-order.success.d.ts +12 -0
- package/dist/types/trading/place-order/index.place-order.types.d.mts +192 -0
- package/dist/types/trading/place-order/index.place-order.types.d.ts +192 -0
- package/dist/types/trading/place-order/index.place-order.utils.d.mts +100 -0
- package/dist/types/trading/place-order/index.place-order.utils.d.ts +100 -0
- package/dist/types/trading/settlement/index.d.mts +12 -0
- package/dist/types/trading/settlement/index.d.ts +12 -0
- package/dist/types/trading/settlement/settlement-details.d.mts +8 -0
- package/dist/types/trading/settlement/settlement-details.d.ts +8 -0
- package/dist/types/trading/settlement/settlement-details.utils.d.mts +7 -0
- package/dist/types/trading/settlement/settlement-details.utils.d.ts +7 -0
- package/dist/types/trading/trading-context/index.d.mts +2 -0
- package/dist/types/trading/trading-context/index.d.ts +2 -0
- package/dist/types/trading/types.d.mts +82 -0
- package/dist/types/trading/types.d.ts +82 -0
- package/dist/types/trading/use-kalshi-kyc-flow.d.mts +22 -0
- package/dist/types/trading/use-kalshi-kyc-flow.d.ts +22 -0
- package/dist/types/trading/utils.d.mts +16 -0
- package/dist/types/trading/utils.d.ts +16 -0
- package/dist/types/withdraw/index.d.mts +6 -0
- package/dist/types/withdraw/index.d.ts +6 -0
- package/dist/types/withdraw/steps/withdraw-amount.d.mts +17 -0
- package/dist/types/withdraw/steps/withdraw-amount.d.ts +17 -0
- package/dist/types/withdraw/steps/withdraw-method.d.mts +6 -0
- package/dist/types/withdraw/steps/withdraw-method.d.ts +6 -0
- package/dist/types/withdraw/steps/withdraw-provider.d.mts +10 -0
- package/dist/types/withdraw/steps/withdraw-provider.d.ts +10 -0
- package/dist/types/withdraw/steps/withdraw-success.d.mts +7 -0
- package/dist/types/withdraw/steps/withdraw-success.d.ts +7 -0
- package/dist/types/withdraw/withdraw-modal.constants.d.mts +5 -0
- package/dist/types/withdraw/withdraw-modal.constants.d.ts +5 -0
- package/dist/types/withdraw/withdraw-modal.types.d.mts +64 -0
- package/dist/types/withdraw/withdraw-modal.types.d.ts +64 -0
- package/package.json +128 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const CARD_BASE_CLASS_NAME = "group/agg-card relative flex w-full flex-col font-agg-sans rounded-[calc(var(--agg-radius-xl)-1px)] bg-agg-secondary text-agg-foreground shadow-agg-card";
|
|
2
|
+
export declare const CARD_HOVER_TRANSITION_CLASS_NAME = "transition-shadow hover:shadow-agg-card-hover duration-300 ease-in-out";
|
|
3
|
+
export declare const CARD_GRADIENT_WRAPPER_CLASS_NAME = "group/agg-card-gradient rounded-agg-xl p-[1px] relative bg-agg-separator";
|
|
4
|
+
export declare const CARD_GRADIENT_OVERLAY_CLASS_NAME = "absolute inset-0 rounded-agg-xl bg-gradient-to-b from-agg-separator to-agg-primary opacity-0 group-hover/agg-card-gradient:opacity-100 transition-opacity duration-200 ease-in-out pointer-events-none";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type CardProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
2
|
+
/** Called when the card is clicked. */
|
|
3
|
+
onClick?: (e?: React.MouseEvent) => void;
|
|
4
|
+
/** When provided, the card renders as an `<a>` element, enabling native browser link behaviors. */
|
|
5
|
+
href?: string;
|
|
6
|
+
/** Whether to render the card without the gradient wrapper. */
|
|
7
|
+
withGradient?: boolean;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type CardProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
2
|
+
/** Called when the card is clicked. */
|
|
3
|
+
onClick?: (e?: React.MouseEvent) => void;
|
|
4
|
+
/** When provided, the card renders as an `<a>` element, enabling native browser link behaviors. */
|
|
5
|
+
href?: string;
|
|
6
|
+
/** Whether to render the card without the gradient wrapper. */
|
|
7
|
+
withGradient?: boolean;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Utility helpers for composing card container styles from interaction and motion settings. */
|
|
2
|
+
export declare const getCardClassName: ({ className, enableAnimations, hasOnClick, hasHref, withGradient, }: {
|
|
3
|
+
className?: string;
|
|
4
|
+
enableAnimations: boolean;
|
|
5
|
+
hasOnClick: boolean;
|
|
6
|
+
hasHref?: boolean;
|
|
7
|
+
withGradient?: boolean;
|
|
8
|
+
}) => string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Utility helpers for composing card container styles from interaction and motion settings. */
|
|
2
|
+
export declare const getCardClassName: ({ className, enableAnimations, hasOnClick, hasHref, withGradient, }: {
|
|
3
|
+
className?: string;
|
|
4
|
+
enableAnimations: boolean;
|
|
5
|
+
hasOnClick: boolean;
|
|
6
|
+
hasHref?: boolean;
|
|
7
|
+
withGradient?: boolean;
|
|
8
|
+
}) => string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CardProps } from "./card.types";
|
|
2
|
+
/** Renders a shared card container with AGG visual styling and optional click affordance. */
|
|
3
|
+
export declare const Card: {
|
|
4
|
+
({ className, onClick, href, withGradient, ...props }: CardProps): JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CardProps } from "./card.types";
|
|
2
|
+
/** Renders a shared card container with AGG visual styling and optional click affordance. */
|
|
3
|
+
export declare const Card: {
|
|
4
|
+
({ className, onClick, href, withGradient, ...props }: CardProps): JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChartTypeSwitchProps } from "./chart-type-switch.types";
|
|
2
|
+
export type { ChartTypeSwitchProps } from "./chart-type-switch.types";
|
|
3
|
+
/** Renders a compact toggle between line and candlestick chart visualizations. */
|
|
4
|
+
export declare const ChartTypeSwitch: {
|
|
5
|
+
({ value, onValueChange, className, }: ChartTypeSwitchProps): JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChartTypeSwitchProps } from "./chart-type-switch.types";
|
|
2
|
+
export type { ChartTypeSwitchProps } from "./chart-type-switch.types";
|
|
3
|
+
/** Renders a compact toggle between line and candlestick chart visualizations. */
|
|
4
|
+
export declare const ChartTypeSwitch: {
|
|
5
|
+
({ value, onValueChange, className, }: ChartTypeSwitchProps): JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { LineChartType } from "./chart.types";
|
|
2
|
+
export type ChartTypeSwitchProps = {
|
|
3
|
+
/** Currently selected chart presentation mode. */
|
|
4
|
+
value: LineChartType;
|
|
5
|
+
/** Called when the chart presentation mode changes. */
|
|
6
|
+
onValueChange: (value: LineChartType) => void;
|
|
7
|
+
/** Custom class name applied to the switch root. */
|
|
8
|
+
className?: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { LineChartType } from "./chart.types";
|
|
2
|
+
export type ChartTypeSwitchProps = {
|
|
3
|
+
/** Currently selected chart presentation mode. */
|
|
4
|
+
value: LineChartType;
|
|
5
|
+
/** Called when the chart presentation mode changes. */
|
|
6
|
+
onValueChange: (value: LineChartType) => void;
|
|
7
|
+
/** Custom class name applied to the switch root. */
|
|
8
|
+
className?: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { LineChartType } from "./chart.types";
|
|
2
|
+
/** Utility helpers for chart-type switch keyboard navigation. */
|
|
3
|
+
export declare const resolveNextChartTypeIndex: ({ currentIndex, direction, optionsLength, }: {
|
|
4
|
+
currentIndex: number;
|
|
5
|
+
direction: 1 | -1;
|
|
6
|
+
optionsLength: number;
|
|
7
|
+
}) => number;
|
|
8
|
+
export declare const resolveChartTypeOptionAriaLabel: ({ chartType, candlestickLabel, lineLabel, }: {
|
|
9
|
+
chartType: LineChartType;
|
|
10
|
+
candlestickLabel: string;
|
|
11
|
+
lineLabel: string;
|
|
12
|
+
}) => string;
|
|
13
|
+
export declare const resolveChartTypeOptionIconName: (chartType: LineChartType) => "chart-line" | "chart-candlestick";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { LineChartType } from "./chart.types";
|
|
2
|
+
/** Utility helpers for chart-type switch keyboard navigation. */
|
|
3
|
+
export declare const resolveNextChartTypeIndex: ({ currentIndex, direction, optionsLength, }: {
|
|
4
|
+
currentIndex: number;
|
|
5
|
+
direction: 1 | -1;
|
|
6
|
+
optionsLength: number;
|
|
7
|
+
}) => number;
|
|
8
|
+
export declare const resolveChartTypeOptionAriaLabel: ({ chartType, candlestickLabel, lineLabel, }: {
|
|
9
|
+
chartType: LineChartType;
|
|
10
|
+
candlestickLabel: string;
|
|
11
|
+
lineLabel: string;
|
|
12
|
+
}) => string;
|
|
13
|
+
export declare const resolveChartTypeOptionIconName: (chartType: LineChartType) => "chart-line" | "chart-candlestick";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { LineChartType } from "./chart.types";
|
|
2
|
+
export declare const LINE_CHART_DEFAULT_HEIGHT = 280;
|
|
3
|
+
export declare const LINE_CHART_DEFAULT_TYPE: LineChartType;
|
|
4
|
+
export declare const LINE_CHART_DEFAULT_SHOW_SERIES_CONTROLS = true;
|
|
5
|
+
export declare const LINE_CHART_DEFAULT_WINDOW_THRESHOLD = 1.05;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { LineChartType } from "./chart.types";
|
|
2
|
+
export declare const LINE_CHART_DEFAULT_HEIGHT = 280;
|
|
3
|
+
export declare const LINE_CHART_DEFAULT_TYPE: LineChartType;
|
|
4
|
+
export declare const LINE_CHART_DEFAULT_SHOW_SERIES_CONTROLS = true;
|
|
5
|
+
export declare const LINE_CHART_DEFAULT_WINDOW_THRESHOLD = 1.05;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { CandlePoint, LivelinePoint } from "liveline";
|
|
3
|
+
export type LineChartPoint = {
|
|
4
|
+
time: number;
|
|
5
|
+
value: number;
|
|
6
|
+
open?: number;
|
|
7
|
+
high?: number;
|
|
8
|
+
low?: number;
|
|
9
|
+
close?: number;
|
|
10
|
+
};
|
|
11
|
+
export type LineChartType = "line" | "candlestick";
|
|
12
|
+
export type LineChartSeries = {
|
|
13
|
+
id: string;
|
|
14
|
+
color: string;
|
|
15
|
+
points: LineChartPoint[];
|
|
16
|
+
lineWidth?: number;
|
|
17
|
+
lineStyle?: "solid" | "dotted" | "dashed";
|
|
18
|
+
};
|
|
19
|
+
export type LineChartSeriesControlsRenderProps = {
|
|
20
|
+
/** Series currently available for toggling in the control UI. */
|
|
21
|
+
series: LineChartSeries[];
|
|
22
|
+
/** ID of the series currently marked as active. */
|
|
23
|
+
activeSeriesId: string;
|
|
24
|
+
/** Called when the user selects a different series in the controls. */
|
|
25
|
+
handleSeriesChange: (seriesId: string) => void;
|
|
26
|
+
};
|
|
27
|
+
export type LineChartProps = {
|
|
28
|
+
/** Series to display on the chart */
|
|
29
|
+
series: LineChartSeries[];
|
|
30
|
+
/** Height of the chart */
|
|
31
|
+
height?: number;
|
|
32
|
+
/** Width of the chart */
|
|
33
|
+
width?: number | string;
|
|
34
|
+
/** Class names for the chart */
|
|
35
|
+
classNames?: LineChartClassNames;
|
|
36
|
+
/** Whether the chart is loading */
|
|
37
|
+
isLoading?: boolean;
|
|
38
|
+
/** Type of chart to display (line or candlestick) */
|
|
39
|
+
chartType?: LineChartType;
|
|
40
|
+
/** Whether to show series controls */
|
|
41
|
+
showSeriesControls?: boolean;
|
|
42
|
+
/** Render series controls */
|
|
43
|
+
renderSeriesControls?: (props: LineChartSeriesControlsRenderProps) => ReactNode;
|
|
44
|
+
/** Live forming candle (updates in real-time, not yet closed). */
|
|
45
|
+
liveCandle?: CandlePoint;
|
|
46
|
+
/** Live line overlay data (e.g., real-time price series). */
|
|
47
|
+
lineData?: LivelinePoint[];
|
|
48
|
+
/** Live line overlay current value. */
|
|
49
|
+
lineValue?: number;
|
|
50
|
+
/** Whether live effects (momentum, pulse) should be active. Defaults to global enableLiveUpdates. */
|
|
51
|
+
live?: boolean;
|
|
52
|
+
};
|
|
53
|
+
export type LineChartClassNames = {
|
|
54
|
+
root?: string;
|
|
55
|
+
controls?: string;
|
|
56
|
+
defaultSeriesSwitch?: string;
|
|
57
|
+
chartViewport?: string;
|
|
58
|
+
liveline?: string;
|
|
59
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { CandlePoint, LivelinePoint } from "liveline";
|
|
3
|
+
export type LineChartPoint = {
|
|
4
|
+
time: number;
|
|
5
|
+
value: number;
|
|
6
|
+
open?: number;
|
|
7
|
+
high?: number;
|
|
8
|
+
low?: number;
|
|
9
|
+
close?: number;
|
|
10
|
+
};
|
|
11
|
+
export type LineChartType = "line" | "candlestick";
|
|
12
|
+
export type LineChartSeries = {
|
|
13
|
+
id: string;
|
|
14
|
+
color: string;
|
|
15
|
+
points: LineChartPoint[];
|
|
16
|
+
lineWidth?: number;
|
|
17
|
+
lineStyle?: "solid" | "dotted" | "dashed";
|
|
18
|
+
};
|
|
19
|
+
export type LineChartSeriesControlsRenderProps = {
|
|
20
|
+
/** Series currently available for toggling in the control UI. */
|
|
21
|
+
series: LineChartSeries[];
|
|
22
|
+
/** ID of the series currently marked as active. */
|
|
23
|
+
activeSeriesId: string;
|
|
24
|
+
/** Called when the user selects a different series in the controls. */
|
|
25
|
+
handleSeriesChange: (seriesId: string) => void;
|
|
26
|
+
};
|
|
27
|
+
export type LineChartProps = {
|
|
28
|
+
/** Series to display on the chart */
|
|
29
|
+
series: LineChartSeries[];
|
|
30
|
+
/** Height of the chart */
|
|
31
|
+
height?: number;
|
|
32
|
+
/** Width of the chart */
|
|
33
|
+
width?: number | string;
|
|
34
|
+
/** Class names for the chart */
|
|
35
|
+
classNames?: LineChartClassNames;
|
|
36
|
+
/** Whether the chart is loading */
|
|
37
|
+
isLoading?: boolean;
|
|
38
|
+
/** Type of chart to display (line or candlestick) */
|
|
39
|
+
chartType?: LineChartType;
|
|
40
|
+
/** Whether to show series controls */
|
|
41
|
+
showSeriesControls?: boolean;
|
|
42
|
+
/** Render series controls */
|
|
43
|
+
renderSeriesControls?: (props: LineChartSeriesControlsRenderProps) => ReactNode;
|
|
44
|
+
/** Live forming candle (updates in real-time, not yet closed). */
|
|
45
|
+
liveCandle?: CandlePoint;
|
|
46
|
+
/** Live line overlay data (e.g., real-time price series). */
|
|
47
|
+
lineData?: LivelinePoint[];
|
|
48
|
+
/** Live line overlay current value. */
|
|
49
|
+
lineValue?: number;
|
|
50
|
+
/** Whether live effects (momentum, pulse) should be active. Defaults to global enableLiveUpdates. */
|
|
51
|
+
live?: boolean;
|
|
52
|
+
};
|
|
53
|
+
export type LineChartClassNames = {
|
|
54
|
+
root?: string;
|
|
55
|
+
controls?: string;
|
|
56
|
+
defaultSeriesSwitch?: string;
|
|
57
|
+
chartViewport?: string;
|
|
58
|
+
liveline?: string;
|
|
59
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { CandlePoint, LivelinePoint } from "liveline";
|
|
2
|
+
import type { LineChartPoint, LineChartSeries } from "./chart.types";
|
|
3
|
+
/** Utility helpers for normalizing and projecting chart series data for Liveline. */
|
|
4
|
+
export declare const normalizeSeries: (series: LineChartSeries[]) => LineChartSeries[];
|
|
5
|
+
export declare const formatDefaultChartValue: (value: number) => string;
|
|
6
|
+
export declare const resolveChartTimeFormatter: (windowSeconds: number) => (timestamp: number) => string;
|
|
7
|
+
export declare const toLivelinePoints: (points: LineChartPoint[]) => LivelinePoint[];
|
|
8
|
+
export declare const toLivelineCandles: (points: LineChartPoint[]) => CandlePoint[];
|
|
9
|
+
/**
|
|
10
|
+
* Pad a sparse candle array so liveline always sees >= 2 entries.
|
|
11
|
+
* Liveline treats `effectiveCandles.length < 2` as empty and draws "No data".
|
|
12
|
+
* When only one candle exists we prepend a duplicate shifted back by one interval.
|
|
13
|
+
*/
|
|
14
|
+
export declare const padSparseCandles: (candles: CandlePoint[], intervalSeconds?: number) => CandlePoint[];
|
|
15
|
+
export declare const resolveCandleWidthSeconds: (points: LineChartPoint[], fallback?: number) => number | undefined;
|
|
16
|
+
export declare const resolveWindowSeconds: (normalizedSeries: LineChartSeries[]) => number;
|
|
17
|
+
/**
|
|
18
|
+
* Liveline is a real-time chart that anchors its visible window to
|
|
19
|
+
* `Date.now()`. Historical data that ended well before "now" falls outside
|
|
20
|
+
* the visible region, causing liveline to draw "No data". Additionally,
|
|
21
|
+
* liveline's multi-series render path requires `visible.length >= 2` per
|
|
22
|
+
* series inside the window.
|
|
23
|
+
*
|
|
24
|
+
* This helper extends every series so that data reaches up to "now", ensuring
|
|
25
|
+
* the points always fall inside the liveline visible window. It also guarantees
|
|
26
|
+
* at least 2 points per series (the minimum liveline requires).
|
|
27
|
+
*
|
|
28
|
+
* The returned series should be used for both `data` and `series` props.
|
|
29
|
+
*/
|
|
30
|
+
export declare const extendSeriesToNow: (series: LineChartSeries[]) => LineChartSeries[];
|
|
31
|
+
export declare const resolveLatestValue: (points: LineChartPoint[]) => number;
|
|
32
|
+
export declare const resolveActiveSeriesId: (series: LineChartSeries[], activeSeriesId: string | null) => string;
|
|
33
|
+
export declare const formatDefaultSeriesLabel: (seriesItem: LineChartSeries) => string;
|
|
34
|
+
export declare const resolveSelectedSeries: (series: LineChartSeries[], activeSeriesId: string) => LineChartSeries | undefined;
|
|
35
|
+
export declare const resolvePrimaryLineData: (primarySeries: LineChartSeries | undefined) => LivelinePoint[];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { CandlePoint, LivelinePoint } from "liveline";
|
|
2
|
+
import type { LineChartPoint, LineChartSeries } from "./chart.types";
|
|
3
|
+
/** Utility helpers for normalizing and projecting chart series data for Liveline. */
|
|
4
|
+
export declare const normalizeSeries: (series: LineChartSeries[]) => LineChartSeries[];
|
|
5
|
+
export declare const formatDefaultChartValue: (value: number) => string;
|
|
6
|
+
export declare const resolveChartTimeFormatter: (windowSeconds: number) => (timestamp: number) => string;
|
|
7
|
+
export declare const toLivelinePoints: (points: LineChartPoint[]) => LivelinePoint[];
|
|
8
|
+
export declare const toLivelineCandles: (points: LineChartPoint[]) => CandlePoint[];
|
|
9
|
+
/**
|
|
10
|
+
* Pad a sparse candle array so liveline always sees >= 2 entries.
|
|
11
|
+
* Liveline treats `effectiveCandles.length < 2` as empty and draws "No data".
|
|
12
|
+
* When only one candle exists we prepend a duplicate shifted back by one interval.
|
|
13
|
+
*/
|
|
14
|
+
export declare const padSparseCandles: (candles: CandlePoint[], intervalSeconds?: number) => CandlePoint[];
|
|
15
|
+
export declare const resolveCandleWidthSeconds: (points: LineChartPoint[], fallback?: number) => number | undefined;
|
|
16
|
+
export declare const resolveWindowSeconds: (normalizedSeries: LineChartSeries[]) => number;
|
|
17
|
+
/**
|
|
18
|
+
* Liveline is a real-time chart that anchors its visible window to
|
|
19
|
+
* `Date.now()`. Historical data that ended well before "now" falls outside
|
|
20
|
+
* the visible region, causing liveline to draw "No data". Additionally,
|
|
21
|
+
* liveline's multi-series render path requires `visible.length >= 2` per
|
|
22
|
+
* series inside the window.
|
|
23
|
+
*
|
|
24
|
+
* This helper extends every series so that data reaches up to "now", ensuring
|
|
25
|
+
* the points always fall inside the liveline visible window. It also guarantees
|
|
26
|
+
* at least 2 points per series (the minimum liveline requires).
|
|
27
|
+
*
|
|
28
|
+
* The returned series should be used for both `data` and `series` props.
|
|
29
|
+
*/
|
|
30
|
+
export declare const extendSeriesToNow: (series: LineChartSeries[]) => LineChartSeries[];
|
|
31
|
+
export declare const resolveLatestValue: (points: LineChartPoint[]) => number;
|
|
32
|
+
export declare const resolveActiveSeriesId: (series: LineChartSeries[], activeSeriesId: string | null) => string;
|
|
33
|
+
export declare const formatDefaultSeriesLabel: (seriesItem: LineChartSeries) => string;
|
|
34
|
+
export declare const resolveSelectedSeries: (series: LineChartSeries[], activeSeriesId: string) => LineChartSeries | undefined;
|
|
35
|
+
export declare const resolvePrimaryLineData: (primarySeries: LineChartSeries | undefined) => LivelinePoint[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LineChartProps } from "./chart.types";
|
|
2
|
+
export type { LineChartClassNames, LineChartPoint, LineChartProps, LineChartSeries, LineChartSeriesControlsRenderProps, LineChartType, } from "./chart.types";
|
|
3
|
+
/** Renders line/candlestick chart data with optional series switching and live updates. */
|
|
4
|
+
export declare const LineChart: {
|
|
5
|
+
({ series, height, width, classNames, isLoading, chartType, showSeriesControls, renderSeriesControls, liveCandle: liveForming, lineData, lineValue, live, }: LineChartProps): JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LineChartProps } from "./chart.types";
|
|
2
|
+
export type { LineChartClassNames, LineChartPoint, LineChartProps, LineChartSeries, LineChartSeriesControlsRenderProps, LineChartType, } from "./chart.types";
|
|
3
|
+
/** Renders line/candlestick chart data with optional series switching and live updates. */
|
|
4
|
+
export declare const LineChart: {
|
|
5
|
+
({ series, height, width, classNames, isLoading, chartType, showSeriesControls, renderSeriesControls, liveCandle: liveForming, lineData, lineValue, live, }: LineChartProps): JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { JSX } from "react";
|
|
2
|
+
interface ConditionalWrapperProps {
|
|
3
|
+
condition: boolean;
|
|
4
|
+
wrapper: (children: React.ReactNode) => JSX.Element;
|
|
5
|
+
children: JSX.Element;
|
|
6
|
+
}
|
|
7
|
+
export declare const ConditionalWrapper: {
|
|
8
|
+
({ condition, wrapper, children, }: ConditionalWrapperProps): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { JSX } from "react";
|
|
2
|
+
interface ConditionalWrapperProps {
|
|
3
|
+
condition: boolean;
|
|
4
|
+
wrapper: (children: React.ReactNode) => JSX.Element;
|
|
5
|
+
children: JSX.Element;
|
|
6
|
+
}
|
|
7
|
+
export declare const ConditionalWrapper: {
|
|
8
|
+
({ condition, wrapper, children, }: ConditionalWrapperProps): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const CURRENCY_INPUT_DEFAULT_PREFIX = "$";
|
|
2
|
+
export declare const CURRENCY_INPUT_DEFAULT_MIN = 0;
|
|
3
|
+
export declare const CURRENCY_INPUT_DEFAULT_DECIMAL_PLACES = 2;
|
|
4
|
+
export declare const CURRENCY_INPUT_DEFAULT_DISABLED = false;
|
|
5
|
+
export declare const CURRENCY_INPUT_DEFAULT_AUTO_FOCUS = false;
|
|
6
|
+
export declare const CURRENCY_INPUT_DEFAULT_IS_INVALID = false;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const CURRENCY_INPUT_DEFAULT_PREFIX = "$";
|
|
2
|
+
export declare const CURRENCY_INPUT_DEFAULT_MIN = 0;
|
|
3
|
+
export declare const CURRENCY_INPUT_DEFAULT_DECIMAL_PLACES = 2;
|
|
4
|
+
export declare const CURRENCY_INPUT_DEFAULT_DISABLED = false;
|
|
5
|
+
export declare const CURRENCY_INPUT_DEFAULT_AUTO_FOCUS = false;
|
|
6
|
+
export declare const CURRENCY_INPUT_DEFAULT_IS_INVALID = false;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export type CurrencyInputClassNames = {
|
|
2
|
+
root?: string;
|
|
3
|
+
input?: string;
|
|
4
|
+
};
|
|
5
|
+
export type CurrencyInputProps = {
|
|
6
|
+
/** Numeric value (controlled) */
|
|
7
|
+
value: number;
|
|
8
|
+
/** Called with the parsed number on every change and on blur */
|
|
9
|
+
onChange?: (value: number) => void;
|
|
10
|
+
/** Symbol shown before the number. Defaults to "$" */
|
|
11
|
+
prefix?: string;
|
|
12
|
+
/** Lowest allowed value. Defaults to 0 (prevents negatives) */
|
|
13
|
+
min?: number;
|
|
14
|
+
/** Highest allowed value */
|
|
15
|
+
max?: number;
|
|
16
|
+
/** Maximum decimal places shown. Defaults to 2 */
|
|
17
|
+
decimalPlaces?: number;
|
|
18
|
+
/** Whether the input should be non-interactive. */
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/** Whether the input should receive focus on mount. */
|
|
21
|
+
autoFocus?: boolean;
|
|
22
|
+
/** Visual error state */
|
|
23
|
+
isInvalid?: boolean;
|
|
24
|
+
/** Class name overrides for the input wrapper and field. */
|
|
25
|
+
classNames?: CurrencyInputClassNames;
|
|
26
|
+
/** Accessible label announced for the input. */
|
|
27
|
+
ariaLabel?: string;
|
|
28
|
+
/** Called when the input receives focus. */
|
|
29
|
+
onFocus?: () => void;
|
|
30
|
+
/** Called when the input loses focus. */
|
|
31
|
+
onBlur?: () => void;
|
|
32
|
+
};
|
|
33
|
+
export type CurrencyInputFormatParts = {
|
|
34
|
+
group: string;
|
|
35
|
+
decimal: string;
|
|
36
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export type CurrencyInputClassNames = {
|
|
2
|
+
root?: string;
|
|
3
|
+
input?: string;
|
|
4
|
+
};
|
|
5
|
+
export type CurrencyInputProps = {
|
|
6
|
+
/** Numeric value (controlled) */
|
|
7
|
+
value: number;
|
|
8
|
+
/** Called with the parsed number on every change and on blur */
|
|
9
|
+
onChange?: (value: number) => void;
|
|
10
|
+
/** Symbol shown before the number. Defaults to "$" */
|
|
11
|
+
prefix?: string;
|
|
12
|
+
/** Lowest allowed value. Defaults to 0 (prevents negatives) */
|
|
13
|
+
min?: number;
|
|
14
|
+
/** Highest allowed value */
|
|
15
|
+
max?: number;
|
|
16
|
+
/** Maximum decimal places shown. Defaults to 2 */
|
|
17
|
+
decimalPlaces?: number;
|
|
18
|
+
/** Whether the input should be non-interactive. */
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/** Whether the input should receive focus on mount. */
|
|
21
|
+
autoFocus?: boolean;
|
|
22
|
+
/** Visual error state */
|
|
23
|
+
isInvalid?: boolean;
|
|
24
|
+
/** Class name overrides for the input wrapper and field. */
|
|
25
|
+
classNames?: CurrencyInputClassNames;
|
|
26
|
+
/** Accessible label announced for the input. */
|
|
27
|
+
ariaLabel?: string;
|
|
28
|
+
/** Called when the input receives focus. */
|
|
29
|
+
onFocus?: () => void;
|
|
30
|
+
/** Called when the input loses focus. */
|
|
31
|
+
onBlur?: () => void;
|
|
32
|
+
};
|
|
33
|
+
export type CurrencyInputFormatParts = {
|
|
34
|
+
group: string;
|
|
35
|
+
decimal: string;
|
|
36
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CurrencyInputFormatParts } from "./currency-input.types";
|
|
2
|
+
/** Utility helpers for parsing, formatting, and caret math in the currency input field. */
|
|
3
|
+
export declare const resolveCurrencyInputFormatParts: (locale: string) => CurrencyInputFormatParts;
|
|
4
|
+
export declare const parseCurrencyInputDisplay: (display: string, prefix: string, parts: CurrencyInputFormatParts) => string;
|
|
5
|
+
export declare const normalizeCurrencyInputInitialZero: (nextRaw: string, previousRaw: string) => string;
|
|
6
|
+
export declare const formatCurrencyInputRawValue: (raw: string, locale: string, decimalPlaces: number, parts: CurrencyInputFormatParts) => string;
|
|
7
|
+
export declare const clampCurrencyInputValue: (value: number, min: number, max: number | undefined) => number;
|
|
8
|
+
export declare const countDigitsBeforePosition: (value: string, position: number) => number;
|
|
9
|
+
export declare const findPositionAfterDigits: (value: string, digitCount: number) => number;
|
|
10
|
+
export declare const sanitizeCurrencyInputPastedValue: (input: string, parts: CurrencyInputFormatParts, decimalPlaces: number) => string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CurrencyInputFormatParts } from "./currency-input.types";
|
|
2
|
+
/** Utility helpers for parsing, formatting, and caret math in the currency input field. */
|
|
3
|
+
export declare const resolveCurrencyInputFormatParts: (locale: string) => CurrencyInputFormatParts;
|
|
4
|
+
export declare const parseCurrencyInputDisplay: (display: string, prefix: string, parts: CurrencyInputFormatParts) => string;
|
|
5
|
+
export declare const normalizeCurrencyInputInitialZero: (nextRaw: string, previousRaw: string) => string;
|
|
6
|
+
export declare const formatCurrencyInputRawValue: (raw: string, locale: string, decimalPlaces: number, parts: CurrencyInputFormatParts) => string;
|
|
7
|
+
export declare const clampCurrencyInputValue: (value: number, min: number, max: number | undefined) => number;
|
|
8
|
+
export declare const countDigitsBeforePosition: (value: string, position: number) => number;
|
|
9
|
+
export declare const findPositionAfterDigits: (value: string, digitCount: number) => number;
|
|
10
|
+
export declare const sanitizeCurrencyInputPastedValue: (input: string, parts: CurrencyInputFormatParts, decimalPlaces: number) => string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CurrencyInputProps } from "./currency-input.types";
|
|
2
|
+
export type { CurrencyInputClassNames, CurrencyInputFormatParts, CurrencyInputProps, } from "./currency-input.types";
|
|
3
|
+
/** Renders a controlled currency input with locale-aware formatting, caret preservation, and paste sanitization. */
|
|
4
|
+
export declare const CurrencyInput: {
|
|
5
|
+
({ value, onChange, prefix, min, max, decimalPlaces, disabled, autoFocus, isInvalid, classNames, ariaLabel, onFocus, onBlur, }: CurrencyInputProps): JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CurrencyInputProps } from "./currency-input.types";
|
|
2
|
+
export type { CurrencyInputClassNames, CurrencyInputFormatParts, CurrencyInputProps, } from "./currency-input.types";
|
|
3
|
+
/** Renders a controlled currency input with locale-aware formatting, caret preservation, and paste sanitization. */
|
|
4
|
+
export declare const CurrencyInput: {
|
|
5
|
+
({ value, onChange, prefix, min, max, decimalPlaces, disabled, autoFocus, isInvalid, classNames, ariaLabel, onFocus, onBlur, }: CurrencyInputProps): JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Component, type ErrorInfo, type ReactNode } from "react";
|
|
2
|
+
export interface AggErrorBoundaryProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
/** Custom fallback UI to render when an error is caught. */
|
|
5
|
+
fallback?: ReactNode;
|
|
6
|
+
/** Called when the boundary catches an error. */
|
|
7
|
+
onError?: (error: Error, errorInfo: ErrorInfo) => void;
|
|
8
|
+
/** Called when the user clicks the retry button. Resets the boundary and re-renders children. */
|
|
9
|
+
onRetry?: () => void;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
interface AggErrorBoundaryState {
|
|
13
|
+
hasError: boolean;
|
|
14
|
+
error: Error | null;
|
|
15
|
+
}
|
|
16
|
+
export declare class AggErrorBoundary extends Component<AggErrorBoundaryProps, AggErrorBoundaryState> {
|
|
17
|
+
static displayName: string;
|
|
18
|
+
constructor(props: AggErrorBoundaryProps);
|
|
19
|
+
static getDerivedStateFromError(error: Error): AggErrorBoundaryState;
|
|
20
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
21
|
+
private handleRetry;
|
|
22
|
+
render(): ReactNode;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Component, type ErrorInfo, type ReactNode } from "react";
|
|
2
|
+
export interface AggErrorBoundaryProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
/** Custom fallback UI to render when an error is caught. */
|
|
5
|
+
fallback?: ReactNode;
|
|
6
|
+
/** Called when the boundary catches an error. */
|
|
7
|
+
onError?: (error: Error, errorInfo: ErrorInfo) => void;
|
|
8
|
+
/** Called when the user clicks the retry button. Resets the boundary and re-renders children. */
|
|
9
|
+
onRetry?: () => void;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
interface AggErrorBoundaryState {
|
|
13
|
+
hasError: boolean;
|
|
14
|
+
error: Error | null;
|
|
15
|
+
}
|
|
16
|
+
export declare class AggErrorBoundary extends Component<AggErrorBoundaryProps, AggErrorBoundaryState> {
|
|
17
|
+
static displayName: string;
|
|
18
|
+
constructor(props: AggErrorBoundaryProps);
|
|
19
|
+
static getDerivedStateFromError(error: Error): AggErrorBoundaryState;
|
|
20
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
21
|
+
private handleRetry;
|
|
22
|
+
render(): ReactNode;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { SVGProps } from "react";
|
|
2
|
+
/** 16×16 orange flame icon used in the desktop footer left section. */
|
|
3
|
+
export declare const AggBuildIcon: {
|
|
4
|
+
(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
/** Full 72×14 "agg build" combined wordmark — icon + text. Used on mobile. */
|
|
8
|
+
export declare const AggBuildLogo: {
|
|
9
|
+
(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
/** "agg build" text-only wordmark for the desktop footer (native 61×13 design asset). */
|
|
13
|
+
export declare const AggBuildTextLogo: {
|
|
14
|
+
(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { SVGProps } from "react";
|
|
2
|
+
/** 16×16 orange flame icon used in the desktop footer left section. */
|
|
3
|
+
export declare const AggBuildIcon: {
|
|
4
|
+
(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
/** Full 72×14 "agg build" combined wordmark — icon + text. Used on mobile. */
|
|
8
|
+
export declare const AggBuildLogo: {
|
|
9
|
+
(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
/** "agg build" text-only wordmark for the desktop footer (native 61×13 design asset). */
|
|
13
|
+
export declare const AggBuildTextLogo: {
|
|
14
|
+
(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FooterLink } from "./footer.types";
|
|
2
|
+
export declare const baseFooterClasses = "group/agg-footer fixed bottom-0 left-0 right-0 z-50 w-full border-t border-agg-separator bg-agg-secondary/75 backdrop-blur-sm supports-[backdrop-filter]:bg-agg-secondary/75";
|
|
3
|
+
export declare const DEFAULT_FOOTER_LINKS: FooterLink[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FooterLink } from "./footer.types";
|
|
2
|
+
export declare const baseFooterClasses = "group/agg-footer fixed bottom-0 left-0 right-0 z-50 w-full border-t border-agg-separator bg-agg-secondary/75 backdrop-blur-sm supports-[backdrop-filter]:bg-agg-secondary/75";
|
|
3
|
+
export declare const DEFAULT_FOOTER_LINKS: FooterLink[];
|