@oliasoft-open-source/react-ui-library 10.8.0-beta-2 → 10.8.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/global.css +1645 -1655
- package/dist/index.d.ts +6 -34
- package/dist/index.js +106 -372
- package/package.json +1 -1
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,35 +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_1dlok_229",
|
|
1088
|
-
noResults: "_noResults_1dlok_232",
|
|
1089
|
-
searchInput: "_searchInput_1dlok_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"
|
|
1090
1085
|
};
|
|
1091
1086
|
//#endregion
|
|
1092
1087
|
//#region src/components/menu/layer/heading.tsx
|
|
@@ -1210,15 +1205,6 @@ var MenuCarat = /* @__PURE__ */ function(MenuCarat) {
|
|
|
1210
1205
|
MenuCarat["DOWN"] = "down";
|
|
1211
1206
|
return MenuCarat;
|
|
1212
1207
|
}({});
|
|
1213
|
-
/** Menu trigger variants. Extends shared `TriggerType` with Search. */
|
|
1214
|
-
var MenuTriggerType = /* @__PURE__ */ function(MenuTriggerType) {
|
|
1215
|
-
MenuTriggerType["TEXT"] = "Text";
|
|
1216
|
-
MenuTriggerType["BUTTON"] = "Button";
|
|
1217
|
-
MenuTriggerType["DROP_DOWN_BUTTON"] = "DropDownButton";
|
|
1218
|
-
MenuTriggerType["COMPONENT"] = "Component";
|
|
1219
|
-
MenuTriggerType["SEARCH"] = "Search";
|
|
1220
|
-
return MenuTriggerType;
|
|
1221
|
-
}({});
|
|
1222
1208
|
//#endregion
|
|
1223
1209
|
//#region src/components/menu/layer/section.tsx
|
|
1224
1210
|
/** Leaf section types only. Submenus are owned by Layer. */
|
|
@@ -1261,74 +1247,6 @@ var Section$1 = ({ section, closeOnOptionClick, close }) => {
|
|
|
1261
1247
|
}
|
|
1262
1248
|
};
|
|
1263
1249
|
//#endregion
|
|
1264
|
-
//#region src/helpers/search.ts
|
|
1265
|
-
/**
|
|
1266
|
-
* Shared text-search matching for searchable components (Select, Menu).
|
|
1267
|
-
* Case-insensitive substring match — keep behaviour identical across components.
|
|
1268
|
-
*/
|
|
1269
|
-
var normalizeSearch = (value) => String(value !== null && value !== void 0 ? value : "").toLowerCase();
|
|
1270
|
-
var matchesSearch = (query, ...texts) => {
|
|
1271
|
-
const normalizedQuery = normalizeSearch(query);
|
|
1272
|
-
if (!normalizedQuery) return true;
|
|
1273
|
-
return texts.some((text) => text != null && normalizeSearch(text).includes(normalizedQuery));
|
|
1274
|
-
};
|
|
1275
|
-
//#endregion
|
|
1276
|
-
//#region src/components/menu/filter-menu-sections.ts
|
|
1277
|
-
var getSearchText = (label) => typeof label === "string" || typeof label === "number" ? String(label) : "";
|
|
1278
|
-
var isItem = (section) => section.type === MenuType.OPTION || section.type === MenuType.MENU;
|
|
1279
|
-
var isBoundary = (section) => section.type === MenuType.HEADING || section.type === MenuType.DIVIDER;
|
|
1280
|
-
/** Drop headings with no items under them, and leading / trailing / doubled dividers. */
|
|
1281
|
-
var tidy = (sections) => {
|
|
1282
|
-
var _result;
|
|
1283
|
-
const withoutEmptyHeadings = sections.filter((section, i) => {
|
|
1284
|
-
if (section.type !== MenuType.HEADING) return true;
|
|
1285
|
-
const next = sections.slice(i + 1).find((s) => isItem(s) || isBoundary(s));
|
|
1286
|
-
return !!next && isItem(next);
|
|
1287
|
-
});
|
|
1288
|
-
const result = [];
|
|
1289
|
-
withoutEmptyHeadings.forEach((section) => {
|
|
1290
|
-
const previous = result[result.length - 1];
|
|
1291
|
-
if (section.type === MenuType.DIVIDER && (!previous || previous.type === MenuType.DIVIDER)) return;
|
|
1292
|
-
result.push(section);
|
|
1293
|
-
});
|
|
1294
|
-
if (((_result = result[result.length - 1]) === null || _result === void 0 ? void 0 : _result.type) === MenuType.DIVIDER) result.pop();
|
|
1295
|
-
return result;
|
|
1296
|
-
};
|
|
1297
|
-
/**
|
|
1298
|
-
* Filters menu sections by a search query while preserving structure:
|
|
1299
|
-
* - options are kept when their label or description matches
|
|
1300
|
-
* - submenus are kept when their own label matches (with all children), or when any
|
|
1301
|
-
* descendant matches (with children filtered recursively)
|
|
1302
|
-
* - headings / dividers are kept only where they still separate visible items
|
|
1303
|
-
* Labels that are not plain strings/numbers cannot be matched.
|
|
1304
|
-
*/
|
|
1305
|
-
var filterMenuSections = (sections, query) => {
|
|
1306
|
-
if (isValidElement(sections) || !Array.isArray(sections)) return [];
|
|
1307
|
-
if (!normalizeSearch(query)) return sections;
|
|
1308
|
-
return tidy(sections.flatMap((section) => {
|
|
1309
|
-
switch (section === null || section === void 0 ? void 0 : section.type) {
|
|
1310
|
-
case MenuType.HEADING:
|
|
1311
|
-
case MenuType.DIVIDER: return [section];
|
|
1312
|
-
case MenuType.OPTION: return matchesSearch(query, getSearchText(section.label), section.description) ? [section] : [];
|
|
1313
|
-
case MenuType.MENU: {
|
|
1314
|
-
var _section$menu$label, _section$menu, _section$menu$section, _section$menu2;
|
|
1315
|
-
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];
|
|
1316
|
-
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);
|
|
1317
|
-
if (!children.some(isItem)) return [];
|
|
1318
|
-
return [{
|
|
1319
|
-
...section,
|
|
1320
|
-
menu: {
|
|
1321
|
-
trigger: "Text",
|
|
1322
|
-
...section.menu,
|
|
1323
|
-
sections: children
|
|
1324
|
-
}
|
|
1325
|
-
}];
|
|
1326
|
-
}
|
|
1327
|
-
default: return [];
|
|
1328
|
-
}
|
|
1329
|
-
}));
|
|
1330
|
-
};
|
|
1331
|
-
//#endregion
|
|
1332
1250
|
//#region src/components/menu/trigger/text.tsx
|
|
1333
1251
|
var Text$1 = forwardRef(({ label, title, carat, disabled, isOpen, selected, className, ...domProps }, ref) => {
|
|
1334
1252
|
let titleText;
|
|
@@ -1353,22 +1271,11 @@ var Text$1 = forwardRef(({ label, title, carat, disabled, isOpen, selected, clas
|
|
|
1353
1271
|
});
|
|
1354
1272
|
//#endregion
|
|
1355
1273
|
//#region src/components/menu/layer/layer.tsx
|
|
1356
|
-
var MENU_SCOPE_ATTRIBUTE = "data-menu-scope";
|
|
1357
|
-
/**
|
|
1358
|
-
* Marks every popover (root + submenus) belonging to one searchable menu, so outside-press
|
|
1359
|
-
* detection can tell clicks inside the menu apart from clicks elsewhere.
|
|
1360
|
-
*/
|
|
1361
|
-
var OverlayScope = ({ scopeId, children }) => scopeId ? /* @__PURE__ */ jsx("div", {
|
|
1362
|
-
[MENU_SCOPE_ATTRIBUTE]: scopeId,
|
|
1363
|
-
className: menu_module_default.overlayScope,
|
|
1364
|
-
onMouseDown: (evt) => evt.preventDefault(),
|
|
1365
|
-
children
|
|
1366
|
-
}) : /* @__PURE__ */ jsx(Fragment$1, { children });
|
|
1367
1274
|
var getTextValue = (label) => {
|
|
1368
1275
|
if (typeof label === "string" || typeof label === "number") return String(label);
|
|
1369
1276
|
return "";
|
|
1370
1277
|
};
|
|
1371
|
-
var renderSection = (section, index, { closeOnOptionClick, close, maxHeight, width
|
|
1278
|
+
var renderSection = (section, index, { closeOnOptionClick, close, maxHeight, width }) => {
|
|
1372
1279
|
if (section.type === MenuType.MENU) {
|
|
1373
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;
|
|
1374
1281
|
const submenuSections = (_section$menu = section.menu) === null || _section$menu === void 0 ? void 0 : _section$menu.sections;
|
|
@@ -1392,18 +1299,14 @@ var renderSection = (section, index, { closeOnOptionClick, close, maxHeight, wid
|
|
|
1392
1299
|
placement: submenuPlacement,
|
|
1393
1300
|
isNested: true,
|
|
1394
1301
|
"data-testid": (_section$menu6 = section.menu) === null || _section$menu6 === void 0 ? void 0 : _section$menu6.testId,
|
|
1395
|
-
children: /* @__PURE__ */ jsx(
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
maxHeight,
|
|
1404
|
-
testId: nestedTestId ? `${nestedTestId}-layer` : void 0,
|
|
1405
|
-
scopeId
|
|
1406
|
-
})
|
|
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
|
|
1407
1310
|
})
|
|
1408
1311
|
})] }, `${section.type}-${index}`);
|
|
1409
1312
|
}
|
|
@@ -1413,12 +1316,11 @@ var renderSection = (section, index, { closeOnOptionClick, close, maxHeight, wid
|
|
|
1413
1316
|
close
|
|
1414
1317
|
}, `${section.type}-${index}`);
|
|
1415
1318
|
};
|
|
1416
|
-
var Layer$2 = ({ sections, isNested = false, width, closeOnOptionClick, close, maxHeight, showAllButton, testId
|
|
1417
|
-
var _showAllButton$additi, _showAllButton$additi2
|
|
1319
|
+
var Layer$2 = ({ sections, isNested = false, width, closeOnOptionClick, close, maxHeight, showAllButton, testId }) => {
|
|
1320
|
+
var _showAllButton$additi, _showAllButton$additi2;
|
|
1418
1321
|
const [showAll, setShowAll] = useState(!(showAllButton === null || showAllButton === void 0 ? void 0 : showAllButton.visible));
|
|
1419
1322
|
if (isValidElement(sections)) return /* @__PURE__ */ jsx(Fragment$1, { children: sections });
|
|
1420
1323
|
const sectionsArray = sections;
|
|
1421
|
-
const isSearching = !!(search === null || search === void 0 ? void 0 : search.value);
|
|
1422
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) => ({
|
|
1423
1325
|
...s,
|
|
1424
1326
|
closeOnOptionClick,
|
|
@@ -1431,10 +1333,7 @@ var Layer$2 = ({ sections, isNested = false, width, closeOnOptionClick, close, m
|
|
|
1431
1333
|
visible: true,
|
|
1432
1334
|
closeOnOptionClick: false
|
|
1433
1335
|
}] : [];
|
|
1434
|
-
const localSections =
|
|
1435
|
-
...s,
|
|
1436
|
-
closeOnOptionClick
|
|
1437
|
-
})) : (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) => {
|
|
1438
1337
|
return showAll || i <= 3 ? {
|
|
1439
1338
|
...s,
|
|
1440
1339
|
visible: true,
|
|
@@ -1453,128 +1352,14 @@ var Layer$2 = ({ sections, isNested = false, width, closeOnOptionClick, close, m
|
|
|
1453
1352
|
shouldCloseOnSelect: closeOnOptionClick,
|
|
1454
1353
|
autoFocus: isNested ? void 0 : "first",
|
|
1455
1354
|
"data-testid": testId,
|
|
1456
|
-
renderEmptyState: search ? () => /* @__PURE__ */ jsx("div", {
|
|
1457
|
-
className: menu_module_default.noResults,
|
|
1458
|
-
children: "No results"
|
|
1459
|
-
}) : void 0,
|
|
1460
1355
|
children: localSections.map((section, i) => renderSection(section, i, {
|
|
1461
1356
|
closeOnOptionClick: section.closeOnOptionClick,
|
|
1462
1357
|
close,
|
|
1463
1358
|
maxHeight,
|
|
1464
|
-
width
|
|
1465
|
-
scopeId
|
|
1359
|
+
width
|
|
1466
1360
|
}))
|
|
1467
1361
|
});
|
|
1468
1362
|
};
|
|
1469
|
-
var trigger_module_default = {
|
|
1470
|
-
inputInTable: "_inputInTable_c2rg4_1",
|
|
1471
|
-
inputHover: "_inputHover_c2rg4_13",
|
|
1472
|
-
inputFocus: "_inputFocus_c2rg4_18",
|
|
1473
|
-
controlFocusVisible: "_controlFocusVisible_c2rg4_25",
|
|
1474
|
-
inputError: "_inputError_c2rg4_29",
|
|
1475
|
-
inputWarning: "_inputWarning_c2rg4_30",
|
|
1476
|
-
inputDisabled: "_inputDisabled_c2rg4_65",
|
|
1477
|
-
hideScrollbars: "_hideScrollbars_c2rg4_71",
|
|
1478
|
-
trigger: "_trigger_c2rg4_81",
|
|
1479
|
-
isInTable: "_isInTable_c2rg4_97",
|
|
1480
|
-
input: "_input_c2rg4_1",
|
|
1481
|
-
isOpen: "_isOpen_c2rg4_118",
|
|
1482
|
-
disabled: "_disabled_c2rg4_161",
|
|
1483
|
-
icons: "_icons_c2rg4_167",
|
|
1484
|
-
clearAll: "_clearAll_c2rg4_174",
|
|
1485
|
-
iconOpen: "_iconOpen_c2rg4_175",
|
|
1486
|
-
small: "_small_c2rg4_186",
|
|
1487
|
-
triggerInputContainer: "_triggerInputContainer_c2rg4_194",
|
|
1488
|
-
right: "_right_c2rg4_203",
|
|
1489
|
-
multiOptions: "_multiOptions_c2rg4_216",
|
|
1490
|
-
multiOption: "_multiOption_c2rg4_216",
|
|
1491
|
-
label: "_label_c2rg4_244",
|
|
1492
|
-
closeMultiOption: "_closeMultiOption_c2rg4_247",
|
|
1493
|
-
focus: "_focus_c2rg4_258",
|
|
1494
|
-
selectedSingleValue: "_selectedSingleValue_c2rg4_262",
|
|
1495
|
-
placeHolder: "_placeHolder_c2rg4_263",
|
|
1496
|
-
groupOrderFirst: "_groupOrderFirst_c2rg4_302",
|
|
1497
|
-
groupOrderMiddle: "_groupOrderMiddle_c2rg4_303",
|
|
1498
|
-
groupOrderLast: "_groupOrderLast_c2rg4_307",
|
|
1499
|
-
detailedLabel: "_detailedLabel_c2rg4_312"
|
|
1500
|
-
};
|
|
1501
|
-
//#endregion
|
|
1502
|
-
//#region src/components/menu/trigger/search-trigger.tsx
|
|
1503
|
-
var hasDisplayValue = (value) => value != null && value !== "";
|
|
1504
|
-
var groupOrderClass = (groupOrder) => {
|
|
1505
|
-
switch (groupOrder) {
|
|
1506
|
-
case GroupOrder.FIRST: return trigger_module_default.groupOrderFirst;
|
|
1507
|
-
case GroupOrder.LAST: return trigger_module_default.groupOrderLast;
|
|
1508
|
-
case void 0: return;
|
|
1509
|
-
default: return trigger_module_default.groupOrderMiddle;
|
|
1510
|
-
}
|
|
1511
|
-
};
|
|
1512
|
-
/**
|
|
1513
|
-
* Select-style search input acting as the Menu trigger. Must render inside an RAC `Autocomplete`
|
|
1514
|
-
* (wires the input to the menu via virtual focus / aria-activedescendant) and a `MenuTrigger`.
|
|
1515
|
-
* Behaviour mirrors the searchable Select: click anywhere toggles, typing / ArrowDown opens,
|
|
1516
|
-
* Escape / Tab close.
|
|
1517
|
-
*/
|
|
1518
|
-
var SearchTrigger = forwardRef(({ label, placeholder, searchValue, isOpen, disabled, small, width, groupOrder, error, warning, tabIndex, testId, isInTable, inputRef, onOpen, onClose }, ref) => {
|
|
1519
|
-
const handleMouseDown = (evt) => evt.preventDefault();
|
|
1520
|
-
const handleClick = () => {
|
|
1521
|
-
var _inputRef$current;
|
|
1522
|
-
if (disabled) return;
|
|
1523
|
-
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();
|
|
1524
|
-
if (isOpen) onClose();
|
|
1525
|
-
else onOpen();
|
|
1526
|
-
};
|
|
1527
|
-
const handleKeyDown = (evt) => {
|
|
1528
|
-
if (!isOpen && evt.key === "ArrowDown") onOpen();
|
|
1529
|
-
if (isOpen && (evt.key === "Escape" || evt.key === "Tab")) onClose();
|
|
1530
|
-
};
|
|
1531
|
-
const showLabel = !searchValue && hasDisplayValue(label);
|
|
1532
|
-
const showPlaceholder = !searchValue && !showLabel && hasDisplayValue(placeholder);
|
|
1533
|
-
const ariaLabel = typeof label === "string" && label || typeof placeholder === "string" && placeholder || "Search";
|
|
1534
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
1535
|
-
ref,
|
|
1536
|
-
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)),
|
|
1537
|
-
style: { width },
|
|
1538
|
-
onMouseDown: handleMouseDown,
|
|
1539
|
-
onClick: handleClick,
|
|
1540
|
-
"data-error": error || null,
|
|
1541
|
-
"data-warning": warning || null,
|
|
1542
|
-
"data-testid": testId,
|
|
1543
|
-
children: [/* @__PURE__ */ jsxs(SearchField, {
|
|
1544
|
-
"aria-label": ariaLabel,
|
|
1545
|
-
isDisabled: disabled,
|
|
1546
|
-
onKeyDown: handleKeyDown,
|
|
1547
|
-
className: trigger_module_default.triggerInputContainer,
|
|
1548
|
-
children: [
|
|
1549
|
-
showLabel && /* @__PURE__ */ jsx("span", {
|
|
1550
|
-
className: trigger_module_default.selectedSingleValue,
|
|
1551
|
-
"data-testid": testId && `${testId}-value`,
|
|
1552
|
-
children: label
|
|
1553
|
-
}),
|
|
1554
|
-
showPlaceholder && /* @__PURE__ */ jsx("span", {
|
|
1555
|
-
className: trigger_module_default.placeHolder,
|
|
1556
|
-
children: placeholder
|
|
1557
|
-
}),
|
|
1558
|
-
/* @__PURE__ */ jsx(Input$1, {
|
|
1559
|
-
ref: inputRef,
|
|
1560
|
-
className: cx(trigger_module_default.input, menu_module_default.searchInput),
|
|
1561
|
-
size: searchValue.length + 1,
|
|
1562
|
-
tabIndex,
|
|
1563
|
-
"data-testid": testId ? `${testId}-input` : void 0
|
|
1564
|
-
})
|
|
1565
|
-
]
|
|
1566
|
-
}), /* @__PURE__ */ jsx("span", {
|
|
1567
|
-
className: trigger_module_default.icons,
|
|
1568
|
-
children: /* @__PURE__ */ jsx(Pressable$1, {
|
|
1569
|
-
isDisabled: true,
|
|
1570
|
-
children: /* @__PURE__ */ jsx("span", {
|
|
1571
|
-
className: trigger_module_default.iconOpen,
|
|
1572
|
-
children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHEVRON_DOWN })
|
|
1573
|
-
})
|
|
1574
|
-
})
|
|
1575
|
-
})]
|
|
1576
|
-
});
|
|
1577
|
-
});
|
|
1578
1363
|
//#endregion
|
|
1579
1364
|
//#region src/components/menu/layer/placementOptions.ts
|
|
1580
1365
|
var placementOptions = (placement, isNested = false) => ({ placement: placement || (isNested ? "right-start" : "bottom-start") });
|
|
@@ -1587,12 +1372,13 @@ var getType = (item) => {
|
|
|
1587
1372
|
return Array.isArray(item) ? "array" : typeof item;
|
|
1588
1373
|
};
|
|
1589
1374
|
var badge_module_default = {
|
|
1590
|
-
wrapper: "
|
|
1591
|
-
badge: "
|
|
1592
|
-
label: "
|
|
1593
|
-
small: "
|
|
1594
|
-
|
|
1595
|
-
|
|
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"
|
|
1596
1382
|
};
|
|
1597
1383
|
//#endregion
|
|
1598
1384
|
//#region src/components/badge/badge.tsx
|
|
@@ -1604,17 +1390,20 @@ var isDark = (hexColor) => {
|
|
|
1604
1390
|
const b = rgb >> 0 & 255;
|
|
1605
1391
|
return .2126 * r + .7152 * g + .0722 * b < 128;
|
|
1606
1392
|
};
|
|
1607
|
-
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 }) => {
|
|
1608
1394
|
const visible = !(title === null && dot === false);
|
|
1609
1395
|
const textColor = textColorProp || (isDark(color) ? "#fff" : "rgba(0, 0, 0, 0.6)");
|
|
1610
1396
|
return /* @__PURE__ */ jsxs("div", {
|
|
1611
1397
|
className: badge_module_default.wrapper,
|
|
1612
1398
|
children: [visible && /* @__PURE__ */ jsx("sup", {
|
|
1613
|
-
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 : ""),
|
|
1614
1400
|
style: {
|
|
1615
1401
|
background: color || void 0,
|
|
1616
1402
|
margin: margin || void 0,
|
|
1617
|
-
color: textColor
|
|
1403
|
+
color: textColor,
|
|
1404
|
+
borderColor: borderColor || void 0,
|
|
1405
|
+
borderRadius,
|
|
1406
|
+
minWidth
|
|
1618
1407
|
},
|
|
1619
1408
|
children: title
|
|
1620
1409
|
}), children]
|
|
@@ -1760,40 +1549,22 @@ var Trigger$1 = React.forwardRef(({ active, disabled, loading, width, trigger, l
|
|
|
1760
1549
|
});
|
|
1761
1550
|
//#endregion
|
|
1762
1551
|
//#region src/components/menu/menu.tsx
|
|
1763
|
-
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 }) => {
|
|
1764
1553
|
const disabledContext = useContext(DisabledContext);
|
|
1765
1554
|
const triggerRef = useRef(null);
|
|
1766
1555
|
const [internalOpen, setInternalOpen] = useState(false);
|
|
1767
|
-
const
|
|
1768
|
-
const scopeId = useId();
|
|
1769
|
-
const searchTriggerRef = useRef(null);
|
|
1770
|
-
const searchInputRef = useRef(null);
|
|
1771
|
-
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;
|
|
1772
1557
|
const isControlled = isBoolean(openProp) && isFunction(setOpenProp);
|
|
1773
1558
|
const isOpen = isControlled ? openProp : internalOpen;
|
|
1774
1559
|
const isDisabled = disabled || isMenuEmpty(menu) || disabledContext;
|
|
1775
|
-
const isSearchable = trigger === MenuTriggerType.SEARCH && !isValidElement(sections);
|
|
1776
|
-
/** Input trigger, or any popover (root / submenu) belonging to this menu. */
|
|
1777
|
-
const isInSearchScope = (el) => {
|
|
1778
|
-
var _searchTriggerRef$cur;
|
|
1779
|
-
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)}"]`));
|
|
1780
|
-
};
|
|
1781
1560
|
const handleOpenChange = useCallback((open) => {
|
|
1782
1561
|
if (isDisabled && open) return;
|
|
1783
|
-
if (!open) {
|
|
1784
|
-
setSearchValue("");
|
|
1785
|
-
if (isSearchable && isInSearchScope(document.activeElement) && document.activeElement !== searchInputRef.current) {
|
|
1786
|
-
var _searchInputRef$curre;
|
|
1787
|
-
(_searchInputRef$curre = searchInputRef.current) === null || _searchInputRef$curre === void 0 || _searchInputRef$curre.focus();
|
|
1788
|
-
}
|
|
1789
|
-
}
|
|
1790
1562
|
if (isControlled) setOpenProp(open);
|
|
1791
1563
|
else setInternalOpen(open);
|
|
1792
1564
|
}, [
|
|
1793
1565
|
isControlled,
|
|
1794
1566
|
isDisabled,
|
|
1795
|
-
setOpenProp
|
|
1796
|
-
isSearchable
|
|
1567
|
+
setOpenProp
|
|
1797
1568
|
]);
|
|
1798
1569
|
const close = useCallback(() => {
|
|
1799
1570
|
handleOpenChange(false);
|
|
@@ -1811,23 +1582,6 @@ var Menu = ({ menu, width, disabled = false, badgeTitle, badgeDot = false, loadi
|
|
|
1811
1582
|
evt.stopPropagation();
|
|
1812
1583
|
evt.preventDefault();
|
|
1813
1584
|
};
|
|
1814
|
-
const handleSearchChange = (value) => {
|
|
1815
|
-
setSearchValue(value);
|
|
1816
|
-
if (value && !isOpen) handleOpenChange(true);
|
|
1817
|
-
};
|
|
1818
|
-
useEffect(() => {
|
|
1819
|
-
if (!isSearchable || !isOpen) return;
|
|
1820
|
-
const onPointerDown = (evt) => {
|
|
1821
|
-
if (!isInSearchScope(evt.target)) close();
|
|
1822
|
-
};
|
|
1823
|
-
document.addEventListener("pointerdown", onPointerDown, true);
|
|
1824
|
-
return () => document.removeEventListener("pointerdown", onPointerDown, true);
|
|
1825
|
-
}, [
|
|
1826
|
-
isSearchable,
|
|
1827
|
-
isOpen,
|
|
1828
|
-
close
|
|
1829
|
-
]);
|
|
1830
|
-
const ignorePopoverClose = () => {};
|
|
1831
1585
|
const triggerControl = /* @__PURE__ */ jsx(OverlayTriggerChild, {
|
|
1832
1586
|
behavior: OverlayTriggerBehavior.PRESS,
|
|
1833
1587
|
testId,
|
|
@@ -1855,66 +1609,6 @@ var Menu = ({ menu, width, disabled = false, badgeTitle, badgeDot = false, loadi
|
|
|
1855
1609
|
onClick: handleTriggerClick
|
|
1856
1610
|
})
|
|
1857
1611
|
});
|
|
1858
|
-
const layer = /* @__PURE__ */ jsx(Layer$2, {
|
|
1859
|
-
sections,
|
|
1860
|
-
width,
|
|
1861
|
-
closeOnOptionClick,
|
|
1862
|
-
close,
|
|
1863
|
-
maxHeight,
|
|
1864
|
-
showAllButton,
|
|
1865
|
-
testId: layerTestId,
|
|
1866
|
-
search: isSearchable ? { value: searchValue } : void 0,
|
|
1867
|
-
scopeId: isSearchable ? scopeId : void 0
|
|
1868
|
-
});
|
|
1869
|
-
if (isSearchable) return /* @__PURE__ */ jsx(MenuTrigger, {
|
|
1870
|
-
isOpen,
|
|
1871
|
-
onOpenChange: handleOpenChange,
|
|
1872
|
-
children: /* @__PURE__ */ jsxs(Autocomplete, {
|
|
1873
|
-
inputValue: searchValue,
|
|
1874
|
-
onInputChange: handleSearchChange,
|
|
1875
|
-
children: [/* @__PURE__ */ jsx(TriggerTooltip, {
|
|
1876
|
-
tooltip,
|
|
1877
|
-
error,
|
|
1878
|
-
warning,
|
|
1879
|
-
children: withBadge(/* @__PURE__ */ jsx(SearchTrigger, {
|
|
1880
|
-
ref: searchTriggerRef,
|
|
1881
|
-
inputRef: searchInputRef,
|
|
1882
|
-
label,
|
|
1883
|
-
placeholder,
|
|
1884
|
-
searchValue,
|
|
1885
|
-
isOpen,
|
|
1886
|
-
disabled: isDisabled,
|
|
1887
|
-
small,
|
|
1888
|
-
width,
|
|
1889
|
-
groupOrder,
|
|
1890
|
-
error,
|
|
1891
|
-
warning,
|
|
1892
|
-
tabIndex,
|
|
1893
|
-
testId,
|
|
1894
|
-
isInTable,
|
|
1895
|
-
onOpen: () => handleOpenChange(true),
|
|
1896
|
-
onClose: close
|
|
1897
|
-
}), {
|
|
1898
|
-
badgeTitle,
|
|
1899
|
-
badgeDot
|
|
1900
|
-
})
|
|
1901
|
-
}), /* @__PURE__ */ jsx(AriaOverlayPopover, {
|
|
1902
|
-
className: menu_module_default.menuPopover,
|
|
1903
|
-
placement: resolvedPlacement,
|
|
1904
|
-
triggerRef: searchTriggerRef,
|
|
1905
|
-
portalTriggerRef: searchTriggerRef,
|
|
1906
|
-
offset,
|
|
1907
|
-
isNonModal: true,
|
|
1908
|
-
isOpen,
|
|
1909
|
-
onOpenChange: ignorePopoverClose,
|
|
1910
|
-
"data-testid": menu.testId,
|
|
1911
|
-
children: /* @__PURE__ */ jsx(OverlayScope, {
|
|
1912
|
-
scopeId,
|
|
1913
|
-
children: layer
|
|
1914
|
-
})
|
|
1915
|
-
})]
|
|
1916
|
-
})
|
|
1917
|
-
});
|
|
1918
1612
|
return /* @__PURE__ */ jsxs(MenuTrigger, {
|
|
1919
1613
|
isOpen,
|
|
1920
1614
|
onOpenChange: handleOpenChange,
|
|
@@ -1932,7 +1626,15 @@ var Menu = ({ menu, width, disabled = false, badgeTitle, badgeDot = false, loadi
|
|
|
1932
1626
|
portalTriggerRef: triggerRef,
|
|
1933
1627
|
offset,
|
|
1934
1628
|
"data-testid": menu.testId,
|
|
1935
|
-
children:
|
|
1629
|
+
children: /* @__PURE__ */ jsx(Layer$2, {
|
|
1630
|
+
sections,
|
|
1631
|
+
width,
|
|
1632
|
+
closeOnOptionClick,
|
|
1633
|
+
close,
|
|
1634
|
+
maxHeight,
|
|
1635
|
+
showAllButton,
|
|
1636
|
+
testId: layerTestId
|
|
1637
|
+
})
|
|
1936
1638
|
})]
|
|
1937
1639
|
});
|
|
1938
1640
|
};
|
|
@@ -4064,6 +3766,38 @@ var Layer$1 = ({ listRef, sections, selectedOptions, onSelectOption, focusedOpti
|
|
|
4064
3766
|
children: listBox
|
|
4065
3767
|
});
|
|
4066
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
|
+
};
|
|
4067
3801
|
//#endregion
|
|
4068
3802
|
//#region src/components/select/custom-select/trigger/multi-selected-options.tsx
|
|
4069
3803
|
var MultiSelectedOptions = ({ selectedOptions, small, width, testId }) => {
|
|
@@ -4108,7 +3842,7 @@ var MultiSelectedOptions = ({ selectedOptions, small, width, testId }) => {
|
|
|
4108
3842
|
};
|
|
4109
3843
|
//#endregion
|
|
4110
3844
|
//#region src/components/select/custom-select/trigger/input.tsx
|
|
4111
|
-
var Input$
|
|
3845
|
+
var Input$1 = ({ selectedOptions, searchable = false, searchValue, onChange = noop, inputRef, error, placeholder = "Select...", small, testId }) => {
|
|
4112
3846
|
const containerRef = useRef(null);
|
|
4113
3847
|
const isMulti = Array.isArray(selectedOptions);
|
|
4114
3848
|
const hasSelectedValues = isMulti ? selectedOptions.length > 0 : !!selectedOptions;
|
|
@@ -4188,7 +3922,7 @@ var Trigger = ({ selectedOptions, searchValue, searchable, clearable, onClickTri
|
|
|
4188
3922
|
"data-error": error || null,
|
|
4189
3923
|
"data-warning": warning || null,
|
|
4190
3924
|
"data-testid": testId,
|
|
4191
|
-
children: [/* @__PURE__ */ jsx(Input$
|
|
3925
|
+
children: [/* @__PURE__ */ jsx(Input$1, {
|
|
4192
3926
|
selectedOptions: selectedOptionsWithDetails,
|
|
4193
3927
|
placeholder,
|
|
4194
3928
|
searchable,
|
|
@@ -6503,7 +6237,7 @@ var Row$1 = ({ row, rowIndex, isHeader = false, columnCount, colSpan, columnHead
|
|
|
6503
6237
|
]);
|
|
6504
6238
|
const rowRef = measureRef ? setMeasuredRowRef : !row.noDrag ? setNodeRef : null;
|
|
6505
6239
|
const style = {
|
|
6506
|
-
transform: !dropDisabled ? CSS
|
|
6240
|
+
transform: !dropDisabled ? CSS.Translate.toString(transform) : void 0,
|
|
6507
6241
|
height,
|
|
6508
6242
|
transition,
|
|
6509
6243
|
opacity: isDragging ? 0 : void 0
|
|
@@ -8980,7 +8714,7 @@ var ListRow = forwardRef(({ item, index, expanding, invokeEditOnRowClick, dragga
|
|
|
8980
8714
|
animateLayoutChanges: () => false
|
|
8981
8715
|
});
|
|
8982
8716
|
const style = {
|
|
8983
|
-
transform: CSS
|
|
8717
|
+
transform: CSS.Translate.toString(transform),
|
|
8984
8718
|
transition,
|
|
8985
8719
|
opacity: isDragging ? 0 : 1
|
|
8986
8720
|
};
|
|
@@ -10486,7 +10220,7 @@ var Link$1 = ({ label, url, icon, onClick, active, disabled, testId, component:
|
|
|
10486
10220
|
};
|
|
10487
10221
|
//#endregion
|
|
10488
10222
|
//#region src/components/top-bar/element/element.tsx
|
|
10489
|
-
var Element
|
|
10223
|
+
var Element = ({ element }) => {
|
|
10490
10224
|
switch (element.type) {
|
|
10491
10225
|
case ElementType.LINK: return /* @__PURE__ */ jsx("div", {
|
|
10492
10226
|
className: top_bar_module_default.item,
|
|
@@ -10557,14 +10291,14 @@ var TopBar = ({ title, appSwitcher, content = [], contentRight = [], warning = "
|
|
|
10557
10291
|
version: title.version,
|
|
10558
10292
|
onClick: title.onClick
|
|
10559
10293
|
}), content.map((element, i) => {
|
|
10560
|
-
if (element) return /* @__PURE__ */ jsx(Element
|
|
10294
|
+
if (element) return /* @__PURE__ */ jsx(Element, { element }, i);
|
|
10561
10295
|
return null;
|
|
10562
10296
|
})]
|
|
10563
10297
|
}),
|
|
10564
10298
|
/* @__PURE__ */ jsx("div", {
|
|
10565
10299
|
className: top_bar_module_default.right,
|
|
10566
10300
|
children: contentRight.map((element, i) => {
|
|
10567
|
-
if (element) return /* @__PURE__ */ jsx(Element
|
|
10301
|
+
if (element) return /* @__PURE__ */ jsx(Element, { element }, i);
|
|
10568
10302
|
return null;
|
|
10569
10303
|
})
|
|
10570
10304
|
})
|
|
@@ -14892,4 +14626,4 @@ var initializeGuiLibrary = (config) => {
|
|
|
14892
14626
|
});
|
|
14893
14627
|
};
|
|
14894
14628
|
//#endregion
|
|
14895
|
-
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 };
|