@lumerahq/ui 0.23.0 → 0.24.6
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/{RecordSheet-BYXycSLZ.js → RecordSheet-9fHBPi_o.js} +118 -18
- package/dist/{audit-log-DW-ts7mh.js → audit-log-QIEvuWf9.js} +1 -1
- package/dist/{automations-4aVNe5uF.js → automations-D4mDAarR.js} +6 -6
- package/dist/components/agent-chat/AgentChatComposer.d.ts.map +1 -1
- package/dist/components/agent-chat/lumera-agent-transport.d.ts.map +1 -1
- package/dist/components/agent-chat/types.d.ts +4 -3
- package/dist/components/agent-chat/types.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/dictation-worklet.js +5 -2
- package/dist/{highlighted-body-JLMTFACH-qoRcRaZz.js → highlighted-body-JLMTFACH-CFO3t4N6.js} +1 -1
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/use-agent-chat.d.ts +1 -1
- package/dist/hooks/use-agent-chat.d.ts.map +1 -1
- package/dist/hooks/use-chat-draft.d.ts +1 -1
- package/dist/hooks/use-chat-draft.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/lib/dictation-transcript.d.ts +5 -0
- package/dist/lib/dictation-transcript.d.ts.map +1 -0
- package/dist/lib/dictation.d.ts +9 -2
- package/dist/lib/dictation.d.ts.map +1 -1
- package/dist/lib/draft-hooks.d.ts +4 -3
- package/dist/lib/draft-hooks.d.ts.map +1 -1
- package/dist/lib/drafts.d.ts +6 -3
- package/dist/lib/drafts.d.ts.map +1 -1
- package/dist/lib/index.js +2 -2
- package/dist/mermaid-WFAXDIZX-4tI67A1Y.js +4 -0
- package/dist/ui.css +90 -904
- package/dist/{use-automation-run-udyHkYbG.js → use-automation-run-lhk85ke0.js} +51 -16
- package/dist/{use-sql-table-CgGHt8b8.js → use-sql-table-JkDEPAi_.js} +3 -3
- package/package.json +1 -1
- package/dist/components/ApiDemo.d.ts +0 -2
- package/dist/components/ApiDemo.d.ts.map +0 -1
- package/dist/components/component-example.d.ts +0 -2
- package/dist/components/component-example.d.ts.map +0 -1
- package/dist/components/example.d.ts +0 -7
- package/dist/components/example.d.ts.map +0 -1
- package/dist/components/ui/alert-dialog.d.ts +0 -19
- package/dist/components/ui/alert-dialog.d.ts.map +0 -1
- package/dist/components/ui/combobox.d.ts +0 -25
- package/dist/components/ui/combobox.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu.d.ts +0 -30
- package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/components/ui/field.d.ts +0 -25
- package/dist/components/ui/field.d.ts.map +0 -1
- package/dist/components/ui/input-group.d.ts +0 -19
- package/dist/components/ui/input-group.d.ts.map +0 -1
- package/dist/mermaid-WFAXDIZX-DKMKbXEz.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback, useLayoutEffect, useRef, useSyncExternalStore, useMemo } from "react";
|
|
2
|
-
import { a4 as updateBlockers, a5 as getDraftOwner, a6 as subscribeDraftOwner, i as ensureAutomationRun, g as createAutomationRun, c as cancelAutomationRun, a as automationStatuses, m as getAutomationRun } from "./automations-
|
|
2
|
+
import { a4 as updateBlockers, a5 as getDraftOwner, a6 as subscribeDraftOwner, i as ensureAutomationRun, g as createAutomationRun, c as cancelAutomationRun, a as automationStatuses, m as getAutomationRun } from "./automations-D4mDAarR.js";
|
|
3
3
|
import { useQueryClient, useMutation, useQuery } from "@tanstack/react-query";
|
|
4
4
|
function isActiveStatus(status) {
|
|
5
5
|
return status === "queued" || status === "claimed" || status === "preparing" || status === "submitting" || status === "running";
|
|
@@ -57,14 +57,18 @@ class DraftSession {
|
|
|
57
57
|
listeners = /* @__PURE__ */ new Set();
|
|
58
58
|
value;
|
|
59
59
|
revision;
|
|
60
|
+
generation = 0;
|
|
61
|
+
dictatedCharacters;
|
|
62
|
+
getDictatedCharacters = () => this.dictatedCharacters;
|
|
60
63
|
key;
|
|
61
64
|
empty;
|
|
62
65
|
storage = getStorage();
|
|
63
|
-
constructor(key, initial, empty) {
|
|
66
|
+
constructor(key, initial, empty, initialDictatedCharacters = 0) {
|
|
64
67
|
this.key = key;
|
|
65
68
|
this.empty = empty;
|
|
66
69
|
const saved = read(key, this.storage);
|
|
67
70
|
this.value = saved ? saved.value : initial;
|
|
71
|
+
this.dictatedCharacters = saved?.dictatedCharacters ?? initialDictatedCharacters;
|
|
68
72
|
this.revision = saved?.revision ?? this.newRevision();
|
|
69
73
|
}
|
|
70
74
|
newRevision() {
|
|
@@ -77,13 +81,24 @@ class DraftSession {
|
|
|
77
81
|
};
|
|
78
82
|
};
|
|
79
83
|
getSnapshot = () => this.value;
|
|
80
|
-
set(value) {
|
|
81
|
-
if (Object.is(
|
|
84
|
+
set(value, dictatedCharacters = this.dictatedCharacters) {
|
|
85
|
+
if (Object.is(value, this.empty)) dictatedCharacters = 0;
|
|
86
|
+
if (Object.is(this.value, value) && dictatedCharacters === this.dictatedCharacters) return;
|
|
87
|
+
if (Object.is(value, this.empty)) this.generation++;
|
|
88
|
+
this.dictatedCharacters = dictatedCharacters;
|
|
82
89
|
this.value = value;
|
|
83
90
|
this.revision = this.newRevision();
|
|
84
91
|
if (this.key) {
|
|
85
92
|
try {
|
|
86
|
-
this.storage?.setItem(
|
|
93
|
+
this.storage?.setItem(
|
|
94
|
+
this.key,
|
|
95
|
+
JSON.stringify({
|
|
96
|
+
at: Date.now(),
|
|
97
|
+
value,
|
|
98
|
+
revision: this.revision,
|
|
99
|
+
dictatedCharacters: dictatedCharacters || void 0
|
|
100
|
+
})
|
|
101
|
+
);
|
|
87
102
|
} catch {
|
|
88
103
|
}
|
|
89
104
|
}
|
|
@@ -91,18 +106,25 @@ class DraftSession {
|
|
|
91
106
|
}
|
|
92
107
|
captureAcknowledgement = () => {
|
|
93
108
|
const revision = this.revision;
|
|
109
|
+
const generation = this.generation;
|
|
110
|
+
const submittedCharacters = this.dictatedCharacters;
|
|
111
|
+
let acknowledged = false;
|
|
94
112
|
return () => {
|
|
95
|
-
if (
|
|
113
|
+
if (acknowledged) return;
|
|
114
|
+
acknowledged = true;
|
|
96
115
|
const saved = read(this.key, this.storage);
|
|
97
|
-
if (saved?.revision && saved.revision !== revision) return;
|
|
98
|
-
this.set(this.empty);
|
|
116
|
+
if (saved?.revision && saved.revision !== this.revision) return;
|
|
117
|
+
if (this.revision === revision) this.set(this.empty);
|
|
118
|
+
else if (this.generation === generation && submittedCharacters > 0) {
|
|
119
|
+
this.set(this.value, Math.max(0, this.dictatedCharacters - submittedCharacters));
|
|
120
|
+
}
|
|
99
121
|
};
|
|
100
122
|
};
|
|
101
123
|
}
|
|
102
124
|
const documents = /* @__PURE__ */ new WeakMap();
|
|
103
|
-
function draftSession(identity, key, initial, empty, preferInitial = false) {
|
|
125
|
+
function draftSession(identity, key, initial, empty, preferInitial = false, initialDictatedCharacters = 0) {
|
|
104
126
|
const storage = getStorage();
|
|
105
|
-
if (!key || !storage) return new DraftSession(key, initial, empty);
|
|
127
|
+
if (!key || !storage) return new DraftSession(key, initial, empty, initialDictatedCharacters);
|
|
106
128
|
let sessions = documents.get(storage);
|
|
107
129
|
if (!sessions) {
|
|
108
130
|
sessions = /* @__PURE__ */ new Map();
|
|
@@ -113,7 +135,7 @@ function draftSession(identity, key, initial, empty, preferInitial = false) {
|
|
|
113
135
|
session = new DraftSession(key, initial, empty);
|
|
114
136
|
sessions.set(identity, session);
|
|
115
137
|
}
|
|
116
|
-
if (preferInitial) session.set(initial);
|
|
138
|
+
if (preferInitial) session.set(initial, initialDictatedCharacters);
|
|
117
139
|
return session;
|
|
118
140
|
}
|
|
119
141
|
function createDraftHook({ useCallback: useCallback2, useLayoutEffect: useLayoutEffect2, useRef: useRef2, useState: useState2, useSyncExternalStore: useSyncExternalStore2 }) {
|
|
@@ -127,7 +149,14 @@ function createDraftHook({ useCallback: useCallback2, useLayoutEffect: useLayout
|
|
|
127
149
|
if (state.identity !== identity) {
|
|
128
150
|
const carry = state.identity === carryFrom && !Object.is(state.session.getSnapshot(), empty);
|
|
129
151
|
const seed = carry ? state.session.getSnapshot() : initial;
|
|
130
|
-
session = draftSession(
|
|
152
|
+
session = draftSession(
|
|
153
|
+
identity,
|
|
154
|
+
key,
|
|
155
|
+
seed,
|
|
156
|
+
empty,
|
|
157
|
+
carry || preferInitial,
|
|
158
|
+
carry ? state.session.getDictatedCharacters() : 0
|
|
159
|
+
);
|
|
131
160
|
setState({ identity, session });
|
|
132
161
|
}
|
|
133
162
|
const live = useRef2({ identity, mounted: true });
|
|
@@ -139,13 +168,16 @@ function createDraftHook({ useCallback: useCallback2, useLayoutEffect: useLayout
|
|
|
139
168
|
}, [identity]);
|
|
140
169
|
const value = useSyncExternalStore2(session.subscribe, session.getSnapshot, session.getSnapshot);
|
|
141
170
|
const setValue = useCallback2(
|
|
142
|
-
(next) => {
|
|
171
|
+
(next, addedDictatedCharacters = 0) => {
|
|
143
172
|
if (!live.current.mounted || live.current.identity !== identity) return;
|
|
144
|
-
session.set(
|
|
173
|
+
session.set(
|
|
174
|
+
typeof next === "function" ? next(session.getSnapshot()) : next,
|
|
175
|
+
session.getDictatedCharacters() + addedDictatedCharacters
|
|
176
|
+
);
|
|
145
177
|
},
|
|
146
178
|
[session, identity]
|
|
147
179
|
);
|
|
148
|
-
return [value, setValue, session.captureAcknowledgement];
|
|
180
|
+
return [value, setValue, session.captureAcknowledgement, session.getDictatedCharacters];
|
|
149
181
|
};
|
|
150
182
|
}
|
|
151
183
|
function createUpdateBlockerHook({ useLayoutEffect: useLayoutEffect2, useRef: useRef2 }) {
|
|
@@ -301,7 +333,7 @@ function useAgentChat({
|
|
|
301
333
|
const [messages, setMessagesState] = useState(
|
|
302
334
|
() => trimMessages(initialMessages, maxBufferedMessages)
|
|
303
335
|
);
|
|
304
|
-
const [input, setInput, captureAcknowledgement] = useChatDraft(agentId, sessionId);
|
|
336
|
+
const [input, setInput, captureAcknowledgement, getDictatedCharacters] = useChatDraft(agentId, sessionId);
|
|
305
337
|
const [pendingFiles, setPendingFiles] = useState([]);
|
|
306
338
|
const [page, setPage] = useState(initialPage ?? null);
|
|
307
339
|
const [tokenUsage, setTokenUsage] = useState(null);
|
|
@@ -649,6 +681,7 @@ function useAgentChat({
|
|
|
649
681
|
setError(null);
|
|
650
682
|
const acknowledgeDraft = message === void 0 || content === input.trim() ? captureAcknowledgement() : () => {
|
|
651
683
|
};
|
|
684
|
+
const dictatedCharacters = message === void 0 ? getDictatedCharacters() : 0;
|
|
652
685
|
const submittedIdentity = identityKeyRef.current;
|
|
653
686
|
try {
|
|
654
687
|
const result = await transport.sendMessage({
|
|
@@ -656,6 +689,7 @@ function useAgentChat({
|
|
|
656
689
|
requestId,
|
|
657
690
|
sessionId,
|
|
658
691
|
files: pendingFiles,
|
|
692
|
+
...dictatedCharacters > 0 && { dictatedCharacters },
|
|
659
693
|
...webSearch && webSearchOn !== void 0 && { webSearchEnabled: webSearchOn }
|
|
660
694
|
});
|
|
661
695
|
if (result.accepted) acknowledgeDraft();
|
|
@@ -695,6 +729,7 @@ function useAgentChat({
|
|
|
695
729
|
startSubscription,
|
|
696
730
|
transport,
|
|
697
731
|
webSearch,
|
|
732
|
+
getDictatedCharacters,
|
|
698
733
|
webSearchOn
|
|
699
734
|
]
|
|
700
735
|
);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useQueryClient, useQuery, useMutation, useInfiniteQuery } from "@tanstack/react-query";
|
|
2
2
|
import { useState, useCallback, useEffect, useMemo } from "react";
|
|
3
|
-
import { a as automationStatuses, H as listRunsByAgent, g as createAutomationRun, a2 as uploadFile, K as onInitMessage, U as pbSql, W as pbUpdateRecord } from "./automations-
|
|
4
|
-
import { d as useUpdateBlocker } from "./use-automation-run-
|
|
5
|
-
import { n as normalizeRecordAuditCollections, e as normalizeRecordAuditPageSize, l as listRecordAuditLog, g as getRecordAuditLogSnapshot } from "./audit-log-
|
|
3
|
+
import { a as automationStatuses, H as listRunsByAgent, g as createAutomationRun, a2 as uploadFile, K as onInitMessage, U as pbSql, W as pbUpdateRecord } from "./automations-D4mDAarR.js";
|
|
4
|
+
import { d as useUpdateBlocker } from "./use-automation-run-lhk85ke0.js";
|
|
5
|
+
import { n as normalizeRecordAuditCollections, e as normalizeRecordAuditPageSize, l as listRecordAuditLog, g as getRecordAuditLogSnapshot } from "./audit-log-QIEvuWf9.js";
|
|
6
6
|
function useAutomationAgent({
|
|
7
7
|
agentId,
|
|
8
8
|
limit = 5,
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiDemo.d.ts","sourceRoot":"","sources":["../../src/components/ApiDemo.tsx"],"names":[],"mappings":"AAYA,wBAAgB,OAAO,4CAoGtB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component-example.d.ts","sourceRoot":"","sources":["../../src/components/component-example.tsx"],"names":[],"mappings":"AAqFA,wBAAgB,gBAAgB,4CAO/B"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
declare function ExampleWrapper({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
2
|
-
declare function Example({ title, children, className, containerClassName, ...props }: React.ComponentProps<'div'> & {
|
|
3
|
-
title: string;
|
|
4
|
-
containerClassName?: string;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export { ExampleWrapper, Example };
|
|
7
|
-
//# sourceMappingURL=example.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../src/components/example.tsx"],"names":[],"mappings":"AAEA,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAc3E;AAED,iBAAS,OAAO,CAAC,EACf,KAAK,EACL,QAAQ,EACR,SAAS,EACT,kBAAkB,EAClB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,2CAsBA;AAED,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AlertDialog as AlertDialogPrimitive } from '@base-ui/react/alert-dialog';
|
|
2
|
-
import { Button } from './button';
|
|
3
|
-
import type * as React from 'react';
|
|
4
|
-
declare function AlertDialog({ ...props }: AlertDialogPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function AlertDialogTrigger({ ...props }: AlertDialogPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function AlertDialogPortal({ ...props }: AlertDialogPrimitive.Portal.Props): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare function AlertDialogOverlay({ className, ...props }: AlertDialogPrimitive.Backdrop.Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function AlertDialogContent({ className, size, ...props }: AlertDialogPrimitive.Popup.Props & {
|
|
9
|
-
size?: 'default' | 'sm';
|
|
10
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
declare function AlertDialogMedia({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
declare function AlertDialogCancel({ className, variant, size, ...props }: AlertDialogPrimitive.Close.Props & Pick<React.ComponentProps<typeof Button>, 'variant' | 'size'>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, };
|
|
19
|
-
//# sourceMappingURL=alert-dialog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/alert-dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAClF,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAGhD,iBAAS,WAAW,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,CAAC,IAAI,CAAC,KAAK,2CAEjE;AAED,iBAAS,kBAAkB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,CAAC,OAAO,CAAC,KAAK,2CAE3E;AAED,iBAAS,iBAAiB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,CAAC,MAAM,CAAC,KAAK,2CAEzE;AAED,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,CAAC,QAAQ,CAAC,KAAK,2CAWvF;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,IAAgB,EAChB,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,KAAK,CAAC,KAAK,GAAG;IACpC,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CACzB,2CAeA;AAED,iBAAS,iBAAiB,CAAC,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: typeof ComboboxPrimitive.Root;
|
|
4
|
-
declare function ComboboxValue({ ...props }: ComboboxPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function ComboboxTrigger({ className, children, ...props }: ComboboxPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: ComboboxPrimitive.Input.Props & {
|
|
7
|
-
showTrigger?: boolean;
|
|
8
|
-
showClear?: boolean;
|
|
9
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: ComboboxPrimitive.Popup.Props & Pick<ComboboxPrimitive.Positioner.Props, 'side' | 'align' | 'sideOffset' | 'alignOffset' | 'anchor'>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function ComboboxItem({ className, children, ...props }: ComboboxPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
declare function ComboboxGroup({ className, ...props }: ComboboxPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
declare function ComboboxLabel({ className, ...props }: ComboboxPrimitive.GroupLabel.Props): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare function ComboboxCollection({ ...props }: ComboboxPrimitive.Collection.Props): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
declare function ComboboxEmpty({ className, ...props }: ComboboxPrimitive.Empty.Props): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
declare function ComboboxSeparator({ className, ...props }: ComboboxPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
declare function ComboboxChips({ className, ...props }: React.ComponentPropsWithRef<typeof ComboboxPrimitive.Chips> & ComboboxPrimitive.Chips.Props): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
declare function ComboboxChip({ className, children, showRemove, ...props }: ComboboxPrimitive.Chip.Props & {
|
|
20
|
-
showRemove?: boolean;
|
|
21
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
declare function ComboboxChipsInput({ className, ...props }: ComboboxPrimitive.Input.Props): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
declare function useComboboxAnchor(): React.RefObject<HTMLDivElement | null>;
|
|
24
|
-
export { Combobox, ComboboxInput, ComboboxContent, ComboboxList, ComboboxItem, ComboboxGroup, ComboboxLabel, ComboboxCollection, ComboboxEmpty, ComboboxSeparator, ComboboxChips, ComboboxChip, ComboboxChipsInput, ComboboxTrigger, ComboboxValue, useComboboxAnchor, };
|
|
25
|
-
//# sourceMappingURL=combobox.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,QAAQ,+BAAyB,CAAC;AAExC,iBAAS,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,CAAC,KAAK,CAAC,KAAK,2CAEjE;AAED,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,CAAC,OAAO,CAAC,KAAK,2CAW1F;AAeD,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,QAAQ,EACR,QAAgB,EAChB,WAAkB,EAClB,SAAiB,EACjB,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,KAAK,CAAC,KAAK,GAAG;IACjC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,2CAoBA;AAED,iBAAS,eAAe,CAAC,EACvB,SAAS,E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B,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,IAAI,CAAC,KAAK,GAAG;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,2CAsBA;AAED,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,CAAC,KAAK,CAAC,KAAK,2CAQjF;AAED,iBAAS,iBAAiB,2CAEzB;AAED,OAAO,EACL,QAAQ,EACR,aAAa,EACb,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,iBAAiB,GAClB,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Menu as MenuPrimitive } from '@base-ui/react/menu';
|
|
2
|
-
import type * as React from 'react';
|
|
3
|
-
declare function DropdownMenu({ ...props }: MenuPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function DropdownMenuPortal({ ...props }: MenuPrimitive.Portal.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function DropdownMenuTrigger({ ...props }: MenuPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function DropdownMenuContent({ align, alignOffset, side, sideOffset, className, ...props }: MenuPrimitive.Popup.Props & Pick<MenuPrimitive.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare function DropdownMenuGroup({ ...props }: MenuPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function DropdownMenuLabel({ className, inset, ...props }: MenuPrimitive.GroupLabel.Props & {
|
|
9
|
-
inset?: boolean;
|
|
10
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare function DropdownMenuItem({ className, inset, variant, ...props }: MenuPrimitive.Item.Props & {
|
|
12
|
-
inset?: boolean;
|
|
13
|
-
variant?: 'default' | 'destructive';
|
|
14
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare function DropdownMenuSub({ ...props }: MenuPrimitive.SubmenuRoot.Props): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: MenuPrimitive.SubmenuTrigger.Props & {
|
|
17
|
-
inset?: boolean;
|
|
18
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
declare function DropdownMenuSubContent({ align, alignOffset, side, sideOffset, className, ...props }: React.ComponentProps<typeof DropdownMenuContent>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: MenuPrimitive.CheckboxItem.Props & {
|
|
21
|
-
inset?: boolean;
|
|
22
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
declare function DropdownMenuRadioGroup({ ...props }: MenuPrimitive.RadioGroup.Props): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
declare function DropdownMenuRadioItem({ className, children, inset, ...props }: MenuPrimitive.RadioItem.Props & {
|
|
25
|
-
inset?: boolean;
|
|
26
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
declare function DropdownMenuSeparator({ className, ...props }: MenuPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, };
|
|
30
|
-
//# sourceMappingURL=dropdown-menu.d.ts.map
|
|
@@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B,wBAAwB,EACxB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,GACvB,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { Label } from './label';
|
|
3
|
-
declare function FieldSet({ className, ...props }: React.ComponentProps<'fieldset'>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<'legend'> & {
|
|
5
|
-
variant?: 'legend' | 'label';
|
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare function FieldGroup({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare const fieldVariants: (props?: ({
|
|
9
|
-
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
10
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
|
-
declare function Field({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function FieldContent({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
declare function FieldTitle({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare function FieldDescription({ className, ...props }: React.ComponentProps<'p'>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<'div'> & {
|
|
17
|
-
children?: React.ReactNode;
|
|
18
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<'div'> & {
|
|
20
|
-
errors?: Array<{
|
|
21
|
-
message?: string;
|
|
22
|
-
} | undefined>;
|
|
23
|
-
}): import("react/jsx-runtime").JSX.Element | null;
|
|
24
|
-
export { Field, FieldLabel, FieldDescription, FieldError, FieldGroup, FieldLegend, FieldSeparator, FieldSet, FieldContent, FieldTitle, };
|
|
25
|
-
//# sourceMappingURL=field.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../src/components/ui/field.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAI9C,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,2CAW1E;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,OAAkB,EAClB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;CAAE,2CASnE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAWvE;AAED,QAAA,MAAM,aAAa;;8EAajB,CAAC;AAEH,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,WAAwB,EACxB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,2CAUlE;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQzE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,2CAY9E;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAWvE;AAED,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,2CAa3E;AAED,iBAAS,cAAc,CAAC,EACtB,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,2CAmBA;AAED,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAC/B,MAAM,CAAC,EAAE,KAAK,CAAC;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC,CAAC;CAClD,kDAqCA;AAED,OAAO,EACL,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,WAAW,EACX,cAAc,EACd,QAAQ,EACR,YAAY,EACZ,UAAU,GACX,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { Button } from './button';
|
|
3
|
-
import type * as React from 'react';
|
|
4
|
-
declare function InputGroup({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare const inputGroupAddonVariants: (props?: ({
|
|
6
|
-
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
7
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
-
declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<'div'> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare const inputGroupButtonVariants: (props?: ({
|
|
10
|
-
size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
|
|
11
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
12
|
-
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, 'size' | 'type'> & VariantProps<typeof inputGroupButtonVariants> & {
|
|
13
|
-
type?: 'button' | 'submit' | 'reset';
|
|
14
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare function InputGroupText({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
declare function InputGroupInput({ className, ...props }: React.ComponentProps<'input'>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
declare function InputGroupTextarea({ className, ...props }: React.ComponentProps<'textarea'>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, InputGroupTextarea };
|
|
19
|
-
//# sourceMappingURL=input-group.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAKhD,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAYvE;AAED,QAAA,MAAM,uBAAuB;;8EAiB5B,CAAC;AAEF,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,KAAsB,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,uBAAuB,CA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