@zendeskgarden/react-forms 8.67.0 → 8.69.0
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 +151 -100
- package/dist/index.esm.js +153 -102
- package/dist/typings/elements/faux-input/components/EndIcon.d.ts +2 -1
- package/dist/typings/elements/faux-input/components/StartIcon.d.ts +2 -1
- package/dist/typings/styled/select/StyledSelectWrapper.d.ts +1 -2
- package/dist/typings/styled/text/StyledTextFauxInput.d.ts +6 -1
- package/package.json +4 -4
|
@@ -4,11 +4,12 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
+
import React from 'react';
|
|
7
8
|
import { IFauxInputIconProps } from '../../../types';
|
|
8
9
|
/**
|
|
9
10
|
* @extends SVGAttributes<SVGElement>
|
|
10
11
|
*/
|
|
11
12
|
export declare const EndIcon: {
|
|
12
|
-
(props: IFauxInputIconProps): JSX.Element;
|
|
13
|
+
(props: IFauxInputIconProps): React.JSX.Element;
|
|
13
14
|
displayName: string;
|
|
14
15
|
};
|
|
@@ -4,11 +4,12 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
+
import React from 'react';
|
|
7
8
|
import { IFauxInputIconProps } from '../../../types';
|
|
8
9
|
/**
|
|
9
10
|
* @extends SVGAttributes<SVGElement>
|
|
10
11
|
*/
|
|
11
12
|
export declare const StartIcon: {
|
|
12
|
-
(props: IFauxInputIconProps): JSX.Element;
|
|
13
|
+
(props: IFauxInputIconProps): React.JSX.Element;
|
|
13
14
|
displayName: string;
|
|
14
15
|
};
|
|
@@ -7,5 +7,4 @@
|
|
|
7
7
|
export declare const StyledSelectWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../text/StyledTextFauxInput").IStyledTextFauxInputProps & {
|
|
8
8
|
'data-garden-id': string;
|
|
9
9
|
'data-garden-version': string;
|
|
10
|
-
|
|
11
|
-
}, "data-garden-id" | "data-garden-version" | "isBare">;
|
|
10
|
+
}, "data-garden-id" | "data-garden-version">;
|
|
@@ -4,10 +4,15 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
+
import { DefaultTheme } from 'styled-components';
|
|
7
8
|
import { IStyledTextInputProps } from './StyledTextInput';
|
|
8
9
|
export interface IStyledTextFauxInputProps extends IStyledTextInputProps {
|
|
9
10
|
mediaLayout?: boolean;
|
|
10
11
|
isDisabled?: boolean;
|
|
11
12
|
isReadOnly?: boolean;
|
|
12
13
|
}
|
|
13
|
-
export declare
|
|
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>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-forms",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.69.0",
|
|
4
4
|
"description": "Components relating to form elements in the Garden Design System",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"react-merge-refs": "^1.1.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@zendeskgarden/react-theming": "^8.
|
|
33
|
+
"@zendeskgarden/react-theming": "^8.67.0",
|
|
34
34
|
"react": ">=16.8.0",
|
|
35
35
|
"react-dom": ">=16.8.0",
|
|
36
36
|
"styled-components": "^4.2.0 || ^5.0.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/lodash.debounce": "4.0.7",
|
|
40
|
-
"@zendeskgarden/react-theming": "^8.
|
|
40
|
+
"@zendeskgarden/react-theming": "^8.69.0",
|
|
41
41
|
"@zendeskgarden/svg-icons": "6.33.0",
|
|
42
42
|
"react-dropzone": "14.2.3"
|
|
43
43
|
},
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
53
|
"zendeskgarden:src": "src/index.ts",
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "0af9ddcc0516d455cd359ae4229c7121edf23060"
|
|
55
55
|
}
|