@aragon/gov-ui-kit 1.14.0 → 1.15.0
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 +16 -0
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItem.api.d.ts +4 -0
- package/dist/types/src/modules/components/smartContract/smartContractFunctionDataListItem/smartContractFunctionDataListItemStructure/smartContractFunctionDataListItemStructure.d.ts +2 -3
- package/package.json +27 -27
|
@@ -22,6 +22,10 @@ export interface IProposalActionsItemProps<TAction extends IProposalAction = IPr
|
|
|
22
22
|
* Proposal action to be rendered.
|
|
23
23
|
*/
|
|
24
24
|
action: TAction;
|
|
25
|
+
/**
|
|
26
|
+
* Function selector of the action to be displayed optionally.
|
|
27
|
+
*/
|
|
28
|
+
actionFunctionSelector?: string;
|
|
25
29
|
/**
|
|
26
30
|
* Index of the action injected by the <ProposalActions.Container /> component.
|
|
27
31
|
*/
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { IProposalActionInputDataParameter } from '../../..';
|
|
2
1
|
import { type IDataListItemProps } from '../../../../../core';
|
|
3
2
|
export type ISmartContractFunctionDataListItemProps = IDataListItemProps & {
|
|
4
3
|
/**
|
|
@@ -14,9 +13,9 @@ export type ISmartContractFunctionDataListItemProps = IDataListItemProps & {
|
|
|
14
13
|
*/
|
|
15
14
|
contractAddress: string;
|
|
16
15
|
/**
|
|
17
|
-
*
|
|
16
|
+
* Function selector of the given smart contract function.
|
|
18
17
|
*/
|
|
19
|
-
|
|
18
|
+
functionSelector?: string;
|
|
20
19
|
/**
|
|
21
20
|
* Callback when function is removed.
|
|
22
21
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aragon/gov-ui-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"description": "Implementation of the Aragon's Governance UI Kit",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"types": "dist/types/src/index.d.ts",
|
|
@@ -74,10 +74,10 @@
|
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"@tailwindcss/typography": "^0.5.0",
|
|
77
|
-
"@tanstack/react-query": "^5.
|
|
77
|
+
"@tanstack/react-query": "^5.84.0",
|
|
78
78
|
"react": "^18.2.0 || ^19.0.0",
|
|
79
79
|
"react-dom": "^18.2.0 || ^19.0.0",
|
|
80
|
-
"react-hook-form": "^7.
|
|
80
|
+
"react-hook-form": "^7.62.0",
|
|
81
81
|
"tailwindcss": "^4.1.0",
|
|
82
82
|
"viem": "^2.33.0",
|
|
83
83
|
"wagmi": "^2.16.0"
|
|
@@ -95,58 +95,58 @@
|
|
|
95
95
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
96
96
|
"@rollup/plugin-terser": "^0.4.4",
|
|
97
97
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
98
|
-
"@storybook/addon-docs": "^9.
|
|
99
|
-
"@storybook/react-vite": "^9.
|
|
98
|
+
"@storybook/addon-docs": "^9.1.1",
|
|
99
|
+
"@storybook/react-vite": "^9.1.1",
|
|
100
100
|
"@svgr/rollup": "^8.1.0",
|
|
101
101
|
"@tailwindcss/postcss": "^4.1.11",
|
|
102
102
|
"@tailwindcss/typography": "^0.5.16",
|
|
103
|
-
"@tanstack/react-query": "^5.
|
|
104
|
-
"@testing-library/dom": "^10.4.
|
|
105
|
-
"@testing-library/jest-dom": "^6.6.
|
|
103
|
+
"@tanstack/react-query": "^5.84.1",
|
|
104
|
+
"@testing-library/dom": "^10.4.1",
|
|
105
|
+
"@testing-library/jest-dom": "^6.6.4",
|
|
106
106
|
"@testing-library/react": "^16.3.0",
|
|
107
107
|
"@testing-library/user-event": "^14.6.1",
|
|
108
108
|
"@types/jest": "^30.0.0",
|
|
109
|
-
"@types/luxon": "^3.
|
|
110
|
-
"@types/react": "^19.1.
|
|
111
|
-
"@types/react-dom": "^19.1.
|
|
109
|
+
"@types/luxon": "^3.7.1",
|
|
110
|
+
"@types/react": "^19.1.9",
|
|
111
|
+
"@types/react-dom": "^19.1.7",
|
|
112
112
|
"@types/sanitize-html": "^2.16.0",
|
|
113
|
-
"cross-env": "^
|
|
114
|
-
"eslint": "^9.
|
|
113
|
+
"cross-env": "^10.0.0",
|
|
114
|
+
"eslint": "^9.32.0",
|
|
115
115
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
116
116
|
"eslint-plugin-import": "^2.32.0",
|
|
117
117
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
118
118
|
"eslint-plugin-react": "^7.37.5",
|
|
119
119
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
120
|
-
"eslint-plugin-storybook": "^9.
|
|
121
|
-
"eslint-plugin-testing-library": "^7.6.
|
|
120
|
+
"eslint-plugin-storybook": "^9.1.1",
|
|
121
|
+
"eslint-plugin-testing-library": "^7.6.3",
|
|
122
122
|
"husky": "^9.1.7",
|
|
123
123
|
"jest": "^30.0.5",
|
|
124
124
|
"jest-environment-jsdom": "^30.0.5",
|
|
125
|
-
"lint-staged": "^16.1.
|
|
125
|
+
"lint-staged": "^16.1.4",
|
|
126
126
|
"postcss": "^8.5.6",
|
|
127
127
|
"postcss-loader": "^8.1.1",
|
|
128
128
|
"prettier": "^3.6.2",
|
|
129
|
-
"prettier-plugin-organize-imports": "^4.
|
|
129
|
+
"prettier-plugin-organize-imports": "^4.2.0",
|
|
130
130
|
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
131
131
|
"react": "^19.1.0",
|
|
132
132
|
"react-dom": "^19.1.0",
|
|
133
|
-
"react-hook-form": "^7.
|
|
134
|
-
"rollup": "^4.
|
|
133
|
+
"react-hook-form": "^7.61.1",
|
|
134
|
+
"rollup": "^4.46.2",
|
|
135
135
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
136
136
|
"rollup-plugin-postcss": "^4.0.2",
|
|
137
137
|
"rollup-plugin-visualizer": "^6.0.3",
|
|
138
|
-
"storybook": "^9.
|
|
138
|
+
"storybook": "^9.1.1",
|
|
139
139
|
"tailwindcss": "^4.1.11",
|
|
140
|
-
"ts-jest": "^29.4.
|
|
141
|
-
"typescript": "^5.
|
|
142
|
-
"typescript-eslint": "^8.
|
|
143
|
-
"vercel": "^44.
|
|
144
|
-
"viem": "^2.33.
|
|
145
|
-
"vite": "^7.0.
|
|
140
|
+
"ts-jest": "^29.4.1",
|
|
141
|
+
"typescript": "^5.9.2",
|
|
142
|
+
"typescript-eslint": "^8.39.0",
|
|
143
|
+
"vercel": "^44.7.2",
|
|
144
|
+
"viem": "^2.33.2",
|
|
145
|
+
"vite": "^7.0.6",
|
|
146
146
|
"vite-plugin-node-polyfills": "^0.24.0",
|
|
147
147
|
"vite-plugin-static-copy": "^3.1.1",
|
|
148
148
|
"vite-plugin-svgr": "^4.3.0",
|
|
149
|
-
"wagmi": "^2.16.
|
|
149
|
+
"wagmi": "^2.16.1"
|
|
150
150
|
},
|
|
151
151
|
"bugs": {
|
|
152
152
|
"url": "https://github.com/aragon/gov-ui-kit/issues"
|