@forsakringskassan/docs-generator 3.21.1 → 3.22.0

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.
@@ -1161,7 +1161,8 @@ pre.mermaid:not([data-processed])::after {
1161
1161
  :root {
1162
1162
  --docs-background-color: #ffffff;
1163
1163
  --docs-font-family: "Inter Variable", sans-serif;
1164
- --docs-font-line-height: 1.5;
1164
+ --docs-line-height: 1.5;
1165
+ --docs-font-line-height: var(--docs-line-height);
1165
1166
  --docs-font-size: 16px;
1166
1167
  --docs-font-weight: normal;
1167
1168
  --docs-text-color-default: #1b1e23;
@@ -1319,6 +1320,24 @@ textarea {
1319
1320
  margin: 0;
1320
1321
  }
1321
1322
 
1323
+ :where(#docs-title:not(.code-preview *), #docs-content :not(.code-preview *)):where(ul, ol, dl, blockquote, .docs-messagebox) {
1324
+ box-sizing: border-box;
1325
+ max-width: min(100%, var(--docs-content-max-width, 100%), var(--docs-text-max-width, 100%));
1326
+ }
1327
+ :where(#docs-title:not(.code-preview *), #docs-content :not(.code-preview *)):where(#docs-title, .docs-heading, .code-preview, pre, .table, .docs-messagebox--details) {
1328
+ box-sizing: border-box;
1329
+ max-width: min(100%, var(--docs-content-max-width, 100%));
1330
+ }
1331
+ :where(#docs-title:not(.code-preview *), #docs-content :not(.code-preview *)):where(.code-preview[data-tags~=live-example]) {
1332
+ box-sizing: border-box;
1333
+ max-width: min(100%, var(--docs-live-example-max-width, 100%));
1334
+ }
1335
+
1336
+ :where(#docs-content) p:not(.code-preview p) {
1337
+ box-sizing: border-box;
1338
+ max-width: min(100%, var(--docs-content-max-width, 100%), var(--docs-text-max-width, 680px));
1339
+ }
1340
+
1322
1341
  /* inter-cyrillic-ext-wght-normal */
1323
1342
  @font-face {
1324
1343
  font-family: "Inter Variable";
@@ -2,7 +2,8 @@
2
2
  :root {
3
3
  --docs-background-color: #ffffff;
4
4
  --docs-font-family: "Inter Variable", sans-serif;
5
- --docs-font-line-height: 1.5;
5
+ --docs-line-height: 1.5;
6
+ --docs-font-line-height: var(--docs-line-height);
6
7
  --docs-font-size: 16px;
7
8
  --docs-font-weight: normal;
8
9
  --docs-text-color-default: #1b1e23;
@@ -160,6 +161,24 @@ textarea {
160
161
  margin: 0;
161
162
  }
162
163
 
164
+ :where(#docs-title:not(.code-preview *), #docs-content :not(.code-preview *)):where(ul, ol, dl, blockquote, .docs-messagebox) {
165
+ box-sizing: border-box;
166
+ max-width: min(100%, var(--docs-content-max-width, 100%), var(--docs-text-max-width, 100%));
167
+ }
168
+ :where(#docs-title:not(.code-preview *), #docs-content :not(.code-preview *)):where(#docs-title, .docs-heading, .code-preview, pre, .table, .docs-messagebox--details) {
169
+ box-sizing: border-box;
170
+ max-width: min(100%, var(--docs-content-max-width, 100%));
171
+ }
172
+ :where(#docs-title:not(.code-preview *), #docs-content :not(.code-preview *)):where(.code-preview[data-tags~=live-example]) {
173
+ box-sizing: border-box;
174
+ max-width: min(100%, var(--docs-live-example-max-width, 100%));
175
+ }
176
+
177
+ :where(#docs-content) p:not(.code-preview p) {
178
+ box-sizing: border-box;
179
+ max-width: min(100%, var(--docs-content-max-width, 100%), var(--docs-text-max-width, 680px));
180
+ }
181
+
163
182
  /* inter-cyrillic-ext-wght-normal */
164
183
  @font-face {
165
184
  font-family: "Inter Variable";
@@ -14,7 +14,7 @@
14
14
  --docs-warning-background: var(--fkds-color-feedback-background-warning);
15
15
  --docs-error-color: var(--fkds-color-feedback-border-negative);
16
16
  --docs-error-background: var(--fkds-color-feedback-background-negative);
17
- --docs-font-line-height: var(--f-line-height-large);
17
+ --docs-line-height: var(--f-line-height-large);
18
18
  --docs-font-size: var(--f-font-size-default-rem);
19
19
  --docs-font-family: var(--f-font-family);
20
20
  --docs-focus-box-shadow:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/docs-generator",
3
- "version": "3.21.1",
3
+ "version": "3.22.0",
4
4
  "description": "Documentation generator",
5
5
  "keywords": [
6
6
  "documentation"