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