Releases: aragon/gov-ui-kit
Releases · aragon/gov-ui-kit
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
v1.0.37
Changed
- Format dates with
formatterUtils
within components - Update minor and patch NPM dependencies
v1.0.36
Changed
- Reduce the use of controlled components in stories to improve code visibility in Storybook
- Export
DateFormat
and additional types for handling dates with theFormatterUtils
- Update required parameters of
useBlockExplorer
hook, implement enum for chain entity types
v1.0.35
Added
- Implement
VoteProposalDataListItem
with Structure and Skeleton module - Add
useBlockExplorer
hook to generate block explorer links - Add
formatDate
utility function toformatterUtils
to format dates - Add support for copy customization
- Add
contentClassNames
property toDropdown.Container
component to support custom max width
Changed
- Remove Radix props dependency
- Update minor and patch Github action dependencies
- Update minor and patch NPM dependencies
- Revert to using
react-docgen-typescript
for Storybook documentation generation