@wireapp/react-ui-kit 8.14.0 → 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 (336) hide show
  1. package/package.json +3 -3
  2. package/src/Form/Button.js +125 -210
  3. package/src/Form/Button.js.map +1 -1
  4. package/src/Form/ButtonLink.js +47 -60
  5. package/src/Form/ButtonLink.js.map +1 -1
  6. package/src/Form/Checkbox.js +84 -139
  7. package/src/Form/Checkbox.js.map +1 -1
  8. package/src/Form/CodeInput.js +98 -201
  9. package/src/Form/CodeInput.js.map +1 -1
  10. package/src/Form/DropFileInput.js +116 -214
  11. package/src/Form/DropFileInput.js.map +1 -1
  12. package/src/Form/ErrorMessage.js +45 -78
  13. package/src/Form/ErrorMessage.js.map +1 -1
  14. package/src/Form/Form.d.ts +0 -1
  15. package/src/Form/Form.js +28 -31
  16. package/src/Form/Form.js.map +1 -1
  17. package/src/Form/Input.js +101 -178
  18. package/src/Form/Input.js.map +1 -1
  19. package/src/Form/InputBlock.d.ts +1 -1
  20. package/src/Form/InputBlock.js +19 -45
  21. package/src/Form/InputBlock.js.map +1 -1
  22. package/src/Form/InputLabel.js +44 -46
  23. package/src/Form/InputLabel.js.map +1 -1
  24. package/src/Form/InputSubmitCombo.js +49 -53
  25. package/src/Form/InputSubmitCombo.js.map +1 -1
  26. package/src/Form/RangeInput.js +47 -71
  27. package/src/Form/RangeInput.js.map +1 -1
  28. package/src/Form/RangeInput.styles.js +39 -55
  29. package/src/Form/RangeInput.styles.js.map +1 -1
  30. package/src/Form/RoundIconButton.js +42 -62
  31. package/src/Form/RoundIconButton.js.map +1 -1
  32. package/src/Form/Select.js +55 -95
  33. package/src/Form/Select.js.map +1 -1
  34. package/src/Form/SelectComponents.js +101 -173
  35. package/src/Form/SelectComponents.js.map +1 -1
  36. package/src/Form/SelectStyles.d.ts +1 -899
  37. package/src/Form/SelectStyles.js +96 -156
  38. package/src/Form/SelectStyles.js.map +1 -1
  39. package/src/Form/ShakeBox.d.ts +1 -1
  40. package/src/Form/ShakeBox.js +33 -81
  41. package/src/Form/ShakeBox.js.map +1 -1
  42. package/src/Form/Switch.js +89 -124
  43. package/src/Form/Switch.js.map +1 -1
  44. package/src/Form/TextArea.js +59 -80
  45. package/src/Form/TextArea.js.map +1 -1
  46. package/src/Form/Tooltip.js +66 -75
  47. package/src/Form/Tooltip.js.map +1 -1
  48. package/src/Form/index.js +52 -238
  49. package/src/Form/index.js.map +1 -1
  50. package/src/GlobalCssVariables.js +79 -96
  51. package/src/GlobalCssVariables.js.map +1 -1
  52. package/src/GlobalStyle.d.js +0 -2
  53. package/src/GlobalStyle.d.js.map +1 -1
  54. package/src/GlobalStyle.d.ts +1 -2
  55. package/src/GlobalStyle.js +40 -55
  56. package/src/GlobalStyle.js.map +1 -1
  57. package/src/Icon/AddPeopleIcon.js +19 -24
  58. package/src/Icon/AddPeopleIcon.js.map +1 -1
  59. package/src/Icon/ArchiveIcon.js +6 -24
  60. package/src/Icon/ArchiveIcon.js.map +1 -1
  61. package/src/Icon/ArrowDown.js +19 -23
  62. package/src/Icon/ArrowDown.js.map +1 -1
  63. package/src/Icon/ArrowIcon.js +42 -35
  64. package/src/Icon/ArrowIcon.js.map +1 -1
  65. package/src/Icon/AttachmentIcon.js +6 -24
  66. package/src/Icon/AttachmentIcon.js.map +1 -1
  67. package/src/Icon/AudioVideoIcon.js +6 -24
  68. package/src/Icon/AudioVideoIcon.js.map +1 -1
  69. package/src/Icon/BlockIcon.js +6 -24
  70. package/src/Icon/BlockIcon.js.map +1 -1
  71. package/src/Icon/Brand/AndroidIcon.js +6 -25
  72. package/src/Icon/Brand/AndroidIcon.js.map +1 -1
  73. package/src/Icon/Brand/AppleIcon.js +6 -25
  74. package/src/Icon/Brand/AppleIcon.js.map +1 -1
  75. package/src/Icon/Brand/ChromeIcon.js +6 -25
  76. package/src/Icon/Brand/ChromeIcon.js.map +1 -1
  77. package/src/Icon/Brand/FacebookIcon.js +6 -24
  78. package/src/Icon/Brand/FacebookIcon.js.map +1 -1
  79. package/src/Icon/Brand/GitHubIcon.js +6 -24
  80. package/src/Icon/Brand/GitHubIcon.js.map +1 -1
  81. package/src/Icon/Brand/LinkedInIcon.js +6 -24
  82. package/src/Icon/Brand/LinkedInIcon.js.map +1 -1
  83. package/src/Icon/Brand/LinuxIcon.js +6 -25
  84. package/src/Icon/Brand/LinuxIcon.js.map +1 -1
  85. package/src/Icon/Brand/MicrosoftIcon.js +6 -25
  86. package/src/Icon/Brand/MicrosoftIcon.js.map +1 -1
  87. package/src/Icon/Brand/TwitterIcon.js +6 -24
  88. package/src/Icon/Brand/TwitterIcon.js.map +1 -1
  89. package/src/Icon/CallIcon.js +6 -24
  90. package/src/Icon/CallIcon.js.map +1 -1
  91. package/src/Icon/CamIcon.js +6 -24
  92. package/src/Icon/CamIcon.js.map +1 -1
  93. package/src/Icon/CameraIcon.js +19 -24
  94. package/src/Icon/CameraIcon.js.map +1 -1
  95. package/src/Icon/CheckIcon.js +6 -24
  96. package/src/Icon/CheckIcon.js.map +1 -1
  97. package/src/Icon/CheckRoundIcon.js +6 -24
  98. package/src/Icon/CheckRoundIcon.js.map +1 -1
  99. package/src/Icon/ChevronIcon.js +38 -31
  100. package/src/Icon/ChevronIcon.js.map +1 -1
  101. package/src/Icon/CloseIcon.js +6 -24
  102. package/src/Icon/CloseIcon.js.map +1 -1
  103. package/src/Icon/CopyIcon.js +6 -24
  104. package/src/Icon/CopyIcon.js.map +1 -1
  105. package/src/Icon/DeviceIcon.js +6 -24
  106. package/src/Icon/DeviceIcon.js.map +1 -1
  107. package/src/Icon/DownloadIcon.js +6 -24
  108. package/src/Icon/DownloadIcon.js.map +1 -1
  109. package/src/Icon/EditDocumentIcon.js +19 -25
  110. package/src/Icon/EditDocumentIcon.js.map +1 -1
  111. package/src/Icon/EditIcon.js +6 -24
  112. package/src/Icon/EditIcon.js.map +1 -1
  113. package/src/Icon/EnterIcon.js +6 -24
  114. package/src/Icon/EnterIcon.js.map +1 -1
  115. package/src/Icon/ErrorIcon.js +9 -39
  116. package/src/Icon/ErrorIcon.js.map +1 -1
  117. package/src/Icon/FileIcon.js +6 -24
  118. package/src/Icon/FileIcon.js.map +1 -1
  119. package/src/Icon/GifIcon.js +6 -24
  120. package/src/Icon/GifIcon.js.map +1 -1
  121. package/src/Icon/GridIcon.js +19 -24
  122. package/src/Icon/GridIcon.js.map +1 -1
  123. package/src/Icon/GroupIcon.js +6 -24
  124. package/src/Icon/GroupIcon.js.map +1 -1
  125. package/src/Icon/HangupIcon.js +6 -24
  126. package/src/Icon/HangupIcon.js.map +1 -1
  127. package/src/Icon/HideIcon.js +6 -24
  128. package/src/Icon/HideIcon.js.map +1 -1
  129. package/src/Icon/ImageIcon.js +6 -24
  130. package/src/Icon/ImageIcon.js.map +1 -1
  131. package/src/Icon/InfoIcon.js +6 -24
  132. package/src/Icon/InfoIcon.js.map +1 -1
  133. package/src/Icon/InviteIcon.js +6 -24
  134. package/src/Icon/InviteIcon.js.map +1 -1
  135. package/src/Icon/LeaveIcon.js +6 -24
  136. package/src/Icon/LeaveIcon.js.map +1 -1
  137. package/src/Icon/LinkIcon.js +19 -24
  138. package/src/Icon/LinkIcon.js.map +1 -1
  139. package/src/Icon/ListIcon.js +6 -24
  140. package/src/Icon/ListIcon.js.map +1 -1
  141. package/src/Icon/LockIcon.js +6 -25
  142. package/src/Icon/LockIcon.js.map +1 -1
  143. package/src/Icon/MessageIcon.js +6 -24
  144. package/src/Icon/MessageIcon.js.map +1 -1
  145. package/src/Icon/MinusIcon.js +6 -24
  146. package/src/Icon/MinusIcon.js.map +1 -1
  147. package/src/Icon/MoreIcon.js +6 -24
  148. package/src/Icon/MoreIcon.js.map +1 -1
  149. package/src/Icon/MuteIcon.js +6 -24
  150. package/src/Icon/MuteIcon.js.map +1 -1
  151. package/src/Icon/NotificationIcon.js +6 -24
  152. package/src/Icon/NotificationIcon.js.map +1 -1
  153. package/src/Icon/NotificationOffIcon.js +6 -24
  154. package/src/Icon/NotificationOffIcon.js.map +1 -1
  155. package/src/Icon/OptionsIcon.js +6 -24
  156. package/src/Icon/OptionsIcon.js.map +1 -1
  157. package/src/Icon/PeopleIcon.js +19 -24
  158. package/src/Icon/PeopleIcon.js.map +1 -1
  159. package/src/Icon/PingIcon.js +6 -24
  160. package/src/Icon/PingIcon.js.map +1 -1
  161. package/src/Icon/PlaneIcon.js +6 -24
  162. package/src/Icon/PlaneIcon.js.map +1 -1
  163. package/src/Icon/PlusIcon.js +6 -24
  164. package/src/Icon/PlusIcon.js.map +1 -1
  165. package/src/Icon/ProfileIcon.js +6 -24
  166. package/src/Icon/ProfileIcon.js.map +1 -1
  167. package/src/Icon/RecordBoldIcon.js +43 -50
  168. package/src/Icon/RecordBoldIcon.js.map +1 -1
  169. package/src/Icon/RecordIcon.js +8 -34
  170. package/src/Icon/RecordIcon.js.map +1 -1
  171. package/src/Icon/RecordPendingIcon.js +8 -31
  172. package/src/Icon/RecordPendingIcon.js.map +1 -1
  173. package/src/Icon/ReloadIcon.js +6 -24
  174. package/src/Icon/ReloadIcon.js.map +1 -1
  175. package/src/Icon/SVGIcon.js +53 -78
  176. package/src/Icon/SVGIcon.js.map +1 -1
  177. package/src/Icon/ScreenshareIcon.js +6 -24
  178. package/src/Icon/ScreenshareIcon.js.map +1 -1
  179. package/src/Icon/SearchIcon.js +6 -25
  180. package/src/Icon/SearchIcon.js.map +1 -1
  181. package/src/Icon/ServicesIcon.js +6 -24
  182. package/src/Icon/ServicesIcon.js.map +1 -1
  183. package/src/Icon/SettingsIcon.js +6 -24
  184. package/src/Icon/SettingsIcon.js.map +1 -1
  185. package/src/Icon/ShowIcon.js +6 -24
  186. package/src/Icon/ShowIcon.js.map +1 -1
  187. package/src/Icon/SignIcon.js +6 -24
  188. package/src/Icon/SignIcon.js.map +1 -1
  189. package/src/Icon/SpeakerIcon.js +6 -24
  190. package/src/Icon/SpeakerIcon.js.map +1 -1
  191. package/src/Icon/SupportIcon.js +6 -24
  192. package/src/Icon/SupportIcon.js.map +1 -1
  193. package/src/Icon/TeamIcon.js +6 -24
  194. package/src/Icon/TeamIcon.js.map +1 -1
  195. package/src/Icon/TimedIcon.js +6 -24
  196. package/src/Icon/TimedIcon.js.map +1 -1
  197. package/src/Icon/TrashCrossIcon.js +6 -24
  198. package/src/Icon/TrashCrossIcon.js.map +1 -1
  199. package/src/Icon/TrashIcon.js +6 -24
  200. package/src/Icon/TrashIcon.js.map +1 -1
  201. package/src/Icon/TriangleIcon.js +42 -35
  202. package/src/Icon/TriangleIcon.js.map +1 -1
  203. package/src/Icon/UploadIcon.js +6 -24
  204. package/src/Icon/UploadIcon.js.map +1 -1
  205. package/src/Icon/WireIcon.js +6 -24
  206. package/src/Icon/WireIcon.js.map +1 -1
  207. package/src/Icon/index.js +107 -953
  208. package/src/Icon/index.js.map +1 -1
  209. package/src/Identity/Animation.js +88 -211
  210. package/src/Identity/Animation.js.map +1 -1
  211. package/src/Identity/Avatar.js +66 -114
  212. package/src/Identity/Avatar.js.map +1 -1
  213. package/src/Identity/AvatarGrid.js +66 -108
  214. package/src/Identity/AvatarGrid.js.map +1 -1
  215. package/src/Identity/Logo.js +45 -54
  216. package/src/Identity/Logo.js.map +1 -1
  217. package/src/Identity/colors-v2.js +163 -186
  218. package/src/Identity/colors-v2.js.map +1 -1
  219. package/src/Identity/colors.js +64 -80
  220. package/src/Identity/colors.js.map +1 -1
  221. package/src/Identity/index.js +38 -81
  222. package/src/Identity/index.js.map +1 -1
  223. package/src/Identity/motions.js +71 -35
  224. package/src/Identity/motions.js.map +1 -1
  225. package/src/Layout/Box.d.ts +1 -1
  226. package/src/Layout/Box.js +9 -31
  227. package/src/Layout/Box.js.map +1 -1
  228. package/src/Layout/Column.d.ts +1 -1
  229. package/src/Layout/Column.js +17 -57
  230. package/src/Layout/Column.js.map +1 -1
  231. package/src/Layout/Container.d.ts +5 -5
  232. package/src/Layout/Container.js +29 -102
  233. package/src/Layout/Container.js.map +1 -1
  234. package/src/Layout/Content.d.ts +1 -1
  235. package/src/Layout/Content.js +8 -31
  236. package/src/Layout/Content.js.map +1 -1
  237. package/src/Layout/FlexBox.js +10 -45
  238. package/src/Layout/FlexBox.js.map +1 -1
  239. package/src/Layout/Footer.d.ts +1 -4
  240. package/src/Layout/Footer.js +4 -17
  241. package/src/Layout/Footer.js.map +1 -1
  242. package/src/Layout/Header.d.ts +1 -1
  243. package/src/Layout/Header.js +7 -28
  244. package/src/Layout/Header.js.map +1 -1
  245. package/src/Layout/MatchMedia.js +27 -112
  246. package/src/Layout/MatchMedia.js.map +1 -1
  247. package/src/Layout/Spacer.js +6 -26
  248. package/src/Layout/Spacer.js.map +1 -1
  249. package/src/Layout/StyledApp.js +45 -53
  250. package/src/Layout/StyledApp.js.map +1 -1
  251. package/src/Layout/Theme.js +217 -225
  252. package/src/Layout/Theme.js.map +1 -1
  253. package/src/Layout/headerMenu/HeaderMenu.js +54 -117
  254. package/src/Layout/headerMenu/HeaderMenu.js.map +1 -1
  255. package/src/Layout/headerMenu/HeaderSubMenu.d.ts +1 -1
  256. package/src/Layout/headerMenu/HeaderSubMenu.js +74 -131
  257. package/src/Layout/headerMenu/HeaderSubMenu.js.map +1 -1
  258. package/src/Layout/headerMenu/MenuContent.js +26 -47
  259. package/src/Layout/headerMenu/MenuContent.js.map +1 -1
  260. package/src/Layout/headerMenu/MenuItems.js +22 -52
  261. package/src/Layout/headerMenu/MenuItems.js.map +1 -1
  262. package/src/Layout/headerMenu/MenuLink.js +65 -89
  263. package/src/Layout/headerMenu/MenuLink.js.map +1 -1
  264. package/src/Layout/headerMenu/MenuOpenButton.js +26 -54
  265. package/src/Layout/headerMenu/MenuOpenButton.js.map +1 -1
  266. package/src/Layout/headerMenu/MenuScrollableItems.js +13 -36
  267. package/src/Layout/headerMenu/MenuScrollableItems.js.map +1 -1
  268. package/src/Layout/headerMenu/MenuSubLink.js +45 -64
  269. package/src/Layout/headerMenu/MenuSubLink.js.map +1 -1
  270. package/src/Layout/headerMenu/index.js +41 -108
  271. package/src/Layout/headerMenu/index.js.map +1 -1
  272. package/src/Layout/index.js +46 -173
  273. package/src/Layout/index.js.map +1 -1
  274. package/src/Layout/sizes.js +14 -21
  275. package/src/Layout/sizes.js.map +1 -1
  276. package/src/Menu/MenuModal.js +78 -123
  277. package/src/Menu/MenuModal.js.map +1 -1
  278. package/src/Menu/TabBar.d.ts +1 -1
  279. package/src/Menu/TabBar.js +50 -96
  280. package/src/Menu/TabBar.js.map +1 -1
  281. package/src/Menu/index.js +34 -29
  282. package/src/Menu/index.js.map +1 -1
  283. package/src/Misc/ButtonGroup.js +67 -97
  284. package/src/Misc/ButtonGroup.js.map +1 -1
  285. package/src/Misc/IconButton.js +72 -102
  286. package/src/Misc/IconButton.js.map +1 -1
  287. package/src/Misc/IsInViewport.js +57 -63
  288. package/src/Misc/IsInViewport.js.map +1 -1
  289. package/src/Misc/Loading.d.ts +1 -1
  290. package/src/Misc/Loading.js +58 -66
  291. package/src/Misc/Loading.js.map +1 -1
  292. package/src/Misc/Pagination.js +64 -149
  293. package/src/Misc/Pagination.js.map +1 -1
  294. package/src/Misc/Pill.js +66 -80
  295. package/src/Misc/Pill.js.map +1 -1
  296. package/src/Misc/childrenWithDefaultProps.d.ts +1 -1
  297. package/src/Misc/childrenWithDefaultProps.js +28 -28
  298. package/src/Misc/childrenWithDefaultProps.js.map +1 -1
  299. package/src/Misc/index.js +42 -121
  300. package/src/Misc/index.js.map +1 -1
  301. package/src/Misc/useLongTouch.js +23 -38
  302. package/src/Misc/useLongTouch.js.map +1 -1
  303. package/src/Misc/useTimeout.js +24 -44
  304. package/src/Misc/useTimeout.js.map +1 -1
  305. package/src/Modal/Modal.js +95 -177
  306. package/src/Modal/Modal.js.map +1 -1
  307. package/src/Modal/Overlay.d.ts +2 -2
  308. package/src/Modal/Overlay.js +68 -92
  309. package/src/Modal/Overlay.js.map +1 -1
  310. package/src/Modal/index.js +36 -28
  311. package/src/Modal/index.js.map +1 -1
  312. package/src/Text/Heading.js +71 -188
  313. package/src/Text/Heading.js.map +1 -1
  314. package/src/Text/Label.js +45 -74
  315. package/src/Text/Label.js.map +1 -1
  316. package/src/Text/Line.js +11 -36
  317. package/src/Text/Line.js.map +1 -1
  318. package/src/Text/Link.js +60 -88
  319. package/src/Text/Link.js.map +1 -1
  320. package/src/Text/Paragraph.js +44 -75
  321. package/src/Text/Paragraph.js.map +1 -1
  322. package/src/Text/Text.d.ts +6 -6
  323. package/src/Text/Text.js +29 -107
  324. package/src/Text/Text.js.map +1 -1
  325. package/src/Text/TextLink.js +38 -52
  326. package/src/Text/TextLink.js.map +1 -1
  327. package/src/Text/Title.js +38 -55
  328. package/src/Text/Title.js.map +1 -1
  329. package/src/Text/index.js +41 -108
  330. package/src/Text/index.js.map +1 -1
  331. package/src/index.js +42 -121
  332. package/src/index.js.map +1 -1
  333. package/src/mediaQueries.js +40 -41
  334. package/src/mediaQueries.js.map +1 -1
  335. package/src/util.js +8 -39
  336. package/src/util.js.map +1 -1
@@ -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 {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"}