@mui/base
Advanced tools
Comparing version 5.0.0-alpha.72 to 5.0.0-alpha.73
@@ -0,0 +0,0 @@ export interface BackdropUnstyledClasses { |
@@ -12,7 +12,8 @@ import { OverridableComponent, OverridableTypeMap } from '@mui/types'; | ||
* | ||
* - [Badges](https://mui.com/components/badges/) | ||
* - [Badge](https://mui.com/base/react-badge/) | ||
* - [Badges](https://mui.com/material-ui/react-badge/) | ||
* | ||
* API: | ||
* | ||
* - [BadgeUnstyled API](https://mui.com/api/badge-unstyled/) | ||
* - [BadgeUnstyled API](https://mui.com/base/api/badge-unstyled/) | ||
*/ | ||
@@ -19,0 +20,0 @@ declare const BadgeUnstyled: OverridableComponent<BadgeUnstyledTypeMap>; |
@@ -0,0 +0,0 @@ export interface BadgeUnstyledClasses { |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ export interface ButtonUnstyledClasses { |
@@ -0,0 +0,0 @@ export { default } from './ButtonUnstyled'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ declare const ClassNameGenerator: { |
export { default as unstable_ClassNameGenerator } from './ClassNameGenerator'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
export { default } from './ClickAwayListener'; | ||
export * from './ClickAwayListener'; |
export default function composeClasses<ClassKey extends string>(slots: Record<ClassKey, ReadonlyArray<string | false | undefined | null>>, getUtilityClass: (slot: string) => string, classes: Record<string, string> | undefined): Record<ClassKey, string>; |
export { default } from './composeClasses'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ import { OverridableComponent } from '@mui/types'; |
@@ -0,0 +0,0 @@ export interface FormControlUnstyledClasses { |
@@ -0,0 +0,0 @@ import { OverrideProps } from '@mui/types'; |
@@ -0,0 +0,0 @@ export { default } from './FormControlUnstyled'; |
export default function useFormControlUnstyled(): import("./FormControlContext").FormControlUnstyledState | undefined; |
export declare type GlobalStateSlot = 'active' | 'checked' | 'completed' | 'disabled' | 'error' | 'expanded' | 'focused' | 'focusVisible' | 'required' | 'selected'; | ||
export default function generateUtilityClass(componentName: string, slot: string): string; |
export { default } from './generateUtilityClass'; | ||
export * from './generateUtilityClass'; |
export default function generateUtilityClasses<T extends string>(componentName: string, slots: T[]): Record<T, string>; |
export { default } from './generateUtilityClasses'; |
@@ -1,2 +0,2 @@ | ||
/** @license MUI v5.0.0-alpha.72 | ||
/** @license MUI v5.0.0-alpha.73 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -0,0 +0,0 @@ export { default } from './InputUnstyled'; |
@@ -0,0 +0,0 @@ import { OverridableComponent } from '@mui/types'; |
@@ -0,0 +0,0 @@ export interface InputUnstyledClasses { |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -1,2 +0,2 @@ | ||
/** @license MUI v5.0.0-alpha.72 | ||
/** @license MUI v5.0.0-alpha.73 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -539,3 +539,7 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
var handleTouchStart = useEventCallback(function (nativeEvent) { | ||
// If touch-action: none; is not supported we need to prevent the scroll manually. | ||
if (disabled) { | ||
return; | ||
} // If touch-action: none; is not supported we need to prevent the scroll manually. | ||
if (!doesSupportTouchActionNone()) { | ||
@@ -611,2 +615,6 @@ nativeEvent.preventDefault(); | ||
if (disabled) { | ||
return; | ||
} | ||
if (event.defaultPrevented) { | ||
@@ -613,0 +621,0 @@ return; |
import { ListboxState, ListboxAction } from './useListbox.types'; | ||
export default function defaultListboxReducer<TOption>(state: Readonly<ListboxState<TOption>>, action: ListboxAction<TOption>): Readonly<ListboxState<TOption>>; |
export { default as useListbox } from './useListbox'; | ||
export { default as defaultListboxReducer } from './defaultListboxReducer'; | ||
export * from './useListbox.types'; |
import { ListboxAction, ListboxReducer, ListboxState, UseListboxStrictProps } from './useListbox.types'; | ||
export default function useControllableReducer<TOption>(internalReducer: ListboxReducer<TOption>, externalReducer: ListboxReducer<TOption> | undefined, props: UseListboxStrictProps<TOption>): [ListboxState<TOption>, (action: ListboxAction<TOption>) => void]; |
@@ -0,0 +0,0 @@ import { UseListboxParameters, OptionState, UseListboxOptionSlotProps, UseListboxRootSlotProps } from './useListbox.types'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ export { default } from './MenuItemUnstyled'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ export interface MenuItemUnstyledClasses { |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ /// <reference types="react" /> |
@@ -0,0 +0,0 @@ export { default } from './MenuUnstyled'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ export interface MenuUnstyledClasses { |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ export interface ManagedModalProps { |
@@ -0,0 +0,0 @@ export interface ModalUnstyledClasses { |
@@ -1,2 +0,2 @@ | ||
/** @license MUI v5.0.0-alpha.72 | ||
/** @license MUI v5.0.0-alpha.73 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -476,3 +476,7 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
const handleTouchStart = useEventCallback(nativeEvent => { | ||
// If touch-action: none; is not supported we need to prevent the scroll manually. | ||
if (disabled) { | ||
return; | ||
} // If touch-action: none; is not supported we need to prevent the scroll manually. | ||
if (!doesSupportTouchActionNone()) { | ||
@@ -547,2 +551,6 @@ nativeEvent.preventDefault(); | ||
if (disabled) { | ||
return; | ||
} | ||
if (event.defaultPrevented) { | ||
@@ -549,0 +557,0 @@ return; |
export { default } from './MultiSelectUnstyled'; | ||
export * from './MultiSelectUnstyled.types'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -1,2 +0,2 @@ | ||
/** @license MUI v5.0.0-alpha.72 | ||
/** @license MUI v5.0.0-alpha.73 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -511,3 +511,7 @@ "use strict"; | ||
const handleTouchStart = (0, _utils.unstable_useEventCallback)(nativeEvent => { | ||
// If touch-action: none; is not supported we need to prevent the scroll manually. | ||
if (disabled) { | ||
return; | ||
} // If touch-action: none; is not supported we need to prevent the scroll manually. | ||
if (!doesSupportTouchActionNone()) { | ||
@@ -584,2 +588,6 @@ nativeEvent.preventDefault(); | ||
if (disabled) { | ||
return; | ||
} | ||
if (event.defaultPrevented) { | ||
@@ -586,0 +594,0 @@ return; |
@@ -0,0 +0,0 @@ export { default } from './OptionGroupUnstyled'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ export interface OptionGroupUnstyledClasses { |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ export { default } from './OptionUnstyled'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ export interface OptionUnstyledClasses { |
@@ -0,0 +0,0 @@ import React from 'react'; |
{ | ||
"name": "@mui/base", | ||
"version": "5.0.0-alpha.72", | ||
"version": "5.0.0-alpha.73", | ||
"private": false, | ||
@@ -43,3 +43,3 @@ "author": "MUI Team", | ||
"@mui/utils": "^5.4.4", | ||
"@popperjs/core": "^2.11.3", | ||
"@popperjs/core": "^2.11.4", | ||
"clsx": "^1.1.1", | ||
@@ -46,0 +46,0 @@ "prop-types": "^15.7.2", |
@@ -0,0 +0,0 @@ export { default } from './SelectUnstyled'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ export interface SelectUnstyledClasses { |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ import { UseSelectMultiParameters, UseSelectMultiResult, UseSelectSingleParameters, UseSelectSingleResult } from './useSelect.types'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ export interface SliderUnstyledClasses { |
@@ -0,0 +0,0 @@ /// <reference types="react" /> |
@@ -490,3 +490,7 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
const handleTouchStart = useEventCallback(nativeEvent => { | ||
// If touch-action: none; is not supported we need to prevent the scroll manually. | ||
if (disabled) { | ||
return; | ||
} // If touch-action: none; is not supported we need to prevent the scroll manually. | ||
if (!doesSupportTouchActionNone()) { | ||
@@ -563,2 +567,6 @@ nativeEvent.preventDefault(); | ||
if (disabled) { | ||
return; | ||
} | ||
if (event.defaultPrevented) { | ||
@@ -565,0 +573,0 @@ return; |
@@ -0,0 +0,0 @@ export { default } from './SwitchUnstyled'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ export interface SwitchUnstyledClasses { |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ export { default } from './TablePaginationUnstyled'; |
@@ -0,0 +0,0 @@ import { OverridableComponent } from '@mui/types'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ import { OverridableComponent } from '@mui/types'; |
@@ -0,0 +0,0 @@ export interface TablePaginationUnstyledClasses { |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ export { default } from './TabPanelUnstyled'; |
@@ -0,0 +0,0 @@ import { OverridableComponent } from '@mui/types'; |
@@ -0,0 +0,0 @@ export interface TabPanelUnstyledClasses { |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ export interface UseTabPanelProps { |
@@ -0,0 +0,0 @@ export { default } from './TabsListUnstyled'; |
@@ -0,0 +0,0 @@ import { OverridableComponent } from '@mui/types'; |
@@ -0,0 +0,0 @@ export interface TabsListUnstyledClasses { |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ export { default } from './TabsUnstyled'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ import { OverridableComponent } from '@mui/types'; |
@@ -0,0 +0,0 @@ export interface TabsUnstyledClasses { |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ export { default } from './TabUnstyled'; |
@@ -0,0 +0,0 @@ import { OverridableComponent } from '@mui/types'; |
@@ -0,0 +0,0 @@ export interface TabUnstyledClasses { |
@@ -0,0 +0,0 @@ /// <reference types="react" /> |
@@ -0,0 +0,0 @@ /// <reference types="react" /> |
@@ -0,0 +0,0 @@ /// <reference types="react" /> |
declare type ItemComparer<T> = (a: T, b: T) => boolean; | ||
export default function areArraysEqual<T>(array1: T[], array2: T[], itemComparer?: ItemComparer<T>): boolean; | ||
export {}; |
@@ -0,0 +0,0 @@ import { EventHandlers } from './types'; |
@@ -0,0 +0,0 @@ export { default as appendOwnerState } from './appendOwnerState'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ /// <reference types="react" /> |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
41517
188
2052349
Updated@popperjs/core@^2.11.4