@slimr/styled 2.0.4 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.d.ts +2 -184
- package/cjs/index.js +2 -186
- package/cjs/index.js.map +1 -1
- package/cjs/index.ts +2 -198
- package/cjs/primitives.d.ts +93 -0
- package/cjs/primitives.js +103 -0
- package/cjs/primitives.js.map +1 -0
- package/cjs/primitives.ts +100 -0
- package/cjs/styled.d.ts +184 -0
- package/cjs/styled.js +189 -0
- package/cjs/styled.js.map +1 -0
- package/cjs/styled.ts +197 -0
- package/esm/index.d.ts +2 -184
- package/esm/index.js +2 -185
- package/esm/index.js.map +1 -1
- package/esm/index.ts +2 -198
- package/esm/primitives.d.ts +93 -0
- package/esm/primitives.js +99 -0
- package/esm/primitives.js.map +1 -0
- package/esm/primitives.ts +100 -0
- package/esm/styled.d.ts +184 -0
- package/esm/styled.js +186 -0
- package/esm/styled.js.map +1 -0
- package/esm/styled.ts +197 -0
- package/package.json +8 -3
- package/src/index.ts +2 -198
- package/src/primitives.ts +100 -0
- package/src/styled.ts +197 -0
package/cjs/styled.d.ts
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { styledBase as s } from './core.js';
|
|
3
|
+
export declare const styled: typeof s & {
|
|
4
|
+
/** creates a 'a' component with css applied */
|
|
5
|
+
a: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>>;
|
|
6
|
+
/** creates a 'abbr' component with css applied */
|
|
7
|
+
abbr: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
8
|
+
/** creates a 'address' component with css applied */
|
|
9
|
+
address: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
10
|
+
/** creates a 'area' component with css applied */
|
|
11
|
+
area: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>>;
|
|
12
|
+
/** creates a 'article' component with css applied */
|
|
13
|
+
article: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
14
|
+
/** creates a 'aside' component with css applied */
|
|
15
|
+
aside: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
16
|
+
/** creates a 'audio' component with css applied */
|
|
17
|
+
audio: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>>;
|
|
18
|
+
/** creates a 'b' component with css applied */
|
|
19
|
+
b: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
20
|
+
/** creates a 'big' component with css applied; Deprecated so left out */
|
|
21
|
+
/** creates a 'blockquote' component with css applied */
|
|
22
|
+
blockquote: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>>;
|
|
23
|
+
/** creates a 'body' component with css applied; omitted bc doesnt seem useful */
|
|
24
|
+
/** creates a 'br' component with css applied; omitted bc doesnt seem useful */
|
|
25
|
+
br: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLBRElement>, HTMLBRElement>>;
|
|
26
|
+
/** creates a 'button' component with css applied */
|
|
27
|
+
button: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>;
|
|
28
|
+
/** creates a 'caption' component with css applied */
|
|
29
|
+
caption: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
30
|
+
/** creates a 'cite' component with css applied */
|
|
31
|
+
cite: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
32
|
+
/** creates a 'code' component with css applied */
|
|
33
|
+
code: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
34
|
+
/** creates a 'col' component with css applied */
|
|
35
|
+
col: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>>;
|
|
36
|
+
/** creates a 'colgroup' component with css applied */
|
|
37
|
+
colgroup: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>>;
|
|
38
|
+
/** creates a 'dd' component with css applied */
|
|
39
|
+
dd: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
40
|
+
/** creates a 'del' component with css applied */
|
|
41
|
+
del: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").DelHTMLAttributes<HTMLModElement>, HTMLModElement>>;
|
|
42
|
+
/** creates a 'details' component with css applied */
|
|
43
|
+
details: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").DetailsHTMLAttributes<HTMLDetailsElement>, HTMLDetailsElement>>;
|
|
44
|
+
/** creates a 'dfn' component with css applied */
|
|
45
|
+
dfn: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
46
|
+
/** creates a 'dialog' component with css applied */
|
|
47
|
+
dialog: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>>;
|
|
48
|
+
/** creates a 'div' component with css applied */
|
|
49
|
+
div: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
50
|
+
/** creates a 'dl' component with css applied */
|
|
51
|
+
dl: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDListElement>, HTMLDListElement>>;
|
|
52
|
+
/** creates a 'dt' component with css applied */
|
|
53
|
+
dt: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
54
|
+
/** creates a 'em' component with css applied */
|
|
55
|
+
em: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
56
|
+
/** creates a 'embed' component with css applied */
|
|
57
|
+
embed: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>>;
|
|
58
|
+
/** creates a 'fieldset' component with css applied */
|
|
59
|
+
fieldset: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>>;
|
|
60
|
+
/** creates a 'figcaption' component with css applied */
|
|
61
|
+
figcaption: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
62
|
+
/** creates a 'figure' component with css applied */
|
|
63
|
+
figure: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
64
|
+
/** creates a 'footer' component with css applied */
|
|
65
|
+
footer: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
66
|
+
/** creates a 'form' component with css applied */
|
|
67
|
+
form: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>>;
|
|
68
|
+
/** creates a 'h1' component with css applied */
|
|
69
|
+
h1: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
|
|
70
|
+
/** creates a 'h2' component with css applied */
|
|
71
|
+
h2: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
|
|
72
|
+
/** creates a 'h3' component with css applied */
|
|
73
|
+
h3: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
|
|
74
|
+
/** creates a 'h4' component with css applied */
|
|
75
|
+
h4: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
|
|
76
|
+
/** creates a 'h5' component with css applied */
|
|
77
|
+
h5: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
|
|
78
|
+
/** creates a 'h6' component with css applied */
|
|
79
|
+
h6: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
|
|
80
|
+
/** creates a 'header' component with css applied */
|
|
81
|
+
header: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
82
|
+
/** creates a 'hgroup' component with css applied */
|
|
83
|
+
hgroup: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
84
|
+
/** creates a 'hr' component with css applied */
|
|
85
|
+
hr: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>>;
|
|
86
|
+
/** creates a 'i' component with css applied */
|
|
87
|
+
i: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
88
|
+
/** creates a 'iframe' component with css applied */
|
|
89
|
+
iframe: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>>;
|
|
90
|
+
/** creates a 'img' component with css applied */
|
|
91
|
+
img: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>>;
|
|
92
|
+
/** creates a 'input' component with css applied */
|
|
93
|
+
input: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
|
|
94
|
+
/** creates a 'ins' component with css applied */
|
|
95
|
+
ins: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").InsHTMLAttributes<HTMLModElement>, HTMLModElement>>;
|
|
96
|
+
/** creates a 'kbd' component with css applied */
|
|
97
|
+
kbd: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
98
|
+
/** creates a 'label' component with css applied */
|
|
99
|
+
label: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>>;
|
|
100
|
+
/** creates a 'legend' component with css applied */
|
|
101
|
+
legend: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>>;
|
|
102
|
+
/** creates a 'li' component with css applied */
|
|
103
|
+
li: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>>;
|
|
104
|
+
/** creates a 'main' component with css applied */
|
|
105
|
+
main: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
106
|
+
/** creates a 'map' component with css applied */
|
|
107
|
+
map: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>>;
|
|
108
|
+
/** creates a 'mark' component with css applied */
|
|
109
|
+
mark: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
110
|
+
/** creates a 'meter' component with css applied */
|
|
111
|
+
meter: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").MeterHTMLAttributes<HTMLMeterElement>, HTMLMeterElement>>;
|
|
112
|
+
/** creates a 'nav' component with css applied */
|
|
113
|
+
nav: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
114
|
+
/** creates a 'object' component with css applied */
|
|
115
|
+
object: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>>;
|
|
116
|
+
/** creates a 'ol' component with css applied */
|
|
117
|
+
ol: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>>;
|
|
118
|
+
/** creates a 'optgroup' component with css applied */
|
|
119
|
+
optgroup: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>>;
|
|
120
|
+
/** creates a 'option' component with css applied */
|
|
121
|
+
option: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>>;
|
|
122
|
+
/** creates a 'output' component with css applied */
|
|
123
|
+
output: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").OutputHTMLAttributes<HTMLOutputElement>, HTMLOutputElement>>;
|
|
124
|
+
/** creates a 'p' component with css applied */
|
|
125
|
+
p: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>>;
|
|
126
|
+
/** creates a 'picture' component with css applied */
|
|
127
|
+
picture: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
128
|
+
/** creates a 'pre' component with css applied */
|
|
129
|
+
pre: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLPreElement>, HTMLPreElement>>;
|
|
130
|
+
/** creates a 'progress' component with css applied */
|
|
131
|
+
progress: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>>;
|
|
132
|
+
/** creates a 'q' component with css applied */
|
|
133
|
+
q: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>>;
|
|
134
|
+
/** creates a 'rp' component with css applied */
|
|
135
|
+
rp: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
136
|
+
/** creates a 'rt' component with css applied */
|
|
137
|
+
rt: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
138
|
+
/** creates a 'ruby' component with css applied */
|
|
139
|
+
ruby: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
140
|
+
/** creates a 's' component with css applied */
|
|
141
|
+
s: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
142
|
+
/** creates a 'samp' component with css applied */
|
|
143
|
+
samp: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
144
|
+
/** creates a 'section' component with css applied */
|
|
145
|
+
section: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
146
|
+
/** creates a 'select' component with css applied */
|
|
147
|
+
select: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>>;
|
|
148
|
+
/** creates a 'small' component with css applied */
|
|
149
|
+
small: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
150
|
+
/** creates a 'span' component with css applied */
|
|
151
|
+
span: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
152
|
+
/** creates a 'strong' component with css applied */
|
|
153
|
+
strong: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
154
|
+
/** creates a 'sub' component with css applied */
|
|
155
|
+
sub: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
156
|
+
/** creates a 'summary' component with css applied */
|
|
157
|
+
summary: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
158
|
+
/** creates a 'sup' component with css applied */
|
|
159
|
+
sup: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
160
|
+
/** creates a 'table' component with css applied */
|
|
161
|
+
table: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>>;
|
|
162
|
+
/** creates a 'tbody' component with css applied */
|
|
163
|
+
tbody: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>>;
|
|
164
|
+
/** creates a 'td' component with css applied */
|
|
165
|
+
td: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>>;
|
|
166
|
+
/** creates a 'textarea' component with css applied */
|
|
167
|
+
textarea: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>>;
|
|
168
|
+
/** creates a 'tfoot' component with css applied */
|
|
169
|
+
tfoot: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>>;
|
|
170
|
+
/** creates a 'th' component with css applied */
|
|
171
|
+
th: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>>;
|
|
172
|
+
/** creates a 'thead' component with css applied */
|
|
173
|
+
thead: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>>;
|
|
174
|
+
/** creates a 'time' component with css applied */
|
|
175
|
+
time: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").TimeHTMLAttributes<HTMLTimeElement>, HTMLTimeElement>>;
|
|
176
|
+
/** creates a 'tr' component with css applied */
|
|
177
|
+
tr: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>>;
|
|
178
|
+
/** creates a 'u' component with css applied */
|
|
179
|
+
u: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
180
|
+
/** creates a 'ul' component with css applied */
|
|
181
|
+
ul: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>>;
|
|
182
|
+
/** creates a 'video' component with css applied */
|
|
183
|
+
video: (strings: string | TemplateStringsArray, ...placeHolders: string[]) => import("./core.js").SC<import("react").DetailedHTMLProps<import("react").VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>>;
|
|
184
|
+
};
|
package/cjs/styled.js
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.styled = void 0;
|
|
4
|
+
const core_js_1 = require("./core.js");
|
|
5
|
+
exports.styled = Object.assign(core_js_1.styledBase, {
|
|
6
|
+
/** creates a 'a' component with css applied */
|
|
7
|
+
a: (...p) => (0, core_js_1.styledBase)('a')(...p),
|
|
8
|
+
/** creates a 'abbr' component with css applied */
|
|
9
|
+
abbr: (...p) => (0, core_js_1.styledBase)('abbr')(...p),
|
|
10
|
+
/** creates a 'address' component with css applied */
|
|
11
|
+
address: (...p) => (0, core_js_1.styledBase)('address')(...p),
|
|
12
|
+
/** creates a 'area' component with css applied */
|
|
13
|
+
area: (...p) => (0, core_js_1.styledBase)('area')(...p),
|
|
14
|
+
/** creates a 'article' component with css applied */
|
|
15
|
+
article: (...p) => (0, core_js_1.styledBase)('article')(...p),
|
|
16
|
+
/** creates a 'aside' component with css applied */
|
|
17
|
+
aside: (...p) => (0, core_js_1.styledBase)('aside')(...p),
|
|
18
|
+
/** creates a 'audio' component with css applied */
|
|
19
|
+
audio: (...p) => (0, core_js_1.styledBase)('audio')(...p),
|
|
20
|
+
/** creates a 'b' component with css applied */
|
|
21
|
+
b: (...p) => (0, core_js_1.styledBase)('b')(...p),
|
|
22
|
+
/** creates a 'big' component with css applied; Deprecated so left out */
|
|
23
|
+
// big: (...p: TSP) => styled('big' as unk as FC<HTP['big']>)(...p),
|
|
24
|
+
/** creates a 'blockquote' component with css applied */
|
|
25
|
+
blockquote: (...p) => (0, core_js_1.styledBase)('blockquote')(...p),
|
|
26
|
+
/** creates a 'body' component with css applied; omitted bc doesnt seem useful */
|
|
27
|
+
// body: (...p: TSP) => styled('body' as unk as FC<HTP['body']>)(...p),
|
|
28
|
+
/** creates a 'br' component with css applied; omitted bc doesnt seem useful */
|
|
29
|
+
br: (...p) => (0, core_js_1.styledBase)('br')(...p),
|
|
30
|
+
/** creates a 'button' component with css applied */
|
|
31
|
+
button: (...p) => (0, core_js_1.styledBase)('button')(...p),
|
|
32
|
+
/** creates a 'caption' component with css applied */
|
|
33
|
+
caption: (...p) => (0, core_js_1.styledBase)('caption')(...p),
|
|
34
|
+
/** creates a 'cite' component with css applied */
|
|
35
|
+
cite: (...p) => (0, core_js_1.styledBase)('cite')(...p),
|
|
36
|
+
/** creates a 'code' component with css applied */
|
|
37
|
+
code: (...p) => (0, core_js_1.styledBase)('code')(...p),
|
|
38
|
+
/** creates a 'col' component with css applied */
|
|
39
|
+
col: (...p) => (0, core_js_1.styledBase)('col')(...p),
|
|
40
|
+
/** creates a 'colgroup' component with css applied */
|
|
41
|
+
colgroup: (...p) => (0, core_js_1.styledBase)('colgroup')(...p),
|
|
42
|
+
/** creates a 'dd' component with css applied */
|
|
43
|
+
dd: (...p) => (0, core_js_1.styledBase)('dd')(...p),
|
|
44
|
+
/** creates a 'del' component with css applied */
|
|
45
|
+
del: (...p) => (0, core_js_1.styledBase)('del')(...p),
|
|
46
|
+
/** creates a 'details' component with css applied */
|
|
47
|
+
details: (...p) => (0, core_js_1.styledBase)('details')(...p),
|
|
48
|
+
/** creates a 'dfn' component with css applied */
|
|
49
|
+
dfn: (...p) => (0, core_js_1.styledBase)('dfn')(...p),
|
|
50
|
+
/** creates a 'dialog' component with css applied */
|
|
51
|
+
dialog: (...p) => (0, core_js_1.styledBase)('dialog')(...p),
|
|
52
|
+
/** creates a 'div' component with css applied */
|
|
53
|
+
div: (...p) => (0, core_js_1.styledBase)('div')(...p),
|
|
54
|
+
/** creates a 'dl' component with css applied */
|
|
55
|
+
dl: (...p) => (0, core_js_1.styledBase)('dl')(...p),
|
|
56
|
+
/** creates a 'dt' component with css applied */
|
|
57
|
+
dt: (...p) => (0, core_js_1.styledBase)('dt')(...p),
|
|
58
|
+
/** creates a 'em' component with css applied */
|
|
59
|
+
em: (...p) => (0, core_js_1.styledBase)('em')(...p),
|
|
60
|
+
/** creates a 'embed' component with css applied */
|
|
61
|
+
embed: (...p) => (0, core_js_1.styledBase)('embed')(...p),
|
|
62
|
+
/** creates a 'fieldset' component with css applied */
|
|
63
|
+
fieldset: (...p) => (0, core_js_1.styledBase)('fieldset')(...p),
|
|
64
|
+
/** creates a 'figcaption' component with css applied */
|
|
65
|
+
figcaption: (...p) => (0, core_js_1.styledBase)('figcaption')(...p),
|
|
66
|
+
/** creates a 'figure' component with css applied */
|
|
67
|
+
figure: (...p) => (0, core_js_1.styledBase)('figure')(...p),
|
|
68
|
+
/** creates a 'footer' component with css applied */
|
|
69
|
+
footer: (...p) => (0, core_js_1.styledBase)('footer')(...p),
|
|
70
|
+
/** creates a 'form' component with css applied */
|
|
71
|
+
form: (...p) => (0, core_js_1.styledBase)('form')(...p),
|
|
72
|
+
/** creates a 'h1' component with css applied */
|
|
73
|
+
h1: (...p) => (0, core_js_1.styledBase)('h1')(...p),
|
|
74
|
+
/** creates a 'h2' component with css applied */
|
|
75
|
+
h2: (...p) => (0, core_js_1.styledBase)('h2')(...p),
|
|
76
|
+
/** creates a 'h3' component with css applied */
|
|
77
|
+
h3: (...p) => (0, core_js_1.styledBase)('h3')(...p),
|
|
78
|
+
/** creates a 'h4' component with css applied */
|
|
79
|
+
h4: (...p) => (0, core_js_1.styledBase)('h4')(...p),
|
|
80
|
+
/** creates a 'h5' component with css applied */
|
|
81
|
+
h5: (...p) => (0, core_js_1.styledBase)('h5')(...p),
|
|
82
|
+
/** creates a 'h6' component with css applied */
|
|
83
|
+
h6: (...p) => (0, core_js_1.styledBase)('h6')(...p),
|
|
84
|
+
/** creates a 'header' component with css applied */
|
|
85
|
+
header: (...p) => (0, core_js_1.styledBase)('header')(...p),
|
|
86
|
+
/** creates a 'hgroup' component with css applied */
|
|
87
|
+
hgroup: (...p) => (0, core_js_1.styledBase)('hgroup')(...p),
|
|
88
|
+
/** creates a 'hr' component with css applied */
|
|
89
|
+
hr: (...p) => (0, core_js_1.styledBase)('hr')(...p),
|
|
90
|
+
/** creates a 'i' component with css applied */
|
|
91
|
+
i: (...p) => (0, core_js_1.styledBase)('i')(...p),
|
|
92
|
+
/** creates a 'iframe' component with css applied */
|
|
93
|
+
iframe: (...p) => (0, core_js_1.styledBase)('iframe')(...p),
|
|
94
|
+
/** creates a 'img' component with css applied */
|
|
95
|
+
img: (...p) => (0, core_js_1.styledBase)('img')(...p),
|
|
96
|
+
/** creates a 'input' component with css applied */
|
|
97
|
+
input: (...p) => (0, core_js_1.styledBase)('input')(...p),
|
|
98
|
+
/** creates a 'ins' component with css applied */
|
|
99
|
+
ins: (...p) => (0, core_js_1.styledBase)('ins')(...p),
|
|
100
|
+
/** creates a 'kbd' component with css applied */
|
|
101
|
+
kbd: (...p) => (0, core_js_1.styledBase)('kbd')(...p),
|
|
102
|
+
/** creates a 'label' component with css applied */
|
|
103
|
+
label: (...p) => (0, core_js_1.styledBase)('label')(...p),
|
|
104
|
+
/** creates a 'legend' component with css applied */
|
|
105
|
+
legend: (...p) => (0, core_js_1.styledBase)('legend')(...p),
|
|
106
|
+
/** creates a 'li' component with css applied */
|
|
107
|
+
li: (...p) => (0, core_js_1.styledBase)('li')(...p),
|
|
108
|
+
/** creates a 'main' component with css applied */
|
|
109
|
+
main: (...p) => (0, core_js_1.styledBase)('main')(...p),
|
|
110
|
+
/** creates a 'map' component with css applied */
|
|
111
|
+
map: (...p) => (0, core_js_1.styledBase)('map')(...p),
|
|
112
|
+
/** creates a 'mark' component with css applied */
|
|
113
|
+
mark: (...p) => (0, core_js_1.styledBase)('mark')(...p),
|
|
114
|
+
/** creates a 'meter' component with css applied */
|
|
115
|
+
meter: (...p) => (0, core_js_1.styledBase)('meter')(...p),
|
|
116
|
+
/** creates a 'nav' component with css applied */
|
|
117
|
+
nav: (...p) => (0, core_js_1.styledBase)('nav')(...p),
|
|
118
|
+
/** creates a 'object' component with css applied */
|
|
119
|
+
object: (...p) => (0, core_js_1.styledBase)('object')(...p),
|
|
120
|
+
/** creates a 'ol' component with css applied */
|
|
121
|
+
ol: (...p) => (0, core_js_1.styledBase)('ol')(...p),
|
|
122
|
+
/** creates a 'optgroup' component with css applied */
|
|
123
|
+
optgroup: (...p) => (0, core_js_1.styledBase)('optgroup')(...p),
|
|
124
|
+
/** creates a 'option' component with css applied */
|
|
125
|
+
option: (...p) => (0, core_js_1.styledBase)('option')(...p),
|
|
126
|
+
/** creates a 'output' component with css applied */
|
|
127
|
+
output: (...p) => (0, core_js_1.styledBase)('output')(...p),
|
|
128
|
+
/** creates a 'p' component with css applied */
|
|
129
|
+
p: (...p) => (0, core_js_1.styledBase)('p')(...p),
|
|
130
|
+
/** creates a 'picture' component with css applied */
|
|
131
|
+
picture: (...p) => (0, core_js_1.styledBase)('picture')(...p),
|
|
132
|
+
/** creates a 'pre' component with css applied */
|
|
133
|
+
pre: (...p) => (0, core_js_1.styledBase)('pre')(...p),
|
|
134
|
+
/** creates a 'progress' component with css applied */
|
|
135
|
+
progress: (...p) => (0, core_js_1.styledBase)('progress')(...p),
|
|
136
|
+
/** creates a 'q' component with css applied */
|
|
137
|
+
q: (...p) => (0, core_js_1.styledBase)('q')(...p),
|
|
138
|
+
/** creates a 'rp' component with css applied */
|
|
139
|
+
rp: (...p) => (0, core_js_1.styledBase)('rp')(...p),
|
|
140
|
+
/** creates a 'rt' component with css applied */
|
|
141
|
+
rt: (...p) => (0, core_js_1.styledBase)('rt')(...p),
|
|
142
|
+
/** creates a 'ruby' component with css applied */
|
|
143
|
+
ruby: (...p) => (0, core_js_1.styledBase)('ruby')(...p),
|
|
144
|
+
/** creates a 's' component with css applied */
|
|
145
|
+
s: (...p) => (0, core_js_1.styledBase)('s')(...p),
|
|
146
|
+
/** creates a 'samp' component with css applied */
|
|
147
|
+
samp: (...p) => (0, core_js_1.styledBase)('samp')(...p),
|
|
148
|
+
/** creates a 'section' component with css applied */
|
|
149
|
+
section: (...p) => (0, core_js_1.styledBase)('section')(...p),
|
|
150
|
+
/** creates a 'select' component with css applied */
|
|
151
|
+
select: (...p) => (0, core_js_1.styledBase)('select')(...p),
|
|
152
|
+
/** creates a 'small' component with css applied */
|
|
153
|
+
small: (...p) => (0, core_js_1.styledBase)('small')(...p),
|
|
154
|
+
/** creates a 'span' component with css applied */
|
|
155
|
+
span: (...p) => (0, core_js_1.styledBase)('span')(...p),
|
|
156
|
+
/** creates a 'strong' component with css applied */
|
|
157
|
+
strong: (...p) => (0, core_js_1.styledBase)('strong')(...p),
|
|
158
|
+
/** creates a 'sub' component with css applied */
|
|
159
|
+
sub: (...p) => (0, core_js_1.styledBase)('sub')(...p),
|
|
160
|
+
/** creates a 'summary' component with css applied */
|
|
161
|
+
summary: (...p) => (0, core_js_1.styledBase)('summary')(...p),
|
|
162
|
+
/** creates a 'sup' component with css applied */
|
|
163
|
+
sup: (...p) => (0, core_js_1.styledBase)('sup')(...p),
|
|
164
|
+
/** creates a 'table' component with css applied */
|
|
165
|
+
table: (...p) => (0, core_js_1.styledBase)('table')(...p),
|
|
166
|
+
/** creates a 'tbody' component with css applied */
|
|
167
|
+
tbody: (...p) => (0, core_js_1.styledBase)('tbody')(...p),
|
|
168
|
+
/** creates a 'td' component with css applied */
|
|
169
|
+
td: (...p) => (0, core_js_1.styledBase)('td')(...p),
|
|
170
|
+
/** creates a 'textarea' component with css applied */
|
|
171
|
+
textarea: (...p) => (0, core_js_1.styledBase)('textarea')(...p),
|
|
172
|
+
/** creates a 'tfoot' component with css applied */
|
|
173
|
+
tfoot: (...p) => (0, core_js_1.styledBase)('tfoot')(...p),
|
|
174
|
+
/** creates a 'th' component with css applied */
|
|
175
|
+
th: (...p) => (0, core_js_1.styledBase)('th')(...p),
|
|
176
|
+
/** creates a 'thead' component with css applied */
|
|
177
|
+
thead: (...p) => (0, core_js_1.styledBase)('thead')(...p),
|
|
178
|
+
/** creates a 'time' component with css applied */
|
|
179
|
+
time: (...p) => (0, core_js_1.styledBase)('time')(...p),
|
|
180
|
+
/** creates a 'tr' component with css applied */
|
|
181
|
+
tr: (...p) => (0, core_js_1.styledBase)('tr')(...p),
|
|
182
|
+
/** creates a 'u' component with css applied */
|
|
183
|
+
u: (...p) => (0, core_js_1.styledBase)('u')(...p),
|
|
184
|
+
/** creates a 'ul' component with css applied */
|
|
185
|
+
ul: (...p) => (0, core_js_1.styledBase)('ul')(...p),
|
|
186
|
+
/** creates a 'video' component with css applied */
|
|
187
|
+
video: (...p) => (0, core_js_1.styledBase)('video')(...p),
|
|
188
|
+
});
|
|
189
|
+
//# sourceMappingURL=styled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styled.js","sourceRoot":"","sources":["../src/styled.ts"],"names":[],"mappings":";;;AAIA,uCAAyC;AAS5B,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAC,EAAE;IACrC,+CAA+C;IAC/C,CAAC,EAAE,CAAC,GAAG,CAAM,EAAE,EAAE,CAAC,IAAA,oBAAC,EAAC,GAA0B,CAAC,CAAC,GAAG,CAAC,CAAC;IACrD,kDAAkD;IAClD,IAAI,EAAE,CAAC,GAAG,CAAM,EAAE,EAAE,CAAC,IAAA,oBAAC,EAAC,MAAgC,CAAC,CAAC,GAAG,CAAC,CAAC;IAC9D,qDAAqD;IACrD,OAAO,EAAE,CAAC,GAAG,CAAM,EAAE,EAAE,CAAC,IAAA,oBAAC,EAAC,SAAsC,CAAC,CAAC,GAAG,CAAC,CAAC;IACvE,kDAAkD;IAClD,IAAI,EAAE,CAAC,GAAG,CAAM,EAAE,EAAE,CAAC,IAAA,oBAAC,EAAC,MAAgC,CAAC,CAAC,GAAG,CAAC,CAAC;IAC9D,qDAAqD;IACrD,OAAO,EAAE,CAAC,GAAG,CAAM,EAAE,EAAE,CAAC,IAAA,oBAAC,EAAC,SAAsC,CAAC,CAAC,GAAG,CAAC,CAAC;IACvE,mDAAmD;IACnD,KAAK,EAAE,CAAC,GAAG,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AAG,CAAM,EAAE,EAAE,CAAC,IAAA,oBAAC,EAAC,OAAkC,CAAC,CAAC,GAAG,CAAC,CAAC;IACjE,kDAAkD;IAClD,IAAI,EAAE,CAAC,GAAG,CAAM,EAAE,EAAE,CAAC,IAAA,oBAAC,EAAC,MAAgC,CAAC,CAAC,GAAG,CAAC,CAAC;IAC9D,gDAAgD;IAChD,EAAE,EAAE,CAAC,GAAG,CAAM,EAAE,EAAE,CAAC,IAAA,oBAAC,EAAC,IAA4B,CAAC,CAAC,GAAG,CAAC,CAAC;IACxD,+CAA+C;IAC/C,CAAC,EAAE,CAAC,GAAG,CAAM,EAAE,EAAE,CAAC,IAAA,oBAAC,EAAC,GAA0B,CAAC,CAAC,GAAG,CAAC,CAAC;IACrD,gDAAgD;IAChD,EAAE,EAAE,CAAC,GAAG,CAAM,EAAE,EAAE,CAAC,IAAA,oBAAC,EAAC,IAA4B,CAAC,CAAC,GAAG,CAAC,CAAC;IACxD,mDAAmD;IACnD,KAAK,EAAE,CAAC,GAAG,CAAM,EAAE,EAAE,CAAC,IAAA,oBAAC,EAAC,OAAkC,CAAC,CAAC,GAAG,CAAC,CAAC;CAClE,CAAC,CAAA"}
|
package/cjs/styled.ts
ADDED
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import {TemplateStringProps} from '@slimr/css'
|
|
2
|
+
|
|
3
|
+
import {FC} from 'react'
|
|
4
|
+
|
|
5
|
+
import {styledBase as s} from './core.js'
|
|
6
|
+
|
|
7
|
+
/** Shorthand type */
|
|
8
|
+
type unk = unknown
|
|
9
|
+
/** Shorthand type */
|
|
10
|
+
type TSP = TemplateStringProps
|
|
11
|
+
/** Shorthand type */
|
|
12
|
+
type HTP = JSX.IntrinsicElements
|
|
13
|
+
|
|
14
|
+
export const styled = Object.assign(s, {
|
|
15
|
+
/** creates a 'a' component with css applied */
|
|
16
|
+
a: (...p: TSP) => s('a' as unk as FC<HTP['a']>)(...p),
|
|
17
|
+
/** creates a 'abbr' component with css applied */
|
|
18
|
+
abbr: (...p: TSP) => s('abbr' as unk as FC<HTP['abbr']>)(...p),
|
|
19
|
+
/** creates a 'address' component with css applied */
|
|
20
|
+
address: (...p: TSP) => s('address' as unk as FC<HTP['address']>)(...p),
|
|
21
|
+
/** creates a 'area' component with css applied */
|
|
22
|
+
area: (...p: TSP) => s('area' as unk as FC<HTP['area']>)(...p),
|
|
23
|
+
/** creates a 'article' component with css applied */
|
|
24
|
+
article: (...p: TSP) => s('article' as unk as FC<HTP['article']>)(...p),
|
|
25
|
+
/** creates a 'aside' component with css applied */
|
|
26
|
+
aside: (...p: TSP) => s('aside' as unk as FC<HTP['aside']>)(...p),
|
|
27
|
+
/** creates a 'audio' component with css applied */
|
|
28
|
+
audio: (...p: TSP) => s('audio' as unk as FC<HTP['audio']>)(...p),
|
|
29
|
+
/** creates a 'b' component with css applied */
|
|
30
|
+
b: (...p: TSP) => s('b' as unk as FC<HTP['b']>)(...p),
|
|
31
|
+
/** creates a 'big' component with css applied; Deprecated so left out */
|
|
32
|
+
// big: (...p: TSP) => styled('big' as unk as FC<HTP['big']>)(...p),
|
|
33
|
+
/** creates a 'blockquote' component with css applied */
|
|
34
|
+
blockquote: (...p: TSP) => s('blockquote' as unk as FC<HTP['blockquote']>)(...p),
|
|
35
|
+
/** creates a 'body' component with css applied; omitted bc doesnt seem useful */
|
|
36
|
+
// body: (...p: TSP) => styled('body' as unk as FC<HTP['body']>)(...p),
|
|
37
|
+
/** creates a 'br' component with css applied; omitted bc doesnt seem useful */
|
|
38
|
+
br: (...p: TSP) => s('br' as unk as FC<HTP['br']>)(...p),
|
|
39
|
+
/** creates a 'button' component with css applied */
|
|
40
|
+
button: (...p: TSP) => s('button' as unk as FC<HTP['button']>)(...p),
|
|
41
|
+
/** creates a 'caption' component with css applied */
|
|
42
|
+
caption: (...p: TSP) => s('caption' as unk as FC<HTP['caption']>)(...p),
|
|
43
|
+
/** creates a 'cite' component with css applied */
|
|
44
|
+
cite: (...p: TSP) => s('cite' as unk as FC<HTP['cite']>)(...p),
|
|
45
|
+
/** creates a 'code' component with css applied */
|
|
46
|
+
code: (...p: TSP) => s('code' as unk as FC<HTP['code']>)(...p),
|
|
47
|
+
/** creates a 'col' component with css applied */
|
|
48
|
+
col: (...p: TSP) => s('col' as unk as FC<HTP['col']>)(...p),
|
|
49
|
+
/** creates a 'colgroup' component with css applied */
|
|
50
|
+
colgroup: (...p: TSP) => s('colgroup' as unk as FC<HTP['colgroup']>)(...p),
|
|
51
|
+
/** creates a 'dd' component with css applied */
|
|
52
|
+
dd: (...p: TSP) => s('dd' as unk as FC<HTP['dd']>)(...p),
|
|
53
|
+
/** creates a 'del' component with css applied */
|
|
54
|
+
del: (...p: TSP) => s('del' as unk as FC<HTP['del']>)(...p),
|
|
55
|
+
/** creates a 'details' component with css applied */
|
|
56
|
+
details: (...p: TSP) => s('details' as unk as FC<HTP['details']>)(...p),
|
|
57
|
+
/** creates a 'dfn' component with css applied */
|
|
58
|
+
dfn: (...p: TSP) => s('dfn' as unk as FC<HTP['dfn']>)(...p),
|
|
59
|
+
/** creates a 'dialog' component with css applied */
|
|
60
|
+
dialog: (...p: TSP) => s('dialog' as unk as FC<HTP['dialog']>)(...p),
|
|
61
|
+
/** creates a 'div' component with css applied */
|
|
62
|
+
div: (...p: TSP) => s('div' as unk as FC<HTP['div']>)(...p),
|
|
63
|
+
/** creates a 'dl' component with css applied */
|
|
64
|
+
dl: (...p: TSP) => s('dl' as unk as FC<HTP['dl']>)(...p),
|
|
65
|
+
/** creates a 'dt' component with css applied */
|
|
66
|
+
dt: (...p: TSP) => s('dt' as unk as FC<HTP['dt']>)(...p),
|
|
67
|
+
/** creates a 'em' component with css applied */
|
|
68
|
+
em: (...p: TSP) => s('em' as unk as FC<HTP['em']>)(...p),
|
|
69
|
+
/** creates a 'embed' component with css applied */
|
|
70
|
+
embed: (...p: TSP) => s('embed' as unk as FC<HTP['embed']>)(...p),
|
|
71
|
+
/** creates a 'fieldset' component with css applied */
|
|
72
|
+
fieldset: (...p: TSP) => s('fieldset' as unk as FC<HTP['fieldset']>)(...p),
|
|
73
|
+
/** creates a 'figcaption' component with css applied */
|
|
74
|
+
figcaption: (...p: TSP) => s('figcaption' as unk as FC<HTP['figcaption']>)(...p),
|
|
75
|
+
/** creates a 'figure' component with css applied */
|
|
76
|
+
figure: (...p: TSP) => s('figure' as unk as FC<HTP['figure']>)(...p),
|
|
77
|
+
/** creates a 'footer' component with css applied */
|
|
78
|
+
footer: (...p: TSP) => s('footer' as unk as FC<HTP['footer']>)(...p),
|
|
79
|
+
/** creates a 'form' component with css applied */
|
|
80
|
+
form: (...p: TSP) => s('form' as unk as FC<HTP['form']>)(...p),
|
|
81
|
+
/** creates a 'h1' component with css applied */
|
|
82
|
+
h1: (...p: TSP) => s('h1' as unk as FC<HTP['h1']>)(...p),
|
|
83
|
+
/** creates a 'h2' component with css applied */
|
|
84
|
+
h2: (...p: TSP) => s('h2' as unk as FC<HTP['h2']>)(...p),
|
|
85
|
+
/** creates a 'h3' component with css applied */
|
|
86
|
+
h3: (...p: TSP) => s('h3' as unk as FC<HTP['h3']>)(...p),
|
|
87
|
+
/** creates a 'h4' component with css applied */
|
|
88
|
+
h4: (...p: TSP) => s('h4' as unk as FC<HTP['h4']>)(...p),
|
|
89
|
+
/** creates a 'h5' component with css applied */
|
|
90
|
+
h5: (...p: TSP) => s('h5' as unk as FC<HTP['h5']>)(...p),
|
|
91
|
+
/** creates a 'h6' component with css applied */
|
|
92
|
+
h6: (...p: TSP) => s('h6' as unk as FC<HTP['h6']>)(...p),
|
|
93
|
+
/** creates a 'header' component with css applied */
|
|
94
|
+
header: (...p: TSP) => s('header' as unk as FC<HTP['header']>)(...p),
|
|
95
|
+
/** creates a 'hgroup' component with css applied */
|
|
96
|
+
hgroup: (...p: TSP) => s('hgroup' as unk as FC<HTP['hgroup']>)(...p),
|
|
97
|
+
/** creates a 'hr' component with css applied */
|
|
98
|
+
hr: (...p: TSP) => s('hr' as unk as FC<HTP['hr']>)(...p),
|
|
99
|
+
/** creates a 'i' component with css applied */
|
|
100
|
+
i: (...p: TSP) => s('i' as unk as FC<HTP['i']>)(...p),
|
|
101
|
+
/** creates a 'iframe' component with css applied */
|
|
102
|
+
iframe: (...p: TSP) => s('iframe' as unk as FC<HTP['iframe']>)(...p),
|
|
103
|
+
/** creates a 'img' component with css applied */
|
|
104
|
+
img: (...p: TSP) => s('img' as unk as FC<HTP['img']>)(...p),
|
|
105
|
+
/** creates a 'input' component with css applied */
|
|
106
|
+
input: (...p: TSP) => s('input' as unk as FC<HTP['input']>)(...p),
|
|
107
|
+
/** creates a 'ins' component with css applied */
|
|
108
|
+
ins: (...p: TSP) => s('ins' as unk as FC<HTP['ins']>)(...p),
|
|
109
|
+
/** creates a 'kbd' component with css applied */
|
|
110
|
+
kbd: (...p: TSP) => s('kbd' as unk as FC<HTP['kbd']>)(...p),
|
|
111
|
+
/** creates a 'label' component with css applied */
|
|
112
|
+
label: (...p: TSP) => s('label' as unk as FC<HTP['label']>)(...p),
|
|
113
|
+
/** creates a 'legend' component with css applied */
|
|
114
|
+
legend: (...p: TSP) => s('legend' as unk as FC<HTP['legend']>)(...p),
|
|
115
|
+
/** creates a 'li' component with css applied */
|
|
116
|
+
li: (...p: TSP) => s('li' as unk as FC<HTP['li']>)(...p),
|
|
117
|
+
/** creates a 'main' component with css applied */
|
|
118
|
+
main: (...p: TSP) => s('main' as unk as FC<HTP['main']>)(...p),
|
|
119
|
+
/** creates a 'map' component with css applied */
|
|
120
|
+
map: (...p: TSP) => s('map' as unk as FC<HTP['map']>)(...p),
|
|
121
|
+
/** creates a 'mark' component with css applied */
|
|
122
|
+
mark: (...p: TSP) => s('mark' as unk as FC<HTP['mark']>)(...p),
|
|
123
|
+
/** creates a 'meter' component with css applied */
|
|
124
|
+
meter: (...p: TSP) => s('meter' as unk as FC<HTP['meter']>)(...p),
|
|
125
|
+
/** creates a 'nav' component with css applied */
|
|
126
|
+
nav: (...p: TSP) => s('nav' as unk as FC<HTP['nav']>)(...p),
|
|
127
|
+
/** creates a 'object' component with css applied */
|
|
128
|
+
object: (...p: TSP) => s('object' as unk as FC<HTP['object']>)(...p),
|
|
129
|
+
/** creates a 'ol' component with css applied */
|
|
130
|
+
ol: (...p: TSP) => s('ol' as unk as FC<HTP['ol']>)(...p),
|
|
131
|
+
/** creates a 'optgroup' component with css applied */
|
|
132
|
+
optgroup: (...p: TSP) => s('optgroup' as unk as FC<HTP['optgroup']>)(...p),
|
|
133
|
+
/** creates a 'option' component with css applied */
|
|
134
|
+
option: (...p: TSP) => s('option' as unk as FC<HTP['option']>)(...p),
|
|
135
|
+
/** creates a 'output' component with css applied */
|
|
136
|
+
output: (...p: TSP) => s('output' as unk as FC<HTP['output']>)(...p),
|
|
137
|
+
/** creates a 'p' component with css applied */
|
|
138
|
+
p: (...p: TSP) => s('p' as unk as FC<HTP['p']>)(...p),
|
|
139
|
+
/** creates a 'picture' component with css applied */
|
|
140
|
+
picture: (...p: TSP) => s('picture' as unk as FC<HTP['picture']>)(...p),
|
|
141
|
+
/** creates a 'pre' component with css applied */
|
|
142
|
+
pre: (...p: TSP) => s('pre' as unk as FC<HTP['pre']>)(...p),
|
|
143
|
+
/** creates a 'progress' component with css applied */
|
|
144
|
+
progress: (...p: TSP) => s('progress' as unk as FC<HTP['progress']>)(...p),
|
|
145
|
+
/** creates a 'q' component with css applied */
|
|
146
|
+
q: (...p: TSP) => s('q' as unk as FC<HTP['q']>)(...p),
|
|
147
|
+
/** creates a 'rp' component with css applied */
|
|
148
|
+
rp: (...p: TSP) => s('rp' as unk as FC<HTP['rp']>)(...p),
|
|
149
|
+
/** creates a 'rt' component with css applied */
|
|
150
|
+
rt: (...p: TSP) => s('rt' as unk as FC<HTP['rt']>)(...p),
|
|
151
|
+
/** creates a 'ruby' component with css applied */
|
|
152
|
+
ruby: (...p: TSP) => s('ruby' as unk as FC<HTP['ruby']>)(...p),
|
|
153
|
+
/** creates a 's' component with css applied */
|
|
154
|
+
s: (...p: TSP) => s('s' as unk as FC<HTP['s']>)(...p),
|
|
155
|
+
/** creates a 'samp' component with css applied */
|
|
156
|
+
samp: (...p: TSP) => s('samp' as unk as FC<HTP['samp']>)(...p),
|
|
157
|
+
/** creates a 'section' component with css applied */
|
|
158
|
+
section: (...p: TSP) => s('section' as unk as FC<HTP['section']>)(...p),
|
|
159
|
+
/** creates a 'select' component with css applied */
|
|
160
|
+
select: (...p: TSP) => s('select' as unk as FC<HTP['select']>)(...p),
|
|
161
|
+
/** creates a 'small' component with css applied */
|
|
162
|
+
small: (...p: TSP) => s('small' as unk as FC<HTP['small']>)(...p),
|
|
163
|
+
/** creates a 'span' component with css applied */
|
|
164
|
+
span: (...p: TSP) => s('span' as unk as FC<HTP['span']>)(...p),
|
|
165
|
+
/** creates a 'strong' component with css applied */
|
|
166
|
+
strong: (...p: TSP) => s('strong' as unk as FC<HTP['strong']>)(...p),
|
|
167
|
+
/** creates a 'sub' component with css applied */
|
|
168
|
+
sub: (...p: TSP) => s('sub' as unk as FC<HTP['sub']>)(...p),
|
|
169
|
+
/** creates a 'summary' component with css applied */
|
|
170
|
+
summary: (...p: TSP) => s('summary' as unk as FC<HTP['summary']>)(...p),
|
|
171
|
+
/** creates a 'sup' component with css applied */
|
|
172
|
+
sup: (...p: TSP) => s('sup' as unk as FC<HTP['sup']>)(...p),
|
|
173
|
+
/** creates a 'table' component with css applied */
|
|
174
|
+
table: (...p: TSP) => s('table' as unk as FC<HTP['table']>)(...p),
|
|
175
|
+
/** creates a 'tbody' component with css applied */
|
|
176
|
+
tbody: (...p: TSP) => s('tbody' as unk as FC<HTP['tbody']>)(...p),
|
|
177
|
+
/** creates a 'td' component with css applied */
|
|
178
|
+
td: (...p: TSP) => s('td' as unk as FC<HTP['td']>)(...p),
|
|
179
|
+
/** creates a 'textarea' component with css applied */
|
|
180
|
+
textarea: (...p: TSP) => s('textarea' as unk as FC<HTP['textarea']>)(...p),
|
|
181
|
+
/** creates a 'tfoot' component with css applied */
|
|
182
|
+
tfoot: (...p: TSP) => s('tfoot' as unk as FC<HTP['tfoot']>)(...p),
|
|
183
|
+
/** creates a 'th' component with css applied */
|
|
184
|
+
th: (...p: TSP) => s('th' as unk as FC<HTP['th']>)(...p),
|
|
185
|
+
/** creates a 'thead' component with css applied */
|
|
186
|
+
thead: (...p: TSP) => s('thead' as unk as FC<HTP['thead']>)(...p),
|
|
187
|
+
/** creates a 'time' component with css applied */
|
|
188
|
+
time: (...p: TSP) => s('time' as unk as FC<HTP['time']>)(...p),
|
|
189
|
+
/** creates a 'tr' component with css applied */
|
|
190
|
+
tr: (...p: TSP) => s('tr' as unk as FC<HTP['tr']>)(...p),
|
|
191
|
+
/** creates a 'u' component with css applied */
|
|
192
|
+
u: (...p: TSP) => s('u' as unk as FC<HTP['u']>)(...p),
|
|
193
|
+
/** creates a 'ul' component with css applied */
|
|
194
|
+
ul: (...p: TSP) => s('ul' as unk as FC<HTP['ul']>)(...p),
|
|
195
|
+
/** creates a 'video' component with css applied */
|
|
196
|
+
video: (...p: TSP) => s('video' as unk as FC<HTP['video']>)(...p),
|
|
197
|
+
})
|