@mixtint/primer-view-components 0.78.0 → 0.84.5

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 (71) hide show
  1. package/README.md +20 -1
  2. package/app/assets/javascripts/components/primer/alpha/tree_view/tree_view.d.ts +1 -0
  3. package/app/assets/javascripts/components/primer/open_project/avatar_fallback.d.ts +28 -0
  4. package/app/assets/javascripts/components/primer/primer.d.ts +2 -0
  5. package/app/assets/javascripts/lib/primer/forms/character_counter.d.ts +41 -0
  6. package/app/assets/javascripts/lib/primer/forms/primer_text_area.d.ts +13 -0
  7. package/app/assets/javascripts/lib/primer/forms/primer_text_field.d.ts +2 -0
  8. package/app/assets/javascripts/primer_view_components.js +1 -1
  9. package/app/assets/javascripts/primer_view_components.js.map +1 -1
  10. package/app/assets/styles/primer_view_components.css +343 -22
  11. package/app/assets/styles/primer_view_components.css.map +1 -1
  12. package/app/components/primer/alpha/action_bar_element.js +68 -77
  13. package/app/components/primer/alpha/action_list.css +1 -1
  14. package/app/components/primer/alpha/action_list.js +1 -1
  15. package/app/components/primer/alpha/action_menu/action_menu_element.js +5 -1
  16. package/app/components/primer/alpha/dialog.css +12 -0
  17. package/app/components/primer/alpha/dialog.css.json +2 -1
  18. package/app/components/primer/alpha/segmented_control.js +1 -1
  19. package/app/components/primer/alpha/select_panel_element.js +4 -2
  20. package/app/components/primer/alpha/tab_nav.css +8 -1
  21. package/app/components/primer/alpha/tab_nav.css.json +1 -0
  22. package/app/components/primer/alpha/toggle_switch.js +1 -1
  23. package/app/components/primer/alpha/tool_tip.js +13 -6
  24. package/app/components/primer/alpha/tree_view/tree_view.d.ts +1 -0
  25. package/app/components/primer/alpha/tree_view/tree_view.js +24 -17
  26. package/app/components/primer/alpha/tree_view/tree_view_icon_pair_element.js +1 -1
  27. package/app/components/primer/alpha/tree_view/tree_view_include_fragment_element.js +1 -1
  28. package/app/components/primer/alpha/tree_view/tree_view_sub_tree_node_element.js +25 -2
  29. package/app/components/primer/alpha/x_banner.js +1 -1
  30. package/app/components/primer/beta/avatar_stack.css +21 -31
  31. package/app/components/primer/beta/avatar_stack.css.json +7 -4
  32. package/app/components/primer/beta/blankslate.css +7 -0
  33. package/app/components/primer/beta/blankslate.css.json +1 -0
  34. package/app/components/primer/beta/details_toggle_element.js +1 -1
  35. package/app/components/primer/beta/nav_list.js +1 -1
  36. package/app/components/primer/beta/nav_list_group_element.js +1 -1
  37. package/app/components/primer/beta/state.css +1 -2
  38. package/app/components/primer/beta/timeline_item.css +2 -1
  39. package/app/components/primer/dialog_helper.js +24 -9
  40. package/app/components/primer/open_project/avatar_fallback.d.ts +28 -0
  41. package/app/components/primer/open_project/avatar_fallback.js +105 -0
  42. package/app/components/primer/open_project/avatar_stack.css +29 -0
  43. package/app/components/primer/open_project/avatar_stack.css.json +10 -0
  44. package/app/components/primer/open_project/border_box/collapsible_header.css +72 -10
  45. package/app/components/primer/open_project/border_box/collapsible_header.css.json +9 -2
  46. package/app/components/primer/open_project/inline_message.css +42 -0
  47. package/app/components/primer/open_project/inline_message.css.json +13 -0
  48. package/app/components/primer/open_project/page_header.css +40 -3
  49. package/app/components/primer/open_project/page_header.css.json +8 -1
  50. package/app/components/primer/open_project/pagination.css +87 -0
  51. package/app/components/primer/open_project/pagination.css.json +24 -0
  52. package/app/components/primer/primer.d.ts +2 -0
  53. package/app/components/primer/primer.js +2 -0
  54. package/app/components/primer/scrollable_region.js +1 -1
  55. package/app/lib/primer/forms/character_counter.d.ts +41 -0
  56. package/app/lib/primer/forms/character_counter.js +114 -0
  57. package/app/lib/primer/forms/primer_multi_input.js +1 -1
  58. package/app/lib/primer/forms/primer_text_area.d.ts +13 -0
  59. package/app/lib/primer/forms/primer_text_area.js +53 -0
  60. package/app/lib/primer/forms/primer_text_field.d.ts +2 -0
  61. package/app/lib/primer/forms/primer_text_field.js +17 -3
  62. package/app/lib/primer/forms/toggle_switch_input.js +1 -1
  63. package/package.json +23 -22
  64. package/static/arguments.json +234 -2
  65. package/static/audited_at.json +6 -0
  66. package/static/classes.json +27 -2
  67. package/static/constants.json +66 -1
  68. package/static/form_previews.json +15 -0
  69. package/static/info_arch.json +821 -82
  70. package/static/previews.json +432 -9
  71. package/static/statuses.json +6 -0
@@ -464,6 +464,12 @@
464
464
  "default": "N/A",
465
465
  "description": "One of `:inside_bottom`, `:inside_center`, `:inside_left`, `:inside_right`, `:inside_top`, `:outside_bottom`, `:outside_left`, `:outside_right`, or `:outside_top`."
466
466
  },
467
+ {
468
+ "name": "anchor_when_narrow",
469
+ "type": "Symbol",
470
+ "default": "N/A",
471
+ "description": "One of `:bottom`, `:fullscreen`, `:inherit`, `:left`, or `:right`."
472
+ },
467
473
  {
468
474
  "name": "menu_id",
469
475
  "type": "String",
@@ -540,6 +546,12 @@
540
546
  "default": "`:outside_bottom`",
541
547
  "description": "One of `:inside_bottom`, `:inside_center`, `:inside_left`, `:inside_right`, `:inside_top`, `:outside_bottom`, `:outside_left`, `:outside_right`, or `:outside_top`."
542
548
  },
549
+ {
550
+ "name": "anchor_when_narrow",
551
+ "type": "Symbol",
552
+ "default": "`:inherit`",
553
+ "description": "One of `:bottom`, `:fullscreen`, `:inherit`, `:left`, or `:right`.."
554
+ },
543
555
  {
544
556
  "name": "dynamic_label",
545
557
  "type": "Boolean",
@@ -586,6 +598,12 @@
586
598
  "default": "`:outside_right`",
587
599
  "description": "One of `:inside_bottom`, `:inside_center`, `:inside_left`, `:inside_right`, `:inside_top`, `:outside_bottom`, `:outside_left`, `:outside_right`, or `:outside_top`."
588
600
  },
601
+ {
602
+ "name": "anchor_when_narrow",
603
+ "type": "Symbol",
604
+ "default": "`:inherit`",
605
+ "description": "One of `:bottom`, `:fullscreen`, `:inherit`, `:left`, or `:right`.."
606
+ },
589
607
  {
590
608
  "name": "overlay_arguments",
591
609
  "type": "Hash",
@@ -2009,6 +2027,12 @@
2009
2027
  "default": "`:normal`",
2010
2028
  "description": "The anchor offset to give the Overlay. One of `:normal` or `:spacious`."
2011
2029
  },
2030
+ {
2031
+ "name": "anchor_when_narrow",
2032
+ "type": "Symbol",
2033
+ "default": "`:inherit`",
2034
+ "description": "The position of the Overlay when in a narrow viewport. One of `:bottom`, `:fullscreen`, `:inherit`, `:left`, or `:right`."
2035
+ },
2012
2036
  {
2013
2037
  "name": "allow_out_of_bounds",
2014
2038
  "type": "Boolean",
@@ -2721,7 +2745,7 @@
2721
2745
  "name": "gap",
2722
2746
  "type": "Symbol",
2723
2747
  "default": "`GapArg::DEFAULT`",
2724
- "description": "Specify the gap between children elements in the stack. One of `nil`, `:condensed`, `:normal`, or `:spacious`."
2748
+ "description": "Specify the gap between children elements in the stack. One of `nil`, `:condensed`, `:none`, `:normal`, or `:spacious`."
2725
2749
  },
2726
2750
  {
2727
2751
  "name": "direction",
@@ -2951,6 +2975,12 @@
2951
2975
  "default": "N/A",
2952
2976
  "description": "When set to `true`, the field will take up all the horizontal space allowed by its container. Defaults to `true`."
2953
2977
  },
2978
+ {
2979
+ "name": "character_limit",
2980
+ "type": "Number",
2981
+ "default": "N/A",
2982
+ "description": "Optional character limit for the input. If provided, a character counter will be displayed below the input."
2983
+ },
2954
2984
  {
2955
2985
  "name": "name",
2956
2986
  "type": "String",
@@ -3087,6 +3117,12 @@
3087
3117
  "default": "N/A",
3088
3118
  "description": "When set to `true`, the field will take up all the horizontal space allowed by its container. Defaults to `true`."
3089
3119
  },
3120
+ {
3121
+ "name": "character_limit",
3122
+ "type": "Number",
3123
+ "default": "N/A",
3124
+ "description": "Optional character limit for the input. If provided, a character counter will be displayed below the input."
3125
+ },
3090
3126
  {
3091
3127
  "name": "name",
3092
3128
  "type": "String",
@@ -3324,6 +3360,12 @@
3324
3360
  "type": "String",
3325
3361
  "default": "`nil`",
3326
3362
  "description": "Custom label to show when the switch is OFF. Defaults to (\"Off\"). Only customize this label if it makes the toggle’s state more meaningful in its specific context. For example, for a \"Show images\" setting, you might use \"Show\" when the switch is OFF."
3363
+ },
3364
+ {
3365
+ "name": "button_type",
3366
+ "type": "Symbol",
3367
+ "default": "`nil`",
3368
+ "description": "The type attribute for the underlying button element. If `nil`, the button will not have a type attribute, which means it will default to \"submit\" if it's inside a form and \"button\" otherwise."
3327
3369
  }
3328
3370
  ]
3329
3371
  },
@@ -3991,7 +4033,14 @@
3991
4033
  "short_name": "AutoCompleteNoResultItem",
3992
4034
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/beta/auto_complete/no_result_item.rb",
3993
4035
  "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/beta/auto_complete/no_result_item/default/",
3994
- "parameters": []
4036
+ "parameters": [
4037
+ {
4038
+ "name": "system_arguments",
4039
+ "type": "Hash",
4040
+ "default": "N/A",
4041
+ "description": "[System arguments](/system-arguments)"
4042
+ }
4043
+ ]
3995
4044
  },
3996
4045
  {
3997
4046
  "component": "Avatar",
@@ -4031,6 +4080,12 @@
4031
4080
  "default": "`nil`",
4032
4081
  "description": "The URL to link to. If used, component will be wrapped by an `<a>` tag."
4033
4082
  },
4083
+ {
4084
+ "name": "tooltip",
4085
+ "type": "String",
4086
+ "default": "`nil`",
4087
+ "description": "Tooltip text to display on hover when href is provided."
4088
+ },
4034
4089
  {
4035
4090
  "name": "system_arguments",
4036
4091
  "type": "Hash",
@@ -4065,6 +4120,12 @@
4065
4120
  "default": "`false`",
4066
4121
  "description": "Whether to add a tooltip to the stack or not."
4067
4122
  },
4123
+ {
4124
+ "name": "disable_expand",
4125
+ "type": "Boolean",
4126
+ "default": "`false`",
4127
+ "description": "Whether to disable the expand behavior on hover. If true, avatars will not expand."
4128
+ },
4068
4129
  {
4069
4130
  "name": "body_arguments",
4070
4131
  "type": "Hash",
@@ -5102,6 +5163,12 @@
5102
5163
  "default": "`TIMEZONENAME_DEFAULT`",
5103
5164
  "description": "What format the time zone should take. One of `nil`, `:long`, `:long_generic`, `:long_offset`, `:short`, `:short_generic`, or `:short_offset`."
5104
5165
  },
5166
+ {
5167
+ "name": "time_zone",
5168
+ "type": "String",
5169
+ "default": "`nil`",
5170
+ "description": "The IANA time zone identifier to use for formatting (e.g., \"America/New_York\")."
5171
+ },
5105
5172
  {
5106
5173
  "name": "threshold",
5107
5174
  "type": "String",
@@ -5705,6 +5772,67 @@
5705
5772
  }
5706
5773
  ]
5707
5774
  },
5775
+ {
5776
+ "component": "OpenProject::AvatarStack",
5777
+ "status": "open_project",
5778
+ "a11y_reviewed": false,
5779
+ "short_name": "OpenProjectAvatarStack",
5780
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/avatar_stack.rb",
5781
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/avatar_stack/default/",
5782
+ "parameters": []
5783
+ },
5784
+ {
5785
+ "component": "OpenProject::AvatarWithFallback",
5786
+ "status": "open_project",
5787
+ "a11y_reviewed": false,
5788
+ "short_name": "OpenProjectAvatarWithFallback",
5789
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/avatar_with_fallback.rb",
5790
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/avatar_with_fallback/default/",
5791
+ "parameters": [
5792
+ {
5793
+ "name": "src",
5794
+ "type": "String",
5795
+ "default": "`nil`",
5796
+ "description": "The source URL of the avatar image. When provided, JavaScript will test-load it in the background and swap to it on success. When nil or blank, only the fallback SVG is displayed."
5797
+ },
5798
+ {
5799
+ "name": "alt",
5800
+ "type": "String",
5801
+ "default": "`nil`",
5802
+ "description": "Alt text for the avatar. Used for accessibility and to generate initials for the fallback SVG."
5803
+ },
5804
+ {
5805
+ "name": "size",
5806
+ "type": "Integer",
5807
+ "default": "`20`",
5808
+ "description": "One of `16`, `20`, `24`, `32`, `40`, `48`, `64`, or `80`."
5809
+ },
5810
+ {
5811
+ "name": "shape",
5812
+ "type": "Symbol",
5813
+ "default": "`:circle`",
5814
+ "description": "Shape of the avatar. One of `:circle` or `:square`."
5815
+ },
5816
+ {
5817
+ "name": "href",
5818
+ "type": "String",
5819
+ "default": "`nil`",
5820
+ "description": "The URL to link to. If used, component will be wrapped by an `<a>` tag."
5821
+ },
5822
+ {
5823
+ "name": "unique_id",
5824
+ "type": "String, Integer",
5825
+ "default": "`nil`",
5826
+ "description": "Unique identifier for generating consistent avatar colors across renders."
5827
+ },
5828
+ {
5829
+ "name": "system_arguments",
5830
+ "type": "Hash",
5831
+ "default": "N/A",
5832
+ "description": "[System arguments](/system-arguments)"
5833
+ }
5834
+ ]
5835
+ },
5708
5836
  {
5709
5837
  "component": "OpenProject::BorderBox::CollapsibleHeader",
5710
5838
  "status": "open_project",
@@ -5719,12 +5847,30 @@
5719
5847
  "default": "`self.class.generate_id`",
5720
5848
  "description": "The unique ID of the collapsible header."
5721
5849
  },
5850
+ {
5851
+ "name": "box",
5852
+ "type": "Primer::Beta::BorderBox",
5853
+ "default": "`nil`",
5854
+ "description": "Deprecated. Previously used to reference the parent BorderBox."
5855
+ },
5722
5856
  {
5723
5857
  "name": "collapsed",
5724
5858
  "type": "Boolean",
5725
5859
  "default": "`false`",
5726
5860
  "description": "Whether the header is collapsed on initial render."
5727
5861
  },
5862
+ {
5863
+ "name": "collapsible_id",
5864
+ "type": "String",
5865
+ "default": "`nil`",
5866
+ "description": "The id or ids of the elements that will be collapsed. This should include the BorderBox's list, body and footer. This will be required in future versions."
5867
+ },
5868
+ {
5869
+ "name": "multi_line",
5870
+ "type": "Boolean",
5871
+ "default": "`true`",
5872
+ "description": "Whether the description is on its own line and can wrap across multiple lines."
5873
+ },
5728
5874
  {
5729
5875
  "name": "system_arguments",
5730
5876
  "type": "Hash",
@@ -5890,6 +6036,18 @@
5890
6036
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/drag_handle.rb",
5891
6037
  "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/drag_handle/default/",
5892
6038
  "parameters": [
6039
+ {
6040
+ "name": "size",
6041
+ "type": "Symbol",
6042
+ "default": "`:small`",
6043
+ "description": "One of `:medium`, `:small`, or `:xsmall`."
6044
+ },
6045
+ {
6046
+ "name": "label",
6047
+ "type": "String",
6048
+ "default": "`I18n.t(\"drag_handle.button_drag\")`",
6049
+ "description": "String that can be read by assistive technology. A label should be short and concise. See the accessibility section for more information."
6050
+ },
5893
6051
  {
5894
6052
  "name": "system_arguments",
5895
6053
  "type": "Hash",
@@ -5948,6 +6106,43 @@
5948
6106
  }
5949
6107
  ]
5950
6108
  },
6109
+ {
6110
+ "component": "OpenProject::Fieldset",
6111
+ "status": "open_project",
6112
+ "a11y_reviewed": false,
6113
+ "short_name": "OpenProjectFieldset",
6114
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/fieldset.rb",
6115
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/fieldset/default/",
6116
+ "parameters": [
6117
+ {
6118
+ "name": "legend_text",
6119
+ "type": "String",
6120
+ "default": "`nil`",
6121
+ "description": "A legend should be short and concise. The String will also be read by assistive technology."
6122
+ },
6123
+ {
6124
+ "name": "visually_hide_legend",
6125
+ "type": "Boolean",
6126
+ "default": "`false`",
6127
+ "description": "Controls if the legend is visible. If `true`, screen reader only text will be added."
6128
+ },
6129
+ {
6130
+ "name": "system_arguments",
6131
+ "type": "Hash",
6132
+ "default": "N/A",
6133
+ "description": "[System arguments](/system-arguments)"
6134
+ }
6135
+ ]
6136
+ },
6137
+ {
6138
+ "component": "OpenProject::Fieldset::Legend",
6139
+ "status": "open_project",
6140
+ "a11y_reviewed": false,
6141
+ "short_name": "OpenProjectFieldsetLegend",
6142
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/fieldset/legend_component.rb",
6143
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/fieldset/legend/default/",
6144
+ "parameters": []
6145
+ },
5951
6146
  {
5952
6147
  "component": "OpenProject::FilterableTreeView",
5953
6148
  "status": "alpha",
@@ -6110,6 +6305,34 @@
6110
6305
  }
6111
6306
  ]
6112
6307
  },
6308
+ {
6309
+ "component": "OpenProject::InlineMessage",
6310
+ "status": "open_project",
6311
+ "a11y_reviewed": false,
6312
+ "short_name": "OpenProjectInlineMessage",
6313
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/inline_message.rb",
6314
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/inline_message/default/",
6315
+ "parameters": [
6316
+ {
6317
+ "name": "scheme",
6318
+ "type": "Symbol",
6319
+ "default": "N/A",
6320
+ "description": "One of `:critical`, `:success`, `:unavailable`, or `:warning`."
6321
+ },
6322
+ {
6323
+ "name": "size",
6324
+ "type": "Symbol",
6325
+ "default": "`:medium`",
6326
+ "description": "One of `:medium` or `:small`."
6327
+ },
6328
+ {
6329
+ "name": "system_arguments",
6330
+ "type": "Hash",
6331
+ "default": "N/A",
6332
+ "description": "[System arguments](/system-arguments)"
6333
+ }
6334
+ ]
6335
+ },
6113
6336
  {
6114
6337
  "component": "OpenProject::InputGroup",
6115
6338
  "status": "open_project",
@@ -6208,6 +6431,15 @@
6208
6431
  }
6209
6432
  ]
6210
6433
  },
6434
+ {
6435
+ "component": "OpenProject::Pagination",
6436
+ "status": "open_project",
6437
+ "a11y_reviewed": false,
6438
+ "short_name": "OpenProjectPagination",
6439
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/pagination.rb",
6440
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/pagination/default/",
6441
+ "parameters": []
6442
+ },
6211
6443
  {
6212
6444
  "component": "OpenProject::SidePanel",
6213
6445
  "status": "open_project",
@@ -139,6 +139,8 @@
139
139
  "Primer::IconButton": "",
140
140
  "Primer::LayoutComponent": "",
141
141
  "Primer::Navigation::TabComponent": "",
142
+ "Primer::OpenProject::AvatarStack": "",
143
+ "Primer::OpenProject::AvatarWithFallback": "",
142
144
  "Primer::OpenProject::BorderBox::CollapsibleHeader": "",
143
145
  "Primer::OpenProject::BorderGrid": "",
144
146
  "Primer::OpenProject::BorderGrid::Cell": "",
@@ -149,17 +151,21 @@
149
151
  "Primer::OpenProject::DragHandle": "",
150
152
  "Primer::OpenProject::FeedbackDialog": "",
151
153
  "Primer::OpenProject::FeedbackMessage": "",
154
+ "Primer::OpenProject::Fieldset": "",
155
+ "Primer::OpenProject::Fieldset::LegendComponent": "",
152
156
  "Primer::OpenProject::FilterableTreeView": "",
153
157
  "Primer::OpenProject::FilterableTreeView::SubTree": "",
154
158
  "Primer::OpenProject::FlexLayout": "",
155
159
  "Primer::OpenProject::GridLayout": "",
156
160
  "Primer::OpenProject::GridLayout::Area": "",
157
161
  "Primer::OpenProject::Heading": "",
162
+ "Primer::OpenProject::InlineMessage": "",
158
163
  "Primer::OpenProject::InputGroup": "",
159
164
  "Primer::OpenProject::PageHeader": "",
160
165
  "Primer::OpenProject::PageHeader::Dialog": "",
161
166
  "Primer::OpenProject::PageHeader::Menu": "",
162
167
  "Primer::OpenProject::PageHeader::Title": "",
168
+ "Primer::OpenProject::Pagination": "",
163
169
  "Primer::OpenProject::SidePanel": "",
164
170
  "Primer::OpenProject::SidePanel::Section": "",
165
171
  "Primer::OpenProject::SubHeader": "",
@@ -102,7 +102,8 @@
102
102
  "Primer::Beta::AvatarStack"
103
103
  ],
104
104
  "AvatarStack-body": [
105
- "Primer::Beta::AvatarStack"
105
+ "Primer::Beta::AvatarStack",
106
+ "Primer::OpenProject::AvatarStack"
106
107
  ],
107
108
  "Banner": [
108
109
  "Primer::Alpha::Banner"
@@ -249,7 +250,16 @@
249
250
  "CollapsibleHeader": [
250
251
  "Primer::OpenProject::BorderBox::CollapsibleHeader"
251
252
  ],
252
- "CollapsibleHeader--triggerArea": [
253
+ "CollapsibleHeader--multi-line": [
254
+ "Primer::OpenProject::BorderBox::CollapsibleHeader"
255
+ ],
256
+ "CollapsibleHeader-description": [
257
+ "Primer::OpenProject::BorderBox::CollapsibleHeader"
258
+ ],
259
+ "CollapsibleHeader-title-line": [
260
+ "Primer::OpenProject::BorderBox::CollapsibleHeader"
261
+ ],
262
+ "CollapsibleHeader-triggerArea": [
253
263
  "Primer::OpenProject::BorderBox::CollapsibleHeader"
254
264
  ],
255
265
  "CollapsibleSection--triggerArea": [
@@ -357,6 +367,12 @@
357
367
  "FormControl-warning": [
358
368
  "Primer::Alpha::TextField"
359
369
  ],
370
+ "InlineMessage": [
371
+ "Primer::OpenProject::InlineMessage"
372
+ ],
373
+ "InlineMessageIcon": [
374
+ "Primer::OpenProject::InlineMessage"
375
+ ],
360
376
  "InputGroup": [
361
377
  "Primer::OpenProject::InputGroup"
362
378
  ],
@@ -457,6 +473,9 @@
457
473
  "Overlay--full-whenNarrow": [
458
474
  "Primer::Alpha::Dialog"
459
475
  ],
476
+ "Overlay--fullscreen-whenNarrow": [
477
+ "Primer::Alpha::Dialog"
478
+ ],
460
479
  "Overlay--hidden": [
461
480
  "Primer::Alpha::Dialog"
462
481
  ],
@@ -484,6 +503,9 @@
484
503
  "Overlay-headerFilter": [
485
504
  "Primer::Alpha::Dialog"
486
505
  ],
506
+ "Page": [
507
+ "Primer::OpenProject::Pagination"
508
+ ],
487
509
  "PageHeader": [
488
510
  "Primer::OpenProject::PageHeader"
489
511
  ],
@@ -526,6 +548,9 @@
526
548
  "PageHeader-titleBar": [
527
549
  "Primer::OpenProject::PageHeader"
528
550
  ],
551
+ "PaginationContainer": [
552
+ "Primer::OpenProject::Pagination"
553
+ ],
529
554
  "Popover": [
530
555
  "Primer::Beta::Popover"
531
556
  ],
@@ -193,11 +193,13 @@
193
193
  "Primer::Alpha::ActionMenu::PrimaryMenu": {
194
194
  "DEFAULT_ANCHOR_ALIGN": "start",
195
195
  "DEFAULT_ANCHOR_SIDE": "outside_bottom",
196
+ "DEFAULT_ANCHOR_WHEN_NARROW": "inherit",
196
197
  "GeneratedSlotMethods": "Primer::Alpha::ActionMenu::PrimaryMenu::GeneratedSlotMethods"
197
198
  },
198
199
  "Primer::Alpha::ActionMenu::SubMenu": {
199
200
  "DEFAULT_ANCHOR_ALIGN": "start",
200
201
  "DEFAULT_ANCHOR_SIDE": "outside_right",
202
+ "DEFAULT_ANCHOR_WHEN_NARROW": "inherit",
201
203
  "GeneratedSlotMethods": "Primer::Alpha::ActionMenu::SubMenu::GeneratedSlotMethods"
202
204
  },
203
205
  "Primer::Alpha::ActionMenu::SubMenuItem": {
@@ -599,11 +601,26 @@
599
601
  "outside_left",
600
602
  "outside_right"
601
603
  ],
604
+ "ANCHOR_WHEN_NARROW_MAPPINGS": {
605
+ "inherit": "",
606
+ "bottom": "Overlay--placement-bottom-whenNarrow",
607
+ "fullscreen": "Overlay--fullscreen-whenNarrow",
608
+ "left": "Overlay--placement-left-whenNarrow",
609
+ "right": "Overlay--placement-right-whenNarrow"
610
+ },
611
+ "ANCHOR_WHEN_NARROW_OPTIONS": [
612
+ "inherit",
613
+ "bottom",
614
+ "fullscreen",
615
+ "left",
616
+ "right"
617
+ ],
602
618
  "Body": "Primer::Alpha::Overlay::Body",
603
619
  "DEFAULT_ALIGN_CONTENT": "end",
604
620
  "DEFAULT_ANCHOR_ALIGN": "start",
605
621
  "DEFAULT_ANCHOR_OFFSET": "normal",
606
622
  "DEFAULT_ANCHOR_SIDE": "outside_bottom",
623
+ "DEFAULT_ANCHOR_WHEN_NARROW": "inherit",
607
624
  "DEFAULT_PADDING": "normal",
608
625
  "DEFAULT_POPOVER": "auto",
609
626
  "DEFAULT_SIZE": "auto",
@@ -1695,8 +1712,24 @@
1695
1712
  "Primer::Navigation::TabComponent": {
1696
1713
  "GeneratedSlotMethods": "Primer::Navigation::TabComponent::GeneratedSlotMethods"
1697
1714
  },
1715
+ "Primer::OpenProject::AvatarStack": {
1716
+ "GeneratedSlotMethods": "Primer::OpenProject::AvatarStack::GeneratedSlotMethods"
1717
+ },
1718
+ "Primer::OpenProject::AvatarWithFallback": {
1719
+ "FONT_STACK": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
1720
+ "GeneratedSlotMethods": "Primer::OpenProject::AvatarWithFallback::GeneratedSlotMethods"
1721
+ },
1698
1722
  "Primer::OpenProject::BorderBox::CollapsibleHeader": {
1699
- "GeneratedSlotMethods": "Primer::OpenProject::BorderBox::CollapsibleHeader::GeneratedSlotMethods"
1723
+ "GeneratedSlotMethods": "Primer::OpenProject::BorderBox::CollapsibleHeader::GeneratedSlotMethods",
1724
+ "TITLE_TAG_DEFAULT": "h3",
1725
+ "TITLE_TAG_OPTIONS": [
1726
+ "h1",
1727
+ "h2",
1728
+ "h3",
1729
+ "h4",
1730
+ "h5",
1731
+ "h6"
1732
+ ]
1700
1733
  },
1701
1734
  "Primer::OpenProject::BorderGrid": {
1702
1735
  "Cell": "Primer::OpenProject::BorderGrid::Cell",
@@ -1744,6 +1777,13 @@
1744
1777
  "Primer::OpenProject::FeedbackMessage": {
1745
1778
  "GeneratedSlotMethods": "Primer::OpenProject::FeedbackMessage::GeneratedSlotMethods"
1746
1779
  },
1780
+ "Primer::OpenProject::Fieldset": {
1781
+ "GeneratedSlotMethods": "Primer::OpenProject::Fieldset::GeneratedSlotMethods",
1782
+ "LegendComponent": "Primer::OpenProject::Fieldset::LegendComponent"
1783
+ },
1784
+ "Primer::OpenProject::Fieldset::LegendComponent": {
1785
+ "GeneratedSlotMethods": "Primer::OpenProject::Fieldset::LegendComponent::GeneratedSlotMethods"
1786
+ },
1747
1787
  "Primer::OpenProject::FilterableTreeView": {
1748
1788
  "DEFAULT_FILTER_INPUT_ARGUMENTS": {
1749
1789
  "name": "filter",
@@ -1803,6 +1843,20 @@
1803
1843
  "Primer::OpenProject::Heading": {
1804
1844
  "GeneratedSlotMethods": "Primer::OpenProject::Heading::GeneratedSlotMethods"
1805
1845
  },
1846
+ "Primer::OpenProject::InlineMessage": {
1847
+ "DEFAULT_SIZE": "medium",
1848
+ "GeneratedSlotMethods": "Primer::OpenProject::InlineMessage::GeneratedSlotMethods",
1849
+ "SCHEME_OPTIONS": [
1850
+ "warning",
1851
+ "critical",
1852
+ "success",
1853
+ "unavailable"
1854
+ ],
1855
+ "SIZE_OPTIONS": [
1856
+ "small",
1857
+ "medium"
1858
+ ]
1859
+ },
1806
1860
  "Primer::OpenProject::InputGroup": {
1807
1861
  "DEFAULT_INPUT_WIDTH": "auto",
1808
1862
  "GeneratedSlotMethods": "Primer::OpenProject::InputGroup::GeneratedSlotMethods",
@@ -1838,6 +1892,7 @@
1838
1892
  "none",
1839
1893
  "flex"
1840
1894
  ],
1895
+ "DEFAULT_BUTTON_ACTION_SIZE": "medium",
1841
1896
  "DEFAULT_HEADER_VARIANT": "medium",
1842
1897
  "DEFAULT_LEADING_ACTION_DISPLAY": [
1843
1898
  "none",
@@ -1884,6 +1939,16 @@
1884
1939
  "h6"
1885
1940
  ]
1886
1941
  },
1942
+ "Primer::OpenProject::Pagination": {
1943
+ "DEFAULT_MARGIN_PAGE_COUNT": 1,
1944
+ "DEFAULT_SURROUNDING_PAGE_COUNT": 2,
1945
+ "GeneratedSlotMethods": "Primer::OpenProject::Pagination::GeneratedSlotMethods",
1946
+ "PAGE_TYPE__BREAK": "break",
1947
+ "PAGE_TYPE__NEXT": "next",
1948
+ "PAGE_TYPE__NUM": "num",
1949
+ "PAGE_TYPE__PREV": "prev",
1950
+ "PageData": "Primer::OpenProject::Pagination::PageData"
1951
+ },
1887
1952
  "Primer::OpenProject::SidePanel": {
1888
1953
  "GeneratedSlotMethods": "Primer::OpenProject::SidePanel::GeneratedSlotMethods",
1889
1954
  "Section": "Primer::OpenProject::SidePanel::Section"
@@ -18,6 +18,11 @@
18
18
  "name": "custom_width_fields_form",
19
19
  "snapshot": "false"
20
20
  },
21
+ {
22
+ "preview_path": "primer/forms/fieldset_group_form",
23
+ "name": "fieldset_group_form",
24
+ "snapshot": "true"
25
+ },
21
26
  {
22
27
  "preview_path": "primer/forms/text_field_and_checkbox_form",
23
28
  "name": "text_field_and_checkbox_form",
@@ -112,6 +117,16 @@
112
117
  "preview_path": "primer/forms/auto_complete_form",
113
118
  "name": "auto_complete_form",
114
119
  "snapshot": "true"
120
+ },
121
+ {
122
+ "preview_path": "primer/forms/text_area_with_character_limit_form",
123
+ "name": "text_area_with_character_limit_form",
124
+ "snapshot": "true"
125
+ },
126
+ {
127
+ "preview_path": "primer/forms/text_field_with_character_limit_form",
128
+ "name": "text_field_with_character_limit_form",
129
+ "snapshot": "true"
115
130
  }
116
131
  ]
117
132
  }