@aragon/gov-ui-kit 1.27.0 → 1.27.1
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/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDefinitions.d.ts +10 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItem.d.ts +1 -1
- package/package.json +1 -1
package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDefinitions.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { ComponentType } from 'react';
|
|
2
2
|
import type { IWeb3ComponentProps } from '../../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Proposal action types for which the basic view is available.
|
|
5
|
+
*/
|
|
3
6
|
export declare enum ProposalActionType {
|
|
4
7
|
WITHDRAW_TOKEN = "WITHDRAW_TOKEN",
|
|
5
8
|
ADD_MEMBERS = "ADD_MEMBERS",
|
|
@@ -10,6 +13,13 @@ export declare enum ProposalActionType {
|
|
|
10
13
|
CHANGE_SETTINGS_TOKENVOTE = "CHANGE_SETTINGS_TOKENVOTE",
|
|
11
14
|
UPDATE_PLUGIN_METADATA = "UPDATE_PLUGIN_METADATA"
|
|
12
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* Proposal action types for which the basic view is NOT available.
|
|
18
|
+
* This is not a list of all available types, but only the ones that are relevant in ui-kit context.
|
|
19
|
+
*/
|
|
20
|
+
export declare enum ProposalActionTypeNoBasicView {
|
|
21
|
+
RAW_CALLDATA = "RAW_CALLDATA"
|
|
22
|
+
}
|
|
13
23
|
export interface IProposalActionInputDataParameter {
|
|
14
24
|
/**
|
|
15
25
|
* The name of the parameter being passed.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type IProposalAction } from '../proposalActionsDefinitions';
|
|
2
2
|
import type { IProposalActionsItemProps } from './proposalActionsItem.api';
|
|
3
3
|
/**
|
|
4
4
|
* The `<ProposalActions.Item />` component supports multiple view modes depending if the action supports a basic view
|