@uipath/apollo-wind 2.80.0 → 2.80.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/field-addons/field-addon-button.cjs +36 -0
- package/dist/components/ui/field-addons/field-addon-button.d.ts +6 -0
- package/dist/components/ui/field-addons/field-addon-button.js +2 -0
- package/dist/components/ui/field-addons/field-menu.cjs +4 -5
- package/dist/components/ui/field-addons/field-menu.js +4 -5
- package/dist/components/ui/index.cjs +12 -12
- package/dist/components/ui/quick-form-field/components/lock-toggle-button.cjs +2 -1
- package/dist/components/ui/quick-form-field/components/lock-toggle-button.js +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
FIELD_ADDON_BUTTON_CLASS: ()=>FIELD_ADDON_BUTTON_CLASS
|
|
28
|
+
});
|
|
29
|
+
const FIELD_ADDON_BUTTON_CLASS = 'size-6 shrink-0 rounded-md p-0 text-muted-foreground hover:bg-accent hover:text-foreground';
|
|
30
|
+
exports.FIELD_ADDON_BUTTON_CLASS = __webpack_exports__.FIELD_ADDON_BUTTON_CLASS;
|
|
31
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
32
|
+
"FIELD_ADDON_BUTTON_CLASS"
|
|
33
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
34
|
+
Object.defineProperty(exports, '__esModule', {
|
|
35
|
+
value: true
|
|
36
|
+
});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The square icon button an `InputGroupAddon` expects, on a 3xs InputGroupButton. Shared by
|
|
3
|
+
* FieldMenu's trigger and QuickFormField's lock toggle so both addon slots match, and not
|
|
4
|
+
* exported from the package.
|
|
5
|
+
*/
|
|
6
|
+
export declare const FIELD_ADDON_BUTTON_CLASS = "size-6 shrink-0 rounded-md p-0 text-muted-foreground hover:bg-accent hover:text-foreground";
|
|
@@ -29,10 +29,11 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29
29
|
});
|
|
30
30
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
31
31
|
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
32
|
-
const external_button_cjs_namespaceObject = require("../button.cjs");
|
|
33
32
|
const external_dropdown_menu_cjs_namespaceObject = require("../dropdown-menu.cjs");
|
|
33
|
+
const external_input_group_cjs_namespaceObject = require("../input-group.cjs");
|
|
34
34
|
const index_cjs_namespaceObject = require("../../../lib/index.cjs");
|
|
35
35
|
const external_built_in_value_modes_cjs_namespaceObject = require("./built-in-value-modes.cjs");
|
|
36
|
+
const external_field_addon_button_cjs_namespaceObject = require("./field-addon-button.cjs");
|
|
36
37
|
const external_value_mode_strings_cjs_namespaceObject = require("./value-mode-strings.cjs");
|
|
37
38
|
const DEFAULT_MODES = [
|
|
38
39
|
'literal',
|
|
@@ -90,13 +91,11 @@ function FieldMenu({ mode, onSelect, modes, extraModes, actions, checked, modesD
|
|
|
90
91
|
children: [
|
|
91
92
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_dropdown_menu_cjs_namespaceObject.DropdownMenuTrigger, {
|
|
92
93
|
asChild: true,
|
|
93
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
94
|
-
type: "button",
|
|
95
|
-
variant: "ghost",
|
|
94
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_input_group_cjs_namespaceObject.InputGroupButton, {
|
|
96
95
|
size: "3xs",
|
|
97
96
|
disabled: disabled,
|
|
98
97
|
"aria-label": triggerLabel,
|
|
99
|
-
className:
|
|
98
|
+
className: external_field_addon_button_cjs_namespaceObject.FIELD_ADDON_BUTTON_CLASS,
|
|
100
99
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(TriggerIcon, {})
|
|
101
100
|
})
|
|
102
101
|
}),
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { MoreHorizontal, Type } from "lucide-react";
|
|
3
|
-
import { Button } from "../button.js";
|
|
4
3
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger } from "../dropdown-menu.js";
|
|
4
|
+
import { InputGroupButton } from "../input-group.js";
|
|
5
5
|
import { cn } from "../../../lib/index.js";
|
|
6
6
|
import { builtInValueModes, isBuiltInValueMode } from "./built-in-value-modes.js";
|
|
7
|
+
import { FIELD_ADDON_BUTTON_CLASS } from "./field-addon-button.js";
|
|
7
8
|
import { DEFAULT_VALUE_MODE_STRINGS } from "./value-mode-strings.js";
|
|
8
9
|
const DEFAULT_MODES = [
|
|
9
10
|
'literal',
|
|
@@ -61,13 +62,11 @@ function FieldMenu({ mode, onSelect, modes, extraModes, actions, checked, modesD
|
|
|
61
62
|
children: [
|
|
62
63
|
/*#__PURE__*/ jsx(DropdownMenuTrigger, {
|
|
63
64
|
asChild: true,
|
|
64
|
-
children: /*#__PURE__*/ jsx(
|
|
65
|
-
type: "button",
|
|
66
|
-
variant: "ghost",
|
|
65
|
+
children: /*#__PURE__*/ jsx(InputGroupButton, {
|
|
67
66
|
size: "3xs",
|
|
68
67
|
disabled: disabled,
|
|
69
68
|
"aria-label": triggerLabel,
|
|
70
|
-
className:
|
|
69
|
+
className: FIELD_ADDON_BUTTON_CLASS,
|
|
71
70
|
children: /*#__PURE__*/ jsx(TriggerIcon, {})
|
|
72
71
|
})
|
|
73
72
|
}),
|
|
@@ -18,7 +18,7 @@ var __webpack_modules__ = {
|
|
|
18
18
|
"./avatar" (module) {
|
|
19
19
|
module.exports = require("./avatar.cjs");
|
|
20
20
|
},
|
|
21
|
-
"
|
|
21
|
+
"@/components/ui/badge" (module) {
|
|
22
22
|
module.exports = require("./badge.cjs");
|
|
23
23
|
},
|
|
24
24
|
"./boolean-radio-group" (module) {
|
|
@@ -39,7 +39,7 @@ var __webpack_modules__ = {
|
|
|
39
39
|
"@/components/ui/calendar" (module) {
|
|
40
40
|
module.exports = require("./calendar.cjs");
|
|
41
41
|
},
|
|
42
|
-
"
|
|
42
|
+
"@/components/ui/card" (module) {
|
|
43
43
|
module.exports = require("./card.cjs");
|
|
44
44
|
},
|
|
45
45
|
"./chart" (module) {
|
|
@@ -60,7 +60,7 @@ var __webpack_modules__ = {
|
|
|
60
60
|
"@/components/ui/code-block" (module) {
|
|
61
61
|
module.exports = require("./code-block.cjs");
|
|
62
62
|
},
|
|
63
|
-
"
|
|
63
|
+
"@/components/ui/collapsible" (module) {
|
|
64
64
|
module.exports = require("./collapsible.cjs");
|
|
65
65
|
},
|
|
66
66
|
"./combobox" (module) {
|
|
@@ -81,7 +81,7 @@ var __webpack_modules__ = {
|
|
|
81
81
|
"./datetime-picker" (module) {
|
|
82
82
|
module.exports = require("./datetime-picker.cjs");
|
|
83
83
|
},
|
|
84
|
-
"
|
|
84
|
+
"./dialog" (module) {
|
|
85
85
|
module.exports = require("./dialog.cjs");
|
|
86
86
|
},
|
|
87
87
|
"./disclosure-tree" (module) {
|
|
@@ -120,7 +120,7 @@ var __webpack_modules__ = {
|
|
|
120
120
|
"./form-field" (module) {
|
|
121
121
|
module.exports = require("./form-field.cjs");
|
|
122
122
|
},
|
|
123
|
-
"
|
|
123
|
+
"@/components/ui/hover-card" (module) {
|
|
124
124
|
module.exports = require("./hover-card.cjs");
|
|
125
125
|
},
|
|
126
126
|
"@/components/ui/info-tooltip" (module) {
|
|
@@ -267,7 +267,7 @@ var __webpack_modules__ = {
|
|
|
267
267
|
"./toggle-group" (module) {
|
|
268
268
|
module.exports = require("./toggle-group.cjs");
|
|
269
269
|
},
|
|
270
|
-
"
|
|
270
|
+
"./toggle" (module) {
|
|
271
271
|
module.exports = require("./toggle.cjs");
|
|
272
272
|
},
|
|
273
273
|
"./tool-call" (module) {
|
|
@@ -395,7 +395,7 @@ var __webpack_exports__ = {};
|
|
|
395
395
|
"ReferenceChip"
|
|
396
396
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_avatar__rspack_import_5[__rspack_import_key];
|
|
397
397
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
398
|
-
var _badge__rspack_import_6 = __webpack_require__("
|
|
398
|
+
var _badge__rspack_import_6 = __webpack_require__("@/components/ui/badge");
|
|
399
399
|
var __rspack_reexport = {};
|
|
400
400
|
for(const __rspack_import_key in _badge__rspack_import_6)if ([
|
|
401
401
|
"getReferenceChipColors",
|
|
@@ -465,7 +465,7 @@ var __webpack_exports__ = {};
|
|
|
465
465
|
"ReferenceChip"
|
|
466
466
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_calendar__rspack_import_12[__rspack_import_key];
|
|
467
467
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
468
|
-
var _card__rspack_import_13 = __webpack_require__("
|
|
468
|
+
var _card__rspack_import_13 = __webpack_require__("@/components/ui/card");
|
|
469
469
|
var __rspack_reexport = {};
|
|
470
470
|
for(const __rspack_import_key in _card__rspack_import_13)if ([
|
|
471
471
|
"getReferenceChipColors",
|
|
@@ -535,7 +535,7 @@ var __webpack_exports__ = {};
|
|
|
535
535
|
"ReferenceChip"
|
|
536
536
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_code_block__rspack_import_19[__rspack_import_key];
|
|
537
537
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
538
|
-
var _collapsible__rspack_import_20 = __webpack_require__("
|
|
538
|
+
var _collapsible__rspack_import_20 = __webpack_require__("@/components/ui/collapsible");
|
|
539
539
|
var __rspack_reexport = {};
|
|
540
540
|
for(const __rspack_import_key in _collapsible__rspack_import_20)if ([
|
|
541
541
|
"getReferenceChipColors",
|
|
@@ -605,7 +605,7 @@ var __webpack_exports__ = {};
|
|
|
605
605
|
"ReferenceChip"
|
|
606
606
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_datetime_picker__rspack_import_26[__rspack_import_key];
|
|
607
607
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
608
|
-
var _dialog__rspack_import_27 = __webpack_require__("
|
|
608
|
+
var _dialog__rspack_import_27 = __webpack_require__("./dialog");
|
|
609
609
|
var __rspack_reexport = {};
|
|
610
610
|
for(const __rspack_import_key in _dialog__rspack_import_27)if ([
|
|
611
611
|
"getReferenceChipColors",
|
|
@@ -735,7 +735,7 @@ var __webpack_exports__ = {};
|
|
|
735
735
|
"ReferenceChip"
|
|
736
736
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_form_field__rspack_import_39[__rspack_import_key];
|
|
737
737
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
738
|
-
var _hover_card__rspack_import_40 = __webpack_require__("
|
|
738
|
+
var _hover_card__rspack_import_40 = __webpack_require__("@/components/ui/hover-card");
|
|
739
739
|
var __rspack_reexport = {};
|
|
740
740
|
for(const __rspack_import_key in _hover_card__rspack_import_40)if ([
|
|
741
741
|
"getReferenceChipColors",
|
|
@@ -1197,7 +1197,7 @@ var __webpack_exports__ = {};
|
|
|
1197
1197
|
"ReferenceChip"
|
|
1198
1198
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_thinking_indicator__rspack_import_87[__rspack_import_key];
|
|
1199
1199
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
1200
|
-
var _toggle__rspack_import_88 = __webpack_require__("
|
|
1200
|
+
var _toggle__rspack_import_88 = __webpack_require__("./toggle");
|
|
1201
1201
|
var __rspack_reexport = {};
|
|
1202
1202
|
for(const __rspack_import_key in _toggle__rspack_import_88)if ([
|
|
1203
1203
|
"getReferenceChipColors",
|
|
@@ -28,6 +28,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
30
|
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
31
|
+
const field_addon_button_cjs_namespaceObject = require("../../field-addons/field-addon-button.cjs");
|
|
31
32
|
const external_input_group_cjs_namespaceObject = require("../../input-group.cjs");
|
|
32
33
|
const external_tooltip_cjs_namespaceObject = require("../../tooltip.cjs");
|
|
33
34
|
function LockToggleButton({ locked, onLockedChange, disabled, strings }) {
|
|
@@ -39,8 +40,8 @@ function LockToggleButton({ locked, onLockedChange, disabled, strings }) {
|
|
|
39
40
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_tooltip_cjs_namespaceObject.TooltipTrigger, {
|
|
40
41
|
asChild: true,
|
|
41
42
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_input_group_cjs_namespaceObject.InputGroupButton, {
|
|
42
|
-
icon: true,
|
|
43
43
|
size: "3xs",
|
|
44
|
+
className: field_addon_button_cjs_namespaceObject.FIELD_ADDON_BUTTON_CLASS,
|
|
44
45
|
disabled: !interactive,
|
|
45
46
|
onClick: ()=>onLockedChange?.(!locked),
|
|
46
47
|
"aria-label": interactive ? locked ? strings.lockedHint : strings.unlockedHint : locked ? strings.lockedLabel : strings.unlockedLabel,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { LockKeyhole, LockKeyholeOpen } from "lucide-react";
|
|
3
|
+
import { FIELD_ADDON_BUTTON_CLASS } from "../../field-addons/field-addon-button.js";
|
|
3
4
|
import { InputGroupButton } from "../../input-group.js";
|
|
4
5
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../../tooltip.js";
|
|
5
6
|
function LockToggleButton({ locked, onLockedChange, disabled, strings }) {
|
|
@@ -11,8 +12,8 @@ function LockToggleButton({ locked, onLockedChange, disabled, strings }) {
|
|
|
11
12
|
/*#__PURE__*/ jsx(TooltipTrigger, {
|
|
12
13
|
asChild: true,
|
|
13
14
|
children: /*#__PURE__*/ jsx(InputGroupButton, {
|
|
14
|
-
icon: true,
|
|
15
15
|
size: "3xs",
|
|
16
|
+
className: FIELD_ADDON_BUTTON_CLASS,
|
|
16
17
|
disabled: !interactive,
|
|
17
18
|
onClick: ()=>onLockedChange?.(!locked),
|
|
18
19
|
"aria-label": interactive ? locked ? strings.lockedHint : strings.unlockedHint : locked ? strings.lockedLabel : strings.unlockedLabel,
|