uikit-react-public 0.24.2 → 0.24.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +255 -251
- package/lib/components/DropdownMenu/DropdownMenu.tsx +7 -3
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ export interface DropdownMenuProps
|
|
|
23
23
|
|
|
24
24
|
const DropdownMenu = ({
|
|
25
25
|
children,
|
|
26
|
-
label = '
|
|
26
|
+
label = 'MENU',
|
|
27
27
|
triggerAriaLabel = 'Open menu',
|
|
28
28
|
dropdownClassName,
|
|
29
29
|
triggerClassName,
|
|
@@ -38,6 +38,9 @@ const DropdownMenu = ({
|
|
|
38
38
|
|
|
39
39
|
const triggerStyle = css`
|
|
40
40
|
color: ${theme.colour.text.brandPrimary};
|
|
41
|
+
font-family: ${theme.typography.body.mdNumeric.fontFamily};
|
|
42
|
+
font-weight: ${theme.typography.body.mdNumeric.fontWeight};
|
|
43
|
+
font-size: 14px;
|
|
41
44
|
`;
|
|
42
45
|
|
|
43
46
|
const dropdownStyle = cx(NAME, dropdownClassName);
|
|
@@ -58,7 +61,8 @@ const DropdownMenu = ({
|
|
|
58
61
|
variant='tertiary-no-padding'
|
|
59
62
|
size='small'
|
|
60
63
|
className={resolvedTriggerClassName}
|
|
61
|
-
icon={<Icon.Menu2
|
|
64
|
+
icon={<Icon.Menu2 />}
|
|
65
|
+
iconPosition='right'
|
|
62
66
|
aria-label={triggerAriaLabel}
|
|
63
67
|
>
|
|
64
68
|
{label}
|
|
@@ -68,7 +72,7 @@ const DropdownMenu = ({
|
|
|
68
72
|
className={resolvedTriggerClassName}
|
|
69
73
|
aria-label={triggerAriaLabel}
|
|
70
74
|
>
|
|
71
|
-
<Icon.Menu2
|
|
75
|
+
<Icon.Menu2 />
|
|
72
76
|
</IconButton>
|
|
73
77
|
)}
|
|
74
78
|
</Dropdown.Trigger>
|