@openproject/primer-view-components 0.93.0-rc.d16b522aa → 0.94.0-rc.3c6a8a90a

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.93.0-rc.d16b522aa",
3
+ "version": "0.94.0-rc.3c6a8a90a",
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",
@@ -5961,9 +5961,9 @@
5961
5961
  },
5962
5962
  {
5963
5963
  "name": "collapsed",
5964
- "type": "Boolean",
5964
+ "type": "Boolean, Symbol",
5965
5965
  "default": "`false`",
5966
- "description": "Whether the section is collapsed on initial render."
5966
+ "description": "The initial state of the section. `false` renders it open and toggleable, `true` renders it collapsed and toggleable, and `:locked` keeps it permanently open with the toggle disabled."
5967
5967
  },
5968
5968
  {
5969
5969
  "name": "system_arguments",
@@ -1747,6 +1747,11 @@
1747
1747
  "GeneratedSlotMethods": "Primer::OpenProject::BorderGrid::Cell::GeneratedSlotMethods"
1748
1748
  },
1749
1749
  "Primer::OpenProject::CollapsibleSection": {
1750
+ "COLLAPSED_OPTIONS": [
1751
+ false,
1752
+ true,
1753
+ "locked"
1754
+ ],
1750
1755
  "GeneratedSlotMethods": "Primer::OpenProject::CollapsibleSection::GeneratedSlotMethods",
1751
1756
  "TITLE_TAG_FALLBACK": "h2",
1752
1757
  "TITLE_TAG_OPTIONS": [
@@ -19614,9 +19614,9 @@
19614
19614
  },
19615
19615
  {
19616
19616
  "name": "collapsed",
19617
- "type": "Boolean",
19617
+ "type": "Boolean, Symbol",
19618
19618
  "default": "`false`",
19619
- "description": "Whether the section is collapsed on initial render."
19619
+ "description": "The initial state of the section. `false` renders it open and toggleable, `true` renders it collapsed and toggleable, and `:locked` keeps it permanently open with the toggle disabled."
19620
19620
  },
19621
19621
  {
19622
19622
  "name": "system_arguments",
@@ -19748,6 +19748,19 @@
19748
19748
  ]
19749
19749
  }
19750
19750
  },
19751
+ {
19752
+ "preview_path": "primer/open_project/collapsible_section/non_collapsible",
19753
+ "name": "non_collapsible",
19754
+ "snapshot": "true",
19755
+ "skip_rules": {
19756
+ "wont_fix": [
19757
+ "region"
19758
+ ],
19759
+ "will_fix": [
19760
+ "color-contrast"
19761
+ ]
19762
+ }
19763
+ },
19751
19764
  {
19752
19765
  "preview_path": "primer/open_project/collapsible_section/with_link_in_title",
19753
19766
  "name": "with_link_in_title",
@@ -8824,6 +8824,19 @@
8824
8824
  ]
8825
8825
  }
8826
8826
  },
8827
+ {
8828
+ "preview_path": "primer/open_project/collapsible_section/non_collapsible",
8829
+ "name": "non_collapsible",
8830
+ "snapshot": "true",
8831
+ "skip_rules": {
8832
+ "wont_fix": [
8833
+ "region"
8834
+ ],
8835
+ "will_fix": [
8836
+ "color-contrast"
8837
+ ]
8838
+ }
8839
+ },
8827
8840
  {
8828
8841
  "preview_path": "primer/open_project/collapsible_section/with_link_in_title",
8829
8842
  "name": "with_link_in_title",