openproject-primer_view_components 0.11.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +110 -0
  3. data/app/assets/javascripts/app/components/primer/alpha/tool_tip.d.ts +1 -0
  4. data/app/assets/javascripts/app/components/primer/primer.d.ts +1 -1
  5. data/app/assets/javascripts/primer_view_components.js +1 -1
  6. data/app/assets/javascripts/primer_view_components.js.map +1 -1
  7. data/app/assets/styles/primer_view_components.css +1 -1
  8. data/app/assets/styles/primer_view_components.css.map +1 -1
  9. data/app/components/primer/alpha/action_bar/item.rb +7 -4
  10. data/app/components/primer/alpha/action_bar.rb +2 -2
  11. data/app/components/primer/alpha/action_bar_element.js +9 -4
  12. data/app/components/primer/alpha/action_bar_element.ts +9 -2
  13. data/app/components/primer/alpha/action_list/form_wrapper.html.erb +4 -2
  14. data/app/components/primer/alpha/action_list/form_wrapper.rb +20 -9
  15. data/app/components/primer/alpha/action_menu/action_menu_element.js +162 -86
  16. data/app/components/primer/alpha/action_menu/action_menu_element.ts +197 -82
  17. data/app/components/primer/alpha/action_menu/list.rb +0 -2
  18. data/app/components/primer/alpha/action_menu.rb +120 -3
  19. data/app/components/primer/alpha/check_box_group.rb +2 -0
  20. data/app/components/primer/alpha/dialog/header.rb +12 -0
  21. data/app/components/primer/alpha/dialog.rb +1 -1
  22. data/app/components/primer/alpha/modal_dialog.js +10 -13
  23. data/app/components/primer/alpha/modal_dialog.ts +10 -13
  24. data/app/components/primer/alpha/nav_list/divider.rb +2 -5
  25. data/app/components/primer/alpha/nav_list/group.rb +2 -98
  26. data/app/components/primer/alpha/nav_list/heading.rb +2 -27
  27. data/app/components/primer/alpha/nav_list/item.rb +2 -147
  28. data/app/components/primer/alpha/nav_list.rb +2 -205
  29. data/app/components/primer/alpha/overlay.css +1 -1
  30. data/app/components/primer/alpha/overlay.css.map +1 -1
  31. data/app/components/primer/alpha/overlay.pcss +1 -7
  32. data/app/components/primer/alpha/overlay.rb +6 -4
  33. data/app/components/primer/alpha/radio_button_group.rb +2 -0
  34. data/app/components/primer/alpha/segmented_control/item.html.erb +1 -8
  35. data/app/components/primer/alpha/segmented_control/item.rb +38 -4
  36. data/app/components/primer/alpha/segmented_control.css +1 -1
  37. data/app/components/primer/alpha/segmented_control.css.json +14 -13
  38. data/app/components/primer/alpha/segmented_control.css.map +1 -1
  39. data/app/components/primer/alpha/segmented_control.pcss +75 -66
  40. data/app/components/primer/alpha/segmented_control.rb +10 -0
  41. data/app/components/primer/alpha/text_field.css +1 -1
  42. data/app/components/primer/alpha/text_field.css.json +4 -1
  43. data/app/components/primer/alpha/text_field.css.map +1 -1
  44. data/app/components/primer/alpha/text_field.pcss +18 -3
  45. data/app/components/primer/alpha/tool_tip.d.ts +1 -0
  46. data/app/components/primer/alpha/tool_tip.js +26 -93
  47. data/app/components/primer/alpha/tool_tip.ts +25 -91
  48. data/app/components/primer/alpha/tooltip.rb +3 -1
  49. data/app/components/primer/beta/base_button.rb +4 -0
  50. data/app/components/primer/beta/button.css +1 -1
  51. data/app/components/primer/beta/button.css.json +2 -0
  52. data/app/components/primer/beta/button.css.map +1 -1
  53. data/app/components/primer/beta/button.pcss +17 -5
  54. data/app/components/primer/beta/icon_button.html.erb +1 -1
  55. data/app/components/primer/beta/icon_button.rb +8 -1
  56. data/app/components/primer/beta/link.css +1 -1
  57. data/app/components/primer/beta/link.css.json +1 -0
  58. data/app/components/primer/beta/link.css.map +1 -1
  59. data/app/components/primer/beta/link.pcss +5 -0
  60. data/app/components/primer/beta/link.rb +2 -2
  61. data/app/components/primer/beta/nav_list/divider.rb +14 -0
  62. data/app/components/primer/beta/nav_list/group.rb +107 -0
  63. data/app/components/primer/beta/nav_list/heading.rb +36 -0
  64. data/app/components/primer/beta/nav_list/item.rb +156 -0
  65. data/app/components/primer/beta/nav_list.rb +212 -0
  66. data/app/components/primer/focus_group.js +30 -4
  67. data/app/components/primer/focus_group.ts +29 -2
  68. data/app/components/primer/open_project/flex_layout.html.erb +23 -0
  69. data/app/components/primer/open_project/flex_layout.rb +52 -0
  70. data/app/components/primer/open_project/grid_layout/area.rb +38 -0
  71. data/app/components/primer/open_project/grid_layout.html.erb +11 -0
  72. data/app/components/primer/open_project/grid_layout.rb +34 -0
  73. data/app/components/primer/open_project/page_header.css +1 -1
  74. data/app/components/primer/open_project/page_header.css.map +1 -1
  75. data/app/components/primer/open_project/page_header.pcss +4 -0
  76. data/app/components/primer/primer.d.ts +1 -1
  77. data/app/components/primer/primer.js +1 -1
  78. data/app/components/primer/primer.ts +1 -1
  79. data/app/helpers/primer/form_helper.rb +10 -0
  80. data/lib/primer/accessibility.rb +3 -1
  81. data/lib/primer/deprecations.yml +20 -0
  82. data/lib/primer/forms/check_box_group.html.erb +3 -0
  83. data/lib/primer/forms/dsl/check_box_group_input.rb +1 -5
  84. data/lib/primer/forms/dsl/check_box_input.rb +5 -0
  85. data/lib/primer/forms/dsl/radio_button_input.rb +5 -0
  86. data/lib/primer/forms/form_control.html.erb +1 -4
  87. data/lib/primer/forms/radio_button_group.html.erb +3 -0
  88. data/lib/primer/forms/utils.rb +2 -0
  89. data/lib/primer/forms/validation_message.html.erb +4 -0
  90. data/lib/primer/forms/validation_message.rb +14 -0
  91. data/lib/primer/forms.rb +16 -0
  92. data/lib/primer/static/generate_info_arch.rb +86 -5
  93. data/lib/primer/view_components/version.rb +1 -1
  94. data/lib/primer/yard/component_manifest.rb +4 -0
  95. data/previews/primer/alpha/action_menu_preview/single_select_form_items.html.erb +31 -0
  96. data/previews/primer/alpha/action_menu_preview/with_actions.html.erb +6 -5
  97. data/previews/primer/alpha/action_menu_preview.rb +10 -1
  98. data/previews/primer/alpha/check_box_group_preview.rb +13 -0
  99. data/previews/primer/alpha/check_box_preview.rb +1 -0
  100. data/previews/primer/alpha/dialog_preview/autofocus_element.html.erb +8 -0
  101. data/previews/primer/alpha/dialog_preview/with_header.html.erb +5 -0
  102. data/previews/primer/alpha/dialog_preview.rb +22 -0
  103. data/previews/primer/alpha/overlay_preview.rb +1 -1
  104. data/previews/primer/alpha/radio_button_group_preview.rb +13 -0
  105. data/previews/primer/alpha/radio_button_preview.rb +2 -1
  106. data/previews/primer/alpha/segmented_control_preview.rb +35 -0
  107. data/previews/primer/alpha/text_field_preview/input_group_leading_action_menu.html.erb +21 -0
  108. data/previews/primer/alpha/text_field_preview/input_group_leading_button.html.erb +18 -0
  109. data/previews/primer/alpha/text_field_preview/input_group_trailing_button.html.erb +18 -0
  110. data/previews/primer/alpha/text_field_preview.rb +21 -0
  111. data/previews/primer/alpha/tooltip_preview/tooltip_with_dialog_moving_focus_to_input.html.erb +23 -0
  112. data/previews/primer/alpha/tooltip_preview.rb +6 -1
  113. data/previews/primer/beta/button_group_preview.rb +6 -6
  114. data/previews/primer/beta/button_preview.rb +21 -3
  115. data/previews/primer/beta/icon_button_preview.rb +3 -0
  116. data/previews/primer/{alpha → beta}/nav_list_preview/trailing_action.html.erb +1 -1
  117. data/previews/primer/{alpha → beta}/nav_list_preview.rb +5 -5
  118. data/previews/primer/open_project/flex_layout_preview.rb +73 -0
  119. data/previews/primer/open_project/grid_layout_preview.rb +37 -0
  120. data/static/arguments.json +278 -7
  121. data/static/audited_at.json +8 -0
  122. data/static/classes.json +15 -0
  123. data/static/constants.json +47 -1
  124. data/static/info_arch.json +1338 -632
  125. data/static/previews.json +271 -167
  126. data/static/statuses.json +13 -5
  127. metadata +33 -319
  128. /data/app/assets/javascripts/app/components/primer/{alpha → beta}/nav_list.d.ts +0 -0
  129. /data/app/components/primer/{alpha → beta}/nav_list/group.html.erb +0 -0
  130. /data/app/components/primer/{alpha → beta}/nav_list/item.html.erb +0 -0
  131. /data/app/components/primer/{alpha → beta}/nav_list.d.ts +0 -0
  132. /data/app/components/primer/{alpha → beta}/nav_list.html.erb +0 -0
  133. /data/app/components/primer/{alpha → beta}/nav_list.js +0 -0
  134. /data/app/components/primer/{alpha → beta}/nav_list.ts +0 -0
data/static/previews.json CHANGED
@@ -580,6 +580,19 @@
580
580
  ]
581
581
  }
582
582
  },
583
+ {
584
+ "preview_path": "primer/alpha/action_menu/single_select_form_items",
585
+ "name": "single_select_form_items",
586
+ "snapshot": "false",
587
+ "skip_rules": {
588
+ "wont_fix": [
589
+ "region"
590
+ ],
591
+ "will_fix": [
592
+ "color-contrast"
593
+ ]
594
+ }
595
+ },
583
596
  {
584
597
  "preview_path": "primer/alpha/action_menu/multiple_select_form",
585
598
  "name": "multiple_select_form",
@@ -2144,6 +2157,19 @@
2144
2157
  "color-contrast"
2145
2158
  ]
2146
2159
  }
2160
+ },
2161
+ {
2162
+ "preview_path": "primer/beta/button/inactive",
2163
+ "name": "inactive",
2164
+ "snapshot": "true",
2165
+ "skip_rules": {
2166
+ "wont_fix": [
2167
+ "region"
2168
+ ],
2169
+ "will_fix": [
2170
+ "color-contrast"
2171
+ ]
2172
+ }
2147
2173
  }
2148
2174
  ]
2149
2175
  },
@@ -2333,13 +2359,13 @@
2333
2359
  ]
2334
2360
  },
2335
2361
  {
2336
- "name": "check_box",
2337
- "component": "CheckBox",
2362
+ "name": "check_box_group",
2363
+ "component": "CheckBoxGroup",
2338
2364
  "status": "alpha",
2339
- "lookup_path": "primer/alpha/check_box",
2365
+ "lookup_path": "primer/alpha/check_box_group",
2340
2366
  "examples": [
2341
2367
  {
2342
- "preview_path": "primer/alpha/check_box/playground",
2368
+ "preview_path": "primer/alpha/check_box_group/playground",
2343
2369
  "name": "playground",
2344
2370
  "snapshot": "false",
2345
2371
  "skip_rules": {
@@ -2352,7 +2378,7 @@
2352
2378
  }
2353
2379
  },
2354
2380
  {
2355
- "preview_path": "primer/alpha/check_box/default",
2381
+ "preview_path": "primer/alpha/check_box_group/default",
2356
2382
  "name": "default",
2357
2383
  "snapshot": "false",
2358
2384
  "skip_rules": {
@@ -2365,81 +2391,8 @@
2365
2391
  }
2366
2392
  },
2367
2393
  {
2368
- "preview_path": "primer/alpha/check_box/with_caption",
2369
- "name": "with_caption",
2370
- "snapshot": "true",
2371
- "skip_rules": {
2372
- "wont_fix": [
2373
- "region"
2374
- ],
2375
- "will_fix": [
2376
- "color-contrast"
2377
- ]
2378
- }
2379
- },
2380
- {
2381
- "preview_path": "primer/alpha/check_box/checked",
2382
- "name": "checked",
2383
- "snapshot": "false",
2384
- "skip_rules": {
2385
- "wont_fix": [
2386
- "region"
2387
- ],
2388
- "will_fix": [
2389
- "color-contrast"
2390
- ]
2391
- }
2392
- },
2393
- {
2394
- "preview_path": "primer/alpha/check_box/visually_hide_label",
2395
- "name": "visually_hide_label",
2396
- "snapshot": "false",
2397
- "skip_rules": {
2398
- "wont_fix": [
2399
- "region"
2400
- ],
2401
- "will_fix": [
2402
- "color-contrast"
2403
- ]
2404
- }
2405
- },
2406
- {
2407
- "preview_path": "primer/alpha/check_box/disabled",
2408
- "name": "disabled",
2409
- "snapshot": "false",
2410
- "skip_rules": {
2411
- "wont_fix": [
2412
- "region"
2413
- ],
2414
- "will_fix": [
2415
- "color-contrast"
2416
- ]
2417
- }
2418
- }
2419
- ]
2420
- },
2421
- {
2422
- "name": "check_box_group",
2423
- "component": "CheckBoxGroup",
2424
- "status": "alpha",
2425
- "lookup_path": "primer/alpha/check_box_group",
2426
- "examples": [
2427
- {
2428
- "preview_path": "primer/alpha/check_box_group/playground",
2429
- "name": "playground",
2430
- "snapshot": "false",
2431
- "skip_rules": {
2432
- "wont_fix": [
2433
- "region"
2434
- ],
2435
- "will_fix": [
2436
- "color-contrast"
2437
- ]
2438
- }
2439
- },
2440
- {
2441
- "preview_path": "primer/alpha/check_box_group/default",
2442
- "name": "default",
2394
+ "preview_path": "primer/alpha/check_box_group/invalid",
2395
+ "name": "invalid",
2443
2396
  "snapshot": "false",
2444
2397
  "skip_rules": {
2445
2398
  "wont_fix": [
@@ -2867,6 +2820,19 @@
2867
2820
  ]
2868
2821
  }
2869
2822
  },
2823
+ {
2824
+ "preview_path": "primer/alpha/dialog/with_header",
2825
+ "name": "with_header",
2826
+ "snapshot": "false",
2827
+ "skip_rules": {
2828
+ "wont_fix": [
2829
+ "region"
2830
+ ],
2831
+ "will_fix": [
2832
+ "color-contrast"
2833
+ ]
2834
+ }
2835
+ },
2870
2836
  {
2871
2837
  "preview_path": "primer/alpha/dialog/with_footer",
2872
2838
  "name": "with_footer",
@@ -2944,6 +2910,19 @@
2944
2910
  "color-contrast"
2945
2911
  ]
2946
2912
  }
2913
+ },
2914
+ {
2915
+ "preview_path": "primer/alpha/dialog/autofocus_element",
2916
+ "name": "autofocus_element",
2917
+ "snapshot": "false",
2918
+ "skip_rules": {
2919
+ "wont_fix": [
2920
+ "region"
2921
+ ],
2922
+ "will_fix": [
2923
+ "color-contrast"
2924
+ ]
2925
+ }
2947
2926
  }
2948
2927
  ]
2949
2928
  },
@@ -3309,6 +3288,79 @@
3309
3288
  }
3310
3289
  ]
3311
3290
  },
3291
+ {
3292
+ "name": "flex_layout",
3293
+ "component": "OpenProject::FlexLayout",
3294
+ "status": "open_project",
3295
+ "lookup_path": "primer/open_project/flex_layout",
3296
+ "examples": [
3297
+ {
3298
+ "preview_path": "primer/open_project/flex_layout/playground",
3299
+ "name": "playground",
3300
+ "snapshot": "false",
3301
+ "skip_rules": {
3302
+ "wont_fix": [
3303
+ "region"
3304
+ ],
3305
+ "will_fix": [
3306
+ "color-contrast"
3307
+ ]
3308
+ }
3309
+ },
3310
+ {
3311
+ "preview_path": "primer/open_project/flex_layout/default",
3312
+ "name": "default",
3313
+ "snapshot": "false",
3314
+ "skip_rules": {
3315
+ "wont_fix": [
3316
+ "region"
3317
+ ],
3318
+ "will_fix": [
3319
+ "color-contrast"
3320
+ ]
3321
+ }
3322
+ },
3323
+ {
3324
+ "preview_path": "primer/open_project/flex_layout/row_layout",
3325
+ "name": "row_layout",
3326
+ "snapshot": "false",
3327
+ "skip_rules": {
3328
+ "wont_fix": [
3329
+ "region"
3330
+ ],
3331
+ "will_fix": [
3332
+ "color-contrast"
3333
+ ]
3334
+ }
3335
+ },
3336
+ {
3337
+ "preview_path": "primer/open_project/flex_layout/column_layout",
3338
+ "name": "column_layout",
3339
+ "snapshot": "false",
3340
+ "skip_rules": {
3341
+ "wont_fix": [
3342
+ "region"
3343
+ ],
3344
+ "will_fix": [
3345
+ "color-contrast"
3346
+ ]
3347
+ }
3348
+ },
3349
+ {
3350
+ "preview_path": "primer/open_project/flex_layout/nested_layout",
3351
+ "name": "nested_layout",
3352
+ "snapshot": "false",
3353
+ "skip_rules": {
3354
+ "wont_fix": [
3355
+ "region"
3356
+ ],
3357
+ "will_fix": [
3358
+ "color-contrast"
3359
+ ]
3360
+ }
3361
+ }
3362
+ ]
3363
+ },
3312
3364
  {
3313
3365
  "name": "form_control",
3314
3366
  "component": "FormControl",
@@ -3395,6 +3447,40 @@
3395
3447
  }
3396
3448
  ]
3397
3449
  },
3450
+ {
3451
+ "name": "grid_layout",
3452
+ "component": "OpenProject::GridLayout",
3453
+ "status": "open_project",
3454
+ "lookup_path": "primer/open_project/grid_layout",
3455
+ "examples": [
3456
+ {
3457
+ "preview_path": "primer/open_project/grid_layout/playground",
3458
+ "name": "playground",
3459
+ "snapshot": "false",
3460
+ "skip_rules": {
3461
+ "wont_fix": [
3462
+ "region"
3463
+ ],
3464
+ "will_fix": [
3465
+ "color-contrast"
3466
+ ]
3467
+ }
3468
+ },
3469
+ {
3470
+ "preview_path": "primer/open_project/grid_layout/default",
3471
+ "name": "default",
3472
+ "snapshot": "false",
3473
+ "skip_rules": {
3474
+ "wont_fix": [
3475
+ "region"
3476
+ ],
3477
+ "will_fix": [
3478
+ "color-contrast"
3479
+ ]
3480
+ }
3481
+ }
3482
+ ]
3483
+ },
3398
3484
  {
3399
3485
  "name": "heading",
3400
3486
  "component": "Heading",
@@ -4323,11 +4409,11 @@
4323
4409
  {
4324
4410
  "name": "nav_list",
4325
4411
  "component": "NavList",
4326
- "status": "alpha",
4327
- "lookup_path": "primer/alpha/nav_list",
4412
+ "status": "beta",
4413
+ "lookup_path": "primer/beta/nav_list",
4328
4414
  "examples": [
4329
4415
  {
4330
- "preview_path": "primer/alpha/nav_list/playground",
4416
+ "preview_path": "primer/beta/nav_list/playground",
4331
4417
  "name": "playground",
4332
4418
  "snapshot": "false",
4333
4419
  "skip_rules": {
@@ -4340,7 +4426,7 @@
4340
4426
  }
4341
4427
  },
4342
4428
  {
4343
- "preview_path": "primer/alpha/nav_list/default",
4429
+ "preview_path": "primer/beta/nav_list/default",
4344
4430
  "name": "default",
4345
4431
  "snapshot": "true",
4346
4432
  "skip_rules": {
@@ -4353,7 +4439,7 @@
4353
4439
  }
4354
4440
  },
4355
4441
  {
4356
- "preview_path": "primer/alpha/nav_list/top_level_items",
4442
+ "preview_path": "primer/beta/nav_list/top_level_items",
4357
4443
  "name": "top_level_items",
4358
4444
  "snapshot": "false",
4359
4445
  "skip_rules": {
@@ -4366,7 +4452,7 @@
4366
4452
  }
4367
4453
  },
4368
4454
  {
4369
- "preview_path": "primer/alpha/nav_list/show_more_item",
4455
+ "preview_path": "primer/beta/nav_list/show_more_item",
4370
4456
  "name": "show_more_item",
4371
4457
  "snapshot": "true",
4372
4458
  "skip_rules": {
@@ -4379,7 +4465,7 @@
4379
4465
  }
4380
4466
  },
4381
4467
  {
4382
- "preview_path": "primer/alpha/nav_list/trailing_action",
4468
+ "preview_path": "primer/beta/nav_list/trailing_action",
4383
4469
  "name": "trailing_action",
4384
4470
  "snapshot": "true",
4385
4471
  "skip_rules": {
@@ -4759,13 +4845,13 @@
4759
4845
  ]
4760
4846
  },
4761
4847
  {
4762
- "name": "radio_button",
4763
- "component": "RadioButton",
4848
+ "name": "radio_button_group",
4849
+ "component": "RadioButtonGroup",
4764
4850
  "status": "alpha",
4765
- "lookup_path": "primer/alpha/radio_button",
4851
+ "lookup_path": "primer/alpha/radio_button_group",
4766
4852
  "examples": [
4767
4853
  {
4768
- "preview_path": "primer/alpha/radio_button/playground",
4854
+ "preview_path": "primer/alpha/radio_button_group/playground",
4769
4855
  "name": "playground",
4770
4856
  "snapshot": "false",
4771
4857
  "skip_rules": {
@@ -4778,7 +4864,7 @@
4778
4864
  }
4779
4865
  },
4780
4866
  {
4781
- "preview_path": "primer/alpha/radio_button/default",
4867
+ "preview_path": "primer/alpha/radio_button_group/default",
4782
4868
  "name": "default",
4783
4869
  "snapshot": "true",
4784
4870
  "skip_rules": {
@@ -4791,81 +4877,8 @@
4791
4877
  }
4792
4878
  },
4793
4879
  {
4794
- "preview_path": "primer/alpha/radio_button/with_caption",
4795
- "name": "with_caption",
4796
- "snapshot": "true",
4797
- "skip_rules": {
4798
- "wont_fix": [
4799
- "region"
4800
- ],
4801
- "will_fix": [
4802
- "color-contrast"
4803
- ]
4804
- }
4805
- },
4806
- {
4807
- "preview_path": "primer/alpha/radio_button/checked",
4808
- "name": "checked",
4809
- "snapshot": "true",
4810
- "skip_rules": {
4811
- "wont_fix": [
4812
- "region"
4813
- ],
4814
- "will_fix": [
4815
- "color-contrast"
4816
- ]
4817
- }
4818
- },
4819
- {
4820
- "preview_path": "primer/alpha/radio_button/visually_hide_label",
4821
- "name": "visually_hide_label",
4822
- "snapshot": "true",
4823
- "skip_rules": {
4824
- "wont_fix": [
4825
- "region"
4826
- ],
4827
- "will_fix": [
4828
- "color-contrast"
4829
- ]
4830
- }
4831
- },
4832
- {
4833
- "preview_path": "primer/alpha/radio_button/disabled",
4834
- "name": "disabled",
4835
- "snapshot": "true",
4836
- "skip_rules": {
4837
- "wont_fix": [
4838
- "region"
4839
- ],
4840
- "will_fix": [
4841
- "color-contrast"
4842
- ]
4843
- }
4844
- }
4845
- ]
4846
- },
4847
- {
4848
- "name": "radio_button_group",
4849
- "component": "RadioButtonGroup",
4850
- "status": "alpha",
4851
- "lookup_path": "primer/alpha/radio_button_group",
4852
- "examples": [
4853
- {
4854
- "preview_path": "primer/alpha/radio_button_group/playground",
4855
- "name": "playground",
4856
- "snapshot": "false",
4857
- "skip_rules": {
4858
- "wont_fix": [
4859
- "region"
4860
- ],
4861
- "will_fix": [
4862
- "color-contrast"
4863
- ]
4864
- }
4865
- },
4866
- {
4867
- "preview_path": "primer/alpha/radio_button_group/default",
4868
- "name": "default",
4880
+ "preview_path": "primer/alpha/radio_button_group/invalid",
4881
+ "name": "invalid",
4869
4882
  "snapshot": "true",
4870
4883
  "skip_rules": {
4871
4884
  "wont_fix": [
@@ -5113,6 +5126,45 @@
5113
5126
  ]
5114
5127
  }
5115
5128
  },
5129
+ {
5130
+ "preview_path": "primer/alpha/segmented_control/trailing_label_width_small",
5131
+ "name": "trailing_label_width_small",
5132
+ "snapshot": "true",
5133
+ "skip_rules": {
5134
+ "wont_fix": [
5135
+ "region"
5136
+ ],
5137
+ "will_fix": [
5138
+ "color-contrast"
5139
+ ]
5140
+ }
5141
+ },
5142
+ {
5143
+ "preview_path": "primer/alpha/segmented_control/trailing_label_width_medium",
5144
+ "name": "trailing_label_width_medium",
5145
+ "snapshot": "true",
5146
+ "skip_rules": {
5147
+ "wont_fix": [
5148
+ "region"
5149
+ ],
5150
+ "will_fix": [
5151
+ "color-contrast"
5152
+ ]
5153
+ }
5154
+ },
5155
+ {
5156
+ "preview_path": "primer/alpha/segmented_control/trailing_label_width_large",
5157
+ "name": "trailing_label_width_large",
5158
+ "snapshot": "true",
5159
+ "skip_rules": {
5160
+ "wont_fix": [
5161
+ "region"
5162
+ ],
5163
+ "will_fix": [
5164
+ "color-contrast"
5165
+ ]
5166
+ }
5167
+ },
5116
5168
  {
5117
5169
  "preview_path": "primer/alpha/segmented_control/icon_only_small",
5118
5170
  "name": "icon_only_small",
@@ -6094,6 +6146,45 @@
6094
6146
  "color-contrast"
6095
6147
  ]
6096
6148
  }
6149
+ },
6150
+ {
6151
+ "preview_path": "primer/alpha/text_field/input_group_leading_button",
6152
+ "name": "input_group_leading_button",
6153
+ "snapshot": "true",
6154
+ "skip_rules": {
6155
+ "wont_fix": [
6156
+ "region"
6157
+ ],
6158
+ "will_fix": [
6159
+ "color-contrast"
6160
+ ]
6161
+ }
6162
+ },
6163
+ {
6164
+ "preview_path": "primer/alpha/text_field/input_group_trailing_button",
6165
+ "name": "input_group_trailing_button",
6166
+ "snapshot": "true",
6167
+ "skip_rules": {
6168
+ "wont_fix": [
6169
+ "region"
6170
+ ],
6171
+ "will_fix": [
6172
+ "color-contrast"
6173
+ ]
6174
+ }
6175
+ },
6176
+ {
6177
+ "preview_path": "primer/alpha/text_field/input_group_leading_action_menu",
6178
+ "name": "input_group_leading_action_menu",
6179
+ "snapshot": "true",
6180
+ "skip_rules": {
6181
+ "wont_fix": [
6182
+ "region"
6183
+ ],
6184
+ "will_fix": [
6185
+ "color-contrast"
6186
+ ]
6187
+ }
6097
6188
  }
6098
6189
  ]
6099
6190
  },
@@ -6415,6 +6506,19 @@
6415
6506
  "color-contrast"
6416
6507
  ]
6417
6508
  }
6509
+ },
6510
+ {
6511
+ "preview_path": "primer/alpha/tooltip/tooltip_with_dialog_moving_focus_to_input",
6512
+ "name": "tooltip_with_dialog_moving_focus_to_input",
6513
+ "snapshot": "false",
6514
+ "skip_rules": {
6515
+ "wont_fix": [
6516
+ "region"
6517
+ ],
6518
+ "will_fix": [
6519
+ "color-contrast"
6520
+ ]
6521
+ }
6418
6522
  }
6419
6523
  ]
6420
6524
  },
data/static/statuses.json CHANGED
@@ -33,11 +33,11 @@
33
33
  "Primer::Alpha::Layout::Sidebar": "alpha",
34
34
  "Primer::Alpha::Menu": "alpha",
35
35
  "Primer::Alpha::MultiInput": "alpha",
36
- "Primer::Alpha::NavList": "alpha",
37
- "Primer::Alpha::NavList::Divider": "alpha",
38
- "Primer::Alpha::NavList::Group": "alpha",
39
- "Primer::Alpha::NavList::Heading": "alpha",
40
- "Primer::Alpha::NavList::Item": "alpha",
36
+ "Primer::Alpha::NavList": "deprecated",
37
+ "Primer::Alpha::NavList::Divider": "deprecated",
38
+ "Primer::Alpha::NavList::Group": "deprecated",
39
+ "Primer::Alpha::NavList::Heading": "deprecated",
40
+ "Primer::Alpha::NavList::Item": "deprecated",
41
41
  "Primer::Alpha::Navigation::Tab": "alpha",
42
42
  "Primer::Alpha::OcticonSymbols": "alpha",
43
43
  "Primer::Alpha::Overlay": "alpha",
@@ -82,6 +82,11 @@
82
82
  "Primer::Beta::Label": "beta",
83
83
  "Primer::Beta::Link": "beta",
84
84
  "Primer::Beta::Markdown": "beta",
85
+ "Primer::Beta::NavList": "beta",
86
+ "Primer::Beta::NavList::Divider": "alpha",
87
+ "Primer::Beta::NavList::Group": "alpha",
88
+ "Primer::Beta::NavList::Heading": "alpha",
89
+ "Primer::Beta::NavList::Item": "alpha",
85
90
  "Primer::Beta::Octicon": "beta",
86
91
  "Primer::Beta::Popover": "beta",
87
92
  "Primer::Beta::ProgressBar": "beta",
@@ -105,6 +110,9 @@
105
110
  "Primer::OpenProject::BorderGrid": "open_project",
106
111
  "Primer::OpenProject::BorderGrid::Cell": "open_project",
107
112
  "Primer::OpenProject::DragHandle": "open_project",
113
+ "Primer::OpenProject::FlexLayout": "open_project",
114
+ "Primer::OpenProject::GridLayout": "open_project",
115
+ "Primer::OpenProject::GridLayout::Area": "open_project",
108
116
  "Primer::OpenProject::PageHeader": "open_project",
109
117
  "Primer::Tooltip": "deprecated",
110
118
  "Primer::Truncate": "deprecated"