@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,24 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
hide: { value: -1 },
|
|
3
|
-
auto: { value: "auto" },
|
|
4
|
-
base: { value: 0 },
|
|
5
|
-
docked: { value: 10 },
|
|
6
|
-
dropdown: { value: 1e3 },
|
|
7
|
-
sticky: { value: 1100 },
|
|
8
|
-
sticky1: { value: 1101 },
|
|
9
|
-
sticky2: { value: 1102 },
|
|
10
|
-
banner: { value: 1200 },
|
|
11
|
-
overlay: { value: 1300 },
|
|
12
|
-
modal: { value: 1400 },
|
|
13
|
-
popover: { value: 1500 },
|
|
14
|
-
tooltip: { value: 1550 },
|
|
15
|
-
// otherwise tooltips will not be visible in modals
|
|
16
|
-
tooltip2: { value: 1551 },
|
|
17
|
-
// for tooltips in tooltips
|
|
18
|
-
skipLink: { value: 1600 },
|
|
19
|
-
toast: { value: 1700 }
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
e as default,
|
|
23
|
-
e as zIndex
|
|
24
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export const zIndex = {
|
|
2
|
-
hide: { value: -1 },
|
|
3
|
-
auto: { value: 'auto' },
|
|
4
|
-
base: { value: 0 },
|
|
5
|
-
docked: { value: 10 },
|
|
6
|
-
dropdown: { value: 1000 },
|
|
7
|
-
sticky: { value: 1100 },
|
|
8
|
-
sticky1: { value: 1101 },
|
|
9
|
-
sticky2: { value: 1102 },
|
|
10
|
-
banner: { value: 1200 },
|
|
11
|
-
overlay: { value: 1300 },
|
|
12
|
-
modal: { value: 1400 },
|
|
13
|
-
popover: { value: 1500 },
|
|
14
|
-
tooltip: { value: 1550 }, // otherwise tooltips will not be visible in modals
|
|
15
|
-
tooltip2: { value: 1551 }, // for tooltips in tooltips
|
|
16
|
-
skipLink: { value: 1600 },
|
|
17
|
-
toast: { value: 1700 },
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export default zIndex;
|
package/dist/theme/globalCss.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import e from "./globals/address-entity.js";
|
|
2
|
-
import i from "./globals/recaptcha.js";
|
|
3
|
-
import r from "./globals/scrollbar.js";
|
|
4
|
-
const o = {
|
|
5
|
-
WebkitTextFillColor: "var(--chakra-colors-input-fg)",
|
|
6
|
-
"-webkit-box-shadow": "0 0 0px 1000px var(--chakra-colors-input-bg) inset",
|
|
7
|
-
transition: "background-color 5000s ease-in-out 0s"
|
|
8
|
-
}, t = {
|
|
9
|
-
"&:-webkit-autofill": o,
|
|
10
|
-
"&:-webkit-autofill:hover": o,
|
|
11
|
-
"&:-webkit-autofill:focus": o
|
|
12
|
-
}, s = {
|
|
13
|
-
body: {
|
|
14
|
-
bg: "global.body.bg",
|
|
15
|
-
color: "global.body.fg",
|
|
16
|
-
WebkitTapHighlightColor: "transparent",
|
|
17
|
-
fontVariantLigatures: "no-contextual",
|
|
18
|
-
focusRingStyle: "hidden"
|
|
19
|
-
},
|
|
20
|
-
mark: {
|
|
21
|
-
bg: "global.mark.bg",
|
|
22
|
-
color: "inherit"
|
|
23
|
-
},
|
|
24
|
-
"svg *::selection": {
|
|
25
|
-
color: "none",
|
|
26
|
-
background: "none"
|
|
27
|
-
},
|
|
28
|
-
form: {
|
|
29
|
-
w: "100%"
|
|
30
|
-
},
|
|
31
|
-
input: {
|
|
32
|
-
// hide number input arrows in Google Chrome
|
|
33
|
-
"&::-webkit-outer-spin-button, &::-webkit-inner-spin-button": {
|
|
34
|
-
WebkitAppearance: "none",
|
|
35
|
-
margin: 0
|
|
36
|
-
},
|
|
37
|
-
...t
|
|
38
|
-
},
|
|
39
|
-
textarea: {
|
|
40
|
-
...t
|
|
41
|
-
},
|
|
42
|
-
select: {
|
|
43
|
-
...t
|
|
44
|
-
},
|
|
45
|
-
...i,
|
|
46
|
-
...r,
|
|
47
|
-
...e
|
|
48
|
-
};
|
|
49
|
-
export {
|
|
50
|
-
s as default
|
|
51
|
-
};
|
package/dist/theme/globalCss.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import type { SystemConfig } from '@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
import addressEntity from './globals/address-entity';
|
|
4
|
-
import recaptcha from './globals/recaptcha';
|
|
5
|
-
import scrollbar from './globals/scrollbar';
|
|
6
|
-
|
|
7
|
-
const webkitAutofillOverrides = {
|
|
8
|
-
WebkitTextFillColor: 'var(--chakra-colors-input-fg)',
|
|
9
|
-
'-webkit-box-shadow': '0 0 0px 1000px var(--chakra-colors-input-bg) inset',
|
|
10
|
-
transition: 'background-color 5000s ease-in-out 0s',
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
const webkitAutofillRules = {
|
|
14
|
-
'&:-webkit-autofill': webkitAutofillOverrides,
|
|
15
|
-
'&:-webkit-autofill:hover': webkitAutofillOverrides,
|
|
16
|
-
'&:-webkit-autofill:focus': webkitAutofillOverrides,
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
const globalCss: SystemConfig['globalCss'] = {
|
|
20
|
-
body: {
|
|
21
|
-
bg: 'global.body.bg',
|
|
22
|
-
color: 'global.body.fg',
|
|
23
|
-
WebkitTapHighlightColor: 'transparent',
|
|
24
|
-
fontVariantLigatures: 'no-contextual',
|
|
25
|
-
focusRingStyle: 'hidden',
|
|
26
|
-
},
|
|
27
|
-
mark: {
|
|
28
|
-
bg: 'global.mark.bg',
|
|
29
|
-
color: 'inherit',
|
|
30
|
-
},
|
|
31
|
-
'svg *::selection': {
|
|
32
|
-
color: 'none',
|
|
33
|
-
background: 'none',
|
|
34
|
-
},
|
|
35
|
-
form: {
|
|
36
|
-
w: '100%',
|
|
37
|
-
},
|
|
38
|
-
input: {
|
|
39
|
-
// hide number input arrows in Google Chrome
|
|
40
|
-
'&::-webkit-outer-spin-button, &::-webkit-inner-spin-button': {
|
|
41
|
-
WebkitAppearance: 'none',
|
|
42
|
-
margin: 0,
|
|
43
|
-
},
|
|
44
|
-
...webkitAutofillRules,
|
|
45
|
-
},
|
|
46
|
-
textarea: {
|
|
47
|
-
...webkitAutofillRules,
|
|
48
|
-
},
|
|
49
|
-
select: {
|
|
50
|
-
...webkitAutofillRules,
|
|
51
|
-
},
|
|
52
|
-
...recaptcha,
|
|
53
|
-
...scrollbar,
|
|
54
|
-
...addressEntity,
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
export default globalCss;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
".address-entity": {
|
|
3
|
-
"&.address-entity_highlighted": {
|
|
4
|
-
_before: {
|
|
5
|
-
content: '" "',
|
|
6
|
-
position: "absolute",
|
|
7
|
-
py: 1,
|
|
8
|
-
pl: 1,
|
|
9
|
-
pr: 0,
|
|
10
|
-
top: "-5px",
|
|
11
|
-
left: "-5px",
|
|
12
|
-
width: "calc(100% + 6px)",
|
|
13
|
-
height: "calc(100% + 10px)",
|
|
14
|
-
borderRadius: "base",
|
|
15
|
-
borderColor: "address.highlighted.border",
|
|
16
|
-
borderWidth: "1px",
|
|
17
|
-
borderStyle: "dashed",
|
|
18
|
-
bgColor: "address.highlighted.bg",
|
|
19
|
-
zIndex: -1
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
".address-entity_no-copy": {
|
|
24
|
-
"&.address-entity_highlighted": {
|
|
25
|
-
_before: {
|
|
26
|
-
pr: 2,
|
|
27
|
-
width: "calc(100% + 6px + 8px)"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
e as default
|
|
34
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
const styles = {
|
|
2
|
-
'.address-entity': {
|
|
3
|
-
'&.address-entity_highlighted': {
|
|
4
|
-
_before: {
|
|
5
|
-
content: `" "`,
|
|
6
|
-
position: 'absolute',
|
|
7
|
-
py: 1,
|
|
8
|
-
pl: 1,
|
|
9
|
-
pr: 0,
|
|
10
|
-
top: '-5px',
|
|
11
|
-
left: '-5px',
|
|
12
|
-
width: `calc(100% + 6px)`,
|
|
13
|
-
height: 'calc(100% + 10px)',
|
|
14
|
-
borderRadius: 'base',
|
|
15
|
-
borderColor: 'address.highlighted.border',
|
|
16
|
-
borderWidth: '1px',
|
|
17
|
-
borderStyle: 'dashed',
|
|
18
|
-
bgColor: 'address.highlighted.bg',
|
|
19
|
-
zIndex: -1,
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
'.address-entity_no-copy': {
|
|
24
|
-
'&.address-entity_highlighted': {
|
|
25
|
-
_before: {
|
|
26
|
-
pr: 2,
|
|
27
|
-
width: `calc(100% + 6px + 8px)`,
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
export default styles;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
".grecaptcha-badge": {
|
|
3
|
-
visibility: "hidden"
|
|
4
|
-
},
|
|
5
|
-
'div:has(div):has(iframe[title="recaptcha challenge expires in two minutes"])': {
|
|
6
|
-
"&::after": {
|
|
7
|
-
content: '" "',
|
|
8
|
-
display: "block",
|
|
9
|
-
position: "fixed",
|
|
10
|
-
top: 0,
|
|
11
|
-
left: 0,
|
|
12
|
-
width: "100vw",
|
|
13
|
-
height: "100vh",
|
|
14
|
-
zIndex: 1e5,
|
|
15
|
-
bgColor: "blackAlpha.300"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
export {
|
|
20
|
-
e as default
|
|
21
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
const styles = {
|
|
2
|
-
'.grecaptcha-badge': {
|
|
3
|
-
visibility: 'hidden',
|
|
4
|
-
},
|
|
5
|
-
'div:has(div):has(iframe[title="recaptcha challenge expires in two minutes"])': {
|
|
6
|
-
'&::after': {
|
|
7
|
-
content: `" "`,
|
|
8
|
-
display: 'block',
|
|
9
|
-
position: 'fixed',
|
|
10
|
-
top: 0,
|
|
11
|
-
left: 0,
|
|
12
|
-
width: '100vw',
|
|
13
|
-
height: '100vh',
|
|
14
|
-
zIndex: 100000,
|
|
15
|
-
bgColor: 'blackAlpha.300',
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export default styles;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
const r = {
|
|
2
|
-
"body *::-webkit-scrollbar": {
|
|
3
|
-
width: "20px"
|
|
4
|
-
},
|
|
5
|
-
"body *::-webkit-scrollbar-track": {
|
|
6
|
-
backgroundColor: "transparent"
|
|
7
|
-
},
|
|
8
|
-
"body *::-webkit-scrollbar-thumb": {
|
|
9
|
-
backgroundColor: "{colors.global.scrollbar.thumb}",
|
|
10
|
-
borderRadius: "20px",
|
|
11
|
-
border: "8px solid rgba(0,0,0,0)",
|
|
12
|
-
backgroundClip: "content-box",
|
|
13
|
-
minHeight: "32px"
|
|
14
|
-
},
|
|
15
|
-
"body *::-webkit-scrollbar-button": {
|
|
16
|
-
display: "none"
|
|
17
|
-
},
|
|
18
|
-
"body *::-webkit-scrollbar-corner": {
|
|
19
|
-
backgroundColor: "transparent"
|
|
20
|
-
},
|
|
21
|
-
"body *::-webkit-resizer": {
|
|
22
|
-
// FIXME for dark mode we need to use a different image - /static/resizer_dark.png
|
|
23
|
-
backgroundImage: "url(/static/resizer_light.png)",
|
|
24
|
-
backgroundSize: "20px"
|
|
25
|
-
},
|
|
26
|
-
"body *": {
|
|
27
|
-
scrollbarWidth: "thin",
|
|
28
|
-
scrollbarColor: "{colors.global.scrollbar.thumb} transparent"
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
export {
|
|
32
|
-
r as default
|
|
33
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
const scrollbar = {
|
|
2
|
-
'body *::-webkit-scrollbar': {
|
|
3
|
-
width: '20px',
|
|
4
|
-
},
|
|
5
|
-
'body *::-webkit-scrollbar-track': {
|
|
6
|
-
backgroundColor: 'transparent',
|
|
7
|
-
},
|
|
8
|
-
'body *::-webkit-scrollbar-thumb': {
|
|
9
|
-
backgroundColor: '{colors.global.scrollbar.thumb}',
|
|
10
|
-
borderRadius: '20px',
|
|
11
|
-
border: `8px solid rgba(0,0,0,0)`,
|
|
12
|
-
backgroundClip: 'content-box',
|
|
13
|
-
minHeight: '32px',
|
|
14
|
-
},
|
|
15
|
-
'body *::-webkit-scrollbar-button': {
|
|
16
|
-
display: 'none',
|
|
17
|
-
},
|
|
18
|
-
'body *::-webkit-scrollbar-corner': {
|
|
19
|
-
backgroundColor: 'transparent',
|
|
20
|
-
},
|
|
21
|
-
'body *::-webkit-resizer': {
|
|
22
|
-
// FIXME for dark mode we need to use a different image - /static/resizer_dark.png
|
|
23
|
-
backgroundImage: 'url(/static/resizer_light.png)',
|
|
24
|
-
backgroundSize: '20px',
|
|
25
|
-
},
|
|
26
|
-
'body *': {
|
|
27
|
-
scrollbarWidth: 'thin',
|
|
28
|
-
scrollbarColor: `{colors.global.scrollbar.thumb} transparent`,
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export default scrollbar;
|
package/dist/theme/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as theme } from './theme';
|
package/dist/theme/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as theme } from './theme';
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe as i } from "@chakra-ui/react";
|
|
2
|
-
const e = i({
|
|
3
|
-
className: "chakra-accordion",
|
|
4
|
-
slots: ["root", "item", "itemTrigger", "itemContent", "itemBody", "itemIndicator"],
|
|
5
|
-
base: {
|
|
6
|
-
root: {
|
|
7
|
-
width: "full",
|
|
8
|
-
"--accordion-radius": "none"
|
|
9
|
-
},
|
|
10
|
-
item: {
|
|
11
|
-
overflowAnchor: "none",
|
|
12
|
-
borderColor: "border.divider"
|
|
13
|
-
},
|
|
14
|
-
itemTrigger: {
|
|
15
|
-
display: "flex",
|
|
16
|
-
alignItems: "center",
|
|
17
|
-
width: "full",
|
|
18
|
-
outline: "0",
|
|
19
|
-
gap: "1",
|
|
20
|
-
fontWeight: "medium",
|
|
21
|
-
borderRadius: "var(--accordion-radius)",
|
|
22
|
-
cursor: "pointer",
|
|
23
|
-
_focusVisible: {
|
|
24
|
-
outline: "2px solid",
|
|
25
|
-
outlineColor: "colorPalette.focusRing"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
itemBody: {
|
|
29
|
-
pt: "0",
|
|
30
|
-
pb: "var(--accordion-padding-y)"
|
|
31
|
-
},
|
|
32
|
-
itemContent: {
|
|
33
|
-
overflow: "hidden",
|
|
34
|
-
borderRadius: "var(--accordion-radius)",
|
|
35
|
-
_open: {
|
|
36
|
-
animationName: "expand-height, fade-in",
|
|
37
|
-
animationDuration: "moderate"
|
|
38
|
-
},
|
|
39
|
-
_closed: {
|
|
40
|
-
animationName: "collapse-height, fade-out",
|
|
41
|
-
animationDuration: "moderate"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
itemIndicator: {
|
|
45
|
-
transition: "rotate 0.2s ease-in-out",
|
|
46
|
-
transformOrigin: "center"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
variants: {
|
|
50
|
-
noAnimation: {
|
|
51
|
-
true: {
|
|
52
|
-
itemContent: {
|
|
53
|
-
_open: {
|
|
54
|
-
animationName: "none"
|
|
55
|
-
},
|
|
56
|
-
_closed: {
|
|
57
|
-
animationName: "none"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
itemIndicator: {
|
|
61
|
-
transition: "none"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
variant: {
|
|
66
|
-
outline: {
|
|
67
|
-
item: {
|
|
68
|
-
borderBottomWidth: "1px"
|
|
69
|
-
},
|
|
70
|
-
itemIndicator: {
|
|
71
|
-
color: "gray.500"
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
faq: {
|
|
75
|
-
item: {
|
|
76
|
-
borderBottomWidth: "1px"
|
|
77
|
-
},
|
|
78
|
-
itemTrigger: {
|
|
79
|
-
textStyle: "heading.md"
|
|
80
|
-
},
|
|
81
|
-
itemIndicator: {
|
|
82
|
-
color: "link.primary",
|
|
83
|
-
_groupHover: {
|
|
84
|
-
color: "link.primary.hover"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
size: {
|
|
90
|
-
sm: {
|
|
91
|
-
root: {
|
|
92
|
-
"--accordion-padding-x": "0",
|
|
93
|
-
"--accordion-padding-y": "spacing.2"
|
|
94
|
-
},
|
|
95
|
-
itemTrigger: {
|
|
96
|
-
textStyle: "sm",
|
|
97
|
-
py: "var(--accordion-padding-y)"
|
|
98
|
-
},
|
|
99
|
-
itemIndicator: {
|
|
100
|
-
boxSize: "5"
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
md: {
|
|
104
|
-
root: {
|
|
105
|
-
"--accordion-padding-x": "0",
|
|
106
|
-
"--accordion-padding-y": "spacing.3"
|
|
107
|
-
},
|
|
108
|
-
itemTrigger: {
|
|
109
|
-
textStyle: "md",
|
|
110
|
-
py: "var(--accordion-padding-y)"
|
|
111
|
-
},
|
|
112
|
-
itemIndicator: {
|
|
113
|
-
boxSize: "5"
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
compoundVariants: [
|
|
119
|
-
{
|
|
120
|
-
variant: "faq",
|
|
121
|
-
size: "md",
|
|
122
|
-
css: {
|
|
123
|
-
itemIndicator: {
|
|
124
|
-
boxSize: "14px",
|
|
125
|
-
margin: "5px"
|
|
126
|
-
},
|
|
127
|
-
itemBody: {
|
|
128
|
-
paddingLeft: "36px"
|
|
129
|
-
},
|
|
130
|
-
itemTrigger: {
|
|
131
|
-
gap: "3"
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
],
|
|
136
|
-
defaultVariants: {
|
|
137
|
-
size: "md",
|
|
138
|
-
variant: "outline"
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
export {
|
|
142
|
-
e as recipe
|
|
143
|
-
};
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe } from '@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export const recipe = defineSlotRecipe({
|
|
4
|
-
className: 'chakra-accordion',
|
|
5
|
-
slots: [ 'root', 'item', 'itemTrigger', 'itemContent', 'itemBody', 'itemIndicator' ],
|
|
6
|
-
base: {
|
|
7
|
-
root: {
|
|
8
|
-
width: 'full',
|
|
9
|
-
'--accordion-radius': 'none',
|
|
10
|
-
},
|
|
11
|
-
item: {
|
|
12
|
-
overflowAnchor: 'none',
|
|
13
|
-
borderColor: 'border.divider',
|
|
14
|
-
},
|
|
15
|
-
itemTrigger: {
|
|
16
|
-
display: 'flex',
|
|
17
|
-
alignItems: 'center',
|
|
18
|
-
width: 'full',
|
|
19
|
-
outline: '0',
|
|
20
|
-
gap: '1',
|
|
21
|
-
fontWeight: 'medium',
|
|
22
|
-
borderRadius: 'var(--accordion-radius)',
|
|
23
|
-
cursor: 'pointer',
|
|
24
|
-
_focusVisible: {
|
|
25
|
-
outline: '2px solid',
|
|
26
|
-
outlineColor: 'colorPalette.focusRing',
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
itemBody: {
|
|
30
|
-
pt: '0',
|
|
31
|
-
pb: 'var(--accordion-padding-y)',
|
|
32
|
-
},
|
|
33
|
-
itemContent: {
|
|
34
|
-
overflow: 'hidden',
|
|
35
|
-
borderRadius: 'var(--accordion-radius)',
|
|
36
|
-
_open: {
|
|
37
|
-
animationName: 'expand-height, fade-in',
|
|
38
|
-
animationDuration: 'moderate',
|
|
39
|
-
},
|
|
40
|
-
_closed: {
|
|
41
|
-
animationName: 'collapse-height, fade-out',
|
|
42
|
-
animationDuration: 'moderate',
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
itemIndicator: {
|
|
46
|
-
transition: 'rotate 0.2s ease-in-out',
|
|
47
|
-
transformOrigin: 'center',
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
variants: {
|
|
52
|
-
noAnimation: {
|
|
53
|
-
'true': {
|
|
54
|
-
itemContent: {
|
|
55
|
-
_open: {
|
|
56
|
-
animationName: 'none',
|
|
57
|
-
},
|
|
58
|
-
_closed: {
|
|
59
|
-
animationName: 'none',
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
itemIndicator: {
|
|
63
|
-
transition: 'none',
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
variant: {
|
|
68
|
-
outline: {
|
|
69
|
-
item: {
|
|
70
|
-
borderBottomWidth: '1px',
|
|
71
|
-
},
|
|
72
|
-
itemIndicator: {
|
|
73
|
-
color: 'gray.500',
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
faq: {
|
|
77
|
-
item: {
|
|
78
|
-
borderBottomWidth: '1px',
|
|
79
|
-
},
|
|
80
|
-
itemTrigger: {
|
|
81
|
-
textStyle: 'heading.md',
|
|
82
|
-
},
|
|
83
|
-
itemIndicator: {
|
|
84
|
-
color: 'link.primary',
|
|
85
|
-
_groupHover: {
|
|
86
|
-
color: 'link.primary.hover',
|
|
87
|
-
},
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
|
|
92
|
-
size: {
|
|
93
|
-
sm: {
|
|
94
|
-
root: {
|
|
95
|
-
'--accordion-padding-x': '0',
|
|
96
|
-
'--accordion-padding-y': 'spacing.2',
|
|
97
|
-
},
|
|
98
|
-
itemTrigger: {
|
|
99
|
-
textStyle: 'sm',
|
|
100
|
-
py: 'var(--accordion-padding-y)',
|
|
101
|
-
},
|
|
102
|
-
itemIndicator: {
|
|
103
|
-
boxSize: '5',
|
|
104
|
-
},
|
|
105
|
-
},
|
|
106
|
-
md: {
|
|
107
|
-
root: {
|
|
108
|
-
'--accordion-padding-x': '0',
|
|
109
|
-
'--accordion-padding-y': 'spacing.3',
|
|
110
|
-
},
|
|
111
|
-
itemTrigger: {
|
|
112
|
-
textStyle: 'md',
|
|
113
|
-
py: 'var(--accordion-padding-y)',
|
|
114
|
-
},
|
|
115
|
-
itemIndicator: {
|
|
116
|
-
boxSize: '5',
|
|
117
|
-
},
|
|
118
|
-
},
|
|
119
|
-
},
|
|
120
|
-
},
|
|
121
|
-
|
|
122
|
-
compoundVariants: [
|
|
123
|
-
{
|
|
124
|
-
variant: 'faq',
|
|
125
|
-
size: 'md',
|
|
126
|
-
css: {
|
|
127
|
-
itemIndicator: {
|
|
128
|
-
boxSize: '14px',
|
|
129
|
-
margin: '5px',
|
|
130
|
-
},
|
|
131
|
-
itemBody: {
|
|
132
|
-
paddingLeft: '36px',
|
|
133
|
-
},
|
|
134
|
-
itemTrigger: {
|
|
135
|
-
gap: '3',
|
|
136
|
-
},
|
|
137
|
-
},
|
|
138
|
-
},
|
|
139
|
-
],
|
|
140
|
-
|
|
141
|
-
defaultVariants: {
|
|
142
|
-
size: 'md',
|
|
143
|
-
variant: 'outline',
|
|
144
|
-
},
|
|
145
|
-
});
|