@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.
@@ -1,3 +1,3 @@
1
- import type { StorybookConfig } from '@storybook/react-webpack5';
1
+ import type { StorybookConfig } from '@storybook/react-vite';
2
2
  declare const config: StorybookConfig;
3
3
  export default config;
@@ -1,4 +1,4 @@
1
- import type { Preview } from '@storybook/react';
1
+ import type { Preview } from '@storybook/react-vite';
2
2
  import '../index.css';
3
3
  import './style.css';
4
4
  declare const preview: Preview;
@@ -1,2 +1,2 @@
1
- declare const _default: import("@storybook/theming").ThemeVars;
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>;
@@ -46,6 +46,7 @@ export declare enum IconType {
46
46
  RADIO_SELECTED = "RADIO_SELECTED",
47
47
  RELOAD = "RELOAD",
48
48
  REMOVE = "REMOVE",
49
+ REWARDS = "REWARDS",
49
50
  RICHTEXT_BOLD = "RICHTEXT_BOLD",
50
51
  RICHTEXT_HEADING = "RICHTEXT_HEADING",
51
52
  RICHTEXT_ITALIC = "RICHTEXT_ITALIC",
@@ -7,6 +7,7 @@ export declare const modulesCopy: {
7
7
  addressInput: {
8
8
  clear: string;
9
9
  paste: string;
10
+ checksum: string;
10
11
  };
11
12
  assetDataListItemStructure: {
12
13
  unknown: string;
@@ -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.7.0",
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.2.0",
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/extension-code-block": "^2.12.0",
58
- "@tiptap/extension-image": "^2.12.0",
59
- "@tiptap/extension-link": "^2.12.0",
60
- "@tiptap/extension-placeholder": "^2.12.0",
61
- "@tiptap/extension-text-style": "^2.12.0",
62
- "@tiptap/pm": "^2.12.0",
63
- "@tiptap/react": "^2.12.0",
64
- "@tiptap/starter-kit": "^2.12.0",
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.14.0",
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.0",
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.56.0",
80
+ "react-hook-form": "^7.58.0",
80
81
  "tailwindcss": "^4.1.0",
81
- "viem": "^2.30.0",
82
+ "viem": "^2.31.0",
82
83
  "wagmi": "^2.15.0"
83
84
  },
84
85
  "devDependencies": {
85
- "@babel/core": "^7.27.1",
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.4",
91
+ "@changesets/cli": "^2.29.5",
91
92
  "@hookform/devtools": "^4.4.0",
92
- "@rollup/plugin-commonjs": "^28.0.3",
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.2",
97
- "@storybook/addon-essentials": "^8.6.14",
98
- "@storybook/addon-links": "^8.6.14",
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
- "@svgr/webpack": "^8.1.0",
107
- "@tailwindcss/postcss": "^4.1.7",
101
+ "@tailwindcss/postcss": "^4.1.11",
108
102
  "@tailwindcss/typography": "^0.5.16",
109
- "@tanstack/react-query": "^5.77.2",
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": "^29.5.14",
108
+ "@types/jest": "^30.0.0",
115
109
  "@types/luxon": "^3.6.2",
116
- "@types/react": "^19.1.5",
117
- "@types/react-dom": "^19.1.5",
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.27.0",
121
- "eslint-import-resolver-typescript": "^4.4.1",
122
- "eslint-plugin-import": "^2.31.0",
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.12.0",
127
- "eslint-plugin-testing-library": "^7.2.2",
120
+ "eslint-plugin-storybook": "^9.0.15",
121
+ "eslint-plugin-testing-library": "^7.5.3",
128
122
  "husky": "^9.1.7",
129
- "jest": "^29.7.0",
130
- "jest-environment-jsdom": "^29.7.0",
131
- "lint-staged": "^16.0.0",
132
- "postcss": "^8.5.3",
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.5.3",
128
+ "prettier": "^3.6.2",
135
129
  "prettier-plugin-organize-imports": "^4.1.0",
136
- "prettier-plugin-tailwindcss": "^0.6.11",
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.56.4",
140
- "rollup": "^4.41.1",
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.0",
144
- "storybook": "^8.6.14",
145
- "tailwindcss": "^4.1.7",
146
- "ts-jest": "^29.3.4",
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.32.1",
149
- "vercel": "^42.1.1",
150
- "viem": "^2.30.1",
151
- "wagmi": "^2.15.4"
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.1"
166
+ "packageManager": "yarn@4.9.2"
169
167
  }