@zendeskgarden/react-dropdowns.legacy 9.0.0-next.3

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 (58) hide show
  1. package/LICENSE.md +176 -0
  2. package/README.md +100 -0
  3. package/dist/index.cjs.js +2082 -0
  4. package/dist/index.esm.js +2032 -0
  5. package/dist/typings/elements/Autocomplete/Autocomplete.d.ts +14 -0
  6. package/dist/typings/elements/Combobox/Combobox.d.ts +14 -0
  7. package/dist/typings/elements/Dropdown/Dropdown.d.ts +26 -0
  8. package/dist/typings/elements/Fields/Field.d.ts +11 -0
  9. package/dist/typings/elements/Fields/Hint.d.ts +11 -0
  10. package/dist/typings/elements/Fields/Label.d.ts +12 -0
  11. package/dist/typings/elements/Fields/Message.d.ts +12 -0
  12. package/dist/typings/elements/Menu/Items/AddItem.d.ts +12 -0
  13. package/dist/typings/elements/Menu/Items/HeaderIcon.d.ts +11 -0
  14. package/dist/typings/elements/Menu/Items/HeaderItem.d.ts +12 -0
  15. package/dist/typings/elements/Menu/Items/Item.d.ts +12 -0
  16. package/dist/typings/elements/Menu/Items/ItemMeta.d.ts +11 -0
  17. package/dist/typings/elements/Menu/Items/MediaBody.d.ts +11 -0
  18. package/dist/typings/elements/Menu/Items/MediaFigure.d.ts +11 -0
  19. package/dist/typings/elements/Menu/Items/MediaItem.d.ts +12 -0
  20. package/dist/typings/elements/Menu/Items/NextItem.d.ts +12 -0
  21. package/dist/typings/elements/Menu/Items/PreviousItem.d.ts +12 -0
  22. package/dist/typings/elements/Menu/Menu.d.ts +14 -0
  23. package/dist/typings/elements/Menu/Separator.d.ts +11 -0
  24. package/dist/typings/elements/Multiselect/Multiselect.d.ts +14 -0
  25. package/dist/typings/elements/Select/Select.d.ts +14 -0
  26. package/dist/typings/elements/Trigger/Trigger.d.ts +24 -0
  27. package/dist/typings/index.d.ts +31 -0
  28. package/dist/typings/styled/index.d.ts +29 -0
  29. package/dist/typings/styled/items/StyledAddItem.d.ts +13 -0
  30. package/dist/typings/styled/items/StyledItem.d.ts +20 -0
  31. package/dist/typings/styled/items/StyledItemIcon.d.ts +17 -0
  32. package/dist/typings/styled/items/StyledItemMeta.d.ts +18 -0
  33. package/dist/typings/styled/items/StyledNextIcon.d.ts +12 -0
  34. package/dist/typings/styled/items/StyledNextItem.d.ts +13 -0
  35. package/dist/typings/styled/items/StyledPreviousIcon.d.ts +12 -0
  36. package/dist/typings/styled/items/StyledPreviousItem.d.ts +13 -0
  37. package/dist/typings/styled/items/header/StyledHeaderIcon.d.ts +14 -0
  38. package/dist/typings/styled/items/header/StyledHeaderItem.d.ts +16 -0
  39. package/dist/typings/styled/items/media/StyledMediaBody.d.ts +17 -0
  40. package/dist/typings/styled/items/media/StyledMediaFigure.d.ts +287 -0
  41. package/dist/typings/styled/items/media/StyledMediaItem.d.ts +13 -0
  42. package/dist/typings/styled/menu/StyledMenu.d.ts +20 -0
  43. package/dist/typings/styled/menu/StyledMenuWrapper.d.ts +16 -0
  44. package/dist/typings/styled/menu/StyledSeparator.d.ts +10 -0
  45. package/dist/typings/styled/multiselect/StyledMultiselectInput.d.ts +22 -0
  46. package/dist/typings/styled/multiselect/StyledMultiselectItemWrapper.d.ts +10 -0
  47. package/dist/typings/styled/multiselect/StyledMultiselectItemsContainer.d.ts +16 -0
  48. package/dist/typings/styled/multiselect/StyledMultiselectMoreAnchor.d.ts +15 -0
  49. package/dist/typings/styled/select/StyledFauxInput.d.ts +22 -0
  50. package/dist/typings/styled/select/StyledInput.d.ts +15 -0
  51. package/dist/typings/styled/select/StyledSelect.d.ts +10 -0
  52. package/dist/typings/types/index.d.ts +150 -0
  53. package/dist/typings/utils/garden-placements.d.ts +26 -0
  54. package/dist/typings/utils/useDropdownContext.d.ts +28 -0
  55. package/dist/typings/utils/useFieldContext.d.ts +17 -0
  56. package/dist/typings/utils/useItemContext.d.ts +16 -0
  57. package/dist/typings/utils/useMenuContext.d.ts +17 -0
  58. package/package.json +56 -0
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ import { IAutocompleteProps } from '../../types';
9
+ /**
10
+ * @deprecated use `@zendeskgarden/react-dropdowns` Combobox instead
11
+ *
12
+ * @extends HTMLAttributes<HTMLDivElement>
13
+ */
14
+ export declare const Autocomplete: React.ForwardRefExoticComponent<IAutocompleteProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ import { IComboboxProps } from '../../types';
9
+ /**
10
+ * @deprecated use `@zendeskgarden/react-dropdowns` Combobox instead
11
+ *
12
+ * @extends HTMLAttributes<HTMLDivElement>
13
+ */
14
+ export declare const Combobox: React.ForwardRefExoticComponent<IComboboxProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React, { PropsWithChildren } from 'react';
8
+ import PropTypes from 'prop-types';
9
+ import { IDropdownProps } from '../../types';
10
+ export declare const REMOVE_ITEM_STATE_TYPE = "REMOVE_ITEM";
11
+ /**
12
+ * @deprecated use `@zendeskgarden/react-dropdowns` instead
13
+ */
14
+ export declare const Dropdown: {
15
+ (props: PropsWithChildren<IDropdownProps>): React.JSX.Element;
16
+ propTypes: {
17
+ isOpen: PropTypes.Requireable<boolean>;
18
+ selectedItem: PropTypes.Requireable<any>;
19
+ selectedItems: PropTypes.Requireable<any[]>;
20
+ highlightedIndex: PropTypes.Requireable<number>;
21
+ inputValue: PropTypes.Requireable<string>;
22
+ onSelect: PropTypes.Requireable<(...args: any[]) => any>;
23
+ onStateChange: PropTypes.Requireable<(...args: any[]) => any>;
24
+ downshiftProps: PropTypes.Requireable<object>;
25
+ };
26
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ /**
9
+ * @extends HTMLAttributes<HTMLDivElement>
10
+ */
11
+ export declare const Field: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ /**
9
+ * @extends HTMLAttributes<HTMLDivElement>
10
+ */
11
+ export declare const Hint: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ import { ILabelProps } from '@zendeskgarden/react-forms';
9
+ /**
10
+ * @extends LabelHTMLAttributes<HTMLLabelElement>
11
+ */
12
+ export declare const Label: React.ForwardRefExoticComponent<ILabelProps & React.RefAttributes<HTMLLabelElement>>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ import { IMessageProps } from '@zendeskgarden/react-forms';
9
+ /**
10
+ * @extends HTMLAttributes<HTMLDivElement>
11
+ */
12
+ export declare const Message: React.ForwardRefExoticComponent<IMessageProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ import { IItemProps } from '../../../types';
9
+ /**
10
+ * @extends LiHTMLAttributes<HTMLLIElement>
11
+ */
12
+ export declare const AddItem: React.ForwardRefExoticComponent<Omit<IItemProps, "component" | "hasIcon"> & React.RefAttributes<HTMLLIElement>>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ /**
9
+ * @extends HTMLAttributes<HTMLDivElement>
10
+ */
11
+ export declare const HeaderIcon: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ import { IHeaderItemProps } from '../../../types';
9
+ /**
10
+ * @extends LiHTMLAttributes<HTMLLIElement>
11
+ */
12
+ export declare const HeaderItem: React.ForwardRefExoticComponent<IHeaderItemProps & React.RefAttributes<HTMLLIElement>>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ import { IItemProps } from '../../../types';
9
+ /**
10
+ * @extends LiHTMLAttributes<HTMLLIElement>
11
+ */
12
+ export declare const Item: React.ForwardRefExoticComponent<IItemProps & React.RefAttributes<HTMLLIElement>>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ /**
9
+ * @extends HTMLAttributes<HTMLSpanElement>
10
+ */
11
+ export declare const ItemMeta: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ /**
9
+ * @extends HTMLAttributes<HTMLDivElement>
10
+ */
11
+ export declare const MediaBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React, { HTMLAttributes } from 'react';
8
+ /**
9
+ * @extends HTMLAttributes<Element>
10
+ */
11
+ export declare const MediaFigure: (props: HTMLAttributes<Element>) => React.JSX.Element;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ import { IItemProps } from '../../../types';
9
+ /**
10
+ * @extends LiHTMLAttributes<HTMLLIElement>
11
+ */
12
+ export declare const MediaItem: React.ForwardRefExoticComponent<Omit<IItemProps, "component" | "hasIcon"> & React.RefAttributes<HTMLLIElement>>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ import { IItemProps } from '../../../types';
9
+ /**
10
+ * @extends LiHTMLAttributes<HTMLLIElement>
11
+ */
12
+ export declare const NextItem: React.ForwardRefExoticComponent<Omit<IItemProps, "component" | "hasIcon"> & React.RefAttributes<HTMLLIElement>>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ import { IItemProps } from '../../../types';
9
+ /**
10
+ * @extends LiHTMLAttributes<HTMLLIElement>
11
+ */
12
+ export declare const PreviousItem: React.ForwardRefExoticComponent<Omit<IItemProps, "component" | "hasIcon"> & React.RefAttributes<HTMLLIElement>>;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ import { IMenuProps } from '../../types';
9
+ /**
10
+ * @deprecated use `@zendeskgarden/react-dropdowns` Menu instead
11
+ *
12
+ * @extends HTMLAttributes<HTMLUListElement>
13
+ */
14
+ export declare const Menu: React.ForwardRefExoticComponent<IMenuProps & React.RefAttributes<HTMLUListElement>>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ /**
9
+ * @extends LiHTMLAttributes<HTMLLIElement>
10
+ */
11
+ export declare const Separator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLLIElement> & React.RefAttributes<HTMLLIElement>>;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ import { IMultiselectProps } from '../../types';
9
+ /**
10
+ * @deprecated use `@zendeskgarden/react-dropdowns` Combobox instead
11
+ *
12
+ * @extends HTMLAttributes<HTMLDivElement>
13
+ */
14
+ export declare const Multiselect: React.ForwardRefExoticComponent<IMultiselectProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ import { ISelectProps } from '../../types';
9
+ /**
10
+ * @deprecated use `@zendeskgarden/react-dropdowns` Combobox instead
11
+ *
12
+ * @extends HTMLAttributes<HTMLDivElement>
13
+ */
14
+ export declare const Select: React.ForwardRefExoticComponent<ISelectProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ import PropTypes from 'prop-types';
9
+ import { ITriggerProps } from '../../types';
10
+ /**
11
+ * @deprecated use `@zendeskgarden/react-dropdowns` Menu instead
12
+ *
13
+ * @extends HTMLAttributes<HTMLElement>
14
+ */
15
+ export declare const Trigger: {
16
+ ({ children, refKey, ...triggerProps }: ITriggerProps): React.JSX.Element;
17
+ propTypes: {
18
+ children: PropTypes.Requireable<any>;
19
+ refKey: PropTypes.Requireable<string>;
20
+ };
21
+ defaultProps: {
22
+ refKey: string;
23
+ };
24
+ };
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ export { Dropdown } from './elements/Dropdown/Dropdown';
8
+ export { Trigger } from './elements/Trigger/Trigger';
9
+ export { Autocomplete } from './elements/Autocomplete/Autocomplete';
10
+ export { Combobox } from './elements/Combobox/Combobox';
11
+ export { Multiselect } from './elements/Multiselect/Multiselect';
12
+ export { Select } from './elements/Select/Select';
13
+ export { Field } from './elements/Fields/Field';
14
+ export { Hint } from './elements/Fields/Hint';
15
+ export { Label } from './elements/Fields/Label';
16
+ export { Message } from './elements/Fields/Message';
17
+ export { Menu } from './elements/Menu/Menu';
18
+ export { Separator } from './elements/Menu/Separator';
19
+ export { AddItem } from './elements/Menu/Items/AddItem';
20
+ export { HeaderIcon } from './elements/Menu/Items/HeaderIcon';
21
+ export { HeaderItem } from './elements/Menu/Items/HeaderItem';
22
+ export { Item } from './elements/Menu/Items/Item';
23
+ export { ItemMeta } from './elements/Menu/Items/ItemMeta';
24
+ export { MediaBody } from './elements/Menu/Items/MediaBody';
25
+ export { MediaFigure } from './elements/Menu/Items/MediaFigure';
26
+ export { MediaItem } from './elements/Menu/Items/MediaItem';
27
+ export { NextItem } from './elements/Menu/Items/NextItem';
28
+ export { PreviousItem } from './elements/Menu/Items/PreviousItem';
29
+ export type { IDropdownProps, ITriggerProps, ISelectProps, IAutocompleteProps, IComboboxProps, IMultiselectProps, IMenuProps, IItemProps, IHeaderItemProps, GardenPlacement as GARDEN_PLACEMENT, PopperPlacement as POPPER_PLACEMENT } from './types';
30
+ export type { ILabelProps, IMessageProps } from '@zendeskgarden/react-forms';
31
+ export { resetIdCounter } from 'downshift';
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ export * from './menu/StyledMenu';
8
+ export * from './menu/StyledMenuWrapper';
9
+ export * from './menu/StyledSeparator';
10
+ export * from './items/StyledAddItem';
11
+ export * from './items/StyledItem';
12
+ export * from './items/StyledItemMeta';
13
+ export * from './items/StyledNextItem';
14
+ export * from './items/StyledNextIcon';
15
+ export * from './items/StyledPreviousItem';
16
+ export * from './items/StyledPreviousIcon';
17
+ export * from './items/StyledItemIcon';
18
+ export * from './items/header/StyledHeaderIcon';
19
+ export * from './items/header/StyledHeaderItem';
20
+ export * from './items/media/StyledMediaBody';
21
+ export * from './items/media/StyledMediaFigure';
22
+ export * from './items/media/StyledMediaItem';
23
+ export * from './select/StyledFauxInput';
24
+ export * from './select/StyledInput';
25
+ export * from './select/StyledSelect';
26
+ export * from './multiselect/StyledMultiselectInput';
27
+ export * from './multiselect/StyledMultiselectItemsContainer';
28
+ export * from './multiselect/StyledMultiselectItemWrapper';
29
+ export * from './multiselect/StyledMultiselectMoreAnchor';
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ /**
8
+ * Accepts all `<li>` props
9
+ */
10
+ export declare const StyledAddItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, import("./StyledItem").IStyledItemProps & {
11
+ 'data-garden-id': string;
12
+ 'data-garden-version': string;
13
+ }, "data-garden-id" | "data-garden-version">;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { ThemeProps, DefaultTheme } from 'styled-components';
8
+ export interface IStyledItemProps {
9
+ isFocused?: boolean;
10
+ isCompact?: boolean;
11
+ isDanger?: boolean;
12
+ disabled?: boolean;
13
+ checked?: boolean;
14
+ }
15
+ export declare const getItemPaddingVertical: (props: IStyledItemProps & ThemeProps<DefaultTheme>) => string;
16
+ /**
17
+ * 1. Allows an item to contain a positioned sub-menu.
18
+ * 2. Reset stacking context for sub-menu css-arrows.
19
+ **/
20
+ export declare const StyledItem: import("styled-components").StyledComponent<"li", DefaultTheme, IStyledItemProps, never>;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ interface IStyledItemIconProps {
9
+ isCompact?: boolean;
10
+ isVisible?: boolean;
11
+ isDisabled?: boolean;
12
+ }
13
+ export declare const StyledItemIcon: import("styled-components").StyledComponent<"div", DefaultTheme, {
14
+ 'data-garden-id': string;
15
+ 'data-garden-version': string;
16
+ } & IStyledItemIconProps, "data-garden-id" | "data-garden-version">;
17
+ export {};
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ interface IStyledItemMetaProps {
8
+ isCompact?: boolean;
9
+ isDisabled?: boolean;
10
+ }
11
+ /**
12
+ * Accepts all `<span>` props
13
+ */
14
+ export declare const StyledItemMeta: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
15
+ 'data-garden-id': string;
16
+ 'data-garden-version': string;
17
+ } & IStyledItemMetaProps, "data-garden-id" | "data-garden-version">;
18
+ export {};
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ interface IStyledNextIconProps {
9
+ isDisabled?: boolean;
10
+ }
11
+ export declare const StyledNextIcon: import("styled-components").StyledComponent<React.FC<React.HTMLAttributes<SVGSVGElement>>, import("styled-components").DefaultTheme, IStyledNextIconProps, never>;
12
+ export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ /**
8
+ * Accepts all `<li>` props
9
+ */
10
+ export declare const StyledNextItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, import("./StyledItem").IStyledItemProps & {
11
+ 'data-garden-id': string;
12
+ 'data-garden-version': string;
13
+ }, "data-garden-id" | "data-garden-version">;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ interface IStyledPreviousIconProps {
9
+ isDisabled?: boolean;
10
+ }
11
+ export declare const StyledPreviousIcon: import("styled-components").StyledComponent<React.FC<React.HTMLAttributes<SVGSVGElement>>, import("styled-components").DefaultTheme, IStyledPreviousIconProps, never>;
12
+ export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ /**
8
+ * Accepts all `<li>` props
9
+ */
10
+ export declare const StyledPreviousItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, import("./StyledItem").IStyledItemProps & {
11
+ 'data-garden-id': string;
12
+ 'data-garden-version': string;
13
+ }, "data-garden-id" | "data-garden-version">;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ interface IStyledHeaderIcon {
8
+ isCompact?: boolean;
9
+ }
10
+ export declare const StyledHeaderIcon: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
11
+ 'data-garden-id': string;
12
+ 'data-garden-version': string;
13
+ } & IStyledHeaderIcon, "data-garden-id" | "data-garden-version">;
14
+ export {};
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ export interface IStyledHeaderItemProps {
9
+ /** Applies icon styling */
10
+ hasIcon?: boolean;
11
+ isCompact?: boolean;
12
+ }
13
+ /**
14
+ * Accepts all `<li>` props
15
+ */
16
+ export declare const StyledHeaderItem: import("styled-components").StyledComponent<"li", DefaultTheme, import("../StyledItem").IStyledItemProps & IStyledHeaderItemProps, never>;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ interface IStyledMediaBodyProps {
8
+ isCompact?: boolean;
9
+ }
10
+ /**
11
+ * Accepts all `<div>` props
12
+ */
13
+ export declare const StyledMediaBody: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
14
+ 'data-garden-id': string;
15
+ 'data-garden-version': string;
16
+ } & IStyledMediaBodyProps, "data-garden-id" | "data-garden-version">;
17
+ export {};