@k2b/ui 0.3.0 → 0.4.1
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/browser/actions/index.js +2 -2
- package/dist/browser/actions/index.js.map +1 -1
- package/dist/browser/chat/ChatComposer.js +1 -1
- package/dist/browser/chat/ChatComposer.js.map +1 -1
- package/dist/browser/chat/ChatContextPopup.js.map +1 -1
- package/dist/browser/chat/ChatPrimitives.js +2 -2
- package/dist/browser/chat/ChatPrimitives.js.map +1 -1
- package/dist/browser/chat/ChatTasks.js +1 -1
- package/dist/browser/chat/ChatTasks.js.map +1 -1
- package/dist/browser/chat/ChatTimeline.js +1 -1
- package/dist/browser/chat/ChatTimeline.js.map +1 -1
- package/dist/browser/chat/composer-document.js.map +1 -1
- package/dist/browser/chat/index.js.map +1 -1
- package/dist/browser/content/Chart.js +3 -3
- package/dist/browser/content/Chart.js.map +1 -1
- package/dist/browser/content/ChartExplorer.js +4 -4
- package/dist/browser/content/ChartExplorer.js.map +1 -1
- package/dist/browser/content/ChartExplorerControls.js +1 -1
- package/dist/browser/content/ChartExplorerControls.js.map +1 -1
- package/dist/browser/content/ChartFilterControls.js +2 -2
- package/dist/browser/content/ChartFilterControls.js.map +1 -1
- package/dist/browser/content/ChartSnapshotView.js +2 -1
- package/dist/browser/content/ChartSnapshotView.js.map +1 -1
- package/dist/browser/content/FileView.js +7 -3
- package/dist/browser/content/FileView.js.map +1 -1
- package/dist/browser/content/MarkdownView.js.map +1 -1
- package/dist/browser/content/Pagination.js.map +1 -1
- package/dist/browser/content/chart-explorer.js.map +1 -1
- package/dist/browser/content/chart-inspection.js.map +1 -1
- package/dist/browser/content/chart-line-gaps.js.map +1 -1
- package/dist/browser/content/chart-snapshot.js.map +1 -1
- package/dist/browser/content/file-view-preview.js.map +1 -1
- package/dist/browser/content/index.js +9 -9
- package/dist/browser/content/index.js.map +1 -1
- package/dist/browser/feedback/toast.js.map +1 -1
- package/dist/browser/inputs/ChoiceGroups.js.map +1 -1
- package/dist/browser/inputs/NumberInput.js +9 -1
- package/dist/browser/inputs/NumberInput.js.map +1 -1
- package/dist/browser/inputs/Select.js.map +1 -1
- package/dist/browser/inputs/markdown/behaviors.js +1 -1
- package/dist/browser/inputs/markdown/behaviors.js.map +1 -1
- package/dist/browser/layout/AppWorkspace.js +264 -248
- package/dist/browser/layout/AppWorkspace.js.map +1 -1
- package/dist/browser/layout/DetailPanel.js +1 -1
- package/dist/browser/layout/DetailPanel.js.map +1 -1
- package/dist/browser/layout/ScrollArea.js.map +1 -1
- package/dist/browser/layout/SidebarItemPreview.js +1 -1
- package/dist/browser/layout/SidebarItemPreview.js.map +1 -1
- package/dist/browser/layout/app-workspace-controller.js +1 -1
- package/dist/browser/layout/app-workspace-controller.js.map +1 -1
- package/dist/browser/layout/app-workspace-state.js.map +1 -1
- package/dist/browser/layout/index.js +3 -3
- package/dist/browser/layout/index.js.map +1 -1
- package/dist/ssr/actions/index.js +2 -2
- package/dist/ssr/actions/index.js.map +1 -1
- package/dist/ssr/chat/ChatComposer.js +1 -1
- package/dist/ssr/chat/ChatComposer.js.map +1 -1
- package/dist/ssr/chat/ChatContextPopup.js.map +1 -1
- package/dist/ssr/chat/ChatPrimitives.js +2 -2
- package/dist/ssr/chat/ChatPrimitives.js.map +1 -1
- package/dist/ssr/chat/ChatTasks.js +1 -1
- package/dist/ssr/chat/ChatTasks.js.map +1 -1
- package/dist/ssr/chat/ChatTimeline.js +1 -1
- package/dist/ssr/chat/ChatTimeline.js.map +1 -1
- package/dist/ssr/chat/composer-document.js.map +1 -1
- package/dist/ssr/chat/index.js.map +1 -1
- package/dist/ssr/content/Chart.js +3 -3
- package/dist/ssr/content/Chart.js.map +1 -1
- package/dist/ssr/content/ChartExplorer.js +4 -4
- package/dist/ssr/content/ChartExplorer.js.map +1 -1
- package/dist/ssr/content/ChartExplorerControls.js +1 -1
- package/dist/ssr/content/ChartExplorerControls.js.map +1 -1
- package/dist/ssr/content/ChartFilterControls.js +2 -2
- package/dist/ssr/content/ChartFilterControls.js.map +1 -1
- package/dist/ssr/content/ChartSnapshotView.js +2 -1
- package/dist/ssr/content/ChartSnapshotView.js.map +1 -1
- package/dist/ssr/content/FileView.js +7 -3
- package/dist/ssr/content/FileView.js.map +1 -1
- package/dist/ssr/content/MarkdownView.js.map +1 -1
- package/dist/ssr/content/Pagination.js.map +1 -1
- package/dist/ssr/content/chart-explorer.js.map +1 -1
- package/dist/ssr/content/chart-inspection.js.map +1 -1
- package/dist/ssr/content/chart-line-gaps.js.map +1 -1
- package/dist/ssr/content/chart-snapshot.js.map +1 -1
- package/dist/ssr/content/file-view-preview.js.map +1 -1
- package/dist/ssr/content/index.js +9 -9
- package/dist/ssr/content/index.js.map +1 -1
- package/dist/ssr/feedback/toast.js.map +1 -1
- package/dist/ssr/inputs/ChoiceGroups.js.map +1 -1
- package/dist/ssr/inputs/NumberInput.js +9 -1
- package/dist/ssr/inputs/NumberInput.js.map +1 -1
- package/dist/ssr/inputs/Select.js.map +1 -1
- package/dist/ssr/inputs/markdown/behaviors.js +1 -1
- package/dist/ssr/inputs/markdown/behaviors.js.map +1 -1
- package/dist/ssr/layout/AppWorkspace.js +74 -62
- package/dist/ssr/layout/AppWorkspace.js.map +1 -1
- package/dist/ssr/layout/DetailPanel.js +1 -1
- package/dist/ssr/layout/DetailPanel.js.map +1 -1
- package/dist/ssr/layout/ScrollArea.js.map +1 -1
- package/dist/ssr/layout/SidebarItemPreview.js +1 -1
- package/dist/ssr/layout/SidebarItemPreview.js.map +1 -1
- package/dist/ssr/layout/app-workspace-controller.js +1 -1
- package/dist/ssr/layout/app-workspace-controller.js.map +1 -1
- package/dist/ssr/layout/app-workspace-state.js.map +1 -1
- package/dist/ssr/layout/index.js +3 -3
- package/dist/ssr/layout/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/actions/index.d.ts +4 -4
- package/dist/types/chat/ChatComposer.d.ts +1 -1
- package/dist/types/chat/index.d.ts +1 -1
- package/dist/types/content/Chart.d.ts +2 -2
- package/dist/types/content/ChartExplorer.d.ts +2 -2
- package/dist/types/content/ChartExplorerControls.d.ts +1 -1
- package/dist/types/content/ChartSnapshotView.d.ts +1 -1
- package/dist/types/content/chart-inspection.d.ts +1 -1
- package/dist/types/content/index.d.ts +15 -15
- package/dist/types/inputs/NumberInput.d.ts +2 -0
- package/dist/types/layout/AppWorkspace.d.ts +1 -1
- package/dist/types/layout/SidebarItemPreview.d.ts +1 -1
- package/dist/types/layout/index.d.ts +3 -3
- package/package.json +2 -4
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export type { ButtonLinkProps, ButtonProps, ButtonSize, ButtonVariant, IconButtonLinkProps, IconButtonProps } from "./Button";
|
|
2
2
|
export { Button, ButtonLink, IconButton, IconButtonLink } from "./Button";
|
|
3
|
+
export type { ContextMenuProps } from "./ContextMenu";
|
|
4
|
+
export { ContextMenu } from "./ContextMenu";
|
|
3
5
|
export type { CopyButtonProps, CopyButtonValue } from "./CopyButton";
|
|
4
6
|
export { CopyButton } from "./CopyButton";
|
|
5
7
|
export type { DisclosureProps } from "./Disclosure";
|
|
@@ -8,16 +10,14 @@ export type { DropdownAction, DropdownActionBase, DropdownChoice, DropdownItemPr
|
|
|
8
10
|
export { Dropdown, DropdownItem, dropdownPosition } from "./Dropdown";
|
|
9
11
|
export type { FilterChipOption, FilterChipProps, FilterChipSection } from "./FilterChip";
|
|
10
12
|
export { FilterChip } from "./FilterChip";
|
|
11
|
-
export type { ContextMenuProps } from "./ContextMenu";
|
|
12
|
-
export { ContextMenu } from "./ContextMenu";
|
|
13
13
|
export type { RemoveButtonProps } from "./RemoveButton";
|
|
14
14
|
export { RemoveButton } from "./RemoveButton";
|
|
15
|
-
export type { SpotlightButtonProps, SpotlightButtonVariant, SpotlightSearchOptions, SpotlightSearchResolver, } from "./SpotlightSearch";
|
|
16
|
-
export { openSpotlightSearch, SpotlightButton, } from "./SpotlightSearch";
|
|
17
15
|
export type { SegmentedControlProps, SegmentOption } from "./SegmentedControl";
|
|
18
16
|
export { SegmentedControl } from "./SegmentedControl";
|
|
19
17
|
export type { SplitButtonProps } from "./SplitButton";
|
|
20
18
|
export { SplitButton } from "./SplitButton";
|
|
19
|
+
export type { SpotlightButtonProps, SpotlightButtonVariant, SpotlightSearchOptions, SpotlightSearchResolver, } from "./SpotlightSearch";
|
|
20
|
+
export { openSpotlightSearch, SpotlightButton, } from "./SpotlightSearch";
|
|
21
21
|
export type { TabOption, TabsItemProps, TabsProps } from "./Tabs";
|
|
22
22
|
export { Tabs } from "./Tabs";
|
|
23
23
|
export type { ToolbarGroupProps, ToolbarProps, ToolbarSeparatorProps } from "./Toolbar";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type JSX } from "solid-js";
|
|
2
|
-
import type { ChatAction, ChatAttachment,
|
|
2
|
+
import type { ChatAction, ChatAttachment, ChatComposerState, ChatContextUsageData, ChatMention, ChatModelOption, ChatSubmitInput } from "./types";
|
|
3
3
|
export type ChatCommandContext = {
|
|
4
4
|
setValue: (value: string) => void;
|
|
5
5
|
submit: () => void;
|
|
@@ -11,7 +11,7 @@ export type { ChatActivityProps, ChatContextUsageProps, ChatMessageProps } from
|
|
|
11
11
|
export { formatChatTokens } from "./ChatPrimitives";
|
|
12
12
|
export type { ChatRootProps } from "./ChatRoot";
|
|
13
13
|
export type { ChatActivityItem, ChatMessageItem, ChatTimelineItem, ChatTimelineProps } from "./ChatTimeline";
|
|
14
|
-
export type { ChatAction, ChatActivityTone, ChatAttachment,
|
|
14
|
+
export type { ChatAction, ChatActivityTone, ChatAttachment, ChatComposerState, ChatContextUsageData, ChatMention, ChatMessageStatus, ChatModelOption, ChatRole, ChatSubmitInput, ChatSubmitIntent, ChatUsage, } from "./types";
|
|
15
15
|
/**
|
|
16
16
|
* Portable, controlled chat surface. Applications own storage, streaming,
|
|
17
17
|
* authorization, rich message rendering, and domain actions.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ChartCursor } from "./chart-cursor";
|
|
2
1
|
import type { MapViewport } from "@k2b/stdlib";
|
|
3
2
|
import { charts } from "@k2b/stdlib";
|
|
4
3
|
import type { JSX } from "solid-js";
|
|
5
|
-
import
|
|
4
|
+
import type { ChartCursor } from "./chart-cursor";
|
|
5
|
+
import { type ChartDatumRef, type ChartSelection, type ChartTooltipFormatter } from "./chart-inspection";
|
|
6
6
|
import { type StateTimelineChartOptions, type StateTimelineDomain } from "./chart-state-timeline";
|
|
7
7
|
/**
|
|
8
8
|
* Chart — minimal Solid wrapper around `stdlib.charts`.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { ChartCursor } from "./chart-cursor";
|
|
2
1
|
import { type JSX } from "solid-js";
|
|
3
|
-
import {
|
|
2
|
+
import type { ChartCursor } from "./chart-cursor";
|
|
4
3
|
import { type ChartExplorerData, type ChartExplorerRow } from "./chart-explorer";
|
|
4
|
+
import { type DataTableSort } from "./DataTable";
|
|
5
5
|
export type ChartExplorerColumn<T> = {
|
|
6
6
|
id: string;
|
|
7
7
|
label: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ChartFilterControlsProps } from "./ChartFilterControls";
|
|
2
|
-
import type {
|
|
2
|
+
import type { ChartExplorerCharts, ChartExplorerController } from "./chart-explorer";
|
|
3
3
|
export type ChartExplorerControlsProps<C extends ChartExplorerCharts> = {
|
|
4
4
|
explorer: ChartExplorerController<C>;
|
|
5
5
|
title: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ChartCursor } from "./chart-cursor";
|
|
2
1
|
import { type JSX } from "solid-js";
|
|
2
|
+
import type { ChartCursor } from "./chart-cursor";
|
|
3
3
|
import type { ChartSnapshot } from "./chart-snapshot";
|
|
4
4
|
/** Internal display for server-prepared geometry. Viewports are snapshot-owned. */
|
|
5
5
|
export declare function ChartSnapshotView(props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ChartCursor } from "./chart-cursor";
|
|
2
1
|
import type { ChartDatum } from "@k2b/stdlib";
|
|
3
2
|
import type { ChartKind } from "./Chart";
|
|
3
|
+
import type { ChartCursor } from "./chart-cursor";
|
|
4
4
|
export type ChartDatumRef = Pick<ChartDatum, "role" | "index" | "seriesIndex">;
|
|
5
5
|
export declare const sameChartDatum: (a: ChartDatumRef, b: ChartDatumRef) => boolean;
|
|
6
6
|
export type ChartSelection = {
|
|
@@ -1,23 +1,36 @@
|
|
|
1
1
|
export type { CalendarAttendee, CalendarDayBadge, CalendarEvent, CalendarEventColor, CalendarEventRenderContext, CalendarEventTimeChange, CalendarLabels, CalendarProps, CalendarRecurrence, CalendarResource, CalendarView, } from "./Calendar";
|
|
2
2
|
export { default as Calendar } from "./Calendar";
|
|
3
3
|
export type { ChartKind, ChartLabels, ChartProps, ChartRenderOptions } from "./Chart";
|
|
4
|
-
export type { ChartDatumRef, ChartSelection, ChartTooltip, ChartTooltipFormatter } from "./chart-inspection";
|
|
5
4
|
export { default as Chart } from "./Chart";
|
|
5
|
+
export type { ChartExplorerColumn, ChartExplorerProps } from "./ChartExplorer";
|
|
6
|
+
export { ChartExplorer } from "./ChartExplorer";
|
|
7
|
+
export type { ChartExplorerControlsProps } from "./ChartExplorerControls";
|
|
8
|
+
export { ChartExplorerControls } from "./ChartExplorerControls";
|
|
9
|
+
export { ChartFilterControls, type ChartFilterControlsProps } from "./ChartFilterControls";
|
|
10
|
+
export { ChartSnapshotView } from "./ChartSnapshotView";
|
|
6
11
|
export type { CodeDisplayLanguage, CodeDisplayProps } from "./CodeDisplay";
|
|
7
12
|
export { default as CodeDisplay } from "./CodeDisplay";
|
|
13
|
+
export { type ChartCursor, createChartCursor } from "./chart-cursor";
|
|
14
|
+
export type { ChartExplorerCharts, ChartExplorerController, ChartExplorerData, ChartExplorerOptions, ChartExplorerRequest, ChartExplorerRow, ChartExplorerSnapshot, } from "./chart-explorer";
|
|
15
|
+
export { createChartExplorer } from "./chart-explorer";
|
|
16
|
+
export type { ChartDatumRef, ChartSelection, ChartTooltip, ChartTooltipFormatter } from "./chart-inspection";
|
|
17
|
+
export type { ChartSnapshot } from "./chart-snapshot";
|
|
18
|
+
export { prepareChartSnapshot } from "./chart-snapshot";
|
|
8
19
|
export type { StateTimelineChartOptions, StateTimelineDomain, StateTimelineInterval, StateTimelineRow, StateTimelineState, } from "./chart-state-timeline";
|
|
20
|
+
export { type CollectionSelection, createCollectionSelection, type SelectionModifiers } from "./collection-selection";
|
|
9
21
|
export type { DataTableColumn, DataTableControlsProps, DataTableFooter, DataTableHeaderProps, DataTablePanelFooterProps, DataTablePanelProps, DataTableProps, DataTableRenderCell, DataTableRenderHeader, DataTableSort, } from "./DataTable";
|
|
10
22
|
export { default as DataTable } from "./DataTable";
|
|
11
23
|
export type { DocCodeHighlighter, DocCodeProps, DocConcept, DocNoteVariant, DocRow } from "./Docs";
|
|
12
24
|
export { DocCode, DocConceptGrid, DocInlineCode, DocLead, DocNote, DocPage, DocRows, DocSection } from "./Docs";
|
|
13
25
|
export { FileBrowserPanel, type FileBrowserPanelProps, type FileSource, openFileBrowser } from "./FileBrowser";
|
|
26
|
+
export { FileGrid, type FileGridProps } from "./FileGrid";
|
|
14
27
|
export { default as FileTree, type FileTreeActions, type FileTreeEntry, type FileTreeProps } from "./FileTree";
|
|
15
28
|
export { canPreviewFile, default as FileView, type FileViewContent, type FileViewFile, type FileViewPreviewKind, type FileViewProps, type FileViewRenderer, type FileViewRendererProps, formatFileViewSize, getFileViewPreviewKind, } from "./FileView";
|
|
16
29
|
export type { LightboxImage } from "./Lightbox";
|
|
17
30
|
export { default as Lightbox } from "./Lightbox";
|
|
18
31
|
export type { LogTableEntry } from "./LogEntriesTable";
|
|
19
32
|
export { default as LogEntriesTable } from "./LogEntriesTable";
|
|
20
|
-
export { default as MarkdownView,
|
|
33
|
+
export { default as MarkdownView, type MarkdownRenderOptions, type MarkdownViewProps, renderSafeMarkdown } from "./MarkdownView";
|
|
21
34
|
export { Pagination, type PaginationProps } from "./Pagination";
|
|
22
35
|
export type { PdfPreviewProps, PdfPreviewRequest } from "./PdfPreview";
|
|
23
36
|
export { default as PdfPreview } from "./PdfPreview";
|
|
@@ -25,16 +38,3 @@ export type { RangeOption, RangePickerProps } from "./RangePicker";
|
|
|
25
38
|
export { default as RangePicker } from "./RangePicker";
|
|
26
39
|
export type { StructuredDataPreviewMode, StructuredDataPreviewProps, StructuredDataValue } from "./StructuredDataPreview";
|
|
27
40
|
export { default as StructuredDataPreview, isStructuredDataValue } from "./StructuredDataPreview";
|
|
28
|
-
export { ChartExplorer } from "./ChartExplorer";
|
|
29
|
-
export type { ChartExplorerProps, ChartExplorerColumn } from "./ChartExplorer";
|
|
30
|
-
export { prepareChartSnapshot } from "./chart-snapshot";
|
|
31
|
-
export type { ChartSnapshot } from "./chart-snapshot";
|
|
32
|
-
export { createChartExplorer } from "./chart-explorer";
|
|
33
|
-
export type { ChartExplorerRequest, ChartExplorerRow, ChartExplorerData, ChartExplorerCharts, ChartExplorerSnapshot, ChartExplorerOptions, ChartExplorerController, } from "./chart-explorer";
|
|
34
|
-
export { ChartExplorerControls } from "./ChartExplorerControls";
|
|
35
|
-
export type { ChartExplorerControlsProps } from "./ChartExplorerControls";
|
|
36
|
-
export { createChartCursor, type ChartCursor } from "./chart-cursor";
|
|
37
|
-
export { ChartSnapshotView } from "./ChartSnapshotView";
|
|
38
|
-
export { ChartFilterControls, type ChartFilterControlsProps } from "./ChartFilterControls";
|
|
39
|
-
export { type CollectionSelection, createCollectionSelection, type SelectionModifiers } from "./collection-selection";
|
|
40
|
-
export { FileGrid, type FileGridProps } from "./FileGrid";
|
|
@@ -3,7 +3,9 @@ import type { ValueFieldProps } from "./field-contract";
|
|
|
3
3
|
export type NumberInputProps = Omit<JSX.InputHTMLAttributes<HTMLInputElement>, "max" | "min" | "onChange" | "onInput" | "prefix" | "step" | "type" | "value" | keyof ValueFieldProps<number | null>> & ValueFieldProps<number | null> & {
|
|
4
4
|
max?: number;
|
|
5
5
|
min?: number;
|
|
6
|
+
/** Stepper increment and commit grid; defaults to `1`. A fractional step also sets the default `decimalPlaces`. */
|
|
6
7
|
step?: number;
|
|
8
|
+
/** Accepted fraction digits. Defaults to the fraction digits of `step` (`0.01` → `2`, `1` → `0`); an explicit value wins. */
|
|
7
9
|
decimalPlaces?: number;
|
|
8
10
|
allowNegative?: boolean;
|
|
9
11
|
clearable?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { ScrollAreaProps } from "./ScrollArea";
|
|
2
1
|
import { type LinkNavigateEvent, type NavigationScrollMode } from "@k2b/ssr/nav";
|
|
3
2
|
import { type JSX } from "solid-js";
|
|
4
3
|
import { type AppWorkspaceLayoutState } from "./app-workspace-state";
|
|
4
|
+
import type { ScrollAreaProps } from "./ScrollArea";
|
|
5
5
|
export type AppWorkspaceProps = {
|
|
6
6
|
children: JSX.Element;
|
|
7
7
|
class?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type ScrollAreaProps } from "./ScrollArea";
|
|
2
1
|
import { type JSX } from "solid-js";
|
|
2
|
+
import { type ScrollAreaProps } from "./ScrollArea";
|
|
3
3
|
/** A non-modal, interactive row preview. Native popover owns light dismissal. */
|
|
4
4
|
export declare function SidebarItemPreview(props: {
|
|
5
5
|
label: string;
|
|
@@ -6,6 +6,7 @@ export type { AppWorkspaceControllerOptions } from "./app-workspace-controller";
|
|
|
6
6
|
export { installAppWorkspaceController } from "./app-workspace-controller";
|
|
7
7
|
export type { AppWorkspaceLayoutState, AppWorkspaceResizeKind, } from "./app-workspace-state";
|
|
8
8
|
export { APP_WORKSPACE_DETAIL_DEFAULT, APP_WORKSPACE_DETAIL_MAX, APP_WORKSPACE_DETAIL_MIN, APP_WORKSPACE_DRAWER_DEFAULT, APP_WORKSPACE_DRAWER_MAX, APP_WORKSPACE_DRAWER_MIN, APP_WORKSPACE_MAIN_MIN, APP_WORKSPACE_MAIN_MIN_HEIGHT, APP_WORKSPACE_PANE_DEFAULT, APP_WORKSPACE_PANE_MAX, APP_WORKSPACE_PANE_MIN, APP_WORKSPACE_SIDEBAR_COLLAPSE_THRESHOLD, APP_WORKSPACE_SIDEBAR_COLLAPSED, APP_WORKSPACE_SIDEBAR_DEFAULT, APP_WORKSPACE_SIDEBAR_MAX, APP_WORKSPACE_SIDEBAR_MIN, appWorkspaceLayoutStyle, appWorkspacePanelVariable, appWorkspaceResizeLimits, normalizeAppWorkspaceLayoutState, parseAppWorkspaceLayoutState, resolveAppWorkspaceSidebarWidth, safeAppWorkspacePanelId, serializeAppWorkspaceLayoutState, shouldCollapseAppWorkspaceSidebar, } from "./app-workspace-state";
|
|
9
|
+
export { type BottomSheetProps, bottomSheetOptions, default as BottomSheet } from "./BottomSheet";
|
|
9
10
|
export type { DataPanelProps } from "./DataPanel";
|
|
10
11
|
export { DataPanel } from "./DataPanel";
|
|
11
12
|
export type { DetailPanelActionButtonProps, DetailPanelActionLinkProps, DetailPanelActionProps, DetailPanelBodyProps, DetailPanelGroupProps, DetailPanelHeaderProps, DetailPanelProps, DetailPanelSectionProps, DetailPanelSummaryProps, DetailPanelTone, } from "./DetailPanel";
|
|
@@ -14,6 +15,8 @@ export type { DiscussionComposerProps, DiscussionItemProps, DiscussionListProps,
|
|
|
14
15
|
export { default as Discussion } from "./Discussion";
|
|
15
16
|
export type { FloatingWindowClose, FloatingWindowProps, OpenFloatingWindowOptions, } from "./FloatingWindow";
|
|
16
17
|
export { default as FloatingWindow, type FloatingWindowRect, fitFloatingWindowRect, openFloatingWindow, } from "./FloatingWindow";
|
|
18
|
+
export { default as Navigation, type NavigationProps } from "./Navigation";
|
|
19
|
+
export { createNavigation, findNavigationItem, type NavigationController, type NavigationItem, type NavigationOptions, } from "./navigation-model";
|
|
17
20
|
export type { PanelDialogBodyProps, PanelDialogFooterProps, PanelDialogHeaderProps, PanelDialogProps, PanelDialogSectionProps, PanelDialogSurface, PanelDialogTabOption, PanelDialogTabsProps, } from "./PanelDialog";
|
|
18
21
|
export { confirmDiscardIfDirty, default as PanelDialog, panelDialogFixedOptions, panelDialogFixedPanelClass, panelDialogOptions, panelDialogPanelClass, panelDialogWideOptions, panelDialogWidePanelClass, panelDialogWorkspaceOptions, panelDialogWorkspacePanelClass, } from "./PanelDialog";
|
|
19
22
|
export type { PanelHeaderProps } from "./PanelHeader";
|
|
@@ -30,6 +33,3 @@ export type { SettingsCollectionActionProps, SettingsCollectionItemActionsProps,
|
|
|
30
33
|
export { default as SettingsCollection } from "./SettingsCollection";
|
|
31
34
|
export type { SettingsModalFooterProps, SettingsModalGroupProps, SettingsModalProps, SettingsModalTabProps, SettingsModalTabTone, } from "./SettingsModal";
|
|
32
35
|
export { default as SettingsModal } from "./SettingsModal";
|
|
33
|
-
export { default as BottomSheet, bottomSheetOptions, type BottomSheetProps } from "./BottomSheet";
|
|
34
|
-
export { default as Navigation, type NavigationProps } from "./Navigation";
|
|
35
|
-
export { createNavigation, findNavigationItem, type NavigationController, type NavigationItem, type NavigationOptions } from "./navigation-model";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k2b/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Production-ready components for SolidJS applications.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,9 +34,7 @@
|
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "bun run scripts/build.ts",
|
|
36
36
|
"check:declarations": "bun run scripts/check-declarations.ts",
|
|
37
|
-
"check:packed-consumer": "bun run build && bun run scripts/check-packed-consumer.ts",
|
|
38
37
|
"fixture:build": "bun run build && NODE_ENV=production bun run fixture/scripts/build.ts",
|
|
39
|
-
"fixture:dev": "NODE_ENV=development bun --preload ./fixture/src/preload.ts ./fixture/src/server.ts",
|
|
40
38
|
"fixture:typecheck": "tsc -p fixture/tsconfig.json --noEmit --pretty false",
|
|
41
39
|
"test": "bun run build && bun test src scripts && bun run test:dom && bun run scripts/check-packed-consumer.ts",
|
|
42
40
|
"test:dom": "bun test --isolate --conditions=browser --preload ./test/solid-dom-preload.ts ./test",
|
|
@@ -63,7 +61,7 @@
|
|
|
63
61
|
"@types/bun": "1.4.2",
|
|
64
62
|
"babel-preset-solid": "1.9.12",
|
|
65
63
|
"bun-plugin-tailwind": "0.1.2",
|
|
66
|
-
"happy-dom": "20.11.
|
|
64
|
+
"happy-dom": "20.11.2",
|
|
67
65
|
"hono": "4.12.32",
|
|
68
66
|
"seroval": "1.6.0",
|
|
69
67
|
"solid-js": "1.9.14",
|