@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.
- package/dist/index.cjs.js +56 -56
- package/dist/index.esm.js +56 -56
- 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 +38 -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,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 StyledFileListItem: import("styled-components").StyledComponent<"li", 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 StyledFileListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {
|
|
8
|
+
'data-garden-id': string;
|
|
9
|
+
'data-garden-version': string;
|
|
10
|
+
}, "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
|
-
interface IStyledFileUploadProps {
|
|
9
|
-
isDragging?: boolean;
|
|
10
|
-
isCompact?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const StyledFileUpload: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
13
|
-
'data-garden-id': string;
|
|
14
|
-
'data-garden-version': string;
|
|
15
|
-
} & IStyledFileUploadProps, "data-garden-id" | "data-garden-version">;
|
|
16
|
-
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 IStyledFileUploadProps {
|
|
9
|
+
isDragging?: boolean;
|
|
10
|
+
isCompact?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const StyledFileUpload: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
13
|
+
'data-garden-id': string;
|
|
14
|
+
'data-garden-version': string;
|
|
15
|
+
} & IStyledFileUploadProps, "data-garden-id" | "data-garden-version">;
|
|
16
|
+
export {};
|
|
@@ -1,87 +1,87 @@
|
|
|
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
|
-
* Common styles
|
|
9
|
-
*/
|
|
10
|
-
export * from './common/StyledField';
|
|
11
|
-
export * from './common/StyledFieldset';
|
|
12
|
-
export * from './common/StyledLegend';
|
|
13
|
-
export * from './common/StyledHint';
|
|
14
|
-
export * from './common/StyledLabel';
|
|
15
|
-
export * from './common/StyledMessage';
|
|
16
|
-
export * from './common/StyledMessageIcon';
|
|
17
|
-
/**
|
|
18
|
-
* Text styles
|
|
19
|
-
*/
|
|
20
|
-
export * from './text/StyledTextInput';
|
|
21
|
-
export * from './text/StyledTextarea';
|
|
22
|
-
export * from './text/StyledTextFauxInput';
|
|
23
|
-
export * from './text/StyledTextMediaInput';
|
|
24
|
-
export * from './text/StyledTextMediaFigure';
|
|
25
|
-
/**
|
|
26
|
-
* InputGroup styles
|
|
27
|
-
*/
|
|
28
|
-
export * from './input-group/StyledInputGroup';
|
|
29
|
-
/**
|
|
30
|
-
* Checkbox styles
|
|
31
|
-
*/
|
|
32
|
-
export * from './checkbox/StyledCheckLabel';
|
|
33
|
-
export * from './checkbox/StyledCheckHint';
|
|
34
|
-
export * from './checkbox/StyledCheckInput';
|
|
35
|
-
export * from './checkbox/StyledCheckMessage';
|
|
36
|
-
export * from './checkbox/StyledCheckSvg';
|
|
37
|
-
export * from './checkbox/StyledDashSvg';
|
|
38
|
-
/**
|
|
39
|
-
* FileUpload styles
|
|
40
|
-
*/
|
|
41
|
-
export * from './file-upload/StyledFileUpload';
|
|
42
|
-
/**
|
|
43
|
-
* FileList styles
|
|
44
|
-
*/
|
|
45
|
-
export * from './file-list/StyledFile';
|
|
46
|
-
export * from './file-list/StyledFileClose';
|
|
47
|
-
export * from './file-list/StyledFileDelete';
|
|
48
|
-
export * from './file-list/StyledFileIcon';
|
|
49
|
-
export * from './file-list/StyledFileList';
|
|
50
|
-
export * from './file-list/StyledFileListItem';
|
|
51
|
-
/**
|
|
52
|
-
* Radio styles
|
|
53
|
-
*/
|
|
54
|
-
export * from './radio/StyledRadioLabel';
|
|
55
|
-
export * from './radio/StyledRadioHint';
|
|
56
|
-
export * from './radio/StyledRadioInput';
|
|
57
|
-
export * from './radio/StyledRadioMessage';
|
|
58
|
-
export * from './radio/StyledRadioSvg';
|
|
59
|
-
/**
|
|
60
|
-
* Toggle styles
|
|
61
|
-
*/
|
|
62
|
-
export * from './toggle/StyledToggleLabel';
|
|
63
|
-
export * from './toggle/StyledToggleHint';
|
|
64
|
-
export * from './toggle/StyledToggleInput';
|
|
65
|
-
export * from './toggle/StyledToggleMessage';
|
|
66
|
-
export * from './toggle/StyledToggleSvg';
|
|
67
|
-
/**
|
|
68
|
-
* Select styles
|
|
69
|
-
*/
|
|
70
|
-
export * from './select/StyledSelect';
|
|
71
|
-
export * from './select/StyledSelectWrapper';
|
|
72
|
-
/**
|
|
73
|
-
* Range styles
|
|
74
|
-
*/
|
|
75
|
-
export * from './range/StyledRangeInput';
|
|
76
|
-
export * from './range/StyledSlider';
|
|
77
|
-
export * from './range/StyledSliderThumb';
|
|
78
|
-
export * from './range/StyledSliderTrack';
|
|
79
|
-
export * from './range/StyledSliderTrackRail';
|
|
80
|
-
/**
|
|
81
|
-
* Tile styles
|
|
82
|
-
*/
|
|
83
|
-
export * from './tiles/StyledTile';
|
|
84
|
-
export * from './tiles/StyledTileDescription';
|
|
85
|
-
export * from './tiles/StyledTileIcon';
|
|
86
|
-
export * from './tiles/StyledTileInput';
|
|
87
|
-
export * from './tiles/StyledTileLabel';
|
|
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
|
+
* Common styles
|
|
9
|
+
*/
|
|
10
|
+
export * from './common/StyledField';
|
|
11
|
+
export * from './common/StyledFieldset';
|
|
12
|
+
export * from './common/StyledLegend';
|
|
13
|
+
export * from './common/StyledHint';
|
|
14
|
+
export * from './common/StyledLabel';
|
|
15
|
+
export * from './common/StyledMessage';
|
|
16
|
+
export * from './common/StyledMessageIcon';
|
|
17
|
+
/**
|
|
18
|
+
* Text styles
|
|
19
|
+
*/
|
|
20
|
+
export * from './text/StyledTextInput';
|
|
21
|
+
export * from './text/StyledTextarea';
|
|
22
|
+
export * from './text/StyledTextFauxInput';
|
|
23
|
+
export * from './text/StyledTextMediaInput';
|
|
24
|
+
export * from './text/StyledTextMediaFigure';
|
|
25
|
+
/**
|
|
26
|
+
* InputGroup styles
|
|
27
|
+
*/
|
|
28
|
+
export * from './input-group/StyledInputGroup';
|
|
29
|
+
/**
|
|
30
|
+
* Checkbox styles
|
|
31
|
+
*/
|
|
32
|
+
export * from './checkbox/StyledCheckLabel';
|
|
33
|
+
export * from './checkbox/StyledCheckHint';
|
|
34
|
+
export * from './checkbox/StyledCheckInput';
|
|
35
|
+
export * from './checkbox/StyledCheckMessage';
|
|
36
|
+
export * from './checkbox/StyledCheckSvg';
|
|
37
|
+
export * from './checkbox/StyledDashSvg';
|
|
38
|
+
/**
|
|
39
|
+
* FileUpload styles
|
|
40
|
+
*/
|
|
41
|
+
export * from './file-upload/StyledFileUpload';
|
|
42
|
+
/**
|
|
43
|
+
* FileList styles
|
|
44
|
+
*/
|
|
45
|
+
export * from './file-list/StyledFile';
|
|
46
|
+
export * from './file-list/StyledFileClose';
|
|
47
|
+
export * from './file-list/StyledFileDelete';
|
|
48
|
+
export * from './file-list/StyledFileIcon';
|
|
49
|
+
export * from './file-list/StyledFileList';
|
|
50
|
+
export * from './file-list/StyledFileListItem';
|
|
51
|
+
/**
|
|
52
|
+
* Radio styles
|
|
53
|
+
*/
|
|
54
|
+
export * from './radio/StyledRadioLabel';
|
|
55
|
+
export * from './radio/StyledRadioHint';
|
|
56
|
+
export * from './radio/StyledRadioInput';
|
|
57
|
+
export * from './radio/StyledRadioMessage';
|
|
58
|
+
export * from './radio/StyledRadioSvg';
|
|
59
|
+
/**
|
|
60
|
+
* Toggle styles
|
|
61
|
+
*/
|
|
62
|
+
export * from './toggle/StyledToggleLabel';
|
|
63
|
+
export * from './toggle/StyledToggleHint';
|
|
64
|
+
export * from './toggle/StyledToggleInput';
|
|
65
|
+
export * from './toggle/StyledToggleMessage';
|
|
66
|
+
export * from './toggle/StyledToggleSvg';
|
|
67
|
+
/**
|
|
68
|
+
* Select styles
|
|
69
|
+
*/
|
|
70
|
+
export * from './select/StyledSelect';
|
|
71
|
+
export * from './select/StyledSelectWrapper';
|
|
72
|
+
/**
|
|
73
|
+
* Range styles
|
|
74
|
+
*/
|
|
75
|
+
export * from './range/StyledRangeInput';
|
|
76
|
+
export * from './range/StyledSlider';
|
|
77
|
+
export * from './range/StyledSliderThumb';
|
|
78
|
+
export * from './range/StyledSliderTrack';
|
|
79
|
+
export * from './range/StyledSliderTrackRail';
|
|
80
|
+
/**
|
|
81
|
+
* Tile styles
|
|
82
|
+
*/
|
|
83
|
+
export * from './tiles/StyledTile';
|
|
84
|
+
export * from './tiles/StyledTileDescription';
|
|
85
|
+
export * from './tiles/StyledTileIcon';
|
|
86
|
+
export * from './tiles/StyledTileInput';
|
|
87
|
+
export * from './tiles/StyledTileLabel';
|
|
@@ -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
|
-
interface IStyledInputGroupProps {
|
|
9
|
-
isCompact?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const StyledInputGroup: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
12
|
-
'data-garden-id': string;
|
|
13
|
-
'data-garden-version': string;
|
|
14
|
-
} & IStyledInputGroupProps, "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
|
+
import { DefaultTheme } from 'styled-components';
|
|
8
|
+
interface IStyledInputGroupProps {
|
|
9
|
+
isCompact?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const StyledInputGroup: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
12
|
+
'data-garden-id': string;
|
|
13
|
+
'data-garden-version': string;
|
|
14
|
+
} & IStyledInputGroupProps, "data-garden-id" | "data-garden-version">;
|
|
15
|
+
export {};
|
|
@@ -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 StyledRadioHint: 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
|
-
}, "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 StyledRadioHint: 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
|
+
}, "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
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
|
-
export interface IStyledRadioInputProps {
|
|
9
|
-
isCompact?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const StyledRadioInput: import("styled-components").StyledComponent<"input", DefaultTheme, {
|
|
12
|
-
'data-garden-id': string;
|
|
13
|
-
'data-garden-version': string;
|
|
14
|
-
type: "radio";
|
|
15
|
-
} & IStyledRadioInputProps, "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 interface IStyledRadioInputProps {
|
|
9
|
+
isCompact?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const StyledRadioInput: import("styled-components").StyledComponent<"input", DefaultTheme, {
|
|
12
|
+
'data-garden-id': string;
|
|
13
|
+
'data-garden-version': string;
|
|
14
|
+
type: "radio";
|
|
15
|
+
} & IStyledRadioInputProps, "type" | "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
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
|
-
/**
|
|
9
|
-
* 1. Vertical alignment.
|
|
10
|
-
*/
|
|
11
|
-
export declare const StyledRadioLabel: import("styled-components").StyledComponent<"label", DefaultTheme, {
|
|
12
|
-
'data-garden-id':
|
|
13
|
-
'data-garden-version':
|
|
14
|
-
} & import("../common/StyledLabel").IStyledLabelProps & {
|
|
15
|
-
'data-garden-id': string;
|
|
16
|
-
'data-garden-version': string;
|
|
17
|
-
isRadio: boolean;
|
|
18
|
-
}, "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
|
+
import { DefaultTheme } from 'styled-components';
|
|
8
|
+
/**
|
|
9
|
+
* 1. Vertical alignment.
|
|
10
|
+
*/
|
|
11
|
+
export declare const StyledRadioLabel: import("styled-components").StyledComponent<"label", DefaultTheme, {
|
|
12
|
+
'data-garden-id': any;
|
|
13
|
+
'data-garden-version': any;
|
|
14
|
+
} & import("../common/StyledLabel").IStyledLabelProps & {
|
|
15
|
+
'data-garden-id': string;
|
|
16
|
+
'data-garden-version': string;
|
|
17
|
+
isRadio: boolean;
|
|
18
|
+
}, "data-garden-id" | "data-garden-version" | "isRadio">;
|
|
@@ -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 StyledRadioMessage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
-
'data-garden-id':
|
|
9
|
-
'data-garden-version':
|
|
10
|
-
} & import("../common/StyledMessage").IStyledMessageProps & {
|
|
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 StyledRadioMessage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
+
'data-garden-id': any;
|
|
9
|
+
'data-garden-version': any;
|
|
10
|
+
} & import("../common/StyledMessage").IStyledMessageProps & {
|
|
11
|
+
'data-garden-id': string;
|
|
12
|
+
'data-garden-version': string;
|
|
13
|
+
}, "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 StyledRadioSvg: 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 StyledRadioSvg: 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,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
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
|
-
interface IStyledRangeInputProps {
|
|
9
|
-
backgroundSize?: number | string;
|
|
10
|
-
hasLowerTrack?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const StyledRangeInput: import("styled-components").StyledComponent<"input", DefaultTheme, IStyledRangeInputProps, never>;
|
|
13
|
-
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 IStyledRangeInputProps {
|
|
9
|
+
backgroundSize?: number | string;
|
|
10
|
+
hasLowerTrack?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const StyledRangeInput: import("styled-components").StyledComponent<"input", DefaultTheme, IStyledRangeInputProps, never>;
|
|
13
|
+
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 StyledSlider: import("styled-components").StyledComponent<"div", 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 StyledSlider: import("styled-components").StyledComponent<"div", 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
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
|
-
interface IStyledSliderThumbProps {
|
|
9
|
-
position?: number;
|
|
10
|
-
isDisabled?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const StyledSliderThumb: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledSliderThumbProps, never>;
|
|
13
|
-
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 IStyledSliderThumbProps {
|
|
9
|
+
position?: number;
|
|
10
|
+
isDisabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const StyledSliderThumb: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledSliderThumbProps, never>;
|
|
13
|
+
export {};
|
|
@@ -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 { DefaultTheme } from 'styled-components';
|
|
8
|
-
interface IStyledSliderTrackProps {
|
|
9
|
-
backgroundSize?: number;
|
|
10
|
-
backgroundPosition?: number;
|
|
11
|
-
isDisabled?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const StyledSliderTrack: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledSliderTrackProps, never>;
|
|
14
|
-
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 IStyledSliderTrackProps {
|
|
9
|
+
backgroundSize?: number;
|
|
10
|
+
backgroundPosition?: number;
|
|
11
|
+
isDisabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const StyledSliderTrack: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledSliderTrackProps, never>;
|
|
14
|
+
export {};
|
|
@@ -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 { DefaultTheme } from 'styled-components';
|
|
8
|
-
export declare const StyledSliderTrackRail: import("styled-components").StyledComponent<"div", 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 { DefaultTheme } from 'styled-components';
|
|
8
|
+
export declare const StyledSliderTrackRail: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
9
|
+
'data-garden-id': string;
|
|
10
|
+
'data-garden-version': string;
|
|
11
|
+
}, "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
|
-
import { IStyledTextInputProps } from '../text/StyledTextInput';
|
|
9
|
-
/**
|
|
10
|
-
* 1. Select reset.
|
|
11
|
-
*/
|
|
12
|
-
export declare const StyledSelect: import("styled-components").StyledComponent<"input", DefaultTheme, IStyledTextInputProps & {
|
|
13
|
-
'data-garden-id': string;
|
|
14
|
-
'data-garden-version': string;
|
|
15
|
-
as: string;
|
|
16
|
-
}, "data-garden-id" | "data-garden-version" | "as">;
|
|
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 { IStyledTextInputProps } from '../text/StyledTextInput';
|
|
9
|
+
/**
|
|
10
|
+
* 1. Select reset.
|
|
11
|
+
*/
|
|
12
|
+
export declare const StyledSelect: import("styled-components").StyledComponent<"input", DefaultTheme, IStyledTextInputProps & {
|
|
13
|
+
'data-garden-id': string;
|
|
14
|
+
'data-garden-version': string;
|
|
15
|
+
as: string;
|
|
16
|
+
}, "data-garden-id" | "data-garden-version" | "as">;
|
|
@@ -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 StyledSelectWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../text/StyledTextFauxInput").IStyledTextFauxInputProps & {
|
|
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 StyledSelectWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../text/StyledTextFauxInput").IStyledTextFauxInputProps & {
|
|
8
|
+
'data-garden-id': string;
|
|
9
|
+
'data-garden-version': string;
|
|
10
|
+
}, "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
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
|
-
import { IStyledTextInputProps } from './StyledTextInput';
|
|
9
|
-
export interface IStyledTextFauxInputProps extends IStyledTextInputProps {
|
|
10
|
-
mediaLayout?: boolean;
|
|
11
|
-
isDisabled?: boolean;
|
|
12
|
-
isReadOnly?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare function getValidationHue(validation?: IStyledTextFauxInputProps['validation'], defaultHue?: string): string;
|
|
15
|
-
/**
|
|
16
|
-
* [1] removes inner input styles when focused
|
|
17
|
-
*/
|
|
18
|
-
export declare const StyledTextFauxInput: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledTextFauxInputProps, 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 { DefaultTheme } from 'styled-components';
|
|
8
|
+
import { IStyledTextInputProps } from './StyledTextInput';
|
|
9
|
+
export interface IStyledTextFauxInputProps extends IStyledTextInputProps {
|
|
10
|
+
mediaLayout?: boolean;
|
|
11
|
+
isDisabled?: boolean;
|
|
12
|
+
isReadOnly?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare function getValidationHue(validation?: IStyledTextFauxInputProps['validation'], defaultHue?: string): string;
|
|
15
|
+
/**
|
|
16
|
+
* [1] removes inner input styles when focused
|
|
17
|
+
*/
|
|
18
|
+
export declare const StyledTextFauxInput: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledTextFauxInputProps, never>;
|