@uipath/apollo-wind 2.52.3 → 2.53.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/components/forms/field-renderer.cjs +42 -3
- package/dist/components/forms/field-renderer.js +42 -3
- package/dist/components/forms/string-list-field.cjs +3 -0
- package/dist/components/forms/string-list-field.js +3 -0
- package/dist/components/ui/button.cjs +1 -1
- package/dist/components/ui/button.js +1 -1
- package/dist/components/ui/checkbox.cjs +1 -1
- package/dist/components/ui/checkbox.js +1 -1
- package/dist/components/ui/combobox.cjs +70 -51
- package/dist/components/ui/combobox.d.ts +12 -0
- package/dist/components/ui/combobox.js +72 -53
- package/dist/components/ui/date-picker.cjs +102 -62
- package/dist/components/ui/date-picker.d.ts +28 -0
- package/dist/components/ui/date-picker.js +103 -63
- package/dist/components/ui/datetime-picker.cjs +90 -72
- package/dist/components/ui/datetime-picker.d.ts +12 -2
- package/dist/components/ui/datetime-picker.js +92 -74
- package/dist/components/ui/file-upload.cjs +21 -8
- package/dist/components/ui/file-upload.d.ts +7 -0
- package/dist/components/ui/file-upload.js +22 -9
- package/dist/components/ui/form-field.cjs +3 -3
- package/dist/components/ui/form-field.d.ts +11 -0
- package/dist/components/ui/form-field.js +3 -3
- package/dist/components/ui/index.cjs +26 -26
- package/dist/components/ui/input-group.cjs +0 -2
- package/dist/components/ui/input-group.d.ts +1 -1
- package/dist/components/ui/input-group.js +0 -2
- package/dist/components/ui/input.cjs +0 -2
- package/dist/components/ui/input.js +0 -2
- package/dist/components/ui/lockable-value-field/lockable-value-field.cjs +1 -1
- package/dist/components/ui/lockable-value-field/lockable-value-field.js +1 -1
- package/dist/components/ui/multi-select.cjs +125 -112
- package/dist/components/ui/multi-select.d.ts +7 -0
- package/dist/components/ui/multi-select.js +126 -113
- package/dist/components/ui/prompt-editor/prompt-editor.cjs +0 -2
- package/dist/components/ui/prompt-editor/prompt-editor.js +0 -2
- package/dist/components/ui/radio-group.cjs +2 -2
- package/dist/components/ui/radio-group.js +2 -2
- package/dist/components/ui/search.cjs +3 -1
- package/dist/components/ui/search.d.ts +4 -0
- package/dist/components/ui/search.js +3 -1
- package/dist/components/ui/select.cjs +33 -12
- package/dist/components/ui/select.d.ts +10 -1
- package/dist/components/ui/select.js +35 -14
- package/dist/components/ui/slider.cjs +7 -2
- package/dist/components/ui/slider.js +7 -2
- package/dist/components/ui/switch.cjs +1 -1
- package/dist/components/ui/switch.js +1 -1
- package/dist/components/ui/textarea.cjs +30 -11
- package/dist/components/ui/textarea.d.ts +7 -0
- package/dist/components/ui/textarea.js +32 -13
- package/dist/index.cjs +4 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +2 -2
- package/dist/styles.css +74 -0
- package/package.json +1 -1
|
@@ -29,6 +29,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
30
|
const external_react_namespaceObject = require("react");
|
|
31
31
|
const index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
32
|
+
const external_form_field_cjs_namespaceObject = require("./form-field.cjs");
|
|
32
33
|
function normalizeRows(value) {
|
|
33
34
|
if (void 0 === value || !Number.isFinite(value)) return;
|
|
34
35
|
return Math.max(1, Math.floor(value));
|
|
@@ -49,7 +50,13 @@ function cssLength(value) {
|
|
|
49
50
|
if (null == value) return '';
|
|
50
51
|
return 'number' == typeof value ? `${value}px` : String(value);
|
|
51
52
|
}
|
|
52
|
-
const Textarea = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, minRows, maxRows, onChange, style, ...props }, ref)=>{
|
|
53
|
+
const Textarea = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ 'aria-describedby': ariaDescribedBy, 'aria-errormessage': ariaErrorMessage, 'aria-invalid': ariaInvalid, className, error, errorId, id, minRows, maxRows, onChange, style, ...props }, ref)=>{
|
|
54
|
+
const generatedId = external_react_namespaceObject.useId();
|
|
55
|
+
const validationId = errorId ?? `${id ?? `textarea-${generatedId.replace(/:/g, '')}`}-error`;
|
|
56
|
+
const describedBy = [
|
|
57
|
+
ariaDescribedBy,
|
|
58
|
+
error ? validationId : void 0
|
|
59
|
+
].filter(Boolean).join(' ');
|
|
53
60
|
const { effMinRows, effMaxRows } = external_react_namespaceObject.useMemo(()=>{
|
|
54
61
|
const nMin = normalizeRows(minRows);
|
|
55
62
|
const nMax = normalizeRows(maxRows);
|
|
@@ -147,16 +154,28 @@ const Textarea = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ clas
|
|
|
147
154
|
effMaxRows,
|
|
148
155
|
resize
|
|
149
156
|
]);
|
|
150
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
|
|
158
|
+
children: [
|
|
159
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("textarea", {
|
|
160
|
+
"data-slot": "textarea",
|
|
161
|
+
id: id,
|
|
162
|
+
"aria-describedby": describedBy || void 0,
|
|
163
|
+
"aria-errormessage": error ? validationId : ariaErrorMessage,
|
|
164
|
+
"aria-invalid": error ? true : ariaInvalid,
|
|
165
|
+
className: (0, index_cjs_namespaceObject.cn)('flex w-full rounded-md border border-input bg-transparent px-3 py-2 text-base transition-colors placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-error future:aria-invalid:ring-1 future:aria-invalid:ring-error/40 aria-invalid:focus-visible:ring-error md:text-sm', 'future:rounded-xl future:border-0 future:bg-surface-overlay future:text-sm future:placeholder:text-foreground-muted future:placeholder:font-normal future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', !managed && 'min-h-[80px]', managed && 'resize-y', className),
|
|
166
|
+
ref: setRef,
|
|
167
|
+
style: style,
|
|
168
|
+
onChange: (event)=>{
|
|
169
|
+
onChange?.(event);
|
|
170
|
+
resize();
|
|
171
|
+
},
|
|
172
|
+
...props
|
|
173
|
+
}),
|
|
174
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_form_field_cjs_namespaceObject.FormFieldError, {
|
|
175
|
+
id: validationId,
|
|
176
|
+
children: error
|
|
177
|
+
})
|
|
178
|
+
]
|
|
160
179
|
});
|
|
161
180
|
});
|
|
162
181
|
Textarea.displayName = 'Textarea';
|
|
@@ -9,6 +9,13 @@ export type TextareaProps = React.ComponentProps<'textarea'> & {
|
|
|
9
9
|
* up to `maxRows`, then scrolls.
|
|
10
10
|
*/
|
|
11
11
|
maxRows?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Field-specific feedback rendered immediately below the textarea.
|
|
14
|
+
* Keep the message focused on what went wrong and how to resolve it.
|
|
15
|
+
*/
|
|
16
|
+
error?: React.ReactNode;
|
|
17
|
+
/** Optional id for the inline validation message. */
|
|
18
|
+
errorId?: string;
|
|
12
19
|
};
|
|
13
20
|
declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
14
21
|
export { Textarea };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef, useCallback, useLayoutEffect, useMemo, useRef } from "react";
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef, useCallback, useId, useLayoutEffect, useMemo, useRef } from "react";
|
|
3
3
|
import { cn } from "../../lib/index.js";
|
|
4
|
+
import { FormFieldError } from "./form-field.js";
|
|
4
5
|
function normalizeRows(value) {
|
|
5
6
|
if (void 0 === value || !Number.isFinite(value)) return;
|
|
6
7
|
return Math.max(1, Math.floor(value));
|
|
@@ -21,7 +22,13 @@ function cssLength(value) {
|
|
|
21
22
|
if (null == value) return '';
|
|
22
23
|
return 'number' == typeof value ? `${value}px` : String(value);
|
|
23
24
|
}
|
|
24
|
-
const Textarea = /*#__PURE__*/ forwardRef(({ className, minRows, maxRows, onChange, style, ...props }, ref)=>{
|
|
25
|
+
const Textarea = /*#__PURE__*/ forwardRef(({ 'aria-describedby': ariaDescribedBy, 'aria-errormessage': ariaErrorMessage, 'aria-invalid': ariaInvalid, className, error, errorId, id, minRows, maxRows, onChange, style, ...props }, ref)=>{
|
|
26
|
+
const generatedId = useId();
|
|
27
|
+
const validationId = errorId ?? `${id ?? `textarea-${generatedId.replace(/:/g, '')}`}-error`;
|
|
28
|
+
const describedBy = [
|
|
29
|
+
ariaDescribedBy,
|
|
30
|
+
error ? validationId : void 0
|
|
31
|
+
].filter(Boolean).join(' ');
|
|
25
32
|
const { effMinRows, effMaxRows } = useMemo(()=>{
|
|
26
33
|
const nMin = normalizeRows(minRows);
|
|
27
34
|
const nMax = normalizeRows(maxRows);
|
|
@@ -119,16 +126,28 @@ const Textarea = /*#__PURE__*/ forwardRef(({ className, minRows, maxRows, onChan
|
|
|
119
126
|
effMaxRows,
|
|
120
127
|
resize
|
|
121
128
|
]);
|
|
122
|
-
return /*#__PURE__*/
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
129
|
+
return /*#__PURE__*/ jsxs(Fragment, {
|
|
130
|
+
children: [
|
|
131
|
+
/*#__PURE__*/ jsx("textarea", {
|
|
132
|
+
"data-slot": "textarea",
|
|
133
|
+
id: id,
|
|
134
|
+
"aria-describedby": describedBy || void 0,
|
|
135
|
+
"aria-errormessage": error ? validationId : ariaErrorMessage,
|
|
136
|
+
"aria-invalid": error ? true : ariaInvalid,
|
|
137
|
+
className: cn('flex w-full rounded-md border border-input bg-transparent px-3 py-2 text-base transition-colors placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-error future:aria-invalid:ring-1 future:aria-invalid:ring-error/40 aria-invalid:focus-visible:ring-error md:text-sm', 'future:rounded-xl future:border-0 future:bg-surface-overlay future:text-sm future:placeholder:text-foreground-muted future:placeholder:font-normal future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', !managed && 'min-h-[80px]', managed && 'resize-y', className),
|
|
138
|
+
ref: setRef,
|
|
139
|
+
style: style,
|
|
140
|
+
onChange: (event)=>{
|
|
141
|
+
onChange?.(event);
|
|
142
|
+
resize();
|
|
143
|
+
},
|
|
144
|
+
...props
|
|
145
|
+
}),
|
|
146
|
+
/*#__PURE__*/ jsx(FormFieldError, {
|
|
147
|
+
id: validationId,
|
|
148
|
+
children: error
|
|
149
|
+
})
|
|
150
|
+
]
|
|
132
151
|
});
|
|
133
152
|
});
|
|
134
153
|
Textarea.displayName = 'Textarea';
|
package/dist/index.cjs
CHANGED
|
@@ -201,8 +201,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
201
201
|
DropdownMenuContent: ()=>dropdown_menu_cjs_namespaceObject.DropdownMenuContent,
|
|
202
202
|
LockableValueField: ()=>index_cjs_namespaceObject.LockableValueField,
|
|
203
203
|
Separator: ()=>separator_cjs_namespaceObject.Separator,
|
|
204
|
-
|
|
204
|
+
DateRangePicker: ()=>date_picker_cjs_namespaceObject.DateRangePicker,
|
|
205
205
|
ContextMenuContent: ()=>context_menu_cjs_namespaceObject.ContextMenuContent,
|
|
206
|
+
Pagination: ()=>pagination_cjs_namespaceObject.Pagination,
|
|
206
207
|
useWatch: ()=>metadata_form_cjs_namespaceObject.useWatch,
|
|
207
208
|
ChartTooltip: ()=>chart_cjs_namespaceObject.ChartTooltip,
|
|
208
209
|
FormFieldRenderer: ()=>field_renderer_cjs_namespaceObject.FormFieldRenderer,
|
|
@@ -481,6 +482,7 @@ exports.DataTableColumnHeader = __webpack_exports__.DataTableColumnHeader;
|
|
|
481
482
|
exports.DataTableSelectColumn = __webpack_exports__.DataTableSelectColumn;
|
|
482
483
|
exports.DataTransformers = __webpack_exports__.DataTransformers;
|
|
483
484
|
exports.DatePicker = __webpack_exports__.DatePicker;
|
|
485
|
+
exports.DateRangePicker = __webpack_exports__.DateRangePicker;
|
|
484
486
|
exports.DateTimePicker = __webpack_exports__.DateTimePicker;
|
|
485
487
|
exports.Dialog = __webpack_exports__.Dialog;
|
|
486
488
|
exports.DialogClose = __webpack_exports__.DialogClose;
|
|
@@ -768,6 +770,7 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
768
770
|
"DataTableSelectColumn",
|
|
769
771
|
"DataTransformers",
|
|
770
772
|
"DatePicker",
|
|
773
|
+
"DateRangePicker",
|
|
771
774
|
"DateTimePicker",
|
|
772
775
|
"Dialog",
|
|
773
776
|
"DialogClose",
|
package/dist/index.d.ts
CHANGED
|
@@ -29,12 +29,14 @@ export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartToolt
|
|
|
29
29
|
export type { CheckboxProps } from './components/ui/checkbox';
|
|
30
30
|
export { Checkbox } from './components/ui/checkbox';
|
|
31
31
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger, } from './components/ui/collapsible';
|
|
32
|
+
export type { ComboboxItem, ComboboxProps } from './components/ui/combobox';
|
|
32
33
|
export { Combobox } from './components/ui/combobox';
|
|
33
34
|
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, } from './components/ui/command';
|
|
34
35
|
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, } from './components/ui/context-menu';
|
|
35
36
|
export type { DataTableProps } from './components/ui/data-table';
|
|
36
37
|
export { DataTable, DataTableColumnHeader, DataTableSelectColumn, } from './components/ui/data-table';
|
|
37
|
-
export {
|
|
38
|
+
export type { DatePickerProps, DateRangePickerProps } from './components/ui/date-picker';
|
|
39
|
+
export { DatePicker, DateRangePicker } from './components/ui/date-picker';
|
|
38
40
|
export type { DateTimePickerProps } from './components/ui/datetime-picker';
|
|
39
41
|
export { DateTimePicker } from './components/ui/datetime-picker';
|
|
40
42
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, } from './components/ui/dialog';
|
|
@@ -44,6 +46,7 @@ export type { EditableCellMeta, EditableCellType, } from './components/ui/editab
|
|
|
44
46
|
export { createEditableColumn, EditableCell, } from './components/ui/editable-cell';
|
|
45
47
|
export type { EmptyStateProps } from './components/ui/empty-state';
|
|
46
48
|
export { EmptyState } from './components/ui/empty-state';
|
|
49
|
+
export type { FileUploadProps } from './components/ui/file-upload';
|
|
47
50
|
export { FileUpload } from './components/ui/file-upload';
|
|
48
51
|
export type { FormFieldDescriptionProps, FormFieldErrorProps, FormFieldLabelProps, FormFieldProps, } from './components/ui/form-field';
|
|
49
52
|
export { FormField, FormFieldDescription, FormFieldError, FormFieldLabel, } from './components/ui/form-field';
|
|
@@ -78,6 +81,7 @@ export { ResizableHandle, ResizablePanel, ResizablePanelGroup, } from './compone
|
|
|
78
81
|
export { ScrollArea, ScrollBar } from './components/ui/scroll-area';
|
|
79
82
|
export type { SearchProps, SearchWithSuggestionsProps, } from './components/ui/search';
|
|
80
83
|
export { Search, SearchWithSuggestions } from './components/ui/search';
|
|
84
|
+
export type { SelectTriggerProps } from './components/ui/select';
|
|
81
85
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, } from './components/ui/select';
|
|
82
86
|
export { Separator } from './components/ui/separator';
|
|
83
87
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, } from './components/ui/sheet';
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ import { Combobox } from "./components/ui/combobox.js";
|
|
|
25
25
|
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./components/ui/command.js";
|
|
26
26
|
import { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./components/ui/context-menu.js";
|
|
27
27
|
import { DataTable, DataTableColumnHeader, DataTableSelectColumn } from "./components/ui/data-table.js";
|
|
28
|
-
import { DatePicker } from "./components/ui/date-picker.js";
|
|
28
|
+
import { DatePicker, DateRangePicker } from "./components/ui/date-picker.js";
|
|
29
29
|
import { DateTimePicker } from "./components/ui/datetime-picker.js";
|
|
30
30
|
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger } from "./components/ui/dialog.js";
|
|
31
31
|
import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from "./components/ui/drawer.js";
|
|
@@ -72,4 +72,4 @@ import { Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger
|
|
|
72
72
|
import tree_view from "./components/ui/tree-view.js";
|
|
73
73
|
import { VariablePicker, VariablePickerContent } from "./components/ui/variable-picker/index.js";
|
|
74
74
|
import { cn } from "./lib/utils.js";
|
|
75
|
-
export { $insertTokenAtCursor, Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Column, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_PROMPT_EDITOR_STRINGS, DataFetcher, DataSourceBuilder, DataTable, DataTableColumnHeader, DataTableSelectColumn, DataTransformers, DatePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableCell, EmptyState, ExpressionBuilder, FIELD_TYPE_META, FIELD_TYPE_ORDER, FetchAdapter, FileUpload, FormDesigner, FormField, FormFieldDescription, FormFieldError, FormFieldLabel, FormFieldRenderer, FormStateViewer, Grid, HoverCard, HoverCardContent, HoverCardTrigger, InfoTooltip, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputTokenNode, Label, LockableValueField, MetadataForm, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, MultiSelect, OutputTokenNode, PROMPT_EDITOR_RICH_TRANSFORMERS, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, PromptEditor, RadioGroup, RadioGroupItem, RequiredIndicator, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResourceTokenNode, Row, RuleBuilder, RulesEngine, ScrollArea, ScrollBar, ScrollableTabsList, Search, SearchWithSuggestions, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, Spinner, StateTokenNode, StatsCard, Stepper, StringListField, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, TokenPill, TokenPillWithTooltip, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, tree_view as TreeView, VARIABLE_DRAG_MIME, VARIABLE_PATH_REGEX, VariablePicker, VariablePickerContent, WORD_JOINER, analyticsPlugin, auditPlugin, autoSavePlugin, badgeVariants, buttonVariants, cn, createEditableColumn, createInputTokenNode, createOutputTokenNode, createResourceTokenNode, createStateTokenNode, createTokenNodeForOption, formatTemplate, formattingPlugin, getAllPromptTokenNodes, getEditorTokens, getPromptEditorTokenColors, getPromptEditorTokenTypeLabel, hasMinMaxStep, hasOptions, inferTokenTypeFromPath, isCustomField, isFileField, isPromptTokenNode, normalizeRichTextTokens, normalizeVariablePath, setEditorTokens, spinnerVariants, toast, toggleVariants, useWatch, validationPlugin, workflowPlugin };
|
|
75
|
+
export { $insertTokenAtCursor, Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Column, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_PROMPT_EDITOR_STRINGS, DataFetcher, DataSourceBuilder, DataTable, DataTableColumnHeader, DataTableSelectColumn, DataTransformers, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableCell, EmptyState, ExpressionBuilder, FIELD_TYPE_META, FIELD_TYPE_ORDER, FetchAdapter, FileUpload, FormDesigner, FormField, FormFieldDescription, FormFieldError, FormFieldLabel, FormFieldRenderer, FormStateViewer, Grid, HoverCard, HoverCardContent, HoverCardTrigger, InfoTooltip, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputTokenNode, Label, LockableValueField, MetadataForm, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, MultiSelect, OutputTokenNode, PROMPT_EDITOR_RICH_TRANSFORMERS, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, PromptEditor, RadioGroup, RadioGroupItem, RequiredIndicator, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResourceTokenNode, Row, RuleBuilder, RulesEngine, ScrollArea, ScrollBar, ScrollableTabsList, Search, SearchWithSuggestions, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, Spinner, StateTokenNode, StatsCard, Stepper, StringListField, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, TokenPill, TokenPillWithTooltip, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, tree_view as TreeView, VARIABLE_DRAG_MIME, VARIABLE_PATH_REGEX, VariablePicker, VariablePickerContent, WORD_JOINER, analyticsPlugin, auditPlugin, autoSavePlugin, badgeVariants, buttonVariants, cn, createEditableColumn, createInputTokenNode, createOutputTokenNode, createResourceTokenNode, createStateTokenNode, createTokenNodeForOption, formatTemplate, formattingPlugin, getAllPromptTokenNodes, getEditorTokens, getPromptEditorTokenColors, getPromptEditorTokenTypeLabel, hasMinMaxStep, hasOptions, inferTokenTypeFromPath, isCustomField, isFileField, isPromptTokenNode, normalizeRichTextTokens, normalizeVariablePath, setEditorTokens, spinnerVariants, toast, toggleVariants, useWatch, validationPlugin, workflowPlugin };
|
package/dist/styles.css
CHANGED
|
@@ -805,6 +805,9 @@
|
|
|
805
805
|
.mt-1 {
|
|
806
806
|
margin-top: calc(var(--spacing) * 1);
|
|
807
807
|
}
|
|
808
|
+
.mt-1\.5 {
|
|
809
|
+
margin-top: calc(var(--spacing) * 1.5);
|
|
810
|
+
}
|
|
808
811
|
.mt-2 {
|
|
809
812
|
margin-top: calc(var(--spacing) * 2);
|
|
810
813
|
}
|
|
@@ -4572,6 +4575,11 @@
|
|
|
4572
4575
|
opacity: 50%;
|
|
4573
4576
|
}
|
|
4574
4577
|
}
|
|
4578
|
+
.group-aria-invalid\/radio-group\:border-error {
|
|
4579
|
+
&:is(:where(.group\/radio-group)[aria-invalid="true"] *) {
|
|
4580
|
+
border-color: var(--error);
|
|
4581
|
+
}
|
|
4582
|
+
}
|
|
4575
4583
|
.group-data-\[focused\=true\]\/day\:relative {
|
|
4576
4584
|
&:is(:where(.group\/day)[data-focused="true"] *) {
|
|
4577
4585
|
position: relative;
|
|
@@ -5499,6 +5507,13 @@
|
|
|
5499
5507
|
--tw-ring-inset: inset;
|
|
5500
5508
|
}
|
|
5501
5509
|
}
|
|
5510
|
+
.group-aria-invalid\/radio-group\:focus-visible\:ring-error {
|
|
5511
|
+
&:is(:where(.group\/radio-group)[aria-invalid="true"] *) {
|
|
5512
|
+
&:focus-visible {
|
|
5513
|
+
--tw-ring-color: var(--error);
|
|
5514
|
+
}
|
|
5515
|
+
}
|
|
5516
|
+
}
|
|
5502
5517
|
.active\:scale-95 {
|
|
5503
5518
|
&:active {
|
|
5504
5519
|
--tw-scale-x: 95%;
|
|
@@ -6440,6 +6455,13 @@
|
|
|
6440
6455
|
}
|
|
6441
6456
|
}
|
|
6442
6457
|
}
|
|
6458
|
+
.future\:group-aria-invalid\/radio-group\:border-error {
|
|
6459
|
+
:is(.future-dark, .future-light) & {
|
|
6460
|
+
&:is(:where(.group\/radio-group)[aria-invalid="true"] *) {
|
|
6461
|
+
border-color: var(--error);
|
|
6462
|
+
}
|
|
6463
|
+
}
|
|
6464
|
+
}
|
|
6443
6465
|
.future\:placeholder\:font-normal {
|
|
6444
6466
|
:is(.future-dark, .future-light) & {
|
|
6445
6467
|
&::placeholder {
|
|
@@ -6515,6 +6537,17 @@
|
|
|
6515
6537
|
}
|
|
6516
6538
|
}
|
|
6517
6539
|
}
|
|
6540
|
+
.future\:group-aria-invalid\/radio-group\:hover\:border-error {
|
|
6541
|
+
:is(.future-dark, .future-light) & {
|
|
6542
|
+
&:is(:where(.group\/radio-group)[aria-invalid="true"] *) {
|
|
6543
|
+
&:hover {
|
|
6544
|
+
@media (hover: hover) {
|
|
6545
|
+
border-color: var(--error);
|
|
6546
|
+
}
|
|
6547
|
+
}
|
|
6548
|
+
}
|
|
6549
|
+
}
|
|
6550
|
+
}
|
|
6518
6551
|
.future\:focus-visible\:ring-0 {
|
|
6519
6552
|
:is(.future-dark, .future-light) & {
|
|
6520
6553
|
&:focus-visible {
|
|
@@ -6579,6 +6612,13 @@
|
|
|
6579
6612
|
}
|
|
6580
6613
|
}
|
|
6581
6614
|
}
|
|
6615
|
+
.future\:aria-invalid\:border-error {
|
|
6616
|
+
:is(.future-dark, .future-light) & {
|
|
6617
|
+
&[aria-invalid="true"] {
|
|
6618
|
+
border-color: var(--error);
|
|
6619
|
+
}
|
|
6620
|
+
}
|
|
6621
|
+
}
|
|
6582
6622
|
.future\:aria-invalid\:ring-1 {
|
|
6583
6623
|
:is(.future-dark, .future-light) & {
|
|
6584
6624
|
&[aria-invalid="true"] {
|
|
@@ -6597,6 +6637,17 @@
|
|
|
6597
6637
|
}
|
|
6598
6638
|
}
|
|
6599
6639
|
}
|
|
6640
|
+
.future\:aria-invalid\:hover\:border-error {
|
|
6641
|
+
:is(.future-dark, .future-light) & {
|
|
6642
|
+
&[aria-invalid="true"] {
|
|
6643
|
+
&:hover {
|
|
6644
|
+
@media (hover: hover) {
|
|
6645
|
+
border-color: var(--error);
|
|
6646
|
+
}
|
|
6647
|
+
}
|
|
6648
|
+
}
|
|
6649
|
+
}
|
|
6650
|
+
}
|
|
6600
6651
|
.future\:data-\[state\=checked\]\:border-foreground-accent {
|
|
6601
6652
|
:is(.future-dark, .future-light) & {
|
|
6602
6653
|
&[data-state="checked"] {
|
|
@@ -6625,6 +6676,24 @@
|
|
|
6625
6676
|
}
|
|
6626
6677
|
}
|
|
6627
6678
|
}
|
|
6679
|
+
.future\:group-aria-invalid\/radio-group\:data-\[state\=checked\]\:border-error {
|
|
6680
|
+
:is(.future-dark, .future-light) & {
|
|
6681
|
+
&:is(:where(.group\/radio-group)[aria-invalid="true"] *) {
|
|
6682
|
+
&[data-state="checked"] {
|
|
6683
|
+
border-color: var(--error);
|
|
6684
|
+
}
|
|
6685
|
+
}
|
|
6686
|
+
}
|
|
6687
|
+
}
|
|
6688
|
+
.future\:aria-invalid\:data-\[state\=checked\]\:border-error {
|
|
6689
|
+
:is(.future-dark, .future-light) & {
|
|
6690
|
+
&[aria-invalid="true"] {
|
|
6691
|
+
&[data-state="checked"] {
|
|
6692
|
+
border-color: var(--error);
|
|
6693
|
+
}
|
|
6694
|
+
}
|
|
6695
|
+
}
|
|
6696
|
+
}
|
|
6628
6697
|
.future\:data-\[state\=on\]\:text-foreground {
|
|
6629
6698
|
:is(.future-dark, .future-light) & {
|
|
6630
6699
|
&[data-state="on"] {
|
|
@@ -6903,6 +6972,11 @@
|
|
|
6903
6972
|
justify-content: center;
|
|
6904
6973
|
}
|
|
6905
6974
|
}
|
|
6975
|
+
.\[\&\>\[data-slot\=form-field-error\]\]\:mt-0 {
|
|
6976
|
+
&>[data-slot=form-field-error] {
|
|
6977
|
+
margin-top: calc(var(--spacing) * 0);
|
|
6978
|
+
}
|
|
6979
|
+
}
|
|
6906
6980
|
.\[\&\>button\]\:rounded-none {
|
|
6907
6981
|
&>button {
|
|
6908
6982
|
border-radius: 0;
|