openproject-primer_view_components 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/app/assets/styles/primer_view_components.css +1 -1
  4. data/app/assets/styles/primer_view_components.css.map +1 -1
  5. data/app/components/primer/open_project/border_grid/cell.html.erb +3 -0
  6. data/app/components/primer/open_project/border_grid/cell.rb +25 -0
  7. data/app/components/primer/open_project/border_grid.css +1 -0
  8. data/app/components/primer/open_project/border_grid.css.json +11 -0
  9. data/app/components/primer/open_project/border_grid.css.map +1 -0
  10. data/app/components/primer/open_project/border_grid.html.erb +7 -0
  11. data/app/components/primer/open_project/border_grid.pcss +35 -0
  12. data/app/components/primer/open_project/border_grid.rb +36 -0
  13. data/app/components/primer/open_project/drag_handle.css +1 -0
  14. data/app/components/primer/open_project/drag_handle.css.json +6 -0
  15. data/app/components/primer/open_project/drag_handle.css.map +1 -0
  16. data/app/components/primer/open_project/drag_handle.html.erb +6 -0
  17. data/app/components/primer/open_project/drag_handle.pcss +6 -0
  18. data/app/components/primer/open_project/drag_handle.rb +28 -0
  19. data/app/components/primer/primer.pcss +2 -0
  20. data/lib/primer/view_components/version.rb +1 -1
  21. data/previews/primer/open_project/border_grid_preview.rb +42 -0
  22. data/previews/primer/open_project/drag_handle_preview.rb +23 -0
  23. data/static/arguments.json +54 -0
  24. data/static/audited_at.json +3 -0
  25. data/static/classes.json +15 -0
  26. data/static/constants.json +13 -0
  27. data/static/info_arch.json +182 -0
  28. data/static/previews.json +81 -0
  29. data/static/statuses.json +3 -0
  30. metadata +18 -2
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",
@@ -2900,6 +2947,40 @@
2900
2947
  }
2901
2948
  ]
2902
2949
  },
2950
+ {
2951
+ "name": "drag_handle",
2952
+ "component": "OpenProject::DragHandle",
2953
+ "status": "open_project",
2954
+ "lookup_path": "primer/open_project/drag_handle",
2955
+ "examples": [
2956
+ {
2957
+ "preview_path": "primer/open_project/drag_handle/default",
2958
+ "name": "default",
2959
+ "snapshot": "true",
2960
+ "skip_rules": {
2961
+ "wont_fix": [
2962
+ "region"
2963
+ ],
2964
+ "will_fix": [
2965
+ "color-contrast"
2966
+ ]
2967
+ }
2968
+ },
2969
+ {
2970
+ "preview_path": "primer/open_project/drag_handle/playground",
2971
+ "name": "playground",
2972
+ "snapshot": "false",
2973
+ "skip_rules": {
2974
+ "wont_fix": [
2975
+ "region"
2976
+ ],
2977
+ "will_fix": [
2978
+ "color-contrast"
2979
+ ]
2980
+ }
2981
+ }
2982
+ ]
2983
+ },
2903
2984
  {
2904
2985
  "name": "dropdown",
2905
2986
  "component": "Dropdown",
data/static/statuses.json CHANGED
@@ -102,6 +102,9 @@
102
102
  "Primer::IconButton": "deprecated",
103
103
  "Primer::LayoutComponent": "deprecated",
104
104
  "Primer::Navigation::TabComponent": "deprecated",
105
+ "Primer::OpenProject::BorderGrid": "open_project",
106
+ "Primer::OpenProject::BorderGrid::Cell": "open_project",
107
+ "Primer::OpenProject::DragHandle": "open_project",
105
108
  "Primer::OpenProject::PageHeader": "open_project",
106
109
  "Primer::Tooltip": "deprecated",
107
110
  "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.10.0
4
+ version: 0.11.0
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-09-14 00:00:00.000000000 Z
12
+ date: 2023-09-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionview
@@ -746,6 +746,20 @@ files:
746
746
  - app/components/primer/layout_component.html.erb
747
747
  - app/components/primer/layout_component.rb
748
748
  - app/components/primer/navigation/tab_component.rb
749
+ - app/components/primer/open_project/border_grid.css
750
+ - app/components/primer/open_project/border_grid.css.json
751
+ - app/components/primer/open_project/border_grid.css.map
752
+ - app/components/primer/open_project/border_grid.html.erb
753
+ - app/components/primer/open_project/border_grid.pcss
754
+ - app/components/primer/open_project/border_grid.rb
755
+ - app/components/primer/open_project/border_grid/cell.html.erb
756
+ - app/components/primer/open_project/border_grid/cell.rb
757
+ - app/components/primer/open_project/drag_handle.css
758
+ - app/components/primer/open_project/drag_handle.css.json
759
+ - app/components/primer/open_project/drag_handle.css.map
760
+ - app/components/primer/open_project/drag_handle.html.erb
761
+ - app/components/primer/open_project/drag_handle.pcss
762
+ - app/components/primer/open_project/drag_handle.rb
749
763
  - app/components/primer/open_project/page_header.css
750
764
  - app/components/primer/open_project/page_header.css.json
751
765
  - app/components/primer/open_project/page_header.css.map
@@ -1118,6 +1132,8 @@ files:
1118
1132
  - previews/primer/forms_preview/single_text_field_form.html.erb
1119
1133
  - previews/primer/forms_preview/submit_button_form.html.erb
1120
1134
  - previews/primer/forms_preview/text_field_and_checkbox_form.html.erb
1135
+ - previews/primer/open_project/border_grid_preview.rb
1136
+ - previews/primer/open_project/drag_handle_preview.rb
1121
1137
  - previews/primer/open_project/page_header_preview.rb
1122
1138
  - previews/primer/open_project/page_header_preview/actions.html.erb
1123
1139
  - previews/primer/url_helpers.rb