@uipath/apollo-wind 2.40.0 → 2.42.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 +61 -94
- package/dist/components/forms/field-renderer.d.ts +1 -1
- package/dist/components/forms/field-renderer.js +50 -83
- package/dist/components/ui/form-field.cjs +90 -0
- package/dist/components/ui/form-field.d.ts +26 -0
- package/dist/components/ui/form-field.js +47 -0
- package/dist/components/ui/index.cjs +119 -109
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.js +1 -0
- package/dist/components/ui/input-group.cjs +3 -4
- package/dist/components/ui/input-group.js +3 -4
- package/dist/components/ui/input.cjs +3 -4
- package/dist/components/ui/input.js +3 -4
- package/dist/components/ui/label.cjs +18 -5
- package/dist/components/ui/label.d.ts +26 -4
- package/dist/components/ui/label.js +18 -5
- package/dist/components/ui/lockable-value-field/lockable-value-field.cjs +3 -4
- package/dist/components/ui/lockable-value-field/lockable-value-field.js +3 -4
- package/dist/index.cjs +16 -3
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -1
- package/dist/styles.css +0 -165
- package/package.json +1 -1
|
@@ -1,10 +1,31 @@
|
|
|
1
1
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
declare const labelVariants: (props?:
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const labelVariants: (props?: ({
|
|
5
|
+
variant?: "default" | "muted" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
/** Variant props, for consumers that forward a variant through to `Label`. */
|
|
8
|
+
export type LabelVariants = VariantProps<typeof labelVariants>;
|
|
9
|
+
export type LabelProps = React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & LabelVariants;
|
|
10
|
+
/**
|
|
11
|
+
* Compose `RequiredIndicator` as the last child to mark a field required.
|
|
12
|
+
*
|
|
13
|
+
* Long labels wrap. Do not ellipsize one with `truncate`: the indicator shares
|
|
14
|
+
* the label's inline run, so the ellipsis swallows it, and a clipped field name
|
|
15
|
+
* is unreadable anyway.
|
|
16
|
+
*
|
|
17
|
+
* `data-variant` exposes the variant so a container can restyle every label of
|
|
18
|
+
* one kind at once rather than reaching for each slot by name. Target it as
|
|
19
|
+
* `label[data-variant=default]`: callers rename `data-slot`, and `data-variant`
|
|
20
|
+
* alone is a convention other components share.
|
|
21
|
+
*/
|
|
22
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & LabelVariants & React.RefAttributes<HTMLLabelElement>>;
|
|
7
23
|
export interface RequiredIndicatorProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'children' | 'aria-hidden'> {
|
|
24
|
+
/**
|
|
25
|
+
* Visually hidden text announced in place of the asterisk. apollo-wind ships
|
|
26
|
+
* no i18n, so localized consumers pass their own translated string here.
|
|
27
|
+
*/
|
|
28
|
+
srLabel?: string;
|
|
8
29
|
}
|
|
9
30
|
/**
|
|
10
31
|
* Marks a field as required. Place it right after the label text.
|
|
@@ -15,7 +36,8 @@ export interface RequiredIndicatorProps extends Omit<React.HTMLAttributes<HTMLSp
|
|
|
15
36
|
* glyph is `aria-hidden` since it's a visual affordance, not the thing that
|
|
16
37
|
* makes the field required to assistive tech; a `sr-only` "(required)" is
|
|
17
38
|
* included alongside it so the label still announces the requirement even if
|
|
18
|
-
* the field's own control is missing `required`/`aria-required`.
|
|
39
|
+
* the field's own control is missing `required`/`aria-required`. That text is
|
|
40
|
+
* English by default; pass `srLabel` to localize it.
|
|
19
41
|
*/
|
|
20
42
|
declare const RequiredIndicator: React.ForwardRefExoticComponent<RequiredIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
|
21
43
|
export { Label, RequiredIndicator };
|
|
@@ -3,15 +3,28 @@ import { Root } from "@radix-ui/react-label";
|
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import { cn } from "../../lib/index.js";
|
|
6
|
-
const labelVariants = cva('text-xs
|
|
7
|
-
|
|
6
|
+
const labelVariants = cva('text-xs peer-disabled:cursor-not-allowed peer-disabled:opacity-70', {
|
|
7
|
+
variants: {
|
|
8
|
+
variant: {
|
|
9
|
+
default: 'font-medium text-foreground',
|
|
10
|
+
muted: 'font-normal text-foreground-muted'
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
defaultVariants: {
|
|
14
|
+
variant: 'default'
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
const Label = /*#__PURE__*/ forwardRef(({ className, variant = 'default', ...props }, ref)=>/*#__PURE__*/ jsx(Root, {
|
|
8
18
|
ref: ref,
|
|
9
19
|
"data-slot": "label",
|
|
10
|
-
|
|
20
|
+
"data-variant": variant,
|
|
21
|
+
className: cn(labelVariants({
|
|
22
|
+
variant
|
|
23
|
+
}), className),
|
|
11
24
|
...props
|
|
12
25
|
}));
|
|
13
26
|
Label.displayName = Root.displayName;
|
|
14
|
-
const RequiredIndicator = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsxs("span", {
|
|
27
|
+
const RequiredIndicator = /*#__PURE__*/ forwardRef(({ className, srLabel = ' (required)', ...props }, ref)=>/*#__PURE__*/ jsxs("span", {
|
|
15
28
|
ref: ref,
|
|
16
29
|
...props,
|
|
17
30
|
className: cn('ml-0.5', className, 'text-foreground'),
|
|
@@ -22,7 +35,7 @@ const RequiredIndicator = /*#__PURE__*/ forwardRef(({ className, ...props }, ref
|
|
|
22
35
|
}),
|
|
23
36
|
/*#__PURE__*/ jsx("span", {
|
|
24
37
|
className: "sr-only",
|
|
25
|
-
children:
|
|
38
|
+
children: srLabel
|
|
26
39
|
})
|
|
27
40
|
]
|
|
28
41
|
}));
|
|
@@ -32,6 +32,7 @@ const external_react_namespaceObject = require("react");
|
|
|
32
32
|
const external_calendar_cjs_namespaceObject = require("../calendar.cjs");
|
|
33
33
|
const external_dropdown_menu_cjs_namespaceObject = require("../dropdown-menu.cjs");
|
|
34
34
|
const external_file_upload_cjs_namespaceObject = require("../file-upload.cjs");
|
|
35
|
+
const external_form_field_cjs_namespaceObject = require("../form-field.cjs");
|
|
35
36
|
const external_input_cjs_namespaceObject = require("../input.cjs");
|
|
36
37
|
const external_input_group_cjs_namespaceObject = require("../input-group.cjs");
|
|
37
38
|
const external_multi_select_cjs_namespaceObject = require("../multi-select.cjs");
|
|
@@ -278,12 +279,10 @@ function LockableValueField({ value = '', onValueChange, onValueBlur, locked = t
|
|
|
278
279
|
}) : null
|
|
279
280
|
]
|
|
280
281
|
}),
|
|
281
|
-
|
|
282
|
+
!typeMeta.supportsExpression && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_form_field_cjs_namespaceObject.FormFieldError, {
|
|
282
283
|
id: validationId,
|
|
283
284
|
"data-slot": "lockable-value-field-error",
|
|
284
|
-
|
|
285
|
-
"aria-atomic": "true",
|
|
286
|
-
className: "mt-1 text-xs leading-4 text-error",
|
|
285
|
+
className: "mt-1",
|
|
287
286
|
children: error
|
|
288
287
|
}),
|
|
289
288
|
belowValue
|
|
@@ -4,6 +4,7 @@ import { useId, useState } from "react";
|
|
|
4
4
|
import { Calendar } from "../calendar.js";
|
|
5
5
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuTrigger } from "../dropdown-menu.js";
|
|
6
6
|
import { FileUpload } from "../file-upload.js";
|
|
7
|
+
import { FormFieldError } from "../form-field.js";
|
|
7
8
|
import { Input } from "../input.js";
|
|
8
9
|
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput } from "../input-group.js";
|
|
9
10
|
import { MultiSelect } from "../multi-select.js";
|
|
@@ -250,12 +251,10 @@ function LockableValueField({ value = '', onValueChange, onValueBlur, locked = t
|
|
|
250
251
|
}) : null
|
|
251
252
|
]
|
|
252
253
|
}),
|
|
253
|
-
|
|
254
|
+
!typeMeta.supportsExpression && /*#__PURE__*/ jsx(FormFieldError, {
|
|
254
255
|
id: validationId,
|
|
255
256
|
"data-slot": "lockable-value-field-error",
|
|
256
|
-
|
|
257
|
-
"aria-atomic": "true",
|
|
258
|
-
className: "mt-1 text-xs leading-4 text-error",
|
|
257
|
+
className: "mt-1",
|
|
259
258
|
children: error
|
|
260
259
|
}),
|
|
261
260
|
belowValue
|
package/dist/index.cjs
CHANGED
|
@@ -67,6 +67,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
67
67
|
badgeVariants: ()=>badge_cjs_namespaceObject.badgeVariants,
|
|
68
68
|
createEditableColumn: ()=>editable_cell_cjs_namespaceObject.createEditableColumn,
|
|
69
69
|
toggleVariants: ()=>toggle_cjs_namespaceObject.toggleVariants,
|
|
70
|
+
FormFieldDescription: ()=>form_field_cjs_namespaceObject.FormFieldDescription,
|
|
70
71
|
SheetHeader: ()=>sheet_cjs_namespaceObject.SheetHeader,
|
|
71
72
|
Column: ()=>column_cjs_namespaceObject.Column,
|
|
72
73
|
AlertDialogTrigger: ()=>alert_dialog_cjs_namespaceObject.AlertDialogTrigger,
|
|
@@ -132,11 +133,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
132
133
|
DropdownMenuShortcut: ()=>dropdown_menu_cjs_namespaceObject.DropdownMenuShortcut,
|
|
133
134
|
FetchAdapter: ()=>data_fetcher_cjs_namespaceObject.FetchAdapter,
|
|
134
135
|
DataTableSelectColumn: ()=>data_table_cjs_namespaceObject.DataTableSelectColumn,
|
|
135
|
-
|
|
136
|
+
FormField: ()=>form_field_cjs_namespaceObject.FormField,
|
|
136
137
|
CollapsibleTrigger: ()=>collapsible_cjs_namespaceObject.CollapsibleTrigger,
|
|
137
138
|
ChartLegend: ()=>chart_cjs_namespaceObject.ChartLegend,
|
|
138
|
-
|
|
139
|
+
FormStateViewer: ()=>form_state_viewer_cjs_namespaceObject.FormStateViewer,
|
|
139
140
|
MultiSelect: ()=>multi_select_cjs_namespaceObject.MultiSelect,
|
|
141
|
+
RadioGroup: ()=>radio_group_cjs_namespaceObject.RadioGroup,
|
|
140
142
|
AspectRatio: ()=>aspect_ratio_cjs_namespaceObject.AspectRatio,
|
|
141
143
|
Alert: ()=>alert_cjs_namespaceObject.Alert,
|
|
142
144
|
DropdownMenuRadioItem: ()=>dropdown_menu_cjs_namespaceObject.DropdownMenuRadioItem,
|
|
@@ -160,6 +162,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
160
162
|
InputGroupInput: ()=>input_group_cjs_namespaceObject.InputGroupInput,
|
|
161
163
|
ContextMenuCheckboxItem: ()=>context_menu_cjs_namespaceObject.ContextMenuCheckboxItem,
|
|
162
164
|
isCustomField: ()=>form_schema_cjs_namespaceObject.isCustomField,
|
|
165
|
+
FormFieldError: ()=>form_field_cjs_namespaceObject.FormFieldError,
|
|
163
166
|
TreeView: ()=>tree_view_cjs_default(),
|
|
164
167
|
TableCaption: ()=>table_cjs_namespaceObject.TableCaption,
|
|
165
168
|
TooltipTrigger: ()=>tooltip_cjs_namespaceObject.TooltipTrigger,
|
|
@@ -258,11 +261,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
258
261
|
DialogContent: ()=>dialog_cjs_namespaceObject.DialogContent,
|
|
259
262
|
DialogTrigger: ()=>dialog_cjs_namespaceObject.DialogTrigger,
|
|
260
263
|
DropdownMenuRadioGroup: ()=>dropdown_menu_cjs_namespaceObject.DropdownMenuRadioGroup,
|
|
261
|
-
FormDesigner: ()=>form_designer_cjs_namespaceObject.FormDesigner,
|
|
262
264
|
TableRow: ()=>table_cjs_namespaceObject.TableRow,
|
|
265
|
+
FormDesigner: ()=>form_designer_cjs_namespaceObject.FormDesigner,
|
|
263
266
|
ToggleGroup: ()=>toggle_group_cjs_namespaceObject.ToggleGroup,
|
|
264
267
|
Search: ()=>search_cjs_namespaceObject.Search,
|
|
265
268
|
AlertDialogCancel: ()=>alert_dialog_cjs_namespaceObject.AlertDialogCancel,
|
|
269
|
+
FormFieldLabel: ()=>form_field_cjs_namespaceObject.FormFieldLabel,
|
|
266
270
|
InputGroupTextarea: ()=>input_group_cjs_namespaceObject.InputGroupTextarea,
|
|
267
271
|
spinnerVariants: ()=>spinner_cjs_namespaceObject.spinnerVariants,
|
|
268
272
|
SelectTrigger: ()=>select_cjs_namespaceObject.SelectTrigger,
|
|
@@ -290,6 +294,7 @@ const input_group_cjs_namespaceObject = require("./components/ui/input-group.cjs
|
|
|
290
294
|
const index_cjs_namespaceObject = require("./components/ui/lockable-value-field/index.cjs");
|
|
291
295
|
const textarea_cjs_namespaceObject = require("./components/ui/textarea.cjs");
|
|
292
296
|
const label_cjs_namespaceObject = require("./components/ui/label.cjs");
|
|
297
|
+
const form_field_cjs_namespaceObject = require("./components/ui/form-field.cjs");
|
|
293
298
|
const checkbox_cjs_namespaceObject = require("./components/ui/checkbox.cjs");
|
|
294
299
|
const radio_group_cjs_namespaceObject = require("./components/ui/radio-group.cjs");
|
|
295
300
|
const switch_cjs_namespaceObject = require("./components/ui/switch.cjs");
|
|
@@ -477,6 +482,10 @@ exports.FIELD_TYPE_ORDER = __webpack_exports__.FIELD_TYPE_ORDER;
|
|
|
477
482
|
exports.FetchAdapter = __webpack_exports__.FetchAdapter;
|
|
478
483
|
exports.FileUpload = __webpack_exports__.FileUpload;
|
|
479
484
|
exports.FormDesigner = __webpack_exports__.FormDesigner;
|
|
485
|
+
exports.FormField = __webpack_exports__.FormField;
|
|
486
|
+
exports.FormFieldDescription = __webpack_exports__.FormFieldDescription;
|
|
487
|
+
exports.FormFieldError = __webpack_exports__.FormFieldError;
|
|
488
|
+
exports.FormFieldLabel = __webpack_exports__.FormFieldLabel;
|
|
480
489
|
exports.FormFieldRenderer = __webpack_exports__.FormFieldRenderer;
|
|
481
490
|
exports.FormStateViewer = __webpack_exports__.FormStateViewer;
|
|
482
491
|
exports.Grid = __webpack_exports__.Grid;
|
|
@@ -721,6 +730,10 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
721
730
|
"FetchAdapter",
|
|
722
731
|
"FileUpload",
|
|
723
732
|
"FormDesigner",
|
|
733
|
+
"FormField",
|
|
734
|
+
"FormFieldDescription",
|
|
735
|
+
"FormFieldError",
|
|
736
|
+
"FormFieldLabel",
|
|
724
737
|
"FormFieldRenderer",
|
|
725
738
|
"FormStateViewer",
|
|
726
739
|
"Grid",
|
package/dist/index.d.ts
CHANGED
|
@@ -19,7 +19,9 @@ export type { LockableValueFieldProps, LockableValueFieldMode, LockableFieldType
|
|
|
19
19
|
export { Textarea } from './components/ui/textarea';
|
|
20
20
|
export type { TextareaProps } from './components/ui/textarea';
|
|
21
21
|
export { Label, RequiredIndicator } from './components/ui/label';
|
|
22
|
-
export type { LabelProps, RequiredIndicatorProps } from './components/ui/label';
|
|
22
|
+
export type { LabelProps, LabelVariants, RequiredIndicatorProps } from './components/ui/label';
|
|
23
|
+
export { FormField, FormFieldDescription, FormFieldError, FormFieldLabel, } from './components/ui/form-field';
|
|
24
|
+
export type { FormFieldDescriptionProps, FormFieldErrorProps, FormFieldLabelProps, FormFieldProps, } from './components/ui/form-field';
|
|
23
25
|
export { Checkbox } from './components/ui/checkbox';
|
|
24
26
|
export type { CheckboxProps } from './components/ui/checkbox';
|
|
25
27
|
export { RadioGroup, RadioGroupItem } from './components/ui/radio-group';
|
package/dist/index.js
CHANGED
|
@@ -11,6 +11,7 @@ import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGr
|
|
|
11
11
|
import { FIELD_TYPE_META, FIELD_TYPE_ORDER, LockableValueField } from "./components/ui/lockable-value-field/index.js";
|
|
12
12
|
import { Textarea } from "./components/ui/textarea.js";
|
|
13
13
|
import { Label, RequiredIndicator } from "./components/ui/label.js";
|
|
14
|
+
import { FormField, FormFieldDescription, FormFieldError, FormFieldLabel } from "./components/ui/form-field.js";
|
|
14
15
|
import { Checkbox } from "./components/ui/checkbox.js";
|
|
15
16
|
import { RadioGroup, RadioGroupItem } from "./components/ui/radio-group.js";
|
|
16
17
|
import { Switch } from "./components/ui/switch.js";
|
|
@@ -69,4 +70,4 @@ import { ExpressionBuilder, RuleBuilder, RulesEngine } from "./components/forms/
|
|
|
69
70
|
import { DataFetcher, DataSourceBuilder, DataTransformers, FetchAdapter } from "./components/forms/data-fetcher.js";
|
|
70
71
|
import { analyticsPlugin, auditPlugin, autoSavePlugin, formattingPlugin, validationPlugin, workflowPlugin } from "./components/forms/form-plugins.js";
|
|
71
72
|
import { hasMinMaxStep, hasOptions, isCustomField, isFileField } from "./components/forms/form-schema.js";
|
|
72
|
-
export { 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, 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, FormFieldRenderer, FormStateViewer, Grid, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Label, LockableValueField, MetadataForm, MultiSelect, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, PromptEditor, RadioGroup, RadioGroupItem, RequiredIndicator, ResizableHandle, ResizablePanel, ResizablePanelGroup, 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, StatsCard, Stepper, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, tree_view as TreeView, VARIABLE_DRAG_MIME, VariablePicker, VariablePickerContent, analyticsPlugin, auditPlugin, autoSavePlugin, badgeVariants, buttonVariants, cn, createEditableColumn, formattingPlugin, hasMinMaxStep, hasOptions, isCustomField, isFileField, spinnerVariants, toast, toggleVariants, validationPlugin, workflowPlugin };
|
|
73
|
+
export { 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, 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, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Label, LockableValueField, MetadataForm, MultiSelect, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, PromptEditor, RadioGroup, RadioGroupItem, RequiredIndicator, ResizableHandle, ResizablePanel, ResizablePanelGroup, 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, StatsCard, Stepper, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, tree_view as TreeView, VARIABLE_DRAG_MIME, VariablePicker, VariablePickerContent, analyticsPlugin, auditPlugin, autoSavePlugin, badgeVariants, buttonVariants, cn, createEditableColumn, formattingPlugin, hasMinMaxStep, hasOptions, isCustomField, isFileField, spinnerVariants, toast, toggleVariants, validationPlugin, workflowPlugin };
|
package/dist/styles.css
CHANGED
|
@@ -774,9 +774,6 @@
|
|
|
774
774
|
.mx-auto {
|
|
775
775
|
margin-inline: auto;
|
|
776
776
|
}
|
|
777
|
-
.-my-1 {
|
|
778
|
-
margin-block: calc(var(--spacing) * -1);
|
|
779
|
-
}
|
|
780
777
|
.my-0\.5 {
|
|
781
778
|
margin-block: calc(var(--spacing) * 0.5);
|
|
782
779
|
}
|
|
@@ -843,9 +840,6 @@
|
|
|
843
840
|
.mr-2 {
|
|
844
841
|
margin-right: calc(var(--spacing) * 2);
|
|
845
842
|
}
|
|
846
|
-
.mr-3 {
|
|
847
|
-
margin-right: calc(var(--spacing) * 3);
|
|
848
|
-
}
|
|
849
843
|
.mr-4 {
|
|
850
844
|
margin-right: calc(var(--spacing) * 4);
|
|
851
845
|
}
|
|
@@ -1070,9 +1064,6 @@
|
|
|
1070
1064
|
.h-24 {
|
|
1071
1065
|
height: calc(var(--spacing) * 24);
|
|
1072
1066
|
}
|
|
1073
|
-
.h-28 {
|
|
1074
|
-
height: calc(var(--spacing) * 28);
|
|
1075
|
-
}
|
|
1076
1067
|
.h-32 {
|
|
1077
1068
|
height: calc(var(--spacing) * 32);
|
|
1078
1069
|
}
|
|
@@ -1235,9 +1226,6 @@
|
|
|
1235
1226
|
.min-h-\[400px\] {
|
|
1236
1227
|
min-height: 400px;
|
|
1237
1228
|
}
|
|
1238
|
-
.min-h-\[680px\] {
|
|
1239
|
-
min-height: 680px;
|
|
1240
|
-
}
|
|
1241
1229
|
.min-h-screen {
|
|
1242
1230
|
min-height: 100vh;
|
|
1243
1231
|
}
|
|
@@ -1367,21 +1355,12 @@
|
|
|
1367
1355
|
.w-\[2px\] {
|
|
1368
1356
|
width: 2px;
|
|
1369
1357
|
}
|
|
1370
|
-
.w-\[18\%\] {
|
|
1371
|
-
width: 18%;
|
|
1372
|
-
}
|
|
1373
1358
|
.w-\[18px\] {
|
|
1374
1359
|
width: 18px;
|
|
1375
1360
|
}
|
|
1376
|
-
.w-\[20\%\] {
|
|
1377
|
-
width: 20%;
|
|
1378
|
-
}
|
|
1379
1361
|
.w-\[22px\] {
|
|
1380
1362
|
width: 22px;
|
|
1381
1363
|
}
|
|
1382
|
-
.w-\[31\%\] {
|
|
1383
|
-
width: 31%;
|
|
1384
|
-
}
|
|
1385
1364
|
.w-\[40px\] {
|
|
1386
1365
|
width: 40px;
|
|
1387
1366
|
}
|
|
@@ -1610,12 +1589,6 @@
|
|
|
1610
1589
|
.min-w-\[18px\] {
|
|
1611
1590
|
min-width: 18px;
|
|
1612
1591
|
}
|
|
1613
|
-
.min-w-\[340px\] {
|
|
1614
|
-
min-width: 340px;
|
|
1615
|
-
}
|
|
1616
|
-
.min-w-\[840px\] {
|
|
1617
|
-
min-width: 840px;
|
|
1618
|
-
}
|
|
1619
1592
|
.min-w-\[var\(--radix-select-trigger-width\)\] {
|
|
1620
1593
|
min-width: var(--radix-select-trigger-width);
|
|
1621
1594
|
}
|
|
@@ -1991,9 +1964,6 @@
|
|
|
1991
1964
|
.gap-x-8 {
|
|
1992
1965
|
column-gap: calc(var(--spacing) * 8);
|
|
1993
1966
|
}
|
|
1994
|
-
.gap-x-10 {
|
|
1995
|
-
column-gap: calc(var(--spacing) * 10);
|
|
1996
|
-
}
|
|
1997
1967
|
.-space-x-2 {
|
|
1998
1968
|
:where(& > :not(:last-child)) {
|
|
1999
1969
|
--tw-space-x-reverse: 0;
|
|
@@ -2152,10 +2122,6 @@
|
|
|
2152
2122
|
border-top-right-radius: var(--radius-md);
|
|
2153
2123
|
border-bottom-right-radius: var(--radius-md);
|
|
2154
2124
|
}
|
|
2155
|
-
.rounded-r-none {
|
|
2156
|
-
border-top-right-radius: 0;
|
|
2157
|
-
border-bottom-right-radius: 0;
|
|
2158
|
-
}
|
|
2159
2125
|
.rounded-tr-2xl {
|
|
2160
2126
|
border-top-right-radius: var(--radius-2xl);
|
|
2161
2127
|
}
|
|
@@ -2196,10 +2162,6 @@
|
|
|
2196
2162
|
border-style: var(--tw-border-style);
|
|
2197
2163
|
border-width: 1.5px;
|
|
2198
2164
|
}
|
|
2199
|
-
.border-y {
|
|
2200
|
-
border-block-style: var(--tw-border-style);
|
|
2201
|
-
border-block-width: 1px;
|
|
2202
|
-
}
|
|
2203
2165
|
.border-t {
|
|
2204
2166
|
border-top-style: var(--tw-border-style);
|
|
2205
2167
|
border-top-width: 1px;
|
|
@@ -2228,10 +2190,6 @@
|
|
|
2228
2190
|
border-left-style: var(--tw-border-style);
|
|
2229
2191
|
border-left-width: 1px;
|
|
2230
2192
|
}
|
|
2231
|
-
.border-l-0 {
|
|
2232
|
-
border-left-style: var(--tw-border-style);
|
|
2233
|
-
border-left-width: 0px;
|
|
2234
|
-
}
|
|
2235
2193
|
.border-l-2 {
|
|
2236
2194
|
border-left-style: var(--tw-border-style);
|
|
2237
2195
|
border-left-width: 2px;
|
|
@@ -2918,12 +2876,6 @@
|
|
|
2918
2876
|
background-color: color-mix(in oklab, var(--muted) 30%, transparent);
|
|
2919
2877
|
}
|
|
2920
2878
|
}
|
|
2921
|
-
.bg-muted\/35 {
|
|
2922
|
-
background-color: var(--muted);
|
|
2923
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2924
|
-
background-color: color-mix(in oklab, var(--muted) 35%, transparent);
|
|
2925
|
-
}
|
|
2926
|
-
}
|
|
2927
2879
|
.bg-muted\/40 {
|
|
2928
2880
|
background-color: var(--muted);
|
|
2929
2881
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2936,18 +2888,6 @@
|
|
|
2936
2888
|
background-color: color-mix(in oklab, var(--muted) 50%, transparent);
|
|
2937
2889
|
}
|
|
2938
2890
|
}
|
|
2939
|
-
.bg-muted\/60 {
|
|
2940
|
-
background-color: var(--muted);
|
|
2941
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2942
|
-
background-color: color-mix(in oklab, var(--muted) 60%, transparent);
|
|
2943
|
-
}
|
|
2944
|
-
}
|
|
2945
|
-
.bg-muted\/70 {
|
|
2946
|
-
background-color: var(--muted);
|
|
2947
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2948
|
-
background-color: color-mix(in oklab, var(--muted) 70%, transparent);
|
|
2949
|
-
}
|
|
2950
|
-
}
|
|
2951
2891
|
.bg-muted\/80 {
|
|
2952
2892
|
background-color: var(--muted);
|
|
2953
2893
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -3047,12 +2987,6 @@
|
|
|
3047
2987
|
background-color: color-mix(in oklab, var(--primary) 10%, transparent);
|
|
3048
2988
|
}
|
|
3049
2989
|
}
|
|
3050
|
-
.bg-primary\/15 {
|
|
3051
|
-
background-color: var(--primary);
|
|
3052
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3053
|
-
background-color: color-mix(in oklab, var(--primary) 15%, transparent);
|
|
3054
|
-
}
|
|
3055
|
-
}
|
|
3056
2990
|
.bg-primary\/20 {
|
|
3057
2991
|
background-color: var(--primary);
|
|
3058
2992
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -3398,12 +3332,6 @@
|
|
|
3398
3332
|
background-color: color-mix(in oklab, var(--warning) 5%, transparent);
|
|
3399
3333
|
}
|
|
3400
3334
|
}
|
|
3401
|
-
.bg-warning\/10 {
|
|
3402
|
-
background-color: var(--warning);
|
|
3403
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3404
|
-
background-color: color-mix(in oklab, var(--warning) 10%, transparent);
|
|
3405
|
-
}
|
|
3406
|
-
}
|
|
3407
3335
|
.bg-white {
|
|
3408
3336
|
background-color: var(--color-white);
|
|
3409
3337
|
}
|
|
@@ -3682,9 +3610,6 @@
|
|
|
3682
3610
|
.py-3 {
|
|
3683
3611
|
padding-block: calc(var(--spacing) * 3);
|
|
3684
3612
|
}
|
|
3685
|
-
.py-3\.5 {
|
|
3686
|
-
padding-block: calc(var(--spacing) * 3.5);
|
|
3687
|
-
}
|
|
3688
3613
|
.py-4 {
|
|
3689
3614
|
padding-block: calc(var(--spacing) * 4);
|
|
3690
3615
|
}
|
|
@@ -3694,15 +3619,9 @@
|
|
|
3694
3619
|
.py-6 {
|
|
3695
3620
|
padding-block: calc(var(--spacing) * 6);
|
|
3696
3621
|
}
|
|
3697
|
-
.py-7 {
|
|
3698
|
-
padding-block: calc(var(--spacing) * 7);
|
|
3699
|
-
}
|
|
3700
3622
|
.py-8 {
|
|
3701
3623
|
padding-block: calc(var(--spacing) * 8);
|
|
3702
3624
|
}
|
|
3703
|
-
.py-9 {
|
|
3704
|
-
padding-block: calc(var(--spacing) * 9);
|
|
3705
|
-
}
|
|
3706
3625
|
.py-10 {
|
|
3707
3626
|
padding-block: calc(var(--spacing) * 10);
|
|
3708
3627
|
}
|
|
@@ -3778,9 +3697,6 @@
|
|
|
3778
3697
|
.pb-0 {
|
|
3779
3698
|
padding-bottom: calc(var(--spacing) * 0);
|
|
3780
3699
|
}
|
|
3781
|
-
.pb-1\.5 {
|
|
3782
|
-
padding-bottom: calc(var(--spacing) * 1.5);
|
|
3783
|
-
}
|
|
3784
3700
|
.pb-2 {
|
|
3785
3701
|
padding-bottom: calc(var(--spacing) * 2);
|
|
3786
3702
|
}
|
|
@@ -3844,9 +3760,6 @@
|
|
|
3844
3760
|
.align-middle {
|
|
3845
3761
|
vertical-align: middle;
|
|
3846
3762
|
}
|
|
3847
|
-
.align-top {
|
|
3848
|
-
vertical-align: top;
|
|
3849
|
-
}
|
|
3850
3763
|
.font-mono {
|
|
3851
3764
|
font-family: var(--font-mono);
|
|
3852
3765
|
}
|
|
@@ -4811,11 +4724,6 @@
|
|
|
4811
4724
|
color: var(--foreground);
|
|
4812
4725
|
}
|
|
4813
4726
|
}
|
|
4814
|
-
.last\:mb-0 {
|
|
4815
|
-
&:last-child {
|
|
4816
|
-
margin-bottom: calc(var(--spacing) * 0);
|
|
4817
|
-
}
|
|
4818
|
-
}
|
|
4819
4727
|
.last\:border-0 {
|
|
4820
4728
|
&:last-child {
|
|
4821
4729
|
border-style: var(--tw-border-style);
|
|
@@ -5111,16 +5019,6 @@
|
|
|
5111
5019
|
}
|
|
5112
5020
|
}
|
|
5113
5021
|
}
|
|
5114
|
-
.hover\:bg-muted\/40 {
|
|
5115
|
-
&:hover {
|
|
5116
|
-
@media (hover: hover) {
|
|
5117
|
-
background-color: var(--muted);
|
|
5118
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
5119
|
-
background-color: color-mix(in oklab, var(--muted) 40%, transparent);
|
|
5120
|
-
}
|
|
5121
|
-
}
|
|
5122
|
-
}
|
|
5123
|
-
}
|
|
5124
5022
|
.hover\:bg-muted\/50 {
|
|
5125
5023
|
&:hover {
|
|
5126
5024
|
@media (hover: hover) {
|
|
@@ -6094,11 +5992,6 @@
|
|
|
6094
5992
|
margin-top: calc(var(--spacing) * 0);
|
|
6095
5993
|
}
|
|
6096
5994
|
}
|
|
6097
|
-
.sm\:table-cell {
|
|
6098
|
-
@media (width >= 40rem) {
|
|
6099
|
-
display: table-cell;
|
|
6100
|
-
}
|
|
6101
|
-
}
|
|
6102
5995
|
.sm\:max-w-2xl {
|
|
6103
5996
|
@media (width >= 40rem) {
|
|
6104
5997
|
max-width: var(--container-2xl);
|
|
@@ -6175,46 +6068,16 @@
|
|
|
6175
6068
|
border-left-width: 1px;
|
|
6176
6069
|
}
|
|
6177
6070
|
}
|
|
6178
|
-
.sm\:p-5 {
|
|
6179
|
-
@media (width >= 40rem) {
|
|
6180
|
-
padding: calc(var(--spacing) * 5);
|
|
6181
|
-
}
|
|
6182
|
-
}
|
|
6183
|
-
.sm\:p-10 {
|
|
6184
|
-
@media (width >= 40rem) {
|
|
6185
|
-
padding: calc(var(--spacing) * 10);
|
|
6186
|
-
}
|
|
6187
|
-
}
|
|
6188
|
-
.sm\:px-6 {
|
|
6189
|
-
@media (width >= 40rem) {
|
|
6190
|
-
padding-inline: calc(var(--spacing) * 6);
|
|
6191
|
-
}
|
|
6192
|
-
}
|
|
6193
6071
|
.sm\:px-8 {
|
|
6194
6072
|
@media (width >= 40rem) {
|
|
6195
6073
|
padding-inline: calc(var(--spacing) * 8);
|
|
6196
6074
|
}
|
|
6197
6075
|
}
|
|
6198
|
-
.sm\:px-10 {
|
|
6199
|
-
@media (width >= 40rem) {
|
|
6200
|
-
padding-inline: calc(var(--spacing) * 10);
|
|
6201
|
-
}
|
|
6202
|
-
}
|
|
6203
6076
|
.sm\:py-6 {
|
|
6204
6077
|
@media (width >= 40rem) {
|
|
6205
6078
|
padding-block: calc(var(--spacing) * 6);
|
|
6206
6079
|
}
|
|
6207
6080
|
}
|
|
6208
|
-
.sm\:py-9 {
|
|
6209
|
-
@media (width >= 40rem) {
|
|
6210
|
-
padding-block: calc(var(--spacing) * 9);
|
|
6211
|
-
}
|
|
6212
|
-
}
|
|
6213
|
-
.sm\:py-14 {
|
|
6214
|
-
@media (width >= 40rem) {
|
|
6215
|
-
padding-block: calc(var(--spacing) * 14);
|
|
6216
|
-
}
|
|
6217
|
-
}
|
|
6218
6081
|
.sm\:text-left {
|
|
6219
6082
|
@media (width >= 40rem) {
|
|
6220
6083
|
text-align: left;
|
|
@@ -6231,11 +6094,6 @@
|
|
|
6231
6094
|
grid-column: span 2 / span 2;
|
|
6232
6095
|
}
|
|
6233
6096
|
}
|
|
6234
|
-
.md\:table-cell {
|
|
6235
|
-
@media (width >= 48rem) {
|
|
6236
|
-
display: table-cell;
|
|
6237
|
-
}
|
|
6238
|
-
}
|
|
6239
6097
|
.md\:w-1\/2 {
|
|
6240
6098
|
@media (width >= 48rem) {
|
|
6241
6099
|
width: calc(1/2 * 100%);
|
|
@@ -6307,11 +6165,6 @@
|
|
|
6307
6165
|
grid-template-columns: 2fr 3fr 3fr;
|
|
6308
6166
|
}
|
|
6309
6167
|
}
|
|
6310
|
-
.lg\:grid-cols-\[auto_minmax\(180px\,1fr\)_minmax\(160px\,0\.55fr\)_minmax\(240px\,1fr\)_auto\] {
|
|
6311
|
-
@media (width >= 64rem) {
|
|
6312
|
-
grid-template-columns: auto minmax(180px,1fr) minmax(160px,0.55fr) minmax(240px,1fr) auto;
|
|
6313
|
-
}
|
|
6314
|
-
}
|
|
6315
6168
|
.\@max-\[259px\]\:block {
|
|
6316
6169
|
@container (width < 259px) {
|
|
6317
6170
|
display: block;
|
|
@@ -6382,24 +6235,6 @@
|
|
|
6382
6235
|
border-radius: var(--radius-xl);
|
|
6383
6236
|
}
|
|
6384
6237
|
}
|
|
6385
|
-
.future\:rounded-l-xl {
|
|
6386
|
-
:is(.future-dark, .future-light) & {
|
|
6387
|
-
border-top-left-radius: var(--radius-xl);
|
|
6388
|
-
border-bottom-left-radius: var(--radius-xl);
|
|
6389
|
-
}
|
|
6390
|
-
}
|
|
6391
|
-
.future\:rounded-r-none {
|
|
6392
|
-
:is(.future-dark, .future-light) & {
|
|
6393
|
-
border-top-right-radius: 0;
|
|
6394
|
-
border-bottom-right-radius: 0;
|
|
6395
|
-
}
|
|
6396
|
-
}
|
|
6397
|
-
.future\:rounded-r-xl {
|
|
6398
|
-
:is(.future-dark, .future-light) & {
|
|
6399
|
-
border-top-right-radius: var(--radius-xl);
|
|
6400
|
-
border-bottom-right-radius: var(--radius-xl);
|
|
6401
|
-
}
|
|
6402
|
-
}
|
|
6403
6238
|
.future\:border-0 {
|
|
6404
6239
|
:is(.future-dark, .future-light) & {
|
|
6405
6240
|
border-style: var(--tw-border-style);
|