@pstdio/ui 0.44.0 → 0.45.0-nightly.20261020145025

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.
Files changed (63) hide show
  1. package/dist/{MermaidComponent-DhNTaUMt.js → MermaidComponent-CTWuGAqI.js} +2 -2
  2. package/dist/{MermaidComponent-DhNTaUMt.js.map → MermaidComponent-CTWuGAqI.js.map} +1 -1
  3. package/dist/alert-CO-uOKLm.js +409 -0
  4. package/dist/alert-CO-uOKLm.js.map +1 -0
  5. package/dist/chat-ui.d.ts +7 -5
  6. package/dist/chat-ui.js +1110 -1119
  7. package/dist/chat-ui.js.map +1 -1
  8. package/dist/{collection-view-grouping-BKIr4QAb.js → collection-view-grouping-BQMfKdQG.js} +2 -2
  9. package/dist/{collection-view-grouping-BKIr4QAb.js.map → collection-view-grouping-BQMfKdQG.js.map} +1 -1
  10. package/dist/{collection-view-search-D7HFymZW.js → collection-view-search-DS9U9WAl.js} +2 -2
  11. package/dist/{collection-view-search-D7HFymZW.js.map → collection-view-search-DS9U9WAl.js.map} +1 -1
  12. package/dist/collection-view.js +1 -1
  13. package/dist/data-table.d.ts +1 -1
  14. package/dist/data-table.js +4 -4
  15. package/dist/{diff-viewer-Cpiw-1ut.js → diff-viewer-ChEyTNpa.js} +2 -2
  16. package/dist/{diff-viewer-Cpiw-1ut.js.map → diff-viewer-ChEyTNpa.js.map} +1 -1
  17. package/dist/diff.js +2 -2
  18. package/dist/{display-sort-control-BuqijDAl.js → display-sort-control-BUMkmlIu.js} +3 -3
  19. package/dist/{display-sort-control-BuqijDAl.js.map → display-sort-control-BUMkmlIu.js.map} +1 -1
  20. package/dist/{edit-mode-data-table-BwNTRik5.js → edit-mode-data-table-MKEjfFUw.js} +4 -4
  21. package/dist/{edit-mode-data-table-BwNTRik5.js.map → edit-mode-data-table-MKEjfFUw.js.map} +1 -1
  22. package/dist/icon-options-DpzDAnlu.js +313 -0
  23. package/dist/icon-options-DpzDAnlu.js.map +1 -0
  24. package/dist/{index-DTjRTEez.d.ts → index-C0PaeiBy.d.ts} +8 -1
  25. package/dist/{index-Bq1BDCBk.d.ts → index-eV_0Gjzo.d.ts} +4 -2
  26. package/dist/index.d.ts +14 -2
  27. package/dist/index.js +807 -727
  28. package/dist/index.js.map +1 -1
  29. package/dist/kanban-renderer.d.ts +2 -2
  30. package/dist/kanban-renderer.js +596 -397
  31. package/dist/kanban-renderer.js.map +1 -1
  32. package/dist/{markdown-editor-DUBUE7M-.js → markdown-editor-BPGIS9ku.js} +996 -876
  33. package/dist/markdown-editor-BPGIS9ku.js.map +1 -0
  34. package/dist/param-editor-Bva0M7Ns.js +374 -0
  35. package/dist/param-editor-Bva0M7Ns.js.map +1 -0
  36. package/dist/{param-editor-field-B5z6200g.js → param-editor-field-BPBlweVg.js} +1183 -1161
  37. package/dist/param-editor-field-BPBlweVg.js.map +1 -0
  38. package/dist/param-editor.d.ts +57 -2
  39. package/dist/param-editor.js +3 -3
  40. package/dist/{resolve-icon-component-Ck6ZyRnc.js → resolve-icon-component-Dy0pOuj5.js} +2 -2
  41. package/dist/{resolve-icon-component-Ck6ZyRnc.js.map → resolve-icon-component-Dy0pOuj5.js.map} +1 -1
  42. package/dist/{rich-text-2c_ra5gK.js → rich-text-CH2psble.js} +569 -524
  43. package/dist/rich-text-CH2psble.js.map +1 -0
  44. package/dist/rich-text.d.ts +1 -1
  45. package/dist/rich-text.js +3 -3
  46. package/dist/terminal.js +1 -1
  47. package/dist/{theme-Chgjys_o.js → theme-BW5XGvK-.js} +230 -150
  48. package/dist/theme-BW5XGvK-.js.map +1 -0
  49. package/dist/theme.js +1 -1
  50. package/dist/{tree-list-B8Gtot1M.js → tree-list-aNC_UTGS.js} +396 -341
  51. package/dist/tree-list-aNC_UTGS.js.map +1 -0
  52. package/package.json +2 -2
  53. package/dist/alert-MQ47wy7f.js +0 -388
  54. package/dist/alert-MQ47wy7f.js.map +0 -1
  55. package/dist/icon-options-Tt6Wzhtv.js +0 -308
  56. package/dist/icon-options-Tt6Wzhtv.js.map +0 -1
  57. package/dist/markdown-editor-DUBUE7M-.js.map +0 -1
  58. package/dist/param-editor-DK1uCOh3.js +0 -225
  59. package/dist/param-editor-DK1uCOh3.js.map +0 -1
  60. package/dist/param-editor-field-B5z6200g.js.map +0 -1
  61. package/dist/rich-text-2c_ra5gK.js.map +0 -1
  62. package/dist/theme-Chgjys_o.js.map +0 -1
  63. package/dist/tree-list-B8Gtot1M.js.map +0 -1
@@ -0,0 +1,313 @@
1
+ import { chakra as e } from "@chakra-ui/react";
2
+ import { c as t } from "react/compiler-runtime";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { Archive as r, ArchiveRestore as i, Ban as a, Bell as o, BookOpen as ee, Bookmark as te, Bot as ne, Bug as re, Circle as ie, Code as s, Component as c, Cpu as l, Eye as u, Feather as d, FileText as f, Flag as p, Flame as m, Folder as h, GitBranch as g, GitCommitHorizontal as _, Hash as v, Heart as y, History as b, Inbox as x, Kanban as S, Layers as C, Lightbulb as w, Link as T, ListChecks as E, ListTree as D, MessageSquare as O, Pause as k, Pencil as A, Play as j, Puzzle as M, Rocket as N, Scale as P, Settings as ae, Shield as F, Sparkles as I, SquareKanban as L, Star as R, Tag as z, Target as B, Terminal as V, Ticket as H, Timer as U, Trash2 as W, UserCheck as G, UserRound as K, Users as q, Workflow as J, Wrench as oe, Zap as se } from "lucide-react";
5
+ //#endregion
6
+ //#region src/components/primitives/glyph-icon.tsx
7
+ var ce = new Map(Array.from("@font-face {\n font-family: \"prompt-studio-icons\";\n src: url(\"$fonts/prompt-studio-icons.eot?959122fb\");\n src:\n url(\"$fonts/prompt-studio-icons.eot?959122fb#iefix\") format(\"embedded-opentype\"),\n url(\"$fonts/prompt-studio-icons.woff2?959122fb\") format(\"woff2\"),\n url(\"$fonts/prompt-studio-icons.woff?959122fb\") format(\"woff\"),\n url(\"$fonts/prompt-studio-icons.ttf?959122fb\") format(\"truetype\"),\n url(\"$fonts/prompt-studio-icons.svg?959122fb#prompt-studio-icons\") format(\"svg\");\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n\n[class^=\"icon-\"]::before,\n[class*=\" icon-\"]::before {\n font-family: \"prompt-studio-icons\", sans-serif;\n font-style: normal;\n font-weight: normal;\n speak: never;\n display: inline-block;\n text-decoration: inherit;\n width: 1em;\n margin-right: 0.2em;\n text-align: center;\n font-variant: normal;\n text-transform: none;\n line-height: 1em;\n margin-left: 0.2em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.icon-cloud-add::before {\n content: \"\\e800\";\n}\n.icon-credit-usage-50::before {\n content: \"\\e801\";\n}\n.icon-history::before {\n content: \"\\e802\";\n}\n.icon-data-string::before {\n content: \"\\e803\";\n}\n.icon-data-object::before {\n content: \"\\e804\";\n}\n.icon-data-integer::before {\n content: \"\\e805\";\n}\n.icon-data-double::before {\n content: \"\\e806\";\n}\n.icon-add::before {\n content: \"\\e807\";\n}\n.icon-add-circle::before {\n content: \"\\e808\";\n}\n.icon-data-boolean::before {\n content: \"\\e809\";\n}\n.icon-add-square::before {\n content: \"\\e80a\";\n}\n.icon-data-array::before {\n content: \"\\e80b\";\n}\n.icon-status-backlog::before {\n content: \"\\e80c\";\n}\n.icon-metrics::before {\n content: \"\\e80d\";\n}\n.icon-pie-donut::before {\n content: \"\\e80e\";\n}\n.icon-area-plot::before {\n content: \"\\e80f\";\n}\n.icon-treemap::before {\n content: \"\\e810\";\n}\n.icon-align-bottom::before {\n content: \"\\e811\";\n}\n.icon-align-horizontally::before {\n content: \"\\e812\";\n}\n.icon-align-left::before {\n content: \"\\e813\";\n}\n.icon-align-right::before {\n content: \"\\e814\";\n}\n.icon-align-vertically::before {\n content: \"\\e815\";\n}\n.icon-radar-column-chart::before {\n content: \"\\e816\";\n}\n.icon-pie-full::before {\n content: \"\\e817\";\n}\n.icon-archive-1::before {\n content: \"\\e818\";\n}\n.icon-archive-2::before {\n content: \"\\e819\";\n}\n.icon-archive-add::before {\n content: \"\\e81a\";\n}\n.icon-ct::before {\n content: \"\\e81b\";\n}\n.icon-archive-minus::before {\n content: \"\\e81c\";\n}\n.icon-archive-slash::before {\n content: \"\\e81d\";\n}\n.icon-archive-tick::before {\n content: \"\\e81e\";\n}\n.icon-min::before {\n content: \"\\e81f\";\n}\n.icon-ctd::before {\n content: \"\\e820\";\n}\n.icon-std::before {\n content: \"\\e821\";\n}\n.icon-var::before {\n content: \"\\e822\";\n}\n.icon-max::before {\n content: \"\\e823\";\n}\n.icon-sum::before {\n content: \"\\e824\";\n}\n.icon-status-todo::before {\n content: \"\\e825\";\n}\n.icon-status-progress::before {\n content: \"\\e826\";\n}\n.icon-status-review::before {\n content: \"\\e827\";\n}\n.icon-status-done::before {\n content: \"\\e828\";\n}\n.icon-status-canceled::before {\n content: \"\\e829\";\n}\n.icon-level-low::before {\n content: \"\\e82a\";\n}\n.icon-arrow-down::before {\n content: \"\\e82b\";\n}\n.icon-arrow-down-1::before {\n content: \"\\e82c\";\n}\n.icon-level-mid::before {\n content: \"\\e82d\";\n}\n.icon-arrow-left::before {\n content: \"\\e82e\";\n}\n.icon-level-high::before {\n content: \"\\e82f\";\n}\n.icon-arrow-left-2::before {\n content: \"\\e830\";\n}\n.icon-level-xhigh::before {\n content: \"\\e831\";\n}\n.icon-arrow-right::before {\n content: \"\\e832\";\n}\n.icon-arrow-right-1::before {\n content: \"\\e833\";\n}\n.icon-arrow-right-3::before {\n content: \"\\e835\";\n}\n.icon-arrow-right-4::before {\n content: \"\\e836\";\n}\n.icon-arrow-square-down::before {\n content: \"\\e838\";\n}\n.icon-arrow-square-left::before {\n content: \"\\e839\";\n}\n.icon-arrow-square-up::before {\n content: \"\\e83a\";\n}\n.icon-arrow-up-2::before {\n content: \"\\e83f\";\n}\n.icon-arrow-up-3::before {\n content: \"\\e840\";\n}\n.icon-book::before {\n content: \"\\e868\";\n}\n.icon-book-1::before {\n content: \"\\e869\";\n}\n.icon-box::before {\n content: \"\\e86e\";\n}\n.icon-pointing-arrow::before {\n content: \"\\e87d\";\n}\n.icon-data-structure::before {\n content: \"\\e87e\";\n}\n.icon-brush-4::before {\n content: \"\\e87f\";\n}\n.icon-folder::before {\n content: \"\\e880\";\n}\n.icon-import-2::before {\n content: \"\\e881\";\n}\n.icon-refresh::before {\n content: \"\\e882\";\n}\n.icon-message-text-1::before {\n content: \"\\e883\";\n}\n.icon-messages-2::before {\n content: \"\\e884\";\n}\n.icon-global::before {\n content: \"\\e885\";\n}\n.icon-briefcase::before {\n content: \"\\e886\";\n}\n.icon-row-vertical::before {\n content: \"\\e887\";\n}\n.icon-format-square::before {\n content: \"\\e888\";\n}\n.icon-document-copy::before {\n content: \"\\e889\";\n}\n.icon-document-forward::before {\n content: \"\\e88a\";\n}\n.icon-tick-circle-1::before {\n content: \"\\e88b\";\n}\n.icon-data-timestamp::before {\n content: \"\\e88c\";\n}\n.icon-more-2::before {\n content: \"\\e88d\";\n}\n.icon-notification::before {\n content: \"\\e88e\";\n}\n.icon-search-normal-1::before {\n content: \"\\e890\";\n}\n.icon-home-1::before {\n content: \"\\e891\";\n}\n.icon-brush-1::before {\n content: \"\\e892\";\n}\n.icon-paperclip-2::before {\n content: \"\\e893\";\n}\n.icon-grid-4::before {\n content: \"\\e894\";\n}\n.icon-mouse-circle::before {\n content: \"\\e895\";\n}\n.icon-message-question::before {\n content: \"\\e896\";\n}\n.icon-saving::before {\n content: \"\\e898\";\n}\n.icon-chevron-double::before {\n content: \"\\e899\";\n}\n.icon-close::before {\n content: \"\\e89a\";\n}\n.icon-more-info::before {\n content: \"\\e89b\";\n}\n.icon-arrow-up::before {\n content: \"\\e89c\";\n}\n.icon-reorder::before {\n content: \"\\e89d\";\n}\n.icon-refresh-1::before {\n content: \"\\e89e\";\n}\n.icon-text-variable::before {\n content: \"\\e89f\";\n}\n.icon-header-horizontal::before {\n content: \"\\e8a0\";\n}\n.icon-edit-1::before {\n content: \"\\e8a1\";\n}\n.icon-credit-usage-0::before {\n content: \"\\e8a2\";\n}\n.icon-credit-usage-25::before {\n content: \"\\e8a3\";\n}\n.icon-credit-usage-75::before {\n content: \"\\e8a4\";\n}\n.icon-card::before {\n content: \"\\e8a5\";\n}\n.icon-credit-usage-100::before {\n content: \"\\e8a6\";\n}\n.icon-coding-language::before {\n content: \"\\e8ab\";\n}\n.icon-table::before {\n content: \"\\e8ad\";\n}\n.icon-check::before {\n content: \"\\e8ae\";\n}\n.icon-logo-google::before {\n content: \"\\e8af\";\n}\n.icon-data-date::before {\n content: \"\\e8b0\";\n}\n.icon-llms::before {\n content: \"\\e8b1\";\n}\n.icon-logo-openai::before {\n content: \"\\e8b2\";\n}\n.icon-logo-anthropic::before {\n content: \"\\e8b3\";\n}\n.icon-logo-meta::before {\n content: \"\\e8b4\";\n}\n.icon-data-variant::before {\n content: \"\\e8b5\";\n}\n.icon-chart-1::before {\n content: \"\\e8b6\";\n}\n.icon-schema::before {\n content: \"\\e8b7\";\n}\n.icon-ascending::before {\n content: \"\\e8b8\";\n}\n.icon-bar-chart-100stacked::before {\n content: \"\\e8ba\";\n}\n.icon-results::before {\n content: \"\\e8bc\";\n}\n.icon-bar-chart::before {\n content: \"\\e8be\";\n}\n.icon-descending::before {\n content: \"\\e8bf\";\n}\n.icon-bar-chart-vertical::before {\n content: \"\\e8c0\";\n}\n.icon-step-before-points::before {\n content: \"\\e8c4\";\n}\n.icon-step-after-points::before {\n content: \"\\e8c6\";\n}\n.icon-line-rounded::before {\n content: \"\\e8c9\";\n}\n.icon-line-sharp::before {\n content: \"\\e8cb\";\n}\n.icon-bar-chart-simple::before {\n content: \"\\e8cc\";\n}\n.icon-pie-chart::before {\n content: \"\\e8cd\";\n}\n.icon-bar-chart-stacked::before {\n content: \"\\e8ce\";\n}\n.icon-map::before {\n content: \"\\e8cf\";\n}\n.icon-radar-bar-chart::before {\n content: \"\\e8d0\";\n}\n.icon-radar-chart::before {\n content: \"\\e8d1\";\n}\n.icon-metric::before {\n content: \"\\e8d2\";\n}\n.icon-area-plot-1::before {\n content: \"\\e8d3\";\n}\n.icon-avg::before {\n content: \"\\e8d4\";\n}\n.icon-area-plot-stacked100::before {\n content: \"\\e8d5\";\n}\n.icon-scatter-bubbles::before {\n content: \"\\e8d6\";\n}\n.icon-code::before {\n content: \"\\e8d7\";\n}\n.icon-code-1::before {\n content: \"\\e8d8\";\n}\n.icon-code-circle::before {\n content: \"\\e8d9\";\n}\n.icon-scatter-plot::before {\n content: \"\\e8db\";\n}\n.icon-scatter-dots::before {\n content: \"\\e8dc\";\n}\n.icon-med::before {\n content: \"\\e8dd\";\n}\n.icon-command-square::before {\n content: \"\\e8e1\";\n}\n.icon-component::before {\n content: \"\\e8e2\";\n}\n.icon-copy::before {\n content: \"\\e8e9\";\n}\n.icon-danger::before {\n content: \"\\e8f5\";\n}\n.icon-visualization::before {\n content: \"\\e8fc\";\n}\n.icon-document-1::before {\n content: \"\\e911\";\n}\n.icon-document-code::before {\n content: \"\\e913\";\n}\n.icon-document-download::before {\n content: \"\\e916\";\n}\n.icon-document-text-1::before {\n content: \"\\e91f\";\n}\n.icon-document-upload::before {\n content: \"\\e920\";\n}\n.icon-edit::before {\n content: \"\\e927\";\n}\n.icon-edit-2::before {\n content: \"\\e928\";\n}\n.icon-eraser-1::before {\n content: \"\\e939\";\n}\n.icon-export-1::before {\n content: \"\\e93b\";\n}\n.icon-export-3::before {\n content: \"\\e93d\";\n}\n.icon-eye::before {\n content: \"\\e93f\";\n}\n.icon-eye-slash::before {\n content: \"\\e940\";\n}\n.icon-flash-1::before {\n content: \"\\e950\";\n}\n.icon-folder-2::before {\n content: \"\\e955\";\n}\n.icon-glass::before {\n content: \"\\e97c\";\n}\n.icon-home-2::before {\n content: \"\\e9aa\";\n}\n.icon-import-1::before {\n content: \"\\e9b5\";\n}\n.icon-info-circle::before {\n content: \"\\e9b7\";\n}\n.icon-key::before {\n content: \"\\e9bc\";\n}\n.icon-data::before {\n content: \"\\e9c7\";\n}\n.icon-link-2::before {\n content: \"\\e9d1\";\n}\n.icon-location::before {\n content: \"\\e9d5\";\n}\n.icon-location-slash::before {\n content: \"\\e9d9\";\n}\n.icon-login-1::before {\n content: \"\\e9e0\";\n}\n.icon-logout-1::before {\n content: \"\\e9e2\";\n}\n.icon-magicpen::before {\n content: \"\\e9e4\";\n}\n.icon-maximize-2::before {\n content: \"\\e9f0\";\n}\n.icon-maximize-4::before {\n content: \"\\e9f2\";\n}\n.icon-maximize-21::before {\n content: \"\\e9f3\";\n}\n.icon-menu-1::before {\n content: \"\\e9f8\";\n}\n.icon-message::before {\n content: \"\\e9fa\";\n}\n.icon-messages::before {\n content: \"\\ea06\";\n}\n.icon-microphone-2::before {\n content: \"\\ea11\";\n}\n.icon-minus-cirlce::before {\n content: \"\\ea18\";\n}\n.icon-moon::before {\n content: \"\\ea2e\";\n}\n.icon-more::before {\n content: \"\\ea2f\";\n}\n.icon-note::before {\n content: \"\\ea44\";\n}\n.icon-paperclip::before {\n content: \"\\ea56\";\n}\n.icon-play::before {\n content: \"\\ea6a\";\n}\n.icon-presention-chart::before {\n content: \"\\ea6f\";\n}\n.icon-redo::before {\n content: \"\\ea9c\";\n}\n.icon-rotate-left::before {\n content: \"\\eaa8\";\n}\n.icon-rotate-right::before {\n content: \"\\eaaa\";\n}\n.icon-search-zoom-in-1::before {\n content: \"\\eac8\";\n}\n.icon-search-zoom-out::before {\n content: \"\\eac9\";\n}\n.icon-send-1::before {\n content: \"\\ead1\";\n}\n.icon-setting-2::before {\n content: \"\\ead6\";\n}\n.icon-setting-4::before {\n content: \"\\ead8\";\n}\n.icon-setting-5::before {\n content: \"\\ead9\";\n}\n.icon-shuffle::before {\n content: \"\\eae9\";\n}\n.icon-sidebar-bottom::before {\n content: \"\\eaea\";\n}\n.icon-sidebar-left::before {\n content: \"\\eaeb\";\n}\n.icon-sidebar-right::before {\n content: \"\\eaec\";\n}\n.icon-sidebar-top::before {\n content: \"\\eaed\";\n}\n.icon-slash::before {\n content: \"\\eaf3\";\n}\n.icon-smallcaps::before {\n content: \"\\eaf9\";\n}\n.icon-sms::before {\n content: \"\\eafd\";\n}\n.icon-star::before {\n content: \"\\eb07\";\n}\n.icon-stop::before {\n content: \"\\eb0e\";\n}\n.icon-sun-1::before {\n content: \"\\eb15\";\n}\n.icon-tag-cross::before {\n content: \"\\eb19\";\n}\n.icon-task::before {\n content: \"\\eb1c\";\n}\n.icon-task-square::before {\n content: \"\\eb1d\";\n}\n.icon-teacher::before {\n content: \"\\eb1e\";\n}\n.icon-text::before {\n content: \"\\eb1f\";\n}\n.icon-textalign-center::before {\n content: \"\\eb20\";\n}\n.icon-textalign-justifycenter::before {\n content: \"\\eb21\";\n}\n.icon-textalign-left::before {\n content: \"\\eb24\";\n}\n.icon-textalign-right::before {\n content: \"\\eb25\";\n}\n.icon-text-block::before {\n content: \"\\eb26\";\n}\n.icon-text-bold::before {\n content: \"\\eb27\";\n}\n.icon-text-italic::before {\n content: \"\\eb28\";\n}\n.icon-text-underline::before {\n content: \"\\eb29\";\n}\n.icon-tick-circle::before {\n content: \"\\eb2a\";\n}\n.icon-timer-1::before {\n content: \"\\eb32\";\n}\n.icon-trash::before {\n content: \"\\eb3c\";\n}\n.icon-undo::before {\n content: \"\\eb47\";\n}\n.icon-user::before {\n content: \"\\eb4a\";\n}\n.icon-video-vertical::before {\n content: \"\\eb61\";\n}\n.icon-wallet-2::before {\n content: \"\\eb6d\";\n}\n.icon-wifi::before {\n content: \"\\eb7b\";\n}\n.icon-stockholm::before {\n content: \"\\eb81\";\n}\n.icon-perplexity-ai::before {\n content: \"\\eb82\";\n}\n".matchAll(/\.icon-([\w-]+)::before\s*\{\s*content:\s*"(\\[0-9a-f]+)"/g), ([, e, t]) => [e, t])), le = 89.5, ue = "0.209em", Y = e("span"), de = (e, t) => ({
8
+ position: "relative",
9
+ display: "inline-block",
10
+ verticalAlign: "middle",
11
+ flexShrink: 0,
12
+ boxSize: "1em",
13
+ lineHeight: 1,
14
+ containerType: "size",
15
+ "&::before": {
16
+ content: e,
17
+ fontSize: t,
18
+ position: "absolute",
19
+ inset: 0,
20
+ fontFamily: "\"prompt-studio-icons\", sans-serif",
21
+ fontStyle: "normal",
22
+ fontWeight: "normal",
23
+ lineHeight: "100cqmin",
24
+ textAlign: "center",
25
+ transform: `translateY(${ue})`
26
+ }
27
+ }), X = (e, r = {}) => {
28
+ let i = de(`"${ce.get(e) ?? ""}"`, `${(le * (r.scale ?? 1)).toFixed(1)}cqmin`), a = (e) => {
29
+ let r = t(2), a;
30
+ return r[0] === e ? a = r[1] : (a = /* @__PURE__ */ n(Y, {
31
+ "aria-hidden": !0,
32
+ ...e,
33
+ css: i
34
+ }), r[0] = e, r[1] = a), a;
35
+ };
36
+ return a.displayName = `GlyphIcon(${e})`, a;
37
+ }, fe = [
38
+ "gray",
39
+ "red",
40
+ "orange",
41
+ "yellow",
42
+ "green",
43
+ "teal",
44
+ "blue",
45
+ "cyan",
46
+ "purple",
47
+ "pink"
48
+ ], Z = (e, t) => ({
49
+ value: e,
50
+ label: t,
51
+ icon: X(e)
52
+ }), Q = (e, t) => ({
53
+ value: e,
54
+ label: t,
55
+ icon: X(e, { scale: .82 })
56
+ }), $ = [
57
+ {
58
+ value: null,
59
+ label: "none",
60
+ icon: a
61
+ },
62
+ {
63
+ value: "flag",
64
+ label: "flag",
65
+ icon: p
66
+ },
67
+ {
68
+ value: "bug",
69
+ label: "bug",
70
+ icon: re
71
+ },
72
+ {
73
+ value: "sparkles",
74
+ label: "sparkles",
75
+ icon: I
76
+ },
77
+ {
78
+ value: "book-open",
79
+ label: "book open",
80
+ icon: ee
81
+ },
82
+ {
83
+ value: "wrench",
84
+ label: "wrench",
85
+ icon: oe
86
+ },
87
+ {
88
+ value: "zap",
89
+ label: "zap",
90
+ icon: se
91
+ },
92
+ {
93
+ value: "feather",
94
+ label: "feather",
95
+ icon: d
96
+ },
97
+ {
98
+ value: "scale",
99
+ label: "scale",
100
+ icon: P
101
+ },
102
+ {
103
+ value: "layers",
104
+ label: "layers",
105
+ icon: C
106
+ },
107
+ {
108
+ value: "star",
109
+ label: "star",
110
+ icon: R
111
+ },
112
+ {
113
+ value: "flame",
114
+ label: "flame",
115
+ icon: m
116
+ },
117
+ {
118
+ value: "lightbulb",
119
+ label: "lightbulb",
120
+ icon: w
121
+ },
122
+ {
123
+ value: "shield",
124
+ label: "shield",
125
+ icon: F
126
+ },
127
+ {
128
+ value: "eye",
129
+ label: "eye",
130
+ icon: u
131
+ },
132
+ {
133
+ value: "clock",
134
+ label: "clock",
135
+ icon: U
136
+ },
137
+ {
138
+ value: "tag",
139
+ label: "tag",
140
+ icon: z
141
+ },
142
+ {
143
+ value: "code",
144
+ label: "code",
145
+ icon: s
146
+ },
147
+ {
148
+ value: "rocket",
149
+ label: "rocket",
150
+ icon: N
151
+ },
152
+ {
153
+ value: "heart",
154
+ label: "heart",
155
+ icon: y
156
+ },
157
+ {
158
+ value: "bookmark",
159
+ label: "bookmark",
160
+ icon: te
161
+ },
162
+ {
163
+ value: "target",
164
+ label: "target",
165
+ icon: B
166
+ },
167
+ {
168
+ value: "bell",
169
+ label: "bell",
170
+ icon: o
171
+ },
172
+ {
173
+ value: "hash",
174
+ label: "hash",
175
+ icon: v
176
+ },
177
+ Z("status-backlog", "status backlog"),
178
+ Z("status-todo", "status todo"),
179
+ Z("status-progress", "status in progress"),
180
+ Z("status-review", "status in review"),
181
+ Z("status-done", "status done"),
182
+ Z("status-canceled", "status canceled"),
183
+ {
184
+ value: "ticket",
185
+ label: "ticket",
186
+ icon: H
187
+ },
188
+ {
189
+ value: "git-branch",
190
+ label: "git branch",
191
+ icon: g
192
+ },
193
+ Q("level-low", "level low"),
194
+ Q("level-mid", "level medium"),
195
+ Q("level-high", "level high"),
196
+ Q("level-xhigh", "level very high"),
197
+ {
198
+ value: "bot",
199
+ label: "bot",
200
+ icon: ne
201
+ },
202
+ {
203
+ value: "puzzle",
204
+ label: "puzzle",
205
+ icon: M
206
+ },
207
+ {
208
+ value: "workflow",
209
+ label: "workflow",
210
+ icon: J
211
+ },
212
+ {
213
+ value: "kanban",
214
+ label: "kanban",
215
+ icon: S
216
+ },
217
+ {
218
+ value: "message-square",
219
+ label: "message square",
220
+ icon: O
221
+ },
222
+ {
223
+ value: "folder",
224
+ label: "folder",
225
+ icon: h
226
+ },
227
+ {
228
+ value: "file-text",
229
+ label: "file text",
230
+ icon: f
231
+ },
232
+ {
233
+ value: "history",
234
+ label: "history",
235
+ icon: b
236
+ },
237
+ {
238
+ value: "play",
239
+ label: "play",
240
+ icon: j
241
+ },
242
+ {
243
+ value: "terminal",
244
+ label: "terminal",
245
+ icon: V
246
+ },
247
+ {
248
+ value: "cpu",
249
+ label: "CPU",
250
+ icon: l
251
+ },
252
+ {
253
+ value: "users",
254
+ label: "users",
255
+ icon: q
256
+ },
257
+ {
258
+ value: "component",
259
+ label: "ticket",
260
+ icon: c
261
+ },
262
+ {
263
+ value: "square-kanban",
264
+ label: "board",
265
+ icon: L
266
+ },
267
+ {
268
+ value: "git-commit-horizontal",
269
+ label: "workspace",
270
+ icon: _
271
+ },
272
+ {
273
+ value: "inbox",
274
+ label: "notifications",
275
+ icon: x
276
+ },
277
+ {
278
+ value: "list-checks",
279
+ label: "checklist",
280
+ icon: E
281
+ },
282
+ {
283
+ value: "archive",
284
+ label: "archive",
285
+ icon: r
286
+ },
287
+ {
288
+ value: "link",
289
+ label: "link",
290
+ icon: T
291
+ },
292
+ {
293
+ value: "settings",
294
+ label: "settings",
295
+ icon: ae
296
+ }
297
+ ], pe = {
298
+ pause: k,
299
+ pencil: A,
300
+ trash: W,
301
+ "trash-2": W,
302
+ "list-tree": D,
303
+ "archive-restore": i,
304
+ "user-round": K,
305
+ "user-check": G
306
+ }, me = (e, t = $) => {
307
+ let n = (e ?? "circle").replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([a-zA-Z])([0-9])/g, "$1-$2").toLowerCase();
308
+ return t.find((e) => e.value === n)?.icon ?? pe[n] ?? ie;
309
+ };
310
+ //#endregion
311
+ export { X as i, fe as n, $ as r, me as t };
312
+
313
+ //# sourceMappingURL=icon-options-DpzDAnlu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-options-DpzDAnlu.js","names":["chakra","ComponentType","HTMLAttributes","generatedGlyphStyles","GLYPH_RULE","glyphContent","Map","Array","from","matchAll","name","content","GLYPH_OPTICAL_SIZE","GLYPH_BASELINE_OFFSET","GlyphRoot","glyphStyles","fontSize","position","display","verticalAlign","flexShrink","boxSize","lineHeight","containerType","inset","fontFamily","fontStyle","fontWeight","textAlign","transform","GlyphIconProps","Omit","HTMLSpanElement","GlyphIconOptions","scale","createGlyphIcon","glyph","options","styles","get","toFixed","GlyphIcon","props","$","_c","t0","displayName","generatedGlyphStyles","_c","Archive","ArchiveRestore","Ban","Bell","Bookmark","BookOpen","Bot","Bug","Circle","Code","Component","Cpu","Eye","Feather","FileText","Flag","Flame","Folder","GitBranch","GitCommitHorizontal","Hash","Heart","History","Inbox","Kanban","Layers","Lightbulb","Link","ListChecks","ListTree","MessageSquare","Pause","Pencil","Play","Puzzle","Rocket","Scale","Settings","Shield","Sparkles","SquareKanban","Star","Tag","Target","Terminal","Ticket","Timer","Trash2","UserCheck","UserRound","Users","Workflow","Wrench","Zap","ComponentType","createGlyphIcon","IconColorPickerIconOption","value","label","icon","optionColors","const","glyph","name","levelGlyph","scale","optionIcons","actionIcons","Record","pause","pencil","trash","getIconComponent","iconOptions","normalizedName","replace","toLowerCase","entry","find","Tag","Code","Link","Code$1","Link$1","Tag$1","glyphContent","name","content","GLYPH_OPTICAL_SIZE","GLYPH_BASELINE_OFFSET","GlyphRoot","chakra","glyphStyles","createGlyphIcon","styles","glyph","options","GlyphIcon","$","c","t0","props","optionColors","levelGlyph","optionIcons","Ban","Flag","Bug","Sparkles","BookOpen","Wrench","Zap","Feather","Scale","Layers","Star","Flame","Lightbulb","Shield","Eye","Timer","Rocket","Heart","Bookmark","Target","Bell","Hash","Ticket","GitBranch","Bot","Puzzle","Workflow","Kanban","MessageSquare","Folder","FileText","History","Play","Terminal","Cpu","Users","Component","SquareKanban","GitCommitHorizontal","Inbox","ListChecks","Archive","Settings","actionIcons","Pause","Pencil","Trash2","ListTree","ArchiveRestore","UserRound","UserCheck","getIconComponent","normalizedName","iconOptions","icon","Circle"],"sources":["../src/components/primitives/glyph-icon.tsx","../src/components/primitives/icon-options.tsx"],"sourcesContent":["import { chakra } from \"@chakra-ui/react\";\nimport type { ComponentType, HTMLAttributes } from \"react\";\n// Package-relative on purpose: every host that resolves `@pstdio/ui` from source\n// would otherwise need its own `$fonts` alias.\nimport generatedGlyphStyles from \"../../../public/font/css/prompt-studio-icons.css?raw\";\nimport \"./glyph-icon.css\";\n\n// The generated stylesheet is the source of truth for glyph codepoints; reading\n// them here keeps `@pstdio/ui` from bundling its legacy @font-face formats.\nconst GLYPH_RULE = /\\.icon-([\\w-]+)::before\\s*\\{\\s*content:\\s*\"(\\\\[0-9a-f]+)\"/g;\n\nconst glyphContent = new Map(\n Array.from(generatedGlyphStyles.matchAll(GLYPH_RULE), ([, name, content]) => [name, content]),\n);\n\n// Glyphs are painted through a ::before pseudo element sized by font-size, so the\n// wrapper turns its own box into a size container. That lets the glyph track\n// whatever box the caller gives it (`boxSize` on a Chakra `Icon`, say) exactly\n// like a lucide SVG would.\n//\n// Everything is applied through the `css` prop rather than a `chakra()` base:\n// factory base styles sit in a lower cascade layer than the `chakra-icon` recipe\n// and the global reset, which silently blockified the wrapper and, with it, threw\n// away the `vertical-align` that keeps an icon on the text's centre line.\n//\n// The ::before is taken out of flow and stretched over the wrapper so its geometry\n// never depends on the wrapper's own layout mode. Within that box the font builder\n// normalises every glyph's ink to a 1024-unit box sitting 47 units above the\n// baseline of a 1000-unit em (ascent 850 / descent -150), so the ink renders larger\n// than the em and half its overhang above centre: 89.5% of the container lands it\n// on lucide's 22-of-24 optical size, and 0.209em — measured against the glyph's own\n// font size, so it follows any optical scale — drops it onto the centre line.\nconst GLYPH_OPTICAL_SIZE = 89.5;\nconst GLYPH_BASELINE_OFFSET = \"0.209em\";\n\nconst GlyphRoot = chakra(\"span\");\n\nconst glyphStyles = (content: string, fontSize: string) => ({\n position: \"relative\",\n display: \"inline-block\",\n verticalAlign: \"middle\",\n flexShrink: 0,\n boxSize: \"1em\",\n lineHeight: 1,\n containerType: \"size\",\n \"&::before\": {\n content,\n fontSize,\n position: \"absolute\",\n inset: 0,\n fontFamily: '\"prompt-studio-icons\", sans-serif',\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n lineHeight: \"100cqmin\",\n textAlign: \"center\",\n transform: `translateY(${GLYPH_BASELINE_OFFSET})`,\n },\n});\n\ntype GlyphIconProps = Omit<HTMLAttributes<HTMLSpanElement>, \"children\">;\n\nexport interface GlyphIconOptions {\n /**\n * Optical size relative to a round glyph. Every glyph is normalised to the same\n * ink box, so square marks such as the level bars need trimming to carry the\n * same visual weight as the status rings.\n */\n scale?: number;\n}\n\n/**\n * Builds a component for one `prompt-studio-icons` glyph so lucide icons and\n * font glyphs share a single component type in the icon registry.\n */\nexport const createGlyphIcon = (glyph: string, options: GlyphIconOptions = {}): ComponentType<GlyphIconProps> => {\n const styles = glyphStyles(\n `\"${glyphContent.get(glyph) ?? \"\"}\"`,\n `${(GLYPH_OPTICAL_SIZE * (options.scale ?? 1)).toFixed(1)}cqmin`,\n );\n\n const GlyphIcon = (props: GlyphIconProps) => <GlyphRoot aria-hidden {...props} css={styles} />;\n\n GlyphIcon.displayName = `GlyphIcon(${glyph})`;\n return GlyphIcon;\n};\n","import {\n Archive,\n ArchiveRestore,\n Ban,\n Bell,\n Bookmark,\n BookOpen,\n Bot,\n Bug,\n Circle,\n Code,\n Component,\n Cpu,\n Eye,\n Feather,\n FileText,\n Flag,\n Flame,\n Folder,\n GitBranch,\n GitCommitHorizontal,\n Hash,\n Heart,\n History,\n Inbox,\n Kanban,\n Layers,\n Lightbulb,\n Link,\n ListChecks,\n ListTree,\n MessageSquare,\n Pause,\n Pencil,\n Play,\n Puzzle,\n Rocket,\n Scale,\n Settings,\n Shield,\n Sparkles,\n SquareKanban,\n Star,\n Tag,\n Target,\n Terminal,\n Ticket,\n Timer,\n Trash2,\n UserCheck,\n UserRound,\n Users,\n Workflow,\n Wrench,\n Zap,\n} from \"lucide-react\";\nimport type { ComponentType } from \"react\";\nimport { createGlyphIcon } from \"./glyph-icon\";\n\nexport interface IconColorPickerIconOption {\n value: string | null;\n label: string;\n icon: ComponentType;\n}\n\nexport const optionColors = [\n \"gray\",\n \"red\",\n \"orange\",\n \"yellow\",\n \"green\",\n \"teal\",\n \"blue\",\n \"cyan\",\n \"purple\",\n \"pink\",\n] as const;\n\nconst glyph = (name: string, label: string) => ({ value: name, label, icon: createGlyphIcon(name) });\n\n// Level bars fill their ink box as a solid square, so they read heavier than the\n// round status glyphs at the same size; lucide's own bar marks sit at 18-of-24.\nconst levelGlyph = (name: string, label: string) => ({\n value: name,\n label,\n icon: createGlyphIcon(name, { scale: 0.82 }),\n});\n\n// Ordered exactly like the `cmp/TagAppearancePopover` grid in the design system:\n// a leading \"none\" cell, generic icons, then status rings, levels and concepts.\n// Status rings and level bars have no lucide equivalent and ship as glyphs in\n// the `prompt-studio-icons` font.\nexport const optionIcons = [\n { value: null, label: \"none\", icon: Ban },\n { value: \"flag\", label: \"flag\", icon: Flag },\n { value: \"bug\", label: \"bug\", icon: Bug },\n { value: \"sparkles\", label: \"sparkles\", icon: Sparkles },\n { value: \"book-open\", label: \"book open\", icon: BookOpen },\n { value: \"wrench\", label: \"wrench\", icon: Wrench },\n { value: \"zap\", label: \"zap\", icon: Zap },\n { value: \"feather\", label: \"feather\", icon: Feather },\n { value: \"scale\", label: \"scale\", icon: Scale },\n { value: \"layers\", label: \"layers\", icon: Layers },\n { value: \"star\", label: \"star\", icon: Star },\n { value: \"flame\", label: \"flame\", icon: Flame },\n { value: \"lightbulb\", label: \"lightbulb\", icon: Lightbulb },\n { value: \"shield\", label: \"shield\", icon: Shield },\n { value: \"eye\", label: \"eye\", icon: Eye },\n // The design draws the clock cell with lucide's timer.\n { value: \"clock\", label: \"clock\", icon: Timer },\n { value: \"tag\", label: \"tag\", icon: Tag },\n { value: \"code\", label: \"code\", icon: Code },\n { value: \"rocket\", label: \"rocket\", icon: Rocket },\n { value: \"heart\", label: \"heart\", icon: Heart },\n { value: \"bookmark\", label: \"bookmark\", icon: Bookmark },\n { value: \"target\", label: \"target\", icon: Target },\n { value: \"bell\", label: \"bell\", icon: Bell },\n { value: \"hash\", label: \"hash\", icon: Hash },\n glyph(\"status-backlog\", \"status backlog\"),\n glyph(\"status-todo\", \"status todo\"),\n glyph(\"status-progress\", \"status in progress\"),\n glyph(\"status-review\", \"status in review\"),\n glyph(\"status-done\", \"status done\"),\n glyph(\"status-canceled\", \"status canceled\"),\n { value: \"ticket\", label: \"ticket\", icon: Ticket },\n { value: \"git-branch\", label: \"git branch\", icon: GitBranch },\n levelGlyph(\"level-low\", \"level low\"),\n levelGlyph(\"level-mid\", \"level medium\"),\n levelGlyph(\"level-high\", \"level high\"),\n levelGlyph(\"level-xhigh\", \"level very high\"),\n { value: \"bot\", label: \"bot\", icon: Bot },\n { value: \"puzzle\", label: \"puzzle\", icon: Puzzle },\n { value: \"workflow\", label: \"workflow\", icon: Workflow },\n { value: \"kanban\", label: \"kanban\", icon: Kanban },\n { value: \"message-square\", label: \"message square\", icon: MessageSquare },\n { value: \"folder\", label: \"folder\", icon: Folder },\n { value: \"file-text\", label: \"file text\", icon: FileText },\n { value: \"history\", label: \"history\", icon: History },\n { value: \"play\", label: \"play\", icon: Play },\n { value: \"terminal\", label: \"terminal\", icon: Terminal },\n { value: \"cpu\", label: \"CPU\", icon: Cpu },\n { value: \"users\", label: \"users\", icon: Users },\n // Prompt Studio concepts: the icons its own tickets, boards, workspaces and\n // notifications are drawn with.\n { value: \"component\", label: \"ticket\", icon: Component },\n { value: \"square-kanban\", label: \"board\", icon: SquareKanban },\n { value: \"git-commit-horizontal\", label: \"workspace\", icon: GitCommitHorizontal },\n { value: \"inbox\", label: \"notifications\", icon: Inbox },\n { value: \"list-checks\", label: \"checklist\", icon: ListChecks },\n { value: \"archive\", label: \"archive\", icon: Archive },\n { value: \"link\", label: \"link\", icon: Link },\n { value: \"settings\", label: \"settings\", icon: Settings },\n] satisfies IconColorPickerIconOption[];\n\nconst actionIcons: Record<string, ComponentType> = {\n pause: Pause,\n pencil: Pencil,\n trash: Trash2,\n \"trash-2\": Trash2,\n \"list-tree\": ListTree,\n \"archive-restore\": ArchiveRestore,\n \"user-round\": UserRound,\n \"user-check\": UserCheck,\n};\n\nexport const getIconComponent = (\n name: string | null | undefined,\n iconOptions: readonly IconColorPickerIconOption[] = optionIcons,\n): ComponentType => {\n const normalizedName = (name ?? \"circle\")\n .replace(/([a-z0-9])([A-Z])/g, \"$1-$2\")\n .replace(/([a-zA-Z])([0-9])/g, \"$1-$2\")\n .toLowerCase();\n const entry = iconOptions.find((icon) => icon.value === normalizedName);\n return entry?.icon ?? actionIcons[normalizedName] ?? Circle;\n};\n"],"mappings":";;;;;;AAWA,IAAMK,KAAe,IAAIC,IACvBC,MAAMC,KAAKL,i0aAAqBM,SAASL,4DAAU,IAAI,GAAGM,GAAMC,OAAa,CAACD,GAAMC,CAAO,CAAC,CAC9F,GAmBMC,KAAqB,MACrBC,KAAwB,WAExBC,IAAYd,EAAO,MAAM,GAEzBe,MAAeJ,GAAiBK,OAAsB;CAC1DC,UAAU;CACVC,SAAS;CACTC,eAAe;CACfC,YAAY;CACZC,SAAS;CACTC,YAAY;CACZC,eAAe;CACf,aAAa;EACXZ;EACAK;EACAC,UAAU;EACVO,OAAO;EACPC,YAAY;EACZC,WAAW;EACXC,YAAY;EACZL,YAAY;EACZM,WAAW;EACXC,WAAW,cAAchB,GAAqB;CAChD;AACF,IAiBasB,KAAmBC,GAAeC,IAA4B,CAAC,MAAqC;CAC/G,IAAMC,IAASvB,GACb,IAAIV,GAAakC,IAAIH,CAAK,KAAK,GAAE,IACjC,IAAIxB,MAAsByB,EAAQH,SAAS,GAAA,CAAIM,QAAQ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OAAO,CAAC,CACtCC,YAAY;CAEf,OADcH,EAAYK,MAAMnB,MAASA,EAAKF,UAAUiB,CACjDG,CAAAA,EAAOlB,QAAQQ,GAAYO,MAAmBlE;AACvD"}
@@ -249,6 +249,13 @@ interface KanbanRendererListProps {
249
249
  }
250
250
  declare const KanbanRendererList: (props: KanbanRendererListProps) => import("react/jsx-runtime").JSX.Element;
251
251
  //#endregion
252
+ //#region src/components/kanban-renderer/kanban-renderer-skeleton.d.ts
253
+ interface KanbanRendererSkeletonProps {
254
+ viewMode: KanbanRendererSettings["viewMode"];
255
+ }
256
+ /** Stands in for the whole renderer until it knows its views and fields, so no label shows a raw id. */
257
+ declare const KanbanRendererSkeleton: (props: KanbanRendererSkeletonProps) => import("react/jsx-runtime").JSX.Element;
258
+ //#endregion
252
259
  //#region src/components/kanban-renderer/kanban-renderer-toolbar.d.ts
253
260
  interface KanbanRendererToolbarProps<TRow extends KanbanRendererRow = KanbanRendererRow> {
254
261
  rows: TRow[];
@@ -294,5 +301,5 @@ declare const resolveAttributeOptions: (attributes: AttributeDescriptor[]) => At
294
301
  */
295
302
  declare const useResolvedAttributes: (attributes: AttributeDescriptor[]) => AttributeDescriptor[];
296
303
  //#endregion
297
- export { CollectionBadge as A, buildFilterCategories as C, renderBadgeListDisplay as D, renderAttributeBadge as E, getEnumOptions as O, buildDisplayPropertyOptions as S, collectDisplayBadges as T, KanbanRendererCardProps$1 as _, KanbanRendererToolbarProps as a, FilterCategoryView as b, KanbanRendererCreateDialog as c, KanbanRendererProps as d, KanbanRendererBoard as f, KanbanRendererCard as g, KanbanRendererBoardItem as h, KanbanRendererToolbar as i, CollectionBadgeProps as j, AttributeBadge as k, BoardColumnConfig as l, KanbanRendererBoardColumnAction as m, useResolvedAttributes as n, KanbanRendererList as o, KanbanRendererBoardColumn as p, useKanbanRendererStore as r, KanbanRendererListItem as s, resolveAttributeOptions as t, KanbanRenderer as u, applyKanbanMove as v, buildGroupingOptions as w, MenuOption as x, DisplayMenu as y };
304
+ export { AttributeBadge as A, buildDisplayPropertyOptions as C, renderAttributeBadge as D, collectDisplayBadges as E, CollectionBadgeProps as M, renderBadgeListDisplay as O, MenuOption as S, buildGroupingOptions as T, KanbanRendererCard as _, KanbanRendererToolbarProps as a, DisplayMenu as b, KanbanRendererListItem as c, KanbanRenderer as d, KanbanRendererProps as f, KanbanRendererBoardItem as g, KanbanRendererBoardColumnAction as h, KanbanRendererToolbar as i, CollectionBadge as j, getEnumOptions as k, KanbanRendererCreateDialog as l, KanbanRendererBoardColumn as m, useResolvedAttributes as n, KanbanRendererSkeleton as o, KanbanRendererBoard as p, useKanbanRendererStore as r, KanbanRendererList as s, resolveAttributeOptions as t, BoardColumnConfig as u, KanbanRendererCardProps$1 as v, buildFilterCategories as w, FilterCategoryView as x, applyKanbanMove as y };
298
305
  export {};
@@ -168,11 +168,12 @@ interface ChatLinkCandidate {
168
168
  interface ChatLinkHandler {
169
169
  resolveHref(candidate: ChatLinkCandidate): string | null;
170
170
  resolveResource?(candidate: ChatLinkCandidate): Promise<{
171
- label: string;
171
+ label?: string;
172
172
  icon?: string;
173
173
  href: string | null;
174
174
  } | null>;
175
175
  resolveImageSource?(source: string): Promise<string | null>;
176
+ resolveIcon?(href: string): Promise<string | null>;
176
177
  describe?(candidate: ChatLinkCandidate): string;
177
178
  open(candidate: ChatLinkCandidate): void | Promise<void>;
178
179
  }
@@ -198,6 +199,7 @@ type ParsedChatLink = {
198
199
  kind: "invalid";
199
200
  reason: string;
200
201
  };
202
+ declare const isGuessedChatLink: (candidate: ChatLinkCandidate) => boolean;
201
203
  declare const parseChatLink: (candidate: ChatLinkCandidate, dashboardOrigin?: string) => ParsedChatLink | undefined;
202
204
  //#endregion
203
205
  //#region src/components/rich-text/rich-message/rich-message.d.ts
@@ -249,5 +251,5 @@ declare function inferResourceTypeFromMediaType(mediaType: string): "image" | "p
249
251
  //#region src/components/rich-text/utils/mediaType.d.ts
250
252
  declare function mediaTypeFromPath(path: string): string | null;
251
253
  //#endregion
252
- export { PromptEditorRef as A, CollaborativeMarkdownEditorProps as B, ResourceActivityIconName as C, PromptEditor as D, getTextFromSerializedEditorState as E, MarkdownSectionAnchor as F, MarkdownSectionNavigation as I, MarkdownUrlKind as L, LazyMarkdownEditor as M, MarkdownEditor as N, PromptEditorProps as O, MarkdownEditorProps as P, MarkdownUrlResolver as R, ResourceActivityFeedSize as S, generateEditorStateFromString as T, ResourceActivityFeedAttention as _, DefaultRichTextCodeEditor as a, ResourceActivityFeedMessageItem as b, DataTableProps as c, ChatLinkCandidate as d, ChatLinkHandler as f, ResourceActivityFeedAction as g, ResourceActivityFeed as h, ResourceType as i, PromptCommand as j, PromptSelectionSnapshot as k, RichMessage as l, parseChatLink as m, inferResourceTypeFromMediaType as n, DefaultRichTextDataTable as o, ChatLinkProps as p, Resource as r, CodeEditorProps as s, mediaTypeFromPath as t, RichMessageProps as u, ResourceActivityFeedEventItem as v, ResourceActivityRelatedResource as w, ResourceActivityFeedProps as x, ResourceActivityFeedItem as y, CollaborativeMarkdownEditor as z };
254
+ export { PromptSelectionSnapshot as A, CollaborativeMarkdownEditor as B, ResourceActivityFeedSize as C, getTextFromSerializedEditorState as D, generateEditorStateFromString as E, MarkdownEditorProps as F, MarkdownSectionAnchor as I, MarkdownSectionNavigation as L, PromptCommand as M, LazyMarkdownEditor as N, PromptEditor as O, MarkdownEditor as P, MarkdownUrlKind as R, ResourceActivityFeedProps as S, ResourceActivityRelatedResource as T, CollaborativeMarkdownEditorProps as V, ResourceActivityFeedAction as _, DefaultRichTextCodeEditor as a, ResourceActivityFeedItem as b, DataTableProps as c, ChatLinkCandidate as d, ChatLinkHandler as f, ResourceActivityFeed as g, parseChatLink as h, ResourceType as i, PromptEditorRef as j, PromptEditorProps as k, RichMessage as l, isGuessedChatLink as m, inferResourceTypeFromMediaType as n, DefaultRichTextDataTable as o, ChatLinkProps as p, Resource as r, CodeEditorProps as s, mediaTypeFromPath as t, RichMessageProps as u, ResourceActivityFeedAttention as v, ResourceActivityIconName as w, ResourceActivityFeedMessageItem as x, ResourceActivityFeedEventItem as y, MarkdownUrlResolver as z };
253
255
  export {};
package/dist/index.d.ts CHANGED
@@ -135,6 +135,7 @@ interface ResizableSplitLayoutProps extends Omit<FlexProps, "children" | "onResi
135
135
  contentMinSizePx?: number;
136
136
  collapsed?: boolean;
137
137
  collapsible?: boolean;
138
+ resizable?: boolean;
138
139
  resizeLabel?: string;
139
140
  separator?: ResizableSplitSeparator;
140
141
  layout?: ConditionalValue<"split" | "stacked" | "stacked-reverse" | "content">;
@@ -337,6 +338,8 @@ interface BubblePanelProps {
337
338
  isOpen?: boolean;
338
339
  title?: string;
339
340
  menu?: ReactNode;
341
+ /** Replace the complete header, including its controls. */
342
+ header?: ReactNode;
340
343
  onClose?: () => void;
341
344
  closeLabel?: string;
342
345
  onPopOut?: (() => void) | null;
@@ -377,6 +380,12 @@ interface DialogAcceptShortcutEvent {
377
380
  }
378
381
  export declare const handleDialogAcceptShortcut: (event: DialogAcceptShortcutEvent, accept: () => void, enabled?: boolean) => void;
379
382
  //#endregion
383
+ //#region src/components/overlays/folder-picker-drive-menu.d.ts
384
+ interface FolderPickerDrive {
385
+ name: string;
386
+ path: string;
387
+ }
388
+ //#endregion
380
389
  //#region src/components/overlays/folder-picker-dialog.d.ts
381
390
  interface FolderPickerEntry {
382
391
  name: string;
@@ -386,6 +395,8 @@ interface FolderPickerEntry {
386
395
  interface FolderPickerProps {
387
396
  currentPath: string;
388
397
  entries: FolderPickerEntry[];
398
+ drives?: FolderPickerDrive[];
399
+ isUnavailable?: boolean;
389
400
  isLoading?: boolean;
390
401
  isOpening?: boolean;
391
402
  error?: string;
@@ -488,6 +499,7 @@ interface AlertProps extends Omit<Alert.RootProps, "title"> {
488
499
  title?: React$2.ReactNode;
489
500
  icon?: React$2.ReactElement;
490
501
  onClose?: () => void;
502
+ closeLabel?: string;
491
503
  }
492
504
  export declare const AlertMessage: React$2.ForwardRefExoticComponent<AlertProps & React$2.RefAttributes<HTMLDivElement>>;
493
505
  //#endregion
@@ -1391,7 +1403,7 @@ interface TreeListProps {
1391
1403
  onToggleSection?: (sectionId: string) => void;
1392
1404
  onToggleNode?: (nodeId: string) => void;
1393
1405
  onSectionContextMenu?: (event: MouseEvent<HTMLElement>, sectionId: string) => void;
1394
- /** Render large trees with virtual rows. Disable when using drag ordering. */
1406
+ /** Render large trees with virtual rows, including customizable navigation. */
1395
1407
  virtualize?: boolean;
1396
1408
  scrollRef?: RefObject<HTMLDivElement | null>;
1397
1409
  draggable?: boolean;
@@ -1853,5 +1865,5 @@ export declare const getInitialThemePreference: (themePreferences?: readonly The
1853
1865
  export declare const ThemePreferenceProvider: (props: ThemePreferenceProviderProps) => import("react/jsx-runtime").JSX.Element;
1854
1866
  export declare const useThemePreference: () => ThemePreferenceContextValue;
1855
1867
  //#endregion
1856
- export { Activity, type ActivityActor, ActivityAvatar, type ActivityAvatarProps, ActivityComment, type ActivityCommentProps, ActivityComposer, type ActivityComposerProps, ActivityEvent, type ActivityEventProps, ActivityFeed, type ActivityFeedProps, ActivityHeader, type ActivityHeaderProps, ActivityReply, type ActivityReplyProps, ActivityRoot, type ActivityRootProps, ActivityTimeline, type ActivityTimelineProps, type AlertProps, type AttachedMenuProps, type AttachmentChipProps, type BreadcrumbItem, ChakraProvider, type CheckboxProps, type ChipProps, Label as ContentPlaceholderLabel, type CopyButtonProps, type EmptyStateProps, type FileIconThemeFont, type FileIconThemePreferenceOption, type FilterPaletteEntriesOptions, type FolderPickerEntry, type FolderPickerProps, type HeaderProps, type HeaderVariant, type HostStorage, HostStorageProvider, type IconColorPickerIconOption, type IconColorPickerProps, type IntegrationCardProps, type ItemSectionProps, type ListRowAction, type ListRowActionContext, type ListRowActionMenuItem, type ListRowItem, type ListRowNavigationIntent, type MonacoThemeData, type NotificationCenterAction, type NotificationCenterItem, type NotificationCenterPriority, type NotificationCenterProps, type NotificationCenterStatus, type PaletteEntry, type PaletteEscapeContext, type PaletteMode, type PaletteProps, type PaletteSearchEntry, type PaletteShortcutBinding, type PaletteState, type PaletteStateValue, type RadioProps, type ResizableSplitSeparator, ResourceActionMenu, type ResourceActionMenuProps, ResourceBadge, type ResourceContextAction, ResourceContextMenu, type SaveTagSettingsInput, ScrollArea, type SearchModalContentProps, type SearchableMenuItem, type SearchableMenuParentList, type SegmentedControlOption, type SegmentedControlProps, type SessionCompletionStatus, SessionIndicator, type SidenavProps, type SimpleCardBodyProps, type SimpleCardProps, type SliderProps, type SwitchProps, type TabVisibilityPlacement, type TagEditorAction, type TagEditorHeadingProps, type TagEditorProps, type TagEditorSaveBarProps, type TagEditorValue, type TagSettingsPanelProps, type TagSwatchProps, type ThemePreference, type ThemePreferenceMode, type ThemePreferenceOption, type ThemePreferenceStorage, type ThemePreferenceTokens, type TreeListAction, type TreeListActionContext, type TreeListActionMenuItem, type TreeListGroup, type TreeListInlineInput, type TreeListLinkComponent, type TreeListMove, type TreeListMoveEndpoint, type TreeListMovePolicy, type TreeListNavigateEvent, type TreeListNavigationIntent, type TreeListNode, type TreeListSection, type TreeVisibilityMenuItems, type VisibilityOverride, type VsCodeColorTheme, type WindowTab, type WindowTabsProps, type WindowTitleBarProps, WorkspaceBadge, type WorkspaceBadgeProps, applyThemePreference, createMonacoThemeFromVsCodeTheme, createThemePreferenceFromVsCodeTheme, defaultThemePreferences, getThemePreferenceClassName, getThemePreferenceClassNames, getThemePreferenceMode, isThemePreference, _default as psTheme, resolveSessionIndicatorColor, resolveSessionIndicatorIcon, sessionCompletionStatuses };
1868
+ export { Activity, type ActivityActor, ActivityAvatar, type ActivityAvatarProps, ActivityComment, type ActivityCommentProps, ActivityComposer, type ActivityComposerProps, ActivityEvent, type ActivityEventProps, ActivityFeed, type ActivityFeedProps, ActivityHeader, type ActivityHeaderProps, ActivityReply, type ActivityReplyProps, ActivityRoot, type ActivityRootProps, ActivityTimeline, type ActivityTimelineProps, type AlertProps, type AttachedMenuProps, type AttachmentChipProps, type BreadcrumbItem, ChakraProvider, type CheckboxProps, type ChipProps, Label as ContentPlaceholderLabel, type CopyButtonProps, type EmptyStateProps, type FileIconThemeFont, type FileIconThemePreferenceOption, type FilterPaletteEntriesOptions, type FolderPickerDrive, type FolderPickerEntry, type FolderPickerProps, type HeaderProps, type HeaderVariant, type HostStorage, HostStorageProvider, type IconColorPickerIconOption, type IconColorPickerProps, type IntegrationCardProps, type ItemSectionProps, type ListRowAction, type ListRowActionContext, type ListRowActionMenuItem, type ListRowItem, type ListRowNavigationIntent, type MonacoThemeData, type NotificationCenterAction, type NotificationCenterItem, type NotificationCenterPriority, type NotificationCenterProps, type NotificationCenterStatus, type PaletteEntry, type PaletteEscapeContext, type PaletteMode, type PaletteProps, type PaletteSearchEntry, type PaletteShortcutBinding, type PaletteState, type PaletteStateValue, type RadioProps, type ResizableSplitSeparator, ResourceActionMenu, type ResourceActionMenuProps, ResourceBadge, type ResourceContextAction, ResourceContextMenu, type SaveTagSettingsInput, ScrollArea, type SearchModalContentProps, type SearchableMenuItem, type SearchableMenuParentList, type SegmentedControlOption, type SegmentedControlProps, type SessionCompletionStatus, SessionIndicator, type SidenavProps, type SimpleCardBodyProps, type SimpleCardProps, type SliderProps, type SwitchProps, type TabVisibilityPlacement, type TagEditorAction, type TagEditorHeadingProps, type TagEditorProps, type TagEditorSaveBarProps, type TagEditorValue, type TagSettingsPanelProps, type TagSwatchProps, type ThemePreference, type ThemePreferenceMode, type ThemePreferenceOption, type ThemePreferenceStorage, type ThemePreferenceTokens, type TreeListAction, type TreeListActionContext, type TreeListActionMenuItem, type TreeListGroup, type TreeListInlineInput, type TreeListLinkComponent, type TreeListMove, type TreeListMoveEndpoint, type TreeListMovePolicy, type TreeListNavigateEvent, type TreeListNavigationIntent, type TreeListNode, type TreeListSection, type TreeVisibilityMenuItems, type VisibilityOverride, type VsCodeColorTheme, type WindowTab, type WindowTabsProps, type WindowTitleBarProps, WorkspaceBadge, type WorkspaceBadgeProps, applyThemePreference, createMonacoThemeFromVsCodeTheme, createThemePreferenceFromVsCodeTheme, defaultThemePreferences, getThemePreferenceClassName, getThemePreferenceClassNames, getThemePreferenceMode, isThemePreference, _default as psTheme, resolveSessionIndicatorColor, resolveSessionIndicatorIcon, sessionCompletionStatuses };
1857
1869
  export {};