@uipath/apollo-wind 2.32.4 → 2.33.1

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/index.js CHANGED
@@ -18,6 +18,7 @@ import { Slider } from "./components/ui/slider.js";
18
18
  import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./components/ui/select.js";
19
19
  import { Combobox } from "./components/ui/combobox.js";
20
20
  import { MultiSelect } from "./components/ui/multi-select.js";
21
+ import { VariablePicker, VariablePickerContent } from "./components/ui/variable-picker/index.js";
21
22
  import { Search, SearchWithSuggestions } from "./components/ui/search.js";
22
23
  import { Calendar } from "./components/ui/calendar.js";
23
24
  import { DatePicker } from "./components/ui/date-picker.js";
@@ -66,4 +67,4 @@ import { ExpressionBuilder, RuleBuilder, RulesEngine } from "./components/forms/
66
67
  import { DataFetcher, DataSourceBuilder, DataTransformers, FetchAdapter } from "./components/forms/data-fetcher.js";
67
68
  import { analyticsPlugin, auditPlugin, autoSavePlugin, formattingPlugin, validationPlugin, workflowPlugin } from "./components/forms/form-plugins.js";
68
69
  import { hasMinMaxStep, hasOptions, isCustomField, isFileField } from "./components/forms/form-schema.js";
69
- 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, 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, 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, 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, analyticsPlugin, auditPlugin, autoSavePlugin, badgeVariants, buttonVariants, cn, createEditableColumn, formattingPlugin, hasMinMaxStep, hasOptions, isCustomField, isFileField, spinnerVariants, toast, toggleVariants, validationPlugin, workflowPlugin };
70
+ 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, 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, 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, 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
@@ -952,6 +952,14 @@
952
952
  .aspect-video {
953
953
  aspect-ratio: var(--aspect-video);
954
954
  }
955
+ .\!size-2\.5 {
956
+ width: calc(var(--spacing) * 2.5) !important;
957
+ height: calc(var(--spacing) * 2.5) !important;
958
+ }
959
+ .\!size-3\.5 {
960
+ width: calc(var(--spacing) * 3.5) !important;
961
+ height: calc(var(--spacing) * 3.5) !important;
962
+ }
955
963
  .size-3 {
956
964
  width: calc(var(--spacing) * 3);
957
965
  height: calc(var(--spacing) * 3);
@@ -960,6 +968,10 @@
960
968
  width: calc(var(--spacing) * 4);
961
969
  height: calc(var(--spacing) * 4);
962
970
  }
971
+ .size-5 {
972
+ width: calc(var(--spacing) * 5);
973
+ height: calc(var(--spacing) * 5);
974
+ }
963
975
  .size-6 {
964
976
  width: calc(var(--spacing) * 6);
965
977
  height: calc(var(--spacing) * 6);
@@ -1158,6 +1170,9 @@
1158
1170
  .max-h-40 {
1159
1171
  max-height: calc(var(--spacing) * 40);
1160
1172
  }
1173
+ .max-h-72 {
1174
+ max-height: calc(var(--spacing) * 72);
1175
+ }
1161
1176
  .max-h-\[--radix-context-menu-content-available-height\] {
1162
1177
  max-height: --radix-context-menu-content-available-height;
1163
1178
  }
@@ -1194,6 +1209,9 @@
1194
1209
  .min-h-12 {
1195
1210
  min-height: calc(var(--spacing) * 12);
1196
1211
  }
1212
+ .min-h-28 {
1213
+ min-height: calc(var(--spacing) * 28);
1214
+ }
1197
1215
  .min-h-\[32px\] {
1198
1216
  min-height: 32px;
1199
1217
  }
@@ -1428,6 +1446,9 @@
1428
1446
  .w-\[500px\] {
1429
1447
  width: 500px;
1430
1448
  }
1449
+ .w-\[520px\] {
1450
+ width: 520px;
1451
+ }
1431
1452
  .w-\[550px\] {
1432
1453
  width: 550px;
1433
1454
  }
@@ -1527,6 +1548,9 @@
1527
1548
  .max-w-\[calc\(100\%-32px\)\] {
1528
1549
  max-width: calc(100% - 32px);
1529
1550
  }
1551
+ .max-w-\[calc\(100vw-1rem\)\] {
1552
+ max-width: calc(100vw - 1rem);
1553
+ }
1530
1554
  .max-w-full {
1531
1555
  max-width: 100%;
1532
1556
  }
@@ -1569,6 +1593,9 @@
1569
1593
  .min-w-\[8rem\] {
1570
1594
  min-width: 8rem;
1571
1595
  }
1596
+ .min-w-\[18px\] {
1597
+ min-width: 18px;
1598
+ }
1572
1599
  .min-w-\[var\(--radix-select-trigger-width\)\] {
1573
1600
  min-width: var(--radix-select-trigger-width);
1574
1601
  }
@@ -1643,6 +1670,9 @@
1643
1670
  --tw-scale-z: 110%;
1644
1671
  scale: var(--tw-scale-x) var(--tw-scale-y);
1645
1672
  }
1673
+ .-rotate-90 {
1674
+ rotate: calc(90deg * -1);
1675
+ }
1646
1676
  .rotate-90 {
1647
1677
  rotate: 90deg;
1648
1678
  }
@@ -3137,6 +3167,12 @@
3137
3167
  .bg-surface-overlay {
3138
3168
  background-color: var(--surface-overlay);
3139
3169
  }
3170
+ .bg-surface-overlay\/40 {
3171
+ background-color: var(--surface-overlay);
3172
+ @supports (color: color-mix(in lab, red, red)) {
3173
+ background-color: color-mix(in oklab, var(--surface-overlay) 40%, transparent);
3174
+ }
3175
+ }
3140
3176
  .bg-surface-overlay\/50 {
3141
3177
  background-color: var(--surface-overlay);
3142
3178
  @supports (color: color-mix(in lab, red, red)) {
@@ -3475,6 +3511,9 @@
3475
3511
  .px-0 {
3476
3512
  padding-inline: calc(var(--spacing) * 0);
3477
3513
  }
3514
+ .px-0\.5 {
3515
+ padding-inline: calc(var(--spacing) * 0.5);
3516
+ }
3478
3517
  .px-1 {
3479
3518
  padding-inline: calc(var(--spacing) * 1);
3480
3519
  }
@@ -3601,6 +3640,9 @@
3601
3640
  .pr-3 {
3602
3641
  padding-right: calc(var(--spacing) * 3);
3603
3642
  }
3643
+ .pr-3\.5 {
3644
+ padding-right: calc(var(--spacing) * 3.5);
3645
+ }
3604
3646
  .pr-4 {
3605
3647
  padding-right: calc(var(--spacing) * 4);
3606
3648
  }
@@ -4305,6 +4347,10 @@
4305
4347
  .transition-none {
4306
4348
  transition-property: none;
4307
4349
  }
4350
+ .duration-100 {
4351
+ --tw-duration: 100ms;
4352
+ transition-duration: 100ms;
4353
+ }
4308
4354
  .duration-150 {
4309
4355
  --tw-duration: 150ms;
4310
4356
  transition-duration: 150ms;
@@ -4497,6 +4543,11 @@
4497
4543
  }
4498
4544
  }
4499
4545
  }
4546
+ .group-data-\[selected\=true\]\:opacity-100 {
4547
+ &:is(:where(.group)[data-selected="true"] *) {
4548
+ opacity: 100%;
4549
+ }
4550
+ }
4500
4551
  .group-data-\[separator\=active\]\:bg-primary {
4501
4552
  &:is(:where(.group)[data-separator="active"] *) {
4502
4553
  background-color: var(--primary);
@@ -5316,6 +5367,11 @@
5316
5367
  z-index: 10;
5317
5368
  }
5318
5369
  }
5370
+ .focus-visible\:opacity-100 {
5371
+ &:focus-visible {
5372
+ opacity: 100%;
5373
+ }
5374
+ }
5319
5375
  .focus-visible\:ring-0 {
5320
5376
  &:focus-visible {
5321
5377
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
@@ -5654,11 +5710,21 @@
5654
5710
  background-color: var(--accent);
5655
5711
  }
5656
5712
  }
5713
+ .data-\[selected\=true\]\:bg-surface-overlay {
5714
+ &[data-selected="true"] {
5715
+ background-color: var(--surface-overlay);
5716
+ }
5717
+ }
5657
5718
  .data-\[selected\=true\]\:text-accent-foreground {
5658
5719
  &[data-selected="true"] {
5659
5720
  color: var(--accent-foreground);
5660
5721
  }
5661
5722
  }
5723
+ .data-\[selected\=true\]\:text-foreground {
5724
+ &[data-selected="true"] {
5725
+ color: var(--foreground);
5726
+ }
5727
+ }
5662
5728
  .data-\[separator\=active\]\:bg-primary {
5663
5729
  &[data-separator="active"] {
5664
5730
  background-color: var(--primary);
@@ -6122,12 +6188,12 @@
6122
6188
  }
6123
6189
  }
6124
6190
  .dark\:border-destructive {
6125
- @media (prefers-color-scheme: dark) {
6191
+ &:is(.dark:not(.react-flow), .dark-hc, .future-dark, .dark:not(.react-flow) *, .dark-hc *, .future-dark *) {
6126
6192
  border-color: var(--destructive);
6127
6193
  }
6128
6194
  }
6129
6195
  .dark\:bg-green-900\/10 {
6130
- @media (prefers-color-scheme: dark) {
6196
+ &:is(.dark:not(.react-flow), .dark-hc, .future-dark, .dark:not(.react-flow) *, .dark-hc *, .future-dark *) {
6131
6197
  background-color: color-mix(in srgb, oklch(39.3% 0.095 152.535) 10%, transparent);
6132
6198
  @supports (color: color-mix(in lab, red, red)) {
6133
6199
  background-color: color-mix(in oklab, var(--color-green-900) 10%, transparent);
@@ -6135,12 +6201,12 @@
6135
6201
  }
6136
6202
  }
6137
6203
  .dark\:text-green-400 {
6138
- @media (prefers-color-scheme: dark) {
6204
+ &:is(.dark:not(.react-flow), .dark-hc, .future-dark, .dark:not(.react-flow) *, .dark-hc *, .future-dark *) {
6139
6205
  color: var(--color-green-400);
6140
6206
  }
6141
6207
  }
6142
6208
  .dark\:text-red-400 {
6143
- @media (prefers-color-scheme: dark) {
6209
+ &:is(.dark:not(.react-flow), .dark-hc, .future-dark, .dark:not(.react-flow) *, .dark-hc *, .future-dark *) {
6144
6210
  color: var(--color-red-400);
6145
6211
  }
6146
6212
  }
@@ -6590,6 +6656,12 @@
6590
6656
  pointer-events: none;
6591
6657
  }
6592
6658
  }
6659
+ .\[\&_svg\]\:size-2\.75 {
6660
+ & svg {
6661
+ width: calc(var(--spacing) * 2.75);
6662
+ height: calc(var(--spacing) * 2.75);
6663
+ }
6664
+ }
6593
6665
  .\[\&_svg\]\:size-3 {
6594
6666
  & svg {
6595
6667
  width: calc(var(--spacing) * 3);
package/dist/tailwind.css CHANGED
@@ -24,6 +24,19 @@
24
24
  /* Variant active when the component is inside a Future Dark or Light theme */
25
25
  @custom-variant future (:is(.future-dark, .future-light) &);
26
26
 
27
+ /* Apollo theming is class-driven (see apollo-core theme-variables.css), so
28
+ override Tailwind's default OS-media `dark` variant to match. Covers the
29
+ three apollo-core themes that are dark: .dark, .dark-hc, .future-dark.
30
+ The prototype-only .vertex / .canvas themes are deliberately left out;
31
+ they name a palette, not a mode, and are snapshots of the dark half of a
32
+ two-mode source, so they can't be assumed dark long-term.
33
+
34
+ The :not(.react-flow) exclusion mirrors the token selectors below, so a
35
+ ReactFlow wrapper's colorMode class can't flip `dark:` utilities while the
36
+ tokens around them stay on the host theme. Only .dark needs it, since
37
+ colorMode emits `light`/`dark` and never `dark-hc`/`future-dark`. */
38
+ @custom-variant dark (&:is(.dark:not(.react-flow), .dark-hc, .future-dark, .dark:not(.react-flow) *, .dark-hc *, .future-dark *));
39
+
27
40
  /**
28
41
  * Theme definitions
29
42
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "2.32.4",
3
+ "version": "2.33.1",
4
4
  "description": "UiPath wind design system - A Tailwind CSS based React component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",