@zendeskgarden/react-dropdowns 8.69.1 → 8.69.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 (56) hide show
  1. package/dist/index.cjs.js +23 -23
  2. package/dist/index.esm.js +23 -23
  3. package/dist/typings/elements/Autocomplete/Autocomplete.d.ts +12 -12
  4. package/dist/typings/elements/Combobox/Combobox.d.ts +12 -12
  5. package/dist/typings/elements/Dropdown/Dropdown.d.ts +23 -23
  6. package/dist/typings/elements/Fields/Field.d.ts +11 -11
  7. package/dist/typings/elements/Fields/Hint.d.ts +11 -11
  8. package/dist/typings/elements/Fields/Label.d.ts +12 -12
  9. package/dist/typings/elements/Fields/Message.d.ts +12 -12
  10. package/dist/typings/elements/Menu/Items/AddItem.d.ts +12 -12
  11. package/dist/typings/elements/Menu/Items/HeaderIcon.d.ts +11 -11
  12. package/dist/typings/elements/Menu/Items/HeaderItem.d.ts +12 -12
  13. package/dist/typings/elements/Menu/Items/Item.d.ts +12 -12
  14. package/dist/typings/elements/Menu/Items/ItemMeta.d.ts +11 -11
  15. package/dist/typings/elements/Menu/Items/MediaBody.d.ts +11 -11
  16. package/dist/typings/elements/Menu/Items/MediaFigure.d.ts +11 -11
  17. package/dist/typings/elements/Menu/Items/MediaItem.d.ts +12 -12
  18. package/dist/typings/elements/Menu/Items/NextItem.d.ts +12 -12
  19. package/dist/typings/elements/Menu/Items/PreviousItem.d.ts +12 -12
  20. package/dist/typings/elements/Menu/Menu.d.ts +12 -12
  21. package/dist/typings/elements/Menu/Separator.d.ts +11 -11
  22. package/dist/typings/elements/Multiselect/Multiselect.d.ts +12 -12
  23. package/dist/typings/elements/Select/Select.d.ts +12 -12
  24. package/dist/typings/elements/Trigger/Trigger.d.ts +22 -22
  25. package/dist/typings/index.d.ts +31 -31
  26. package/dist/typings/styled/index.d.ts +29 -29
  27. package/dist/typings/styled/items/StyledAddItem.d.ts +13 -13
  28. package/dist/typings/styled/items/StyledItem.d.ts +20 -20
  29. package/dist/typings/styled/items/StyledItemIcon.d.ts +17 -17
  30. package/dist/typings/styled/items/StyledItemMeta.d.ts +18 -18
  31. package/dist/typings/styled/items/StyledNextIcon.d.ts +12 -12
  32. package/dist/typings/styled/items/StyledNextItem.d.ts +13 -13
  33. package/dist/typings/styled/items/StyledPreviousIcon.d.ts +12 -12
  34. package/dist/typings/styled/items/StyledPreviousItem.d.ts +13 -13
  35. package/dist/typings/styled/items/header/StyledHeaderIcon.d.ts +14 -14
  36. package/dist/typings/styled/items/header/StyledHeaderItem.d.ts +16 -16
  37. package/dist/typings/styled/items/media/StyledMediaBody.d.ts +17 -17
  38. package/dist/typings/styled/items/media/StyledMediaFigure.d.ts +280 -280
  39. package/dist/typings/styled/items/media/StyledMediaItem.d.ts +13 -13
  40. package/dist/typings/styled/menu/StyledMenu.d.ts +20 -20
  41. package/dist/typings/styled/menu/StyledMenuWrapper.d.ts +16 -16
  42. package/dist/typings/styled/menu/StyledSeparator.d.ts +10 -10
  43. package/dist/typings/styled/multiselect/StyledMultiselectInput.d.ts +22 -22
  44. package/dist/typings/styled/multiselect/StyledMultiselectItemWrapper.d.ts +10 -10
  45. package/dist/typings/styled/multiselect/StyledMultiselectItemsContainer.d.ts +16 -16
  46. package/dist/typings/styled/multiselect/StyledMultiselectMoreAnchor.d.ts +15 -15
  47. package/dist/typings/styled/select/StyledFauxInput.d.ts +22 -22
  48. package/dist/typings/styled/select/StyledInput.d.ts +15 -15
  49. package/dist/typings/styled/select/StyledSelect.d.ts +10 -10
  50. package/dist/typings/types/index.d.ts +150 -150
  51. package/dist/typings/utils/garden-placements.d.ts +26 -26
  52. package/dist/typings/utils/useDropdownContext.d.ts +28 -28
  53. package/dist/typings/utils/useFieldContext.d.ts +17 -17
  54. package/dist/typings/utils/useItemContext.d.ts +16 -16
  55. package/dist/typings/utils/useMenuContext.d.ts +17 -17
  56. package/package.json +4 -4
@@ -1,12 +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>>;
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>>;
@@ -1,12 +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>>;
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>>;
@@ -1,11 +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>>;
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>>;
@@ -1,11 +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>>;
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>>;
@@ -1,11 +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;
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;
@@ -1,12 +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>>;
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>>;
@@ -1,12 +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>>;
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>>;
@@ -1,12 +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>>;
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>>;
@@ -1,12 +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 { IMenuProps } from '../../types';
9
- /**
10
- * @extends HTMLAttributes<HTMLUListElement>
11
- */
12
- export declare const Menu: React.ForwardRefExoticComponent<IMenuProps & React.RefAttributes<HTMLUListElement>>;
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
+ * @extends HTMLAttributes<HTMLUListElement>
11
+ */
12
+ export declare const Menu: React.ForwardRefExoticComponent<IMenuProps & React.RefAttributes<HTMLUListElement>>;
@@ -1,11 +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>>;
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>>;
@@ -1,12 +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 { IMultiselectProps } from '../../types';
9
- /**
10
- * @extends HTMLAttributes<HTMLDivElement>
11
- */
12
- export declare const Multiselect: React.ForwardRefExoticComponent<IMultiselectProps & React.RefAttributes<HTMLDivElement>>;
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
+ * @extends HTMLAttributes<HTMLDivElement>
11
+ */
12
+ export declare const Multiselect: React.ForwardRefExoticComponent<IMultiselectProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,12 +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 { ISelectProps } from '../../types';
9
- /**
10
- * @extends HTMLAttributes<HTMLDivElement>
11
- */
12
- export declare const Select: React.ForwardRefExoticComponent<ISelectProps & React.RefAttributes<HTMLDivElement>>;
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
+ * @extends HTMLAttributes<HTMLDivElement>
11
+ */
12
+ export declare const Select: React.ForwardRefExoticComponent<ISelectProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,22 +1,22 @@
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
- * @extends HTMLAttributes<HTMLElement>
12
- */
13
- export declare const Trigger: {
14
- ({ children, refKey, ...triggerProps }: ITriggerProps): React.JSX.Element;
15
- propTypes: {
16
- children: PropTypes.Requireable<any>;
17
- refKey: PropTypes.Requireable<string>;
18
- };
19
- defaultProps: {
20
- refKey: string;
21
- };
22
- };
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
+ * @extends HTMLAttributes<HTMLElement>
12
+ */
13
+ export declare const Trigger: {
14
+ ({ children, refKey, ...triggerProps }: ITriggerProps): React.JSX.Element;
15
+ propTypes: {
16
+ children: PropTypes.Requireable<any>;
17
+ refKey: PropTypes.Requireable<string>;
18
+ };
19
+ defaultProps: {
20
+ refKey: string;
21
+ };
22
+ };
@@ -1,31 +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';
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';
@@ -1,29 +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';
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';
@@ -1,13 +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">;
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">;
@@ -1,20 +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>;
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>;
@@ -1,17 +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 {};
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 {};
@@ -1,18 +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 {};
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 {};
@@ -1,12 +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 {};
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 {};