@zendeskgarden/react-forms 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 (91) hide show
  1. package/dist/index.cjs.js +56 -56
  2. package/dist/index.esm.js +56 -56
  3. package/dist/typings/elements/Checkbox.d.ts +12 -12
  4. package/dist/typings/elements/FileUpload.d.ts +15 -15
  5. package/dist/typings/elements/Input.d.ts +12 -12
  6. package/dist/typings/elements/MediaInput.d.ts +12 -12
  7. package/dist/typings/elements/MultiThumbRange.d.ts +12 -12
  8. package/dist/typings/elements/Radio.d.ts +12 -12
  9. package/dist/typings/elements/Range.d.ts +12 -12
  10. package/dist/typings/elements/Select.d.ts +12 -12
  11. package/dist/typings/elements/Textarea.d.ts +12 -12
  12. package/dist/typings/elements/Toggle.d.ts +12 -12
  13. package/dist/typings/elements/common/Field.d.ts +18 -18
  14. package/dist/typings/elements/common/Fieldset.d.ts +15 -15
  15. package/dist/typings/elements/common/Hint.d.ts +11 -11
  16. package/dist/typings/elements/common/Label.d.ts +12 -12
  17. package/dist/typings/elements/common/Legend.d.ts +11 -11
  18. package/dist/typings/elements/common/Message.d.ts +12 -12
  19. package/dist/typings/elements/faux-input/FauxInput.d.ts +27 -27
  20. package/dist/typings/elements/faux-input/components/EndIcon.d.ts +15 -15
  21. package/dist/typings/elements/faux-input/components/StartIcon.d.ts +15 -15
  22. package/dist/typings/elements/file-list/FileList.d.ts +14 -14
  23. package/dist/typings/elements/file-list/components/Close.d.ts +11 -11
  24. package/dist/typings/elements/file-list/components/Delete.d.ts +11 -11
  25. package/dist/typings/elements/file-list/components/File.d.ts +17 -17
  26. package/dist/typings/elements/file-list/components/Item.d.ts +11 -11
  27. package/dist/typings/elements/file-list/utils.d.ts +10 -10
  28. package/dist/typings/elements/input-group/InputGroup.d.ts +12 -12
  29. package/dist/typings/elements/tiles/Tiles.d.ts +21 -21
  30. package/dist/typings/elements/tiles/components/Description.d.ts +11 -11
  31. package/dist/typings/elements/tiles/components/Icon.d.ts +11 -11
  32. package/dist/typings/elements/tiles/components/Label.d.ts +11 -11
  33. package/dist/typings/elements/tiles/components/Tile.d.ts +12 -12
  34. package/dist/typings/index.d.ts +38 -38
  35. package/dist/typings/styled/checkbox/StyledCheckHint.d.ts +16 -16
  36. package/dist/typings/styled/checkbox/StyledCheckInput.d.ts +16 -16
  37. package/dist/typings/styled/checkbox/StyledCheckLabel.d.ts +17 -17
  38. package/dist/typings/styled/checkbox/StyledCheckMessage.d.ts +16 -16
  39. package/dist/typings/styled/checkbox/StyledCheckSvg.d.ts +10 -10
  40. package/dist/typings/styled/checkbox/StyledDashSvg.d.ts +10 -10
  41. package/dist/typings/styled/common/StyledField.d.ts +15 -15
  42. package/dist/typings/styled/common/StyledFieldset.d.ts +15 -15
  43. package/dist/typings/styled/common/StyledHint.d.ts +10 -10
  44. package/dist/typings/styled/common/StyledLabel.d.ts +17 -17
  45. package/dist/typings/styled/common/StyledLegend.d.ts +18 -18
  46. package/dist/typings/styled/common/StyledMessage.d.ts +15 -15
  47. package/dist/typings/styled/common/StyledMessageIcon.d.ts +17 -17
  48. package/dist/typings/styled/file-list/StyledFile.d.ts +18 -18
  49. package/dist/typings/styled/file-list/StyledFileClose.d.ts +10 -10
  50. package/dist/typings/styled/file-list/StyledFileDelete.d.ts +13 -13
  51. package/dist/typings/styled/file-list/StyledFileIcon.d.ts +11 -11
  52. package/dist/typings/styled/file-list/StyledFileList.d.ts +13 -13
  53. package/dist/typings/styled/file-list/StyledFileListItem.d.ts +10 -10
  54. package/dist/typings/styled/file-upload/StyledFileUpload.d.ts +16 -16
  55. package/dist/typings/styled/index.d.ts +87 -87
  56. package/dist/typings/styled/input-group/StyledInputGroup.d.ts +15 -15
  57. package/dist/typings/styled/radio/StyledRadioHint.d.ts +13 -13
  58. package/dist/typings/styled/radio/StyledRadioInput.d.ts +15 -15
  59. package/dist/typings/styled/radio/StyledRadioLabel.d.ts +18 -18
  60. package/dist/typings/styled/radio/StyledRadioMessage.d.ts +13 -13
  61. package/dist/typings/styled/radio/StyledRadioSvg.d.ts +10 -10
  62. package/dist/typings/styled/range/StyledRangeInput.d.ts +13 -13
  63. package/dist/typings/styled/range/StyledSlider.d.ts +10 -10
  64. package/dist/typings/styled/range/StyledSliderThumb.d.ts +13 -13
  65. package/dist/typings/styled/range/StyledSliderTrack.d.ts +14 -14
  66. package/dist/typings/styled/range/StyledSliderTrackRail.d.ts +11 -11
  67. package/dist/typings/styled/select/StyledSelect.d.ts +16 -16
  68. package/dist/typings/styled/select/StyledSelectWrapper.d.ts +10 -10
  69. package/dist/typings/styled/text/StyledTextFauxInput.d.ts +18 -18
  70. package/dist/typings/styled/text/StyledTextInput.d.ts +17 -17
  71. package/dist/typings/styled/text/StyledTextMediaFigure.d.ts +20 -20
  72. package/dist/typings/styled/text/StyledTextMediaInput.d.ts +11 -11
  73. package/dist/typings/styled/text/StyledTextarea.d.ts +16 -16
  74. package/dist/typings/styled/tiles/StyledTile.d.ts +14 -14
  75. package/dist/typings/styled/tiles/StyledTileDescription.d.ts +15 -15
  76. package/dist/typings/styled/tiles/StyledTileIcon.d.ts +15 -15
  77. package/dist/typings/styled/tiles/StyledTileInput.d.ts +7 -7
  78. package/dist/typings/styled/tiles/StyledTileLabel.d.ts +15 -15
  79. package/dist/typings/styled/toggle/StyledToggleHint.d.ts +13 -13
  80. package/dist/typings/styled/toggle/StyledToggleInput.d.ts +19 -19
  81. package/dist/typings/styled/toggle/StyledToggleLabel.d.ts +21 -21
  82. package/dist/typings/styled/toggle/StyledToggleMessage.d.ts +13 -13
  83. package/dist/typings/styled/toggle/StyledToggleSvg.d.ts +10 -10
  84. package/dist/typings/types/index.d.ts +147 -147
  85. package/dist/typings/utils/useFieldContext.d.ts +26 -26
  86. package/dist/typings/utils/useFieldsetContext.d.ts +16 -16
  87. package/dist/typings/utils/useFileContext.d.ts +13 -13
  88. package/dist/typings/utils/useInputContext.d.ts +14 -14
  89. package/dist/typings/utils/useInputGroupContext.d.ts +16 -16
  90. package/dist/typings/utils/useTilesContext.d.ts +10 -10
  91. package/package.json +3 -3
@@ -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 { IToggleProps } from '../types';
9
- /**
10
- * @extends InputHTMLAttributes<HTMLInputElement>
11
- */
12
- export declare const Toggle: React.ForwardRefExoticComponent<IToggleProps & React.RefAttributes<HTMLInputElement>>;
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 { IToggleProps } from '../types';
9
+ /**
10
+ * @extends InputHTMLAttributes<HTMLInputElement>
11
+ */
12
+ export declare const Toggle: React.ForwardRefExoticComponent<IToggleProps & React.RefAttributes<HTMLInputElement>>;
@@ -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
- import React, { HTMLAttributes } from 'react';
8
- /**
9
- * @deprecated
10
- */
11
- export interface IFieldProps extends HTMLAttributes<HTMLDivElement> {
12
- /** Sets the field ID and the prefix for the generated label, input, and hint IDs */
13
- id?: string;
14
- }
15
- /**
16
- * @extends HTMLAttributes<HTMLDivElement>
17
- */
18
- export declare const Field: 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, { HTMLAttributes } from 'react';
8
+ /**
9
+ * @deprecated
10
+ */
11
+ export interface IFieldProps extends HTMLAttributes<HTMLDivElement> {
12
+ /** Sets the field ID and the prefix for the generated label, input, and hint IDs */
13
+ id?: string;
14
+ }
15
+ /**
16
+ * @extends HTMLAttributes<HTMLDivElement>
17
+ */
18
+ export declare const Field: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
@@ -1,15 +1,15 @@
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 { Legend } from './Legend';
9
- import { IFieldsetProps } from '../../types';
10
- /**
11
- * @extends FieldsetHTMLAttributes<HTMLFieldSetElement>
12
- */
13
- export declare const Fieldset: React.ForwardRefExoticComponent<IFieldsetProps & React.RefAttributes<HTMLFieldSetElement>> & {
14
- Legend: typeof Legend;
15
- };
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 { Legend } from './Legend';
9
+ import { IFieldsetProps } from '../../types';
10
+ /**
11
+ * @extends FieldsetHTMLAttributes<HTMLFieldSetElement>
12
+ */
13
+ export declare const Fieldset: React.ForwardRefExoticComponent<IFieldsetProps & React.RefAttributes<HTMLFieldSetElement>> & {
14
+ Legend: typeof Legend;
15
+ };
@@ -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 Hint: 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 Hint: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & 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 { ILabelProps } from '../../types';
9
- /**
10
- * @extends LabelHTMLAttributes<HTMLLabelElement>
11
- */
12
- export declare const Label: React.ForwardRefExoticComponent<ILabelProps & React.RefAttributes<HTMLLabelElement>>;
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 '../../types';
9
+ /**
10
+ * @extends LabelHTMLAttributes<HTMLLabelElement>
11
+ */
12
+ export declare const Label: React.ForwardRefExoticComponent<ILabelProps & React.RefAttributes<HTMLLabelElement>>;
@@ -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<HTMLLegendElement>
10
- */
11
- export declare const Legend: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLLegendElement> & React.RefAttributes<HTMLLegendElement>>;
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<HTMLLegendElement>
10
+ */
11
+ export declare const Legend: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLLegendElement> & React.RefAttributes<HTMLLegendElement>>;
@@ -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 { IMessageProps } from '../../types';
9
- /**
10
- * @extends HTMLAttributes<HTMLDivElement>
11
- */
12
- export declare const Message: React.ForwardRefExoticComponent<IMessageProps & 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 { IMessageProps } from '../../types';
9
+ /**
10
+ * @extends HTMLAttributes<HTMLDivElement>
11
+ */
12
+ export declare const Message: React.ForwardRefExoticComponent<IMessageProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,27 +1,27 @@
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
- import { IFauxInputProps } from '../../types';
9
- import { StartIcon } from './components/StartIcon';
10
- import { EndIcon } from './components/EndIcon';
11
- /**
12
- * @deprecated use IFauxInputStartIconProps or IFauxInputEndIconProps instead
13
- */
14
- export interface IIconProps extends HTMLAttributes<HTMLElement> {
15
- isHovered?: boolean;
16
- isFocused: boolean;
17
- isDisabled: boolean;
18
- isRotated: boolean;
19
- children: any;
20
- }
21
- /**
22
- * @extends HTMLAttributes<HTMLDivElement>
23
- */
24
- export declare const FauxInput: React.ForwardRefExoticComponent<IFauxInputProps & React.RefAttributes<HTMLDivElement>> & {
25
- EndIcon: typeof EndIcon;
26
- StartIcon: typeof StartIcon;
27
- };
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
+ import { IFauxInputProps } from '../../types';
9
+ import { StartIcon } from './components/StartIcon';
10
+ import { EndIcon } from './components/EndIcon';
11
+ /**
12
+ * @deprecated use IFauxInputStartIconProps or IFauxInputEndIconProps instead
13
+ */
14
+ export interface IIconProps extends HTMLAttributes<HTMLElement> {
15
+ isHovered?: boolean;
16
+ isFocused: boolean;
17
+ isDisabled: boolean;
18
+ isRotated: boolean;
19
+ children: any;
20
+ }
21
+ /**
22
+ * @extends HTMLAttributes<HTMLDivElement>
23
+ */
24
+ export declare const FauxInput: React.ForwardRefExoticComponent<IFauxInputProps & React.RefAttributes<HTMLDivElement>> & {
25
+ EndIcon: typeof EndIcon;
26
+ StartIcon: typeof StartIcon;
27
+ };
@@ -1,15 +1,15 @@
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 { IFauxInputIconProps } from '../../../types';
9
- /**
10
- * @extends SVGAttributes<SVGElement>
11
- */
12
- export declare const EndIcon: {
13
- (props: IFauxInputIconProps): React.JSX.Element;
14
- displayName: string;
15
- };
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 { IFauxInputIconProps } from '../../../types';
9
+ /**
10
+ * @extends SVGAttributes<SVGElement>
11
+ */
12
+ export declare const EndIcon: {
13
+ (props: IFauxInputIconProps): React.JSX.Element;
14
+ displayName: string;
15
+ };
@@ -1,15 +1,15 @@
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 { IFauxInputIconProps } from '../../../types';
9
- /**
10
- * @extends SVGAttributes<SVGElement>
11
- */
12
- export declare const StartIcon: {
13
- (props: IFauxInputIconProps): React.JSX.Element;
14
- displayName: string;
15
- };
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 { IFauxInputIconProps } from '../../../types';
9
+ /**
10
+ * @extends SVGAttributes<SVGElement>
11
+ */
12
+ export declare const StartIcon: {
13
+ (props: IFauxInputIconProps): React.JSX.Element;
14
+ displayName: string;
15
+ };
@@ -1,14 +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 { Item } from './components/Item';
9
- /**
10
- * @extends HTMLAttributes<HTMLUListElement>
11
- */
12
- export declare const FileList: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLUListElement> & React.RefAttributes<HTMLUListElement>> & {
13
- Item: typeof Item;
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 { Item } from './components/Item';
9
+ /**
10
+ * @extends HTMLAttributes<HTMLUListElement>
11
+ */
12
+ export declare const FileList: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLUListElement> & React.RefAttributes<HTMLUListElement>> & {
13
+ Item: typeof Item;
14
+ };
@@ -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 ButtonHTMLAttributes<HTMLButtonElement>
10
- */
11
- export declare const Close: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
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 ButtonHTMLAttributes<HTMLButtonElement>
10
+ */
11
+ export declare const Close: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
@@ -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 ButtonHTMLAttributes<HTMLButtonElement>
10
- */
11
- export declare const Delete: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
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 ButtonHTMLAttributes<HTMLButtonElement>
10
+ */
11
+ export declare const Delete: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
@@ -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 React from 'react';
8
- import { IFileProps } from '../../../types';
9
- import { Close } from './Close';
10
- import { Delete } from './Delete';
11
- /**
12
- * @extends HTMLAttributes<HTMLDivElement>
13
- */
14
- export declare const File: React.ForwardRefExoticComponent<IFileProps & React.RefAttributes<HTMLDivElement>> & {
15
- Close: typeof Close;
16
- Delete: typeof Delete;
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 React from 'react';
8
+ import { IFileProps } from '../../../types';
9
+ import { Close } from './Close';
10
+ import { Delete } from './Delete';
11
+ /**
12
+ * @extends HTMLAttributes<HTMLDivElement>
13
+ */
14
+ export declare const File: React.ForwardRefExoticComponent<IFileProps & React.RefAttributes<HTMLDivElement>> & {
15
+ Close: typeof Close;
16
+ Delete: typeof Delete;
17
+ };
@@ -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 Item: React.ForwardRefExoticComponent<React.LiHTMLAttributes<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 Item: React.ForwardRefExoticComponent<React.LiHTMLAttributes<HTMLLIElement> & React.RefAttributes<HTMLLIElement>>;
@@ -1,10 +1,10 @@
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 { FileType, FileValidation } from '../../types';
9
- export declare const fileIconsDefault: Record<FileType | FileValidation, React.ReactNode>;
10
- export declare const fileIconsCompact: Record<FileType | FileValidation, React.ReactNode>;
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 { FileType, FileValidation } from '../../types';
9
+ export declare const fileIconsDefault: Record<FileType | FileValidation, React.ReactNode>;
10
+ export declare const fileIconsCompact: Record<FileType | FileValidation, React.ReactNode>;
@@ -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 { IInputGroupProps } from '../../types';
9
- /**
10
- * @extends HTMLAttributes<HTMLDivElement>
11
- */
12
- export declare const InputGroup: React.ForwardRefExoticComponent<IInputGroupProps & 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 { IInputGroupProps } from '../../types';
9
+ /**
10
+ * @extends HTMLAttributes<HTMLDivElement>
11
+ */
12
+ export declare const InputGroup: React.ForwardRefExoticComponent<IInputGroupProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,21 +1,21 @@
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 { ITilesProps } from '../../types';
9
- import { Tile } from './components/Tile';
10
- import { Description } from './components/Description';
11
- import { Icon } from './components/Icon';
12
- import { Label } from './components/Label';
13
- /**
14
- * @extends HTMLAttributes<HTMLDivElement>
15
- */
16
- export declare const Tiles: React.ForwardRefExoticComponent<ITilesProps & React.RefAttributes<HTMLDivElement>> & {
17
- Description: typeof Description;
18
- Icon: typeof Icon;
19
- Label: typeof Label;
20
- Tile: typeof Tile;
21
- };
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 { ITilesProps } from '../../types';
9
+ import { Tile } from './components/Tile';
10
+ import { Description } from './components/Description';
11
+ import { Icon } from './components/Icon';
12
+ import { Label } from './components/Label';
13
+ /**
14
+ * @extends HTMLAttributes<HTMLDivElement>
15
+ */
16
+ export declare const Tiles: React.ForwardRefExoticComponent<ITilesProps & React.RefAttributes<HTMLDivElement>> & {
17
+ Description: typeof Description;
18
+ Icon: typeof Icon;
19
+ Label: typeof Label;
20
+ Tile: typeof Tile;
21
+ };
@@ -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 Description: 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 Description: 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<HTMLSpanElement>
10
- */
11
- export declare const Icon: 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 Icon: 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<HTMLSpanElement>
10
- */
11
- export declare const Label: 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 Label: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
@@ -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 { ITilesTileProps } from '../../../types';
9
- /**
10
- * @extends HTMLAttributes<HTMLLabelElement>
11
- */
12
- export declare const Tile: React.ForwardRefExoticComponent<ITilesTileProps & React.RefAttributes<HTMLLabelElement>>;
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 { ITilesTileProps } from '../../../types';
9
+ /**
10
+ * @extends HTMLAttributes<HTMLLabelElement>
11
+ */
12
+ export declare const Tile: React.ForwardRefExoticComponent<ITilesTileProps & React.RefAttributes<HTMLLabelElement>>;