primer_view_components 0.3.0 → 0.4.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 +22 -0
- data/app/assets/javascripts/app/components/primer/alpha/action_bar_element.d.ts +16 -0
- data/app/assets/javascripts/app/components/primer/alpha/action_menu/action_menu_element.d.ts +30 -0
- data/app/assets/javascripts/app/components/primer/alpha/dropdown/menu.d.ts +1 -0
- data/app/assets/javascripts/app/components/primer/alpha/dropdown.d.ts +1 -0
- data/app/assets/javascripts/app/components/primer/alpha/image_crop.d.ts +1 -0
- data/app/assets/javascripts/app/components/primer/alpha/modal_dialog.d.ts +18 -0
- data/app/assets/javascripts/app/components/primer/alpha/nav_list.d.ts +28 -0
- data/app/assets/javascripts/app/components/primer/alpha/segmented_control.d.ts +12 -0
- data/app/assets/javascripts/app/components/primer/alpha/tab_container.d.ts +1 -0
- data/app/assets/javascripts/app/components/primer/alpha/toggle_switch.d.ts +30 -0
- data/app/assets/javascripts/app/components/primer/alpha/tool_tip.d.ts +26 -0
- data/app/assets/javascripts/app/components/primer/alpha/x_banner.d.ts +11 -0
- data/app/assets/javascripts/app/components/primer/anchored_position.d.ts +27 -0
- data/app/assets/javascripts/app/components/primer/beta/auto_complete/auto_complete.d.ts +1 -0
- data/app/assets/javascripts/app/components/primer/beta/clipboard_copy.d.ts +1 -0
- data/app/assets/javascripts/app/components/primer/beta/relative_time.d.ts +1 -0
- data/app/assets/javascripts/app/components/primer/focus_group.d.ts +19 -0
- data/app/assets/javascripts/app/components/primer/primer.d.ts +21 -0
- data/app/assets/javascripts/lib/primer/forms/primer_multi_input.d.ts +10 -0
- data/app/assets/javascripts/lib/primer/forms/primer_text_field.d.ts +1 -0
- data/app/assets/javascripts/lib/primer/forms/toggle_switch_input.d.ts +5 -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_bar/divider.rb +30 -0
- data/app/components/primer/alpha/action_bar/item.rb +26 -0
- data/app/components/primer/alpha/action_bar.css +1 -0
- data/app/components/primer/alpha/action_bar.css.json +17 -0
- data/app/components/primer/alpha/action_bar.css.map +1 -0
- data/app/components/primer/alpha/action_bar.html.erb +12 -0
- data/app/components/primer/alpha/action_bar.pcss +69 -0
- data/app/components/primer/alpha/action_bar.rb +110 -0
- data/app/components/primer/alpha/action_bar_element.d.ts +16 -0
- data/app/components/primer/alpha/action_bar_element.js +172 -0
- data/app/components/primer/alpha/action_bar_element.ts +175 -0
- data/app/components/primer/alpha/action_list.css +1 -1
- data/app/components/primer/alpha/action_list.css.map +1 -1
- data/app/components/primer/alpha/action_list.pcss +42 -42
- data/app/components/primer/alpha/action_menu/action_menu_element.d.ts +2 -2
- data/app/components/primer/alpha/auto_complete.css +1 -1
- data/app/components/primer/alpha/auto_complete.css.map +1 -1
- data/app/components/primer/alpha/auto_complete.pcss +10 -10
- data/app/components/primer/alpha/banner.css +1 -1
- data/app/components/primer/alpha/banner.css.map +1 -1
- data/app/components/primer/alpha/banner.pcss +16 -16
- data/app/components/primer/alpha/button_marketing.css +1 -1
- data/app/components/primer/alpha/button_marketing.css.map +1 -1
- data/app/components/primer/alpha/button_marketing.pcss +9 -9
- data/app/components/primer/alpha/dialog.css +1 -1
- data/app/components/primer/alpha/dialog.css.map +1 -1
- data/app/components/primer/alpha/dialog.pcss +9 -9
- 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 +16 -16
- data/app/components/primer/alpha/layout.css +1 -1
- data/app/components/primer/alpha/layout.css.map +1 -1
- data/app/components/primer/alpha/layout.pcss +3 -3
- data/app/components/primer/alpha/menu.css +1 -1
- data/app/components/primer/alpha/menu.css.map +1 -1
- data/app/components/primer/alpha/menu.pcss +13 -13
- 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 +6 -6
- data/app/components/primer/alpha/tab_nav.css +1 -1
- data/app/components/primer/alpha/tab_nav.css.map +1 -1
- data/app/components/primer/alpha/tab_nav.pcss +10 -10
- data/app/components/primer/alpha/text_field.css +1 -1
- data/app/components/primer/alpha/text_field.css.map +1 -1
- data/app/components/primer/alpha/text_field.pcss +38 -38
- data/app/components/primer/alpha/toggle_switch.css +1 -1
- data/app/components/primer/alpha/toggle_switch.css.map +1 -1
- data/app/components/primer/alpha/toggle_switch.pcss +23 -23
- data/app/components/primer/alpha/tool_tip.d.ts +3 -2
- data/app/components/primer/alpha/tool_tip.js +89 -44
- data/app/components/primer/alpha/tool_tip.ts +88 -41
- data/app/components/primer/alpha/tooltip.rb +1 -0
- data/app/components/primer/alpha/underline_nav.css +1 -1
- data/app/components/primer/alpha/underline_nav.css.map +1 -1
- data/app/components/primer/alpha/underline_nav.pcss +15 -15
- data/app/components/primer/beta/avatar.css +1 -1
- data/app/components/primer/beta/avatar.css.map +1 -1
- data/app/components/primer/beta/avatar.pcss +2 -2
- data/app/components/primer/beta/avatar_stack.css +1 -1
- data/app/components/primer/beta/avatar_stack.css.map +1 -1
- data/app/components/primer/beta/avatar_stack.pcss +10 -10
- data/app/components/primer/beta/blankslate.css +1 -1
- data/app/components/primer/beta/blankslate.css.map +1 -1
- data/app/components/primer/beta/blankslate.pcss +4 -4
- data/app/components/primer/beta/border_box.css +1 -1
- data/app/components/primer/beta/border_box.css.map +1 -1
- data/app/components/primer/beta/border_box.pcss +31 -31
- 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 +2 -2
- data/app/components/primer/beta/button.css +1 -1
- data/app/components/primer/beta/button.css.map +1 -1
- data/app/components/primer/beta/button.pcss +70 -70
- data/app/components/primer/beta/counter.css +1 -1
- data/app/components/primer/beta/counter.css.map +1 -1
- data/app/components/primer/beta/counter.pcss +7 -7
- data/app/components/primer/beta/flash.css +1 -1
- data/app/components/primer/beta/flash.css.map +1 -1
- data/app/components/primer/beta/flash.pcss +19 -19
- data/app/components/primer/beta/label.css +1 -1
- data/app/components/primer/beta/label.css.map +1 -1
- data/app/components/primer/beta/label.pcss +23 -23
- data/app/components/primer/beta/link.css +1 -1
- data/app/components/primer/beta/link.css.map +1 -1
- data/app/components/primer/beta/link.pcss +12 -8
- data/app/components/primer/beta/link.rb +6 -10
- 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 +10 -10
- data/app/components/primer/beta/progress_bar.css +1 -1
- data/app/components/primer/beta/progress_bar.css.map +1 -1
- data/app/components/primer/beta/progress_bar.pcss +1 -1
- data/app/components/primer/beta/state.css +1 -1
- data/app/components/primer/beta/state.css.map +1 -1
- data/app/components/primer/beta/state.pcss +8 -8
- data/app/components/primer/beta/subhead.css +1 -1
- data/app/components/primer/beta/subhead.css.map +1 -1
- data/app/components/primer/beta/subhead.pcss +3 -3
- data/app/components/primer/beta/timeline_item.css +1 -1
- data/app/components/primer/beta/timeline_item.css.map +1 -1
- data/app/components/primer/beta/timeline_item.pcss +13 -13
- data/app/components/primer/primer.d.ts +1 -0
- data/app/components/primer/primer.js +1 -0
- data/app/components/primer/primer.pcss +1 -0
- data/app/components/primer/primer.ts +1 -0
- data/lib/postcss_mixins/activeIndicatorLine.pcss +1 -1
- data/lib/postcss_mixins/focusBoxShadowInset.pcss +2 -2
- data/lib/postcss_mixins/focusOutline.pcss +1 -1
- data/lib/postcss_mixins/focusOutlineOnEmphasis.pcss +2 -2
- data/lib/postcss_mixins/targetBoxShadow.pcss +1 -2
- data/lib/primer/static/generate_previews.rb +9 -0
- data/lib/primer/view_components/linters/tooltipped_migration.rb +1 -3
- data/lib/primer/view_components/version.rb +1 -1
- data/lib/primer/yard.rb +5 -0
- data/previews/primer/alpha/action_bar_preview/inline.html.erb +16 -0
- data/previews/primer/alpha/action_bar_preview.rb +77 -0
- data/previews/primer/alpha/action_list_preview.rb +10 -0
- data/previews/primer/alpha/action_menu_preview.rb +5 -0
- data/previews/primer/alpha/auto_complete_preview.rb +1 -0
- data/previews/primer/alpha/banner_preview.rb +9 -1
- data/previews/primer/alpha/button_marketing_preview.rb +2 -0
- data/previews/primer/alpha/check_box_group_preview.rb +1 -0
- data/previews/primer/alpha/check_box_preview.rb +6 -0
- data/previews/primer/alpha/dialog_preview.rb +1 -0
- data/previews/primer/alpha/dropdown_preview.rb +1 -0
- data/previews/primer/alpha/hellip_button_preview.rb +1 -0
- data/previews/primer/alpha/hidden_text_expander_preview.rb +1 -0
- data/previews/primer/alpha/layout_preview.rb +4 -0
- data/previews/primer/alpha/menu_preview.rb +1 -0
- data/previews/primer/alpha/multi_input_preview.rb +4 -0
- data/previews/primer/alpha/nav_list_preview.rb +3 -0
- data/previews/primer/alpha/radio_button_group_preview.rb +2 -0
- data/previews/primer/alpha/radio_button_preview.rb +10 -0
- data/previews/primer/alpha/segmented_control_preview.rb +13 -0
- data/previews/primer/alpha/select_preview.rb +6 -0
- data/previews/primer/alpha/tab_nav_preview.rb +3 -0
- data/previews/primer/alpha/tab_panels_preview.rb +1 -0
- data/previews/primer/alpha/text_area_preview.rb +7 -0
- data/previews/primer/alpha/text_field_preview.rb +15 -0
- data/previews/primer/alpha/toggle_switch_preview.rb +7 -0
- data/previews/primer/alpha/tooltip_preview/tooltip_inside_primer_overlay.html.erb +20 -0
- data/previews/primer/alpha/tooltip_preview.rb +7 -0
- data/previews/primer/alpha/underline_nav_preview.rb +2 -0
- data/previews/primer/beta/auto_complete_item_preview.rb +2 -0
- data/previews/primer/beta/auto_complete_preview.rb +7 -0
- data/previews/primer/beta/avatar_preview.rb +10 -0
- data/previews/primer/beta/avatar_stack_preview.rb +3 -0
- data/previews/primer/beta/blankslate_preview.rb +9 -0
- data/previews/primer/beta/border_box_preview.rb +4 -0
- data/previews/primer/beta/breadcrumbs_preview.rb +1 -0
- data/previews/primer/beta/button_group_preview.rb +4 -0
- data/previews/primer/beta/button_preview.rb +10 -0
- data/previews/primer/beta/clipboard_copy_preview.rb +2 -0
- data/previews/primer/beta/close_button_preview.rb +1 -0
- data/previews/primer/beta/counter_preview.rb +11 -0
- data/previews/primer/beta/flash_preview.rb +8 -0
- data/previews/primer/beta/heading_preview.rb +1 -0
- data/previews/primer/beta/icon_button_preview.rb +3 -0
- data/previews/primer/beta/label_preview.rb +13 -0
- data/previews/primer/beta/link_preview.rb +11 -9
- data/previews/primer/beta/markdown_preview.rb +1 -0
- data/previews/primer/beta/octicon_preview.rb +1 -0
- data/previews/primer/beta/popover_preview.rb +6 -0
- data/previews/primer/beta/progress_bar_preview.rb +4 -0
- data/previews/primer/beta/spinner_preview.rb +1 -0
- data/previews/primer/beta/state_preview.rb +6 -0
- data/previews/primer/beta/subhead_preview.rb +4 -0
- data/previews/primer/beta/text_preview.rb +1 -0
- data/previews/primer/beta/timeline_item_preview.rb +1 -0
- data/previews/primer/beta/truncate_preview.rb +1 -0
- data/previews/primer/box_preview.rb +2 -0
- data/static/arguments.json +131 -11
- data/static/audited_at.json +4 -0
- data/static/classes.json +21 -0
- data/static/constants.json +23 -6
- data/static/info_arch.json +890 -48
- data/static/previews.json +619 -0
- data/static/statuses.json +4 -0
- metadata +43 -8
data/static/arguments.json
CHANGED
@@ -1,4 +1,54 @@
|
|
1
1
|
[
|
2
|
+
{
|
3
|
+
"component": "ActionBar",
|
4
|
+
"status": "alpha",
|
5
|
+
"a11y_reviewed": false,
|
6
|
+
"short_name": "ActionBar",
|
7
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_bar.rb",
|
8
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_bar/default/",
|
9
|
+
"parameters": [
|
10
|
+
{
|
11
|
+
"name": "size",
|
12
|
+
"type": "Symbol",
|
13
|
+
"default": "`:medium`",
|
14
|
+
"description": "One of `:large`, `:medium`, or `:small`."
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"name": "overflow_menu",
|
18
|
+
"type": "Boolean",
|
19
|
+
"default": "`true`",
|
20
|
+
"description": "Whether to render the overflow menu."
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "system_arguments",
|
24
|
+
"type": "Hash",
|
25
|
+
"default": "N/A",
|
26
|
+
"description": "[System arguments](/system-arguments)"
|
27
|
+
}
|
28
|
+
]
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"component": "ActionBar::Divider",
|
32
|
+
"status": "alpha",
|
33
|
+
"a11y_reviewed": false,
|
34
|
+
"short_name": "ActionBarDivider",
|
35
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_bar/divider.rb",
|
36
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_bar/divider/default/",
|
37
|
+
"parameters": [
|
38
|
+
|
39
|
+
]
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"component": "ActionBar::Item",
|
43
|
+
"status": "alpha",
|
44
|
+
"a11y_reviewed": false,
|
45
|
+
"short_name": "ActionBarItem",
|
46
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_bar/item.rb",
|
47
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_bar/item/default/",
|
48
|
+
"parameters": [
|
49
|
+
|
50
|
+
]
|
51
|
+
},
|
2
52
|
{
|
3
53
|
"component": "ActionList",
|
4
54
|
"status": "alpha",
|
@@ -540,6 +590,12 @@
|
|
540
590
|
"default": "`:button`",
|
541
591
|
"description": "One of `:button` or `:submit`."
|
542
592
|
},
|
593
|
+
{
|
594
|
+
"name": "disabled",
|
595
|
+
"type": "Boolean",
|
596
|
+
"default": "`false`",
|
597
|
+
"description": "Whether or not the button is disabled. If true, this option forces `tag:` to `:button`."
|
598
|
+
},
|
543
599
|
{
|
544
600
|
"name": "system_arguments",
|
545
601
|
"type": "Hash",
|
@@ -1063,6 +1119,12 @@
|
|
1063
1119
|
"default": "`false`",
|
1064
1120
|
"description": "Whether or not the button is inline."
|
1065
1121
|
},
|
1122
|
+
{
|
1123
|
+
"name": "disabled",
|
1124
|
+
"type": "Boolean",
|
1125
|
+
"default": "`false`",
|
1126
|
+
"description": "Whether or not the button is disabled."
|
1127
|
+
},
|
1066
1128
|
{
|
1067
1129
|
"name": "system_arguments",
|
1068
1130
|
"type": "Hash",
|
@@ -1428,6 +1490,40 @@
|
|
1428
1490
|
}
|
1429
1491
|
]
|
1430
1492
|
},
|
1493
|
+
{
|
1494
|
+
"component": "NavList::Heading",
|
1495
|
+
"status": "alpha",
|
1496
|
+
"a11y_reviewed": false,
|
1497
|
+
"short_name": "NavListHeading",
|
1498
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list/heading.rb",
|
1499
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/nav_list/heading/default/",
|
1500
|
+
"parameters": [
|
1501
|
+
{
|
1502
|
+
"name": "title",
|
1503
|
+
"type": "String",
|
1504
|
+
"default": "N/A",
|
1505
|
+
"description": "The text content of the heading."
|
1506
|
+
},
|
1507
|
+
{
|
1508
|
+
"name": "id",
|
1509
|
+
"type": "String",
|
1510
|
+
"default": "`self.class.generate_id`",
|
1511
|
+
"description": "The value of the ID HTML attribute. Auto-generated by default."
|
1512
|
+
},
|
1513
|
+
{
|
1514
|
+
"name": "heading_level",
|
1515
|
+
"type": "Integer",
|
1516
|
+
"default": "`2`",
|
1517
|
+
"description": "The heading level, i.e. 2 for an `<h2>`, 3 for an `<h3>`, etc."
|
1518
|
+
},
|
1519
|
+
{
|
1520
|
+
"name": "system_arguments",
|
1521
|
+
"type": "Hash",
|
1522
|
+
"default": "N/A",
|
1523
|
+
"description": "[System arguments](/system-arguments)"
|
1524
|
+
}
|
1525
|
+
]
|
1526
|
+
},
|
1431
1527
|
{
|
1432
1528
|
"component": "NavList::Item",
|
1433
1529
|
"status": "alpha",
|
@@ -2985,6 +3081,12 @@
|
|
2985
3081
|
"default": "`false`",
|
2986
3082
|
"description": "Whether button is full-width with `display: block`."
|
2987
3083
|
},
|
3084
|
+
{
|
3085
|
+
"name": "disabled",
|
3086
|
+
"type": "Boolean",
|
3087
|
+
"default": "`false`",
|
3088
|
+
"description": "Whether or not the button is disabled. If true, this option forces `tag:` to `:button`."
|
3089
|
+
},
|
2988
3090
|
{
|
2989
3091
|
"name": "system_arguments",
|
2990
3092
|
"type": "Hash",
|
@@ -3136,6 +3238,12 @@
|
|
3136
3238
|
"default": "`:button`",
|
3137
3239
|
"description": "One of `:button`, `:reset`, or `:submit`."
|
3138
3240
|
},
|
3241
|
+
{
|
3242
|
+
"name": "disabled",
|
3243
|
+
"type": "Boolean",
|
3244
|
+
"default": "`false`",
|
3245
|
+
"description": "Whether or not the button is disabled. If true, this option forces `tag:` to `:button`."
|
3246
|
+
},
|
3139
3247
|
{
|
3140
3248
|
"name": "system_arguments",
|
3141
3249
|
"type": "Hash",
|
@@ -3220,6 +3328,12 @@
|
|
3220
3328
|
"default": "`:button`",
|
3221
3329
|
"description": "One of `:button` or `:submit`."
|
3222
3330
|
},
|
3331
|
+
{
|
3332
|
+
"name": "disabled",
|
3333
|
+
"type": "Boolean",
|
3334
|
+
"default": "`false`",
|
3335
|
+
"description": "Whether or not the button is disabled."
|
3336
|
+
},
|
3223
3337
|
{
|
3224
3338
|
"name": "system_arguments",
|
3225
3339
|
"type": "Hash",
|
@@ -3300,6 +3414,12 @@
|
|
3300
3414
|
"default": "`false`",
|
3301
3415
|
"description": "Defaults to false. If set to true, it will remove the default caret and remove style from the summary element"
|
3302
3416
|
},
|
3417
|
+
{
|
3418
|
+
"name": "disabled",
|
3419
|
+
"type": "Boolean",
|
3420
|
+
"default": "`false`",
|
3421
|
+
"description": "Whether or not to disable the summary button."
|
3422
|
+
},
|
3303
3423
|
{
|
3304
3424
|
"name": "system_arguments",
|
3305
3425
|
"type": "Hash",
|
@@ -3390,6 +3510,12 @@
|
|
3390
3510
|
"default": "N/A",
|
3391
3511
|
"description": "Name of [Octicon](https://primer.style/octicons/) to use."
|
3392
3512
|
},
|
3513
|
+
{
|
3514
|
+
"name": "tag",
|
3515
|
+
"type": "Symbol",
|
3516
|
+
"default": "N/A",
|
3517
|
+
"description": "One of `:a`, `:button`, or `:summary`."
|
3518
|
+
},
|
3393
3519
|
{
|
3394
3520
|
"name": "wrapper_arguments",
|
3395
3521
|
"type": "Hash",
|
@@ -3409,10 +3535,10 @@
|
|
3409
3535
|
"description": "One of `:large`, `:medium`, or `:small`."
|
3410
3536
|
},
|
3411
3537
|
{
|
3412
|
-
"name": "
|
3413
|
-
"type": "
|
3414
|
-
"default": "
|
3415
|
-
"description": "
|
3538
|
+
"name": "disabled",
|
3539
|
+
"type": "Boolean",
|
3540
|
+
"default": "`false`",
|
3541
|
+
"description": "Whether or not the button is disabled. If true, this option forces `tag:` to `:button`."
|
3416
3542
|
},
|
3417
3543
|
{
|
3418
3544
|
"name": "type",
|
@@ -3506,17 +3632,11 @@
|
|
3506
3632
|
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/beta/link.rb",
|
3507
3633
|
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/beta/link/default/",
|
3508
3634
|
"parameters": [
|
3509
|
-
{
|
3510
|
-
"name": "tag",
|
3511
|
-
"type": "String",
|
3512
|
-
"default": "`:a`",
|
3513
|
-
"description": "One of `:a` or `:span`."
|
3514
|
-
},
|
3515
3635
|
{
|
3516
3636
|
"name": "href",
|
3517
3637
|
"type": "String",
|
3518
3638
|
"default": "`nil`",
|
3519
|
-
"description": "URL to be used for the Link. Required
|
3639
|
+
"description": "URL to be used for the Link. Required. If the requirements are not met an error will be raised in non production environments. In production, an empty link element will be rendered."
|
3520
3640
|
},
|
3521
3641
|
{
|
3522
3642
|
"name": "scheme",
|
data/static/audited_at.json
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
{
|
2
|
+
"Primer::Alpha::ActionBar": "",
|
3
|
+
"Primer::Alpha::ActionBar::Divider": "",
|
4
|
+
"Primer::Alpha::ActionBar::Item": "",
|
2
5
|
"Primer::Alpha::ActionList": "",
|
3
6
|
"Primer::Alpha::ActionList::Divider": "",
|
4
7
|
"Primer::Alpha::ActionList::FormWrapper": "",
|
@@ -33,6 +36,7 @@
|
|
33
36
|
"Primer::Alpha::NavList": "",
|
34
37
|
"Primer::Alpha::NavList::Divider": "",
|
35
38
|
"Primer::Alpha::NavList::Group": "",
|
39
|
+
"Primer::Alpha::NavList::Heading": "",
|
36
40
|
"Primer::Alpha::NavList::Item": "",
|
37
41
|
"Primer::Alpha::Navigation::Tab": "",
|
38
42
|
"Primer::Alpha::OcticonSymbols": "",
|
data/static/classes.json
CHANGED
@@ -1,4 +1,25 @@
|
|
1
1
|
{
|
2
|
+
"ActionBar": [
|
3
|
+
"Primer::Alpha::ActionBar"
|
4
|
+
],
|
5
|
+
"ActionBar--large": [
|
6
|
+
"Primer::Alpha::ActionBar"
|
7
|
+
],
|
8
|
+
"ActionBar--small": [
|
9
|
+
"Primer::Alpha::ActionBar"
|
10
|
+
],
|
11
|
+
"ActionBar-divider": [
|
12
|
+
"Primer::Alpha::ActionBar"
|
13
|
+
],
|
14
|
+
"ActionBar-item": [
|
15
|
+
"Primer::Alpha::ActionBar"
|
16
|
+
],
|
17
|
+
"ActionBar-item-container": [
|
18
|
+
"Primer::Alpha::ActionBar"
|
19
|
+
],
|
20
|
+
"ActionBar-more-menu": [
|
21
|
+
"Primer::Alpha::ActionBar"
|
22
|
+
],
|
2
23
|
"ActionList-sectionDivider": [
|
3
24
|
"Primer::Alpha::ActionList"
|
4
25
|
],
|
data/static/constants.json
CHANGED
@@ -1,4 +1,23 @@
|
|
1
1
|
{
|
2
|
+
"Primer::Alpha::ActionBar": {
|
3
|
+
"DEFAULT_SIZE": "medium",
|
4
|
+
"Divider": "Primer::Alpha::ActionBar::Divider",
|
5
|
+
"Item": "Primer::Alpha::ActionBar::Item",
|
6
|
+
"SIZE_MAPPINGS": {
|
7
|
+
"medium": null,
|
8
|
+
"small": "ActionBar--small",
|
9
|
+
"large": "ActionBar--large"
|
10
|
+
},
|
11
|
+
"SIZE_OPTIONS": [
|
12
|
+
"medium",
|
13
|
+
"small",
|
14
|
+
"large"
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"Primer::Alpha::ActionBar::Divider": {
|
18
|
+
},
|
19
|
+
"Primer::Alpha::ActionBar::Item": {
|
20
|
+
},
|
2
21
|
"Primer::Alpha::ActionList": {
|
3
22
|
"DEFAULT_MENU_ITEM_ROLE": "menuitem",
|
4
23
|
"DEFAULT_ROLE": "list",
|
@@ -382,12 +401,15 @@
|
|
382
401
|
"Primer::Alpha::NavList": {
|
383
402
|
"Divider": "Primer::Alpha::NavList::Divider",
|
384
403
|
"Group": "Primer::Alpha::NavList::Group",
|
404
|
+
"Heading": "Primer::Alpha::NavList::Heading",
|
385
405
|
"Item": "Primer::Alpha::NavList::Item"
|
386
406
|
},
|
387
407
|
"Primer::Alpha::NavList::Divider": {
|
388
408
|
},
|
389
409
|
"Primer::Alpha::NavList::Group": {
|
390
410
|
},
|
411
|
+
"Primer::Alpha::NavList::Heading": {
|
412
|
+
},
|
391
413
|
"Primer::Alpha::NavList::Item": {
|
392
414
|
},
|
393
415
|
"Primer::Alpha::Navigation::Tab": {
|
@@ -926,16 +948,11 @@
|
|
926
948
|
},
|
927
949
|
"Primer::Beta::Link": {
|
928
950
|
"DEFAULT_SCHEME": "default",
|
929
|
-
"DEFAULT_TAG": "a",
|
930
951
|
"SCHEME_MAPPINGS": {
|
931
952
|
"default": "",
|
932
953
|
"primary": "Link--primary",
|
933
954
|
"secondary": "Link--secondary"
|
934
|
-
}
|
935
|
-
"TAG_OPTIONS": [
|
936
|
-
"a",
|
937
|
-
"span"
|
938
|
-
]
|
955
|
+
}
|
939
956
|
},
|
940
957
|
"Primer::Beta::Markdown": {
|
941
958
|
"DEFAULT_TAG": "div",
|