@aragon/gov-ui-kit 2.7.0 → 2.7.1

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/README.md CHANGED
@@ -25,27 +25,32 @@ Storybook reflects the latest design tokens, styles, and components, so should b
25
25
 
26
26
  To start developing with the UI Kit:
27
27
 
28
- 1. Enable Corepack (one-time setup):
28
+ 1. Use the Node.js version pinned in [`.nvmrc`](./.nvmrc) (Node >= 24.13). With [nvm](https://github.com/nvm-sh/nvm):
29
+
30
+ ```bash
31
+ nvm install # installs the version from .nvmrc
32
+ nvm use
33
+ ```
34
+
35
+ 2. Enable Corepack so the pinned pnpm version (>= 11, see `packageManager` in `package.json`) is used automatically:
29
36
 
30
37
  ```bash
31
38
  corepack enable
32
39
  ```
33
40
 
34
- 2. Install dependencies and setup husky:
41
+ 3. Install dependencies and setup husky:
35
42
 
36
43
  ```bash
37
44
  pnpm install && pnpm run setup
38
45
  ```
39
46
 
40
- **Note**: pnpm will automatically use the correct Node.js version as configured in the project.
41
-
42
- 3. Start Storybook for component development:
47
+ 4. Start Storybook for component development:
43
48
 
44
49
  ```bash
45
50
  pnpm storybook
46
51
  ```
47
52
 
48
- 4. Build the library:
53
+ 5. Build the library:
49
54
 
50
55
  ```bash
51
56
  pnpm build
@@ -1 +1 @@
1
- export declare const DialogStoryComponent: (component: "header" | "content" | "footer" | "root") => (props: object) => import("react/jsx-runtime").JSX.Element;
1
+ export declare const DialogStoryComponent: (component: "header" | "content" | "footer" | "root") => (props: object) => import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { type DialogAlertVariant } from './index';
2
- export declare const DialogAlertStoryComponent: (component: "header" | "content" | "footer" | "root", variant?: DialogAlertVariant) => (props: object) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const DialogAlertStoryComponent: (component: "header" | "content" | "footer" | "root", variant?: DialogAlertVariant) => (props: object) => import("react").JSX.Element;
@@ -29,4 +29,4 @@ export interface IToggleGroupBaseProps<TMulti extends boolean> extends Omit<Comp
29
29
  onChange?: (value: ToggleGroupValue<TMulti>) => void;
30
30
  }
31
31
  export type IToggleGroupProps = IToggleGroupBaseProps<true> | IToggleGroupBaseProps<false>;
32
- export declare const ToggleGroup: (props: IToggleGroupProps) => import("react/jsx-runtime").JSX.Element;
32
+ export declare const ToggleGroup: (props: IToggleGroupProps) => import("react").JSX.Element;
@@ -1,8 +1,8 @@
1
1
  export declare const ProposalActions: {
2
2
  Root: import("react").FC<import("./proposalActionsRoot").IProposalActionsRootProps>;
3
3
  Container: import("react").FC<import("./proposalActionsContainer").IProposalActionsContainerProps>;
4
- Item: <TAction extends import("./proposalActionsDefinitions").IProposalAction = import("./proposalActionsDefinitions").IProposalAction>(props: import("./proposalActionsItem").IProposalActionsItemProps<TAction>) => import("react/jsx-runtime").JSX.Element;
5
- ItemSkeleton: () => import("react/jsx-runtime").JSX.Element;
4
+ Item: <TAction extends import("./proposalActionsDefinitions").IProposalAction = import("./proposalActionsDefinitions").IProposalAction>(props: import("./proposalActionsItem").IProposalActionsItemProps<TAction>) => import("react").JSX.Element;
5
+ ItemSkeleton: () => import("react").JSX.Element;
6
6
  Footer: import("react").FC<import("./proposalActionsFooter").IProposalActionsFooterProps>;
7
7
  };
8
8
  export * from './proposalActionsContainer';
@@ -5,4 +5,4 @@ import type { IProposalActionsItemProps } from './proposalActionsItem.api';
5
5
  * and if the parameters for the actions are defined.
6
6
  * **_NOTE:_** The component must be used inside a `<FormProvider />` component from `react-hook-form` when used in `editMode`.
7
7
  */
8
- export declare const ProposalActionsItem: <TAction extends IProposalAction = IProposalAction>(props: IProposalActionsItemProps<TAction>) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const ProposalActionsItem: <TAction extends IProposalAction = IProposalAction>(props: IProposalActionsItemProps<TAction>) => import("react").JSX.Element;
@@ -5,4 +5,4 @@ export interface IProposalActionsItemBasicViewProps<TAction extends IProposalAct
5
5
  */
6
6
  CustomComponent?: ProposalActionComponent<TAction>;
7
7
  }
8
- export declare const ProposalActionsItemBasicView: <TAction extends IProposalAction = IProposalAction>(props: IProposalActionsItemBasicViewProps<TAction>) => import("react/jsx-runtime").JSX.Element | null;
8
+ export declare const ProposalActionsItemBasicView: <TAction extends IProposalAction = IProposalAction>(props: IProposalActionsItemBasicViewProps<TAction>) => import("react").JSX.Element | null;
@@ -1 +1 @@
1
- export declare const ProposalActionsItemSkeleton: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const ProposalActionsItemSkeleton: () => import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aragon/gov-ui-kit",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
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",
@@ -25,29 +25,29 @@
25
25
  ],
26
26
  "author": "Aragon Association",
27
27
  "dependencies": {
28
- "@radix-ui/react-accordion": "^1.2.12",
29
- "@radix-ui/react-alert-dialog": "^1.1.15",
30
- "@radix-ui/react-avatar": "^1.1.11",
31
- "@radix-ui/react-checkbox": "^1.3.3",
32
- "@radix-ui/react-dialog": "^1.1.15",
33
- "@radix-ui/react-dropdown-menu": "^2.1.16",
34
- "@radix-ui/react-focus-scope": "^1.1.8",
35
- "@radix-ui/react-progress": "^1.1.8",
36
- "@radix-ui/react-radio-group": "^1.3.8",
37
- "@radix-ui/react-switch": "^1.2.6",
38
- "@radix-ui/react-tabs": "^1.1.13",
39
- "@radix-ui/react-toggle-group": "^1.1.11",
40
- "@radix-ui/react-tooltip": "^1.2.8",
41
- "@radix-ui/react-visually-hidden": "^1.2.4",
42
- "@tiptap/core": "^3.23.4",
43
- "@tiptap/extension-image": "^3.23.4",
44
- "@tiptap/extensions": "^3.23.4",
45
- "@tiptap/pm": "^3.23.4",
46
- "@tiptap/react": "^3.23.4",
47
- "@tiptap/starter-kit": "^3.23.4",
28
+ "@radix-ui/react-accordion": "^1.2.13",
29
+ "@radix-ui/react-alert-dialog": "^1.1.16",
30
+ "@radix-ui/react-avatar": "^1.1.12",
31
+ "@radix-ui/react-checkbox": "^1.3.4",
32
+ "@radix-ui/react-dialog": "^1.1.16",
33
+ "@radix-ui/react-dropdown-menu": "^2.1.17",
34
+ "@radix-ui/react-focus-scope": "^1.1.9",
35
+ "@radix-ui/react-progress": "^1.1.9",
36
+ "@radix-ui/react-radio-group": "^1.4.0",
37
+ "@radix-ui/react-switch": "^1.3.0",
38
+ "@radix-ui/react-tabs": "^1.1.14",
39
+ "@radix-ui/react-toggle-group": "^1.1.12",
40
+ "@radix-ui/react-tooltip": "^1.2.9",
41
+ "@radix-ui/react-visually-hidden": "^1.2.5",
42
+ "@tiptap/core": "^3.26.0",
43
+ "@tiptap/extension-image": "^3.26.0",
44
+ "@tiptap/extensions": "^3.26.0",
45
+ "@tiptap/pm": "^3.26.0",
46
+ "@tiptap/react": "^3.26.0",
47
+ "@tiptap/starter-kit": "^3.26.0",
48
48
  "blockies-ts": "^1.0.0",
49
49
  "classnames": "^2.5.1",
50
- "framer-motion": "^12.38.0",
50
+ "framer-motion": "^12.40.0",
51
51
  "imask": "^7.6.1",
52
52
  "luxon": "^3.7.2",
53
53
  "react-dropzone": "^15.0.0",
@@ -74,33 +74,33 @@
74
74
  }
75
75
  },
76
76
  "devDependencies": {
77
- "@babel/core": "^7.29.0",
78
- "@babel/preset-env": "^7.29.5",
79
- "@babel/preset-react": "^7.28.5",
80
- "@babel/preset-typescript": "^7.28.5",
81
- "@biomejs/biome": "^2.4.15",
77
+ "@babel/core": "^7.29.7",
78
+ "@babel/preset-env": "^7.29.7",
79
+ "@babel/preset-react": "^7.29.7",
80
+ "@babel/preset-typescript": "^7.29.7",
81
+ "@biomejs/biome": "^2.4.16",
82
82
  "@changesets/changelog-github": "^0.6.0",
83
83
  "@changesets/cli": "^2.31.0",
84
84
  "@hookform/devtools": "^4.4.0",
85
- "@rollup/plugin-commonjs": "^29.0.2",
85
+ "@rollup/plugin-commonjs": "^29.0.3",
86
86
  "@rollup/plugin-image": "^3.0.3",
87
87
  "@rollup/plugin-node-resolve": "^16.0.3",
88
88
  "@rollup/plugin-terser": "^1.0.0",
89
89
  "@rollup/plugin-typescript": "^12.3.0",
90
- "@storybook/addon-docs": "^10.4.0",
91
- "@storybook/react-vite": "^10.4.0",
90
+ "@storybook/addon-docs": "^10.4.2",
91
+ "@storybook/react-vite": "^10.4.2",
92
92
  "@svgr/rollup": "^8.1.0",
93
93
  "@tailwindcss/postcss": "^4.3.0",
94
- "@tailwindcss/typography": "^0.5.19",
95
- "@tanstack/react-query": "^5.100.10",
94
+ "@tailwindcss/typography": "^0.5.20",
95
+ "@tanstack/react-query": "^5.101.0",
96
96
  "@testing-library/dom": "^10.4.1",
97
97
  "@testing-library/jest-dom": "^6.9.1",
98
98
  "@testing-library/react": "^16.3.2",
99
99
  "@testing-library/user-event": "^14.6.1",
100
100
  "@types/jest": "^30.0.0",
101
101
  "@types/luxon": "^3.7.1",
102
- "@types/node": "^22.19.19",
103
- "@types/react": "^19.2.14",
102
+ "@types/node": "^24.13.1",
103
+ "@types/react": "^19.2.17",
104
104
  "@types/react-dom": "^19.2.3",
105
105
  "@types/sanitize-html": "^2.16.1",
106
106
  "cross-env": "^10.1.0",
@@ -108,28 +108,28 @@
108
108
  "jest": "^30.4.2",
109
109
  "jest-environment-jsdom": "^30.4.1",
110
110
  "lint-staged": "^16.4.0",
111
- "postcss": "^8.5.14",
111
+ "postcss": "^8.5.15",
112
112
  "postcss-loader": "^8.2.1",
113
- "react": "^19.2.6",
114
- "react-dom": "^19.2.6",
115
- "react-hook-form": "^7.75.0",
116
- "rollup": "^4.60.3",
113
+ "react": "^19.2.7",
114
+ "react-dom": "^19.2.7",
115
+ "react-hook-form": "^7.78.0",
116
+ "rollup": "^4.61.1",
117
117
  "rollup-plugin-peer-deps-external": "^2.2.4",
118
118
  "rollup-plugin-postcss": "^4.0.2",
119
119
  "rollup-plugin-visualizer": "^7.0.1",
120
- "storybook": "^10.4.0",
120
+ "storybook": "^10.4.2",
121
121
  "tailwindcss": "^4.3.0",
122
- "ts-jest": "^29.4.9",
122
+ "ts-jest": "^29.4.11",
123
123
  "tslib": "^2.8.1",
124
- "turbo": "^2.9.12",
124
+ "turbo": "^2.9.16",
125
125
  "typescript": "^5.9.3",
126
- "ultracite": "^7.7.0",
127
- "vercel": "^50.44.0",
128
- "viem": "^2.49.0",
129
- "vite": "^8.0.13",
130
- "vite-plugin-static-copy": "^4.1.0",
126
+ "ultracite": "^7.8.2",
127
+ "vercel": "^52.2.1",
128
+ "viem": "^2.52.2",
129
+ "vite": "^8.0.16",
130
+ "vite-plugin-static-copy": "^4.1.1",
131
131
  "vite-plugin-svgr": "^5.2.0",
132
- "wagmi": "^3.6.14",
132
+ "wagmi": "^3.6.16",
133
133
  "zod": "^4.4.3"
134
134
  },
135
135
  "bugs": {
@@ -137,8 +137,8 @@
137
137
  },
138
138
  "homepage": "https://github.com/aragon/gov-ui-kit#readme",
139
139
  "engines": {
140
- "node": ">=22.0.0",
141
- "pnpm": ">=10.0.0"
140
+ "node": ">=24.13.0",
141
+ "pnpm": ">=11.0.0"
142
142
  },
143
143
  "exports": {
144
144
  ".": {