@mongodb-js/compass-components 1.42.0 → 1.44.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/lib/components/actions/dropdown-menu-button.d.ts +1 -1
- package/lib/components/actions/dropdown-menu-button.d.ts.map +1 -1
- package/lib/components/actions/dropdown-menu-button.js +2 -3
- package/lib/components/actions/dropdown-menu-button.js.map +1 -1
- package/lib/components/actions/item-action-group.d.ts.map +1 -1
- package/lib/components/actions/item-action-group.js +1 -2
- package/lib/components/actions/item-action-group.js.map +1 -1
- package/lib/components/actions/item-action-menu.d.ts +1 -3
- package/lib/components/actions/item-action-menu.d.ts.map +1 -1
- package/lib/components/actions/item-action-menu.js +1 -8
- package/lib/components/actions/item-action-menu.js.map +1 -1
- package/lib/components/actions/types.d.ts +1 -0
- package/lib/components/actions/types.d.ts.map +1 -1
- package/lib/components/actions/utils.d.ts +3 -0
- package/lib/components/actions/utils.d.ts.map +1 -1
- package/lib/components/actions/utils.js +27 -0
- package/lib/components/actions/utils.js.map +1 -1
- package/lib/components/context-menu.d.ts +1 -1
- package/lib/components/context-menu.d.ts.map +1 -1
- package/lib/components/context-menu.js.map +1 -1
- package/lib/components/document-list/document-edit-actions-footer.d.ts.map +1 -1
- package/lib/components/document-list/document-edit-actions-footer.js +31 -26
- package/lib/components/document-list/document-edit-actions-footer.js.map +1 -1
- package/lib/components/drawer/constants.d.ts +9 -0
- package/lib/components/drawer/constants.d.ts.map +1 -0
- package/lib/components/drawer/constants.js +13 -0
- package/lib/components/drawer/constants.js.map +1 -0
- package/lib/components/drawer/drawer/drawer.constants.d.ts +3 -0
- package/lib/components/drawer/drawer/drawer.constants.d.ts.map +1 -0
- package/lib/components/drawer/drawer/drawer.constants.js +6 -0
- package/lib/components/drawer/drawer/drawer.constants.js.map +1 -0
- package/lib/components/drawer/drawer/drawer.d.ts +4 -0
- package/lib/components/drawer/drawer/drawer.d.ts.map +1 -0
- package/lib/components/drawer/drawer/drawer.js +137 -0
- package/lib/components/drawer/drawer/drawer.js.map +1 -0
- package/lib/components/drawer/drawer/drawer.styles.d.ts +29 -0
- package/lib/components/drawer/drawer/drawer.styles.d.ts.map +1 -0
- package/lib/components/drawer/drawer/drawer.styles.js +174 -0
- package/lib/components/drawer/drawer/drawer.styles.js.map +1 -0
- package/lib/components/drawer/drawer/drawer.types.d.ts +35 -0
- package/lib/components/drawer/drawer/drawer.types.d.ts.map +1 -0
- package/lib/components/drawer/drawer/drawer.types.js +13 -0
- package/lib/components/drawer/drawer/drawer.types.js.map +1 -0
- package/lib/components/drawer/drawer/index.d.ts +5 -0
- package/lib/components/drawer/drawer/index.d.ts.map +1 -0
- package/lib/components/drawer/drawer/index.js +12 -0
- package/lib/components/drawer/drawer/index.js.map +1 -0
- package/lib/components/drawer/drawer-layout/drawer-layout.d.ts +17 -0
- package/lib/components/drawer/drawer-layout/drawer-layout.d.ts.map +1 -0
- package/lib/components/drawer/drawer-layout/drawer-layout.js +57 -0
- package/lib/components/drawer/drawer-layout/drawer-layout.js.map +1 -0
- package/lib/components/drawer/drawer-layout/drawer-layout.types.d.ts +34 -0
- package/lib/components/drawer/drawer-layout/drawer-layout.types.d.ts.map +1 -0
- package/lib/components/drawer/drawer-layout/drawer-layout.types.js +3 -0
- package/lib/components/drawer/drawer-layout/drawer-layout.types.js.map +1 -0
- package/lib/components/drawer/drawer-layout/index.d.ts +3 -0
- package/lib/components/drawer/drawer-layout/index.d.ts.map +1 -0
- package/lib/components/drawer/drawer-layout/index.js +6 -0
- package/lib/components/drawer/drawer-layout/index.js.map +1 -0
- package/lib/components/drawer/drawer-stack-context/drawer-stack-context.d.ts +8 -0
- package/lib/components/drawer/drawer-stack-context/drawer-stack-context.d.ts.map +1 -0
- package/lib/components/drawer/drawer-stack-context/drawer-stack-context.js +71 -0
- package/lib/components/drawer/drawer-stack-context/drawer-stack-context.js.map +1 -0
- package/lib/components/drawer/drawer-stack-context/drawer-stack-context.types.d.ts +21 -0
- package/lib/components/drawer/drawer-stack-context/drawer-stack-context.types.d.ts.map +1 -0
- package/lib/components/drawer/drawer-stack-context/drawer-stack-context.types.js +3 -0
- package/lib/components/drawer/drawer-stack-context/drawer-stack-context.types.js.map +1 -0
- package/lib/components/drawer/drawer-stack-context/index.d.ts +3 -0
- package/lib/components/drawer/drawer-stack-context/index.d.ts.map +1 -0
- package/lib/components/drawer/drawer-stack-context/index.js +8 -0
- package/lib/components/drawer/drawer-stack-context/index.js.map +1 -0
- package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.d.ts +6 -0
- package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.d.ts.map +1 -0
- package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.js +85 -0
- package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.js.map +1 -0
- package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.types.d.ts +37 -0
- package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.types.d.ts.map +1 -0
- package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.types.js +3 -0
- package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.types.js.map +1 -0
- package/lib/components/drawer/drawer-toolbar-context/index.d.ts +2 -0
- package/lib/components/drawer/drawer-toolbar-context/index.d.ts.map +1 -0
- package/lib/components/drawer/drawer-toolbar-context/index.js +7 -0
- package/lib/components/drawer/drawer-toolbar-context/index.js.map +1 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout-container.d.ts +18 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout-container.d.ts.map +1 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout-container.js +82 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout-container.js.map +1 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.d.ts +15 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.d.ts.map +1 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.js +50 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.js.map +1 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.styles.d.ts +2 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.styles.d.ts.map +1 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.styles.js +11 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.styles.js.map +1 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.types.d.ts +44 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.types.d.ts.map +1 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.types.js +3 -0
- package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.types.js.map +1 -0
- package/lib/components/drawer/drawer-toolbar-layout/index.d.ts +3 -0
- package/lib/components/drawer/drawer-toolbar-layout/index.d.ts.map +1 -0
- package/lib/components/drawer/drawer-toolbar-layout/index.js +6 -0
- package/lib/components/drawer/drawer-toolbar-layout/index.js.map +1 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.d.ts +11 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.d.ts.map +1 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.js +63 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.js.map +1 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.styles.d.ts +10 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.styles.d.ts.map +1 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.styles.js +137 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.styles.js.map +1 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.types.d.ts +11 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.types.d.ts.map +1 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.types.js +3 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.types.js.map +1 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/index.d.ts +2 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/index.d.ts.map +1 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/index.js +6 -0
- package/lib/components/drawer/drawer-with-toolbar-wrapper/index.js.map +1 -0
- package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.d.ts +12 -0
- package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.d.ts.map +1 -0
- package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.js +55 -0
- package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.js.map +1 -0
- package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.styles.d.ts +6 -0
- package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.styles.d.ts.map +1 -0
- package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.styles.js +54 -0
- package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.styles.js.map +1 -0
- package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.types.d.ts +8 -0
- package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.types.d.ts.map +1 -0
- package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.types.js +3 -0
- package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.types.js.map +1 -0
- package/lib/components/drawer/embedded-drawer-layout/index.d.ts +3 -0
- package/lib/components/drawer/embedded-drawer-layout/index.d.ts.map +1 -0
- package/lib/components/drawer/embedded-drawer-layout/index.js +6 -0
- package/lib/components/drawer/embedded-drawer-layout/index.js.map +1 -0
- package/lib/components/drawer/index.d.ts +6 -0
- package/lib/components/drawer/index.d.ts.map +1 -0
- package/lib/components/drawer/index.js +17 -0
- package/lib/components/drawer/index.js.map +1 -0
- package/lib/components/drawer/layout-component/index.d.ts +3 -0
- package/lib/components/drawer/layout-component/index.d.ts.map +1 -0
- package/lib/components/drawer/layout-component/index.js +6 -0
- package/lib/components/drawer/layout-component/index.js.map +1 -0
- package/lib/components/drawer/layout-component/layout-component.d.ts +18 -0
- package/lib/components/drawer/layout-component/layout-component.d.ts.map +1 -0
- package/lib/components/drawer/layout-component/layout-component.js +53 -0
- package/lib/components/drawer/layout-component/layout-component.js.map +1 -0
- package/lib/components/drawer/layout-component/layout-component.styles.d.ts +20 -0
- package/lib/components/drawer/layout-component/layout-component.styles.d.ts.map +1 -0
- package/lib/components/drawer/layout-component/layout-component.styles.js +3 -0
- package/lib/components/drawer/layout-component/layout-component.styles.js.map +1 -0
- package/lib/components/drawer/overlay-drawer-layout/index.d.ts +3 -0
- package/lib/components/drawer/overlay-drawer-layout/index.d.ts.map +1 -0
- package/lib/components/drawer/overlay-drawer-layout/index.js +6 -0
- package/lib/components/drawer/overlay-drawer-layout/index.js.map +1 -0
- package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.d.ts +11 -0
- package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.d.ts.map +1 -0
- package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.js +54 -0
- package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.js.map +1 -0
- package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.styles.d.ts +5 -0
- package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.styles.d.ts.map +1 -0
- package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.styles.js +27 -0
- package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.styles.js.map +1 -0
- package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.types.d.ts +3 -0
- package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.types.d.ts.map +1 -0
- package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.types.js +3 -0
- package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.types.js.map +1 -0
- package/lib/components/drawer/utils/get-lg-ids.d.ts +8 -0
- package/lib/components/drawer/utils/get-lg-ids.d.ts.map +1 -0
- package/lib/components/drawer/utils/get-lg-ids.js +11 -0
- package/lib/components/drawer/utils/get-lg-ids.js.map +1 -0
- package/lib/components/drawer/utils/index.d.ts +2 -0
- package/lib/components/drawer/utils/index.d.ts.map +1 -0
- package/lib/components/drawer/utils/index.js +7 -0
- package/lib/components/drawer/utils/index.js.map +1 -0
- package/lib/components/leafygreen.d.ts +1 -0
- package/lib/components/leafygreen.d.ts.map +1 -1
- package/lib/components/leafygreen.js +9 -2
- package/lib/components/leafygreen.js.map +1 -1
- package/lib/components/toolbar/constants.d.ts +3 -0
- package/lib/components/toolbar/constants.d.ts.map +1 -0
- package/lib/components/toolbar/constants.js +6 -0
- package/lib/components/toolbar/constants.js.map +1 -0
- package/lib/components/toolbar/context/index.d.ts +3 -0
- package/lib/components/toolbar/context/index.d.ts.map +1 -0
- package/lib/components/toolbar/context/index.js +10 -0
- package/lib/components/toolbar/context/index.js.map +1 -0
- package/lib/components/toolbar/context/toolbar-context.d.ts +6 -0
- package/lib/components/toolbar/context/toolbar-context.d.ts.map +1 -0
- package/lib/components/toolbar/context/toolbar-context.js +65 -0
- package/lib/components/toolbar/context/toolbar-context.js.map +1 -0
- package/lib/components/toolbar/context/toolbar-context.types.d.ts +21 -0
- package/lib/components/toolbar/context/toolbar-context.types.d.ts.map +1 -0
- package/lib/components/toolbar/context/toolbar-context.types.js +3 -0
- package/lib/components/toolbar/context/toolbar-context.types.js.map +1 -0
- package/lib/components/toolbar/context/toolbar-descendants-context.d.ts +5 -0
- package/lib/components/toolbar/context/toolbar-descendants-context.d.ts.map +1 -0
- package/lib/components/toolbar/context/toolbar-descendants-context.js +10 -0
- package/lib/components/toolbar/context/toolbar-descendants-context.js.map +1 -0
- package/lib/components/toolbar/index.d.ts +5 -0
- package/lib/components/toolbar/index.d.ts.map +1 -0
- package/lib/components/toolbar/index.js +27 -0
- package/lib/components/toolbar/index.js.map +1 -0
- package/lib/components/toolbar/toolbar/index.d.ts +4 -0
- package/lib/components/toolbar/toolbar/index.d.ts.map +1 -0
- package/lib/components/toolbar/toolbar/index.js +8 -0
- package/lib/components/toolbar/toolbar/index.js.map +1 -0
- package/lib/components/toolbar/toolbar/toolbar.d.ts +4 -0
- package/lib/components/toolbar/toolbar/toolbar.d.ts.map +1 -0
- package/lib/components/toolbar/toolbar/toolbar.js +93 -0
- package/lib/components/toolbar/toolbar/toolbar.js.map +1 -0
- package/lib/components/toolbar/toolbar/toolbar.styles.d.ts +7 -0
- package/lib/components/toolbar/toolbar/toolbar.styles.d.ts.map +1 -0
- package/lib/components/toolbar/toolbar/toolbar.styles.js +26 -0
- package/lib/components/toolbar/toolbar/toolbar.styles.js.map +1 -0
- package/lib/components/toolbar/toolbar/toolbar.types.d.ts +6 -0
- package/lib/components/toolbar/toolbar/toolbar.types.d.ts.map +1 -0
- package/lib/components/toolbar/toolbar/toolbar.types.js +3 -0
- package/lib/components/toolbar/toolbar/toolbar.types.js.map +1 -0
- package/lib/components/toolbar/toolbar-icon-button/index.d.ts +3 -0
- package/lib/components/toolbar/toolbar-icon-button/index.d.ts.map +1 -0
- package/lib/components/toolbar/toolbar-icon-button/index.js +6 -0
- package/lib/components/toolbar/toolbar-icon-button/index.js.map +1 -0
- package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.d.ts +4 -0
- package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.d.ts.map +1 -0
- package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.js +77 -0
- package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.js.map +1 -0
- package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.styles.d.ts +13 -0
- package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.styles.d.ts.map +1 -0
- package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.styles.js +38 -0
- package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.styles.js.map +1 -0
- package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.types.d.ts +19 -0
- package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.types.d.ts.map +1 -0
- package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.types.js +3 -0
- package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.types.js.map +1 -0
- package/lib/components/toolbar/utils/get-lg-ids.d.ts +8 -0
- package/lib/components/toolbar/utils/get-lg-ids.d.ts.map +1 -0
- package/lib/components/toolbar/utils/get-lg-ids.js +14 -0
- package/lib/components/toolbar/utils/get-lg-ids.js.map +1 -0
- package/lib/components/toolbar/utils/index.d.ts +2 -0
- package/lib/components/toolbar/utils/index.d.ts.map +1 -0
- package/lib/components/toolbar/utils/index.js +7 -0
- package/lib/components/toolbar/utils/index.js.map +1 -0
- package/lib/index.d.ts +10 -10
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +11 -9
- package/lib/index.js.map +1 -1
- package/package.json +12 -10
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.Toolbar = void 0;
|
|
37
|
+
const react_1 = __importStar(require("react"));
|
|
38
|
+
const descendants_1 = require("@leafygreen-ui/descendants");
|
|
39
|
+
const leafygreen_provider_1 = require("@leafygreen-ui/leafygreen-provider");
|
|
40
|
+
const lib_1 = require("@leafygreen-ui/lib");
|
|
41
|
+
const context_1 = require("../context");
|
|
42
|
+
const utils_1 = require("../utils");
|
|
43
|
+
const toolbar_styles_1 = require("./toolbar.styles");
|
|
44
|
+
exports.Toolbar = react_1.default.forwardRef(({ className, children, darkMode: darkModeProp, 'data-lgid': dataLgId = utils_1.DEFAULT_LGID_ROOT, ...rest }, forwardedRef) => {
|
|
45
|
+
const { darkMode, theme } = (0, leafygreen_provider_1.useDarkMode)(darkModeProp);
|
|
46
|
+
const { descendants, dispatch } = (0, descendants_1.useInitDescendants)(context_1.ToolbarDescendantsContext);
|
|
47
|
+
const [focusedIndex, setFocusedIndex] = (0, react_1.useState)(0);
|
|
48
|
+
const childrenLength = descendants?.length ?? 0;
|
|
49
|
+
const [isUsingKeyboard, setIsUsingKeyboard] = (0, react_1.useState)(false);
|
|
50
|
+
const lgIds = (0, utils_1.getLgIds)(dataLgId);
|
|
51
|
+
/**
|
|
52
|
+
* Implements roving tabindex
|
|
53
|
+
* https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_roving_tabindex
|
|
54
|
+
* @param event Keyboard event
|
|
55
|
+
*/
|
|
56
|
+
const handleKeyDown = (event) => {
|
|
57
|
+
// Note: Arrow keys don't fire a keyPress event — need to use onKeyDownCapture
|
|
58
|
+
// We only handle up and down arrow keys
|
|
59
|
+
switch (event.key) {
|
|
60
|
+
case lib_1.keyMap.ArrowDown:
|
|
61
|
+
event.stopPropagation();
|
|
62
|
+
event.preventDefault();
|
|
63
|
+
setIsUsingKeyboard(true);
|
|
64
|
+
setFocusedIndex((focusedIndex + 1) % childrenLength);
|
|
65
|
+
break;
|
|
66
|
+
case lib_1.keyMap.ArrowUp:
|
|
67
|
+
event.stopPropagation();
|
|
68
|
+
event.preventDefault();
|
|
69
|
+
setIsUsingKeyboard(true);
|
|
70
|
+
setFocusedIndex((focusedIndex - 1 + childrenLength) % childrenLength);
|
|
71
|
+
break;
|
|
72
|
+
default:
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Callback to handle click events on ToolbarIconButtons.
|
|
78
|
+
* Also updates the focused index to ensure that the correct button is focused when using the up/down arrows.
|
|
79
|
+
* @param event MouseEvent
|
|
80
|
+
* @param focusedIndex number
|
|
81
|
+
* @param onClick MouseEvent
|
|
82
|
+
*/
|
|
83
|
+
const handleOnIconButtonClick = (event, focusedIndex, onClick) => {
|
|
84
|
+
onClick?.(event);
|
|
85
|
+
// This ensures that on click, the buttons tabIndex is set to 0 so that when the up/down arrows are pressed, the correct button is focused
|
|
86
|
+
setFocusedIndex(focusedIndex);
|
|
87
|
+
};
|
|
88
|
+
return (react_1.default.createElement(context_1.ToolbarContextProvider, { darkMode: darkMode, focusedIndex: focusedIndex, shouldFocus: isUsingKeyboard, lgIds: lgIds, handleOnIconButtonClick: handleOnIconButtonClick },
|
|
89
|
+
react_1.default.createElement(descendants_1.DescendantsProvider, { context: context_1.ToolbarDescendantsContext, descendants: descendants, dispatch: dispatch },
|
|
90
|
+
react_1.default.createElement("div", { role: "toolbar", ref: forwardedRef, className: (0, toolbar_styles_1.getBaseStyles)({ theme, className }), "aria-orientation": "vertical", onKeyDownCapture: handleKeyDown, onBlur: () => setIsUsingKeyboard(false), onMouseDown: () => setIsUsingKeyboard(false), "data-lgid": lgIds.root, "data-testid": lgIds.root, ...rest }, children))));
|
|
91
|
+
});
|
|
92
|
+
exports.Toolbar.displayName = 'Toolbar';
|
|
93
|
+
//# sourceMappingURL=toolbar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar.js","sourceRoot":"","sources":["../../../../src/components/toolbar/toolbar/toolbar.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAwC;AAExC,4DAGoC;AACpC,4EAAiE;AACjE,4CAA4C;AAE5C,wCAA+E;AAC/E,oCAAuD;AAEvD,qDAAiD;AAGpC,QAAA,OAAO,GAAG,eAAK,CAAC,UAAU,CACrC,CACE,EACE,SAAS,EACT,QAAQ,EACR,QAAQ,EAAE,YAAY,EACtB,WAAW,EAAE,QAAQ,GAAG,yBAAiB,EACzC,GAAG,IAAI,EACM,EACf,YAAY,EACZ,EAAE;IACF,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,IAAA,iCAAW,EAAC,YAAY,CAAC,CAAC;IACtD,MAAM,EAAE,WAAW,EAAE,QAA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O,CACL,8BAAC,gCAAsB,IACrB,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,eAAe,EAC5B,KAAK,EAAE,KAAK,EACZ,uBAAuB,EAAE,uBAAuB;QAEhD,8BAAC,iCAAmB,IAClB,OAAO,EAAE,mCAAyB,EAClC,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ;YAElB,uCACE,IAAI,EAAC,SAAS,EACd,GAAG,EAAE,YAAY,EACjB,SAAS,EAAE,IAAA,8BAAa,EAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,sBAC7B,UAAU,EAC3B,gBAAgB,EAAE,aAAa,EAC/B,MAAM,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,EACvC,WAAW,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,eACjC,KAAK,CAAC,IAAI,iBACR,KAAK,CAAC,IAAI,KACnB,IAAI,IAEP,QAAQ,CACL,CACc,CACC,CAC1B,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAO,CAAC,WAAW,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/toolbar/toolbar/toolbar.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAKvE,eAAO,MAAM,gBAAgB,QAAsC,CAAC;AAEpE,eAAO,MAAM,aAAa,GAAI,uBAG3B;IACD,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,WAoBE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getBaseStyles = exports.toolbarClassName = void 0;
|
|
4
|
+
const emotion_1 = require("@leafygreen-ui/emotion");
|
|
5
|
+
const lib_1 = require("@leafygreen-ui/lib");
|
|
6
|
+
const tokens_1 = require("@leafygreen-ui/tokens");
|
|
7
|
+
const constants_1 = require("../constants");
|
|
8
|
+
exports.toolbarClassName = (0, lib_1.createUniqueClassName)('lg-toolbar');
|
|
9
|
+
const getBaseStyles = ({ theme, className, }) => (0, emotion_1.cx)((0, emotion_1.css) `
|
|
10
|
+
height: 100%;
|
|
11
|
+
width: ${constants_1.TOOLBAR_WIDTH}px;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
align-items: center;
|
|
15
|
+
background: ${tokens_1.color[theme].background.primary.default};
|
|
16
|
+
border: 1px solid ${tokens_1.color[theme].border.secondary.default};
|
|
17
|
+
|
|
18
|
+
// Show the focus ring on the toolbar itself when a child element is focused and only when navigating with a keyboard
|
|
19
|
+
&:has(:focus-visible) {
|
|
20
|
+
box-shadow: ${tokens_1.focusRing[theme].default};
|
|
21
|
+
// So the focus ring overlaps sibling elements
|
|
22
|
+
z-index: 1;
|
|
23
|
+
}
|
|
24
|
+
`, exports.toolbarClassName, className);
|
|
25
|
+
exports.getBaseStyles = getBaseStyles;
|
|
26
|
+
//# sourceMappingURL=toolbar.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar.styles.js","sourceRoot":"","sources":["../../../../src/components/toolbar/toolbar/toolbar.styles.ts"],"names":[],"mappings":";;;AAAA,oDAAiD;AACjD,4CAAuE;AACvE,kDAAyD;AAEzD,4CAA6C;AAEhC,QAAA,gBAAgB,GAAG,IAAA,2BAAqB,EAAC,YAAY,CAAC,CAAC;AAE7D,MAAM,aAAa,GAAG,CAAC,EAC5B,KAAK,EACL,SAAS,GAIV,EAAE,EAAE,CACH,IAAA,YAAE,EACA,IAAA,aAAG,EAAA;;eAEQ,yBAAa;;;;oBAIR,cAAK,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO;0BACjC,cAAK,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO;;;;sBAIzC,kBAAS,CAAC,KAAK,CAAC,CAAC,OAAO;;;;KAIzC,EACD,wBAAgB,EAChB,SAAS,CACV,CAAC;AA1BS,QAAA,aAAa,iBA0BtB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import type { DarkModeProps, LgIdProps } from '@leafygreen-ui/lib';
|
|
3
|
+
export interface ToolbarProps extends ComponentPropsWithRef<'div'>, DarkModeProps, LgIdProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=toolbar.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar.types.d.ts","sourceRoot":"","sources":["../../../../src/components/toolbar/toolbar/toolbar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACnE,MAAM,WAAW,YACf,SAAQ,qBAAqB,CAAC,KAAK,CAAC,EAClC,aAAa,EACb,SAAS;IACX,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar.types.js","sourceRoot":"","sources":["../../../../src/components/toolbar/toolbar/toolbar.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/toolbar/toolbar-icon-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ToolbarIconButton = void 0;
|
|
4
|
+
var toolbar_icon_button_1 = require("./toolbar-icon-button");
|
|
5
|
+
Object.defineProperty(exports, "ToolbarIconButton", { enumerable: true, get: function () { return toolbar_icon_button_1.ToolbarIconButton; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/toolbar/toolbar-icon-button/index.ts"],"names":[],"mappings":";;;AAAA,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ToolbarIconButtonProps } from './toolbar-icon-button.types';
|
|
3
|
+
export declare const ToolbarIconButton: React.ForwardRefExoticComponent<ToolbarIconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
//# sourceMappingURL=toolbar-icon-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar-icon-button.d.ts","sourceRoot":"","sources":["../../../../src/components/toolbar/toolbar-icon-button/toolbar-icon-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAexE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAE1E,eAAO,MAAM,iBAAiB,kGAiF7B,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ToolbarIconButton = void 0;
|
|
40
|
+
const react_1 = __importStar(require("react"));
|
|
41
|
+
const descendants_1 = require("@leafygreen-ui/descendants");
|
|
42
|
+
const icon_1 = __importDefault(require("@leafygreen-ui/icon"));
|
|
43
|
+
const icon_button_1 = __importDefault(require("@leafygreen-ui/icon-button"));
|
|
44
|
+
const leafygreen_provider_1 = require("@leafygreen-ui/leafygreen-provider");
|
|
45
|
+
const lib_1 = require("@leafygreen-ui/lib");
|
|
46
|
+
const tooltip_1 = __importStar(require("@leafygreen-ui/tooltip"));
|
|
47
|
+
const context_1 = require("../context");
|
|
48
|
+
const toolbar_icon_button_styles_1 = require("./toolbar-icon-button.styles");
|
|
49
|
+
exports.ToolbarIconButton = react_1.default.forwardRef(({ className, onClick, label, glyph, disabled = false, active = false, 'aria-label': ariaLabel, ...rest }, forwardedRef) => {
|
|
50
|
+
const { theme } = (0, leafygreen_provider_1.useDarkMode)();
|
|
51
|
+
const { index, ref } = (0, descendants_1.useDescendant)(context_1.ToolbarDescendantsContext, forwardedRef);
|
|
52
|
+
const { focusedIndex, shouldFocus, lgIds, handleOnIconButtonClick } = (0, context_1.useToolbarContext)();
|
|
53
|
+
const isFocusable = index === focusedIndex;
|
|
54
|
+
if (focusedIndex === undefined) {
|
|
55
|
+
// eslint-disable-next-line no-console
|
|
56
|
+
console.error('ToolbarIconButton should only be used inside the Toolbar component.');
|
|
57
|
+
}
|
|
58
|
+
if (glyph === undefined) {
|
|
59
|
+
// eslint-disable-next-line no-console
|
|
60
|
+
console.error('A glpyh is required for ToolbarIconButton. Please provide a valid glyph. The list of available glyphs can be found in the LG Icon README, https://github.com/mongodb/leafygreen-ui/blob/main/packages/icon/README.md#properties.');
|
|
61
|
+
}
|
|
62
|
+
(0, react_1.useEffect)(() => {
|
|
63
|
+
// shouldFocus prevents this component from hijacking focus on initial page load.
|
|
64
|
+
if (isFocusable && shouldFocus)
|
|
65
|
+
ref.current?.focus();
|
|
66
|
+
}, [isFocusable, ref, shouldFocus]);
|
|
67
|
+
return (react_1.default.createElement(tooltip_1.default, { "data-testid": `${lgIds.iconButtonTooltip}-${index}`, "data-lgid": `${lgIds.iconButtonTooltip}-${index}`, align: tooltip_1.Align.Left, trigger: react_1.default.createElement("div", { className: toolbar_icon_button_styles_1.triggerStyles },
|
|
68
|
+
react_1.default.createElement(icon_button_1.default, { "aria-label": ariaLabel || (0, lib_1.getNodeTextContent)(label), active: active, className: (0, toolbar_icon_button_styles_1.getIconButtonStyles)({
|
|
69
|
+
theme,
|
|
70
|
+
active,
|
|
71
|
+
disabled,
|
|
72
|
+
className,
|
|
73
|
+
}), tabIndex: isFocusable ? 0 : -1, onClick: (event) => handleOnIconButtonClick(event, index, onClick), disabled: disabled, "data-testid": `${lgIds.iconButton}-${index}`, "data-lgid": `${lgIds.iconButton}-${index}`, "data-active": active, ref: ref, ...rest },
|
|
74
|
+
react_1.default.createElement(icon_1.default, { glyph: glyph }))) }, label));
|
|
75
|
+
});
|
|
76
|
+
exports.ToolbarIconButton.displayName = 'ToolbarIconButton';
|
|
77
|
+
//# sourceMappingURL=toolbar-icon-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar-icon-button.js","sourceRoot":"","sources":["../../../../src/components/toolbar/toolbar-icon-button/toolbar-icon-button.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAwE;AAExE,4DAA2D;AAC3D,+DAAuC;AACvC,6EAAoD;AACpD,4EAAiE;AACjE,4CAAwD;AACxD,kEAAwD;AAExD,wCAA0E;AAE1E,6EAGsC;AAGzB,QAAA,iBAAiB,GAAG,eAAK,CAAC,UAAU,CAI/C,CACE,EACE,SAAS,EACT,OAAO,EACP,KAAK,EACL,KAAK,EACL,QAAQ,GAAG,KAAK,EAChB,MAAM,GAAG,KAAK,EACd,YAAY,EAAE,SAAS,EACvB,GAAG,IAAI,EACgB,EACzB,YAAY,EACZ,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,GAAG,IAAA,iCAAW,GAAE,CAAC;IAChC,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,IAAA,2BAAa,EAClC,mCAAyB,EACzB,YAAY,CACb,CAAC;IACF,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,KAAK,EAAE,uBAAuB,EAAE,GACjE,IAAA,2BAAiB,GAAE,CAAC;IACtB,MAAM,WAAW,GAA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hD,8BAAC,cAAI,IAAC,KAAK,EAAE,KAAK,GAAI,CACX,CACT,IAGP,KAAK,CACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,yBAAiB,CAAC,WAAW,GAAG,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Theme } from '@leafygreen-ui/lib';
|
|
2
|
+
export declare const baseIconButtonStyles: string;
|
|
3
|
+
export declare const getIconButtonActiveStyles: ({ theme }: {
|
|
4
|
+
theme: Theme;
|
|
5
|
+
}) => string;
|
|
6
|
+
export declare const getIconButtonStyles: ({ active, theme, disabled, className, }: {
|
|
7
|
+
active: boolean;
|
|
8
|
+
theme: Theme;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
}) => string;
|
|
12
|
+
export declare const triggerStyles: string;
|
|
13
|
+
//# sourceMappingURL=toolbar-icon-button.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar-icon-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/toolbar/toolbar-icon-button/toolbar-icon-button.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAM3C,eAAO,MAAM,oBAAoB,QAOhC,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,WAAW;IAAE,KAAK,EAAE,KAAK,CAAA;CAAE,WAWlE,CAAC;AAEJ,eAAO,MAAM,mBAAmB,GAAI,yCAKjC;IACD,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,WASE,CAAC;AAEJ,eAAO,MAAM,aAAa,QAIzB,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.triggerStyles = exports.getIconButtonStyles = exports.getIconButtonActiveStyles = exports.baseIconButtonStyles = void 0;
|
|
4
|
+
const emotion_1 = require("@leafygreen-ui/emotion");
|
|
5
|
+
const lib_1 = require("@leafygreen-ui/lib");
|
|
6
|
+
const palette_1 = require("@leafygreen-ui/palette");
|
|
7
|
+
const tokens_1 = require("@leafygreen-ui/tokens");
|
|
8
|
+
const constants_1 = require("../constants");
|
|
9
|
+
exports.baseIconButtonStyles = (0, emotion_1.css) `
|
|
10
|
+
&,
|
|
11
|
+
&:hover,
|
|
12
|
+
&[data-hover='true'],
|
|
13
|
+
&::before {
|
|
14
|
+
border-radius: ${tokens_1.borderRadius[150]}px;
|
|
15
|
+
}
|
|
16
|
+
`;
|
|
17
|
+
const getIconButtonActiveStyles = ({ theme }) => (0, emotion_1.cx)((0, emotion_1.css) `
|
|
18
|
+
background: ${theme === lib_1.Theme.Light
|
|
19
|
+
? palette_1.palette.green.light3
|
|
20
|
+
: palette_1.palette.green.dark3};
|
|
21
|
+
|
|
22
|
+
color: ${theme === lib_1.Theme.Light
|
|
23
|
+
? palette_1.palette.green.dark2
|
|
24
|
+
: palette_1.palette.green.light1};
|
|
25
|
+
`);
|
|
26
|
+
exports.getIconButtonActiveStyles = getIconButtonActiveStyles;
|
|
27
|
+
const getIconButtonStyles = ({ active, theme, disabled, className, }) => (0, emotion_1.cx)((0, emotion_1.css) `
|
|
28
|
+
${exports.baseIconButtonStyles}
|
|
29
|
+
`, {
|
|
30
|
+
[(0, exports.getIconButtonActiveStyles)({ theme })]: active && !disabled,
|
|
31
|
+
}, className);
|
|
32
|
+
exports.getIconButtonStyles = getIconButtonStyles;
|
|
33
|
+
exports.triggerStyles = (0, emotion_1.css) `
|
|
34
|
+
display: flex;
|
|
35
|
+
height: ${constants_1.ICON_BUTTON_HEIGHT}px;
|
|
36
|
+
align-items: center;
|
|
37
|
+
`;
|
|
38
|
+
//# sourceMappingURL=toolbar-icon-button.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar-icon-button.styles.js","sourceRoot":"","sources":["../../../../src/components/toolbar/toolbar-icon-button/toolbar-icon-button.styles.ts"],"names":[],"mappings":";;;AAAA,oDAAiD;AACjD,4CAA2C;AAC3C,oDAAiD;AACjD,kDAAqD;AAErD,4CAAkD;AAErC,QAAA,oBAAoB,GAAG,IAAA,aAAG,EAAA;;;;;qBAKlB,qBAAY,CAAC,GAAG,CAAC;;CAErC,CAAC;AAEK,MAAM,yBAAyB,GAAG,CAAC,EAAE,KAAK,EAAoB,EAAE,EAAE,CACvE,IAAA,YAAE,EACA,IAAA,aAAG,EAAA;oBACa,KAAK,KAAK,WAAK,CAAC,KAAK;IACjC,CAAC,CAAC,iBAAO,CAAC,KAAK,CAAC,MAAM;IACtB,CAAC,CAAC,iBAAO,CAAC,KAAK,CAAC,KAAK;;eAEd,KAAK,KAAK,WAAK,CAAC,KAAK;IAC5B,CAAC,CAAC,iBAAO,CAAC,KAAK,CAAC,KAAK;IACrB,CAAC,CAAC,iBAAO,CAAC,KAAK,CAAC,MAAM;KACzB,CACF,CAAC;AAXS,QAAA,yBAAyB,6BAWlC;AAEG,MAAM,mBAAmB,GAAG,CAAC,EAClC,MAAM,EACN,KAAK,EACL,QAAQ,EACR,SAAS,GAMV,EAAE,EAAE,CACH,IAAA,YAAE,EACA,IAAA,aAAG,EAAA;QACC,4BAAoB;KACvB,EACD;IACE,CAAC,IAAA,iCAAyB,EAAC,EAAE,KAAK,EAAE,CAAC,CAAC,EAAE,MAAM,IAAI,CAAC,QAAQ;CAC5D,EACD,SAAS,CACV,CAAC;AAnBS,QAAA,mBAAmB,uBAmB5B;AAES,QAAA,aAAa,GAAG,IAAA,aAAG,EAAA;;YAEpB,8BAAkB;;CAE7B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { GlyphName } from '@leafygreen-ui/icon';
|
|
2
|
+
import type { BaseIconButtonProps as IconButtonProps } from '@leafygreen-ui/icon-button';
|
|
3
|
+
type ButtonProps = Omit<IconButtonProps, 'tabIndex' | 'href' | 'as' | 'ref' | 'children' | 'size' | 'darkMode' | 'onClick'>;
|
|
4
|
+
export interface ToolbarIconButtonProps extends ButtonProps {
|
|
5
|
+
/**
|
|
6
|
+
* The LG Icon that will render in the button
|
|
7
|
+
*/
|
|
8
|
+
glyph: GlyphName;
|
|
9
|
+
/**
|
|
10
|
+
* The text that will render in the tooltip on hover
|
|
11
|
+
*/
|
|
12
|
+
label: React.ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Callback fired when the ToolbarIconButton is clicked
|
|
15
|
+
*/
|
|
16
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=toolbar-icon-button.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar-icon-button.types.d.ts","sourceRoot":"","sources":["../../../../src/components/toolbar/toolbar-icon-button/toolbar-icon-button.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,IAAI,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAEzF,KAAK,WAAW,GAAG,IAAI,CACrB,eAAe,EACb,UAAU,GACV,MAAM,GACN,IAAI,GACJ,KAAK,GACL,UAAU,GACV,MAAM,GACN,UAAU,GACV,SAAS,CACZ,CAAC;AAEF,MAAM,WAAW,sBAAuB,SAAQ,WAAW;IACzD;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CAChE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar-icon-button.types.js","sourceRoot":"","sources":["../../../../src/components/toolbar/toolbar-icon-button/toolbar-icon-button.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const DEFAULT_LGID_ROOT = "lg-toolbar";
|
|
2
|
+
export declare const getLgIds: (root?: `lg-${string}`) => {
|
|
3
|
+
readonly root: `lg-${string}`;
|
|
4
|
+
readonly iconButton: `lg-${string}-icon_button`;
|
|
5
|
+
readonly iconButtonTooltip: `lg-${string}-icon_button-tooltip`;
|
|
6
|
+
};
|
|
7
|
+
export type GetLgIdsReturnType = ReturnType<typeof getLgIds>;
|
|
8
|
+
//# sourceMappingURL=get-lg-ids.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-lg-ids.d.ts","sourceRoot":"","sources":["../../../../src/components/toolbar/utils/get-lg-ids.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,eAAe,CAAC;AAE9C,eAAO,MAAM,QAAQ,GAAI,OAAM,MAAM,MAAM,EAAsB;;;;CAOhE,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getLgIds = exports.DEFAULT_LGID_ROOT = void 0;
|
|
4
|
+
exports.DEFAULT_LGID_ROOT = 'lg-toolbar';
|
|
5
|
+
const getLgIds = (root = exports.DEFAULT_LGID_ROOT) => {
|
|
6
|
+
const ids = {
|
|
7
|
+
root,
|
|
8
|
+
iconButton: `${root}-icon_button`,
|
|
9
|
+
iconButtonTooltip: `${root}-icon_button-tooltip`,
|
|
10
|
+
};
|
|
11
|
+
return ids;
|
|
12
|
+
};
|
|
13
|
+
exports.getLgIds = getLgIds;
|
|
14
|
+
//# sourceMappingURL=get-lg-ids.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-lg-ids.js","sourceRoot":"","sources":["../../../../src/components/toolbar/utils/get-lg-ids.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG,YAAY,CAAC;AAEvC,MAAM,QAAQ,GAAG,CAAC,OAAuB,yBAAiB,EAAE,EAAE;IACnE,MAAM,GAAG,GAAG;QACV,IAAI;QACJ,UAAU,EAAE,GAAG,IAAI,cAAc;QACjC,iBAAiB,EAAE,GAAG,IAAI,sBAAsB;KACxC,CAAC;IACX,OAAO,GAAG,CAAC;AACb,CAAC,CAAC;AAPW,QAAA,QAAQ,YAOnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/toolbar/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,QAAQ,EACR,KAAK,kBAAkB,GACxB,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getLgIds = exports.DEFAULT_LGID_ROOT = void 0;
|
|
4
|
+
var get_lg_ids_1 = require("./get-lg-ids");
|
|
5
|
+
Object.defineProperty(exports, "DEFAULT_LGID_ROOT", { enumerable: true, get: function () { return get_lg_ids_1.DEFAULT_LGID_ROOT; } });
|
|
6
|
+
Object.defineProperty(exports, "getLgIds", { enumerable: true, get: function () { return get_lg_ids_1.getLgIds; } });
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/toolbar/utils/index.ts"],"names":[],"mappings":";;;AAAA,2CAIsB;AAHpB,+GAAA,iBAAiB,OAAA;AACjB,sGAAA,QAAQ,OAAA"}
|
package/lib/index.d.ts
CHANGED
|
@@ -14,13 +14,13 @@ export { Tab as WorkspaceTab, type WorkspaceTabCoreProps, } from './components/w
|
|
|
14
14
|
export { TabThemeProvider, useTabTheme, } from './components/workspace-tabs/use-tab-theme';
|
|
15
15
|
import { WorkspaceTabs } from './components/workspace-tabs/workspace-tabs';
|
|
16
16
|
import ResizableSidebar, { defaultSidebarWidth } from './components/resizeable-sidebar';
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
export type { ItemAction, ItemComponentProps, ItemSeparator, MenuAction, } from './components/actions/types';
|
|
18
|
+
export { splitBySeparator } from './components/actions/utils';
|
|
19
|
+
export type { GroupedItemAction } from './components/actions/item-action-group';
|
|
20
|
+
export { ItemActionControls } from './components/actions/item-action-controls';
|
|
21
|
+
export { ItemActionGroup } from './components/actions/item-action-group';
|
|
22
|
+
export { ItemActionMenu } from './components/actions/item-action-menu';
|
|
23
|
+
export { DropdownMenuButton } from './components/actions/dropdown-menu-button';
|
|
24
24
|
export { DocumentIcon } from './components/icons/document-icon';
|
|
25
25
|
export { FavoriteIcon } from './components/icons/favorite-icon';
|
|
26
26
|
export { ServerIcon } from './components/icons/server-icon';
|
|
@@ -47,9 +47,9 @@ export { ModalBody } from './components/modals/modal-body';
|
|
|
47
47
|
export { ModalHeader } from './components/modals/modal-header';
|
|
48
48
|
export { FormModal } from './components/modals/form-modal';
|
|
49
49
|
export { InfoModal } from './components/modals/info-modal';
|
|
50
|
-
export { useContextMenuItems, useContextMenuGroups, type ContextMenuItem, } from './components/context-menu';
|
|
51
|
-
export type { FileInputBackend,
|
|
52
|
-
export { Accordion, CollapsibleFieldSet, ConfirmationModal, ErrorSummary, FileInput, FileInputBackendProvider, IndexIcon, OptionsToggle, RadioBoxGroup, ResizeHandle, ResizeDirection, ResizableSidebar, WarningSummary, WorkspaceTabs,
|
|
50
|
+
export { useContextMenuItems, useContextMenuGroups, type ContextMenuItem, type ContextMenuItemGroup, } from './components/context-menu';
|
|
51
|
+
export type { FileInputBackend, ElectronFileDialogOptions, ElectronShowFileDialogProvider, };
|
|
52
|
+
export { Accordion, CollapsibleFieldSet, ConfirmationModal, ErrorSummary, FileInput, FileInputBackendProvider, IndexIcon, OptionsToggle, RadioBoxGroup, ResizeHandle, ResizeDirection, ResizableSidebar, WarningSummary, WorkspaceTabs, defaultSidebarWidth, createElectronFileInputBackend, createJSDomFileInputDummyBackend, };
|
|
53
53
|
export { useFocusState, useHoverState, FocusState, } from './hooks/use-focus-hover';
|
|
54
54
|
export { resetGlobalCSS } from './utils/reset-global-css';
|
|
55
55
|
export { getScrollbarStyles, useScrollbars } from './hooks/use-scrollbars';
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AAExC,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,EACL,OAAO,EACP,EAAE,EACF,KAAK,EACL,mBAAmB,EACnB,YAAY,EACZ,SAAS,EACT,GAAG,EACH,KAAK,EACL,KAAK,GACN,MAAM,wBAAwB,CAAC;AAChC,OAAO,iBAAiB,MAAM,wCAAwC,CAAC;AACvE,OAAO,KAAK,EACV,yBAAyB,EACzB,8BAA8B,EAC9B,gBAAgB,EACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,SAAS,EAAE,EAChB,8BAA8B,EAC9B,gCAAgC,EAChC,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EACL,YAAY,EACZ,cAAc,EACf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAA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AE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAC9E,YAAY,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,KAAK,cAAc,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EACL,gBAAgB,EAChB,+BAA+B,EAC/B,0BAA0B,GAC3B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,YAAY,IAAI,uBAAuB,GAC7C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -39,9 +39,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
39
39
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
40
40
|
};
|
|
41
41
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.InsightsChip = exports.ParagraphSkeleton = exports.SelectList = exports.VirtualList = exports.formatDate = exports.ChevronCollapse = exports.useRequiredURLSearchParams = exports.RequiredURLSearchParamsProvider = exports.urlWithUtmParams = exports.Breadcrumbs = exports.CompassComponentsProvider = exports.ToastBody = exports.PerformanceSignals = exports.GuideCueProvider = exports.GuideCue = exports.usePersistedState = exports.ComboboxWithCustomOption = exports.rafraf = exports.KeyboardShortcut = exports.formatHotkey = exports.useHotkeys = exports.showErrorDetails = exports.showPrompt = exports.showConfirmation = exports.ConfirmationModalArea = exports.ConfirmationModalVariant = exports.IndexKeysBadge = exports.IndexBadge = exports.HorizontalRule = exports.useEffectOnChange = exports.codePalette = exports.KeylineCard = exports.DocumentList = exports.BSONValue = exports.fontFamilies = exports.useSortedItems = exports.useSortControls = exports.useDefaultAction = exports.useFocusRing = void 0;
|
|
42
|
+
exports.ModalHeader = exports.ModalBody = exports.Modal = exports.FormFieldContainer = exports.spacing = exports.breakpoints = exports.ToastArea = exports.closeToast = exports.openToast = exports.VisuallyHidden = exports.useId = exports.SelectSize = exports.RadioBoxSize = exports.Portal = exports.lighten = exports.rgba = exports.palette = exports.LeafyGreenProvider = exports.SplitButton = exports.ButtonVariant = exports.ButtonSize = exports.BannerVariant = exports.BadgeVariant = exports.LGGuideCue = exports.NoSavedItemsIcon = exports.ServerIcon = exports.FavoriteIcon = exports.DocumentIcon = exports.DropdownMenuButton = exports.ItemActionMenu = exports.ItemActionGroup = exports.ItemActionControls = exports.splitBySeparator = exports.useTabTheme = exports.TabThemeProvider = exports.WorkspaceTab = exports.CancelLoader = exports.SpinLoaderWithLabel = exports.SpinLoader = exports.cache = exports.sheet = exports.css = exports.keyframes = exports.injectGlobal = exports.getRegisteredStyles = exports.merge = exports.cx = exports.hydrate = exports.flush = exports.emotion = void 0;
|
|
43
|
+
exports.mergeProps = exports.VirtualGrid = exports.useDOMRect = exports.Placeholder = exports.ListEditor = exports.InteractivePopover = exports.InlineInfoLink = exports.WorkspaceContainer = exports.TabNavBar = exports.FeedbackPopover = exports.ErrorBoundary = exports.EmptyContent = exports.SignalHooksProvider = exports.SignalPopover = exports.createIconComponent = exports.createGlyphComponent = exports.InlineDefinition = exports.FadeInPlaceholder = exports.ContentWithFallback = exports.ThemeProvider = exports.Theme = exports.useDarkMode = exports.withDarkMode = exports.useScrollbars = exports.getScrollbarStyles = exports.resetGlobalCSS = exports.FocusState = exports.useHoverState = exports.useFocusState = exports.createJSDomFileInputDummyBackend = exports.createElectronFileInputBackend = exports.defaultSidebarWidth = exports.WorkspaceTabs = exports.WarningSummary = exports.ResizableSidebar = exports.ResizeDirection = exports.ResizeHandle = exports.RadioBoxGroup = exports.OptionsToggle = exports.IndexIcon = exports.FileInputBackendProvider = exports.FileInput = exports.ErrorSummary = exports.ConfirmationModal = exports.CollapsibleFieldSet = exports.Accordion = exports.useContextMenuGroups = exports.useContextMenuItems = exports.InfoModal = exports.FormModal = void 0;
|
|
44
|
+
exports.InsightsChip = exports.ParagraphSkeleton = exports.SelectList = exports.VirtualList = exports.formatDate = exports.ChevronCollapse = exports.useRequiredURLSearchParams = exports.RequiredURLSearchParamsProvider = exports.urlWithUtmParams = exports.Breadcrumbs = exports.CompassComponentsProvider = exports.ToastBody = exports.PerformanceSignals = exports.GuideCueProvider = exports.GuideCue = exports.usePersistedState = exports.ComboboxWithCustomOption = exports.rafraf = exports.KeyboardShortcut = exports.formatHotkey = exports.useHotkeys = exports.showErrorDetails = exports.showPrompt = exports.showConfirmation = exports.ConfirmationModalArea = exports.ConfirmationModalVariant = exports.IndexKeysBadge = exports.IndexBadge = exports.HorizontalRule = exports.useEffectOnChange = exports.codePalette = exports.KeylineCard = exports.DocumentList = exports.BSONValue = exports.fontFamilies = exports.useSortedItems = exports.useSortControls = exports.useDefaultAction = exports.useFocusRing = exports.focusRing = void 0;
|
|
45
45
|
__exportStar(require("./components/leafygreen"), exports);
|
|
46
46
|
var emotion_1 = require("@leafygreen-ui/emotion");
|
|
47
47
|
Object.defineProperty(exports, "emotion", { enumerable: true, get: function () { return __importDefault(emotion_1).default; } });
|
|
@@ -90,13 +90,15 @@ Object.defineProperty(exports, "WorkspaceTabs", { enumerable: true, get: functio
|
|
|
90
90
|
const resizeable_sidebar_1 = __importStar(require("./components/resizeable-sidebar"));
|
|
91
91
|
exports.ResizableSidebar = resizeable_sidebar_1.default;
|
|
92
92
|
Object.defineProperty(exports, "defaultSidebarWidth", { enumerable: true, get: function () { return resizeable_sidebar_1.defaultSidebarWidth; } });
|
|
93
|
-
|
|
93
|
+
var utils_1 = require("./components/actions/utils");
|
|
94
|
+
Object.defineProperty(exports, "splitBySeparator", { enumerable: true, get: function () { return utils_1.splitBySeparator; } });
|
|
95
|
+
var item_action_controls_1 = require("./components/actions/item-action-controls");
|
|
94
96
|
Object.defineProperty(exports, "ItemActionControls", { enumerable: true, get: function () { return item_action_controls_1.ItemActionControls; } });
|
|
95
|
-
|
|
97
|
+
var item_action_group_1 = require("./components/actions/item-action-group");
|
|
96
98
|
Object.defineProperty(exports, "ItemActionGroup", { enumerable: true, get: function () { return item_action_group_1.ItemActionGroup; } });
|
|
97
|
-
|
|
99
|
+
var item_action_menu_1 = require("./components/actions/item-action-menu");
|
|
98
100
|
Object.defineProperty(exports, "ItemActionMenu", { enumerable: true, get: function () { return item_action_menu_1.ItemActionMenu; } });
|
|
99
|
-
|
|
101
|
+
var dropdown_menu_button_1 = require("./components/actions/dropdown-menu-button");
|
|
100
102
|
Object.defineProperty(exports, "DropdownMenuButton", { enumerable: true, get: function () { return dropdown_menu_button_1.DropdownMenuButton; } });
|
|
101
103
|
var document_icon_1 = require("./components/icons/document-icon");
|
|
102
104
|
Object.defineProperty(exports, "DocumentIcon", { enumerable: true, get: function () { return document_icon_1.DocumentIcon; } });
|
|
@@ -130,8 +132,8 @@ var radio_box_group_2 = require("@leafygreen-ui/radio-box-group");
|
|
|
130
132
|
Object.defineProperty(exports, "RadioBoxSize", { enumerable: true, get: function () { return radio_box_group_2.Size; } });
|
|
131
133
|
var select_1 = require("@leafygreen-ui/select");
|
|
132
134
|
Object.defineProperty(exports, "SelectSize", { enumerable: true, get: function () { return select_1.Size; } });
|
|
133
|
-
var
|
|
134
|
-
Object.defineProperty(exports, "useId", { enumerable: true, get: function () { return
|
|
135
|
+
var utils_2 = require("@react-aria/utils");
|
|
136
|
+
Object.defineProperty(exports, "useId", { enumerable: true, get: function () { return utils_2.useId; } });
|
|
135
137
|
var visually_hidden_1 = require("@react-aria/visually-hidden");
|
|
136
138
|
Object.defineProperty(exports, "VisuallyHidden", { enumerable: true, get: function () { return visually_hidden_1.VisuallyHidden; } });
|
|
137
139
|
var use_toast_1 = require("./hooks/use-toast");
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAAwC;AAExC,kDAYgC;AAX9B,mHAAA,OAAO,OAAW;AAClB,gGAAA,KAAK,OAAA;AACL,kGAAA,OAAO,OAAA;AACP,6FAAA,EAAE,OAAA;AACF,gGAAA,KAAK,OAAA;AACL,8GAAA,mBAAmB,OAAA;AACnB,uGAAA,YAAY,OAAA;AACZ,oGAAA,SAAS,OAAA;AACT,8FAAA,GAAG,OAAA;AACH,gGAAA,KAAK,OAAA;AACL,gGAAA,KAAK,OAAA;AAEP,gGAAuE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAAwC;AAExC,kDAYgC;AAX9B,mHAAA,OAAO,OAAW;AAClB,gGAAA,KAAK,OAAA;AACL,kGAAA,OAAO,OAAA;AACP,6FAAA,EAAE,OAAA;AACF,gGAAA,KAAK,OAAA;AACL,8GAAA,mBAAmB,OAAA;AACnB,uGAAA,YAAY,OAAA;AACZ,oGAAA,SAAS,OAAA;AACT,8FAAA,GAAG,OAAA;AACH,gGAAA,KAAK,OAAA;AACL,gGAAA,KAAK,OAAA;AAEP,gGAAuE;AAuGrE,4BAvGK,4BAAiB,CAuGL;AAjGnB,sEAIiC;AA+F/B,oBAnGK,oBAAS,CAmGL;AAWT,+GA7GA,2CAA8B,OA6GA;AAC9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