@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,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,68 +0,0 @@
|
|
|
1
|
-
import { recipe as accordion } from './accordion.recipe';
|
|
2
|
-
import { recipe as alert } from './alert.recipe';
|
|
3
|
-
import { recipe as badge } from './badge.recipe';
|
|
4
|
-
import { recipe as button } from './button.recipe';
|
|
5
|
-
import { recipe as checkbox } from './checkbox.recipe';
|
|
6
|
-
import { recipe as checkmark } from './checkmark.recipe';
|
|
7
|
-
import { recipe as closeButton } from './close-button.recipe';
|
|
8
|
-
import { recipe as dialog } from './dialog.recipe';
|
|
9
|
-
import { recipe as drawer } from './drawer.recipe';
|
|
10
|
-
import { recipe as field } from './field.recipe';
|
|
11
|
-
import { recipe as input } from './input.recipe';
|
|
12
|
-
import { recipe as link } from './link.recipe';
|
|
13
|
-
import { recipe as list } from './list.recipe';
|
|
14
|
-
import { recipe as menu } from './menu.recipe';
|
|
15
|
-
import { recipe as pinInput } from './pin-input.recipe';
|
|
16
|
-
import { recipe as popover } from './popover.recipe';
|
|
17
|
-
import { recipe as progressCircle } from './progress-circle.recipe';
|
|
18
|
-
import { recipe as radioGroup } from './radio-group.recipe';
|
|
19
|
-
import { recipe as radiomark } from './radiomark.recipe';
|
|
20
|
-
import { recipe as ratingGroup } from './rating-group.recipe';
|
|
21
|
-
import { recipe as select } from './select.recipe';
|
|
22
|
-
import { recipe as skeleton } from './skeleton.recipe';
|
|
23
|
-
import { recipe as spinner } from './spinner.recipe';
|
|
24
|
-
import { recipe as stat } from './stat.recipe';
|
|
25
|
-
import { recipe as switchRecipe } from './switch.recipe';
|
|
26
|
-
import { recipe as table } from './table.recipe';
|
|
27
|
-
import { recipe as tabs } from './tabs.recipe';
|
|
28
|
-
import { recipe as tag } from './tag.recipe';
|
|
29
|
-
import { recipe as textarea } from './textarea.recipe';
|
|
30
|
-
import { recipe as toast } from './toast.recipe';
|
|
31
|
-
import { recipe as tooltip } from './tooltip.recipe';
|
|
32
|
-
|
|
33
|
-
export const recipes = {
|
|
34
|
-
badge,
|
|
35
|
-
button,
|
|
36
|
-
checkmark,
|
|
37
|
-
closeButton,
|
|
38
|
-
input,
|
|
39
|
-
link,
|
|
40
|
-
radiomark,
|
|
41
|
-
skeleton,
|
|
42
|
-
spinner,
|
|
43
|
-
textarea,
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
export const slotRecipes = {
|
|
47
|
-
accordion,
|
|
48
|
-
alert,
|
|
49
|
-
checkbox,
|
|
50
|
-
dialog,
|
|
51
|
-
drawer,
|
|
52
|
-
field,
|
|
53
|
-
list,
|
|
54
|
-
menu,
|
|
55
|
-
pinInput,
|
|
56
|
-
popover,
|
|
57
|
-
progressCircle,
|
|
58
|
-
radioGroup,
|
|
59
|
-
ratingGroup,
|
|
60
|
-
select,
|
|
61
|
-
stat,
|
|
62
|
-
'switch': switchRecipe,
|
|
63
|
-
table,
|
|
64
|
-
tabs,
|
|
65
|
-
tag,
|
|
66
|
-
toast,
|
|
67
|
-
tooltip,
|
|
68
|
-
};
|
|
@@ -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,119 +0,0 @@
|
|
|
1
|
-
import { defineRecipe } from '@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export const recipe = defineRecipe({
|
|
4
|
-
base: {
|
|
5
|
-
width: '100%',
|
|
6
|
-
minWidth: '0',
|
|
7
|
-
outline: '0',
|
|
8
|
-
position: 'relative',
|
|
9
|
-
appearance: 'textfield',
|
|
10
|
-
textAlign: 'start',
|
|
11
|
-
borderRadius: 'base',
|
|
12
|
-
height: 'var(--input-height)',
|
|
13
|
-
minW: 'var(--input-height)',
|
|
14
|
-
color: 'input.fg',
|
|
15
|
-
'--focus-color': 'colors.border.error',
|
|
16
|
-
'--error-color': 'colors.border.error',
|
|
17
|
-
_invalid: {
|
|
18
|
-
focusRingColor: 'var(--error-color)',
|
|
19
|
-
borderColor: 'var(--error-color)',
|
|
20
|
-
},
|
|
21
|
-
_readOnly: {
|
|
22
|
-
overflow: 'hidden',
|
|
23
|
-
textOverflow: 'ellipsis',
|
|
24
|
-
whiteSpace: 'nowrap',
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
variants: {
|
|
29
|
-
size: {
|
|
30
|
-
sm: {
|
|
31
|
-
textStyle: 'sm',
|
|
32
|
-
px: '2',
|
|
33
|
-
'--input-height': 'sizes.8',
|
|
34
|
-
},
|
|
35
|
-
md: {
|
|
36
|
-
textStyle: 'sm',
|
|
37
|
-
px: '2',
|
|
38
|
-
'--input-height': 'sizes.10',
|
|
39
|
-
},
|
|
40
|
-
lg: {
|
|
41
|
-
textStyle: 'md',
|
|
42
|
-
px: '4',
|
|
43
|
-
'--input-height': '60px',
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
variant: {
|
|
48
|
-
outline: {
|
|
49
|
-
bg: 'input.bg',
|
|
50
|
-
borderWidth: '2px',
|
|
51
|
-
borderColor: 'input.border.filled',
|
|
52
|
-
focusVisibleRing: 'none',
|
|
53
|
-
_placeholder: {
|
|
54
|
-
color: 'input.placeholder',
|
|
55
|
-
},
|
|
56
|
-
_placeholderShown: {
|
|
57
|
-
borderColor: 'input.border',
|
|
58
|
-
_invalid: {
|
|
59
|
-
borderColor: 'input.border.error',
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
_hover: {
|
|
63
|
-
borderColor: 'input.border.hover',
|
|
64
|
-
},
|
|
65
|
-
_focus: {
|
|
66
|
-
borderColor: 'input.border.focus',
|
|
67
|
-
boxShadow: 'size.md',
|
|
68
|
-
_hover: {
|
|
69
|
-
borderColor: 'input.border.focus',
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
_readOnly: {
|
|
73
|
-
userSelect: 'all',
|
|
74
|
-
pointerEvents: 'none',
|
|
75
|
-
bg: 'input.bg.readOnly',
|
|
76
|
-
borderColor: 'input.border.readOnly',
|
|
77
|
-
_focus: {
|
|
78
|
-
borderColor: 'input.border.readOnly',
|
|
79
|
-
},
|
|
80
|
-
_hover: {
|
|
81
|
-
borderColor: 'input.border.readOnly',
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
_disabled: {
|
|
85
|
-
opacity: 'control.disabled',
|
|
86
|
-
},
|
|
87
|
-
_invalid: {
|
|
88
|
-
borderColor: 'input.border.error',
|
|
89
|
-
_placeholder: {
|
|
90
|
-
color: 'input.placeholder.error',
|
|
91
|
-
},
|
|
92
|
-
_hover: {
|
|
93
|
-
borderColor: 'input.border.error',
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
},
|
|
97
|
-
},
|
|
98
|
-
|
|
99
|
-
floating: {
|
|
100
|
-
'true': {},
|
|
101
|
-
},
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
compoundVariants: [
|
|
105
|
-
{
|
|
106
|
-
size: 'lg',
|
|
107
|
-
floating: true,
|
|
108
|
-
css: {
|
|
109
|
-
padding: '26px 10px 10px 16px',
|
|
110
|
-
},
|
|
111
|
-
},
|
|
112
|
-
],
|
|
113
|
-
|
|
114
|
-
defaultVariants: {
|
|
115
|
-
size: 'md',
|
|
116
|
-
variant: 'outline',
|
|
117
|
-
floating: false,
|
|
118
|
-
},
|
|
119
|
-
});
|
|
@@ -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,86 +0,0 @@
|
|
|
1
|
-
import { defineRecipe } from '@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export const recipe = defineRecipe({
|
|
4
|
-
base: {
|
|
5
|
-
gap: 0,
|
|
6
|
-
_disabled: {
|
|
7
|
-
cursor: 'not-allowed',
|
|
8
|
-
},
|
|
9
|
-
},
|
|
10
|
-
variants: {
|
|
11
|
-
variant: {
|
|
12
|
-
primary: {
|
|
13
|
-
color: 'link.primary',
|
|
14
|
-
_hover: {
|
|
15
|
-
textDecoration: 'none',
|
|
16
|
-
color: 'link.primary.hover',
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
secondary: {
|
|
20
|
-
color: 'link.secondary',
|
|
21
|
-
_hover: {
|
|
22
|
-
textDecoration: 'none',
|
|
23
|
-
color: 'link.primary.hover',
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
subtle: {
|
|
27
|
-
color: 'link.subtle',
|
|
28
|
-
_hover: {
|
|
29
|
-
color: 'link.subtle.hover',
|
|
30
|
-
textDecorationLine: 'underline',
|
|
31
|
-
textDecorationColor: 'link.subtle.hover',
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
underlaid: {
|
|
35
|
-
color: 'link.primary',
|
|
36
|
-
bgColor: 'link.underlaid.bg',
|
|
37
|
-
px: '8px',
|
|
38
|
-
py: '6px',
|
|
39
|
-
borderRadius: 'base',
|
|
40
|
-
textStyle: 'sm',
|
|
41
|
-
_hover: {
|
|
42
|
-
color: 'link.primary.hover',
|
|
43
|
-
textDecoration: 'none',
|
|
44
|
-
},
|
|
45
|
-
_loading: {
|
|
46
|
-
bgColor: 'unset',
|
|
47
|
-
},
|
|
48
|
-
'&:not([data-loading], [aria-busy=true])': {
|
|
49
|
-
bgColor: 'link.underlaid.bg',
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
menu: {
|
|
53
|
-
color: 'link.menu',
|
|
54
|
-
_hover: {
|
|
55
|
-
color: 'link.primary.hover',
|
|
56
|
-
textDecoration: 'none',
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
navigation: {
|
|
60
|
-
color: 'link.navigation.fg',
|
|
61
|
-
bg: 'link.navigation.bg',
|
|
62
|
-
border: 'link.navigation.border',
|
|
63
|
-
_hover: {
|
|
64
|
-
color: 'link.navigation.fg.hover',
|
|
65
|
-
textDecoration: 'none',
|
|
66
|
-
},
|
|
67
|
-
_selected: {
|
|
68
|
-
color: 'link.navigation.fg.selected',
|
|
69
|
-
bg: 'link.navigation.bg.selected',
|
|
70
|
-
border: 'link.navigation.border.selected',
|
|
71
|
-
},
|
|
72
|
-
_active: {
|
|
73
|
-
color: 'link.navigation.fg.active',
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
plain: {
|
|
77
|
-
_hover: {
|
|
78
|
-
textDecoration: 'none',
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
defaultVariants: {
|
|
84
|
-
variant: 'primary',
|
|
85
|
-
},
|
|
86
|
-
});
|
|
@@ -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
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe } from '@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export const recipe = defineSlotRecipe({
|
|
4
|
-
slots: [ 'root', 'item', 'indicator' ],
|
|
5
|
-
base: {
|
|
6
|
-
root: {
|
|
7
|
-
display: 'flex',
|
|
8
|
-
flexDirection: 'column',
|
|
9
|
-
gap: 'var(--list-gap)',
|
|
10
|
-
'& :where(ul, ol)': {
|
|
11
|
-
marginTop: 'var(--list-gap)',
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
item: {
|
|
15
|
-
whiteSpace: 'normal',
|
|
16
|
-
display: 'list-item',
|
|
17
|
-
'&::marker': {
|
|
18
|
-
color: 'inherit',
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
indicator: {
|
|
22
|
-
marginEnd: '2',
|
|
23
|
-
minHeight: '1lh',
|
|
24
|
-
flexShrink: 0,
|
|
25
|
-
display: 'inline-block',
|
|
26
|
-
verticalAlign: 'middle',
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
variants: {
|
|
31
|
-
variant: {
|
|
32
|
-
marker: {
|
|
33
|
-
root: {
|
|
34
|
-
listStyle: 'revert',
|
|
35
|
-
},
|
|
36
|
-
item: {
|
|
37
|
-
_marker: {
|
|
38
|
-
color: 'inherit',
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
plain: {
|
|
44
|
-
item: {
|
|
45
|
-
alignItems: 'flex-start',
|
|
46
|
-
display: 'inline-flex',
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
align: {
|
|
52
|
-
center: {
|
|
53
|
-
item: { alignItems: 'center' },
|
|
54
|
-
},
|
|
55
|
-
start: {
|
|
56
|
-
item: { alignItems: 'flex-start' },
|
|
57
|
-
},
|
|
58
|
-
end: {
|
|
59
|
-
item: { alignItems: 'flex-end' },
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
defaultVariants: {
|
|
65
|
-
variant: 'marker',
|
|
66
|
-
},
|
|
67
|
-
});
|