forked from storybookjs/storybook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom-elements.json
71 lines (71 loc) · 1.72 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
{
"version": 1.2,
"tags": [
{
"name": "demo-wc-card",
"description": "This is a container looking like a card with a back and front side you can switch",
"attributes": [
{
"name": "back-side",
"description": "Indicates that the back of the card is shown",
"type": "boolean",
"defaultValue": false
},
{
"name": "header",
"description": "Header message",
"type": "string",
"defaultValue": "Your message"
},
{
"name": "rows",
"description": "Data rows",
"type": "never[]"
}
],
"properties": [
{
"name": "backSide",
"description": "Indicates that the back of the card is shown",
"type": "boolean"
},
{
"name": "header",
"description": "Header message",
"type": "string"
},
{
"name": "rows",
"description": "Data rows",
"type": "never[]"
}
],
"events": [
{
"name": "side-changed",
"description": "Fires whenever it switches between front/back"
}
],
"slots": [
{
"name": "",
"description": "This is an unnamed slot (the default slot)"
}
],
"cssProperties": [
{
"name": "--demo-wc-card-back-color",
"description": "Font color for back"
},
{
"name": "--demo-wc-card-front-color",
"description": "Font color for front"
},
{
"name": "--demo-wc-card-header-font-size",
"description": "Header font size"
}
]
}
]
}