@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,65 @@
|
|
|
1
|
+
export declare enum IconType {
|
|
2
|
+
APP_ASSETS = "APP_ASSETS",
|
|
3
|
+
APP_DASHBOARD = "APP_DASHBOARD",
|
|
4
|
+
APP_EXPLORE = "APP_EXPLORE",
|
|
5
|
+
APP_MEMBERS = "APP_MEMBERS",
|
|
6
|
+
APP_PROPOSALS = "APP_PROPOSALS",
|
|
7
|
+
APP_TRANSACTIONS = "APP_TRANSACTIONS",
|
|
8
|
+
BLOCKCHAIN_BLOCK = "BLOCKCHAIN_BLOCK",
|
|
9
|
+
BLOCKCHAIN_BLOCKCHAIN = "BLOCKCHAIN_BLOCKCHAIN",
|
|
10
|
+
BLOCKCHAIN_GASFEE = "BLOCKCHAIN_GASFEE",
|
|
11
|
+
BLOCKCHAIN_SMARTCONTRACT = "BLOCKCHAIN_SMARTCONTRACT",
|
|
12
|
+
BLOCKCHAIN_WALLET = "BLOCKCHAIN_WALLET",
|
|
13
|
+
BLOCKCHAIN_WALLETCONNECT = "BLOCKCHAIN_WALLETCONNECT",
|
|
14
|
+
CALENDAR = "CALENDAR",
|
|
15
|
+
CHECKBOX = "CHECKBOX",
|
|
16
|
+
CHECKBOX_INDETERMINATE = "CHECKBOX_INDETERMINATE",
|
|
17
|
+
CHECKBOX_SELECTED = "CHECKBOX_SELECTED",
|
|
18
|
+
CHECKMARK = "CHECKMARK",
|
|
19
|
+
CHEVRON_DOWN = "CHEVRON_DOWN",
|
|
20
|
+
CHEVRON_LEFT = "CHEVRON_LEFT",
|
|
21
|
+
CHEVRON_RIGHT = "CHEVRON_RIGHT",
|
|
22
|
+
CHEVRON_UP = "CHEVRON_UP",
|
|
23
|
+
CLOCK = "CLOCK",
|
|
24
|
+
CLOSE = "CLOSE",
|
|
25
|
+
COPY = "COPY",
|
|
26
|
+
CRITICAL = "CRITICAL",
|
|
27
|
+
DEPOSIT = "DEPOSIT",
|
|
28
|
+
DOTS_HORIZONTAL = "DOTS_HORIZONTAL",
|
|
29
|
+
DOTS_VERTICAL = "DOTS_VERTICAL",
|
|
30
|
+
EXPAND = "EXPAND",
|
|
31
|
+
FAVORITE = "FAVORITE",
|
|
32
|
+
FAVORITE_SELECTED = "FAVORITE_SELECTED",
|
|
33
|
+
FEEDBACK = "FEEDBACK",
|
|
34
|
+
FILTER = "FILTER",
|
|
35
|
+
FLAG = "FLAG",
|
|
36
|
+
HELP = "HELP",
|
|
37
|
+
HOME = "HOME",
|
|
38
|
+
INFO = "INFO",
|
|
39
|
+
LINK_EXTERNAL = "LINK_EXTERNAL",
|
|
40
|
+
LOGOUT = "LOGOUT",
|
|
41
|
+
MENU = "MENU",
|
|
42
|
+
MINUS = "MINUS",
|
|
43
|
+
PERSON = "PERSON",
|
|
44
|
+
PLUS = "PLUS",
|
|
45
|
+
RADIO = "RADIO",
|
|
46
|
+
RADIO_SELECTED = "RADIO_SELECTED",
|
|
47
|
+
RELOAD = "RELOAD",
|
|
48
|
+
REMOVE = "REMOVE",
|
|
49
|
+
RICHTEXT_BOLD = "RICHTEXT_BOLD",
|
|
50
|
+
RICHTEXT_HEADING = "RICHTEXT_HEADING",
|
|
51
|
+
RICHTEXT_ITALIC = "RICHTEXT_ITALIC",
|
|
52
|
+
RICHTEXT_LINK_ADD = "RICHTEXT_LINK_ADD",
|
|
53
|
+
RICHTEXT_LINK_REMOVE = "RICHTEXT_LINK_REMOVE",
|
|
54
|
+
RICHTEXT_LIST_ORDERED = "RICHTEXT_LIST_ORDERED",
|
|
55
|
+
RICHTEXT_LIST_UNORDERED = "RICHTEXT_LIST_UNORDERED",
|
|
56
|
+
SEARCH = "SEARCH",
|
|
57
|
+
SETTINGS = "SETTINGS",
|
|
58
|
+
SHRINK = "SHRINK",
|
|
59
|
+
SLASH = "SLASH",
|
|
60
|
+
SORT_ASC = "SORT_ASC",
|
|
61
|
+
SORT_DESC = "SORT_DESC",
|
|
62
|
+
SUCCESS = "SUCCESS",
|
|
63
|
+
WARNING = "WARNING",
|
|
64
|
+
WITHDRAW = "WITHDRAW"
|
|
65
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
|
+
import type { IllustrationObjectType } from '../illustrationObject';
|
|
3
|
+
import type { IllustrationHumanAccessory, IllustrationHumanBody, IllustrationHumanExpression, IllustrationHumanHairs, IllustrationHumanSunglasses } from './illustrationHumanType';
|
|
4
|
+
export interface IIllustrationHumanProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
/**
|
|
6
|
+
* Body of the illustration human.
|
|
7
|
+
*/
|
|
8
|
+
body: IllustrationHumanBody;
|
|
9
|
+
/**
|
|
10
|
+
* Expression of the illustration human.
|
|
11
|
+
*/
|
|
12
|
+
expression: IllustrationHumanExpression;
|
|
13
|
+
/**
|
|
14
|
+
* Hairs of the illustration human.
|
|
15
|
+
*/
|
|
16
|
+
hairs?: IllustrationHumanHairs;
|
|
17
|
+
/**
|
|
18
|
+
* Sunglasses of the illustration human.
|
|
19
|
+
*/
|
|
20
|
+
sunglasses?: IllustrationHumanSunglasses;
|
|
21
|
+
/**
|
|
22
|
+
* Accessory of the illustration human.
|
|
23
|
+
*/
|
|
24
|
+
accessory?: IllustrationHumanAccessory;
|
|
25
|
+
/**
|
|
26
|
+
* Object to be displayed.
|
|
27
|
+
*/
|
|
28
|
+
object?: IllustrationObjectType;
|
|
29
|
+
/**
|
|
30
|
+
* Position of the object.
|
|
31
|
+
* @default left
|
|
32
|
+
*/
|
|
33
|
+
objectPosition?: 'right' | 'left';
|
|
34
|
+
}
|
|
35
|
+
export declare const IllustrationHuman: React.FC<IIllustrationHumanProps>;
|
package/dist/types/src/core/components/illustrations/illustrationHuman/illustrationHumanList.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
import type { IllustrationHumanAccessory, IllustrationHumanBody, IllustrationHumanExpression, IllustrationHumanHairs, IllustrationHumanSunglasses } from './illustrationHumanType';
|
|
3
|
+
type IllustrationHumanComponent = React.FC<SVGProps<SVGSVGElement>>;
|
|
4
|
+
export declare const illustrationHumanAccessoryList: Record<IllustrationHumanAccessory, IllustrationHumanComponent>;
|
|
5
|
+
export declare const illustrationHumanSunglassesList: Record<IllustrationHumanSunglasses, IllustrationHumanComponent>;
|
|
6
|
+
export declare const illustrationHumanBodyList: Record<IllustrationHumanBody, IllustrationHumanComponent>;
|
|
7
|
+
export declare const illustrationHumanExpressionList: Record<IllustrationHumanExpression, IllustrationHumanComponent>;
|
|
8
|
+
export declare const illustrationHumanHairsList: Record<IllustrationHumanHairs, IllustrationHumanComponent>;
|
|
9
|
+
export {};
|
package/dist/types/src/core/components/illustrations/illustrationHuman/illustrationHumanType.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type IllustrationHumanAccessory = 'BUDDHA' | 'EARRINGS_CIRCLE' | 'EARRINGS_HOOPS' | 'EARRINGS_RHOMBUS' | 'EARRINGS_SKULL' | 'EARRINGS_THUNDER' | 'EXPRESSION' | 'FLUSHED' | 'HEAD_FLOWER' | 'PIERCINGS_TATTOO' | 'PIERCINGS';
|
|
2
|
+
export type IllustrationHumanSunglasses = 'BIG_ROUNDED' | 'BIG_SEMIROUNDED' | 'LARGE_STYLIZED_XL' | 'LARGE_STYLIZED' | 'PIRATE' | 'SMALL_INTELLECTUAL' | 'SMALL_SYMPATHETIC' | 'SMALL_WEIRD_ONE' | 'SMALL_WEIRD_TWO' | 'THUGLIFE_ROUNDED' | 'THUGLIFE';
|
|
3
|
+
export type IllustrationHumanBody = 'ARAGON' | 'BLOCKS' | 'CHART' | 'COMPUTER_CORRECT' | 'COMPUTER' | 'CORRECT' | 'DOUBLE_CORRECT' | 'ELEVATING' | 'RELAXED' | 'SENDING_LOVE' | 'VOTING';
|
|
4
|
+
export type IllustrationHumanExpression = 'ANGRY' | 'CASUAL' | 'CRYING' | 'DECIDED' | 'EXCITED' | 'SAD_LEFT' | 'SAD_RIGHT' | 'SMILE_WINK' | 'SMILE' | 'SURPRISED' | 'SUSPECTING';
|
|
5
|
+
export type IllustrationHumanHairs = 'AFRO' | 'BALD' | 'BUN' | 'COOL' | 'CURLY_BANGS' | 'CURLY' | 'INFORMAL' | 'LONG' | 'MIDDLE' | 'OLDSCHOOL' | 'PUNK' | 'SHORT';
|
package/dist/types/src/core/components/illustrations/illustrationObject/illustrationObject.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
import type { IllustrationObjectType } from './illustrationObjectType';
|
|
3
|
+
export interface IIllustrationObjectProps extends SVGProps<SVGSVGElement> {
|
|
4
|
+
/**
|
|
5
|
+
* Illustration object to render.
|
|
6
|
+
*/
|
|
7
|
+
object: IllustrationObjectType;
|
|
8
|
+
}
|
|
9
|
+
export declare const IllustrationObject: React.FC<IIllustrationObjectProps>;
|
package/dist/types/src/core/components/illustrations/illustrationObject/illustrationObjectList.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
import type { IllustrationObjectType } from './illustrationObjectType';
|
|
3
|
+
type IllustrationObjectComponent = React.FC<SVGProps<SVGSVGElement>>;
|
|
4
|
+
export declare const illustrationObjectList: Record<IllustrationObjectType, IllustrationObjectComponent>;
|
|
5
|
+
export {};
|
package/dist/types/src/core/components/illustrations/illustrationObject/illustrationObjectType.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type IllustrationObjectType = 'ACTION' | 'APP' | 'ARCHIVE' | 'BOOK' | 'BUILD' | 'CHAIN' | 'DATABASE' | 'ERROR' | 'EXPLORE' | 'GAS' | 'GOAL' | 'LABELS' | 'LIGHTBULB' | 'MAGNIFYING_GLASS' | 'NOT_FOUND' | 'SECURITY' | 'SETTINGS' | 'SMART_CONTRACT' | 'SUCCESS' | 'USERS' | 'WAGMI' | 'WALLET' | 'WARNING';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export * from './accordion';
|
|
2
|
+
export * from './alerts';
|
|
3
|
+
export * from './avatars';
|
|
4
|
+
export * from './breadcrumbs';
|
|
5
|
+
export * from './button';
|
|
6
|
+
export * from './cards';
|
|
7
|
+
export * from './collapsible';
|
|
8
|
+
export * from './dataList';
|
|
9
|
+
export * from './definitionList';
|
|
10
|
+
export * from './dialogs';
|
|
11
|
+
export * from './documentParser';
|
|
12
|
+
export * from './dropdown';
|
|
13
|
+
export * from './forms';
|
|
14
|
+
export * from './gukCoreProvider';
|
|
15
|
+
export * from './heading';
|
|
16
|
+
export * from './icon';
|
|
17
|
+
export * from './illustrations';
|
|
18
|
+
export * from './link';
|
|
19
|
+
export * from './progress';
|
|
20
|
+
export * from './rerender';
|
|
21
|
+
export * from './spinner';
|
|
22
|
+
export * from './states';
|
|
23
|
+
export * from './tabs';
|
|
24
|
+
export * from './tag';
|
|
25
|
+
export * from './toggles';
|
|
26
|
+
export * from './tooltip';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AnchorHTMLAttributes } from 'react';
|
|
2
|
+
import { type IconType } from '../../icon';
|
|
3
|
+
export type LinkVariant = 'primary' | 'neutral';
|
|
4
|
+
export interface ILinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
5
|
+
/**
|
|
6
|
+
* Variant of the link.
|
|
7
|
+
* @default 'primary'
|
|
8
|
+
*/
|
|
9
|
+
variant?: LinkVariant;
|
|
10
|
+
/**
|
|
11
|
+
* Icon displayed on the right side of the link. Accepts any icon from src/components/icon/iconList.ts.
|
|
12
|
+
*/
|
|
13
|
+
iconRight?: IconType;
|
|
14
|
+
/**
|
|
15
|
+
* Whether the link is disabled.
|
|
16
|
+
*/
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Optional description text.
|
|
20
|
+
*/
|
|
21
|
+
description?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LinkBase, type ILinkBaseProps } from './linkBase';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export interface ILinkBaseProps extends ComponentPropsWithoutRef<'a'> {
|
|
3
|
+
}
|
|
4
|
+
export declare const LinkBase: import("react").ForwardRefExoticComponent<ILinkBaseProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
import { type ResponsiveAttribute } from '../../types';
|
|
3
|
+
export type ProgressSize = 'sm' | 'md';
|
|
4
|
+
export type ProgressVariant = 'primary' | 'neutral' | 'success' | 'critical';
|
|
5
|
+
export interface IProgressProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
/**
|
|
7
|
+
* Size of progress component.
|
|
8
|
+
* @default md
|
|
9
|
+
*/
|
|
10
|
+
size?: ProgressSize;
|
|
11
|
+
/**
|
|
12
|
+
* Size of the progress depending on the current breakpoint.
|
|
13
|
+
*/
|
|
14
|
+
responsiveSize?: ResponsiveAttribute<ProgressSize>;
|
|
15
|
+
/**
|
|
16
|
+
* Current progress to be rendered.
|
|
17
|
+
*/
|
|
18
|
+
value: number;
|
|
19
|
+
/**
|
|
20
|
+
* Variant of the progress component.
|
|
21
|
+
* @default primary
|
|
22
|
+
*/
|
|
23
|
+
variant?: ProgressVariant;
|
|
24
|
+
/**
|
|
25
|
+
* Threshold displayed with an indicator on the progress bar.
|
|
26
|
+
*/
|
|
27
|
+
thresholdIndicator?: number;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Rerender, type IRerenderProps } from './rerender';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface IRerenderProps {
|
|
3
|
+
/**
|
|
4
|
+
* The duration in milliseconds between each rerender.
|
|
5
|
+
* @default 1000
|
|
6
|
+
*/
|
|
7
|
+
intervalDuration?: number;
|
|
8
|
+
/**
|
|
9
|
+
* Time-sensitive content to render.
|
|
10
|
+
*/
|
|
11
|
+
children: (currentTime: number) => ReactNode;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Rerender component
|
|
15
|
+
*
|
|
16
|
+
* This component triggers a rerender at a specified interval, providing the current time
|
|
17
|
+
* (in milliseconds) to its child function. Useful for dynamically updating content based
|
|
18
|
+
* on time-sensitive data.
|
|
19
|
+
*/
|
|
20
|
+
export declare const Rerender: React.FC<IRerenderProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Spinner, type ISpinnerProps, type SpinnerSize, type SpinnerVariant } from './spinner';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
import type { ResponsiveAttribute } from '../../types';
|
|
3
|
+
export type SpinnerSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
export type SpinnerVariant = 'neutral' | 'primary' | 'primaryInverted' | 'success' | 'warning' | 'critical';
|
|
5
|
+
export interface ISpinnerProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
/**
|
|
7
|
+
* Size of the spinner.
|
|
8
|
+
* @default md
|
|
9
|
+
*/
|
|
10
|
+
size?: SpinnerSize;
|
|
11
|
+
/**
|
|
12
|
+
* Size of the spinner depending on the current breakpoint.
|
|
13
|
+
*/
|
|
14
|
+
responsiveSize?: ResponsiveAttribute<SpinnerSize>;
|
|
15
|
+
/**
|
|
16
|
+
* Variant of the spinner.
|
|
17
|
+
* @default neutral
|
|
18
|
+
*/
|
|
19
|
+
variant?: SpinnerVariant;
|
|
20
|
+
/**
|
|
21
|
+
* Defines if the spinner is in the loading state or not.
|
|
22
|
+
* @default true
|
|
23
|
+
*/
|
|
24
|
+
isLoading?: boolean;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Spinner UI component
|
|
28
|
+
*/
|
|
29
|
+
export declare const Spinner: React.FC<ISpinnerProps>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { IButtonBaseProps, IButtonElementProps } from '../../button';
|
|
2
|
+
import type { IIllustrationHumanProps, IIllustrationObjectProps } from '../../illustrations';
|
|
3
|
+
export interface IEmptyStateBaseProps {
|
|
4
|
+
/**
|
|
5
|
+
* Title of the empty state.
|
|
6
|
+
*/
|
|
7
|
+
heading: string;
|
|
8
|
+
/**
|
|
9
|
+
* Description of the empty state.
|
|
10
|
+
*/
|
|
11
|
+
description?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Renders the state as horitontal when set to false.
|
|
14
|
+
* @default true
|
|
15
|
+
*/
|
|
16
|
+
isStacked?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Primary button of the empty state. The primary button is only rendered on the stacked variant.
|
|
19
|
+
*/
|
|
20
|
+
primaryButton?: IEmptyStateButton;
|
|
21
|
+
/**
|
|
22
|
+
* Secondary button of the empty state.
|
|
23
|
+
*/
|
|
24
|
+
secondaryButton?: IEmptyStateButton;
|
|
25
|
+
/**
|
|
26
|
+
* Additional class names to be added to the empty state.
|
|
27
|
+
*/
|
|
28
|
+
className?: string;
|
|
29
|
+
}
|
|
30
|
+
export type IEmptyStateButton = Omit<IButtonBaseProps, 'variant' | 'size' | 'children'> & IButtonElementProps & {
|
|
31
|
+
/**
|
|
32
|
+
* Button label to be rendered.
|
|
33
|
+
*/
|
|
34
|
+
label: string;
|
|
35
|
+
};
|
|
36
|
+
export interface IEmptyStateHumanIllustrationProps extends IEmptyStateBaseProps {
|
|
37
|
+
/**
|
|
38
|
+
* @see IIllustrationHumanProps
|
|
39
|
+
*/
|
|
40
|
+
humanIllustration: IIllustrationHumanProps;
|
|
41
|
+
objectIllustration?: never;
|
|
42
|
+
}
|
|
43
|
+
export interface IEmptyStateObjectIllustrationProps extends IEmptyStateBaseProps {
|
|
44
|
+
/**
|
|
45
|
+
* @see IIllustrationObjectProps
|
|
46
|
+
*/
|
|
47
|
+
objectIllustration: IIllustrationObjectProps;
|
|
48
|
+
humanIllustration?: never;
|
|
49
|
+
}
|
|
50
|
+
export type IEmptyStateProps = IEmptyStateHumanIllustrationProps | IEmptyStateObjectIllustrationProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { StatePingAnimation, type IStatePingAnimationProps, type StatePingAnimationVariant, } from './statePingAnimation';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
export type StatePingAnimationVariant = 'primary' | 'info' | 'success' | 'warning' | 'critical';
|
|
4
|
+
export interface IStatePingAnimationProps extends ComponentPropsWithoutRef<'span'> {
|
|
5
|
+
/**
|
|
6
|
+
* Variant of the ping animation
|
|
7
|
+
* @default primary
|
|
8
|
+
*/
|
|
9
|
+
variant?: StatePingAnimationVariant;
|
|
10
|
+
}
|
|
11
|
+
export declare const StatePingAnimation: React.FC<IStatePingAnimationProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { StateSkeletonBar, type IStateSkeletonBarProps, type StateSkeletonBarSize } from './stateSkeletonBar';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type CSSProperties, type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { type ResponsiveAttribute } from '../../../types';
|
|
3
|
+
export type StateSkeletonBarSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
4
|
+
export interface IStateSkeletonBarProps extends ComponentPropsWithoutRef<'span'> {
|
|
5
|
+
/**
|
|
6
|
+
* Responsive size attribute for the skeleton.
|
|
7
|
+
*/
|
|
8
|
+
responsiveSize?: ResponsiveAttribute<StateSkeletonBarSize>;
|
|
9
|
+
/**
|
|
10
|
+
* The size of the skeleton.
|
|
11
|
+
* @default 'md'
|
|
12
|
+
*/
|
|
13
|
+
size?: StateSkeletonBarSize;
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the width of the skeleton element.
|
|
16
|
+
* Can be provided as a number (interpreted as pixels)
|
|
17
|
+
* or a string with explicit units (e.g., px, %, em).
|
|
18
|
+
* @default 160
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* width={200} // Sets width to 200 pixels.
|
|
22
|
+
* width="100px" // Sets width to 100 pixels.
|
|
23
|
+
* width="10%" // Sets width to 10% of its parent container.
|
|
24
|
+
*/
|
|
25
|
+
width?: CSSProperties['width'];
|
|
26
|
+
}
|
|
27
|
+
export declare const StateSkeletonBar: import("react").ForwardRefExoticComponent<IStateSkeletonBarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { StateSkeletonCircular, type IStateSkeletonCircularProps, type StateSkeletonCircularSize, } from './stateSkeletonCircular';
|
package/dist/types/src/core/components/states/stateSkeletonCircular/stateSkeletonCircular.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { type ResponsiveAttribute } from '../../../types';
|
|
3
|
+
export type StateSkeletonCircularSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
4
|
+
export interface IStateSkeletonCircularProps extends ComponentPropsWithoutRef<'span'> {
|
|
5
|
+
/**
|
|
6
|
+
* Responsive size attribute for the skeleton.
|
|
7
|
+
*/
|
|
8
|
+
responsiveSize?: ResponsiveAttribute<StateSkeletonCircularSize>;
|
|
9
|
+
/**
|
|
10
|
+
* The size of the skeleton.
|
|
11
|
+
* @default 'md'
|
|
12
|
+
*/
|
|
13
|
+
size?: StateSkeletonCircularSize;
|
|
14
|
+
}
|
|
15
|
+
export declare const StateSkeletonCircular: import("react").ForwardRefExoticComponent<IStateSkeletonCircularProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const Tabs: {
|
|
2
|
+
Root: import("react").ForwardRefExoticComponent<import("./tabsRoot").ITabsRootProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
+
List: import("react").FC<import("./tabsList").ITabsListProps>;
|
|
4
|
+
Trigger: import("react").FC<import("./tabsTrigger").ITabsTriggerProps>;
|
|
5
|
+
Content: import("react").FC<import("./tabsContent").ITabsContentProps>;
|
|
6
|
+
};
|
|
7
|
+
export * from './tabsContent';
|
|
8
|
+
export * from './tabsList';
|
|
9
|
+
export * from './tabsRoot';
|
|
10
|
+
export * from './tabsTrigger';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TabsContent, type ITabsContentProps } from './tabsContent';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ComponentProps } from 'react';
|
|
2
|
+
export interface ITabsContentProps extends ComponentProps<'div'> {
|
|
3
|
+
/**
|
|
4
|
+
* Value linking Tabs.Content to its corresponding Tabs.Trigger
|
|
5
|
+
*/
|
|
6
|
+
value: string;
|
|
7
|
+
/**
|
|
8
|
+
* When `true`, the content will stay mounted even when inactive.
|
|
9
|
+
*/
|
|
10
|
+
forceMount?: true;
|
|
11
|
+
}
|
|
12
|
+
export declare const TabsContent: React.FC<ITabsContentProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TabsList, type ITabsListProps } from './tabsList';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TabsContext, TabsRoot, type ITabsContext, type ITabsRootProps } from './tabsRoot';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Tabs as RadixTabsRoot } from '@radix-ui/react-tabs';
|
|
2
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
export interface ITabsRootProps extends ComponentPropsWithoutRef<typeof RadixTabsRoot> {
|
|
4
|
+
/**
|
|
5
|
+
* The value of the tab that should be selected by default.
|
|
6
|
+
*/
|
|
7
|
+
defaultValue?: string;
|
|
8
|
+
/**
|
|
9
|
+
* The value of the selected tab.
|
|
10
|
+
*/
|
|
11
|
+
value?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Callback when the value changes.
|
|
14
|
+
*/
|
|
15
|
+
onValueChange?: (value: string) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Whether the Tabs.List should use an underlined style. @default false
|
|
18
|
+
*/
|
|
19
|
+
isUnderlined?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface ITabsContext {
|
|
22
|
+
/**
|
|
23
|
+
* Whether the tabs share a common underline style implementation via the Tabs.List.
|
|
24
|
+
*/
|
|
25
|
+
isUnderlined: boolean;
|
|
26
|
+
}
|
|
27
|
+
export declare const TabsContext: import("react").Context<ITabsContext>;
|
|
28
|
+
export declare const TabsRoot: import("react").ForwardRefExoticComponent<ITabsRootProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TabsTrigger, type ITabsTriggerProps } from './tabsTrigger';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ComponentProps } from 'react';
|
|
2
|
+
import { type IconType } from '../../icon';
|
|
3
|
+
export interface ITabsTriggerProps extends ComponentProps<'button'> {
|
|
4
|
+
/**
|
|
5
|
+
* The label of the tab.
|
|
6
|
+
*/
|
|
7
|
+
label: string;
|
|
8
|
+
/**
|
|
9
|
+
* Value linking Tabs.Trigger to its corresponding Tabs.Content
|
|
10
|
+
*/
|
|
11
|
+
value: string;
|
|
12
|
+
/**
|
|
13
|
+
* The icon to display on the right side of the tab label.
|
|
14
|
+
*/
|
|
15
|
+
iconRight?: IconType;
|
|
16
|
+
}
|
|
17
|
+
export declare const TabsTrigger: React.FC<ITabsTriggerProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Tag, type ITagProps, type TagVariant } from './tag';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type TagVariant = 'neutral' | 'info' | 'warning' | 'critical' | 'success' | 'primary';
|
|
2
|
+
export interface ITagProps {
|
|
3
|
+
/**
|
|
4
|
+
* Defines the variant of the tag.
|
|
5
|
+
* @default neutral
|
|
6
|
+
*/
|
|
7
|
+
variant?: TagVariant;
|
|
8
|
+
/**
|
|
9
|
+
* Label of the tag.
|
|
10
|
+
*/
|
|
11
|
+
label: string;
|
|
12
|
+
/**
|
|
13
|
+
* Classes for the component.
|
|
14
|
+
*/
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const Tag: React.FC<ITagProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Toggle, type IToggleProps } from './toggle';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export interface IToggleProps extends Omit<ComponentProps<'button'>, 'ref'> {
|
|
3
|
+
/**
|
|
4
|
+
* Value of the toggle.
|
|
5
|
+
*/
|
|
6
|
+
value: string;
|
|
7
|
+
/**
|
|
8
|
+
* Label of the toggle.
|
|
9
|
+
*/
|
|
10
|
+
label: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The Toggle component is a button that handles the "on" and "off" states.
|
|
14
|
+
*
|
|
15
|
+
* **NOTE**: The component must be used inside a `<ToggleGroup />` component in order to work properly.
|
|
16
|
+
*/
|
|
17
|
+
export declare const Toggle: React.FC<IToggleProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ToggleGroup, type IToggleGroupProps, type ToggleGroupValue } from './toggleGroup';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export type ToggleGroupValue<TMulti extends boolean> = TMulti extends true ? string[] | undefined : string | undefined;
|
|
3
|
+
export interface IToggleGroupBaseProps<TMulti extends boolean> extends Omit<ComponentProps<'div'>, 'value' | 'onChange' | 'defaultValue' | 'ref' | 'dir'> {
|
|
4
|
+
/**
|
|
5
|
+
* Allows multiple toggles to be selected at the same time when set to true.
|
|
6
|
+
*/
|
|
7
|
+
isMultiSelect: TMulti;
|
|
8
|
+
/**
|
|
9
|
+
* Current value of the toggle selection.
|
|
10
|
+
*/
|
|
11
|
+
value?: ToggleGroupValue<TMulti>;
|
|
12
|
+
/**
|
|
13
|
+
* Default toggle selection.
|
|
14
|
+
*/
|
|
15
|
+
defaultValue?: ToggleGroupValue<TMulti>;
|
|
16
|
+
/**
|
|
17
|
+
* Callback called on toggle selection change.
|
|
18
|
+
*/
|
|
19
|
+
onChange?: (value: ToggleGroupValue<TMulti>) => void;
|
|
20
|
+
}
|
|
21
|
+
export type IToggleGroupProps = IToggleGroupBaseProps<true> | IToggleGroupBaseProps<false>;
|
|
22
|
+
export declare const ToggleGroup: (props: IToggleGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Tooltip, type ITooltipProps, type TooltipVariant } from './tooltip';
|