@blockscout/ui-toolkit 0.0.1-alpha.1 → 0.0.1-alpha.3
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 +5 -0
- package/dist/chakra/accordion.d.ts +1 -1
- package/dist/chakra/drawer.d.ts +1 -1
- package/dist/chakra/popover.d.ts +1 -2
- package/dist/chakra/select.d.ts +4 -1
- package/dist/components/AdaptiveTabs/index.d.ts +3 -0
- package/dist/components/Hint/Hint.d.ts +11 -0
- package/dist/components/RoutedTabs/index.d.ts +3 -0
- package/dist/components/buttons/BackToButton.d.ts +7 -0
- package/dist/components/buttons/ClearButton.d.ts +6 -0
- package/dist/components/{Filter → filters}/FilterInput.d.ts +2 -3
- package/dist/components/forms/components/FormFieldError.d.ts +7 -0
- package/dist/components/forms/components/index.d.ts +1 -0
- package/dist/components/forms/fields/FormFieldAddress.d.ts +5 -0
- package/dist/components/forms/fields/FormFieldCheckbox.d.ts +9 -0
- package/dist/components/forms/fields/FormFieldColor.d.ts +9 -0
- package/dist/components/forms/fields/FormFieldEmail.d.ts +5 -0
- package/dist/components/forms/fields/FormFieldSelect.d.ts +7 -0
- package/dist/components/forms/fields/FormFieldSelectAsync.d.ts +7 -0
- package/dist/components/forms/fields/FormFieldText.d.ts +8 -0
- package/dist/components/forms/fields/FormFieldUrl.d.ts +4 -0
- package/dist/components/forms/fields/image/FormFieldImagePreview.d.ts +13 -0
- package/dist/components/forms/fields/image/useImageField.d.ts +25 -0
- package/dist/components/forms/fields/index.d.ts +10 -0
- package/dist/components/forms/fields/types.d.ts +19 -0
- package/dist/components/forms/inputs/file/DragAndDropArea.d.ts +11 -0
- package/dist/components/forms/inputs/file/FileInput.d.ts +13 -0
- package/dist/components/forms/inputs/file/FileSnippet.d.ts +11 -0
- package/dist/components/forms/inputs/file/utils.d.ts +2 -0
- package/dist/components/forms/inputs/index.d.ts +3 -0
- package/dist/components/forms/utils/getFormFieldErrorText.d.ts +2 -0
- package/dist/components/forms/utils/index.d.ts +1 -0
- package/dist/components/forms/validators/address.d.ts +3 -0
- package/dist/components/forms/validators/color.d.ts +2 -0
- package/dist/components/forms/validators/email.d.ts +2 -0
- package/dist/components/forms/validators/index.d.ts +7 -0
- package/dist/components/forms/validators/signature.d.ts +1 -0
- package/dist/components/forms/validators/text.d.ts +1 -0
- package/dist/components/forms/validators/transaction.d.ts +2 -0
- package/dist/components/forms/validators/url.d.ts +3 -0
- package/dist/components/truncation/TruncatedTextTooltip.d.ts +8 -0
- package/dist/hooks/useClipboard.d.ts +1 -1
- package/dist/hooks/useFirstMountState.d.ts +1 -0
- package/dist/hooks/useIsSticky.d.ts +2 -0
- package/dist/hooks/useUpdateEffect.d.ts +2 -0
- package/dist/hooks/useViewportSize.d.ts +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +10479 -0
- package/dist/package/src/index.d.ts +29 -11
- package/dist/theme/recipes/alert.recipe.d.ts +6 -46
- package/dist/theme/recipes/badge.recipe.d.ts +11 -44
- package/dist/theme/recipes/button.recipe.d.ts +17 -20
- package/dist/theme/recipes/close-button.recipe.d.ts +0 -3
- package/dist/theme/recipes/dialog.recipe.d.ts +1 -1
- package/dist/theme/recipes/drawer.recipe.d.ts +1 -1
- package/dist/theme/recipes/index.d.ts +47 -147
- package/dist/theme/recipes/link.recipe.d.ts +1 -9
- package/dist/theme/recipes/list.recipe.d.ts +1 -1
- package/dist/theme/recipes/menu.recipe.d.ts +1 -1
- package/dist/theme/recipes/select.recipe.d.ts +1 -1
- package/dist/theme/recipes/skeleton.recipe.d.ts +5 -6
- package/dist/theme/recipes/table.recipe.d.ts +1 -1
- package/dist/theme/recipes/tag.recipe.d.ts +0 -12
- package/dist/theme/recipes/toast.recipe.d.ts +1 -1
- package/dist/theme/theme.d.ts +1 -0
- package/dist/utils/consts.d.ts +15 -0
- package/dist/utils/guards.d.ts +2 -0
- package/dist/utils/htmlEntities.d.ts +26 -0
- package/dist/utils/isBrowser.d.ts +1 -0
- package/dist/utils/regexp.d.ts +6 -0
- package/dist/utils/url.d.ts +6 -0
- package/package.json +17 -28
- package/dist/_virtual/Button.js +0 -4
- package/dist/_virtual/Element.js +0 -4
- package/dist/_virtual/Link.js +0 -4
- package/dist/_virtual/_commonjsHelpers.js +0 -4
- package/dist/_virtual/animate-scroll.js +0 -4
- package/dist/_virtual/cancel-events.js +0 -4
- package/dist/_virtual/index.js +0 -5
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/index4.js +0 -4
- package/dist/_virtual/jsx-runtime.js +0 -5
- package/dist/_virtual/jsx-runtime2.js +0 -4
- package/dist/_virtual/passive-event-listeners.js +0 -4
- package/dist/_virtual/react-is.development.js +0 -4
- package/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/_virtual/react-jsx-runtime.development.js +0 -4
- package/dist/_virtual/react-jsx-runtime.production.min.js +0 -4
- package/dist/_virtual/scroll-element.js +0 -4
- package/dist/_virtual/scroll-events.js +0 -4
- package/dist/_virtual/scroll-hash.js +0 -4
- package/dist/_virtual/scroll-link.js +0 -4
- package/dist/_virtual/scroll-spy.js +0 -4
- package/dist/_virtual/scroller.js +0 -4
- package/dist/_virtual/smooth.js +0 -4
- package/dist/_virtual/utils.js +0 -4
- package/dist/chakra/accordion.js +0 -61
- package/dist/chakra/alert.js +0 -45
- package/dist/chakra/avatar.js +0 -36
- package/dist/chakra/badge.js +0 -18
- package/dist/chakra/button.js +0 -65
- package/dist/chakra/checkbox.js +0 -33
- package/dist/chakra/close-button.js +0 -13
- package/dist/chakra/collapsible.js +0 -58
- package/dist/chakra/color-mode.js +0 -35
- package/dist/chakra/dialog.js +0 -47
- package/dist/chakra/drawer.js +0 -39
- package/dist/chakra/field.js +0 -65
- package/dist/chakra/heading.js +0 -12
- package/dist/chakra/icon-button.js +0 -44
- package/dist/chakra/image.js +0 -30
- package/dist/chakra/input-group.js +0 -47
- package/dist/chakra/input.js +0 -5
- package/dist/chakra/link.js +0 -68
- package/dist/chakra/menu.js +0 -63
- package/dist/chakra/pin-input.js +0 -15
- package/dist/chakra/popover.js +0 -69
- package/dist/chakra/progress-circle.js +0 -17
- package/dist/chakra/provider.js +0 -10
- package/dist/chakra/radio.js +0 -17
- package/dist/chakra/rating.js +0 -21
- package/dist/chakra/select.js +0 -185
- package/dist/chakra/skeleton.js +0 -40
- package/dist/chakra/slider.js +0 -39
- package/dist/chakra/switch.js +0 -19
- package/dist/chakra/table.js +0 -66
- package/dist/chakra/tabs.js +0 -29
- package/dist/chakra/tag.js +0 -51
- package/dist/chakra/textarea.js +0 -5
- package/dist/chakra/toaster.js +0 -31
- package/dist/chakra/tooltip.js +0 -85
- package/dist/chakra.d.ts +0 -1
- package/dist/chakra.js +0 -155
- package/dist/components/ButtonBackTo.d.ts +0 -8
- package/dist/components/ButtonBackTo.js +0 -22
- package/dist/components/Filter/FilterInput.js +0 -48
- package/dist/components/TruncatedTextTooltip.d.ts +0 -9
- package/dist/components/TruncatedTextTooltip.js +0 -49
- package/dist/components/index.d.ts +0 -1
- package/dist/components.d.ts +0 -2
- package/dist/components.js +0 -1
- package/dist/configs/app/api.js +0 -23
- package/dist/configs/app/app.js +0 -19
- package/dist/configs/app/chain.js +0 -30
- package/dist/configs/app/features/account.js +0 -13
- package/dist/configs/app/features/addressMetadata.js +0 -15
- package/dist/configs/app/features/addressProfileAPI.js +0 -25
- package/dist/configs/app/features/addressVerification.js +0 -17
- package/dist/configs/app/features/adsBanner.js +0 -50
- package/dist/configs/app/features/adsText.js +0 -16
- package/dist/configs/app/features/advancedFilter.js +0 -11
- package/dist/configs/app/features/beaconChain.js +0 -15
- package/dist/configs/app/features/blockchainInteraction.js +0 -15
- package/dist/configs/app/features/bridgedTokens.js +0 -16
- package/dist/configs/app/features/celo.js +0 -13
- package/dist/configs/app/features/csvExport.js +0 -14
- package/dist/configs/app/features/dataAvailability.js +0 -11
- package/dist/configs/app/features/deFiDropdown.js +0 -12
- package/dist/configs/app/features/easterEggBadge.js +0 -12
- package/dist/configs/app/features/externalTxs.js +0 -14
- package/dist/configs/app/features/faultProofSystem.js +0 -12
- package/dist/configs/app/features/gasTracker.js +0 -17
- package/dist/configs/app/features/getGasButton.js +0 -17
- package/dist/configs/app/features/googleAnalytics.js +0 -12
- package/dist/configs/app/features/graphqlApiDocs.js +0 -12
- package/dist/configs/app/features/growthBook.js +0 -12
- package/dist/configs/app/features/index.js +0 -92
- package/dist/configs/app/features/marketplace.js +0 -46
- package/dist/configs/app/features/metasuites.js +0 -11
- package/dist/configs/app/features/mixpanel.js +0 -12
- package/dist/configs/app/features/mudFramework.js +0 -12
- package/dist/configs/app/features/multichainButton.js +0 -18
- package/dist/configs/app/features/nameService.js +0 -15
- package/dist/configs/app/features/pools.js +0 -15
- package/dist/configs/app/features/publicTagsSubmission.js +0 -17
- package/dist/configs/app/features/restApiDocs.js +0 -12
- package/dist/configs/app/features/rewards.js +0 -17
- package/dist/configs/app/features/rollbar.js +0 -20
- package/dist/configs/app/features/rollup.js +0 -37
- package/dist/configs/app/features/safe.js +0 -23
- package/dist/configs/app/features/saveOnGas.js +0 -13
- package/dist/configs/app/features/sol2uml.js +0 -16
- package/dist/configs/app/features/stats.js +0 -16
- package/dist/configs/app/features/suave.js +0 -11
- package/dist/configs/app/features/txInterpretation.js +0 -16
- package/dist/configs/app/features/userOps.js +0 -11
- package/dist/configs/app/features/validators.js +0 -16
- package/dist/configs/app/features/verifiedTokens.js +0 -15
- package/dist/configs/app/features/web3Wallet.js +0 -24
- package/dist/configs/app/features/xStarScore.js +0 -12
- package/dist/configs/app/index.js +0 -19
- package/dist/configs/app/meta.js +0 -16
- package/dist/configs/app/services.js +0 -9
- package/dist/configs/app/ui/views/address.js +0 -36
- package/dist/configs/app/ui/views/block.js +0 -11
- package/dist/configs/app/ui/views/index.js +0 -12
- package/dist/configs/app/ui/views/nft.js +0 -10
- package/dist/configs/app/ui/views/token.js +0 -7
- package/dist/configs/app/ui/views/tx.js +0 -15
- package/dist/configs/app/ui.js +0 -128
- package/dist/configs/app/utils.js +0 -45
- package/dist/hooks/useClipboard.js +0 -27
- package/dist/hooks/useDisclosure.js +0 -17
- package/dist/hooks/useViewportSize.js +0 -17
- package/dist/hooks.d.ts +0 -1
- package/dist/hooks.js +0 -8
- package/dist/icons/arrows/east-mini.svg.js +0 -4
- package/dist/icons/arrows/east.svg.js +0 -4
- package/dist/icons/check.svg.js +0 -4
- package/dist/icons/close.svg.js +0 -4
- package/dist/icons/info_filled.svg.js +0 -4
- package/dist/icons/link_external.svg.js +0 -4
- package/dist/icons/star_filled.svg.js +0 -4
- package/dist/icons/star_outline.svg.js +0 -4
- package/dist/lib/consts.js +0 -10
- package/dist/lib/hooks/useFirstMountState.js +0 -8
- package/dist/lib/hooks/useIsMobile.js +0 -7
- package/dist/lib/hooks/useUpdateEffect.js +0 -12
- package/dist/lib/html-entities.js +0 -5
- package/dist/lib/isBrowser.js +0 -6
- package/dist/lib/regexp.js +0 -4
- package/dist/lib/settings/colorTheme.js +0 -33
- package/dist/lib/stripTrailingSlash.js +0 -4
- package/dist/node_modules/@uidotdev/usehooks/index.js +0 -51
- package/dist/node_modules/bignumber.js/bignumber.js +0 -627
- package/dist/node_modules/es-toolkit/dist/function/debounce.js +0 -30
- package/dist/node_modules/es-toolkit/dist/function/throttle.js +0 -11
- package/dist/node_modules/lodash.throttle/index.js +0 -95
- package/dist/node_modules/object-assign/index.js +0 -54
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
- package/dist/node_modules/prop-types/index.js +0 -17
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
- package/dist/node_modules/prop-types/lib/has.js +0 -7
- package/dist/node_modules/react-icons/lib/iconBase.js +0 -108
- package/dist/node_modules/react-icons/lib/iconContext.js +0 -12
- package/dist/node_modules/react-icons/lu/index.js +0 -12
- package/dist/node_modules/react-is/cjs/react-is.development.js +0 -95
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -78
- package/dist/node_modules/react-is/index.js +0 -10
- package/dist/node_modules/react-scroll/modules/components/Button.js +0 -58
- package/dist/node_modules/react-scroll/modules/components/Element.js +0 -72
- package/dist/node_modules/react-scroll/modules/components/Link.js +0 -49
- package/dist/node_modules/react-scroll/modules/index.js +0 -26
- package/dist/node_modules/react-scroll/modules/mixins/Helpers.js +0 -192
- package/dist/node_modules/react-scroll/modules/mixins/animate-scroll.js +0 -132
- package/dist/node_modules/react-scroll/modules/mixins/cancel-events.js +0 -20
- package/dist/node_modules/react-scroll/modules/mixins/passive-event-listeners.js +0 -27
- package/dist/node_modules/react-scroll/modules/mixins/scroll-element.js +0 -98
- package/dist/node_modules/react-scroll/modules/mixins/scroll-events.js +0 -23
- package/dist/node_modules/react-scroll/modules/mixins/scroll-hash.js +0 -61
- package/dist/node_modules/react-scroll/modules/mixins/scroll-link.js +0 -171
- package/dist/node_modules/react-scroll/modules/mixins/scroll-spy.js +0 -79
- package/dist/node_modules/react-scroll/modules/mixins/scroller.js +0 -62
- package/dist/node_modules/react-scroll/modules/mixins/smooth.js +0 -72
- package/dist/node_modules/react-scroll/modules/mixins/utils.js +0 -55
- package/dist/package/node_modules/react/cjs/react-jsx-runtime.development.js +0 -604
- package/dist/package/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -28
- package/dist/package/node_modules/react/jsx-runtime.js +0 -10
- package/dist/theme/foundations/animations.js +0 -15
- package/dist/theme/foundations/animations.ts +0 -12
- package/dist/theme/foundations/borders.js +0 -12
- package/dist/theme/foundations/borders.ts +0 -13
- package/dist/theme/foundations/breakpoints.js +0 -11
- package/dist/theme/foundations/breakpoints.ts +0 -10
- package/dist/theme/foundations/colors.js +0 -163
- package/dist/theme/foundations/colors.ts +0 -162
- package/dist/theme/foundations/durations.js +0 -12
- package/dist/theme/foundations/durations.ts +0 -15
- package/dist/theme/foundations/semanticTokens.js +0 -474
- package/dist/theme/foundations/semanticTokens.ts +0 -475
- package/dist/theme/foundations/shadows.js +0 -16
- package/dist/theme/foundations/shadows.ts +0 -19
- package/dist/theme/foundations/typography.js +0 -92
- package/dist/theme/foundations/typography.ts +0 -93
- package/dist/theme/foundations/zIndex.js +0 -24
- package/dist/theme/foundations/zIndex.ts +0 -20
- package/dist/theme/globalCss.js +0 -51
- package/dist/theme/globalCss.ts +0 -57
- package/dist/theme/globals/address-entity.js +0 -34
- package/dist/theme/globals/address-entity.ts +0 -33
- package/dist/theme/globals/recaptcha.js +0 -21
- package/dist/theme/globals/recaptcha.ts +0 -20
- package/dist/theme/globals/scrollbar.js +0 -33
- package/dist/theme/globals/scrollbar.ts +0 -32
- package/dist/theme/index.d.ts +0 -1
- package/dist/theme/index.ts +0 -1
- package/dist/theme/recipes/accordion.recipe.js +0 -143
- package/dist/theme/recipes/accordion.recipe.ts +0 -145
- package/dist/theme/recipes/alert.recipe.js +0 -134
- package/dist/theme/recipes/alert.recipe.ts +0 -138
- package/dist/theme/recipes/badge.recipe.js +0 -119
- package/dist/theme/recipes/badge.recipe.ts +0 -117
- package/dist/theme/recipes/button.recipe.js +0 -272
- package/dist/theme/recipes/button.recipe.ts +0 -270
- package/dist/theme/recipes/checkbox.recipe.js +0 -53
- package/dist/theme/recipes/checkbox.recipe.ts +0 -56
- package/dist/theme/recipes/checkmark.recipe.js +0 -73
- package/dist/theme/recipes/checkmark.recipe.ts +0 -73
- package/dist/theme/recipes/close-button.recipe.js +0 -39
- package/dist/theme/recipes/close-button.recipe.ts +0 -37
- package/dist/theme/recipes/dialog.recipe.js +0 -210
- package/dist/theme/recipes/dialog.recipe.ts +0 -213
- package/dist/theme/recipes/drawer.recipe.js +0 -168
- package/dist/theme/recipes/drawer.recipe.ts +0 -173
- package/dist/theme/recipes/field.recipe.js +0 -174
- package/dist/theme/recipes/field.recipe.ts +0 -175
- package/dist/theme/recipes/index.js +0 -69
- package/dist/theme/recipes/index.ts +0 -68
- package/dist/theme/recipes/input.recipe.js +0 -116
- package/dist/theme/recipes/input.recipe.ts +0 -119
- package/dist/theme/recipes/link.recipe.js +0 -88
- package/dist/theme/recipes/link.recipe.ts +0 -86
- package/dist/theme/recipes/list.recipe.js +0 -65
- package/dist/theme/recipes/list.recipe.ts +0 -67
- package/dist/theme/recipes/menu.recipe.js +0 -104
- package/dist/theme/recipes/menu.recipe.ts +0 -105
- package/dist/theme/recipes/pin-input.recipe.js +0 -34
- package/dist/theme/recipes/pin-input.recipe.ts +0 -35
- package/dist/theme/recipes/popover.recipe.js +0 -72
- package/dist/theme/recipes/popover.recipe.ts +0 -70
- package/dist/theme/recipes/progress-circle.recipe.js +0 -74
- package/dist/theme/recipes/progress-circle.recipe.ts +0 -74
- package/dist/theme/recipes/radio-group.recipe.js +0 -69
- package/dist/theme/recipes/radio-group.recipe.ts +0 -73
- package/dist/theme/recipes/radiomark.recipe.js +0 -87
- package/dist/theme/recipes/radiomark.recipe.ts +0 -91
- package/dist/theme/recipes/rating-group.recipe.js +0 -84
- package/dist/theme/recipes/rating-group.recipe.ts +0 -93
- package/dist/theme/recipes/select.recipe.js +0 -275
- package/dist/theme/recipes/select.recipe.ts +0 -277
- package/dist/theme/recipes/skeleton.recipe.js +0 -54
- package/dist/theme/recipes/skeleton.recipe.ts +0 -55
- package/dist/theme/recipes/spinner.recipe.js +0 -33
- package/dist/theme/recipes/spinner.recipe.ts +0 -31
- package/dist/theme/recipes/stat.recipe.js +0 -101
- package/dist/theme/recipes/stat.recipe.ts +0 -101
- package/dist/theme/recipes/switch.recipe.js +0 -125
- package/dist/theme/recipes/switch.recipe.ts +0 -130
- package/dist/theme/recipes/table.recipe.js +0 -83
- package/dist/theme/recipes/table.recipe.ts +0 -84
- package/dist/theme/recipes/tabs.recipe.js +0 -216
- package/dist/theme/recipes/tabs.recipe.ts +0 -219
- package/dist/theme/recipes/tag.recipe.js +0 -157
- package/dist/theme/recipes/tag.recipe.ts +0 -158
- package/dist/theme/recipes/textarea.recipe.js +0 -86
- package/dist/theme/recipes/textarea.recipe.ts +0 -86
- package/dist/theme/recipes/toast.recipe.js +0 -98
- package/dist/theme/recipes/toast.recipe.ts +0 -97
- package/dist/theme/recipes/tooltip.recipe.js +0 -87
- package/dist/theme/recipes/tooltip.recipe.ts +0 -85
- package/dist/theme/theme.js +0 -40
- package/dist/theme/theme.ts +0 -41
- package/dist/theme/utils/entries.js +0 -11
- package/dist/theme/utils/entries.ts +0 -12
- package/dist/theme.d.ts +0 -2
- package/dist/theme.js +0 -4
- package/dist/types/client/adProviders.js +0 -12
- package/dist/types/client/contract.js +0 -13
- package/dist/types/client/gasTracker.js +0 -7
- package/dist/types/client/navigation.js +0 -4
- package/dist/types/client/rollup.js +0 -11
- package/dist/types/client/txInterpretation.js +0 -8
- package/dist/types/client/validators.js +0 -8
- package/dist/types/client/wallets.js +0 -8
- package/dist/types/homepage.js +0 -15
- package/dist/types/views/address.js +0 -14
- package/dist/types/views/block.js +0 -12
- package/dist/types/views/tx.js +0 -16
- package/dist/ui/shared/forms/validators/url.js +0 -12
- package/dist/utils/getComponentDisplayName.js +0 -7
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils.d.ts +0 -2
- package/dist/utils.js +0 -4
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as t } from "@chakra-ui/react";
|
|
2
|
-
const e = t({
|
|
3
|
-
slots: ["root", "title", "description", "indicator", "actionTrigger", "closeTrigger"],
|
|
4
|
-
base: {
|
|
5
|
-
root: {
|
|
6
|
-
width: "full",
|
|
7
|
-
display: "flex",
|
|
8
|
-
alignItems: "flex-start",
|
|
9
|
-
position: "relative",
|
|
10
|
-
gap: "3",
|
|
11
|
-
py: "3",
|
|
12
|
-
ps: "6",
|
|
13
|
-
pe: "3",
|
|
14
|
-
borderRadius: "md",
|
|
15
|
-
translate: "var(--x) var(--y)",
|
|
16
|
-
scale: "var(--scale)",
|
|
17
|
-
zIndex: "var(--z-index)",
|
|
18
|
-
height: "var(--height)",
|
|
19
|
-
opacity: "var(--opacity)",
|
|
20
|
-
willChange: "translate, opacity, scale",
|
|
21
|
-
transition: "translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",
|
|
22
|
-
transitionTimingFunction: "cubic-bezier(0.21, 1.02, 0.73, 1)",
|
|
23
|
-
_closed: {
|
|
24
|
-
transition: "translate 400ms, scale 400ms, opacity 200ms",
|
|
25
|
-
transitionTimingFunction: "cubic-bezier(0.06, 0.71, 0.55, 1)"
|
|
26
|
-
},
|
|
27
|
-
bg: "toast.bg.info",
|
|
28
|
-
color: "toast.fg",
|
|
29
|
-
boxShadow: "xl",
|
|
30
|
-
"--toast-trigger-bg": "colors.bg.muted",
|
|
31
|
-
"&[data-type=warning]": {
|
|
32
|
-
color: "toast.fg",
|
|
33
|
-
bg: "toast.bg.warning",
|
|
34
|
-
"--toast-trigger-bg": "{white/10}",
|
|
35
|
-
"--toast-border-color": "{white/40}"
|
|
36
|
-
},
|
|
37
|
-
"&[data-type=success]": {
|
|
38
|
-
color: "toast.fg",
|
|
39
|
-
bg: "toast.bg.success",
|
|
40
|
-
"--toast-trigger-bg": "{white/10}",
|
|
41
|
-
"--toast-border-color": "{white/40}"
|
|
42
|
-
},
|
|
43
|
-
"&[data-type=error]": {
|
|
44
|
-
color: "toast.fg",
|
|
45
|
-
bg: "toast.bg.error",
|
|
46
|
-
"--toast-trigger-bg": "{white/10}",
|
|
47
|
-
"--toast-border-color": "{white/40}"
|
|
48
|
-
},
|
|
49
|
-
"&[data-type=info]": {
|
|
50
|
-
color: "toast.fg",
|
|
51
|
-
bg: "toast.bg.info",
|
|
52
|
-
"--toast-trigger-bg": "{white/10}",
|
|
53
|
-
"--toast-border-color": "{white/40}"
|
|
54
|
-
},
|
|
55
|
-
"&[data-type=loading]": {
|
|
56
|
-
color: "toast.fg",
|
|
57
|
-
bg: "toast.bg.info",
|
|
58
|
-
"--toast-trigger-bg": "{white/10}",
|
|
59
|
-
"--toast-border-color": "{white/40}"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
title: {
|
|
63
|
-
fontWeight: "700",
|
|
64
|
-
textStyle: "md",
|
|
65
|
-
marginEnd: "0"
|
|
66
|
-
},
|
|
67
|
-
description: {
|
|
68
|
-
display: "inline",
|
|
69
|
-
textStyle: "md"
|
|
70
|
-
},
|
|
71
|
-
indicator: {
|
|
72
|
-
flexShrink: "0",
|
|
73
|
-
boxSize: "5"
|
|
74
|
-
},
|
|
75
|
-
actionTrigger: {
|
|
76
|
-
textStyle: "sm",
|
|
77
|
-
fontWeight: "medium",
|
|
78
|
-
height: "8",
|
|
79
|
-
px: "3",
|
|
80
|
-
borderRadius: "base",
|
|
81
|
-
alignSelf: "center",
|
|
82
|
-
borderWidth: "1px",
|
|
83
|
-
borderColor: "var(--toast-border-color, inherit)",
|
|
84
|
-
transition: "background 200ms",
|
|
85
|
-
_hover: {
|
|
86
|
-
bg: "var(--toast-trigger-bg)"
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
closeTrigger: {
|
|
90
|
-
position: "static",
|
|
91
|
-
alignSelf: "center",
|
|
92
|
-
color: "closeButton.fg"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
export {
|
|
97
|
-
e as recipe
|
|
98
|
-
};
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe } from '@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export const recipe = defineSlotRecipe({
|
|
4
|
-
slots: [ 'root', 'title', 'description', 'indicator', 'actionTrigger', 'closeTrigger' ],
|
|
5
|
-
base: {
|
|
6
|
-
root: {
|
|
7
|
-
width: 'full',
|
|
8
|
-
display: 'flex',
|
|
9
|
-
alignItems: 'flex-start',
|
|
10
|
-
position: 'relative',
|
|
11
|
-
gap: '3',
|
|
12
|
-
py: '3',
|
|
13
|
-
ps: '6',
|
|
14
|
-
pe: '3',
|
|
15
|
-
borderRadius: 'md',
|
|
16
|
-
translate: 'var(--x) var(--y)',
|
|
17
|
-
scale: 'var(--scale)',
|
|
18
|
-
zIndex: 'var(--z-index)',
|
|
19
|
-
height: 'var(--height)',
|
|
20
|
-
opacity: 'var(--opacity)',
|
|
21
|
-
willChange: 'translate, opacity, scale',
|
|
22
|
-
transition:
|
|
23
|
-
'translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms',
|
|
24
|
-
transitionTimingFunction: 'cubic-bezier(0.21, 1.02, 0.73, 1)',
|
|
25
|
-
_closed: {
|
|
26
|
-
transition: 'translate 400ms, scale 400ms, opacity 200ms',
|
|
27
|
-
transitionTimingFunction: 'cubic-bezier(0.06, 0.71, 0.55, 1)',
|
|
28
|
-
},
|
|
29
|
-
bg: 'toast.bg.info',
|
|
30
|
-
color: 'toast.fg',
|
|
31
|
-
boxShadow: 'xl',
|
|
32
|
-
'--toast-trigger-bg': 'colors.bg.muted',
|
|
33
|
-
'&[data-type=warning]': {
|
|
34
|
-
color: 'toast.fg',
|
|
35
|
-
bg: 'toast.bg.warning',
|
|
36
|
-
'--toast-trigger-bg': '{white/10}',
|
|
37
|
-
'--toast-border-color': '{white/40}',
|
|
38
|
-
},
|
|
39
|
-
'&[data-type=success]': {
|
|
40
|
-
color: 'toast.fg',
|
|
41
|
-
bg: 'toast.bg.success',
|
|
42
|
-
'--toast-trigger-bg': '{white/10}',
|
|
43
|
-
'--toast-border-color': '{white/40}',
|
|
44
|
-
},
|
|
45
|
-
'&[data-type=error]': {
|
|
46
|
-
color: 'toast.fg',
|
|
47
|
-
bg: 'toast.bg.error',
|
|
48
|
-
'--toast-trigger-bg': '{white/10}',
|
|
49
|
-
'--toast-border-color': '{white/40}',
|
|
50
|
-
},
|
|
51
|
-
'&[data-type=info]': {
|
|
52
|
-
color: 'toast.fg',
|
|
53
|
-
bg: 'toast.bg.info',
|
|
54
|
-
'--toast-trigger-bg': '{white/10}',
|
|
55
|
-
'--toast-border-color': '{white/40}',
|
|
56
|
-
},
|
|
57
|
-
'&[data-type=loading]': {
|
|
58
|
-
color: 'toast.fg',
|
|
59
|
-
bg: 'toast.bg.info',
|
|
60
|
-
'--toast-trigger-bg': '{white/10}',
|
|
61
|
-
'--toast-border-color': '{white/40}',
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
title: {
|
|
65
|
-
fontWeight: '700',
|
|
66
|
-
textStyle: 'md',
|
|
67
|
-
marginEnd: '0',
|
|
68
|
-
},
|
|
69
|
-
description: {
|
|
70
|
-
display: 'inline',
|
|
71
|
-
textStyle: 'md',
|
|
72
|
-
},
|
|
73
|
-
indicator: {
|
|
74
|
-
flexShrink: '0',
|
|
75
|
-
boxSize: '5',
|
|
76
|
-
},
|
|
77
|
-
actionTrigger: {
|
|
78
|
-
textStyle: 'sm',
|
|
79
|
-
fontWeight: 'medium',
|
|
80
|
-
height: '8',
|
|
81
|
-
px: '3',
|
|
82
|
-
borderRadius: 'base',
|
|
83
|
-
alignSelf: 'center',
|
|
84
|
-
borderWidth: '1px',
|
|
85
|
-
borderColor: 'var(--toast-border-color, inherit)',
|
|
86
|
-
transition: 'background 200ms',
|
|
87
|
-
_hover: {
|
|
88
|
-
bg: 'var(--toast-trigger-bg)',
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
closeTrigger: {
|
|
92
|
-
position: 'static',
|
|
93
|
-
alignSelf: 'center',
|
|
94
|
-
color: 'closeButton.fg',
|
|
95
|
-
},
|
|
96
|
-
},
|
|
97
|
-
});
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as o } from "@chakra-ui/react";
|
|
2
|
-
const r = o({
|
|
3
|
-
slots: ["content", "arrow", "arrowTip"],
|
|
4
|
-
base: {
|
|
5
|
-
content: {
|
|
6
|
-
px: "2",
|
|
7
|
-
py: "1",
|
|
8
|
-
borderRadius: "sm",
|
|
9
|
-
fontWeight: "500",
|
|
10
|
-
textStyle: "sm",
|
|
11
|
-
textAlign: "center",
|
|
12
|
-
boxShadow: "size.md",
|
|
13
|
-
zIndex: "tooltip",
|
|
14
|
-
maxW: "320px",
|
|
15
|
-
transformOrigin: "var(--transform-origin)",
|
|
16
|
-
_open: {
|
|
17
|
-
animationStyle: "scale-fade-in",
|
|
18
|
-
animationDuration: "fast"
|
|
19
|
-
},
|
|
20
|
-
_closed: {
|
|
21
|
-
animationStyle: "scale-fade-out",
|
|
22
|
-
animationDuration: "fast"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
arrow: {
|
|
26
|
-
"--arrow-size": "sizes.2",
|
|
27
|
-
"--arrow-background": "var(--tooltip-bg)"
|
|
28
|
-
},
|
|
29
|
-
arrowTip: {
|
|
30
|
-
borderTopWidth: "1px",
|
|
31
|
-
borderInlineStartWidth: "1px",
|
|
32
|
-
borderColor: "var(--tooltip-bg)"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
variants: {
|
|
36
|
-
variant: {
|
|
37
|
-
regular: {
|
|
38
|
-
content: {
|
|
39
|
-
"--tooltip-bg": "colors.tooltip.bg",
|
|
40
|
-
bg: "var(--tooltip-bg)",
|
|
41
|
-
color: "tooltip.fg"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
navigation: {
|
|
45
|
-
content: {
|
|
46
|
-
"--tooltip-bg": "colors.tooltip.navigation.bg",
|
|
47
|
-
bg: "var(--tooltip-bg)",
|
|
48
|
-
color: "tooltip.navigation.fg",
|
|
49
|
-
borderWidth: "0",
|
|
50
|
-
borderRadius: "base",
|
|
51
|
-
minW: "120px",
|
|
52
|
-
boxShadow: "none",
|
|
53
|
-
textAlign: "center",
|
|
54
|
-
padding: "15px 12px",
|
|
55
|
-
_selected: {
|
|
56
|
-
color: "tooltip.navigation.fg.selected"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
arrow: {
|
|
60
|
-
display: "none"
|
|
61
|
-
},
|
|
62
|
-
arrowTip: {
|
|
63
|
-
display: "none"
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
popover: {
|
|
67
|
-
content: {
|
|
68
|
-
maxW: "none",
|
|
69
|
-
bg: "popover.bg",
|
|
70
|
-
color: "text.primary",
|
|
71
|
-
p: "4",
|
|
72
|
-
boxShadow: "popover",
|
|
73
|
-
boxShadowColor: "popover.shadow",
|
|
74
|
-
borderRadius: "md",
|
|
75
|
-
textAlign: "left",
|
|
76
|
-
fontWeight: "normal"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
defaultVariants: {
|
|
82
|
-
variant: "regular"
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
export {
|
|
86
|
-
r as recipe
|
|
87
|
-
};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe } from '@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export const recipe = defineSlotRecipe({
|
|
4
|
-
slots: [ 'content', 'arrow', 'arrowTip' ],
|
|
5
|
-
base: {
|
|
6
|
-
content: {
|
|
7
|
-
px: '2',
|
|
8
|
-
py: '1',
|
|
9
|
-
borderRadius: 'sm',
|
|
10
|
-
fontWeight: '500',
|
|
11
|
-
textStyle: 'sm',
|
|
12
|
-
textAlign: 'center',
|
|
13
|
-
boxShadow: 'size.md',
|
|
14
|
-
zIndex: 'tooltip',
|
|
15
|
-
maxW: '320px',
|
|
16
|
-
transformOrigin: 'var(--transform-origin)',
|
|
17
|
-
_open: {
|
|
18
|
-
animationStyle: 'scale-fade-in',
|
|
19
|
-
animationDuration: 'fast',
|
|
20
|
-
},
|
|
21
|
-
_closed: {
|
|
22
|
-
animationStyle: 'scale-fade-out',
|
|
23
|
-
animationDuration: 'fast',
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
arrow: {
|
|
27
|
-
'--arrow-size': 'sizes.2',
|
|
28
|
-
'--arrow-background': 'var(--tooltip-bg)',
|
|
29
|
-
},
|
|
30
|
-
arrowTip: {
|
|
31
|
-
borderTopWidth: '1px',
|
|
32
|
-
borderInlineStartWidth: '1px',
|
|
33
|
-
borderColor: 'var(--tooltip-bg)',
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
variants: {
|
|
37
|
-
variant: {
|
|
38
|
-
regular: {
|
|
39
|
-
content: {
|
|
40
|
-
'--tooltip-bg': 'colors.tooltip.bg',
|
|
41
|
-
bg: 'var(--tooltip-bg)',
|
|
42
|
-
color: 'tooltip.fg',
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
navigation: {
|
|
46
|
-
content: {
|
|
47
|
-
'--tooltip-bg': 'colors.tooltip.navigation.bg',
|
|
48
|
-
bg: 'var(--tooltip-bg)',
|
|
49
|
-
color: 'tooltip.navigation.fg',
|
|
50
|
-
borderWidth: '0',
|
|
51
|
-
borderRadius: 'base',
|
|
52
|
-
minW: '120px',
|
|
53
|
-
boxShadow: 'none',
|
|
54
|
-
textAlign: 'center',
|
|
55
|
-
padding: '15px 12px',
|
|
56
|
-
_selected: {
|
|
57
|
-
color: 'tooltip.navigation.fg.selected',
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
arrow: {
|
|
61
|
-
display: 'none',
|
|
62
|
-
},
|
|
63
|
-
arrowTip: {
|
|
64
|
-
display: 'none',
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
popover: {
|
|
68
|
-
content: {
|
|
69
|
-
maxW: 'none',
|
|
70
|
-
bg: 'popover.bg',
|
|
71
|
-
color: 'text.primary',
|
|
72
|
-
p: '4',
|
|
73
|
-
boxShadow: 'popover',
|
|
74
|
-
boxShadowColor: 'popover.shadow',
|
|
75
|
-
borderRadius: 'md',
|
|
76
|
-
textAlign: 'left',
|
|
77
|
-
fontWeight: 'normal',
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
defaultVariants: {
|
|
83
|
-
variant: 'regular',
|
|
84
|
-
},
|
|
85
|
-
});
|
package/dist/theme/theme.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { defineConfig as o, createSystem as m, defaultConfig as r } from "@chakra-ui/react";
|
|
2
|
-
import { keyframes as e } from "./foundations/animations.js";
|
|
3
|
-
import * as t from "./foundations/borders.js";
|
|
4
|
-
import s from "./foundations/breakpoints.js";
|
|
5
|
-
import i from "./foundations/colors.js";
|
|
6
|
-
import f from "./foundations/durations.js";
|
|
7
|
-
import a from "./foundations/semanticTokens.js";
|
|
8
|
-
import p from "./foundations/shadows.js";
|
|
9
|
-
import { fonts as n, textStyles as l } from "./foundations/typography.js";
|
|
10
|
-
import { zIndex as d } from "./foundations/zIndex.js";
|
|
11
|
-
import u from "./globalCss.js";
|
|
12
|
-
import { slotRecipes as c, recipes as b } from "./recipes/index.js";
|
|
13
|
-
const g = o({
|
|
14
|
-
globalCss: u,
|
|
15
|
-
theme: {
|
|
16
|
-
breakpoints: s,
|
|
17
|
-
keyframes: e,
|
|
18
|
-
recipes: b,
|
|
19
|
-
slotRecipes: c,
|
|
20
|
-
semanticTokens: a,
|
|
21
|
-
textStyles: l,
|
|
22
|
-
tokens: {
|
|
23
|
-
...t,
|
|
24
|
-
colors: i,
|
|
25
|
-
durations: f,
|
|
26
|
-
fonts: n,
|
|
27
|
-
shadows: p,
|
|
28
|
-
zIndex: d,
|
|
29
|
-
fontWeights: {
|
|
30
|
-
normal: { value: "400" },
|
|
31
|
-
medium: { value: "500" },
|
|
32
|
-
semibold: { value: "600" },
|
|
33
|
-
bold: { value: "700" }
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}), T = m(r, g);
|
|
38
|
-
export {
|
|
39
|
-
T as default
|
|
40
|
-
};
|
package/dist/theme/theme.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { createSystem, defaultConfig, defineConfig } from '@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
import { keyframes } from './foundations/animations';
|
|
4
|
-
import * as borders from './foundations/borders';
|
|
5
|
-
import breakpoints from './foundations/breakpoints';
|
|
6
|
-
import colors from './foundations/colors';
|
|
7
|
-
import durations from './foundations/durations';
|
|
8
|
-
import semanticTokens from './foundations/semanticTokens';
|
|
9
|
-
import shadows from './foundations/shadows';
|
|
10
|
-
import { fonts, textStyles } from './foundations/typography';
|
|
11
|
-
import zIndex from './foundations/zIndex';
|
|
12
|
-
import globalCss from './globalCss';
|
|
13
|
-
import { recipes, slotRecipes } from './recipes';
|
|
14
|
-
|
|
15
|
-
const customConfig = defineConfig({
|
|
16
|
-
globalCss,
|
|
17
|
-
theme: {
|
|
18
|
-
breakpoints,
|
|
19
|
-
keyframes,
|
|
20
|
-
recipes,
|
|
21
|
-
slotRecipes,
|
|
22
|
-
semanticTokens,
|
|
23
|
-
textStyles,
|
|
24
|
-
tokens: {
|
|
25
|
-
...borders,
|
|
26
|
-
colors,
|
|
27
|
-
durations,
|
|
28
|
-
fonts,
|
|
29
|
-
shadows,
|
|
30
|
-
zIndex,
|
|
31
|
-
fontWeights: {
|
|
32
|
-
normal: { value: '400' },
|
|
33
|
-
medium: { value: '500' },
|
|
34
|
-
semibold: { value: '600' },
|
|
35
|
-
bold: { value: '700' },
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
export default createSystem(defaultConfig, customConfig);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// https://github.com/chakra-ui/chakra-ui/blob/main/packages/react/src/utils/entries.ts#L1
|
|
2
|
-
export function mapEntries<A, B, K extends string | number | symbol>(
|
|
3
|
-
obj: { [key in K]: A },
|
|
4
|
-
f: (key: K, val: A) => [K, B],
|
|
5
|
-
): { [key in K]: B } {
|
|
6
|
-
const result: { [key in K]: B } = {} as unknown as { [key in K]: B };
|
|
7
|
-
for (const key in obj) {
|
|
8
|
-
const kv = f(key, obj[key]);
|
|
9
|
-
result[kv[0]] = kv[1];
|
|
10
|
-
}
|
|
11
|
-
return result;
|
|
12
|
-
}
|
package/dist/theme.d.ts
DELETED
package/dist/theme.js
DELETED
package/dist/types/homepage.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const t = [
|
|
2
|
-
"latest_batch",
|
|
3
|
-
"total_blocks",
|
|
4
|
-
"average_block_time",
|
|
5
|
-
"total_txs",
|
|
6
|
-
"total_operational_txs",
|
|
7
|
-
"latest_l1_state_batch",
|
|
8
|
-
"wallet_addresses",
|
|
9
|
-
"gas_tracker",
|
|
10
|
-
"btc_locked",
|
|
11
|
-
"current_epoch"
|
|
12
|
-
];
|
|
13
|
-
export {
|
|
14
|
-
t as HOME_STATS_WIDGET_IDS
|
|
15
|
-
};
|
package/dist/types/views/tx.js
DELETED
package/dist/utils/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as getComponentDisplayName } from './getComponentDisplayName';
|
package/dist/utils.d.ts
DELETED
package/dist/utils.js
DELETED