@openproject/primer-view-components 0.0.0-20260420121522 → 0.0.0-20260420122351

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openproject/primer-view-components",
3
- "version": "0.0.0-20260420121522",
3
+ "version": "0.0.0-20260420122351",
4
4
  "description": "ViewComponents of the Primer Design System for OpenProject",
5
5
  "main": "app/assets/javascripts/primer_view_components.js",
6
6
  "module": "app/components/primer/primer.js",
@@ -68,7 +68,7 @@
68
68
  "@github/markdownlint-github": "^0.8.0",
69
69
  "@github/prettier-config": "0.0.6",
70
70
  "@playwright/test": "^1.57.0",
71
- "@primer/css": "22.1.1",
71
+ "@primer/css": "22.1.0",
72
72
  "@primer/primitives": "^11.4.0",
73
73
  "@primer/stylelint-config": "^13.1.1",
74
74
  "@rollup/plugin-node-resolve": "^16.0.1",
@@ -79,7 +79,7 @@
79
79
  "eslint": "^9.10.0",
80
80
  "eslint-plugin-github": "^6.0.0",
81
81
  "glob": "^11.0.2",
82
- "markdownlint-cli2": "^0.22.0",
82
+ "markdownlint-cli2": "^0.21.0",
83
83
  "mocha": "^11.0.1",
84
84
  "playwright": "^1.57.0",
85
85
  "postcss": "^8.4.16",
@@ -93,8 +93,8 @@
93
93
  "stylelint-actions-formatters": "^16.3.1",
94
94
  "tslib": "^2.4.0",
95
95
  "typescript": "^5.2.2",
96
- "vite": "^8.0.9",
97
- "vite-plugin-ruby": "^5.2.1"
96
+ "vite": "^7.3.0",
97
+ "vite-plugin-ruby": "^5.1.0"
98
98
  },
99
99
  "prettier": "@github/prettier-config",
100
100
  "browserslist": "extends @github/browserslist-config"
@@ -5779,7 +5779,44 @@
5779
5779
  "short_name": "OpenProjectAvatarStack",
5780
5780
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/avatar_stack.rb",
5781
5781
  "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/avatar_stack/default/",
5782
- "parameters": []
5782
+ "parameters": [
5783
+ {
5784
+ "name": "tag",
5785
+ "type": "Symbol",
5786
+ "default": "`:div`",
5787
+ "description": "One of `:div` or `:span`."
5788
+ },
5789
+ {
5790
+ "name": "align",
5791
+ "type": "Symbol",
5792
+ "default": "`:left`",
5793
+ "description": "One of `:left` or `:right`."
5794
+ },
5795
+ {
5796
+ "name": "tooltipped",
5797
+ "type": "Boolean",
5798
+ "default": "`false`",
5799
+ "description": "Whether to add a tooltip to the stack or not."
5800
+ },
5801
+ {
5802
+ "name": "disable_expand",
5803
+ "type": "Boolean",
5804
+ "default": "`false`",
5805
+ "description": "Whether to disable the expand behavior on hover. If true, avatars will not expand."
5806
+ },
5807
+ {
5808
+ "name": "body_arguments",
5809
+ "type": "Hash",
5810
+ "default": "`{}`",
5811
+ "description": "Parameters to add to the Body. If `tooltipped` is set, has the same arguments as [Tooltip](/components/tooltip). The default tag is `:div` but can be changed using `tag:` to one of `:div` or `:span`."
5812
+ },
5813
+ {
5814
+ "name": "system_arguments",
5815
+ "type": "Hash",
5816
+ "default": "N/A",
5817
+ "description": "[System arguments](/system-arguments)"
5818
+ }
5819
+ ]
5783
5820
  },
5784
5821
  {
5785
5822
  "component": "OpenProject::AvatarWithFallback",
@@ -18838,7 +18838,44 @@
18838
18838
  "short_name": "OpenProjectAvatarStack",
18839
18839
  "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/avatar_stack.rb",
18840
18840
  "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/avatar_stack/default/",
18841
- "parameters": [],
18841
+ "parameters": [
18842
+ {
18843
+ "name": "tag",
18844
+ "type": "Symbol",
18845
+ "default": "`:div`",
18846
+ "description": "One of `:div` or `:span`."
18847
+ },
18848
+ {
18849
+ "name": "align",
18850
+ "type": "Symbol",
18851
+ "default": "`:left`",
18852
+ "description": "One of `:left` or `:right`."
18853
+ },
18854
+ {
18855
+ "name": "tooltipped",
18856
+ "type": "Boolean",
18857
+ "default": "`false`",
18858
+ "description": "Whether to add a tooltip to the stack or not."
18859
+ },
18860
+ {
18861
+ "name": "disable_expand",
18862
+ "type": "Boolean",
18863
+ "default": "`false`",
18864
+ "description": "Whether to disable the expand behavior on hover. If true, avatars will not expand."
18865
+ },
18866
+ {
18867
+ "name": "body_arguments",
18868
+ "type": "Hash",
18869
+ "default": "`{}`",
18870
+ "description": "Parameters to add to the Body. If `tooltipped` is set, has the same arguments as {{#link_to_component}}Primer::Tooltip{{/link_to_component}}. The default tag is `:div` but can be changed using `tag:` to one of `:div` or `:span`."
18871
+ },
18872
+ {
18873
+ "name": "system_arguments",
18874
+ "type": "Hash",
18875
+ "default": "N/A",
18876
+ "description": "{{link_to_system_arguments_docs}}"
18877
+ }
18878
+ ],
18842
18879
  "slots": [
18843
18880
  {
18844
18881
  "name": "avatar_with_fallbacks",