@openproject/primer-view-components 0.95.0 → 0.96.0-rc.0d6e19868

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.
Files changed (39) hide show
  1. package/app/assets/javascripts/primer_view_components.js +11 -1
  2. package/app/assets/javascripts/primer_view_components.js.map +1 -1
  3. package/app/assets/styles/primer_view_components.css +1 -1
  4. package/app/assets/styles/primer_view_components.css.map +1 -1
  5. package/app/components/primer/alpha/action_list.css +1 -1
  6. package/app/components/primer/alpha/action_list.css.json +2 -0
  7. package/app/components/primer/alpha/action_menu/action_menu_element.js +38 -21
  8. package/app/components/primer/alpha/action_menu/action_menu_focus_zone_stack.d.ts +1 -1
  9. package/app/components/primer/alpha/action_menu/action_menu_focus_zone_stack.js +6 -7
  10. package/app/components/primer/beta/button.css +1 -1
  11. package/app/components/primer/beta/button.css.json +16 -1
  12. package/app/components/primer/open_project/keybinding_hint/chords.d.ts +5 -0
  13. package/app/components/primer/open_project/keybinding_hint/chords.js +29 -0
  14. package/app/components/primer/open_project/keybinding_hint/key_names.d.ts +16 -0
  15. package/app/components/primer/open_project/keybinding_hint/key_names.js +107 -0
  16. package/app/components/primer/open_project/keybinding_hint/localized_names.d.ts +22 -0
  17. package/app/components/primer/open_project/keybinding_hint/localized_names.js +47 -0
  18. package/app/components/primer/open_project/keybinding_hint/names_from_scope.d.ts +21 -0
  19. package/app/components/primer/open_project/keybinding_hint/names_from_scope.js +81 -0
  20. package/app/components/primer/open_project/keybinding_hint/platform.d.ts +10 -0
  21. package/app/components/primer/open_project/keybinding_hint/platform.js +24 -0
  22. package/app/components/primer/open_project/keybinding_hint/platform_override.d.ts +2 -0
  23. package/app/components/primer/open_project/keybinding_hint/platform_override.js +4 -0
  24. package/app/components/primer/open_project/keybinding_hint.css +1 -0
  25. package/app/components/primer/open_project/keybinding_hint.css.json +10 -0
  26. package/app/components/primer/open_project/keybinding_hint_element.d.ts +31 -0
  27. package/app/components/primer/open_project/keybinding_hint_element.js +183 -0
  28. package/app/components/primer/primer.d.ts +1 -0
  29. package/app/components/primer/primer.js +1 -0
  30. package/package.json +6 -5
  31. package/static/arguments.json +40 -0
  32. package/static/audited_at.json +1 -0
  33. package/static/classes.json +12 -0
  34. package/static/classnames.cjs +4 -0
  35. package/static/classnames.js +4 -0
  36. package/static/constants.json +27 -0
  37. package/static/info_arch.json +194 -6
  38. package/static/previews.json +138 -0
  39. package/static/statuses.json +1 -0
@@ -958,7 +958,7 @@
958
958
  },
959
959
  {
960
960
  "name": "trailing_visual",
961
- "description": "An icon, label, counter, or text to render to the right of the label.\n\nTo render an icon, call the `with_leading_visual_icon` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Octicon{{/link_to_component}}.\n\nTo render a label, call the `with_leading_visual_label` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Label{{/link_to_component}}.\n\nTo render a counter, call the `with_leading_visual_counter` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Counter{{/link_to_component}}.\n\nTo render text, call the `with_leading_visual_text` method and pass a block that returns a string. Eg:\n```ruby\nwith_leading_visual_text { \"Text here\" }\n```",
961
+ "description": "An icon, label, counter, or text to render to the right of the label.\n\nTo render an icon, call the `with_leading_visual_icon` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Octicon{{/link_to_component}}.\n\nTo render a label, call the `with_leading_visual_label` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Label{{/link_to_component}}.\n\nTo render a counter, call the `with_leading_visual_counter` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Counter{{/link_to_component}}.\n\nTo render text, call the `with_leading_visual_text` method and pass a block that returns a string. Eg:\n```ruby\nwith_leading_visual_text { \"Text here\" }\n```\n\nTo render a keyboard shortcut hint, call the `with_trailing_visual_keybinding_hint` method, e.g. `with_trailing_visual_keybinding_hint(keys: \"Mod+Enter\")`. It accepts the arguments accepted by {{#link_to_component}}Primer::OpenProject::KeybindingHint{{/link_to_component}}.",
962
962
  "parameters": []
963
963
  },
964
964
  {
@@ -2245,7 +2245,7 @@
2245
2245
  },
2246
2246
  {
2247
2247
  "name": "trailing_visual",
2248
- "description": "An icon, label, counter, or text to render to the right of the label.\n\nTo render an icon, call the `with_leading_visual_icon` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Octicon{{/link_to_component}}.\n\nTo render a label, call the `with_leading_visual_label` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Label{{/link_to_component}}.\n\nTo render a counter, call the `with_leading_visual_counter` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Counter{{/link_to_component}}.\n\nTo render text, call the `with_leading_visual_text` method and pass a block that returns a string. Eg:\n```ruby\nwith_leading_visual_text { \"Text here\" }\n```",
2248
+ "description": "An icon, label, counter, or text to render to the right of the label.\n\nTo render an icon, call the `with_leading_visual_icon` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Octicon{{/link_to_component}}.\n\nTo render a label, call the `with_leading_visual_label` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Label{{/link_to_component}}.\n\nTo render a counter, call the `with_leading_visual_counter` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Counter{{/link_to_component}}.\n\nTo render text, call the `with_leading_visual_text` method and pass a block that returns a string. Eg:\n```ruby\nwith_leading_visual_text { \"Text here\" }\n```\n\nTo render a keyboard shortcut hint, call the `with_trailing_visual_keybinding_hint` method, e.g. `with_trailing_visual_keybinding_hint(keys: \"Mod+Enter\")`. It accepts the arguments accepted by {{#link_to_component}}Primer::OpenProject::KeybindingHint{{/link_to_component}}.",
2249
2249
  "parameters": []
2250
2250
  },
2251
2251
  {
@@ -6037,7 +6037,7 @@
6037
6037
  },
6038
6038
  {
6039
6039
  "name": "trailing_visual",
6040
- "description": "An icon, label, counter, or text to render to the right of the label.\n\nTo render an icon, call the `with_leading_visual_icon` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Octicon{{/link_to_component}}.\n\nTo render a label, call the `with_leading_visual_label` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Label{{/link_to_component}}.\n\nTo render a counter, call the `with_leading_visual_counter` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Counter{{/link_to_component}}.\n\nTo render text, call the `with_leading_visual_text` method and pass a block that returns a string. Eg:\n```ruby\nwith_leading_visual_text { \"Text here\" }\n```",
6040
+ "description": "An icon, label, counter, or text to render to the right of the label.\n\nTo render an icon, call the `with_leading_visual_icon` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Octicon{{/link_to_component}}.\n\nTo render a label, call the `with_leading_visual_label` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Label{{/link_to_component}}.\n\nTo render a counter, call the `with_leading_visual_counter` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Counter{{/link_to_component}}.\n\nTo render text, call the `with_leading_visual_text` method and pass a block that returns a string. Eg:\n```ruby\nwith_leading_visual_text { \"Text here\" }\n```\n\nTo render a keyboard shortcut hint, call the `with_trailing_visual_keybinding_hint` method, e.g. `with_trailing_visual_keybinding_hint(keys: \"Mod+Enter\")`. It accepts the arguments accepted by {{#link_to_component}}Primer::OpenProject::KeybindingHint{{/link_to_component}}.",
6041
6041
  "parameters": []
6042
6042
  },
6043
6043
  {
@@ -14077,7 +14077,7 @@
14077
14077
  },
14078
14078
  {
14079
14079
  "name": "trailing_visual",
14080
- "description": "Trailing visuals appear to the right of the button text.\n\nUse:\n\n- `trailing_visual_counter` for a {{#link_to_component}}Primer::Beta::Counter{{/link_to_component}}.",
14080
+ "description": "Trailing visuals appear to the right of the button text.\n\nUse:\n\n- `trailing_visual_counter` for a {{#link_to_component}}Primer::Beta::Counter{{/link_to_component}}.\n- `trailing_visual_keybinding_hint` for a {{#link_to_component}}Primer::OpenProject::KeybindingHint{{/link_to_component}}.\n The hint follows the button's size unless `size:` is given.",
14081
14081
  "parameters": [
14082
14082
  {
14083
14083
  "name": "system_arguments",
@@ -14800,7 +14800,7 @@
14800
14800
  },
14801
14801
  {
14802
14802
  "name": "trailing_visual",
14803
- "description": "Trailing visuals appear to the right of the button text.\n\nUse:\n\n- `trailing_visual_counter` for a {{#link_to_component}}Primer::Beta::Counter{{/link_to_component}}.",
14803
+ "description": "Trailing visuals appear to the right of the button text.\n\nUse:\n\n- `trailing_visual_counter` for a {{#link_to_component}}Primer::Beta::Counter{{/link_to_component}}.\n- `trailing_visual_keybinding_hint` for a {{#link_to_component}}Primer::OpenProject::KeybindingHint{{/link_to_component}}.\n The hint follows the button's size unless `size:` is given.",
14804
14804
  "parameters": [
14805
14805
  {
14806
14806
  "name": "system_arguments",
@@ -16788,7 +16788,7 @@
16788
16788
  },
16789
16789
  {
16790
16790
  "name": "trailing_visual",
16791
- "description": "An icon, label, counter, or text to render to the right of the label.\n\nTo render an icon, call the `with_leading_visual_icon` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Octicon{{/link_to_component}}.\n\nTo render a label, call the `with_leading_visual_label` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Label{{/link_to_component}}.\n\nTo render a counter, call the `with_leading_visual_counter` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Counter{{/link_to_component}}.\n\nTo render text, call the `with_leading_visual_text` method and pass a block that returns a string. Eg:\n```ruby\nwith_leading_visual_text { \"Text here\" }\n```",
16791
+ "description": "An icon, label, counter, or text to render to the right of the label.\n\nTo render an icon, call the `with_leading_visual_icon` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Octicon{{/link_to_component}}.\n\nTo render a label, call the `with_leading_visual_label` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Label{{/link_to_component}}.\n\nTo render a counter, call the `with_leading_visual_counter` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Counter{{/link_to_component}}.\n\nTo render text, call the `with_leading_visual_text` method and pass a block that returns a string. Eg:\n```ruby\nwith_leading_visual_text { \"Text here\" }\n```\n\nTo render a keyboard shortcut hint, call the `with_trailing_visual_keybinding_hint` method, e.g. `with_trailing_visual_keybinding_hint(keys: \"Mod+Enter\")`. It accepts the arguments accepted by {{#link_to_component}}Primer::OpenProject::KeybindingHint{{/link_to_component}}.",
16792
16792
  "parameters": []
16793
16793
  },
16794
16794
  {
@@ -21822,6 +21822,194 @@
21822
21822
  ],
21823
21823
  "subcomponents": []
21824
21824
  },
21825
+ {
21826
+ "fully_qualified_name": "Primer::OpenProject::KeybindingHint",
21827
+ "description": "Displays a keyboard shortcut as a visible, screen-reader-friendly hint.\nPort of Primer React's `KeybindingHint`.\n\nThe server renders a plain-text fallback inside the styled chord box.\nThe `<keybinding-hint>` custom element replaces it with platform-specific\nnames (for example ⌘ on Apple platforms, Ctrl elsewhere) and visually\nhidden accessible key names (\"command\", \"shift\", …).\n\n## Translation\n\nKey names follow the current locale: visible condensed and full names,\naccessible names and the \"then\" spoken between chords of a sequence.\nThe component looks them up in the `keybinding_hint` locale scope\n(English defaults in PVC's `config/locales/en.yml`) and passes the names\nfor its keys to the element as JSON in `data-names`. Each name is looked\nup for the exact platform, then `other`, then Primer React's English\ntables. Glyphs such as ↑, ⇧ and ⏎ are not translated.\n\n## Key syntax\n\nUse the key names `KeyboardEvent.key` reports (\"Control\", \"Shift\",\n\"ArrowUp\", \"a\", …), matching the github/hotkey format:\n\n- Join keys with `+` to form a chord pressed together: `\"Mod+Shift+p\"`.\n- Join chords with a space to form a sequence pressed one after the\n other: `\"g i\"` (g, then i).\n- Use `Plus` for the `+` key and `Space` for the space bar.\n- `Mod` means Command on Apple platforms and Control everywhere else.\n\nComma-separated alternatives (`\"s,/\"`) are not supported. The component only\ndisplays hints; it does not register the shortcut.\n\n## Terminology\n\nPrimer React's `variant` is `scheme:` here (`normal` → `:default`,\n`onEmphasis` → `:emphasis`) and its `size=\"normal\"` is `size: :medium`.",
21828
+ "accessibility_docs": null,
21829
+ "is_form_component": false,
21830
+ "is_published": true,
21831
+ "requires_js": false,
21832
+ "component": "OpenProject::KeybindingHint",
21833
+ "status": "open_project",
21834
+ "a11y_reviewed": false,
21835
+ "short_name": "OpenProjectKeybindingHint",
21836
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/keybinding_hint.rb",
21837
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/keybinding_hint/default/",
21838
+ "parameters": [
21839
+ {
21840
+ "name": "keys",
21841
+ "type": "String",
21842
+ "default": "N/A",
21843
+ "description": "The keys of the shortcut, e.g. `\"Mod+Shift+p\"` or `\"g i\"`. See the class documentation for the syntax."
21844
+ },
21845
+ {
21846
+ "name": "format",
21847
+ "type": "Symbol",
21848
+ "default": "`:condensed`",
21849
+ "description": "One of `:condensed` or `:full`. `:condensed` shows symbols (⌘⇧P) and suits menus and buttons; `:full` spells keys out (Command + Shift + P) and suits prose."
21850
+ },
21851
+ {
21852
+ "name": "scheme",
21853
+ "type": "Symbol",
21854
+ "default": "`:default`",
21855
+ "description": "One of `:default` or `:emphasis`. Use `:emphasis` on emphasis-coloured backgrounds."
21856
+ },
21857
+ {
21858
+ "name": "size",
21859
+ "type": "Symbol",
21860
+ "default": "`:medium`",
21861
+ "description": "One of `:medium` or `:small`."
21862
+ },
21863
+ {
21864
+ "name": "system_arguments",
21865
+ "type": "Hash",
21866
+ "default": "N/A",
21867
+ "description": "{{link_to_system_arguments_docs}}"
21868
+ }
21869
+ ],
21870
+ "slots": [],
21871
+ "methods": [
21872
+ {
21873
+ "name": "fallback_chords",
21874
+ "description": "Readable degraded output for no-JS and the pre-upgrade frame. Uses the\ntranslated condensed name for non-Apple platforms where one exists\n(`Mod` as Control); other keys keep their spelling with the first\nletter upcased, so `ArrowUp` stays `ArrowUp` and `p` becomes `P`.",
21875
+ "parameters": [],
21876
+ "return_types": []
21877
+ }
21878
+ ],
21879
+ "previews": [
21880
+ {
21881
+ "preview_path": "primer/open_project/keybinding_hint/default",
21882
+ "name": "default",
21883
+ "snapshot": "true",
21884
+ "skip_rules": {
21885
+ "wont_fix": [
21886
+ "region"
21887
+ ],
21888
+ "will_fix": [
21889
+ "color-contrast"
21890
+ ]
21891
+ }
21892
+ },
21893
+ {
21894
+ "preview_path": "primer/open_project/keybinding_hint/playground",
21895
+ "name": "playground",
21896
+ "snapshot": "false",
21897
+ "skip_rules": {
21898
+ "wont_fix": [
21899
+ "region"
21900
+ ],
21901
+ "will_fix": [
21902
+ "color-contrast"
21903
+ ]
21904
+ }
21905
+ },
21906
+ {
21907
+ "preview_path": "primer/open_project/keybinding_hint/full_format",
21908
+ "name": "full_format",
21909
+ "snapshot": "false",
21910
+ "skip_rules": {
21911
+ "wont_fix": [
21912
+ "region"
21913
+ ],
21914
+ "will_fix": [
21915
+ "color-contrast"
21916
+ ]
21917
+ }
21918
+ },
21919
+ {
21920
+ "preview_path": "primer/open_project/keybinding_hint/sequence",
21921
+ "name": "sequence",
21922
+ "snapshot": "false",
21923
+ "skip_rules": {
21924
+ "wont_fix": [
21925
+ "region"
21926
+ ],
21927
+ "will_fix": [
21928
+ "color-contrast"
21929
+ ]
21930
+ }
21931
+ },
21932
+ {
21933
+ "preview_path": "primer/open_project/keybinding_hint/sizes",
21934
+ "name": "sizes",
21935
+ "snapshot": "false",
21936
+ "skip_rules": {
21937
+ "wont_fix": [
21938
+ "region"
21939
+ ],
21940
+ "will_fix": [
21941
+ "color-contrast"
21942
+ ]
21943
+ }
21944
+ },
21945
+ {
21946
+ "preview_path": "primer/open_project/keybinding_hint/schemes",
21947
+ "name": "schemes",
21948
+ "snapshot": "false",
21949
+ "skip_rules": {
21950
+ "wont_fix": [
21951
+ "region"
21952
+ ],
21953
+ "will_fix": [
21954
+ "color-contrast"
21955
+ ]
21956
+ }
21957
+ },
21958
+ {
21959
+ "preview_path": "primer/open_project/keybinding_hint/platforms",
21960
+ "name": "platforms",
21961
+ "snapshot": "true",
21962
+ "skip_rules": {
21963
+ "wont_fix": [
21964
+ "region"
21965
+ ],
21966
+ "will_fix": [
21967
+ "color-contrast"
21968
+ ]
21969
+ }
21970
+ },
21971
+ {
21972
+ "preview_path": "primer/open_project/keybinding_hint/prose",
21973
+ "name": "prose",
21974
+ "snapshot": "false",
21975
+ "skip_rules": {
21976
+ "wont_fix": [
21977
+ "region"
21978
+ ],
21979
+ "will_fix": [
21980
+ "color-contrast"
21981
+ ]
21982
+ }
21983
+ },
21984
+ {
21985
+ "preview_path": "primer/open_project/keybinding_hint/in_button",
21986
+ "name": "in_button",
21987
+ "snapshot": "true",
21988
+ "skip_rules": {
21989
+ "wont_fix": [
21990
+ "region"
21991
+ ],
21992
+ "will_fix": [
21993
+ "color-contrast"
21994
+ ]
21995
+ }
21996
+ },
21997
+ {
21998
+ "preview_path": "primer/open_project/keybinding_hint/in_action_list",
21999
+ "name": "in_action_list",
22000
+ "snapshot": "true",
22001
+ "skip_rules": {
22002
+ "wont_fix": [
22003
+ "region"
22004
+ ],
22005
+ "will_fix": [
22006
+ "color-contrast"
22007
+ ]
22008
+ }
22009
+ }
22010
+ ],
22011
+ "subcomponents": []
22012
+ },
21825
22013
  {
21826
22014
  "fully_qualified_name": "Primer::OpenProject::PageHeader",
21827
22015
  "description": "A ViewComponent PageHeader inspired by the primer react variant",
@@ -9905,6 +9905,144 @@
9905
9905
  }
9906
9906
  ]
9907
9907
  },
9908
+ {
9909
+ "name": "keybinding_hint",
9910
+ "component": "OpenProject::KeybindingHint",
9911
+ "status": "open_project",
9912
+ "lookup_path": "primer/open_project/keybinding_hint",
9913
+ "examples": [
9914
+ {
9915
+ "preview_path": "primer/open_project/keybinding_hint/default",
9916
+ "name": "default",
9917
+ "snapshot": "true",
9918
+ "skip_rules": {
9919
+ "wont_fix": [
9920
+ "region"
9921
+ ],
9922
+ "will_fix": [
9923
+ "color-contrast"
9924
+ ]
9925
+ }
9926
+ },
9927
+ {
9928
+ "preview_path": "primer/open_project/keybinding_hint/playground",
9929
+ "name": "playground",
9930
+ "snapshot": "false",
9931
+ "skip_rules": {
9932
+ "wont_fix": [
9933
+ "region"
9934
+ ],
9935
+ "will_fix": [
9936
+ "color-contrast"
9937
+ ]
9938
+ }
9939
+ },
9940
+ {
9941
+ "preview_path": "primer/open_project/keybinding_hint/full_format",
9942
+ "name": "full_format",
9943
+ "snapshot": "false",
9944
+ "skip_rules": {
9945
+ "wont_fix": [
9946
+ "region"
9947
+ ],
9948
+ "will_fix": [
9949
+ "color-contrast"
9950
+ ]
9951
+ }
9952
+ },
9953
+ {
9954
+ "preview_path": "primer/open_project/keybinding_hint/sequence",
9955
+ "name": "sequence",
9956
+ "snapshot": "false",
9957
+ "skip_rules": {
9958
+ "wont_fix": [
9959
+ "region"
9960
+ ],
9961
+ "will_fix": [
9962
+ "color-contrast"
9963
+ ]
9964
+ }
9965
+ },
9966
+ {
9967
+ "preview_path": "primer/open_project/keybinding_hint/sizes",
9968
+ "name": "sizes",
9969
+ "snapshot": "false",
9970
+ "skip_rules": {
9971
+ "wont_fix": [
9972
+ "region"
9973
+ ],
9974
+ "will_fix": [
9975
+ "color-contrast"
9976
+ ]
9977
+ }
9978
+ },
9979
+ {
9980
+ "preview_path": "primer/open_project/keybinding_hint/schemes",
9981
+ "name": "schemes",
9982
+ "snapshot": "false",
9983
+ "skip_rules": {
9984
+ "wont_fix": [
9985
+ "region"
9986
+ ],
9987
+ "will_fix": [
9988
+ "color-contrast"
9989
+ ]
9990
+ }
9991
+ },
9992
+ {
9993
+ "preview_path": "primer/open_project/keybinding_hint/platforms",
9994
+ "name": "platforms",
9995
+ "snapshot": "true",
9996
+ "skip_rules": {
9997
+ "wont_fix": [
9998
+ "region"
9999
+ ],
10000
+ "will_fix": [
10001
+ "color-contrast"
10002
+ ]
10003
+ }
10004
+ },
10005
+ {
10006
+ "preview_path": "primer/open_project/keybinding_hint/prose",
10007
+ "name": "prose",
10008
+ "snapshot": "false",
10009
+ "skip_rules": {
10010
+ "wont_fix": [
10011
+ "region"
10012
+ ],
10013
+ "will_fix": [
10014
+ "color-contrast"
10015
+ ]
10016
+ }
10017
+ },
10018
+ {
10019
+ "preview_path": "primer/open_project/keybinding_hint/in_button",
10020
+ "name": "in_button",
10021
+ "snapshot": "true",
10022
+ "skip_rules": {
10023
+ "wont_fix": [
10024
+ "region"
10025
+ ],
10026
+ "will_fix": [
10027
+ "color-contrast"
10028
+ ]
10029
+ }
10030
+ },
10031
+ {
10032
+ "preview_path": "primer/open_project/keybinding_hint/in_action_list",
10033
+ "name": "in_action_list",
10034
+ "snapshot": "true",
10035
+ "skip_rules": {
10036
+ "wont_fix": [
10037
+ "region"
10038
+ ],
10039
+ "will_fix": [
10040
+ "color-contrast"
10041
+ ]
10042
+ }
10043
+ }
10044
+ ]
10045
+ },
9908
10046
  {
9909
10047
  "name": "page_header",
9910
10048
  "component": "OpenProject::PageHeader",
@@ -165,6 +165,7 @@
165
165
  "Primer::OpenProject::InlineMessage": "open_project",
166
166
  "Primer::OpenProject::InputGroup": "open_project",
167
167
  "Primer::OpenProject::InsetBox": "open_project",
168
+ "Primer::OpenProject::KeybindingHint": "open_project",
168
169
  "Primer::OpenProject::PageHeader": "open_project",
169
170
  "Primer::OpenProject::PageHeader::Dialog": "open_project",
170
171
  "Primer::OpenProject::PageHeader::Menu": "open_project",