@mongodb-js/compass-components 0.17.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/lib/components/accordion.d.ts +1 -2
  2. package/lib/components/accordion.d.ts.map +1 -1
  3. package/lib/components/accordion.js +11 -7
  4. package/lib/components/accordion.js.map +1 -1
  5. package/lib/components/bson-value.d.ts.map +1 -1
  6. package/lib/components/bson-value.js +12 -2
  7. package/lib/components/bson-value.js.map +1 -1
  8. package/lib/components/collapsible-field-set.d.ts +15 -0
  9. package/lib/components/collapsible-field-set.d.ts.map +1 -0
  10. package/lib/components/collapsible-field-set.js +39 -0
  11. package/lib/components/collapsible-field-set.js.map +1 -0
  12. package/lib/components/document-list/document-actions-group.d.ts.map +1 -1
  13. package/lib/components/document-list/document-actions-group.js +3 -2
  14. package/lib/components/document-list/document-actions-group.js.map +1 -1
  15. package/lib/components/document-list/document-edit-actions-footer.d.ts.map +1 -1
  16. package/lib/components/document-list/document-edit-actions-footer.js +22 -20
  17. package/lib/components/document-list/document-edit-actions-footer.js.map +1 -1
  18. package/lib/components/document-list/element-actions.d.ts.map +1 -1
  19. package/lib/components/document-list/element-actions.js +14 -12
  20. package/lib/components/document-list/element-actions.js.map +1 -1
  21. package/lib/components/document-list/element.d.ts.map +1 -1
  22. package/lib/components/document-list/element.js +42 -40
  23. package/lib/components/document-list/element.js.map +1 -1
  24. package/lib/components/editor.d.ts +2 -1
  25. package/lib/components/editor.d.ts.map +1 -1
  26. package/lib/components/editor.js +34 -5
  27. package/lib/components/editor.js.map +1 -1
  28. package/lib/components/error-boundary.d.ts +1 -0
  29. package/lib/components/error-boundary.d.ts.map +1 -1
  30. package/lib/components/error-boundary.js +2 -2
  31. package/lib/components/error-boundary.js.map +1 -1
  32. package/lib/components/file-input.d.ts +1 -0
  33. package/lib/components/file-input.d.ts.map +1 -1
  34. package/lib/components/file-input.js +18 -9
  35. package/lib/components/file-input.js.map +1 -1
  36. package/lib/components/icons/favorite-icon.d.ts +8 -7
  37. package/lib/components/icons/favorite-icon.d.ts.map +1 -1
  38. package/lib/components/icons/favorite-icon.js +3 -1
  39. package/lib/components/icons/favorite-icon.js.map +1 -1
  40. package/lib/components/index-icon.d.ts +7 -0
  41. package/lib/components/index-icon.d.ts.map +1 -0
  42. package/lib/components/index-icon.js +15 -0
  43. package/lib/components/index-icon.js.map +1 -0
  44. package/lib/components/interactive-popover.d.ts +17 -0
  45. package/lib/components/interactive-popover.d.ts.map +1 -0
  46. package/lib/components/interactive-popover.js +132 -0
  47. package/lib/components/interactive-popover.js.map +1 -0
  48. package/lib/components/item-action-controls.d.ts +48 -0
  49. package/lib/components/item-action-controls.d.ts.map +1 -0
  50. package/lib/components/item-action-controls.js +118 -0
  51. package/lib/components/item-action-controls.js.map +1 -0
  52. package/lib/components/leafy-green/combobox/chip.d.ts +4 -0
  53. package/lib/components/leafy-green/combobox/chip.d.ts.map +1 -0
  54. package/lib/components/leafy-green/combobox/chip.js +182 -0
  55. package/lib/components/leafy-green/combobox/chip.js.map +1 -0
  56. package/lib/components/leafy-green/combobox/combobox-context.d.ts +15 -0
  57. package/lib/components/leafy-green/combobox/combobox-context.d.ts.map +1 -0
  58. package/lib/components/leafy-green/combobox/combobox-context.js +12 -0
  59. package/lib/components/leafy-green/combobox/combobox-context.js.map +1 -0
  60. package/lib/components/leafy-green/combobox/combobox-group.d.ts +9 -0
  61. package/lib/components/leafy-green/combobox/combobox-group.d.ts.map +1 -0
  62. package/lib/components/leafy-green/combobox/combobox-group.js +69 -0
  63. package/lib/components/leafy-green/combobox/combobox-group.js.map +1 -0
  64. package/lib/components/leafy-green/combobox/combobox-option.d.ts +10 -0
  65. package/lib/components/leafy-green/combobox/combobox-option.d.ts.map +1 -0
  66. package/lib/components/leafy-green/combobox/combobox-option.js +142 -0
  67. package/lib/components/leafy-green/combobox/combobox-option.js.map +1 -0
  68. package/lib/components/leafy-green/combobox/combobox-types.d.ts +94 -0
  69. package/lib/components/leafy-green/combobox/combobox-types.d.ts.map +1 -0
  70. package/lib/components/leafy-green/combobox/combobox-types.js +36 -0
  71. package/lib/components/leafy-green/combobox/combobox-types.js.map +1 -0
  72. package/lib/components/leafy-green/combobox/combobox.d.ts +4 -0
  73. package/lib/components/leafy-green/combobox/combobox.d.ts.map +1 -0
  74. package/lib/components/leafy-green/combobox/combobox.js +725 -0
  75. package/lib/components/leafy-green/combobox/combobox.js.map +1 -0
  76. package/lib/components/leafy-green/combobox/combobox.styles.d.ts +39 -0
  77. package/lib/components/leafy-green/combobox/combobox.styles.d.ts.map +1 -0
  78. package/lib/components/leafy-green/combobox/combobox.styles.js +299 -0
  79. package/lib/components/leafy-green/combobox/combobox.styles.js.map +1 -0
  80. package/lib/components/leafy-green/combobox/index.d.ts +4 -0
  81. package/lib/components/leafy-green/combobox/index.d.ts.map +1 -0
  82. package/lib/components/leafy-green/combobox/index.js +13 -0
  83. package/lib/components/leafy-green/combobox/index.js.map +1 -0
  84. package/lib/components/leafy-green/combobox/util.d.ts +27 -0
  85. package/lib/components/leafy-green/combobox/util.d.ts.map +1 -0
  86. package/lib/components/leafy-green/combobox/util.js +65 -0
  87. package/lib/components/leafy-green/combobox/util.js.map +1 -0
  88. package/lib/components/leafygreen.d.ts +22 -6
  89. package/lib/components/leafygreen.d.ts.map +1 -1
  90. package/lib/components/leafygreen.js +25 -15
  91. package/lib/components/leafygreen.js.map +1 -1
  92. package/lib/components/modal-title.d.ts +1 -1
  93. package/lib/components/modal-title.d.ts.map +1 -1
  94. package/lib/components/modal-title.js.map +1 -1
  95. package/lib/components/more-options-toggle.d.ts.map +1 -1
  96. package/lib/components/more-options-toggle.js +1 -1
  97. package/lib/components/more-options-toggle.js.map +1 -1
  98. package/lib/components/placeholder.d.ts +5 -4
  99. package/lib/components/placeholder.d.ts.map +1 -1
  100. package/lib/components/placeholder.js +7 -5
  101. package/lib/components/placeholder.js.map +1 -1
  102. package/lib/components/resizeable-sidebar.d.ts +13 -0
  103. package/lib/components/resizeable-sidebar.d.ts.map +1 -0
  104. package/lib/components/resizeable-sidebar.js +109 -0
  105. package/lib/components/resizeable-sidebar.js.map +1 -0
  106. package/lib/components/spin-loader.d.ts +2 -1
  107. package/lib/components/spin-loader.d.ts.map +1 -1
  108. package/lib/components/spin-loader.js +2 -2
  109. package/lib/components/spin-loader.js.map +1 -1
  110. package/lib/components/tab-nav-bar.d.ts +1 -1
  111. package/lib/components/tab-nav-bar.d.ts.map +1 -1
  112. package/lib/components/tab-nav-bar.js +3 -3
  113. package/lib/components/tab-nav-bar.js.map +1 -1
  114. package/lib/components/tooltip.d.ts +2 -2
  115. package/lib/components/tooltip.d.ts.map +1 -1
  116. package/lib/components/tooltip.js +13 -4
  117. package/lib/components/tooltip.js.map +1 -1
  118. package/lib/components/virtual-grid.d.ts +1 -1
  119. package/lib/components/workspace-container.d.ts +1 -1
  120. package/lib/components/workspace-container.d.ts.map +1 -1
  121. package/lib/components/workspace-container.js +2 -2
  122. package/lib/components/workspace-container.js.map +1 -1
  123. package/lib/components/workspace-tabs/tab.js +3 -3
  124. package/lib/components/workspace-tabs/tab.js.map +1 -1
  125. package/lib/components/workspace-tabs/workspace-tabs.d.ts.map +1 -1
  126. package/lib/components/workspace-tabs/workspace-tabs.js +0 -1
  127. package/lib/components/workspace-tabs/workspace-tabs.js.map +1 -1
  128. package/lib/constants/mongodb-ace-theme-query.d.ts +1 -2
  129. package/lib/constants/mongodb-ace-theme-query.d.ts.map +1 -1
  130. package/lib/constants/mongodb-ace-theme-query.js +4 -116
  131. package/lib/constants/mongodb-ace-theme-query.js.map +1 -1
  132. package/lib/hooks/use-focus-ring.d.ts +9 -4
  133. package/lib/hooks/use-focus-ring.d.ts.map +1 -1
  134. package/lib/hooks/use-focus-ring.js +48 -10
  135. package/lib/hooks/use-focus-ring.js.map +1 -1
  136. package/lib/hooks/use-sort.d.ts.map +1 -1
  137. package/lib/hooks/use-sort.js +11 -9
  138. package/lib/hooks/use-sort.js.map +1 -1
  139. package/lib/hooks/use-theme.d.ts +2 -1
  140. package/lib/hooks/use-theme.d.ts.map +1 -1
  141. package/lib/hooks/use-theme.js +2 -1
  142. package/lib/hooks/use-theme.js.map +1 -1
  143. package/lib/hooks/use-toast.d.ts +2 -2
  144. package/lib/hooks/use-toast.d.ts.map +1 -1
  145. package/lib/hooks/use-toast.js +6 -5
  146. package/lib/hooks/use-toast.js.map +1 -1
  147. package/lib/index.d.ts +12 -5
  148. package/lib/index.d.ts.map +1 -1
  149. package/lib/index.js +25 -6
  150. package/lib/index.js.map +1 -1
  151. package/package.json +52 -42
package/lib/index.d.ts CHANGED
@@ -12,7 +12,10 @@ import { RadioBoxGroup } from './components/radio-box-group';
12
12
  import { SpinLoader } from './components/spin-loader';
13
13
  import { ResizeHandle, ResizeDirection } from './components/resize-handle';
14
14
  import { Accordion } from './components/accordion';
15
+ import { CollapsibleFieldSet } from './components/collapsible-field-set';
15
16
  import { WorkspaceTabs } from './components/workspace-tabs/workspace-tabs';
17
+ import ResizableSidebar, { defaultSidebarWidth } from './components/resizeable-sidebar';
18
+ import { ItemAction, MenuAction, ItemActionControls, ItemActionGroup, ItemActionMenu } from './components/item-action-controls';
16
19
  export { Editor, EditorVariant, EditorTextCompleter, setEditorValue, } from './components/editor';
17
20
  export { FavoriteIcon } from './components/icons/favorite-icon';
18
21
  export { Variant as BadgeVariant } from '@leafygreen-ui/badge';
@@ -20,20 +23,23 @@ export { Variant as BannerVariant } from '@leafygreen-ui/banner';
20
23
  export { Size as ButtonSize, Variant as ButtonVariant, } from '@leafygreen-ui/button';
21
24
  export { Checkbox } from './components/checkbox';
22
25
  export { default as LeafyGreenProvider } from '@leafygreen-ui/leafygreen-provider';
26
+ export { Combobox, ComboboxOption, ComboboxGroup, } from './components/leafy-green/combobox';
23
27
  export { uiColors } from '@leafygreen-ui/palette';
24
28
  export * as compassFontSizes from './compass-font-sizes';
25
29
  export * as compassUIColors from './compass-ui-colors';
26
30
  export { default as Portal } from '@leafygreen-ui/portal';
27
31
  export { Size as RadioBoxSize } from '@leafygreen-ui/radio-box-group';
28
32
  export { Size as SelectSize } from '@leafygreen-ui/select';
29
- export { Variant as ToastVariant } from '@leafygreen-ui/toast';
30
- export { useToast, ToastArea } from './hooks/use-toast';
33
+ export { useId } from '@react-aria/utils';
34
+ export { VisuallyHidden } from '@react-aria/visually-hidden';
35
+ export { useToast, ToastArea, ToastVariant } from './hooks/use-toast';
31
36
  export { Toggle } from './components/toggle';
32
37
  export { breakpoints, spacing } from '@leafygreen-ui/tokens';
33
38
  export { Tooltip } from './components/tooltip';
34
- export { Accordion, CancelLoader, ConfirmationModal, ErrorSummary, FileInput, Modal, ModalTitle, MoreOptionsToggle, RadioBoxGroup, SpinLoader, ResizeHandle, ResizeDirection, Toolbar, WarningSummary, WorkspaceTabs, };
39
+ import IndexIcon from './components/index-icon';
40
+ export { Accordion, CollapsibleFieldSet, CancelLoader, ConfirmationModal, ErrorSummary, FileInput, IndexIcon, Modal, ModalTitle, MoreOptionsToggle, RadioBoxGroup, SpinLoader, ResizeHandle, ResizeDirection, ResizableSidebar, Toolbar, WarningSummary, WorkspaceTabs, ItemAction, MenuAction, ItemActionControls, ItemActionGroup, ItemActionMenu, defaultSidebarWidth, };
35
41
  export { useFocusState, useHoverState, FocusState, } from './hooks/use-focus-hover';
36
- export { withTheme, useTheme, Theme, ThemeProvider } from './hooks/use-theme';
42
+ export { withTheme, useTheme, Theme, ThemeState, ThemeProvider, } from './hooks/use-theme';
37
43
  export { ContentWithFallback, FadeInPlaceholder, } from './components/content-with-fallback';
38
44
  export { InlineDefinition } from './components/inline-definition';
39
45
  import type { glyphs } from '@leafygreen-ui/icon';
@@ -42,11 +48,12 @@ export { ErrorBoundary } from './components/error-boundary';
42
48
  export { TabNavBar } from './components/tab-nav-bar';
43
49
  export { WorkspaceContainer } from './components/workspace-container';
44
50
  export { InlineInfoLink } from './components/inline-info-link';
51
+ export { InteractivePopover } from './components/interactive-popover';
45
52
  export { Placeholder } from './components/placeholder';
46
53
  export { useDOMRect } from './hooks/use-dom-rect';
47
54
  export { VirtualGrid } from './components/virtual-grid';
48
55
  export { mergeProps } from './utils/merge-props';
49
- export { focusRingStyles, focusRingVisibleStyles, useFocusRing, } from './hooks/use-focus-ring';
56
+ export { focusRing, useFocusRing } from './hooks/use-focus-ring';
50
57
  export { useDefaultAction } from './hooks/use-default-action';
51
58
  export { useSortControls, useSortedItems } from './hooks/use-sort';
52
59
  export { Pipeline, Stage } from '@leafygreen-ui/pipeline';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AAExC,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,EACL,OAAO,EACP,EAAE,EACF,KAAK,EACL,mBAAmB,EACnB,YAAY,EACZ,SAAS,EACT,GAAG,EACH,KAAK,EACL,KAAK,GACN,MAAM,wBAAwB,CAAC;AAChC,OAAO,YAAY,MAAM,4BAA4B,CAAC;AACtD,OAAO,iBAAiB,MAAM,iCAAiC,CAAC;AAChE,OAAO,SAAS,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EACL,YAAY,EACZ,cAAc,EACf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MA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,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,YAAY,MAAM,4BAA4B,CAAC"}
package/lib/index.js CHANGED
@@ -29,8 +29,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
29
29
  return (mod && mod.__esModule) ? mod : { "default": mod };
30
30
  };
31
31
  Object.defineProperty(exports, "__esModule", { value: true });
32
- exports.WorkspaceTabs = exports.WarningSummary = exports.Toolbar = exports.ResizeDirection = exports.ResizeHandle = exports.SpinLoader = exports.RadioBoxGroup = exports.MoreOptionsToggle = exports.ModalTitle = exports.Modal = exports.FileInput = exports.ErrorSummary = exports.ConfirmationModal = exports.CancelLoader = exports.Accordion = exports.Tooltip = exports.spacing = exports.breakpoints = exports.Toggle = exports.ToastArea = exports.useToast = exports.ToastVariant = exports.SelectSize = exports.RadioBoxSize = exports.Portal = exports.compassUIColors = exports.compassFontSizes = exports.uiColors = exports.LeafyGreenProvider = exports.Checkbox = exports.ButtonVariant = exports.ButtonSize = exports.BannerVariant = exports.BadgeVariant = exports.FavoriteIcon = exports.setEditorValue = exports.EditorTextCompleter = exports.EditorVariant = exports.Editor = exports.cache = exports.sheet = exports.css = exports.keyframes = exports.injectGlobal = exports.getRegisteredStyles = exports.merge = exports.cx = exports.hydrate = exports.flush = exports.emotion = void 0;
33
- exports.DocumentList = exports.BSONValue = exports.Stage = exports.Pipeline = exports.useSortedItems = exports.useSortControls = exports.useDefaultAction = exports.useFocusRing = exports.focusRingVisibleStyles = exports.focusRingStyles = exports.mergeProps = exports.VirtualGrid = exports.useDOMRect = exports.Placeholder = exports.InlineInfoLink = exports.WorkspaceContainer = exports.TabNavBar = exports.ErrorBoundary = exports.InlineDefinition = exports.FadeInPlaceholder = exports.ContentWithFallback = exports.ThemeProvider = exports.Theme = exports.useTheme = exports.withTheme = exports.FocusState = exports.useHoverState = exports.useFocusState = void 0;
32
+ exports.MoreOptionsToggle = exports.ModalTitle = exports.Modal = exports.IndexIcon = exports.FileInput = exports.ErrorSummary = exports.ConfirmationModal = exports.CancelLoader = exports.CollapsibleFieldSet = exports.Accordion = exports.Tooltip = exports.spacing = exports.breakpoints = exports.Toggle = exports.ToastVariant = exports.ToastArea = exports.useToast = exports.VisuallyHidden = exports.useId = exports.SelectSize = exports.RadioBoxSize = exports.Portal = exports.compassUIColors = exports.compassFontSizes = exports.uiColors = exports.ComboboxGroup = exports.ComboboxOption = exports.Combobox = exports.LeafyGreenProvider = exports.Checkbox = exports.ButtonVariant = exports.ButtonSize = exports.BannerVariant = exports.BadgeVariant = exports.FavoriteIcon = exports.setEditorValue = exports.EditorTextCompleter = exports.EditorVariant = exports.Editor = exports.cache = exports.sheet = exports.css = exports.keyframes = exports.injectGlobal = exports.getRegisteredStyles = exports.merge = exports.cx = exports.hydrate = exports.flush = exports.emotion = void 0;
33
+ exports.DocumentList = exports.BSONValue = exports.Stage = exports.Pipeline = exports.useSortedItems = exports.useSortControls = exports.useDefaultAction = exports.useFocusRing = exports.focusRing = exports.mergeProps = exports.VirtualGrid = exports.useDOMRect = exports.Placeholder = exports.InteractivePopover = exports.InlineInfoLink = exports.WorkspaceContainer = exports.TabNavBar = exports.ErrorBoundary = exports.InlineDefinition = exports.FadeInPlaceholder = exports.ContentWithFallback = exports.ThemeProvider = exports.Theme = exports.useTheme = exports.withTheme = exports.FocusState = exports.useHoverState = exports.useFocusState = exports.defaultSidebarWidth = exports.ItemActionMenu = exports.ItemActionGroup = exports.ItemActionControls = exports.WorkspaceTabs = exports.WarningSummary = exports.Toolbar = exports.ResizableSidebar = exports.ResizeDirection = exports.ResizeHandle = exports.SpinLoader = exports.RadioBoxGroup = void 0;
34
34
  __exportStar(require("./components/leafygreen"), exports);
35
35
  var emotion_1 = require("@leafygreen-ui/emotion");
36
36
  Object.defineProperty(exports, "emotion", { enumerable: true, get: function () { return __importDefault(emotion_1).default; } });
@@ -70,8 +70,17 @@ Object.defineProperty(exports, "ResizeHandle", { enumerable: true, get: function
70
70
  Object.defineProperty(exports, "ResizeDirection", { enumerable: true, get: function () { return resize_handle_1.ResizeDirection; } });
71
71
  const accordion_1 = require("./components/accordion");
72
72
  Object.defineProperty(exports, "Accordion", { enumerable: true, get: function () { return accordion_1.Accordion; } });
73
+ const collapsible_field_set_1 = require("./components/collapsible-field-set");
74
+ Object.defineProperty(exports, "CollapsibleFieldSet", { enumerable: true, get: function () { return collapsible_field_set_1.CollapsibleFieldSet; } });
73
75
  const workspace_tabs_1 = require("./components/workspace-tabs/workspace-tabs");
74
76
  Object.defineProperty(exports, "WorkspaceTabs", { enumerable: true, get: function () { return workspace_tabs_1.WorkspaceTabs; } });
77
+ const resizeable_sidebar_1 = __importStar(require("./components/resizeable-sidebar"));
78
+ exports.ResizableSidebar = resizeable_sidebar_1.default;
79
+ Object.defineProperty(exports, "defaultSidebarWidth", { enumerable: true, get: function () { return resizeable_sidebar_1.defaultSidebarWidth; } });
80
+ const item_action_controls_1 = require("./components/item-action-controls");
81
+ Object.defineProperty(exports, "ItemActionControls", { enumerable: true, get: function () { return item_action_controls_1.ItemActionControls; } });
82
+ Object.defineProperty(exports, "ItemActionGroup", { enumerable: true, get: function () { return item_action_controls_1.ItemActionGroup; } });
83
+ Object.defineProperty(exports, "ItemActionMenu", { enumerable: true, get: function () { return item_action_controls_1.ItemActionMenu; } });
75
84
  var editor_1 = require("./components/editor");
76
85
  Object.defineProperty(exports, "Editor", { enumerable: true, get: function () { return editor_1.Editor; } });
77
86
  Object.defineProperty(exports, "EditorVariant", { enumerable: true, get: function () { return editor_1.EditorVariant; } });
@@ -90,6 +99,10 @@ var checkbox_1 = require("./components/checkbox");
90
99
  Object.defineProperty(exports, "Checkbox", { enumerable: true, get: function () { return checkbox_1.Checkbox; } });
91
100
  var leafygreen_provider_1 = require("@leafygreen-ui/leafygreen-provider");
92
101
  Object.defineProperty(exports, "LeafyGreenProvider", { enumerable: true, get: function () { return __importDefault(leafygreen_provider_1).default; } });
102
+ var combobox_1 = require("./components/leafy-green/combobox");
103
+ Object.defineProperty(exports, "Combobox", { enumerable: true, get: function () { return combobox_1.Combobox; } });
104
+ Object.defineProperty(exports, "ComboboxOption", { enumerable: true, get: function () { return combobox_1.ComboboxOption; } });
105
+ Object.defineProperty(exports, "ComboboxGroup", { enumerable: true, get: function () { return combobox_1.ComboboxGroup; } });
93
106
  var palette_1 = require("@leafygreen-ui/palette");
94
107
  Object.defineProperty(exports, "uiColors", { enumerable: true, get: function () { return palette_1.uiColors; } });
95
108
  exports.compassFontSizes = __importStar(require("./compass-font-sizes"));
@@ -100,11 +113,14 @@ var radio_box_group_2 = require("@leafygreen-ui/radio-box-group");
100
113
  Object.defineProperty(exports, "RadioBoxSize", { enumerable: true, get: function () { return radio_box_group_2.Size; } });
101
114
  var select_1 = require("@leafygreen-ui/select");
102
115
  Object.defineProperty(exports, "SelectSize", { enumerable: true, get: function () { return select_1.Size; } });
103
- var toast_1 = require("@leafygreen-ui/toast");
104
- Object.defineProperty(exports, "ToastVariant", { enumerable: true, get: function () { return toast_1.Variant; } });
116
+ var utils_1 = require("@react-aria/utils");
117
+ Object.defineProperty(exports, "useId", { enumerable: true, get: function () { return utils_1.useId; } });
118
+ var visually_hidden_1 = require("@react-aria/visually-hidden");
119
+ Object.defineProperty(exports, "VisuallyHidden", { enumerable: true, get: function () { return visually_hidden_1.VisuallyHidden; } });
105
120
  var use_toast_1 = require("./hooks/use-toast");
106
121
  Object.defineProperty(exports, "useToast", { enumerable: true, get: function () { return use_toast_1.useToast; } });
107
122
  Object.defineProperty(exports, "ToastArea", { enumerable: true, get: function () { return use_toast_1.ToastArea; } });
123
+ Object.defineProperty(exports, "ToastVariant", { enumerable: true, get: function () { return use_toast_1.ToastVariant; } });
108
124
  var toggle_1 = require("./components/toggle");
109
125
  Object.defineProperty(exports, "Toggle", { enumerable: true, get: function () { return toggle_1.Toggle; } });
110
126
  var tokens_1 = require("@leafygreen-ui/tokens");
@@ -112,6 +128,8 @@ Object.defineProperty(exports, "breakpoints", { enumerable: true, get: function
112
128
  Object.defineProperty(exports, "spacing", { enumerable: true, get: function () { return tokens_1.spacing; } });
113
129
  var tooltip_1 = require("./components/tooltip");
114
130
  Object.defineProperty(exports, "Tooltip", { enumerable: true, get: function () { return tooltip_1.Tooltip; } });
131
+ const index_icon_1 = __importDefault(require("./components/index-icon"));
132
+ exports.IndexIcon = index_icon_1.default;
115
133
  var use_focus_hover_1 = require("./hooks/use-focus-hover");
116
134
  Object.defineProperty(exports, "useFocusState", { enumerable: true, get: function () { return use_focus_hover_1.useFocusState; } });
117
135
  Object.defineProperty(exports, "useHoverState", { enumerable: true, get: function () { return use_focus_hover_1.useHoverState; } });
@@ -134,6 +152,8 @@ var workspace_container_1 = require("./components/workspace-container");
134
152
  Object.defineProperty(exports, "WorkspaceContainer", { enumerable: true, get: function () { return workspace_container_1.WorkspaceContainer; } });
135
153
  var inline_info_link_1 = require("./components/inline-info-link");
136
154
  Object.defineProperty(exports, "InlineInfoLink", { enumerable: true, get: function () { return inline_info_link_1.InlineInfoLink; } });
155
+ var interactive_popover_1 = require("./components/interactive-popover");
156
+ Object.defineProperty(exports, "InteractivePopover", { enumerable: true, get: function () { return interactive_popover_1.InteractivePopover; } });
137
157
  var placeholder_1 = require("./components/placeholder");
138
158
  Object.defineProperty(exports, "Placeholder", { enumerable: true, get: function () { return placeholder_1.Placeholder; } });
139
159
  var use_dom_rect_1 = require("./hooks/use-dom-rect");
@@ -143,8 +163,7 @@ Object.defineProperty(exports, "VirtualGrid", { enumerable: true, get: function
143
163
  var merge_props_1 = require("./utils/merge-props");
144
164
  Object.defineProperty(exports, "mergeProps", { enumerable: true, get: function () { return merge_props_1.mergeProps; } });
145
165
  var use_focus_ring_1 = require("./hooks/use-focus-ring");
146
- Object.defineProperty(exports, "focusRingStyles", { enumerable: true, get: function () { return use_focus_ring_1.focusRingStyles; } });
147
- Object.defineProperty(exports, "focusRingVisibleStyles", { enumerable: true, get: function () { return use_focus_ring_1.focusRingVisibleStyles; } });
166
+ Object.defineProperty(exports, "focusRing", { enumerable: true, get: function () { return use_focus_ring_1.focusRing; } });
148
167
  Object.defineProperty(exports, "useFocusRing", { enumerable: true, get: function () { return use_focus_ring_1.useFocusRing; } });
149
168
  var use_default_action_1 = require("./hooks/use-default-action");
150
169
  Object.defineProperty(exports, "useDefaultAction", { enumerable: true, get: function () { return use_default_action_1.useDefaultAction; } });
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAAwC;AAExC,kDAYgC;AAX9B,mHAAA,OAAO,OAAW;AAClB,gGAAA,KAAK,OAAA;AACL,kGAAA,OAAO,OAAA;AACP,6FAAA,EAAE,OAAA;AACF,gGAAA,KAAK,OAAA;AACL,8GAAA,mBAAmB,OAAA;AACnB,uGAAA,YAAY,OAAA;AACZ,oGAAA,SAAS,OAAA;AACT,8FAAA,GAAG,OAAA;AACH,gGAAA,KAAK,OAAA;AACL,gGAAA,KAAK,OAAA;AAEP,+EAAsD;AAkDpD,uBAlDK,uBAAY,CAkDL;AAjDd,yFAAgE;AAkD9D,4BAlDK,4BAAiB,CAkDL;AAjDnB,yEAAgD;AAmD9C,oBAnDK,oBAAS,CAmDL;AAlDX,8CAA2C;AAmDzC,sFAnDO,aAAK,OAmDP;AAlDP,0DAAsD;AAmDpD,2FAnDO,wBAAU,OAmDP;AAlDZ,kDAA+C;AAwD7C,wFAxDO,iBAAO,OAwDP;AAvDT,0EAAqE;AAkDnE,kGAlDO,uCAAiB,OAkDP;AAjDnB,8EAG4C;AA0C1C,6FA5CA,oCAAY,OA4CA;AAUZ,+FArDA,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,kEAA+D;AAAtD,kHAAA,cAAc,OAAA;AACvB,wEAAsE;AAA7D,yHAAA,kBAAkB,OAAA;AAC3B,wDAAuD;AAA9C,0GAAA,WAAW,OAAA;AACpB,qDAAkD;AAAzC,0GAAA,UAAU,OAAA;AACnB,0DAAwD;AAA/C,2GAAA,WAAW,OAAA;AACpB,mDAAiD;AAAxC,yGAAA,UAAU,OAAA;AACnB,yDAAiE;AAAxD,2GAAA,SAAS,OAAA;AAAE,8GAAA,YAAY,OAAA;AAChC,iEAA8D;AAArD,sHAAA,gBAAgB,OAAA;AACzB,6CAAmE;AAA1D,2GAAA,eAAe,OAAA;AAAE,0GAAA,cAAc,OAAA;AACxC,oDAA0D;AAAjD,oGAAA,QAAQ,OAAA;AAAE,iGAAA,KAAK,OAAA;AAExB,sDAA+D;AAAtD,wHAAA,OAAO,OAAa;AAC7B,2EAA2D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mongodb-js/compass-components",
3
- "version": "0.17.0",
3
+ "version": "1.1.1",
4
4
  "description": "React Components used in Compass",
5
5
  "license": "SSPL",
6
6
  "main": "lib/index.js",
@@ -31,59 +31,69 @@
31
31
  "reformat": "npm run prettier -- --write ."
32
32
  },
33
33
  "dependencies": {
34
- "@leafygreen-ui/badge": "^4.0.5",
35
- "@leafygreen-ui/banner": "^3.0.9",
36
- "@leafygreen-ui/button": "^12.0.5",
37
- "@leafygreen-ui/card": "^5.1.4",
38
- "@leafygreen-ui/checkbox": "^6.0.6",
39
- "@leafygreen-ui/code": "^9.4.0",
40
- "@leafygreen-ui/confirmation-modal": "^2.2.3",
34
+ "@leafygreen-ui/badge": "^5.0.1",
35
+ "@leafygreen-ui/banner": "^4.0.1",
36
+ "@leafygreen-ui/button": "^16.0.0",
37
+ "@leafygreen-ui/card": "^7.0.0",
38
+ "@leafygreen-ui/checkbox": "^10.0.0",
39
+ "@leafygreen-ui/code": "^12.0.2",
40
+ "@leafygreen-ui/confirmation-modal": "^3.0.6",
41
41
  "@leafygreen-ui/emotion": "^4.0.0",
42
- "@leafygreen-ui/icon": "^11.7.0",
43
- "@leafygreen-ui/icon-button": "^9.1.7",
44
- "@leafygreen-ui/leafygreen-provider": "^2.1.3",
45
- "@leafygreen-ui/logo": "^6.1.0",
46
- "@leafygreen-ui/menu": "^11.0.1",
47
- "@leafygreen-ui/modal": "^7.0.0",
48
- "@leafygreen-ui/palette": "^3.3.1",
49
- "@leafygreen-ui/pipeline": "^2.1.5",
50
- "@leafygreen-ui/portal": "^4.0.2",
51
- "@leafygreen-ui/radio-box-group": "^6.1.5",
52
- "@leafygreen-ui/radio-group": "^7.0.6",
53
- "@leafygreen-ui/segmented-control": "^0.9.1",
54
- "@leafygreen-ui/select": "^3.1.0",
55
- "@leafygreen-ui/table": "^2.0.6",
56
- "@leafygreen-ui/tabs": "^5.1.5",
57
- "@leafygreen-ui/text-area": "^4.1.1",
58
- "@leafygreen-ui/text-input": "^6.0.5",
59
- "@leafygreen-ui/toast": "^0.4.10",
60
- "@leafygreen-ui/toggle": "^7.0.5",
61
- "@leafygreen-ui/tokens": "^0.5.3",
62
- "@leafygreen-ui/tooltip": "^6.3.1",
63
- "@leafygreen-ui/typography": "^8.1.0",
64
- "@mongodb-js/compass-logging": "^0.14.0",
42
+ "@leafygreen-ui/hooks": "^7.3.0",
43
+ "@leafygreen-ui/icon": "^11.10.1",
44
+ "@leafygreen-ui/icon-button": "^13.1.0",
45
+ "@leafygreen-ui/inline-definition": "^4.0.1",
46
+ "@leafygreen-ui/interaction-ring": "^4.0.0",
47
+ "@leafygreen-ui/leafygreen-provider": "^2.3.2",
48
+ "@leafygreen-ui/lib": "^9.4.1",
49
+ "@leafygreen-ui/logo": "^6.1.2",
50
+ "@leafygreen-ui/menu": "^15.0.0",
51
+ "@leafygreen-ui/modal": "^10.0.0",
52
+ "@leafygreen-ui/palette": "^3.4.0",
53
+ "@leafygreen-ui/pipeline": "^2.1.8",
54
+ "@leafygreen-ui/popover": "^9.0.0",
55
+ "@leafygreen-ui/portal": "^4.0.3",
56
+ "@leafygreen-ui/radio-box-group": "^9.0.2",
57
+ "@leafygreen-ui/radio-group": "^8.0.3",
58
+ "@leafygreen-ui/segmented-control": "^3.0.0",
59
+ "@leafygreen-ui/select": "^7.0.0",
60
+ "@leafygreen-ui/table": "^6.0.1",
61
+ "@leafygreen-ui/tabs": "^9.0.0",
62
+ "@leafygreen-ui/text-area": "^6.1.0",
63
+ "@leafygreen-ui/text-input": "^10.1.0",
64
+ "@leafygreen-ui/toast": "^1.0.1",
65
+ "@leafygreen-ui/toggle": "^8.0.2",
66
+ "@leafygreen-ui/tokens": "^1.3.1",
67
+ "@leafygreen-ui/tooltip": "^7.1.0",
68
+ "@leafygreen-ui/typography": "^13.1.1",
69
+ "@mongodb-js/compass-logging": "^1.1.0",
65
70
  "@react-aria/interactions": "^3.9.1",
66
71
  "@react-aria/tooltip": "^3.2.1",
67
72
  "@react-aria/utils": "^3.13.1",
73
+ "@react-aria/visually-hidden": "^3.3.1",
68
74
  "@react-stately/tooltip": "^3.0.5",
75
+ "@types/lodash": "^4.14.172",
69
76
  "bson": "^4.6.1",
70
- "hadron-document": "^7.13.0",
71
- "hadron-type-checker": "^6.10.0",
77
+ "focus-trap-react": "^8.4.2",
78
+ "hadron-document": "^8.0.1",
79
+ "hadron-type-checker": "^7.0.0",
80
+ "lodash": "^4.17.21",
81
+ "polished": "^4.2.2",
72
82
  "react-sortable-hoc": "^2.0.0",
73
83
  "react-window": "^1.8.6"
74
84
  },
75
85
  "peerDependencies": {
76
86
  "ace-builds": "^1.4.3",
77
- "mongodb-ace-autocompleter": "*",
78
- "mongodb-ace-mode": "^1.8.0",
87
+ "mongodb-ace-autocompleter": "^1.1.1",
88
+ "mongodb-ace-mode": "^2.0.1",
79
89
  "react": "^16.14.0",
80
90
  "react-ace": "^9.5.0"
81
91
  },
82
92
  "devDependencies": {
83
- "@mongodb-js/eslint-config-compass": "^0.11.0",
84
- "@mongodb-js/mocha-config-compass": "^0.12.0",
85
- "@mongodb-js/prettier-config-compass": "^0.6.0",
86
- "@mongodb-js/tsconfig-compass": "^0.7.0",
93
+ "@mongodb-js/eslint-config-compass": "^1.0.1",
94
+ "@mongodb-js/mocha-config-compass": "^1.0.1",
95
+ "@mongodb-js/prettier-config-compass": "^1.0.0",
96
+ "@mongodb-js/tsconfig-compass": "^1.0.1",
87
97
  "@testing-library/dom": "^8.11.1",
88
98
  "@testing-library/react": "^12.0.0",
89
99
  "@testing-library/react-hooks": "^7.0.2",
@@ -97,7 +107,7 @@
97
107
  "eslint": "^7.25.0",
98
108
  "mocha": "^8.4.0",
99
109
  "mongodb-ace-autocompleter": "^1.1.1",
100
- "mongodb-ace-mode": "^1.8.0",
110
+ "mongodb-ace-mode": "^2.0.1",
101
111
  "nyc": "^15.0.0",
102
112
  "prettier": "^2.7.1",
103
113
  "react": "^16.14.0",
@@ -105,7 +115,7 @@
105
115
  "react-dom": "^16.14.0",
106
116
  "rimraf": "^3.0.2",
107
117
  "sinon": "^9.0.0",
108
- "typescript": "^4.7.4"
118
+ "typescript": "^4.8.3"
109
119
  },
110
120
  "repository": {
111
121
  "type": "git",
@@ -115,5 +125,5 @@
115
125
  "publishConfig": {
116
126
  "access": "public"
117
127
  },
118
- "gitHead": "9f5498524c3e50d351f6f36fb015ff14163a39cf"
128
+ "gitHead": "51f04a0ac45c3b51a3ffb98af390c811d1404380"
119
129
  }