@aragon/gov-ui-kit 1.7.0 → 1.9.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 +46 -2
- package/build.css +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/types/.storybook/main.d.ts +1 -1
- package/dist/types/.storybook/preview.d.ts +1 -1
- package/dist/types/.storybook/theme.d.ts +1 -1
- package/dist/types/src/core/components/dataList/dataListItem/dataListItem.d.ts +2 -2
- package/dist/types/src/core/components/icon/iconType.d.ts +1 -0
- package/dist/types/src/modules/assets/copy/modulesCopy.d.ts +1 -0
- package/dist/types/src/modules/components/address/addressInput/addressInput.d.ts +5 -0
- package/package.json +52 -54
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("storybook/theming").ThemeVars;
|
|
2
2
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type AnchorHTMLAttributes, type ButtonHTMLAttributes } from 'react';
|
|
2
|
-
export type IDataListItemProps = ButtonHTMLAttributes<HTMLButtonElement> | AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
1
|
+
import { type AnchorHTMLAttributes, type ButtonHTMLAttributes, type HTMLAttributes } from 'react';
|
|
2
|
+
export type IDataListItemProps = ButtonHTMLAttributes<HTMLButtonElement> | AnchorHTMLAttributes<HTMLAnchorElement> | HTMLAttributes<HTMLDivElement>;
|
|
3
3
|
export declare const DataListItem: React.FC<IDataListItemProps>;
|
|
@@ -25,5 +25,10 @@ export interface IAddressInputProps extends Omit<IInputComponentProps<HTMLTextAr
|
|
|
25
25
|
* valid address nor a valid ens name.
|
|
26
26
|
*/
|
|
27
27
|
onAccept?: (value?: IAddressInputResolvedValue) => void;
|
|
28
|
+
/**
|
|
29
|
+
* Require an address to pass EIP-55 checksum validation.
|
|
30
|
+
* @default true
|
|
31
|
+
*/
|
|
32
|
+
enforceChecksum?: boolean;
|
|
28
33
|
}
|
|
29
34
|
export declare const AddressInput: import("react").ForwardRefExoticComponent<IAddressInputProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aragon/gov-ui-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.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",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@radix-ui/react-accordion": "^1.2.0",
|
|
44
44
|
"@radix-ui/react-alert-dialog": "^1.1.0",
|
|
45
45
|
"@radix-ui/react-avatar": "^1.1.0",
|
|
46
|
-
"@radix-ui/react-checkbox": "^1.
|
|
46
|
+
"@radix-ui/react-checkbox": "^1.3.0",
|
|
47
47
|
"@radix-ui/react-dialog": "^1.1.0",
|
|
48
48
|
"@radix-ui/react-dropdown-menu": "^2.1.0",
|
|
49
49
|
"@radix-ui/react-focus-scope": "^1.1.0",
|
|
@@ -54,17 +54,18 @@
|
|
|
54
54
|
"@radix-ui/react-toggle-group": "^1.1.0",
|
|
55
55
|
"@radix-ui/react-tooltip": "^1.2.0",
|
|
56
56
|
"@radix-ui/react-visually-hidden": "^1.2.0",
|
|
57
|
-
"@tiptap/
|
|
58
|
-
"@tiptap/extension-
|
|
59
|
-
"@tiptap/extension-
|
|
60
|
-
"@tiptap/extension-
|
|
61
|
-
"@tiptap/extension-
|
|
62
|
-
"@tiptap/
|
|
63
|
-
"@tiptap/
|
|
64
|
-
"@tiptap/
|
|
57
|
+
"@tiptap/core": "^2.23.0",
|
|
58
|
+
"@tiptap/extension-code-block": "^2.23.0",
|
|
59
|
+
"@tiptap/extension-image": "^2.23.0",
|
|
60
|
+
"@tiptap/extension-link": "^2.23.0",
|
|
61
|
+
"@tiptap/extension-placeholder": "^2.23.0",
|
|
62
|
+
"@tiptap/extension-text-style": "^2.23.0",
|
|
63
|
+
"@tiptap/pm": "^2.23.0",
|
|
64
|
+
"@tiptap/react": "^2.23.0",
|
|
65
|
+
"@tiptap/starter-kit": "^2.23.0",
|
|
65
66
|
"blockies-ts": "^1.0.0",
|
|
66
67
|
"classnames": "^2.5.0",
|
|
67
|
-
"framer-motion": "^12.
|
|
68
|
+
"framer-motion": "^12.19.0",
|
|
68
69
|
"luxon": "^3.6.0",
|
|
69
70
|
"react-dropzone": "^14.3.0",
|
|
70
71
|
"react-imask": "^7.6.0",
|
|
@@ -73,82 +74,79 @@
|
|
|
73
74
|
},
|
|
74
75
|
"peerDependencies": {
|
|
75
76
|
"@tailwindcss/typography": "^0.5.0",
|
|
76
|
-
"@tanstack/react-query": "^5.
|
|
77
|
+
"@tanstack/react-query": "^5.81.0",
|
|
77
78
|
"react": "^18.2.0 || ^19.0.0",
|
|
78
79
|
"react-dom": "^18.2.0 || ^19.0.0",
|
|
79
|
-
"react-hook-form": "^7.
|
|
80
|
+
"react-hook-form": "^7.58.0",
|
|
80
81
|
"tailwindcss": "^4.1.0",
|
|
81
|
-
"viem": "^2.
|
|
82
|
+
"viem": "^2.31.0",
|
|
82
83
|
"wagmi": "^2.15.0"
|
|
83
84
|
},
|
|
84
85
|
"devDependencies": {
|
|
85
|
-
"@babel/core": "^7.27.
|
|
86
|
+
"@babel/core": "^7.27.7",
|
|
86
87
|
"@babel/preset-env": "^7.27.2",
|
|
87
88
|
"@babel/preset-react": "^7.27.1",
|
|
88
89
|
"@babel/preset-typescript": "^7.27.1",
|
|
89
90
|
"@changesets/changelog-github": "^0.5.1",
|
|
90
|
-
"@changesets/cli": "^2.29.
|
|
91
|
+
"@changesets/cli": "^2.29.5",
|
|
91
92
|
"@hookform/devtools": "^4.4.0",
|
|
92
|
-
"@rollup/plugin-commonjs": "^28.0.
|
|
93
|
+
"@rollup/plugin-commonjs": "^28.0.6",
|
|
93
94
|
"@rollup/plugin-image": "^3.0.3",
|
|
94
95
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
95
96
|
"@rollup/plugin-terser": "^0.4.4",
|
|
96
|
-
"@rollup/plugin-typescript": "^12.1.
|
|
97
|
-
"@storybook/addon-
|
|
98
|
-
"@storybook/
|
|
99
|
-
"@storybook/addon-styling-webpack": "^1.0.1",
|
|
100
|
-
"@storybook/addon-webpack5-compiler-babel": "^3.0.6",
|
|
101
|
-
"@storybook/blocks": "^8.6.14",
|
|
102
|
-
"@storybook/react": "^8.6.14",
|
|
103
|
-
"@storybook/react-webpack5": "^8.6.14",
|
|
104
|
-
"@storybook/test": "^8.6.14",
|
|
97
|
+
"@rollup/plugin-typescript": "^12.1.4",
|
|
98
|
+
"@storybook/addon-docs": "^9.0.15",
|
|
99
|
+
"@storybook/react-vite": "^9.0.15",
|
|
105
100
|
"@svgr/rollup": "^8.1.0",
|
|
106
|
-
"@
|
|
107
|
-
"@tailwindcss/postcss": "^4.1.7",
|
|
101
|
+
"@tailwindcss/postcss": "^4.1.11",
|
|
108
102
|
"@tailwindcss/typography": "^0.5.16",
|
|
109
|
-
"@tanstack/react-query": "^5.
|
|
103
|
+
"@tanstack/react-query": "^5.81.5",
|
|
110
104
|
"@testing-library/dom": "^10.4.0",
|
|
111
105
|
"@testing-library/jest-dom": "^6.6.3",
|
|
112
106
|
"@testing-library/react": "^16.3.0",
|
|
113
107
|
"@testing-library/user-event": "^14.6.1",
|
|
114
|
-
"@types/jest": "^
|
|
108
|
+
"@types/jest": "^30.0.0",
|
|
115
109
|
"@types/luxon": "^3.6.2",
|
|
116
|
-
"@types/react": "^19.1.
|
|
117
|
-
"@types/react-dom": "^19.1.
|
|
110
|
+
"@types/react": "^19.1.8",
|
|
111
|
+
"@types/react-dom": "^19.1.6",
|
|
118
112
|
"@types/sanitize-html": "^2.16.0",
|
|
119
113
|
"cross-env": "^7.0.3",
|
|
120
|
-
"eslint": "^9.
|
|
121
|
-
"eslint-import-resolver-typescript": "^4.4.
|
|
122
|
-
"eslint-plugin-import": "^2.
|
|
114
|
+
"eslint": "^9.30.0",
|
|
115
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
116
|
+
"eslint-plugin-import": "^2.32.0",
|
|
123
117
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
124
118
|
"eslint-plugin-react": "^7.37.5",
|
|
125
119
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
126
|
-
"eslint-plugin-storybook": "^0.
|
|
127
|
-
"eslint-plugin-testing-library": "^7.
|
|
120
|
+
"eslint-plugin-storybook": "^9.0.15",
|
|
121
|
+
"eslint-plugin-testing-library": "^7.5.3",
|
|
128
122
|
"husky": "^9.1.7",
|
|
129
|
-
"jest": "^
|
|
130
|
-
"jest-environment-jsdom": "^
|
|
131
|
-
"lint-staged": "^16.
|
|
132
|
-
"postcss": "^8.5.
|
|
123
|
+
"jest": "^30.0.3",
|
|
124
|
+
"jest-environment-jsdom": "^30.0.2",
|
|
125
|
+
"lint-staged": "^16.1.2",
|
|
126
|
+
"postcss": "^8.5.6",
|
|
133
127
|
"postcss-loader": "^8.1.1",
|
|
134
|
-
"prettier": "^3.
|
|
128
|
+
"prettier": "^3.6.2",
|
|
135
129
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
136
|
-
"prettier-plugin-tailwindcss": "^0.6.
|
|
130
|
+
"prettier-plugin-tailwindcss": "^0.6.13",
|
|
137
131
|
"react": "^19.1.0",
|
|
138
132
|
"react-dom": "^19.1.0",
|
|
139
|
-
"react-hook-form": "^7.
|
|
140
|
-
"rollup": "^4.
|
|
133
|
+
"react-hook-form": "^7.58.1",
|
|
134
|
+
"rollup": "^4.44.1",
|
|
141
135
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
142
136
|
"rollup-plugin-postcss": "^4.0.2",
|
|
143
|
-
"rollup-plugin-visualizer": "^6.0.
|
|
144
|
-
"storybook": "^
|
|
145
|
-
"tailwindcss": "^4.1.
|
|
146
|
-
"ts-jest": "^29.
|
|
137
|
+
"rollup-plugin-visualizer": "^6.0.3",
|
|
138
|
+
"storybook": "^9.0.15",
|
|
139
|
+
"tailwindcss": "^4.1.10",
|
|
140
|
+
"ts-jest": "^29.4.0",
|
|
147
141
|
"typescript": "^5.8.3",
|
|
148
|
-
"typescript-eslint": "^8.
|
|
149
|
-
"vercel": "^
|
|
150
|
-
"viem": "^2.
|
|
151
|
-
"
|
|
142
|
+
"typescript-eslint": "^8.35.1",
|
|
143
|
+
"vercel": "^44.2.7",
|
|
144
|
+
"viem": "^2.31.4",
|
|
145
|
+
"vite": "^7.0.0",
|
|
146
|
+
"vite-plugin-node-polyfills": "^0.23.0",
|
|
147
|
+
"vite-plugin-static-copy": "^3.1.0",
|
|
148
|
+
"vite-plugin-svgr": "^4.3.0",
|
|
149
|
+
"wagmi": "^2.15.6"
|
|
152
150
|
},
|
|
153
151
|
"bugs": {
|
|
154
152
|
"url": "https://github.com/aragon/gov-ui-kit/issues"
|
|
@@ -165,5 +163,5 @@
|
|
|
165
163
|
"./index.css": "./index.css",
|
|
166
164
|
"./build.css": "./build.css"
|
|
167
165
|
},
|
|
168
|
-
"packageManager": "yarn@4.9.
|
|
166
|
+
"packageManager": "yarn@4.9.2"
|
|
169
167
|
}
|