@sitecore/sc-contenthub-blok 0.0.91 → 1.0.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 (891) hide show
  1. package/dist/Components/BlokBadge/BlokBadge.spec.js +1 -1
  2. package/dist/Components/BlokBadge/BlokBadge.spec.js.map +1 -1
  3. package/dist/Components/BlokButton/BlokButton.d.ts +3 -4
  4. package/dist/Components/BlokButton/BlokButton.js +3 -3
  5. package/dist/Components/BlokButton/BlokButton.js.map +1 -1
  6. package/dist/Components/BlokIcon/BlokIcon.d.ts +2 -1
  7. package/dist/Components/BlokIcon/BlokIcon.js +3 -3
  8. package/dist/Components/BlokIcon/BlokIcon.js.map +1 -1
  9. package/dist/Components/BlokIcon/iconNames.d.ts +1 -1
  10. package/dist/Components/BlokIcon/iconNames.js +1 -0
  11. package/dist/Components/BlokIcon/iconNames.js.map +1 -1
  12. package/dist/Components/BlokIconButton/BlokIconButton.d.ts +2 -4
  13. package/dist/Components/BlokIconButton/BlokIconButton.js +3 -3
  14. package/dist/Components/BlokIconButton/BlokIconButton.js.map +1 -1
  15. package/dist/Components/BlokSearchBox/BlokSearchBox.d.ts +3 -2
  16. package/dist/Components/BlokSearchBox/BlokSearchBox.js +3 -2
  17. package/dist/Components/BlokSearchBox/BlokSearchBox.js.map +1 -1
  18. package/dist/Components/BlokTooltip/BlokTooltip.js +0 -4
  19. package/dist/Components/BlokTooltip/BlokTooltip.js.map +1 -1
  20. package/esm/Components/BlokButton/BlokButton.js +2 -3
  21. package/esm/Components/BlokButton/BlokButton.js.map +1 -1
  22. package/esm/Components/BlokIcon/BlokIcon.js +2 -3
  23. package/esm/Components/BlokIcon/BlokIcon.js.map +1 -1
  24. package/esm/Components/BlokIcon/iconNames.js +1 -0
  25. package/esm/Components/BlokIcon/iconNames.js.map +1 -1
  26. package/esm/Components/BlokIconButton/BlokIconButton.js +2 -3
  27. package/esm/Components/BlokIconButton/BlokIconButton.js.map +1 -1
  28. package/esm/Components/BlokSearchBox/BlokSearchBox.js +3 -3
  29. package/esm/Components/BlokSearchBox/BlokSearchBox.js.map +1 -1
  30. package/esm/Components/BlokTooltip/BlokTooltip.js +0 -4
  31. package/esm/Components/BlokTooltip/BlokTooltip.js.map +1 -1
  32. package/node_modules/@babel/code-frame/package.json +3 -3
  33. package/node_modules/@babel/generator/lib/generators/classes.js +7 -4
  34. package/node_modules/@babel/generator/lib/generators/classes.js.map +1 -1
  35. package/node_modules/@babel/generator/lib/generators/deprecated.js +28 -0
  36. package/node_modules/@babel/generator/lib/generators/deprecated.js.map +1 -0
  37. package/node_modules/@babel/generator/lib/generators/expressions.js +17 -12
  38. package/node_modules/@babel/generator/lib/generators/expressions.js.map +1 -1
  39. package/node_modules/@babel/generator/lib/generators/jsx.js +6 -1
  40. package/node_modules/@babel/generator/lib/generators/jsx.js.map +1 -1
  41. package/node_modules/@babel/generator/lib/generators/methods.js.map +1 -1
  42. package/node_modules/@babel/generator/lib/generators/modules.js +8 -3
  43. package/node_modules/@babel/generator/lib/generators/modules.js.map +1 -1
  44. package/node_modules/@babel/generator/lib/generators/statements.js +1 -4
  45. package/node_modules/@babel/generator/lib/generators/statements.js.map +1 -1
  46. package/node_modules/@babel/generator/lib/generators/template-literals.js +16 -11
  47. package/node_modules/@babel/generator/lib/generators/template-literals.js.map +1 -1
  48. package/node_modules/@babel/generator/lib/generators/types.js +4 -9
  49. package/node_modules/@babel/generator/lib/generators/types.js.map +1 -1
  50. package/node_modules/@babel/generator/lib/generators/typescript.js +40 -18
  51. package/node_modules/@babel/generator/lib/generators/typescript.js.map +1 -1
  52. package/node_modules/@babel/generator/lib/index.js +3 -1
  53. package/node_modules/@babel/generator/lib/index.js.map +1 -1
  54. package/node_modules/@babel/generator/lib/node/index.js +11 -8
  55. package/node_modules/@babel/generator/lib/node/index.js.map +1 -1
  56. package/node_modules/@babel/generator/lib/node/parentheses.js +44 -7
  57. package/node_modules/@babel/generator/lib/node/parentheses.js.map +1 -1
  58. package/node_modules/@babel/generator/lib/printer.js +31 -24
  59. package/node_modules/@babel/generator/lib/printer.js.map +1 -1
  60. package/node_modules/@babel/generator/package.json +9 -9
  61. package/node_modules/@babel/helper-globals/LICENSE +22 -0
  62. package/node_modules/@babel/helper-globals/README.md +19 -0
  63. package/node_modules/@babel/helper-globals/data/browser-upper.json +911 -0
  64. package/node_modules/@babel/helper-globals/data/builtin-lower.json +15 -0
  65. package/node_modules/@babel/helper-globals/data/builtin-upper.json +51 -0
  66. package/node_modules/@babel/helper-globals/package.json +32 -0
  67. package/node_modules/@babel/helper-module-imports/lib/import-builder.js.map +1 -1
  68. package/node_modules/@babel/helper-module-imports/lib/import-injector.js.map +1 -1
  69. package/node_modules/@babel/helper-module-imports/package.json +4 -4
  70. package/node_modules/@babel/helper-string-parser/package.json +1 -1
  71. package/node_modules/@babel/helper-validator-identifier/package.json +1 -1
  72. package/node_modules/@babel/parser/bin/babel-parser.js +1 -1
  73. package/node_modules/@babel/parser/lib/index.js +5814 -5255
  74. package/node_modules/@babel/parser/lib/index.js.map +1 -1
  75. package/node_modules/@babel/parser/package.json +7 -7
  76. package/node_modules/@babel/parser/typings/babel-parser.d.ts +137 -165
  77. package/node_modules/@babel/template/lib/options.js +1 -1
  78. package/node_modules/@babel/template/lib/options.js.map +1 -1
  79. package/node_modules/@babel/template/lib/parse.js +3 -0
  80. package/node_modules/@babel/template/lib/parse.js.map +1 -1
  81. package/node_modules/@babel/template/lib/populate.js +2 -1
  82. package/node_modules/@babel/template/lib/populate.js.map +1 -1
  83. package/node_modules/@babel/template/package.json +4 -4
  84. package/node_modules/@babel/traverse/lib/cache.js +10 -16
  85. package/node_modules/@babel/traverse/lib/cache.js.map +1 -1
  86. package/node_modules/@babel/traverse/lib/index.js +8 -16
  87. package/node_modules/@babel/traverse/lib/index.js.map +1 -1
  88. package/node_modules/@babel/traverse/lib/path/ancestry.js +1 -3
  89. package/node_modules/@babel/traverse/lib/path/ancestry.js.map +1 -1
  90. package/node_modules/@babel/traverse/lib/path/context.js +0 -15
  91. package/node_modules/@babel/traverse/lib/path/context.js.map +1 -1
  92. package/node_modules/@babel/traverse/lib/path/conversion.js +7 -4
  93. package/node_modules/@babel/traverse/lib/path/conversion.js.map +1 -1
  94. package/node_modules/@babel/traverse/lib/path/evaluation.js +23 -2
  95. package/node_modules/@babel/traverse/lib/path/evaluation.js.map +1 -1
  96. package/node_modules/@babel/traverse/lib/path/family.js +13 -7
  97. package/node_modules/@babel/traverse/lib/path/family.js.map +1 -1
  98. package/node_modules/@babel/traverse/lib/path/index.js +2 -1
  99. package/node_modules/@babel/traverse/lib/path/index.js.map +1 -1
  100. package/node_modules/@babel/traverse/lib/path/introspection.js.map +1 -1
  101. package/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +1 -1
  102. package/node_modules/@babel/traverse/lib/path/lib/virtual-types.js +1 -1
  103. package/node_modules/@babel/traverse/lib/path/lib/virtual-types.js.map +1 -1
  104. package/node_modules/@babel/traverse/lib/path/modification.js +3 -2
  105. package/node_modules/@babel/traverse/lib/path/modification.js.map +1 -1
  106. package/node_modules/@babel/traverse/lib/path/removal.js +2 -1
  107. package/node_modules/@babel/traverse/lib/path/removal.js.map +1 -1
  108. package/node_modules/@babel/traverse/lib/path/replacement.js +2 -2
  109. package/node_modules/@babel/traverse/lib/path/replacement.js.map +1 -1
  110. package/node_modules/@babel/traverse/lib/scope/binding.js +4 -3
  111. package/node_modules/@babel/traverse/lib/scope/binding.js.map +1 -1
  112. package/node_modules/@babel/traverse/lib/scope/index.js +99 -39
  113. package/node_modules/@babel/traverse/lib/scope/index.js.map +1 -1
  114. package/node_modules/@babel/traverse/lib/traverse-node.js +109 -0
  115. package/node_modules/@babel/traverse/lib/traverse-node.js.map +1 -1
  116. package/node_modules/@babel/traverse/lib/types.js +1 -1
  117. package/node_modules/@babel/traverse/lib/visitors.js +6 -4
  118. package/node_modules/@babel/traverse/lib/visitors.js.map +1 -1
  119. package/node_modules/@babel/traverse/package.json +10 -10
  120. package/node_modules/@babel/types/lib/asserts/generated/index.js +19 -3
  121. package/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -1
  122. package/node_modules/@babel/types/lib/ast-types/generated/index.js +1 -1
  123. package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -1
  124. package/node_modules/@babel/types/lib/builders/generated/index.js +22 -2858
  125. package/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -1
  126. package/node_modules/@babel/types/lib/builders/generated/lowercase.js +2896 -0
  127. package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +1 -0
  128. package/node_modules/@babel/types/lib/builders/generated/uppercase.js +267 -1525
  129. package/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -1
  130. package/node_modules/@babel/types/lib/constants/generated/index.js +2 -1
  131. package/node_modules/@babel/types/lib/constants/generated/index.js.map +1 -1
  132. package/node_modules/@babel/types/lib/constants/index.js +5 -3
  133. package/node_modules/@babel/types/lib/constants/index.js.map +1 -1
  134. package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -1
  135. package/node_modules/@babel/types/lib/converters/toExpression.js +1 -0
  136. package/node_modules/@babel/types/lib/converters/toExpression.js.map +1 -1
  137. package/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -1
  138. package/node_modules/@babel/types/lib/converters/valueToNode.js +16 -3
  139. package/node_modules/@babel/types/lib/converters/valueToNode.js.map +1 -1
  140. package/node_modules/@babel/types/lib/definitions/core.js +73 -44
  141. package/node_modules/@babel/types/lib/definitions/core.js.map +1 -1
  142. package/node_modules/@babel/types/lib/definitions/experimental.js +3 -11
  143. package/node_modules/@babel/types/lib/definitions/experimental.js.map +1 -1
  144. package/node_modules/@babel/types/lib/definitions/flow.js +6 -3
  145. package/node_modules/@babel/types/lib/definitions/flow.js.map +1 -1
  146. package/node_modules/@babel/types/lib/definitions/index.js +13 -0
  147. package/node_modules/@babel/types/lib/definitions/index.js.map +1 -1
  148. package/node_modules/@babel/types/lib/definitions/jsx.js +9 -4
  149. package/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -1
  150. package/node_modules/@babel/types/lib/definitions/typescript.js +56 -28
  151. package/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -1
  152. package/node_modules/@babel/types/lib/definitions/utils.js +37 -15
  153. package/node_modules/@babel/types/lib/definitions/utils.js.map +1 -1
  154. package/node_modules/@babel/types/lib/index-legacy.d.ts +72 -41
  155. package/node_modules/@babel/types/lib/index.d.ts +1699 -1655
  156. package/node_modules/@babel/types/lib/index.js +10 -21
  157. package/node_modules/@babel/types/lib/index.js.flow +72 -42
  158. package/node_modules/@babel/types/lib/index.js.map +1 -1
  159. package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +9 -8
  160. package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -1
  161. package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +1 -0
  162. package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -1
  163. package/node_modules/@babel/types/lib/traverse/traverseFast.js +19 -5
  164. package/node_modules/@babel/types/lib/traverse/traverseFast.js.map +1 -1
  165. package/node_modules/@babel/types/lib/utils/deprecationWarning.js +3 -3
  166. package/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +1 -1
  167. package/node_modules/@babel/types/lib/validators/generated/index.js +50 -5
  168. package/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -1
  169. package/node_modules/@babel/types/lib/validators/isLet.js +6 -2
  170. package/node_modules/@babel/types/lib/validators/isLet.js.map +1 -1
  171. package/node_modules/@babel/types/lib/validators/isPlaceholderType.js +1 -5
  172. package/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +1 -1
  173. package/node_modules/@babel/types/lib/validators/isType.js +1 -6
  174. package/node_modules/@babel/types/lib/validators/isType.js.map +1 -1
  175. package/node_modules/@babel/types/lib/validators/isVar.js +8 -4
  176. package/node_modules/@babel/types/lib/validators/isVar.js.map +1 -1
  177. package/node_modules/@babel/types/lib/validators/matchesPattern.js +10 -2
  178. package/node_modules/@babel/types/lib/validators/matchesPattern.js.map +1 -1
  179. package/node_modules/@babel/types/lib/validators/validate.js.map +1 -1
  180. package/node_modules/@babel/types/package.json +14 -14
  181. package/node_modules/@emotion/cache/dist/declarations/src/index.d.ts +16 -2
  182. package/node_modules/@emotion/cache/dist/declarations/src/types.d.ts +14 -0
  183. package/node_modules/@emotion/cache/dist/emotion-cache.browser.cjs.js +7 -36
  184. package/node_modules/@emotion/cache/dist/emotion-cache.browser.development.cjs.js +10 -43
  185. package/node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js +10 -43
  186. package/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +7 -36
  187. package/node_modules/@emotion/cache/dist/emotion-cache.cjs.js +11 -73
  188. package/node_modules/@emotion/cache/dist/emotion-cache.development.cjs.js +15 -81
  189. package/node_modules/@emotion/cache/dist/emotion-cache.development.edge-light.cjs.js +50 -60
  190. package/node_modules/@emotion/cache/dist/emotion-cache.development.edge-light.esm.js +51 -61
  191. package/node_modules/@emotion/cache/dist/emotion-cache.development.esm.js +15 -81
  192. package/node_modules/@emotion/cache/dist/emotion-cache.edge-light.cjs.js +28 -56
  193. package/node_modules/@emotion/cache/dist/emotion-cache.edge-light.esm.js +29 -57
  194. package/node_modules/@emotion/cache/dist/emotion-cache.esm.js +11 -73
  195. package/node_modules/@emotion/cache/package.json +11 -11
  196. package/node_modules/@emotion/cache/src/{index.js → index.ts} +39 -55
  197. package/node_modules/@emotion/cache/src/{prefixer.js → prefixer.ts} +11 -4
  198. package/node_modules/@emotion/cache/src/{stylis-plugins.js → stylis-plugins.ts} +91 -83
  199. package/node_modules/@emotion/cache/src/{types.js → types.ts} +4 -5
  200. package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.umd.min.js.map +1 -1
  201. package/node_modules/@emotion/react/_isolated-hnrs/package.json +1 -0
  202. package/node_modules/@emotion/react/dist/declarations/src/_isolated-hnrs.d.ts +3 -3
  203. package/node_modules/@emotion/react/dist/declarations/src/class-names.d.ts +18 -0
  204. package/node_modules/@emotion/react/dist/declarations/src/context.d.ts +6 -0
  205. package/node_modules/@emotion/react/dist/declarations/src/css.d.ts +5 -0
  206. package/node_modules/@emotion/react/dist/declarations/src/global.d.ts +7 -0
  207. package/node_modules/@emotion/react/dist/declarations/src/index.d.ts +14 -1
  208. package/node_modules/@emotion/react/dist/declarations/src/jsx-dev-runtime.d.ts +6 -1
  209. package/node_modules/@emotion/react/dist/declarations/src/jsx-namespace.d.ts +64 -0
  210. package/node_modules/@emotion/react/dist/declarations/src/jsx-runtime.d.ts +7 -1
  211. package/node_modules/@emotion/react/dist/declarations/src/jsx.d.ts +22 -0
  212. package/node_modules/@emotion/react/dist/declarations/src/keyframes.d.ts +10 -0
  213. package/node_modules/@emotion/react/dist/declarations/src/theming.d.ts +28 -0
  214. package/node_modules/@emotion/react/dist/declarations/src/types.d.ts +7 -0
  215. package/node_modules/@emotion/react/dist/{emotion-element-f66136f5.development.edge-light.cjs.js → emotion-element-010f37fa.development.edge-light.cjs.js} +23 -84
  216. package/node_modules/@emotion/react/dist/{emotion-element-832b737b.browser.cjs.js → emotion-element-25f9958c.browser.cjs.js} +20 -65
  217. package/node_modules/@emotion/react/dist/{emotion-element-7447be04.browser.development.cjs.js → emotion-element-4787f564.browser.development.cjs.js} +21 -74
  218. package/node_modules/@emotion/react/dist/{emotion-element-7a1343fa.browser.development.esm.js → emotion-element-489459f2.browser.development.esm.js} +21 -74
  219. package/node_modules/@emotion/react/dist/{emotion-element-efb2998a.development.edge-light.esm.js → emotion-element-516430c7.development.edge-light.esm.js} +23 -84
  220. package/node_modules/@emotion/react/dist/{emotion-element-ba80abe0.development.esm.js → emotion-element-782f682d.development.esm.js} +23 -84
  221. package/node_modules/@emotion/react/dist/{emotion-element-657efc1f.edge-light.esm.js → emotion-element-8113875a.edge-light.esm.js} +22 -75
  222. package/node_modules/@emotion/react/dist/{emotion-element-b1930563.cjs.js → emotion-element-a1829a1e.cjs.js} +22 -75
  223. package/node_modules/@emotion/react/dist/{emotion-element-60389d2b.edge-light.cjs.js → emotion-element-af3dc15b.edge-light.cjs.js} +22 -75
  224. package/node_modules/@emotion/react/dist/{emotion-element-b4c8b265.esm.js → emotion-element-d59e098f.esm.js} +22 -75
  225. package/node_modules/@emotion/react/dist/{emotion-element-9150ebbd.development.cjs.js → emotion-element-e8f4cc37.development.cjs.js} +23 -84
  226. package/node_modules/@emotion/react/dist/{emotion-element-5486c51c.browser.esm.js → emotion-element-f0de968e.browser.esm.js} +20 -65
  227. package/node_modules/@emotion/react/dist/emotion-react.browser.cjs.js +19 -75
  228. package/node_modules/@emotion/react/dist/emotion-react.browser.development.cjs.js +38 -102
  229. package/node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js +38 -101
  230. package/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +19 -74
  231. package/node_modules/@emotion/react/dist/emotion-react.cjs.js +19 -75
  232. package/node_modules/@emotion/react/dist/emotion-react.development.cjs.js +38 -102
  233. package/node_modules/@emotion/react/dist/emotion-react.development.edge-light.cjs.js +37 -99
  234. package/node_modules/@emotion/react/dist/emotion-react.development.edge-light.esm.js +37 -98
  235. package/node_modules/@emotion/react/dist/emotion-react.development.esm.js +38 -101
  236. package/node_modules/@emotion/react/dist/emotion-react.edge-light.cjs.js +18 -72
  237. package/node_modules/@emotion/react/dist/emotion-react.edge-light.esm.js +18 -71
  238. package/node_modules/@emotion/react/dist/emotion-react.esm.js +19 -74
  239. package/node_modules/@emotion/react/dist/emotion-react.umd.min.js +1 -1
  240. package/node_modules/@emotion/react/dist/emotion-react.umd.min.js.map +1 -1
  241. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.js +3 -3
  242. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.cjs.js +3 -3
  243. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.esm.js +3 -3
  244. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js +3 -3
  245. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js +3 -3
  246. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.cjs.js +3 -3
  247. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.js +3 -3
  248. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.esm.js +3 -3
  249. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.esm.js +3 -3
  250. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.js +3 -3
  251. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.esm.js +3 -3
  252. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js +3 -3
  253. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.umd.min.js.map +1 -1
  254. package/node_modules/@emotion/react/jsx-dev-runtime/package.json +1 -1
  255. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.cjs.js +5 -5
  256. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.cjs.js +5 -5
  257. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js +5 -5
  258. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js +5 -5
  259. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js +5 -5
  260. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.cjs.js +5 -5
  261. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.js +5 -5
  262. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.esm.js +5 -5
  263. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.esm.js +5 -5
  264. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.js +5 -5
  265. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.esm.js +5 -5
  266. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js +5 -5
  267. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.umd.min.js.map +1 -1
  268. package/node_modules/@emotion/react/jsx-runtime/package.json +1 -1
  269. package/node_modules/@emotion/react/package.json +19 -18
  270. package/node_modules/@emotion/react/src/{_isolated-hnrs.js → _isolated-hnrs.ts} +7 -2
  271. package/node_modules/@emotion/react/src/{class-names.js → class-names.tsx} +43 -32
  272. package/node_modules/@emotion/react/src/{context.js → context.tsx} +25 -22
  273. package/node_modules/@emotion/react/src/css.ts +14 -0
  274. package/node_modules/@emotion/react/src/{emotion-element.js → emotion-element.tsx} +37 -17
  275. package/node_modules/@emotion/react/src/{get-label-from-stack-trace.js → get-label-from-stack-trace.ts} +7 -4
  276. package/node_modules/@emotion/react/src/global.tsx +147 -0
  277. package/node_modules/@emotion/react/src/{index.js → index.ts} +24 -3
  278. package/node_modules/@emotion/react/src/{jsx-dev-runtime.js → jsx-dev-runtime.ts} +12 -2
  279. package/node_modules/@emotion/react/src/jsx-namespace.ts +107 -0
  280. package/node_modules/@emotion/react/src/jsx-runtime.ts +32 -0
  281. package/node_modules/@emotion/react/src/jsx.ts +45 -0
  282. package/node_modules/@emotion/react/src/keyframes.ts +27 -0
  283. package/node_modules/@emotion/react/src/{theming.js → theming.tsx} +40 -18
  284. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.cjs.js +19 -92
  285. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.cjs.js +22 -94
  286. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.esm.js +22 -94
  287. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js +19 -92
  288. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.cjs.js +20 -93
  289. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.cjs.js +23 -95
  290. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.edge-light.cjs.js +22 -94
  291. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.edge-light.esm.js +22 -94
  292. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.esm.js +24 -96
  293. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.edge-light.cjs.js +19 -92
  294. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.edge-light.esm.js +19 -92
  295. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js +21 -94
  296. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.umd.min.js +1 -1
  297. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.umd.min.js.map +1 -1
  298. package/node_modules/@emotion/styled/base/package.json +1 -1
  299. package/node_modules/@emotion/styled/dist/declarations/src/base.d.ts +4 -2
  300. package/node_modules/@emotion/styled/dist/declarations/src/index.d.ts +15 -2
  301. package/node_modules/@emotion/styled/dist/declarations/src/jsx-namespace.d.ts +5 -0
  302. package/node_modules/@emotion/styled/dist/declarations/src/types.d.ts +88 -0
  303. package/node_modules/@emotion/styled/dist/emotion-styled.browser.cjs.js +7 -6
  304. package/node_modules/@emotion/styled/dist/emotion-styled.browser.development.cjs.js +7 -6
  305. package/node_modules/@emotion/styled/dist/emotion-styled.browser.development.esm.js +7 -6
  306. package/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js +7 -6
  307. package/node_modules/@emotion/styled/dist/emotion-styled.cjs.js +7 -6
  308. package/node_modules/@emotion/styled/dist/emotion-styled.development.cjs.js +7 -6
  309. package/node_modules/@emotion/styled/dist/emotion-styled.development.edge-light.cjs.js +7 -6
  310. package/node_modules/@emotion/styled/dist/emotion-styled.development.edge-light.esm.js +7 -6
  311. package/node_modules/@emotion/styled/dist/emotion-styled.development.esm.js +7 -6
  312. package/node_modules/@emotion/styled/dist/emotion-styled.edge-light.cjs.js +7 -6
  313. package/node_modules/@emotion/styled/dist/emotion-styled.edge-light.esm.js +7 -6
  314. package/node_modules/@emotion/styled/dist/emotion-styled.esm.js +7 -6
  315. package/node_modules/@emotion/styled/dist/emotion-styled.umd.min.js +1 -1
  316. package/node_modules/@emotion/styled/dist/emotion-styled.umd.min.js.map +1 -1
  317. package/node_modules/@emotion/styled/package.json +13 -14
  318. package/node_modules/@emotion/styled/src/{base.js → base.tsx} +56 -42
  319. package/node_modules/@emotion/styled/{types/index.d.ts → src/index.ts} +21 -12
  320. package/node_modules/@emotion/styled/{dist/declarations/types/jsx-namespace.d.ts → src/jsx-namespace.ts} +3 -5
  321. package/node_modules/@emotion/styled/src/{tags.js → tags.ts} +1 -1
  322. package/node_modules/@emotion/styled/{types/base.d.ts → src/types.ts} +8 -15
  323. package/node_modules/@emotion/styled/src/utils.ts +38 -0
  324. package/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/declarations/src/index.d.ts +3 -0
  325. package/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.cjs.d.mts +2 -0
  326. package/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.cjs.d.ts +2 -0
  327. package/node_modules/@emotion/use-insertion-effect-with-fallbacks/package.json +7 -6
  328. package/node_modules/@emotion/use-insertion-effect-with-fallbacks/src/index.ts +21 -0
  329. package/node_modules/@jridgewell/gen-mapping/LICENSE +1 -1
  330. package/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +256 -194
  331. package/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map +6 -1
  332. package/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +339 -239
  333. package/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map +6 -1
  334. package/node_modules/@jridgewell/gen-mapping/package.json +46 -51
  335. package/node_modules/@jridgewell/gen-mapping/src/gen-mapping.ts +614 -0
  336. package/node_modules/@jridgewell/gen-mapping/src/set-array.ts +82 -0
  337. package/node_modules/@jridgewell/gen-mapping/src/sourcemap-segment.ts +16 -0
  338. package/node_modules/@jridgewell/gen-mapping/src/types.ts +61 -0
  339. package/node_modules/@jridgewell/gen-mapping/{dist/types/gen-mapping.d.ts → types/gen-mapping.d.cts} +3 -2
  340. package/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.cts.map +1 -0
  341. package/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts +89 -0
  342. package/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts.map +1 -0
  343. package/node_modules/@jridgewell/{set-array/dist/types/set-array.d.ts → gen-mapping/types/set-array.d.cts} +2 -1
  344. package/node_modules/@jridgewell/gen-mapping/types/set-array.d.cts.map +1 -0
  345. package/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts +33 -0
  346. package/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts.map +1 -0
  347. package/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.cts +13 -0
  348. package/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.cts.map +1 -0
  349. package/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts +13 -0
  350. package/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts.map +1 -0
  351. package/node_modules/@jridgewell/gen-mapping/{dist/types/types.d.ts → types/types.d.cts} +10 -2
  352. package/node_modules/@jridgewell/gen-mapping/types/types.d.cts.map +1 -0
  353. package/node_modules/@jridgewell/gen-mapping/types/types.d.mts +44 -0
  354. package/node_modules/@jridgewell/gen-mapping/types/types.d.mts.map +1 -0
  355. package/node_modules/@jridgewell/trace-mapping/LICENSE +1 -1
  356. package/node_modules/@jridgewell/trace-mapping/README.md +160 -69
  357. package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +417 -493
  358. package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +6 -1
  359. package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +546 -588
  360. package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +6 -1
  361. package/node_modules/@jridgewell/trace-mapping/package.json +43 -49
  362. package/node_modules/@jridgewell/trace-mapping/src/binary-search.ts +115 -0
  363. package/node_modules/@jridgewell/trace-mapping/src/by-source.ts +65 -0
  364. package/node_modules/@jridgewell/trace-mapping/src/flatten-map.ts +192 -0
  365. package/node_modules/@jridgewell/trace-mapping/src/resolve.ts +16 -0
  366. package/node_modules/@jridgewell/trace-mapping/src/sort.ts +45 -0
  367. package/node_modules/@jridgewell/trace-mapping/src/sourcemap-segment.ts +23 -0
  368. package/node_modules/@jridgewell/trace-mapping/src/strip-filename.ts +8 -0
  369. package/node_modules/@jridgewell/trace-mapping/src/trace-mapping.ts +504 -0
  370. package/node_modules/@jridgewell/trace-mapping/src/types.ts +114 -0
  371. package/node_modules/@jridgewell/trace-mapping/{dist/types/binary-search.d.ts → types/binary-search.d.cts} +2 -1
  372. package/node_modules/@jridgewell/trace-mapping/types/binary-search.d.cts.map +1 -0
  373. package/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts +33 -0
  374. package/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts.map +1 -0
  375. package/node_modules/@jridgewell/trace-mapping/types/by-source.d.cts +8 -0
  376. package/node_modules/@jridgewell/trace-mapping/types/by-source.d.cts.map +1 -0
  377. package/node_modules/@jridgewell/trace-mapping/{dist/types/by-source.d.ts → types/by-source.d.mts} +3 -2
  378. package/node_modules/@jridgewell/trace-mapping/types/by-source.d.mts.map +1 -0
  379. package/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.cts +9 -0
  380. package/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.cts.map +1 -0
  381. package/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts +9 -0
  382. package/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts.map +1 -0
  383. package/node_modules/@jridgewell/trace-mapping/types/resolve.d.cts +4 -0
  384. package/node_modules/@jridgewell/trace-mapping/types/resolve.d.cts.map +1 -0
  385. package/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts +4 -0
  386. package/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts.map +1 -0
  387. package/node_modules/@jridgewell/trace-mapping/types/sort.d.cts +3 -0
  388. package/node_modules/@jridgewell/trace-mapping/types/sort.d.cts.map +1 -0
  389. package/node_modules/@jridgewell/trace-mapping/{dist/types/sort.d.ts → types/sort.d.mts} +2 -1
  390. package/node_modules/@jridgewell/trace-mapping/types/sort.d.mts.map +1 -0
  391. package/node_modules/@jridgewell/trace-mapping/{dist/types/sourcemap-segment.d.ts → types/sourcemap-segment.d.cts} +1 -0
  392. package/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.cts.map +1 -0
  393. package/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts +17 -0
  394. package/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts.map +1 -0
  395. package/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.cts +5 -0
  396. package/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.cts.map +1 -0
  397. package/node_modules/@jridgewell/trace-mapping/{dist/types/strip-filename.d.ts → types/strip-filename.d.mts} +1 -0
  398. package/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.mts.map +1 -0
  399. package/node_modules/@jridgewell/trace-mapping/{dist/types/trace-mapping.d.ts → types/trace-mapping.d.cts} +7 -6
  400. package/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.cts.map +1 -0
  401. package/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts +80 -0
  402. package/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts.map +1 -0
  403. package/node_modules/@jridgewell/trace-mapping/{dist/types/types.d.ts → types/types.d.cts} +10 -2
  404. package/node_modules/@jridgewell/trace-mapping/types/types.d.cts.map +1 -0
  405. package/node_modules/@jridgewell/trace-mapping/types/types.d.mts +107 -0
  406. package/node_modules/@jridgewell/trace-mapping/types/types.d.mts.map +1 -0
  407. package/node_modules/@mui/core-downloads-tracker/package.json +1 -1
  408. package/node_modules/@mui/material/Accordion/Accordion.d.ts +32 -15
  409. package/node_modules/@mui/material/Accordion/Accordion.js +18 -6
  410. package/node_modules/@mui/material/AccordionActions/AccordionActions.d.ts +2 -2
  411. package/node_modules/@mui/material/AccordionDetails/AccordionDetails.d.ts +2 -2
  412. package/node_modules/@mui/material/AccordionSummary/AccordionSummary.d.ts +62 -7
  413. package/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +67 -16
  414. package/node_modules/@mui/material/Alert/Alert.d.ts +6 -18
  415. package/node_modules/@mui/material/AlertTitle/AlertTitle.d.ts +3 -3
  416. package/node_modules/@mui/material/AppBar/AppBar.d.ts +4 -4
  417. package/node_modules/@mui/material/Autocomplete/Autocomplete.d.ts +2 -2
  418. package/node_modules/@mui/material/Autocomplete/Autocomplete.js +1 -1
  419. package/node_modules/@mui/material/Avatar/Avatar.d.ts +2 -2
  420. package/node_modules/@mui/material/AvatarGroup/AvatarGroup.d.ts +2 -2
  421. package/node_modules/@mui/material/AvatarGroup/AvatarGroup.js +10 -2
  422. package/node_modules/@mui/material/Backdrop/Backdrop.d.ts +17 -15
  423. package/node_modules/@mui/material/Badge/Badge.d.ts +35 -31
  424. package/node_modules/@mui/material/Badge/Badge.js +27 -20
  425. package/node_modules/@mui/material/BottomNavigation/BottomNavigation.d.ts +2 -2
  426. package/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.d.ts +43 -6
  427. package/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js +53 -9
  428. package/node_modules/@mui/material/Box/Box.d.ts +2 -2
  429. package/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +3 -1
  430. package/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.d.ts +3 -3
  431. package/node_modules/@mui/material/Button/Button.d.ts +4 -4
  432. package/node_modules/@mui/material/Button/Button.js +3 -3
  433. package/node_modules/@mui/material/ButtonBase/ButtonBase.d.ts +2 -2
  434. package/node_modules/@mui/material/ButtonGroup/ButtonGroup.d.ts +2 -2
  435. package/node_modules/@mui/material/CHANGELOG.md +345 -0
  436. package/node_modules/@mui/material/Card/Card.d.ts +4 -4
  437. package/node_modules/@mui/material/CardActionArea/CardActionArea.d.ts +43 -6
  438. package/node_modules/@mui/material/CardActionArea/CardActionArea.js +47 -8
  439. package/node_modules/@mui/material/CardActions/CardActions.d.ts +2 -2
  440. package/node_modules/@mui/material/CardContent/CardContent.d.ts +2 -2
  441. package/node_modules/@mui/material/CardHeader/CardHeader.d.ts +6 -22
  442. package/node_modules/@mui/material/CardMedia/CardMedia.d.ts +2 -2
  443. package/node_modules/@mui/material/Checkbox/Checkbox.d.ts +49 -13
  444. package/node_modules/@mui/material/Checkbox/Checkbox.js +51 -21
  445. package/node_modules/@mui/material/Chip/Chip.d.ts +2 -2
  446. package/node_modules/@mui/material/CircularProgress/CircularProgress.d.ts +7 -3
  447. package/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.d.ts +3 -3
  448. package/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js +3 -3
  449. package/node_modules/@mui/material/Collapse/Collapse.d.ts +5 -5
  450. package/node_modules/@mui/material/Container/Container.d.ts +2 -2
  451. package/node_modules/@mui/material/CssBaseline/CssBaseline.d.ts +2 -2
  452. package/node_modules/@mui/material/Dialog/Dialog.d.ts +7 -7
  453. package/node_modules/@mui/material/Dialog/dialogClasses.d.ts +6 -2
  454. package/node_modules/@mui/material/DialogActions/DialogActions.d.ts +2 -2
  455. package/node_modules/@mui/material/DialogContent/DialogContent.d.ts +2 -2
  456. package/node_modules/@mui/material/DialogContentText/DialogContentText.d.ts +3 -3
  457. package/node_modules/@mui/material/DialogTitle/DialogTitle.d.ts +3 -3
  458. package/node_modules/@mui/material/Divider/Divider.d.ts +3 -3
  459. package/node_modules/@mui/material/Drawer/Drawer.d.ts +95 -4
  460. package/node_modules/@mui/material/Drawer/Drawer.js +108 -36
  461. package/node_modules/@mui/material/Fab/Fab.d.ts +3 -3
  462. package/node_modules/@mui/material/Fade/Fade.d.ts +3 -3
  463. package/node_modules/@mui/material/FilledInput/FilledInput.d.ts +3 -3
  464. package/node_modules/@mui/material/FormControl/FormControl.d.ts +6 -6
  465. package/node_modules/@mui/material/FormControlLabel/FormControlLabel.d.ts +4 -4
  466. package/node_modules/@mui/material/FormGroup/FormGroup.d.ts +3 -3
  467. package/node_modules/@mui/material/FormHelperText/FormHelperText.d.ts +2 -2
  468. package/node_modules/@mui/material/FormLabel/FormLabel.d.ts +4 -4
  469. package/node_modules/@mui/material/GlobalStyles/GlobalStyles.d.ts +2 -2
  470. package/node_modules/@mui/material/Grid/Grid.d.ts +2 -2
  471. package/node_modules/@mui/material/Grid2/Grid2.d.ts +2 -2
  472. package/node_modules/@mui/material/Grid2/Grid2.js +2 -2
  473. package/node_modules/@mui/material/Grow/Grow.d.ts +5 -5
  474. package/node_modules/@mui/material/Hidden/Hidden.d.ts +2 -2
  475. package/node_modules/@mui/material/Icon/Icon.d.ts +3 -3
  476. package/node_modules/@mui/material/IconButton/IconButton.d.ts +4 -4
  477. package/node_modules/@mui/material/IconButton/IconButton.js +3 -3
  478. package/node_modules/@mui/material/ImageList/ImageList.d.ts +2 -2
  479. package/node_modules/@mui/material/ImageListItem/ImageListItem.d.ts +2 -2
  480. package/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.d.ts +2 -2
  481. package/node_modules/@mui/material/Input/Input.d.ts +3 -3
  482. package/node_modules/@mui/material/InputAdornment/InputAdornment.d.ts +2 -2
  483. package/node_modules/@mui/material/InputBase/InputBase.d.ts +2 -2
  484. package/node_modules/@mui/material/InputBase/inputBaseClasses.d.ts +15 -6
  485. package/node_modules/@mui/material/InputLabel/InputLabel.d.ts +3 -3
  486. package/node_modules/@mui/material/LinearProgress/LinearProgress.d.ts +7 -3
  487. package/node_modules/@mui/material/Link/Link.d.ts +4 -4
  488. package/node_modules/@mui/material/List/List.d.ts +3 -3
  489. package/node_modules/@mui/material/ListItem/ListItem.d.ts +3 -3
  490. package/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.d.ts +2 -2
  491. package/node_modules/@mui/material/ListItemButton/ListItemButton.d.ts +3 -3
  492. package/node_modules/@mui/material/ListItemIcon/ListItemIcon.d.ts +2 -2
  493. package/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
  494. package/node_modules/@mui/material/ListItemText/ListItemText.d.ts +12 -2
  495. package/node_modules/@mui/material/ListItemText/ListItemText.js +14 -5
  496. package/node_modules/@mui/material/ListSubheader/ListSubheader.d.ts +2 -2
  497. package/node_modules/@mui/material/Menu/Menu.d.ts +92 -5
  498. package/node_modules/@mui/material/Menu/Menu.js +58 -19
  499. package/node_modules/@mui/material/MenuItem/MenuItem.d.ts +3 -3
  500. package/node_modules/@mui/material/MenuList/MenuList.d.ts +4 -4
  501. package/node_modules/@mui/material/MobileStepper/MobileStepper.d.ts +72 -4
  502. package/node_modules/@mui/material/MobileStepper/MobileStepper.js +76 -18
  503. package/node_modules/@mui/material/Modal/Modal.d.ts +7 -7
  504. package/node_modules/@mui/material/Modal/Modal.js +9 -10
  505. package/node_modules/@mui/material/NativeSelect/NativeSelect.d.ts +3 -3
  506. package/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +6 -2
  507. package/node_modules/@mui/material/NoSsr/NoSsr.d.ts +2 -2
  508. package/node_modules/@mui/material/NoSsr/NoSsr.js +2 -2
  509. package/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +2 -0
  510. package/node_modules/@mui/material/OutlinedInput/OutlinedInput.d.ts +32 -5
  511. package/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +30 -10
  512. package/node_modules/@mui/material/OverridableComponent/index.d.ts +41 -0
  513. package/node_modules/@mui/material/OverridableComponent/index.js +1 -0
  514. package/node_modules/@mui/material/OverridableComponent/package.json +6 -0
  515. package/node_modules/@mui/material/Pagination/Pagination.d.ts +2 -2
  516. package/node_modules/@mui/material/PaginationItem/PaginationItem.d.ts +3 -3
  517. package/node_modules/@mui/material/Paper/Paper.d.ts +3 -3
  518. package/node_modules/@mui/material/PigmentContainer/PigmentContainer.d.ts +2 -2
  519. package/node_modules/@mui/material/PigmentContainer/PigmentContainer.js +2 -2
  520. package/node_modules/@mui/material/PigmentGrid/PigmentGrid.d.ts +2 -2
  521. package/node_modules/@mui/material/PigmentGrid/PigmentGrid.js +2 -2
  522. package/node_modules/@mui/material/PigmentHidden/PigmentHidden.d.ts +2 -2
  523. package/node_modules/@mui/material/PigmentHidden/PigmentHidden.js +2 -2
  524. package/node_modules/@mui/material/PigmentStack/PigmentStack.d.ts +2 -2
  525. package/node_modules/@mui/material/PigmentStack/PigmentStack.js +2 -2
  526. package/node_modules/@mui/material/Popover/Popover.d.ts +65 -12
  527. package/node_modules/@mui/material/Popover/Popover.js +79 -52
  528. package/node_modules/@mui/material/Popper/Popper.d.ts +4 -4
  529. package/node_modules/@mui/material/Popper/Popper.js +4 -4
  530. package/node_modules/@mui/material/Portal/Portal.d.ts +2 -2
  531. package/node_modules/@mui/material/Portal/Portal.js +2 -2
  532. package/node_modules/@mui/material/README.md +4 -2
  533. package/node_modules/@mui/material/Radio/Radio.d.ts +48 -4
  534. package/node_modules/@mui/material/Radio/Radio.js +61 -16
  535. package/node_modules/@mui/material/Radio/RadioButtonIcon.js +7 -2
  536. package/node_modules/@mui/material/RadioGroup/RadioGroup.d.ts +3 -3
  537. package/node_modules/@mui/material/Rating/Rating.d.ts +61 -3
  538. package/node_modules/@mui/material/Rating/Rating.js +131 -45
  539. package/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.d.ts +2 -2
  540. package/node_modules/@mui/material/Select/Select.d.ts +3 -3
  541. package/node_modules/@mui/material/Select/SelectInput.js +8 -8
  542. package/node_modules/@mui/material/Skeleton/Skeleton.d.ts +2 -2
  543. package/node_modules/@mui/material/Slide/Slide.d.ts +4 -4
  544. package/node_modules/@mui/material/Slider/Slider.d.ts +2 -2
  545. package/node_modules/@mui/material/Slider/sliderClasses.d.ts +21 -7
  546. package/node_modules/@mui/material/Slider/useSlider.js +2 -2
  547. package/node_modules/@mui/material/Snackbar/Snackbar.d.ts +81 -4
  548. package/node_modules/@mui/material/Snackbar/Snackbar.js +116 -32
  549. package/node_modules/@mui/material/SnackbarContent/SnackbarContent.d.ts +3 -3
  550. package/node_modules/@mui/material/SpeedDial/SpeedDial.d.ts +20 -8
  551. package/node_modules/@mui/material/SpeedDial/SpeedDial.js +40 -11
  552. package/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.d.ts +85 -4
  553. package/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js +109 -31
  554. package/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.d.ts +2 -2
  555. package/node_modules/@mui/material/Stack/Stack.d.ts +2 -2
  556. package/node_modules/@mui/material/Step/Step.d.ts +2 -2
  557. package/node_modules/@mui/material/StepButton/StepButton.d.ts +3 -3
  558. package/node_modules/@mui/material/StepConnector/StepConnector.d.ts +2 -2
  559. package/node_modules/@mui/material/StepContent/StepContent.d.ts +4 -4
  560. package/node_modules/@mui/material/StepIcon/StepIcon.d.ts +3 -3
  561. package/node_modules/@mui/material/StepLabel/StepLabel.d.ts +21 -3
  562. package/node_modules/@mui/material/StepLabel/StepLabel.js +14 -5
  563. package/node_modules/@mui/material/Stepper/Stepper.d.ts +2 -2
  564. package/node_modules/@mui/material/SvgIcon/SvgIcon.d.ts +3 -3
  565. package/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js +1 -0
  566. package/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.d.ts +31 -5
  567. package/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js +60 -13
  568. package/node_modules/@mui/material/Switch/Switch.d.ts +78 -5
  569. package/node_modules/@mui/material/Switch/Switch.js +73 -9
  570. package/node_modules/@mui/material/Tab/Tab.d.ts +3 -3
  571. package/node_modules/@mui/material/TabScrollButton/TabScrollButton.d.ts +2 -2
  572. package/node_modules/@mui/material/Table/Table.d.ts +2 -2
  573. package/node_modules/@mui/material/TableBody/TableBody.d.ts +2 -2
  574. package/node_modules/@mui/material/TableCell/TableCell.d.ts +2 -2
  575. package/node_modules/@mui/material/TableContainer/TableContainer.d.ts +2 -2
  576. package/node_modules/@mui/material/TableFooter/TableFooter.d.ts +2 -2
  577. package/node_modules/@mui/material/TableHead/TableHead.d.ts +2 -2
  578. package/node_modules/@mui/material/TablePagination/TablePagination.d.ts +4 -4
  579. package/node_modules/@mui/material/TableRow/TableRow.d.ts +2 -2
  580. package/node_modules/@mui/material/TableSortLabel/TableSortLabel.d.ts +3 -3
  581. package/node_modules/@mui/material/Tabs/Tabs.d.ts +131 -31
  582. package/node_modules/@mui/material/Tabs/Tabs.js +124 -52
  583. package/node_modules/@mui/material/Tabs/tabsClasses.d.ts +4 -0
  584. package/node_modules/@mui/material/Tabs/tabsClasses.js +1 -1
  585. package/node_modules/@mui/material/TextField/TextField.d.ts +40 -10
  586. package/node_modules/@mui/material/TextField/TextField.js +22 -11
  587. package/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.d.ts +2 -2
  588. package/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +68 -47
  589. package/node_modules/@mui/material/ToggleButton/ToggleButton.d.ts +3 -3
  590. package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
  591. package/node_modules/@mui/material/Toolbar/Toolbar.d.ts +2 -2
  592. package/node_modules/@mui/material/Tooltip/Tooltip.d.ts +23 -27
  593. package/node_modules/@mui/material/Tooltip/Tooltip.js +1 -1
  594. package/node_modules/@mui/material/Typography/Typography.d.ts +3 -3
  595. package/node_modules/@mui/material/Zoom/Zoom.d.ts +3 -3
  596. package/node_modules/@mui/material/index.js +1 -1
  597. package/node_modules/@mui/material/internal/SwitchBase.d.ts +35 -1
  598. package/node_modules/@mui/material/internal/SwitchBase.js +88 -31
  599. package/node_modules/@mui/material/modern/Accordion/Accordion.js +18 -6
  600. package/node_modules/@mui/material/modern/AccordionSummary/AccordionSummary.js +67 -16
  601. package/node_modules/@mui/material/modern/Autocomplete/Autocomplete.js +1 -1
  602. package/node_modules/@mui/material/modern/AvatarGroup/AvatarGroup.js +10 -2
  603. package/node_modules/@mui/material/modern/Badge/Badge.js +27 -20
  604. package/node_modules/@mui/material/modern/BottomNavigationAction/BottomNavigationAction.js +53 -9
  605. package/node_modules/@mui/material/modern/Breadcrumbs/BreadcrumbCollapsed.js +3 -1
  606. package/node_modules/@mui/material/modern/Button/Button.js +3 -3
  607. package/node_modules/@mui/material/modern/CardActionArea/CardActionArea.js +47 -8
  608. package/node_modules/@mui/material/modern/Checkbox/Checkbox.js +51 -21
  609. package/node_modules/@mui/material/modern/ClickAwayListener/ClickAwayListener.js +3 -3
  610. package/node_modules/@mui/material/modern/Drawer/Drawer.js +108 -36
  611. package/node_modules/@mui/material/modern/Grid2/Grid2.js +2 -2
  612. package/node_modules/@mui/material/modern/IconButton/IconButton.js +3 -3
  613. package/node_modules/@mui/material/modern/ListItemText/ListItemText.js +14 -5
  614. package/node_modules/@mui/material/modern/Menu/Menu.js +58 -19
  615. package/node_modules/@mui/material/modern/MobileStepper/MobileStepper.js +76 -18
  616. package/node_modules/@mui/material/modern/Modal/Modal.js +9 -10
  617. package/node_modules/@mui/material/modern/NativeSelect/NativeSelectInput.js +6 -2
  618. package/node_modules/@mui/material/modern/NoSsr/NoSsr.js +2 -2
  619. package/node_modules/@mui/material/modern/OutlinedInput/NotchedOutline.js +2 -0
  620. package/node_modules/@mui/material/modern/OutlinedInput/OutlinedInput.js +30 -10
  621. package/node_modules/@mui/material/modern/OverridableComponent/index.js +1 -0
  622. package/node_modules/@mui/material/modern/PigmentContainer/PigmentContainer.js +2 -2
  623. package/node_modules/@mui/material/modern/PigmentGrid/PigmentGrid.js +2 -2
  624. package/node_modules/@mui/material/modern/PigmentHidden/PigmentHidden.js +2 -2
  625. package/node_modules/@mui/material/modern/PigmentStack/PigmentStack.js +2 -2
  626. package/node_modules/@mui/material/modern/Popover/Popover.js +79 -52
  627. package/node_modules/@mui/material/modern/Popper/Popper.js +4 -4
  628. package/node_modules/@mui/material/modern/Portal/Portal.js +2 -2
  629. package/node_modules/@mui/material/modern/Radio/Radio.js +61 -16
  630. package/node_modules/@mui/material/modern/Radio/RadioButtonIcon.js +7 -2
  631. package/node_modules/@mui/material/modern/Rating/Rating.js +131 -45
  632. package/node_modules/@mui/material/modern/Select/SelectInput.js +8 -8
  633. package/node_modules/@mui/material/modern/Slider/useSlider.js +2 -2
  634. package/node_modules/@mui/material/modern/Snackbar/Snackbar.js +116 -32
  635. package/node_modules/@mui/material/modern/SpeedDial/SpeedDial.js +40 -11
  636. package/node_modules/@mui/material/modern/SpeedDialAction/SpeedDialAction.js +109 -31
  637. package/node_modules/@mui/material/modern/StepLabel/StepLabel.js +14 -5
  638. package/node_modules/@mui/material/modern/SwipeableDrawer/SwipeArea.js +1 -0
  639. package/node_modules/@mui/material/modern/SwipeableDrawer/SwipeableDrawer.js +60 -13
  640. package/node_modules/@mui/material/modern/Switch/Switch.js +73 -9
  641. package/node_modules/@mui/material/modern/Tabs/Tabs.js +124 -52
  642. package/node_modules/@mui/material/modern/Tabs/tabsClasses.js +1 -1
  643. package/node_modules/@mui/material/modern/TextField/TextField.js +22 -11
  644. package/node_modules/@mui/material/modern/TextareaAutosize/TextareaAutosize.js +68 -47
  645. package/node_modules/@mui/material/modern/Tooltip/Tooltip.js +1 -1
  646. package/node_modules/@mui/material/modern/index.js +1 -1
  647. package/node_modules/@mui/material/modern/internal/SwitchBase.js +88 -31
  648. package/node_modules/@mui/material/modern/styles/ThemeProvider.js +20 -9
  649. package/node_modules/@mui/material/modern/styles/components.js +1 -0
  650. package/node_modules/@mui/material/modern/styles/createThemeNoVars.js +5 -2
  651. package/node_modules/@mui/material/modern/styles/overrides.js +1 -0
  652. package/node_modules/@mui/material/modern/styles/props.js +1 -0
  653. package/node_modules/@mui/material/modern/styles/shouldSkipGeneratingVar.js +1 -1
  654. package/node_modules/@mui/material/modern/styles/variants.js +1 -0
  655. package/node_modules/@mui/material/modern/useAutocomplete/useAutocomplete.js +16 -14
  656. package/node_modules/@mui/material/modern/useScrollTrigger/useScrollTrigger.js +3 -0
  657. package/node_modules/@mui/material/modern/utils/mergeSlotProps.js +10 -3
  658. package/node_modules/@mui/material/modern/version/index.js +3 -3
  659. package/node_modules/@mui/material/node/Accordion/Accordion.js +18 -6
  660. package/node_modules/@mui/material/node/AccordionSummary/AccordionSummary.js +67 -16
  661. package/node_modules/@mui/material/node/Autocomplete/Autocomplete.js +1 -1
  662. package/node_modules/@mui/material/node/AvatarGroup/AvatarGroup.js +10 -2
  663. package/node_modules/@mui/material/node/Badge/Badge.js +27 -20
  664. package/node_modules/@mui/material/node/BottomNavigationAction/BottomNavigationAction.js +53 -9
  665. package/node_modules/@mui/material/node/Breadcrumbs/BreadcrumbCollapsed.js +3 -1
  666. package/node_modules/@mui/material/node/Button/Button.js +3 -3
  667. package/node_modules/@mui/material/node/CardActionArea/CardActionArea.js +47 -8
  668. package/node_modules/@mui/material/node/Checkbox/Checkbox.js +51 -21
  669. package/node_modules/@mui/material/node/ClickAwayListener/ClickAwayListener.js +3 -3
  670. package/node_modules/@mui/material/node/Drawer/Drawer.js +108 -36
  671. package/node_modules/@mui/material/node/Grid2/Grid2.js +2 -2
  672. package/node_modules/@mui/material/node/IconButton/IconButton.js +3 -3
  673. package/node_modules/@mui/material/node/ListItemText/ListItemText.js +14 -5
  674. package/node_modules/@mui/material/node/Menu/Menu.js +58 -19
  675. package/node_modules/@mui/material/node/MobileStepper/MobileStepper.js +76 -18
  676. package/node_modules/@mui/material/node/Modal/Modal.js +9 -10
  677. package/node_modules/@mui/material/node/NativeSelect/NativeSelectInput.js +6 -2
  678. package/node_modules/@mui/material/node/NoSsr/NoSsr.js +2 -2
  679. package/node_modules/@mui/material/node/OutlinedInput/NotchedOutline.js +2 -0
  680. package/node_modules/@mui/material/node/OutlinedInput/OutlinedInput.js +30 -10
  681. package/node_modules/@mui/material/node/OverridableComponent/index.js +5 -0
  682. package/node_modules/@mui/material/node/PigmentContainer/PigmentContainer.js +2 -2
  683. package/node_modules/@mui/material/node/PigmentGrid/PigmentGrid.js +2 -2
  684. package/node_modules/@mui/material/node/PigmentHidden/PigmentHidden.js +2 -2
  685. package/node_modules/@mui/material/node/PigmentStack/PigmentStack.js +2 -2
  686. package/node_modules/@mui/material/node/Popover/Popover.js +79 -52
  687. package/node_modules/@mui/material/node/Popper/Popper.js +4 -4
  688. package/node_modules/@mui/material/node/Portal/Portal.js +2 -2
  689. package/node_modules/@mui/material/node/Radio/Radio.js +61 -16
  690. package/node_modules/@mui/material/node/Radio/RadioButtonIcon.js +7 -2
  691. package/node_modules/@mui/material/node/Rating/Rating.js +132 -46
  692. package/node_modules/@mui/material/node/Select/SelectInput.js +8 -8
  693. package/node_modules/@mui/material/node/Slider/useSlider.js +2 -2
  694. package/node_modules/@mui/material/node/Snackbar/Snackbar.js +116 -32
  695. package/node_modules/@mui/material/node/SpeedDial/SpeedDial.js +40 -11
  696. package/node_modules/@mui/material/node/SpeedDialAction/SpeedDialAction.js +109 -31
  697. package/node_modules/@mui/material/node/StepLabel/StepLabel.js +14 -5
  698. package/node_modules/@mui/material/node/SwipeableDrawer/SwipeArea.js +1 -0
  699. package/node_modules/@mui/material/node/SwipeableDrawer/SwipeableDrawer.js +60 -13
  700. package/node_modules/@mui/material/node/Switch/Switch.js +73 -9
  701. package/node_modules/@mui/material/node/Tabs/Tabs.js +124 -52
  702. package/node_modules/@mui/material/node/Tabs/tabsClasses.js +1 -1
  703. package/node_modules/@mui/material/node/TextField/TextField.js +22 -11
  704. package/node_modules/@mui/material/node/TextareaAutosize/TextareaAutosize.js +67 -46
  705. package/node_modules/@mui/material/node/Tooltip/Tooltip.js +1 -1
  706. package/node_modules/@mui/material/node/index.js +1 -1
  707. package/node_modules/@mui/material/node/internal/SwitchBase.js +88 -31
  708. package/node_modules/@mui/material/node/styles/ThemeProvider.js +20 -9
  709. package/node_modules/@mui/material/node/styles/components.js +5 -0
  710. package/node_modules/@mui/material/node/styles/createThemeNoVars.js +5 -2
  711. package/node_modules/@mui/material/node/styles/overrides.js +5 -0
  712. package/node_modules/@mui/material/node/styles/props.js +5 -0
  713. package/node_modules/@mui/material/node/styles/shouldSkipGeneratingVar.js +1 -1
  714. package/node_modules/@mui/material/node/styles/variants.js +5 -0
  715. package/node_modules/@mui/material/node/useAutocomplete/useAutocomplete.js +16 -14
  716. package/node_modules/@mui/material/node/useScrollTrigger/useScrollTrigger.js +3 -0
  717. package/node_modules/@mui/material/node/utils/mergeSlotProps.js +10 -3
  718. package/node_modules/@mui/material/node/version/index.js +3 -3
  719. package/node_modules/@mui/material/package.json +6 -6
  720. package/node_modules/@mui/material/styles/ThemeProvider.d.ts +6 -0
  721. package/node_modules/@mui/material/styles/ThemeProvider.js +20 -9
  722. package/node_modules/@mui/material/styles/ThemeProviderWithVars.d.ts +1 -0
  723. package/node_modules/@mui/material/styles/components.d.ts +590 -591
  724. package/node_modules/@mui/material/styles/components.js +1 -0
  725. package/node_modules/@mui/material/styles/createThemeNoVars.d.ts +2 -1
  726. package/node_modules/@mui/material/styles/createThemeNoVars.js +5 -2
  727. package/node_modules/@mui/material/styles/index.d.ts +1 -0
  728. package/node_modules/@mui/material/styles/overrides.d.ts +123 -142
  729. package/node_modules/@mui/material/styles/overrides.js +1 -0
  730. package/node_modules/@mui/material/styles/props.d.ts +120 -122
  731. package/node_modules/@mui/material/styles/props.js +1 -0
  732. package/node_modules/@mui/material/styles/shouldSkipGeneratingVar.js +1 -1
  733. package/node_modules/@mui/material/styles/variants.d.ts +7 -10
  734. package/node_modules/@mui/material/styles/variants.js +1 -0
  735. package/node_modules/@mui/material/useAutocomplete/useAutocomplete.d.ts +2 -2
  736. package/node_modules/@mui/material/useAutocomplete/useAutocomplete.js +16 -14
  737. package/node_modules/@mui/material/useScrollTrigger/useScrollTrigger.d.ts +1 -1
  738. package/node_modules/@mui/material/useScrollTrigger/useScrollTrigger.js +3 -0
  739. package/node_modules/@mui/material/utils/mergeSlotProps.js +10 -3
  740. package/node_modules/@mui/material/version/index.js +3 -3
  741. package/node_modules/@mui/private-theming/CHANGELOG.md +256 -0
  742. package/node_modules/@mui/private-theming/index.js +1 -1
  743. package/node_modules/@mui/private-theming/modern/index.js +1 -1
  744. package/node_modules/@mui/private-theming/node/index.js +1 -1
  745. package/node_modules/@mui/private-theming/package.json +2 -2
  746. package/node_modules/@mui/styled-engine/CHANGELOG.md +387 -0
  747. package/node_modules/@mui/styled-engine/README.md +2 -2
  748. package/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.d.ts +1 -0
  749. package/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +72 -18
  750. package/node_modules/@mui/styled-engine/index.js +1 -1
  751. package/node_modules/@mui/styled-engine/modern/StyledEngineProvider/StyledEngineProvider.js +72 -18
  752. package/node_modules/@mui/styled-engine/modern/index.js +1 -1
  753. package/node_modules/@mui/styled-engine/node/StyledEngineProvider/StyledEngineProvider.js +72 -17
  754. package/node_modules/@mui/styled-engine/node/index.js +1 -1
  755. package/node_modules/@mui/styled-engine/package.json +1 -1
  756. package/node_modules/@mui/system/CHANGELOG.md +345 -0
  757. package/node_modules/@mui/system/GlobalStyles/GlobalStyles.js +25 -1
  758. package/node_modules/@mui/system/Grid/createGrid.js +4 -0
  759. package/node_modules/@mui/system/Grid/deleteLegacyGridProps.d.ts +11 -0
  760. package/node_modules/@mui/system/Grid/deleteLegacyGridProps.js +47 -0
  761. package/node_modules/@mui/system/README.md +6 -4
  762. package/node_modules/@mui/system/ThemeProvider/ThemeProvider.js +4 -2
  763. package/node_modules/@mui/system/ThemeProvider/useLayerOrder.d.ts +8 -0
  764. package/node_modules/@mui/system/ThemeProvider/useLayerOrder.js +58 -0
  765. package/node_modules/@mui/system/createBreakpoints/createBreakpoints.d.ts +5 -5
  766. package/node_modules/@mui/system/createStyled/createStyled.js +34 -21
  767. package/node_modules/@mui/system/cssContainerQueries/cssContainerQueries.d.ts +1 -2
  768. package/node_modules/@mui/system/cssVars/createCssVarsProvider.d.ts +6 -0
  769. package/node_modules/@mui/system/cssVars/createCssVarsProvider.js +7 -0
  770. package/node_modules/@mui/system/cssVars/index.d.ts +1 -0
  771. package/node_modules/@mui/system/cssVars/localStorageManager.d.ts +34 -0
  772. package/node_modules/@mui/system/cssVars/localStorageManager.js +57 -0
  773. package/node_modules/@mui/system/cssVars/useCurrentColorScheme.d.ts +2 -0
  774. package/node_modules/@mui/system/cssVars/useCurrentColorScheme.js +50 -69
  775. package/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +26 -2
  776. package/node_modules/@mui/system/esm/Grid/createGrid.js +4 -0
  777. package/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js +41 -0
  778. package/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +5 -3
  779. package/node_modules/@mui/system/esm/ThemeProvider/useLayerOrder.js +52 -0
  780. package/node_modules/@mui/system/esm/createStyled/createStyled.js +35 -22
  781. package/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +7 -0
  782. package/node_modules/@mui/system/esm/cssVars/localStorageManager.js +51 -0
  783. package/node_modules/@mui/system/esm/cssVars/useCurrentColorScheme.js +49 -69
  784. package/node_modules/@mui/system/esm/styleFunctionSx/AliasesCSSProperties.js +1 -0
  785. package/node_modules/@mui/system/esm/styleFunctionSx/OverwriteCSSProperties.js +1 -0
  786. package/node_modules/@mui/system/esm/styleFunctionSx/StandardCssProperties.js +1 -0
  787. package/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +9 -2
  788. package/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery.js +3 -0
  789. package/node_modules/@mui/system/esm/version/index.js +3 -3
  790. package/node_modules/@mui/system/index.js +1 -1
  791. package/node_modules/@mui/system/modern/GlobalStyles/GlobalStyles.js +26 -2
  792. package/node_modules/@mui/system/modern/Grid/createGrid.js +4 -0
  793. package/node_modules/@mui/system/modern/Grid/deleteLegacyGridProps.js +41 -0
  794. package/node_modules/@mui/system/modern/ThemeProvider/ThemeProvider.js +5 -3
  795. package/node_modules/@mui/system/modern/ThemeProvider/useLayerOrder.js +52 -0
  796. package/node_modules/@mui/system/modern/createStyled/createStyled.js +35 -22
  797. package/node_modules/@mui/system/modern/cssVars/createCssVarsProvider.js +7 -0
  798. package/node_modules/@mui/system/modern/cssVars/localStorageManager.js +51 -0
  799. package/node_modules/@mui/system/modern/cssVars/useCurrentColorScheme.js +49 -69
  800. package/node_modules/@mui/system/modern/index.js +1 -1
  801. package/node_modules/@mui/system/modern/styleFunctionSx/AliasesCSSProperties.js +1 -0
  802. package/node_modules/@mui/system/modern/styleFunctionSx/OverwriteCSSProperties.js +1 -0
  803. package/node_modules/@mui/system/modern/styleFunctionSx/StandardCssProperties.js +1 -0
  804. package/node_modules/@mui/system/modern/styleFunctionSx/styleFunctionSx.js +9 -2
  805. package/node_modules/@mui/system/modern/useMediaQuery/useMediaQuery.js +3 -0
  806. package/node_modules/@mui/system/modern/version/index.js +3 -3
  807. package/node_modules/@mui/system/package.json +5 -5
  808. package/node_modules/@mui/system/styleFunctionSx/AliasesCSSProperties.d.ts +266 -267
  809. package/node_modules/@mui/system/styleFunctionSx/AliasesCSSProperties.js +5 -0
  810. package/node_modules/@mui/system/styleFunctionSx/OverwriteCSSProperties.d.ts +51 -52
  811. package/node_modules/@mui/system/styleFunctionSx/OverwriteCSSProperties.js +5 -0
  812. package/node_modules/@mui/system/styleFunctionSx/StandardCssProperties.d.ts +0 -1
  813. package/node_modules/@mui/system/styleFunctionSx/StandardCssProperties.js +5 -0
  814. package/node_modules/@mui/system/styleFunctionSx/styleFunctionSx.js +9 -2
  815. package/node_modules/@mui/system/useMediaQuery/useMediaQuery.js +3 -0
  816. package/node_modules/@mui/system/version/index.js +3 -3
  817. package/node_modules/@mui/types/package.json +1 -1
  818. package/node_modules/@mui/utils/CHANGELOG.md +256 -0
  819. package/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +32 -12
  820. package/node_modules/@mui/utils/index.js +1 -1
  821. package/node_modules/@mui/utils/modern/index.js +1 -1
  822. package/node_modules/@mui/utils/modern/useForkRef/useForkRef.js +32 -12
  823. package/node_modules/@mui/utils/package.json +3 -3
  824. package/node_modules/@mui/utils/useForkRef/useForkRef.d.ts +1 -2
  825. package/node_modules/@mui/utils/useForkRef/useForkRef.js +32 -13
  826. package/package.json +24 -24
  827. package/node_modules/@babel/parser/index.cjs +0 -5
  828. package/node_modules/@babel/traverse/lib/scope/traverseForScope.js +0 -68
  829. package/node_modules/@babel/traverse/lib/scope/traverseForScope.js.map +0 -1
  830. package/node_modules/@babel/traverse/node_modules/globals/globals.json +0 -1563
  831. package/node_modules/@babel/traverse/node_modules/globals/index.js +0 -2
  832. package/node_modules/@babel/traverse/node_modules/globals/license +0 -9
  833. package/node_modules/@babel/traverse/node_modules/globals/package.json +0 -41
  834. package/node_modules/@babel/traverse/node_modules/globals/readme.md +0 -41
  835. package/node_modules/@emotion/cache/dist/declarations/types/index.d.ts +0 -45
  836. package/node_modules/@emotion/cache/src/index.d.ts +0 -2
  837. package/node_modules/@emotion/cache/types/index.d.ts +0 -45
  838. package/node_modules/@emotion/react/dist/declarations/dist/emotion-react.cjs.d.ts +0 -2
  839. package/node_modules/@emotion/react/dist/declarations/types/helper.d.ts +0 -14
  840. package/node_modules/@emotion/react/dist/declarations/types/index.d.ts +0 -115
  841. package/node_modules/@emotion/react/dist/declarations/types/jsx-dev-runtime.d.ts +0 -1
  842. package/node_modules/@emotion/react/dist/declarations/types/jsx-namespace.d.ts +0 -102
  843. package/node_modules/@emotion/react/dist/declarations/types/jsx-runtime.d.ts +0 -1
  844. package/node_modules/@emotion/react/dist/declarations/types/theming.d.ts +0 -31
  845. package/node_modules/@emotion/react/src/_isolated-hnrs.d.ts +0 -3
  846. package/node_modules/@emotion/react/src/css.js +0 -8
  847. package/node_modules/@emotion/react/src/global.js +0 -145
  848. package/node_modules/@emotion/react/src/index.d.ts +0 -1
  849. package/node_modules/@emotion/react/src/jsx-dev-runtime.d.ts +0 -1
  850. package/node_modules/@emotion/react/src/jsx-runtime.d.ts +0 -1
  851. package/node_modules/@emotion/react/src/jsx-runtime.js +0 -21
  852. package/node_modules/@emotion/react/src/jsx.js +0 -25
  853. package/node_modules/@emotion/react/src/keyframes.js +0 -23
  854. package/node_modules/@emotion/react/types/index.d.ts +0 -115
  855. package/node_modules/@emotion/react/types/jsx-dev-runtime.d.ts +0 -1
  856. package/node_modules/@emotion/react/types/jsx-namespace.d.ts +0 -102
  857. package/node_modules/@emotion/react/types/jsx-runtime.d.ts +0 -1
  858. package/node_modules/@emotion/react/types/theming.d.ts +0 -31
  859. package/node_modules/@emotion/styled/dist/declarations/types/base.d.ts +0 -197
  860. package/node_modules/@emotion/styled/dist/declarations/types/index.d.ts +0 -33
  861. package/node_modules/@emotion/styled/src/base.d.ts +0 -2
  862. package/node_modules/@emotion/styled/src/index.d.ts +0 -2
  863. package/node_modules/@emotion/styled/src/index.js +0 -11
  864. package/node_modules/@emotion/styled/src/utils.js +0 -86
  865. package/node_modules/@emotion/styled/types/jsx-namespace.d.ts +0 -14
  866. package/node_modules/@emotion/use-insertion-effect-with-fallbacks/src/index.js +0 -15
  867. package/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +0 -12
  868. package/node_modules/@jridgewell/set-array/LICENSE +0 -19
  869. package/node_modules/@jridgewell/set-array/README.md +0 -37
  870. package/node_modules/@jridgewell/set-array/dist/set-array.mjs +0 -69
  871. package/node_modules/@jridgewell/set-array/dist/set-array.mjs.map +0 -1
  872. package/node_modules/@jridgewell/set-array/dist/set-array.umd.js +0 -83
  873. package/node_modules/@jridgewell/set-array/dist/set-array.umd.js.map +0 -1
  874. package/node_modules/@jridgewell/set-array/package.json +0 -65
  875. package/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts +0 -8
  876. package/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts +0 -1
  877. package/node_modules/@mui/material/OverridableComponent.d.ts +0 -67
  878. /package/node_modules/@emotion/cache/src/conditions/{false.js → false.ts} +0 -0
  879. /package/node_modules/@emotion/cache/src/conditions/{is-browser.js → is-browser.ts} +0 -0
  880. /package/node_modules/@emotion/cache/src/conditions/{true.js → true.ts} +0 -0
  881. /package/node_modules/@emotion/react/src/conditions/{false.js → false.ts} +0 -0
  882. /package/node_modules/@emotion/react/src/conditions/{is-browser.js → is-browser.ts} +0 -0
  883. /package/node_modules/@emotion/react/src/conditions/{true.js → true.ts} +0 -0
  884. /package/node_modules/@emotion/react/{types/helper.d.ts → src/types.ts} +0 -0
  885. /package/node_modules/@emotion/react/src/{utils.js → utils.ts} +0 -0
  886. /package/node_modules/@emotion/styled/src/conditions/{false.js → false.ts} +0 -0
  887. /package/node_modules/@emotion/styled/src/conditions/{is-browser.js → is-browser.ts} +0 -0
  888. /package/node_modules/@emotion/styled/src/conditions/{true.js → true.ts} +0 -0
  889. /package/node_modules/@emotion/use-insertion-effect-with-fallbacks/src/conditions/{false.js → false.ts} +0 -0
  890. /package/node_modules/@emotion/use-insertion-effect-with-fallbacks/src/conditions/{is-browser.js → is-browser.ts} +0 -0
  891. /package/node_modules/@emotion/use-insertion-effect-with-fallbacks/src/conditions/{true.js → true.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"emotion-styled.umd.min.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/extends.js","../../memoize/src/index.ts","../../is-prop-valid/src/index.ts","../src/utils.js","../../utils/src/index.ts","../../unitless/src/index.ts","../../serialize/src/conditions/false.ts","../../serialize/src/index.ts","../../use-insertion-effect-with-fallbacks/src/index.js","../src/base.js","../src/index.js","../../hash/src/index.ts","../src/tags.js"],"sourcesContent":["export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}","export default function memoize<V>(fn: (arg: string) => V): (arg: string) => V {\n const cache: Record<string, V> = Object.create(null)\n\n return (arg: string) => {\n if (cache[arg] === undefined) cache[arg] = fn(arg)\n return cache[arg]\n }\n}\n","import memoize from '@emotion/memoize'\n\ndeclare const codegen: { require: (path: string) => any }\n\n// eslint-disable-next-line no-undef\nconst reactPropsRegex: RegExp = codegen.require('./props')\n\n// https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\nconst isPropValid = /* #__PURE__ */ memoize(\n prop =>\n reactPropsRegex.test(prop) ||\n (prop.charCodeAt(0) === 111 /* o */ &&\n prop.charCodeAt(1) === 110 /* n */ &&\n prop.charCodeAt(2) < 91) /* Z+1 */\n)\n\nexport default isPropValid\n","/* import type {\n ElementType,\n StatelessFunctionalComponent,\n AbstractComponent\n} from 'react' */\nimport isPropValid from '@emotion/is-prop-valid'\n\n/*\nexport type Interpolations = Array<any>\n\nexport type StyledElementType<Props> =\n | string\n | AbstractComponent<{ ...Props, className: string }, mixed>\n\nexport type StyledOptions = {\n label?: string,\n shouldForwardProp?: string => boolean,\n target?: string\n}\n\nexport type StyledComponent<Props> = StatelessFunctionalComponent<Props> & {\n defaultProps: any,\n toString: () => string,\n withComponent: (\n nextTag: StyledElementType<Props>,\n nextOptions?: StyledOptions\n ) => StyledComponent<Props>\n}\n\nexport type PrivateStyledComponent<Props> = StyledComponent<Props> & {\n __emotion_real: StyledComponent<Props>,\n __emotion_base: any,\n __emotion_styles: any,\n __emotion_forwardProp: any\n}\n*/\n\nconst testOmitPropsOnStringTag = isPropValid\nconst testOmitPropsOnComponent = (key /*: string */) => key !== 'theme'\n\nexport const getDefaultShouldForwardProp = (tag /*: ElementType */) =>\n typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96\n ? testOmitPropsOnStringTag\n : testOmitPropsOnComponent\n\nexport const composeShouldForwardProps = (\n tag /*: PrivateStyledComponent<any> */,\n options /*: StyledOptions | void */,\n isReal /*: boolean */\n) => {\n let shouldForwardProp\n if (options) {\n const optionsShouldForwardProp = options.shouldForwardProp\n shouldForwardProp =\n tag.__emotion_forwardProp && optionsShouldForwardProp\n ? (propName /*: string */) =>\n tag.__emotion_forwardProp(propName) &&\n optionsShouldForwardProp(propName)\n : optionsShouldForwardProp\n }\n\n if (typeof shouldForwardProp !== 'function' && isReal) {\n shouldForwardProp = tag.__emotion_forwardProp\n }\n\n return shouldForwardProp\n}\n\n/*\nexport type CreateStyledComponent = <Props>(\n ...args: Interpolations\n) => StyledComponent<Props>\n\nexport type CreateStyled = {\n <Props>(\n tag: StyledElementType<Props>,\n options?: StyledOptions\n ): (...args: Interpolations) => StyledComponent<Props>,\n [key: string]: CreateStyledComponent,\n bind: () => CreateStyled\n}\n*/\n","import isBrowser from '#is-browser'\nimport { RegisteredCache, EmotionCache, SerializedStyles } from './types'\n\nexport function getRegisteredStyles(\n registered: RegisteredCache,\n registeredStyles: string[],\n classNames: string\n): string {\n let rawClassName = ''\n\n classNames.split(' ').forEach(className => {\n if (registered[className] !== undefined) {\n registeredStyles.push(`${registered[className]};`)\n } else if (className) {\n rawClassName += `${className} `\n }\n })\n return rawClassName\n}\n\nexport const registerStyles = (\n cache: EmotionCache,\n serialized: SerializedStyles,\n isStringTag: boolean\n): void => {\n let className = `${cache.key}-${serialized.name}`\n if (\n // we only need to add the styles to the registered cache if the\n // class name could be used further down\n // the tree but if it's a string tag, we know it won't\n // so we don't have to add it to registered cache.\n // this improves memory usage since we can avoid storing the whole style string\n (isStringTag === false ||\n // we need to always store it if we're in compat mode and\n // in node since emotion-server relies on whether a style is in\n // the registered cache to know whether a style is global or not\n // also, note that this check will be dead code eliminated in the browser\n (isBrowser === false && cache.compat !== undefined)) &&\n cache.registered[className] === undefined\n ) {\n cache.registered[className] = serialized.styles\n }\n}\n\nexport const insertStyles = (\n cache: EmotionCache,\n serialized: SerializedStyles,\n isStringTag: boolean\n) => {\n registerStyles(cache, serialized, isStringTag)\n\n let className = `${cache.key}-${serialized.name}`\n\n if (cache.inserted[serialized.name] === undefined) {\n let stylesForSSR = ''\n let current: SerializedStyles | undefined = serialized\n do {\n let maybeStyles = cache.insert(\n serialized === current ? `.${className}` : '',\n current,\n cache.sheet,\n true\n )\n if (!isBrowser && maybeStyles !== undefined) {\n stylesForSSR += maybeStyles\n }\n current = current.next\n } while (current !== undefined)\n if (!isBrowser && stylesForSSR.length !== 0) {\n return stylesForSSR\n }\n }\n}\n\nexport * from './types'\n","let unitlessKeys: Record<string, 1> = {\n animationIterationCount: 1,\n aspectRatio: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n scale: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n}\n\nexport default unitlessKeys\n","export default false as boolean\n","import type { RegisteredCache, SerializedStyles } from '@emotion/utils'\nimport hashString from '@emotion/hash'\nimport unitless from '@emotion/unitless'\nimport memoize from '@emotion/memoize'\nimport isDevelopment from '#is-development'\nimport * as CSS from 'csstype'\n\nexport type { RegisteredCache, SerializedStyles }\n\ntype Cursor = {\n name: string\n styles: string\n next?: Cursor\n}\n\nexport type CSSProperties = CSS.PropertiesFallback<number | string>\nexport type CSSPropertiesWithMultiValues = {\n [K in keyof CSSProperties]:\n | CSSProperties[K]\n | ReadonlyArray<Extract<CSSProperties[K], string>>\n}\n\nexport type CSSPseudos = { [K in CSS.Pseudos]?: CSSObject }\n\nexport interface ArrayCSSInterpolation\n extends ReadonlyArray<CSSInterpolation> {}\n\nexport type InterpolationPrimitive =\n | null\n | undefined\n | boolean\n | number\n | string\n | ComponentSelector\n | Keyframes\n | SerializedStyles\n | CSSObject\n\nexport type CSSInterpolation = InterpolationPrimitive | ArrayCSSInterpolation\n\nexport interface CSSOthersObject {\n [propertiesName: string]: CSSInterpolation\n}\n\nexport interface CSSObject\n extends CSSPropertiesWithMultiValues,\n CSSPseudos,\n CSSOthersObject {}\n\nexport interface ComponentSelector {\n __emotion_styles: any\n}\n\nexport type Keyframes = {\n name: string\n styles: string\n anim: number\n toString: () => string\n} & string\n\nexport interface ArrayInterpolation<Props = unknown>\n extends ReadonlyArray<Interpolation<Props>> {}\n\nexport interface FunctionInterpolation<Props = unknown> {\n (props: Props): Interpolation<Props>\n}\n\nexport type Interpolation<Props = unknown> =\n | InterpolationPrimitive\n | ArrayInterpolation<Props>\n | FunctionInterpolation<Props>\n\nconst ILLEGAL_ESCAPE_SEQUENCE_ERROR = `You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\\\00d7';\" should become \"content: '\\\\\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`\n\nconst UNDEFINED_AS_OBJECT_KEY_ERROR =\n \"You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).\"\n\nlet hyphenateRegex = /[A-Z]|^ms/g\nlet animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g\n\nconst isCustomProperty = (property: string) => property.charCodeAt(1) === 45\nconst isProcessableValue = (value: Interpolation) =>\n value != null && typeof value !== 'boolean'\n\nconst processStyleName = /* #__PURE__ */ memoize((styleName: string) =>\n isCustomProperty(styleName)\n ? styleName\n : styleName.replace(hyphenateRegex, '-$&').toLowerCase()\n)\n\nlet processStyleValue = (\n key: string,\n value: string | number\n): string | number => {\n switch (key) {\n case 'animation':\n case 'animationName': {\n if (typeof value === 'string') {\n return value.replace(animationRegex, (match, p1, p2) => {\n cursor = {\n name: p1,\n styles: p2,\n next: cursor\n }\n return p1\n })\n }\n }\n }\n\n if (\n unitless[key as keyof typeof unitless] !== 1 &&\n !isCustomProperty(key) &&\n typeof value === 'number' &&\n value !== 0\n ) {\n return value + 'px'\n }\n return value\n}\n\nif (isDevelopment) {\n let contentValuePattern =\n /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\\(|(no-)?(open|close)-quote/\n let contentValues = ['normal', 'none', 'initial', 'inherit', 'unset']\n\n let oldProcessStyleValue = processStyleValue\n\n let msPattern = /^-ms-/\n let hyphenPattern = /-(.)/g\n\n let hyphenatedCache: Record<string, boolean | undefined> = {}\n\n processStyleValue = (key: string, value: string | number) => {\n if (key === 'content') {\n if (\n typeof value !== 'string' ||\n (contentValues.indexOf(value) === -1 &&\n !contentValuePattern.test(value) &&\n (value.charAt(0) !== value.charAt(value.length - 1) ||\n (value.charAt(0) !== '\"' && value.charAt(0) !== \"'\")))\n ) {\n throw new Error(\n `You seem to be using a value for 'content' without quotes, try replacing it with \\`content: '\"${value}\"'\\``\n )\n }\n }\n\n const processed = oldProcessStyleValue(key, value)\n\n if (\n processed !== '' &&\n !isCustomProperty(key) &&\n key.indexOf('-') !== -1 &&\n hyphenatedCache[key] === undefined\n ) {\n hyphenatedCache[key] = true\n console.error(\n `Using kebab-case for css properties in objects is not supported. Did you mean ${key\n .replace(msPattern, 'ms-')\n .replace(hyphenPattern, (str, char) => char.toUpperCase())}?`\n )\n }\n\n return processed\n }\n}\n\nconst noComponentSelectorMessage =\n 'Component selectors can only be used in conjunction with ' +\n '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' +\n 'compiler transform.'\n\nfunction handleInterpolation(\n mergedProps: unknown | undefined,\n registered: RegisteredCache | undefined,\n interpolation: Interpolation\n): string | number {\n if (interpolation == null) {\n return ''\n }\n const componentSelector = interpolation as ComponentSelector\n if (componentSelector.__emotion_styles !== undefined) {\n if (\n isDevelopment &&\n String(componentSelector) === 'NO_COMPONENT_SELECTOR'\n ) {\n throw new Error(noComponentSelectorMessage)\n }\n return componentSelector as unknown as string\n }\n\n switch (typeof interpolation) {\n case 'boolean': {\n return ''\n }\n case 'object': {\n const keyframes = interpolation as Keyframes\n if (keyframes.anim === 1) {\n cursor = {\n name: keyframes.name,\n styles: keyframes.styles,\n next: cursor\n }\n\n return keyframes.name\n }\n const serializedStyles = interpolation as SerializedStyles\n if (serializedStyles.styles !== undefined) {\n let next = serializedStyles.next\n if (next !== undefined) {\n // not the most efficient thing ever but this is a pretty rare case\n // and there will be very few iterations of this generally\n while (next !== undefined) {\n cursor = {\n name: next.name,\n styles: next.styles,\n next: cursor\n }\n next = next.next\n }\n }\n let styles = `${serializedStyles.styles};`\n return styles\n }\n\n return createStringFromObject(\n mergedProps,\n registered,\n interpolation as ArrayInterpolation | CSSObject\n )\n }\n case 'function': {\n if (mergedProps !== undefined) {\n let previousCursor = cursor\n let result = interpolation(mergedProps)\n cursor = previousCursor\n\n return handleInterpolation(mergedProps, registered, result)\n } else if (isDevelopment) {\n console.error(\n 'Functions that are interpolated in css calls will be stringified.\\n' +\n 'If you want to have a css call based on props, create a function that returns a css call like this\\n' +\n 'let dynamicStyle = (props) => css`color: ${props.color}`\\n' +\n 'It can be called directly with props or interpolated in a styled call like this\\n' +\n \"let SomeComponent = styled('div')`${dynamicStyle}`\"\n )\n }\n break\n }\n case 'string':\n if (isDevelopment) {\n const matched: string[] = []\n const replaced = interpolation.replace(\n animationRegex,\n (_match, _p1, p2) => {\n const fakeVarName = `animation${matched.length}`\n matched.push(\n `const ${fakeVarName} = keyframes\\`${p2.replace(\n /^@keyframes animation-\\w+/,\n ''\n )}\\``\n )\n return `\\${${fakeVarName}}`\n }\n )\n if (matched.length) {\n console.error(\n `\\`keyframes\\` output got interpolated into plain string, please wrap it with \\`css\\`.\n\nInstead of doing this:\n\n${[...matched, `\\`${replaced}\\``].join('\\n')}\n\nYou should wrap it with \\`css\\` like this:\n\ncss\\`${replaced}\\``\n )\n }\n }\n break\n }\n\n // finalize string values (regular strings and functions interpolated into css calls)\n const asString = interpolation as string\n if (registered == null) {\n return asString\n }\n const cached = registered[asString]\n return cached !== undefined ? cached : asString\n}\n\nfunction createStringFromObject(\n mergedProps: unknown | undefined,\n registered: RegisteredCache | undefined,\n obj: ArrayInterpolation | CSSObject\n): string {\n let string = ''\n\n if (Array.isArray(obj)) {\n for (let i = 0; i < obj.length; i++) {\n string += `${handleInterpolation(mergedProps, registered, obj[i])};`\n }\n } else {\n for (let key in obj) {\n let value: unknown = obj[key as never]\n if (typeof value !== 'object') {\n const asString = value as string\n if (registered != null && registered[asString] !== undefined) {\n string += `${key}{${registered[asString]}}`\n } else if (isProcessableValue(asString)) {\n string += `${processStyleName(key)}:${processStyleValue(\n key,\n asString\n )};`\n }\n } else {\n if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment) {\n throw new Error(noComponentSelectorMessage)\n }\n if (\n Array.isArray(value) &&\n typeof value[0] === 'string' &&\n (registered == null || registered[value[0]] === undefined)\n ) {\n for (let i = 0; i < value.length; i++) {\n if (isProcessableValue(value[i])) {\n string += `${processStyleName(key)}:${processStyleValue(\n key,\n value[i] as string | number\n )};`\n }\n }\n } else {\n const interpolated = handleInterpolation(\n mergedProps,\n registered,\n value as Interpolation\n )\n switch (key) {\n case 'animation':\n case 'animationName': {\n string += `${processStyleName(key)}:${interpolated};`\n break\n }\n default: {\n if (isDevelopment && key === 'undefined') {\n console.error(UNDEFINED_AS_OBJECT_KEY_ERROR)\n }\n string += `${key}{${interpolated}}`\n }\n }\n }\n }\n }\n }\n\n return string\n}\n\nlet labelPattern = /label:\\s*([^\\s;{]+)\\s*(;|$)/g\n\n// this is the cursor for keyframes\n// keyframes are stored on the SerializedStyles object as a linked list\nlet cursor: Cursor | undefined\n\nexport function serializeStyles<Props>(\n args: Array<TemplateStringsArray | Interpolation<Props>>,\n registered?: RegisteredCache,\n mergedProps?: Props\n): SerializedStyles\nexport function serializeStyles(\n args: Array<TemplateStringsArray | Interpolation<unknown>>,\n registered?: RegisteredCache,\n mergedProps?: unknown\n): SerializedStyles {\n if (\n args.length === 1 &&\n typeof args[0] === 'object' &&\n args[0] !== null &&\n (args[0] as SerializedStyles).styles !== undefined\n ) {\n return args[0] as SerializedStyles\n }\n let stringMode = true\n let styles = ''\n\n cursor = undefined\n let strings = args[0]\n if (strings == null || (strings as TemplateStringsArray).raw === undefined) {\n stringMode = false\n styles += handleInterpolation(\n mergedProps,\n registered,\n strings as Interpolation\n )\n } else {\n const asTemplateStringsArr = strings as TemplateStringsArray\n if (isDevelopment && asTemplateStringsArr[0] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR)\n }\n styles += asTemplateStringsArr[0]\n }\n // we start at 1 since we've already handled the first arg\n for (let i = 1; i < args.length; i++) {\n styles += handleInterpolation(\n mergedProps,\n registered,\n args[i] as Interpolation\n )\n if (stringMode) {\n const templateStringsArr = strings as TemplateStringsArray\n if (isDevelopment && templateStringsArr[i] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR)\n }\n styles += templateStringsArr[i]\n }\n }\n\n // using a global regex with .exec is stateful so lastIndex has to be reset each time\n labelPattern.lastIndex = 0\n let identifierName = ''\n\n let match\n // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n while ((match = labelPattern.exec(styles)) !== null) {\n identifierName += '-' + match[1]\n }\n\n let name = hashString(styles) + identifierName\n\n if (isDevelopment) {\n const devStyles = {\n name,\n styles,\n next: cursor,\n toString() {\n return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\"\n }\n }\n return devStyles\n }\n return {\n name,\n styles,\n next: cursor\n }\n}\n","import * as React from 'react'\nimport isBrowser from '#is-browser'\n\nconst syncFallback = create => create()\n\nconst useInsertionEffect = React['useInsertion' + 'Effect']\n ? React['useInsertion' + 'Effect']\n : false\n\nexport const useInsertionEffectAlwaysWithSyncFallback = !isBrowser\n ? syncFallback\n : useInsertionEffect || syncFallback\n\nexport const useInsertionEffectWithLayoutFallback =\n useInsertionEffect || React.useLayoutEffect\n","import * as React from 'react'\nimport {\n getDefaultShouldForwardProp,\n composeShouldForwardProps\n /*\n type StyledOptions,\n type CreateStyled,\n type PrivateStyledComponent,\n type StyledElementType\n */\n} from './utils'\nimport { withEmotionCache, ThemeContext } from '@emotion/react'\nimport isDevelopment from '#is-development'\nimport isBrowser from '#is-browser'\nimport {\n getRegisteredStyles,\n insertStyles,\n registerStyles\n} from '@emotion/utils'\nimport { serializeStyles } from '@emotion/serialize'\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks'\n\nconst ILLEGAL_ESCAPE_SEQUENCE_ERROR = `You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\\\00d7';\" should become \"content: '\\\\\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`\n\nconst Insertion = ({ cache, serialized, isStringTag }) => {\n registerStyles(cache, serialized, isStringTag)\n\n const rules = useInsertionEffectAlwaysWithSyncFallback(() =>\n insertStyles(cache, serialized, isStringTag)\n )\n\n if (!isBrowser && rules !== undefined) {\n let serializedNames = serialized.name\n let next = serialized.next\n while (next !== undefined) {\n serializedNames += ' ' + next.name\n next = next.next\n }\n return (\n <style\n {...{\n [`data-emotion`]: `${cache.key} ${serializedNames}`,\n dangerouslySetInnerHTML: { __html: rules },\n nonce: cache.sheet.nonce\n }}\n />\n )\n }\n return null\n}\n\nlet createStyled /*: CreateStyled */ = (\n tag /*: any */,\n options /* ?: StyledOptions */\n) => {\n if (isDevelopment) {\n if (tag === undefined) {\n throw new Error(\n 'You are trying to create a styled element with an undefined component.\\nYou may have forgotten to import it.'\n )\n }\n }\n const isReal = tag.__emotion_real === tag\n const baseTag = (isReal && tag.__emotion_base) || tag\n\n let identifierName\n let targetClassName\n if (options !== undefined) {\n identifierName = options.label\n targetClassName = options.target\n }\n\n const shouldForwardProp = composeShouldForwardProps(tag, options, isReal)\n const defaultShouldForwardProp =\n shouldForwardProp || getDefaultShouldForwardProp(baseTag)\n const shouldUseAs = !defaultShouldForwardProp('as')\n\n /* return function<Props>(): PrivateStyledComponent<Props> { */\n return function () {\n let args = arguments\n let styles =\n isReal && tag.__emotion_styles !== undefined\n ? tag.__emotion_styles.slice(0)\n : []\n\n if (identifierName !== undefined) {\n styles.push(`label:${identifierName};`)\n }\n if (args[0] == null || args[0].raw === undefined) {\n styles.push.apply(styles, args)\n } else {\n if (isDevelopment && args[0][0] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR)\n }\n styles.push(args[0][0])\n let len = args.length\n let i = 1\n for (; i < len; i++) {\n if (isDevelopment && args[0][i] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR)\n }\n styles.push(args[i], args[0][i])\n }\n }\n\n const Styled /*: PrivateStyledComponent<Props> */ = withEmotionCache(\n (props, cache, ref) => {\n const FinalTag = (shouldUseAs && props.as) || baseTag\n\n let className = ''\n let classInterpolations = []\n let mergedProps = props\n if (props.theme == null) {\n mergedProps = {}\n for (let key in props) {\n mergedProps[key] = props[key]\n }\n mergedProps.theme = React.useContext(ThemeContext)\n }\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(\n cache.registered,\n classInterpolations,\n props.className\n )\n } else if (props.className != null) {\n className = `${props.className} `\n }\n\n const serialized = serializeStyles(\n styles.concat(classInterpolations),\n cache.registered,\n mergedProps\n )\n className += `${cache.key}-${serialized.name}`\n if (targetClassName !== undefined) {\n className += ` ${targetClassName}`\n }\n\n const finalShouldForwardProp =\n shouldUseAs && shouldForwardProp === undefined\n ? getDefaultShouldForwardProp(FinalTag)\n : defaultShouldForwardProp\n\n let newProps = {}\n\n for (let key in props) {\n if (shouldUseAs && key === 'as') continue\n\n if (finalShouldForwardProp(key)) {\n newProps[key] = props[key]\n }\n }\n newProps.className = className\n if (ref) {\n newProps.ref = ref\n }\n\n return (\n <>\n <Insertion\n cache={cache}\n serialized={serialized}\n isStringTag={typeof FinalTag === 'string'}\n />\n <FinalTag {...newProps} />\n </>\n )\n }\n )\n\n Styled.displayName =\n identifierName !== undefined\n ? identifierName\n : `Styled(${\n typeof baseTag === 'string'\n ? baseTag\n : baseTag.displayName || baseTag.name || 'Component'\n })`\n\n Styled.defaultProps = tag.defaultProps\n Styled.__emotion_real = Styled\n Styled.__emotion_base = baseTag\n Styled.__emotion_styles = styles\n Styled.__emotion_forwardProp = shouldForwardProp\n\n Object.defineProperty(Styled, 'toString', {\n value() {\n if (targetClassName === undefined && isDevelopment) {\n return 'NO_COMPONENT_SELECTOR'\n }\n return `.${targetClassName}`\n }\n })\n\n Styled.withComponent = (\n nextTag /*: StyledElementType<Props> */,\n nextOptions /* ?: StyledOptions */\n ) => {\n return createStyled(nextTag, {\n ...options,\n ...nextOptions,\n shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)\n })(...styles)\n }\n\n return Styled\n }\n}\n\nexport default createStyled\n","import styled from './base'\nimport { tags } from './tags'\n\n// bind it to avoid mutating the original function\nconst newStyled = styled.bind()\n\ntags.forEach(tagName => {\n newStyled[tagName] = newStyled(tagName)\n})\n\nexport default newStyled\n","/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\n\nexport default function murmur2(str: string): string {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n\n // const m = 0x5bd1e995;\n // const r = 24;\n\n // Initialize the hash\n\n var h = 0\n\n // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length\n for (; len >= 4; ++i, len -= 4) {\n k =\n (str.charCodeAt(i) & 0xff) |\n ((str.charCodeAt(++i) & 0xff) << 8) |\n ((str.charCodeAt(++i) & 0xff) << 16) |\n ((str.charCodeAt(++i) & 0xff) << 24)\n\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0xe995) << 16)\n k ^= /* k >>> r: */ k >>> 24\n\n h =\n /* Math.imul(k, m): */\n ((k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0xe995) << 16)) ^\n /* Math.imul(h, m): */\n ((h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0xe995) << 16))\n }\n\n // Handle the last few bytes of the input array\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8\n case 1:\n h ^= str.charCodeAt(i) & 0xff\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0xe995) << 16)\n }\n\n // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n h ^= h >>> 13\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0xe995) << 16)\n\n return ((h ^ (h >>> 15)) >>> 0).toString(36)\n}\n","export const tags = [\n 'a',\n 'abbr',\n 'address',\n 'area',\n 'article',\n 'aside',\n 'audio',\n 'b',\n 'base',\n 'bdi',\n 'bdo',\n 'big',\n 'blockquote',\n 'body',\n 'br',\n 'button',\n 'canvas',\n 'caption',\n 'cite',\n 'code',\n 'col',\n 'colgroup',\n 'data',\n 'datalist',\n 'dd',\n 'del',\n 'details',\n 'dfn',\n 'dialog',\n 'div',\n 'dl',\n 'dt',\n 'em',\n 'embed',\n 'fieldset',\n 'figcaption',\n 'figure',\n 'footer',\n 'form',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'head',\n 'header',\n 'hgroup',\n 'hr',\n 'html',\n 'i',\n 'iframe',\n 'img',\n 'input',\n 'ins',\n 'kbd',\n 'keygen',\n 'label',\n 'legend',\n 'li',\n 'link',\n 'main',\n 'map',\n 'mark',\n 'marquee',\n 'menu',\n 'menuitem',\n 'meta',\n 'meter',\n 'nav',\n 'noscript',\n 'object',\n 'ol',\n 'optgroup',\n 'option',\n 'output',\n 'p',\n 'param',\n 'picture',\n 'pre',\n 'progress',\n 'q',\n 'rp',\n 'rt',\n 'ruby',\n 's',\n 'samp',\n 'script',\n 'section',\n 'select',\n 'small',\n 'source',\n 'span',\n 'strong',\n 'style',\n 'sub',\n 'summary',\n 'sup',\n 'table',\n 'tbody',\n 'td',\n 'textarea',\n 'tfoot',\n 'th',\n 'thead',\n 'time',\n 'title',\n 'tr',\n 'track',\n 'u',\n 'ul',\n 'var',\n 'video',\n 'wbr',\n\n // SVG\n 'circle',\n 'clipPath',\n 'defs',\n 'ellipse',\n 'foreignObject',\n 'g',\n 'image',\n 'line',\n 'linearGradient',\n 'mask',\n 'path',\n 'pattern',\n 'polygon',\n 'polyline',\n 'radialGradient',\n 'rect',\n 'stop',\n 'svg',\n 'text',\n 'tspan'\n]\n"],"names":["_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","this","memoize","fn","cache","create","arg","undefined","reactPropsRegex","testOmitPropsOnStringTag","prop","test","charCodeAt","testOmitPropsOnComponent","getDefaultShouldForwardProp","tag","composeShouldForwardProps","options","isReal","shouldForwardProp","optionsShouldForwardProp","__emotion_forwardProp","propName","registerStyles","serialized","isStringTag","className","name","registered","styles","unitlessKeys","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","msGridRow","msGridRowSpan","msGridColumn","msGridColumnSpan","fontWeight","lineHeight","opacity","order","orphans","scale","tabSize","widows","zIndex","zoom","WebkitLineClamp","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","isDevelopment","hyphenateRegex","animationRegex","isCustomProperty","property","isProcessableValue","value","processStyleName","styleName","replace","toLowerCase","processStyleValue","match","p1","p2","cursor","next","unitless","noComponentSelectorMessage","handleInterpolation","mergedProps","interpolation","componentSelector","__emotion_styles","keyframes","anim","serializedStyles","obj","string","Array","isArray","asString","Error","interpolated","createStringFromObject","previousCursor","result","cached","labelPattern","useInsertionEffectAlwaysWithSyncFallback","React","Insertion","_ref","inserted","current","insert","sheet","insertStyles","newStyled","createStyled","identifierName","targetClassName","__emotion_real","baseTag","__emotion_base","label","defaultShouldForwardProp","shouldUseAs","args","slice","push","raw","len","Styled","withEmotionCache","props","ref","registeredStyles","classNames","rawClassName","FinalTag","as","classInterpolations","theme","useContext","ThemeContext","split","forEach","stringMode","strings","lastIndex","exec","str","k","h","toString","hashString","serializeStyles","concat","finalShouldForwardProp","newProps","createElement","Fragment","displayName","defaultProps","defineProperty","withComponent","nextTag","nextOptions","tagName"],"mappings":"snBAAe,SAASA,IActB,OAbAA,EAAWC,OAAOC,OAASD,OAAOC,OAAOC,OAAS,SAAUC,GAC1D,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CACzC,IAAIG,EAASF,UAAUD,GAEvB,IAAK,IAAII,KAAOD,EACVP,OAAOS,UAAUC,eAAeC,KAAKJ,EAAQC,KAC/CL,EAAOK,GAAOD,EAAOC,GAG1B,CAED,OAAOL,CACX,EACSJ,EAASa,MAAMC,KAAMR,UAC9B,CCfe,SAASS,EAAWC,GACjC,IAAMC,EAA2BhB,OAAOiB,OAAO,MAE/C,OAAO,SAACC,GAEN,YADmBC,IAAfH,EAAME,KAAoBF,EAAME,GAAOH,EAAGG,IACvCF,EAAME,GAEhB,CCFD,IAAME,EAAN,sgICgCMC,ED7B8BP,GAClC,SAAAQ,GAAI,OACFF,EAAgBG,KAAKD,IACG,MAAvBA,EAAKE,WAAW,IACQ,MAAvBF,EAAKE,WAAW,IAChBF,EAAKE,WAAW,GAAK,EAJrB,IC6BAC,EAA2B,SAACjB,GAAD,MAA+B,UAARA,CAAvB,EAEpBkB,EAA8B,SAACC,GAAD,MAC1B,iBAARA,GAIPA,EAAIH,WAAW,GAAK,GAChBH,EACAI,CAPqC,EAS9BG,EAA4B,SACvCD,EACAE,EACAC,GAEA,IAAIC,EACJ,GAAIF,EAAS,CACX,IAAMG,EAA2BH,EAAQE,kBACzCA,EACEJ,EAAIM,uBAAyBD,EACzB,SAACE,GAAD,OACEP,EAAIM,sBAAsBC,IAC1BF,EAAyBE,EAH/B,EAIIF,CACP,CAMD,MAJiC,mBAAtBD,GAAoCD,IAC7CC,EAAoBJ,EAAIM,uBAGnBF,CACR,EClDM,IAAMI,EAAiB,SAC5BnB,EACAoB,EACAC,GAEA,IAAIC,EAAetB,EAAMR,IAAO4B,IAAAA,EAAWG,MAOxB,IAAhB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IAEtB9B,EAACmD,cAAArB,EAAaoB,GAGnB,IAsCH,OAnCA3B,EAAO8B,iBACcpK,IAAnByH,EACIA,EAEE,WAAmB,iBAAZG,EACHA,EACAA,EAAQwC,aAAexC,EAAQxG,MAAQ,aANnD,IASAkH,EAAO+B,aAAe7J,EAAI6J,aAC1B/B,EAAOX,eAAiBW,EACxBA,EAAOT,eAAiBD,EACxBU,EAAOxC,iBAAmBxE,EAC1BgH,EAAOxH,sBAAwBF,EAE/B/B,OAAOyL,eAAehC,EAAQ,WAAY,CACxCzD,MAAQ,WAIN,MAAA,IAAW6C,CACZ,IAGHY,EAAOiC,cAAgB,SACrBC,EACAC,GAEA,OAAOjD,EAAagD,EACf9J,EAAAA,CAAAA,EAAAA,EACA+J,EAFc,CAGjB7J,kBAAmBH,EAA0B6H,EAAQmC,GAAa,MAH7DhL,WAAA,EAID6B,IAGDgH,EAEV,EChNwBvJ,aEJL,CAClB,IACA,OACA,UACA,OACA,UACA,QACA,QACA,IACA,OACA,MACA,MACA,MACA,aACA,OACA,KACA,SACA,SACA,UACA,OACA,OACA,MACA,WACA,OACA,WACA,KACA,MACA,UACA,MACA,SACA,MACA,KACA,KACA,KACA,QACA,WACA,aACA,SACA,SACA,OACA,KACA,KACA,KACA,KACA,KACA,KACA,OACA,SACA,SACA,KACA,OACA,IACA,SACA,MACA,QACA,MACA,MACA,SACA,QACA,SACA,KACA,OACA,OACA,MACA,OACA,UACA,OACA,WACA,OACA,QACA,MACA,WACA,SACA,KACA,WACA,SACA,SACA,IACA,QACA,UACA,MACA,WACA,IACA,KACA,KACA,OACA,IACA,OACA,SACA,UACA,SACA,QACA,SACA,OACA,SACA,QACA,MACA,UACA,MACA,QACA,QACA,KACA,WACA,QACA,KACA,QACA,OACA,QACA,KACA,QACA,IACA,KACA,MACA,QACA,MAGA,SACA,WACA,OACA,UACA,gBACA,IACA,QACA,OACA,iBACA,OACA,OACA,UACA,UACA,WACA,iBACA,OACA,OACA,MACA,OACA,SFlIGqK,SAAQ,SAAAsB,GACXnD,EAAUmD,GAAWnD,EAAUmD,EAChC"}
1
+ {"version":3,"file":"emotion-styled.umd.min.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/extends.js","../../unitless/src/index.ts","../../memoize/src/index.ts","../../serialize/src/conditions/false.ts","../../serialize/src/index.ts","../../use-insertion-effect-with-fallbacks/src/index.ts","../../utils/src/index.ts","../../is-prop-valid/src/index.ts","../src/utils.ts","../src/base.tsx","../src/index.ts","../../hash/src/index.ts","../src/tags.ts"],"sourcesContent":["export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}","let unitlessKeys: Record<string, 1> = {\n animationIterationCount: 1,\n aspectRatio: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n scale: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n}\n\nexport default unitlessKeys\n","export default function memoize<V>(fn: (arg: string) => V): (arg: string) => V {\n const cache: Record<string, V> = Object.create(null)\n\n return (arg: string) => {\n if (cache[arg] === undefined) cache[arg] = fn(arg)\n return cache[arg]\n }\n}\n","export default false as boolean\n","import type { RegisteredCache, SerializedStyles } from '@emotion/utils'\nimport hashString from '@emotion/hash'\nimport unitless from '@emotion/unitless'\nimport memoize from '@emotion/memoize'\nimport isDevelopment from '#is-development'\nimport * as CSS from 'csstype'\n\nexport type { RegisteredCache, SerializedStyles }\n\ntype Cursor = {\n name: string\n styles: string\n next?: Cursor\n}\n\nexport type CSSProperties = CSS.PropertiesFallback<number | string>\nexport type CSSPropertiesWithMultiValues = {\n [K in keyof CSSProperties]:\n | CSSProperties[K]\n | ReadonlyArray<Extract<CSSProperties[K], string>>\n}\n\nexport type CSSPseudos = { [K in CSS.Pseudos]?: CSSObject }\n\nexport interface ArrayCSSInterpolation\n extends ReadonlyArray<CSSInterpolation> {}\n\nexport type InterpolationPrimitive =\n | null\n | undefined\n | boolean\n | number\n | string\n | ComponentSelector\n | Keyframes\n | SerializedStyles\n | CSSObject\n\nexport type CSSInterpolation = InterpolationPrimitive | ArrayCSSInterpolation\n\nexport interface CSSOthersObject {\n [propertiesName: string]: CSSInterpolation\n}\n\nexport interface CSSObject\n extends CSSPropertiesWithMultiValues,\n CSSPseudos,\n CSSOthersObject {}\n\nexport interface ComponentSelector {\n __emotion_styles: any\n}\n\nexport type Keyframes = {\n name: string\n styles: string\n anim: number\n toString: () => string\n} & string\n\nexport interface ArrayInterpolation<Props = unknown>\n extends ReadonlyArray<Interpolation<Props>> {}\n\nexport interface FunctionInterpolation<Props = unknown> {\n (props: Props): Interpolation<Props>\n}\n\nexport type Interpolation<Props = unknown> =\n | InterpolationPrimitive\n | ArrayInterpolation<Props>\n | FunctionInterpolation<Props>\n\nconst ILLEGAL_ESCAPE_SEQUENCE_ERROR = `You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\\\00d7';\" should become \"content: '\\\\\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`\n\nconst UNDEFINED_AS_OBJECT_KEY_ERROR =\n \"You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).\"\n\nlet hyphenateRegex = /[A-Z]|^ms/g\nlet animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g\n\nconst isCustomProperty = (property: string) => property.charCodeAt(1) === 45\nconst isProcessableValue = (value: Interpolation) =>\n value != null && typeof value !== 'boolean'\n\nconst processStyleName = /* #__PURE__ */ memoize((styleName: string) =>\n isCustomProperty(styleName)\n ? styleName\n : styleName.replace(hyphenateRegex, '-$&').toLowerCase()\n)\n\nlet processStyleValue = (\n key: string,\n value: string | number\n): string | number => {\n switch (key) {\n case 'animation':\n case 'animationName': {\n if (typeof value === 'string') {\n return value.replace(animationRegex, (match, p1, p2) => {\n cursor = {\n name: p1,\n styles: p2,\n next: cursor\n }\n return p1\n })\n }\n }\n }\n\n if (\n unitless[key as keyof typeof unitless] !== 1 &&\n !isCustomProperty(key) &&\n typeof value === 'number' &&\n value !== 0\n ) {\n return value + 'px'\n }\n return value\n}\n\nif (isDevelopment) {\n let contentValuePattern =\n /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\\(|(no-)?(open|close)-quote/\n let contentValues = ['normal', 'none', 'initial', 'inherit', 'unset']\n\n let oldProcessStyleValue = processStyleValue\n\n let msPattern = /^-ms-/\n let hyphenPattern = /-(.)/g\n\n let hyphenatedCache: Record<string, boolean | undefined> = {}\n\n processStyleValue = (key: string, value: string | number) => {\n if (key === 'content') {\n if (\n typeof value !== 'string' ||\n (contentValues.indexOf(value) === -1 &&\n !contentValuePattern.test(value) &&\n (value.charAt(0) !== value.charAt(value.length - 1) ||\n (value.charAt(0) !== '\"' && value.charAt(0) !== \"'\")))\n ) {\n throw new Error(\n `You seem to be using a value for 'content' without quotes, try replacing it with \\`content: '\"${value}\"'\\``\n )\n }\n }\n\n const processed = oldProcessStyleValue(key, value)\n\n if (\n processed !== '' &&\n !isCustomProperty(key) &&\n key.indexOf('-') !== -1 &&\n hyphenatedCache[key] === undefined\n ) {\n hyphenatedCache[key] = true\n console.error(\n `Using kebab-case for css properties in objects is not supported. Did you mean ${key\n .replace(msPattern, 'ms-')\n .replace(hyphenPattern, (str, char) => char.toUpperCase())}?`\n )\n }\n\n return processed\n }\n}\n\nconst noComponentSelectorMessage =\n 'Component selectors can only be used in conjunction with ' +\n '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' +\n 'compiler transform.'\n\nfunction handleInterpolation(\n mergedProps: unknown | undefined,\n registered: RegisteredCache | undefined,\n interpolation: Interpolation\n): string | number {\n if (interpolation == null) {\n return ''\n }\n const componentSelector = interpolation as ComponentSelector\n if (componentSelector.__emotion_styles !== undefined) {\n if (\n isDevelopment &&\n String(componentSelector) === 'NO_COMPONENT_SELECTOR'\n ) {\n throw new Error(noComponentSelectorMessage)\n }\n return componentSelector as unknown as string\n }\n\n switch (typeof interpolation) {\n case 'boolean': {\n return ''\n }\n case 'object': {\n const keyframes = interpolation as Keyframes\n if (keyframes.anim === 1) {\n cursor = {\n name: keyframes.name,\n styles: keyframes.styles,\n next: cursor\n }\n\n return keyframes.name\n }\n const serializedStyles = interpolation as SerializedStyles\n if (serializedStyles.styles !== undefined) {\n let next = serializedStyles.next\n if (next !== undefined) {\n // not the most efficient thing ever but this is a pretty rare case\n // and there will be very few iterations of this generally\n while (next !== undefined) {\n cursor = {\n name: next.name,\n styles: next.styles,\n next: cursor\n }\n next = next.next\n }\n }\n let styles = `${serializedStyles.styles};`\n return styles\n }\n\n return createStringFromObject(\n mergedProps,\n registered,\n interpolation as ArrayInterpolation | CSSObject\n )\n }\n case 'function': {\n if (mergedProps !== undefined) {\n let previousCursor = cursor\n let result = interpolation(mergedProps)\n cursor = previousCursor\n\n return handleInterpolation(mergedProps, registered, result)\n } else if (isDevelopment) {\n console.error(\n 'Functions that are interpolated in css calls will be stringified.\\n' +\n 'If you want to have a css call based on props, create a function that returns a css call like this\\n' +\n 'let dynamicStyle = (props) => css`color: ${props.color}`\\n' +\n 'It can be called directly with props or interpolated in a styled call like this\\n' +\n \"let SomeComponent = styled('div')`${dynamicStyle}`\"\n )\n }\n break\n }\n case 'string':\n if (isDevelopment) {\n const matched: string[] = []\n const replaced = interpolation.replace(\n animationRegex,\n (_match, _p1, p2) => {\n const fakeVarName = `animation${matched.length}`\n matched.push(\n `const ${fakeVarName} = keyframes\\`${p2.replace(\n /^@keyframes animation-\\w+/,\n ''\n )}\\``\n )\n return `\\${${fakeVarName}}`\n }\n )\n if (matched.length) {\n console.error(\n `\\`keyframes\\` output got interpolated into plain string, please wrap it with \\`css\\`.\n\nInstead of doing this:\n\n${[...matched, `\\`${replaced}\\``].join('\\n')}\n\nYou should wrap it with \\`css\\` like this:\n\ncss\\`${replaced}\\``\n )\n }\n }\n break\n }\n\n // finalize string values (regular strings and functions interpolated into css calls)\n const asString = interpolation as string\n if (registered == null) {\n return asString\n }\n const cached = registered[asString]\n return cached !== undefined ? cached : asString\n}\n\nfunction createStringFromObject(\n mergedProps: unknown | undefined,\n registered: RegisteredCache | undefined,\n obj: ArrayInterpolation | CSSObject\n): string {\n let string = ''\n\n if (Array.isArray(obj)) {\n for (let i = 0; i < obj.length; i++) {\n string += `${handleInterpolation(mergedProps, registered, obj[i])};`\n }\n } else {\n for (let key in obj) {\n let value: unknown = obj[key as never]\n if (typeof value !== 'object') {\n const asString = value as string\n if (registered != null && registered[asString] !== undefined) {\n string += `${key}{${registered[asString]}}`\n } else if (isProcessableValue(asString)) {\n string += `${processStyleName(key)}:${processStyleValue(\n key,\n asString\n )};`\n }\n } else {\n if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment) {\n throw new Error(noComponentSelectorMessage)\n }\n if (\n Array.isArray(value) &&\n typeof value[0] === 'string' &&\n (registered == null || registered[value[0]] === undefined)\n ) {\n for (let i = 0; i < value.length; i++) {\n if (isProcessableValue(value[i])) {\n string += `${processStyleName(key)}:${processStyleValue(\n key,\n value[i] as string | number\n )};`\n }\n }\n } else {\n const interpolated = handleInterpolation(\n mergedProps,\n registered,\n value as Interpolation\n )\n switch (key) {\n case 'animation':\n case 'animationName': {\n string += `${processStyleName(key)}:${interpolated};`\n break\n }\n default: {\n if (isDevelopment && key === 'undefined') {\n console.error(UNDEFINED_AS_OBJECT_KEY_ERROR)\n }\n string += `${key}{${interpolated}}`\n }\n }\n }\n }\n }\n }\n\n return string\n}\n\nlet labelPattern = /label:\\s*([^\\s;{]+)\\s*(;|$)/g\n\n// this is the cursor for keyframes\n// keyframes are stored on the SerializedStyles object as a linked list\nlet cursor: Cursor | undefined\n\nexport function serializeStyles<Props>(\n args: Array<TemplateStringsArray | Interpolation<Props>>,\n registered?: RegisteredCache,\n mergedProps?: Props\n): SerializedStyles\nexport function serializeStyles(\n args: Array<TemplateStringsArray | Interpolation<unknown>>,\n registered?: RegisteredCache,\n mergedProps?: unknown\n): SerializedStyles {\n if (\n args.length === 1 &&\n typeof args[0] === 'object' &&\n args[0] !== null &&\n (args[0] as SerializedStyles).styles !== undefined\n ) {\n return args[0] as SerializedStyles\n }\n let stringMode = true\n let styles = ''\n\n cursor = undefined\n let strings = args[0]\n if (strings == null || (strings as TemplateStringsArray).raw === undefined) {\n stringMode = false\n styles += handleInterpolation(\n mergedProps,\n registered,\n strings as Interpolation\n )\n } else {\n const templateStringsArr = strings as TemplateStringsArray\n if (isDevelopment && templateStringsArr[0] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR)\n }\n styles += templateStringsArr[0]\n }\n // we start at 1 since we've already handled the first arg\n for (let i = 1; i < args.length; i++) {\n styles += handleInterpolation(\n mergedProps,\n registered,\n args[i] as Interpolation\n )\n if (stringMode) {\n const templateStringsArr = strings as TemplateStringsArray\n if (isDevelopment && templateStringsArr[i] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR)\n }\n styles += templateStringsArr[i]\n }\n }\n\n // using a global regex with .exec is stateful so lastIndex has to be reset each time\n labelPattern.lastIndex = 0\n let identifierName = ''\n\n let match\n // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n while ((match = labelPattern.exec(styles)) !== null) {\n identifierName += '-' + match[1]\n }\n\n let name = hashString(styles) + identifierName\n\n if (isDevelopment) {\n const devStyles = {\n name,\n styles,\n next: cursor,\n toString() {\n return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\"\n }\n }\n return devStyles\n }\n return {\n name,\n styles,\n next: cursor\n }\n}\n","import * as React from 'react'\nimport isBrowser from '#is-browser'\n\nconst syncFallback = <T>(create: () => T) => create()\n\nconst useInsertionEffect = React[\n ('useInsertion' + 'Effect') as 'useInsertionEffect'\n]\n ? (React[('useInsertion' + 'Effect') as 'useInsertionEffect'] as <T>(\n create: () => T\n ) => T | undefined)\n : false\n\nexport const useInsertionEffectAlwaysWithSyncFallback: <T>(\n create: () => T\n) => T | undefined = !isBrowser\n ? syncFallback\n : useInsertionEffect || syncFallback\n\nexport const useInsertionEffectWithLayoutFallback: typeof React.useLayoutEffect =\n useInsertionEffect || React.useLayoutEffect\n","import isBrowser from '#is-browser'\nimport { RegisteredCache, EmotionCache, SerializedStyles } from './types'\n\nexport function getRegisteredStyles(\n registered: RegisteredCache,\n registeredStyles: unknown[],\n classNames: string\n): string {\n let rawClassName = ''\n\n classNames.split(' ').forEach(className => {\n if (registered[className] !== undefined) {\n registeredStyles.push(`${registered[className]};`)\n } else if (className) {\n rawClassName += `${className} `\n }\n })\n return rawClassName\n}\n\nexport const registerStyles = (\n cache: EmotionCache,\n serialized: SerializedStyles,\n isStringTag: boolean\n): void => {\n let className = `${cache.key}-${serialized.name}`\n if (\n // we only need to add the styles to the registered cache if the\n // class name could be used further down\n // the tree but if it's a string tag, we know it won't\n // so we don't have to add it to registered cache.\n // this improves memory usage since we can avoid storing the whole style string\n (isStringTag === false ||\n // we need to always store it if we're in compat mode and\n // in node since emotion-server relies on whether a style is in\n // the registered cache to know whether a style is global or not\n // also, note that this check will be dead code eliminated in the browser\n (isBrowser === false && cache.compat !== undefined)) &&\n cache.registered[className] === undefined\n ) {\n cache.registered[className] = serialized.styles\n }\n}\n\nexport const insertStyles = (\n cache: EmotionCache,\n serialized: SerializedStyles,\n isStringTag: boolean\n) => {\n registerStyles(cache, serialized, isStringTag)\n\n let className = `${cache.key}-${serialized.name}`\n\n if (cache.inserted[serialized.name] === undefined) {\n let stylesForSSR = ''\n let current: SerializedStyles | undefined = serialized\n do {\n let maybeStyles = cache.insert(\n serialized === current ? `.${className}` : '',\n current,\n cache.sheet,\n true\n )\n if (!isBrowser && maybeStyles !== undefined) {\n stylesForSSR += maybeStyles\n }\n current = current.next\n } while (current !== undefined)\n if (!isBrowser && stylesForSSR.length !== 0) {\n return stylesForSSR\n }\n }\n}\n\nexport * from './types'\n","import memoize from '@emotion/memoize'\n\ndeclare const codegen: { require: (path: string) => any }\n\n// eslint-disable-next-line no-undef\nconst reactPropsRegex: RegExp = codegen.require('./props')\n\n// https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\nconst isPropValid = /* #__PURE__ */ memoize(\n prop =>\n reactPropsRegex.test(prop) ||\n (prop.charCodeAt(0) === 111 /* o */ &&\n prop.charCodeAt(1) === 110 /* n */ &&\n prop.charCodeAt(2) < 91) /* Z+1 */\n)\n\nexport default isPropValid\n","import * as React from 'react'\nimport isPropValid from '@emotion/is-prop-valid'\nimport { StyledOptions, ElementType } from './types'\n\nconst testOmitPropsOnStringTag = isPropValid\nconst testOmitPropsOnComponent = (key: string) => key !== 'theme'\n\nexport const getDefaultShouldForwardProp = (tag: React.ElementType) =>\n typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96\n ? testOmitPropsOnStringTag\n : testOmitPropsOnComponent\n\nexport const composeShouldForwardProps = (\n tag: ElementType,\n options: StyledOptions | undefined,\n isReal: boolean\n) => {\n let shouldForwardProp\n if (options) {\n const optionsShouldForwardProp = options.shouldForwardProp\n shouldForwardProp =\n tag.__emotion_forwardProp && optionsShouldForwardProp\n ? (propName: string) =>\n tag.__emotion_forwardProp!(propName) &&\n optionsShouldForwardProp(propName)\n : optionsShouldForwardProp\n }\n\n if (typeof shouldForwardProp !== 'function' && isReal) {\n shouldForwardProp = tag.__emotion_forwardProp\n }\n\n return shouldForwardProp\n}\n","import isBrowser from '#is-browser'\nimport isDevelopment from '#is-development'\nimport { Theme, ThemeContext, withEmotionCache } from '@emotion/react'\nimport { Interpolation, serializeStyles } from '@emotion/serialize'\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks'\nimport {\n EmotionCache,\n getRegisteredStyles,\n insertStyles,\n registerStyles,\n SerializedStyles\n} from '@emotion/utils'\nimport * as React from 'react'\nimport { CreateStyled, ElementType, StyledOptions } from './types'\nimport { composeShouldForwardProps, getDefaultShouldForwardProp } from './utils'\nexport type {\n ArrayInterpolation,\n ComponentSelector,\n CSSObject,\n FunctionInterpolation,\n Interpolation\n} from '@emotion/serialize'\n\nconst ILLEGAL_ESCAPE_SEQUENCE_ERROR = `You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\\\00d7';\" should become \"content: '\\\\\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`\n\nconst Insertion = ({\n cache,\n serialized,\n isStringTag\n}: {\n cache: EmotionCache\n serialized: SerializedStyles\n isStringTag: boolean\n}) => {\n registerStyles(cache, serialized, isStringTag)\n\n const rules = useInsertionEffectAlwaysWithSyncFallback(() =>\n insertStyles(cache, serialized, isStringTag)\n )\n\n if (!isBrowser && rules !== undefined) {\n let serializedNames = serialized.name\n let next = serialized.next\n while (next !== undefined) {\n serializedNames += ' ' + next.name\n next = next.next\n }\n return (\n <style\n {...{\n [`data-emotion`]: `${cache.key} ${serializedNames}`,\n dangerouslySetInnerHTML: { __html: rules },\n nonce: cache.sheet.nonce\n }}\n />\n )\n }\n return null\n}\n\nconst createStyled = (tag: ElementType, options?: StyledOptions) => {\n if (isDevelopment) {\n if (tag === undefined) {\n throw new Error(\n 'You are trying to create a styled element with an undefined component.\\nYou may have forgotten to import it.'\n )\n }\n }\n const isReal = tag.__emotion_real === tag\n const baseTag = (isReal && tag.__emotion_base) || tag\n\n let identifierName: string | undefined\n let targetClassName: string | undefined\n if (options !== undefined) {\n identifierName = options.label\n targetClassName = options.target\n }\n\n const shouldForwardProp = composeShouldForwardProps(tag, options, isReal)\n const defaultShouldForwardProp =\n shouldForwardProp || getDefaultShouldForwardProp(baseTag)\n const shouldUseAs = !defaultShouldForwardProp('as')\n\n return function () {\n // eslint-disable-next-line prefer-rest-params\n let args = arguments as any as Array<\n TemplateStringsArray | Interpolation<Theme>\n >\n let styles =\n isReal && tag.__emotion_styles !== undefined\n ? tag.__emotion_styles.slice(0)\n : []\n\n if (identifierName !== undefined) {\n styles.push(`label:${identifierName};`)\n }\n if (\n args[0] == null ||\n (args[0] as TemplateStringsArray).raw === undefined\n ) {\n // eslint-disable-next-line prefer-spread\n styles.push.apply(styles, args)\n } else {\n const templateStringsArr = args[0] as TemplateStringsArray\n if (isDevelopment && templateStringsArr[0] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR)\n }\n styles.push(templateStringsArr[0])\n let len = args.length\n let i = 1\n for (; i < len; i++) {\n if (isDevelopment && templateStringsArr[i] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR)\n }\n styles.push(args[i], templateStringsArr[i])\n }\n }\n\n const Styled: ElementType = withEmotionCache(\n (props: Record<string, unknown>, cache, ref) => {\n const FinalTag =\n (shouldUseAs && (props.as as React.ElementType)) || baseTag\n\n let className = ''\n let classInterpolations: Interpolation<Theme>[] = []\n let mergedProps = props\n if (props.theme == null) {\n mergedProps = {}\n for (let key in props) {\n mergedProps[key] = props[key]\n }\n mergedProps.theme = React.useContext(ThemeContext)\n }\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(\n cache.registered,\n classInterpolations,\n props.className\n )\n } else if (props.className != null) {\n className = `${props.className} `\n }\n\n const serialized = serializeStyles(\n styles.concat(classInterpolations),\n cache.registered,\n mergedProps\n )\n className += `${cache.key}-${serialized.name}`\n if (targetClassName !== undefined) {\n className += ` ${targetClassName}`\n }\n\n const finalShouldForwardProp =\n shouldUseAs && shouldForwardProp === undefined\n ? getDefaultShouldForwardProp(FinalTag)\n : defaultShouldForwardProp\n\n let newProps: Record<string, unknown> = {}\n\n for (let key in props) {\n if (shouldUseAs && key === 'as') continue\n\n if (finalShouldForwardProp(key)) {\n newProps[key] = props[key]\n }\n }\n newProps.className = className\n if (ref) {\n newProps.ref = ref\n }\n\n return (\n <>\n <Insertion\n cache={cache}\n serialized={serialized}\n isStringTag={typeof FinalTag === 'string'}\n />\n <FinalTag {...newProps} />\n </>\n )\n }\n )\n\n Styled.displayName =\n identifierName !== undefined\n ? identifierName\n : `Styled(${\n typeof baseTag === 'string'\n ? baseTag\n : baseTag.displayName || baseTag.name || 'Component'\n })`\n\n Styled.defaultProps = tag.defaultProps\n Styled.__emotion_real = Styled\n Styled.__emotion_base = baseTag\n Styled.__emotion_styles = styles\n Styled.__emotion_forwardProp = shouldForwardProp\n\n Object.defineProperty(Styled, 'toString', {\n value() {\n if (targetClassName === undefined && isDevelopment) {\n return 'NO_COMPONENT_SELECTOR'\n }\n return `.${targetClassName}`\n }\n })\n ;(Styled as any).withComponent = (\n nextTag: ElementType,\n nextOptions: StyledOptions\n ) => {\n const newStyled = createStyled(nextTag, {\n ...options,\n ...nextOptions,\n shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)\n })\n return (newStyled as any)(...styles)\n }\n\n return Styled\n }\n}\n\nexport default createStyled as CreateStyled\n","import { Theme } from '@emotion/react'\nimport baseStyled from './base'\nimport { ReactJSXIntrinsicElements } from './jsx-namespace'\nimport { tags } from './tags'\nimport {\n CreateStyledComponent,\n CreateStyled as BaseCreateStyled\n} from './types'\nexport type {\n ArrayInterpolation,\n ComponentSelector,\n CSSObject,\n FunctionInterpolation,\n Interpolation\n} from '@emotion/serialize'\nexport type {\n CreateStyledComponent,\n FilteringStyledOptions,\n StyledComponent,\n StyledOptions\n} from './types'\n\nexport type StyledTags = {\n [Tag in keyof ReactJSXIntrinsicElements]: CreateStyledComponent<\n {\n theme?: Theme\n as?: React.ElementType\n },\n ReactJSXIntrinsicElements[Tag]\n >\n}\n\nexport interface CreateStyled extends BaseCreateStyled, StyledTags {}\n\n// bind it to avoid mutating the original function\nconst styled = baseStyled.bind(null) as CreateStyled\n\ntags.forEach(tagName => {\n ;(styled as any)[tagName] = styled(tagName as keyof typeof styled)\n})\n\nexport default styled\n","/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\n\nexport default function murmur2(str: string): string {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n\n // const m = 0x5bd1e995;\n // const r = 24;\n\n // Initialize the hash\n\n var h = 0\n\n // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length\n for (; len >= 4; ++i, len -= 4) {\n k =\n (str.charCodeAt(i) & 0xff) |\n ((str.charCodeAt(++i) & 0xff) << 8) |\n ((str.charCodeAt(++i) & 0xff) << 16) |\n ((str.charCodeAt(++i) & 0xff) << 24)\n\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0xe995) << 16)\n k ^= /* k >>> r: */ k >>> 24\n\n h =\n /* Math.imul(k, m): */\n ((k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0xe995) << 16)) ^\n /* Math.imul(h, m): */\n ((h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0xe995) << 16))\n }\n\n // Handle the last few bytes of the input array\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8\n case 1:\n h ^= str.charCodeAt(i) & 0xff\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0xe995) << 16)\n }\n\n // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n h ^= h >>> 13\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0xe995) << 16)\n\n return ((h ^ (h >>> 15)) >>> 0).toString(36)\n}\n","export const tags = [\n 'a',\n 'abbr',\n 'address',\n 'area',\n 'article',\n 'aside',\n 'audio',\n 'b',\n 'base',\n 'bdi',\n 'bdo',\n 'big',\n 'blockquote',\n 'body',\n 'br',\n 'button',\n 'canvas',\n 'caption',\n 'cite',\n 'code',\n 'col',\n 'colgroup',\n 'data',\n 'datalist',\n 'dd',\n 'del',\n 'details',\n 'dfn',\n 'dialog',\n 'div',\n 'dl',\n 'dt',\n 'em',\n 'embed',\n 'fieldset',\n 'figcaption',\n 'figure',\n 'footer',\n 'form',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'head',\n 'header',\n 'hgroup',\n 'hr',\n 'html',\n 'i',\n 'iframe',\n 'img',\n 'input',\n 'ins',\n 'kbd',\n 'keygen',\n 'label',\n 'legend',\n 'li',\n 'link',\n 'main',\n 'map',\n 'mark',\n 'marquee',\n 'menu',\n 'menuitem',\n 'meta',\n 'meter',\n 'nav',\n 'noscript',\n 'object',\n 'ol',\n 'optgroup',\n 'option',\n 'output',\n 'p',\n 'param',\n 'picture',\n 'pre',\n 'progress',\n 'q',\n 'rp',\n 'rt',\n 'ruby',\n 's',\n 'samp',\n 'script',\n 'section',\n 'select',\n 'small',\n 'source',\n 'span',\n 'strong',\n 'style',\n 'sub',\n 'summary',\n 'sup',\n 'table',\n 'tbody',\n 'td',\n 'textarea',\n 'tfoot',\n 'th',\n 'thead',\n 'time',\n 'title',\n 'tr',\n 'track',\n 'u',\n 'ul',\n 'var',\n 'video',\n 'wbr',\n\n // SVG\n 'circle',\n 'clipPath',\n 'defs',\n 'ellipse',\n 'foreignObject',\n 'g',\n 'image',\n 'line',\n 'linearGradient',\n 'mask',\n 'path',\n 'pattern',\n 'polygon',\n 'polyline',\n 'radialGradient',\n 'rect',\n 'stop',\n 'svg',\n 'text',\n 'tspan'\n] as const\n"],"names":["_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","this","unitlessKeys","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","msGridRow","msGridRowSpan","msGridColumn","msGridColumnSpan","fontWeight","lineHeight","opacity","order","orphans","scale","tabSize","widows","zIndex","zoom","WebkitLineClamp","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","memoize","fn","cache","create","arg","undefined","isDevelopment","hyphenateRegex","animationRegex","isCustomProperty","property","charCodeAt","isProcessableValue","value","processStyleName","styleName","replace","toLowerCase","processStyleValue","match","p1","p2","cursor","name","styles","next","unitless","noComponentSelectorMessage","handleInterpolation","mergedProps","registered","interpolation","componentSelector","__emotion_styles","keyframes","anim","serializedStyles","obj","string","Array","isArray","asString","Error","interpolated","createStringFromObject","previousCursor","result","cached","labelPattern","useInsertionEffectAlwaysWithSyncFallback","React","registerStyles","serialized","isStringTag","className","reactPropsRegex","testOmitPropsOnStringTag","prop","test","testOmitPropsOnComponent","getDefaultShouldForwardProp","tag","composeShouldForwardProps","options","isReal","shouldForwardProp","optionsShouldForwardProp","__emotion_forwardProp","propName","Insertion","_ref","inserted","current","insert","sheet","insertStyles","styled","createStyled","identifierName","targetClassName","__emotion_real","baseTag","__emotion_base","label","defaultShouldForwardProp","shouldUseAs","args","slice","push","raw","templateStringsArr","len","Styled","withEmotionCache","props","ref","registeredStyles","classNames","rawClassName","FinalTag","as","classInterpolations","theme","useContext","ThemeContext","split","forEach","stringMode","strings","lastIndex","exec","str","k","h","toString","hashString","serializeStyles","concat","finalShouldForwardProp","newProps","createElement","Fragment","displayName","defaultProps","defineProperty","withComponent","nextTag","nextOptions","tagName"],"mappings":"snBAAe,SAASA,IActB,OAbAA,EAAWC,OAAOC,OAASD,OAAOC,OAAOC,OAAS,SAAUC,GAC1D,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CACzC,IAAIG,EAASF,UAAUD,GAEvB,IAAK,IAAII,KAAOD,EACVP,OAAOS,UAAUC,eAAeC,KAAKJ,EAAQC,KAC/CL,EAAOK,GAAOD,EAAOC,GAG1B,CAED,OAAOL,CACX,EACSJ,EAASa,MAAMC,KAAMR,UAC9B,CCfA,IAAIS,EAAkC,CACpCC,wBAAyB,EACzBC,YAAa,EACbC,kBAAmB,EACnBC,iBAAkB,EAClBC,iBAAkB,EAClBC,QAAS,EACTC,aAAc,EACdC,gBAAiB,EACjBC,YAAa,EACbC,QAAS,EACTC,KAAM,EACNC,SAAU,EACVC,aAAc,EACdC,WAAY,EACZC,aAAc,EACdC,UAAW,EACXC,QAAS,EACTC,WAAY,EACZC,YAAa,EACbC,aAAc,EACdC,WAAY,EACZC,cAAe,EACfC,eAAgB,EAChBC,gBAAiB,EACjBC,UAAW,EACXC,cAAe,EACfC,aAAc,EACdC,iBAAkB,EAClBC,WAAY,EACZC,WAAY,EACZC,QAAS,E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,IACA,SACA,MACA,QACA,MACA,MACA,SACA,QACA,SACA,KACA,OACA,OACA,MACA,OACA,UACA,OACA,WACA,OACA,QACA,MACA,WACA,SACA,KACA,WACA,SACA,SACA,IACA,QACA,UACA,MACA,WACA,IACA,KACA,KACA,OACA,IACA,OACA,SACA,UACA,SACA,QACA,SACA,OACA,SACA,QACA,MACA,UACA,MACA,QACA,QACA,KACA,WACA,QACA,KACA,QACA,OACA,QACA,KACA,QACA,IACA,KACA,MACA,QACA,MAGA,SACA,WACA,OACA,UACA,gBACA,IACA,QACA,OACA,iBACA,OACA,OACA,UACA,UACA,WACA,iBACA,OACA,OACA,MACA,OACA,SFnGGsK,SAAQ,SAAAsB,GACTpD,EAAeoD,GAAWpD,EAAOoD,EACpC"}
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@emotion/styled",
3
- "version": "11.13.5",
3
+ "version": "11.14.1",
4
4
  "description": "styled API for emotion",
5
5
  "main": "dist/emotion-styled.cjs.js",
6
6
  "module": "dist/emotion-styled.esm.js",
7
- "types": "types/index.d.ts",
7
+ "types": "dist/emotion-styled.cjs.d.ts",
8
8
  "license": "MIT",
9
9
  "repository": "https://github.com/emotion-js/emotion/tree/main/packages/styled",
10
10
  "scripts": {
@@ -15,7 +15,7 @@
15
15
  "@emotion/babel-plugin": "^11.13.5",
16
16
  "@emotion/is-prop-valid": "^1.3.0",
17
17
  "@emotion/serialize": "^1.3.3",
18
- "@emotion/use-insertion-effect-with-fallbacks": "^1.1.0",
18
+ "@emotion/use-insertion-effect-with-fallbacks": "^1.2.0",
19
19
  "@emotion/utils": "^1.4.2"
20
20
  },
21
21
  "peerDependencies": {
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@definitelytyped/dtslint": "0.0.112",
32
- "@emotion/react": "11.13.5",
32
+ "@emotion/react": "11.14.0",
33
33
  "react": "16.14.0",
34
34
  "typescript": "^5.4.5"
35
35
  },
@@ -40,7 +40,6 @@
40
40
  "src",
41
41
  "dist",
42
42
  "base",
43
- "types/*.d.ts",
44
43
  "macro.*"
45
44
  ],
46
45
  "umd:main": "dist/emotion-styled.umd.min.js",
@@ -164,22 +163,22 @@
164
163
  },
165
164
  "imports": {
166
165
  "#is-development": {
167
- "development": "./src/conditions/true.js",
168
- "default": "./src/conditions/false.js"
166
+ "development": "./src/conditions/true.ts",
167
+ "default": "./src/conditions/false.ts"
169
168
  },
170
169
  "#is-browser": {
171
- "edge-light": "./src/conditions/false.js",
172
- "workerd": "./src/conditions/false.js",
173
- "worker": "./src/conditions/false.js",
174
- "browser": "./src/conditions/true.js",
175
- "default": "./src/conditions/is-browser.js"
170
+ "edge-light": "./src/conditions/false.ts",
171
+ "workerd": "./src/conditions/false.ts",
172
+ "worker": "./src/conditions/false.ts",
173
+ "browser": "./src/conditions/true.ts",
174
+ "default": "./src/conditions/is-browser.ts"
176
175
  }
177
176
  },
178
177
  "preconstruct": {
179
178
  "umdName": "emotionStyled",
180
179
  "entrypoints": [
181
- "./index.js",
182
- "./base.js"
180
+ "./index.ts",
181
+ "./base.tsx"
183
182
  ],
184
183
  "exports": {
185
184
  "extra": {
@@ -1,31 +1,40 @@
1
- import * as React from 'react'
2
- import {
3
- getDefaultShouldForwardProp,
4
- composeShouldForwardProps
5
- /*
6
- type StyledOptions,
7
- type CreateStyled,
8
- type PrivateStyledComponent,
9
- type StyledElementType
10
- */
11
- } from './utils'
12
- import { withEmotionCache, ThemeContext } from '@emotion/react'
13
- import isDevelopment from '#is-development'
14
1
  import isBrowser from '#is-browser'
2
+ import isDevelopment from '#is-development'
3
+ import { Theme, ThemeContext, withEmotionCache } from '@emotion/react'
4
+ import { Interpolation, serializeStyles } from '@emotion/serialize'
5
+ import { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks'
15
6
  import {
7
+ EmotionCache,
16
8
  getRegisteredStyles,
17
9
  insertStyles,
18
- registerStyles
10
+ registerStyles,
11
+ SerializedStyles
19
12
  } from '@emotion/utils'
20
- import { serializeStyles } from '@emotion/serialize'
21
- import { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks'
13
+ import * as React from 'react'
14
+ import { CreateStyled, ElementType, StyledOptions } from './types'
15
+ import { composeShouldForwardProps, getDefaultShouldForwardProp } from './utils'
16
+ export type {
17
+ ArrayInterpolation,
18
+ ComponentSelector,
19
+ CSSObject,
20
+ FunctionInterpolation,
21
+ Interpolation
22
+ } from '@emotion/serialize'
22
23
 
23
24
  const ILLEGAL_ESCAPE_SEQUENCE_ERROR = `You have illegal escape sequence in your template literal, most likely inside content's property value.
24
25
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
25
26
  You can read more about this here:
26
27
  https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`
27
28
 
28
- const Insertion = ({ cache, serialized, isStringTag }) => {
29
+ const Insertion = ({
30
+ cache,
31
+ serialized,
32
+ isStringTag
33
+ }: {
34
+ cache: EmotionCache
35
+ serialized: SerializedStyles
36
+ isStringTag: boolean
37
+ }) => {
29
38
  registerStyles(cache, serialized, isStringTag)
30
39
 
31
40
  const rules = useInsertionEffectAlwaysWithSyncFallback(() =>
@@ -52,10 +61,7 @@ const Insertion = ({ cache, serialized, isStringTag }) => {
52
61
  return null
53
62
  }
54
63
 
55
- let createStyled /*: CreateStyled */ = (
56
- tag /*: any */,
57
- options /* ?: StyledOptions */
58
- ) => {
64
+ const createStyled = (tag: ElementType, options?: StyledOptions) => {
59
65
  if (isDevelopment) {
60
66
  if (tag === undefined) {
61
67
  throw new Error(
@@ -66,8 +72,8 @@ let createStyled /*: CreateStyled */ = (
66
72
  const isReal = tag.__emotion_real === tag
67
73
  const baseTag = (isReal && tag.__emotion_base) || tag
68
74
 
69
- let identifierName
70
- let targetClassName
75
+ let identifierName: string | undefined
76
+ let targetClassName: string | undefined
71
77
  if (options !== undefined) {
72
78
  identifierName = options.label
73
79
  targetClassName = options.target
@@ -78,9 +84,11 @@ let createStyled /*: CreateStyled */ = (
78
84
  shouldForwardProp || getDefaultShouldForwardProp(baseTag)
79
85
  const shouldUseAs = !defaultShouldForwardProp('as')
80
86
 
81
- /* return function<Props>(): PrivateStyledComponent<Props> { */
82
87
  return function () {
83
- let args = arguments
88
+ // eslint-disable-next-line prefer-rest-params
89
+ let args = arguments as any as Array<
90
+ TemplateStringsArray | Interpolation<Theme>
91
+ >
84
92
  let styles =
85
93
  isReal && tag.__emotion_styles !== undefined
86
94
  ? tag.__emotion_styles.slice(0)
@@ -89,29 +97,35 @@ let createStyled /*: CreateStyled */ = (
89
97
  if (identifierName !== undefined) {
90
98
  styles.push(`label:${identifierName};`)
91
99
  }
92
- if (args[0] == null || args[0].raw === undefined) {
100
+ if (
101
+ args[0] == null ||
102
+ (args[0] as TemplateStringsArray).raw === undefined
103
+ ) {
104
+ // eslint-disable-next-line prefer-spread
93
105
  styles.push.apply(styles, args)
94
106
  } else {
95
- if (isDevelopment && args[0][0] === undefined) {
107
+ const templateStringsArr = args[0] as TemplateStringsArray
108
+ if (isDevelopment && templateStringsArr[0] === undefined) {
96
109
  console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR)
97
110
  }
98
- styles.push(args[0][0])
111
+ styles.push(templateStringsArr[0])
99
112
  let len = args.length
100
113
  let i = 1
101
114
  for (; i < len; i++) {
102
- if (isDevelopment && args[0][i] === undefined) {
115
+ if (isDevelopment && templateStringsArr[i] === undefined) {
103
116
  console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR)
104
117
  }
105
- styles.push(args[i], args[0][i])
118
+ styles.push(args[i], templateStringsArr[i])
106
119
  }
107
120
  }
108
121
 
109
- const Styled /*: PrivateStyledComponent<Props> */ = withEmotionCache(
110
- (props, cache, ref) => {
111
- const FinalTag = (shouldUseAs && props.as) || baseTag
122
+ const Styled: ElementType = withEmotionCache(
123
+ (props: Record<string, unknown>, cache, ref) => {
124
+ const FinalTag =
125
+ (shouldUseAs && (props.as as React.ElementType)) || baseTag
112
126
 
113
127
  let className = ''
114
- let classInterpolations = []
128
+ let classInterpolations: Interpolation<Theme>[] = []
115
129
  let mergedProps = props
116
130
  if (props.theme == null) {
117
131
  mergedProps = {}
@@ -146,7 +160,7 @@ let createStyled /*: CreateStyled */ = (
146
160
  ? getDefaultShouldForwardProp(FinalTag)
147
161
  : defaultShouldForwardProp
148
162
 
149
- let newProps = {}
163
+ let newProps: Record<string, unknown> = {}
150
164
 
151
165
  for (let key in props) {
152
166
  if (shouldUseAs && key === 'as') continue
@@ -196,20 +210,20 @@ let createStyled /*: CreateStyled */ = (
196
210
  return `.${targetClassName}`
197
211
  }
198
212
  })
199
-
200
- Styled.withComponent = (
201
- nextTag /*: StyledElementType<Props> */,
202
- nextOptions /* ?: StyledOptions */
213
+ ;(Styled as any).withComponent = (
214
+ nextTag: ElementType,
215
+ nextOptions: StyledOptions
203
216
  ) => {
204
- return createStyled(nextTag, {
217
+ const newStyled = createStyled(nextTag, {
205
218
  ...options,
206
219
  ...nextOptions,
207
220
  shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
208
- })(...styles)
221
+ })
222
+ return (newStyled as any)(...styles)
209
223
  }
210
224
 
211
225
  return Styled
212
226
  }
213
227
  }
214
228
 
215
- export default createStyled
229
+ export default createStyled as CreateStyled
@@ -1,21 +1,24 @@
1
- // Definitions by: Junyoung Clare Jang <https://github.com/Ailrun>
2
- // TypeScript Version: 3.2
3
-
4
1
  import { Theme } from '@emotion/react'
5
- import { CreateStyled as BaseCreateStyled, CreateStyledComponent } from './base'
2
+ import baseStyled from './base'
6
3
  import { ReactJSXIntrinsicElements } from './jsx-namespace'
7
-
8
- export {
4
+ import { tags } from './tags'
5
+ import {
6
+ CreateStyledComponent,
7
+ CreateStyled as BaseCreateStyled
8
+ } from './types'
9
+ export type {
9
10
  ArrayInterpolation,
10
11
  ComponentSelector,
11
12
  CSSObject,
12
13
  FunctionInterpolation,
13
- Interpolation,
14
- StyledComponent,
15
- StyledOptions,
14
+ Interpolation
15
+ } from '@emotion/serialize'
16
+ export type {
17
+ CreateStyledComponent,
16
18
  FilteringStyledOptions,
17
- CreateStyledComponent
18
- } from './base'
19
+ StyledComponent,
20
+ StyledOptions
21
+ } from './types'
19
22
 
20
23
  export type StyledTags = {
21
24
  [Tag in keyof ReactJSXIntrinsicElements]: CreateStyledComponent<
@@ -29,5 +32,11 @@ export type StyledTags = {
29
32
 
30
33
  export interface CreateStyled extends BaseCreateStyled, StyledTags {}
31
34
 
32
- declare const styled: CreateStyled
35
+ // bind it to avoid mutating the original function
36
+ const styled = baseStyled.bind(null) as CreateStyled
37
+
38
+ tags.forEach(tagName => {
39
+ ;(styled as any)[tagName] = styled(tagName as keyof typeof styled)
40
+ })
41
+
33
42
  export default styled
@@ -7,8 +7,6 @@ type IsPreReact19 = 2 extends Parameters<React.FunctionComponent<any>>['length']
7
7
  ? true
8
8
  : false
9
9
 
10
- export type ReactJSXIntrinsicElements = true extends IsPreReact19
11
- ? /** @ts-ignore */
12
- JSX.IntrinsicElements
13
- : /** @ts-ignore */
14
- React.JSX.IntrinsicElements
10
+ // prettier-ignore
11
+ /** @ts-ignore */
12
+ export type ReactJSXIntrinsicElements = true extends IsPreReact19 ? JSX.IntrinsicElements : React.JSX.IntrinsicElements
@@ -135,4 +135,4 @@ export const tags = [
135
135
  'svg',
136
136
  'text',
137
137
  'tspan'
138
- ]
138
+ ] as const
@@ -1,18 +1,6 @@
1
- // Definitions by: Junyoung Clare Jang <https://github.com/Ailrun>
2
- // TypeScript Version: 3.2
3
-
4
- import * as React from 'react'
5
1
  import { ComponentSelector, Interpolation } from '@emotion/serialize'
6
- import { PropsOf, Theme } from '@emotion/react'
7
2
  import { ReactJSXIntrinsicElements } from './jsx-namespace'
8
-
9
- export {
10
- ArrayInterpolation,
11
- CSSObject,
12
- FunctionInterpolation
13
- } from '@emotion/serialize'
14
-
15
- export { ComponentSelector, Interpolation }
3
+ import { PropsOf, Theme } from '@emotion/react'
16
4
 
17
5
  /** Same as StyledOptions but shouldForwardProp must be a type guard */
18
6
  export interface FilteringStyledOptions<
@@ -193,5 +181,10 @@ export interface CreateStyled {
193
181
  >
194
182
  }
195
183
 
196
- declare const styled: CreateStyled
197
- export default styled
184
+ export type ElementType = React.ElementType & {
185
+ defaultProps?: Partial<any>
186
+ __emotion_real?: ElementType
187
+ __emotion_base?: ElementType
188
+ __emotion_styles?: Interpolation<Theme>[]
189
+ __emotion_forwardProp?: (propName: string) => boolean
190
+ }
@@ -0,0 +1,38 @@
1
+ import * as React from 'react'
2
+ import isPropValid from '@emotion/is-prop-valid'
3
+ import { StyledOptions, ElementType } from './types'
4
+
5
+ const testOmitPropsOnStringTag = isPropValid
6
+ const testOmitPropsOnComponent = (key: string) => key !== 'theme'
7
+
8
+ export const getDefaultShouldForwardProp = (tag: React.ElementType) =>
9
+ typeof tag === 'string' &&
10
+ // 96 is one less than the char code
11
+ // for "a" so this is checking that
12
+ // it's a lowercase character
13
+ tag.charCodeAt(0) > 96
14
+ ? testOmitPropsOnStringTag
15
+ : testOmitPropsOnComponent
16
+
17
+ export const composeShouldForwardProps = (
18
+ tag: ElementType,
19
+ options: StyledOptions | undefined,
20
+ isReal: boolean
21
+ ) => {
22
+ let shouldForwardProp
23
+ if (options) {
24
+ const optionsShouldForwardProp = options.shouldForwardProp
25
+ shouldForwardProp =
26
+ tag.__emotion_forwardProp && optionsShouldForwardProp
27
+ ? (propName: string) =>
28
+ tag.__emotion_forwardProp!(propName) &&
29
+ optionsShouldForwardProp(propName)
30
+ : optionsShouldForwardProp
31
+ }
32
+
33
+ if (typeof shouldForwardProp !== 'function' && isReal) {
34
+ shouldForwardProp = tag.__emotion_forwardProp
35
+ }
36
+
37
+ return shouldForwardProp
38
+ }
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ export declare const useInsertionEffectAlwaysWithSyncFallback: <T>(create: () => T) => T | undefined;
3
+ export declare const useInsertionEffectWithLayoutFallback: typeof React.useLayoutEffect;
@@ -0,0 +1,2 @@
1
+ export * from "./declarations/src/index.js";
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1vdGlvbi11c2UtaW5zZXJ0aW9uLWVmZmVjdC13aXRoLWZhbGxiYWNrcy5janMuZC5tdHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuL2RlY2xhcmF0aW9ucy9zcmMvaW5kZXguZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSJ9
@@ -0,0 +1,2 @@
1
+ export * from "./declarations/src/index";
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1vdGlvbi11c2UtaW5zZXJ0aW9uLWVmZmVjdC13aXRoLWZhbGxiYWNrcy5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4vZGVjbGFyYXRpb25zL3NyYy9pbmRleC5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=