@zendeskgarden/react-forms 8.69.2 → 8.69.4
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.
- package/dist/index.cjs.js +59 -59
- package/dist/index.esm.js +59 -59
- package/dist/typings/elements/Checkbox.d.ts +12 -12
- package/dist/typings/elements/FileUpload.d.ts +15 -15
- package/dist/typings/elements/Input.d.ts +12 -12
- package/dist/typings/elements/MediaInput.d.ts +12 -12
- package/dist/typings/elements/MultiThumbRange.d.ts +12 -12
- package/dist/typings/elements/Radio.d.ts +12 -12
- package/dist/typings/elements/Range.d.ts +12 -12
- package/dist/typings/elements/Select.d.ts +12 -12
- package/dist/typings/elements/Textarea.d.ts +12 -12
- package/dist/typings/elements/Toggle.d.ts +12 -12
- package/dist/typings/elements/common/Field.d.ts +18 -18
- package/dist/typings/elements/common/Fieldset.d.ts +15 -15
- package/dist/typings/elements/common/Hint.d.ts +11 -11
- package/dist/typings/elements/common/Label.d.ts +12 -12
- package/dist/typings/elements/common/Legend.d.ts +11 -11
- package/dist/typings/elements/common/Message.d.ts +12 -12
- package/dist/typings/elements/faux-input/FauxInput.d.ts +27 -27
- package/dist/typings/elements/faux-input/components/EndIcon.d.ts +15 -15
- package/dist/typings/elements/faux-input/components/StartIcon.d.ts +15 -15
- package/dist/typings/elements/file-list/FileList.d.ts +14 -14
- package/dist/typings/elements/file-list/components/Close.d.ts +11 -11
- package/dist/typings/elements/file-list/components/Delete.d.ts +11 -11
- package/dist/typings/elements/file-list/components/File.d.ts +17 -17
- package/dist/typings/elements/file-list/components/Item.d.ts +11 -11
- package/dist/typings/elements/file-list/utils.d.ts +10 -10
- package/dist/typings/elements/input-group/InputGroup.d.ts +12 -12
- package/dist/typings/elements/tiles/Tiles.d.ts +21 -21
- package/dist/typings/elements/tiles/components/Description.d.ts +11 -11
- package/dist/typings/elements/tiles/components/Icon.d.ts +11 -11
- package/dist/typings/elements/tiles/components/Label.d.ts +11 -11
- package/dist/typings/elements/tiles/components/Tile.d.ts +12 -12
- package/dist/typings/index.d.ts +35 -38
- package/dist/typings/styled/checkbox/StyledCheckHint.d.ts +16 -16
- package/dist/typings/styled/checkbox/StyledCheckInput.d.ts +16 -16
- package/dist/typings/styled/checkbox/StyledCheckLabel.d.ts +17 -17
- package/dist/typings/styled/checkbox/StyledCheckMessage.d.ts +16 -16
- package/dist/typings/styled/checkbox/StyledCheckSvg.d.ts +10 -10
- package/dist/typings/styled/checkbox/StyledDashSvg.d.ts +10 -10
- package/dist/typings/styled/common/StyledField.d.ts +15 -15
- package/dist/typings/styled/common/StyledFieldset.d.ts +15 -15
- package/dist/typings/styled/common/StyledHint.d.ts +10 -10
- package/dist/typings/styled/common/StyledLabel.d.ts +17 -17
- package/dist/typings/styled/common/StyledLegend.d.ts +18 -18
- package/dist/typings/styled/common/StyledMessage.d.ts +15 -15
- package/dist/typings/styled/common/StyledMessageIcon.d.ts +17 -17
- package/dist/typings/styled/file-list/StyledFile.d.ts +18 -18
- package/dist/typings/styled/file-list/StyledFileClose.d.ts +10 -10
- package/dist/typings/styled/file-list/StyledFileDelete.d.ts +13 -13
- package/dist/typings/styled/file-list/StyledFileIcon.d.ts +11 -11
- package/dist/typings/styled/file-list/StyledFileList.d.ts +13 -13
- package/dist/typings/styled/file-list/StyledFileListItem.d.ts +10 -10
- package/dist/typings/styled/file-upload/StyledFileUpload.d.ts +16 -16
- package/dist/typings/styled/index.d.ts +87 -87
- package/dist/typings/styled/input-group/StyledInputGroup.d.ts +15 -15
- package/dist/typings/styled/radio/StyledRadioHint.d.ts +13 -13
- package/dist/typings/styled/radio/StyledRadioInput.d.ts +15 -15
- package/dist/typings/styled/radio/StyledRadioLabel.d.ts +18 -18
- package/dist/typings/styled/radio/StyledRadioMessage.d.ts +13 -13
- package/dist/typings/styled/radio/StyledRadioSvg.d.ts +10 -10
- package/dist/typings/styled/range/StyledRangeInput.d.ts +13 -13
- package/dist/typings/styled/range/StyledSlider.d.ts +10 -10
- package/dist/typings/styled/range/StyledSliderThumb.d.ts +13 -13
- package/dist/typings/styled/range/StyledSliderTrack.d.ts +14 -14
- package/dist/typings/styled/range/StyledSliderTrackRail.d.ts +11 -11
- package/dist/typings/styled/select/StyledSelect.d.ts +16 -16
- package/dist/typings/styled/select/StyledSelectWrapper.d.ts +10 -10
- package/dist/typings/styled/text/StyledTextFauxInput.d.ts +18 -18
- package/dist/typings/styled/text/StyledTextInput.d.ts +17 -17
- package/dist/typings/styled/text/StyledTextMediaFigure.d.ts +20 -20
- package/dist/typings/styled/text/StyledTextMediaInput.d.ts +11 -11
- package/dist/typings/styled/text/StyledTextarea.d.ts +16 -16
- package/dist/typings/styled/tiles/StyledTile.d.ts +14 -14
- package/dist/typings/styled/tiles/StyledTileDescription.d.ts +15 -15
- package/dist/typings/styled/tiles/StyledTileIcon.d.ts +15 -15
- package/dist/typings/styled/tiles/StyledTileInput.d.ts +7 -7
- package/dist/typings/styled/tiles/StyledTileLabel.d.ts +15 -15
- package/dist/typings/styled/toggle/StyledToggleHint.d.ts +13 -13
- package/dist/typings/styled/toggle/StyledToggleInput.d.ts +19 -19
- package/dist/typings/styled/toggle/StyledToggleLabel.d.ts +21 -21
- package/dist/typings/styled/toggle/StyledToggleMessage.d.ts +13 -13
- package/dist/typings/styled/toggle/StyledToggleSvg.d.ts +10 -10
- package/dist/typings/types/index.d.ts +147 -147
- package/dist/typings/utils/useFieldContext.d.ts +26 -26
- package/dist/typings/utils/useFieldsetContext.d.ts +16 -16
- package/dist/typings/utils/useFileContext.d.ts +13 -13
- package/dist/typings/utils/useInputContext.d.ts +14 -14
- package/dist/typings/utils/useInputGroupContext.d.ts +16 -16
- package/dist/typings/utils/useTilesContext.d.ts +10 -10
- 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 { 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>>;
|
package/dist/typings/index.d.ts
CHANGED
|
@@ -1,38 +1,35 @@
|
|
|
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
|
-
/** Common */
|
|
8
|
-
export { Field } from './elements/common/Field';
|
|
9
|
-
export
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
export {
|
|
34
|
-
|
|
35
|
-
export {
|
|
36
|
-
/** types */
|
|
37
|
-
export { VALIDATION } from './types';
|
|
38
|
-
export type { IFieldsetProps, ILabelProps, IMessageProps, ICheckboxProps, IRadioProps, IToggleProps, IInputProps, ITextareaProps, ISelectProps, IFileUploadProps, IFileProps, IRangeProps, IMultiThumbRangeProps, IInputGroupProps, ITilesProps, ITilesTileProps, IFauxInputProps, IFauxInputIconProps as IFauxInputStartIconProps, IFauxInputIconProps as IFauxInputEndIconProps, IMediaInputProps } from './types';
|
|
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
|
+
/** Common */
|
|
8
|
+
export { Field, type IFieldProps } from './elements/common/Field';
|
|
9
|
+
export { Fieldset } from './elements/common/Fieldset';
|
|
10
|
+
export { Hint } from './elements/common/Hint';
|
|
11
|
+
export { Label } from './elements/common/Label';
|
|
12
|
+
export { Message } from './elements/common/Message';
|
|
13
|
+
/** Fields */
|
|
14
|
+
export { Checkbox } from './elements/Checkbox';
|
|
15
|
+
export { Input } from './elements/Input';
|
|
16
|
+
export { Radio } from './elements/Radio';
|
|
17
|
+
export { Range } from './elements/Range';
|
|
18
|
+
export { Textarea } from './elements/Textarea';
|
|
19
|
+
export { Toggle } from './elements/Toggle';
|
|
20
|
+
export { Select } from './elements/Select';
|
|
21
|
+
export { MultiThumbRange } from './elements/MultiThumbRange';
|
|
22
|
+
/** Tiles */
|
|
23
|
+
export { Tiles } from './elements/tiles/Tiles';
|
|
24
|
+
/** Input Group */
|
|
25
|
+
export { InputGroup } from './elements/input-group/InputGroup';
|
|
26
|
+
/** File Upload */
|
|
27
|
+
export { FileUpload } from './elements/FileUpload';
|
|
28
|
+
/** File List */
|
|
29
|
+
export { FileList } from './elements/file-list/FileList';
|
|
30
|
+
export { File } from './elements/file-list/components/File';
|
|
31
|
+
/** Other */
|
|
32
|
+
export { FauxInput, type IIconProps } from './elements/faux-input/FauxInput';
|
|
33
|
+
export { MediaInput } from './elements/MediaInput';
|
|
34
|
+
/** types */
|
|
35
|
+
export { VALIDATION, type IFieldsetProps, type ILabelProps, type IMessageProps, type ICheckboxProps, type IRadioProps, type IToggleProps, type IInputProps, type ITextareaProps, type ISelectProps, type IFileUploadProps, type IFileProps, type IRangeProps, type IMultiThumbRangeProps, type IInputGroupProps, type ITilesProps, type ITilesTileProps, type IFauxInputProps, type IFauxInputIconProps as IFauxInputStartIconProps, type IFauxInputIconProps as IFauxInputEndIconProps, type IMediaInputProps } from './types';
|
|
@@ -1,16 +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
|
-
export declare const StyledCheckHint: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
-
'data-garden-id':
|
|
9
|
-
'data-garden-version':
|
|
10
|
-
} & {
|
|
11
|
-
'data-garden-id': string;
|
|
12
|
-
'data-garden-version': string;
|
|
13
|
-
} & {
|
|
14
|
-
'data-garden-id': string;
|
|
15
|
-
'data-garden-version': string;
|
|
16
|
-
}, "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
|
+
export declare const StyledCheckHint: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
+
'data-garden-id': any;
|
|
9
|
+
'data-garden-version': any;
|
|
10
|
+
} & {
|
|
11
|
+
'data-garden-id': string;
|
|
12
|
+
'data-garden-version': string;
|
|
13
|
+
} & {
|
|
14
|
+
'data-garden-id': string;
|
|
15
|
+
'data-garden-version': string;
|
|
16
|
+
}, "data-garden-id" | "data-garden-version">;
|
|
@@ -1,16 +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 declare const StyledCheckInput: import("styled-components").StyledComponent<"input", DefaultTheme, {
|
|
9
|
-
'data-garden-id': string;
|
|
10
|
-
'data-garden-version': string;
|
|
11
|
-
type: "radio";
|
|
12
|
-
} & import("../radio/StyledRadioInput").IStyledRadioInputProps & {
|
|
13
|
-
'data-garden-id': string;
|
|
14
|
-
'data-garden-version': string;
|
|
15
|
-
type: string;
|
|
16
|
-
}, "type" | "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
|
+
import { DefaultTheme } from 'styled-components';
|
|
8
|
+
export declare const StyledCheckInput: import("styled-components").StyledComponent<"input", DefaultTheme, {
|
|
9
|
+
'data-garden-id': string;
|
|
10
|
+
'data-garden-version': string;
|
|
11
|
+
type: "radio";
|
|
12
|
+
} & import("../radio/StyledRadioInput").IStyledRadioInputProps & {
|
|
13
|
+
'data-garden-id': string;
|
|
14
|
+
'data-garden-version': string;
|
|
15
|
+
type: string;
|
|
16
|
+
}, "type" | "data-garden-id" | "data-garden-version">;
|
|
@@ -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
|
-
export declare const StyledCheckLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
|
|
8
|
-
'data-garden-id':
|
|
9
|
-
'data-garden-version':
|
|
10
|
-
} & import("..").IStyledLabelProps & {
|
|
11
|
-
'data-garden-id': string;
|
|
12
|
-
'data-garden-version': string;
|
|
13
|
-
isRadio: boolean;
|
|
14
|
-
} & {
|
|
15
|
-
'data-garden-id': string;
|
|
16
|
-
'data-garden-version': string;
|
|
17
|
-
}, "data-garden-id" | "data-garden-version" | "isRadio">;
|
|
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 declare const StyledCheckLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
|
|
8
|
+
'data-garden-id': any;
|
|
9
|
+
'data-garden-version': any;
|
|
10
|
+
} & import("..").IStyledLabelProps & {
|
|
11
|
+
'data-garden-id': string;
|
|
12
|
+
'data-garden-version': string;
|
|
13
|
+
isRadio: boolean;
|
|
14
|
+
} & {
|
|
15
|
+
'data-garden-id': string;
|
|
16
|
+
'data-garden-version': string;
|
|
17
|
+
}, "data-garden-id" | "data-garden-version" | "isRadio">;
|
|
@@ -1,16 +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
|
-
export declare const StyledCheckMessage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
-
'data-garden-id':
|
|
9
|
-
'data-garden-version':
|
|
10
|
-
} & import("..").IStyledMessageProps & {
|
|
11
|
-
'data-garden-id': string;
|
|
12
|
-
'data-garden-version': string;
|
|
13
|
-
} & {
|
|
14
|
-
'data-garden-id': string;
|
|
15
|
-
'data-garden-version': string;
|
|
16
|
-
}, "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
|
+
export declare const StyledCheckMessage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
+
'data-garden-id': any;
|
|
9
|
+
'data-garden-version': any;
|
|
10
|
+
} & import("..").IStyledMessageProps & {
|
|
11
|
+
'data-garden-id': string;
|
|
12
|
+
'data-garden-version': string;
|
|
13
|
+
} & {
|
|
14
|
+
'data-garden-id': string;
|
|
15
|
+
'data-garden-version': string;
|
|
16
|
+
}, "data-garden-id" | "data-garden-version">;
|
|
@@ -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
|
-
export declare const StyledCheckSvg: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
|
|
8
|
-
'data-garden-id': string;
|
|
9
|
-
'data-garden-version': string;
|
|
10
|
-
}, string | number | symbol>;
|
|
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 declare const StyledCheckSvg: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
|
|
8
|
+
'data-garden-id': string;
|
|
9
|
+
'data-garden-version': string;
|
|
10
|
+
}, string | number | symbol>;
|
|
@@ -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
|
-
export declare const StyledDashSvg: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
|
|
8
|
-
'data-garden-id': string;
|
|
9
|
-
'data-garden-version': string;
|
|
10
|
-
}, string | number | symbol>;
|
|
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 declare const StyledDashSvg: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
|
|
8
|
+
'data-garden-id': string;
|
|
9
|
+
'data-garden-version': string;
|
|
10
|
+
}, string | number | symbol>;
|
|
@@ -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
|
-
/**
|
|
8
|
-
* 1. Set positioning context for absolute contents (Checkbox, Radio, Toggle).
|
|
9
|
-
* 2. Resets for <fieldset>.
|
|
10
|
-
* 3. Normalize block / line-height treatment for consistent height
|
|
11
|
-
*/
|
|
12
|
-
export declare const StyledField: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
13
|
-
'data-garden-id': string;
|
|
14
|
-
'data-garden-version': string;
|
|
15
|
-
}, "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
|
+
* 1. Set positioning context for absolute contents (Checkbox, Radio, Toggle).
|
|
9
|
+
* 2. Resets for <fieldset>.
|
|
10
|
+
* 3. Normalize block / line-height treatment for consistent height
|
|
11
|
+
*/
|
|
12
|
+
export declare const StyledField: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
13
|
+
'data-garden-id': string;
|
|
14
|
+
'data-garden-version': string;
|
|
15
|
+
}, "data-garden-id" | "data-garden-version">;
|
|
@@ -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
|
-
interface IStyledFieldsetProps {
|
|
8
|
-
isCompact?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const StyledFieldset: import("styled-components").StyledComponent<"fieldset", import("styled-components").DefaultTheme, {
|
|
11
|
-
as: string;
|
|
12
|
-
'data-garden-id': string;
|
|
13
|
-
'data-garden-version': string;
|
|
14
|
-
} & IStyledFieldsetProps, "as" | "data-garden-id" | "data-garden-version">;
|
|
15
|
-
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 IStyledFieldsetProps {
|
|
8
|
+
isCompact?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const StyledFieldset: import("styled-components").StyledComponent<"fieldset", import("styled-components").DefaultTheme, {
|
|
11
|
+
as: string;
|
|
12
|
+
'data-garden-id': string;
|
|
13
|
+
'data-garden-version': string;
|
|
14
|
+
} & IStyledFieldsetProps, "as" | "data-garden-id" | "data-garden-version">;
|
|
15
|
+
export {};
|
|
@@ -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
|
-
export declare const StyledHint: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
-
'data-garden-id':
|
|
9
|
-
'data-garden-version':
|
|
10
|
-
}, "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
|
+
export declare const StyledHint: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
+
'data-garden-id': any;
|
|
9
|
+
'data-garden-version': any;
|
|
10
|
+
}, "data-garden-id" | "data-garden-version">;
|
|
@@ -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
|
-
export interface IStyledLabelProps {
|
|
8
|
-
isRegular?: boolean;
|
|
9
|
-
isRadio?: boolean;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* 1. CSS Bedrock override.
|
|
13
|
-
*/
|
|
14
|
-
export declare const StyledLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
|
|
15
|
-
'data-garden-id':
|
|
16
|
-
'data-garden-version':
|
|
17
|
-
} & IStyledLabelProps, "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
|
+
export interface IStyledLabelProps {
|
|
8
|
+
isRegular?: boolean;
|
|
9
|
+
isRadio?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 1. CSS Bedrock override.
|
|
13
|
+
*/
|
|
14
|
+
export declare const StyledLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
|
|
15
|
+
'data-garden-id': any;
|
|
16
|
+
'data-garden-version': any;
|
|
17
|
+
} & IStyledLabelProps, "data-garden-id" | "data-garden-version">;
|
|
@@ -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 IStyledLegend {
|
|
8
|
-
isCompact?: boolean;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* 1. Reset for <legend>.
|
|
12
|
-
*/
|
|
13
|
-
export declare const StyledLegend: import("styled-components").StyledComponent<"legend", import("styled-components").DefaultTheme, {
|
|
14
|
-
as: string;
|
|
15
|
-
'data-garden-id': string;
|
|
16
|
-
'data-garden-version': string;
|
|
17
|
-
} & IStyledLegend, "as" | "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 IStyledLegend {
|
|
8
|
+
isCompact?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 1. Reset for <legend>.
|
|
12
|
+
*/
|
|
13
|
+
export declare const StyledLegend: import("styled-components").StyledComponent<"legend", import("styled-components").DefaultTheme, {
|
|
14
|
+
as: string;
|
|
15
|
+
'data-garden-id': string;
|
|
16
|
+
'data-garden-version': string;
|
|
17
|
+
} & IStyledLegend, "as" | "data-garden-id" | "data-garden-version">;
|
|
18
|
+
export {};
|
|
@@ -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 { DefaultTheme } from 'styled-components';
|
|
8
|
-
import { Validation } from '../../types';
|
|
9
|
-
export interface IStyledMessageProps {
|
|
10
|
-
validation?: Validation;
|
|
11
|
-
}
|
|
12
|
-
export declare const StyledMessage: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
13
|
-
'data-garden-id':
|
|
14
|
-
'data-garden-version':
|
|
15
|
-
} & IStyledMessageProps, "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
|
+
import { DefaultTheme } from 'styled-components';
|
|
8
|
+
import { Validation } from '../../types';
|
|
9
|
+
export interface IStyledMessageProps {
|
|
10
|
+
validation?: Validation;
|
|
11
|
+
}
|
|
12
|
+
export declare const StyledMessage: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
13
|
+
'data-garden-id': any;
|
|
14
|
+
'data-garden-version': any;
|
|
15
|
+
} & IStyledMessageProps, "data-garden-id" | "data-garden-version">;
|
|
@@ -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 { Validation } from '../../types';
|
|
9
|
-
interface IStyledMessageIconProps {
|
|
10
|
-
validation?: Validation;
|
|
11
|
-
}
|
|
12
|
-
export declare const StyledMessageIcon: import("styled-components").StyledComponent<React.FC<IStyledMessageIconProps>, import("styled-components").DefaultTheme, {
|
|
13
|
-
'data-garden-id': string;
|
|
14
|
-
'data-garden-version': string;
|
|
15
|
-
'aria-hidden': null;
|
|
16
|
-
} & IStyledMessageIconProps, "aria-hidden" | "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 React from 'react';
|
|
8
|
+
import { Validation } from '../../types';
|
|
9
|
+
interface IStyledMessageIconProps {
|
|
10
|
+
validation?: Validation;
|
|
11
|
+
}
|
|
12
|
+
export declare const StyledMessageIcon: import("styled-components").StyledComponent<React.FC<IStyledMessageIconProps>, import("styled-components").DefaultTheme, {
|
|
13
|
+
'data-garden-id': string;
|
|
14
|
+
'data-garden-version': string;
|
|
15
|
+
'aria-hidden': null;
|
|
16
|
+
} & IStyledMessageIconProps, "aria-hidden" | "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
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
|
-
import { FileValidation } from '../../types';
|
|
9
|
-
interface IStyledFileProps {
|
|
10
|
-
isCompact?: boolean;
|
|
11
|
-
focusInset?: boolean;
|
|
12
|
-
validation?: FileValidation;
|
|
13
|
-
}
|
|
14
|
-
export declare const StyledFile: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
15
|
-
'data-garden-id': string;
|
|
16
|
-
'data-garden-version': string;
|
|
17
|
-
} & IStyledFileProps, "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
|
+
import { DefaultTheme } from 'styled-components';
|
|
8
|
+
import { FileValidation } from '../../types';
|
|
9
|
+
interface IStyledFileProps {
|
|
10
|
+
isCompact?: boolean;
|
|
11
|
+
focusInset?: boolean;
|
|
12
|
+
validation?: FileValidation;
|
|
13
|
+
}
|
|
14
|
+
export declare const StyledFile: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
15
|
+
'data-garden-id': string;
|
|
16
|
+
'data-garden-version': string;
|
|
17
|
+
} & IStyledFileProps, "data-garden-id" | "data-garden-version">;
|
|
18
|
+
export {};
|
|
@@ -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
|
-
export declare const StyledFileClose: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
8
|
-
'data-garden-id': string;
|
|
9
|
-
'data-garden-version': string;
|
|
10
|
-
}, "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
|
+
export declare const StyledFileClose: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
8
|
+
'data-garden-id': string;
|
|
9
|
+
'data-garden-version': string;
|
|
10
|
+
}, "data-garden-id" | "data-garden-version">;
|
|
@@ -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
|
-
export declare const StyledFileDelete: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
8
|
-
'data-garden-id': string;
|
|
9
|
-
'data-garden-version': string;
|
|
10
|
-
} & {
|
|
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
|
+
export declare const StyledFileDelete: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
8
|
+
'data-garden-id': string;
|
|
9
|
+
'data-garden-version': string;
|
|
10
|
+
} & {
|
|
11
|
+
'data-garden-id': string;
|
|
12
|
+
'data-garden-version': string;
|
|
13
|
+
}, "data-garden-id" | "data-garden-version">;
|
|
@@ -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
|
-
export declare const StyledFileIcon: import("styled-components").StyledComponent<({ children, isCompact, theme, ...props }: any) => React.DetailedReactHTMLElement<any, HTMLElement>, import("styled-components").DefaultTheme, {
|
|
9
|
-
'data-garden-id': string;
|
|
10
|
-
'data-garden-version': string;
|
|
11
|
-
}, "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
|
+
import React from 'react';
|
|
8
|
+
export declare const StyledFileIcon: import("styled-components").StyledComponent<({ children, isCompact, theme, ...props }: any) => React.DetailedReactHTMLElement<any, HTMLElement>, import("styled-components").DefaultTheme, {
|
|
9
|
+
'data-garden-id': string;
|
|
10
|
+
'data-garden-version': string;
|
|
11
|
+
}, "data-garden-id" | "data-garden-version">;
|