@primer/view-components 0.1.1-rc.a476a842 → 0.1.1-rc.d25b3df7

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.1.1-rc.a476a842",
3
+ "version": "0.1.1-rc.d25b3df7",
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",
@@ -1445,7 +1445,7 @@
1445
1445
  },
1446
1446
  {
1447
1447
  "component": "Navigation::Tab",
1448
- "status": "alpha",
1448
+ "status": "deprecated",
1449
1449
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/navigation/tab_component.rb",
1450
1450
  "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/navigation/tab/default/",
1451
1451
  "parameters": [
@@ -1493,6 +1493,56 @@
1493
1493
  }
1494
1494
  ]
1495
1495
  },
1496
+ {
1497
+ "component": "Navigation::Tab",
1498
+ "status": "alpha",
1499
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/navigation/tab.rb",
1500
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/navigation/tab/default/",
1501
+ "parameters": [
1502
+ {
1503
+ "name": "list",
1504
+ "type": "Boolean",
1505
+ "default": "`false`",
1506
+ "description": "Whether the Tab is an item in a `<ul>` list."
1507
+ },
1508
+ {
1509
+ "name": "selected",
1510
+ "type": "Boolean",
1511
+ "default": "`false`",
1512
+ "description": "Whether the Tab is selected or not."
1513
+ },
1514
+ {
1515
+ "name": "with_panel",
1516
+ "type": "Boolean",
1517
+ "default": "`false`",
1518
+ "description": "Whether the Tab has an associated panel."
1519
+ },
1520
+ {
1521
+ "name": "panel_id",
1522
+ "type": "String",
1523
+ "default": "`\"\"`",
1524
+ "description": "Only applies if `with_panel` is `true`. Unique id of panel."
1525
+ },
1526
+ {
1527
+ "name": "icon_classes",
1528
+ "type": "Boolean",
1529
+ "default": "`\"\"`",
1530
+ "description": "Classes that must always be applied to icons."
1531
+ },
1532
+ {
1533
+ "name": "wrapper_arguments",
1534
+ "type": "Hash",
1535
+ "default": "`{}`",
1536
+ "description": "[System arguments](/system-arguments) to be used in the `<li>` wrapper when the tab is an item in a list."
1537
+ },
1538
+ {
1539
+ "name": "system_arguments",
1540
+ "type": "Hash",
1541
+ "default": "N/A",
1542
+ "description": "[System arguments](/system-arguments)"
1543
+ }
1544
+ ]
1545
+ },
1496
1546
  {
1497
1547
  "component": "Octicon",
1498
1548
  "status": "beta",
@@ -2196,10 +2246,10 @@
2196
2246
  ]
2197
2247
  },
2198
2248
  {
2199
- "component": "NavList::Section",
2249
+ "component": "NavList::Group",
2200
2250
  "status": "alpha",
2201
- "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list/section.rb",
2202
- "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/nav_list/section/default/",
2251
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list/group.rb",
2252
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/nav_list/group/default/",
2203
2253
  "parameters": [
2204
2254
  {
2205
2255
  "name": "selected_item_id",
@@ -2291,6 +2341,12 @@
2291
2341
  "default": "N/A",
2292
2342
  "description": "Sub list title."
2293
2343
  },
2344
+ {
2345
+ "name": "heading_level",
2346
+ "type": "Integer",
2347
+ "default": "`3`",
2348
+ "description": "Heading level. Level 2 results in an `<h2>` tag, level 3 an `<h3>` tag, etc."
2349
+ },
2294
2350
  {
2295
2351
  "name": "subtitle",
2296
2352
  "type": "String",
@@ -2305,8 +2361,8 @@
2305
2361
  },
2306
2362
  {
2307
2363
  "name": "tag",
2308
- "type": "Symbol",
2309
- "default": "`:h3`",
2364
+ "type": "Integer",
2365
+ "default": "N/A",
2310
2366
  "description": "Semantic tag for the heading."
2311
2367
  },
2312
2368
  {
@@ -2374,7 +2430,7 @@
2374
2430
  {
2375
2431
  "name": "role",
2376
2432
  "type": "String",
2377
- "default": "`:listitem`",
2433
+ "default": "`nil`",
2378
2434
  "description": "ARIA role describing the function of the item."
2379
2435
  },
2380
2436
  {
@@ -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": "",
@@ -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",
@@ -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": "alpha",
96
+ "Primer::Navigation::TabComponent": "deprecated",
96
97
  "Primer::Tooltip": "deprecated",
97
98
  "Primer::Truncate": "beta"
98
99
  }