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

refactor: tag component to improve ux #3748

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
- link "Density arrow_up_right\" / \""
- text: Functional (Default) Regular Expressive
- link "Emphasis arrow_up_right\" / \""
- text: (Default) Weak Strong
- text: (Default) Weak Origin Strong
- link "Semantic arrow_up_right\" / \""
- text: (Default) Adaptive Neutral Critical Informational Successful Warning Adaptive Strong Neutral Strong Critical Strong Informational Strong Successful Strong Warning Strong
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Origin Critical Origin Informational Origin Neutral Origin Successful Origin Warning Origin Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Size arrow_up_right\" / \""
- text: (Default) Small Medium
- link "Content arrow_up_right\" / \""
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
- link "Density arrow_up_right\" / \""
- text: Functional (Default) Regular Expressive
- link "Emphasis arrow_up_right\" / \""
- text: (Default) Weak Strong
- text: (Default) Weak Origin Strong
- link "Semantic arrow_up_right\" / \""
- text: (Default) Adaptive Neutral Critical Informational Successful Warning Adaptive Strong Neutral Strong Critical Strong Informational Strong Successful Strong Warning Strong
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Origin Critical Origin Informational Origin Neutral Origin Successful Origin Warning Origin Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Size arrow_up_right\" / \""
- text: (Default) Small Medium
- link "Content arrow_up_right\" / \""
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
- link "Density arrow_up_right\" / \""
- text: Functional (Default) Regular Expressive
- link "Emphasis arrow_up_right\" / \""
- text: (Default) Weak Strong
- text: (Default) Weak Origin Strong
- link "Semantic arrow_up_right\" / \""
- text: (Default) Adaptive Neutral Critical Informational Successful Warning Adaptive Strong Neutral Strong Critical Strong Informational Strong Successful Strong Warning Strong
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Origin Critical Origin Informational Origin Neutral Origin Successful Origin Warning Origin Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Size arrow_up_right\" / \""
- text: (Default) Small Medium
- link "Content arrow_up_right\" / \""
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
- link "Density arrow_up_right\" / \""
- text: Functional (Default) Regular Expressive
- link "Emphasis arrow_up_right\" / \""
- text: (Default) Weak Strong
- text: (Default) Weak Origin Strong
- link "Semantic arrow_up_right\" / \""
- text: (Default) Adaptive Neutral Critical Informational Successful Warning Adaptive Strong Neutral Strong Critical Strong Informational Strong Successful Strong Warning Strong
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Origin Critical Origin Informational Origin Neutral Origin Successful Origin Warning Origin Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Size arrow_up_right\" / \""
- text: (Default) Small Medium
- link "Content arrow_up_right\" / \""
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
- link "Density arrow_up_right\" / \""
- text: Functional (Default) Regular Expressive
- link "Emphasis arrow_up_right\" / \""
- text: (Default) Weak Strong
- text: (Default) Weak Origin Strong
- link "Semantic arrow_up_right\" / \""
- text: (Default) Adaptive Neutral Critical Informational Successful Warning Adaptive Strong Neutral Strong Critical Strong Informational Strong Successful Strong Warning Strong
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Origin Critical Origin Informational Origin Neutral Origin Successful Origin Warning Origin Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Size arrow_up_right\" / \""
- text: (Default) Small Medium
- link "Content arrow_up_right\" / \""
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
- link "Density arrow_up_right\" / \""
- text: Functional (Default) Regular Expressive
- link "Emphasis arrow_up_right\" / \""
- text: (Default) Weak Strong
- text: (Default) Weak Origin Strong
- link "Semantic arrow_up_right\" / \""
- text: (Default) Adaptive Neutral Critical Informational Successful Warning Adaptive Strong Neutral Strong Critical Strong Informational Strong Successful Strong Warning Strong
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Origin Critical Origin Informational Origin Neutral Origin Successful Origin Warning Origin Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Size arrow_up_right\" / \""
- text: (Default) Small Medium
- link "Content arrow_up_right\" / \""
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __snapshots__/tag/component/chromium/DBTag-should-be-a-link.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __snapshots__/tag/component/chromium/DBTag-should-be-a-radio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __snapshots__/tag/component/firefox/DBTag-should-be-a-link.png
Binary file modified __snapshots__/tag/component/firefox/DBTag-should-be-a-radio.png
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,61 @@
- link "Density arrow_up_right\" / \""
- text: Functional (Default) Regular Expressive
- link "Emphasis arrow_up_right\" / \""
- text: (Default) Weak Strong
- text: (Default) Weak Origin Strong
- link "Semantic arrow_up_right\" / \""
- text: (Default) Adaptive Neutral Critical Informational Successful Warning Adaptive Strong Neutral Strong Critical Strong Informational Strong Successful Strong Warning Strong
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Origin Critical Origin Informational Origin Neutral Origin Successful Origin Warning Origin Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Behaviour arrow_up_right\" / \""
- group "Behaviour":
- text: (Default) Static
- button "Interactive Button"
- link "Interactive Link"
- checkbox "Interactive Checkbox": "on"
- text: Interactive Checkbox
- radio "Interactive Radio 1": "on"
- text: Interactive Radio 1
- radio "Interactive Radio 2": "on"
- text: Interactive Radio 2 Removeable
- checkbox "Interactive Checkbox circle\" / \"": "on"
- text: Interactive Checkbox circle" / "
- radio "Interactive Radio 1 circle\" / \"": "on"
- text: Interactive Radio 1 circle" / "
- radio "Interactive Radio 2 circle\" / \"": "on"
- text: Interactive Radio 2 circle" / " Removeable
- button "cross\" / \" Remove tag"
- link "State arrow_up_right\" / \""
- group "State":
- checkbox "(Default) Unchecked": "on"
- text: (Default) Unchecked
- checkbox "Checked" [checked]: "on"
- text: Checked
- checkbox "Disabled" [checked] [disabled]: "on"
- text: Disabled
- checkbox "(Default) Unchecked circle\" / \"": "on"
- text: (Default) Unchecked circle" / "
- checkbox "Checked check_circle\" / \"" [checked]: "on"
- text: Checked check_circle" / "
- checkbox "Disabled check_circle\" / \"" [checked] [disabled]: "on"
- text: Disabled check_circle" / "
- link "Content arrow_up_right\" / \""
- text: (Default) Text x_placeholder" / " Icon x_placeholder" / " Icon & Text
- text: (Default) Text x_placeholder" / " Icon x_placeholder" / " Icon & Text x_placeholder" / " Swap Slot Content Slot
- link "Show Check State arrow_up_right\" / \""
- checkbox "(Default )True circle\" / \"": "on"
- text: (Default )True circle" / "
- checkbox "False": "on"
- text: "False"
- link "Overflow arrow_up_right\" / \""
- text: (Default) No Overflow With Overflow (max-width)
- link "Example arrow_up_right\" / \""
- group "Example":
- link "Example Strong arrow_up_right\" / \""
- group "Example Strong":
- text: x_placeholder" / "
- button "Interactive Strong Button with Icon"
- text: x_placeholder" / "
- link "Interactive Strong Link with Icon"
- text: x_placeholder" / "
- checkbox "Interactive Strong Checkbox with Icon": "on"
- text: Interactive Strong Checkbox with Icon x_placeholder" / "
- radio "Interactive Strong Radio 1 with Icon": "on"
- text: Interactive Strong Radio 1 with Icon x_placeholder" / "
- radio "Interactive Strong Radio 2 with Icon": "on"
- text: Interactive Strong Radio 2 with Icon
- checkbox "Interactive Strong Checkbox with Icon circle\" / \"": "on"
- text: Interactive Strong Checkbox with Icon circle" / " x_placeholder" / "
- radio "Interactive Strong Radio 1 with Icon circle\" / \"": "on"
- text: Interactive Strong Radio 1 with Icon circle" / " x_placeholder" / "
- radio "Interactive Strong Radio 2 with Icon circle\" / \"": "on"
- text: Interactive Strong Radio 2 with Icon circle" / "
- link "Example Origin arrow_up_right\" / \""
- group "Example Origin":
- text: x_placeholder" / "
- button "Interactive Origin Button with Icon"
- text: x_placeholder" / "
- link "Interactive Origin Link with Icon"
- text: x_placeholder" / "
- checkbox "Interactive Origin Checkbox with Icon circle\" / \"": "on"
- text: Interactive Origin Checkbox with Icon circle" / " x_placeholder" / "
- radio "Interactive Origin Radio 1 with Icon circle\" / \"": "on"
- text: Interactive Origin Radio 1 with Icon circle" / " x_placeholder" / "
- radio "Interactive Origin Radio 2 with Icon circle\" / \"": "on"
- text: Interactive Origin Radio 2 with Icon circle" / "
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,61 @@
- link "Density arrow_up_right\" / \""
- text: Functional (Default) Regular Expressive
- link "Emphasis arrow_up_right\" / \""
- text: (Default) Weak Strong
- text: (Default) Weak Origin Strong
- link "Semantic arrow_up_right\" / \""
- text: (Default) Adaptive Neutral Critical Informational Successful Warning Adaptive Strong Neutral Strong Critical Strong Informational Strong Successful Strong Warning Strong
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Origin Critical Origin Informational Origin Neutral Origin Successful Origin Warning Origin Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Behaviour arrow_up_right\" / \""
- group "Behaviour":
- text: (Default) Static
- button "Interactive Button"
- link "Interactive Link"
- checkbox "Interactive Checkbox": "on"
- text: Interactive Checkbox
- radio "Interactive Radio 1": "on"
- text: Interactive Radio 1
- radio "Interactive Radio 2": "on"
- text: Interactive Radio 2 Removeable
- checkbox "Interactive Checkbox circle\" / \"": "on"
- text: Interactive Checkbox circle" / "
- radio "Interactive Radio 1 circle\" / \"": "on"
- text: Interactive Radio 1 circle" / "
- radio "Interactive Radio 2 circle\" / \"": "on"
- text: Interactive Radio 2 circle" / " Removeable
- button "cross\" / \" Remove tag"
- link "State arrow_up_right\" / \""
- group "State":
- checkbox "(Default) Unchecked": "on"
- text: (Default) Unchecked
- checkbox "Checked" [checked]: "on"
- text: Checked
- checkbox "Disabled" [checked] [disabled]: "on"
- text: Disabled
- checkbox "(Default) Unchecked circle\" / \"": "on"
- text: (Default) Unchecked circle" / "
- checkbox "Checked check_circle\" / \"" [checked]: "on"
- text: Checked check_circle" / "
- checkbox "Disabled check_circle\" / \"" [checked] [disabled]: "on"
- text: Disabled check_circle" / "
- link "Content arrow_up_right\" / \""
- text: (Default) Text x_placeholder" / " Icon x_placeholder" / " Icon & Text
- text: (Default) Text x_placeholder" / " Icon x_placeholder" / " Icon & Text x_placeholder" / " Swap Slot Content Slot
- link "Show Check State arrow_up_right\" / \""
- checkbox "(Default )True circle\" / \"": "on"
- text: (Default )True circle" / "
- checkbox "False": "on"
- text: "False"
- link "Overflow arrow_up_right\" / \""
- text: (Default) No Overflow With Overflow (max-width)
- link "Example arrow_up_right\" / \""
- group "Example":
- link "Example Strong arrow_up_right\" / \""
- group "Example Strong":
- text: x_placeholder" / "
- button "Interactive Strong Button with Icon"
- text: x_placeholder" / "
- link "Interactive Strong Link with Icon"
- text: x_placeholder" / "
- checkbox "Interactive Strong Checkbox with Icon": "on"
- text: Interactive Strong Checkbox with Icon x_placeholder" / "
- radio "Interactive Strong Radio 1 with Icon": "on"
- text: Interactive Strong Radio 1 with Icon x_placeholder" / "
- radio "Interactive Strong Radio 2 with Icon": "on"
- text: Interactive Strong Radio 2 with Icon
- checkbox "Interactive Strong Checkbox with Icon circle\" / \"": "on"
- text: Interactive Strong Checkbox with Icon circle" / " x_placeholder" / "
- radio "Interactive Strong Radio 1 with Icon circle\" / \"": "on"
- text: Interactive Strong Radio 1 with Icon circle" / " x_placeholder" / "
- radio "Interactive Strong Radio 2 with Icon circle\" / \"": "on"
- text: Interactive Strong Radio 2 with Icon circle" / "
- link "Example Origin arrow_up_right\" / \""
- group "Example Origin":
- text: x_placeholder" / "
- button "Interactive Origin Button with Icon"
- text: x_placeholder" / "
- link "Interactive Origin Link with Icon"
- text: x_placeholder" / "
- checkbox "Interactive Origin Checkbox with Icon circle\" / \"": "on"
- text: Interactive Origin Checkbox with Icon circle" / " x_placeholder" / "
- radio "Interactive Origin Radio 1 with Icon circle\" / \"": "on"
- text: Interactive Origin Radio 1 with Icon circle" / " x_placeholder" / "
- radio "Interactive Origin Radio 2 with Icon circle\" / \"": "on"
- text: Interactive Origin Radio 2 with Icon circle" / "
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,55 @@
- link "Density arrow_up_right\" / \""
- text: Functional (Default) Regular Expressive
- link "Emphasis arrow_up_right\" / \""
- text: (Default) Weak Strong
- text: (Default) Weak Origin Strong
- link "Semantic arrow_up_right\" / \""
- text: (Default) Adaptive Neutral Critical Informational Successful Warning Adaptive Strong Neutral Strong Critical Strong Informational Strong Successful Strong Warning Strong
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Origin Critical Origin Informational Origin Neutral Origin Successful Origin Warning Origin Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Behaviour arrow_up_right\" / \""
- group "Behaviour":
- text: (Default) Static
- button "Interactive Button"
- link "Interactive Link"
- checkbox "Interactive Checkbox": "on"
- text: Interactive Checkbox
- radio "Interactive Radio 1": "on"
- text: Interactive Radio 1
- radio "Interactive Radio 2": "on"
- text: Interactive Radio 2 Removeable
- checkbox "Interactive Checkbox circle\" / \"": "on"
- text: Interactive Checkbox circle" / "
- radio "Interactive Radio 1 circle\" / \"": "on"
- text: Interactive Radio 1 circle" / "
- radio "Interactive Radio 2 circle\" / \"": "on"
- text: Interactive Radio 2 circle" / " Removeable
- button "Remove tag"
- link "State arrow_up_right\" / \""
- group "State":
- checkbox "(Default) Unchecked": "on"
- text: (Default) Unchecked
- checkbox "Checked" [checked]: "on"
- text: Checked
- checkbox "Disabled" [checked] [disabled]: "on"
- text: Disabled
- checkbox "(Default) Unchecked circle\" / \"": "on"
- text: (Default) Unchecked circle" / "
- checkbox "Checked check_circle\" / \"" [checked]: "on"
- text: Checked check_circle" / "
- checkbox "Disabled check_circle\" / \"" [checked] [disabled]: "on"
- text: Disabled check_circle" / "
- link "Content arrow_up_right\" / \""
- text: (Default) Text Icon Icon & Text
- text: (Default) Text Icon Icon & Text Swap Slot Content Slot
- link "Show Check State arrow_up_right\" / \""
- checkbox "(Default )True circle\" / \"": "on"
- text: (Default )True circle" / "
- checkbox "False": "on"
- text: "False"
- link "Overflow arrow_up_right\" / \""
- text: (Default) No Overflow With Overflow (max-width)
- link "Example arrow_up_right\" / \""
- group "Example":
- link "Example Strong arrow_up_right\" / \""
- group "Example Strong":
- button "Interactive Strong Button with Icon"
- link "Interactive Strong Link with Icon"
- checkbox "Interactive Strong Checkbox with Icon": "on"
- text: Interactive Strong Checkbox with Icon
- radio "Interactive Strong Radio 1 with Icon": "on"
- text: Interactive Strong Radio 1 with Icon
- radio "Interactive Strong Radio 2 with Icon": "on"
- text: Interactive Strong Radio 2 with Icon
- checkbox "Interactive Strong Checkbox with Icon circle\" / \"": "on"
- text: Interactive Strong Checkbox with Icon circle" / "
- radio "Interactive Strong Radio 1 with Icon circle\" / \"": "on"
- text: Interactive Strong Radio 1 with Icon circle" / "
- radio "Interactive Strong Radio 2 with Icon circle\" / \"": "on"
- text: Interactive Strong Radio 2 with Icon circle" / "
- link "Example Origin arrow_up_right\" / \""
- group "Example Origin":
- button "Interactive Origin Button with Icon"
- link "Interactive Origin Link with Icon"
- checkbox "Interactive Origin Checkbox with Icon circle\" / \"": "on"
- text: Interactive Origin Checkbox with Icon circle" / "
- radio "Interactive Origin Radio 1 with Icon circle\" / \"": "on"
- text: Interactive Origin Radio 1 with Icon circle" / "
- radio "Interactive Origin Radio 2 with Icon circle\" / \"": "on"
- text: Interactive Origin Radio 2 with Icon circle" / "
Loading
Loading