@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,168 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as e } from "@chakra-ui/react";
|
|
2
|
-
const o = e({
|
|
3
|
-
slots: ["root", "backdrop", "trigger", "content", "header", "body", "footer", "title", "description", "positioner"],
|
|
4
|
-
className: "chakra-drawer",
|
|
5
|
-
base: {
|
|
6
|
-
backdrop: {
|
|
7
|
-
bg: "blackAlpha.800",
|
|
8
|
-
pos: "fixed",
|
|
9
|
-
insetInlineStart: 0,
|
|
10
|
-
top: 0,
|
|
11
|
-
w: "100vw",
|
|
12
|
-
h: "100dvh",
|
|
13
|
-
zIndex: "modal",
|
|
14
|
-
_open: {
|
|
15
|
-
animationName: "fade-in",
|
|
16
|
-
animationDuration: "slow"
|
|
17
|
-
},
|
|
18
|
-
_closed: {
|
|
19
|
-
animationName: "fade-out",
|
|
20
|
-
animationDuration: "moderate"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
positioner: {
|
|
24
|
-
display: "flex",
|
|
25
|
-
width: "100vw",
|
|
26
|
-
height: "100dvh",
|
|
27
|
-
position: "fixed",
|
|
28
|
-
insetInlineStart: 0,
|
|
29
|
-
top: 0,
|
|
30
|
-
zIndex: "modal",
|
|
31
|
-
overscrollBehaviorY: "none"
|
|
32
|
-
},
|
|
33
|
-
content: {
|
|
34
|
-
display: "flex",
|
|
35
|
-
flexDirection: "column",
|
|
36
|
-
position: "relative",
|
|
37
|
-
width: "100%",
|
|
38
|
-
outline: 0,
|
|
39
|
-
zIndex: "modal",
|
|
40
|
-
textStyle: "sm",
|
|
41
|
-
maxH: "100dvh",
|
|
42
|
-
color: "inherit",
|
|
43
|
-
bg: "drawer.bg",
|
|
44
|
-
boxShadow: "drawer",
|
|
45
|
-
_open: {
|
|
46
|
-
animationDuration: "slowest",
|
|
47
|
-
animationTimingFunction: "ease-in-smooth"
|
|
48
|
-
},
|
|
49
|
-
_closed: {
|
|
50
|
-
animationDuration: "slower",
|
|
51
|
-
animationTimingFunction: "ease-in-smooth"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
header: {
|
|
55
|
-
flex: 0,
|
|
56
|
-
px: "6",
|
|
57
|
-
pt: "6",
|
|
58
|
-
pb: "4"
|
|
59
|
-
},
|
|
60
|
-
body: {
|
|
61
|
-
p: "6",
|
|
62
|
-
flex: "1",
|
|
63
|
-
overflow: "auto"
|
|
64
|
-
},
|
|
65
|
-
footer: {
|
|
66
|
-
display: "flex",
|
|
67
|
-
alignItems: "center",
|
|
68
|
-
justifyContent: "flex-end",
|
|
69
|
-
gap: "3",
|
|
70
|
-
px: "6",
|
|
71
|
-
pt: "2",
|
|
72
|
-
pb: "4"
|
|
73
|
-
},
|
|
74
|
-
title: {
|
|
75
|
-
textStyle: "lg",
|
|
76
|
-
fontWeight: "semibold"
|
|
77
|
-
},
|
|
78
|
-
description: {
|
|
79
|
-
color: "fg.muted"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
variants: {
|
|
83
|
-
size: {
|
|
84
|
-
md: {
|
|
85
|
-
content: {
|
|
86
|
-
maxW: "300px"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
placement: {
|
|
91
|
-
start: {
|
|
92
|
-
positioner: {
|
|
93
|
-
justifyContent: "flex-start"
|
|
94
|
-
},
|
|
95
|
-
content: {
|
|
96
|
-
_open: {
|
|
97
|
-
animationName: {
|
|
98
|
-
base: "slide-from-left-full, fade-in",
|
|
99
|
-
_rtl: "slide-from-right-full, fade-in"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
_closed: {
|
|
103
|
-
animationName: {
|
|
104
|
-
base: "slide-to-left-full, fade-out",
|
|
105
|
-
_rtl: "slide-to-right-full, fade-out"
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
end: {
|
|
111
|
-
positioner: {
|
|
112
|
-
justifyContent: "flex-end"
|
|
113
|
-
},
|
|
114
|
-
content: {
|
|
115
|
-
_open: {
|
|
116
|
-
animationName: {
|
|
117
|
-
base: "slide-from-right-full, fade-in",
|
|
118
|
-
_rtl: "slide-from-left-full, fade-in"
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
_closed: {
|
|
122
|
-
animationName: {
|
|
123
|
-
base: "slide-to-right-full, fade-out",
|
|
124
|
-
_rtl: "slide-to-right-full, fade-out"
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
top: {
|
|
130
|
-
positioner: {
|
|
131
|
-
alignItems: "flex-start"
|
|
132
|
-
},
|
|
133
|
-
content: {
|
|
134
|
-
maxW: "100%",
|
|
135
|
-
_open: { animationName: "slide-from-top-full, fade-in" },
|
|
136
|
-
_closed: { animationName: "slide-to-top-full, fade-out" }
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
bottom: {
|
|
140
|
-
positioner: {
|
|
141
|
-
alignItems: "flex-end"
|
|
142
|
-
},
|
|
143
|
-
content: {
|
|
144
|
-
maxW: "100%",
|
|
145
|
-
_open: { animationName: "slide-from-bottom-full, fade-in" },
|
|
146
|
-
_closed: { animationName: "slide-to-bottom-full, fade-out" }
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
contained: {
|
|
151
|
-
true: {
|
|
152
|
-
positioner: {
|
|
153
|
-
padding: "4"
|
|
154
|
-
},
|
|
155
|
-
content: {
|
|
156
|
-
borderRadius: "l3"
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
defaultVariants: {
|
|
162
|
-
size: "md",
|
|
163
|
-
placement: "end"
|
|
164
|
-
}
|
|
165
|
-
});
|
|
166
|
-
export {
|
|
167
|
-
o as recipe
|
|
168
|
-
};
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as e } from "@chakra-ui/react";
|
|
2
|
-
const i = e({
|
|
3
|
-
className: "chakra-field",
|
|
4
|
-
slots: ["root", "label", "requiredIndicator", "errorText", "helperText"],
|
|
5
|
-
base: {
|
|
6
|
-
requiredIndicator: {
|
|
7
|
-
color: "inherit",
|
|
8
|
-
lineHeight: "inherit"
|
|
9
|
-
},
|
|
10
|
-
root: {
|
|
11
|
-
display: "flex",
|
|
12
|
-
width: "100%",
|
|
13
|
-
position: "relative",
|
|
14
|
-
gap: "1"
|
|
15
|
-
},
|
|
16
|
-
label: {
|
|
17
|
-
display: "flex",
|
|
18
|
-
alignItems: "center",
|
|
19
|
-
textAlign: "start",
|
|
20
|
-
textStyle: "sm",
|
|
21
|
-
fontWeight: "500",
|
|
22
|
-
gap: "0",
|
|
23
|
-
userSelect: "none",
|
|
24
|
-
zIndex: "1",
|
|
25
|
-
_disabled: {
|
|
26
|
-
opacity: "control.disabled"
|
|
27
|
-
},
|
|
28
|
-
_invalid: {
|
|
29
|
-
color: "input.fg.error"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
errorText: {
|
|
33
|
-
display: "inline-flex",
|
|
34
|
-
alignItems: "center",
|
|
35
|
-
fontWeight: "medium",
|
|
36
|
-
gap: "1",
|
|
37
|
-
color: "input.fg.error",
|
|
38
|
-
textStyle: "sm"
|
|
39
|
-
},
|
|
40
|
-
helperText: {
|
|
41
|
-
color: "fg.muted",
|
|
42
|
-
textStyle: "sm"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
variants: {
|
|
46
|
-
floating: {
|
|
47
|
-
true: {
|
|
48
|
-
label: {
|
|
49
|
-
pos: "absolute",
|
|
50
|
-
bg: "bg",
|
|
51
|
-
top: "2px",
|
|
52
|
-
left: "2px",
|
|
53
|
-
color: "input.placeholder",
|
|
54
|
-
width: "calc(100% - 4px)",
|
|
55
|
-
borderRadius: "base",
|
|
56
|
-
pointerEvents: "none",
|
|
57
|
-
transformOrigin: "top left",
|
|
58
|
-
transitionProperty: "font-size, line-height, padding, background-color",
|
|
59
|
-
transitionDuration: "fast",
|
|
60
|
-
transitionTimingFunction: "ease"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
size: {
|
|
65
|
-
sm: {
|
|
66
|
-
label: {
|
|
67
|
-
fontSize: "sm"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
md: {
|
|
71
|
-
label: {
|
|
72
|
-
fontSize: "md"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
lg: {
|
|
76
|
-
label: {
|
|
77
|
-
fontSize: "md"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
// special size for textarea
|
|
81
|
-
"2xl": {
|
|
82
|
-
label: {
|
|
83
|
-
fontSize: "md"
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
orientation: {
|
|
88
|
-
vertical: {
|
|
89
|
-
root: {
|
|
90
|
-
flexDirection: "column",
|
|
91
|
-
alignItems: "flex-start"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
horizontal: {
|
|
95
|
-
root: {
|
|
96
|
-
flexDirection: "row",
|
|
97
|
-
alignItems: "center",
|
|
98
|
-
justifyContent: "space-between"
|
|
99
|
-
},
|
|
100
|
-
label: {
|
|
101
|
-
flex: "0 0 var(--field-label-width, 80px)"
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
compoundVariants: [
|
|
107
|
-
{
|
|
108
|
-
size: "lg",
|
|
109
|
-
floating: !0,
|
|
110
|
-
css: {
|
|
111
|
-
label: {
|
|
112
|
-
whiteSpace: "nowrap",
|
|
113
|
-
overflow: "hidden",
|
|
114
|
-
textOverflow: "ellipsis",
|
|
115
|
-
padding: "10px 16px 0px 16px",
|
|
116
|
-
textStyle: "xs",
|
|
117
|
-
_peerPlaceholderShown: {
|
|
118
|
-
padding: "16px",
|
|
119
|
-
textStyle: "md"
|
|
120
|
-
},
|
|
121
|
-
_peerFocusVisible: {
|
|
122
|
-
padding: "10px 16px 0px 16px",
|
|
123
|
-
textStyle: "xs"
|
|
124
|
-
},
|
|
125
|
-
_readOnly: {
|
|
126
|
-
bg: "input.bg.readOnly"
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
errorText: {
|
|
130
|
-
fontSize: "inherit",
|
|
131
|
-
lineHeight: "inherit"
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
size: "2xl",
|
|
137
|
-
floating: !0,
|
|
138
|
-
css: {
|
|
139
|
-
label: {
|
|
140
|
-
whiteSpace: "nowrap",
|
|
141
|
-
overflow: "hidden",
|
|
142
|
-
textOverflow: "ellipsis",
|
|
143
|
-
// 20px = scrollbar width
|
|
144
|
-
// 4px = border width
|
|
145
|
-
width: "calc(100% - 4px - 20px)",
|
|
146
|
-
padding: "16px 16px 0px 16px",
|
|
147
|
-
textStyle: "xs",
|
|
148
|
-
borderTopRightRadius: "0px",
|
|
149
|
-
borderBottomRightRadius: "0px",
|
|
150
|
-
_peerPlaceholderShown: {
|
|
151
|
-
textStyle: "md"
|
|
152
|
-
},
|
|
153
|
-
_peerFocusVisible: {
|
|
154
|
-
textStyle: "xs"
|
|
155
|
-
},
|
|
156
|
-
_readOnly: {
|
|
157
|
-
bg: "input.bg.readOnly"
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
errorText: {
|
|
161
|
-
fontSize: "inherit",
|
|
162
|
-
lineHeight: "inherit"
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
],
|
|
167
|
-
defaultVariants: {
|
|
168
|
-
floating: !1,
|
|
169
|
-
orientation: "vertical"
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
export {
|
|
173
|
-
i as recipe
|
|
174
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { recipe as e } from "./accordion.recipe.js";
|
|
2
|
-
import { recipe as r } from "./alert.recipe.js";
|
|
3
|
-
import { recipe as i } from "./badge.recipe.js";
|
|
4
|
-
import { recipe as p } from "./button.recipe.js";
|
|
5
|
-
import { recipe as o } from "./checkbox.recipe.js";
|
|
6
|
-
import { recipe as c } from "./checkmark.recipe.js";
|
|
7
|
-
import { recipe as m } from "./close-button.recipe.js";
|
|
8
|
-
import { recipe as t } from "./dialog.recipe.js";
|
|
9
|
-
import { recipe as a } from "./drawer.recipe.js";
|
|
10
|
-
import { recipe as s } from "./field.recipe.js";
|
|
11
|
-
import { recipe as f } from "./input.recipe.js";
|
|
12
|
-
import { recipe as $ } from "./link.recipe.js";
|
|
13
|
-
import { recipe as n } from "./list.recipe.js";
|
|
14
|
-
import { recipe as l } from "./menu.recipe.js";
|
|
15
|
-
import { recipe as d } from "./pin-input.recipe.js";
|
|
16
|
-
import { recipe as u } from "./popover.recipe.js";
|
|
17
|
-
import { recipe as k } from "./progress-circle.recipe.js";
|
|
18
|
-
import { recipe as b } from "./radio-group.recipe.js";
|
|
19
|
-
import { recipe as g } from "./radiomark.recipe.js";
|
|
20
|
-
import { recipe as h } from "./rating-group.recipe.js";
|
|
21
|
-
import { recipe as x } from "./select.recipe.js";
|
|
22
|
-
import { recipe as w } from "./skeleton.recipe.js";
|
|
23
|
-
import { recipe as G } from "./spinner.recipe.js";
|
|
24
|
-
import { recipe as j } from "./stat.recipe.js";
|
|
25
|
-
import { recipe as q } from "./switch.recipe.js";
|
|
26
|
-
import { recipe as v } from "./table.recipe.js";
|
|
27
|
-
import { recipe as B } from "./tabs.recipe.js";
|
|
28
|
-
import { recipe as C } from "./tag.recipe.js";
|
|
29
|
-
import { recipe as I } from "./textarea.recipe.js";
|
|
30
|
-
import { recipe as R } from "./toast.recipe.js";
|
|
31
|
-
import { recipe as y } from "./tooltip.recipe.js";
|
|
32
|
-
const ae = {
|
|
33
|
-
badge: i,
|
|
34
|
-
button: p,
|
|
35
|
-
checkmark: c,
|
|
36
|
-
closeButton: m,
|
|
37
|
-
input: f,
|
|
38
|
-
link: $,
|
|
39
|
-
radiomark: g,
|
|
40
|
-
skeleton: w,
|
|
41
|
-
spinner: G,
|
|
42
|
-
textarea: I
|
|
43
|
-
}, se = {
|
|
44
|
-
accordion: e,
|
|
45
|
-
alert: r,
|
|
46
|
-
checkbox: o,
|
|
47
|
-
dialog: t,
|
|
48
|
-
drawer: a,
|
|
49
|
-
field: s,
|
|
50
|
-
list: n,
|
|
51
|
-
menu: l,
|
|
52
|
-
pinInput: d,
|
|
53
|
-
popover: u,
|
|
54
|
-
progressCircle: k,
|
|
55
|
-
radioGroup: b,
|
|
56
|
-
ratingGroup: h,
|
|
57
|
-
select: x,
|
|
58
|
-
stat: j,
|
|
59
|
-
switch: q,
|
|
60
|
-
table: v,
|
|
61
|
-
tabs: B,
|
|
62
|
-
tag: C,
|
|
63
|
-
toast: R,
|
|
64
|
-
tooltip: y
|
|
65
|
-
};
|
|
66
|
-
export {
|
|
67
|
-
ae as recipes,
|
|
68
|
-
se as slotRecipes
|
|
69
|
-
};
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { defineRecipe as r } from "@chakra-ui/react";
|
|
2
|
-
const e = r({
|
|
3
|
-
base: {
|
|
4
|
-
width: "100%",
|
|
5
|
-
minWidth: "0",
|
|
6
|
-
outline: "0",
|
|
7
|
-
position: "relative",
|
|
8
|
-
appearance: "textfield",
|
|
9
|
-
textAlign: "start",
|
|
10
|
-
borderRadius: "base",
|
|
11
|
-
height: "var(--input-height)",
|
|
12
|
-
minW: "var(--input-height)",
|
|
13
|
-
color: "input.fg",
|
|
14
|
-
"--focus-color": "colors.border.error",
|
|
15
|
-
"--error-color": "colors.border.error",
|
|
16
|
-
_invalid: {
|
|
17
|
-
focusRingColor: "var(--error-color)",
|
|
18
|
-
borderColor: "var(--error-color)"
|
|
19
|
-
},
|
|
20
|
-
_readOnly: {
|
|
21
|
-
overflow: "hidden",
|
|
22
|
-
textOverflow: "ellipsis",
|
|
23
|
-
whiteSpace: "nowrap"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
variants: {
|
|
27
|
-
size: {
|
|
28
|
-
sm: {
|
|
29
|
-
textStyle: "sm",
|
|
30
|
-
px: "2",
|
|
31
|
-
"--input-height": "sizes.8"
|
|
32
|
-
},
|
|
33
|
-
md: {
|
|
34
|
-
textStyle: "sm",
|
|
35
|
-
px: "2",
|
|
36
|
-
"--input-height": "sizes.10"
|
|
37
|
-
},
|
|
38
|
-
lg: {
|
|
39
|
-
textStyle: "md",
|
|
40
|
-
px: "4",
|
|
41
|
-
"--input-height": "60px"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
variant: {
|
|
45
|
-
outline: {
|
|
46
|
-
bg: "input.bg",
|
|
47
|
-
borderWidth: "2px",
|
|
48
|
-
borderColor: "input.border.filled",
|
|
49
|
-
focusVisibleRing: "none",
|
|
50
|
-
_placeholder: {
|
|
51
|
-
color: "input.placeholder"
|
|
52
|
-
},
|
|
53
|
-
_placeholderShown: {
|
|
54
|
-
borderColor: "input.border",
|
|
55
|
-
_invalid: {
|
|
56
|
-
borderColor: "input.border.error"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
_hover: {
|
|
60
|
-
borderColor: "input.border.hover"
|
|
61
|
-
},
|
|
62
|
-
_focus: {
|
|
63
|
-
borderColor: "input.border.focus",
|
|
64
|
-
boxShadow: "size.md",
|
|
65
|
-
_hover: {
|
|
66
|
-
borderColor: "input.border.focus"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
_readOnly: {
|
|
70
|
-
userSelect: "all",
|
|
71
|
-
pointerEvents: "none",
|
|
72
|
-
bg: "input.bg.readOnly",
|
|
73
|
-
borderColor: "input.border.readOnly",
|
|
74
|
-
_focus: {
|
|
75
|
-
borderColor: "input.border.readOnly"
|
|
76
|
-
},
|
|
77
|
-
_hover: {
|
|
78
|
-
borderColor: "input.border.readOnly"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
_disabled: {
|
|
82
|
-
opacity: "control.disabled"
|
|
83
|
-
},
|
|
84
|
-
_invalid: {
|
|
85
|
-
borderColor: "input.border.error",
|
|
86
|
-
_placeholder: {
|
|
87
|
-
color: "input.placeholder.error"
|
|
88
|
-
},
|
|
89
|
-
_hover: {
|
|
90
|
-
borderColor: "input.border.error"
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
floating: {
|
|
96
|
-
true: {}
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
compoundVariants: [
|
|
100
|
-
{
|
|
101
|
-
size: "lg",
|
|
102
|
-
floating: !0,
|
|
103
|
-
css: {
|
|
104
|
-
padding: "26px 10px 10px 16px"
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
defaultVariants: {
|
|
109
|
-
size: "md",
|
|
110
|
-
variant: "outline",
|
|
111
|
-
floating: !1
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
export {
|
|
115
|
-
e as recipe
|
|
116
|
-
};
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { defineRecipe as o } from "@chakra-ui/react";
|
|
2
|
-
const r = o({
|
|
3
|
-
base: {
|
|
4
|
-
gap: 0,
|
|
5
|
-
_disabled: {
|
|
6
|
-
cursor: "not-allowed"
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
|
-
variants: {
|
|
10
|
-
variant: {
|
|
11
|
-
primary: {
|
|
12
|
-
color: "link.primary",
|
|
13
|
-
_hover: {
|
|
14
|
-
textDecoration: "none",
|
|
15
|
-
color: "link.primary.hover"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
secondary: {
|
|
19
|
-
color: "link.secondary",
|
|
20
|
-
_hover: {
|
|
21
|
-
textDecoration: "none",
|
|
22
|
-
color: "link.primary.hover"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
subtle: {
|
|
26
|
-
color: "link.subtle",
|
|
27
|
-
_hover: {
|
|
28
|
-
color: "link.subtle.hover",
|
|
29
|
-
textDecorationLine: "underline",
|
|
30
|
-
textDecorationColor: "link.subtle.hover"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
underlaid: {
|
|
34
|
-
color: "link.primary",
|
|
35
|
-
bgColor: "link.underlaid.bg",
|
|
36
|
-
px: "8px",
|
|
37
|
-
py: "6px",
|
|
38
|
-
borderRadius: "base",
|
|
39
|
-
textStyle: "sm",
|
|
40
|
-
_hover: {
|
|
41
|
-
color: "link.primary.hover",
|
|
42
|
-
textDecoration: "none"
|
|
43
|
-
},
|
|
44
|
-
_loading: {
|
|
45
|
-
bgColor: "unset"
|
|
46
|
-
},
|
|
47
|
-
"&:not([data-loading], [aria-busy=true])": {
|
|
48
|
-
bgColor: "link.underlaid.bg"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
menu: {
|
|
52
|
-
color: "link.menu",
|
|
53
|
-
_hover: {
|
|
54
|
-
color: "link.primary.hover",
|
|
55
|
-
textDecoration: "none"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
navigation: {
|
|
59
|
-
color: "link.navigation.fg",
|
|
60
|
-
bg: "link.navigation.bg",
|
|
61
|
-
border: "link.navigation.border",
|
|
62
|
-
_hover: {
|
|
63
|
-
color: "link.navigation.fg.hover",
|
|
64
|
-
textDecoration: "none"
|
|
65
|
-
},
|
|
66
|
-
_selected: {
|
|
67
|
-
color: "link.navigation.fg.selected",
|
|
68
|
-
bg: "link.navigation.bg.selected",
|
|
69
|
-
border: "link.navigation.border.selected"
|
|
70
|
-
},
|
|
71
|
-
_active: {
|
|
72
|
-
color: "link.navigation.fg.active"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
plain: {
|
|
76
|
-
_hover: {
|
|
77
|
-
textDecoration: "none"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
defaultVariants: {
|
|
83
|
-
variant: "primary"
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
export {
|
|
87
|
-
r as recipe
|
|
88
|
-
};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as e } from "@chakra-ui/react";
|
|
2
|
-
const t = e({
|
|
3
|
-
slots: ["root", "item", "indicator"],
|
|
4
|
-
base: {
|
|
5
|
-
root: {
|
|
6
|
-
display: "flex",
|
|
7
|
-
flexDirection: "column",
|
|
8
|
-
gap: "var(--list-gap)",
|
|
9
|
-
"& :where(ul, ol)": {
|
|
10
|
-
marginTop: "var(--list-gap)"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
item: {
|
|
14
|
-
whiteSpace: "normal",
|
|
15
|
-
display: "list-item",
|
|
16
|
-
"&::marker": {
|
|
17
|
-
color: "inherit"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
indicator: {
|
|
21
|
-
marginEnd: "2",
|
|
22
|
-
minHeight: "1lh",
|
|
23
|
-
flexShrink: 0,
|
|
24
|
-
display: "inline-block",
|
|
25
|
-
verticalAlign: "middle"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
variants: {
|
|
29
|
-
variant: {
|
|
30
|
-
marker: {
|
|
31
|
-
root: {
|
|
32
|
-
listStyle: "revert"
|
|
33
|
-
},
|
|
34
|
-
item: {
|
|
35
|
-
_marker: {
|
|
36
|
-
color: "inherit"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
plain: {
|
|
41
|
-
item: {
|
|
42
|
-
alignItems: "flex-start",
|
|
43
|
-
display: "inline-flex"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
align: {
|
|
48
|
-
center: {
|
|
49
|
-
item: { alignItems: "center" }
|
|
50
|
-
},
|
|
51
|
-
start: {
|
|
52
|
-
item: { alignItems: "flex-start" }
|
|
53
|
-
},
|
|
54
|
-
end: {
|
|
55
|
-
item: { alignItems: "flex-end" }
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
defaultVariants: {
|
|
60
|
-
variant: "marker"
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
export {
|
|
64
|
-
t as recipe
|
|
65
|
-
};
|