@aragon/gov-ui-kit 1.0.56 → 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.
- package/CHANGELOG.md +445 -420
- package/build.css +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/types/src/core/components/dialogs/dialog/dialogFooter/dialogFooter.d.ts +1 -1
- package/dist/types/src/modules/assets/copy/modulesCopy.d.ts +13 -9
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/index.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoder.api.d.ts +36 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoder.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderField/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderField/proposalActionsDecoderField.d.ts +21 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderTextField/index.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderTextField/proposalActionsDecoderTextField.api.d.ts +30 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderTextField/proposalActionsDecoderTextField.d.ts +2 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderTextField/proposalActionsDecoderTextFieldEdit.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderTextField/proposalActionsDecoderTextFieldWatch.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDecoder/proposalActionsDecoderUtils.d.ts +45 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsDefinitions.d.ts +9 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/index.d.ts +1 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItem.api.d.ts +13 -0
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItem.d.ts +5 -5
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/{proposalActionsItemBasicView/proposalActionsItemBasicView.d.ts → proposalActionsItemBasicView.d.ts} +1 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/index.d.ts +13 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodyContent/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodyContent/proposalVotingBodyContent.d.ts +17 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummary/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummary/proposalVotingBodySummary.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummaryList/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummaryList/proposalVotingBodySummaryList.d.ts +4 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummaryListItem/index.d.ts +1 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingBodySummaryListItem/proposalVotingBodySummaryListItem.d.ts +13 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStage/proposalVotingStage.d.ts +5 -1
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingStageContext/proposalVotingStageContext.d.ts +12 -0
- package/dist/types/src/modules/components/proposal/proposalVoting/proposalVotingTabs/proposalVotingTabs.d.ts +0 -5
- package/dist/types/src/modules/hooks/index.d.ts +1 -0
- package/dist/types/src/modules/hooks/useFormContext/index.d.ts +1 -0
- package/dist/types/src/modules/hooks/useFormContext/useFormContext.d.ts +3 -0
- package/dist/types/src/modules/testUtils/generators/formContext.d.ts +2 -0
- package/dist/types/src/modules/testUtils/generators/index.d.ts +1 -0
- package/dist/types/src/modules/testUtils/index.d.ts +1 -0
- package/package.json +19 -16
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItemBasicView/index.d.ts +0 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItemDecodedView/index.d.ts +0 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItemDecodedView/proposalActionsItemDecodedView.d.ts +0 -8
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItemRawView/index.d.ts +0 -1
- package/dist/types/src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItemRawView/proposalActionsItemRawView.d.ts +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -7,882 +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
|
+
|
|
22
|
+
## [1.0.57] - 2024-11-29
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- Add new `ProposalVoting` module components (`ProposalVotingBodyContent`, `ProposalVotingBodySummary`,
|
|
27
|
+
`ProposalVotingBodySummaryList` and `ProposalVotingBodySummaryListItem`)
|
|
28
|
+
- Add story and export `ProposalVotingProgress` module component
|
|
29
|
+
|
|
30
|
+
### Changed
|
|
31
|
+
|
|
32
|
+
- Update `ProposalVotingStage` module component to accept new optional `bodyList` prop and update rendering logic to
|
|
33
|
+
handle multi body proposals per stage.
|
|
34
|
+
|
|
10
35
|
## [1.0.56] - 2024-11-26
|
|
11
36
|
|
|
12
37
|
### Added
|
|
13
38
|
|
|
14
|
-
-
|
|
39
|
+
- Update peer dependencies to allow React 19
|
|
15
40
|
|
|
16
41
|
### Fixed
|
|
17
42
|
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
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
|
|
22
47
|
|
|
23
48
|
### Changed
|
|
24
49
|
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
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
|
|
28
53
|
|
|
29
54
|
## [1.0.55] - 2024-11-22
|
|
30
55
|
|
|
31
56
|
### Added
|
|
32
57
|
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
-
|
|
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
|
|
36
61
|
|
|
37
62
|
### Fixed
|
|
38
63
|
|
|
39
|
-
-
|
|
40
|
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
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
|
|
46
71
|
|
|
47
72
|
### Changed
|
|
48
73
|
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
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
|
|
58
83
|
|
|
59
84
|
## [1.0.54] - 2024-11-11
|
|
60
85
|
|
|
61
86
|
### Changed
|
|
62
87
|
|
|
63
|
-
-
|
|
88
|
+
- Added missing export for `IAddressInputResolvedValue` interface
|
|
64
89
|
|
|
65
90
|
### Fixed
|
|
66
91
|
|
|
67
|
-
-
|
|
92
|
+
- Fix layout of `ProposalActionChangeMembers` module component
|
|
68
93
|
|
|
69
94
|
## [1.0.53] - 2024-11-05
|
|
70
95
|
|
|
71
96
|
### Fixed
|
|
72
97
|
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
-
|
|
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
|
|
76
101
|
|
|
77
102
|
### Changed
|
|
78
103
|
|
|
79
|
-
-
|
|
80
|
-
-
|
|
104
|
+
- Bump `softprops/action-gh-release` from 2.0.8 to 2.0.9
|
|
105
|
+
- Update minor and patch NPM dependencies
|
|
81
106
|
|
|
82
107
|
## [1.0.52] - 2024-10-30
|
|
83
108
|
|
|
84
109
|
### Changed
|
|
85
110
|
|
|
86
|
-
-
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
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
|
|
90
115
|
|
|
91
116
|
### Fixed
|
|
92
117
|
|
|
93
|
-
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
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
|
|
96
121
|
|
|
97
122
|
## [1.0.51] - 2024-10-23
|
|
98
123
|
|
|
99
124
|
### Fixed
|
|
100
125
|
|
|
101
|
-
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
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
|
|
104
129
|
|
|
105
130
|
## [1.0.50] - 2024-10-23
|
|
106
131
|
|
|
107
132
|
### Changed
|
|
108
133
|
|
|
109
|
-
-
|
|
110
|
-
-
|
|
111
|
-
-
|
|
112
|
-
-
|
|
113
|
-
-
|
|
114
|
-
-
|
|
115
|
-
-
|
|
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
|
|
116
141
|
|
|
117
142
|
## [1.0.49] - 2024-10-14
|
|
118
143
|
|
|
119
144
|
### Added
|
|
120
145
|
|
|
121
|
-
-
|
|
122
|
-
|
|
146
|
+
- Add optional `children` property to `RadioCard` and `CheckboxCard` core components displayed only when component is
|
|
147
|
+
selected
|
|
123
148
|
|
|
124
149
|
### Changed
|
|
125
150
|
|
|
126
|
-
-
|
|
127
|
-
|
|
128
|
-
-
|
|
129
|
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
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
|
|
132
157
|
|
|
133
158
|
## [1.0.48] - 2024-10-04
|
|
134
159
|
|
|
135
160
|
### Added
|
|
136
161
|
|
|
137
|
-
-
|
|
138
|
-
-
|
|
139
|
-
|
|
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
|
|
140
165
|
|
|
141
166
|
### Fixed
|
|
142
167
|
|
|
143
|
-
-
|
|
144
|
-
-
|
|
168
|
+
- Fix truncation issue on `VoteProposalDataListItem` module component
|
|
169
|
+
- Update `AddressInput` module component to forward `chainId` and `wagmiConfig` to `MemberAvatar` component
|
|
145
170
|
|
|
146
171
|
### Changed
|
|
147
172
|
|
|
148
|
-
-
|
|
149
|
-
|
|
150
|
-
-
|
|
151
|
-
-
|
|
152
|
-
-
|
|
153
|
-
-
|
|
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
|
|
154
179
|
|
|
155
180
|
## [1.0.47] - 2024-09-23
|
|
156
181
|
|
|
157
182
|
### Added
|
|
158
183
|
|
|
159
|
-
-
|
|
160
|
-
|
|
161
|
-
-
|
|
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
|
|
162
187
|
|
|
163
188
|
## [1.0.46] - 2024-09-21
|
|
164
189
|
|
|
165
190
|
### Added
|
|
166
191
|
|
|
167
|
-
-
|
|
168
|
-
-
|
|
169
|
-
-
|
|
170
|
-
-
|
|
171
|
-
|
|
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
|
|
172
197
|
|
|
173
198
|
### Changed
|
|
174
199
|
|
|
175
|
-
-
|
|
176
|
-
-
|
|
177
|
-
-
|
|
178
|
-
|
|
179
|
-
-
|
|
180
|
-
-
|
|
181
|
-
|
|
182
|
-
-
|
|
183
|
-
-
|
|
184
|
-
-
|
|
185
|
-
-
|
|
186
|
-
-
|
|
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
|
|
187
212
|
|
|
188
213
|
### Fixed
|
|
189
214
|
|
|
190
|
-
-
|
|
191
|
-
-
|
|
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
|
|
192
217
|
|
|
193
218
|
## [1.0.45] - 2024-08-23
|
|
194
219
|
|
|
195
220
|
### Added
|
|
196
221
|
|
|
197
|
-
-
|
|
198
|
-
-
|
|
199
|
-
-
|
|
200
|
-
|
|
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
|
|
201
226
|
|
|
202
227
|
### Fixed
|
|
203
228
|
|
|
204
|
-
-
|
|
229
|
+
- Use correct percentage formatting on `<AssetDataListItem />` module component
|
|
205
230
|
|
|
206
231
|
## [1.0.44] - 2024-08-20
|
|
207
232
|
|
|
208
233
|
### Added
|
|
209
234
|
|
|
210
|
-
-
|
|
211
|
-
-
|
|
212
|
-
-
|
|
213
|
-
|
|
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.
|
|
214
239
|
|
|
215
240
|
### Fixed
|
|
216
241
|
|
|
217
|
-
-
|
|
218
|
-
|
|
219
|
-
-
|
|
220
|
-
|
|
221
|
-
-
|
|
222
|
-
-
|
|
223
|
-
-
|
|
224
|
-
-
|
|
225
|
-
-
|
|
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
|
|
226
251
|
|
|
227
252
|
### Changed
|
|
228
253
|
|
|
229
|
-
-
|
|
230
|
-
-
|
|
231
|
-
|
|
232
|
-
-
|
|
233
|
-
-
|
|
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`
|
|
234
259
|
|
|
235
260
|
## [1.0.43] - 2024-08-13
|
|
236
261
|
|
|
237
262
|
### Added
|
|
238
263
|
|
|
239
|
-
-
|
|
240
|
-
-
|
|
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
|
|
241
266
|
|
|
242
267
|
### Changed
|
|
243
268
|
|
|
244
|
-
-
|
|
245
|
-
-
|
|
246
|
-
|
|
247
|
-
-
|
|
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
|
|
248
273
|
|
|
249
274
|
## [1.0.42] - 2024-08-07
|
|
250
275
|
|
|
251
276
|
### Fixed
|
|
252
277
|
|
|
253
|
-
-
|
|
254
|
-
|
|
255
|
-
-
|
|
256
|
-
-
|
|
257
|
-
-
|
|
258
|
-
-
|
|
259
|
-
-
|
|
260
|
-
-
|
|
261
|
-
|
|
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
|
|
262
287
|
|
|
263
288
|
### Added
|
|
264
289
|
|
|
265
|
-
-
|
|
266
|
-
-
|
|
267
|
-
-
|
|
268
|
-
-
|
|
269
|
-
-
|
|
270
|
-
-
|
|
271
|
-
-
|
|
272
|
-
-
|
|
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
|
|
273
298
|
|
|
274
299
|
### Changed
|
|
275
300
|
|
|
276
|
-
-
|
|
277
|
-
-
|
|
278
|
-
-
|
|
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
|
|
279
304
|
|
|
280
305
|
## [1.0.41] - 2024-07-30
|
|
281
306
|
|
|
282
307
|
### Added
|
|
283
308
|
|
|
284
|
-
-
|
|
285
|
-
-
|
|
286
|
-
|
|
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
|
|
287
312
|
|
|
288
313
|
### Changed
|
|
289
314
|
|
|
290
|
-
-
|
|
315
|
+
- Update minor and patch NPM dependencies
|
|
291
316
|
|
|
292
317
|
## [1.0.40] - 2024-07-26
|
|
293
318
|
|
|
294
319
|
### Added
|
|
295
320
|
|
|
296
|
-
-
|
|
297
|
-
-
|
|
298
|
-
|
|
299
|
-
-
|
|
300
|
-
-
|
|
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
|
|
301
326
|
|
|
302
327
|
### Changed
|
|
303
328
|
|
|
304
|
-
-
|
|
305
|
-
-
|
|
306
|
-
-
|
|
307
|
-
-
|
|
308
|
-
|
|
309
|
-
-
|
|
310
|
-
-
|
|
311
|
-
-
|
|
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
|
|
312
337
|
|
|
313
338
|
### Fixed
|
|
314
339
|
|
|
315
|
-
-
|
|
316
|
-
-
|
|
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
|
|
317
342
|
|
|
318
343
|
## [1.0.39] - 2024-07-16
|
|
319
344
|
|
|
320
345
|
### Changed
|
|
321
346
|
|
|
322
|
-
-
|
|
323
|
-
-
|
|
347
|
+
- Update minor and patch NPM dependencies
|
|
348
|
+
- Update `useBlockExplorer` hook to return information about the block explorer
|
|
324
349
|
|
|
325
350
|
## [1.0.38] - 2024-07-16
|
|
326
351
|
|
|
327
352
|
### Added
|
|
328
353
|
|
|
329
|
-
-
|
|
330
|
-
-
|
|
331
|
-
-
|
|
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
|
|
332
357
|
|
|
333
358
|
### Fixed
|
|
334
359
|
|
|
335
|
-
-
|
|
336
|
-
-
|
|
337
|
-
-
|
|
338
|
-
-
|
|
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
|
|
339
364
|
|
|
340
365
|
### Changed
|
|
341
366
|
|
|
342
|
-
-
|
|
343
|
-
-
|
|
344
|
-
-
|
|
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
|
|
345
370
|
|
|
346
371
|
## [1.0.37] - 2024-07-08
|
|
347
372
|
|
|
348
373
|
### Changed
|
|
349
374
|
|
|
350
|
-
-
|
|
351
|
-
-
|
|
375
|
+
- Format dates with `formatterUtils` within components
|
|
376
|
+
- Update minor and patch NPM dependencies
|
|
352
377
|
|
|
353
378
|
## [1.0.36] - 2024-06-28
|
|
354
379
|
|
|
355
380
|
### Changed
|
|
356
381
|
|
|
357
|
-
-
|
|
358
|
-
-
|
|
359
|
-
-
|
|
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
|
|
360
385
|
|
|
361
386
|
## [1.0.35] - 2024-06-28
|
|
362
387
|
|
|
363
388
|
### Added
|
|
364
389
|
|
|
365
|
-
-
|
|
366
|
-
-
|
|
367
|
-
-
|
|
368
|
-
-
|
|
369
|
-
-
|
|
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
|
|
370
395
|
|
|
371
396
|
### Changed
|
|
372
397
|
|
|
373
|
-
-
|
|
374
|
-
-
|
|
375
|
-
-
|
|
376
|
-
-
|
|
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
|
|
377
402
|
|
|
378
403
|
## [1.0.34] - 2024-06-21
|
|
379
404
|
|
|
380
405
|
### Fixed
|
|
381
406
|
|
|
382
|
-
-
|
|
407
|
+
- Ensure `MemberAvatar` component only creates the blockies url on client environment
|
|
383
408
|
|
|
384
409
|
### Changed
|
|
385
410
|
|
|
386
|
-
-
|
|
387
|
-
-
|
|
388
|
-
-
|
|
389
|
-
-
|
|
390
|
-
-
|
|
391
|
-
-
|
|
392
|
-
-
|
|
393
|
-
-
|
|
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
|
|
394
419
|
|
|
395
420
|
### Added
|
|
396
421
|
|
|
397
|
-
-
|
|
398
|
-
|
|
399
|
-
-
|
|
422
|
+
- Handle new `layoutClassnames` property on `DataList.Container` component to simplify implementation of custom
|
|
423
|
+
`DataList` layouts
|
|
424
|
+
- Create `ssrUtils` core utilities
|
|
400
425
|
|
|
401
426
|
## [1.0.33] - 2024-06-06
|
|
402
427
|
|
|
403
428
|
### Fixed
|
|
404
429
|
|
|
405
|
-
-
|
|
430
|
+
- Correctly export `Collapsible` core component
|
|
406
431
|
|
|
407
432
|
## [1.0.32] - 2024-06-04
|
|
408
433
|
|
|
409
434
|
### Added
|
|
410
435
|
|
|
411
|
-
-
|
|
412
|
-
-
|
|
413
|
-
-
|
|
414
|
-
-
|
|
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
|
|
415
440
|
|
|
416
441
|
### Changed
|
|
417
442
|
|
|
418
|
-
-
|
|
419
|
-
-
|
|
420
|
-
-
|
|
421
|
-
-
|
|
422
|
-
-
|
|
423
|
-
-
|
|
424
|
-
-
|
|
425
|
-
-
|
|
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
|
|
426
451
|
|
|
427
452
|
### Fixed
|
|
428
453
|
|
|
429
|
-
-
|
|
430
|
-
-
|
|
454
|
+
- Fix responsiveness classes and utilities to support style for screens below `sm` breakpoint
|
|
455
|
+
- Export module utilities
|
|
431
456
|
|
|
432
457
|
## [1.0.31] - 2024-05-24
|
|
433
458
|
|
|
434
459
|
### Fixed
|
|
435
460
|
|
|
436
|
-
-
|
|
461
|
+
- Update library exports to support `require` calls
|
|
437
462
|
|
|
438
463
|
## [1.0.30] - 2024-05-24
|
|
439
464
|
|
|
440
465
|
### Fixed
|
|
441
466
|
|
|
442
|
-
-
|
|
467
|
+
- Export `DefinitionList` core component
|
|
443
468
|
|
|
444
469
|
## [1.0.29] - 2024-05-24
|
|
445
470
|
|
|
446
471
|
### Added
|
|
447
472
|
|
|
448
|
-
-
|
|
449
|
-
-
|
|
450
|
-
-
|
|
451
|
-
|
|
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.
|
|
452
477
|
|
|
453
478
|
### Changed
|
|
454
479
|
|
|
455
|
-
-
|
|
456
|
-
-
|
|
457
|
-
-
|
|
458
|
-
-
|
|
459
|
-
-
|
|
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.
|
|
460
485
|
|
|
461
486
|
## [1.0.28] - 2024-05-16
|
|
462
487
|
|
|
463
488
|
### Added
|
|
464
489
|
|
|
465
|
-
-
|
|
466
|
-
|
|
467
|
-
-
|
|
468
|
-
-
|
|
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
|
|
469
494
|
|
|
470
495
|
### Fixed
|
|
471
496
|
|
|
472
|
-
-
|
|
473
|
-
-
|
|
474
|
-
-
|
|
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`
|
|
475
500
|
|
|
476
501
|
## [1.0.27] - 2024-05-08
|
|
477
502
|
|
|
478
503
|
### Added
|
|
479
504
|
|
|
480
|
-
-
|
|
505
|
+
- Implement `Collapsible`, and `CardCollapsible` core components
|
|
481
506
|
|
|
482
507
|
## [1.0.26] - 2024-05-06
|
|
483
508
|
|
|
484
509
|
### Added
|
|
485
510
|
|
|
486
|
-
-
|
|
511
|
+
- Implement `DocumentParser` and `Accordion` core component
|
|
487
512
|
|
|
488
513
|
### Changed
|
|
489
514
|
|
|
490
|
-
-
|
|
491
|
-
-
|
|
492
|
-
-
|
|
493
|
-
-
|
|
494
|
-
-
|
|
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
|
|
495
520
|
|
|
496
521
|
## [1.0.25] - 2024-04-24
|
|
497
522
|
|
|
498
523
|
### Added
|
|
499
524
|
|
|
500
|
-
-
|
|
525
|
+
- Setup `Dependabot` to keep dependencies updated
|
|
501
526
|
|
|
502
527
|
### Changed
|
|
503
528
|
|
|
504
|
-
-
|
|
505
|
-
-
|
|
506
|
-
-
|
|
507
|
-
-
|
|
508
|
-
-
|
|
509
|
-
-
|
|
510
|
-
-
|
|
511
|
-
-
|
|
512
|
-
-
|
|
513
|
-
-
|
|
514
|
-
-
|
|
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
|
|
515
540
|
|
|
516
541
|
### Fixed
|
|
517
542
|
|
|
518
|
-
-
|
|
519
|
-
-
|
|
520
|
-
-
|
|
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
|
|
521
546
|
|
|
522
547
|
## [1.0.24] - 2024-04-23
|
|
523
548
|
|
|
524
549
|
### Added
|
|
525
550
|
|
|
526
|
-
-
|
|
527
|
-
-
|
|
551
|
+
- Implement `ProposalDataListItemSkeleton` module component
|
|
552
|
+
- Extend `addressUtils` with `isAddressEqual` method
|
|
528
553
|
|
|
529
554
|
### Changed
|
|
530
555
|
|
|
531
|
-
-
|
|
532
|
-
-
|
|
533
|
-
-
|
|
534
|
-
-
|
|
535
|
-
-
|
|
536
|
-
|
|
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
|
|
537
562
|
|
|
538
563
|
### Fixed
|
|
539
564
|
|
|
540
|
-
-
|
|
565
|
+
- `Link` core component to truncate on overflow
|
|
541
566
|
|
|
542
567
|
## [1.0.23] - 2024-04-18
|
|
543
568
|
|
|
544
569
|
### Added
|
|
545
570
|
|
|
546
|
-
-
|
|
547
|
-
-
|
|
571
|
+
- Implement `Breadcrumbs`, `StateSkeletonBar`, and `StateSkeletonCircular` core components
|
|
572
|
+
- Added `slash` icon file
|
|
548
573
|
|
|
549
574
|
### Changed
|
|
550
575
|
|
|
551
|
-
-
|
|
552
|
-
-
|
|
553
|
-
-
|
|
554
|
-
-
|
|
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
|
|
555
580
|
|
|
556
581
|
## [1.0.22] - 2024-04-12
|
|
557
582
|
|
|
558
583
|
### Added
|
|
559
584
|
|
|
560
|
-
-
|
|
585
|
+
- Implement `AssetTransfer` module component
|
|
561
586
|
|
|
562
587
|
### Changed
|
|
563
588
|
|
|
564
|
-
-
|
|
565
|
-
-
|
|
566
|
-
-
|
|
589
|
+
- Update `README` logo
|
|
590
|
+
- Bump `tar` from 6.2.0 to 6.2.1
|
|
591
|
+
- Drop `common-js` support
|
|
567
592
|
|
|
568
593
|
## [1.0.21] - 2024-04-04
|
|
569
594
|
|
|
570
595
|
### Added
|
|
571
596
|
|
|
572
|
-
-
|
|
573
|
-
|
|
574
|
-
-
|
|
575
|
-
-
|
|
576
|
-
-
|
|
577
|
-
-
|
|
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
|
|
578
603
|
|
|
579
604
|
### Changed
|
|
580
605
|
|
|
581
|
-
-
|
|
582
|
-
-
|
|
583
|
-
-
|
|
584
|
-
-
|
|
585
|
-
-
|
|
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
|
|
586
611
|
|
|
587
612
|
### Fixed
|
|
588
613
|
|
|
589
|
-
-
|
|
590
|
-
-
|
|
591
|
-
|
|
592
|
-
-
|
|
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
|
|
593
618
|
|
|
594
619
|
## [1.0.20] - 2024-03-13
|
|
595
620
|
|
|
596
621
|
### Fixed
|
|
597
622
|
|
|
598
|
-
-
|
|
599
|
-
-
|
|
623
|
+
- Fix library build to avoid bundling peer dependencies
|
|
624
|
+
- Remove export of module components until the Aragon App migrates to Wagmi v2
|
|
600
625
|
|
|
601
626
|
## [1.0.19] - 2024-03-13
|
|
602
627
|
|
|
603
628
|
### Added
|
|
604
629
|
|
|
605
|
-
-
|
|
606
|
-
-
|
|
607
|
-
-
|
|
608
|
-
-
|
|
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
|
|
609
634
|
|
|
610
635
|
### Changed
|
|
611
636
|
|
|
612
|
-
-
|
|
613
|
-
-
|
|
614
|
-
-
|
|
615
|
-
-
|
|
616
|
-
-
|
|
617
|
-
-
|
|
618
|
-
-
|
|
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
|
|
619
644
|
|
|
620
645
|
## [1.0.18] - 2024-02-29
|
|
621
646
|
|
|
622
647
|
### Fixed
|
|
623
648
|
|
|
624
|
-
-
|
|
625
|
-
-
|
|
649
|
+
- Usage of `Dropdown` component inside a `Dialog` component
|
|
650
|
+
- Remove auto-focus to `Dropdown` trigger to avoid closing dialogs on `DropdownItem` click
|
|
626
651
|
|
|
627
652
|
## [1.0.17] - 2024-02-28
|
|
628
653
|
|
|
629
654
|
### Added
|
|
630
655
|
|
|
631
|
-
-
|
|
632
|
-
-
|
|
656
|
+
- Implement `DataList` component
|
|
657
|
+
- Handling of responsive sizes to `Progress` component
|
|
633
658
|
|
|
634
659
|
### Changed
|
|
635
660
|
|
|
636
|
-
-
|
|
661
|
+
- Update `eslint` rules to enforce no circular dependencies
|
|
637
662
|
|
|
638
663
|
### Fixed
|
|
639
664
|
|
|
640
|
-
-
|
|
641
|
-
-
|
|
642
|
-
-
|
|
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
|
|
643
668
|
|
|
644
669
|
### Removed
|
|
645
670
|
|
|
646
|
-
-
|
|
671
|
+
- `ActionItem` component
|
|
647
672
|
|
|
648
673
|
## [1.0.16] - 2024-02-27
|
|
649
674
|
|
|
650
675
|
### Added
|
|
651
676
|
|
|
652
|
-
-
|
|
653
|
-
-
|
|
677
|
+
- Add `customTrigger` and `align` properties to Dropdown component
|
|
678
|
+
- Implement `DialogAlert` and `Dialog` components
|
|
654
679
|
|
|
655
680
|
### Fixed
|
|
656
681
|
|
|
657
|
-
-
|
|
658
|
-
-
|
|
682
|
+
- `Icon` styling to prevent shrinking
|
|
683
|
+
- Correct `IconType.MINUS` icon for InputNumber component
|
|
659
684
|
|
|
660
685
|
## [1.0.15] - 2024-02-23
|
|
661
686
|
|
|
662
687
|
### Changed
|
|
663
688
|
|
|
664
|
-
-
|
|
665
|
-
-
|
|
666
|
-
-
|
|
667
|
-
-
|
|
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
|
|
668
693
|
|
|
669
694
|
## [1.0.14] - 2024-02-20
|
|
670
695
|
|
|
671
696
|
### Added
|
|
672
697
|
|
|
673
|
-
-
|
|
674
|
-
-
|
|
675
|
-
-
|
|
676
|
-
-
|
|
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
|
|
677
702
|
|
|
678
703
|
### Removed
|
|
679
704
|
|
|
680
|
-
-
|
|
681
|
-
|
|
682
|
-
### Changed
|
|
683
|
-
|
|
684
|
-
-
|
|
685
|
-
-
|
|
686
|
-
-
|
|
687
|
-
-
|
|
688
|
-
-
|
|
689
|
-
-
|
|
690
|
-
-
|
|
691
|
-
-
|
|
692
|
-
-
|
|
693
|
-
-
|
|
694
|
-
-
|
|
695
|
-
-
|
|
696
|
-
-
|
|
697
|
-
-
|
|
698
|
-
-
|
|
699
|
-
-
|
|
700
|
-
-
|
|
701
|
-
-
|
|
702
|
-
-
|
|
703
|
-
-
|
|
704
|
-
-
|
|
705
|
-
-
|
|
706
|
-
-
|
|
707
|
-
-
|
|
708
|
-
-
|
|
709
|
-
-
|
|
710
|
-
-
|
|
711
|
-
-
|
|
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`
|
|
712
737
|
|
|
713
738
|
## [1.0.13] - 2024-02-14
|
|
714
739
|
|
|
715
740
|
### Added
|
|
716
741
|
|
|
717
|
-
-
|
|
742
|
+
- Implement `Tooltip` component
|
|
718
743
|
|
|
719
744
|
### Changed
|
|
720
745
|
|
|
721
|
-
-
|
|
746
|
+
- Update minor and patch versions of dependencies
|
|
722
747
|
|
|
723
748
|
### Fixed
|
|
724
749
|
|
|
725
|
-
-
|
|
750
|
+
- Style of `Progress` component to make it full width
|
|
726
751
|
|
|
727
752
|
## [1.0.12] - 2024-02-12
|
|
728
753
|
|
|
729
754
|
### Added
|
|
730
755
|
|
|
731
|
-
-
|
|
732
|
-
|
|
733
|
-
-
|
|
734
|
-
-
|
|
735
|
-
-
|
|
736
|
-
-
|
|
737
|
-
-
|
|
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
|
|
738
763
|
|
|
739
764
|
### Fixed
|
|
740
765
|
|
|
741
|
-
-
|
|
742
|
-
-
|
|
743
|
-
-
|
|
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
|
|
744
769
|
|
|
745
770
|
### Changed
|
|
746
771
|
|
|
747
|
-
-
|
|
748
|
-
-
|
|
749
|
-
-
|
|
750
|
-
-
|
|
751
|
-
-
|
|
752
|
-
-
|
|
753
|
-
-
|
|
754
|
-
-
|
|
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
|
|
755
780
|
|
|
756
781
|
## [1.0.11] - 2024-02-06
|
|
757
782
|
|
|
758
783
|
### Fixed
|
|
759
784
|
|
|
760
|
-
-
|
|
785
|
+
- Properly export ESM/CJS library depending on current environment and fix CJS build
|
|
761
786
|
|
|
762
787
|
## [1.0.10] - 2024-02-05
|
|
763
788
|
|
|
764
789
|
### Added
|
|
765
790
|
|
|
766
|
-
-
|
|
767
|
-
-
|
|
768
|
-
-
|
|
769
|
-
-
|
|
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
|
|
770
795
|
|
|
771
796
|
### Changed
|
|
772
797
|
|
|
773
|
-
-
|
|
774
|
-
-
|
|
775
|
-
-
|
|
776
|
-
-
|
|
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
|
|
777
802
|
|
|
778
803
|
### Fixed
|
|
779
804
|
|
|
780
|
-
-
|
|
805
|
+
- Fix styling conflict in `InputText` introduced by Addon element
|
|
781
806
|
|
|
782
807
|
## [1.0.9] - 2024-01-23
|
|
783
808
|
|
|
784
809
|
### Fixed
|
|
785
810
|
|
|
786
|
-
-
|
|
787
|
-
-
|
|
788
|
-
-
|
|
789
|
-
-
|
|
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
|
|
790
815
|
|
|
791
816
|
### Added
|
|
792
817
|
|
|
793
|
-
-
|
|
794
|
-
-
|
|
818
|
+
- Implement `InputDate`, `Avatar` and `InputNumberMax` components
|
|
819
|
+
- Add `AvatarIcon` documentation and tests
|
|
795
820
|
|
|
796
821
|
## [1.0.8] - 2024-01-17
|
|
797
822
|
|
|
798
823
|
### Fixed
|
|
799
824
|
|
|
800
|
-
-
|
|
825
|
+
- Fix label size of `Switch` component
|
|
801
826
|
|
|
802
827
|
### Changed
|
|
803
828
|
|
|
804
|
-
-
|
|
829
|
+
- Update minor and patch versions of dependencies
|
|
805
830
|
|
|
806
831
|
## [1.0.7] - 2024-01-12
|
|
807
832
|
|
|
808
833
|
### Added
|
|
809
834
|
|
|
810
|
-
-
|
|
835
|
+
- Implement `Card`, `CardSummary`, `Switch`, `Toggle` and `ToggleGroup` components
|
|
811
836
|
|
|
812
837
|
### Changed
|
|
813
838
|
|
|
814
|
-
-
|
|
815
|
-
-
|
|
839
|
+
- Update `Spinner` and `Button` components to handle responsive sizes
|
|
840
|
+
- Update `Icon` and `AvatarIcon` components to handle xl and 2xl responsive sizes
|
|
816
841
|
|
|
817
842
|
### Fixed
|
|
818
843
|
|
|
819
|
-
-
|
|
844
|
+
- Update `InputSearch` component to fix server-side rendering
|
|
820
845
|
|
|
821
846
|
## [1.0.6] - 2023-12-13
|
|
822
847
|
|
|
823
848
|
### Added
|
|
824
849
|
|
|
825
|
-
-
|
|
826
|
-
-
|
|
827
|
-
-
|
|
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
|
|
828
853
|
|
|
829
854
|
### Changed
|
|
830
855
|
|
|
831
|
-
-
|
|
832
|
-
-
|
|
833
|
-
-
|
|
834
|
-
-
|
|
835
|
-
-
|
|
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
|
|
836
861
|
|
|
837
862
|
### Fixed
|
|
838
863
|
|
|
839
|
-
-
|
|
840
|
-
-
|
|
864
|
+
- Correctly format `README.md` links on Storybook
|
|
865
|
+
- Handling of value length for controlled inputs
|
|
841
866
|
|
|
842
867
|
## [1.0.5] - 2023-11-20
|
|
843
868
|
|
|
844
869
|
### Changed
|
|
845
870
|
|
|
846
|
-
-
|
|
847
|
-
-
|
|
848
|
-
-
|
|
871
|
+
- Update `lint-staged` to v15
|
|
872
|
+
- Update `babel`, `rollup`, `storybook` dependencies
|
|
873
|
+
- Bundle `tslib` utilities into library by removing `importHelpers` TypeScript configuration
|
|
849
874
|
|
|
850
875
|
### Fixed
|
|
851
876
|
|
|
852
|
-
-
|
|
853
|
-
-
|
|
854
|
-
-
|
|
877
|
+
- Introduce `@svgr/rollup` to correctly bundle SVGs
|
|
878
|
+
- Remove redundant `jackspeak` dependency resolution
|
|
879
|
+
- Move `"@svgr/rollup` dependency to dev dependencies
|
|
855
880
|
|
|
856
881
|
### Removed
|
|
857
882
|
|
|
858
|
-
-
|
|
859
|
-
-
|
|
883
|
+
- Remove redundant `postcss` step and dependency
|
|
884
|
+
- Do not include `tailwindcss` configuration utilities into bundle
|
|
860
885
|
|
|
861
886
|
## [1.0.4] - 2023-11-09
|
|
862
887
|
|
|
863
888
|
### Fixed
|
|
864
889
|
|
|
865
|
-
-
|
|
890
|
+
- Mark all dependencies as external to fix library build
|
|
866
891
|
|
|
867
892
|
## [1.0.3] - 2023-11-08
|
|
868
893
|
|
|
869
894
|
### Fixed
|
|
870
895
|
|
|
871
|
-
-
|
|
872
|
-
-
|
|
896
|
+
- Fix directory of types declarations
|
|
897
|
+
- Remove empty `index.css` file
|
|
873
898
|
|
|
874
899
|
## [1.0.2] - 2023-10-25
|
|
875
900
|
|
|
876
901
|
### Added
|
|
877
902
|
|
|
878
|
-
-
|
|
903
|
+
- Implement `formatterUtils` class to format numbers
|
|
879
904
|
|
|
880
905
|
### Changed
|
|
881
906
|
|
|
882
|
-
-
|
|
907
|
+
- Bump `@babel/traverse` from 7.23.0 to 7.23.2
|
|
883
908
|
|
|
884
909
|
## [1.0.1] - 2023-10-16
|
|
885
910
|
|
|
886
911
|
### Added
|
|
887
912
|
|
|
888
|
-
-
|
|
913
|
+
- Initial v1.0 release of `@aragon/ods` library
|