forked from andreasbm/weightless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blueprint.json
239 lines (239 loc) · 6.27 KB
/
blueprint.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
{
"text": "Thank you so much for showing interest in this project! If you want to help us feed our Octocat you should definitely become a <a href='https://github.com/andreasbm/weightless/stargazers' target='_blank'>stargazer</a>. These web components are built to be used. They are lightweight, have a simple API and are easy to extend and compose.",
"demo": "https://weightless.dev/elements",
"ids": {
"npm": "weightless",
"github": "andreasbm/weightless",
"webcomponents": "weightless"
},
"bullets": [
"**High-quality:** Centered around the best practices.",
"**Testable:** Hundreds of test-cases makes sure the library is stable.",
"**Easy-to-use:** But with a simple and understandable API.",
"**Accessible:** All components has been build with accessibility in mind.",
"**Single-responsibility:** Each component does one thing really well. This makes them really easy to extend and compose."
],
"logo": {
"src": "https://raw.githubusercontent.com/andreasbm/elements/master/assets/brand/logo-text-dark.png",
"width": 400
},
"documentationConfig": {
"output": "md",
"debug": false,
"markdown": {
"titleLevel": 1
}
},
"elements": [
[
"Name",
"Tag",
"Description",
"Documentation",
"Demo"
],
[
"Backdrop",
"`wl-backdrop`",
"Dark layer to use behind overlayed elements.",
"[Documentation](/src/lib/backdrop)",
"[Demo](https://weightless.dev/elements/dialog)"
],
[
"Banner",
"`wl-banner`",
"Display a non-interruptive message and related optional actions.",
"[Documentation](/src/lib/banner)",
"[Demo](https://weightless.dev/elements/banner)"
],
[
"Button",
"`wl-button`",
"Allow users to take actions, and make choices, with a single tap.",
"[Documentation](/src/lib/button)",
"[Demo](https://weightless.dev/elements/button)"
],
[
"Card",
"`wl-card`",
"Group related content and action.",
"[Documentation](/src/lib/card)",
"[Demo](https://weightless.dev/elements/card)"
],
[
"Checkbox",
"`wl-checkbox`",
"Turn an option on or off.",
"[Documentation](/src/lib/checkbox)",
"[Demo](https://weightless.dev/elements/checkbox)"
],
[
"Dialog",
"`wl-dialog`",
"Highly interruptive messages.",
"[Documentation](/src/lib/dialog)",
"[Demo](https://weightless.dev/elements/dialog)"
],
[
"Divider",
"`wl-divider`",
"Thin line that groups content in lists and layouts.",
"[Documentation](/src/lib/divider)",
"[Demo](https://weightless.dev/elements/divider)"
],
[
"Expansion",
"`wl-expansion`",
"Provide an expandable details-summary view.",
"[Documentation](/src/lib/expansion)",
"[Demo](https://weightless.dev/elements/expansion)"
],
[
"Icon",
"`wl-icon`",
"Symbols for common actions and items.",
"[Documentation](/src/lib/icon)",
"[Demo](https://weightless.dev/elements/icon)"
],
[
"Label",
"`wl-label`",
"Make form elements more accessible.",
"[Documentation](/src/lib/label)",
"[Demo](https://weightless.dev/elements/label)"
],
[
"List Item",
"`wl-list-item`",
"Display an item in a list.",
"[Documentation](/src/lib/list-item)",
"[Demo](https://weightless.dev/elements/list-item)"
],
[
"Nav",
"`wl-nav`",
"Provide access to destinations in your app.",
"[Documentation](/src/lib/nav)",
"[Demo](https://weightless.dev/elements/nav)"
],
[
"Popover",
"`wl-popover`",
"Contextual anchored elements",
"[Documentation](/src/lib/popover)",
"[Demo](https://weightless.dev/elements/popover)"
],
[
"Popover Card",
"`wl-popover-card`",
"Give popovers a contextual flair.",
"[Documentation](/src/lib/popover-card)",
"[Demo](https://weightless.dev/elements/popover)"
],
[
"Progress Bar",
"`wl-progress-bar`",
"Fills a bar from 0% to 100%.",
"[Documentation](/src/lib/progress-bar)",
"[Demo](https://weightless.dev/elements/progress-bar)"
],
[
"Progress Spinner",
"`wl-progress-spinner`",
"Fills a circle from 0% to 100%.",
"[Documentation](/src/lib/progress-spinner)",
"[Demo](https://weightless.dev/elements/progress-spinner)"
],
[
"Radio",
"`wl-radio`",
"Select one option from a set.",
"[Documentation](/src/lib/radio)",
"[Demo](https://weightless.dev/elements/radio)"
],
[
"Ripple",
"`wl-ripple`",
"Indicate touch actions.",
"[Documentation](/src/lib/ripple)",
"[Demo](https://weightless.dev/elements/ripple)"
],
[
"Select",
"`wl-select`",
"Select one or more values from a set of options.",
"[Documentation](/src/lib/select)",
"[Demo](https://weightless.dev/elements/select)"
],
[
"Slider",
"`wl-slider`",
"Make selections from a range of values.",
"[Documentation](/src/lib/slider)",
"[Demo](https://weightless.dev/elements/slider)"
],
[
"Snackbar",
"`wl-snackbar`",
"Provide brief messages at the bottom of the screen.",
"[Documentation](/src/lib/snackbar)",
"[Demo](https://weightless.dev/elements/snackbar)"
],
[
"Switch",
"`wl-switch`",
"Turn an option on or off.",
"[Documentation](/src/lib/switch)",
"[Demo](https://weightless.dev/elements/switch)"
],
[
"Tab",
"`wl-tab`",
"Organize navigation between groups of content.",
"[Documentation](/src/lib/tab)",
"[Demo](https://weightless.dev/elements/tabs)"
],
[
"Tab Group",
"`wl-tab-group`",
"Organize navigation between groups of content.",
"[Documentation](/src/lib/tab-group)",
"[Demo](https://weightless.dev/elements/tabs)"
],
[
"Text",
"`wl-text`",
"Group text into paragraphs.",
"[Documentation](/src/lib/text)",
"[Demo](https://weightless.dev/elements/text)"
],
[
"Textarea",
"`wl-textarea`",
"Multiline text fields.",
"[Documentation](/src/lib/text)",
"[Demo](https://weightless.dev/elements/text)"
],
[
"Textfield",
"`wl-textfield`",
"Singleline text fields.",
"[Documentation](/src/lib/textfield)",
"[Demo](https://weightless.dev/elements/textfield)"
],
[
"Title",
"`wl-title`",
"Indicate the start of a new section.",
"[Documentation](/src/lib/title)",
"[Demo](https://weightless.dev/elements/title)"
],
[
"Tooltip",
"`wl-tooltip`",
"Informative context related text.",
"[Documentation](/src/lib/tooltip)",
"[Demo](https://weightless.dev/elements/tooltip)"
]
]
}