@uipath/apollo-wind 2.48.1 → 2.49.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.
@@ -50,10 +50,13 @@ const combobox_Combobox = /*#__PURE__*/ external_react_namespaceObject.forwardRe
50
50
  role: "combobox",
51
51
  "aria-expanded": open,
52
52
  "aria-label": selectedItem ? selectedItem.label : placeholder,
53
- className: (0, index_cjs_namespaceObject.cn)('w-[280px] justify-between future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:hover:bg-surface-hover future:font-normal future:text-muted-foreground future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', className),
53
+ className: (0, index_cjs_namespaceObject.cn)('w-[280px] justify-between future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:hover:bg-surface-hover future:font-normal future:text-foreground future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', className),
54
54
  disabled: disabled,
55
55
  children: [
56
- selectedItem ? selectedItem.label : placeholder,
56
+ selectedItem ? selectedItem.label : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
57
+ className: "text-foreground-muted",
58
+ children: placeholder
59
+ }),
57
60
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown, {
58
61
  className: "opacity-50"
59
62
  })
@@ -22,10 +22,13 @@ const combobox_Combobox = /*#__PURE__*/ forwardRef(function({ items, value, onVa
22
22
  role: "combobox",
23
23
  "aria-expanded": open,
24
24
  "aria-label": selectedItem ? selectedItem.label : placeholder,
25
- className: cn('w-[280px] justify-between future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:hover:bg-surface-hover future:font-normal future:text-muted-foreground future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', className),
25
+ className: cn('w-[280px] justify-between future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:hover:bg-surface-hover future:font-normal future:text-foreground future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', className),
26
26
  disabled: disabled,
27
27
  children: [
28
- selectedItem ? selectedItem.label : placeholder,
28
+ selectedItem ? selectedItem.label : /*#__PURE__*/ jsx("span", {
29
+ className: "text-foreground-muted",
30
+ children: placeholder
31
+ }),
29
32
  /*#__PURE__*/ jsx(ChevronDown, {
30
33
  className: "opacity-50"
31
34
  })
@@ -46,11 +46,12 @@ const date_picker_DatePicker = /*#__PURE__*/ external_react_namespaceObject.forw
46
46
  ref: ref,
47
47
  variant: "outline",
48
48
  "aria-label": value ? `Selected date: ${(0, external_date_fns_namespaceObject.format)(value, 'PPP')}` : placeholder,
49
- className: (0, index_cjs_namespaceObject.cn)('w-full justify-start text-left font-normal', 'future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:text-muted-foreground future:hover:bg-surface-hover future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', !value && 'text-muted-foreground', className),
49
+ className: (0, index_cjs_namespaceObject.cn)('w-full justify-start text-left font-normal [&>svg]:text-foreground-muted hover:[&>svg]:text-accent-foreground', 'future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:text-foreground future:hover:bg-surface-hover future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', className),
50
50
  disabled: disabled,
51
51
  children: [
52
52
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.CalendarIcon, {}),
53
53
  value ? (0, external_date_fns_namespaceObject.format)(value, 'PPP') : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
54
+ className: "text-foreground-muted",
54
55
  children: placeholder
55
56
  })
56
57
  ]
@@ -79,7 +80,7 @@ const date_picker_DateRangePicker = /*#__PURE__*/ external_react_namespaceObject
79
80
  ref: ref,
80
81
  variant: "outline",
81
82
  "aria-label": value?.from ? value.to ? `Selected range: ${(0, external_date_fns_namespaceObject.format)(value.from, 'LLL dd, y')} to ${(0, external_date_fns_namespaceObject.format)(value.to, 'LLL dd, y')}` : `Selected date: ${(0, external_date_fns_namespaceObject.format)(value.from, 'LLL dd, y')}` : placeholder,
82
- className: (0, index_cjs_namespaceObject.cn)('w-[300px] justify-start text-left font-normal', 'future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:text-muted-foreground future:hover:bg-surface-hover future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', !value && 'text-muted-foreground', className),
83
+ className: (0, index_cjs_namespaceObject.cn)('w-[300px] justify-start text-left font-normal [&>svg]:text-foreground-muted hover:[&>svg]:text-accent-foreground', 'future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:text-foreground future:hover:bg-surface-hover future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', className),
83
84
  disabled: disabled,
84
85
  children: [
85
86
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.CalendarIcon, {}),
@@ -90,6 +91,7 @@ const date_picker_DateRangePicker = /*#__PURE__*/ external_react_namespaceObject
90
91
  (0, external_date_fns_namespaceObject.format)(value.to, 'LLL dd, y')
91
92
  ]
92
93
  }) : (0, external_date_fns_namespaceObject.format)(value.from, 'LLL dd, y') : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
94
+ className: "text-foreground-muted",
93
95
  children: placeholder
94
96
  })
95
97
  ]
@@ -17,11 +17,12 @@ const date_picker_DatePicker = /*#__PURE__*/ forwardRef(function({ value, onValu
17
17
  ref: ref,
18
18
  variant: "outline",
19
19
  "aria-label": value ? `Selected date: ${format(value, 'PPP')}` : placeholder,
20
- className: cn('w-full justify-start text-left font-normal', 'future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:text-muted-foreground future:hover:bg-surface-hover future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', !value && 'text-muted-foreground', className),
20
+ className: cn('w-full justify-start text-left font-normal [&>svg]:text-foreground-muted hover:[&>svg]:text-accent-foreground', 'future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:text-foreground future:hover:bg-surface-hover future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', className),
21
21
  disabled: disabled,
22
22
  children: [
23
23
  /*#__PURE__*/ jsx(CalendarIcon, {}),
24
24
  value ? format(value, 'PPP') : /*#__PURE__*/ jsx("span", {
25
+ className: "text-foreground-muted",
25
26
  children: placeholder
26
27
  })
27
28
  ]
@@ -50,7 +51,7 @@ const date_picker_DateRangePicker = /*#__PURE__*/ forwardRef(function({ value, o
50
51
  ref: ref,
51
52
  variant: "outline",
52
53
  "aria-label": value?.from ? value.to ? `Selected range: ${format(value.from, 'LLL dd, y')} to ${format(value.to, 'LLL dd, y')}` : `Selected date: ${format(value.from, 'LLL dd, y')}` : placeholder,
53
- className: cn('w-[300px] justify-start text-left font-normal', 'future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:text-muted-foreground future:hover:bg-surface-hover future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', !value && 'text-muted-foreground', className),
54
+ className: cn('w-[300px] justify-start text-left font-normal [&>svg]:text-foreground-muted hover:[&>svg]:text-accent-foreground', 'future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:text-foreground future:hover:bg-surface-hover future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', className),
54
55
  disabled: disabled,
55
56
  children: [
56
57
  /*#__PURE__*/ jsx(CalendarIcon, {}),
@@ -61,6 +62,7 @@ const date_picker_DateRangePicker = /*#__PURE__*/ forwardRef(function({ value, o
61
62
  format(value.to, 'LLL dd, y')
62
63
  ]
63
64
  }) : format(value.from, 'LLL dd, y') : /*#__PURE__*/ jsx("span", {
65
+ className: "text-foreground-muted",
64
66
  children: placeholder
65
67
  })
66
68
  ]
@@ -62,7 +62,7 @@ const datetime_picker_DateTimePicker = /*#__PURE__*/ external_react_namespaceObj
62
62
  onValueChange?.(newDate);
63
63
  };
64
64
  const formatDisplayValue = ()=>{
65
- if (!selectedDate) return placeholder;
65
+ if (!selectedDate) return null;
66
66
  const datePart = (0, external_date_fns_namespaceObject.format)(selectedDate, 'PPP');
67
67
  const timePart = (0, external_date_fns_namespaceObject.format)(selectedDate, use12Hour ? 'hh:mm a' : 'HH:mm');
68
68
  return `${datePart} at ${timePart}`;
@@ -77,13 +77,16 @@ const datetime_picker_DateTimePicker = /*#__PURE__*/ external_react_namespaceObj
77
77
  children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(external_button_cjs_namespaceObject.Button, {
78
78
  ref: ref,
79
79
  variant: "outline",
80
- className: (0, index_cjs_namespaceObject.cn)('w-full justify-start text-left font-normal', 'future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:text-muted-foreground future:hover:bg-surface-hover future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', !selectedDate && 'text-muted-foreground', className),
80
+ className: (0, index_cjs_namespaceObject.cn)('w-full justify-start text-left font-normal [&>svg]:text-foreground-muted hover:[&>svg]:text-accent-foreground', 'future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:text-foreground future:hover:bg-surface-hover future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', className),
81
81
  disabled: disabled,
82
82
  children: [
83
83
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.CalendarIcon, {
84
84
  className: "mr-2 h-4 w-4"
85
85
  }),
86
- formatDisplayValue()
86
+ selectedDate ? formatDisplayValue() : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
87
+ className: "text-foreground-muted",
88
+ children: placeholder
89
+ })
87
90
  ]
88
91
  })
89
92
  }),
@@ -34,7 +34,7 @@ const datetime_picker_DateTimePicker = /*#__PURE__*/ forwardRef(function({ value
34
34
  onValueChange?.(newDate);
35
35
  };
36
36
  const formatDisplayValue = ()=>{
37
- if (!selectedDate) return placeholder;
37
+ if (!selectedDate) return null;
38
38
  const datePart = format(selectedDate, 'PPP');
39
39
  const timePart = format(selectedDate, use12Hour ? 'hh:mm a' : 'HH:mm');
40
40
  return `${datePart} at ${timePart}`;
@@ -49,13 +49,16 @@ const datetime_picker_DateTimePicker = /*#__PURE__*/ forwardRef(function({ value
49
49
  children: /*#__PURE__*/ jsxs(Button, {
50
50
  ref: ref,
51
51
  variant: "outline",
52
- className: cn('w-full justify-start text-left font-normal', 'future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:text-muted-foreground future:hover:bg-surface-hover future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', !selectedDate && 'text-muted-foreground', className),
52
+ className: cn('w-full justify-start text-left font-normal [&>svg]:text-foreground-muted hover:[&>svg]:text-accent-foreground', 'future:h-10 future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:text-foreground future:hover:bg-surface-hover future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', className),
53
53
  disabled: disabled,
54
54
  children: [
55
55
  /*#__PURE__*/ jsx(CalendarIcon, {
56
56
  className: "mr-2 h-4 w-4"
57
57
  }),
58
- formatDisplayValue()
58
+ selectedDate ? formatDisplayValue() : /*#__PURE__*/ jsx("span", {
59
+ className: "text-foreground-muted",
60
+ children: placeholder
61
+ })
59
62
  ]
60
63
  })
61
64
  }),
@@ -30,7 +30,7 @@ var __webpack_modules__ = {
30
30
  "@/components/ui/calendar" (module) {
31
31
  module.exports = require("./calendar.cjs");
32
32
  },
33
- "./card" (module) {
33
+ "@/components/ui/card" (module) {
34
34
  module.exports = require("./card.cjs");
35
35
  },
36
36
  "./chart" (module) {
@@ -69,7 +69,7 @@ var __webpack_modules__ = {
69
69
  "@/components/ui/dropdown-menu" (module) {
70
70
  module.exports = require("./dropdown-menu.cjs");
71
71
  },
72
- "./editable-cell" (module) {
72
+ "@/components/ui/editable-cell" (module) {
73
73
  module.exports = require("./editable-cell.cjs");
74
74
  },
75
75
  "./empty-state" (module) {
@@ -171,7 +171,7 @@ var __webpack_modules__ = {
171
171
  "./toggle-group" (module) {
172
172
  module.exports = require("./toggle-group.cjs");
173
173
  },
174
- "./toggle" (module) {
174
+ "@/components/ui/toggle" (module) {
175
175
  module.exports = require("./toggle.cjs");
176
176
  },
177
177
  "./tooltip" (module) {
@@ -300,7 +300,7 @@ var __webpack_exports__ = {};
300
300
  "default"
301
301
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_calendar__rspack_import_9[__rspack_import_key];
302
302
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
303
- var _card__rspack_import_10 = __webpack_require__("./card");
303
+ var _card__rspack_import_10 = __webpack_require__("@/components/ui/card");
304
304
  var __rspack_reexport = {};
305
305
  for(const __rspack_import_key in _card__rspack_import_10)if ([
306
306
  "TreeView",
@@ -391,7 +391,7 @@ var __webpack_exports__ = {};
391
391
  "default"
392
392
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dropdown_menu__rspack_import_22[__rspack_import_key];
393
393
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
394
- var _editable_cell__rspack_import_23 = __webpack_require__("./editable-cell");
394
+ var _editable_cell__rspack_import_23 = __webpack_require__("@/components/ui/editable-cell");
395
395
  var __rspack_reexport = {};
396
396
  for(const __rspack_import_key in _editable_cell__rspack_import_23)if ([
397
397
  "TreeView",
@@ -622,7 +622,7 @@ var __webpack_exports__ = {};
622
622
  "default"
623
623
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_textarea__rspack_import_55[__rspack_import_key];
624
624
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
625
- var _toggle__rspack_import_56 = __webpack_require__("./toggle");
625
+ var _toggle__rspack_import_56 = __webpack_require__("@/components/ui/toggle");
626
626
  var __rspack_reexport = {};
627
627
  for(const __rspack_import_key in _toggle__rspack_import_56)if ([
628
628
  "TreeView",
@@ -75,13 +75,13 @@ const MultiSelect = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ i
75
75
  "aria-describedby": ariaDescribedBy,
76
76
  "aria-errormessage": ariaErrorMessage,
77
77
  "aria-label": id ? void 0 : selected.length > 0 ? `${selected.length} ${1 === selected.length ? 'item' : 'items'} selected` : placeholder,
78
- className: (0, index_cjs_namespaceObject.cn)('w-full justify-between future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:hover:bg-surface-hover future:font-normal future:text-muted-foreground future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', selected.length > 0 ? 'h-auto min-h-10' : 'h-10'),
78
+ className: (0, index_cjs_namespaceObject.cn)('w-full justify-between future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:hover:bg-surface-hover future:font-normal future:text-foreground future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', selected.length > 0 ? 'h-auto min-h-10' : 'h-10'),
79
79
  disabled: disabled,
80
80
  children: [
81
81
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
82
82
  className: "flex flex-wrap gap-1 flex-1",
83
83
  children: 0 === selected.length ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
84
- className: "text-muted-foreground future:text-foreground-muted",
84
+ className: "text-foreground-muted",
85
85
  children: placeholder
86
86
  }) : selected.map((value)=>{
87
87
  const option = options.find((opt)=>opt.value === value);
@@ -47,13 +47,13 @@ const MultiSelect = /*#__PURE__*/ forwardRef(({ id, options, selected, onChange,
47
47
  "aria-describedby": ariaDescribedBy,
48
48
  "aria-errormessage": ariaErrorMessage,
49
49
  "aria-label": id ? void 0 : selected.length > 0 ? `${selected.length} ${1 === selected.length ? 'item' : 'items'} selected` : placeholder,
50
- className: cn('w-full justify-between future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:hover:bg-surface-hover future:font-normal future:text-muted-foreground future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', selected.length > 0 ? 'h-auto min-h-10' : 'h-10'),
50
+ className: cn('w-full justify-between future:rounded-xl future:border-0 future:bg-surface-overlay future:px-4 future:gap-4 future:hover:bg-surface-hover future:font-normal future:text-foreground future:focus-visible:ring-offset-2 future:focus-visible:ring-offset-background', selected.length > 0 ? 'h-auto min-h-10' : 'h-10'),
51
51
  disabled: disabled,
52
52
  children: [
53
53
  /*#__PURE__*/ jsx("div", {
54
54
  className: "flex flex-wrap gap-1 flex-1",
55
55
  children: 0 === selected.length ? /*#__PURE__*/ jsx("span", {
56
- className: "text-muted-foreground future:text-foreground-muted",
56
+ className: "text-foreground-muted",
57
57
  children: placeholder
58
58
  }) : selected.map((value)=>{
59
59
  const option = options.find((opt)=>opt.value === value);
@@ -62,7 +62,7 @@ SelectValue.displayName = react_select_namespaceObject.Value.displayName;
62
62
  const SelectTrigger = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, children, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_select_namespaceObject.Trigger, {
63
63
  ref: ref,
64
64
  "data-slot": "select-trigger",
65
- className: (0, index_cjs_namespaceObject.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 future:text-muted-foreground', className),
65
+ className: (0, index_cjs_namespaceObject.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', className),
66
66
  ...props,
67
67
  children: [
68
68
  children,
@@ -25,7 +25,7 @@ SelectValue.displayName = Value.displayName;
25
25
  const SelectTrigger = /*#__PURE__*/ forwardRef(({ className, children, ...props }, ref)=>/*#__PURE__*/ jsxs(Trigger, {
26
26
  ref: ref,
27
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 future:text-muted-foreground', className),
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', className),
29
29
  ...props,
30
30
  children: [
31
31
  children,
package/dist/styles.css CHANGED
@@ -7083,6 +7083,15 @@
7083
7083
  color: var(--warning);
7084
7084
  }
7085
7085
  }
7086
+ .hover\:\[\&\>svg\]\:text-accent-foreground {
7087
+ &:hover {
7088
+ @media (hover: hover) {
7089
+ &>svg {
7090
+ color: var(--accent-foreground);
7091
+ }
7092
+ }
7093
+ }
7094
+ }
7086
7095
  .\[\&\>svg\:not\(\[class\*\=\"size-\"\]\)\]\:size-4 {
7087
7096
  &>svg:not([class*="size-"]) {
7088
7097
  width: calc(var(--spacing) * 4);
@@ -9927,6 +9936,31 @@ html[dir='rtl'], [data-sonner-toaster][dir='rtl'] {
9927
9936
  opacity: 1;
9928
9937
  }
9929
9938
  }
9939
+ @keyframes apollo-slide-in-from-right {
9940
+ from {
9941
+ opacity: 0;
9942
+ transform: translateX(1.25rem);
9943
+ }
9944
+ to {
9945
+ opacity: 1;
9946
+ transform: translateX(0);
9947
+ }
9948
+ }
9949
+ @keyframes apollo-slide-in-from-left {
9950
+ from {
9951
+ opacity: 0;
9952
+ transform: translateX(-1.25rem);
9953
+ }
9954
+ to {
9955
+ opacity: 1;
9956
+ transform: translateX(0);
9957
+ }
9958
+ }
9959
+ @media (prefers-reduced-motion: reduce) {
9960
+ .animate-slide-in-from-right, .animate-slide-in-from-left {
9961
+ animation: apollo-fade-in 150ms ease-out;
9962
+ }
9963
+ }
9930
9964
  :root {
9931
9965
  --radius: 0.75rem;
9932
9966
  }
@@ -61,3 +61,41 @@
61
61
  @utility animate-fade-in {
62
62
  animation: apollo-fade-in 250ms ease-out;
63
63
  }
64
+
65
+ /* ============================================================================
66
+ * Directional slide-in — drill-in / drill-out transitions
67
+ *
68
+ * `animate-slide-in-from-right` and `animate-slide-in-from-left` fade an
69
+ * element in while it travels 20px to its resting position. Intended for
70
+ * hierarchical panels where forward navigation enters from the right and
71
+ * going back enters from the left (canvas Toolbox, nested pickers).
72
+ *
73
+ * Two keyframes rather than one parameterized by a custom property: the
74
+ * offset is the only difference, and inlining it keeps `var()` out of the
75
+ * keyframe bodies (see the lightningcss note on `animate-glow`).
76
+ * ============================================================================ */
77
+
78
+ @keyframes apollo-slide-in-from-right {
79
+ from { opacity: 0; transform: translateX(1.25rem); }
80
+ to { opacity: 1; transform: translateX(0); }
81
+ }
82
+
83
+ @keyframes apollo-slide-in-from-left {
84
+ from { opacity: 0; transform: translateX(-1.25rem); }
85
+ to { opacity: 1; transform: translateX(0); }
86
+ }
87
+
88
+ @utility animate-slide-in-from-right {
89
+ animation: apollo-slide-in-from-right 150ms ease-out;
90
+ }
91
+
92
+ @utility animate-slide-in-from-left {
93
+ animation: apollo-slide-in-from-left 150ms ease-out;
94
+ }
95
+
96
+ @media (prefers-reduced-motion: reduce) {
97
+ .animate-slide-in-from-right,
98
+ .animate-slide-in-from-left {
99
+ animation: apollo-fade-in 150ms ease-out;
100
+ }
101
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "2.48.1",
3
+ "version": "2.49.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",