@primer/view-components 0.35.0-rc.300b5a03 → 0.35.0-rc.77c11ff3

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": "@primer/view-components",
3
- "version": "0.35.0-rc.300b5a03",
3
+ "version": "0.35.0-rc.77c11ff3",
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",
@@ -2468,6 +2468,12 @@
2468
2468
  "default": "`:outside_bottom`",
2469
2469
  "description": "The side to anchor the Overlay to. One of `:inside_bottom`, `:inside_center`, `:inside_left`, `:inside_right`, `:inside_top`, `:outside_bottom`, `:outside_left`, `:outside_right`, or `:outside_top`."
2470
2470
  },
2471
+ {
2472
+ "name": "banner_scheme",
2473
+ "type": "Symbol",
2474
+ "default": "`:danger`",
2475
+ "description": "The scheme for the error banner One of `:danger` or `:warning`."
2476
+ },
2471
2477
  {
2472
2478
  "name": "system_arguments",
2473
2479
  "type": "Hash",
@@ -598,6 +598,11 @@
598
598
  "Primer::Alpha::Select": {
599
599
  },
600
600
  "Primer::Alpha::SelectPanel": {
601
+ "BANNER_SCHEME_OPTIONS": [
602
+ "danger",
603
+ "warning"
604
+ ],
605
+ "DEFAULT_BANNER_SCHEME": "danger",
601
606
  "DEFAULT_FETCH_STRATEGY": "remote",
602
607
  "DEFAULT_PRELOAD": false,
603
608
  "DEFAULT_SELECT_VARIANT": "single",
@@ -7653,6 +7653,12 @@
7653
7653
  "default": "`:outside_bottom`",
7654
7654
  "description": "The side to anchor the Overlay to. One of `:inside_bottom`, `:inside_center`, `:inside_left`, `:inside_right`, `:inside_top`, `:outside_bottom`, `:outside_left`, `:outside_right`, or `:outside_top`."
7655
7655
  },
7656
+ {
7657
+ "name": "banner_scheme",
7658
+ "type": "Symbol",
7659
+ "default": "`:danger`",
7660
+ "description": "The scheme for the error banner One of `:danger` or `:warning`."
7661
+ },
7656
7662
  {
7657
7663
  "name": "system_arguments",
7658
7664
  "type": "Hash",
@@ -7753,6 +7759,16 @@
7753
7759
  "Symbol"
7754
7760
  ]
7755
7761
  },
7762
+ {
7763
+ "name": "banner_scheme",
7764
+ "description": "One of `:danger` or `:warning`.",
7765
+ "parameters": [
7766
+
7767
+ ],
7768
+ "return_types": [
7769
+ "Symbol"
7770
+ ]
7771
+ },
7756
7772
  {
7757
7773
  "name": "fetch_strategy",
7758
7774
  "description": "One of `:eventually_local`, `:local`, or `:remote`.",