@aragon/gov-ui-kit 0.0.0-20250408144901
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/CHANGELOG.md +1129 -0
- package/LICENSE +674 -0
- package/README.md +54 -0
- package/build.css +5 -0
- package/dist/index.es.js +2 -0
- package/dist/index.es.js.map +1 -0
- package/dist/types/.storybook/components/docsPage/docsPage.d.ts +1 -0
- package/dist/types/.storybook/components/docsPage/index.d.ts +1 -0
- package/dist/types/.storybook/components/index.d.ts +2 -0
- package/dist/types/.storybook/components/styleBlock/index.d.ts +1 -0
- package/dist/types/.storybook/components/styleBlock/styleBlock.d.ts +15 -0
- package/dist/types/.storybook/main.d.ts +3 -0
- package/dist/types/.storybook/manager.d.ts +1 -0
- package/dist/types/.storybook/preview.d.ts +5 -0
- package/dist/types/.storybook/theme.d.ts +2 -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 +15 -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 +15 -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 +20 -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 +14 -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 +28 -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 +12 -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.api.d.ts +69 -0
- package/dist/types/src/core/components/dialogs/dialog/dialogRoot/dialogRoot.d.ts +2 -0
- package/dist/types/src/core/components/dialogs/dialog/dialogRoot/dialogRootHiddenElement.d.ts +11 -0
- package/dist/types/src/core/components/dialogs/dialog/dialogRoot/index.d.ts +2 -0
- package/dist/types/src/core/components/dialogs/dialog/dialogStoryComponent.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 +10 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertContent/index.d.ts +1 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertContext/dialogAlertContext.d.ts +5 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertContext/index.d.ts +1 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertFooter/dialogAlertFooter.d.ts +19 -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 +8 -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.api.d.ts +55 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertRoot/dialogAlertRoot.d.ts +2 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertRoot/dialogAlertRootHiddenElement.d.ts +11 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertRoot/index.d.ts +2 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/dialogAlertStoryComponent.d.ts +2 -0
- package/dist/types/src/core/components/dialogs/dialogAlert/index.d.ts +10 -0
- package/dist/types/src/core/components/dialogs/dialogUtils.d.ts +29 -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 +62 -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 +26 -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 +27 -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 +11 -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 +176 -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 +29 -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 +33 -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/index.d.ts +12 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsContainer/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsContainer/proposalActionsContainer.d.ts +8 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsContext/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsContext/proposalActionsContext.d.ts +21 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/index.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoder.api.d.ts +36 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoder.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderField/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderField/proposalActionsDecoderField.d.ts +21 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderTextField/index.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderTextField/proposalActionsDecoderTextField.api.d.ts +30 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderTextField/proposalActionsDecoderTextField.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderTextField/proposalActionsDecoderTextFieldEdit.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderTextField/proposalActionsDecoderTextFieldWatch.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderUtils.d.ts +45 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDefinitions.d.ts +89 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsFooter/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsFooter/proposalActionsFooter.d.ts +8 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/index.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItem.api.d.ts +52 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItem.d.ts +8 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItemBasicView.d.ts +8 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItemUtils.d.ts +12 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/index.d.ts +5 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionChangeMembers/index.d.ts +3 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionChangeMembers/proposalActionChangeMembers.api.d.ts +18 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionChangeMembers/proposalActionChangeMembers.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionChangeMembers/proposalActionChangeMembers.testUtils.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionChangeSettings/index.d.ts +3 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionChangeSettings/proposalActionChangeSettings.api.d.ts +23 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionChangeSettings/proposalActionChangeSettings.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionChangeSettings/proposalActionChangeSettings.testUtils.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionTokenMint/index.d.ts +3 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionTokenMint/proposalActionTokenMint.api.d.ts +28 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionTokenMint/proposalActionTokenMint.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionTokenMint/proposalActionTokenMint.testUtils.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionUpdateMetadata/index.d.ts +3 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionUpdateMetadata/proposalActionUpdateMetadata.api.d.ts +49 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionUpdateMetadata/proposalActionUpdateMetadata.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionUpdateMetadata/proposalActionUpdateMetadata.testUtils.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionWithdrawToken/index.d.ts +3 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionWithdrawToken/proposalActionWithdrawToken.api.d.ts +52 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionWithdrawToken/proposalActionWithdrawToken.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionWithdrawToken/proposalActionWithdrawToken.testUtils.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsRoot/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsRoot/proposalActionsRoot.d.ts +19 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTestUtils.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalDataListItem/index.d.ts +6 -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 +48 -0
- package/dist/types/src/modules/components/proposal/proposalDataListItem/proposalDataListItemStructure/proposalDataListItemStructure.d.ts +3 -0
- package/dist/types/src/modules/components/proposal/proposalUtils.d.ts +25 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/index.d.ts +28 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodyContent/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodyContent/proposalVotingBodyContent.d.ts +17 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummary/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummary/proposalVotingBodySummary.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummaryList/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummaryList/proposalVotingBodySummaryList.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummaryListItem/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummaryListItem/proposalVotingBodySummaryListItem.d.ts +13 -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 +12 -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 +33 -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 +17 -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 +15 -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 +48 -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 +30 -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 +2 -0
- package/dist/types/src/modules/hooks/useBlockExplorer/index.d.ts +2 -0
- package/dist/types/src/modules/hooks/useBlockExplorer/useBlockExplorer.api.d.ts +57 -0
- package/dist/types/src/modules/hooks/useBlockExplorer/useBlockExplorer.d.ts +2 -0
- package/dist/types/src/modules/hooks/useFormContext/index.d.ts +1 -0
- package/dist/types/src/modules/hooks/useFormContext/useFormContext.d.ts +3 -0
- package/dist/types/src/modules/index.d.ts +5 -0
- package/dist/types/src/modules/testUtils/generators/formContext.d.ts +2 -0
- package/dist/types/src/modules/testUtils/generators/index.d.ts +1 -0
- package/dist/types/src/modules/testUtils/index.d.ts +1 -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 +173 -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 +6 -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 +376 -0
package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDefinitions.d.ts
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import type { IWeb3ComponentProps } from '../../../types';
|
|
3
|
+
export declare enum ProposalActionType {
|
|
4
|
+
WITHDRAW_TOKEN = "WITHDRAW_TOKEN",
|
|
5
|
+
ADD_MEMBERS = "ADD_MEMBERS",
|
|
6
|
+
REMOVE_MEMBERS = "REMOVE_MEMBERS",
|
|
7
|
+
UPDATE_METADATA = "UPDATE_METADATA",
|
|
8
|
+
TOKEN_MINT = "TOKEN_MINT",
|
|
9
|
+
CHANGE_SETTINGS_MULTISIG = "CHANGE_SETTINGS_MULTISIG",
|
|
10
|
+
CHANGE_SETTINGS_TOKENVOTE = "CHANGE_SETTINGS_TOKENVOTE",
|
|
11
|
+
UPDATE_PLUGIN_METADATA = "UPDATE_PLUGIN_METADATA"
|
|
12
|
+
}
|
|
13
|
+
export interface IProposalActionInputDataParameter {
|
|
14
|
+
/**
|
|
15
|
+
* The name of the parameter being passed.
|
|
16
|
+
*/
|
|
17
|
+
name: string;
|
|
18
|
+
/**
|
|
19
|
+
* The type of the argument being passed.
|
|
20
|
+
*/
|
|
21
|
+
type: string;
|
|
22
|
+
/**
|
|
23
|
+
* The value of the argument being passed.
|
|
24
|
+
*/
|
|
25
|
+
value: unknown;
|
|
26
|
+
/**
|
|
27
|
+
* The NatSpec notice for the parameter on the contract.
|
|
28
|
+
*/
|
|
29
|
+
notice?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Array of parameters for "tuple" type.
|
|
32
|
+
*/
|
|
33
|
+
components?: Array<Omit<IProposalActionInputDataParameter, 'value'>>;
|
|
34
|
+
}
|
|
35
|
+
export interface IProposalActionInputData {
|
|
36
|
+
/**
|
|
37
|
+
* Name of the function to call from proposal action.
|
|
38
|
+
*/
|
|
39
|
+
function: string;
|
|
40
|
+
/**
|
|
41
|
+
* The name of the contract to interact with.
|
|
42
|
+
*/
|
|
43
|
+
contract: string;
|
|
44
|
+
/**
|
|
45
|
+
* State mutability of the function (e.g. pure or payable).
|
|
46
|
+
*/
|
|
47
|
+
stateMutability?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The parameters to pass to the function.
|
|
50
|
+
*/
|
|
51
|
+
parameters: IProposalActionInputDataParameter[];
|
|
52
|
+
}
|
|
53
|
+
export interface IProposalAction {
|
|
54
|
+
/**
|
|
55
|
+
* The address to send the transaction from.
|
|
56
|
+
*/
|
|
57
|
+
from: string;
|
|
58
|
+
/**
|
|
59
|
+
* The address to send the transaction to.
|
|
60
|
+
*/
|
|
61
|
+
to: string;
|
|
62
|
+
/**
|
|
63
|
+
* The data to send with the transaction.
|
|
64
|
+
*/
|
|
65
|
+
data: string;
|
|
66
|
+
/**
|
|
67
|
+
* The native currency value to send with the transaction.
|
|
68
|
+
*/
|
|
69
|
+
value: string;
|
|
70
|
+
/**
|
|
71
|
+
* The type of the proposal action.
|
|
72
|
+
*/
|
|
73
|
+
type: string;
|
|
74
|
+
/**
|
|
75
|
+
* The input data for the proposal action.
|
|
76
|
+
*/
|
|
77
|
+
inputData: IProposalActionInputData | null;
|
|
78
|
+
}
|
|
79
|
+
export interface IProposalActionComponentProps<TAction extends IProposalAction = IProposalAction> extends IWeb3ComponentProps {
|
|
80
|
+
/**
|
|
81
|
+
* Action to be rendered.
|
|
82
|
+
*/
|
|
83
|
+
action: TAction;
|
|
84
|
+
/**
|
|
85
|
+
* Index of the action.
|
|
86
|
+
*/
|
|
87
|
+
index: number;
|
|
88
|
+
}
|
|
89
|
+
export type ProposalActionComponent<TAction extends IProposalAction = IProposalAction> = ComponentType<IProposalActionComponentProps<TAction>>;
|
package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsFooter/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProposalActionsFooter, type IProposalActionsFooterProps } from './proposalActionsFooter';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export interface IProposalActionsFooterProps extends ComponentProps<'div'> {
|
|
3
|
+
/**
|
|
4
|
+
* List of action IDs to be used to toggle the expanded state for all the actions, defaults to the index of the actions.
|
|
5
|
+
*/
|
|
6
|
+
actionIds?: string[];
|
|
7
|
+
}
|
|
8
|
+
export declare const ProposalActionsFooter: React.FC<IProposalActionsFooterProps>;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { IconType } from '../../../../../core';
|
|
2
|
+
import type { IWeb3ComponentProps } from '../../../../types';
|
|
3
|
+
import type { ProposalActionsDecoderView } from '../proposalActionsDecoder';
|
|
4
|
+
import type { IProposalAction, ProposalActionComponent } from '../proposalActionsDefinitions';
|
|
5
|
+
export type ProposalActionsItemViewMode = 'BASIC' | ProposalActionsDecoderView;
|
|
6
|
+
export interface IProposalActionsItemDropdownItem<TAction extends IProposalAction = IProposalAction> {
|
|
7
|
+
/**
|
|
8
|
+
* Label of the item.
|
|
9
|
+
*/
|
|
10
|
+
label: string;
|
|
11
|
+
/**
|
|
12
|
+
* Icon of the item.
|
|
13
|
+
*/
|
|
14
|
+
icon: IconType;
|
|
15
|
+
/**
|
|
16
|
+
* Callback called with the current action and its index on item click.
|
|
17
|
+
*/
|
|
18
|
+
onClick: (action: TAction, index: number) => void;
|
|
19
|
+
}
|
|
20
|
+
export interface IProposalActionsItemProps<TAction extends IProposalAction = IProposalAction> extends IWeb3ComponentProps {
|
|
21
|
+
/**
|
|
22
|
+
* Proposal action to be rendered.
|
|
23
|
+
*/
|
|
24
|
+
action: TAction;
|
|
25
|
+
/**
|
|
26
|
+
* Index of the action injected by the <ProposalActions.Container /> component.
|
|
27
|
+
*/
|
|
28
|
+
index?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Value of the action used as accordion item value, defaults to the index property if not provided.
|
|
31
|
+
*/
|
|
32
|
+
value?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Custom component for the action to be rendered on BASIC view.
|
|
35
|
+
*/
|
|
36
|
+
CustomComponent?: ProposalActionComponent<TAction>;
|
|
37
|
+
/**
|
|
38
|
+
* Items displayed beside the "View as" menu.
|
|
39
|
+
*/
|
|
40
|
+
dropdownItems?: Array<IProposalActionsItemDropdownItem<TAction>>;
|
|
41
|
+
/**
|
|
42
|
+
* Enables the edit-mode when set to true. The RAW view will be editable only if the action has no DECODED view,
|
|
43
|
+
* similarly the DECODED view will be editable only if the action has no BASIC view.
|
|
44
|
+
* The component must be wrapped through a form context provider when the property is set to true.
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
editMode?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Form prefix to be prepended to all proposal action text fields.
|
|
50
|
+
*/
|
|
51
|
+
formPrefix?: string;
|
|
52
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { IProposalAction } from '../proposalActionsDefinitions';
|
|
2
|
+
import type { IProposalActionsItemProps } from './proposalActionsItem.api';
|
|
3
|
+
/**
|
|
4
|
+
* The `<ProposalActions.Item />` component supports multiple view modes depending if the action supports a basic view
|
|
5
|
+
* and if the parameters for the actions are defined.
|
|
6
|
+
* **_NOTE:_** The component must be used inside a `<FormProvider />` component from `react-hook-form` when used in `editMode`.
|
|
7
|
+
*/
|
|
8
|
+
export declare const ProposalActionsItem: <TAction extends IProposalAction = IProposalAction>(props: IProposalActionsItemProps<TAction>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { IProposalAction, IProposalActionComponentProps, ProposalActionComponent } from '../proposalActionsDefinitions';
|
|
2
|
+
export interface IProposalActionsItemBasicViewProps<TAction extends IProposalAction = IProposalAction> extends IProposalActionComponentProps<TAction> {
|
|
3
|
+
/**
|
|
4
|
+
* Custom component to be rendered.
|
|
5
|
+
*/
|
|
6
|
+
CustomComponent?: ProposalActionComponent<TAction>;
|
|
7
|
+
}
|
|
8
|
+
export declare const ProposalActionsItemBasicView: <TAction extends IProposalAction = IProposalAction>(props: IProposalActionsItemBasicViewProps<TAction>) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type IProposalAction } from '../proposalActionsDefinitions';
|
|
2
|
+
import type { IProposalActionChangeMembers, IProposalActionChangeSettings, IProposalActionTokenMint, IProposalActionUpdateMetadata, IProposalActionWithdrawToken } from '../proposalActionsList';
|
|
3
|
+
declare class ProposalActionsItemUtils {
|
|
4
|
+
isActionSupported: (action: IProposalAction) => boolean;
|
|
5
|
+
isWithdrawTokenAction: (action: Partial<IProposalAction>) => action is IProposalActionWithdrawToken;
|
|
6
|
+
isChangeMembersAction: (action: Partial<IProposalAction>) => action is IProposalActionChangeMembers;
|
|
7
|
+
isUpdateMetadataAction: (action: Partial<IProposalAction>) => action is IProposalActionUpdateMetadata;
|
|
8
|
+
isTokenMintAction: (action: Partial<IProposalAction>) => action is IProposalActionTokenMint;
|
|
9
|
+
isChangeSettingsAction: (action: Partial<IProposalAction>) => action is IProposalActionChangeSettings;
|
|
10
|
+
}
|
|
11
|
+
export declare const proposalActionsItemUtils: ProposalActionsItemUtils;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ICompositeAddress } from '../../../../../types';
|
|
2
|
+
import type { IProposalAction, IProposalActionComponentProps, ProposalActionType } from '../../proposalActionsDefinitions';
|
|
3
|
+
export interface IProposalActionChangeMembers extends IProposalAction {
|
|
4
|
+
/**
|
|
5
|
+
* Adjust member count action
|
|
6
|
+
*/
|
|
7
|
+
type: ProposalActionType.ADD_MEMBERS | ProposalActionType.REMOVE_MEMBERS;
|
|
8
|
+
/**
|
|
9
|
+
* The members that are being added or removed
|
|
10
|
+
*/
|
|
11
|
+
members: ICompositeAddress[];
|
|
12
|
+
/**
|
|
13
|
+
* The number of members of the DAO when the proposal is created
|
|
14
|
+
*/
|
|
15
|
+
currentMembers: number;
|
|
16
|
+
}
|
|
17
|
+
export interface IProposalActionChangeMembersProps extends IProposalActionComponentProps<IProposalActionChangeMembers> {
|
|
18
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { ProposalActionChangeSettings } from './proposalActionChangeSettings';
|
|
2
|
+
export type { IProposalActionChangeSettings, IProposalActionChangeSettingsProps, IProposalActionChangeSettingsSetting, } from './proposalActionChangeSettings.api';
|
|
3
|
+
export * from './proposalActionChangeSettings.testUtils';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { IProposalAction, IProposalActionComponentProps } from '../../proposalActionsDefinitions';
|
|
2
|
+
export interface IProposalActionChangeSettingsSetting {
|
|
3
|
+
/**
|
|
4
|
+
* The term of the setting.
|
|
5
|
+
*/
|
|
6
|
+
term: string;
|
|
7
|
+
/**
|
|
8
|
+
* The definition of the setting.
|
|
9
|
+
*/
|
|
10
|
+
definition: string | number;
|
|
11
|
+
}
|
|
12
|
+
export interface IProposalActionChangeSettings extends IProposalAction {
|
|
13
|
+
/**
|
|
14
|
+
* The settings that are proposed to be changed
|
|
15
|
+
*/
|
|
16
|
+
proposedSettings: IProposalActionChangeSettingsSetting[];
|
|
17
|
+
/**
|
|
18
|
+
* The settings that are currently in place.
|
|
19
|
+
*/
|
|
20
|
+
existingSettings: IProposalActionChangeSettingsSetting[];
|
|
21
|
+
}
|
|
22
|
+
export interface IProposalActionChangeSettingsProps extends IProposalActionComponentProps<IProposalActionChangeSettings> {
|
|
23
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { ProposalActionTokenMint } from './proposalActionTokenMint';
|
|
2
|
+
export type { IProposalActionTokenMint, IProposalActionTokenMintMetadataReceiver, IProposalActionTokenMintProps, } from './proposalActionTokenMint.api';
|
|
3
|
+
export * from './proposalActionTokenMint.testUtils';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ICompositeAddress } from '../../../../../types';
|
|
2
|
+
import type { IProposalAction, IProposalActionComponentProps, ProposalActionType } from '../../proposalActionsDefinitions';
|
|
3
|
+
export interface IProposalActionTokenMintMetadataReceiver extends ICompositeAddress {
|
|
4
|
+
/**
|
|
5
|
+
* Receivers current token balance.
|
|
6
|
+
*/
|
|
7
|
+
currentBalance: string;
|
|
8
|
+
/**
|
|
9
|
+
* Receivers new token balance after mint.
|
|
10
|
+
*/
|
|
11
|
+
newBalance: string;
|
|
12
|
+
}
|
|
13
|
+
export interface IProposalActionTokenMint extends IProposalAction {
|
|
14
|
+
/**
|
|
15
|
+
* Token mint action.
|
|
16
|
+
*/
|
|
17
|
+
type: ProposalActionType.TOKEN_MINT;
|
|
18
|
+
/**
|
|
19
|
+
* Token receivers.
|
|
20
|
+
*/
|
|
21
|
+
receiver: IProposalActionTokenMintMetadataReceiver;
|
|
22
|
+
/**
|
|
23
|
+
* Token Symbol.
|
|
24
|
+
*/
|
|
25
|
+
tokenSymbol: string;
|
|
26
|
+
}
|
|
27
|
+
export interface IProposalActionTokenMintProps extends IProposalActionComponentProps<IProposalActionTokenMint> {
|
|
28
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { ProposalActionUpdateMetadata } from './proposalActionUpdateMetadata';
|
|
2
|
+
export type { IProposalActionUpdateMetadata, IProposalActionUpdateMetadataDaoMetadata, IProposalActionUpdateMetadataDaoMetadataLink, IProposalActionUpdateMetadataProps, } from './proposalActionUpdateMetadata.api';
|
|
3
|
+
export * from './proposalActionUpdateMetadata.testUtils';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { IProposalAction, IProposalActionComponentProps, ProposalActionType } from '../../proposalActionsDefinitions';
|
|
2
|
+
export interface IProposalActionUpdateMetadataDaoMetadataLink {
|
|
3
|
+
/**
|
|
4
|
+
* Human readable label for link.
|
|
5
|
+
*/
|
|
6
|
+
label: string;
|
|
7
|
+
/**
|
|
8
|
+
* link href.
|
|
9
|
+
*/
|
|
10
|
+
href: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IProposalActionUpdateMetadataDaoMetadata {
|
|
13
|
+
/**
|
|
14
|
+
* URL of the avatar, only set for DAO metadata.
|
|
15
|
+
*/
|
|
16
|
+
avatar?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Name of the DAO or Plugin.
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* Process key, only set for Plugin process metadata
|
|
23
|
+
*/
|
|
24
|
+
processKey?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Description of the DAO, plugin.
|
|
27
|
+
*/
|
|
28
|
+
description: string;
|
|
29
|
+
/**
|
|
30
|
+
* Array of metadata links.
|
|
31
|
+
*/
|
|
32
|
+
links: IProposalActionUpdateMetadataDaoMetadataLink[];
|
|
33
|
+
}
|
|
34
|
+
export interface IProposalActionUpdateMetadata extends IProposalAction {
|
|
35
|
+
/**
|
|
36
|
+
* Metadata action type.
|
|
37
|
+
*/
|
|
38
|
+
type: ProposalActionType.UPDATE_METADATA | ProposalActionType.UPDATE_PLUGIN_METADATA;
|
|
39
|
+
/**
|
|
40
|
+
* Proposed metadata.
|
|
41
|
+
*/
|
|
42
|
+
proposedMetadata: IProposalActionUpdateMetadataDaoMetadata;
|
|
43
|
+
/**
|
|
44
|
+
* Existing metadata.
|
|
45
|
+
*/
|
|
46
|
+
existingMetadata: IProposalActionUpdateMetadataDaoMetadata;
|
|
47
|
+
}
|
|
48
|
+
export interface IProposalActionUpdateMetadataProps extends IProposalActionComponentProps<IProposalActionUpdateMetadata> {
|
|
49
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { ICompositeAddress } from '../../../../../types';
|
|
2
|
+
import type { IProposalAction, IProposalActionComponentProps, ProposalActionType } from '../../proposalActionsDefinitions';
|
|
3
|
+
export interface IProposalActionWithdrawTokenAsset {
|
|
4
|
+
/**
|
|
5
|
+
* Name of the token.
|
|
6
|
+
*/
|
|
7
|
+
name: string;
|
|
8
|
+
/**
|
|
9
|
+
* Symbol of the token.
|
|
10
|
+
*/
|
|
11
|
+
symbol: string;
|
|
12
|
+
/**
|
|
13
|
+
* Address of the token.
|
|
14
|
+
*/
|
|
15
|
+
address?: string;
|
|
16
|
+
/**
|
|
17
|
+
* URL of the token logo.
|
|
18
|
+
*/
|
|
19
|
+
logo: string;
|
|
20
|
+
/**
|
|
21
|
+
* Token price in USD.
|
|
22
|
+
*/
|
|
23
|
+
priceUsd: string;
|
|
24
|
+
/**
|
|
25
|
+
* Decimals of the token.
|
|
26
|
+
*/
|
|
27
|
+
decimals: number;
|
|
28
|
+
}
|
|
29
|
+
export interface IProposalActionWithdrawToken extends IProposalAction {
|
|
30
|
+
/**
|
|
31
|
+
* Withdraw token action type.
|
|
32
|
+
*/
|
|
33
|
+
type: ProposalActionType.WITHDRAW_TOKEN;
|
|
34
|
+
/**
|
|
35
|
+
* Sender handle (the DAO treasury in this case), object with address and optional ensName.
|
|
36
|
+
*/
|
|
37
|
+
sender: ICompositeAddress;
|
|
38
|
+
/**
|
|
39
|
+
* Receiver handle, object with address and optional ensName.
|
|
40
|
+
*/
|
|
41
|
+
receiver: ICompositeAddress;
|
|
42
|
+
/**
|
|
43
|
+
* Amount of tokens to withdraw.
|
|
44
|
+
*/
|
|
45
|
+
amount: string;
|
|
46
|
+
/**
|
|
47
|
+
* Details of the token to withdraw.
|
|
48
|
+
*/
|
|
49
|
+
token: IProposalActionWithdrawTokenAsset;
|
|
50
|
+
}
|
|
51
|
+
export interface IProposalActionWithdrawTokenProps extends IProposalActionComponentProps<IProposalActionWithdrawToken> {
|
|
52
|
+
}
|
package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsRoot/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProposalActionsRoot, type IProposalActionsRootProps } from './proposalActionsRoot';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type ComponentProps } from 'react';
|
|
2
|
+
export interface IProposalActionsRootProps extends ComponentProps<'div'> {
|
|
3
|
+
/**
|
|
4
|
+
* Number of proposal actions needed to handle the toggle-all logic. This is also calculated and set at runtime from
|
|
5
|
+
* the number of children of the ProposalActions.Container component. To be set to render a correct view when the
|
|
6
|
+
* component is rendered on the server side.
|
|
7
|
+
* @default 0
|
|
8
|
+
*/
|
|
9
|
+
actionsCount?: number;
|
|
10
|
+
/**
|
|
11
|
+
* List of actions ids that are expanded. To be used for controlling the expanded / collapsed states.
|
|
12
|
+
*/
|
|
13
|
+
expandedActions?: string[];
|
|
14
|
+
/**
|
|
15
|
+
* Callback called when the expanded state of an action changes.
|
|
16
|
+
*/
|
|
17
|
+
onExpandedActionsChange?: (expandedActions: string[]) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const ProposalActionsRoot: React.FC<IProposalActionsRootProps>;
|
package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsTestUtils.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IProposalActionsContext } from './proposalActionsContext';
|
|
2
|
+
import type { IProposalAction } from './proposalActionsDefinitions';
|
|
3
|
+
export declare const generateProposalAction: (action?: Partial<IProposalAction>) => IProposalAction;
|
|
4
|
+
export declare const generateProposalActionsContext: (values?: Partial<IProposalActionsContext>) => IProposalActionsContext;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const ProposalDataListItem: {
|
|
2
|
+
Skeleton: import("react").FC<import("../../../..").IDataListItemProps>;
|
|
3
|
+
Structure: import("react").FC<import("./proposalDataListItemStructure").IProposalDataListItemStructureProps>;
|
|
4
|
+
};
|
|
5
|
+
export * from './proposalDataListItemSkeleton';
|
|
6
|
+
export * from './proposalDataListItemStructure';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProposalDataListItemSkeleton, type IProposalDataListItemSkeletonProps } from './proposalDataListItemSkeleton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProposalDataListItemStatus, type IProposalDataListItemStatusProps } from './proposalDataListItemStatus';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type IProposalDataListItemStructureProps } from '../proposalDataListItemStructure';
|
|
2
|
+
export interface IProposalDataListItemStatusProps extends Pick<IProposalDataListItemStructureProps, 'date' | 'status' | 'voted' | 'statusContext'> {
|
|
3
|
+
}
|
|
4
|
+
export declare const ProposalDataListItemStatus: React.FC<IProposalDataListItemStatusProps>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { IDataListItemProps } from '../../../../../core';
|
|
2
|
+
import { type ICompositeAddress, type IWeb3ComponentProps } from '../../../../types';
|
|
3
|
+
import { type ProposalStatus } from '../../proposalUtils';
|
|
4
|
+
export type IProposalDataListItemStructureProps = IDataListItemProps & IWeb3ComponentProps & {
|
|
5
|
+
/**
|
|
6
|
+
* Proposal id
|
|
7
|
+
*/
|
|
8
|
+
id?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Date relative to the proposal status in ISO format or as a timestamp
|
|
11
|
+
*/
|
|
12
|
+
date?: string | number;
|
|
13
|
+
/**
|
|
14
|
+
* Optional tag indicating proposal type
|
|
15
|
+
*/
|
|
16
|
+
tag?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Publisher(s) address (and optional ENS name and profile link)
|
|
19
|
+
*/
|
|
20
|
+
publisher: IPublisher | IPublisher[];
|
|
21
|
+
/**
|
|
22
|
+
* Proposal status
|
|
23
|
+
*/
|
|
24
|
+
status: ProposalStatus;
|
|
25
|
+
/**
|
|
26
|
+
* Provides additional context about the current status of a proposal within a multistage voting process.
|
|
27
|
+
* Only displayed when proposal status is `ACTIVE` or `ADVANCEABLE`.
|
|
28
|
+
*/
|
|
29
|
+
statusContext?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Proposal description
|
|
32
|
+
*/
|
|
33
|
+
summary: string;
|
|
34
|
+
/**
|
|
35
|
+
* Proposal title
|
|
36
|
+
*/
|
|
37
|
+
title: string;
|
|
38
|
+
/**
|
|
39
|
+
* Indicates whether the connected wallet has voted
|
|
40
|
+
*/
|
|
41
|
+
voted?: boolean;
|
|
42
|
+
};
|
|
43
|
+
export interface IPublisher extends ICompositeAddress {
|
|
44
|
+
/**
|
|
45
|
+
* Link to additional information about the publisher, such as a profile page or block explorer.
|
|
46
|
+
*/
|
|
47
|
+
link?: string;
|
|
48
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { TagVariant } from '../../../core';
|
|
2
|
+
export declare enum ProposalStatus {
|
|
3
|
+
ACCEPTED = "ACCEPTED",
|
|
4
|
+
ACTIVE = "ACTIVE",
|
|
5
|
+
ADVANCEABLE = "ADVANCEABLE",
|
|
6
|
+
DRAFT = "DRAFT",
|
|
7
|
+
EXECUTED = "EXECUTED",
|
|
8
|
+
EXPIRED = "EXPIRED",
|
|
9
|
+
FAILED = "FAILED",
|
|
10
|
+
PENDING = "PENDING",
|
|
11
|
+
EXECUTABLE = "EXECUTABLE",
|
|
12
|
+
REJECTED = "REJECTED",
|
|
13
|
+
VETOED = "VETOED"
|
|
14
|
+
}
|
|
15
|
+
export declare enum ProposalVotingStatus {
|
|
16
|
+
ACTIVE = "ACTIVE",
|
|
17
|
+
ACCEPTED = "ACCEPTED",
|
|
18
|
+
PENDING = "PENDING",
|
|
19
|
+
EXPIRED = "EXPIRED",
|
|
20
|
+
REJECTED = "REJECTED",
|
|
21
|
+
UNREACHED = "UNREACHED",
|
|
22
|
+
VETOED = "VETOED"
|
|
23
|
+
}
|
|
24
|
+
export declare const proposalStatusToVotingStatus: Record<ProposalStatus, ProposalVotingStatus>;
|
|
25
|
+
export declare const proposalStatusToTagVariant: Record<ProposalStatus, TagVariant>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const ProposalVoting: {
|
|
2
|
+
BreakdownMultisig: import("react").FC<import("./proposalVotingBreakdownMultisig").IProposalVotingBreakdownMultisigProps>;
|
|
3
|
+
BreakdownToken: import("react").FC<import("./proposalVotingBreakdownToken").IProposalVotingBreakdownTokenProps>;
|
|
4
|
+
Container: import("react").FC<import("./proposalVotingContainer").IProposalVotingContainerProps>;
|
|
5
|
+
Details: import("react").FC<import("./proposalVotingDetails").IProposalVotingDetailsProps>;
|
|
6
|
+
Stage: import("react").FC<import("./proposalVotingStage").IProposalVotingStageProps>;
|
|
7
|
+
Votes: import("react").FC<import("./proposalVotingVotes").IProposalVotingVotesProps>;
|
|
8
|
+
BodySummary: import("react").FC<import("react").PropsWithChildren<import("./proposalVotingBodySummary").IProposalVotingBodySummaryProps>>;
|
|
9
|
+
BodySummaryList: import("react").FC<import("react").PropsWithChildren<import("./proposalVotingBodySummaryList").IProposalVotingBodySummaryListProps>>;
|
|
10
|
+
BodySummaryListItem: import("react").FC<import("./proposalVotingBodySummaryListItem").IProposalVotingBodySummaryListItemProps>;
|
|
11
|
+
BodyContent: import("react").FC<import("./proposalVotingBodyContent").IProposalVotingBodyContentProps>;
|
|
12
|
+
Progress: {
|
|
13
|
+
Item: import("react").FC<import("./proposalVotingProgress").IProposalVotingProgressItemProps>;
|
|
14
|
+
Container: import("react").FC<import("./proposalVotingProgress").IProposalVotingProgressContainerProps>;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export * from './proposalVotingBodyContent';
|
|
18
|
+
export * from './proposalVotingBodySummary';
|
|
19
|
+
export * from './proposalVotingBodySummaryList';
|
|
20
|
+
export * from './proposalVotingBodySummaryListItem';
|
|
21
|
+
export * from './proposalVotingBreakdownMultisig';
|
|
22
|
+
export * from './proposalVotingBreakdownToken';
|
|
23
|
+
export * from './proposalVotingContainer';
|
|
24
|
+
export * from './proposalVotingDefinitions';
|
|
25
|
+
export * from './proposalVotingDetails';
|
|
26
|
+
export * from './proposalVotingProgress';
|
|
27
|
+
export * from './proposalVotingStage';
|
|
28
|
+
export * from './proposalVotingVotes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProposalVotingBodyContent, type IProposalVotingBodyContentProps } from './proposalVotingBodyContent';
|