@deepseek-ai/dsh-client-ui-primitives 0.1.1-rc.2 → 0.1.2-alpha.3
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/README.i18n.yaml +2 -2
- package/README.md +91 -24
- package/README.zh.md +92 -25
- package/lib/ConnectionIndicator.module.css +107 -0
- package/lib/DiffBlock.module.css +0 -6
- package/lib/DisclosureRow.module.css +21 -6
- package/lib/ReadBlock.module.css +0 -6
- package/lib/SearchBlock.module.css +0 -8
- package/lib/TerminalBlock.module.css +0 -6
- package/lib/Toast.module.css +7 -10
- package/lib/Tooltip.module.css +0 -7
- package/lib/WebBlock.module.css +0 -6
- package/lib/index.js +1243 -352
- package/lib/markdown/CodeBlock.module.css +4 -2
- package/lib/markdown/MarkdownText.module.css +2 -2
- package/lib/types/ConnectionIndicator.d.ts +25 -0
- package/lib/types/DiffBlock.d.ts +28 -9
- package/lib/types/FishLogo.d.ts +7 -0
- package/lib/types/FoldToggle.d.ts +20 -0
- package/lib/types/HoverCard.d.ts +4 -4
- package/lib/types/JsonTree.d.ts +4 -6
- package/lib/types/Modal.d.ts +22 -18
- package/lib/types/OnboardingSurface.d.ts +2 -2
- package/lib/types/ReadBlock.d.ts +13 -1
- package/lib/types/ReferenceIcon.d.ts +16 -0
- package/lib/types/RiskConfirmation.d.ts +2 -1
- package/lib/types/SearchBlock.d.ts +14 -0
- package/lib/types/TerminalBlock.d.ts +4 -10
- package/lib/types/Toast.d.ts +9 -1
- package/lib/types/WebBlock.d.ts +13 -0
- package/lib/types/icons/index.d.ts +8 -0
- package/lib/types/index.d.ts +14 -8
- package/lib/types/markdown/CodeBlock.d.ts +12 -3
- package/lib/types/markdown/JsonBlock.d.ts +1 -1
- package/lib/types/markdown/MarkdownText.d.ts +8 -7
- package/lib/types/markdown/highlight.d.ts +69 -2
- package/lib/types/markdown/incremental.d.ts +23 -12
- package/lib/types/markdown/render.d.ts +9 -4
- package/lib/types/markdown/useViewportHighlighting.d.ts +11 -0
- package/lib/types/relative-time.d.ts +23 -0
- package/lib/types/useAnchoredPosition.d.ts +8 -6
- package/lib/types/useDismissOnOutsidePointer.d.ts +3 -1
- package/lib/types/user-text.d.ts +19 -0
- package/lib/user-text.module.css +35 -0
- package/package.json +4 -5
- package/lib/ConnectionBanner.module.css +0 -13
- package/lib/types/ConnectionBanner.d.ts +0 -12
package/lib/WebBlock.module.css
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/* Geometry mirrors CodeBlock/TerminalBlock (12px radius, code-block surface,
|
|
2
|
-
16px vertical margin) so a web card, a terminal card, and a fenced code block
|
|
3
|
-
read as one family. A source list is prose, not aligned output, so each row
|
|
4
|
-
wraps horizontally rather than scrolling sideways like a terminal card; the
|
|
5
|
-
list as a whole scrolls vertically within a capped height (see .sources). */
|
|
6
|
-
|
|
7
1
|
.block {
|
|
8
2
|
--dsl-web-radius: 12px;
|
|
9
3
|
|