@forsakringskassan/docs-generator 2.38.5 → 2.39.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.
- package/dist/{create-markdown-renderer-3vzQq-PG.mjs → create-markdown-renderer-DKqdpupc.mjs} +11 -6
- package/dist/create-markdown-renderer-DKqdpupc.mjs.map +1 -0
- package/dist/{format-code.worker-i_fzVsDn.mjs → format-code.worker-BoGFZXFD.mjs} +2 -2
- package/dist/{format-code.worker-i_fzVsDn.mjs.map → format-code.worker-BoGFZXFD.mjs.map} +1 -1
- package/dist/index.d.mts +0 -7
- package/dist/index.mjs +6 -27
- package/dist/index.mjs.map +1 -1
- package/dist/markdown.mjs +2 -2
- package/dist/runtime.mjs +6 -2
- package/dist/style/core.css +63 -155
- package/dist/style/index.css +64 -155
- package/dist/style/site.css +1 -0
- package/dist/style/theme/fkui.css +4 -0
- package/dist/{vendor-BnFYrp5U.mjs → vendor-B-ki54MB.mjs} +125 -2529
- package/dist/{vendor-BnFYrp5U.mjs.map → vendor-B-ki54MB.mjs.map} +1 -1
- package/package.json +1 -1
- package/templates/base.template.html +1 -1
- package/dist/create-markdown-renderer-3vzQq-PG.mjs.map +0 -1
- package/templates/partials/theme-render-blocker.html +0 -11
- package/templates/partials/theme-select.html +0 -49
package/dist/markdown.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { createRequire as $createRequire } from "node:module";
|
|
|
2
2
|
|
|
3
3
|
const require = $createRequire(import.meta.url);
|
|
4
4
|
|
|
5
|
-
export { S as SoftError, c as createMarkdownRenderer } from './create-markdown-renderer-
|
|
6
|
-
import './vendor-
|
|
5
|
+
export { S as SoftError, c as createMarkdownRenderer } from './create-markdown-renderer-DKqdpupc.mjs';
|
|
6
|
+
import './vendor-B-ki54MB.mjs';
|
|
7
7
|
import 'node:url';
|
|
8
8
|
import 'node:path';
|
|
9
9
|
import 'fs';
|
package/dist/runtime.mjs
CHANGED
|
@@ -6332,6 +6332,8 @@ var init_katex = __esm({
|
|
|
6332
6332
|
defineSymbol(math, main, rel, "\u220B", "\\owns");
|
|
6333
6333
|
defineSymbol(math, main, punct, ".", "\\ldotp");
|
|
6334
6334
|
defineSymbol(math, main, punct, "\u22C5", "\\cdotp");
|
|
6335
|
+
defineSymbol(math, main, punct, "\u22C5", "\xB7");
|
|
6336
|
+
defineSymbol(text2, main, textord, "\u22C5", "\xB7");
|
|
6335
6337
|
defineSymbol(math, main, textord, "#", "\\#");
|
|
6336
6338
|
defineSymbol(text2, main, textord, "#", "\\#");
|
|
6337
6339
|
defineSymbol(math, main, textord, "&", "\\&");
|
|
@@ -14314,7 +14316,6 @@ var init_katex = __esm({
|
|
|
14314
14316
|
defineMacro("\u210C", "\\mathfrak{H}");
|
|
14315
14317
|
defineMacro("\u2128", "\\mathfrak{Z}");
|
|
14316
14318
|
defineMacro("\\Bbbk", "\\Bbb{k}");
|
|
14317
|
-
defineMacro("\xB7", "\\cdotp");
|
|
14318
14319
|
defineMacro("\\llap", "\\mathllap{\\textrm{#1}}");
|
|
14319
14320
|
defineMacro("\\rlap", "\\mathrlap{\\textrm{#1}}");
|
|
14320
14321
|
defineMacro("\\clap", "\\mathclap{\\textrm{#1}}");
|
|
@@ -16538,7 +16539,7 @@ var init_katex = __esm({
|
|
|
16538
16539
|
return renderError(error3, expression, settings);
|
|
16539
16540
|
}
|
|
16540
16541
|
};
|
|
16541
|
-
version = "0.16.
|
|
16542
|
+
version = "0.16.40";
|
|
16542
16543
|
__domTree = {
|
|
16543
16544
|
Span,
|
|
16544
16545
|
Anchor,
|
|
@@ -160724,6 +160725,7 @@ function setup() {
|
|
|
160724
160725
|
}
|
|
160725
160726
|
dialog.addEventListener("close", () => {
|
|
160726
160727
|
document.body.removeEventListener("click", clickOutside);
|
|
160728
|
+
document.body.classList.remove("docs-modal-active");
|
|
160727
160729
|
});
|
|
160728
160730
|
fetch(url).then((response) => response.json()).then((value2) => {
|
|
160729
160731
|
index = value2;
|
|
@@ -160773,6 +160775,7 @@ function setup() {
|
|
|
160773
160775
|
updateResults();
|
|
160774
160776
|
dialog.showModal();
|
|
160775
160777
|
document.body.addEventListener("click", clickOutside);
|
|
160778
|
+
document.body.classList.add("docs-modal-active");
|
|
160776
160779
|
}
|
|
160777
160780
|
});
|
|
160778
160781
|
window.addEventListener("docs:navigation", () => {
|
|
@@ -160788,6 +160791,7 @@ function setup() {
|
|
|
160788
160791
|
input.value = searchTerm = "";
|
|
160789
160792
|
dialog.showModal();
|
|
160790
160793
|
document.body.addEventListener("click", clickOutside);
|
|
160794
|
+
document.body.classList.add("docs-modal-active");
|
|
160791
160795
|
});
|
|
160792
160796
|
}
|
|
160793
160797
|
}
|
package/dist/style/core.css
CHANGED
|
@@ -77,139 +77,125 @@ a.docs-badge:hover {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
h2:not(.code-preview h2),
|
|
82
|
-
h3:not(.code-preview h3),
|
|
83
|
-
h4:not(.code-preview h4),
|
|
84
|
-
h5:not(.code-preview h5),
|
|
85
|
-
h6:not(.code-preview h6) {
|
|
80
|
+
:where(.docs-heading) {
|
|
86
81
|
font-family: var(--docs-heading-font-family);
|
|
87
82
|
line-height: var(--docs-heading-line-height);
|
|
88
83
|
margin-top: 0;
|
|
89
84
|
text-wrap: balance;
|
|
90
85
|
text-wrap: pretty;
|
|
91
86
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
margin-bottom: var(--docs-heading-margin-bottom-h1);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
h2:not(.code-preview h2) {
|
|
99
|
-
font-weight: var(--docs-heading-font-weight-h2);
|
|
100
|
-
margin-bottom: var(--docs-heading-margin-bottom-h2);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
h3:not(.code-preview h3) {
|
|
104
|
-
font-weight: var(--docs-heading-font-weight-h3);
|
|
105
|
-
margin-bottom: var(--docs-heading-margin-bottom-h3);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
h4:not(.code-preview h4) {
|
|
109
|
-
font-weight: var(--docs-heading-font-weight-h4);
|
|
110
|
-
margin-bottom: var(--docs-heading-margin-bottom-h4);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
h5:not(.code-preview h5) {
|
|
114
|
-
font-weight: var(--docs-heading-font-weight-h5);
|
|
115
|
-
margin-bottom: var(--docs-heading-margin-bottom-h5);
|
|
87
|
+
:where(.docs-heading) .header-anchor {
|
|
88
|
+
color: var(--docs-text-color-default);
|
|
89
|
+
text-decoration: none;
|
|
116
90
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
91
|
+
:where(.docs-heading) code {
|
|
92
|
+
font-size: inherit;
|
|
93
|
+
margin: 0;
|
|
94
|
+
padding: 0;
|
|
95
|
+
text-decoration: inherit;
|
|
121
96
|
}
|
|
122
97
|
|
|
123
|
-
h1 {
|
|
98
|
+
:where(.docs-heading--h1) {
|
|
99
|
+
font-weight: var(--docs-heading-font-weight-h1);
|
|
100
|
+
margin-bottom: var(--docs-heading-margin-bottom-h1);
|
|
124
101
|
font-size: 2.5rem;
|
|
125
102
|
color: inherit;
|
|
126
103
|
letter-spacing: var(--docs-heading-letter-spacing-h1);
|
|
127
104
|
}
|
|
128
105
|
|
|
129
|
-
|
|
106
|
+
:where(.docs-heading--h1 code) {
|
|
107
|
+
color: var(--docs-text-color-discrete);
|
|
108
|
+
font-family: var(--docs-font-family);
|
|
109
|
+
background-color: transparent;
|
|
110
|
+
font-weight: 400;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
:where(.docs-heading--h2) {
|
|
114
|
+
font-weight: var(--docs-heading-font-weight-h2);
|
|
115
|
+
margin-bottom: var(--docs-heading-margin-bottom-h2);
|
|
130
116
|
font-size: 1.75rem;
|
|
131
117
|
color: inherit;
|
|
132
118
|
letter-spacing: var(--docs-heading-letter-spacing-h2);
|
|
133
119
|
}
|
|
134
120
|
|
|
135
|
-
h3 {
|
|
121
|
+
:where(.docs-heading--h3) {
|
|
122
|
+
font-weight: var(--docs-heading-font-weight-h3);
|
|
123
|
+
margin-bottom: var(--docs-heading-margin-bottom-h3);
|
|
136
124
|
font-size: 1.375rem;
|
|
137
125
|
color: inherit;
|
|
138
126
|
letter-spacing: var(--docs-heading-letter-spacing-h3);
|
|
139
127
|
}
|
|
140
128
|
|
|
141
|
-
h4 {
|
|
129
|
+
:where(.docs-heading--h4) {
|
|
130
|
+
font-weight: var(--docs-heading-font-weight-h4);
|
|
131
|
+
margin-bottom: var(--docs-heading-margin-bottom-h4);
|
|
142
132
|
font-size: 1.25rem;
|
|
143
133
|
color: inherit;
|
|
144
134
|
letter-spacing: var(--docs-heading-letter-spacing-h4);
|
|
145
135
|
}
|
|
146
136
|
|
|
147
|
-
h5 {
|
|
137
|
+
:where(.docs-heading--h5) {
|
|
138
|
+
font-weight: var(--docs-heading-font-weight-h5);
|
|
139
|
+
margin-bottom: var(--docs-heading-margin-bottom-h5);
|
|
148
140
|
font-size: 1.125rem;
|
|
149
141
|
color: inherit;
|
|
150
142
|
}
|
|
151
143
|
|
|
152
|
-
h6 {
|
|
144
|
+
:where(.docs-heading--h6) {
|
|
145
|
+
font-weight: var(--docs-heading-font-weight-h6);
|
|
146
|
+
margin-bottom: var(--docs-heading-margin-bottom-h6);
|
|
153
147
|
font-size: 1rem;
|
|
154
148
|
color: inherit;
|
|
155
149
|
}
|
|
156
150
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
h3 > a,
|
|
160
|
-
h4 > a,
|
|
161
|
-
h5 > a,
|
|
162
|
-
h6 > a {
|
|
163
|
-
text-decoration: none;
|
|
151
|
+
:where(* + .docs-heading) {
|
|
152
|
+
margin-top: 2rem;
|
|
164
153
|
}
|
|
165
154
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
margin-top: 2rem;
|
|
155
|
+
:where(.docs-heading--h1 + .docs-heading--h2),
|
|
156
|
+
:where(.docs-heading--h2 + .docs-heading--h3),
|
|
157
|
+
:where(.docs-heading--h3 + .docs-heading--h4),
|
|
158
|
+
:where(.docs-heading--h4 + .docs-heading--h5),
|
|
159
|
+
:where(.docs-heading--h5 + .docs-heading--h6) {
|
|
160
|
+
margin-top: 1rem;
|
|
173
161
|
}
|
|
174
162
|
|
|
175
163
|
@media (width <= 640px) {
|
|
176
|
-
h1 {
|
|
164
|
+
:where(.docs-heading--h1) {
|
|
177
165
|
font-size: 1.75rem;
|
|
178
166
|
}
|
|
179
|
-
h2 {
|
|
167
|
+
:where(.docs-heading--h2) {
|
|
180
168
|
font-size: 1.5rem;
|
|
181
169
|
}
|
|
182
|
-
h3 {
|
|
170
|
+
:where(.docs-heading--h3) {
|
|
183
171
|
font-size: 1.25rem;
|
|
184
172
|
}
|
|
185
|
-
h4 {
|
|
173
|
+
:where(.docs-heading--h4) {
|
|
186
174
|
font-size: 1.125rem;
|
|
187
175
|
}
|
|
188
|
-
h5 {
|
|
176
|
+
:where(.docs-heading--h5) {
|
|
189
177
|
font-size: 1rem;
|
|
190
178
|
}
|
|
191
|
-
h6 {
|
|
179
|
+
:where(.docs-heading--h6) {
|
|
192
180
|
font-size: 1rem;
|
|
193
181
|
}
|
|
194
182
|
}
|
|
195
|
-
h1
|
|
196
|
-
|
|
183
|
+
main :where(.docs-heading--h1) {
|
|
184
|
+
font-size: 2.5rem;
|
|
185
|
+
color: var(--docs-text-color-default);
|
|
197
186
|
}
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
margin-top:
|
|
187
|
+
main :where(.docs-heading--h2) {
|
|
188
|
+
font-size: 1.5rem;
|
|
189
|
+
margin-top: 3rem;
|
|
201
190
|
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
margin-top: 1rem;
|
|
191
|
+
main :where(.docs-heading--h3) {
|
|
192
|
+
font-size: 1.2rem;
|
|
205
193
|
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
margin-top: 1rem;
|
|
194
|
+
main :where(.docs-heading--h4) {
|
|
195
|
+
font-size: 1rem;
|
|
209
196
|
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
margin-top: 1rem;
|
|
197
|
+
main :where(.docs-heading:first-child) {
|
|
198
|
+
margin-top: 0;
|
|
213
199
|
}
|
|
214
200
|
|
|
215
201
|
.docs-paragraph {
|
|
@@ -224,7 +210,7 @@ strong {
|
|
|
224
210
|
font-weight: 700;
|
|
225
211
|
}
|
|
226
212
|
|
|
227
|
-
code {
|
|
213
|
+
:where(code) {
|
|
228
214
|
font-size: var(--docs-font-size);
|
|
229
215
|
border-radius: 2px;
|
|
230
216
|
font-family: Consolas, "Liberation Mono", Courier, monospace;
|
|
@@ -891,24 +877,6 @@ p:not(.code-preview p) {
|
|
|
891
877
|
max-width: 680px;
|
|
892
878
|
}
|
|
893
879
|
|
|
894
|
-
main h1:not(.code-preview h1) {
|
|
895
|
-
font-size: 2.5rem;
|
|
896
|
-
color: var(--docs-text-color-default);
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
main h2:not(.code-preview h2) {
|
|
900
|
-
font-size: 1.5rem;
|
|
901
|
-
margin-top: 3rem;
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
main h3:not(.code-preview h3) {
|
|
905
|
-
font-size: 1.2rem;
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
main h4:not(.code-preview h4) {
|
|
909
|
-
font-size: 1rem;
|
|
910
|
-
}
|
|
911
|
-
|
|
912
880
|
.header-anchor:hover {
|
|
913
881
|
text-decoration: underline;
|
|
914
882
|
}
|
|
@@ -928,38 +896,11 @@ main h4:not(.code-preview h4) {
|
|
|
928
896
|
visibility: visible;
|
|
929
897
|
}
|
|
930
898
|
|
|
931
|
-
h1 code {
|
|
932
|
-
color: var(--docs-text-color-discrete);
|
|
933
|
-
font-family: var(--docs-font-family);
|
|
934
|
-
background-color: transparent;
|
|
935
|
-
font-weight: 400;
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
h1 .header-anchor,
|
|
939
|
-
h2 .header-anchor,
|
|
940
|
-
h3 .header-anchor,
|
|
941
|
-
h4 .header-anchor,
|
|
942
|
-
h5 .header-anchor,
|
|
943
|
-
h6 .header-anchor {
|
|
944
|
-
color: var(--docs-text-color-default);
|
|
945
|
-
}
|
|
946
|
-
h1 code,
|
|
947
|
-
h2 code,
|
|
948
|
-
h3 code,
|
|
949
|
-
h4 code,
|
|
950
|
-
h5 code,
|
|
951
|
-
h6 code {
|
|
952
|
-
font-size: inherit;
|
|
953
|
-
margin: 0;
|
|
954
|
-
padding: 0;
|
|
955
|
-
text-decoration: inherit;
|
|
956
|
-
}
|
|
957
|
-
|
|
958
899
|
#content a:where(:not(.code-preview a)) {
|
|
959
900
|
color: var(--docs-text-color-default);
|
|
960
901
|
}
|
|
961
902
|
|
|
962
|
-
#content a:where(:not(.code-preview a,
|
|
903
|
+
#content a:where(:not(.code-preview a, .header-anchor)),
|
|
963
904
|
footer a {
|
|
964
905
|
text-decoration: underline;
|
|
965
906
|
text-decoration-thickness: 1px;
|
|
@@ -967,7 +908,7 @@ footer a {
|
|
|
967
908
|
text-decoration-color: var(--docs-text-color-link);
|
|
968
909
|
text-underline-offset: 0.15rem;
|
|
969
910
|
}
|
|
970
|
-
#content a:where(:not(.code-preview a,
|
|
911
|
+
#content a:where(:not(.code-preview a, .header-anchor)):hover,
|
|
971
912
|
footer a:hover {
|
|
972
913
|
color: var(--docs-text-color-default);
|
|
973
914
|
text-decoration-color: var(--docs-text-color-default);
|
|
@@ -1005,17 +946,6 @@ header .page-header__logo::after {
|
|
|
1005
946
|
margin: 0 1rem;
|
|
1006
947
|
}
|
|
1007
948
|
|
|
1008
|
-
header .select-field {
|
|
1009
|
-
--f-background-input-hover: #f4f4f4;
|
|
1010
|
-
--f-input-shadow-inset: none;
|
|
1011
|
-
padding-left: 1rem;
|
|
1012
|
-
display: flex;
|
|
1013
|
-
flex-direction: row;
|
|
1014
|
-
align-items: center;
|
|
1015
|
-
margin: 0;
|
|
1016
|
-
width: 100%;
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
949
|
header .page-header__right {
|
|
1020
950
|
justify-content: space-between;
|
|
1021
951
|
min-width: 0;
|
|
@@ -1037,24 +967,6 @@ header .page-header__right-slot {
|
|
|
1037
967
|
display: none;
|
|
1038
968
|
}
|
|
1039
969
|
}
|
|
1040
|
-
header .select-field__icon {
|
|
1041
|
-
top: 0.5rem;
|
|
1042
|
-
color: #1b1e23;
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
|
-
header .select-field__select {
|
|
1046
|
-
width: auto;
|
|
1047
|
-
border: 1px solid #8d8e91;
|
|
1048
|
-
padding-right: 3rem;
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
header .label {
|
|
1052
|
-
font-weight: 400;
|
|
1053
|
-
color: var(--docs-text-color-discrete);
|
|
1054
|
-
margin-right: 1rem;
|
|
1055
|
-
margin-bottom: 0;
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
970
|
/* navigering vänster */
|
|
1059
971
|
#sidenav {
|
|
1060
972
|
background-color: var(--docs-menu-background-color);
|
|
@@ -1107,10 +1019,6 @@ header .label {
|
|
|
1107
1019
|
display: inline-block;
|
|
1108
1020
|
}
|
|
1109
1021
|
|
|
1110
|
-
main h2:first-child {
|
|
1111
|
-
margin-top: 0;
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
1022
|
main #aside dl {
|
|
1115
1023
|
margin-bottom: 2rem;
|
|
1116
1024
|
}
|