Skip to content

Releases: aragon/ods

v1.0.45

23 Aug 14:02
Compare
Choose a tag to compare

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 and isLoading properties for the footer buttons

Fixed

  • Use correct percentage formatting on <AssetDataListItem /> module component

v1.0.44

20 Aug 10:09
Compare
Choose a tag to compare

Added

  • Implement useRandomId hook and update fields components to use it
  • Update <TextAreaRichText /> core component to expose immediatelyRender property for SSR usage
  • Update <RadioGroup />, <CheckboxGroup /> and <Switch /> core components to render the InputContainer component and support the label, helpText, alert and isOptional properties.

Fixed

  • Update <Wallet /> module component to correctly propagate custom chainId and wagmi configs to <MemberAvatar /> component
  • Fix FIAT_TOTAL_SHORT, FIAT_TOTAL_LONG, TOKEN_AMOUNT_SHORT and PERCENTAGE_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 to button
  • Rename label property on <Switch /> core component to inlineLabel to also support the existing label property from the InputContainer component.
  • Update minor and patch NPM dependencies
  • Bump elliptic from 6.5.5 to 6.5.7

v1.0.43

13 Aug 13:25
Compare
Choose a tag to compare

Added

  • Add Aragon logo, remove dark background options and create custom theme using Aragon branding for ODS storybook
  • Update OdsModulesProvider to support wagmiInitialState 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

07 Aug 16:42
Compare
Choose a tag to compare

Fixed

  • Hide minimum participation details on ProposalVotingBreakdownToken module component when minParticipation is set to zero
  • Correctly forward web3 params (e.g. chainId) to native ProposalActions 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 custom chainId and wagmi 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 to ProposalActionsAction 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 with ProposalVotingStatus enum

v1.0.41

30 Jul 08:05
Compare
Choose a tag to compare

Added

  • Export VoteIndicator type from Vote module.
  • Update useBlockExplorer hook to export a getBlockExplorer function, update buildEntityUrl function to support a chainId parameter which overrides the chainId hook parameter.

Changed

  • Update minor and patch NPM dependencies

v1.0.40

26 Jul 11:17
Compare
Choose a tag to compare

Added

  • Implement ProposalAction and ProposalVoting module components
  • Handle WithdrawToken, ChangeMembers, UpdateMetadata, ChangeSettings and TokenMint actions on ProposalActions module component
  • Add optional hideLabelTokenVoting and tokenSymbol props to the MemberDataListItemStructure module component
  • Implement invariant core utility

Changed

  • Renamed votingPower prop to tokenAmount in the MemberDataListItemStructure 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 to thresholdIndicator and set data-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 showing null when date property is not defined
  • Fix DURATION date format to use the date locale set on the formatter

v1.0.39

16 Jul 13:50
Compare
Choose a tag to compare

Changed

  • Update minor and patch NPM dependencies
  • Update useBlockExplorer hook to return information about the block explorer

v1.0.38

16 Jul 08:04
Compare
Choose a tag to compare

Added

  • Add new variant prop to core Progress component, which defaults to primary
  • Add new optional indicator prop to core Progress 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

08 Jul 14:03
Compare
Choose a tag to compare

Changed

  • Format dates with formatterUtils within components
  • Update minor and patch NPM dependencies

v1.0.36

28 Jun 15:50
Compare
Choose a tag to compare

Changed

  • Reduce the use of controlled components in stories to improve code visibility in Storybook
  • Export DateFormat and additional types for handling dates with the FormatterUtils
  • Update required parameters of useBlockExplorer hook, implement enum for chain entity types