@stll/ui 0.26.3 → 0.26.5

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 (87) hide show
  1. package/dist/calendar/primitives.d.ts +7 -8
  2. package/dist/calendar/resource-calendar.d.ts +6 -7
  3. package/dist/calendar/resource-calendar.logic.d.ts +9 -10
  4. package/dist/components/application-rail.d.ts +11 -12
  5. package/dist/components/bidi-text.d.ts +3 -3
  6. package/dist/components/brand-icons.d.ts +3 -4
  7. package/dist/components/button-variants.d.ts +5 -6
  8. package/dist/components/command.d.ts +1 -1
  9. package/dist/components/composer.d.ts +18 -19
  10. package/dist/components/context-menu.d.ts +4 -5
  11. package/dist/components/date-picker-popover.js +20 -18
  12. package/dist/components/date-picker-popover.logic.d.ts +6 -7
  13. package/dist/components/dialog.d.ts +1 -1
  14. package/dist/components/directional-icon.d.ts +2 -3
  15. package/dist/components/input-control.d.ts +4 -5
  16. package/dist/components/landing.d.ts +10 -11
  17. package/dist/components/menu.d.ts +1 -1
  18. package/dist/components/outline-rail.d.ts +4 -5
  19. package/dist/components/preview-card.d.ts +4 -4
  20. package/dist/components/scroll-to-top.d.ts +3 -4
  21. package/dist/components/segmented-icon-toggle.d.ts +2 -3
  22. package/dist/components/sheet.d.ts +1 -1
  23. package/dist/components/sidebar.d.ts +4 -4
  24. package/dist/components/sidebar.logic.d.ts +7 -8
  25. package/dist/components/stella-mark.d.ts +2 -3
  26. package/dist/components/stella-wordmark.d.ts +2 -3
  27. package/dist/components/tooltip.d.ts +1 -1
  28. package/dist/components/workspace-shell.d.ts +3 -3
  29. package/dist/data-table/schema.d.ts +11 -12
  30. package/dist/data-table/table.d.ts +8 -9
  31. package/dist/hooks/use-contained-handler.d.ts +3 -4
  32. package/dist/hooks/use-content-dir.d.ts +4 -5
  33. package/dist/hooks/use-latest.d.ts +2 -3
  34. package/dist/hooks/use-mobile.d.ts +2 -3
  35. package/dist/hooks/use-viewport-width.d.ts +2 -3
  36. package/dist/index.d.ts +2 -2
  37. package/dist/inspector/chrome.d.ts +21 -22
  38. package/dist/inspector/dock.d.ts +11 -3
  39. package/dist/inspector/dock.js +7 -2
  40. package/dist/inspector/entity-tab.d.ts +4 -5
  41. package/dist/inspector/entity-tab.logic.d.ts +4 -5
  42. package/dist/inspector/facet-bar.d.ts +3 -4
  43. package/dist/inspector/facet-bar.logic.d.ts +4 -5
  44. package/dist/inspector/index.d.ts +2 -2
  45. package/dist/inspector/layout-tokens.d.ts +8 -9
  46. package/dist/inspector/pane-width.d.ts +21 -12
  47. package/dist/inspector/pane-width.js +12 -2
  48. package/dist/inspector/tabs.d.ts +7 -8
  49. package/dist/inspector/use-pane-width.d.ts +15 -10
  50. package/dist/inspector/use-pane-width.js +9 -3
  51. package/dist/kanban/band-peek.d.ts +7 -8
  52. package/dist/kanban/card-properties.d.ts +3 -4
  53. package/dist/kanban/card-shell.d.ts +3 -4
  54. package/dist/kanban/cell-action.d.ts +3 -4
  55. package/dist/kanban/column-band-header.d.ts +4 -5
  56. package/dist/kanban/column-bands.d.ts +9 -10
  57. package/dist/kanban/column-header.d.ts +3 -4
  58. package/dist/kanban/drag-interactions.d.ts +7 -8
  59. package/dist/kanban/grouping.d.ts +14 -15
  60. package/dist/kanban/layout-tokens.d.ts +6 -7
  61. package/dist/kanban/matrix.d.ts +20 -21
  62. package/dist/kanban/sortable-edge.d.ts +7 -8
  63. package/dist/kanban/sortable-interactions.d.ts +27 -27
  64. package/dist/kanban/sortable-interactions.logic.d.ts +14 -15
  65. package/dist/kanban/sticky-lane.d.ts +10 -11
  66. package/dist/kanban/subgroup-board.d.ts +10 -11
  67. package/dist/kanban/subgroup-board.js +8 -4
  68. package/dist/kanban/touch-identity.d.ts +2 -3
  69. package/dist/kanban/virtual-cell.d.ts +6 -7
  70. package/dist/lib/button-disposition.d.ts +6 -7
  71. package/dist/lib/control-size.d.ts +1 -1
  72. package/dist/lib/initials.d.ts +2 -3
  73. package/dist/lib/option-color.d.ts +6 -7
  74. package/dist/lib/overlay-layer.d.ts +6 -7
  75. package/dist/lib/positioner-sizing.d.ts +3 -4
  76. package/dist/lib/tab-order.d.ts +2 -3
  77. package/dist/lib/tooltip-content.d.ts +2 -3
  78. package/dist/lib/utils.d.ts +3 -4
  79. package/dist/lib/week.d.ts +4 -5
  80. package/dist/review/review-author-avatar.d.ts +3 -4
  81. package/dist/review/review-comment-card.d.ts +3 -4
  82. package/dist/review/review-decision-actions.d.ts +4 -5
  83. package/dist/review/review-diff-text.d.ts +9 -10
  84. package/dist/review/review-out-of-date-notice.d.ts +4 -5
  85. package/dist/review/review-severity-dot.d.ts +5 -6
  86. package/dist/review/review-status-badge.d.ts +5 -6
  87. package/package.json +8 -8
@@ -1,32 +1,32 @@
1
1
  import { KanbanGroup, KanbanGrouping } from "./grouping.js";
2
2
  //#region src/kanban/matrix.d.ts
3
3
  /** Which axis of a board a grouping controls. */
4
- declare const KANBAN_BOARD_AXES: {
4
+ export declare const KANBAN_BOARD_AXES: {
5
5
  readonly group: "group";
6
6
  readonly subgroup: "subgroup";
7
7
  };
8
- type KanbanBoardAxis = (typeof KANBAN_BOARD_AXES)[keyof typeof KANBAN_BOARD_AXES];
8
+ export type KanbanBoardAxis = (typeof KANBAN_BOARD_AXES)[keyof typeof KANBAN_BOARD_AXES];
9
9
  /** The optional horizontal swimlane dimension is intentionally explicit. */
10
- type KanbanBoardLane = {
10
+ export type KanbanBoardLane = {
11
11
  type: "none";
12
12
  } | {
13
13
  group: KanbanGroup;
14
14
  type: "group";
15
15
  };
16
- type KanbanBoardCoordinate = {
16
+ export type KanbanBoardCoordinate = {
17
17
  column: KanbanBoardColumn;
18
18
  lane: KanbanBoardLane;
19
19
  };
20
- type KanbanBoardCell<TRow> = {
20
+ export type KanbanBoardCell<TRow> = {
21
21
  coordinate: KanbanBoardCoordinate;
22
22
  rows: TRow[];
23
23
  };
24
24
  /** A non-grouping destination rendered as a terminal board column. */
25
- type KanbanBoardDestination = {
25
+ export type KanbanBoardDestination = {
26
26
  id: string;
27
27
  label: string;
28
28
  };
29
- type KanbanBoardColumn = {
29
+ export type KanbanBoardColumn = {
30
30
  group: KanbanGroup;
31
31
  type: "group";
32
32
  } | {
@@ -38,17 +38,17 @@ type KanbanBoardColumn = {
38
38
  * of it, but it must not derive cards independently: every board row is in
39
39
  * exactly one cell here before that presentation step.
40
40
  */
41
- type KanbanBoardMatrix<TRow> = {
41
+ export type KanbanBoardMatrix<TRow> = {
42
42
  cells: KanbanBoardCell<TRow>[];
43
43
  columns: KanbanBoardColumn[];
44
44
  lanes: KanbanBoardLane[];
45
45
  rows: TRow[];
46
46
  };
47
- type ResolveKanbanGroupValueParams<TRow, TProperty, TGroupId extends string = string> = {
47
+ export type ResolveKanbanGroupValueParams<TRow, TProperty, TGroupId extends string = string> = {
48
48
  grouping: KanbanGrouping<TRow, TProperty, TGroupId>;
49
49
  row: TRow;
50
50
  };
51
- type BuildKanbanBoardMatrixParams<TRow, TProperty, TGroupId extends string = string> = {
51
+ export type BuildKanbanBoardMatrixParams<TRow, TProperty, TGroupId extends string = string> = {
52
52
  /** The vertical board columns. This must be a renderable grouping. */
53
53
  group: KanbanGrouping<TRow, TProperty, TGroupId>;
54
54
  /** Optional horizontal swimlanes. `none` makes this a one-lane board. */
@@ -59,29 +59,29 @@ type BuildKanbanBoardMatrixParams<TRow, TProperty, TGroupId extends string = str
59
59
  uncategorizedLabel: string;
60
60
  resolveGroupValue: (params: ResolveKanbanGroupValueParams<TRow, TProperty, TGroupId>) => string | null;
61
61
  };
62
- type OrderKanbanCellsByColumnsParams<TRow> = {
62
+ export type OrderKanbanCellsByColumnsParams<TRow> = {
63
63
  cells: readonly KanbanBoardCell<TRow>[];
64
64
  columns: readonly KanbanBoardColumn[];
65
65
  };
66
66
  /** Stable identity for a visible board column; group and destination domains stay distinct. */
67
- declare const getKanbanBoardColumnIdentity: (column: KanbanBoardColumn) => string;
67
+ export declare const getKanbanBoardColumnIdentity: (column: KanbanBoardColumn) => string;
68
68
  /** Stable identity for a swimlane; it can never alias a visible column. */
69
- declare const getKanbanBoardLaneIdentity: (lane: KanbanBoardLane) => string;
69
+ export declare const getKanbanBoardLaneIdentity: (lane: KanbanBoardLane) => string;
70
70
  /** Apply the visible header order to any lane's cells. */
71
- declare const orderKanbanCellsByColumns: <TRow>({ cells, columns }: OrderKanbanCellsByColumnsParams<TRow>) => KanbanBoardCell<TRow>[];
71
+ export declare const orderKanbanCellsByColumns: <TRow>({ cells, columns }: OrderKanbanCellsByColumnsParams<TRow>) => KanbanBoardCell<TRow>[];
72
72
  /**
73
73
  * Resolve the board's one source of placement truth.
74
74
  *
75
75
  * A subgroup never filters the primary board scope. A row outside a subgroup's
76
76
  * declared values goes to its explicit No value lane, rather than disappearing.
77
77
  */
78
- declare const buildKanbanBoardMatrix: <TRow, TProperty, TGroupId extends string = string>({ group, subgroup, destinations, rows, uncategorizedLabel, resolveGroupValue }: BuildKanbanBoardMatrixParams<TRow, TProperty, TGroupId>) => KanbanBoardMatrix<TRow>;
79
- type KanbanDropAxisChange<TGroupId extends string = string> = {
78
+ export declare const buildKanbanBoardMatrix: <TRow, TProperty, TGroupId extends string = string>({ group, subgroup, destinations, rows, uncategorizedLabel, resolveGroupValue }: BuildKanbanBoardMatrixParams<TRow, TProperty, TGroupId>) => KanbanBoardMatrix<TRow>;
79
+ export type KanbanDropAxisChange<TGroupId extends string = string> = {
80
80
  groupBy: TGroupId;
81
81
  value: string | null;
82
82
  };
83
83
  /** A complete, atomic move request for a domain mutation adapter. */
84
- type KanbanDropIntent<TCardId, TGroupId extends string = string> = {
84
+ export type KanbanDropIntent<TCardId, TGroupId extends string = string> = {
85
85
  cardId: TCardId;
86
86
  changes: readonly [KanbanDropAxisChange<TGroupId>, ...KanbanDropAxisChange<TGroupId>[]];
87
87
  type: "move";
@@ -90,7 +90,7 @@ type KanbanDropIntent<TCardId, TGroupId extends string = string> = {
90
90
  destination: KanbanBoardDestination;
91
91
  type: "destination";
92
92
  };
93
- type CreateKanbanDropIntentParams<TRow, TProperty, TCardId, TGroupId extends string = string> = {
93
+ export type CreateKanbanDropIntentParams<TRow, TProperty, TCardId, TGroupId extends string = string> = {
94
94
  cardId: TCardId;
95
95
  group: KanbanGrouping<TRow, TProperty, TGroupId>;
96
96
  source: KanbanBoardCoordinate;
@@ -102,6 +102,5 @@ type CreateKanbanDropIntentParams<TRow, TProperty, TCardId, TGroupId extends str
102
102
  * Diagonal drops carry both changes together; an adapter must commit this
103
103
  * intent atomically or reject it as a whole.
104
104
  */
105
- declare const createKanbanDropIntent: <TRow, TProperty, TCardId, TGroupId extends string = string>({ cardId, group, source, subgroup, target }: CreateKanbanDropIntentParams<TRow, TProperty, TCardId, TGroupId>) => KanbanDropIntent<TCardId, TGroupId> | null;
106
- //#endregion
107
- export { BuildKanbanBoardMatrixParams, CreateKanbanDropIntentParams, KANBAN_BOARD_AXES, KanbanBoardAxis, KanbanBoardCell, KanbanBoardColumn, KanbanBoardCoordinate, KanbanBoardDestination, KanbanBoardLane, KanbanBoardMatrix, KanbanDropAxisChange, KanbanDropIntent, OrderKanbanCellsByColumnsParams, ResolveKanbanGroupValueParams, buildKanbanBoardMatrix, createKanbanDropIntent, getKanbanBoardColumnIdentity, getKanbanBoardLaneIdentity, orderKanbanCellsByColumns };
105
+ export declare const createKanbanDropIntent: <TRow, TProperty, TCardId, TGroupId extends string = string>({ cardId, group, source, subgroup, target }: CreateKanbanDropIntentParams<TRow, TProperty, TCardId, TGroupId>) => KanbanDropIntent<TCardId, TGroupId> | null;
106
+ //#endregion
@@ -1,15 +1,15 @@
1
1
  import { ClientRect } from "@dnd-kit/core";
2
2
  //#region src/kanban/sortable-edge.d.ts
3
- declare const KANBAN_HORIZONTAL_EDGES: {
3
+ export declare const KANBAN_HORIZONTAL_EDGES: {
4
4
  readonly before: "before";
5
5
  readonly after: "after";
6
6
  };
7
- type KanbanHorizontalEdge = (typeof KANBAN_HORIZONTAL_EDGES)[keyof typeof KANBAN_HORIZONTAL_EDGES];
8
- declare const KANBAN_DIRECTIONS: {
7
+ export type KanbanHorizontalEdge = (typeof KANBAN_HORIZONTAL_EDGES)[keyof typeof KANBAN_HORIZONTAL_EDGES];
8
+ export declare const KANBAN_DIRECTIONS: {
9
9
  readonly ltr: "ltr";
10
10
  readonly rtl: "rtl";
11
11
  };
12
- type KanbanDirection = (typeof KANBAN_DIRECTIONS)[keyof typeof KANBAN_DIRECTIONS];
12
+ export type KanbanDirection = (typeof KANBAN_DIRECTIONS)[keyof typeof KANBAN_DIRECTIONS];
13
13
  type KanbanPointerHorizontalEdgeOptions = {
14
14
  input: "pointer";
15
15
  /** The drag's current viewport x coordinate for mouse or touch input. */
@@ -25,7 +25,7 @@ type KanbanKeyboardHorizontalEdgeOptions = {
25
25
  /** The target item's position in logical board order. */
26
26
  targetIndex: number;
27
27
  };
28
- type KanbanHorizontalEdgeOptions = KanbanPointerHorizontalEdgeOptions | KanbanKeyboardHorizontalEdgeOptions;
28
+ export type KanbanHorizontalEdgeOptions = KanbanPointerHorizontalEdgeOptions | KanbanKeyboardHorizontalEdgeOptions;
29
29
  /**
30
30
  * Resolves a horizontal insertion edge without consulting application data.
31
31
  *
@@ -34,6 +34,5 @@ type KanbanHorizontalEdgeOptions = KanbanPointerHorizontalEdgeOptions | KanbanKe
34
34
  * unambiguous. This deliberately avoids drag deltas, which include scroll
35
35
  * reconciliation and are not viewport coordinates.
36
36
  */
37
- declare const getKanbanHorizontalEdge: ({ ...options }: KanbanHorizontalEdgeOptions) => KanbanHorizontalEdge;
38
- //#endregion
39
- export { KANBAN_DIRECTIONS, KANBAN_HORIZONTAL_EDGES, KanbanDirection, KanbanHorizontalEdge, KanbanHorizontalEdgeOptions, getKanbanHorizontalEdge };
37
+ export declare const getKanbanHorizontalEdge: ({ ...options }: KanbanHorizontalEdgeOptions) => KanbanHorizontalEdge;
38
+ //#endregion
@@ -4,10 +4,10 @@ import * as React$1 from "react";
4
4
  import { AutoScrollActivator, AutoScrollOptions, CollisionDetection, DndContextProps, DragCancelEvent, DragEndEvent, DragOverEvent, DragOverlayProps, DragStartEvent, KeyboardCoordinateGetter, UniqueIdentifier } from "@dnd-kit/core";
5
5
  import { SortableContextProps, useSortable } from "@dnd-kit/sortable";
6
6
  //#region src/kanban/sortable-interactions.d.ts
7
- declare const KANBAN_MOUSE_ACTIVATION_DISTANCE = 8;
7
+ export declare const KANBAN_MOUSE_ACTIVATION_DISTANCE = 8;
8
8
  /** Above sticky board chrome, below app-level floating surfaces. */
9
- declare const KANBAN_DRAG_OVERLAY_Z_INDEX = 75;
10
- declare const KANBAN_BOARD_AUTO_SCROLL_OPTIONS: {
9
+ export declare const KANBAN_DRAG_OVERLAY_Z_INDEX = 75;
10
+ export declare const KANBAN_BOARD_AUTO_SCROLL_OPTIONS: {
11
11
  readonly acceleration: 10;
12
12
  readonly activator: AutoScrollActivator.Pointer;
13
13
  readonly threshold: {
@@ -15,20 +15,20 @@ declare const KANBAN_BOARD_AUTO_SCROLL_OPTIONS: {
15
15
  readonly y: 0.15;
16
16
  };
17
17
  };
18
- declare const KANBAN_SORTABLE_ACTIVATION_MODES: {
18
+ export declare const KANBAN_SORTABLE_ACTIVATION_MODES: {
19
19
  readonly CARD: "card";
20
20
  readonly HANDLE: "handle";
21
21
  readonly ITEM: "item";
22
22
  };
23
- declare const KANBAN_TOUCH_ACTIVATION_CONSTRAINT: {
23
+ export declare const KANBAN_TOUCH_ACTIVATION_CONSTRAINT: {
24
24
  readonly delay: 150;
25
25
  readonly tolerance: 8;
26
26
  };
27
- type KanbanDragCancelEvent = DragCancelEvent;
28
- type KanbanDragEndEvent = DragEndEvent;
29
- type KanbanDragOverEvent = DragOverEvent;
30
- type KanbanDragStartEvent = DragStartEvent;
31
- type KanbanSortableBoardProps = {
27
+ export type KanbanDragCancelEvent = DragCancelEvent;
28
+ export type KanbanDragEndEvent = DragEndEvent;
29
+ export type KanbanDragOverEvent = DragOverEvent;
30
+ export type KanbanDragStartEvent = DragStartEvent;
31
+ export type KanbanSortableBoardProps = {
32
32
  children: React$1.ReactNode;
33
33
  onDragEnd: (event: KanbanDragEndEvent) => void;
34
34
  /** Minimum pointer movement before a mouse drag activates. */
@@ -61,7 +61,7 @@ type KanbanSortableBoardProps = {
61
61
  overlay?: ((activeId: UniqueIdentifier | null) => React$1.ReactNode) | undefined;
62
62
  overlayProps?: Omit<DragOverlayProps, "children"> | undefined;
63
63
  };
64
- type UseKanbanDropTargetOptions = {
64
+ export type UseKanbanDropTargetOptions = {
65
65
  disabled?: boolean | undefined;
66
66
  id: string;
67
67
  itemIds: readonly UniqueIdentifier[];
@@ -75,7 +75,7 @@ type UseKanbanDropTargetOptions = {
75
75
  * underlying drag-and-drop library just to receive an item from a sortable
76
76
  * context.
77
77
  */
78
- declare const useKanbanDropTarget: ({ disabled, id, itemIds, navigation, position }: UseKanbanDropTargetOptions) => {
78
+ export declare const useKanbanDropTarget: ({ disabled, id, itemIds, navigation, position }: UseKanbanDropTargetOptions) => {
79
79
  isOver: boolean;
80
80
  setNodeRef: (element: HTMLElement | null) => void;
81
81
  };
@@ -86,23 +86,23 @@ declare const useKanbanDropTarget: ({ disabled, id, itemIds, navigation, positio
86
86
  * the sensor activation rules, keyboard navigation, auto-scroll configuration,
87
87
  * and overlay lifecycle shared by sortable board UIs.
88
88
  */
89
- declare const KanbanSortableBoard: ({ children, onDragEnd, mouseActivationDistance, collisionDetection, keyboardCoordinates, autoScroll, sensors, accessibility, onDragStart, onDragOver, onDragCancel, onInteractionReady, overlay, overlayProps }: KanbanSortableBoardProps) => React$1.JSX.Element;
90
- declare const useKanbanSortableSensors: (keyboardCoordinates?: KeyboardCoordinateGetter, mouseActivationDistance?: number) => import("@dnd-kit/core").SensorDescriptor<import("@dnd-kit/core").SensorOptions>[];
91
- type KanbanSortableListProps = SortableContextProps & React$1.ComponentProps<"div">;
89
+ export declare const KanbanSortableBoard: ({ children, onDragEnd, mouseActivationDistance, collisionDetection, keyboardCoordinates, autoScroll, sensors, accessibility, onDragStart, onDragOver, onDragCancel, onInteractionReady, overlay, overlayProps }: KanbanSortableBoardProps) => React$1.JSX.Element;
90
+ export declare const useKanbanSortableSensors: (keyboardCoordinates?: KeyboardCoordinateGetter, mouseActivationDistance?: number) => import("@dnd-kit/core").SensorDescriptor<import("@dnd-kit/core").SensorOptions>[];
91
+ export type KanbanSortableListProps = SortableContextProps & React$1.ComponentProps<"div">;
92
92
  /** A vertical card list that preserves native vertical touch scrolling. */
93
- declare const KanbanSortableList: ({ className, children, id, items, strategy, disabled, ...props }: KanbanSortableListProps) => React$1.JSX.Element;
94
- type KanbanSortableColumnsProps = SortableContextProps & React$1.ComponentProps<"div">;
93
+ export declare const KanbanSortableList: ({ className, children, id, items, strategy, disabled, ...props }: KanbanSortableListProps) => React$1.JSX.Element;
94
+ export type KanbanSortableColumnsProps = SortableContextProps & React$1.ComponentProps<"div">;
95
95
  /** A horizontal column list that keeps the board pan gesture available. */
96
- declare const KanbanSortableColumns: ({ className, children, id, items, strategy, disabled, ...props }: KanbanSortableColumnsProps) => React$1.JSX.Element;
97
- type KanbanSortableBindings = Pick<ReturnType<typeof useSortable>, "attributes" | "listeners" | "setActivatorNodeRef">;
98
- type KanbanSortableActivationMode = {
96
+ export declare const KanbanSortableColumns: ({ className, children, id, items, strategy, disabled, ...props }: KanbanSortableColumnsProps) => React$1.JSX.Element;
97
+ export type KanbanSortableBindings = Pick<ReturnType<typeof useSortable>, "attributes" | "listeners" | "setActivatorNodeRef">;
98
+ export type KanbanSortableActivationMode = {
99
99
  type: "card";
100
100
  } | {
101
101
  type: "handle";
102
102
  } | {
103
103
  type: "item";
104
104
  };
105
- type UseKanbanSortableOptions = {
105
+ export type UseKanbanSortableOptions = {
106
106
  activation: KanbanSortableActivationMode;
107
107
  id: UniqueIdentifier;
108
108
  disabled?: boolean | undefined;
@@ -122,7 +122,7 @@ type KanbanSortableActivator = {
122
122
  * Connect a sortable item and its separate drag handle without making the
123
123
  * item's content a touch-none activation surface.
124
124
  */
125
- declare const useKanbanSortable: ({ activation, id, disabled }: UseKanbanSortableOptions) => {
125
+ export declare const useKanbanSortable: ({ activation, id, disabled }: UseKanbanSortableOptions) => {
126
126
  activator: KanbanSortableActivator;
127
127
  isDragging: boolean;
128
128
  setNodeRef: (element: HTMLElement | null) => void;
@@ -132,7 +132,7 @@ declare const useKanbanSortable: ({ activation, id, disabled }: UseKanbanSortabl
132
132
  transition: string | undefined;
133
133
  };
134
134
  };
135
- type KanbanDragHandleProps = {
135
+ export type KanbanDragHandleProps = {
136
136
  bindings: KanbanSortableBindings;
137
137
  label: string;
138
138
  } & Omit<React$1.ComponentProps<typeof Button>, "aria-label" | "children" | "ref" | "tooltip" | "type">;
@@ -141,11 +141,11 @@ type KanbanDragHandleProps = {
141
141
  * surface that disables touch panning, leaving cards and scroll regions free
142
142
  * for ordinary scrolling.
143
143
  */
144
- declare const KanbanDragHandle: ({ bindings, label, className, ...props }: KanbanDragHandleProps) => React$1.JSX.Element;
145
- type KanbanCardDragSurfaceProps = {
144
+ export declare const KanbanDragHandle: ({ bindings, label, className, ...props }: KanbanDragHandleProps) => React$1.JSX.Element;
145
+ export type KanbanCardDragSurfaceProps = {
146
146
  bindings: KanbanSortableBindings;
147
147
  } & Omit<React$1.ComponentProps<"div">, "ref">;
148
148
  /** A whole-card drag activator that preserves descendant controls and scrolling. */
149
- declare const KanbanCardDragSurface: ({ bindings, className, ...props }: KanbanCardDragSurfaceProps) => React$1.JSX.Element;
149
+ export declare const KanbanCardDragSurface: ({ bindings, className, ...props }: KanbanCardDragSurfaceProps) => React$1.JSX.Element;
150
150
  //#endregion
151
- export { KANBAN_BOARD_AUTO_SCROLL_OPTIONS, KANBAN_BOARD_COLLISION_DETECTION, KANBAN_DRAG_OVERLAY_Z_INDEX, KANBAN_MOUSE_ACTIVATION_DISTANCE, KANBAN_SORTABLE_ACTIVATION_MODES, KANBAN_TOUCH_ACTIVATION_CONSTRAINT, KanbanCardDragSurface, KanbanCardDragSurfaceProps, type KanbanCellVirtualNavigation, KanbanDragCancelEvent, KanbanDragEndEvent, KanbanDragHandle, KanbanDragHandleProps, KanbanDragOverEvent, KanbanDragStartEvent, KanbanSortableActivationMode, KanbanSortableBindings, KanbanSortableBoard, KanbanSortableBoardProps, type KanbanSortableCellPosition, KanbanSortableColumns, KanbanSortableColumnsProps, KanbanSortableList, KanbanSortableListProps, type KanbanVirtualScrollRequest, UseKanbanDropTargetOptions, UseKanbanSortableOptions, kanbanKeyboardCoordinates, useKanbanDropTarget, useKanbanSortable, useKanbanSortableSensors };
151
+ export { KANBAN_BOARD_COLLISION_DETECTION, type KanbanCellVirtualNavigation, type KanbanSortableCellPosition, type KanbanVirtualScrollRequest, kanbanKeyboardCoordinates };
@@ -1,24 +1,24 @@
1
1
  import { CollisionDetection, KeyboardCoordinateGetter, SensorContext, UniqueIdentifier } from "@dnd-kit/core";
2
2
  //#region src/kanban/sortable-interactions.logic.d.ts
3
- declare const KANBAN_DROP_TARGET_TYPES: {
3
+ export declare const KANBAN_DROP_TARGET_TYPES: {
4
4
  readonly CELL: "kanban-cell";
5
5
  readonly ITEM: "kanban-item";
6
6
  };
7
- type KanbanSortableCellPosition = {
7
+ export type KanbanSortableCellPosition = {
8
8
  column: number;
9
9
  lane: number;
10
10
  };
11
- type KanbanVirtualScrollRequest = {
11
+ export type KanbanVirtualScrollRequest = {
12
12
  itemId: UniqueIdentifier;
13
13
  type: "item";
14
14
  };
15
- type KanbanCellVirtualNavigation = {
15
+ export type KanbanCellVirtualNavigation = {
16
16
  type: "static";
17
17
  } | {
18
18
  requestScroll: (request: KanbanVirtualScrollRequest) => void;
19
19
  type: "virtual";
20
20
  };
21
- type KanbanCellDropData = {
21
+ export type KanbanCellDropData = {
22
22
  itemIds: readonly UniqueIdentifier[];
23
23
  navigation: KanbanCellVirtualNavigation;
24
24
  position: KanbanSortableCellPosition;
@@ -33,7 +33,7 @@ type KanbanKeyboardTargetState = {
33
33
  targetId: UniqueIdentifier;
34
34
  type: "ready";
35
35
  };
36
- type KanbanItemDropData = {
36
+ export type KanbanItemDropData = {
37
37
  navigation: {
38
38
  current: KanbanKeyboardTargetState;
39
39
  };
@@ -42,8 +42,8 @@ type KanbanItemDropData = {
42
42
  type NavigationCell = KanbanCellDropData & {
43
43
  id: UniqueIdentifier;
44
44
  };
45
- declare const isKanbanCellDropData: (value: unknown) => value is KanbanCellDropData;
46
- declare const getKanbanKeyboardTargetState: (value: unknown) => KanbanKeyboardTargetState | undefined;
45
+ export declare const isKanbanCellDropData: (value: unknown) => value is KanbanCellDropData;
46
+ export declare const getKanbanKeyboardTargetState: (value: unknown) => KanbanKeyboardTargetState | undefined;
47
47
  /**
48
48
  * dnd-kit computes collisions while rendering but publishes the resulting drop
49
49
  * target to its sensor context a render later, and resolves a drop from that
@@ -57,13 +57,13 @@ declare const getKanbanKeyboardTargetState: (value: unknown) => KanbanKeyboardTa
57
57
  * is the published target. Until then both the collisions and the published
58
58
  * target still describe where the board was before the user navigated away.
59
59
  */
60
- declare const isKanbanDropSettled: ({ active, collisions, over }: Pick<SensorContext, "active" | "collisions" | "over">) => boolean;
61
- declare const clearKanbanKeyboardTarget: (value: unknown) => void;
60
+ export declare const isKanbanDropSettled: ({ active, collisions, over }: Pick<SensorContext, "active" | "collisions" | "over">) => boolean;
61
+ export declare const clearKanbanKeyboardTarget: (value: unknown) => void;
62
62
  /**
63
63
  * Pointer and touch input must be inside a registered board target. Once that
64
64
  * boundary is established, closest corners gives stable ranking across cells.
65
65
  */
66
- declare const KANBAN_BOARD_COLLISION_DETECTION: CollisionDetection;
66
+ export declare const KANBAN_BOARD_COLLISION_DETECTION: CollisionDetection;
67
67
  type NavigationDirection = "down" | "left" | "right" | "up";
68
68
  type GetKeyboardTargetOptions = {
69
69
  activeId: UniqueIdentifier;
@@ -72,8 +72,7 @@ type GetKeyboardTargetOptions = {
72
72
  currentOverId: UniqueIdentifier;
73
73
  direction: NavigationDirection;
74
74
  };
75
- declare const getKanbanKeyboardTarget: ({ activeId, cells, currentCellId, currentOverId, direction }: GetKeyboardTargetOptions) => UniqueIdentifier | undefined;
75
+ export declare const getKanbanKeyboardTarget: ({ activeId, cells, currentCellId, currentOverId, direction }: GetKeyboardTargetOptions) => UniqueIdentifier | undefined;
76
76
  /** Ordered two-dimensional navigation over item and empty-cell targets. */
77
- declare const kanbanKeyboardCoordinates: KeyboardCoordinateGetter;
78
- //#endregion
79
- export { KANBAN_BOARD_COLLISION_DETECTION, KANBAN_DROP_TARGET_TYPES, KanbanCellDropData, KanbanCellVirtualNavigation, KanbanItemDropData, KanbanSortableCellPosition, KanbanVirtualScrollRequest, clearKanbanKeyboardTarget, getKanbanKeyboardTarget, getKanbanKeyboardTargetState, isKanbanCellDropData, isKanbanDropSettled, kanbanKeyboardCoordinates };
77
+ export declare const kanbanKeyboardCoordinates: KeyboardCoordinateGetter;
78
+ //#endregion
@@ -9,14 +9,14 @@ import { CSSProperties, ReactNode } from "react";
9
9
  * reaches in this custom property; a control sticks at that offset and
10
10
  * releases where its lane ends, because the lane's own box is what bounds it.
11
11
  */
12
- declare const KANBAN_STICKY_TOP_VAR: "--kanban-sticky-top";
12
+ export declare const KANBAN_STICKY_TOP_VAR: "--kanban-sticky-top";
13
13
  /**
14
14
  * Sticks a lane control just under the board's header. The fallback keeps a
15
15
  * control usable outside a board that publishes the offset, and inside a cell
16
16
  * that keeps its own scroll surface, where the board's header is irrelevant.
17
17
  */
18
- declare const KANBAN_STICKY_TOP_CLASS = "top-(--kanban-sticky-top,0px)";
19
- type KanbanStickyTopStyle = CSSProperties & {
18
+ export declare const KANBAN_STICKY_TOP_CLASS = "top-(--kanban-sticky-top,0px)";
19
+ export type KanbanStickyTopStyle = CSSProperties & {
20
20
  [KANBAN_STICKY_TOP_VAR]?: string;
21
21
  };
22
22
  /**
@@ -27,14 +27,14 @@ type KanbanStickyTopStyle = CSSProperties & {
27
27
  * publishes it on each row it renders, because only the cell knows how tall its
28
28
  * own pinned action turned out and how far it translated that row.
29
29
  */
30
- declare const KANBAN_CARD_STICKY_TOP_VAR: "--kanban-card-sticky-top";
30
+ export declare const KANBAN_CARD_STICKY_TOP_VAR: "--kanban-card-sticky-top";
31
31
  /**
32
32
  * Sticks a card's identity row under everything pinned above it. The fallback
33
33
  * keeps the row usable inside a card rendered outside a cell that publishes the
34
34
  * offset, where nothing is pinned above it at all.
35
35
  */
36
- declare const KANBAN_CARD_STICKY_TOP_CLASS = "top-(--kanban-card-sticky-top,0px)";
37
- type KanbanCardStickyTopStyle = CSSProperties & {
36
+ export declare const KANBAN_CARD_STICKY_TOP_CLASS = "top-(--kanban-card-sticky-top,0px)";
37
+ export type KanbanCardStickyTopStyle = CSSProperties & {
38
38
  [KANBAN_CARD_STICKY_TOP_VAR]?: string;
39
39
  };
40
40
  type ResolveKanbanCardStickyTopOptions = {
@@ -53,8 +53,8 @@ type ResolveKanbanCardStickyTopOptions = {
53
53
  * offset in the space the browser actually resolves it in, so every card pins
54
54
  * where the chrome above it ends no matter how far down the lane it is.
55
55
  */
56
- declare const resolveKanbanCardStickyTop: ({ pinnedAbove, rowOffset }: ResolveKanbanCardStickyTopOptions) => string;
57
- type KanbanCollapsedBandCaptionProps = {
56
+ export declare const resolveKanbanCardStickyTop: ({ pinnedAbove, rowOffset }: ResolveKanbanCardStickyTopOptions) => string;
57
+ export type KanbanCollapsedBandCaptionProps = {
58
58
  label: string;
59
59
  /** What the folded band stands in for: its count, already formatted. */
60
60
  meta: ReactNode;
@@ -69,6 +69,5 @@ type KanbanCollapsedBandCaptionProps = {
69
69
  * height (`h-full`), or a caption as tall as its own text can never move.
70
70
  * A host rendering its own collapsed cell composes this inside that cell.
71
71
  */
72
- declare const KanbanCollapsedBandCaption: ({ className, label, meta }: KanbanCollapsedBandCaptionProps) => import("react").JSX.Element;
73
- //#endregion
74
- export { KANBAN_CARD_STICKY_TOP_CLASS, KANBAN_CARD_STICKY_TOP_VAR, KANBAN_STICKY_TOP_CLASS, KANBAN_STICKY_TOP_VAR, KanbanCardStickyTopStyle, KanbanCollapsedBandCaption, KanbanCollapsedBandCaptionProps, KanbanStickyTopStyle, resolveKanbanCardStickyTop };
72
+ export declare const KanbanCollapsedBandCaption: ({ className, label, meta }: KanbanCollapsedBandCaptionProps) => import("react").JSX.Element;
73
+ //#endregion
@@ -3,26 +3,26 @@ import { KanbanColumnBand, KanbanGroup } from "./grouping.js";
3
3
  import { KanbanBoardCell, KanbanBoardColumn, KanbanBoardMatrix } from "./matrix.js";
4
4
  import { ReactNode } from "react";
5
5
  //#region src/kanban/subgroup-board.d.ts
6
- type KanbanSubgroupColumnHeaderContext = {
6
+ export type KanbanSubgroupColumnHeaderContext = {
7
7
  column: KanbanBoardColumn;
8
8
  count: number;
9
9
  };
10
- type KanbanSubgroupLaneIdentityContext = {
10
+ export type KanbanSubgroupLaneIdentityContext = {
11
11
  group: KanbanGroup;
12
12
  count: number;
13
13
  };
14
14
  /** One column's cell in a lane's own row, and what that cell stands for. */
15
- type KanbanSubgroupLaneColumnSummaryContext = {
15
+ export type KanbanSubgroupLaneColumnSummaryContext = {
16
16
  lane: KanbanGroup;
17
17
  column: KanbanBoardColumn;
18
18
  /** Rows in this lane/column intersection, including zero. */
19
19
  count: number;
20
20
  };
21
- type KanbanSubgroupLaneColumnActionContext = {
21
+ export type KanbanSubgroupLaneColumnActionContext = {
22
22
  lane: KanbanGroup;
23
23
  column: KanbanBoardColumn;
24
24
  };
25
- type KanbanSubgroupCellContext<TRow> = {
25
+ export type KanbanSubgroupCellContext<TRow> = {
26
26
  cell: KanbanBoardCell<TRow>;
27
27
  /** Number of rows in this lane/column intersection, including zero. */
28
28
  count: number;
@@ -34,7 +34,7 @@ type KanbanSubgroupCellContext<TRow> = {
34
34
  */
35
35
  band: KanbanColumnBand | null;
36
36
  };
37
- type KanbanSubgroupBandHeaderContext = {
37
+ export type KanbanSubgroupBandHeaderContext = {
38
38
  band: KanbanColumnBand;
39
39
  columns: KanbanBoardColumn[];
40
40
  /** Rows across the band's columns, every lane included. */
@@ -59,7 +59,7 @@ type KanbanSubgroupBandHeaderContext = {
59
59
  * register the slot as a drop target that lands in the band's first column
60
60
  * (or asks which), and the count it stands in for.
61
61
  */
62
- type KanbanSubgroupCollapsedBandCellContext<TRow> = {
62
+ export type KanbanSubgroupCollapsedBandCellContext<TRow> = {
63
63
  band: KanbanColumnBand;
64
64
  cells: KanbanBoardCell<TRow>[];
65
65
  count: number;
@@ -72,7 +72,7 @@ type KanbanSubgroupCollapseControl = {
72
72
  isLaneCollapsed: (group: KanbanGroup, count: number) => boolean;
73
73
  onLaneCollapsedChange: (group: KanbanGroup, collapsed: boolean) => void;
74
74
  };
75
- type KanbanSubgroupBoardProps<TRow> = {
75
+ export type KanbanSubgroupBoardProps<TRow> = {
76
76
  matrix: KanbanBoardMatrix<TRow>;
77
77
  renderColumnHeader: (context: KanbanSubgroupColumnHeaderContext) => ReactNode;
78
78
  renderLaneIdentity: (context: KanbanSubgroupLaneIdentityContext) => ReactNode;
@@ -152,6 +152,5 @@ type KanbanSubgroupBoardProps<TRow> = {
152
152
  * in every state; the caption line never grows past its own height, so a
153
153
  * folded band costs no vertical space.
154
154
  */
155
- declare const KanbanSubgroupBoard: <TRow>({ matrix, renderColumnHeader, renderLaneIdentity, renderCell, renderLaneColumnSummary, renderLaneColumnAction, renderBandHeader, renderCollapsedBandCell, formatBandToggleLabel, formatCount, isLaneCollapsed, onLaneCollapsedChange, isBandCollapsed, onBandCollapsedChange, footer, className, dragOverBandId, isDragging }: KanbanSubgroupBoardProps<TRow>) => import("react").JSX.Element;
156
- //#endregion
157
- export { KanbanSubgroupBandHeaderContext, KanbanSubgroupBoard, KanbanSubgroupBoardProps, KanbanSubgroupCellContext, KanbanSubgroupCollapsedBandCellContext, KanbanSubgroupColumnHeaderContext, KanbanSubgroupLaneColumnActionContext, KanbanSubgroupLaneColumnSummaryContext, KanbanSubgroupLaneIdentityContext };
155
+ export declare const KanbanSubgroupBoard: <TRow>({ matrix, renderColumnHeader, renderLaneIdentity, renderCell, renderLaneColumnSummary, renderLaneColumnAction, renderBandHeader, renderCollapsedBandCell, formatBandToggleLabel, formatCount, isLaneCollapsed, onLaneCollapsedChange, isBandCollapsed, onBandCollapsedChange, footer, className, dragOverBandId, isDragging }: KanbanSubgroupBoardProps<TRow>) => import("react").JSX.Element;
156
+ //#endregion
@@ -74,10 +74,14 @@ const KanbanSubgroupBoard = ({ matrix, renderColumnHeader, renderLaneIdentity, r
74
74
  if (dragOverBandId === void 0 || dragOverBandId === previousDragOverBandId.current) return;
75
75
  const previous = previousDragOverBandId.current;
76
76
  previousDragOverBandId.current = dragOverBandId;
77
- if (previous !== null) if (peekingBandId === previous) peek.openDragLeave(previous);
78
- else peek.slotDragLeave(previous);
79
- if (dragOverBandId !== null) if (peekingBandId === dragOverBandId) peek.openDragEnter(dragOverBandId);
80
- else peek.slotDragOver(dragOverBandId);
77
+ if (previous !== null) {
78
+ if (peekingBandId === previous) peek.openDragLeave(previous);
79
+ else peek.slotDragLeave(previous);
80
+ }
81
+ if (dragOverBandId !== null) {
82
+ if (peekingBandId === dragOverBandId) peek.openDragEnter(dragOverBandId);
83
+ else peek.slotDragOver(dragOverBandId);
84
+ }
81
85
  }, [
82
86
  dragOverBandId,
83
87
  peek,
@@ -3,6 +3,5 @@ type ActiveTouchChangeOptions = {
3
3
  activeTouchIdentifier: number | null;
4
4
  changedTouchIdentifiers: readonly number[];
5
5
  };
6
- declare const isActiveTouchChange: ({ activeTouchIdentifier, changedTouchIdentifiers }: ActiveTouchChangeOptions) => boolean;
7
- //#endregion
8
- export { isActiveTouchChange };
6
+ export declare const isActiveTouchChange: ({ activeTouchIdentifier, changedTouchIdentifiers }: ActiveTouchChangeOptions) => boolean;
7
+ //#endregion
@@ -4,11 +4,11 @@ import { Key, ReactNode, RefObject } from "react";
4
4
  import { UniqueIdentifier } from "@dnd-kit/core";
5
5
  import { SortableContextProps, SortingStrategy } from "@dnd-kit/sortable";
6
6
  //#region src/kanban/virtual-cell.d.ts
7
- declare const KANBAN_VIRTUAL_CELL_PAGINATION: {
7
+ export declare const KANBAN_VIRTUAL_CELL_PAGINATION: {
8
8
  readonly NONE: "none";
9
9
  readonly CURSOR: "cursor";
10
10
  };
11
- type KanbanVirtualCellPagination = {
11
+ export type KanbanVirtualCellPagination = {
12
12
  type: "none";
13
13
  } | {
14
14
  type: "cursor";
@@ -24,13 +24,13 @@ type KanbanVirtualCellPagination = {
24
24
  * separate sortable identifier avoids narrowing an existing React key contract
25
25
  * merely to support dnd-kit consumers.
26
26
  */
27
- type KanbanVirtualCellSortableContext<TRow> = {
27
+ export type KanbanVirtualCellSortableContext<TRow> = {
28
28
  dropTarget: Omit<UseKanbanDropTargetOptions, "itemIds" | "navigation">;
29
29
  getRowId: (row: TRow) => UniqueIdentifier;
30
30
  disabled?: SortableContextProps["disabled"] | undefined;
31
31
  strategy?: SortingStrategy | undefined;
32
32
  };
33
- type KanbanVirtualCellProps<TRow> = {
33
+ export type KanbanVirtualCellProps<TRow> = {
34
34
  rows: readonly TRow[];
35
35
  getRowKey: (row: TRow) => Key;
36
36
  renderRow: (row: TRow) => ReactNode;
@@ -71,6 +71,5 @@ type KanbanVirtualCellProps<TRow> = {
71
71
  className?: string | undefined;
72
72
  };
73
73
  /** Bounded, virtualized Kanban cell with cursor-page request deduplication. */
74
- declare const KanbanVirtualCell: <TRow>({ rows, getRowKey, renderRow, pagination, sortable, containerRef, active, backgroundColor, accent, footer, footerPlacement, estimateSize, overscan, loadMoreThreshold, className }: KanbanVirtualCellProps<TRow>) => import("react").JSX.Element;
75
- //#endregion
76
- export { KANBAN_VIRTUAL_CELL_PAGINATION, KanbanVirtualCell, KanbanVirtualCellPagination, KanbanVirtualCellProps, KanbanVirtualCellSortableContext };
74
+ export declare const KanbanVirtualCell: <TRow>({ rows, getRowKey, renderRow, pagination, sortable, containerRef, active, backgroundColor, accent, footer, footerPlacement, estimateSize, overscan, loadMoreThreshold, className }: KanbanVirtualCellProps<TRow>) => import("react").JSX.Element;
75
+ //#endregion
@@ -16,21 +16,21 @@ import * as React$1 from "react";
16
16
  * (`useFocusableWhenDisabled`): `aria-disabled` instead of `disabled`, focusable,
17
17
  * and non-`Tab` key defaults suppressed.
18
18
  */
19
- declare const BUTTON_DISPOSITION: {
19
+ export declare const BUTTON_DISPOSITION: {
20
20
  readonly enabled: "enabled";
21
21
  /** Native `disabled`: out of the tab order, inert to pointer and keyboard. */
22
22
  readonly nativeDisabled: "native-disabled";
23
23
  /** `aria-disabled`: focusable and hoverable so its tooltip can still open. */
24
24
  readonly accessibleDisabled: "accessible-disabled";
25
25
  };
26
- type ButtonDisposition = (typeof BUTTON_DISPOSITION)[keyof typeof BUTTON_DISPOSITION];
26
+ export type ButtonDisposition = (typeof BUTTON_DISPOSITION)[keyof typeof BUTTON_DISPOSITION];
27
27
  type ButtonDispositionInput = {
28
28
  disabled: boolean | undefined;
29
29
  loading: boolean | undefined;
30
30
  /** Resolved tooltip content, i.e. what `renderTooltipTrigger` would mount. */
31
31
  tooltip: React$1.ReactNode;
32
32
  };
33
- declare const resolveButtonDisposition: ({ disabled, loading, tooltip }: ButtonDispositionInput) => ButtonDisposition;
33
+ export declare const resolveButtonDisposition: ({ disabled, loading, tooltip }: ButtonDispositionInput) => ButtonDisposition;
34
34
  /**
35
35
  * The parts of a React synthetic event these blockers touch.
36
36
  *
@@ -50,14 +50,13 @@ type BlockableEvent = {
50
50
  * implicit submission (Enter in a text field) dispatches a click at the form's
51
51
  * default button, so both paths funnel through here.
52
52
  */
53
- declare const blockDisabledActivation: (event: BlockableEvent) => void;
53
+ export declare const blockDisabledActivation: (event: BlockableEvent) => void;
54
54
  /**
55
55
  * The keyboard counterpart. `Tab` keeps its default so focus can leave the
56
56
  * control; suppressing the default on `Enter`/`Space` stops the browser from
57
57
  * synthesizing the click that would activate or submit.
58
58
  */
59
- declare const blockDisabledKeyActivation: (event: BlockableEvent & {
59
+ export declare const blockDisabledKeyActivation: (event: BlockableEvent & {
60
60
  key: string;
61
61
  }) => void;
62
- //#endregion
63
- export { BUTTON_DISPOSITION, ButtonDisposition, blockDisabledActivation, blockDisabledKeyActivation, resolveButtonDisposition };
62
+ //#endregion
@@ -5,6 +5,6 @@ declare const CONTROL_SIZE: Readonly<{
5
5
  readonly lg: "lg";
6
6
  }>;
7
7
  type ControlSize = (typeof CONTROL_SIZE)[keyof typeof CONTROL_SIZE];
8
- declare const CONTROL_SIZES: readonly ("default" | "lg" | "sm")[];
8
+ declare const CONTROL_SIZES: readonly ("default" | "sm" | "lg")[];
9
9
  //#endregion
10
10
  export { CONTROL_SIZE, CONTROL_SIZES, type ControlSize };
@@ -11,6 +11,5 @@
11
11
  * "王小明" → "王小"
12
12
  * - Null / empty: "?"
13
13
  */
14
- declare const getInitials: (name: string | null) => string;
15
- //#endregion
16
- export { getInitials };
14
+ export declare const getInitials: (name: string | null) => string;
15
+ //#endregion
@@ -13,16 +13,15 @@
13
13
  * token was chosen for.
14
14
  */
15
15
  /** Named preset or arbitrary 6-character hex colour (e.g. "FF0000"). */
16
- type OptionColor = "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "gray" | (string & Record<never, never>);
17
- type ColorVariants = {
16
+ export type OptionColor = "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "gray" | (string & Record<never, never>);
17
+ export type ColorVariants = {
18
18
  background: string;
19
19
  foreground: string;
20
20
  color: string;
21
21
  };
22
- declare const emptyColor: ColorVariants;
22
+ export declare const emptyColor: ColorVariants;
23
23
  /** Resolve any OptionColor (named or hex) to CSS color variants. */
24
- declare const resolveOptionColor: (color: OptionColor) => ColorVariants;
24
+ export declare const resolveOptionColor: (color: OptionColor) => ColorVariants;
25
25
  /** The 16 named preset color keys. */
26
- declare const optionColors: readonly OptionColor[];
27
- //#endregion
28
- export { ColorVariants, OptionColor, emptyColor, optionColors, resolveOptionColor };
26
+ export declare const optionColors: readonly OptionColor[];
27
+ //#endregion