All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Update minor and patch NPM dependencies
- Added missing export for
IAddressInputResolvedValue
interface
- Fix layout of
ProposalActionChangeMembers
module component
- Update
ProposalVoting.Container
module component to make stages accordion controlled and support updating the current active stage programmatically - Fix
VoteProposalDataListItem
module component to truncate long proposal IDs
- Bump
softprops/action-gh-release
from 2.0.8 to 2.0.9 - Update minor and patch NPM dependencies
- Update
ProposalVotingStage
module component to support undefinedstartDate
andendDate
properties - Update minor and patch Github dependencies
- Update minor and patch NPM dependencies
- Bump
elliptic
from 6.5.7 to 6.6.0
- Update
ProposalVotingStageStatus
module component to supportvetoed
andexpired
statuses - Update Figma documentation links in Storybook components
- Rename default modules context values to use
guk
prefix
- Rename default core context values to use
guk
prefix - Update
<DefinitionListItem />
and<Breadcrumbs />
core components to truncate long strings - Fix
<InputNumber >
core component to triggeronChange
callback on + / - button click
- Convert ODS repo & package to Governance UI Kit brand name + docs
- Update name of
OdsCoreProvider
toGukCoreProvider
to match new naming scheme - Update name of
OdsModulesProvider
toGukModulesProvider
to match new naming scheme - Update all
--ods-*
CSS variables to--guk-*
to match new naming scheme - Bump
eslint-plugin-react-hooks
from 4.6.2 to 5.0.0 - Bump
secp256k1
from 5.0.0 to 5.0.1 - Update minor and patch NPM dependencies
- Add optional
children
property toRadioCard
andCheckboxCard
core components displayed only when component is selected
- Update
RadioCard
andCheckboxCard
core components to have optional description property, fix alignment when no description provided - Update
<ProposalDataListItem.Structure >
module component to make proposal type property optional and support custom proposal results - Bump
actions/checkout
from 4.2.0 to 4.2.1 - Update minor and patch NPM dependencies
- Update
Tabs
core component to handle disabled tab trigger state - Support
forceMount
property onAccordion
core component andProposalVotingStage
module component to correctly render dynamic content on proposal stages
- Fix truncation issue on
VoteProposalDataListItem
module component - Update
AddressInput
module component to forwardchainId
andwagmiConfig
toMemberAvatar
component
- Update
<ProposalVotingTabs />
module component to disableBreakdown
andVotes
tabs when voting status is not active - Bump
actions/setup-node
from 4.0.3 to 4.0.4 - Bump
actions/checkout
from 4.1.7 to 4.2.0 - Update minor and patch NPM dependencies
- Bump
@rollup/plugin-typescript
from v11 to v12 and@rollup/plugin-commonjs
from v26 to v28
- Add optional
confirmationLabel
prop to theVoteProposalDataListItem
component in order to pass a custom string when needed - Add new
xs
size for coreAvatar
component
- 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
- 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
- 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
- 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 thedisabled
andisLoading
properties for the footer buttons
- Use correct percentage formatting on
<AssetDataListItem />
module component
- 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.
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- Export
VoteIndicator
type fromVote
module - Update
useBlockExplorer
hook to export agetBlockExplorer
function, updatebuildEntityUrl
function to support achainId
parameter which overrides thechainId
hook parameter
- Update minor and patch NPM dependencies
- 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
- 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
- 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
- Update minor and patch NPM dependencies
- Update
useBlockExplorer
hook to return information about the block explorer
- 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
- 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
- Bump
prettier-plugin-organize-imports
to 4.0.0 - Update minor and patch NPM dependencies
- Update minor and patch Github workflow dependencies
- Format dates with
formatterUtils
within components - Update minor and patch NPM dependencies
- 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
- 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
- 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
- Ensure
MemberAvatar
component only creates the blockies url on client environment
- Bump
@rollup/plugin-commonjs
from25.0.8
to26.0.1
- Update minor and patch dependencies of Github workflows
- Update minor and patch NPM dependencies
- Update
yarn
version to4.3.0
- Update unit tests to use userEvent instead of fireEvent
- Move all form items under a
forms
folder - Upgrade storybook to v8
- Update
MemberDataListItem
component to supportvotingPower
property set as string
- Handle new
layoutClassnames
property onDataList.Container
component to simplify implementation of customDataList
layouts - Create
ssrUtils
core utilities
- Correctly export
Collapsible
core component
- Implement
Wallet
module component - Implement
VoteDataListItem
with Structure and Skeleton module - Implement
ghost
variant forButton
component - Implement
primaryInverted
variant forSpinner
component
- Update minor and patch NPM dependencies
- Update
yarn
version from4.1.1
to4.2.2
- Bump
@testing-library/react
from15.0.7
to16.0.0
- Update sizes of
Avatar
core component - Update style of
Button
,CheckboxCard
,InputContainer
,RadioCard
,Spinner
andSwitch
components - Cleanup size class definitions to use
size-*
instead ofh-* w-*
- Cleanup
shink-0
class usage across components - Add
data-testid
attribute to svg files
- Fix responsiveness classes and utilities to support style for screens below
sm
breakpoint - Export module utilities
- Update library exports to support
require
calls
- Export
DefinitionList
core component
- Implement
DefinitionList
core component - Implement
TransactionDataListItem.Skeleton
module component - Implement
OdsCoreProvider
,LinkBase
andAvatarBase
core components to supportLink
andImage
NextJs components.
- Bump NPM minor and patch dependencies
- Bump minor and patch dependencies of Github workflows
- Expose
onValueChange
property onAccordion
core component - Update type extensions for
Tabs.Root
core component to allow forward ref - Update
OdsModulesProvider
component to render theOdsCoreProvider
context.
- Implement
MemberDataListItem.Skeleton
,AssetDataListItem.Skeleton
, andDaoDataListItem.Skeleton
module components - Implement
Tabs
core component - Custom CSS property added for
Collapsible
to adjust z-index
- Prose styling to match design system, better handling for
<code>
elements - Move z-index on Collapsible optional overlay to CSS as 'auto'
- Fixed disabled styling of AvatarIcon for disabled
AccordionItem
- Implement
Collapsible
, andCardCollapsible
core components
- Implement
DocumentParser
andAccordion
core component
- Bump
actions/checkout
from 4.1.3 to 4.1.4 - Bump
peter-evans/find-comment
from 2.4.0 to 3.1.0 - Bump
actions/github-script
from 6.4.1 to 7.0.1 - Bump
ejs
from 3.1.9 to 3.1.10 - Bump minor and patch dependencies
- Setup
Dependabot
to keep dependencies updated
- Set
yarn
version to v4 and update publish workflow - Update Dependabot config to group Github actions dependencies and fix Storybook group
- Bump
mindsers/changelog-reader-action
from 2.2.2 to 2.2.3 - Bump
peter-evans/create-or-update-comment
from 2 to 4.0.0 - Bump
actions/setup-python
from 4.6.1 to 5.1.0 - Bump
actions/setup-node
from 3.6.0 to 4.0.2 - Bump
softprops/action-gh-release
from 0.1.15 to 2.0.4 - Bump
dangoslen/changelog-enforcer
from 3.5.0 to 3.6.1 - Bump
actions/checkout
from 3.5.3 to 4.1.3 - Bump minimum Node version required from 18.18 to 20
- Bump minor and patch dependencies
ProposalDataListItemStructure
module component to clamp title to one line- Warnings on Github workflows for using deprecated yarn options
- Warnings on tests because of
@testing-library/dom
version mismatch
- Implement
ProposalDataListItemSkeleton
module component - Extend
addressUtils
withisAddressEqual
method
- Remove padding from
DataListContainer
,DataListFilterStatus
,DataListPagination
andDataListRoot
- Add
stageId
andstageTitle
properties toIApprovalThresholdResult
&IMajorityVotingResult
interfaces - Add
id
and optionaltag
properties toProposalDataListItemStructure
- Remove
publisherProfileLink
andprotocolUpdate
properties fromProposalDataListItemStructure
- Update
date
andresult
properties ofProposalDataListItemStructure
to be optional andpublisher
to allow for multiple publishers
Link
core component to truncate on overflow
- Implement
Breadcrumbs
,StateSkeletonBar
, andStateSkeletonCircular
core components - Added
slash
icon file
- Update minor and patch dependencies
- Update
@testing-library/react
to v15 - Adjusted active and hover start styling on
AssetTransfer
module component - Export all components to allow usage without dot-notation
- Implement
AssetTransfer
module component
- Update
README
logo - Bump
tar
from 6.2.0 to 6.2.1 - Drop
common-js
support
- Implement
DaoDataListItem.Structure
,ProposalDataListItem.Structure
,TransactionDataListItem.Structure
,MemberDataListItem.Structure
,AssetDataListItem.Structure
, andAddressInput
module components - Implement
StatePingAnimation
core component - Implement
addressUtils
andensUtils
module utilities - Implement
useDebouncedValue
core hook andclipboardUtils
core utility - Support
withSign
option on formatter
- Update
Tag
component primary variant styling - Update Eslint rules to align usage of boolean properties
- Update default query-client options to set a stale time greater than 0
- Bump
webpack-dev-middleware
from 6.1.1 to 6.1.2 - Bump
express
from 4.18.2 to 4.19.2 #132
- Reexport module components
- Library build process to avoid bundling dependencies and peer-dependencies when using subfolders import (e.g.
wagmi/chains
) - Formatter utility to support negative numbers
- Fix library build to avoid bundling peer dependencies
- Remove export of module components until the Aragon App migrates to Wagmi v2
- Implement animations for
Dialog
andDialogAlert
components - Implement
DaoAvatar
andMemberAvatar
module components - Implement
OdsModulesProvider
for using wagmi hooks on modules components - Introduce component customisations for the z-index property of the
Dropdown
andDialogs
components
- Update library structure to support module components
- Update documentation about how to install the library
- Update minor and patch dependencies
- Update
@typescript-eslint
andeslint-plugin-storybook
dependencies - Set minimum required node version to 18.18.0 (required by
@typescript-eslint
v7) - Update documentation on modules components
- Update required dependencies, move
react
andreact-dom
to peer dependencies
- Usage of
Dropdown
component inside aDialog
component - Remove auto-focus to
Dropdown
trigger to avoid closing dialogs onDropdownItem
click
- Implement
DataList
component - Handling of responsive sizes to
Progress
component
- Update
eslint
rules to enforce no circular dependencies
CardEmptyState
component to horizontally center content- Spacings of
EmptyState
component when being stacked and having an object illustration - Typos on documentation and comments
ActionItem
component
- Add
customTrigger
andalign
properties to Dropdown component - Implement
DialogAlert
andDialog
components
Icon
styling to prevent shrinking- Correct
IconType.MINUS
icon for InputNumber component
- Add
disabled
andisLoading
properties to Button component, removestate
property - Update
AlertCard
component to accept any ReactNode asdescription
property - Rename
isDisabled
property of input components todisabled
- Bump
ip
library from 2.0.0 to 2.0.1
- Implement
Heading
,InputFileAvatar
andDropdown
components - All SVGs have new designs/code implemented with "currentColor" fill, 16x16 mask
- Added
richtext-heading
,blockchain-block
,app-transactions
,logout
,critical
andsort-desc
icon files - Ref property handling on
Button
component
- Removed
radio-pause
,switch
,tx-failure
,turn-off
andupdate
icon files
- Renamed
menu-vertical
todots-vertical
- Renamed
menu-horizontal
todots-horizontal
- Renamed
menu-default
tomenu
- Renamed
sort
tosort-asc
- Renamed
add
toplus
- Renamed
remove
tominus
- Renamed
question
tohelp
- Renamed
radio-cancel
toremove
- Renamed
radio-default
toradio
- Renamed
radio-check
tosuccess
- Renamed
checkbox-multi
tocheckbox-indeterminate
- Renamed
checkbox-default
tocheckbox
- Renamed
tx-smart-contract
toblockchain-smartcontract
- Renamed
tx-deposit
todeposit
- Renamed
tx-withdraw
towithdraw
- Renamed
app-finance
toapp-assets
- Renamed
app-governance
toapp-proposals
- Renamed
app-community
toapp-members
- Renamed
explore
toapp-explore
- Renamed
dashboard
toapp-dashboard
- Renamed
blockchain
toblockchain-blockchain
- Renamed
gas-fee
toblockchain-gasfee
- Renamed
wysiwyg-bold
torichtext-bold
- Renamed
wysiwyg-italic
torichtext-italic
- Renamed
wysiwyg-link-set
torichtext-link-add
- Renamed
wysiwyg-link-unset
torichtext-link-remove
- Renamed
wysiwyg-list-ordered
torichtext-list-ordered
- Renamed
wysiwyg-list-unordered
torichtext-list-unordered
- Implement
Tooltip
component
- Update minor and patch versions of dependencies
- Style of
Progress
component to make it full width
- Implement
CardEmptyState
,EmptyState
,Checkbox
,CheckboxGroup
,CheckboxCard
,RadioGroup
,Radio
, andRadioCard
components - Export all component types
- Handle style transitions on
ActionItem
,Button
andToggle
components - Property
defaultValue
toToggleGroup
component to set an initial value for uncontrolled usage shadow-info
Tailwind CSS utility class and documentationonents- Ref forwarding to
InputNumber
,InputSearch
,InputText
andTextArea
components
- Storybook stories to only use the component's required properties on
default
stories Button
component to render a button element when thehref
property is set toundefined
- Hide clear icon on
InputSearch
component when disabled
- Implement new style for
AlertCard
,Spinner
,Switch
,InputContainer
,Toggle
andTag
components - Mark variant property of
AlertInline
andAlertCard
components as optional and set it toinfo
by default - Remove border color from
Card
component, update style ofCardSummary
component as for new design - Set default properties to
Button
andSpinner
components - Hide date picker indicator when
InputDate
component is disabled - Update
InputNumber
component to handle prefix and suffix properties throughreact-imask
- Align cursor style of disabled components
- Update line-height and height of
TextArea
andTextAreaRichText
components
- Properly export ESM/CJS library depending on current environment and fix CJS build
- Implement
Link
,InputNumber
,InputTime
,TextArea
andTextAreaRichText
components - Implement Addon element for
InputText
component - Handle size property on
Progress
component border-none
Tailwind CSS utility class
- Update minor and patch versions of dependencies
- Update
husky
to v9 - Add
wrapperClassName
property toInputContainer
component to customise the input wrapper - Update
InputContainer
props to accept any HTML div property and support textarea elements
- Fix styling conflict in
InputText
introduced by Addon element
- Minimum
tailwindcss
version required - Fix disabled input style on Firefox
- Max Length on inputs is restyled and only shows if no alert
- Fix
Toggle
component shadow styling
- Implement
InputDate
,Avatar
andInputNumberMax
components - Add
AvatarIcon
documentation and tests
- Fix label size of
Switch
component
- Update minor and patch versions of dependencies
- Implement
Card
,CardSummary
,Switch
,Toggle
andToggleGroup
components
- Update
Spinner
andButton
components to handle responsive sizes - Update
Icon
andAvatarIcon
components to handle xl and 2xl responsive sizes
- Update
InputSearch
component to fix server-side rendering
- Implement
Tag
,InputContainer
,InputText
andInputSearch
components - Documentation on how to handle library dependencies
shadow-none
andshake
Tailwind CSS utility classes
- Update library documentation
- Output
build.css
file to be able to use ODS library without TailwindCSS - Relax
dependencies
andpeerDependencies
versions - Prettier configuration to propertly format markdown files
- Bump
@adobe/css-tools
from 4.3.1 to 4.3.2
- Correctly format
README.md
links on Storybook - Handling of value length for controlled inputs
- Update
lint-staged
to v15 - Update
babel
,rollup
,storybook
dependencies - Bundle
tslib
utilities into library by removingimportHelpers
TypeScript configuration
- Introduce
@svgr/rollup
to correctly bundle SVGs - Remove redundant
jackspeak
dependency resolution - Move
"@svgr/rollup
dependency to dev dependencies
- Remove redundant
postcss
step and dependency - Do not include
tailwindcss
configuration utilities into bundle
- Mark all dependencies as external to fix library build
- Fix directory of types declarations
- Remove empty
index.css
file
- Implement
formatterUtils
class to format numbers
- Bump
@babel/traverse
from 7.23.0 to 7.23.2
- Initial v1.0 release of
@aragon/ods
library