@openproject/primer-view-components 0.12.0-rc.7628b7e5 → 0.12.0-rc.a2f270db

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.12.0-rc.7628b7e5",
3
+ "version": "0.12.0-rc.a2f270db",
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",
@@ -4653,6 +4653,84 @@
4653
4653
  }
4654
4654
  ]
4655
4655
  },
4656
+ {
4657
+ "component": "OpenProject::FlexLayout",
4658
+ "status": "open_project",
4659
+ "a11y_reviewed": false,
4660
+ "short_name": "OpenProjectFlexLayout",
4661
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/flex_layout.rb",
4662
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/flex_layout/default/",
4663
+ "parameters": [
4664
+ {
4665
+ "name": "system_arguments",
4666
+ "type": "Hash",
4667
+ "default": "N/A",
4668
+ "description": "[System arguments](/system-arguments)"
4669
+ }
4670
+ ]
4671
+ },
4672
+ {
4673
+ "component": "OpenProject::GridLayout",
4674
+ "status": "open_project",
4675
+ "a11y_reviewed": false,
4676
+ "short_name": "OpenProjectGridLayout",
4677
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/grid_layout.rb",
4678
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/grid_layout/default/",
4679
+ "parameters": [
4680
+ {
4681
+ "name": "css_class",
4682
+ "type": "String",
4683
+ "default": "N/A",
4684
+ "description": "The basic css class applied on the grid-container"
4685
+ },
4686
+ {
4687
+ "name": "system_arguments",
4688
+ "type": "Hash",
4689
+ "default": "N/A",
4690
+ "description": "[System arguments](/system-arguments)"
4691
+ }
4692
+ ]
4693
+ },
4694
+ {
4695
+ "component": "OpenProject::GridLayout::Area",
4696
+ "status": "open_project",
4697
+ "a11y_reviewed": false,
4698
+ "short_name": "OpenProjectGridLayoutArea",
4699
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/grid_layout/area.rb",
4700
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/grid_layout/area/default/",
4701
+ "parameters": [
4702
+ {
4703
+ "name": "css_class",
4704
+ "type": "String",
4705
+ "default": "N/A",
4706
+ "description": "The basic css class applied on the grid-container"
4707
+ },
4708
+ {
4709
+ "name": "area_name",
4710
+ "type": "Symbol",
4711
+ "default": "N/A",
4712
+ "description": "The specific area name, used for creating the element class and the \"grid-area\" style"
4713
+ },
4714
+ {
4715
+ "name": "component",
4716
+ "type": "ViewComponent::Base",
4717
+ "default": "`Primer::BaseComponent`",
4718
+ "description": "The instance of the component to be rendered."
4719
+ },
4720
+ {
4721
+ "name": "tag",
4722
+ "type": "Symbol",
4723
+ "default": "`:div`",
4724
+ "description": "One of `:div` or `:span`."
4725
+ },
4726
+ {
4727
+ "name": "system_arguments",
4728
+ "type": "Hash",
4729
+ "default": "N/A",
4730
+ "description": "[System arguments](/system-arguments)"
4731
+ }
4732
+ ]
4733
+ },
4656
4734
  {
4657
4735
  "component": "OpenProject::PageHeader",
4658
4736
  "status": "open_project",
@@ -110,6 +110,9 @@
110
110
  "Primer::OpenProject::BorderGrid": "",
111
111
  "Primer::OpenProject::BorderGrid::Cell": "",
112
112
  "Primer::OpenProject::DragHandle": "",
113
+ "Primer::OpenProject::FlexLayout": "",
114
+ "Primer::OpenProject::GridLayout": "",
115
+ "Primer::OpenProject::GridLayout::Area": "",
113
116
  "Primer::OpenProject::PageHeader": "",
114
117
  "Primer::Tooltip": "",
115
118
  "Primer::Truncate": ""
@@ -1336,6 +1336,18 @@
1336
1336
  "medium"
1337
1337
  ]
1338
1338
  },
1339
+ "Primer::OpenProject::FlexLayout": {
1340
+ },
1341
+ "Primer::OpenProject::GridLayout": {
1342
+ "Area": "Primer::OpenProject::GridLayout::Area"
1343
+ },
1344
+ "Primer::OpenProject::GridLayout::Area": {
1345
+ "DEFAULT_TAG": "div",
1346
+ "TAG_OPTIONS": [
1347
+ "div",
1348
+ "span"
1349
+ ]
1350
+ },
1339
1351
  "Primer::OpenProject::PageHeader": {
1340
1352
  "DEFAULT_HEADER_VARIANT": "medium",
1341
1353
  "HEADER_VARIANT_OPTIONS": [
@@ -15036,6 +15036,259 @@
15036
15036
 
15037
15037
  ]
15038
15038
  },
15039
+ {
15040
+ "fully_qualified_name": "Primer::OpenProject::FlexLayout",
15041
+ "description": "A layouting component used to arrange multiple components next / below each other",
15042
+ "accessibility_docs": null,
15043
+ "is_form_component": false,
15044
+ "is_published": true,
15045
+ "requires_js": false,
15046
+ "component": "OpenProject::FlexLayout",
15047
+ "status": "open_project",
15048
+ "a11y_reviewed": false,
15049
+ "short_name": "OpenProjectFlexLayout",
15050
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/flex_layout.rb",
15051
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/flex_layout/default/",
15052
+ "parameters": [
15053
+ {
15054
+ "name": "system_arguments",
15055
+ "type": "Hash",
15056
+ "default": "N/A",
15057
+ "description": "{{link_to_system_arguments_docs}}"
15058
+ }
15059
+ ],
15060
+ "slots": [
15061
+ {
15062
+ "name": "rows",
15063
+ "description": null,
15064
+ "parameters": [
15065
+
15066
+ ]
15067
+ },
15068
+ {
15069
+ "name": "columns",
15070
+ "description": null,
15071
+ "parameters": [
15072
+
15073
+ ]
15074
+ },
15075
+ {
15076
+ "name": "boxes",
15077
+ "description": "boxes are used when direction is set to row or column based on responsive breakpoints",
15078
+ "parameters": [
15079
+
15080
+ ]
15081
+ }
15082
+ ],
15083
+ "methods": [
15084
+
15085
+ ],
15086
+ "previews": [
15087
+ {
15088
+ "preview_path": "primer/open_project/flex_layout/playground",
15089
+ "name": "playground",
15090
+ "snapshot": "false",
15091
+ "skip_rules": {
15092
+ "wont_fix": [
15093
+ "region"
15094
+ ],
15095
+ "will_fix": [
15096
+ "color-contrast"
15097
+ ]
15098
+ }
15099
+ },
15100
+ {
15101
+ "preview_path": "primer/open_project/flex_layout/default",
15102
+ "name": "default",
15103
+ "snapshot": "false",
15104
+ "skip_rules": {
15105
+ "wont_fix": [
15106
+ "region"
15107
+ ],
15108
+ "will_fix": [
15109
+ "color-contrast"
15110
+ ]
15111
+ }
15112
+ },
15113
+ {
15114
+ "preview_path": "primer/open_project/flex_layout/row_layout",
15115
+ "name": "row_layout",
15116
+ "snapshot": "false",
15117
+ "skip_rules": {
15118
+ "wont_fix": [
15119
+ "region"
15120
+ ],
15121
+ "will_fix": [
15122
+ "color-contrast"
15123
+ ]
15124
+ }
15125
+ },
15126
+ {
15127
+ "preview_path": "primer/open_project/flex_layout/column_layout",
15128
+ "name": "column_layout",
15129
+ "snapshot": "false",
15130
+ "skip_rules": {
15131
+ "wont_fix": [
15132
+ "region"
15133
+ ],
15134
+ "will_fix": [
15135
+ "color-contrast"
15136
+ ]
15137
+ }
15138
+ },
15139
+ {
15140
+ "preview_path": "primer/open_project/flex_layout/nested_layout",
15141
+ "name": "nested_layout",
15142
+ "snapshot": "false",
15143
+ "skip_rules": {
15144
+ "wont_fix": [
15145
+ "region"
15146
+ ],
15147
+ "will_fix": [
15148
+ "color-contrast"
15149
+ ]
15150
+ }
15151
+ }
15152
+ ],
15153
+ "subcomponents": [
15154
+
15155
+ ]
15156
+ },
15157
+ {
15158
+ "fully_qualified_name": "Primer::OpenProject::GridLayout",
15159
+ "description": "A layouting component used to arrange multiple components in a CSS Grid\nNote that this component only provides helpers (as the class names and grid-area styles).\nHowever, it does not define the actual Grid which should be done in a separate CSS-file.",
15160
+ "accessibility_docs": null,
15161
+ "is_form_component": false,
15162
+ "is_published": true,
15163
+ "requires_js": false,
15164
+ "component": "OpenProject::GridLayout",
15165
+ "status": "open_project",
15166
+ "a11y_reviewed": false,
15167
+ "short_name": "OpenProjectGridLayout",
15168
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/grid_layout.rb",
15169
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/grid_layout/default/",
15170
+ "parameters": [
15171
+ {
15172
+ "name": "css_class",
15173
+ "type": "String",
15174
+ "default": "N/A",
15175
+ "description": "The basic css class applied on the grid-container"
15176
+ },
15177
+ {
15178
+ "name": "system_arguments",
15179
+ "type": "Hash",
15180
+ "default": "N/A",
15181
+ "description": "{{link_to_system_arguments_docs}}"
15182
+ }
15183
+ ],
15184
+ "slots": [
15185
+ {
15186
+ "name": "areas",
15187
+ "description": null,
15188
+ "parameters": [
15189
+
15190
+ ]
15191
+ }
15192
+ ],
15193
+ "methods": [
15194
+ {
15195
+ "name": "css_class",
15196
+ "description": "Returns the value of attribute css_class.",
15197
+ "parameters": [
15198
+
15199
+ ]
15200
+ }
15201
+ ],
15202
+ "previews": [
15203
+ {
15204
+ "preview_path": "primer/open_project/grid_layout/playground",
15205
+ "name": "playground",
15206
+ "snapshot": "false",
15207
+ "skip_rules": {
15208
+ "wont_fix": [
15209
+ "region"
15210
+ ],
15211
+ "will_fix": [
15212
+ "color-contrast"
15213
+ ]
15214
+ }
15215
+ },
15216
+ {
15217
+ "preview_path": "primer/open_project/grid_layout/default",
15218
+ "name": "default",
15219
+ "snapshot": "false",
15220
+ "skip_rules": {
15221
+ "wont_fix": [
15222
+ "region"
15223
+ ],
15224
+ "will_fix": [
15225
+ "color-contrast"
15226
+ ]
15227
+ }
15228
+ }
15229
+ ],
15230
+ "subcomponents": [
15231
+
15232
+ ]
15233
+ },
15234
+ {
15235
+ "fully_qualified_name": "Primer::OpenProject::GridLayout::Area",
15236
+ "description": "GridLayout::Area is an internal component that wraps the items in a div with the given new class and responding \"grid-area\"",
15237
+ "accessibility_docs": null,
15238
+ "is_form_component": false,
15239
+ "is_published": true,
15240
+ "requires_js": false,
15241
+ "component": "OpenProject::GridLayout::Area",
15242
+ "status": "open_project",
15243
+ "a11y_reviewed": false,
15244
+ "short_name": "OpenProjectGridLayoutArea",
15245
+ "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/grid_layout/area.rb",
15246
+ "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/grid_layout/area/default/",
15247
+ "parameters": [
15248
+ {
15249
+ "name": "css_class",
15250
+ "type": "String",
15251
+ "default": "N/A",
15252
+ "description": "The basic css class applied on the grid-container"
15253
+ },
15254
+ {
15255
+ "name": "area_name",
15256
+ "type": "Symbol",
15257
+ "default": "N/A",
15258
+ "description": "The specific area name, used for creating the element class and the \"grid-area\" style"
15259
+ },
15260
+ {
15261
+ "name": "component",
15262
+ "type": "ViewComponent::Base",
15263
+ "default": "`Primer::BaseComponent`",
15264
+ "description": "The instance of the component to be rendered."
15265
+ },
15266
+ {
15267
+ "name": "tag",
15268
+ "type": "Symbol",
15269
+ "default": "`:div`",
15270
+ "description": "One of `:div` or `:span`."
15271
+ },
15272
+ {
15273
+ "name": "system_arguments",
15274
+ "type": "Hash",
15275
+ "default": "N/A",
15276
+ "description": "{{link_to_system_arguments_docs}}"
15277
+ }
15278
+ ],
15279
+ "slots": [
15280
+
15281
+ ],
15282
+ "methods": [
15283
+
15284
+ ],
15285
+ "previews": [
15286
+
15287
+ ],
15288
+ "subcomponents": [
15289
+
15290
+ ]
15291
+ },
15039
15292
  {
15040
15293
  "fully_qualified_name": "Primer::OpenProject::PageHeader",
15041
15294
  "description": "A ViewComponent PageHeader inspired by the primer react variant",
@@ -15278,6 +15531,6 @@
15278
15531
  "component": "BaseComponent",
15279
15532
  "fully_qualified_name": "Primer::BaseComponent",
15280
15533
  "description_md": "All Primer ViewComponents accept a standard set of options called system arguments, mimicking the [styled-system API](https://styled-system.com/table) used by [Primer React](https://primer.style/components/system-props).\n\nUnder the hood, system arguments are [mapped](https://github.com/primer/view_components/blob/main/lib/primer/classify.rb) to Primer CSS classes, with any remaining options passed to Rails' [`content_tag`](https://api.rubyonrails.org/classes/ActionView/Helpers/TagHelper.html#method-i-content_tag).\n\n## Responsive values\n\nTo apply different values across responsive breakpoints, pass an array with up to five values in the order `[default, small, medium, large, xlarge]`. To skip a breakpoint, pass `nil`.\n\nFor example:\n\n```erb\n<%= render Primer::Beta::Heading.new(mt: [0, nil, nil, 4, 2]) do %>\n Hello world\n<% end %>\n```\n\nRenders:\n\n```html\n<h1 class=\"mt-0 mt-lg-4 mt-xl-2\">Hello world</h1>\n```",
15281
- "args_md": "## HTML attributes\n\nSystem arguments include most HTML attributes. For example:\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `aria` | `Hash` | Aria attributes: `aria: { label: \"foo\" }` renders `aria-label='foo'`. |\n| `data` | `Hash` | Data attributes: `data: { foo: :bar }` renders `data-foo='bar'`. |\n| `height` | `Integer` | Height. |\n| `hidden` | `Boolean` | Whether to assign the `hidden` attribute. |\n| `style` | `String` | Inline styles. |\n| `title` | `String` | The `title` attribute. |\n| `width` | `Integer` | Width. |\n\n## Animation\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `animation` | Symbol | One of `:fade_down`, `:fade_in`, `:fade_out`, `:fade_up`, `:grow_x`, `:hover_grow`, `:pulse`, `:pulse_in`, `:rotate`, `:scale_in`, or `:shrink_x`. |\n\n## Border\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `border_bottom` | Integer | Set to `0` to remove the bottom border. |\n| `border_left` | Integer | Set to `0` to remove the left border. |\n| `border_radius` | Integer | One of `0`, `1`, `2`, or `3`. |\n| `border_right` | Integer | Set to `0` to remove the right border. |\n| `border_top` | Integer | Set to `0` to remove the top border. |\n| `border` | Symbol | One of `:bottom`, `:left`, `:right`, `:top`, `:x`, `:y`, or `true`. |\n| `box_shadow` | Boolean, Symbol | Box shadow. One of `:extra_large`, `:large`, `:medium`, `:none`, or `true`. |\n\n## Color\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `bg` | Symbol | Background color. One of `:accent`, `:accent_emphasis`, `:attention`, `:attention_emphasis`, `:closed`, `:closed_emphasis`, `:danger`, `:danger_emphasis`, `:default`, `:done`, `:done_emphasis`, `:emphasis`, `:inset`, `:open`, `:open_emphasis`, `:overlay`, `:severe`, `:severe_emphasis`, `:sponsors`, `:sponsors_emphasis`, `:subtle`, `:success`, `:success_emphasis`, or `:transparent`. |\n| `border_color` | Symbol | Border color. One of `:accent`, `:accent_emphasis`, `:attention`, `:attention_emphasis`, `:closed`, `:closed_emphasis`, `:danger`, `:danger_emphasis`, `:default`, `:done`, `:done_emphasis`, `:muted`, `:open`, `:open_emphasis`, `:severe`, `:severe_emphasis`, `:sponsors`, `:sponsors_emphasis`, `:subtle`, `:success`, or `:success_emphasis`. |\n| `color` | Symbol | Text color. One of `:accent`, `:attention`, `:closed`, `:danger`, `:default`, `:done`, `:inherit`, `:muted`, `:on_emphasis`, `:open`, `:severe`, `:sponsors`, `:subtle`, or `:success`. |\n\n## Flex\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `align_items` | Symbol | One of `:baseline`, `:center`, `:flex_end`, `:flex_start`, or `:stretch`. |\n| `align_self` | Symbol | One of `:auto`, `:baseline`, `:center`, `:end`, `:start`, or `:stretch`. |\n| `direction` | Symbol | One of `:column`, `:column_reverse`, `:row`, or `:row_reverse`. |\n| `flex` | Integer, Symbol | One of `1` or `:auto`. |\n| `flex_grow` | Integer | To enable, set to `0`. |\n| `flex_shrink` | Integer | To enable, set to `0`. |\n| `flex_wrap` | Symbol | One of `:nowrap`, `:reverse`, or `:wrap`. |\n| `justify_content` | Symbol | One of `:center`, `:flex_end`, `:flex_start`, `:space_around`, or `:space_between`. |\n\n## Grid\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `clearfix` | Boolean | Whether to assign the `clearfix` class. |\n| `col` | Integer | Number of columns. One of `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, or `12`. |\n| `container` | Symbol | Size of the container. One of `:lg`, `:md`, `:sm`, or `:xl`. |\n\n## Layout\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `display` | Symbol | One of `:block`, `:flex`, `:grid`, `:inline`, `:inline_block`, `:inline_flex`, `:none`, `:table`, or `:table_cell`. |\n| `w` | Symbol | One of `:auto`, `:fit`, or `:full`. |\n| `h` | Symbol | One of `:fit` or `:full`. |\n| `hide` | Symbol | Hide the element at a specific breakpoint. One of `:lg`, `:md`, `:sm`, `:whenNarrow`, `:whenRegular`, `:whenWide`, or `:xl`. |\n| `visibility` | Symbol | Visibility. One of `:hidden` or `:visible`. |\n| `vertical_align` | Symbol | One of `:baseline`, `:bottom`, `:middle`, `:text_bottom`, `:text_top`, or `:top`. |\n\n## Position\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `bottom` | Boolean | If `false`, sets `bottom: 0`. |\n| `float` | Symbol | One of `:left`, `:none`, or `:right`. |\n| `left` | Boolean | If `false`, sets `left: 0`. |\n| `position` | Symbol | One of `:absolute`, `:fixed`, `:relative`, `:static`, or `:sticky`. |\n| `right` | Boolean | If `false`, sets `right: 0`. |\n| `top` | Boolean | If `false`, sets `top: 0`. |\n\n## Spacing\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `m` | Integer | Margin. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, or `:auto`. |\n| `mb` | Integer | Margin bottom. One of `-12`, `-11`, `-10`, `-9`, `-8`, `-7`, `-6`, `-5`, `-4`, `-3`, `-2`, `-1`, `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, or `:auto`. |\n| `ml` | Integer | Margin left. One of `-6`, `-5`, `-4`, `-3`, `-2`, `-1`, `0`, `1`, `2`, `3`, `4`, `5`, `6`, or `:auto`. |\n| `mr` | Integer | Margin right. One of `-6`, `-5`, `-4`, `-3`, `-2`, `-1`, `0`, `1`, `2`, `3`, `4`, `5`, `6`, or `:auto`. |\n| `mt` | Integer | Margin top. One of `-12`, `-11`, `-10`, `-9`, `-8`, `-7`, `-6`, `-5`, `-4`, `-3`, `-2`, `-1`, `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, or `:auto`. |\n| `mx` | Integer | Horizontal margins. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, or `:auto`. |\n| `my` | Integer | Vertical margins. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, or `12`. |\n| `p` | Integer | Padding. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, or `:responsive`. |\n| `pb` | Integer | Padding bottom. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, or `12`. |\n| `pl` | Integer | Padding left. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, or `12`. |\n| `pr` | Integer | Padding right. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, or `12`. |\n| `pt` | Integer | Padding left. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, or `12`. |\n| `px` | Integer | Horizontal padding. One of `0`, `1`, `2`, `3`, `4`, `5`, or `6`. |\n| `py` | Integer | Vertical padding. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, or `12`. |\n\n## Typography\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `font_family` | Symbol | Font family. One of `:mono`. |\n| `font_size` | String, Integer, Symbol | One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, `00`, `:normal`, or `:small`. |\n| `font_style` | Symbol | Font style. One of `:italic`. |\n| `font_weight` | Symbol | Font weight. One of `:bold`, `:emphasized`, `:light`, or `:normal`. |\n| `text_align` | Symbol | Text alignment. One of `:center`, `:left`, or `:right`. |\n| `text_transform` | Symbol | Text transformation. One of `:capitalize` or `:uppercase`. |\n| `underline` | Boolean | Whether text should be underlined. |\n| `word_break` | Symbol | Whether to break words on line breaks. One of `:break_all` or `:break_word`. |\n\n## Other\n\n| Name | Type | Description |\n| :- | :- | :- |\n| classes | String | CSS class name value to be concatenated with generated Primer CSS classes. |\n| test_selector | String | Adds `data-test-selector='given value'` in non-Production environments for testing purposes. |"
15534
+ "args_md": "## HTML attributes\n\nSystem arguments include most HTML attributes. For example:\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `aria` | `Hash` | Aria attributes: `aria: { label: \"foo\" }` renders `aria-label='foo'`. |\n| `data` | `Hash` | Data attributes: `data: { foo: :bar }` renders `data-foo='bar'`. |\n| `height` | `Integer` | Height. |\n| `hidden` | `Boolean` | Whether to assign the `hidden` attribute. |\n| `style` | `String` | Inline styles. |\n| `title` | `String` | The `title` attribute. |\n| `width` | `Integer` | Width. |\n\n## Animation\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `animation` | Symbol | One of `:fade_down`, `:fade_in`, `:fade_out`, `:fade_up`, `:grow_x`, `:hover_grow`, `:pulse`, `:pulse_in`, `:rotate`, `:scale_in`, or `:shrink_x`. |\n\n## Border\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `border_bottom` | Integer | Set to `0` to remove the bottom border. |\n| `border_left` | Integer | Set to `0` to remove the left border. |\n| `border_radius` | Integer | One of `0`, `1`, `2`, or `3`. |\n| `border_right` | Integer | Set to `0` to remove the right border. |\n| `border_top` | Integer | Set to `0` to remove the top border. |\n| `border` | Symbol | One of `:bottom`, `:left`, `:right`, `:top`, `:x`, `:y`, or `true`. |\n| `box_shadow` | Boolean, Symbol | Box shadow. One of `:extra_large`, `:large`, `:medium`, `:none`, or `true`. |\n\n## Color\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `bg` | Symbol | Background color. One of `:accent`, `:accent_emphasis`, `:attention`, `:attention_emphasis`, `:closed`, `:closed_emphasis`, `:danger`, `:danger_emphasis`, `:default`, `:done`, `:done_emphasis`, `:emphasis`, `:inset`, `:open`, `:open_emphasis`, `:overlay`, `:severe`, `:severe_emphasis`, `:sponsors`, `:sponsors_emphasis`, `:subtle`, `:success`, `:success_emphasis`, or `:transparent`. |\n| `border_color` | Symbol | Border color. One of `:accent`, `:accent_emphasis`, `:attention`, `:attention_emphasis`, `:closed`, `:closed_emphasis`, `:danger`, `:danger_emphasis`, `:default`, `:done`, `:done_emphasis`, `:muted`, `:open`, `:open_emphasis`, `:severe`, `:severe_emphasis`, `:sponsors`, `:sponsors_emphasis`, `:subtle`, `:success`, or `:success_emphasis`. |\n| `color` | Symbol | Text color. One of `:accent`, `:attention`, `:closed`, `:danger`, `:default`, `:done`, `:inherit`, `:muted`, `:on_emphasis`, `:open`, `:severe`, `:sponsors`, `:subtle`, or `:success`. |\n\n## Flex\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `align_items` | Symbol | One of `:baseline`, `:center`, `:flex_end`, `:flex_start`, or `:stretch`. |\n| `align_self` | Symbol | One of `:auto`, `:baseline`, `:center`, `:end`, `:start`, or `:stretch`. |\n| `direction` | Symbol | One of `:column`, `:column_reverse`, `:row`, or `:row_reverse`. |\n| `flex` | Integer, Symbol | One of `1` or `:auto`. |\n| `flex_grow` | Integer | To enable, set to `0`. |\n| `flex_shrink` | Integer | To enable, set to `0`. |\n| `flex_wrap` | Symbol | One of `:nowrap`, `:reverse`, or `:wrap`. |\n| `justify_content` | Symbol | One of `:center`, `:flex_end`, `:flex_start`, `:space_around`, or `:space_between`. |\n\n## Grid\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `clearfix` | Boolean | Whether to assign the `clearfix` class. |\n| `col` | Integer | Number of columns. One of `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, or `12`. |\n| `container` | Symbol | Size of the container. One of `:lg`, `:md`, `:sm`, or `:xl`. |\n\n## Layout\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `display` | Symbol | One of `:block`, `:flex`, `:inline`, `:inline_block`, `:inline_flex`, `:none`, `:table`, or `:table_cell`. |\n| `w` | Symbol | One of `:auto`, `:fit`, or `:full`. |\n| `h` | Symbol | One of `:fit` or `:full`. |\n| `hide` | Symbol | Hide the element at a specific breakpoint. One of `:lg`, `:md`, `:sm`, `:whenNarrow`, `:whenRegular`, `:whenWide`, or `:xl`. |\n| `visibility` | Symbol | Visibility. One of `:hidden` or `:visible`. |\n| `vertical_align` | Symbol | One of `:baseline`, `:bottom`, `:middle`, `:text_bottom`, `:text_top`, or `:top`. |\n\n## Position\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `bottom` | Boolean | If `false`, sets `bottom: 0`. |\n| `float` | Symbol | One of `:left`, `:none`, or `:right`. |\n| `left` | Boolean | If `false`, sets `left: 0`. |\n| `position` | Symbol | One of `:absolute`, `:fixed`, `:relative`, `:static`, or `:sticky`. |\n| `right` | Boolean | If `false`, sets `right: 0`. |\n| `top` | Boolean | If `false`, sets `top: 0`. |\n\n## Spacing\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `m` | Integer | Margin. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, or `:auto`. |\n| `mb` | Integer | Margin bottom. One of `-12`, `-11`, `-10`, `-9`, `-8`, `-7`, `-6`, `-5`, `-4`, `-3`, `-2`, `-1`, `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, or `:auto`. |\n| `ml` | Integer | Margin left. One of `-6`, `-5`, `-4`, `-3`, `-2`, `-1`, `0`, `1`, `2`, `3`, `4`, `5`, `6`, or `:auto`. |\n| `mr` | Integer | Margin right. One of `-6`, `-5`, `-4`, `-3`, `-2`, `-1`, `0`, `1`, `2`, `3`, `4`, `5`, `6`, or `:auto`. |\n| `mt` | Integer | Margin top. One of `-12`, `-11`, `-10`, `-9`, `-8`, `-7`, `-6`, `-5`, `-4`, `-3`, `-2`, `-1`, `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, or `:auto`. |\n| `mx` | Integer | Horizontal margins. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, or `:auto`. |\n| `my` | Integer | Vertical margins. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, or `12`. |\n| `p` | Integer | Padding. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, or `:responsive`. |\n| `pb` | Integer | Padding bottom. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, or `12`. |\n| `pl` | Integer | Padding left. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, or `12`. |\n| `pr` | Integer | Padding right. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, or `12`. |\n| `pt` | Integer | Padding left. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, or `12`. |\n| `px` | Integer | Horizontal padding. One of `0`, `1`, `2`, `3`, `4`, `5`, or `6`. |\n| `py` | Integer | Vertical padding. One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, or `12`. |\n\n## Typography\n\n| Name | Type | Description |\n| :- | :- | :- |\n| `font_family` | Symbol | Font family. One of `:mono`. |\n| `font_size` | String, Integer, Symbol | One of `0`, `1`, `2`, `3`, `4`, `5`, `6`, `00`, `:normal`, or `:small`. |\n| `font_style` | Symbol | Font style. One of `:italic`. |\n| `font_weight` | Symbol | Font weight. One of `:bold`, `:emphasized`, `:light`, or `:normal`. |\n| `text_align` | Symbol | Text alignment. One of `:center`, `:left`, or `:right`. |\n| `text_transform` | Symbol | Text transformation. One of `:capitalize` or `:uppercase`. |\n| `underline` | Boolean | Whether text should be underlined. |\n| `word_break` | Symbol | Whether to break words on line breaks. One of `:break_all` or `:break_word`. |\n\n## Other\n\n| Name | Type | Description |\n| :- | :- | :- |\n| classes | String | CSS class name value to be concatenated with generated Primer CSS classes. |\n| test_selector | String | Adds `data-test-selector='given value'` in non-Production environments for testing purposes. |"
15282
15535
  }
15283
15536
  ]
@@ -3335,6 +3335,79 @@
3335
3335
  }
3336
3336
  ]
3337
3337
  },
3338
+ {
3339
+ "name": "flex_layout",
3340
+ "component": "OpenProject::FlexLayout",
3341
+ "status": "open_project",
3342
+ "lookup_path": "primer/open_project/flex_layout",
3343
+ "examples": [
3344
+ {
3345
+ "preview_path": "primer/open_project/flex_layout/playground",
3346
+ "name": "playground",
3347
+ "snapshot": "false",
3348
+ "skip_rules": {
3349
+ "wont_fix": [
3350
+ "region"
3351
+ ],
3352
+ "will_fix": [
3353
+ "color-contrast"
3354
+ ]
3355
+ }
3356
+ },
3357
+ {
3358
+ "preview_path": "primer/open_project/flex_layout/default",
3359
+ "name": "default",
3360
+ "snapshot": "false",
3361
+ "skip_rules": {
3362
+ "wont_fix": [
3363
+ "region"
3364
+ ],
3365
+ "will_fix": [
3366
+ "color-contrast"
3367
+ ]
3368
+ }
3369
+ },
3370
+ {
3371
+ "preview_path": "primer/open_project/flex_layout/row_layout",
3372
+ "name": "row_layout",
3373
+ "snapshot": "false",
3374
+ "skip_rules": {
3375
+ "wont_fix": [
3376
+ "region"
3377
+ ],
3378
+ "will_fix": [
3379
+ "color-contrast"
3380
+ ]
3381
+ }
3382
+ },
3383
+ {
3384
+ "preview_path": "primer/open_project/flex_layout/column_layout",
3385
+ "name": "column_layout",
3386
+ "snapshot": "false",
3387
+ "skip_rules": {
3388
+ "wont_fix": [
3389
+ "region"
3390
+ ],
3391
+ "will_fix": [
3392
+ "color-contrast"
3393
+ ]
3394
+ }
3395
+ },
3396
+ {
3397
+ "preview_path": "primer/open_project/flex_layout/nested_layout",
3398
+ "name": "nested_layout",
3399
+ "snapshot": "false",
3400
+ "skip_rules": {
3401
+ "wont_fix": [
3402
+ "region"
3403
+ ],
3404
+ "will_fix": [
3405
+ "color-contrast"
3406
+ ]
3407
+ }
3408
+ }
3409
+ ]
3410
+ },
3338
3411
  {
3339
3412
  "name": "form_control",
3340
3413
  "component": "FormControl",
@@ -3421,6 +3494,40 @@
3421
3494
  }
3422
3495
  ]
3423
3496
  },
3497
+ {
3498
+ "name": "grid_layout",
3499
+ "component": "OpenProject::GridLayout",
3500
+ "status": "open_project",
3501
+ "lookup_path": "primer/open_project/grid_layout",
3502
+ "examples": [
3503
+ {
3504
+ "preview_path": "primer/open_project/grid_layout/playground",
3505
+ "name": "playground",
3506
+ "snapshot": "false",
3507
+ "skip_rules": {
3508
+ "wont_fix": [
3509
+ "region"
3510
+ ],
3511
+ "will_fix": [
3512
+ "color-contrast"
3513
+ ]
3514
+ }
3515
+ },
3516
+ {
3517
+ "preview_path": "primer/open_project/grid_layout/default",
3518
+ "name": "default",
3519
+ "snapshot": "false",
3520
+ "skip_rules": {
3521
+ "wont_fix": [
3522
+ "region"
3523
+ ],
3524
+ "will_fix": [
3525
+ "color-contrast"
3526
+ ]
3527
+ }
3528
+ }
3529
+ ]
3530
+ },
3424
3531
  {
3425
3532
  "name": "heading",
3426
3533
  "component": "Heading",
@@ -110,6 +110,9 @@
110
110
  "Primer::OpenProject::BorderGrid": "open_project",
111
111
  "Primer::OpenProject::BorderGrid::Cell": "open_project",
112
112
  "Primer::OpenProject::DragHandle": "open_project",
113
+ "Primer::OpenProject::FlexLayout": "open_project",
114
+ "Primer::OpenProject::GridLayout": "open_project",
115
+ "Primer::OpenProject::GridLayout::Area": "open_project",
113
116
  "Primer::OpenProject::PageHeader": "open_project",
114
117
  "Primer::Tooltip": "deprecated",
115
118
  "Primer::Truncate": "deprecated"