Skip to content

Commit

Permalink
Merge branch 'main' into fix-toggle-switch-preview
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank authored Jul 13, 2023
2 parents f7fc68b + f2dd086 commit 283e3c2
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 13 deletions.
1 change: 1 addition & 0 deletions app/components/primer/alpha/action_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module Alpha
# and/or trailing visuals.
class ActionList < Primer::Component
status :alpha
audited_at "2023-07-10"

DEFAULT_ROLE = :list

Expand Down
1 change: 1 addition & 0 deletions app/components/primer/alpha/nav_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module Alpha
# `selected_item_id` argument to select the appropriate item.
class NavList < Primer::Component
status :alpha
audited_at "2023-07-10"

# @private
def self.custom_element_name
Expand Down
2 changes: 1 addition & 1 deletion docs/content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Optionally, to add the JavaScript behaviours, in your `application.html.erb` in
Or alternatively, you can install the `@primer/view-components` npm package and in your JavaScript code add:

```js
import '@primer/view-components'
import '@primer/view-components/app/assets/javascripts/primer_view_components.js'
```

You can also import only the components you need:
Expand Down
8 changes: 4 additions & 4 deletions static/arguments.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
{
"component": "ActionList",
"status": "alpha",
"a11y_reviewed": false,
"a11y_reviewed": true,
"short_name": "ActionList",
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_list.rb",
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_list/default/",
Expand Down Expand Up @@ -377,7 +377,7 @@
{
"component": "ActionMenu::List",
"status": "alpha",
"a11y_reviewed": false,
"a11y_reviewed": true,
"short_name": "ActionMenuList",
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_menu/list.rb",
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_menu/list/default/",
Expand Down Expand Up @@ -1427,7 +1427,7 @@
{
"component": "NavList",
"status": "alpha",
"a11y_reviewed": false,
"a11y_reviewed": true,
"short_name": "NavList",
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list.rb",
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/nav_list/default/",
Expand Down Expand Up @@ -1471,7 +1471,7 @@
{
"component": "NavList::Group",
"status": "alpha",
"a11y_reviewed": false,
"a11y_reviewed": true,
"short_name": "NavListGroup",
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list/group.rb",
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/nav_list/group/default/",
Expand Down
8 changes: 4 additions & 4 deletions static/audited_at.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"Primer::Alpha::ActionBar": "",
"Primer::Alpha::ActionBar::Divider": "",
"Primer::Alpha::ActionBar::Item": "",
"Primer::Alpha::ActionList": "",
"Primer::Alpha::ActionList": "2023-07-10",
"Primer::Alpha::ActionList::Divider": "",
"Primer::Alpha::ActionList::FormWrapper": "",
"Primer::Alpha::ActionList::Heading": "",
"Primer::Alpha::ActionList::Item": "",
"Primer::Alpha::ActionMenu": "",
"Primer::Alpha::ActionMenu::List": "",
"Primer::Alpha::ActionMenu::List": "2023-07-10",
"Primer::Alpha::AutoComplete": "",
"Primer::Alpha::AutoComplete::Item": "",
"Primer::Alpha::Banner": "",
Expand All @@ -33,9 +33,9 @@
"Primer::Alpha::Layout::Sidebar": "",
"Primer::Alpha::Menu": "",
"Primer::Alpha::MultiInput": "",
"Primer::Alpha::NavList": "",
"Primer::Alpha::NavList": "2023-07-10",
"Primer::Alpha::NavList::Divider": "",
"Primer::Alpha::NavList::Group": "",
"Primer::Alpha::NavList::Group": "2023-07-10",
"Primer::Alpha::NavList::Heading": "",
"Primer::Alpha::NavList::Item": "",
"Primer::Alpha::Navigation::Tab": "",
Expand Down
8 changes: 4 additions & 4 deletions static/info_arch.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
"requires_js": true,
"component": "ActionList",
"status": "alpha",
"a11y_reviewed": false,
"a11y_reviewed": true,
"short_name": "ActionList",
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_list.rb",
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_list/default/",
Expand Down Expand Up @@ -1475,7 +1475,7 @@
"requires_js": false,
"component": "ActionMenu::List",
"status": "alpha",
"a11y_reviewed": false,
"a11y_reviewed": true,
"short_name": "ActionMenuList",
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_menu/list.rb",
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_menu/list/default/",
Expand Down Expand Up @@ -4600,7 +4600,7 @@
"requires_js": true,
"component": "NavList",
"status": "alpha",
"a11y_reviewed": false,
"a11y_reviewed": true,
"short_name": "NavList",
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list.rb",
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/nav_list/default/",
Expand Down Expand Up @@ -5013,7 +5013,7 @@
"requires_js": true,
"component": "NavList::Group",
"status": "alpha",
"a11y_reviewed": false,
"a11y_reviewed": true,
"short_name": "NavListGroup",
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list/group.rb",
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/nav_list/group/default/",
Expand Down

0 comments on commit 283e3c2

Please sign in to comment.