styled-components 5.3.5 → 5.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (303) hide show
  1. package/README.md +2 -2
  2. package/dist/styled-components.browser.cjs.js +1 -1
  3. package/dist/styled-components.browser.cjs.js.map +1 -1
  4. package/dist/styled-components.browser.esm.js +1 -1
  5. package/dist/styled-components.browser.esm.js.map +1 -1
  6. package/dist/styled-components.cjs.js +1 -1
  7. package/dist/styled-components.cjs.js.map +1 -1
  8. package/dist/styled-components.esm.js +1 -1
  9. package/dist/styled-components.esm.js.map +1 -1
  10. package/dist/styled-components.js +1 -1
  11. package/dist/styled-components.js.map +1 -1
  12. package/dist/styled-components.min.js +1 -1
  13. package/dist/styled-components.min.js.map +1 -1
  14. package/native/dist/constructors/constructWithOptions.d.ts +11 -15
  15. package/native/dist/constructors/css.d.ts +3 -3
  16. package/native/dist/constructors/styled.d.ts +179 -179
  17. package/native/dist/hoc/withTheme.d.ts +1 -1
  18. package/native/dist/models/ComponentStyle.d.ts +1 -0
  19. package/native/dist/models/StyledComponent.d.ts +1 -1
  20. package/native/dist/models/StyledNativeComponent.d.ts +2 -2
  21. package/native/dist/models/ThemeProvider.d.ts +22 -0
  22. package/native/dist/native/index.d.ts +30 -54
  23. package/native/dist/sheet/Tag.d.ts +3 -3
  24. package/native/dist/sheet/dom.d.ts +1 -1
  25. package/native/dist/styled-components.native.cjs.js +2 -2
  26. package/native/dist/styled-components.native.cjs.js.map +1 -1
  27. package/native/dist/styled-components.native.esm.js +2 -2
  28. package/native/dist/styled-components.native.esm.js.map +1 -1
  29. package/native/dist/test/utils.d.ts +178 -178
  30. package/native/dist/types.d.ts +70 -61
  31. package/native/dist/utils/checkDynamicCreation.d.ts +1 -1
  32. package/native/dist/utils/flatten.d.ts +1 -1
  33. package/native/dist/utils/generateDisplayName.d.ts +1 -1
  34. package/native/dist/utils/getComponentName.d.ts +1 -1
  35. package/native/dist/utils/isStyledComponent.d.ts +1 -1
  36. package/native/dist/utils/isTag.d.ts +1 -1
  37. package/native/dist/utils/stylis.d.ts +2 -1
  38. package/package.json +1 -1
  39. package/postinstall.js +4 -4
  40. package/primitives/dist/styled-components-primitives.cjs.js +2 -2
  41. package/primitives/dist/styled-components-primitives.cjs.js.map +1 -1
  42. package/primitives/dist/styled-components-primitives.esm.js +2 -2
  43. package/primitives/dist/styled-components-primitives.esm.js.map +1 -1
  44. package/primitives/dist/base.d.ts +0 -18
  45. package/primitives/dist/base.d.ts.map +0 -1
  46. package/primitives/dist/constants.d.ts +0 -8
  47. package/primitives/dist/constants.d.ts.map +0 -1
  48. package/primitives/dist/constructors/constructWithOptions.d.ts +0 -19
  49. package/primitives/dist/constructors/constructWithOptions.d.ts.map +0 -1
  50. package/primitives/dist/constructors/createGlobalStyle.d.ts +0 -3
  51. package/primitives/dist/constructors/createGlobalStyle.d.ts.map +0 -1
  52. package/primitives/dist/constructors/css.d.ts +0 -4
  53. package/primitives/dist/constructors/css.d.ts.map +0 -1
  54. package/primitives/dist/constructors/keyframes.d.ts +0 -3
  55. package/primitives/dist/constructors/keyframes.d.ts.map +0 -1
  56. package/primitives/dist/constructors/styled.d.ts +0 -185
  57. package/primitives/dist/constructors/styled.d.ts.map +0 -1
  58. package/primitives/dist/dist/base.d.ts +0 -18
  59. package/primitives/dist/dist/base.d.ts.map +0 -1
  60. package/primitives/dist/dist/constants.d.ts +0 -9
  61. package/primitives/dist/dist/constants.d.ts.map +0 -1
  62. package/primitives/dist/dist/constructors/constructWithOptions.d.ts +0 -20
  63. package/primitives/dist/dist/constructors/constructWithOptions.d.ts.map +0 -1
  64. package/primitives/dist/dist/constructors/createGlobalStyle.d.ts +0 -4
  65. package/primitives/dist/dist/constructors/createGlobalStyle.d.ts.map +0 -1
  66. package/primitives/dist/dist/constructors/css.d.ts +0 -5
  67. package/primitives/dist/dist/constructors/css.d.ts.map +0 -1
  68. package/primitives/dist/dist/constructors/keyframes.d.ts +0 -4
  69. package/primitives/dist/dist/constructors/keyframes.d.ts.map +0 -1
  70. package/primitives/dist/dist/constructors/styled.d.ts +0 -186
  71. package/primitives/dist/dist/constructors/styled.d.ts.map +0 -1
  72. package/primitives/dist/dist/hoc/withTheme.d.ts +0 -4
  73. package/primitives/dist/dist/hoc/withTheme.d.ts.map +0 -1
  74. package/primitives/dist/dist/hoc/withTheme.spec.d.ts +0 -2
  75. package/primitives/dist/dist/hoc/withTheme.spec.d.ts.map +0 -1
  76. package/primitives/dist/dist/hooks/useTheme.d.ts +0 -4
  77. package/primitives/dist/dist/hooks/useTheme.d.ts.map +0 -1
  78. package/primitives/dist/dist/index-standalone.d.ts +0 -3
  79. package/primitives/dist/dist/index-standalone.d.ts.map +0 -1
  80. package/primitives/dist/dist/index.d.ts +0 -4
  81. package/primitives/dist/dist/index.d.ts.map +0 -1
  82. package/primitives/dist/dist/macro/index.d.ts +0 -3
  83. package/primitives/dist/dist/macro/index.d.ts.map +0 -1
  84. package/primitives/dist/dist/macro/test/babel.config.d.ts +0 -1
  85. package/primitives/dist/dist/macro/test/babel.config.d.ts.map +0 -1
  86. package/primitives/dist/dist/models/ComponentStyle.d.ts +0 -16
  87. package/primitives/dist/dist/models/ComponentStyle.d.ts.map +0 -1
  88. package/primitives/dist/dist/models/GlobalStyle.d.ts +0 -12
  89. package/primitives/dist/dist/models/GlobalStyle.d.ts.map +0 -1
  90. package/primitives/dist/dist/models/InlineStyle.d.ts +0 -7
  91. package/primitives/dist/dist/models/InlineStyle.d.ts.map +0 -1
  92. package/primitives/dist/dist/models/Keyframes.d.ts +0 -12
  93. package/primitives/dist/dist/models/Keyframes.d.ts.map +0 -1
  94. package/primitives/dist/dist/models/ServerStyleSheet.d.ts +0 -16
  95. package/primitives/dist/dist/models/ServerStyleSheet.d.ts.map +0 -1
  96. package/primitives/dist/dist/models/StyleSheetManager.d.ts +0 -22
  97. package/primitives/dist/dist/models/StyleSheetManager.d.ts.map +0 -1
  98. package/primitives/dist/dist/models/StyledComponent.d.ts +0 -4
  99. package/primitives/dist/dist/models/StyledComponent.d.ts.map +0 -1
  100. package/primitives/dist/dist/models/StyledNativeComponent.d.ts +0 -4
  101. package/primitives/dist/dist/models/StyledNativeComponent.d.ts.map +0 -1
  102. package/primitives/dist/dist/models/ThemeProvider.d.ts +0 -18
  103. package/primitives/dist/dist/models/ThemeProvider.d.ts.map +0 -1
  104. package/primitives/dist/dist/native/index.d.ts +0 -65
  105. package/primitives/dist/dist/native/index.d.ts.map +0 -1
  106. package/primitives/dist/dist/primitives/index.d.ts +0 -23
  107. package/primitives/dist/dist/primitives/index.d.ts.map +0 -1
  108. package/primitives/dist/dist/secretInternals.d.ts +0 -6
  109. package/primitives/dist/dist/secretInternals.d.ts.map +0 -1
  110. package/primitives/dist/dist/sheet/GroupIDAllocator.d.ts +0 -5
  111. package/primitives/dist/dist/sheet/GroupIDAllocator.d.ts.map +0 -1
  112. package/primitives/dist/dist/sheet/GroupedTag.d.ts +0 -12
  113. package/primitives/dist/dist/sheet/GroupedTag.d.ts.map +0 -1
  114. package/primitives/dist/dist/sheet/Rehydration.d.ts +0 -4
  115. package/primitives/dist/dist/sheet/Rehydration.d.ts.map +0 -1
  116. package/primitives/dist/dist/sheet/Sheet.d.ts +0 -41
  117. package/primitives/dist/dist/sheet/Sheet.d.ts.map +0 -1
  118. package/primitives/dist/dist/sheet/Tag.d.ts +0 -55
  119. package/primitives/dist/dist/sheet/Tag.d.ts.map +0 -1
  120. package/primitives/dist/dist/sheet/dom.d.ts +0 -5
  121. package/primitives/dist/dist/sheet/dom.d.ts.map +0 -1
  122. package/primitives/dist/dist/sheet/index.d.ts +0 -2
  123. package/primitives/dist/dist/sheet/index.d.ts.map +0 -1
  124. package/primitives/dist/dist/sheet/types.d.ts +0 -35
  125. package/primitives/dist/dist/sheet/types.d.ts.map +0 -1
  126. package/primitives/dist/dist/test/globals.d.ts +0 -3
  127. package/primitives/dist/dist/test/globals.d.ts.map +0 -1
  128. package/primitives/dist/dist/test/utils.d.ts +0 -192
  129. package/primitives/dist/dist/test/utils.d.ts.map +0 -1
  130. package/primitives/dist/dist/types.d.ts +0 -121
  131. package/primitives/dist/dist/types.d.ts.map +0 -1
  132. package/primitives/dist/dist/utils/addUnitIfNeeded.d.ts +0 -2
  133. package/primitives/dist/dist/utils/addUnitIfNeeded.d.ts.map +0 -1
  134. package/primitives/dist/dist/utils/checkDynamicCreation.d.ts +0 -2
  135. package/primitives/dist/dist/utils/checkDynamicCreation.d.ts.map +0 -1
  136. package/primitives/dist/dist/utils/createWarnTooManyClasses.d.ts +0 -4
  137. package/primitives/dist/dist/utils/createWarnTooManyClasses.d.ts.map +0 -1
  138. package/primitives/dist/dist/utils/determineTheme.d.ts +0 -3
  139. package/primitives/dist/dist/utils/determineTheme.d.ts.map +0 -1
  140. package/primitives/dist/dist/utils/domElements.d.ts +0 -3
  141. package/primitives/dist/dist/utils/domElements.d.ts.map +0 -1
  142. package/primitives/dist/dist/utils/empties.d.ts +0 -4
  143. package/primitives/dist/dist/utils/empties.d.ts.map +0 -1
  144. package/primitives/dist/dist/utils/error.d.ts +0 -6
  145. package/primitives/dist/dist/utils/error.d.ts.map +0 -1
  146. package/primitives/dist/dist/utils/errors.d.ts +0 -21
  147. package/primitives/dist/dist/utils/errors.d.ts.map +0 -1
  148. package/primitives/dist/dist/utils/escape.d.ts +0 -6
  149. package/primitives/dist/dist/utils/escape.d.ts.map +0 -1
  150. package/primitives/dist/dist/utils/flatten.d.ts +0 -5
  151. package/primitives/dist/dist/utils/flatten.d.ts.map +0 -1
  152. package/primitives/dist/dist/utils/generateAlphabeticName.d.ts +0 -2
  153. package/primitives/dist/dist/utils/generateAlphabeticName.d.ts.map +0 -1
  154. package/primitives/dist/dist/utils/generateComponentId.d.ts +0 -2
  155. package/primitives/dist/dist/utils/generateComponentId.d.ts.map +0 -1
  156. package/primitives/dist/dist/utils/generateDisplayName.d.ts +0 -3
  157. package/primitives/dist/dist/utils/generateDisplayName.d.ts.map +0 -1
  158. package/primitives/dist/dist/utils/getComponentName.d.ts +0 -3
  159. package/primitives/dist/dist/utils/getComponentName.d.ts.map +0 -1
  160. package/primitives/dist/dist/utils/hash.d.ts +0 -4
  161. package/primitives/dist/dist/utils/hash.d.ts.map +0 -1
  162. package/primitives/dist/dist/utils/hoist.d.ts +0 -52
  163. package/primitives/dist/dist/utils/hoist.d.ts.map +0 -1
  164. package/primitives/dist/dist/utils/hyphenateStyleName.d.ts +0 -15
  165. package/primitives/dist/dist/utils/hyphenateStyleName.d.ts.map +0 -1
  166. package/primitives/dist/dist/utils/interleave.d.ts +0 -3
  167. package/primitives/dist/dist/utils/interleave.d.ts.map +0 -1
  168. package/primitives/dist/dist/utils/isFunction.d.ts +0 -2
  169. package/primitives/dist/dist/utils/isFunction.d.ts.map +0 -1
  170. package/primitives/dist/dist/utils/isPlainObject.d.ts +0 -2
  171. package/primitives/dist/dist/utils/isPlainObject.d.ts.map +0 -1
  172. package/primitives/dist/dist/utils/isStatelessFunction.d.ts +0 -2
  173. package/primitives/dist/dist/utils/isStatelessFunction.d.ts.map +0 -1
  174. package/primitives/dist/dist/utils/isStaticRules.d.ts +0 -3
  175. package/primitives/dist/dist/utils/isStaticRules.d.ts.map +0 -1
  176. package/primitives/dist/dist/utils/isStyledComponent.d.ts +0 -3
  177. package/primitives/dist/dist/utils/isStyledComponent.d.ts.map +0 -1
  178. package/primitives/dist/dist/utils/isTag.d.ts +0 -3
  179. package/primitives/dist/dist/utils/isTag.d.ts.map +0 -1
  180. package/primitives/dist/dist/utils/joinStrings.d.ts +0 -5
  181. package/primitives/dist/dist/utils/joinStrings.d.ts.map +0 -1
  182. package/primitives/dist/dist/utils/mixinDeep.d.ts +0 -8
  183. package/primitives/dist/dist/utils/mixinDeep.d.ts.map +0 -1
  184. package/primitives/dist/dist/utils/nonce.d.ts +0 -2
  185. package/primitives/dist/dist/utils/nonce.d.ts.map +0 -1
  186. package/primitives/dist/dist/utils/stylis.d.ts +0 -10
  187. package/primitives/dist/dist/utils/stylis.d.ts.map +0 -1
  188. package/primitives/dist/hoc/withTheme.d.ts +0 -3
  189. package/primitives/dist/hoc/withTheme.d.ts.map +0 -1
  190. package/primitives/dist/hoc/withTheme.spec.d.ts +0 -1
  191. package/primitives/dist/hoc/withTheme.spec.d.ts.map +0 -1
  192. package/primitives/dist/hooks/useTheme.d.ts +0 -3
  193. package/primitives/dist/hooks/useTheme.d.ts.map +0 -1
  194. package/primitives/dist/index-standalone.d.ts +0 -2
  195. package/primitives/dist/index-standalone.d.ts.map +0 -1
  196. package/primitives/dist/index.d.ts +0 -4
  197. package/primitives/dist/index.d.ts.map +0 -1
  198. package/primitives/dist/macro/index.d.ts +0 -2
  199. package/primitives/dist/macro/index.d.ts.map +0 -1
  200. package/primitives/dist/macro/test/babel.config.d.ts +0 -1
  201. package/primitives/dist/macro/test/babel.config.d.ts.map +0 -1
  202. package/primitives/dist/models/ComponentStyle.d.ts +0 -15
  203. package/primitives/dist/models/ComponentStyle.d.ts.map +0 -1
  204. package/primitives/dist/models/GlobalStyle.d.ts +0 -11
  205. package/primitives/dist/models/GlobalStyle.d.ts.map +0 -1
  206. package/primitives/dist/models/InlineStyle.d.ts +0 -6
  207. package/primitives/dist/models/InlineStyle.d.ts.map +0 -1
  208. package/primitives/dist/models/Keyframes.d.ts +0 -11
  209. package/primitives/dist/models/Keyframes.d.ts.map +0 -1
  210. package/primitives/dist/models/ServerStyleSheet.d.ts +0 -15
  211. package/primitives/dist/models/ServerStyleSheet.d.ts.map +0 -1
  212. package/primitives/dist/models/StyleSheetManager.d.ts +0 -21
  213. package/primitives/dist/models/StyleSheetManager.d.ts.map +0 -1
  214. package/primitives/dist/models/StyledComponent.d.ts +0 -3
  215. package/primitives/dist/models/StyledComponent.d.ts.map +0 -1
  216. package/primitives/dist/models/StyledNativeComponent.d.ts +0 -3
  217. package/primitives/dist/models/StyledNativeComponent.d.ts.map +0 -1
  218. package/primitives/dist/models/ThemeProvider.d.ts +0 -17
  219. package/primitives/dist/models/ThemeProvider.d.ts.map +0 -1
  220. package/primitives/dist/native/index.d.ts +0 -65
  221. package/primitives/dist/native/index.d.ts.map +0 -1
  222. package/primitives/dist/primitives/index.d.ts +0 -23
  223. package/primitives/dist/primitives/index.d.ts.map +0 -1
  224. package/primitives/dist/secretInternals.d.ts +0 -5
  225. package/primitives/dist/secretInternals.d.ts.map +0 -1
  226. package/primitives/dist/sheet/GroupIDAllocator.d.ts +0 -4
  227. package/primitives/dist/sheet/GroupIDAllocator.d.ts.map +0 -1
  228. package/primitives/dist/sheet/GroupedTag.d.ts +0 -11
  229. package/primitives/dist/sheet/GroupedTag.d.ts.map +0 -1
  230. package/primitives/dist/sheet/Rehydration.d.ts +0 -3
  231. package/primitives/dist/sheet/Rehydration.d.ts.map +0 -1
  232. package/primitives/dist/sheet/Sheet.d.ts +0 -40
  233. package/primitives/dist/sheet/Sheet.d.ts.map +0 -1
  234. package/primitives/dist/sheet/Tag.d.ts +0 -54
  235. package/primitives/dist/sheet/Tag.d.ts.map +0 -1
  236. package/primitives/dist/sheet/dom.d.ts +0 -4
  237. package/primitives/dist/sheet/dom.d.ts.map +0 -1
  238. package/primitives/dist/sheet/index.d.ts +0 -1
  239. package/primitives/dist/sheet/index.d.ts.map +0 -1
  240. package/primitives/dist/sheet/types.d.ts +0 -34
  241. package/primitives/dist/sheet/types.d.ts.map +0 -1
  242. package/primitives/dist/test/globals.d.ts +0 -2
  243. package/primitives/dist/test/globals.d.ts.map +0 -1
  244. package/primitives/dist/test/utils.d.ts +0 -191
  245. package/primitives/dist/test/utils.d.ts.map +0 -1
  246. package/primitives/dist/types.d.ts +0 -121
  247. package/primitives/dist/types.d.ts.map +0 -1
  248. package/primitives/dist/utils/addUnitIfNeeded.d.ts +0 -1
  249. package/primitives/dist/utils/addUnitIfNeeded.d.ts.map +0 -1
  250. package/primitives/dist/utils/checkDynamicCreation.d.ts +0 -1
  251. package/primitives/dist/utils/checkDynamicCreation.d.ts.map +0 -1
  252. package/primitives/dist/utils/createWarnTooManyClasses.d.ts +0 -3
  253. package/primitives/dist/utils/createWarnTooManyClasses.d.ts.map +0 -1
  254. package/primitives/dist/utils/determineTheme.d.ts +0 -2
  255. package/primitives/dist/utils/determineTheme.d.ts.map +0 -1
  256. package/primitives/dist/utils/domElements.d.ts +0 -2
  257. package/primitives/dist/utils/domElements.d.ts.map +0 -1
  258. package/primitives/dist/utils/empties.d.ts +0 -3
  259. package/primitives/dist/utils/empties.d.ts.map +0 -1
  260. package/primitives/dist/utils/error.d.ts +0 -5
  261. package/primitives/dist/utils/error.d.ts.map +0 -1
  262. package/primitives/dist/utils/errors.d.ts +0 -20
  263. package/primitives/dist/utils/errors.d.ts.map +0 -1
  264. package/primitives/dist/utils/escape.d.ts +0 -5
  265. package/primitives/dist/utils/escape.d.ts.map +0 -1
  266. package/primitives/dist/utils/flatten.d.ts +0 -4
  267. package/primitives/dist/utils/flatten.d.ts.map +0 -1
  268. package/primitives/dist/utils/generateAlphabeticName.d.ts +0 -1
  269. package/primitives/dist/utils/generateAlphabeticName.d.ts.map +0 -1
  270. package/primitives/dist/utils/generateComponentId.d.ts +0 -1
  271. package/primitives/dist/utils/generateComponentId.d.ts.map +0 -1
  272. package/primitives/dist/utils/generateDisplayName.d.ts +0 -2
  273. package/primitives/dist/utils/generateDisplayName.d.ts.map +0 -1
  274. package/primitives/dist/utils/getComponentName.d.ts +0 -2
  275. package/primitives/dist/utils/getComponentName.d.ts.map +0 -1
  276. package/primitives/dist/utils/hash.d.ts +0 -3
  277. package/primitives/dist/utils/hash.d.ts.map +0 -1
  278. package/primitives/dist/utils/hoist.d.ts +0 -51
  279. package/primitives/dist/utils/hoist.d.ts.map +0 -1
  280. package/primitives/dist/utils/hyphenateStyleName.d.ts +0 -14
  281. package/primitives/dist/utils/hyphenateStyleName.d.ts.map +0 -1
  282. package/primitives/dist/utils/interleave.d.ts +0 -2
  283. package/primitives/dist/utils/interleave.d.ts.map +0 -1
  284. package/primitives/dist/utils/isFunction.d.ts +0 -1
  285. package/primitives/dist/utils/isFunction.d.ts.map +0 -1
  286. package/primitives/dist/utils/isPlainObject.d.ts +0 -1
  287. package/primitives/dist/utils/isPlainObject.d.ts.map +0 -1
  288. package/primitives/dist/utils/isStatelessFunction.d.ts +0 -1
  289. package/primitives/dist/utils/isStatelessFunction.d.ts.map +0 -1
  290. package/primitives/dist/utils/isStaticRules.d.ts +0 -2
  291. package/primitives/dist/utils/isStaticRules.d.ts.map +0 -1
  292. package/primitives/dist/utils/isStyledComponent.d.ts +0 -2
  293. package/primitives/dist/utils/isStyledComponent.d.ts.map +0 -1
  294. package/primitives/dist/utils/isTag.d.ts +0 -2
  295. package/primitives/dist/utils/isTag.d.ts.map +0 -1
  296. package/primitives/dist/utils/joinStrings.d.ts +0 -4
  297. package/primitives/dist/utils/joinStrings.d.ts.map +0 -1
  298. package/primitives/dist/utils/mixinDeep.d.ts +0 -7
  299. package/primitives/dist/utils/mixinDeep.d.ts.map +0 -1
  300. package/primitives/dist/utils/nonce.d.ts +0 -1
  301. package/primitives/dist/utils/nonce.d.ts.map +0 -1
  302. package/primitives/dist/utils/stylis.d.ts +0 -9
  303. package/primitives/dist/utils/stylis.d.ts.map +0 -1
@@ -1 +0,0 @@
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"}
@@ -1,41 +0,0 @@
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
@@ -1 +0,0 @@
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,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF,aAAK,yBAAyB,GAAG;IAC/B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,CAAC;AACF,aAAK,kBAAkB,GAAG,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;AAOnD,yEAAyE;AACzE,MAAM,CAAC,OAAO,OAAO,UAAW,YAAW,KAAK;IAC9C,EAAE,EAAE,yBAAyB,CAAC;IAC9B,KAAK,EAAE,kBAAkB,CAAC;IAC1B,OAAO,EAAE,YAAY,CAAC;IACtB,MAAM,EAAE,OAAO,CAAC;IAChB,GAAG,CAAC,EAAE,UAAU,CAAC;IAEjB,8CAA8C;IAC9C,MAAM,CAAC,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM;gBAKnC,OAAO,GAAE,oBAA6C,EACtD,YAAY,GAAE,yBAA8B,EAC5C,KAAK,CAAC,EAAE,kBAAkB;IAkB5B,sBAAsB,CAAC,OAAO,EAAE,oBAAoB,EAAE,SAAS,UAAO;IAQtE,kBAAkB,CAAC,EAAE,EAAE,MAAM;IAI7B,oEAAoE;IACpE,MAAM;IAIN,gDAAgD;IAChD,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO;IAI/C,+CAA+C;IAC/C,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;IAYrC,0DAA0D;IAC1D,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE;IAK9D,mDAAmD;IACnD,UAAU,CAAC,EAAE,EAAE,MAAM;IAMrB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,EAAE,MAAM;IAKrB,sEAAsE;IACtE,QAAQ;IAMR,qEAAqE;IACrE,QAAQ,IAAI,MAAM;CAGnB"}
@@ -1,55 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,5 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- export { default } from './Sheet';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
@@ -1,35 +0,0 @@
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
@@ -1 +0,0 @@
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,OAAO,CAAC;IACjD,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,kDAAkD;AAClD,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,UAAU,EAAE,WAAW,CAAC;IACxB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC;IAC3D,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,GAAG,CAAC;CACV;AAED,oBAAY,YAAY,GAAG;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,iBAAiB,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,WAAW,KAAK;IACpB,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACvC,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,IAAI,IAAI,CAAC;IACjB,MAAM,IAAI,UAAU,CAAC;IACrB,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAChD,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC;IACtE,OAAO,EAAE,YAAY,CAAC;IACtB,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;IAChC,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,QAAQ,IAAI,MAAM,CAAC;CACpB"}
@@ -1,3 +0,0 @@
1
- declare var __SERVER__: boolean;
2
- declare var __VERSION__: string;
3
- //# sourceMappingURL=globals.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,192 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,121 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,cAAc,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,wBAAwB,MAAM,kCAAkC,CAAC;AAExE,UAAU,8BAA8B,CAAC,CAAC,GAAG,OAAO,CAAE,SAAQ,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;IACpF,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,oBAAY,YAAY,CAAC,CAAC,GAAG,GAAG,IAAI,8BAA8B,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;AAE/F,MAAM,WAAW,aAAa,CAAC,KAAK;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE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AC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,GAAG,MAAM,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC;CACxF"}
@@ -1,2 +0,0 @@
1
- export default function addUnitIfNeeded(name: string, value: any): string;
2
- //# sourceMappingURL=addUnitIfNeeded.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- export declare const checkDynamicCreation: (displayName: string, componentId?: string | undefined) => void;
2
- //# sourceMappingURL=checkDynamicCreation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkDynamicCreation.d.ts","sourceRoot":"","sources":["../../src/utils/checkDynamicCreation.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,gBAAiB,MAAM,2CA+CvD,CAAC"}
@@ -1,4 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,3 +0,0 @@
1
- import { ExtensibleObject } from '../types';
2
- export default function determineTheme(props: ExtensibleObject, providedTheme: any, defaultProps?: any): any;
3
- //# sourceMappingURL=determineTheme.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,3 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"domElements.d.ts","sourceRoot":"","sources":["../../src/utils/domElements.ts"],"names":[],"mappings":";AAEA,wBAuIW"}