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,23 +0,0 @@
1
- import reactPrimitives from 'react-primitives';
2
- import { NativeStyled } from '../constructors/constructWithOptions';
3
- import css from '../constructors/css';
4
- import withTheme from '../hoc/withTheme';
5
- import useTheme from '../hooks/useTheme';
6
- import ThemeProvider, { ThemeConsumer, ThemeContext } from '../models/ThemeProvider';
7
- import { NativeTarget } from '../types';
8
- import isStyledComponent from '../utils/isStyledComponent';
9
- declare const styled: (<Target extends NativeTarget>(tag: Target) => {
10
- <Props = unknown, Statics = unknown>(initialStyles: import("../types").Styles<Props>, ...interpolations: import("../types").Interpolation<Props>[]): import("../types").IStyledNativeComponent<Target, Props> & Statics;
11
- attrs(attrs: import("../types").Attrs<unknown>): any;
12
- withConfig(config: import("../types").StyledNativeOptions<unknown>): any;
13
- }) & {
14
- Image: NativeStyled<typeof reactPrimitives.Image, import("react-native").ImageProps, unknown>;
15
- Text: NativeStyled<typeof reactPrimitives.Text, import("react-native").TextProps, unknown>;
16
- Touchable: NativeStyled<import("react").ComponentType<import("react-native").TouchableOpacityProps>, import("react-native").TouchableOpacityProps | (import("react-native").TouchableOpacityProps & {
17
- children?: import("react").ReactNode;
18
- }), unknown>;
19
- View: NativeStyled<typeof reactPrimitives.View, import("react-native").ViewProps, unknown>;
20
- };
21
- export { IStyledNativeComponent, IStyledNativeComponentFactory, IStyledNativeStatics, NativeTarget, StyledNativeOptions } from '../types';
22
- export { css, isStyledComponent, ThemeProvider, ThemeConsumer, ThemeContext, withTheme, useTheme };
23
- export default styled;
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/primitives/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,kBAAkB,CAAC;AAC/C,OAA6B,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,GAAG,MAAM,qBAAqB,CAAC;AACtC,OAAO,SAAS,MAAM,kBAAkB,CAAC;AACzC,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AAGzC,OAAO,aAAa,EAAE,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,iBAAiB,MAAM,4BAA4B,CAAC;AA8B3D,QAAA,MAAM,MAAM;;;;;;;;;;;CAKX,CAAC;AAEF,OAAO,EAAE,GAAG,EAAE,iBAAiB,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;AAEnG,eAAe,MAAM,CAAC"}
@@ -1,5 +0,0 @@
1
- import StyleSheet from './sheet';
2
- export declare const __PRIVATE__: {
3
- StyleSheet: typeof StyleSheet;
4
- mainSheet: StyleSheet;
5
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"secretInternals.d.ts","sourceRoot":"","sources":["src/secretInternals.ts"],"names":[],"mappings":"AAGA,OAAO,UAAU,MAAM,SAAS,CAAC;AAEjC,eAAO,MAAM,WAAW;;;CAGvB,CAAC"}
@@ -1,4 +0,0 @@
1
- export declare const resetGroupIds: () => void;
2
- export declare const getGroupForId: (id: string) => number;
3
- export declare const getIdForGroup: (group: number) => void | string;
4
- export declare const setGroupForId: (id: string, group: number) => void;
@@ -1 +0,0 @@
1
- {"version":3,"file":"GroupIDAllocator.d.ts","sourceRoot":"","sources":["../src/sheet/GroupIDAllocator.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,aAAa,YAIzB,CAAC;AAEF,eAAO,MAAM,aAAa,OAAQ,MAAM,KAAG,MAkB1C,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,MAAM,KAAG,IAAI,GAAG,MAEpD,CAAC;AAEF,eAAO,MAAM,aAAa,OAAQ,MAAM,SAAS,MAAM,SAGtD,CAAC"}
@@ -1,11 +0,0 @@
1
- import { Tag } from './types';
2
- /** Create a GroupedTag with an underlying Tag implementation */
3
- export declare const makeGroupedTag: (tag: Tag) => {
4
- groupSizes: Uint32Array;
5
- length: number;
6
- tag: Tag;
7
- indexOfGroup(group: number): number;
8
- insertRules(group: number, rules: string | string[]): void;
9
- clearGroup(group: number): void;
10
- getGroup(group: number): string;
11
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"GroupedTag.d.ts","sourceRoot":"","sources":["../src/sheet/GroupedTag.ts"],"names":[],"mappings":"AAEA,OAAO,EAAc,GAAG,EAAE,MAAM,SAAS,CAAC;AAE1C,gEAAgE;AAChE,eAAO,MAAM,cAAc,QAAS,GAAG;gBAOzB,WAAW;YACf,MAAM;SACT,GAAG;wBAQY,MAAM;uBASP,MAAM,SAAS,MAAM,GAAG,MAAM,EAAE;sBAsCjC,MAAM;oBAcR,MAAM;CA5EvB,CAAC"}
@@ -1,3 +0,0 @@
1
- import { Sheet } from './types';
2
- export declare const outputSheet: (sheet: Sheet) => string;
3
- export declare const rehydrateSheet: (sheet: Sheet) => void;
@@ -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,40 +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 {};
@@ -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,54 +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
- };
@@ -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,4 +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;
@@ -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 +0,0 @@
1
- export { default } from './Sheet';
@@ -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,34 +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
- }
@@ -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,2 +0,0 @@
1
- declare var __SERVER__: boolean;
2
- declare var __VERSION__: string;
@@ -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,191 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const seedNextClassnames: (names: string[]) => string[];
3
- export declare const resetStyled: (isServer?: boolean) => (<Target extends import("..").WebTarget>(tag: Target) => {
4
- <Props = unknown, Statics = unknown>(initialStyles: import("../types").Styles<Props>, ...interpolations: import("../types").Interpolation<Props>[]): import("..").IStyledComponent<Target, Props> & Statics;
5
- attrs(attrs: import("..").Attrs<unknown>): any;
6
- withConfig(config: import("..").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;
@@ -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 { DefaultTheme };
10
- export declare type AnyComponent<P = any> = ExoticComponentWithDisplayName<P> | React.ComponentType<P>;
11
- export interface StyledOptions<Props> {
12
- attrs?: Attrs<Props>[];
13
- componentId?: string;
14
- displayName?: string;
15
- parentComponentId?: string;
16
- shouldForwardProp?: ShouldForwardProp;
17
- }
18
- export interface StyledNativeOptions<Props> {
19
- attrs?: Attrs<Props>[];
20
- displayName?: string;
21
- shouldForwardProp?: ShouldForwardProp;
22
- }
23
- export declare type KnownWebTarget = keyof JSX.IntrinsicElements | AnyComponent;
24
- export declare type WebTarget = string | KnownWebTarget;
25
- export declare type NativeTarget = AnyComponent;
26
- export interface BaseExtensibleObject {
27
- [key: string]: any;
28
- }
29
- export interface ExtensibleObject extends BaseExtensibleObject {
30
- $as?: KnownWebTarget;
31
- $forwardedAs?: KnownWebTarget;
32
- as?: KnownWebTarget;
33
- forwardedAs?: KnownWebTarget;
34
- theme?: DefaultTheme;
35
- }
36
- export interface ExecutionContext extends ExtensibleObject {
37
- theme: DefaultTheme;
38
- }
39
- export interface StyleFunction<Props> {
40
- (executionContext: ExecutionContext & Props): string | number | StyledObject | CSSConstructor<Props> | StyleFunction<Props>;
41
- }
42
- export declare type Interpolation<Props> = StyleFunction<Props> | StyledObject | string | number | Keyframes | IStyledComponent<any, any> | Interpolation<Props>[];
43
- export declare type Attrs<Props> = (ExtensibleObject & Props) | ((props: ExecutionContext & Props) => ExecutionContext & Props);
44
- export declare type RuleSet<Props> = Interpolation<Props>[];
45
- export declare type Styles<Props> = TemplateStringsArray | StyledObject | StyleFunction<Props>;
46
- export declare type NameGenerator = (hash: number) => string;
47
- export interface CSSConstructor<Props> {
48
- (strings: string[], ...interpolations: Interpolation<Props>[]): RuleSet<Props>;
49
- }
50
- export interface StyleSheet {
51
- create: Function;
52
- }
53
- export interface Keyframes {
54
- id: string;
55
- name: string;
56
- rules: string;
57
- }
58
- export interface Flattener<Props> {
59
- (chunks: Interpolation<Props>[], executionContext: Object | null | undefined, styleSheet: Object | null | undefined): Interpolation<Props>[];
60
- }
61
- export declare type FlattenerResult<Props> = RuleSet<Props> | number | string | string[] | IStyledComponent<any, any> | Keyframes;
62
- export interface Stringifier {
63
- (css: string, selector?: string, prefix?: string, componentId?: string): string;
64
- hash: string;
65
- }
66
- export interface ShouldForwardProp {
67
- (prop: string, isValidAttr: (prop: string) => boolean, elementToBeCreated?: WebTarget | NativeTarget): boolean;
68
- }
69
- export interface CommonStatics<Props> {
70
- attrs: Attrs<Props>[];
71
- target: StyledTarget;
72
- shouldForwardProp?: ShouldForwardProp;
73
- withComponent: any;
74
- }
75
- export interface IStyledStatics<OuterProps = unknown> extends CommonStatics<OuterProps> {
76
- componentStyle: ComponentStyle;
77
- foldedComponentIds: Array<string>;
78
- target: WebTarget;
79
- styledComponentId: string;
80
- warnTooManyClasses?: ReturnType<typeof createWarnTooManyClasses>;
81
- withComponent: <Target extends WebTarget, Props = unknown>(tag: Target) => IStyledComponent<Target, OuterProps & Props>;
82
- }
83
- declare type PolymorphicComponentProps<ActualComponent extends StyledTarget, PropsToBeInjectedIntoActualComponent extends {}, ActualComponentProps = ActualComponent extends KnownWebTarget ? React.ComponentPropsWithRef<ActualComponent> : {}> = React.HTMLAttributes<ActualComponent> & Omit<PropsToBeInjectedIntoActualComponent, keyof ActualComponentProps | 'as' | '$as'> & ActualComponentProps & ({
84
- $as: ActualComponent;
85
- as?: AnyComponent;
86
- } | {
87
- as?: ActualComponent;
88
- });
89
- interface PolymorphicComponent<FallbackComponent extends StyledTarget, ExpectedProps = unknown, PropsToBeInjectedIntoActualComponent = unknown> extends React.ForwardRefExoticComponent<ExpectedProps> {
90
- <ActualComponent extends StyledTarget = FallbackComponent>(props: PolymorphicComponentProps<ActualComponent, ExpectedProps & PropsToBeInjectedIntoActualComponent>): React.ReactElement<PolymorphicComponentProps<ActualComponent, ExecutionContext & ExpectedProps & PropsToBeInjectedIntoActualComponent>, ActualComponent>;
91
- }
92
- export interface IStyledComponent<Target extends WebTarget, Props = unknown> extends PolymorphicComponent<Target, Props, ExecutionContext>, IStyledStatics<Props> {
93
- defaultProps?: Partial<ExtensibleObject & (Target extends KnownWebTarget ? React.ComponentProps<Target> : {}) & Props>;
94
- toString: () => string;
95
- }
96
- export interface IStyledComponentFactory<Target extends WebTarget, Props = unknown, Statics = unknown> {
97
- (target: Target, options: StyledOptions<Props>, rules: RuleSet<Props>): IStyledComponent<Target, Props> & Statics;
98
- }
99
- export interface IStyledNativeStatics<OuterProps = unknown> extends CommonStatics<OuterProps> {
100
- inlineStyle: InstanceType<IInlineStyleConstructor<OuterProps>>;
101
- target: NativeTarget;
102
- withComponent: <Target extends NativeTarget, Props = unknown>(tag: Target) => IStyledNativeComponent<Target, OuterProps & Props>;
103
- }
104
- export interface IStyledNativeComponent<Target extends NativeTarget, Props = unknown> extends PolymorphicComponent<Target, Props, ExecutionContext>, IStyledNativeStatics<Props> {
105
- defaultProps?: Partial<ExtensibleObject & (Target extends KnownWebTarget ? React.ComponentProps<Target> : {}) & Props>;
106
- }
107
- export interface IStyledNativeComponentFactory<Target extends NativeTarget, Props = unknown, Statics = unknown> {
108
- (target: Target, options: StyledNativeOptions<Props>, rules: RuleSet<Props>): IStyledNativeComponent<Target, Props> & Statics;
109
- }
110
- export interface IInlineStyleConstructor<Props = unknown> {
111
- new (rules: RuleSet<Props>): IInlineStyle<Props>;
112
- }
113
- export interface IInlineStyle<Props = unknown> {
114
- rules: RuleSet<Props>;
115
- generateStyleObject(executionContext: Object): Object;
116
- }
117
- export declare type StyledTarget = WebTarget | NativeTarget;
118
- export interface StyledObject {
119
- [key: string]: Record<string, any> | string | number | StyleFunction<ExecutionContext>;
120
- }
121
- export declare type CSSProp = string | StyledObject | StyleFunction<ExecutionContext>;