@assistant-ui/react-markdown 0.7.20 → 0.8.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 (75) hide show
  1. package/dist/index.d.ts +0 -7
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +0 -6
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +0 -6
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/memoization.d.ts +2 -2
  8. package/dist/memoization.d.ts.map +1 -1
  9. package/dist/memoization.js +1 -1
  10. package/dist/memoization.js.map +1 -1
  11. package/dist/memoization.mjs +1 -1
  12. package/dist/memoization.mjs.map +1 -1
  13. package/dist/overrides/CodeBlock.d.ts +2 -0
  14. package/dist/overrides/CodeBlock.d.ts.map +1 -1
  15. package/dist/overrides/CodeBlock.js +3 -1
  16. package/dist/overrides/CodeBlock.js.map +1 -1
  17. package/dist/overrides/CodeBlock.mjs +3 -1
  18. package/dist/overrides/CodeBlock.mjs.map +1 -1
  19. package/dist/overrides/CodeOverride.d.ts.map +1 -1
  20. package/dist/overrides/CodeOverride.js +5 -0
  21. package/dist/overrides/CodeOverride.js.map +1 -1
  22. package/dist/overrides/CodeOverride.mjs +5 -0
  23. package/dist/overrides/CodeOverride.mjs.map +1 -1
  24. package/dist/overrides/defaultComponents.d.ts +2 -0
  25. package/dist/overrides/defaultComponents.d.ts.map +1 -1
  26. package/dist/overrides/defaultComponents.js +1 -1
  27. package/dist/overrides/defaultComponents.js.map +1 -1
  28. package/dist/overrides/defaultComponents.mjs +1 -1
  29. package/dist/overrides/defaultComponents.mjs.map +1 -1
  30. package/dist/overrides/types.d.ts +2 -0
  31. package/dist/overrides/types.d.ts.map +1 -1
  32. package/dist/overrides/types.js.map +1 -1
  33. package/package.json +4 -19
  34. package/src/index.ts +0 -12
  35. package/src/memoization.tsx +6 -3
  36. package/src/overrides/CodeBlock.tsx +5 -1
  37. package/src/overrides/CodeOverride.tsx +5 -0
  38. package/src/overrides/defaultComponents.tsx +4 -2
  39. package/src/overrides/types.ts +2 -0
  40. package/dist/styles/markdown.css +0 -274
  41. package/dist/styles/markdown.css.map +0 -1
  42. package/dist/styles/tailwindcss/markdown.css +0 -106
  43. package/dist/styles/tailwindcss/markdown.css.json +0 -68
  44. package/dist/tailwindcss/index.d.ts +0 -9
  45. package/dist/tailwindcss/index.d.ts.map +0 -1
  46. package/dist/tailwindcss/index.js +0 -113
  47. package/dist/tailwindcss/index.js.map +0 -1
  48. package/dist/tailwindcss/index.mjs +0 -105
  49. package/dist/tailwindcss/index.mjs.map +0 -1
  50. package/dist/ui/code-header.d.ts +0 -4
  51. package/dist/ui/code-header.d.ts.map +0 -1
  52. package/dist/ui/code-header.js +0 -54
  53. package/dist/ui/code-header.js.map +0 -1
  54. package/dist/ui/code-header.mjs +0 -29
  55. package/dist/ui/code-header.mjs.map +0 -1
  56. package/dist/ui/markdown-text.d.ts +0 -4
  57. package/dist/ui/markdown-text.d.ts.map +0 -1
  58. package/dist/ui/markdown-text.js +0 -114
  59. package/dist/ui/markdown-text.js.map +0 -1
  60. package/dist/ui/markdown-text.mjs +0 -81
  61. package/dist/ui/markdown-text.mjs.map +0 -1
  62. package/dist/ui/useCopyToClipboard.d.ts +0 -11
  63. package/dist/ui/useCopyToClipboard.d.ts.map +0 -1
  64. package/dist/ui/useCopyToClipboard.js +0 -45
  65. package/dist/ui/useCopyToClipboard.js.map +0 -1
  66. package/dist/ui/useCopyToClipboard.mjs +0 -21
  67. package/dist/ui/useCopyToClipboard.mjs.map +0 -1
  68. package/src/styles/tailwindcss/markdown.css +0 -106
  69. package/src/tailwindcss/index.ts +0 -8
  70. package/src/ui/code-header.tsx +0 -32
  71. package/src/ui/markdown-text.tsx +0 -114
  72. package/src/ui/useCopyToClipboard.tsx +0 -26
  73. package/tailwindcss/README.md +0 -1
  74. package/tailwindcss/package-lock.json +0 -6
  75. package/tailwindcss/package.json +0 -5
@@ -19,6 +19,7 @@ import { DefaultCodeBlockContent } from "./defaultComponents";
19
19
  import { memoCompareNodes } from "../memoization";
20
20
 
21
21
  const CodeBlockOverride: FC<CodeOverrideProps> = ({
22
+ node,
22
23
  components: {
23
24
  Pre,
24
25
  Code,
@@ -46,6 +47,7 @@ const CodeBlockOverride: FC<CodeOverrideProps> = ({
46
47
  if (typeof children !== "string") {
47
48
  return (
48
49
  <DefaultCodeBlockContent
50
+ node={node}
49
51
  components={{ Pre: WrappedPre, Code: WrappedCode }}
50
52
  code={children}
51
53
  />
@@ -61,6 +63,7 @@ const CodeBlockOverride: FC<CodeOverrideProps> = ({
61
63
 
62
64
  return (
63
65
  <DefaultCodeBlock
66
+ node={node}
64
67
  components={{
65
68
  Pre: WrappedPre,
66
69
  Code: WrappedCode,
@@ -92,6 +95,7 @@ export type CodeOverrideProps = ComponentPropsWithoutRef<CodeComponent> & {
92
95
  };
93
96
 
94
97
  const CodeOverrideImpl: FC<CodeOverrideProps> = ({
98
+ node,
95
99
  components,
96
100
  componentsByLanguage,
97
101
  ...props
@@ -100,6 +104,7 @@ const CodeOverrideImpl: FC<CodeOverrideProps> = ({
100
104
  if (!isCodeBlock) return <components.Code {...props} />;
101
105
  return (
102
106
  <CodeBlockOverride
107
+ node={node}
103
108
  components={components}
104
109
  componentsByLanguage={componentsByLanguage}
105
110
  {...props}
@@ -1,5 +1,6 @@
1
1
  import type { ComponentType, ReactNode } from "react";
2
2
  import { PreComponent, CodeComponent, CodeHeaderProps } from "./types";
3
+ import { Element } from "hast";
3
4
 
4
5
  export const DefaultPre: PreComponent = ({ node, ...rest }) => (
5
6
  <pre {...rest} />
@@ -10,11 +11,12 @@ export const DefaultCode: CodeComponent = ({ node, ...rest }) => (
10
11
  );
11
12
 
12
13
  export const DefaultCodeBlockContent: ComponentType<{
14
+ node: Element | undefined;
13
15
  components: { Pre: PreComponent; Code: CodeComponent };
14
16
  code: string | ReactNode | undefined;
15
- }> = ({ components: { Pre, Code }, code }) => (
17
+ }> = ({ node, components: { Pre, Code }, code }) => (
16
18
  <Pre>
17
- <Code>{code}</Code>
19
+ <Code node={node}>{code}</Code>
18
20
  </Pre>
19
21
  );
20
22
 
@@ -9,11 +9,13 @@ export type CodeComponent = ComponentType<
9
9
  >;
10
10
 
11
11
  export type CodeHeaderProps = {
12
+ node?: Element | undefined;
12
13
  language: string | undefined;
13
14
  code: string;
14
15
  };
15
16
 
16
17
  export type SyntaxHighlighterProps = {
18
+ node?: Element | undefined;
17
19
  components: {
18
20
  Pre: PreComponent;
19
21
  Code: CodeComponent;
@@ -1,274 +0,0 @@
1
- /* src/styles/tailwindcss/markdown.css */
2
- @keyframes aui-pulse {
3
- 50% {
4
- opacity: .5;
5
- }
6
- }
7
- :where(.aui-md-running):empty::after,
8
- :where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child::after,
9
- :where(.aui-md-running) > pre:last-child code::after,
10
- :where(.aui-md-running) > :where(:is(ol, ul):last-child) > :where(li:last-child:not(:has(* > li)))::after,
11
- :where(.aui-md-running) > :where(:is(ol, ul):last-child) > :where(li:last-child) > :where(:is(ol, ul):last-child) > :where(li:last-child:not(:has(* > li)))::after,
12
- :where(.aui-md-running) > :where(:is(ol, ul):last-child) > :where(li:last-child) > :where(:is(ol, ul):last-child) > :where(li:last-child) > :where(:is(ol, ul):last-child) > :where(li:last-child)::after {
13
- animation: aui-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
14
- font-family:
15
- ui-sans-serif,
16
- system-ui,
17
- sans-serif,
18
- "Apple Color Emoji",
19
- "Segoe UI Emoji",
20
- "Segoe UI Symbol",
21
- "Noto Color Emoji";
22
- --aui-content: "\25cf";
23
- content: var(--aui-content);
24
- }
25
- :where(.aui-md-running):empty:where([dir=ltr], [dir=ltr] *)::after,
26
- :where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child:where([dir=ltr], [dir=ltr] *)::after,
27
- :where(.aui-md-running) > pre:last-child code:where([dir=ltr], [dir=ltr] *)::after,
28
- :where(.aui-md-running) > :where(:is(ol, ul):last-child) > :where(li:last-child:not(:has(* > li))):where([dir=ltr], [dir=ltr] *)::after,
29
- :where(.aui-md-running) > :where(:is(ol, ul):last-child) > :where(li:last-child) > :where(:is(ol, ul):last-child) > :where(li:last-child:not(:has(* > li))):where([dir=ltr], [dir=ltr] *)::after,
30
- :where(.aui-md-running) > :where(:is(ol, ul):last-child) > :where(li:last-child) > :where(:is(ol, ul):last-child) > :where(li:last-child) > :where(:is(ol, ul):last-child) > :where(li:last-child):where([dir=ltr], [dir=ltr] *)::after {
31
- margin-left: 0.25rem;
32
- }
33
- :where(.aui-md-running):empty:where([dir=rtl], [dir=rtl] *)::after,
34
- :where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child:where([dir=rtl], [dir=rtl] *)::after,
35
- :where(.aui-md-running) > pre:last-child code:where([dir=rtl], [dir=rtl] *)::after,
36
- :where(.aui-md-running) > :where(:is(ol, ul):last-child) > :where(li:last-child:not(:has(* > li))):where([dir=rtl], [dir=rtl] *)::after,
37
- :where(.aui-md-running) > :where(:is(ol, ul):last-child) > :where(li:last-child) > :where(:is(ol, ul):last-child) > :where(li:last-child:not(:has(* > li))):where([dir=rtl], [dir=rtl] *)::after,
38
- :where(.aui-md-running) > :where(:is(ol, ul):last-child) > :where(li:last-child) > :where(:is(ol, ul):last-child) > :where(li:last-child) > :where(:is(ol, ul):last-child) > :where(li:last-child):where([dir=rtl], [dir=rtl] *)::after {
39
- margin-right: 0.25rem;
40
- }
41
- .aui-md-h1 {
42
- margin-bottom: 2rem;
43
- scroll-margin: 5rem;
44
- font-size: 2.25rem;
45
- line-height: 2.5rem;
46
- font-weight: 800;
47
- letter-spacing: -0.025em;
48
- }
49
- .aui-md-h1:last-child {
50
- margin-bottom: 0px;
51
- }
52
- .aui-md-h2 {
53
- margin-bottom: 1rem;
54
- margin-top: 2rem;
55
- scroll-margin: 5rem;
56
- font-size: 1.875rem;
57
- line-height: 2.25rem;
58
- font-weight: 600;
59
- letter-spacing: -0.025em;
60
- }
61
- .aui-md-h2:first-child {
62
- margin-top: 0px;
63
- }
64
- .aui-md-h2:last-child {
65
- margin-bottom: 0px;
66
- }
67
- .aui-md-h3 {
68
- margin-bottom: 1rem;
69
- margin-top: 1.5rem;
70
- scroll-margin: 5rem;
71
- font-size: 1.5rem;
72
- line-height: 2rem;
73
- font-weight: 600;
74
- letter-spacing: -0.025em;
75
- }
76
- .aui-md-h3:first-child {
77
- margin-top: 0px;
78
- }
79
- .aui-md-h3:last-child {
80
- margin-bottom: 0px;
81
- }
82
- .aui-md-h4 {
83
- margin-bottom: 1rem;
84
- margin-top: 1.5rem;
85
- scroll-margin: 5rem;
86
- font-size: 1.25rem;
87
- line-height: 1.75rem;
88
- font-weight: 600;
89
- letter-spacing: -0.025em;
90
- }
91
- .aui-md-h4:first-child {
92
- margin-top: 0px;
93
- }
94
- .aui-md-h4:last-child {
95
- margin-bottom: 0px;
96
- }
97
- .aui-md-h5 {
98
- margin-top: 1rem;
99
- margin-bottom: 1rem;
100
- font-size: 1.125rem;
101
- line-height: 1.75rem;
102
- font-weight: 600;
103
- }
104
- .aui-md-h5:first-child {
105
- margin-top: 0px;
106
- }
107
- .aui-md-h5:last-child {
108
- margin-bottom: 0px;
109
- }
110
- .aui-md-h6 {
111
- margin-top: 1rem;
112
- margin-bottom: 1rem;
113
- font-weight: 600;
114
- }
115
- .aui-md-h6:first-child {
116
- margin-top: 0px;
117
- }
118
- .aui-md-h6:last-child {
119
- margin-bottom: 0px;
120
- }
121
- .aui-md-p {
122
- margin-bottom: 1.25rem;
123
- margin-top: 1.25rem;
124
- line-height: 1.75rem;
125
- }
126
- .aui-md-p:first-child {
127
- margin-top: 0px;
128
- }
129
- .aui-md-p:last-child {
130
- margin-bottom: 0px;
131
- }
132
- .aui-md-a {
133
- font-weight: 500;
134
- color: hsl(var(--aui-primary));
135
- text-decoration-line: underline;
136
- text-underline-offset: 4px;
137
- }
138
- .aui-md-blockquote {
139
- border-left-width: 2px;
140
- padding-left: 1.5rem;
141
- font-style: italic;
142
- }
143
- .aui-md-ul {
144
- margin-top: 1.25rem;
145
- margin-bottom: 1.25rem;
146
- margin-left: 1.5rem;
147
- list-style-type: disc;
148
- }
149
- .aui-md-ul > li {
150
- margin-top: 0.5rem;
151
- }
152
- .aui-md-ol {
153
- margin-top: 1.25rem;
154
- margin-bottom: 1.25rem;
155
- margin-left: 1.5rem;
156
- list-style-type: decimal;
157
- }
158
- .aui-md-ol > li {
159
- margin-top: 0.5rem;
160
- }
161
- .aui-md-hr {
162
- margin-top: 1.25rem;
163
- margin-bottom: 1.25rem;
164
- border-bottom-width: 1px;
165
- }
166
- .aui-md-table {
167
- margin-top: 1.25rem;
168
- margin-bottom: 1.25rem;
169
- width: 100%;
170
- border-collapse: separate;
171
- --aui-border-spacing-x: 0px;
172
- --aui-border-spacing-y: 0px;
173
- border-spacing: var(--aui-border-spacing-x) var(--aui-border-spacing-y);
174
- overflow-y: auto;
175
- }
176
- .aui-md-th {
177
- background-color: hsl(var(--aui-muted));
178
- padding-left: 1rem;
179
- padding-right: 1rem;
180
- padding-top: 0.5rem;
181
- padding-bottom: 0.5rem;
182
- text-align: left;
183
- font-weight: 700;
184
- }
185
- .aui-md-th:first-child {
186
- border-top-left-radius: var(--aui-radius);
187
- }
188
- .aui-md-th:last-child {
189
- border-top-right-radius: var(--aui-radius);
190
- }
191
- .aui-md-th[align=center] {
192
- text-align: center;
193
- }
194
- .aui-md-th[align=right] {
195
- text-align: right;
196
- }
197
- .aui-md-td {
198
- border-bottom-width: 1px;
199
- border-left-width: 1px;
200
- padding-left: 1rem;
201
- padding-right: 1rem;
202
- padding-top: 0.5rem;
203
- padding-bottom: 0.5rem;
204
- text-align: left;
205
- }
206
- .aui-md-td:last-child {
207
- border-right-width: 1px;
208
- }
209
- .aui-md-td[align=center] {
210
- text-align: center;
211
- }
212
- .aui-md-td[align=right] {
213
- text-align: right;
214
- }
215
- .aui-md-tr {
216
- margin: 0px;
217
- border-bottom-width: 1px;
218
- padding: 0px;
219
- }
220
- .aui-md-tr:first-child {
221
- border-top-width: 1px;
222
- }
223
- .aui-md-tr:last-child > td:first-child {
224
- border-bottom-left-radius: var(--aui-radius);
225
- }
226
- .aui-md-tr:last-child > td:last-child {
227
- border-bottom-right-radius: var(--aui-radius);
228
- }
229
- .aui-md-sup > a {
230
- font-size: 0.75rem;
231
- line-height: 1rem;
232
- text-decoration-line: none;
233
- }
234
- .aui-md-pre {
235
- overflow-x: auto;
236
- border-bottom-right-radius: var(--aui-radius);
237
- border-bottom-left-radius: var(--aui-radius);
238
- background-color: #000;
239
- padding: 1rem;
240
- --aui-text-opacity: 1;
241
- color: rgb(255 255 255 / var(--aui-text-opacity, 1));
242
- }
243
- .aui-md-inline-code {
244
- border-radius: 0.25rem;
245
- border-width: 1px;
246
- background-color: hsl(var(--aui-muted));
247
- font-weight: 600;
248
- }
249
- .aui-code-header-root {
250
- display: flex;
251
- align-items: center;
252
- justify-content: space-between;
253
- gap: 1rem;
254
- border-top-left-radius: var(--aui-radius);
255
- border-top-right-radius: var(--aui-radius);
256
- background-color: #18181b;
257
- padding-left: 1rem;
258
- padding-right: 1rem;
259
- padding-top: 0.5rem;
260
- padding-bottom: 0.5rem;
261
- font-size: 0.875rem;
262
- line-height: 1.25rem;
263
- font-weight: 600;
264
- --aui-text-opacity: 1;
265
- color: rgb(255 255 255 / var(--aui-text-opacity, 1));
266
- }
267
- .aui-code-header-language {
268
- text-transform: lowercase;
269
- }
270
- .aui-code-header-language > span {
271
- font-size: 0.75rem;
272
- line-height: 1rem;
273
- }
274
- /*# sourceMappingURL=markdown.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/styles/tailwindcss/markdown.css"],"sourcesContent":["/* running indicator */\n@keyframes aui-pulse {\n 50% {\n opacity: .5\n }\n}\n:where(.aui-md-running):empty::after,\n:where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child::after,\n:where(.aui-md-running) > pre:last-child code::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li)))::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li)))::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)::after {\n animation: aui-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n --aui-content: '\\25CF';\n content: var(--aui-content)\n}\n:where(.aui-md-running):empty:where([dir=\"ltr\"], [dir=\"ltr\"] *)::after,\n:where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child:where([dir=\"ltr\"], [dir=\"ltr\"] *)::after,\n:where(.aui-md-running) > pre:last-child code:where([dir=\"ltr\"], [dir=\"ltr\"] *)::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li))):where([dir=\"ltr\"], [dir=\"ltr\"] *)::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li))):where([dir=\"ltr\"], [dir=\"ltr\"] *)::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child):where([dir=\"ltr\"], [dir=\"ltr\"] *)::after {\n margin-left: 0.25rem\n}\n:where(.aui-md-running):empty:where([dir=\"rtl\"], [dir=\"rtl\"] *)::after,\n:where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child:where([dir=\"rtl\"], [dir=\"rtl\"] *)::after,\n:where(.aui-md-running) > pre:last-child code:where([dir=\"rtl\"], [dir=\"rtl\"] *)::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li))):where([dir=\"rtl\"], [dir=\"rtl\"] *)::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li))):where([dir=\"rtl\"], [dir=\"rtl\"] *)::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child):where([dir=\"rtl\"], [dir=\"rtl\"] *)::after {\n margin-right: 0.25rem\n}\n\n/* typography */\n.aui-md-h1 {\n margin-bottom: 2rem;\n scroll-margin: 5rem;\n font-size: 2.25rem;\n line-height: 2.5rem;\n font-weight: 800;\n letter-spacing: -0.025em\n}\n.aui-md-h1:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-h2 {\n margin-bottom: 1rem;\n margin-top: 2rem;\n scroll-margin: 5rem;\n font-size: 1.875rem;\n line-height: 2.25rem;\n font-weight: 600;\n letter-spacing: -0.025em\n}\n\n.aui-md-h2:first-child {\n margin-top: 0px\n}\n\n.aui-md-h2:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-h3 {\n margin-bottom: 1rem;\n margin-top: 1.5rem;\n scroll-margin: 5rem;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 600;\n letter-spacing: -0.025em\n}\n\n.aui-md-h3:first-child {\n margin-top: 0px\n}\n\n.aui-md-h3:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-h4 {\n margin-bottom: 1rem;\n margin-top: 1.5rem;\n scroll-margin: 5rem;\n font-size: 1.25rem;\n line-height: 1.75rem;\n font-weight: 600;\n letter-spacing: -0.025em\n}\n\n.aui-md-h4:first-child {\n margin-top: 0px\n}\n\n.aui-md-h4:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-h5 {\n margin-top: 1rem;\n margin-bottom: 1rem;\n font-size: 1.125rem;\n line-height: 1.75rem;\n font-weight: 600\n}\n\n.aui-md-h5:first-child {\n margin-top: 0px\n}\n\n.aui-md-h5:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-h6 {\n margin-top: 1rem;\n margin-bottom: 1rem;\n font-weight: 600\n}\n\n.aui-md-h6:first-child {\n margin-top: 0px\n}\n\n.aui-md-h6:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-p {\n margin-bottom: 1.25rem;\n margin-top: 1.25rem;\n line-height: 1.75rem\n}\n\n.aui-md-p:first-child {\n margin-top: 0px\n}\n\n.aui-md-p:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-a {\n font-weight: 500;\n color: hsl(var(--aui-primary));\n text-decoration-line: underline;\n text-underline-offset: 4px\n}\n\n.aui-md-blockquote {\n border-left-width: 2px;\n padding-left: 1.5rem;\n font-style: italic\n}\n\n.aui-md-ul {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n margin-left: 1.5rem;\n list-style-type: disc\n}\n\n.aui-md-ul>li {\n margin-top: 0.5rem\n}\n\n.aui-md-ol {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n margin-left: 1.5rem;\n list-style-type: decimal\n}\n\n.aui-md-ol>li {\n margin-top: 0.5rem\n}\n\n.aui-md-hr {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n border-bottom-width: 1px\n}\n\n.aui-md-table {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n width: 100%;\n border-collapse: separate;\n --aui-border-spacing-x: 0px;\n --aui-border-spacing-y: 0px;\n border-spacing: var(--aui-border-spacing-x) var(--aui-border-spacing-y);\n overflow-y: auto\n}\n\n.aui-md-th {\n background-color: hsl(var(--aui-muted));\n padding-left: 1rem;\n padding-right: 1rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n text-align: left;\n font-weight: 700\n}\n\n.aui-md-th:first-child {\n border-top-left-radius: var(--aui-radius)\n}\n\n.aui-md-th:last-child {\n border-top-right-radius: var(--aui-radius)\n}\n\n.aui-md-th[align=center] {\n text-align: center\n}\n\n.aui-md-th[align=right] {\n text-align: right\n}\n\n.aui-md-td {\n border-bottom-width: 1px;\n border-left-width: 1px;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n text-align: left\n}\n\n.aui-md-td:last-child {\n border-right-width: 1px\n}\n\n.aui-md-td[align=center] {\n text-align: center\n}\n\n.aui-md-td[align=right] {\n text-align: right\n}\n\n.aui-md-tr {\n margin: 0px;\n border-bottom-width: 1px;\n padding: 0px\n}\n\n.aui-md-tr:first-child {\n border-top-width: 1px\n}\n\n.aui-md-tr:last-child>td:first-child {\n border-bottom-left-radius: var(--aui-radius)\n}\n\n.aui-md-tr:last-child>td:last-child {\n border-bottom-right-radius: var(--aui-radius)\n}\n\n.aui-md-sup>a {\n font-size: 0.75rem;\n line-height: 1rem;\n text-decoration-line: none\n}\n\n.aui-md-pre {\n overflow-x: auto;\n border-bottom-right-radius: var(--aui-radius);\n border-bottom-left-radius: var(--aui-radius);\n background-color: #000;\n padding: 1rem;\n --aui-text-opacity: 1;\n color: rgb(255 255 255 / var(--aui-text-opacity, 1))\n}\n\n.aui-md-inline-code {\n border-radius: 0.25rem;\n border-width: 1px;\n background-color: hsl(var(--aui-muted));\n font-weight: 600\n}\n\n.aui-code-header-root {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\n border-top-left-radius: var(--aui-radius);\n border-top-right-radius: var(--aui-radius);\n background-color: #18181b;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n font-size: 0.875rem;\n line-height: 1.25rem;\n font-weight: 600;\n --aui-text-opacity: 1;\n color: rgb(255 255 255 / var(--aui-text-opacity, 1))\n}\n\n.aui-code-header-language {\n text-transform: lowercase\n}\n\n.aui-code-header-language>span {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B,WAAS;AACb;AAEA,CANC,SAMS;AACN,oBAAkB;AACtB;AAEA,CAVC,SAUS,YAAW,EAAC,EAAE;AACpB,6BAA2B,IAAI;AACnC;AAEA,CAdC,SAcS,YAAW,EAAC,EAAE;AACpB,8BAA4B,IAAI;AACpC;AAEA,CAAC,WAAU,EAAC;AACR,aAAW;AACX,eAAa;AACb,wBAAsB;AAC1B;AAEA,CAAC;AACG,cAAY;AACZ,8BAA4B,IAAI;AAChC,6BAA2B,IAAI;AAC/B,oBAAkB;AAClB,WAAS;AACT,sBAAoB;AACpB,SAAO,IAAI,IAAI,IAAI,IAAI,EAAE,IAAI,kBAAkB,EAAE;AACrD;AAEA,CAAC;AACG,iBAAe;AACf,gBAAc;AACd,oBAAkB,IAAI,IAAI;AAC1B,eAAa;AACjB;AAEA,CAAC;AACG,WAAS;AACT,eAAa;AACb,mBAAiB;AACjB,OAAK;AACL,0BAAwB,IAAI;AAC5B,2BAAyB,IAAI;AAC7B,oBAAkB;AAClB,gBAAc;AACd,iBAAe;AACf,eAAa;AACb,kBAAgB;AAChB,aAAW;AACX,eAAa;AACb,eAAa;AACb,sBAAoB;AACpB,SAAO,IAAI,IAAI,IAAI,IAAI,EAAE,IAAI,kBAAkB,EAAE;AACrD;AAEA,CAAC;AACG,kBAAgB;AACpB;AAEA,CAJC,yBAIwB,EAAC;AACtB,aAAW;AACX,eAAa;AACjB;","names":[]}
@@ -1,106 +0,0 @@
1
- /* running indicator */
2
- :where(.aui-md-running):empty::after,
3
- :where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child::after,
4
- :where(.aui-md-running) > pre:last-child code::after,
5
- :where(.aui-md-running)
6
- > :where(:is(ol, ul):last-child)
7
- > :where(li:last-child:not(:has(* > li)))::after,
8
- :where(.aui-md-running)
9
- > :where(:is(ol, ul):last-child)
10
- > :where(li:last-child)
11
- > :where(:is(ol, ul):last-child)
12
- > :where(li:last-child:not(:has(* > li)))::after,
13
- :where(.aui-md-running)
14
- > :where(:is(ol, ul):last-child)
15
- > :where(li:last-child)
16
- > :where(:is(ol, ul):last-child)
17
- > :where(li:last-child)
18
- > :where(:is(ol, ul):last-child)
19
- > :where(li:last-child)::after {
20
- @apply animate-pulse font-sans content-['\25CF'] ltr:ml-1 rtl:mr-1;
21
- }
22
-
23
- /* typography */
24
- .aui-md-h1 {
25
- @apply mb-8 scroll-m-20 text-4xl font-extrabold tracking-tight last:mb-0;
26
- }
27
-
28
- .aui-md-h2 {
29
- @apply mb-4 mt-8 scroll-m-20 text-3xl font-semibold tracking-tight first:mt-0 last:mb-0;
30
- }
31
-
32
- .aui-md-h3 {
33
- @apply mb-4 mt-6 scroll-m-20 text-2xl font-semibold tracking-tight first:mt-0 last:mb-0;
34
- }
35
-
36
- .aui-md-h4 {
37
- @apply mb-4 mt-6 scroll-m-20 text-xl font-semibold tracking-tight first:mt-0 last:mb-0;
38
- }
39
-
40
- .aui-md-h5 {
41
- @apply my-4 text-lg font-semibold first:mt-0 last:mb-0;
42
- }
43
-
44
- .aui-md-h6 {
45
- @apply my-4 font-semibold first:mt-0 last:mb-0;
46
- }
47
-
48
- .aui-md-p {
49
- @apply mb-5 mt-5 leading-7 first:mt-0 last:mb-0;
50
- }
51
-
52
- .aui-md-a {
53
- @apply text-aui-primary font-medium underline underline-offset-4;
54
- }
55
-
56
- .aui-md-blockquote {
57
- @apply border-l-2 pl-6 italic;
58
- }
59
-
60
- .aui-md-ul {
61
- @apply my-5 ml-6 list-disc [&>li]:mt-2;
62
- }
63
-
64
- .aui-md-ol {
65
- @apply my-5 ml-6 list-decimal [&>li]:mt-2;
66
- }
67
-
68
- .aui-md-hr {
69
- @apply my-5 border-b;
70
- }
71
-
72
- .aui-md-table {
73
- @apply my-5 w-full border-separate border-spacing-0 overflow-y-auto;
74
- }
75
-
76
- .aui-md-th {
77
- @apply bg-aui-muted px-4 py-2 text-left font-bold first:rounded-tl-lg last:rounded-tr-lg [&[align=center]]:text-center [&[align=right]]:text-right;
78
- }
79
-
80
- .aui-md-td {
81
- @apply border-b border-l px-4 py-2 text-left last:border-r [&[align=center]]:text-center [&[align=right]]:text-right;
82
- }
83
-
84
- .aui-md-tr {
85
- @apply m-0 border-b p-0 first:border-t [&:last-child>td:first-child]:rounded-bl-lg [&:last-child>td:last-child]:rounded-br-lg;
86
- }
87
-
88
- .aui-md-sup {
89
- @apply [&>a]:text-xs [&>a]:no-underline;
90
- }
91
-
92
- .aui-md-pre {
93
- @apply overflow-x-auto rounded-b-lg bg-black p-4 text-white;
94
- }
95
-
96
- .aui-md-inline-code {
97
- @apply bg-aui-muted rounded border font-semibold;
98
- }
99
-
100
- .aui-code-header-root {
101
- @apply flex items-center justify-between gap-4 rounded-t-lg bg-zinc-900 px-4 py-2 text-sm font-semibold text-white;
102
- }
103
-
104
- .aui-code-header-language {
105
- @apply lowercase [&>span]:text-xs;
106
- }
@@ -1,68 +0,0 @@
1
- {
2
- ":where(.aui-md-running):empty::after,\n:where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child::after,\n:where(.aui-md-running) > pre:last-child code::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li)))::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li)))::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)::after": {
3
- "@apply animate-pulse font-sans content-['\\25CF'] ltr:ml-1 rtl:mr-1": {}
4
- },
5
- ".aui-md-h1": {
6
- "@apply mb-8 scroll-m-20 text-4xl font-extrabold tracking-tight last:mb-0": {}
7
- },
8
- ".aui-md-h2": {
9
- "@apply mb-4 mt-8 scroll-m-20 text-3xl font-semibold tracking-tight first:mt-0 last:mb-0": {}
10
- },
11
- ".aui-md-h3": {
12
- "@apply mb-4 mt-6 scroll-m-20 text-2xl font-semibold tracking-tight first:mt-0 last:mb-0": {}
13
- },
14
- ".aui-md-h4": {
15
- "@apply mb-4 mt-6 scroll-m-20 text-xl font-semibold tracking-tight first:mt-0 last:mb-0": {}
16
- },
17
- ".aui-md-h5": {
18
- "@apply my-4 text-lg font-semibold first:mt-0 last:mb-0": {}
19
- },
20
- ".aui-md-h6": {
21
- "@apply my-4 font-semibold first:mt-0 last:mb-0": {}
22
- },
23
- ".aui-md-p": {
24
- "@apply mb-5 mt-5 leading-7 first:mt-0 last:mb-0": {}
25
- },
26
- ".aui-md-a": {
27
- "@apply text-aui-primary font-medium underline underline-offset-4": {}
28
- },
29
- ".aui-md-blockquote": {
30
- "@apply border-l-2 pl-6 italic": {}
31
- },
32
- ".aui-md-ul": {
33
- "@apply my-5 ml-6 list-disc [&>li]:mt-2": {}
34
- },
35
- ".aui-md-ol": {
36
- "@apply my-5 ml-6 list-decimal [&>li]:mt-2": {}
37
- },
38
- ".aui-md-hr": {
39
- "@apply my-5 border-b": {}
40
- },
41
- ".aui-md-table": {
42
- "@apply my-5 w-full border-separate border-spacing-0 overflow-y-auto": {}
43
- },
44
- ".aui-md-th": {
45
- "@apply bg-aui-muted px-4 py-2 text-left font-bold first:rounded-tl-lg last:rounded-tr-lg [&[align=center]]:text-center [&[align=right]]:text-right": {}
46
- },
47
- ".aui-md-td": {
48
- "@apply border-b border-l px-4 py-2 text-left last:border-r [&[align=center]]:text-center [&[align=right]]:text-right": {}
49
- },
50
- ".aui-md-tr": {
51
- "@apply m-0 border-b p-0 first:border-t [&:last-child>td:first-child]:rounded-bl-lg [&:last-child>td:last-child]:rounded-br-lg": {}
52
- },
53
- ".aui-md-sup": {
54
- "@apply [&>a]:text-xs [&>a]:no-underline": {}
55
- },
56
- ".aui-md-pre": {
57
- "@apply overflow-x-auto rounded-b-lg bg-black p-4 text-white": {}
58
- },
59
- ".aui-md-inline-code": {
60
- "@apply bg-aui-muted rounded border font-semibold": {}
61
- },
62
- ".aui-code-header-root": {
63
- "@apply flex items-center justify-between gap-4 rounded-t-lg bg-zinc-900 px-4 py-2 text-sm font-semibold text-white": {}
64
- },
65
- ".aui-code-header-language": {
66
- "@apply lowercase [&>span]:text-xs": {}
67
- }
68
- }
@@ -1,9 +0,0 @@
1
- declare const auiPlugin: {
2
- (options: {}): {
3
- handler: import("tailwindcss/types/config").PluginCreator;
4
- config?: Partial<import("tailwindcss/types/config").Config>;
5
- };
6
- __isOptionsFunction: true;
7
- };
8
- export default auiPlugin;
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tailwindcss/index.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,SAAS;;;cAIP,CAAC;;;CAFP,CAAC;AAEH,eAAe,SAAS,CAAC"}
@@ -1,113 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __commonJS = (cb, mod) => function __require() {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
- };
11
- var __export = (target, all) => {
12
- for (var name in all)
13
- __defProp(target, name, { get: all[name], enumerable: true });
14
- };
15
- var __copyProps = (to, from, except, desc) => {
16
- if (from && typeof from === "object" || typeof from === "function") {
17
- for (let key of __getOwnPropNames(from))
18
- if (!__hasOwnProp.call(to, key) && key !== except)
19
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
20
- }
21
- return to;
22
- };
23
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
24
- // If the importer is in node compatibility mode or this is not an ESM
25
- // file that has been converted to a CommonJS file using a Babel-
26
- // compatible transform (i.e. "__esModule" has not been set), then set
27
- // "default" to the CommonJS "module.exports" for node compatibility.
28
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
29
- mod
30
- ));
31
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
32
-
33
- // ../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/util/createPlugin.js
34
- var require_createPlugin = __commonJS({
35
- "../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/util/createPlugin.js"(exports2) {
36
- "use strict";
37
- Object.defineProperty(exports2, "__esModule", {
38
- value: true
39
- });
40
- Object.defineProperty(exports2, "default", {
41
- enumerable: true,
42
- get: function() {
43
- return _default;
44
- }
45
- });
46
- function createPlugin(plugin2, config) {
47
- return {
48
- handler: plugin2,
49
- config
50
- };
51
- }
52
- createPlugin.withOptions = function(pluginFunction, configFunction = () => ({})) {
53
- const optionsFunction = function(options) {
54
- return {
55
- __options: options,
56
- handler: pluginFunction(options),
57
- config: configFunction(options)
58
- };
59
- };
60
- optionsFunction.__isOptionsFunction = true;
61
- optionsFunction.__pluginFunction = pluginFunction;
62
- optionsFunction.__configFunction = configFunction;
63
- return optionsFunction;
64
- };
65
- var _default = createPlugin;
66
- }
67
- });
68
-
69
- // ../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/public/create-plugin.js
70
- var require_create_plugin = __commonJS({
71
- "../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/public/create-plugin.js"(exports2) {
72
- "use strict";
73
- Object.defineProperty(exports2, "__esModule", {
74
- value: true
75
- });
76
- Object.defineProperty(exports2, "default", {
77
- enumerable: true,
78
- get: function() {
79
- return _default;
80
- }
81
- });
82
- var _createPlugin = /* @__PURE__ */ _interop_require_default(require_createPlugin());
83
- function _interop_require_default(obj) {
84
- return obj && obj.__esModule ? obj : {
85
- default: obj
86
- };
87
- }
88
- var _default = _createPlugin.default;
89
- }
90
- });
91
-
92
- // ../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/plugin.js
93
- var require_plugin = __commonJS({
94
- "../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/plugin.js"(exports2, module2) {
95
- "use strict";
96
- var createPlugin = require_create_plugin();
97
- module2.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default;
98
- }
99
- });
100
-
101
- // src/tailwindcss/index.ts
102
- var tailwindcss_exports = {};
103
- __export(tailwindcss_exports, {
104
- default: () => tailwindcss_default
105
- });
106
- module.exports = __toCommonJS(tailwindcss_exports);
107
- var import_plugin = __toESM(require_plugin());
108
- var import_markdown_css = __toESM(require("../../dist/styles/tailwindcss/markdown.css.json"));
109
- var auiPlugin = import_plugin.default.withOptions(() => ({ addComponents }) => {
110
- addComponents(import_markdown_css.default);
111
- });
112
- var tailwindcss_default = auiPlugin;
113
- //# sourceMappingURL=index.js.map