openproject-primer_view_components 0.10.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +87 -0
- data/app/assets/javascripts/app/components/primer/primer.d.ts +1 -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_menu/action_menu_element.js +2 -1
- data/app/components/primer/alpha/action_menu/action_menu_element.ts +2 -1
- data/app/components/primer/alpha/check_box_group.rb +2 -0
- data/app/components/primer/alpha/dialog/header.rb +12 -0
- data/app/components/primer/alpha/dialog.rb +1 -1
- data/app/components/primer/alpha/nav_list/divider.rb +2 -5
- data/app/components/primer/alpha/nav_list/group.rb +2 -98
- data/app/components/primer/alpha/nav_list/heading.rb +2 -27
- data/app/components/primer/alpha/nav_list/item.rb +2 -147
- data/app/components/primer/alpha/nav_list.rb +2 -205
- data/app/components/primer/alpha/overlay.css +1 -1
- data/app/components/primer/alpha/overlay.css.map +1 -1
- data/app/components/primer/alpha/overlay.pcss +1 -7
- data/app/components/primer/alpha/overlay.rb +6 -4
- data/app/components/primer/alpha/radio_button_group.rb +2 -0
- data/app/components/primer/alpha/text_field.css +1 -1
- data/app/components/primer/alpha/text_field.css.json +4 -1
- data/app/components/primer/alpha/text_field.css.map +1 -1
- data/app/components/primer/alpha/text_field.pcss +18 -3
- data/app/components/primer/alpha/tooltip.rb +3 -1
- data/app/components/primer/beta/button.css +1 -1
- data/app/components/primer/beta/button.css.json +2 -0
- data/app/components/primer/beta/button.css.map +1 -1
- data/app/components/primer/beta/button.pcss +11 -3
- data/app/components/primer/beta/icon_button.html.erb +1 -1
- data/app/components/primer/beta/icon_button.rb +8 -1
- data/app/components/primer/beta/link.css +1 -1
- data/app/components/primer/beta/link.css.json +1 -0
- data/app/components/primer/beta/link.css.map +1 -1
- data/app/components/primer/beta/link.pcss +5 -0
- data/app/components/primer/beta/link.rb +2 -2
- data/app/components/primer/beta/nav_list/divider.rb +14 -0
- data/app/components/primer/beta/nav_list/group.rb +107 -0
- data/app/components/primer/beta/nav_list/heading.rb +36 -0
- data/app/components/primer/beta/nav_list/item.rb +156 -0
- data/app/components/primer/beta/nav_list.rb +212 -0
- data/app/components/primer/focus_group.js +2 -1
- data/app/components/primer/focus_group.ts +2 -1
- data/app/components/primer/open_project/border_grid/cell.html.erb +3 -0
- data/app/components/primer/open_project/border_grid/cell.rb +25 -0
- data/app/components/primer/open_project/border_grid.css +1 -0
- data/app/components/primer/open_project/border_grid.css.json +11 -0
- data/app/components/primer/open_project/border_grid.css.map +1 -0
- data/app/components/primer/open_project/border_grid.html.erb +7 -0
- data/app/components/primer/open_project/border_grid.pcss +35 -0
- data/app/components/primer/open_project/border_grid.rb +36 -0
- data/app/components/primer/open_project/drag_handle.css +1 -0
- data/app/components/primer/open_project/drag_handle.css.json +6 -0
- data/app/components/primer/open_project/drag_handle.css.map +1 -0
- data/app/components/primer/open_project/drag_handle.html.erb +6 -0
- data/app/components/primer/open_project/drag_handle.pcss +6 -0
- data/app/components/primer/open_project/drag_handle.rb +28 -0
- data/app/components/primer/open_project/flex_layout.html.erb +23 -0
- data/app/components/primer/open_project/flex_layout.rb +52 -0
- data/app/components/primer/open_project/grid_layout/area.rb +38 -0
- data/app/components/primer/open_project/grid_layout.html.erb +11 -0
- data/app/components/primer/open_project/grid_layout.rb +34 -0
- data/app/components/primer/open_project/page_header.css +1 -1
- data/app/components/primer/open_project/page_header.css.map +1 -1
- data/app/components/primer/open_project/page_header.pcss +4 -0
- data/app/components/primer/primer.d.ts +1 -1
- data/app/components/primer/primer.js +1 -1
- data/app/components/primer/primer.pcss +2 -0
- data/app/components/primer/primer.ts +1 -1
- data/app/helpers/primer/form_helper.rb +10 -0
- data/lib/primer/deprecations.yml +20 -0
- data/lib/primer/forms/check_box_group.html.erb +3 -0
- data/lib/primer/forms/dsl/check_box_group_input.rb +1 -5
- data/lib/primer/forms/dsl/check_box_input.rb +5 -0
- data/lib/primer/forms/dsl/radio_button_input.rb +5 -0
- data/lib/primer/forms/form_control.html.erb +1 -4
- data/lib/primer/forms/radio_button_group.html.erb +3 -0
- data/lib/primer/forms/utils.rb +2 -0
- data/lib/primer/forms/validation_message.html.erb +4 -0
- data/lib/primer/forms/validation_message.rb +14 -0
- data/lib/primer/forms.rb +16 -0
- data/lib/primer/view_components/version.rb +2 -2
- data/lib/primer/yard/component_manifest.rb +4 -0
- data/previews/primer/alpha/check_box_group_preview.rb +13 -0
- data/previews/primer/alpha/dialog_preview/with_header.html.erb +5 -0
- data/previews/primer/alpha/dialog_preview.rb +17 -0
- data/previews/primer/alpha/overlay_preview.rb +1 -1
- data/previews/primer/alpha/radio_button_group_preview.rb +13 -0
- data/previews/primer/alpha/radio_button_preview.rb +1 -1
- data/previews/primer/alpha/text_field_preview/input_group_leading_action_menu.html.erb +21 -0
- data/previews/primer/alpha/text_field_preview/input_group_leading_button.html.erb +18 -0
- data/previews/primer/alpha/text_field_preview/input_group_trailing_button.html.erb +18 -0
- data/previews/primer/alpha/text_field_preview.rb +21 -0
- data/previews/primer/beta/button_preview.rb +1 -1
- data/previews/primer/{alpha → beta}/nav_list_preview/trailing_action.html.erb +1 -1
- data/previews/primer/{alpha → beta}/nav_list_preview.rb +5 -5
- data/previews/primer/open_project/border_grid_preview.rb +42 -0
- data/previews/primer/open_project/drag_handle_preview.rb +23 -0
- data/previews/primer/open_project/flex_layout_preview.rb +73 -0
- data/previews/primer/open_project/grid_layout_preview.rb +37 -0
- data/static/arguments.json +314 -6
- data/static/audited_at.json +11 -0
- data/static/classes.json +18 -0
- data/static/constants.json +48 -0
- data/static/info_arch.json +1867 -955
- data/static/previews.json +273 -7
- data/static/statuses.json +16 -5
- metadata +46 -11
- /data/app/assets/javascripts/app/components/primer/{alpha → beta}/nav_list.d.ts +0 -0
- /data/app/components/primer/{alpha → beta}/nav_list/group.html.erb +0 -0
- /data/app/components/primer/{alpha → beta}/nav_list/item.html.erb +0 -0
- /data/app/components/primer/{alpha → beta}/nav_list.d.ts +0 -0
- /data/app/components/primer/{alpha → beta}/nav_list.html.erb +0 -0
- /data/app/components/primer/{alpha → beta}/nav_list.js +0 -0
- /data/app/components/primer/{alpha → beta}/nav_list.ts +0 -0
data/static/previews.json
CHANGED
@@ -1790,6 +1790,53 @@
|
|
1790
1790
|
}
|
1791
1791
|
]
|
1792
1792
|
},
|
1793
|
+
{
|
1794
|
+
"name": "border_grid",
|
1795
|
+
"component": "OpenProject::BorderGrid",
|
1796
|
+
"status": "open_project",
|
1797
|
+
"lookup_path": "primer/open_project/border_grid",
|
1798
|
+
"examples": [
|
1799
|
+
{
|
1800
|
+
"preview_path": "primer/open_project/border_grid/playground",
|
1801
|
+
"name": "playground",
|
1802
|
+
"snapshot": "false",
|
1803
|
+
"skip_rules": {
|
1804
|
+
"wont_fix": [
|
1805
|
+
"region"
|
1806
|
+
],
|
1807
|
+
"will_fix": [
|
1808
|
+
"color-contrast"
|
1809
|
+
]
|
1810
|
+
}
|
1811
|
+
},
|
1812
|
+
{
|
1813
|
+
"preview_path": "primer/open_project/border_grid/default",
|
1814
|
+
"name": "default",
|
1815
|
+
"snapshot": "true",
|
1816
|
+
"skip_rules": {
|
1817
|
+
"wont_fix": [
|
1818
|
+
"region"
|
1819
|
+
],
|
1820
|
+
"will_fix": [
|
1821
|
+
"color-contrast"
|
1822
|
+
]
|
1823
|
+
}
|
1824
|
+
},
|
1825
|
+
{
|
1826
|
+
"preview_path": "primer/open_project/border_grid/spacious",
|
1827
|
+
"name": "spacious",
|
1828
|
+
"snapshot": "false",
|
1829
|
+
"skip_rules": {
|
1830
|
+
"wont_fix": [
|
1831
|
+
"region"
|
1832
|
+
],
|
1833
|
+
"will_fix": [
|
1834
|
+
"color-contrast"
|
1835
|
+
]
|
1836
|
+
}
|
1837
|
+
}
|
1838
|
+
]
|
1839
|
+
},
|
1793
1840
|
{
|
1794
1841
|
"name": "box",
|
1795
1842
|
"component": "Box",
|
@@ -2403,6 +2450,19 @@
|
|
2403
2450
|
]
|
2404
2451
|
}
|
2405
2452
|
},
|
2453
|
+
{
|
2454
|
+
"preview_path": "primer/alpha/check_box_group/invalid",
|
2455
|
+
"name": "invalid",
|
2456
|
+
"snapshot": "false",
|
2457
|
+
"skip_rules": {
|
2458
|
+
"wont_fix": [
|
2459
|
+
"region"
|
2460
|
+
],
|
2461
|
+
"will_fix": [
|
2462
|
+
"color-contrast"
|
2463
|
+
]
|
2464
|
+
}
|
2465
|
+
},
|
2406
2466
|
{
|
2407
2467
|
"preview_path": "primer/alpha/check_box_group/with_caption",
|
2408
2468
|
"name": "with_caption",
|
@@ -2820,6 +2880,19 @@
|
|
2820
2880
|
]
|
2821
2881
|
}
|
2822
2882
|
},
|
2883
|
+
{
|
2884
|
+
"preview_path": "primer/alpha/dialog/with_header",
|
2885
|
+
"name": "with_header",
|
2886
|
+
"snapshot": "false",
|
2887
|
+
"skip_rules": {
|
2888
|
+
"wont_fix": [
|
2889
|
+
"region"
|
2890
|
+
],
|
2891
|
+
"will_fix": [
|
2892
|
+
"color-contrast"
|
2893
|
+
]
|
2894
|
+
}
|
2895
|
+
},
|
2823
2896
|
{
|
2824
2897
|
"preview_path": "primer/alpha/dialog/with_footer",
|
2825
2898
|
"name": "with_footer",
|
@@ -2900,6 +2973,40 @@
|
|
2900
2973
|
}
|
2901
2974
|
]
|
2902
2975
|
},
|
2976
|
+
{
|
2977
|
+
"name": "drag_handle",
|
2978
|
+
"component": "OpenProject::DragHandle",
|
2979
|
+
"status": "open_project",
|
2980
|
+
"lookup_path": "primer/open_project/drag_handle",
|
2981
|
+
"examples": [
|
2982
|
+
{
|
2983
|
+
"preview_path": "primer/open_project/drag_handle/default",
|
2984
|
+
"name": "default",
|
2985
|
+
"snapshot": "true",
|
2986
|
+
"skip_rules": {
|
2987
|
+
"wont_fix": [
|
2988
|
+
"region"
|
2989
|
+
],
|
2990
|
+
"will_fix": [
|
2991
|
+
"color-contrast"
|
2992
|
+
]
|
2993
|
+
}
|
2994
|
+
},
|
2995
|
+
{
|
2996
|
+
"preview_path": "primer/open_project/drag_handle/playground",
|
2997
|
+
"name": "playground",
|
2998
|
+
"snapshot": "false",
|
2999
|
+
"skip_rules": {
|
3000
|
+
"wont_fix": [
|
3001
|
+
"region"
|
3002
|
+
],
|
3003
|
+
"will_fix": [
|
3004
|
+
"color-contrast"
|
3005
|
+
]
|
3006
|
+
}
|
3007
|
+
}
|
3008
|
+
]
|
3009
|
+
},
|
2903
3010
|
{
|
2904
3011
|
"name": "dropdown",
|
2905
3012
|
"component": "Dropdown",
|
@@ -3228,6 +3335,79 @@
|
|
3228
3335
|
}
|
3229
3336
|
]
|
3230
3337
|
},
|
3338
|
+
{
|
3339
|
+
"name": "flex_layout",
|
3340
|
+
"component": "OpenProject::FlexLayout",
|
3341
|
+
"status": "open_project",
|
3342
|
+
"lookup_path": "primer/open_project/flex_layout",
|
3343
|
+
"examples": [
|
3344
|
+
{
|
3345
|
+
"preview_path": "primer/open_project/flex_layout/playground",
|
3346
|
+
"name": "playground",
|
3347
|
+
"snapshot": "false",
|
3348
|
+
"skip_rules": {
|
3349
|
+
"wont_fix": [
|
3350
|
+
"region"
|
3351
|
+
],
|
3352
|
+
"will_fix": [
|
3353
|
+
"color-contrast"
|
3354
|
+
]
|
3355
|
+
}
|
3356
|
+
},
|
3357
|
+
{
|
3358
|
+
"preview_path": "primer/open_project/flex_layout/default",
|
3359
|
+
"name": "default",
|
3360
|
+
"snapshot": "false",
|
3361
|
+
"skip_rules": {
|
3362
|
+
"wont_fix": [
|
3363
|
+
"region"
|
3364
|
+
],
|
3365
|
+
"will_fix": [
|
3366
|
+
"color-contrast"
|
3367
|
+
]
|
3368
|
+
}
|
3369
|
+
},
|
3370
|
+
{
|
3371
|
+
"preview_path": "primer/open_project/flex_layout/row_layout",
|
3372
|
+
"name": "row_layout",
|
3373
|
+
"snapshot": "false",
|
3374
|
+
"skip_rules": {
|
3375
|
+
"wont_fix": [
|
3376
|
+
"region"
|
3377
|
+
],
|
3378
|
+
"will_fix": [
|
3379
|
+
"color-contrast"
|
3380
|
+
]
|
3381
|
+
}
|
3382
|
+
},
|
3383
|
+
{
|
3384
|
+
"preview_path": "primer/open_project/flex_layout/column_layout",
|
3385
|
+
"name": "column_layout",
|
3386
|
+
"snapshot": "false",
|
3387
|
+
"skip_rules": {
|
3388
|
+
"wont_fix": [
|
3389
|
+
"region"
|
3390
|
+
],
|
3391
|
+
"will_fix": [
|
3392
|
+
"color-contrast"
|
3393
|
+
]
|
3394
|
+
}
|
3395
|
+
},
|
3396
|
+
{
|
3397
|
+
"preview_path": "primer/open_project/flex_layout/nested_layout",
|
3398
|
+
"name": "nested_layout",
|
3399
|
+
"snapshot": "false",
|
3400
|
+
"skip_rules": {
|
3401
|
+
"wont_fix": [
|
3402
|
+
"region"
|
3403
|
+
],
|
3404
|
+
"will_fix": [
|
3405
|
+
"color-contrast"
|
3406
|
+
]
|
3407
|
+
}
|
3408
|
+
}
|
3409
|
+
]
|
3410
|
+
},
|
3231
3411
|
{
|
3232
3412
|
"name": "form_control",
|
3233
3413
|
"component": "FormControl",
|
@@ -3314,6 +3494,40 @@
|
|
3314
3494
|
}
|
3315
3495
|
]
|
3316
3496
|
},
|
3497
|
+
{
|
3498
|
+
"name": "grid_layout",
|
3499
|
+
"component": "OpenProject::GridLayout",
|
3500
|
+
"status": "open_project",
|
3501
|
+
"lookup_path": "primer/open_project/grid_layout",
|
3502
|
+
"examples": [
|
3503
|
+
{
|
3504
|
+
"preview_path": "primer/open_project/grid_layout/playground",
|
3505
|
+
"name": "playground",
|
3506
|
+
"snapshot": "false",
|
3507
|
+
"skip_rules": {
|
3508
|
+
"wont_fix": [
|
3509
|
+
"region"
|
3510
|
+
],
|
3511
|
+
"will_fix": [
|
3512
|
+
"color-contrast"
|
3513
|
+
]
|
3514
|
+
}
|
3515
|
+
},
|
3516
|
+
{
|
3517
|
+
"preview_path": "primer/open_project/grid_layout/default",
|
3518
|
+
"name": "default",
|
3519
|
+
"snapshot": "false",
|
3520
|
+
"skip_rules": {
|
3521
|
+
"wont_fix": [
|
3522
|
+
"region"
|
3523
|
+
],
|
3524
|
+
"will_fix": [
|
3525
|
+
"color-contrast"
|
3526
|
+
]
|
3527
|
+
}
|
3528
|
+
}
|
3529
|
+
]
|
3530
|
+
},
|
3317
3531
|
{
|
3318
3532
|
"name": "heading",
|
3319
3533
|
"component": "Heading",
|
@@ -4242,11 +4456,11 @@
|
|
4242
4456
|
{
|
4243
4457
|
"name": "nav_list",
|
4244
4458
|
"component": "NavList",
|
4245
|
-
"status": "
|
4246
|
-
"lookup_path": "primer/
|
4459
|
+
"status": "beta",
|
4460
|
+
"lookup_path": "primer/beta/nav_list",
|
4247
4461
|
"examples": [
|
4248
4462
|
{
|
4249
|
-
"preview_path": "primer/
|
4463
|
+
"preview_path": "primer/beta/nav_list/playground",
|
4250
4464
|
"name": "playground",
|
4251
4465
|
"snapshot": "false",
|
4252
4466
|
"skip_rules": {
|
@@ -4259,7 +4473,7 @@
|
|
4259
4473
|
}
|
4260
4474
|
},
|
4261
4475
|
{
|
4262
|
-
"preview_path": "primer/
|
4476
|
+
"preview_path": "primer/beta/nav_list/default",
|
4263
4477
|
"name": "default",
|
4264
4478
|
"snapshot": "true",
|
4265
4479
|
"skip_rules": {
|
@@ -4272,7 +4486,7 @@
|
|
4272
4486
|
}
|
4273
4487
|
},
|
4274
4488
|
{
|
4275
|
-
"preview_path": "primer/
|
4489
|
+
"preview_path": "primer/beta/nav_list/top_level_items",
|
4276
4490
|
"name": "top_level_items",
|
4277
4491
|
"snapshot": "false",
|
4278
4492
|
"skip_rules": {
|
@@ -4285,7 +4499,7 @@
|
|
4285
4499
|
}
|
4286
4500
|
},
|
4287
4501
|
{
|
4288
|
-
"preview_path": "primer/
|
4502
|
+
"preview_path": "primer/beta/nav_list/show_more_item",
|
4289
4503
|
"name": "show_more_item",
|
4290
4504
|
"snapshot": "true",
|
4291
4505
|
"skip_rules": {
|
@@ -4298,7 +4512,7 @@
|
|
4298
4512
|
}
|
4299
4513
|
},
|
4300
4514
|
{
|
4301
|
-
"preview_path": "primer/
|
4515
|
+
"preview_path": "primer/beta/nav_list/trailing_action",
|
4302
4516
|
"name": "trailing_action",
|
4303
4517
|
"snapshot": "true",
|
4304
4518
|
"skip_rules": {
|
@@ -4795,6 +5009,19 @@
|
|
4795
5009
|
]
|
4796
5010
|
}
|
4797
5011
|
},
|
5012
|
+
{
|
5013
|
+
"preview_path": "primer/alpha/radio_button_group/invalid",
|
5014
|
+
"name": "invalid",
|
5015
|
+
"snapshot": "true",
|
5016
|
+
"skip_rules": {
|
5017
|
+
"wont_fix": [
|
5018
|
+
"region"
|
5019
|
+
],
|
5020
|
+
"will_fix": [
|
5021
|
+
"color-contrast"
|
5022
|
+
]
|
5023
|
+
}
|
5024
|
+
},
|
4798
5025
|
{
|
4799
5026
|
"preview_path": "primer/alpha/radio_button_group/with_caption",
|
4800
5027
|
"name": "with_caption",
|
@@ -6013,6 +6240,45 @@
|
|
6013
6240
|
"color-contrast"
|
6014
6241
|
]
|
6015
6242
|
}
|
6243
|
+
},
|
6244
|
+
{
|
6245
|
+
"preview_path": "primer/alpha/text_field/input_group_leading_button",
|
6246
|
+
"name": "input_group_leading_button",
|
6247
|
+
"snapshot": "true",
|
6248
|
+
"skip_rules": {
|
6249
|
+
"wont_fix": [
|
6250
|
+
"region"
|
6251
|
+
],
|
6252
|
+
"will_fix": [
|
6253
|
+
"color-contrast"
|
6254
|
+
]
|
6255
|
+
}
|
6256
|
+
},
|
6257
|
+
{
|
6258
|
+
"preview_path": "primer/alpha/text_field/input_group_trailing_button",
|
6259
|
+
"name": "input_group_trailing_button",
|
6260
|
+
"snapshot": "true",
|
6261
|
+
"skip_rules": {
|
6262
|
+
"wont_fix": [
|
6263
|
+
"region"
|
6264
|
+
],
|
6265
|
+
"will_fix": [
|
6266
|
+
"color-contrast"
|
6267
|
+
]
|
6268
|
+
}
|
6269
|
+
},
|
6270
|
+
{
|
6271
|
+
"preview_path": "primer/alpha/text_field/input_group_leading_action_menu",
|
6272
|
+
"name": "input_group_leading_action_menu",
|
6273
|
+
"snapshot": "true",
|
6274
|
+
"skip_rules": {
|
6275
|
+
"wont_fix": [
|
6276
|
+
"region"
|
6277
|
+
],
|
6278
|
+
"will_fix": [
|
6279
|
+
"color-contrast"
|
6280
|
+
]
|
6281
|
+
}
|
6016
6282
|
}
|
6017
6283
|
]
|
6018
6284
|
},
|
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": "
|
37
|
-
"Primer::Alpha::NavList::Divider": "
|
38
|
-
"Primer::Alpha::NavList::Group": "
|
39
|
-
"Primer::Alpha::NavList::Heading": "
|
40
|
-
"Primer::Alpha::NavList::Item": "
|
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",
|
@@ -102,6 +107,12 @@
|
|
102
107
|
"Primer::IconButton": "deprecated",
|
103
108
|
"Primer::LayoutComponent": "deprecated",
|
104
109
|
"Primer::Navigation::TabComponent": "deprecated",
|
110
|
+
"Primer::OpenProject::BorderGrid": "open_project",
|
111
|
+
"Primer::OpenProject::BorderGrid::Cell": "open_project",
|
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",
|
105
116
|
"Primer::OpenProject::PageHeader": "open_project",
|
106
117
|
"Primer::Tooltip": "deprecated",
|
107
118
|
"Primer::Truncate": "deprecated"
|
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.12.1
|
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: 2023-
|
12
|
+
date: 2023-10-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionview
|
@@ -396,7 +396,6 @@ files:
|
|
396
396
|
- app/assets/javascripts/app/components/primer/alpha/dropdown/menu.d.ts
|
397
397
|
- app/assets/javascripts/app/components/primer/alpha/image_crop.d.ts
|
398
398
|
- app/assets/javascripts/app/components/primer/alpha/modal_dialog.d.ts
|
399
|
-
- app/assets/javascripts/app/components/primer/alpha/nav_list.d.ts
|
400
399
|
- app/assets/javascripts/app/components/primer/alpha/segmented_control.d.ts
|
401
400
|
- app/assets/javascripts/app/components/primer/alpha/tab_container.d.ts
|
402
401
|
- app/assets/javascripts/app/components/primer/alpha/toggle_switch.d.ts
|
@@ -405,6 +404,7 @@ files:
|
|
405
404
|
- app/assets/javascripts/app/components/primer/anchored_position.d.ts
|
406
405
|
- app/assets/javascripts/app/components/primer/beta/auto_complete/auto_complete.d.ts
|
407
406
|
- app/assets/javascripts/app/components/primer/beta/clipboard_copy.d.ts
|
407
|
+
- app/assets/javascripts/app/components/primer/beta/nav_list.d.ts
|
408
408
|
- app/assets/javascripts/app/components/primer/beta/relative_time.d.ts
|
409
409
|
- app/assets/javascripts/app/components/primer/focus_group.d.ts
|
410
410
|
- app/assets/javascripts/app/components/primer/primer.d.ts
|
@@ -516,16 +516,10 @@ files:
|
|
516
516
|
- app/components/primer/alpha/modal_dialog.js
|
517
517
|
- app/components/primer/alpha/modal_dialog.ts
|
518
518
|
- app/components/primer/alpha/multi_input.rb
|
519
|
-
- app/components/primer/alpha/nav_list.d.ts
|
520
|
-
- app/components/primer/alpha/nav_list.html.erb
|
521
|
-
- app/components/primer/alpha/nav_list.js
|
522
519
|
- app/components/primer/alpha/nav_list.rb
|
523
|
-
- app/components/primer/alpha/nav_list.ts
|
524
520
|
- app/components/primer/alpha/nav_list/divider.rb
|
525
|
-
- app/components/primer/alpha/nav_list/group.html.erb
|
526
521
|
- app/components/primer/alpha/nav_list/group.rb
|
527
522
|
- app/components/primer/alpha/nav_list/heading.rb
|
528
|
-
- app/components/primer/alpha/nav_list/item.html.erb
|
529
523
|
- app/components/primer/alpha/nav_list/item.rb
|
530
524
|
- app/components/primer/alpha/navigation/tab.html.erb
|
531
525
|
- app/components/primer/alpha/navigation/tab.rb
|
@@ -686,6 +680,17 @@ files:
|
|
686
680
|
- app/components/primer/beta/link.pcss
|
687
681
|
- app/components/primer/beta/link.rb
|
688
682
|
- app/components/primer/beta/markdown.rb
|
683
|
+
- app/components/primer/beta/nav_list.d.ts
|
684
|
+
- app/components/primer/beta/nav_list.html.erb
|
685
|
+
- app/components/primer/beta/nav_list.js
|
686
|
+
- app/components/primer/beta/nav_list.rb
|
687
|
+
- app/components/primer/beta/nav_list.ts
|
688
|
+
- app/components/primer/beta/nav_list/divider.rb
|
689
|
+
- app/components/primer/beta/nav_list/group.html.erb
|
690
|
+
- app/components/primer/beta/nav_list/group.rb
|
691
|
+
- app/components/primer/beta/nav_list/heading.rb
|
692
|
+
- app/components/primer/beta/nav_list/item.html.erb
|
693
|
+
- app/components/primer/beta/nav_list/item.rb
|
689
694
|
- app/components/primer/beta/octicon.html.erb
|
690
695
|
- app/components/primer/beta/octicon.rb
|
691
696
|
- app/components/primer/beta/popover.css
|
@@ -746,6 +751,25 @@ files:
|
|
746
751
|
- app/components/primer/layout_component.html.erb
|
747
752
|
- app/components/primer/layout_component.rb
|
748
753
|
- app/components/primer/navigation/tab_component.rb
|
754
|
+
- app/components/primer/open_project/border_grid.css
|
755
|
+
- app/components/primer/open_project/border_grid.css.json
|
756
|
+
- app/components/primer/open_project/border_grid.css.map
|
757
|
+
- app/components/primer/open_project/border_grid.html.erb
|
758
|
+
- app/components/primer/open_project/border_grid.pcss
|
759
|
+
- app/components/primer/open_project/border_grid.rb
|
760
|
+
- app/components/primer/open_project/border_grid/cell.html.erb
|
761
|
+
- app/components/primer/open_project/border_grid/cell.rb
|
762
|
+
- app/components/primer/open_project/drag_handle.css
|
763
|
+
- app/components/primer/open_project/drag_handle.css.json
|
764
|
+
- app/components/primer/open_project/drag_handle.css.map
|
765
|
+
- app/components/primer/open_project/drag_handle.html.erb
|
766
|
+
- app/components/primer/open_project/drag_handle.pcss
|
767
|
+
- app/components/primer/open_project/drag_handle.rb
|
768
|
+
- app/components/primer/open_project/flex_layout.html.erb
|
769
|
+
- app/components/primer/open_project/flex_layout.rb
|
770
|
+
- app/components/primer/open_project/grid_layout.html.erb
|
771
|
+
- app/components/primer/open_project/grid_layout.rb
|
772
|
+
- app/components/primer/open_project/grid_layout/area.rb
|
749
773
|
- app/components/primer/open_project/page_header.css
|
750
774
|
- app/components/primer/open_project/page_header.css.json
|
751
775
|
- app/components/primer/open_project/page_header.css.map
|
@@ -827,6 +851,7 @@ files:
|
|
827
851
|
- lib/primer/deprecations.yml
|
828
852
|
- lib/primer/example_image.rb
|
829
853
|
- lib/primer/form_components.rb
|
854
|
+
- lib/primer/forms.rb
|
830
855
|
- lib/primer/forms/acts_as_component.rb
|
831
856
|
- lib/primer/forms/base.html.erb
|
832
857
|
- lib/primer/forms/base.rb
|
@@ -901,6 +926,8 @@ files:
|
|
901
926
|
- lib/primer/forms/toggle_switch_input.js
|
902
927
|
- lib/primer/forms/toggle_switch_input.ts
|
903
928
|
- lib/primer/forms/utils.rb
|
929
|
+
- lib/primer/forms/validation_message.html.erb
|
930
|
+
- lib/primer/forms/validation_message.rb
|
904
931
|
- lib/primer/static.rb
|
905
932
|
- lib/primer/static/generate_arguments.rb
|
906
933
|
- lib/primer/static/generate_audited_at.rb
|
@@ -1012,6 +1039,7 @@ files:
|
|
1012
1039
|
- previews/primer/alpha/dialog_preview/test.html.erb
|
1013
1040
|
- previews/primer/alpha/dialog_preview/with_footer.html.erb
|
1014
1041
|
- previews/primer/alpha/dialog_preview/with_form.html.erb
|
1042
|
+
- previews/primer/alpha/dialog_preview/with_header.html.erb
|
1015
1043
|
- previews/primer/alpha/dialog_preview/with_text_input.html.erb
|
1016
1044
|
- previews/primer/alpha/dropdown_preview.rb
|
1017
1045
|
- previews/primer/alpha/form_control_preview.rb
|
@@ -1025,8 +1053,6 @@ files:
|
|
1025
1053
|
- previews/primer/alpha/menu_preview/playground.html.erb
|
1026
1054
|
- previews/primer/alpha/multi_input_preview.rb
|
1027
1055
|
- previews/primer/alpha/multi_input_preview/playground.html.erb
|
1028
|
-
- previews/primer/alpha/nav_list_preview.rb
|
1029
|
-
- previews/primer/alpha/nav_list_preview/trailing_action.html.erb
|
1030
1056
|
- previews/primer/alpha/overlay_preview.rb
|
1031
1057
|
- previews/primer/alpha/overlay_preview/in_an_action_menu.html.erb
|
1032
1058
|
- previews/primer/alpha/overlay_preview/middle_of_page.html.erb
|
@@ -1043,6 +1069,9 @@ files:
|
|
1043
1069
|
- previews/primer/alpha/tab_panels_preview/with_extra.html.erb
|
1044
1070
|
- previews/primer/alpha/text_area_preview.rb
|
1045
1071
|
- previews/primer/alpha/text_field_preview.rb
|
1072
|
+
- previews/primer/alpha/text_field_preview/input_group_leading_action_menu.html.erb
|
1073
|
+
- previews/primer/alpha/text_field_preview/input_group_leading_button.html.erb
|
1074
|
+
- previews/primer/alpha/text_field_preview/input_group_trailing_button.html.erb
|
1046
1075
|
- previews/primer/alpha/toggle_switch_preview.rb
|
1047
1076
|
- previews/primer/alpha/tooltip_preview.rb
|
1048
1077
|
- previews/primer/alpha/tooltip_preview/tooltip_inside_primer_overlay.html.erb
|
@@ -1086,6 +1115,8 @@ files:
|
|
1086
1115
|
- previews/primer/beta/label_preview.rb
|
1087
1116
|
- previews/primer/beta/link_preview.rb
|
1088
1117
|
- previews/primer/beta/markdown_preview.rb
|
1118
|
+
- previews/primer/beta/nav_list_preview.rb
|
1119
|
+
- previews/primer/beta/nav_list_preview/trailing_action.html.erb
|
1089
1120
|
- previews/primer/beta/octicon_preview.rb
|
1090
1121
|
- previews/primer/beta/popover_preview.rb
|
1091
1122
|
- previews/primer/beta/progress_bar_preview.rb
|
@@ -1118,6 +1149,10 @@ files:
|
|
1118
1149
|
- previews/primer/forms_preview/single_text_field_form.html.erb
|
1119
1150
|
- previews/primer/forms_preview/submit_button_form.html.erb
|
1120
1151
|
- previews/primer/forms_preview/text_field_and_checkbox_form.html.erb
|
1152
|
+
- previews/primer/open_project/border_grid_preview.rb
|
1153
|
+
- previews/primer/open_project/drag_handle_preview.rb
|
1154
|
+
- previews/primer/open_project/flex_layout_preview.rb
|
1155
|
+
- previews/primer/open_project/grid_layout_preview.rb
|
1121
1156
|
- previews/primer/open_project/page_header_preview.rb
|
1122
1157
|
- previews/primer/open_project/page_header_preview/actions.html.erb
|
1123
1158
|
- previews/primer/url_helpers.rb
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|