@aragon/gov-ui-kit 1.0.68 → 1.0.69
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 +9 -0
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsFooter/proposalActionsFooter.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItem.api.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsRoot/proposalActionsRoot.d.ts +8 -0
- package/package.json +19 -19
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react';
|
|
2
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[];
|
|
3
7
|
}
|
|
4
8
|
export declare const ProposalActionsFooter: React.FC<IProposalActionsFooterProps>;
|
|
@@ -26,6 +26,10 @@ export interface IProposalActionsItemProps<TAction extends IProposalAction = IPr
|
|
|
26
26
|
* Index of the action injected by the <ProposalActions.Container /> component.
|
|
27
27
|
*/
|
|
28
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;
|
|
29
33
|
/**
|
|
30
34
|
* Custom component for the action to be rendered on BASIC view.
|
|
31
35
|
*/
|
|
@@ -7,5 +7,13 @@ export interface IProposalActionsRootProps extends ComponentProps<'div'> {
|
|
|
7
7
|
* @default 0
|
|
8
8
|
*/
|
|
9
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;
|
|
10
18
|
}
|
|
11
19
|
export declare const ProposalActionsRoot: React.FC<IProposalActionsRootProps>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aragon/gov-ui-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.69",
|
|
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,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"@tailwindcss/typography": "^0.5.0",
|
|
77
|
-
"@tanstack/react-query": "^5.
|
|
77
|
+
"@tanstack/react-query": "^5.67.0",
|
|
78
78
|
"react": "^18.2.0 || ^19.0.0",
|
|
79
79
|
"react-dom": "^18.2.0 || ^19.0.0",
|
|
80
80
|
"react-hook-form": "^7.54.0",
|
|
@@ -94,18 +94,18 @@
|
|
|
94
94
|
"@rollup/plugin-terser": "^0.4.4",
|
|
95
95
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
96
96
|
"@storybook/addon-designs": "^8.2.0",
|
|
97
|
-
"@storybook/addon-essentials": "^8.
|
|
98
|
-
"@storybook/addon-links": "^8.
|
|
97
|
+
"@storybook/addon-essentials": "^8.6.3",
|
|
98
|
+
"@storybook/addon-links": "^8.6.3",
|
|
99
99
|
"@storybook/addon-styling-webpack": "^1.0.1",
|
|
100
100
|
"@storybook/addon-webpack5-compiler-babel": "^3.0.5",
|
|
101
|
-
"@storybook/blocks": "^8.
|
|
102
|
-
"@storybook/react": "^8.
|
|
103
|
-
"@storybook/react-webpack5": "^8.
|
|
104
|
-
"@storybook/test": "^8.
|
|
101
|
+
"@storybook/blocks": "^8.6.3",
|
|
102
|
+
"@storybook/react": "^8.6.3",
|
|
103
|
+
"@storybook/react-webpack5": "^8.6.3",
|
|
104
|
+
"@storybook/test": "^8.6.3",
|
|
105
105
|
"@svgr/rollup": "^8.1.0",
|
|
106
106
|
"@svgr/webpack": "^8.1.0",
|
|
107
107
|
"@tailwindcss/typography": "^0.5.16",
|
|
108
|
-
"@tanstack/react-query": "^5.
|
|
108
|
+
"@tanstack/react-query": "^5.67.0",
|
|
109
109
|
"@testing-library/dom": "^10.4.0",
|
|
110
110
|
"@testing-library/jest-dom": "^6.6.3",
|
|
111
111
|
"@testing-library/react": "^16.2.0",
|
|
@@ -117,12 +117,12 @@
|
|
|
117
117
|
"@types/sanitize-html": "^2.13.0",
|
|
118
118
|
"autoprefixer": "^10.4.20",
|
|
119
119
|
"cross-env": "^7.0.3",
|
|
120
|
-
"eslint": "^9.
|
|
120
|
+
"eslint": "^9.21.0",
|
|
121
121
|
"eslint-import-resolver-typescript": "^3.8.3",
|
|
122
122
|
"eslint-plugin-import": "^2.31.0",
|
|
123
123
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
124
124
|
"eslint-plugin-react": "^7.37.4",
|
|
125
|
-
"eslint-plugin-react-hooks": "^5.
|
|
125
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
126
126
|
"eslint-plugin-storybook": "^0.11.3",
|
|
127
127
|
"eslint-plugin-tailwindcss": "^3.18.0",
|
|
128
128
|
"eslint-plugin-testing-library": "^7.1.1",
|
|
@@ -132,23 +132,23 @@
|
|
|
132
132
|
"lint-staged": "^15.4.3",
|
|
133
133
|
"postcss": "^8.5.3",
|
|
134
134
|
"postcss-loader": "^8.1.1",
|
|
135
|
-
"prettier": "^3.5.
|
|
135
|
+
"prettier": "^3.5.3",
|
|
136
136
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
137
137
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
138
138
|
"react": "^19.0.0",
|
|
139
139
|
"react-dom": "^19.0.0",
|
|
140
140
|
"react-hook-form": "^7.54.2",
|
|
141
|
-
"rollup": "^4.34.
|
|
141
|
+
"rollup": "^4.34.9",
|
|
142
142
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
143
143
|
"rollup-plugin-postcss": "^4.0.2",
|
|
144
144
|
"rollup-plugin-visualizer": "^5.14.0",
|
|
145
|
-
"storybook": "^8.
|
|
145
|
+
"storybook": "^8.6.3",
|
|
146
146
|
"tailwindcss": "^3.4.17",
|
|
147
|
-
"ts-jest": "^29.2.
|
|
148
|
-
"typescript": "^5.
|
|
149
|
-
"typescript-eslint": "^8.
|
|
150
|
-
"viem": "^2.23.
|
|
151
|
-
"wagmi": "^2.14.
|
|
147
|
+
"ts-jest": "^29.2.6",
|
|
148
|
+
"typescript": "^5.8.2",
|
|
149
|
+
"typescript-eslint": "^8.25.0",
|
|
150
|
+
"viem": "^2.23.5",
|
|
151
|
+
"wagmi": "^2.14.12"
|
|
152
152
|
},
|
|
153
153
|
"bugs": {
|
|
154
154
|
"url": "https://github.com/aragon/gov-ui-kit/issues"
|