-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom-elements.json
86 lines (86 loc) · 2.41 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
{
"schemaVersion": "1.0.0",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "src/components/custom-button/custom-button.js",
"declarations": [
{
"kind": "class",
"description": "A very simple custom button.",
"name": "CustomButton",
"members": [
{
"kind": "field",
"name": "label",
"privacy": "public",
"type": {
"text": "string"
},
"description": "the label displayed within the button",
"default": "''",
"attribute": "label"
},
{
"kind": "field",
"name": "intent",
"privacy": "public",
"type": {
"text": "'primary'|'secondary'"
},
"description": "the style of the button, `primary` stands out while `secondary` is more subtle",
"default": "'primary'",
"attribute": "intent",
"reflects": true
}
],
"attributes": [
{
"name": "label",
"type": {
"text": "string"
},
"description": "the label displayed within the button",
"default": "''",
"fieldName": "label"
},
{
"name": "intent",
"type": {
"text": "'primary'|'secondary'"
},
"description": "the style of the button, `primary` stands out while `secondary` is more subtle",
"default": "'primary'",
"fieldName": "intent"
}
],
"superclass": {
"name": "LitElement",
"package": "lit"
},
"tagName": "custom-button",
"customElement": true
}
],
"exports": [
{
"kind": "js",
"name": "CustomButton",
"declaration": {
"name": "CustomButton",
"module": "src/components/custom-button/custom-button.js"
}
},
{
"kind": "custom-element-definition",
"name": "custom-button",
"declaration": {
"name": "CustomButton",
"module": "src/components/custom-button/custom-button.js"
}
}
]
}
]
}