openproject-primer_view_components 0.30.1 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) 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.css +1 -1
  10. data/app/components/primer/open_project/page_header.css.json +3 -1
  11. data/app/components/primer/open_project/page_header.css.map +1 -1
  12. data/app/components/primer/open_project/page_header.html.erb +1 -0
  13. data/app/components/primer/open_project/page_header.pcss +10 -0
  14. data/app/components/primer/open_project/page_header.rb +14 -1
  15. data/app/components/primer/open_project/sub_header.css +1 -0
  16. data/app/components/primer/open_project/sub_header.css.json +11 -0
  17. data/app/components/primer/open_project/sub_header.css.map +1 -0
  18. data/app/components/primer/open_project/sub_header.html.erb +25 -0
  19. data/app/components/primer/open_project/sub_header.pcss +43 -0
  20. data/app/components/primer/open_project/sub_header.rb +141 -0
  21. data/app/components/primer/open_project/sub_header_element.d.ts +13 -0
  22. data/app/components/primer/open_project/sub_header_element.js +44 -0
  23. data/app/components/primer/open_project/sub_header_element.ts +45 -0
  24. data/app/components/primer/primer.d.ts +1 -0
  25. data/app/components/primer/primer.js +1 -0
  26. data/app/components/primer/primer.pcss +1 -0
  27. data/app/components/primer/primer.ts +1 -0
  28. data/lib/primer/view_components/version.rb +2 -2
  29. data/previews/primer/open_project/page_header_preview/playground.html.erb +7 -0
  30. data/previews/primer/open_project/page_header_preview.rb +22 -2
  31. data/previews/primer/open_project/sub_header_preview/action_menu_buttons.html.erb +15 -0
  32. data/previews/primer/open_project/sub_header_preview/bottom_pane.html.erb +12 -0
  33. data/previews/primer/open_project/sub_header_preview/button_group.html.erb +11 -0
  34. data/previews/primer/open_project/sub_header_preview/custom_filter_button.html.erb +8 -0
  35. data/previews/primer/open_project/sub_header_preview/dialog_buttons.html.erb +12 -0
  36. data/previews/primer/open_project/sub_header_preview.rb +88 -0
  37. data/static/arguments.json +16 -0
  38. data/static/audited_at.json +1 -0
  39. data/static/classes.json +24 -0
  40. data/static/constants.json +4 -0
  41. data/static/info_arch.json +196 -0
  42. data/static/previews.json +125 -0
  43. data/static/statuses.json +1 -0
  44. metadata +18 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55cc9b3f6cbd5bad75a1bd5a6aa719994fdfc0159761f0ab9c92bfccbafa1f4f
4
- data.tar.gz: d946c2cae254eb9b752dddd3d988c302d6081167990cac738d41ca950e1d8d7e
3
+ metadata.gz: 82790325c8af178fe6481a848886ec0753bb42d5c8ee86dd2396665582f2442b
4
+ data.tar.gz: 4800cd3f3e0ef1625e7de2b1318ac480a2515589cc2c2e3677850037f8b4e1b4
5
5
  SHA512:
6
- metadata.gz: fd32115e923f47bb5c120665308af155bc2268832b7245876f28356623426f7a1549dc93a487a9dcd1c1d4a96b8b1cacb6d52c324eb24b9917c183d31fb36636
7
- data.tar.gz: 42781450299af7b4d686077670a3166fb0b9bbd2c2cfe29335861cefffcd2a61c2e6da122cca7d8db03c52147b6e90eedf743f1a797bc7d057cc4adf168be6d8
6
+ metadata.gz: 814966283fa929cbcdc04310deda1f7110fbcbcd90f06410faef1e04e9e29023e706524df0c24fb4f5c4fd8d5547eade0120f4b70f24736e69f6f2470acc725c
7
+ data.tar.gz: c8750dd82bf76199fc29960d780ec564413435be9140589c81f114c3f503dbcdba992ebd8865436552b0a5ca804ed084a56c92604bf39a9940f58130a75125df
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
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
+
9
+ ## 0.31.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#117](https://github.com/opf/primer_view_components/pull/117) [`72c239e`](https://github.com/opf/primer_view_components/commit/72c239ef39bb188ed05815a1e0e5e98f97663f0b) Thanks [@dominic-braeunlein](https://github.com/dominic-braeunlein)! - Adds a TabNav slot to Primer::OpenProject::PageHeader
14
+
3
15
  ## 0.30.1
4
16
 
5
17
  ### Patch 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';