Skip to content

Commit

Permalink
feat: implement Menu design qa
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasaarcoverde committed Nov 30, 2023
1 parent 2e89c45 commit 5abbbdf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/button/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
& > [data-sl-button-content] {
font: inherit;
letter-spacing: inherit;
gap: var(--sl-space-1);
gap: var(--sl-space-05);
width: 100%;
display: flex;
flex-direction: row;
Expand Down Expand Up @@ -90,7 +90,7 @@
&:focus-visible {
box-shadow: var(--sl-focus-ring);
background: var(--sl-bg-muted-hover);
color: var(--sl-fg-muted-hover)
color: var(--sl-fg-muted-hover);
}
&:disabled {
background: var(--sl-bg-disabled);
Expand Down
12 changes: 6 additions & 6 deletions packages/components/src/menu/stories/menu.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import './style.css'
import React from 'react'
import {
IconCaretDown,
IconDotsThreeVertical,
IconPencil,
IconTrash,
IconArchive,
IconCaretDownSmall,
} from '@vtex/shoreline-icons'

import {
Expand Down Expand Up @@ -45,7 +45,7 @@ export function Composition() {
<MenuProvider placement="bottom-end">
<MenuTrigger asChild>
<Button>
Open <IconCaretDown />
Open <IconCaretDownSmall />
</Button>
</MenuTrigger>
<Menu asChild>
Expand Down Expand Up @@ -213,7 +213,7 @@ export function CustomLabel() {
<MenuProvider>
<MenuTrigger asChild>
<Button variant="primary">
Create promotion <IconCaretDown />
Create promotion <IconCaretDownSmall />
</Button>
</MenuTrigger>
<Menu>
Expand All @@ -226,7 +226,7 @@ export function CustomLabel() {
<MenuProvider>
<MenuTrigger asChild>
<Button variant="tertiary">
Create promotion <IconCaretDown />
Create promotion <IconCaretDownSmall />
</Button>
</MenuTrigger>
<Menu>
Expand All @@ -246,7 +246,7 @@ export function ItemVariants() {
<MenuProvider>
<MenuTrigger asChild>
<Button variant="primary">
Create promotion <IconCaretDown />
Create promotion <IconCaretDownSmall />
</Button>
</MenuTrigger>
<Menu>
Expand All @@ -259,7 +259,7 @@ export function ItemVariants() {
<MenuProvider>
<MenuTrigger asChild>
<Button variant="tertiary">
Create promotion <IconCaretDown />
Create promotion <IconCaretDownSmall />
</Button>
</MenuTrigger>
<Menu>
Expand Down

0 comments on commit 5abbbdf

Please sign in to comment.