@primer/view-components 0.1.1-rc.797d8bd8 → 0.1.1-rc.82c2b91f

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.797d8bd8",
3
+ "version": "0.1.1-rc.82c2b91f",
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",
@@ -53,7 +53,7 @@
53
53
  "@github/mini-throttle": "^2.1.0",
54
54
  "@github/relative-time-element": "^4.0.0",
55
55
  "@github/tab-container-element": "^3.1.2",
56
- "@oddbird/popover-polyfill": "^0.0.8",
56
+ "@oddbird/popover-polyfill": "^0.0.9",
57
57
  "@primer/behaviors": "^1.2.0"
58
58
  },
59
59
  "devDependencies": {
@@ -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",
@@ -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
  }