one-design-next 0.0.71 → 0.0.73
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/dist/chat-item/index.js +39 -7
- package/dist/composer/index.d.ts +6 -0
- package/dist/composer/index.js +3 -1
- package/dist/dialog/style/index.css +1 -1
- package/dist/drawer/style/index.css +2 -0
- package/dist/dropdown/index.js +5 -2
- package/dist/icon/svg-data.d.ts +4 -0
- package/dist/icon/svg-data.js +1 -1
- package/dist/icon/types.d.ts +1 -1
- package/dist/preview-panel/index.js +55 -8
- package/dist/preview-panel/style/index.css +84 -6
- package/dist/stream-text/highlight-query-text.d.ts +8 -0
- package/dist/stream-text/highlight-query-text.js +44 -0
- package/dist/stream-text/index.d.ts +4 -2
- package/dist/stream-text/index.js +21 -16
- package/dist/stream-text/style/index.css +16 -0
- package/dist/style/base.css +1 -1
- package/dist/tooltip/index.js +25 -9
- package/dist/user-bubble/index.d.ts +4 -2
- package/dist/user-bubble/index.js +5 -3
- package/dist/user-bubble/render-segments.d.ts +1 -1
- package/dist/user-bubble/render-segments.js +7 -4
- package/package.json +4 -3
package/dist/icon/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { svgData } from './svg-data';
|
|
2
2
|
export type IconName = keyof typeof svgData;
|
|
3
|
-
export declare const iconNames: ("history" | "code" | "data" | "form" | "link" | "map" | "menu" | "option" | "search" | "section" | "table" | "template" | "time" | "video" | "filter" | "image" | "stop" | "text" | "view" | "sort" | "group" | "replace" | "split" | "repeat" | "anchor" | "bold" | "scroll" | "type" | "key" | "bottom" | "container" | "left" | "right" | "top" | "x" | "radius" | "power" | "draggable" | "custom" | "heading" | "list" | "presentation" | "timer" | "send" | "location" | "copy" | "move" | "baseline" | "ellipsis" | "pointer" | "zoom-in" | "zoom-out" | "italic" | "underline" | "dot" | "sheet" | "toolbox" | "square" | "addressBook" | "AIFile" | "alarmClock" | "alert-circle" | "alert-circle-filled" | "alert-triangle" | "archive" | "arrow-down" | "arrow-up" | "arrow-up-right" | "arrowDown" | "arrowDown-filled" | "arrowLeft" | "arrowLeft-filled" | "arrowRight" | "arrowRight-filled" | "arrowUp" | "arrowUp-filled" | "asset-square" | "assetProtecting" | "autoAD-square-filled" | "bar-chart-3" | "bell" | "bell-filled" | "bidding" | "biz-cancel" | "biz-magic" | "biz-send" | "biz-stop" | "biz-time" | "bottom-filled" | "calendar" | "cancel" | "cancel-circle" | "cancel-circle-filled" | "card-distribute" | "channels" | "channels-square-filled" | "chart" | "chatBubble-filled" | "check" | "check-circle" | "check-circle-filled" | "checkBadge" | "chevron-down" | "chevron-left" | "chevron-right" | "clock" | "clock-4" | "comments" | "compare" | "copy-new" | "custom-filled" | "customColumn" | "dataAuth" | "dataBoard" | "dataBox" | "dataFolder" | "dataReport" | "dataReport-filled" | "dataRising" | "delete" | "deleteAD-filled" | "detect" | "doubleLeft" | "doubleLeft-filled" | "doubleRight" | "doubleRight-filled" | "down" | "down-bold" | "down-filled" | "download" | "download-1" | "download-2" | "download-filled" | "edit" | "exchange" | "exposure-filled" | "extendedConfig" | "fall-filled" | "file" | "file-code" | "file-filled" | "file-text" | "filter-filled" | "flag" | "flame" | "fold" | "folderZip" | "folderzip-bold" | "fullScreen" | "globe" | "guideBook" | "help-circle" | "help-circle-filled" | "histogram" | "hosting" | "hot" | "hot-filled" | "icon-outlined" | "idea" | "idea-bold" | "image-bold" | "image-filled" | "images" | "import" | "info" | "info-circle" | "info-circle-filled" | "keyword" | "LandingPage" | "languages" | "layers" | "left-bold" | "left-filled" | "leftFirst" | "leftFirst-filled" | "linkSquare" | "loader" | "lock" | "logout" | "magic" | "magic-filled" | "maxSize" | "menuLeft" | "menuLeft-bold" | "menuRight" | "menuRight-bold" | "message-circle-plus" | "messages-square" | "minigame-filled" | "miniProgram" | "minus" | "minus-circle" | "minus-circle-filled" | "mobile" | "mobile-filled" | "mobilePage" | "modify" | "modify-bold" | "moments-filled" | "more" | "more-vertical" | "mouse-pointer-click" | "multiCreate" | "mute" | "mutiImage" | "mutiImage-filled" | "mutiSelect" | "mutiSelect-filled" | "notepad" | "notepad-bold" | "offiaccount-filled" | "panel-left" | "panel-left-close" | "panel-right" | "paperclip" | "pause-filled" | "play-filled" | "playing" | "plus" | "plus-circle" | "plus-circle-filled" | "pointerLeft-filled" | "pointerRight-filled" | "puzzle" | "QRcode" | "qualification" | "quickFile" | "refresh" | "report" | "reportBook" | "right-bold" | "right-filled" | "rightLast" | "rightLast-filled" | "ringStruckture" | "rise-filled" | "rotate-ccw" | "save" | "search-bold" | "search-filled" | "searchAD" | "searchAD-filled" | "setting" | "share" | "shield" | "shield-filled" | "shop" | "shopping" | "sound" | "sparkle" | "sparkles" | "square-filled" | "star" | "star-filled" | "sticker" | "sticker-filled" | "subdivide" | "support-bold" | "tag" | "tag-filled" | "target" | "targeting" | "task" | "task-filled" | "templateBag" | "thumbDown" | "thumbDown-filled" | "thumbs-down" | "thumbs-up" | "thumbUp" | "thumbUp-filled" | "time-bold" | "top-filled" | "treeStructure" | "unfold" | "unfold-filled" | "up" | "up-bold" | "up-filled" | "user-add" | "user-circle" | "user-edit" | "user-pack" | "userList" | "userPack" | "users" | "users-bold" | "verify" | "videoBag-filled" | "videoScreenshot" | "viewMask" | "wallet" | "wand-sparkles" | "warning" | "warning-filled" | "wechatBubble" | "wechatBubble-filled" | "wechatSearch" | "writing" | "x-circle" | "zap" | "zoomIn" | "zoomOut" | "accessibility" | "baby" | "badge-info" | "badge-question-mark" | "circle-question-mark" | "closed-caption" | "contrast" | "ear" | "ear-off" | "eclipse" | "eye" | "eye-closed" | "eye-off" | "glasses" | "hand" | "life-buoy" | "moon" | "moon-star" | "person-standing" | "scan-eye" | "scan-search" | "speech" | "sun" | "sun-dim" | "sun-medium" | "sun-moon" | "activity" | "at-sign" | "award" | "badge" | "badge-alert" | "ban" | "bell-check" | "bell-dot" | "book-user" | "bookmark" | "bookmark-check" | "bookmark-minus" | "bookmark-off" | "bookmark-plus" | "bookmark-x" | "circle-user" | "circle-user-round" | "cog" | "contact" | "contact-round" | "cookie" | "credit-card" | "file-user" | "fingerprint-pattern" | "flag-off" | "frown" | "gift" | "hand-coins" | "handshake" | "heart-handshake" | "heart-minus" | "heart-plus" | "id-card" | "id-card-lanyard" | "inbox" | "key-round" | "key-square" | "link-2" | "log-in" | "log-out" | "mail" | "map-pin" | "map-pin-check" | "map-pin-check-inside" | "map-pin-house" | "map-pin-minus" | "map-pin-minus-inside" | "map-pin-pen" | "map-pin-plus" | "map-pin-plus-inside" | "map-pin-search" | "map-pin-x" | "map-pin-x-inside" | "map-pinned" | "message-circle-check" | "message-circle-x" | "message-square-check" | "notebook-tabs" | "pin" | "rotate-ccw-key" | "scan-face" | "scan-qr-code" | "settings" | "settings-2" | "share-2" | "shield-alert" | "shield-ban" | "shield-check" | "shield-cog" | "shield-cog-corner" | "shield-ellipsis" | "shield-half" | "shield-minus" | "shield-off" | "shield-plus" | "shield-question-mark" | "shield-user" | "shield-x" | "sliders-horizontal" | "sliders-vertical" | "smile" | "square-user" | "square-user-round" | "tags" | "ticket" | "tickets" | "toggle-left" | "toggle-right" | "user" | "user-check" | "user-cog" | "user-key" | "user-lock" | "user-minus" | "user-pen" | "user-plus" | "user-round" | "user-round-check" | "user-round-cog" | "user-round-key" | "user-round-minus" | "user-round-pen" | "user-round-plus" | "user-round-search" | "user-round-x" | "user-search" | "user-star" | "user-x" | "users-round" | "venetian-mask" | "vibrate" | "vibrate-off" | "wallet-cards" | "wallet-minimal" | "wallpaper" | "waypoints" | "wrench" | "arrow-big-down" | "arrow-big-down-dash" | "arrow-big-left" | "arrow-big-left-dash" | "arrow-big-right" | "arrow-big-right-dash" | "arrow-big-up" | "arrow-big-up-dash" | "arrow-down-0-1" | "arrow-down-1-0" | "arrow-down-a-z" | "arrow-down-from-line" | "arrow-down-left" | "arrow-down-narrow-wide" | "arrow-down-right" | "arrow-down-to-dot" | "arrow-down-to-line" | "arrow-down-up" | "arrow-down-wide-narrow" | "arrow-down-z-a" | "arrow-left" | "arrow-left-from-line" | "arrow-left-right" | "arrow-left-to-line" | "arrow-right" | "arrow-right-from-line" | "arrow-right-left" | "arrow-right-to-line" | "arrow-up-0-1" | "arrow-up-1-0" | "arrow-up-a-z" | "arrow-up-down" | "arrow-up-from-dot" | "arrow-up-from-line" | "arrow-up-left" | "arrow-up-narrow-wide" | "arrow-up-to-line" | "arrow-up-wide-narrow" | "arrow-up-z-a" | "arrows-up-from-line" | "calendar-sync" | "chevron-first" | "chevron-last" | "chevron-up" | "chevrons-down" | "chevrons-down-up" | "chevrons-left" | "chevrons-left-right" | "chevrons-right" | "chevrons-right-left" | "chevrons-up" | "chevrons-up-down" | "circle-arrow-down" | "circle-arrow-left" | "circle-arrow-out-down-left" | "circle-arrow-out-down-right" | "circle-arrow-out-up-left" | "circle-arrow-out-up-right" | "circle-arrow-right" | "circle-arrow-up" | "circle-chevron-down" | "circle-chevron-left" | "circle-chevron-right" | "circle-chevron-up" | "circle-fading-arrow-up" | "clipboard-copy" | "clipboard-paste" | "cloud-backup" | "cloud-download" | "cloud-sync" | "cloud-upload" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "database-backup" | "decimals-arrow-left" | "decimals-arrow-right" | "expand" | "external-link" | "fast-forward" | "file-down" | "file-input" | "file-output" | "file-up" | "fold-horizontal" | "fold-vertical" | "folder-down" | "folder-input" | "folder-output" | "folder-sync" | "folder-up" | "git-compare-arrows" | "git-pull-request-arrow" | "git-pull-request-create-arrow" | "hard-drive-download" | "hard-drive-upload" | "iteration-ccw" | "iteration-cw" | "lasso-select" | "list-chevrons-down-up" | "list-chevrons-up-down" | "maximize-2" | "merge" | "milestone" | "minimize-2" | "mouse-pointer" | "mouse-pointer-2" | "mouse-pointer-2-off" | "mouse-pointer-ban" | "move-diagonal" | "move-diagonal-2" | "move-down" | "move-down-left" | "move-down-right" | "move-horizontal" | "move-left" | "move-right" | "move-up" | "move-up-left" | "move-up-right" | "move-vertical" | "panel-bottom-close" | "panel-bottom-open" | "panel-left-open" | "panel-right-close" | "panel-right-open" | "panel-top-close" | "panel-top-open" | "phone-forwarded" | "phone-incoming" | "phone-outgoing" | "play" | "redo" | "redo-2" | "redo-dot" | "refresh-ccw" | "refresh-ccw-dot" | "refresh-cw" | "refresh-cw-off" | "repeat-2" | "repeat-off" | "rewind" | "rotate-ccw-square" | "rotate-cw" | "rotate-cw-square" | "separator-horizontal" | "separator-vertical" | "shrink" | "shuffle" | "signpost" | "signpost-big" | "skip-back" | "skip-forward" | "spline-pointer" | "square-arrow-down" | "square-arrow-down-left" | "square-arrow-down-right" | "square-arrow-left" | "square-arrow-out-down-left" | "square-arrow-out-down-right" | "square-arrow-out-up-left" | "square-arrow-out-up-right" | "square-arrow-right" | "square-arrow-right-enter" | "square-arrow-right-exit" | "square-arrow-up" | "square-arrow-up-left" | "square-arrow-up-right" | "square-chevron-down" | "square-chevron-left" | "square-chevron-right" | "square-chevron-up" | "square-dashed-mouse-pointer" | "square-mouse-pointer" | "square-play" | "step-back" | "step-forward" | "sunrise" | "sunset" | "text-wrap" | "trending-down" | "trending-up" | "trending-up-down" | "undo" | "undo-2" | "undo-dot" | "unfold-horizontal" | "unfold-vertical" | "upload" | "chart-area" | "chart-bar" | "chart-bar-big" | "chart-bar-decreasing" | "chart-bar-increasing" | "chart-bar-stacked" | "chart-candlestick" | "chart-column" | "chart-column-big" | "chart-column-decreasing" | "chart-column-increasing" | "chart-column-stacked" | "chart-gantt" | "chart-line" | "chart-network" | "chart-no-axes-column" | "chart-no-axes-column-decreasing" | "chart-no-axes-column-increasing" | "chart-no-axes-combined" | "chart-no-axes-gantt" | "chart-pie" | "chart-scatter" | "chart-spline" | "folder-kanban" | "kanban" | "square-chart-gantt" | "square-dashed-kanban" | "square-kanban" | "antenna" | "audio-lines" | "audio-waveform" | "camera" | "camera-off" | "chevrons-left-right-ellipsis" | "circle-fading-plus" | "ethernet-port" | "hand-fist" | "headphone-off" | "mic" | "mic-off" | "newspaper" | "nfc" | "notebook" | "phone" | "phone-call" | "phone-missed" | "phone-off" | "projector" | "radar" | "screen-share" | "screen-share-off" | "send-horizontal" | "smartphone-nfc" | "smile-plus" | "spotlight" | "switch-camera" | "tv" | "video-off" | "volume" | "volume-1" | "volume-2" | "volume-off" | "volume-x" | "webcam" | "airplay" | "battery" | "battery-charging" | "battery-full" | "battery-low" | "battery-medium" | "battery-warning" | "bluetooth" | "bluetooth-connected" | "bluetooth-off" | "bluetooth-searching" | "cable" | "cast" | "circle-power" | "cloud-off" | "globe-off" | "globe-x" | "headphones" | "headset" | "house-wifi" | "monitor" | "monitor-check" | "monitor-cloud" | "monitor-cog" | "monitor-dot" | "monitor-down" | "monitor-off" | "monitor-pause" | "monitor-play" | "monitor-smartphone" | "monitor-speaker" | "monitor-stop" | "monitor-up" | "monitor-x" | "power-off" | "router" | "signal" | "signal-high" | "signal-low" | "signal-medium" | "signal-zero" | "smartphone" | "smartphone-charging" | "square-power" | "voicemail" | "wifi" | "wifi-cog" | "wifi-high" | "wifi-low" | "wifi-off" | "wifi-pen" | "wifi-sync" | "wifi-zero" | "zap-off" | "circle-plus" | "hand-grab" | "lasso" | "loader-circle" | "loader-pinwheel" | "pen-tool" | "pencil" | "pencil-off" | "pointer-off" | "square-dashed-text" | "stamp" | "text-cursor" | "a-arrow-down" | "a-arrow-up" | "a-large-small" | "app-window" | "app-window-mac" | "between-horizontal-end" | "between-horizontal-start" | "between-vertical-end" | "between-vertical-start" | "blend" | "book-type" | "bring-to-front" | "brush" | "brush-cleaning" | "columns-2" | "columns-3" | "columns-3-cog" | "columns-4" | "component" | "crop" | "dock" | "drafting-compass" | "flip-horizontal-2" | "flip-vertical-2" | "frame" | "fullscreen" | "gallery-horizontal" | "gallery-horizontal-end" | "gallery-thumbnails" | "gallery-vertical" | "gallery-vertical-end" | "grid-2x2" | "grid-3x2" | "grid-3x3" | "heart-x" | "highlighter" | "layers-2" | "layers-minus" | "layers-plus" | "layout-dashboard" | "layout-grid" | "layout-list" | "layout-panel-left" | "line-style" | "magnet" | "maximize" | "minimize" | "paint-bucket" | "paint-roller" | "paintbrush" | "paintbrush-vertical" | "palette" | "panel-top" | "panels-top-left" | "pen" | "pen-line" | "pen-off" | "pencil-line" | "pencil-ruler" | "pipette" | "proportions" | "ratio" | "rectangle-horizontal" | "rectangle-vertical" | "rows-2" | "rows-3" | "rows-4" | "ruler" | "scaling" | "scissors" | "scissors-line-dashed" | "send-to-back" | "spray-can" | "square-dashed" | "square-scissors" | "squares-exclude" | "squares-intersect" | "squares-subtract" | "squares-unite" | "swatch-book" | "tablet-smartphone" | "vector-square" | "asterisk" | "astroid" | "binary" | "blocks" | "book" | "book-alert" | "book-check" | "book-copy" | "book-dashed" | "book-down" | "book-key" | "book-lock" | "book-marked" | "book-minus" | "book-open" | "book-open-check" | "book-open-text" | "book-plus" | "book-search" | "book-up" | "book-up-2" | "bot" | "bot-message-square" | "bot-off" | "box" | "boxes" | "braces" | "brackets" | "brain-circuit" | "brain-cog" | "bug" | "bug-off" | "bug-play" | "case-lower" | "case-upper" | "circle-dashed" | "circle-dot" | "circle-ellipsis" | "circle-slash" | "circle-slash-2" | "circle-x" | "circuit-board" | "cloud-alert" | "cloud-check" | "cloud-cog" | "code-xml" | "combine" | "command" | "computer" | "construction" | "database" | "database-search" | "database-zap" | "diff" | "divide" | "earth-lock" | "equal" | "equal-not" | "file-braces" | "file-diff" | "file-digit" | "file-sliders" | "file-stack" | "file-terminal" | "folder-code" | "folder-dot" | "folder-open-dot" | "folder-root" | "gem" | "git-branch" | "git-branch-minus" | "git-branch-plus" | "git-commit-horizontal" | "git-commit-vertical" | "git-compare" | "git-fork" | "git-graph" | "git-merge" | "git-merge-conflict" | "git-pull-request" | "git-pull-request-closed" | "git-pull-request-create" | "git-pull-request-draft" | "globe-lock" | "hard-drive" | "hexagon" | "keyboard" | "keyboard-off" | "library" | "library-big" | "list-indent-decrease" | "list-indent-increase" | "message-circle-code" | "message-square-code" | "message-square-diff" | "network" | "package" | "package-2" | "package-check" | "package-minus" | "package-open" | "package-plus" | "package-search" | "package-x" | "parentheses" | "percent" | "plug" | "plug-2" | "qr-code" | "regex" | "rocket" | "rss" | "scroll-text" | "search-code" | "server" | "server-cog" | "server-crash" | "server-off" | "shell" | "slash" | "spell-check" | "spell-check-2" | "square-code" | "square-dot" | "square-function" | "square-library" | "square-minus" | "square-plus" | "square-slash" | "square-stack" | "square-terminal" | "table-properties" | "terminal" | "tool-case" | "triangle-alert" | "unplug" | "variable" | "webhook" | "webhook-off" | "workflow" | "archive-restore" | "archive-x" | "book-image" | "calendar-fold" | "file-archive" | "file-badge" | "file-box" | "file-chart-column" | "file-chart-column-increasing" | "file-chart-line" | "file-chart-pie" | "file-check" | "file-clock" | "file-cog" | "file-headphone" | "file-image" | "file-key" | "file-lock" | "file-minus" | "file-pen" | "file-pen-line" | "file-play" | "file-plus" | "file-scan" | "file-search" | "file-spreadsheet" | "file-symlink" | "file-type" | "file-x" | "files" | "folder" | "folder-archive" | "folder-bookmark" | "folder-check" | "folder-clock" | "folder-closed" | "folder-cog" | "folder-key" | "folder-lock" | "folder-minus" | "folder-open" | "folder-pen" | "folder-plus" | "folder-search" | "folder-search-2" | "folder-tree" | "folder-x" | "folders" | "image-down" | "image-minus" | "image-off" | "image-play" | "image-plus" | "image-up" | "list-tree" | "music" | "save-all" | "save-off" | "table-cells-merge" | "table-cells-split" | "table-columns-split" | "table-rows-split" | "trash" | "trash-2" | "ungroup" | "align-center-horizontal" | "align-center-vertical" | "align-end-horizontal" | "align-end-vertical" | "align-horizontal-distribute-center" | "align-horizontal-distribute-end" | "align-horizontal-distribute-start" | "align-horizontal-justify-center" | "align-horizontal-justify-end" | "align-horizontal-justify-start" | "align-horizontal-space-around" | "align-horizontal-space-between" | "align-start-horizontal" | "align-start-vertical" | "align-vertical-distribute-center" | "align-vertical-distribute-end" | "align-vertical-distribute-start" | "align-vertical-justify-center" | "align-vertical-justify-end" | "align-vertical-justify-start" | "align-vertical-space-around" | "align-vertical-space-between" | "ellipsis-vertical" | "funnel" | "funnel-plus" | "funnel-x" | "grid-2x2-check" | "grid-2x2-plus" | "grid-2x2-x" | "grip" | "grip-horizontal" | "grip-vertical" | "layout-panel-top" | "layout-template" | "list-filter-plus" | "panel-bottom" | "panels-left-bottom" | "panels-right-bottom" | "square-menu" | "square-split-horizontal" | "square-split-vertical" | "stretch-horizontal" | "stretch-vertical" | "text-cursor-input" | "forward" | "mail-check" | "mail-minus" | "mail-open" | "mail-plus" | "mail-question-mark" | "mail-search" | "mail-warning" | "mail-x" | "mailbox" | "mails" | "reply" | "reply-all" | "alarm-clock" | "alarm-clock-check" | "alarm-clock-minus" | "alarm-clock-off" | "alarm-clock-plus" | "bell-electric" | "bell-minus" | "bell-off" | "bell-plus" | "bell-ring" | "check-check" | "check-line" | "circle-alert" | "circle-check" | "circle-check-big" | "copy-check" | "copy-x" | "laptop-minimal-check" | "megaphone" | "megaphone-off" | "message-circle-warning" | "message-square-dot" | "message-square-warning" | "octagon-alert" | "octagon-x" | "square-check" | "square-check-big" | "square-x" | "badge-check" | "badge-minus" | "badge-percent" | "badge-plus" | "badge-x" | "book-heart" | "circle-percent" | "hand-heart" | "hash" | "heart" | "heart-off" | "message-circle" | "message-circle-dashed" | "message-circle-heart" | "message-circle-more" | "message-circle-off" | "message-circle-question-mark" | "message-circle-reply" | "message-square" | "message-square-dashed" | "message-square-heart" | "message-square-lock" | "message-square-more" | "message-square-off" | "message-square-plus" | "message-square-quote" | "message-square-reply" | "message-square-share" | "message-square-text" | "message-square-x" | "notebook-pen" | "notebook-text" | "notepad-text" | "notepad-text-dashed" | "podcast" | "scan" | "search-line" | "search-alert" | "search-check" | "search-slash" | "search-x" | "square-activity" | "square-percent" | "star-half" | "star-off" | "sticky-note" | "store" | "shopping-bag" | "vote" | "book-text" | "book-x" | "case-sensitive" | "clipboard" | "clipboard-check" | "clipboard-clock" | "clipboard-list" | "clipboard-minus" | "clipboard-pen" | "clipboard-pen-line" | "clipboard-plus" | "clipboard-type" | "clipboard-x" | "copy-minus" | "copy-plus" | "copyright" | "eraser" | "heading-1" | "heading-2" | "heading-3" | "heading-4" | "heading-5" | "heading-6" | "link-2-off" | "list-check" | "list-checks" | "list-collapse" | "list-end" | "list-filter" | "list-minus" | "list-ordered" | "list-plus" | "list-restart" | "list-start" | "list-todo" | "list-x" | "logs" | "quote" | "remove-formatting" | "replace-all" | "scan-text" | "sigma" | "signature" | "square-pen" | "strikethrough" | "subscript" | "superscript" | "table-of-contents" | "text-align-center" | "text-align-end" | "text-align-justify" | "text-align-start" | "text-quote" | "text-search" | "unlink" | "unlink-2" | "whole-word" | "calendar-1" | "calendar-arrow-down" | "calendar-arrow-up" | "calendar-check" | "calendar-check-2" | "calendar-clock" | "calendar-cog" | "calendar-days" | "calendar-minus" | "calendar-off" | "calendar-plus" | "calendar-range" | "calendar-search" | "calendar-x" | "calendars" | "clock-alert" | "clock-arrow-down" | "clock-arrow-up" | "clock-check" | "clock-plus" | "hourglass" | "timeline" | "timer-off" | "timer-reset" | "watch" | "bolt" | "diamond-minus" | "diamond-plus" | "hammer" | "telescope")[];
|
|
3
|
+
export declare const iconNames: ("history" | "code" | "data" | "form" | "link" | "map" | "menu" | "option" | "search" | "section" | "table" | "template" | "time" | "video" | "filter" | "image" | "stop" | "text" | "view" | "sort" | "group" | "replace" | "split" | "repeat" | "anchor" | "bold" | "scroll" | "type" | "key" | "bottom" | "container" | "left" | "right" | "top" | "x" | "radius" | "power" | "draggable" | "custom" | "heading" | "list" | "presentation" | "timer" | "send" | "location" | "copy" | "move" | "baseline" | "ellipsis" | "pointer" | "zoom-in" | "zoom-out" | "italic" | "underline" | "dot" | "sheet" | "toolbox" | "square" | "addressBook" | "AIFile" | "alarmClock" | "alert-circle" | "alert-circle-filled" | "alert-triangle" | "archive" | "arrow-down" | "arrow-up" | "arrow-up-right" | "arrowDown" | "arrowDown-filled" | "arrowLeft" | "arrowLeft-filled" | "arrowRight" | "arrowRight-filled" | "arrowUp" | "arrowUp-filled" | "asset-square" | "assetProtecting" | "autoAD-square-filled" | "bar-chart-3" | "bell" | "bell-filled" | "bidding" | "biz-cancel" | "biz-magic" | "biz-send" | "biz-stop" | "biz-time" | "bottom-filled" | "calendar" | "cancel" | "cancel-circle" | "cancel-circle-filled" | "card-distribute" | "channels" | "channels-square-filled" | "chart" | "chatBubble-filled" | "check" | "check-circle" | "check-circle-filled" | "checkBadge" | "chevron-down" | "chevron-left" | "chevron-right" | "clock" | "clock-4" | "comments" | "compare" | "copy-new" | "custom-filled" | "customColumn" | "dataAuth" | "dataBoard" | "dataBox" | "dataFolder" | "dataReport" | "dataReport-filled" | "dataRising" | "delete" | "deleteAD-filled" | "detect" | "doubleLeft" | "doubleLeft-filled" | "doubleRight" | "doubleRight-filled" | "down" | "down-bold" | "down-filled" | "download" | "download-1" | "download-2" | "download-filled" | "edit" | "exchange" | "exposure-filled" | "extendedConfig" | "fall-filled" | "file" | "file-code" | "file-filled" | "file-text" | "filter-filled" | "flag" | "flame" | "fold" | "folderZip" | "folderzip-bold" | "fullScreen" | "globe" | "guideBook" | "help-circle" | "help-circle-filled" | "histogram" | "hosting" | "hot" | "hot-filled" | "icon-outlined" | "idea" | "idea-bold" | "image-bold" | "image-filled" | "images" | "import" | "info" | "info-circle" | "info-circle-filled" | "keyword" | "LandingPage" | "languages" | "layers" | "left-bold" | "left-filled" | "leftFirst" | "leftFirst-filled" | "linkSquare" | "loader" | "lock" | "logout" | "magic" | "magic-filled" | "maxSize" | "menuLeft" | "menuLeft-bold" | "menuRight" | "menuRight-bold" | "message-circle-plus" | "messages-square" | "minigame-filled" | "miniProgram" | "minus" | "minus-circle" | "minus-circle-filled" | "mobile" | "mobile-filled" | "mobilePage" | "modify" | "modify-bold" | "moments-filled" | "more" | "more-vertical" | "mouse-pointer-click" | "multiCreate" | "mute" | "mutiImage" | "mutiImage-filled" | "mutiSelect" | "mutiSelect-filled" | "notepad" | "notepad-bold" | "offiaccount-filled" | "panel-left" | "panel-left-close" | "panel-right" | "paperclip" | "pause-filled" | "play-filled" | "playing" | "plus" | "plus-circle" | "plus-circle-filled" | "pointerLeft-filled" | "pointerRight-filled" | "puzzle" | "QRcode" | "qualification" | "quickFile" | "refresh" | "report" | "reportBook" | "right-bold" | "right-filled" | "rightLast" | "rightLast-filled" | "ringStruckture" | "rise-filled" | "rotate-ccw" | "save" | "search-bold" | "search-filled" | "searchAD" | "searchAD-filled" | "setting" | "share" | "shield" | "shield-filled" | "shop" | "shopping" | "sound" | "sparkle" | "sparkles" | "square-filled" | "star" | "star-filled" | "sticker" | "sticker-filled" | "subdivide" | "support-bold" | "tag" | "tag-filled" | "target" | "targeting" | "task" | "task-filled" | "templateBag" | "thumbDown" | "thumbDown-filled" | "thumbs-down" | "thumbs-up" | "thumbUp" | "thumbUp-filled" | "time-bold" | "top-filled" | "treeStructure" | "unfold" | "unfold-filled" | "up" | "up-bold" | "up-filled" | "user-add" | "user-circle" | "user-edit" | "user-pack" | "userList" | "userPack" | "users" | "users-bold" | "verify" | "videoBag-filled" | "videoScreenshot" | "viewMask" | "wallet" | "wand-sparkles" | "warning" | "warning-filled" | "wechatBubble" | "wechatBubble-filled" | "wechatSearch" | "writing" | "x-circle" | "zap" | "zoomIn" | "zoomOut" | "accessibility" | "baby" | "badge-info" | "badge-question-mark" | "circle-question-mark" | "closed-caption" | "contrast" | "ear" | "ear-off" | "eclipse" | "eye" | "eye-closed" | "eye-off" | "glasses" | "hand" | "life-buoy" | "moon" | "moon-star" | "person-standing" | "scan-eye" | "scan-search" | "speech" | "sun" | "sun-dim" | "sun-medium" | "sun-moon" | "activity" | "at-sign" | "award" | "badge" | "badge-alert" | "ban" | "bell-check" | "bell-dot" | "book-user" | "bookmark" | "bookmark-check" | "bookmark-minus" | "bookmark-off" | "bookmark-plus" | "bookmark-x" | "circle-user" | "circle-user-round" | "cog" | "contact" | "contact-round" | "cookie" | "credit-card" | "file-user" | "fingerprint-pattern" | "flag-off" | "frown" | "gift" | "hand-coins" | "handshake" | "heart-handshake" | "heart-minus" | "heart-plus" | "id-card" | "id-card-lanyard" | "inbox" | "key-round" | "key-square" | "link-2" | "log-in" | "log-out" | "mail" | "map-pin" | "map-pin-check" | "map-pin-check-inside" | "map-pin-house" | "map-pin-minus" | "map-pin-minus-inside" | "map-pin-pen" | "map-pin-plus" | "map-pin-plus-inside" | "map-pin-search" | "map-pin-x" | "map-pin-x-inside" | "map-pinned" | "message-circle-check" | "message-circle-x" | "message-square-check" | "notebook-tabs" | "pin" | "rotate-ccw-key" | "scan-face" | "scan-qr-code" | "settings" | "settings-2" | "share-2" | "shield-alert" | "shield-ban" | "shield-check" | "shield-cog" | "shield-cog-corner" | "shield-ellipsis" | "shield-half" | "shield-minus" | "shield-off" | "shield-plus" | "shield-question-mark" | "shield-user" | "shield-x" | "sliders-horizontal" | "sliders-vertical" | "smile" | "square-user" | "square-user-round" | "tags" | "ticket" | "tickets" | "toggle-left" | "toggle-right" | "user" | "user-check" | "user-cog" | "user-key" | "user-lock" | "user-minus" | "user-pen" | "user-plus" | "user-round" | "user-round-check" | "user-round-cog" | "user-round-key" | "user-round-minus" | "user-round-pen" | "user-round-plus" | "user-round-search" | "user-round-x" | "user-search" | "user-star" | "user-x" | "users-round" | "venetian-mask" | "vibrate" | "vibrate-off" | "wallet-cards" | "wallet-minimal" | "wallpaper" | "waypoints" | "wrench" | "arrow-big-down" | "arrow-big-down-dash" | "arrow-big-left" | "arrow-big-left-dash" | "arrow-big-right" | "arrow-big-right-dash" | "arrow-big-up" | "arrow-big-up-dash" | "arrow-down-0-1" | "arrow-down-1-0" | "arrow-down-a-z" | "arrow-down-from-line" | "arrow-down-left" | "arrow-down-narrow-wide" | "arrow-down-right" | "arrow-down-to-dot" | "arrow-down-to-line" | "arrow-down-up" | "arrow-down-wide-narrow" | "arrow-down-z-a" | "arrow-left" | "arrow-left-from-line" | "arrow-left-right" | "arrow-left-to-line" | "arrow-right" | "arrow-right-from-line" | "arrow-right-left" | "arrow-right-to-line" | "arrow-up-0-1" | "arrow-up-1-0" | "arrow-up-a-z" | "arrow-up-down" | "arrow-up-from-dot" | "arrow-up-from-line" | "arrow-up-left" | "arrow-up-narrow-wide" | "arrow-up-to-line" | "arrow-up-wide-narrow" | "arrow-up-z-a" | "arrows-up-from-line" | "calendar-sync" | "chevron-first" | "chevron-last" | "chevron-up" | "chevrons-down" | "chevrons-down-up" | "chevrons-left" | "chevrons-left-right" | "chevrons-right" | "chevrons-right-left" | "chevrons-up" | "chevrons-up-down" | "circle-arrow-down" | "circle-arrow-left" | "circle-arrow-out-down-left" | "circle-arrow-out-down-right" | "circle-arrow-out-up-left" | "circle-arrow-out-up-right" | "circle-arrow-right" | "circle-arrow-up" | "circle-chevron-down" | "circle-chevron-left" | "circle-chevron-right" | "circle-chevron-up" | "circle-fading-arrow-up" | "clipboard-copy" | "clipboard-paste" | "cloud-backup" | "cloud-download" | "cloud-sync" | "cloud-upload" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "database-backup" | "decimals-arrow-left" | "decimals-arrow-right" | "expand" | "external-link" | "fast-forward" | "file-down" | "file-input" | "file-output" | "file-up" | "fold-horizontal" | "fold-vertical" | "folder-down" | "folder-input" | "folder-output" | "folder-sync" | "folder-up" | "git-compare-arrows" | "git-pull-request-arrow" | "git-pull-request-create-arrow" | "hard-drive-download" | "hard-drive-upload" | "iteration-ccw" | "iteration-cw" | "lasso-select" | "list-chevrons-down-up" | "list-chevrons-up-down" | "maximize-2" | "merge" | "milestone" | "minimize-2" | "mouse-pointer" | "mouse-pointer-2" | "mouse-pointer-2-off" | "mouse-pointer-ban" | "move-diagonal" | "move-diagonal-2" | "move-down" | "move-down-left" | "move-down-right" | "move-horizontal" | "move-left" | "move-right" | "move-up" | "move-up-left" | "move-up-right" | "move-vertical" | "panel-bottom-close" | "panel-bottom-open" | "panel-left-open" | "panel-right-close" | "panel-right-open" | "panel-top-close" | "panel-top-open" | "phone-forwarded" | "phone-incoming" | "phone-outgoing" | "play" | "redo" | "redo-2" | "redo-dot" | "refresh-ccw" | "refresh-ccw-dot" | "refresh-cw" | "refresh-cw-off" | "repeat-2" | "repeat-off" | "rewind" | "rotate-ccw-square" | "rotate-cw" | "rotate-cw-square" | "separator-horizontal" | "separator-vertical" | "shrink" | "shuffle" | "signpost" | "signpost-big" | "skip-back" | "skip-forward" | "spline-pointer" | "square-arrow-down" | "square-arrow-down-left" | "square-arrow-down-right" | "square-arrow-left" | "square-arrow-out-down-left" | "square-arrow-out-down-right" | "square-arrow-out-up-left" | "square-arrow-out-up-right" | "square-arrow-right" | "square-arrow-right-enter" | "square-arrow-right-exit" | "square-arrow-up" | "square-arrow-up-left" | "square-arrow-up-right" | "square-chevron-down" | "square-chevron-left" | "square-chevron-right" | "square-chevron-up" | "square-dashed-mouse-pointer" | "square-mouse-pointer" | "square-play" | "step-back" | "step-forward" | "sunrise" | "sunset" | "text-wrap" | "trending-down" | "trending-up" | "trending-up-down" | "undo" | "undo-2" | "undo-dot" | "unfold-horizontal" | "unfold-vertical" | "upload" | "chart-area" | "chart-bar" | "chart-bar-big" | "chart-bar-decreasing" | "chart-bar-increasing" | "chart-bar-stacked" | "chart-candlestick" | "chart-column" | "chart-column-big" | "chart-column-decreasing" | "chart-column-increasing" | "chart-column-stacked" | "chart-gantt" | "chart-line" | "chart-network" | "chart-no-axes-column" | "chart-no-axes-column-decreasing" | "chart-no-axes-column-increasing" | "chart-no-axes-combined" | "chart-no-axes-gantt" | "chart-pie" | "chart-scatter" | "chart-spline" | "folder-kanban" | "kanban" | "square-chart-gantt" | "square-dashed-kanban" | "square-kanban" | "antenna" | "audio-lines" | "audio-waveform" | "camera" | "camera-off" | "chevrons-left-right-ellipsis" | "circle-fading-plus" | "ethernet-port" | "hand-fist" | "headphone-off" | "mic" | "mic-off" | "newspaper" | "nfc" | "notebook" | "phone" | "phone-call" | "phone-missed" | "phone-off" | "projector" | "radar" | "screen-share" | "screen-share-off" | "send-horizontal" | "smartphone-nfc" | "smile-plus" | "spotlight" | "switch-camera" | "tv" | "video-off" | "volume" | "volume-1" | "volume-2" | "volume-off" | "volume-x" | "webcam" | "airplay" | "battery" | "battery-charging" | "battery-full" | "battery-low" | "battery-medium" | "battery-warning" | "bluetooth" | "bluetooth-connected" | "bluetooth-off" | "bluetooth-searching" | "cable" | "cast" | "circle-power" | "cloud-off" | "globe-off" | "globe-x" | "headphones" | "headset" | "house-wifi" | "monitor" | "monitor-check" | "monitor-cloud" | "monitor-cog" | "monitor-dot" | "monitor-down" | "monitor-off" | "monitor-pause" | "monitor-play" | "monitor-smartphone" | "monitor-speaker" | "monitor-stop" | "monitor-up" | "monitor-x" | "power-off" | "router" | "signal" | "signal-high" | "signal-low" | "signal-medium" | "signal-zero" | "smartphone" | "smartphone-charging" | "square-power" | "voicemail" | "wifi" | "wifi-cog" | "wifi-high" | "wifi-low" | "wifi-off" | "wifi-pen" | "wifi-sync" | "wifi-zero" | "zap-off" | "circle-plus" | "hand-grab" | "lasso" | "loader-circle" | "loader-pinwheel" | "pen-tool" | "pencil" | "pencil-off" | "pointer-off" | "square-dashed-text" | "stamp" | "text-cursor" | "a-arrow-down" | "a-arrow-up" | "a-large-small" | "app-window" | "app-window-mac" | "between-horizontal-end" | "between-horizontal-start" | "between-vertical-end" | "between-vertical-start" | "blend" | "book-type" | "bring-to-front" | "brush" | "brush-cleaning" | "columns-2" | "columns-3" | "columns-3-cog" | "columns-4" | "component" | "crop" | "dock" | "drafting-compass" | "flip-horizontal-2" | "flip-vertical-2" | "frame" | "fullscreen" | "gallery-horizontal" | "gallery-horizontal-end" | "gallery-thumbnails" | "gallery-vertical" | "gallery-vertical-end" | "grid-2x2" | "grid-3x2" | "grid-3x3" | "heart-x" | "highlighter" | "layers-2" | "layers-minus" | "layers-plus" | "layout-dashboard" | "layout-grid" | "layout-list" | "layout-panel-left" | "line-style" | "magnet" | "maximize" | "minimize" | "paint-bucket" | "paint-roller" | "paintbrush" | "paintbrush-vertical" | "palette" | "panel-top" | "panels-top-left" | "pen" | "pen-line" | "pen-off" | "pencil-line" | "pencil-ruler" | "pipette" | "proportions" | "ratio" | "rectangle-horizontal" | "rectangle-vertical" | "rows-2" | "rows-3" | "rows-4" | "ruler" | "scaling" | "scissors" | "scissors-line-dashed" | "send-to-back" | "spray-can" | "square-dashed" | "square-scissors" | "squares-exclude" | "squares-intersect" | "squares-subtract" | "squares-unite" | "swatch-book" | "tablet-smartphone" | "vector-square" | "asterisk" | "astroid" | "binary" | "blocks" | "book" | "book-alert" | "book-check" | "book-copy" | "book-dashed" | "book-down" | "book-key" | "book-lock" | "book-marked" | "book-minus" | "book-open" | "book-open-check" | "book-open-text" | "book-plus" | "book-search" | "book-up" | "book-up-2" | "bot" | "bot-message-square" | "bot-off" | "box" | "boxes" | "braces" | "brackets" | "brain-circuit" | "brain-cog" | "bug" | "bug-off" | "bug-play" | "case-lower" | "case-upper" | "circle-dashed" | "circle-dot" | "circle-ellipsis" | "circle-slash" | "circle-slash-2" | "circle-x" | "circuit-board" | "cloud-alert" | "cloud-check" | "cloud-cog" | "code-xml" | "combine" | "command" | "computer" | "construction" | "database" | "database-search" | "database-zap" | "diff" | "divide" | "earth-lock" | "equal" | "equal-not" | "file-braces" | "file-diff" | "file-digit" | "file-sliders" | "file-stack" | "file-terminal" | "folder-code" | "folder-dot" | "folder-open-dot" | "folder-root" | "gem" | "git-branch" | "git-branch-minus" | "git-branch-plus" | "git-commit-horizontal" | "git-commit-vertical" | "git-compare" | "git-fork" | "git-graph" | "git-merge" | "git-merge-conflict" | "git-pull-request" | "git-pull-request-closed" | "git-pull-request-create" | "git-pull-request-draft" | "globe-lock" | "hard-drive" | "hexagon" | "keyboard" | "keyboard-off" | "library" | "library-big" | "list-indent-decrease" | "list-indent-increase" | "message-circle-code" | "message-square-code" | "message-square-diff" | "network" | "package" | "package-2" | "package-check" | "package-minus" | "package-open" | "package-plus" | "package-search" | "package-x" | "parentheses" | "percent" | "plug" | "plug-2" | "qr-code" | "regex" | "rocket" | "rss" | "scroll-text" | "search-code" | "server" | "server-cog" | "server-crash" | "server-off" | "shell" | "slash" | "spell-check" | "spell-check-2" | "square-code" | "square-dot" | "square-function" | "square-library" | "square-minus" | "square-plus" | "square-slash" | "square-stack" | "square-terminal" | "table-properties" | "terminal" | "tool-case" | "triangle-alert" | "unplug" | "variable" | "webhook" | "webhook-off" | "workflow" | "archive-restore" | "archive-x" | "book-image" | "calendar-fold" | "file-archive" | "file-badge" | "file-box" | "file-chart-column" | "file-chart-column-increasing" | "file-chart-line" | "file-chart-pie" | "file-check" | "file-clock" | "file-cog" | "file-headphone" | "file-image" | "file-key" | "file-lock" | "file-minus" | "file-pen" | "file-pen-line" | "file-play" | "file-plus" | "file-scan" | "file-search" | "file-spreadsheet" | "file-symlink" | "file-type" | "file-x" | "files" | "folder" | "folder-archive" | "folder-bookmark" | "folder-check" | "folder-clock" | "folder-closed" | "folder-cog" | "folder-key" | "folder-lock" | "folder-minus" | "folder-open" | "folder-pen" | "folder-plus" | "folder-search" | "folder-search-2" | "folder-tree" | "folder-x" | "folders" | "image-down" | "image-minus" | "image-off" | "image-play" | "image-plus" | "image-up" | "list-tree" | "music" | "save-all" | "save-off" | "table-cells-merge" | "table-cells-split" | "table-columns-split" | "table-rows-split" | "trash" | "trash-2" | "ungroup" | "align-center-horizontal" | "align-center-vertical" | "align-end-horizontal" | "align-end-vertical" | "align-horizontal-distribute-center" | "align-horizontal-distribute-end" | "align-horizontal-distribute-start" | "align-horizontal-justify-center" | "align-horizontal-justify-end" | "align-horizontal-justify-start" | "align-horizontal-space-around" | "align-horizontal-space-between" | "align-start-horizontal" | "align-start-vertical" | "align-vertical-distribute-center" | "align-vertical-distribute-end" | "align-vertical-distribute-start" | "align-vertical-justify-center" | "align-vertical-justify-end" | "align-vertical-justify-start" | "align-vertical-space-around" | "align-vertical-space-between" | "ellipsis-vertical" | "funnel" | "funnel-plus" | "funnel-x" | "grid-2x2-check" | "grid-2x2-plus" | "grid-2x2-x" | "grip" | "grip-horizontal" | "grip-vertical" | "layout-panel-top" | "layout-template" | "list-filter-plus" | "panel-bottom" | "panels-left-bottom" | "panels-right-bottom" | "square-menu" | "square-split-horizontal" | "square-split-vertical" | "stretch-horizontal" | "stretch-vertical" | "text-cursor-input" | "forward" | "mail-check" | "mail-minus" | "mail-open" | "mail-plus" | "mail-question-mark" | "mail-search" | "mail-warning" | "mail-x" | "mailbox" | "mails" | "reply" | "reply-all" | "alarm-clock" | "alarm-clock-check" | "alarm-clock-minus" | "alarm-clock-off" | "alarm-clock-plus" | "bell-electric" | "bell-minus" | "bell-off" | "bell-plus" | "bell-ring" | "check-check" | "check-line" | "circle-alert" | "circle-check" | "circle-check-big" | "copy-check" | "copy-x" | "laptop-minimal-check" | "megaphone" | "megaphone-off" | "message-circle-warning" | "message-square-dot" | "message-square-warning" | "octagon-alert" | "octagon-x" | "square-check" | "square-check-big" | "square-x" | "badge-check" | "badge-minus" | "badge-percent" | "badge-plus" | "badge-x" | "book-heart" | "circle-percent" | "hand-heart" | "hash" | "heart" | "heart-off" | "message-circle" | "message-circle-dashed" | "message-circle-heart" | "message-circle-more" | "message-circle-off" | "message-circle-question-mark" | "message-circle-reply" | "message-square" | "message-square-dashed" | "message-square-heart" | "message-square-lock" | "message-square-more" | "message-square-off" | "message-square-plus" | "message-square-quote" | "message-square-reply" | "message-square-share" | "message-square-text" | "message-square-x" | "notebook-pen" | "notebook-text" | "notepad-text" | "notepad-text-dashed" | "podcast" | "scan" | "menu-line" | "search-line" | "search-alert" | "search-check" | "search-slash" | "search-x" | "square-activity" | "square-percent" | "star-half" | "star-off" | "sticky-note" | "store" | "shopping-bag" | "vote" | "book-text" | "book-x" | "case-sensitive" | "clipboard" | "clipboard-check" | "clipboard-clock" | "clipboard-list" | "clipboard-minus" | "clipboard-pen" | "clipboard-pen-line" | "clipboard-plus" | "clipboard-type" | "clipboard-x" | "copy-minus" | "copy-plus" | "copyright" | "eraser" | "heading-1" | "heading-2" | "heading-3" | "heading-4" | "heading-5" | "heading-6" | "link-2-off" | "list-check" | "list-checks" | "list-collapse" | "list-end" | "list-filter" | "list-minus" | "list-ordered" | "list-plus" | "list-restart" | "list-start" | "list-todo" | "list-x" | "logs" | "quote" | "remove-formatting" | "replace-all" | "scan-text" | "sigma" | "signature" | "square-pen" | "strikethrough" | "subscript" | "superscript" | "table-of-contents" | "text-align-center" | "text-align-end" | "text-align-justify" | "text-align-start" | "text-quote" | "text-search" | "unlink" | "unlink-2" | "whole-word" | "calendar-1" | "calendar-arrow-down" | "calendar-arrow-up" | "calendar-check" | "calendar-check-2" | "calendar-clock" | "calendar-cog" | "calendar-days" | "calendar-minus" | "calendar-off" | "calendar-plus" | "calendar-range" | "calendar-search" | "calendar-x" | "calendars" | "clock-alert" | "clock-arrow-down" | "clock-arrow-up" | "clock-check" | "clock-plus" | "hourglass" | "timeline" | "timer-off" | "timer-reset" | "watch" | "bolt" | "diamond-minus" | "diamond-plus" | "hammer" | "telescope")[];
|
|
@@ -5,9 +5,10 @@ var _excluded = ["tooltip"];
|
|
|
5
5
|
import { useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
|
|
6
6
|
import Button from "../button";
|
|
7
7
|
import Icon from "../icon";
|
|
8
|
-
import Tooltip from "../tooltip";
|
|
9
|
-
import StreamText from "../stream-text";
|
|
10
8
|
import { OdnOverlayVerticalScrollbar, useOverlayScrollbarReveal } from "../overlay-vertical-scrollbar";
|
|
9
|
+
import Popover from "../popover";
|
|
10
|
+
import StreamText from "../stream-text";
|
|
11
|
+
import Tooltip from "../tooltip";
|
|
11
12
|
import { CsvPreviewTable } from "./CsvPreviewTable";
|
|
12
13
|
import { isCsvTab, parseCsv } from "./parseCsv";
|
|
13
14
|
import "./style";
|
|
@@ -156,7 +157,49 @@ export function PreviewPanel(_ref2) {
|
|
|
156
157
|
"data-odn-preview-panel-header": true
|
|
157
158
|
}, /*#__PURE__*/React.createElement("div", {
|
|
158
159
|
"data-odn-preview-panel-tabs-rail": true
|
|
159
|
-
},
|
|
160
|
+
}, !isEmpty && /*#__PURE__*/React.createElement(Popover, {
|
|
161
|
+
trigger: "hover",
|
|
162
|
+
placement: "bottomLeft",
|
|
163
|
+
arrowed: false,
|
|
164
|
+
mouseEnterDelay: 0.1,
|
|
165
|
+
mouseLeaveDelay: 0.15,
|
|
166
|
+
zIndex: 1100,
|
|
167
|
+
popupStyle: {
|
|
168
|
+
padding: 4,
|
|
169
|
+
minWidth: 200,
|
|
170
|
+
maxWidth: 320
|
|
171
|
+
},
|
|
172
|
+
popup: /*#__PURE__*/React.createElement("div", {
|
|
173
|
+
"data-odn-preview-panel-tabs-menu": true,
|
|
174
|
+
role: "listbox",
|
|
175
|
+
"aria-label": "\u5168\u90E8\u4EA7\u7269"
|
|
176
|
+
}, tabs.map(function (tab) {
|
|
177
|
+
var isActive = tab.id === (activeTab === null || activeTab === void 0 ? void 0 : activeTab.id);
|
|
178
|
+
return /*#__PURE__*/React.createElement("button", {
|
|
179
|
+
key: tab.id,
|
|
180
|
+
type: "button",
|
|
181
|
+
role: "option",
|
|
182
|
+
"aria-selected": isActive,
|
|
183
|
+
"data-odn-preview-panel-tabs-menu-item": true,
|
|
184
|
+
"data-odn-preview-panel-tabs-menu-item-active": isActive || undefined,
|
|
185
|
+
onClick: function onClick() {
|
|
186
|
+
return onTabChange === null || onTabChange === void 0 ? void 0 : onTabChange(tab.id);
|
|
187
|
+
}
|
|
188
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
189
|
+
name: "file-text",
|
|
190
|
+
size: 14,
|
|
191
|
+
"data-odn-preview-panel-tabs-menu-item-icon": true
|
|
192
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
193
|
+
"data-odn-preview-panel-tabs-menu-item-name": true
|
|
194
|
+
}, tab.name));
|
|
195
|
+
}))
|
|
196
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
197
|
+
light: true,
|
|
198
|
+
size: "medium",
|
|
199
|
+
icon: "menu-line",
|
|
200
|
+
"data-odn-preview-panel-tabs-menu-trigger": true,
|
|
201
|
+
"aria-label": "\u5168\u90E8\u4EA7\u7269"
|
|
202
|
+
})), showTabScrollButtons && /*#__PURE__*/React.createElement(Button, {
|
|
160
203
|
light: true,
|
|
161
204
|
size: "medium",
|
|
162
205
|
icon: "chevron-left",
|
|
@@ -224,6 +267,8 @@ export function PreviewPanel(_ref2) {
|
|
|
224
267
|
"aria-label": "\u5411\u53F3\u67E5\u770B\u6807\u7B7E"
|
|
225
268
|
})), /*#__PURE__*/React.createElement("div", {
|
|
226
269
|
"data-odn-preview-panel-actions": true
|
|
270
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
271
|
+
"data-odn-preview-panel-action-group": true
|
|
227
272
|
}, /*#__PURE__*/React.createElement(ActionButton, {
|
|
228
273
|
tooltip: actionTooltips === null || actionTooltips === void 0 ? void 0 : actionTooltips.openInBrowser,
|
|
229
274
|
icon: "arrow-up-right",
|
|
@@ -231,7 +276,7 @@ export function PreviewPanel(_ref2) {
|
|
|
231
276
|
disabled: !activeTab,
|
|
232
277
|
"data-odn-preview-panel-open-browser": true,
|
|
233
278
|
"aria-label": "\u5728\u6D4F\u89C8\u5668\u6253\u5F00"
|
|
234
|
-
}), onDownload
|
|
279
|
+
}), onDownload ? /*#__PURE__*/React.createElement(ActionButton, {
|
|
235
280
|
tooltip: actionTooltips === null || actionTooltips === void 0 ? void 0 : actionTooltips.download,
|
|
236
281
|
icon: "download-2",
|
|
237
282
|
onClick: function onClick() {
|
|
@@ -240,10 +285,12 @@ export function PreviewPanel(_ref2) {
|
|
|
240
285
|
disabled: !activeTab,
|
|
241
286
|
"data-odn-preview-panel-download": true,
|
|
242
287
|
"aria-label": "\u4E0B\u8F7D"
|
|
243
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
288
|
+
}) : null), onFullscreenChange || onCloseAll ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
|
|
244
289
|
"data-odn-preview-panel-action-divider": true,
|
|
245
290
|
"aria-hidden": true
|
|
246
|
-
}),
|
|
291
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
292
|
+
"data-odn-preview-panel-action-group": true
|
|
293
|
+
}, onFullscreenChange ? /*#__PURE__*/React.createElement(ActionButton, {
|
|
247
294
|
tooltip: fullscreen ? actionTooltips === null || actionTooltips === void 0 ? void 0 : actionTooltips.exitFullscreen : actionTooltips === null || actionTooltips === void 0 ? void 0 : actionTooltips.fullscreen,
|
|
248
295
|
icon: fullscreen ? 'minimize' : 'maximize',
|
|
249
296
|
onClick: function onClick() {
|
|
@@ -252,13 +299,13 @@ export function PreviewPanel(_ref2) {
|
|
|
252
299
|
"data-odn-preview-panel-fullscreen": true,
|
|
253
300
|
"aria-label": fullscreen ? '取消全屏' : '全屏',
|
|
254
301
|
"aria-pressed": fullscreen
|
|
255
|
-
}), /*#__PURE__*/React.createElement(ActionButton, {
|
|
302
|
+
}) : null, onCloseAll ? /*#__PURE__*/React.createElement(ActionButton, {
|
|
256
303
|
tooltip: actionTooltips === null || actionTooltips === void 0 ? void 0 : actionTooltips.closeAll,
|
|
257
304
|
icon: "panel-right",
|
|
258
305
|
onClick: onCloseAll,
|
|
259
306
|
"data-odn-preview-panel-close-all": true,
|
|
260
307
|
"aria-label": "\u6536\u8D77\u9884\u89C8"
|
|
261
|
-
}))), isEmpty ? /*#__PURE__*/React.createElement("div", {
|
|
308
|
+
}) : null)) : null)), isEmpty ? /*#__PURE__*/React.createElement("div", {
|
|
262
309
|
"data-odn-preview-panel-empty-state": true,
|
|
263
310
|
role: "status"
|
|
264
311
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
@@ -16,12 +16,17 @@
|
|
|
16
16
|
min-width: 560px;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
/*
|
|
20
|
+
* fill:宽度交给外层 clip 帧(如 Drawer 内 width 0→N 过渡)。
|
|
21
|
+
* 若此处再从 0→100% 过渡,开合过程中右侧会空出一条底色边。
|
|
22
|
+
*/
|
|
23
|
+
[data-odn-preview-panel][data-odn-preview-panel-width-mode=fill] {
|
|
20
24
|
width: 100%;
|
|
21
25
|
height: 100%;
|
|
22
26
|
min-width: 0;
|
|
23
27
|
flex: 1;
|
|
24
28
|
min-height: 0;
|
|
29
|
+
transition: none;
|
|
25
30
|
}
|
|
26
31
|
|
|
27
32
|
[data-odn-preview-panel-header] {
|
|
@@ -34,6 +39,21 @@
|
|
|
34
39
|
box-sizing: border-box;
|
|
35
40
|
}
|
|
36
41
|
|
|
42
|
+
/*
|
|
43
|
+
* Header Icon 对齐导航栏:Lucide 24 画布在 16px 下 stroke 1.8(观感约 1.2px),色 black-11。
|
|
44
|
+
*/
|
|
45
|
+
[data-odn-preview-panel-header] [data-odn-button-icon],
|
|
46
|
+
[data-odn-preview-panel-header] [data-odn-preview-panel-tab-icon],
|
|
47
|
+
[data-odn-preview-panel-header] [data-odn-preview-panel-tab-close] [data-odn-icon] {
|
|
48
|
+
color: var(--odn-color-black-11);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
[data-odn-preview-panel-header] [data-odn-button-icon] *,
|
|
52
|
+
[data-odn-preview-panel-header] [data-odn-preview-panel-tab-icon] *,
|
|
53
|
+
[data-odn-preview-panel-header] [data-odn-preview-panel-tab-close] [data-odn-icon] * {
|
|
54
|
+
stroke-width: 1.8;
|
|
55
|
+
}
|
|
56
|
+
|
|
37
57
|
[data-odn-preview-panel-tabs-rail] {
|
|
38
58
|
flex: 1;
|
|
39
59
|
display: flex;
|
|
@@ -42,6 +62,59 @@
|
|
|
42
62
|
min-width: 0;
|
|
43
63
|
}
|
|
44
64
|
|
|
65
|
+
[data-odn-preview-panel-tabs-menu-trigger] {
|
|
66
|
+
flex-shrink: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
[data-odn-preview-panel-tabs-menu] {
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
gap: 2px;
|
|
73
|
+
max-height: 320px;
|
|
74
|
+
overflow-y: auto;
|
|
75
|
+
overflow-x: hidden;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[data-odn-preview-panel-tabs-menu-item] {
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
gap: 8px;
|
|
82
|
+
width: 100%;
|
|
83
|
+
min-height: 32px;
|
|
84
|
+
margin: 0;
|
|
85
|
+
padding: 6px 10px;
|
|
86
|
+
border: none;
|
|
87
|
+
border-radius: var(--odn-border-radius);
|
|
88
|
+
background: transparent;
|
|
89
|
+
color: var(--odn-color-black-12);
|
|
90
|
+
font-size: var(--odn-font-size-text-mn);
|
|
91
|
+
line-height: 20px;
|
|
92
|
+
text-align: left;
|
|
93
|
+
cursor: pointer;
|
|
94
|
+
box-sizing: border-box;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
[data-odn-preview-panel-tabs-menu-item]:hover {
|
|
98
|
+
background-color: var(--odn-color-black-1);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
[data-odn-preview-panel-tabs-menu-item][data-odn-preview-panel-tabs-menu-item-active] {
|
|
102
|
+
background-color: var(--odn-color-black-2);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
[data-odn-preview-panel-tabs-menu-item-icon] {
|
|
106
|
+
flex-shrink: 0;
|
|
107
|
+
color: var(--odn-color-black-10);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
[data-odn-preview-panel-tabs-menu-item-name] {
|
|
111
|
+
min-width: 0;
|
|
112
|
+
flex: 1;
|
|
113
|
+
overflow: hidden;
|
|
114
|
+
text-overflow: ellipsis;
|
|
115
|
+
white-space: nowrap;
|
|
116
|
+
}
|
|
117
|
+
|
|
45
118
|
[data-odn-preview-panel-tabs] {
|
|
46
119
|
flex: 1;
|
|
47
120
|
display: flex;
|
|
@@ -123,24 +196,29 @@
|
|
|
123
196
|
opacity: 1;
|
|
124
197
|
}
|
|
125
198
|
|
|
126
|
-
/* header
|
|
127
|
-
*
|
|
128
|
-
* 所有按钮改用 <Button light />,样式由 token 控制,这里只保证布局。
|
|
199
|
+
/* header 右侧操作区:文件操作 | 面板操作。
|
|
200
|
+
* divider 两侧各包一层 group,避免 light Button 跨 divider 共享 HoverFill。
|
|
129
201
|
*/
|
|
130
202
|
[data-odn-preview-panel-actions] {
|
|
131
203
|
display: flex;
|
|
132
204
|
align-items: center;
|
|
133
|
-
gap:
|
|
205
|
+
gap: 12px;
|
|
134
206
|
flex-shrink: 0;
|
|
135
207
|
margin-left: var(--odn-padding-xs);
|
|
136
208
|
}
|
|
137
209
|
|
|
210
|
+
[data-odn-preview-panel-action-group] {
|
|
211
|
+
display: flex;
|
|
212
|
+
align-items: center;
|
|
213
|
+
gap: 2px;
|
|
214
|
+
}
|
|
215
|
+
|
|
138
216
|
[data-odn-preview-panel-action-divider] {
|
|
139
217
|
display: inline-block;
|
|
140
218
|
width: 1px;
|
|
141
219
|
height: 16px;
|
|
142
220
|
background-color: var(--odn-color-black-4);
|
|
143
|
-
margin: 0
|
|
221
|
+
margin: 0;
|
|
144
222
|
flex-shrink: 0;
|
|
145
223
|
}
|
|
146
224
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 将 query 在纯文本中的命中包成 `<mark data-odn-search-mark>`(大小写不敏感)。
|
|
4
|
+
* 用于搜索跳转后的精准词高亮,避免整块消息铺底。
|
|
5
|
+
*/
|
|
6
|
+
export declare function highlightQueryText(text: string, query: string | undefined): React.ReactNode;
|
|
7
|
+
/** 递归处理 React children 中的字符串节点。 */
|
|
8
|
+
export declare function highlightQueryInNodes(children: React.ReactNode, query: string | undefined): React.ReactNode;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 将 query 在纯文本中的命中包成 `<mark data-odn-search-mark>`(大小写不敏感)。
|
|
5
|
+
* 用于搜索跳转后的精准词高亮,避免整块消息铺底。
|
|
6
|
+
*/
|
|
7
|
+
export function highlightQueryText(text, query) {
|
|
8
|
+
var q = query === null || query === void 0 ? void 0 : query.trim();
|
|
9
|
+
if (!q) return text;
|
|
10
|
+
var lower = text.toLowerCase();
|
|
11
|
+
var qLower = q.toLowerCase();
|
|
12
|
+
var nodes = [];
|
|
13
|
+
var start = 0;
|
|
14
|
+
var key = 0;
|
|
15
|
+
var idx = lower.indexOf(qLower, start);
|
|
16
|
+
while (idx !== -1) {
|
|
17
|
+
if (idx > start) nodes.push(text.slice(start, idx));
|
|
18
|
+
nodes.push( /*#__PURE__*/React.createElement("mark", {
|
|
19
|
+
key: "odn-hq-".concat(key++),
|
|
20
|
+
"data-odn-search-mark": ""
|
|
21
|
+
}, text.slice(idx, idx + q.length)));
|
|
22
|
+
start = idx + q.length;
|
|
23
|
+
idx = lower.indexOf(qLower, start);
|
|
24
|
+
}
|
|
25
|
+
if (start < text.length) nodes.push(text.slice(start));
|
|
26
|
+
return nodes.length ? nodes : text;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** 递归处理 React children 中的字符串节点。 */
|
|
30
|
+
export function highlightQueryInNodes(children, query) {
|
|
31
|
+
var q = query === null || query === void 0 ? void 0 : query.trim();
|
|
32
|
+
if (!q) return children;
|
|
33
|
+
return React.Children.map(children, function (child) {
|
|
34
|
+
if (typeof child === 'string') return highlightQueryText(child, q);
|
|
35
|
+
if (typeof child === 'number') return child;
|
|
36
|
+
if ( /*#__PURE__*/React.isValidElement(child)) {
|
|
37
|
+
if (child.props.children == null) return child;
|
|
38
|
+
return /*#__PURE__*/React.cloneElement(child, {
|
|
39
|
+
children: highlightQueryInNodes(child.props.children, q)
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
return child;
|
|
43
|
+
});
|
|
44
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import './style';
|
|
3
3
|
export interface TypographyOverrides {
|
|
4
4
|
}
|
|
@@ -10,8 +10,10 @@ export interface StreamTextProps {
|
|
|
10
10
|
speed?: number;
|
|
11
11
|
onComplete?: () => void;
|
|
12
12
|
typography?: TypographyOverrides;
|
|
13
|
+
/** 搜索跳转:在正文中精准高亮关键词(非整块铺底) */
|
|
14
|
+
highlightQuery?: string;
|
|
13
15
|
}
|
|
14
|
-
export declare function StreamText({ content, isStreaming, simulate, speed, onComplete, typography: t }: StreamTextProps):
|
|
16
|
+
export declare function StreamText({ content, isStreaming, simulate, speed, onComplete, typography: t, highlightQuery, }: StreamTextProps): React.JSX.Element;
|
|
15
17
|
export declare namespace StreamText {
|
|
16
18
|
var displayName: string;
|
|
17
19
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _typeof from "@babel/runtime/helpers/esm/typeof";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
4
|
-
import { useEffect,
|
|
4
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
5
5
|
import Markdown from 'react-markdown';
|
|
6
6
|
import remarkGfm from 'remark-gfm';
|
|
7
7
|
import CodeBlock from "../code-block";
|
|
8
|
+
import { highlightQueryInNodes } from "./highlight-query-text";
|
|
8
9
|
import "./style";
|
|
9
10
|
var FONT_SIZE = 14;
|
|
10
11
|
var LINE_HEIGHT = 24;
|
|
@@ -71,7 +72,8 @@ export function StreamText(_ref) {
|
|
|
71
72
|
_ref$speed = _ref.speed,
|
|
72
73
|
speed = _ref$speed === void 0 ? 18 : _ref$speed,
|
|
73
74
|
onComplete = _ref.onComplete,
|
|
74
|
-
t = _ref.typography
|
|
75
|
+
t = _ref.typography,
|
|
76
|
+
highlightQuery = _ref.highlightQuery;
|
|
75
77
|
var _useState = useState(simulate && isStreaming ? '' : content),
|
|
76
78
|
_useState2 = _slicedToArray(_useState, 2),
|
|
77
79
|
displayed = _useState2[0],
|
|
@@ -136,6 +138,9 @@ export function StreamText(_ref) {
|
|
|
136
138
|
var CJK = "\u4E00-\u9FFF\u3400-\u4DBF\uF900-\uFAFF";
|
|
137
139
|
var ALN = 'A-Za-z0-9';
|
|
138
140
|
var normalized = displayed.replace(new RegExp("([".concat(CJK, "]) +([").concat(ALN, "])"), 'g'), "$1\u2009$2").replace(new RegExp("([".concat(ALN, "]) +([").concat(CJK, "])"), 'g'), "$1\u2009$2").replace(new RegExp("([".concat(CJK, "])([").concat(ALN, "])"), 'g'), "$1\u2009$2").replace(new RegExp("([".concat(ALN, "])([").concat(CJK, "])"), 'g'), "$1\u2009$2");
|
|
141
|
+
var hq = function hq(children) {
|
|
142
|
+
return highlightQueryInNodes(children, highlightQuery);
|
|
143
|
+
};
|
|
139
144
|
return /*#__PURE__*/React.createElement("div", {
|
|
140
145
|
"data-odn-stream-text": true,
|
|
141
146
|
style: rootStyle
|
|
@@ -166,11 +171,11 @@ export function StreamText(_ref) {
|
|
|
166
171
|
if (className !== null && className !== void 0 && className.includes('language-')) return /*#__PURE__*/React.createElement("code", null, children);
|
|
167
172
|
return /*#__PURE__*/React.createElement("code", {
|
|
168
173
|
"data-odn-stream-text-inline-code": true
|
|
169
|
-
}, children);
|
|
174
|
+
}, hq(children));
|
|
170
175
|
},
|
|
171
176
|
em: function em(_ref4) {
|
|
172
177
|
var children = _ref4.children;
|
|
173
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, children);
|
|
178
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, hq(children));
|
|
174
179
|
},
|
|
175
180
|
del: function del(_ref5) {
|
|
176
181
|
var children = _ref5.children;
|
|
@@ -178,7 +183,7 @@ export function StreamText(_ref) {
|
|
|
178
183
|
style: {
|
|
179
184
|
textDecorationColor: 'var(--odn-color-black-6)'
|
|
180
185
|
}
|
|
181
|
-
}, children);
|
|
186
|
+
}, hq(children));
|
|
182
187
|
},
|
|
183
188
|
p: function p(_ref6) {
|
|
184
189
|
var children = _ref6.children;
|
|
@@ -187,7 +192,7 @@ export function StreamText(_ref) {
|
|
|
187
192
|
style: {
|
|
188
193
|
marginBottom: PARAGRAPH_GAP
|
|
189
194
|
}
|
|
190
|
-
}, children);
|
|
195
|
+
}, hq(children));
|
|
191
196
|
},
|
|
192
197
|
ul: function ul(_ref7) {
|
|
193
198
|
var children = _ref7.children;
|
|
@@ -223,14 +228,14 @@ export function StreamText(_ref) {
|
|
|
223
228
|
listStyleType: 'inherit',
|
|
224
229
|
marginBottom: LIST_ITEM_GAP
|
|
225
230
|
}
|
|
226
|
-
}, children);
|
|
231
|
+
}, hq(children));
|
|
227
232
|
},
|
|
228
233
|
h1: function h1(_ref10) {
|
|
229
234
|
var children = _ref10.children;
|
|
230
235
|
return /*#__PURE__*/React.createElement("h1", {
|
|
231
236
|
"data-odn-stream-text-h1": true,
|
|
232
237
|
style: headingStyle('h1')
|
|
233
|
-
}, children);
|
|
238
|
+
}, hq(children));
|
|
234
239
|
},
|
|
235
240
|
h2: function h2(_ref11) {
|
|
236
241
|
var children = _ref11.children;
|
|
@@ -242,21 +247,21 @@ export function StreamText(_ref) {
|
|
|
242
247
|
'data-odn-has-divider': ''
|
|
243
248
|
} : {}, {
|
|
244
249
|
style: style
|
|
245
|
-
}), children);
|
|
250
|
+
}), hq(children));
|
|
246
251
|
},
|
|
247
252
|
h3: function h3(_ref12) {
|
|
248
253
|
var children = _ref12.children;
|
|
249
254
|
return /*#__PURE__*/React.createElement("h3", {
|
|
250
255
|
"data-odn-stream-text-h3": true,
|
|
251
256
|
style: headingStyle('h3')
|
|
252
|
-
}, children);
|
|
257
|
+
}, hq(children));
|
|
253
258
|
},
|
|
254
259
|
h4: function h4(_ref13) {
|
|
255
260
|
var children = _ref13.children;
|
|
256
261
|
return /*#__PURE__*/React.createElement("h4", {
|
|
257
262
|
"data-odn-stream-text-h4": true,
|
|
258
263
|
style: headingStyle('h4')
|
|
259
|
-
}, children);
|
|
264
|
+
}, hq(children));
|
|
260
265
|
},
|
|
261
266
|
a: function a(_ref14) {
|
|
262
267
|
var href = _ref14.href,
|
|
@@ -269,7 +274,7 @@ export function StreamText(_ref) {
|
|
|
269
274
|
style: {
|
|
270
275
|
color: LINK_COLOR
|
|
271
276
|
}
|
|
272
|
-
}, children);
|
|
277
|
+
}, hq(children));
|
|
273
278
|
},
|
|
274
279
|
img: function img(_ref15) {
|
|
275
280
|
var src = _ref15.src,
|
|
@@ -297,7 +302,7 @@ export function StreamText(_ref) {
|
|
|
297
302
|
style: {
|
|
298
303
|
color: 'var(--st-highlight-color)'
|
|
299
304
|
}
|
|
300
|
-
}, children);
|
|
305
|
+
}, hq(children));
|
|
301
306
|
},
|
|
302
307
|
blockquote: function blockquote(_ref17) {
|
|
303
308
|
var children = _ref17.children;
|
|
@@ -315,7 +320,7 @@ export function StreamText(_ref) {
|
|
|
315
320
|
'--st-bq-line-color': BQ_BORDER_COLOR,
|
|
316
321
|
'--st-bq-line-trim': "".concat(lineTrim, "px")
|
|
317
322
|
}
|
|
318
|
-
}, children);
|
|
323
|
+
}, hq(children));
|
|
319
324
|
},
|
|
320
325
|
table: function table(_ref18) {
|
|
321
326
|
var children = _ref18.children;
|
|
@@ -339,7 +344,7 @@ export function StreamText(_ref) {
|
|
|
339
344
|
fontSize: TABLE_FONT_SIZE,
|
|
340
345
|
padding: "".concat(TABLE_CELL_PADDING_V, "px ").concat(TABLE_CELL_PADDING_H, "px")
|
|
341
346
|
}
|
|
342
|
-
}, children);
|
|
347
|
+
}, hq(children));
|
|
343
348
|
},
|
|
344
349
|
th: function th(_ref20) {
|
|
345
350
|
var children = _ref20.children;
|
|
@@ -351,7 +356,7 @@ export function StreamText(_ref) {
|
|
|
351
356
|
fontWeight: TABLE_HEADER_FONT_WEIGHT,
|
|
352
357
|
background: TABLE_HEADER_BG
|
|
353
358
|
}
|
|
354
|
-
}, children);
|
|
359
|
+
}, hq(children));
|
|
355
360
|
}
|
|
356
361
|
}
|
|
357
362
|
}, normalized));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
[data-odn-stream-text] {
|
|
2
3
|
max-width: 800px;
|
|
3
4
|
overflow: hidden;
|
|
@@ -103,4 +104,19 @@
|
|
|
103
104
|
|
|
104
105
|
[data-odn-stream-text-th] {
|
|
105
106
|
text-align: left;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
[data-odn-search-mark] {
|
|
110
|
+
/* 与 BrandLogo 同色向:#2694FD */
|
|
111
|
+
background: rgba(38, 148, 253, 0.28);
|
|
112
|
+
color: inherit;
|
|
113
|
+
padding: 0;
|
|
114
|
+
margin: 0;
|
|
115
|
+
border: 0;
|
|
116
|
+
border-radius: 0;
|
|
117
|
+
font: inherit;
|
|
118
|
+
letter-spacing: inherit;
|
|
119
|
+
word-spacing: inherit;
|
|
120
|
+
line-height: inherit;
|
|
121
|
+
vertical-align: baseline;
|
|
106
122
|
}
|