@openproject/primer-view-components 0.32.0-rc.2c7b50ff → 0.32.0-rc.a92b65d7

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": "@openproject/primer-view-components",
3
- "version": "0.32.0-rc.2c7b50ff",
3
+ "version": "0.32.0-rc.a92b65d7",
4
4
  "description": "ViewComponents of the Primer Design System for OpenProject",
5
5
  "main": "app/assets/javascripts/primer_view_components.js",
6
6
  "module": "app/components/primer/primer.js",
@@ -5023,22 +5023,6 @@
5023
5023
  }
5024
5024
  ]
5025
5025
  },
5026
- {
5027
- "component": "OpenProject::SubHeader",
5028
- "status": "open_project",
5029
- "a11y_reviewed": false,
5030
- "short_name": "OpenProjectSubHeader",
5031
- "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/sub_header.rb",
5032
- "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/sub_header/default/",
5033
- "parameters": [
5034
- {
5035
- "name": "system_arguments",
5036
- "type": "Hash",
5037
- "default": "N/A",
5038
- "description": "[System arguments](/system-arguments)"
5039
- }
5040
- ]
5041
- },
5042
5026
  {
5043
5027
  "component": "OpenProject::ZenModeButton",
5044
5028
  "status": "open_project",
@@ -123,7 +123,6 @@
123
123
  "Primer::OpenProject::PageHeader": "",
124
124
  "Primer::OpenProject::PageHeader::Dialog": "",
125
125
  "Primer::OpenProject::PageHeader::Menu": "",
126
- "Primer::OpenProject::SubHeader": "",
127
126
  "Primer::OpenProject::ZenModeButton": "",
128
127
  "Primer::Tooltip": "",
129
128
  "Primer::Truncate": ""
@@ -1473,10 +1473,6 @@
1473
1473
  },
1474
1474
  "Primer::OpenProject::PageHeader::Menu": {
1475
1475
  },
1476
- "Primer::OpenProject::SubHeader": {
1477
- "HIDDEN_FILTER_TARGET_SELECTOR": "sub-header.hiddenItemsOnExpandedFilter",
1478
- "SHOWN_FILTER_TARGET_SELECTOR": "sub-header.shownItemsOnExpandedFilter"
1479
- },
1480
1476
  "Primer::OpenProject::ZenModeButton": {
1481
1477
  "ZEN_MODE_BUTTON_ICON": "screen-full",
1482
1478
  "ZEN_MODE_BUTTON_LABEL": "Translation missing: en.label_zen_mode"
@@ -16951,177 +16951,6 @@
16951
16951
 
16952
16952
  ]
16953
16953
  },
16954
- {
16955
- "fully_qualified_name": "Primer::OpenProject::SubHeader",
16956
- "description": "The SubHeader contains specific actions to modify the page content below, e.g a filter button or a create button\nIt should not be used stand alone, but in combination with a PageHeader, either as a direct sibling or as part of a tab content",
16957
- "accessibility_docs": null,
16958
- "is_form_component": false,
16959
- "is_published": true,
16960
- "requires_js": false,
16961
- "component": "OpenProject::SubHeader",
16962
- "status": "open_project",
16963
- "a11y_reviewed": false,
16964
- "short_name": "OpenProjectSubHeader",
16965
- "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/sub_header.rb",
16966
- "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/sub_header/default/",
16967
- "parameters": [
16968
- {
16969
- "name": "system_arguments",
16970
- "type": "Hash",
16971
- "default": "N/A",
16972
- "description": "{{link_to_system_arguments_docs}}"
16973
- }
16974
- ],
16975
- "slots": [
16976
- {
16977
- "name": "actions",
16978
- "description": "A button or custom content that will render on the right-hand side of the component.\n\nTo render a button, call the `with_button` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Button{{/link_to_component}}.\n\nTo render custom content, call the `with_button_component` method and pass a block that returns HTML.",
16979
- "parameters": [
16980
-
16981
- ]
16982
- },
16983
- {
16984
- "name": "filter_input",
16985
- "description": null,
16986
- "parameters": [
16987
-
16988
- ]
16989
- },
16990
- {
16991
- "name": "filter_button",
16992
- "description": "A button or custom content that will render on the left-hand side of the component, next to the filter input.\n\nTo render a button, call the `with_filter_button` method, which accepts the arguments accepted by {{#link_to_component}}Primer::Beta::Button{{/link_to_component}}.\n\nTo render custom content, call the `with_filter_component` method and pass a block that returns HTML.",
16993
- "parameters": [
16994
-
16995
- ]
16996
- },
16997
- {
16998
- "name": "text",
16999
- "description": null,
17000
- "parameters": [
17001
-
17002
- ]
17003
- },
17004
- {
17005
- "name": "bottom_pane_component",
17006
- "description": "A slot for a generic component which will be shown in a second row below the rest, spanning the whole width",
17007
- "parameters": [
17008
-
17009
- ]
17010
- }
17011
- ],
17012
- "methods": [
17013
-
17014
- ],
17015
- "previews": [
17016
- {
17017
- "preview_path": "primer/open_project/sub_header/playground",
17018
- "name": "playground",
17019
- "snapshot": "false",
17020
- "skip_rules": {
17021
- "wont_fix": [
17022
- "region"
17023
- ],
17024
- "will_fix": [
17025
- "color-contrast"
17026
- ]
17027
- }
17028
- },
17029
- {
17030
- "preview_path": "primer/open_project/sub_header/default",
17031
- "name": "default",
17032
- "snapshot": "false",
17033
- "skip_rules": {
17034
- "wont_fix": [
17035
- "region"
17036
- ],
17037
- "will_fix": [
17038
- "color-contrast"
17039
- ]
17040
- }
17041
- },
17042
- {
17043
- "preview_path": "primer/open_project/sub_header/action_menu_buttons",
17044
- "name": "action_menu_buttons",
17045
- "snapshot": "false",
17046
- "skip_rules": {
17047
- "wont_fix": [
17048
- "region"
17049
- ],
17050
- "will_fix": [
17051
- "color-contrast"
17052
- ]
17053
- }
17054
- },
17055
- {
17056
- "preview_path": "primer/open_project/sub_header/dialog_buttons",
17057
- "name": "dialog_buttons",
17058
- "snapshot": "false",
17059
- "skip_rules": {
17060
- "wont_fix": [
17061
- "region"
17062
- ],
17063
- "will_fix": [
17064
- "color-contrast"
17065
- ]
17066
- }
17067
- },
17068
- {
17069
- "preview_path": "primer/open_project/sub_header/button_group",
17070
- "name": "button_group",
17071
- "snapshot": "false",
17072
- "skip_rules": {
17073
- "wont_fix": [
17074
- "region"
17075
- ],
17076
- "will_fix": [
17077
- "color-contrast"
17078
- ]
17079
- }
17080
- },
17081
- {
17082
- "preview_path": "primer/open_project/sub_header/custom_filter_button",
17083
- "name": "custom_filter_button",
17084
- "snapshot": "false",
17085
- "skip_rules": {
17086
- "wont_fix": [
17087
- "region"
17088
- ],
17089
- "will_fix": [
17090
- "color-contrast"
17091
- ]
17092
- }
17093
- },
17094
- {
17095
- "preview_path": "primer/open_project/sub_header/bottom_pane",
17096
- "name": "bottom_pane",
17097
- "snapshot": "false",
17098
- "skip_rules": {
17099
- "wont_fix": [
17100
- "region"
17101
- ],
17102
- "will_fix": [
17103
- "color-contrast"
17104
- ]
17105
- }
17106
- },
17107
- {
17108
- "preview_path": "primer/open_project/sub_header/text",
17109
- "name": "text",
17110
- "snapshot": "false",
17111
- "skip_rules": {
17112
- "wont_fix": [
17113
- "region"
17114
- ],
17115
- "will_fix": [
17116
- "color-contrast"
17117
- ]
17118
- }
17119
- }
17120
- ],
17121
- "subcomponents": [
17122
-
17123
- ]
17124
- },
17125
16954
  {
17126
16955
  "fully_qualified_name": "Primer::OpenProject::ZenModeButton",
17127
16956
  "description": "Add a general description of component here\nAdd additional usage considerations or best practices that may aid the user to use the component correctly.",
@@ -6310,118 +6310,6 @@
6310
6310
  }
6311
6311
  ]
6312
6312
  },
6313
- {
6314
- "name": "sub_header",
6315
- "component": "OpenProject::SubHeader",
6316
- "status": "open_project",
6317
- "lookup_path": "primer/open_project/sub_header",
6318
- "examples": [
6319
- {
6320
- "preview_path": "primer/open_project/sub_header/playground",
6321
- "name": "playground",
6322
- "snapshot": "false",
6323
- "skip_rules": {
6324
- "wont_fix": [
6325
- "region"
6326
- ],
6327
- "will_fix": [
6328
- "color-contrast"
6329
- ]
6330
- }
6331
- },
6332
- {
6333
- "preview_path": "primer/open_project/sub_header/default",
6334
- "name": "default",
6335
- "snapshot": "false",
6336
- "skip_rules": {
6337
- "wont_fix": [
6338
- "region"
6339
- ],
6340
- "will_fix": [
6341
- "color-contrast"
6342
- ]
6343
- }
6344
- },
6345
- {
6346
- "preview_path": "primer/open_project/sub_header/action_menu_buttons",
6347
- "name": "action_menu_buttons",
6348
- "snapshot": "false",
6349
- "skip_rules": {
6350
- "wont_fix": [
6351
- "region"
6352
- ],
6353
- "will_fix": [
6354
- "color-contrast"
6355
- ]
6356
- }
6357
- },
6358
- {
6359
- "preview_path": "primer/open_project/sub_header/dialog_buttons",
6360
- "name": "dialog_buttons",
6361
- "snapshot": "false",
6362
- "skip_rules": {
6363
- "wont_fix": [
6364
- "region"
6365
- ],
6366
- "will_fix": [
6367
- "color-contrast"
6368
- ]
6369
- }
6370
- },
6371
- {
6372
- "preview_path": "primer/open_project/sub_header/button_group",
6373
- "name": "button_group",
6374
- "snapshot": "false",
6375
- "skip_rules": {
6376
- "wont_fix": [
6377
- "region"
6378
- ],
6379
- "will_fix": [
6380
- "color-contrast"
6381
- ]
6382
- }
6383
- },
6384
- {
6385
- "preview_path": "primer/open_project/sub_header/custom_filter_button",
6386
- "name": "custom_filter_button",
6387
- "snapshot": "false",
6388
- "skip_rules": {
6389
- "wont_fix": [
6390
- "region"
6391
- ],
6392
- "will_fix": [
6393
- "color-contrast"
6394
- ]
6395
- }
6396
- },
6397
- {
6398
- "preview_path": "primer/open_project/sub_header/bottom_pane",
6399
- "name": "bottom_pane",
6400
- "snapshot": "false",
6401
- "skip_rules": {
6402
- "wont_fix": [
6403
- "region"
6404
- ],
6405
- "will_fix": [
6406
- "color-contrast"
6407
- ]
6408
- }
6409
- },
6410
- {
6411
- "preview_path": "primer/open_project/sub_header/text",
6412
- "name": "text",
6413
- "snapshot": "false",
6414
- "skip_rules": {
6415
- "wont_fix": [
6416
- "region"
6417
- ],
6418
- "will_fix": [
6419
- "color-contrast"
6420
- ]
6421
- }
6422
- }
6423
- ]
6424
- },
6425
6313
  {
6426
6314
  "name": "subhead",
6427
6315
  "component": "Subhead",
@@ -123,7 +123,6 @@
123
123
  "Primer::OpenProject::PageHeader": "open_project",
124
124
  "Primer::OpenProject::PageHeader::Dialog": "open_project",
125
125
  "Primer::OpenProject::PageHeader::Menu": "open_project",
126
- "Primer::OpenProject::SubHeader": "open_project",
127
126
  "Primer::OpenProject::ZenModeButton": "open_project",
128
127
  "Primer::Tooltip": "deprecated",
129
128
  "Primer::Truncate": "deprecated"