@primer/components 0.0.0-202110320949 → 0.0.0-2021103215725

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 (56) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/dist/browser.esm.js +24 -33
  3. package/dist/browser.esm.js.map +1 -1
  4. package/dist/browser.umd.js +4 -13
  5. package/dist/browser.umd.js.map +1 -1
  6. package/lib/Dropdown.d.ts +5 -4
  7. package/lib/Dropdown.js +3 -3
  8. package/lib/SelectMenu/SelectMenu.d.ts +14 -182
  9. package/lib/SelectMenu/SelectMenu.js +1 -3
  10. package/lib/SelectMenu/SelectMenuDivider.d.ts +1 -2
  11. package/lib/SelectMenu/SelectMenuDivider.js +1 -1
  12. package/lib/SelectMenu/SelectMenuFilter.js +1 -1
  13. package/lib/SelectMenu/SelectMenuFooter.d.ts +1 -2
  14. package/lib/SelectMenu/SelectMenuFooter.js +1 -1
  15. package/lib/SelectMenu/SelectMenuHeader.d.ts +1 -2
  16. package/lib/SelectMenu/SelectMenuHeader.js +1 -1
  17. package/lib/SelectMenu/SelectMenuItem.d.ts +2 -3
  18. package/lib/SelectMenu/SelectMenuItem.js +1 -1
  19. package/lib/SelectMenu/SelectMenuList.d.ts +1 -2
  20. package/lib/SelectMenu/SelectMenuList.js +1 -1
  21. package/lib/SelectMenu/SelectMenuLoadingAnimation.d.ts +2 -2
  22. package/lib/SelectMenu/SelectMenuLoadingAnimation.js +3 -1
  23. package/lib/SelectMenu/SelectMenuModal.d.ts +2 -3
  24. package/lib/SelectMenu/SelectMenuModal.js +1 -1
  25. package/lib/SelectMenu/SelectMenuTab.d.ts +1 -2
  26. package/lib/SelectMenu/SelectMenuTab.js +1 -1
  27. package/lib/SelectMenu/SelectMenuTabPanel.d.ts +1 -2
  28. package/lib/SelectMenu/SelectMenuTabPanel.js +1 -1
  29. package/lib/SelectMenu/SelectMenuTabs.d.ts +1 -2
  30. package/lib/SelectMenu/SelectMenuTabs.js +1 -1
  31. package/lib-esm/Dropdown.d.ts +5 -4
  32. package/lib-esm/Dropdown.js +4 -4
  33. package/lib-esm/SelectMenu/SelectMenu.d.ts +14 -182
  34. package/lib-esm/SelectMenu/SelectMenu.js +1 -2
  35. package/lib-esm/SelectMenu/SelectMenuDivider.d.ts +1 -2
  36. package/lib-esm/SelectMenu/SelectMenuDivider.js +2 -2
  37. package/lib-esm/SelectMenu/SelectMenuFilter.js +2 -2
  38. package/lib-esm/SelectMenu/SelectMenuFooter.d.ts +1 -2
  39. package/lib-esm/SelectMenu/SelectMenuFooter.js +2 -2
  40. package/lib-esm/SelectMenu/SelectMenuHeader.d.ts +1 -2
  41. package/lib-esm/SelectMenu/SelectMenuHeader.js +2 -2
  42. package/lib-esm/SelectMenu/SelectMenuItem.d.ts +2 -3
  43. package/lib-esm/SelectMenu/SelectMenuItem.js +2 -2
  44. package/lib-esm/SelectMenu/SelectMenuList.d.ts +1 -2
  45. package/lib-esm/SelectMenu/SelectMenuList.js +2 -2
  46. package/lib-esm/SelectMenu/SelectMenuLoadingAnimation.d.ts +2 -2
  47. package/lib-esm/SelectMenu/SelectMenuLoadingAnimation.js +3 -2
  48. package/lib-esm/SelectMenu/SelectMenuModal.d.ts +2 -3
  49. package/lib-esm/SelectMenu/SelectMenuModal.js +2 -2
  50. package/lib-esm/SelectMenu/SelectMenuTab.d.ts +1 -2
  51. package/lib-esm/SelectMenu/SelectMenuTab.js +2 -2
  52. package/lib-esm/SelectMenu/SelectMenuTabPanel.d.ts +1 -2
  53. package/lib-esm/SelectMenu/SelectMenuTabPanel.js +2 -2
  54. package/lib-esm/SelectMenu/SelectMenuTabs.d.ts +1 -2
  55. package/lib-esm/SelectMenu/SelectMenuTabs.js +2 -2
  56. package/package.json +1 -1
@@ -28,7 +28,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
28
28
  const StyledForm = _styledComponents.default.form.withConfig({
29
29
  displayName: "SelectMenuFilter__StyledForm",
30
30
  componentId: "s7ktlh-0"
31
- })(["padding:", ";margin:0;border-bottom:", " solid ", ";background-color:", ";", ";@media (min-width:", "){padding:", ";}", ";"], (0, _constants.get)('space.3'), (0, _constants.get)('borderWidths.1'), (0, _constants.get)('colors.border.muted'), (0, _constants.get)('colors.canvas.overlay'), _constants.COMMON, (0, _constants.get)('breakpoints.0'), (0, _constants.get)('space.2'), _sx.default);
31
+ })(["padding:", ";margin:0;border-bottom:", " solid ", ";background-color:", ";@media (min-width:", "){padding:", ";}", ";"], (0, _constants.get)('space.3'), (0, _constants.get)('borderWidths.1'), (0, _constants.get)('colors.border.muted'), (0, _constants.get)('colors.canvas.overlay'), (0, _constants.get)('breakpoints.0'), (0, _constants.get)('space.2'), _sx.default);
32
32
 
33
33
  const SelectMenuFilter = /*#__PURE__*/(0, _react.forwardRef)(({
34
34
  theme,
@@ -1,6 +1,5 @@
1
- import { SystemCommonProps } from '../constants';
2
1
  import { SxProp } from '../sx';
3
2
  import { ComponentProps } from '../utils/types';
4
- declare const SelectMenuFooter: import("styled-components").StyledComponent<"footer", any, SystemCommonProps & SxProp, never>;
3
+ declare const SelectMenuFooter: import("styled-components").StyledComponent<"footer", any, SxProp, never>;
5
4
  export declare type SelectMenuFooterProps = ComponentProps<typeof SelectMenuFooter>;
6
5
  export default SelectMenuFooter;
@@ -22,7 +22,7 @@ const footerStyles = (0, _styledComponents.css)(["margin-top:-1px;padding:", " "
22
22
  const SelectMenuFooter = _styledComponents.default.footer.withConfig({
23
23
  displayName: "SelectMenuFooter",
24
24
  componentId: "rkvco1-0"
25
- })(["", " ", " ", ";"], footerStyles, _constants.COMMON, _sx.default);
25
+ })(["", " ", ";"], footerStyles, _sx.default);
26
26
 
27
27
  SelectMenuFooter.displayName = 'SelectMenu.Footer';
28
28
  var _default = SelectMenuFooter;
@@ -1,8 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { SystemCommonProps, SystemTypographyProps } from '../constants';
3
2
  import { SxProp } from '../sx';
4
3
  import { ComponentProps } from '../utils/types';
5
- declare const StyledHeader: import("styled-components").StyledComponent<"header", any, SystemTypographyProps & SystemCommonProps & SxProp, never>;
4
+ declare const StyledHeader: import("styled-components").StyledComponent<"header", any, SxProp, never>;
6
5
  export declare type SelectMenuHeaderProps = ComponentProps<typeof StyledHeader>;
7
6
  declare const SelectMenuHeader: {
8
7
  ({ children, theme, ...rest }: SelectMenuHeaderProps): JSX.Element;
@@ -27,7 +27,7 @@ const SelectMenuTitle = _styledComponents.default.h3.withConfig({
27
27
  const StyledHeader = _styledComponents.default.header.withConfig({
28
28
  displayName: "SelectMenuHeader__StyledHeader",
29
29
  componentId: "sc-1pwppzc-1"
30
- })(["display:flex;flex:none;padding:", ";border-bottom:", " solid ", ";", " ", " @media (min-width:", "){padding-top:", ";padding-bottom:", ";}", ";"], (0, _constants.get)('space.3'), (0, _constants.get)('borderWidths'), (0, _constants.get)('colors.border.muted'), _constants.COMMON, _constants.TYPOGRAPHY, (0, _constants.get)('breakpoints.0'), (0, _constants.get)('space.2'), (0, _constants.get)('space.2'), _sx.default);
30
+ })(["display:flex;flex:none;padding:", ";border-bottom:", " solid ", ";@media (min-width:", "){padding-top:", ";padding-bottom:", ";}", ";"], (0, _constants.get)('space.3'), (0, _constants.get)('borderWidths'), (0, _constants.get)('colors.border.muted'), (0, _constants.get)('breakpoints.0'), (0, _constants.get)('space.2'), (0, _constants.get)('space.2'), _sx.default);
31
31
 
32
32
  const SelectMenuHeader = ({
33
33
  children,
@@ -1,15 +1,14 @@
1
1
  import React from 'react';
2
- import { SystemCommonProps } from '../constants';
3
2
  import { SxProp } from '../sx';
4
3
  import { ComponentProps } from '../utils/types';
5
4
  export declare const listItemStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
6
5
  declare const StyledItem: import("styled-components").StyledComponent<"a", any, {
7
6
  role: "menuitemcheckbox";
8
- } & SystemCommonProps & SxProp, "role">;
7
+ } & SxProp, "role">;
9
8
  declare type SelectMenuItemInteralProps = {
10
9
  as?: React.ElementType;
11
10
  selected?: boolean;
12
11
  } & ComponentProps<typeof StyledItem>;
13
- declare const SelectMenuItem: React.ForwardRefExoticComponent<Pick<SelectMenuItemInteralProps, "translate" | "hidden" | "children" | "theme" | "slot" | "style" | "title" | "type" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof SystemCommonProps | "sx" | "media" | "target" | "href" | "as" | "hrefLang" | "referrerPolicy" | "rel" | "download" | "ping" | "selected"> & React.RefAttributes<HTMLAnchorElement>>;
12
+ declare const SelectMenuItem: React.ForwardRefExoticComponent<Pick<SelectMenuItemInteralProps, "color" | "translate" | "hidden" | "children" | "theme" | "slot" | "style" | "title" | "type" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "media" | "target" | "href" | "as" | "hrefLang" | "referrerPolicy" | "rel" | "download" | "ping" | "selected"> & React.RefAttributes<HTMLAnchorElement>>;
14
13
  export declare type SelectMenuItemProps = ComponentProps<typeof SelectMenuItem>;
15
14
  export default SelectMenuItem;
@@ -35,7 +35,7 @@ const StyledItem = _styledComponents.default.a.attrs(() => ({
35
35
  })).withConfig({
36
36
  displayName: "SelectMenuItem__StyledItem",
37
37
  componentId: "gjymba-0"
38
- })(["", " ", " ", ";"], listItemStyles, _constants.COMMON, _sx.default);
38
+ })(["", " ", ";"], listItemStyles, _sx.default);
39
39
 
40
40
  const SelectMenuItem = /*#__PURE__*/(0, _react.forwardRef)(({
41
41
  children,
@@ -1,6 +1,5 @@
1
- import { SystemCommonProps } from '../constants';
2
1
  import { SxProp } from '../sx';
3
2
  import { ComponentProps } from '../utils/types';
4
- declare const SelectMenuList: import("styled-components").StyledComponent<"div", any, SystemCommonProps & SxProp, never>;
3
+ declare const SelectMenuList: import("styled-components").StyledComponent<"div", any, SxProp, never>;
5
4
  export declare type SelectMenuListProps = ComponentProps<typeof SelectMenuList>;
6
5
  export default SelectMenuList;
@@ -22,7 +22,7 @@ const listStyles = (0, _styledComponents.css)(["position:relative;padding:0;marg
22
22
  const SelectMenuList = _styledComponents.default.div.withConfig({
23
23
  displayName: "SelectMenuList",
24
24
  componentId: "sc-1opbpf6-0"
25
- })(["", " ", " ", ";"], listStyles, _constants.COMMON, _sx.default);
25
+ })(["", " ", ";"], listStyles, _sx.default);
26
26
 
27
27
  SelectMenuList.displayName = 'SelectMenu.List';
28
28
  var _default = SelectMenuList;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { SystemCommonProps } from '../constants';
2
+ import { SxProp } from '../sx';
3
3
  import { ComponentProps } from '../utils/types';
4
- declare const Animation: import("styled-components").StyledComponent<"div", any, SystemCommonProps, never>;
4
+ declare const Animation: import("styled-components").StyledComponent<"div", any, SxProp, never>;
5
5
  export declare type SelectMenuLoadingAnimationProps = ComponentProps<typeof Animation>;
6
6
  declare const SelectMenuLoadingAnimation: (props: SelectMenuLoadingAnimationProps) => JSX.Element;
7
7
  export default SelectMenuLoadingAnimation;
@@ -13,12 +13,14 @@ var _constants = require("../constants");
13
13
 
14
14
  var _Spinner = _interopRequireDefault(require("../Spinner"));
15
15
 
16
+ var _sx = _interopRequireDefault(require("../sx"));
17
+
16
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
19
 
18
20
  const Animation = _styledComponents.default.div.withConfig({
19
21
  displayName: "SelectMenuLoadingAnimation__Animation",
20
22
  componentId: "sc-17k54td-0"
21
- })(["padding:", " ", ";text-align:center;background-color:", ";", ""], (0, _constants.get)('space.6'), (0, _constants.get)('space.4'), (0, _constants.get)('colors.canvas.overlay'), _constants.COMMON);
23
+ })(["padding:", " ", ";text-align:center;background-color:", ";", ""], (0, _constants.get)('space.6'), (0, _constants.get)('space.4'), (0, _constants.get)('colors.canvas.overlay'), _sx.default);
22
24
 
23
25
  const SelectMenuLoadingAnimation = props => {
24
26
  return /*#__PURE__*/_react.default.createElement(Animation, props, /*#__PURE__*/_react.default.createElement(_Spinner.default, null));
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { WidthProps } from 'styled-system';
3
- import { SystemCommonProps } from '../constants';
4
3
  import { SxProp } from '../sx';
5
4
  import { ComponentProps } from '../utils/types';
6
5
  declare type StyledModalProps = {
@@ -8,8 +7,8 @@ declare type StyledModalProps = {
8
7
  } & WidthProps;
9
8
  declare const ModalWrapper: import("styled-components").StyledComponent<"div", any, {
10
9
  align?: "left" | "right" | undefined;
11
- } & SystemCommonProps & SxProp, never>;
10
+ } & SxProp, never>;
12
11
  declare type SelectMenuModalInternalProps = Pick<StyledModalProps, 'width'> & ComponentProps<typeof ModalWrapper>;
13
- declare const SelectMenuModal: React.ForwardRefExoticComponent<Pick<SelectMenuModalInternalProps, "backgroundColor" | "color" | "display" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "padding" | "hidden" | "children" | "theme" | "p" | "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "sx" | "align"> & React.RefAttributes<HTMLDivElement>>;
12
+ declare const SelectMenuModal: React.ForwardRefExoticComponent<Pick<SelectMenuModalInternalProps, "color" | "translate" | "width" | "hidden" | "children" | "theme" | "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "align"> & React.RefAttributes<HTMLDivElement>>;
14
13
  export declare type SelectMenuModalProps = ComponentProps<typeof SelectMenuModal>;
15
14
  export default SelectMenuModal;
@@ -35,7 +35,7 @@ const Modal = _styledComponents.default.div.withConfig({
35
35
  const ModalWrapper = _styledComponents.default.div.withConfig({
36
36
  displayName: "SelectMenuModal__ModalWrapper",
37
37
  componentId: "sc-1m5qo55-1"
38
- })(["", " ", " ", ";"], modalWrapperStyles, _constants.COMMON, _sx.default);
38
+ })(["", " ", ";"], modalWrapperStyles, _sx.default);
39
39
 
40
40
  const SelectMenuModal = /*#__PURE__*/_react.default.forwardRef(({
41
41
  children,
@@ -1,8 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { SystemCommonProps } from '../constants';
3
2
  import { SxProp } from '../sx';
4
3
  import { ComponentProps } from '../utils/types';
5
- declare const StyledTab: import("styled-components").StyledComponent<"button", any, SystemCommonProps & SxProp, never>;
4
+ declare const StyledTab: import("styled-components").StyledComponent<"button", any, SxProp, never>;
6
5
  export declare type SelectMenuTabProps = {
7
6
  tabName?: string;
8
7
  index?: number;
@@ -30,7 +30,7 @@ const tabStyles = (0, _styledComponents.css)(["flex:1;padding:", " ", ";font-siz
30
30
  const StyledTab = _styledComponents.default.button.withConfig({
31
31
  displayName: "SelectMenuTab__StyledTab",
32
32
  componentId: "ga32sz-0"
33
- })(["", " ", " ", ";"], tabStyles, _constants.COMMON, _sx.default);
33
+ })(["", " ", ";"], tabStyles, _sx.default);
34
34
 
35
35
  const SelectMenuTab = ({
36
36
  tabName = '',
@@ -1,8 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { SystemCommonProps } from '../constants';
3
2
  import { SxProp } from '../sx';
4
3
  import { ComponentProps } from '../utils/types';
5
- declare const TabPanelBase: import("styled-components").StyledComponent<"div", any, SystemCommonProps & SxProp, never>;
4
+ declare const TabPanelBase: import("styled-components").StyledComponent<"div", any, SxProp, never>;
6
5
  export declare type SelectMenuTabPanelProps = {
7
6
  tabName?: string;
8
7
  } & ComponentProps<typeof TabPanelBase>;
@@ -28,7 +28,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
28
28
  const TabPanelBase = _styledComponents.default.div.withConfig({
29
29
  displayName: "SelectMenuTabPanel__TabPanelBase",
30
30
  componentId: "ck0ipe-0"
31
- })(["border-top:", " solid ", ";", " ", ";"], (0, _constants.get)('borderWidths.1'), (0, _constants.get)('colors.border.muted'), _constants.COMMON, _sx.default);
31
+ })(["border-top:", " solid ", ";", ";"], (0, _constants.get)('borderWidths.1'), (0, _constants.get)('colors.border.muted'), _sx.default);
32
32
 
33
33
  const TabPanel = ({
34
34
  tabName,
@@ -1,8 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { SystemCommonProps } from '../constants';
3
2
  import { SxProp } from '../sx';
4
3
  import { ComponentProps } from '../utils/types';
5
- declare const SelectMenuTabsBase: import("styled-components").StyledComponent<"div", any, SystemCommonProps & SxProp, never>;
4
+ declare const SelectMenuTabsBase: import("styled-components").StyledComponent<"div", any, SxProp, never>;
6
5
  export declare type SelectMenuTabsProps = ComponentProps<typeof SelectMenuTabsBase>;
7
6
  declare const SelectMenuTabs: {
8
7
  ({ children, ...rest }: SelectMenuTabsProps): JSX.Element;
@@ -26,7 +26,7 @@ const tabWrapperStyles = (0, _styledComponents.css)(["display:flex;flex-shrink:0
26
26
  const SelectMenuTabsBase = _styledComponents.default.div.withConfig({
27
27
  displayName: "SelectMenuTabs__SelectMenuTabsBase",
28
28
  componentId: "kgg21o-0"
29
- })(["", " ", " ", ";"], tabWrapperStyles, _constants.COMMON, _sx.default);
29
+ })(["", " ", ";"], tabWrapperStyles, _sx.default);
30
30
 
31
31
  const SelectMenuTabs = ({
32
32
  children,
@@ -1,14 +1,15 @@
1
1
  import React from 'react';
2
2
  import { ButtonProps } from './Button';
3
+ import { SystemCommonProps } from './constants';
3
4
  import { DetailsProps } from './Details';
4
5
  import { SxProp } from './sx';
5
6
  import { ComponentProps } from './utils/types';
6
7
  export declare type DropdownProps = DetailsProps;
7
8
  export declare type DropdownButtonProps = ButtonProps;
8
- declare const DropdownCaret: import("styled-components").StyledComponent<"div", any, SxProp, never>;
9
+ declare const DropdownCaret: import("styled-components").StyledComponent<"div", any, SystemCommonProps & SxProp, never>;
9
10
  declare const DropdownMenu: import("styled-components").StyledComponent<"ul", any, {
10
11
  direction?: "s" | "ne" | "e" | "se" | "sw" | "w" | undefined;
11
- } & SxProp, never>;
12
+ } & SystemCommonProps & SxProp, never>;
12
13
  declare const DropdownItem: import("styled-components").StyledComponent<"li", any, SxProp, never>;
13
14
  export declare type DropdownCaretProps = ComponentProps<typeof DropdownCaret>;
14
15
  export declare type DropdownMenuProps = ComponentProps<typeof DropdownMenu>;
@@ -609,10 +610,10 @@ declare const _default: {
609
610
  theme?: any;
610
611
  }> | undefined;
611
612
  } & {
612
- Caret: import("styled-components").StyledComponent<"div", any, SxProp, never>;
613
+ Caret: import("styled-components").StyledComponent<"div", any, SystemCommonProps & SxProp, never>;
613
614
  Menu: import("styled-components").StyledComponent<"ul", any, {
614
615
  direction?: "s" | "ne" | "e" | "se" | "sw" | "w" | undefined;
615
- } & SxProp, never>;
616
+ } & SystemCommonProps & SxProp, never>;
616
617
  Item: import("styled-components").StyledComponent<"li", any, SxProp, never>;
617
618
  Button: {
618
619
  ({ children, ...rest }: {
@@ -3,7 +3,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
3
3
  import React from 'react';
4
4
  import styled from 'styled-components';
5
5
  import Button from './Button';
6
- import { get } from './constants';
6
+ import { COMMON, get } from './constants';
7
7
  import Details from './Details';
8
8
  import getDirectionStyles from './DropdownStyles';
9
9
  import useDetails from './hooks/useDetails';
@@ -44,15 +44,15 @@ DropdownButton.displayName = "DropdownButton";
44
44
  const DropdownCaret = styled.div.withConfig({
45
45
  displayName: "Dropdown__DropdownCaret",
46
46
  componentId: "sc-16yoecj-1"
47
- })(["border:4px solid transparent;margin-left:12px;border-top-color:currentcolor;border-bottom-width:0;content:'';display:inline-block;height:0;vertical-align:middle;width:0;", ";"], sx);
47
+ })(["border:4px solid transparent;margin-left:12px;border-top-color:currentcolor;border-bottom-width:0;content:'';display:inline-block;height:0;vertical-align:middle;width:0;", ";", ";"], COMMON, sx);
48
48
  const DropdownMenu = styled.ul.withConfig({
49
49
  displayName: "Dropdown__DropdownMenu",
50
50
  componentId: "sc-16yoecj-2"
51
- })(["background-clip:padding-box;background-color:", ";border:1px solid ", ";border-radius:", ";box-shadow:", ";left:0;list-style:none;margin-top:2px;padding:5px 0 5px 0 !important;position:absolute;top:100%;width:160px;z-index:100;&::before{position:absolute;display:inline-block;content:'';}&::after{position:absolute;display:inline-block;content:'';}&::before{border:8px solid transparent;border-bottom-color:", ";}&::after{border:7px solid transparent;border-bottom-color:", ";}> ul{list-style:none;}", ";", ";"], get('colors.canvas.overlay'), get('colors.border.default'), get('radii.2'), get('shadows.shadow.large'), get('colors.canvas.overlay'), get('colors.canvas.overlay'), props => props.direction ? getDirectionStyles(props.theme, props.direction) : '', sx);
51
+ })(["background-clip:padding-box;background-color:", ";border:1px solid ", ";border-radius:", ";box-shadow:", ";left:0;list-style:none;margin-top:2px;padding:5px 0 5px 0 !important;position:absolute;top:100%;width:160px;z-index:100;&::before{position:absolute;display:inline-block;content:'';}&::after{position:absolute;display:inline-block;content:'';}&::before{border:8px solid transparent;border-bottom-color:", ";}&::after{border:7px solid transparent;border-bottom-color:", ";}> ul{list-style:none;}", ";", ";", ";"], get('colors.canvas.overlay'), get('colors.border.default'), get('radii.2'), get('shadows.shadow.large'), get('colors.canvas.overlay'), get('colors.canvas.overlay'), props => props.direction ? getDirectionStyles(props.theme, props.direction) : '', COMMON, sx);
52
52
  const DropdownItem = styled.li.withConfig({
53
53
  displayName: "Dropdown__DropdownItem",
54
54
  componentId: "sc-16yoecj-3"
55
- })(["display:block;padding:", " 10px ", " 15px;overflow:hidden;color:", ";text-overflow:ellipsis;white-space:nowrap;a{color:", ";text-decoration:none;display:block;overflow:hidden;color:", ";text-overflow:ellipsis;white-space:nowrap;}&:focus,a:focus{color:", ";text-decoration:none;background-color:", ";}&:hover,&:hover a{color:", ";text-decoration:none;background-color:", ";outline:none;}", ";"], get('space.1'), get('space.1'), get('colors.fg.default'), get('colors.fg.default'), get('colors.fg.default'), get('colors.fg.onEmphasis'), get('colors.accent.emphasis'), get('colors.fg.onEmphasis'), get('colors.accent.emphasis'), sx);
55
+ })(["display:block;padding:", " 10px ", " 15px;overflow:hidden;color:", ";text-overflow:ellipsis;white-space:nowrap;a{color:", ";text-decoration:none;display:block;overflow:hidden;color:", ";text-overflow:ellipsis;white-space:nowrap;}&:focus,a:focus{color:", ";text-decoration:none;background-color:", ";}&:hover,&:hover a{color:", ";text-decoration:none;background-color:", ";outline:none;}", ";", ";"], get('space.1'), get('space.1'), get('colors.fg.default'), get('colors.fg.default'), get('colors.fg.default'), get('colors.fg.onEmphasis'), get('colors.accent.emphasis'), get('colors.fg.onEmphasis'), get('colors.accent.emphasis'), COMMON, sx);
56
56
  DropdownMenu.defaultProps = {
57
57
  direction: 'sw'
58
58
  };