@primer/view-components 0.24.0-rc.8f84cf4e → 0.24.0-rc.a6de22b0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.24.0-rc.8f84cf4e",
3
+ "version": "0.24.0-rc.a6de22b0",
4
4
  "description": "ViewComponents for the Primer Design System",
5
5
  "main": "app/assets/javascripts/primer_view_components.js",
6
6
  "module": "app/components/primer/primer.js",
@@ -1866,6 +1866,12 @@
1866
1866
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/overlay/body.rb",
1867
1867
  "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/overlay/body/default/",
1868
1868
  "parameters": [
1869
+ {
1870
+ "name": "tab_arguments",
1871
+ "type": "Hash",
1872
+ "default": "`{}`",
1873
+ "description": "Arguments passed to TabPanels component"
1874
+ },
1869
1875
  {
1870
1876
  "name": "system_arguments",
1871
1877
  "type": "Hash",
@@ -5951,8 +5951,8 @@
5951
5951
  ]
5952
5952
  },
5953
5953
  {
5954
- "name": "body",
5955
- "description": "Required body content.",
5954
+ "name": "bodies",
5955
+ "description": "Required body content.\nwhen multiple bodies are passed, they will be rendered in a TabPanels component.",
5956
5956
  "parameters": [
5957
5957
  {
5958
5958
  "name": "padding",
@@ -6094,6 +6094,19 @@
6094
6094
  "color-contrast"
6095
6095
  ]
6096
6096
  }
6097
+ },
6098
+ {
6099
+ "preview_path": "primer/alpha/overlay/overlay_with_three_bodies",
6100
+ "name": "overlay_with_three_bodies",
6101
+ "snapshot": "false",
6102
+ "skip_rules": {
6103
+ "wont_fix": [
6104
+ "region"
6105
+ ],
6106
+ "will_fix": [
6107
+ "color-contrast"
6108
+ ]
6109
+ }
6097
6110
  }
6098
6111
  ],
6099
6112
  "subcomponents": [
@@ -6238,6 +6251,12 @@
6238
6251
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/overlay/body.rb",
6239
6252
  "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/overlay/body/default/",
6240
6253
  "parameters": [
6254
+ {
6255
+ "name": "tab_arguments",
6256
+ "type": "Hash",
6257
+ "default": "`{}`",
6258
+ "description": "Arguments passed to TabPanels component"
6259
+ },
6241
6260
  {
6242
6261
  "name": "system_arguments",
6243
6262
  "type": "Hash",
@@ -6249,7 +6268,20 @@
6249
6268
 
6250
6269
  ],
6251
6270
  "methods": [
6271
+ {
6272
+ "name": "tab_arguments",
6273
+ "description": "Returns the value of attribute tab_arguments.",
6274
+ "parameters": [
6252
6275
 
6276
+ ]
6277
+ },
6278
+ {
6279
+ "name": "tab_label",
6280
+ "description": "Returns the value of attribute tab_label.",
6281
+ "parameters": [
6282
+
6283
+ ]
6284
+ }
6253
6285
  ],
6254
6286
  "previews": [
6255
6287
 
@@ -4926,6 +4926,19 @@
4926
4926
  "color-contrast"
4927
4927
  ]
4928
4928
  }
4929
+ },
4930
+ {
4931
+ "preview_path": "primer/alpha/overlay/overlay_with_three_bodies",
4932
+ "name": "overlay_with_three_bodies",
4933
+ "snapshot": "false",
4934
+ "skip_rules": {
4935
+ "wont_fix": [
4936
+ "region"
4937
+ ],
4938
+ "will_fix": [
4939
+ "color-contrast"
4940
+ ]
4941
+ }
4929
4942
  }
4930
4943
  ]
4931
4944
  },