primer_view_components 0.20.1 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/app/assets/javascripts/primer_view_components.js +1 -1
  4. data/app/assets/javascripts/primer_view_components.js.map +1 -1
  5. data/app/assets/styles/primer_view_components.css +1 -1
  6. data/app/assets/styles/primer_view_components.css.map +1 -1
  7. data/app/components/primer/alpha/banner.css +1 -1
  8. data/app/components/primer/alpha/banner.css.map +1 -1
  9. data/app/components/primer/alpha/banner.pcss +4 -4
  10. data/app/components/primer/alpha/dialog.css +1 -1
  11. data/app/components/primer/alpha/dialog.css.json +1 -2
  12. data/app/components/primer/alpha/dialog.css.map +1 -1
  13. data/app/components/primer/alpha/dialog.pcss +8 -7
  14. data/app/components/primer/alpha/dropdown.css +1 -1
  15. data/app/components/primer/alpha/dropdown.css.map +1 -1
  16. data/app/components/primer/alpha/dropdown.pcss +1 -1
  17. data/app/components/primer/alpha/segmented_control.css +1 -1
  18. data/app/components/primer/alpha/segmented_control.css.map +1 -1
  19. data/app/components/primer/alpha/segmented_control.pcss +1 -0
  20. data/app/components/primer/alpha/tool_tip.js +46 -77
  21. data/app/components/primer/alpha/tool_tip.ts +46 -77
  22. data/app/components/primer/beta/flash.css +1 -1
  23. data/app/components/primer/beta/flash.css.map +1 -1
  24. data/app/components/primer/beta/flash.pcss +4 -4
  25. data/app/components/primer/beta/popover.css +1 -1
  26. data/app/components/primer/beta/popover.css.map +1 -1
  27. data/app/components/primer/beta/popover.pcss +3 -0
  28. data/app/components/primer/beta/popover.rb +0 -1
  29. data/lib/primer/view_components/version.rb +2 -2
  30. data/previews/primer/alpha/tooltip_preview/tooltip_e.html.erb +6 -0
  31. data/previews/primer/alpha/tooltip_preview/tooltip_n.html.erb +6 -0
  32. data/previews/primer/alpha/tooltip_preview/tooltip_ne.html.erb +6 -0
  33. data/previews/primer/alpha/tooltip_preview/tooltip_nw.html.erb +6 -0
  34. data/previews/primer/alpha/tooltip_preview/tooltip_s.html.erb +6 -0
  35. data/previews/primer/alpha/tooltip_preview/tooltip_se.html.erb +6 -0
  36. data/previews/primer/alpha/tooltip_preview/tooltip_sw.html.erb +6 -0
  37. data/previews/primer/alpha/tooltip_preview/tooltip_w.html.erb +6 -0
  38. data/previews/primer/alpha/tooltip_preview.rb +80 -0
  39. data/static/info_arch.json +104 -0
  40. data/static/previews.json +104 -0
  41. metadata +10 -2
data/static/previews.json CHANGED
@@ -6797,6 +6797,110 @@
6797
6797
  "color-contrast"
6798
6798
  ]
6799
6799
  }
6800
+ },
6801
+ {
6802
+ "preview_path": "primer/alpha/tooltip/tooltip_n",
6803
+ "name": "tooltip_n",
6804
+ "snapshot": "interactive",
6805
+ "skip_rules": {
6806
+ "wont_fix": [
6807
+ "region"
6808
+ ],
6809
+ "will_fix": [
6810
+ "color-contrast"
6811
+ ]
6812
+ }
6813
+ },
6814
+ {
6815
+ "preview_path": "primer/alpha/tooltip/tooltip_s",
6816
+ "name": "tooltip_s",
6817
+ "snapshot": "interactive",
6818
+ "skip_rules": {
6819
+ "wont_fix": [
6820
+ "region"
6821
+ ],
6822
+ "will_fix": [
6823
+ "color-contrast"
6824
+ ]
6825
+ }
6826
+ },
6827
+ {
6828
+ "preview_path": "primer/alpha/tooltip/tooltip_e",
6829
+ "name": "tooltip_e",
6830
+ "snapshot": "interactive",
6831
+ "skip_rules": {
6832
+ "wont_fix": [
6833
+ "region"
6834
+ ],
6835
+ "will_fix": [
6836
+ "color-contrast"
6837
+ ]
6838
+ }
6839
+ },
6840
+ {
6841
+ "preview_path": "primer/alpha/tooltip/tooltip_w",
6842
+ "name": "tooltip_w",
6843
+ "snapshot": "interactive",
6844
+ "skip_rules": {
6845
+ "wont_fix": [
6846
+ "region"
6847
+ ],
6848
+ "will_fix": [
6849
+ "color-contrast"
6850
+ ]
6851
+ }
6852
+ },
6853
+ {
6854
+ "preview_path": "primer/alpha/tooltip/tooltip_se",
6855
+ "name": "tooltip_se",
6856
+ "snapshot": "interactive",
6857
+ "skip_rules": {
6858
+ "wont_fix": [
6859
+ "region"
6860
+ ],
6861
+ "will_fix": [
6862
+ "color-contrast"
6863
+ ]
6864
+ }
6865
+ },
6866
+ {
6867
+ "preview_path": "primer/alpha/tooltip/tooltip_sw",
6868
+ "name": "tooltip_sw",
6869
+ "snapshot": "interactive",
6870
+ "skip_rules": {
6871
+ "wont_fix": [
6872
+ "region"
6873
+ ],
6874
+ "will_fix": [
6875
+ "color-contrast"
6876
+ ]
6877
+ }
6878
+ },
6879
+ {
6880
+ "preview_path": "primer/alpha/tooltip/tooltip_ne",
6881
+ "name": "tooltip_ne",
6882
+ "snapshot": "interactive",
6883
+ "skip_rules": {
6884
+ "wont_fix": [
6885
+ "region"
6886
+ ],
6887
+ "will_fix": [
6888
+ "color-contrast"
6889
+ ]
6890
+ }
6891
+ },
6892
+ {
6893
+ "preview_path": "primer/alpha/tooltip/tooltip_nw",
6894
+ "name": "tooltip_nw",
6895
+ "snapshot": "interactive",
6896
+ "skip_rules": {
6897
+ "wont_fix": [
6898
+ "region"
6899
+ ],
6900
+ "will_fix": [
6901
+ "color-contrast"
6902
+ ]
6903
+ }
6800
6904
  }
6801
6905
  ]
6802
6906
  },
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.20.1
4
+ version: 0.21.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: 2024-03-15 00:00:00.000000000 Z
11
+ date: 2024-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -781,7 +781,15 @@ files:
781
781
  - previews/primer/alpha/text_field_preview/input_group_trailing_button.html.erb
782
782
  - previews/primer/alpha/toggle_switch_preview.rb
783
783
  - previews/primer/alpha/tooltip_preview.rb
784
+ - previews/primer/alpha/tooltip_preview/tooltip_e.html.erb
784
785
  - previews/primer/alpha/tooltip_preview/tooltip_inside_primer_overlay.html.erb
786
+ - previews/primer/alpha/tooltip_preview/tooltip_n.html.erb
787
+ - previews/primer/alpha/tooltip_preview/tooltip_ne.html.erb
788
+ - previews/primer/alpha/tooltip_preview/tooltip_nw.html.erb
789
+ - previews/primer/alpha/tooltip_preview/tooltip_s.html.erb
790
+ - previews/primer/alpha/tooltip_preview/tooltip_se.html.erb
791
+ - previews/primer/alpha/tooltip_preview/tooltip_sw.html.erb
792
+ - previews/primer/alpha/tooltip_preview/tooltip_w.html.erb
785
793
  - previews/primer/alpha/tooltip_preview/tooltip_with_dialog_moving_focus_to_input.html.erb
786
794
  - previews/primer/alpha/tooltip_preview/with_multiple_on_a_page.html.erb
787
795
  - previews/primer/alpha/tooltip_preview/with_right_most_position.html.erb