@react-types/checkbox 3.7.1 → 3.8.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 +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/checkbox",
3
- "version": "3.7.1",
3
+ "version": "3.8.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.22.1"
12
+ "@react-types/shared": "^3.23.1"
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": "de9f84a22583fc741c29b341d14cd35ef4cca161"
20
+ "gitHead": "b77d7d594dff4dcfb5359bffbcfd18142b146433"
21
21
  }
package/src/index.d.ts CHANGED
@@ -82,7 +82,13 @@ export interface SpectrumCheckboxProps extends AriaCheckboxProps, StyleProps {
82
82
  /**
83
83
  * This prop sets the emphasized style which provides visual prominence.
84
84
  */
85
- isEmphasized?: boolean
85
+ isEmphasized?: boolean,
86
+ /**
87
+ * A slot name for the component. Slots allow the component to receive props from a parent component.
88
+ * An explicit `null` value indicates that the local props completely override all props received from a parent.
89
+ * @private
90
+ */
91
+ slot?: string | null
86
92
  }
87
93
 
88
94
  export interface SpectrumCheckboxGroupProps extends AriaCheckboxGroupProps, SpectrumLabelableProps, Validation<string[]>, StyleProps, SpectrumHelpTextProps {