styled-components 6.0.0-alpha.7 → 6.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/constructors/constructWithOptions.d.ts +16 -21
- package/dist/constructors/css.d.ts +2 -2
- package/dist/constructors/styled.d.ts +179 -179
- package/dist/models/ComponentStyle.d.ts +1 -0
- package/dist/models/StyledComponent.d.ts +1 -1
- package/dist/models/StyledNativeComponent.d.ts +2 -2
- package/dist/native/index.d.ts +29 -29
- package/dist/styled-components-macro.cjs.js +47 -1
- package/dist/styled-components-macro.cjs.js.map +1 -1
- package/dist/styled-components-macro.esm.js +38 -1
- package/dist/styled-components-macro.esm.js.map +1 -1
- package/dist/styled-components.browser.cjs.js +1854 -1
- package/dist/styled-components.browser.cjs.js.map +1 -1
- package/dist/styled-components.browser.esm.js +1829 -1
- package/dist/styled-components.browser.esm.js.map +1 -1
- package/dist/styled-components.cjs.js +1874 -1
- package/dist/styled-components.cjs.js.map +1 -1
- package/dist/styled-components.esm.js +1849 -1
- package/dist/styled-components.esm.js.map +1 -1
- package/dist/styled-components.js +2074 -1
- package/dist/styled-components.js.map +1 -1
- package/dist/styled-components.min.js +1 -1
- package/dist/styled-components.min.js.map +1 -1
- package/dist/test/utils.d.ts +178 -178
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types.d.ts +33 -44
- package/dist/utils/generateDisplayName.d.ts +1 -1
- package/dist/utils/getComponentName.d.ts +1 -1
- package/dist/utils/isStyledComponent.d.ts +1 -1
- package/dist/utils/isTag.d.ts +1 -1
- package/dist/utils/stylis.d.ts +2 -1
- package/native/dist/constructors/constructWithOptions.d.ts +16 -21
- package/native/dist/constructors/css.d.ts +2 -2
- package/native/dist/constructors/styled.d.ts +179 -179
- package/native/dist/models/ComponentStyle.d.ts +1 -0
- package/native/dist/models/StyledComponent.d.ts +1 -1
- package/native/dist/models/StyledNativeComponent.d.ts +2 -2
- package/native/dist/native/index.d.ts +29 -29
- package/native/dist/styled-components.native.cjs.js +438 -403
- package/native/dist/styled-components.native.cjs.js.map +1 -1
- package/native/dist/styled-components.native.esm.js +439 -404
- package/native/dist/styled-components.native.esm.js.map +1 -1
- package/native/dist/test/utils.d.ts +178 -178
- package/native/dist/types.d.ts +33 -44
- package/native/dist/utils/generateDisplayName.d.ts +1 -1
- package/native/dist/utils/getComponentName.d.ts +1 -1
- package/native/dist/utils/isStyledComponent.d.ts +1 -1
- package/native/dist/utils/isTag.d.ts +1 -1
- package/native/dist/utils/stylis.d.ts +2 -1
- package/package.json +8 -8
- package/test-utils/setupTestFramework.ts +9 -3
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ The `main` branch is under development of the upcoming v6 major version of style
|
|
|
26
26
|
|
|
27
27
|
---
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
Utilizing [tagged template literals](https://www.styled-components.com/docs/advanced#tagged-template-literals) (a recent addition to JavaScript) and the [power of CSS](https://www.styled-components.com/docs/api#supported-css), `styled-components` allow you to write actual CSS code to style your components. It also removes the mapping between components and styles – using components as a low-level styling construct could not be easier!
|
|
30
30
|
|
|
31
31
|
```jsx
|
|
32
32
|
const Button = styled.button`
|
|
@@ -130,7 +130,7 @@ If you wish to provide configuration options to the babel plugin similar to how
|
|
|
130
130
|
|
|
131
131
|
## Built with `styled-components`
|
|
132
132
|
|
|
133
|
-
A lot of hard work goes into community libraries, projects, and guides. A lot of them make it easier to get started or help you with your next project! There
|
|
133
|
+
A lot of hard work goes into community libraries, projects, and guides. A lot of them make it easier to get started or help you with your next project! There are also a whole lot of interesting apps and sites that people have built using styled-components.
|
|
134
134
|
|
|
135
135
|
Make sure to head over to [awesome-styled-components](https://github.com/styled-components/awesome-styled-components) to see them all! And please contribute and add your own work to the list so others can find it.
|
|
136
136
|
|
|
@@ -1,32 +1,27 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Attrs, ExecutionContext, Interpolation, IStyledComponent, IStyledComponentFactory,
|
|
3
|
-
export interface
|
|
4
|
-
<Props = unknown, Statics = unknown>(initialStyles: Styles<DerivedProps & OuterProps & Props>, ...interpolations:
|
|
5
|
-
attrs(attrs: Attrs<
|
|
6
|
-
withConfig(config:
|
|
2
|
+
import { Attrs, ExecutionContext, ExtensibleObject, Interpolation, IStyledComponent, IStyledComponentFactory, KnownTarget, Runtime, StyledOptions, StyledTarget, Styles } from '../types';
|
|
3
|
+
export interface Styled<R extends Runtime, Target extends StyledTarget<R>, DerivedProps = Target extends KnownTarget ? React.ComponentProps<Target> : unknown, OuterProps = unknown, OuterStatics = unknown> {
|
|
4
|
+
<Props = unknown, Statics = unknown>(initialStyles: Styles<DerivedProps & OuterProps & Props>, ...interpolations: Interpolation<ExecutionContext & DerivedProps & OuterProps & Props>[]): IStyledComponent<R, Target, DerivedProps & OuterProps & Props> & OuterStatics & Statics;
|
|
5
|
+
attrs(attrs: Attrs<ExtensibleObject & DerivedProps & OuterProps>): Styled<R, Target, DerivedProps, OuterProps, OuterStatics>;
|
|
6
|
+
withConfig(config: StyledOptions<R, DerivedProps & OuterProps>): Styled<R, Target, DerivedProps, OuterProps, OuterStatics>;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
attrs(attrs: Attrs<ExecutionContext & DerivedProps & OuterProps>): {
|
|
17
|
-
<Props_1 = unknown, Statics_1 = unknown>(initialStyles: Styles<DerivedProps & OuterProps & OuterStatics & Props_1>, ...interpolations: Interpolation<ExecutionContext & DerivedProps & OuterProps & OuterStatics & Props_1>[]): ReturnType<Environment extends "web" ? IStyledComponentFactory<Target, DerivedProps & OuterProps & OuterStatics & Props_1, Statics_1> : IStyledNativeComponentFactory<Target, DerivedProps & OuterProps & OuterStatics & Props_1, Statics_1>>;
|
|
18
|
-
attrs(attrs: Attrs<ExecutionContext & DerivedProps & OuterProps & OuterStatics>): {
|
|
19
|
-
<Props_2 = unknown, Statics_2 = unknown>(initialStyles: Styles<DerivedProps & OuterProps & OuterStatics & Props_2>, ...interpolations: Interpolation<ExecutionContext & DerivedProps & OuterProps & OuterStatics & Props_2>[]): ReturnType<Environment extends "web" ? IStyledComponentFactory<Target, DerivedProps & OuterProps & OuterStatics & Props_2, Statics_2> : IStyledNativeComponentFactory<Target, DerivedProps & OuterProps & OuterStatics & Props_2, Statics_2>>;
|
|
20
|
-
attrs(attrs: Attrs<ExecutionContext & DerivedProps & OuterProps & OuterStatics>): any;
|
|
8
|
+
export default function constructWithOptions<R extends Runtime, Target extends StyledTarget<R>, DerivedProps = Target extends KnownTarget ? React.ComponentProps<Target> : unknown, OuterProps = unknown, // used for styled<{}>().attrs() so attrs() gets the generic prop context
|
|
9
|
+
OuterStatics = unknown>(componentConstructor: IStyledComponentFactory<R, any, any, any>, tag: Target, options?: StyledOptions<R, DerivedProps & OuterProps>): {
|
|
10
|
+
<Props = unknown, Statics = unknown>(initialStyles: Styles<DerivedProps & OuterProps & Props>, ...interpolations: Interpolation<ExecutionContext & DerivedProps & OuterProps & Props>[]): IStyledComponent<R, Target, DerivedProps & OuterProps & Props> & OuterStatics & Statics;
|
|
11
|
+
attrs(attrs: Attrs<ExtensibleObject & DerivedProps & OuterProps>): {
|
|
12
|
+
<Props_1 = unknown, Statics_1 = unknown>(initialStyles: Styles<DerivedProps & OuterProps & OuterStatics & Props_1>, ...interpolations: Interpolation<ExecutionContext & DerivedProps & OuterProps & OuterStatics & Props_1>[]): IStyledComponent<R, Target, DerivedProps & OuterProps & OuterStatics & Props_1> & Statics_1;
|
|
13
|
+
attrs(attrs: Attrs<ExtensibleObject & DerivedProps & OuterProps & OuterStatics>): {
|
|
14
|
+
<Props_2 = unknown, Statics_2 = unknown>(initialStyles: Styles<DerivedProps & OuterProps & OuterStatics & Props_2>, ...interpolations: Interpolation<ExecutionContext & DerivedProps & OuterProps & OuterStatics & Props_2>[]): IStyledComponent<R, Target, DerivedProps & OuterProps & OuterStatics & Props_2> & Statics_2;
|
|
15
|
+
attrs(attrs: Attrs<ExtensibleObject & DerivedProps & OuterProps & OuterStatics>): any;
|
|
21
16
|
/**
|
|
22
17
|
* If config methods are called, wrap up a new template function and merge options */
|
|
23
|
-
withConfig(config:
|
|
18
|
+
withConfig(config: StyledOptions<R, DerivedProps & OuterProps & OuterStatics>): any;
|
|
24
19
|
};
|
|
25
20
|
/**
|
|
26
21
|
* If config methods are called, wrap up a new template function and merge options */
|
|
27
|
-
withConfig(config:
|
|
22
|
+
withConfig(config: StyledOptions<R, DerivedProps & OuterProps & OuterStatics>): any;
|
|
28
23
|
};
|
|
29
24
|
/**
|
|
30
25
|
* If config methods are called, wrap up a new template function and merge options */
|
|
31
|
-
withConfig(config:
|
|
26
|
+
withConfig(config: StyledOptions<R, DerivedProps & OuterProps>): any;
|
|
32
27
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Interpolation, StyledObject, StyleFunction, Styles } from '../types';
|
|
2
|
-
export default function css<Props>(styles: Styles<Props>, ...interpolations: Interpolation<Props>[]): string | number | import("../types").Keyframes | TemplateStringsArray | import("../types").IStyledComponent<any, any> | StyledObject<Props> | StyleFunction<Props> | (Interpolation<Props>[] & {
|
|
2
|
+
export default function css<Props>(styles: Styles<Props>, ...interpolations: Interpolation<Props>[]): string | number | import("../types").Keyframes | TemplateStringsArray | import("../types").IStyledComponent<"web", any, any> | StyledObject<Props> | StyleFunction<Props> | (Interpolation<Props>[] & {
|
|
3
3
|
isCss?: boolean | undefined;
|
|
4
|
-
});
|
|
4
|
+
}) | null | undefined;
|
|
@@ -1,185 +1,185 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WebTarget } from '../types';
|
|
3
|
-
import {
|
|
3
|
+
import { Styled } from './constructWithOptions';
|
|
4
4
|
declare const styled: (<Target extends WebTarget>(tag: Target) => {
|
|
5
|
-
<Props = unknown, Statics = unknown>(initialStyles: import("../types").Styles<(Target extends import("../types").KnownTarget ? import("react").ComponentProps<Target> : unknown) & Props>, ...interpolations: import("../types").Interpolation<import("../types").ExecutionContext & (Target extends import("../types").KnownTarget ? import("react").ComponentProps<Target> : unknown) & Props>[]): import("../types").IStyledComponent<Target, (Target extends import("../types").KnownTarget ? import("react").ComponentProps<Target> : unknown) & Props> & Statics;
|
|
6
|
-
attrs(attrs: import("../types").Attrs<import("../types").
|
|
7
|
-
withConfig(config: import("../types").StyledOptions<Target extends import("../types").KnownTarget ? import("react").ComponentProps<Target> : unknown>): any;
|
|
5
|
+
<Props = unknown, Statics = unknown>(initialStyles: import("../types").Styles<(Target extends import("../types").KnownTarget ? import("react").ComponentProps<Target> : unknown) & Props>, ...interpolations: import("../types").Interpolation<import("../types").ExecutionContext & (Target extends import("../types").KnownTarget ? import("react").ComponentProps<Target> : unknown) & Props>[]): import("../types").IStyledComponent<"web", Target, (Target extends import("../types").KnownTarget ? import("react").ComponentProps<Target> : unknown) & Props> & Statics;
|
|
6
|
+
attrs(attrs: import("../types").Attrs<import("../types").ExtensibleObject & (Target extends import("../types").KnownTarget ? import("react").ComponentProps<Target> : unknown)>): any;
|
|
7
|
+
withConfig(config: import("../types").StyledOptions<"web", Target extends import("../types").KnownTarget ? import("react").ComponentProps<Target> : unknown>): any;
|
|
8
8
|
}) & {
|
|
9
|
-
a:
|
|
10
|
-
abbr:
|
|
11
|
-
address:
|
|
12
|
-
area:
|
|
13
|
-
article:
|
|
14
|
-
aside:
|
|
15
|
-
audio:
|
|
16
|
-
b:
|
|
17
|
-
base:
|
|
18
|
-
bdi:
|
|
19
|
-
bdo:
|
|
20
|
-
big:
|
|
21
|
-
blockquote:
|
|
22
|
-
body:
|
|
23
|
-
br:
|
|
24
|
-
button:
|
|
25
|
-
canvas:
|
|
26
|
-
caption:
|
|
27
|
-
cite:
|
|
28
|
-
code:
|
|
29
|
-
col:
|
|
30
|
-
colgroup:
|
|
31
|
-
data:
|
|
32
|
-
datalist:
|
|
33
|
-
dd:
|
|
34
|
-
del:
|
|
35
|
-
details:
|
|
36
|
-
dfn:
|
|
37
|
-
dialog:
|
|
38
|
-
div:
|
|
39
|
-
dl:
|
|
40
|
-
dt:
|
|
41
|
-
em:
|
|
42
|
-
embed:
|
|
43
|
-
fieldset:
|
|
44
|
-
figcaption:
|
|
45
|
-
figure:
|
|
46
|
-
footer:
|
|
47
|
-
form:
|
|
48
|
-
h1:
|
|
49
|
-
h2:
|
|
50
|
-
h3:
|
|
51
|
-
h4:
|
|
52
|
-
h5:
|
|
53
|
-
h6:
|
|
54
|
-
head:
|
|
55
|
-
header:
|
|
56
|
-
hgroup:
|
|
57
|
-
hr:
|
|
58
|
-
html:
|
|
59
|
-
i:
|
|
60
|
-
iframe:
|
|
61
|
-
img:
|
|
62
|
-
input:
|
|
63
|
-
ins:
|
|
64
|
-
kbd:
|
|
65
|
-
keygen:
|
|
66
|
-
label:
|
|
67
|
-
legend:
|
|
68
|
-
li:
|
|
69
|
-
link:
|
|
70
|
-
main:
|
|
71
|
-
map:
|
|
72
|
-
mark:
|
|
73
|
-
menu:
|
|
74
|
-
menuitem:
|
|
75
|
-
meta:
|
|
76
|
-
meter:
|
|
77
|
-
nav:
|
|
78
|
-
noindex:
|
|
79
|
-
noscript:
|
|
80
|
-
object:
|
|
81
|
-
ol:
|
|
82
|
-
optgroup:
|
|
83
|
-
option:
|
|
84
|
-
output:
|
|
85
|
-
p:
|
|
86
|
-
param:
|
|
87
|
-
picture:
|
|
88
|
-
pre:
|
|
89
|
-
progress:
|
|
90
|
-
q:
|
|
91
|
-
rp:
|
|
92
|
-
rt:
|
|
93
|
-
ruby:
|
|
94
|
-
s:
|
|
95
|
-
samp:
|
|
96
|
-
slot:
|
|
97
|
-
script:
|
|
98
|
-
section:
|
|
99
|
-
select:
|
|
100
|
-
small:
|
|
101
|
-
source:
|
|
102
|
-
span:
|
|
103
|
-
strong:
|
|
104
|
-
style:
|
|
105
|
-
sub:
|
|
106
|
-
summary:
|
|
107
|
-
sup:
|
|
108
|
-
table:
|
|
109
|
-
template:
|
|
110
|
-
tbody:
|
|
111
|
-
td:
|
|
112
|
-
textarea:
|
|
113
|
-
tfoot:
|
|
114
|
-
th:
|
|
115
|
-
thead:
|
|
116
|
-
time:
|
|
117
|
-
title:
|
|
118
|
-
tr:
|
|
119
|
-
track:
|
|
120
|
-
u:
|
|
121
|
-
ul:
|
|
122
|
-
var:
|
|
123
|
-
video:
|
|
124
|
-
wbr:
|
|
125
|
-
webview:
|
|
126
|
-
svg:
|
|
127
|
-
animate:
|
|
128
|
-
animateMotion:
|
|
129
|
-
animateTransform:
|
|
130
|
-
circle:
|
|
131
|
-
clipPath:
|
|
132
|
-
defs:
|
|
133
|
-
desc:
|
|
134
|
-
ellipse:
|
|
135
|
-
feBlend:
|
|
136
|
-
feColorMatrix:
|
|
137
|
-
feComponentTransfer:
|
|
138
|
-
feComposite:
|
|
139
|
-
feConvolveMatrix:
|
|
140
|
-
feDiffuseLighting:
|
|
141
|
-
feDisplacementMap:
|
|
142
|
-
feDistantLight:
|
|
143
|
-
feDropShadow:
|
|
144
|
-
feFlood:
|
|
145
|
-
feFuncA:
|
|
146
|
-
feFuncB:
|
|
147
|
-
feFuncG:
|
|
148
|
-
feFuncR:
|
|
149
|
-
feGaussianBlur:
|
|
150
|
-
feImage:
|
|
151
|
-
feMerge:
|
|
152
|
-
feMergeNode:
|
|
153
|
-
feMorphology:
|
|
154
|
-
feOffset:
|
|
155
|
-
fePointLight:
|
|
156
|
-
feSpecularLighting:
|
|
157
|
-
feSpotLight:
|
|
158
|
-
feTile:
|
|
159
|
-
feTurbulence:
|
|
160
|
-
filter:
|
|
161
|
-
foreignObject:
|
|
162
|
-
g:
|
|
163
|
-
image:
|
|
164
|
-
line:
|
|
165
|
-
linearGradient:
|
|
166
|
-
marker:
|
|
167
|
-
mask:
|
|
168
|
-
metadata:
|
|
169
|
-
mpath:
|
|
170
|
-
path:
|
|
171
|
-
pattern:
|
|
172
|
-
polygon:
|
|
173
|
-
polyline:
|
|
174
|
-
radialGradient:
|
|
175
|
-
rect:
|
|
176
|
-
stop:
|
|
177
|
-
switch:
|
|
178
|
-
symbol:
|
|
179
|
-
text:
|
|
180
|
-
textPath:
|
|
181
|
-
tspan:
|
|
182
|
-
use:
|
|
183
|
-
view:
|
|
9
|
+
a: Styled<"web", "a", import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, unknown, unknown>;
|
|
10
|
+
abbr: Styled<"web", "abbr", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
11
|
+
address: Styled<"web", "address", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
12
|
+
area: Styled<"web", "area", import("react").DetailedHTMLProps<import("react").AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>, unknown, unknown>;
|
|
13
|
+
article: Styled<"web", "article", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
14
|
+
aside: Styled<"web", "aside", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
15
|
+
audio: Styled<"web", "audio", import("react").DetailedHTMLProps<import("react").AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, unknown, unknown>;
|
|
16
|
+
b: Styled<"web", "b", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
17
|
+
base: Styled<"web", "base", import("react").DetailedHTMLProps<import("react").BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>, unknown, unknown>;
|
|
18
|
+
bdi: Styled<"web", "bdi", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
19
|
+
bdo: Styled<"web", "bdo", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
20
|
+
big: Styled<"web", "big", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
21
|
+
blockquote: Styled<"web", "blockquote", import("react").DetailedHTMLProps<import("react").BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
22
|
+
body: Styled<"web", "body", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>, unknown, unknown>;
|
|
23
|
+
br: Styled<"web", "br", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLBRElement>, HTMLBRElement>, unknown, unknown>;
|
|
24
|
+
button: Styled<"web", "button", import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, unknown, unknown>;
|
|
25
|
+
canvas: Styled<"web", "canvas", import("react").DetailedHTMLProps<import("react").CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>, unknown, unknown>;
|
|
26
|
+
caption: Styled<"web", "caption", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
27
|
+
cite: Styled<"web", "cite", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
28
|
+
code: Styled<"web", "code", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
29
|
+
col: Styled<"web", "col", import("react").DetailedHTMLProps<import("react").ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, unknown, unknown>;
|
|
30
|
+
colgroup: Styled<"web", "colgroup", import("react").DetailedHTMLProps<import("react").ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, unknown, unknown>;
|
|
31
|
+
data: Styled<"web", "data", import("react").DetailedHTMLProps<import("react").DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>, unknown, unknown>;
|
|
32
|
+
datalist: Styled<"web", "datalist", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>, unknown, unknown>;
|
|
33
|
+
dd: Styled<"web", "dd", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
34
|
+
del: Styled<"web", "del", import("react").DetailedHTMLProps<import("react").DelHTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
35
|
+
details: Styled<"web", "details", import("react").DetailedHTMLProps<import("react").DetailsHTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
36
|
+
dfn: Styled<"web", "dfn", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
37
|
+
dialog: Styled<"web", "dialog", import("react").DetailedHTMLProps<import("react").DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>, unknown, unknown>;
|
|
38
|
+
div: Styled<"web", "div", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, unknown, unknown>;
|
|
39
|
+
dl: Styled<"web", "dl", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDListElement>, HTMLDListElement>, unknown, unknown>;
|
|
40
|
+
dt: Styled<"web", "dt", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
41
|
+
em: Styled<"web", "em", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
42
|
+
embed: Styled<"web", "embed", import("react").DetailedHTMLProps<import("react").EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>, unknown, unknown>;
|
|
43
|
+
fieldset: Styled<"web", "fieldset", import("react").DetailedHTMLProps<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, unknown, unknown>;
|
|
44
|
+
figcaption: Styled<"web", "figcaption", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
45
|
+
figure: Styled<"web", "figure", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
46
|
+
footer: Styled<"web", "footer", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
47
|
+
form: Styled<"web", "form", import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, unknown, unknown>;
|
|
48
|
+
h1: Styled<"web", "h1", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, unknown, unknown>;
|
|
49
|
+
h2: Styled<"web", "h2", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, unknown, unknown>;
|
|
50
|
+
h3: Styled<"web", "h3", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, unknown, unknown>;
|
|
51
|
+
h4: Styled<"web", "h4", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, unknown, unknown>;
|
|
52
|
+
h5: Styled<"web", "h5", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, unknown, unknown>;
|
|
53
|
+
h6: Styled<"web", "h6", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, unknown, unknown>;
|
|
54
|
+
head: Styled<"web", "head", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>, unknown, unknown>;
|
|
55
|
+
header: Styled<"web", "header", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
56
|
+
hgroup: Styled<"web", "hgroup", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
57
|
+
hr: Styled<"web", "hr", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, unknown, unknown>;
|
|
58
|
+
html: Styled<"web", "html", import("react").DetailedHTMLProps<import("react").HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>, unknown, unknown>;
|
|
59
|
+
i: Styled<"web", "i", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
60
|
+
iframe: Styled<"web", "iframe", import("react").DetailedHTMLProps<import("react").IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>, unknown, unknown>;
|
|
61
|
+
img: Styled<"web", "img", import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, unknown, unknown>;
|
|
62
|
+
input: Styled<"web", "input", import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, unknown, unknown>;
|
|
63
|
+
ins: Styled<"web", "ins", import("react").DetailedHTMLProps<import("react").InsHTMLAttributes<HTMLModElement>, HTMLModElement>, unknown, unknown>;
|
|
64
|
+
kbd: Styled<"web", "kbd", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
65
|
+
keygen: Styled<"web", "keygen", import("react").DetailedHTMLProps<import("react").KeygenHTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
66
|
+
label: Styled<"web", "label", import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, unknown, unknown>;
|
|
67
|
+
legend: Styled<"web", "legend", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>, unknown, unknown>;
|
|
68
|
+
li: Styled<"web", "li", import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, unknown, unknown>;
|
|
69
|
+
link: Styled<"web", "link", import("react").DetailedHTMLProps<import("react").LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>, unknown, unknown>;
|
|
70
|
+
main: Styled<"web", "main", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
71
|
+
map: Styled<"web", "map", import("react").DetailedHTMLProps<import("react").MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>, unknown, unknown>;
|
|
72
|
+
mark: Styled<"web", "mark", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
73
|
+
menu: Styled<"web", "menu", import("react").DetailedHTMLProps<import("react").MenuHTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
74
|
+
menuitem: Styled<"web", "menuitem", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
75
|
+
meta: Styled<"web", "meta", import("react").DetailedHTMLProps<import("react").MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>, unknown, unknown>;
|
|
76
|
+
meter: Styled<"web", "meter", import("react").DetailedHTMLProps<import("react").MeterHTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
77
|
+
nav: Styled<"web", "nav", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
78
|
+
noindex: Styled<"web", "noindex", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
79
|
+
noscript: Styled<"web", "noscript", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
80
|
+
object: Styled<"web", "object", import("react").DetailedHTMLProps<import("react").ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>, unknown, unknown>;
|
|
81
|
+
ol: Styled<"web", "ol", import("react").DetailedHTMLProps<import("react").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, unknown, unknown>;
|
|
82
|
+
optgroup: Styled<"web", "optgroup", import("react").DetailedHTMLProps<import("react").OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>, unknown, unknown>;
|
|
83
|
+
option: Styled<"web", "option", import("react").DetailedHTMLProps<import("react").OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>, unknown, unknown>;
|
|
84
|
+
output: Styled<"web", "output", import("react").DetailedHTMLProps<import("react").OutputHTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
85
|
+
p: Styled<"web", "p", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, unknown, unknown>;
|
|
86
|
+
param: Styled<"web", "param", import("react").DetailedHTMLProps<import("react").ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>, unknown, unknown>;
|
|
87
|
+
picture: Styled<"web", "picture", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
88
|
+
pre: Styled<"web", "pre", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLPreElement>, HTMLPreElement>, unknown, unknown>;
|
|
89
|
+
progress: Styled<"web", "progress", import("react").DetailedHTMLProps<import("react").ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>, unknown, unknown>;
|
|
90
|
+
q: Styled<"web", "q", import("react").DetailedHTMLProps<import("react").QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, unknown, unknown>;
|
|
91
|
+
rp: Styled<"web", "rp", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
92
|
+
rt: Styled<"web", "rt", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
93
|
+
ruby: Styled<"web", "ruby", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
94
|
+
s: Styled<"web", "s", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
95
|
+
samp: Styled<"web", "samp", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
96
|
+
slot: Styled<"web", "slot", import("react").DetailedHTMLProps<import("react").SlotHTMLAttributes<HTMLSlotElement>, HTMLSlotElement>, unknown, unknown>;
|
|
97
|
+
script: Styled<"web", "script", import("react").DetailedHTMLProps<import("react").ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>, unknown, unknown>;
|
|
98
|
+
section: Styled<"web", "section", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
99
|
+
select: Styled<"web", "select", import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, unknown, unknown>;
|
|
100
|
+
small: Styled<"web", "small", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
101
|
+
source: Styled<"web", "source", import("react").DetailedHTMLProps<import("react").SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>, unknown, unknown>;
|
|
102
|
+
span: Styled<"web", "span", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, unknown, unknown>;
|
|
103
|
+
strong: Styled<"web", "strong", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
104
|
+
style: Styled<"web", "style", import("react").DetailedHTMLProps<import("react").StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>, unknown, unknown>;
|
|
105
|
+
sub: Styled<"web", "sub", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
106
|
+
summary: Styled<"web", "summary", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
107
|
+
sup: Styled<"web", "sup", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
108
|
+
table: Styled<"web", "table", import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, unknown, unknown>;
|
|
109
|
+
template: Styled<"web", "template", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>, unknown, unknown>;
|
|
110
|
+
tbody: Styled<"web", "tbody", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, unknown, unknown>;
|
|
111
|
+
td: Styled<"web", "td", import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, unknown, unknown>;
|
|
112
|
+
textarea: Styled<"web", "textarea", import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, unknown, unknown>;
|
|
113
|
+
tfoot: Styled<"web", "tfoot", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, unknown, unknown>;
|
|
114
|
+
th: Styled<"web", "th", import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, unknown, unknown>;
|
|
115
|
+
thead: Styled<"web", "thead", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, unknown, unknown>;
|
|
116
|
+
time: Styled<"web", "time", import("react").DetailedHTMLProps<import("react").TimeHTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
117
|
+
title: Styled<"web", "title", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>, unknown, unknown>;
|
|
118
|
+
tr: Styled<"web", "tr", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, unknown, unknown>;
|
|
119
|
+
track: Styled<"web", "track", import("react").DetailedHTMLProps<import("react").TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>, unknown, unknown>;
|
|
120
|
+
u: Styled<"web", "u", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
121
|
+
ul: Styled<"web", "ul", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, unknown, unknown>;
|
|
122
|
+
var: Styled<"web", "var", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
123
|
+
video: Styled<"web", "video", import("react").DetailedHTMLProps<import("react").VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, unknown, unknown>;
|
|
124
|
+
wbr: Styled<"web", "wbr", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, unknown, unknown>;
|
|
125
|
+
webview: Styled<"web", "webview", import("react").DetailedHTMLProps<import("react").WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>, unknown, unknown>;
|
|
126
|
+
svg: Styled<"web", "svg", import("react").SVGProps<SVGSVGElement>, unknown, unknown>;
|
|
127
|
+
animate: Styled<"web", "animate", import("react").SVGProps<SVGElement>, unknown, unknown>;
|
|
128
|
+
animateMotion: Styled<"web", "animateMotion", import("react").SVGProps<SVGElement>, unknown, unknown>;
|
|
129
|
+
animateTransform: Styled<"web", "animateTransform", import("react").SVGProps<SVGElement>, unknown, unknown>;
|
|
130
|
+
circle: Styled<"web", "circle", import("react").SVGProps<SVGCircleElement>, unknown, unknown>;
|
|
131
|
+
clipPath: Styled<"web", "clipPath", import("react").SVGProps<SVGClipPathElement>, unknown, unknown>;
|
|
132
|
+
defs: Styled<"web", "defs", import("react").SVGProps<SVGDefsElement>, unknown, unknown>;
|
|
133
|
+
desc: Styled<"web", "desc", import("react").SVGProps<SVGDescElement>, unknown, unknown>;
|
|
134
|
+
ellipse: Styled<"web", "ellipse", import("react").SVGProps<SVGEllipseElement>, unknown, unknown>;
|
|
135
|
+
feBlend: Styled<"web", "feBlend", import("react").SVGProps<SVGFEBlendElement>, unknown, unknown>;
|
|
136
|
+
feColorMatrix: Styled<"web", "feColorMatrix", import("react").SVGProps<SVGFEColorMatrixElement>, unknown, unknown>;
|
|
137
|
+
feComponentTransfer: Styled<"web", "feComponentTransfer", import("react").SVGProps<SVGFEComponentTransferElement>, unknown, unknown>;
|
|
138
|
+
feComposite: Styled<"web", "feComposite", import("react").SVGProps<SVGFECompositeElement>, unknown, unknown>;
|
|
139
|
+
feConvolveMatrix: Styled<"web", "feConvolveMatrix", import("react").SVGProps<SVGFEConvolveMatrixElement>, unknown, unknown>;
|
|
140
|
+
feDiffuseLighting: Styled<"web", "feDiffuseLighting", import("react").SVGProps<SVGFEDiffuseLightingElement>, unknown, unknown>;
|
|
141
|
+
feDisplacementMap: Styled<"web", "feDisplacementMap", import("react").SVGProps<SVGFEDisplacementMapElement>, unknown, unknown>;
|
|
142
|
+
feDistantLight: Styled<"web", "feDistantLight", import("react").SVGProps<SVGFEDistantLightElement>, unknown, unknown>;
|
|
143
|
+
feDropShadow: Styled<"web", "feDropShadow", import("react").SVGProps<SVGFEDropShadowElement>, unknown, unknown>;
|
|
144
|
+
feFlood: Styled<"web", "feFlood", import("react").SVGProps<SVGFEFloodElement>, unknown, unknown>;
|
|
145
|
+
feFuncA: Styled<"web", "feFuncA", import("react").SVGProps<SVGFEFuncAElement>, unknown, unknown>;
|
|
146
|
+
feFuncB: Styled<"web", "feFuncB", import("react").SVGProps<SVGFEFuncBElement>, unknown, unknown>;
|
|
147
|
+
feFuncG: Styled<"web", "feFuncG", import("react").SVGProps<SVGFEFuncGElement>, unknown, unknown>;
|
|
148
|
+
feFuncR: Styled<"web", "feFuncR", import("react").SVGProps<SVGFEFuncRElement>, unknown, unknown>;
|
|
149
|
+
feGaussianBlur: Styled<"web", "feGaussianBlur", import("react").SVGProps<SVGFEGaussianBlurElement>, unknown, unknown>;
|
|
150
|
+
feImage: Styled<"web", "feImage", import("react").SVGProps<SVGFEImageElement>, unknown, unknown>;
|
|
151
|
+
feMerge: Styled<"web", "feMerge", import("react").SVGProps<SVGFEMergeElement>, unknown, unknown>;
|
|
152
|
+
feMergeNode: Styled<"web", "feMergeNode", import("react").SVGProps<SVGFEMergeNodeElement>, unknown, unknown>;
|
|
153
|
+
feMorphology: Styled<"web", "feMorphology", import("react").SVGProps<SVGFEMorphologyElement>, unknown, unknown>;
|
|
154
|
+
feOffset: Styled<"web", "feOffset", import("react").SVGProps<SVGFEOffsetElement>, unknown, unknown>;
|
|
155
|
+
fePointLight: Styled<"web", "fePointLight", import("react").SVGProps<SVGFEPointLightElement>, unknown, unknown>;
|
|
156
|
+
feSpecularLighting: Styled<"web", "feSpecularLighting", import("react").SVGProps<SVGFESpecularLightingElement>, unknown, unknown>;
|
|
157
|
+
feSpotLight: Styled<"web", "feSpotLight", import("react").SVGProps<SVGFESpotLightElement>, unknown, unknown>;
|
|
158
|
+
feTile: Styled<"web", "feTile", import("react").SVGProps<SVGFETileElement>, unknown, unknown>;
|
|
159
|
+
feTurbulence: Styled<"web", "feTurbulence", import("react").SVGProps<SVGFETurbulenceElement>, unknown, unknown>;
|
|
160
|
+
filter: Styled<"web", "filter", import("react").SVGProps<SVGFilterElement>, unknown, unknown>;
|
|
161
|
+
foreignObject: Styled<"web", "foreignObject", import("react").SVGProps<SVGForeignObjectElement>, unknown, unknown>;
|
|
162
|
+
g: Styled<"web", "g", import("react").SVGProps<SVGGElement>, unknown, unknown>;
|
|
163
|
+
image: Styled<"web", "image", import("react").SVGProps<SVGImageElement>, unknown, unknown>;
|
|
164
|
+
line: Styled<"web", "line", import("react").SVGProps<SVGLineElement>, unknown, unknown>;
|
|
165
|
+
linearGradient: Styled<"web", "linearGradient", import("react").SVGProps<SVGLinearGradientElement>, unknown, unknown>;
|
|
166
|
+
marker: Styled<"web", "marker", import("react").SVGProps<SVGMarkerElement>, unknown, unknown>;
|
|
167
|
+
mask: Styled<"web", "mask", import("react").SVGProps<SVGMaskElement>, unknown, unknown>;
|
|
168
|
+
metadata: Styled<"web", "metadata", import("react").SVGProps<SVGMetadataElement>, unknown, unknown>;
|
|
169
|
+
mpath: Styled<"web", "mpath", import("react").SVGProps<SVGElement>, unknown, unknown>;
|
|
170
|
+
path: Styled<"web", "path", import("react").SVGProps<SVGPathElement>, unknown, unknown>;
|
|
171
|
+
pattern: Styled<"web", "pattern", import("react").SVGProps<SVGPatternElement>, unknown, unknown>;
|
|
172
|
+
polygon: Styled<"web", "polygon", import("react").SVGProps<SVGPolygonElement>, unknown, unknown>;
|
|
173
|
+
polyline: Styled<"web", "polyline", import("react").SVGProps<SVGPolylineElement>, unknown, unknown>;
|
|
174
|
+
radialGradient: Styled<"web", "radialGradient", import("react").SVGProps<SVGRadialGradientElement>, unknown, unknown>;
|
|
175
|
+
rect: Styled<"web", "rect", import("react").SVGProps<SVGRectElement>, unknown, unknown>;
|
|
176
|
+
stop: Styled<"web", "stop", import("react").SVGProps<SVGStopElement>, unknown, unknown>;
|
|
177
|
+
switch: Styled<"web", "switch", import("react").SVGProps<SVGSwitchElement>, unknown, unknown>;
|
|
178
|
+
symbol: Styled<"web", "symbol", import("react").SVGProps<SVGSymbolElement>, unknown, unknown>;
|
|
179
|
+
text: Styled<"web", "text", import("react").SVGProps<SVGTextElement>, unknown, unknown>;
|
|
180
|
+
textPath: Styled<"web", "textPath", import("react").SVGProps<SVGTextPathElement>, unknown, unknown>;
|
|
181
|
+
tspan: Styled<"web", "tspan", import("react").SVGProps<SVGTSpanElement>, unknown, unknown>;
|
|
182
|
+
use: Styled<"web", "use", import("react").SVGProps<SVGUseElement>, unknown, unknown>;
|
|
183
|
+
view: Styled<"web", "view", import("react").SVGProps<SVGViewElement>, unknown, unknown>;
|
|
184
184
|
};
|
|
185
185
|
export default styled;
|
|
@@ -8,6 +8,7 @@ export default class ComponentStyle {
|
|
|
8
8
|
baseStyle: ComponentStyle | null | undefined;
|
|
9
9
|
componentId: string;
|
|
10
10
|
isStatic: boolean;
|
|
11
|
+
names: string[];
|
|
11
12
|
rules: RuleSet<any>;
|
|
12
13
|
staticRulesId: string;
|
|
13
14
|
constructor(rules: RuleSet<any>, componentId: string, baseStyle?: ComponentStyle);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { IStyledComponentFactory, RuleSet, StyledOptions, WebTarget } from '../types';
|
|
2
|
-
declare function createStyledComponent<Target extends WebTarget, OuterProps = unknown, Statics = unknown>(target: Target, options: StyledOptions<OuterProps>, rules: RuleSet<OuterProps>): ReturnType<IStyledComponentFactory<Target, OuterProps, Statics>>;
|
|
2
|
+
declare function createStyledComponent<Target extends WebTarget, OuterProps = unknown, Statics = unknown>(target: Target, options: StyledOptions<'web', OuterProps>, rules: RuleSet<OuterProps>): ReturnType<IStyledComponentFactory<'web', Target, OuterProps, Statics>>;
|
|
3
3
|
export default createStyledComponent;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ExtensibleObject, IInlineStyleConstructor,
|
|
2
|
-
declare const _default: (InlineStyle: IInlineStyleConstructor<any>) => <Target extends NativeTarget, OuterProps extends ExtensibleObject, Statics = unknown>(target: Target, options:
|
|
1
|
+
import type { ExtensibleObject, IInlineStyleConstructor, IStyledComponent, IStyledComponentFactory, NativeTarget, RuleSet, StyledOptions } from '../types';
|
|
2
|
+
declare const _default: (InlineStyle: IInlineStyleConstructor<any>) => <Target extends NativeTarget, OuterProps extends ExtensibleObject, Statics = unknown>(target: Target, options: StyledOptions<"native", OuterProps>, rules: RuleSet<OuterProps>) => IStyledComponent<"native", Target, OuterProps> & Statics;
|
|
3
3
|
export default _default;
|