@dnanpm/styleguide 3.10.0 → 3.11.0
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/build/cjs/components/Accordion/Accordion.js +3 -4
- package/build/cjs/components/AccordionItem/AccordionItem.js +17 -16
- package/build/cjs/components/AmountSelector/AmountSelector.d.ts +17 -1
- package/build/cjs/components/AmountSelector/AmountSelector.js +53 -10
- package/build/cjs/components/Box/Box.js +6 -7
- package/build/cjs/components/Button/Button.js +26 -23
- package/build/cjs/components/ButtonArrow/ButtonArrow.js +3 -4
- package/build/cjs/components/ButtonCard/ButtonCard.js +9 -10
- package/build/cjs/components/ButtonClose/ButtonClose.js +2 -2
- package/build/cjs/components/ButtonIcon/ButtonIcon.js +9 -10
- package/build/cjs/components/ButtonPrimary/ButtonPrimary.js +2 -6
- package/build/cjs/components/ButtonRound/ButtonRound.js +2 -3
- package/build/cjs/components/ButtonSecondary/ButtonSecondary.js +2 -6
- package/build/cjs/components/Carousel/Carousel.d.ts +6 -169
- package/build/cjs/components/Carousel/Carousel.js +23 -23
- package/build/cjs/components/Checkbox/Checkbox.js +5 -5
- package/build/cjs/components/Chip/Chip.js +2 -3
- package/build/cjs/components/DateTimePicker/DateTimePicker.js +17 -6
- package/build/cjs/components/Divider/Divider.js +5 -6
- package/build/cjs/components/DnaLogo/DnaLogo.js +4 -4
- package/build/cjs/components/Drawer/Drawer.js +26 -26
- package/build/cjs/components/EmptyState/EmptyState.js +2 -2
- package/build/cjs/components/EnergyLabel/EnergyLabel.js +11 -11
- package/build/cjs/components/Expander/Expander.js +5 -5
- package/build/cjs/components/Floater/Floater.js +5 -6
- package/build/cjs/components/Footer/Components/FooterComponents.d.ts +3 -168
- package/build/cjs/components/Footer/Components/FooterComponents.js +33 -32
- package/build/cjs/components/Footer/Footer.js +5 -5
- package/build/cjs/components/Icon/Icon.js +6 -6
- package/build/cjs/components/InfoDialog/InfoDialog.js +4 -4
- package/build/cjs/components/Input/Input.js +24 -16
- package/build/cjs/components/Label/Label.js +2 -2
- package/build/cjs/components/LabelText/LabelText.js +5 -5
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/BusinessMenu.js +8 -8
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/DesktopMenu.js +11 -11
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/LanguageSelector.js +2 -2
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenu.d.ts +2 -167
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenu.js +5 -5
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.d.ts +2 -167
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.js +2 -2
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/MinicartTooltip.js +2 -2
- package/build/cjs/components/MainHeaderNavigation/ChildComponents/MobileMenu.js +4 -4
- package/build/cjs/components/MainHeaderNavigation/MainHeaderNavigation.js +6 -6
- package/build/cjs/components/MainHeaderNavigation/globalNavStyles.d.ts +16 -1501
- package/build/cjs/components/MainHeaderNavigation/globalNavStyles.js +10 -10
- package/build/cjs/components/MainNavigation/ChildComponents/BusinessMenu.js +4 -4
- package/build/cjs/components/MainNavigation/ChildComponents/DesktopMenu.js +11 -11
- package/build/cjs/components/MainNavigation/ChildComponents/HeaderNavigationElements.d.ts +2 -167
- package/build/cjs/components/MainNavigation/ChildComponents/HeaderNavigationElements.js +9 -9
- package/build/cjs/components/MainNavigation/ChildComponents/LanguageSelector.js +2 -2
- package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenu.js +5 -5
- package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.d.ts +2 -167
- package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.js +2 -2
- package/build/cjs/components/MainNavigation/ChildComponents/MobileMenu.js +5 -5
- package/build/cjs/components/MainNavigation/ChildComponents/Ribbon.js +4 -4
- package/build/cjs/components/MainNavigation/MainNavigation.js +6 -6
- package/build/cjs/components/MainNavigation/globalNavStyles.d.ts +8 -668
- package/build/cjs/components/MainNavigation/globalNavStyles.js +5 -5
- package/build/cjs/components/Modal/Modal.js +16 -16
- package/build/cjs/components/Notification/Notification.js +7 -8
- package/build/cjs/components/NotificationBadge/NotificationBadge.js +7 -7
- package/build/cjs/components/Overlay/Overlay.js +2 -2
- package/build/cjs/components/Pill/Pill.js +11 -12
- package/build/cjs/components/PixelLoader/PixelLoader.js +9 -9
- package/build/cjs/components/PriorityNavigation/PriorityNavigation.js +13 -13
- package/build/cjs/components/PriorityNavigationItem/PriorityNavigationItem.js +7 -7
- package/build/cjs/components/ProgressIndicator/ProgressIndicator.js +6 -6
- package/build/cjs/components/RadioButton/RadioButton.js +4 -4
- package/build/cjs/components/ReadMore/ReadMore.js +10 -10
- package/build/cjs/components/Search/Search.js +4 -4
- package/build/cjs/components/SecondaryNavigation/SecondaryNavigation.js +9 -9
- package/build/cjs/components/Selectbox/Selectbox.js +3 -3
- package/build/cjs/components/Switch/Switch.js +19 -19
- package/build/cjs/components/Tab/Tab.js +10 -10
- package/build/cjs/components/Tabs/Tabs.js +10 -10
- package/build/cjs/components/Textarea/Textarea.d.ts +5 -1
- package/build/cjs/components/Textarea/Textarea.js +12 -9
- package/build/cjs/components/Toaster/Toaster.js +6 -7
- package/build/cjs/components/Tooltip/Tooltip.js +6 -6
- package/build/cjs/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.d.ts +4 -334
- package/build/cjs/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.js +5 -4
- package/build/cjs/components/TooltipMenu/TooltipMenu.js +5 -5
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +5 -2
- package/build/cjs/themes/globalStyles.d.ts +2 -332
- package/build/cjs/themes/globalStyles.js +3 -3
- package/build/cjs/themes/styled.d.ts +1 -1158
- package/build/cjs/utils/createStyled.d.ts +140 -7
- package/build/cjs/utils/createStyled.js +3 -3
- package/build/cjs/utils/styledUtils.js +3 -3
- package/build/es/components/Accordion/Accordion.js +2 -2
- package/build/es/components/AccordionItem/AccordionItem.js +15 -13
- package/build/es/components/AmountSelector/AmountSelector.d.ts +17 -1
- package/build/es/components/AmountSelector/AmountSelector.js +50 -7
- package/build/es/components/Box/Box.js +6 -6
- package/build/es/components/Button/Button.js +26 -22
- package/build/es/components/ButtonArrow/ButtonArrow.js +3 -3
- package/build/es/components/ButtonCard/ButtonCard.js +9 -9
- package/build/es/components/ButtonClose/ButtonClose.js +1 -1
- package/build/es/components/ButtonIcon/ButtonIcon.js +8 -8
- package/build/es/components/ButtonPrimary/ButtonPrimary.js +2 -2
- package/build/es/components/ButtonRound/ButtonRound.js +2 -2
- package/build/es/components/ButtonSecondary/ButtonSecondary.js +2 -2
- package/build/es/components/Carousel/Carousel.d.ts +6 -169
- package/build/es/components/Carousel/Carousel.js +9 -9
- package/build/es/components/Checkbox/Checkbox.js +1 -1
- package/build/es/components/Chip/Chip.js +2 -2
- package/build/es/components/DateTimePicker/DateTimePicker.js +17 -5
- package/build/es/components/Divider/Divider.js +5 -5
- package/build/es/components/DnaLogo/DnaLogo.js +3 -3
- package/build/es/components/Drawer/Drawer.js +12 -12
- package/build/es/components/EmptyState/EmptyState.js +1 -1
- package/build/es/components/EnergyLabel/EnergyLabel.js +5 -5
- package/build/es/components/Expander/Expander.js +1 -1
- package/build/es/components/Floater/Floater.js +5 -5
- package/build/es/components/Footer/Components/FooterComponents.d.ts +3 -168
- package/build/es/components/Footer/Components/FooterComponents.js +16 -15
- package/build/es/components/Footer/Footer.js +3 -3
- package/build/es/components/Icon/Icon.js +5 -5
- package/build/es/components/InfoDialog/InfoDialog.js +3 -3
- package/build/es/components/Input/Input.js +17 -9
- package/build/es/components/Label/Label.js +1 -1
- package/build/es/components/LabelText/LabelText.js +3 -3
- package/build/es/components/MainHeaderNavigation/ChildComponents/BusinessMenu.js +6 -6
- package/build/es/components/MainHeaderNavigation/ChildComponents/DesktopMenu.js +1 -1
- package/build/es/components/MainHeaderNavigation/ChildComponents/LanguageSelector.js +1 -1
- package/build/es/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenu.d.ts +2 -167
- package/build/es/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenu.js +1 -1
- package/build/es/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.d.ts +2 -167
- package/build/es/components/MainHeaderNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.js +1 -1
- package/build/es/components/MainHeaderNavigation/ChildComponents/MinicartTooltip.js +2 -2
- package/build/es/components/MainHeaderNavigation/ChildComponents/MobileMenu.js +1 -1
- package/build/es/components/MainHeaderNavigation/MainHeaderNavigation.js +1 -1
- package/build/es/components/MainHeaderNavigation/globalNavStyles.d.ts +16 -1501
- package/build/es/components/MainHeaderNavigation/globalNavStyles.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/BusinessMenu.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/DesktopMenu.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/HeaderNavigationElements.d.ts +2 -167
- package/build/es/components/MainNavigation/ChildComponents/HeaderNavigationElements.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/LanguageSelector.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/MainNavTooltipMenu.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.d.ts +2 -167
- package/build/es/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/MobileMenu.js +1 -1
- package/build/es/components/MainNavigation/ChildComponents/Ribbon.js +1 -1
- package/build/es/components/MainNavigation/MainNavigation.js +1 -1
- package/build/es/components/MainNavigation/globalNavStyles.d.ts +8 -668
- package/build/es/components/MainNavigation/globalNavStyles.js +1 -1
- package/build/es/components/Modal/Modal.js +6 -6
- package/build/es/components/Notification/Notification.js +6 -6
- package/build/es/components/NotificationBadge/NotificationBadge.js +5 -5
- package/build/es/components/Overlay/Overlay.js +1 -1
- package/build/es/components/Pill/Pill.js +11 -11
- package/build/es/components/PixelLoader/PixelLoader.js +6 -6
- package/build/es/components/PriorityNavigation/PriorityNavigation.js +4 -4
- package/build/es/components/PriorityNavigationItem/PriorityNavigationItem.js +6 -6
- package/build/es/components/ProgressIndicator/ProgressIndicator.js +1 -1
- package/build/es/components/RadioButton/RadioButton.js +1 -1
- package/build/es/components/ReadMore/ReadMore.js +6 -6
- package/build/es/components/Search/Search.js +1 -1
- package/build/es/components/SecondaryNavigation/SecondaryNavigation.js +1 -1
- package/build/es/components/Selectbox/Selectbox.js +1 -1
- package/build/es/components/Switch/Switch.js +14 -14
- package/build/es/components/Tab/Tab.js +7 -7
- package/build/es/components/Tabs/Tabs.js +8 -8
- package/build/es/components/Textarea/Textarea.d.ts +5 -1
- package/build/es/components/Textarea/Textarea.js +8 -5
- package/build/es/components/Toaster/Toaster.js +6 -6
- package/build/es/components/Tooltip/Tooltip.js +4 -4
- package/build/es/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.d.ts +4 -334
- package/build/es/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.js +3 -2
- package/build/es/components/TooltipMenu/TooltipMenu.js +1 -1
- package/build/es/index.d.ts +1 -1
- package/build/es/index.js +1 -1
- package/build/es/themes/globalStyles.d.ts +2 -332
- package/build/es/themes/globalStyles.js +1 -1
- package/build/es/themes/styled.d.ts +1 -1158
- package/build/es/utils/createStyled.d.ts +140 -7
- package/build/es/utils/createStyled.js +3 -3
- package/build/es/utils/styledUtils.js +1 -1
- package/package.json +4 -5
- package/build/cjs/themes/styled.js +0 -14
- package/build/es/themes/styled.js +0 -5
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var styledComponents = require('styled-components');
|
|
4
4
|
var theme = require('../../themes/theme.js');
|
|
5
5
|
var navigation = require('../../themes/themeComponents/navigation.js');
|
|
6
6
|
var common = require('../../utils/common.js');
|
|
7
7
|
var styledUtils = require('../../utils/styledUtils.js');
|
|
8
8
|
|
|
9
|
-
const LogoLink = styled.
|
|
9
|
+
const LogoLink = styledComponents.styled.a `
|
|
10
10
|
height: ${navigation.navMaxHeight};
|
|
11
11
|
flex: 0 0 auto;
|
|
12
12
|
`;
|
|
13
|
-
const DesktopMenuContainer = styled.
|
|
13
|
+
const DesktopMenuContainer = styledComponents.styled.nav `
|
|
14
14
|
display: none;
|
|
15
15
|
flex-direction: column;
|
|
16
16
|
position: absolute;
|
|
@@ -24,7 +24,7 @@ const DesktopMenuContainer = styled.default.nav `
|
|
|
24
24
|
overflow: initial;
|
|
25
25
|
}
|
|
26
26
|
`;
|
|
27
|
-
const MobileMenuButton = styled.
|
|
27
|
+
const MobileMenuButton = styledComponents.styled.button `
|
|
28
28
|
font-family: inherit;
|
|
29
29
|
border: 0;
|
|
30
30
|
padding: 0;
|
|
@@ -46,7 +46,7 @@ const MobileMenuButton = styled.default.button `
|
|
|
46
46
|
fill: ${theme.default.color.text.black};
|
|
47
47
|
}
|
|
48
48
|
`;
|
|
49
|
-
const HeaderIconContainer = styled.
|
|
49
|
+
const HeaderIconContainer = styledComponents.styled.div `
|
|
50
50
|
display: flex;
|
|
51
51
|
height: ${navigation.navMaxHeight};
|
|
52
52
|
flex: 0 0 auto;
|
|
@@ -66,7 +66,7 @@ const HeaderIconContainer = styled.default.div `
|
|
|
66
66
|
gap: ${styledUtils.getMultipliedSize(theme.default.base.baseWidth, 2)};
|
|
67
67
|
}
|
|
68
68
|
`;
|
|
69
|
-
const MenuItem = styled.
|
|
69
|
+
const MenuItem = styledComponents.styled.li `
|
|
70
70
|
display: ${p => (p.isFeaturedItem ? 'grid' : 'flex')};
|
|
71
71
|
align-items: center;
|
|
72
72
|
grid-template-columns: ${p => (p.isFeaturedItem ? '1fr 1fr' : '1fr')};
|
|
@@ -90,7 +90,7 @@ const MenuItem = styled.default.li `
|
|
|
90
90
|
`}
|
|
91
91
|
}
|
|
92
92
|
`;
|
|
93
|
-
const MenuLink = styled.
|
|
93
|
+
const MenuLink = styledComponents.styled.a `
|
|
94
94
|
overflow: visible;
|
|
95
95
|
text-decoration: none;
|
|
96
96
|
color: ${p => (p.isActive ? theme.default.color.text.pink : theme.default.color.text.black)};
|
|
@@ -101,7 +101,7 @@ const MenuLink = styled.default.a `
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
`;
|
|
104
|
-
const MenuLinkWithChildren = styled.
|
|
104
|
+
const MenuLinkWithChildren = styledComponents.styled.a `
|
|
105
105
|
line-height: ${theme.default.lineHeight.xs};
|
|
106
106
|
display: block;
|
|
107
107
|
font-family: inherit;
|
|
@@ -114,7 +114,7 @@ const MenuLinkWithChildren = styled.default.a `
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
`;
|
|
117
|
-
const MenuList = styled.
|
|
117
|
+
const MenuList = styledComponents.styled.ul `
|
|
118
118
|
display: flex;
|
|
119
119
|
flex-direction: row;
|
|
120
120
|
gap: ${styledUtils.getMultipliedSize(theme.default.base.baseHeight, 1.5)};
|
|
@@ -140,7 +140,7 @@ const MenuList = styled.default.ul `
|
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
`;
|
|
143
|
-
const FeaturedBlock = styled.
|
|
143
|
+
const FeaturedBlock = styledComponents.styled.li `
|
|
144
144
|
background-color: ${theme.default.color.background.sand.E01};
|
|
145
145
|
padding: ${styledUtils.getMultipliedSize(theme.default.base.baseHeight, 1)};
|
|
146
146
|
display: grid;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var
|
|
6
|
+
var styledComponents = require('styled-components');
|
|
7
7
|
var theme = require('../../../themes/theme.js');
|
|
8
8
|
var styledUtils = require('../../../utils/styledUtils.js');
|
|
9
9
|
var NavContext = require('../context/NavContext.js');
|
|
@@ -12,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
12
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
14
|
|
|
15
|
-
const BusinessMenuLink = styled.
|
|
15
|
+
const BusinessMenuLink = styledComponents.styled.a `
|
|
16
16
|
color: ${p => (p.isActive ? theme.default.color.text.pink : theme.default.color.text.black)};
|
|
17
17
|
display: block;
|
|
18
18
|
text-decoration: none;
|
|
@@ -26,11 +26,11 @@ const BusinessMenuLink = styled.default.a `
|
|
|
26
26
|
outline: none;
|
|
27
27
|
}
|
|
28
28
|
`;
|
|
29
|
-
const BusinessMenuItem = styled.
|
|
29
|
+
const BusinessMenuItem = styledComponents.styled.li `
|
|
30
30
|
display: flex;
|
|
31
31
|
overflow: hidden;
|
|
32
32
|
`;
|
|
33
|
-
const BusinessMenuList = styled.
|
|
33
|
+
const BusinessMenuList = styledComponents.styled.ul `
|
|
34
34
|
display: ${({ isMobileMenu }) => (!isMobileMenu ? 'inline-flex' : 'block')};
|
|
35
35
|
align-items: center;
|
|
36
36
|
position: relative;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var icons = require('@dnanpm/icons');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var useOutsideClick = require('../../../hooks/useOutsideClick.js');
|
|
8
|
-
var
|
|
8
|
+
var styledComponents = require('styled-components');
|
|
9
9
|
var theme = require('../../../themes/theme.js');
|
|
10
10
|
var navigation = require('../../../themes/themeComponents/navigation.js');
|
|
11
11
|
var styledUtils = require('../../../utils/styledUtils.js');
|
|
@@ -19,7 +19,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
19
19
|
|
|
20
20
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
21
21
|
|
|
22
|
-
const fadeIn =
|
|
22
|
+
const fadeIn = styledComponents.keyframes `
|
|
23
23
|
0% {
|
|
24
24
|
opacity: 0;
|
|
25
25
|
transform: translateY(-5px);
|
|
@@ -29,7 +29,7 @@ const fadeIn = styled.keyframes `
|
|
|
29
29
|
transform: translateY(0px);
|
|
30
30
|
}
|
|
31
31
|
`;
|
|
32
|
-
const fadeRight =
|
|
32
|
+
const fadeRight = styledComponents.keyframes `
|
|
33
33
|
0% {
|
|
34
34
|
opacity: 0;
|
|
35
35
|
transform: translateX(-5px);
|
|
@@ -39,16 +39,16 @@ const fadeRight = styled.keyframes `
|
|
|
39
39
|
transform: translate(0px);
|
|
40
40
|
}
|
|
41
41
|
`;
|
|
42
|
-
const fadeInAnimation =
|
|
42
|
+
const fadeInAnimation = styledComponents.css `
|
|
43
43
|
animation: ${fadeIn} 0.3s ease-in-out;
|
|
44
44
|
`;
|
|
45
|
-
const fadeRightAnimation =
|
|
45
|
+
const fadeRightAnimation = styledComponents.css `
|
|
46
46
|
animation: ${fadeRight} 0.3s ease-in-out;
|
|
47
47
|
`;
|
|
48
|
-
const noAnimation =
|
|
48
|
+
const noAnimation = styledComponents.css `
|
|
49
49
|
animation: none;
|
|
50
50
|
`;
|
|
51
|
-
const SubMenuListRight = styled.
|
|
51
|
+
const SubMenuListRight = styledComponents.styled.div `
|
|
52
52
|
display: ${({ menuStates, navItemId }) => menuStates.level1 && menuStates.level2 && menuStates.level2 === navItemId
|
|
53
53
|
? 'block'
|
|
54
54
|
: 'none'};
|
|
@@ -64,7 +64,7 @@ const SubMenuListRight = styled.default.div `
|
|
|
64
64
|
width: ${navigation.subMenuWidthXl};
|
|
65
65
|
`};
|
|
66
66
|
`;
|
|
67
|
-
const SubMenuItem = styled.
|
|
67
|
+
const SubMenuItem = styledComponents.styled.li `
|
|
68
68
|
display: block;
|
|
69
69
|
position: relative;
|
|
70
70
|
> a {
|
|
@@ -83,7 +83,7 @@ const SubMenuItem = styled.default.li `
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
`;
|
|
86
|
-
const DesktopMenuList = styled
|
|
86
|
+
const DesktopMenuList = styledComponents.styled(globalNavStyles.MenuList) `
|
|
87
87
|
ul {
|
|
88
88
|
padding-left: 0;
|
|
89
89
|
|
|
@@ -114,7 +114,7 @@ const DesktopMenuList = styled.default(globalNavStyles.MenuList) `
|
|
|
114
114
|
}
|
|
115
115
|
margin-top: -2px;
|
|
116
116
|
`;
|
|
117
|
-
const DesktopMenuItem = styled
|
|
117
|
+
const DesktopMenuItem = styledComponents.styled(globalNavStyles.MenuItem) `
|
|
118
118
|
&:first-child > ${globalNavStyles.MenuLinkWithChildren} {
|
|
119
119
|
margin: 0 ${navigation.menuItemMargin};
|
|
120
120
|
}
|
|
@@ -151,7 +151,7 @@ const DesktopMenuItem = styled.default(globalNavStyles.MenuItem) `
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
`;
|
|
154
|
-
const SubMenuList = styled.
|
|
154
|
+
const SubMenuList = styledComponents.styled.div `
|
|
155
155
|
position: absolute;
|
|
156
156
|
left: -${styledUtils.getMultipliedSize(theme.default.base.baseHeight, 0.5)};
|
|
157
157
|
display: ${({ menuStates, navItemId }) => (menuStates === null || menuStates === void 0 ? void 0 : menuStates.level1) === navItemId ? 'block' : 'none'};
|
|
@@ -1,174 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { MainNavigationProps } from '../MainNavigation';
|
|
3
|
-
export declare const IconContainer: import("styled-components").
|
|
4
|
-
base: {
|
|
5
|
-
baseHeight: {
|
|
6
|
-
value: number;
|
|
7
|
-
unit: string;
|
|
8
|
-
};
|
|
9
|
-
baseWidth: {
|
|
10
|
-
value: number;
|
|
11
|
-
unit: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
breakpoints: import("../../../themes/themeComponents/breakpoints").ViewBreakpoints;
|
|
15
|
-
color: {
|
|
16
|
-
default: {
|
|
17
|
-
pink: string;
|
|
18
|
-
plum: string;
|
|
19
|
-
white: string;
|
|
20
|
-
black: string;
|
|
21
|
-
};
|
|
22
|
-
accent: {
|
|
23
|
-
lemon: string;
|
|
24
|
-
sky: string;
|
|
25
|
-
orange: string;
|
|
26
|
-
};
|
|
27
|
-
active: {
|
|
28
|
-
pink: string;
|
|
29
|
-
};
|
|
30
|
-
hover: {
|
|
31
|
-
pink: string;
|
|
32
|
-
};
|
|
33
|
-
text: {
|
|
34
|
-
gray: string;
|
|
35
|
-
pink: string;
|
|
36
|
-
plum: string;
|
|
37
|
-
white: string;
|
|
38
|
-
black: string;
|
|
39
|
-
};
|
|
40
|
-
line: {
|
|
41
|
-
L01: string;
|
|
42
|
-
L02: string;
|
|
43
|
-
L03: string;
|
|
44
|
-
L04: string;
|
|
45
|
-
};
|
|
46
|
-
notification: {
|
|
47
|
-
info: string;
|
|
48
|
-
success: string;
|
|
49
|
-
warning: string;
|
|
50
|
-
error: string;
|
|
51
|
-
};
|
|
52
|
-
background: {
|
|
53
|
-
sand: {
|
|
54
|
-
default: string;
|
|
55
|
-
E01: string;
|
|
56
|
-
E02: string;
|
|
57
|
-
};
|
|
58
|
-
pink: {
|
|
59
|
-
default: string;
|
|
60
|
-
E01: string;
|
|
61
|
-
E02: string;
|
|
62
|
-
};
|
|
63
|
-
plum: {
|
|
64
|
-
default: string;
|
|
65
|
-
E01: string;
|
|
66
|
-
E02: string;
|
|
67
|
-
};
|
|
68
|
-
lemon: {
|
|
69
|
-
default: string;
|
|
70
|
-
E01: string;
|
|
71
|
-
E02: string;
|
|
72
|
-
};
|
|
73
|
-
sky: {
|
|
74
|
-
default: string;
|
|
75
|
-
E01: string;
|
|
76
|
-
E02: string;
|
|
77
|
-
};
|
|
78
|
-
orange: {
|
|
79
|
-
default: string;
|
|
80
|
-
E01: string;
|
|
81
|
-
E02: string;
|
|
82
|
-
};
|
|
83
|
-
white: {
|
|
84
|
-
default: string;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
focus: {
|
|
88
|
-
dark: string;
|
|
89
|
-
light: string;
|
|
90
|
-
};
|
|
91
|
-
transparency: {
|
|
92
|
-
T0: string;
|
|
93
|
-
T10: string;
|
|
94
|
-
T20: string;
|
|
95
|
-
T30: string;
|
|
96
|
-
T40: string;
|
|
97
|
-
T50: string;
|
|
98
|
-
T60: string;
|
|
99
|
-
T70: string;
|
|
100
|
-
T80: string;
|
|
101
|
-
T90: string;
|
|
102
|
-
T100: string;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
fontFamily: {
|
|
106
|
-
default: string;
|
|
107
|
-
heading: string;
|
|
108
|
-
numerals: string;
|
|
109
|
-
};
|
|
110
|
-
fontSize: {
|
|
111
|
-
default: string;
|
|
112
|
-
xl: string;
|
|
113
|
-
l: string;
|
|
114
|
-
s: string;
|
|
115
|
-
xs: string;
|
|
116
|
-
h1XL: string;
|
|
117
|
-
h1L: string;
|
|
118
|
-
h1M: string;
|
|
119
|
-
h1S: string;
|
|
120
|
-
h2M: string;
|
|
121
|
-
h2S: string;
|
|
122
|
-
h3: string;
|
|
123
|
-
h4: string;
|
|
124
|
-
h5: string;
|
|
125
|
-
h1: string;
|
|
126
|
-
h2: string;
|
|
127
|
-
};
|
|
128
|
-
fontWeight: {
|
|
129
|
-
book: number;
|
|
130
|
-
medium: number;
|
|
131
|
-
bold: number;
|
|
132
|
-
black: number;
|
|
133
|
-
};
|
|
134
|
-
form: {
|
|
135
|
-
smallSelectWidth: string;
|
|
136
|
-
smallSelectHeight: string;
|
|
137
|
-
};
|
|
138
|
-
grid: {
|
|
139
|
-
gutter: string;
|
|
140
|
-
};
|
|
141
|
-
lineHeight: {
|
|
142
|
-
default: string;
|
|
143
|
-
xl: string;
|
|
144
|
-
s: string;
|
|
145
|
-
xs: string;
|
|
146
|
-
xxs: string;
|
|
147
|
-
auto: string;
|
|
148
|
-
h1XL: string;
|
|
149
|
-
h1L: string;
|
|
150
|
-
h1M: string;
|
|
151
|
-
h1S: string;
|
|
152
|
-
h2M: string;
|
|
153
|
-
h2S: string;
|
|
154
|
-
h3: string;
|
|
155
|
-
h4: string;
|
|
156
|
-
h5: string;
|
|
157
|
-
h1: string;
|
|
158
|
-
h2: string;
|
|
159
|
-
};
|
|
160
|
-
media: Record<string | number, (l: TemplateStringsArray, ...p: (string | number)[]) => string>;
|
|
161
|
-
radius: {
|
|
162
|
-
default: string;
|
|
163
|
-
s: string;
|
|
164
|
-
xs: string;
|
|
165
|
-
circle: string;
|
|
166
|
-
pill: string;
|
|
167
|
-
};
|
|
168
|
-
}, {
|
|
3
|
+
export declare const IconContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
169
4
|
isActive?: boolean;
|
|
170
5
|
collapseSize: number;
|
|
171
|
-
}
|
|
6
|
+
}>> & string;
|
|
172
7
|
declare const HeaderNavigationElements: ({ navElementProps, }: {
|
|
173
8
|
navElementProps: MainNavigationProps;
|
|
174
9
|
}) => React.JSX.Element;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var icons = require('@dnanpm/icons');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
var
|
|
7
|
+
var styledComponents = require('styled-components');
|
|
8
8
|
var theme = require('../../../themes/theme.js');
|
|
9
9
|
var breakpoints = require('../../../themes/themeComponents/breakpoints.js');
|
|
10
10
|
var navigation = require('../../../themes/themeComponents/navigation.js');
|
|
@@ -23,7 +23,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
23
23
|
|
|
24
24
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
25
25
|
|
|
26
|
-
const DesktopMenuContainer = styled.
|
|
26
|
+
const DesktopMenuContainer = styledComponents.styled.div `
|
|
27
27
|
height: 100%;
|
|
28
28
|
display: none;
|
|
29
29
|
border-bottom: 1px solid ${theme.default.color.line.L03};
|
|
@@ -32,7 +32,7 @@ const DesktopMenuContainer = styled.default.div `
|
|
|
32
32
|
padding-left: ${styledUtils.getMultipliedSize(theme.default.base.baseWidth, 0.5)};
|
|
33
33
|
}
|
|
34
34
|
`;
|
|
35
|
-
const IconContainer = styled.
|
|
35
|
+
const IconContainer = styledComponents.styled.div `
|
|
36
36
|
margin: 0;
|
|
37
37
|
display: flex;
|
|
38
38
|
flex-direction: column;
|
|
@@ -65,7 +65,7 @@ const IconContainer = styled.default.div `
|
|
|
65
65
|
${styledUtils.getMultipliedSize(theme.default.base.baseHeight, 2)};
|
|
66
66
|
}
|
|
67
67
|
`;
|
|
68
|
-
const HeaderIconContainer = styled.
|
|
68
|
+
const HeaderIconContainer = styledComponents.styled.div `
|
|
69
69
|
display: flex;
|
|
70
70
|
justify-content: flex-end;
|
|
71
71
|
border-bottom: 1px solid ${theme.default.color.line.L03};
|
|
@@ -80,7 +80,7 @@ const HeaderIconContainer = styled.default.div `
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
`;
|
|
83
|
-
const HeaderIconWrapper = styled.
|
|
83
|
+
const HeaderIconWrapper = styledComponents.styled.div `
|
|
84
84
|
display: flex;
|
|
85
85
|
flex: 1 1 100%;
|
|
86
86
|
justify-content: space-between;
|
|
@@ -90,7 +90,7 @@ const HeaderIconWrapper = styled.default.div `
|
|
|
90
90
|
flex: 0 0 100%;
|
|
91
91
|
}
|
|
92
92
|
`;
|
|
93
|
-
const MobileMenuButton = styled.
|
|
93
|
+
const MobileMenuButton = styledComponents.styled.button `
|
|
94
94
|
display: block;
|
|
95
95
|
@media (min-width: ${p => p.collapseSize + 1}px) {
|
|
96
96
|
display: none;
|
|
@@ -110,12 +110,12 @@ const MobileMenuButton = styled.default.button `
|
|
|
110
110
|
padding: 0;
|
|
111
111
|
background: transparent;
|
|
112
112
|
`;
|
|
113
|
-
const MenuWrapper = styled.
|
|
113
|
+
const MenuWrapper = styledComponents.styled.div `
|
|
114
114
|
height: 50%;
|
|
115
115
|
white-space: nowrap;
|
|
116
116
|
align-self: flex-end;
|
|
117
117
|
`;
|
|
118
|
-
const LogoContainer = styled.
|
|
118
|
+
const LogoContainer = styledComponents.styled.div `
|
|
119
119
|
margin: 0;
|
|
120
120
|
width: ${navigation.mobileLogoSize};
|
|
121
121
|
height: ${navigation.mobileLogoSize};
|
|
@@ -124,7 +124,7 @@ const LogoContainer = styled.default.div `
|
|
|
124
124
|
height: ${navigation.desktopLogoSize};
|
|
125
125
|
}
|
|
126
126
|
`;
|
|
127
|
-
const HeaderIconWrapperNoMargin = styled.
|
|
127
|
+
const HeaderIconWrapperNoMargin = styledComponents.styled.div `
|
|
128
128
|
margin: 0;
|
|
129
129
|
`;
|
|
130
130
|
const RenderDesktopMenu = ({ collapseSize }) => (React__default.default.createElement(DesktopMenuContainer, { collapseSize: collapseSize },
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var icons = require('@dnanpm/icons');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
var
|
|
7
|
+
var styledComponents = require('styled-components');
|
|
8
8
|
var theme = require('../../../themes/theme.js');
|
|
9
9
|
var styledUtils = require('../../../utils/styledUtils.js');
|
|
10
10
|
var Icon = require('../../Icon/Icon.js');
|
|
@@ -16,7 +16,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
16
16
|
|
|
17
17
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
18
18
|
|
|
19
|
-
const MenuItem = styled
|
|
19
|
+
const MenuItem = styledComponents.styled(globalNavStyles.MenuLink) `
|
|
20
20
|
font-weight: ${theme.default.fontWeight.medium};
|
|
21
21
|
margin: ${styledUtils.getMultipliedSize(theme.default.base.baseHeight, 1)} auto;
|
|
22
22
|
text-align: center;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var useCloseOutsideOrElementClicked = require('../../../hooks/useCloseOutsideOrElementClicked.js');
|
|
7
7
|
var useDocHeight = require('../../../hooks/useDocHeight.js');
|
|
8
|
-
var
|
|
8
|
+
var styledComponents = require('styled-components');
|
|
9
9
|
var theme = require('../../../themes/theme.js');
|
|
10
10
|
var navigation = require('../../../themes/themeComponents/navigation.js');
|
|
11
11
|
var styledUtils = require('../../../utils/styledUtils.js');
|
|
@@ -17,10 +17,10 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
17
17
|
|
|
18
18
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
19
19
|
|
|
20
|
-
const Container = styled.
|
|
20
|
+
const Container = styledComponents.styled.div `
|
|
21
21
|
width: 100%;
|
|
22
22
|
`;
|
|
23
|
-
const Tooltip = styled.
|
|
23
|
+
const Tooltip = styledComponents.styled.div `
|
|
24
24
|
min-height: ${styledUtils.getMultipliedSize(theme.default.base.baseHeight, 5)};
|
|
25
25
|
max-height: calc(var(--vh100, 100vh) - ${navigation.mobileNavMaxHeight});
|
|
26
26
|
width: 100%;
|
|
@@ -44,13 +44,13 @@ const Tooltip = styled.default.div `
|
|
|
44
44
|
top: calc(${navigation.desktopNavMaxHeight} + ${navigation.ribbonHeight});
|
|
45
45
|
}
|
|
46
46
|
`;
|
|
47
|
-
const TooltipBox = styled
|
|
47
|
+
const TooltipBox = styledComponents.styled(Box.default) `
|
|
48
48
|
border-top-left-radius: 0 !important;
|
|
49
49
|
border-top-right-radius: 0 !important;
|
|
50
50
|
min-height: inherit;
|
|
51
51
|
max-height: inherit;
|
|
52
52
|
`;
|
|
53
|
-
const Caret = styled.
|
|
53
|
+
const Caret = styledComponents.styled.div `
|
|
54
54
|
position: absolute;
|
|
55
55
|
z-index: ${p => p.zIndex + 1};
|
|
56
56
|
top: ${navigation.mobileNavMaxHeight};
|
package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.d.ts
CHANGED
|
@@ -1,171 +1,6 @@
|
|
|
1
|
-
declare const TooltipWrapper: import("styled-components").
|
|
2
|
-
base: {
|
|
3
|
-
baseHeight: {
|
|
4
|
-
value: number;
|
|
5
|
-
unit: string;
|
|
6
|
-
};
|
|
7
|
-
baseWidth: {
|
|
8
|
-
value: number;
|
|
9
|
-
unit: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
breakpoints: import("../../../themes/themeComponents/breakpoints").ViewBreakpoints;
|
|
13
|
-
color: {
|
|
14
|
-
default: {
|
|
15
|
-
pink: string;
|
|
16
|
-
plum: string;
|
|
17
|
-
white: string;
|
|
18
|
-
black: string;
|
|
19
|
-
};
|
|
20
|
-
accent: {
|
|
21
|
-
lemon: string;
|
|
22
|
-
sky: string;
|
|
23
|
-
orange: string;
|
|
24
|
-
};
|
|
25
|
-
active: {
|
|
26
|
-
pink: string;
|
|
27
|
-
};
|
|
28
|
-
hover: {
|
|
29
|
-
pink: string;
|
|
30
|
-
};
|
|
31
|
-
text: {
|
|
32
|
-
gray: string;
|
|
33
|
-
pink: string;
|
|
34
|
-
plum: string;
|
|
35
|
-
white: string;
|
|
36
|
-
black: string;
|
|
37
|
-
};
|
|
38
|
-
line: {
|
|
39
|
-
L01: string;
|
|
40
|
-
L02: string;
|
|
41
|
-
L03: string;
|
|
42
|
-
L04: string;
|
|
43
|
-
};
|
|
44
|
-
notification: {
|
|
45
|
-
info: string;
|
|
46
|
-
success: string;
|
|
47
|
-
warning: string;
|
|
48
|
-
error: string;
|
|
49
|
-
};
|
|
50
|
-
background: {
|
|
51
|
-
sand: {
|
|
52
|
-
default: string;
|
|
53
|
-
E01: string;
|
|
54
|
-
E02: string;
|
|
55
|
-
};
|
|
56
|
-
pink: {
|
|
57
|
-
default: string;
|
|
58
|
-
E01: string;
|
|
59
|
-
E02: string;
|
|
60
|
-
};
|
|
61
|
-
plum: {
|
|
62
|
-
default: string;
|
|
63
|
-
E01: string;
|
|
64
|
-
E02: string;
|
|
65
|
-
};
|
|
66
|
-
lemon: {
|
|
67
|
-
default: string;
|
|
68
|
-
E01: string;
|
|
69
|
-
E02: string;
|
|
70
|
-
};
|
|
71
|
-
sky: {
|
|
72
|
-
default: string;
|
|
73
|
-
E01: string;
|
|
74
|
-
E02: string;
|
|
75
|
-
};
|
|
76
|
-
orange: {
|
|
77
|
-
default: string;
|
|
78
|
-
E01: string;
|
|
79
|
-
E02: string;
|
|
80
|
-
};
|
|
81
|
-
white: {
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
focus: {
|
|
86
|
-
dark: string;
|
|
87
|
-
light: string;
|
|
88
|
-
};
|
|
89
|
-
transparency: {
|
|
90
|
-
T0: string;
|
|
91
|
-
T10: string;
|
|
92
|
-
T20: string;
|
|
93
|
-
T30: string;
|
|
94
|
-
T40: string;
|
|
95
|
-
T50: string;
|
|
96
|
-
T60: string;
|
|
97
|
-
T70: string;
|
|
98
|
-
T80: string;
|
|
99
|
-
T90: string;
|
|
100
|
-
T100: string;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
fontFamily: {
|
|
104
|
-
default: string;
|
|
105
|
-
heading: string;
|
|
106
|
-
numerals: string;
|
|
107
|
-
};
|
|
108
|
-
fontSize: {
|
|
109
|
-
default: string;
|
|
110
|
-
xl: string;
|
|
111
|
-
l: string;
|
|
112
|
-
s: string;
|
|
113
|
-
xs: string;
|
|
114
|
-
h1XL: string;
|
|
115
|
-
h1L: string;
|
|
116
|
-
h1M: string;
|
|
117
|
-
h1S: string;
|
|
118
|
-
h2M: string;
|
|
119
|
-
h2S: string;
|
|
120
|
-
h3: string;
|
|
121
|
-
h4: string;
|
|
122
|
-
h5: string;
|
|
123
|
-
h1: string;
|
|
124
|
-
h2: string;
|
|
125
|
-
};
|
|
126
|
-
fontWeight: {
|
|
127
|
-
book: number;
|
|
128
|
-
medium: number;
|
|
129
|
-
bold: number;
|
|
130
|
-
black: number;
|
|
131
|
-
};
|
|
132
|
-
form: {
|
|
133
|
-
smallSelectWidth: string;
|
|
134
|
-
smallSelectHeight: string;
|
|
135
|
-
};
|
|
136
|
-
grid: {
|
|
137
|
-
gutter: string;
|
|
138
|
-
};
|
|
139
|
-
lineHeight: {
|
|
140
|
-
default: string;
|
|
141
|
-
xl: string;
|
|
142
|
-
s: string;
|
|
143
|
-
xs: string;
|
|
144
|
-
xxs: string;
|
|
145
|
-
auto: string;
|
|
146
|
-
h1XL: string;
|
|
147
|
-
h1L: string;
|
|
148
|
-
h1M: string;
|
|
149
|
-
h1S: string;
|
|
150
|
-
h2M: string;
|
|
151
|
-
h2S: string;
|
|
152
|
-
h3: string;
|
|
153
|
-
h4: string;
|
|
154
|
-
h5: string;
|
|
155
|
-
h1: string;
|
|
156
|
-
h2: string;
|
|
157
|
-
};
|
|
158
|
-
media: Record<string | number, (l: TemplateStringsArray, ...p: (string | number)[]) => string>;
|
|
159
|
-
radius: {
|
|
160
|
-
default: string;
|
|
161
|
-
s: string;
|
|
162
|
-
xs: string;
|
|
163
|
-
circle: string;
|
|
164
|
-
pill: string;
|
|
165
|
-
};
|
|
166
|
-
}, {
|
|
1
|
+
declare const TooltipWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
167
2
|
collapseSize: number;
|
|
168
3
|
isHighlighted?: boolean;
|
|
169
|
-
}
|
|
4
|
+
}>> & string;
|
|
170
5
|
export default TooltipWrapper;
|
|
171
6
|
export { TooltipWrapper };
|
package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var styledComponents = require('styled-components');
|
|
6
6
|
var theme = require('../../../themes/theme.js');
|
|
7
7
|
var navigation = require('../../../themes/themeComponents/navigation.js');
|
|
8
8
|
|
|
9
|
-
const TooltipWrapper = styled.
|
|
9
|
+
const TooltipWrapper = styledComponents.styled.button `
|
|
10
10
|
position: relative;
|
|
11
11
|
border: none;
|
|
12
12
|
margin: 0;
|