@aragon/gov-ui-kit 1.0.75 → 1.2.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,2 +1,3 @@
1
1
  export { createRangeMock } from './createRangeMock';
2
+ export { RadixImageMock } from './radixImageMock';
2
3
  export { testLogger } from './testLogger';
@@ -0,0 +1,4 @@
1
+ export declare class RadixImageMock {
2
+ removeEventListener: jest.Mock<any, any, any>;
3
+ addEventListener: (event: string, callback: () => void) => void;
4
+ }
@@ -26,6 +26,7 @@ declare class FormatterUtils {
26
26
  private getDateLiteral;
27
27
  private getDynamicOption;
28
28
  private getDecimalPlaces;
29
+ private getRoundedDateUnitDiff;
29
30
  private significantDigitsToFractionDigits;
30
31
  }
31
32
  export declare const formatterUtils: FormatterUtils;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aragon/gov-ui-kit",
3
- "version": "1.0.75",
3
+ "version": "1.2.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",
@@ -53,7 +53,7 @@
53
53
  "@radix-ui/react-switch": "^1.1.0",
54
54
  "@radix-ui/react-tabs": "^1.1.0",
55
55
  "@radix-ui/react-toggle-group": "^1.1.0",
56
- "@radix-ui/react-tooltip": "^1.1.0",
56
+ "@radix-ui/react-tooltip": "^1.2.0",
57
57
  "@radix-ui/react-visually-hidden": "^1.1.0",
58
58
  "@tiptap/extension-code-block": "^2.11.0",
59
59
  "@tiptap/extension-image": "^2.11.0",
@@ -65,7 +65,7 @@
65
65
  "@tiptap/starter-kit": "^2.11.0",
66
66
  "blockies-ts": "^1.0.0",
67
67
  "classnames": "^2.5.0",
68
- "framer-motion": "^12.6.0",
68
+ "framer-motion": "^12.7.0",
69
69
  "luxon": "^3.6.0",
70
70
  "react-dropzone": "^14.3.0",
71
71
  "react-imask": "^7.6.0",
@@ -74,12 +74,12 @@
74
74
  },
75
75
  "peerDependencies": {
76
76
  "@tailwindcss/typography": "^0.5.0",
77
- "@tanstack/react-query": "^5.71.0",
77
+ "@tanstack/react-query": "^5.74.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.55.0",
81
81
  "tailwindcss": "^3.4.0",
82
- "viem": "^2.24.0",
82
+ "viem": "^2.26.0",
83
83
  "wagmi": "^2.14.0"
84
84
  },
85
85
  "devDependencies": {
@@ -87,41 +87,43 @@
87
87
  "@babel/preset-env": "^7.26.9",
88
88
  "@babel/preset-react": "^7.26.3",
89
89
  "@babel/preset-typescript": "^7.27.0",
90
- "@hookform/devtools": "^4.3.3",
90
+ "@changesets/changelog-github": "^0.5.1",
91
+ "@changesets/cli": "^2.29.0",
92
+ "@hookform/devtools": "^4.4.0",
91
93
  "@rollup/plugin-commonjs": "^28.0.3",
92
94
  "@rollup/plugin-image": "^3.0.3",
93
95
  "@rollup/plugin-node-resolve": "^16.0.1",
94
96
  "@rollup/plugin-terser": "^0.4.4",
95
97
  "@rollup/plugin-typescript": "^12.1.2",
96
98
  "@storybook/addon-designs": "^8.2.1",
97
- "@storybook/addon-essentials": "^8.6.11",
98
- "@storybook/addon-links": "^8.6.11",
99
+ "@storybook/addon-essentials": "^8.6.12",
100
+ "@storybook/addon-links": "^8.6.12",
99
101
  "@storybook/addon-styling-webpack": "^1.0.1",
100
- "@storybook/addon-webpack5-compiler-babel": "^3.0.5",
101
- "@storybook/blocks": "^8.6.11",
102
- "@storybook/react": "^8.6.11",
103
- "@storybook/react-webpack5": "^8.6.11",
104
- "@storybook/test": "^8.6.11",
102
+ "@storybook/addon-webpack5-compiler-babel": "^3.0.6",
103
+ "@storybook/blocks": "^8.6.12",
104
+ "@storybook/react": "^8.6.12",
105
+ "@storybook/react-webpack5": "^8.6.12",
106
+ "@storybook/test": "^8.6.12",
105
107
  "@svgr/rollup": "^8.1.0",
106
108
  "@svgr/webpack": "^8.1.0",
107
109
  "@tailwindcss/typography": "^0.5.16",
108
- "@tanstack/react-query": "^5.71.1",
110
+ "@tanstack/react-query": "^5.74.3",
109
111
  "@testing-library/dom": "^10.4.0",
110
112
  "@testing-library/jest-dom": "^6.6.3",
111
- "@testing-library/react": "^16.2.0",
113
+ "@testing-library/react": "^16.3.0",
112
114
  "@testing-library/user-event": "^14.6.1",
113
115
  "@types/jest": "^29.5.14",
114
- "@types/luxon": "^3.4.2",
115
- "@types/react": "^19.0.12",
116
- "@types/react-dom": "^19.0.4",
116
+ "@types/luxon": "^3.6.2",
117
+ "@types/react": "^19.1.1",
118
+ "@types/react-dom": "^19.1.2",
117
119
  "@types/sanitize-html": "^2.15.0",
118
120
  "autoprefixer": "^10.4.21",
119
121
  "cross-env": "^7.0.3",
120
- "eslint": "^9.23.0",
121
- "eslint-import-resolver-typescript": "^4.3.1",
122
+ "eslint": "^9.24.0",
123
+ "eslint-import-resolver-typescript": "^4.3.2",
122
124
  "eslint-plugin-import": "^2.31.0",
123
125
  "eslint-plugin-jsx-a11y": "^6.10.2",
124
- "eslint-plugin-react": "^7.37.4",
126
+ "eslint-plugin-react": "^7.37.5",
125
127
  "eslint-plugin-react-hooks": "^5.2.0",
126
128
  "eslint-plugin-storybook": "^0.12.0",
127
129
  "eslint-plugin-tailwindcss": "^3.18.0",
@@ -129,7 +131,7 @@
129
131
  "husky": "^9.1.7",
130
132
  "jest": "^29.7.0",
131
133
  "jest-environment-jsdom": "^29.7.0",
132
- "lint-staged": "^15.5.0",
134
+ "lint-staged": "^15.5.1",
133
135
  "postcss": "^8.5.3",
134
136
  "postcss-loader": "^8.1.1",
135
137
  "prettier": "^3.5.3",
@@ -138,17 +140,18 @@
138
140
  "react": "^19.1.0",
139
141
  "react-dom": "^19.1.0",
140
142
  "react-hook-form": "^7.55.0",
141
- "rollup": "^4.38.0",
143
+ "rollup": "^4.40.0",
142
144
  "rollup-plugin-peer-deps-external": "^2.2.4",
143
145
  "rollup-plugin-postcss": "^4.0.2",
144
146
  "rollup-plugin-visualizer": "^5.14.0",
145
- "storybook": "^8.6.11",
147
+ "storybook": "^8.6.12",
146
148
  "tailwindcss": "^3.4.17",
147
- "ts-jest": "^29.3.1",
148
- "typescript": "^5.8.2",
149
- "typescript-eslint": "^8.29.0",
150
- "viem": "^2.24.2",
151
- "wagmi": "^2.14.15"
149
+ "ts-jest": "^29.3.2",
150
+ "typescript": "^5.8.3",
151
+ "typescript-eslint": "^8.30.0",
152
+ "vercel": "^41.6.0",
153
+ "viem": "^2.26.5",
154
+ "wagmi": "^2.14.16"
152
155
  },
153
156
  "bugs": {
154
157
  "url": "https://github.com/aragon/gov-ui-kit/issues"
@@ -166,5 +169,5 @@
166
169
  "./build.css": "./build.css",
167
170
  "./tailwind.config": "./tailwind.config.js"
168
171
  },
169
- "packageManager": "yarn@4.7.0"
172
+ "packageManager": "yarn@4.9.1"
170
173
  }