Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/use-managert-for-multi-input-ran…
Browse files Browse the repository at this point in the history
…ge-picker' into use-managert-for-multi-input-range-picker
  • Loading branch information
flaviendelangle committed Jan 15, 2025
2 parents d80c40d + be00d3b commit a7654f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ This hook has been removed in favor of the new `useMultiInputRangeField` hook wi
```

:::success
The associated types have also been removed. [Learn how to migrate them](/x/migration/migration-pickers-v7/#removed-types).
The associated types have also been removed. [Learn how to migrate them](/x/migration/migration-pickers-v7/#removed-types).
:::

### `useMultiInputTimeRangeField`
Expand Down Expand Up @@ -1044,7 +1044,7 @@ This hook has been removed in favor of the new `useMultiInputRangeField` hook wi
```

:::success
The associated types have also been removed. [Learn how to migrate them](/x/migration/migration-pickers-v7/#removed-types).
The associated types have also been removed. [Learn how to migrate them](/x/migration/migration-pickers-v7/#removed-types).
:::

### `useMultiInputDateTimeRangeField`
Expand Down Expand Up @@ -1096,7 +1096,7 @@ This hook has been removed in favor of the new `useMultiInputRangeField` hook wi
```

:::success
The associated types have also been removed. [Learn how to migrate them](/x/migration/migration-pickers-v7/#removed-types).
The associated types have also been removed. [Learn how to migrate them](/x/migration/migration-pickers-v7/#removed-types).
:::

### `usePickerContext`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,5 @@ interface UseMultiInputRangeFieldReturnValue<
UseFieldResponse<PickerManagerEnableAccessibleFieldDOMStructure<TManager>, TForwardedProps>,
'clearable' | 'onClear'
>;
enableAccessibleFieldDOMStructure: PickerManagerEnableAccessibleFieldDOMStructure<TManager>;
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ export function createMultiInputRangeField<TManager extends PickerAnyRangeManage
elementType: Root,
externalSlotProps: slotProps?.root,
externalForwardedProps: otherForwardedProps,
additionalProps: {
ref,
},
additionalProps: { ref },
ownerState,
className: clsx(className, classes.root),
});
Expand Down

0 comments on commit a7654f2

Please sign in to comment.