@oliasoft-open-source/react-ui-library 10.8.0-beta-3 → 10.8.1-beta-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/global.css +1643 -1656
- package/dist/index.d.ts +6 -34
- package/dist/index.js +106 -373
- package/package.json +3 -4
package/dist/index.js
CHANGED
|
@@ -6,9 +6,7 @@ import { CSSTransition } from "react-transition-group";
|
|
|
6
6
|
import { CheckboxButton, CheckboxField } from "react-aria-components/Checkbox";
|
|
7
7
|
import { ColorArea, ColorPicker, ColorSlider, ColorSwatch, ColorSwatchPicker, ColorSwatchPickerItem, ColorThumb, DialogTrigger, Focusable, OverlayArrow, Popover as Popover$1, Pressable, RouterProvider, SliderTrack, Tooltip as Tooltip$1, TooltipTrigger, TooltipTriggerStateContext, useLocale } from "react-aria-components";
|
|
8
8
|
import { clamp, cloneDeep, cloneDeepWith, debounce, every, get, isArray, isBoolean, isEmpty, isEqual, isFinite, isFunction, isNil, isNumber, isObject, isPlainObject, isString, keys, noop, sortBy, toLower, toNumber, upperFirst, values } from "es-toolkit/compat";
|
|
9
|
-
import { Header, Menu as Menu$1, MenuItem, MenuTrigger,
|
|
10
|
-
import { Autocomplete } from "react-aria-components/Autocomplete";
|
|
11
|
-
import { Input as Input$1, SearchField } from "react-aria-components/SearchField";
|
|
9
|
+
import { Header, Menu as Menu$1, MenuItem, MenuTrigger, Separator, SubmenuTrigger } from "react-aria-components/Menu";
|
|
12
10
|
import { Breadcrumb as Breadcrumb$1, Breadcrumbs, Link } from "react-aria-components/Breadcrumbs";
|
|
13
11
|
import { colord, extend } from "colord";
|
|
14
12
|
import lchPlugin from "colord/plugins/lch";
|
|
@@ -20,7 +18,7 @@ import { ALT_UNITS, KNOWN_UNITS, altUnitsList, cleanNumStr, convertAndGetValue,
|
|
|
20
18
|
import { ListBox, ListBoxItem } from "react-aria-components/ListBox";
|
|
21
19
|
import { ListLayout, Virtualizer } from "react-aria-components/Virtualizer";
|
|
22
20
|
import { SortableContext, useSortable, verticalListSortingStrategy } from "@dnd-kit/sortable";
|
|
23
|
-
import { CSS
|
|
21
|
+
import { CSS } from "@dnd-kit/utilities";
|
|
24
22
|
import * as RadixSlider from "@radix-ui/react-slider";
|
|
25
23
|
import memoizeOne from "memoize-one";
|
|
26
24
|
import isEqual$1 from "react-fast-compare";
|
|
@@ -1058,36 +1056,32 @@ var isMenuEmpty = (menu) => {
|
|
|
1058
1056
|
return !isValidElement(sections) && (!Array.isArray(sections) || sections.every((section) => isEmpty(section)));
|
|
1059
1057
|
};
|
|
1060
1058
|
var menu_module_default = {
|
|
1061
|
-
layer: "
|
|
1062
|
-
nested: "
|
|
1063
|
-
fileInput: "
|
|
1064
|
-
trigger: "
|
|
1065
|
-
heading: "
|
|
1066
|
-
headingIcon: "
|
|
1067
|
-
clickable: "
|
|
1068
|
-
option: "
|
|
1069
|
-
active: "
|
|
1070
|
-
disabled: "
|
|
1071
|
-
selected: "
|
|
1072
|
-
optionContent: "
|
|
1073
|
-
description: "
|
|
1074
|
-
inline: "
|
|
1075
|
-
icon: "
|
|
1076
|
-
check: "
|
|
1077
|
-
label: "
|
|
1078
|
-
arrow: "
|
|
1079
|
-
divider: "
|
|
1080
|
-
buttonLabel: "
|
|
1081
|
-
component: "
|
|
1082
|
-
right: "
|
|
1083
|
-
actions: "
|
|
1084
|
-
menuPopover: "
|
|
1085
|
-
menuPopoverNested: "
|
|
1086
|
-
menuItem: "
|
|
1087
|
-
overlayScope: "_overlayScope_19h1u_229",
|
|
1088
|
-
noResults: "_noResults_19h1u_232",
|
|
1089
|
-
searchField: "_searchField_19h1u_236",
|
|
1090
|
-
searchInput: "_searchInput_19h1u_236"
|
|
1059
|
+
layer: "_layer_1f0i9_1",
|
|
1060
|
+
nested: "_nested_1f0i9_14",
|
|
1061
|
+
fileInput: "_fileInput_1f0i9_17",
|
|
1062
|
+
trigger: "_trigger_1f0i9_23",
|
|
1063
|
+
heading: "_heading_1f0i9_32",
|
|
1064
|
+
headingIcon: "_headingIcon_1f0i9_38",
|
|
1065
|
+
clickable: "_clickable_1f0i9_45",
|
|
1066
|
+
option: "_option_1f0i9_49",
|
|
1067
|
+
active: "_active_1f0i9_68",
|
|
1068
|
+
disabled: "_disabled_1f0i9_73",
|
|
1069
|
+
selected: "_selected_1f0i9_76",
|
|
1070
|
+
optionContent: "_optionContent_1f0i9_89",
|
|
1071
|
+
description: "_description_1f0i9_93",
|
|
1072
|
+
inline: "_inline_1f0i9_97",
|
|
1073
|
+
icon: "_icon_1f0i9_102",
|
|
1074
|
+
check: "_check_1f0i9_103",
|
|
1075
|
+
label: "_label_1f0i9_130",
|
|
1076
|
+
arrow: "_arrow_1f0i9_148",
|
|
1077
|
+
divider: "_divider_1f0i9_152",
|
|
1078
|
+
buttonLabel: "_buttonLabel_1f0i9_160",
|
|
1079
|
+
component: "_component_1f0i9_167",
|
|
1080
|
+
right: "_right_1f0i9_173",
|
|
1081
|
+
actions: "_actions_1f0i9_178",
|
|
1082
|
+
menuPopover: "_menuPopover_1f0i9_185",
|
|
1083
|
+
menuPopoverNested: "_menuPopoverNested_1f0i9_207",
|
|
1084
|
+
menuItem: "_menuItem_1f0i9_210"
|
|
1091
1085
|
};
|
|
1092
1086
|
//#endregion
|
|
1093
1087
|
//#region src/components/menu/layer/heading.tsx
|
|
@@ -1211,15 +1205,6 @@ var MenuCarat = /* @__PURE__ */ function(MenuCarat) {
|
|
|
1211
1205
|
MenuCarat["DOWN"] = "down";
|
|
1212
1206
|
return MenuCarat;
|
|
1213
1207
|
}({});
|
|
1214
|
-
/** Menu trigger variants. Extends shared `TriggerType` with Search. */
|
|
1215
|
-
var MenuTriggerType = /* @__PURE__ */ function(MenuTriggerType) {
|
|
1216
|
-
MenuTriggerType["TEXT"] = "Text";
|
|
1217
|
-
MenuTriggerType["BUTTON"] = "Button";
|
|
1218
|
-
MenuTriggerType["DROP_DOWN_BUTTON"] = "DropDownButton";
|
|
1219
|
-
MenuTriggerType["COMPONENT"] = "Component";
|
|
1220
|
-
MenuTriggerType["SEARCH"] = "Search";
|
|
1221
|
-
return MenuTriggerType;
|
|
1222
|
-
}({});
|
|
1223
1208
|
//#endregion
|
|
1224
1209
|
//#region src/components/menu/layer/section.tsx
|
|
1225
1210
|
/** Leaf section types only. Submenus are owned by Layer. */
|
|
@@ -1262,74 +1247,6 @@ var Section$1 = ({ section, closeOnOptionClick, close }) => {
|
|
|
1262
1247
|
}
|
|
1263
1248
|
};
|
|
1264
1249
|
//#endregion
|
|
1265
|
-
//#region src/helpers/search.ts
|
|
1266
|
-
/**
|
|
1267
|
-
* Shared text-search matching for searchable components (Select, Menu).
|
|
1268
|
-
* Case-insensitive substring match — keep behaviour identical across components.
|
|
1269
|
-
*/
|
|
1270
|
-
var normalizeSearch = (value) => String(value !== null && value !== void 0 ? value : "").toLowerCase();
|
|
1271
|
-
var matchesSearch = (query, ...texts) => {
|
|
1272
|
-
const normalizedQuery = normalizeSearch(query);
|
|
1273
|
-
if (!normalizedQuery) return true;
|
|
1274
|
-
return texts.some((text) => text != null && normalizeSearch(text).includes(normalizedQuery));
|
|
1275
|
-
};
|
|
1276
|
-
//#endregion
|
|
1277
|
-
//#region src/components/menu/filter-menu-sections.ts
|
|
1278
|
-
var getSearchText = (label) => typeof label === "string" || typeof label === "number" ? String(label) : "";
|
|
1279
|
-
var isItem = (section) => section.type === MenuType.OPTION || section.type === MenuType.MENU;
|
|
1280
|
-
var isBoundary = (section) => section.type === MenuType.HEADING || section.type === MenuType.DIVIDER;
|
|
1281
|
-
/** Drop headings with no items under them, and leading / trailing / doubled dividers. */
|
|
1282
|
-
var tidy = (sections) => {
|
|
1283
|
-
var _result;
|
|
1284
|
-
const withoutEmptyHeadings = sections.filter((section, i) => {
|
|
1285
|
-
if (section.type !== MenuType.HEADING) return true;
|
|
1286
|
-
const next = sections.slice(i + 1).find((s) => isItem(s) || isBoundary(s));
|
|
1287
|
-
return !!next && isItem(next);
|
|
1288
|
-
});
|
|
1289
|
-
const result = [];
|
|
1290
|
-
withoutEmptyHeadings.forEach((section) => {
|
|
1291
|
-
const previous = result[result.length - 1];
|
|
1292
|
-
if (section.type === MenuType.DIVIDER && (!previous || previous.type === MenuType.DIVIDER)) return;
|
|
1293
|
-
result.push(section);
|
|
1294
|
-
});
|
|
1295
|
-
if (((_result = result[result.length - 1]) === null || _result === void 0 ? void 0 : _result.type) === MenuType.DIVIDER) result.pop();
|
|
1296
|
-
return result;
|
|
1297
|
-
};
|
|
1298
|
-
/**
|
|
1299
|
-
* Filters menu sections by a search query while preserving structure:
|
|
1300
|
-
* - options are kept when their label or description matches
|
|
1301
|
-
* - submenus are kept when their own label matches (with all children), or when any
|
|
1302
|
-
* descendant matches (with children filtered recursively)
|
|
1303
|
-
* - headings / dividers are kept only where they still separate visible items
|
|
1304
|
-
* Labels that are not plain strings/numbers cannot be matched.
|
|
1305
|
-
*/
|
|
1306
|
-
var filterMenuSections = (sections, query) => {
|
|
1307
|
-
if (isValidElement(sections) || !Array.isArray(sections)) return [];
|
|
1308
|
-
if (!normalizeSearch(query)) return sections;
|
|
1309
|
-
return tidy(sections.flatMap((section) => {
|
|
1310
|
-
switch (section === null || section === void 0 ? void 0 : section.type) {
|
|
1311
|
-
case MenuType.HEADING:
|
|
1312
|
-
case MenuType.DIVIDER: return [section];
|
|
1313
|
-
case MenuType.OPTION: return matchesSearch(query, getSearchText(section.label), section.description) ? [section] : [];
|
|
1314
|
-
case MenuType.MENU: {
|
|
1315
|
-
var _section$menu$label, _section$menu, _section$menu$section, _section$menu2;
|
|
1316
|
-
if (matchesSearch(query, getSearchText((_section$menu$label = (_section$menu = section.menu) === null || _section$menu === void 0 ? void 0 : _section$menu.label) !== null && _section$menu$label !== void 0 ? _section$menu$label : section.label))) return [section];
|
|
1317
|
-
const children = filterMenuSections((_section$menu$section = (_section$menu2 = section.menu) === null || _section$menu2 === void 0 ? void 0 : _section$menu2.sections) !== null && _section$menu$section !== void 0 ? _section$menu$section : [], query);
|
|
1318
|
-
if (!children.some(isItem)) return [];
|
|
1319
|
-
return [{
|
|
1320
|
-
...section,
|
|
1321
|
-
menu: {
|
|
1322
|
-
trigger: "Text",
|
|
1323
|
-
...section.menu,
|
|
1324
|
-
sections: children
|
|
1325
|
-
}
|
|
1326
|
-
}];
|
|
1327
|
-
}
|
|
1328
|
-
default: return [];
|
|
1329
|
-
}
|
|
1330
|
-
}));
|
|
1331
|
-
};
|
|
1332
|
-
//#endregion
|
|
1333
1250
|
//#region src/components/menu/trigger/text.tsx
|
|
1334
1251
|
var Text$1 = forwardRef(({ label, title, carat, disabled, isOpen, selected, className, ...domProps }, ref) => {
|
|
1335
1252
|
let titleText;
|
|
@@ -1354,22 +1271,11 @@ var Text$1 = forwardRef(({ label, title, carat, disabled, isOpen, selected, clas
|
|
|
1354
1271
|
});
|
|
1355
1272
|
//#endregion
|
|
1356
1273
|
//#region src/components/menu/layer/layer.tsx
|
|
1357
|
-
var MENU_SCOPE_ATTRIBUTE = "data-menu-scope";
|
|
1358
|
-
/**
|
|
1359
|
-
* Marks every popover (root + submenus) belonging to one searchable menu, so outside-press
|
|
1360
|
-
* detection can tell clicks inside the menu apart from clicks elsewhere.
|
|
1361
|
-
*/
|
|
1362
|
-
var OverlayScope = ({ scopeId, children }) => scopeId ? /* @__PURE__ */ jsx("div", {
|
|
1363
|
-
[MENU_SCOPE_ATTRIBUTE]: scopeId,
|
|
1364
|
-
className: menu_module_default.overlayScope,
|
|
1365
|
-
onMouseDown: (evt) => evt.preventDefault(),
|
|
1366
|
-
children
|
|
1367
|
-
}) : /* @__PURE__ */ jsx(Fragment$1, { children });
|
|
1368
1274
|
var getTextValue = (label) => {
|
|
1369
1275
|
if (typeof label === "string" || typeof label === "number") return String(label);
|
|
1370
1276
|
return "";
|
|
1371
1277
|
};
|
|
1372
|
-
var renderSection = (section, index, { closeOnOptionClick, close, maxHeight, width
|
|
1278
|
+
var renderSection = (section, index, { closeOnOptionClick, close, maxHeight, width }) => {
|
|
1373
1279
|
if (section.type === MenuType.MENU) {
|
|
1374
1280
|
var _section$menu, _section$menu2, _section$menu3, _section$menu$label, _section$menu4, _ref, _section$menu$label2, _section$menu5, _section$menu6, _section$menu$section, _section$menu7;
|
|
1375
1281
|
const submenuSections = (_section$menu = section.menu) === null || _section$menu === void 0 ? void 0 : _section$menu.sections;
|
|
@@ -1393,18 +1299,14 @@ var renderSection = (section, index, { closeOnOptionClick, close, maxHeight, wid
|
|
|
1393
1299
|
placement: submenuPlacement,
|
|
1394
1300
|
isNested: true,
|
|
1395
1301
|
"data-testid": (_section$menu6 = section.menu) === null || _section$menu6 === void 0 ? void 0 : _section$menu6.testId,
|
|
1396
|
-
children: /* @__PURE__ */ jsx(
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
maxHeight,
|
|
1405
|
-
testId: nestedTestId ? `${nestedTestId}-layer` : void 0,
|
|
1406
|
-
scopeId
|
|
1407
|
-
})
|
|
1302
|
+
children: /* @__PURE__ */ jsx(Layer$2, {
|
|
1303
|
+
sections: (_section$menu$section = (_section$menu7 = section.menu) === null || _section$menu7 === void 0 ? void 0 : _section$menu7.sections) !== null && _section$menu$section !== void 0 ? _section$menu$section : [],
|
|
1304
|
+
isNested: true,
|
|
1305
|
+
width,
|
|
1306
|
+
closeOnOptionClick,
|
|
1307
|
+
close,
|
|
1308
|
+
maxHeight,
|
|
1309
|
+
testId: nestedTestId ? `${nestedTestId}-layer` : void 0
|
|
1408
1310
|
})
|
|
1409
1311
|
})] }, `${section.type}-${index}`);
|
|
1410
1312
|
}
|
|
@@ -1414,12 +1316,11 @@ var renderSection = (section, index, { closeOnOptionClick, close, maxHeight, wid
|
|
|
1414
1316
|
close
|
|
1415
1317
|
}, `${section.type}-${index}`);
|
|
1416
1318
|
};
|
|
1417
|
-
var Layer$2 = ({ sections, isNested = false, width, closeOnOptionClick, close, maxHeight, showAllButton, testId
|
|
1418
|
-
var _showAllButton$additi, _showAllButton$additi2
|
|
1319
|
+
var Layer$2 = ({ sections, isNested = false, width, closeOnOptionClick, close, maxHeight, showAllButton, testId }) => {
|
|
1320
|
+
var _showAllButton$additi, _showAllButton$additi2;
|
|
1419
1321
|
const [showAll, setShowAll] = useState(!(showAllButton === null || showAllButton === void 0 ? void 0 : showAllButton.visible));
|
|
1420
1322
|
if (isValidElement(sections)) return /* @__PURE__ */ jsx(Fragment$1, { children: sections });
|
|
1421
1323
|
const sectionsArray = sections;
|
|
1422
|
-
const isSearching = !!(search === null || search === void 0 ? void 0 : search.value);
|
|
1423
1324
|
const additionalSections = (_showAllButton$additi = showAllButton === null || showAllButton === void 0 || (_showAllButton$additi2 = showAllButton.additionalSections) === null || _showAllButton$additi2 === void 0 ? void 0 : _showAllButton$additi2.map((s) => ({
|
|
1424
1325
|
...s,
|
|
1425
1326
|
closeOnOptionClick,
|
|
@@ -1432,10 +1333,7 @@ var Layer$2 = ({ sections, isNested = false, width, closeOnOptionClick, close, m
|
|
|
1432
1333
|
visible: true,
|
|
1433
1334
|
closeOnOptionClick: false
|
|
1434
1335
|
}] : [];
|
|
1435
|
-
const localSections =
|
|
1436
|
-
...s,
|
|
1437
|
-
closeOnOptionClick
|
|
1438
|
-
})) : (showAllButton === null || showAllButton === void 0 ? void 0 : showAllButton.visible) ? sectionsArray.map((s, i) => {
|
|
1336
|
+
const localSections = (showAllButton === null || showAllButton === void 0 ? void 0 : showAllButton.visible) ? sectionsArray.map((s, i) => {
|
|
1439
1337
|
return showAll || i <= 3 ? {
|
|
1440
1338
|
...s,
|
|
1441
1339
|
visible: true,
|
|
@@ -1454,128 +1352,14 @@ var Layer$2 = ({ sections, isNested = false, width, closeOnOptionClick, close, m
|
|
|
1454
1352
|
shouldCloseOnSelect: closeOnOptionClick,
|
|
1455
1353
|
autoFocus: isNested ? void 0 : "first",
|
|
1456
1354
|
"data-testid": testId,
|
|
1457
|
-
renderEmptyState: search ? () => /* @__PURE__ */ jsx("div", {
|
|
1458
|
-
className: menu_module_default.noResults,
|
|
1459
|
-
children: "No results"
|
|
1460
|
-
}) : void 0,
|
|
1461
1355
|
children: localSections.map((section, i) => renderSection(section, i, {
|
|
1462
1356
|
closeOnOptionClick: section.closeOnOptionClick,
|
|
1463
1357
|
close,
|
|
1464
1358
|
maxHeight,
|
|
1465
|
-
width
|
|
1466
|
-
scopeId
|
|
1359
|
+
width
|
|
1467
1360
|
}))
|
|
1468
1361
|
});
|
|
1469
1362
|
};
|
|
1470
|
-
var trigger_module_default = {
|
|
1471
|
-
inputInTable: "_inputInTable_c2rg4_1",
|
|
1472
|
-
inputHover: "_inputHover_c2rg4_13",
|
|
1473
|
-
inputFocus: "_inputFocus_c2rg4_18",
|
|
1474
|
-
controlFocusVisible: "_controlFocusVisible_c2rg4_25",
|
|
1475
|
-
inputError: "_inputError_c2rg4_29",
|
|
1476
|
-
inputWarning: "_inputWarning_c2rg4_30",
|
|
1477
|
-
inputDisabled: "_inputDisabled_c2rg4_65",
|
|
1478
|
-
hideScrollbars: "_hideScrollbars_c2rg4_71",
|
|
1479
|
-
trigger: "_trigger_c2rg4_81",
|
|
1480
|
-
isInTable: "_isInTable_c2rg4_97",
|
|
1481
|
-
input: "_input_c2rg4_1",
|
|
1482
|
-
isOpen: "_isOpen_c2rg4_118",
|
|
1483
|
-
disabled: "_disabled_c2rg4_161",
|
|
1484
|
-
icons: "_icons_c2rg4_167",
|
|
1485
|
-
clearAll: "_clearAll_c2rg4_174",
|
|
1486
|
-
iconOpen: "_iconOpen_c2rg4_175",
|
|
1487
|
-
small: "_small_c2rg4_186",
|
|
1488
|
-
triggerInputContainer: "_triggerInputContainer_c2rg4_194",
|
|
1489
|
-
right: "_right_c2rg4_203",
|
|
1490
|
-
multiOptions: "_multiOptions_c2rg4_216",
|
|
1491
|
-
multiOption: "_multiOption_c2rg4_216",
|
|
1492
|
-
label: "_label_c2rg4_244",
|
|
1493
|
-
closeMultiOption: "_closeMultiOption_c2rg4_247",
|
|
1494
|
-
focus: "_focus_c2rg4_258",
|
|
1495
|
-
selectedSingleValue: "_selectedSingleValue_c2rg4_262",
|
|
1496
|
-
placeHolder: "_placeHolder_c2rg4_263",
|
|
1497
|
-
groupOrderFirst: "_groupOrderFirst_c2rg4_302",
|
|
1498
|
-
groupOrderMiddle: "_groupOrderMiddle_c2rg4_303",
|
|
1499
|
-
groupOrderLast: "_groupOrderLast_c2rg4_307",
|
|
1500
|
-
detailedLabel: "_detailedLabel_c2rg4_312"
|
|
1501
|
-
};
|
|
1502
|
-
//#endregion
|
|
1503
|
-
//#region src/components/menu/trigger/search-trigger.tsx
|
|
1504
|
-
var hasDisplayValue = (value) => value != null && value !== "";
|
|
1505
|
-
var groupOrderClass = (groupOrder) => {
|
|
1506
|
-
switch (groupOrder) {
|
|
1507
|
-
case GroupOrder.FIRST: return trigger_module_default.groupOrderFirst;
|
|
1508
|
-
case GroupOrder.LAST: return trigger_module_default.groupOrderLast;
|
|
1509
|
-
case void 0: return;
|
|
1510
|
-
default: return trigger_module_default.groupOrderMiddle;
|
|
1511
|
-
}
|
|
1512
|
-
};
|
|
1513
|
-
/**
|
|
1514
|
-
* Select-style search input acting as the Menu trigger. Must render inside an RAC `Autocomplete`
|
|
1515
|
-
* (wires the input to the menu via virtual focus / aria-activedescendant) and a `MenuTrigger`.
|
|
1516
|
-
* Behaviour mirrors the searchable Select: click anywhere toggles, typing / ArrowDown opens,
|
|
1517
|
-
* Escape / Tab close.
|
|
1518
|
-
*/
|
|
1519
|
-
var SearchTrigger = forwardRef(({ label, placeholder, searchValue, isOpen, disabled, small, width, groupOrder, error, warning, tabIndex, testId, isInTable, inputRef, onOpen, onClose }, ref) => {
|
|
1520
|
-
const handleMouseDown = (evt) => evt.preventDefault();
|
|
1521
|
-
const handleClick = () => {
|
|
1522
|
-
var _inputRef$current;
|
|
1523
|
-
if (disabled) return;
|
|
1524
|
-
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();
|
|
1525
|
-
if (isOpen) onClose();
|
|
1526
|
-
else onOpen();
|
|
1527
|
-
};
|
|
1528
|
-
const handleKeyDown = (evt) => {
|
|
1529
|
-
if (!isOpen && evt.key === "ArrowDown") onOpen();
|
|
1530
|
-
if (isOpen && (evt.key === "Escape" || evt.key === "Tab")) onClose();
|
|
1531
|
-
};
|
|
1532
|
-
const showLabel = !searchValue && hasDisplayValue(label);
|
|
1533
|
-
const showPlaceholder = !searchValue && !showLabel && hasDisplayValue(placeholder);
|
|
1534
|
-
const ariaLabel = typeof label === "string" && label || typeof placeholder === "string" && placeholder || "Search";
|
|
1535
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
1536
|
-
ref,
|
|
1537
|
-
className: cx(trigger_module_default.trigger, isOpen && trigger_module_default.isOpen, disabled && trigger_module_default.disabled, small && trigger_module_default.small, isInTable && trigger_module_default.isInTable, groupOrderClass(groupOrder)),
|
|
1538
|
-
style: { width },
|
|
1539
|
-
onMouseDown: handleMouseDown,
|
|
1540
|
-
onClick: handleClick,
|
|
1541
|
-
"data-error": error || null,
|
|
1542
|
-
"data-warning": warning || null,
|
|
1543
|
-
"data-testid": testId,
|
|
1544
|
-
children: [/* @__PURE__ */ jsxs(SearchField, {
|
|
1545
|
-
"aria-label": ariaLabel,
|
|
1546
|
-
isDisabled: disabled,
|
|
1547
|
-
onKeyDown: handleKeyDown,
|
|
1548
|
-
className: cx(trigger_module_default.triggerInputContainer, menu_module_default.searchField),
|
|
1549
|
-
children: [
|
|
1550
|
-
showLabel && /* @__PURE__ */ jsx("span", {
|
|
1551
|
-
className: trigger_module_default.selectedSingleValue,
|
|
1552
|
-
"data-testid": testId && `${testId}-value`,
|
|
1553
|
-
children: label
|
|
1554
|
-
}),
|
|
1555
|
-
showPlaceholder && /* @__PURE__ */ jsx("span", {
|
|
1556
|
-
className: trigger_module_default.placeHolder,
|
|
1557
|
-
children: placeholder
|
|
1558
|
-
}),
|
|
1559
|
-
/* @__PURE__ */ jsx(Input$1, {
|
|
1560
|
-
ref: inputRef,
|
|
1561
|
-
className: cx(trigger_module_default.input, menu_module_default.searchInput),
|
|
1562
|
-
size: searchValue.length + 1,
|
|
1563
|
-
tabIndex,
|
|
1564
|
-
"data-testid": testId ? `${testId}-input` : void 0
|
|
1565
|
-
})
|
|
1566
|
-
]
|
|
1567
|
-
}), /* @__PURE__ */ jsx("span", {
|
|
1568
|
-
className: trigger_module_default.icons,
|
|
1569
|
-
children: /* @__PURE__ */ jsx(Pressable$1, {
|
|
1570
|
-
isDisabled: true,
|
|
1571
|
-
children: /* @__PURE__ */ jsx("span", {
|
|
1572
|
-
className: trigger_module_default.iconOpen,
|
|
1573
|
-
children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHEVRON_DOWN })
|
|
1574
|
-
})
|
|
1575
|
-
})
|
|
1576
|
-
})]
|
|
1577
|
-
});
|
|
1578
|
-
});
|
|
1579
1363
|
//#endregion
|
|
1580
1364
|
//#region src/components/menu/layer/placementOptions.ts
|
|
1581
1365
|
var placementOptions = (placement, isNested = false) => ({ placement: placement || (isNested ? "right-start" : "bottom-start") });
|
|
@@ -1588,12 +1372,13 @@ var getType = (item) => {
|
|
|
1588
1372
|
return Array.isArray(item) ? "array" : typeof item;
|
|
1589
1373
|
};
|
|
1590
1374
|
var badge_module_default = {
|
|
1591
|
-
wrapper: "
|
|
1592
|
-
badge: "
|
|
1593
|
-
label: "
|
|
1594
|
-
small: "
|
|
1595
|
-
|
|
1596
|
-
|
|
1375
|
+
wrapper: "_wrapper_1ivg9_1",
|
|
1376
|
+
badge: "_badge_1ivg9_5",
|
|
1377
|
+
label: "_label_1ivg9_11",
|
|
1378
|
+
small: "_small_1ivg9_23",
|
|
1379
|
+
bordered: "_bordered_1ivg9_27",
|
|
1380
|
+
dot: "_dot_1ivg9_31",
|
|
1381
|
+
hasChildren: "_hasChildren_1ivg9_37"
|
|
1597
1382
|
};
|
|
1598
1383
|
//#endregion
|
|
1599
1384
|
//#region src/components/badge/badge.tsx
|
|
@@ -1605,17 +1390,20 @@ var isDark = (hexColor) => {
|
|
|
1605
1390
|
const b = rgb >> 0 & 255;
|
|
1606
1391
|
return .2126 * r + .7152 * g + .0722 * b < 128;
|
|
1607
1392
|
};
|
|
1608
|
-
var Badge = ({ children, color = "", textColor: textColorProp = "", title = null, dot = false, margin = null, small = false }) => {
|
|
1393
|
+
var Badge = ({ children, color = "", textColor: textColorProp = "", title = null, dot = false, margin = null, small = false, borderColor = "", borderRadius = void 0, minWidth = void 0 }) => {
|
|
1609
1394
|
const visible = !(title === null && dot === false);
|
|
1610
1395
|
const textColor = textColorProp || (isDark(color) ? "#fff" : "rgba(0, 0, 0, 0.6)");
|
|
1611
1396
|
return /* @__PURE__ */ jsxs("div", {
|
|
1612
1397
|
className: badge_module_default.wrapper,
|
|
1613
1398
|
children: [visible && /* @__PURE__ */ jsx("sup", {
|
|
1614
|
-
className: cx(badge_module_default.badge, title !== null ? badge_module_default.label : badge_module_default.dot, small ? badge_module_default.small : "", children ? badge_module_default.hasChildren : ""),
|
|
1399
|
+
className: cx(badge_module_default.badge, title !== null ? badge_module_default.label : badge_module_default.dot, small ? badge_module_default.small : "", borderColor ? badge_module_default.bordered : "", children ? badge_module_default.hasChildren : ""),
|
|
1615
1400
|
style: {
|
|
1616
1401
|
background: color || void 0,
|
|
1617
1402
|
margin: margin || void 0,
|
|
1618
|
-
color: textColor
|
|
1403
|
+
color: textColor,
|
|
1404
|
+
borderColor: borderColor || void 0,
|
|
1405
|
+
borderRadius,
|
|
1406
|
+
minWidth
|
|
1619
1407
|
},
|
|
1620
1408
|
children: title
|
|
1621
1409
|
}), children]
|
|
@@ -1761,40 +1549,22 @@ var Trigger$1 = React.forwardRef(({ active, disabled, loading, width, trigger, l
|
|
|
1761
1549
|
});
|
|
1762
1550
|
//#endregion
|
|
1763
1551
|
//#region src/components/menu/menu.tsx
|
|
1764
|
-
var Menu = ({ menu, width, disabled = false, badgeTitle, badgeDot = false, loading = false, closeOnOptionClick = true, maxHeight, testId, open: openProp, setOpen: setOpenProp, tooltip, error, warning, tabIndex, active, groupOrder, offset = 0
|
|
1552
|
+
var Menu = ({ menu, width, disabled = false, badgeTitle, badgeDot = false, loading = false, closeOnOptionClick = true, maxHeight, testId, open: openProp, setOpen: setOpenProp, tooltip, error, warning, tabIndex, active, groupOrder, offset = 0 }) => {
|
|
1765
1553
|
const disabledContext = useContext(DisabledContext);
|
|
1766
1554
|
const triggerRef = useRef(null);
|
|
1767
1555
|
const [internalOpen, setInternalOpen] = useState(false);
|
|
1768
|
-
const
|
|
1769
|
-
const scopeId = useId();
|
|
1770
|
-
const searchTriggerRef = useRef(null);
|
|
1771
|
-
const searchInputRef = useRef(null);
|
|
1772
|
-
const { label, title, trigger, colored, basic, small, sections, component, placement, showAllButton, placeholder } = menu;
|
|
1556
|
+
const { label, title, trigger, colored, basic, small, sections, component, placement, showAllButton } = menu;
|
|
1773
1557
|
const isControlled = isBoolean(openProp) && isFunction(setOpenProp);
|
|
1774
1558
|
const isOpen = isControlled ? openProp : internalOpen;
|
|
1775
1559
|
const isDisabled = disabled || isMenuEmpty(menu) || disabledContext;
|
|
1776
|
-
const isSearchable = trigger === MenuTriggerType.SEARCH && !isValidElement(sections);
|
|
1777
|
-
/** Input trigger, or any popover (root / submenu) belonging to this menu. */
|
|
1778
|
-
const isInSearchScope = (el) => {
|
|
1779
|
-
var _searchTriggerRef$cur;
|
|
1780
|
-
return el instanceof Element && (!!((_searchTriggerRef$cur = searchTriggerRef.current) === null || _searchTriggerRef$cur === void 0 ? void 0 : _searchTriggerRef$cur.contains(el)) || !!el.closest(`[data-menu-scope="${CSS.escape(scopeId)}"]`));
|
|
1781
|
-
};
|
|
1782
1560
|
const handleOpenChange = useCallback((open) => {
|
|
1783
1561
|
if (isDisabled && open) return;
|
|
1784
|
-
if (!open) {
|
|
1785
|
-
setSearchValue("");
|
|
1786
|
-
if (isSearchable && isInSearchScope(document.activeElement) && document.activeElement !== searchInputRef.current) {
|
|
1787
|
-
var _searchInputRef$curre;
|
|
1788
|
-
(_searchInputRef$curre = searchInputRef.current) === null || _searchInputRef$curre === void 0 || _searchInputRef$curre.focus();
|
|
1789
|
-
}
|
|
1790
|
-
}
|
|
1791
1562
|
if (isControlled) setOpenProp(open);
|
|
1792
1563
|
else setInternalOpen(open);
|
|
1793
1564
|
}, [
|
|
1794
1565
|
isControlled,
|
|
1795
1566
|
isDisabled,
|
|
1796
|
-
setOpenProp
|
|
1797
|
-
isSearchable
|
|
1567
|
+
setOpenProp
|
|
1798
1568
|
]);
|
|
1799
1569
|
const close = useCallback(() => {
|
|
1800
1570
|
handleOpenChange(false);
|
|
@@ -1812,23 +1582,6 @@ var Menu = ({ menu, width, disabled = false, badgeTitle, badgeDot = false, loadi
|
|
|
1812
1582
|
evt.stopPropagation();
|
|
1813
1583
|
evt.preventDefault();
|
|
1814
1584
|
};
|
|
1815
|
-
const handleSearchChange = (value) => {
|
|
1816
|
-
setSearchValue(value);
|
|
1817
|
-
if (value && !isOpen) handleOpenChange(true);
|
|
1818
|
-
};
|
|
1819
|
-
useEffect(() => {
|
|
1820
|
-
if (!isSearchable || !isOpen) return;
|
|
1821
|
-
const onPointerDown = (evt) => {
|
|
1822
|
-
if (!isInSearchScope(evt.target)) close();
|
|
1823
|
-
};
|
|
1824
|
-
document.addEventListener("pointerdown", onPointerDown, true);
|
|
1825
|
-
return () => document.removeEventListener("pointerdown", onPointerDown, true);
|
|
1826
|
-
}, [
|
|
1827
|
-
isSearchable,
|
|
1828
|
-
isOpen,
|
|
1829
|
-
close
|
|
1830
|
-
]);
|
|
1831
|
-
const ignorePopoverClose = () => {};
|
|
1832
1585
|
const triggerControl = /* @__PURE__ */ jsx(OverlayTriggerChild, {
|
|
1833
1586
|
behavior: OverlayTriggerBehavior.PRESS,
|
|
1834
1587
|
testId,
|
|
@@ -1856,66 +1609,6 @@ var Menu = ({ menu, width, disabled = false, badgeTitle, badgeDot = false, loadi
|
|
|
1856
1609
|
onClick: handleTriggerClick
|
|
1857
1610
|
})
|
|
1858
1611
|
});
|
|
1859
|
-
const layer = /* @__PURE__ */ jsx(Layer$2, {
|
|
1860
|
-
sections,
|
|
1861
|
-
width,
|
|
1862
|
-
closeOnOptionClick,
|
|
1863
|
-
close,
|
|
1864
|
-
maxHeight,
|
|
1865
|
-
showAllButton,
|
|
1866
|
-
testId: layerTestId,
|
|
1867
|
-
search: isSearchable ? { value: searchValue } : void 0,
|
|
1868
|
-
scopeId: isSearchable ? scopeId : void 0
|
|
1869
|
-
});
|
|
1870
|
-
if (isSearchable) return /* @__PURE__ */ jsx(MenuTrigger, {
|
|
1871
|
-
isOpen,
|
|
1872
|
-
onOpenChange: handleOpenChange,
|
|
1873
|
-
children: /* @__PURE__ */ jsxs(Autocomplete, {
|
|
1874
|
-
inputValue: searchValue,
|
|
1875
|
-
onInputChange: handleSearchChange,
|
|
1876
|
-
children: [/* @__PURE__ */ jsx(TriggerTooltip, {
|
|
1877
|
-
tooltip,
|
|
1878
|
-
error,
|
|
1879
|
-
warning,
|
|
1880
|
-
children: withBadge(/* @__PURE__ */ jsx(SearchTrigger, {
|
|
1881
|
-
ref: searchTriggerRef,
|
|
1882
|
-
inputRef: searchInputRef,
|
|
1883
|
-
label,
|
|
1884
|
-
placeholder,
|
|
1885
|
-
searchValue,
|
|
1886
|
-
isOpen,
|
|
1887
|
-
disabled: isDisabled,
|
|
1888
|
-
small,
|
|
1889
|
-
width,
|
|
1890
|
-
groupOrder,
|
|
1891
|
-
error,
|
|
1892
|
-
warning,
|
|
1893
|
-
tabIndex,
|
|
1894
|
-
testId,
|
|
1895
|
-
isInTable,
|
|
1896
|
-
onOpen: () => handleOpenChange(true),
|
|
1897
|
-
onClose: close
|
|
1898
|
-
}), {
|
|
1899
|
-
badgeTitle,
|
|
1900
|
-
badgeDot
|
|
1901
|
-
})
|
|
1902
|
-
}), /* @__PURE__ */ jsx(AriaOverlayPopover, {
|
|
1903
|
-
className: menu_module_default.menuPopover,
|
|
1904
|
-
placement: resolvedPlacement,
|
|
1905
|
-
triggerRef: searchTriggerRef,
|
|
1906
|
-
portalTriggerRef: searchTriggerRef,
|
|
1907
|
-
offset,
|
|
1908
|
-
isNonModal: true,
|
|
1909
|
-
isOpen,
|
|
1910
|
-
onOpenChange: ignorePopoverClose,
|
|
1911
|
-
"data-testid": menu.testId,
|
|
1912
|
-
children: /* @__PURE__ */ jsx(OverlayScope, {
|
|
1913
|
-
scopeId,
|
|
1914
|
-
children: layer
|
|
1915
|
-
})
|
|
1916
|
-
})]
|
|
1917
|
-
})
|
|
1918
|
-
});
|
|
1919
1612
|
return /* @__PURE__ */ jsxs(MenuTrigger, {
|
|
1920
1613
|
isOpen,
|
|
1921
1614
|
onOpenChange: handleOpenChange,
|
|
@@ -1933,7 +1626,15 @@ var Menu = ({ menu, width, disabled = false, badgeTitle, badgeDot = false, loadi
|
|
|
1933
1626
|
portalTriggerRef: triggerRef,
|
|
1934
1627
|
offset,
|
|
1935
1628
|
"data-testid": menu.testId,
|
|
1936
|
-
children:
|
|
1629
|
+
children: /* @__PURE__ */ jsx(Layer$2, {
|
|
1630
|
+
sections,
|
|
1631
|
+
width,
|
|
1632
|
+
closeOnOptionClick,
|
|
1633
|
+
close,
|
|
1634
|
+
maxHeight,
|
|
1635
|
+
showAllButton,
|
|
1636
|
+
testId: layerTestId
|
|
1637
|
+
})
|
|
1937
1638
|
})]
|
|
1938
1639
|
});
|
|
1939
1640
|
};
|
|
@@ -4065,6 +3766,38 @@ var Layer$1 = ({ listRef, sections, selectedOptions, onSelectOption, focusedOpti
|
|
|
4065
3766
|
children: listBox
|
|
4066
3767
|
});
|
|
4067
3768
|
};
|
|
3769
|
+
var trigger_module_default = {
|
|
3770
|
+
inputInTable: "_inputInTable_c2rg4_1",
|
|
3771
|
+
inputHover: "_inputHover_c2rg4_13",
|
|
3772
|
+
inputFocus: "_inputFocus_c2rg4_18",
|
|
3773
|
+
controlFocusVisible: "_controlFocusVisible_c2rg4_25",
|
|
3774
|
+
inputError: "_inputError_c2rg4_29",
|
|
3775
|
+
inputWarning: "_inputWarning_c2rg4_30",
|
|
3776
|
+
inputDisabled: "_inputDisabled_c2rg4_65",
|
|
3777
|
+
hideScrollbars: "_hideScrollbars_c2rg4_71",
|
|
3778
|
+
trigger: "_trigger_c2rg4_81",
|
|
3779
|
+
isInTable: "_isInTable_c2rg4_97",
|
|
3780
|
+
input: "_input_c2rg4_1",
|
|
3781
|
+
isOpen: "_isOpen_c2rg4_118",
|
|
3782
|
+
disabled: "_disabled_c2rg4_161",
|
|
3783
|
+
icons: "_icons_c2rg4_167",
|
|
3784
|
+
clearAll: "_clearAll_c2rg4_174",
|
|
3785
|
+
iconOpen: "_iconOpen_c2rg4_175",
|
|
3786
|
+
small: "_small_c2rg4_186",
|
|
3787
|
+
triggerInputContainer: "_triggerInputContainer_c2rg4_194",
|
|
3788
|
+
right: "_right_c2rg4_203",
|
|
3789
|
+
multiOptions: "_multiOptions_c2rg4_216",
|
|
3790
|
+
multiOption: "_multiOption_c2rg4_216",
|
|
3791
|
+
label: "_label_c2rg4_244",
|
|
3792
|
+
closeMultiOption: "_closeMultiOption_c2rg4_247",
|
|
3793
|
+
focus: "_focus_c2rg4_258",
|
|
3794
|
+
selectedSingleValue: "_selectedSingleValue_c2rg4_262",
|
|
3795
|
+
placeHolder: "_placeHolder_c2rg4_263",
|
|
3796
|
+
groupOrderFirst: "_groupOrderFirst_c2rg4_302",
|
|
3797
|
+
groupOrderMiddle: "_groupOrderMiddle_c2rg4_303",
|
|
3798
|
+
groupOrderLast: "_groupOrderLast_c2rg4_307",
|
|
3799
|
+
detailedLabel: "_detailedLabel_c2rg4_312"
|
|
3800
|
+
};
|
|
4068
3801
|
//#endregion
|
|
4069
3802
|
//#region src/components/select/custom-select/trigger/multi-selected-options.tsx
|
|
4070
3803
|
var MultiSelectedOptions = ({ selectedOptions, small, width, testId }) => {
|
|
@@ -4109,7 +3842,7 @@ var MultiSelectedOptions = ({ selectedOptions, small, width, testId }) => {
|
|
|
4109
3842
|
};
|
|
4110
3843
|
//#endregion
|
|
4111
3844
|
//#region src/components/select/custom-select/trigger/input.tsx
|
|
4112
|
-
var Input$
|
|
3845
|
+
var Input$1 = ({ selectedOptions, searchable = false, searchValue, onChange = noop, inputRef, error, placeholder = "Select...", small, testId }) => {
|
|
4113
3846
|
const containerRef = useRef(null);
|
|
4114
3847
|
const isMulti = Array.isArray(selectedOptions);
|
|
4115
3848
|
const hasSelectedValues = isMulti ? selectedOptions.length > 0 : !!selectedOptions;
|
|
@@ -4189,7 +3922,7 @@ var Trigger = ({ selectedOptions, searchValue, searchable, clearable, onClickTri
|
|
|
4189
3922
|
"data-error": error || null,
|
|
4190
3923
|
"data-warning": warning || null,
|
|
4191
3924
|
"data-testid": testId,
|
|
4192
|
-
children: [/* @__PURE__ */ jsx(Input$
|
|
3925
|
+
children: [/* @__PURE__ */ jsx(Input$1, {
|
|
4193
3926
|
selectedOptions: selectedOptionsWithDetails,
|
|
4194
3927
|
placeholder,
|
|
4195
3928
|
searchable,
|
|
@@ -6504,7 +6237,7 @@ var Row$1 = ({ row, rowIndex, isHeader = false, columnCount, colSpan, columnHead
|
|
|
6504
6237
|
]);
|
|
6505
6238
|
const rowRef = measureRef ? setMeasuredRowRef : !row.noDrag ? setNodeRef : null;
|
|
6506
6239
|
const style = {
|
|
6507
|
-
transform: !dropDisabled ? CSS
|
|
6240
|
+
transform: !dropDisabled ? CSS.Translate.toString(transform) : void 0,
|
|
6508
6241
|
height,
|
|
6509
6242
|
transition,
|
|
6510
6243
|
opacity: isDragging ? 0 : void 0
|
|
@@ -8981,7 +8714,7 @@ var ListRow = forwardRef(({ item, index, expanding, invokeEditOnRowClick, dragga
|
|
|
8981
8714
|
animateLayoutChanges: () => false
|
|
8982
8715
|
});
|
|
8983
8716
|
const style = {
|
|
8984
|
-
transform: CSS
|
|
8717
|
+
transform: CSS.Translate.toString(transform),
|
|
8985
8718
|
transition,
|
|
8986
8719
|
opacity: isDragging ? 0 : 1
|
|
8987
8720
|
};
|
|
@@ -10487,7 +10220,7 @@ var Link$1 = ({ label, url, icon, onClick, active, disabled, testId, component:
|
|
|
10487
10220
|
};
|
|
10488
10221
|
//#endregion
|
|
10489
10222
|
//#region src/components/top-bar/element/element.tsx
|
|
10490
|
-
var Element
|
|
10223
|
+
var Element = ({ element }) => {
|
|
10491
10224
|
switch (element.type) {
|
|
10492
10225
|
case ElementType.LINK: return /* @__PURE__ */ jsx("div", {
|
|
10493
10226
|
className: top_bar_module_default.item,
|
|
@@ -10558,14 +10291,14 @@ var TopBar = ({ title, appSwitcher, content = [], contentRight = [], warning = "
|
|
|
10558
10291
|
version: title.version,
|
|
10559
10292
|
onClick: title.onClick
|
|
10560
10293
|
}), content.map((element, i) => {
|
|
10561
|
-
if (element) return /* @__PURE__ */ jsx(Element
|
|
10294
|
+
if (element) return /* @__PURE__ */ jsx(Element, { element }, i);
|
|
10562
10295
|
return null;
|
|
10563
10296
|
})]
|
|
10564
10297
|
}),
|
|
10565
10298
|
/* @__PURE__ */ jsx("div", {
|
|
10566
10299
|
className: top_bar_module_default.right,
|
|
10567
10300
|
children: contentRight.map((element, i) => {
|
|
10568
|
-
if (element) return /* @__PURE__ */ jsx(Element
|
|
10301
|
+
if (element) return /* @__PURE__ */ jsx(Element, { element }, i);
|
|
10569
10302
|
return null;
|
|
10570
10303
|
})
|
|
10571
10304
|
})
|
|
@@ -14893,4 +14626,4 @@ var initializeGuiLibrary = (config) => {
|
|
|
14893
14626
|
});
|
|
14894
14627
|
};
|
|
14895
14628
|
//#endregion
|
|
14896
|
-
export { Accordion, AccordionWithDefaultToggle, Actions, Align, AuditLog, Badge, Breadcrumb, BreadcrumbLinkType, Button, ButtonGroup, ButtonPosition, ButtonType, Card, CheckBox, Chevron, Collapse, Color, ColorInput, ColorInputPopover, Column, Dialog, DiffCode, DiffTable, DiffViewer, DisabledContext, Divider, Drawer, ElementType, Empty, ErrorBoundary, Field, FileButton, FileInput, Flex, FormRow, Grid, GroupOrder, Heading, HelpIcon, Icon, IconType, Input, InputGroup, InputGroupAddon, InputReaderMethods, InputType, Label, List, ListHeading, ListSubheading, Loader, Mention, Menu, MenuCarat,
|
|
14629
|
+
export { Accordion, AccordionWithDefaultToggle, Actions, Align, AuditLog, Badge, Breadcrumb, BreadcrumbLinkType, Button, ButtonGroup, ButtonPosition, ButtonType, Card, CheckBox, Chevron, Collapse, Color, ColorInput, ColorInputPopover, Column, Dialog, DiffCode, DiffTable, DiffViewer, DisabledContext, Divider, Drawer, ElementType, Empty, ErrorBoundary, Field, FileButton, FileInput, Flex, FormRow, Grid, GroupOrder, Heading, HelpIcon, Icon, IconType, Input, InputGroup, InputGroupAddon, InputReaderMethods, InputType, Label, List, ListHeading, ListSubheading, Loader, Mention, Menu, MenuCarat, MenuType, Message, MessageType, Modal, NativeSelect, NumberInput, OptionDropdown, Page, Pagination, PopConfirm, Popover, Portal, PrintHeader, ProgressBar, RadioButton, Resizable, RichTextInput, Row, Select, SettingField, SideBar, Skeleton, Slider, SmartUploadModal, Spacer, Spinner, Table, TableImportExport, Tabs, Text, TextArea, TextLink, TextTransform, Theme, Toaster, Toggle, Tooltip, TopBar, Tree, TreeTable, TriggerType, UnitInput, UnitSlider, UnitTable, UsageTracker, dismissToast, initializeContext, initializeGuiLibrary, readFile, toast, useFocus, useKeyboardEvent, useWindowWidth, withChainableErrorBoundary, withErrorBoundary };
|