Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: UIKit chip component #568

Merged
merged 38 commits into from
Jun 24, 2024
Merged

feat: UIKit chip component #568

merged 38 commits into from
Jun 24, 2024

Conversation

dtscalac
Copy link
Contributor

@dtscalac dtscalac commented Jun 24, 2024

Description

Implements a chip component from Figma.

Using a material provided Chip from flutter framework would be incorrect semantically, i.e. in VoicesChip we need a leading and trailing, in flutter's Chip it's called avatar and deleteIcon. Not all widgets we'll use for trailing will be for deleting.

Related Issue(s)

Closes #567

Screenshots

Screenshot 2024-06-24 at 14 53 48

Please confirm the following checks

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream module

coire1 and others added 30 commits June 11, 2024 09:15
* feat: Add new colors and definitions to Catalyst Theme.

* feat: Add VoicesAppBar and sub-actions.

* feat: Add CatalystVoicesIcons set.

* feat: Update actions components to use CatalystVoices icons.

* feat: Add VoicesAppBar widget.

* docs: Add docs for actions widgets.

* feat: Add search button.

* feat: Update unlock icon to use CatalystVoices icon set.

* feat: Add SearchButton to VoicesAppBar.

* feat: Restore `flutter_adaptive_scaffold` version and add `catalyts_voices_brands`.

* feat: Move icons to right for action buttons.

* chore: Removed unused import.

* Fix: Point `flutter-ci` to main branch.

* chore: Change typedef of button callbacks.

* chore: Rename chevron icons.

---------

Co-authored-by: Steven Johnson <[email protected]>
* Update .earthlyignore

* chore: ignore Earthfile in .earthfileignore
* feat: add catalyst_cardano wallet api

* feat: add error handling

* fix: tests

* docs: update toc

* docs: fix readme

* fix: decrement package version

* feat: add missing import

* fix: assets path

* fix: add missing dependency

* feat: add example

* feat: add error case

* refactor: rename getCardanoWallets

* fix: method name

* chore: ignore flutter plugins generated files

* feat: cardano wallet api example (#523)

* feat: add missing import

* fix: assets path

* fix: add missing dependency

* feat: add example

* fix: method name

* fix: balance with multi asset tokens

* feat: parse value from utxo

* fix: utxo formatting

* feat: update example

* feat: code adjust

* fix: balance

* feat: parse multi assets

* feat: add multi assets arithmetics

* feat: adjust code to latest changes

* fix: assets cleanup

* feat: support native tokens in utxos

* fix: multi asset change calculation

* fix: change calculation

* refactor: cleanup code

* Update .earthlyignore

* chore: ignore Earthfile in .earthfileignore

* docs: update example

* docs: update readme

* refactor: cleanup code

* docs: readme

* docs: improve grammar

* refactor: rename value to balance

* docs: fix

---------

Co-authored-by: Dominik Toton <[email protected]>
* feat: add catalyst_cardano wallet api

* feat: add error handling

* fix: tests

* docs: update toc

* docs: fix readme

* fix: decrement package version

* feat: add missing import

* fix: assets path

* fix: add missing dependency

* feat: add example

* feat: add error case

* refactor: rename getCardanoWallets

* fix: method name

* chore: ignore flutter plugins generated files

* feat: cardano wallet api example (#523)

* feat: add missing import

* fix: assets path

* fix: add missing dependency

* feat: add example

* fix: method name

* fix: balance with multi asset tokens

* feat: parse value from utxo

* fix: utxo formatting

* feat: update example

* feat: code adjust

* fix: balance

* feat: parse multi assets

* feat: add multi assets arithmetics

* feat: adjust code to latest changes

* fix: assets cleanup

* feat: support native tokens in utxos

* fix: multi asset change calculation

* fix: change calculation

* refactor: cleanup code

* Update .earthlyignore

* chore: ignore Earthfile in .earthfileignore

* docs: update example

* docs: update readme

* refactor: cleanup code

* docs: readme

* feat: add cip 95

* fix: cip95 deserialization

* refactor: formatting

* docs: improve grammar

* refactor: rename value to balance

* docs: fix

---------

Co-authored-by: Dominik Toton <[email protected]>
* docs: add common issues docs

* docs: fix readme formatting
# Conflicts:
#	catalyst-gateway/Earthfile
@dtscalac dtscalac added review me PR is ready for review dart Pull requests that update Dart code labels Jun 24, 2024
@dtscalac dtscalac added this to the M4: Voting & Delegation milestone Jun 24, 2024
@dtscalac dtscalac self-assigned this Jun 24, 2024
@dtscalac dtscalac requested a review from minikin as a code owner June 24, 2024 12:57
Copy link
Contributor

github-actions bot commented Jun 24, 2024

Test Report | ${\color{lightgreen}Pass: 91/91}$ | ${\color{red}Fail: 0/91}$ |

Base automatically changed from feat/navigation-drawer to main June 24, 2024 13:07
@minikin minikin enabled auto-merge (squash) June 24, 2024 13:36
Copy link
Collaborator

@minikin minikin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@minikin minikin merged commit cd064ad into main Jun 24, 2024
27 checks passed
@minikin minikin deleted the feat/uikit-chips branch June 24, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dart Pull requests that update Dart code review me PR is ready for review
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

🛠️ [TASK] : UI kit chip component
4 participants