@aragon/gov-ui-kit 1.8.0 → 1.10.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 +26 -2
- package/build.css +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/types/src/core/components/collapsible/collapsible.api.d.ts +5 -6
- package/dist/types/src/core/components/collapsible/index.d.ts +1 -1
- 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 +38 -38
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { type ComponentProps } from 'react';
|
|
2
|
-
export type CollapsedSize = 'sm' | 'md' | 'lg';
|
|
3
2
|
export interface ICollapsibleProps extends Omit<ComponentProps<'div'>, 'onToggle'> {
|
|
4
3
|
/**
|
|
5
|
-
*
|
|
6
|
-
* @default
|
|
4
|
+
* Number of text lines to show while collapsed.
|
|
5
|
+
* @default 3
|
|
7
6
|
*/
|
|
8
|
-
|
|
7
|
+
collapsedLines?: number;
|
|
9
8
|
/**
|
|
10
|
-
*
|
|
9
|
+
* Exact pixel height for the collapsible container that will override collapsedLines prop if defined.
|
|
11
10
|
*/
|
|
12
|
-
|
|
11
|
+
collapsedPixels?: number;
|
|
13
12
|
/**
|
|
14
13
|
* Controlled state of the collapsible container.
|
|
15
14
|
* @default false
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Collapsible } from './collapsible';
|
|
2
|
-
export { type
|
|
2
|
+
export { type ICollapsibleProps } from './collapsible.api';
|
|
@@ -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.10.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,18 +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/core": "^2.
|
|
58
|
-
"@tiptap/extension-code-block": "^2.
|
|
59
|
-
"@tiptap/extension-image": "^2.
|
|
60
|
-
"@tiptap/extension-link": "^2.
|
|
61
|
-
"@tiptap/extension-placeholder": "^2.
|
|
62
|
-
"@tiptap/extension-text-style": "^2.
|
|
63
|
-
"@tiptap/pm": "^2.
|
|
64
|
-
"@tiptap/react": "^2.
|
|
65
|
-
"@tiptap/starter-kit": "^2.
|
|
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",
|
|
66
66
|
"blockies-ts": "^1.0.0",
|
|
67
67
|
"classnames": "^2.5.0",
|
|
68
|
-
"framer-motion": "^12.
|
|
68
|
+
"framer-motion": "^12.19.0",
|
|
69
69
|
"luxon": "^3.6.0",
|
|
70
70
|
"react-dropzone": "^14.3.0",
|
|
71
71
|
"react-imask": "^7.6.0",
|
|
@@ -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.81.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.58.0",
|
|
@@ -83,24 +83,24 @@
|
|
|
83
83
|
"wagmi": "^2.15.0"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@babel/core": "^7.27.
|
|
86
|
+
"@babel/core": "^7.27.7",
|
|
87
87
|
"@babel/preset-env": "^7.27.2",
|
|
88
88
|
"@babel/preset-react": "^7.27.1",
|
|
89
89
|
"@babel/preset-typescript": "^7.27.1",
|
|
90
90
|
"@changesets/changelog-github": "^0.5.1",
|
|
91
|
-
"@changesets/cli": "^2.29.
|
|
91
|
+
"@changesets/cli": "^2.29.5",
|
|
92
92
|
"@hookform/devtools": "^4.4.0",
|
|
93
|
-
"@rollup/plugin-commonjs": "^28.0.
|
|
93
|
+
"@rollup/plugin-commonjs": "^28.0.6",
|
|
94
94
|
"@rollup/plugin-image": "^3.0.3",
|
|
95
95
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
96
96
|
"@rollup/plugin-terser": "^0.4.4",
|
|
97
|
-
"@rollup/plugin-typescript": "^12.1.
|
|
98
|
-
"@storybook/addon-docs": "^9.0.
|
|
99
|
-
"@storybook/react-vite": "^9.0.
|
|
97
|
+
"@rollup/plugin-typescript": "^12.1.4",
|
|
98
|
+
"@storybook/addon-docs": "^9.0.15",
|
|
99
|
+
"@storybook/react-vite": "^9.0.15",
|
|
100
100
|
"@svgr/rollup": "^8.1.0",
|
|
101
|
-
"@tailwindcss/postcss": "^4.1.
|
|
101
|
+
"@tailwindcss/postcss": "^4.1.11",
|
|
102
102
|
"@tailwindcss/typography": "^0.5.16",
|
|
103
|
-
"@tanstack/react-query": "^5.
|
|
103
|
+
"@tanstack/react-query": "^5.81.5",
|
|
104
104
|
"@testing-library/dom": "^10.4.0",
|
|
105
105
|
"@testing-library/jest-dom": "^6.6.3",
|
|
106
106
|
"@testing-library/react": "^16.3.0",
|
|
@@ -111,40 +111,40 @@
|
|
|
111
111
|
"@types/react-dom": "^19.1.6",
|
|
112
112
|
"@types/sanitize-html": "^2.16.0",
|
|
113
113
|
"cross-env": "^7.0.3",
|
|
114
|
-
"eslint": "^9.
|
|
115
|
-
"eslint-import-resolver-typescript": "^4.4.
|
|
116
|
-
"eslint-plugin-import": "^2.
|
|
114
|
+
"eslint": "^9.30.0",
|
|
115
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
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.0.
|
|
120
|
+
"eslint-plugin-storybook": "^9.0.15",
|
|
121
121
|
"eslint-plugin-testing-library": "^7.5.3",
|
|
122
122
|
"husky": "^9.1.7",
|
|
123
|
-
"jest": "^30.0.
|
|
124
|
-
"jest-environment-jsdom": "^30.0.
|
|
123
|
+
"jest": "^30.0.3",
|
|
124
|
+
"jest-environment-jsdom": "^30.0.2",
|
|
125
125
|
"lint-staged": "^16.1.2",
|
|
126
126
|
"postcss": "^8.5.6",
|
|
127
127
|
"postcss-loader": "^8.1.1",
|
|
128
|
-
"prettier": "^3.
|
|
128
|
+
"prettier": "^3.6.2",
|
|
129
129
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
130
|
-
"prettier-plugin-tailwindcss": "^0.6.
|
|
130
|
+
"prettier-plugin-tailwindcss": "^0.6.13",
|
|
131
131
|
"react": "^19.1.0",
|
|
132
132
|
"react-dom": "^19.1.0",
|
|
133
|
-
"react-hook-form": "^7.58.
|
|
134
|
-
"rollup": "^4.
|
|
133
|
+
"react-hook-form": "^7.58.1",
|
|
134
|
+
"rollup": "^4.44.1",
|
|
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.0.
|
|
138
|
+
"storybook": "^9.0.15",
|
|
139
139
|
"tailwindcss": "^4.1.10",
|
|
140
140
|
"ts-jest": "^29.4.0",
|
|
141
141
|
"typescript": "^5.8.3",
|
|
142
|
-
"typescript-eslint": "^8.
|
|
143
|
-
"vercel": "^
|
|
144
|
-
"viem": "^2.31.
|
|
145
|
-
"vite": "^
|
|
142
|
+
"typescript-eslint": "^8.35.1",
|
|
143
|
+
"vercel": "^44.2.7",
|
|
144
|
+
"viem": "^2.31.4",
|
|
145
|
+
"vite": "^7.0.0",
|
|
146
146
|
"vite-plugin-node-polyfills": "^0.23.0",
|
|
147
|
-
"vite-plugin-static-copy": "^3.0
|
|
147
|
+
"vite-plugin-static-copy": "^3.1.0",
|
|
148
148
|
"vite-plugin-svgr": "^4.3.0",
|
|
149
149
|
"wagmi": "^2.15.6"
|
|
150
150
|
},
|
|
@@ -163,5 +163,5 @@
|
|
|
163
163
|
"./index.css": "./index.css",
|
|
164
164
|
"./build.css": "./build.css"
|
|
165
165
|
},
|
|
166
|
-
"packageManager": "yarn@4.9.
|
|
166
|
+
"packageManager": "yarn@4.9.2"
|
|
167
167
|
}
|