primer_view_components 0.49.0 → 0.50.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/README.md +20 -1
- data/app/assets/javascripts/primer_view_components.js +1 -1
- data/app/assets/javascripts/primer_view_components.js.map +1 -1
- data/app/assets/styles/primer_view_components.css +1 -1
- data/app/assets/styles/primer_view_components.css.map +1 -1
- data/app/components/primer/alpha/action_list/item.rb +2 -1
- data/app/components/primer/alpha/select_panel.rb +1 -1
- data/app/components/primer/alpha/select_panel_element.js +1 -1
- data/app/components/primer/alpha/select_panel_element.ts +1 -1
- data/app/components/primer/alpha/stack.rb +1 -0
- data/app/components/primer/alpha/tab_nav.css +1 -1
- data/app/components/primer/alpha/tab_nav.css.json +1 -0
- data/app/components/primer/alpha/tab_nav.css.map +1 -1
- data/app/components/primer/alpha/tab_nav.pcss +7 -1
- data/app/controllers/primer/view_components/toggle_switch_controller.rb +2 -2
- data/app/forms/check_box_with_nested_form.rb +9 -5
- data/app/lib/primer/forms/check_box.rb +28 -0
- data/app/lib/primer/forms/dsl/multi_input.rb +3 -1
- data/app/lib/primer/forms/dsl/text_field_input.rb +2 -1
- data/app/lib/primer/forms/form_control.html.erb +2 -1
- data/app/lib/primer/forms/text_field.html.erb +1 -1
- data/lib/primer/accessibility.rb +9 -3
- data/lib/primer/view_components/engine.rb +1 -4
- data/lib/primer/view_components/version.rb +1 -1
- data/previews/primer/alpha/form_control_preview/playground.html.erb +4 -2
- data/previews/primer/alpha/octicon_symbols_preview/playground.html.erb +1 -1
- data/previews/primer/alpha/overlay_preview.rb +0 -25
- data/previews/primer/alpha/text_area_preview.rb +11 -11
- data/previews/primer/alpha/text_field_preview.rb +9 -0
- data/previews/primer/alpha/toggle_switch_preview.rb +14 -14
- data/previews/primer/beta/button_preview/all_schemes.html.erb +1 -1
- data/previews/primer/beta/button_preview/invisible_all_visuals.html.erb +1 -1
- data/previews/primer/beta/button_preview/summary_as_button.html.erb +10 -1
- data/static/arguments.json +1 -1
- data/static/info_arch.json +16 -15
- data/static/previews.json +15 -14
- metadata +2 -2
data/static/info_arch.json
CHANGED
|
@@ -5312,7 +5312,8 @@
|
|
|
5312
5312
|
"snapshot": "true",
|
|
5313
5313
|
"skip_rules": {
|
|
5314
5314
|
"wont_fix": [
|
|
5315
|
-
"region"
|
|
5315
|
+
"region",
|
|
5316
|
+
"label-title-only"
|
|
5316
5317
|
],
|
|
5317
5318
|
"will_fix": [
|
|
5318
5319
|
"color-contrast"
|
|
@@ -6059,19 +6060,6 @@
|
|
|
6059
6060
|
]
|
|
6060
6061
|
}
|
|
6061
6062
|
},
|
|
6062
|
-
{
|
|
6063
|
-
"preview_path": "primer/alpha/overlay/menu_no_header",
|
|
6064
|
-
"name": "menu_no_header",
|
|
6065
|
-
"snapshot": "false",
|
|
6066
|
-
"skip_rules": {
|
|
6067
|
-
"wont_fix": [
|
|
6068
|
-
"region"
|
|
6069
|
-
],
|
|
6070
|
-
"will_fix": [
|
|
6071
|
-
"color-contrast"
|
|
6072
|
-
]
|
|
6073
|
-
}
|
|
6074
|
-
},
|
|
6075
6063
|
{
|
|
6076
6064
|
"preview_path": "primer/alpha/overlay/middle_of_page",
|
|
6077
6065
|
"name": "middle_of_page",
|
|
@@ -8079,7 +8067,7 @@
|
|
|
8079
8067
|
"name": "gap",
|
|
8080
8068
|
"type": "Symbol",
|
|
8081
8069
|
"default": "`GapArg::DEFAULT`",
|
|
8082
|
-
"description": "Specify the gap between children elements in the stack. One of `nil`, `:condensed`, `:normal`, or `:spacious`."
|
|
8070
|
+
"description": "Specify the gap between children elements in the stack. One of `nil`, `:condensed`, `:none`, `:normal`, or `:spacious`."
|
|
8083
8071
|
},
|
|
8084
8072
|
{
|
|
8085
8073
|
"name": "direction",
|
|
@@ -9157,6 +9145,19 @@
|
|
|
9157
9145
|
]
|
|
9158
9146
|
}
|
|
9159
9147
|
},
|
|
9148
|
+
{
|
|
9149
|
+
"preview_path": "primer/alpha/text_field/show_clear_button_with_custom_label",
|
|
9150
|
+
"name": "show_clear_button_with_custom_label",
|
|
9151
|
+
"snapshot": "true",
|
|
9152
|
+
"skip_rules": {
|
|
9153
|
+
"wont_fix": [
|
|
9154
|
+
"region"
|
|
9155
|
+
],
|
|
9156
|
+
"will_fix": [
|
|
9157
|
+
"color-contrast"
|
|
9158
|
+
]
|
|
9159
|
+
}
|
|
9160
|
+
},
|
|
9160
9161
|
{
|
|
9161
9162
|
"preview_path": "primer/alpha/text_field/full_width",
|
|
9162
9163
|
"name": "full_width",
|
data/static/previews.json
CHANGED
|
@@ -4883,7 +4883,8 @@
|
|
|
4883
4883
|
"snapshot": "true",
|
|
4884
4884
|
"skip_rules": {
|
|
4885
4885
|
"wont_fix": [
|
|
4886
|
-
"region"
|
|
4886
|
+
"region",
|
|
4887
|
+
"label-title-only"
|
|
4887
4888
|
],
|
|
4888
4889
|
"will_fix": [
|
|
4889
4890
|
"color-contrast"
|
|
@@ -5130,19 +5131,6 @@
|
|
|
5130
5131
|
]
|
|
5131
5132
|
}
|
|
5132
5133
|
},
|
|
5133
|
-
{
|
|
5134
|
-
"preview_path": "primer/alpha/overlay/menu_no_header",
|
|
5135
|
-
"name": "menu_no_header",
|
|
5136
|
-
"snapshot": "false",
|
|
5137
|
-
"skip_rules": {
|
|
5138
|
-
"wont_fix": [
|
|
5139
|
-
"region"
|
|
5140
|
-
],
|
|
5141
|
-
"will_fix": [
|
|
5142
|
-
"color-contrast"
|
|
5143
|
-
]
|
|
5144
|
-
}
|
|
5145
|
-
},
|
|
5146
5134
|
{
|
|
5147
5135
|
"preview_path": "primer/alpha/overlay/middle_of_page",
|
|
5148
5136
|
"name": "middle_of_page",
|
|
@@ -7141,6 +7129,19 @@
|
|
|
7141
7129
|
]
|
|
7142
7130
|
}
|
|
7143
7131
|
},
|
|
7132
|
+
{
|
|
7133
|
+
"preview_path": "primer/alpha/text_field/show_clear_button_with_custom_label",
|
|
7134
|
+
"name": "show_clear_button_with_custom_label",
|
|
7135
|
+
"snapshot": "true",
|
|
7136
|
+
"skip_rules": {
|
|
7137
|
+
"wont_fix": [
|
|
7138
|
+
"region"
|
|
7139
|
+
],
|
|
7140
|
+
"will_fix": [
|
|
7141
|
+
"color-contrast"
|
|
7142
|
+
]
|
|
7143
|
+
}
|
|
7144
|
+
},
|
|
7144
7145
|
{
|
|
7145
7146
|
"preview_path": "primer/alpha/text_field/full_width",
|
|
7146
7147
|
"name": "full_width",
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: primer_view_components
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.50.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GitHub Open Source
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-02-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionview
|