@aragon/gov-ui-kit 1.27.1 → 1.28.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.
Files changed (40) hide show
  1. package/dist/index.es.js +1 -1
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/Hash.d.ts +37 -0
  4. package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/tempo/TxEnvelopeTempo.d.ts +4 -1
  5. package/package.json +25 -25
  6. /package/dist/types/node_modules/.pnpm/{@tiptap+pm@3.15.3 → @tiptap+pm@3.19.0}/node_modules/@tiptap/pm/model/index.d.ts +0 -0
  7. /package/dist/types/node_modules/.pnpm/{@tiptap+pm@3.15.3 → @tiptap+pm@3.19.0}/node_modules/@tiptap/pm/state/index.d.ts +0 -0
  8. /package/dist/types/node_modules/.pnpm/{@tiptap+pm@3.15.3 → @tiptap+pm@3.19.0}/node_modules/@tiptap/pm/transform/index.d.ts +0 -0
  9. /package/dist/types/node_modules/.pnpm/{@tiptap+pm@3.15.3 → @tiptap+pm@3.19.0}/node_modules/@tiptap/pm/view/index.d.ts +0 -0
  10. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/AbiParameters.d.ts +0 -0
  11. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/AccessList.d.ts +0 -0
  12. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/Address.d.ts +0 -0
  13. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/Base64.d.ts +0 -0
  14. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/Bytes.d.ts +0 -0
  15. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/Caches.d.ts +0 -0
  16. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/Errors.d.ts +0 -0
  17. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/Hex.d.ts +0 -0
  18. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/Json.d.ts +0 -0
  19. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/PublicKey.d.ts +0 -0
  20. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/Rlp.d.ts +0 -0
  21. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/Signature.d.ts +0 -0
  22. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/Solidity.d.ts +0 -0
  23. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/TxEnvelope.d.ts +0 -0
  24. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/Value.d.ts +0 -0
  25. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/WebAuthnP256.d.ts +0 -0
  26. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/internal/abiParameters.d.ts +0 -0
  27. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/internal/bytes.d.ts +0 -0
  28. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/internal/cursor.d.ts +0 -0
  29. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/internal/entropy.d.ts +0 -0
  30. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/internal/errors.d.ts +0 -0
  31. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/internal/hex.d.ts +0 -0
  32. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/internal/lru.d.ts +0 -0
  33. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/internal/types.d.ts +0 -0
  34. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/internal/webauthn.d.ts +0 -0
  35. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/core/version.d.ts +0 -0
  36. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/tempo/AuthorizationTempo.d.ts +0 -0
  37. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/tempo/KeyAuthorization.d.ts +0 -0
  38. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/tempo/SignatureEnvelope.d.ts +0 -0
  39. /package/dist/types/node_modules/.pnpm/{ox@0.11.3_typescript@5.9.3_zod@3.25.76 → ox@0.12.1_typescript@5.9.3_zod@3.25.76}/node_modules/ox/tempo/TokenId.d.ts +0 -0
  40. /package/dist/types/node_modules/.pnpm/{rollup-plugin-peer-deps-external@2.2.4_rollup@4.55.1 → rollup-plugin-peer-deps-external@2.2.4_rollup@4.57.1}/node_modules/rollup-plugin-peer-deps-external/dist/rollup-plugin-peer-deps-external.d.ts +0 -0
@@ -47,6 +47,43 @@ export declare namespace keccak256 {
47
47
  type ReturnType<as extends 'Hex' | 'Bytes' = 'Hex' | 'Bytes'> = (as extends 'Bytes' ? Bytes.Bytes : never) | (as extends 'Hex' ? Hex.Hex : never);
48
48
  type ErrorType = Bytes.from.ErrorType | Hex.fromBytes.ErrorType | Errors.GlobalErrorType;
49
49
  }
50
+ /**
51
+ * Calculates the [HMAC-SHA256](https://en.wikipedia.org/wiki/HMAC) of a {@link ox#Bytes.Bytes} or {@link ox#Hex.Hex} value.
52
+ *
53
+ * This function is a re-export of `hmac` from [`@noble/hashes`](https://github.com/paulmillr/noble-hashes), an audited & minimal JS hashing library.
54
+ *
55
+ * @example
56
+ * ```ts twoslash
57
+ * import { Hash, Hex } from 'ox'
58
+ *
59
+ * Hash.hmac256(Hex.fromString('key'), '0xdeadbeef')
60
+ * // @log: '0x...'
61
+ * ```
62
+ *
63
+ * @example
64
+ * ### Configure Return Type
65
+ *
66
+ * ```ts twoslash
67
+ * import { Hash, Hex } from 'ox'
68
+ *
69
+ * Hash.hmac256(Hex.fromString('key'), '0xdeadbeef', { as: 'Bytes' })
70
+ * // @log: Uint8Array [...]
71
+ * ```
72
+ *
73
+ * @param key - {@link ox#Bytes.Bytes} or {@link ox#Hex.Hex} key.
74
+ * @param value - {@link ox#Bytes.Bytes} or {@link ox#Hex.Hex} value.
75
+ * @param options - Options.
76
+ * @returns HMAC-SHA256 hash.
77
+ */
78
+ export declare function hmac256<value extends Hex.Hex | Bytes.Bytes, as extends 'Hex' | 'Bytes' = (value extends Hex.Hex ? 'Hex' : never) | (value extends Bytes.Bytes ? 'Bytes' : never)>(key: Hex.Hex | Bytes.Bytes, value: value | Hex.Hex | Bytes.Bytes, options?: hmac256.Options<as>): hmac256.ReturnType<as>;
79
+ export declare namespace hmac256 {
80
+ type Options<as extends 'Hex' | 'Bytes' = 'Hex' | 'Bytes'> = {
81
+ /** The return type. @default 'Hex' */
82
+ as?: as | 'Hex' | 'Bytes' | undefined;
83
+ };
84
+ type ReturnType<as extends 'Hex' | 'Bytes' = 'Hex' | 'Bytes'> = (as extends 'Bytes' ? Bytes.Bytes : never) | (as extends 'Hex' ? Hex.Hex : never);
85
+ type ErrorType = Bytes.from.ErrorType | Hex.fromBytes.ErrorType | Errors.GlobalErrorType;
86
+ }
50
87
  /**
51
88
  * Calculates the [Ripemd160](https://en.wikipedia.org/wiki/RIPEMD) hash of a {@link ox#Bytes.Bytes} or {@link ox#Hex.Hex} value.
52
89
  *
@@ -323,8 +323,11 @@ export declare namespace serialize {
323
323
  } & OneOf<{
324
324
  /**
325
325
  * Sender address to cover the fee of.
326
+ *
327
+ * If not provided and a signature is present, the sender will be
328
+ * automatically derived from the signature.
326
329
  */
327
- sender: Address.Address;
330
+ sender?: Address.Address | undefined;
328
331
  /**
329
332
  * Whether to serialize the transaction in the fee payer format.
330
333
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aragon/gov-ui-kit",
3
- "version": "1.27.1",
3
+ "version": "1.28.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",
@@ -39,18 +39,18 @@
39
39
  "@radix-ui/react-toggle-group": "^1.1.11",
40
40
  "@radix-ui/react-tooltip": "^1.2.8",
41
41
  "@radix-ui/react-visually-hidden": "^1.2.4",
42
- "@tiptap/core": "^3.15.3",
43
- "@tiptap/extension-image": "^3.15.3",
44
- "@tiptap/extensions": "^3.15.3",
45
- "@tiptap/pm": "^3.15.3",
46
- "@tiptap/react": "^3.15.3",
47
- "@tiptap/starter-kit": "^3.15.3",
42
+ "@tiptap/core": "^3.19.0",
43
+ "@tiptap/extension-image": "^3.19.0",
44
+ "@tiptap/extensions": "^3.19.0",
45
+ "@tiptap/pm": "^3.19.0",
46
+ "@tiptap/react": "^3.19.0",
47
+ "@tiptap/starter-kit": "^3.19.0",
48
48
  "blockies-ts": "^1.0.0",
49
49
  "classnames": "^2.5.1",
50
- "framer-motion": "^12.26.1",
50
+ "framer-motion": "^12.34.0",
51
51
  "imask": "^7.6.1",
52
52
  "luxon": "^3.7.2",
53
- "react-dropzone": "^14.3.8",
53
+ "react-dropzone": "^14.4.1",
54
54
  "react-imask": "^7.6.1",
55
55
  "sanitize-html": "^2.17.0",
56
56
  "tiptap-markdown": "^0.9.0"
@@ -63,11 +63,11 @@
63
63
  "react-hook-form": "^7.63.0",
64
64
  "tailwindcss": "^4.1.0",
65
65
  "viem": "^2.37.0",
66
- "wagmi": "^2.19.0"
66
+ "wagmi": "^2.19.0 || ^3.0.0"
67
67
  },
68
68
  "devDependencies": {
69
- "@babel/core": "^7.28.6",
70
- "@babel/preset-env": "^7.28.6",
69
+ "@babel/core": "^7.29.0",
70
+ "@babel/preset-env": "^7.29.0",
71
71
  "@babel/preset-react": "^7.28.5",
72
72
  "@babel/preset-typescript": "^7.28.5",
73
73
  "@changesets/changelog-github": "^0.5.2",
@@ -83,15 +83,15 @@
83
83
  "@svgr/rollup": "^8.1.0",
84
84
  "@tailwindcss/postcss": "^4.1.18",
85
85
  "@tailwindcss/typography": "^0.5.19",
86
- "@tanstack/react-query": "^5.90.16",
86
+ "@tanstack/react-query": "^5.90.21",
87
87
  "@testing-library/dom": "^10.4.1",
88
88
  "@testing-library/jest-dom": "^6.9.1",
89
- "@testing-library/react": "^16.3.1",
89
+ "@testing-library/react": "^16.3.2",
90
90
  "@testing-library/user-event": "^14.6.1",
91
91
  "@types/jest": "^30.0.0",
92
92
  "@types/luxon": "^3.7.1",
93
- "@types/node": "^22.19.5",
94
- "@types/react": "^18.3.27",
93
+ "@types/node": "^22.19.11",
94
+ "@types/react": "^18.3.28",
95
95
  "@types/react-dom": "^18.3.7",
96
96
  "@types/sanitize-html": "^2.16.0",
97
97
  "cross-env": "^10.1.0",
@@ -109,13 +109,13 @@
109
109
  "lint-staged": "^16.2.7",
110
110
  "postcss": "^8.5.6",
111
111
  "postcss-loader": "^8.2.0",
112
- "prettier": "^3.7.4",
112
+ "prettier": "^3.8.1",
113
113
  "prettier-plugin-organize-imports": "^4.3.0",
114
114
  "prettier-plugin-tailwindcss": "^0.7.2",
115
115
  "react": "^18.3.1",
116
116
  "react-dom": "^18.3.1",
117
- "react-hook-form": "^7.71.0",
118
- "rollup": "^4.55.1",
117
+ "react-hook-form": "^7.71.1",
118
+ "rollup": "^4.57.1",
119
119
  "rollup-plugin-peer-deps-external": "^2.2.4",
120
120
  "rollup-plugin-postcss": "^4.0.2",
121
121
  "rollup-plugin-visualizer": "^6.0.5",
@@ -124,14 +124,14 @@
124
124
  "ts-jest": "^29.4.6",
125
125
  "tslib": "^2.8.1",
126
126
  "typescript": "^5.9.3",
127
- "typescript-eslint": "^8.53.0",
128
- "vercel": "^50.3.0",
129
- "viem": "^2.44.1",
127
+ "typescript-eslint": "^8.55.0",
128
+ "vercel": "^50.15.1",
129
+ "viem": "^2.45.3",
130
130
  "vite": "^7.3.1",
131
- "vite-plugin-node-polyfills": "^0.24.0",
132
- "vite-plugin-static-copy": "^3.1.4",
131
+ "vite-plugin-node-polyfills": "^0.25.0",
132
+ "vite-plugin-static-copy": "^3.2.0",
133
133
  "vite-plugin-svgr": "^4.5.0",
134
- "wagmi": "^2.19.5",
134
+ "wagmi": "^3.4.3",
135
135
  "zod": "^3.25.76"
136
136
  },
137
137
  "bugs": {