@hipay/hipay-material-ui 4.0.0-beta1083-1 → 4.0.0-beta6508

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. package/HiAccordion/HiAccordion.js +1 -1
  2. package/HiAlertModal/HiAlertModal.js +1 -1
  3. package/HiAppBar/HiAppBar.js +3 -5
  4. package/HiBreadcrumb/HiBreadcrumb.js +2 -3
  5. package/HiBreadcrumb/HiStep.js +2 -3
  6. package/HiBreadcrumb/HiStepConnector.js +3 -5
  7. package/HiBreadcrumb/HiStepContent.js +2 -3
  8. package/HiBreadcrumb/HiStepIcon.js +2 -3
  9. package/HiBreadcrumb/HiStepLabel.js +2 -3
  10. package/HiBreadcrumb/HiStepper.js +2 -3
  11. package/HiButton/HiButton.js +1 -1
  12. package/HiCell/CellAddress.js +2 -3
  13. package/HiCell/CellDate.js +2 -3
  14. package/HiCell/CellHiddenContent.js +1 -1
  15. package/HiCell/CellIcon.js +2 -3
  16. package/HiCell/CellImage.js +2 -3
  17. package/HiCell/CellNumeric.js +2 -3
  18. package/HiCell/CellPinToAction.js +2 -3
  19. package/HiCell/CellRate.js +2 -3
  20. package/HiCell/CellSentinel.js +2 -3
  21. package/HiCell/CellSentinelScore.js +2 -3
  22. package/HiCell/CellText.js +3 -5
  23. package/HiCheckbox/HiCheckbox.js +3 -5
  24. package/HiChip/HiChipSwitch.js +5 -7
  25. package/HiDatePicker/HiDatePicker.js +2 -3
  26. package/HiDatePicker/HiDatePickerMobile.js +2 -3
  27. package/HiDatePicker/HiDateRangePicker.js +2 -3
  28. package/HiDatePicker/HiDateRangeSelector.js +2 -3
  29. package/HiDatePicker/ListPicker.js +2 -3
  30. package/HiDatePicker/Overlays/MonthPickerOverlay.js +3 -5
  31. package/HiDatePicker/Overlays/TimePickerOverlay.js +4 -6
  32. package/HiDatePicker/Overlays/YearPickerOverlay.js +3 -5
  33. package/HiDialog/HiDialog.js +1 -1
  34. package/HiDotsStepper/HiDot.js +2 -3
  35. package/HiDotsStepper/HiDotsStepper.js +4 -6
  36. package/HiExpansionPanel/HiExpansionPanel.js +1 -1
  37. package/HiForm/HiAddressField.js +7 -9
  38. package/HiForm/HiEmailField.js +3 -5
  39. package/HiForm/HiFormControl.js +6 -8
  40. package/HiForm/HiFormLabel.js +2 -3
  41. package/HiForm/HiInput.js +11 -13
  42. package/HiForm/HiPasswordField.js +3 -5
  43. package/HiForm/HiSearchField.js +5 -7
  44. package/HiForm/HiSlider.js +2 -3
  45. package/HiForm/HiTextField.js +5 -7
  46. package/HiForm/HiUpload.js +3 -4
  47. package/HiForm/HiUploadField.js +2 -3
  48. package/HiForm/HiUploadInput.js +2 -3
  49. package/HiIcon/HiIcon.js +1 -1
  50. package/HiNotice/HiKPI.js +3 -5
  51. package/HiPaymentMeans/HiPaymentMeans.js +1 -1
  52. package/HiPdfReader/HiPdfReader.js +2 -3
  53. package/HiScrollStepper/HiScrollStepper.js +1 -1
  54. package/HiSelect/HiDynamicSelect.js +4 -6
  55. package/HiSelect/HiDynamicSelectField.js +2 -3
  56. package/HiSelect/HiNestedSelect.js +3 -5
  57. package/HiSelect/HiNestedSelectContent.js +2 -3
  58. package/HiSelect/HiNestedSelectField.js +2 -3
  59. package/HiSelect/HiSelect.js +2 -3
  60. package/HiSelect/HiSelectContent.js +6 -8
  61. package/HiSelect/HiSelectField.js +2 -3
  62. package/HiSelect/HiSelectInput.js +2 -3
  63. package/HiSelect/HiSelectMobile.js +3 -4
  64. package/HiSelect/HiSuggestSelect.js +2 -3
  65. package/HiSelect/HiSuggestSelectField.js +2 -3
  66. package/HiSelect/index.js +1 -1
  67. package/HiSelectableList/HiSelectableList.js +3 -4
  68. package/HiSelectableList/HiSelectableListHierarchic.js +2 -3
  69. package/HiSelectableList/HiSelectableListItem.js +3 -2
  70. package/HiStepper/HiStep.js +1 -1
  71. package/HiTable/HiCellBuilder.js +3 -4
  72. package/HiTable/HiTable.js +1 -1
  73. package/HiTable/HiTableBody.js +2 -3
  74. package/HiTable/HiTableHeader.js +3 -4
  75. package/HiTable/HiTableRow.js +4 -6
  76. package/es/HiAccordion/HiAccordion.js +1 -1
  77. package/es/HiAlertModal/HiAlertModal.js +1 -1
  78. package/es/HiAppBar/HiAppBar.js +3 -5
  79. package/es/HiBreadcrumb/HiBreadcrumb.js +2 -3
  80. package/es/HiBreadcrumb/HiStep.js +2 -3
  81. package/es/HiBreadcrumb/HiStepConnector.js +3 -5
  82. package/es/HiBreadcrumb/HiStepContent.js +2 -3
  83. package/es/HiBreadcrumb/HiStepIcon.js +2 -3
  84. package/es/HiBreadcrumb/HiStepLabel.js +2 -3
  85. package/es/HiBreadcrumb/HiStepper.js +2 -3
  86. package/es/HiButton/HiButton.js +1 -1
  87. package/es/HiCell/CellAddress.js +2 -3
  88. package/es/HiCell/CellDate.js +2 -3
  89. package/es/HiCell/CellHiddenContent.js +1 -1
  90. package/es/HiCell/CellIcon.js +2 -3
  91. package/es/HiCell/CellImage.js +2 -3
  92. package/es/HiCell/CellNumeric.js +2 -3
  93. package/es/HiCell/CellPinToAction.js +2 -3
  94. package/es/HiCell/CellRate.js +2 -3
  95. package/es/HiCell/CellSentinel.js +2 -3
  96. package/es/HiCell/CellSentinelScore.js +2 -3
  97. package/es/HiCell/CellText.js +3 -5
  98. package/es/HiCheckbox/HiCheckbox.js +3 -5
  99. package/es/HiChip/HiChipSwitch.js +5 -7
  100. package/es/HiDatePicker/HiDatePicker.js +2 -3
  101. package/es/HiDatePicker/HiDatePickerMobile.js +2 -3
  102. package/es/HiDatePicker/HiDateRangePicker.js +2 -3
  103. package/es/HiDatePicker/HiDateRangeSelector.js +2 -3
  104. package/es/HiDatePicker/ListPicker.js +2 -3
  105. package/es/HiDatePicker/Overlays/MonthPickerOverlay.js +3 -5
  106. package/es/HiDatePicker/Overlays/TimePickerOverlay.js +4 -6
  107. package/es/HiDatePicker/Overlays/YearPickerOverlay.js +3 -5
  108. package/es/HiDialog/HiDialog.js +1 -1
  109. package/es/HiDotsStepper/HiDot.js +2 -3
  110. package/es/HiDotsStepper/HiDotsStepper.js +4 -6
  111. package/es/HiExpansionPanel/HiExpansionPanel.js +1 -1
  112. package/es/HiForm/HiAddressField.js +7 -9
  113. package/es/HiForm/HiEmailField.js +3 -5
  114. package/es/HiForm/HiFormControl.js +6 -8
  115. package/es/HiForm/HiFormLabel.js +2 -3
  116. package/es/HiForm/HiInput.js +11 -13
  117. package/es/HiForm/HiPasswordField.js +3 -5
  118. package/es/HiForm/HiSearchField.js +5 -7
  119. package/es/HiForm/HiSlider.js +2 -3
  120. package/es/HiForm/HiTextField.js +5 -7
  121. package/es/HiForm/HiUpload.js +3 -4
  122. package/es/HiForm/HiUploadField.js +2 -3
  123. package/es/HiForm/HiUploadInput.js +2 -3
  124. package/es/HiIcon/HiIcon.js +1 -1
  125. package/es/HiNotice/HiKPI.js +3 -5
  126. package/es/HiPaymentMeans/HiPaymentMeans.js +1 -1
  127. package/es/HiPdfReader/HiPdfReader.js +2 -3
  128. package/es/HiScrollStepper/HiScrollStepper.js +1 -1
  129. package/es/HiSelect/HiDynamicSelect.js +4 -6
  130. package/es/HiSelect/HiDynamicSelectField.js +2 -3
  131. package/es/HiSelect/HiNestedSelect.js +3 -5
  132. package/es/HiSelect/HiNestedSelectContent.js +2 -3
  133. package/es/HiSelect/HiNestedSelectField.js +2 -3
  134. package/es/HiSelect/HiSelect.js +2 -3
  135. package/es/HiSelect/HiSelectContent.js +6 -8
  136. package/es/HiSelect/HiSelectField.js +2 -3
  137. package/es/HiSelect/HiSelectInput.js +2 -3
  138. package/es/HiSelect/HiSelectMobile.js +3 -4
  139. package/es/HiSelect/HiSuggestSelect.js +2 -3
  140. package/es/HiSelect/HiSuggestSelectField.js +2 -3
  141. package/es/HiSelect/index.js +1 -1
  142. package/es/HiSelectableList/HiSelectableList.js +3 -4
  143. package/es/HiSelectableList/HiSelectableListHierarchic.js +2 -3
  144. package/es/HiSelectableList/HiSelectableListItem.js +3 -2
  145. package/es/HiStepper/HiStep.js +1 -1
  146. package/es/HiTable/HiCellBuilder.js +3 -4
  147. package/es/HiTable/HiTable.js +1 -1
  148. package/es/HiTable/HiTableBody.js +2 -3
  149. package/es/HiTable/HiTableHeader.js +3 -4
  150. package/es/HiTable/HiTableRow.js +4 -6
  151. package/es/styles/MuiThemeProvider.js +3 -4
  152. package/package.json +80 -184
  153. package/styles/MuiThemeProvider.js +3 -4
package/package.json CHANGED
@@ -1,185 +1,81 @@
1
1
  {
2
- "name": "@hipay/hipay-material-ui",
3
- "private": false,
4
- "version": "4.0.0-beta1083-1",
5
- "description": "React components that implement Google's Material Design.",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://gitlab.hipay.org/backend/hipay-material-ui.git"
9
- },
10
- "license": "UNLICENSED",
11
- "bugs": {
12
- "url": "https://gitlab.hipay.org/backend/hipay-material-ui/issues"
13
- },
14
- "homepage": "http://materialui.hipay.dev.local/",
15
- "peerDependencies": {
16
- "@hipay/design-system": "2.0.0",
17
- "@mui/material": "5.8.4",
18
- "@mui/styles": "5.8.4",
19
- "@mui/styled-engine": "npm:@mui/styled-engine-sc@5.10.0",
20
- "@mui/styled-engine-sc": "5.10.0",
21
- "mdi-material-ui": "7.1.0",
22
- "moment-timezone": "0.5.27",
23
- "react": "17.0.2",
24
- "react-dom": "17.0.2",
25
- "styled-components": "5.3.0"
26
- },
27
- "dependencies": {
28
- "@babel/plugin-transform-runtime": "^7.8.3",
29
- "@babel/runtime": "7.6.3",
30
- "@mui/lab": "5.0.0-alpha.104",
31
- "@mui/icons-material": "^5.2.5",
32
- "brcast": "3.0.1",
33
- "classnames": "2.2.6",
34
- "cross-env": "6.0.3",
35
- "deepmerge": "4.2.2",
36
- "is-plain-object": "^3.0.1",
37
- "jss": "10.0.3",
38
- "jss-camel-case": "6.1.0",
39
- "jss-default-unit": "8.0.2",
40
- "jss-global": "3.0.0",
41
- "jss-nested": "6.0.1",
42
- "jss-props-sort": "6.0.0",
43
- "jss-vendor-prefixer": "8.0.1",
44
- "keycode": "2.2.0",
45
- "mini-html-webpack-plugin": "1.0.0",
46
- "prop-types": "15.7.2",
47
- "react-custom-scrollbars": "4.2.1",
48
- "react-day-picker": "7.4.0",
49
- "react-device-detect": "1.9.10",
50
- "react-jss": "10.0.3",
51
- "react-lazyload": "2.6.2",
52
- "react-pdf": "5.7.2",
53
- "react-spinners": "0.12.0",
54
- "recompose": "0.30.0",
55
- "validator": "10.7.1"
56
- },
57
- "scripts": {
58
- "start": "styleguidist server",
59
- "styleguide": "styleguidist server",
60
- "styleguide:build": "styleguidist build",
61
- "build:es2015": "cross-env NODE_ENV=production babel --config-file ./babel.config.js ./src --out-dir ./build --ignore *.test.js",
62
- "build:es2015modules": "cross-env NODE_ENV=production babel --config-file ./babel.config.js ./src/index.js --out-file ./build/index.es.js",
63
- "build:es": "NODE_ENV=production cross-env babel --config-file ./babel.config.js ./src --out-dir ./build/es --ignore *.test.js",
64
- "build:umd": "cross-env BABEL_ENV=production-umd rollup -c scripts/rollup.config.js",
65
- "build:copy-files": "node ./scripts/copy-files.js",
66
- "build": "NODE_ENV=production yarn build:es2015 && yarn build:es2015modules && yarn build:es && yarn build:copy-files && yarn post:build",
67
- "post:build": "rm build/App.js build/index.js build/index.es.js build/serviceWorker.js build/es/App.js build/es/index.js build/es/serviceWorker.js",
68
- "test:unit": "cross-env NODE_ENV=test mocha --require @babel/register src/setupTest src/**/*.test.js",
69
- "test": "cross-env NODE_ENV=test mocha --require @babel/register src/setupTest"
70
- },
71
- "browserslist": {
72
- "production": [
73
- ">0.2%",
74
- "not dead",
75
- "not op_mini all"
76
- ],
77
- "development": [
78
- "last 1 chrome version",
79
- "last 1 firefox version",
80
- "last 1 safari version"
81
- ]
82
- },
83
- "babelMacros": {
84
- "styledComponents": {}
85
- },
86
- "devDependencies": {
87
- "@babel/cli": "7.0.0",
88
- "@babel/core": "7.7.7",
89
- "@babel/node": "^7.7.7",
90
- "@babel/plugin-proposal-class-properties": "7.7.4",
91
- "@babel/plugin-proposal-optional-chaining": "7.7.5",
92
- "@babel/plugin-transform-object-assign": "7.7.4",
93
- "@babel/preset-env": "7.7.7",
94
- "@babel/preset-react": "7.7.4",
95
- "@babel/register": "7.0.0",
96
- "@hipay/design-system": "2.0.0",
97
- "@mui/material": "5.8.4",
98
- "@mui/styles": "5.8.4",
99
- "@mui/styled-engine": "npm:@mui/styled-engine-sc@5.10.0",
100
- "@mui/styled-engine-sc": "5.10.0",
101
- "@rollup/plugin-node-resolve": "7.0.0",
102
- "@rollup/plugin-url": "4.0.1",
103
- "@svgr/rollup": "5.0.1",
104
- "@testing-library/dom": "6.11.0",
105
- "@testing-library/jest-dom": "4.2.4",
106
- "@testing-library/react": "9.4.0",
107
- "@testing-library/user-event": "8.0.3",
108
- "@types/enzyme": "^3.10.3",
109
- "@types/react": "^16.9.2",
110
- "autoprefixer": "^9.6.1",
111
- "babel-loader": "8.0.6",
112
- "babel-plugin-macros": "^2.8.0",
113
- "babel-plugin-module-resolver": "4.0.0",
114
- "babel-plugin-react-remove-properties": "0.3.0",
115
- "babel-plugin-transform-dev-warning": "0.1.1",
116
- "babel-plugin-transform-react-constant-elements": "6.23.0",
117
- "babel-preset-react-app": "9.1.0",
118
- "chai": "^4.1.2",
119
- "clean-css": "^4.1.11",
120
- "css-loader": "^1.0.0",
121
- "cz-conventional-changelog": "^2.1.0",
122
- "enzyme": "^3.10.0",
123
- "enzyme-adapter-react-16": "^1.14.0",
124
- "eslint": "6.8.0",
125
- "eslint-plugin-import": "2.19.1",
126
- "eslint-plugin-jsx-a11y": "6.2.3",
127
- "eslint-plugin-react": "7.17.0",
128
- "fg-loadcss": "2.1.0",
129
- "fs-extra": "7.0.0",
130
- "glob": "7.1.6",
131
- "gm": "1.23.1",
132
- "isomorphic-fetch": "^3.0.0",
133
- "jsdom": "^12.0.0",
134
- "jss-rtl": "^0.2.1",
135
- "karma": "^4.4.1",
136
- "karma-browserstack-launcher": "^1.5.1",
137
- "karma-chrome-launcher": "^2.2.0",
138
- "karma-mocha": "^1.3.0",
139
- "karma-mocha-reporter": "^2.2.5",
140
- "karma-sourcemap-loader": "^0.3.7",
141
- "karma-webpack": "^3.0.0",
142
- "lz-string": "^1.4.4",
143
- "mdi-material-ui": "7.1.0",
144
- "mocha": "^5.0.0",
145
- "moment-timezone": "0.5.27",
146
- "nyc": "^14.1.1",
147
- "path": "0.12.7",
148
- "postcss": "7.0.26",
149
- "prettier": "1.19.1",
150
- "raw-loader": "4.0.0",
151
- "react": "17.0.2",
152
- "react-docgen": "5.1.0",
153
- "react-dom": "17.0.2",
154
- "react-inspector": "4.0.0",
155
- "react-markdown": "4.3.1",
156
- "react-number-format": "4.3.1",
157
- "react-redux": "7.1.3",
158
- "react-styleguidist": "10.4.2",
159
- "react-test-renderer": "17.0.2",
160
- "react-use": "^13.27.1",
161
- "rollup": "1.29.0",
162
- "rollup-plugin-babel": "4.3.3",
163
- "rollup-plugin-commonjs": "10.1.0",
164
- "rollup-plugin-json": "^3.1.0",
165
- "rollup-plugin-node-globals": "^1.2.1",
166
- "rollup-plugin-node-resolve": "^3.3.0",
167
- "rollup-plugin-size-snapshot": "^0.12.0",
168
- "rollup-plugin-uglify": "^4.0.0",
169
- "sinon": "^6.0.0",
170
- "size-limit": "^2.1.6",
171
- "styled-components": "5.3.0",
172
- "typescript": "^3.6.2",
173
- "url-loader": "^1.0.1",
174
- "webfontloader": "^1.6.28",
175
- "webpack": "4.41.5",
176
- "webpack-bundle-analyzer": "^3.6.0"
177
- },
178
- "sideEffects": false,
179
- "engines": {
180
- "node": ">=6.0.0"
181
- },
182
- "resolutions": {
183
- "@mui/styled-engine": "npm:@mui/styled-engine-sc@5.10.0"
184
- }
185
- }
2
+ "name": "@hipay/hipay-material-ui",
3
+ "private": false,
4
+ "version": "4.0.0-beta6508",
5
+ "description": "React components that implement Google's Material Design.",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://gitlab.hipay.org/backend/hipay-material-ui.git"
9
+ },
10
+ "license": "UNLICENSED",
11
+ "bugs": {
12
+ "url": "https://gitlab.hipay.org/backend/hipay-material-ui/issues"
13
+ },
14
+ "homepage": "http://materialui.hipay.dev.local/",
15
+ "peerDependencies": {
16
+ "@hipay/design-system": "2.1.0",
17
+ "@mui/material": "5.8.4",
18
+ "@mui/styles": "5.8.4",
19
+ "@mui/styled-engine": "npm:@mui/styled-engine-sc@5.10.0",
20
+ "@mui/styled-engine-sc": "5.10.0",
21
+ "mdi-material-ui": "7.1.0",
22
+ "moment-timezone": "0.5.27",
23
+ "react": "17.0.2",
24
+ "react-dom": "17.0.2",
25
+ "styled-components": "5.3.0"
26
+ },
27
+ "dependencies": {
28
+ "@babel/plugin-transform-runtime": "^7.8.3",
29
+ "@babel/runtime": "7.6.3",
30
+ "@mui/lab": "5.0.0-alpha.104",
31
+ "@mui/icons-material": "^5.2.5",
32
+ "brcast": "3.0.1",
33
+ "classnames": "2.2.6",
34
+ "cross-env": "6.0.3",
35
+ "deepmerge": "4.2.2",
36
+ "is-plain-object": "^3.0.1",
37
+ "jss": "10.0.3",
38
+ "jss-camel-case": "6.1.0",
39
+ "jss-default-unit": "8.0.2",
40
+ "jss-global": "3.0.0",
41
+ "jss-nested": "6.0.1",
42
+ "jss-props-sort": "6.0.0",
43
+ "jss-vendor-prefixer": "8.0.1",
44
+ "keycode": "2.2.0",
45
+ "mini-html-webpack-plugin": "1.0.0",
46
+ "prop-types": "15.7.2",
47
+ "react-custom-scrollbars": "4.2.1",
48
+ "react-day-picker": "7.4.0",
49
+ "react-device-detect": "1.9.10",
50
+ "react-jss": "10.0.3",
51
+ "react-lazyload": "2.6.2",
52
+ "react-pdf": "5.7.2",
53
+ "react-spinners": "0.12.0",
54
+ "recompose": "0.30.0",
55
+ "validator": "10.7.1"
56
+ },
57
+ "browserslist": {
58
+ "production": [
59
+ ">0.2%",
60
+ "not dead",
61
+ "not op_mini all"
62
+ ],
63
+ "development": [
64
+ "last 1 chrome version",
65
+ "last 1 firefox version",
66
+ "last 1 safari version"
67
+ ]
68
+ },
69
+ "babelMacros": {
70
+ "styledComponents": {}
71
+ },
72
+ "sideEffects": false,
73
+ "engines": {
74
+ "node": ">=6.0.0"
75
+ },
76
+ "resolutions": {
77
+ "@mui/styled-engine": "npm:@mui/styled-engine-sc@5.10.0"
78
+ },
79
+ "main": "./index.js",
80
+ "module": "./esm/index.js"
81
+ }
@@ -20,7 +20,7 @@ var _brcast = _interopRequireDefault(require("brcast"));
20
20
  var _themeListener = _interopRequireWildcard(require("./themeListener"));
21
21
  var _exactProp = _interopRequireDefault(require("../utils/exactProp"));
22
22
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
23
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
23
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
24
24
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
25
25
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
26
26
  /**
@@ -29,7 +29,6 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
29
29
  * This component should preferably be used at **the root of your component tree**.
30
30
  */
31
31
  var MuiThemeProvider = /*#__PURE__*/function (_React$Component) {
32
- (0, _inherits2.default)(MuiThemeProvider, _React$Component);
33
32
  function MuiThemeProvider(props, context) {
34
33
  var _this;
35
34
  (0, _classCallCheck2.default)(this, MuiThemeProvider);
@@ -44,7 +43,8 @@ var MuiThemeProvider = /*#__PURE__*/function (_React$Component) {
44
43
  _this.broadcast.setState(_this.mergeOuterLocalTheme(props.theme));
45
44
  return _this;
46
45
  }
47
- (0, _createClass2.default)(MuiThemeProvider, [{
46
+ (0, _inherits2.default)(MuiThemeProvider, _React$Component);
47
+ return (0, _createClass2.default)(MuiThemeProvider, [{
48
48
  key: "getChildContext",
49
49
  value: function getChildContext() {
50
50
  var _this$props = this.props,
@@ -115,7 +115,6 @@ var MuiThemeProvider = /*#__PURE__*/function (_React$Component) {
115
115
  return this.props.children;
116
116
  }
117
117
  }]);
118
- return MuiThemeProvider;
119
118
  }(_react.default.Component);
120
119
  MuiThemeProvider.childContextTypes = (0, _objectSpread2.default)({}, _themeListener.default.contextTypes, {
121
120
  muiThemeProviderOptions: _propTypes.default.object