@iyulab/chat-components 0.1.0 → 0.2.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.
Files changed (111) hide show
  1. package/CHANGELOG.md +30 -4
  2. package/LICENSE +20 -20
  3. package/README.md +36 -20
  4. package/dist/components/blocks/UCodeBlock.component.d.ts +7 -8
  5. package/dist/components/blocks/UCodeBlock.component.js +32 -21
  6. package/dist/components/blocks/UCodeBlock.styles.js +7 -6
  7. package/dist/components/{json-viewer/UJsonViewer.component.d.ts → blocks/UJsonBlock.component.d.ts} +5 -4
  8. package/dist/components/{json-viewer/UJsonViewer.component.js → blocks/UJsonBlock.component.js} +20 -17
  9. package/dist/components/blocks/UJsonBlock.d.ts +7 -0
  10. package/dist/components/blocks/UJsonBlock.js +5 -0
  11. package/dist/components/blocks/UMarkedBlock.component.d.ts +30 -9
  12. package/dist/components/blocks/UMarkedBlock.component.js +75 -26
  13. package/dist/components/blocks/UMarkedBlock.styles.js +288 -949
  14. package/dist/components/blocks/UThinkBlock.component.d.ts +3 -8
  15. package/dist/components/blocks/UThinkBlock.component.js +28 -22
  16. package/dist/components/blocks/UThinkBlock.styles.js +35 -54
  17. package/dist/components/blocks/UToolBlock.component.d.ts +13 -9
  18. package/dist/components/blocks/UToolBlock.component.js +30 -76
  19. package/dist/components/blocks/UToolBlock.styles.js +21 -62
  20. package/dist/components/buttons/UAttachButton.component.d.ts +3 -5
  21. package/dist/components/buttons/UAttachButton.component.js +30 -19
  22. package/dist/components/buttons/UAttachButton.styles.js +5 -12
  23. package/dist/components/buttons/UCopyButton.component.d.ts +3 -8
  24. package/dist/components/buttons/UCopyButton.component.js +29 -53
  25. package/dist/components/buttons/UCopyButton.styles.js +8 -37
  26. package/dist/components/buttons/UReportButton.component.d.ts +9 -0
  27. package/dist/components/buttons/UReportButton.component.js +36 -0
  28. package/dist/components/buttons/UReportButton.d.ts +7 -0
  29. package/dist/components/buttons/UReportButton.js +5 -0
  30. package/dist/components/buttons/UReportButton.styles.js +14 -0
  31. package/dist/components/buttons/URetryButton.component.d.ts +11 -0
  32. package/dist/components/buttons/URetryButton.component.js +53 -0
  33. package/dist/components/buttons/URetryButton.d.ts +7 -0
  34. package/dist/components/buttons/URetryButton.js +5 -0
  35. package/dist/components/buttons/URetryButton.styles.js +26 -0
  36. package/dist/components/buttons/UShareButton.component.d.ts +9 -0
  37. package/dist/components/buttons/UShareButton.component.js +36 -0
  38. package/dist/components/buttons/UShareButton.d.ts +7 -0
  39. package/dist/components/buttons/UShareButton.js +5 -0
  40. package/dist/components/buttons/UShareButton.styles.d.ts +1 -0
  41. package/dist/components/buttons/UShareButton.styles.js +14 -0
  42. package/dist/components/buttons/UVoteButton.component.d.ts +15 -0
  43. package/dist/components/buttons/UVoteButton.component.js +70 -0
  44. package/dist/components/buttons/UVoteButton.d.ts +8 -0
  45. package/dist/components/buttons/UVoteButton.js +5 -0
  46. package/dist/components/buttons/UVoteButton.styles.d.ts +1 -0
  47. package/dist/components/buttons/UVoteButton.styles.js +19 -0
  48. package/dist/components/loaders/UDotLoader.component.d.ts +9 -0
  49. package/dist/components/loaders/UDotLoader.component.js +23 -0
  50. package/dist/components/loaders/UDotLoader.d.ts +7 -0
  51. package/dist/components/loaders/UDotLoader.js +5 -0
  52. package/dist/components/loaders/UDotLoader.styles.d.ts +1 -0
  53. package/dist/components/loaders/UDotLoader.styles.js +50 -0
  54. package/dist/components/message/UMessage.component.d.ts +12 -6
  55. package/dist/components/message/UMessage.component.js +39 -59
  56. package/dist/components/message/UMessage.d.ts +0 -1
  57. package/dist/components/message/UMessage.styles.js +30 -49
  58. package/dist/components/prompt/UPrompt.component.d.ts +25 -0
  59. package/dist/components/prompt/UPrompt.component.js +113 -0
  60. package/dist/components/prompt/UPrompt.d.ts +7 -0
  61. package/dist/components/prompt/UPrompt.js +5 -0
  62. package/dist/components/prompt/UPrompt.styles.d.ts +1 -0
  63. package/dist/components/prompt/UPrompt.styles.js +42 -0
  64. package/dist/components/references/URefCard.component.d.ts +22 -0
  65. package/dist/components/references/URefCard.component.js +96 -0
  66. package/dist/components/references/URefCard.d.ts +7 -0
  67. package/dist/components/references/URefCard.js +5 -0
  68. package/dist/components/references/URefCard.styles.d.ts +1 -0
  69. package/dist/components/references/URefCard.styles.js +103 -0
  70. package/dist/components/references/URefCardGroup.component.d.ts +25 -0
  71. package/dist/components/references/URefCardGroup.component.js +88 -0
  72. package/dist/components/references/URefCardGroup.d.ts +7 -0
  73. package/dist/components/references/URefCardGroup.js +5 -0
  74. package/dist/components/references/URefCardGroup.styles.d.ts +1 -0
  75. package/dist/components/references/URefCardGroup.styles.js +69 -0
  76. package/dist/components/references/URefTag.component.d.ts +11 -0
  77. package/dist/components/{buttons/USendButton.component.js → references/URefTag.component.js} +17 -14
  78. package/dist/components/references/URefTag.d.ts +7 -0
  79. package/dist/components/references/URefTag.js +5 -0
  80. package/dist/components/references/URefTag.styles.d.ts +1 -0
  81. package/dist/components/references/URefTag.styles.js +51 -0
  82. package/dist/events/UCancelEvent.d.ts +6 -0
  83. package/dist/index.d.ts +15 -5
  84. package/dist/index.js +20 -6
  85. package/dist/types/BlockItem.d.ts +36 -0
  86. package/dist/types/BlockReference.d.ts +32 -0
  87. package/dist/types/JsonNode.d.ts +20 -0
  88. package/dist/utilities/converters.d.ts +9 -0
  89. package/dist/utilities/converters.js +19 -0
  90. package/package.json +14 -15
  91. package/dist/components/buttons/USendButton.component.d.ts +0 -13
  92. package/dist/components/buttons/USendButton.d.ts +0 -7
  93. package/dist/components/buttons/USendButton.js +0 -5
  94. package/dist/components/buttons/USendButton.styles.js +0 -23
  95. package/dist/components/buttons/UThinkButton.component.d.ts +0 -19
  96. package/dist/components/buttons/UThinkButton.component.js +0 -73
  97. package/dist/components/buttons/UThinkButton.d.ts +0 -7
  98. package/dist/components/buttons/UThinkButton.js +0 -5
  99. package/dist/components/buttons/UThinkButton.styles.js +0 -72
  100. package/dist/components/json-viewer/UJsonViewer.d.ts +0 -7
  101. package/dist/components/json-viewer/UJsonViewer.js +0 -5
  102. package/dist/components/json-viewer/UJsonViewer.lib.d.ts +0 -16
  103. package/dist/components/json-viewer/UJsonViewer.lib.js +0 -28
  104. package/dist/components/message/UMessage.types.d.ts +0 -21
  105. package/dist/events/UStopEvent.d.ts +0 -6
  106. package/dist/internals/date-helpers.d.ts +0 -8
  107. package/dist/internals/date-helpers.js +0 -27
  108. /package/dist/components/{buttons/USendButton.styles.d.ts → blocks/UJsonBlock.styles.d.ts} +0 -0
  109. /package/dist/components/{json-viewer/UJsonViewer.styles.js → blocks/UJsonBlock.styles.js} +0 -0
  110. /package/dist/components/buttons/{UThinkButton.styles.d.ts → UReportButton.styles.d.ts} +0 -0
  111. /package/dist/components/{json-viewer/UJsonViewer.styles.d.ts → buttons/URetryButton.styles.d.ts} +0 -0
@@ -1,15 +1,22 @@
1
1
  import { css } from 'lit';
2
2
 
3
3
  const styles = css`
4
+ /* github-markdown styles */
4
5
  :host {
6
+ --fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
7
+ --base-size-4: 0.25rem;
8
+ --base-size-8: 0.5rem;
9
+ --base-size-16: 1rem;
10
+ --base-size-24: 1.5rem;
11
+ --base-size-40: 2.5rem;
12
+ --base-text-weight-normal: 400;
13
+ --base-text-weight-medium: 500;
14
+ --base-text-weight-semibold: 600;
15
+
5
16
  --focus-outlineColor: #0969da;
6
17
  --fgColor-default: #1f2328;
7
18
  --fgColor-muted: #59636e;
8
19
  --fgColor-accent: #0969da;
9
- --fgColor-success: #1a7f37;
10
- --fgColor-attention: #9a6700;
11
- --fgColor-danger: #d1242f;
12
- --fgColor-done: #8250df;
13
20
  --bgColor-default: #ffffff;
14
21
  --bgColor-muted: #f6f8fa;
15
22
  --bgColor-neutral-muted: #818b981f;
@@ -17,51 +24,12 @@ const styles = css`
17
24
  --borderColor-default: #d1d9e0;
18
25
  --borderColor-muted: #d1d9e0b3;
19
26
  --borderColor-neutral-muted: #d1d9e0b3;
20
- --borderColor-accent-emphasis: #0969da;
21
- --borderColor-success-emphasis: #1a7f37;
22
- --borderColor-attention-emphasis: #9a6700;
23
- --borderColor-danger-emphasis: #cf222e;
24
- --borderColor-done-emphasis: #8250df;
25
- --color-prettylights-syntax-comment: #59636e;
26
- --color-prettylights-syntax-constant: #0550ae;
27
- --color-prettylights-syntax-constant-other-reference-link: #0a3069;
28
- --color-prettylights-syntax-entity: #6639ba;
29
- --color-prettylights-syntax-storage-modifier-import: #1f2328;
30
- --color-prettylights-syntax-entity-tag: #0550ae;
31
- --color-prettylights-syntax-keyword: #cf222e;
32
- --color-prettylights-syntax-string: #0a3069;
33
- --color-prettylights-syntax-variable: #953800;
34
- --color-prettylights-syntax-brackethighlighter-unmatched: #82071e;
35
- --color-prettylights-syntax-brackethighlighter-angle: #59636e;
36
- --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
37
- --color-prettylights-syntax-invalid-illegal-bg: #82071e;
38
- --color-prettylights-syntax-carriage-return-text: #f6f8fa;
39
- --color-prettylights-syntax-carriage-return-bg: #cf222e;
40
- --color-prettylights-syntax-string-regexp: #116329;
41
- --color-prettylights-syntax-markup-list: #3b2300;
42
- --color-prettylights-syntax-markup-heading: #0550ae;
43
- --color-prettylights-syntax-markup-italic: #1f2328;
44
- --color-prettylights-syntax-markup-bold: #1f2328;
45
- --color-prettylights-syntax-markup-deleted-text: #82071e;
46
- --color-prettylights-syntax-markup-deleted-bg: #ffebe9;
47
- --color-prettylights-syntax-markup-inserted-text: #116329;
48
- --color-prettylights-syntax-markup-inserted-bg: #dafbe1;
49
- --color-prettylights-syntax-markup-changed-text: #953800;
50
- --color-prettylights-syntax-markup-changed-bg: #ffd8b5;
51
- --color-prettylights-syntax-markup-ignored-text: #d1d9e0;
52
- --color-prettylights-syntax-markup-ignored-bg: #0550ae;
53
- --color-prettylights-syntax-meta-diff-range: #8250df;
54
- --color-prettylights-syntax-sublimelinter-gutter-mark: #818b98;
55
27
  }
56
28
  :host-context([theme="dark"]) {
57
29
  --focus-outlineColor: #1f6feb;
58
30
  --fgColor-default: #f0f6fc;
59
31
  --fgColor-muted: #9198a1;
60
32
  --fgColor-accent: #4493f8;
61
- --fgColor-success: #3fb950;
62
- --fgColor-attention: #d29922;
63
- --fgColor-danger: #f85149;
64
- --fgColor-done: #ab7df8;
65
33
  --bgColor-default: #0d1117;
66
34
  --bgColor-muted: #151b23;
67
35
  --bgColor-neutral-muted: #656c7633;
@@ -69,759 +37,314 @@ const styles = css`
69
37
  --borderColor-default: #3d444d;
70
38
  --borderColor-muted: #3d444db3;
71
39
  --borderColor-neutral-muted: #3d444db3;
72
- --borderColor-accent-emphasis: #1f6feb;
73
- --borderColor-success-emphasis: #238636;
74
- --borderColor-attention-emphasis: #9e6a03;
75
- --borderColor-danger-emphasis: #da3633;
76
- --borderColor-done-emphasis: #8957e5;
77
- --color-prettylights-syntax-comment: #9198a1;
78
- --color-prettylights-syntax-constant: #79c0ff;
79
- --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
80
- --color-prettylights-syntax-entity: #d2a8ff;
81
- --color-prettylights-syntax-storage-modifier-import: #f0f6fc;
82
- --color-prettylights-syntax-entity-tag: #7ee787;
83
- --color-prettylights-syntax-keyword: #ff7b72;
84
- --color-prettylights-syntax-string: #a5d6ff;
85
- --color-prettylights-syntax-variable: #ffa657;
86
- --color-prettylights-syntax-brackethighlighter-unmatched: #f85149;
87
- --color-prettylights-syntax-brackethighlighter-angle: #9198a1;
88
- --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
89
- --color-prettylights-syntax-invalid-illegal-bg: #8e1519;
90
- --color-prettylights-syntax-carriage-return-text: #f0f6fc;
91
- --color-prettylights-syntax-carriage-return-bg: #b62324;
92
- --color-prettylights-syntax-string-regexp: #7ee787;
93
- --color-prettylights-syntax-markup-list: #f2cc60;
94
- --color-prettylights-syntax-markup-heading: #1f6feb;
95
- --color-prettylights-syntax-markup-italic: #f0f6fc;
96
- --color-prettylights-syntax-markup-bold: #f0f6fc;
97
- --color-prettylights-syntax-markup-deleted-text: #ffdcd7;
98
- --color-prettylights-syntax-markup-deleted-bg: #67060c;
99
- --color-prettylights-syntax-markup-inserted-text: #aff5b4;
100
- --color-prettylights-syntax-markup-inserted-bg: #033a16;
101
- --color-prettylights-syntax-markup-changed-text: #ffdfb6;
102
- --color-prettylights-syntax-markup-changed-bg: #5a1e02;
103
- --color-prettylights-syntax-markup-ignored-text: #f0f6fc;
104
- --color-prettylights-syntax-markup-ignored-bg: #1158c7;
105
- --color-prettylights-syntax-meta-diff-range: #d2a8ff;
106
- --color-prettylights-syntax-sublimelinter-gutter-mark: #3d444d;
107
40
  }
108
41
 
109
42
  :host {
110
43
  display: block;
111
44
  width: 100%;
112
- height: auto;
113
- }
114
-
115
- /* github-markdown styles */
116
- .markdown-body {
117
- --base-size-4: 0.25rem;
118
- --base-size-8: 0.5rem;
119
- --base-size-16: 1rem;
120
- --base-size-24: 1.5rem;
121
- --base-size-40: 2.5rem;
122
- --base-text-weight-normal: 400;
123
- --base-text-weight-medium: 500;
124
- --base-text-weight-semibold: 600;
125
- --fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
126
- --fgColor-accent: Highlight;
127
- }
128
-
129
- .markdown-body {
45
+ height: auto;
130
46
  -ms-text-size-adjust: 100%;
131
47
  -webkit-text-size-adjust: 100%;
132
48
  margin: 0;
133
- color: var(--fgColor-default);
134
- background-color: var(--bgColor-default);
135
49
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
136
50
  font-size: 16px;
137
51
  line-height: 1.5;
138
52
  word-wrap: break-word;
139
53
  }
140
54
 
141
- /* custom block */
142
- .markdown-body u-code-block {
55
+ /* Custom Block Start */
56
+ u-code-block {
143
57
  margin-bottom: var(--base-size-16);
144
58
  }
145
59
 
146
- .markdown-body .octicon {
147
- display: inline-block;
148
- fill: currentColor;
149
- vertical-align: text-bottom;
150
- }
151
-
152
- .markdown-body h1:hover .anchor .octicon-link:before,
153
- .markdown-body h2:hover .anchor .octicon-link:before,
154
- .markdown-body h3:hover .anchor .octicon-link:before,
155
- .markdown-body h4:hover .anchor .octicon-link:before,
156
- .markdown-body h5:hover .anchor .octicon-link:before,
157
- .markdown-body h6:hover .anchor .octicon-link:before {
158
- width: 16px;
159
- height: 16px;
160
- content: ' ';
161
- display: inline-block;
162
- background-color: currentColor;
163
- -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");
164
- mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");
165
- }
166
-
167
- .markdown-body details,
168
- .markdown-body figcaption,
169
- .markdown-body figure {
170
- display: block;
60
+ .katex math {
61
+ margin: var(--base-size-16) 0;
171
62
  }
172
63
 
173
- .markdown-body summary {
174
- display: list-item;
64
+ u-tooltip {
65
+ padding: 0;
66
+ border: none;
67
+ box-shadow: none;
68
+ background-color: transparent;
175
69
  }
176
-
177
- .markdown-body [hidden] {
178
- display: none !important;
70
+ u-tooltip[visible] {
71
+ opacity: 1;
179
72
  }
73
+ /* Custom Block End */
180
74
 
181
- .markdown-body a {
75
+ a {
182
76
  background-color: transparent;
183
77
  color: var(--fgColor-accent);
184
78
  text-decoration: none;
185
79
  }
186
80
 
187
- .markdown-body abbr[title] {
188
- border-bottom: none;
189
- -webkit-text-decoration: underline dotted;
190
- text-decoration: underline dotted;
191
- }
192
-
193
- .markdown-body b,
194
- .markdown-body strong {
195
- font-weight: var(--base-text-weight-semibold, 600);
196
- }
197
-
198
- .markdown-body dfn {
199
- font-style: italic;
200
- }
201
-
202
- .markdown-body h1 {
203
- margin: .67em 0;
204
- font-weight: var(--base-text-weight-semibold, 600);
205
- padding-bottom: .3em;
206
- font-size: 2em;
207
- border-bottom: 1px solid var(--borderColor-muted);
208
- }
209
-
210
- .markdown-body mark {
211
- background-color: var(--bgColor-attention-muted);
212
- color: var(--fgColor-default);
213
- }
214
-
215
- .markdown-body small {
216
- font-size: 90%;
217
- }
218
-
219
- .markdown-body sub,
220
- .markdown-body sup {
221
- font-size: 75%;
222
- line-height: 0;
223
- position: relative;
224
- vertical-align: baseline;
225
- }
226
-
227
- .markdown-body sub {
228
- bottom: -0.25em;
229
- }
230
-
231
- .markdown-body sup {
232
- top: -0.5em;
233
- }
234
-
235
- .markdown-body img {
236
- border-style: none;
237
- max-width: 100%;
238
- box-sizing: content-box;
239
- }
240
-
241
- .markdown-body code,
242
- .markdown-body kbd,
243
- .markdown-body pre,
244
- .markdown-body samp {
245
- font-family: monospace;
246
- font-size: 1em;
247
- }
248
-
249
- .markdown-body figure {
250
- margin: 1em var(--base-size-40);
251
- }
252
-
253
- .markdown-body hr {
254
- box-sizing: content-box;
255
- overflow: hidden;
256
- background: transparent;
257
- border-bottom: 1px solid var(--borderColor-muted);
258
- height: .25em;
259
- padding: 0;
260
- margin: var(--base-size-24) 0;
261
- background-color: var(--borderColor-default);
262
- border: 0;
263
- }
264
-
265
- .markdown-body input {
266
- font: inherit;
267
- margin: 0;
268
- overflow: visible;
269
- font-family: inherit;
270
- font-size: inherit;
271
- line-height: inherit;
272
- }
273
-
274
- .markdown-body [type=button],
275
- .markdown-body [type=reset],
276
- .markdown-body [type=submit] {
277
- -webkit-appearance: button;
278
- appearance: button;
279
- }
280
-
281
- .markdown-body [type=checkbox],
282
- .markdown-body [type=radio] {
283
- box-sizing: border-box;
284
- padding: 0;
285
- }
286
-
287
- .markdown-body [type=number]::-webkit-inner-spin-button,
288
- .markdown-body [type=number]::-webkit-outer-spin-button {
289
- height: auto;
290
- }
291
-
292
- .markdown-body [type=search]::-webkit-search-cancel-button,
293
- .markdown-body [type=search]::-webkit-search-decoration {
294
- -webkit-appearance: none;
295
- appearance: none;
296
- }
297
-
298
- .markdown-body ::-webkit-input-placeholder {
299
- color: inherit;
300
- opacity: .54;
301
- }
302
-
303
- .markdown-body ::-webkit-file-upload-button {
304
- -webkit-appearance: button;
305
- appearance: button;
306
- font: inherit;
307
- }
308
-
309
- .markdown-body a:hover {
81
+ a:hover {
310
82
  text-decoration: underline;
311
83
  }
312
84
 
313
- .markdown-body ::placeholder {
314
- color: var(--fgColor-muted);
315
- opacity: 1;
316
- }
317
-
318
- .markdown-body hr::before {
319
- display: table;
320
- content: "";
321
- }
322
-
323
- .markdown-body hr::after {
324
- display: table;
325
- clear: both;
326
- content: "";
327
- }
328
-
329
- .markdown-body table {
330
- border-spacing: 0;
331
- border-collapse: collapse;
332
- display: block;
333
- width: max-content;
334
- max-width: 100%;
335
- overflow: auto;
336
- font-variant: tabular-nums;
337
- }
338
-
339
- .markdown-body td,
340
- .markdown-body th {
341
- padding: 0;
342
- }
343
-
344
- .markdown-body details summary {
345
- cursor: pointer;
346
- }
347
-
348
- .markdown-body a:focus,
349
- .markdown-body [role=button]:focus,
350
- .markdown-body input[type=radio]:focus,
351
- .markdown-body input[type=checkbox]:focus {
85
+ a:focus,
86
+ input[type=checkbox]:focus {
352
87
  outline: 2px solid var(--focus-outlineColor);
353
88
  outline-offset: -2px;
354
89
  box-shadow: none;
355
90
  }
356
91
 
357
- .markdown-body a:focus:not(:focus-visible),
358
- .markdown-body [role=button]:focus:not(:focus-visible),
359
- .markdown-body input[type=radio]:focus:not(:focus-visible),
360
- .markdown-body input[type=checkbox]:focus:not(:focus-visible) {
92
+ a:focus:not(:focus-visible),
93
+ input[type=checkbox]:focus:not(:focus-visible) {
361
94
  outline: solid 1px transparent;
362
95
  }
363
96
 
364
- .markdown-body a:focus-visible,
365
- .markdown-body [role=button]:focus-visible,
366
- .markdown-body input[type=radio]:focus-visible,
367
- .markdown-body input[type=checkbox]:focus-visible {
97
+ a:focus-visible,
98
+ input[type=checkbox]:focus-visible {
368
99
  outline: 2px solid var(--focus-outlineColor);
369
100
  outline-offset: -2px;
370
101
  box-shadow: none;
371
102
  }
372
103
 
373
- .markdown-body a:not([class]):focus,
374
- .markdown-body a:not([class]):focus-visible,
375
- .markdown-body input[type=radio]:focus,
376
- .markdown-body input[type=radio]:focus-visible,
377
- .markdown-body input[type=checkbox]:focus,
378
- .markdown-body input[type=checkbox]:focus-visible {
104
+ a:not([class]):focus,
105
+ a:not([class]):focus-visible,
106
+ input[type=checkbox]:focus,
107
+ input[type=checkbox]:focus-visible {
379
108
  outline-offset: 0;
380
109
  }
381
110
 
382
- .markdown-body kbd {
383
- display: inline-block;
384
- padding: var(--base-size-4);
385
- font: 11px var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);
386
- line-height: 10px;
387
- color: var(--fgColor-default);
388
- vertical-align: middle;
389
- background-color: var(--bgColor-muted);
390
- border: solid 1px var(--borderColor-neutral-muted);
391
- border-bottom-color: var(--borderColor-neutral-muted);
392
- border-radius: 6px;
393
- box-shadow: inset 0 -1px 0 var(--borderColor-neutral-muted);
111
+ a:not([href]) {
112
+ color: inherit;
113
+ text-decoration: none;
114
+ }
115
+
116
+ b,
117
+ strong {
118
+ font-weight: var(--base-text-weight-semibold, 600);
119
+ }
120
+
121
+ em {
122
+ font-style: italic;
123
+ }
124
+
125
+ del {
126
+ text-decoration: line-through;
127
+ }
128
+
129
+ h1 {
130
+ margin: .67em 0;
131
+ font-weight: var(--base-text-weight-semibold, 600);
132
+ padding-bottom: .3em;
133
+ font-size: 2em;
134
+ border-bottom: 1px solid var(--borderColor-muted);
394
135
  }
395
136
 
396
- .markdown-body h1,
397
- .markdown-body h2,
398
- .markdown-body h3,
399
- .markdown-body h4,
400
- .markdown-body h5,
401
- .markdown-body h6 {
137
+ h1,
138
+ h2,
139
+ h3,
140
+ h4,
141
+ h5,
142
+ h6 {
402
143
  margin-top: var(--base-size-24);
403
144
  margin-bottom: var(--base-size-16);
404
145
  font-weight: var(--base-text-weight-semibold, 600);
405
146
  line-height: 1.25;
406
147
  }
407
148
 
408
- .markdown-body h2 {
149
+ h2 {
409
150
  font-weight: var(--base-text-weight-semibold, 600);
410
151
  padding-bottom: .3em;
411
152
  font-size: 1.5em;
412
153
  border-bottom: 1px solid var(--borderColor-muted);
413
154
  }
414
155
 
415
- .markdown-body h3 {
156
+ h3 {
416
157
  font-weight: var(--base-text-weight-semibold, 600);
417
158
  font-size: 1.25em;
418
159
  }
419
160
 
420
- .markdown-body h4 {
161
+ h4 {
421
162
  font-weight: var(--base-text-weight-semibold, 600);
422
163
  font-size: 1em;
423
164
  }
424
165
 
425
- .markdown-body h5 {
166
+ h5 {
426
167
  font-weight: var(--base-text-weight-semibold, 600);
427
168
  font-size: .875em;
428
169
  }
429
170
 
430
- .markdown-body h6 {
171
+ h6 {
431
172
  font-weight: var(--base-text-weight-semibold, 600);
432
173
  font-size: .85em;
433
174
  color: var(--fgColor-muted);
434
175
  }
435
176
 
436
- .markdown-body p {
177
+ h1 tt,
178
+ h1 code,
179
+ h2 tt,
180
+ h2 code,
181
+ h3 tt,
182
+ h3 code,
183
+ h4 tt,
184
+ h4 code,
185
+ h5 tt,
186
+ h5 code,
187
+ h6 tt,
188
+ h6 code {
189
+ padding: 0 .2em;
190
+ font-size: inherit;
191
+ }
192
+
193
+ p {
437
194
  margin-top: 0;
438
195
  margin-bottom: 10px;
439
196
  }
440
197
 
441
- .markdown-body blockquote {
198
+ blockquote {
442
199
  margin: 0;
443
200
  padding: 0 1em;
444
201
  color: var(--fgColor-muted);
445
202
  border-left: .25em solid var(--borderColor-default);
446
203
  }
447
204
 
448
- .markdown-body ul,
449
- .markdown-body ol {
205
+ blockquote>:first-child {
450
206
  margin-top: 0;
451
- margin-bottom: 0;
452
- padding-left: 2em;
453
- }
454
-
455
- .markdown-body ol ol,
456
- .markdown-body ul ol {
457
- list-style-type: lower-roman;
458
- }
459
-
460
- .markdown-body ul ul ol,
461
- .markdown-body ul ol ol,
462
- .markdown-body ol ul ol,
463
- .markdown-body ol ol ol {
464
- list-style-type: lower-alpha;
465
207
  }
466
208
 
467
- .markdown-body dd {
468
- margin-left: 0;
209
+ blockquote>:last-child {
210
+ margin-bottom: 0;
469
211
  }
470
212
 
471
- .markdown-body tt,
472
- .markdown-body code,
473
- .markdown-body samp {
474
- font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);
475
- font-size: 12px;
213
+ ul,
214
+ ol {
215
+ margin-top: 0;
216
+ margin-bottom: 0;
217
+ padding-left: 2em;
476
218
  }
477
219
 
478
- .markdown-body pre {
220
+ ul ul,
221
+ ul ol,
222
+ ol ol,
223
+ ol ul {
479
224
  margin-top: 0;
480
225
  margin-bottom: 0;
481
- font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);
482
- font-size: 12px;
483
- word-wrap: normal;
484
226
  }
485
227
 
486
- .markdown-body .octicon {
487
- display: inline-block;
488
- overflow: visible !important;
489
- vertical-align: text-bottom;
490
- fill: currentColor;
228
+ ol ol,
229
+ ul ol {
230
+ list-style-type: lower-roman;
491
231
  }
492
232
 
493
- .markdown-body input::-webkit-outer-spin-button,
494
- .markdown-body input::-webkit-inner-spin-button {
495
- margin: 0;
496
- appearance: none;
233
+ ul ul ol,
234
+ ul ol ol,
235
+ ol ul ol,
236
+ ol ol ol {
237
+ list-style-type: lower-alpha;
497
238
  }
498
239
 
499
- .markdown-body .mr-2 {
500
- margin-right: var(--base-size-8, 8px) !important;
240
+ ol[type="a s"] {
241
+ list-style-type: lower-alpha;
501
242
  }
502
243
 
503
- .markdown-body::before {
504
- display: table;
505
- content: "";
244
+ ol[type="A s"] {
245
+ list-style-type: upper-alpha;
506
246
  }
507
247
 
508
- .markdown-body::after {
509
- display: table;
510
- clear: both;
511
- content: "";
248
+ ol[type="i s"] {
249
+ list-style-type: lower-roman;
512
250
  }
513
251
 
514
- .markdown-body>*:first-child {
515
- margin-top: 0 !important;
252
+ ol[type="I s"] {
253
+ list-style-type: upper-roman;
516
254
  }
517
255
 
518
- .markdown-body>*:last-child {
519
- margin-bottom: 0 !important;
256
+ ol[type="1"] {
257
+ list-style-type: decimal;
520
258
  }
521
259
 
522
- .markdown-body a:not([href]) {
523
- color: inherit;
524
- text-decoration: none;
260
+ div>ol:not([type]) {
261
+ list-style-type: decimal;
525
262
  }
526
263
 
527
- .markdown-body .absent {
528
- color: var(--fgColor-danger);
264
+ li>p {
265
+ margin-top: var(--base-size-16);
529
266
  }
530
267
 
531
- .markdown-body .anchor {
532
- float: left;
533
- padding-right: var(--base-size-4);
534
- margin-left: -20px;
535
- line-height: 1;
268
+ li+li {
269
+ margin-top: .25em;
536
270
  }
537
271
 
538
- .markdown-body .anchor:focus {
539
- outline: none;
272
+ dl {
273
+ padding: 0;
540
274
  }
541
275
 
542
- .markdown-body p,
543
- .markdown-body blockquote,
544
- .markdown-body ul,
545
- .markdown-body ol,
546
- .markdown-body dl,
547
- .markdown-body table,
548
- .markdown-body pre,
549
- .markdown-body details {
550
- margin-top: 0;
551
- margin-bottom: var(--base-size-16);
276
+ dl dt {
277
+ padding: 0;
278
+ margin-top: var(--base-size-16);
279
+ font-size: 1em;
280
+ font-style: italic;
281
+ font-weight: var(--base-text-weight-semibold, 600);
552
282
  }
553
283
 
554
- .markdown-body blockquote>:first-child {
555
- margin-top: 0;
284
+ dl dd {
285
+ padding: 0 var(--base-size-16);
286
+ margin-bottom: var(--base-size-16);
556
287
  }
557
288
 
558
- .markdown-body blockquote>:last-child {
559
- margin-bottom: 0;
289
+ dd {
290
+ margin-left: 0;
560
291
  }
561
292
 
562
- .markdown-body h1 .octicon-link,
563
- .markdown-body h2 .octicon-link,
564
- .markdown-body h3 .octicon-link,
565
- .markdown-body h4 .octicon-link,
566
- .markdown-body h5 .octicon-link,
567
- .markdown-body h6 .octicon-link {
293
+ mark {
294
+ background-color: var(--bgColor-attention-muted);
568
295
  color: var(--fgColor-default);
569
- vertical-align: middle;
570
- visibility: hidden;
571
296
  }
572
297
 
573
- .markdown-body h1:hover .anchor,
574
- .markdown-body h2:hover .anchor,
575
- .markdown-body h3:hover .anchor,
576
- .markdown-body h4:hover .anchor,
577
- .markdown-body h5:hover .anchor,
578
- .markdown-body h6:hover .anchor {
579
- text-decoration: none;
298
+ small {
299
+ font-size: 90%;
580
300
  }
581
301
 
582
- .markdown-body h1:hover .anchor .octicon-link,
583
- .markdown-body h2:hover .anchor .octicon-link,
584
- .markdown-body h3:hover .anchor .octicon-link,
585
- .markdown-body h4:hover .anchor .octicon-link,
586
- .markdown-body h5:hover .anchor .octicon-link,
587
- .markdown-body h6:hover .anchor .octicon-link {
588
- visibility: visible;
589
- }
590
-
591
- .markdown-body h1 tt,
592
- .markdown-body h1 code,
593
- .markdown-body h2 tt,
594
- .markdown-body h2 code,
595
- .markdown-body h3 tt,
596
- .markdown-body h3 code,
597
- .markdown-body h4 tt,
598
- .markdown-body h4 code,
599
- .markdown-body h5 tt,
600
- .markdown-body h5 code,
601
- .markdown-body h6 tt,
602
- .markdown-body h6 code {
603
- padding: 0 .2em;
604
- font-size: inherit;
302
+ sub,
303
+ sup {
304
+ font-size: 75%;
305
+ line-height: 0;
306
+ position: relative;
307
+ vertical-align: baseline;
605
308
  }
606
309
 
607
- .markdown-body summary h1,
608
- .markdown-body summary h2,
609
- .markdown-body summary h3,
610
- .markdown-body summary h4,
611
- .markdown-body summary h5,
612
- .markdown-body summary h6 {
613
- display: inline-block;
310
+ sub {
311
+ bottom: -0.25em;
614
312
  }
615
313
 
616
- .markdown-body summary h1 .anchor,
617
- .markdown-body summary h2 .anchor,
618
- .markdown-body summary h3 .anchor,
619
- .markdown-body summary h4 .anchor,
620
- .markdown-body summary h5 .anchor,
621
- .markdown-body summary h6 .anchor {
622
- margin-left: -40px;
314
+ sup {
315
+ top: -0.5em;
623
316
  }
624
317
 
625
- .markdown-body summary h1,
626
- .markdown-body summary h2 {
627
- padding-bottom: 0;
628
- border-bottom: 0;
318
+ img {
319
+ border-style: none;
320
+ max-width: 100%;
321
+ box-sizing: content-box;
322
+ background-color: transparent;
629
323
  }
630
324
 
631
- .markdown-body ul.no-list,
632
- .markdown-body ol.no-list {
633
- padding: 0;
634
- list-style-type: none;
325
+ .emoji {
326
+ max-width: none;
327
+ vertical-align: text-top;
328
+ background-color: transparent;
635
329
  }
636
330
 
637
- .markdown-body ol[type="a s"] {
638
- list-style-type: lower-alpha;
331
+ code,
332
+ kbd,
333
+ pre,
334
+ samp,
335
+ tt {
336
+ font-family: var(--fontStack-monospace);
337
+ font-size: 1em;
639
338
  }
640
339
 
641
- .markdown-body ol[type="A s"] {
642
- list-style-type: upper-alpha;
643
- }
644
-
645
- .markdown-body ol[type="i s"] {
646
- list-style-type: lower-roman;
647
- }
648
-
649
- .markdown-body ol[type="I s"] {
650
- list-style-type: upper-roman;
651
- }
652
-
653
- .markdown-body ol[type="1"] {
654
- list-style-type: decimal;
655
- }
656
-
657
- .markdown-body div>ol:not([type]) {
658
- list-style-type: decimal;
659
- }
660
-
661
- .markdown-body ul ul,
662
- .markdown-body ul ol,
663
- .markdown-body ol ol,
664
- .markdown-body ol ul {
665
- margin-top: 0;
666
- margin-bottom: 0;
667
- }
668
-
669
- .markdown-body li>p {
670
- margin-top: var(--base-size-16);
671
- }
672
-
673
- .markdown-body li+li {
674
- margin-top: .25em;
675
- }
676
-
677
- .markdown-body dl {
678
- padding: 0;
679
- }
680
-
681
- .markdown-body dl dt {
682
- padding: 0;
683
- margin-top: var(--base-size-16);
684
- font-size: 1em;
685
- font-style: italic;
686
- font-weight: var(--base-text-weight-semibold, 600);
687
- }
688
-
689
- .markdown-body dl dd {
690
- padding: 0 var(--base-size-16);
691
- margin-bottom: var(--base-size-16);
692
- }
693
-
694
- .markdown-body table th {
695
- font-weight: var(--base-text-weight-semibold, 600);
696
- }
697
-
698
- .markdown-body table th,
699
- .markdown-body table td {
700
- padding: 6px 13px;
701
- border: 1px solid var(--borderColor-default);
702
- }
703
-
704
- .markdown-body table td>:last-child {
705
- margin-bottom: 0;
706
- }
707
-
708
- .markdown-body table tr {
709
- background-color: var(--bgColor-default);
710
- border-top: 1px solid var(--borderColor-muted);
711
- }
712
-
713
- .markdown-body table tr:nth-child(2n) {
714
- background-color: var(--bgColor-muted);
715
- }
716
-
717
- .markdown-body table img {
718
- background-color: transparent;
719
- }
720
-
721
- .markdown-body img[align=right] {
722
- padding-left: 20px;
723
- }
724
-
725
- .markdown-body img[align=left] {
726
- padding-right: 20px;
727
- }
728
-
729
- .markdown-body .emoji {
730
- max-width: none;
731
- vertical-align: text-top;
732
- background-color: transparent;
733
- }
734
-
735
- .markdown-body span.frame {
736
- display: block;
737
- overflow: hidden;
738
- }
739
-
740
- .markdown-body span.frame>span {
741
- display: block;
742
- float: left;
743
- width: auto;
744
- padding: 7px;
745
- margin: 13px 0 0;
746
- overflow: hidden;
747
- border: 1px solid var(--borderColor-default);
748
- }
749
-
750
- .markdown-body span.frame span img {
751
- display: block;
752
- float: left;
753
- }
754
-
755
- .markdown-body span.frame span span {
756
- display: block;
757
- padding: 5px 0 0;
758
- clear: both;
759
- color: var(--fgColor-default);
760
- }
761
-
762
- .markdown-body span.align-center {
763
- display: block;
764
- overflow: hidden;
765
- clear: both;
766
- }
767
-
768
- .markdown-body span.align-center>span {
769
- display: block;
770
- margin: 13px auto 0;
771
- overflow: hidden;
772
- text-align: center;
773
- }
774
-
775
- .markdown-body span.align-center span img {
776
- margin: 0 auto;
777
- text-align: center;
778
- }
779
-
780
- .markdown-body span.align-right {
781
- display: block;
782
- overflow: hidden;
783
- clear: both;
784
- }
785
-
786
- .markdown-body span.align-right>span {
787
- display: block;
788
- margin: 13px 0 0;
789
- overflow: hidden;
790
- text-align: right;
791
- }
792
-
793
- .markdown-body span.align-right span img {
794
- margin: 0;
795
- text-align: right;
796
- }
797
-
798
- .markdown-body span.float-left {
799
- display: block;
800
- float: left;
801
- margin-right: 13px;
802
- overflow: hidden;
803
- }
804
-
805
- .markdown-body span.float-left span {
806
- margin: 13px 0 0;
807
- }
808
-
809
- .markdown-body span.float-right {
810
- display: block;
811
- float: right;
812
- margin-left: 13px;
813
- overflow: hidden;
814
- }
815
-
816
- .markdown-body span.float-right>span {
817
- display: block;
818
- margin: 13px auto 0;
819
- overflow: hidden;
820
- text-align: right;
340
+ tt,
341
+ code,
342
+ samp {
343
+ font-size: 12px;
821
344
  }
822
345
 
823
- .markdown-body code,
824
- .markdown-body tt {
346
+ code,
347
+ tt {
825
348
  padding: .2em .4em;
826
349
  margin: 0;
827
350
  font-size: 85%;
@@ -829,27 +352,33 @@ const styles = css`
829
352
  white-space: break-spaces;
830
353
  background-color: var(--bgColor-neutral-muted);
831
354
  border-radius: 6px;
832
- color: var(--color-prettylights-syntax-keyword);
833
355
  }
834
356
 
835
- .markdown-body code br,
836
- .markdown-body tt br {
357
+ code br,
358
+ tt br {
837
359
  display: none;
838
360
  }
839
361
 
840
- .markdown-body del code {
362
+ del code {
841
363
  text-decoration: inherit;
842
364
  }
843
365
 
844
- .markdown-body samp {
366
+ samp {
845
367
  font-size: 85%;
846
368
  }
847
369
 
848
- .markdown-body pre code {
370
+ pre {
371
+ margin-top: 0;
372
+ margin-bottom: 0;
373
+ font-size: 12px;
374
+ word-wrap: normal;
375
+ }
376
+
377
+ pre code {
849
378
  font-size: 100%;
850
379
  }
851
380
 
852
- .markdown-body pre>code {
381
+ pre>code {
853
382
  padding: 0;
854
383
  margin: 0;
855
384
  word-break: normal;
@@ -858,17 +387,17 @@ const styles = css`
858
387
  border: 0;
859
388
  }
860
389
 
861
- .markdown-body .highlight {
390
+ .highlight {
862
391
  margin-bottom: var(--base-size-16);
863
392
  }
864
393
 
865
- .markdown-body .highlight pre {
394
+ .highlight pre {
866
395
  margin-bottom: 0;
867
396
  word-break: normal;
868
397
  }
869
398
 
870
- .markdown-body .highlight pre,
871
- .markdown-body pre {
399
+ .highlight pre,
400
+ pre {
872
401
  padding: var(--base-size-16);
873
402
  overflow: auto;
874
403
  font-size: 85%;
@@ -878,8 +407,8 @@ const styles = css`
878
407
  border-radius: 6px;
879
408
  }
880
409
 
881
- .markdown-body pre code,
882
- .markdown-body pre tt {
410
+ pre code,
411
+ pre tt {
883
412
  display: inline;
884
413
  max-width: auto;
885
414
  padding: 0;
@@ -891,350 +420,160 @@ const styles = css`
891
420
  border: 0;
892
421
  }
893
422
 
894
- .markdown-body .csv-data td,
895
- .markdown-body .csv-data th {
896
- padding: 5px;
897
- overflow: hidden;
898
- font-size: 12px;
899
- line-height: 1;
900
- text-align: left;
901
- white-space: nowrap;
902
- }
903
-
904
- .markdown-body .csv-data .blob-num {
905
- padding: 10px var(--base-size-8) 9px;
906
- text-align: right;
907
- background: var(--bgColor-default);
908
- border: 0;
909
- }
910
-
911
- .markdown-body .csv-data tr {
912
- border-top: 0;
913
- }
914
-
915
- .markdown-body .csv-data th {
916
- font-weight: var(--base-text-weight-semibold, 600);
917
- background: var(--bgColor-muted);
918
- border-top: 0;
919
- }
920
-
921
- .markdown-body [data-footnote-ref]::before {
922
- content: "[";
923
- }
924
-
925
- .markdown-body [data-footnote-ref]::after {
926
- content: "]";
927
- }
928
-
929
- .markdown-body .footnotes {
930
- font-size: 12px;
931
- color: var(--fgColor-muted);
932
- border-top: 1px solid var(--borderColor-default);
933
- }
934
-
935
- .markdown-body .footnotes ol {
936
- padding-left: var(--base-size-16);
937
- }
938
-
939
- .markdown-body .footnotes ol ul {
423
+ kbd {
940
424
  display: inline-block;
941
- padding-left: var(--base-size-16);
942
- margin-top: var(--base-size-16);
943
- }
944
-
945
- .markdown-body .footnotes li {
946
- position: relative;
947
- }
948
-
949
- .markdown-body .footnotes li:target::before {
950
- position: absolute;
951
- top: calc(var(--base-size-8)*-1);
952
- right: calc(var(--base-size-8)*-1);
953
- bottom: calc(var(--base-size-8)*-1);
954
- left: calc(var(--base-size-24)*-1);
955
- pointer-events: none;
956
- content: "";
957
- border: 2px solid var(--borderColor-accent-emphasis);
958
- border-radius: 6px;
959
- }
960
-
961
- .markdown-body .footnotes li:target {
425
+ padding: var(--base-size-4);
426
+ font: 11px var(--fontStack-monospace);
427
+ line-height: 10px;
962
428
  color: var(--fgColor-default);
429
+ vertical-align: middle;
430
+ background-color: var(--bgColor-muted);
431
+ border: solid 1px var(--borderColor-neutral-muted);
432
+ border-bottom-color: var(--borderColor-neutral-muted);
433
+ border-radius: 6px;
434
+ box-shadow: inset 0 -1px 0 var(--borderColor-neutral-muted);
963
435
  }
964
436
 
965
- .markdown-body .footnotes .data-footnote-backref g-emoji {
966
- font-family: monospace;
967
- }
968
-
969
- .markdown-body body:has(:modal) {
970
- padding-right: var(--dialog-scrollgutter) !important;
971
- }
972
-
973
- .markdown-body .pl-c {
974
- color: var(--color-prettylights-syntax-comment);
975
- }
976
-
977
- .markdown-body .pl-c1,
978
- .markdown-body .pl-s .pl-v {
979
- color: var(--color-prettylights-syntax-constant);
980
- }
981
-
982
- .markdown-body .pl-e,
983
- .markdown-body .pl-en {
984
- color: var(--color-prettylights-syntax-entity);
985
- }
986
-
987
- .markdown-body .pl-smi,
988
- .markdown-body .pl-s .pl-s1 {
989
- color: var(--color-prettylights-syntax-storage-modifier-import);
990
- }
991
-
992
- .markdown-body .pl-ent {
993
- color: var(--color-prettylights-syntax-entity-tag);
994
- }
995
-
996
- .markdown-body .pl-k {
997
- color: var(--color-prettylights-syntax-keyword);
998
- }
999
-
1000
- .markdown-body .pl-s,
1001
- .markdown-body .pl-pds,
1002
- .markdown-body .pl-s .pl-pse .pl-s1,
1003
- .markdown-body .pl-sr,
1004
- .markdown-body .pl-sr .pl-cce,
1005
- .markdown-body .pl-sr .pl-sre,
1006
- .markdown-body .pl-sr .pl-sra {
1007
- color: var(--color-prettylights-syntax-string);
1008
- }
1009
-
1010
- .markdown-body .pl-v,
1011
- .markdown-body .pl-smw {
1012
- color: var(--color-prettylights-syntax-variable);
1013
- }
1014
-
1015
- .markdown-body .pl-bu {
1016
- color: var(--color-prettylights-syntax-brackethighlighter-unmatched);
437
+ hr {
438
+ box-sizing: content-box;
439
+ overflow: hidden;
440
+ background: transparent;
441
+ border-bottom: 1px solid var(--borderColor-muted);
442
+ height: .25em;
443
+ padding: 0;
444
+ margin: var(--base-size-24) 0;
445
+ background-color: var(--borderColor-default);
446
+ border: 0;
1017
447
  }
1018
448
 
1019
- .markdown-body .pl-ii {
1020
- color: var(--color-prettylights-syntax-invalid-illegal-text);
1021
- background-color: var(--color-prettylights-syntax-invalid-illegal-bg);
449
+ hr::before {
450
+ display: table;
451
+ content: "";
1022
452
  }
1023
453
 
1024
- .markdown-body .pl-c2 {
1025
- color: var(--color-prettylights-syntax-carriage-return-text);
1026
- background-color: var(--color-prettylights-syntax-carriage-return-bg);
454
+ hr::after {
455
+ display: table;
456
+ clear: both;
457
+ content: "";
1027
458
  }
1028
459
 
1029
- .markdown-body .pl-sr .pl-cce {
1030
- font-weight: bold;
1031
- color: var(--color-prettylights-syntax-string-regexp);
460
+ table {
461
+ border-spacing: 0;
462
+ border-collapse: collapse;
463
+ display: block;
464
+ width: max-content;
465
+ max-width: 100%;
466
+ overflow: auto;
467
+ font-variant: tabular-nums;
1032
468
  }
1033
469
 
1034
- .markdown-body .pl-ml {
1035
- color: var(--color-prettylights-syntax-markup-list);
470
+ table th {
471
+ font-weight: var(--base-text-weight-semibold, 600);
1036
472
  }
1037
473
 
1038
- .markdown-body .pl-mh,
1039
- .markdown-body .pl-mh .pl-en,
1040
- .markdown-body .pl-ms {
1041
- font-weight: bold;
1042
- color: var(--color-prettylights-syntax-markup-heading);
474
+ table th,
475
+ table td {
476
+ padding: 6px 13px;
477
+ border: 1px solid var(--borderColor-default);
1043
478
  }
1044
479
 
1045
- .markdown-body .pl-mi {
1046
- font-style: italic;
1047
- color: var(--color-prettylights-syntax-markup-italic);
480
+ table td>:last-child {
481
+ margin-bottom: 0;
1048
482
  }
1049
483
 
1050
- .markdown-body .pl-mb {
1051
- font-weight: bold;
1052
- color: var(--color-prettylights-syntax-markup-bold);
484
+ table tr {
485
+ background-color: var(--bgColor-default);
486
+ border-top: 1px solid var(--borderColor-muted);
1053
487
  }
1054
488
 
1055
- .markdown-body .pl-md {
1056
- color: var(--color-prettylights-syntax-markup-deleted-text);
1057
- background-color: var(--color-prettylights-syntax-markup-deleted-bg);
489
+ table tr:nth-child(2n) {
490
+ background-color: var(--bgColor-muted);
1058
491
  }
1059
492
 
1060
- .markdown-body .pl-mi1 {
1061
- color: var(--color-prettylights-syntax-markup-inserted-text);
1062
- background-color: var(--color-prettylights-syntax-markup-inserted-bg);
493
+ table img {
494
+ background-color: transparent;
1063
495
  }
1064
496
 
1065
- .markdown-body .pl-mc {
1066
- color: var(--color-prettylights-syntax-markup-changed-text);
1067
- background-color: var(--color-prettylights-syntax-markup-changed-bg);
497
+ td,
498
+ th {
499
+ padding: 0;
1068
500
  }
1069
501
 
1070
- .markdown-body .pl-mi2 {
1071
- color: var(--color-prettylights-syntax-markup-ignored-text);
1072
- background-color: var(--color-prettylights-syntax-markup-ignored-bg);
502
+ input {
503
+ font: inherit;
504
+ margin: 0;
505
+ overflow: visible;
506
+ font-family: inherit;
507
+ font-size: inherit;
508
+ line-height: inherit;
1073
509
  }
1074
510
 
1075
- .markdown-body .pl-mdr {
1076
- font-weight: bold;
1077
- color: var(--color-prettylights-syntax-meta-diff-range);
511
+ [type=checkbox] {
512
+ box-sizing: border-box;
513
+ padding: 0;
1078
514
  }
1079
515
 
1080
- .markdown-body .pl-ba {
1081
- color: var(--color-prettylights-syntax-brackethighlighter-angle);
516
+ ::placeholder {
517
+ color: var(--fgColor-muted);
518
+ opacity: 1;
1082
519
  }
1083
520
 
1084
- .markdown-body .pl-sg {
1085
- color: var(--color-prettylights-syntax-sublimelinter-gutter-mark);
521
+ input::-webkit-outer-spin-button,
522
+ input::-webkit-inner-spin-button {
523
+ margin: 0;
524
+ appearance: none;
1086
525
  }
1087
526
 
1088
- .markdown-body .pl-corl {
1089
- text-decoration: underline;
1090
- color: var(--color-prettylights-syntax-constant-other-reference-link);
527
+ .markdown-body::before {
528
+ display: table;
529
+ content: "";
1091
530
  }
1092
531
 
1093
- .markdown-body [role=button]:focus:not(:focus-visible),
1094
- .markdown-body [role=tabpanel][tabindex="0"]:focus:not(:focus-visible),
1095
- .markdown-body button:focus:not(:focus-visible),
1096
- .markdown-body summary:focus:not(:focus-visible),
1097
- .markdown-body a:focus:not(:focus-visible) {
1098
- outline: none;
1099
- box-shadow: none;
532
+ .markdown-body::after {
533
+ display: table;
534
+ clear: both;
535
+ content: "";
1100
536
  }
1101
537
 
1102
- .markdown-body [tabindex="0"]:focus:not(:focus-visible),
1103
- .markdown-body details-dialog:focus:not(:focus-visible) {
1104
- outline: none;
538
+ .markdown-body>*:first-child {
539
+ margin-top: 0 !important;
1105
540
  }
1106
541
 
1107
- .markdown-body g-emoji {
1108
- display: inline-block;
1109
- min-width: 1ch;
1110
- font-family: "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
1111
- font-size: 1em;
1112
- font-style: normal !important;
1113
- font-weight: var(--base-text-weight-normal, 400);
1114
- line-height: 1;
1115
- vertical-align: -0.075em;
542
+ .markdown-body>*:last-child {
543
+ margin-bottom: 0 !important;
1116
544
  }
1117
545
 
1118
- .markdown-body g-emoji img {
1119
- width: 1em;
1120
- height: 1em;
546
+ p,
547
+ blockquote,
548
+ ul,
549
+ ol,
550
+ dl,
551
+ table,
552
+ pre {
553
+ margin-top: 0;
554
+ margin-bottom: var(--base-size-16);
1121
555
  }
1122
556
 
1123
- .markdown-body .task-list-item {
557
+ .task-list-item {
1124
558
  list-style-type: none;
1125
559
  }
1126
560
 
1127
- .markdown-body .task-list-item label {
1128
- font-weight: var(--base-text-weight-normal, 400);
1129
- }
1130
-
1131
- .markdown-body .task-list-item.enabled label {
1132
- cursor: pointer;
1133
- }
1134
-
1135
- .markdown-body .task-list-item+.task-list-item {
561
+ .task-list-item+.task-list-item {
1136
562
  margin-top: var(--base-size-4);
1137
563
  }
1138
564
 
1139
- .markdown-body .task-list-item .handle {
1140
- display: none;
1141
- }
1142
-
1143
- .markdown-body .task-list-item-checkbox {
565
+ .task-list-item-checkbox {
1144
566
  margin: 0 .2em .25em -1.4em;
1145
567
  vertical-align: middle;
1146
568
  }
1147
569
 
1148
- .markdown-body ul:dir(rtl) .task-list-item-checkbox {
570
+ ul:dir(rtl) .task-list-item-checkbox {
1149
571
  margin: 0 -1.6em .25em .2em;
1150
572
  }
1151
573
 
1152
- .markdown-body ol:dir(rtl) .task-list-item-checkbox {
574
+ ol:dir(rtl) .task-list-item-checkbox {
1153
575
  margin: 0 -1.6em .25em .2em;
1154
576
  }
1155
-
1156
- .markdown-body .contains-task-list:hover .task-list-item-convert-container,
1157
- .markdown-body .contains-task-list:focus-within .task-list-item-convert-container {
1158
- display: block;
1159
- width: auto;
1160
- height: 24px;
1161
- overflow: visible;
1162
- clip: auto;
1163
- }
1164
-
1165
- .markdown-body ::-webkit-calendar-picker-indicator {
1166
- filter: invert(50%);
1167
- }
1168
-
1169
- .markdown-body .markdown-alert {
1170
- padding: var(--base-size-8) var(--base-size-16);
1171
- margin-bottom: var(--base-size-16);
1172
- color: inherit;
1173
- border-left: .25em solid var(--borderColor-default);
1174
- }
1175
-
1176
- .markdown-body .markdown-alert>:first-child {
1177
- margin-top: 0;
1178
- }
1179
-
1180
- .markdown-body .markdown-alert>:last-child {
1181
- margin-bottom: 0;
1182
- }
1183
-
1184
- .markdown-body .markdown-alert .markdown-alert-title {
1185
- display: flex;
1186
- font-weight: var(--base-text-weight-medium, 500);
1187
- align-items: center;
1188
- line-height: 1;
1189
- }
1190
-
1191
- .markdown-body .markdown-alert.markdown-alert-note {
1192
- border-left-color: var(--borderColor-accent-emphasis);
1193
- }
1194
-
1195
- .markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title {
1196
- color: var(--fgColor-accent);
1197
- }
1198
-
1199
- .markdown-body .markdown-alert.markdown-alert-important {
1200
- border-left-color: var(--borderColor-done-emphasis);
1201
- }
1202
-
1203
- .markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title {
1204
- color: var(--fgColor-done);
1205
- }
1206
-
1207
- .markdown-body .markdown-alert.markdown-alert-warning {
1208
- border-left-color: var(--borderColor-attention-emphasis);
1209
- }
1210
-
1211
- .markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title {
1212
- color: var(--fgColor-attention);
1213
- }
1214
-
1215
- .markdown-body .markdown-alert.markdown-alert-tip {
1216
- border-left-color: var(--borderColor-success-emphasis);
1217
- }
1218
-
1219
- .markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title {
1220
- color: var(--fgColor-success);
1221
- }
1222
-
1223
- .markdown-body .markdown-alert.markdown-alert-caution {
1224
- border-left-color: var(--borderColor-danger-emphasis);
1225
- }
1226
-
1227
- .markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title {
1228
- color: var(--fgColor-danger);
1229
- }
1230
-
1231
- .markdown-body>*:first-child>.heading-element:first-child {
1232
- margin-top: 0 !important;
1233
- }
1234
-
1235
- .markdown-body .highlight pre:has(+zeroclipboard-container) {
1236
- min-height: 52px;
1237
- }
1238
577
  `;
1239
578
 
1240
579
  export { styles };