styled-components 6.0.0-rc.3 → 6.0.0-rc.5

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 (57) hide show
  1. package/dist/constructors/constructWithOptions.d.ts +16 -42
  2. package/dist/constructors/css.d.ts +2 -2
  3. package/dist/constructors/keyframes.d.ts +1 -1
  4. package/dist/constructors/styled.d.ts +524 -6
  5. package/dist/hoc/withTheme.d.ts +1 -1
  6. package/dist/index.d.ts +1 -1
  7. package/dist/models/Keyframes.d.ts +0 -1
  8. package/dist/models/ServerStyleSheet.d.ts +2 -1
  9. package/dist/models/StyledComponent.d.ts +2 -2
  10. package/dist/models/StyledNativeComponent.d.ts +2 -2
  11. package/dist/models/ThemeProvider.d.ts +8 -1
  12. package/dist/native/index.d.ts +28 -29
  13. package/dist/sheet/Sheet.d.ts +0 -2
  14. package/dist/styled-components.browser.cjs.js +1 -1
  15. package/dist/styled-components.browser.cjs.js.map +1 -1
  16. package/dist/styled-components.browser.esm.js +1 -1
  17. package/dist/styled-components.browser.esm.js.map +1 -1
  18. package/dist/styled-components.cjs.js +1 -1
  19. package/dist/styled-components.cjs.js.map +1 -1
  20. package/dist/styled-components.esm.js +1 -1
  21. package/dist/styled-components.esm.js.map +1 -1
  22. package/dist/styled-components.js +93 -38
  23. package/dist/styled-components.js.map +1 -1
  24. package/dist/styled-components.min.js +1 -1
  25. package/dist/styled-components.min.js.map +1 -1
  26. package/dist/test/utils.d.ts +523 -179
  27. package/dist/types.d.ts +48 -54
  28. package/dist/utils/errors.d.ts +1 -0
  29. package/dist/utils/isStyledComponent.d.ts +2 -2
  30. package/dist/utils/joinStrings.d.ts +1 -1
  31. package/dist/utils/setToString.d.ts +17 -0
  32. package/native/dist/constructors/constructWithOptions.d.ts +16 -42
  33. package/native/dist/constructors/css.d.ts +2 -2
  34. package/native/dist/constructors/keyframes.d.ts +1 -1
  35. package/native/dist/constructors/styled.d.ts +524 -6
  36. package/native/dist/hoc/withTheme.d.ts +1 -1
  37. package/native/dist/index.d.ts +1 -1
  38. package/native/dist/models/Keyframes.d.ts +0 -1
  39. package/native/dist/models/ServerStyleSheet.d.ts +2 -1
  40. package/native/dist/models/StyledComponent.d.ts +2 -2
  41. package/native/dist/models/StyledNativeComponent.d.ts +2 -2
  42. package/native/dist/models/ThemeProvider.d.ts +8 -1
  43. package/native/dist/native/index.d.ts +28 -29
  44. package/native/dist/sheet/Sheet.d.ts +0 -2
  45. package/native/dist/styled-components.native.cjs.js +1 -1
  46. package/native/dist/styled-components.native.cjs.js.map +1 -1
  47. package/native/dist/styled-components.native.esm.js +1 -1
  48. package/native/dist/styled-components.native.esm.js.map +1 -1
  49. package/native/dist/test/utils.d.ts +523 -179
  50. package/native/dist/types.d.ts +48 -54
  51. package/native/dist/utils/errors.d.ts +1 -0
  52. package/native/dist/utils/isStyledComponent.d.ts +2 -2
  53. package/native/dist/utils/joinStrings.d.ts +1 -1
  54. package/native/dist/utils/setToString.d.ts +17 -0
  55. package/package.json +8 -3
  56. package/test-utils/index.ts +3 -6
  57. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1,9 +1,527 @@
1
- import { AnyStyledComponent, StyledComponentInnerAttrs, StyledComponentInnerComponent, StyledComponentInnerOtherProps, WebTarget } from '../types';
1
+ /// <reference types="react" />
2
+ import { WebTarget } from '../types';
2
3
  import { Styled } from './constructWithOptions';
3
- declare function createStyle<Target extends AnyStyledComponent<'web'>>(tag: Target): Styled<'web', StyledComponentInnerComponent<'web', Target>, StyledComponentInnerOtherProps<'web', Target>, StyledComponentInnerAttrs<'web', Target>>;
4
- declare function createStyle<Target extends WebTarget>(tag: Target): Styled<'web', Target, {}>;
5
- type WebStyledStatic = typeof createStyle & {
6
- [E in keyof JSX.IntrinsicElements]: Styled<'web', E, {}>;
4
+ declare const styled: (<Target extends WebTarget>(tag: Target) => Styled<"web", Target, Target extends import("../types").KnownTarget ? import("react").ComponentPropsWithRef<Target> : import("../types").BaseObject, import("../types").BaseObject>) & {
5
+ a: Styled<"web", "a", Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
6
+ ref?: ((instance: HTMLAnchorElement | null) => void) | import("react").RefObject<HTMLAnchorElement> | null | undefined;
7
+ }, import("../types").BaseObject>;
8
+ abbr: Styled<"web", "abbr", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
9
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
10
+ }, import("../types").BaseObject>;
11
+ address: Styled<"web", "address", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
12
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
13
+ }, import("../types").BaseObject>;
14
+ area: Styled<"web", "area", Omit<import("react").DetailedHTMLProps<import("react").AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>, "ref"> & {
15
+ ref?: ((instance: HTMLAreaElement | null) => void) | import("react").RefObject<HTMLAreaElement> | null | undefined;
16
+ }, import("../types").BaseObject>;
17
+ article: Styled<"web", "article", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
18
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
19
+ }, import("../types").BaseObject>;
20
+ aside: Styled<"web", "aside", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
21
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
22
+ }, import("../types").BaseObject>;
23
+ audio: Styled<"web", "audio", Omit<import("react").DetailedHTMLProps<import("react").AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "ref"> & {
24
+ ref?: ((instance: HTMLAudioElement | null) => void) | import("react").RefObject<HTMLAudioElement> | null | undefined;
25
+ }, import("../types").BaseObject>;
26
+ b: Styled<"web", "b", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
27
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
28
+ }, import("../types").BaseObject>;
29
+ base: Styled<"web", "base", Omit<import("react").DetailedHTMLProps<import("react").BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>, "ref"> & {
30
+ ref?: ((instance: HTMLBaseElement | null) => void) | import("react").RefObject<HTMLBaseElement> | null | undefined;
31
+ }, import("../types").BaseObject>;
32
+ bdi: Styled<"web", "bdi", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
33
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
34
+ }, import("../types").BaseObject>;
35
+ bdo: Styled<"web", "bdo", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
36
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
37
+ }, import("../types").BaseObject>;
38
+ big: Styled<"web", "big", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
39
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
40
+ }, import("../types").BaseObject>;
41
+ blockquote: Styled<"web", "blockquote", Omit<import("react").DetailedHTMLProps<import("react").BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, "ref"> & {
42
+ ref?: ((instance: HTMLQuoteElement | null) => void) | import("react").RefObject<HTMLQuoteElement> | null | undefined;
43
+ }, import("../types").BaseObject>;
44
+ body: Styled<"web", "body", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>, "ref"> & {
45
+ ref?: ((instance: HTMLBodyElement | null) => void) | import("react").RefObject<HTMLBodyElement> | null | undefined;
46
+ }, import("../types").BaseObject>;
47
+ br: Styled<"web", "br", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLBRElement>, HTMLBRElement>, "ref"> & {
48
+ ref?: ((instance: HTMLBRElement | null) => void) | import("react").RefObject<HTMLBRElement> | null | undefined;
49
+ }, import("../types").BaseObject>;
50
+ button: Styled<"web", "button", Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
51
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
52
+ }, import("../types").BaseObject>;
53
+ canvas: Styled<"web", "canvas", Omit<import("react").DetailedHTMLProps<import("react").CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>, "ref"> & {
54
+ ref?: ((instance: HTMLCanvasElement | null) => void) | import("react").RefObject<HTMLCanvasElement> | null | undefined;
55
+ }, import("../types").BaseObject>;
56
+ caption: Styled<"web", "caption", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
57
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
58
+ }, import("../types").BaseObject>;
59
+ cite: Styled<"web", "cite", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
60
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
61
+ }, import("../types").BaseObject>;
62
+ code: Styled<"web", "code", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
63
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
64
+ }, import("../types").BaseObject>;
65
+ col: Styled<"web", "col", Omit<import("react").DetailedHTMLProps<import("react").ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, "ref"> & {
66
+ ref?: ((instance: HTMLTableColElement | null) => void) | import("react").RefObject<HTMLTableColElement> | null | undefined;
67
+ }, import("../types").BaseObject>;
68
+ colgroup: Styled<"web", "colgroup", Omit<import("react").DetailedHTMLProps<import("react").ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, "ref"> & {
69
+ ref?: ((instance: HTMLTableColElement | null) => void) | import("react").RefObject<HTMLTableColElement> | null | undefined;
70
+ }, import("../types").BaseObject>;
71
+ data: Styled<"web", "data", Omit<import("react").DetailedHTMLProps<import("react").DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>, "ref"> & {
72
+ ref?: ((instance: HTMLDataElement | null) => void) | import("react").RefObject<HTMLDataElement> | null | undefined;
73
+ }, import("../types").BaseObject>;
74
+ datalist: Styled<"web", "datalist", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>, "ref"> & {
75
+ ref?: ((instance: HTMLDataListElement | null) => void) | import("react").RefObject<HTMLDataListElement> | null | undefined;
76
+ }, import("../types").BaseObject>;
77
+ dd: Styled<"web", "dd", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
78
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
79
+ }, import("../types").BaseObject>;
80
+ del: Styled<"web", "del", Omit<import("react").DetailedHTMLProps<import("react").DelHTMLAttributes<HTMLModElement>, HTMLModElement>, "ref"> & {
81
+ ref?: ((instance: HTMLModElement | null) => void) | import("react").RefObject<HTMLModElement> | null | undefined;
82
+ }, import("../types").BaseObject>;
83
+ details: Styled<"web", "details", Omit<import("react").DetailedHTMLProps<import("react").DetailsHTMLAttributes<HTMLDetailsElement>, HTMLDetailsElement>, "ref"> & {
84
+ ref?: ((instance: HTMLDetailsElement | null) => void) | import("react").RefObject<HTMLDetailsElement> | null | undefined;
85
+ }, import("../types").BaseObject>;
86
+ dfn: Styled<"web", "dfn", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
87
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
88
+ }, import("../types").BaseObject>;
89
+ dialog: Styled<"web", "dialog", Omit<import("react").DetailedHTMLProps<import("react").DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>, "ref"> & {
90
+ ref?: ((instance: HTMLDialogElement | null) => void) | import("react").RefObject<HTMLDialogElement> | null | undefined;
91
+ }, import("../types").BaseObject>;
92
+ div: Styled<"web", "div", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
93
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
94
+ }, import("../types").BaseObject>;
95
+ dl: Styled<"web", "dl", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDListElement>, HTMLDListElement>, "ref"> & {
96
+ ref?: ((instance: HTMLDListElement | null) => void) | import("react").RefObject<HTMLDListElement> | null | undefined;
97
+ }, import("../types").BaseObject>;
98
+ dt: Styled<"web", "dt", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
99
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
100
+ }, import("../types").BaseObject>;
101
+ em: Styled<"web", "em", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
102
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
103
+ }, import("../types").BaseObject>;
104
+ embed: Styled<"web", "embed", Omit<import("react").DetailedHTMLProps<import("react").EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>, "ref"> & {
105
+ ref?: ((instance: HTMLEmbedElement | null) => void) | import("react").RefObject<HTMLEmbedElement> | null | undefined;
106
+ }, import("../types").BaseObject>;
107
+ fieldset: Styled<"web", "fieldset", Omit<import("react").DetailedHTMLProps<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, "ref"> & {
108
+ ref?: ((instance: HTMLFieldSetElement | null) => void) | import("react").RefObject<HTMLFieldSetElement> | null | undefined;
109
+ }, import("../types").BaseObject>;
110
+ figcaption: Styled<"web", "figcaption", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
111
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
112
+ }, import("../types").BaseObject>;
113
+ figure: Styled<"web", "figure", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
114
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
115
+ }, import("../types").BaseObject>;
116
+ footer: Styled<"web", "footer", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
117
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
118
+ }, import("../types").BaseObject>;
119
+ form: Styled<"web", "form", Omit<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & {
120
+ ref?: ((instance: HTMLFormElement | null) => void) | import("react").RefObject<HTMLFormElement> | null | undefined;
121
+ }, import("../types").BaseObject>;
122
+ h1: Styled<"web", "h1", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
123
+ ref?: ((instance: HTMLHeadingElement | null) => void) | import("react").RefObject<HTMLHeadingElement> | null | undefined;
124
+ }, import("../types").BaseObject>;
125
+ h2: Styled<"web", "h2", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
126
+ ref?: ((instance: HTMLHeadingElement | null) => void) | import("react").RefObject<HTMLHeadingElement> | null | undefined;
127
+ }, import("../types").BaseObject>;
128
+ h3: Styled<"web", "h3", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
129
+ ref?: ((instance: HTMLHeadingElement | null) => void) | import("react").RefObject<HTMLHeadingElement> | null | undefined;
130
+ }, import("../types").BaseObject>;
131
+ h4: Styled<"web", "h4", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
132
+ ref?: ((instance: HTMLHeadingElement | null) => void) | import("react").RefObject<HTMLHeadingElement> | null | undefined;
133
+ }, import("../types").BaseObject>;
134
+ h5: Styled<"web", "h5", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
135
+ ref?: ((instance: HTMLHeadingElement | null) => void) | import("react").RefObject<HTMLHeadingElement> | null | undefined;
136
+ }, import("../types").BaseObject>;
137
+ h6: Styled<"web", "h6", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
138
+ ref?: ((instance: HTMLHeadingElement | null) => void) | import("react").RefObject<HTMLHeadingElement> | null | undefined;
139
+ }, import("../types").BaseObject>;
140
+ head: Styled<"web", "head", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>, "ref"> & {
141
+ ref?: ((instance: HTMLHeadElement | null) => void) | import("react").RefObject<HTMLHeadElement> | null | undefined;
142
+ }, import("../types").BaseObject>;
143
+ header: Styled<"web", "header", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
144
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
145
+ }, import("../types").BaseObject>;
146
+ hgroup: Styled<"web", "hgroup", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
147
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
148
+ }, import("../types").BaseObject>;
149
+ hr: Styled<"web", "hr", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
150
+ ref?: ((instance: HTMLHRElement | null) => void) | import("react").RefObject<HTMLHRElement> | null | undefined;
151
+ }, import("../types").BaseObject>;
152
+ html: Styled<"web", "html", Omit<import("react").DetailedHTMLProps<import("react").HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>, "ref"> & {
153
+ ref?: ((instance: HTMLHtmlElement | null) => void) | import("react").RefObject<HTMLHtmlElement> | null | undefined;
154
+ }, import("../types").BaseObject>;
155
+ i: Styled<"web", "i", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
156
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
157
+ }, import("../types").BaseObject>;
158
+ iframe: Styled<"web", "iframe", Omit<import("react").DetailedHTMLProps<import("react").IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>, "ref"> & {
159
+ ref?: ((instance: HTMLIFrameElement | null) => void) | import("react").RefObject<HTMLIFrameElement> | null | undefined;
160
+ }, import("../types").BaseObject>;
161
+ img: Styled<"web", "img", Omit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
162
+ ref?: ((instance: HTMLImageElement | null) => void) | import("react").RefObject<HTMLImageElement> | null | undefined;
163
+ }, import("../types").BaseObject>;
164
+ input: Styled<"web", "input", Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
165
+ ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
166
+ }, import("../types").BaseObject>;
167
+ ins: Styled<"web", "ins", Omit<import("react").DetailedHTMLProps<import("react").InsHTMLAttributes<HTMLModElement>, HTMLModElement>, "ref"> & {
168
+ ref?: ((instance: HTMLModElement | null) => void) | import("react").RefObject<HTMLModElement> | null | undefined;
169
+ }, import("../types").BaseObject>;
170
+ kbd: Styled<"web", "kbd", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
171
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
172
+ }, import("../types").BaseObject>;
173
+ keygen: Styled<"web", "keygen", Omit<import("react").DetailedHTMLProps<import("react").KeygenHTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
174
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
175
+ }, import("../types").BaseObject>;
176
+ label: Styled<"web", "label", Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
177
+ ref?: ((instance: HTMLLabelElement | null) => void) | import("react").RefObject<HTMLLabelElement> | null | undefined;
178
+ }, import("../types").BaseObject>;
179
+ legend: Styled<"web", "legend", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>, "ref"> & {
180
+ ref?: ((instance: HTMLLegendElement | null) => void) | import("react").RefObject<HTMLLegendElement> | null | undefined;
181
+ }, import("../types").BaseObject>;
182
+ li: Styled<"web", "li", Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
183
+ ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
184
+ }, import("../types").BaseObject>;
185
+ link: Styled<"web", "link", Omit<import("react").DetailedHTMLProps<import("react").LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>, "ref"> & {
186
+ ref?: ((instance: HTMLLinkElement | null) => void) | import("react").RefObject<HTMLLinkElement> | null | undefined;
187
+ }, import("../types").BaseObject>;
188
+ main: Styled<"web", "main", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
189
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
190
+ }, import("../types").BaseObject>;
191
+ map: Styled<"web", "map", Omit<import("react").DetailedHTMLProps<import("react").MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>, "ref"> & {
192
+ ref?: ((instance: HTMLMapElement | null) => void) | import("react").RefObject<HTMLMapElement> | null | undefined;
193
+ }, import("../types").BaseObject>;
194
+ mark: Styled<"web", "mark", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
195
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
196
+ }, import("../types").BaseObject>;
197
+ menu: Styled<"web", "menu", Omit<import("react").DetailedHTMLProps<import("react").MenuHTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
198
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
199
+ }, import("../types").BaseObject>;
200
+ menuitem: Styled<"web", "menuitem", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
201
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
202
+ }, import("../types").BaseObject>;
203
+ meta: Styled<"web", "meta", Omit<import("react").DetailedHTMLProps<import("react").MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>, "ref"> & {
204
+ ref?: ((instance: HTMLMetaElement | null) => void) | import("react").RefObject<HTMLMetaElement> | null | undefined;
205
+ }, import("../types").BaseObject>;
206
+ meter: Styled<"web", "meter", Omit<import("react").DetailedHTMLProps<import("react").MeterHTMLAttributes<HTMLMeterElement>, HTMLMeterElement>, "ref"> & {
207
+ ref?: ((instance: HTMLMeterElement | null) => void) | import("react").RefObject<HTMLMeterElement> | null | undefined;
208
+ }, import("../types").BaseObject>;
209
+ nav: Styled<"web", "nav", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
210
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
211
+ }, import("../types").BaseObject>;
212
+ noindex: Styled<"web", "noindex", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
213
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
214
+ }, import("../types").BaseObject>;
215
+ noscript: Styled<"web", "noscript", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
216
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
217
+ }, import("../types").BaseObject>;
218
+ object: Styled<"web", "object", import("../types").BaseObject, import("../types").BaseObject>;
219
+ ol: Styled<"web", "ol", Omit<import("react").DetailedHTMLProps<import("react").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & {
220
+ ref?: ((instance: HTMLOListElement | null) => void) | import("react").RefObject<HTMLOListElement> | null | undefined;
221
+ }, import("../types").BaseObject>;
222
+ optgroup: Styled<"web", "optgroup", Omit<import("react").DetailedHTMLProps<import("react").OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>, "ref"> & {
223
+ ref?: ((instance: HTMLOptGroupElement | null) => void) | import("react").RefObject<HTMLOptGroupElement> | null | undefined;
224
+ }, import("../types").BaseObject>;
225
+ option: Styled<"web", "option", Omit<import("react").DetailedHTMLProps<import("react").OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>, "ref"> & {
226
+ ref?: ((instance: HTMLOptionElement | null) => void) | import("react").RefObject<HTMLOptionElement> | null | undefined;
227
+ }, import("../types").BaseObject>;
228
+ output: Styled<"web", "output", Omit<import("react").DetailedHTMLProps<import("react").OutputHTMLAttributes<HTMLOutputElement>, HTMLOutputElement>, "ref"> & {
229
+ ref?: ((instance: HTMLOutputElement | null) => void) | import("react").RefObject<HTMLOutputElement> | null | undefined;
230
+ }, import("../types").BaseObject>;
231
+ p: Styled<"web", "p", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
232
+ ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
233
+ }, import("../types").BaseObject>;
234
+ param: Styled<"web", "param", Omit<import("react").DetailedHTMLProps<import("react").ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>, "ref"> & {
235
+ ref?: ((instance: HTMLParamElement | null) => void) | import("react").RefObject<HTMLParamElement> | null | undefined;
236
+ }, import("../types").BaseObject>;
237
+ picture: Styled<"web", "picture", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
238
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
239
+ }, import("../types").BaseObject>;
240
+ pre: Styled<"web", "pre", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLPreElement>, HTMLPreElement>, "ref"> & {
241
+ ref?: ((instance: HTMLPreElement | null) => void) | import("react").RefObject<HTMLPreElement> | null | undefined;
242
+ }, import("../types").BaseObject>;
243
+ progress: Styled<"web", "progress", Omit<import("react").DetailedHTMLProps<import("react").ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>, "ref"> & {
244
+ ref?: ((instance: HTMLProgressElement | null) => void) | import("react").RefObject<HTMLProgressElement> | null | undefined;
245
+ }, import("../types").BaseObject>;
246
+ q: Styled<"web", "q", Omit<import("react").DetailedHTMLProps<import("react").QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, "ref"> & {
247
+ ref?: ((instance: HTMLQuoteElement | null) => void) | import("react").RefObject<HTMLQuoteElement> | null | undefined;
248
+ }, import("../types").BaseObject>;
249
+ rp: Styled<"web", "rp", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
250
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
251
+ }, import("../types").BaseObject>;
252
+ rt: Styled<"web", "rt", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
253
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
254
+ }, import("../types").BaseObject>;
255
+ ruby: Styled<"web", "ruby", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
256
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
257
+ }, import("../types").BaseObject>;
258
+ s: Styled<"web", "s", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
259
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
260
+ }, import("../types").BaseObject>;
261
+ samp: Styled<"web", "samp", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
262
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
263
+ }, import("../types").BaseObject>;
264
+ slot: Styled<"web", "slot", Omit<import("react").DetailedHTMLProps<import("react").SlotHTMLAttributes<HTMLSlotElement>, HTMLSlotElement>, "ref"> & {
265
+ ref?: ((instance: HTMLSlotElement | null) => void) | import("react").RefObject<HTMLSlotElement> | null | undefined;
266
+ }, import("../types").BaseObject>;
267
+ script: Styled<"web", "script", Omit<import("react").DetailedHTMLProps<import("react").ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>, "ref"> & {
268
+ ref?: ((instance: HTMLScriptElement | null) => void) | import("react").RefObject<HTMLScriptElement> | null | undefined;
269
+ }, import("../types").BaseObject>;
270
+ section: Styled<"web", "section", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
271
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
272
+ }, import("../types").BaseObject>;
273
+ select: Styled<"web", "select", Omit<import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref"> & {
274
+ ref?: ((instance: HTMLSelectElement | null) => void) | import("react").RefObject<HTMLSelectElement> | null | undefined;
275
+ }, import("../types").BaseObject>;
276
+ small: Styled<"web", "small", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
277
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
278
+ }, import("../types").BaseObject>;
279
+ source: Styled<"web", "source", Omit<import("react").DetailedHTMLProps<import("react").SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>, "ref"> & {
280
+ ref?: ((instance: HTMLSourceElement | null) => void) | import("react").RefObject<HTMLSourceElement> | null | undefined;
281
+ }, import("../types").BaseObject>;
282
+ span: Styled<"web", "span", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
283
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
284
+ }, import("../types").BaseObject>;
285
+ strong: Styled<"web", "strong", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
286
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
287
+ }, import("../types").BaseObject>;
288
+ style: Styled<"web", "style", Omit<import("react").DetailedHTMLProps<import("react").StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>, "ref"> & {
289
+ ref?: ((instance: HTMLStyleElement | null) => void) | import("react").RefObject<HTMLStyleElement> | null | undefined;
290
+ }, import("../types").BaseObject>;
291
+ sub: Styled<"web", "sub", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
292
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
293
+ }, import("../types").BaseObject>;
294
+ summary: Styled<"web", "summary", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
295
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
296
+ }, import("../types").BaseObject>;
297
+ sup: Styled<"web", "sup", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
298
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
299
+ }, import("../types").BaseObject>;
300
+ table: Styled<"web", "table", Omit<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & {
301
+ ref?: ((instance: HTMLTableElement | null) => void) | import("react").RefObject<HTMLTableElement> | null | undefined;
302
+ }, import("../types").BaseObject>;
303
+ template: Styled<"web", "template", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>, "ref"> & {
304
+ ref?: ((instance: HTMLTemplateElement | null) => void) | import("react").RefObject<HTMLTemplateElement> | null | undefined;
305
+ }, import("../types").BaseObject>;
306
+ tbody: Styled<"web", "tbody", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & {
307
+ ref?: ((instance: HTMLTableSectionElement | null) => void) | import("react").RefObject<HTMLTableSectionElement> | null | undefined;
308
+ }, import("../types").BaseObject>;
309
+ td: Styled<"web", "td", Omit<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & {
310
+ ref?: ((instance: HTMLTableDataCellElement | null) => void) | import("react").RefObject<HTMLTableDataCellElement> | null | undefined;
311
+ }, import("../types").BaseObject>;
312
+ textarea: Styled<"web", "textarea", Omit<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & {
313
+ ref?: ((instance: HTMLTextAreaElement | null) => void) | import("react").RefObject<HTMLTextAreaElement> | null | undefined;
314
+ }, import("../types").BaseObject>;
315
+ tfoot: Styled<"web", "tfoot", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & {
316
+ ref?: ((instance: HTMLTableSectionElement | null) => void) | import("react").RefObject<HTMLTableSectionElement> | null | undefined;
317
+ }, import("../types").BaseObject>;
318
+ th: Styled<"web", "th", Omit<import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & {
319
+ ref?: ((instance: HTMLTableHeaderCellElement | null) => void) | import("react").RefObject<HTMLTableHeaderCellElement> | null | undefined;
320
+ }, import("../types").BaseObject>;
321
+ thead: Styled<"web", "thead", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & {
322
+ ref?: ((instance: HTMLTableSectionElement | null) => void) | import("react").RefObject<HTMLTableSectionElement> | null | undefined;
323
+ }, import("../types").BaseObject>;
324
+ time: Styled<"web", "time", Omit<import("react").DetailedHTMLProps<import("react").TimeHTMLAttributes<HTMLTimeElement>, HTMLTimeElement>, "ref"> & {
325
+ ref?: ((instance: HTMLTimeElement | null) => void) | import("react").RefObject<HTMLTimeElement> | null | undefined;
326
+ }, import("../types").BaseObject>;
327
+ title: Styled<"web", "title", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>, "ref"> & {
328
+ ref?: ((instance: HTMLTitleElement | null) => void) | import("react").RefObject<HTMLTitleElement> | null | undefined;
329
+ }, import("../types").BaseObject>;
330
+ tr: Styled<"web", "tr", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & {
331
+ ref?: ((instance: HTMLTableRowElement | null) => void) | import("react").RefObject<HTMLTableRowElement> | null | undefined;
332
+ }, import("../types").BaseObject>;
333
+ track: Styled<"web", "track", Omit<import("react").DetailedHTMLProps<import("react").TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>, "ref"> & {
334
+ ref?: ((instance: HTMLTrackElement | null) => void) | import("react").RefObject<HTMLTrackElement> | null | undefined;
335
+ }, import("../types").BaseObject>;
336
+ u: Styled<"web", "u", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
337
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
338
+ }, import("../types").BaseObject>;
339
+ ul: Styled<"web", "ul", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
340
+ ref?: ((instance: HTMLUListElement | null) => void) | import("react").RefObject<HTMLUListElement> | null | undefined;
341
+ }, import("../types").BaseObject>;
342
+ var: Styled<"web", "var", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
343
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
344
+ }, import("../types").BaseObject>;
345
+ video: Styled<"web", "video", Omit<import("react").DetailedHTMLProps<import("react").VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, "ref"> & {
346
+ ref?: ((instance: HTMLVideoElement | null) => void) | import("react").RefObject<HTMLVideoElement> | null | undefined;
347
+ }, import("../types").BaseObject>;
348
+ wbr: Styled<"web", "wbr", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
349
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
350
+ }, import("../types").BaseObject>;
351
+ webview: Styled<"web", "webview", Omit<import("react").DetailedHTMLProps<import("react").WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>, "ref"> & {
352
+ ref?: ((instance: HTMLWebViewElement | null) => void) | import("react").RefObject<HTMLWebViewElement> | null | undefined;
353
+ }, import("../types").BaseObject>;
354
+ svg: Styled<"web", "svg", Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
355
+ ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
356
+ }, import("../types").BaseObject>;
357
+ animate: Styled<"web", "animate", Omit<import("react").SVGProps<SVGElement>, "ref"> & {
358
+ ref?: ((instance: SVGElement | null) => void) | import("react").RefObject<SVGElement> | null | undefined;
359
+ }, import("../types").BaseObject>;
360
+ animateMotion: Styled<"web", "animateMotion", Omit<import("react").SVGProps<SVGElement>, "ref"> & {
361
+ ref?: ((instance: SVGElement | null) => void) | import("react").RefObject<SVGElement> | null | undefined;
362
+ }, import("../types").BaseObject>;
363
+ animateTransform: Styled<"web", "animateTransform", Omit<import("react").SVGProps<SVGElement>, "ref"> & {
364
+ ref?: ((instance: SVGElement | null) => void) | import("react").RefObject<SVGElement> | null | undefined;
365
+ }, import("../types").BaseObject>;
366
+ circle: Styled<"web", "circle", Omit<import("react").SVGProps<SVGCircleElement>, "ref"> & {
367
+ ref?: ((instance: SVGCircleElement | null) => void) | import("react").RefObject<SVGCircleElement> | null | undefined;
368
+ }, import("../types").BaseObject>;
369
+ clipPath: Styled<"web", "clipPath", Omit<import("react").SVGProps<SVGClipPathElement>, "ref"> & {
370
+ ref?: ((instance: SVGClipPathElement | null) => void) | import("react").RefObject<SVGClipPathElement> | null | undefined;
371
+ }, import("../types").BaseObject>;
372
+ defs: Styled<"web", "defs", Omit<import("react").SVGProps<SVGDefsElement>, "ref"> & {
373
+ ref?: ((instance: SVGDefsElement | null) => void) | import("react").RefObject<SVGDefsElement> | null | undefined;
374
+ }, import("../types").BaseObject>;
375
+ desc: Styled<"web", "desc", Omit<import("react").SVGProps<SVGDescElement>, "ref"> & {
376
+ ref?: ((instance: SVGDescElement | null) => void) | import("react").RefObject<SVGDescElement> | null | undefined;
377
+ }, import("../types").BaseObject>;
378
+ ellipse: Styled<"web", "ellipse", Omit<import("react").SVGProps<SVGEllipseElement>, "ref"> & {
379
+ ref?: ((instance: SVGEllipseElement | null) => void) | import("react").RefObject<SVGEllipseElement> | null | undefined;
380
+ }, import("../types").BaseObject>;
381
+ feBlend: Styled<"web", "feBlend", Omit<import("react").SVGProps<SVGFEBlendElement>, "ref"> & {
382
+ ref?: ((instance: SVGFEBlendElement | null) => void) | import("react").RefObject<SVGFEBlendElement> | null | undefined;
383
+ }, import("../types").BaseObject>;
384
+ feColorMatrix: Styled<"web", "feColorMatrix", Omit<import("react").SVGProps<SVGFEColorMatrixElement>, "ref"> & {
385
+ ref?: ((instance: SVGFEColorMatrixElement | null) => void) | import("react").RefObject<SVGFEColorMatrixElement> | null | undefined;
386
+ }, import("../types").BaseObject>;
387
+ feComponentTransfer: Styled<"web", "feComponentTransfer", Omit<import("react").SVGProps<SVGFEComponentTransferElement>, "ref"> & {
388
+ ref?: ((instance: SVGFEComponentTransferElement | null) => void) | import("react").RefObject<SVGFEComponentTransferElement> | null | undefined;
389
+ }, import("../types").BaseObject>;
390
+ feComposite: Styled<"web", "feComposite", Omit<import("react").SVGProps<SVGFECompositeElement>, "ref"> & {
391
+ ref?: ((instance: SVGFECompositeElement | null) => void) | import("react").RefObject<SVGFECompositeElement> | null | undefined;
392
+ }, import("../types").BaseObject>;
393
+ feConvolveMatrix: Styled<"web", "feConvolveMatrix", Omit<import("react").SVGProps<SVGFEConvolveMatrixElement>, "ref"> & {
394
+ ref?: ((instance: SVGFEConvolveMatrixElement | null) => void) | import("react").RefObject<SVGFEConvolveMatrixElement> | null | undefined;
395
+ }, import("../types").BaseObject>;
396
+ feDiffuseLighting: Styled<"web", "feDiffuseLighting", Omit<import("react").SVGProps<SVGFEDiffuseLightingElement>, "ref"> & {
397
+ ref?: ((instance: SVGFEDiffuseLightingElement | null) => void) | import("react").RefObject<SVGFEDiffuseLightingElement> | null | undefined;
398
+ }, import("../types").BaseObject>;
399
+ feDisplacementMap: Styled<"web", "feDisplacementMap", Omit<import("react").SVGProps<SVGFEDisplacementMapElement>, "ref"> & {
400
+ ref?: ((instance: SVGFEDisplacementMapElement | null) => void) | import("react").RefObject<SVGFEDisplacementMapElement> | null | undefined;
401
+ }, import("../types").BaseObject>;
402
+ feDistantLight: Styled<"web", "feDistantLight", Omit<import("react").SVGProps<SVGFEDistantLightElement>, "ref"> & {
403
+ ref?: ((instance: SVGFEDistantLightElement | null) => void) | import("react").RefObject<SVGFEDistantLightElement> | null | undefined;
404
+ }, import("../types").BaseObject>;
405
+ feDropShadow: Styled<"web", "feDropShadow", Omit<import("react").SVGProps<SVGFEDropShadowElement>, "ref"> & {
406
+ ref?: ((instance: SVGFEDropShadowElement | null) => void) | import("react").RefObject<SVGFEDropShadowElement> | null | undefined;
407
+ }, import("../types").BaseObject>;
408
+ feFlood: Styled<"web", "feFlood", Omit<import("react").SVGProps<SVGFEFloodElement>, "ref"> & {
409
+ ref?: ((instance: SVGFEFloodElement | null) => void) | import("react").RefObject<SVGFEFloodElement> | null | undefined;
410
+ }, import("../types").BaseObject>;
411
+ feFuncA: Styled<"web", "feFuncA", Omit<import("react").SVGProps<SVGFEFuncAElement>, "ref"> & {
412
+ ref?: ((instance: SVGFEFuncAElement | null) => void) | import("react").RefObject<SVGFEFuncAElement> | null | undefined;
413
+ }, import("../types").BaseObject>;
414
+ feFuncB: Styled<"web", "feFuncB", Omit<import("react").SVGProps<SVGFEFuncBElement>, "ref"> & {
415
+ ref?: ((instance: SVGFEFuncBElement | null) => void) | import("react").RefObject<SVGFEFuncBElement> | null | undefined;
416
+ }, import("../types").BaseObject>;
417
+ feFuncG: Styled<"web", "feFuncG", Omit<import("react").SVGProps<SVGFEFuncGElement>, "ref"> & {
418
+ ref?: ((instance: SVGFEFuncGElement | null) => void) | import("react").RefObject<SVGFEFuncGElement> | null | undefined;
419
+ }, import("../types").BaseObject>;
420
+ feFuncR: Styled<"web", "feFuncR", Omit<import("react").SVGProps<SVGFEFuncRElement>, "ref"> & {
421
+ ref?: ((instance: SVGFEFuncRElement | null) => void) | import("react").RefObject<SVGFEFuncRElement> | null | undefined;
422
+ }, import("../types").BaseObject>;
423
+ feGaussianBlur: Styled<"web", "feGaussianBlur", Omit<import("react").SVGProps<SVGFEGaussianBlurElement>, "ref"> & {
424
+ ref?: ((instance: SVGFEGaussianBlurElement | null) => void) | import("react").RefObject<SVGFEGaussianBlurElement> | null | undefined;
425
+ }, import("../types").BaseObject>;
426
+ feImage: Styled<"web", "feImage", Omit<import("react").SVGProps<SVGFEImageElement>, "ref"> & {
427
+ ref?: ((instance: SVGFEImageElement | null) => void) | import("react").RefObject<SVGFEImageElement> | null | undefined;
428
+ }, import("../types").BaseObject>;
429
+ feMerge: Styled<"web", "feMerge", Omit<import("react").SVGProps<SVGFEMergeElement>, "ref"> & {
430
+ ref?: ((instance: SVGFEMergeElement | null) => void) | import("react").RefObject<SVGFEMergeElement> | null | undefined;
431
+ }, import("../types").BaseObject>;
432
+ feMergeNode: Styled<"web", "feMergeNode", Omit<import("react").SVGProps<SVGFEMergeNodeElement>, "ref"> & {
433
+ ref?: ((instance: SVGFEMergeNodeElement | null) => void) | import("react").RefObject<SVGFEMergeNodeElement> | null | undefined;
434
+ }, import("../types").BaseObject>;
435
+ feMorphology: Styled<"web", "feMorphology", Omit<import("react").SVGProps<SVGFEMorphologyElement>, "ref"> & {
436
+ ref?: ((instance: SVGFEMorphologyElement | null) => void) | import("react").RefObject<SVGFEMorphologyElement> | null | undefined;
437
+ }, import("../types").BaseObject>;
438
+ feOffset: Styled<"web", "feOffset", Omit<import("react").SVGProps<SVGFEOffsetElement>, "ref"> & {
439
+ ref?: ((instance: SVGFEOffsetElement | null) => void) | import("react").RefObject<SVGFEOffsetElement> | null | undefined;
440
+ }, import("../types").BaseObject>;
441
+ fePointLight: Styled<"web", "fePointLight", Omit<import("react").SVGProps<SVGFEPointLightElement>, "ref"> & {
442
+ ref?: ((instance: SVGFEPointLightElement | null) => void) | import("react").RefObject<SVGFEPointLightElement> | null | undefined;
443
+ }, import("../types").BaseObject>;
444
+ feSpecularLighting: Styled<"web", "feSpecularLighting", Omit<import("react").SVGProps<SVGFESpecularLightingElement>, "ref"> & {
445
+ ref?: ((instance: SVGFESpecularLightingElement | null) => void) | import("react").RefObject<SVGFESpecularLightingElement> | null | undefined;
446
+ }, import("../types").BaseObject>;
447
+ feSpotLight: Styled<"web", "feSpotLight", Omit<import("react").SVGProps<SVGFESpotLightElement>, "ref"> & {
448
+ ref?: ((instance: SVGFESpotLightElement | null) => void) | import("react").RefObject<SVGFESpotLightElement> | null | undefined;
449
+ }, import("../types").BaseObject>;
450
+ feTile: Styled<"web", "feTile", Omit<import("react").SVGProps<SVGFETileElement>, "ref"> & {
451
+ ref?: ((instance: SVGFETileElement | null) => void) | import("react").RefObject<SVGFETileElement> | null | undefined;
452
+ }, import("../types").BaseObject>;
453
+ feTurbulence: Styled<"web", "feTurbulence", Omit<import("react").SVGProps<SVGFETurbulenceElement>, "ref"> & {
454
+ ref?: ((instance: SVGFETurbulenceElement | null) => void) | import("react").RefObject<SVGFETurbulenceElement> | null | undefined;
455
+ }, import("../types").BaseObject>;
456
+ filter: Styled<"web", "filter", Omit<import("react").SVGProps<SVGFilterElement>, "ref"> & {
457
+ ref?: ((instance: SVGFilterElement | null) => void) | import("react").RefObject<SVGFilterElement> | null | undefined;
458
+ }, import("../types").BaseObject>;
459
+ foreignObject: Styled<"web", "foreignObject", Omit<import("react").SVGProps<SVGForeignObjectElement>, "ref"> & {
460
+ ref?: ((instance: SVGForeignObjectElement | null) => void) | import("react").RefObject<SVGForeignObjectElement> | null | undefined;
461
+ }, import("../types").BaseObject>;
462
+ g: Styled<"web", "g", Omit<import("react").SVGProps<SVGGElement>, "ref"> & {
463
+ ref?: ((instance: SVGGElement | null) => void) | import("react").RefObject<SVGGElement> | null | undefined;
464
+ }, import("../types").BaseObject>;
465
+ image: Styled<"web", "image", Omit<import("react").SVGProps<SVGImageElement>, "ref"> & {
466
+ ref?: ((instance: SVGImageElement | null) => void) | import("react").RefObject<SVGImageElement> | null | undefined;
467
+ }, import("../types").BaseObject>;
468
+ line: Styled<"web", "line", Omit<import("react").SVGLineElementAttributes<SVGLineElement>, "ref"> & {
469
+ ref?: ((instance: SVGLineElement | null) => void) | import("react").RefObject<SVGLineElement> | null | undefined;
470
+ }, import("../types").BaseObject>;
471
+ linearGradient: Styled<"web", "linearGradient", Omit<import("react").SVGProps<SVGLinearGradientElement>, "ref"> & {
472
+ ref?: ((instance: SVGLinearGradientElement | null) => void) | import("react").RefObject<SVGLinearGradientElement> | null | undefined;
473
+ }, import("../types").BaseObject>;
474
+ marker: Styled<"web", "marker", Omit<import("react").SVGProps<SVGMarkerElement>, "ref"> & {
475
+ ref?: ((instance: SVGMarkerElement | null) => void) | import("react").RefObject<SVGMarkerElement> | null | undefined;
476
+ }, import("../types").BaseObject>;
477
+ mask: Styled<"web", "mask", Omit<import("react").SVGProps<SVGMaskElement>, "ref"> & {
478
+ ref?: ((instance: SVGMaskElement | null) => void) | import("react").RefObject<SVGMaskElement> | null | undefined;
479
+ }, import("../types").BaseObject>;
480
+ metadata: Styled<"web", "metadata", Omit<import("react").SVGProps<SVGMetadataElement>, "ref"> & {
481
+ ref?: ((instance: SVGMetadataElement | null) => void) | import("react").RefObject<SVGMetadataElement> | null | undefined;
482
+ }, import("../types").BaseObject>;
483
+ mpath: Styled<"web", "mpath", Omit<import("react").SVGProps<SVGElement>, "ref"> & {
484
+ ref?: ((instance: SVGElement | null) => void) | import("react").RefObject<SVGElement> | null | undefined;
485
+ }, import("../types").BaseObject>;
486
+ path: Styled<"web", "path", Omit<import("react").SVGProps<SVGPathElement>, "ref"> & {
487
+ ref?: ((instance: SVGPathElement | null) => void) | import("react").RefObject<SVGPathElement> | null | undefined;
488
+ }, import("../types").BaseObject>;
489
+ pattern: Styled<"web", "pattern", Omit<import("react").SVGProps<SVGPatternElement>, "ref"> & {
490
+ ref?: ((instance: SVGPatternElement | null) => void) | import("react").RefObject<SVGPatternElement> | null | undefined;
491
+ }, import("../types").BaseObject>;
492
+ polygon: Styled<"web", "polygon", Omit<import("react").SVGProps<SVGPolygonElement>, "ref"> & {
493
+ ref?: ((instance: SVGPolygonElement | null) => void) | import("react").RefObject<SVGPolygonElement> | null | undefined;
494
+ }, import("../types").BaseObject>;
495
+ polyline: Styled<"web", "polyline", Omit<import("react").SVGProps<SVGPolylineElement>, "ref"> & {
496
+ ref?: ((instance: SVGPolylineElement | null) => void) | import("react").RefObject<SVGPolylineElement> | null | undefined;
497
+ }, import("../types").BaseObject>;
498
+ radialGradient: Styled<"web", "radialGradient", Omit<import("react").SVGProps<SVGRadialGradientElement>, "ref"> & {
499
+ ref?: ((instance: SVGRadialGradientElement | null) => void) | import("react").RefObject<SVGRadialGradientElement> | null | undefined;
500
+ }, import("../types").BaseObject>;
501
+ rect: Styled<"web", "rect", Omit<import("react").SVGProps<SVGRectElement>, "ref"> & {
502
+ ref?: ((instance: SVGRectElement | null) => void) | import("react").RefObject<SVGRectElement> | null | undefined;
503
+ }, import("../types").BaseObject>;
504
+ stop: Styled<"web", "stop", Omit<import("react").SVGProps<SVGStopElement>, "ref"> & {
505
+ ref?: ((instance: SVGStopElement | null) => void) | import("react").RefObject<SVGStopElement> | null | undefined;
506
+ }, import("../types").BaseObject>;
507
+ switch: Styled<"web", "switch", Omit<import("react").SVGProps<SVGSwitchElement>, "ref"> & {
508
+ ref?: ((instance: SVGSwitchElement | null) => void) | import("react").RefObject<SVGSwitchElement> | null | undefined;
509
+ }, import("../types").BaseObject>;
510
+ symbol: Styled<"web", "symbol", import("../types").BaseObject, import("../types").BaseObject>;
511
+ text: Styled<"web", "text", Omit<import("react").SVGTextElementAttributes<SVGTextElement>, "ref"> & {
512
+ ref?: ((instance: SVGTextElement | null) => void) | import("react").RefObject<SVGTextElement> | null | undefined;
513
+ }, import("../types").BaseObject>;
514
+ textPath: Styled<"web", "textPath", Omit<import("react").SVGProps<SVGTextPathElement>, "ref"> & {
515
+ ref?: ((instance: SVGTextPathElement | null) => void) | import("react").RefObject<SVGTextPathElement> | null | undefined;
516
+ }, import("../types").BaseObject>;
517
+ tspan: Styled<"web", "tspan", Omit<import("react").SVGProps<SVGTSpanElement>, "ref"> & {
518
+ ref?: ((instance: SVGTSpanElement | null) => void) | import("react").RefObject<SVGTSpanElement> | null | undefined;
519
+ }, import("../types").BaseObject>;
520
+ use: Styled<"web", "use", Omit<import("react").SVGProps<SVGUseElement>, "ref"> & {
521
+ ref?: ((instance: SVGUseElement | null) => void) | import("react").RefObject<SVGUseElement> | null | undefined;
522
+ }, import("../types").BaseObject>;
523
+ view: Styled<"web", "view", Omit<import("react").SVGProps<SVGViewElement>, "ref"> & {
524
+ ref?: ((instance: SVGViewElement | null) => void) | import("react").RefObject<SVGViewElement> | null | undefined;
525
+ }, import("../types").BaseObject>;
7
526
  };
8
- declare const styled: WebStyledStatic;
9
527
  export default styled;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import { AnyComponent, ExecutionProps } from '../types';
3
- export default function withTheme<T extends AnyComponent>(Component: T): React.ForwardRefExoticComponent<React.PropsWithoutRef<JSX.LibraryManagedAttributes<T, ExecutionProps>> & React.RefAttributes<T>> & { [key in Exclude<keyof T, T extends React.MemoExoticComponent<any> ? "propTypes" | "type" | "defaultProps" | "displayName" | "$$typeof" | "compare" : T extends React.ForwardRefExoticComponent<any> ? "propTypes" | "defaultProps" | "displayName" | "$$typeof" | "render" : "length" | "propTypes" | "type" | "contextType" | "contextTypes" | "childContextTypes" | "defaultProps" | "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromError" | "getDefaultProps" | "mixins" | "name" | "prototype" | "caller" | "callee" | "arguments" | "arity">]: T[key]; };
3
+ export default function withTheme<T extends AnyComponent>(Component: T): React.ForwardRefExoticComponent<React.PropsWithoutRef<JSX.LibraryManagedAttributes<T, ExecutionProps>> & React.RefAttributes<T>> & { [key in Exclude<keyof T, T extends React.MemoExoticComponent<any> ? "propTypes" | "defaultProps" | "displayName" | "$$typeof" | "type" | "compare" : T extends React.ForwardRefExoticComponent<any> ? "propTypes" | "defaultProps" | "displayName" | "$$typeof" | "render" : "length" | "propTypes" | "contextType" | "contextTypes" | "childContextTypes" | "defaultProps" | "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromError" | "type" | "getDefaultProps" | "mixins" | "name" | "prototype" | "caller" | "callee" | "arguments" | "arity">]: T[key]; };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import styled from './constructors/styled';
2
2
  export * from './base';
3
- export { CSSProp, DefaultTheme, ExecutionContext, ExecutionProps, IStyledComponent, IStyledComponentFactory, IStyledStatics, RuleSet, Runtime, StyledObject, StyledOptions, WebTarget, } from './types';
3
+ export { CSSProp, DefaultTheme, ExecutionContext, ExecutionProps, IStyledComponent, IStyledComponentFactory, IStyledStatics, PolymorphicComponent, PolymorphicComponentProps, RuleSet, Runtime, StyledObject, StyledOptions, WebTarget, } from './types';
4
4
  export { styled, styled as default };
@@ -6,6 +6,5 @@ export default class Keyframes implements KeyframesType {
6
6
  rules: string;
7
7
  constructor(name: string, rules: string);
8
8
  inject: (styleSheet: StyleSheet, stylisInstance?: Stringifier) => void;
9
- toString: () => void;
10
9
  getName(stylisInstance?: Stringifier): string;
11
10
  }