@keboola/design 3.2.0 → 4.0.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/AGENTS.md +447 -0
- package/COMPONENT-API.md +378 -0
- package/README.md +20 -11
- package/dist/constants-D3gaMY-W.d.cts +39 -0
- package/dist/constants-D3gaMY-W.d.ts +39 -0
- package/dist/editors.cjs +1976 -0
- package/dist/editors.cjs.map +1 -0
- package/dist/editors.d.cts +113 -0
- package/dist/editors.d.ts +113 -0
- package/dist/editors.js +1948 -0
- package/dist/editors.js.map +1 -0
- package/dist/index.cjs +59 -1203
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +330 -407
- package/dist/index.d.ts +330 -407
- package/dist/index.js +60 -1199
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +4 -4
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.d.cts +4 -3
- package/dist/markdown-editor.d.ts +4 -3
- package/dist/markdown-editor.js +4 -4
- package/dist/markdown-editor.js.map +1 -1
- package/dist/styles.css +3 -1
- package/dist/testing.cjs +23 -0
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.js +23 -0
- package/dist/testing.js.map +1 -1
- package/package.json +53 -37
- package/src/styles.css +41 -1
package/dist/markdown-editor.cjs
CHANGED
|
@@ -4512,10 +4512,10 @@ var MarkdownEditor = ({
|
|
|
4512
4512
|
// adjacent-sibling selector for paragraph spacing so single-paragraph blocks (titles,
|
|
4513
4513
|
// short descriptions) stay tight while multi-paragraph blocks still breathe.
|
|
4514
4514
|
compact && "[&_p]:tw-m-0 [&_p+p]:tw-mt-2",
|
|
4515
|
-
// Display-state clamp: 2 lines
|
|
4516
|
-
//
|
|
4517
|
-
//
|
|
4518
|
-
clampDisplay && "[&:not(:focus-within)]:tw-line-clamp-2
|
|
4515
|
+
// Display-state clamp: 2 lines, dropped in focus-within so editing expands to full
|
|
4516
|
+
// height. line-clamp is self-gating (no effect below 3 lines), so short/empty content
|
|
4517
|
+
// renders clean; a CSS fade can't gate on overflow without JS, so it's omitted.
|
|
4518
|
+
clampDisplay && "[&:not(:focus-within)]:tw-line-clamp-2",
|
|
4519
4519
|
className
|
|
4520
4520
|
),
|
|
4521
4521
|
onBlur: handleBlur,
|