generated from lit/lit-element-starter-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom-elements.json
97 lines (97 loc) · 2.64 KB
/
custom-elements.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"version": "experimental",
"tags": [
{
"name": "message-box",
"path": "./src/message-box.ts",
"description": "A simple message-box web component.",
"properties": [
{
"name": "height",
"attribute": "height",
"description": "The height of component",
"type": "string",
"default": "\"initial\""
},
{
"name": "width",
"attribute": "width",
"description": "The width of component",
"type": "string",
"default": "\"initial\""
},
{
"name": "minWidth",
"attribute": "min-width",
"description": "The min-width of component",
"type": "string",
"default": "\"initial\""
},
{
"name": "border",
"attribute": "border",
"description": "The `border` css property of component",
"type": "string",
"default": "\"0\""
},
{
"name": "color",
"attribute": "color",
"description": "The `color` css property of component",
"type": "string",
"default": "\"255, 255, 255\""
},
{
"name": "radius",
"attribute": "radius",
"description": "The `border-radius` of component",
"type": "string",
"default": "\"0\""
},
{
"name": "shadow",
"attribute": "shadow",
"description": "The `box-shadow` css property of component",
"type": "string",
"default": "\"0, 1rem, 1rem\""
},
{
"name": "out",
"attribute": "out",
"description": "The out method of component. one of \"right\"|\"top\".",
"type": "string",
"default": "\"\""
},
{
"name": "timeout",
"attribute": "timeout",
"description": "The display time of the component.",
"type": "string",
"default": "\"0\""
}
],
"slots": [
{
"name": "message",
"description": "The 'message' component that needs to be displayed, the most basic such as `SPAN`"
},
{
"name": "button",
"description": "`BUTTON`s that need to be displayed"
}
],
"cssParts": [
{
"name": "--message-box-background-color",
"description": "Set background color of component",
"default": "0, 0, 0"
},
{
"name": "--message-box-opacity",
"description": "Set opacity of component",
"default": "0.8"
}
]
}
]
}