openproject-primer_view_components 0.23.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +53 -0
- data/README.md +1 -0
- data/app/assets/javascripts/app/components/primer/alpha/action_list.d.ts +16 -0
- data/app/assets/javascripts/app/components/primer/beta/nav_list.d.ts +3 -0
- data/app/assets/javascripts/app/components/primer/open_project/page_header_element.d.ts +9 -0
- data/app/assets/javascripts/app/components/primer/primer.d.ts +2 -0
- 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 +19 -6
- data/app/components/primer/alpha/action_list.css +1 -1
- data/app/components/primer/alpha/action_list.css.json +2 -0
- data/app/components/primer/alpha/action_list.css.map +1 -1
- data/app/components/primer/alpha/action_list.d.ts +16 -0
- data/app/components/primer/alpha/action_list.html.erb +19 -17
- data/app/components/primer/alpha/action_list.js +69 -0
- data/app/components/primer/alpha/action_list.pcss +8 -0
- data/app/components/primer/alpha/action_list.ts +58 -0
- data/app/components/primer/alpha/dialog.css +1 -1
- data/app/components/primer/alpha/dialog.css.json +1 -0
- data/app/components/primer/alpha/dialog.css.map +1 -1
- data/app/components/primer/alpha/dialog.pcss +10 -0
- data/app/components/primer/alpha/dropdown.css +1 -1
- data/app/components/primer/alpha/dropdown.css.map +1 -1
- data/app/components/primer/alpha/dropdown.pcss +1 -1
- data/app/components/primer/alpha/segmented_control.css +1 -1
- data/app/components/primer/alpha/segmented_control.css.map +1 -1
- data/app/components/primer/alpha/segmented_control.pcss +1 -0
- data/app/components/primer/alpha/text_field.css +1 -1
- data/app/components/primer/alpha/text_field.css.json +2 -0
- data/app/components/primer/alpha/text_field.css.map +1 -1
- data/app/components/primer/alpha/text_field.pcss +10 -0
- data/app/components/primer/alpha/toggle_switch.rb +2 -2
- data/app/components/primer/alpha/tool_tip.js +46 -77
- data/app/components/primer/alpha/tool_tip.ts +46 -77
- data/app/components/primer/beta/auto_complete/auto_complete.html.erb +9 -9
- data/app/components/primer/beta/breadcrumbs.css +1 -1
- data/app/components/primer/beta/breadcrumbs.css.map +1 -1
- data/app/components/primer/beta/breadcrumbs.pcss +3 -1
- data/app/components/primer/beta/button.css +1 -1
- data/app/components/primer/beta/button.css.json +1 -0
- data/app/components/primer/beta/button.css.map +1 -1
- data/app/components/primer/beta/button.pcss +4 -0
- data/app/components/primer/beta/nav_list.d.ts +3 -0
- data/app/components/primer/beta/nav_list.html.erb +1 -1
- data/app/components/primer/beta/nav_list.js +25 -2
- data/app/components/primer/beta/nav_list.ts +18 -1
- data/app/components/primer/beta/nav_list_group_element.js +4 -1
- data/app/components/primer/beta/nav_list_group_element.ts +3 -0
- data/app/components/primer/beta/popover.css +1 -1
- data/app/components/primer/beta/popover.css.map +1 -1
- data/app/components/primer/beta/popover.pcss +3 -0
- data/app/components/primer/beta/popover.rb +0 -1
- data/app/components/primer/open_project/page_header.css +1 -1
- data/app/components/primer/open_project/page_header.css.json +3 -4
- data/app/components/primer/open_project/page_header.css.map +1 -1
- data/app/components/primer/open_project/page_header.html.erb +16 -5
- data/app/components/primer/open_project/page_header.pcss +12 -15
- data/app/components/primer/open_project/page_header.rb +164 -57
- data/app/components/primer/open_project/page_header_element.d.ts +9 -0
- data/app/components/primer/open_project/page_header_element.js +23 -0
- data/app/components/primer/open_project/page_header_element.ts +25 -0
- data/app/components/primer/primer.d.ts +2 -0
- data/app/components/primer/primer.js +2 -0
- data/app/components/primer/primer.ts +2 -0
- data/app/forms/auto_complete_form.rb +18 -0
- data/app/forms/select_form.rb +10 -0
- data/lib/primer/forms/auto_complete.html.erb +6 -0
- data/lib/primer/forms/auto_complete.rb +56 -0
- data/lib/primer/forms/builder.rb +19 -0
- data/lib/primer/forms/check_box_group.html.erb +4 -4
- data/lib/primer/forms/check_box_group.rb +0 -3
- data/lib/primer/forms/dsl/auto_complete_input.rb +33 -0
- data/lib/primer/forms/dsl/check_box_group_input.rb +8 -0
- data/lib/primer/forms/dsl/input.rb +8 -2
- data/lib/primer/forms/dsl/input_methods.rb +9 -0
- data/lib/primer/forms/dsl/radio_button_group_input.rb +8 -0
- data/lib/primer/forms/dsl/select_input.rb +5 -1
- data/lib/primer/forms/form_control.rb +1 -2
- data/lib/primer/forms/primer_text_field.js +2 -2
- data/lib/primer/forms/primer_text_field.ts +2 -2
- data/lib/primer/forms/radio_button_group.html.erb +4 -4
- data/lib/primer/forms/radio_button_group.rb +0 -3
- data/lib/primer/forms/select.html.erb +1 -0
- data/lib/primer/forms/select.rb +9 -5
- data/lib/primer/view_components/version.rb +1 -1
- data/previews/primer/alpha/action_list_preview.rb +42 -0
- data/previews/primer/alpha/action_menu_preview.rb +1 -1
- data/previews/primer/alpha/select_preview.rb +12 -1
- data/previews/primer/alpha/text_area_preview.rb +7 -1
- data/previews/primer/alpha/text_field_preview.rb +7 -1
- data/previews/primer/alpha/tooltip_preview/tooltip_e.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_n.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_ne.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_nw.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_s.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_se.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_sw.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_w.html.erb +6 -0
- data/previews/primer/alpha/tooltip_preview.rb +80 -0
- data/previews/primer/beta/nav_list_preview.rb +43 -0
- data/previews/primer/forms_preview/auto_complete_form.html.erb +3 -0
- data/previews/primer/forms_preview/select_form.html.erb +1 -1
- data/previews/primer/forms_preview.rb +2 -0
- data/previews/primer/open_project/border_grid_preview.rb +2 -2
- data/previews/primer/open_project/input_group_preview.rb +5 -5
- data/previews/primer/open_project/page_header_preview/actions.html.erb +18 -15
- data/previews/primer/open_project/page_header_preview/playground.html.erb +9 -24
- data/previews/primer/open_project/page_header_preview.rb +24 -50
- data/static/arguments.json +41 -8
- data/static/audited_at.json +1 -0
- data/static/classes.json +4 -4
- data/static/constants.json +29 -16
- data/static/info_arch.json +311 -69
- data/static/previews.json +251 -30
- data/static/statuses.json +1 -0
- metadata +23 -3
- data/previews/primer/open_project/page_header_preview/context_bar_actions.html.erb +0 -25
data/static/previews.json
CHANGED
@@ -376,6 +376,58 @@
|
|
376
376
|
"color-contrast"
|
377
377
|
]
|
378
378
|
}
|
379
|
+
},
|
380
|
+
{
|
381
|
+
"preview_path": "primer/alpha/action_list/long_label_with_tooltip",
|
382
|
+
"name": "long_label_with_tooltip",
|
383
|
+
"snapshot": "true",
|
384
|
+
"skip_rules": {
|
385
|
+
"wont_fix": [
|
386
|
+
"region"
|
387
|
+
],
|
388
|
+
"will_fix": [
|
389
|
+
"color-contrast"
|
390
|
+
]
|
391
|
+
}
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"preview_path": "primer/alpha/action_list/long_label_wrap",
|
395
|
+
"name": "long_label_wrap",
|
396
|
+
"snapshot": "false",
|
397
|
+
"skip_rules": {
|
398
|
+
"wont_fix": [
|
399
|
+
"region"
|
400
|
+
],
|
401
|
+
"will_fix": [
|
402
|
+
"color-contrast"
|
403
|
+
]
|
404
|
+
}
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"preview_path": "primer/alpha/action_list/long_label_truncate_no_tooltip",
|
408
|
+
"name": "long_label_truncate_no_tooltip",
|
409
|
+
"snapshot": "false",
|
410
|
+
"skip_rules": {
|
411
|
+
"wont_fix": [
|
412
|
+
"region"
|
413
|
+
],
|
414
|
+
"will_fix": [
|
415
|
+
"color-contrast"
|
416
|
+
]
|
417
|
+
}
|
418
|
+
},
|
419
|
+
{
|
420
|
+
"preview_path": "primer/alpha/action_list/long_label_show_tooltip_with_truncate_label",
|
421
|
+
"name": "long_label_show_tooltip_with_truncate_label",
|
422
|
+
"snapshot": "false",
|
423
|
+
"skip_rules": {
|
424
|
+
"wont_fix": [
|
425
|
+
"region"
|
426
|
+
],
|
427
|
+
"will_fix": [
|
428
|
+
"color-contrast"
|
429
|
+
]
|
430
|
+
}
|
379
431
|
}
|
380
432
|
]
|
381
433
|
},
|
@@ -4825,6 +4877,58 @@
|
|
4825
4877
|
"color-contrast"
|
4826
4878
|
]
|
4827
4879
|
}
|
4880
|
+
},
|
4881
|
+
{
|
4882
|
+
"preview_path": "primer/beta/nav_list/long_label_with_tooltip",
|
4883
|
+
"name": "long_label_with_tooltip",
|
4884
|
+
"snapshot": "true",
|
4885
|
+
"skip_rules": {
|
4886
|
+
"wont_fix": [
|
4887
|
+
"region"
|
4888
|
+
],
|
4889
|
+
"will_fix": [
|
4890
|
+
"color-contrast"
|
4891
|
+
]
|
4892
|
+
}
|
4893
|
+
},
|
4894
|
+
{
|
4895
|
+
"preview_path": "primer/beta/nav_list/long_label_wrap",
|
4896
|
+
"name": "long_label_wrap",
|
4897
|
+
"snapshot": "false",
|
4898
|
+
"skip_rules": {
|
4899
|
+
"wont_fix": [
|
4900
|
+
"region"
|
4901
|
+
],
|
4902
|
+
"will_fix": [
|
4903
|
+
"color-contrast"
|
4904
|
+
]
|
4905
|
+
}
|
4906
|
+
},
|
4907
|
+
{
|
4908
|
+
"preview_path": "primer/beta/nav_list/long_label_truncate_no_tooltip",
|
4909
|
+
"name": "long_label_truncate_no_tooltip",
|
4910
|
+
"snapshot": "false",
|
4911
|
+
"skip_rules": {
|
4912
|
+
"wont_fix": [
|
4913
|
+
"region"
|
4914
|
+
],
|
4915
|
+
"will_fix": [
|
4916
|
+
"color-contrast"
|
4917
|
+
]
|
4918
|
+
}
|
4919
|
+
},
|
4920
|
+
{
|
4921
|
+
"preview_path": "primer/beta/nav_list/long_label_show_tooltip_no_truncate_label",
|
4922
|
+
"name": "long_label_show_tooltip_no_truncate_label",
|
4923
|
+
"snapshot": "false",
|
4924
|
+
"skip_rules": {
|
4925
|
+
"wont_fix": [
|
4926
|
+
"region"
|
4927
|
+
],
|
4928
|
+
"will_fix": [
|
4929
|
+
"color-contrast"
|
4930
|
+
]
|
4931
|
+
}
|
4828
4932
|
}
|
4829
4933
|
]
|
4830
4934
|
},
|
@@ -5028,8 +5132,8 @@
|
|
5028
5132
|
}
|
5029
5133
|
},
|
5030
5134
|
{
|
5031
|
-
"preview_path": "primer/open_project/page_header/
|
5032
|
-
"name": "
|
5135
|
+
"preview_path": "primer/open_project/page_header/large_title",
|
5136
|
+
"name": "large_title",
|
5033
5137
|
"snapshot": "false",
|
5034
5138
|
"skip_rules": {
|
5035
5139
|
"wont_fix": [
|
@@ -5054,8 +5158,8 @@
|
|
5054
5158
|
}
|
5055
5159
|
},
|
5056
5160
|
{
|
5057
|
-
"preview_path": "primer/open_project/page_header/
|
5058
|
-
"name": "
|
5161
|
+
"preview_path": "primer/open_project/page_header/leading_action",
|
5162
|
+
"name": "leading_action",
|
5059
5163
|
"snapshot": "false",
|
5060
5164
|
"skip_rules": {
|
5061
5165
|
"wont_fix": [
|
@@ -5078,32 +5182,6 @@
|
|
5078
5182
|
"color-contrast"
|
5079
5183
|
]
|
5080
5184
|
}
|
5081
|
-
},
|
5082
|
-
{
|
5083
|
-
"preview_path": "primer/open_project/page_header/parent_link",
|
5084
|
-
"name": "parent_link",
|
5085
|
-
"snapshot": "false",
|
5086
|
-
"skip_rules": {
|
5087
|
-
"wont_fix": [
|
5088
|
-
"region"
|
5089
|
-
],
|
5090
|
-
"will_fix": [
|
5091
|
-
"color-contrast"
|
5092
|
-
]
|
5093
|
-
}
|
5094
|
-
},
|
5095
|
-
{
|
5096
|
-
"preview_path": "primer/open_project/page_header/context_bar_actions",
|
5097
|
-
"name": "context_bar_actions",
|
5098
|
-
"snapshot": "false",
|
5099
|
-
"skip_rules": {
|
5100
|
-
"wont_fix": [
|
5101
|
-
"region"
|
5102
|
-
],
|
5103
|
-
"will_fix": [
|
5104
|
-
"color-contrast"
|
5105
|
-
]
|
5106
|
-
}
|
5107
5185
|
}
|
5108
5186
|
]
|
5109
5187
|
},
|
@@ -5811,6 +5889,19 @@
|
|
5811
5889
|
]
|
5812
5890
|
}
|
5813
5891
|
},
|
5892
|
+
{
|
5893
|
+
"preview_path": "primer/alpha/select/not_full_width",
|
5894
|
+
"name": "not_full_width",
|
5895
|
+
"snapshot": "true",
|
5896
|
+
"skip_rules": {
|
5897
|
+
"wont_fix": [
|
5898
|
+
"region"
|
5899
|
+
],
|
5900
|
+
"will_fix": [
|
5901
|
+
"color-contrast"
|
5902
|
+
]
|
5903
|
+
}
|
5904
|
+
},
|
5814
5905
|
{
|
5815
5906
|
"preview_path": "primer/alpha/select/disabled",
|
5816
5907
|
"name": "disabled",
|
@@ -6335,6 +6426,19 @@
|
|
6335
6426
|
]
|
6336
6427
|
}
|
6337
6428
|
},
|
6429
|
+
{
|
6430
|
+
"preview_path": "primer/alpha/text_area/not_full_width",
|
6431
|
+
"name": "not_full_width",
|
6432
|
+
"snapshot": "true",
|
6433
|
+
"skip_rules": {
|
6434
|
+
"wont_fix": [
|
6435
|
+
"region"
|
6436
|
+
],
|
6437
|
+
"will_fix": [
|
6438
|
+
"color-contrast"
|
6439
|
+
]
|
6440
|
+
}
|
6441
|
+
},
|
6338
6442
|
{
|
6339
6443
|
"preview_path": "primer/alpha/text_area/disabled",
|
6340
6444
|
"name": "disabled",
|
@@ -6499,6 +6603,19 @@
|
|
6499
6603
|
]
|
6500
6604
|
}
|
6501
6605
|
},
|
6606
|
+
{
|
6607
|
+
"preview_path": "primer/alpha/text_field/not_full_width",
|
6608
|
+
"name": "not_full_width",
|
6609
|
+
"snapshot": "true",
|
6610
|
+
"skip_rules": {
|
6611
|
+
"wont_fix": [
|
6612
|
+
"region"
|
6613
|
+
],
|
6614
|
+
"will_fix": [
|
6615
|
+
"color-contrast"
|
6616
|
+
]
|
6617
|
+
}
|
6618
|
+
},
|
6502
6619
|
{
|
6503
6620
|
"preview_path": "primer/alpha/text_field/disabled",
|
6504
6621
|
"name": "disabled",
|
@@ -7014,6 +7131,110 @@
|
|
7014
7131
|
"color-contrast"
|
7015
7132
|
]
|
7016
7133
|
}
|
7134
|
+
},
|
7135
|
+
{
|
7136
|
+
"preview_path": "primer/alpha/tooltip/tooltip_n",
|
7137
|
+
"name": "tooltip_n",
|
7138
|
+
"snapshot": "interactive",
|
7139
|
+
"skip_rules": {
|
7140
|
+
"wont_fix": [
|
7141
|
+
"region"
|
7142
|
+
],
|
7143
|
+
"will_fix": [
|
7144
|
+
"color-contrast"
|
7145
|
+
]
|
7146
|
+
}
|
7147
|
+
},
|
7148
|
+
{
|
7149
|
+
"preview_path": "primer/alpha/tooltip/tooltip_s",
|
7150
|
+
"name": "tooltip_s",
|
7151
|
+
"snapshot": "interactive",
|
7152
|
+
"skip_rules": {
|
7153
|
+
"wont_fix": [
|
7154
|
+
"region"
|
7155
|
+
],
|
7156
|
+
"will_fix": [
|
7157
|
+
"color-contrast"
|
7158
|
+
]
|
7159
|
+
}
|
7160
|
+
},
|
7161
|
+
{
|
7162
|
+
"preview_path": "primer/alpha/tooltip/tooltip_e",
|
7163
|
+
"name": "tooltip_e",
|
7164
|
+
"snapshot": "interactive",
|
7165
|
+
"skip_rules": {
|
7166
|
+
"wont_fix": [
|
7167
|
+
"region"
|
7168
|
+
],
|
7169
|
+
"will_fix": [
|
7170
|
+
"color-contrast"
|
7171
|
+
]
|
7172
|
+
}
|
7173
|
+
},
|
7174
|
+
{
|
7175
|
+
"preview_path": "primer/alpha/tooltip/tooltip_w",
|
7176
|
+
"name": "tooltip_w",
|
7177
|
+
"snapshot": "interactive",
|
7178
|
+
"skip_rules": {
|
7179
|
+
"wont_fix": [
|
7180
|
+
"region"
|
7181
|
+
],
|
7182
|
+
"will_fix": [
|
7183
|
+
"color-contrast"
|
7184
|
+
]
|
7185
|
+
}
|
7186
|
+
},
|
7187
|
+
{
|
7188
|
+
"preview_path": "primer/alpha/tooltip/tooltip_se",
|
7189
|
+
"name": "tooltip_se",
|
7190
|
+
"snapshot": "interactive",
|
7191
|
+
"skip_rules": {
|
7192
|
+
"wont_fix": [
|
7193
|
+
"region"
|
7194
|
+
],
|
7195
|
+
"will_fix": [
|
7196
|
+
"color-contrast"
|
7197
|
+
]
|
7198
|
+
}
|
7199
|
+
},
|
7200
|
+
{
|
7201
|
+
"preview_path": "primer/alpha/tooltip/tooltip_sw",
|
7202
|
+
"name": "tooltip_sw",
|
7203
|
+
"snapshot": "interactive",
|
7204
|
+
"skip_rules": {
|
7205
|
+
"wont_fix": [
|
7206
|
+
"region"
|
7207
|
+
],
|
7208
|
+
"will_fix": [
|
7209
|
+
"color-contrast"
|
7210
|
+
]
|
7211
|
+
}
|
7212
|
+
},
|
7213
|
+
{
|
7214
|
+
"preview_path": "primer/alpha/tooltip/tooltip_ne",
|
7215
|
+
"name": "tooltip_ne",
|
7216
|
+
"snapshot": "interactive",
|
7217
|
+
"skip_rules": {
|
7218
|
+
"wont_fix": [
|
7219
|
+
"region"
|
7220
|
+
],
|
7221
|
+
"will_fix": [
|
7222
|
+
"color-contrast"
|
7223
|
+
]
|
7224
|
+
}
|
7225
|
+
},
|
7226
|
+
{
|
7227
|
+
"preview_path": "primer/alpha/tooltip/tooltip_nw",
|
7228
|
+
"name": "tooltip_nw",
|
7229
|
+
"snapshot": "interactive",
|
7230
|
+
"skip_rules": {
|
7231
|
+
"wont_fix": [
|
7232
|
+
"region"
|
7233
|
+
],
|
7234
|
+
"will_fix": [
|
7235
|
+
"color-contrast"
|
7236
|
+
]
|
7237
|
+
}
|
7017
7238
|
}
|
7018
7239
|
]
|
7019
7240
|
},
|
data/static/statuses.json
CHANGED
@@ -121,6 +121,7 @@
|
|
121
121
|
"Primer::OpenProject::GridLayout::Area": "open_project",
|
122
122
|
"Primer::OpenProject::InputGroup": "open_project",
|
123
123
|
"Primer::OpenProject::PageHeader": "open_project",
|
124
|
+
"Primer::OpenProject::PageHeader::PageHeaderActionMenu": "open_project",
|
124
125
|
"Primer::Tooltip": "deprecated",
|
125
126
|
"Primer::Truncate": "deprecated"
|
126
127
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openproject-primer_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub Open Source
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-03-
|
12
|
+
date: 2024-03-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionview
|
@@ -83,6 +83,7 @@ files:
|
|
83
83
|
- LICENSE.txt
|
84
84
|
- README.md
|
85
85
|
- app/assets/javascripts/app/components/primer/alpha/action_bar_element.d.ts
|
86
|
+
- app/assets/javascripts/app/components/primer/alpha/action_list.d.ts
|
86
87
|
- app/assets/javascripts/app/components/primer/alpha/action_menu/action_menu_element.d.ts
|
87
88
|
- app/assets/javascripts/app/components/primer/alpha/dropdown.d.ts
|
88
89
|
- app/assets/javascripts/app/components/primer/alpha/dropdown/menu.d.ts
|
@@ -101,6 +102,7 @@ files:
|
|
101
102
|
- app/assets/javascripts/app/components/primer/beta/relative_time.d.ts
|
102
103
|
- app/assets/javascripts/app/components/primer/dialog_helper.d.ts
|
103
104
|
- app/assets/javascripts/app/components/primer/focus_group.d.ts
|
105
|
+
- app/assets/javascripts/app/components/primer/open_project/page_header_element.d.ts
|
104
106
|
- app/assets/javascripts/app/components/primer/primer.d.ts
|
105
107
|
- app/assets/javascripts/app/components/primer/scrollable_region.d.ts
|
106
108
|
- app/assets/javascripts/lib/primer/forms/primer_multi_input.d.ts
|
@@ -124,9 +126,12 @@ files:
|
|
124
126
|
- app/components/primer/alpha/action_list.css
|
125
127
|
- app/components/primer/alpha/action_list.css.json
|
126
128
|
- app/components/primer/alpha/action_list.css.map
|
129
|
+
- app/components/primer/alpha/action_list.d.ts
|
127
130
|
- app/components/primer/alpha/action_list.html.erb
|
131
|
+
- app/components/primer/alpha/action_list.js
|
128
132
|
- app/components/primer/alpha/action_list.pcss
|
129
133
|
- app/components/primer/alpha/action_list.rb
|
134
|
+
- app/components/primer/alpha/action_list.ts
|
130
135
|
- app/components/primer/alpha/action_list/divider.rb
|
131
136
|
- app/components/primer/alpha/action_list/form_wrapper.html.erb
|
132
137
|
- app/components/primer/alpha/action_list/form_wrapper.rb
|
@@ -488,6 +493,9 @@ files:
|
|
488
493
|
- app/components/primer/open_project/page_header.html.erb
|
489
494
|
- app/components/primer/open_project/page_header.pcss
|
490
495
|
- app/components/primer/open_project/page_header.rb
|
496
|
+
- app/components/primer/open_project/page_header_element.d.ts
|
497
|
+
- app/components/primer/open_project/page_header_element.js
|
498
|
+
- app/components/primer/open_project/page_header_element.ts
|
491
499
|
- app/components/primer/primer.d.ts
|
492
500
|
- app/components/primer/primer.js
|
493
501
|
- app/components/primer/primer.pcss
|
@@ -507,6 +515,7 @@ files:
|
|
507
515
|
- app/forms/application_form.rb
|
508
516
|
- app/forms/array_check_box_group_form.rb
|
509
517
|
- app/forms/array_check_box_group_form/places_lopez_caption.html.erb
|
518
|
+
- app/forms/auto_complete_form.rb
|
510
519
|
- app/forms/both_types_of_caption_form.rb
|
511
520
|
- app/forms/both_types_of_caption_form/first_name_caption.html.erb
|
512
521
|
- app/forms/caption_template_form.rb
|
@@ -574,6 +583,8 @@ files:
|
|
574
583
|
- lib/primer/forms/action_menu.html.erb
|
575
584
|
- lib/primer/forms/action_menu.rb
|
576
585
|
- lib/primer/forms/acts_as_component.rb
|
586
|
+
- lib/primer/forms/auto_complete.html.erb
|
587
|
+
- lib/primer/forms/auto_complete.rb
|
577
588
|
- lib/primer/forms/base.html.erb
|
578
589
|
- lib/primer/forms/base.rb
|
579
590
|
- lib/primer/forms/base_component.rb
|
@@ -588,6 +599,7 @@ files:
|
|
588
599
|
- lib/primer/forms/check_box_group.html.erb
|
589
600
|
- lib/primer/forms/check_box_group.rb
|
590
601
|
- lib/primer/forms/dsl/action_menu_input.rb
|
602
|
+
- lib/primer/forms/dsl/auto_complete_input.rb
|
591
603
|
- lib/primer/forms/dsl/button_input.rb
|
592
604
|
- lib/primer/forms/dsl/check_box_group_input.rb
|
593
605
|
- lib/primer/forms/dsl/check_box_input.rb
|
@@ -805,7 +817,15 @@ files:
|
|
805
817
|
- previews/primer/alpha/text_field_preview/input_group_trailing_button.html.erb
|
806
818
|
- previews/primer/alpha/toggle_switch_preview.rb
|
807
819
|
- previews/primer/alpha/tooltip_preview.rb
|
820
|
+
- previews/primer/alpha/tooltip_preview/tooltip_e.html.erb
|
808
821
|
- previews/primer/alpha/tooltip_preview/tooltip_inside_primer_overlay.html.erb
|
822
|
+
- previews/primer/alpha/tooltip_preview/tooltip_n.html.erb
|
823
|
+
- previews/primer/alpha/tooltip_preview/tooltip_ne.html.erb
|
824
|
+
- previews/primer/alpha/tooltip_preview/tooltip_nw.html.erb
|
825
|
+
- previews/primer/alpha/tooltip_preview/tooltip_s.html.erb
|
826
|
+
- previews/primer/alpha/tooltip_preview/tooltip_se.html.erb
|
827
|
+
- previews/primer/alpha/tooltip_preview/tooltip_sw.html.erb
|
828
|
+
- previews/primer/alpha/tooltip_preview/tooltip_w.html.erb
|
809
829
|
- previews/primer/alpha/tooltip_preview/tooltip_with_dialog_moving_focus_to_input.html.erb
|
810
830
|
- previews/primer/alpha/tooltip_preview/with_multiple_on_a_page.html.erb
|
811
831
|
- previews/primer/alpha/tooltip_preview/with_right_most_position.html.erb
|
@@ -867,6 +887,7 @@ files:
|
|
867
887
|
- previews/primer/forms_preview/action_menu_form.html.erb
|
868
888
|
- previews/primer/forms_preview/after_content_form.html.erb
|
869
889
|
- previews/primer/forms_preview/array_check_box_group_form.html.erb
|
890
|
+
- previews/primer/forms_preview/auto_complete_form.html.erb
|
870
891
|
- previews/primer/forms_preview/caption_template_form.html.erb
|
871
892
|
- previews/primer/forms_preview/check_box_group_form.html.erb
|
872
893
|
- previews/primer/forms_preview/check_box_with_nested_form.html.erb
|
@@ -892,7 +913,6 @@ files:
|
|
892
913
|
- previews/primer/open_project/input_group_preview.rb
|
893
914
|
- previews/primer/open_project/page_header_preview.rb
|
894
915
|
- previews/primer/open_project/page_header_preview/actions.html.erb
|
895
|
-
- previews/primer/open_project/page_header_preview/context_bar_actions.html.erb
|
896
916
|
- previews/primer/open_project/page_header_preview/playground.html.erb
|
897
917
|
- previews/primer/url_helpers.rb
|
898
918
|
- static/arguments.json
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<%= render(Primer::OpenProject::PageHeader.new) do |component| %>
|
2
|
-
<% component.with_title(tag: :h1) do %>
|
3
|
-
A title
|
4
|
-
<% end %>
|
5
|
-
<% component.with_description do %>
|
6
|
-
A description with actions
|
7
|
-
<% end %>
|
8
|
-
<% component.with_parent_link(href: "#") do %>
|
9
|
-
Parent link
|
10
|
-
<% end %>
|
11
|
-
<% component.with_context_bar_actions do %>
|
12
|
-
<%= render(Primer::Alpha::ActionMenu.new) do |component| %>
|
13
|
-
<% component.with_show_button { "Menu" } %>
|
14
|
-
<% component.with_item(label: "Item", tag: :button, value: "") %>
|
15
|
-
<% component.with_item(
|
16
|
-
label: "Show dialog",
|
17
|
-
tag: :button,
|
18
|
-
content_arguments: { "data-show-dialog-id": "my-dialog" },
|
19
|
-
value: "",
|
20
|
-
scheme: :danger
|
21
|
-
) %>
|
22
|
-
<% end %>
|
23
|
-
<% end %>
|
24
|
-
<% end %>
|
25
|
-
|