@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.
Files changed (355) hide show
  1. package/package.json +7 -6
  2. package/src/Form/Button.d.ts +1 -1
  3. package/src/Form/Button.js +125 -210
  4. package/src/Form/Button.js.map +1 -1
  5. package/src/Form/ButtonLink.d.ts +1 -1
  6. package/src/Form/ButtonLink.js +47 -60
  7. package/src/Form/ButtonLink.js.map +1 -1
  8. package/src/Form/Checkbox.js +84 -139
  9. package/src/Form/Checkbox.js.map +1 -1
  10. package/src/Form/CodeInput.js +98 -201
  11. package/src/Form/CodeInput.js.map +1 -1
  12. package/src/Form/DropFileInput.d.ts +2 -2
  13. package/src/Form/DropFileInput.js +116 -214
  14. package/src/Form/DropFileInput.js.map +1 -1
  15. package/src/Form/ErrorMessage.js +45 -78
  16. package/src/Form/ErrorMessage.js.map +1 -1
  17. package/src/Form/Form.d.ts +0 -1
  18. package/src/Form/Form.js +28 -31
  19. package/src/Form/Form.js.map +1 -1
  20. package/src/Form/Input.d.ts +3 -3
  21. package/src/Form/Input.js +101 -178
  22. package/src/Form/Input.js.map +1 -1
  23. package/src/Form/InputBlock.d.ts +1 -1
  24. package/src/Form/InputBlock.js +19 -45
  25. package/src/Form/InputBlock.js.map +1 -1
  26. package/src/Form/InputLabel.js +44 -46
  27. package/src/Form/InputLabel.js.map +1 -1
  28. package/src/Form/InputSubmitCombo.js +49 -53
  29. package/src/Form/InputSubmitCombo.js.map +1 -1
  30. package/src/Form/RangeInput.js +47 -71
  31. package/src/Form/RangeInput.js.map +1 -1
  32. package/src/Form/RangeInput.styles.js +39 -55
  33. package/src/Form/RangeInput.styles.js.map +1 -1
  34. package/src/Form/RoundIconButton.d.ts +1 -1
  35. package/src/Form/RoundIconButton.js +42 -62
  36. package/src/Form/RoundIconButton.js.map +1 -1
  37. package/src/Form/Select.js +55 -95
  38. package/src/Form/Select.js.map +1 -1
  39. package/src/Form/SelectComponents.js +101 -173
  40. package/src/Form/SelectComponents.js.map +1 -1
  41. package/src/Form/SelectStyles.d.ts +1 -899
  42. package/src/Form/SelectStyles.js +96 -156
  43. package/src/Form/SelectStyles.js.map +1 -1
  44. package/src/Form/ShakeBox.d.ts +1 -1
  45. package/src/Form/ShakeBox.js +33 -81
  46. package/src/Form/ShakeBox.js.map +1 -1
  47. package/src/Form/Switch.d.ts +1 -1
  48. package/src/Form/Switch.js +89 -124
  49. package/src/Form/Switch.js.map +1 -1
  50. package/src/Form/TextArea.d.ts +3 -3
  51. package/src/Form/TextArea.js +59 -80
  52. package/src/Form/TextArea.js.map +1 -1
  53. package/src/Form/Tooltip.js +66 -75
  54. package/src/Form/Tooltip.js.map +1 -1
  55. package/src/Form/index.js +52 -238
  56. package/src/Form/index.js.map +1 -1
  57. package/src/GlobalCssVariables.js +79 -96
  58. package/src/GlobalCssVariables.js.map +1 -1
  59. package/src/GlobalStyle.d.ts +2 -3
  60. package/src/GlobalStyle.js +40 -55
  61. package/src/GlobalStyle.js.map +1 -1
  62. package/src/Icon/AddPeopleIcon.js +19 -24
  63. package/src/Icon/AddPeopleIcon.js.map +1 -1
  64. package/src/Icon/ArchiveIcon.js +6 -24
  65. package/src/Icon/ArchiveIcon.js.map +1 -1
  66. package/src/Icon/ArrowDown.js +19 -23
  67. package/src/Icon/ArrowDown.js.map +1 -1
  68. package/src/Icon/ArrowIcon.js +42 -35
  69. package/src/Icon/ArrowIcon.js.map +1 -1
  70. package/src/Icon/AttachmentIcon.js +6 -24
  71. package/src/Icon/AttachmentIcon.js.map +1 -1
  72. package/src/Icon/AudioVideoIcon.js +6 -24
  73. package/src/Icon/AudioVideoIcon.js.map +1 -1
  74. package/src/Icon/BlockIcon.js +6 -24
  75. package/src/Icon/BlockIcon.js.map +1 -1
  76. package/src/Icon/Brand/AndroidIcon.js +6 -25
  77. package/src/Icon/Brand/AndroidIcon.js.map +1 -1
  78. package/src/Icon/Brand/AppleIcon.js +6 -25
  79. package/src/Icon/Brand/AppleIcon.js.map +1 -1
  80. package/src/Icon/Brand/ChromeIcon.js +6 -25
  81. package/src/Icon/Brand/ChromeIcon.js.map +1 -1
  82. package/src/Icon/Brand/FacebookIcon.js +6 -24
  83. package/src/Icon/Brand/FacebookIcon.js.map +1 -1
  84. package/src/Icon/Brand/GitHubIcon.js +6 -24
  85. package/src/Icon/Brand/GitHubIcon.js.map +1 -1
  86. package/src/Icon/Brand/LinkedInIcon.js +6 -24
  87. package/src/Icon/Brand/LinkedInIcon.js.map +1 -1
  88. package/src/Icon/Brand/LinuxIcon.js +6 -25
  89. package/src/Icon/Brand/LinuxIcon.js.map +1 -1
  90. package/src/Icon/Brand/MicrosoftIcon.js +6 -25
  91. package/src/Icon/Brand/MicrosoftIcon.js.map +1 -1
  92. package/src/Icon/Brand/TwitterIcon.js +6 -24
  93. package/src/Icon/Brand/TwitterIcon.js.map +1 -1
  94. package/src/Icon/CallIcon.js +6 -24
  95. package/src/Icon/CallIcon.js.map +1 -1
  96. package/src/Icon/CamIcon.js +6 -24
  97. package/src/Icon/CamIcon.js.map +1 -1
  98. package/src/Icon/CameraIcon.js +19 -24
  99. package/src/Icon/CameraIcon.js.map +1 -1
  100. package/src/Icon/CheckIcon.js +6 -24
  101. package/src/Icon/CheckIcon.js.map +1 -1
  102. package/src/Icon/CheckRoundIcon.js +6 -24
  103. package/src/Icon/CheckRoundIcon.js.map +1 -1
  104. package/src/Icon/ChevronIcon.js +38 -31
  105. package/src/Icon/ChevronIcon.js.map +1 -1
  106. package/src/Icon/CloseIcon.js +6 -24
  107. package/src/Icon/CloseIcon.js.map +1 -1
  108. package/src/Icon/CopyIcon.js +6 -24
  109. package/src/Icon/CopyIcon.js.map +1 -1
  110. package/src/Icon/DeviceIcon.js +6 -24
  111. package/src/Icon/DeviceIcon.js.map +1 -1
  112. package/src/Icon/DownloadIcon.js +6 -24
  113. package/src/Icon/DownloadIcon.js.map +1 -1
  114. package/src/Icon/EditDocumentIcon.js +19 -25
  115. package/src/Icon/EditDocumentIcon.js.map +1 -1
  116. package/src/Icon/EditIcon.js +6 -24
  117. package/src/Icon/EditIcon.js.map +1 -1
  118. package/src/Icon/EnterIcon.js +6 -24
  119. package/src/Icon/EnterIcon.js.map +1 -1
  120. package/src/Icon/ErrorIcon.js +9 -39
  121. package/src/Icon/ErrorIcon.js.map +1 -1
  122. package/src/Icon/FileIcon.js +6 -24
  123. package/src/Icon/FileIcon.js.map +1 -1
  124. package/src/Icon/GifIcon.js +6 -24
  125. package/src/Icon/GifIcon.js.map +1 -1
  126. package/src/Icon/GridIcon.js +19 -24
  127. package/src/Icon/GridIcon.js.map +1 -1
  128. package/src/Icon/GroupIcon.js +6 -24
  129. package/src/Icon/GroupIcon.js.map +1 -1
  130. package/src/Icon/HangupIcon.js +6 -24
  131. package/src/Icon/HangupIcon.js.map +1 -1
  132. package/src/Icon/HideIcon.js +6 -24
  133. package/src/Icon/HideIcon.js.map +1 -1
  134. package/src/Icon/ImageIcon.js +6 -24
  135. package/src/Icon/ImageIcon.js.map +1 -1
  136. package/src/Icon/InfoIcon.js +6 -24
  137. package/src/Icon/InfoIcon.js.map +1 -1
  138. package/src/Icon/InviteIcon.js +6 -24
  139. package/src/Icon/InviteIcon.js.map +1 -1
  140. package/src/Icon/LeaveIcon.js +6 -24
  141. package/src/Icon/LeaveIcon.js.map +1 -1
  142. package/src/Icon/LinkIcon.js +19 -24
  143. package/src/Icon/LinkIcon.js.map +1 -1
  144. package/src/Icon/ListIcon.js +6 -24
  145. package/src/Icon/ListIcon.js.map +1 -1
  146. package/src/Icon/LockIcon.js +6 -25
  147. package/src/Icon/LockIcon.js.map +1 -1
  148. package/src/Icon/MessageIcon.js +6 -24
  149. package/src/Icon/MessageIcon.js.map +1 -1
  150. package/src/Icon/MinusIcon.js +6 -24
  151. package/src/Icon/MinusIcon.js.map +1 -1
  152. package/src/Icon/MoreIcon.js +6 -24
  153. package/src/Icon/MoreIcon.js.map +1 -1
  154. package/src/Icon/MuteIcon.js +6 -24
  155. package/src/Icon/MuteIcon.js.map +1 -1
  156. package/src/Icon/NotificationIcon.js +6 -24
  157. package/src/Icon/NotificationIcon.js.map +1 -1
  158. package/src/Icon/NotificationOffIcon.js +6 -24
  159. package/src/Icon/NotificationOffIcon.js.map +1 -1
  160. package/src/Icon/OptionsIcon.js +6 -24
  161. package/src/Icon/OptionsIcon.js.map +1 -1
  162. package/src/Icon/PeopleIcon.js +19 -24
  163. package/src/Icon/PeopleIcon.js.map +1 -1
  164. package/src/Icon/PingIcon.js +6 -24
  165. package/src/Icon/PingIcon.js.map +1 -1
  166. package/src/Icon/PlaneIcon.js +6 -24
  167. package/src/Icon/PlaneIcon.js.map +1 -1
  168. package/src/Icon/PlusIcon.js +6 -24
  169. package/src/Icon/PlusIcon.js.map +1 -1
  170. package/src/Icon/ProfileIcon.js +6 -24
  171. package/src/Icon/ProfileIcon.js.map +1 -1
  172. package/src/Icon/RecordBoldIcon.js +43 -50
  173. package/src/Icon/RecordBoldIcon.js.map +1 -1
  174. package/src/Icon/RecordIcon.js +8 -34
  175. package/src/Icon/RecordIcon.js.map +1 -1
  176. package/src/Icon/RecordPendingIcon.js +8 -31
  177. package/src/Icon/RecordPendingIcon.js.map +1 -1
  178. package/src/Icon/ReloadIcon.js +6 -24
  179. package/src/Icon/ReloadIcon.js.map +1 -1
  180. package/src/Icon/SVGIcon.js +53 -78
  181. package/src/Icon/SVGIcon.js.map +1 -1
  182. package/src/Icon/ScreenshareIcon.js +6 -24
  183. package/src/Icon/ScreenshareIcon.js.map +1 -1
  184. package/src/Icon/SearchIcon.js +6 -25
  185. package/src/Icon/SearchIcon.js.map +1 -1
  186. package/src/Icon/ServicesIcon.js +6 -24
  187. package/src/Icon/ServicesIcon.js.map +1 -1
  188. package/src/Icon/SettingsIcon.js +6 -24
  189. package/src/Icon/SettingsIcon.js.map +1 -1
  190. package/src/Icon/ShowIcon.js +6 -24
  191. package/src/Icon/ShowIcon.js.map +1 -1
  192. package/src/Icon/SignIcon.js +6 -24
  193. package/src/Icon/SignIcon.js.map +1 -1
  194. package/src/Icon/SpeakerIcon.js +6 -24
  195. package/src/Icon/SpeakerIcon.js.map +1 -1
  196. package/src/Icon/SupportIcon.js +6 -24
  197. package/src/Icon/SupportIcon.js.map +1 -1
  198. package/src/Icon/TeamIcon.js +6 -24
  199. package/src/Icon/TeamIcon.js.map +1 -1
  200. package/src/Icon/TimedIcon.js +6 -24
  201. package/src/Icon/TimedIcon.js.map +1 -1
  202. package/src/Icon/TrashCrossIcon.js +6 -24
  203. package/src/Icon/TrashCrossIcon.js.map +1 -1
  204. package/src/Icon/TrashIcon.js +6 -24
  205. package/src/Icon/TrashIcon.js.map +1 -1
  206. package/src/Icon/TriangleIcon.d.ts +1 -1
  207. package/src/Icon/TriangleIcon.js +42 -35
  208. package/src/Icon/TriangleIcon.js.map +1 -1
  209. package/src/Icon/UploadIcon.js +6 -24
  210. package/src/Icon/UploadIcon.js.map +1 -1
  211. package/src/Icon/WireIcon.js +6 -24
  212. package/src/Icon/WireIcon.js.map +1 -1
  213. package/src/Icon/index.js +107 -953
  214. package/src/Icon/index.js.map +1 -1
  215. package/src/Identity/Animation.js +88 -211
  216. package/src/Identity/Animation.js.map +1 -1
  217. package/src/Identity/Avatar.js +66 -114
  218. package/src/Identity/Avatar.js.map +1 -1
  219. package/src/Identity/AvatarGrid.d.ts +1 -1
  220. package/src/Identity/AvatarGrid.js +66 -108
  221. package/src/Identity/AvatarGrid.js.map +1 -1
  222. package/src/Identity/Logo.js +45 -54
  223. package/src/Identity/Logo.js.map +1 -1
  224. package/src/Identity/colors-v2.js +163 -186
  225. package/src/Identity/colors-v2.js.map +1 -1
  226. package/src/Identity/colors.js +64 -80
  227. package/src/Identity/colors.js.map +1 -1
  228. package/src/Identity/index.js +38 -81
  229. package/src/Identity/index.js.map +1 -1
  230. package/src/Identity/motions.js +71 -35
  231. package/src/Identity/motions.js.map +1 -1
  232. package/src/Layout/Box.d.ts +1 -1
  233. package/src/Layout/Box.js +9 -31
  234. package/src/Layout/Box.js.map +1 -1
  235. package/src/Layout/Column.d.ts +1 -1
  236. package/src/Layout/Column.js +17 -57
  237. package/src/Layout/Column.js.map +1 -1
  238. package/src/Layout/Container.d.ts +5 -5
  239. package/src/Layout/Container.js +29 -102
  240. package/src/Layout/Container.js.map +1 -1
  241. package/src/Layout/Content.d.ts +1 -1
  242. package/src/Layout/Content.js +8 -31
  243. package/src/Layout/Content.js.map +1 -1
  244. package/src/Layout/FlexBox.d.ts +1 -1
  245. package/src/Layout/FlexBox.js +10 -45
  246. package/src/Layout/FlexBox.js.map +1 -1
  247. package/src/Layout/Footer.d.ts +1 -4
  248. package/src/Layout/Footer.js +4 -17
  249. package/src/Layout/Footer.js.map +1 -1
  250. package/src/Layout/Header.d.ts +1 -1
  251. package/src/Layout/Header.js +7 -28
  252. package/src/Layout/Header.js.map +1 -1
  253. package/src/Layout/MatchMedia.js +27 -112
  254. package/src/Layout/MatchMedia.js.map +1 -1
  255. package/src/Layout/Spacer.js +6 -26
  256. package/src/Layout/Spacer.js.map +1 -1
  257. package/src/Layout/StyledApp.js +45 -53
  258. package/src/Layout/StyledApp.js.map +1 -1
  259. package/src/Layout/Theme.js +217 -225
  260. package/src/Layout/Theme.js.map +1 -1
  261. package/src/Layout/headerMenu/HeaderMenu.js +54 -117
  262. package/src/Layout/headerMenu/HeaderMenu.js.map +1 -1
  263. package/src/Layout/headerMenu/HeaderSubMenu.d.ts +1 -1
  264. package/src/Layout/headerMenu/HeaderSubMenu.js +74 -131
  265. package/src/Layout/headerMenu/HeaderSubMenu.js.map +1 -1
  266. package/src/Layout/headerMenu/MenuContent.d.ts +1 -1
  267. package/src/Layout/headerMenu/MenuContent.js +26 -47
  268. package/src/Layout/headerMenu/MenuContent.js.map +1 -1
  269. package/src/Layout/headerMenu/MenuItems.d.ts +1 -1
  270. package/src/Layout/headerMenu/MenuItems.js +22 -52
  271. package/src/Layout/headerMenu/MenuItems.js.map +1 -1
  272. package/src/Layout/headerMenu/MenuLink.d.ts +1 -1
  273. package/src/Layout/headerMenu/MenuLink.js +65 -89
  274. package/src/Layout/headerMenu/MenuLink.js.map +1 -1
  275. package/src/Layout/headerMenu/MenuOpenButton.d.ts +1 -1
  276. package/src/Layout/headerMenu/MenuOpenButton.js +26 -54
  277. package/src/Layout/headerMenu/MenuOpenButton.js.map +1 -1
  278. package/src/Layout/headerMenu/MenuScrollableItems.js +13 -36
  279. package/src/Layout/headerMenu/MenuScrollableItems.js.map +1 -1
  280. package/src/Layout/headerMenu/MenuSubLink.d.ts +1 -1
  281. package/src/Layout/headerMenu/MenuSubLink.js +45 -64
  282. package/src/Layout/headerMenu/MenuSubLink.js.map +1 -1
  283. package/src/Layout/headerMenu/index.js +41 -108
  284. package/src/Layout/headerMenu/index.js.map +1 -1
  285. package/src/Layout/index.js +46 -173
  286. package/src/Layout/index.js.map +1 -1
  287. package/src/Layout/sizes.js +14 -21
  288. package/src/Layout/sizes.js.map +1 -1
  289. package/src/Menu/MenuModal.js +78 -123
  290. package/src/Menu/MenuModal.js.map +1 -1
  291. package/src/Menu/TabBar.d.ts +1 -1
  292. package/src/Menu/TabBar.js +50 -96
  293. package/src/Menu/TabBar.js.map +1 -1
  294. package/src/Menu/index.js +34 -29
  295. package/src/Menu/index.js.map +1 -1
  296. package/src/Misc/ButtonGroup.js +67 -97
  297. package/src/Misc/ButtonGroup.js.map +1 -1
  298. package/src/Misc/IconButton.d.ts +1 -1
  299. package/src/Misc/IconButton.js +72 -102
  300. package/src/Misc/IconButton.js.map +1 -1
  301. package/src/Misc/IsInViewport.js +57 -63
  302. package/src/Misc/IsInViewport.js.map +1 -1
  303. package/src/Misc/Loading.d.ts +1 -1
  304. package/src/Misc/Loading.js +58 -66
  305. package/src/Misc/Loading.js.map +1 -1
  306. package/src/Misc/Pagination.js +64 -149
  307. package/src/Misc/Pagination.js.map +1 -1
  308. package/src/Misc/Pill.d.ts +1 -1
  309. package/src/Misc/Pill.js +66 -80
  310. package/src/Misc/Pill.js.map +1 -1
  311. package/src/Misc/childrenWithDefaultProps.d.ts +1 -1
  312. package/src/Misc/childrenWithDefaultProps.js +28 -28
  313. package/src/Misc/childrenWithDefaultProps.js.map +1 -1
  314. package/src/Misc/index.js +42 -121
  315. package/src/Misc/index.js.map +1 -1
  316. package/src/Misc/useLongTouch.js +23 -38
  317. package/src/Misc/useLongTouch.js.map +1 -1
  318. package/src/Misc/useTimeout.js +24 -44
  319. package/src/Misc/useTimeout.js.map +1 -1
  320. package/src/Modal/Modal.js +95 -177
  321. package/src/Modal/Modal.js.map +1 -1
  322. package/src/Modal/Overlay.d.ts +2 -2
  323. package/src/Modal/Overlay.js +68 -92
  324. package/src/Modal/Overlay.js.map +1 -1
  325. package/src/Modal/index.js +36 -28
  326. package/src/Modal/index.js.map +1 -1
  327. package/src/Text/Heading.d.ts +1 -1
  328. package/src/Text/Heading.js +71 -188
  329. package/src/Text/Heading.js.map +1 -1
  330. package/src/Text/Label.js +45 -74
  331. package/src/Text/Label.js.map +1 -1
  332. package/src/Text/Line.js +11 -36
  333. package/src/Text/Line.js.map +1 -1
  334. package/src/Text/Link.js +60 -88
  335. package/src/Text/Link.js.map +1 -1
  336. package/src/Text/Paragraph.d.ts +1 -1
  337. package/src/Text/Paragraph.js +44 -75
  338. package/src/Text/Paragraph.js.map +1 -1
  339. package/src/Text/Text.d.ts +8 -8
  340. package/src/Text/Text.js +29 -107
  341. package/src/Text/Text.js.map +1 -1
  342. package/src/Text/TextLink.d.ts +1 -1
  343. package/src/Text/TextLink.js +38 -52
  344. package/src/Text/TextLink.js.map +1 -1
  345. package/src/Text/Title.js +38 -55
  346. package/src/Text/Title.js.map +1 -1
  347. package/src/Text/index.js +41 -108
  348. package/src/Text/index.js.map +1 -1
  349. package/src/index.js +42 -121
  350. package/src/index.js.map +1 -1
  351. package/src/mediaQueries.js +40 -41
  352. package/src/mediaQueries.js.map +1 -1
  353. package/src/util.js +8 -39
  354. package/src/util.js.map +1 -1
  355. package/CHANGELOG.md +0 -5471
@@ -1,69 +1,50 @@
1
1
  "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
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.MenuSubLink = exports.menuSubLinkStyle = void 0;
9
-
10
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
-
12
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
13
-
14
- var _react = require("@emotion/react");
15
-
16
- var _motions = require("../../Identity/motions");
17
-
18
- var _mediaQueries = require("../../mediaQueries");
19
-
20
- var _Text = require("../../Text");
21
-
22
- 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; }
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
-
26
- var menuSubLinkStyle = function menuSubLinkStyle(theme, props) {
27
- var _objectSpread2;
28
-
29
- return _objectSpread(_objectSpread({}, (0, _Text.textStyle)(theme, props)), {}, (_objectSpread2 = {
30
- '&:hover': {
31
- filter: 'brightness(70%)'
32
- },
33
- color: theme.general.color,
34
- cursor: 'pointer',
35
- fontWeight: 600,
36
- textDecoration: 'none',
37
- transition: _motions.defaultTransition
38
- }, (0, _defineProperty2["default"])(_objectSpread2, _mediaQueries.media[_mediaQueries.QueryKeys.DESKTOP], {
39
- '&:first-of-type': {
40
- marginLeft: 0
41
- },
42
- '&:last-child': {
43
- marginRight: 0
44
- },
45
- fontSize: '11px',
46
- margin: '0 26px 0 10px',
47
- textTransform: 'uppercase'
48
- }), (0, _defineProperty2["default"])(_objectSpread2, _mediaQueries.media[_mediaQueries.QueryKeys.TABLET_DOWN], {
49
- border: 'none',
50
- fontSize: '32px !important',
51
- fontWeight: '300 !important',
52
- maxWidth: '480px',
53
- padding: '8px 24px',
54
- textTransform: 'none !important'
55
- }), _objectSpread2));
56
- };
57
-
22
+ /** @jsx jsx */
23
+ const react_1 = require("@emotion/react");
24
+ const motions_1 = require("../../Identity/motions");
25
+ const mediaQueries_1 = require("../../mediaQueries");
26
+ const Text_1 = require("../../Text");
27
+ const menuSubLinkStyle = (theme, props) => (Object.assign(Object.assign({}, (0, Text_1.textStyle)(theme, props)), { '&:hover': {
28
+ filter: 'brightness(70%)',
29
+ }, color: theme.general.color, cursor: 'pointer', fontWeight: 600, textDecoration: 'none', transition: motions_1.defaultTransition, [mediaQueries_1.media[mediaQueries_1.QueryKeys.DESKTOP]]: {
30
+ '&:first-of-type': {
31
+ marginLeft: 0,
32
+ },
33
+ '&:last-child': {
34
+ marginRight: 0,
35
+ },
36
+ fontSize: '11px',
37
+ margin: '0 26px 0 10px',
38
+ textTransform: 'uppercase',
39
+ }, [mediaQueries_1.media[mediaQueries_1.QueryKeys.TABLET_DOWN]]: {
40
+ border: 'none',
41
+ fontSize: '32px !important',
42
+ fontWeight: '300 !important',
43
+ maxWidth: '480px',
44
+ padding: '8px 24px',
45
+ textTransform: 'none !important',
46
+ } }));
58
47
  exports.menuSubLinkStyle = menuSubLinkStyle;
59
-
60
- var MenuSubLink = function MenuSubLink(props) {
61
- return (0, _react.jsx)("div", (0, _extends2["default"])({
62
- css: function css(theme) {
63
- return menuSubLinkStyle(theme, props);
64
- }
65
- }, props));
66
- };
67
-
48
+ const MenuSubLink = (props) => ((0, react_1.jsx)("div", Object.assign({ css: (theme) => (0, exports.menuSubLinkStyle)(theme, props) }, props)));
68
49
  exports.MenuSubLink = MenuSubLink;
69
50
  //# sourceMappingURL=MenuSubLink.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["MenuSubLink.tsx"],"names":["menuSubLinkStyle","theme","props","filter","color","general","cursor","fontWeight","textDecoration","transition","defaultTransition","media","QueryKeys","DESKTOP","marginLeft","marginRight","fontSize","margin","textTransform","TABLET_DOWN","border","maxWidth","padding","MenuSubLink"],"mappings":";;;;;;;;;;;;;AAoBA;;AAEA;;AACA;;AACA;;;;;;AAKO,IAAMA,gBAA4E,GAAG,SAA/EA,gBAA+E,CAACC,KAAD,EAAQC,KAAR;AAAA;;AAAA,yCACvF,qBAAUD,KAAV,EAAiBC,KAAjB,CADuF;AAE1F,eAAW;AACTC,MAAAA,MAAM,EAAE;AADC,KAF+E;AAK1FC,IAAAA,KAAK,EAAEH,KAAK,CAACI,OAAN,CAAcD,KALqE;AAM1FE,IAAAA,MAAM,EAAE,SANkF;AAO1FC,IAAAA,UAAU,EAAE,GAP8E;AAQ1FC,IAAAA,cAAc,EAAE,MAR0E;AAS1FC,IAAAA,UAAU,EAAEC;AAT8E,sDAUzFC,oBAAMC,wBAAUC,OAAhB,CAVyF,EAU9D;AAC1B,uBAAmB;AACjBC,MAAAA,UAAU,EAAE;AADK,KADO;AAI1B,oBAAgB;AACdC,MAAAA,WAAW,EAAE;AADC,KAJU;AAO1BC,IAAAA,QAAQ,EAAE,MAPgB;AAQ1BC,IAAAA,MAAM,EAAE,eARkB;AAS1BC,IAAAA,aAAa,EAAE;AATW,GAV8D,oDAsBzFP,oBAAMC,wBAAUO,WAAhB,CAtByF,EAsB1D;AAC9BC,IAAAA,MAAM,EAAE,MADsB;AAE9BJ,IAAAA,QAAQ,EAAE,iBAFoB;AAG9BT,IAAAA,UAAU,EAAE,gBAHkB;AAI9Bc,IAAAA,QAAQ,EAAE,OAJoB;AAK9BC,IAAAA,OAAO,EAAE,UALqB;AAM9BJ,IAAAA,aAAa,EAAE;AANe,GAtB0D;AAAA,CAArF;;;;AAgCA,IAAMK,WAAW,GAAG,SAAdA,WAAc,CAACrB,KAAD;AAAA,SACzB;AAAK,IAAA,GAAG,EAAE,aAACD,KAAD;AAAA,aAAkBD,gBAAgB,CAACC,KAAD,EAAQC,KAAR,CAAlC;AAAA;AAAV,KAAgEA,KAAhE,EADyB;AAAA,CAApB","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 {defaultTransition} from '../../Identity/motions';\nimport {QueryKeys, media} from '../../mediaQueries';\nimport {TextProps, textStyle} from '../../Text';\nimport type {Theme} from '../Theme';\n\ntype MenuSubLinkProps<T = HTMLDivElement> = TextProps<T>;\n\nexport const menuSubLinkStyle: <T>(theme: Theme, props: MenuSubLinkProps<T>) => CSSObject = (theme, props) => ({\n ...textStyle(theme, props),\n '&:hover': {\n filter: 'brightness(70%)',\n },\n color: theme.general.color,\n cursor: 'pointer',\n fontWeight: 600,\n textDecoration: 'none',\n transition: defaultTransition,\n [media[QueryKeys.DESKTOP]]: {\n '&:first-of-type': {\n marginLeft: 0,\n },\n '&:last-child': {\n marginRight: 0,\n },\n fontSize: '11px',\n margin: '0 26px 0 10px',\n textTransform: 'uppercase',\n },\n\n [media[QueryKeys.TABLET_DOWN]]: {\n border: 'none',\n fontSize: '32px !important',\n fontWeight: '300 !important',\n maxWidth: '480px',\n padding: '8px 24px',\n textTransform: 'none !important',\n },\n});\n\nexport const MenuSubLink = (props: MenuSubLinkProps) => (\n <div css={(theme: Theme) => menuSubLinkStyle(theme, props)} {...props} />\n);\n"],"file":"MenuSubLink.js"}
1
+ {"version":3,"file":"MenuSubLink.js","sourceRoot":"","sources":["MenuSubLink.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,eAAe;AACf,0CAA8C;AAE9C,oDAAyD;AACzD,qDAAoD;AACpD,qCAAgD;AAKzC,MAAM,gBAAgB,GAA+D,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,iCACzG,IAAA,gBAAS,EAAC,KAAK,EAAE,KAAK,CAAC,KAC1B,SAAS,EAAE;QACT,MAAM,EAAE,iBAAiB;KAC1B,EACD,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,EAC1B,MAAM,EAAE,SAAS,EACjB,UAAU,EAAE,GAAG,EACf,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,2BAAiB,EAC7B,CAAC,oBAAK,CAAC,wBAAS,CAAC,OAAO,CAAC,CAAC,EAAE;QAC1B,iBAAiB,EAAE;YACjB,UAAU,EAAE,CAAC;SACd;QACD,cAAc,EAAE;YACd,WAAW,EAAE,CAAC;SACf;QACD,QAAQ,EAAE,MAAM;QAChB,MAAM,EAAE,eAAe;QACvB,aAAa,EAAE,WAAW;KAC3B,EAED,CAAC,oBAAK,CAAC,wBAAS,CAAC,WAAW,CAAC,CAAC,EAAE;QAC9B,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,iBAAiB;QAC3B,UAAU,EAAE,gBAAgB;QAC5B,QAAQ,EAAE,OAAO;QACjB,OAAO,EAAE,UAAU;QACnB,aAAa,EAAE,iBAAiB;KACjC,IACD,CAAC;AA9BU,QAAA,gBAAgB,oBA8B1B;AAEI,MAAM,WAAW,GAAG,CAAC,KAAuB,EAAE,EAAE,CAAC,CACtD,wCAAK,GAAG,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,IAAA,wBAAgB,EAAC,KAAK,EAAE,KAAK,CAAC,IAAM,KAAK,EAAI,CAC1E,CAAC;AAFW,QAAA,WAAW,eAEtB"}
@@ -1,110 +1,43 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- var _HeaderMenu = require("./HeaderMenu");
8
-
9
- Object.keys(_HeaderMenu).forEach(function (key) {
10
- if (key === "default" || key === "__esModule") return;
11
- if (key in exports && exports[key] === _HeaderMenu[key]) return;
12
- Object.defineProperty(exports, key, {
13
- enumerable: true,
14
- get: function get() {
15
- return _HeaderMenu[key];
16
- }
17
- });
18
- });
19
-
20
- var _HeaderSubMenu = require("./HeaderSubMenu");
21
-
22
- Object.keys(_HeaderSubMenu).forEach(function (key) {
23
- if (key === "default" || key === "__esModule") return;
24
- if (key in exports && exports[key] === _HeaderSubMenu[key]) return;
25
- Object.defineProperty(exports, key, {
26
- enumerable: true,
27
- get: function get() {
28
- return _HeaderSubMenu[key];
29
- }
30
- });
31
- });
32
-
33
- var _MenuContent = require("./MenuContent");
34
-
35
- Object.keys(_MenuContent).forEach(function (key) {
36
- if (key === "default" || key === "__esModule") return;
37
- if (key in exports && exports[key] === _MenuContent[key]) return;
38
- Object.defineProperty(exports, key, {
39
- enumerable: true,
40
- get: function get() {
41
- return _MenuContent[key];
42
- }
43
- });
44
- });
45
-
46
- var _MenuItems = require("./MenuItems");
47
-
48
- Object.keys(_MenuItems).forEach(function (key) {
49
- if (key === "default" || key === "__esModule") return;
50
- if (key in exports && exports[key] === _MenuItems[key]) return;
51
- Object.defineProperty(exports, key, {
52
- enumerable: true,
53
- get: function get() {
54
- return _MenuItems[key];
55
- }
56
- });
57
- });
58
-
59
- var _MenuLink = require("./MenuLink");
60
-
61
- Object.keys(_MenuLink).forEach(function (key) {
62
- if (key === "default" || key === "__esModule") return;
63
- if (key in exports && exports[key] === _MenuLink[key]) return;
64
- Object.defineProperty(exports, key, {
65
- enumerable: true,
66
- get: function get() {
67
- return _MenuLink[key];
68
- }
69
- });
70
- });
71
-
72
- var _MenuOpenButton = require("./MenuOpenButton");
73
-
74
- Object.keys(_MenuOpenButton).forEach(function (key) {
75
- if (key === "default" || key === "__esModule") return;
76
- if (key in exports && exports[key] === _MenuOpenButton[key]) return;
77
- Object.defineProperty(exports, key, {
78
- enumerable: true,
79
- get: function get() {
80
- return _MenuOpenButton[key];
81
- }
82
- });
83
- });
84
-
85
- var _MenuScrollableItems = require("./MenuScrollableItems");
86
-
87
- Object.keys(_MenuScrollableItems).forEach(function (key) {
88
- if (key === "default" || key === "__esModule") return;
89
- if (key in exports && exports[key] === _MenuScrollableItems[key]) return;
90
- Object.defineProperty(exports, key, {
91
- enumerable: true,
92
- get: function get() {
93
- return _MenuScrollableItems[key];
94
- }
95
- });
96
- });
97
-
98
- var _MenuSubLink = require("./MenuSubLink");
99
-
100
- Object.keys(_MenuSubLink).forEach(function (key) {
101
- if (key === "default" || key === "__esModule") return;
102
- if (key in exports && exports[key] === _MenuSubLink[key]) return;
103
- Object.defineProperty(exports, key, {
104
- enumerable: true,
105
- get: function get() {
106
- return _MenuSubLink[key];
107
- }
108
- });
109
- });
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("./HeaderMenu"), exports);
36
+ __exportStar(require("./HeaderSubMenu"), exports);
37
+ __exportStar(require("./MenuContent"), exports);
38
+ __exportStar(require("./MenuItems"), exports);
39
+ __exportStar(require("./MenuLink"), exports);
40
+ __exportStar(require("./MenuOpenButton"), exports);
41
+ __exportStar(require("./MenuScrollableItems"), exports);
42
+ __exportStar(require("./MenuSubLink"), exports);
110
43
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;AAmBA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","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\nexport * from './HeaderMenu';\nexport * from './HeaderSubMenu';\nexport * from './MenuContent';\nexport * from './MenuItems';\nexport * from './MenuLink';\nexport * from './MenuOpenButton';\nexport * from './MenuScrollableItems';\nexport * from './MenuSubLink';\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,+CAA6B;AAC7B,kDAAgC;AAChC,gDAA8B;AAC9B,8CAA4B;AAC5B,6CAA2B;AAC3B,mDAAiC;AACjC,wDAAsC;AACtC,gDAA8B"}
@@ -1,175 +1,48 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- var _Box = require("./Box");
8
-
9
- Object.keys(_Box).forEach(function (key) {
10
- if (key === "default" || key === "__esModule") return;
11
- if (key in exports && exports[key] === _Box[key]) return;
12
- Object.defineProperty(exports, key, {
13
- enumerable: true,
14
- get: function get() {
15
- return _Box[key];
16
- }
17
- });
18
- });
19
-
20
- var _Column = require("./Column");
21
-
22
- Object.keys(_Column).forEach(function (key) {
23
- if (key === "default" || key === "__esModule") return;
24
- if (key in exports && exports[key] === _Column[key]) return;
25
- Object.defineProperty(exports, key, {
26
- enumerable: true,
27
- get: function get() {
28
- return _Column[key];
29
- }
30
- });
31
- });
32
-
33
- var _Container = require("./Container");
34
-
35
- Object.keys(_Container).forEach(function (key) {
36
- if (key === "default" || key === "__esModule") return;
37
- if (key in exports && exports[key] === _Container[key]) return;
38
- Object.defineProperty(exports, key, {
39
- enumerable: true,
40
- get: function get() {
41
- return _Container[key];
42
- }
43
- });
44
- });
45
-
46
- var _Content = require("./Content");
47
-
48
- Object.keys(_Content).forEach(function (key) {
49
- if (key === "default" || key === "__esModule") return;
50
- if (key in exports && exports[key] === _Content[key]) return;
51
- Object.defineProperty(exports, key, {
52
- enumerable: true,
53
- get: function get() {
54
- return _Content[key];
55
- }
56
- });
57
- });
58
-
59
- var _FlexBox = require("./FlexBox");
60
-
61
- Object.keys(_FlexBox).forEach(function (key) {
62
- if (key === "default" || key === "__esModule") return;
63
- if (key in exports && exports[key] === _FlexBox[key]) return;
64
- Object.defineProperty(exports, key, {
65
- enumerable: true,
66
- get: function get() {
67
- return _FlexBox[key];
68
- }
69
- });
70
- });
71
-
72
- var _Footer = require("./Footer");
73
-
74
- Object.keys(_Footer).forEach(function (key) {
75
- if (key === "default" || key === "__esModule") return;
76
- if (key in exports && exports[key] === _Footer[key]) return;
77
- Object.defineProperty(exports, key, {
78
- enumerable: true,
79
- get: function get() {
80
- return _Footer[key];
81
- }
82
- });
83
- });
84
-
85
- var _Header = require("./Header");
86
-
87
- Object.keys(_Header).forEach(function (key) {
88
- if (key === "default" || key === "__esModule") return;
89
- if (key in exports && exports[key] === _Header[key]) return;
90
- Object.defineProperty(exports, key, {
91
- enumerable: true,
92
- get: function get() {
93
- return _Header[key];
94
- }
95
- });
96
- });
97
-
98
- var _index = require("./headerMenu/index");
99
-
100
- Object.keys(_index).forEach(function (key) {
101
- if (key === "default" || key === "__esModule") return;
102
- if (key in exports && exports[key] === _index[key]) return;
103
- Object.defineProperty(exports, key, {
104
- enumerable: true,
105
- get: function get() {
106
- return _index[key];
107
- }
108
- });
109
- });
110
-
111
- var _MatchMedia = require("./MatchMedia");
112
-
113
- Object.keys(_MatchMedia).forEach(function (key) {
114
- if (key === "default" || key === "__esModule") return;
115
- if (key in exports && exports[key] === _MatchMedia[key]) return;
116
- Object.defineProperty(exports, key, {
117
- enumerable: true,
118
- get: function get() {
119
- return _MatchMedia[key];
120
- }
121
- });
122
- });
123
-
124
- var _Spacer = require("./Spacer");
125
-
126
- Object.keys(_Spacer).forEach(function (key) {
127
- if (key === "default" || key === "__esModule") return;
128
- if (key in exports && exports[key] === _Spacer[key]) return;
129
- Object.defineProperty(exports, key, {
130
- enumerable: true,
131
- get: function get() {
132
- return _Spacer[key];
133
- }
134
- });
135
- });
136
-
137
- var _StyledApp = require("./StyledApp");
138
-
139
- Object.keys(_StyledApp).forEach(function (key) {
140
- if (key === "default" || key === "__esModule") return;
141
- if (key in exports && exports[key] === _StyledApp[key]) return;
142
- Object.defineProperty(exports, key, {
143
- enumerable: true,
144
- get: function get() {
145
- return _StyledApp[key];
146
- }
147
- });
148
- });
149
-
150
- var _Theme = require("./Theme");
151
-
152
- Object.keys(_Theme).forEach(function (key) {
153
- if (key === "default" || key === "__esModule") return;
154
- if (key in exports && exports[key] === _Theme[key]) return;
155
- Object.defineProperty(exports, key, {
156
- enumerable: true,
157
- get: function get() {
158
- return _Theme[key];
159
- }
160
- });
161
- });
162
-
163
- var _sizes = require("./sizes");
164
-
165
- Object.keys(_sizes).forEach(function (key) {
166
- if (key === "default" || key === "__esModule") return;
167
- if (key in exports && exports[key] === _sizes[key]) return;
168
- Object.defineProperty(exports, key, {
169
- enumerable: true,
170
- get: function get() {
171
- return _sizes[key];
172
- }
173
- });
174
- });
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("./Box"), exports);
36
+ __exportStar(require("./Column"), exports);
37
+ __exportStar(require("./Container"), exports);
38
+ __exportStar(require("./Content"), exports);
39
+ __exportStar(require("./FlexBox"), exports);
40
+ __exportStar(require("./Footer"), exports);
41
+ __exportStar(require("./Header"), exports);
42
+ __exportStar(require("./headerMenu/index"), exports);
43
+ __exportStar(require("./MatchMedia"), exports);
44
+ __exportStar(require("./Spacer"), exports);
45
+ __exportStar(require("./StyledApp"), exports);
46
+ __exportStar(require("./Theme"), exports);
47
+ __exportStar(require("./sizes"), exports);
175
48
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;AAmBA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","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\nexport * from './Box';\nexport * from './Column';\nexport * from './Container';\nexport * from './Content';\nexport * from './FlexBox';\nexport * from './Footer';\nexport * from './Header';\nexport * from './headerMenu/index';\nexport * from './MatchMedia';\nexport * from './Spacer';\nexport * from './StyledApp';\nexport * from './Theme';\nexport * from './sizes';\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,wCAAsB;AACtB,2CAAyB;AACzB,8CAA4B;AAC5B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,+CAA6B;AAC7B,2CAAyB;AACzB,8CAA4B;AAC5B,0CAAwB;AACxB,0CAAwB"}
@@ -1,10 +1,4 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.GUTTER = exports.STEP = exports.WIDTH = void 0;
7
-
8
2
  /*
9
3
  * Wire
10
4
  * Copyright (C) 2018 Wire Swiss GmbH
@@ -23,20 +17,19 @@ exports.GUTTER = exports.STEP = exports.WIDTH = void 0;
23
17
  * along with this program. If not, see http://www.gnu.org/licenses/.
24
18
  *
25
19
  */
26
- var WIDTH = {
27
- TINY: 320,
28
- MOBILE: 480,
29
- MOBILE_MAX: 639,
30
- TABLET_MIN: 640,
31
- TABLET_MAX: 919,
32
- DESKTOP_MIN: 920,
33
- DESKTOP_MAX: 1199,
34
- DESKTOP_XL_MIN: 1200,
35
- DESKTOP_XL_MAX: 1600
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.GUTTER = exports.STEP = exports.WIDTH = void 0;
22
+ exports.WIDTH = {
23
+ TINY: 320,
24
+ MOBILE: 480,
25
+ MOBILE_MAX: 639,
26
+ TABLET_MIN: 640,
27
+ TABLET_MAX: 919,
28
+ DESKTOP_MIN: 920,
29
+ DESKTOP_MAX: 1199,
30
+ DESKTOP_XL_MIN: 1200,
31
+ DESKTOP_XL_MAX: 1600,
36
32
  };
37
- exports.WIDTH = WIDTH;
38
- var STEP = 8;
39
- exports.STEP = STEP;
40
- var GUTTER = STEP + STEP;
41
- exports.GUTTER = GUTTER;
33
+ exports.STEP = 8;
34
+ exports.GUTTER = exports.STEP + exports.STEP;
42
35
  //# sourceMappingURL=sizes.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["sizes.ts"],"names":["WIDTH","TINY","MOBILE","MOBILE_MAX","TABLET_MIN","TABLET_MAX","DESKTOP_MIN","DESKTOP_MAX","DESKTOP_XL_MIN","DESKTOP_XL_MAX","STEP","GUTTER"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEO,IAAMA,KAAK,GAAG;AACnBC,EAAAA,IAAI,EAAE,GADa;AAEnBC,EAAAA,MAAM,EAAE,GAFW;AAGnBC,EAAAA,UAAU,EAAE,GAHO;AAInBC,EAAAA,UAAU,EAAE,GAJO;AAKnBC,EAAAA,UAAU,EAAE,GALO;AAMnBC,EAAAA,WAAW,EAAE,GANM;AAOnBC,EAAAA,WAAW,EAAE,IAPM;AAQnBC,EAAAA,cAAc,EAAE,IARG;AASnBC,EAAAA,cAAc,EAAE;AATG,CAAd;;AAYA,IAAMC,IAAI,GAAG,CAAb;;AACA,IAAMC,MAAM,GAAGD,IAAI,GAAGA,IAAtB","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\nexport const WIDTH = {\n TINY: 320,\n MOBILE: 480,\n MOBILE_MAX: 639,\n TABLET_MIN: 640,\n TABLET_MAX: 919,\n DESKTOP_MIN: 920,\n DESKTOP_MAX: 1199,\n DESKTOP_XL_MIN: 1200,\n DESKTOP_XL_MAX: 1600,\n};\n\nexport const STEP = 8;\nexport const GUTTER = STEP + STEP;\n"],"file":"sizes.js"}
1
+ {"version":3,"file":"sizes.js","sourceRoot":"","sources":["sizes.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEU,QAAA,KAAK,GAAG;IACnB,IAAI,EAAE,GAAG;IACT,MAAM,EAAE,GAAG;IACX,UAAU,EAAE,GAAG;IACf,UAAU,EAAE,GAAG;IACf,UAAU,EAAE,GAAG;IACf,WAAW,EAAE,GAAG;IAChB,WAAW,EAAE,IAAI;IACjB,cAAc,EAAE,IAAI;IACpB,cAAc,EAAE,IAAI;CACrB,CAAC;AAEW,QAAA,IAAI,GAAG,CAAC,CAAC;AACT,QAAA,MAAM,GAAG,YAAI,GAAG,YAAI,CAAC"}