@aragon/gov-ui-kit 1.0.60 → 1.0.62
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 +28 -0
- package/build.css +2 -2
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- 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/src/core/components/avatars/avatar/avatar.d.ts +0 -3
- package/dist/types/src/modules/components/asset/assetTransfer/assetTransfer.d.ts +4 -4
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsList/proposalActionWithdrawToken/proposalActionWithdrawToken.api.d.ts +4 -0
- package/dist/types/src/modules/components/transaction/transactionDataListItem/transactionDataListItemStructure/transactionDataListItemStructure.api.d.ts +2 -2
- package/package.json +31 -33
- package/src/core/components/index.css +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DocsPage: React.FC;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DocsPage } from './docsPage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { StyleBlock, type ICustomisationDoc } from './styleBlock';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface ICustomisationDoc {
|
|
2
|
+
/**
|
|
3
|
+
* Name of the variable.
|
|
4
|
+
*/
|
|
5
|
+
name: string;
|
|
6
|
+
/**
|
|
7
|
+
* Description of the variable.
|
|
8
|
+
*/
|
|
9
|
+
description?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Default value of the variable.
|
|
12
|
+
*/
|
|
13
|
+
value: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const StyleBlock: React.FC;
|
|
@@ -12,6 +12,10 @@ export interface IAssetTransferProps extends IWeb3ComponentProps {
|
|
|
12
12
|
* Name of the asset transferred.
|
|
13
13
|
*/
|
|
14
14
|
assetName: string;
|
|
15
|
+
/**
|
|
16
|
+
* Address of the asset transferred.
|
|
17
|
+
*/
|
|
18
|
+
assetAddress?: string;
|
|
15
19
|
/**
|
|
16
20
|
* Icon URL of the transferred asset.
|
|
17
21
|
*/
|
|
@@ -28,9 +32,5 @@ export interface IAssetTransferProps extends IWeb3ComponentProps {
|
|
|
28
32
|
* Price per asset in fiat.
|
|
29
33
|
*/
|
|
30
34
|
assetFiatPrice?: number | string;
|
|
31
|
-
/**
|
|
32
|
-
* Transaction hash.
|
|
33
|
-
*/
|
|
34
|
-
hash: string;
|
|
35
35
|
}
|
|
36
36
|
export declare const AssetTransfer: React.FC<IAssetTransferProps>;
|
|
@@ -24,9 +24,9 @@ export type ITransactionDataListItemProps = IDataListItemProps & {
|
|
|
24
24
|
*/
|
|
25
25
|
tokenAmount?: number | string;
|
|
26
26
|
/**
|
|
27
|
-
* The price of the
|
|
27
|
+
* The price of the transaction in USD.
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
amountUsd?: number | string;
|
|
30
30
|
/**
|
|
31
31
|
* The type of transaction.
|
|
32
32
|
* @default TransactionType.ACTION
|
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.62",
|
|
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",
|
|
@@ -26,8 +26,7 @@
|
|
|
26
26
|
"lint:fix": "eslint . --fix",
|
|
27
27
|
"prettify": "prettier . --check",
|
|
28
28
|
"prettify:fix": "prettier . --write",
|
|
29
|
-
"type-check": "tsc --noemit"
|
|
30
|
-
"deploy:storybook": "storybook-to-ghpages"
|
|
29
|
+
"type-check": "tsc --noemit"
|
|
31
30
|
},
|
|
32
31
|
"repository": {
|
|
33
32
|
"type": "git",
|
|
@@ -56,21 +55,21 @@
|
|
|
56
55
|
"@radix-ui/react-toggle-group": "^1.1.0",
|
|
57
56
|
"@radix-ui/react-tooltip": "^1.1.0",
|
|
58
57
|
"@radix-ui/react-visually-hidden": "^1.1.0",
|
|
59
|
-
"@tiptap/extension-code-block": "^2.
|
|
60
|
-
"@tiptap/extension-image": "^2.
|
|
61
|
-
"@tiptap/extension-link": "^2.
|
|
62
|
-
"@tiptap/extension-placeholder": "^2.
|
|
63
|
-
"@tiptap/extension-text-style": "^2.
|
|
64
|
-
"@tiptap/pm": "^2.
|
|
65
|
-
"@tiptap/react": "^2.
|
|
66
|
-
"@tiptap/starter-kit": "^2.
|
|
58
|
+
"@tiptap/extension-code-block": "^2.11.0",
|
|
59
|
+
"@tiptap/extension-image": "^2.11.0",
|
|
60
|
+
"@tiptap/extension-link": "^2.11.0",
|
|
61
|
+
"@tiptap/extension-placeholder": "^2.11.0",
|
|
62
|
+
"@tiptap/extension-text-style": "^2.11.0",
|
|
63
|
+
"@tiptap/pm": "^2.11.0",
|
|
64
|
+
"@tiptap/react": "^2.11.0",
|
|
65
|
+
"@tiptap/starter-kit": "^2.11.0",
|
|
67
66
|
"blockies-ts": "^1.0.0",
|
|
68
|
-
"classnames": "^2.
|
|
69
|
-
"framer-motion": "^11.
|
|
67
|
+
"classnames": "^2.5.0",
|
|
68
|
+
"framer-motion": "^11.16.0",
|
|
70
69
|
"luxon": "^3.5.0",
|
|
71
70
|
"react-dropzone": "^14.3.0",
|
|
72
|
-
"react-imask": "^7.6.
|
|
73
|
-
"sanitize-html": "^2.
|
|
71
|
+
"react-imask": "^7.6.0",
|
|
72
|
+
"sanitize-html": "^2.14.0",
|
|
74
73
|
"tiptap-markdown": "^0.8.10"
|
|
75
74
|
},
|
|
76
75
|
"peerDependencies": {
|
|
@@ -88,7 +87,7 @@
|
|
|
88
87
|
"@babel/preset-env": "^7.26.0",
|
|
89
88
|
"@babel/preset-react": "^7.26.3",
|
|
90
89
|
"@babel/preset-typescript": "^7.26.0",
|
|
91
|
-
"@hookform/devtools": "^4.3.
|
|
90
|
+
"@hookform/devtools": "^4.3.3",
|
|
92
91
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
93
92
|
"@rollup/plugin-image": "^3.0.3",
|
|
94
93
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
@@ -98,23 +97,22 @@
|
|
|
98
97
|
"@storybook/addon-essentials": "^8.4.7",
|
|
99
98
|
"@storybook/addon-links": "^8.4.7",
|
|
100
99
|
"@storybook/addon-styling-webpack": "^1.0.1",
|
|
101
|
-
"@storybook/addon-webpack5-compiler-babel": "^3.0.
|
|
100
|
+
"@storybook/addon-webpack5-compiler-babel": "^3.0.5",
|
|
102
101
|
"@storybook/blocks": "^8.4.7",
|
|
103
102
|
"@storybook/react": "^8.4.7",
|
|
104
103
|
"@storybook/react-webpack5": "^8.4.7",
|
|
105
|
-
"@storybook/storybook-deployer": "^2.8.16",
|
|
106
104
|
"@svgr/rollup": "^8.1.0",
|
|
107
105
|
"@svgr/webpack": "^8.1.0",
|
|
108
106
|
"@tailwindcss/typography": "^0.5.15",
|
|
109
|
-
"@tanstack/react-query": "^5.62.
|
|
107
|
+
"@tanstack/react-query": "^5.62.16",
|
|
110
108
|
"@testing-library/dom": "^10.4.0",
|
|
111
109
|
"@testing-library/jest-dom": "^6.6.3",
|
|
112
110
|
"@testing-library/react": "^16.1.0",
|
|
113
111
|
"@testing-library/user-event": "^14.5.2",
|
|
114
112
|
"@types/jest": "^29.5.14",
|
|
115
113
|
"@types/luxon": "^3.4.2",
|
|
116
|
-
"@types/react": "^19.0.
|
|
117
|
-
"@types/react-dom": "^19.0.
|
|
114
|
+
"@types/react": "^19.0.3",
|
|
115
|
+
"@types/react-dom": "^19.0.2",
|
|
118
116
|
"@types/sanitize-html": "^2.13.0",
|
|
119
117
|
"autoprefixer": "^10.4.20",
|
|
120
118
|
"cross-env": "^7.0.3",
|
|
@@ -122,34 +120,34 @@
|
|
|
122
120
|
"eslint-import-resolver-typescript": "^3.7.0",
|
|
123
121
|
"eslint-plugin-import": "^2.31.0",
|
|
124
122
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
125
|
-
"eslint-plugin-react": "^7.37.
|
|
123
|
+
"eslint-plugin-react": "^7.37.3",
|
|
126
124
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
127
|
-
"eslint-plugin-storybook": "^0.11.
|
|
125
|
+
"eslint-plugin-storybook": "^0.11.2",
|
|
128
126
|
"eslint-plugin-tailwindcss": "^3.17.5",
|
|
129
127
|
"eslint-plugin-testing-library": "^7.1.1",
|
|
130
128
|
"husky": "^9.1.7",
|
|
131
129
|
"jest": "^29.7.0",
|
|
132
130
|
"jest-environment-jsdom": "^29.7.0",
|
|
133
|
-
"lint-staged": "^15.
|
|
134
|
-
"postcss": "^8.4.
|
|
131
|
+
"lint-staged": "^15.3.0",
|
|
132
|
+
"postcss": "^8.4.49",
|
|
135
133
|
"postcss-loader": "^8.1.1",
|
|
136
134
|
"prettier": "^3.4.2",
|
|
137
135
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
138
136
|
"prettier-plugin-tailwindcss": "^0.6.9",
|
|
139
137
|
"react": "^19.0.0",
|
|
140
138
|
"react-dom": "^19.0.0",
|
|
141
|
-
"react-hook-form": "^7.54.
|
|
142
|
-
"rollup": "^4.
|
|
139
|
+
"react-hook-form": "^7.54.2",
|
|
140
|
+
"rollup": "^4.30.0",
|
|
143
141
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
144
142
|
"rollup-plugin-postcss": "^4.0.2",
|
|
145
|
-
"rollup-plugin-visualizer": "^5.
|
|
143
|
+
"rollup-plugin-visualizer": "^5.14.0",
|
|
146
144
|
"storybook": "^8.4.7",
|
|
147
|
-
"tailwindcss": "^3.4.
|
|
145
|
+
"tailwindcss": "^3.4.17",
|
|
148
146
|
"ts-jest": "^29.2.5",
|
|
149
147
|
"typescript": "^5.7.2",
|
|
150
|
-
"typescript-eslint": "^8.
|
|
151
|
-
"viem": "^2.
|
|
152
|
-
"wagmi": "^2.14.
|
|
148
|
+
"typescript-eslint": "^8.19.1",
|
|
149
|
+
"viem": "^2.22.3",
|
|
150
|
+
"wagmi": "^2.14.6"
|
|
153
151
|
},
|
|
154
152
|
"bugs": {
|
|
155
153
|
"url": "https://github.com/aragon/gov-ui-kit/issues"
|
|
@@ -167,5 +165,5 @@
|
|
|
167
165
|
"./build.css": "./build.css",
|
|
168
166
|
"./tailwind.config": "./tailwind.config.js"
|
|
169
167
|
},
|
|
170
|
-
"packageManager": "yarn@4.
|
|
168
|
+
"packageManager": "yarn@4.6.0"
|
|
171
169
|
}
|