Skip to content

Commit

Permalink
feat(@clayui/multi-select): Add displayType and update snapshots to fit
Browse files Browse the repository at this point in the history
  • Loading branch information
kresimir-coko committed Dec 16, 2020
1 parent ded5a81 commit 0c5cdcf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ exports[`ClayMultiSelect renders a custom menu 1`] = `
class="input-group-item input-group-item-shrink"
>
<button
class="component-action btn btn-monospaced btn-primary"
class="component-action btn btn-monospaced btn-unstyled"
title="Clear All"
type="button"
>
Expand Down Expand Up @@ -370,7 +370,7 @@ exports[`ClayMultiSelect renders as not valid 1`] = `
class="input-group-item input-group-item-shrink"
>
<button
class="component-action btn btn-monospaced btn-primary"
class="component-action btn btn-monospaced btn-unstyled"
title="Clear All"
type="button"
>
Expand Down Expand Up @@ -489,7 +489,7 @@ exports[`ClayMultiSelect renders with items 1`] = `
class="input-group-item input-group-item-shrink"
>
<button
class="component-action btn btn-monospaced btn-primary"
class="component-action btn btn-monospaced btn-unstyled"
title="Clear All"
type="button"
>
Expand Down Expand Up @@ -528,7 +528,7 @@ exports[`Interactions add non-sequential text should filter the items when it is
class="input-group-item input-group-item-shrink"
>
<button
class="component-action btn btn-monospaced btn-primary"
class="component-action btn btn-monospaced btn-unstyled"
title="Clear All"
type="button"
>
Expand Down Expand Up @@ -595,7 +595,7 @@ exports[`Interactions adding text doesn not filter the items with a custom funct
class="input-group-item input-group-item-shrink"
>
<button
class="component-action btn btn-monospaced btn-primary"
class="component-action btn btn-monospaced btn-unstyled"
title="Clear All"
type="button"
>
Expand Down Expand Up @@ -678,7 +678,7 @@ exports[`Interactions adding text filters the items 1`] = `
class="input-group-item input-group-item-shrink"
>
<button
class="component-action btn btn-monospaced btn-primary"
class="component-action btn btn-monospaced btn-unstyled"
title="Clear All"
type="button"
>
Expand Down Expand Up @@ -747,7 +747,7 @@ exports[`Interactions adding text filters the items with a custom function 1`] =
class="input-group-item input-group-item-shrink"
>
<button
class="component-action btn btn-monospaced btn-primary"
class="component-action btn btn-monospaced btn-unstyled"
title="Clear All"
type="button"
>
Expand Down Expand Up @@ -816,7 +816,7 @@ exports[`Interactions adding upper or lower case text should filter the items wh
class="input-group-item input-group-item-shrink"
>
<button
class="component-action btn btn-monospaced btn-primary"
class="component-action btn btn-monospaced btn-unstyled"
title="Clear All"
type="button"
>
Expand Down
1 change: 1 addition & 0 deletions packages/clay-multi-select/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ const ClayMultiSelect = React.forwardRef<HTMLDivElement, IProps>(
<ClayInput.GroupItem shrink>
<ClayButtonWithIcon
className="component-action"
displayType="unstyled"
onClick={() => {
onClearAllButtonClick();

Expand Down

0 comments on commit 0c5cdcf

Please sign in to comment.