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