Socket
Socket
Sign inDemoInstall

@mui/base

Package Overview
Dependencies
Maintainers
5
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mui/base - npm Package Compare versions

Comparing version 5.0.0-alpha.77 to 5.0.0-alpha.78

0

BadgeUnstyled/badgeUnstyledClasses.d.ts

@@ -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 { OverridableComponent } from '@mui/types';

@@ -0,0 +0,0 @@ import * as React from 'react';

@@ -0,0 +0,0 @@ export interface FormControlUnstyledClasses {

@@ -0,0 +0,0 @@ import * as React from 'react';

@@ -0,0 +0,0 @@ export { default } from './FormControlUnstyled';

@@ -0,0 +0,0 @@ import * as React from 'react';

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';

2

index.js

@@ -1,2 +0,2 @@

/** @license MUI v5.0.0-alpha.77
/** @license MUI v5.0.0-alpha.78
*

@@ -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';

import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
const _excluded = ["aria-describedby", "aria-label", "aria-labelledby", "autoComplete", "autoFocus", "className", "component", "components", "componentsProps", "defaultValue", "disabled", "endAdornment", "error", "id", "maxRows", "minRows", "multiline", "name", "onClick", "onChange", "onKeyDown", "onKeyUp", "onFocus", "onBlur", "placeholder", "readOnly", "required", "rows", "type", "startAdornment", "value"];
const _excluded = ["aria-describedby", "aria-label", "aria-labelledby", "autoComplete", "autoFocus", "className", "component", "components", "componentsProps", "defaultValue", "disabled", "endAdornment", "error", "id", "maxRows", "minRows", "multiline", "name", "onClick", "onChange", "onKeyDown", "onKeyUp", "onFocus", "onBlur", "placeholder", "readOnly", "required", "rows", "type", "startAdornment", "value"],
_excluded2 = ["ownerState"];
import * as React from 'react';

@@ -119,4 +120,6 @@ import clsx from 'clsx';

const hasHostTexarea = isHostComponent((_components$Textarea = components.Textarea) != null ? _components$Textarea : 'textarea');
const hasHostTextarea = isHostComponent((_components$Textarea = components.Textarea) != null ? _components$Textarea : 'textarea');
const inputPropsWithoutOwnerState = _objectWithoutPropertiesLoose(inputProps, _excluded2);
if (rows) {

@@ -128,20 +131,10 @@ if (process.env.NODE_ENV !== 'production') {

}
inputProps = _extends({
type: undefined,
minRows: hasHostTexarea ? undefined : rows,
maxRows: hasHostTexarea ? undefined : rows
}, inputProps, hasHostTexarea && {
ownerState: undefined
});
} else {
inputProps = _extends({
type: undefined,
maxRows: hasHostTexarea ? undefined : maxRows,
minRows: hasHostTexarea ? undefined : minRows
}, inputProps, hasHostTexarea && {
ownerState: undefined
});
}
inputProps = _extends({
type: undefined
}, !hasHostTextarea && {
minRows: rows || minRows,
maxRows: rows || maxRows
}, hasHostTextarea ? inputPropsWithoutOwnerState : inputProps);
Input = (_components$Textarea2 = components.Textarea) != null ? _components$Textarea2 : 'textarea';

@@ -148,0 +141,0 @@ }

@@ -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.77
/** @license MUI v5.0.0-alpha.78
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

@@ -119,4 +119,8 @@ import _extends from "@babel/runtime/helpers/esm/extends";

var hasHostTexarea = isHostComponent((_components$Textarea = components.Textarea) != null ? _components$Textarea : 'textarea');
var hasHostTextarea = isHostComponent((_components$Textarea = components.Textarea) != null ? _components$Textarea : 'textarea');
var _inputProps = inputProps,
ownerStateInputProps = _inputProps.ownerState,
inputPropsWithoutOwnerState = _objectWithoutProperties(_inputProps, ["ownerState"]);
if (rows) {

@@ -128,20 +132,10 @@ if (process.env.NODE_ENV !== 'production') {

}
inputProps = _extends({
type: undefined,
minRows: hasHostTexarea ? undefined : rows,
maxRows: hasHostTexarea ? undefined : rows
}, inputProps, hasHostTexarea && {
ownerState: undefined
});
} else {
inputProps = _extends({
type: undefined,
maxRows: hasHostTexarea ? undefined : maxRows,
minRows: hasHostTexarea ? undefined : minRows
}, inputProps, hasHostTexarea && {
ownerState: undefined
});
}
inputProps = _extends({
type: undefined
}, !hasHostTextarea && {
minRows: rows || minRows,
maxRows: rows || maxRows
}, hasHostTextarea ? inputPropsWithoutOwnerState : inputProps);
Input = (_components$Textarea2 = components.Textarea) != null ? _components$Textarea2 : 'textarea';

@@ -148,0 +142,0 @@ }

@@ -179,2 +179,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";

/**
* Override or extend the styles applied to the component.
*/
classes: PropTypes.object,
/**
* @ignore

@@ -181,0 +186,0 @@ */

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.77
/** @license MUI v5.0.0-alpha.78
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
const _excluded = ["aria-describedby", "aria-label", "aria-labelledby", "autoComplete", "autoFocus", "className", "component", "components", "componentsProps", "defaultValue", "disabled", "endAdornment", "error", "id", "maxRows", "minRows", "multiline", "name", "onClick", "onChange", "onKeyDown", "onKeyUp", "onFocus", "onBlur", "placeholder", "readOnly", "required", "rows", "type", "startAdornment", "value"];
const _excluded = ["aria-describedby", "aria-label", "aria-labelledby", "autoComplete", "autoFocus", "className", "component", "components", "componentsProps", "defaultValue", "disabled", "endAdornment", "error", "id", "maxRows", "minRows", "multiline", "name", "onClick", "onChange", "onKeyDown", "onKeyUp", "onFocus", "onBlur", "placeholder", "readOnly", "required", "rows", "type", "startAdornment", "value"],
_excluded2 = ["ownerState"];
import * as React from 'react';

@@ -115,4 +116,6 @@ import clsx from 'clsx';

if (multiline) {
const hasHostTexarea = isHostComponent(components.Textarea ?? 'textarea');
const hasHostTextarea = isHostComponent(components.Textarea ?? 'textarea');
const inputPropsWithoutOwnerState = _objectWithoutPropertiesLoose(inputProps, _excluded2);
if (rows) {

@@ -124,20 +127,10 @@ if (process.env.NODE_ENV !== 'production') {

}
inputProps = _extends({
type: undefined,
minRows: hasHostTexarea ? undefined : rows,
maxRows: hasHostTexarea ? undefined : rows
}, inputProps, hasHostTexarea && {
ownerState: undefined
});
} else {
inputProps = _extends({
type: undefined,
maxRows: hasHostTexarea ? undefined : maxRows,
minRows: hasHostTexarea ? undefined : minRows
}, inputProps, hasHostTexarea && {
ownerState: undefined
});
}
inputProps = _extends({
type: undefined
}, !hasHostTextarea && {
minRows: rows || minRows,
maxRows: rows || maxRows
}, hasHostTextarea ? inputPropsWithoutOwnerState : inputProps);
Input = components.Textarea ?? 'textarea';

@@ -144,0 +137,0 @@ }

@@ -171,2 +171,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";

/**
* Override or extend the styles applied to the component.
*/
classes: PropTypes.object,
/**
* @ignore

@@ -173,0 +178,0 @@ */

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.77
/** @license MUI v5.0.0-alpha.78
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

@@ -30,3 +30,4 @@ "use strict";

const _excluded = ["aria-describedby", "aria-label", "aria-labelledby", "autoComplete", "autoFocus", "className", "component", "components", "componentsProps", "defaultValue", "disabled", "endAdornment", "error", "id", "maxRows", "minRows", "multiline", "name", "onClick", "onChange", "onKeyDown", "onKeyUp", "onFocus", "onBlur", "placeholder", "readOnly", "required", "rows", "type", "startAdornment", "value"];
const _excluded = ["aria-describedby", "aria-label", "aria-labelledby", "autoComplete", "autoFocus", "className", "component", "components", "componentsProps", "defaultValue", "disabled", "endAdornment", "error", "id", "maxRows", "minRows", "multiline", "name", "onClick", "onChange", "onKeyDown", "onKeyUp", "onFocus", "onBlur", "placeholder", "readOnly", "required", "rows", "type", "startAdornment", "value"],
_excluded2 = ["ownerState"];

@@ -139,3 +140,4 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

const hasHostTexarea = (0, _isHostComponent.default)((_components$Textarea = components.Textarea) != null ? _components$Textarea : 'textarea');
const hasHostTextarea = (0, _isHostComponent.default)((_components$Textarea = components.Textarea) != null ? _components$Textarea : 'textarea');
const inputPropsWithoutOwnerState = (0, _objectWithoutPropertiesLoose2.default)(inputProps, _excluded2);

@@ -148,20 +150,10 @@ if (rows) {

}
inputProps = (0, _extends2.default)({
type: undefined,
minRows: hasHostTexarea ? undefined : rows,
maxRows: hasHostTexarea ? undefined : rows
}, inputProps, hasHostTexarea && {
ownerState: undefined
});
} else {
inputProps = (0, _extends2.default)({
type: undefined,
maxRows: hasHostTexarea ? undefined : maxRows,
minRows: hasHostTexarea ? undefined : minRows
}, inputProps, hasHostTexarea && {
ownerState: undefined
});
}
inputProps = (0, _extends2.default)({
type: undefined
}, !hasHostTextarea && {
minRows: rows || minRows,
maxRows: rows || maxRows
}, hasHostTextarea ? inputPropsWithoutOwnerState : inputProps);
Input = (_components$Textarea2 = components.Textarea) != null ? _components$Textarea2 : 'textarea';

@@ -168,0 +160,0 @@ }

@@ -195,2 +195,7 @@ "use strict";

/**
* Override or extend the styles applied to the component.
*/
classes: _propTypes.default.object,
/**
* @ignore

@@ -197,0 +202,0 @@ */

@@ -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.77",
"version": "5.0.0-alpha.78",
"private": false,

@@ -5,0 +5,0 @@ "author": "MUI Team",

@@ -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" />

@@ -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';

@@ -173,2 +173,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";

/**
* Override or extend the styles applied to the component.
*/
classes: PropTypes.object,
/**
* @ignore

@@ -175,0 +180,0 @@ */

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc