@aragon/gov-ui-kit 1.0.57 → 1.0.58

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 (33) hide show
  1. package/CHANGELOG.md +437 -425
  2. package/dist/index.es.js +1 -1
  3. package/dist/index.es.js.map +1 -1
  4. package/dist/types/src/core/components/dialogs/dialog/dialogFooter/dialogFooter.d.ts +1 -1
  5. package/dist/types/src/modules/assets/copy/modulesCopy.d.ts +10 -9
  6. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/index.d.ts +2 -0
  7. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoder.api.d.ts +36 -0
  8. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoder.d.ts +2 -0
  9. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderField/index.d.ts +1 -0
  10. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderField/proposalActionsDecoderField.d.ts +21 -0
  11. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderTextField/index.d.ts +2 -0
  12. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderTextField/proposalActionsDecoderTextField.api.d.ts +30 -0
  13. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderTextField/proposalActionsDecoderTextField.d.ts +2 -0
  14. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderTextField/proposalActionsDecoderTextFieldEdit.d.ts +4 -0
  15. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderTextField/proposalActionsDecoderTextFieldWatch.d.ts +4 -0
  16. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderUtils.d.ts +45 -0
  17. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDefinitions.d.ts +9 -1
  18. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/index.d.ts +1 -1
  19. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItem.api.d.ts +13 -0
  20. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItem.d.ts +5 -5
  21. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/{proposalActionsItemBasicView/proposalActionsItemBasicView.d.ts → proposalActionsItemBasicView.d.ts} +1 -1
  22. package/dist/types/src/modules/hooks/index.d.ts +1 -0
  23. package/dist/types/src/modules/hooks/useFormContext/index.d.ts +1 -0
  24. package/dist/types/src/modules/hooks/useFormContext/useFormContext.d.ts +3 -0
  25. package/dist/types/src/modules/testUtils/generators/formContext.d.ts +2 -0
  26. package/dist/types/src/modules/testUtils/generators/index.d.ts +1 -0
  27. package/dist/types/src/modules/testUtils/index.d.ts +1 -0
  28. package/package.json +19 -16
  29. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItemBasicView/index.d.ts +0 -1
  30. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItemDecodedView/index.d.ts +0 -1
  31. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItemDecodedView/proposalActionsItemDecodedView.d.ts +0 -8
  32. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItemRawView/index.d.ts +0 -1
  33. package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItemRawView/proposalActionsItemRawView.d.ts +0 -8
package/CHANGELOG.md CHANGED
@@ -7,895 +7,907 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.0.58] - 2024-12-06
11
+
12
+ ### Added
13
+
14
+ - Update `ProposalActions` module component to improve rendering of decoded parameters and support and "edit" mode
15
+ through the `editMode` property
16
+
17
+ ### Changed
18
+
19
+ - Update minor and patch NPM dependencies
20
+ - Support `type` property on the buttons of the `<Dialog.Footer />` core component
21
+
10
22
  ## [1.0.57] - 2024-11-29
11
23
 
12
24
  ### Added
13
25
 
14
- - Add new `ProposalVoting` module components (`ProposalVotingBodyContent`, `ProposalVotingBodySummary`,
15
- `ProposalVotingBodySummaryList` and `ProposalVotingBodySummaryListItem`)
16
- - Add story and export `ProposalVotingProgress` module component
26
+ - Add new `ProposalVoting` module components (`ProposalVotingBodyContent`, `ProposalVotingBodySummary`,
27
+ `ProposalVotingBodySummaryList` and `ProposalVotingBodySummaryListItem`)
28
+ - Add story and export `ProposalVotingProgress` module component
17
29
 
18
30
  ### Changed
19
31
 
20
- - Update `ProposalVotingStage` module component to accept new optional `bodyList` prop and update rendering logic to
21
- handle multi body proposals per stage.
32
+ - Update `ProposalVotingStage` module component to accept new optional `bodyList` prop and update rendering logic to
33
+ handle multi body proposals per stage.
22
34
 
23
35
  ## [1.0.56] - 2024-11-26
24
36
 
25
37
  ### Added
26
38
 
27
- - Update peer dependencies to allow React 19
39
+ - Update peer dependencies to allow React 19
28
40
 
29
41
  ### Fixed
30
42
 
31
- - Fix command to publish library to correctly mark as `latest` the latest library version
32
- - Fix empty-state style of `ProposalAction` module component
33
- - Add default shadow style to `Card` core component
34
- - Fix issue with `Accodion.ItemContent` animations blocking dynamic content resizing
43
+ - Fix command to publish library to correctly mark as `latest` the latest library version
44
+ - Fix empty-state style of `ProposalAction` module component
45
+ - Add default shadow style to `Card` core component
46
+ - Fix issue with `Accodion.ItemContent` animations blocking dynamic content resizing
35
47
 
36
48
  ### Changed
37
49
 
38
- - Remove "forceMount" usage on `Accordion.ItemContent` throughout the library
39
- - Bump `eslint-plugin-testing-library` from 6.4.0 to 7.0.0
40
- - Update minor and patch NPM dependencies
50
+ - Remove "forceMount" usage on `Accordion.ItemContent` throughout the library
51
+ - Bump `eslint-plugin-testing-library` from 6.4.0 to 7.0.0
52
+ - Update minor and patch NPM dependencies
41
53
 
42
54
  ## [1.0.55] - 2024-11-22
43
55
 
44
56
  ### Added
45
57
 
46
- - Update `VoteDataListItem` component to add "Voted" string and possibility to customise it through the
47
- `confirmationLabel` property
48
- - Update `formatterUtils` documentation to add number formatting examples
58
+ - Update `VoteDataListItem` component to add "Voted" string and possibility to customise it through the
59
+ `confirmationLabel` property
60
+ - Update `formatterUtils` documentation to add number formatting examples
49
61
 
50
62
  ### Fixed
51
63
 
52
- - Update layout of `DataListItem` core component and layouts of components using it (Asset, Dao, Member, Proposal,
53
- Transaction, Vote)
54
- - Update implementation of `DataListItem` skeleton components for better parity and no layout shift
55
- - Improve responsiveness for `DefinitionList` container and items for middle breakpoints
56
- - Update `DaoAvatar` to correctly set text size depending on `size` property
57
- - Include styles on `AccordionItemHeader` for stronger visual cue when expanded
58
- - Fix critical icon on `AlertCard` and `AlertInline` core components
64
+ - Update layout of `DataListItem` core component and layouts of components using it (Asset, Dao, Member, Proposal,
65
+ Transaction, Vote)
66
+ - Update implementation of `DataListItem` skeleton components for better parity and no layout shift
67
+ - Improve responsiveness for `DefinitionList` container and items for middle breakpoints
68
+ - Update `DaoAvatar` to correctly set text size depending on `size` property
69
+ - Include styles on `AccordionItemHeader` for stronger visual cue when expanded
70
+ - Fix critical icon on `AlertCard` and `AlertInline` core components
59
71
 
60
72
  ### Changed
61
73
 
62
- - Remove `plugin` property from `DaoDataListItem` module component
63
- - Update minor and patch dependencies
64
- - Refactor `ProposalActions` component, split it into `Root`, `Container`, `Item` and `Footer` components
65
- - Update `eslint` to v9
66
- - Bump `cross-spawn` from 7.0.3 to 7.0.5
67
- - Bump `@eslint/plugin-kit` from 0.2.2 to 0.2.3
68
- - Bump `softprops/action-gh-release` from 2.0.9 to 2.1.0
69
- - Removed `xs` size variant from `Avatar` component
70
- - Update eslint rules to enforce consistent type imports and exports
74
+ - Remove `plugin` property from `DaoDataListItem` module component
75
+ - Update minor and patch dependencies
76
+ - Refactor `ProposalActions` component, split it into `Root`, `Container`, `Item` and `Footer` components
77
+ - Update `eslint` to v9
78
+ - Bump `cross-spawn` from 7.0.3 to 7.0.5
79
+ - Bump `@eslint/plugin-kit` from 0.2.2 to 0.2.3
80
+ - Bump `softprops/action-gh-release` from 2.0.9 to 2.1.0
81
+ - Removed `xs` size variant from `Avatar` component
82
+ - Update eslint rules to enforce consistent type imports and exports
71
83
 
72
84
  ## [1.0.54] - 2024-11-11
73
85
 
74
86
  ### Changed
75
87
 
76
- - Added missing export for `IAddressInputResolvedValue` interface
88
+ - Added missing export for `IAddressInputResolvedValue` interface
77
89
 
78
90
  ### Fixed
79
91
 
80
- - Fix layout of `ProposalActionChangeMembers` module component
92
+ - Fix layout of `ProposalActionChangeMembers` module component
81
93
 
82
94
  ## [1.0.53] - 2024-11-05
83
95
 
84
96
  ### Fixed
85
97
 
86
- - Update `ProposalVoting.Container` module component to make stages accordion controlled and support updating the
87
- current active stage programmatically
88
- - Fix `VoteProposalDataListItem` module component to truncate long proposal IDs
98
+ - Update `ProposalVoting.Container` module component to make stages accordion controlled and support updating the
99
+ current active stage programmatically
100
+ - Fix `VoteProposalDataListItem` module component to truncate long proposal IDs
89
101
 
90
102
  ### Changed
91
103
 
92
- - Bump `softprops/action-gh-release` from 2.0.8 to 2.0.9
93
- - Update minor and patch NPM dependencies
104
+ - Bump `softprops/action-gh-release` from 2.0.8 to 2.0.9
105
+ - Update minor and patch NPM dependencies
94
106
 
95
107
  ## [1.0.52] - 2024-10-30
96
108
 
97
109
  ### Changed
98
110
 
99
- - Update `ProposalVotingStage` module component to support undefined `startDate` and `endDate` properties
100
- - Update minor and patch Github dependencies
101
- - Update minor and patch NPM dependencies
102
- - Bump `elliptic` from 6.5.7 to 6.6.0
111
+ - Update `ProposalVotingStage` module component to support undefined `startDate` and `endDate` properties
112
+ - Update minor and patch Github dependencies
113
+ - Update minor and patch NPM dependencies
114
+ - Bump `elliptic` from 6.5.7 to 6.6.0
103
115
 
104
116
  ### Fixed
105
117
 
106
- - Update `ProposalVotingStageStatus` module component to support `vetoed` and `expired` statuses
107
- - Update Figma documentation links in Storybook components
108
- - Rename default modules context values to use `guk` prefix
118
+ - Update `ProposalVotingStageStatus` module component to support `vetoed` and `expired` statuses
119
+ - Update Figma documentation links in Storybook components
120
+ - Rename default modules context values to use `guk` prefix
109
121
 
110
122
  ## [1.0.51] - 2024-10-23
111
123
 
112
124
  ### Fixed
113
125
 
114
- - Rename default core context values to use `guk` prefix
115
- - Update `<DefinitionListItem />` and `<Breadcrumbs />` core components to truncate long strings
116
- - Fix `<InputNumber >` core component to trigger `onChange` callback on + / - button click
126
+ - Rename default core context values to use `guk` prefix
127
+ - Update `<DefinitionListItem />` and `<Breadcrumbs />` core components to truncate long strings
128
+ - Fix `<InputNumber >` core component to trigger `onChange` callback on + / - button click
117
129
 
118
130
  ## [1.0.50] - 2024-10-23
119
131
 
120
132
  ### Changed
121
133
 
122
- - Convert ODS repo & package to Governance UI Kit brand name + docs
123
- - Update name of `OdsCoreProvider` to `GukCoreProvider` to match new naming scheme
124
- - Update name of `OdsModulesProvider` to `GukModulesProvider` to match new naming scheme
125
- - Update all `--ods-*` CSS variables to `--guk-*` to match new naming scheme
126
- - Bump `eslint-plugin-react-hooks` from 4.6.2 to 5.0.0
127
- - Bump `secp256k1` from 5.0.0 to 5.0.1
128
- - Update minor and patch NPM dependencies
134
+ - Convert ODS repo & package to Governance UI Kit brand name + docs
135
+ - Update name of `OdsCoreProvider` to `GukCoreProvider` to match new naming scheme
136
+ - Update name of `OdsModulesProvider` to `GukModulesProvider` to match new naming scheme
137
+ - Update all `--ods-*` CSS variables to `--guk-*` to match new naming scheme
138
+ - Bump `eslint-plugin-react-hooks` from 4.6.2 to 5.0.0
139
+ - Bump `secp256k1` from 5.0.0 to 5.0.1
140
+ - Update minor and patch NPM dependencies
129
141
 
130
142
  ## [1.0.49] - 2024-10-14
131
143
 
132
144
  ### Added
133
145
 
134
- - Add optional `children` property to `RadioCard` and `CheckboxCard` core components displayed only when component is
135
- selected
146
+ - Add optional `children` property to `RadioCard` and `CheckboxCard` core components displayed only when component is
147
+ selected
136
148
 
137
149
  ### Changed
138
150
 
139
- - Update `RadioCard` and `CheckboxCard` core components to have optional description property, fix alignment when no
140
- description provided
141
- - Update `<ProposalDataListItem.Structure >` module component to make proposal type property optional and support
142
- custom proposal results
143
- - Bump `actions/checkout` from 4.2.0 to 4.2.1
144
- - Update minor and patch NPM dependencies
151
+ - Update `RadioCard` and `CheckboxCard` core components to have optional description property, fix alignment when no
152
+ description provided
153
+ - Update `<ProposalDataListItem.Structure >` module component to make proposal type property optional and support custom
154
+ proposal results
155
+ - Bump `actions/checkout` from 4.2.0 to 4.2.1
156
+ - Update minor and patch NPM dependencies
145
157
 
146
158
  ## [1.0.48] - 2024-10-04
147
159
 
148
160
  ### Added
149
161
 
150
- - Update `Tabs` core component to handle disabled tab trigger state
151
- - Support `forceMount` property on `Accordion` core component and `ProposalVotingStage` module component to correctly
152
- render dynamic content on proposal stages
162
+ - Update `Tabs` core component to handle disabled tab trigger state
163
+ - Support `forceMount` property on `Accordion` core component and `ProposalVotingStage` module component to correctly
164
+ render dynamic content on proposal stages
153
165
 
154
166
  ### Fixed
155
167
 
156
- - Fix truncation issue on `VoteProposalDataListItem` module component
157
- - Update `AddressInput` module component to forward `chainId` and `wagmiConfig` to `MemberAvatar` component
168
+ - Fix truncation issue on `VoteProposalDataListItem` module component
169
+ - Update `AddressInput` module component to forward `chainId` and `wagmiConfig` to `MemberAvatar` component
158
170
 
159
171
  ### Changed
160
172
 
161
- - Update `<ProposalVotingTabs />` module component to disable `Breakdown` and `Votes` tabs when voting status is not
162
- active
163
- - Bump `actions/setup-node` from 4.0.3 to 4.0.4
164
- - Bump `actions/checkout` from 4.1.7 to 4.2.0
165
- - Update minor and patch NPM dependencies
166
- - Bump `@rollup/plugin-typescript` from v11 to v12 and `@rollup/plugin-commonjs` from v26 to v28
173
+ - Update `<ProposalVotingTabs />` module component to disable `Breakdown` and `Votes` tabs when voting status is not
174
+ active
175
+ - Bump `actions/setup-node` from 4.0.3 to 4.0.4
176
+ - Bump `actions/checkout` from 4.1.7 to 4.2.0
177
+ - Update minor and patch NPM dependencies
178
+ - Bump `@rollup/plugin-typescript` from v11 to v12 and `@rollup/plugin-commonjs` from v26 to v28
167
179
 
168
180
  ## [1.0.47] - 2024-09-23
169
181
 
170
182
  ### Added
171
183
 
172
- - Add optional `confirmationLabel` prop to the `VoteProposalDataListItem` component in order to pass a custom string
173
- when needed
174
- - Add new `xs` size for core `Avatar` component
184
+ - Add optional `confirmationLabel` prop to the `VoteProposalDataListItem` component in order to pass a custom string
185
+ when needed
186
+ - Add new `xs` size for core `Avatar` component
175
187
 
176
188
  ## [1.0.46] - 2024-09-21
177
189
 
178
190
  ### Added
179
191
 
180
- - Add `IconType.BLOCKCHAIN_WALLETCONNECT` and associated asset
181
- - Add `EmptyState` fallback to ProposalActions when no actions provided
182
- - Support `dropdownItems` property on `ProposalActions` module component to display custom actions
183
- - Update `ProposalActions` component to support `actionKey` property and forward `index` property to sub action
184
- components
192
+ - Add `IconType.BLOCKCHAIN_WALLETCONNECT` and associated asset
193
+ - Add `EmptyState` fallback to ProposalActions when no actions provided
194
+ - Support `dropdownItems` property on `ProposalActions` module component to display custom actions
195
+ - Update `ProposalActions` component to support `actionKey` property and forward `index` property to sub action
196
+ components
185
197
 
186
198
  ### Changed
187
199
 
188
- - Update layout of `EmptyState` for centering
189
- - Update `AccordionItem` border classes for usage within bordered containers
190
- - Update `ProposalAction` to handle an `EmptyState` fallback for no actions passed, improve layout of children with
191
- "Expand all" (eg. 'Execute actions' button, etc)
192
- - Update `DataListItem` component to support button rendering and standalone usage
193
- - Make `IProposalAction` type generic on ProposalAction module component to support actions with additional parameters
194
- when used inside a form (e.g. actions with an additional `index` parameter)
195
- - Update minor and patch versions of NPM dependencies
196
- - Bump `micromatch` from 4.0.7 to 4.0.8
197
- - Bump `webpack` from 5.91.0 to 5.94.0
198
- - Bump `actions/setup-python` from 5.1.1 to 5.2.0
199
- - Bump `express` from 4.19.2 to 4.21.0
200
+ - Update layout of `EmptyState` for centering
201
+ - Update `AccordionItem` border classes for usage within bordered containers
202
+ - Update `ProposalAction` to handle an `EmptyState` fallback for no actions passed, improve layout of children with
203
+ "Expand all" (eg. 'Execute actions' button, etc)
204
+ - Update `DataListItem` component to support button rendering and standalone usage
205
+ - Make `IProposalAction` type generic on ProposalAction module component to support actions with additional parameters
206
+ when used inside a form (e.g. actions with an additional `index` parameter)
207
+ - Update minor and patch versions of NPM dependencies
208
+ - Bump `micromatch` from 4.0.7 to 4.0.8
209
+ - Bump `webpack` from 5.91.0 to 5.94.0
210
+ - Bump `actions/setup-python` from 5.1.1 to 5.2.0
211
+ - Bump `express` from 4.19.2 to 4.21.0
200
212
 
201
213
  ### Fixed
202
214
 
203
- - Fix the `TextAreaRichText` core component to expose empty string as default value instead of empty paragraph
204
- - Update `DropdownItem` style to correctly render items with icons aligned on the left
215
+ - Fix the `TextAreaRichText` core component to expose empty string as default value instead of empty paragraph
216
+ - Update `DropdownItem` style to correctly render items with icons aligned on the left
205
217
 
206
218
  ## [1.0.45] - 2024-08-23
207
219
 
208
220
  ### Added
209
221
 
210
- - Update illustration SVGs with custom CSS color customizations
211
- - Add `isLoading` property to `<Spinner />` core component to render static spinners
212
- - Update the interfaces of the `<Dialog.Footer />` and `<DialogAlert.Footer />` core components to support the
213
- `disabled` and `isLoading` properties for the footer buttons
222
+ - Update illustration SVGs with custom CSS color customizations
223
+ - Add `isLoading` property to `<Spinner />` core component to render static spinners
224
+ - Update the interfaces of the `<Dialog.Footer />` and `<DialogAlert.Footer />` core components to support the
225
+ `disabled` and `isLoading` properties for the footer buttons
214
226
 
215
227
  ### Fixed
216
228
 
217
- - Use correct percentage formatting on `<AssetDataListItem />` module component
229
+ - Use correct percentage formatting on `<AssetDataListItem />` module component
218
230
 
219
231
  ## [1.0.44] - 2024-08-20
220
232
 
221
233
  ### Added
222
234
 
223
- - Implement `useRandomId` hook and update fields components to use it
224
- - Update `<TextAreaRichText />` core component to expose `immediatelyRender` property for SSR usage
225
- - Update `<RadioGroup />`, `<CheckboxGroup />` and `<Switch />` core components to render the `InputContainer`
226
- component and support the label, helpText, alert and isOptional properties.
235
+ - Implement `useRandomId` hook and update fields components to use it
236
+ - Update `<TextAreaRichText />` core component to expose `immediatelyRender` property for SSR usage
237
+ - Update `<RadioGroup />`, `<CheckboxGroup />` and `<Switch />` core components to render the `InputContainer` component
238
+ and support the label, helpText, alert and isOptional properties.
227
239
 
228
240
  ### Fixed
229
241
 
230
- - Update `<Wallet />` module component to correctly propagate custom `chainId` and `wagmi` configs to
231
- `<MemberAvatar />` component
232
- - Fix `FIAT_TOTAL_SHORT`, `FIAT_TOTAL_LONG`, `TOKEN_AMOUNT_SHORT` and `PERCENTAGE_SHORT` formats to truncate small
233
- numbers
234
- - Hide ens loader indicator on `<Wallet />` module component for mobile devices
235
- - Fix Storybook stories path of `<Checkbox />` core components
236
- - Move `<Radio />` core components under `/forms` folder
237
- - Fix `<InputFileAvatar />` props interface to only expose supported props
238
- - Fix customisation of `z-index` property on `<TextAreaRichText />` core component
242
+ - Update `<Wallet />` module component to correctly propagate custom `chainId` and `wagmi` configs to `<MemberAvatar />`
243
+ component
244
+ - Fix `FIAT_TOTAL_SHORT`, `FIAT_TOTAL_LONG`, `TOKEN_AMOUNT_SHORT` and `PERCENTAGE_SHORT` formats to truncate small
245
+ numbers
246
+ - Hide ens loader indicator on `<Wallet />` module component for mobile devices
247
+ - Fix Storybook stories path of `<Checkbox />` core components
248
+ - Move `<Radio />` core components under `/forms` folder
249
+ - Fix `<InputFileAvatar />` props interface to only expose supported props
250
+ - Fix customisation of `z-index` property on `<TextAreaRichText />` core component
239
251
 
240
252
  ### Changed
241
253
 
242
- - Default `type` attribute of `<Button />` core component to `button`
243
- - Rename `label` property on `<Switch />` core component to `inlineLabel` to also support the existing `label`
244
- property from the `InputContainer` component.
245
- - Update minor and patch NPM dependencies
246
- - Bump `elliptic` from `6.5.5` to `6.5.7`
254
+ - Default `type` attribute of `<Button />` core component to `button`
255
+ - Rename `label` property on `<Switch />` core component to `inlineLabel` to also support the existing `label` property
256
+ from the `InputContainer` component.
257
+ - Update minor and patch NPM dependencies
258
+ - Bump `elliptic` from `6.5.5` to `6.5.7`
247
259
 
248
260
  ## [1.0.43] - 2024-08-13
249
261
 
250
262
  ### Added
251
263
 
252
- - Add Aragon logo, remove dark background options and create custom theme using Aragon branding for ODS storybook
253
- - Update `OdsModulesProvider` to support `wagmiInitialState` configuration for Wagmi provider
264
+ - Add Aragon logo, remove dark background options and create custom theme using Aragon branding for ODS storybook
265
+ - Update `OdsModulesProvider` to support `wagmiInitialState` configuration for Wagmi provider
254
266
 
255
267
  ### Changed
256
268
 
257
- - Update `@typescript-eslint` packages to v8
258
- - Remove "Summary" section from `ProposalActionTokenMint` module component and update action interface to only support
259
- one receiver
260
- - Update minor and patch NPM dependencies
269
+ - Update `@typescript-eslint` packages to v8
270
+ - Remove "Summary" section from `ProposalActionTokenMint` module component and update action interface to only support
271
+ one receiver
272
+ - Update minor and patch NPM dependencies
261
273
 
262
274
  ## [1.0.42] - 2024-08-07
263
275
 
264
276
  ### Fixed
265
277
 
266
- - Hide minimum participation details on `ProposalVotingBreakdownToken` module component when minParticipation is set
267
- to zero
268
- - Correctly forward web3 params (e.g. `chainId`) to native `ProposalActions` components
269
- - Fix ENS name truncation on `<Wallet />` module component
270
- - Update `<Wallet />` module component to only resolve user ENS name when name property is not set
271
- - Fix expand behaviour of `TextAreaRichText` core component when used inside a dialog and hide the input label
272
- - Fix `NumberInput` component to correctly update values on plus / minus buttons click
273
- - Fix `ProposalVotingBreakdownToken` module component to display correct progress variant when min-participation and
274
- support are equal to the threshold required
278
+ - Hide minimum participation details on `ProposalVotingBreakdownToken` module component when minParticipation is set to
279
+ zero
280
+ - Correctly forward web3 params (e.g. `chainId`) to native `ProposalActions` components
281
+ - Fix ENS name truncation on `<Wallet />` module component
282
+ - Update `<Wallet />` module component to only resolve user ENS name when name property is not set
283
+ - Fix expand behaviour of `TextAreaRichText` core component when used inside a dialog and hide the input label
284
+ - Fix `NumberInput` component to correctly update values on plus / minus buttons click
285
+ - Fix `ProposalVotingBreakdownToken` module component to display correct progress variant when min-participation and
286
+ support are equal to the threshold required
275
287
 
276
288
  ### Added
277
289
 
278
- - Update `<Wallet />` module component to support custom `chainId` and `wagmi` configurations
279
- - Add z-index property customisation for `TextAreaRichText` core component when expanded
280
- - Handle `useFocusTrap` property on dialog components to support disabling default focus-trap behaviour
281
- - Add `AlertCard` to `ProposalActionsAction` to alert user when action will send native currency
282
- - Update `ICompositeAddress` interface and components using it to support custom avatar
283
- - Make `ProposalStatus` strings customisable
284
- - Implement and export `proposalStatusToVotingStatus` utility
285
- - Add 'Raw' and 'Decoded' views to `ProposalActions` module component
290
+ - Update `<Wallet />` module component to support custom `chainId` and `wagmi` configurations
291
+ - Add z-index property customisation for `TextAreaRichText` core component when expanded
292
+ - Handle `useFocusTrap` property on dialog components to support disabling default focus-trap behaviour
293
+ - Add `AlertCard` to `ProposalActionsAction` to alert user when action will send native currency
294
+ - Update `ICompositeAddress` interface and components using it to support custom avatar
295
+ - Make `ProposalStatus` strings customisable
296
+ - Implement and export `proposalStatusToVotingStatus` utility
297
+ - Add 'Raw' and 'Decoded' views to `ProposalActions` module component
286
298
 
287
299
  ### Changed
288
300
 
289
- - Update minor and patch NPM dependencies
290
- - Bump `postcss` from 8.4.40 to 8.4.41
291
- - Update `ProposalStatus` type to enum to align it with `ProposalVotingStatus` enum
301
+ - Update minor and patch NPM dependencies
302
+ - Bump `postcss` from 8.4.40 to 8.4.41
303
+ - Update `ProposalStatus` type to enum to align it with `ProposalVotingStatus` enum
292
304
 
293
305
  ## [1.0.41] - 2024-07-30
294
306
 
295
307
  ### Added
296
308
 
297
- - Export `VoteIndicator` type from `Vote` module
298
- - Update `useBlockExplorer` hook to export a `getBlockExplorer` function, update `buildEntityUrl` function to support
299
- a `chainId` parameter which overrides the `chainId` hook parameter
309
+ - Export `VoteIndicator` type from `Vote` module
310
+ - Update `useBlockExplorer` hook to export a `getBlockExplorer` function, update `buildEntityUrl` function to support a
311
+ `chainId` parameter which overrides the `chainId` hook parameter
300
312
 
301
313
  ### Changed
302
314
 
303
- - Update minor and patch NPM dependencies
315
+ - Update minor and patch NPM dependencies
304
316
 
305
317
  ## [1.0.40] - 2024-07-26
306
318
 
307
319
  ### Added
308
320
 
309
- - Implement `ProposalAction` and `ProposalVoting` module components
310
- - Handle `WithdrawToken`, `ChangeMembers`, `UpdateMetadata`, `ChangeSettings` and `TokenMint` actions on
311
- `ProposalActions` module component
312
- - Add optional `hideLabelTokenVoting` and `tokenSymbol` props to the `MemberDataListItemStructure` module component
313
- - Implement `invariant` core utility
321
+ - Implement `ProposalAction` and `ProposalVoting` module components
322
+ - Handle `WithdrawToken`, `ChangeMembers`, `UpdateMetadata`, `ChangeSettings` and `TokenMint` actions on
323
+ `ProposalActions` module component
324
+ - Add optional `hideLabelTokenVoting` and `tokenSymbol` props to the `MemberDataListItemStructure` module component
325
+ - Implement `invariant` core utility
314
326
 
315
327
  ### Changed
316
328
 
317
- - Renamed `votingPower` prop to `tokenAmount` in the `MemberDataListItemStructure` module component
318
- - Update interface for `Accordion.Container` to expose value prop
319
- - Update styles on `Tabs.List` for latest spec
320
- - Rename `indicator` property of `<Progress />` core component to `thresholdIndicator` and set `data-value` property
321
- to indicator component to easier test its value
322
- - Bump `softprops/action-gh-release` from 2.0.6 to 2.0.8
323
- - Bump `ws` from 7.5.9 to 7.5.10
324
- - Update minor and patch NPM dependencies
329
+ - Renamed `votingPower` prop to `tokenAmount` in the `MemberDataListItemStructure` module component
330
+ - Update interface for `Accordion.Container` to expose value prop
331
+ - Update styles on `Tabs.List` for latest spec
332
+ - Rename `indicator` property of `<Progress />` core component to `thresholdIndicator` and set `data-value` property to
333
+ indicator component to easier test its value
334
+ - Bump `softprops/action-gh-release` from 2.0.6 to 2.0.8
335
+ - Bump `ws` from 7.5.9 to 7.5.10
336
+ - Update minor and patch NPM dependencies
325
337
 
326
338
  ### Fixed
327
339
 
328
- - Update `ProposalDataListItem` module component to avoid showing `null` when date property is not defined
329
- - Fix `DURATION` date format to use the date locale set on the formatter
340
+ - Update `ProposalDataListItem` module component to avoid showing `null` when date property is not defined
341
+ - Fix `DURATION` date format to use the date locale set on the formatter
330
342
 
331
343
  ## [1.0.39] - 2024-07-16
332
344
 
333
345
  ### Changed
334
346
 
335
- - Update minor and patch NPM dependencies
336
- - Update `useBlockExplorer` hook to return information about the block explorer
347
+ - Update minor and patch NPM dependencies
348
+ - Update `useBlockExplorer` hook to return information about the block explorer
337
349
 
338
350
  ## [1.0.38] - 2024-07-16
339
351
 
340
352
  ### Added
341
353
 
342
- - Add new `variant` prop to core `Progress` component, which defaults to `primary`
343
- - Add new optional `indicator` prop to core `Progress` component
344
- - Add reset filter functionality to `DataListFilter` core component
354
+ - Add new `variant` prop to core `Progress` component, which defaults to `primary`
355
+ - Add new optional `indicator` prop to core `Progress` component
356
+ - Add reset filter functionality to `DataListFilter` core component
345
357
 
346
358
  ### Fixed
347
359
 
348
- - Remove fixed width from `EmptyState` core component
349
- - Center `CardEmptyState` core component
350
- - Truncate long strings on `DaoDataListItem`, `AssetDataListItem`, `VoteDataListItem` module components
351
- - Fix errors and warnings thrown on component tests
360
+ - Remove fixed width from `EmptyState` core component
361
+ - Center `CardEmptyState` core component
362
+ - Truncate long strings on `DaoDataListItem`, `AssetDataListItem`, `VoteDataListItem` module components
363
+ - Fix errors and warnings thrown on component tests
352
364
 
353
365
  ### Changed
354
366
 
355
- - Bump `prettier-plugin-organize-imports` to 4.0.0
356
- - Update minor and patch NPM dependencies
357
- - Update minor and patch Github workflow dependencies
367
+ - Bump `prettier-plugin-organize-imports` to 4.0.0
368
+ - Update minor and patch NPM dependencies
369
+ - Update minor and patch Github workflow dependencies
358
370
 
359
371
  ## [1.0.37] - 2024-07-08
360
372
 
361
373
  ### Changed
362
374
 
363
- - Format dates with `formatterUtils` within components
364
- - Update minor and patch NPM dependencies
375
+ - Format dates with `formatterUtils` within components
376
+ - Update minor and patch NPM dependencies
365
377
 
366
378
  ## [1.0.36] - 2024-06-28
367
379
 
368
380
  ### Changed
369
381
 
370
- - Reduce the use of controlled components in stories to improve code visibility in Storybook
371
- - Export `DateFormat` and additional types for handling dates with the `FormatterUtils`
372
- - Update required parameters of `useBlockExplorer` hook, implement enum for chain entity types
382
+ - Reduce the use of controlled components in stories to improve code visibility in Storybook
383
+ - Export `DateFormat` and additional types for handling dates with the `FormatterUtils`
384
+ - Update required parameters of `useBlockExplorer` hook, implement enum for chain entity types
373
385
 
374
386
  ## [1.0.35] - 2024-06-28
375
387
 
376
388
  ### Added
377
389
 
378
- - Implement `VoteProposalDataListItem` with Structure and Skeleton module
379
- - Add `useBlockExplorer` hook to generate block explorer links
380
- - Add `formatDate` utility function to `formatterUtils` to format dates
381
- - Add support for copy customization
382
- - Add `contentClassNames` property to `Dropdown.Container` component to support custom max width
390
+ - Implement `VoteProposalDataListItem` with Structure and Skeleton module
391
+ - Add `useBlockExplorer` hook to generate block explorer links
392
+ - Add `formatDate` utility function to `formatterUtils` to format dates
393
+ - Add support for copy customization
394
+ - Add `contentClassNames` property to `Dropdown.Container` component to support custom max width
383
395
 
384
396
  ### Changed
385
397
 
386
- - Remove Radix props dependency
387
- - Update minor and patch Github action dependencies
388
- - Update minor and patch NPM dependencies
389
- - Revert to using `react-docgen-typescript` for Storybook documentation generation
398
+ - Remove Radix props dependency
399
+ - Update minor and patch Github action dependencies
400
+ - Update minor and patch NPM dependencies
401
+ - Revert to using `react-docgen-typescript` for Storybook documentation generation
390
402
 
391
403
  ## [1.0.34] - 2024-06-21
392
404
 
393
405
  ### Fixed
394
406
 
395
- - Ensure `MemberAvatar` component only creates the blockies url on client environment
407
+ - Ensure `MemberAvatar` component only creates the blockies url on client environment
396
408
 
397
409
  ### Changed
398
410
 
399
- - Bump `@rollup/plugin-commonjs` from `25.0.8` to `26.0.1`
400
- - Update minor and patch dependencies of Github workflows
401
- - Update minor and patch NPM dependencies
402
- - Update `yarn` version to `4.3.0`
403
- - Update unit tests to use userEvent instead of fireEvent
404
- - Move all form items under a `forms` folder
405
- - Upgrade storybook to v8
406
- - Update `MemberDataListItem` component to support `votingPower` property set as string
411
+ - Bump `@rollup/plugin-commonjs` from `25.0.8` to `26.0.1`
412
+ - Update minor and patch dependencies of Github workflows
413
+ - Update minor and patch NPM dependencies
414
+ - Update `yarn` version to `4.3.0`
415
+ - Update unit tests to use userEvent instead of fireEvent
416
+ - Move all form items under a `forms` folder
417
+ - Upgrade storybook to v8
418
+ - Update `MemberDataListItem` component to support `votingPower` property set as string
407
419
 
408
420
  ### Added
409
421
 
410
- - Handle new `layoutClassnames` property on `DataList.Container` component to simplify implementation of custom
411
- `DataList` layouts
412
- - Create `ssrUtils` core utilities
422
+ - Handle new `layoutClassnames` property on `DataList.Container` component to simplify implementation of custom
423
+ `DataList` layouts
424
+ - Create `ssrUtils` core utilities
413
425
 
414
426
  ## [1.0.33] - 2024-06-06
415
427
 
416
428
  ### Fixed
417
429
 
418
- - Correctly export `Collapsible` core component
430
+ - Correctly export `Collapsible` core component
419
431
 
420
432
  ## [1.0.32] - 2024-06-04
421
433
 
422
434
  ### Added
423
435
 
424
- - Implement `Wallet` module component
425
- - Implement `VoteDataListItem` with Structure and Skeleton module
426
- - Implement `ghost` variant for `Button` component
427
- - Implement `primaryInverted` variant for `Spinner` component
436
+ - Implement `Wallet` module component
437
+ - Implement `VoteDataListItem` with Structure and Skeleton module
438
+ - Implement `ghost` variant for `Button` component
439
+ - Implement `primaryInverted` variant for `Spinner` component
428
440
 
429
441
  ### Changed
430
442
 
431
- - Update minor and patch NPM dependencies
432
- - Update `yarn` version from `4.1.1` to `4.2.2`
433
- - Bump `@testing-library/react` from `15.0.7` to `16.0.0`
434
- - Update sizes of `Avatar` core component
435
- - Update style of `Button`, `CheckboxCard`, `InputContainer`, `RadioCard`, `Spinner` and `Switch` components
436
- - Cleanup size class definitions to use `size-*` instead of `h-* w-*`
437
- - Cleanup `shink-0` class usage across components
438
- - Add `data-testid` attribute to svg files
443
+ - Update minor and patch NPM dependencies
444
+ - Update `yarn` version from `4.1.1` to `4.2.2`
445
+ - Bump `@testing-library/react` from `15.0.7` to `16.0.0`
446
+ - Update sizes of `Avatar` core component
447
+ - Update style of `Button`, `CheckboxCard`, `InputContainer`, `RadioCard`, `Spinner` and `Switch` components
448
+ - Cleanup size class definitions to use `size-*` instead of `h-* w-*`
449
+ - Cleanup `shink-0` class usage across components
450
+ - Add `data-testid` attribute to svg files
439
451
 
440
452
  ### Fixed
441
453
 
442
- - Fix responsiveness classes and utilities to support style for screens below `sm` breakpoint
443
- - Export module utilities
454
+ - Fix responsiveness classes and utilities to support style for screens below `sm` breakpoint
455
+ - Export module utilities
444
456
 
445
457
  ## [1.0.31] - 2024-05-24
446
458
 
447
459
  ### Fixed
448
460
 
449
- - Update library exports to support `require` calls
461
+ - Update library exports to support `require` calls
450
462
 
451
463
  ## [1.0.30] - 2024-05-24
452
464
 
453
465
  ### Fixed
454
466
 
455
- - Export `DefinitionList` core component
467
+ - Export `DefinitionList` core component
456
468
 
457
469
  ## [1.0.29] - 2024-05-24
458
470
 
459
471
  ### Added
460
472
 
461
- - Implement `DefinitionList` core component
462
- - Implement `TransactionDataListItem.Skeleton` module component
463
- - Implement `OdsCoreProvider`, `LinkBase` and `AvatarBase` core components to support `Link` and `Image` NextJs
464
- components.
473
+ - Implement `DefinitionList` core component
474
+ - Implement `TransactionDataListItem.Skeleton` module component
475
+ - Implement `OdsCoreProvider`, `LinkBase` and `AvatarBase` core components to support `Link` and `Image` NextJs
476
+ components.
465
477
 
466
478
  ### Changed
467
479
 
468
- - Bump NPM minor and patch dependencies
469
- - Bump minor and patch dependencies of Github workflows
470
- - Expose `onValueChange` property on `Accordion` core component
471
- - Update type extensions for `Tabs.Root` core component to allow forward ref
472
- - Update `OdsModulesProvider` component to render the `OdsCoreProvider` context.
480
+ - Bump NPM minor and patch dependencies
481
+ - Bump minor and patch dependencies of Github workflows
482
+ - Expose `onValueChange` property on `Accordion` core component
483
+ - Update type extensions for `Tabs.Root` core component to allow forward ref
484
+ - Update `OdsModulesProvider` component to render the `OdsCoreProvider` context.
473
485
 
474
486
  ## [1.0.28] - 2024-05-16
475
487
 
476
488
  ### Added
477
489
 
478
- - Implement `MemberDataListItem.Skeleton`, `AssetDataListItem.Skeleton`, and `DaoDataListItem.Skeleton` module
479
- components
480
- - Implement `Tabs` core component
481
- - Custom CSS property added for `Collapsible` to adjust z-index
490
+ - Implement `MemberDataListItem.Skeleton`, `AssetDataListItem.Skeleton`, and `DaoDataListItem.Skeleton` module
491
+ components
492
+ - Implement `Tabs` core component
493
+ - Custom CSS property added for `Collapsible` to adjust z-index
482
494
 
483
495
  ### Fixed
484
496
 
485
- - Prose styling to match design system, better handling for `<code>` elements
486
- - Move z-index on Collapsible optional overlay to CSS as 'auto'
487
- - Fixed disabled styling of AvatarIcon for disabled `AccordionItem`
497
+ - Prose styling to match design system, better handling for `<code>` elements
498
+ - Move z-index on Collapsible optional overlay to CSS as 'auto'
499
+ - Fixed disabled styling of AvatarIcon for disabled `AccordionItem`
488
500
 
489
501
  ## [1.0.27] - 2024-05-08
490
502
 
491
503
  ### Added
492
504
 
493
- - Implement `Collapsible`, and `CardCollapsible` core components
505
+ - Implement `Collapsible`, and `CardCollapsible` core components
494
506
 
495
507
  ## [1.0.26] - 2024-05-06
496
508
 
497
509
  ### Added
498
510
 
499
- - Implement `DocumentParser` and `Accordion` core component
511
+ - Implement `DocumentParser` and `Accordion` core component
500
512
 
501
513
  ### Changed
502
514
 
503
- - Bump `actions/checkout` from 4.1.3 to 4.1.4
504
- - Bump `peter-evans/find-comment` from 2.4.0 to 3.1.0
505
- - Bump `actions/github-script` from 6.4.1 to 7.0.1
506
- - Bump `ejs` from 3.1.9 to 3.1.10
507
- - Bump minor and patch dependencies
515
+ - Bump `actions/checkout` from 4.1.3 to 4.1.4
516
+ - Bump `peter-evans/find-comment` from 2.4.0 to 3.1.0
517
+ - Bump `actions/github-script` from 6.4.1 to 7.0.1
518
+ - Bump `ejs` from 3.1.9 to 3.1.10
519
+ - Bump minor and patch dependencies
508
520
 
509
521
  ## [1.0.25] - 2024-04-24
510
522
 
511
523
  ### Added
512
524
 
513
- - Setup `Dependabot` to keep dependencies updated
525
+ - Setup `Dependabot` to keep dependencies updated
514
526
 
515
527
  ### Changed
516
528
 
517
- - Set `yarn` version to v4 and update publish workflow
518
- - Update Dependabot config to group Github actions dependencies and fix Storybook group
519
- - Bump `mindsers/changelog-reader-action` from 2.2.2 to 2.2.3
520
- - Bump `peter-evans/create-or-update-comment` from 2 to 4.0.0
521
- - Bump `actions/setup-python` from 4.6.1 to 5.1.0
522
- - Bump `actions/setup-node` from 3.6.0 to 4.0.2
523
- - Bump `softprops/action-gh-release` from 0.1.15 to 2.0.4
524
- - Bump `dangoslen/changelog-enforcer` from 3.5.0 to 3.6.1
525
- - Bump `actions/checkout` from 3.5.3 to 4.1.3
526
- - Bump minimum Node version required from 18.18 to 20
527
- - Bump minor and patch dependencies
529
+ - Set `yarn` version to v4 and update publish workflow
530
+ - Update Dependabot config to group Github actions dependencies and fix Storybook group
531
+ - Bump `mindsers/changelog-reader-action` from 2.2.2 to 2.2.3
532
+ - Bump `peter-evans/create-or-update-comment` from 2 to 4.0.0
533
+ - Bump `actions/setup-python` from 4.6.1 to 5.1.0
534
+ - Bump `actions/setup-node` from 3.6.0 to 4.0.2
535
+ - Bump `softprops/action-gh-release` from 0.1.15 to 2.0.4
536
+ - Bump `dangoslen/changelog-enforcer` from 3.5.0 to 3.6.1
537
+ - Bump `actions/checkout` from 3.5.3 to 4.1.3
538
+ - Bump minimum Node version required from 18.18 to 20
539
+ - Bump minor and patch dependencies
528
540
 
529
541
  ### Fixed
530
542
 
531
- - `ProposalDataListItemStructure` module component to clamp title to one line
532
- - Warnings on Github workflows for using deprecated yarn options
533
- - Warnings on tests because of `@testing-library/dom` version mismatch
543
+ - `ProposalDataListItemStructure` module component to clamp title to one line
544
+ - Warnings on Github workflows for using deprecated yarn options
545
+ - Warnings on tests because of `@testing-library/dom` version mismatch
534
546
 
535
547
  ## [1.0.24] - 2024-04-23
536
548
 
537
549
  ### Added
538
550
 
539
- - Implement `ProposalDataListItemSkeleton` module component
540
- - Extend `addressUtils` with `isAddressEqual` method
551
+ - Implement `ProposalDataListItemSkeleton` module component
552
+ - Extend `addressUtils` with `isAddressEqual` method
541
553
 
542
554
  ### Changed
543
555
 
544
- - Remove padding from `DataListContainer`, `DataListFilterStatus`, `DataListPagination` and `DataListRoot`
545
- - Add `stageId` and `stageTitle` properties to `IApprovalThresholdResult` & `IMajorityVotingResult` interfaces
546
- - Add `id` and optional `tag` properties to `ProposalDataListItemStructure`
547
- - Remove `publisherProfileLink` and `protocolUpdate` properties from `ProposalDataListItemStructure`
548
- - Update `date` and `result` properties of `ProposalDataListItemStructure` to be optional and `publisher` to allow for
549
- multiple publishers
556
+ - Remove padding from `DataListContainer`, `DataListFilterStatus`, `DataListPagination` and `DataListRoot`
557
+ - Add `stageId` and `stageTitle` properties to `IApprovalThresholdResult` & `IMajorityVotingResult` interfaces
558
+ - Add `id` and optional `tag` properties to `ProposalDataListItemStructure`
559
+ - Remove `publisherProfileLink` and `protocolUpdate` properties from `ProposalDataListItemStructure`
560
+ - Update `date` and `result` properties of `ProposalDataListItemStructure` to be optional and `publisher` to allow for
561
+ multiple publishers
550
562
 
551
563
  ### Fixed
552
564
 
553
- - `Link` core component to truncate on overflow
565
+ - `Link` core component to truncate on overflow
554
566
 
555
567
  ## [1.0.23] - 2024-04-18
556
568
 
557
569
  ### Added
558
570
 
559
- - Implement `Breadcrumbs`, `StateSkeletonBar`, and `StateSkeletonCircular` core components
560
- - Added `slash` icon file
571
+ - Implement `Breadcrumbs`, `StateSkeletonBar`, and `StateSkeletonCircular` core components
572
+ - Added `slash` icon file
561
573
 
562
574
  ### Changed
563
575
 
564
- - Update minor and patch dependencies
565
- - Update `@testing-library/react` to v15
566
- - Adjusted active and hover start styling on `AssetTransfer` module component
567
- - Export all components to allow usage without dot-notation
576
+ - Update minor and patch dependencies
577
+ - Update `@testing-library/react` to v15
578
+ - Adjusted active and hover start styling on `AssetTransfer` module component
579
+ - Export all components to allow usage without dot-notation
568
580
 
569
581
  ## [1.0.22] - 2024-04-12
570
582
 
571
583
  ### Added
572
584
 
573
- - Implement `AssetTransfer` module component
585
+ - Implement `AssetTransfer` module component
574
586
 
575
587
  ### Changed
576
588
 
577
- - Update `README` logo
578
- - Bump `tar` from 6.2.0 to 6.2.1
579
- - Drop `common-js` support
589
+ - Update `README` logo
590
+ - Bump `tar` from 6.2.0 to 6.2.1
591
+ - Drop `common-js` support
580
592
 
581
593
  ## [1.0.21] - 2024-04-04
582
594
 
583
595
  ### Added
584
596
 
585
- - Implement `DaoDataListItem.Structure`, `ProposalDataListItem.Structure`, `TransactionDataListItem.Structure`,
586
- `MemberDataListItem.Structure`, `AssetDataListItem.Structure`, and `AddressInput` module components
587
- - Implement `StatePingAnimation` core component
588
- - Implement `addressUtils` and `ensUtils` module utilities
589
- - Implement `useDebouncedValue` core hook and `clipboardUtils` core utility
590
- - Support `withSign` option on formatter
597
+ - Implement `DaoDataListItem.Structure`, `ProposalDataListItem.Structure`, `TransactionDataListItem.Structure`,
598
+ `MemberDataListItem.Structure`, `AssetDataListItem.Structure`, and `AddressInput` module components
599
+ - Implement `StatePingAnimation` core component
600
+ - Implement `addressUtils` and `ensUtils` module utilities
601
+ - Implement `useDebouncedValue` core hook and `clipboardUtils` core utility
602
+ - Support `withSign` option on formatter
591
603
 
592
604
  ### Changed
593
605
 
594
- - Update `Tag` component primary variant styling
595
- - Update Eslint rules to align usage of boolean properties
596
- - Update default query-client options to set a stale time greater than 0
597
- - Bump `webpack-dev-middleware` from 6.1.1 to 6.1.2
598
- - Bump `express` from 4.18.2 to 4.19.2 #132
606
+ - Update `Tag` component primary variant styling
607
+ - Update Eslint rules to align usage of boolean properties
608
+ - Update default query-client options to set a stale time greater than 0
609
+ - Bump `webpack-dev-middleware` from 6.1.1 to 6.1.2
610
+ - Bump `express` from 4.18.2 to 4.19.2 #132
599
611
 
600
612
  ### Fixed
601
613
 
602
- - Reexport module components
603
- - Library build process to avoid bundling dependencies and peer-dependencies when using subfolders import (e.g.
604
- `wagmi/chains`)
605
- - Formatter utility to support negative numbers
614
+ - Reexport module components
615
+ - Library build process to avoid bundling dependencies and peer-dependencies when using subfolders import (e.g.
616
+ `wagmi/chains`)
617
+ - Formatter utility to support negative numbers
606
618
 
607
619
  ## [1.0.20] - 2024-03-13
608
620
 
609
621
  ### Fixed
610
622
 
611
- - Fix library build to avoid bundling peer dependencies
612
- - Remove export of module components until the Aragon App migrates to Wagmi v2
623
+ - Fix library build to avoid bundling peer dependencies
624
+ - Remove export of module components until the Aragon App migrates to Wagmi v2
613
625
 
614
626
  ## [1.0.19] - 2024-03-13
615
627
 
616
628
  ### Added
617
629
 
618
- - Implement animations for `Dialog` and `DialogAlert` components
619
- - Implement `DaoAvatar` and `MemberAvatar` module components
620
- - Implement `OdsModulesProvider` for using wagmi hooks on modules components
621
- - Introduce component customisations for the z-index property of the `Dropdown` and `Dialogs` components
630
+ - Implement animations for `Dialog` and `DialogAlert` components
631
+ - Implement `DaoAvatar` and `MemberAvatar` module components
632
+ - Implement `OdsModulesProvider` for using wagmi hooks on modules components
633
+ - Introduce component customisations for the z-index property of the `Dropdown` and `Dialogs` components
622
634
 
623
635
  ### Changed
624
636
 
625
- - Update library structure to support module components
626
- - Update documentation about how to install the library
627
- - Update minor and patch dependencies
628
- - Update `@typescript-eslint` and `eslint-plugin-storybook` dependencies
629
- - Set minimum required node version to 18.18.0 (required by `@typescript-eslint` v7)
630
- - Update documentation on modules components
631
- - Update required dependencies, move `react` and `react-dom` to peer dependencies
637
+ - Update library structure to support module components
638
+ - Update documentation about how to install the library
639
+ - Update minor and patch dependencies
640
+ - Update `@typescript-eslint` and `eslint-plugin-storybook` dependencies
641
+ - Set minimum required node version to 18.18.0 (required by `@typescript-eslint` v7)
642
+ - Update documentation on modules components
643
+ - Update required dependencies, move `react` and `react-dom` to peer dependencies
632
644
 
633
645
  ## [1.0.18] - 2024-02-29
634
646
 
635
647
  ### Fixed
636
648
 
637
- - Usage of `Dropdown` component inside a `Dialog` component
638
- - Remove auto-focus to `Dropdown` trigger to avoid closing dialogs on `DropdownItem` click
649
+ - Usage of `Dropdown` component inside a `Dialog` component
650
+ - Remove auto-focus to `Dropdown` trigger to avoid closing dialogs on `DropdownItem` click
639
651
 
640
652
  ## [1.0.17] - 2024-02-28
641
653
 
642
654
  ### Added
643
655
 
644
- - Implement `DataList` component
645
- - Handling of responsive sizes to `Progress` component
656
+ - Implement `DataList` component
657
+ - Handling of responsive sizes to `Progress` component
646
658
 
647
659
  ### Changed
648
660
 
649
- - Update `eslint` rules to enforce no circular dependencies
661
+ - Update `eslint` rules to enforce no circular dependencies
650
662
 
651
663
  ### Fixed
652
664
 
653
- - `CardEmptyState` component to horizontally center content
654
- - Spacings of `EmptyState` component when being stacked and having an object illustration
655
- - Typos on documentation and comments
665
+ - `CardEmptyState` component to horizontally center content
666
+ - Spacings of `EmptyState` component when being stacked and having an object illustration
667
+ - Typos on documentation and comments
656
668
 
657
669
  ### Removed
658
670
 
659
- - `ActionItem` component
671
+ - `ActionItem` component
660
672
 
661
673
  ## [1.0.16] - 2024-02-27
662
674
 
663
675
  ### Added
664
676
 
665
- - Add `customTrigger` and `align` properties to Dropdown component
666
- - Implement `DialogAlert` and `Dialog` components
677
+ - Add `customTrigger` and `align` properties to Dropdown component
678
+ - Implement `DialogAlert` and `Dialog` components
667
679
 
668
680
  ### Fixed
669
681
 
670
- - `Icon` styling to prevent shrinking
671
- - Correct `IconType.MINUS` icon for InputNumber component
682
+ - `Icon` styling to prevent shrinking
683
+ - Correct `IconType.MINUS` icon for InputNumber component
672
684
 
673
685
  ## [1.0.15] - 2024-02-23
674
686
 
675
687
  ### Changed
676
688
 
677
- - Add `disabled` and `isLoading` properties to Button component, remove `state` property
678
- - Update `AlertCard` component to accept any ReactNode as `description` property
679
- - Rename `isDisabled` property of input components to `disabled`
680
- - Bump `ip` library from 2.0.0 to 2.0.1
689
+ - Add `disabled` and `isLoading` properties to Button component, remove `state` property
690
+ - Update `AlertCard` component to accept any ReactNode as `description` property
691
+ - Rename `isDisabled` property of input components to `disabled`
692
+ - Bump `ip` library from 2.0.0 to 2.0.1
681
693
 
682
694
  ## [1.0.14] - 2024-02-20
683
695
 
684
696
  ### Added
685
697
 
686
- - Implement `Heading`, `InputFileAvatar` and `Dropdown` components
687
- - All SVGs have new designs/code implemented with "currentColor" fill, 16x16 mask
688
- - Added `richtext-heading`, `blockchain-block`, `app-transactions`, `logout`, `critical` and `sort-desc` icon files
689
- - Ref property handling on `Button` component
698
+ - Implement `Heading`, `InputFileAvatar` and `Dropdown` components
699
+ - All SVGs have new designs/code implemented with "currentColor" fill, 16x16 mask
700
+ - Added `richtext-heading`, `blockchain-block`, `app-transactions`, `logout`, `critical` and `sort-desc` icon files
701
+ - Ref property handling on `Button` component
690
702
 
691
703
  ### Removed
692
704
 
693
- - Removed `radio-pause`, `switch`, `tx-failure`, `turn-off` and `update` icon files
694
-
695
- ### Changed
696
-
697
- - Renamed `menu-vertical` to `dots-vertical`
698
- - Renamed `menu-horizontal` to `dots-horizontal`
699
- - Renamed `menu-default` to `menu`
700
- - Renamed `sort` to `sort-asc`
701
- - Renamed `add` to `plus`
702
- - Renamed `remove` to `minus`
703
- - Renamed `question` to `help`
704
- - Renamed `radio-cancel` to `remove`
705
- - Renamed `radio-default` to `radio`
706
- - Renamed `radio-check` to `success`
707
- - Renamed `checkbox-multi` to `checkbox-indeterminate`
708
- - Renamed `checkbox-default` to `checkbox`
709
- - Renamed `tx-smart-contract` to `blockchain-smartcontract`
710
- - Renamed `tx-deposit` to `deposit`
711
- - Renamed `tx-withdraw` to `withdraw`
712
- - Renamed `app-finance` to `app-assets`
713
- - Renamed `app-governance` to `app-proposals`
714
- - Renamed `app-community` to `app-members`
715
- - Renamed `explore` to `app-explore`
716
- - Renamed `dashboard` to `app-dashboard`
717
- - Renamed `blockchain` to `blockchain-blockchain`
718
- - Renamed `gas-fee` to `blockchain-gasfee`
719
- - Renamed `wysiwyg-bold` to `richtext-bold`
720
- - Renamed `wysiwyg-italic` to `richtext-italic`
721
- - Renamed `wysiwyg-link-set` to `richtext-link-add`
722
- - Renamed `wysiwyg-link-unset` to `richtext-link-remove`
723
- - Renamed `wysiwyg-list-ordered` to `richtext-list-ordered`
724
- - Renamed `wysiwyg-list-unordered` to `richtext-list-unordered`
705
+ - Removed `radio-pause`, `switch`, `tx-failure`, `turn-off` and `update` icon files
706
+
707
+ ### Changed
708
+
709
+ - Renamed `menu-vertical` to `dots-vertical`
710
+ - Renamed `menu-horizontal` to `dots-horizontal`
711
+ - Renamed `menu-default` to `menu`
712
+ - Renamed `sort` to `sort-asc`
713
+ - Renamed `add` to `plus`
714
+ - Renamed `remove` to `minus`
715
+ - Renamed `question` to `help`
716
+ - Renamed `radio-cancel` to `remove`
717
+ - Renamed `radio-default` to `radio`
718
+ - Renamed `radio-check` to `success`
719
+ - Renamed `checkbox-multi` to `checkbox-indeterminate`
720
+ - Renamed `checkbox-default` to `checkbox`
721
+ - Renamed `tx-smart-contract` to `blockchain-smartcontract`
722
+ - Renamed `tx-deposit` to `deposit`
723
+ - Renamed `tx-withdraw` to `withdraw`
724
+ - Renamed `app-finance` to `app-assets`
725
+ - Renamed `app-governance` to `app-proposals`
726
+ - Renamed `app-community` to `app-members`
727
+ - Renamed `explore` to `app-explore`
728
+ - Renamed `dashboard` to `app-dashboard`
729
+ - Renamed `blockchain` to `blockchain-blockchain`
730
+ - Renamed `gas-fee` to `blockchain-gasfee`
731
+ - Renamed `wysiwyg-bold` to `richtext-bold`
732
+ - Renamed `wysiwyg-italic` to `richtext-italic`
733
+ - Renamed `wysiwyg-link-set` to `richtext-link-add`
734
+ - Renamed `wysiwyg-link-unset` to `richtext-link-remove`
735
+ - Renamed `wysiwyg-list-ordered` to `richtext-list-ordered`
736
+ - Renamed `wysiwyg-list-unordered` to `richtext-list-unordered`
725
737
 
726
738
  ## [1.0.13] - 2024-02-14
727
739
 
728
740
  ### Added
729
741
 
730
- - Implement `Tooltip` component
742
+ - Implement `Tooltip` component
731
743
 
732
744
  ### Changed
733
745
 
734
- - Update minor and patch versions of dependencies
746
+ - Update minor and patch versions of dependencies
735
747
 
736
748
  ### Fixed
737
749
 
738
- - Style of `Progress` component to make it full width
750
+ - Style of `Progress` component to make it full width
739
751
 
740
752
  ## [1.0.12] - 2024-02-12
741
753
 
742
754
  ### Added
743
755
 
744
- - Implement `CardEmptyState`, `EmptyState`, `Checkbox`, `CheckboxGroup`, `CheckboxCard`, `RadioGroup`, `Radio`, and
745
- `RadioCard` components
746
- - Export all component types
747
- - Handle style transitions on `ActionItem`, `Button` and `Toggle` components
748
- - Property `defaultValue` to `ToggleGroup` component to set an initial value for uncontrolled usage
749
- - `shadow-info` Tailwind CSS utility class and documentationonents
750
- - Ref forwarding to `InputNumber`, `InputSearch`, `InputText` and `TextArea` components
756
+ - Implement `CardEmptyState`, `EmptyState`, `Checkbox`, `CheckboxGroup`, `CheckboxCard`, `RadioGroup`, `Radio`, and
757
+ `RadioCard` components
758
+ - Export all component types
759
+ - Handle style transitions on `ActionItem`, `Button` and `Toggle` components
760
+ - Property `defaultValue` to `ToggleGroup` component to set an initial value for uncontrolled usage
761
+ - `shadow-info` Tailwind CSS utility class and documentationonents
762
+ - Ref forwarding to `InputNumber`, `InputSearch`, `InputText` and `TextArea` components
751
763
 
752
764
  ### Fixed
753
765
 
754
- - Storybook stories to only use the component's required properties on `default` stories
755
- - `Button` component to render a button element when the `href` property is set to `undefined`
756
- - Hide clear icon on `InputSearch` component when disabled
766
+ - Storybook stories to only use the component's required properties on `default` stories
767
+ - `Button` component to render a button element when the `href` property is set to `undefined`
768
+ - Hide clear icon on `InputSearch` component when disabled
757
769
 
758
770
  ### Changed
759
771
 
760
- - Implement new style for `AlertCard`, `Spinner`, `Switch`, `InputContainer`, `Toggle` and `Tag` components
761
- - Mark variant property of `AlertInline` and `AlertCard` components as optional and set it to `info` by default
762
- - Remove border color from `Card` component, update style of `CardSummary` component as for new design
763
- - Set default properties to `Button` and `Spinner` components
764
- - Hide date picker indicator when `InputDate` component is disabled
765
- - Update `InputNumber` component to handle prefix and suffix properties through `react-imask`
766
- - Align cursor style of disabled components
767
- - Update line-height and height of `TextArea` and `TextAreaRichText` components
772
+ - Implement new style for `AlertCard`, `Spinner`, `Switch`, `InputContainer`, `Toggle` and `Tag` components
773
+ - Mark variant property of `AlertInline` and `AlertCard` components as optional and set it to `info` by default
774
+ - Remove border color from `Card` component, update style of `CardSummary` component as for new design
775
+ - Set default properties to `Button` and `Spinner` components
776
+ - Hide date picker indicator when `InputDate` component is disabled
777
+ - Update `InputNumber` component to handle prefix and suffix properties through `react-imask`
778
+ - Align cursor style of disabled components
779
+ - Update line-height and height of `TextArea` and `TextAreaRichText` components
768
780
 
769
781
  ## [1.0.11] - 2024-02-06
770
782
 
771
783
  ### Fixed
772
784
 
773
- - Properly export ESM/CJS library depending on current environment and fix CJS build
785
+ - Properly export ESM/CJS library depending on current environment and fix CJS build
774
786
 
775
787
  ## [1.0.10] - 2024-02-05
776
788
 
777
789
  ### Added
778
790
 
779
- - Implement `Link`, `InputNumber`, `InputTime`, `TextArea` and `TextAreaRichText` components
780
- - Implement Addon element for `InputText` component
781
- - Handle size property on `Progress` component
782
- - `border-none` Tailwind CSS utility class
791
+ - Implement `Link`, `InputNumber`, `InputTime`, `TextArea` and `TextAreaRichText` components
792
+ - Implement Addon element for `InputText` component
793
+ - Handle size property on `Progress` component
794
+ - `border-none` Tailwind CSS utility class
783
795
 
784
796
  ### Changed
785
797
 
786
- - Update minor and patch versions of dependencies
787
- - Update `husky` to v9
788
- - Add `wrapperClassName` property to `InputContainer` component to customise the input wrapper
789
- - Update `InputContainer` props to accept any HTML div property and support textarea elements
798
+ - Update minor and patch versions of dependencies
799
+ - Update `husky` to v9
800
+ - Add `wrapperClassName` property to `InputContainer` component to customise the input wrapper
801
+ - Update `InputContainer` props to accept any HTML div property and support textarea elements
790
802
 
791
803
  ### Fixed
792
804
 
793
- - Fix styling conflict in `InputText` introduced by Addon element
805
+ - Fix styling conflict in `InputText` introduced by Addon element
794
806
 
795
807
  ## [1.0.9] - 2024-01-23
796
808
 
797
809
  ### Fixed
798
810
 
799
- - Minimum `tailwindcss` version required
800
- - Fix disabled input style on Firefox
801
- - Max Length on inputs is restyled and only shows if no alert
802
- - Fix `Toggle` component shadow styling
811
+ - Minimum `tailwindcss` version required
812
+ - Fix disabled input style on Firefox
813
+ - Max Length on inputs is restyled and only shows if no alert
814
+ - Fix `Toggle` component shadow styling
803
815
 
804
816
  ### Added
805
817
 
806
- - Implement `InputDate`, `Avatar` and `InputNumberMax` components
807
- - Add `AvatarIcon` documentation and tests
818
+ - Implement `InputDate`, `Avatar` and `InputNumberMax` components
819
+ - Add `AvatarIcon` documentation and tests
808
820
 
809
821
  ## [1.0.8] - 2024-01-17
810
822
 
811
823
  ### Fixed
812
824
 
813
- - Fix label size of `Switch` component
825
+ - Fix label size of `Switch` component
814
826
 
815
827
  ### Changed
816
828
 
817
- - Update minor and patch versions of dependencies
829
+ - Update minor and patch versions of dependencies
818
830
 
819
831
  ## [1.0.7] - 2024-01-12
820
832
 
821
833
  ### Added
822
834
 
823
- - Implement `Card`, `CardSummary`, `Switch`, `Toggle` and `ToggleGroup` components
835
+ - Implement `Card`, `CardSummary`, `Switch`, `Toggle` and `ToggleGroup` components
824
836
 
825
837
  ### Changed
826
838
 
827
- - Update `Spinner` and `Button` components to handle responsive sizes
828
- - Update `Icon` and `AvatarIcon` components to handle xl and 2xl responsive sizes
839
+ - Update `Spinner` and `Button` components to handle responsive sizes
840
+ - Update `Icon` and `AvatarIcon` components to handle xl and 2xl responsive sizes
829
841
 
830
842
  ### Fixed
831
843
 
832
- - Update `InputSearch` component to fix server-side rendering
844
+ - Update `InputSearch` component to fix server-side rendering
833
845
 
834
846
  ## [1.0.6] - 2023-12-13
835
847
 
836
848
  ### Added
837
849
 
838
- - Implement `Tag`, `InputContainer`, `InputText` and `InputSearch` components
839
- - Documentation on how to handle library dependencies
840
- - `shadow-none` and `shake` Tailwind CSS utility classes
850
+ - Implement `Tag`, `InputContainer`, `InputText` and `InputSearch` components
851
+ - Documentation on how to handle library dependencies
852
+ - `shadow-none` and `shake` Tailwind CSS utility classes
841
853
 
842
854
  ### Changed
843
855
 
844
- - Update library documentation
845
- - Output `build.css` file to be able to use ODS library without TailwindCSS
846
- - Relax `dependencies` and `peerDependencies` versions
847
- - Prettier configuration to propertly format markdown files
848
- - Bump `@adobe/css-tools` from 4.3.1 to 4.3.2
856
+ - Update library documentation
857
+ - Output `build.css` file to be able to use ODS library without TailwindCSS
858
+ - Relax `dependencies` and `peerDependencies` versions
859
+ - Prettier configuration to propertly format markdown files
860
+ - Bump `@adobe/css-tools` from 4.3.1 to 4.3.2
849
861
 
850
862
  ### Fixed
851
863
 
852
- - Correctly format `README.md` links on Storybook
853
- - Handling of value length for controlled inputs
864
+ - Correctly format `README.md` links on Storybook
865
+ - Handling of value length for controlled inputs
854
866
 
855
867
  ## [1.0.5] - 2023-11-20
856
868
 
857
869
  ### Changed
858
870
 
859
- - Update `lint-staged` to v15
860
- - Update `babel`, `rollup`, `storybook` dependencies
861
- - Bundle `tslib` utilities into library by removing `importHelpers` TypeScript configuration
871
+ - Update `lint-staged` to v15
872
+ - Update `babel`, `rollup`, `storybook` dependencies
873
+ - Bundle `tslib` utilities into library by removing `importHelpers` TypeScript configuration
862
874
 
863
875
  ### Fixed
864
876
 
865
- - Introduce `@svgr/rollup` to correctly bundle SVGs
866
- - Remove redundant `jackspeak` dependency resolution
867
- - Move `"@svgr/rollup` dependency to dev dependencies
877
+ - Introduce `@svgr/rollup` to correctly bundle SVGs
878
+ - Remove redundant `jackspeak` dependency resolution
879
+ - Move `"@svgr/rollup` dependency to dev dependencies
868
880
 
869
881
  ### Removed
870
882
 
871
- - Remove redundant `postcss` step and dependency
872
- - Do not include `tailwindcss` configuration utilities into bundle
883
+ - Remove redundant `postcss` step and dependency
884
+ - Do not include `tailwindcss` configuration utilities into bundle
873
885
 
874
886
  ## [1.0.4] - 2023-11-09
875
887
 
876
888
  ### Fixed
877
889
 
878
- - Mark all dependencies as external to fix library build
890
+ - Mark all dependencies as external to fix library build
879
891
 
880
892
  ## [1.0.3] - 2023-11-08
881
893
 
882
894
  ### Fixed
883
895
 
884
- - Fix directory of types declarations
885
- - Remove empty `index.css` file
896
+ - Fix directory of types declarations
897
+ - Remove empty `index.css` file
886
898
 
887
899
  ## [1.0.2] - 2023-10-25
888
900
 
889
901
  ### Added
890
902
 
891
- - Implement `formatterUtils` class to format numbers
903
+ - Implement `formatterUtils` class to format numbers
892
904
 
893
905
  ### Changed
894
906
 
895
- - Bump `@babel/traverse` from 7.23.0 to 7.23.2
907
+ - Bump `@babel/traverse` from 7.23.0 to 7.23.2
896
908
 
897
909
  ## [1.0.1] - 2023-10-16
898
910
 
899
911
  ### Added
900
912
 
901
- - Initial v1.0 release of `@aragon/ods` library
913
+ - Initial v1.0 release of `@aragon/ods` library