@aragon/gov-ui-kit 1.0.51 → 1.0.52

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.
@@ -142,11 +142,15 @@ export declare const modulesCopy: {
142
142
  active: string;
143
143
  accepted: string;
144
144
  rejected: string;
145
+ expired: string;
145
146
  unreached: string;
147
+ vetoed: string;
146
148
  };
147
149
  status: {
148
150
  accepted: string;
149
151
  rejected: string;
152
+ expired: string;
153
+ vetoed: string;
150
154
  };
151
155
  };
152
156
  proposalVotingDetails: {
@@ -17,8 +17,10 @@ export declare enum ProposalVotingStatus {
17
17
  ACTIVE = "ACTIVE",
18
18
  PENDING = "PENDING",
19
19
  ACCEPTED = "ACCEPTED",
20
+ EXPIRED = "EXPIRED",
20
21
  REJECTED = "REJECTED",
21
- UNREACHED = "UNREACHED"
22
+ UNREACHED = "UNREACHED",
23
+ VETOED = "VETOED"
22
24
  }
23
25
  export declare const proposalStatusToVotingStatus: Record<ProposalStatus, ProposalVotingStatus>;
24
26
  export declare const proposalStatusToTagVariant: Record<ProposalStatus, TagVariant>;
@@ -9,11 +9,11 @@ export interface IProposalVotingStageProps extends ComponentProps<'div'> {
9
9
  /**
10
10
  * Start date of the stage in timestamp or ISO format.
11
11
  */
12
- startDate: number | string;
12
+ startDate?: number | string;
13
13
  /**
14
14
  * Start date of the stage in timestamp or ISO format.
15
15
  */
16
- endDate: number | string;
16
+ endDate?: number | string;
17
17
  /**
18
18
  * Default tab displayed for the current stage. Defaults to details tab for pending and unreached states and to
19
19
  * breakdown tab for active, accepted and rejected states.
@@ -9,7 +9,7 @@ export interface IProposalVotingStageStatusProps extends ComponentProps<'div'> {
9
9
  /**
10
10
  * End date of the proposal in timestamp or ISO format.
11
11
  */
12
- endDate: string | number;
12
+ endDate?: string | number;
13
13
  /**
14
14
  * Defines if the proposal is a multi-stage proposal.
15
15
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aragon/gov-ui-kit",
3
- "version": "1.0.51",
3
+ "version": "1.0.52",
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",
@@ -56,14 +56,14 @@
56
56
  "@radix-ui/react-toggle-group": "^1.1.0",
57
57
  "@radix-ui/react-tooltip": "^1.1.0",
58
58
  "@radix-ui/react-visually-hidden": "^1.1.0",
59
- "@tiptap/extension-code-block": "^2.8.0",
60
- "@tiptap/extension-image": "^2.8.0",
61
- "@tiptap/extension-link": "^2.8.0",
62
- "@tiptap/extension-placeholder": "^2.8.0",
63
- "@tiptap/extension-text-style": "^2.8.0",
64
- "@tiptap/pm": "^2.8.0",
65
- "@tiptap/react": "^2.8.0",
66
- "@tiptap/starter-kit": "^2.8.0",
59
+ "@tiptap/extension-code-block": "^2.9.0",
60
+ "@tiptap/extension-image": "^2.9.0",
61
+ "@tiptap/extension-link": "^2.9.0",
62
+ "@tiptap/extension-placeholder": "^2.9.0",
63
+ "@tiptap/extension-text-style": "^2.9.0",
64
+ "@tiptap/pm": "^2.9.0",
65
+ "@tiptap/react": "^2.9.0",
66
+ "@tiptap/starter-kit": "^2.9.0",
67
67
  "blockies-ts": "^1.0.0",
68
68
  "classnames": "^2.0.0",
69
69
  "framer-motion": "^11.11.0",
@@ -83,10 +83,10 @@
83
83
  "wagmi": "^2.12.0"
84
84
  },
85
85
  "devDependencies": {
86
- "@babel/core": "^7.25.8",
87
- "@babel/preset-env": "^7.25.8",
88
- "@babel/preset-react": "^7.25.7",
89
- "@babel/preset-typescript": "^7.25.7",
86
+ "@babel/core": "^7.26.0",
87
+ "@babel/preset-env": "^7.26.0",
88
+ "@babel/preset-react": "^7.25.9",
89
+ "@babel/preset-typescript": "^7.26.0",
90
90
  "@rollup/plugin-commonjs": "^28.0.1",
91
91
  "@rollup/plugin-image": "^3.0.3",
92
92
  "@rollup/plugin-node-resolve": "^15.3.0",
@@ -104,12 +104,12 @@
104
104
  "@svgr/rollup": "^8.1.0",
105
105
  "@svgr/webpack": "^8.1.0",
106
106
  "@tailwindcss/typography": "^0.5.15",
107
- "@tanstack/react-query": "^5.59.15",
107
+ "@tanstack/react-query": "^5.59.16",
108
108
  "@testing-library/dom": "^10.4.0",
109
109
  "@testing-library/jest-dom": "^6.6.2",
110
110
  "@testing-library/react": "^16.0.1",
111
111
  "@testing-library/user-event": "^14.5.2",
112
- "@types/jest": "^29.5.13",
112
+ "@types/jest": "^29.5.14",
113
113
  "@types/luxon": "^3.4.2",
114
114
  "@types/react-dom": "^18.3.1",
115
115
  "@types/sanitize-html": "^2.13.0",
@@ -119,8 +119,8 @@
119
119
  "cross-env": "^7.0.3",
120
120
  "eslint": "^8.57.0",
121
121
  "eslint-plugin-import": "^2.31.0",
122
- "eslint-plugin-jsx-a11y": "^6.10.1",
123
- "eslint-plugin-react": "^7.37.1",
122
+ "eslint-plugin-jsx-a11y": "^6.10.2",
123
+ "eslint-plugin-react": "^7.37.2",
124
124
  "eslint-plugin-react-hooks": "^5.0.0",
125
125
  "eslint-plugin-storybook": "^0.10.1",
126
126
  "eslint-plugin-tailwindcss": "^3.17.5",
@@ -136,7 +136,7 @@
136
136
  "prettier-plugin-tailwindcss": "^0.6.8",
137
137
  "react": "^18.3.1",
138
138
  "react-dom": "^18.3.1",
139
- "rollup": "^4.24.0",
139
+ "rollup": "^4.24.2",
140
140
  "rollup-plugin-peer-deps-external": "^2.2.4",
141
141
  "rollup-plugin-postcss": "^4.0.2",
142
142
  "rollup-plugin-visualizer": "^5.12.0",
@@ -144,8 +144,8 @@
144
144
  "tailwindcss": "^3.4.14",
145
145
  "ts-jest": "^29.2.5",
146
146
  "typescript": "^5.6.3",
147
- "viem": "^2.21.32",
148
- "wagmi": "^2.12.20"
147
+ "viem": "^2.21.35",
148
+ "wagmi": "^2.12.25"
149
149
  },
150
150
  "bugs": {
151
151
  "url": "https://github.com/aragon/gov-ui-kit/issues"