@aragon/gov-ui-kit 1.0.49
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/LICENSE +674 -0
- package/README.md +36 -0
- package/build.css +5 -0
- package/dist/index.es.js +2 -0
- package/dist/index.es.js.map +1 -0
- package/dist/types/src/core/assets/copy/coreCopy.d.ts +31 -0
- package/dist/types/src/core/assets/copy/index.d.ts +1 -0
- package/dist/types/src/core/assets/index.d.ts +1 -0
- package/dist/types/src/core/components/accordion/accordionContainer/accordionContainer.d.ts +22 -0
- package/dist/types/src/core/components/accordion/accordionContainer/index.d.ts +1 -0
- package/dist/types/src/core/components/accordion/accordionItem/accordionItem.d.ts +12 -0
- package/dist/types/src/core/components/accordion/accordionItem/index.d.ts +1 -0
- package/dist/types/src/core/components/accordion/accordionItemContent/accordionItemContent.d.ts +8 -0
- package/dist/types/src/core/components/accordion/accordionItemContent/index.d.ts +1 -0
- package/dist/types/src/core/components/accordion/accordionItemHeader/accordionItemHeader.d.ts +4 -0
- package/dist/types/src/core/components/accordion/accordionItemHeader/index.d.ts +1 -0
- package/dist/types/src/core/components/accordion/index.d.ts +10 -0
- package/dist/types/src/core/components/alerts/alertCard/alertCard.d.ts +27 -0
- package/dist/types/src/core/components/alerts/alertCard/index.d.ts +1 -0
- package/dist/types/src/core/components/alerts/alertInline/alertInline.d.ts +16 -0
- package/dist/types/src/core/components/alerts/alertInline/index.d.ts +1 -0
- package/dist/types/src/core/components/alerts/alertUtils.d.ts +3 -0
- package/dist/types/src/core/components/alerts/index.d.ts +3 -0
- package/dist/types/src/core/components/avatars/avatar/avatar.d.ts +23 -0
- package/dist/types/src/core/components/avatars/avatar/index.d.ts +1 -0
- package/dist/types/src/core/components/avatars/avatarBase/avatarBase.d.ts +4 -0
- package/dist/types/src/core/components/avatars/avatarBase/index.d.ts +1 -0
- package/dist/types/src/core/components/avatars/avatarIcon/avatarIcon.d.ts +31 -0
- package/dist/types/src/core/components/avatars/avatarIcon/index.d.ts +1 -0
- package/dist/types/src/core/components/avatars/index.d.ts +3 -0
- package/dist/types/src/core/components/breadcrumbs/breadcrumbs.d.ts +25 -0
- package/dist/types/src/core/components/breadcrumbs/index.d.ts +1 -0
- package/dist/types/src/core/components/button/button.api.d.ts +42 -0
- package/dist/types/src/core/components/button/button.d.ts +2 -0
- package/dist/types/src/core/components/button/index.d.ts +2 -0
- package/dist/types/src/core/components/cards/card/card.d.ts +4 -0
- package/dist/types/src/core/components/cards/card/index.d.ts +1 -0
- package/dist/types/src/core/components/cards/cardCollapsible/cardCollapsible.d.ts +8 -0
- package/dist/types/src/core/components/cards/cardCollapsible/index.d.ts +1 -0
- package/dist/types/src/core/components/cards/cardEmptyState/cardEmptyState.d.ts +2 -0
- package/dist/types/src/core/components/cards/cardEmptyState/index.d.ts +1 -0
- package/dist/types/src/core/components/cards/cardSummary/cardSummary.api.d.ts +39 -0
- package/dist/types/src/core/components/cards/cardSummary/cardSummary.d.ts +2 -0
- package/dist/types/src/core/components/cards/cardSummary/index.d.ts +2 -0
- package/dist/types/src/core/components/cards/index.d.ts +4 -0
- package/dist/types/src/core/components/collapsible/collapsible.api.d.ts +40 -0
- package/dist/types/src/core/components/collapsible/collapsible.d.ts +2 -0
- package/dist/types/src/core/components/collapsible/index.d.ts +2 -0
- package/dist/types/src/core/components/dataList/dataListContainer/dataListContainer.d.ts +28 -0
- package/dist/types/src/core/components/dataList/dataListContainer/dataListContainerSkeletonLoader.d.ts +3 -0
- package/dist/types/src/core/components/dataList/dataListContainer/index.d.ts +1 -0
- package/dist/types/src/core/components/dataList/dataListContext/dataListContext.d.ts +22 -0
- package/dist/types/src/core/components/dataList/dataListContext/index.d.ts +1 -0
- package/dist/types/src/core/components/dataList/dataListFilter/dataListFilter.d.ts +50 -0
- package/dist/types/src/core/components/dataList/dataListFilter/dataListFilterSort.d.ts +12 -0
- package/dist/types/src/core/components/dataList/dataListFilter/dataListFilterStatus.d.ts +7 -0
- package/dist/types/src/core/components/dataList/dataListFilter/index.d.ts +1 -0
- package/dist/types/src/core/components/dataList/dataListItem/dataListItem.d.ts +3 -0
- package/dist/types/src/core/components/dataList/dataListItem/index.d.ts +1 -0
- package/dist/types/src/core/components/dataList/dataListPagination/dataListPagination.d.ts +4 -0
- package/dist/types/src/core/components/dataList/dataListPagination/index.d.ts +1 -0
- package/dist/types/src/core/components/dataList/dataListRoot/dataListRoot.d.ts +36 -0
- package/dist/types/src/core/components/dataList/dataListRoot/index.d.ts +1 -0
- package/dist/types/src/core/components/dataList/dataListTestUtils.d.ts +6 -0
- package/dist/types/src/core/components/dataList/index.d.ts +12 -0
- package/dist/types/src/core/components/definitionList/definitionListContainer/definitionListContainer.d.ts +4 -0
- package/dist/types/src/core/components/definitionList/definitionListContainer/index.d.ts +1 -0
- package/dist/types/src/core/components/definitionList/definitionListItem/definitionListItem.d.ts +8 -0
- package/dist/types/src/core/components/definitionList/definitionListItem/index.d.ts +1 -0
- package/dist/types/src/core/components/definitionList/index.d.ts +6 -0
- package/dist/types/src/core/components/dialogs/dialog/dialogContent/dialogContent.d.ts +8 -0
- package/dist/types/src/core/components/dialogs/dialog/dialogContent/index.d.ts +1 -0
- package/dist/types/src/core/components/dialogs/dialog/dialogFooter/dialogFooter.d.ts +27 -0
- package/dist/types/src/core/components/dialogs/dialog/dialogFooter/index.d.ts +1 -0
- package/dist/types/src/core/components/dialogs/dialog/dialogHeader/dialogHeader.d.ts +31 -0
- package/dist/types/src/core/components/dialogs/dialog/dialogHeader/index.d.ts +1 -0
- package/dist/types/src/core/components/dialogs/dialog/dialogRoot/dialogRoot.d.ts +57 -0
- package/dist/types/src/core/components/dialogs/dialog/dialogRoot/index.d.ts +1 -0
- package/dist/types/src/core/components/dialogs/dialog/index.d.ts +10 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertContent/dialogAlertContent.d.ts +8 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertContent/index.d.ts +1 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertFooter/dialogAlertFooter.d.ts +26 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertFooter/index.d.ts +1 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertHeader/dialogAlertHeader.d.ts +17 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertHeader/index.d.ts +1 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertRoot/dialogAlertRoot.d.ts +54 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertRoot/index.d.ts +1 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/index.d.ts +10 -0
- package/dist/types/src/core/components/dialogs/dialogUtils.d.ts +31 -0
- package/dist/types/src/core/components/dialogs/index.d.ts +2 -0
- package/dist/types/src/core/components/documentParser/documentParser.d.ts +8 -0
- package/dist/types/src/core/components/documentParser/index.d.ts +1 -0
- package/dist/types/src/core/components/dropdown/dropdownContainer/dropdownContainer.d.ts +63 -0
- package/dist/types/src/core/components/dropdown/dropdownContainer/index.d.ts +1 -0
- package/dist/types/src/core/components/dropdown/dropdownItem/dropdownItem.d.ts +39 -0
- package/dist/types/src/core/components/dropdown/dropdownItem/index.d.ts +1 -0
- package/dist/types/src/core/components/dropdown/index.d.ts +6 -0
- package/dist/types/src/core/components/forms/checkbox/checkbox.d.ts +30 -0
- package/dist/types/src/core/components/forms/checkbox/index.d.ts +1 -0
- package/dist/types/src/core/components/forms/checkboxCard/checkboxCard.d.ts +42 -0
- package/dist/types/src/core/components/forms/checkboxCard/index.d.ts +1 -0
- package/dist/types/src/core/components/forms/checkboxGroup/checkboxGroup.d.ts +13 -0
- package/dist/types/src/core/components/forms/checkboxGroup/index.d.ts +1 -0
- package/dist/types/src/core/components/forms/hooks/index.d.ts +2 -0
- package/dist/types/src/core/components/forms/hooks/useInputProps.d.ts +18 -0
- package/dist/types/src/core/components/forms/hooks/useNumberMask.d.ts +20 -0
- package/dist/types/src/core/components/forms/index.d.ts +18 -0
- package/dist/types/src/core/components/forms/inputContainer/index.d.ts +2 -0
- package/dist/types/src/core/components/forms/inputContainer/inputContainer.api.d.ts +78 -0
- package/dist/types/src/core/components/forms/inputContainer/inputContainer.d.ts +8 -0
- package/dist/types/src/core/components/forms/inputDate/index.d.ts +1 -0
- package/dist/types/src/core/components/forms/inputDate/inputDate.d.ts +4 -0
- package/dist/types/src/core/components/forms/inputFileAvatar/index.d.ts +2 -0
- package/dist/types/src/core/components/forms/inputFileAvatar/inputFileAvatar.api.d.ts +48 -0
- package/dist/types/src/core/components/forms/inputFileAvatar/inputFileAvatar.d.ts +2 -0
- package/dist/types/src/core/components/forms/inputNumber/index.d.ts +1 -0
- package/dist/types/src/core/components/forms/inputNumber/inputNumber.d.ts +33 -0
- package/dist/types/src/core/components/forms/inputNumberMax/index.d.ts +1 -0
- package/dist/types/src/core/components/forms/inputNumberMax/inputNumberMax.d.ts +13 -0
- package/dist/types/src/core/components/forms/inputSearch/index.d.ts +1 -0
- package/dist/types/src/core/components/forms/inputSearch/inputSearch.d.ts +8 -0
- package/dist/types/src/core/components/forms/inputText/index.d.ts +2 -0
- package/dist/types/src/core/components/forms/inputText/inputText.api.d.ts +12 -0
- package/dist/types/src/core/components/forms/inputText/inputText.d.ts +2 -0
- package/dist/types/src/core/components/forms/inputTime/index.d.ts +1 -0
- package/dist/types/src/core/components/forms/inputTime/inputTime.d.ts +4 -0
- package/dist/types/src/core/components/forms/radio/index.d.ts +1 -0
- package/dist/types/src/core/components/forms/radio/radio.d.ts +21 -0
- package/dist/types/src/core/components/forms/radioCard/index.d.ts +1 -0
- package/dist/types/src/core/components/forms/radioCard/radioCard.d.ts +33 -0
- package/dist/types/src/core/components/forms/radioGroup/index.d.ts +1 -0
- package/dist/types/src/core/components/forms/radioGroup/radioGroup.d.ts +33 -0
- package/dist/types/src/core/components/forms/switch/index.d.ts +1 -0
- package/dist/types/src/core/components/forms/switch/switch.d.ts +39 -0
- package/dist/types/src/core/components/forms/textArea/index.d.ts +1 -0
- package/dist/types/src/core/components/forms/textArea/textArea.d.ts +4 -0
- package/dist/types/src/core/components/forms/textAreaRichText/index.d.ts +1 -0
- package/dist/types/src/core/components/forms/textAreaRichText/textAreaRichText.d.ts +24 -0
- package/dist/types/src/core/components/forms/textAreaRichText/textAreaRichTextActions.d.ts +31 -0
- package/dist/types/src/core/components/gukCoreProvider/gukCoreProvider.d.ts +30 -0
- package/dist/types/src/core/components/gukCoreProvider/index.d.ts +1 -0
- package/dist/types/src/core/components/heading/heading.d.ts +15 -0
- package/dist/types/src/core/components/heading/index.d.ts +1 -0
- package/dist/types/src/core/components/icon/icon.d.ts +20 -0
- package/dist/types/src/core/components/icon/iconList.d.ts +5 -0
- package/dist/types/src/core/components/icon/iconType.d.ts +65 -0
- package/dist/types/src/core/components/icon/index.d.ts +2 -0
- package/dist/types/src/core/components/illustrations/illustrationHuman/illustrationHuman.d.ts +35 -0
- package/dist/types/src/core/components/illustrations/illustrationHuman/illustrationHumanList.d.ts +9 -0
- package/dist/types/src/core/components/illustrations/illustrationHuman/illustrationHumanType.d.ts +5 -0
- package/dist/types/src/core/components/illustrations/illustrationHuman/index.d.ts +2 -0
- package/dist/types/src/core/components/illustrations/illustrationObject/illustrationObject.d.ts +9 -0
- package/dist/types/src/core/components/illustrations/illustrationObject/illustrationObjectList.d.ts +5 -0
- package/dist/types/src/core/components/illustrations/illustrationObject/illustrationObjectType.d.ts +1 -0
- package/dist/types/src/core/components/illustrations/illustrationObject/index.d.ts +2 -0
- package/dist/types/src/core/components/illustrations/index.d.ts +2 -0
- package/dist/types/src/core/components/index.d.ts +26 -0
- package/dist/types/src/core/components/link/index.d.ts +2 -0
- package/dist/types/src/core/components/link/link/index.d.ts +2 -0
- package/dist/types/src/core/components/link/link/link.api.d.ts +22 -0
- package/dist/types/src/core/components/link/link/link.d.ts +3 -0
- package/dist/types/src/core/components/link/linkBase/index.d.ts +1 -0
- package/dist/types/src/core/components/link/linkBase/linkBase.d.ts +4 -0
- package/dist/types/src/core/components/progress/index.d.ts +2 -0
- package/dist/types/src/core/components/progress/progress.api.d.ts +28 -0
- package/dist/types/src/core/components/progress/progress.d.ts +2 -0
- package/dist/types/src/core/components/rerender/index.d.ts +1 -0
- package/dist/types/src/core/components/rerender/rerender.d.ts +20 -0
- package/dist/types/src/core/components/spinner/index.d.ts +1 -0
- package/dist/types/src/core/components/spinner/spinner.d.ts +29 -0
- package/dist/types/src/core/components/states/emptyState/emptyState.api.d.ts +50 -0
- package/dist/types/src/core/components/states/emptyState/emptyState.d.ts +2 -0
- package/dist/types/src/core/components/states/emptyState/index.d.ts +2 -0
- package/dist/types/src/core/components/states/index.d.ts +4 -0
- package/dist/types/src/core/components/states/statePingAnimation/index.d.ts +1 -0
- package/dist/types/src/core/components/states/statePingAnimation/statePingAnimation.d.ts +11 -0
- package/dist/types/src/core/components/states/stateSkeletonBar/index.d.ts +1 -0
- package/dist/types/src/core/components/states/stateSkeletonBar/stateSkeletonBar.d.ts +27 -0
- package/dist/types/src/core/components/states/stateSkeletonCircular/index.d.ts +1 -0
- package/dist/types/src/core/components/states/stateSkeletonCircular/stateSkeletonCircular.d.ts +15 -0
- package/dist/types/src/core/components/tabs/index.d.ts +10 -0
- package/dist/types/src/core/components/tabs/tabsContent/index.d.ts +1 -0
- package/dist/types/src/core/components/tabs/tabsContent/tabsContent.d.ts +12 -0
- package/dist/types/src/core/components/tabs/tabsList/index.d.ts +1 -0
- package/dist/types/src/core/components/tabs/tabsList/tabsList.d.ts +4 -0
- package/dist/types/src/core/components/tabs/tabsRoot/index.d.ts +1 -0
- package/dist/types/src/core/components/tabs/tabsRoot/tabsRoot.d.ts +28 -0
- package/dist/types/src/core/components/tabs/tabsTrigger/index.d.ts +1 -0
- package/dist/types/src/core/components/tabs/tabsTrigger/tabsTrigger.d.ts +17 -0
- package/dist/types/src/core/components/tag/index.d.ts +1 -0
- package/dist/types/src/core/components/tag/tag.d.ts +17 -0
- package/dist/types/src/core/components/toggles/index.d.ts +2 -0
- package/dist/types/src/core/components/toggles/toggle/index.d.ts +1 -0
- package/dist/types/src/core/components/toggles/toggle/toggle.d.ts +17 -0
- package/dist/types/src/core/components/toggles/toggleGroup/index.d.ts +1 -0
- package/dist/types/src/core/components/toggles/toggleGroup/toggleGroup.d.ts +22 -0
- package/dist/types/src/core/components/tooltip/index.d.ts +1 -0
- package/dist/types/src/core/components/tooltip/tooltip.d.ts +44 -0
- package/dist/types/src/core/hooks/index.d.ts +2 -0
- package/dist/types/src/core/hooks/useDebouncedValue/index.d.ts +1 -0
- package/dist/types/src/core/hooks/useDebouncedValue/useDebouncedValue.d.ts +18 -0
- package/dist/types/src/core/hooks/useRandomId/index.d.ts +1 -0
- package/dist/types/src/core/hooks/useRandomId/useRandomId.d.ts +1 -0
- package/dist/types/src/core/index.d.ts +5 -0
- package/dist/types/src/core/test/globalSetup.d.ts +2 -0
- package/dist/types/src/core/test/index.d.ts +1 -0
- package/dist/types/src/core/test/setup.d.ts +1 -0
- package/dist/types/src/core/test/utils/createRangeMock.d.ts +1 -0
- package/dist/types/src/core/test/utils/index.d.ts +2 -0
- package/dist/types/src/core/test/utils/testLogger.d.ts +9 -0
- package/dist/types/src/core/types/index.d.ts +1 -0
- package/dist/types/src/core/types/responsive.d.ts +33 -0
- package/dist/types/src/core/utils/clipboardUtils/clipboardUtils.d.ts +12 -0
- package/dist/types/src/core/utils/clipboardUtils/index.d.ts +1 -0
- package/dist/types/src/core/utils/formatterUtils/formatterUtils.d.ts +32 -0
- package/dist/types/src/core/utils/formatterUtils/formatterUtilsDefinitions.d.ts +82 -0
- package/dist/types/src/core/utils/formatterUtils/index.d.ts +2 -0
- package/dist/types/src/core/utils/index.d.ts +6 -0
- package/dist/types/src/core/utils/invariant/index.d.ts +1 -0
- package/dist/types/src/core/utils/invariant/invariant.d.ts +2 -0
- package/dist/types/src/core/utils/mergeRefs/index.d.ts +1 -0
- package/dist/types/src/core/utils/mergeRefs/mergeRefs.d.ts +5 -0
- package/dist/types/src/core/utils/responsiveUtils/index.d.ts +1 -0
- package/dist/types/src/core/utils/responsiveUtils/responsiveUtils.d.ts +6 -0
- package/dist/types/src/core/utils/ssrUtils/index.d.ts +1 -0
- package/dist/types/src/core/utils/ssrUtils/ssrUtils.d.ts +8 -0
- package/dist/types/src/index.d.ts +2 -0
- package/dist/types/src/modules/assets/copy/index.d.ts +1 -0
- package/dist/types/src/modules/assets/copy/modulesCopy.d.ts +170 -0
- package/dist/types/src/modules/assets/index.d.ts +1 -0
- package/dist/types/src/modules/components/address/addressInput/addressInput.d.ts +29 -0
- package/dist/types/src/modules/components/address/addressInput/index.d.ts +1 -0
- package/dist/types/src/modules/components/address/index.d.ts +1 -0
- package/dist/types/src/modules/components/asset/assetDataListItem/assetDataListItemSkeleton/assetDataListItemSkeleton.d.ts +4 -0
- package/dist/types/src/modules/components/asset/assetDataListItem/assetDataListItemSkeleton/index.d.ts +1 -0
- package/dist/types/src/modules/components/asset/assetDataListItem/assetDataListItemStructure/assetDataListItemStructure.d.ts +30 -0
- package/dist/types/src/modules/components/asset/assetDataListItem/assetDataListItemStructure/index.d.ts +1 -0
- package/dist/types/src/modules/components/asset/assetDataListItem/index.d.ts +6 -0
- package/dist/types/src/modules/components/asset/assetTransfer/assetTransfer.d.ts +36 -0
- package/dist/types/src/modules/components/asset/assetTransfer/assetTransferAddress/assetTransferAddress.d.ts +17 -0
- package/dist/types/src/modules/components/asset/assetTransfer/assetTransferAddress/index.d.ts +1 -0
- package/dist/types/src/modules/components/asset/assetTransfer/index.d.ts +1 -0
- package/dist/types/src/modules/components/asset/index.d.ts +2 -0
- package/dist/types/src/modules/components/dao/daoAvatar/daoAvatar.d.ts +14 -0
- package/dist/types/src/modules/components/dao/daoAvatar/index.d.ts +1 -0
- package/dist/types/src/modules/components/dao/daoDataListItem/daoDataListItemSkeleton/daoDataListItemSkeleton.d.ts +4 -0
- package/dist/types/src/modules/components/dao/daoDataListItem/daoDataListItemSkeleton/index.d.ts +1 -0
- package/dist/types/src/modules/components/dao/daoDataListItem/daoDataListItemStructure/daoDataListItemStructure.d.ts +34 -0
- package/dist/types/src/modules/components/dao/daoDataListItem/daoDataListItemStructure/index.d.ts +1 -0
- package/dist/types/src/modules/components/dao/daoDataListItem/index.d.ts +6 -0
- package/dist/types/src/modules/components/dao/index.d.ts +2 -0
- package/dist/types/src/modules/components/gukModulesProvider/gukModulesProvider.d.ts +44 -0
- package/dist/types/src/modules/components/gukModulesProvider/index.d.ts +1 -0
- package/dist/types/src/modules/components/index.d.ts +9 -0
- package/dist/types/src/modules/components/member/index.d.ts +2 -0
- package/dist/types/src/modules/components/member/memberAvatar/index.d.ts +1 -0
- package/dist/types/src/modules/components/member/memberAvatar/memberAvatar.d.ts +18 -0
- package/dist/types/src/modules/components/member/memberDataListItem/index.d.ts +6 -0
- package/dist/types/src/modules/components/member/memberDataListItem/memberDataListItemSkeleton/index.d.ts +1 -0
- package/dist/types/src/modules/components/member/memberDataListItem/memberDataListItemSkeleton/memberDataListItemSkeleton.d.ts +3 -0
- package/dist/types/src/modules/components/member/memberDataListItem/memberDataListItemStructure/index.d.ts +1 -0
- package/dist/types/src/modules/components/member/memberDataListItem/memberDataListItemStructure/memberDataListItemStructure.d.ts +36 -0
- package/dist/types/src/modules/components/proposal/index.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/generators/index.d.ts +6 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/generators/proposalAction.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/generators/proposalActionChangeMembers.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/generators/proposalActionChangeSettings.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/generators/proposalActionTokenMint.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/generators/proposalActionUpdateMetadata.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/generators/proposalActionWithdrawToken.d.ts +3 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/index.d.ts +5 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionChangeMembers/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionChangeMembers/proposalActionChangeMembers.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionChangeSettings/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionChangeSettings/proposalActionChangeSettings.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionTokenMint/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionTokenMint/proposalActionTokenMint.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionUpdateMetadata/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionUpdateMetadata/proposalActionUpdateMetadata.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionWithdrawToken/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/actions/proposalActionWithdrawToken/proposalActionWithdrawToken.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalActions/index.d.ts +5 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActions/index.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActions/proposalActions.api.d.ts +53 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActions/proposalActions.d.ts +3 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/proposalActionsAction.d.ts +26 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/proposalActionsActionDecodedView/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/proposalActionsActionDecodedView/proposalActionsActionDecodedView.d.ts +8 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/proposalActionsActionRawView/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/proposalActionsActionRawView/proposalActionsActionRawView.d.ts +8 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/proposalActionsActionViewAsMenu/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsAction/proposalActionsActionViewAsMenu/proposalActionsActionViewAsMenu.d.ts +20 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsActionVerification/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsActionVerification/proposalActionsActionVerification.d.ts +9 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/index.d.ts +9 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalAction.d.ts +58 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionChangeMembers.d.ts +17 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionChangeSettings.d.ts +21 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionComponent.d.ts +14 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionTokenMint.d.ts +27 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionType.d.ts +9 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionUpdateMetadata.d.ts +44 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionViewMode.d.ts +5 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTypes/proposalActionWithdrawToken.d.ts +50 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsUtils.d.ts +10 -0
- package/dist/types/src/modules/components/proposal/proposalDataListItem/approvalThresholdResult/approvalThresholdResult.d.ts +7 -0
- package/dist/types/src/modules/components/proposal/proposalDataListItem/approvalThresholdResult/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalDataListItem/index.d.ts +6 -0
- package/dist/types/src/modules/components/proposal/proposalDataListItem/majorityVotingResult/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalDataListItem/majorityVotingResult/majorityVotingResult.d.ts +7 -0
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemSkeleton/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemSkeleton/proposalDataListItemSkeleton.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStatus/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStatus/proposalDataListItemStatus.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStructure/index.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStructure/proposalDataListItemStructure.api.d.ts +94 -0
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStructure/proposalDataListItemStructure.d.ts +3 -0
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemUtils.d.ts +7 -0
- package/dist/types/src/modules/components/proposal/proposalUtils.d.ts +24 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/index.d.ts +15 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBreakdownMultisig/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBreakdownMultisig/proposalVotingBreakdownMultisig.d.ts +12 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBreakdownToken/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBreakdownToken/proposalVotingBreakdownToken.d.ts +32 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingContainer/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingContainer/proposalVotingContainer.d.ts +16 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingDefinitions.d.ts +5 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingDetails/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingDetails/proposalVotingDetails.d.ts +18 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingProgress/index.d.ts +6 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingProgress/proposalVotingProgressContainer.d.ts +10 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingProgress/proposalVotingProgressItem.d.ts +31 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStage/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStage/proposalVotingStage.d.ts +39 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStageContext/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStageContext/proposalVotingStageContext.d.ts +5 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStageStatus/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStageStatus/proposalVotingStageStatus.d.ts +18 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingTabs/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingTabs/proposalVotingTabs.d.ts +20 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingVotes/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingVotes/proposalVotingVotes.d.ts +4 -0
- package/dist/types/src/modules/components/transaction/index.d.ts +1 -0
- package/dist/types/src/modules/components/transaction/transactionDataListItem/index.d.ts +6 -0
- package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemSkeleton/index.d.ts +1 -0
- package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemSkeleton/transactionDataListItemSkeleton.d.ts +3 -0
- package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemStructure/index.d.ts +2 -0
- package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemStructure/transactionDataListItemStructure.api.d.ts +52 -0
- package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemStructure/transactionDataListItemStructure.d.ts +2 -0
- package/dist/types/src/modules/components/vote/index.d.ts +3 -0
- package/dist/types/src/modules/components/vote/voteDataListItem/index.d.ts +6 -0
- package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemSkeleton/index.d.ts +1 -0
- package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemSkeleton/voteDataListItemSkeleton.d.ts +3 -0
- package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemStructure/index.d.ts +1 -0
- package/dist/types/src/modules/components/vote/voteDataListItem/voteDataListItemStructure/voteDataListItemStructure.d.ts +26 -0
- package/dist/types/src/modules/components/vote/voteProposalDataListItem/index.d.ts +6 -0
- package/dist/types/src/modules/components/vote/voteProposalDataListItem/voteProposalDataListItemSkeleton/index.d.ts +1 -0
- package/dist/types/src/modules/components/vote/voteProposalDataListItem/voteProposalDataListItemSkeleton/voteProposalDataListItemSkeleton.d.ts +3 -0
- package/dist/types/src/modules/components/vote/voteProposalDataListItem/voteProposalDataListItemStructure/index.d.ts +1 -0
- package/dist/types/src/modules/components/vote/voteProposalDataListItem/voteProposalDataListItemStructure/voteProposalDataListItemStructure.d.ts +25 -0
- package/dist/types/src/modules/components/vote/voteUtils.d.ts +3 -0
- package/dist/types/src/modules/components/wallet/index.d.ts +1 -0
- package/dist/types/src/modules/components/wallet/wallet.d.ts +8 -0
- package/dist/types/src/modules/hooks/index.d.ts +1 -0
- package/dist/types/src/modules/hooks/useBlockExplorer/index.d.ts +1 -0
- package/dist/types/src/modules/hooks/useBlockExplorer/useBlockExplorer.d.ts +45 -0
- package/dist/types/src/modules/index.d.ts +5 -0
- package/dist/types/src/modules/types/compositeAddress.d.ts +14 -0
- package/dist/types/src/modules/types/index.d.ts +2 -0
- package/dist/types/src/modules/types/web3ComponentConfig.d.ts +15 -0
- package/dist/types/src/modules/utils/addressUtils/addressUtils.d.ts +38 -0
- package/dist/types/src/modules/utils/addressUtils/index.d.ts +1 -0
- package/dist/types/src/modules/utils/ensUtils/ensUtils.d.ts +17 -0
- package/dist/types/src/modules/utils/ensUtils/index.d.ts +1 -0
- package/dist/types/src/modules/utils/index.d.ts +2 -0
- package/index.css +5 -0
- package/package.json +167 -0
- package/src/core/components/accordion/accordionItemContent/index.css +21 -0
- package/src/core/components/accordion/index.css +1 -0
- package/src/core/components/avatars/avatar/index.css +4 -0
- package/src/core/components/avatars/index.css +1 -0
- package/src/core/components/collapsible/index.css +4 -0
- package/src/core/components/dialogs/dialog/dialogRoot/index.css +7 -0
- package/src/core/components/dialogs/dialog/index.css +1 -0
- package/src/core/components/dialogs/dialogAlert/dialogAlertRoot/index.css +7 -0
- package/src/core/components/dialogs/dialogAlert/index.css +1 -0
- package/src/core/components/dialogs/index.css +2 -0
- package/src/core/components/dropdown/dropdownContainer/index.css +4 -0
- package/src/core/components/dropdown/index.css +1 -0
- package/src/core/components/forms/index.css +1 -0
- package/src/core/components/forms/textAreaRichText/index.css +4 -0
- package/src/core/components/illustrations/index.css +7 -0
- package/src/core/components/index.css +7 -0
- package/src/core/index.css +1 -0
- package/src/index.css +2 -0
- package/src/theme/fonts/Manrope-Regular.ttf +0 -0
- package/src/theme/fonts/Manrope-SemiBold.ttf +0 -0
- package/src/theme/index.css +1 -0
- package/src/theme/tokens/index.css +1 -0
- package/src/theme/tokens/primitives/borderRadius.css +9 -0
- package/src/theme/tokens/primitives/colors.css +73 -0
- package/src/theme/tokens/primitives/index.css +5 -0
- package/src/theme/tokens/primitives/shadows.css +52 -0
- package/src/theme/tokens/primitives/spacing.css +37 -0
- package/src/theme/tokens/primitives/typography.css +42 -0
- package/tailwind.config.js +374 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./primitives/index.css";
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* Primary */
|
|
3
|
+
--guk-color-primary-50: #f5f8ff;
|
|
4
|
+
--guk-color-primary-100: #c4d7ff;
|
|
5
|
+
--guk-color-primary-200: #93b2ff;
|
|
6
|
+
--guk-color-primary-300: #628cfe;
|
|
7
|
+
--guk-color-primary-400: #3164fa;
|
|
8
|
+
--guk-color-primary-500: #003bf5;
|
|
9
|
+
--guk-color-primary-600: #0037d2;
|
|
10
|
+
--guk-color-primary-700: #0031ad;
|
|
11
|
+
--guk-color-primary-800: #002985;
|
|
12
|
+
--guk-color-primary-900: #001f5c;
|
|
13
|
+
|
|
14
|
+
/* Neutral */
|
|
15
|
+
--guk-color-neutral-0: #ffffff;
|
|
16
|
+
--guk-color-neutral-50: #f5f7fa;
|
|
17
|
+
--guk-color-neutral-100: #e4e7eb;
|
|
18
|
+
--guk-color-neutral-200: #cbd2d9;
|
|
19
|
+
--guk-color-neutral-300: #9aa5b1;
|
|
20
|
+
--guk-color-neutral-400: #7b8794;
|
|
21
|
+
--guk-color-neutral-500: #616e7c;
|
|
22
|
+
--guk-color-neutral-600: #52606d;
|
|
23
|
+
--guk-color-neutral-700: #3e4c59;
|
|
24
|
+
--guk-color-neutral-800: #323f4b;
|
|
25
|
+
--guk-color-neutral-900: #1f2933;
|
|
26
|
+
|
|
27
|
+
/* Info */
|
|
28
|
+
--guk-color-info-100: #d1fdfa;
|
|
29
|
+
--guk-color-info-200: #a4f9fb;
|
|
30
|
+
--guk-color-info-300: #75e8f3;
|
|
31
|
+
--guk-color-info-400: #52cfe7;
|
|
32
|
+
--guk-color-info-500: #1eadd8;
|
|
33
|
+
--guk-color-info-600: #1588b9;
|
|
34
|
+
--guk-color-info-700: #0f669b;
|
|
35
|
+
--guk-color-info-800: #09497d;
|
|
36
|
+
--guk-color-info-900: #053467;
|
|
37
|
+
|
|
38
|
+
/* Success */
|
|
39
|
+
--guk-color-success-100: #f3fccc;
|
|
40
|
+
--guk-color-success-200: #e4f99a;
|
|
41
|
+
--guk-color-success-300: #ccef66;
|
|
42
|
+
--guk-color-success-400: #b2e040;
|
|
43
|
+
--guk-color-success-500: #8ecc0a;
|
|
44
|
+
--guk-color-success-600: #74af07;
|
|
45
|
+
--guk-color-success-700: #5c9205;
|
|
46
|
+
--guk-color-success-800: #467603;
|
|
47
|
+
--guk-color-success-900: #366101;
|
|
48
|
+
|
|
49
|
+
/* Warning */
|
|
50
|
+
--guk-color-warning-100: #fff3d6;
|
|
51
|
+
--guk-color-warning-200: #ffe4ad;
|
|
52
|
+
--guk-color-warning-300: #ffd083;
|
|
53
|
+
--guk-color-warning-400: #ffbe65;
|
|
54
|
+
--guk-color-warning-500: #ff9f32;
|
|
55
|
+
--guk-color-warning-600: #db7d24;
|
|
56
|
+
--guk-color-warning-700: #b75e19;
|
|
57
|
+
--guk-color-warning-800: #93430f;
|
|
58
|
+
--guk-color-warning-900: #7a3009;
|
|
59
|
+
|
|
60
|
+
/* Critical */
|
|
61
|
+
--guk-color-critical-100: #fee4d6;
|
|
62
|
+
--guk-color-critical-200: #fec3ae;
|
|
63
|
+
--guk-color-critical-300: #fd9a86;
|
|
64
|
+
--guk-color-critical-400: #fb7467;
|
|
65
|
+
--guk-color-critical-500: #f93636;
|
|
66
|
+
--guk-color-critical-600: #d62736;
|
|
67
|
+
--guk-color-critical-700: #b31b35;
|
|
68
|
+
--guk-color-critical-800: #901132;
|
|
69
|
+
--guk-color-critical-900: #770a30;
|
|
70
|
+
|
|
71
|
+
/* Transparent */
|
|
72
|
+
--guk-color-transparent: transparent;
|
|
73
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* Neutral */
|
|
3
|
+
--guk-shadow-neutral-sm: 0px 1px 2px 0px rgba(97, 110, 124, 0.05);
|
|
4
|
+
--guk-shadow-neutral: 0px 1px 3px 0px rgba(97, 110, 124, 0.1), 0px 1px 2px -1px rgba(97, 110, 124, 0.1);
|
|
5
|
+
--guk-shadow-neutral-md: 0px 4px 6px -1px rgba(82, 96, 109, 0.1), 0px 2px 4px -2px rgba(82, 96, 109, 0.1);
|
|
6
|
+
--guk-shadow-neutral-lg: 0px 10px 15px -3px rgba(82, 96, 109, 0.1), 0px 4px 6px -4px rgba(82, 96, 109, 0.1);
|
|
7
|
+
--guk-shadow-neutral-xl: 0px 20px 25px -5px rgba(82, 96, 109, 0.1), 0px 8px 10px -6px rgba(82, 96, 109, 0.1);
|
|
8
|
+
--guk-shadow-neutral-2xl: 0px 25px 50px -12px rgba(82, 96, 109, 0.24);
|
|
9
|
+
|
|
10
|
+
/* Primary */
|
|
11
|
+
--guk-shadow-primary-sm: 0px 1px 2px 0px rgba(0, 59, 245, 0.05);
|
|
12
|
+
--guk-shadow-primary: 0px 1px 3px 0px rgba(0, 59, 245, 0.1), 0px 1px 2px -1px rgba(0, 59, 245, 0.1);
|
|
13
|
+
--guk-shadow-primary-md: 0px 4px 6px -1px rgba(0, 59, 245, 0.1), 0px 2px 4px -2px rgba(0, 59, 245, 0.1);
|
|
14
|
+
--guk-shadow-primary-lg: 0px 10px 15px -3px rgba(0, 59, 245, 0.1), 0px 4px 6px -4px rgba(0, 59, 245, 0.1);
|
|
15
|
+
--guk-shadow-primary-xl: 0px 20px 25px -5px rgba(0, 59, 245, 0.1), 0px 8px 10px -6px rgba(0, 59, 245, 0.1);
|
|
16
|
+
--guk-shadow-primary-2xl: 0px 25px 50px -12px rgba(0, 59, 245, 0.24);
|
|
17
|
+
|
|
18
|
+
/* Success */
|
|
19
|
+
--guk-shadow-success-sm: 0px 1px 2px 0px rgba(116, 175, 7, 0.05);
|
|
20
|
+
--guk-shadow-success: 0px 1px 3px 0px rgba(116, 175, 7, 0.1), 0px 1px 2px -1px rgba(116, 175, 7, 0.1);
|
|
21
|
+
--guk-shadow-success-md: 0px 4px 6px -1px rgba(116, 175, 7, 0.1), 0px 2px 4px -2px rgba(116, 175, 7, 0.1);
|
|
22
|
+
--guk-shadow-success-lg: 0px 10px 15px -3px rgba(116, 175, 7, 0.1), 0px 4px 6px -4px rgba(116, 175, 7, 0.1);
|
|
23
|
+
--guk-shadow-success-xl: 0px 20px 25px -5px rgba(116, 175, 7, 0.1), 0px 8px 10px -6px rgba(116, 175, 7, 0.1);
|
|
24
|
+
--guk-shadow-success-2xl: 0px 25px 50px -12px rgba(116, 175, 7, 0.24);
|
|
25
|
+
|
|
26
|
+
/* Warning */
|
|
27
|
+
--guk-shadow-warning-sm: 0px 1px 2px 0px rgba(219, 125, 36, 0.05);
|
|
28
|
+
--guk-shadow-warning: 0px 1px 3px 0px rgba(219, 125, 36, 0.1), 0px 1px 2px -1px rgba(219, 125, 36, 0.1);
|
|
29
|
+
--guk-shadow-warning-md: 0px 4px 6px -1px rgba(219, 125, 36, 0.1), 0px 2px 4px -2px rgba(219, 125, 36, 0.1);
|
|
30
|
+
--guk-shadow-warning-lg: 0px 10px 15px -3px rgba(219, 125, 36, 0.1), 0px 4px 6px -4px rgba(219, 125, 36, 0.1);
|
|
31
|
+
--guk-shadow-warning-xl: 0px 20px 25px -5px rgba(219, 125, 36, 0.1), 0px 8px 10px -6px rgba(219, 125, 36, 0.1);
|
|
32
|
+
--guk-shadow-warning-2xl: 0px 25px 50px -12px rgba(219, 125, 36, 0.24);
|
|
33
|
+
|
|
34
|
+
/* Critical */
|
|
35
|
+
--guk-shadow-critical-sm: 0px 1px 2px 0px rgba(214, 39, 54, 0.05);
|
|
36
|
+
--guk-shadow-critical: 0px 1px 3px 0px rgba(214, 39, 54, 0.1), 0px 1px 2px -1px rgba(214, 39, 54, 0.1);
|
|
37
|
+
--guk-shadow-critical-md: 0px 4px 6px -1px rgba(214, 39, 54, 0.1), 0px 2px 4px -2px rgba(214, 39, 54, 0.1);
|
|
38
|
+
--guk-shadow-critical-lg: 0px 10px 15px -3px rgba(214, 39, 54, 0.1), 0px 4px 6px -4px rgba(214, 39, 54, 0.1);
|
|
39
|
+
--guk-shadow-critical-xl: 0px 20px 25px -5px rgba(214, 39, 54, 0.1), 0px 8px 10px -6px rgba(214, 39, 54, 0.1);
|
|
40
|
+
--guk-shadow-critical-2xl: 0px 25px 50px -12px rgba(214, 39, 54, 0.24);
|
|
41
|
+
|
|
42
|
+
/* Info */
|
|
43
|
+
--guk-shadow-info-sm: 0px 1px 2px 0px rgba(21, 136, 185, 0.05);
|
|
44
|
+
--guk-shadow-info: 0px 1px 3px 0px rgba(21, 136, 185, 0.1), 0px 1px 2px -1px rgba(21, 136, 185, 0.1);
|
|
45
|
+
--guk-shadow-info-md: 0px 4px 6px -1px rgba(21, 136, 185, 0.1), 0px 2px 4px -2px rgba(21, 136, 185, 0.1);
|
|
46
|
+
--guk-shadow-info-lg: 0px 10px 15px -3px rgba(21, 136, 185, 0.1), 0px 4px 6px -4px rgba(21, 136, 185, 0.1);
|
|
47
|
+
--guk-shadow-info-xl: 0px 20px 25px -5px rgba(21, 136, 185, 0.1), 0px 8px 10px -6px rgba(21, 136, 185, 0.1);
|
|
48
|
+
--guk-shadow-info-2xl: 0px 25px 50px -12px rgba(21, 136, 185, 0.24);
|
|
49
|
+
|
|
50
|
+
/* None */
|
|
51
|
+
--guk-shadow-none: 0px 0px #0000;
|
|
52
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--guk-space-base: 4px;
|
|
3
|
+
--guk-space-0: calc(var(--guk-space-base) * 0);
|
|
4
|
+
--guk-space-0-25: calc(var(--guk-space-base) * 0.25);
|
|
5
|
+
--guk-space-0-5: calc(var(--guk-space-base) * 0.5);
|
|
6
|
+
--guk-space-1-5: calc(var(--guk-space-base) * 1.5);
|
|
7
|
+
--guk-space-2: calc(var(--guk-space-base) * 2);
|
|
8
|
+
--guk-space-2-5: calc(var(--guk-space-base) * 2.5);
|
|
9
|
+
--guk-space-3: calc(var(--guk-space-base) * 3);
|
|
10
|
+
--guk-space-3-5: calc(var(--guk-space-base) * 3.5);
|
|
11
|
+
--guk-space-4: calc(var(--guk-space-base) * 4);
|
|
12
|
+
--guk-space-5: calc(var(--guk-space-base) * 5);
|
|
13
|
+
--guk-space-6: calc(var(--guk-space-base) * 6);
|
|
14
|
+
--guk-space-7: calc(var(--guk-space-base) * 7);
|
|
15
|
+
--guk-space-8: calc(var(--guk-space-base) * 8);
|
|
16
|
+
--guk-space-9: calc(var(--guk-space-base) * 9);
|
|
17
|
+
--guk-space-10: calc(var(--guk-space-base) * 10);
|
|
18
|
+
--guk-space-11: calc(var(--guk-space-base) * 11);
|
|
19
|
+
--guk-space-12: calc(var(--guk-space-base) * 12);
|
|
20
|
+
--guk-space-14: calc(var(--guk-space-base) * 14);
|
|
21
|
+
--guk-space-16: calc(var(--guk-space-base) * 16);
|
|
22
|
+
--guk-space-20: calc(var(--guk-space-base) * 20);
|
|
23
|
+
--guk-space-24: calc(var(--guk-space-base) * 24);
|
|
24
|
+
--guk-space-28: calc(var(--guk-space-base) * 28);
|
|
25
|
+
--guk-space-32: calc(var(--guk-space-base) * 32);
|
|
26
|
+
--guk-space-36: calc(var(--guk-space-base) * 36);
|
|
27
|
+
--guk-space-40: calc(var(--guk-space-base) * 40);
|
|
28
|
+
--guk-space-44: calc(var(--guk-space-base) * 44);
|
|
29
|
+
--guk-space-48: calc(var(--guk-space-base) * 48);
|
|
30
|
+
--guk-space-52: calc(var(--guk-space-base) * 52);
|
|
31
|
+
--guk-space-56: calc(var(--guk-space-base) * 56);
|
|
32
|
+
--guk-space-60: calc(var(--guk-space-base) * 60);
|
|
33
|
+
--guk-space-64: calc(var(--guk-space-base) * 64);
|
|
34
|
+
--guk-space-72: calc(var(--guk-space-base) * 72);
|
|
35
|
+
--guk-space-80: calc(var(--guk-space-base) * 80);
|
|
36
|
+
--guk-space-96: calc(var(--guk-space-base) * 96);
|
|
37
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/******* Font Weight *******/
|
|
3
|
+
--guk-font-weight-normal: 500;
|
|
4
|
+
--guk-font-weight-semibold: 600;
|
|
5
|
+
|
|
6
|
+
/******* Font Size *******/
|
|
7
|
+
--guk-font-size-xs: 0.75rem;
|
|
8
|
+
--guk-font-size-sm: 0.875rem;
|
|
9
|
+
--guk-font-size-base: 1rem;
|
|
10
|
+
--guk-font-size-lg: 1.125rem;
|
|
11
|
+
--guk-font-size-xl: 1.25rem;
|
|
12
|
+
--guk-font-size-2xl: 1.5rem;
|
|
13
|
+
--guk-font-size-3xl: 1.875rem;
|
|
14
|
+
--guk-font-size-4xl: 2.25rem;
|
|
15
|
+
--guk-font-size-5xl: 3rem;
|
|
16
|
+
|
|
17
|
+
/******* Line Height *******/
|
|
18
|
+
--guk-line-height-normal: 1.5;
|
|
19
|
+
--guk-line-height-tight: 1.25;
|
|
20
|
+
--guk-line-height-relaxed: 1.65;
|
|
21
|
+
|
|
22
|
+
/******* Font Family *******/
|
|
23
|
+
--guk-font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
24
|
+
"Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
|
|
25
|
+
"Noto Color Emoji";
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@font-face {
|
|
29
|
+
font-family: "Manrope";
|
|
30
|
+
font-style: normal;
|
|
31
|
+
font-weight: 500;
|
|
32
|
+
font-display: swap;
|
|
33
|
+
src: url("../../fonts/Manrope-Regular.ttf") format("truetype");
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@font-face {
|
|
37
|
+
font-family: "Manrope";
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-weight: 600;
|
|
40
|
+
font-display: swap;
|
|
41
|
+
src: url("../../fonts/Manrope-SemiBold.ttf") format("truetype");
|
|
42
|
+
}
|
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
/** @type {import('tailwindcss').Config} */
|
|
2
|
+
module.exports = {
|
|
3
|
+
content: ['./src/**/*.{jsx,ts,tsx,mdx}', './docs/**/*.{jsx,tsx,mdx}', '.storybook/*.{jsx,tsx}'],
|
|
4
|
+
theme: {
|
|
5
|
+
colors: {
|
|
6
|
+
primary: {
|
|
7
|
+
50: 'var(--guk-color-primary-50)',
|
|
8
|
+
100: 'var(--guk-color-primary-100)',
|
|
9
|
+
200: 'var(--guk-color-primary-200)',
|
|
10
|
+
300: 'var(--guk-color-primary-300)',
|
|
11
|
+
400: 'var(--guk-color-primary-400)',
|
|
12
|
+
500: 'var(--guk-color-primary-500)',
|
|
13
|
+
600: 'var(--guk-color-primary-600)',
|
|
14
|
+
700: 'var(--guk-color-primary-700)',
|
|
15
|
+
800: 'var(--guk-color-primary-800)',
|
|
16
|
+
900: 'var(--guk-color-primary-900)',
|
|
17
|
+
},
|
|
18
|
+
neutral: {
|
|
19
|
+
0: 'var(--guk-color-neutral-0)',
|
|
20
|
+
50: 'var(--guk-color-neutral-50)',
|
|
21
|
+
100: 'var(--guk-color-neutral-100)',
|
|
22
|
+
200: 'var(--guk-color-neutral-200)',
|
|
23
|
+
300: 'var(--guk-color-neutral-300)',
|
|
24
|
+
400: 'var(--guk-color-neutral-400)',
|
|
25
|
+
500: 'var(--guk-color-neutral-500)',
|
|
26
|
+
600: 'var(--guk-color-neutral-600)',
|
|
27
|
+
700: 'var(--guk-color-neutral-700)',
|
|
28
|
+
800: 'var(--guk-color-neutral-800)',
|
|
29
|
+
900: 'var(--guk-color-neutral-900)',
|
|
30
|
+
},
|
|
31
|
+
info: {
|
|
32
|
+
100: 'var(--guk-color-info-100)',
|
|
33
|
+
200: 'var(--guk-color-info-200)',
|
|
34
|
+
300: 'var(--guk-color-info-300)',
|
|
35
|
+
400: 'var(--guk-color-info-400)',
|
|
36
|
+
500: 'var(--guk-color-info-500)',
|
|
37
|
+
600: 'var(--guk-color-info-600)',
|
|
38
|
+
700: 'var(--guk-color-info-700)',
|
|
39
|
+
800: 'var(--guk-color-info-800)',
|
|
40
|
+
900: 'var(--guk-color-info-900)',
|
|
41
|
+
},
|
|
42
|
+
success: {
|
|
43
|
+
100: 'var(--guk-color-success-100)',
|
|
44
|
+
200: 'var(--guk-color-success-200)',
|
|
45
|
+
300: 'var(--guk-color-success-300)',
|
|
46
|
+
400: 'var(--guk-color-success-400)',
|
|
47
|
+
500: 'var(--guk-color-success-500)',
|
|
48
|
+
600: 'var(--guk-color-success-600)',
|
|
49
|
+
700: 'var(--guk-color-success-700)',
|
|
50
|
+
800: 'var(--guk-color-success-800)',
|
|
51
|
+
900: 'var(--guk-color-success-900)',
|
|
52
|
+
},
|
|
53
|
+
warning: {
|
|
54
|
+
100: 'var(--guk-color-warning-100)',
|
|
55
|
+
200: 'var(--guk-color-warning-200)',
|
|
56
|
+
300: 'var(--guk-color-warning-300)',
|
|
57
|
+
400: 'var(--guk-color-warning-400)',
|
|
58
|
+
500: 'var(--guk-color-warning-500)',
|
|
59
|
+
600: 'var(--guk-color-warning-600)',
|
|
60
|
+
700: 'var(--guk-color-warning-700)',
|
|
61
|
+
800: 'var(--guk-color-warning-800)',
|
|
62
|
+
900: 'var(--guk-color-warning-900)',
|
|
63
|
+
},
|
|
64
|
+
critical: {
|
|
65
|
+
100: 'var(--guk-color-critical-100)',
|
|
66
|
+
200: 'var(--guk-color-critical-200)',
|
|
67
|
+
300: 'var(--guk-color-critical-300)',
|
|
68
|
+
400: 'var(--guk-color-critical-400)',
|
|
69
|
+
500: 'var(--guk-color-critical-500)',
|
|
70
|
+
600: 'var(--guk-color-critical-600)',
|
|
71
|
+
700: 'var(--guk-color-critical-700)',
|
|
72
|
+
800: 'var(--guk-color-critical-800)',
|
|
73
|
+
900: 'var(--guk-color-critical-900)',
|
|
74
|
+
},
|
|
75
|
+
transparent: 'var(--guk-color-transparent)',
|
|
76
|
+
},
|
|
77
|
+
spacing: {
|
|
78
|
+
0: 'var(--guk-space-0)', // 0px
|
|
79
|
+
0.25: 'var(--guk-space-0-25)', // 1px
|
|
80
|
+
0.5: 'var(--guk-space-0-5)', // 2px
|
|
81
|
+
1: 'var(--guk-space-base)', // 4px
|
|
82
|
+
1.5: 'var(--guk-space-1-5)', // 6px
|
|
83
|
+
2: 'var(--guk-space-2)', // 8px
|
|
84
|
+
2.5: 'var(--guk-space-2-5)', // 10px
|
|
85
|
+
3: 'var(--guk-space-3)', // 12px
|
|
86
|
+
3.5: 'var(--guk-space-3-5)', // 14px
|
|
87
|
+
4: 'var(--guk-space-4)', // 16px
|
|
88
|
+
5: 'var(--guk-space-5)', // 20px
|
|
89
|
+
6: 'var(--guk-space-6)', // 24px
|
|
90
|
+
7: 'var(--guk-space-7)', // 28px
|
|
91
|
+
8: 'var(--guk-space-8)', // 32px
|
|
92
|
+
9: 'var(--guk-space-9)', // 36px
|
|
93
|
+
10: 'var(--guk-space-10)', // 40px
|
|
94
|
+
11: 'var(--guk-space-11)', // 44px
|
|
95
|
+
12: 'var(--guk-space-12)', // 48px
|
|
96
|
+
14: 'var(--guk-space-14)', // 56px
|
|
97
|
+
16: 'var(--guk-space-16)', // 64px
|
|
98
|
+
20: 'var(--guk-space-20)', // 80px
|
|
99
|
+
24: 'var(--guk-space-24)', // 96px
|
|
100
|
+
28: 'var(--guk-space-28)', // 112px
|
|
101
|
+
32: 'var(--guk-space-32)', // 128px
|
|
102
|
+
36: 'var(--guk-space-36)', // 144px
|
|
103
|
+
40: 'var(--guk-space-40)', // 160px
|
|
104
|
+
44: 'var(--guk-space-44)', // 176px
|
|
105
|
+
48: 'var(--guk-space-48)', // 192px
|
|
106
|
+
52: 'var(--guk-space-52)', // 208px
|
|
107
|
+
56: 'var(--guk-space-56)', // 224px
|
|
108
|
+
60: 'var(--guk-space-60)', // 240px
|
|
109
|
+
64: 'var(--guk-space-64)', // 256px
|
|
110
|
+
72: 'var(--guk-space-72)', // 288px
|
|
111
|
+
80: 'var(--guk-space-80)', // 320px
|
|
112
|
+
96: 'var(--guk-space-96)', // 384px
|
|
113
|
+
},
|
|
114
|
+
ringWidth: {
|
|
115
|
+
DEFAULT: '3px',
|
|
116
|
+
},
|
|
117
|
+
ringColor: {
|
|
118
|
+
primary: 'var(--guk-color-primary-200)',
|
|
119
|
+
success: 'var(--guk-color-success-200)',
|
|
120
|
+
warning: 'var(--guk-color-warning-200)',
|
|
121
|
+
critical: 'var(--guk-color-critical-200)',
|
|
122
|
+
},
|
|
123
|
+
ringOffsetWidth: {
|
|
124
|
+
DEFAULT: '2px',
|
|
125
|
+
},
|
|
126
|
+
borderRadius: {
|
|
127
|
+
DEFAULT: 'var(--guk-border-rounded)',
|
|
128
|
+
lg: 'var(--guk-border-rounded-lg)',
|
|
129
|
+
xl: 'var(--guk-border-rounded-xl)',
|
|
130
|
+
'2xl': 'var(--guk-border-rounded-2xl)',
|
|
131
|
+
'3xl': 'var(--guk-border-rounded-3xl)',
|
|
132
|
+
full: 'var(--guk-border-rounded-full)',
|
|
133
|
+
none: 'var(--guk-border-rounded-none)',
|
|
134
|
+
},
|
|
135
|
+
boxShadow: {
|
|
136
|
+
'neutral-sm': 'var(--guk-shadow-neutral-sm)',
|
|
137
|
+
neutral: 'var(--guk-shadow-neutral)',
|
|
138
|
+
'neutral-md': 'var(--guk-shadow-neutral-md)',
|
|
139
|
+
'neutral-ld': 'var(--guk-shadow-neutral-lg)',
|
|
140
|
+
'neutral-xl': 'var(--guk-shadow-neutral-xl)',
|
|
141
|
+
'neutral-2xl': 'var(--guk-shadow-neutral-2xl)',
|
|
142
|
+
|
|
143
|
+
'primary-sm': 'var(--guk-shadow-primary-sm)',
|
|
144
|
+
primary: 'var(--guk-shadow-primary)',
|
|
145
|
+
'primary-md': 'var(--guk-shadow-primary-md)',
|
|
146
|
+
'primary-lg': 'var(--guk-shadow-primary-lg)',
|
|
147
|
+
'primary-xl': 'var(--guk-shadow-primary-xl)',
|
|
148
|
+
'primary-2xl': 'var(--guk-shadow-primary-2xl)',
|
|
149
|
+
|
|
150
|
+
'success-sm': 'var(--guk-shadow-success-sm)',
|
|
151
|
+
success: 'var(--guk-shadow-success)',
|
|
152
|
+
'success-md': 'var(--guk-shadow-success-md)',
|
|
153
|
+
'success-lg': 'var(--guk-shadow-success-lg)',
|
|
154
|
+
'success-xl': 'var(--guk-shadow-success-xl)',
|
|
155
|
+
'success-2xl': 'var(--guk-shadow-success-2xl)',
|
|
156
|
+
|
|
157
|
+
'warning-sm': 'var(--guk-shadow-warning-sm)',
|
|
158
|
+
warning: 'var(--guk-shadow-warning)',
|
|
159
|
+
'warning-md': 'var(--guk-shadow-warning-md)',
|
|
160
|
+
'warning-lg': 'var(--guk-shadow-warning-lg)',
|
|
161
|
+
'warning-xl': 'var(--guk-shadow-warning-xl)',
|
|
162
|
+
'warning-2xl': 'var(--guk-shadow-warning-2xl)',
|
|
163
|
+
|
|
164
|
+
'critical-sm': 'var(--guk-shadow-critical-sm)',
|
|
165
|
+
critical: 'var(--guk-shadow-critical)',
|
|
166
|
+
'critical-md': 'var(--guk-shadow-critical-md)',
|
|
167
|
+
'critical-lg': 'var(--guk-shadow-critical-lg)',
|
|
168
|
+
'critical-xl': 'var(--guk-shadow-critical-xl)',
|
|
169
|
+
'critical-2xl': 'var(--guk-shadow-critical-2xl)',
|
|
170
|
+
|
|
171
|
+
'info-sm': 'var(--guk-shadow-info-sm)',
|
|
172
|
+
info: 'var(--guk-shadow-info)',
|
|
173
|
+
'info-md': 'var(--guk-shadow-info-md)',
|
|
174
|
+
'info-lg': 'var(--guk-shadow-info-lg)',
|
|
175
|
+
'info-xl': 'var(--guk-shadow-info-xl)',
|
|
176
|
+
'info-2xl': 'var(--guk-shadow-info-2xl)',
|
|
177
|
+
|
|
178
|
+
none: 'var(--guk-shadow-none)',
|
|
179
|
+
},
|
|
180
|
+
screens: {
|
|
181
|
+
sm: '640px',
|
|
182
|
+
md: '786px',
|
|
183
|
+
lg: '1024px',
|
|
184
|
+
xl: '1280px',
|
|
185
|
+
'2xl': '1536px',
|
|
186
|
+
},
|
|
187
|
+
fontFamily: {
|
|
188
|
+
sans: [`var(--guk-font-family)`],
|
|
189
|
+
},
|
|
190
|
+
fontSize: {
|
|
191
|
+
xs: 'var(--guk-font-size-xs)',
|
|
192
|
+
sm: 'var(--guk-font-size-sm)',
|
|
193
|
+
base: 'var(--guk-font-size-base)',
|
|
194
|
+
lg: 'var(--guk-font-size-lg)',
|
|
195
|
+
xl: 'var(--guk-font-size-xl)',
|
|
196
|
+
'2xl': 'var(--guk-font-size-2xl)',
|
|
197
|
+
'3xl': 'var(--guk-font-size-3xl)',
|
|
198
|
+
'4xl': 'var(--guk-font-size-4xl)',
|
|
199
|
+
'5xl': 'var(--guk-font-size-5xl)',
|
|
200
|
+
},
|
|
201
|
+
fontWeight: {
|
|
202
|
+
normal: 'var(--guk-font-weight-normal)',
|
|
203
|
+
semibold: 'var(--guk-font-weight-semibold)',
|
|
204
|
+
},
|
|
205
|
+
lineHeight: {
|
|
206
|
+
normal: 'var(--guk-line-height-normal)',
|
|
207
|
+
tight: 'var(--guk-line-height-tight)',
|
|
208
|
+
relaxed: 'var(--guk-line-height-relaxed)',
|
|
209
|
+
},
|
|
210
|
+
extend: {
|
|
211
|
+
animation: {
|
|
212
|
+
shake: 'shake 0.82s cubic-bezier(0.36,0.07,0.19,0.97) both',
|
|
213
|
+
},
|
|
214
|
+
keyframes: {
|
|
215
|
+
shake: {
|
|
216
|
+
'10%, 90%': {
|
|
217
|
+
transform: 'translate3d(-1px, 0, 0)',
|
|
218
|
+
},
|
|
219
|
+
'20%, 80%': {
|
|
220
|
+
transform: 'translate3d(2px, 0, 0)',
|
|
221
|
+
},
|
|
222
|
+
'30%, 50%, 70%': {
|
|
223
|
+
transform: 'translate3d(-4px, 0, 0)',
|
|
224
|
+
},
|
|
225
|
+
'40%, 60%': {
|
|
226
|
+
transform: 'translate3d(4px, 0, 0)',
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
backgroundImage: {
|
|
231
|
+
'modal-overlay': 'linear-gradient(180deg, rgba(245, 247, 250, 0) 0%, #F5F7FA 100%)',
|
|
232
|
+
'modal-header': 'linear-gradient(180deg, #F5F7FA 0%, rgba(245, 247, 250, 0) 100%)',
|
|
233
|
+
'modal-footer': 'linear-gradient(180deg, rgba(245, 247, 250, 0) 0%, #F5F7FA 100%)',
|
|
234
|
+
},
|
|
235
|
+
typography: ({ theme }) => ({
|
|
236
|
+
DEFAULT: {
|
|
237
|
+
css: {
|
|
238
|
+
'--tw-prose-body': theme('colors.neutral.500'),
|
|
239
|
+
'--tw-prose-headings': theme('colors.neutral.800'),
|
|
240
|
+
'--tw-prose-lead': theme('colors.neutral.600'),
|
|
241
|
+
'--tw-prose-links': theme('colors.primary.400'),
|
|
242
|
+
|
|
243
|
+
color: theme('colors.neutral.500'),
|
|
244
|
+
maxWidth: 'none',
|
|
245
|
+
|
|
246
|
+
h1: {
|
|
247
|
+
marginTop: theme('spacing.2'),
|
|
248
|
+
marginBottom: theme('spacing.10'),
|
|
249
|
+
fontSize: theme('fontSize.2xl'),
|
|
250
|
+
'@screen md': {
|
|
251
|
+
fontSize: theme('fontSize.3xl'),
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
h2: {
|
|
255
|
+
marginTop: theme('spacing.2'),
|
|
256
|
+
marginBottom: theme('spacing.8'),
|
|
257
|
+
fontSize: theme('fontSize.xl'),
|
|
258
|
+
'@screen md': {
|
|
259
|
+
fontSize: theme('fontSize.2xl'),
|
|
260
|
+
},
|
|
261
|
+
},
|
|
262
|
+
h3: {
|
|
263
|
+
marginTop: theme('spacing.2'),
|
|
264
|
+
marginBottom: theme('spacing.6'),
|
|
265
|
+
fontSize: theme('fontSize.lg'),
|
|
266
|
+
'@screen md': {
|
|
267
|
+
fontSize: theme('fontSize.xl'),
|
|
268
|
+
},
|
|
269
|
+
},
|
|
270
|
+
h4: {
|
|
271
|
+
marginBottom: theme('spacing.4'),
|
|
272
|
+
fontSize: theme('fontSize.base'),
|
|
273
|
+
'@screen md': {
|
|
274
|
+
fontSize: theme('fontSize.lg'),
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
h5: {
|
|
278
|
+
marginBottom: theme('spacing.2'),
|
|
279
|
+
fontSize: theme('fontSize.sm'),
|
|
280
|
+
'@screen md': {
|
|
281
|
+
fontSize: theme('fontSize.base'),
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
h6: {
|
|
285
|
+
marginBottom: theme('spacing.1'),
|
|
286
|
+
fontSize: theme('fontSize.xs'),
|
|
287
|
+
'@screen md': {
|
|
288
|
+
fontSize: theme('fontSize.sm'),
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
p: {
|
|
292
|
+
fontSize: theme('fontSize.base'),
|
|
293
|
+
'@screen md': {
|
|
294
|
+
fontSize: theme('fontSize.lg'),
|
|
295
|
+
},
|
|
296
|
+
},
|
|
297
|
+
a: {
|
|
298
|
+
color: theme('colors.primary.400'),
|
|
299
|
+
textDecoration: 'none',
|
|
300
|
+
'&:hover': {
|
|
301
|
+
color: theme('colors.primary.600'),
|
|
302
|
+
},
|
|
303
|
+
'&:active': {
|
|
304
|
+
color: theme('colors.primary.800'),
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
strong: {
|
|
308
|
+
fontSize: theme('fontSize.base'),
|
|
309
|
+
'@screen md': {
|
|
310
|
+
fontSize: theme('fontSize.lg'),
|
|
311
|
+
},
|
|
312
|
+
color: theme('colors.neutral.500'),
|
|
313
|
+
},
|
|
314
|
+
em: {
|
|
315
|
+
fontSize: theme('fontSize.base'),
|
|
316
|
+
'@screen md': {
|
|
317
|
+
fontSize: theme('fontSize.lg'),
|
|
318
|
+
},
|
|
319
|
+
color: theme('colors.neutral.500'),
|
|
320
|
+
},
|
|
321
|
+
blockquote: {
|
|
322
|
+
borderRadius: theme('borderRadius.lg'),
|
|
323
|
+
border: `1px solid ${theme('colors.neutral.200')}`,
|
|
324
|
+
backgroundColor: theme('colors.neutral.50'),
|
|
325
|
+
padding: theme('spacing.10'),
|
|
326
|
+
boxShadow: theme('boxShadow.md'),
|
|
327
|
+
},
|
|
328
|
+
pre: {
|
|
329
|
+
borderRadius: theme('borderRadius.lg'),
|
|
330
|
+
backgroundColor: theme('colors.neutral.900'),
|
|
331
|
+
color: theme('colors.neutral.50'),
|
|
332
|
+
},
|
|
333
|
+
code: {
|
|
334
|
+
backgroundColor: theme('colors.neutral.900'),
|
|
335
|
+
color: theme('colors.neutral.50'),
|
|
336
|
+
padding: theme('spacing.1'),
|
|
337
|
+
'border-radius': '0.25rem',
|
|
338
|
+
},
|
|
339
|
+
'code::before': {
|
|
340
|
+
content: '""',
|
|
341
|
+
'padding-left': '0.25rem',
|
|
342
|
+
},
|
|
343
|
+
'code::after': {
|
|
344
|
+
content: '""',
|
|
345
|
+
'padding-right': '0.25rem',
|
|
346
|
+
},
|
|
347
|
+
img: {
|
|
348
|
+
overflow: 'hidden',
|
|
349
|
+
borderRadius: theme('borderRadius.xl'),
|
|
350
|
+
boxShadow: theme('boxShadow.md'),
|
|
351
|
+
},
|
|
352
|
+
video: {
|
|
353
|
+
overflow: 'hidden',
|
|
354
|
+
borderRadius: theme('borderRadius.xl'),
|
|
355
|
+
boxShadow: theme('boxShadow.md'),
|
|
356
|
+
},
|
|
357
|
+
hr: {
|
|
358
|
+
marginTop: theme('spacing.10'),
|
|
359
|
+
borderColor: theme('colors.neutral.200'),
|
|
360
|
+
},
|
|
361
|
+
},
|
|
362
|
+
},
|
|
363
|
+
}),
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
plugins: [
|
|
367
|
+
require('@tailwindcss/typography'),
|
|
368
|
+
require('tailwindcss/plugin')(({ addVariant }) => {
|
|
369
|
+
addVariant('search-cancel', '&::-webkit-search-cancel-button');
|
|
370
|
+
addVariant('calendar-icon', ['&::-webkit-calendar-picker-indicator', '&::-webkit-inner-spin-button']);
|
|
371
|
+
addVariant('spin-buttons', ['&::-webkit-inner-spin-button', '&::-webkit-outer-spin-button']);
|
|
372
|
+
}),
|
|
373
|
+
],
|
|
374
|
+
};
|