@stll/ui 0.69.0 → 0.72.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/dist/calendar/primitives.d.ts +7 -7
- package/dist/components/alert-dialog.d.ts +15 -15
- package/dist/components/animated-preview.d.ts +9 -9
- package/dist/components/animated-preview.js +3 -3
- package/dist/components/application-rail.d.ts +8 -8
- package/dist/components/bidi-text.d.ts +7 -7
- package/dist/components/brand-icons.d.ts +5 -5
- package/dist/components/breadcrumb.d.ts +8 -8
- package/dist/components/button.d.ts +13 -1
- package/dist/components/button.js +14 -5
- package/dist/components/color-picker.d.ts +4 -4
- package/dist/components/combobox.d.ts +23 -23
- package/dist/components/combobox.js +6 -6
- package/dist/components/command.d.ts +19 -19
- package/dist/components/date-picker-popover.js +8 -2
- package/dist/components/destructive-action-confirmation.d.ts +5 -5
- package/dist/components/destructive-action-confirmation.js +2 -2
- package/dist/components/destructive-confirm-dialog.d.ts +7 -7
- package/dist/components/details-grid.d.ts +6 -6
- package/dist/components/dialog.d.ts +19 -19
- package/dist/components/document-identity-badge.js +6 -0
- package/dist/components/frame.d.ts +7 -7
- package/dist/components/hex-color-picker.d.ts +16 -2
- package/dist/components/horizontal-scroller.d.ts +6 -0
- package/dist/components/horizontal-scroller.js +59 -33
- package/dist/components/identity-text.js +1 -0
- package/dist/components/input-group.d.ts +6 -6
- package/dist/components/input-otp.d.ts +7 -7
- package/dist/components/input-otp.js +2 -2
- package/dist/components/input.d.ts +5 -5
- package/dist/components/kbd.d.ts +3 -3
- package/dist/components/list.d.ts +20 -20
- package/dist/components/menu.d.ts +20 -20
- package/dist/components/outline-rail.d.ts +12 -0
- package/dist/components/pagination.d.ts +9 -9
- package/dist/components/popover.d.ts +8 -8
- package/dist/components/preview-pane.d.ts +6 -6
- package/dist/components/prose.d.ts +2 -2
- package/dist/components/scroll-to-top.d.ts +5 -0
- package/dist/components/search-field.d.ts +3 -3
- package/dist/components/select.d.ts +9 -9
- package/dist/components/select.js +11 -11
- package/dist/components/sheet.d.ts +16 -16
- package/dist/components/split-button.d.ts +6 -1
- package/dist/components/split-button.js +8 -3
- package/dist/components/steps.d.ts +6 -6
- package/dist/components/switch.d.ts +5 -5
- package/dist/components/switch.native.d.ts +3 -3
- package/dist/components/table.d.ts +16 -16
- package/dist/components/textarea.d.ts +3 -3
- package/dist/components/time-field.d.ts +3 -3
- package/dist/components/toast.d.ts +20 -20
- package/dist/components/toast.js +3 -3
- package/dist/components/toggle-group.d.ts +4 -4
- package/dist/components/toggle.d.ts +3 -3
- package/dist/components/tooltip-trigger-helper.d.ts +4 -4
- package/dist/components/truncated-text.d.ts +4 -4
- package/dist/components/truncated-text.js +3 -3
- package/dist/components/view-toolbar.d.ts +11 -3
- package/dist/components/view-toolbar.js +16 -5
- package/dist/data-table/index.d.ts +7 -0
- package/dist/hooks/use-contained-handler.d.ts +2 -2
- package/dist/hooks/use-mobile.js +2 -2
- package/dist/hooks/use-viewport-width.js +2 -2
- package/dist/icons.d.ts +29 -2
- package/dist/icons.js +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/inspector/chrome.d.ts +22 -22
- package/dist/inspector/index.d.ts +9 -0
- package/dist/kanban/grouping.d.ts +10 -0
- package/dist/kanban/index.d.ts +9 -0
- package/dist/kanban/sortable-interactions.d.ts +8 -8
- package/dist/kanban/sortable-interactions.js +11 -11
- package/dist/lib/button-disposition.d.ts +2 -2
- package/dist/lib/file-size.d.ts +16 -0
- package/dist/lib/file-size.js +30 -0
- package/dist/lib/tooltip-content.d.ts +2 -2
- package/dist/lib/utils.d.ts +2 -2
- package/dist/review/review-out-of-date-notice.d.ts +7 -1
- package/dist/review/review-out-of-date-notice.js +4 -1
- package/dist/styles/inline-rename.css +9 -0
- package/package.json +13 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { AutoScrollActivator, AutoScrollOptions, CollisionDetection, DndContextProps, DragCancelEvent, DragEndEvent, DragOverEvent, DragOverlayProps, DragStartEvent, KeyboardCoordinateGetter, UniqueIdentifier } from "@dnd-kit/core";
|
|
3
3
|
import { Button } from "../components/button.js";
|
|
4
4
|
import { KANBAN_BOARD_COLLISION_DETECTION, KanbanCellVirtualNavigation, KanbanSortableCellPosition, KanbanVirtualScrollRequest, kanbanKeyboardCoordinates } from "./sortable-interactions.logic.js";
|
|
@@ -28,7 +28,7 @@ export type KanbanDragEndEvent = DragEndEvent;
|
|
|
28
28
|
export type KanbanDragOverEvent = DragOverEvent;
|
|
29
29
|
export type KanbanDragStartEvent = DragStartEvent;
|
|
30
30
|
export type KanbanSortableBoardProps = {
|
|
31
|
-
children: React
|
|
31
|
+
children: React.ReactNode;
|
|
32
32
|
onDragEnd: (event: KanbanDragEndEvent) => void;
|
|
33
33
|
/** Minimum pointer movement before a mouse drag activates. */
|
|
34
34
|
mouseActivationDistance?: number | undefined;
|
|
@@ -57,7 +57,7 @@ export type KanbanSortableBoardProps = {
|
|
|
57
57
|
/** Called once mounted child drop targets can safely receive input. */
|
|
58
58
|
onInteractionReady?: (() => void) | undefined;
|
|
59
59
|
/** Rendered in document.body while an item is active. */
|
|
60
|
-
overlay?: ((activeId: UniqueIdentifier | null) => React
|
|
60
|
+
overlay?: ((activeId: UniqueIdentifier | null) => React.ReactNode) | undefined;
|
|
61
61
|
overlayProps?: Omit<DragOverlayProps, "children"> | undefined;
|
|
62
62
|
};
|
|
63
63
|
export type UseKanbanDropTargetOptions = {
|
|
@@ -85,7 +85,7 @@ export declare const useKanbanDropTarget: ({ disabled, id, itemIds, navigation,
|
|
|
85
85
|
* the sensor activation rules, keyboard navigation, auto-scroll configuration,
|
|
86
86
|
* and overlay lifecycle shared by sortable board UIs.
|
|
87
87
|
*/
|
|
88
|
-
export declare const KanbanSortableBoard: ({ children, onDragEnd, mouseActivationDistance, collisionDetection, keyboardCoordinates, autoScroll, sensors, accessibility, onDragStart, onDragOver, onDragCancel, onInteractionReady, overlay, overlayProps }: KanbanSortableBoardProps) => React
|
|
88
|
+
export declare const KanbanSortableBoard: ({ children, onDragEnd, mouseActivationDistance, collisionDetection, keyboardCoordinates, autoScroll, sensors, accessibility, onDragStart, onDragOver, onDragCancel, onInteractionReady, overlay, overlayProps }: KanbanSortableBoardProps) => React.JSX.Element;
|
|
89
89
|
export declare const useKanbanSortableSensors: (keyboardCoordinates?: KeyboardCoordinateGetter, mouseActivationDistance?: number) => import("@dnd-kit/core").SensorDescriptor<import("@dnd-kit/core").SensorOptions>[];
|
|
90
90
|
export type KanbanSortableBindings = Pick<ReturnType<typeof useSortable>, "attributes" | "listeners" | "setActivatorNodeRef">;
|
|
91
91
|
export type KanbanSortableActivationMode = {
|
|
@@ -128,16 +128,16 @@ export declare const useKanbanSortable: ({ activation, id, disabled }: UseKanban
|
|
|
128
128
|
export type KanbanDragHandleProps = {
|
|
129
129
|
bindings: KanbanSortableBindings;
|
|
130
130
|
label: string;
|
|
131
|
-
} & Omit<React
|
|
131
|
+
} & Omit<React.ComponentProps<typeof Button>, "aria-label" | "children" | "ref" | "tooltip" | "type">;
|
|
132
132
|
/**
|
|
133
133
|
* A 44px keyboard-accessible drag activator. The handle is the only board
|
|
134
134
|
* surface that disables touch panning, leaving cards and scroll regions free
|
|
135
135
|
* for ordinary scrolling.
|
|
136
136
|
*/
|
|
137
|
-
export declare const KanbanDragHandle: ({ bindings, label, className, ...props }: KanbanDragHandleProps) => React
|
|
137
|
+
export declare const KanbanDragHandle: ({ bindings, label, className, ...props }: KanbanDragHandleProps) => React.JSX.Element;
|
|
138
138
|
export type KanbanCardDragSurfaceProps = {
|
|
139
139
|
bindings: KanbanSortableBindings;
|
|
140
|
-
} & Omit<React
|
|
140
|
+
} & Omit<React.ComponentProps<"div">, "ref">;
|
|
141
141
|
/** A whole-card drag activator that preserves descendant controls and scrolling. */
|
|
142
|
-
export declare const KanbanCardDragSurface: ({ bindings, className, ...props }: KanbanCardDragSurfaceProps) => React
|
|
142
|
+
export declare const KanbanCardDragSurface: ({ bindings, className, ...props }: KanbanCardDragSurfaceProps) => React.JSX.Element;
|
|
143
143
|
export { KANBAN_BOARD_COLLISION_DETECTION, type KanbanCellVirtualNavigation, type KanbanSortableCellPosition, type KanbanVirtualScrollRequest, kanbanKeyboardCoordinates };
|
|
@@ -6,7 +6,7 @@ import { cn } from "../lib/utils.js";
|
|
|
6
6
|
import { KANBAN_BOARD_COLLISION_DETECTION, KANBAN_DROP_TARGET_TYPES, clearKanbanKeyboardTarget, getKanbanKeyboardTargetState, isKanbanDropSettled, kanbanKeyboardCoordinates } from "./sortable-interactions.logic.js";
|
|
7
7
|
import { isActiveTouchChange } from "./touch-identity.js";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
import * as React
|
|
9
|
+
import * as React from "react";
|
|
10
10
|
import { createPortal } from "react-dom";
|
|
11
11
|
import { AutoScrollActivator, DndContext, DragOverlay, KeyboardSensor, MouseSensor, TouchSensor, useDroppable, useSensor, useSensors } from "@dnd-kit/core";
|
|
12
12
|
import { useSortable } from "@dnd-kit/sortable";
|
|
@@ -306,7 +306,7 @@ const getTouchDocument = (event) => {
|
|
|
306
306
|
if (event.target instanceof Node && event.target.ownerDocument) return event.target.ownerDocument;
|
|
307
307
|
return document;
|
|
308
308
|
};
|
|
309
|
-
const KanbanInteractionReadinessContext = React
|
|
309
|
+
const KanbanInteractionReadinessContext = React.createContext(true);
|
|
310
310
|
/**
|
|
311
311
|
* Register a board-level drop target such as an empty cell or terminal lane.
|
|
312
312
|
*
|
|
@@ -315,7 +315,7 @@ const KanbanInteractionReadinessContext = React$1.createContext(true);
|
|
|
315
315
|
* context.
|
|
316
316
|
*/
|
|
317
317
|
const useKanbanDropTarget = ({ disabled, id, itemIds, navigation, position }) => {
|
|
318
|
-
const interactionReady = React
|
|
318
|
+
const interactionReady = React.useContext(KanbanInteractionReadinessContext);
|
|
319
319
|
const dropTarget = useDroppable({
|
|
320
320
|
data: {
|
|
321
321
|
itemIds,
|
|
@@ -339,11 +339,11 @@ const useKanbanDropTarget = ({ disabled, id, itemIds, navigation, position }) =>
|
|
|
339
339
|
* and overlay lifecycle shared by sortable board UIs.
|
|
340
340
|
*/
|
|
341
341
|
const KanbanSortableBoard = ({ children, onDragEnd, mouseActivationDistance, collisionDetection, keyboardCoordinates, autoScroll, sensors, accessibility, onDragStart, onDragOver, onDragCancel, onInteractionReady, overlay, overlayProps }) => {
|
|
342
|
-
const [activeId, setActiveId] = React
|
|
343
|
-
const [interactionReady, setInteractionReady] = React
|
|
344
|
-
const interactionReadyNotified = React
|
|
342
|
+
const [activeId, setActiveId] = React.useState(null);
|
|
343
|
+
const [interactionReady, setInteractionReady] = React.useState(false);
|
|
344
|
+
const interactionReadyNotified = React.useRef(false);
|
|
345
345
|
const defaultSensors = useKanbanSortableSensors(keyboardCoordinates, mouseActivationDistance);
|
|
346
|
-
React
|
|
346
|
+
React.useEffect(() => {
|
|
347
347
|
const frame = requestAnimationFrame(() => {
|
|
348
348
|
setInteractionReady(true);
|
|
349
349
|
});
|
|
@@ -351,7 +351,7 @@ const KanbanSortableBoard = ({ children, onDragEnd, mouseActivationDistance, col
|
|
|
351
351
|
cancelAnimationFrame(frame);
|
|
352
352
|
};
|
|
353
353
|
}, []);
|
|
354
|
-
React
|
|
354
|
+
React.useEffect(() => {
|
|
355
355
|
if (!interactionReady || interactionReadyNotified.current) return;
|
|
356
356
|
interactionReadyNotified.current = true;
|
|
357
357
|
onInteractionReady?.();
|
|
@@ -393,8 +393,8 @@ const useKanbanSortableSensors = (keyboardCoordinates = kanbanKeyboardCoordinate
|
|
|
393
393
|
* item's content a touch-none activation surface.
|
|
394
394
|
*/
|
|
395
395
|
const useKanbanSortable = ({ activation, id, disabled }) => {
|
|
396
|
-
const interactionReady = React
|
|
397
|
-
const data = React
|
|
396
|
+
const interactionReady = React.useContext(KanbanInteractionReadinessContext);
|
|
397
|
+
const data = React.useMemo(() => ({
|
|
398
398
|
navigation: { current: { type: "idle" } },
|
|
399
399
|
type: KANBAN_DROP_TARGET_TYPES.ITEM
|
|
400
400
|
}), []);
|
|
@@ -488,7 +488,7 @@ const getKanbanCardDragSurfaceListeners = (listeners) => {
|
|
|
488
488
|
/** A whole-card drag activator that preserves descendant controls and scrolling. */
|
|
489
489
|
const KanbanCardDragSurface = ({ bindings, className, ...props }) => {
|
|
490
490
|
const { listeners, setActivatorNodeRef: setCardActivatorNodeRef } = bindings;
|
|
491
|
-
const setActivatorNodeRef = React
|
|
491
|
+
const setActivatorNodeRef = React.useCallback((element) => {
|
|
492
492
|
setCardActivatorNodeRef(element);
|
|
493
493
|
}, [setCardActivatorNodeRef]);
|
|
494
494
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
/**
|
|
3
3
|
* How a button expresses "unavailable".
|
|
4
4
|
*
|
|
@@ -27,7 +27,7 @@ type ButtonDispositionInput = {
|
|
|
27
27
|
disabled: boolean | undefined;
|
|
28
28
|
loading: boolean | undefined;
|
|
29
29
|
/** Resolved tooltip content, i.e. what `renderTooltipTrigger` would mount. */
|
|
30
|
-
tooltip: React
|
|
30
|
+
tooltip: React.ReactNode;
|
|
31
31
|
};
|
|
32
32
|
export declare const resolveButtonDisposition: ({ disabled, loading, tooltip }: ButtonDispositionInput) => ButtonDisposition;
|
|
33
33
|
/**
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const getFileSizeDisplay: (sizeBytes: number) => {
|
|
2
|
+
unit: string;
|
|
3
|
+
value: number;
|
|
4
|
+
};
|
|
5
|
+
/** Formats a number in the reader's locale, as `use-intl`'s formatter does. */
|
|
6
|
+
type NumberFormatter = {
|
|
7
|
+
readonly number: (value: number, options: {
|
|
8
|
+
maximumFractionDigits: number;
|
|
9
|
+
style: "unit";
|
|
10
|
+
unit: string;
|
|
11
|
+
unitDisplay: "short";
|
|
12
|
+
}) => string;
|
|
13
|
+
};
|
|
14
|
+
/** A file size in the reader's locale, at most one decimal ("1.2 MB"). */
|
|
15
|
+
export declare const formatFileSize: (sizeBytes: number, format: NumberFormatter) => string;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// src/lib/file-size.ts
|
|
2
|
+
const getFileSizeDisplay = (sizeBytes) => {
|
|
3
|
+
if (sizeBytes < 1e3) return {
|
|
4
|
+
unit: "byte",
|
|
5
|
+
value: sizeBytes
|
|
6
|
+
};
|
|
7
|
+
if (sizeBytes < 1e6) return {
|
|
8
|
+
unit: "kilobyte",
|
|
9
|
+
value: sizeBytes / 1e3
|
|
10
|
+
};
|
|
11
|
+
if (sizeBytes < 1e9) return {
|
|
12
|
+
unit: "megabyte",
|
|
13
|
+
value: sizeBytes / 1e6
|
|
14
|
+
};
|
|
15
|
+
return {
|
|
16
|
+
unit: "gigabyte",
|
|
17
|
+
value: sizeBytes / 1e9
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
/** A file size in the reader's locale, at most one decimal ("1.2 MB"). */
|
|
21
|
+
const formatFileSize = (sizeBytes, format) => {
|
|
22
|
+
const size = getFileSizeDisplay(sizeBytes);
|
|
23
|
+
return format.number(size.value, {
|
|
24
|
+
maximumFractionDigits: 1,
|
|
25
|
+
style: "unit",
|
|
26
|
+
unit: size.unit,
|
|
27
|
+
unitDisplay: "short"
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
export { formatFileSize, getFileSizeDisplay };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
/**
|
|
3
3
|
* Whether a tooltip value would actually render a popup.
|
|
4
4
|
*
|
|
@@ -7,4 +7,4 @@ import * as React$1 from "react";
|
|
|
7
7
|
* a disabled button has to stay hoverable so that popup can open. Two copies of
|
|
8
8
|
* this predicate would drift into a button that suppresses its own tooltip.
|
|
9
9
|
*/
|
|
10
|
-
export declare const hasTooltipContent: (content: React
|
|
10
|
+
export declare const hasTooltipContent: (content: React.ReactNode) => boolean;
|
package/dist/lib/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { ClassValue } from "clsx";
|
|
3
3
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
4
4
|
/**
|
|
@@ -14,4 +14,4 @@ export declare function cn(...inputs: ClassValue[]): string;
|
|
|
14
14
|
* their callback happened to return as a cleanup, and warn
|
|
15
15
|
* when it is neither a function nor `undefined`.
|
|
16
16
|
*/
|
|
17
|
-
export declare const composeRefs: <T>(...refs: (React
|
|
17
|
+
export declare const composeRefs: <T>(...refs: (React.Ref<T> | undefined)[]) => ((node: T | null) => (() => void) | undefined);
|
|
@@ -14,6 +14,12 @@ type ReviewOutOfDateNoticeProps = {
|
|
|
14
14
|
reasons: readonly ReviewOutOfDateReason[];
|
|
15
15
|
actionLabel?: ReactNode;
|
|
16
16
|
onAction?: (() => void) | undefined;
|
|
17
|
+
/** The action is running: its button shows it and takes no second press. */
|
|
18
|
+
actionPending?: boolean;
|
|
19
|
+
/** The action is not available now. */
|
|
20
|
+
actionDisabled?: boolean;
|
|
21
|
+
/** Why the action is not available now, shown on hover over it. */
|
|
22
|
+
actionDisabledReason?: ReactNode;
|
|
17
23
|
tone?: ReviewOutOfDateTone;
|
|
18
24
|
className?: string;
|
|
19
25
|
};
|
|
@@ -22,5 +28,5 @@ type ReviewOutOfDateNoticeProps = {
|
|
|
22
28
|
* together: they are different reasons to run again, and a reviewer working
|
|
23
29
|
* through findings should see each one rather than the first.
|
|
24
30
|
*/
|
|
25
|
-
export declare const ReviewOutOfDateNotice: ({ reasons, actionLabel, onAction, tone, className }: ReviewOutOfDateNoticeProps) => import("react").JSX.Element | null;
|
|
31
|
+
export declare const ReviewOutOfDateNotice: ({ reasons, actionLabel, onAction, actionPending, actionDisabled, actionDisabledReason, tone, className }: ReviewOutOfDateNoticeProps) => import("react").JSX.Element | null;
|
|
26
32
|
export {};
|
|
@@ -7,7 +7,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
7
7
|
* together: they are different reasons to run again, and a reviewer working
|
|
8
8
|
* through findings should see each one rather than the first.
|
|
9
9
|
*/
|
|
10
|
-
const ReviewOutOfDateNotice = ({ reasons, actionLabel, onAction, tone = "warning", className }) => {
|
|
10
|
+
const ReviewOutOfDateNotice = ({ reasons, actionLabel, onAction, actionPending = false, actionDisabled = false, actionDisabledReason, tone = "warning", className }) => {
|
|
11
11
|
if (reasons.length === 0) return null;
|
|
12
12
|
return /* @__PURE__ */ jsxs("div", {
|
|
13
13
|
className: cn("mb-2 rounded-lg border px-3 py-2", TONE_CLASS[tone], className),
|
|
@@ -17,8 +17,11 @@ const ReviewOutOfDateNotice = ({ reasons, actionLabel, onAction, tone = "warning
|
|
|
17
17
|
children: reasons.map((reason) => /* @__PURE__ */ jsx("li", { children: reason.label }, reason.id))
|
|
18
18
|
}), onAction === void 0 ? null : /* @__PURE__ */ jsx(Button, {
|
|
19
19
|
className: "mt-2",
|
|
20
|
+
disabled: actionDisabled,
|
|
21
|
+
loading: actionPending,
|
|
20
22
|
onClick: onAction,
|
|
21
23
|
size: "xs",
|
|
24
|
+
tooltip: actionDisabled ? actionDisabledReason : void 0,
|
|
22
25
|
variant: "outline",
|
|
23
26
|
children: actionLabel
|
|
24
27
|
})]
|
|
@@ -20,7 +20,12 @@
|
|
|
20
20
|
line-height: inherit;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
/* The field's 10ch floor lives here as a fixed length: a parent sizing its
|
|
24
|
+
row from its content ignores a percentage floor and lays the field out
|
|
25
|
+
wider than it measured, so the overflow came out of the siblings (a
|
|
26
|
+
breadcrumb's matter name shrank to nothing beside its number). */
|
|
23
27
|
[data-slot="inline-rename-mirror"] {
|
|
28
|
+
min-inline-size: 10ch;
|
|
24
29
|
visibility: hidden;
|
|
25
30
|
white-space: pre;
|
|
26
31
|
overflow: hidden;
|
|
@@ -49,6 +54,10 @@
|
|
|
49
54
|
position: static;
|
|
50
55
|
field-sizing: content;
|
|
51
56
|
inline-size: auto;
|
|
57
|
+
/* The mirror reserves the floor; the input hugs its text so opening a
|
|
58
|
+
short title does not widen or move it. */
|
|
59
|
+
min-inline-size: 0;
|
|
60
|
+
justify-self: start;
|
|
52
61
|
}
|
|
53
62
|
}
|
|
54
63
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.72.0",
|
|
4
4
|
"description": "Stella's design system: bidi-aware React primitives built on Base UI, the dockable inspector pane, and the Tailwind v4 theme they are styled with.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"base-ui",
|
|
@@ -230,6 +230,10 @@
|
|
|
230
230
|
"types": "./dist/components/frame.d.ts",
|
|
231
231
|
"import": "./dist/components/frame.js"
|
|
232
232
|
},
|
|
233
|
+
"./file-size": {
|
|
234
|
+
"types": "./dist/lib/file-size.d.ts",
|
|
235
|
+
"import": "./dist/lib/file-size.js"
|
|
236
|
+
},
|
|
233
237
|
"./hex-color-picker": {
|
|
234
238
|
"types": "./dist/components/hex-color-picker.d.ts",
|
|
235
239
|
"import": "./dist/components/hex-color-picker.js"
|
|
@@ -926,9 +930,9 @@
|
|
|
926
930
|
"class-variance-authority": "^0.7.1",
|
|
927
931
|
"clsx": "^2.1.1",
|
|
928
932
|
"input-otp": "^1.5.0",
|
|
929
|
-
"lucide-react": "1.
|
|
933
|
+
"lucide-react": "1.70.0",
|
|
930
934
|
"tailwind-merge": "^3.7.0",
|
|
931
|
-
"temporal-polyfill": "1.0.
|
|
935
|
+
"temporal-polyfill": "1.0.8"
|
|
932
936
|
},
|
|
933
937
|
"devDependencies": {
|
|
934
938
|
"@atlaskit/pragmatic-drag-and-drop": "^4.0.0",
|
|
@@ -937,12 +941,12 @@
|
|
|
937
941
|
"@dnd-kit/core": "^6.3.1",
|
|
938
942
|
"@dnd-kit/sortable": "^10.0.0",
|
|
939
943
|
"@happy-dom/global-registrator": "21.0.4",
|
|
940
|
-
"@playwright/test": "^1.
|
|
944
|
+
"@playwright/test": "^1.65.0",
|
|
941
945
|
"@stll/playwright-tools": "0.0.0",
|
|
942
946
|
"@stll/property-testing": "0.0.0",
|
|
943
947
|
"@stll/typescript-config": "0.0.0",
|
|
944
|
-
"@tailwindcss/vite": "4.3.
|
|
945
|
-
"@tanstack/react-virtual": "^3.14.
|
|
948
|
+
"@tailwindcss/vite": "4.3.5",
|
|
949
|
+
"@tanstack/react-virtual": "^3.14.26",
|
|
946
950
|
"@testing-library/dom": "10.4.2",
|
|
947
951
|
"@testing-library/react": "16.3.3",
|
|
948
952
|
"@types/react": "^19.3.0",
|
|
@@ -951,9 +955,9 @@
|
|
|
951
955
|
"fast-check": "^4.10.2",
|
|
952
956
|
"react": "^19.3.1",
|
|
953
957
|
"react-dom": "^19.3.1",
|
|
954
|
-
"tailwindcss": "4.3.
|
|
955
|
-
"tsdown": "0.23.
|
|
956
|
-
"tsrs": "0.
|
|
958
|
+
"tailwindcss": "4.3.5",
|
|
959
|
+
"tsdown": "0.23.7",
|
|
960
|
+
"tsrs": "0.23.0-ts7.1.0-beta",
|
|
957
961
|
"vite": "8.3.5"
|
|
958
962
|
},
|
|
959
963
|
"peerDependencies": {
|