desy-html 7.3.1 → 7.4.0
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/docs/_macro.example-render.njk +1 -1
- package/docs/index.html +4 -0
- package/package.json +1 -1
- package/src/templates/components/accordion/_examples.accordion.njk +108 -104
- package/src/templates/components/accordion-history/_examples.accordion-history.njk +116 -112
- package/src/templates/components/alert/_examples.alert.njk +10 -6
- package/src/templates/components/breadcrumbs/_examples.breadcrumbs.njk +52 -52
- package/src/templates/components/button/_examples.button.njk +71 -71
- package/src/templates/components/button-loader/_examples.button-loader.njk +72 -72
- package/src/templates/components/card/_examples.card.njk +43 -43
- package/src/templates/components/character-count/_examples.character-count.njk +35 -33
- package/src/templates/components/checkboxes/_examples.checkboxes.njk +200 -201
- package/src/templates/components/collapsible/_examples.collapsible.njk +24 -9
- package/src/templates/components/date-input/_examples.date-input.njk +14 -14
- package/src/templates/components/description-list/_examples.description-list.njk +45 -44
- package/src/templates/components/details/_examples.details.njk +17 -16
- package/src/templates/components/dialog/_examples.dialog.njk +5 -6
- package/src/templates/components/dropdown/_examples.dropdown.njk +34 -35
- package/src/templates/components/error-message/_examples.error-message.njk +8 -2
- package/src/templates/components/error-summary/_examples.error-summary.njk +19 -19
- package/src/templates/components/fieldset/_examples.fieldset.njk +27 -25
- package/src/templates/components/file-upload/_examples.file-upload.njk +7 -7
- package/src/templates/components/footer/_examples.footer.njk +24 -24
- package/src/templates/components/header/_examples.header.njk +12 -12
- package/src/templates/components/header-mini/_examples.header-mini.njk +5 -5
- package/src/templates/components/hint/_examples.hint.njk +4 -4
- package/src/templates/components/input/_examples.input.njk +66 -64
- package/src/templates/components/input-group/_examples.input-group.njk +15 -17
- package/src/templates/components/item/_examples.item.njk +21 -20
- package/src/templates/components/label/_examples.label.njk +11 -9
- package/src/templates/components/links-list/_examples.links-list.njk +34 -34
- package/src/templates/components/listbox/_examples.listbox.njk +146 -146
- package/src/templates/components/media-object/_examples.media-object.njk +7 -7
- package/src/templates/components/menu-horizontal/_examples.menu-horizontal.njk +54 -54
- package/src/templates/components/menu-navigation/_examples.menu-navigation.njk +65 -66
- package/src/templates/components/menu-vertical/_examples.menu-vertical.njk +71 -71
- package/src/templates/components/menubar/_examples.menubar.njk +42 -42
- package/src/templates/components/modal/_examples.modal.njk +21 -15
- package/src/templates/components/modal/_template.modal.njk +5 -5
- package/src/templates/components/nav/_examples.nav.njk +66 -66
- package/src/templates/components/notification/_examples.notification.njk +14 -13
- package/src/templates/components/pagination/_examples.pagination.njk +7 -6
- package/src/templates/components/pill/_examples.pill.njk +29 -29
- package/src/templates/components/radios/_examples.radios.njk +153 -142
- package/src/templates/components/searchbar/_examples.searchbar.njk +11 -11
- package/src/templates/components/select/_examples.select.njk +63 -63
- package/src/templates/components/skip-link/_examples.skip-link.njk +4 -4
- package/src/templates/components/spinner/_examples.spinner.njk +11 -11
- package/src/templates/components/status/_examples.status.njk +4 -4
- package/src/templates/components/status-item/_examples.status-item.njk +21 -21
- package/src/templates/components/table/_examples.table.njk +58 -56
- package/src/templates/components/table-advanced/_examples.table-advanced.njk +83 -83
- package/src/templates/components/tabs/_examples.tabs.njk +30 -29
- package/src/templates/components/textarea/_examples.textarea.njk +28 -27
- package/src/templates/components/toggle/_examples.toggle.njk +10 -11
- package/src/templates/components/tooltip/_examples.tooltip.njk +9 -9
- package/src/templates/components/tree/_examples.tree.njk +58 -57
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{% set exampleComponent = "searchbar" %}
|
|
2
2
|
{% set examples = [
|
|
3
3
|
{
|
|
4
|
-
"name": "
|
|
4
|
+
"name": "por defecto",
|
|
5
5
|
"data": {
|
|
6
6
|
"id": "searchbar-1",
|
|
7
7
|
"label": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
"name": "
|
|
14
|
+
"name": "con placeholder",
|
|
15
15
|
"data": {
|
|
16
16
|
"id": "searchbar-2",
|
|
17
17
|
"label": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"name": "
|
|
24
|
+
"name": "deshabilitado",
|
|
25
25
|
"data": {
|
|
26
26
|
"id": "searchbar-3",
|
|
27
27
|
"label": {
|
|
@@ -31,20 +31,20 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
"name": "error
|
|
34
|
+
"name": "Con mensaje de error",
|
|
35
35
|
"data": {
|
|
36
36
|
"id": "searchbar-4",
|
|
37
37
|
"label": {
|
|
38
38
|
"text": "Buscar"
|
|
39
39
|
},
|
|
40
40
|
"errorMessage": {
|
|
41
|
-
"text": "Error:
|
|
41
|
+
"text": "Error: Esto es un mensaje de error",
|
|
42
42
|
"classes": "mt-xs"
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
|
-
"name": "
|
|
47
|
+
"name": "Con label visible",
|
|
48
48
|
"data": {
|
|
49
49
|
"id": "searchbar-label-visible",
|
|
50
50
|
"label": {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
"name": "
|
|
57
|
+
"name": "peque",
|
|
58
58
|
"data": {
|
|
59
59
|
"id": "searchbar-5",
|
|
60
60
|
"label": {
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
-
"name": "
|
|
69
|
-
"description": "
|
|
68
|
+
"name": "Botón personalizado",
|
|
69
|
+
"description": "Añade parámetros del componente Botón para sustituir el icono de la lupa con un botón junto al input.",
|
|
70
70
|
"data": {
|
|
71
71
|
"id": "searchbar-6",
|
|
72
72
|
"label": {
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
|
-
"name": "
|
|
85
|
-
"description": "
|
|
84
|
+
"name": "Botón personalizado pequeño",
|
|
85
|
+
"description": "Usamos los parámetros del componente Botón para personalizarlo, en este ejemplo botón peque.",
|
|
86
86
|
"data": {
|
|
87
87
|
"id": "searchbar-7",
|
|
88
88
|
"label": {
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
{% set exampleComponent = "select" %}
|
|
2
2
|
{% set examples = [
|
|
3
3
|
{
|
|
4
|
-
"name": "
|
|
4
|
+
"name": "por defecto",
|
|
5
5
|
"data": {
|
|
6
6
|
"id": "select-1",
|
|
7
7
|
"name": "select-1",
|
|
8
8
|
"label": {
|
|
9
|
-
"text": "
|
|
9
|
+
"text": "Esto es un label"
|
|
10
10
|
},
|
|
11
11
|
"items": [
|
|
12
12
|
{
|
|
13
13
|
"value": 1,
|
|
14
|
-
"text": "
|
|
14
|
+
"text": "Opción 1"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"value": 2,
|
|
18
|
-
"text": "
|
|
18
|
+
"text": "Opción 2",
|
|
19
19
|
"selected": true
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"value": 3,
|
|
23
|
-
"text": "
|
|
23
|
+
"text": "Opción 3",
|
|
24
24
|
"disabled": true
|
|
25
25
|
}
|
|
26
26
|
]
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
|
-
"name": "
|
|
30
|
+
"name": "deshabilitado",
|
|
31
31
|
"data": {
|
|
32
32
|
"id": "select-2",
|
|
33
33
|
"name": "select-2",
|
|
34
34
|
"disabled": true,
|
|
35
35
|
"label": {
|
|
36
|
-
"text": "
|
|
36
|
+
"text": "Esto es un label"
|
|
37
37
|
},
|
|
38
38
|
"items": [
|
|
39
39
|
{
|
|
40
40
|
"value": 1,
|
|
41
|
-
"text": "
|
|
41
|
+
"text": "Opción 1"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"value": 2,
|
|
45
|
-
"text": "
|
|
45
|
+
"text": "Opción 2",
|
|
46
46
|
"selected": true
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"value": 3,
|
|
50
|
-
"text": "
|
|
50
|
+
"text": "Opción 3",
|
|
51
51
|
"disabled": true
|
|
52
52
|
}
|
|
53
53
|
]
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"name": "placeholder",
|
|
58
|
-
"description":
|
|
58
|
+
"description": 'Usa una combinación de los parámetros <code>"disabled": true</code>, <code>"selected": true</code> y <code>"hidden": true</code> para la primera opción y actúará como si fuera un placeholder visual.',
|
|
59
59
|
"data": {
|
|
60
60
|
"id": "select-placeholder",
|
|
61
61
|
"name": "select-placeholder",
|
|
62
62
|
"label": {
|
|
63
|
-
"text": "
|
|
63
|
+
"text": "Esto es un label"
|
|
64
64
|
},
|
|
65
65
|
"items": [
|
|
66
66
|
{
|
|
@@ -72,35 +72,35 @@
|
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
"value": 1,
|
|
75
|
-
"text": "
|
|
75
|
+
"text": "Opción 1"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"value": 2,
|
|
79
|
-
"text": "
|
|
79
|
+
"text": "Opción 2"
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
"value": 3,
|
|
83
|
-
"text": "
|
|
83
|
+
"text": "Opción 3"
|
|
84
84
|
}
|
|
85
85
|
]
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
|
-
"name": "
|
|
89
|
+
"name": "con optgroup",
|
|
90
90
|
"data": {
|
|
91
91
|
"id": "select-optgroup",
|
|
92
92
|
"name": "select-optgroup",
|
|
93
93
|
"label": {
|
|
94
|
-
"text": "
|
|
94
|
+
"text": "Esto es un label"
|
|
95
95
|
},
|
|
96
96
|
"items": [
|
|
97
97
|
{
|
|
98
98
|
"value": 1,
|
|
99
|
-
"text": "
|
|
99
|
+
"text": "Opción 1"
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"value": 2,
|
|
103
|
-
"text": "
|
|
103
|
+
"text": "Opción 2"
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
"optgroup": {
|
|
@@ -108,27 +108,27 @@
|
|
|
108
108
|
"items": [
|
|
109
109
|
{
|
|
110
110
|
"value": 1,
|
|
111
|
-
"text": "Optgroup
|
|
111
|
+
"text": "Optgroup subopción A1"
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
"value": 2,
|
|
115
|
-
"text": "Optgroup
|
|
115
|
+
"text": "Optgroup subopción A2",
|
|
116
116
|
"selected": true
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
"value": 3,
|
|
120
|
-
"text": "Optgroup
|
|
120
|
+
"text": "Optgroup subopción A3"
|
|
121
121
|
}
|
|
122
122
|
]
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
"value": 3,
|
|
127
|
-
"text": "
|
|
127
|
+
"text": "Opción 3"
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"value": 4,
|
|
131
|
-
"text": "
|
|
131
|
+
"text": "Opción 4"
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
134
|
"optgroup": {
|
|
@@ -136,199 +136,199 @@
|
|
|
136
136
|
"items": [
|
|
137
137
|
{
|
|
138
138
|
"value": 1,
|
|
139
|
-
"text": "Optgroup
|
|
139
|
+
"text": "Optgroup subopción B1"
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
"value": 2,
|
|
143
|
-
"text": "Optgroup
|
|
143
|
+
"text": "Optgroup subopción B2"
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
"value": 3,
|
|
147
|
-
"text": "Optgroup
|
|
147
|
+
"text": "Optgroup subopción B3"
|
|
148
148
|
}
|
|
149
149
|
]
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
"value": 5,
|
|
154
|
-
"text": "
|
|
154
|
+
"text": "Opción 5"
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
157
|
"value": 6,
|
|
158
|
-
"text": "
|
|
158
|
+
"text": "Opción 6"
|
|
159
159
|
}
|
|
160
160
|
]
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
|
-
"name": "
|
|
164
|
+
"name": "con pista y mensaje de error",
|
|
165
165
|
"data": {
|
|
166
166
|
"id": "select-3",
|
|
167
167
|
"name": "select-3",
|
|
168
168
|
"label": {
|
|
169
|
-
"text": "
|
|
169
|
+
"text": "Esto es un label"
|
|
170
170
|
},
|
|
171
171
|
"hint": {
|
|
172
|
-
"text": "
|
|
172
|
+
"text": "Esto es una pista."
|
|
173
173
|
},
|
|
174
174
|
"errorMessage": {
|
|
175
|
-
"text": "Error:
|
|
175
|
+
"text": "Error: esto es un mensaje de error"
|
|
176
176
|
},
|
|
177
177
|
"items": [
|
|
178
178
|
{
|
|
179
179
|
"value": 1,
|
|
180
|
-
"text": "
|
|
180
|
+
"text": "Opción 1"
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
183
|
"value": 2,
|
|
184
|
-
"text": "
|
|
184
|
+
"text": "Opción 2"
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
"value": 3,
|
|
188
|
-
"text": "
|
|
188
|
+
"text": "Opción 3"
|
|
189
189
|
}
|
|
190
190
|
]
|
|
191
191
|
}
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
|
-
"name": "
|
|
194
|
+
"name": "con label como encabezado",
|
|
195
195
|
"data": {
|
|
196
196
|
"id": "select-4",
|
|
197
197
|
"name": "select-4",
|
|
198
198
|
"label": {
|
|
199
|
-
"text": "
|
|
199
|
+
"text": "Esto es un label",
|
|
200
200
|
"isPageHeading": true
|
|
201
201
|
},
|
|
202
202
|
"items": [
|
|
203
203
|
{
|
|
204
204
|
"value": 1,
|
|
205
|
-
"text": "
|
|
205
|
+
"text": "Opción 1"
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
"value": 2,
|
|
209
|
-
"text": "
|
|
209
|
+
"text": "Opción 2",
|
|
210
210
|
"selected": true
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
"value": 3,
|
|
214
|
-
"text": "
|
|
214
|
+
"text": "Opción 3",
|
|
215
215
|
"disabled": true
|
|
216
216
|
}
|
|
217
217
|
]
|
|
218
218
|
}
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
|
-
"name": "
|
|
221
|
+
"name": "con anchura completa",
|
|
222
222
|
"data": {
|
|
223
223
|
"id": "select-5",
|
|
224
224
|
"name": "select-5",
|
|
225
225
|
"classes": "w-full",
|
|
226
226
|
"label": {
|
|
227
|
-
"text": "
|
|
227
|
+
"text": "Esto es un label"
|
|
228
228
|
},
|
|
229
229
|
"items": [
|
|
230
230
|
{
|
|
231
231
|
"value": 1,
|
|
232
|
-
"text": "
|
|
232
|
+
"text": "Opción 1"
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
235
|
"value": 2,
|
|
236
|
-
"text": "
|
|
236
|
+
"text": "Opción 2",
|
|
237
237
|
"selected": true
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
240
|
"value": 3,
|
|
241
|
-
"text": "
|
|
241
|
+
"text": "Opción 3",
|
|
242
242
|
"disabled": true
|
|
243
243
|
}
|
|
244
244
|
]
|
|
245
245
|
}
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
|
-
"name": "
|
|
249
|
-
"description": "
|
|
248
|
+
"name": "con clases de form-group opcionales",
|
|
249
|
+
"description": "Label en línea + Select flexible y mensaje de error",
|
|
250
250
|
"data": {
|
|
251
251
|
"id": "select-6",
|
|
252
252
|
"name": "select-6",
|
|
253
253
|
"classes": "lg:flex-1",
|
|
254
254
|
"label": {
|
|
255
|
-
"text": "
|
|
255
|
+
"text": "Label en línea:",
|
|
256
256
|
"classes": "lg:py-sm lg:mt-sm"
|
|
257
257
|
},
|
|
258
258
|
"formGroup": {
|
|
259
259
|
"classes": "lg:flex lg:flex-wrap lg:items-center lg:gap-x-base"
|
|
260
260
|
},
|
|
261
261
|
"errorMessage": {
|
|
262
|
-
"text": "Error:
|
|
262
|
+
"text": "Error: Esto es un mensaje de error",
|
|
263
263
|
"classes": "order-1 w-full pt-sm"
|
|
264
264
|
},
|
|
265
265
|
"items": [
|
|
266
266
|
{
|
|
267
267
|
"value": 1,
|
|
268
|
-
"text": "
|
|
268
|
+
"text": "Opción 1"
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
271
|
"value": 2,
|
|
272
|
-
"text": "
|
|
272
|
+
"text": "Opción 2",
|
|
273
273
|
"selected": true
|
|
274
274
|
},
|
|
275
275
|
{
|
|
276
276
|
"value": 3,
|
|
277
|
-
"text": "
|
|
277
|
+
"text": "Opción 3",
|
|
278
278
|
"disabled": true
|
|
279
279
|
}
|
|
280
280
|
]
|
|
281
281
|
}
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
|
-
"name": "
|
|
284
|
+
"name": "transparente",
|
|
285
285
|
"data": {
|
|
286
286
|
"id": "select-7",
|
|
287
287
|
"name": "select-7",
|
|
288
288
|
"classes": "c-select--transparent",
|
|
289
289
|
"label": {
|
|
290
|
-
"text": "
|
|
290
|
+
"text": "Esto es un label"
|
|
291
291
|
},
|
|
292
292
|
"items": [
|
|
293
293
|
{
|
|
294
294
|
"value": 1,
|
|
295
|
-
"text": "
|
|
295
|
+
"text": "Opción 1"
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
298
|
"value": 2,
|
|
299
|
-
"text": "
|
|
299
|
+
"text": "Opción 2",
|
|
300
300
|
"selected": true
|
|
301
301
|
},
|
|
302
302
|
{
|
|
303
303
|
"value": 3,
|
|
304
|
-
"text": "
|
|
304
|
+
"text": "Opción 3",
|
|
305
305
|
"disabled": true
|
|
306
306
|
}
|
|
307
307
|
]
|
|
308
308
|
}
|
|
309
309
|
},
|
|
310
310
|
{
|
|
311
|
-
"name": "
|
|
311
|
+
"name": "peque",
|
|
312
312
|
"data": {
|
|
313
313
|
"id": "select-8",
|
|
314
314
|
"name": "select-8",
|
|
315
315
|
"classes": "c-select--sm",
|
|
316
316
|
"label": {
|
|
317
|
-
"text": "
|
|
317
|
+
"text": "Esto es un label"
|
|
318
318
|
},
|
|
319
319
|
"items": [
|
|
320
320
|
{
|
|
321
321
|
"value": 1,
|
|
322
|
-
"text": "
|
|
322
|
+
"text": "Opción 1"
|
|
323
323
|
},
|
|
324
324
|
{
|
|
325
325
|
"value": 2,
|
|
326
|
-
"text": "
|
|
326
|
+
"text": "Opción 2",
|
|
327
327
|
"selected": true
|
|
328
328
|
},
|
|
329
329
|
{
|
|
330
330
|
"value": 3,
|
|
331
|
-
"text": "
|
|
331
|
+
"text": "Opción 3",
|
|
332
332
|
"disabled": true
|
|
333
333
|
}
|
|
334
334
|
]
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{% set exampleComponent = "skip-link" %}
|
|
2
2
|
{% set examples = [
|
|
3
3
|
{
|
|
4
|
-
"name": "
|
|
5
|
-
"description": "
|
|
4
|
+
"name": "por defecto",
|
|
5
|
+
"description": "Para ver el componente Skip link, dale al tabulador en este ejemplo, o haz click dentro del ejemplo y presiona el tabulador.",
|
|
6
6
|
"data": {
|
|
7
7
|
"text": "Saltar al contenido principal",
|
|
8
8
|
"href": "#content"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
|
-
"name": "
|
|
13
|
-
"description":
|
|
12
|
+
"name": "con estado focus",
|
|
13
|
+
"description": 'Simula activar la pseudoclase de CSS <code>:focus</code>',
|
|
14
14
|
"data": {
|
|
15
15
|
"classes": "ds-focus",
|
|
16
16
|
"text": "Saltar al contenido principal",
|
|
@@ -4,48 +4,48 @@
|
|
|
4
4
|
"name": "default"
|
|
5
5
|
},
|
|
6
6
|
{
|
|
7
|
-
"name": "
|
|
8
|
-
"description": "
|
|
7
|
+
"name": "con texto para lector de pantalla",
|
|
8
|
+
"description": "Usa un texto personalizado para lectores de pantalla en vez del texto por defecto.",
|
|
9
9
|
"data": {
|
|
10
10
|
"text": "Espere por favor",
|
|
11
11
|
"classes": "text-neutral-base"
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
"name": "
|
|
16
|
-
"description": "
|
|
15
|
+
"name": "Tamaño xs",
|
|
16
|
+
"description": "Usa las clases de tamaño de texto para dar tamaño al Spinner.",
|
|
17
17
|
"data": {
|
|
18
18
|
"classes": "text-xs"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
"name": "
|
|
22
|
+
"name": "Tamaño lg",
|
|
23
23
|
"data": {
|
|
24
24
|
"classes": "text-lg"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
"name": "
|
|
28
|
+
"name": "Tamaño 6xl",
|
|
29
29
|
"data": {
|
|
30
30
|
"classes": "text-6xl"
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
"name": "
|
|
35
|
-
"description": "
|
|
34
|
+
"name": "color neutral color base",
|
|
35
|
+
"description": "Usa las clases de color de texto para dar color al Spinner.",
|
|
36
36
|
"data": {
|
|
37
37
|
"classes": "text-neutral-base"
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
|
-
"name": "
|
|
41
|
+
"name": "color primario",
|
|
42
42
|
"data": {
|
|
43
43
|
"classes": "text-primary-base"
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
|
-
"name": "
|
|
48
|
-
"description": "
|
|
47
|
+
"name": "Establecida la anchura y altura del contenedor con clases",
|
|
48
|
+
"description": "Usa las clases de tamaño para cambiar las dimensiones del contenedor.",
|
|
49
49
|
"data": {
|
|
50
50
|
"classes": "border border-neutral-light w-60 h-60"
|
|
51
51
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{% set exampleComponent = "status" %}
|
|
2
2
|
{% set examples = [
|
|
3
3
|
{
|
|
4
|
-
"name": "
|
|
4
|
+
"name": "éxito",
|
|
5
5
|
"data": {
|
|
6
6
|
"text": "Completo",
|
|
7
7
|
"icon": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
|
-
"name": "
|
|
13
|
+
"name": "alerta",
|
|
14
14
|
"data": {
|
|
15
15
|
"text": "Incompleto",
|
|
16
16
|
"icon": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
|
-
"name": "
|
|
23
|
+
"name": "cargando",
|
|
24
24
|
"data": {
|
|
25
25
|
"text": "Subiendo (20%)",
|
|
26
26
|
"icon": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
|
-
"name": "
|
|
42
|
+
"name": "Icono personalizado",
|
|
43
43
|
"data": {
|
|
44
44
|
"text": "Atención",
|
|
45
45
|
"icon": {
|