@base-framework/atoms 1.0.6 → 1.0.8
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/dist/atoms.js +1 -1
- package/dist/atoms.js.map +3 -3
- package/dist/types/atoms.d.ts +50 -0
- package/package.json +1 -1
package/dist/types/atoms.d.ts
CHANGED
|
@@ -1,3 +1,46 @@
|
|
|
1
|
+
export function Doctype(props: object): object;
|
|
2
|
+
/**
|
|
3
|
+
* Creates an HTML tag.
|
|
4
|
+
*
|
|
5
|
+
* @param {object} props - Properties for the HTML element.
|
|
6
|
+
* @param {array} children - Children elements of the HTML element.
|
|
7
|
+
* @return {object} - Returns an object representing the HTML element.
|
|
8
|
+
*/
|
|
9
|
+
export const Html: Function;
|
|
10
|
+
/**
|
|
11
|
+
* Creates a script tag.
|
|
12
|
+
*
|
|
13
|
+
* @param {object} props - Properties for the HTML element.
|
|
14
|
+
* @param {array} children - Children elements of the HTML element.
|
|
15
|
+
* @return {object} - Returns an object representing the HTML element.
|
|
16
|
+
*/
|
|
17
|
+
export const Script: Function;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a style tag.
|
|
20
|
+
*
|
|
21
|
+
* @param {object} props - Properties for the HTML element.
|
|
22
|
+
* @param {array} children - Children elements of the HTML element.
|
|
23
|
+
* @return {object} - Returns an object representing the HTML element.
|
|
24
|
+
*/
|
|
25
|
+
export const Style: Function;
|
|
26
|
+
/**
|
|
27
|
+
* Creates a head tag.
|
|
28
|
+
*
|
|
29
|
+
* @param {object} props - Properties for the head element.
|
|
30
|
+
* @param {array} children - Children elements of the head.
|
|
31
|
+
* @return {object} - Returns an object representing the head element.
|
|
32
|
+
*/
|
|
33
|
+
export const Head: Function;
|
|
34
|
+
export function Title(props: object): any;
|
|
35
|
+
export function Meta(props: object): object;
|
|
36
|
+
/**
|
|
37
|
+
* Creates a body tag.
|
|
38
|
+
*
|
|
39
|
+
* @param {object} props - Properties for the body element.
|
|
40
|
+
* @param {array} children - Children elements of the body.
|
|
41
|
+
* @return {object} - Returns an object representing the body element.
|
|
42
|
+
*/
|
|
43
|
+
export const Body: Function;
|
|
1
44
|
/**
|
|
2
45
|
* Creates a div element.
|
|
3
46
|
*
|
|
@@ -105,6 +148,13 @@ export const Input: Function;
|
|
|
105
148
|
* Creates a label element.
|
|
106
149
|
*/
|
|
107
150
|
export const Label: Function;
|
|
151
|
+
/**
|
|
152
|
+
* Creates a checkbox input element.
|
|
153
|
+
*
|
|
154
|
+
* @param {object} props - Properties for the checkbox input element.
|
|
155
|
+
* @return {object} - Returns an object representing the checkbox input element.
|
|
156
|
+
*/
|
|
157
|
+
export const Checkbox: Function;
|
|
108
158
|
/**
|
|
109
159
|
* Creates a section element.
|
|
110
160
|
*/
|