@openproject/primer-view-components 0.37.0-rc.9963d5bb → 0.37.0

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.37.0-rc.9963d5bb",
3
+ "version": "0.37.0",
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",
@@ -5053,6 +5053,33 @@
5053
5053
  }
5054
5054
  ]
5055
5055
  },
5056
+ {
5057
+ "component": "OpenProject::SidePanel",
5058
+ "status": "open_project",
5059
+ "a11y_reviewed": false,
5060
+ "short_name": "OpenProjectSidePanel",
5061
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/side_panel.rb",
5062
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/side_panel/default/",
5063
+ "parameters": [
5064
+ {
5065
+ "name": "system_arguments",
5066
+ "type": "Hash",
5067
+ "default": "N/A",
5068
+ "description": "[System arguments](/system-arguments)"
5069
+ }
5070
+ ]
5071
+ },
5072
+ {
5073
+ "component": "OpenProject::SidePanel::Section",
5074
+ "status": "open_project",
5075
+ "a11y_reviewed": false,
5076
+ "short_name": "OpenProjectSidePanelSection",
5077
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/side_panel/section.rb",
5078
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/side_panel/section/default/",
5079
+ "parameters": [
5080
+
5081
+ ]
5082
+ },
5056
5083
  {
5057
5084
  "component": "OpenProject::SubHeader",
5058
5085
  "status": "open_project",
@@ -123,6 +123,8 @@
123
123
  "Primer::OpenProject::PageHeader": "",
124
124
  "Primer::OpenProject::PageHeader::Dialog": "",
125
125
  "Primer::OpenProject::PageHeader::Menu": "",
126
+ "Primer::OpenProject::SidePanel": "",
127
+ "Primer::OpenProject::SidePanel::Section": "",
126
128
  "Primer::OpenProject::SubHeader": "",
127
129
  "Primer::OpenProject::ZenModeButton": "",
128
130
  "Primer::Tooltip": "",
@@ -1480,6 +1480,26 @@
1480
1480
  },
1481
1481
  "Primer::OpenProject::PageHeader::Menu": {
1482
1482
  },
1483
+ "Primer::OpenProject::SidePanel": {
1484
+ "Section": "Primer::OpenProject::SidePanel::Section"
1485
+ },
1486
+ "Primer::OpenProject::SidePanel::Section": {
1487
+ "DEFAULT_TAG": "section",
1488
+ "TAG_OPTIONS": [
1489
+ "section",
1490
+ "div",
1491
+ "span"
1492
+ ],
1493
+ "TITLE_TAG_FALLBACK": "h4",
1494
+ "TITLE_TAG_OPTIONS": [
1495
+ "h1",
1496
+ "h2",
1497
+ "h3",
1498
+ "h4",
1499
+ "h5",
1500
+ "h6"
1501
+ ]
1502
+ },
1483
1503
  "Primer::OpenProject::SubHeader": {
1484
1504
  "HIDDEN_FILTER_TARGET_SELECTOR": "sub-header.hiddenItemsOnExpandedFilter",
1485
1505
  "SHOWN_FILTER_TARGET_SELECTOR": "sub-header.shownItemsOnExpandedFilter"
@@ -17138,6 +17138,158 @@
17138
17138
 
17139
17139
  ]
17140
17140
  },
17141
+ {
17142
+ "fully_qualified_name": "Primer::OpenProject::SidePanel",
17143
+ "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.",
17144
+ "accessibility_docs": "Add any accessibility considerations",
17145
+ "is_form_component": false,
17146
+ "is_published": true,
17147
+ "requires_js": false,
17148
+ "component": "OpenProject::SidePanel",
17149
+ "status": "open_project",
17150
+ "a11y_reviewed": false,
17151
+ "short_name": "OpenProjectSidePanel",
17152
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/side_panel.rb",
17153
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/side_panel/default/",
17154
+ "parameters": [
17155
+ {
17156
+ "name": "system_arguments",
17157
+ "type": "Hash",
17158
+ "default": "N/A",
17159
+ "description": "{{link_to_system_arguments_docs}}"
17160
+ }
17161
+ ],
17162
+ "slots": [
17163
+ {
17164
+ "name": "sections",
17165
+ "description": "A side panel consists of one or multiple sections",
17166
+ "parameters": [
17167
+ {
17168
+ "name": "grid_row_arguments",
17169
+ "type": "Hash",
17170
+ "default": "N/A",
17171
+ "description": "Arguments to pass to +Primer::OpenProject::BorderGrid::Cell+ %>"
17172
+ },
17173
+ {
17174
+ "name": "system_arguments",
17175
+ "type": "Hash",
17176
+ "default": "N/A",
17177
+ "description": "{{link_to_system_arguments_docs}}"
17178
+ }
17179
+ ]
17180
+ }
17181
+ ],
17182
+ "methods": [
17183
+
17184
+ ],
17185
+ "previews": [
17186
+ {
17187
+ "preview_path": "primer/open_project/side_panel/playground",
17188
+ "name": "playground",
17189
+ "snapshot": "false",
17190
+ "skip_rules": {
17191
+ "wont_fix": [
17192
+ "region"
17193
+ ],
17194
+ "will_fix": [
17195
+ "color-contrast"
17196
+ ]
17197
+ }
17198
+ },
17199
+ {
17200
+ "preview_path": "primer/open_project/side_panel/default",
17201
+ "name": "default",
17202
+ "snapshot": "true",
17203
+ "skip_rules": {
17204
+ "wont_fix": [
17205
+ "region"
17206
+ ],
17207
+ "will_fix": [
17208
+ "color-contrast"
17209
+ ]
17210
+ }
17211
+ },
17212
+ {
17213
+ "preview_path": "primer/open_project/side_panel/with_component",
17214
+ "name": "with_component",
17215
+ "snapshot": "false",
17216
+ "skip_rules": {
17217
+ "wont_fix": [
17218
+ "region"
17219
+ ],
17220
+ "will_fix": [
17221
+ "color-contrast"
17222
+ ]
17223
+ }
17224
+ }
17225
+ ],
17226
+ "subcomponents": [
17227
+
17228
+ ]
17229
+ },
17230
+ {
17231
+ "fully_qualified_name": "Primer::OpenProject::SidePanel::Section",
17232
+ "description": "SidePanel::Section is an internal component that deals with individual sections of a sidepanel.",
17233
+ "accessibility_docs": null,
17234
+ "is_form_component": false,
17235
+ "is_published": true,
17236
+ "requires_js": false,
17237
+ "component": "OpenProject::SidePanel::Section",
17238
+ "status": "open_project",
17239
+ "a11y_reviewed": false,
17240
+ "short_name": "OpenProjectSidePanelSection",
17241
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/side_panel/section.rb",
17242
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/side_panel/section/default/",
17243
+ "parameters": [
17244
+
17245
+ ],
17246
+ "slots": [
17247
+ {
17248
+ "name": "title",
17249
+ "description": null,
17250
+ "parameters": [
17251
+
17252
+ ]
17253
+ },
17254
+ {
17255
+ "name": "counter",
17256
+ "description": null,
17257
+ "parameters": [
17258
+
17259
+ ]
17260
+ },
17261
+ {
17262
+ "name": "action",
17263
+ "description": null,
17264
+ "parameters": [
17265
+
17266
+ ]
17267
+ },
17268
+ {
17269
+ "name": "description",
17270
+ "description": null,
17271
+ "parameters": [
17272
+
17273
+ ]
17274
+ },
17275
+ {
17276
+ "name": "footer",
17277
+ "description": null,
17278
+ "parameters": [
17279
+
17280
+ ]
17281
+ }
17282
+ ],
17283
+ "methods": [
17284
+
17285
+ ],
17286
+ "previews": [
17287
+
17288
+ ],
17289
+ "subcomponents": [
17290
+
17291
+ ]
17292
+ },
17141
17293
  {
17142
17294
  "fully_qualified_name": "Primer::OpenProject::SubHeader",
17143
17295
  "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",
@@ -6307,6 +6307,53 @@
6307
6307
  }
6308
6308
  ]
6309
6309
  },
6310
+ {
6311
+ "name": "side_panel",
6312
+ "component": "OpenProject::SidePanel",
6313
+ "status": "open_project",
6314
+ "lookup_path": "primer/open_project/side_panel",
6315
+ "examples": [
6316
+ {
6317
+ "preview_path": "primer/open_project/side_panel/playground",
6318
+ "name": "playground",
6319
+ "snapshot": "false",
6320
+ "skip_rules": {
6321
+ "wont_fix": [
6322
+ "region"
6323
+ ],
6324
+ "will_fix": [
6325
+ "color-contrast"
6326
+ ]
6327
+ }
6328
+ },
6329
+ {
6330
+ "preview_path": "primer/open_project/side_panel/default",
6331
+ "name": "default",
6332
+ "snapshot": "true",
6333
+ "skip_rules": {
6334
+ "wont_fix": [
6335
+ "region"
6336
+ ],
6337
+ "will_fix": [
6338
+ "color-contrast"
6339
+ ]
6340
+ }
6341
+ },
6342
+ {
6343
+ "preview_path": "primer/open_project/side_panel/with_component",
6344
+ "name": "with_component",
6345
+ "snapshot": "false",
6346
+ "skip_rules": {
6347
+ "wont_fix": [
6348
+ "region"
6349
+ ],
6350
+ "will_fix": [
6351
+ "color-contrast"
6352
+ ]
6353
+ }
6354
+ }
6355
+ ]
6356
+ },
6310
6357
  {
6311
6358
  "name": "spinner",
6312
6359
  "component": "Spinner",
@@ -123,6 +123,8 @@
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::SidePanel": "open_project",
127
+ "Primer::OpenProject::SidePanel::Section": "open_project",
126
128
  "Primer::OpenProject::SubHeader": "open_project",
127
129
  "Primer::OpenProject::ZenModeButton": "open_project",
128
130
  "Primer::Tooltip": "deprecated",