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