@wireapp/react-ui-kit 8.13.9 → 8.14.1
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 +7 -6
- package/src/Form/Button.d.ts +1 -1
- package/src/Form/Button.js +125 -210
- package/src/Form/Button.js.map +1 -1
- package/src/Form/ButtonLink.d.ts +1 -1
- package/src/Form/ButtonLink.js +47 -60
- package/src/Form/ButtonLink.js.map +1 -1
- package/src/Form/Checkbox.js +84 -139
- package/src/Form/Checkbox.js.map +1 -1
- package/src/Form/CodeInput.js +98 -201
- package/src/Form/CodeInput.js.map +1 -1
- package/src/Form/DropFileInput.d.ts +2 -2
- package/src/Form/DropFileInput.js +116 -214
- package/src/Form/DropFileInput.js.map +1 -1
- package/src/Form/ErrorMessage.js +45 -78
- package/src/Form/ErrorMessage.js.map +1 -1
- package/src/Form/Form.d.ts +0 -1
- package/src/Form/Form.js +28 -31
- package/src/Form/Form.js.map +1 -1
- package/src/Form/Input.d.ts +3 -3
- package/src/Form/Input.js +101 -178
- package/src/Form/Input.js.map +1 -1
- package/src/Form/InputBlock.d.ts +1 -1
- package/src/Form/InputBlock.js +19 -45
- package/src/Form/InputBlock.js.map +1 -1
- package/src/Form/InputLabel.js +44 -46
- package/src/Form/InputLabel.js.map +1 -1
- package/src/Form/InputSubmitCombo.js +49 -53
- package/src/Form/InputSubmitCombo.js.map +1 -1
- package/src/Form/RangeInput.js +47 -71
- package/src/Form/RangeInput.js.map +1 -1
- package/src/Form/RangeInput.styles.js +39 -55
- package/src/Form/RangeInput.styles.js.map +1 -1
- package/src/Form/RoundIconButton.d.ts +1 -1
- package/src/Form/RoundIconButton.js +42 -62
- package/src/Form/RoundIconButton.js.map +1 -1
- package/src/Form/Select.js +55 -95
- package/src/Form/Select.js.map +1 -1
- package/src/Form/SelectComponents.js +101 -173
- package/src/Form/SelectComponents.js.map +1 -1
- package/src/Form/SelectStyles.d.ts +1 -899
- package/src/Form/SelectStyles.js +96 -156
- package/src/Form/SelectStyles.js.map +1 -1
- package/src/Form/ShakeBox.d.ts +1 -1
- package/src/Form/ShakeBox.js +33 -81
- package/src/Form/ShakeBox.js.map +1 -1
- package/src/Form/Switch.d.ts +1 -1
- package/src/Form/Switch.js +89 -124
- package/src/Form/Switch.js.map +1 -1
- package/src/Form/TextArea.d.ts +3 -3
- package/src/Form/TextArea.js +59 -80
- package/src/Form/TextArea.js.map +1 -1
- package/src/Form/Tooltip.js +66 -75
- package/src/Form/Tooltip.js.map +1 -1
- package/src/Form/index.js +52 -238
- package/src/Form/index.js.map +1 -1
- package/src/GlobalCssVariables.js +79 -96
- package/src/GlobalCssVariables.js.map +1 -1
- package/src/GlobalStyle.d.ts +2 -3
- package/src/GlobalStyle.js +40 -55
- package/src/GlobalStyle.js.map +1 -1
- package/src/Icon/AddPeopleIcon.js +19 -24
- package/src/Icon/AddPeopleIcon.js.map +1 -1
- package/src/Icon/ArchiveIcon.js +6 -24
- package/src/Icon/ArchiveIcon.js.map +1 -1
- package/src/Icon/ArrowDown.js +19 -23
- package/src/Icon/ArrowDown.js.map +1 -1
- package/src/Icon/ArrowIcon.js +42 -35
- package/src/Icon/ArrowIcon.js.map +1 -1
- package/src/Icon/AttachmentIcon.js +6 -24
- package/src/Icon/AttachmentIcon.js.map +1 -1
- package/src/Icon/AudioVideoIcon.js +6 -24
- package/src/Icon/AudioVideoIcon.js.map +1 -1
- package/src/Icon/BlockIcon.js +6 -24
- package/src/Icon/BlockIcon.js.map +1 -1
- package/src/Icon/Brand/AndroidIcon.js +6 -25
- package/src/Icon/Brand/AndroidIcon.js.map +1 -1
- package/src/Icon/Brand/AppleIcon.js +6 -25
- package/src/Icon/Brand/AppleIcon.js.map +1 -1
- package/src/Icon/Brand/ChromeIcon.js +6 -25
- package/src/Icon/Brand/ChromeIcon.js.map +1 -1
- package/src/Icon/Brand/FacebookIcon.js +6 -24
- package/src/Icon/Brand/FacebookIcon.js.map +1 -1
- package/src/Icon/Brand/GitHubIcon.js +6 -24
- package/src/Icon/Brand/GitHubIcon.js.map +1 -1
- package/src/Icon/Brand/LinkedInIcon.js +6 -24
- package/src/Icon/Brand/LinkedInIcon.js.map +1 -1
- package/src/Icon/Brand/LinuxIcon.js +6 -25
- package/src/Icon/Brand/LinuxIcon.js.map +1 -1
- package/src/Icon/Brand/MicrosoftIcon.js +6 -25
- package/src/Icon/Brand/MicrosoftIcon.js.map +1 -1
- package/src/Icon/Brand/TwitterIcon.js +6 -24
- package/src/Icon/Brand/TwitterIcon.js.map +1 -1
- package/src/Icon/CallIcon.js +6 -24
- package/src/Icon/CallIcon.js.map +1 -1
- package/src/Icon/CamIcon.js +6 -24
- package/src/Icon/CamIcon.js.map +1 -1
- package/src/Icon/CameraIcon.js +19 -24
- package/src/Icon/CameraIcon.js.map +1 -1
- package/src/Icon/CheckIcon.js +6 -24
- package/src/Icon/CheckIcon.js.map +1 -1
- package/src/Icon/CheckRoundIcon.js +6 -24
- package/src/Icon/CheckRoundIcon.js.map +1 -1
- package/src/Icon/ChevronIcon.js +38 -31
- package/src/Icon/ChevronIcon.js.map +1 -1
- package/src/Icon/CloseIcon.js +6 -24
- package/src/Icon/CloseIcon.js.map +1 -1
- package/src/Icon/CopyIcon.js +6 -24
- package/src/Icon/CopyIcon.js.map +1 -1
- package/src/Icon/DeviceIcon.js +6 -24
- package/src/Icon/DeviceIcon.js.map +1 -1
- package/src/Icon/DownloadIcon.js +6 -24
- package/src/Icon/DownloadIcon.js.map +1 -1
- package/src/Icon/EditDocumentIcon.js +19 -25
- package/src/Icon/EditDocumentIcon.js.map +1 -1
- package/src/Icon/EditIcon.js +6 -24
- package/src/Icon/EditIcon.js.map +1 -1
- package/src/Icon/EnterIcon.js +6 -24
- package/src/Icon/EnterIcon.js.map +1 -1
- package/src/Icon/ErrorIcon.js +9 -39
- package/src/Icon/ErrorIcon.js.map +1 -1
- package/src/Icon/FileIcon.js +6 -24
- package/src/Icon/FileIcon.js.map +1 -1
- package/src/Icon/GifIcon.js +6 -24
- package/src/Icon/GifIcon.js.map +1 -1
- package/src/Icon/GridIcon.js +19 -24
- package/src/Icon/GridIcon.js.map +1 -1
- package/src/Icon/GroupIcon.js +6 -24
- package/src/Icon/GroupIcon.js.map +1 -1
- package/src/Icon/HangupIcon.js +6 -24
- package/src/Icon/HangupIcon.js.map +1 -1
- package/src/Icon/HideIcon.js +6 -24
- package/src/Icon/HideIcon.js.map +1 -1
- package/src/Icon/ImageIcon.js +6 -24
- package/src/Icon/ImageIcon.js.map +1 -1
- package/src/Icon/InfoIcon.js +6 -24
- package/src/Icon/InfoIcon.js.map +1 -1
- package/src/Icon/InviteIcon.js +6 -24
- package/src/Icon/InviteIcon.js.map +1 -1
- package/src/Icon/LeaveIcon.js +6 -24
- package/src/Icon/LeaveIcon.js.map +1 -1
- package/src/Icon/LinkIcon.js +19 -24
- package/src/Icon/LinkIcon.js.map +1 -1
- package/src/Icon/ListIcon.js +6 -24
- package/src/Icon/ListIcon.js.map +1 -1
- package/src/Icon/LockIcon.js +6 -25
- package/src/Icon/LockIcon.js.map +1 -1
- package/src/Icon/MessageIcon.js +6 -24
- package/src/Icon/MessageIcon.js.map +1 -1
- package/src/Icon/MinusIcon.js +6 -24
- package/src/Icon/MinusIcon.js.map +1 -1
- package/src/Icon/MoreIcon.js +6 -24
- package/src/Icon/MoreIcon.js.map +1 -1
- package/src/Icon/MuteIcon.js +6 -24
- package/src/Icon/MuteIcon.js.map +1 -1
- package/src/Icon/NotificationIcon.js +6 -24
- package/src/Icon/NotificationIcon.js.map +1 -1
- package/src/Icon/NotificationOffIcon.js +6 -24
- package/src/Icon/NotificationOffIcon.js.map +1 -1
- package/src/Icon/OptionsIcon.js +6 -24
- package/src/Icon/OptionsIcon.js.map +1 -1
- package/src/Icon/PeopleIcon.js +19 -24
- package/src/Icon/PeopleIcon.js.map +1 -1
- package/src/Icon/PingIcon.js +6 -24
- package/src/Icon/PingIcon.js.map +1 -1
- package/src/Icon/PlaneIcon.js +6 -24
- package/src/Icon/PlaneIcon.js.map +1 -1
- package/src/Icon/PlusIcon.js +6 -24
- package/src/Icon/PlusIcon.js.map +1 -1
- package/src/Icon/ProfileIcon.js +6 -24
- package/src/Icon/ProfileIcon.js.map +1 -1
- package/src/Icon/RecordBoldIcon.js +43 -50
- package/src/Icon/RecordBoldIcon.js.map +1 -1
- package/src/Icon/RecordIcon.js +8 -34
- package/src/Icon/RecordIcon.js.map +1 -1
- package/src/Icon/RecordPendingIcon.js +8 -31
- package/src/Icon/RecordPendingIcon.js.map +1 -1
- package/src/Icon/ReloadIcon.js +6 -24
- package/src/Icon/ReloadIcon.js.map +1 -1
- package/src/Icon/SVGIcon.js +53 -78
- package/src/Icon/SVGIcon.js.map +1 -1
- package/src/Icon/ScreenshareIcon.js +6 -24
- package/src/Icon/ScreenshareIcon.js.map +1 -1
- package/src/Icon/SearchIcon.js +6 -25
- package/src/Icon/SearchIcon.js.map +1 -1
- package/src/Icon/ServicesIcon.js +6 -24
- package/src/Icon/ServicesIcon.js.map +1 -1
- package/src/Icon/SettingsIcon.js +6 -24
- package/src/Icon/SettingsIcon.js.map +1 -1
- package/src/Icon/ShowIcon.js +6 -24
- package/src/Icon/ShowIcon.js.map +1 -1
- package/src/Icon/SignIcon.js +6 -24
- package/src/Icon/SignIcon.js.map +1 -1
- package/src/Icon/SpeakerIcon.js +6 -24
- package/src/Icon/SpeakerIcon.js.map +1 -1
- package/src/Icon/SupportIcon.js +6 -24
- package/src/Icon/SupportIcon.js.map +1 -1
- package/src/Icon/TeamIcon.js +6 -24
- package/src/Icon/TeamIcon.js.map +1 -1
- package/src/Icon/TimedIcon.js +6 -24
- package/src/Icon/TimedIcon.js.map +1 -1
- package/src/Icon/TrashCrossIcon.js +6 -24
- package/src/Icon/TrashCrossIcon.js.map +1 -1
- package/src/Icon/TrashIcon.js +6 -24
- package/src/Icon/TrashIcon.js.map +1 -1
- package/src/Icon/TriangleIcon.d.ts +1 -1
- package/src/Icon/TriangleIcon.js +42 -35
- package/src/Icon/TriangleIcon.js.map +1 -1
- package/src/Icon/UploadIcon.js +6 -24
- package/src/Icon/UploadIcon.js.map +1 -1
- package/src/Icon/WireIcon.js +6 -24
- package/src/Icon/WireIcon.js.map +1 -1
- package/src/Icon/index.js +107 -953
- package/src/Icon/index.js.map +1 -1
- package/src/Identity/Animation.js +88 -211
- package/src/Identity/Animation.js.map +1 -1
- package/src/Identity/Avatar.js +66 -114
- package/src/Identity/Avatar.js.map +1 -1
- package/src/Identity/AvatarGrid.d.ts +1 -1
- package/src/Identity/AvatarGrid.js +66 -108
- package/src/Identity/AvatarGrid.js.map +1 -1
- package/src/Identity/Logo.js +45 -54
- package/src/Identity/Logo.js.map +1 -1
- package/src/Identity/colors-v2.js +163 -186
- package/src/Identity/colors-v2.js.map +1 -1
- package/src/Identity/colors.js +64 -80
- package/src/Identity/colors.js.map +1 -1
- package/src/Identity/index.js +38 -81
- package/src/Identity/index.js.map +1 -1
- package/src/Identity/motions.js +71 -35
- package/src/Identity/motions.js.map +1 -1
- package/src/Layout/Box.d.ts +1 -1
- package/src/Layout/Box.js +9 -31
- package/src/Layout/Box.js.map +1 -1
- package/src/Layout/Column.d.ts +1 -1
- package/src/Layout/Column.js +17 -57
- package/src/Layout/Column.js.map +1 -1
- package/src/Layout/Container.d.ts +5 -5
- package/src/Layout/Container.js +29 -102
- package/src/Layout/Container.js.map +1 -1
- package/src/Layout/Content.d.ts +1 -1
- package/src/Layout/Content.js +8 -31
- package/src/Layout/Content.js.map +1 -1
- package/src/Layout/FlexBox.d.ts +1 -1
- package/src/Layout/FlexBox.js +10 -45
- package/src/Layout/FlexBox.js.map +1 -1
- package/src/Layout/Footer.d.ts +1 -4
- package/src/Layout/Footer.js +4 -17
- package/src/Layout/Footer.js.map +1 -1
- package/src/Layout/Header.d.ts +1 -1
- package/src/Layout/Header.js +7 -28
- package/src/Layout/Header.js.map +1 -1
- package/src/Layout/MatchMedia.js +27 -112
- package/src/Layout/MatchMedia.js.map +1 -1
- package/src/Layout/Spacer.js +6 -26
- package/src/Layout/Spacer.js.map +1 -1
- package/src/Layout/StyledApp.js +45 -53
- package/src/Layout/StyledApp.js.map +1 -1
- package/src/Layout/Theme.js +217 -225
- package/src/Layout/Theme.js.map +1 -1
- package/src/Layout/headerMenu/HeaderMenu.js +54 -117
- package/src/Layout/headerMenu/HeaderMenu.js.map +1 -1
- package/src/Layout/headerMenu/HeaderSubMenu.d.ts +1 -1
- package/src/Layout/headerMenu/HeaderSubMenu.js +74 -131
- package/src/Layout/headerMenu/HeaderSubMenu.js.map +1 -1
- package/src/Layout/headerMenu/MenuContent.d.ts +1 -1
- package/src/Layout/headerMenu/MenuContent.js +26 -47
- package/src/Layout/headerMenu/MenuContent.js.map +1 -1
- package/src/Layout/headerMenu/MenuItems.d.ts +1 -1
- package/src/Layout/headerMenu/MenuItems.js +22 -52
- package/src/Layout/headerMenu/MenuItems.js.map +1 -1
- package/src/Layout/headerMenu/MenuLink.d.ts +1 -1
- package/src/Layout/headerMenu/MenuLink.js +65 -89
- package/src/Layout/headerMenu/MenuLink.js.map +1 -1
- package/src/Layout/headerMenu/MenuOpenButton.d.ts +1 -1
- package/src/Layout/headerMenu/MenuOpenButton.js +26 -54
- package/src/Layout/headerMenu/MenuOpenButton.js.map +1 -1
- package/src/Layout/headerMenu/MenuScrollableItems.js +13 -36
- package/src/Layout/headerMenu/MenuScrollableItems.js.map +1 -1
- package/src/Layout/headerMenu/MenuSubLink.d.ts +1 -1
- package/src/Layout/headerMenu/MenuSubLink.js +45 -64
- package/src/Layout/headerMenu/MenuSubLink.js.map +1 -1
- package/src/Layout/headerMenu/index.js +41 -108
- package/src/Layout/headerMenu/index.js.map +1 -1
- package/src/Layout/index.js +46 -173
- package/src/Layout/index.js.map +1 -1
- package/src/Layout/sizes.js +14 -21
- package/src/Layout/sizes.js.map +1 -1
- package/src/Menu/MenuModal.js +78 -123
- package/src/Menu/MenuModal.js.map +1 -1
- package/src/Menu/TabBar.d.ts +1 -1
- package/src/Menu/TabBar.js +50 -96
- package/src/Menu/TabBar.js.map +1 -1
- package/src/Menu/index.js +34 -29
- package/src/Menu/index.js.map +1 -1
- package/src/Misc/ButtonGroup.js +67 -97
- package/src/Misc/ButtonGroup.js.map +1 -1
- package/src/Misc/IconButton.d.ts +1 -1
- package/src/Misc/IconButton.js +72 -102
- package/src/Misc/IconButton.js.map +1 -1
- package/src/Misc/IsInViewport.js +57 -63
- package/src/Misc/IsInViewport.js.map +1 -1
- package/src/Misc/Loading.d.ts +1 -1
- package/src/Misc/Loading.js +58 -66
- package/src/Misc/Loading.js.map +1 -1
- package/src/Misc/Pagination.js +64 -149
- package/src/Misc/Pagination.js.map +1 -1
- package/src/Misc/Pill.d.ts +1 -1
- package/src/Misc/Pill.js +66 -80
- package/src/Misc/Pill.js.map +1 -1
- package/src/Misc/childrenWithDefaultProps.d.ts +1 -1
- package/src/Misc/childrenWithDefaultProps.js +28 -28
- package/src/Misc/childrenWithDefaultProps.js.map +1 -1
- package/src/Misc/index.js +42 -121
- package/src/Misc/index.js.map +1 -1
- package/src/Misc/useLongTouch.js +23 -38
- package/src/Misc/useLongTouch.js.map +1 -1
- package/src/Misc/useTimeout.js +24 -44
- package/src/Misc/useTimeout.js.map +1 -1
- package/src/Modal/Modal.js +95 -177
- package/src/Modal/Modal.js.map +1 -1
- package/src/Modal/Overlay.d.ts +2 -2
- package/src/Modal/Overlay.js +68 -92
- package/src/Modal/Overlay.js.map +1 -1
- package/src/Modal/index.js +36 -28
- package/src/Modal/index.js.map +1 -1
- package/src/Text/Heading.d.ts +1 -1
- package/src/Text/Heading.js +71 -188
- package/src/Text/Heading.js.map +1 -1
- package/src/Text/Label.js +45 -74
- package/src/Text/Label.js.map +1 -1
- package/src/Text/Line.js +11 -36
- package/src/Text/Line.js.map +1 -1
- package/src/Text/Link.js +60 -88
- package/src/Text/Link.js.map +1 -1
- package/src/Text/Paragraph.d.ts +1 -1
- package/src/Text/Paragraph.js +44 -75
- package/src/Text/Paragraph.js.map +1 -1
- package/src/Text/Text.d.ts +8 -8
- package/src/Text/Text.js +29 -107
- package/src/Text/Text.js.map +1 -1
- package/src/Text/TextLink.d.ts +1 -1
- package/src/Text/TextLink.js +38 -52
- package/src/Text/TextLink.js.map +1 -1
- package/src/Text/Title.js +38 -55
- package/src/Text/Title.js.map +1 -1
- package/src/Text/index.js +41 -108
- package/src/Text/index.js.map +1 -1
- package/src/index.js +42 -121
- package/src/index.js.map +1 -1
- package/src/mediaQueries.js +40 -41
- package/src/mediaQueries.js.map +1 -1
- package/src/util.js +8 -39
- package/src/util.js.map +1 -1
- package/CHANGELOG.md +0 -5471
package/src/index.js
CHANGED
|
@@ -1,123 +1,44 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
Object.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
var _Layout = require("./Layout");
|
|
47
|
-
|
|
48
|
-
Object.keys(_Layout).forEach(function (key) {
|
|
49
|
-
if (key === "default" || key === "__esModule") return;
|
|
50
|
-
if (key in exports && exports[key] === _Layout[key]) return;
|
|
51
|
-
Object.defineProperty(exports, key, {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
get: function get() {
|
|
54
|
-
return _Layout[key];
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
var _Menu = require("./Menu");
|
|
60
|
-
|
|
61
|
-
Object.keys(_Menu).forEach(function (key) {
|
|
62
|
-
if (key === "default" || key === "__esModule") return;
|
|
63
|
-
if (key in exports && exports[key] === _Menu[key]) return;
|
|
64
|
-
Object.defineProperty(exports, key, {
|
|
65
|
-
enumerable: true,
|
|
66
|
-
get: function get() {
|
|
67
|
-
return _Menu[key];
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
var _Misc = require("./Misc");
|
|
73
|
-
|
|
74
|
-
Object.keys(_Misc).forEach(function (key) {
|
|
75
|
-
if (key === "default" || key === "__esModule") return;
|
|
76
|
-
if (key in exports && exports[key] === _Misc[key]) return;
|
|
77
|
-
Object.defineProperty(exports, key, {
|
|
78
|
-
enumerable: true,
|
|
79
|
-
get: function get() {
|
|
80
|
-
return _Misc[key];
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
});
|
|
84
|
-
|
|
85
|
-
var _Modal = require("./Modal");
|
|
86
|
-
|
|
87
|
-
Object.keys(_Modal).forEach(function (key) {
|
|
88
|
-
if (key === "default" || key === "__esModule") return;
|
|
89
|
-
if (key in exports && exports[key] === _Modal[key]) return;
|
|
90
|
-
Object.defineProperty(exports, key, {
|
|
91
|
-
enumerable: true,
|
|
92
|
-
get: function get() {
|
|
93
|
-
return _Modal[key];
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
});
|
|
97
|
-
|
|
98
|
-
var _Text = require("./Text");
|
|
99
|
-
|
|
100
|
-
Object.keys(_Text).forEach(function (key) {
|
|
101
|
-
if (key === "default" || key === "__esModule") return;
|
|
102
|
-
if (key in exports && exports[key] === _Text[key]) return;
|
|
103
|
-
Object.defineProperty(exports, key, {
|
|
104
|
-
enumerable: true,
|
|
105
|
-
get: function get() {
|
|
106
|
-
return _Text[key];
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
});
|
|
110
|
-
|
|
111
|
-
var _mediaQueries = require("./mediaQueries");
|
|
112
|
-
|
|
113
|
-
Object.keys(_mediaQueries).forEach(function (key) {
|
|
114
|
-
if (key === "default" || key === "__esModule") return;
|
|
115
|
-
if (key in exports && exports[key] === _mediaQueries[key]) return;
|
|
116
|
-
Object.defineProperty(exports, key, {
|
|
117
|
-
enumerable: true,
|
|
118
|
-
get: function get() {
|
|
119
|
-
return _mediaQueries[key];
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
});
|
|
2
|
+
/*
|
|
3
|
+
* Wire
|
|
4
|
+
* Copyright (C) 2018 Wire Swiss GmbH
|
|
5
|
+
*
|
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
|
7
|
+
* it under the terms of the GNU General Public License as published by
|
|
8
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
* (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* This program is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
* GNU General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU General Public License
|
|
17
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
27
|
+
}) : (function(o, m, k, k2) {
|
|
28
|
+
if (k2 === undefined) k2 = k;
|
|
29
|
+
o[k2] = m[k];
|
|
30
|
+
}));
|
|
31
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
32
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
__exportStar(require("./Form"), exports);
|
|
36
|
+
__exportStar(require("./Icon"), exports);
|
|
37
|
+
__exportStar(require("./Identity"), exports);
|
|
38
|
+
__exportStar(require("./Layout"), exports);
|
|
39
|
+
__exportStar(require("./Menu"), exports);
|
|
40
|
+
__exportStar(require("./Misc"), exports);
|
|
41
|
+
__exportStar(require("./Modal"), exports);
|
|
42
|
+
__exportStar(require("./Text"), exports);
|
|
43
|
+
__exportStar(require("./mediaQueries"), exports);
|
|
123
44
|
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,yCAAuB;AACvB,yCAAuB;AACvB,6CAA2B;AAC3B,2CAAyB;AACzB,yCAAuB;AACvB,yCAAuB;AACvB,0CAAwB;AACxB,yCAAuB;AACvB,iDAA+B"}
|
package/src/mediaQueries.js
CHANGED
|
@@ -1,46 +1,45 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
/*
|
|
3
|
+
* Wire
|
|
4
|
+
* Copyright (C) 2018 Wire Swiss GmbH
|
|
5
|
+
*
|
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
|
7
|
+
* it under the terms of the GNU General Public License as published by
|
|
8
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
* (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* This program is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
* GNU General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU General Public License
|
|
17
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
21
|
exports.media = exports.QUERY = exports.QueryKeys = void 0;
|
|
9
|
-
|
|
10
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
11
|
-
|
|
12
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
13
|
-
|
|
14
|
-
var _sizes = require("./Layout/sizes");
|
|
15
|
-
|
|
16
|
-
var _QUERY;
|
|
17
|
-
|
|
18
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
19
|
-
|
|
20
|
-
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; }
|
|
21
|
-
|
|
22
|
+
const sizes_1 = require("./Layout/sizes");
|
|
22
23
|
var QueryKeys;
|
|
23
|
-
exports.QueryKeys = QueryKeys;
|
|
24
|
-
|
|
25
24
|
(function (QueryKeys) {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
})(QueryKeys
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
exports.media = media;
|
|
25
|
+
QueryKeys["DESKTOP"] = "desktop";
|
|
26
|
+
QueryKeys["DESKTOP_XL"] = "desktopXL";
|
|
27
|
+
QueryKeys["MOBILE"] = "mobile";
|
|
28
|
+
QueryKeys["MOBILE_DOWN"] = "mobileDown";
|
|
29
|
+
QueryKeys["MOBILE_UP"] = "mobileUp";
|
|
30
|
+
QueryKeys["TABLET"] = "tablet";
|
|
31
|
+
QueryKeys["TABLET_DOWN"] = "tabletDown";
|
|
32
|
+
QueryKeys["TABLET_UP"] = "tabletUp";
|
|
33
|
+
})(QueryKeys = exports.QueryKeys || (exports.QueryKeys = {}));
|
|
34
|
+
exports.QUERY = {
|
|
35
|
+
[QueryKeys.DESKTOP]: `min-width: ${sizes_1.WIDTH.DESKTOP_MIN}px`,
|
|
36
|
+
[QueryKeys.DESKTOP_XL]: `min-width: ${sizes_1.WIDTH.DESKTOP_XL_MIN}px`,
|
|
37
|
+
[QueryKeys.MOBILE]: `max-width: ${sizes_1.WIDTH.MOBILE_MAX}px`,
|
|
38
|
+
[QueryKeys.MOBILE_DOWN]: `max-width: ${sizes_1.WIDTH.MOBILE_MAX}px`,
|
|
39
|
+
[QueryKeys.MOBILE_UP]: `min-width: ${sizes_1.WIDTH.MOBILE}px`,
|
|
40
|
+
[QueryKeys.TABLET]: `min-width: ${sizes_1.WIDTH.TABLET_MIN}px) and (max-width: ${sizes_1.WIDTH.TABLET_MAX}px`,
|
|
41
|
+
[QueryKeys.TABLET_DOWN]: `max-width: ${sizes_1.WIDTH.TABLET_MAX}px`,
|
|
42
|
+
[QueryKeys.TABLET_UP]: `min-width: ${sizes_1.WIDTH.TABLET_MIN}px`,
|
|
43
|
+
};
|
|
44
|
+
exports.media = Object.entries(exports.QUERY).reduce((accumulator, [key, value]) => (Object.assign(Object.assign({}, accumulator), { [key]: `@media (${value})` })), {});
|
|
46
45
|
//# sourceMappingURL=mediaQueries.js.map
|
package/src/mediaQueries.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"mediaQueries.js","sourceRoot":"","sources":["mediaQueries.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,0CAAqC;AAErC,IAAY,SASX;AATD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,qCAAwB,CAAA;IACxB,8BAAiB,CAAA;IACjB,uCAA0B,CAAA;IAC1B,mCAAsB,CAAA;IACtB,8BAAiB,CAAA;IACjB,uCAA0B,CAAA;IAC1B,mCAAsB,CAAA;AACxB,CAAC,EATW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QASpB;AAIY,QAAA,KAAK,GAAa;IAC7B,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,cAAc,aAAK,CAAC,WAAW,IAAI;IACxD,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,cAAc,aAAK,CAAC,cAAc,IAAI;IAC9D,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,cAAc,aAAK,CAAC,UAAU,IAAI;IACtD,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,cAAc,aAAK,CAAC,UAAU,IAAI;IAC3D,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,cAAc,aAAK,CAAC,MAAM,IAAI;IACrD,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,cAAc,aAAK,CAAC,UAAU,uBAAuB,aAAK,CAAC,UAAU,IAAI;IAC7F,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,cAAc,aAAK,CAAC,UAAU,IAAI;IAC3D,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,cAAc,aAAK,CAAC,UAAU,IAAI;CAC1D,CAAC;AAEW,QAAA,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,aAAK,CAAC,CAAC,MAAM,CAC/C,CAAC,WAAW,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,iCAAK,WAAW,KAAE,CAAC,GAAG,CAAC,EAAE,WAAW,KAAK,GAAG,IAAE,EAC7E,EAAE,CACH,CAAC"}
|
package/src/util.js
CHANGED
|
@@ -1,20 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.manySelectors = exports.filterProps = exports.inlineSVG = exports.noop = void 0;
|
|
9
|
-
|
|
10
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
|
-
|
|
12
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
13
|
-
|
|
14
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
15
|
-
|
|
16
|
-
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; }
|
|
17
|
-
|
|
18
2
|
/*
|
|
19
3
|
* Wire
|
|
20
4
|
* Copyright (C) 2019 Wire Swiss GmbH
|
|
@@ -33,34 +17,19 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
33
17
|
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
34
18
|
*
|
|
35
19
|
*/
|
|
36
|
-
|
|
37
|
-
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.manySelectors = exports.filterProps = exports.inlineSVG = exports.noop = void 0;
|
|
22
|
+
const noop = () => { };
|
|
38
23
|
exports.noop = noop;
|
|
39
|
-
|
|
40
|
-
var inlineSVG = function inlineSVG(svg) {
|
|
41
|
-
return "data:image/svg+xml;utf8,".concat(encodeURIComponent(svg));
|
|
42
|
-
};
|
|
43
|
-
|
|
24
|
+
const inlineSVG = (svg) => `data:image/svg+xml;utf8,${encodeURIComponent(svg)}`;
|
|
44
25
|
exports.inlineSVG = inlineSVG;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
return Object.entries(props).reduce(function (accumulator, _ref) {
|
|
48
|
-
var _ref2 = (0, _slicedToArray2["default"])(_ref, 2),
|
|
49
|
-
key = _ref2[0],
|
|
50
|
-
value = _ref2[1];
|
|
51
|
-
|
|
52
|
-
return !propsToFilter.includes(key) ? _objectSpread(_objectSpread({}, accumulator), {}, (0, _defineProperty2["default"])({}, key, value)) : accumulator;
|
|
53
|
-
}, {});
|
|
26
|
+
const filterProps = (props, propsToFilter) => {
|
|
27
|
+
return Object.entries(props).reduce((accumulator, [key, value]) => (!propsToFilter.includes(key) ? Object.assign(Object.assign({}, accumulator), { [key]: value }) : accumulator), {});
|
|
54
28
|
};
|
|
55
|
-
|
|
56
29
|
exports.filterProps = filterProps;
|
|
57
|
-
|
|
58
|
-
var manySelectors = function manySelectors(selectors, css) {
|
|
59
|
-
return selectors.reduce(function (acc, selector) {
|
|
30
|
+
const manySelectors = (selectors, css) => selectors.reduce((acc, selector) => {
|
|
60
31
|
acc[selector] = css;
|
|
61
32
|
return acc;
|
|
62
|
-
|
|
63
|
-
};
|
|
64
|
-
|
|
33
|
+
}, {});
|
|
65
34
|
exports.manySelectors = manySelectors;
|
|
66
35
|
//# sourceMappingURL=util.js.map
|
package/src/util.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"util.js","sourceRoot":"","sources":["util.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAII,MAAM,IAAI,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AAAhB,QAAA,IAAI,QAAY;AAEtB,MAAM,SAAS,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,2BAA2B,kBAAkB,CAAC,GAAG,CAAC,EAAE,CAAC;AAAlF,QAAA,SAAS,aAAyE;AAExF,MAAM,WAAW,GAAoF,CAC1G,KAAK,EACL,aAAa,EACb,EAAE;IACF,OAAO,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,CACjC,CAAC,WAAW,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,iCAAK,WAAW,KAAE,CAAC,GAAG,CAAC,EAAE,KAAK,IAAE,CAAC,CAAC,WAAW,CAAC,EAC5G,EAAE,CACH,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,WAAW,eAQtB;AAEK,MAAM,aAAa,GAAG,CAAC,SAAmB,EAAE,GAAc,EAAE,EAAE,CACnE,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE;IACjC,GAAG,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC;IACpB,OAAO,GAAG,CAAC;AACb,CAAC,EAAE,EAAE,CAAC,CAAC;AAJI,QAAA,aAAa,iBAIjB"}
|