@mongodb-js/compass-components 1.43.0 → 1.45.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.
Files changed (238) hide show
  1. package/lib/components/document-list/document-edit-actions-footer.d.ts.map +1 -1
  2. package/lib/components/document-list/document-edit-actions-footer.js +31 -26
  3. package/lib/components/document-list/document-edit-actions-footer.js.map +1 -1
  4. package/lib/components/drawer/constants.d.ts +9 -0
  5. package/lib/components/drawer/constants.d.ts.map +1 -0
  6. package/lib/components/drawer/constants.js +13 -0
  7. package/lib/components/drawer/constants.js.map +1 -0
  8. package/lib/components/drawer/drawer/drawer.constants.d.ts +3 -0
  9. package/lib/components/drawer/drawer/drawer.constants.d.ts.map +1 -0
  10. package/lib/components/drawer/drawer/drawer.constants.js +6 -0
  11. package/lib/components/drawer/drawer/drawer.constants.js.map +1 -0
  12. package/lib/components/drawer/drawer/drawer.d.ts +4 -0
  13. package/lib/components/drawer/drawer/drawer.d.ts.map +1 -0
  14. package/lib/components/drawer/drawer/drawer.js +137 -0
  15. package/lib/components/drawer/drawer/drawer.js.map +1 -0
  16. package/lib/components/drawer/drawer/drawer.styles.d.ts +29 -0
  17. package/lib/components/drawer/drawer/drawer.styles.d.ts.map +1 -0
  18. package/lib/components/drawer/drawer/drawer.styles.js +174 -0
  19. package/lib/components/drawer/drawer/drawer.styles.js.map +1 -0
  20. package/lib/components/drawer/drawer/drawer.types.d.ts +35 -0
  21. package/lib/components/drawer/drawer/drawer.types.d.ts.map +1 -0
  22. package/lib/components/drawer/drawer/drawer.types.js +13 -0
  23. package/lib/components/drawer/drawer/drawer.types.js.map +1 -0
  24. package/lib/components/drawer/drawer/index.d.ts +5 -0
  25. package/lib/components/drawer/drawer/index.d.ts.map +1 -0
  26. package/lib/components/drawer/drawer/index.js +12 -0
  27. package/lib/components/drawer/drawer/index.js.map +1 -0
  28. package/lib/components/drawer/drawer-layout/drawer-layout.d.ts +17 -0
  29. package/lib/components/drawer/drawer-layout/drawer-layout.d.ts.map +1 -0
  30. package/lib/components/drawer/drawer-layout/drawer-layout.js +57 -0
  31. package/lib/components/drawer/drawer-layout/drawer-layout.js.map +1 -0
  32. package/lib/components/drawer/drawer-layout/drawer-layout.types.d.ts +34 -0
  33. package/lib/components/drawer/drawer-layout/drawer-layout.types.d.ts.map +1 -0
  34. package/lib/components/drawer/drawer-layout/drawer-layout.types.js +3 -0
  35. package/lib/components/drawer/drawer-layout/drawer-layout.types.js.map +1 -0
  36. package/lib/components/drawer/drawer-layout/index.d.ts +3 -0
  37. package/lib/components/drawer/drawer-layout/index.d.ts.map +1 -0
  38. package/lib/components/drawer/drawer-layout/index.js +6 -0
  39. package/lib/components/drawer/drawer-layout/index.js.map +1 -0
  40. package/lib/components/drawer/drawer-stack-context/drawer-stack-context.d.ts +8 -0
  41. package/lib/components/drawer/drawer-stack-context/drawer-stack-context.d.ts.map +1 -0
  42. package/lib/components/drawer/drawer-stack-context/drawer-stack-context.js +71 -0
  43. package/lib/components/drawer/drawer-stack-context/drawer-stack-context.js.map +1 -0
  44. package/lib/components/drawer/drawer-stack-context/drawer-stack-context.types.d.ts +21 -0
  45. package/lib/components/drawer/drawer-stack-context/drawer-stack-context.types.d.ts.map +1 -0
  46. package/lib/components/drawer/drawer-stack-context/drawer-stack-context.types.js +3 -0
  47. package/lib/components/drawer/drawer-stack-context/drawer-stack-context.types.js.map +1 -0
  48. package/lib/components/drawer/drawer-stack-context/index.d.ts +3 -0
  49. package/lib/components/drawer/drawer-stack-context/index.d.ts.map +1 -0
  50. package/lib/components/drawer/drawer-stack-context/index.js +8 -0
  51. package/lib/components/drawer/drawer-stack-context/index.js.map +1 -0
  52. package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.d.ts +6 -0
  53. package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.d.ts.map +1 -0
  54. package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.js +85 -0
  55. package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.js.map +1 -0
  56. package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.types.d.ts +37 -0
  57. package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.types.d.ts.map +1 -0
  58. package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.types.js +3 -0
  59. package/lib/components/drawer/drawer-toolbar-context/drawer-toolbar-context.types.js.map +1 -0
  60. package/lib/components/drawer/drawer-toolbar-context/index.d.ts +2 -0
  61. package/lib/components/drawer/drawer-toolbar-context/index.d.ts.map +1 -0
  62. package/lib/components/drawer/drawer-toolbar-context/index.js +7 -0
  63. package/lib/components/drawer/drawer-toolbar-context/index.js.map +1 -0
  64. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout-container.d.ts +18 -0
  65. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout-container.d.ts.map +1 -0
  66. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout-container.js +82 -0
  67. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout-container.js.map +1 -0
  68. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.d.ts +15 -0
  69. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.d.ts.map +1 -0
  70. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.js +50 -0
  71. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.js.map +1 -0
  72. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.styles.d.ts +2 -0
  73. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.styles.d.ts.map +1 -0
  74. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.styles.js +11 -0
  75. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.styles.js.map +1 -0
  76. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.types.d.ts +44 -0
  77. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.types.d.ts.map +1 -0
  78. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.types.js +3 -0
  79. package/lib/components/drawer/drawer-toolbar-layout/drawer-toolbar-layout.types.js.map +1 -0
  80. package/lib/components/drawer/drawer-toolbar-layout/index.d.ts +3 -0
  81. package/lib/components/drawer/drawer-toolbar-layout/index.d.ts.map +1 -0
  82. package/lib/components/drawer/drawer-toolbar-layout/index.js +6 -0
  83. package/lib/components/drawer/drawer-toolbar-layout/index.js.map +1 -0
  84. package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.d.ts +11 -0
  85. package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.d.ts.map +1 -0
  86. package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.js +63 -0
  87. package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.js.map +1 -0
  88. package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.styles.d.ts +10 -0
  89. package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.styles.d.ts.map +1 -0
  90. package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.styles.js +137 -0
  91. package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.styles.js.map +1 -0
  92. package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.types.d.ts +11 -0
  93. package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.types.d.ts.map +1 -0
  94. package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.types.js +3 -0
  95. package/lib/components/drawer/drawer-with-toolbar-wrapper/drawer-with-toolbar-wrapper.types.js.map +1 -0
  96. package/lib/components/drawer/drawer-with-toolbar-wrapper/index.d.ts +2 -0
  97. package/lib/components/drawer/drawer-with-toolbar-wrapper/index.d.ts.map +1 -0
  98. package/lib/components/drawer/drawer-with-toolbar-wrapper/index.js +6 -0
  99. package/lib/components/drawer/drawer-with-toolbar-wrapper/index.js.map +1 -0
  100. package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.d.ts +12 -0
  101. package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.d.ts.map +1 -0
  102. package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.js +55 -0
  103. package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.js.map +1 -0
  104. package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.styles.d.ts +6 -0
  105. package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.styles.d.ts.map +1 -0
  106. package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.styles.js +54 -0
  107. package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.styles.js.map +1 -0
  108. package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.types.d.ts +8 -0
  109. package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.types.d.ts.map +1 -0
  110. package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.types.js +3 -0
  111. package/lib/components/drawer/embedded-drawer-layout/embedded-drawer-layout.types.js.map +1 -0
  112. package/lib/components/drawer/embedded-drawer-layout/index.d.ts +3 -0
  113. package/lib/components/drawer/embedded-drawer-layout/index.d.ts.map +1 -0
  114. package/lib/components/drawer/embedded-drawer-layout/index.js +6 -0
  115. package/lib/components/drawer/embedded-drawer-layout/index.js.map +1 -0
  116. package/lib/components/drawer/index.d.ts +6 -0
  117. package/lib/components/drawer/index.d.ts.map +1 -0
  118. package/lib/components/drawer/index.js +17 -0
  119. package/lib/components/drawer/index.js.map +1 -0
  120. package/lib/components/drawer/layout-component/index.d.ts +3 -0
  121. package/lib/components/drawer/layout-component/index.d.ts.map +1 -0
  122. package/lib/components/drawer/layout-component/index.js +6 -0
  123. package/lib/components/drawer/layout-component/index.js.map +1 -0
  124. package/lib/components/drawer/layout-component/layout-component.d.ts +18 -0
  125. package/lib/components/drawer/layout-component/layout-component.d.ts.map +1 -0
  126. package/lib/components/drawer/layout-component/layout-component.js +53 -0
  127. package/lib/components/drawer/layout-component/layout-component.js.map +1 -0
  128. package/lib/components/drawer/layout-component/layout-component.styles.d.ts +20 -0
  129. package/lib/components/drawer/layout-component/layout-component.styles.d.ts.map +1 -0
  130. package/lib/components/drawer/layout-component/layout-component.styles.js +3 -0
  131. package/lib/components/drawer/layout-component/layout-component.styles.js.map +1 -0
  132. package/lib/components/drawer/overlay-drawer-layout/index.d.ts +3 -0
  133. package/lib/components/drawer/overlay-drawer-layout/index.d.ts.map +1 -0
  134. package/lib/components/drawer/overlay-drawer-layout/index.js +6 -0
  135. package/lib/components/drawer/overlay-drawer-layout/index.js.map +1 -0
  136. package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.d.ts +11 -0
  137. package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.d.ts.map +1 -0
  138. package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.js +54 -0
  139. package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.js.map +1 -0
  140. package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.styles.d.ts +5 -0
  141. package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.styles.d.ts.map +1 -0
  142. package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.styles.js +27 -0
  143. package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.styles.js.map +1 -0
  144. package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.types.d.ts +3 -0
  145. package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.types.d.ts.map +1 -0
  146. package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.types.js +3 -0
  147. package/lib/components/drawer/overlay-drawer-layout/overlay-drawer-layout.types.js.map +1 -0
  148. package/lib/components/drawer/utils/get-lg-ids.d.ts +8 -0
  149. package/lib/components/drawer/utils/get-lg-ids.d.ts.map +1 -0
  150. package/lib/components/drawer/utils/get-lg-ids.js +11 -0
  151. package/lib/components/drawer/utils/get-lg-ids.js.map +1 -0
  152. package/lib/components/drawer/utils/index.d.ts +2 -0
  153. package/lib/components/drawer/utils/index.d.ts.map +1 -0
  154. package/lib/components/drawer/utils/index.js +7 -0
  155. package/lib/components/drawer/utils/index.js.map +1 -0
  156. package/lib/components/{file-input.d.ts → file-picker-dialog.d.ts} +13 -3
  157. package/lib/components/file-picker-dialog.d.ts.map +1 -0
  158. package/lib/components/{file-input.js → file-picker-dialog.js} +13 -3
  159. package/lib/components/file-picker-dialog.js.map +1 -0
  160. package/lib/components/file-selector.d.ts +11 -0
  161. package/lib/components/file-selector.d.ts.map +1 -0
  162. package/lib/components/file-selector.js +49 -0
  163. package/lib/components/file-selector.js.map +1 -0
  164. package/lib/components/leafygreen.d.ts +1 -0
  165. package/lib/components/leafygreen.d.ts.map +1 -1
  166. package/lib/components/leafygreen.js +9 -2
  167. package/lib/components/leafygreen.js.map +1 -1
  168. package/lib/components/toolbar/constants.d.ts +3 -0
  169. package/lib/components/toolbar/constants.d.ts.map +1 -0
  170. package/lib/components/toolbar/constants.js +6 -0
  171. package/lib/components/toolbar/constants.js.map +1 -0
  172. package/lib/components/toolbar/context/index.d.ts +3 -0
  173. package/lib/components/toolbar/context/index.d.ts.map +1 -0
  174. package/lib/components/toolbar/context/index.js +10 -0
  175. package/lib/components/toolbar/context/index.js.map +1 -0
  176. package/lib/components/toolbar/context/toolbar-context.d.ts +6 -0
  177. package/lib/components/toolbar/context/toolbar-context.d.ts.map +1 -0
  178. package/lib/components/toolbar/context/toolbar-context.js +65 -0
  179. package/lib/components/toolbar/context/toolbar-context.js.map +1 -0
  180. package/lib/components/toolbar/context/toolbar-context.types.d.ts +21 -0
  181. package/lib/components/toolbar/context/toolbar-context.types.d.ts.map +1 -0
  182. package/lib/components/toolbar/context/toolbar-context.types.js +3 -0
  183. package/lib/components/toolbar/context/toolbar-context.types.js.map +1 -0
  184. package/lib/components/toolbar/context/toolbar-descendants-context.d.ts +5 -0
  185. package/lib/components/toolbar/context/toolbar-descendants-context.d.ts.map +1 -0
  186. package/lib/components/toolbar/context/toolbar-descendants-context.js +10 -0
  187. package/lib/components/toolbar/context/toolbar-descendants-context.js.map +1 -0
  188. package/lib/components/toolbar/index.d.ts +5 -0
  189. package/lib/components/toolbar/index.d.ts.map +1 -0
  190. package/lib/components/toolbar/index.js +27 -0
  191. package/lib/components/toolbar/index.js.map +1 -0
  192. package/lib/components/toolbar/toolbar/index.d.ts +4 -0
  193. package/lib/components/toolbar/toolbar/index.d.ts.map +1 -0
  194. package/lib/components/toolbar/toolbar/index.js +8 -0
  195. package/lib/components/toolbar/toolbar/index.js.map +1 -0
  196. package/lib/components/toolbar/toolbar/toolbar.d.ts +4 -0
  197. package/lib/components/toolbar/toolbar/toolbar.d.ts.map +1 -0
  198. package/lib/components/toolbar/toolbar/toolbar.js +93 -0
  199. package/lib/components/toolbar/toolbar/toolbar.js.map +1 -0
  200. package/lib/components/toolbar/toolbar/toolbar.styles.d.ts +7 -0
  201. package/lib/components/toolbar/toolbar/toolbar.styles.d.ts.map +1 -0
  202. package/lib/components/toolbar/toolbar/toolbar.styles.js +26 -0
  203. package/lib/components/toolbar/toolbar/toolbar.styles.js.map +1 -0
  204. package/lib/components/toolbar/toolbar/toolbar.types.d.ts +6 -0
  205. package/lib/components/toolbar/toolbar/toolbar.types.d.ts.map +1 -0
  206. package/lib/components/toolbar/toolbar/toolbar.types.js +3 -0
  207. package/lib/components/toolbar/toolbar/toolbar.types.js.map +1 -0
  208. package/lib/components/toolbar/toolbar-icon-button/index.d.ts +3 -0
  209. package/lib/components/toolbar/toolbar-icon-button/index.d.ts.map +1 -0
  210. package/lib/components/toolbar/toolbar-icon-button/index.js +6 -0
  211. package/lib/components/toolbar/toolbar-icon-button/index.js.map +1 -0
  212. package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.d.ts +4 -0
  213. package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.d.ts.map +1 -0
  214. package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.js +77 -0
  215. package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.js.map +1 -0
  216. package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.styles.d.ts +13 -0
  217. package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.styles.d.ts.map +1 -0
  218. package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.styles.js +38 -0
  219. package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.styles.js.map +1 -0
  220. package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.types.d.ts +19 -0
  221. package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.types.d.ts.map +1 -0
  222. package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.types.js +3 -0
  223. package/lib/components/toolbar/toolbar-icon-button/toolbar-icon-button.types.js.map +1 -0
  224. package/lib/components/toolbar/utils/get-lg-ids.d.ts +8 -0
  225. package/lib/components/toolbar/utils/get-lg-ids.d.ts.map +1 -0
  226. package/lib/components/toolbar/utils/get-lg-ids.js +14 -0
  227. package/lib/components/toolbar/utils/get-lg-ids.js.map +1 -0
  228. package/lib/components/toolbar/utils/index.d.ts +2 -0
  229. package/lib/components/toolbar/utils/index.d.ts.map +1 -0
  230. package/lib/components/toolbar/utils/index.js +7 -0
  231. package/lib/components/toolbar/utils/index.js.map +1 -0
  232. package/lib/index.d.ts +4 -3
  233. package/lib/index.d.ts.map +1 -1
  234. package/lib/index.js +9 -7
  235. package/lib/index.js.map +1 -1
  236. package/package.json +11 -9
  237. package/lib/components/file-input.d.ts.map +0 -1
  238. package/lib/components/file-input.js.map +0 -1
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=embedded-drawer-layout.types.js.map
@@ -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,3 @@
1
+ export { EmbeddedDrawerLayout } from './embedded-drawer-layout';
2
+ export { type EmbeddedDrawerLayoutProps } from './embedded-drawer-layout.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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,3 @@
1
+ export { LayoutComponent } from './layout-component';
2
+ export { type LayoutComponentProps } from './layout-component.styles';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=layout-component.styles.js.map
@@ -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,3 @@
1
+ export { OverlayDrawerLayout } from './overlay-drawer-layout';
2
+ export { type OverlayDrawerLayoutProps } from './overlay-drawer-layout.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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,5 @@
1
+ export declare const getOverlayDrawerLayoutStyles: ({ className, hasToolbar, }: {
2
+ className?: string;
3
+ hasToolbar?: boolean;
4
+ }) => string;
5
+ //# sourceMappingURL=overlay-drawer-layout.styles.d.ts.map
@@ -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,3 @@
1
+ import type { BaseLayoutComponentProps } from '../layout-component/layout-component.styles';
2
+ export type OverlayDrawerLayoutProps = BaseLayoutComponentProps;
3
+ //# sourceMappingURL=overlay-drawer-layout.types.d.ts.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=overlay-drawer-layout.types.js.map
@@ -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,2 @@
1
+ export { DEFAULT_LGID_ROOT, getLgIds } from './get-lg-ids';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -42,7 +42,17 @@ export declare const FileInputBackendProvider: React.FunctionComponent<{
42
42
  }>;
43
43
  export declare function createJSDomFileInputDummyBackend(): () => FileInputBackend;
44
44
  export declare function createElectronFileInputBackend<ElectronWindow>(electron: ElectronShowFileDialogProvider<ElectronWindow>, webUtils: ElectronWebUtilsProvider | null): () => FileInputBackend;
45
- declare function FileInput({ autoOpen, id, label, dataTestId, onChange, disabled, optional, optionalMessage, error, errorMessage, variant, showFileOnNewLine, link, description, values, className, multi, mode, accept, title, defaultPath, filters, buttonLabel, properties, }: {
45
+ /**
46
+ * This component is not intended to work in a browser environment. It is designed
47
+ * to be used in environments like Electron where you have access to nodes fs module
48
+ * to read/write files.
49
+ *
50
+ * Always use `FileSelector` component, only use `FilePickerDialog` if you absolutely
51
+ * know what you're doing
52
+ *
53
+ * @deprecated
54
+ */
55
+ declare function FilePickerDialog({ autoOpen, id, label, dataTestId, onChange, disabled, optional, optionalMessage, error, errorMessage, variant, showFileOnNewLine, link, description, values, className, multi, mode, accept, title, defaultPath, filters, buttonLabel, properties, }: {
46
56
  autoOpen?: boolean;
47
57
  id: string;
48
58
  label: string;
@@ -60,5 +70,5 @@ declare function FileInput({ autoOpen, id, label, dataTestId, onChange, disabled
60
70
  values?: string[];
61
71
  className?: string;
62
72
  } & FileChooserOptions): React.ReactElement;
63
- export default FileInput;
64
- //# sourceMappingURL=file-input.d.ts.map
73
+ export default FilePickerDialog;
74
+ //# sourceMappingURL=file-picker-dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-picker-dialog.d.ts","sourceRoot":"","sources":["../../src/components/file-picker-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AA+Hf,KAAK,gBAAgB,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,CAAC;AAGzD,MAAM,MAAM,yBAAyB,GAAG;IACtC,KA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AI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,kBAAkB,GAAG,KAAK,CAAC,YAAY,CAqM1C;AAED,eAAe,gBAAgB,CAAC"}
@@ -239,7 +239,17 @@ function createElectronFileInputBackend(electron, webUtils) {
239
239
  };
240
240
  };
241
241
  }
242
- function FileInput({ autoOpen = false, id, label, dataTestId, onChange, disabled, optional = false, optionalMessage, error = false, errorMessage, variant = 'default', showFileOnNewLine = false, link, description, values, className, multi = false, mode = 'save', accept, title, defaultPath, filters, buttonLabel, properties, }) {
242
+ /**
243
+ * This component is not intended to work in a browser environment. It is designed
244
+ * to be used in environments like Electron where you have access to nodes fs module
245
+ * to read/write files.
246
+ *
247
+ * Always use `FileSelector` component, only use `FilePickerDialog` if you absolutely
248
+ * know what you're doing
249
+ *
250
+ * @deprecated
251
+ */
252
+ function FilePickerDialog({ autoOpen = false, id, label, dataTestId, onChange, disabled, optional = false, optionalMessage, error = false, errorMessage, variant = 'default', showFileOnNewLine = false, link, description, values, className, multi = false, mode = 'save', accept, title, defaultPath, filters, buttonLabel, properties, }) {
243
253
  const darkMode = (0, use_theme_1.useDarkMode)();
244
254
  const inputRef = react_1.default.useRef(null);
245
255
  // To make components of Compass environment agnostic
@@ -348,5 +358,5 @@ function FileInput({ autoOpen = false, id, label, dataTestId, onChange, disabled
348
358
  react_1.default.createElement(leafygreen_1.Icon, { glyph: "X" }))))),
349
359
  error && errorMessage && (react_1.default.createElement(leafygreen_1.Label, { "data-testid": 'file-input-error', className: errorMessageStyles, htmlFor: '' }, errorMessage))));
350
360
  }
351
- exports.default = FileInput;
352
- //# sourceMappingURL=file-input.js.map
361
+ exports.default = FilePickerDialog;
362
+ //# sourceMappingURL=file-picker-dialog.js.map
@@ -0,0 +1 @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I,IAAC,KAAK,EAAC,GAAG,GAAG,CACP,CACT,CACP,CAAC;QACH,KAAK,IAAI,YAAY,IAAI,CACxB,8BAAC,kBAAK,mBACS,kBAAkB,EAC/B,SAAS,EAAE,kBAAkB,EAC7B,OAAO,EAAE,EAAE,IAEV,YAAY,CACP,CACT,CACG,CACP,CAAC;AACJ,CAAC;AAED,kBAAe,gBAAgB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React, { type InputHTMLAttributes } from 'react';
2
+ type FileSelectorTriggerProps = {
3
+ onClick: () => void;
4
+ };
5
+ type FileSelectorProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'onSelect' | 'type' | 'style' | 'ref'> & {
6
+ trigger: (props: FileSelectorTriggerProps) => React.ReactElement;
7
+ onSelect: (files: File[]) => void;
8
+ };
9
+ export declare function FileSelector({ trigger, onSelect, ...props }: FileSelectorProps): React.JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=file-selector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-selector.d.ts","sourceRoot":"","sources":["../../src/components/file-selector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,mBAAmB,EAAU,MAAM,OAAO,CAAC;AAEhE,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,KAAK,iBAAiB,GAAG,IAAI,CAC3B,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CACnD,GAAG;IACF,OAAO,EAAE,CAAC,KAAK,EAAE,wBAAwB,KAAK,KAAK,CAAC,YAAY,CAAC;IACjE,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,qBAwBnB"}
@@ -0,0 +1,49 @@
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.FileSelector = FileSelector;
37
+ const react_1 = __importStar(require("react"));
38
+ function FileSelector({ trigger, onSelect, ...props }) {
39
+ const inputRef = (0, react_1.useRef)(null);
40
+ const onFilesChanged = react_1.default.useCallback((evt) => {
41
+ onSelect(Array.from(evt.currentTarget.files ?? []));
42
+ }, [onSelect]);
43
+ return (react_1.default.createElement(react_1.default.Fragment, null,
44
+ react_1.default.createElement("input", { ...props, ref: inputRef, type: "file", onChange: onFilesChanged, style: { display: 'none' } }),
45
+ trigger({
46
+ onClick: () => inputRef.current?.click(),
47
+ })));
48
+ }
49
+ //# sourceMappingURL=file-selector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-selector.js","sourceRoot":"","sources":["../../src/components/file-selector.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,oCA4BC;AA1CD,+CAAgE;AAchE,SAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACU;IAClB,MAAM,QAAQ,GAAG,IAAA,cAAM,EAAmB,IAAI,CAAC,CAAC;IAEhD,MAAM,cAAc,GAAG,eAAK,CAAC,WAAW,CACtC,CAAC,GAAwC,EAAE,EAAE;QAC3C,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,CAAC;IACtD,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,OAAO,CACL;QACE,4CACM,KAAK,EACT,GAAG,EAAE,QAAQ,EACb,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,cAAc,EACxB,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,GAC1B;QACD,OAAO,CAAC;YACP,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE;SACzC,CAAC,CACD,CACJ,CAAC;AACJ,CAAC"}
@@ -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,OAAO,IAAI,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,QAAQ,MAAM,yBAAyB,CAAC;AAC/C,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,IAAI,EAAE,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,iBAAiB,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,KAAK,EAAE,IAAI,IAAI,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACtE,YAAY,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EACL,eAAe,EACf,eAAe,EACf,WAAW,EACZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpE,YAAY,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;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