@stackone/malachite 0.63.1 → 0.64.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/COMPONENTS.md +2 -2
- package/dist/{CodeBlockHighlighter-D-G_ejzN.js → CodeBlockHighlighter-Bs6Sq3lB.js} +2 -2
- package/dist/{CodeBlockHighlighter-D-G_ejzN.js.map → CodeBlockHighlighter-Bs6Sq3lB.js.map} +1 -1
- package/dist/{index-BViCOEUo.js → index-C3bTzOZ2.js} +3686 -3275
- package/dist/index-C3bTzOZ2.js.map +1 -0
- package/dist/index.d.ts +52 -12
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/index-BViCOEUo.js.map +0 -1
package/COMPONENTS.md
CHANGED
|
@@ -72,8 +72,8 @@ The catalog of components exported from `@stackone/malachite`. **Reach for one o
|
|
|
72
72
|
|
|
73
73
|
## Typography
|
|
74
74
|
|
|
75
|
-
- **`ClampText`** — Clamps text to N lines; expands to full text on hover/focus with a height animation.
|
|
76
|
-
- **`Typography`** — Text primitives — use these instead of raw colour tokens on `<span>`s. Includes `Typography.Text`, `Typography.SecondaryText`, `Typography.EllipsisText`, etc., with size/weight/color props.
|
|
75
|
+
- **`ClampText`** — Clamps text to N lines; expands to full text on hover/focus with a height animation. Wrapping markdown? Pass `variant="flow"` to the `Typography.MarkdownBlock` inside it, or the clamp counts blocks instead of lines.
|
|
76
|
+
- **`Typography`** — Text primitives — use these instead of raw colour tokens on `<span>`s. Includes `Typography.Text`, `Typography.SecondaryText`, `Typography.EllipsisText`, etc., with size/weight/color props. `Typography.CodeText` takes `variant="inline"` for a chip mid-sentence; `Typography.MarkdownBlock` takes `variant="flow"` for use inside `ClampText` and `normalizeSource` for machine-generated descriptions that omit blank lines between blocks.
|
|
77
77
|
|
|
78
78
|
## Data display
|
|
79
79
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as On } from "react/jsx-runtime";
|
|
2
|
-
import { _ as ce, a as ue, C as rn, b as se } from "./index-
|
|
2
|
+
import { _ as ce, a as ue, C as rn, b as se } from "./index-C3bTzOZ2.js";
|
|
3
3
|
import H from "react";
|
|
4
4
|
function fe(n, e) {
|
|
5
5
|
if (n == null) return {};
|
|
@@ -2751,4 +2751,4 @@ const pt = {
|
|
|
2751
2751
|
export {
|
|
2752
2752
|
vt as default
|
|
2753
2753
|
};
|
|
2754
|
-
//# sourceMappingURL=CodeBlockHighlighter-
|
|
2754
|
+
//# sourceMappingURL=CodeBlockHighlighter-Bs6Sq3lB.js.map
|