@uipath/apollo-wind 2.52.2 → 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.
Files changed (59) hide show
  1. package/dist/components/forms/field-renderer.cjs +42 -3
  2. package/dist/components/forms/field-renderer.js +42 -3
  3. package/dist/components/forms/string-list-field.cjs +3 -0
  4. package/dist/components/forms/string-list-field.js +3 -0
  5. package/dist/components/ui/button.cjs +1 -1
  6. package/dist/components/ui/button.js +1 -1
  7. package/dist/components/ui/checkbox.cjs +1 -1
  8. package/dist/components/ui/checkbox.js +1 -1
  9. package/dist/components/ui/combobox.cjs +70 -51
  10. package/dist/components/ui/combobox.d.ts +12 -0
  11. package/dist/components/ui/combobox.js +72 -53
  12. package/dist/components/ui/date-picker.cjs +102 -62
  13. package/dist/components/ui/date-picker.d.ts +28 -0
  14. package/dist/components/ui/date-picker.js +103 -63
  15. package/dist/components/ui/datetime-picker.cjs +90 -72
  16. package/dist/components/ui/datetime-picker.d.ts +12 -2
  17. package/dist/components/ui/datetime-picker.js +92 -74
  18. package/dist/components/ui/file-upload.cjs +21 -8
  19. package/dist/components/ui/file-upload.d.ts +7 -0
  20. package/dist/components/ui/file-upload.js +22 -9
  21. package/dist/components/ui/form-field.cjs +3 -3
  22. package/dist/components/ui/form-field.d.ts +11 -0
  23. package/dist/components/ui/form-field.js +3 -3
  24. package/dist/components/ui/index.cjs +8 -8
  25. package/dist/components/ui/input-group.cjs +0 -2
  26. package/dist/components/ui/input-group.d.ts +1 -1
  27. package/dist/components/ui/input-group.js +0 -2
  28. package/dist/components/ui/input.cjs +0 -2
  29. package/dist/components/ui/input.js +0 -2
  30. package/dist/components/ui/lockable-value-field/lockable-value-field.cjs +1 -1
  31. package/dist/components/ui/lockable-value-field/lockable-value-field.js +1 -1
  32. package/dist/components/ui/multi-select.cjs +125 -112
  33. package/dist/components/ui/multi-select.d.ts +7 -0
  34. package/dist/components/ui/multi-select.js +126 -113
  35. package/dist/components/ui/prompt-editor/plugins/ShortcutContainmentPlugin.cjs +62 -0
  36. package/dist/components/ui/prompt-editor/plugins/ShortcutContainmentPlugin.d.ts +19 -0
  37. package/dist/components/ui/prompt-editor/plugins/ShortcutContainmentPlugin.js +25 -0
  38. package/dist/components/ui/prompt-editor/prompt-editor.cjs +2 -2
  39. package/dist/components/ui/prompt-editor/prompt-editor.js +2 -2
  40. package/dist/components/ui/radio-group.cjs +2 -2
  41. package/dist/components/ui/radio-group.js +2 -2
  42. package/dist/components/ui/search.cjs +3 -1
  43. package/dist/components/ui/search.d.ts +4 -0
  44. package/dist/components/ui/search.js +3 -1
  45. package/dist/components/ui/select.cjs +33 -12
  46. package/dist/components/ui/select.d.ts +10 -1
  47. package/dist/components/ui/select.js +35 -14
  48. package/dist/components/ui/slider.cjs +7 -2
  49. package/dist/components/ui/slider.js +7 -2
  50. package/dist/components/ui/switch.cjs +1 -1
  51. package/dist/components/ui/switch.js +1 -1
  52. package/dist/components/ui/textarea.cjs +30 -11
  53. package/dist/components/ui/textarea.d.ts +7 -0
  54. package/dist/components/ui/textarea.js +32 -13
  55. package/dist/index.cjs +4 -1
  56. package/dist/index.d.ts +5 -1
  57. package/dist/index.js +2 -2
  58. package/dist/styles.css +74 -0
  59. package/package.json +1 -1
@@ -1,10 +1,11 @@
1
1
  "use client";
2
- import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Content, Group, Icon, Item, ItemIndicator, ItemText, Label, Portal, Root, ScrollDownButton, ScrollUpButton, Separator, Trigger, Value, Viewport } from "@radix-ui/react-select";
4
4
  import { Check, ChevronDown, ChevronUp } from "lucide-react";
5
- import { forwardRef } from "react";
5
+ import { forwardRef, useId } from "react";
6
6
  import { useResolvedPortalContainer } from "./portal-container.js";
7
7
  import { cn } from "../../lib/index.js";
8
+ import { FormFieldError } from "./form-field.js";
8
9
  const Select = (props)=>/*#__PURE__*/ jsx(Root, {
9
10
  "data-slot": "select",
10
11
  ...props
@@ -22,21 +23,41 @@ const SelectValue = /*#__PURE__*/ forwardRef((props, ref)=>/*#__PURE__*/ jsx(Val
22
23
  ...props
23
24
  }));
24
25
  SelectValue.displayName = Value.displayName;
25
- const SelectTrigger = /*#__PURE__*/ forwardRef(({ className, children, ...props }, ref)=>/*#__PURE__*/ jsxs(Trigger, {
26
- ref: ref,
27
- "data-slot": "select-trigger",
28
- className: cn('flex h-9 w-full cursor-pointer items-center justify-between rounded-md border border-input bg-transparent px-3 py-1 text-base transition-colors data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm [&>span]:line-clamp-1 future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:hover:bg-surface-hover future:px-4 future:gap-4 future:font-normal aria-invalid:border-error aria-invalid:focus-visible:ring-error future:aria-invalid:ring-1 future:aria-invalid:ring-error/40', className),
29
- ...props,
26
+ const SelectTrigger = /*#__PURE__*/ forwardRef(({ 'aria-describedby': ariaDescribedBy, 'aria-errormessage': ariaErrorMessage, 'aria-invalid': ariaInvalid, className, children, error, errorId, id, ...props }, ref)=>{
27
+ const generatedId = useId();
28
+ const validationId = errorId ?? `${id ?? `select-${generatedId.replace(/:/g, '')}`}-error`;
29
+ const describedBy = [
30
+ ariaDescribedBy,
31
+ error ? validationId : void 0
32
+ ].filter(Boolean).join(' ');
33
+ return /*#__PURE__*/ jsxs(Fragment, {
30
34
  children: [
31
- children,
32
- /*#__PURE__*/ jsx(Icon, {
33
- asChild: true,
34
- children: /*#__PURE__*/ jsx(ChevronDown, {
35
- className: "h-4 w-4 opacity-50"
36
- })
35
+ /*#__PURE__*/ jsxs(Trigger, {
36
+ ref: ref,
37
+ id: id,
38
+ "data-slot": "select-trigger",
39
+ "aria-describedby": describedBy || void 0,
40
+ "aria-errormessage": error ? validationId : ariaErrorMessage,
41
+ "aria-invalid": error ? true : ariaInvalid,
42
+ className: cn('flex h-9 w-full cursor-pointer items-center justify-between rounded-md border border-input bg-transparent px-3 py-1 text-base transition-colors data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm [&>span]:line-clamp-1 future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:hover:bg-surface-hover future:px-4 future:gap-4 future:font-normal aria-invalid:border-error aria-invalid:focus-visible:ring-error future:aria-invalid:ring-1 future:aria-invalid:ring-error/40', className),
43
+ ...props,
44
+ children: [
45
+ children,
46
+ /*#__PURE__*/ jsx(Icon, {
47
+ asChild: true,
48
+ children: /*#__PURE__*/ jsx(ChevronDown, {
49
+ className: "h-4 w-4 opacity-50"
50
+ })
51
+ })
52
+ ]
53
+ }),
54
+ /*#__PURE__*/ jsx(FormFieldError, {
55
+ id: validationId,
56
+ children: error
37
57
  })
38
58
  ]
39
- }));
59
+ });
60
+ });
40
61
  SelectTrigger.displayName = Trigger.displayName;
41
62
  const SelectScrollUpButton = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ScrollUpButton, {
42
63
  ref: ref,
@@ -30,7 +30,7 @@ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
30
  const react_slider_namespaceObject = require("@radix-ui/react-slider");
31
31
  const external_react_namespaceObject = require("react");
32
32
  const index_cjs_namespaceObject = require("../../lib/index.cjs");
33
- const Slider = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, defaultValue, value, ...props }, ref)=>{
33
+ const Slider = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, defaultValue, value, 'aria-label': ariaLabel, 'aria-invalid': ariaInvalid, 'aria-describedby': ariaDescribedBy, 'aria-errormessage': ariaErrorMessage, 'aria-labelledby': ariaLabelledBy, ...props }, ref)=>{
34
34
  const thumbCount = value?.length ?? defaultValue?.length ?? 1;
35
35
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_slider_namespaceObject.Root, {
36
36
  ref: ref,
@@ -49,7 +49,12 @@ const Slider = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ classN
49
49
  Array.from({
50
50
  length: thumbCount
51
51
  }).map((_, i)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_slider_namespaceObject.Thumb, {
52
- className: "block h-5 w-5 cursor-pointer rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"
52
+ "aria-label": ariaLabel,
53
+ "aria-invalid": ariaInvalid,
54
+ "aria-describedby": ariaDescribedBy,
55
+ "aria-errormessage": ariaErrorMessage,
56
+ "aria-labelledby": ariaLabelledBy,
57
+ className: "block h-5 w-5 cursor-pointer rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-error aria-invalid:focus-visible:ring-error"
53
58
  }, i))
54
59
  ]
55
60
  });
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { Range, Root, Thumb, Track } from "@radix-ui/react-slider";
3
3
  import { forwardRef } from "react";
4
4
  import { cn } from "../../lib/index.js";
5
- const Slider = /*#__PURE__*/ forwardRef(({ className, defaultValue, value, ...props }, ref)=>{
5
+ const Slider = /*#__PURE__*/ forwardRef(({ className, defaultValue, value, 'aria-label': ariaLabel, 'aria-invalid': ariaInvalid, 'aria-describedby': ariaDescribedBy, 'aria-errormessage': ariaErrorMessage, 'aria-labelledby': ariaLabelledBy, ...props }, ref)=>{
6
6
  const thumbCount = value?.length ?? defaultValue?.length ?? 1;
7
7
  return /*#__PURE__*/ jsxs(Root, {
8
8
  ref: ref,
@@ -21,7 +21,12 @@ const Slider = /*#__PURE__*/ forwardRef(({ className, defaultValue, value, ...pr
21
21
  Array.from({
22
22
  length: thumbCount
23
23
  }).map((_, i)=>/*#__PURE__*/ jsx(Thumb, {
24
- className: "block h-5 w-5 cursor-pointer rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"
24
+ "aria-label": ariaLabel,
25
+ "aria-invalid": ariaInvalid,
26
+ "aria-describedby": ariaDescribedBy,
27
+ "aria-errormessage": ariaErrorMessage,
28
+ "aria-labelledby": ariaLabelledBy,
29
+ className: "block h-5 w-5 cursor-pointer rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-error aria-invalid:focus-visible:ring-error"
25
30
  }, i))
26
31
  ]
27
32
  });
@@ -32,7 +32,7 @@ const react_switch_namespaceObject = require("@radix-ui/react-switch");
32
32
  const external_class_variance_authority_namespaceObject = require("class-variance-authority");
33
33
  const external_react_namespaceObject = require("react");
34
34
  const index_cjs_namespaceObject = require("../../lib/index.cjs");
35
- const switchVariants = (0, external_class_variance_authority_namespaceObject.cva)('peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-border', {
35
+ const switchVariants = (0, external_class_variance_authority_namespaceObject.cva)('peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-border aria-invalid:border-error aria-invalid:focus-visible:ring-error', {
36
36
  variants: {
37
37
  size: {
38
38
  default: 'h-6 w-11',
@@ -3,7 +3,7 @@ import { Root, Thumb } from "@radix-ui/react-switch";
3
3
  import { cva } from "class-variance-authority";
4
4
  import { forwardRef } from "react";
5
5
  import { cn } from "../../lib/index.js";
6
- const switchVariants = cva('peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-border', {
6
+ const switchVariants = cva('peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-border aria-invalid:border-error aria-invalid:focus-visible:ring-error', {
7
7
  variants: {
8
8
  size: {
9
9
  default: 'h-6 w-11',
@@ -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.jsx)("textarea", {
151
- "data-slot": "textarea",
152
- 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),
153
- ref: setRef,
154
- style: style,
155
- onChange: (event)=>{
156
- onChange?.(event);
157
- resize();
158
- },
159
- ...props
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__*/ jsx("textarea", {
123
- "data-slot": "textarea",
124
- 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),
125
- ref: setRef,
126
- style: style,
127
- onChange: (event)=>{
128
- onChange?.(event);
129
- resize();
130
- },
131
- ...props
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
- Pagination: ()=>pagination_cjs_namespaceObject.Pagination,
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 { DatePicker } from './components/ui/date-picker';
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "2.52.2",
3
+ "version": "2.53.0",
4
4
  "description": "UiPath wind design system - A Tailwind CSS based React component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",