@mongodb-js/compass-components 1.43.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/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/package.json +11 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embedded-drawer-layout.types.js","sourceRoot":"","sources":["../../../../src/components/drawer/embedded-drawer-layout/embedded-drawer-layout.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/embedded-drawer-layout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmbeddedDrawerLayout = void 0;
|
|
4
|
+
var embedded_drawer_layout_1 = require("./embedded-drawer-layout");
|
|
5
|
+
Object.defineProperty(exports, "EmbeddedDrawerLayout", { enumerable: true, get: function () { return embedded_drawer_layout_1.EmbeddedDrawerLayout; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/drawer/embedded-drawer-layout/index.tsx"],"names":[],"mappings":";;;AAAA,mEAAgE;AAAvD,8HAAA,oBAAoB,OAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { DisplayMode, Drawer, drawerClassName, type DrawerProps, } from './drawer';
|
|
2
|
+
export { DrawerLayout, type DrawerLayoutProps } from './drawer-layout';
|
|
3
|
+
export { DrawerStackProvider, useDrawerStackContext, } from './drawer-stack-context';
|
|
4
|
+
export { useDrawerToolbarContext } from './drawer-toolbar-context';
|
|
5
|
+
export { getLgIds } from './utils';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,MAAM,EACN,eAAe,EACf,KAAK,WAAW,GACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EACL,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getLgIds = exports.useDrawerToolbarContext = exports.useDrawerStackContext = exports.DrawerStackProvider = exports.DrawerLayout = exports.drawerClassName = exports.Drawer = exports.DisplayMode = void 0;
|
|
4
|
+
var drawer_1 = require("./drawer");
|
|
5
|
+
Object.defineProperty(exports, "DisplayMode", { enumerable: true, get: function () { return drawer_1.DisplayMode; } });
|
|
6
|
+
Object.defineProperty(exports, "Drawer", { enumerable: true, get: function () { return drawer_1.Drawer; } });
|
|
7
|
+
Object.defineProperty(exports, "drawerClassName", { enumerable: true, get: function () { return drawer_1.drawerClassName; } });
|
|
8
|
+
var drawer_layout_1 = require("./drawer-layout");
|
|
9
|
+
Object.defineProperty(exports, "DrawerLayout", { enumerable: true, get: function () { return drawer_layout_1.DrawerLayout; } });
|
|
10
|
+
var drawer_stack_context_1 = require("./drawer-stack-context");
|
|
11
|
+
Object.defineProperty(exports, "DrawerStackProvider", { enumerable: true, get: function () { return drawer_stack_context_1.DrawerStackProvider; } });
|
|
12
|
+
Object.defineProperty(exports, "useDrawerStackContext", { enumerable: true, get: function () { return drawer_stack_context_1.useDrawerStackContext; } });
|
|
13
|
+
var drawer_toolbar_context_1 = require("./drawer-toolbar-context");
|
|
14
|
+
Object.defineProperty(exports, "useDrawerToolbarContext", { enumerable: true, get: function () { return drawer_toolbar_context_1.useDrawerToolbarContext; } });
|
|
15
|
+
var utils_1 = require("./utils");
|
|
16
|
+
Object.defineProperty(exports, "getLgIds", { enumerable: true, get: function () { return utils_1.getLgIds; } });
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/drawer/index.ts"],"names":[],"mappings":";;;AAAA,mCAKkB;AAJhB,qGAAA,WAAW,OAAA;AACX,gGAAA,MAAM,OAAA;AACN,yGAAA,eAAe,OAAA;AAGjB,iDAAuE;AAA9D,6GAAA,YAAY,OAAA;AACrB,+DAGgC;AAF9B,2HAAA,mBAAmB,OAAA;AACnB,6HAAA,qBAAqB,OAAA;AAEvB,mEAAmE;AAA1D,iIAAA,uBAAuB,OAAA;AAChC,iCAAmC;AAA1B,iGAAA,QAAQ,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/layout-component/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LayoutComponent = void 0;
|
|
4
|
+
var layout_component_1 = require("./layout-component");
|
|
5
|
+
Object.defineProperty(exports, "LayoutComponent", { enumerable: true, get: function () { return layout_component_1.LayoutComponent; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/drawer/layout-component/index.ts"],"names":[],"mappings":";;;AAAA,uDAAqD;AAA5C,mHAAA,eAAe,OAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DisplayMode } from '../drawer';
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*
|
|
6
|
+
* LayoutComponent is a wrapper component that provides a layout for displaying content with a drawer.
|
|
7
|
+
* It can be used in both overlay and embedded modes.
|
|
8
|
+
*/
|
|
9
|
+
export declare const LayoutComponent: React.ForwardRefExoticComponent<(Omit<{
|
|
10
|
+
displayMode: DisplayMode;
|
|
11
|
+
} & import("@leafygreen-ui/lib").DarkModeProps & import("./layout-component.styles").BaseLayoutComponentProps & {
|
|
12
|
+
isDrawerOpen?: boolean;
|
|
13
|
+
}, "ref"> | Omit<{
|
|
14
|
+
displayMode: DisplayMode;
|
|
15
|
+
} & import("@leafygreen-ui/lib").DarkModeProps & import("./layout-component.styles").BaseLayoutComponentProps & {
|
|
16
|
+
isDrawerOpen?: never;
|
|
17
|
+
}, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
//# sourceMappingURL=layout-component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout-component.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/layout-component/layout-component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAM1C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAMxC;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;;;;;;iDA+B3B,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.LayoutComponent = void 0;
|
|
37
|
+
const react_1 = __importStar(require("react"));
|
|
38
|
+
const leafygreen_provider_1 = __importStar(require("@leafygreen-ui/leafygreen-provider"));
|
|
39
|
+
const drawer_1 = require("../drawer");
|
|
40
|
+
const embedded_drawer_layout_1 = require("../embedded-drawer-layout");
|
|
41
|
+
const overlay_drawer_layout_1 = require("../overlay-drawer-layout");
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*
|
|
45
|
+
* LayoutComponent is a wrapper component that provides a layout for displaying content with a drawer.
|
|
46
|
+
* It can be used in both overlay and embedded modes.
|
|
47
|
+
*/
|
|
48
|
+
exports.LayoutComponent = (0, react_1.forwardRef)(({ children, displayMode, darkMode: darkModeProp, isDrawerOpen = false, ...rest }, forwardRef) => {
|
|
49
|
+
const { darkMode } = (0, leafygreen_provider_1.useDarkMode)(darkModeProp);
|
|
50
|
+
return (react_1.default.createElement(leafygreen_provider_1.default, { darkMode: darkMode }, displayMode === drawer_1.DisplayMode.Overlay ? (react_1.default.createElement(overlay_drawer_layout_1.OverlayDrawerLayout, { ref: forwardRef, ...rest }, children)) : (react_1.default.createElement(embedded_drawer_layout_1.EmbeddedDrawerLayout, { ref: forwardRef, isDrawerOpen: isDrawerOpen, ...rest }, children))));
|
|
51
|
+
});
|
|
52
|
+
exports.LayoutComponent.displayName = 'LayoutComponent';
|
|
53
|
+
//# sourceMappingURL=layout-component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout-component.js","sourceRoot":"","sources":["../../../../src/components/drawer/layout-component/layout-component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA0C;AAE1C,0FAE4C;AAE5C,sCAAwC;AACxC,sEAAiE;AACjE,oEAA+D;AAI/D;;;;;GAKG;AACU,QAAA,eAAe,GAAG,IAAA,kBAAU,EACvC,CACE,EACE,QAAQ,EACR,WAAW,EACX,QAAQ,EAAE,YAAY,EACtB,YAAY,GAAG,KAAK,EACpB,GAAG,IAAI,EACc,EACvB,UAAU,EACV,EAAE;IACF,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,iCAAW,EAAC,YAAY,CAAC,CAAC;IAE/C,OAAO,CACL,8BAAC,6BAAkB,IAAC,QAAQ,EAAE,QAAQ,IACnC,WAAW,KAAK,oBAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CACrC,8BAAC,2CAAmB,IAAC,GAAG,EAAE,UAAU,KAAM,IAAI,IAC3C,QAAQ,CACW,CACvB,CAAC,CAAC,CAAC,CACF,8BAAC,6CAAoB,IACnB,GAAG,EAAE,UAAU,EACf,YAAY,EAAE,YAAY,KACtB,IAAI,IAEP,QAAQ,CACY,CACxB,CACkB,CACtB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,uBAAe,CAAC,WAAW,GAAG,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DarkModeProps, HTMLElementProps } from '@leafygreen-ui/lib';
|
|
2
|
+
import type { DisplayMode } from '../drawer';
|
|
3
|
+
import type { EmbeddedDrawerLayoutProps } from '../embedded-drawer-layout';
|
|
4
|
+
import type { OverlayDrawerLayoutProps } from '../overlay-drawer-layout';
|
|
5
|
+
export type LayoutComponentProps = {
|
|
6
|
+
displayMode: DisplayMode;
|
|
7
|
+
} & DarkModeProps & (EmbeddedDrawerLayoutProps | (OverlayDrawerLayoutProps & {
|
|
8
|
+
isDrawerOpen?: never;
|
|
9
|
+
}));
|
|
10
|
+
export interface BaseLayoutComponentProps extends Omit<HTMLElementProps<'div'>, 'children'> {
|
|
11
|
+
/**
|
|
12
|
+
* Determines if the Toolbar is present in the layout
|
|
13
|
+
*/
|
|
14
|
+
hasToolbar?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The content to be rendered inside the Drawer
|
|
17
|
+
*/
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=layout-component.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout-component.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/layout-component/layout-component.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE1E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAEzE,MAAM,MAAM,oBAAoB,GAAG;IACjC,WAAW,EAAE,WAAW,CAAC;CAC1B,GAAG,aAAa,GACf,CACI,yBAAyB,GACzB,CAAC,wBAAwB,GAAG;IAAE,YAAY,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC,CACxD,CAAC;AAGJ,MAAM,WAAW,wBACf,SAAQ,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACjD;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout-component.styles.js","sourceRoot":"","sources":["../../../../src/components/drawer/layout-component/layout-component.styles.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/overlay-drawer-layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OverlayDrawerLayout = void 0;
|
|
4
|
+
var overlay_drawer_layout_1 = require("./overlay-drawer-layout");
|
|
5
|
+
Object.defineProperty(exports, "OverlayDrawerLayout", { enumerable: true, get: function () { return overlay_drawer_layout_1.OverlayDrawerLayout; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/drawer/overlay-drawer-layout/index.ts"],"names":[],"mappings":";;;AAAA,iEAA8D;AAArD,4HAAA,mBAAmB,OAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*
|
|
5
|
+
* This layout wrapper is used to create a layout that has 2 grid columns. The main content is on the left and the drawer is on the right.
|
|
6
|
+
*
|
|
7
|
+
* Since this layout is used for overlay drawers, when the drawer is open, the layout will not shift. Instead the shifting is handled by the children of this component.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
export declare const OverlayDrawerLayout: React.ForwardRefExoticComponent<Omit<import("../layout-component/layout-component.styles").BaseLayoutComponentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
//# sourceMappingURL=overlay-drawer-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay-drawer-layout.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/overlay-drawer-layout/overlay-drawer-layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAK1C;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,oKAoB/B,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.OverlayDrawerLayout = void 0;
|
|
37
|
+
const react_1 = __importStar(require("react"));
|
|
38
|
+
const overlay_drawer_layout_styles_1 = require("./overlay-drawer-layout.styles");
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*
|
|
42
|
+
* This layout wrapper is used to create a layout that has 2 grid columns. The main content is on the left and the drawer is on the right.
|
|
43
|
+
*
|
|
44
|
+
* Since this layout is used for overlay drawers, when the drawer is open, the layout will not shift. Instead the shifting is handled by the children of this component.
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
exports.OverlayDrawerLayout = (0, react_1.forwardRef)(({ children, className, hasToolbar = false }, forwardedRef) => {
|
|
48
|
+
return (react_1.default.createElement("div", { ref: forwardedRef, className: (0, overlay_drawer_layout_styles_1.getOverlayDrawerLayoutStyles)({
|
|
49
|
+
className,
|
|
50
|
+
hasToolbar,
|
|
51
|
+
}) }, children));
|
|
52
|
+
});
|
|
53
|
+
exports.OverlayDrawerLayout.displayName = 'OverlayDrawerLayout';
|
|
54
|
+
//# sourceMappingURL=overlay-drawer-layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay-drawer-layout.js","sourceRoot":"","sources":["../../../../src/components/drawer/overlay-drawer-layout/overlay-drawer-layout.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA0C;AAE1C,iFAA8E;AAG9E;;;;;;;GAOG;AACU,QAAA,mBAAmB,GAAG,IAAA,kBAAU,EAI3C,CACE,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,GAAG,KAAK,EAA4B,EACrE,YAAY,EACZ,EAAE;IACF,OAAO,CACL,uCACE,GAAG,EAAE,YAAY,EACjB,SAAS,EAAE,IAAA,2DAA4B,EAAC;YACtC,SAAS;YACT,UAAU;SACX,CAAC,IAED,QAAQ,CACL,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,2BAAmB,CAAC,WAAW,GAAG,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay-drawer-layout.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/overlay-drawer-layout/overlay-drawer-layout.styles.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,4BAA4B,GAAI,4BAG1C;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,WAQE,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getOverlayDrawerLayoutStyles = void 0;
|
|
4
|
+
const emotion_1 = require("@leafygreen-ui/emotion");
|
|
5
|
+
const constants_1 = require("../constants");
|
|
6
|
+
const baseStyles = (0, emotion_1.css) `
|
|
7
|
+
width: 100%;
|
|
8
|
+
position: relative;
|
|
9
|
+
height: inherit;
|
|
10
|
+
`;
|
|
11
|
+
const drawerBaseStyles = (0, emotion_1.css) `
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-template-columns: auto 0px;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
`;
|
|
16
|
+
const toolbarBaseStyles = (0, emotion_1.css) `
|
|
17
|
+
display: grid;
|
|
18
|
+
grid-template-columns: auto ${constants_1.TOOLBAR_WIDTH}px;
|
|
19
|
+
grid-template-areas: '${constants_1.GRID_AREA.content} ${constants_1.GRID_AREA.drawer}';
|
|
20
|
+
height: 100%;
|
|
21
|
+
`;
|
|
22
|
+
const getOverlayDrawerLayoutStyles = ({ className, hasToolbar = false, }) => (0, emotion_1.cx)(baseStyles, {
|
|
23
|
+
[toolbarBaseStyles]: hasToolbar,
|
|
24
|
+
[drawerBaseStyles]: !hasToolbar,
|
|
25
|
+
}, className);
|
|
26
|
+
exports.getOverlayDrawerLayoutStyles = getOverlayDrawerLayoutStyles;
|
|
27
|
+
//# sourceMappingURL=overlay-drawer-layout.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay-drawer-layout.styles.js","sourceRoot":"","sources":["../../../../src/components/drawer/overlay-drawer-layout/overlay-drawer-layout.styles.ts"],"names":[],"mappings":";;;AAAA,oDAAiD;AAEjD,4CAAwD;AAExD,MAAM,UAAU,GAAG,IAAA,aAAG,EAAA;;;;CAIrB,CAAC;AAEF,MAAM,gBAAgB,GAAG,IAAA,aAAG,EAAA;;;;CAI3B,CAAC;AAEF,MAAM,iBAAiB,GAAG,IAAA,aAAG,EAAA;;gCAEG,yBAAa;0BACnB,qBAAS,CAAC,OAAO,IAAI,qBAAS,CAAC,MAAM;;CAE9D,CAAC;AAEK,MAAM,4BAA4B,GAAG,CAAC,EAC3C,SAAS,EACT,UAAU,GAAG,KAAK,GAInB,EAAE,EAAE,CACH,IAAA,YAAE,EACA,UAAU,EACV;IACE,CAAC,iBAAiB,CAAC,EAAE,UAAU;IAC/B,CAAC,gBAAgB,CAAC,EAAE,CAAC,UAAU;CAChC,EACD,SAAS,CACV,CAAC;AAdS,QAAA,4BAA4B,gCAcrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay-drawer-layout.types.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/overlay-drawer-layout/overlay-drawer-layout.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AAE5F,MAAM,MAAM,wBAAwB,GAAG,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay-drawer-layout.types.js","sourceRoot":"","sources":["../../../../src/components/drawer/overlay-drawer-layout/overlay-drawer-layout.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { LgIdString } from '@leafygreen-ui/lib';
|
|
2
|
+
export declare const DEFAULT_LGID_ROOT = "lg-drawer";
|
|
3
|
+
export declare const getLgIds: (root?: LgIdString) => {
|
|
4
|
+
readonly root: `lg-${string}`;
|
|
5
|
+
readonly closeButton: `lg-${string}-close_button`;
|
|
6
|
+
readonly toolbar: `lg-${string}-toolbar`;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=get-lg-ids.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-lg-ids.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/utils/get-lg-ids.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,eAAO,MAAM,iBAAiB,cAAc,CAAC;AAE7C,eAAO,MAAM,QAAQ,GAAI,OAAM,UAA8B;;;;CAKhD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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-drawer';
|
|
5
|
+
const getLgIds = (root = exports.DEFAULT_LGID_ROOT) => ({
|
|
6
|
+
root,
|
|
7
|
+
closeButton: `${root}-close_button`,
|
|
8
|
+
toolbar: `${root}-toolbar`,
|
|
9
|
+
});
|
|
10
|
+
exports.getLgIds = getLgIds;
|
|
11
|
+
//# sourceMappingURL=get-lg-ids.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-lg-ids.js","sourceRoot":"","sources":["../../../../src/components/drawer/utils/get-lg-ids.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAG,WAAW,CAAC;AAEtC,MAAM,QAAQ,GAAG,CAAC,OAAmB,yBAAiB,EAAE,EAAE,CAC/D,CAAC;IACC,IAAI;IACJ,WAAW,EAAE,GAAG,IAAI,eAAe;IACnC,OAAO,EAAE,GAAG,IAAI,UAAU;CACjB,CAAA,CAAC;AALD,QAAA,QAAQ,YAKP"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,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/drawer/utils/index.ts"],"names":[],"mappings":";;;AAAA,2CAA2D;AAAlD,+GAAA,iBAAiB,OAAA;AAAE,sGAAA,QAAQ,OAAA"}
|
|
@@ -41,5 +41,6 @@ declare const Icon: {
|
|
|
41
41
|
};
|
|
42
42
|
export { Link, Button, IconButton } from './links/link';
|
|
43
43
|
declare const TextInput: typeof LeafyGreenTextInput;
|
|
44
|
+
export { Drawer, DrawerLayout, DisplayMode as DrawerDisplayMode, DrawerStackProvider, useDrawerStackContext, useDrawerToolbarContext, type DrawerLayoutProps, } from './drawer';
|
|
44
45
|
export { AtlasNavGraphic, Badge, Banner, Card, Checkbox, Chip, Code, ConfirmationModal, ExpandedContent, HeaderCell, HeaderRow, Icon, Language, Menu, MenuItem, MenuSeparator, Modal, ModalFooter, MarketingModal, MongoDBLogoMark, MongoDBLogo, Pipeline, Popover, RadioBox, RadioBoxGroup, Radio, RadioGroup, SegmentedControl, SegmentedControlOption, Select, Option, OptionGroup, Table, TableBody, TableHead, Row, Cell, Stage, Tab, Tabs, TextArea, TextInput, Toggle, Tooltip, H1, H2, H3, Subtitle, Body, InlineCode, InlineKeyCode, Disclaimer, Overline, Label, Description, SearchInput, InfoSprinkle, flexRender, useLeafyGreenTable, getExpandedRowModel, getFilteredRowModel, type LgTableRowType, Combobox, ComboboxGroup, ComboboxOption, };
|
|
45
46
|
//# sourceMappingURL=leafygreen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leafygreen.d.ts","sourceRoot":"","sources":["../../src/components/leafygreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,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;QAC7D,IAAI,CAAC,EAAE,kBAAkB,GAAG,QAAQ,GAAG,MAAM,CAAC;KAC/C;;CAGA,CAAC;AAQF,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAGxD,QAAA,MAAM,SAAS,EAAE,OAAO,mBAkBvB,CAAC;AAIF,OAAO,EACL,MAAM,EACN,YAAY,EACZ,WAAW,IAAI,iBAAiB,EAChC,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,KAAK,iBAAiB,GACvB,MAAM,UAAU,CAAC;AAGlB,OAAO,EACL,eAAe,EACf,KAAK,EACL,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,UAAU,EACV,SAAS,EACT,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,KAAK,EACL,WAAW,EACX,cAAc,EACd,eAAe,EACf,WAAW,EACX,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,aAAa,EACb,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,sBAAsB,EACtB,MAAM,EACN,MAAM,EACN,WAAW,EACX,KAAK,EACL,SAAS,EACT,SAAS,EACT,GAAG,EACH,IAAI,EACJ,KAAK,EACL,GAAG,EACH,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,MAAM,EACN,OAAO,EACP,EAAE,EACF,EAAE,EACF,EAAE,EACF,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,aAAa,EACb,UAAU,EACV,QAAQ,EACR,KAAK,EACL,WAAW,EACX,WAAW,EACX,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,KAAK,cAAc,EACnB,QAAQ,EACR,aAAa,EACb,cAAc,GACf,CAAC"}
|
|
@@ -36,8 +36,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.ComboboxOption = exports.ComboboxGroup = exports.Combobox = exports.getFilteredRowModel = exports.getExpandedRowModel = exports.useLeafyGreenTable = exports.flexRender = exports.InfoSprinkle = exports.SearchInput = exports.Description = exports.Label = exports.Overline = exports.Disclaimer = exports.InlineKeyCode = exports.InlineCode = exports.Body = exports.Subtitle = exports.H3 = exports.H2 = void 0;
|
|
39
|
+
exports.Tab = exports.Stage = exports.Cell = exports.Row = exports.TableHead = exports.TableBody = exports.Table = exports.OptionGroup = exports.Option = exports.Select = exports.SegmentedControlOption = exports.SegmentedControl = exports.RadioGroup = exports.Radio = exports.RadioBoxGroup = exports.RadioBox = exports.Popover = exports.Pipeline = exports.MongoDBLogo = exports.MongoDBLogoMark = exports.MarketingModal = exports.ModalFooter = exports.Modal = exports.MenuSeparator = exports.MenuItem = exports.Menu = exports.Language = exports.Icon = exports.HeaderRow = exports.HeaderCell = exports.ExpandedContent = exports.ConfirmationModal = exports.Code = exports.Chip = exports.Checkbox = exports.Card = exports.Banner = exports.Badge = exports.AtlasNavGraphic = exports.useDrawerToolbarContext = exports.useDrawerStackContext = exports.DrawerStackProvider = exports.DrawerDisplayMode = exports.DrawerLayout = exports.Drawer = exports.IconButton = exports.Button = exports.Link = exports.useMergeRefs = exports.usePrevious = void 0;
|
|
40
|
+
exports.ComboboxOption = exports.ComboboxGroup = exports.Combobox = exports.getFilteredRowModel = exports.getExpandedRowModel = exports.useLeafyGreenTable = exports.flexRender = exports.InfoSprinkle = exports.SearchInput = exports.Description = exports.Label = exports.Overline = exports.Disclaimer = exports.InlineKeyCode = exports.InlineCode = exports.Body = exports.Subtitle = exports.H3 = exports.H2 = exports.H1 = exports.Tooltip = exports.Toggle = exports.TextInput = exports.TextArea = exports.Tabs = void 0;
|
|
41
41
|
const react_1 = __importStar(require("react"));
|
|
42
42
|
// This file exports `@leafygreen-ui` components and wraps some of them.
|
|
43
43
|
// 1. Import the components we use from leafygreen.
|
|
@@ -167,4 +167,11 @@ const TextInput = react_1.default.forwardRef(function TextInput({ defaultValue,
|
|
|
167
167
|
});
|
|
168
168
|
exports.TextInput = TextInput;
|
|
169
169
|
TextInput.displayName = 'TextInput';
|
|
170
|
+
var drawer_1 = require("./drawer");
|
|
171
|
+
Object.defineProperty(exports, "Drawer", { enumerable: true, get: function () { return drawer_1.Drawer; } });
|
|
172
|
+
Object.defineProperty(exports, "DrawerLayout", { enumerable: true, get: function () { return drawer_1.DrawerLayout; } });
|
|
173
|
+
Object.defineProperty(exports, "DrawerDisplayMode", { enumerable: true, get: function () { return drawer_1.DisplayMode; } });
|
|
174
|
+
Object.defineProperty(exports, "DrawerStackProvider", { enumerable: true, get: function () { return drawer_1.DrawerStackProvider; } });
|
|
175
|
+
Object.defineProperty(exports, "useDrawerStackContext", { enumerable: true, get: function () { return drawer_1.useDrawerStackContext; } });
|
|
176
|
+
Object.defineProperty(exports, "useDrawerToolbarContext", { enumerable: true, get: function () { return drawer_1.useDrawerToolbarContext; } });
|
|
170
177
|
//# sourceMappingURL=leafygreen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leafygreen.js","sourceRoot":"","sources":["../../src/components/leafygreen.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAwC;AAExC,wEAAwE;AAExE,mDAAmD;AACnD,iEAAwD;
|
|
1
|
+
{"version":3,"file":"leafygreen.js","sourceRoot":"","sources":["../../src/components/leafygreen.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAwC;AAExC,wEAAwE;AAExE,mDAAmD;AACnD,iEAAwD;AAgJtD,sFAhJkB,eAAK,OAgJlB;AA/IP,mEAA0D;AAgJxD,uFAhJkB,gBAAM,OAgJlB;AA/IR,uEAA+C;AAiJ7C,mBAj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,OAAqB;AAChC,6GAAA,mBAAmB,OAAA;AACnB,+GAAA,qBAAqB,OAAA;AACrB,iHAAA,uBAAuB,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,KAAK,CAAC;AAChC,eAAO,MAAM,kBAAkB,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/toolbar/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG,EAAE,CAAC;AACnB,QAAA,kBAAkB,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/toolbar/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC9E,OAAO,EACL,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useToolbarDescendantsContext = exports.ToolbarDescendantsContext = exports.useToolbarContext = exports.ToolbarContextProvider = void 0;
|
|
4
|
+
var toolbar_context_1 = require("./toolbar-context");
|
|
5
|
+
Object.defineProperty(exports, "ToolbarContextProvider", { enumerable: true, get: function () { return toolbar_context_1.ToolbarContextProvider; } });
|
|
6
|
+
Object.defineProperty(exports, "useToolbarContext", { enumerable: true, get: function () { return toolbar_context_1.useToolbarContext; } });
|
|
7
|
+
var toolbar_descendants_context_1 = require("./toolbar-descendants-context");
|
|
8
|
+
Object.defineProperty(exports, "ToolbarDescendantsContext", { enumerable: true, get: function () { return toolbar_descendants_context_1.ToolbarDescendantsContext; } });
|
|
9
|
+
Object.defineProperty(exports, "useToolbarDescendantsContext", { enumerable: true, get: function () { return toolbar_descendants_context_1.useToolbarDescendantsContext; } });
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/toolbar/context/index.ts"],"names":[],"mappings":";;;AAAA,qDAA8E;AAArE,yHAAA,sBAAsB,OAAA;AAAE,oHAAA,iBAAiB,OAAA;AAClD,6EAGuC;AAFrC,wIAAA,yBAAyB,OAAA;AACzB,2IAAA,4BAA4B,OAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
import type { ToolbarProviderProps } from './toolbar-context.types';
|
|
3
|
+
export declare const ToolbarContext: React.Context<ToolbarProviderProps>;
|
|
4
|
+
export declare const useToolbarContext: () => ToolbarProviderProps;
|
|
5
|
+
export declare const ToolbarContextProvider: ({ children, focusedIndex, shouldFocus, lgIds, handleOnIconButtonClick, darkMode, }: PropsWithChildren<ToolbarProviderProps>) => React.JSX.Element;
|
|
6
|
+
//# sourceMappingURL=toolbar-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar-context.d.ts","sourceRoot":"","sources":["../../../../src/components/toolbar/context/toolbar-context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAEZ,KAAK,iBAAiB,EAGvB,MAAM,OAAO,CAAC;AAMf,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,eAAO,MAAM,cAAc,qCAKzB,CAAC;AAEH,eAAO,MAAM,iBAAiB,4BACoB,CAAC;AAEnD,eAAO,MAAM,sBAAsB,GAAI,oFAOpC,iBAAiB,CAAC,oBAAoB,CAAC,sBAiBzC,CAAC"}
|