@primer/view-components 0.10.0-rc.e6e97f9f → 0.10.1-rc.02a6b561

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.
@@ -896,6 +896,12 @@
896
896
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/dialog/header.rb",
897
897
  "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/dialog/header/default/",
898
898
  "parameters": [
899
+ {
900
+ "name": "id",
901
+ "type": "String",
902
+ "default": "N/A",
903
+ "description": "The HTML element's ID value."
904
+ },
899
905
  {
900
906
  "name": "title",
901
907
  "type": "String",
@@ -920,6 +926,12 @@
920
926
  "default": "`false`",
921
927
  "description": "Visually hide the `title` while maintaining a label for assistive technologies."
922
928
  },
929
+ {
930
+ "name": "variant",
931
+ "type": "Symbol",
932
+ "default": "`:medium`",
933
+ "description": "One of `:large` or `:medium`."
934
+ },
923
935
  {
924
936
  "name": "system_arguments",
925
937
  "type": "Hash",
@@ -1432,7 +1444,7 @@
1432
1444
  },
1433
1445
  {
1434
1446
  "component": "NavList",
1435
- "status": "alpha",
1447
+ "status": "deprecated",
1436
1448
  "a11y_reviewed": true,
1437
1449
  "short_name": "NavList",
1438
1450
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list.rb",
@@ -1454,7 +1466,7 @@
1454
1466
  },
1455
1467
  {
1456
1468
  "component": "NavList::Divider",
1457
- "status": "alpha",
1469
+ "status": "deprecated",
1458
1470
  "a11y_reviewed": false,
1459
1471
  "short_name": "NavListDivider",
1460
1472
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list/divider.rb",
@@ -1476,7 +1488,7 @@
1476
1488
  },
1477
1489
  {
1478
1490
  "component": "NavList::Group",
1479
- "status": "alpha",
1491
+ "status": "deprecated",
1480
1492
  "a11y_reviewed": true,
1481
1493
  "short_name": "NavListGroup",
1482
1494
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list/group.rb",
@@ -1498,7 +1510,7 @@
1498
1510
  },
1499
1511
  {
1500
1512
  "component": "NavList::Heading",
1501
- "status": "alpha",
1513
+ "status": "deprecated",
1502
1514
  "a11y_reviewed": false,
1503
1515
  "short_name": "NavListHeading",
1504
1516
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list/heading.rb",
@@ -1532,7 +1544,7 @@
1532
1544
  },
1533
1545
  {
1534
1546
  "component": "NavList::Item",
1535
- "status": "alpha",
1547
+ "status": "deprecated",
1536
1548
  "a11y_reviewed": false,
1537
1549
  "short_name": "NavListItem",
1538
1550
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list/item.rb",
@@ -3671,7 +3683,7 @@
3671
3683
  {
3672
3684
  "name": "underline",
3673
3685
  "type": "Boolean",
3674
- "default": "`true`",
3686
+ "default": "`false`",
3675
3687
  "description": "Whether or not to underline the link."
3676
3688
  },
3677
3689
  {
@@ -3704,6 +3716,146 @@
3704
3716
  }
3705
3717
  ]
3706
3718
  },
3719
+ {
3720
+ "component": "NavList",
3721
+ "status": "beta",
3722
+ "a11y_reviewed": true,
3723
+ "short_name": "NavList",
3724
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/beta/nav_list.rb",
3725
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/beta/nav_list/default/",
3726
+ "parameters": [
3727
+ {
3728
+ "name": "selected_item_id",
3729
+ "type": "Symbol",
3730
+ "default": "`nil`",
3731
+ "description": "The ID of the currently selected item. The default is `nil`, meaning no item is selected."
3732
+ },
3733
+ {
3734
+ "name": "system_arguments",
3735
+ "type": "Hash",
3736
+ "default": "N/A",
3737
+ "description": "[System arguments](/system-arguments)"
3738
+ }
3739
+ ]
3740
+ },
3741
+ {
3742
+ "component": "NavList::Divider",
3743
+ "status": "alpha",
3744
+ "a11y_reviewed": false,
3745
+ "short_name": "NavListDivider",
3746
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/beta/nav_list/divider.rb",
3747
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/beta/nav_list/divider/default/",
3748
+ "parameters": [
3749
+ {
3750
+ "name": "scheme",
3751
+ "type": "Symbol",
3752
+ "default": "`:subtle`",
3753
+ "description": "Display a background color if scheme is `filled`."
3754
+ },
3755
+ {
3756
+ "name": "system_arguments",
3757
+ "type": "Hash",
3758
+ "default": "N/A",
3759
+ "description": "[System arguments](/system-arguments)"
3760
+ }
3761
+ ]
3762
+ },
3763
+ {
3764
+ "component": "NavList::Group",
3765
+ "status": "alpha",
3766
+ "a11y_reviewed": true,
3767
+ "short_name": "NavListGroup",
3768
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/beta/nav_list/group.rb",
3769
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/beta/nav_list/group/default/",
3770
+ "parameters": [
3771
+ {
3772
+ "name": "selected_item_id",
3773
+ "type": "Symbol",
3774
+ "default": "`nil`",
3775
+ "description": "The ID of the currently selected item. Used internally."
3776
+ },
3777
+ {
3778
+ "name": "system_arguments",
3779
+ "type": "Hash",
3780
+ "default": "N/A",
3781
+ "description": "[System arguments](/system-arguments)"
3782
+ }
3783
+ ]
3784
+ },
3785
+ {
3786
+ "component": "NavList::Heading",
3787
+ "status": "alpha",
3788
+ "a11y_reviewed": false,
3789
+ "short_name": "NavListHeading",
3790
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/beta/nav_list/heading.rb",
3791
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/beta/nav_list/heading/default/",
3792
+ "parameters": [
3793
+ {
3794
+ "name": "title",
3795
+ "type": "String",
3796
+ "default": "N/A",
3797
+ "description": "The text content of the heading."
3798
+ },
3799
+ {
3800
+ "name": "id",
3801
+ "type": "String",
3802
+ "default": "`self.class.generate_id`",
3803
+ "description": "The value of the ID HTML attribute. Auto-generated by default."
3804
+ },
3805
+ {
3806
+ "name": "heading_level",
3807
+ "type": "Integer",
3808
+ "default": "`2`",
3809
+ "description": "The heading level, i.e. 2 for an `<h2>`, 3 for an `<h3>`, etc."
3810
+ },
3811
+ {
3812
+ "name": "system_arguments",
3813
+ "type": "Hash",
3814
+ "default": "N/A",
3815
+ "description": "[System arguments](/system-arguments)"
3816
+ }
3817
+ ]
3818
+ },
3819
+ {
3820
+ "component": "NavList::Item",
3821
+ "status": "alpha",
3822
+ "a11y_reviewed": false,
3823
+ "short_name": "NavListItem",
3824
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/beta/nav_list/item.rb",
3825
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/beta/nav_list/item/default/",
3826
+ "parameters": [
3827
+ {
3828
+ "name": "selected_item_id",
3829
+ "type": "Symbol",
3830
+ "default": "`nil`",
3831
+ "description": "The ID of the currently selected list item. Used internally."
3832
+ },
3833
+ {
3834
+ "name": "selected_by_ids",
3835
+ "type": "Array<Symbol>",
3836
+ "default": "`[]`",
3837
+ "description": "The list of IDs that select this item. In other words, if the `selected_item_id` attribute on the parent `NavList` is set to one of these IDs, the item will appear selected."
3838
+ },
3839
+ {
3840
+ "name": "expanded",
3841
+ "type": "Boolean",
3842
+ "default": "`false`",
3843
+ "description": "Whether this item shows (expands) or hides (collapses) its list of sub items."
3844
+ },
3845
+ {
3846
+ "name": "sub_item",
3847
+ "type": "Boolean",
3848
+ "default": "`false`",
3849
+ "description": "Whether or not this item is nested under a parent item. Used internally."
3850
+ },
3851
+ {
3852
+ "name": "system_arguments",
3853
+ "type": "Hash",
3854
+ "default": "N/A",
3855
+ "description": "[System arguments](/system-arguments)"
3856
+ }
3857
+ ]
3858
+ },
3707
3859
  {
3708
3860
  "component": "Octicon",
3709
3861
  "status": "beta",
@@ -82,6 +82,11 @@
82
82
  "Primer::Beta::Label": "",
83
83
  "Primer::Beta::Link": "",
84
84
  "Primer::Beta::Markdown": "",
85
+ "Primer::Beta::NavList": "2023-07-10",
86
+ "Primer::Beta::NavList::Divider": "",
87
+ "Primer::Beta::NavList::Group": "2023-07-10",
88
+ "Primer::Beta::NavList::Heading": "",
89
+ "Primer::Beta::NavList::Item": "",
85
90
  "Primer::Beta::Octicon": "",
86
91
  "Primer::Beta::Popover": "",
87
92
  "Primer::Beta::ProgressBar": "",
@@ -362,6 +362,9 @@
362
362
  "Link--secondary": [
363
363
  "Primer::Beta::Link"
364
364
  ],
365
+ "Link--underline": [
366
+ "Primer::Beta::Link"
367
+ ],
365
368
  "Overlay": [
366
369
  "Primer::Alpha::Dialog",
367
370
  "Primer::Alpha::Overlay"
@@ -263,6 +263,15 @@
263
263
  "Primer::Alpha::Dialog::Footer": {
264
264
  },
265
265
  "Primer::Alpha::Dialog::Header": {
266
+ "DEFAULT_VARIANT": "medium",
267
+ "VARIANT_MAPPINGS": {
268
+ "medium": "",
269
+ "large": "Overlay-header--large"
270
+ },
271
+ "VARIANT_OPTIONS": [
272
+ "medium",
273
+ "large"
274
+ ]
266
275
  },
267
276
  "Primer::Alpha::Dropdown": {
268
277
  "Menu": "Primer::Alpha::Dropdown::Menu"
@@ -968,6 +977,20 @@
968
977
  "td"
969
978
  ]
970
979
  },
980
+ "Primer::Beta::NavList": {
981
+ "Divider": "Primer::Beta::NavList::Divider",
982
+ "Group": "Primer::Beta::NavList::Group",
983
+ "Heading": "Primer::Beta::NavList::Heading",
984
+ "Item": "Primer::Beta::NavList::Item"
985
+ },
986
+ "Primer::Beta::NavList::Divider": {
987
+ },
988
+ "Primer::Beta::NavList::Group": {
989
+ },
990
+ "Primer::Beta::NavList::Heading": {
991
+ },
992
+ "Primer::Beta::NavList::Item": {
993
+ },
971
994
  "Primer::Beta::Octicon": {
972
995
  "SIZE_DEFAULT": "small",
973
996
  "SIZE_MAPPINGS": {