Releases: aragon/gov-ui-kit
Releases · aragon/gov-ui-kit
v1.0.47
Added
- Add optional
confirmationLabel
prop to theVoteProposalDataListItem
component in order to pass a custom string
when needed. - Add new
xs
size for coreAvatar
component
v1.0.46
Added
- Add
IconType.BLOCKCHAIN_WALLETCONNECT
and associated asset - Add
EmptyState
fallback to ProposalActions when no actions provided - Support
dropdownItems
property onProposalActions
module component to display custom actions - Update
ProposalActions
component to supportactionKey
property and forwardindex
property to sub action
components
Changed
- Update layout of
EmptyState
for centering - Update
AccordionItem
border classes for usage within bordered containers - Update
ProposalAction
to handle anEmptyState
fallback for no actions passed, improve layout of children with
"Expand all" (eg. 'Execute actions' button, etc) - Update
DataListItem
component to support button rendering and standalone usage - Make
IProposalAction
type generic on ProposalAction module component to support actions with additional parameters
when used inside a form (e.g. actions with an additionalindex
parameter) - Update minor and patch versions of NPM dependencies
- Bump
micromatch
from 4.0.7 to 4.0.8 - Bump
webpack
from 5.91.0 to 5.94.0 - Bump
actions/setup-python
from 5.1.1 to 5.2.0 - Bump
express
from 4.19.2 to 4.21.0
Fixed
- Fix the
TextAreaRichText
core component to expose empty string as default value instead of empty paragraph - Update
DropdownItem
style to correctly render items with icons aligned on the left
v1.0.45
Added
- Update illustration SVGs with custom CSS color customizations
- Add
isLoading
property to<Spinner />
core component to render static spinners - Update the interfaces of the
<Dialog.Footer />
and<DialogAlert.Footer />
core components to support the
disabled
andisLoading
properties for the footer buttons
Fixed
- Use correct percentage formatting on
<AssetDataListItem />
module component
v1.0.44
Added
- Implement
useRandomId
hook and update fields components to use it - Update
<TextAreaRichText />
core component to exposeimmediatelyRender
property for SSR usage - Update
<RadioGroup />
,<CheckboxGroup />
and<Switch />
core components to render theInputContainer
component and support the label, helpText, alert and isOptional properties.
Fixed
- Update
<Wallet />
module component to correctly propagate customchainId
andwagmi
configs to<MemberAvatar />
component - Fix
FIAT_TOTAL_SHORT
,FIAT_TOTAL_LONG
,TOKEN_AMOUNT_SHORT
andPERCENTAGE_SHORT
formats to truncate small numbers - Hide ens loader indicator on
<Wallet />
module component for mobile devices - Fix Storybook stories path of
<Checkbox />
core components - Move
<Radio />
core components under/forms
folder - Fix
<InputFileAvatar />
props interface to only expose supported props - Fix customisation of
z-index
property on<TextAreaRichText />
core component
Changed
- Default
type
attribute of<Button />
core component tobutton
- Rename
label
property on<Switch />
core component toinlineLabel
to also support the existinglabel
property from theInputContainer
component. - Update minor and patch NPM dependencies
- Bump
elliptic
from6.5.5
to6.5.7
v1.0.43
Added
- Add Aragon logo, remove dark background options and create custom theme using Aragon branding for ODS storybook
- Update
OdsModulesProvider
to supportwagmiInitialState
configuration for Wagmi provider
Changed
- Update
@typescript-eslint
packages to v8 - Remove "Summary" section from
ProposalActionTokenMint
module component and update action interface to only support one receiver - Update minor and patch NPM dependencies
v1.0.42
Fixed
- Hide minimum participation details on
ProposalVotingBreakdownToken
module component when minParticipation is set to zero - Correctly forward web3 params (e.g.
chainId
) to nativeProposalActions
components - Fix ENS name truncation on
<Wallet />
module component - Update
<Wallet />
module component to only resolve user ENS name when name property is not set - Fix expand behaviour of
TextAreaRichText
core component when used inside a dialog and hide the input label - Fix
NumberInput
component to correctly update values on plus / minus buttons click - Fix
ProposalVotingBreakdownToken
module component to display correct progress variant when min-participation and support are equal to the threshold required
Added
- Update
<Wallet />
module component to support customchainId
andwagmi
configurations - Add z-index property customisation for
TextAreaRichText
core component when expanded - Handle
useFocusTrap
property on dialog components to support disabling default focus-trap behaviour - Add
AlertCard
toProposalActionsAction
to alert user when action will send native currency - Update
ICompositeAddress
interface and components using it to support custom avatar - Make
ProposalStatus
strings customisable - Implement and export
proposalStatusToVotingStatus
utility - Add 'Raw' and 'Decoded' views to
ProposalActions
module component
Changed
- Update minor and patch NPM dependencies
- Bump
postcss
from 8.4.40 to 8.4.41 - Update
ProposalStatus
type to enum to align it withProposalVotingStatus
enum
v1.0.41
Added
- Export
VoteIndicator
type fromVote
module. - Update
useBlockExplorer
hook to export agetBlockExplorer
function, updatebuildEntityUrl
function to support achainId
parameter which overrides thechainId
hook parameter.
Changed
- Update minor and patch NPM dependencies
v1.0.40
Added
- Implement
ProposalAction
andProposalVoting
module components - Handle
WithdrawToken
,ChangeMembers
,UpdateMetadata
,ChangeSettings
andTokenMint
actions onProposalActions
module component - Add optional
hideLabelTokenVoting
andtokenSymbol
props to theMemberDataListItemStructure
module component - Implement
invariant
core utility
Changed
- Renamed
votingPower
prop totokenAmount
in theMemberDataListItemStructure
module component - Update interface for
Accordion.Container
to expose value prop - Update styles on
Tabs.List
for latest spec - Rename
indicator
property of<Progress />
core component tothresholdIndicator
and setdata-value
property to indicator component to easier test its value - Bump
softprops/action-gh-release
from 2.0.6 to 2.0.8 - Bump
ws
from 7.5.9 to 7.5.10 - Update minor and patch NPM dependencies
Fixed
- Update
ProposalDataListItem
module component to avoid showingnull
when date property is not defined - Fix
DURATION
date format to use the date locale set on the formatter
v1.0.39
Changed
- Update minor and patch NPM dependencies
- Update
useBlockExplorer
hook to return information about the block explorer
v1.0.38
Added
- Add new
variant
prop to coreProgress
component, which defaults toprimary
- Add new optional
indicator
prop to coreProgress
component - Add reset filter functionality to
DataListFilter
core component
Fixed
- Remove fixed width from
EmptyState
core component - Center
CardEmptyState
core component - Truncate long strings on
DaoDataListItem
,AssetDataListItem
,VoteDataListItem
module components - Fix errors and warnings thrown on component tests
Changed
- Bump
prettier-plugin-organize-imports
to 4.0.0 - Update minor and patch NPM dependencies
- Update minor and patch Github workflow dependencies