@zendeskgarden/react-forms 9.0.0-next.3 → 9.0.0-next.5

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.
@@ -5,7 +5,15 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import React from 'react';
8
+ import { Hint } from './Hint';
9
+ import { Message } from './Message';
10
+ import { Label } from './Label';
11
+ export declare const FieldComponent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
8
12
  /**
9
13
  * @extends HTMLAttributes<HTMLDivElement>
10
14
  */
11
- export declare const Field: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
15
+ export declare const Field: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>> & {
16
+ Hint: typeof Hint;
17
+ Label: typeof Label;
18
+ Message: typeof Message;
19
+ };
@@ -6,6 +6,8 @@
6
6
  */
7
7
  import React from 'react';
8
8
  /**
9
+ * @deprecated use `Field.Hint` instead
10
+ *
9
11
  * @extends HTMLAttributes<HTMLDivElement>
10
12
  */
11
13
  export declare const Hint: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
@@ -7,6 +7,8 @@
7
7
  import React from 'react';
8
8
  import { ILabelProps } from '../../types';
9
9
  /**
10
+ * @deprecated use `Field.Label` instead
11
+ *
10
12
  * @extends LabelHTMLAttributes<HTMLLabelElement>
11
13
  */
12
14
  export declare const Label: React.ForwardRefExoticComponent<ILabelProps & React.RefAttributes<HTMLLabelElement>>;
@@ -7,6 +7,8 @@
7
7
  import React from 'react';
8
8
  import { IMessageProps } from '../../types';
9
9
  /**
10
+ * @deprecated use `Field.Message` instead
11
+ *
10
12
  * @extends HTMLAttributes<HTMLDivElement>
11
13
  */
12
14
  export declare const Message: React.ForwardRefExoticComponent<IMessageProps & React.RefAttributes<HTMLDivElement>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zendeskgarden/react-forms",
3
- "version": "9.0.0-next.3",
3
+ "version": "9.0.0-next.5",
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>",
@@ -32,11 +32,11 @@
32
32
  "@zendeskgarden/react-theming": "^8.67.0",
33
33
  "react": ">=16.8.0",
34
34
  "react-dom": ">=16.8.0",
35
- "styled-components": "^5.1.0"
35
+ "styled-components": "^5.3.1"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/lodash.debounce": "4.0.9",
39
- "@zendeskgarden/react-theming": "^9.0.0-next.3",
39
+ "@zendeskgarden/react-theming": "^9.0.0-next.5",
40
40
  "@zendeskgarden/svg-icons": "7.0.0",
41
41
  "react-dropzone": "14.2.3"
42
42
  },
@@ -50,5 +50,5 @@
50
50
  "access": "public"
51
51
  },
52
52
  "zendeskgarden:src": "src/index.ts",
53
- "gitHead": "d5086e8a3ae0c8608361966954bf434ef03005ec"
53
+ "gitHead": "806fa33feb06142c3f69b6a87b53628469117e4d"
54
54
  }