@solid-aria/types
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -5,2 +5,12 @@ import { MaybeAccessor } from '@solid-primitives/utils'; | ||
declare type ItemKey = string | number; | ||
interface AsyncLoadable { | ||
/** | ||
* Whether the items are currently loading. | ||
*/ | ||
isLoading?: MaybeAccessor<boolean | undefined>; | ||
/** | ||
* Handler that is called when more items should be loaded, e.g. while scrolling near the bottom. | ||
*/ | ||
onLoadMore?: () => any; | ||
} | ||
interface Expandable { | ||
@@ -201,3 +211,3 @@ /** | ||
*/ | ||
autoFocus?: boolean; | ||
autofocus?: boolean; | ||
} | ||
@@ -257,2 +267,18 @@ interface FocusableDOMProps extends DOMProps { | ||
} | ||
interface TextInputBase { | ||
/** | ||
* Temporary text that occupies the text input when it is empty. | ||
*/ | ||
placeholder?: string; | ||
} | ||
interface HelpTextProps { | ||
/** | ||
* A description for the field. Provides a hint such as specific requirements for what to choose. | ||
*/ | ||
description?: JSX.Element; | ||
/** | ||
* An error message for the field. | ||
*/ | ||
errorMessage?: JSX.Element; | ||
} | ||
@@ -331,2 +357,2 @@ /** | ||
export { AriaLabelingProps, AriaValidationProps, DOMElements, DOMProps, Direction, DisabledBehavior, ElementType, Expandable, ExtendedProps, FocusEvents, FocusStrategy, FocusWithinEvents, FocusableDOMProps, FocusableProps, HoverEvent, HoverEvents, HoverPointerType, InputBase, ItemKey, KeyboardDelegate, KeyboardEvents, LabelableProps, LongPressEvent, MultipleSelection, Orientation, PointerType, PolymorphicComponentProps, PressEvent, PressEvents, SelectionBehavior, SelectionMode, SelectionType, SingleSelection, Validation, ValidationState, ValueBase }; | ||
export { AriaLabelingProps, AriaValidationProps, AsyncLoadable, DOMElements, DOMProps, Direction, DisabledBehavior, ElementType, Expandable, ExtendedProps, FocusEvents, FocusStrategy, FocusWithinEvents, FocusableDOMProps, FocusableProps, HelpTextProps, HoverEvent, HoverEvents, HoverPointerType, InputBase, ItemKey, KeyboardDelegate, KeyboardEvents, LabelableProps, LongPressEvent, MultipleSelection, Orientation, PointerType, PolymorphicComponentProps, PressEvent, PressEvents, SelectionBehavior, SelectionMode, SelectionType, SingleSelection, TextInputBase, Validation, ValidationState, ValueBase }; |
{ | ||
"name": "@solid-aria/types", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"private": false, | ||
@@ -36,2 +36,5 @@ "description": "A collection of type definitions, for building Solid Aria primitives.", | ||
}, | ||
"devDependencies": { | ||
"solid-js": "^1.4.4" | ||
}, | ||
"peerDependencies": { | ||
@@ -38,0 +41,0 @@ "solid-js": "^1.4.4" |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16963
362
0
1