@primer/view-components 0.1.1-rc.a2e2c2f0 → 0.1.1-rc.a910f18c

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.a2e2c2f0",
3
+ "version": "0.1.1-rc.a910f18c",
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",
@@ -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",
@@ -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
  }