@dbcdk/react-components 0.0.71 → 0.0.73

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.
@@ -68,11 +68,21 @@
68
68
  min-width: 0;
69
69
  }
70
70
 
71
- /* Keep product logo visible in expanded state */
72
- .productLogo img,
73
- .productLogo svg {
71
+ /* Let wrapper elements such as Next.js <Link> inherit the logo sizing context */
72
+ .productLogo > * {
73
+ display: flex;
74
+ align-items: center;
75
+ max-inline-size: 100%;
76
+ block-size: 100%;
77
+ min-inline-size: 0;
78
+ }
79
+
80
+ /* Keep product logo visible in expanded state even when wrapped */
81
+ .productLogo :is(img, svg) {
82
+ display: block;
74
83
  block-size: 100%;
75
- inline-size: 100%;
84
+ inline-size: auto;
85
+ max-inline-size: 100%;
76
86
  }
77
87
 
78
88
  /* Collapse button */
@@ -133,6 +133,10 @@ body.dbc-app {
133
133
  font-size: var(--font-size-xs);
134
134
  }
135
135
 
136
+ .dbc-lg-text {
137
+ font-size: var(--font-size-lg);
138
+ }
139
+
136
140
  .dbc-medium-text {
137
141
  font-weight: var(--font-weight-medium);
138
142
  }
package/dist/styles.css CHANGED
@@ -133,6 +133,10 @@ body.dbc-app {
133
133
  font-size: var(--font-size-xs);
134
134
  }
135
135
 
136
+ .dbc-lg-text {
137
+ font-size: var(--font-size-lg);
138
+ }
139
+
136
140
  .dbc-medium-text {
137
141
  font-weight: var(--font-weight-medium);
138
142
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbcdk/react-components",
3
- "version": "0.0.71",
3
+ "version": "0.0.73",
4
4
  "description": "Reusable React components for DBC projects",
5
5
  "license": "ISC",
6
6
  "author": "",