@mui/utils 5.13.1 → 5.13.6

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 (187) hide show
  1. package/CHANGELOG.md +267 -4
  2. package/ClassNameGenerator/ClassNameGenerator.d.ts +6 -6
  3. package/ClassNameGenerator/index.d.ts +1 -1
  4. package/{HTMLElementType.d.ts → HTMLElementType/HTMLElementType.d.ts} +3 -3
  5. package/HTMLElementType/index.d.ts +1 -0
  6. package/HTMLElementType/index.js +13 -0
  7. package/HTMLElementType/package.json +6 -0
  8. package/{capitalize.d.ts → capitalize/capitalize.d.ts} +1 -1
  9. package/{capitalize.js → capitalize/capitalize.js} +1 -1
  10. package/capitalize/index.d.ts +1 -0
  11. package/capitalize/index.js +13 -0
  12. package/capitalize/package.json +6 -0
  13. package/{chainPropTypes.d.ts → chainPropTypes/chainPropTypes.d.ts} +2 -2
  14. package/chainPropTypes/index.d.ts +1 -0
  15. package/chainPropTypes/index.js +13 -0
  16. package/chainPropTypes/package.json +6 -0
  17. package/composeClasses/composeClasses.d.ts +1 -1
  18. package/composeClasses/index.d.ts +1 -1
  19. package/createChainedFunction.d.ts +7 -7
  20. package/{debounce.d.ts → debounce/debounce.d.ts} +4 -8
  21. package/{debounce.js → debounce/debounce.js} +1 -0
  22. package/debounce/index.d.ts +2 -0
  23. package/debounce/index.js +26 -0
  24. package/debounce/package.json +6 -0
  25. package/deepmerge.d.ts +5 -5
  26. package/deepmerge.js +3 -3
  27. package/elementAcceptingRef.d.ts +3 -3
  28. package/elementTypeAcceptingRef.d.ts +3 -3
  29. package/esm/HTMLElementType/index.js +1 -0
  30. package/esm/{capitalize.js → capitalize/capitalize.js} +1 -1
  31. package/esm/capitalize/index.js +1 -0
  32. package/esm/chainPropTypes/index.js +1 -0
  33. package/{modern → esm/debounce}/debounce.js +1 -0
  34. package/esm/debounce/index.js +2 -0
  35. package/esm/deepmerge.js +2 -3
  36. package/esm/{exactProp.js → exactProp/exactProp.js} +3 -3
  37. package/esm/exactProp/index.js +1 -0
  38. package/esm/ownerDocument/index.js +1 -0
  39. package/esm/ownerWindow/index.js +1 -0
  40. package/esm/{ownerWindow.js → ownerWindow/ownerWindow.js} +1 -1
  41. package/esm/ponyfillGlobal/index.js +1 -0
  42. package/esm/requirePropFactory.js +2 -3
  43. package/esm/resolveProps.js +4 -10
  44. package/esm/useControlled/index.js +1 -0
  45. package/esm/useEnhancedEffect/index.js +1 -0
  46. package/esm/useEventCallback/index.js +1 -0
  47. package/{modern → esm/useEventCallback}/useEventCallback.js +1 -1
  48. package/esm/useForkRef/index.js +1 -0
  49. package/esm/{useForkRef.js → useForkRef/useForkRef.js} +1 -1
  50. package/esm/useId/index.js +1 -0
  51. package/{exactProp.d.ts → exactProp/exactProp.d.ts} +2 -2
  52. package/{exactProp.js → exactProp/exactProp.js} +4 -3
  53. package/exactProp/index.d.ts +1 -0
  54. package/exactProp/index.js +13 -0
  55. package/exactProp/package.json +6 -0
  56. package/formatMuiErrorMessage.d.ts +6 -6
  57. package/generateUtilityClass/generateUtilityClass.d.ts +2 -2
  58. package/generateUtilityClass/index.d.ts +2 -2
  59. package/generateUtilityClasses/generateUtilityClasses.d.ts +1 -1
  60. package/generateUtilityClasses/index.d.ts +1 -1
  61. package/getDisplayName.d.ts +8 -8
  62. package/getScrollbarSize.d.ts +1 -1
  63. package/index.d.ts +38 -38
  64. package/index.js +1 -1
  65. package/integerPropType.d.ts +7 -7
  66. package/isMuiElement.d.ts +1 -1
  67. package/legacy/HTMLElementType/index.js +1 -0
  68. package/legacy/{capitalize.js → capitalize/capitalize.js} +1 -1
  69. package/legacy/capitalize/index.js +1 -0
  70. package/legacy/chainPropTypes/index.js +1 -0
  71. package/legacy/{debounce.js → debounce/debounce.js} +1 -0
  72. package/legacy/debounce/index.js +2 -0
  73. package/legacy/deepmerge.js +2 -4
  74. package/legacy/exactProp/exactProp.js +22 -0
  75. package/legacy/exactProp/index.js +1 -0
  76. package/legacy/index.js +1 -1
  77. package/legacy/ownerDocument/index.js +1 -0
  78. package/legacy/ownerWindow/index.js +1 -0
  79. package/legacy/{ownerWindow.js → ownerWindow/ownerWindow.js} +1 -1
  80. package/legacy/ponyfillGlobal/index.js +1 -0
  81. package/legacy/requirePropFactory.js +2 -4
  82. package/legacy/resolveProps.js +4 -6
  83. package/legacy/useControlled/index.js +1 -0
  84. package/legacy/useEnhancedEffect/index.js +1 -0
  85. package/legacy/useEventCallback/index.js +1 -0
  86. package/legacy/{useEventCallback.js → useEventCallback/useEventCallback.js} +1 -1
  87. package/legacy/useForkRef/index.js +1 -0
  88. package/legacy/{useForkRef.js → useForkRef/useForkRef.js} +1 -1
  89. package/legacy/useId/index.js +1 -0
  90. package/modern/HTMLElementType/index.js +1 -0
  91. package/modern/{capitalize.js → capitalize/capitalize.js} +1 -1
  92. package/modern/capitalize/index.js +1 -0
  93. package/modern/chainPropTypes/index.js +1 -0
  94. package/{esm → modern/debounce}/debounce.js +1 -0
  95. package/modern/debounce/index.js +2 -0
  96. package/modern/deepmerge.js +2 -3
  97. package/modern/{exactProp.js → exactProp/exactProp.js} +3 -3
  98. package/modern/exactProp/index.js +1 -0
  99. package/modern/index.js +1 -1
  100. package/modern/ownerDocument/index.js +1 -0
  101. package/modern/ownerWindow/index.js +1 -0
  102. package/modern/{ownerWindow.js → ownerWindow/ownerWindow.js} +1 -1
  103. package/modern/ponyfillGlobal/index.js +1 -0
  104. package/modern/requirePropFactory.js +2 -3
  105. package/modern/resolveProps.js +4 -10
  106. package/modern/useControlled/index.js +1 -0
  107. package/modern/useEnhancedEffect/index.js +1 -0
  108. package/modern/useEventCallback/index.js +1 -0
  109. package/{esm → modern/useEventCallback}/useEventCallback.js +1 -1
  110. package/modern/useForkRef/index.js +1 -0
  111. package/modern/{useForkRef.js → useForkRef/useForkRef.js} +1 -1
  112. package/modern/useId/index.js +1 -0
  113. package/ownerDocument/index.d.ts +1 -0
  114. package/ownerDocument/index.js +13 -0
  115. package/{ownerDocument.d.ts → ownerDocument/ownerDocument.d.ts} +1 -1
  116. package/ownerDocument/package.json +6 -0
  117. package/ownerWindow/index.d.ts +1 -0
  118. package/ownerWindow/index.js +13 -0
  119. package/{ownerWindow.d.ts → ownerWindow/ownerWindow.d.ts} +1 -1
  120. package/{ownerWindow.js → ownerWindow/ownerWindow.js} +1 -1
  121. package/ownerWindow/package.json +6 -0
  122. package/package.json +2 -2
  123. package/ponyfillGlobal/index.d.ts +1 -0
  124. package/ponyfillGlobal/index.js +13 -0
  125. package/ponyfillGlobal/package.json +6 -0
  126. package/{ponyfillGlobal.d.ts → ponyfillGlobal/ponyfillGlobal.d.ts} +2 -2
  127. package/refType.d.ts +3 -3
  128. package/requirePropFactory.js +3 -3
  129. package/resolveProps.d.ts +12 -12
  130. package/resolveProps.js +5 -10
  131. package/setRef.d.ts +15 -15
  132. package/useControlled/index.d.ts +2 -0
  133. package/useControlled/index.js +13 -0
  134. package/useControlled/package.json +6 -0
  135. package/useEnhancedEffect/index.d.ts +1 -0
  136. package/useEnhancedEffect/index.js +13 -0
  137. package/useEnhancedEffect/package.json +6 -0
  138. package/useEnhancedEffect/useEnhancedEffect.d.ts +3 -0
  139. package/useEventCallback/index.d.ts +1 -0
  140. package/useEventCallback/index.js +13 -0
  141. package/useEventCallback/package.json +6 -0
  142. package/{useEventCallback.d.ts → useEventCallback/useEventCallback.d.ts} +4 -4
  143. package/{useEventCallback.js → useEventCallback/useEventCallback.js} +1 -1
  144. package/{useEventCallback.spec.d.ts → useEventCallback/useEventCallback.spec.d.ts} +1 -1
  145. package/useForkRef/index.d.ts +1 -0
  146. package/useForkRef/index.js +13 -0
  147. package/useForkRef/package.json +6 -0
  148. package/{useForkRef.d.ts → useForkRef/useForkRef.d.ts} +2 -2
  149. package/{useForkRef.js → useForkRef/useForkRef.js} +1 -1
  150. package/useId/index.d.ts +1 -0
  151. package/useId/index.js +13 -0
  152. package/useId/package.json +6 -0
  153. package/{useId.d.ts → useId/useId.d.ts} +7 -7
  154. package/useIsFocusVisible.d.ts +9 -9
  155. package/usePreviousProps.d.ts +2 -2
  156. package/visuallyHidden.d.ts +2 -2
  157. package/legacy/exactProp.js +0 -23
  158. package/useEnhancedEffect.d.ts +0 -6
  159. /package/{HTMLElementType.js → HTMLElementType/HTMLElementType.js} +0 -0
  160. /package/{chainPropTypes.js → chainPropTypes/chainPropTypes.js} +0 -0
  161. /package/esm/{HTMLElementType.js → HTMLElementType/HTMLElementType.js} +0 -0
  162. /package/esm/{chainPropTypes.js → chainPropTypes/chainPropTypes.js} +0 -0
  163. /package/esm/{ownerDocument.js → ownerDocument/ownerDocument.js} +0 -0
  164. /package/esm/{ponyfillGlobal.js → ponyfillGlobal/ponyfillGlobal.js} +0 -0
  165. /package/esm/{useControlled.js → useControlled/useControlled.js} +0 -0
  166. /package/esm/{useEnhancedEffect.js → useEnhancedEffect/useEnhancedEffect.js} +0 -0
  167. /package/esm/{useId.js → useId/useId.js} +0 -0
  168. /package/legacy/{HTMLElementType.js → HTMLElementType/HTMLElementType.js} +0 -0
  169. /package/legacy/{chainPropTypes.js → chainPropTypes/chainPropTypes.js} +0 -0
  170. /package/legacy/{ownerDocument.js → ownerDocument/ownerDocument.js} +0 -0
  171. /package/legacy/{ponyfillGlobal.js → ponyfillGlobal/ponyfillGlobal.js} +0 -0
  172. /package/legacy/{useControlled.js → useControlled/useControlled.js} +0 -0
  173. /package/legacy/{useEnhancedEffect.js → useEnhancedEffect/useEnhancedEffect.js} +0 -0
  174. /package/legacy/{useId.js → useId/useId.js} +0 -0
  175. /package/modern/{HTMLElementType.js → HTMLElementType/HTMLElementType.js} +0 -0
  176. /package/modern/{chainPropTypes.js → chainPropTypes/chainPropTypes.js} +0 -0
  177. /package/modern/{ownerDocument.js → ownerDocument/ownerDocument.js} +0 -0
  178. /package/modern/{ponyfillGlobal.js → ponyfillGlobal/ponyfillGlobal.js} +0 -0
  179. /package/modern/{useControlled.js → useControlled/useControlled.js} +0 -0
  180. /package/modern/{useEnhancedEffect.js → useEnhancedEffect/useEnhancedEffect.js} +0 -0
  181. /package/modern/{useId.js → useId/useId.js} +0 -0
  182. /package/{ownerDocument.js → ownerDocument/ownerDocument.js} +0 -0
  183. /package/{ponyfillGlobal.js → ponyfillGlobal/ponyfillGlobal.js} +0 -0
  184. /package/{useControlled.d.ts → useControlled/useControlled.d.ts} +0 -0
  185. /package/{useControlled.js → useControlled/useControlled.js} +0 -0
  186. /package/{useEnhancedEffect.js → useEnhancedEffect/useEnhancedEffect.js} +0 -0
  187. /package/{useId.js → useId/useId.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,268 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.13.6
4
+
5
+ _Jun 21, 2023_
6
+
7
+ A big thanks to the 25 contributors who made this release possible. Here are some highlights ✨:
8
+
9
+ - 💫 Added [Slider](https://mui.com/material-ui/react-slider/#material-you-version) component using the new Material You design language (#37520) @DiegoAndai.
10
+ - 📚 Added [examples](https://github.com/mui/material-ui/tree/master/examples/material-next-app-router-ts) showcasing how you can use Material UI with next.js's app directory (#37315) @smo043
11
+
12
+ ### `@mui/material@5.13.6`
13
+
14
+ - &#8203;<!-- 45 -->[Autocomplete] Fixed autocomplete's existing option selection (#37012) @bencevoros
15
+ - &#8203;<!-- 44 -->[Autocomplete] Add hint demos to Material UI and Joy UI docs (#37496) @sai6855
16
+ - &#8203;<!-- 13 -->[Masonry] Fix ResizeObserver loop limit exceeded error (#37208) @hbjORbj
17
+ - &#8203;<!-- 11 -->[Tooltip][material] Improve warning when Tooltip receives string child (#37530) @DiegoAndai
18
+ - &#8203;<!-- 10 -->[Modal] Add missing members to ModalOwnProps (#37568) @ivp-dev
19
+ - &#8203;<!-- 09 -->[Slider] Arrow keys control does not work with float numbers (#37071) @gitstart
20
+ - &#8203;<!-- 08 -->[SvgIcon] allow `svg` as a child (#37231) @siriwatknp
21
+ - &#8203;<!-- 07 -->[Timeline] Add alternate reverse position (#37311) @abhinavkmrru
22
+ - &#8203;<!-- 06 -->[Tooltip] Fix type of sx prop in `slotProps` (#37550) @SuperKXT
23
+ - &#8203;<!-- 05 -->[TouchRipple] perf: avoid calling `clearTimeout()` (#37512) @romgrk
24
+
25
+ ### `@mui/material-next@6.0.0-alpha.90`
26
+
27
+ - &#8203;<!-- 12 -->[Material You] Add Slider component with Material You design (#37520) @DiegoAndai
28
+
29
+ ### `@mui/joy@5.0.0-alpha.85`
30
+
31
+ - &#8203;<!-- 37 -->[ButtonGroup][joy] Missing border when spacing is more than zero (#37577) @siriwatknp
32
+ - &#8203;<!-- 36 -->[CardActions][joy] Add `CardActions` component (#37441) @siriwatknp
33
+ - &#8203;<!-- 14 -->[Menu][joy] Fix closing of `Menu` in demos (#36917) @sai6855
34
+
35
+ ### `@mui/base@5.0.0-beta.5`
36
+
37
+ - &#8203;<!-- 39 -->[Menu][base] Add the resetHighlight action (#37392) @michaldudak
38
+ - &#8203;<!-- 38 -->[Select][base] Expose the `areOptionsEqual` prop (#37615) @michaldudak
39
+
40
+ ### `@mui/utils@5.13.2`
41
+
42
+ - &#8203;<!-- 04 -->[utils] Allow nested imports in @mui/utils to speed up build (#37586) @flaviendelangle
43
+
44
+ ### Docs
45
+
46
+ - &#8203;<!-- 43 -->[docs][base] Improve Base UI all components images (#37590) @danilo-leal
47
+ - &#8203;<!-- 42 -->[docs][base] Add pages for coming soon components (#37575) @danilo-leal
48
+ - &#8203;<!-- 41 -->[docs][base] Add a Snackbar introduction demo (#37602) @danilo-leal
49
+ - &#8203;<!-- 40 -->[docs][base] Add page for all Base UI components (#37536) @danilo-leal
50
+ - &#8203;<!-- 33 -->[docs] Fix scrollbar on snackbar page (#37657) @oliviertassinari
51
+ - &#8203;<!-- 32 -->[docs] Switch order of snackbar buttons in demos (#37389) @Primajin
52
+ - &#8203;<!-- 31 -->[docs] Add support for Tailwind CSS and plain CSS demos (#37319) @mnajdova
53
+ - &#8203;<!-- 30 -->[docs] Tree view color fix for dark mode in Gmail example (#37051) @PunitSoniME
54
+ - &#8203;<!-- 29 -->[docs] Inline the Base UI demo (#37603) @oliviertassinari
55
+ - &#8203;<!-- 28 -->[docs] Fix typo in themed components page (#37598) @vinayr
56
+ - &#8203;<!-- 27 -->[docs] Fix render inline code in CSS description generation (#37448) @alexfauquette
57
+ - &#8203;<!-- 26 -->[docs] Add styles to styled argument list (#37558) @DiegoAndai
58
+ - &#8203;<!-- 25 -->[docs] Improve awkward wording in READMEs of example projects (#37110) @DIWAKARKASHYAP
59
+ - &#8203;<!-- 24 -->[docs] Fix small base -> base-ui migration issue (#37594) @oliviertassinari
60
+ - &#8203;<!-- 23 -->[docs] Fix GitHub typo (#37578) @oliviertassinari
61
+ - &#8203;<!-- 22 -->[docs] Improve release guide (#37547) @DiegoAndai
62
+ - &#8203;<!-- 21 -->[docs] Review fixes to the Material UI's "Example projects" page (#37444) @danilo-leal
63
+ - &#8203;<!-- 17 -->[docs][joy] Add a messages template (#37546) @sernstberger
64
+ - &#8203;<!-- 16 -->[docs][joy] Add pages for coming soon Joy UI components (#36920) @danilo-leal
65
+ - &#8203;<!-- 15 -->[docs][joy] Add design and consistency tweaks to the Playground (#37580) @danilo-leal
66
+ - &#8203;<!-- 37 -->[docs] Add and revise Base UI + Create React App examples (#36825) @samuelsycamore
67
+ - &#8203;<!-- 20 -->[docs-infra] Fix demos border radius (#37658) @oliviertassinari
68
+ - &#8203;<!-- 19 -->[docs-infra] Add analyticsTags to Algolia (#37600) @Janpot
69
+ - &#8203;<!-- 18 -->[docs-infra] Simplify product id handling (#37593) @oliviertassinari
70
+ - &#8203;<!-- 35 -->[CHANGELOG] Add missing release date for v5.13.5 @oliviertassinari
71
+ - &#8203;<!-- 16 -->[examples] Shell command fix in the readme file of material-next-app-router-ts example (#37675) @bablukpik
72
+ - &#8203;<!-- 15 -->[examples] Next.js v13 app router with Material UI (#37315) @smo043
73
+
74
+ ### Core
75
+
76
+ - &#8203;<!-- 34 -->[core] Update to Node.js v18 for `test-dev` CI (#37604) @ZeeshanTamboli
77
+ - &#8203;<!-- 39 -->[core] Add priority support issue template (#37671) @DanailH
78
+ - &#8203;<!-- 03 -->[website] Update roadmap page (#37587) @cherniavskii
79
+ - &#8203;<!-- 02 -->[website] Add CSP to limit iframes to self @oliviertassinari
80
+ - &#8203;<!-- 01 -->[website] Link mui-x Stack Overflow in footer link (#37509) @richbustos
81
+
82
+ All contributors of this release in alphabetical order: @abhinavkmrru, @alexfauquette, @bencevoros, @cherniavskii, @danilo-leal, @DiegoAndai, @DIWAKARKASHYAP, @flaviendelangle, @gitstart, @hbjORbj, @ivp-dev, @Janpot, @michaldudak, @mnajdova, @oliviertassinari, @Primajin, @PunitSoniME, @richbustos, @romgrk, @sai6855, @sernstberger, @siriwatknp, @SuperKXT, @vinayr, @ZeeshanTamboli
83
+
84
+ ## 5.13.5
85
+
86
+ _Jun 12, 2023_
87
+
88
+ A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
89
+
90
+ - 💫 Added `ButtonGroup` component in Joy UI (#37407) @siriwatknp.
91
+ - 🐛 bug fixes and 📚 documentation improvements.
92
+
93
+ ### `@mui/material@5.13.5`
94
+
95
+ - &#8203;<!-- 03 -->[Material][Popover] Add support for virtual element as anchorEl (#37465) @DiegoAndai
96
+
97
+ ### `@mui/joy@5.0.0-alpha.84`
98
+
99
+ - &#8203;<!-- 20 -->[ButtonGroup][joy] Replace `detached` prop with `spacing`. (#37562) @siriwatknp
100
+ - &#8203;<!-- 19 -->[ButtonGroup][joy] Add `ButtonGroup` component (#37407) @siriwatknp
101
+ - &#8203;<!-- 04 -->[Input][joy] Simplify focus with `:focus-within` and add examples (#37385) @siriwatknp
102
+
103
+ ### Docs
104
+
105
+ - &#8203;<!-- 17 -->[docs] Move Toolpad from alpha to beta (#37288) @bharatkashyap
106
+ - &#8203;<!-- 16 -->[docs] Add usage of createCssVarsProvider (#37513) @brijeshb42
107
+ - &#8203;<!-- 15 -->[docs] Update /base url references to /base-ui (#37412) @brijeshb42
108
+ - &#8203;<!-- 14 -->[docs] Skip components and hooks due to duplicate index (#37539) @siriwatknp
109
+ - &#8203;<!-- 13 -->[docs] Polish Sign in to your account joy demo (#37498) @oliviertassinari
110
+ - &#8203;<!-- 12 -->[docs] Remove outdated Material UI FAQ @oliviertassinari
111
+ - &#8203;<!-- 11 -->[docs] Fix crash access to localStorage in Firefox (#37518) @brijeshb42
112
+ - &#8203;<!-- 10 -->[docs-infra] Enforce max length on description (#37565) @oliviertassinari
113
+ - &#8203;<!-- 09 -->[docs-infra] Mandatory versions (#37497) @oliviertassinari
114
+ - &#8203;<!-- 08 -->[docs-infra] Fix lighthouse img size issue (#37415) @oliviertassinari
115
+ - &#8203;<!-- 07 -->[docs][joy] Replace JoyInput with Input component in JoyUI Text Field documentation (#37548) @musama619
116
+ - &#8203;<!-- 06 -->[docs][joy] Add typography introduction demo component (#37553) @sernstberger
117
+ - &#8203;<!-- 05 -->[docs][joy] Add a rental dashboard template (#37453) @sernstberger
118
+
119
+ ### Core
120
+
121
+ - &#8203;<!-- 21 -->Move the React Community Engineer - X in Open Roles (#37552) @DanailH
122
+ - &#8203;<!-- 18 -->[core] Update Node.js version to v18 on CircleCI, CodeSandbox, and Netlify (#37173) @ZeeshanTamboli
123
+ - &#8203;<!-- 02 -->[website] RIDI gold sponsorship end (#37517) @oliviertassinari
124
+ - &#8203;<!-- 01 -->[website] Update X landing page (#37387) @cherniavskii
125
+
126
+ All contributors of this release in alphabetical order: @brijeshb42, @cherniavskii, @DanailH, @DiegoAndai, @musama619, @oliviertassinari, @sernstberger, @siriwatknp, @ZeeshanTamboli
127
+
128
+ ## 5.13.4
129
+
130
+ <!-- generated comparing v5.13.3..master -->
131
+
132
+ _Jun 5, 2023_
133
+
134
+ A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
135
+
136
+ ### `@mui/material@5.13.4`
137
+
138
+ - &#8203;<!-- 20 -->[Autocomplete][material] Add missing `focusVisible` class in AutocompleteClasses (#37502) @sai6855
139
+ - &#8203;<!-- 04 -->[Menu][material] Fix MenuPaper class composition precedence (#37390) @DiegoAndai
140
+ - &#8203;<!-- 03 -->[MenuList] Fix to allow conditional rendering for a menu item under ListSubheader (#36890) @danielplewes
141
+ - &#8203;<!-- 02 -->[Stepper] Handle progress bar of mobile stepper when `steps` is one (#37079) @gitstart
142
+
143
+ ### `@mui/base@5.0.0-beta.4`
144
+
145
+ - &#8203;<!-- 16 -->[Input][base] Fix calling slotProps event handlers (#37463) @sai6855
146
+
147
+ ### `@mui/joy@5.0.0-alpha.82`
148
+
149
+ - &#8203;<!-- 19 -->[Avatar][joy] Fallback to `alt` when `src` or `srcSet` are not defined (#37469) @vishalthatipamula0219
150
+ - &#8203;<!-- 15 -->[Card][joy] Improve usability of card family (#37474) @siriwatknp
151
+
152
+ ### Docs
153
+
154
+ - &#8203;<!-- 18 -->[docs][base] useAutocomplete demos & docs (#37029) @mj12albert
155
+ - &#8203;<!-- 17 -->[docs][base] Remove usage of `component` prop in docs (#37462) @sai6855
156
+ - &#8203;<!-- 13 -->[docs] Fix docs redirections @oliviertassinari
157
+ - &#8203;<!-- 12 -->[docs] Fix Fluent -> Fluent UI @oliviertassinari
158
+ - &#8203;<!-- 11 -->[docs] Fix MUI Base -> Base UI @oliviertassinari
159
+ - &#8203;<!-- 10 -->[docs] Add base-vite-tailwind example repo (#36994) @mj12albert
160
+ - &#8203;<!-- 09 -->[docs] Fix search bar layout shift (#37460) @oliviertassinari
161
+ - &#8203;<!-- 08 -->[docs] Tweak Material UI's "Showcase" page design (#37259) @danilo-leal
162
+ - &#8203;<!-- 07 -->[docs] Tweak Material UI's "Template" page design (#37260) @danilo-leal
163
+ - &#8203;<!-- 06 -->[docs] Fix "Language" page removal leftovers (#37408) @danilo-leal
164
+ - &#8203;<!-- 05 -->[docs] Move contents of css-variables to sibling pages (#37411) @brijeshb42
165
+
166
+ ### Core
167
+
168
+ - &#8203;<!-- 14 -->[core] Do not let Renovate handle `examples` packages updates (#37386) @ZeeshanTamboli
169
+ - &#8203;<!-- 01 -->[website] Add header filters to the pricing table (#37455) @MBilalShafi
170
+
171
+ All contributors of this release in alphabetical order: @brijeshb42, @danielplewes, @danilo-leal, @DiegoAndai, @gitstart, @MBilalShafi, @mj12albert, @oliviertassinari, @sai6855, @siriwatknp, @vishalthatipamula0219, @ZeeshanTamboli
172
+
173
+ ## 5.13.3
174
+
175
+ <!-- generated comparing v5.13.2..master -->
176
+
177
+ _May 29, 2023_
178
+
179
+ A big thanks to the 15 contributors who made this release possible.
180
+ This release focuses primarily on 🐛 bug fixes and 📚 documentation improvements.
181
+
182
+ ### `@mui/material@5.13.3
183
+
184
+ - &#8203;<!-- 22 -->[Autocomplete] Accept external Listbox ref (#37325) @sai6855
185
+ - &#8203;<!-- 06 -->[Modal] Pass `className` from `BackdropProps` (#37399) @hbjORbj
186
+
187
+ ### `@mui/base@5.0.0-beta.3`
188
+
189
+ - &#8203;<!-- 20 -->[base] Maintain nodes document order in compound components (#36857) @michaldudak
190
+ - &#8203;<!-- 19 -->[base][joy] Prevent persisting hover state styles onclick on mobile (#36704) @gitstart
191
+ - &#8203;<!-- 18 -->[Menu][base] MenuItem as a link does not work (#37242) @nicolas-ot
192
+ - &#8203;<!-- 17 -->[MenuItem][Base] Pass idGenerator function (#37364) @sai6855
193
+ - &#8203;<!-- 16 -->[Slider][Base] Add Vertical slider demo (#37357) @sai6855
194
+
195
+ ### `@mui/joy@5.0.0-alpha.82`
196
+
197
+ - &#8203;<!-- 23 -->[Select][joy] Fix popup does not close (#37435) @siriwatknp
198
+ - &#8203;<!-- 21 -->[Badge][Joy] Fix `slots` element type in API docs (#37329) @zignis
199
+ - &#8203;<!-- 04 -->[Select] [joy] Handle long text content (#37289) @akash191095
200
+ - &#8203;<!-- 07 -->[Tooltip][Joy] Interactive doesn't work (#37159) @nicolas-ot
201
+
202
+ ### `@mui/codemod@5.13.3
203
+
204
+ - &#8203;<!-- 05 -->[mui-codemod] Add missing script to README (#37377) @hbjORbj
205
+
206
+ ### Docs
207
+
208
+ - &#8203;<!-- 14 -->[docs] Clarify Hidden down props as exclusive (#36927) @canac
209
+ - &#8203;<!-- 13 -->[docs] Add refine to Material UI "Related projects" and "More advanced example projects" pages (#37308) @necatiozmen
210
+ - &#8203;<!-- 12 -->[docs] Remove todo link from sidebar (#37373) @brijeshb42
211
+ - &#8203;<!-- 11 -->[docs] Clarify the peer dependency with react (#37360) @oliviertassinari
212
+ - &#8203;<!-- 10 -->[docs] Divider vertical middle prop migration (#36840) @JhonnK08
213
+ - &#8203;<!-- 09 -->[docs] Fix branding theme tabs and navigation bar regressions (#37362) @ZeeshanTamboli
214
+ - &#8203;<!-- 08 -->[docs-infra] Throw on incorrect internal links (#37326) @oliviertassinari
215
+
216
+ ### Core
217
+
218
+ - &#8203;<!-- 15 -->[core] Include scoped JSX namespace when resolving props (#37404) @LukasTy
219
+ - &#8203;<!-- 03 -->[test][useMediaQuery] Change SSR test description (#37403) @zignis
220
+ - &#8203;<!-- 02 -->[website] Sync with Ashby @oliviertassinari
221
+ - &#8203;<!-- 01 -->[website] Add David to about page (#37379) @DavidCnoops
222
+
223
+ All contributors of this release in alphabetical order: @akash191095, @brijeshb42, @canac, @DavidCnoops, @gitstart, @hbjORbj, @JhonnK08, @LukasTy, @michaldudak, @necatiozmen, @nicolas-ot, @oliviertassinari, @sai6855, @ZeeshanTamboli, @zignis
224
+
225
+ ## 5.13.2
226
+
227
+ <!-- generated comparing v5.13.1..master -->
228
+
229
+ _May 22, 2023_
230
+
231
+ A big thanks to the 12 contributors who made this release possible.
232
+ 📚 This release focuses primarily on documentation improvements.
233
+
234
+ ### `@mui/material@5.13.2
235
+
236
+ - [Slider] Tooltip positioning fixed for vertical slider (#37049) @PunitSoniME
237
+
238
+ ### Docs
239
+
240
+ - [docs][base] Remove default annotations from useTabsList return type (#37324) @TinaSay
241
+ - [docs][base] Remove default annotations from useTabPanel return type (#37323) @TinaSay
242
+ - [docs][base] Remove default annotations from useSwitch return type (#37322) @TinaSay
243
+ - [docs][base] Remove default annotations from useInput return type (#37321) @TinaSay
244
+ - [docs][base] Remove default annotations from useAutocomplete return type (#37320) @TinaSay
245
+ - [docs][base] Remove default annotations from useBadge's return type (#37313) @TinaSay
246
+ - [docs][base] Remove default annotations from useButton's return type (#37312) @TinaSay
247
+ - [docs][base] Remove default annotations from useSlider's return type (#37309) @TinaSay
248
+ - [docs] Remove Material UI's "Languages" page (#37314) @danilo-leal
249
+ - [docs] Prefer to link GitHub repository @oliviertassinari
250
+ - [docs] Move product versions to page context (#35078) @m4theushw
251
+ - [docs] Fix v5 migration npm install instruction (#37293) @oliviertassinari
252
+ - [docs][Tab] Add vertical tabs demo (#37292) @sai6855
253
+ - [docs][Transitions] Fix typo in code sample (#37300) @alexfauquette
254
+ - [examples] Remove `@babel/plugin-proposal-class-properties` from Material-Express-SSR example (#37305) @ZeeshanTamboli
255
+ - [Website] Add Brijesh to About page (#37318) @brijeshb42
256
+ - [website] Update pricing table (#37290) @cherniavskii
257
+ - [website] Update core open roles (#37224) @mnajdova
258
+
259
+ ### Core
260
+
261
+ - Revert "[core] Remove outdated babel proposal plugins (#36795)" (#37331) @michaldudak
262
+ - [core] Move esmExternals to the shared next config (#37332) @michaldudak
263
+
264
+ All contributors of this release in alphabetical order: @alexfauquette, @brijeshb42, @cherniavskii, @danilo-leal, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @PunitSoniME, @sai6855, @TinaSay, @ZeeshanTamboli
265
+
3
266
  ## 5.13.1
4
267
 
5
268
  <!-- generated comparing v5.13.0..master -->
@@ -627,7 +890,7 @@ _Mar 14, 2023_
627
890
 
628
891
  A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
629
892
 
630
- - @michaldudak added an option for [disabling the generation](https://mui.com/base/getting-started/customization/#disabling-default-css-classes) of the default classes in Base UI (#35963)
893
+ - @michaldudak added an option for [disabling the generation](https://mui.com/base-ui/getting-started/customization/#disabling-default-css-classes) of the default classes in Base UI (#35963)
631
894
  - other 🐛 bug fixes and 📚 documentation improvements.
632
895
 
633
896
  ### `@mui/material@5.11.13`
@@ -812,7 +1075,7 @@ _Feb 27, 2023_
812
1075
 
813
1076
  A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
814
1077
 
815
- - 📚 added API documentation for the slots in Base UI and Joy UI by @hbjORbj, for e.g. [SliderUnstyled API](https://mui.com/base/api/slider-unstyled/#slots)
1078
+ - 📚 added API documentation for the slots in Base UI and Joy UI by @hbjORbj, for e.g. [SliderUnstyled API](https://mui.com/base-ui/api/slider-unstyled/#slots)
816
1079
  - other 🐛 bug fixes and 📚 documentation improvements.
817
1080
 
818
1081
  ### `@mui/material@5.11.11`
@@ -1181,7 +1444,7 @@ A big thanks to the 13 contributors who made this release possible. Here are som
1181
1444
  + <SliderUnstyled slots={{ valueLabel: SliderValueLabel }} />
1182
1445
  ```
1183
1446
 
1184
- The following demo shows how to show a value label when it is hovered over with the thumb: https://mui.com/base/react-slider/#value-label
1447
+ The following demo shows how to show a value label when it is hovered over with the thumb: https://mui.com/base-ui/react-slider/#value-label
1185
1448
 
1186
1449
  - The following classes are removed from `sliderUnstyledClasses` since they are not needed for the value label:
1187
1450
 
@@ -2174,7 +2437,7 @@ _Oct 3, 2022_
2174
2437
 
2175
2438
  A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
2176
2439
 
2177
- - 🚀 [SnackbarUnstyled](https://mui.com/base/react-snackbar/) component & headless hook are added to Base UI (#33227) @ZeeshanTamboli
2440
+ - 🚀 [SnackbarUnstyled](https://mui.com/base-ui/react-snackbar/) component & headless hook are added to Base UI (#33227) @ZeeshanTamboli
2178
2441
  - 📚 [CSS variables documentation](https://mui.com/material-ui/experimental-api/css-theme-variables/overview/) for Material UI has been added by @siriwatknp (#33958)
2179
2442
  - And more 🐛 bug fixes and 📚 documentation improvements.
2180
2443
 
@@ -1,6 +1,6 @@
1
- declare const ClassNameGenerator: {
2
- configure(generator: (componentName: string) => string): void;
3
- generate(componentName: string): string;
4
- reset(): void;
5
- };
6
- export default ClassNameGenerator;
1
+ declare const ClassNameGenerator: {
2
+ configure(generator: (componentName: string) => string): void;
3
+ generate(componentName: string): string;
4
+ reset(): void;
5
+ };
6
+ export default ClassNameGenerator;
@@ -1 +1 @@
1
- export { default } from './ClassNameGenerator';
1
+ export { default } from './ClassNameGenerator';
@@ -1,3 +1,3 @@
1
- export default function HTMLElementType(props: {
2
- [key: string]: unknown;
3
- }, propName: string, componentName: string, location: string, propFullName: string): Error | null;
1
+ export default function HTMLElementType(props: {
2
+ [key: string]: unknown;
3
+ }, propName: string, componentName: string, location: string, propFullName: string): Error | null;
@@ -0,0 +1 @@
1
+ export { default } from './HTMLElementType';
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "default", {
8
+ enumerable: true,
9
+ get: function () {
10
+ return _HTMLElementType.default;
11
+ }
12
+ });
13
+ var _HTMLElementType = _interopRequireDefault(require("./HTMLElementType"));
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "../esm/HTMLElementType/index.js",
4
+ "main": "./index.js",
5
+ "types": "./index.d.ts"
6
+ }
@@ -1 +1 @@
1
- export default function capitalize(string: string): string;
1
+ export default function capitalize(string: string): string;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.default = capitalize;
8
- var _formatMuiErrorMessage2 = _interopRequireDefault(require("./formatMuiErrorMessage"));
8
+ var _formatMuiErrorMessage2 = _interopRequireDefault(require("../formatMuiErrorMessage"));
9
9
  // It should to be noted that this function isn't equivalent to `text-transform: capitalize`.
10
10
  //
11
11
  // A strict capitalization should uppercase the first letter of each word in the sentence.
@@ -0,0 +1 @@
1
+ export { default } from './capitalize';
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "default", {
8
+ enumerable: true,
9
+ get: function () {
10
+ return _capitalize.default;
11
+ }
12
+ });
13
+ var _capitalize = _interopRequireDefault(require("./capitalize"));
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "../esm/capitalize/index.js",
4
+ "main": "./index.js",
5
+ "types": "./index.d.ts"
6
+ }
@@ -1,2 +1,2 @@
1
- import PropTypes from 'prop-types';
2
- export default function chainPropTypes<A, B>(propType1: PropTypes.Validator<A>, propType2: PropTypes.Validator<B>): PropTypes.Validator<A & B>;
1
+ import PropTypes from 'prop-types';
2
+ export default function chainPropTypes<A, B>(propType1: PropTypes.Validator<A>, propType2: PropTypes.Validator<B>): PropTypes.Validator<A & B>;
@@ -0,0 +1 @@
1
+ export { default } from './chainPropTypes';
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "default", {
8
+ enumerable: true,
9
+ get: function () {
10
+ return _chainPropTypes.default;
11
+ }
12
+ });
13
+ var _chainPropTypes = _interopRequireDefault(require("./chainPropTypes"));
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "../esm/chainPropTypes/index.js",
4
+ "main": "./index.js",
5
+ "types": "./index.d.ts"
6
+ }
@@ -1 +1 @@
1
- export default function composeClasses<ClassKey extends string>(slots: Record<ClassKey, ReadonlyArray<string | false | undefined | null>>, getUtilityClass: (slot: string) => string, classes?: Record<string, string> | undefined): Record<ClassKey, string>;
1
+ export default function composeClasses<ClassKey extends string>(slots: Record<ClassKey, ReadonlyArray<string | false | undefined | null>>, getUtilityClass: (slot: string) => string, classes?: Record<string, string> | undefined): Record<ClassKey, string>;
@@ -1 +1 @@
1
- export { default } from './composeClasses';
1
+ export { default } from './composeClasses';
@@ -1,7 +1,7 @@
1
- /**
2
- * Safe chained function.
3
- *
4
- * Will only create a new function if needed,
5
- * otherwise will pass back existing functions or null.
6
- */
7
- export default function createChainedFunction<Args extends any[], This>(...funcs: Array<(this: This, ...args: Args) => any>): (this: This, ...args: Args) => void;
1
+ /**
2
+ * Safe chained function.
3
+ *
4
+ * Will only create a new function if needed,
5
+ * otherwise will pass back existing functions or null.
6
+ */
7
+ export default function createChainedFunction<Args extends any[], This>(...funcs: Array<(this: This, ...args: Args) => any>): (this: This, ...args: Args) => void;
@@ -1,8 +1,4 @@
1
- export interface Cancelable {
2
- clear(): void;
3
- }
4
-
5
- export default function debounce<T extends (...args: any[]) => any>(
6
- func: T,
7
- wait?: number,
8
- ): T & Cancelable;
1
+ export interface Cancelable {
2
+ clear(): void;
3
+ }
4
+ export default function debounce<T extends (...args: any[]) => any>(func: T, wait?: number): T & Cancelable;
@@ -10,6 +10,7 @@ function debounce(func, wait = 166) {
10
10
  let timeout;
11
11
  function debounced(...args) {
12
12
  const later = () => {
13
+ // @ts-ignore
13
14
  func.apply(this, args);
14
15
  };
15
16
  clearTimeout(timeout);
@@ -0,0 +1,2 @@
1
+ export { default } from './debounce';
2
+ export * from './debounce';
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _exportNames = {};
7
+ Object.defineProperty(exports, "default", {
8
+ enumerable: true,
9
+ get: function () {
10
+ return _debounce.default;
11
+ }
12
+ });
13
+ var _debounce = _interopRequireWildcard(require("./debounce"));
14
+ Object.keys(_debounce).forEach(function (key) {
15
+ if (key === "default" || key === "__esModule") return;
16
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
17
+ if (key in exports && exports[key] === _debounce[key]) return;
18
+ Object.defineProperty(exports, key, {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _debounce[key];
22
+ }
23
+ });
24
+ });
25
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
26
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "../esm/debounce/index.js",
4
+ "main": "./index.js",
5
+ "types": "./index.d.ts"
6
+ }
package/deepmerge.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export declare function isPlainObject(item: unknown): item is Record<keyof any, unknown>;
2
- export interface DeepmergeOptions {
3
- clone?: boolean;
4
- }
5
- export default function deepmerge<T>(target: T, source: unknown, options?: DeepmergeOptions): T;
1
+ export declare function isPlainObject(item: unknown): item is Record<keyof any, unknown>;
2
+ export interface DeepmergeOptions {
3
+ clone?: boolean;
4
+ }
5
+ export default function deepmerge<T>(target: T, source: unknown, options?: DeepmergeOptions): T;
package/deepmerge.js CHANGED
@@ -1,10 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.default = deepmerge;
7
8
  exports.isPlainObject = isPlainObject;
9
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
8
10
  function isPlainObject(item) {
9
11
  return item !== null && typeof item === 'object' && item.constructor === Object;
10
12
  }
@@ -21,9 +23,7 @@ function deepClone(source) {
21
23
  function deepmerge(target, source, options = {
22
24
  clone: true
23
25
  }) {
24
- const output = options.clone ? {
25
- ...target
26
- } : target;
26
+ const output = options.clone ? (0, _extends2.default)({}, target) : target;
27
27
  if (isPlainObject(target) && isPlainObject(source)) {
28
28
  Object.keys(source).forEach(key => {
29
29
  // Avoid prototype pollution
@@ -1,3 +1,3 @@
1
- import PropTypes from 'prop-types';
2
- declare const elementAcceptingRef: PropTypes.Requireable<unknown>;
3
- export default elementAcceptingRef;
1
+ import PropTypes from 'prop-types';
2
+ declare const elementAcceptingRef: PropTypes.Requireable<unknown>;
3
+ export default elementAcceptingRef;
@@ -1,3 +1,3 @@
1
- import PropTypes from 'prop-types';
2
- declare const _default: PropTypes.Validator<PropTypes.ReactComponentLike | null | undefined>;
3
- export default _default;
1
+ import PropTypes from 'prop-types';
2
+ declare const _default: PropTypes.Validator<PropTypes.ReactComponentLike | null | undefined>;
3
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default } from './HTMLElementType';
@@ -1,4 +1,4 @@
1
- import _formatMuiErrorMessage from "./formatMuiErrorMessage";
1
+ import _formatMuiErrorMessage from "../formatMuiErrorMessage";
2
2
  // It should to be noted that this function isn't equivalent to `text-transform: capitalize`.
3
3
  //
4
4
  // A strict capitalization should uppercase the first letter of each word in the sentence.
@@ -0,0 +1 @@
1
+ export { default } from './capitalize';
@@ -0,0 +1 @@
1
+ export { default } from './chainPropTypes';
@@ -4,6 +4,7 @@ export default function debounce(func, wait = 166) {
4
4
  let timeout;
5
5
  function debounced(...args) {
6
6
  const later = () => {
7
+ // @ts-ignore
7
8
  func.apply(this, args);
8
9
  };
9
10
  clearTimeout(timeout);
@@ -0,0 +1,2 @@
1
+ export { default } from './debounce';
2
+ export * from './debounce';
package/esm/deepmerge.js CHANGED
@@ -1,3 +1,4 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
1
2
  export function isPlainObject(item) {
2
3
  return item !== null && typeof item === 'object' && item.constructor === Object;
3
4
  }
@@ -14,9 +15,7 @@ function deepClone(source) {
14
15
  export default function deepmerge(target, source, options = {
15
16
  clone: true
16
17
  }) {
17
- const output = options.clone ? {
18
- ...target
19
- } : target;
18
+ const output = options.clone ? _extends({}, target) : target;
20
19
  if (isPlainObject(target) && isPlainObject(source)) {
21
20
  Object.keys(source).forEach(key => {
22
21
  // Avoid prototype pollution
@@ -1,3 +1,4 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
1
2
  // This module is based on https://github.com/airbnb/prop-types-exact repository.
2
3
  // However, in order to reduce the number of dependencies and to remove some extra safe checks
3
4
  // the module was forked.
@@ -6,8 +7,7 @@ export default function exactProp(propTypes) {
6
7
  if (process.env.NODE_ENV === 'production') {
7
8
  return propTypes;
8
9
  }
9
- return {
10
- ...propTypes,
10
+ return _extends({}, propTypes, {
11
11
  [specialProperty]: props => {
12
12
  const unsupportedProps = Object.keys(props).filter(prop => !propTypes.hasOwnProperty(prop));
13
13
  if (unsupportedProps.length > 0) {
@@ -15,5 +15,5 @@ export default function exactProp(propTypes) {
15
15
  }
16
16
  return null;
17
17
  }
18
- };
18
+ });
19
19
  }
@@ -0,0 +1 @@
1
+ export { default } from './exactProp';