@allxsmith/eslint-plugin-bestax 1.1.9 → 1.3.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/README.md +32 -17
- package/dist/generated/metadata.d.ts +16 -1
- package/dist/generated/metadata.d.ts.map +1 -1
- package/dist/generated/metadata.js +503 -87
- package/dist/lib/values.d.ts +36 -6
- package/dist/lib/values.d.ts.map +1 -1
- package/dist/lib/values.js +64 -9
- package/dist/rules/no-bulma-component-class.d.ts +16 -7
- package/dist/rules/no-bulma-component-class.d.ts.map +1 -1
- package/dist/rules/no-bulma-component-class.js +67 -10
- package/dist/rules/valid-helper-value.d.ts +6 -5
- package/dist/rules/valid-helper-value.d.ts.map +1 -1
- package/dist/rules/valid-helper-value.js +39 -11
- package/package.json +7 -7
|
@@ -6,6 +6,16 @@
|
|
|
6
6
|
* part is `"Navbar.Brand"`.
|
|
7
7
|
*/
|
|
8
8
|
export const DEPRECATED_PROPS = {
|
|
9
|
+
Autocomplete: {
|
|
10
|
+
dropdown: {
|
|
11
|
+
replacement: null,
|
|
12
|
+
note: 'It will be removed in the next major version, with nothing in its place.',
|
|
13
|
+
},
|
|
14
|
+
selected: {
|
|
15
|
+
replacement: null,
|
|
16
|
+
note: 'Nothing reads it, and `onSelect` is what reports a pick. It will be removed in the next major version.',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
9
19
|
Button: {
|
|
10
20
|
isFullWidth: {
|
|
11
21
|
replacement: 'isFullwidth',
|
|
@@ -24,6 +34,12 @@ export const DEPRECATED_PROPS = {
|
|
|
24
34
|
note: 'Use `isFullwidth` instead — `isFullwidth` wins if both are set.',
|
|
25
35
|
},
|
|
26
36
|
},
|
|
37
|
+
'Buttons.ToggleButton': {
|
|
38
|
+
isFullWidth: {
|
|
39
|
+
replacement: 'isFullwidth',
|
|
40
|
+
note: 'Use `isFullwidth` instead — `isFullwidth` wins if both are set.',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
27
43
|
Columns: {
|
|
28
44
|
gapSize: {
|
|
29
45
|
replacement: 'gap',
|
|
@@ -89,6 +105,12 @@ export const DEPRECATED_PROPS = {
|
|
|
89
105
|
note: 'Use `variant` and `features` instead.',
|
|
90
106
|
},
|
|
91
107
|
},
|
|
108
|
+
'Popover.Close': {
|
|
109
|
+
isFullWidth: {
|
|
110
|
+
replacement: 'isFullwidth',
|
|
111
|
+
note: 'Use `isFullwidth` instead — `isFullwidth` wins if both are set.',
|
|
112
|
+
},
|
|
113
|
+
},
|
|
92
114
|
Select: {
|
|
93
115
|
isFullWidth: {
|
|
94
116
|
replacement: 'isFullwidth',
|
|
@@ -133,6 +155,12 @@ export const DEPRECATED_PROPS = {
|
|
|
133
155
|
note: "Bulma's `.tags` wraps by default (no shipped `are-multiline` CSS exists for it) — this prop has never had a visual effect and will be removed in the next major version.",
|
|
134
156
|
},
|
|
135
157
|
},
|
|
158
|
+
ToggleButton: {
|
|
159
|
+
isFullWidth: {
|
|
160
|
+
replacement: 'isFullwidth',
|
|
161
|
+
note: 'Use `isFullwidth` instead — `isFullwidth` wins if both are set.',
|
|
162
|
+
},
|
|
163
|
+
},
|
|
136
164
|
};
|
|
137
165
|
/**
|
|
138
166
|
* Elements whose `color` prop is a text-colour alias, NOT a filled surface
|
|
@@ -154,13 +182,18 @@ export const TEXT_ALIAS_COLOR_ELEMENTS = [
|
|
|
154
182
|
'Container',
|
|
155
183
|
'Content',
|
|
156
184
|
'Delete',
|
|
185
|
+
'EmptyState.Actions',
|
|
186
|
+
'Icon',
|
|
157
187
|
'IconText',
|
|
188
|
+
'IconText.Icon',
|
|
158
189
|
'Image',
|
|
190
|
+
'Panel.Icon',
|
|
159
191
|
];
|
|
160
192
|
/**
|
|
161
193
|
* Bulma classes that name a bestax component, from bestax-migrate's
|
|
162
194
|
* bulma-classes table. In the order the codemod decides an element's
|
|
163
|
-
* component when it carries several: a family first, then by precedence
|
|
195
|
+
* component when it carries several: a family first, then by precedence,
|
|
196
|
+
* among the ones whose component fits the element's tag best.
|
|
164
197
|
*/
|
|
165
198
|
export const BULMA_COMPONENT_CLASSES = new Map([
|
|
166
199
|
['checkbox', { component: 'Checkbox', converts: false }],
|
|
@@ -174,95 +207,478 @@ export const BULMA_COMPONENT_CLASSES = new Map([
|
|
|
174
207
|
['navbar-burger', { component: 'Navbar.Burger', converts: false }],
|
|
175
208
|
['navbar-link', { component: 'Navbar.Link', converts: false }],
|
|
176
209
|
['panel-icon', { component: 'Panel.Icon', converts: false }],
|
|
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
|
-
|
|
240
|
-
|
|
241
|
-
[
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
[
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
210
|
+
[
|
|
211
|
+
'columns',
|
|
212
|
+
{ component: 'Columns', converts: true, tag: 'div', tags: ['div'] },
|
|
213
|
+
],
|
|
214
|
+
[
|
|
215
|
+
'column',
|
|
216
|
+
{ component: 'Column', converts: true, tag: 'div', tags: ['div'] },
|
|
217
|
+
],
|
|
218
|
+
['grid', { component: 'Grid', converts: true, tag: 'div', tags: ['div'] }],
|
|
219
|
+
['cell', { component: 'Cell', converts: true, tag: 'div', tags: ['div'] }],
|
|
220
|
+
[
|
|
221
|
+
'container',
|
|
222
|
+
{
|
|
223
|
+
component: 'Container',
|
|
224
|
+
converts: true,
|
|
225
|
+
tag: 'div',
|
|
226
|
+
tags: [
|
|
227
|
+
'div',
|
|
228
|
+
'main',
|
|
229
|
+
'section',
|
|
230
|
+
'article',
|
|
231
|
+
'aside',
|
|
232
|
+
'header',
|
|
233
|
+
'footer',
|
|
234
|
+
'nav',
|
|
235
|
+
],
|
|
236
|
+
onAnother: 'where it is only there to center this element, `mx="auto"` centers it, and otherwise wrap the element in a `Container`; either way drop the class, then check the layout',
|
|
237
|
+
},
|
|
238
|
+
],
|
|
239
|
+
[
|
|
240
|
+
'section',
|
|
241
|
+
{
|
|
242
|
+
component: 'Section',
|
|
243
|
+
converts: true,
|
|
244
|
+
tag: 'section',
|
|
245
|
+
tags: ['section'],
|
|
246
|
+
},
|
|
247
|
+
],
|
|
248
|
+
[
|
|
249
|
+
'hero',
|
|
250
|
+
{
|
|
251
|
+
component: 'Hero',
|
|
252
|
+
converts: true,
|
|
253
|
+
tag: 'section',
|
|
254
|
+
tags: [
|
|
255
|
+
'section',
|
|
256
|
+
'div',
|
|
257
|
+
'main',
|
|
258
|
+
'header',
|
|
259
|
+
'footer',
|
|
260
|
+
'article',
|
|
261
|
+
'aside',
|
|
262
|
+
],
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
[
|
|
266
|
+
'hero-head',
|
|
267
|
+
{
|
|
268
|
+
component: 'Hero.Head',
|
|
269
|
+
converts: true,
|
|
270
|
+
tag: 'div',
|
|
271
|
+
tags: ['div', 'header', 'nav'],
|
|
272
|
+
},
|
|
273
|
+
],
|
|
274
|
+
[
|
|
275
|
+
'hero-body',
|
|
276
|
+
{ component: 'Hero.Body', converts: true, tag: 'div', tags: ['div'] },
|
|
277
|
+
],
|
|
278
|
+
[
|
|
279
|
+
'hero-foot',
|
|
280
|
+
{
|
|
281
|
+
component: 'Hero.Foot',
|
|
282
|
+
converts: true,
|
|
283
|
+
tag: 'div',
|
|
284
|
+
tags: ['div', 'footer', 'nav'],
|
|
285
|
+
},
|
|
286
|
+
],
|
|
287
|
+
[
|
|
288
|
+
'footer',
|
|
289
|
+
{
|
|
290
|
+
component: 'Footer',
|
|
291
|
+
converts: true,
|
|
292
|
+
tag: 'footer',
|
|
293
|
+
tags: ['footer', 'div'],
|
|
294
|
+
},
|
|
295
|
+
],
|
|
296
|
+
[
|
|
297
|
+
'level',
|
|
298
|
+
{ component: 'Level', converts: true, tag: 'nav', tags: ['nav'] },
|
|
299
|
+
],
|
|
300
|
+
[
|
|
301
|
+
'level-left',
|
|
302
|
+
{ component: 'Level.Left', converts: true, tag: 'div', tags: ['div'] },
|
|
303
|
+
],
|
|
304
|
+
[
|
|
305
|
+
'level-right',
|
|
306
|
+
{ component: 'Level.Right', converts: true, tag: 'div', tags: ['div'] },
|
|
307
|
+
],
|
|
308
|
+
[
|
|
309
|
+
'level-item',
|
|
310
|
+
{
|
|
311
|
+
component: 'Level.Item',
|
|
312
|
+
converts: true,
|
|
313
|
+
tag: 'div',
|
|
314
|
+
tags: ['div', 'p', 'a'],
|
|
315
|
+
},
|
|
316
|
+
],
|
|
317
|
+
[
|
|
318
|
+
'media',
|
|
319
|
+
{
|
|
320
|
+
component: 'Media',
|
|
321
|
+
converts: true,
|
|
322
|
+
tag: 'article',
|
|
323
|
+
tags: ['article', 'div'],
|
|
324
|
+
},
|
|
325
|
+
],
|
|
326
|
+
[
|
|
327
|
+
'media-left',
|
|
328
|
+
{
|
|
329
|
+
component: 'Media.Left',
|
|
330
|
+
converts: true,
|
|
331
|
+
tag: 'figure',
|
|
332
|
+
tags: ['figure', 'div'],
|
|
333
|
+
},
|
|
334
|
+
],
|
|
335
|
+
[
|
|
336
|
+
'media-content',
|
|
337
|
+
{ component: 'Media.Content', converts: true, tag: 'div', tags: ['div'] },
|
|
338
|
+
],
|
|
339
|
+
[
|
|
340
|
+
'media-right',
|
|
341
|
+
{ component: 'Media.Right', converts: true, tag: 'div', tags: ['div'] },
|
|
342
|
+
],
|
|
343
|
+
['card', { component: 'Card', converts: true, tag: 'div', tags: ['div'] }],
|
|
344
|
+
[
|
|
345
|
+
'card-header',
|
|
346
|
+
{
|
|
347
|
+
component: 'Card.Header',
|
|
348
|
+
converts: true,
|
|
349
|
+
tag: 'header',
|
|
350
|
+
tags: ['header'],
|
|
351
|
+
},
|
|
352
|
+
],
|
|
353
|
+
[
|
|
354
|
+
'card-header-title',
|
|
355
|
+
{
|
|
356
|
+
component: 'Card.Header.Title',
|
|
357
|
+
converts: true,
|
|
358
|
+
tag: 'div',
|
|
359
|
+
tags: ['div', 'p', 'h2', 'h3', 'h4'],
|
|
360
|
+
},
|
|
361
|
+
],
|
|
362
|
+
[
|
|
363
|
+
'card-header-icon',
|
|
364
|
+
{
|
|
365
|
+
component: 'Card.Header.Icon',
|
|
366
|
+
converts: true,
|
|
367
|
+
tag: 'button',
|
|
368
|
+
tags: ['button'],
|
|
369
|
+
},
|
|
370
|
+
],
|
|
371
|
+
[
|
|
372
|
+
'card-image',
|
|
373
|
+
{ component: 'Card.Image', converts: true, tag: 'div', tags: ['div'] },
|
|
374
|
+
],
|
|
375
|
+
[
|
|
376
|
+
'card-content',
|
|
377
|
+
{ component: 'Card.Content', converts: true, tag: 'div', tags: ['div'] },
|
|
378
|
+
],
|
|
379
|
+
[
|
|
380
|
+
'card-footer',
|
|
381
|
+
{
|
|
382
|
+
component: 'Card.Footer',
|
|
383
|
+
converts: true,
|
|
384
|
+
tag: 'footer',
|
|
385
|
+
tags: ['footer'],
|
|
386
|
+
},
|
|
387
|
+
],
|
|
388
|
+
[
|
|
389
|
+
'card-footer-item',
|
|
390
|
+
{
|
|
391
|
+
component: 'Card.FooterItem',
|
|
392
|
+
converts: true,
|
|
393
|
+
tag: 'span',
|
|
394
|
+
tags: ['span', 'a', 'button'],
|
|
395
|
+
},
|
|
396
|
+
],
|
|
397
|
+
[
|
|
398
|
+
'navbar',
|
|
399
|
+
{ component: 'Navbar', converts: true, tag: 'nav', tags: ['nav'] },
|
|
400
|
+
],
|
|
401
|
+
[
|
|
402
|
+
'navbar-brand',
|
|
403
|
+
{ component: 'Navbar.Brand', converts: true, tag: 'div', tags: ['div'] },
|
|
404
|
+
],
|
|
405
|
+
[
|
|
406
|
+
'navbar-menu',
|
|
407
|
+
{ component: 'Navbar.Menu', converts: true, tag: 'div', tags: ['div'] },
|
|
408
|
+
],
|
|
409
|
+
[
|
|
410
|
+
'navbar-start',
|
|
411
|
+
{ component: 'Navbar.Start', converts: true, tag: 'div', tags: ['div'] },
|
|
412
|
+
],
|
|
413
|
+
[
|
|
414
|
+
'navbar-end',
|
|
415
|
+
{ component: 'Navbar.End', converts: true, tag: 'div', tags: ['div'] },
|
|
416
|
+
],
|
|
417
|
+
[
|
|
418
|
+
'navbar-item',
|
|
419
|
+
{ component: 'Navbar.Item', converts: true, tag: 'a', tags: 'any' },
|
|
420
|
+
],
|
|
421
|
+
[
|
|
422
|
+
'navbar-dropdown',
|
|
423
|
+
{
|
|
424
|
+
component: 'Navbar.DropdownMenu',
|
|
425
|
+
converts: true,
|
|
426
|
+
tag: 'div',
|
|
427
|
+
tags: ['div'],
|
|
428
|
+
},
|
|
429
|
+
],
|
|
430
|
+
[
|
|
431
|
+
'navbar-divider',
|
|
432
|
+
{ component: 'Navbar.Divider', converts: true, tag: 'hr', tags: ['hr'] },
|
|
433
|
+
],
|
|
434
|
+
[
|
|
435
|
+
'field',
|
|
436
|
+
{ component: 'Field', converts: true, tag: 'div', tags: ['div'] },
|
|
437
|
+
],
|
|
438
|
+
[
|
|
439
|
+
'field-label',
|
|
440
|
+
{ component: 'Field.Label', converts: true, tag: 'div', tags: ['div'] },
|
|
441
|
+
],
|
|
442
|
+
[
|
|
443
|
+
'field-body',
|
|
444
|
+
{ component: 'Field.Body', converts: true, tag: 'div', tags: ['div'] },
|
|
445
|
+
],
|
|
446
|
+
[
|
|
447
|
+
'control',
|
|
448
|
+
{ component: 'Control', converts: true, tag: 'div', tags: ['div', 'p'] },
|
|
449
|
+
],
|
|
450
|
+
[
|
|
451
|
+
'input',
|
|
452
|
+
{ component: 'InputBase', converts: true, tag: 'input', tags: ['input'] },
|
|
453
|
+
],
|
|
454
|
+
[
|
|
455
|
+
'textarea',
|
|
456
|
+
{
|
|
457
|
+
component: 'TextAreaBase',
|
|
458
|
+
converts: true,
|
|
459
|
+
tag: 'textarea',
|
|
460
|
+
tags: ['textarea'],
|
|
461
|
+
},
|
|
462
|
+
],
|
|
463
|
+
[
|
|
464
|
+
'buttons',
|
|
465
|
+
{ component: 'Buttons', converts: true, tag: 'div', tags: ['div'] },
|
|
466
|
+
],
|
|
467
|
+
['tags', { component: 'Tags', converts: true, tag: 'div', tags: ['div'] }],
|
|
468
|
+
[
|
|
469
|
+
'button',
|
|
470
|
+
{ component: 'Button', converts: true, tag: 'button', tags: 'any' },
|
|
471
|
+
],
|
|
472
|
+
['tag', { component: 'Tag', converts: true, tag: 'span', tags: ['span'] }],
|
|
473
|
+
[
|
|
474
|
+
'delete',
|
|
475
|
+
{ component: 'Delete', converts: true, tag: 'button', tags: ['button'] },
|
|
476
|
+
],
|
|
477
|
+
[
|
|
478
|
+
'progress',
|
|
479
|
+
{
|
|
480
|
+
component: 'Progress',
|
|
481
|
+
converts: true,
|
|
482
|
+
tag: 'progress',
|
|
483
|
+
tags: ['progress'],
|
|
484
|
+
},
|
|
485
|
+
],
|
|
486
|
+
[
|
|
487
|
+
'table',
|
|
488
|
+
{ component: 'Table', converts: true, tag: 'table', tags: ['table'] },
|
|
489
|
+
],
|
|
490
|
+
[
|
|
491
|
+
'title',
|
|
492
|
+
{
|
|
493
|
+
component: 'Title',
|
|
494
|
+
converts: true,
|
|
495
|
+
tag: 'h1',
|
|
496
|
+
tags: ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p'],
|
|
497
|
+
},
|
|
498
|
+
],
|
|
499
|
+
[
|
|
500
|
+
'subtitle',
|
|
501
|
+
{
|
|
502
|
+
component: 'SubTitle',
|
|
503
|
+
converts: true,
|
|
504
|
+
tag: 'h1',
|
|
505
|
+
tags: ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p'],
|
|
506
|
+
},
|
|
507
|
+
],
|
|
508
|
+
[
|
|
509
|
+
'notification',
|
|
510
|
+
{ component: 'Notification', converts: true, tag: 'div', tags: ['div'] },
|
|
511
|
+
],
|
|
512
|
+
['box', { component: 'Box', converts: true, tag: 'div', tags: ['div'] }],
|
|
513
|
+
[
|
|
514
|
+
'content',
|
|
515
|
+
{ component: 'Content', converts: true, tag: 'div', tags: ['div'] },
|
|
516
|
+
],
|
|
517
|
+
[
|
|
518
|
+
'block',
|
|
519
|
+
{ component: 'Block', converts: true, tag: 'div', tags: ['div'] },
|
|
520
|
+
],
|
|
521
|
+
[
|
|
522
|
+
'select',
|
|
523
|
+
{ component: 'SelectBase', converts: true, tag: 'div', tags: ['div'] },
|
|
524
|
+
],
|
|
525
|
+
[
|
|
526
|
+
'breadcrumb',
|
|
527
|
+
{ component: 'Breadcrumb', converts: true, tag: 'nav', tags: ['nav'] },
|
|
528
|
+
],
|
|
529
|
+
[
|
|
530
|
+
'skeleton-block',
|
|
531
|
+
{ component: 'Skeleton', converts: true, tag: 'div', tags: ['div'] },
|
|
532
|
+
],
|
|
533
|
+
[
|
|
534
|
+
'skeleton-lines',
|
|
535
|
+
{ component: 'Skeleton', converts: true, tag: 'div', tags: ['div'] },
|
|
536
|
+
],
|
|
537
|
+
['file', { component: 'File', converts: true, tag: 'div', tags: ['div'] }],
|
|
538
|
+
[
|
|
539
|
+
'icon',
|
|
540
|
+
{ component: 'Icon', converts: true, tag: 'span', tags: ['span'] },
|
|
541
|
+
],
|
|
542
|
+
[
|
|
543
|
+
'icon-text',
|
|
544
|
+
{ component: 'IconText', converts: true, tag: 'span', tags: ['span'] },
|
|
545
|
+
],
|
|
546
|
+
[
|
|
547
|
+
'image',
|
|
548
|
+
{
|
|
549
|
+
component: 'Image',
|
|
550
|
+
converts: true,
|
|
551
|
+
tag: 'div',
|
|
552
|
+
tags: ['div', 'figure', 'p'],
|
|
553
|
+
},
|
|
554
|
+
],
|
|
555
|
+
[
|
|
556
|
+
'menu',
|
|
557
|
+
{ component: 'Menu', converts: true, tag: 'aside', tags: ['aside'] },
|
|
558
|
+
],
|
|
559
|
+
[
|
|
560
|
+
'menu-label',
|
|
561
|
+
{ component: 'Menu.Label', converts: true, tag: 'p', tags: ['p'] },
|
|
562
|
+
],
|
|
563
|
+
[
|
|
564
|
+
'menu-list',
|
|
565
|
+
{ component: 'Menu.List', converts: true, tag: 'ul', tags: ['ul'] },
|
|
566
|
+
],
|
|
567
|
+
[
|
|
568
|
+
'modal-background',
|
|
569
|
+
{
|
|
570
|
+
component: 'Modal.Background',
|
|
571
|
+
converts: true,
|
|
572
|
+
tag: 'div',
|
|
573
|
+
tags: ['div'],
|
|
574
|
+
},
|
|
575
|
+
],
|
|
576
|
+
[
|
|
577
|
+
'modal-content',
|
|
578
|
+
{ component: 'Modal.Content', converts: true, tag: 'div', tags: ['div'] },
|
|
579
|
+
],
|
|
580
|
+
[
|
|
581
|
+
'modal-card',
|
|
582
|
+
{ component: 'Modal.Card', converts: true, tag: 'div', tags: ['div'] },
|
|
583
|
+
],
|
|
584
|
+
[
|
|
585
|
+
'modal-card-head',
|
|
586
|
+
{
|
|
587
|
+
component: 'Modal.Card.Head',
|
|
588
|
+
converts: true,
|
|
589
|
+
tag: 'header',
|
|
590
|
+
tags: ['header'],
|
|
591
|
+
},
|
|
592
|
+
],
|
|
593
|
+
[
|
|
594
|
+
'modal-card-title',
|
|
595
|
+
{ component: 'Modal.Card.Title', converts: true, tag: 'p', tags: ['p'] },
|
|
596
|
+
],
|
|
597
|
+
[
|
|
598
|
+
'modal-card-body',
|
|
599
|
+
{
|
|
600
|
+
component: 'Modal.Card.Body',
|
|
601
|
+
converts: true,
|
|
602
|
+
tag: 'section',
|
|
603
|
+
tags: ['section'],
|
|
604
|
+
},
|
|
605
|
+
],
|
|
606
|
+
[
|
|
607
|
+
'modal-card-foot',
|
|
608
|
+
{
|
|
609
|
+
component: 'Modal.Card.Foot',
|
|
610
|
+
converts: true,
|
|
611
|
+
tag: 'footer',
|
|
612
|
+
tags: ['footer'],
|
|
613
|
+
},
|
|
614
|
+
],
|
|
615
|
+
[
|
|
616
|
+
'pagination',
|
|
617
|
+
{ component: 'Pagination', converts: true, tag: 'nav', tags: ['nav'] },
|
|
618
|
+
],
|
|
619
|
+
[
|
|
620
|
+
'pagination-list',
|
|
621
|
+
{ component: 'Pagination.List', converts: true, tag: 'ul', tags: ['ul'] },
|
|
622
|
+
],
|
|
251
623
|
[
|
|
252
624
|
'pagination-previous',
|
|
253
|
-
{
|
|
625
|
+
{
|
|
626
|
+
component: 'Pagination.Previous',
|
|
627
|
+
converts: true,
|
|
628
|
+
tag: 'a',
|
|
629
|
+
tags: ['a'],
|
|
630
|
+
},
|
|
631
|
+
],
|
|
632
|
+
[
|
|
633
|
+
'pagination-next',
|
|
634
|
+
{ component: 'Pagination.Next', converts: true, tag: 'a', tags: ['a'] },
|
|
635
|
+
],
|
|
636
|
+
[
|
|
637
|
+
'pagination-link',
|
|
638
|
+
{ component: 'Pagination.Link', converts: true, tag: 'a', tags: ['a'] },
|
|
254
639
|
],
|
|
255
|
-
['pagination-next', { component: 'Pagination.Next', converts: true }],
|
|
256
|
-
['pagination-link', { component: 'Pagination.Link', converts: true }],
|
|
257
640
|
[
|
|
258
641
|
'pagination-ellipsis',
|
|
259
|
-
{
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
[
|
|
267
|
-
|
|
642
|
+
{
|
|
643
|
+
component: 'Pagination.Ellipsis',
|
|
644
|
+
converts: true,
|
|
645
|
+
tag: 'span',
|
|
646
|
+
tags: ['span'],
|
|
647
|
+
},
|
|
648
|
+
],
|
|
649
|
+
[
|
|
650
|
+
'panel',
|
|
651
|
+
{
|
|
652
|
+
component: 'Panel',
|
|
653
|
+
converts: true,
|
|
654
|
+
tag: 'nav',
|
|
655
|
+
tags: ['nav', 'article', 'section', 'aside', 'div'],
|
|
656
|
+
},
|
|
657
|
+
],
|
|
658
|
+
[
|
|
659
|
+
'panel-heading',
|
|
660
|
+
{ component: 'Panel.Heading', converts: true, tag: 'p', tags: ['p'] },
|
|
661
|
+
],
|
|
662
|
+
[
|
|
663
|
+
'panel-tabs',
|
|
664
|
+
{ component: 'Panel.Tabs', converts: true, tag: 'p', tags: ['p'] },
|
|
665
|
+
],
|
|
666
|
+
[
|
|
667
|
+
'panel-block',
|
|
668
|
+
{
|
|
669
|
+
component: 'Panel.Block',
|
|
670
|
+
converts: true,
|
|
671
|
+
tag: 'a',
|
|
672
|
+
tags: ['a', 'div', 'label'],
|
|
673
|
+
},
|
|
674
|
+
],
|
|
675
|
+
['tabs', { component: 'Tabs', converts: true, tag: 'div', tags: ['div'] }],
|
|
676
|
+
[
|
|
677
|
+
'table-container',
|
|
678
|
+
{ component: 'Table', converts: true, tag: 'div', tags: ['div'] },
|
|
679
|
+
],
|
|
680
|
+
[
|
|
681
|
+
'fixed-grid',
|
|
682
|
+
{ component: 'Grid', converts: true, tag: 'div', tags: ['div'] },
|
|
683
|
+
],
|
|
268
684
|
]);
|