@headless-react/select
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -6,3 +6,3 @@ import { AriaButtonProps } from '@react-types/button'; | ||
import { MultiSelectState } from './useMultiSelectState'; | ||
export interface MultiSelectProps<T> extends CollectionBase<T>, AsyncLoadable, Omit<InputBase, 'isReadOnly'>, Validation, HelpTextProps, LabelableProps, TextInputBase, Omit<MultipleSelection, 'disallowEmptySelection'>, FocusableProps { | ||
export interface MultiSelectProps<T> extends CollectionBase<T>, AsyncLoadable, Omit<InputBase, 'isReadOnly'>, Validation, HelpTextProps, LabelableProps, TextInputBase, MultipleSelection, FocusableProps { | ||
isOpen?: boolean; | ||
@@ -9,0 +9,0 @@ defaultOpen?: boolean; |
@@ -8,2 +8,3 @@ import { Key } from 'react'; | ||
suppressTextValueWarning?: boolean; | ||
disallowEmptySelection?: boolean; | ||
} | ||
@@ -10,0 +11,0 @@ export interface MultiSelectListState<T> extends ListState<T> { |
@@ -9,2 +9,3 @@ import { CollectionBase, Node, AsyncLoadable, FocusableProps, HelpTextProps, InputBase, LabelableProps, MultipleSelection, TextInputBase, Selection, Validation } from '@react-types/shared'; | ||
shouldFlip?: boolean; | ||
closeOnSelect?: boolean; | ||
} | ||
@@ -11,0 +12,0 @@ export interface MultiSelectState<T> extends ListState<T>, MenuTriggerState { |
@@ -13,2 +13,4 @@ import { ReactNode, HTMLAttributes } from 'react'; | ||
name?: string; | ||
disallowEmptySelection?: boolean; | ||
closeOnSelect?: boolean; | ||
} | ||
@@ -15,0 +17,0 @@ export interface SelectProps extends Omit<AriaSelectProps<ItemValueProps>, 'children'> { |
{ | ||
"name": "@headless-react/select", | ||
"description": "Headless React components using react-stately and react-aria", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"source": "src/index.ts", | ||
@@ -42,2 +42,3 @@ "main": "lib/index.cjs.js", | ||
"@react-aria/focus": "^3.6.1", | ||
"@react-aria/interactions": "^3.9.1", | ||
"@react-aria/listbox": "^3.5.1", | ||
@@ -47,2 +48,3 @@ "@react-aria/overlays": "^3.9.1", | ||
"@react-aria/utils": "^3.13.1", | ||
"@react-aria/visually-hidden": "^3.3.1", | ||
"@react-stately/collections": "^3.4.1", | ||
@@ -54,3 +56,3 @@ "@react-stately/select": "^3.2.1" | ||
}, | ||
"gitHead": "e9bdcbc45e269a3a21a65172bc3149cf6848470f" | ||
"gitHead": "e3bf56bf37b763bbfee9407850748c2bec1afb80" | ||
} |
@@ -14,2 +14,4 @@ import { ReactNode, HTMLAttributes } from 'react' | ||
name?: string | ||
disallowEmptySelection?: boolean | ||
closeOnSelect?: boolean | ||
} | ||
@@ -16,0 +18,0 @@ export interface SelectProps extends Omit<AriaSelectProps<ItemValueProps>, 'children'> { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
915544
33
21109
13