styled-components 5.3.2 → 6.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (615) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +187 -0
  3. package/dist/base.d.ts +17 -0
  4. package/dist/constants.d.ts +8 -0
  5. package/dist/constructors/constructWithOptions.d.ts +19 -0
  6. package/dist/constructors/createGlobalStyle.d.ts +3 -0
  7. package/dist/constructors/css.d.ts +4 -0
  8. package/dist/constructors/keyframes.d.ts +3 -0
  9. package/dist/constructors/styled.d.ts +185 -0
  10. package/dist/hoc/withTheme.d.ts +3 -0
  11. package/dist/hoc/withTheme.spec.d.ts +1 -0
  12. package/dist/hooks/useTheme.d.ts +3 -0
  13. package/dist/index-standalone.d.ts +2 -0
  14. package/dist/index.d.ts +3 -0
  15. package/dist/macro/index.d.ts +2 -0
  16. package/dist/models/ComponentStyle.d.ts +15 -0
  17. package/dist/models/GlobalStyle.d.ts +11 -0
  18. package/dist/models/InlineStyle.d.ts +6 -0
  19. package/dist/models/Keyframes.d.ts +11 -0
  20. package/dist/models/ServerStyleSheet.d.ts +15 -0
  21. package/dist/models/StyleSheetManager.d.ts +21 -0
  22. package/dist/models/StyledComponent.d.ts +3 -0
  23. package/dist/models/StyledNativeComponent.d.ts +3 -0
  24. package/dist/models/ThemeProvider.d.ts +17 -0
  25. package/dist/native/index.d.ts +64 -0
  26. package/dist/primitives/index.d.ts +22 -0
  27. package/dist/secretInternals.d.ts +5 -0
  28. package/dist/sheet/GroupIDAllocator.d.ts +4 -0
  29. package/dist/sheet/GroupedTag.d.ts +11 -0
  30. package/dist/sheet/Rehydration.d.ts +3 -0
  31. package/dist/sheet/Sheet.d.ts +40 -0
  32. package/dist/sheet/Tag.d.ts +54 -0
  33. package/dist/sheet/dom.d.ts +4 -0
  34. package/dist/sheet/index.d.ts +1 -0
  35. package/dist/sheet/types.d.ts +34 -0
  36. package/dist/styled-components-macro.cjs.js +1 -1
  37. package/dist/styled-components-macro.cjs.js.map +1 -1
  38. package/dist/styled-components-macro.esm.js +1 -1
  39. package/dist/styled-components-macro.esm.js.map +1 -1
  40. package/dist/styled-components.browser.cjs.js +1 -1
  41. package/dist/styled-components.browser.cjs.js.map +1 -1
  42. package/dist/styled-components.browser.esm.js +1 -1
  43. package/dist/styled-components.browser.esm.js.map +1 -1
  44. package/dist/styled-components.cjs.js +1 -1
  45. package/dist/styled-components.cjs.js.map +1 -1
  46. package/dist/styled-components.esm.js +1 -1
  47. package/dist/styled-components.esm.js.map +1 -1
  48. package/dist/styled-components.js +1 -1
  49. package/dist/styled-components.js.map +1 -1
  50. package/dist/styled-components.min.js +1 -1
  51. package/dist/styled-components.min.js.map +1 -1
  52. package/dist/test/globals.d.ts +2 -0
  53. package/dist/test/utils.d.ts +191 -0
  54. package/dist/tsconfig.tsbuildinfo +1 -0
  55. package/dist/types.d.ts +120 -0
  56. package/dist/utils/addUnitIfNeeded.d.ts +1 -0
  57. package/dist/utils/checkDynamicCreation.d.ts +1 -0
  58. package/dist/utils/createWarnTooManyClasses.d.ts +3 -0
  59. package/dist/utils/determineTheme.d.ts +2 -0
  60. package/dist/utils/domElements.d.ts +2 -0
  61. package/dist/utils/empties.d.ts +3 -0
  62. package/dist/utils/error.d.ts +5 -0
  63. package/dist/utils/errors.d.ts +20 -0
  64. package/dist/utils/escape.d.ts +5 -0
  65. package/dist/utils/flatten.d.ts +4 -0
  66. package/dist/utils/generateAlphabeticName.d.ts +1 -0
  67. package/dist/utils/generateComponentId.d.ts +1 -0
  68. package/dist/utils/generateDisplayName.d.ts +2 -0
  69. package/dist/utils/getComponentName.d.ts +2 -0
  70. package/dist/utils/hash.d.ts +3 -0
  71. package/dist/utils/hoist.d.ts +51 -0
  72. package/dist/utils/hyphenateStyleName.d.ts +14 -0
  73. package/dist/utils/interleave.d.ts +2 -0
  74. package/dist/utils/isFunction.d.ts +1 -0
  75. package/dist/utils/isPlainObject.d.ts +1 -0
  76. package/dist/utils/isStatelessFunction.d.ts +1 -0
  77. package/dist/utils/isStaticRules.d.ts +2 -0
  78. package/dist/utils/isStyledComponent.d.ts +2 -0
  79. package/dist/utils/isTag.d.ts +2 -0
  80. package/dist/utils/joinStrings.d.ts +4 -0
  81. package/dist/utils/mixinDeep.d.ts +7 -0
  82. package/dist/utils/nonce.d.ts +1 -0
  83. package/dist/utils/stylis.d.ts +9 -0
  84. package/native/dist/base.d.ts +17 -0
  85. package/native/dist/base.d.ts.map +1 -0
  86. package/native/dist/constants.d.ts +8 -0
  87. package/native/dist/constants.d.ts.map +1 -0
  88. package/native/dist/constructors/constructWithOptions.d.ts +19 -0
  89. package/native/dist/constructors/constructWithOptions.d.ts.map +1 -0
  90. package/native/dist/constructors/createGlobalStyle.d.ts +3 -0
  91. package/native/dist/constructors/createGlobalStyle.d.ts.map +1 -0
  92. package/native/dist/constructors/css.d.ts +4 -0
  93. package/native/dist/constructors/css.d.ts.map +1 -0
  94. package/native/dist/constructors/keyframes.d.ts +3 -0
  95. package/native/dist/constructors/keyframes.d.ts.map +1 -0
  96. package/native/dist/constructors/styled.d.ts +185 -0
  97. package/native/dist/constructors/styled.d.ts.map +1 -0
  98. package/native/dist/dist/base.d.ts +18 -0
  99. package/native/dist/dist/base.d.ts.map +1 -0
  100. package/native/dist/dist/constants.d.ts +9 -0
  101. package/native/dist/dist/constants.d.ts.map +1 -0
  102. package/native/dist/dist/constructors/constructWithOptions.d.ts +20 -0
  103. package/native/dist/dist/constructors/constructWithOptions.d.ts.map +1 -0
  104. package/native/dist/dist/constructors/createGlobalStyle.d.ts +4 -0
  105. package/native/dist/dist/constructors/createGlobalStyle.d.ts.map +1 -0
  106. package/native/dist/dist/constructors/css.d.ts +5 -0
  107. package/native/dist/dist/constructors/css.d.ts.map +1 -0
  108. package/native/dist/dist/constructors/keyframes.d.ts +4 -0
  109. package/native/dist/dist/constructors/keyframes.d.ts.map +1 -0
  110. package/native/dist/dist/constructors/styled.d.ts +186 -0
  111. package/native/dist/dist/constructors/styled.d.ts.map +1 -0
  112. package/native/dist/dist/hoc/withTheme.d.ts +4 -0
  113. package/native/dist/dist/hoc/withTheme.d.ts.map +1 -0
  114. package/native/dist/dist/hoc/withTheme.spec.d.ts +2 -0
  115. package/native/dist/dist/hoc/withTheme.spec.d.ts.map +1 -0
  116. package/native/dist/dist/hooks/useTheme.d.ts +4 -0
  117. package/native/dist/dist/hooks/useTheme.d.ts.map +1 -0
  118. package/native/dist/dist/index-standalone.d.ts +3 -0
  119. package/native/dist/dist/index-standalone.d.ts.map +1 -0
  120. package/native/dist/dist/index.d.ts +4 -0
  121. package/native/dist/dist/index.d.ts.map +1 -0
  122. package/native/dist/dist/macro/index.d.ts +3 -0
  123. package/native/dist/dist/macro/index.d.ts.map +1 -0
  124. package/native/dist/dist/macro/test/babel.config.d.ts +1 -0
  125. package/native/dist/dist/macro/test/babel.config.d.ts.map +1 -0
  126. package/native/dist/dist/models/ComponentStyle.d.ts +16 -0
  127. package/native/dist/dist/models/ComponentStyle.d.ts.map +1 -0
  128. package/native/dist/dist/models/GlobalStyle.d.ts +12 -0
  129. package/native/dist/dist/models/GlobalStyle.d.ts.map +1 -0
  130. package/native/dist/dist/models/InlineStyle.d.ts +7 -0
  131. package/native/dist/dist/models/InlineStyle.d.ts.map +1 -0
  132. package/native/dist/dist/models/Keyframes.d.ts +12 -0
  133. package/native/dist/dist/models/Keyframes.d.ts.map +1 -0
  134. package/native/dist/dist/models/ServerStyleSheet.d.ts +16 -0
  135. package/native/dist/dist/models/ServerStyleSheet.d.ts.map +1 -0
  136. package/native/dist/dist/models/StyleSheetManager.d.ts +22 -0
  137. package/native/dist/dist/models/StyleSheetManager.d.ts.map +1 -0
  138. package/native/dist/dist/models/StyledComponent.d.ts +4 -0
  139. package/native/dist/dist/models/StyledComponent.d.ts.map +1 -0
  140. package/native/dist/dist/models/StyledNativeComponent.d.ts +4 -0
  141. package/native/dist/dist/models/StyledNativeComponent.d.ts.map +1 -0
  142. package/native/dist/dist/models/ThemeProvider.d.ts +18 -0
  143. package/native/dist/dist/models/ThemeProvider.d.ts.map +1 -0
  144. package/native/dist/dist/native/index.d.ts +65 -0
  145. package/native/dist/dist/native/index.d.ts.map +1 -0
  146. package/native/dist/dist/primitives/index.d.ts +23 -0
  147. package/native/dist/dist/primitives/index.d.ts.map +1 -0
  148. package/native/dist/dist/secretInternals.d.ts +6 -0
  149. package/native/dist/dist/secretInternals.d.ts.map +1 -0
  150. package/native/dist/dist/sheet/GroupIDAllocator.d.ts +5 -0
  151. package/native/dist/dist/sheet/GroupIDAllocator.d.ts.map +1 -0
  152. package/native/dist/dist/sheet/GroupedTag.d.ts +12 -0
  153. package/native/dist/dist/sheet/GroupedTag.d.ts.map +1 -0
  154. package/native/dist/dist/sheet/Rehydration.d.ts +4 -0
  155. package/native/dist/dist/sheet/Rehydration.d.ts.map +1 -0
  156. package/native/dist/dist/sheet/Sheet.d.ts +41 -0
  157. package/native/dist/dist/sheet/Sheet.d.ts.map +1 -0
  158. package/native/dist/dist/sheet/Tag.d.ts +55 -0
  159. package/native/dist/dist/sheet/Tag.d.ts.map +1 -0
  160. package/native/dist/dist/sheet/dom.d.ts +5 -0
  161. package/native/dist/dist/sheet/dom.d.ts.map +1 -0
  162. package/native/dist/dist/sheet/index.d.ts +2 -0
  163. package/native/dist/dist/sheet/index.d.ts.map +1 -0
  164. package/native/dist/dist/sheet/types.d.ts +35 -0
  165. package/native/dist/dist/sheet/types.d.ts.map +1 -0
  166. package/native/dist/dist/test/globals.d.ts +3 -0
  167. package/native/dist/dist/test/globals.d.ts.map +1 -0
  168. package/native/dist/dist/test/utils.d.ts +192 -0
  169. package/native/dist/dist/test/utils.d.ts.map +1 -0
  170. package/native/dist/dist/types.d.ts +121 -0
  171. package/native/dist/dist/types.d.ts.map +1 -0
  172. package/native/dist/dist/utils/addUnitIfNeeded.d.ts +2 -0
  173. package/native/dist/dist/utils/addUnitIfNeeded.d.ts.map +1 -0
  174. package/native/dist/dist/utils/checkDynamicCreation.d.ts +2 -0
  175. package/native/dist/dist/utils/checkDynamicCreation.d.ts.map +1 -0
  176. package/native/dist/dist/utils/createWarnTooManyClasses.d.ts +4 -0
  177. package/native/dist/dist/utils/createWarnTooManyClasses.d.ts.map +1 -0
  178. package/native/dist/dist/utils/determineTheme.d.ts +3 -0
  179. package/native/dist/dist/utils/determineTheme.d.ts.map +1 -0
  180. package/native/dist/dist/utils/domElements.d.ts +3 -0
  181. package/native/dist/dist/utils/domElements.d.ts.map +1 -0
  182. package/native/dist/dist/utils/empties.d.ts +4 -0
  183. package/native/dist/dist/utils/empties.d.ts.map +1 -0
  184. package/native/dist/dist/utils/error.d.ts +6 -0
  185. package/native/dist/dist/utils/error.d.ts.map +1 -0
  186. package/native/dist/dist/utils/errors.d.ts +21 -0
  187. package/native/dist/dist/utils/errors.d.ts.map +1 -0
  188. package/native/dist/dist/utils/escape.d.ts +6 -0
  189. package/native/dist/dist/utils/escape.d.ts.map +1 -0
  190. package/native/dist/dist/utils/flatten.d.ts +5 -0
  191. package/native/dist/dist/utils/flatten.d.ts.map +1 -0
  192. package/native/dist/dist/utils/generateAlphabeticName.d.ts +2 -0
  193. package/native/dist/dist/utils/generateAlphabeticName.d.ts.map +1 -0
  194. package/native/dist/dist/utils/generateComponentId.d.ts +2 -0
  195. package/native/dist/dist/utils/generateComponentId.d.ts.map +1 -0
  196. package/native/dist/dist/utils/generateDisplayName.d.ts +3 -0
  197. package/native/dist/dist/utils/generateDisplayName.d.ts.map +1 -0
  198. package/native/dist/dist/utils/getComponentName.d.ts +3 -0
  199. package/native/dist/dist/utils/getComponentName.d.ts.map +1 -0
  200. package/native/dist/dist/utils/hash.d.ts +4 -0
  201. package/native/dist/dist/utils/hash.d.ts.map +1 -0
  202. package/native/dist/dist/utils/hoist.d.ts +52 -0
  203. package/native/dist/dist/utils/hoist.d.ts.map +1 -0
  204. package/native/dist/dist/utils/hyphenateStyleName.d.ts +15 -0
  205. package/native/dist/dist/utils/hyphenateStyleName.d.ts.map +1 -0
  206. package/native/dist/dist/utils/interleave.d.ts +3 -0
  207. package/native/dist/dist/utils/interleave.d.ts.map +1 -0
  208. package/native/dist/dist/utils/isFunction.d.ts +2 -0
  209. package/native/dist/dist/utils/isFunction.d.ts.map +1 -0
  210. package/native/dist/dist/utils/isPlainObject.d.ts +2 -0
  211. package/native/dist/dist/utils/isPlainObject.d.ts.map +1 -0
  212. package/native/dist/dist/utils/isStatelessFunction.d.ts +2 -0
  213. package/native/dist/dist/utils/isStatelessFunction.d.ts.map +1 -0
  214. package/native/dist/dist/utils/isStaticRules.d.ts +3 -0
  215. package/native/dist/dist/utils/isStaticRules.d.ts.map +1 -0
  216. package/native/dist/dist/utils/isStyledComponent.d.ts +3 -0
  217. package/native/dist/dist/utils/isStyledComponent.d.ts.map +1 -0
  218. package/native/dist/dist/utils/isTag.d.ts +3 -0
  219. package/native/dist/dist/utils/isTag.d.ts.map +1 -0
  220. package/native/dist/dist/utils/joinStrings.d.ts +5 -0
  221. package/native/dist/dist/utils/joinStrings.d.ts.map +1 -0
  222. package/native/dist/dist/utils/mixinDeep.d.ts +8 -0
  223. package/native/dist/dist/utils/mixinDeep.d.ts.map +1 -0
  224. package/native/dist/dist/utils/nonce.d.ts +2 -0
  225. package/native/dist/dist/utils/nonce.d.ts.map +1 -0
  226. package/native/dist/dist/utils/stylis.d.ts +10 -0
  227. package/native/dist/dist/utils/stylis.d.ts.map +1 -0
  228. package/native/dist/hoc/withTheme.d.ts +3 -0
  229. package/native/dist/hoc/withTheme.d.ts.map +1 -0
  230. package/native/dist/hoc/withTheme.spec.d.ts +1 -0
  231. package/native/dist/hoc/withTheme.spec.d.ts.map +1 -0
  232. package/native/dist/hooks/useTheme.d.ts +3 -0
  233. package/native/dist/hooks/useTheme.d.ts.map +1 -0
  234. package/native/dist/index-standalone.d.ts +2 -0
  235. package/native/dist/index-standalone.d.ts.map +1 -0
  236. package/native/dist/index.d.ts +3 -0
  237. package/native/dist/index.d.ts.map +1 -0
  238. package/native/dist/macro/index.d.ts +2 -0
  239. package/native/dist/macro/index.d.ts.map +1 -0
  240. package/native/dist/macro/test/babel.config.d.ts +1 -0
  241. package/native/dist/macro/test/babel.config.d.ts.map +1 -0
  242. package/native/dist/models/ComponentStyle.d.ts +15 -0
  243. package/native/dist/models/ComponentStyle.d.ts.map +1 -0
  244. package/native/dist/models/GlobalStyle.d.ts +11 -0
  245. package/native/dist/models/GlobalStyle.d.ts.map +1 -0
  246. package/native/dist/models/InlineStyle.d.ts +6 -0
  247. package/native/dist/models/InlineStyle.d.ts.map +1 -0
  248. package/native/dist/models/Keyframes.d.ts +11 -0
  249. package/native/dist/models/Keyframes.d.ts.map +1 -0
  250. package/native/dist/models/ServerStyleSheet.d.ts +15 -0
  251. package/native/dist/models/ServerStyleSheet.d.ts.map +1 -0
  252. package/native/dist/models/StyleSheetManager.d.ts +21 -0
  253. package/native/dist/models/StyleSheetManager.d.ts.map +1 -0
  254. package/native/dist/models/StyledComponent.d.ts +3 -0
  255. package/native/dist/models/StyledComponent.d.ts.map +1 -0
  256. package/native/dist/models/StyledNativeComponent.d.ts +3 -0
  257. package/native/dist/models/StyledNativeComponent.d.ts.map +1 -0
  258. package/native/dist/models/ThemeProvider.d.ts +17 -0
  259. package/native/dist/models/ThemeProvider.d.ts.map +1 -0
  260. package/native/dist/native/index.d.ts +64 -0
  261. package/native/dist/native/index.d.ts.map +1 -0
  262. package/native/dist/primitives/index.d.ts +22 -0
  263. package/native/dist/primitives/index.d.ts.map +1 -0
  264. package/native/dist/secretInternals.d.ts +5 -0
  265. package/native/dist/secretInternals.d.ts.map +1 -0
  266. package/native/dist/sheet/GroupIDAllocator.d.ts +4 -0
  267. package/native/dist/sheet/GroupIDAllocator.d.ts.map +1 -0
  268. package/native/dist/sheet/GroupedTag.d.ts +11 -0
  269. package/native/dist/sheet/GroupedTag.d.ts.map +1 -0
  270. package/native/dist/sheet/Rehydration.d.ts +3 -0
  271. package/native/dist/sheet/Rehydration.d.ts.map +1 -0
  272. package/native/dist/sheet/Sheet.d.ts +40 -0
  273. package/native/dist/sheet/Sheet.d.ts.map +1 -0
  274. package/native/dist/sheet/Tag.d.ts +54 -0
  275. package/native/dist/sheet/Tag.d.ts.map +1 -0
  276. package/native/dist/sheet/dom.d.ts +4 -0
  277. package/native/dist/sheet/dom.d.ts.map +1 -0
  278. package/native/dist/sheet/index.d.ts +1 -0
  279. package/native/dist/sheet/index.d.ts.map +1 -0
  280. package/native/dist/sheet/types.d.ts +34 -0
  281. package/native/dist/sheet/types.d.ts.map +1 -0
  282. package/native/dist/styled-components.native.cjs.js +1157 -6115
  283. package/native/dist/styled-components.native.cjs.js.map +1 -1
  284. package/native/dist/styled-components.native.esm.js +1153 -6115
  285. package/native/dist/styled-components.native.esm.js.map +1 -1
  286. package/native/dist/test/globals.d.ts +2 -0
  287. package/native/dist/test/globals.d.ts.map +1 -0
  288. package/native/dist/test/utils.d.ts +191 -0
  289. package/native/dist/test/utils.d.ts.map +1 -0
  290. package/native/dist/types.d.ts +120 -0
  291. package/native/dist/types.d.ts.map +1 -0
  292. package/native/dist/utils/addUnitIfNeeded.d.ts +1 -0
  293. package/native/dist/utils/addUnitIfNeeded.d.ts.map +1 -0
  294. package/native/dist/utils/checkDynamicCreation.d.ts +1 -0
  295. package/native/dist/utils/checkDynamicCreation.d.ts.map +1 -0
  296. package/native/dist/utils/createWarnTooManyClasses.d.ts +3 -0
  297. package/native/dist/utils/createWarnTooManyClasses.d.ts.map +1 -0
  298. package/native/dist/utils/determineTheme.d.ts +2 -0
  299. package/native/dist/utils/determineTheme.d.ts.map +1 -0
  300. package/native/dist/utils/domElements.d.ts +2 -0
  301. package/native/dist/utils/domElements.d.ts.map +1 -0
  302. package/native/dist/utils/empties.d.ts +3 -0
  303. package/native/dist/utils/empties.d.ts.map +1 -0
  304. package/native/dist/utils/error.d.ts +5 -0
  305. package/native/dist/utils/error.d.ts.map +1 -0
  306. package/native/dist/utils/errors.d.ts +20 -0
  307. package/native/dist/utils/errors.d.ts.map +1 -0
  308. package/native/dist/utils/escape.d.ts +5 -0
  309. package/native/dist/utils/escape.d.ts.map +1 -0
  310. package/native/dist/utils/flatten.d.ts +4 -0
  311. package/native/dist/utils/flatten.d.ts.map +1 -0
  312. package/native/dist/utils/generateAlphabeticName.d.ts +1 -0
  313. package/native/dist/utils/generateAlphabeticName.d.ts.map +1 -0
  314. package/native/dist/utils/generateComponentId.d.ts +1 -0
  315. package/native/dist/utils/generateComponentId.d.ts.map +1 -0
  316. package/native/dist/utils/generateDisplayName.d.ts +2 -0
  317. package/native/dist/utils/generateDisplayName.d.ts.map +1 -0
  318. package/native/dist/utils/getComponentName.d.ts +2 -0
  319. package/native/dist/utils/getComponentName.d.ts.map +1 -0
  320. package/native/dist/utils/hash.d.ts +3 -0
  321. package/native/dist/utils/hash.d.ts.map +1 -0
  322. package/native/dist/utils/hoist.d.ts +51 -0
  323. package/native/dist/utils/hoist.d.ts.map +1 -0
  324. package/native/dist/utils/hyphenateStyleName.d.ts +14 -0
  325. package/native/dist/utils/hyphenateStyleName.d.ts.map +1 -0
  326. package/native/dist/utils/interleave.d.ts +2 -0
  327. package/native/dist/utils/interleave.d.ts.map +1 -0
  328. package/native/dist/utils/isFunction.d.ts +1 -0
  329. package/native/dist/utils/isFunction.d.ts.map +1 -0
  330. package/native/dist/utils/isPlainObject.d.ts +1 -0
  331. package/native/dist/utils/isPlainObject.d.ts.map +1 -0
  332. package/native/dist/utils/isStatelessFunction.d.ts +1 -0
  333. package/native/dist/utils/isStatelessFunction.d.ts.map +1 -0
  334. package/native/dist/utils/isStaticRules.d.ts +2 -0
  335. package/native/dist/utils/isStaticRules.d.ts.map +1 -0
  336. package/native/dist/utils/isStyledComponent.d.ts +2 -0
  337. package/native/dist/utils/isStyledComponent.d.ts.map +1 -0
  338. package/native/dist/utils/isTag.d.ts +2 -0
  339. package/native/dist/utils/isTag.d.ts.map +1 -0
  340. package/native/dist/utils/joinStrings.d.ts +4 -0
  341. package/native/dist/utils/joinStrings.d.ts.map +1 -0
  342. package/native/dist/utils/mixinDeep.d.ts +7 -0
  343. package/native/dist/utils/mixinDeep.d.ts.map +1 -0
  344. package/native/dist/utils/nonce.d.ts +1 -0
  345. package/native/dist/utils/nonce.d.ts.map +1 -0
  346. package/native/dist/utils/stylis.d.ts +9 -0
  347. package/native/dist/utils/stylis.d.ts.map +1 -0
  348. package/package.json +72 -44
  349. package/primitives/dist/base.d.ts +17 -0
  350. package/primitives/dist/base.d.ts.map +1 -0
  351. package/primitives/dist/constants.d.ts +8 -0
  352. package/primitives/dist/constants.d.ts.map +1 -0
  353. package/primitives/dist/constructors/constructWithOptions.d.ts +19 -0
  354. package/primitives/dist/constructors/constructWithOptions.d.ts.map +1 -0
  355. package/primitives/dist/constructors/createGlobalStyle.d.ts +3 -0
  356. package/primitives/dist/constructors/createGlobalStyle.d.ts.map +1 -0
  357. package/primitives/dist/constructors/css.d.ts +4 -0
  358. package/primitives/dist/constructors/css.d.ts.map +1 -0
  359. package/primitives/dist/constructors/keyframes.d.ts +3 -0
  360. package/primitives/dist/constructors/keyframes.d.ts.map +1 -0
  361. package/primitives/dist/constructors/styled.d.ts +185 -0
  362. package/primitives/dist/constructors/styled.d.ts.map +1 -0
  363. package/primitives/dist/dist/base.d.ts +18 -0
  364. package/primitives/dist/dist/base.d.ts.map +1 -0
  365. package/primitives/dist/dist/constants.d.ts +9 -0
  366. package/primitives/dist/dist/constants.d.ts.map +1 -0
  367. package/primitives/dist/dist/constructors/constructWithOptions.d.ts +20 -0
  368. package/primitives/dist/dist/constructors/constructWithOptions.d.ts.map +1 -0
  369. package/primitives/dist/dist/constructors/createGlobalStyle.d.ts +4 -0
  370. package/primitives/dist/dist/constructors/createGlobalStyle.d.ts.map +1 -0
  371. package/primitives/dist/dist/constructors/css.d.ts +5 -0
  372. package/primitives/dist/dist/constructors/css.d.ts.map +1 -0
  373. package/primitives/dist/dist/constructors/keyframes.d.ts +4 -0
  374. package/primitives/dist/dist/constructors/keyframes.d.ts.map +1 -0
  375. package/primitives/dist/dist/constructors/styled.d.ts +186 -0
  376. package/primitives/dist/dist/constructors/styled.d.ts.map +1 -0
  377. package/primitives/dist/dist/hoc/withTheme.d.ts +4 -0
  378. package/primitives/dist/dist/hoc/withTheme.d.ts.map +1 -0
  379. package/primitives/dist/dist/hoc/withTheme.spec.d.ts +2 -0
  380. package/primitives/dist/dist/hoc/withTheme.spec.d.ts.map +1 -0
  381. package/primitives/dist/dist/hooks/useTheme.d.ts +4 -0
  382. package/primitives/dist/dist/hooks/useTheme.d.ts.map +1 -0
  383. package/primitives/dist/dist/index-standalone.d.ts +3 -0
  384. package/primitives/dist/dist/index-standalone.d.ts.map +1 -0
  385. package/primitives/dist/dist/index.d.ts +4 -0
  386. package/primitives/dist/dist/index.d.ts.map +1 -0
  387. package/primitives/dist/dist/macro/index.d.ts +3 -0
  388. package/primitives/dist/dist/macro/index.d.ts.map +1 -0
  389. package/primitives/dist/dist/macro/test/babel.config.d.ts +1 -0
  390. package/primitives/dist/dist/macro/test/babel.config.d.ts.map +1 -0
  391. package/primitives/dist/dist/models/ComponentStyle.d.ts +16 -0
  392. package/primitives/dist/dist/models/ComponentStyle.d.ts.map +1 -0
  393. package/primitives/dist/dist/models/GlobalStyle.d.ts +12 -0
  394. package/primitives/dist/dist/models/GlobalStyle.d.ts.map +1 -0
  395. package/primitives/dist/dist/models/InlineStyle.d.ts +7 -0
  396. package/primitives/dist/dist/models/InlineStyle.d.ts.map +1 -0
  397. package/primitives/dist/dist/models/Keyframes.d.ts +12 -0
  398. package/primitives/dist/dist/models/Keyframes.d.ts.map +1 -0
  399. package/primitives/dist/dist/models/ServerStyleSheet.d.ts +16 -0
  400. package/primitives/dist/dist/models/ServerStyleSheet.d.ts.map +1 -0
  401. package/primitives/dist/dist/models/StyleSheetManager.d.ts +22 -0
  402. package/primitives/dist/dist/models/StyleSheetManager.d.ts.map +1 -0
  403. package/primitives/dist/dist/models/StyledComponent.d.ts +4 -0
  404. package/primitives/dist/dist/models/StyledComponent.d.ts.map +1 -0
  405. package/primitives/dist/dist/models/StyledNativeComponent.d.ts +4 -0
  406. package/primitives/dist/dist/models/StyledNativeComponent.d.ts.map +1 -0
  407. package/primitives/dist/dist/models/ThemeProvider.d.ts +18 -0
  408. package/primitives/dist/dist/models/ThemeProvider.d.ts.map +1 -0
  409. package/primitives/dist/dist/native/index.d.ts +65 -0
  410. package/primitives/dist/dist/native/index.d.ts.map +1 -0
  411. package/primitives/dist/dist/primitives/index.d.ts +23 -0
  412. package/primitives/dist/dist/primitives/index.d.ts.map +1 -0
  413. package/primitives/dist/dist/secretInternals.d.ts +6 -0
  414. package/primitives/dist/dist/secretInternals.d.ts.map +1 -0
  415. package/primitives/dist/dist/sheet/GroupIDAllocator.d.ts +5 -0
  416. package/primitives/dist/dist/sheet/GroupIDAllocator.d.ts.map +1 -0
  417. package/primitives/dist/dist/sheet/GroupedTag.d.ts +12 -0
  418. package/primitives/dist/dist/sheet/GroupedTag.d.ts.map +1 -0
  419. package/primitives/dist/dist/sheet/Rehydration.d.ts +4 -0
  420. package/primitives/dist/dist/sheet/Rehydration.d.ts.map +1 -0
  421. package/primitives/dist/dist/sheet/Sheet.d.ts +41 -0
  422. package/primitives/dist/dist/sheet/Sheet.d.ts.map +1 -0
  423. package/primitives/dist/dist/sheet/Tag.d.ts +55 -0
  424. package/primitives/dist/dist/sheet/Tag.d.ts.map +1 -0
  425. package/primitives/dist/dist/sheet/dom.d.ts +5 -0
  426. package/primitives/dist/dist/sheet/dom.d.ts.map +1 -0
  427. package/primitives/dist/dist/sheet/index.d.ts +2 -0
  428. package/primitives/dist/dist/sheet/index.d.ts.map +1 -0
  429. package/primitives/dist/dist/sheet/types.d.ts +35 -0
  430. package/primitives/dist/dist/sheet/types.d.ts.map +1 -0
  431. package/primitives/dist/dist/test/globals.d.ts +3 -0
  432. package/primitives/dist/dist/test/globals.d.ts.map +1 -0
  433. package/primitives/dist/dist/test/utils.d.ts +192 -0
  434. package/primitives/dist/dist/test/utils.d.ts.map +1 -0
  435. package/primitives/dist/dist/types.d.ts +121 -0
  436. package/primitives/dist/dist/types.d.ts.map +1 -0
  437. package/primitives/dist/dist/utils/addUnitIfNeeded.d.ts +2 -0
  438. package/primitives/dist/dist/utils/addUnitIfNeeded.d.ts.map +1 -0
  439. package/primitives/dist/dist/utils/checkDynamicCreation.d.ts +2 -0
  440. package/primitives/dist/dist/utils/checkDynamicCreation.d.ts.map +1 -0
  441. package/primitives/dist/dist/utils/createWarnTooManyClasses.d.ts +4 -0
  442. package/primitives/dist/dist/utils/createWarnTooManyClasses.d.ts.map +1 -0
  443. package/primitives/dist/dist/utils/determineTheme.d.ts +3 -0
  444. package/primitives/dist/dist/utils/determineTheme.d.ts.map +1 -0
  445. package/primitives/dist/dist/utils/domElements.d.ts +3 -0
  446. package/primitives/dist/dist/utils/domElements.d.ts.map +1 -0
  447. package/primitives/dist/dist/utils/empties.d.ts +4 -0
  448. package/primitives/dist/dist/utils/empties.d.ts.map +1 -0
  449. package/primitives/dist/dist/utils/error.d.ts +6 -0
  450. package/primitives/dist/dist/utils/error.d.ts.map +1 -0
  451. package/primitives/dist/dist/utils/errors.d.ts +21 -0
  452. package/primitives/dist/dist/utils/errors.d.ts.map +1 -0
  453. package/primitives/dist/dist/utils/escape.d.ts +6 -0
  454. package/primitives/dist/dist/utils/escape.d.ts.map +1 -0
  455. package/primitives/dist/dist/utils/flatten.d.ts +5 -0
  456. package/primitives/dist/dist/utils/flatten.d.ts.map +1 -0
  457. package/primitives/dist/dist/utils/generateAlphabeticName.d.ts +2 -0
  458. package/primitives/dist/dist/utils/generateAlphabeticName.d.ts.map +1 -0
  459. package/primitives/dist/dist/utils/generateComponentId.d.ts +2 -0
  460. package/primitives/dist/dist/utils/generateComponentId.d.ts.map +1 -0
  461. package/primitives/dist/dist/utils/generateDisplayName.d.ts +3 -0
  462. package/primitives/dist/dist/utils/generateDisplayName.d.ts.map +1 -0
  463. package/primitives/dist/dist/utils/getComponentName.d.ts +3 -0
  464. package/primitives/dist/dist/utils/getComponentName.d.ts.map +1 -0
  465. package/primitives/dist/dist/utils/hash.d.ts +4 -0
  466. package/primitives/dist/dist/utils/hash.d.ts.map +1 -0
  467. package/primitives/dist/dist/utils/hoist.d.ts +52 -0
  468. package/primitives/dist/dist/utils/hoist.d.ts.map +1 -0
  469. package/primitives/dist/dist/utils/hyphenateStyleName.d.ts +15 -0
  470. package/primitives/dist/dist/utils/hyphenateStyleName.d.ts.map +1 -0
  471. package/primitives/dist/dist/utils/interleave.d.ts +3 -0
  472. package/primitives/dist/dist/utils/interleave.d.ts.map +1 -0
  473. package/primitives/dist/dist/utils/isFunction.d.ts +2 -0
  474. package/primitives/dist/dist/utils/isFunction.d.ts.map +1 -0
  475. package/primitives/dist/dist/utils/isPlainObject.d.ts +2 -0
  476. package/primitives/dist/dist/utils/isPlainObject.d.ts.map +1 -0
  477. package/primitives/dist/dist/utils/isStatelessFunction.d.ts +2 -0
  478. package/primitives/dist/dist/utils/isStatelessFunction.d.ts.map +1 -0
  479. package/primitives/dist/dist/utils/isStaticRules.d.ts +3 -0
  480. package/primitives/dist/dist/utils/isStaticRules.d.ts.map +1 -0
  481. package/primitives/dist/dist/utils/isStyledComponent.d.ts +3 -0
  482. package/primitives/dist/dist/utils/isStyledComponent.d.ts.map +1 -0
  483. package/primitives/dist/dist/utils/isTag.d.ts +3 -0
  484. package/primitives/dist/dist/utils/isTag.d.ts.map +1 -0
  485. package/primitives/dist/dist/utils/joinStrings.d.ts +5 -0
  486. package/primitives/dist/dist/utils/joinStrings.d.ts.map +1 -0
  487. package/primitives/dist/dist/utils/mixinDeep.d.ts +8 -0
  488. package/primitives/dist/dist/utils/mixinDeep.d.ts.map +1 -0
  489. package/primitives/dist/dist/utils/nonce.d.ts +2 -0
  490. package/primitives/dist/dist/utils/nonce.d.ts.map +1 -0
  491. package/primitives/dist/dist/utils/stylis.d.ts +10 -0
  492. package/primitives/dist/dist/utils/stylis.d.ts.map +1 -0
  493. package/primitives/dist/hoc/withTheme.d.ts +3 -0
  494. package/primitives/dist/hoc/withTheme.d.ts.map +1 -0
  495. package/primitives/dist/hoc/withTheme.spec.d.ts +1 -0
  496. package/primitives/dist/hoc/withTheme.spec.d.ts.map +1 -0
  497. package/primitives/dist/hooks/useTheme.d.ts +3 -0
  498. package/primitives/dist/hooks/useTheme.d.ts.map +1 -0
  499. package/primitives/dist/index-standalone.d.ts +2 -0
  500. package/primitives/dist/index-standalone.d.ts.map +1 -0
  501. package/primitives/dist/index.d.ts +3 -0
  502. package/primitives/dist/index.d.ts.map +1 -0
  503. package/primitives/dist/macro/index.d.ts +2 -0
  504. package/primitives/dist/macro/index.d.ts.map +1 -0
  505. package/primitives/dist/macro/test/babel.config.d.ts +1 -0
  506. package/primitives/dist/macro/test/babel.config.d.ts.map +1 -0
  507. package/primitives/dist/models/ComponentStyle.d.ts +15 -0
  508. package/primitives/dist/models/ComponentStyle.d.ts.map +1 -0
  509. package/primitives/dist/models/GlobalStyle.d.ts +11 -0
  510. package/primitives/dist/models/GlobalStyle.d.ts.map +1 -0
  511. package/primitives/dist/models/InlineStyle.d.ts +6 -0
  512. package/primitives/dist/models/InlineStyle.d.ts.map +1 -0
  513. package/primitives/dist/models/Keyframes.d.ts +11 -0
  514. package/primitives/dist/models/Keyframes.d.ts.map +1 -0
  515. package/primitives/dist/models/ServerStyleSheet.d.ts +15 -0
  516. package/primitives/dist/models/ServerStyleSheet.d.ts.map +1 -0
  517. package/primitives/dist/models/StyleSheetManager.d.ts +21 -0
  518. package/primitives/dist/models/StyleSheetManager.d.ts.map +1 -0
  519. package/primitives/dist/models/StyledComponent.d.ts +3 -0
  520. package/primitives/dist/models/StyledComponent.d.ts.map +1 -0
  521. package/primitives/dist/models/StyledNativeComponent.d.ts +3 -0
  522. package/primitives/dist/models/StyledNativeComponent.d.ts.map +1 -0
  523. package/primitives/dist/models/ThemeProvider.d.ts +17 -0
  524. package/primitives/dist/models/ThemeProvider.d.ts.map +1 -0
  525. package/primitives/dist/native/index.d.ts +64 -0
  526. package/primitives/dist/native/index.d.ts.map +1 -0
  527. package/primitives/dist/primitives/index.d.ts +22 -0
  528. package/primitives/dist/primitives/index.d.ts.map +1 -0
  529. package/primitives/dist/secretInternals.d.ts +5 -0
  530. package/primitives/dist/secretInternals.d.ts.map +1 -0
  531. package/primitives/dist/sheet/GroupIDAllocator.d.ts +4 -0
  532. package/primitives/dist/sheet/GroupIDAllocator.d.ts.map +1 -0
  533. package/primitives/dist/sheet/GroupedTag.d.ts +11 -0
  534. package/primitives/dist/sheet/GroupedTag.d.ts.map +1 -0
  535. package/primitives/dist/sheet/Rehydration.d.ts +3 -0
  536. package/primitives/dist/sheet/Rehydration.d.ts.map +1 -0
  537. package/primitives/dist/sheet/Sheet.d.ts +40 -0
  538. package/primitives/dist/sheet/Sheet.d.ts.map +1 -0
  539. package/primitives/dist/sheet/Tag.d.ts +54 -0
  540. package/primitives/dist/sheet/Tag.d.ts.map +1 -0
  541. package/primitives/dist/sheet/dom.d.ts +4 -0
  542. package/primitives/dist/sheet/dom.d.ts.map +1 -0
  543. package/primitives/dist/sheet/index.d.ts +1 -0
  544. package/primitives/dist/sheet/index.d.ts.map +1 -0
  545. package/primitives/dist/sheet/types.d.ts +34 -0
  546. package/primitives/dist/sheet/types.d.ts.map +1 -0
  547. package/primitives/dist/styled-components-primitives.cjs.js +1107 -6115
  548. package/primitives/dist/styled-components-primitives.cjs.js.map +1 -1
  549. package/primitives/dist/styled-components-primitives.esm.js +1101 -6114
  550. package/primitives/dist/styled-components-primitives.esm.js.map +1 -1
  551. package/primitives/dist/test/globals.d.ts +2 -0
  552. package/primitives/dist/test/globals.d.ts.map +1 -0
  553. package/primitives/dist/test/utils.d.ts +191 -0
  554. package/primitives/dist/test/utils.d.ts.map +1 -0
  555. package/primitives/dist/types.d.ts +120 -0
  556. package/primitives/dist/types.d.ts.map +1 -0
  557. package/primitives/dist/utils/addUnitIfNeeded.d.ts +1 -0
  558. package/primitives/dist/utils/addUnitIfNeeded.d.ts.map +1 -0
  559. package/primitives/dist/utils/checkDynamicCreation.d.ts +1 -0
  560. package/primitives/dist/utils/checkDynamicCreation.d.ts.map +1 -0
  561. package/primitives/dist/utils/createWarnTooManyClasses.d.ts +3 -0
  562. package/primitives/dist/utils/createWarnTooManyClasses.d.ts.map +1 -0
  563. package/primitives/dist/utils/determineTheme.d.ts +2 -0
  564. package/primitives/dist/utils/determineTheme.d.ts.map +1 -0
  565. package/primitives/dist/utils/domElements.d.ts +2 -0
  566. package/primitives/dist/utils/domElements.d.ts.map +1 -0
  567. package/primitives/dist/utils/empties.d.ts +3 -0
  568. package/primitives/dist/utils/empties.d.ts.map +1 -0
  569. package/primitives/dist/utils/error.d.ts +5 -0
  570. package/primitives/dist/utils/error.d.ts.map +1 -0
  571. package/primitives/dist/utils/errors.d.ts +20 -0
  572. package/primitives/dist/utils/errors.d.ts.map +1 -0
  573. package/primitives/dist/utils/escape.d.ts +5 -0
  574. package/primitives/dist/utils/escape.d.ts.map +1 -0
  575. package/primitives/dist/utils/flatten.d.ts +4 -0
  576. package/primitives/dist/utils/flatten.d.ts.map +1 -0
  577. package/primitives/dist/utils/generateAlphabeticName.d.ts +1 -0
  578. package/primitives/dist/utils/generateAlphabeticName.d.ts.map +1 -0
  579. package/primitives/dist/utils/generateComponentId.d.ts +1 -0
  580. package/primitives/dist/utils/generateComponentId.d.ts.map +1 -0
  581. package/primitives/dist/utils/generateDisplayName.d.ts +2 -0
  582. package/primitives/dist/utils/generateDisplayName.d.ts.map +1 -0
  583. package/primitives/dist/utils/getComponentName.d.ts +2 -0
  584. package/primitives/dist/utils/getComponentName.d.ts.map +1 -0
  585. package/primitives/dist/utils/hash.d.ts +3 -0
  586. package/primitives/dist/utils/hash.d.ts.map +1 -0
  587. package/primitives/dist/utils/hoist.d.ts +51 -0
  588. package/primitives/dist/utils/hoist.d.ts.map +1 -0
  589. package/primitives/dist/utils/hyphenateStyleName.d.ts +14 -0
  590. package/primitives/dist/utils/hyphenateStyleName.d.ts.map +1 -0
  591. package/primitives/dist/utils/interleave.d.ts +2 -0
  592. package/primitives/dist/utils/interleave.d.ts.map +1 -0
  593. package/primitives/dist/utils/isFunction.d.ts +1 -0
  594. package/primitives/dist/utils/isFunction.d.ts.map +1 -0
  595. package/primitives/dist/utils/isPlainObject.d.ts +1 -0
  596. package/primitives/dist/utils/isPlainObject.d.ts.map +1 -0
  597. package/primitives/dist/utils/isStatelessFunction.d.ts +1 -0
  598. package/primitives/dist/utils/isStatelessFunction.d.ts.map +1 -0
  599. package/primitives/dist/utils/isStaticRules.d.ts +2 -0
  600. package/primitives/dist/utils/isStaticRules.d.ts.map +1 -0
  601. package/primitives/dist/utils/isStyledComponent.d.ts +2 -0
  602. package/primitives/dist/utils/isStyledComponent.d.ts.map +1 -0
  603. package/primitives/dist/utils/isTag.d.ts +2 -0
  604. package/primitives/dist/utils/isTag.d.ts.map +1 -0
  605. package/primitives/dist/utils/joinStrings.d.ts +4 -0
  606. package/primitives/dist/utils/joinStrings.d.ts.map +1 -0
  607. package/primitives/dist/utils/mixinDeep.d.ts +7 -0
  608. package/primitives/dist/utils/mixinDeep.d.ts.map +1 -0
  609. package/primitives/dist/utils/nonce.d.ts +1 -0
  610. package/primitives/dist/utils/nonce.d.ts.map +1 -0
  611. package/primitives/dist/utils/stylis.d.ts +9 -0
  612. package/primitives/dist/utils/stylis.d.ts.map +1 -0
  613. package/test-utils/{index.js → index.ts} +10 -13
  614. package/test-utils/{setupTestFramework.js → setupTestFramework.ts} +2 -5
  615. package/scripts/generateErrorMap.js +0 -22
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Rehydration.d.ts","sourceRoot":"","sources":["../../src/sheet/Rehydration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAKhC,eAAO,MAAM,WAAW,UAAW,KAAK,WA8BvC,CAAC;AA4CF,eAAO,MAAM,cAAc,UAAW,KAAK,SAa1C,CAAC"}
@@ -0,0 +1,41 @@
1
+ import { GroupedTag, Sheet, SheetOptions } from './types';
2
+ declare type SheetConstructorArgs = {
3
+ isServer?: boolean;
4
+ useCSSOMInjection?: boolean;
5
+ target?: HTMLElement;
6
+ };
7
+ declare type GlobalStylesAllocationMap = {
8
+ [key: string]: number;
9
+ };
10
+ declare type NamesAllocationMap = Map<string, Set<string>>;
11
+ /** Contains the main stylesheet logic for stringification and caching */
12
+ export default class StyleSheet implements Sheet {
13
+ gs: GlobalStylesAllocationMap;
14
+ names: NamesAllocationMap;
15
+ options: SheetOptions;
16
+ server: boolean;
17
+ tag?: GroupedTag;
18
+ /** Register a group ID to give it an index */
19
+ static registerId(id: string): number;
20
+ constructor(options?: SheetConstructorArgs, globalStyles?: GlobalStylesAllocationMap, names?: NamesAllocationMap);
21
+ reconstructWithOptions(options: SheetConstructorArgs, withNames?: boolean): StyleSheet;
22
+ allocateGSInstance(id: string): number;
23
+ /** Lazily initialises a GroupedTag for when it's actually needed */
24
+ getTag(): GroupedTag;
25
+ /** Check whether a name is known for caching */
26
+ hasNameForId(id: string, name: string): boolean;
27
+ /** Mark a group's name as known for caching */
28
+ registerName(id: string, name: string): void;
29
+ /** Insert new rules which also marks the name as known */
30
+ insertRules(id: string, name: string, rules: string | string[]): void;
31
+ /** Clears all cached names for a given group ID */
32
+ clearNames(id: string): void;
33
+ /** Clears all rules for a given group ID */
34
+ clearRules(id: string): void;
35
+ /** Clears the entire tag which deletes all rules but not its names */
36
+ clearTag(): void;
37
+ /** Outputs the current sheet as a CSS string with markers for SSR */
38
+ toString(): string;
39
+ }
40
+ export {};
41
+ //# sourceMappingURL=Sheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../../src/sheet/Sheet.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAI1D,aAAK,oBAAoB,GAAG;IAC1B,QAAQ,CAAC,EAAE,O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QAAQ,IAAI,MAAM;CAGnB"}
@@ -0,0 +1,55 @@
1
+ import { SheetOptions } from './types';
2
+ /** Create a CSSStyleSheet-like tag depending on the environment */
3
+ export declare const makeTag: ({ isServer, useCSSOMInjection, target }: SheetOptions) => {
4
+ element: HTMLStyleElement;
5
+ sheet: CSSStyleSheet;
6
+ length: number;
7
+ insertRule(index: number, rule: string): boolean;
8
+ deleteRule(index: number): void;
9
+ getRule(index: number): string;
10
+ } | {
11
+ element: HTMLStyleElement;
12
+ nodes: NodeListOf<Node>;
13
+ length: number;
14
+ insertRule(index: number, rule: string): boolean;
15
+ deleteRule(index: number): void;
16
+ getRule(index: number): string;
17
+ } | {
18
+ rules: string[];
19
+ length: number;
20
+ insertRule(index: number, rule: string): boolean;
21
+ deleteRule(index: number): void;
22
+ getRule(index: number): string;
23
+ };
24
+ export declare const CSSOMTag: {
25
+ new (target?: HTMLElement | undefined): {
26
+ element: HTMLStyleElement;
27
+ sheet: CSSStyleSheet;
28
+ length: number;
29
+ insertRule(index: number, rule: string): boolean;
30
+ deleteRule(index: number): void;
31
+ getRule(index: number): string;
32
+ };
33
+ };
34
+ /** A Tag that emulates the CSSStyleSheet API but uses text nodes */
35
+ export declare const TextTag: {
36
+ new (target?: HTMLElement | undefined): {
37
+ element: HTMLStyleElement;
38
+ nodes: NodeListOf<Node>;
39
+ length: number;
40
+ insertRule(index: number, rule: string): boolean;
41
+ deleteRule(index: number): void;
42
+ getRule(index: number): string;
43
+ };
44
+ };
45
+ /** A completely virtual (server-side) Tag that doesn't manipulate the DOM */
46
+ export declare const VirtualTag: {
47
+ new (_target?: HTMLElement | undefined): {
48
+ rules: string[];
49
+ length: number;
50
+ insertRule(index: number, rule: string): boolean;
51
+ deleteRule(index: number): void;
52
+ getRule(index: number): string;
53
+ };
54
+ };
55
+ //# sourceMappingURL=Tag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../src/sheet/Tag.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAO,MAAM,SAAS,CAAC;AAE5C,mEAAmE;AACnE,eAAO,MAAM,OAAO,4CAA6C,YAAY;aAWlE,gBAAgB;WAElB,aAAa;YAEZ,MAAM;sBAYI,MAAM,QAAQ,MAAM,GAAG,OAAO;sBAU9B,MAAM,GAAG,IAAI;mBAKhB,MAAM,GAAG,MAAM;;aAarB,gBAAgB;WAClB,WAAW,IAAI,CAAC;YACf,MAAM;sBAQI,MAAM,QAAQ,MAAM;sBAYpB,MAAM;mBAKT,MAAM;;WAWd,MAAM,EAAE;YAEP,MAAM;sBAOI,MAAM,QAAQ,MAAM;sBAUpB,MAAM;mBAKT,MAAM;CA7GtB,CAAC;AAEF,eAAO,MAAM,QAAQ;;iBACV,gBAAgB;eAElB,aAAa;gBAEZ,MAAM;0BAYI,MAAM,QAAQ,MAAM,GAAG,OAAO;0BAU9B,MAAM,GAAG,IAAI;uBAKhB,MAAM,GAAG,MAAM;;CAS/B,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,OAAO;;iBACT,gBAAgB;eAClB,WAAW,IAAI,CAAC;gBACf,MAAM;0BAQI,MAAM,QAAQ,MAAM;0BAYpB,MAAM;uBAKT,MAAM;;CAOtB,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,UAAU;;eACd,MAAM,EAAE;gBAEP,MAAM;0BAOI,MAAM,QAAQ,MAAM;0BAUpB,MAAM;uBAKT,MAAM;;CAOtB,CAAC"}
@@ -0,0 +1,5 @@
1
+ /** Create a style element inside `target` or <head> after the last */
2
+ export declare const makeStyleTag: (target?: HTMLElement | undefined) => HTMLStyleElement;
3
+ /** Get the CSSStyleSheet instance for a given style element */
4
+ export declare const getSheet: (tag: HTMLStyleElement) => CSSStyleSheet;
5
+ //# sourceMappingURL=dom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../src/sheet/dom.ts"],"names":[],"mappings":"AAqBA,sEAAsE;AACtE,eAAO,MAAM,YAAY,wCAA2B,gBAiBnD,CAAC;AAEF,+DAA+D;AAC/D,eAAO,MAAM,QAAQ,QAAS,gBAAgB,KAAG,aAehD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from './Sheet';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,35 @@
1
+ /** CSSStyleSheet-like Tag abstraction for CSS rules */
2
+ export interface Tag {
3
+ insertRule(index: number, rule: string): boolean;
4
+ deleteRule(index: number): void;
5
+ getRule(index: number): string;
6
+ length: number;
7
+ }
8
+ /** Group-aware Tag that sorts rules by indices */
9
+ export interface GroupedTag {
10
+ clearGroup(group: number): void;
11
+ getGroup(group: number): string;
12
+ groupSizes: Uint32Array;
13
+ insertRules(group: number, rules: string | string[]): void;
14
+ length: number;
15
+ tag: Tag;
16
+ }
17
+ export declare type SheetOptions = {
18
+ isServer: boolean;
19
+ target?: HTMLElement;
20
+ useCSSOMInjection: boolean;
21
+ };
22
+ export interface Sheet {
23
+ allocateGSInstance(id: string): number;
24
+ clearNames(id: string): void;
25
+ clearRules(id: string): void;
26
+ clearTag(): void;
27
+ getTag(): GroupedTag;
28
+ hasNameForId(id: string, name: string): boolean;
29
+ insertRules(id: string, name: string, rules: string | string[]): void;
30
+ options: SheetOptions;
31
+ names: Map<string, Set<string>>;
32
+ registerName(id: string, name: string): void;
33
+ toString(): string;
34
+ }
35
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/sheet/types.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,MAAM,WAAW,GAAG;IAClB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAA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AAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,QAAQ,IAAI,MAAM,CAAC;CACpB"}
@@ -0,0 +1,3 @@
1
+ declare var __SERVER__: boolean;
2
+ declare var __VERSION__: string;
3
+ //# sourceMappingURL=globals.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globals.d.ts","sourceRoot":"","sources":["../../src/test/globals.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,IAAI,UAAU,EAAE,OAAO,CAAC;AAChC,OAAO,CAAC,IAAI,WAAW,EAAE,MAAM,CAAC"}
@@ -0,0 +1,192 @@
1
+ /// <reference types="react" />
2
+ export declare const seedNextClassnames: (names: string[]) => string[];
3
+ export declare const resetStyled: (isServer?: boolean) => (<Target extends import("../types").WebTarget>(tag: Target) => {
4
+ <Props = unknown, Statics = unknown>(initialStyles: import("../types").Styles<Props>, ...interpolations: import("../types").Interpolation<Props>[]): import("../types").IStyledComponent<Target, Props> & Statics;
5
+ attrs(attrs: import("../types").Attrs<unknown>): any;
6
+ withConfig(config: import("../types").StyledOptions<unknown>): any;
7
+ }) & {
8
+ a: import("../constructors/constructWithOptions").WebStyled<"a", import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, unknown>;
9
+ abbr: import("../constructors/constructWithOptions").WebStyled<"abbr", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
10
+ address: import("../constructors/constructWithOptions").WebStyled<"address", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
11
+ area: import("../constructors/constructWithOptions").WebStyled<"area", import("react").DetailedHTMLProps<import("react").AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>, unknown>;
12
+ article: import("../constructors/constructWithOptions").WebStyled<"article", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
13
+ aside: import("../constructors/constructWithOptions").WebStyled<"aside", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
14
+ audio: import("../constructors/constructWithOptions").WebStyled<"audio", import("react").DetailedHTMLProps<import("react").AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, unknown>;
15
+ b: import("../constructors/constructWithOptions").WebStyled<"b", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
16
+ base: import("../constructors/constructWithOptions").WebStyled<"base", import("react").DetailedHTMLProps<import("react").BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>, unknown>;
17
+ bdi: import("../constructors/constructWithOptions").WebStyled<"bdi", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
18
+ bdo: import("../constructors/constructWithOptions").WebStyled<"bdo", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
19
+ big: import("../constructors/constructWithOptions").WebStyled<"big", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
20
+ blockquote: import("../constructors/constructWithOptions").WebStyled<"blockquote", import("react").DetailedHTMLProps<import("react").BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
21
+ body: import("../constructors/constructWithOptions").WebStyled<"body", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>, unknown>;
22
+ br: import("../constructors/constructWithOptions").WebStyled<"br", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLBRElement>, HTMLBRElement>, unknown>;
23
+ button: import("../constructors/constructWithOptions").WebStyled<"button", import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, unknown>;
24
+ canvas: import("../constructors/constructWithOptions").WebStyled<"canvas", import("react").DetailedHTMLProps<import("react").CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>, unknown>;
25
+ caption: import("../constructors/constructWithOptions").WebStyled<"caption", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
26
+ cite: import("../constructors/constructWithOptions").WebStyled<"cite", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
27
+ code: import("../constructors/constructWithOptions").WebStyled<"code", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
28
+ col: import("../constructors/constructWithOptions").WebStyled<"col", import("react").DetailedHTMLProps<import("react").ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, unknown>;
29
+ colgroup: import("../constructors/constructWithOptions").WebStyled<"colgroup", import("react").DetailedHTMLProps<import("react").ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, unknown>;
30
+ data: import("../constructors/constructWithOptions").WebStyled<"data", import("react").DetailedHTMLProps<import("react").DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>, unknown>;
31
+ datalist: import("../constructors/constructWithOptions").WebStyled<"datalist", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>, unknown>;
32
+ dd: import("../constructors/constructWithOptions").WebStyled<"dd", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
33
+ del: import("../constructors/constructWithOptions").WebStyled<"del", import("react").DetailedHTMLProps<import("react").DelHTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
34
+ details: import("../constructors/constructWithOptions").WebStyled<"details", import("react").DetailedHTMLProps<import("react").DetailsHTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
35
+ dfn: import("../constructors/constructWithOptions").WebStyled<"dfn", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
36
+ dialog: import("../constructors/constructWithOptions").WebStyled<"dialog", import("react").DetailedHTMLProps<import("react").DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>, unknown>;
37
+ div: import("../constructors/constructWithOptions").WebStyled<"div", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, unknown>;
38
+ dl: import("../constructors/constructWithOptions").WebStyled<"dl", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDListElement>, HTMLDListElement>, unknown>;
39
+ dt: import("../constructors/constructWithOptions").WebStyled<"dt", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
40
+ em: import("../constructors/constructWithOptions").WebStyled<"em", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
41
+ embed: import("../constructors/constructWithOptions").WebStyled<"embed", import("react").DetailedHTMLProps<import("react").EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>, unknown>;
42
+ fieldset: import("../constructors/constructWithOptions").WebStyled<"fieldset", import("react").DetailedHTMLProps<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, unknown>;
43
+ figcaption: import("../constructors/constructWithOptions").WebStyled<"figcaption", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
44
+ figure: import("../constructors/constructWithOptions").WebStyled<"figure", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
45
+ footer: import("../constructors/constructWithOptions").WebStyled<"footer", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
46
+ form: import("../constructors/constructWithOptions").WebStyled<"form", import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, unknown>;
47
+ h1: import("../constructors/constructWithOptions").WebStyled<"h1", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, unknown>;
48
+ h2: import("../constructors/constructWithOptions").WebStyled<"h2", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, unknown>;
49
+ h3: import("../constructors/constructWithOptions").WebStyled<"h3", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, unknown>;
50
+ h4: import("../constructors/constructWithOptions").WebStyled<"h4", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, unknown>;
51
+ h5: import("../constructors/constructWithOptions").WebStyled<"h5", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, unknown>;
52
+ h6: import("../constructors/constructWithOptions").WebStyled<"h6", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, unknown>;
53
+ head: import("../constructors/constructWithOptions").WebStyled<"head", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>, unknown>;
54
+ header: import("../constructors/constructWithOptions").WebStyled<"header", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
55
+ hgroup: import("../constructors/constructWithOptions").WebStyled<"hgroup", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
56
+ hr: import("../constructors/constructWithOptions").WebStyled<"hr", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, unknown>;
57
+ html: import("../constructors/constructWithOptions").WebStyled<"html", import("react").DetailedHTMLProps<import("react").HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>, unknown>;
58
+ i: import("../constructors/constructWithOptions").WebStyled<"i", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
59
+ iframe: import("../constructors/constructWithOptions").WebStyled<"iframe", import("react").DetailedHTMLProps<import("react").IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>, unknown>;
60
+ img: import("../constructors/constructWithOptions").WebStyled<"img", import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, unknown>;
61
+ input: import("../constructors/constructWithOptions").WebStyled<"input", import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, unknown>;
62
+ ins: import("../constructors/constructWithOptions").WebStyled<"ins", import("react").DetailedHTMLProps<import("react").InsHTMLAttributes<HTMLModElement>, HTMLModElement>, unknown>;
63
+ kbd: import("../constructors/constructWithOptions").WebStyled<"kbd", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
64
+ keygen: import("../constructors/constructWithOptions").WebStyled<"keygen", import("react").DetailedHTMLProps<import("react").KeygenHTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
65
+ label: import("../constructors/constructWithOptions").WebStyled<"label", import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, unknown>;
66
+ legend: import("../constructors/constructWithOptions").WebStyled<"legend", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>, unknown>;
67
+ li: import("../constructors/constructWithOptions").WebStyled<"li", import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, unknown>;
68
+ link: import("../constructors/constructWithOptions").WebStyled<"link", import("react").DetailedHTMLProps<import("react").LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>, unknown>;
69
+ main: import("../constructors/constructWithOptions").WebStyled<"main", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
70
+ map: import("../constructors/constructWithOptions").WebStyled<"map", import("react").DetailedHTMLProps<import("react").MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>, unknown>;
71
+ mark: import("../constructors/constructWithOptions").WebStyled<"mark", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
72
+ menu: import("../constructors/constructWithOptions").WebStyled<"menu", import("react").DetailedHTMLProps<import("react").MenuHTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
73
+ menuitem: import("../constructors/constructWithOptions").WebStyled<"menuitem", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
74
+ meta: import("../constructors/constructWithOptions").WebStyled<"meta", import("react").DetailedHTMLProps<import("react").MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>, unknown>;
75
+ meter: import("../constructors/constructWithOptions").WebStyled<"meter", import("react").DetailedHTMLProps<import("react").MeterHTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
76
+ nav: import("../constructors/constructWithOptions").WebStyled<"nav", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
77
+ noindex: import("../constructors/constructWithOptions").WebStyled<"noindex", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
78
+ noscript: import("../constructors/constructWithOptions").WebStyled<"noscript", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
79
+ object: import("../constructors/constructWithOptions").WebStyled<"object", import("react").DetailedHTMLProps<import("react").ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>, unknown>;
80
+ ol: import("../constructors/constructWithOptions").WebStyled<"ol", import("react").DetailedHTMLProps<import("react").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, unknown>;
81
+ optgroup: import("../constructors/constructWithOptions").WebStyled<"optgroup", import("react").DetailedHTMLProps<import("react").OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>, unknown>;
82
+ option: import("../constructors/constructWithOptions").WebStyled<"option", import("react").DetailedHTMLProps<import("react").OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>, unknown>;
83
+ output: import("../constructors/constructWithOptions").WebStyled<"output", import("react").DetailedHTMLProps<import("react").OutputHTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
84
+ p: import("../constructors/constructWithOptions").WebStyled<"p", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, unknown>;
85
+ param: import("../constructors/constructWithOptions").WebStyled<"param", import("react").DetailedHTMLProps<import("react").ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>, unknown>;
86
+ picture: import("../constructors/constructWithOptions").WebStyled<"picture", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
87
+ pre: import("../constructors/constructWithOptions").WebStyled<"pre", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLPreElement>, HTMLPreElement>, unknown>;
88
+ progress: import("../constructors/constructWithOptions").WebStyled<"progress", import("react").DetailedHTMLProps<import("react").ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>, unknown>;
89
+ q: import("../constructors/constructWithOptions").WebStyled<"q", import("react").DetailedHTMLProps<import("react").QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, unknown>;
90
+ rp: import("../constructors/constructWithOptions").WebStyled<"rp", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
91
+ rt: import("../constructors/constructWithOptions").WebStyled<"rt", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
92
+ ruby: import("../constructors/constructWithOptions").WebStyled<"ruby", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
93
+ s: import("../constructors/constructWithOptions").WebStyled<"s", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
94
+ samp: import("../constructors/constructWithOptions").WebStyled<"samp", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
95
+ slot: import("../constructors/constructWithOptions").WebStyled<"slot", import("react").DetailedHTMLProps<import("react").SlotHTMLAttributes<HTMLSlotElement>, HTMLSlotElement>, unknown>;
96
+ script: import("../constructors/constructWithOptions").WebStyled<"script", import("react").DetailedHTMLProps<import("react").ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>, unknown>;
97
+ section: import("../constructors/constructWithOptions").WebStyled<"section", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
98
+ select: import("../constructors/constructWithOptions").WebStyled<"select", import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, unknown>;
99
+ small: import("../constructors/constructWithOptions").WebStyled<"small", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
100
+ source: import("../constructors/constructWithOptions").WebStyled<"source", import("react").DetailedHTMLProps<import("react").SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>, unknown>;
101
+ span: import("../constructors/constructWithOptions").WebStyled<"span", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, unknown>;
102
+ strong: import("../constructors/constructWithOptions").WebStyled<"strong", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
103
+ style: import("../constructors/constructWithOptions").WebStyled<"style", import("react").DetailedHTMLProps<import("react").StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>, unknown>;
104
+ sub: import("../constructors/constructWithOptions").WebStyled<"sub", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
105
+ summary: import("../constructors/constructWithOptions").WebStyled<"summary", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
106
+ sup: import("../constructors/constructWithOptions").WebStyled<"sup", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
107
+ table: import("../constructors/constructWithOptions").WebStyled<"table", import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, unknown>;
108
+ template: import("../constructors/constructWithOptions").WebStyled<"template", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>, unknown>;
109
+ tbody: import("../constructors/constructWithOptions").WebStyled<"tbody", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, unknown>;
110
+ td: import("../constructors/constructWithOptions").WebStyled<"td", import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, unknown>;
111
+ textarea: import("../constructors/constructWithOptions").WebStyled<"textarea", import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, unknown>;
112
+ tfoot: import("../constructors/constructWithOptions").WebStyled<"tfoot", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, unknown>;
113
+ th: import("../constructors/constructWithOptions").WebStyled<"th", import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, unknown>;
114
+ thead: import("../constructors/constructWithOptions").WebStyled<"thead", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, unknown>;
115
+ time: import("../constructors/constructWithOptions").WebStyled<"time", import("react").DetailedHTMLProps<import("react").TimeHTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
116
+ title: import("../constructors/constructWithOptions").WebStyled<"title", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>, unknown>;
117
+ tr: import("../constructors/constructWithOptions").WebStyled<"tr", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, unknown>;
118
+ track: import("../constructors/constructWithOptions").WebStyled<"track", import("react").DetailedHTMLProps<import("react").TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>, unknown>;
119
+ u: import("../constructors/constructWithOptions").WebStyled<"u", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
120
+ ul: import("../constructors/constructWithOptions").WebStyled<"ul", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, unknown>;
121
+ var: import("../constructors/constructWithOptions").WebStyled<"var", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
122
+ video: import("../constructors/constructWithOptions").WebStyled<"video", import("react").DetailedHTMLProps<import("react").VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, unknown>;
123
+ wbr: import("../constructors/constructWithOptions").WebStyled<"wbr", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown>;
124
+ webview: import("../constructors/constructWithOptions").WebStyled<"webview", import("react").DetailedHTMLProps<import("react").WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>, unknown>;
125
+ svg: import("../constructors/constructWithOptions").WebStyled<"svg", import("react").SVGProps<SVGSVGElement>, unknown>;
126
+ animate: import("../constructors/constructWithOptions").WebStyled<"animate", import("react").SVGProps<SVGElement>, unknown>;
127
+ animateMotion: import("../constructors/constructWithOptions").WebStyled<"animateMotion", import("react").SVGProps<SVGElement>, unknown>;
128
+ animateTransform: import("../constructors/constructWithOptions").WebStyled<"animateTransform", import("react").SVGProps<SVGElement>, unknown>;
129
+ circle: import("../constructors/constructWithOptions").WebStyled<"circle", import("react").SVGProps<SVGCircleElement>, unknown>;
130
+ clipPath: import("../constructors/constructWithOptions").WebStyled<"clipPath", import("react").SVGProps<SVGClipPathElement>, unknown>;
131
+ defs: import("../constructors/constructWithOptions").WebStyled<"defs", import("react").SVGProps<SVGDefsElement>, unknown>;
132
+ desc: import("../constructors/constructWithOptions").WebStyled<"desc", import("react").SVGProps<SVGDescElement>, unknown>;
133
+ ellipse: import("../constructors/constructWithOptions").WebStyled<"ellipse", import("react").SVGProps<SVGEllipseElement>, unknown>;
134
+ feBlend: import("../constructors/constructWithOptions").WebStyled<"feBlend", import("react").SVGProps<SVGFEBlendElement>, unknown>;
135
+ feColorMatrix: import("../constructors/constructWithOptions").WebStyled<"feColorMatrix", import("react").SVGProps<SVGFEColorMatrixElement>, unknown>;
136
+ feComponentTransfer: import("../constructors/constructWithOptions").WebStyled<"feComponentTransfer", import("react").SVGProps<SVGFEComponentTransferElement>, unknown>;
137
+ feComposite: import("../constructors/constructWithOptions").WebStyled<"feComposite", import("react").SVGProps<SVGFECompositeElement>, unknown>;
138
+ feConvolveMatrix: import("../constructors/constructWithOptions").WebStyled<"feConvolveMatrix", import("react").SVGProps<SVGFEConvolveMatrixElement>, unknown>;
139
+ feDiffuseLighting: import("../constructors/constructWithOptions").WebStyled<"feDiffuseLighting", import("react").SVGProps<SVGFEDiffuseLightingElement>, unknown>;
140
+ feDisplacementMap: import("../constructors/constructWithOptions").WebStyled<"feDisplacementMap", import("react").SVGProps<SVGFEDisplacementMapElement>, unknown>;
141
+ feDistantLight: import("../constructors/constructWithOptions").WebStyled<"feDistantLight", import("react").SVGProps<SVGFEDistantLightElement>, unknown>;
142
+ feDropShadow: import("../constructors/constructWithOptions").WebStyled<"feDropShadow", import("react").SVGProps<SVGFEDropShadowElement>, unknown>;
143
+ feFlood: import("../constructors/constructWithOptions").WebStyled<"feFlood", import("react").SVGProps<SVGFEFloodElement>, unknown>;
144
+ feFuncA: import("../constructors/constructWithOptions").WebStyled<"feFuncA", import("react").SVGProps<SVGFEFuncAElement>, unknown>;
145
+ feFuncB: import("../constructors/constructWithOptions").WebStyled<"feFuncB", import("react").SVGProps<SVGFEFuncBElement>, unknown>;
146
+ feFuncG: import("../constructors/constructWithOptions").WebStyled<"feFuncG", import("react").SVGProps<SVGFEFuncGElement>, unknown>;
147
+ feFuncR: import("../constructors/constructWithOptions").WebStyled<"feFuncR", import("react").SVGProps<SVGFEFuncRElement>, unknown>;
148
+ feGaussianBlur: import("../constructors/constructWithOptions").WebStyled<"feGaussianBlur", import("react").SVGProps<SVGFEGaussianBlurElement>, unknown>;
149
+ feImage: import("../constructors/constructWithOptions").WebStyled<"feImage", import("react").SVGProps<SVGFEImageElement>, unknown>;
150
+ feMerge: import("../constructors/constructWithOptions").WebStyled<"feMerge", import("react").SVGProps<SVGFEMergeElement>, unknown>;
151
+ feMergeNode: import("../constructors/constructWithOptions").WebStyled<"feMergeNode", import("react").SVGProps<SVGFEMergeNodeElement>, unknown>;
152
+ feMorphology: import("../constructors/constructWithOptions").WebStyled<"feMorphology", import("react").SVGProps<SVGFEMorphologyElement>, unknown>;
153
+ feOffset: import("../constructors/constructWithOptions").WebStyled<"feOffset", import("react").SVGProps<SVGFEOffsetElement>, unknown>;
154
+ fePointLight: import("../constructors/constructWithOptions").WebStyled<"fePointLight", import("react").SVGProps<SVGFEPointLightElement>, unknown>;
155
+ feSpecularLighting: import("../constructors/constructWithOptions").WebStyled<"feSpecularLighting", import("react").SVGProps<SVGFESpecularLightingElement>, unknown>;
156
+ feSpotLight: import("../constructors/constructWithOptions").WebStyled<"feSpotLight", import("react").SVGProps<SVGFESpotLightElement>, unknown>;
157
+ feTile: import("../constructors/constructWithOptions").WebStyled<"feTile", import("react").SVGProps<SVGFETileElement>, unknown>;
158
+ feTurbulence: import("../constructors/constructWithOptions").WebStyled<"feTurbulence", import("react").SVGProps<SVGFETurbulenceElement>, unknown>;
159
+ filter: import("../constructors/constructWithOptions").WebStyled<"filter", import("react").SVGProps<SVGFilterElement>, unknown>;
160
+ foreignObject: import("../constructors/constructWithOptions").WebStyled<"foreignObject", import("react").SVGProps<SVGForeignObjectElement>, unknown>;
161
+ g: import("../constructors/constructWithOptions").WebStyled<"g", import("react").SVGProps<SVGGElement>, unknown>;
162
+ image: import("../constructors/constructWithOptions").WebStyled<"image", import("react").SVGProps<SVGImageElement>, unknown>;
163
+ line: import("../constructors/constructWithOptions").WebStyled<"line", import("react").SVGProps<SVGLineElement>, unknown>;
164
+ linearGradient: import("../constructors/constructWithOptions").WebStyled<"linearGradient", import("react").SVGProps<SVGLinearGradientElement>, unknown>;
165
+ marker: import("../constructors/constructWithOptions").WebStyled<"marker", import("react").SVGProps<SVGMarkerElement>, unknown>;
166
+ mask: import("../constructors/constructWithOptions").WebStyled<"mask", import("react").SVGProps<SVGMaskElement>, unknown>;
167
+ metadata: import("../constructors/constructWithOptions").WebStyled<"metadata", import("react").SVGProps<SVGMetadataElement>, unknown>;
168
+ mpath: import("../constructors/constructWithOptions").WebStyled<"mpath", import("react").SVGProps<SVGElement>, unknown>;
169
+ path: import("../constructors/constructWithOptions").WebStyled<"path", import("react").SVGProps<SVGPathElement>, unknown>;
170
+ pattern: import("../constructors/constructWithOptions").WebStyled<"pattern", import("react").SVGProps<SVGPatternElement>, unknown>;
171
+ polygon: import("../constructors/constructWithOptions").WebStyled<"polygon", import("react").SVGProps<SVGPolygonElement>, unknown>;
172
+ polyline: import("../constructors/constructWithOptions").WebStyled<"polyline", import("react").SVGProps<SVGPolylineElement>, unknown>;
173
+ radialGradient: import("../constructors/constructWithOptions").WebStyled<"radialGradient", import("react").SVGProps<SVGRadialGradientElement>, unknown>;
174
+ rect: import("../constructors/constructWithOptions").WebStyled<"rect", import("react").SVGProps<SVGRectElement>, unknown>;
175
+ stop: import("../constructors/constructWithOptions").WebStyled<"stop", import("react").SVGProps<SVGStopElement>, unknown>;
176
+ switch: import("../constructors/constructWithOptions").WebStyled<"switch", import("react").SVGProps<SVGSwitchElement>, unknown>;
177
+ symbol: import("../constructors/constructWithOptions").WebStyled<"symbol", import("react").SVGProps<SVGSymbolElement>, unknown>;
178
+ text: import("../constructors/constructWithOptions").WebStyled<"text", import("react").SVGProps<SVGTextElement>, unknown>;
179
+ textPath: import("../constructors/constructWithOptions").WebStyled<"textPath", import("react").SVGProps<SVGTextPathElement>, unknown>;
180
+ tspan: import("../constructors/constructWithOptions").WebStyled<"tspan", import("react").SVGProps<SVGTSpanElement>, unknown>;
181
+ use: import("../constructors/constructWithOptions").WebStyled<"use", import("react").SVGProps<SVGUseElement>, unknown>;
182
+ view: import("../constructors/constructWithOptions").WebStyled<"view", import("react").SVGProps<SVGViewElement>, unknown>;
183
+ };
184
+ export declare const rehydrateTestStyles: () => void;
185
+ export declare const stripComments: (str: string) => string;
186
+ export declare const stripWhitespace: (str: string) => string;
187
+ export declare const getCSS: (scope: Document | HTMLElement) => string;
188
+ export declare const expectCSSMatches: (_expectation: string, opts?: {
189
+ ignoreWhitespace: boolean;
190
+ }) => string;
191
+ export declare const getRenderedCSS: () => string;
192
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/test/utils.ts"],"names":[],"mappings":";AAuBA,eAAO,MAAM,kBAAkB,UAAW,MAAM,EAAE,aAAgC,CAAC;AAEnF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBvB,CAAC;AAEF,eAAO,MAAM,mBAAmB,YAE/B,CAAC;AAEF,eAAO,MAAM,aAAa,QAAS,MAAM,WAAuC,CAAC;AAEjF,eAAO,MAAM,eAAe,QAAS,MAAM,WAIlB,CAAC;AAE1B,eAAO,MAAM,MAAM,UAAW,QAAQ,GAAG,WAAW,WAMxB,CAAC;AAE7B,eAAO,MAAM,gBAAgB,iBACb,MAAM,SACd;IAAE,gBAAgB,EAAE,OAAO,CAAA;CAAE,WAkBpC,CAAC;AAEF,eAAO,MAAM,cAAc,cAQ1B,CAAC"}
@@ -0,0 +1,121 @@
1
+ import React from 'react';
2
+ import ComponentStyle from './models/ComponentStyle';
3
+ import { DefaultTheme } from './models/ThemeProvider';
4
+ import createWarnTooManyClasses from './utils/createWarnTooManyClasses';
5
+ interface ExoticComponentWithDisplayName<P = unknown> extends React.ExoticComponent<P> {
6
+ defaultProps?: Partial<P>;
7
+ displayName?: string;
8
+ }
9
+ export declare type AnyComponent<P = any> = ExoticComponentWithDisplayName<P> | React.ComponentType<P>;
10
+ export interface StyledOptions<Props> {
11
+ attrs?: Attrs<Props>[];
12
+ componentId?: string;
13
+ displayName?: string;
14
+ parentComponentId?: string;
15
+ shouldForwardProp?: ShouldForwardProp;
16
+ }
17
+ export interface StyledNativeOptions<Props> {
18
+ attrs?: Attrs<Props>[];
19
+ displayName?: string;
20
+ shouldForwardProp?: ShouldForwardProp;
21
+ }
22
+ export declare type KnownWebTarget = keyof JSX.IntrinsicElements | AnyComponent;
23
+ export declare type WebTarget = string | KnownWebTarget;
24
+ export declare type NativeTarget = AnyComponent;
25
+ export interface BaseExtensibleObject {
26
+ [key: string]: any;
27
+ }
28
+ export interface ExtensibleObject extends BaseExtensibleObject {
29
+ $as?: KnownWebTarget;
30
+ $forwardedAs?: KnownWebTarget;
31
+ as?: KnownWebTarget;
32
+ forwardedAs?: KnownWebTarget;
33
+ theme?: DefaultTheme;
34
+ }
35
+ export interface ExecutionContext extends ExtensibleObject {
36
+ theme: DefaultTheme;
37
+ }
38
+ export interface StyleFunction<Props> {
39
+ (executionContext: ExecutionContext & Props): string | number | StyledObject | CSSConstructor<Props> | StyleFunction<Props>;
40
+ }
41
+ export declare type Interpolation<Props> = StyleFunction<Props> | StyledObject | string | number | Keyframes | IStyledComponent<any, any> | Interpolation<Props>[];
42
+ export declare type Attrs<Props> = (ExtensibleObject & Props) | ((props: ExecutionContext & Props) => ExecutionContext & Props);
43
+ export declare type RuleSet<Props> = Interpolation<Props>[];
44
+ export declare type Styles<Props> = TemplateStringsArray | StyledObject | StyleFunction<Props>;
45
+ export declare type NameGenerator = (hash: number) => string;
46
+ export interface CSSConstructor<Props> {
47
+ (strings: string[], ...interpolations: Interpolation<Props>[]): RuleSet<Props>;
48
+ }
49
+ export interface StyleSheet {
50
+ create: Function;
51
+ }
52
+ export interface Keyframes {
53
+ id: string;
54
+ name: string;
55
+ rules: string;
56
+ }
57
+ export interface Flattener<Props> {
58
+ (chunks: Interpolation<Props>[], executionContext: Object | null | undefined, styleSheet: Object | null | undefined): Interpolation<Props>[];
59
+ }
60
+ export declare type FlattenerResult<Props> = RuleSet<Props> | number | string | string[] | IStyledComponent<any, any> | Keyframes;
61
+ export interface Stringifier {
62
+ (css: string, selector?: string, prefix?: string, componentId?: string): string;
63
+ hash: string;
64
+ }
65
+ export interface ShouldForwardProp {
66
+ (prop: string, isValidAttr: (prop: string) => boolean, elementToBeCreated?: WebTarget | NativeTarget): boolean;
67
+ }
68
+ export interface CommonStatics<Props> {
69
+ attrs: Attrs<Props>[];
70
+ target: StyledTarget;
71
+ shouldForwardProp?: ShouldForwardProp;
72
+ withComponent: any;
73
+ }
74
+ export interface IStyledStatics<OuterProps = unknown> extends CommonStatics<OuterProps> {
75
+ componentStyle: ComponentStyle;
76
+ foldedComponentIds: Array<string>;
77
+ target: WebTarget;
78
+ styledComponentId: string;
79
+ warnTooManyClasses?: ReturnType<typeof createWarnTooManyClasses>;
80
+ withComponent: <Target extends WebTarget, Props = unknown>(tag: Target) => IStyledComponent<Target, OuterProps & Props>;
81
+ }
82
+ declare type CustomComponentProps<ActualComponent extends StyledTarget, PropsToBeInjectedIntoActualComponent extends {}, ActualComponentProps = ActualComponent extends KnownWebTarget ? React.ComponentPropsWithRef<ActualComponent> : {}> = React.HTMLAttributes<ActualComponent> & Omit<PropsToBeInjectedIntoActualComponent, keyof ActualComponentProps | 'as' | '$as'> & ActualComponentProps & ({
83
+ $as: ActualComponent;
84
+ as?: AnyComponent;
85
+ } | {
86
+ as?: ActualComponent;
87
+ });
88
+ interface CustomComponent<FallbackComponent extends StyledTarget, ExpectedProps = unknown, PropsToBeInjectedIntoActualComponent = unknown> extends React.ForwardRefExoticComponent<ExpectedProps> {
89
+ <ActualComponent extends StyledTarget = FallbackComponent>(props: CustomComponentProps<ActualComponent, ExpectedProps & PropsToBeInjectedIntoActualComponent>): React.ReactElement<CustomComponentProps<ActualComponent, ExecutionContext & ExpectedProps & PropsToBeInjectedIntoActualComponent>, ActualComponent>;
90
+ }
91
+ export interface IStyledComponent<Target extends WebTarget, Props = unknown> extends CustomComponent<Target, Props, ExecutionContext>, IStyledStatics<Props> {
92
+ defaultProps?: Partial<ExtensibleObject & (Target extends KnownWebTarget ? React.ComponentProps<Target> : {}) & Props>;
93
+ toString: () => string;
94
+ }
95
+ export interface IStyledComponentFactory<Target extends WebTarget, Props = unknown, Statics = unknown> {
96
+ (target: Target, options: StyledOptions<Props>, rules: RuleSet<Props>): IStyledComponent<Target, Props> & Statics;
97
+ }
98
+ export interface IStyledNativeStatics<OuterProps = unknown> extends CommonStatics<OuterProps> {
99
+ inlineStyle: InstanceType<IInlineStyleConstructor<OuterProps>>;
100
+ target: NativeTarget;
101
+ withComponent: <Target extends NativeTarget, Props = unknown>(tag: Target) => IStyledNativeComponent<Target, OuterProps & Props>;
102
+ }
103
+ export interface IStyledNativeComponent<Target extends NativeTarget, Props = unknown> extends CustomComponent<Target, Props, ExecutionContext>, IStyledNativeStatics<Props> {
104
+ defaultProps?: Partial<ExtensibleObject & (Target extends KnownWebTarget ? React.ComponentProps<Target> : {}) & Props>;
105
+ }
106
+ export interface IStyledNativeComponentFactory<Target extends NativeTarget, Props = unknown, Statics = unknown> {
107
+ (target: Target, options: StyledNativeOptions<Props>, rules: RuleSet<Props>): IStyledNativeComponent<Target, Props> & Statics;
108
+ }
109
+ export interface IInlineStyleConstructor<Props = unknown> {
110
+ new (rules: RuleSet<Props>): IInlineStyle<Props>;
111
+ }
112
+ export interface IInlineStyle<Props = unknown> {
113
+ rules: RuleSet<Props>;
114
+ generateStyleObject(executionContext: Object): Object;
115
+ }
116
+ export declare type StyledTarget = WebTarget | NativeTarget;
117
+ export interface StyledObject {
118
+ [key: string]: Record<string, any> | string | number | StyleFunction<ExecutionContext>;
119
+ }
120
+ export {};
121
+ //# sourceMappingURL=types.d.ts.map
@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c,GAAG,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,GAAG,KAAK,CAC/F,CAAC;CACH;AAGD,MAAM,WAAW,6BAA6B,CAC5C,MAAM,SAAS,YAAY,EAC3B,KAAK,GAAG,OAAO,EACf,OAAO,GAAG,OAAO;IAEjB,CACE,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,mBAAmB,CAAC,KAAK,CAAC,EACnC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,GACpB,sBAAsB,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,OAAO,CAAC;CACpD;AACD,MAAM,WAAW,uBAAuB,CAAC,KAAK,GAAG,OAAO;IACtD,KAAK,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;CAClD;AAED,MAAM,WAAW,YAAY,CAAC,KAAK,GAAG,OAAO;IAC3C,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACtB,mBAAmB,CAAC,gBAAgB,EAAE,MAAM,GAAG,MAAM,CAAC;CACvD;AAED,oBAAY,YAAY,GAAG,SAAS,GAAG,YAAY,CAAC;AAEpD,MAAM,WAAW,YAAY;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,GAAG,MAAM,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC;CACxF"}
@@ -0,0 +1,2 @@
1
+ export default function addUnitIfNeeded(name: string, value: any): string;
2
+ //# sourceMappingURL=addUnitIfNeeded.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addUnitIfNeeded.d.ts","sourceRoot":"","sources":["../../src/utils/addUnitIfNeeded.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,UAW/D"}
@@ -0,0 +1,2 @@
1
+ export declare const checkDynamicCreation: (displayName: string, componentId?: string | undefined) => void;
2
+ //# sourceMappingURL=checkDynamicCreation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkDynamicCreation.d.ts","sourceRoot":"","sources":["../../src/utils/checkDynamicCreation.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,gBAAiB,MAAM,2CA+CvD,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const LIMIT = 200;
2
+ declare const _default: (displayName: string, componentId: string) => (className: string) => void;
3
+ export default _default;
4
+ //# sourceMappingURL=createWarnTooManyClasses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createWarnTooManyClasses.d.ts","sourceRoot":"","sources":["../../src/utils/createWarnTooManyClasses.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,MAAM,CAAC;sCAEI,MAAM,eAAe,MAAM,iBAInC,MAAM;AAJ3B,wBA6BE"}
@@ -0,0 +1,3 @@
1
+ import { ExtensibleObject } from '../types';
2
+ export default function determineTheme(props: ExtensibleObject, providedTheme: any, defaultProps?: any): any;
3
+ //# sourceMappingURL=determineTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"determineTheme.d.ts","sourceRoot":"","sources":["../../src/utils/determineTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAG5C,MAAM,CAAC,OAAO,UAAU,cAAc,CACpC,KAAK,EAAE,gBAAgB,EACvB,aAAa,EAAE,GAAG,EAClB,YAAY,GAAE,GAAkB,OAGjC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: readonly ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"];
2
+ export default _default;
3
+ //# sourceMappingURL=domElements.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domElements.d.ts","sourceRoot":"","sources":["../../src/utils/domElements.ts"],"names":[],"mappings":";AAEA,wBAuIW"}