@uipath/apollo-wind 2.48.1 → 2.50.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/ui/combobox.cjs +5 -2
- package/dist/components/ui/combobox.js +5 -2
- package/dist/components/ui/date-picker.cjs +4 -2
- package/dist/components/ui/date-picker.js +4 -2
- package/dist/components/ui/datetime-picker.cjs +6 -3
- package/dist/components/ui/datetime-picker.js +6 -3
- package/dist/components/ui/index.cjs +16 -16
- package/dist/components/ui/multi-select.cjs +2 -2
- package/dist/components/ui/multi-select.js +2 -2
- package/dist/components/ui/prompt-editor/components/EditorToolbar.cjs +21 -56
- package/dist/components/ui/prompt-editor/components/EditorToolbar.d.ts +2 -4
- package/dist/components/ui/prompt-editor/components/EditorToolbar.js +21 -56
- package/dist/components/ui/prompt-editor/prompt-editor-config.cjs +0 -1
- package/dist/components/ui/prompt-editor/prompt-editor-config.d.ts +0 -1
- package/dist/components/ui/prompt-editor/prompt-editor-config.js +0 -1
- package/dist/components/ui/select.cjs +1 -1
- package/dist/components/ui/select.js +1 -1
- package/dist/styles.css +34 -0
- package/dist/tailwind.utilities.css +38 -0
- package/package.json +1 -1
|
@@ -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-
|
|
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 :
|
|
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-
|
|
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 :
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
|
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-
|
|
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
|
|
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-
|
|
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
|
-
"
|
|
33
|
+
"@/components/ui/card" (module) {
|
|
34
34
|
module.exports = require("./card.cjs");
|
|
35
35
|
},
|
|
36
36
|
"./chart" (module) {
|
|
@@ -39,7 +39,7 @@ var __webpack_modules__ = {
|
|
|
39
39
|
"@/components/ui/checkbox" (module) {
|
|
40
40
|
module.exports = require("./checkbox.cjs");
|
|
41
41
|
},
|
|
42
|
-
"
|
|
42
|
+
"./collapsible" (module) {
|
|
43
43
|
module.exports = require("./collapsible.cjs");
|
|
44
44
|
},
|
|
45
45
|
"./combobox" (module) {
|
|
@@ -48,7 +48,7 @@ var __webpack_modules__ = {
|
|
|
48
48
|
"@/components/ui/command" (module) {
|
|
49
49
|
module.exports = require("./command.cjs");
|
|
50
50
|
},
|
|
51
|
-
"
|
|
51
|
+
"./context-menu" (module) {
|
|
52
52
|
module.exports = require("./context-menu.cjs");
|
|
53
53
|
},
|
|
54
54
|
"./data-table" (module) {
|
|
@@ -60,16 +60,16 @@ var __webpack_modules__ = {
|
|
|
60
60
|
"./datetime-picker" (module) {
|
|
61
61
|
module.exports = require("./datetime-picker.cjs");
|
|
62
62
|
},
|
|
63
|
-
"
|
|
63
|
+
"@/components/ui/dialog" (module) {
|
|
64
64
|
module.exports = require("./dialog.cjs");
|
|
65
65
|
},
|
|
66
66
|
"./drawer" (module) {
|
|
67
67
|
module.exports = require("./drawer.cjs");
|
|
68
68
|
},
|
|
69
|
-
"
|
|
69
|
+
"./dropdown-menu" (module) {
|
|
70
70
|
module.exports = require("./dropdown-menu.cjs");
|
|
71
71
|
},
|
|
72
|
-
"
|
|
72
|
+
"@/components/ui/editable-cell" (module) {
|
|
73
73
|
module.exports = require("./editable-cell.cjs");
|
|
74
74
|
},
|
|
75
75
|
"./empty-state" (module) {
|
|
@@ -81,7 +81,7 @@ var __webpack_modules__ = {
|
|
|
81
81
|
"./form-field" (module) {
|
|
82
82
|
module.exports = require("./form-field.cjs");
|
|
83
83
|
},
|
|
84
|
-
"
|
|
84
|
+
"./hover-card" (module) {
|
|
85
85
|
module.exports = require("./hover-card.cjs");
|
|
86
86
|
},
|
|
87
87
|
"@/components/ui/input-group" (module) {
|
|
@@ -90,7 +90,7 @@ var __webpack_modules__ = {
|
|
|
90
90
|
"@/components/ui/input" (module) {
|
|
91
91
|
module.exports = require("./input.cjs");
|
|
92
92
|
},
|
|
93
|
-
"
|
|
93
|
+
"@/components/ui/label" (module) {
|
|
94
94
|
module.exports = require("./label.cjs");
|
|
95
95
|
},
|
|
96
96
|
"./layout" (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__("
|
|
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",
|
|
@@ -321,7 +321,7 @@ var __webpack_exports__ = {};
|
|
|
321
321
|
"default"
|
|
322
322
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_checkbox__rspack_import_12[__rspack_import_key];
|
|
323
323
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
324
|
-
var _collapsible__rspack_import_13 = __webpack_require__("
|
|
324
|
+
var _collapsible__rspack_import_13 = __webpack_require__("./collapsible");
|
|
325
325
|
var __rspack_reexport = {};
|
|
326
326
|
for(const __rspack_import_key in _collapsible__rspack_import_13)if ([
|
|
327
327
|
"TreeView",
|
|
@@ -342,7 +342,7 @@ var __webpack_exports__ = {};
|
|
|
342
342
|
"default"
|
|
343
343
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_command__rspack_import_15[__rspack_import_key];
|
|
344
344
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
345
|
-
var _context_menu__rspack_import_16 = __webpack_require__("
|
|
345
|
+
var _context_menu__rspack_import_16 = __webpack_require__("./context-menu");
|
|
346
346
|
var __rspack_reexport = {};
|
|
347
347
|
for(const __rspack_import_key in _context_menu__rspack_import_16)if ([
|
|
348
348
|
"TreeView",
|
|
@@ -370,7 +370,7 @@ var __webpack_exports__ = {};
|
|
|
370
370
|
"default"
|
|
371
371
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_datetime_picker__rspack_import_19[__rspack_import_key];
|
|
372
372
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
373
|
-
var _dialog__rspack_import_20 = __webpack_require__("
|
|
373
|
+
var _dialog__rspack_import_20 = __webpack_require__("@/components/ui/dialog");
|
|
374
374
|
var __rspack_reexport = {};
|
|
375
375
|
for(const __rspack_import_key in _dialog__rspack_import_20)if ([
|
|
376
376
|
"TreeView",
|
|
@@ -384,14 +384,14 @@ var __webpack_exports__ = {};
|
|
|
384
384
|
"default"
|
|
385
385
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_drawer__rspack_import_21[__rspack_import_key];
|
|
386
386
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
387
|
-
var _dropdown_menu__rspack_import_22 = __webpack_require__("
|
|
387
|
+
var _dropdown_menu__rspack_import_22 = __webpack_require__("./dropdown-menu");
|
|
388
388
|
var __rspack_reexport = {};
|
|
389
389
|
for(const __rspack_import_key in _dropdown_menu__rspack_import_22)if ([
|
|
390
390
|
"TreeView",
|
|
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__("
|
|
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",
|
|
@@ -419,7 +419,7 @@ var __webpack_exports__ = {};
|
|
|
419
419
|
"default"
|
|
420
420
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_file_upload__rspack_import_26[__rspack_import_key];
|
|
421
421
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
422
|
-
var _hover_card__rspack_import_27 = __webpack_require__("
|
|
422
|
+
var _hover_card__rspack_import_27 = __webpack_require__("./hover-card");
|
|
423
423
|
var __rspack_reexport = {};
|
|
424
424
|
for(const __rspack_import_key in _hover_card__rspack_import_27)if ([
|
|
425
425
|
"TreeView",
|
|
@@ -440,7 +440,7 @@ var __webpack_exports__ = {};
|
|
|
440
440
|
"default"
|
|
441
441
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_input_group__rspack_import_29[__rspack_import_key];
|
|
442
442
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
443
|
-
var _label__rspack_import_30 = __webpack_require__("
|
|
443
|
+
var _label__rspack_import_30 = __webpack_require__("@/components/ui/label");
|
|
444
444
|
var __rspack_reexport = {};
|
|
445
445
|
for(const __rspack_import_key in _label__rspack_import_30)if ([
|
|
446
446
|
"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-
|
|
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-
|
|
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-
|
|
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-
|
|
56
|
+
className: "text-foreground-muted",
|
|
57
57
|
children: placeholder
|
|
58
58
|
}) : selected.map((value)=>{
|
|
59
59
|
const option = options.find((opt)=>opt.value === value);
|
|
@@ -105,17 +105,6 @@ const EditorToolbar = ({ mode, onModeChange, disabled, error, actionsRef, onFull
|
|
|
105
105
|
label: strings.bulletedList,
|
|
106
106
|
disabled: disabled || !isEditMode,
|
|
107
107
|
onClick: handleFormat('formatBulletedList')
|
|
108
|
-
}),
|
|
109
|
-
onFullscreen && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
|
|
110
|
-
children: [
|
|
111
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ToolbarSeparator, {}),
|
|
112
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ToolbarButton, {
|
|
113
|
-
icon: external_lucide_react_namespaceObject.Maximize2,
|
|
114
|
-
label: strings.expand,
|
|
115
|
-
disabled: disabled,
|
|
116
|
-
onClick: onFullscreen
|
|
117
|
-
})
|
|
118
|
-
]
|
|
119
108
|
})
|
|
120
109
|
]
|
|
121
110
|
});
|
|
@@ -128,57 +117,33 @@ const EditorToolbar = ({ mode, onModeChange, disabled, error, actionsRef, onFull
|
|
|
128
117
|
"data-testid": "editor-toolbar-separator",
|
|
129
118
|
className: "pointer-events-none absolute bottom-0 left-0 h-px w-full bg-border/40"
|
|
130
119
|
}),
|
|
131
|
-
|
|
120
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
121
|
+
className: "flex items-center gap-0.5 overflow-hidden",
|
|
122
|
+
children: formattingCluster
|
|
123
|
+
}),
|
|
124
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
125
|
+
className: "flex shrink-0 items-center gap-0.5",
|
|
132
126
|
children: [
|
|
133
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
|
|
140
|
-
type: "button",
|
|
141
|
-
"aria-pressed": 'edit' === mode,
|
|
142
|
-
className: (0, index_cjs_namespaceObject.cn)('cursor-pointer rounded px-2 py-0.5 text-[11px] font-semibold transition-colors', 'edit' === mode ? 'bg-primary/20 text-primary' : 'text-foreground hover:bg-accent'),
|
|
143
|
-
disabled: disabled,
|
|
144
|
-
onClick: ()=>onModeChange('edit'),
|
|
145
|
-
children: strings.edit
|
|
146
|
-
}),
|
|
147
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
|
|
148
|
-
type: "button",
|
|
149
|
-
"aria-pressed": 'preview' === mode,
|
|
150
|
-
className: (0, index_cjs_namespaceObject.cn)('cursor-pointer rounded px-2 py-0.5 text-[11px] font-semibold transition-colors', 'preview' === mode ? 'bg-primary/20 text-primary' : 'text-foreground hover:bg-accent'),
|
|
151
|
-
disabled: disabled,
|
|
152
|
-
onClick: ()=>onModeChange('preview'),
|
|
153
|
-
children: strings.preview
|
|
154
|
-
})
|
|
155
|
-
]
|
|
156
|
-
})
|
|
127
|
+
showModeToggle && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
|
|
128
|
+
type: "button",
|
|
129
|
+
className: (0, index_cjs_namespaceObject.cn)('cursor-pointer rounded px-2 py-0.5 text-[11px] font-semibold text-foreground transition-colors', 'hover:bg-accent disabled:pointer-events-none disabled:opacity-50'),
|
|
130
|
+
disabled: disabled,
|
|
131
|
+
onClick: ()=>onModeChange('edit' === mode ? 'preview' : 'edit'),
|
|
132
|
+
children: 'edit' === mode ? strings.preview : strings.edit
|
|
157
133
|
}),
|
|
158
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.
|
|
159
|
-
|
|
134
|
+
onFullscreen && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ToolbarButton, {
|
|
135
|
+
icon: external_lucide_react_namespaceObject.Maximize2,
|
|
136
|
+
label: strings.expand,
|
|
137
|
+
disabled: disabled,
|
|
138
|
+
onClick: onFullscreen
|
|
139
|
+
}),
|
|
140
|
+
trailing && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
|
|
160
141
|
children: [
|
|
161
|
-
|
|
162
|
-
trailing
|
|
163
|
-
children: [
|
|
164
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ToolbarSeparator, {}),
|
|
165
|
-
trailing
|
|
166
|
-
]
|
|
167
|
-
})
|
|
142
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ToolbarSeparator, {}),
|
|
143
|
+
trailing
|
|
168
144
|
]
|
|
169
145
|
})
|
|
170
146
|
]
|
|
171
|
-
}) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
|
|
172
|
-
children: [
|
|
173
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
174
|
-
className: "flex items-center gap-0.5 overflow-hidden",
|
|
175
|
-
children: formattingCluster
|
|
176
|
-
}),
|
|
177
|
-
trailing && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
178
|
-
className: "flex items-center gap-0.5 shrink-0",
|
|
179
|
-
children: trailing
|
|
180
|
-
})
|
|
181
|
-
]
|
|
182
147
|
})
|
|
183
148
|
]
|
|
184
149
|
});
|
|
@@ -8,10 +8,8 @@ export interface EditorToolbarProps {
|
|
|
8
8
|
actionsRef?: React.RefObject<PromptEditorToolbarActionsRef | null>;
|
|
9
9
|
onFullscreen?: () => void;
|
|
10
10
|
/**
|
|
11
|
-
* Whether the Edit/Preview
|
|
12
|
-
*
|
|
13
|
-
* `trailing` right-aligns — the layout used by value-mode fields whose mode menu lives in
|
|
14
|
-
* `trailing`. Defaults to true.
|
|
11
|
+
* Whether the Edit/Preview toggle renders. When hidden there is no preview mode to guard, so the
|
|
12
|
+
* formatting buttons follow `disabled` alone. Defaults to true.
|
|
15
13
|
*/
|
|
16
14
|
showModeToggle?: boolean;
|
|
17
15
|
/** Consumer-supplied node rendered at the toolbar's right end (e.g. a value-mode menu). */
|
|
@@ -77,17 +77,6 @@ const EditorToolbar = ({ mode, onModeChange, disabled, error, actionsRef, onFull
|
|
|
77
77
|
label: strings.bulletedList,
|
|
78
78
|
disabled: disabled || !isEditMode,
|
|
79
79
|
onClick: handleFormat('formatBulletedList')
|
|
80
|
-
}),
|
|
81
|
-
onFullscreen && /*#__PURE__*/ jsxs(Fragment, {
|
|
82
|
-
children: [
|
|
83
|
-
/*#__PURE__*/ jsx(ToolbarSeparator, {}),
|
|
84
|
-
/*#__PURE__*/ jsx(ToolbarButton, {
|
|
85
|
-
icon: Maximize2,
|
|
86
|
-
label: strings.expand,
|
|
87
|
-
disabled: disabled,
|
|
88
|
-
onClick: onFullscreen
|
|
89
|
-
})
|
|
90
|
-
]
|
|
91
80
|
})
|
|
92
81
|
]
|
|
93
82
|
});
|
|
@@ -100,57 +89,33 @@ const EditorToolbar = ({ mode, onModeChange, disabled, error, actionsRef, onFull
|
|
|
100
89
|
"data-testid": "editor-toolbar-separator",
|
|
101
90
|
className: "pointer-events-none absolute bottom-0 left-0 h-px w-full bg-border/40"
|
|
102
91
|
}),
|
|
103
|
-
|
|
92
|
+
/*#__PURE__*/ jsx("div", {
|
|
93
|
+
className: "flex items-center gap-0.5 overflow-hidden",
|
|
94
|
+
children: formattingCluster
|
|
95
|
+
}),
|
|
96
|
+
/*#__PURE__*/ jsxs("div", {
|
|
97
|
+
className: "flex shrink-0 items-center gap-0.5",
|
|
104
98
|
children: [
|
|
105
|
-
/*#__PURE__*/ jsx("
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
/*#__PURE__*/ jsx("button", {
|
|
112
|
-
type: "button",
|
|
113
|
-
"aria-pressed": 'edit' === mode,
|
|
114
|
-
className: cn('cursor-pointer rounded px-2 py-0.5 text-[11px] font-semibold transition-colors', 'edit' === mode ? 'bg-primary/20 text-primary' : 'text-foreground hover:bg-accent'),
|
|
115
|
-
disabled: disabled,
|
|
116
|
-
onClick: ()=>onModeChange('edit'),
|
|
117
|
-
children: strings.edit
|
|
118
|
-
}),
|
|
119
|
-
/*#__PURE__*/ jsx("button", {
|
|
120
|
-
type: "button",
|
|
121
|
-
"aria-pressed": 'preview' === mode,
|
|
122
|
-
className: cn('cursor-pointer rounded px-2 py-0.5 text-[11px] font-semibold transition-colors', 'preview' === mode ? 'bg-primary/20 text-primary' : 'text-foreground hover:bg-accent'),
|
|
123
|
-
disabled: disabled,
|
|
124
|
-
onClick: ()=>onModeChange('preview'),
|
|
125
|
-
children: strings.preview
|
|
126
|
-
})
|
|
127
|
-
]
|
|
128
|
-
})
|
|
99
|
+
showModeToggle && /*#__PURE__*/ jsx("button", {
|
|
100
|
+
type: "button",
|
|
101
|
+
className: cn('cursor-pointer rounded px-2 py-0.5 text-[11px] font-semibold text-foreground transition-colors', 'hover:bg-accent disabled:pointer-events-none disabled:opacity-50'),
|
|
102
|
+
disabled: disabled,
|
|
103
|
+
onClick: ()=>onModeChange('edit' === mode ? 'preview' : 'edit'),
|
|
104
|
+
children: 'edit' === mode ? strings.preview : strings.edit
|
|
129
105
|
}),
|
|
130
|
-
/*#__PURE__*/
|
|
131
|
-
|
|
106
|
+
onFullscreen && /*#__PURE__*/ jsx(ToolbarButton, {
|
|
107
|
+
icon: Maximize2,
|
|
108
|
+
label: strings.expand,
|
|
109
|
+
disabled: disabled,
|
|
110
|
+
onClick: onFullscreen
|
|
111
|
+
}),
|
|
112
|
+
trailing && /*#__PURE__*/ jsxs(Fragment, {
|
|
132
113
|
children: [
|
|
133
|
-
|
|
134
|
-
trailing
|
|
135
|
-
children: [
|
|
136
|
-
/*#__PURE__*/ jsx(ToolbarSeparator, {}),
|
|
137
|
-
trailing
|
|
138
|
-
]
|
|
139
|
-
})
|
|
114
|
+
/*#__PURE__*/ jsx(ToolbarSeparator, {}),
|
|
115
|
+
trailing
|
|
140
116
|
]
|
|
141
117
|
})
|
|
142
118
|
]
|
|
143
|
-
}) : /*#__PURE__*/ jsxs(Fragment, {
|
|
144
|
-
children: [
|
|
145
|
-
/*#__PURE__*/ jsx("div", {
|
|
146
|
-
className: "flex items-center gap-0.5 overflow-hidden",
|
|
147
|
-
children: formattingCluster
|
|
148
|
-
}),
|
|
149
|
-
trailing && /*#__PURE__*/ jsx("div", {
|
|
150
|
-
className: "flex items-center gap-0.5 shrink-0",
|
|
151
|
-
children: trailing
|
|
152
|
-
})
|
|
153
|
-
]
|
|
154
119
|
})
|
|
155
120
|
]
|
|
156
121
|
});
|
|
@@ -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
|
|
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
|
|
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
|
+
}
|