@dbcdk/react-components 0.0.160 → 0.0.162

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.
@@ -20,7 +20,7 @@ function CollapsibleHeadline({
20
20
  controls,
21
21
  addition,
22
22
  storageKey,
23
- defaultExpanded = false,
23
+ defaultExpanded = true,
24
24
  children,
25
25
  size = 2,
26
26
  variant = "muted",
@@ -13,13 +13,12 @@ export interface CollapsibleHeadlineProps extends Omit<HeadlineProps, 'addition'
13
13
  addition?: React.ReactNode;
14
14
  /**
15
15
  * When set in uncontrolled mode, the component persists its expanded
16
- * state to localStorage under this key. The server render still starts
17
- * collapsed to stay hydration-safe.
16
+ * state to localStorage under this key.
18
17
  */
19
18
  storageKey?: string;
20
19
  /**
21
20
  * Initial expanded state when uncontrolled and no persisted storageKey
22
- * value exists yet. Defaults to false.
21
+ * value exists yet. Defaults to true.
23
22
  */
24
23
  defaultExpanded?: boolean;
25
24
  }
@@ -14,7 +14,7 @@ function CollapsibleHeadline({
14
14
  controls,
15
15
  addition,
16
16
  storageKey,
17
- defaultExpanded = false,
17
+ defaultExpanded = true,
18
18
  children,
19
19
  size = 2,
20
20
  variant = "muted",
@@ -137,7 +137,7 @@
137
137
  .navItems {
138
138
  display: flex;
139
139
  align-items: center;
140
- gap: var(--spacing-lg);
140
+ gap: var(--spacing-sm);
141
141
  min-inline-size: 0;
142
142
  list-style: none;
143
143
  margin: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbcdk/react-components",
3
- "version": "0.0.160",
3
+ "version": "0.0.162",
4
4
  "description": "Reusable React components for DBC projects",
5
5
  "license": "ISC",
6
6
  "author": "",