@hipay/hipay-material-ui 2.3.0-rc.5 → 2.3.0-rc.PSYCHE-2530-2

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 (359) hide show
  1. package/HiAlertModal/HiAlertModal.js +16 -78
  2. package/HiAlertModal/index.js +1 -1
  3. package/HiAppBar/HiAppBar.js +11 -55
  4. package/HiAppBar/index.js +1 -1
  5. package/HiBadge/HiBadge.js +4 -32
  6. package/HiBadge/index.js +1 -1
  7. package/HiBreadcrumb/HiBreadcrumb.js +15 -46
  8. package/HiBreadcrumb/HiStep.js +17 -72
  9. package/HiBreadcrumb/HiStepConnector.js +17 -56
  10. package/HiBreadcrumb/HiStepContent.js +10 -20
  11. package/HiBreadcrumb/HiStepIcon.js +11 -34
  12. package/HiBreadcrumb/HiStepLabel.js +28 -80
  13. package/HiBreadcrumb/HiStepper.js +12 -28
  14. package/HiBreadcrumb/index.js +1 -1
  15. package/HiButton/HiButton.js +58 -205
  16. package/HiButton/index.js +6 -8
  17. package/HiCell/CellAddress.js +10 -51
  18. package/HiCell/CellDate.js +16 -44
  19. package/HiCell/CellIcon.js +10 -52
  20. package/HiCell/CellImage.js +10 -51
  21. package/HiCell/CellNumeric.js +10 -41
  22. package/HiCell/CellPinToAction.js +6 -25
  23. package/HiCell/CellRate.js +9 -47
  24. package/HiCell/CellSentinel.js +10 -20
  25. package/HiCell/CellSentinelScore.js +10 -16
  26. package/HiCell/CellText.js +11 -33
  27. package/HiCell/CellTextStyled.js +1 -39
  28. package/HiCell/index.js +1 -1
  29. package/HiCheckbox/HiCheckbox.js +15 -63
  30. package/HiCheckbox/index.js +1 -1
  31. package/HiChip/HiChip.js +15 -115
  32. package/HiChip/HiChipSwitch.js +19 -73
  33. package/HiChip/index.js +1 -1
  34. package/HiColoredLabel/HiColoredLabel.js +13 -55
  35. package/HiColoredLabel/index.js +1 -1
  36. package/HiDatePicker/Caption.js +3 -39
  37. package/HiDatePicker/HiDatePicker.js +56 -150
  38. package/HiDatePicker/HiDatePickerMobile.js +11 -32
  39. package/HiDatePicker/HiDateRangePicker.js +71 -226
  40. package/HiDatePicker/HiDateRangeSelector.js +68 -181
  41. package/HiDatePicker/ListPicker.js +13 -44
  42. package/HiDatePicker/NavBar.js +1 -49
  43. package/HiDatePicker/Overlays/CustomOverlayLayout.js +7 -27
  44. package/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +7 -27
  45. package/HiDatePicker/Overlays/MonthPickerOverlay.js +14 -45
  46. package/HiDatePicker/Overlays/Overlay.js +5 -47
  47. package/HiDatePicker/Overlays/TimePickerOverlay.js +19 -53
  48. package/HiDatePicker/Overlays/YearPickerOverlay.js +14 -60
  49. package/HiDatePicker/Overlays/index.js +1 -1
  50. package/HiDatePicker/Weekday.js +1 -24
  51. package/HiDatePicker/index.js +15 -0
  52. package/HiDatePicker/stylesheet.js +6 -6
  53. package/HiDotsStepper/HiDot.js +12 -18
  54. package/HiDotsStepper/HiDotsStepper.js +13 -23
  55. package/HiDotsStepper/index.js +23 -0
  56. package/HiExpansionPanel/HiExpansionPanel.js +24 -73
  57. package/HiExpansionPanel/index.js +6 -8
  58. package/HiForm/HiAddressField.js +13 -36
  59. package/HiForm/HiEmailField.js +13 -46
  60. package/HiForm/HiFormControl.js +24 -121
  61. package/HiForm/HiFormLabel.js +15 -59
  62. package/HiForm/HiInput.js +20 -200
  63. package/HiForm/HiPasswordField.js +13 -25
  64. package/HiForm/HiSearchField.js +13 -43
  65. package/HiForm/HiSlider.js +15 -86
  66. package/HiForm/HiTextField.js +14 -153
  67. package/HiForm/HiUpload.js +29 -91
  68. package/HiForm/HiUploadField.js +12 -73
  69. package/HiForm/HiUploadInput.js +33 -113
  70. package/HiForm/index.js +1 -1
  71. package/HiIcon/HiIcon.js +37 -116
  72. package/HiIcon/index.js +1 -1
  73. package/HiIconButton/HiIconButton.js +4 -22
  74. package/HiIconButton/index.js +1 -1
  75. package/HiLoader/HiLoader.js +7 -27
  76. package/HiLoader/index.js +1 -1
  77. package/HiMap/HiMap.js +14 -35
  78. package/HiMap/HiMapExpand.js +13 -41
  79. package/HiMap/index.js +1 -1
  80. package/HiNotice/HiKPI.js +12 -82
  81. package/HiNotice/HiKPINotice.js +1 -29
  82. package/HiNotice/index.js +1 -1
  83. package/HiPaymentMeans/HiPaymentMeans.js +17 -112
  84. package/HiPaymentMeans/index.js +1 -1
  85. package/HiPdfReader/HiPdfReader.js +24 -48
  86. package/HiPdfReader/index.js +1 -1
  87. package/HiPin/HiPin.js +3 -16
  88. package/HiPin/index.js +1 -1
  89. package/HiRadio/HiRadio.js +1 -13
  90. package/HiRadio/index.js +1 -1
  91. package/HiSelect/HiDynamicSelect.js +23 -94
  92. package/HiSelect/HiDynamicSelectField.js +8 -56
  93. package/HiSelect/HiNestedSelect.js +25 -116
  94. package/HiSelect/HiNestedSelectContent.js +24 -102
  95. package/HiSelect/HiNestedSelectField.js +8 -56
  96. package/HiSelect/HiSelect.js +68 -270
  97. package/HiSelect/HiSelectContent.js +42 -167
  98. package/HiSelect/HiSelectField.js +8 -61
  99. package/HiSelect/HiSelectInput.js +24 -125
  100. package/HiSelect/HiSelectMobile.js +23 -54
  101. package/HiSelect/HiSuggestSelect.js +25 -105
  102. package/HiSelect/HiSuggestSelectField.js +8 -56
  103. package/HiSelect/index.js +2 -2
  104. package/HiSelectableList/HiSelectableList.js +24 -122
  105. package/HiSelectableList/HiSelectableListHierarchic.js +18 -78
  106. package/HiSelectableList/HiSelectableListItem.js +20 -159
  107. package/HiSelectableList/index.js +1 -1
  108. package/HiSwitch/HiSwitch.js +4 -40
  109. package/HiSwitch/HiSwitchState.js +2 -58
  110. package/HiSwitch/index.js +1 -1
  111. package/HiTable/HiCellBuilder.js +13 -34
  112. package/HiTable/HiTable.js +11 -65
  113. package/HiTable/HiTableBody.js +6 -34
  114. package/HiTable/HiTableHeader.js +13 -50
  115. package/HiTable/HiTableRow.js +11 -49
  116. package/HiTable/constants.js +2 -2
  117. package/HiTable/index.js +1 -1
  118. package/README.md +11 -38
  119. package/es/HiAlertModal/HiAlertModal.js +211 -220
  120. package/es/HiAlertModal/index.js +15 -1
  121. package/es/HiAppBar/HiAppBar.js +120 -118
  122. package/es/HiAppBar/index.js +15 -1
  123. package/es/HiBadge/HiBadge.js +85 -100
  124. package/es/HiBadge/index.js +15 -1
  125. package/es/HiBreadcrumb/HiBreadcrumb.js +98 -83
  126. package/es/HiBreadcrumb/HiStep.js +113 -113
  127. package/es/HiBreadcrumb/HiStepConnector.js +144 -137
  128. package/es/HiBreadcrumb/HiStepContent.js +90 -58
  129. package/es/HiBreadcrumb/HiStepIcon.js +144 -141
  130. package/es/HiBreadcrumb/HiStepLabel.js +161 -184
  131. package/es/HiBreadcrumb/HiStepper.js +73 -46
  132. package/es/HiBreadcrumb/index.js +15 -1
  133. package/es/HiButton/HiButton.js +77 -217
  134. package/es/HiButton/index.js +13 -1
  135. package/es/HiCell/CellAddress.js +85 -83
  136. package/es/HiCell/CellDate.js +87 -70
  137. package/es/HiCell/CellIcon.js +94 -96
  138. package/es/HiCell/CellImage.js +99 -98
  139. package/es/HiCell/CellNumeric.js +79 -68
  140. package/es/HiCell/CellPinToAction.js +61 -41
  141. package/es/HiCell/CellRate.js +137 -133
  142. package/es/HiCell/CellSentinel.js +75 -46
  143. package/es/HiCell/CellSentinelScore.js +69 -35
  144. package/es/HiCell/CellText.js +190 -160
  145. package/es/HiCell/CellTextStyled.js +37 -59
  146. package/es/HiCell/index.js +79 -9
  147. package/es/HiCheckbox/HiCheckbox.js +154 -162
  148. package/es/HiCheckbox/index.js +15 -1
  149. package/es/HiChip/HiChip.js +172 -245
  150. package/es/HiChip/HiChipSwitch.js +208 -223
  151. package/es/HiChip/index.js +23 -2
  152. package/es/HiColoredLabel/HiColoredLabel.js +157 -185
  153. package/es/HiColoredLabel/index.js +15 -1
  154. package/es/HiDatePicker/Caption.js +46 -61
  155. package/es/HiDatePicker/HiDatePicker.js +283 -323
  156. package/es/HiDatePicker/HiDatePickerMobile.js +104 -87
  157. package/es/HiDatePicker/HiDateRangePicker.js +500 -570
  158. package/es/HiDatePicker/HiDateRangeSelector.js +337 -376
  159. package/es/HiDatePicker/ListPicker.js +125 -101
  160. package/es/HiDatePicker/NavBar.js +94 -112
  161. package/es/HiDatePicker/Overlays/CustomOverlayLayout.js +93 -96
  162. package/es/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +86 -89
  163. package/es/HiDatePicker/Overlays/MonthPickerOverlay.js +80 -75
  164. package/es/HiDatePicker/Overlays/Overlay.js +62 -87
  165. package/es/HiDatePicker/Overlays/TimePickerOverlay.js +202 -188
  166. package/es/HiDatePicker/Overlays/YearPickerOverlay.js +90 -95
  167. package/es/HiDatePicker/Overlays/index.js +47 -5
  168. package/es/HiDatePicker/Weekday.js +19 -32
  169. package/es/HiDatePicker/hiLocaleUtils.js +41 -28
  170. package/es/HiDatePicker/index.js +15 -0
  171. package/es/HiDatePicker/stylesheet.js +259 -244
  172. package/es/HiDotsStepper/HiDot.js +86 -50
  173. package/es/HiDotsStepper/HiDotsStepper.js +96 -58
  174. package/es/HiDotsStepper/index.js +23 -0
  175. package/es/HiExpansionPanel/HiExpansionPanel.js +198 -204
  176. package/es/HiExpansionPanel/index.js +13 -1
  177. package/es/HiForm/HiAddressField.js +125 -106
  178. package/es/HiForm/HiEmailField.js +69 -66
  179. package/es/HiForm/HiFormControl.js +266 -309
  180. package/es/HiForm/HiFormLabel.js +110 -112
  181. package/es/HiForm/HiInput.js +397 -530
  182. package/es/HiForm/HiPasswordField.js +101 -67
  183. package/es/HiForm/HiSearchField.js +130 -121
  184. package/es/HiForm/HiSlider.js +251 -272
  185. package/es/HiForm/HiTextField.js +145 -244
  186. package/es/HiForm/HiUpload.js +288 -300
  187. package/es/HiForm/HiUploadField.js +82 -109
  188. package/es/HiForm/HiUploadInput.js +295 -325
  189. package/es/HiForm/index.js +95 -11
  190. package/es/HiIcon/HiIcon.js +75 -133
  191. package/es/HiIcon/index.js +15 -1
  192. package/es/HiIconButton/HiIconButton.js +82 -80
  193. package/es/HiIconButton/index.js +15 -1
  194. package/es/HiLoader/HiLoader.js +30 -37
  195. package/es/HiLoader/index.js +15 -1
  196. package/es/HiMap/HiMap.js +281 -245
  197. package/es/HiMap/HiMapExpand.js +182 -162
  198. package/es/HiMap/index.js +23 -2
  199. package/es/HiNotice/HiKPI.js +173 -201
  200. package/es/HiNotice/HiKPINotice.js +42 -52
  201. package/es/HiNotice/index.js +23 -2
  202. package/es/HiPaymentMeans/HiPaymentMeans.js +453 -500
  203. package/es/HiPaymentMeans/index.js +15 -1
  204. package/es/HiPdfReader/HiPdfReader.js +215 -184
  205. package/es/HiPdfReader/index.js +15 -1
  206. package/es/HiPin/HiPin.js +82 -79
  207. package/es/HiPin/index.js +15 -1
  208. package/es/HiRadio/HiRadio.js +47 -40
  209. package/es/HiRadio/index.js +15 -1
  210. package/es/HiSelect/HiDynamicSelect.js +110 -146
  211. package/es/HiSelect/HiDynamicSelectField.js +91 -104
  212. package/es/HiSelect/HiNestedSelect.js +235 -260
  213. package/es/HiSelect/HiNestedSelectContent.js +186 -197
  214. package/es/HiSelect/HiNestedSelectField.js +91 -104
  215. package/es/HiSelect/HiSelect.js +564 -684
  216. package/es/HiSelect/HiSelectContent.js +283 -338
  217. package/es/HiSelect/HiSelectField.js +93 -111
  218. package/es/HiSelect/HiSelectInput.js +266 -321
  219. package/es/HiSelect/HiSelectMobile.js +118 -100
  220. package/es/HiSelect/HiSuggestSelect.js +237 -256
  221. package/es/HiSelect/HiSuggestSelectField.js +80 -93
  222. package/es/HiSelect/index.js +85 -8
  223. package/es/HiSelectableList/HiSelectableList.js +195 -219
  224. package/es/HiSelectableList/HiSelectableListHierarchic.js +148 -150
  225. package/es/HiSelectableList/HiSelectableListItem.js +378 -475
  226. package/es/HiSelectableList/index.js +31 -3
  227. package/es/HiSwitch/HiSwitch.js +172 -185
  228. package/es/HiSwitch/HiSwitchState.js +134 -171
  229. package/es/HiSwitch/index.js +23 -2
  230. package/es/HiTable/HiCellBuilder.js +106 -72
  231. package/es/HiTable/HiTable.js +92 -105
  232. package/es/HiTable/HiTableBody.js +59 -53
  233. package/es/HiTable/HiTableHeader.js +133 -116
  234. package/es/HiTable/HiTableRow.js +126 -110
  235. package/es/HiTable/constants.js +97 -138
  236. package/es/HiTable/index.js +15 -1
  237. package/es/hi-svg-icons/HiAccount.js +41 -21
  238. package/es/hi-svg-icons/HiActivity.js +40 -20
  239. package/es/hi-svg-icons/HiAll.js +44 -24
  240. package/es/hi-svg-icons/HiBilling.js +41 -21
  241. package/es/hi-svg-icons/HiBriefcaseRescue.js +35 -10
  242. package/es/hi-svg-icons/HiCatalog.js +41 -21
  243. package/es/hi-svg-icons/HiCustomer.js +41 -21
  244. package/es/hi-svg-icons/HiDownload.js +29 -12
  245. package/es/hi-svg-icons/HiFinance.js +41 -21
  246. package/es/hi-svg-icons/HiPermission.js +40 -20
  247. package/es/hi-svg-icons/HiRoute.js +41 -21
  248. package/es/hi-svg-icons/HiSettlement.js +41 -21
  249. package/es/hi-svg-icons/HiSizeLarge.js +28 -15
  250. package/es/hi-svg-icons/HiSizeMedium.js +26 -15
  251. package/es/hi-svg-icons/HiSizeSmall.js +26 -15
  252. package/es/hi-svg-icons/HiTransaction.js +41 -21
  253. package/es/hi-svg-icons/HiUser.js +41 -21
  254. package/es/hi-svg-icons/HiWidget.js +44 -24
  255. package/es/hi-svg-icons/index.js +151 -18
  256. package/es/hi-svg-icons/index.text.js +27 -17
  257. package/es/styleguide/Wrapper.js +51 -0
  258. package/es/styles/MuiThemeProvider.js +131 -111
  259. package/es/styles/colorManipulator.js +89 -52
  260. package/es/styles/createBreakpoints.js +48 -35
  261. package/es/styles/createGenerateClassName.js +34 -22
  262. package/es/styles/createMixins.js +31 -20
  263. package/es/styles/createMuiTheme.js +67 -44
  264. package/es/styles/createPalette.js +135 -102
  265. package/es/styles/createStyles.js +8 -1
  266. package/es/styles/createTypography.js +86 -75
  267. package/es/styles/getStylesCreator.js +31 -18
  268. package/es/styles/getThemeProps.js +11 -5
  269. package/es/styles/index.js +47 -7
  270. package/es/styles/jssPreset.js +25 -9
  271. package/es/styles/mergeClasses.js +28 -16
  272. package/es/styles/shadows.js +14 -7
  273. package/es/styles/shape.js +9 -2
  274. package/es/styles/spacing.js +13 -2
  275. package/es/styles/themeListener.js +22 -10
  276. package/es/styles/transitions.js +61 -31
  277. package/es/styles/zIndex.js +9 -2
  278. package/es/test-utils/createMount.js +31 -18
  279. package/es/test-utils/createRender.js +25 -12
  280. package/es/test-utils/createShallow.js +34 -19
  281. package/es/test-utils/getClasses.js +11 -2
  282. package/es/test-utils/index.js +47 -5
  283. package/es/test-utils/until.js +25 -12
  284. package/es/test-utils/unwrap.js +8 -1
  285. package/es/theme/palette.js +106 -0
  286. package/es/theme/typography.js +170 -0
  287. package/es/theme.js +22 -0
  288. package/es/transitions/utils.js +18 -6
  289. package/es/utils/helpers.js +99 -39
  290. package/es/withMobileDialog/index.js +15 -1
  291. package/es/withMobileDialog/withMobileDialog.js +32 -20
  292. package/hi-svg-icons/HiAccount.js +16 -10
  293. package/hi-svg-icons/HiActivity.js +16 -10
  294. package/hi-svg-icons/HiAll.js +16 -10
  295. package/hi-svg-icons/HiBilling.js +16 -10
  296. package/hi-svg-icons/HiBriefcaseRescue.js +22 -10
  297. package/hi-svg-icons/HiCatalog.js +16 -10
  298. package/hi-svg-icons/HiCustomer.js +16 -10
  299. package/hi-svg-icons/HiDownload.js +13 -5
  300. package/hi-svg-icons/HiFinance.js +16 -10
  301. package/hi-svg-icons/HiPermission.js +16 -10
  302. package/hi-svg-icons/HiRoute.js +16 -10
  303. package/hi-svg-icons/HiSettlement.js +16 -10
  304. package/hi-svg-icons/HiSizeLarge.js +5 -3
  305. package/hi-svg-icons/HiSizeMedium.js +3 -3
  306. package/hi-svg-icons/HiSizeSmall.js +3 -3
  307. package/hi-svg-icons/HiTransaction.js +16 -10
  308. package/hi-svg-icons/HiUser.js +16 -10
  309. package/hi-svg-icons/HiWidget.js +16 -10
  310. package/hi-svg-icons/index.js +1 -1
  311. package/hi-svg-icons/index.text.js +1 -1
  312. package/package.json +37 -56
  313. package/styleguide/Wrapper.js +51 -0
  314. package/styles/MuiThemeProvider.js +17 -44
  315. package/styles/colorManipulator.js +1 -1
  316. package/styles/createBreakpoints.js +4 -4
  317. package/styles/createGenerateClassName.js +1 -1
  318. package/styles/createMixins.js +6 -6
  319. package/styles/createMuiTheme.js +4 -4
  320. package/styles/createPalette.js +5 -5
  321. package/styles/createTypography.js +15 -15
  322. package/styles/getStylesCreator.js +4 -4
  323. package/styles/index.js +2 -18
  324. package/styles/jssPreset.js +1 -1
  325. package/styles/mergeClasses.js +3 -3
  326. package/styles/themeListener.js +2 -2
  327. package/styles/transitions.js +2 -2
  328. package/test-utils/createMount.js +5 -5
  329. package/test-utils/createRender.js +4 -4
  330. package/test-utils/createShallow.js +5 -5
  331. package/test-utils/index.js +1 -1
  332. package/test-utils/until.js +5 -5
  333. package/theme/palette.js +106 -0
  334. package/theme/typography.js +170 -0
  335. package/theme.js +22 -0
  336. package/utils/helpers.js +4 -4
  337. package/withMobileDialog/index.js +1 -1
  338. package/withMobileDialog/withMobileDialog.js +3 -8
  339. package/CHANGELOG.md +0 -8486
  340. package/LICENSE +0 -21
  341. package/es/index.js +0 -26
  342. package/es/styles/withStyles.js +0 -317
  343. package/es/styles/withTheme.js +0 -84
  344. package/es/utils/exactProp.js +0 -28
  345. package/es/utils/ownerDocument.js +0 -5
  346. package/es/utils/ownerWindow.js +0 -8
  347. package/es/utils/reactHelpers.js +0 -19
  348. package/es/utils/requirePropFactory.js +0 -20
  349. package/es/utils/unsupportedProp.js +0 -16
  350. package/index.es.js +0 -31
  351. package/index.js +0 -256
  352. package/styles/withStyles.js +0 -378
  353. package/styles/withTheme.js +0 -126
  354. package/utils/exactProp.js +0 -43
  355. package/utils/ownerDocument.js +0 -13
  356. package/utils/ownerWindow.js +0 -19
  357. package/utils/reactHelpers.js +0 -36
  358. package/utils/requirePropFactory.js +0 -32
  359. package/utils/unsupportedProp.js +0 -24
@@ -1,170 +1,181 @@
1
- import _objectSpread from "@babel/runtime/helpers/objectSpread";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- import deepmerge from 'deepmerge'; // < 1kb payload overhead when lodash/merge is > 3kb.
1
+ "use strict";
4
2
 
3
+ var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = createTypography;
9
+
10
+ var _objectSpread2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectSpread2"));
11
+
12
+ var _objectWithoutProperties2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties"));
13
+
14
+ var _deepmerge = _interopRequireDefault(require("deepmerge"));
15
+
16
+ // < 1kb payload overhead when lodash/merge is > 3kb.
5
17
  function round(value) {
6
18
  return Math.round(value * 1e5) / 1e5;
7
19
  }
8
20
 
9
- export default function createTypography(palette, typography) {
10
- const _ref = typeof typography === 'function' ? typography(palette) : typography,
11
- {
12
- fontFamily = '"Roboto", "Helvetica", "Arial", sans-serif',
13
- // The default font size of the Material Specification.
14
- fontSize = 14,
15
- // px
16
- fontWeightLight = 300,
17
- fontWeightRegular = 400,
18
- fontWeightMedium = 500,
19
- // Tell Material-UI what's the font-size on the html element.
20
- // 16px is the default font-size used by browsers.
21
- htmlFontSize = 16,
22
- // Apply the CSS properties to all the variants.
23
- allVariants
24
- } = _ref,
25
- other = _objectWithoutProperties(_ref, ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "htmlFontSize", "allVariants"]);
21
+ function createTypography(palette, typography) {
22
+ var _ref = typeof typography === 'function' ? typography(palette) : typography,
23
+ _ref$fontFamily = _ref.fontFamily,
24
+ fontFamily = _ref$fontFamily === void 0 ? '"Roboto", "Helvetica", "Arial", sans-serif' : _ref$fontFamily,
25
+ _ref$fontSize = _ref.fontSize,
26
+ fontSize = _ref$fontSize === void 0 ? 14 : _ref$fontSize,
27
+ _ref$fontWeightLight = _ref.fontWeightLight,
28
+ fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight,
29
+ _ref$fontWeightRegula = _ref.fontWeightRegular,
30
+ fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula,
31
+ _ref$fontWeightMedium = _ref.fontWeightMedium,
32
+ fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium,
33
+ _ref$htmlFontSize = _ref.htmlFontSize,
34
+ htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize,
35
+ allVariants = _ref.allVariants,
36
+ other = (0, _objectWithoutProperties2.default)(_ref, ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "htmlFontSize", "allVariants"]);
26
37
 
27
- const coef = fontSize / 14;
38
+ var coef = fontSize / 14;
28
39
 
29
40
  function pxToRem(value) {
30
- return `${value / htmlFontSize * coef}rem`;
41
+ return "".concat(value / htmlFontSize * coef, "rem");
31
42
  }
32
43
 
33
- return deepmerge({
34
- pxToRem,
35
- round,
36
- fontFamily,
37
- fontSize,
38
- fontWeightLight,
39
- fontWeightRegular,
40
- fontWeightMedium,
41
- display4: _objectSpread({
44
+ return (0, _deepmerge.default)({
45
+ pxToRem: pxToRem,
46
+ round: round,
47
+ fontFamily: fontFamily,
48
+ fontSize: fontSize,
49
+ fontWeightLight: fontWeightLight,
50
+ fontWeightRegular: fontWeightRegular,
51
+ fontWeightMedium: fontWeightMedium,
52
+ display4: (0, _objectSpread2.default)({
42
53
  fontSize: pxToRem(112),
43
54
  fontWeight: fontWeightLight,
44
- fontFamily,
55
+ fontFamily: fontFamily,
45
56
  letterSpacing: '-.04em',
46
- lineHeight: `${round(128 / 112)}em`,
57
+ lineHeight: "".concat(round(128 / 112), "em"),
47
58
  marginLeft: '-.04em',
48
59
  color: palette.text.secondary
49
60
  }, allVariants),
50
- display3: _objectSpread({
61
+ display3: (0, _objectSpread2.default)({
51
62
  fontSize: pxToRem(56),
52
63
  fontWeight: fontWeightRegular,
53
- fontFamily,
64
+ fontFamily: fontFamily,
54
65
  letterSpacing: '-.02em',
55
- lineHeight: `${round(73 / 56)}em`,
66
+ lineHeight: "".concat(round(73 / 56), "em"),
56
67
  marginLeft: '-.02em',
57
68
  color: palette.text.secondary
58
69
  }, allVariants),
59
- display2: _objectSpread({
70
+ display2: (0, _objectSpread2.default)({
60
71
  fontSize: pxToRem(45),
61
72
  fontWeight: fontWeightRegular,
62
- fontFamily,
63
- lineHeight: `${round(51 / 45)}em`,
73
+ fontFamily: fontFamily,
74
+ lineHeight: "".concat(round(51 / 45), "em"),
64
75
  marginLeft: '-.02em',
65
76
  color: palette.text.secondary
66
77
  }, allVariants),
67
- display1: _objectSpread({
78
+ display1: (0, _objectSpread2.default)({
68
79
  fontSize: pxToRem(34),
69
80
  fontWeight: fontWeightRegular,
70
- fontFamily,
71
- lineHeight: `${round(41 / 34)}em`,
81
+ fontFamily: fontFamily,
82
+ lineHeight: "".concat(round(41 / 34), "em"),
72
83
  color: palette.text.secondary
73
84
  }, allVariants),
74
- headline: _objectSpread({
85
+ headline: (0, _objectSpread2.default)({
75
86
  fontSize: pxToRem(24),
76
87
  fontWeight: fontWeightRegular,
77
- fontFamily,
78
- lineHeight: `${round(32.5 / 24)}em`,
88
+ fontFamily: fontFamily,
89
+ lineHeight: "".concat(round(32.5 / 24), "em"),
79
90
  color: palette.text.primary
80
91
  }, allVariants),
81
- title: _objectSpread({
92
+ title: (0, _objectSpread2.default)({
82
93
  fontSize: pxToRem(21),
83
94
  fontWeight: fontWeightMedium,
84
- fontFamily,
85
- lineHeight: `${round(24.5 / 21)}em`,
95
+ fontFamily: fontFamily,
96
+ lineHeight: "".concat(round(24.5 / 21), "em"),
86
97
  color: palette.text.primary
87
98
  }, allVariants),
88
- subheading: _objectSpread({
99
+ subheading: (0, _objectSpread2.default)({
89
100
  fontSize: pxToRem(16),
90
101
  fontWeight: fontWeightRegular,
91
- fontFamily,
92
- lineHeight: `${round(24 / 16)}em`,
102
+ fontFamily: fontFamily,
103
+ lineHeight: "".concat(round(24 / 16), "em"),
93
104
  color: palette.text.primary
94
105
  }, allVariants),
95
- body3: _objectSpread({
106
+ body3: (0, _objectSpread2.default)({
96
107
  fontSize: pxToRem(14),
97
108
  fontWeight: fontWeightRegular,
98
- fontFamily,
99
- lineHeight: `${round(26 / 14)}em`,
109
+ fontFamily: fontFamily,
110
+ lineHeight: "".concat(round(26 / 14), "em"),
100
111
  color: palette.text.primary
101
112
  }, allVariants),
102
- body2: _objectSpread({
113
+ body2: (0, _objectSpread2.default)({
103
114
  fontSize: pxToRem(14),
104
115
  fontWeight: fontWeightMedium,
105
- fontFamily,
106
- lineHeight: `${round(24 / 14)}em`,
116
+ fontFamily: fontFamily,
117
+ lineHeight: "".concat(round(24 / 14), "em"),
107
118
  color: palette.text.primary
108
119
  }, allVariants),
109
- body1: _objectSpread({
120
+ body1: (0, _objectSpread2.default)({
110
121
  fontSize: pxToRem(14),
111
122
  fontWeight: fontWeightRegular,
112
- fontFamily,
113
- lineHeight: `${round(20.5 / 14)}em`,
123
+ fontFamily: fontFamily,
124
+ lineHeight: "".concat(round(20.5 / 14), "em"),
114
125
  color: palette.text.primary
115
126
  }, allVariants),
116
127
  h1: {
117
128
  fontSize: 24,
118
- fontFamily
129
+ fontFamily: fontFamily
119
130
  },
120
131
  h2: {
121
132
  fontSize: 20,
122
- fontFamily
133
+ fontFamily: fontFamily
123
134
  },
124
135
  h3: {
125
136
  fontSize: 18,
126
- fontFamily
137
+ fontFamily: fontFamily
127
138
  },
128
139
  h4: {
129
140
  fontSize: 16,
130
- fontFamily
141
+ fontFamily: fontFamily
131
142
  },
132
143
  h5: {
133
144
  fontSize: 14,
134
- fontFamily
145
+ fontFamily: fontFamily
135
146
  },
136
147
  b1: {
137
148
  fontSize: 15,
138
- fontFamily
149
+ fontFamily: fontFamily
139
150
  },
140
151
  b2: {
141
152
  fontSize: 14,
142
- fontFamily
153
+ fontFamily: fontFamily
143
154
  },
144
155
  b3: {
145
156
  fontSize: 13,
146
- fontFamily
157
+ fontFamily: fontFamily
147
158
  },
148
159
  b4: {
149
160
  fontSize: 12,
150
- fontFamily
161
+ fontFamily: fontFamily
151
162
  },
152
163
  b5: {
153
164
  fontSize: 11,
154
- fontFamily
165
+ fontFamily: fontFamily
155
166
  },
156
- caption: _objectSpread({
167
+ caption: (0, _objectSpread2.default)({
157
168
  fontSize: pxToRem(12),
158
169
  fontWeight: fontWeightRegular,
159
- fontFamily,
160
- lineHeight: `${round(16.5 / 12)}em`,
170
+ fontFamily: fontFamily,
171
+ lineHeight: "".concat(round(16.5 / 12), "em"),
161
172
  color: palette.text.secondary
162
173
  }, allVariants),
163
- button: _objectSpread({
174
+ button: (0, _objectSpread2.default)({
164
175
  fontSize: pxToRem(14),
165
176
  textTransform: 'uppercase',
166
177
  fontWeight: fontWeightMedium,
167
- fontFamily,
178
+ fontFamily: fontFamily,
168
179
  color: palette.text.primary
169
180
  }, allVariants)
170
181
  }, other, {
@@ -1,41 +1,54 @@
1
- import _objectSpread from "@babel/runtime/helpers/objectSpread";
2
- import warning from 'warning';
3
- import deepmerge from 'deepmerge'; // < 1kb payload overhead when lodash/merge is > 3kb.
4
- // Support for the jss-expand plugin.
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var _objectSpread2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectSpread2"));
11
+
12
+ var _typeof2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/typeof"));
5
13
 
14
+ var _warning = _interopRequireDefault(require("warning"));
15
+
16
+ var _deepmerge = _interopRequireDefault(require("deepmerge"));
17
+
18
+ // < 1kb payload overhead when lodash/merge is > 3kb.
19
+ // Support for the jss-expand plugin.
6
20
  function arrayMerge(destination, source) {
7
21
  return source;
8
22
  }
9
23
 
10
24
  function getStylesCreator(stylesOrCreator) {
11
- const themingEnabled = typeof stylesOrCreator === 'function';
12
- process.env.NODE_ENV !== "production" ? warning(typeof stylesOrCreator === 'object' || themingEnabled, ['Material-UI: the first argument provided to withStyles() is invalid.', 'You need to provide a function generating the styles or a styles object.'].join('\n')) : void 0;
25
+ var themingEnabled = typeof stylesOrCreator === 'function';
26
+ process.env.NODE_ENV !== "production" ? (0, _warning.default)((0, _typeof2.default)(stylesOrCreator) === 'object' || themingEnabled, ['Material-UI: the first argument provided to withStyles() is invalid.', 'You need to provide a function generating the styles or a styles object.'].join('\n')) : void 0;
13
27
 
14
28
  function create(theme, name) {
15
- const styles = themingEnabled ? stylesOrCreator(theme) : stylesOrCreator;
29
+ var styles = themingEnabled ? stylesOrCreator(theme) : stylesOrCreator;
16
30
 
17
31
  if (!name || !theme.overrides || !theme.overrides[name]) {
18
32
  return styles;
19
33
  }
20
34
 
21
- const overrides = theme.overrides[name];
22
-
23
- const stylesWithOverrides = _objectSpread({}, styles);
24
-
25
- Object.keys(overrides).forEach(key => {
26
- process.env.NODE_ENV !== "production" ? warning(stylesWithOverrides[key], ['Material-UI: you are trying to override a style that does not exist.', `Fix the \`${key}\` key of \`theme.overrides.${name}\`.`].join('\n')) : void 0;
27
- stylesWithOverrides[key] = deepmerge(stylesWithOverrides[key], overrides[key], {
28
- arrayMerge
35
+ var overrides = theme.overrides[name];
36
+ var stylesWithOverrides = (0, _objectSpread2.default)({}, styles);
37
+ Object.keys(overrides).forEach(function (key) {
38
+ process.env.NODE_ENV !== "production" ? (0, _warning.default)(stylesWithOverrides[key], ['Material-UI: you are trying to override a style that does not exist.', "Fix the `".concat(key, "` key of `theme.overrides.").concat(name, "`.")].join('\n')) : void 0;
39
+ stylesWithOverrides[key] = (0, _deepmerge.default)(stylesWithOverrides[key], overrides[key], {
40
+ arrayMerge: arrayMerge
29
41
  });
30
42
  });
31
43
  return stylesWithOverrides;
32
44
  }
33
45
 
34
46
  return {
35
- create,
47
+ create: create,
36
48
  options: {},
37
- themingEnabled
49
+ themingEnabled: themingEnabled
38
50
  };
39
51
  }
40
52
 
41
- export default getStylesCreator;
53
+ var _default = getStylesCreator;
54
+ exports.default = _default;
@@ -1,8 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
1
8
  function getThemeProps(params) {
2
- const {
3
- theme,
4
- name
5
- } = params;
9
+ var theme = params.theme,
10
+ name = params.name;
6
11
 
7
12
  if (!name || !theme.props || !theme.props[name]) {
8
13
  return {};
@@ -11,4 +16,5 @@ function getThemeProps(params) {
11
16
  return theme.props[name];
12
17
  }
13
18
 
14
- export default getThemeProps;
19
+ var _default = getThemeProps;
20
+ exports.default = _default;
@@ -1,7 +1,47 @@
1
- export { default as createGenerateClassName } from './createGenerateClassName';
2
- export { default as createMuiTheme } from './createMuiTheme';
3
- export { default as jssPreset } from './jssPreset';
4
- export { default as MuiThemeProvider } from './MuiThemeProvider';
5
- export { default as createStyles } from './createStyles';
6
- export { default as withStyles } from './withStyles';
7
- export { default as withTheme } from './withTheme';
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ Object.defineProperty(exports, "createGenerateClassName", {
9
+ enumerable: true,
10
+ get: function get() {
11
+ return _createGenerateClassName.default;
12
+ }
13
+ });
14
+ Object.defineProperty(exports, "createMuiTheme", {
15
+ enumerable: true,
16
+ get: function get() {
17
+ return _createMuiTheme.default;
18
+ }
19
+ });
20
+ Object.defineProperty(exports, "jssPreset", {
21
+ enumerable: true,
22
+ get: function get() {
23
+ return _jssPreset.default;
24
+ }
25
+ });
26
+ Object.defineProperty(exports, "MuiThemeProvider", {
27
+ enumerable: true,
28
+ get: function get() {
29
+ return _MuiThemeProvider.default;
30
+ }
31
+ });
32
+ Object.defineProperty(exports, "createStyles", {
33
+ enumerable: true,
34
+ get: function get() {
35
+ return _createStyles.default;
36
+ }
37
+ });
38
+
39
+ var _createGenerateClassName = _interopRequireDefault(require("./createGenerateClassName"));
40
+
41
+ var _createMuiTheme = _interopRequireDefault(require("./createMuiTheme"));
42
+
43
+ var _jssPreset = _interopRequireDefault(require("./jssPreset"));
44
+
45
+ var _MuiThemeProvider = _interopRequireDefault(require("./MuiThemeProvider"));
46
+
47
+ var _createStyles = _interopRequireDefault(require("./createStyles"));
@@ -1,15 +1,31 @@
1
- import jssGlobal from 'jss-global';
2
- import jssNested from 'jss-nested';
3
- import jssCamelCase from 'jss-camel-case';
4
- import jssDefaultUnit from 'jss-default-unit';
5
- import jssVendorPrefixer from 'jss-vendor-prefixer';
6
- import jssPropsSort from 'jss-props-sort'; // Subset of jss-preset-default with only the plugins the Material-UI
7
- // components are using.
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var _jssGlobal = _interopRequireDefault(require("jss-global"));
11
+
12
+ var _jssNested = _interopRequireDefault(require("jss-nested"));
8
13
 
14
+ var _jssCamelCase = _interopRequireDefault(require("jss-camel-case"));
15
+
16
+ var _jssDefaultUnit = _interopRequireDefault(require("jss-default-unit"));
17
+
18
+ var _jssVendorPrefixer = _interopRequireDefault(require("jss-vendor-prefixer"));
19
+
20
+ var _jssPropsSort = _interopRequireDefault(require("jss-props-sort"));
21
+
22
+ // Subset of jss-preset-default with only the plugins the Material-UI
23
+ // components are using.
9
24
  function jssPreset() {
10
25
  return {
11
- plugins: [jssGlobal(), jssNested(), jssCamelCase(), jssDefaultUnit(), jssVendorPrefixer(), jssPropsSort()]
26
+ plugins: [(0, _jssGlobal.default)(), (0, _jssNested.default)(), (0, _jssCamelCase.default)(), (0, _jssDefaultUnit.default)(), (0, _jssVendorPrefixer.default)(), (0, _jssPropsSort.default)()]
12
27
  };
13
28
  }
14
29
 
15
- export default jssPreset;
30
+ var _default = jssPreset;
31
+ exports.default = _default;
@@ -1,29 +1,41 @@
1
- import _objectSpread from "@babel/runtime/helpers/objectSpread";
2
- import warning from 'warning';
3
- import getDisplayName from 'recompose/getDisplayName';
4
-
5
- function mergeClasses(options = {}) {
6
- const {
7
- baseClasses,
8
- newClasses,
9
- Component,
10
- noBase = false
11
- } = options;
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var _objectSpread2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectSpread2"));
11
+
12
+ var _warning = _interopRequireDefault(require("warning"));
13
+
14
+ var _getDisplayName = _interopRequireDefault(require("recompose/getDisplayName"));
15
+
16
+ function mergeClasses() {
17
+ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
18
+ var baseClasses = options.baseClasses,
19
+ newClasses = options.newClasses,
20
+ Component = options.Component,
21
+ _options$noBase = options.noBase,
22
+ noBase = _options$noBase === void 0 ? false : _options$noBase;
12
23
 
13
24
  if (!newClasses) {
14
25
  return baseClasses;
15
26
  }
16
27
 
17
- return _objectSpread({}, baseClasses, Object.keys(newClasses).reduce((accumulator, key) => {
18
- process.env.NODE_ENV !== "production" ? warning(baseClasses[key] || noBase, [`Material-UI: the key \`${key}\` ` + `provided to the classes property is not implemented in ${getDisplayName(Component)}.`, `You can only override one of the following: ${Object.keys(baseClasses).join(',')}`].join('\n')) : void 0;
19
- process.env.NODE_ENV !== "production" ? warning(!newClasses[key] || typeof newClasses[key] === 'string', [`Material-UI: the key \`${key}\` ` + `provided to the classes property is not valid for ${getDisplayName(Component)}.`, `You need to provide a non empty string instead of: ${newClasses[key]}.`].join('\n')) : void 0;
28
+ return (0, _objectSpread2.default)({}, baseClasses, {}, Object.keys(newClasses).reduce(function (accumulator, key) {
29
+ process.env.NODE_ENV !== "production" ? (0, _warning.default)(baseClasses[key] || noBase, ["Material-UI: the key `".concat(key, "` ") + "provided to the classes property is not implemented in ".concat((0, _getDisplayName.default)(Component), "."), "You can only override one of the following: ".concat(Object.keys(baseClasses).join(','))].join('\n')) : void 0;
30
+ process.env.NODE_ENV !== "production" ? (0, _warning.default)(!newClasses[key] || typeof newClasses[key] === 'string', ["Material-UI: the key `".concat(key, "` ") + "provided to the classes property is not valid for ".concat((0, _getDisplayName.default)(Component), "."), "You need to provide a non empty string instead of: ".concat(newClasses[key], ".")].join('\n')) : void 0;
20
31
 
21
32
  if (newClasses[key]) {
22
- accumulator[key] = `${baseClasses[key]} ${newClasses[key]}`;
33
+ accumulator[key] = "".concat(baseClasses[key], " ").concat(newClasses[key]);
23
34
  }
24
35
 
25
36
  return accumulator;
26
37
  }, {}));
27
38
  }
28
39
 
29
- export default mergeClasses;
40
+ var _default = mergeClasses;
41
+ exports.default = _default;
@@ -1,10 +1,17 @@
1
- const shadowKeyUmbraOpacity = 0.2;
2
- const shadowKeyPenumbraOpacity = 0.14;
3
- const shadowAmbientShadowOpacity = 0.12;
1
+ "use strict";
4
2
 
5
- function createShadow(...px) {
6
- return [`${px[0]}px ${px[1]}px ${px[2]}px ${px[3]}px rgba(0, 0, 0, ${shadowKeyUmbraOpacity})`, `${px[4]}px ${px[5]}px ${px[6]}px ${px[7]}px rgba(0, 0, 0, ${shadowKeyPenumbraOpacity})`, `${px[8]}px ${px[9]}px ${px[10]}px ${px[11]}px rgba(0, 0, 0, ${shadowAmbientShadowOpacity})`].join(',');
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var shadowKeyUmbraOpacity = 0.2;
8
+ var shadowKeyPenumbraOpacity = 0.14;
9
+ var shadowAmbientShadowOpacity = 0.12;
10
+
11
+ function createShadow() {
12
+ return ["".concat(arguments.length <= 0 ? undefined : arguments[0], "px ").concat(arguments.length <= 1 ? undefined : arguments[1], "px ").concat(arguments.length <= 2 ? undefined : arguments[2], "px ").concat(arguments.length <= 3 ? undefined : arguments[3], "px rgba(0, 0, 0, ").concat(shadowKeyUmbraOpacity, ")"), "".concat(arguments.length <= 4 ? undefined : arguments[4], "px ").concat(arguments.length <= 5 ? undefined : arguments[5], "px ").concat(arguments.length <= 6 ? undefined : arguments[6], "px ").concat(arguments.length <= 7 ? undefined : arguments[7], "px rgba(0, 0, 0, ").concat(shadowKeyPenumbraOpacity, ")"), "".concat(arguments.length <= 8 ? undefined : arguments[8], "px ").concat(arguments.length <= 9 ? undefined : arguments[9], "px ").concat(arguments.length <= 10 ? undefined : arguments[10], "px ").concat(arguments.length <= 11 ? undefined : arguments[11], "px rgba(0, 0, 0, ").concat(shadowAmbientShadowOpacity, ")")].join(',');
7
13
  }
8
14
 
9
- const shadows = ['none', createShadow(0, 1, 3, 0, 0, 1, 1, 0, 0, 2, 1, -1), createShadow(0, 1, 5, 0, 0, 2, 2, 0, 0, 3, 1, -2), createShadow(0, 1, 8, 0, 0, 3, 4, 0, 0, 3, 3, -2), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
10
- export default shadows;
15
+ var shadows = ['none', createShadow(0, 1, 3, 0, 0, 1, 1, 0, 0, 2, 1, -1), createShadow(0, 1, 5, 0, 0, 2, 2, 0, 0, 3, 1, -2), createShadow(0, 1, 8, 0, 0, 3, 4, 0, 0, 3, 3, -2), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
16
+ var _default = shadows;
17
+ exports.default = _default;
@@ -1,4 +1,11 @@
1
- const shape = {
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var shape = {
2
8
  borderRadius: 4
3
9
  };
4
- export default shape;
10
+ var _default = shape;
11
+ exports.default = _default;
@@ -1,3 +1,14 @@
1
- const spacing = (n = 1) => n * 4;
1
+ "use strict";
2
2
 
3
- export default spacing;
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var spacing = function spacing() {
9
+ var n = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
10
+ return n * 4;
11
+ };
12
+
13
+ var _default = spacing;
14
+ exports.default = _default;
@@ -1,28 +1,40 @@
1
- import PropTypes from 'prop-types'; // Same value used by react-jss
1
+ "use strict";
2
2
 
3
- export const CHANNEL = '__THEMING__';
4
- const themeListener = {
5
- contextTypes: {
6
- [CHANNEL]: PropTypes.object
7
- },
8
- initial: context => {
3
+ var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = exports.CHANNEL = void 0;
9
+
10
+ var _defineProperty2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/defineProperty"));
11
+
12
+ var _propTypes = _interopRequireDefault(require("prop-types"));
13
+
14
+ // Same value used by react-jss
15
+ var CHANNEL = '__THEMING__';
16
+ exports.CHANNEL = CHANNEL;
17
+ var themeListener = {
18
+ contextTypes: (0, _defineProperty2.default)({}, CHANNEL, _propTypes.default.object),
19
+ initial: function initial(context) {
9
20
  if (!context[CHANNEL]) {
10
21
  return null;
11
22
  }
12
23
 
13
24
  return context[CHANNEL].getState();
14
25
  },
15
- subscribe: (context, cb) => {
26
+ subscribe: function subscribe(context, cb) {
16
27
  if (!context[CHANNEL]) {
17
28
  return null;
18
29
  }
19
30
 
20
31
  return context[CHANNEL].subscribe(cb);
21
32
  },
22
- unsubscribe: (context, subscriptionId) => {
33
+ unsubscribe: function unsubscribe(context, subscriptionId) {
23
34
  if (context[CHANNEL]) {
24
35
  context[CHANNEL].unsubscribe(subscriptionId);
25
36
  }
26
37
  }
27
38
  };
28
- export default themeListener;
39
+ var _default = themeListener;
40
+ exports.default = _default;