openproject-primer_view_components 0.74.0 → 0.74.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 788e74b36b0bf4d04b105a26a2a8c99616ab96da63af6b84a94d21818b71db43
|
4
|
+
data.tar.gz: 45b5c0fc5d2528af74379740bd4677998e0ab29f1a89e24431de68465df0831e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3eb6ca49ea0031824f7b0bf16aff87d52810520743ab3a265f2dc5e39aa2df659f77de67ea22292589b27098be80547dfd4a62f1b1b874f392f603ea2630ece
|
7
|
+
data.tar.gz: dc49bdb8995a3e4aaf3d02498e6dcfc08ba6b6011257aafb81b2ae1bdca2ff8f9f3e68327a9e28c1bcce2cf9ddf3d8caa03e52e9d995042bfabe976970a3bdf9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 0.74.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#365](https://github.com/opf/primer_view_components/pull/365) [`982d4f6`](https://github.com/opf/primer_view_components/commit/982d4f67c3393f323c476cd3c17dacdafac53bed) Thanks [@mrmir](https://github.com/mrmir)! - Delegate the items call to SubMenu of ActionMenu component
|
8
|
+
|
3
9
|
## 0.74.0
|
4
10
|
|
5
11
|
### Minor Changes
|
@@ -6,6 +6,8 @@ module Primer
|
|
6
6
|
# This component is part of <%= link_to_component(Primer::Alpha::ActionMenu) %> and should not be
|
7
7
|
# used as a standalone component.
|
8
8
|
class SubMenuItem < ::Primer::Alpha::ActionList::Item
|
9
|
+
delegate :items, to: :@sub_menu
|
10
|
+
|
9
11
|
def initialize(content_arguments: {}, form_arguments: {}, **system_arguments)
|
10
12
|
# We extract form_arguments from system_arguments here to avoid passing them to the
|
11
13
|
# ActionList::Item base class or to the SubMenu instance. Doing so prevents a form
|