@zendeskgarden/react-forms 8.62.2 → 8.63.1
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 +96 -173
- package/dist/index.esm.js +96 -173
- package/dist/typings/elements/FileUpload.d.ts +3 -0
- package/dist/typings/elements/file-list/components/Close.d.ts +2 -2
- package/dist/typings/elements/file-list/components/Delete.d.ts +2 -2
- package/dist/typings/styled/file-list/StyledFileClose.d.ts +1 -1
- package/dist/typings/styled/file-list/StyledFileDelete.d.ts +1 -1
- package/dist/typings/types/index.d.ts +3 -3
- package/dist/typings/utils/useInputContext.d.ts +1 -1
- package/package.json +4 -4
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
8
|
/**
|
|
9
|
-
* @extends
|
|
9
|
+
* @extends ButtonHTMLAttributes<HTMLButtonElement>
|
|
10
10
|
*/
|
|
11
|
-
export declare const Close: React.ForwardRefExoticComponent<React.
|
|
11
|
+
export declare const Close: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
8
|
/**
|
|
9
|
-
* @extends
|
|
9
|
+
* @extends ButtonHTMLAttributes<HTMLButtonElement>
|
|
10
10
|
*/
|
|
11
|
-
export declare const Delete: React.ForwardRefExoticComponent<React.
|
|
11
|
+
export declare const Delete: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -4,7 +4,7 @@
|
|
|
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
|
-
export declare const StyledFileClose: import("styled-components").StyledComponent<"
|
|
7
|
+
export declare const StyledFileClose: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
8
8
|
'data-garden-id': string;
|
|
9
9
|
'data-garden-version': string;
|
|
10
10
|
}, "data-garden-id" | "data-garden-version">;
|
|
@@ -4,7 +4,7 @@
|
|
|
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
|
-
export declare const StyledFileDelete: import("styled-components").StyledComponent<"
|
|
7
|
+
export declare const StyledFileDelete: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
8
8
|
'data-garden-id': string;
|
|
9
9
|
'data-garden-version': string;
|
|
10
10
|
} & {
|
|
@@ -8,9 +8,9 @@ import { FieldsetHTMLAttributes, HTMLAttributes, InputHTMLAttributes, LabelHTMLA
|
|
|
8
8
|
export declare const VALIDATION: readonly ["success", "warning", "error"];
|
|
9
9
|
export declare const FILE_VALIDATION: readonly ["success", "error"];
|
|
10
10
|
export declare const FILE_TYPE: readonly ["pdf", "zip", "image", "document", "spreadsheet", "presentation", "generic"];
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
11
|
+
export type Validation = (typeof VALIDATION)[number];
|
|
12
|
+
export type FileValidation = (typeof FILE_VALIDATION)[number];
|
|
13
|
+
export type FileType = (typeof FILE_TYPE)[number];
|
|
14
14
|
export interface IFieldsetProps extends FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
15
15
|
/** Applies compact styling */
|
|
16
16
|
isCompact?: boolean;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
/// <reference types="react" />
|
|
8
|
-
|
|
8
|
+
type INPUT_CONTEXT_VALUE = 'checkbox' | 'radio' | 'toggle' | undefined;
|
|
9
9
|
export declare const InputContext: import("react").Context<INPUT_CONTEXT_VALUE>;
|
|
10
10
|
/**
|
|
11
11
|
* Retrieve input component context
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-forms",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.63.1",
|
|
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>",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@zendeskgarden/container-field": "^2.1.0",
|
|
25
25
|
"@zendeskgarden/container-slider": "^0.1.1",
|
|
26
|
-
"@zendeskgarden/container-utilities": "^0.
|
|
26
|
+
"@zendeskgarden/container-utilities": "^1.0.0",
|
|
27
27
|
"lodash.debounce": "^4.0.8",
|
|
28
28
|
"polished": "^4.0.0",
|
|
29
29
|
"prop-types": "^15.5.7",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/lodash.debounce": "4.0.7",
|
|
40
|
-
"@zendeskgarden/react-theming": "^8.
|
|
40
|
+
"@zendeskgarden/react-theming": "^8.63.1",
|
|
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": "1c1d67d2b98ee0539975cee53f457081e5ae479a"
|
|
55
55
|
}
|