@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,125 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as i } from "@chakra-ui/react";
|
|
2
|
-
const e = i({
|
|
3
|
-
slots: ["root", "label", "indicator", "control", "thumb"],
|
|
4
|
-
className: "chakra-switch",
|
|
5
|
-
base: {
|
|
6
|
-
root: {
|
|
7
|
-
display: "inline-flex",
|
|
8
|
-
gap: "2.5",
|
|
9
|
-
alignItems: "center",
|
|
10
|
-
position: "relative",
|
|
11
|
-
verticalAlign: "middle",
|
|
12
|
-
"--switch-diff": "calc(var(--switch-width) - var(--switch-height))",
|
|
13
|
-
"--switch-x": {
|
|
14
|
-
base: "var(--switch-diff)",
|
|
15
|
-
_rtl: "calc(var(--switch-diff) * -1)"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
label: {
|
|
19
|
-
lineHeight: "1",
|
|
20
|
-
userSelect: "none",
|
|
21
|
-
fontSize: "sm",
|
|
22
|
-
fontWeight: "400",
|
|
23
|
-
_disabled: {
|
|
24
|
-
opacity: "0.5"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
indicator: {
|
|
28
|
-
position: "absolute",
|
|
29
|
-
height: "var(--switch-height)",
|
|
30
|
-
width: "var(--switch-height)",
|
|
31
|
-
fontSize: "var(--switch-indicator-font-size)",
|
|
32
|
-
flexShrink: 0,
|
|
33
|
-
userSelect: "none",
|
|
34
|
-
display: "grid",
|
|
35
|
-
placeContent: "center",
|
|
36
|
-
transition: "inset-inline-start 0.12s ease",
|
|
37
|
-
insetInlineStart: "calc(var(--switch-x) - 2px)",
|
|
38
|
-
_checked: {
|
|
39
|
-
insetInlineStart: "2px"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
control: {
|
|
43
|
-
display: "inline-flex",
|
|
44
|
-
gap: "0.5rem",
|
|
45
|
-
flexShrink: 0,
|
|
46
|
-
justifyContent: "flex-start",
|
|
47
|
-
cursor: "switch",
|
|
48
|
-
borderRadius: "full",
|
|
49
|
-
position: "relative",
|
|
50
|
-
width: "var(--switch-width)",
|
|
51
|
-
height: "var(--switch-height)",
|
|
52
|
-
_disabled: {
|
|
53
|
-
opacity: "0.5",
|
|
54
|
-
cursor: "not-allowed"
|
|
55
|
-
},
|
|
56
|
-
_invalid: {
|
|
57
|
-
outline: "2px solid",
|
|
58
|
-
outlineColor: "border.error",
|
|
59
|
-
outlineOffset: "2px"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
thumb: {
|
|
63
|
-
display: "flex",
|
|
64
|
-
alignItems: "center",
|
|
65
|
-
justifyContent: "center",
|
|
66
|
-
flexShrink: 0,
|
|
67
|
-
transitionProperty: "translate",
|
|
68
|
-
transitionDuration: "fast",
|
|
69
|
-
borderRadius: "inherit",
|
|
70
|
-
_checked: {
|
|
71
|
-
translate: "var(--switch-x) 0"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
variants: {
|
|
76
|
-
variant: {
|
|
77
|
-
primary: {
|
|
78
|
-
control: {
|
|
79
|
-
borderRadius: "full",
|
|
80
|
-
bg: "switch.primary.bg",
|
|
81
|
-
focusVisibleRing: "outside",
|
|
82
|
-
_checked: {
|
|
83
|
-
bg: "switch.primary.bg.checked",
|
|
84
|
-
_hover: {
|
|
85
|
-
bg: "switch.primary.bg.hover"
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
thumb: {
|
|
90
|
-
bg: "white",
|
|
91
|
-
width: "var(--switch-height)",
|
|
92
|
-
height: "var(--switch-height)",
|
|
93
|
-
scale: "0.8",
|
|
94
|
-
boxShadow: "sm",
|
|
95
|
-
_checked: {
|
|
96
|
-
bg: "white"
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
size: {
|
|
102
|
-
sm: {
|
|
103
|
-
root: {
|
|
104
|
-
"--switch-width": "26px",
|
|
105
|
-
"--switch-height": "sizes.4",
|
|
106
|
-
"--switch-indicator-font-size": "fontSizes.sm"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
md: {
|
|
110
|
-
root: {
|
|
111
|
-
"--switch-width": "34px",
|
|
112
|
-
"--switch-height": "sizes.5",
|
|
113
|
-
"--switch-indicator-font-size": "fontSizes.md"
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
defaultVariants: {
|
|
119
|
-
variant: "primary",
|
|
120
|
-
size: "md"
|
|
121
|
-
}
|
|
122
|
-
});
|
|
123
|
-
export {
|
|
124
|
-
e as recipe
|
|
125
|
-
};
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe } from '@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export const recipe = defineSlotRecipe({
|
|
4
|
-
slots: [ 'root', 'label', 'indicator', 'control', 'thumb' ],
|
|
5
|
-
className: 'chakra-switch',
|
|
6
|
-
base: {
|
|
7
|
-
root: {
|
|
8
|
-
display: 'inline-flex',
|
|
9
|
-
gap: '2.5',
|
|
10
|
-
alignItems: 'center',
|
|
11
|
-
position: 'relative',
|
|
12
|
-
verticalAlign: 'middle',
|
|
13
|
-
'--switch-diff': 'calc(var(--switch-width) - var(--switch-height))',
|
|
14
|
-
'--switch-x': {
|
|
15
|
-
base: 'var(--switch-diff)',
|
|
16
|
-
_rtl: 'calc(var(--switch-diff) * -1)',
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
label: {
|
|
21
|
-
lineHeight: '1',
|
|
22
|
-
userSelect: 'none',
|
|
23
|
-
fontSize: 'sm',
|
|
24
|
-
fontWeight: '400',
|
|
25
|
-
_disabled: {
|
|
26
|
-
opacity: '0.5',
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
indicator: {
|
|
31
|
-
position: 'absolute',
|
|
32
|
-
height: 'var(--switch-height)',
|
|
33
|
-
width: 'var(--switch-height)',
|
|
34
|
-
fontSize: 'var(--switch-indicator-font-size)',
|
|
35
|
-
flexShrink: 0,
|
|
36
|
-
userSelect: 'none',
|
|
37
|
-
display: 'grid',
|
|
38
|
-
placeContent: 'center',
|
|
39
|
-
transition: 'inset-inline-start 0.12s ease',
|
|
40
|
-
insetInlineStart: 'calc(var(--switch-x) - 2px)',
|
|
41
|
-
_checked: {
|
|
42
|
-
insetInlineStart: '2px',
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
control: {
|
|
47
|
-
display: 'inline-flex',
|
|
48
|
-
gap: '0.5rem',
|
|
49
|
-
flexShrink: 0,
|
|
50
|
-
justifyContent: 'flex-start',
|
|
51
|
-
cursor: 'switch',
|
|
52
|
-
borderRadius: 'full',
|
|
53
|
-
position: 'relative',
|
|
54
|
-
width: 'var(--switch-width)',
|
|
55
|
-
height: 'var(--switch-height)',
|
|
56
|
-
_disabled: {
|
|
57
|
-
opacity: '0.5',
|
|
58
|
-
cursor: 'not-allowed',
|
|
59
|
-
},
|
|
60
|
-
_invalid: {
|
|
61
|
-
outline: '2px solid',
|
|
62
|
-
outlineColor: 'border.error',
|
|
63
|
-
outlineOffset: '2px',
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
|
|
67
|
-
thumb: {
|
|
68
|
-
display: 'flex',
|
|
69
|
-
alignItems: 'center',
|
|
70
|
-
justifyContent: 'center',
|
|
71
|
-
flexShrink: 0,
|
|
72
|
-
transitionProperty: 'translate',
|
|
73
|
-
transitionDuration: 'fast',
|
|
74
|
-
borderRadius: 'inherit',
|
|
75
|
-
_checked: {
|
|
76
|
-
translate: 'var(--switch-x) 0',
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
|
|
81
|
-
variants: {
|
|
82
|
-
variant: {
|
|
83
|
-
primary: {
|
|
84
|
-
control: {
|
|
85
|
-
borderRadius: 'full',
|
|
86
|
-
bg: 'switch.primary.bg',
|
|
87
|
-
focusVisibleRing: 'outside',
|
|
88
|
-
_checked: {
|
|
89
|
-
bg: 'switch.primary.bg.checked',
|
|
90
|
-
_hover: {
|
|
91
|
-
bg: 'switch.primary.bg.hover',
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
thumb: {
|
|
96
|
-
bg: 'white',
|
|
97
|
-
width: 'var(--switch-height)',
|
|
98
|
-
height: 'var(--switch-height)',
|
|
99
|
-
scale: '0.8',
|
|
100
|
-
boxShadow: 'sm',
|
|
101
|
-
_checked: {
|
|
102
|
-
bg: 'white',
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
|
|
108
|
-
size: {
|
|
109
|
-
sm: {
|
|
110
|
-
root: {
|
|
111
|
-
'--switch-width': '26px',
|
|
112
|
-
'--switch-height': 'sizes.4',
|
|
113
|
-
'--switch-indicator-font-size': 'fontSizes.sm',
|
|
114
|
-
},
|
|
115
|
-
},
|
|
116
|
-
md: {
|
|
117
|
-
root: {
|
|
118
|
-
'--switch-width': '34px',
|
|
119
|
-
'--switch-height': 'sizes.5',
|
|
120
|
-
'--switch-indicator-font-size': 'fontSizes.md',
|
|
121
|
-
},
|
|
122
|
-
},
|
|
123
|
-
},
|
|
124
|
-
},
|
|
125
|
-
|
|
126
|
-
defaultVariants: {
|
|
127
|
-
variant: 'primary',
|
|
128
|
-
size: 'md',
|
|
129
|
-
},
|
|
130
|
-
});
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as e } from "@chakra-ui/react";
|
|
2
|
-
const o = e({
|
|
3
|
-
slots: ["root", "row", "cell", "columnHeader", "caption", "footer", "body", "header"],
|
|
4
|
-
base: {
|
|
5
|
-
root: {
|
|
6
|
-
tableLayout: "fixed",
|
|
7
|
-
fontVariant: "normal",
|
|
8
|
-
fontVariantLigatures: "no-contextual",
|
|
9
|
-
borderCollapse: "collapse",
|
|
10
|
-
width: "full",
|
|
11
|
-
textAlign: "start",
|
|
12
|
-
verticalAlign: "top",
|
|
13
|
-
overflow: "unset"
|
|
14
|
-
},
|
|
15
|
-
cell: {
|
|
16
|
-
textAlign: "start",
|
|
17
|
-
alignItems: "center",
|
|
18
|
-
verticalAlign: "top",
|
|
19
|
-
fontWeight: "medium"
|
|
20
|
-
},
|
|
21
|
-
columnHeader: {
|
|
22
|
-
fontWeight: "medium",
|
|
23
|
-
textAlign: "start"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
variants: {
|
|
27
|
-
variant: {
|
|
28
|
-
line: {
|
|
29
|
-
columnHeader: {
|
|
30
|
-
color: "table.header.fg",
|
|
31
|
-
backgroundColor: "table.header.bg",
|
|
32
|
-
_first: {
|
|
33
|
-
borderTopLeftRadius: "8px"
|
|
34
|
-
},
|
|
35
|
-
_last: {
|
|
36
|
-
borderTopRightRadius: "8px"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
cell: {
|
|
40
|
-
borderBottomWidth: "1px",
|
|
41
|
-
borderColor: "border.divider"
|
|
42
|
-
},
|
|
43
|
-
row: {
|
|
44
|
-
bg: "bg"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
size: {
|
|
49
|
-
md: {
|
|
50
|
-
root: {
|
|
51
|
-
fontSize: "sm"
|
|
52
|
-
},
|
|
53
|
-
columnHeader: {
|
|
54
|
-
px: "6px",
|
|
55
|
-
py: "10px",
|
|
56
|
-
_first: {
|
|
57
|
-
pl: 3
|
|
58
|
-
},
|
|
59
|
-
_last: {
|
|
60
|
-
pr: 3
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
cell: {
|
|
64
|
-
px: "6px",
|
|
65
|
-
py: 4,
|
|
66
|
-
_first: {
|
|
67
|
-
pl: 3
|
|
68
|
-
},
|
|
69
|
-
_last: {
|
|
70
|
-
pr: 3
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
defaultVariants: {
|
|
77
|
-
variant: "line",
|
|
78
|
-
size: "md"
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
export {
|
|
82
|
-
o as recipe
|
|
83
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe } from '@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export const recipe = defineSlotRecipe({
|
|
4
|
-
slots: [ 'root', 'row', 'cell', 'columnHeader', 'caption', 'footer', 'body', 'header' ],
|
|
5
|
-
base: {
|
|
6
|
-
root: {
|
|
7
|
-
tableLayout: 'fixed',
|
|
8
|
-
fontVariant: 'normal',
|
|
9
|
-
fontVariantLigatures: 'no-contextual',
|
|
10
|
-
borderCollapse: 'collapse',
|
|
11
|
-
width: 'full',
|
|
12
|
-
textAlign: 'start',
|
|
13
|
-
verticalAlign: 'top',
|
|
14
|
-
overflow: 'unset',
|
|
15
|
-
},
|
|
16
|
-
cell: {
|
|
17
|
-
textAlign: 'start',
|
|
18
|
-
alignItems: 'center',
|
|
19
|
-
verticalAlign: 'top',
|
|
20
|
-
fontWeight: 'medium',
|
|
21
|
-
},
|
|
22
|
-
columnHeader: {
|
|
23
|
-
fontWeight: 'medium',
|
|
24
|
-
textAlign: 'start',
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
variants: {
|
|
29
|
-
variant: {
|
|
30
|
-
line: {
|
|
31
|
-
columnHeader: {
|
|
32
|
-
color: 'table.header.fg',
|
|
33
|
-
backgroundColor: 'table.header.bg',
|
|
34
|
-
_first: {
|
|
35
|
-
borderTopLeftRadius: '8px',
|
|
36
|
-
},
|
|
37
|
-
_last: {
|
|
38
|
-
borderTopRightRadius: '8px',
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
cell: {
|
|
42
|
-
borderBottomWidth: '1px',
|
|
43
|
-
borderColor: 'border.divider',
|
|
44
|
-
},
|
|
45
|
-
row: {
|
|
46
|
-
bg: 'bg',
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
size: {
|
|
52
|
-
md: {
|
|
53
|
-
root: {
|
|
54
|
-
fontSize: 'sm',
|
|
55
|
-
},
|
|
56
|
-
columnHeader: {
|
|
57
|
-
px: '6px',
|
|
58
|
-
py: '10px',
|
|
59
|
-
_first: {
|
|
60
|
-
pl: 3,
|
|
61
|
-
},
|
|
62
|
-
_last: {
|
|
63
|
-
pr: 3,
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
cell: {
|
|
67
|
-
px: '6px',
|
|
68
|
-
py: 4,
|
|
69
|
-
_first: {
|
|
70
|
-
pl: 3,
|
|
71
|
-
},
|
|
72
|
-
_last: {
|
|
73
|
-
pr: 3,
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
|
|
80
|
-
defaultVariants: {
|
|
81
|
-
variant: 'line',
|
|
82
|
-
size: 'md',
|
|
83
|
-
},
|
|
84
|
-
});
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as e } from "@chakra-ui/react";
|
|
2
|
-
const r = e({
|
|
3
|
-
slots: ["root", "list", "trigger", "content", "indicator"],
|
|
4
|
-
base: {
|
|
5
|
-
root: {
|
|
6
|
-
"--tabs-trigger-radius": "radii.l2",
|
|
7
|
-
position: "relative",
|
|
8
|
-
_horizontal: {
|
|
9
|
-
display: "block"
|
|
10
|
-
},
|
|
11
|
-
_vertical: {
|
|
12
|
-
display: "flex"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
list: {
|
|
16
|
-
display: "inline-flex",
|
|
17
|
-
width: "100%",
|
|
18
|
-
position: "relative",
|
|
19
|
-
isolation: "isolate",
|
|
20
|
-
"--tabs-indicator-shadow": "shadows.xs",
|
|
21
|
-
"--tabs-indicator-bg": "colors.bg",
|
|
22
|
-
minH: "var(--tabs-height)",
|
|
23
|
-
_horizontal: {
|
|
24
|
-
flexDirection: "row"
|
|
25
|
-
},
|
|
26
|
-
_vertical: {
|
|
27
|
-
flexDirection: "column"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
trigger: {
|
|
31
|
-
outline: "0",
|
|
32
|
-
minW: "var(--tabs-height)",
|
|
33
|
-
height: "var(--tabs-height)",
|
|
34
|
-
display: "flex",
|
|
35
|
-
alignItems: "center",
|
|
36
|
-
position: "relative",
|
|
37
|
-
cursor: "button",
|
|
38
|
-
gap: "2",
|
|
39
|
-
_focusVisible: {
|
|
40
|
-
zIndex: 1,
|
|
41
|
-
outline: "2px solid",
|
|
42
|
-
outlineColor: "colorPalette.focusRing"
|
|
43
|
-
},
|
|
44
|
-
_disabled: {
|
|
45
|
-
cursor: "not-allowed",
|
|
46
|
-
opacity: 0.5
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
content: {
|
|
50
|
-
focusVisibleRing: "inside",
|
|
51
|
-
_horizontal: {
|
|
52
|
-
width: "100%",
|
|
53
|
-
pt: "var(--tabs-content-padding)"
|
|
54
|
-
},
|
|
55
|
-
_vertical: {
|
|
56
|
-
height: "100%",
|
|
57
|
-
ps: "var(--tabs-content-padding)"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
indicator: {
|
|
61
|
-
width: "var(--width)",
|
|
62
|
-
height: "var(--height)",
|
|
63
|
-
borderRadius: "var(--tabs-indicator-radius)",
|
|
64
|
-
bg: "var(--tabs-indicator-bg)",
|
|
65
|
-
shadow: "var(--tabs-indicator-shadow)",
|
|
66
|
-
zIndex: -1
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
variants: {
|
|
70
|
-
fitted: {
|
|
71
|
-
true: {
|
|
72
|
-
list: {
|
|
73
|
-
display: "flex"
|
|
74
|
-
},
|
|
75
|
-
trigger: {
|
|
76
|
-
flex: 1,
|
|
77
|
-
textAlign: "center",
|
|
78
|
-
justifyContent: "center"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
justify: {
|
|
83
|
-
start: {
|
|
84
|
-
list: {
|
|
85
|
-
justifyContent: "flex-start"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
center: {
|
|
89
|
-
list: {
|
|
90
|
-
justifyContent: "center"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
end: {
|
|
94
|
-
list: {
|
|
95
|
-
justifyContent: "flex-end"
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
size: {
|
|
100
|
-
sm: {
|
|
101
|
-
root: {
|
|
102
|
-
"--tabs-height": "sizes.8",
|
|
103
|
-
"--tabs-content-padding": "spacing.6"
|
|
104
|
-
},
|
|
105
|
-
trigger: {
|
|
106
|
-
py: "1",
|
|
107
|
-
px: "3",
|
|
108
|
-
textStyle: "sm"
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
md: {
|
|
112
|
-
root: {
|
|
113
|
-
"--tabs-height": "sizes.10",
|
|
114
|
-
"--tabs-content-padding": "spacing.6"
|
|
115
|
-
},
|
|
116
|
-
trigger: {
|
|
117
|
-
py: "2",
|
|
118
|
-
px: "4",
|
|
119
|
-
textStyle: "md"
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
free: {}
|
|
123
|
-
},
|
|
124
|
-
variant: {
|
|
125
|
-
solid: {
|
|
126
|
-
trigger: {
|
|
127
|
-
fontWeight: "600",
|
|
128
|
-
gap: "1",
|
|
129
|
-
borderRadius: "base",
|
|
130
|
-
color: "tabs.solid.fg",
|
|
131
|
-
bg: "transparent",
|
|
132
|
-
_selected: {
|
|
133
|
-
bg: "tabs.solid.bg.selected",
|
|
134
|
-
color: "tabs.solid.fg.selected",
|
|
135
|
-
_hover: {
|
|
136
|
-
color: "tabs.solid.fg.selected"
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
_hover: {
|
|
140
|
-
color: "link.primary.hover"
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
secondary: {
|
|
145
|
-
list: {
|
|
146
|
-
border: "none",
|
|
147
|
-
columnGap: "2",
|
|
148
|
-
_horizontal: {
|
|
149
|
-
_before: {
|
|
150
|
-
display: "none"
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
trigger: {
|
|
155
|
-
fontWeight: "500",
|
|
156
|
-
color: "tabs.secondary.fg",
|
|
157
|
-
bg: "transparent",
|
|
158
|
-
borderWidth: "2px",
|
|
159
|
-
borderStyle: "solid",
|
|
160
|
-
borderColor: "tabs.secondary.border",
|
|
161
|
-
borderRadius: "base",
|
|
162
|
-
_selected: {
|
|
163
|
-
bg: "tabs.secondary.bg.selected",
|
|
164
|
-
borderColor: "transparent",
|
|
165
|
-
_hover: {
|
|
166
|
-
borderColor: "transparent"
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
_hover: {
|
|
170
|
-
color: "link.primary.hover",
|
|
171
|
-
borderColor: "link.primary.hover"
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
segmented: {
|
|
176
|
-
trigger: {
|
|
177
|
-
color: "tabs.segmented.fg",
|
|
178
|
-
bg: "transparent",
|
|
179
|
-
borderWidth: "2px",
|
|
180
|
-
borderStyle: "solid",
|
|
181
|
-
borderColor: "tabs.segmented.border",
|
|
182
|
-
_hover: {
|
|
183
|
-
color: "link.primary.hover"
|
|
184
|
-
},
|
|
185
|
-
_selected: {
|
|
186
|
-
color: "tabs.segmented.fg.selected",
|
|
187
|
-
bg: "tabs.segmented.border",
|
|
188
|
-
borderColor: "tabs.segmented.border",
|
|
189
|
-
_hover: {
|
|
190
|
-
color: "tabs.segmented.fg.selected"
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
_notFirst: {
|
|
194
|
-
borderLeftWidth: "0"
|
|
195
|
-
},
|
|
196
|
-
_first: {
|
|
197
|
-
borderTopLeftRadius: "base",
|
|
198
|
-
borderBottomLeftRadius: "base"
|
|
199
|
-
},
|
|
200
|
-
_last: {
|
|
201
|
-
borderTopRightRadius: "base",
|
|
202
|
-
borderBottomRightRadius: "base"
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
unstyled: {}
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
defaultVariants: {
|
|
210
|
-
size: "md",
|
|
211
|
-
variant: "solid"
|
|
212
|
-
}
|
|
213
|
-
});
|
|
214
|
-
export {
|
|
215
|
-
r as recipe
|
|
216
|
-
};
|