openproject-primer_view_components 0.31.0 → 0.32.1

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 +12 -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 +42 -0
  15. data/app/components/primer/open_project/sub_header.rb +140 -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 +2 -2
  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: 78f05e0e1928132d53ac54a3ecc88a615272a02f1d98f5e7d32da6046d2c2b87
4
+ data.tar.gz: 8104b0b18ec16157535ec2e6597f4627bbed4462ccc570445a72d9d64cf9b8f8
5
5
  SHA512:
6
- metadata.gz: 35fd899f2a07d819609363a24fce93205e78f40cb283c834cacd2f60c5c4b9bb4ab55b405fa8f08fdc832fe79eb79091325161e6a7177334457f54405130300d
7
- data.tar.gz: 3be02564e427ae65c03f3929a4a6d2e39838b6938902387e4065b86694b93e24b2ac0e14a70f756534334c0b446cde82fa5437df072c882cc7f11972c8f0c7c2
6
+ metadata.gz: '08754e315301c9b1929c43a14fe47a50116401996bb1d893ae2c4d4a65e87cf6fb4b771acb54725e381e4962331248efbe84b87f8118251dbd0242726febf32a'
7
+ data.tar.gz: 94ec3123edc6589e57bdf4c337c8f68221bf9cbf931a74c6db645666a74b46f7af405da066ba04e913899a57383928f179bb2e427ca22ccfc4abcd1506da064d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.32.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#121](https://github.com/opf/primer_view_components/pull/121) [`20d031f`](https://github.com/opf/primer_view_components/commit/20d031f9ecff3802f6810939b167a5490b3c789e) Thanks [@HDinger](https://github.com/HDinger)! - Fix spacings in OpenProject::SubHeader when some elements are not present
8
+
9
+ ## 0.32.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#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
14
+
3
15
  ## 0.31.0
4
16
 
5
17
  ### 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';