@primer/view-components 0.10.0-rc.b3f26c4a → 0.10.0-rc.ca05967d

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.10.0-rc.b3f26c4a",
3
+ "version": "0.10.0-rc.ca05967d",
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",
@@ -896,6 +896,12 @@
896
896
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/dialog/header.rb",
897
897
  "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/dialog/header/default/",
898
898
  "parameters": [
899
+ {
900
+ "name": "id",
901
+ "type": "String",
902
+ "default": "N/A",
903
+ "description": "The HTML element's ID value."
904
+ },
899
905
  {
900
906
  "name": "title",
901
907
  "type": "String",
@@ -920,6 +926,12 @@
920
926
  "default": "`false`",
921
927
  "description": "Visually hide the `title` while maintaining a label for assistive technologies."
922
928
  },
929
+ {
930
+ "name": "variant",
931
+ "type": "Symbol",
932
+ "default": "`:medium`",
933
+ "description": "One of `:large` or `:medium`."
934
+ },
923
935
  {
924
936
  "name": "system_arguments",
925
937
  "type": "Hash",
@@ -263,6 +263,15 @@
263
263
  "Primer::Alpha::Dialog::Footer": {
264
264
  },
265
265
  "Primer::Alpha::Dialog::Header": {
266
+ "DEFAULT_VARIANT": "medium",
267
+ "VARIANT_MAPPINGS": {
268
+ "medium": "",
269
+ "large": "Overlay-header--large"
270
+ },
271
+ "VARIANT_OPTIONS": [
272
+ "medium",
273
+ "large"
274
+ ]
266
275
  },
267
276
  "Primer::Alpha::Dropdown": {
268
277
  "Menu": "Primer::Alpha::Dropdown::Menu"
@@ -2921,7 +2921,7 @@
2921
2921
  "name": "system_arguments",
2922
2922
  "type": "Hash",
2923
2923
  "default": "N/A",
2924
- "description": "{{link_to_system_arguments_docs}}"
2924
+ "description": "The arguments accepted by {{#link_to_component}}Primer::Alpha::Dialog::Header{{/link_to_component}}."
2925
2925
  }
2926
2926
  ]
2927
2927
  },
@@ -3005,6 +3005,19 @@
3005
3005
  ]
3006
3006
  }
3007
3007
  },
3008
+ {
3009
+ "preview_path": "primer/alpha/dialog/with_header",
3010
+ "name": "with_header",
3011
+ "snapshot": "false",
3012
+ "skip_rules": {
3013
+ "wont_fix": [
3014
+ "region"
3015
+ ],
3016
+ "will_fix": [
3017
+ "color-contrast"
3018
+ ]
3019
+ }
3020
+ },
3008
3021
  {
3009
3022
  "preview_path": "primer/alpha/dialog/with_footer",
3010
3023
  "name": "with_footer",
@@ -3099,6 +3112,12 @@
3099
3112
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/dialog/header.rb",
3100
3113
  "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/dialog/header/default/",
3101
3114
  "parameters": [
3115
+ {
3116
+ "name": "id",
3117
+ "type": "String",
3118
+ "default": "N/A",
3119
+ "description": "The HTML element's ID value."
3120
+ },
3102
3121
  {
3103
3122
  "name": "title",
3104
3123
  "type": "String",
@@ -3123,6 +3142,12 @@
3123
3142
  "default": "`false`",
3124
3143
  "description": "Visually hide the `title` while maintaining a label for assistive technologies."
3125
3144
  },
3145
+ {
3146
+ "name": "variant",
3147
+ "type": "Symbol",
3148
+ "default": "`:medium`",
3149
+ "description": "One of `:large` or `:medium`."
3150
+ },
3126
3151
  {
3127
3152
  "name": "system_arguments",
3128
3153
  "type": "Hash",
@@ -7874,6 +7899,45 @@
7874
7899
  "color-contrast"
7875
7900
  ]
7876
7901
  }
7902
+ },
7903
+ {
7904
+ "preview_path": "primer/alpha/text_field/input_group_leading_button",
7905
+ "name": "input_group_leading_button",
7906
+ "snapshot": "true",
7907
+ "skip_rules": {
7908
+ "wont_fix": [
7909
+ "region"
7910
+ ],
7911
+ "will_fix": [
7912
+ "color-contrast"
7913
+ ]
7914
+ }
7915
+ },
7916
+ {
7917
+ "preview_path": "primer/alpha/text_field/input_group_trailing_button",
7918
+ "name": "input_group_trailing_button",
7919
+ "snapshot": "true",
7920
+ "skip_rules": {
7921
+ "wont_fix": [
7922
+ "region"
7923
+ ],
7924
+ "will_fix": [
7925
+ "color-contrast"
7926
+ ]
7927
+ }
7928
+ },
7929
+ {
7930
+ "preview_path": "primer/alpha/text_field/input_group_leading_action_menu",
7931
+ "name": "input_group_leading_action_menu",
7932
+ "snapshot": "true",
7933
+ "skip_rules": {
7934
+ "wont_fix": [
7935
+ "region"
7936
+ ],
7937
+ "will_fix": [
7938
+ "color-contrast"
7939
+ ]
7940
+ }
7877
7941
  }
7878
7942
  ],
7879
7943
  "subcomponents": [
@@ -2833,6 +2833,19 @@
2833
2833
  ]
2834
2834
  }
2835
2835
  },
2836
+ {
2837
+ "preview_path": "primer/alpha/dialog/with_header",
2838
+ "name": "with_header",
2839
+ "snapshot": "false",
2840
+ "skip_rules": {
2841
+ "wont_fix": [
2842
+ "region"
2843
+ ],
2844
+ "will_fix": [
2845
+ "color-contrast"
2846
+ ]
2847
+ }
2848
+ },
2836
2849
  {
2837
2850
  "preview_path": "primer/alpha/dialog/with_footer",
2838
2851
  "name": "with_footer",
@@ -5979,6 +5992,45 @@
5979
5992
  "color-contrast"
5980
5993
  ]
5981
5994
  }
5995
+ },
5996
+ {
5997
+ "preview_path": "primer/alpha/text_field/input_group_leading_button",
5998
+ "name": "input_group_leading_button",
5999
+ "snapshot": "true",
6000
+ "skip_rules": {
6001
+ "wont_fix": [
6002
+ "region"
6003
+ ],
6004
+ "will_fix": [
6005
+ "color-contrast"
6006
+ ]
6007
+ }
6008
+ },
6009
+ {
6010
+ "preview_path": "primer/alpha/text_field/input_group_trailing_button",
6011
+ "name": "input_group_trailing_button",
6012
+ "snapshot": "true",
6013
+ "skip_rules": {
6014
+ "wont_fix": [
6015
+ "region"
6016
+ ],
6017
+ "will_fix": [
6018
+ "color-contrast"
6019
+ ]
6020
+ }
6021
+ },
6022
+ {
6023
+ "preview_path": "primer/alpha/text_field/input_group_leading_action_menu",
6024
+ "name": "input_group_leading_action_menu",
6025
+ "snapshot": "true",
6026
+ "skip_rules": {
6027
+ "wont_fix": [
6028
+ "region"
6029
+ ],
6030
+ "will_fix": [
6031
+ "color-contrast"
6032
+ ]
6033
+ }
5982
6034
  }
5983
6035
  ]
5984
6036
  },