@react-types/checkbox 3.3.3 → 3.4.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/index.d.ts +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/checkbox",
3
- "version": "3.3.3",
3
+ "version": "3.4.1",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "types": "src/index.d.ts",
@@ -9,7 +9,7 @@
9
9
  "url": "https://github.com/adobe/react-spectrum"
10
10
  },
11
11
  "dependencies": {
12
- "@react-types/shared": "^3.14.1"
12
+ "@react-types/shared": "^3.16.0"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
@@ -17,5 +17,5 @@
17
17
  "publishConfig": {
18
18
  "access": "public"
19
19
  },
20
- "gitHead": "b03ef51e6317547dd0a840f151e59d039b1e1fd3"
20
+ "gitHead": "2954307ddbefe149241685440c81f80ece6b2c83"
21
21
  }
package/src/index.d.ts CHANGED
@@ -16,9 +16,11 @@ import {
16
16
  DOMProps,
17
17
  FocusableDOMProps,
18
18
  FocusableProps,
19
+ HelpTextProps,
19
20
  InputBase,
20
21
  LabelableProps,
21
22
  Orientation,
23
+ SpectrumHelpTextProps,
22
24
  SpectrumLabelableProps,
23
25
  StyleProps,
24
26
  Validation,
@@ -60,7 +62,7 @@ export interface AriaToggleProps extends ToggleProps, FocusableDOMProps, AriaLab
60
62
  'aria-controls'?: string
61
63
  }
62
64
 
63
- export interface CheckboxGroupProps extends ValueBase<string[]>, InputBase, LabelableProps {}
65
+ export interface CheckboxGroupProps extends ValueBase<string[]>, InputBase, LabelableProps, HelpTextProps, Validation {}
64
66
 
65
67
  export interface CheckboxProps extends ToggleProps {
66
68
  /**
@@ -90,7 +92,7 @@ export interface SpectrumCheckboxProps extends AriaCheckboxProps, StyleProps {
90
92
  isEmphasized?: boolean
91
93
  }
92
94
 
93
- export interface SpectrumCheckboxGroupProps extends AriaCheckboxGroupProps, SpectrumLabelableProps, Validation, StyleProps {
95
+ export interface SpectrumCheckboxGroupProps extends AriaCheckboxGroupProps, SpectrumLabelableProps, Validation, StyleProps, SpectrumHelpTextProps {
94
96
  /**
95
97
  * The Checkboxes contained within the CheckboxGroup.
96
98
  */