openproject-primer_view_components 0.31.0 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/app/assets/javascripts/app/components/primer/open_project/sub_header_element.d.ts +13 -0
  4. data/app/assets/javascripts/app/components/primer/primer.d.ts +1 -0
  5. data/app/assets/javascripts/primer_view_components.js +1 -1
  6. data/app/assets/javascripts/primer_view_components.js.map +1 -1
  7. data/app/assets/styles/primer_view_components.css +1 -1
  8. data/app/assets/styles/primer_view_components.css.map +1 -1
  9. data/app/components/primer/open_project/page_header.rb +1 -1
  10. data/app/components/primer/open_project/sub_header.css +1 -0
  11. data/app/components/primer/open_project/sub_header.css.json +11 -0
  12. data/app/components/primer/open_project/sub_header.css.map +1 -0
  13. data/app/components/primer/open_project/sub_header.html.erb +25 -0
  14. data/app/components/primer/open_project/sub_header.pcss +43 -0
  15. data/app/components/primer/open_project/sub_header.rb +141 -0
  16. data/app/components/primer/open_project/sub_header_element.d.ts +13 -0
  17. data/app/components/primer/open_project/sub_header_element.js +44 -0
  18. data/app/components/primer/open_project/sub_header_element.ts +45 -0
  19. data/app/components/primer/primer.d.ts +1 -0
  20. data/app/components/primer/primer.js +1 -0
  21. data/app/components/primer/primer.pcss +1 -0
  22. data/app/components/primer/primer.ts +1 -0
  23. data/lib/primer/view_components/version.rb +1 -1
  24. data/previews/primer/open_project/sub_header_preview/action_menu_buttons.html.erb +15 -0
  25. data/previews/primer/open_project/sub_header_preview/bottom_pane.html.erb +12 -0
  26. data/previews/primer/open_project/sub_header_preview/button_group.html.erb +11 -0
  27. data/previews/primer/open_project/sub_header_preview/custom_filter_button.html.erb +8 -0
  28. data/previews/primer/open_project/sub_header_preview/dialog_buttons.html.erb +12 -0
  29. data/previews/primer/open_project/sub_header_preview.rb +88 -0
  30. data/static/arguments.json +16 -0
  31. data/static/audited_at.json +1 -0
  32. data/static/classes.json +18 -0
  33. data/static/constants.json +4 -0
  34. data/static/info_arch.json +171 -0
  35. data/static/previews.json +112 -0
  36. data/static/statuses.json +1 -0
  37. metadata +18 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd72bc8dba93bf8e41d5b5e4dd9fb7246f72effd3be165e3f5c37f110916f878
4
- data.tar.gz: a5742e5be34f7d02b80b85f1f304daebee3873e9f82ee7e621b917e944fa7779
3
+ metadata.gz: 82790325c8af178fe6481a848886ec0753bb42d5c8ee86dd2396665582f2442b
4
+ data.tar.gz: 4800cd3f3e0ef1625e7de2b1318ac480a2515589cc2c2e3677850037f8b4e1b4
5
5
  SHA512:
6
- metadata.gz: 35fd899f2a07d819609363a24fce93205e78f40cb283c834cacd2f60c5c4b9bb4ab55b405fa8f08fdc832fe79eb79091325161e6a7177334457f54405130300d
7
- data.tar.gz: 3be02564e427ae65c03f3929a4a6d2e39838b6938902387e4065b86694b93e24b2ac0e14a70f756534334c0b446cde82fa5437df072c882cc7f11972c8f0c7c2
6
+ metadata.gz: 814966283fa929cbcdc04310deda1f7110fbcbcd90f06410faef1e04e9e29023e706524df0c24fb4f5c4fd8d5547eade0120f4b70f24736e69f6f2470acc725c
7
+ data.tar.gz: c8750dd82bf76199fc29960d780ec564413435be9140589c81f114c3f503dbcdba992ebd8865436552b0a5ca804ed084a56c92604bf39a9940f58130a75125df
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.32.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#116](https://github.com/opf/primer_view_components/pull/116) [`da108fa`](https://github.com/opf/primer_view_components/commit/da108faea261fcb9eaec86250792c63d07077de2) Thanks [@HDinger](https://github.com/HDinger)! - Create a Primer::OpenProject::SubHeader component
8
+
3
9
  ## 0.31.0
4
10
 
5
11
  ### Minor Changes
@@ -0,0 +1,13 @@
1
+ declare class SubHeaderElement extends HTMLElement {
2
+ filterInput: HTMLElement;
3
+ hiddenItemsOnExpandedFilter: HTMLElement[];
4
+ shownItemsOnExpandedFilter: HTMLElement[];
5
+ expandFilterInput(): void;
6
+ collapseFilterInput(): void;
7
+ }
8
+ declare global {
9
+ interface Window {
10
+ SubHeaderElement: typeof SubHeaderElement;
11
+ }
12
+ }
13
+ export {};
@@ -24,3 +24,4 @@ import '../../../lib/primer/forms/toggle_switch_input';
24
24
  import './alpha/action_menu/action_menu_element';
25
25
  import './open_project/page_header_element';
26
26
  import './open_project/zen_mode_button';
27
+ import './open_project/sub_header_element';