@primer/components 0.0.0-2021913174146 → 0.0.0-2021913222914

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 (118) hide show
  1. package/CHANGELOG.md +1 -9
  2. package/dist/browser.esm.js +764 -869
  3. package/dist/browser.esm.js.map +1 -1
  4. package/dist/browser.umd.js +770 -875
  5. package/dist/browser.umd.js.map +1 -1
  6. package/lib/ActionList/Item.js +3 -3
  7. package/lib/AnchoredOverlay/AnchoredOverlay.d.ts +1 -2
  8. package/lib/AnchoredOverlay/AnchoredOverlay.js +3 -11
  9. package/lib/Button/Button.js +1 -1
  10. package/lib/Button/ButtonInvisible.js +1 -1
  11. package/lib/FilteredActionList/FilteredActionList.js +31 -5
  12. package/lib/Overlay.d.ts +0 -1
  13. package/lib/Overlay.js +1 -3
  14. package/lib/TextInput.d.ts +12 -4
  15. package/lib/TextInput.js +46 -4
  16. package/lib/hooks/useOpenAndCloseFocus.d.ts +1 -2
  17. package/lib/hooks/useOpenAndCloseFocus.js +2 -7
  18. package/lib/hooks/useOverlay.d.ts +1 -2
  19. package/lib/hooks/useOverlay.js +2 -4
  20. package/lib/index.d.ts +0 -5
  21. package/lib/index.js +0 -36
  22. package/lib/theme-preval.js +370 -3100
  23. package/lib/utils/testing.d.ts +50 -493
  24. package/lib/utils/types/index.d.ts +0 -1
  25. package/lib/utils/types/index.js +0 -13
  26. package/lib-esm/ActionList/Item.js +3 -3
  27. package/lib-esm/AnchoredOverlay/AnchoredOverlay.d.ts +1 -2
  28. package/lib-esm/AnchoredOverlay/AnchoredOverlay.js +3 -11
  29. package/lib-esm/Button/Button.js +1 -1
  30. package/lib-esm/Button/ButtonInvisible.js +1 -1
  31. package/lib-esm/FilteredActionList/FilteredActionList.js +31 -3
  32. package/lib-esm/Overlay.d.ts +0 -1
  33. package/lib-esm/Overlay.js +1 -3
  34. package/lib-esm/TextInput.d.ts +12 -4
  35. package/lib-esm/TextInput.js +37 -4
  36. package/lib-esm/hooks/useOpenAndCloseFocus.d.ts +1 -2
  37. package/lib-esm/hooks/useOpenAndCloseFocus.js +2 -7
  38. package/lib-esm/hooks/useOverlay.d.ts +1 -2
  39. package/lib-esm/hooks/useOverlay.js +2 -4
  40. package/lib-esm/index.d.ts +0 -5
  41. package/lib-esm/index.js +0 -3
  42. package/lib-esm/theme-preval.js +370 -3100
  43. package/lib-esm/utils/testing.d.ts +50 -493
  44. package/lib-esm/utils/types/index.d.ts +0 -1
  45. package/lib-esm/utils/types/index.js +1 -2
  46. package/package.json +3 -4
  47. package/lib/Autocomplete/Autocomplete.d.ts +0 -304
  48. package/lib/Autocomplete/Autocomplete.js +0 -145
  49. package/lib/Autocomplete/AutocompleteContext.d.ts +0 -17
  50. package/lib/Autocomplete/AutocompleteContext.js +0 -11
  51. package/lib/Autocomplete/AutocompleteInput.d.ts +0 -292
  52. package/lib/Autocomplete/AutocompleteInput.js +0 -157
  53. package/lib/Autocomplete/AutocompleteMenu.d.ts +0 -72
  54. package/lib/Autocomplete/AutocompleteMenu.js +0 -224
  55. package/lib/Autocomplete/AutocompleteOverlay.d.ts +0 -20
  56. package/lib/Autocomplete/AutocompleteOverlay.js +0 -80
  57. package/lib/Autocomplete/index.d.ts +0 -2
  58. package/lib/Autocomplete/index.js +0 -15
  59. package/lib/TextInputWithTokens.d.ts +0 -323
  60. package/lib/TextInputWithTokens.js +0 -245
  61. package/lib/Token/AvatarToken.d.ts +0 -7
  62. package/lib/Token/AvatarToken.js +0 -64
  63. package/lib/Token/IssueLabelToken.d.ts +0 -14
  64. package/lib/Token/IssueLabelToken.js +0 -144
  65. package/lib/Token/Token.d.ts +0 -15
  66. package/lib/Token/Token.js +0 -94
  67. package/lib/Token/TokenBase.d.ts +0 -31
  68. package/lib/Token/TokenBase.js +0 -108
  69. package/lib/Token/_RemoveTokenButton.d.ts +0 -12
  70. package/lib/Token/_RemoveTokenButton.js +0 -77
  71. package/lib/Token/_TokenTextContainer.d.ts +0 -3
  72. package/lib/Token/_TokenTextContainer.js +0 -17
  73. package/lib/Token/index.d.ts +0 -3
  74. package/lib/Token/index.js +0 -31
  75. package/lib/_TextInputWrapper.d.ts +0 -10
  76. package/lib/_TextInputWrapper.js +0 -51
  77. package/lib/_UnstyledTextInput.d.ts +0 -2
  78. package/lib/_UnstyledTextInput.js +0 -20
  79. package/lib/behaviors/scrollIntoViewingArea.d.ts +0 -1
  80. package/lib/behaviors/scrollIntoViewingArea.js +0 -39
  81. package/lib/utils/types/MandateProps.d.ts +0 -3
  82. package/lib/utils/types/MandateProps.js +0 -1
  83. package/lib-esm/Autocomplete/Autocomplete.d.ts +0 -304
  84. package/lib-esm/Autocomplete/Autocomplete.js +0 -123
  85. package/lib-esm/Autocomplete/AutocompleteContext.d.ts +0 -17
  86. package/lib-esm/Autocomplete/AutocompleteContext.js +0 -2
  87. package/lib-esm/Autocomplete/AutocompleteInput.d.ts +0 -292
  88. package/lib-esm/Autocomplete/AutocompleteInput.js +0 -138
  89. package/lib-esm/Autocomplete/AutocompleteMenu.d.ts +0 -72
  90. package/lib-esm/Autocomplete/AutocompleteMenu.js +0 -205
  91. package/lib-esm/Autocomplete/AutocompleteOverlay.d.ts +0 -20
  92. package/lib-esm/Autocomplete/AutocompleteOverlay.js +0 -62
  93. package/lib-esm/Autocomplete/index.d.ts +0 -2
  94. package/lib-esm/Autocomplete/index.js +0 -1
  95. package/lib-esm/TextInputWithTokens.d.ts +0 -323
  96. package/lib-esm/TextInputWithTokens.js +0 -220
  97. package/lib-esm/Token/AvatarToken.d.ts +0 -7
  98. package/lib-esm/Token/AvatarToken.js +0 -43
  99. package/lib-esm/Token/IssueLabelToken.d.ts +0 -14
  100. package/lib-esm/Token/IssueLabelToken.js +0 -124
  101. package/lib-esm/Token/Token.d.ts +0 -15
  102. package/lib-esm/Token/Token.js +0 -73
  103. package/lib-esm/Token/TokenBase.d.ts +0 -31
  104. package/lib-esm/Token/TokenBase.js +0 -87
  105. package/lib-esm/Token/_RemoveTokenButton.d.ts +0 -12
  106. package/lib-esm/Token/_RemoveTokenButton.js +0 -60
  107. package/lib-esm/Token/_TokenTextContainer.d.ts +0 -3
  108. package/lib-esm/Token/_TokenTextContainer.js +0 -6
  109. package/lib-esm/Token/index.d.ts +0 -3
  110. package/lib-esm/Token/index.js +0 -3
  111. package/lib-esm/_TextInputWrapper.d.ts +0 -10
  112. package/lib-esm/_TextInputWrapper.js +0 -31
  113. package/lib-esm/_UnstyledTextInput.d.ts +0 -2
  114. package/lib-esm/_UnstyledTextInput.js +0 -7
  115. package/lib-esm/behaviors/scrollIntoViewingArea.d.ts +0 -1
  116. package/lib-esm/behaviors/scrollIntoViewingArea.js +0 -30
  117. package/lib-esm/utils/types/MandateProps.d.ts +0 -3
  118. package/lib-esm/utils/types/MandateProps.js +0 -1
@@ -5,5 +5,5 @@ import ButtonBase, { buttonSystemProps } from './ButtonBase';
5
5
  const ButtonInvisible = styled(ButtonBase).withConfig({
6
6
  displayName: "ButtonInvisible",
7
7
  componentId: "sc-1195tpn-0"
8
- })(["color:", ";background-color:transparent;border:0;border-radius:", ";box-shadow:none;&:disabled{color:", ";}&:focus{box-shadow:", ";}", ";", ""], get('colors.accent.fg'), get('radii.2'), get('colors.fg.muted'), get('shadows.btn.focusShadow'), buttonSystemProps, sx);
8
+ })(["color:", ";background-color:transparent;border:0;border-radius:", ";box-shadow:none;&:disabled{color:", ";}&:focus{box-shadow:", ";}", ";", ""], get('colors.accent.fg'), get('radii.2'), get('colors.primer.fg.disabled'), get('shadows.btn.focusShadow'), buttonSystemProps, sx);
9
9
  export default ButtonInvisible;
@@ -1,7 +1,6 @@
1
1
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React, { useCallback, useEffect, useRef } from 'react';
4
- import { useSSRSafeId } from '@react-aria/ssr';
5
4
  import TextInput from '../TextInput';
6
5
  import Box from '../Box';
7
6
  import { ActionList } from '../ActionList';
@@ -12,7 +11,36 @@ import styled from 'styled-components';
12
11
  import { get } from '../constants';
13
12
  import { useProvidedRefOrCreate } from '../hooks/useProvidedRefOrCreate';
14
13
  import useScrollFlash from '../hooks/useScrollFlash';
15
- import { scrollIntoViewingArea } from '../behaviors/scrollIntoViewingArea';
14
+ import { useSSRSafeId } from '@react-aria/ssr';
15
+
16
+ function scrollIntoViewingArea(child, container, margin = 8, behavior = 'smooth') {
17
+ const {
18
+ top: childTop,
19
+ bottom: childBottom
20
+ } = child.getBoundingClientRect();
21
+ const {
22
+ top: containerTop,
23
+ bottom: containerBottom
24
+ } = container.getBoundingClientRect();
25
+ const isChildTopAboveViewingArea = childTop < containerTop + margin;
26
+ const isChildBottomBelowViewingArea = childBottom > containerBottom - margin;
27
+
28
+ if (isChildTopAboveViewingArea) {
29
+ const scrollHeightToChildTop = childTop - containerTop + container.scrollTop;
30
+ container.scrollTo({
31
+ behavior,
32
+ top: scrollHeightToChildTop - margin
33
+ });
34
+ } else if (isChildBottomBelowViewingArea) {
35
+ const scrollHeightToChildBottom = childBottom - containerBottom + container.scrollTop;
36
+ container.scrollTo({
37
+ behavior,
38
+ top: scrollHeightToChildBottom + margin
39
+ });
40
+ } // either completely in view or outside viewing area on both ends, don't scroll
41
+
42
+ }
43
+
16
44
  const StyledHeader = styled.div.withConfig({
17
45
  displayName: "FilteredActionList__StyledHeader",
18
46
  componentId: "yg3jkv-0"
@@ -67,7 +95,7 @@ export function FilteredActionList({
67
95
  useEffect(() => {
68
96
  // if items changed, we want to instantly move active descendant into view
69
97
  if (activeDescendantRef.current && scrollContainerRef.current) {
70
- scrollIntoViewingArea(activeDescendantRef.current, scrollContainerRef.current, 'vertical', undefined, undefined, 'auto');
98
+ scrollIntoViewingArea(activeDescendantRef.current, scrollContainerRef.current, undefined, 'auto');
71
99
  }
72
100
  }, [items]);
73
101
  useScrollFlash(scrollContainerRef);
@@ -40,7 +40,6 @@ export declare type OverlayProps = {
40
40
  top: number;
41
41
  left: number;
42
42
  portalContainerName?: string;
43
- preventFocusOnOpen?: boolean;
44
43
  } & Omit<ComponentProps<typeof StyledOverlay>, 'visibility' | keyof SystemPositionProps>;
45
44
  /**
46
45
  * An `Overlay` is a flexible floating surface, used to display transient content such as menus,
@@ -92,7 +92,6 @@ const Overlay = /*#__PURE__*/React.forwardRef(({
92
92
  left,
93
93
  anchorSide,
94
94
  portalContainerName,
95
- preventFocusOnOpen,
96
95
  ...rest
97
96
  }, forwardedRef) => {
98
97
  const overlayRef = useRef(null);
@@ -108,8 +107,7 @@ const Overlay = /*#__PURE__*/React.forwardRef(({
108
107
  onEscape,
109
108
  ignoreClickRefs,
110
109
  onClickOutside,
111
- initialFocusRef,
112
- preventFocusOnOpen
110
+ initialFocusRef
113
111
  });
114
112
  useEffect(() => {
115
113
  var _combinedRef$current;
@@ -1,14 +1,22 @@
1
1
  import React from 'react';
2
+ import { MaxWidthProps, MinWidthProps, WidthProps } from 'styled-system';
3
+ import { SxProp } from './sx';
2
4
  import { ComponentProps, Merge } from './utils/types';
3
- import UnstyledTextInput from './_UnstyledTextInput';
4
- import TextInputWrapper from './_TextInputWrapper';
5
+ declare const Input: import("styled-components").StyledComponent<"input", any, {}, never>;
6
+ declare const Wrapper: import("styled-components").StyledComponent<"span", any, {
7
+ disabled?: boolean | undefined;
8
+ hasIcon?: boolean | undefined;
9
+ block?: boolean | undefined;
10
+ contrast?: boolean | undefined;
11
+ variant?: "large" | "small" | undefined;
12
+ } & WidthProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Width<import("styled-system").TLengthStyledSystem>> & MinWidthProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.MinWidth<import("styled-system").TLengthStyledSystem>> & MaxWidthProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.MaxWidth<import("styled-system").TLengthStyledSystem>> & SxProp, never>;
5
13
  declare type NonPassthroughProps = {
6
14
  className?: string;
7
15
  icon?: React.ComponentType<{
8
16
  className?: string;
9
17
  }>;
10
- } & Pick<ComponentProps<typeof TextInputWrapper>, 'block' | 'contrast' | 'disabled' | 'sx' | 'theme' | 'width' | 'maxWidth' | 'minWidth' | 'variant'>;
11
- declare type TextInputInternalProps = Merge<React.ComponentPropsWithoutRef<typeof UnstyledTextInput>, NonPassthroughProps>;
18
+ } & Pick<ComponentProps<typeof Wrapper>, 'block' | 'contrast' | 'disabled' | 'sx' | 'theme' | 'width' | 'maxWidth' | 'minWidth' | 'variant'>;
19
+ declare type TextInputInternalProps = Merge<React.ComponentPropsWithoutRef<typeof Input>, NonPassthroughProps>;
12
20
  declare const TextInput: React.ForwardRefExoticComponent<Pick<TextInputInternalProps, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
13
21
  export declare type TextInputProps = ComponentProps<typeof TextInput>;
14
22
  export default TextInput;
@@ -2,8 +2,41 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
2
2
 
3
3
  import classnames from 'classnames';
4
4
  import React from 'react';
5
- import UnstyledTextInput from './_UnstyledTextInput';
6
- import TextInputWrapper from './_TextInputWrapper';
5
+ import styled, { css } from 'styled-components';
6
+ import { maxWidth, minWidth, variant, width } from 'styled-system';
7
+ import { get } from './constants';
8
+ import sx from './sx';
9
+ const sizeVariants = variant({
10
+ variants: {
11
+ small: {
12
+ minHeight: '28px',
13
+ px: 2,
14
+ py: '3px',
15
+ fontSize: 0,
16
+ lineHeight: '20px'
17
+ },
18
+ large: {
19
+ px: 2,
20
+ py: '10px',
21
+ fontSize: 3
22
+ }
23
+ }
24
+ });
25
+ const Input = styled.input.withConfig({
26
+ displayName: "TextInput__Input",
27
+ componentId: "sc-1apmpmt-0"
28
+ })(["border:0;font-size:inherit;font-family:inherit;background-color:transparent;-webkit-appearance:none;color:inherit;width:100%;&:focus{outline:0;}"]);
29
+ const Wrapper = styled.span.withConfig({
30
+ displayName: "TextInput__Wrapper",
31
+ componentId: "sc-1apmpmt-1"
32
+ })(["display:inline-flex;align-items:stretch;min-height:34px;font-size:", ";line-height:20px;color:", ";vertical-align:middle;background-repeat:no-repeat;background-position:right 8px center;border:1px solid ", ";border-radius:", ";outline:none;box-shadow:", ";", " .TextInput-icon{align-self:center;color:", ";margin:0 ", ";flex-shrink:0;}&:focus-within{border-color:", ";box-shadow:", ";}", " ", " ", " @media (min-width:", "){font-size:", ";}", " ", " ", " ", " ", ";"], get('fontSizes.1'), get('colors.fg.default'), get('colors.border.default'), get('radii.2'), get('shadows.primer.shadow.inset'), props => {
33
+ if (props.hasIcon) {
34
+ return css(["padding:0;"]);
35
+ } else {
36
+ return css(["padding:6px 12px;"]);
37
+ }
38
+ }, get('colors.fg.muted'), get('space.2'), get('colors.accent.emphasis'), get('shadows.primer.shadow.focus'), props => props.contrast && css(["background-color:", ";"], get('colors.canvas.inset')), props => props.disabled && css(["color:", ";background-color:", ";border-color:", ";"], get('colors.primer.fg.disabled'), get('colors.input.disabledBg'), get('colors.border.default')), props => props.block && css(["display:block;width:100%;"]), get('breakpoints.1'), get('fontSizes.1'), width, minWidth, maxWidth, sizeVariants, sx); // Props that are not passed through to Input:
39
+
7
40
  // using forwardRef is important so that other components (ex. SelectMenu) can autofocus the input
8
41
  const TextInput = /*#__PURE__*/React.forwardRef(({
9
42
  icon: IconComponent,
@@ -21,7 +54,7 @@ const TextInput = /*#__PURE__*/React.forwardRef(({
21
54
  }, ref) => {
22
55
  // this class is necessary to style FilterSearch, plz no touchy!
23
56
  const wrapperClasses = classnames(className, 'TextInput-wrapper');
24
- return /*#__PURE__*/React.createElement(TextInputWrapper, {
57
+ return /*#__PURE__*/React.createElement(Wrapper, {
25
58
  block: block,
26
59
  className: wrapperClasses,
27
60
  contrast: contrast,
@@ -35,7 +68,7 @@ const TextInput = /*#__PURE__*/React.forwardRef(({
35
68
  variant: variantProp
36
69
  }, IconComponent && /*#__PURE__*/React.createElement(IconComponent, {
37
70
  className: "TextInput-icon"
38
- }), /*#__PURE__*/React.createElement(UnstyledTextInput, _extends({
71
+ }), /*#__PURE__*/React.createElement(Input, _extends({
39
72
  ref: ref,
40
73
  disabled: disabled
41
74
  }, inputProps)));
@@ -3,6 +3,5 @@ export declare type UseOpenAndCloseFocusSettings = {
3
3
  initialFocusRef?: React.RefObject<HTMLElement>;
4
4
  containerRef: React.RefObject<HTMLElement>;
5
5
  returnFocusRef: React.RefObject<HTMLElement>;
6
- preventFocusOnOpen?: boolean;
7
6
  };
8
- export declare function useOpenAndCloseFocus({ initialFocusRef, returnFocusRef, containerRef, preventFocusOnOpen }: UseOpenAndCloseFocusSettings): void;
7
+ export declare function useOpenAndCloseFocus({ initialFocusRef, returnFocusRef, containerRef }: UseOpenAndCloseFocusSettings): void;
@@ -3,14 +3,9 @@ import { iterateFocusableElements } from '../utils/iterateFocusableElements';
3
3
  export function useOpenAndCloseFocus({
4
4
  initialFocusRef,
5
5
  returnFocusRef,
6
- containerRef,
7
- preventFocusOnOpen
6
+ containerRef
8
7
  }) {
9
8
  useEffect(() => {
10
- if (preventFocusOnOpen) {
11
- return;
12
- }
13
-
14
9
  const returnRef = returnFocusRef.current;
15
10
 
16
11
  if (initialFocusRef && initialFocusRef.current) {
@@ -23,5 +18,5 @@ export function useOpenAndCloseFocus({
23
18
  return function () {
24
19
  returnRef === null || returnRef === void 0 ? void 0 : returnRef.focus();
25
20
  };
26
- }, [initialFocusRef, returnFocusRef, containerRef, preventFocusOnOpen]);
21
+ }, [initialFocusRef, returnFocusRef, containerRef]);
27
22
  }
@@ -7,9 +7,8 @@ export declare type UseOverlaySettings = {
7
7
  onEscape: (e: KeyboardEvent) => void;
8
8
  onClickOutside: (e: TouchOrMouseEvent) => void;
9
9
  overlayRef?: React.RefObject<HTMLDivElement>;
10
- preventFocusOnOpen?: boolean;
11
10
  };
12
11
  export declare type OverlayReturnProps = {
13
12
  ref: React.RefObject<HTMLDivElement>;
14
13
  };
15
- export declare const useOverlay: ({ overlayRef: _overlayRef, returnFocusRef, initialFocusRef, onEscape, ignoreClickRefs, onClickOutside, preventFocusOnOpen }: UseOverlaySettings) => OverlayReturnProps;
14
+ export declare const useOverlay: ({ overlayRef: _overlayRef, returnFocusRef, initialFocusRef, onEscape, ignoreClickRefs, onClickOutside }: UseOverlaySettings) => OverlayReturnProps;
@@ -8,15 +8,13 @@ export const useOverlay = ({
8
8
  initialFocusRef,
9
9
  onEscape,
10
10
  ignoreClickRefs,
11
- onClickOutside,
12
- preventFocusOnOpen
11
+ onClickOutside
13
12
  }) => {
14
13
  const overlayRef = useProvidedRefOrCreate(_overlayRef);
15
14
  useOpenAndCloseFocus({
16
15
  containerRef: overlayRef,
17
16
  returnFocusRef,
18
- initialFocusRef,
19
- preventFocusOnOpen
17
+ initialFocusRef
20
18
  });
21
19
  useOnOutsideClick({
22
20
  containerRef: overlayRef,
@@ -24,8 +24,6 @@ export { useConfirm } from './Dialog/ConfirmationDialog';
24
24
  export { ActionList } from './ActionList';
25
25
  export { ActionMenu } from './ActionMenu';
26
26
  export type { ActionMenuProps } from './ActionMenu';
27
- export { default as Autocomplete } from './Autocomplete';
28
- export type { AutocompleteMenuProps, AutocompleteInputProps, AutocompleteOverlayProps } from './Autocomplete';
29
27
  export { default as Avatar } from './Avatar';
30
28
  export type { AvatarProps } from './Avatar';
31
29
  export { default as AvatarPair } from './AvatarPair';
@@ -100,13 +98,10 @@ export { default as TabNav } from './TabNav';
100
98
  export type { TabNavProps, TabNavLinkProps } from './TabNav';
101
99
  export { default as TextInput } from './TextInput';
102
100
  export type { TextInputProps } from './TextInput';
103
- export { default as TextInputWithTokens } from './TextInputWithTokens';
104
- export type { TextInputWithTokensProps } from './TextInputWithTokens';
105
101
  export { default as Text } from './Text';
106
102
  export type { TextProps } from './Text';
107
103
  export { default as Timeline } from './Timeline';
108
104
  export type { TimelineProps, TimelineBadgeProps, TimelineBodyProps, TimelineBreakProps, TimelineItemsProps } from './Timeline';
109
- export { default as Token, IssueLabelToken, AvatarToken } from './Token';
110
105
  export { default as Tooltip } from './Tooltip';
111
106
  export type { TooltipProps } from './Tooltip';
112
107
  export { default as Truncate } from './Truncate';
package/lib-esm/index.js CHANGED
@@ -19,7 +19,6 @@ export { useConfirm } from './Dialog/ConfirmationDialog'; // Components
19
19
 
20
20
  export { ActionList } from './ActionList';
21
21
  export { ActionMenu } from './ActionMenu';
22
- export { default as Autocomplete } from './Autocomplete';
23
22
  export { default as Avatar } from './Avatar';
24
23
  export { default as AvatarPair } from './AvatarPair';
25
24
  export { default as AvatarStack } from './AvatarStack';
@@ -62,10 +61,8 @@ export { default as StyledOcticon } from './StyledOcticon';
62
61
  export { default as SubNav } from './SubNav';
63
62
  export { default as TabNav } from './TabNav';
64
63
  export { default as TextInput } from './TextInput';
65
- export { default as TextInputWithTokens } from './TextInputWithTokens';
66
64
  export { default as Text } from './Text';
67
65
  export { default as Timeline } from './Timeline';
68
- export { default as Token, IssueLabelToken, AvatarToken } from './Token';
69
66
  export { default as Tooltip } from './Tooltip';
70
67
  export { default as Truncate } from './Truncate';
71
68
  export { default as UnderlineNav } from './UnderlineNav';