@commenda/pathfinder 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/components/accordion/AccordionSection.js +9 -3
- package/dist/components/address-input/AddressInput.js +1 -1
- package/dist/components/artifact-card/ArtifactCard.js +1 -1
- package/dist/components/artifact-panel/ArtifactPanel.js +81 -55
- package/dist/components/attachment/Attachment.d.ts +2 -6
- package/dist/components/attachment/Attachment.js +59 -36
- package/dist/components/attachment/AttachmentCard.d.ts +1 -1
- package/dist/components/attachment/AttachmentCard.js +56 -43
- package/dist/components/attachment/attachment-class-names.d.ts +1 -1
- package/dist/components/attachment/attachment-class-names.js +1 -1
- package/dist/components/attachment-group/AttachmentGroup.js +1 -1
- package/dist/components/avatar/avatar-helper.d.ts +1 -1
- package/dist/components/banner/Banner.js +5 -2
- package/dist/components/button/Button.js +1 -1
- package/dist/components/calendar/CalendarAgenda.js +1 -1
- package/dist/components/calendar/CalendarArtwork.js +16 -22
- package/dist/components/calendar/CalendarEventContent.js +2 -2
- package/dist/components/calendar/CalendarPopup.js +102 -82
- package/dist/components/calendar/CalendarToolbar.js +10 -10
- package/dist/components/card/Card.js +47 -41
- package/dist/components/checkbox/Checkbox.js +31 -13
- package/dist/components/choices/choice-motion.d.ts +12 -0
- package/dist/components/choices/choice-motion.js +22 -0
- package/dist/components/code-block/CodeBlock.js +3 -2
- package/dist/components/controls/control-class-names.d.ts +1 -0
- package/dist/components/controls/control-class-names.js +8 -8
- package/dist/components/controls/useHoverHighlight.d.ts +12 -0
- package/dist/components/controls/useHoverHighlight.js +51 -0
- package/dist/components/controls/useSelectionIndicator.d.ts +3 -4
- package/dist/components/controls/useSelectionIndicator.js +43 -28
- package/dist/components/data-grid/DataGrid.js +7 -7
- package/dist/components/data-grid/DataGridHeaders.js +1 -1
- package/dist/components/date-picker/DateCalendar.js +3 -3
- package/dist/components/date-picker/DatePicker.js +10 -10
- package/dist/components/date-picker/field/DateField.js +1 -1
- package/dist/components/description-list/DescriptionList.js +2 -2
- package/dist/components/dialog/ConfirmDialog.js +1 -1
- package/dist/components/dialog/Dialog.js +1 -1
- package/dist/components/distribution-bar/DistributionBar.js +45 -35
- package/dist/components/drag-handle/DragHandle.d.ts +1 -1
- package/dist/components/dropdown/Dropdown.js +27 -26
- package/dist/components/dropdown/MenuContent.js +100 -69
- package/dist/components/dropdown/dropdown-types.d.ts +1 -0
- package/dist/components/dropdown/menu-motion.d.ts +2 -0
- package/dist/components/dropdown/menu-motion.js +4 -0
- package/dist/components/feedback/FeedbackIcon.d.ts +2 -1
- package/dist/components/feedback/FeedbackIcon.js +4 -4
- package/dist/components/feedback/FeedbackSurface.d.ts +3 -3
- package/dist/components/feedback/FeedbackSurface.js +49 -21
- package/dist/components/fields/FieldAction.d.ts +1 -0
- package/dist/components/fields/FieldAction.js +2 -2
- package/dist/components/icon-button/IconButton.js +37 -37
- package/dist/components/icons/index.js +776 -776
- package/dist/components/inline-reference/InlineReference.js +1 -8
- package/dist/components/list/List.js +2 -2
- package/dist/components/list/ListGroup.js +35 -30
- package/dist/components/list/ListTask.js +1 -1
- package/dist/components/list/SettingRow.js +1 -1
- package/dist/components/markdown/Markdown.js +11 -10
- package/dist/components/markdown/MarkdownTable.d.ts +1 -1
- package/dist/components/markdown/MarkdownTable.js +71 -54
- package/dist/components/otp/OTP.js +44 -43
- package/dist/components/output-sections/OutputRow.js +2 -3
- package/dist/components/overlays/OverlayFrame.js +2 -2
- package/dist/components/overlays/overlay-class-names.d.ts +3 -3
- package/dist/components/overlays/overlay-class-names.js +1 -1
- package/dist/components/phone-input/CountryPicker.js +11 -8
- package/dist/components/popover/Popover.js +2 -2
- package/dist/components/question-card/QuestionOptions.js +3 -3
- package/dist/components/radio-group/RadioGroup.js +59 -50
- package/dist/components/search/Search.js +51 -47
- package/dist/components/segmented-control/SegmentedControl.js +7 -6
- package/dist/components/selection/ChoiceField.js +1 -1
- package/dist/components/selection/ChoiceList.js +2 -1
- package/dist/components/selection/SearchableChoice.js +129 -114
- package/dist/components/selection/SelectedTags.js +1 -1
- package/dist/components/selection/SimpleChoice.js +95 -77
- package/dist/components/selection/choice-styles.d.ts +2 -2
- package/dist/components/selection/choice-styles.js +1 -1
- package/dist/components/sheet/Sheet.js +7 -7
- package/dist/components/side-nav/SideNav.d.ts +2 -5
- package/dist/components/side-nav/SideNav.js +98 -56
- package/dist/components/side-nav/SideNavItemView.d.ts +1 -1
- package/dist/components/side-nav/SideNavItemView.js +83 -98
- package/dist/components/side-nav/index.d.ts +2 -0
- package/dist/components/side-nav/index.js +1 -1
- package/dist/components/split-button/SplitButton.js +3 -2
- package/dist/components/stepper/StepMarker.js +32 -28
- package/dist/components/stepper/Stepper.js +30 -22
- package/dist/components/suggested-prompt/SuggestedPrompt.js +1 -1
- package/dist/components/switch/Switch.d.ts +1 -1
- package/dist/components/switch/Switch.js +38 -28
- package/dist/components/table/Table.js +134 -110
- package/dist/components/table/TableColumnHeader.js +20 -2
- package/dist/components/table/TableColumnResize.js +1 -1
- package/dist/components/table/TableColumnsMenu.js +1 -0
- package/dist/components/table/TableFilterChip.js +1 -1
- package/dist/components/table/TableFilterEditor.js +6 -6
- package/dist/components/table/TableFilters.js +1 -0
- package/dist/components/table/TableOptionMenu.d.ts +1 -1
- package/dist/components/table/TableOptionMenu.js +16 -17
- package/dist/components/table/TablePagination.js +1 -0
- package/dist/components/table/TableSelectionBar.js +4 -1
- package/dist/components/table/index.js +6 -6
- package/dist/components/table/table-column-style.js +0 -1
- package/dist/components/table/table-types.d.ts +5 -0
- package/dist/components/table/useTableData.js +2 -2
- package/dist/components/tabs/Tabs.js +61 -53
- package/dist/components/tabs/tab-class-names.d.ts +1 -1
- package/dist/components/tabs/tab-class-names.js +1 -1
- package/dist/components/tabular/TableEditCell.js +3 -1
- package/dist/components/tabular/tabular-class-names.d.ts +1 -0
- package/dist/components/tabular/tabular-class-names.js +1 -0
- package/dist/components/tabular/useCellEdit.js +1 -1
- package/dist/components/tabular/useTabularPinning.js +7 -6
- package/dist/components/tag/Tag.js +1 -1
- package/dist/components/tag-input/TagInput.js +64 -53
- package/dist/components/tag-input/useTagMotion.d.ts +6 -0
- package/dist/components/tag-input/useTagMotion.js +36 -0
- package/dist/components/text-area/TextArea.js +2 -1
- package/dist/components/thread/ThreadReply.js +10 -7
- package/dist/components/tool-call/ToolCall.js +2 -2
- package/dist/components/tree/TreeItemView.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +37 -37
- package/dist/styles.css +1 -1
- package/package.json +5 -1
- package/dist/_virtual/_rolldown/runtime.js +0 -11
- package/dist/components/date-picker/date-values.d.ts +0 -23
- package/dist/components/date-picker/date-values.js +0 -52
- package/dist/components/table/TableHeaderPin.d.ts +0 -6
- package/dist/components/table/TableHeaderPin.js +0 -66
|
@@ -44,7 +44,7 @@ function g(_) {
|
|
|
44
44
|
/* @__PURE__ */ h("div", {
|
|
45
45
|
role: "presentation",
|
|
46
46
|
onClick: () => {
|
|
47
|
-
y.focus(N.id), y.select(N.id);
|
|
47
|
+
y.focus(N.id), y.select(N.id), I && y.toggle(N.id);
|
|
48
48
|
},
|
|
49
49
|
draggable: !!T && !N.disabled && !M,
|
|
50
50
|
onDragStart: (e) => {
|
|
@@ -65,7 +65,7 @@ function g(_) {
|
|
|
65
65
|
onDrop: (e) => {
|
|
66
66
|
e.preventDefault(), e.stopPropagation(), O && A(O) && j(O), D(null), k(null);
|
|
67
67
|
},
|
|
68
|
-
className: d("pf:group pf:relative pf:flex pf:items-center pf:min-w-0 pf:min-h-[28px] pf:gap-sm pf:py-0 pf:rounded-sm pf:cursor-pointer pf:hover:bg-soft-pearl-200",
|
|
68
|
+
className: d("pf:group pf:relative pf:flex pf:items-center pf:min-w-0 pf:min-h-[28px] pf:gap-sm pf:py-0 pf:rounded-sm pf:cursor-pointer pf:hover:bg-soft-pearl-200", "pf:pe-md", R && "pf:bg-soft-pearl-300 pf:hover:bg-soft-pearl-300", N.disabled && "pf:opacity-50 pf:cursor-not-allowed", B && "pf:bg-blue-100 pf:hover:bg-blue-100", B === "before" && "pf:before:absolute pf:before:inset-x-0 pf:before:top-0 pf:before:h-px pf:before:bg-blue-600", B === "after" && "pf:after:absolute pf:after:inset-x-0 pf:after:bottom-0 pf:after:h-px pf:after:bg-blue-600", B === "inside" && "pf:outline-1 pf:outline-blue-600"),
|
|
69
69
|
style: { paddingInlineStart: 8 + (P.length === 0 ? 16 : 6 + Math.min(P.length, 4) * 16) },
|
|
70
70
|
children: [
|
|
71
71
|
I ? /* @__PURE__ */ m("button", {
|
|
@@ -109,7 +109,7 @@ function g(_) {
|
|
|
109
109
|
onClick: (e) => {
|
|
110
110
|
e.stopPropagation();
|
|
111
111
|
},
|
|
112
|
-
className: d(
|
|
112
|
+
className: d("pf:flex pf:shrink-0 pf:items-center pf:gap-xs pf:ms-xs", b !== N.id && "pf:[@media(hover:hover)]:hidden pf:group-hover:flex pf:group-focus/tree-item:flex pf:group-focus-within:flex"),
|
|
113
113
|
children: [I && C && /* @__PURE__ */ m(n, {
|
|
114
114
|
tabIndex: -1,
|
|
115
115
|
size: "xs",
|
package/dist/index.d.ts
CHANGED
|
@@ -46,8 +46,8 @@ export { Popover, PopoverGroup } from './components/popover/index.js';
|
|
|
46
46
|
export type { PopoverProps } from './components/popover/index.js';
|
|
47
47
|
export { Sheet } from './components/sheet/index.js';
|
|
48
48
|
export type { SheetProps } from './components/sheet/index.js';
|
|
49
|
-
export { SideNav } from './components/side-nav/index.js';
|
|
50
|
-
export type { SideNavItem, SideNavProps, SideNavSection, } from './components/side-nav/index.js';
|
|
49
|
+
export { SideNav, Sidebar } from './components/side-nav/index.js';
|
|
50
|
+
export type { SidebarItem, SidebarProps, SidebarSection, SideNavItem, SideNavProps, SideNavSection, } from './components/side-nav/index.js';
|
|
51
51
|
export { Tree } from './components/tree/index.js';
|
|
52
52
|
export type { TreeChildren, TreeMove, TreeMoveConfig, TreeNode, TreeProps, } from './components/tree/index.js';
|
|
53
53
|
export * from './components/data-grid/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { Tooltip as e } from "./components/tooltip/Tooltip.js";
|
|
2
2
|
import { Button as t } from "./components/button/Button.js";
|
|
3
|
-
import { IconButton as
|
|
4
|
-
import { ProgressRing as
|
|
5
|
-
import { ArtifactCard as
|
|
6
|
-
import { PopoverGroup as
|
|
7
|
-
import { Skeleton as
|
|
8
|
-
import { Popover as
|
|
9
|
-
import { Input as
|
|
10
|
-
import { Dropdown as
|
|
11
|
-
import { EmptyState as
|
|
12
|
-
import { ResizeHandle as
|
|
13
|
-
import { ArtifactPanel as
|
|
14
|
-
import { Avatar as
|
|
15
|
-
import { Separator as
|
|
3
|
+
import { IconButton as ee } from "./components/icon-button/IconButton.js";
|
|
4
|
+
import { ProgressRing as n } from "./components/status-icons/ProgressRing.js";
|
|
5
|
+
import { ArtifactCard as r } from "./components/artifact-card/ArtifactCard.js";
|
|
6
|
+
import { PopoverGroup as i } from "./components/popover/PopoverGroup.js";
|
|
7
|
+
import { Skeleton as a } from "./components/skeleton/Skeleton.js";
|
|
8
|
+
import { Popover as o } from "./components/popover/Popover.js";
|
|
9
|
+
import { Input as s } from "./components/input/Input.js";
|
|
10
|
+
import { Dropdown as c } from "./components/dropdown/Dropdown.js";
|
|
11
|
+
import { EmptyState as l } from "./components/empty-state/EmptyState.js";
|
|
12
|
+
import { ResizeHandle as u } from "./components/resize-handle/ResizeHandle.js";
|
|
13
|
+
import { ArtifactPanel as d } from "./components/artifact-panel/ArtifactPanel.js";
|
|
14
|
+
import { Avatar as f } from "./components/avatar/Avatar.js";
|
|
15
|
+
import { Separator as p } from "./components/separator/Separator.js";
|
|
16
|
+
import { Dialog as m } from "./components/dialog/Dialog.js";
|
|
16
17
|
import { Attachment as h } from "./components/attachment/Attachment.js";
|
|
17
18
|
import { Checkbox as g } from "./components/checkbox/Checkbox.js";
|
|
18
19
|
import { AttachmentGroup as _ } from "./components/attachment-group/AttachmentGroup.js";
|
|
@@ -48,29 +49,28 @@ import { Composer as K } from "./components/composer/Composer.js";
|
|
|
48
49
|
import { SuggestedPrompt as q } from "./components/suggested-prompt/SuggestedPrompt.js";
|
|
49
50
|
import { SuggestedPromptGroup as J } from "./components/suggested-prompt-group/SuggestedPromptGroup.js";
|
|
50
51
|
import { InlineReference as Y } from "./components/inline-reference/InlineReference.js";
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import { SideNav as
|
|
70
|
-
import { Alert as
|
|
71
|
-
import { Tree as
|
|
72
|
-
import { ConfirmDialog as
|
|
73
|
-
import { Sheet as ve } from "./components/sheet/Sheet.js";
|
|
52
|
+
import { Search as X } from "./components/search/Search.js";
|
|
53
|
+
import { SplitButton as Z } from "./components/split-button/SplitButton.js";
|
|
54
|
+
import { Table as Q } from "./components/table/Table.js";
|
|
55
|
+
import { Badge as te } from "./components/badge/Badge.js";
|
|
56
|
+
import { MultiSelect as ne } from "./components/multi-select/MultiSelect.js";
|
|
57
|
+
import { SegmentedControl as re } from "./components/segmented-control/SegmentedControl.js";
|
|
58
|
+
import { Calendar as ie } from "./components/calendar/Calendar.js";
|
|
59
|
+
import { AvatarGroup as ae } from "./components/avatar/AvatarGroup.js";
|
|
60
|
+
import { TableNumberCell as oe } from "./components/tabular/TableNumberCell.js";
|
|
61
|
+
import { TableCell as se } from "./components/tabular/TableCell.js";
|
|
62
|
+
import { DatePicker as ce } from "./components/date-picker/DatePicker.js";
|
|
63
|
+
import { Select as le } from "./components/select/Select.js";
|
|
64
|
+
import { TableEditCell as ue } from "./components/tabular/TableEditCell.js";
|
|
65
|
+
import { TableRowActions as de } from "./components/tabular/TableRowActions.js";
|
|
66
|
+
import { TableSummary as fe } from "./components/table/TableSummary.js";
|
|
67
|
+
import { TablePresetFilters as pe } from "./components/table/TablePresetFilters.js";
|
|
68
|
+
import { DataGrid as me } from "./components/data-grid/DataGrid.js";
|
|
69
|
+
import { Sheet as he } from "./components/sheet/Sheet.js";
|
|
70
|
+
import { SideNav as $ } from "./components/side-nav/SideNav.js";
|
|
71
|
+
import { Alert as ge } from "./components/alert/Alert.js";
|
|
72
|
+
import { Tree as _e } from "./components/tree/Tree.js";
|
|
73
|
+
import { ConfirmDialog as ve } from "./components/dialog/ConfirmDialog.js";
|
|
74
74
|
import { OTP as ye } from "./components/otp/OTP.js";
|
|
75
75
|
import { DescriptionList as be } from "./components/description-list/DescriptionList.js";
|
|
76
76
|
import { List as xe } from "./components/list/List.js";
|
|
@@ -100,4 +100,4 @@ import { DragHandle as We } from "./components/drag-handle/DragHandle.js";
|
|
|
100
100
|
/* empty css */
|
|
101
101
|
import { DirectionProvider as Ge } from "./direction-provider.js";
|
|
102
102
|
import * as Ke from "./components/assets/namespaces/index.js";
|
|
103
|
-
export { Me as Accordion, z as ActionCard, Ee as AddressInput,
|
|
103
|
+
export { Me as Accordion, z as ActionCard, Ee as AddressInput, ge as Alert, M as ApprovalCard, r as ArtifactCard, d as ArtifactPanel, h as Attachment, _ as AttachmentGroup, O as AttachmentValidation, f as Avatar, ae as AvatarGroup, te as Badge, ze as Banner, ke as Breadcrumb, t as Button, ie as Calendar, k as Card, U as ChainOfThought, g as Checkbox, V as CodeBlock, K as Composer, W as ComposerContext, ve as ConfirmDialog, R as Conversation, me as DataGrid, ce as DatePicker, be as DescriptionList, m as Dialog, Ge as DirectionProvider, Te as DistributionBar, We as DragHandle, c as Dropdown, l as EmptyState, E as FileCard, D as FileUpload, ee as IconButton, Ke as Icons, Y as InlineReference, s as Input, xe as List, Se as ListGroup, Ce as ListTask, F as Message, ne as MultiSelect, ye as OTP, I as OutputList, De as PhoneInput, w as Pill, N as PlanReviewCard, o as Popover, i as PopoverGroup, T as ProgressBar, n as ProgressRing, j as QuestionCard, He as RadioGroup, B as Reasoning, u as ResizeHandle, A as ResponseRecap, L as RunList, X as Search, re as SegmentedControl, le as Select, p as Separator, we as SettingRow, he as Sheet, $ as SideNav, $ as Sidebar, a as Skeleton, Ie as SkeletonCard, Le as SkeletonGroup, Re as SkeletonListRow, Fe as SkeletonText, Z as SplitButton, Ne as StatCard, je as Stepper, q as SuggestedPrompt, J as SuggestedPromptGroup, Ue as Switch, Q as Table, se as TableCell, ue as TableEditCell, oe as TableNumberCell, pe as TablePresetFilters, de as TableRowActions, fe as TableSummary, Ae as Tabs, G as Tag, Oe as TagInput, b as TextArea, v as ThinkingIndicator, S as Thread, y as ThreadComment, C as ThreadEvent, x as ThreadReply, Ve as Toaster, H as ToolCall, e as Tooltip, Pe as TooltipProvider, _e as Tree, P as UploadRequestCard, Be as toast };
|