@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,275 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as e } from "@chakra-ui/react";
|
|
2
|
-
const o = e({
|
|
3
|
-
slots: ["root", "trigger", "indicatorGroup", "indicator", "content", "item", "control", "itemText", "itemGroup", "itemGroupLabel", "label", "valueText"],
|
|
4
|
-
base: {
|
|
5
|
-
root: {
|
|
6
|
-
display: "flex",
|
|
7
|
-
flexDirection: "column",
|
|
8
|
-
gap: "1.5",
|
|
9
|
-
width: "100%"
|
|
10
|
-
},
|
|
11
|
-
trigger: {
|
|
12
|
-
display: "flex",
|
|
13
|
-
alignItems: "center",
|
|
14
|
-
justifyContent: "flex-start",
|
|
15
|
-
width: "full",
|
|
16
|
-
minH: "var(--select-trigger-height)",
|
|
17
|
-
pr: "var(--select-trigger-padding-right)",
|
|
18
|
-
pl: "var(--select-trigger-padding-left)",
|
|
19
|
-
borderRadius: "base",
|
|
20
|
-
userSelect: "none",
|
|
21
|
-
textAlign: "start",
|
|
22
|
-
fontWeight: "semibold",
|
|
23
|
-
cursor: "pointer",
|
|
24
|
-
focusVisibleRing: "none",
|
|
25
|
-
_disabled: {
|
|
26
|
-
opacity: "control.disabled"
|
|
27
|
-
},
|
|
28
|
-
_placeholderShown: {
|
|
29
|
-
"& [data-part=value-text]": {
|
|
30
|
-
display: "-webkit-box"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
indicatorGroup: {
|
|
35
|
-
display: "flex",
|
|
36
|
-
alignItems: "center",
|
|
37
|
-
gap: "1",
|
|
38
|
-
pos: "absolute",
|
|
39
|
-
right: "0",
|
|
40
|
-
top: "0",
|
|
41
|
-
bottom: "0",
|
|
42
|
-
px: "0",
|
|
43
|
-
pointerEvents: "none"
|
|
44
|
-
},
|
|
45
|
-
indicator: {
|
|
46
|
-
display: "flex",
|
|
47
|
-
alignItems: "center",
|
|
48
|
-
justifyContent: "center",
|
|
49
|
-
boxSize: "5",
|
|
50
|
-
color: "inherit",
|
|
51
|
-
_open: {
|
|
52
|
-
color: "link.primary.hover"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
content: {
|
|
56
|
-
background: "popover.bg",
|
|
57
|
-
display: "flex",
|
|
58
|
-
flexDirection: "column",
|
|
59
|
-
zIndex: "popover",
|
|
60
|
-
borderRadius: "md",
|
|
61
|
-
borderWidth: "0",
|
|
62
|
-
outline: 0,
|
|
63
|
-
boxShadow: "popover",
|
|
64
|
-
boxShadowColor: "colors.popover.shadow",
|
|
65
|
-
maxH: "96",
|
|
66
|
-
overflowY: "auto",
|
|
67
|
-
minWidth: "150px",
|
|
68
|
-
rowGap: "2",
|
|
69
|
-
_open: {
|
|
70
|
-
animationStyle: "slide-fade-in",
|
|
71
|
-
animationDuration: "fast"
|
|
72
|
-
},
|
|
73
|
-
_closed: {
|
|
74
|
-
animationStyle: "slide-fade-out",
|
|
75
|
-
animationDuration: "fastest"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
item: {
|
|
79
|
-
position: "relative",
|
|
80
|
-
userSelect: "none",
|
|
81
|
-
display: "flex",
|
|
82
|
-
alignItems: "center",
|
|
83
|
-
gap: "2",
|
|
84
|
-
cursor: "pointer",
|
|
85
|
-
justifyContent: "flex-start",
|
|
86
|
-
flex: "1",
|
|
87
|
-
textAlign: "start",
|
|
88
|
-
borderRadius: "none",
|
|
89
|
-
_disabled: {
|
|
90
|
-
pointerEvents: "none",
|
|
91
|
-
opacity: "control.disabled"
|
|
92
|
-
},
|
|
93
|
-
_highlighted: {
|
|
94
|
-
bg: "select.item.bg.highlighted"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
control: {
|
|
98
|
-
pos: "relative"
|
|
99
|
-
},
|
|
100
|
-
itemText: {
|
|
101
|
-
flex: "1"
|
|
102
|
-
},
|
|
103
|
-
itemGroup: {
|
|
104
|
-
_first: { mt: "0" }
|
|
105
|
-
},
|
|
106
|
-
itemGroupLabel: {
|
|
107
|
-
py: "1",
|
|
108
|
-
fontWeight: "medium"
|
|
109
|
-
},
|
|
110
|
-
label: {
|
|
111
|
-
fontWeight: "medium",
|
|
112
|
-
userSelect: "none",
|
|
113
|
-
textStyle: "sm",
|
|
114
|
-
_disabled: {
|
|
115
|
-
opacity: "control.disabled"
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
valueText: {
|
|
119
|
-
display: "flex",
|
|
120
|
-
flexDirection: "column",
|
|
121
|
-
lineClamp: "1",
|
|
122
|
-
maxW: "100%",
|
|
123
|
-
wordBreak: "break-all"
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
variants: {
|
|
127
|
-
variant: {
|
|
128
|
-
outline: {
|
|
129
|
-
trigger: {
|
|
130
|
-
borderWidth: "2px",
|
|
131
|
-
bg: "input.bg",
|
|
132
|
-
color: "select.trigger.outline.fg",
|
|
133
|
-
borderColor: "input.border.filled",
|
|
134
|
-
_expanded: {
|
|
135
|
-
color: "link.primary.hover",
|
|
136
|
-
borderColor: "link.primary.hover",
|
|
137
|
-
_hover: {
|
|
138
|
-
color: "link.primary.hover",
|
|
139
|
-
borderColor: "link.primary.hover"
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
_hover: {
|
|
143
|
-
color: "select.trigger.outline.fg",
|
|
144
|
-
borderColor: "input.border.hover"
|
|
145
|
-
},
|
|
146
|
-
_focusVisible: {
|
|
147
|
-
borderColor: "input.border.focus"
|
|
148
|
-
},
|
|
149
|
-
_readOnly: {
|
|
150
|
-
userSelect: "all",
|
|
151
|
-
pointerEvents: "none",
|
|
152
|
-
cursor: "default",
|
|
153
|
-
bg: "input.bg.readOnly",
|
|
154
|
-
borderColor: "input.border.readOnly",
|
|
155
|
-
_focus: {
|
|
156
|
-
borderColor: "input.border.readOnly"
|
|
157
|
-
},
|
|
158
|
-
_hover: {
|
|
159
|
-
borderColor: "input.border.readOnly"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
_invalid: {
|
|
163
|
-
borderColor: "input.border.error",
|
|
164
|
-
_hover: {
|
|
165
|
-
borderColor: "input.border.error"
|
|
166
|
-
},
|
|
167
|
-
_expanded: {
|
|
168
|
-
color: "link.primary.hover",
|
|
169
|
-
borderColor: "link.primary.hover",
|
|
170
|
-
_hover: {
|
|
171
|
-
color: "link.primary.hover",
|
|
172
|
-
borderColor: "link.primary.hover"
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
_placeholderShown: {
|
|
177
|
-
color: "select.placeholder.fg",
|
|
178
|
-
borderColor: "input.border",
|
|
179
|
-
_hover: {
|
|
180
|
-
color: "select.placeholder.fg"
|
|
181
|
-
},
|
|
182
|
-
_invalid: {
|
|
183
|
-
color: "select.placeholder.fg.error",
|
|
184
|
-
_hover: {
|
|
185
|
-
color: "select.placeholder.fg.error"
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
indicatorGroup: {
|
|
191
|
-
color: "select.indicator.fg",
|
|
192
|
-
_peerDisabled: {
|
|
193
|
-
opacity: "control.disabled"
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
plain: {
|
|
198
|
-
trigger: {},
|
|
199
|
-
indicatorGroup: {}
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
size: {
|
|
203
|
-
sm: {
|
|
204
|
-
root: {
|
|
205
|
-
"--select-trigger-height": "sizes.8",
|
|
206
|
-
"--select-trigger-padding-right": "spacing.8",
|
|
207
|
-
"--select-trigger-padding-left": "spacing.2"
|
|
208
|
-
},
|
|
209
|
-
content: {
|
|
210
|
-
px: "0",
|
|
211
|
-
py: "4",
|
|
212
|
-
textStyle: "md"
|
|
213
|
-
},
|
|
214
|
-
trigger: {
|
|
215
|
-
textStyle: "sm",
|
|
216
|
-
gap: "1"
|
|
217
|
-
},
|
|
218
|
-
indicatorGroup: {
|
|
219
|
-
pr: "2",
|
|
220
|
-
pl: "1"
|
|
221
|
-
},
|
|
222
|
-
item: {
|
|
223
|
-
py: "5px",
|
|
224
|
-
px: "4"
|
|
225
|
-
}
|
|
226
|
-
},
|
|
227
|
-
lg: {
|
|
228
|
-
root: {
|
|
229
|
-
"--select-trigger-height": "60px",
|
|
230
|
-
"--select-trigger-padding-right": "44px",
|
|
231
|
-
"--select-trigger-padding-left": "spacing.4"
|
|
232
|
-
},
|
|
233
|
-
content: {
|
|
234
|
-
px: "0",
|
|
235
|
-
py: "4",
|
|
236
|
-
textStyle: "md"
|
|
237
|
-
},
|
|
238
|
-
trigger: {
|
|
239
|
-
py: "2"
|
|
240
|
-
},
|
|
241
|
-
item: {
|
|
242
|
-
py: "5px",
|
|
243
|
-
px: "4"
|
|
244
|
-
},
|
|
245
|
-
indicatorGroup: {
|
|
246
|
-
pr: "4",
|
|
247
|
-
pl: "2"
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
compoundVariants: [
|
|
253
|
-
{
|
|
254
|
-
size: "sm",
|
|
255
|
-
variant: "outline",
|
|
256
|
-
css: {
|
|
257
|
-
trigger: {
|
|
258
|
-
_placeholderShown: {
|
|
259
|
-
color: "select.trigger.outline.fg",
|
|
260
|
-
_hover: {
|
|
261
|
-
color: "select.trigger.outline.fg"
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
],
|
|
268
|
-
defaultVariants: {
|
|
269
|
-
size: "sm",
|
|
270
|
-
variant: "outline"
|
|
271
|
-
}
|
|
272
|
-
});
|
|
273
|
-
export {
|
|
274
|
-
o as recipe
|
|
275
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { defineRecipe as a } from "@chakra-ui/react";
|
|
2
|
-
const e = a({
|
|
3
|
-
base: {},
|
|
4
|
-
variants: {
|
|
5
|
-
loading: {
|
|
6
|
-
true: {
|
|
7
|
-
borderRadius: "base",
|
|
8
|
-
boxShadow: "none",
|
|
9
|
-
backgroundClip: "padding-box",
|
|
10
|
-
cursor: "default",
|
|
11
|
-
color: "transparent",
|
|
12
|
-
pointerEvents: "none",
|
|
13
|
-
userSelect: "none",
|
|
14
|
-
// we have to override the property set by chakra in order to make the skeleton shrink
|
|
15
|
-
// when the text is too long
|
|
16
|
-
flexShrink: "initial",
|
|
17
|
-
"&::before, &::after, *": {
|
|
18
|
-
visibility: "hidden"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
false: {
|
|
22
|
-
background: "var(--layer-bg)",
|
|
23
|
-
animation: "fade-in var(--fade-duration, 0.1s) ease-out !important"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
variant: {
|
|
27
|
-
pulse: {
|
|
28
|
-
background: "bg.emphasized",
|
|
29
|
-
animation: "pulse",
|
|
30
|
-
animationDuration: "var(--duration, 1.2s)"
|
|
31
|
-
},
|
|
32
|
-
shine: {
|
|
33
|
-
"--animate-from": "100%",
|
|
34
|
-
"--animate-to": "-100%",
|
|
35
|
-
"--start-color": "colors.skeleton.bg.start",
|
|
36
|
-
"--end-color": "colors.skeleton.bg.end",
|
|
37
|
-
backgroundImage: "linear-gradient(90deg,var(--start-color) 8%,var(--end-color) 18%,var(--start-color) 33%)",
|
|
38
|
-
backgroundColor: "transparent",
|
|
39
|
-
backgroundSize: "200% 100%",
|
|
40
|
-
animation: "bg-position var(--duration, 2s) linear infinite"
|
|
41
|
-
},
|
|
42
|
-
none: {
|
|
43
|
-
animation: "none"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
defaultVariants: {
|
|
48
|
-
variant: "shine",
|
|
49
|
-
loading: !0
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
export {
|
|
53
|
-
e as recipe
|
|
54
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { defineRecipe as e } from "@chakra-ui/react";
|
|
2
|
-
const r = e({
|
|
3
|
-
base: {
|
|
4
|
-
display: "inline-block",
|
|
5
|
-
borderColor: "blue.500",
|
|
6
|
-
borderStyle: "solid",
|
|
7
|
-
borderWidth: "2px",
|
|
8
|
-
borderRadius: "full",
|
|
9
|
-
width: "var(--spinner-size)",
|
|
10
|
-
height: "var(--spinner-size)",
|
|
11
|
-
animation: "spin",
|
|
12
|
-
animationDuration: "slowest",
|
|
13
|
-
"--spinner-track-color": "{colors.spinner.track}",
|
|
14
|
-
borderBottomColor: "var(--spinner-track-color)",
|
|
15
|
-
borderInlineStartColor: "var(--spinner-track-color)"
|
|
16
|
-
},
|
|
17
|
-
variants: {
|
|
18
|
-
size: {
|
|
19
|
-
inherit: { "--spinner-size": "1em" },
|
|
20
|
-
xs: { "--spinner-size": "sizes.3" },
|
|
21
|
-
sm: { "--spinner-size": "sizes.4" },
|
|
22
|
-
md: { "--spinner-size": "sizes.5" },
|
|
23
|
-
lg: { "--spinner-size": "sizes.8" },
|
|
24
|
-
xl: { "--spinner-size": "sizes.10" }
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
defaultVariants: {
|
|
28
|
-
size: "md"
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
export {
|
|
32
|
-
r as recipe
|
|
33
|
-
};
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as t } from "@chakra-ui/react";
|
|
2
|
-
const i = t({
|
|
3
|
-
slots: ["root", "label", "helpText", "valueUnit", "valueText", "indicator"],
|
|
4
|
-
base: {
|
|
5
|
-
root: {
|
|
6
|
-
display: "flex",
|
|
7
|
-
flexDirection: "column",
|
|
8
|
-
gap: "1",
|
|
9
|
-
position: "relative",
|
|
10
|
-
flex: "1"
|
|
11
|
-
},
|
|
12
|
-
label: {
|
|
13
|
-
display: "inline-flex",
|
|
14
|
-
gap: "1.5",
|
|
15
|
-
alignItems: "center",
|
|
16
|
-
color: "text",
|
|
17
|
-
textStyle: "sm"
|
|
18
|
-
},
|
|
19
|
-
helpText: {
|
|
20
|
-
color: "text",
|
|
21
|
-
textStyle: "xs"
|
|
22
|
-
},
|
|
23
|
-
valueUnit: {
|
|
24
|
-
color: "text",
|
|
25
|
-
textStyle: "xs",
|
|
26
|
-
fontWeight: "initial",
|
|
27
|
-
letterSpacing: "initial"
|
|
28
|
-
},
|
|
29
|
-
valueText: {
|
|
30
|
-
verticalAlign: "baseline",
|
|
31
|
-
fontWeight: "semibold",
|
|
32
|
-
letterSpacing: "normal",
|
|
33
|
-
fontFeatureSettings: "initial",
|
|
34
|
-
fontVariantNumeric: "initial",
|
|
35
|
-
display: "inline-flex",
|
|
36
|
-
gap: "1"
|
|
37
|
-
},
|
|
38
|
-
indicator: {
|
|
39
|
-
display: "inline-flex",
|
|
40
|
-
alignItems: "center",
|
|
41
|
-
justifyContent: "center",
|
|
42
|
-
marginEnd: 0,
|
|
43
|
-
"& :where(svg)": {
|
|
44
|
-
w: "1em",
|
|
45
|
-
h: "1em"
|
|
46
|
-
},
|
|
47
|
-
"&[data-type=up]": {
|
|
48
|
-
color: "stat.indicator.up"
|
|
49
|
-
},
|
|
50
|
-
"&[data-type=down]": {
|
|
51
|
-
color: "stat.indicator.down"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
variants: {
|
|
56
|
-
orientation: {
|
|
57
|
-
horizontal: {
|
|
58
|
-
root: {
|
|
59
|
-
flexDirection: "row",
|
|
60
|
-
alignItems: "center"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
positive: {
|
|
65
|
-
true: {
|
|
66
|
-
valueText: {
|
|
67
|
-
color: "stat.indicator.up"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
false: {
|
|
71
|
-
valueText: {
|
|
72
|
-
color: "stat.indicator.down"
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
size: {
|
|
77
|
-
sm: {
|
|
78
|
-
valueText: {
|
|
79
|
-
textStyle: "sm"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
md: {
|
|
83
|
-
valueText: {
|
|
84
|
-
textStyle: "md"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
lg: {
|
|
88
|
-
valueText: {
|
|
89
|
-
textStyle: "lg"
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
defaultVariants: {
|
|
95
|
-
size: "md",
|
|
96
|
-
orientation: "horizontal"
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
export {
|
|
100
|
-
i as recipe
|
|
101
|
-
};
|
|
@@ -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,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
|
-
};
|