Skip to content

Commit

Permalink
fix(chips-combobox): fixed lint issues, added missing dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtBlue committed Dec 20, 2023
1 parent fe1736f commit c2f7f2e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion dist/tokens/evo-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
--color-background-confirmation: var(--color-green-4);
--color-background-information: var(--color-blue-4);
--color-background-education: #2f373c;
--color-background-elevated: var(--color-neutral-7);
--color-background-accent: var(--color-blue-3);
--color-background-invalid: var(--color-red-1);
--color-foreground-primary: var(--color-neutral-1);
Expand Down
1 change: 0 additions & 1 deletion dist/tokens/evo-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
--color-background-education: #ecf7fe;
--color-background-accent: var(--color-blue-4);
--color-background-invalid: var(--color-red-1);
--color-background-elevated: var(--color-neutral-0);
--color-foreground-primary: var(--color-neutral-7);
--color-foreground-secondary: var(--color-neutral-5);
--color-foreground-disabled: var(--color-neutral-3);
Expand Down
6 changes: 3 additions & 3 deletions docs/src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ document.querySelectorAll('.field').forEach(function(elCharContainer) {

// if clicked item is a combobox item...
if (elClicked.matches(sComboboxOptionSelector)) {
let sItemSelected = elClicked.innerText.trim();
const sItemSelected = elClicked.innerText.trim();

// delete combobox list item
elComboboxOptions.removeChild(elClicked);
Expand All @@ -556,8 +556,8 @@ document.querySelectorAll('.field').forEach(function(elCharContainer) {

// if clicked item is a chip delete button...
if (elClicked.matches(sChipDeleteSelector)) {
let sChipText = elClicked.previousElementSibling.innerText.trim();
let elChipParentLI = elClicked.closest("li");
const sChipText = elClicked.previousElementSibling.innerText.trim();
const elChipParentLI = elClicked.closest("li");

// delete chip
elChipsItems.removeChild(elChipParentLI);
Expand Down
2 changes: 1 addition & 1 deletion docs/static/docs.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/static/docs.min.js.map

Large diffs are not rendered by default.

0 comments on commit c2f7f2e

Please sign in to comment.