@kumix/ui 0.7.0 → 0.8.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/README.md +3 -2
- package/dist/components/agents/ai-sidebar/resource-row.js +1 -1
- package/dist/components/agents/ai-sidebar.js +1 -1
- package/dist/components/agents/approval-card.js +1 -1
- package/dist/components/agents/code-block.js +1 -1
- package/dist/components/agents/context-meter.js +1 -1
- package/dist/components/agents/file-diff.js +1 -1
- package/dist/components/agents/message-scroller.js +1 -1
- package/dist/components/agents/prompt-input.js +1 -1
- package/dist/components/agents/streaming-response.js +1 -1
- package/dist/components/agents/tool-result.js +1 -1
- package/dist/components/agents/voice-note.js +1 -1
- package/dist/components/charts/bar-chart/context.d.ts +3 -3
- package/dist/components/charts/bar-chart/tooltip.js +1 -1
- package/dist/components/charts/bump-chart/context.d.ts +1 -1
- package/dist/components/charts/bump-chart/point.js +1 -1
- package/dist/components/charts/bump-chart/series.d.ts +1 -1
- package/dist/components/charts/bump-chart.d.ts +1 -1
- package/dist/components/charts/candlestick-chart/context.d.ts +3 -3
- package/dist/components/charts/composition-chart/context.d.ts +1 -1
- package/dist/components/charts/composition-chart/plot.js +1 -1
- package/dist/components/charts/composition-chart.d.ts +1 -1
- package/dist/components/charts/funnel-chart.js +1 -1
- package/dist/components/charts/heat-calendar/tooltip.d.ts +1 -1
- package/dist/components/charts/heat-calendar/tooltip.js +1 -1
- package/dist/components/charts/heat-calendar.d.ts +1 -1
- package/dist/components/charts/liquidity-heatmap.js +1 -1
- package/dist/components/charts/order-book.d.ts +1 -1
- package/dist/components/charts/price-target-fan/tooltip.js +1 -1
- package/dist/components/charts/returns-calendar/tooltip.js +1 -1
- package/dist/components/charts/sankey-chart/tooltip.js +1 -1
- package/dist/components/charts/status-bar/tooltip.d.ts +1 -1
- package/dist/components/charts/status-bar/tooltip.js +1 -1
- package/dist/components/charts/status-bar.d.ts +1 -1
- package/dist/components/charts/treemap/tooltip.js +1 -1
- package/dist/components/charts/treemap.d.ts +1 -1
- package/dist/components/charts/volume-profile/tooltip.js +1 -1
- package/dist/components/charts/volume-profile.d.ts +1 -1
- package/dist/components/motion/animated-toast-stack/toast-body.js +1 -1
- package/dist/components/motion/attachment-upload/image-thumbnail.js +1 -1
- package/dist/components/motion/attachment-upload/row-action.js +1 -1
- package/dist/components/motion/availability-scheduler/copy-menu.js +1 -1
- package/dist/components/motion/availability-scheduler/day-row.js +2 -2
- package/dist/components/motion/availability-scheduler.js +1 -1
- package/dist/components/motion/avatar-group.js +1 -1
- package/dist/components/motion/casino/game-parts.js +1 -1
- package/dist/components/motion/center-morph-modal.js +1 -1
- package/dist/components/motion/combobox/trigger.d.ts.map +1 -1
- package/dist/components/motion/combobox/trigger.js +7 -2
- package/dist/components/motion/combobox/trigger.js.map +1 -1
- package/dist/components/motion/date-range-picker/header.js +1 -1
- package/dist/components/motion/file-upload.js +1 -1
- package/dist/components/motion/knockout-bracket.js +1 -1
- package/dist/components/motion/knockout-wheel.js +1 -1
- package/dist/components/motion/mines.js +1 -1
- package/dist/components/motion/plinko.js +1 -1
- package/dist/components/motion/prediction-market-card.js +1 -1
- package/dist/components/motion/qr-code.d.ts +42 -0
- package/dist/components/motion/qr-code.d.ts.map +1 -0
- package/dist/components/motion/qr-code.js +443 -0
- package/dist/components/motion/qr-code.js.map +1 -0
- package/dist/components/motion/swap/controls.js +1 -1
- package/dist/components/motion/tooltip.d.ts +2 -2
- package/dist/components/motion/tooltip.d.ts.map +1 -1
- package/dist/components/motion/tooltip.js +1 -1
- package/dist/components/reui/alert.d.ts +1 -1
- package/dist/components/reui/badge.d.ts +1 -1
- package/dist/components/reui/icon-tile.d.ts +1 -1
- package/dist/components/ui/attachment.d.ts +2 -2
- package/dist/components/ui/button-group.d.ts +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/empty.d.ts +1 -1
- package/dist/components/ui/field.d.ts +1 -1
- package/dist/components/ui/item.d.ts +1 -1
- package/dist/{context-DMIy-rFm.d.ts → context-Cyjsttyl.d.ts} +4 -4
- package/dist/{context-DMIy-rFm.d.ts.map → context-Cyjsttyl.d.ts.map} +1 -1
- package/dist/{context-jX-r_7EP.d.ts → context-D7eAawR3.d.ts} +4 -4
- package/dist/{context-jX-r_7EP.d.ts.map → context-D7eAawR3.d.ts.map} +1 -1
- package/dist/{copy-menu-Bgoo5oWq.js → copy-menu-Di77fZ9p.js} +2 -2
- package/dist/{copy-menu-Bgoo5oWq.js.map → copy-menu-Di77fZ9p.js.map} +1 -1
- package/dist/hooks/use-dismiss.d.ts +9 -1
- package/dist/hooks/use-dismiss.d.ts.map +1 -1
- package/dist/hooks/use-dismiss.js +6 -3
- package/dist/hooks/use-dismiss.js.map +1 -1
- package/dist/lib/layers.d.ts +1 -1
- package/dist/lib/layers.js.map +1 -1
- package/dist/{resource-row-PkgPS9Hk.js → resource-row-DByzjie0.js} +2 -2
- package/dist/{resource-row-PkgPS9Hk.js.map → resource-row-DByzjie0.js.map} +1 -1
- package/dist/{tooltip-X7sMXf98.d.ts → tooltip-CwsBzl7m.d.ts} +2 -2
- package/dist/{tooltip-X7sMXf98.d.ts.map → tooltip-CwsBzl7m.d.ts.map} +1 -1
- package/dist/{tooltip-gKOUHp_1.d.ts → tooltip-TdY1OH4j.d.ts} +2 -2
- package/dist/{tooltip-gKOUHp_1.d.ts.map → tooltip-TdY1OH4j.d.ts.map} +1 -1
- package/dist/{tooltip-gHv-6eOs.js → tooltip-eecPhLtC.js} +54 -7
- package/dist/tooltip-eecPhLtC.js.map +1 -0
- package/package.json +11 -6
- package/dist/tooltip-gHv-6eOs.js.map +0 -1
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ This package is a maintained distribution: imports rewritten for monorepo (`@kum
|
|
|
31
31
|
bun add @kumix/ui @kumix/utils
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
Install peers (see `package.json` → `peerDependencies`). Six peers are **always required**: `react`, `@kumix/utils`, `@base-ui/react`, `class-variance-authority`, `lucide-react`, `motion`. The remaining
|
|
34
|
+
Install peers (see `package.json` → `peerDependencies`). Six peers are **always required**: `react`, `@kumix/utils`, `@base-ui/react`, `class-variance-authority`, `lucide-react`, `motion`. The remaining 23 are **optional** via `peerDependenciesMeta` — install only what your imported components need.
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
37
|
bun add @base-ui/react class-variance-authority lucide-react motion react @kumix/utils
|
|
@@ -56,6 +56,7 @@ bun add @base-ui/react class-variance-authority lucide-react motion react @kumix
|
|
|
56
56
|
| `@headless-tree/core` | tree |
|
|
57
57
|
| `shiki` | `agents/code-block`, `reui/code-block`, `ui/code-block` via `lib/highlighter` |
|
|
58
58
|
| `@floating-ui/dom` | `motion/tooltip` |
|
|
59
|
+
| `uqr` | `motion/qr-code` |
|
|
59
60
|
|
|
60
61
|
## Import paths
|
|
61
62
|
|
|
@@ -150,7 +151,7 @@ Extended patterns. Preview: [reui.io](https://reui.io/docs).
|
|
|
150
151
|
|
|
151
152
|
Animated components built with [Motion](https://motion.dev). Preview: [beui.dev](https://beui.dev/components/motion). Bundled — `motion`, `lenis`, `@paper-design/shaders-react` are included, no extra installs needed.
|
|
152
153
|
|
|
153
|
-
`action-swap` (4 variants: base, blur, cascade, roll) · `adaptive-stepper` (+ `Liquid` easing backdrop) · `add-to-cart` (pill that flips through item faces, then confirms) · `alert` · `animated-badge` · `animated-number` · `animated-sidebar` + `animated-sidebar/*` (menu buttons, mobile sidebar) · `animated-toast-stack` + `animated-toast-stack/*` (toast body, content-size hook) · `arc-picker` · `aspect-ratio` · `attachment-upload` + `attachment-upload/*` (rows, thumbnails, preview dialog) · `avatar-group` (stack + overflow count, initials fallback) · `card-dealer` (deck→hand→pile drag card zones) · `crash` (multiplier climb game; balloon + tower stage designs via `crash/` — shared `use-crash-game` clock/easing model, exported `crashPoint`/`growth`/`milestone` helpers; casino chrome shared via `casino/game-parts`) · `availability-scheduler/*` (copy-menu, day-row, time-select) · `before-after-slider` (drag divider comparing `before`/`after`, optional auto sweep on first view) · `bloom-menu` · `bookmark-button` · `bookshelf` (3D book spines; pull a book out, open cover; `BookshelfBook` items, page sounds via `lib/book-sounds`) · `bottom-sheet` · `bounce-sidebar` · `bouncy-accordion` · `breadcrumb` · `button/*` (base, magnetic, metallic, stateful, `ButtonLink`) · `card` (animated `Card`/`CardHeader`/`CardTitle`/`CardDescription`/`CardContent`/`CardFooter` with variants and drag) · `card-folder` · `center-morph-modal` · `checkbox` · `chromatic-text-reveal` · `click-burst` · `collapsible` · `color-picker` (full HSVA/RGBA/Hex picker with area, hue/alpha sliders, eyedropper, swatches) · `color-selector` · `combobox` + `combobox/*` (trigger, list, content, context, listbox-panel, active-option/filter hooks) · `command-palette` · `confetti` · `context-menu` · `copy-button` · `cylinder-carousel` · `date-range-picker/*` · `delete-button` (confirm-to-delete with async spinner) · `digit-swap` · `dock` · `download-button` · `drawer` · `dropdown-menu` + `dropdown-menu/*` (animated compound menu — Trigger/Content/Item, checkbox + radio items, submenus; portal positioning, keyboard model via `hooks/use-listbox`; shares `menu/` parts with context-menu, both selects and `agents/prompt-input`) · `dynamic-island` · `expandable-action-bar` · `expandable-control` · `expandable-tabs` · `expanding-arrow-button` · `feedback-widget` · `file-tree` · `file-upload` · `follow-button` · `hold-action-button` · `infinite-masonry` · `input` (`reserveErrorLine` reserves one validation line) · `knockout-bracket` · `knockout-wheel` · `like-button` · `liquid` (gooey SVG backdrop: `Liquid`, `LiquidItem`) · `loader` · `lock-toggle` · `magnetic` · `mines` (gem/mine grid with cash-out; exported `minesMultiplier`/`formatMultiplier`, pentatonic gem chimes via `lib/game-sounds`) · `marquee` · `message-status` · `morphing-lightbox` · `morphing-modal` · `morphing-search` · `morphing-search-chips` (search bar with animated chip filters and recent history) · `morphing-tabs` · `mute-toggle` · `multi-select/*` (composable: trigger, list, content, context — entry `multi-select`) · `not-found/*` (glitch, magnetic, spotlight, stacked, terminal) · `notification-bell` · `notification-stack` · `number-ticker` · `otp-input` · `overflow-actions` · `parallax` · `pagination` (page window + ellipses, controlled/uncontrolled, `paginationRange` helper) · `plinko` (ball drop through pegs; `plinkoSlots(rows)` slot generator, `onLand` callback) · `poll-vote` · `popover` · `popover-morph` · `popover-position` (internal `.ts` placement helper — not a package entry) · `prediction-market` · `prediction-market-card` · `preview-rail` · `project-folder` · `pull-to-refresh` · `radio` · `range-slider` (6 variants) · `reaction-picker` · `refresh-button` · `scroll-progress` · `scroll-reveal` · `scroll-to` · `select` · `select-morph` · `send-button` · `shader-background` · `share-button` · `shared-layout-bg` · `signup-form` · `slide-action-button` · `slide-game` (casino slide-under game; `slideResult(random, houseEdge)` payout helper) · `smooth-scroll` · `sortable-list` · `sortable-stack` · `star-rating` · `status-icon` · `swap/*` · `swipeable-list` · `switch` · `table/*` (virtualized, editable, async) · `tabs` · `text-cascade` · `text-morph` · `text-reveal` · `text-scramble` · `text-shimmer` · `theme-toggle` · `tilt-card` · `timeline` (pointer-drag carousel with flick-glide spring focus, optional year/ruler/cables layers) · `tooltip` (controlled + uncontrolled; `followCursor`; `TooltipProvider` context; arrow support; `@floating-ui/dom` positioning with grace area; `anchorRef`/`anchorPoint` for chart integration) · `tooltip-surface` (shared animated surface) · `upvote-button` · `wallet-card/*` · `wave-reveal` · `wheel-picker`
|
|
154
|
+
`action-swap` (4 variants: base, blur, cascade, roll) · `adaptive-stepper` (+ `Liquid` easing backdrop) · `add-to-cart` (pill that flips through item faces, then confirms) · `alert` · `animated-badge` · `animated-number` · `animated-sidebar` + `animated-sidebar/*` (menu buttons, mobile sidebar) · `animated-toast-stack` + `animated-toast-stack/*` (toast body, content-size hook) · `arc-picker` · `aspect-ratio` · `attachment-upload` + `attachment-upload/*` (rows, thumbnails, preview dialog) · `avatar-group` (stack + overflow count, initials fallback) · `card-dealer` (deck→hand→pile drag card zones) · `crash` (multiplier climb game; balloon + tower stage designs via `crash/` — shared `use-crash-game` clock/easing model, exported `crashPoint`/`growth`/`milestone` helpers; casino chrome shared via `casino/game-parts`) · `availability-scheduler/*` (copy-menu, day-row, time-select) · `before-after-slider` (drag divider comparing `before`/`after`, optional auto sweep on first view) · `bloom-menu` · `bookmark-button` · `bookshelf` (3D book spines; pull a book out, open cover; `BookshelfBook` items, page sounds via `lib/book-sounds`) · `bottom-sheet` · `bounce-sidebar` · `bouncy-accordion` · `breadcrumb` · `button/*` (base, magnetic, metallic, stateful, `ButtonLink`) · `card` (animated `Card`/`CardHeader`/`CardTitle`/`CardDescription`/`CardContent`/`CardFooter` with variants and drag) · `card-folder` · `center-morph-modal` · `checkbox` · `chromatic-text-reveal` · `click-burst` · `collapsible` · `color-picker` (full HSVA/RGBA/Hex picker with area, hue/alpha sliders, eyedropper, swatches) · `color-selector` · `combobox` + `combobox/*` (trigger, list, content, context, listbox-panel, active-option/filter hooks) · `command-palette` · `confetti` · `context-menu` · `copy-button` · `cylinder-carousel` · `date-range-picker/*` · `delete-button` (confirm-to-delete with async spinner) · `digit-swap` · `dock` · `download-button` · `drawer` · `dropdown-menu` + `dropdown-menu/*` (animated compound menu — Trigger/Content/Item, checkbox + radio items, submenus; portal positioning, keyboard model via `hooks/use-listbox`; shares `menu/` parts with context-menu, both selects and `agents/prompt-input`) · `dynamic-island` · `expandable-action-bar` · `expandable-control` · `expandable-tabs` · `expanding-arrow-button` · `feedback-widget` · `file-tree` · `file-upload` · `follow-button` · `hold-action-button` · `infinite-masonry` · `input` (`reserveErrorLine` reserves one validation line) · `knockout-bracket` · `knockout-wheel` · `like-button` · `liquid` (gooey SVG backdrop: `Liquid`, `LiquidItem`) · `loader` · `lock-toggle` · `magnetic` · `mines` (gem/mine grid with cash-out; exported `minesMultiplier`/`formatMultiplier`, pentatonic gem chimes via `lib/game-sounds`) · `marquee` · `message-status` · `morphing-lightbox` · `morphing-modal` · `morphing-search` · `morphing-search-chips` (search bar with animated chip filters and recent history) · `morphing-tabs` · `mute-toggle` · `multi-select/*` (composable: trigger, list, content, context — entry `multi-select`) · `not-found/*` (glitch, magnetic, spotlight, stacked, terminal) · `notification-bell` · `notification-stack` · `number-ticker` · `otp-input` · `overflow-actions` · `parallax` · `pagination` (page window + ellipses, controlled/uncontrolled, `paginationRange` helper) · `plinko` (ball drop through pegs; `plinkoSlots(rows)` slot generator, `onLand` callback) · `poll-vote` · `popover` · `popover-morph` · `popover-position` (internal `.ts` placement helper — not a package entry) · `prediction-market` · `prediction-market-card` · `preview-rail` · `project-folder` · `pull-to-refresh` · `qr-code` (canvas QR builds in as a swarm of pieces, ripple, scan sweep or smoke; `uqr` peer) · `radio` · `range-slider` (6 variants) · `reaction-picker` · `refresh-button` · `scroll-progress` · `scroll-reveal` · `scroll-to` · `select` · `select-morph` · `send-button` · `shader-background` · `share-button` · `shared-layout-bg` · `signup-form` · `slide-action-button` · `slide-game` (casino slide-under game; `slideResult(random, houseEdge)` payout helper) · `smooth-scroll` · `sortable-list` · `sortable-stack` · `star-rating` · `status-icon` · `swap/*` · `swipeable-list` · `switch` · `table/*` (virtualized, editable, async) · `tabs` · `text-cascade` · `text-morph` · `text-reveal` · `text-scramble` · `text-shimmer` · `theme-toggle` · `tilt-card` · `timeline` (pointer-drag carousel with flick-glide spring focus, optional year/ruler/cables layers) · `tooltip` (controlled + uncontrolled; `followCursor`; `TooltipProvider` context; arrow support; `@floating-ui/dom` positioning with grace area; `anchorRef`/`anchorPoint` for chart integration) · `tooltip-surface` (shared animated surface) · `upvote-button` · `wallet-card/*` · `wave-reveal` · `wheel-picker`
|
|
154
155
|
|
|
155
156
|
### beUI — AI Agents (`components/agents`)
|
|
156
157
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { t as ResourceRow } from "../../../resource-row-
|
|
2
|
+
export { t as ResourceRow } from "../../../resource-row-DByzjie0.js";
|
|
@@ -3,7 +3,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
|
3
3
|
import { AnimatePresence } from "motion/react";
|
|
4
4
|
import { cn } from "@kumix/utils";
|
|
5
5
|
import { useMessages } from "../../lib/i18n.js";
|
|
6
|
-
import { a as flattenResources, i as findResource, n as canContain, o as moveResource, r as containsResource, s as renameResource, t as ResourceRow } from "../../resource-row-
|
|
6
|
+
import { a as flattenResources, i as findResource, n as canContain, o as moveResource, r as containsResource, s as renameResource, t as ResourceRow } from "../../resource-row-DByzjie0.js";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
// src/components/agents/ai-sidebar/messages.ts
|
|
9
9
|
const aiSidebarMessages = {
|
|
@@ -10,7 +10,7 @@ import { Button } from "../motion/button/base.js";
|
|
|
10
10
|
import { Checkbox } from "../motion/checkbox.js";
|
|
11
11
|
import { Input } from "../motion/input.js";
|
|
12
12
|
import { RadioGroup, RadioGroupItem } from "../motion/radio.js";
|
|
13
|
-
import { t as Tooltip } from "../../tooltip-
|
|
13
|
+
import { t as Tooltip } from "../../tooltip-eecPhLtC.js";
|
|
14
14
|
import { ClipResizeFrame } from "./clip-resize-frame.js";
|
|
15
15
|
import { IconSwap } from "./icon-swap.js";
|
|
16
16
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -7,7 +7,7 @@ import { useCopy } from "../../hooks/use-copy.js";
|
|
|
7
7
|
import { SPRING_PRESS } from "../../lib/ease.js";
|
|
8
8
|
import { useMessages } from "../../lib/i18n.js";
|
|
9
9
|
import { ActionSwapRollText } from "../motion/action-swap-roll.js";
|
|
10
|
-
import { t as Tooltip } from "../../tooltip-
|
|
10
|
+
import { t as Tooltip } from "../../tooltip-eecPhLtC.js";
|
|
11
11
|
import { AgentCodeLine, useAgentCodeTokens } from "./agent-code.js";
|
|
12
12
|
import { IconSwap } from "./icon-swap.js";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -8,7 +8,7 @@ import { EASE_OUT } from "../../lib/ease.js";
|
|
|
8
8
|
import { useMessages } from "../../lib/i18n.js";
|
|
9
9
|
import { PresenceGate } from "../../lib/presence-gate.js";
|
|
10
10
|
import { AnimatedNumber } from "../motion/animated-number.js";
|
|
11
|
-
import { t as Tooltip } from "../../tooltip-
|
|
11
|
+
import { t as Tooltip } from "../../tooltip-eecPhLtC.js";
|
|
12
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
// src/components/agents/context-meter.tsx
|
|
14
14
|
/** English defaults. Override per instance with `labels`, or app-wide with `LocaleProvider`. */
|
|
@@ -3,7 +3,7 @@ import { useId, useLayoutEffect, useRef } from "react";
|
|
|
3
3
|
import { Check, ChevronDown, Copy, FileCode2, LoaderCircle } from "lucide-react";
|
|
4
4
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
5
5
|
import { EASE_OUT, SPRING_PRESS, SPRING_SWAP } from "../../lib/ease.js";
|
|
6
|
-
import { t as Tooltip } from "../../tooltip-
|
|
6
|
+
import { t as Tooltip } from "../../tooltip-eecPhLtC.js";
|
|
7
7
|
import { AgentCodeLine, useAgentCodeTokens } from "./agent-code.js";
|
|
8
8
|
import { AgentDisclosure } from "./agent-disclosure.js";
|
|
9
9
|
import { IconSwap } from "./icon-swap.js";
|
|
@@ -6,7 +6,7 @@ import { cn } from "@kumix/utils";
|
|
|
6
6
|
import { EASE_OUT } from "../../lib/ease.js";
|
|
7
7
|
import { useMessages } from "../../lib/i18n.js";
|
|
8
8
|
import { PreviewRail } from "../motion/preview-rail.js";
|
|
9
|
-
import { t as Tooltip } from "../../tooltip-
|
|
9
|
+
import { t as Tooltip } from "../../tooltip-eecPhLtC.js";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
// src/components/agents/message-scroller.tsx
|
|
12
12
|
const JUMP_IN = {
|
|
@@ -9,7 +9,7 @@ import { useMessages } from "../../lib/i18n.js";
|
|
|
9
9
|
import { Button } from "../motion/button/base.js";
|
|
10
10
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuTrigger } from "../motion/dropdown-menu.js";
|
|
11
11
|
import { MENU_ITEM_CLASS, MenuItemHighlight } from "../motion/menu/menu-item-highlight.js";
|
|
12
|
-
import { t as Tooltip } from "../../tooltip-
|
|
12
|
+
import { t as Tooltip } from "../../tooltip-eecPhLtC.js";
|
|
13
13
|
import { ClipResizeFrame } from "./clip-resize-frame.js";
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
// src/components/agents/prompt-input.tsx
|
|
@@ -6,7 +6,7 @@ import { cn } from "@kumix/utils";
|
|
|
6
6
|
import { useCopy } from "../../hooks/use-copy.js";
|
|
7
7
|
import { EASE_OUT, SPRING_PRESS, SPRING_SWAP } from "../../lib/ease.js";
|
|
8
8
|
import { useMessages } from "../../lib/i18n.js";
|
|
9
|
-
import { t as Tooltip } from "../../tooltip-
|
|
9
|
+
import { t as Tooltip } from "../../tooltip-eecPhLtC.js";
|
|
10
10
|
import { AgentDisclosure } from "./agent-disclosure.js";
|
|
11
11
|
import { CitationList, CitationStack } from "./citations.js";
|
|
12
12
|
import { IconSwap } from "./icon-swap.js";
|
|
@@ -8,7 +8,7 @@ import { useStatusOpen } from "../../hooks/use-status-open.js";
|
|
|
8
8
|
import { SPRING_PRESS, SPRING_SWAP } from "../../lib/ease.js";
|
|
9
9
|
import { useMessages } from "../../lib/i18n.js";
|
|
10
10
|
import { ActionSwapRollText } from "../motion/action-swap-roll.js";
|
|
11
|
-
import { t as Tooltip } from "../../tooltip-
|
|
11
|
+
import { t as Tooltip } from "../../tooltip-eecPhLtC.js";
|
|
12
12
|
import { AgentCode } from "./agent-code.js";
|
|
13
13
|
import { AgentDisclosure } from "./agent-disclosure.js";
|
|
14
14
|
import { IconSwap } from "./icon-swap.js";
|
|
@@ -5,7 +5,7 @@ import { animate, isMotionValue, motion, useMotionTemplate, useMotionValue, useR
|
|
|
5
5
|
import { cn } from "@kumix/utils";
|
|
6
6
|
import { EASE_OUT, SPRING_PRESS } from "../../lib/ease.js";
|
|
7
7
|
import { useMessages } from "../../lib/i18n.js";
|
|
8
|
-
import { t as Tooltip } from "../../tooltip-
|
|
8
|
+
import { t as Tooltip } from "../../tooltip-eecPhLtC.js";
|
|
9
9
|
import { IconSwap } from "./icon-swap.js";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
// src/components/agents/voice-note.tsx
|
|
@@ -53,7 +53,7 @@ export declare function useBarChartModel({ series, categories, layout, orientati
|
|
|
53
53
|
setHovered: import("react").Dispatch<import("react").SetStateAction<string | null>>;
|
|
54
54
|
domain: XYDomain;
|
|
55
55
|
layout: "stacked" | "grouped";
|
|
56
|
-
orientation: "
|
|
56
|
+
orientation: "vertical" | "horizontal";
|
|
57
57
|
formatValue: (value: number) => string;
|
|
58
58
|
formatTick: (value: number) => string;
|
|
59
59
|
label: string;
|
|
@@ -84,7 +84,7 @@ export declare const BarChartContext: import("react").Context<{
|
|
|
84
84
|
setHovered: import("react").Dispatch<import("react").SetStateAction<string | null>>;
|
|
85
85
|
domain: XYDomain;
|
|
86
86
|
layout: "stacked" | "grouped";
|
|
87
|
-
orientation: "
|
|
87
|
+
orientation: "vertical" | "horizontal";
|
|
88
88
|
formatValue: (value: number) => string;
|
|
89
89
|
formatTick: (value: number) => string;
|
|
90
90
|
label: string;
|
|
@@ -114,7 +114,7 @@ export declare function useBarChart(): {
|
|
|
114
114
|
setHovered: import("react").Dispatch<import("react").SetStateAction<string | null>>;
|
|
115
115
|
domain: XYDomain;
|
|
116
116
|
layout: "stacked" | "grouped";
|
|
117
|
-
orientation: "
|
|
117
|
+
orientation: "vertical" | "horizontal";
|
|
118
118
|
formatValue: (value: number) => string;
|
|
119
119
|
formatTick: (value: number) => string;
|
|
120
120
|
label: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn } from "@kumix/utils";
|
|
3
|
-
import { t as Tooltip } from "../../../tooltip-
|
|
3
|
+
import { t as Tooltip } from "../../../tooltip-eecPhLtC.js";
|
|
4
4
|
import { XYTooltipContent } from "../xy/tooltip-content.js";
|
|
5
5
|
import { useBarChart } from "./context.js";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as useBumpChartModel, n as BumpChartProps, r as useBumpChart, t as BumpChartContext } from "../../../context-
|
|
1
|
+
import { i as useBumpChartModel, n as BumpChartProps, r as useBumpChart, t as BumpChartContext } from "../../../context-D7eAawR3.js";
|
|
2
2
|
export { BumpChartContext, BumpChartProps, useBumpChart, useBumpChartModel };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { motion, useTransform } from "motion/react";
|
|
3
3
|
import { EASE_OUT, SPRING_PRESS } from "../../../lib/ease.js";
|
|
4
|
-
import { t as Tooltip } from "../../../tooltip-
|
|
4
|
+
import { t as Tooltip } from "../../../tooltip-eecPhLtC.js";
|
|
5
5
|
import { i as PLOT, n as useBumpChart } from "../../../context-BG1Wzdnj.js";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
// src/components/charts/bump-chart/point.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as useBumpChart } from "../../../context-
|
|
1
|
+
import { r as useBumpChart } from "../../../context-D7eAawR3.js";
|
|
2
2
|
import { t as BumpPosition } from "../../../use-geometry-BajLqxjC.js";
|
|
3
3
|
type Row = ReturnType<typeof useBumpChart>["rows"][number];
|
|
4
4
|
export declare function BumpChartSeriesPath({ row, positions, index }: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as BumpChartMessages, n as BumpChartProps, o as bumpChartMessages, r as useBumpChart, s as BumpSeries } from "../../context-
|
|
1
|
+
import { a as BumpChartMessages, n as BumpChartProps, o as bumpChartMessages, r as useBumpChart, s as BumpSeries } from "../../context-D7eAawR3.js";
|
|
2
2
|
import { BumpChartLegend } from "./bump-chart/legend.js";
|
|
3
3
|
import { BumpChartPlot } from "./bump-chart/plot.js";
|
|
4
4
|
/** Compose the plot and legend, or supply children for your own arrangement. */
|
|
@@ -66,7 +66,7 @@ export declare function useCandlestickModel({ candles, lastPrice, activeId, defa
|
|
|
66
66
|
formatPrice: (value: number) => string;
|
|
67
67
|
formatVolume: (value: number) => string;
|
|
68
68
|
label: string;
|
|
69
|
-
t: (key: "
|
|
69
|
+
t: (key: "open" | "label" | "candle" | "high" | "low" | "close" | "volume" | "valueText", values?: Record<string, string | number>) => string;
|
|
70
70
|
reduce: boolean;
|
|
71
71
|
};
|
|
72
72
|
export type CandlestickModel = ReturnType<typeof useCandlestickModel>;
|
|
@@ -83,7 +83,7 @@ export declare const CandlestickContext: import("react").Context<{
|
|
|
83
83
|
formatPrice: (value: number) => string;
|
|
84
84
|
formatVolume: (value: number) => string;
|
|
85
85
|
label: string;
|
|
86
|
-
t: (key: "
|
|
86
|
+
t: (key: "open" | "label" | "candle" | "high" | "low" | "close" | "volume" | "valueText", values?: Record<string, string | number>) => string;
|
|
87
87
|
reduce: boolean;
|
|
88
88
|
} | null>;
|
|
89
89
|
export declare function useCandlestickChart(): {
|
|
@@ -99,7 +99,7 @@ export declare function useCandlestickChart(): {
|
|
|
99
99
|
formatPrice: (value: number) => string;
|
|
100
100
|
formatVolume: (value: number) => string;
|
|
101
101
|
label: string;
|
|
102
|
-
t: (key: "
|
|
102
|
+
t: (key: "open" | "label" | "candle" | "high" | "low" | "close" | "volume" | "valueText", values?: Record<string, string | number>) => string;
|
|
103
103
|
reduce: boolean;
|
|
104
104
|
};
|
|
105
105
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as useCompositionModel, n as CompositionContext, r as useCompositionChart, t as CompositionChartProps } from "../../../context-
|
|
1
|
+
import { i as useCompositionModel, n as CompositionContext, r as useCompositionChart, t as CompositionChartProps } from "../../../context-Cyjsttyl.js";
|
|
2
2
|
export { CompositionChartProps, CompositionContext, useCompositionChart, useCompositionModel };
|
|
@@ -3,7 +3,7 @@ import { useId, useRef, useState } from "react";
|
|
|
3
3
|
import { motion } from "motion/react";
|
|
4
4
|
import { cn } from "@kumix/utils";
|
|
5
5
|
import { SPRING_LAYOUT } from "../../../lib/ease.js";
|
|
6
|
-
import { t as Tooltip } from "../../../tooltip-
|
|
6
|
+
import { t as Tooltip } from "../../../tooltip-eecPhLtC.js";
|
|
7
7
|
import { i as compositionArea, n as useCompositionChart } from "../../../context-CHXHCbuu.js";
|
|
8
8
|
import { CompositionTooltipContent } from "./tooltip-content.js";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CompositionSeries, o as CompositionChartMessages, r as useCompositionChart, s as compositionChartMessages, t as CompositionChartProps } from "../../context-
|
|
1
|
+
import { a as CompositionSeries, o as CompositionChartMessages, r as useCompositionChart, s as compositionChartMessages, t as CompositionChartProps } from "../../context-Cyjsttyl.js";
|
|
2
2
|
import { CompositionChartLegend } from "./composition-chart/legend.js";
|
|
3
3
|
import { CompositionChartPlot } from "./composition-chart/plot.js";
|
|
4
4
|
/** Normalized stacked shares. Zero-total or incomplete periods are shown as gaps. */
|
|
@@ -5,7 +5,7 @@ import { cn } from "@kumix/utils";
|
|
|
5
5
|
import { EASE_OUT } from "../../lib/ease.js";
|
|
6
6
|
import { useMessages } from "../../lib/i18n.js";
|
|
7
7
|
import { NumberTicker } from "../motion/number-ticker.js";
|
|
8
|
-
import { t as Tooltip } from "../../tooltip-
|
|
8
|
+
import { t as Tooltip } from "../../tooltip-eecPhLtC.js";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
// src/components/charts/funnel-chart/model.ts
|
|
11
11
|
/** Preserve stage order; omit invalid counts and repeated identities. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as HeatCalendarTooltip } from "../../../tooltip-
|
|
1
|
+
import { t as HeatCalendarTooltip } from "../../../tooltip-TdY1OH4j.js";
|
|
2
2
|
export { HeatCalendarTooltip };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useMemo, useState } from "react";
|
|
3
3
|
import { cn } from "@kumix/utils";
|
|
4
4
|
import { NumberTicker } from "../../motion/number-ticker.js";
|
|
5
|
-
import { t as Tooltip } from "../../../tooltip-
|
|
5
|
+
import { t as Tooltip } from "../../../tooltip-eecPhLtC.js";
|
|
6
6
|
import { n as useHeatCalendar } from "../../../context-Dg48xMuG.js";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
// src/components/charts/heat-calendar/tooltip.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as HeatCalendarSelection, i as HeatCalendarProps, n as useHeatCalendar, o as HeatCalendarMessages, r as HeatCalendarCell, s as heatCalendarMessages, t as HeatCalendarTooltip } from "../../tooltip-
|
|
1
|
+
import { a as HeatCalendarSelection, i as HeatCalendarProps, n as useHeatCalendar, o as HeatCalendarMessages, r as HeatCalendarCell, s as heatCalendarMessages, t as HeatCalendarTooltip } from "../../tooltip-TdY1OH4j.js";
|
|
2
2
|
import { HeatCalendarGrid } from "./heat-calendar/grid.js";
|
|
3
3
|
import { HeatCalendarLegend } from "./heat-calendar/legend.js";
|
|
4
4
|
/** Compose Grid, Tooltip and Legend, or omit children for the complete chart. */
|
|
@@ -5,7 +5,7 @@ import { cn } from "@kumix/utils";
|
|
|
5
5
|
import { EASE_OUT } from "../../lib/ease.js";
|
|
6
6
|
import { useMessages } from "../../lib/i18n.js";
|
|
7
7
|
import { NumberTicker } from "../motion/number-ticker.js";
|
|
8
|
-
import { t as Tooltip } from "../../tooltip-
|
|
8
|
+
import { t as Tooltip } from "../../tooltip-eecPhLtC.js";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
// src/components/charts/liquidity-heatmap/model.ts
|
|
11
11
|
/** Invalid observations are omitted; zero size is distinct from missing data. */
|
|
@@ -82,7 +82,7 @@ export declare function useOrderBook(): {
|
|
|
82
82
|
quoteSymbol: string;
|
|
83
83
|
formatPrice: (value: number) => string;
|
|
84
84
|
formatSize: (value: number) => string;
|
|
85
|
-
t: (key: "
|
|
85
|
+
t: (key: "size" | "label" | "price" | "total" | "cumulativeTotal" | "asksTable" | "bidsTable" | "noAsks" | "noBids" | "referencePrice" | "spreadUnavailable" | "crossedBook" | "spread" | "bids" | "asks" | "visibleDepth" | "depthPlaceholder" | "average", values?: Record<string, string | number>) => string;
|
|
86
86
|
reduce: boolean | null;
|
|
87
87
|
bids: DepthLevel[];
|
|
88
88
|
asks: DepthLevel[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import { cn } from "@kumix/utils";
|
|
4
|
-
import { t as Tooltip } from "../../../tooltip-
|
|
4
|
+
import { t as Tooltip } from "../../../tooltip-eecPhLtC.js";
|
|
5
5
|
import { c as ink, n as usePriceTargetFan } from "../../../context-Bx-OaIL8.js";
|
|
6
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
// src/components/charts/price-target-fan/tooltip.tsx
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useMemo, useState } from "react";
|
|
3
3
|
import { cn } from "@kumix/utils";
|
|
4
4
|
import { NumberTicker } from "../../motion/number-ticker.js";
|
|
5
|
-
import { t as Tooltip } from "../../../tooltip-
|
|
5
|
+
import { t as Tooltip } from "../../../tooltip-eecPhLtC.js";
|
|
6
6
|
import { n as useReturnsCalendar, s as ink } from "../../../context-cRAJSFxf.js";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
// src/components/charts/returns-calendar/tooltip.tsx
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { MotionConfig } from "motion/react";
|
|
3
3
|
import { cn } from "@kumix/utils";
|
|
4
4
|
import { NumberTicker } from "../../motion/number-ticker.js";
|
|
5
|
-
import { t as Tooltip } from "../../../tooltip-
|
|
5
|
+
import { t as Tooltip } from "../../../tooltip-eecPhLtC.js";
|
|
6
6
|
import { r as useSankeyChart } from "../../../context-C9LHO4MN.js";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
// src/components/charts/sankey-chart/tooltip.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as StatusBarTooltipData, r as StatusBarTooltipProps, t as StatusBarTooltip } from "../../../tooltip-
|
|
1
|
+
import { n as StatusBarTooltipData, r as StatusBarTooltipProps, t as StatusBarTooltip } from "../../../tooltip-CwsBzl7m.js";
|
|
2
2
|
export { StatusBarTooltip, StatusBarTooltipData, StatusBarTooltipProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn } from "@kumix/utils";
|
|
3
|
-
import { t as Tooltip } from "../../../tooltip-
|
|
3
|
+
import { t as Tooltip } from "../../../tooltip-eecPhLtC.js";
|
|
4
4
|
import { r as useStatusBar } from "../../../context-DDoVOc0D.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
// src/components/charts/status-bar/tooltip.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as StatusBarDatum, c as useStatusBar, i as STATUS_BAR_STATUSES, l as StatusBarMessages, n as StatusBarTooltipData, o as StatusBarProps, r as StatusBarTooltipProps, s as StatusBarStatus, t as StatusBarTooltip, u as statusBarMessages } from "../../tooltip-
|
|
1
|
+
import { a as StatusBarDatum, c as useStatusBar, i as STATUS_BAR_STATUSES, l as StatusBarMessages, n as StatusBarTooltipData, o as StatusBarProps, r as StatusBarTooltipProps, s as StatusBarStatus, t as StatusBarTooltip, u as statusBarMessages } from "../../tooltip-CwsBzl7m.js";
|
|
2
2
|
import { StatusBarLegend, StatusBarLegendProps } from "./status-bar/legend.js";
|
|
3
3
|
import { StatusBarPlot, StatusBarPlotProps } from "./status-bar/plot.js";
|
|
4
4
|
/** Compose Plot, Tooltip, and Legend, or omit children for the complete chart. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { MotionConfig } from "motion/react";
|
|
3
3
|
import { cn } from "@kumix/utils";
|
|
4
4
|
import { NumberTicker } from "../../motion/number-ticker.js";
|
|
5
|
-
import { t as Tooltip } from "../../../tooltip-
|
|
5
|
+
import { t as Tooltip } from "../../../tooltip-eecPhLtC.js";
|
|
6
6
|
import { n as useTreemap } from "../../../context-Cg1VelQJ.js";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
// src/components/charts/treemap/tooltip.tsx
|
|
@@ -48,7 +48,7 @@ export declare function useTreemap(): {
|
|
|
48
48
|
height: number;
|
|
49
49
|
}>>;
|
|
50
50
|
label: string;
|
|
51
|
-
t: (key: "value" | "
|
|
51
|
+
t: (key: "value" | "label" | "details" | "legend" | "empty" | "item" | "tableCaption" | "share" | "tiles" | "ofTotal" | "noPositive", values?: Record<string, string | number>) => string;
|
|
52
52
|
formatValue: (value: number) => string;
|
|
53
53
|
active: TreemapTile;
|
|
54
54
|
setActive: (next: string | null) => void;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { MotionConfig } from "motion/react";
|
|
3
3
|
import { cn } from "@kumix/utils";
|
|
4
4
|
import { NumberTicker } from "../../motion/number-ticker.js";
|
|
5
|
-
import { t as Tooltip } from "../../../tooltip-
|
|
5
|
+
import { t as Tooltip } from "../../../tooltip-eecPhLtC.js";
|
|
6
6
|
import { n as useVolumeProfile } from "../../../context-B3BNuwGu.js";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
// src/components/charts/volume-profile/tooltip.tsx
|
|
@@ -54,7 +54,7 @@ interface VolumeProfileProps extends ComponentProps<"section"> {
|
|
|
54
54
|
export declare function useVolumeProfile(): {
|
|
55
55
|
label: string;
|
|
56
56
|
unit: string;
|
|
57
|
-
t: (key: "
|
|
57
|
+
t: (key: "label" | "range" | "caption" | "unit" | "empty" | "inside" | "outside" | "volume" | "inspect" | "level" | "share" | "valueArea" | "priceRange" | "amount" | "shareOfTotal" | "poc" | "pocBadge" | "totalVolume" | "shareOfVolume", values?: Record<string, string | number>) => string;
|
|
58
58
|
formatPrice: (price: number) => string;
|
|
59
59
|
formatVolume: (volume: number) => string;
|
|
60
60
|
color: string;
|
|
@@ -3,7 +3,7 @@ import { AlertCircle, Bell, Check, Info, LoaderCircle, X } from "lucide-react";
|
|
|
3
3
|
import { AnimatePresence, motion } from "motion/react";
|
|
4
4
|
import { cn } from "@kumix/utils";
|
|
5
5
|
import { EASE_OUT } from "../../../lib/ease.js";
|
|
6
|
-
import { t as Tooltip } from "../../../tooltip-
|
|
6
|
+
import { t as Tooltip } from "../../../tooltip-eecPhLtC.js";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
// src/components/motion/animated-toast-stack/toast-body.tsx
|
|
9
9
|
const STATUS_ICON = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { FileImage } from "lucide-react";
|
|
3
3
|
import { motion } from "motion/react";
|
|
4
4
|
import { SPRING_LAYOUT, SPRING_PRESS } from "../../../lib/ease.js";
|
|
5
|
-
import { t as Tooltip } from "../../../tooltip-
|
|
5
|
+
import { t as Tooltip } from "../../../tooltip-eecPhLtC.js";
|
|
6
6
|
import { s as imageSource } from "../../../utils-f7_cAAwc.js";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
// src/components/motion/attachment-upload/image-thumbnail.tsx
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { AlertCircle, Check, LoaderCircle, RotateCcw, X } from "lucide-react";
|
|
3
3
|
import { motion } from "motion/react";
|
|
4
4
|
import { SPRING_PRESS } from "../../../lib/ease.js";
|
|
5
|
-
import { t as Tooltip } from "../../../tooltip-
|
|
5
|
+
import { t as Tooltip } from "../../../tooltip-eecPhLtC.js";
|
|
6
6
|
import { n as ITEM_TRANSITION } from "../../../utils-f7_cAAwc.js";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
// src/components/motion/attachment-upload/row-action.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { t as CopyMenu } from "../../../copy-menu-
|
|
2
|
+
export { t as CopyMenu } from "../../../copy-menu-Di77fZ9p.js";
|
|
@@ -5,8 +5,8 @@ import { AnimatePresence, motion } from "motion/react";
|
|
|
5
5
|
import { SPRING_LAYOUT } from "../../../lib/ease.js";
|
|
6
6
|
import { useLocale } from "../../../lib/i18n.js";
|
|
7
7
|
import { Switch } from "../switch.js";
|
|
8
|
-
import { t as Tooltip } from "../../../tooltip-
|
|
9
|
-
import { c as startOptions, i as clampRange, l as toMinutes, o as endOptions, s as panelKey, t as CopyMenu, u as toValue } from "../../../copy-menu-
|
|
8
|
+
import { t as Tooltip } from "../../../tooltip-eecPhLtC.js";
|
|
9
|
+
import { c as startOptions, i as clampRange, l as toMinutes, o as endOptions, s as panelKey, t as CopyMenu, u as toValue } from "../../../copy-menu-Di77fZ9p.js";
|
|
10
10
|
import { IconButton } from "./icon-button.js";
|
|
11
11
|
import { TimeSelect } from "./time-select.js";
|
|
12
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -4,7 +4,7 @@ import { LayoutGroup, useReducedMotion } from "motion/react";
|
|
|
4
4
|
import { cn } from "@kumix/utils";
|
|
5
5
|
import { useLocale, useMessages } from "../../lib/i18n.js";
|
|
6
6
|
import { DayRow } from "./availability-scheduler/day-row.js";
|
|
7
|
-
import { a as defaultWeek, d as weekdayLabel, n as WEEKDAYS, r as buildOptions, s as panelKey } from "../../copy-menu-
|
|
7
|
+
import { a as defaultWeek, d as weekdayLabel, n as WEEKDAYS, r as buildOptions, s as panelKey } from "../../copy-menu-Di77fZ9p.js";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
// src/components/motion/availability-scheduler/messages.ts
|
|
10
10
|
/**
|
|
@@ -5,7 +5,7 @@ import { cn } from "@kumix/utils";
|
|
|
5
5
|
import { useHoverCapable } from "../../hooks/use-hover-capable.js";
|
|
6
6
|
import { EASE_OUT, SPRING_LAYOUT, SPRING_PRESS } from "../../lib/ease.js";
|
|
7
7
|
import { formatNumber, useLocale, useMessages } from "../../lib/i18n.js";
|
|
8
|
-
import { r as TooltipProvider, t as Tooltip } from "../../tooltip-
|
|
8
|
+
import { r as TooltipProvider, t as Tooltip } from "../../tooltip-eecPhLtC.js";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
// src/components/motion/avatar-group.tsx
|
|
11
11
|
const SIZES = {
|
|
@@ -6,7 +6,7 @@ import { cn } from "@kumix/utils";
|
|
|
6
6
|
import { EASE_OUT, SPRING_LAYOUT } from "../../../lib/ease.js";
|
|
7
7
|
import { ActionSwapCascadeIcon } from "../action-swap-cascade.js";
|
|
8
8
|
import { Button } from "../button/base.js";
|
|
9
|
-
import { t as Tooltip } from "../../../tooltip-
|
|
9
|
+
import { t as Tooltip } from "../../../tooltip-eecPhLtC.js";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
// src/components/motion/casino/game-parts.tsx
|
|
12
12
|
const PRESS_GUARD = 400;
|
|
@@ -9,7 +9,7 @@ import { EASE_OUT } from "../../lib/ease.js";
|
|
|
9
9
|
import { useMessages } from "../../lib/i18n.js";
|
|
10
10
|
import { PresenceGate } from "../../lib/presence-gate.js";
|
|
11
11
|
import { useScrollLock } from "../../lib/scroll-lock.js";
|
|
12
|
-
import { t as Tooltip } from "../../tooltip-
|
|
12
|
+
import { t as Tooltip } from "../../tooltip-eecPhLtC.js";
|
|
13
13
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
// src/components/motion/center-morph-modal.tsx
|
|
15
15
|
/** English defaults. Override per instance with `labels`, or app-wide with `LocaleProvider`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/motion/combobox/trigger.tsx"],"mappings":";
|
|
1
|
+
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/motion/combobox/trigger.tsx"],"mappings":";iBAgBiB;EACf,UAAU;;EAEV;;wBAGc,kBAAkB,UAAU,aAAa,uCAAoB,IAAA;iBA6B5D;;EAEf,cAAc;EACd,WAAW,cAAc,2BAA2B,8BAA8B;;EAElF;;wBAGc,gBAAgB,aAAa,UAAU,aAAa,qCAAkB,IAAA;iBAqBrE,2BACP,KAAK,oBAAoB;;EAEjC,MAAM,IAAI;;EAEV;;wBAGc,gBACd,KACA,WACA,gCACc,WACd,UACA,SACA,SACA,WACA,eACA,gBACG,SACF,qCAAkB,IAAA"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { useMemo } from "react";
|
|
2
3
|
import { ChevronsUpDown, Search } from "lucide-react";
|
|
3
4
|
import { cn } from "@kumix/utils";
|
|
5
|
+
import { useTouchCapable } from "../../../hooks/use-touch-capable.js";
|
|
4
6
|
import { mergeRefs } from "../../../lib/merge-refs.js";
|
|
5
7
|
import { i as useComboboxContext } from "../../../context-CIzAPhXA.js";
|
|
6
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -39,6 +41,9 @@ function ComboboxValue({ placeholder, children, className }) {
|
|
|
39
41
|
}
|
|
40
42
|
function ComboboxInput({ ref, className, wrapperClassName, "aria-label": ariaLabel, onChange, onClick, onFocus, onKeyDown, onPointerDown, placeholder, ...props }) {
|
|
41
43
|
const context = useComboboxContext("ComboboxInput");
|
|
44
|
+
const { inputRef } = context;
|
|
45
|
+
const mergedRef = useMemo(() => mergeRefs(ref, inputRef), [ref, inputRef]);
|
|
46
|
+
const canTouch = useTouchCapable();
|
|
42
47
|
const selectedLabel = context.labelFor(context.value);
|
|
43
48
|
const handleKeyDown = (event) => {
|
|
44
49
|
onKeyDown?.(event);
|
|
@@ -73,7 +78,7 @@ function ComboboxInput({ ref, className, wrapperClassName, "aria-label": ariaLab
|
|
|
73
78
|
className: "text-muted-foreground size-4 shrink-0"
|
|
74
79
|
}), /* @__PURE__ */ jsx("input", {
|
|
75
80
|
...props,
|
|
76
|
-
ref:
|
|
81
|
+
ref: mergedRef,
|
|
77
82
|
id: context.inputId,
|
|
78
83
|
role: "combobox",
|
|
79
84
|
"aria-label": ariaLabel ?? context.t("inputLabel"),
|
|
@@ -106,7 +111,7 @@ function ComboboxInput({ ref, className, wrapperClassName, "aria-label": ariaLab
|
|
|
106
111
|
onChange?.(event);
|
|
107
112
|
},
|
|
108
113
|
onKeyDown: handleKeyDown,
|
|
109
|
-
className: cn("text-foreground placeholder:text-muted-foreground h-10 min-w-0 flex-1 bg-transparent
|
|
114
|
+
className: cn("text-foreground placeholder:text-muted-foreground h-10 min-w-0 flex-1 bg-transparent outline-none disabled:cursor-not-allowed", "text-(length:--combobox-input-size,--theme(--text-sm,inherit))/[--theme(--text-sm--line-height,inherit)]", "any-pointer-coarse:[--combobox-input-size:max(16px,--theme(--text-base,1rem))]", canTouch && "[--combobox-input-size:max(16px,--theme(--text-base,1rem))]", className)
|
|
110
115
|
})]
|
|
111
116
|
});
|
|
112
117
|
}
|