@kurone-kito/web-toybox-solid 0.1.0-alpha.1 → 0.1.0-alpha.11
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 +27 -6
- package/dist/components/atoms/meta/LinkList.d.ts +12 -0
- package/dist/components/atoms/meta/LinkList.d.ts.map +1 -1
- package/dist/components/atoms/meta/MetaList.d.ts +12 -0
- package/dist/components/atoms/meta/MetaList.d.ts.map +1 -1
- package/dist/components/atoms/meta/Ogp.d.ts +15 -0
- package/dist/components/atoms/meta/Ogp.d.ts.map +1 -1
- package/dist/components/atoms/meta/Title.d.ts +4 -0
- package/dist/components/atoms/meta/Title.d.ts.map +1 -1
- package/dist/components/atoms/meta/XCard.d.ts +11 -1
- package/dist/components/atoms/meta/XCard.d.ts.map +1 -1
- package/dist/components/molecules/Head.d.ts +19 -0
- package/dist/components/molecules/Head.d.ts.map +1 -1
- package/dist/index.d.mts +5 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +39 -9
- package/dist/index.mjs.map +1 -1
- package/dist/modules/createTick.d.mts +16 -0
- package/dist/modules/createTick.d.mts.map +1 -0
- package/dist/types/AccessorObject.d.mts +24 -0
- package/dist/types/AccessorObject.d.mts.map +1 -0
- package/docs/README.md +39 -0
- package/docs/functions/createTick.md +24 -0
- package/docs/globals.md +34 -0
- package/docs/interfaces/CreateTickParams.md +37 -0
- package/docs/interfaces/HeadProps.md +275 -0
- package/docs/interfaces/LinkListProps.md +69 -0
- package/docs/interfaces/MetaListProps.md +59 -0
- package/docs/interfaces/OgpProps.md +93 -0
- package/docs/interfaces/TitleProps.md +29 -0
- package/docs/interfaces/XCardProps.md +49 -0
- package/docs/type-aliases/AccessorObject.md +38 -0
- package/docs/type-aliases/Robots.md +9 -0
- package/docs/variables/Head.md +40 -0
- package/docs/variables/LinkList.md +33 -0
- package/docs/variables/MetaList.md +31 -0
- package/docs/variables/MetaProvider.md +9 -0
- package/docs/variables/Ogp.md +36 -0
- package/docs/variables/Title.md +25 -0
- package/docs/variables/XCard.md +31 -0
- package/package.json +19 -18
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[**@kurone-kito/web-toybox-solid**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@kurone-kito/web-toybox-solid](../globals.md) / CreateTickParams
|
|
6
|
+
|
|
7
|
+
# Interface: CreateTickParams
|
|
8
|
+
|
|
9
|
+
Type definition for the parameters of createTick function.
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### callback()
|
|
14
|
+
|
|
15
|
+
> `readonly` **callback**: () => `void`
|
|
16
|
+
|
|
17
|
+
The callback function to be called at each tick.
|
|
18
|
+
|
|
19
|
+
#### Returns
|
|
20
|
+
|
|
21
|
+
`void`
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### immediate?
|
|
26
|
+
|
|
27
|
+
> `readonly` `optional` **immediate**: `boolean`
|
|
28
|
+
|
|
29
|
+
Whether to call the callback immediately upon creation.
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### interval
|
|
34
|
+
|
|
35
|
+
> `readonly` **interval**: `number`
|
|
36
|
+
|
|
37
|
+
The interval in milliseconds between each tick.
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
[**@kurone-kito/web-toybox-solid**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@kurone-kito/web-toybox-solid](../globals.md) / HeadProps
|
|
6
|
+
|
|
7
|
+
# Interface: HeadProps
|
|
8
|
+
|
|
9
|
+
Type definition for the properties.
|
|
10
|
+
|
|
11
|
+
## Extends
|
|
12
|
+
|
|
13
|
+
- [`LinkListProps`](LinkListProps.md).[`MetaListProps`](MetaListProps.md).[`OgpProps`](OgpProps.md).[`TitleProps`](TitleProps.md).`Except`\<[`XCardProps`](XCardProps.md), `"image"`\>
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### author?
|
|
18
|
+
|
|
19
|
+
> `readonly` `optional` **author**: `string`
|
|
20
|
+
|
|
21
|
+
The author of the meta tag.
|
|
22
|
+
|
|
23
|
+
#### Inherited from
|
|
24
|
+
|
|
25
|
+
[`MetaListProps`](MetaListProps.md).[`author`](MetaListProps.md#author)
|
|
26
|
+
|
|
27
|
+
***
|
|
28
|
+
|
|
29
|
+
### authorUrl?
|
|
30
|
+
|
|
31
|
+
> `readonly` `optional` **authorUrl**: `string`
|
|
32
|
+
|
|
33
|
+
The author URL.
|
|
34
|
+
|
|
35
|
+
#### Inherited from
|
|
36
|
+
|
|
37
|
+
[`LinkListProps`](LinkListProps.md).[`authorUrl`](LinkListProps.md#authorurl)
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### colorDark?
|
|
42
|
+
|
|
43
|
+
> `readonly` `optional` **colorDark**: `string`
|
|
44
|
+
|
|
45
|
+
The color of the meta tag on the dark mode.
|
|
46
|
+
|
|
47
|
+
#### Inherited from
|
|
48
|
+
|
|
49
|
+
[`MetaListProps`](MetaListProps.md).[`colorDark`](MetaListProps.md#colordark)
|
|
50
|
+
|
|
51
|
+
***
|
|
52
|
+
|
|
53
|
+
### colorLight?
|
|
54
|
+
|
|
55
|
+
> `readonly` `optional` **colorLight**: `string`
|
|
56
|
+
|
|
57
|
+
The color of the meta tag on the light mode.
|
|
58
|
+
|
|
59
|
+
#### Inherited from
|
|
60
|
+
|
|
61
|
+
[`MetaListProps`](MetaListProps.md).[`colorLight`](MetaListProps.md#colorlight)
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### description?
|
|
66
|
+
|
|
67
|
+
> `readonly` `optional` **description**: `string`
|
|
68
|
+
|
|
69
|
+
The description of the meta tag.
|
|
70
|
+
|
|
71
|
+
#### Inherited from
|
|
72
|
+
|
|
73
|
+
[`MetaListProps`](MetaListProps.md).[`description`](MetaListProps.md#description)
|
|
74
|
+
|
|
75
|
+
***
|
|
76
|
+
|
|
77
|
+
### faviconType?
|
|
78
|
+
|
|
79
|
+
> `readonly` `optional` **faviconType**: `string`
|
|
80
|
+
|
|
81
|
+
The mime type of the favicon.
|
|
82
|
+
|
|
83
|
+
#### Inherited from
|
|
84
|
+
|
|
85
|
+
[`LinkListProps`](LinkListProps.md).[`faviconType`](LinkListProps.md#favicontype)
|
|
86
|
+
|
|
87
|
+
***
|
|
88
|
+
|
|
89
|
+
### faviconUrl?
|
|
90
|
+
|
|
91
|
+
> `readonly` `optional` **faviconUrl**: `string`
|
|
92
|
+
|
|
93
|
+
The favicon URL.
|
|
94
|
+
|
|
95
|
+
#### Inherited from
|
|
96
|
+
|
|
97
|
+
[`LinkListProps`](LinkListProps.md).[`faviconUrl`](LinkListProps.md#faviconurl)
|
|
98
|
+
|
|
99
|
+
***
|
|
100
|
+
|
|
101
|
+
### imageAlt?
|
|
102
|
+
|
|
103
|
+
> `readonly` `optional` **imageAlt**: `string`
|
|
104
|
+
|
|
105
|
+
The alt text of the images.
|
|
106
|
+
|
|
107
|
+
#### Inherited from
|
|
108
|
+
|
|
109
|
+
[`OgpProps`](OgpProps.md).[`imageAlt`](OgpProps.md#imagealt)
|
|
110
|
+
|
|
111
|
+
***
|
|
112
|
+
|
|
113
|
+
### imageHeight?
|
|
114
|
+
|
|
115
|
+
> `readonly` `optional` **imageHeight**: `string` \| `number`
|
|
116
|
+
|
|
117
|
+
The height of the images.
|
|
118
|
+
|
|
119
|
+
#### Inherited from
|
|
120
|
+
|
|
121
|
+
[`OgpProps`](OgpProps.md).[`imageHeight`](OgpProps.md#imageheight)
|
|
122
|
+
|
|
123
|
+
***
|
|
124
|
+
|
|
125
|
+
### images?
|
|
126
|
+
|
|
127
|
+
> `readonly` `optional` **images**: readonly `string`[]
|
|
128
|
+
|
|
129
|
+
The image URLs of the page.
|
|
130
|
+
|
|
131
|
+
#### Inherited from
|
|
132
|
+
|
|
133
|
+
[`OgpProps`](OgpProps.md).[`images`](OgpProps.md#images)
|
|
134
|
+
|
|
135
|
+
***
|
|
136
|
+
|
|
137
|
+
### imageType?
|
|
138
|
+
|
|
139
|
+
> `readonly` `optional` **imageType**: `string`
|
|
140
|
+
|
|
141
|
+
The mime type of the images.
|
|
142
|
+
|
|
143
|
+
#### Inherited from
|
|
144
|
+
|
|
145
|
+
[`OgpProps`](OgpProps.md).[`imageType`](OgpProps.md#imagetype)
|
|
146
|
+
|
|
147
|
+
***
|
|
148
|
+
|
|
149
|
+
### imageWidth?
|
|
150
|
+
|
|
151
|
+
> `readonly` `optional` **imageWidth**: `string` \| `number`
|
|
152
|
+
|
|
153
|
+
The width of the images.
|
|
154
|
+
|
|
155
|
+
#### Inherited from
|
|
156
|
+
|
|
157
|
+
[`OgpProps`](OgpProps.md).[`imageWidth`](OgpProps.md#imagewidth)
|
|
158
|
+
|
|
159
|
+
***
|
|
160
|
+
|
|
161
|
+
### keywords?
|
|
162
|
+
|
|
163
|
+
> `readonly` `optional` **keywords**: `string`
|
|
164
|
+
|
|
165
|
+
The keywords of the meta tag.
|
|
166
|
+
|
|
167
|
+
#### Inherited from
|
|
168
|
+
|
|
169
|
+
[`MetaListProps`](MetaListProps.md).[`keywords`](MetaListProps.md#keywords)
|
|
170
|
+
|
|
171
|
+
***
|
|
172
|
+
|
|
173
|
+
### language?
|
|
174
|
+
|
|
175
|
+
> `readonly` `optional` **language**: `string`
|
|
176
|
+
|
|
177
|
+
The language of the page.
|
|
178
|
+
|
|
179
|
+
#### Inherited from
|
|
180
|
+
|
|
181
|
+
[`OgpProps`](OgpProps.md).[`language`](OgpProps.md#language)
|
|
182
|
+
|
|
183
|
+
***
|
|
184
|
+
|
|
185
|
+
### licenseUrl?
|
|
186
|
+
|
|
187
|
+
> `readonly` `optional` **licenseUrl**: `string`
|
|
188
|
+
|
|
189
|
+
The license URL.
|
|
190
|
+
|
|
191
|
+
#### Inherited from
|
|
192
|
+
|
|
193
|
+
[`LinkListProps`](LinkListProps.md).[`licenseUrl`](LinkListProps.md#licenseurl)
|
|
194
|
+
|
|
195
|
+
***
|
|
196
|
+
|
|
197
|
+
### next?
|
|
198
|
+
|
|
199
|
+
> `readonly` `optional` **next**: `string`
|
|
200
|
+
|
|
201
|
+
The next page URL.
|
|
202
|
+
|
|
203
|
+
#### Inherited from
|
|
204
|
+
|
|
205
|
+
[`LinkListProps`](LinkListProps.md).[`next`](LinkListProps.md#next)
|
|
206
|
+
|
|
207
|
+
***
|
|
208
|
+
|
|
209
|
+
### preloadImages?
|
|
210
|
+
|
|
211
|
+
> `readonly` `optional` **preloadImages**: readonly `string`[]
|
|
212
|
+
|
|
213
|
+
The images to preload.
|
|
214
|
+
|
|
215
|
+
#### Inherited from
|
|
216
|
+
|
|
217
|
+
[`LinkListProps`](LinkListProps.md).[`preloadImages`](LinkListProps.md#preloadimages)
|
|
218
|
+
|
|
219
|
+
***
|
|
220
|
+
|
|
221
|
+
### prev?
|
|
222
|
+
|
|
223
|
+
> `readonly` `optional` **prev**: `string`
|
|
224
|
+
|
|
225
|
+
The previous page URL.
|
|
226
|
+
|
|
227
|
+
#### Inherited from
|
|
228
|
+
|
|
229
|
+
[`LinkListProps`](LinkListProps.md).[`prev`](LinkListProps.md#prev)
|
|
230
|
+
|
|
231
|
+
***
|
|
232
|
+
|
|
233
|
+
### robots?
|
|
234
|
+
|
|
235
|
+
> `readonly` `optional` **robots**: readonly [`Robots`](../type-aliases/Robots.md)[]
|
|
236
|
+
|
|
237
|
+
#### Inherited from
|
|
238
|
+
|
|
239
|
+
[`MetaListProps`](MetaListProps.md).[`robots`](MetaListProps.md#robots)
|
|
240
|
+
|
|
241
|
+
***
|
|
242
|
+
|
|
243
|
+
### siteName
|
|
244
|
+
|
|
245
|
+
> `readonly` **siteName**: `string`
|
|
246
|
+
|
|
247
|
+
The site name.
|
|
248
|
+
|
|
249
|
+
#### Inherited from
|
|
250
|
+
|
|
251
|
+
[`OgpProps`](OgpProps.md).[`siteName`](OgpProps.md#sitename)
|
|
252
|
+
|
|
253
|
+
***
|
|
254
|
+
|
|
255
|
+
### title?
|
|
256
|
+
|
|
257
|
+
> `readonly` `optional` **title**: `string`
|
|
258
|
+
|
|
259
|
+
The title of the page.
|
|
260
|
+
|
|
261
|
+
#### Inherited from
|
|
262
|
+
|
|
263
|
+
[`OgpProps`](OgpProps.md).[`title`](OgpProps.md#title)
|
|
264
|
+
|
|
265
|
+
***
|
|
266
|
+
|
|
267
|
+
### url?
|
|
268
|
+
|
|
269
|
+
> `readonly` `optional` **url**: `string`
|
|
270
|
+
|
|
271
|
+
The URL of the page.
|
|
272
|
+
|
|
273
|
+
#### Inherited from
|
|
274
|
+
|
|
275
|
+
[`OgpProps`](OgpProps.md).[`url`](OgpProps.md#url)
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
[**@kurone-kito/web-toybox-solid**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@kurone-kito/web-toybox-solid](../globals.md) / LinkListProps
|
|
6
|
+
|
|
7
|
+
# Interface: LinkListProps
|
|
8
|
+
|
|
9
|
+
Type definition for the properties.
|
|
10
|
+
|
|
11
|
+
## Extended by
|
|
12
|
+
|
|
13
|
+
- [`HeadProps`](HeadProps.md)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### authorUrl?
|
|
18
|
+
|
|
19
|
+
> `readonly` `optional` **authorUrl**: `string`
|
|
20
|
+
|
|
21
|
+
The author URL.
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### faviconType?
|
|
26
|
+
|
|
27
|
+
> `readonly` `optional` **faviconType**: `string`
|
|
28
|
+
|
|
29
|
+
The mime type of the favicon.
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### faviconUrl?
|
|
34
|
+
|
|
35
|
+
> `readonly` `optional` **faviconUrl**: `string`
|
|
36
|
+
|
|
37
|
+
The favicon URL.
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### licenseUrl?
|
|
42
|
+
|
|
43
|
+
> `readonly` `optional` **licenseUrl**: `string`
|
|
44
|
+
|
|
45
|
+
The license URL.
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### next?
|
|
50
|
+
|
|
51
|
+
> `readonly` `optional` **next**: `string`
|
|
52
|
+
|
|
53
|
+
The next page URL.
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### preloadImages?
|
|
58
|
+
|
|
59
|
+
> `readonly` `optional` **preloadImages**: readonly `string`[]
|
|
60
|
+
|
|
61
|
+
The images to preload.
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### prev?
|
|
66
|
+
|
|
67
|
+
> `readonly` `optional` **prev**: `string`
|
|
68
|
+
|
|
69
|
+
The previous page URL.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
[**@kurone-kito/web-toybox-solid**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@kurone-kito/web-toybox-solid](../globals.md) / MetaListProps
|
|
6
|
+
|
|
7
|
+
# Interface: MetaListProps
|
|
8
|
+
|
|
9
|
+
Type definition for the properties.
|
|
10
|
+
|
|
11
|
+
## Extended by
|
|
12
|
+
|
|
13
|
+
- [`HeadProps`](HeadProps.md)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### author?
|
|
18
|
+
|
|
19
|
+
> `readonly` `optional` **author**: `string`
|
|
20
|
+
|
|
21
|
+
The author of the meta tag.
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### colorDark?
|
|
26
|
+
|
|
27
|
+
> `readonly` `optional` **colorDark**: `string`
|
|
28
|
+
|
|
29
|
+
The color of the meta tag on the dark mode.
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### colorLight?
|
|
34
|
+
|
|
35
|
+
> `readonly` `optional` **colorLight**: `string`
|
|
36
|
+
|
|
37
|
+
The color of the meta tag on the light mode.
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### description?
|
|
42
|
+
|
|
43
|
+
> `readonly` `optional` **description**: `string`
|
|
44
|
+
|
|
45
|
+
The description of the meta tag.
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### keywords?
|
|
50
|
+
|
|
51
|
+
> `readonly` `optional` **keywords**: `string`
|
|
52
|
+
|
|
53
|
+
The keywords of the meta tag.
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### robots?
|
|
58
|
+
|
|
59
|
+
> `readonly` `optional` **robots**: readonly [`Robots`](../type-aliases/Robots.md)[]
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
[**@kurone-kito/web-toybox-solid**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@kurone-kito/web-toybox-solid](../globals.md) / OgpProps
|
|
6
|
+
|
|
7
|
+
# Interface: OgpProps
|
|
8
|
+
|
|
9
|
+
Type definition for the properties.
|
|
10
|
+
|
|
11
|
+
## Extended by
|
|
12
|
+
|
|
13
|
+
- [`HeadProps`](HeadProps.md)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### description?
|
|
18
|
+
|
|
19
|
+
> `readonly` `optional` **description**: `string`
|
|
20
|
+
|
|
21
|
+
The description of the page.
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### imageAlt?
|
|
26
|
+
|
|
27
|
+
> `readonly` `optional` **imageAlt**: `string`
|
|
28
|
+
|
|
29
|
+
The alt text of the images.
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### imageHeight?
|
|
34
|
+
|
|
35
|
+
> `readonly` `optional` **imageHeight**: `string` \| `number`
|
|
36
|
+
|
|
37
|
+
The height of the images.
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### images?
|
|
42
|
+
|
|
43
|
+
> `readonly` `optional` **images**: readonly `string`[]
|
|
44
|
+
|
|
45
|
+
The image URLs of the page.
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### imageType?
|
|
50
|
+
|
|
51
|
+
> `readonly` `optional` **imageType**: `string`
|
|
52
|
+
|
|
53
|
+
The mime type of the images.
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### imageWidth?
|
|
58
|
+
|
|
59
|
+
> `readonly` `optional` **imageWidth**: `string` \| `number`
|
|
60
|
+
|
|
61
|
+
The width of the images.
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### language?
|
|
66
|
+
|
|
67
|
+
> `readonly` `optional` **language**: `string`
|
|
68
|
+
|
|
69
|
+
The language of the page.
|
|
70
|
+
|
|
71
|
+
***
|
|
72
|
+
|
|
73
|
+
### siteName
|
|
74
|
+
|
|
75
|
+
> `readonly` **siteName**: `string`
|
|
76
|
+
|
|
77
|
+
The site name.
|
|
78
|
+
|
|
79
|
+
***
|
|
80
|
+
|
|
81
|
+
### title?
|
|
82
|
+
|
|
83
|
+
> `readonly` `optional` **title**: `string`
|
|
84
|
+
|
|
85
|
+
The title of the page.
|
|
86
|
+
|
|
87
|
+
***
|
|
88
|
+
|
|
89
|
+
### url?
|
|
90
|
+
|
|
91
|
+
> `readonly` `optional` **url**: `string`
|
|
92
|
+
|
|
93
|
+
The URL of the page.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[**@kurone-kito/web-toybox-solid**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@kurone-kito/web-toybox-solid](../globals.md) / TitleProps
|
|
6
|
+
|
|
7
|
+
# Interface: TitleProps
|
|
8
|
+
|
|
9
|
+
Type definition for the properties.
|
|
10
|
+
|
|
11
|
+
## Extended by
|
|
12
|
+
|
|
13
|
+
- [`HeadProps`](HeadProps.md)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### siteName
|
|
18
|
+
|
|
19
|
+
> `readonly` **siteName**: `string`
|
|
20
|
+
|
|
21
|
+
The site name.
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### title?
|
|
26
|
+
|
|
27
|
+
> `readonly` `optional` **title**: `string`
|
|
28
|
+
|
|
29
|
+
The title of the page.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
[**@kurone-kito/web-toybox-solid**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@kurone-kito/web-toybox-solid](../globals.md) / XCardProps
|
|
6
|
+
|
|
7
|
+
# Interface: XCardProps
|
|
8
|
+
|
|
9
|
+
Type definition for the properties.
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### author?
|
|
14
|
+
|
|
15
|
+
> `readonly` `optional` **author**: `string`
|
|
16
|
+
|
|
17
|
+
The author of the meta tag.
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### description?
|
|
22
|
+
|
|
23
|
+
> `readonly` `optional` **description**: `string`
|
|
24
|
+
|
|
25
|
+
The card description.
|
|
26
|
+
|
|
27
|
+
***
|
|
28
|
+
|
|
29
|
+
### image?
|
|
30
|
+
|
|
31
|
+
> `readonly` `optional` **image**: `string`
|
|
32
|
+
|
|
33
|
+
The card image URL.
|
|
34
|
+
|
|
35
|
+
***
|
|
36
|
+
|
|
37
|
+
### siteName
|
|
38
|
+
|
|
39
|
+
> `readonly` **siteName**: `string`
|
|
40
|
+
|
|
41
|
+
The site name.
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### title?
|
|
46
|
+
|
|
47
|
+
> `readonly` `optional` **title**: `string`
|
|
48
|
+
|
|
49
|
+
The title of the page.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
[**@kurone-kito/web-toybox-solid**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@kurone-kito/web-toybox-solid](../globals.md) / AccessorObject
|
|
6
|
+
|
|
7
|
+
# Type Alias: AccessorObject\<T, K\>
|
|
8
|
+
|
|
9
|
+
> **AccessorObject**\<`T`, `K`\> = `Simplify`\<`{ readonly [P in K]: Accessor<T> }` & `` { readonly [P in K as `set${Capitalize<P>}`]: Setter<T> } ``\>
|
|
10
|
+
|
|
11
|
+
Type definition for an object with accessor and setter properties.
|
|
12
|
+
|
|
13
|
+
## Type Parameters
|
|
14
|
+
|
|
15
|
+
### T
|
|
16
|
+
|
|
17
|
+
`T`
|
|
18
|
+
|
|
19
|
+
The type of the accessor and setter values.
|
|
20
|
+
|
|
21
|
+
### K
|
|
22
|
+
|
|
23
|
+
`K` *extends* `string`
|
|
24
|
+
|
|
25
|
+
The keys of the object.
|
|
26
|
+
|
|
27
|
+
## Example
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
type UserAccessorObject = AccessorObject<User, 'name' | 'age'>;
|
|
31
|
+
|
|
32
|
+
const user: UserAccessorObject = {
|
|
33
|
+
name: () => 'Alice',
|
|
34
|
+
setName: (newName) => { ... },
|
|
35
|
+
age: () => 42,
|
|
36
|
+
setAge: (newAge) => { ... },
|
|
37
|
+
};
|
|
38
|
+
```
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
[**@kurone-kito/web-toybox-solid**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@kurone-kito/web-toybox-solid](../globals.md) / Robots
|
|
6
|
+
|
|
7
|
+
# Type Alias: Robots
|
|
8
|
+
|
|
9
|
+
> **Robots** = `"all"` \| `"follow"` \| `"index"` \| `"indexifembedded"` \| \`max-image-preview: $\{"large" \| "none" \| "standard"\}\` \| `` `max-snippet: ${number}` `` \| `` `max-video-preview: ${number}` `` \| `"noarchive"` \| `"nofollow"` \| `"noimageindex"` \| `"noindex"` \| `"none"` \| `"nosnippet"` \| `"notranslate"` \| `` `unavailable_after: ${string}` ``
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
[**@kurone-kito/web-toybox-solid**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@kurone-kito/web-toybox-solid](../globals.md) / Head
|
|
6
|
+
|
|
7
|
+
# Variable: Head
|
|
8
|
+
|
|
9
|
+
> `const` **Head**: `Component`\<[`HeadProps`](../interfaces/HeadProps.md)\>
|
|
10
|
+
|
|
11
|
+
The head metadata component.
|
|
12
|
+
|
|
13
|
+
## Param
|
|
14
|
+
|
|
15
|
+
The properties.
|
|
16
|
+
|
|
17
|
+
## Returns
|
|
18
|
+
|
|
19
|
+
The component.
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```tsx
|
|
24
|
+
<Head
|
|
25
|
+
author="John Doe"
|
|
26
|
+
colorDark="#000000"
|
|
27
|
+
colorLight="#FFFFFF"
|
|
28
|
+
description="This is a sample description."
|
|
29
|
+
images={['https://example.com/image.png']}
|
|
30
|
+
links={[
|
|
31
|
+
{ rel: 'icon', href: '/favicon.ico' },
|
|
32
|
+
{ rel: 'stylesheet', href: 'https://example.com/styles.css' },
|
|
33
|
+
]}
|
|
34
|
+
keywords="sample, meta, tags"
|
|
35
|
+
siteName="Example Site"
|
|
36
|
+
title="Sample Page"
|
|
37
|
+
type="website"
|
|
38
|
+
url="https://example.com/page"
|
|
39
|
+
/>
|
|
40
|
+
```
|