@fluxdown/solid 0.0.0-stage → 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.
- package/CHANGELOG.md +17 -0
- package/LICENSE +21 -0
- package/README.md +2 -2
- package/dist/cjs/assets/raw-Dob3BCyv.css +56 -0
- package/dist/cjs/chunks/raw-DlzW8_Im.cjs +609 -0
- package/dist/cjs/components/block-reconciler/index.d.cts +2 -0
- package/dist/cjs/components/block-reconciler/type.d.cts +22 -0
- package/dist/cjs/components/block-reconciler/utils.d.cts +2 -0
- package/dist/cjs/components/index.d.cts +2 -0
- package/dist/cjs/components/root-reconciler/index.d.cts +6 -0
- package/dist/cjs/consts/config.d.cts +2 -0
- package/dist/cjs/consts/defaults.d.cts +2 -0
- package/dist/cjs/consts/index.d.cts +4 -0
- package/dist/cjs/consts/smooth.d.cts +3 -0
- package/dist/cjs/consts/styles.d.cts +1 -0
- package/dist/cjs/context/index.d.cts +1 -0
- package/dist/cjs/context/render/index.d.cts +6 -0
- package/dist/cjs/env.d.cts +1 -0
- package/dist/cjs/full.browser.cjs +2 -0
- package/dist/cjs/full.cjs +13 -0
- package/dist/cjs/hooks/index.d.cts +1 -0
- package/dist/cjs/hooks/plugins.d.cts +6 -0
- package/dist/cjs/lite.browser.cjs +2 -0
- package/dist/cjs/lite.cjs +13 -0
- package/dist/cjs/modules/index.d.cts +1 -0
- package/dist/cjs/modules/solid-renderer/index.d.cts +9 -0
- package/dist/cjs/modules/solid-renderer/type.d.cts +4 -0
- package/dist/cjs/packs/full/index.d.cts +5 -0
- package/dist/cjs/packs/full/type.d.cts +3 -0
- package/dist/cjs/packs/lite/index.d.cts +5 -0
- package/dist/cjs/packs/lite/type.d.cts +3 -0
- package/dist/cjs/packs/raw/index.d.cts +5 -0
- package/dist/cjs/packs/raw/type.d.cts +77 -0
- package/dist/cjs/packs/raw/utils.d.cts +2 -0
- package/dist/cjs/packs/utils/config.d.cts +13 -0
- package/dist/cjs/packs/utils/effect.d.cts +4 -0
- package/dist/cjs/packs/utils/index.d.cts +3 -0
- package/dist/cjs/packs/utils/patches.d.cts +2 -0
- package/dist/cjs/raw.browser.cjs +2 -0
- package/dist/cjs/raw.cjs +3 -0
- package/dist/cjs/server/full.cjs +13 -0
- package/dist/cjs/server/lite.cjs +13 -0
- package/dist/cjs/server/raw.cjs +593 -0
- package/dist/cjs/styles.css +2 -0
- package/dist/cjs/theme/consts.d.cts +4 -0
- package/dist/cjs/theme/hooks.d.cts +2 -0
- package/dist/cjs/theme/index.d.cts +1 -0
- package/dist/cjs/theme/presets/base.d.cts +2 -0
- package/dist/cjs/theme/presets/dark.d.cts +2 -0
- package/dist/cjs/theme/presets/index.d.cts +4 -0
- package/dist/cjs/theme/presets/light.d.cts +2 -0
- package/dist/cjs/theme/utils.d.cts +4 -0
- package/dist/cjs/types/index.d.cts +2 -0
- package/dist/cjs/types/theme.d.cts +138 -0
- package/dist/esm/assets/raw-Dob3BCyv.css +56 -0
- package/dist/esm/chunks/raw-ULd4Y10B.js +598 -0
- package/dist/esm/components/block-reconciler/index.d.ts +2 -0
- package/dist/esm/components/block-reconciler/type.d.ts +22 -0
- package/dist/esm/components/block-reconciler/utils.d.ts +2 -0
- package/dist/esm/components/index.d.ts +2 -0
- package/dist/esm/components/root-reconciler/index.d.ts +6 -0
- package/dist/esm/consts/config.d.ts +2 -0
- package/dist/esm/consts/defaults.d.ts +2 -0
- package/dist/esm/consts/index.d.ts +4 -0
- package/dist/esm/consts/smooth.d.ts +3 -0
- package/dist/esm/consts/styles.d.ts +1 -0
- package/dist/esm/context/index.d.ts +1 -0
- package/dist/esm/context/render/index.d.ts +6 -0
- package/dist/esm/env.d.ts +1 -0
- package/dist/esm/full.browser.js +2 -0
- package/dist/esm/full.js +12 -0
- package/dist/esm/hooks/index.d.ts +1 -0
- package/dist/esm/hooks/plugins.d.ts +6 -0
- package/dist/esm/lite.browser.js +2 -0
- package/dist/esm/lite.js +12 -0
- package/dist/esm/modules/index.d.ts +1 -0
- package/dist/esm/modules/solid-renderer/index.d.ts +9 -0
- package/dist/esm/modules/solid-renderer/type.d.ts +4 -0
- package/dist/esm/packs/full/index.d.ts +5 -0
- package/dist/esm/packs/full/type.d.ts +3 -0
- package/dist/esm/packs/lite/index.d.ts +5 -0
- package/dist/esm/packs/lite/type.d.ts +3 -0
- package/dist/esm/packs/raw/index.d.ts +5 -0
- package/dist/esm/packs/raw/type.d.ts +77 -0
- package/dist/esm/packs/raw/utils.d.ts +2 -0
- package/dist/esm/packs/utils/config.d.ts +13 -0
- package/dist/esm/packs/utils/effect.d.ts +4 -0
- package/dist/esm/packs/utils/index.d.ts +3 -0
- package/dist/esm/packs/utils/patches.d.ts +2 -0
- package/dist/esm/raw.browser.js +2 -0
- package/dist/esm/raw.js +2 -0
- package/dist/esm/server/full.js +12 -0
- package/dist/esm/server/lite.js +12 -0
- package/dist/esm/server/raw.js +591 -0
- package/dist/esm/styles.css +2 -0
- package/dist/esm/theme/consts.d.ts +4 -0
- package/dist/esm/theme/hooks.d.ts +2 -0
- package/dist/esm/theme/index.d.ts +1 -0
- package/dist/esm/theme/presets/base.d.ts +2 -0
- package/dist/esm/theme/presets/dark.d.ts +2 -0
- package/dist/esm/theme/presets/index.d.ts +4 -0
- package/dist/esm/theme/presets/light.d.ts +2 -0
- package/dist/esm/theme/utils.d.ts +4 -0
- package/dist/esm/types/index.d.ts +2 -0
- package/dist/esm/types/theme.d.ts +138 -0
- package/package.json +121 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @fluxdown/solid
|
|
2
|
+
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 44a3c8d: Add Solid components and plugin presets for static and streaming Markdown, with full, lite, and raw entry points.
|
|
8
|
+
|
|
9
|
+
Keep chunk animation batches stable when earlier batches settle into text.
|
|
10
|
+
|
|
11
|
+
Keep native animation internals out of SVG blur props when rendering on the web.
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [44a3c8d]
|
|
16
|
+
- @fluxdown/solid-plugins@0.2.0
|
|
17
|
+
- @fluxdown/core-plugins@0.12.3
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Fluxdown contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @fluxdown/solid
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Solid components for streaming Markdown.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
._root_f61oc_1 {
|
|
2
|
+
display: flow-root;
|
|
3
|
+
min-width: 0;
|
|
4
|
+
}
|
|
5
|
+
._root_f61oc_1 > :first-child {
|
|
6
|
+
margin-top: 0;
|
|
7
|
+
}
|
|
8
|
+
._root_f61oc_1 > :last-child {
|
|
9
|
+
margin-bottom: 0;
|
|
10
|
+
}
|
|
11
|
+
._root_f61oc_1 {
|
|
12
|
+
color: var(--fluxdown-colors-fg);
|
|
13
|
+
background: var(--fluxdown-colors-bg);
|
|
14
|
+
font-family: var(--fluxdown-typography-font-sans);
|
|
15
|
+
font-size: var(--fluxdown-typography-font-size-md);
|
|
16
|
+
font-weight: var(--fluxdown-typography-font-weight-normal);
|
|
17
|
+
line-height: var(--fluxdown-typography-line-height-md);
|
|
18
|
+
overflow-wrap: anywhere;
|
|
19
|
+
-webkit-font-smoothing: var(--fluxdown-typography-font-smoothing);
|
|
20
|
+
}
|
|
21
|
+
._root_f61oc_1, ._root_f61oc_1 * {
|
|
22
|
+
box-sizing: border-box;
|
|
23
|
+
}
|
|
24
|
+
._root_f61oc_1 :not(pre) > code {
|
|
25
|
+
padding-block: var(--fluxdown-inline-code-padding-block);
|
|
26
|
+
padding-inline: var(--fluxdown-inline-code-padding-inline);
|
|
27
|
+
border: var(--fluxdown-inline-code-border);
|
|
28
|
+
border-radius: var(--fluxdown-inline-code-border-radius);
|
|
29
|
+
background: var(--fluxdown-inline-code-background);
|
|
30
|
+
font-family: var(--fluxdown-inline-code-font-family);
|
|
31
|
+
font-size: var(--fluxdown-inline-code-font-size);
|
|
32
|
+
white-space: var(--fluxdown-inline-code-white-space);
|
|
33
|
+
}
|
|
34
|
+
._root_f61oc_1 hr {
|
|
35
|
+
height: var(--fluxdown-divider-height);
|
|
36
|
+
margin-block: var(--fluxdown-divider-margin-block);
|
|
37
|
+
margin-inline: var(--fluxdown-divider-margin-inline);
|
|
38
|
+
border: var(--fluxdown-divider-border);
|
|
39
|
+
border-block-end: var(--fluxdown-divider-border-block-end);
|
|
40
|
+
background: var(--fluxdown-divider-background);
|
|
41
|
+
}
|
|
42
|
+
._root_f61oc_1 del {
|
|
43
|
+
color: var(--fluxdown-colors-fg-muted);
|
|
44
|
+
text-decoration-thickness: 1px;
|
|
45
|
+
}
|
|
46
|
+
._root_f61oc_1 sup {
|
|
47
|
+
font-size: 0.75em;
|
|
48
|
+
line-height: 0;
|
|
49
|
+
}
|
|
50
|
+
._root_f61oc_1 .footnotes {
|
|
51
|
+
margin-top: var(--fluxdown-footnotes-margin-top);
|
|
52
|
+
padding-top: var(--fluxdown-footnotes-padding-top);
|
|
53
|
+
border-top: var(--fluxdown-footnotes-border-top);
|
|
54
|
+
color: var(--fluxdown-footnotes-color);
|
|
55
|
+
font-size: var(--fluxdown-footnotes-font-size);
|
|
56
|
+
}
|