@wireapp/react-ui-kit 8.17.1 → 8.17.3
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/package.json +28 -28
- package/src/Form/Button.d.js.map +1 -1
- package/src/Form/Button.js +31 -52
- package/src/Form/Button.js.map +1 -1
- package/src/Form/ButtonLink.d.js.map +1 -1
- package/src/Form/ButtonLink.js +7 -25
- package/src/Form/ButtonLink.js.map +1 -1
- package/src/Form/Checkbox.d.js.map +1 -1
- package/src/Form/Checkbox.js +24 -43
- package/src/Form/Checkbox.js.map +1 -1
- package/src/Form/CodeInput.d.js.map +1 -1
- package/src/Form/CodeInput.js +13 -52
- package/src/Form/CodeInput.js.map +1 -1
- package/src/Form/DropFileInput.d.js.map +1 -1
- package/src/Form/DropFileInput.js +14 -53
- package/src/Form/DropFileInput.js.map +1 -1
- package/src/Form/ErrorMessage.d.js.map +1 -1
- package/src/Form/ErrorMessage.js +9 -29
- package/src/Form/ErrorMessage.js.map +1 -1
- package/src/Form/Form.d.js.map +1 -1
- package/src/Form/Form.js +0 -8
- package/src/Form/Form.js.map +1 -1
- package/src/Form/Input.d.js.map +1 -1
- package/src/Form/Input.js +19 -45
- package/src/Form/Input.js.map +1 -1
- package/src/Form/InputBlock.d.js.map +1 -1
- package/src/Form/InputBlock.js +1 -12
- package/src/Form/InputBlock.js.map +1 -1
- package/src/Form/InputLabel.d.js.map +1 -1
- package/src/Form/InputLabel.js +4 -13
- package/src/Form/InputLabel.js.map +1 -1
- package/src/Form/InputSubmitCombo.d.js.map +1 -1
- package/src/Form/InputSubmitCombo.js +3 -17
- package/src/Form/InputSubmitCombo.js.map +1 -1
- package/src/Form/RangeInput.d.js.map +1 -1
- package/src/Form/RangeInput.js +13 -25
- package/src/Form/RangeInput.js.map +1 -1
- package/src/Form/RangeInput.styles.d.js.map +1 -1
- package/src/Form/RangeInput.styles.js +3 -15
- package/src/Form/RangeInput.styles.js.map +1 -1
- package/src/Form/RoundIconButton.d.js.map +1 -1
- package/src/Form/RoundIconButton.js +4 -20
- package/src/Form/RoundIconButton.js.map +1 -1
- package/src/Form/Select.d.js.map +1 -1
- package/src/Form/Select.js +17 -32
- package/src/Form/Select.js.map +1 -1
- package/src/Form/SelectComponents.d.js.map +1 -1
- package/src/Form/SelectComponents.js +15 -46
- package/src/Form/SelectComponents.js.map +1 -1
- package/src/Form/SelectStyles.d.js.map +1 -1
- package/src/Form/SelectStyles.js +6 -13
- package/src/Form/SelectStyles.js.map +1 -1
- package/src/Form/ShakeBox.d.js.map +1 -1
- package/src/Form/ShakeBox.js +12 -27
- package/src/Form/ShakeBox.js.map +1 -1
- package/src/Form/Switch.d.js.map +1 -1
- package/src/Form/Switch.js +14 -26
- package/src/Form/Switch.js.map +1 -1
- package/src/Form/TextArea.d.js.map +1 -1
- package/src/Form/TextArea.js +8 -22
- package/src/Form/TextArea.js.map +1 -1
- package/src/Form/Tooltip.d.js.map +1 -1
- package/src/Form/Tooltip.js +11 -23
- package/src/Form/Tooltip.js.map +1 -1
- package/src/Form/index.d.js +0 -36
- package/src/Form/index.d.js.map +1 -1
- package/src/Form/index.js +0 -36
- package/src/Form/index.js.map +1 -1
- package/src/GlobalCssVariables.d.js.map +1 -1
- package/src/GlobalCssVariables.js +1 -5
- package/src/GlobalCssVariables.js.map +1 -1
- package/src/GlobalStyle.d.js.map +1 -1
- package/src/GlobalStyle.js +2 -12
- package/src/GlobalStyle.js.map +1 -1
- package/src/Icon/AddPeopleIcon.d.js.map +1 -1
- package/src/Icon/AddPeopleIcon.js +3 -7
- package/src/Icon/AddPeopleIcon.js.map +1 -1
- package/src/Icon/ArchiveIcon.d.js.map +1 -1
- package/src/Icon/ArchiveIcon.js +1 -6
- package/src/Icon/ArchiveIcon.js.map +1 -1
- package/src/Icon/ArrowDown.d.js.map +1 -1
- package/src/Icon/ArrowDown.js +3 -7
- package/src/Icon/ArrowDown.js.map +1 -1
- package/src/Icon/ArrowIcon.d.js.map +1 -1
- package/src/Icon/ArrowIcon.js +3 -11
- package/src/Icon/ArrowIcon.js.map +1 -1
- package/src/Icon/AttachmentIcon.d.js.map +1 -1
- package/src/Icon/AttachmentIcon.js +1 -6
- package/src/Icon/AttachmentIcon.js.map +1 -1
- package/src/Icon/AudioVideoIcon.d.js.map +1 -1
- package/src/Icon/AudioVideoIcon.js +1 -6
- package/src/Icon/AudioVideoIcon.js.map +1 -1
- package/src/Icon/BlockIcon.d.js.map +1 -1
- package/src/Icon/BlockIcon.js +1 -6
- package/src/Icon/BlockIcon.js.map +1 -1
- package/src/Icon/Brand/AndroidIcon.d.js.map +1 -1
- package/src/Icon/Brand/AndroidIcon.js +1 -6
- package/src/Icon/Brand/AndroidIcon.js.map +1 -1
- package/src/Icon/Brand/AppleIcon.d.js.map +1 -1
- package/src/Icon/Brand/AppleIcon.js +1 -6
- package/src/Icon/Brand/AppleIcon.js.map +1 -1
- package/src/Icon/Brand/ChromeIcon.d.js.map +1 -1
- package/src/Icon/Brand/ChromeIcon.js +1 -6
- package/src/Icon/Brand/ChromeIcon.js.map +1 -1
- package/src/Icon/Brand/FacebookIcon.d.js.map +1 -1
- package/src/Icon/Brand/FacebookIcon.js +1 -6
- package/src/Icon/Brand/FacebookIcon.js.map +1 -1
- package/src/Icon/Brand/GitHubIcon.d.js.map +1 -1
- package/src/Icon/Brand/GitHubIcon.js +1 -6
- package/src/Icon/Brand/GitHubIcon.js.map +1 -1
- package/src/Icon/Brand/LinkedInIcon.d.js.map +1 -1
- package/src/Icon/Brand/LinkedInIcon.js +1 -6
- package/src/Icon/Brand/LinkedInIcon.js.map +1 -1
- package/src/Icon/Brand/LinuxIcon.d.js.map +1 -1
- package/src/Icon/Brand/LinuxIcon.js +1 -6
- package/src/Icon/Brand/LinuxIcon.js.map +1 -1
- package/src/Icon/Brand/MicrosoftIcon.d.js.map +1 -1
- package/src/Icon/Brand/MicrosoftIcon.js +1 -6
- package/src/Icon/Brand/MicrosoftIcon.js.map +1 -1
- package/src/Icon/Brand/TwitterIcon.d.js.map +1 -1
- package/src/Icon/Brand/TwitterIcon.js +1 -6
- package/src/Icon/Brand/TwitterIcon.js.map +1 -1
- package/src/Icon/CallIcon.d.js.map +1 -1
- package/src/Icon/CallIcon.js +1 -6
- package/src/Icon/CallIcon.js.map +1 -1
- package/src/Icon/CamIcon.d.js.map +1 -1
- package/src/Icon/CamIcon.js +1 -6
- package/src/Icon/CamIcon.js.map +1 -1
- package/src/Icon/CameraIcon.d.js.map +1 -1
- package/src/Icon/CameraIcon.js +3 -7
- package/src/Icon/CameraIcon.js.map +1 -1
- package/src/Icon/CheckIcon.d.js.map +1 -1
- package/src/Icon/CheckIcon.js +1 -6
- package/src/Icon/CheckIcon.js.map +1 -1
- package/src/Icon/CheckRoundIcon.d.js.map +1 -1
- package/src/Icon/CheckRoundIcon.js +1 -6
- package/src/Icon/CheckRoundIcon.js.map +1 -1
- package/src/Icon/ChevronIcon.d.js.map +1 -1
- package/src/Icon/ChevronIcon.js +2 -11
- package/src/Icon/ChevronIcon.js.map +1 -1
- package/src/Icon/CloseIcon.d.js.map +1 -1
- package/src/Icon/CloseIcon.js +1 -6
- package/src/Icon/CloseIcon.js.map +1 -1
- package/src/Icon/CopyIcon.d.js.map +1 -1
- package/src/Icon/CopyIcon.js +1 -6
- package/src/Icon/CopyIcon.js.map +1 -1
- package/src/Icon/DeviceIcon.d.js.map +1 -1
- package/src/Icon/DeviceIcon.js +1 -6
- package/src/Icon/DeviceIcon.js.map +1 -1
- package/src/Icon/DownloadIcon.d.js.map +1 -1
- package/src/Icon/DownloadIcon.js +1 -6
- package/src/Icon/DownloadIcon.js.map +1 -1
- package/src/Icon/EditDocumentIcon.d.js.map +1 -1
- package/src/Icon/EditDocumentIcon.js +3 -7
- package/src/Icon/EditDocumentIcon.js.map +1 -1
- package/src/Icon/EditIcon.d.js.map +1 -1
- package/src/Icon/EditIcon.js +1 -6
- package/src/Icon/EditIcon.js.map +1 -1
- package/src/Icon/EnterIcon.d.js.map +1 -1
- package/src/Icon/EnterIcon.js +1 -6
- package/src/Icon/EnterIcon.js.map +1 -1
- package/src/Icon/ErrorIcon.d.js.map +1 -1
- package/src/Icon/ErrorIcon.js +1 -6
- package/src/Icon/ErrorIcon.js.map +1 -1
- package/src/Icon/FileIcon.d.js.map +1 -1
- package/src/Icon/FileIcon.js +1 -6
- package/src/Icon/FileIcon.js.map +1 -1
- package/src/Icon/GifIcon.d.js.map +1 -1
- package/src/Icon/GifIcon.js +1 -6
- package/src/Icon/GifIcon.js.map +1 -1
- package/src/Icon/GridIcon.d.js.map +1 -1
- package/src/Icon/GridIcon.js +3 -7
- package/src/Icon/GridIcon.js.map +1 -1
- package/src/Icon/GroupIcon.d.js.map +1 -1
- package/src/Icon/GroupIcon.js +1 -6
- package/src/Icon/GroupIcon.js.map +1 -1
- package/src/Icon/HangupIcon.d.js.map +1 -1
- package/src/Icon/HangupIcon.js +1 -6
- package/src/Icon/HangupIcon.js.map +1 -1
- package/src/Icon/HideIcon.d.js.map +1 -1
- package/src/Icon/HideIcon.js +1 -6
- package/src/Icon/HideIcon.js.map +1 -1
- package/src/Icon/ImageIcon.d.js.map +1 -1
- package/src/Icon/ImageIcon.js +1 -6
- package/src/Icon/ImageIcon.js.map +1 -1
- package/src/Icon/InfoIcon.d.js.map +1 -1
- package/src/Icon/InfoIcon.js +1 -6
- package/src/Icon/InfoIcon.js.map +1 -1
- package/src/Icon/InviteIcon.d.js.map +1 -1
- package/src/Icon/InviteIcon.js +1 -6
- package/src/Icon/InviteIcon.js.map +1 -1
- package/src/Icon/LeaveIcon.d.js.map +1 -1
- package/src/Icon/LeaveIcon.js +1 -6
- package/src/Icon/LeaveIcon.js.map +1 -1
- package/src/Icon/LinkIcon.d.js.map +1 -1
- package/src/Icon/LinkIcon.js +3 -7
- package/src/Icon/LinkIcon.js.map +1 -1
- package/src/Icon/ListIcon.d.js.map +1 -1
- package/src/Icon/ListIcon.js +1 -6
- package/src/Icon/ListIcon.js.map +1 -1
- package/src/Icon/LockIcon.d.js.map +1 -1
- package/src/Icon/LockIcon.js +1 -6
- package/src/Icon/LockIcon.js.map +1 -1
- package/src/Icon/MessageIcon.d.js.map +1 -1
- package/src/Icon/MessageIcon.js +1 -6
- package/src/Icon/MessageIcon.js.map +1 -1
- package/src/Icon/MinusIcon.d.js.map +1 -1
- package/src/Icon/MinusIcon.js +1 -6
- package/src/Icon/MinusIcon.js.map +1 -1
- package/src/Icon/MoreIcon.d.js.map +1 -1
- package/src/Icon/MoreIcon.js +1 -6
- package/src/Icon/MoreIcon.js.map +1 -1
- package/src/Icon/MuteIcon.d.js.map +1 -1
- package/src/Icon/MuteIcon.js +1 -6
- package/src/Icon/MuteIcon.js.map +1 -1
- package/src/Icon/NotificationIcon.d.js.map +1 -1
- package/src/Icon/NotificationIcon.js +1 -6
- package/src/Icon/NotificationIcon.js.map +1 -1
- package/src/Icon/NotificationOffIcon.d.js.map +1 -1
- package/src/Icon/NotificationOffIcon.js +1 -6
- package/src/Icon/NotificationOffIcon.js.map +1 -1
- package/src/Icon/OptionsIcon.d.js.map +1 -1
- package/src/Icon/OptionsIcon.js +1 -6
- package/src/Icon/OptionsIcon.js.map +1 -1
- package/src/Icon/PeopleIcon.d.js.map +1 -1
- package/src/Icon/PeopleIcon.js +3 -7
- package/src/Icon/PeopleIcon.js.map +1 -1
- package/src/Icon/PingIcon.d.js.map +1 -1
- package/src/Icon/PingIcon.js +1 -6
- package/src/Icon/PingIcon.js.map +1 -1
- package/src/Icon/PlaneIcon.d.js.map +1 -1
- package/src/Icon/PlaneIcon.js +1 -6
- package/src/Icon/PlaneIcon.js.map +1 -1
- package/src/Icon/PlusIcon.d.js.map +1 -1
- package/src/Icon/PlusIcon.js +1 -6
- package/src/Icon/PlusIcon.js.map +1 -1
- package/src/Icon/ProfileIcon.d.js.map +1 -1
- package/src/Icon/ProfileIcon.js +1 -6
- package/src/Icon/ProfileIcon.js.map +1 -1
- package/src/Icon/RecordBoldIcon.d.js.map +1 -1
- package/src/Icon/RecordBoldIcon.js +2 -11
- package/src/Icon/RecordBoldIcon.js.map +1 -1
- package/src/Icon/RecordIcon.d.js.map +1 -1
- package/src/Icon/RecordIcon.js +1 -6
- package/src/Icon/RecordIcon.js.map +1 -1
- package/src/Icon/RecordPendingIcon.d.js.map +1 -1
- package/src/Icon/RecordPendingIcon.js +1 -6
- package/src/Icon/RecordPendingIcon.js.map +1 -1
- package/src/Icon/ReloadIcon.d.js.map +1 -1
- package/src/Icon/ReloadIcon.js +1 -6
- package/src/Icon/ReloadIcon.js.map +1 -1
- package/src/Icon/SVGIcon.d.js.map +1 -1
- package/src/Icon/SVGIcon.js +11 -22
- package/src/Icon/SVGIcon.js.map +1 -1
- package/src/Icon/ScreenshareIcon.d.js.map +1 -1
- package/src/Icon/ScreenshareIcon.js +1 -6
- package/src/Icon/ScreenshareIcon.js.map +1 -1
- package/src/Icon/SearchIcon.d.js.map +1 -1
- package/src/Icon/SearchIcon.js +1 -6
- package/src/Icon/SearchIcon.js.map +1 -1
- package/src/Icon/ServicesIcon.d.js.map +1 -1
- package/src/Icon/ServicesIcon.js +1 -6
- package/src/Icon/ServicesIcon.js.map +1 -1
- package/src/Icon/SettingsIcon.d.js.map +1 -1
- package/src/Icon/SettingsIcon.js +1 -6
- package/src/Icon/SettingsIcon.js.map +1 -1
- package/src/Icon/ShowIcon.d.js.map +1 -1
- package/src/Icon/ShowIcon.js +1 -6
- package/src/Icon/ShowIcon.js.map +1 -1
- package/src/Icon/SignIcon.d.js.map +1 -1
- package/src/Icon/SignIcon.js +1 -6
- package/src/Icon/SignIcon.js.map +1 -1
- package/src/Icon/SpeakerIcon.d.js.map +1 -1
- package/src/Icon/SpeakerIcon.js +1 -6
- package/src/Icon/SpeakerIcon.js.map +1 -1
- package/src/Icon/SupportIcon.d.js.map +1 -1
- package/src/Icon/SupportIcon.js +1 -6
- package/src/Icon/SupportIcon.js.map +1 -1
- package/src/Icon/TeamIcon.d.js.map +1 -1
- package/src/Icon/TeamIcon.js +1 -6
- package/src/Icon/TeamIcon.js.map +1 -1
- package/src/Icon/TimedIcon.d.js.map +1 -1
- package/src/Icon/TimedIcon.js +1 -6
- package/src/Icon/TimedIcon.js.map +1 -1
- package/src/Icon/TrashCrossIcon.d.js.map +1 -1
- package/src/Icon/TrashCrossIcon.js +1 -6
- package/src/Icon/TrashCrossIcon.js.map +1 -1
- package/src/Icon/TrashIcon.d.js.map +1 -1
- package/src/Icon/TrashIcon.js +1 -6
- package/src/Icon/TrashIcon.js.map +1 -1
- package/src/Icon/TriangleIcon.d.js.map +1 -1
- package/src/Icon/TriangleIcon.js +2 -10
- package/src/Icon/TriangleIcon.js.map +1 -1
- package/src/Icon/UploadIcon.d.js.map +1 -1
- package/src/Icon/UploadIcon.js +1 -6
- package/src/Icon/UploadIcon.js.map +1 -1
- package/src/Icon/WireIcon.d.js.map +1 -1
- package/src/Icon/WireIcon.js +1 -6
- package/src/Icon/WireIcon.js.map +1 -1
- package/src/Icon/index.d.js +0 -146
- package/src/Icon/index.d.js.map +1 -1
- package/src/Icon/index.js +0 -146
- package/src/Icon/index.js.map +1 -1
- package/src/Identity/Animation.d.js.map +1 -1
- package/src/Identity/Animation.js +37 -64
- package/src/Identity/Animation.js.map +1 -1
- package/src/Identity/Avatar.d.js.map +1 -1
- package/src/Identity/Avatar.js +18 -36
- package/src/Identity/Avatar.js.map +1 -1
- package/src/Identity/AvatarGrid.d.js.map +1 -1
- package/src/Identity/AvatarGrid.js +13 -34
- package/src/Identity/AvatarGrid.js.map +1 -1
- package/src/Identity/Logo.d.js.map +1 -1
- package/src/Identity/Logo.js +5 -19
- package/src/Identity/Logo.js.map +1 -1
- package/src/Identity/colors-v2.d.js.map +1 -1
- package/src/Identity/colors-v2.js +4 -13
- package/src/Identity/colors-v2.js.map +1 -1
- package/src/Identity/colors.d.js.map +1 -1
- package/src/Identity/colors.js +6 -22
- package/src/Identity/colors.js.map +1 -1
- package/src/Identity/index.d.js +0 -12
- package/src/Identity/index.d.js.map +1 -1
- package/src/Identity/index.js +0 -12
- package/src/Identity/index.js.map +1 -1
- package/src/Identity/motions.d.js.map +1 -1
- package/src/Identity/motions.js +2 -7
- package/src/Identity/motions.js.map +1 -1
- package/src/Layout/Box.d.js.map +1 -1
- package/src/Layout/Box.js +2 -10
- package/src/Layout/Box.js.map +1 -1
- package/src/Layout/Column.d.js.map +1 -1
- package/src/Layout/Column.js +3 -18
- package/src/Layout/Column.js.map +1 -1
- package/src/Layout/Container.d.js.map +1 -1
- package/src/Layout/Container.js +6 -28
- package/src/Layout/Container.js.map +1 -1
- package/src/Layout/Content.d.js.map +1 -1
- package/src/Layout/Content.js +2 -10
- package/src/Layout/Content.js.map +1 -1
- package/src/Layout/FlexBox.d.js.map +1 -1
- package/src/Layout/FlexBox.js +9 -19
- package/src/Layout/FlexBox.js.map +1 -1
- package/src/Layout/Footer.d.js.map +1 -1
- package/src/Layout/Footer.js +1 -5
- package/src/Layout/Footer.js.map +1 -1
- package/src/Layout/Header.d.js.map +1 -1
- package/src/Layout/Header.js +2 -9
- package/src/Layout/Header.js.map +1 -1
- package/src/Layout/MatchMedia.d.js.map +1 -1
- package/src/Layout/MatchMedia.js +7 -39
- package/src/Layout/MatchMedia.js.map +1 -1
- package/src/Layout/Spacer.d.js.map +1 -1
- package/src/Layout/Spacer.js +4 -7
- package/src/Layout/Spacer.js.map +1 -1
- package/src/Layout/StyledApp.d.js.map +1 -1
- package/src/Layout/StyledApp.js +5 -19
- package/src/Layout/StyledApp.js.map +1 -1
- package/src/Layout/Theme.d.js.map +1 -1
- package/src/Layout/Theme.js +1 -14
- package/src/Layout/Theme.js.map +1 -1
- package/src/Layout/headerMenu/HeaderMenu.d.js.map +1 -1
- package/src/Layout/headerMenu/HeaderMenu.js +8 -32
- package/src/Layout/headerMenu/HeaderMenu.js.map +1 -1
- package/src/Layout/headerMenu/HeaderSubMenu.d.js.map +1 -1
- package/src/Layout/headerMenu/HeaderSubMenu.js +4 -25
- package/src/Layout/headerMenu/HeaderSubMenu.js.map +1 -1
- package/src/Layout/headerMenu/MenuContent.d.js.map +1 -1
- package/src/Layout/headerMenu/MenuContent.js +3 -16
- package/src/Layout/headerMenu/MenuContent.js.map +1 -1
- package/src/Layout/headerMenu/MenuItems.d.js.map +1 -1
- package/src/Layout/headerMenu/MenuItems.js +2 -13
- package/src/Layout/headerMenu/MenuItems.js.map +1 -1
- package/src/Layout/headerMenu/MenuLink.d.js.map +1 -1
- package/src/Layout/headerMenu/MenuLink.js +13 -32
- package/src/Layout/headerMenu/MenuLink.js.map +1 -1
- package/src/Layout/headerMenu/MenuOpenButton.d.js.map +1 -1
- package/src/Layout/headerMenu/MenuOpenButton.js +2 -14
- package/src/Layout/headerMenu/MenuOpenButton.js.map +1 -1
- package/src/Layout/headerMenu/MenuScrollableItems.d.js.map +1 -1
- package/src/Layout/headerMenu/MenuScrollableItems.js +2 -11
- package/src/Layout/headerMenu/MenuScrollableItems.js.map +1 -1
- package/src/Layout/headerMenu/MenuSubLink.d.js.map +1 -1
- package/src/Layout/headerMenu/MenuSubLink.js +3 -17
- package/src/Layout/headerMenu/MenuSubLink.js.map +1 -1
- package/src/Layout/headerMenu/index.d.js +0 -16
- package/src/Layout/headerMenu/index.d.js.map +1 -1
- package/src/Layout/headerMenu/index.js +0 -16
- package/src/Layout/headerMenu/index.js.map +1 -1
- package/src/Layout/index.d.js +0 -26
- package/src/Layout/index.d.js.map +1 -1
- package/src/Layout/index.js +0 -26
- package/src/Layout/index.js.map +1 -1
- package/src/Layout/sizes.d.js.map +1 -1
- package/src/Layout/sizes.js +2 -2
- package/src/Layout/sizes.js.map +1 -1
- package/src/Menu/MenuModal.d.js.map +1 -1
- package/src/Menu/MenuModal.js +10 -34
- package/src/Menu/MenuModal.js.map +1 -1
- package/src/Menu/TabBar.d.js.map +1 -1
- package/src/Menu/TabBar.js +22 -42
- package/src/Menu/TabBar.js.map +1 -1
- package/src/Menu/index.d.js +0 -4
- package/src/Menu/index.d.js.map +1 -1
- package/src/Menu/index.js +0 -4
- package/src/Menu/index.js.map +1 -1
- package/src/Misc/ButtonGroup.d.js.map +1 -1
- package/src/Misc/ButtonGroup.js +5 -20
- package/src/Misc/ButtonGroup.js.map +1 -1
- package/src/Misc/IconButton.d.js.map +1 -1
- package/src/Misc/IconButton.js +8 -26
- package/src/Misc/IconButton.js.map +1 -1
- package/src/Misc/IsInViewport.d.js.map +1 -1
- package/src/Misc/IsInViewport.js +6 -22
- package/src/Misc/IsInViewport.js.map +1 -1
- package/src/Misc/Loading.d.js.map +1 -1
- package/src/Misc/Loading.js +6 -18
- package/src/Misc/Loading.js.map +1 -1
- package/src/Misc/Pagination.d.js.map +1 -1
- package/src/Misc/Pagination.js +13 -36
- package/src/Misc/Pagination.js.map +1 -1
- package/src/Misc/Pill.d.js.map +1 -1
- package/src/Misc/Pill.js +4 -23
- package/src/Misc/Pill.js.map +1 -1
- package/src/Misc/childrenWithDefaultProps.d.js.map +1 -1
- package/src/Misc/childrenWithDefaultProps.js +2 -11
- package/src/Misc/childrenWithDefaultProps.js.map +1 -1
- package/src/Misc/index.d.js +0 -18
- package/src/Misc/index.d.js.map +1 -1
- package/src/Misc/index.js +0 -18
- package/src/Misc/index.js.map +1 -1
- package/src/Misc/useLongTouch.d.js.map +1 -1
- package/src/Misc/useLongTouch.js +3 -11
- package/src/Misc/useLongTouch.js.map +1 -1
- package/src/Misc/useTimeout.d.js.map +1 -1
- package/src/Misc/useTimeout.js +4 -12
- package/src/Misc/useTimeout.js.map +1 -1
- package/src/Modal/Modal.d.js.map +1 -1
- package/src/Modal/Modal.js +10 -40
- package/src/Modal/Modal.js.map +1 -1
- package/src/Modal/Overlay.d.js.map +1 -1
- package/src/Modal/Overlay.js +5 -28
- package/src/Modal/Overlay.js.map +1 -1
- package/src/Modal/index.d.js +0 -3
- package/src/Modal/index.d.js.map +1 -1
- package/src/Modal/index.js +0 -3
- package/src/Modal/index.js.map +1 -1
- package/src/Text/Heading.d.js.map +1 -1
- package/src/Text/Heading.js +42 -74
- package/src/Text/Heading.js.map +1 -1
- package/src/Text/Label.d.js.map +1 -1
- package/src/Text/Label.js +12 -29
- package/src/Text/Label.js.map +1 -1
- package/src/Text/Line.d.js.map +1 -1
- package/src/Text/Line.js +3 -12
- package/src/Text/Line.js.map +1 -1
- package/src/Text/Link.d.js.map +1 -1
- package/src/Text/Link.js +15 -34
- package/src/Text/Link.js.map +1 -1
- package/src/Text/Paragraph.d.js.map +1 -1
- package/src/Text/Paragraph.js +12 -30
- package/src/Text/Paragraph.js.map +1 -1
- package/src/Text/Text.d.js.map +1 -1
- package/src/Text/Text.js +21 -42
- package/src/Text/Text.js.map +1 -1
- package/src/Text/TextLink.d.js.map +1 -1
- package/src/Text/TextLink.js +11 -25
- package/src/Text/TextLink.js.map +1 -1
- package/src/Text/Title.d.js.map +1 -1
- package/src/Text/Title.js +12 -25
- package/src/Text/Title.js.map +1 -1
- package/src/Text/index.d.js +0 -16
- package/src/Text/index.d.js.map +1 -1
- package/src/Text/index.js +0 -16
- package/src/Text/index.js.map +1 -1
- package/src/index.d.js +0 -18
- package/src/index.d.js.map +1 -1
- package/src/index.js +0 -18
- package/src/index.js.map +1 -1
- package/src/mediaQueries.d.js.map +1 -1
- package/src/mediaQueries.js +5 -16
- package/src/mediaQueries.js.map +1 -1
- package/src/util.d.js.map +1 -1
- package/src/util.js +6 -19
- package/src/util.js.map +1 -1
|
@@ -1,34 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
|
-
exports.
|
|
9
|
-
|
|
7
|
+
exports.MobileStyledHeaderSubMenu = exports.HeaderSubMenu = exports.DesktopStyledHeaderSubMenu = exports.DESKTOP_HEADER_SUB_MENU_CLASSNAME = void 0;
|
|
10
8
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
|
-
|
|
12
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
13
|
-
|
|
14
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
15
|
-
|
|
16
11
|
var _react = require("@emotion/react");
|
|
17
|
-
|
|
18
12
|
var _react2 = _interopRequireDefault(require("react"));
|
|
19
|
-
|
|
20
13
|
var _Identity = require("../../Identity");
|
|
21
|
-
|
|
22
14
|
var _motions = require("../../Identity/motions");
|
|
23
|
-
|
|
24
15
|
var _mediaQueries = require("../../mediaQueries");
|
|
25
|
-
|
|
26
16
|
var _MenuSubLink = require("./MenuSubLink");
|
|
27
|
-
|
|
28
17
|
var _MenuLink = require("./MenuLink");
|
|
29
|
-
|
|
30
18
|
var _excluded = ["caption", "isOpen", "children"];
|
|
31
|
-
|
|
32
19
|
var desktopStyledHeaderSubMenuStyle = function desktopStyledHeaderSubMenuStyle(theme, props) {
|
|
33
20
|
return (0, _defineProperty2["default"])({
|
|
34
21
|
alignItems: 'left',
|
|
@@ -57,10 +44,8 @@ var desktopStyledHeaderSubMenuStyle = function desktopStyledHeaderSubMenuStyle(t
|
|
|
57
44
|
marginTop: '8px'
|
|
58
45
|
});
|
|
59
46
|
};
|
|
60
|
-
|
|
61
47
|
var DESKTOP_HEADER_SUB_MENU_CLASSNAME = 'desktopStyledHeaderSubMenu';
|
|
62
48
|
exports.DESKTOP_HEADER_SUB_MENU_CLASSNAME = DESKTOP_HEADER_SUB_MENU_CLASSNAME;
|
|
63
|
-
|
|
64
49
|
var DesktopStyledHeaderSubMenu = function DesktopStyledHeaderSubMenu(props) {
|
|
65
50
|
return (0, _react.jsx)("div", (0, _extends2["default"])({
|
|
66
51
|
className: DESKTOP_HEADER_SUB_MENU_CLASSNAME,
|
|
@@ -69,9 +54,7 @@ var DesktopStyledHeaderSubMenu = function DesktopStyledHeaderSubMenu(props) {
|
|
|
69
54
|
}
|
|
70
55
|
}, props));
|
|
71
56
|
};
|
|
72
|
-
|
|
73
57
|
exports.DesktopStyledHeaderSubMenu = DesktopStyledHeaderSubMenu;
|
|
74
|
-
|
|
75
58
|
var mobileStyledHeaderSubMenuStyle = function mobileStyledHeaderSubMenuStyle(props) {
|
|
76
59
|
return {
|
|
77
60
|
'*': {
|
|
@@ -86,20 +69,17 @@ var mobileStyledHeaderSubMenuStyle = function mobileStyledHeaderSubMenuStyle(pro
|
|
|
86
69
|
paddingTop: '8px'
|
|
87
70
|
};
|
|
88
71
|
};
|
|
89
|
-
|
|
90
72
|
var MobileStyledHeaderSubMenu = function MobileStyledHeaderSubMenu(props) {
|
|
91
73
|
return (0, _react.jsx)("span", (0, _extends2["default"])({
|
|
92
74
|
css: mobileStyledHeaderSubMenuStyle(props)
|
|
93
75
|
}, props));
|
|
94
76
|
};
|
|
95
|
-
|
|
96
77
|
exports.MobileStyledHeaderSubMenu = MobileStyledHeaderSubMenu;
|
|
97
|
-
|
|
98
78
|
var HeaderSubMenu = function HeaderSubMenu(_ref2) {
|
|
99
79
|
var caption = _ref2.caption,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
80
|
+
isOpen = _ref2.isOpen,
|
|
81
|
+
children = _ref2.children,
|
|
82
|
+
props = (0, _objectWithoutProperties2["default"])(_ref2, _excluded);
|
|
103
83
|
var isDesktop = typeof window !== 'undefined' && window.matchMedia("(".concat(_mediaQueries.QUERY.desktop, ")")).matches;
|
|
104
84
|
return (0, _react.jsx)(_MenuSubLink.MenuSubLink, (0, _extends2["default"])({}, props, {
|
|
105
85
|
style: {
|
|
@@ -149,6 +129,5 @@ var HeaderSubMenu = function HeaderSubMenu(_ref2) {
|
|
|
149
129
|
unmountOnExit: true
|
|
150
130
|
}, (0, _react.jsx)(MobileStyledHeaderSubMenu, null, children))));
|
|
151
131
|
};
|
|
152
|
-
|
|
153
132
|
exports.HeaderSubMenu = HeaderSubMenu;
|
|
154
133
|
//# sourceMappingURL=HeaderSubMenu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"HeaderSubMenu.js","names":["desktopStyledHeaderSubMenuStyle","theme","props","alignItems","backgroundColor","COLOR","tint","general","borderRadius","boxShadow","display","flexDirection","justifyContent","minWidth","padding","span","height","margin","paddingLeft","paddingRight","whiteSpace","MENU_LINK_CLASSNAME","marginTop","DESKTOP_HEADER_SUB_MENU_CLASSNAME","DesktopStyledHeaderSubMenu","mobileStyledHeaderSubMenuStyle","fontWeight","borderTop","GRAY_LIGHTEN_72","paddingTop","MobileStyledHeaderSubMenu","HeaderSubMenu","caption","isOpen","children","isDesktop","window","matchMedia","QUERY","desktop","matches","cursor","position","textAlign","DURATION","DEFAULT","left","zIndex"],"sources":["HeaderSubMenu.tsx"],"sourcesContent":["/*\n * Wire\n * Copyright (C) 2018 Wire Swiss GmbH\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see http://www.gnu.org/licenses/.\n *\n */\n\n/** @jsx jsx */\nimport {CSSObject, jsx} from '@emotion/react';\nimport React from 'react';\n\nimport {COLOR, Opacity, Slide, YAxisMovement} from '../../Identity';\nimport {DURATION} from '../../Identity/motions';\nimport {QUERY} from '../../mediaQueries';\nimport {Theme} from '../Theme';\nimport {MenuSubLink} from './MenuSubLink';\nimport {MENU_LINK_CLASSNAME} from './MenuLink';\n\nexport type DesktopStyledHeaderSubMenuProps<T = HTMLDivElement> = React.HTMLProps<T>;\n\nconst desktopStyledHeaderSubMenuStyle: (theme: Theme, props: DesktopStyledHeaderSubMenuProps) => CSSObject = (\n theme,\n props,\n) => ({\n alignItems: 'left',\n backgroundColor: COLOR.tint(theme.general.backgroundColor, 0.16),\n borderRadius: '8px',\n boxShadow: '0 8px 24px 0 rgba(0, 0, 0, 0.16)',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n minWidth: '200px',\n padding: '8px 8px',\n span: {\n '&:hover': {\n backgroundColor: theme.general.backgroundColor,\n borderRadius: '4px',\n },\n alignItems: 'center',\n display: 'flex',\n height: '30px',\n margin: 0,\n paddingLeft: '10px !important',\n paddingRight: '10px !important',\n whiteSpace: 'nowrap',\n },\n [`.${MENU_LINK_CLASSNAME}:nth-of-type(n+2)`]: {\n marginTop: '8px',\n },\n});\n\nexport const DESKTOP_HEADER_SUB_MENU_CLASSNAME = 'desktopStyledHeaderSubMenu';\n\nexport const DesktopStyledHeaderSubMenu = (props: DesktopStyledHeaderSubMenuProps) => (\n <div\n className={DESKTOP_HEADER_SUB_MENU_CLASSNAME}\n css={(theme: Theme) => desktopStyledHeaderSubMenuStyle(theme, props)}\n {...props}\n />\n);\n\nexport interface MobileStyledHeaderSubMenuProps<T = HTMLSpanElement> extends React.HTMLProps<T> {\n open?: boolean;\n}\n\nconst mobileStyledHeaderSubMenuStyle: (props: MobileStyledHeaderSubMenuProps) => CSSObject = props => ({\n '*': {\n fontWeight: 200,\n },\n alignItems: 'center',\n borderTop: `1px solid ${COLOR.GRAY_LIGHTEN_72}`,\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n marginTop: '16px',\n paddingTop: '8px',\n});\n\nexport const MobileStyledHeaderSubMenu = (props: MobileStyledHeaderSubMenuProps) => (\n <span css={mobileStyledHeaderSubMenuStyle(props)} {...props} />\n);\n\nexport interface HeaderSubMenuProps<T = HTMLParagraphElement> extends React.PropsWithRef<React.HTMLProps<T>> {\n caption: string;\n isOpen: boolean;\n}\n\nexport const HeaderSubMenu: React.FC<HeaderSubMenuProps> = ({caption, isOpen, children, ...props}) => {\n const isDesktop = typeof window !== 'undefined' && window.matchMedia(`(${QUERY.desktop})`).matches;\n return (\n <MenuSubLink\n {...props}\n style={{cursor: 'pointer', display: 'inline-block', position: 'relative', textAlign: 'center'}}\n >\n <span>{caption}</span>\n <Opacity\n in={isOpen && isDesktop}\n timeout={DURATION.DEFAULT}\n style={{display: 'inline-block', left: -18, marginTop: 10, paddingTop: 20, position: 'absolute', zIndex: 1}}\n mountOnEnter={false}\n unmountOnExit={false}\n >\n <YAxisMovement\n in={isOpen && isDesktop}\n startValue={'-30px'}\n endValue={'0px'}\n style={{display: 'inline-block'}}\n timeout={DURATION.DEFAULT}\n mountOnEnter={false}\n unmountOnExit={true}\n >\n <DesktopStyledHeaderSubMenu>{children}</DesktopStyledHeaderSubMenu>\n </YAxisMovement>\n </Opacity>\n <Opacity\n in={isOpen && !isDesktop}\n timeout={DURATION.DEFAULT}\n mountOnEnter={false}\n unmountOnExit={false}\n style={{display: 'block', position: 'relative'}}\n >\n <Slide\n in={isOpen && !isDesktop}\n startValue={'-56%'}\n endValue={'0'}\n timeout={DURATION.DEFAULT}\n mountOnEnter={false}\n unmountOnExit={true}\n >\n <MobileStyledHeaderSubMenu>{children}</MobileStyledHeaderSubMenu>\n </Slide>\n </Opacity>\n </MenuSubLink>\n );\n};\n"],"mappings":";;;;;;;;;;AAoBA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAA+C;AAI/C,IAAMA,+BAAoG,GAAG,SAAvGA,+BAAoG,CACxGC,KAAK,EACLC,KAAK;EAAA;IAELC,UAAU,EAAE,MAAM;IAClBC,eAAe,EAAEC,eAAK,CAACC,IAAI,CAACL,KAAK,CAACM,OAAO,CAACH,eAAe,EAAE,IAAI,CAAC;IAChEI,YAAY,EAAE,KAAK;IACnBC,SAAS,EAAE,kCAAkC;IAC7CC,OAAO,EAAE,MAAM;IACfC,aAAa,EAAE,QAAQ;IACvBC,cAAc,EAAE,QAAQ;IACxBC,QAAQ,EAAE,OAAO;IACjBC,OAAO,EAAE,SAAS;IAClBC,IAAI,EAAE;MACJ,SAAS,EAAE;QACTX,eAAe,EAAEH,KAAK,CAACM,OAAO,CAACH,eAAe;QAC9CI,YAAY,EAAE;MAChB,CAAC;MACDL,UAAU,EAAE,QAAQ;MACpBO,OAAO,EAAE,MAAM;MACfM,MAAM,EAAE,MAAM;MACdC,MAAM,EAAE,CAAC;MACTC,WAAW,EAAE,iBAAiB;MAC9BC,YAAY,EAAE,iBAAiB;MAC/BC,UAAU,EAAE;IACd;EAAC,cACIC,6BAAmB,wBAAsB;IAC5CC,SAAS,EAAE;EACb,CAAC;AAAA,CACD;AAEK,IAAMC,iCAAiC,GAAG,4BAA4B;AAAC;AAEvE,IAAMC,0BAA0B,GAAG,SAA7BA,0BAA0B,CAAItB,KAAsC;EAAA,OAC/E;IACE,SAAS,EAAEqB,iCAAkC;IAC7C,GAAG,EAAE,aAACtB,KAAY;MAAA,OAAKD,+BAA+B,CAACC,KAAK,EAAEC,KAAK,CAAC;IAAA;EAAC,GACjEA,KAAK,EACT;AAAA,CACH;AAAC;AAMF,IAAMuB,8BAAoF,GAAG,SAAvFA,8BAAoF,CAAGvB,KAAK;EAAA,OAAK;IACrG,GAAG,EAAE;MACHwB,UAAU,EAAE;IACd,CAAC;IACDvB,UAAU,EAAE,QAAQ;IACpBwB,SAAS,sBAAetB,eAAK,CAACuB,eAAe,CAAE;IAC/ClB,OAAO,EAAE,MAAM;IACfC,aAAa,EAAE,QAAQ;IACvBC,cAAc,EAAE,QAAQ;IACxBU,SAAS,EAAE,MAAM;IACjBO,UAAU,EAAE;EACd,CAAC;AAAA,CAAC;AAEK,IAAMC,yBAAyB,GAAG,SAA5BA,yBAAyB,CAAI5B,KAAqC;EAAA,OAC7E;IAAM,GAAG,EAAEuB,8BAA8B,CAACvB,KAAK;EAAE,GAAKA,KAAK,EAAI;AAAA,CAChE;AAAC;AAOK,IAAM6B,aAA2C,GAAG,SAA9CA,aAA2C,QAA8C;EAAA,IAAzCC,OAAO,SAAPA,OAAO;IAAEC,MAAM,SAANA,MAAM;IAAEC,QAAQ,SAARA,QAAQ;IAAKhC,KAAK;EAC9F,IAAMiC,SAAS,GAAG,OAAOC,MAAM,KAAK,WAAW,IAAIA,MAAM,CAACC,UAAU,YAAKC,mBAAK,CAACC,OAAO,OAAI,CAACC,OAAO;EAClG,OACE,gBAAC,wBAAW,gCACNtC,KAAK;IACT,KAAK,EAAE;MAACuC,MAAM,EAAE,SAAS;MAAE/B,OAAO,EAAE,cAAc;MAAEgC,QAAQ,EAAE,UAAU;MAAEC,SAAS,EAAE;IAAQ;EAAE,IAE/F,8BAAOX,OAAO,CAAQ,EACtB,gBAAC,iBAAO;IACN,MAAIC,MAAM,IAAIE,SAAU;IACxB,OAAO,EAAES,iBAAQ,CAACC,OAAQ;IAC1B,KAAK,EAAE;MAACnC,OAAO,EAAE,cAAc;MAAEoC,IAAI,EAAE,CAAC,EAAE;MAAExB,SAAS,EAAE,EAAE;MAAEO,UAAU,EAAE,EAAE;MAAEa,QAAQ,EAAE,UAAU;MAAEK,MAAM,EAAE;IAAC,CAAE;IAC5G,YAAY,EAAE,KAAM;IACpB,aAAa,EAAE;EAAM,GAErB,gBAAC,uBAAa;IACZ,MAAId,MAAM,IAAIE,SAAU;IACxB,UAAU,EAAE,OAAQ;IACpB,QAAQ,EAAE,KAAM;IAChB,KAAK,EAAE;MAACzB,OAAO,EAAE;IAAc,CAAE;IACjC,OAAO,EAAEkC,iBAAQ,CAACC,OAAQ;IAC1B,YAAY,EAAE,KAAM;IACpB,aAAa,EAAE;EAAK,GAEpB,gBAAC,0BAA0B,QAAEX,QAAQ,CAA8B,CACrD,CACR,EACV,gBAAC,iBAAO;IACN,MAAID,MAAM,IAAI,CAACE,SAAU;IACzB,OAAO,EAAES,iBAAQ,CAACC,OAAQ;IAC1B,YAAY,EAAE,KAAM;IACpB,aAAa,EAAE,KAAM;IACrB,KAAK,EAAE;MAACnC,OAAO,EAAE,OAAO;MAAEgC,QAAQ,EAAE;IAAU;EAAE,GAEhD,gBAAC,eAAK;IACJ,MAAIT,MAAM,IAAI,CAACE,SAAU;IACzB,UAAU,EAAE,MAAO;IACnB,QAAQ,EAAE,GAAI;IACd,OAAO,EAAES,iBAAQ,CAACC,OAAQ;IAC1B,YAAY,EAAE,KAAM;IACpB,aAAa,EAAE;EAAK,GAEpB,gBAAC,yBAAyB,QAAEX,QAAQ,CAA6B,CAC3D,CACA,CACE;AAElB,CAAC;AAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"MenuContent.d.js","names":[],"sources":["MenuContent.d.ts"],"sourcesContent":["/** @jsx jsx */\nimport { CSSObject, jsx } from '@emotion/react';\nimport { TextProps } from '../../Text';\nexport interface MenuContentProps<T = HTMLDivElement> extends TextProps<T> {\n open?: boolean;\n}\nexport declare const menuContentStyle: <T>(props: MenuContentProps<T>) => CSSObject;\nexport declare const MenuContent: (props: MenuContentProps) => jsx.JSX.Element;\n"],"mappings":""}
|
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
|
-
exports.
|
|
9
|
-
|
|
7
|
+
exports.menuContentStyle = exports.MenuContent = void 0;
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
13
|
-
|
|
14
10
|
var _react = require("@emotion/react");
|
|
15
|
-
|
|
16
11
|
var _util = require("../../util");
|
|
17
|
-
|
|
18
12
|
var _Content = require("../Content");
|
|
19
|
-
|
|
20
|
-
function
|
|
21
|
-
|
|
22
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
23
|
-
|
|
13
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
14
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
24
15
|
var menuContentStyle = function menuContentStyle(props) {
|
|
25
16
|
return _objectSpread(_objectSpread({}, (0, _Content.contentStyle)(props)), {}, {
|
|
26
17
|
alignItems: 'center',
|
|
@@ -35,18 +26,14 @@ var menuContentStyle = function menuContentStyle(props) {
|
|
|
35
26
|
zIndex: props.open ? 10000 : undefined
|
|
36
27
|
});
|
|
37
28
|
};
|
|
38
|
-
|
|
39
29
|
exports.menuContentStyle = menuContentStyle;
|
|
40
|
-
|
|
41
30
|
var filterMenuContentProps = function filterMenuContentProps(props) {
|
|
42
31
|
return (0, _util.filterProps)(props, ['open']);
|
|
43
32
|
};
|
|
44
|
-
|
|
45
33
|
var MenuContent = function MenuContent(props) {
|
|
46
34
|
return (0, _react.jsx)("div", (0, _extends2["default"])({
|
|
47
35
|
css: menuContentStyle(props)
|
|
48
36
|
}, filterMenuContentProps(props)));
|
|
49
37
|
};
|
|
50
|
-
|
|
51
38
|
exports.MenuContent = MenuContent;
|
|
52
39
|
//# sourceMappingURL=MenuContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"MenuContent.js","names":["menuContentStyle","props","contentStyle","alignItems","display","gridColumnGap","gridTemplateColumns","height","justifyContent","left","open","undefined","position","width","zIndex","filterMenuContentProps","filterProps","MenuContent"],"sources":["MenuContent.tsx"],"sourcesContent":["/*\n * Wire\n * Copyright (C) 2018 Wire Swiss GmbH\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see http://www.gnu.org/licenses/.\n *\n */\n\n/** @jsx jsx */\nimport {CSSObject, jsx} from '@emotion/react';\n\nimport {TextProps} from '../../Text';\nimport {filterProps} from '../../util';\nimport {contentStyle} from '../Content';\n\nexport interface MenuContentProps<T = HTMLDivElement> extends TextProps<T> {\n open?: boolean;\n}\n\nexport const menuContentStyle: <T>(props: MenuContentProps<T>) => CSSObject = props => ({\n ...contentStyle(props),\n alignItems: 'center',\n display: 'grid',\n gridColumnGap: '8px',\n gridTemplateColumns: '1fr auto 1fr',\n height: '64px',\n justifyContent: 'space-between',\n left: props.open ? 0 : undefined,\n position: props.open ? 'fixed' : undefined,\n width: props.open ? '100%' : undefined,\n zIndex: props.open ? 10000 : undefined,\n});\n\nconst filterMenuContentProps = (props: MenuContentProps) => filterProps(props, ['open']);\n\nexport const MenuContent = (props: MenuContentProps) => (\n <div css={menuContentStyle(props)} {...filterMenuContentProps(props)} />\n);\n"],"mappings":";;;;;;;;;AAoBA;AAGA;AACA;AAAwC;AAAA;AAMjC,IAAMA,gBAA8D,GAAG,SAAjEA,gBAA8D,CAAGC,KAAK;EAAA,uCAC9E,IAAAC,qBAAY,EAACD,KAAK,CAAC;IACtBE,UAAU,EAAE,QAAQ;IACpBC,OAAO,EAAE,MAAM;IACfC,aAAa,EAAE,KAAK;IACpBC,mBAAmB,EAAE,cAAc;IACnCC,MAAM,EAAE,MAAM;IACdC,cAAc,EAAE,eAAe;IAC/BC,IAAI,EAAER,KAAK,CAACS,IAAI,GAAG,CAAC,GAAGC,SAAS;IAChCC,QAAQ,EAAEX,KAAK,CAACS,IAAI,GAAG,OAAO,GAAGC,SAAS;IAC1CE,KAAK,EAAEZ,KAAK,CAACS,IAAI,GAAG,MAAM,GAAGC,SAAS;IACtCG,MAAM,EAAEb,KAAK,CAACS,IAAI,GAAG,KAAK,GAAGC;EAAS;AAAA,CACtC;AAAC;AAEH,IAAMI,sBAAsB,GAAG,SAAzBA,sBAAsB,CAAId,KAAuB;EAAA,OAAK,IAAAe,iBAAW,EAACf,KAAK,EAAE,CAAC,MAAM,CAAC,CAAC;AAAA;AAEjF,IAAMgB,WAAW,GAAG,SAAdA,WAAW,CAAIhB,KAAuB;EAAA,OACjD;IAAK,GAAG,EAAED,gBAAgB,CAACC,KAAK;EAAE,GAAKc,sBAAsB,CAACd,KAAK,CAAC,EAAI;AAAA,CACzE;AAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"MenuItems.d.js","names":[],"sources":["MenuItems.d.ts"],"sourcesContent":["/** @jsx jsx */\nimport React from 'react';\nimport { CSSObject, jsx } from '@emotion/react';\nimport { Theme } from '../Theme';\nexport interface MenuItemsProps<T = HTMLDivElement> extends React.HTMLProps<T> {\n open?: boolean;\n}\nexport declare const menuItemsStyle: <T>(theme: Theme, props: MenuItemsProps<T>) => CSSObject;\nexport declare const MenuItems: (props: MenuItemsProps) => jsx.JSX.Element;\n"],"mappings":""}
|
|
@@ -1,24 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
|
-
exports.
|
|
9
|
-
|
|
7
|
+
exports.menuItemsStyle = exports.MenuItems = void 0;
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
13
|
-
|
|
14
10
|
var _react = _interopRequireDefault(require("react"));
|
|
15
|
-
|
|
16
11
|
var _react2 = require("@emotion/react");
|
|
17
|
-
|
|
18
12
|
var _mediaQueries = require("../../mediaQueries");
|
|
19
|
-
|
|
20
13
|
var _util = require("../../util");
|
|
21
|
-
|
|
22
14
|
/*
|
|
23
15
|
* Wire
|
|
24
16
|
* Copyright (C) 2018 Wire Swiss GmbH
|
|
@@ -39,6 +31,7 @@ var _util = require("../../util");
|
|
|
39
31
|
*/
|
|
40
32
|
|
|
41
33
|
/** @jsx jsx */
|
|
34
|
+
|
|
42
35
|
var menuItemsStyle = function menuItemsStyle(theme, props) {
|
|
43
36
|
return (0, _defineProperty2["default"])({
|
|
44
37
|
alignSelf: 'center',
|
|
@@ -57,13 +50,10 @@ var menuItemsStyle = function menuItemsStyle(theme, props) {
|
|
|
57
50
|
zIndex: 1
|
|
58
51
|
});
|
|
59
52
|
};
|
|
60
|
-
|
|
61
53
|
exports.menuItemsStyle = menuItemsStyle;
|
|
62
|
-
|
|
63
54
|
var filterMenuItemProps = function filterMenuItemProps(props) {
|
|
64
55
|
return (0, _util.filterProps)(props, ['open']);
|
|
65
56
|
};
|
|
66
|
-
|
|
67
57
|
var MenuItems = function MenuItems(props) {
|
|
68
58
|
return (0, _react2.jsx)("div", (0, _extends2["default"])({
|
|
69
59
|
css: function css(theme) {
|
|
@@ -71,6 +61,5 @@ var MenuItems = function MenuItems(props) {
|
|
|
71
61
|
}
|
|
72
62
|
}, filterMenuItemProps(props)));
|
|
73
63
|
};
|
|
74
|
-
|
|
75
64
|
exports.MenuItems = MenuItems;
|
|
76
65
|
//# sourceMappingURL=MenuItems.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"MenuItems.js","names":["menuItemsStyle","theme","props","alignSelf","display","justifySelf","media","QueryKeys","TABLET_DOWN","backgroundColor","general","bottom","left","overflowY","position","right","top","transform","open","transition","zIndex","filterMenuItemProps","filterProps","MenuItems"],"sources":["MenuItems.tsx"],"sourcesContent":["/*\n * Wire\n * Copyright (C) 2018 Wire Swiss GmbH\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see http://www.gnu.org/licenses/.\n *\n */\n\n/** @jsx jsx */\nimport React from 'react';\nimport {CSSObject, jsx} from '@emotion/react';\n\nimport {QueryKeys, media} from '../../mediaQueries';\nimport {filterProps} from '../../util';\nimport {Theme} from '../Theme';\n\nexport interface MenuItemsProps<T = HTMLDivElement> extends React.HTMLProps<T> {\n open?: boolean;\n}\n\nexport const menuItemsStyle: <T>(theme: Theme, props: MenuItemsProps<T>) => CSSObject = (theme, props) => ({\n alignSelf: 'center',\n display: 'flex',\n justifySelf: 'end',\n [media[QueryKeys.TABLET_DOWN]]: {\n backgroundColor: theme.general.backgroundColor,\n bottom: 0,\n left: 0,\n overflowY: 'auto',\n position: 'fixed',\n right: 0,\n top: 0,\n transform: props.open ? 'translateX(0)' : 'translateX(110%)',\n transition: 'transform 0.25s ease',\n zIndex: 1,\n },\n});\n\nconst filterMenuItemProps = (props: MenuItemsProps) => filterProps(props, ['open']);\n\nexport const MenuItems = (props: MenuItemsProps) => (\n <div css={(theme: Theme) => menuItemsStyle(theme, props)} {...filterMenuItemProps(props)} />\n);\n"],"mappings":";;;;;;;;;AAoBA;AACA;AAEA;AACA;AAxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAYO,IAAMA,cAAwE,GAAG,SAA3EA,cAAwE,CAAIC,KAAK,EAAEC,KAAK;EAAA;IACnGC,SAAS,EAAE,QAAQ;IACnBC,OAAO,EAAE,MAAM;IACfC,WAAW,EAAE;EAAK,GACjBC,mBAAK,CAACC,uBAAS,CAACC,WAAW,CAAC,EAAG;IAC9BC,eAAe,EAAER,KAAK,CAACS,OAAO,CAACD,eAAe;IAC9CE,MAAM,EAAE,CAAC;IACTC,IAAI,EAAE,CAAC;IACPC,SAAS,EAAE,MAAM;IACjBC,QAAQ,EAAE,OAAO;IACjBC,KAAK,EAAE,CAAC;IACRC,GAAG,EAAE,CAAC;IACNC,SAAS,EAAEf,KAAK,CAACgB,IAAI,GAAG,eAAe,GAAG,kBAAkB;IAC5DC,UAAU,EAAE,sBAAsB;IAClCC,MAAM,EAAE;EACV,CAAC;AAAA,CACD;AAAC;AAEH,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmB,CAAInB,KAAqB;EAAA,OAAK,IAAAoB,iBAAW,EAACpB,KAAK,EAAE,CAAC,MAAM,CAAC,CAAC;AAAA;AAE5E,IAAMqB,SAAS,GAAG,SAAZA,SAAS,CAAIrB,KAAqB;EAAA,OAC7C;IAAK,GAAG,EAAE,aAACD,KAAY;MAAA,OAAKD,cAAc,CAACC,KAAK,EAAEC,KAAK,CAAC;IAAA;EAAC,GAAKmB,mBAAmB,CAACnB,KAAK,CAAC,EAAI;AAAA,CAC7F;AAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"MenuLink.d.js","names":[],"sources":["MenuLink.d.ts"],"sourcesContent":["/** @jsx jsx */\nimport { CSSObject, jsx } from '@emotion/react';\nimport { LinkProps } from '../../Text';\nimport { Theme } from '../Theme';\nexport interface MenuLinkProps<T = HTMLAnchorElement> extends LinkProps<T> {\n button?: boolean;\n}\nexport declare const menuLinkStyle: <T>(theme: Theme, props: MenuLinkProps<T>) => CSSObject;\nexport declare const MENU_LINK_CLASSNAME = \"menu-link\";\nexport declare const filterMenuLinkProps: (props: MenuLinkProps) => Object;\nexport declare const MenuLink: (props: MenuLinkProps) => jsx.JSX.Element;\n"],"mappings":""}
|
|
@@ -1,48 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
|
-
exports.
|
|
9
|
-
|
|
7
|
+
exports.menuLinkStyle = exports.filterMenuLinkProps = exports.MenuLink = exports.MENU_LINK_CLASSNAME = void 0;
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
13
|
-
|
|
14
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
-
|
|
16
11
|
var _react = require("@emotion/react");
|
|
17
|
-
|
|
18
12
|
var _mediaQueries = require("../../mediaQueries");
|
|
19
|
-
|
|
20
13
|
var _Text = require("../../Text");
|
|
21
|
-
|
|
22
14
|
var _util = require("../../util");
|
|
23
|
-
|
|
24
15
|
var _HeaderSubMenu = require("./HeaderSubMenu");
|
|
25
|
-
|
|
26
16
|
var _excluded = ["bold", "color", "fontSize", "textTransform", "button"];
|
|
27
|
-
|
|
28
|
-
function
|
|
29
|
-
|
|
30
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
31
|
-
|
|
17
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
18
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
32
19
|
var menuLinkStyle = function menuLinkStyle(theme, _ref) {
|
|
33
20
|
var _objectSpread2;
|
|
34
|
-
|
|
35
21
|
var _ref$bold = _ref.bold,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
22
|
+
bold = _ref$bold === void 0 ? true : _ref$bold,
|
|
23
|
+
_ref$color = _ref.color,
|
|
24
|
+
color = _ref$color === void 0 ? theme.general.color : _ref$color,
|
|
25
|
+
_ref$fontSize = _ref.fontSize,
|
|
26
|
+
fontSize = _ref$fontSize === void 0 ? '11px' : _ref$fontSize,
|
|
27
|
+
_ref$textTransform = _ref.textTransform,
|
|
28
|
+
textTransform = _ref$textTransform === void 0 ? 'uppercase' : _ref$textTransform,
|
|
29
|
+
_ref$button = _ref.button,
|
|
30
|
+
button = _ref$button === void 0 ? false : _ref$button,
|
|
31
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
46
32
|
return _objectSpread(_objectSpread({}, (0, _Text.linkStyle)(theme, _objectSpread({
|
|
47
33
|
bold: bold,
|
|
48
34
|
color: color,
|
|
@@ -72,17 +58,13 @@ var menuLinkStyle = function menuLinkStyle(theme, _ref) {
|
|
|
72
58
|
textTransform: 'none !important'
|
|
73
59
|
}), (0, _defineProperty2["default"])(_objectSpread2, "border", button ? '1px solid rgb(219, 226, 231)' : undefined), (0, _defineProperty2["default"])(_objectSpread2, "borderRadius", button ? '4px' : undefined), (0, _defineProperty2["default"])(_objectSpread2, "padding", button ? '10px 16px' : undefined), _objectSpread2));
|
|
74
60
|
};
|
|
75
|
-
|
|
76
61
|
exports.menuLinkStyle = menuLinkStyle;
|
|
77
62
|
var MENU_LINK_CLASSNAME = 'menu-link';
|
|
78
63
|
exports.MENU_LINK_CLASSNAME = MENU_LINK_CLASSNAME;
|
|
79
|
-
|
|
80
64
|
var filterMenuLinkProps = function filterMenuLinkProps(props) {
|
|
81
65
|
return (0, _util.filterProps)((0, _Text.filterLinkProps)(props), ['button']);
|
|
82
66
|
};
|
|
83
|
-
|
|
84
67
|
exports.filterMenuLinkProps = filterMenuLinkProps;
|
|
85
|
-
|
|
86
68
|
var MenuLink = function MenuLink(props) {
|
|
87
69
|
return (0, _react.jsx)("a", (0, _extends2["default"])({
|
|
88
70
|
className: MENU_LINK_CLASSNAME,
|
|
@@ -91,6 +73,5 @@ var MenuLink = function MenuLink(props) {
|
|
|
91
73
|
}
|
|
92
74
|
}, filterMenuLinkProps(props)));
|
|
93
75
|
};
|
|
94
|
-
|
|
95
76
|
exports.MenuLink = MenuLink;
|
|
96
77
|
//# sourceMappingURL=MenuLink.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"MenuLink.js","names":["menuLinkStyle","theme","bold","color","general","fontSize","textTransform","button","props","linkStyle","media","QueryKeys","DESKTOP","marginLeft","marginRight","margin","DESKTOP_HEADER_SUB_MENU_CLASSNAME","TABLET_DOWN","border","fontWeight","maxWidth","padding","undefined","MENU_LINK_CLASSNAME","filterMenuLinkProps","filterProps","filterLinkProps","MenuLink"],"sources":["MenuLink.tsx"],"sourcesContent":["/*\n * Wire\n * Copyright (C) 2018 Wire Swiss GmbH\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see http://www.gnu.org/licenses/.\n *\n */\n\n/** @jsx jsx */\nimport {CSSObject, jsx} from '@emotion/react';\n\nimport {QueryKeys, media} from '../../mediaQueries';\nimport {LinkProps, filterLinkProps, linkStyle} from '../../Text';\nimport {filterProps} from '../../util';\nimport {Theme} from '../Theme';\nimport {DESKTOP_HEADER_SUB_MENU_CLASSNAME} from './HeaderSubMenu';\n\nexport interface MenuLinkProps<T = HTMLAnchorElement> extends LinkProps<T> {\n button?: boolean;\n}\n\nexport const menuLinkStyle: <T>(theme: Theme, props: MenuLinkProps<T>) => CSSObject = (\n theme,\n {bold = true, color = theme.general.color, fontSize = '11px', textTransform = 'uppercase', button = false, ...props},\n) => ({\n ...linkStyle(theme, {bold, color, fontSize, textTransform, ...props}),\n [media[QueryKeys.DESKTOP]]: {\n '&:first-of-type': {\n marginLeft: 0,\n },\n '&:last-of-type': {\n marginRight: 0,\n },\n margin: '0 26px 0 10px',\n [`.${DESKTOP_HEADER_SUB_MENU_CLASSNAME} &`]: {\n '&:first-of-type': {\n marginLeft: '10px',\n },\n '&:last-of-type': {\n marginRight: '26px',\n },\n },\n },\n [media[QueryKeys.TABLET_DOWN]]: {\n border: 'none',\n fontSize: '32px !important',\n fontWeight: 300,\n maxWidth: '480px',\n padding: '8px 24px',\n textTransform: 'none !important',\n },\n border: button ? '1px solid rgb(219, 226, 231)' : undefined,\n borderRadius: button ? '4px' : undefined,\n padding: button ? '10px 16px' : undefined,\n});\n\nexport const MENU_LINK_CLASSNAME = 'menu-link';\n\nexport const filterMenuLinkProps = (props: MenuLinkProps) =>\n filterProps(filterLinkProps(props) as MenuLinkProps, ['button']);\n\nexport const MenuLink = (props: MenuLinkProps) => (\n <a\n className={MENU_LINK_CLASSNAME}\n css={(theme: Theme) => menuLinkStyle(theme, props)}\n {...filterMenuLinkProps(props)}\n />\n);\n"],"mappings":";;;;;;;;;;AAoBA;AAEA;AACA;AACA;AAEA;AAAkE;AAAA;AAAA;AAM3D,IAAMA,aAAsE,GAAG,SAAzEA,aAAsE,CACjFC,KAAK;EAAA;EAAA,qBACJC,IAAI;IAAJA,IAAI,0BAAG,IAAI;IAAA,kBAAEC,KAAK;IAALA,KAAK,2BAAGF,KAAK,CAACG,OAAO,CAACD,KAAK;IAAA,qBAAEE,QAAQ;IAARA,QAAQ,8BAAG,MAAM;IAAA,0BAAEC,aAAa;IAAbA,aAAa,mCAAG,WAAW;IAAA,mBAAEC,MAAM;IAANA,MAAM,4BAAG,KAAK;IAAKC,KAAK;EAAA,uCAEhH,IAAAC,eAAS,EAACR,KAAK;IAAGC,IAAI,EAAJA,IAAI;IAAEC,KAAK,EAALA,KAAK;IAAEE,QAAQ,EAARA,QAAQ;IAAEC,aAAa,EAAbA;EAAa,GAAKE,KAAK,EAAE,8EACpEE,mBAAK,CAACC,uBAAS,CAACC,OAAO,CAAC;IACvB,iBAAiB,EAAE;MACjBC,UAAU,EAAE;IACd,CAAC;IACD,gBAAgB,EAAE;MAChBC,WAAW,EAAE;IACf,CAAC;IACDC,MAAM,EAAE;EAAe,cAClBC,gDAAiC,SAAO;IAC3C,iBAAiB,EAAE;MACjBH,UAAU,EAAE;IACd,CAAC;IACD,gBAAgB,EAAE;MAChBC,WAAW,EAAE;IACf;EACF,CAAC,qDAEFJ,mBAAK,CAACC,uBAAS,CAACM,WAAW,CAAC,EAAG;IAC9BC,MAAM,EAAE,MAAM;IACdb,QAAQ,EAAE,iBAAiB;IAC3Bc,UAAU,EAAE,GAAG;IACfC,QAAQ,EAAE,OAAO;IACjBC,OAAO,EAAE,UAAU;IACnBf,aAAa,EAAE;EACjB,CAAC,8DACOC,MAAM,GAAG,8BAA8B,GAAGe,SAAS,oEAC7Cf,MAAM,GAAG,KAAK,GAAGe,SAAS,+DAC/Bf,MAAM,GAAG,WAAW,GAAGe,SAAS;AAAA,CACzC;AAAC;AAEI,IAAMC,mBAAmB,GAAG,WAAW;AAAC;AAExC,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmB,CAAIhB,KAAoB;EAAA,OACtD,IAAAiB,iBAAW,EAAC,IAAAC,qBAAe,EAAClB,KAAK,CAAC,EAAmB,CAAC,QAAQ,CAAC,CAAC;AAAA;AAAC;AAE5D,IAAMmB,QAAQ,GAAG,SAAXA,QAAQ,CAAInB,KAAoB;EAAA,OAC3C;IACE,SAAS,EAAEe,mBAAoB;IAC/B,GAAG,EAAE,aAACtB,KAAY;MAAA,OAAKD,aAAa,CAACC,KAAK,EAAEO,KAAK,CAAC;IAAA;EAAC,GAC/CgB,mBAAmB,CAAChB,KAAK,CAAC,EAC9B;AAAA,CACH;AAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"MenuOpenButton.d.js","names":[],"sources":["MenuOpenButton.d.ts"],"sourcesContent":["/** @jsx jsx */\nimport { CSSObject, jsx } from '@emotion/react';\nimport React from 'react';\nimport { Theme } from '../Theme';\nexport interface MenuOpenButtonProps<T = HTMLDivElement> extends React.HTMLProps<T> {\n open?: boolean;\n}\nexport declare const menuOpenButtonStyle: <T>(theme: Theme, props: MenuOpenButtonProps<T>) => CSSObject;\nexport declare const MenuOpenButton: (props: MenuOpenButtonProps) => jsx.JSX.Element;\n"],"mappings":""}
|
|
@@ -1,24 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
|
-
exports.
|
|
9
|
-
|
|
7
|
+
exports.menuOpenButtonStyle = exports.MenuOpenButton = void 0;
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
13
|
-
|
|
14
10
|
var _react = require("@emotion/react");
|
|
15
|
-
|
|
16
11
|
var _react2 = _interopRequireDefault(require("react"));
|
|
17
|
-
|
|
18
12
|
var _mediaQueries = require("../../mediaQueries");
|
|
19
|
-
|
|
20
13
|
var _util = require("../../util");
|
|
21
|
-
|
|
22
14
|
/*
|
|
23
15
|
* Wire
|
|
24
16
|
* Copyright (C) 2018 Wire Swiss GmbH
|
|
@@ -39,9 +31,9 @@ var _util = require("../../util");
|
|
|
39
31
|
*/
|
|
40
32
|
|
|
41
33
|
/** @jsx jsx */
|
|
34
|
+
|
|
42
35
|
var menuOpenButtonStyle = function menuOpenButtonStyle(theme, _ref) {
|
|
43
36
|
var _ref2;
|
|
44
|
-
|
|
45
37
|
var open = _ref.open;
|
|
46
38
|
return _ref2 = {
|
|
47
39
|
display: 'block',
|
|
@@ -66,13 +58,10 @@ var menuOpenButtonStyle = function menuOpenButtonStyle(theme, _ref) {
|
|
|
66
58
|
display: 'none'
|
|
67
59
|
}), (0, _defineProperty2["default"])(_ref2, "zIndex", 2), _ref2;
|
|
68
60
|
};
|
|
69
|
-
|
|
70
61
|
exports.menuOpenButtonStyle = menuOpenButtonStyle;
|
|
71
|
-
|
|
72
62
|
var filterMenuOpenButtonProps = function filterMenuOpenButtonProps(props) {
|
|
73
63
|
return (0, _util.filterProps)(props, ['open']);
|
|
74
64
|
};
|
|
75
|
-
|
|
76
65
|
var MenuOpenButton = function MenuOpenButton(props) {
|
|
77
66
|
return (0, _react.jsx)("div", (0, _extends2["default"])({
|
|
78
67
|
css: function css(theme) {
|
|
@@ -80,6 +69,5 @@ var MenuOpenButton = function MenuOpenButton(props) {
|
|
|
80
69
|
}
|
|
81
70
|
}, filterMenuOpenButtonProps(props)), (0, _react.jsx)("div", null), (0, _react.jsx)("div", null), (0, _react.jsx)("div", null));
|
|
82
71
|
};
|
|
83
|
-
|
|
84
72
|
exports.MenuOpenButton = MenuOpenButton;
|
|
85
73
|
//# sourceMappingURL=MenuOpenButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"MenuOpenButton.js","names":["menuOpenButtonStyle","theme","open","display","div","backgroundColor","general","color","height","margin","transition","width","transform","undefined","opacity","media","QueryKeys","DESKTOP","filterMenuOpenButtonProps","props","filterProps","MenuOpenButton"],"sources":["MenuOpenButton.tsx"],"sourcesContent":["/*\n * Wire\n * Copyright (C) 2018 Wire Swiss GmbH\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see http://www.gnu.org/licenses/.\n *\n */\n\n/** @jsx jsx */\nimport {CSSObject, jsx} from '@emotion/react';\nimport React from 'react';\n\nimport {QueryKeys, media} from '../../mediaQueries';\nimport {filterProps} from '../../util';\nimport {Theme} from '../Theme';\n\nexport interface MenuOpenButtonProps<T = HTMLDivElement> extends React.HTMLProps<T> {\n open?: boolean;\n}\n\nexport const menuOpenButtonStyle: <T>(theme: Theme, props: MenuOpenButtonProps<T>) => CSSObject = (theme, {open}) => ({\n display: 'block',\n div: {\n backgroundColor: theme.general.color,\n height: '2px',\n margin: '4px',\n transition: 'all 0.25s ease-in-out',\n width: '16px',\n },\n 'div:nth-of-type(1)': {\n transform: open ? 'translateY(6px) rotate(-45deg)' : undefined,\n },\n 'div:nth-of-type(2)': {\n opacity: open ? 0 : undefined,\n transform: open ? 'scale(0, 1)' : undefined,\n },\n 'div:nth-of-type(3)': {\n transform: open ? 'translateY(-6px) rotate(45deg)' : undefined,\n },\n [media[QueryKeys.DESKTOP]]: {\n display: 'none',\n },\n zIndex: 2,\n});\n\nconst filterMenuOpenButtonProps = (props: MenuOpenButtonProps) => filterProps(props, ['open']);\n\nexport const MenuOpenButton = (props: MenuOpenButtonProps) => (\n <div css={(theme: Theme) => menuOpenButtonStyle(theme, props)} {...filterMenuOpenButtonProps(props)}>\n <div />\n <div />\n <div />\n </div>\n);\n"],"mappings":";;;;;;;;;AAoBA;AACA;AAEA;AACA;AAxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAYO,IAAMA,mBAAkF,GAAG,SAArFA,mBAAkF,CAAIC,KAAK;EAAA;EAAA,IAAGC,IAAI,QAAJA,IAAI;EAAA;IAC7GC,OAAO,EAAE,OAAO;IAChBC,GAAG,EAAE;MACHC,eAAe,EAAEJ,KAAK,CAACK,OAAO,CAACC,KAAK;MACpCC,MAAM,EAAE,KAAK;MACbC,MAAM,EAAE,KAAK;MACbC,UAAU,EAAE,uBAAuB;MACnCC,KAAK,EAAE;IACT,CAAC;IACD,oBAAoB,EAAE;MACpBC,SAAS,EAAEV,IAAI,GAAG,gCAAgC,GAAGW;IACvD,CAAC;IACD,oBAAoB,EAAE;MACpBC,OAAO,EAAEZ,IAAI,GAAG,CAAC,GAAGW,SAAS;MAC7BD,SAAS,EAAEV,IAAI,GAAG,aAAa,GAAGW;IACpC,CAAC;IACD,oBAAoB,EAAE;MACpBD,SAAS,EAAEV,IAAI,GAAG,gCAAgC,GAAGW;IACvD;EAAC,2CACAE,mBAAK,CAACC,uBAAS,CAACC,OAAO,CAAC,EAAG;IAC1Bd,OAAO,EAAE;EACX,CAAC,qDACO,CAAC;AAAA,CACT;AAAC;AAEH,IAAMe,yBAAyB,GAAG,SAA5BA,yBAAyB,CAAIC,KAA0B;EAAA,OAAK,IAAAC,iBAAW,EAACD,KAAK,EAAE,CAAC,MAAM,CAAC,CAAC;AAAA;AAEvF,IAAME,cAAc,GAAG,SAAjBA,cAAc,CAAIF,KAA0B;EAAA,OACvD;IAAK,GAAG,EAAE,aAAClB,KAAY;MAAA,OAAKD,mBAAmB,CAACC,KAAK,EAAEkB,KAAK,CAAC;IAAA;EAAC,GAAKD,yBAAyB,CAACC,KAAK,CAAC,GACjG,4BAAO,EACP,4BAAO,EACP,4BAAO,CACH;AAAA,CACP;AAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"MenuScrollableItems.d.js","names":[],"sources":["MenuScrollableItems.d.ts"],"sourcesContent":["/** @jsx jsx */\nimport { CSSObject, jsx } from '@emotion/react';\nimport React from 'react';\nexport interface MenuScrollableItemsProps<T = HTMLDivElement> extends React.HTMLProps<T> {\n open?: boolean;\n}\nexport declare const menuScrollableItemsStyle: <T>(props: MenuScrollableItemsProps<T>) => CSSObject;\nexport declare const MenuScrollableItems: (props: MenuScrollableItemsProps) => jsx.JSX.Element;\n"],"mappings":""}
|
|
@@ -1,22 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
|
-
exports.
|
|
9
|
-
|
|
7
|
+
exports.menuScrollableItemsStyle = exports.MenuScrollableItems = void 0;
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
13
|
-
|
|
14
10
|
var _react = require("@emotion/react");
|
|
15
|
-
|
|
16
11
|
var _react2 = _interopRequireDefault(require("react"));
|
|
17
|
-
|
|
18
12
|
var _mediaQueries = require("../../mediaQueries");
|
|
19
|
-
|
|
20
13
|
/*
|
|
21
14
|
* Wire
|
|
22
15
|
* Copyright (C) 2018 Wire Swiss GmbH
|
|
@@ -37,6 +30,7 @@ var _mediaQueries = require("../../mediaQueries");
|
|
|
37
30
|
*/
|
|
38
31
|
|
|
39
32
|
/** @jsx jsx */
|
|
33
|
+
|
|
40
34
|
var menuScrollableItemsStyle = function menuScrollableItemsStyle(props) {
|
|
41
35
|
return (0, _defineProperty2["default"])({
|
|
42
36
|
alignItems: 'center',
|
|
@@ -48,14 +42,11 @@ var menuScrollableItemsStyle = function menuScrollableItemsStyle(props) {
|
|
|
48
42
|
margin: 'auto'
|
|
49
43
|
});
|
|
50
44
|
};
|
|
51
|
-
|
|
52
45
|
exports.menuScrollableItemsStyle = menuScrollableItemsStyle;
|
|
53
|
-
|
|
54
46
|
var MenuScrollableItems = function MenuScrollableItems(props) {
|
|
55
47
|
return (0, _react.jsx)("div", (0, _extends2["default"])({
|
|
56
48
|
css: menuScrollableItemsStyle(props)
|
|
57
49
|
}, props));
|
|
58
50
|
};
|
|
59
|
-
|
|
60
51
|
exports.MenuScrollableItems = MenuScrollableItems;
|
|
61
52
|
//# sourceMappingURL=MenuScrollableItems.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"MenuScrollableItems.js","names":["menuScrollableItemsStyle","props","alignItems","alignSelf","display","media","QueryKeys","TABLET_DOWN","flexDirection","margin","MenuScrollableItems"],"sources":["MenuScrollableItems.tsx"],"sourcesContent":["/*\n * Wire\n * Copyright (C) 2018 Wire Swiss GmbH\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see http://www.gnu.org/licenses/.\n *\n */\n\n/** @jsx jsx */\nimport {CSSObject, jsx} from '@emotion/react';\nimport React from 'react';\n\nimport {QueryKeys, media} from '../../mediaQueries';\n\nexport interface MenuScrollableItemsProps<T = HTMLDivElement> extends React.HTMLProps<T> {\n open?: boolean;\n}\n\nexport const menuScrollableItemsStyle: <T>(props: MenuScrollableItemsProps<T>) => CSSObject = props => ({\n alignItems: 'center',\n alignSelf: 'center',\n display: 'flex',\n [media[QueryKeys.TABLET_DOWN]]: {\n alignItems: 'center',\n flexDirection: 'column',\n margin: 'auto',\n },\n});\n\nexport const MenuScrollableItems = (props: MenuScrollableItemsProps) => (\n <div css={menuScrollableItemsStyle(props)} {...props} />\n);\n"],"mappings":";;;;;;;;;AAoBA;AACA;AAEA;AAvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAUO,IAAMA,wBAA8E,GAAG,SAAjFA,wBAA8E,CAAGC,KAAK;EAAA;IACjGC,UAAU,EAAE,QAAQ;IACpBC,SAAS,EAAE,QAAQ;IACnBC,OAAO,EAAE;EAAM,GACdC,mBAAK,CAACC,uBAAS,CAACC,WAAW,CAAC,EAAG;IAC9BL,UAAU,EAAE,QAAQ;IACpBM,aAAa,EAAE,QAAQ;IACvBC,MAAM,EAAE;EACV,CAAC;AAAA,CACD;AAAC;AAEI,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmB,CAAIT,KAA+B;EAAA,OACjE;IAAK,GAAG,EAAED,wBAAwB,CAACC,KAAK;EAAE,GAAKA,KAAK,EAAI;AAAA,CACzD;AAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"MenuSubLink.d.js","names":[],"sources":["MenuSubLink.d.ts"],"sourcesContent":["/** @jsx jsx */\nimport { CSSObject, jsx } from '@emotion/react';\nimport { TextProps } from '../../Text';\nimport { Theme } from '../Theme';\ndeclare type MenuSubLinkProps<T = HTMLDivElement> = TextProps<T>;\nexport declare const menuSubLinkStyle: <T>(theme: Theme, props: MenuSubLinkProps<T>) => CSSObject;\nexport declare const MenuSubLink: (props: MenuSubLinkProps) => jsx.JSX.Element;\nexport {};\n"],"mappings":""}
|
|
@@ -1,31 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
|
-
exports.
|
|
9
|
-
|
|
7
|
+
exports.menuSubLinkStyle = exports.MenuSubLink = void 0;
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
13
|
-
|
|
14
10
|
var _react = require("@emotion/react");
|
|
15
|
-
|
|
16
11
|
var _motions = require("../../Identity/motions");
|
|
17
|
-
|
|
18
12
|
var _mediaQueries = require("../../mediaQueries");
|
|
19
|
-
|
|
20
13
|
var _Text = require("../../Text");
|
|
21
|
-
|
|
22
|
-
function
|
|
23
|
-
|
|
24
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
25
|
-
|
|
14
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
15
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
26
16
|
var menuSubLinkStyle = function menuSubLinkStyle(theme, props) {
|
|
27
17
|
var _objectSpread2;
|
|
28
|
-
|
|
29
18
|
return _objectSpread(_objectSpread({}, (0, _Text.textStyle)(theme, props)), {}, (_objectSpread2 = {
|
|
30
19
|
'&:hover': {
|
|
31
20
|
filter: 'brightness(70%)'
|
|
@@ -54,9 +43,7 @@ var menuSubLinkStyle = function menuSubLinkStyle(theme, props) {
|
|
|
54
43
|
textTransform: 'none !important'
|
|
55
44
|
}), _objectSpread2));
|
|
56
45
|
};
|
|
57
|
-
|
|
58
46
|
exports.menuSubLinkStyle = menuSubLinkStyle;
|
|
59
|
-
|
|
60
47
|
var MenuSubLink = function MenuSubLink(props) {
|
|
61
48
|
return (0, _react.jsx)("div", (0, _extends2["default"])({
|
|
62
49
|
css: function css(theme) {
|
|
@@ -64,6 +51,5 @@ var MenuSubLink = function MenuSubLink(props) {
|
|
|
64
51
|
}
|
|
65
52
|
}, props));
|
|
66
53
|
};
|
|
67
|
-
|
|
68
54
|
exports.MenuSubLink = MenuSubLink;
|
|
69
55
|
//# sourceMappingURL=MenuSubLink.js.map
|