primer_view_components 0.3.1 → 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 +16 -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_menu/action_menu_element.d.ts +2 -2
- 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/beta/link.css +1 -1
- data/app/components/primer/beta/link.css.map +1 -1
- data/app/components/primer/beta/link.pcss +4 -0
- data/app/components/primer/beta/link.rb +6 -10
- 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/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 +2 -2
- 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 +51 -7
- data/static/audited_at.json +3 -0
- data/static/classes.json +21 -0
- data/static/constants.json +20 -6
- data/static/info_arch.json +669 -7
- data/static/previews.json +571 -0
- data/static/statuses.json +3 -0
- metadata +43 -8
data/static/statuses.json
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
{
|
2
|
+
"Primer::Alpha::ActionBar": "alpha",
|
3
|
+
"Primer::Alpha::ActionBar::Divider": "alpha",
|
4
|
+
"Primer::Alpha::ActionBar::Item": "alpha",
|
2
5
|
"Primer::Alpha::ActionList": "alpha",
|
3
6
|
"Primer::Alpha::ActionList::Divider": "alpha",
|
4
7
|
"Primer::Alpha::ActionList::FormWrapper": "alpha",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: primer_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub Open Source
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -120,28 +120,28 @@ dependencies:
|
|
120
120
|
requirements:
|
121
121
|
- - "~>"
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version:
|
123
|
+
version: 3.39.2
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version:
|
130
|
+
version: 3.39.2
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: cuprite
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- -
|
135
|
+
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version:
|
137
|
+
version: 0.14.3
|
138
138
|
type: :development
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
|
-
- -
|
142
|
+
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
144
|
+
version: 0.14.3
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: erb_lint
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
@@ -390,10 +390,42 @@ files:
|
|
390
390
|
- CHANGELOG.md
|
391
391
|
- LICENSE.txt
|
392
392
|
- README.md
|
393
|
+
- app/assets/javascripts/app/components/primer/alpha/action_bar_element.d.ts
|
394
|
+
- app/assets/javascripts/app/components/primer/alpha/action_menu/action_menu_element.d.ts
|
395
|
+
- app/assets/javascripts/app/components/primer/alpha/dropdown.d.ts
|
396
|
+
- app/assets/javascripts/app/components/primer/alpha/dropdown/menu.d.ts
|
397
|
+
- app/assets/javascripts/app/components/primer/alpha/image_crop.d.ts
|
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
|
+
- app/assets/javascripts/app/components/primer/alpha/segmented_control.d.ts
|
401
|
+
- app/assets/javascripts/app/components/primer/alpha/tab_container.d.ts
|
402
|
+
- app/assets/javascripts/app/components/primer/alpha/toggle_switch.d.ts
|
403
|
+
- app/assets/javascripts/app/components/primer/alpha/tool_tip.d.ts
|
404
|
+
- app/assets/javascripts/app/components/primer/alpha/x_banner.d.ts
|
405
|
+
- app/assets/javascripts/app/components/primer/anchored_position.d.ts
|
406
|
+
- app/assets/javascripts/app/components/primer/beta/auto_complete/auto_complete.d.ts
|
407
|
+
- app/assets/javascripts/app/components/primer/beta/clipboard_copy.d.ts
|
408
|
+
- app/assets/javascripts/app/components/primer/beta/relative_time.d.ts
|
409
|
+
- app/assets/javascripts/app/components/primer/focus_group.d.ts
|
410
|
+
- app/assets/javascripts/app/components/primer/primer.d.ts
|
411
|
+
- app/assets/javascripts/lib/primer/forms/primer_multi_input.d.ts
|
412
|
+
- app/assets/javascripts/lib/primer/forms/primer_text_field.d.ts
|
413
|
+
- app/assets/javascripts/lib/primer/forms/toggle_switch_input.d.ts
|
393
414
|
- app/assets/javascripts/primer_view_components.js
|
394
415
|
- app/assets/javascripts/primer_view_components.js.map
|
395
416
|
- app/assets/styles/primer_view_components.css
|
396
417
|
- app/assets/styles/primer_view_components.css.map
|
418
|
+
- app/components/primer/alpha/action_bar.css
|
419
|
+
- app/components/primer/alpha/action_bar.css.json
|
420
|
+
- app/components/primer/alpha/action_bar.css.map
|
421
|
+
- app/components/primer/alpha/action_bar.html.erb
|
422
|
+
- app/components/primer/alpha/action_bar.pcss
|
423
|
+
- app/components/primer/alpha/action_bar.rb
|
424
|
+
- app/components/primer/alpha/action_bar/divider.rb
|
425
|
+
- app/components/primer/alpha/action_bar/item.rb
|
426
|
+
- app/components/primer/alpha/action_bar_element.d.ts
|
427
|
+
- app/components/primer/alpha/action_bar_element.js
|
428
|
+
- app/components/primer/alpha/action_bar_element.ts
|
397
429
|
- app/components/primer/alpha/action_list.css
|
398
430
|
- app/components/primer/alpha/action_list.css.json
|
399
431
|
- app/components/primer/alpha/action_list.css.map
|
@@ -946,6 +978,8 @@ files:
|
|
946
978
|
- previews/pages/forms/07_toggle_switch_forms.md.erb
|
947
979
|
- previews/pages/forms/08_validations.md.erb
|
948
980
|
- previews/pages/forms/09_compound_forms.md.erb
|
981
|
+
- previews/primer/alpha/action_bar_preview.rb
|
982
|
+
- previews/primer/alpha/action_bar_preview/inline.html.erb
|
949
983
|
- previews/primer/alpha/action_list_preview.rb
|
950
984
|
- previews/primer/alpha/action_menu_preview.rb
|
951
985
|
- previews/primer/alpha/action_menu_preview/align_end.html.erb
|
@@ -1002,6 +1036,7 @@ files:
|
|
1002
1036
|
- previews/primer/alpha/text_field_preview.rb
|
1003
1037
|
- previews/primer/alpha/toggle_switch_preview.rb
|
1004
1038
|
- previews/primer/alpha/tooltip_preview.rb
|
1039
|
+
- previews/primer/alpha/tooltip_preview/tooltip_inside_primer_overlay.html.erb
|
1005
1040
|
- previews/primer/alpha/tooltip_preview/with_multiple_on_a_page.html.erb
|
1006
1041
|
- previews/primer/alpha/tooltip_preview/with_right_most_position.html.erb
|
1007
1042
|
- previews/primer/alpha/underline_nav_preview.rb
|