@ark-ui/solid 3.10.0 → 3.11.0

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.
package/dist/esm/index.js CHANGED
@@ -2727,6 +2727,7 @@ const useFileUpload = props => {
2727
2727
  dir: locale().dir,
2728
2728
  disabled: field?.().disabled,
2729
2729
  required: field?.().required,
2730
+ invalid: field?.().invalid,
2730
2731
  getRootNode: environment().getRootNode,
2731
2732
  ...props
2732
2733
  }));
@@ -2737,7 +2738,7 @@ const useFileUpload = props => {
2737
2738
  };
2738
2739
 
2739
2740
  const FileUploadRoot = props => {
2740
- const [fileUploadProps, localProps] = createSplitProps()(props, ['accept', 'allowDrop', 'capture', 'directory', 'disabled', 'id', 'ids', 'locale', 'maxFiles', 'maxFileSize', 'minFileSize', 'name', 'onFileAccept', 'onFileChange', 'onFileReject', 'required', 'translations', 'validate']);
2741
+ const [fileUploadProps, localProps] = createSplitProps()(props, ['accept', 'allowDrop', 'capture', 'directory', 'disabled', 'id', 'ids', 'invalid', 'locale', 'maxFiles', 'maxFileSize', 'minFileSize', 'name', 'onFileAccept', 'onFileChange', 'onFileReject', 'required', 'translations', 'validate']);
2741
2742
  const fileUpload = useFileUpload(fileUploadProps);
2742
2743
  const mergedProps = mergeProps$1(() => fileUpload().getRootProps(), localProps);
2743
2744
  return createComponent(FileUploadProvider, {