@blockscout/ui-toolkit 0.0.1-alpha.0 → 0.0.1-alpha.2
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 +8 -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/index.d.ts +2 -0
- package/dist/index.js +9284 -0
- package/dist/package/src/index.d.ts +7 -11
- package/dist/theme/foundations/semanticTokens.ts +1 -5
- package/dist/theme/recipes/alert.recipe.d.ts +6 -46
- package/dist/theme/recipes/alert.recipe.ts +45 -48
- package/dist/theme/recipes/badge.recipe.d.ts +11 -44
- package/dist/theme/recipes/badge.recipe.ts +11 -45
- package/dist/theme/recipes/button.recipe.d.ts +17 -20
- package/dist/theme/recipes/button.recipe.ts +42 -27
- package/dist/theme/recipes/close-button.recipe.d.ts +0 -3
- package/dist/theme/recipes/close-button.recipe.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/link.recipe.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/popover.recipe.ts +4 -3
- package/dist/theme/recipes/select.recipe.d.ts +1 -1
- package/dist/theme/recipes/skeleton.recipe.d.ts +5 -6
- package/dist/theme/recipes/skeleton.recipe.ts +10 -9
- package/dist/theme/recipes/table.recipe.d.ts +1 -1
- package/dist/theme/recipes/tag.recipe.d.ts +0 -12
- package/dist/theme/recipes/tag.recipe.ts +0 -13
- package/dist/theme/recipes/toast.recipe.d.ts +1 -1
- package/package.json +14 -26
- package/dist/_virtual/Button.js +0 -4
- package/dist/_virtual/Element.js +0 -4
- package/dist/_virtual/Link2.js +0 -4
- package/dist/_virtual/_commonjsHelpers.js +0 -8
- package/dist/_virtual/_interop_require_default.js +0 -4
- package/dist/_virtual/_interop_require_wildcard.js +0 -4
- package/dist/_virtual/add-base-path.js +0 -4
- package/dist/_virtual/add-locale.js +0 -4
- package/dist/_virtual/add-locale2.js +0 -4
- package/dist/_virtual/add-path-prefix.js +0 -4
- package/dist/_virtual/animate-scroll.js +0 -4
- package/dist/_virtual/app-paths.js +0 -4
- package/dist/_virtual/cancel-events.js +0 -4
- package/dist/_virtual/constants.js +0 -4
- package/dist/_virtual/detect-domain-locale.js +0 -4
- package/dist/_virtual/detect-domain-locale2.js +0 -4
- package/dist/_virtual/ensure-leading-slash.js +0 -4
- package/dist/_virtual/escape-regexp.js +0 -4
- package/dist/_virtual/format-url.js +0 -4
- package/dist/_virtual/get-domain-locale.js +0 -4
- package/dist/_virtual/has-base-path.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/index5.js +0 -4
- package/dist/_virtual/interception-routes.js +0 -4
- package/dist/_virtual/interpolate-as.js +0 -4
- package/dist/_virtual/is-dynamic.js +0 -4
- package/dist/_virtual/is-local-url.js +0 -4
- package/dist/_virtual/jsx-runtime.js +0 -5
- package/dist/_virtual/jsx-runtime2.js +0 -4
- package/dist/_virtual/link.js +0 -7
- package/dist/_virtual/link3.js +0 -4
- package/dist/_virtual/normalize-locale-path.js +0 -4
- package/dist/_virtual/normalize-locale-path2.js +0 -4
- package/dist/_virtual/normalize-trailing-slash.js +0 -4
- package/dist/_virtual/omit.js +0 -4
- package/dist/_virtual/parse-path.js +0 -4
- package/dist/_virtual/passive-event-listeners.js +0 -4
- package/dist/_virtual/path-has-prefix.js +0 -4
- package/dist/_virtual/querystring.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/remove-trailing-slash.js +0 -4
- package/dist/_virtual/request-idle-callback.js +0 -4
- package/dist/_virtual/resolve-href.js +0 -4
- package/dist/_virtual/route-matcher.js +0 -4
- package/dist/_virtual/route-regex.js +0 -4
- package/dist/_virtual/router-context.shared-runtime.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/segment.js +0 -4
- package/dist/_virtual/smooth.js +0 -4
- package/dist/_virtual/sorted-routes.js +0 -4
- package/dist/_virtual/use-intersection.js +0 -4
- package/dist/_virtual/use-merged-ref.js +0 -4
- package/dist/_virtual/utils.js +0 -4
- package/dist/_virtual/utils2.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.js +0 -22
- package/dist/components/Filter/FilterInput.js +0 -48
- package/dist/components/TruncatedTextTooltip.js +0 -49
- 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/@swc/helpers/cjs/_interop_require_default.js +0 -13
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -30
- 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/next/dist/client/add-base-path.js +0 -24
- package/dist/node_modules/next/dist/client/add-locale.js +0 -25
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -25
- package/dist/node_modules/next/dist/client/get-domain-locale.js +0 -33
- package/dist/node_modules/next/dist/client/has-base-path.js +0 -23
- package/dist/node_modules/next/dist/client/link.js +0 -249
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +0 -23
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -26
- package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -40
- package/dist/node_modules/next/dist/client/resolve-href.js +0 -67
- package/dist/node_modules/next/dist/client/use-intersection.js +0 -85
- package/dist/node_modules/next/dist/client/use-merged-ref.js +0 -44
- package/dist/node_modules/next/dist/lib/constants.js +0 -285
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -21
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -28
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -37
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -20
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -39
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -57
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -90
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -49
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -22
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -29
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -23
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -29
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -64
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -20
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -42
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -167
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -154
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -21
- package/dist/node_modules/next/dist/shared/lib/segment.js +0 -49
- package/dist/node_modules/next/dist/shared/lib/utils.js +0 -166
- package/dist/node_modules/next/link.js +0 -8
- package/dist/node_modules/next-themes/dist/index.js +0 -85
- 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/borders.js +0 -12
- package/dist/theme/foundations/breakpoints.js +0 -11
- package/dist/theme/foundations/colors.js +0 -163
- package/dist/theme/foundations/durations.js +0 -12
- package/dist/theme/foundations/semanticTokens.js +0 -474
- package/dist/theme/foundations/shadows.js +0 -16
- package/dist/theme/foundations/typography.js +0 -92
- package/dist/theme/foundations/zIndex.js +0 -24
- package/dist/theme/globalCss.js +0 -51
- package/dist/theme/globals/address-entity.js +0 -34
- package/dist/theme/globals/recaptcha.js +0 -21
- package/dist/theme/globals/scrollbar.js +0 -33
- 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/alert.recipe.js +0 -134
- package/dist/theme/recipes/badge.recipe.js +0 -119
- package/dist/theme/recipes/button.recipe.js +0 -272
- package/dist/theme/recipes/checkbox.recipe.js +0 -53
- package/dist/theme/recipes/checkmark.recipe.js +0 -73
- package/dist/theme/recipes/close-button.recipe.js +0 -39
- package/dist/theme/recipes/dialog.recipe.js +0 -210
- package/dist/theme/recipes/drawer.recipe.js +0 -168
- package/dist/theme/recipes/field.recipe.js +0 -174
- package/dist/theme/recipes/index.js +0 -69
- package/dist/theme/recipes/input.recipe.js +0 -116
- package/dist/theme/recipes/link.recipe.js +0 -88
- package/dist/theme/recipes/list.recipe.js +0 -65
- package/dist/theme/recipes/menu.recipe.js +0 -104
- package/dist/theme/recipes/pin-input.recipe.js +0 -34
- package/dist/theme/recipes/popover.recipe.js +0 -72
- package/dist/theme/recipes/progress-circle.recipe.js +0 -74
- package/dist/theme/recipes/radio-group.recipe.js +0 -69
- package/dist/theme/recipes/radiomark.recipe.js +0 -87
- package/dist/theme/recipes/rating-group.recipe.js +0 -84
- package/dist/theme/recipes/select.recipe.js +0 -275
- package/dist/theme/recipes/skeleton.recipe.js +0 -54
- package/dist/theme/recipes/spinner.recipe.js +0 -33
- package/dist/theme/recipes/stat.recipe.js +0 -101
- package/dist/theme/recipes/switch.recipe.js +0 -125
- package/dist/theme/recipes/table.recipe.js +0 -83
- package/dist/theme/recipes/tabs.recipe.js +0 -216
- package/dist/theme/recipes/tag.recipe.js +0 -157
- package/dist/theme/recipes/textarea.recipe.js +0 -86
- package/dist/theme/recipes/toast.recipe.js +0 -98
- package/dist/theme/recipes/tooltip.recipe.js +0 -87
- package/dist/theme/theme.js +0 -40
- package/dist/theme/utils/entries.js +0 -11
- 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,104 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as e } from "@chakra-ui/react";
|
|
2
|
-
const i = e({
|
|
3
|
-
slots: ["content", "item", "itemText", "itemGroupLabel", "indicator", "itemCommand", "separator"],
|
|
4
|
-
base: {
|
|
5
|
-
content: {
|
|
6
|
-
outline: 0,
|
|
7
|
-
bg: "popover.bg",
|
|
8
|
-
boxShadow: "popover",
|
|
9
|
-
color: "initial",
|
|
10
|
-
maxHeight: "var(--available-height)",
|
|
11
|
-
"--menu-z-index": "zIndex.dropdown",
|
|
12
|
-
zIndex: "calc(var(--menu-z-index) + var(--layer-index, 0))",
|
|
13
|
-
borderRadius: "md",
|
|
14
|
-
overflow: "hidden",
|
|
15
|
-
overflowY: "auto",
|
|
16
|
-
_open: {
|
|
17
|
-
animationStyle: "slide-fade-in",
|
|
18
|
-
animationDuration: "fast"
|
|
19
|
-
},
|
|
20
|
-
_closed: {
|
|
21
|
-
animationStyle: "slide-fade-out",
|
|
22
|
-
animationDuration: "faster"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
item: {
|
|
26
|
-
textDecoration: "none",
|
|
27
|
-
color: "initial",
|
|
28
|
-
userSelect: "none",
|
|
29
|
-
borderRadius: "none",
|
|
30
|
-
width: "100%",
|
|
31
|
-
display: "flex",
|
|
32
|
-
cursor: "pointer",
|
|
33
|
-
alignItems: "center",
|
|
34
|
-
textAlign: "start",
|
|
35
|
-
position: "relative",
|
|
36
|
-
flex: "0 0 auto",
|
|
37
|
-
outline: 0,
|
|
38
|
-
_disabled: {
|
|
39
|
-
layerStyle: "disabled"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
itemText: {
|
|
43
|
-
flex: "1"
|
|
44
|
-
},
|
|
45
|
-
itemGroupLabel: {
|
|
46
|
-
px: "2",
|
|
47
|
-
py: "1.5",
|
|
48
|
-
fontWeight: "semibold",
|
|
49
|
-
textStyle: "sm"
|
|
50
|
-
},
|
|
51
|
-
indicator: {
|
|
52
|
-
display: "inline-flex",
|
|
53
|
-
alignItems: "center",
|
|
54
|
-
justifyContent: "center",
|
|
55
|
-
flexShrink: "0"
|
|
56
|
-
},
|
|
57
|
-
itemCommand: {
|
|
58
|
-
opacity: "0.6",
|
|
59
|
-
textStyle: "xs",
|
|
60
|
-
ms: "auto",
|
|
61
|
-
ps: "4",
|
|
62
|
-
letterSpacing: "widest"
|
|
63
|
-
},
|
|
64
|
-
separator: {
|
|
65
|
-
height: "1px",
|
|
66
|
-
bg: "bg.muted",
|
|
67
|
-
my: "1",
|
|
68
|
-
mx: "-1"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
variants: {
|
|
72
|
-
variant: {
|
|
73
|
-
subtle: {
|
|
74
|
-
item: {
|
|
75
|
-
_highlighted: {
|
|
76
|
-
bg: "menu.item.bg.highlighted"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
size: {
|
|
82
|
-
md: {
|
|
83
|
-
content: {
|
|
84
|
-
minW: "150px",
|
|
85
|
-
py: "2",
|
|
86
|
-
px: "0"
|
|
87
|
-
},
|
|
88
|
-
item: {
|
|
89
|
-
gap: "2",
|
|
90
|
-
textStyle: "md",
|
|
91
|
-
py: "2",
|
|
92
|
-
px: "4"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
defaultVariants: {
|
|
98
|
-
size: "md",
|
|
99
|
-
variant: "subtle"
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
export {
|
|
103
|
-
i as recipe
|
|
104
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as r } from "@chakra-ui/react";
|
|
2
|
-
import { mapEntries as a } from "../utils/entries.js";
|
|
3
|
-
import { recipe as i } from "./input.recipe.js";
|
|
4
|
-
const { variants: n } = i, m = r({
|
|
5
|
-
slots: ["input"],
|
|
6
|
-
base: {
|
|
7
|
-
input: {
|
|
8
|
-
...i.base,
|
|
9
|
-
textAlign: "center",
|
|
10
|
-
width: "var(--input-height)"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
variants: {
|
|
14
|
-
size: {
|
|
15
|
-
md: {
|
|
16
|
-
input: {
|
|
17
|
-
boxSize: 10,
|
|
18
|
-
borderRadius: "base"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
variant: a(n.variant, (t, e) => [
|
|
23
|
-
t,
|
|
24
|
-
{ input: e }
|
|
25
|
-
])
|
|
26
|
-
},
|
|
27
|
-
defaultVariants: {
|
|
28
|
-
size: "md",
|
|
29
|
-
variant: "outline"
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
export {
|
|
33
|
-
m as recipe
|
|
34
|
-
};
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as o } from "@chakra-ui/react";
|
|
2
|
-
const r = o({
|
|
3
|
-
slots: ["content", "header", "body", "footer", "arrow", "arrowTip"],
|
|
4
|
-
base: {
|
|
5
|
-
content: {
|
|
6
|
-
position: "relative",
|
|
7
|
-
display: "flex",
|
|
8
|
-
flexDirection: "column",
|
|
9
|
-
textStyle: "sm",
|
|
10
|
-
"--popover-bg": "colors.popover.bg",
|
|
11
|
-
bg: "var(--popover-bg)",
|
|
12
|
-
boxShadow: "popover",
|
|
13
|
-
boxShadowColor: "colors.popover.shadow",
|
|
14
|
-
"--popover-mobile-size": "calc(100dvw - 1rem)",
|
|
15
|
-
width: {
|
|
16
|
-
base: "min(var(--popover-mobile-size), var(--popover-size))",
|
|
17
|
-
lg: "fit-content"
|
|
18
|
-
},
|
|
19
|
-
borderWidth: "0",
|
|
20
|
-
borderRadius: "md",
|
|
21
|
-
"--popover-z-index": "zIndex.popover",
|
|
22
|
-
zIndex: "calc(var(--popover-z-index) + var(--layer-index, 0))",
|
|
23
|
-
outline: "0",
|
|
24
|
-
transformOrigin: "var(--transform-origin)",
|
|
25
|
-
_open: {
|
|
26
|
-
animationStyle: "scale-fade-in",
|
|
27
|
-
animationDuration: "fast"
|
|
28
|
-
},
|
|
29
|
-
_closed: {
|
|
30
|
-
animationStyle: "scale-fade-out",
|
|
31
|
-
animationDuration: "faster"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
header: {
|
|
35
|
-
paddingInline: "var(--popover-padding)",
|
|
36
|
-
paddingTop: "var(--popover-padding)"
|
|
37
|
-
},
|
|
38
|
-
body: {
|
|
39
|
-
padding: "var(--popover-padding)",
|
|
40
|
-
flex: "1"
|
|
41
|
-
},
|
|
42
|
-
footer: {
|
|
43
|
-
display: "flex",
|
|
44
|
-
alignItems: "center",
|
|
45
|
-
paddingInline: "var(--popover-padding)",
|
|
46
|
-
paddingBottom: "var(--popover-padding)"
|
|
47
|
-
},
|
|
48
|
-
arrow: {
|
|
49
|
-
"--arrow-size": "sizes.3",
|
|
50
|
-
"--arrow-background": "var(--popover-bg)"
|
|
51
|
-
},
|
|
52
|
-
arrowTip: {
|
|
53
|
-
borderTopWidth: "1px",
|
|
54
|
-
borderInlineStartWidth: "1px"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
variants: {
|
|
58
|
-
size: {
|
|
59
|
-
sm: {
|
|
60
|
-
content: {
|
|
61
|
-
"--popover-padding": "spacing.4"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
defaultVariants: {
|
|
67
|
-
size: "sm"
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
export {
|
|
71
|
-
r as recipe
|
|
72
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as e } from "@chakra-ui/react";
|
|
2
|
-
const t = e({
|
|
3
|
-
slots: ["root", "circle", "circleTrack", "circleRange", "label", "valueText"],
|
|
4
|
-
base: {
|
|
5
|
-
root: {
|
|
6
|
-
display: "inline-flex",
|
|
7
|
-
textStyle: "sm",
|
|
8
|
-
position: "relative"
|
|
9
|
-
},
|
|
10
|
-
circle: {
|
|
11
|
-
_indeterminate: {
|
|
12
|
-
animation: "spin 2s linear infinite"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
circleTrack: {
|
|
16
|
-
"--track-color": "colors.progressCircle.trackColor",
|
|
17
|
-
stroke: "var(--track-color)"
|
|
18
|
-
},
|
|
19
|
-
circleRange: {
|
|
20
|
-
stroke: "blue.500",
|
|
21
|
-
transitionProperty: "stroke-dasharray",
|
|
22
|
-
transitionDuration: "0.6s",
|
|
23
|
-
_indeterminate: {
|
|
24
|
-
animation: "circular-progress 1.5s linear infinite"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
label: {
|
|
28
|
-
display: "inline-flex"
|
|
29
|
-
},
|
|
30
|
-
valueText: {
|
|
31
|
-
lineHeight: "1",
|
|
32
|
-
fontWeight: "medium",
|
|
33
|
-
letterSpacing: "tight",
|
|
34
|
-
fontVariantNumeric: "tabular-nums"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
variants: {
|
|
38
|
-
size: {
|
|
39
|
-
sm: {
|
|
40
|
-
circle: {
|
|
41
|
-
"--size": "20px",
|
|
42
|
-
"--thickness": "2px"
|
|
43
|
-
},
|
|
44
|
-
valueText: {
|
|
45
|
-
textStyle: "xs"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
md: {
|
|
49
|
-
circle: {
|
|
50
|
-
"--size": "32px",
|
|
51
|
-
"--thickness": "3px"
|
|
52
|
-
},
|
|
53
|
-
valueText: {
|
|
54
|
-
textStyle: "xs"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
lg: {
|
|
58
|
-
circle: {
|
|
59
|
-
"--size": "80px",
|
|
60
|
-
"--thickness": "8px"
|
|
61
|
-
},
|
|
62
|
-
valueText: {
|
|
63
|
-
textStyle: "sm"
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
defaultVariants: {
|
|
69
|
-
size: "md"
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
export {
|
|
73
|
-
t as recipe
|
|
74
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as a } from "@chakra-ui/react";
|
|
2
|
-
import { recipe as e } from "./radiomark.recipe.js";
|
|
3
|
-
var t, i, o, r;
|
|
4
|
-
const s = a({
|
|
5
|
-
slots: ["item", "itemControl", "itemText", "root"],
|
|
6
|
-
base: {
|
|
7
|
-
root: {
|
|
8
|
-
display: "flex"
|
|
9
|
-
},
|
|
10
|
-
item: {
|
|
11
|
-
display: "inline-flex",
|
|
12
|
-
alignItems: "center",
|
|
13
|
-
position: "relative",
|
|
14
|
-
fontWeight: "normal",
|
|
15
|
-
cursor: "pointer",
|
|
16
|
-
_disabled: {
|
|
17
|
-
cursor: "disabled"
|
|
18
|
-
},
|
|
19
|
-
_readOnly: {
|
|
20
|
-
cursor: "default"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
itemControl: e.base,
|
|
24
|
-
itemText: {
|
|
25
|
-
userSelect: "none",
|
|
26
|
-
textStyle: "md",
|
|
27
|
-
_disabled: {
|
|
28
|
-
opacity: "control.disabled"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
variants: {
|
|
33
|
-
variant: {
|
|
34
|
-
solid: {
|
|
35
|
-
itemControl: (i = (t = e.variants) == null ? void 0 : t.variant) == null ? void 0 : i.solid
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
size: {
|
|
39
|
-
md: {
|
|
40
|
-
item: { textStyle: "md", gap: "2" },
|
|
41
|
-
itemControl: (r = (o = e.variants) == null ? void 0 : o.size) == null ? void 0 : r.md
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
orientation: {
|
|
45
|
-
vertical: {
|
|
46
|
-
root: {
|
|
47
|
-
flexDirection: "column",
|
|
48
|
-
alignItems: "flex-start",
|
|
49
|
-
rowGap: "12px"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
horizontal: {
|
|
53
|
-
root: {
|
|
54
|
-
flexDirection: "row",
|
|
55
|
-
alignItems: "center",
|
|
56
|
-
columnGap: "32px"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
defaultVariants: {
|
|
62
|
-
size: "md",
|
|
63
|
-
variant: "solid",
|
|
64
|
-
orientation: "vertical"
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
export {
|
|
68
|
-
s as recipe
|
|
69
|
-
};
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { defineRecipe as r } from "@chakra-ui/react";
|
|
2
|
-
const e = r({
|
|
3
|
-
base: {
|
|
4
|
-
display: "inline-flex",
|
|
5
|
-
alignItems: "center",
|
|
6
|
-
justifyContent: "center",
|
|
7
|
-
flexShrink: 0,
|
|
8
|
-
verticalAlign: "top",
|
|
9
|
-
color: "white",
|
|
10
|
-
borderWidth: "2px",
|
|
11
|
-
borderColor: "transparent",
|
|
12
|
-
borderRadius: "full",
|
|
13
|
-
_focusVisible: {
|
|
14
|
-
outline: "2px solid",
|
|
15
|
-
outlineColor: "colorPalette.focusRing",
|
|
16
|
-
outlineOffset: "2px"
|
|
17
|
-
},
|
|
18
|
-
_disabled: {
|
|
19
|
-
cursor: "disabled",
|
|
20
|
-
opacity: "control.disabled"
|
|
21
|
-
},
|
|
22
|
-
"& .dot": {
|
|
23
|
-
height: "100%",
|
|
24
|
-
width: "100%",
|
|
25
|
-
borderRadius: "full",
|
|
26
|
-
bg: "currentColor",
|
|
27
|
-
scale: "0.4"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
variants: {
|
|
31
|
-
variant: {
|
|
32
|
-
solid: {
|
|
33
|
-
borderWidth: "2px",
|
|
34
|
-
borderColor: "radio.control.border",
|
|
35
|
-
_hover: {
|
|
36
|
-
borderColor: "radio.control.border.hover"
|
|
37
|
-
},
|
|
38
|
-
_checked: {
|
|
39
|
-
bg: "blue.500",
|
|
40
|
-
color: "white",
|
|
41
|
-
borderColor: "blue.500",
|
|
42
|
-
_hover: {
|
|
43
|
-
bg: "blue.400",
|
|
44
|
-
borderColor: "blue.400"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
_invalid: {
|
|
48
|
-
bg: "red.500",
|
|
49
|
-
borderColor: "red.500"
|
|
50
|
-
},
|
|
51
|
-
_readOnly: {
|
|
52
|
-
borderColor: "radio.control.border.readOnly",
|
|
53
|
-
_hover: {
|
|
54
|
-
borderColor: "radio.control.border.readOnly"
|
|
55
|
-
},
|
|
56
|
-
_checked: {
|
|
57
|
-
bg: "radio.control.border.readOnly",
|
|
58
|
-
_hover: {
|
|
59
|
-
bg: "radio.control.border.readOnly"
|
|
60
|
-
},
|
|
61
|
-
"& .dot": {
|
|
62
|
-
bg: "gray.500"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
size: {
|
|
69
|
-
xs: {
|
|
70
|
-
boxSize: "3"
|
|
71
|
-
},
|
|
72
|
-
sm: {
|
|
73
|
-
boxSize: "4"
|
|
74
|
-
},
|
|
75
|
-
md: {
|
|
76
|
-
boxSize: "5"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
defaultVariants: {
|
|
81
|
-
variant: "solid",
|
|
82
|
-
size: "md"
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
export {
|
|
86
|
-
e as recipe
|
|
87
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as t } from "@chakra-ui/react";
|
|
2
|
-
const i = t({
|
|
3
|
-
className: "chakra-rating-group",
|
|
4
|
-
slots: ["root", "control", "item", "itemIndicator"],
|
|
5
|
-
base: {
|
|
6
|
-
root: {
|
|
7
|
-
display: "inline-flex",
|
|
8
|
-
alignItems: "center",
|
|
9
|
-
columnGap: 3
|
|
10
|
-
},
|
|
11
|
-
control: {
|
|
12
|
-
display: "inline-flex",
|
|
13
|
-
alignItems: "center",
|
|
14
|
-
gap: 1
|
|
15
|
-
},
|
|
16
|
-
item: {
|
|
17
|
-
display: "inline-flex",
|
|
18
|
-
alignItems: "center",
|
|
19
|
-
justifyContent: "center",
|
|
20
|
-
userSelect: "none",
|
|
21
|
-
cursor: "pointer",
|
|
22
|
-
_icon: {
|
|
23
|
-
width: "100%",
|
|
24
|
-
height: "100%",
|
|
25
|
-
display: "inline-block",
|
|
26
|
-
flexShrink: 0,
|
|
27
|
-
position: "absolute",
|
|
28
|
-
left: 0,
|
|
29
|
-
top: 0
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
itemIndicator: {
|
|
33
|
-
display: "inline-flex",
|
|
34
|
-
alignItems: "center",
|
|
35
|
-
justifyContent: "center",
|
|
36
|
-
position: "relative",
|
|
37
|
-
_icon: {
|
|
38
|
-
stroke: "none",
|
|
39
|
-
width: "100%",
|
|
40
|
-
height: "100%",
|
|
41
|
-
display: "inline-block",
|
|
42
|
-
flexShrink: 0,
|
|
43
|
-
position: "absolute",
|
|
44
|
-
left: 0,
|
|
45
|
-
top: 0
|
|
46
|
-
},
|
|
47
|
-
"& [data-bg]": {
|
|
48
|
-
color: "rating"
|
|
49
|
-
},
|
|
50
|
-
"& [data-fg]": {
|
|
51
|
-
color: "transparent"
|
|
52
|
-
},
|
|
53
|
-
"&[data-highlighted]:not([data-half])": {
|
|
54
|
-
"& [data-fg]": {
|
|
55
|
-
color: "rating.highlighted"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"&[data-half]": {
|
|
59
|
-
"& [data-fg]": {
|
|
60
|
-
color: "rating.highlighted",
|
|
61
|
-
clipPath: "inset(0 50% 0 0)"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
variants: {
|
|
67
|
-
size: {
|
|
68
|
-
md: {
|
|
69
|
-
item: {
|
|
70
|
-
boxSize: 5
|
|
71
|
-
},
|
|
72
|
-
root: {
|
|
73
|
-
textStyle: "md"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
defaultVariants: {
|
|
79
|
-
size: "md"
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
export {
|
|
83
|
-
i as recipe
|
|
84
|
-
};
|