@aragon/gov-ui-kit 1.0.75 → 1.1.0
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 +46 -81
- package/package.json +29 -26
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @aragon/gov-ui-kit
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## 1.1.0
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
|
+
### Minor Changes
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
- [`8413957`](https://github.com/aragon/gov-ui-kit/commit/84139578d63eede344d90a725bf76f33f8964089) Thanks [@cgero-eth](https://github.com/cgero-eth)! - Update release workflow, implement snapshot and preview workflows
|
|
8
|
+
|
|
9
|
+
- [#448](https://github.com/aragon/gov-ui-kit/pull/448) [`a71a873`](https://github.com/aragon/gov-ui-kit/commit/a71a87330452bdb5eb602a6f186e053c3bcf5144) Thanks [@cgero-eth](https://github.com/cgero-eth)! - Update minor and patch NPM dependencies
|
|
9
10
|
|
|
10
11
|
## [1.0.75] - 2025-04-02
|
|
11
12
|
|
|
@@ -15,6 +16,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
15
16
|
|
|
16
17
|
## [1.0.74] - 2025-04-02
|
|
17
18
|
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
18
21
|
- **BREAKING**: Update implementation of `AlertCard` component:
|
|
19
22
|
- Remove `description` property from the `AlertCard` component in favour of `children` property
|
|
20
23
|
|
|
@@ -52,8 +55,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
52
55
|
### Changed
|
|
53
56
|
|
|
54
57
|
- Bump `@babel/runtime-corejs3` to 7.26.10
|
|
55
|
-
- Update DAO name vertical alignment in `<DaoDataListItem.Structure />` component to be centered in the case when no
|
|
56
|
-
address is provided
|
|
58
|
+
- Update DAO name vertical alignment in `<DaoDataListItem.Structure />` component to be centered in the case when no address is provided
|
|
57
59
|
|
|
58
60
|
### Fixed
|
|
59
61
|
|
|
@@ -152,13 +154,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
152
154
|
|
|
153
155
|
### Changed
|
|
154
156
|
|
|
155
|
-
- Update `InputFileAvatar` core component to remove `onFileSelect` and `onFileError` properties and use `value` and
|
|
156
|
-
`onChange` properties instead
|
|
157
|
+
- Update `InputFileAvatar` core component to remove `onFileSelect` and `onFileError` properties and use `value` and `onChange` properties instead
|
|
157
158
|
- Update `IProposalActionUpdateMetadataDaoMetadata` interface `logo` property to `avatar` to better align with actions
|
|
158
159
|
- Bump `softprops/action-gh-release` from 2.2.0 to 2.2.1
|
|
159
160
|
- Update minor and patch NPM dependencies
|
|
160
|
-
- Update `<ProposalDataListItem />` module component to include `statusContext` property and support `ADVANCEABLE`
|
|
161
|
-
status
|
|
161
|
+
- Update `<ProposalDataListItem />` module component to include `statusContext` property and support `ADVANCEABLE` status
|
|
162
162
|
- Remove `<MajorityVotingResult />` and `<ApprovalThresholdResult />` sub-components for `<ProposalDataListItem />`
|
|
163
163
|
|
|
164
164
|
## [1.0.62] - 2025-01-08
|
|
@@ -197,8 +197,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
197
197
|
- Bump `softprops/action-gh-release` from 2.1.0 to 2.2.0
|
|
198
198
|
- Bump `@rollup/plugin-node-resolve` from 15.3.0 to 16.0.0
|
|
199
199
|
- Update minor and patch NPM dependencies
|
|
200
|
-
- Update `AssetDataListItemStructure` module component to remove the `priceChange` property and related logic for
|
|
201
|
-
calculating percentage change
|
|
200
|
+
- Update `AssetDataListItemStructure` module component to remove the `priceChange` property and related logic for calculating percentage change
|
|
202
201
|
|
|
203
202
|
## [1.0.59] - 2024-12-11
|
|
204
203
|
|
|
@@ -207,8 +206,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
207
206
|
- Fix color of body name on `<ProposalVoting.BodyContext />` module component
|
|
208
207
|
- Fix re-render issue on `<AddressInput />` module component when `onAccept` prop changes on every render
|
|
209
208
|
- Update `<CheckboxCard />` core component to set full-width to `children` property wrapper
|
|
210
|
-
- Update `<ProposalActions.Item />` module component to display correct feedback for actions with data and value and
|
|
211
|
-
disable decoded view for actions without parameters
|
|
209
|
+
- Update `<ProposalActions.Item />` module component to display correct feedback for actions with data and value and disable decoded view for actions without parameters
|
|
212
210
|
|
|
213
211
|
### Changed
|
|
214
212
|
|
|
@@ -221,8 +219,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
221
219
|
|
|
222
220
|
### Added
|
|
223
221
|
|
|
224
|
-
- Update `ProposalActions` module component to improve rendering of decoded parameters and support and "edit" mode
|
|
225
|
-
through the `editMode` property
|
|
222
|
+
- Update `ProposalActions` module component to improve rendering of decoded parameters and support and "edit" mode through the `editMode` property
|
|
226
223
|
|
|
227
224
|
### Changed
|
|
228
225
|
|
|
@@ -233,14 +230,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
233
230
|
|
|
234
231
|
### Added
|
|
235
232
|
|
|
236
|
-
- Add new `ProposalVoting` module components (`ProposalVotingBodyContent`, `ProposalVotingBodySummary`,
|
|
237
|
-
`ProposalVotingBodySummaryList` and `ProposalVotingBodySummaryListItem`)
|
|
233
|
+
- Add new `ProposalVoting` module components (`ProposalVotingBodyContent`, `ProposalVotingBodySummary`, `ProposalVotingBodySummaryList` and `ProposalVotingBodySummaryListItem`)
|
|
238
234
|
- Add story and export `ProposalVotingProgress` module component
|
|
239
235
|
|
|
240
236
|
### Changed
|
|
241
237
|
|
|
242
|
-
- Update `ProposalVotingStage` module component to accept new optional `bodyList` prop and update rendering logic to
|
|
243
|
-
handle multi body proposals per stage.
|
|
238
|
+
- Update `ProposalVotingStage` module component to accept new optional `bodyList` prop and update rendering logic to handle multi body proposals per stage.
|
|
244
239
|
|
|
245
240
|
## [1.0.56] - 2024-11-26
|
|
246
241
|
|
|
@@ -265,14 +260,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
265
260
|
|
|
266
261
|
### Added
|
|
267
262
|
|
|
268
|
-
- Update `VoteDataListItem` component to add "Voted" string and possibility to customise it through the
|
|
269
|
-
`confirmationLabel` property
|
|
263
|
+
- Update `VoteDataListItem` component to add "Voted" string and possibility to customise it through the `confirmationLabel` property
|
|
270
264
|
- Update `formatterUtils` documentation to add number formatting examples
|
|
271
265
|
|
|
272
266
|
### Fixed
|
|
273
267
|
|
|
274
|
-
- Update layout of `DataListItem` core component and layouts of components using it (Asset, Dao, Member, Proposal,
|
|
275
|
-
Transaction, Vote)
|
|
268
|
+
- Update layout of `DataListItem` core component and layouts of components using it (Asset, Dao, Member, Proposal, Transaction, Vote)
|
|
276
269
|
- Update implementation of `DataListItem` skeleton components for better parity and no layout shift
|
|
277
270
|
- Improve responsiveness for `DefinitionList` container and items for middle breakpoints
|
|
278
271
|
- Update `DaoAvatar` to correctly set text size depending on `size` property
|
|
@@ -305,8 +298,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
305
298
|
|
|
306
299
|
### Fixed
|
|
307
300
|
|
|
308
|
-
- Update `ProposalVoting.Container` module component to make stages accordion controlled and support updating the
|
|
309
|
-
current active stage programmatically
|
|
301
|
+
- Update `ProposalVoting.Container` module component to make stages accordion controlled and support updating the current active stage programmatically
|
|
310
302
|
- Fix `VoteProposalDataListItem` module component to truncate long proposal IDs
|
|
311
303
|
|
|
312
304
|
### Changed
|
|
@@ -353,15 +345,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
353
345
|
|
|
354
346
|
### Added
|
|
355
347
|
|
|
356
|
-
- Add optional `children` property to `RadioCard` and `CheckboxCard` core components displayed only when component is
|
|
357
|
-
selected
|
|
348
|
+
- Add optional `children` property to `RadioCard` and `CheckboxCard` core components displayed only when component is selected
|
|
358
349
|
|
|
359
350
|
### Changed
|
|
360
351
|
|
|
361
|
-
- Update `RadioCard` and `CheckboxCard` core components to have optional description property, fix alignment when no
|
|
362
|
-
|
|
363
|
-
- Update `<ProposalDataListItem.Structure >` module component to make proposal type property optional and support custom
|
|
364
|
-
proposal results
|
|
352
|
+
- Update `RadioCard` and `CheckboxCard` core components to have optional description property, fix alignment when no description provided
|
|
353
|
+
- Update `<ProposalDataListItem.Structure >` module component to make proposal type property optional and support custom proposal results
|
|
365
354
|
- Bump `actions/checkout` from 4.2.0 to 4.2.1
|
|
366
355
|
- Update minor and patch NPM dependencies
|
|
367
356
|
|
|
@@ -370,8 +359,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
370
359
|
### Added
|
|
371
360
|
|
|
372
361
|
- Update `Tabs` core component to handle disabled tab trigger state
|
|
373
|
-
- Support `forceMount` property on `Accordion` core component and `ProposalVotingStage` module component to correctly
|
|
374
|
-
render dynamic content on proposal stages
|
|
362
|
+
- Support `forceMount` property on `Accordion` core component and `ProposalVotingStage` module component to correctly render dynamic content on proposal stages
|
|
375
363
|
|
|
376
364
|
### Fixed
|
|
377
365
|
|
|
@@ -380,8 +368,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
380
368
|
|
|
381
369
|
### Changed
|
|
382
370
|
|
|
383
|
-
- Update `<ProposalVotingTabs />` module component to disable `Breakdown` and `Votes` tabs when voting status is not
|
|
384
|
-
active
|
|
371
|
+
- Update `<ProposalVotingTabs />` module component to disable `Breakdown` and `Votes` tabs when voting status is not active
|
|
385
372
|
- Bump `actions/setup-node` from 4.0.3 to 4.0.4
|
|
386
373
|
- Bump `actions/checkout` from 4.1.7 to 4.2.0
|
|
387
374
|
- Update minor and patch NPM dependencies
|
|
@@ -391,8 +378,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
391
378
|
|
|
392
379
|
### Added
|
|
393
380
|
|
|
394
|
-
- Add optional `confirmationLabel` prop to the `VoteProposalDataListItem` component in order to pass a custom string
|
|
395
|
-
when needed
|
|
381
|
+
- Add optional `confirmationLabel` prop to the `VoteProposalDataListItem` component in order to pass a custom string when needed
|
|
396
382
|
- Add new `xs` size for core `Avatar` component
|
|
397
383
|
|
|
398
384
|
## [1.0.46] - 2024-09-21
|
|
@@ -402,18 +388,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
402
388
|
- Add `IconType.BLOCKCHAIN_WALLETCONNECT` and associated asset
|
|
403
389
|
- Add `EmptyState` fallback to ProposalActions when no actions provided
|
|
404
390
|
- Support `dropdownItems` property on `ProposalActions` module component to display custom actions
|
|
405
|
-
- Update `ProposalActions` component to support `actionKey` property and forward `index` property to sub action
|
|
406
|
-
components
|
|
391
|
+
- Update `ProposalActions` component to support `actionKey` property and forward `index` property to sub action components
|
|
407
392
|
|
|
408
393
|
### Changed
|
|
409
394
|
|
|
410
395
|
- Update layout of `EmptyState` for centering
|
|
411
396
|
- Update `AccordionItem` border classes for usage within bordered containers
|
|
412
|
-
- Update `ProposalAction` to handle an `EmptyState` fallback for no actions passed, improve layout of children with
|
|
413
|
-
"Expand all" (eg. 'Execute actions' button, etc)
|
|
397
|
+
- Update `ProposalAction` to handle an `EmptyState` fallback for no actions passed, improve layout of children with "Expand all" (eg. 'Execute actions' button, etc)
|
|
414
398
|
- Update `DataListItem` component to support button rendering and standalone usage
|
|
415
|
-
- Make `IProposalAction` type generic on ProposalAction module component to support actions with additional parameters
|
|
416
|
-
when used inside a form (e.g. actions with an additional `index` parameter)
|
|
399
|
+
- Make `IProposalAction` type generic on ProposalAction module component to support actions with additional parameters when used inside a form (e.g. actions with an additional `index` parameter)
|
|
417
400
|
- Update minor and patch versions of NPM dependencies
|
|
418
401
|
- Bump `micromatch` from 4.0.7 to 4.0.8
|
|
419
402
|
- Bump `webpack` from 5.91.0 to 5.94.0
|
|
@@ -431,8 +414,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
431
414
|
|
|
432
415
|
- Update illustration SVGs with custom CSS color customizations
|
|
433
416
|
- Add `isLoading` property to `<Spinner />` core component to render static spinners
|
|
434
|
-
- Update the interfaces of the `<Dialog.Footer />` and `<DialogAlert.Footer />` core components to support the
|
|
435
|
-
`disabled` and `isLoading` properties for the footer buttons
|
|
417
|
+
- Update the interfaces of the `<Dialog.Footer />` and `<DialogAlert.Footer />` core components to support the `disabled` and `isLoading` properties for the footer buttons
|
|
436
418
|
|
|
437
419
|
### Fixed
|
|
438
420
|
|
|
@@ -444,15 +426,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
444
426
|
|
|
445
427
|
- Implement `useRandomId` hook and update fields components to use it
|
|
446
428
|
- Update `<TextAreaRichText />` core component to expose `immediatelyRender` property for SSR usage
|
|
447
|
-
- Update `<RadioGroup />`, `<CheckboxGroup />` and `<Switch />` core components to render the `InputContainer` component
|
|
448
|
-
and support the label, helpText, alert and isOptional properties.
|
|
429
|
+
- Update `<RadioGroup />`, `<CheckboxGroup />` and `<Switch />` core components to render the `InputContainer` component and support the label, helpText, alert and isOptional properties.
|
|
449
430
|
|
|
450
431
|
### Fixed
|
|
451
432
|
|
|
452
|
-
- Update `<Wallet />` module component to correctly propagate custom `chainId` and `wagmi` configs to `<MemberAvatar />`
|
|
453
|
-
|
|
454
|
-
- Fix `FIAT_TOTAL_SHORT`, `FIAT_TOTAL_LONG`, `TOKEN_AMOUNT_SHORT` and `PERCENTAGE_SHORT` formats to truncate small
|
|
455
|
-
numbers
|
|
433
|
+
- Update `<Wallet />` module component to correctly propagate custom `chainId` and `wagmi` configs to `<MemberAvatar />` component
|
|
434
|
+
- Fix `FIAT_TOTAL_SHORT`, `FIAT_TOTAL_LONG`, `TOKEN_AMOUNT_SHORT` and `PERCENTAGE_SHORT` formats to truncate small numbers
|
|
456
435
|
- Hide ens loader indicator on `<Wallet />` module component for mobile devices
|
|
457
436
|
- Fix Storybook stories path of `<Checkbox />` core components
|
|
458
437
|
- Move `<Radio />` core components under `/forms` folder
|
|
@@ -462,8 +441,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
462
441
|
### Changed
|
|
463
442
|
|
|
464
443
|
- Default `type` attribute of `<Button />` core component to `button`
|
|
465
|
-
- Rename `label` property on `<Switch />` core component to `inlineLabel` to also support the existing `label` property
|
|
466
|
-
from the `InputContainer` component.
|
|
444
|
+
- Rename `label` property on `<Switch />` core component to `inlineLabel` to also support the existing `label` property from the `InputContainer` component.
|
|
467
445
|
- Update minor and patch NPM dependencies
|
|
468
446
|
- Bump `elliptic` from `6.5.5` to `6.5.7`
|
|
469
447
|
|
|
@@ -477,23 +455,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
477
455
|
### Changed
|
|
478
456
|
|
|
479
457
|
- Update `@typescript-eslint` packages to v8
|
|
480
|
-
- Remove "Summary" section from `ProposalActionTokenMint` module component and update action interface to only support
|
|
481
|
-
one receiver
|
|
458
|
+
- Remove "Summary" section from `ProposalActionTokenMint` module component and update action interface to only support one receiver
|
|
482
459
|
- Update minor and patch NPM dependencies
|
|
483
460
|
|
|
484
461
|
## [1.0.42] - 2024-08-07
|
|
485
462
|
|
|
486
463
|
### Fixed
|
|
487
464
|
|
|
488
|
-
- Hide minimum participation details on `ProposalVotingBreakdownToken` module component when minParticipation is set to
|
|
489
|
-
zero
|
|
465
|
+
- Hide minimum participation details on `ProposalVotingBreakdownToken` module component when minParticipation is set to zero
|
|
490
466
|
- Correctly forward web3 params (e.g. `chainId`) to native `ProposalActions` components
|
|
491
467
|
- Fix ENS name truncation on `<Wallet />` module component
|
|
492
468
|
- Update `<Wallet />` module component to only resolve user ENS name when name property is not set
|
|
493
469
|
- Fix expand behaviour of `TextAreaRichText` core component when used inside a dialog and hide the input label
|
|
494
470
|
- Fix `NumberInput` component to correctly update values on plus / minus buttons click
|
|
495
|
-
- Fix `ProposalVotingBreakdownToken` module component to display correct progress variant when min-participation and
|
|
496
|
-
support are equal to the threshold required
|
|
471
|
+
- Fix `ProposalVotingBreakdownToken` module component to display correct progress variant when min-participation and support are equal to the threshold required
|
|
497
472
|
|
|
498
473
|
### Added
|
|
499
474
|
|
|
@@ -517,8 +492,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
517
492
|
### Added
|
|
518
493
|
|
|
519
494
|
- Export `VoteIndicator` type from `Vote` module
|
|
520
|
-
- Update `useBlockExplorer` hook to export a `getBlockExplorer` function, update `buildEntityUrl` function to support a
|
|
521
|
-
`chainId` parameter which overrides the `chainId` hook parameter
|
|
495
|
+
- Update `useBlockExplorer` hook to export a `getBlockExplorer` function, update `buildEntityUrl` function to support a `chainId` parameter which overrides the `chainId` hook parameter
|
|
522
496
|
|
|
523
497
|
### Changed
|
|
524
498
|
|
|
@@ -529,8 +503,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
529
503
|
### Added
|
|
530
504
|
|
|
531
505
|
- Implement `ProposalAction` and `ProposalVoting` module components
|
|
532
|
-
- Handle `WithdrawToken`, `ChangeMembers`, `UpdateMetadata`, `ChangeSettings` and `TokenMint` actions on
|
|
533
|
-
`ProposalActions` module component
|
|
506
|
+
- Handle `WithdrawToken`, `ChangeMembers`, `UpdateMetadata`, `ChangeSettings` and `TokenMint` actions on `ProposalActions` module component
|
|
534
507
|
- Add optional `hideLabelTokenVoting` and `tokenSymbol` props to the `MemberDataListItemStructure` module component
|
|
535
508
|
- Implement `invariant` core utility
|
|
536
509
|
|
|
@@ -539,8 +512,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
539
512
|
- Renamed `votingPower` prop to `tokenAmount` in the `MemberDataListItemStructure` module component
|
|
540
513
|
- Update interface for `Accordion.Container` to expose value prop
|
|
541
514
|
- Update styles on `Tabs.List` for latest spec
|
|
542
|
-
- Rename `indicator` property of `<Progress />` core component to `thresholdIndicator` and set `data-value` property to
|
|
543
|
-
indicator component to easier test its value
|
|
515
|
+
- Rename `indicator` property of `<Progress />` core component to `thresholdIndicator` and set `data-value` property to indicator component to easier test its value
|
|
544
516
|
- Bump `softprops/action-gh-release` from 2.0.6 to 2.0.8
|
|
545
517
|
- Bump `ws` from 7.5.9 to 7.5.10
|
|
546
518
|
- Update minor and patch NPM dependencies
|
|
@@ -629,8 +601,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
629
601
|
|
|
630
602
|
### Added
|
|
631
603
|
|
|
632
|
-
- Handle new `layoutClassnames` property on `DataList.Container` component to simplify implementation of custom
|
|
633
|
-
`DataList` layouts
|
|
604
|
+
- Handle new `layoutClassnames` property on `DataList.Container` component to simplify implementation of custom `DataList` layouts
|
|
634
605
|
- Create `ssrUtils` core utilities
|
|
635
606
|
|
|
636
607
|
## [1.0.33] - 2024-06-06
|
|
@@ -682,8 +653,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
682
653
|
|
|
683
654
|
- Implement `DefinitionList` core component
|
|
684
655
|
- Implement `TransactionDataListItem.Skeleton` module component
|
|
685
|
-
- Implement `OdsCoreProvider`, `LinkBase` and `AvatarBase` core components to support `Link` and `Image` NextJs
|
|
686
|
-
components.
|
|
656
|
+
- Implement `OdsCoreProvider`, `LinkBase` and `AvatarBase` core components to support `Link` and `Image` NextJs components.
|
|
687
657
|
|
|
688
658
|
### Changed
|
|
689
659
|
|
|
@@ -697,8 +667,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
697
667
|
|
|
698
668
|
### Added
|
|
699
669
|
|
|
700
|
-
- Implement `MemberDataListItem.Skeleton`, `AssetDataListItem.Skeleton`, and `DaoDataListItem.Skeleton` module
|
|
701
|
-
components
|
|
670
|
+
- Implement `MemberDataListItem.Skeleton`, `AssetDataListItem.Skeleton`, and `DaoDataListItem.Skeleton` module components
|
|
702
671
|
- Implement `Tabs` core component
|
|
703
672
|
- Custom CSS property added for `Collapsible` to adjust z-index
|
|
704
673
|
|
|
@@ -767,8 +736,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
767
736
|
- Add `stageId` and `stageTitle` properties to `IApprovalThresholdResult` & `IMajorityVotingResult` interfaces
|
|
768
737
|
- Add `id` and optional `tag` properties to `ProposalDataListItemStructure`
|
|
769
738
|
- Remove `publisherProfileLink` and `protocolUpdate` properties from `ProposalDataListItemStructure`
|
|
770
|
-
- Update `date` and `result` properties of `ProposalDataListItemStructure` to be optional and `publisher` to allow for
|
|
771
|
-
multiple publishers
|
|
739
|
+
- Update `date` and `result` properties of `ProposalDataListItemStructure` to be optional and `publisher` to allow for multiple publishers
|
|
772
740
|
|
|
773
741
|
### Fixed
|
|
774
742
|
|
|
@@ -804,8 +772,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
804
772
|
|
|
805
773
|
### Added
|
|
806
774
|
|
|
807
|
-
- Implement `DaoDataListItem.Structure`, `ProposalDataListItem.Structure`, `TransactionDataListItem.Structure`,
|
|
808
|
-
`MemberDataListItem.Structure`, `AssetDataListItem.Structure`, and `AddressInput` module components
|
|
775
|
+
- Implement `DaoDataListItem.Structure`, `ProposalDataListItem.Structure`, `TransactionDataListItem.Structure`, `MemberDataListItem.Structure`, `AssetDataListItem.Structure`, and `AddressInput` module components
|
|
809
776
|
- Implement `StatePingAnimation` core component
|
|
810
777
|
- Implement `addressUtils` and `ensUtils` module utilities
|
|
811
778
|
- Implement `useDebouncedValue` core hook and `clipboardUtils` core utility
|
|
@@ -822,8 +789,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
822
789
|
### Fixed
|
|
823
790
|
|
|
824
791
|
- Reexport module components
|
|
825
|
-
- Library build process to avoid bundling dependencies and peer-dependencies when using subfolders import (e.g.
|
|
826
|
-
`wagmi/chains`)
|
|
792
|
+
- Library build process to avoid bundling dependencies and peer-dependencies when using subfolders import (e.g. `wagmi/chains`)
|
|
827
793
|
- Formatter utility to support negative numbers
|
|
828
794
|
|
|
829
795
|
## [1.0.20] - 2024-03-13
|
|
@@ -963,8 +929,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
963
929
|
|
|
964
930
|
### Added
|
|
965
931
|
|
|
966
|
-
- Implement `CardEmptyState`, `EmptyState`, `Checkbox`, `CheckboxGroup`, `CheckboxCard`, `RadioGroup`, `Radio`, and
|
|
967
|
-
`RadioCard` components
|
|
932
|
+
- Implement `CardEmptyState`, `EmptyState`, `Checkbox`, `CheckboxGroup`, `CheckboxCard`, `RadioGroup`, `Radio`, and `RadioCard` components
|
|
968
933
|
- Export all component types
|
|
969
934
|
- Handle style transitions on `ActionItem`, `Button` and `Toggle` components
|
|
970
935
|
- Property `defaultValue` to `ToggleGroup` component to set an initial value for uncontrolled usage
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aragon/gov-ui-kit",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Implementation of the Aragon's Governance UI Kit",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"types": "dist/types/src/index.d.ts",
|
|
@@ -74,12 +74,12 @@
|
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"@tailwindcss/typography": "^0.5.0",
|
|
77
|
-
"@tanstack/react-query": "^5.
|
|
77
|
+
"@tanstack/react-query": "^5.72.0",
|
|
78
78
|
"react": "^18.2.0 || ^19.0.0",
|
|
79
79
|
"react-dom": "^18.2.0 || ^19.0.0",
|
|
80
80
|
"react-hook-form": "^7.55.0",
|
|
81
81
|
"tailwindcss": "^3.4.0",
|
|
82
|
-
"viem": "^2.
|
|
82
|
+
"viem": "^2.26.0",
|
|
83
83
|
"wagmi": "^2.14.0"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
@@ -87,41 +87,43 @@
|
|
|
87
87
|
"@babel/preset-env": "^7.26.9",
|
|
88
88
|
"@babel/preset-react": "^7.26.3",
|
|
89
89
|
"@babel/preset-typescript": "^7.27.0",
|
|
90
|
-
"@
|
|
90
|
+
"@changesets/changelog-github": "^0.5.1",
|
|
91
|
+
"@changesets/cli": "^2.28.1",
|
|
92
|
+
"@hookform/devtools": "^4.4.0",
|
|
91
93
|
"@rollup/plugin-commonjs": "^28.0.3",
|
|
92
94
|
"@rollup/plugin-image": "^3.0.3",
|
|
93
95
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
94
96
|
"@rollup/plugin-terser": "^0.4.4",
|
|
95
97
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
96
98
|
"@storybook/addon-designs": "^8.2.1",
|
|
97
|
-
"@storybook/addon-essentials": "^8.6.
|
|
98
|
-
"@storybook/addon-links": "^8.6.
|
|
99
|
+
"@storybook/addon-essentials": "^8.6.12",
|
|
100
|
+
"@storybook/addon-links": "^8.6.12",
|
|
99
101
|
"@storybook/addon-styling-webpack": "^1.0.1",
|
|
100
|
-
"@storybook/addon-webpack5-compiler-babel": "^3.0.
|
|
101
|
-
"@storybook/blocks": "^8.6.
|
|
102
|
-
"@storybook/react": "^8.6.
|
|
103
|
-
"@storybook/react-webpack5": "^8.6.
|
|
104
|
-
"@storybook/test": "^8.6.
|
|
102
|
+
"@storybook/addon-webpack5-compiler-babel": "^3.0.6",
|
|
103
|
+
"@storybook/blocks": "^8.6.12",
|
|
104
|
+
"@storybook/react": "^8.6.12",
|
|
105
|
+
"@storybook/react-webpack5": "^8.6.12",
|
|
106
|
+
"@storybook/test": "^8.6.12",
|
|
105
107
|
"@svgr/rollup": "^8.1.0",
|
|
106
108
|
"@svgr/webpack": "^8.1.0",
|
|
107
109
|
"@tailwindcss/typography": "^0.5.16",
|
|
108
|
-
"@tanstack/react-query": "^5.
|
|
110
|
+
"@tanstack/react-query": "^5.72.0",
|
|
109
111
|
"@testing-library/dom": "^10.4.0",
|
|
110
112
|
"@testing-library/jest-dom": "^6.6.3",
|
|
111
|
-
"@testing-library/react": "^16.
|
|
113
|
+
"@testing-library/react": "^16.3.0",
|
|
112
114
|
"@testing-library/user-event": "^14.6.1",
|
|
113
115
|
"@types/jest": "^29.5.14",
|
|
114
|
-
"@types/luxon": "^3.
|
|
115
|
-
"@types/react": "^19.0
|
|
116
|
-
"@types/react-dom": "^19.
|
|
116
|
+
"@types/luxon": "^3.6.2",
|
|
117
|
+
"@types/react": "^19.1.0",
|
|
118
|
+
"@types/react-dom": "^19.1.1",
|
|
117
119
|
"@types/sanitize-html": "^2.15.0",
|
|
118
120
|
"autoprefixer": "^10.4.21",
|
|
119
121
|
"cross-env": "^7.0.3",
|
|
120
|
-
"eslint": "^9.
|
|
121
|
-
"eslint-import-resolver-typescript": "^4.3.
|
|
122
|
+
"eslint": "^9.24.0",
|
|
123
|
+
"eslint-import-resolver-typescript": "^4.3.2",
|
|
122
124
|
"eslint-plugin-import": "^2.31.0",
|
|
123
125
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
124
|
-
"eslint-plugin-react": "^7.37.
|
|
126
|
+
"eslint-plugin-react": "^7.37.5",
|
|
125
127
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
126
128
|
"eslint-plugin-storybook": "^0.12.0",
|
|
127
129
|
"eslint-plugin-tailwindcss": "^3.18.0",
|
|
@@ -138,17 +140,18 @@
|
|
|
138
140
|
"react": "^19.1.0",
|
|
139
141
|
"react-dom": "^19.1.0",
|
|
140
142
|
"react-hook-form": "^7.55.0",
|
|
141
|
-
"rollup": "^4.
|
|
143
|
+
"rollup": "^4.39.0",
|
|
142
144
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
143
145
|
"rollup-plugin-postcss": "^4.0.2",
|
|
144
146
|
"rollup-plugin-visualizer": "^5.14.0",
|
|
145
|
-
"storybook": "^8.6.
|
|
147
|
+
"storybook": "^8.6.12",
|
|
146
148
|
"tailwindcss": "^3.4.17",
|
|
147
149
|
"ts-jest": "^29.3.1",
|
|
148
|
-
"typescript": "^5.8.
|
|
149
|
-
"typescript-eslint": "^8.29.
|
|
150
|
-
"
|
|
151
|
-
"
|
|
150
|
+
"typescript": "^5.8.3",
|
|
151
|
+
"typescript-eslint": "^8.29.1",
|
|
152
|
+
"vercel": "^41.4.1",
|
|
153
|
+
"viem": "^2.26.0",
|
|
154
|
+
"wagmi": "^2.14.16"
|
|
152
155
|
},
|
|
153
156
|
"bugs": {
|
|
154
157
|
"url": "https://github.com/aragon/gov-ui-kit/issues"
|
|
@@ -166,5 +169,5 @@
|
|
|
166
169
|
"./build.css": "./build.css",
|
|
167
170
|
"./tailwind.config": "./tailwind.config.js"
|
|
168
171
|
},
|
|
169
|
-
"packageManager": "yarn@4.
|
|
172
|
+
"packageManager": "yarn@4.8.1"
|
|
170
173
|
}
|