@primer/view-components 0.1.1-rc.a476a842 → 0.1.1-rc.f673cd08
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/package.json +1 -1
- package/static/arguments.json +62 -56
- package/static/audited_at.json +1 -0
- package/static/constants.json +7 -5
- package/static/statuses.json +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/view-components",
|
|
3
|
-
"version": "0.1.1-rc.
|
|
3
|
+
"version": "0.1.1-rc.f673cd08",
|
|
4
4
|
"description": "ViewComponents for the Primer Design System",
|
|
5
5
|
"main": "app/assets/javascripts/primer_view_components.js",
|
|
6
6
|
"module": "app/components/primer/primer.js",
|
package/static/arguments.json
CHANGED
|
@@ -355,6 +355,56 @@
|
|
|
355
355
|
}
|
|
356
356
|
]
|
|
357
357
|
},
|
|
358
|
+
{
|
|
359
|
+
"component": "Navigation::Tab",
|
|
360
|
+
"status": "alpha",
|
|
361
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/navigation/tab.rb",
|
|
362
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/navigation/tab_preview/default/",
|
|
363
|
+
"parameters": [
|
|
364
|
+
{
|
|
365
|
+
"name": "list",
|
|
366
|
+
"type": "Boolean",
|
|
367
|
+
"default": "`false`",
|
|
368
|
+
"description": "Whether the Tab is an item in a `<ul>` list."
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"name": "selected",
|
|
372
|
+
"type": "Boolean",
|
|
373
|
+
"default": "`false`",
|
|
374
|
+
"description": "Whether the Tab is selected or not."
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"name": "with_panel",
|
|
378
|
+
"type": "Boolean",
|
|
379
|
+
"default": "`false`",
|
|
380
|
+
"description": "Whether the Tab has an associated panel."
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "panel_id",
|
|
384
|
+
"type": "String",
|
|
385
|
+
"default": "`\"\"`",
|
|
386
|
+
"description": "Only applies if `with_panel` is `true`. Unique id of panel."
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "icon_classes",
|
|
390
|
+
"type": "Boolean",
|
|
391
|
+
"default": "`\"\"`",
|
|
392
|
+
"description": "Classes that must always be applied to icons."
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "wrapper_arguments",
|
|
396
|
+
"type": "Hash",
|
|
397
|
+
"default": "`{}`",
|
|
398
|
+
"description": "[System arguments](/system-arguments) to be used in the `<li>` wrapper when the tab is an item in a list."
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"name": "system_arguments",
|
|
402
|
+
"type": "Hash",
|
|
403
|
+
"default": "N/A",
|
|
404
|
+
"description": "[System arguments](/system-arguments)"
|
|
405
|
+
}
|
|
406
|
+
]
|
|
407
|
+
},
|
|
358
408
|
{
|
|
359
409
|
"component": "OcticonSymbols",
|
|
360
410
|
"status": "alpha",
|
|
@@ -1443,56 +1493,6 @@
|
|
|
1443
1493
|
}
|
|
1444
1494
|
]
|
|
1445
1495
|
},
|
|
1446
|
-
{
|
|
1447
|
-
"component": "Navigation::Tab",
|
|
1448
|
-
"status": "alpha",
|
|
1449
|
-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/navigation/tab_component.rb",
|
|
1450
|
-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/navigation/tab/default/",
|
|
1451
|
-
"parameters": [
|
|
1452
|
-
{
|
|
1453
|
-
"name": "list",
|
|
1454
|
-
"type": "Boolean",
|
|
1455
|
-
"default": "`false`",
|
|
1456
|
-
"description": "Whether the Tab is an item in a `<ul>` list."
|
|
1457
|
-
},
|
|
1458
|
-
{
|
|
1459
|
-
"name": "selected",
|
|
1460
|
-
"type": "Boolean",
|
|
1461
|
-
"default": "`false`",
|
|
1462
|
-
"description": "Whether the Tab is selected or not."
|
|
1463
|
-
},
|
|
1464
|
-
{
|
|
1465
|
-
"name": "with_panel",
|
|
1466
|
-
"type": "Boolean",
|
|
1467
|
-
"default": "`false`",
|
|
1468
|
-
"description": "Whether the Tab has an associated panel."
|
|
1469
|
-
},
|
|
1470
|
-
{
|
|
1471
|
-
"name": "panel_id",
|
|
1472
|
-
"type": "String",
|
|
1473
|
-
"default": "`\"\"`",
|
|
1474
|
-
"description": "Only applies if `with_panel` is `true`. Unique id of panel."
|
|
1475
|
-
},
|
|
1476
|
-
{
|
|
1477
|
-
"name": "icon_classes",
|
|
1478
|
-
"type": "Boolean",
|
|
1479
|
-
"default": "`\"\"`",
|
|
1480
|
-
"description": "Classes that must always be applied to icons."
|
|
1481
|
-
},
|
|
1482
|
-
{
|
|
1483
|
-
"name": "wrapper_arguments",
|
|
1484
|
-
"type": "Hash",
|
|
1485
|
-
"default": "`{}`",
|
|
1486
|
-
"description": "[System arguments](/system-arguments) to be used in the `<li>` wrapper when the tab is an item in a list."
|
|
1487
|
-
},
|
|
1488
|
-
{
|
|
1489
|
-
"name": "system_arguments",
|
|
1490
|
-
"type": "Hash",
|
|
1491
|
-
"default": "N/A",
|
|
1492
|
-
"description": "[System arguments](/system-arguments)"
|
|
1493
|
-
}
|
|
1494
|
-
]
|
|
1495
|
-
},
|
|
1496
1496
|
{
|
|
1497
1497
|
"component": "Octicon",
|
|
1498
1498
|
"status": "beta",
|
|
@@ -2196,10 +2196,10 @@
|
|
|
2196
2196
|
]
|
|
2197
2197
|
},
|
|
2198
2198
|
{
|
|
2199
|
-
"component": "NavList::
|
|
2199
|
+
"component": "NavList::Group",
|
|
2200
2200
|
"status": "alpha",
|
|
2201
|
-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list/
|
|
2202
|
-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/nav_list/
|
|
2201
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list/group.rb",
|
|
2202
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/nav_list/group/default/",
|
|
2203
2203
|
"parameters": [
|
|
2204
2204
|
{
|
|
2205
2205
|
"name": "selected_item_id",
|
|
@@ -2291,6 +2291,12 @@
|
|
|
2291
2291
|
"default": "N/A",
|
|
2292
2292
|
"description": "Sub list title."
|
|
2293
2293
|
},
|
|
2294
|
+
{
|
|
2295
|
+
"name": "heading_level",
|
|
2296
|
+
"type": "Integer",
|
|
2297
|
+
"default": "`3`",
|
|
2298
|
+
"description": "Heading level. Level 2 results in an `<h2>` tag, level 3 an `<h3>` tag, etc."
|
|
2299
|
+
},
|
|
2294
2300
|
{
|
|
2295
2301
|
"name": "subtitle",
|
|
2296
2302
|
"type": "String",
|
|
@@ -2305,8 +2311,8 @@
|
|
|
2305
2311
|
},
|
|
2306
2312
|
{
|
|
2307
2313
|
"name": "tag",
|
|
2308
|
-
"type": "
|
|
2309
|
-
"default": "
|
|
2314
|
+
"type": "Integer",
|
|
2315
|
+
"default": "N/A",
|
|
2310
2316
|
"description": "Semantic tag for the heading."
|
|
2311
2317
|
},
|
|
2312
2318
|
{
|
|
@@ -2374,7 +2380,7 @@
|
|
|
2374
2380
|
{
|
|
2375
2381
|
"name": "role",
|
|
2376
2382
|
"type": "String",
|
|
2377
|
-
"default": "
|
|
2383
|
+
"default": "`nil`",
|
|
2378
2384
|
"description": "ARIA role describing the function of the item."
|
|
2379
2385
|
},
|
|
2380
2386
|
{
|
package/static/audited_at.json
CHANGED
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"Primer::Alpha::NavList": "",
|
|
31
31
|
"Primer::Alpha::NavList::Group": "",
|
|
32
32
|
"Primer::Alpha::NavList::Item": "",
|
|
33
|
+
"Primer::Alpha::Navigation::Tab": "",
|
|
33
34
|
"Primer::Alpha::OcticonSymbols": "",
|
|
34
35
|
"Primer::Alpha::Overlay": "",
|
|
35
36
|
"Primer::Alpha::Overlay::Body": "",
|
package/static/constants.json
CHANGED
|
@@ -343,6 +343,13 @@
|
|
|
343
343
|
},
|
|
344
344
|
"Primer::Alpha::NavList::Item": {
|
|
345
345
|
},
|
|
346
|
+
"Primer::Alpha::Navigation::Tab": {
|
|
347
|
+
"ARIA_CURRENT_OPTIONS_FOR_ANCHOR": [
|
|
348
|
+
true,
|
|
349
|
+
"page"
|
|
350
|
+
],
|
|
351
|
+
"DEFAULT_ARIA_CURRENT_FOR_ANCHOR": "page"
|
|
352
|
+
},
|
|
346
353
|
"Primer::Alpha::OcticonSymbols": {
|
|
347
354
|
},
|
|
348
355
|
"Primer::Alpha::Overlay": {
|
|
@@ -1199,11 +1206,6 @@
|
|
|
1199
1206
|
"MAX_COL": 12
|
|
1200
1207
|
},
|
|
1201
1208
|
"Primer::Navigation::TabComponent": {
|
|
1202
|
-
"ARIA_CURRENT_OPTIONS_FOR_ANCHOR": [
|
|
1203
|
-
true,
|
|
1204
|
-
"page"
|
|
1205
|
-
],
|
|
1206
|
-
"DEFAULT_ARIA_CURRENT_FOR_ANCHOR": "page"
|
|
1207
1209
|
},
|
|
1208
1210
|
"Primer::Tooltip": {
|
|
1209
1211
|
"ALIGN_DEFAULT": "default",
|
package/static/statuses.json
CHANGED
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"Primer::Alpha::NavList": "alpha",
|
|
31
31
|
"Primer::Alpha::NavList::Group": "alpha",
|
|
32
32
|
"Primer::Alpha::NavList::Item": "alpha",
|
|
33
|
+
"Primer::Alpha::Navigation::Tab": "alpha",
|
|
33
34
|
"Primer::Alpha::OcticonSymbols": "alpha",
|
|
34
35
|
"Primer::Alpha::Overlay": "alpha",
|
|
35
36
|
"Primer::Alpha::Overlay::Body": "alpha",
|
|
@@ -92,7 +93,7 @@
|
|
|
92
93
|
"Primer::Content": "stable",
|
|
93
94
|
"Primer::IconButton": "deprecated",
|
|
94
95
|
"Primer::LayoutComponent": "alpha",
|
|
95
|
-
"Primer::Navigation::TabComponent": "
|
|
96
|
+
"Primer::Navigation::TabComponent": "deprecated",
|
|
96
97
|
"Primer::Tooltip": "deprecated",
|
|
97
98
|
"Primer::Truncate": "beta"
|
|
98
99
|
}
|