@auth0/quantum-product 1.9.0 → 1.10.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/accordion/accordion.d.ts +20 -2
- package/alert/alert.d.ts +1 -1
- package/app-bar/app-bar-button/app-bar-button.d.ts +0 -4
- package/app-bar/app-bar-button/app-bar-button.js +3 -3
- package/app-bar/app-bar-icon-button/app-bar-icon-button.d.ts +0 -5
- package/app-bar/app-bar-icon-button/app-bar-icon-button.js +4 -4
- package/app-layout/app-layout-classes.d.ts +1 -1
- package/autocomplete/autocomplete-overrides.js +1 -1
- package/avatar/avatar.d.ts +1 -1
- package/avatar-block/avatar-block-classes.d.ts +1 -1
- package/avatar-block/avatar-block.d.ts +2 -2
- package/banner/banner.d.ts +0 -1
- package/banner/banner.js +3 -3
- package/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/button/button-overrides.js +3 -3
- package/card/card.d.ts +0 -2
- package/card/card.js +3 -3
- package/checkbox/checkbox.d.ts +1 -1
- package/checkbox-field/checkbox-field.d.ts +1 -1
- package/chip/chip.d.ts +1 -1
- package/code/code.d.ts +0 -1
- package/code/code.js +3 -3
- package/content/content.js +2 -1
- package/copy-button/copy-button.d.ts +1 -26
- package/danger-zone/danger-zone-item/danger-zone-item.d.ts +0 -3
- package/danger-zone/danger-zone-item/danger-zone-item.js +7 -7
- package/danger-zone/danger-zone-item-action/danger-zone-item-action.d.ts +1 -2
- package/danger-zone/danger-zone-item-action/danger-zone-item-action.js +3 -3
- package/description-block/description-block.d.ts +1 -2
- package/description-block/description-block.js +3 -3
- package/dialog/dialog-content/dialog-content-overrides.js +0 -3
- package/dialog/dialog-title/dialog-title.d.ts +1 -2
- package/dialog/dialog-title/dialog-title.js +3 -3
- package/dialog/dialog.d.ts +2 -3
- package/dialog/dialog.js +3 -3
- package/dropdown-menu/dropdown-menu-divider/dropdown-menu-divider.d.ts +1 -1
- package/dropdown-menu/dropdown-menu-list/dropdown-menu-list.d.ts +1 -1
- package/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item.d.ts +1 -1
- package/dropdown-menu/dropdown-menu.d.ts +1 -1
- package/empty-state/empty-state.d.ts +0 -1
- package/empty-state/empty-state.js +3 -3
- package/esm/app-bar/app-bar-button/app-bar-button.js +1 -1
- package/esm/app-bar/app-bar-icon-button/app-bar-icon-button.js +2 -2
- package/esm/autocomplete/autocomplete-overrides.js +1 -1
- package/esm/banner/banner.js +1 -1
- package/esm/button/button-overrides.js +3 -3
- package/esm/card/card.js +1 -1
- package/esm/code/code.js +1 -1
- package/esm/content/content.js +2 -1
- package/esm/danger-zone/danger-zone-item/danger-zone-item.js +3 -3
- package/esm/danger-zone/danger-zone-item-action/danger-zone-item-action.js +1 -1
- package/esm/description-block/description-block.js +1 -1
- package/esm/dialog/dialog-content/dialog-content-overrides.js +0 -3
- package/esm/dialog/dialog-title/dialog-title.js +1 -1
- package/esm/dialog/dialog.js +1 -1
- package/esm/empty-state/empty-state.js +1 -1
- package/esm/floating-panel/floating-panel.js +1 -1
- package/esm/form/form-label/form-label-overrides.js +1 -1
- package/esm/gallery-layout/gallery-layout.js +1 -1
- package/esm/icon-button/icon-button.js +1 -1
- package/esm/input/input-label/input-label-overrides.js +1 -1
- package/esm/input/input.js +1 -1
- package/esm/link/link.js +1 -1
- package/esm/logo/logo.js +1 -1
- package/esm/stack-layout/stack-layout.js +1 -1
- package/esm/styles/classes.js +3 -3
- package/esm/switch/switch.js +1 -1
- package/esm/tabs/tab/tab-override.js +2 -2
- package/esm/test-utils.js +1 -0
- package/esm/theme/create-components.js +17 -5
- package/expansion-panel/expansion-panel.d.ts +2 -2
- package/floating-panel/floating-panel.d.ts +0 -2
- package/floating-panel/floating-panel.js +3 -3
- package/form/form-control-label/form-control-label-classes.d.ts +1 -1
- package/form/form-control-label/form-control-label.d.ts +1 -1
- package/form/form-field/form-field.d.ts +1 -1
- package/form/form-label/form-label-overrides.js +1 -1
- package/gallery-layout/gallery-layout.d.ts +0 -1
- package/gallery-layout/gallery-layout.js +3 -3
- package/icon/index.d.ts +343 -343
- package/icon-button/icon-button.js +1 -1
- package/image-preview-field/image-preview-field.d.ts +1 -1
- package/input/input-adornment/input-adornment.d.ts +1 -1
- package/input/input-label/input-label-overrides.js +1 -1
- package/input/input.d.ts +1 -7
- package/input/input.js +3 -3
- package/link/link.js +1 -1
- package/logo/logo.d.ts +1 -5
- package/logo/logo.js +3 -3
- package/package.json +5 -5
- package/panel/panel/panel.d.ts +1 -1
- package/promo-banner/promo-banner.d.ts +1 -1
- package/radio/radio.d.ts +1 -1
- package/radio-field/radio-field.d.ts +1 -1
- package/select/select-field/select-field.d.ts +1 -1
- package/selectable-card/selectable-card-group/selectable-card-group.d.ts +1 -1
- package/sidebar/sidebar-new.d.ts +1 -1
- package/sidebar/sidebar-old.d.ts +1 -1
- package/sidebar/sidebar.d.ts +1 -1
- package/stack-layout/stack-layout.d.ts +0 -1
- package/stack-layout/stack-layout.js +3 -3
- package/stepper/step-label/step-label.d.ts +1 -1
- package/styles/classes.d.ts +3 -3
- package/styles/classes.js +6 -9
- package/switch/switch-field/switch-field.d.ts +1 -1
- package/switch/switch.d.ts +1 -1
- package/switch/switch.js +1 -1
- package/table/table-sort-label/index.d.ts +1 -1
- package/tabs/tab/tab-override.js +2 -2
- package/test-utils.d.ts +1 -1
- package/test-utils.js +1 -0
- package/text-field/text-field.d.ts +1 -1
- package/theme/create-components.js +17 -5
- package/toast/toast.d.ts +1 -1
- package/use-media-query/index.d.ts +1 -1
package/accordion/accordion.d.ts
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AccordionProps as MuiAccordionProps } from '@mui/material/Accordion';
|
|
2
3
|
export declare const AccordionComponentName: "QuantumAcccordion";
|
|
3
4
|
export declare type IAccordionProps = MuiAccordionProps;
|
|
4
|
-
export declare const Accordion: import("styled-components").StyledComponent<
|
|
5
|
+
export declare const Accordion: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/Accordion").AccordionTypeMap<{}, "div">>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme> & {
|
|
6
|
+
children: boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal;
|
|
7
|
+
classes?: Partial<import("@mui/material/Accordion").AccordionClasses> | undefined;
|
|
8
|
+
defaultExpanded?: boolean | undefined;
|
|
9
|
+
disabled?: boolean | undefined;
|
|
10
|
+
disableGutters?: boolean | undefined;
|
|
11
|
+
expanded?: boolean | undefined;
|
|
12
|
+
onChange?: ((event: import("react").SyntheticEvent<Element, Event>, expanded: boolean) => void) | undefined;
|
|
13
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
14
|
+
TransitionComponent?: import("react").JSXElementConstructor<import("@mui/material/transitions").TransitionProps & {
|
|
15
|
+
children?: import("react").ReactElement<any, any> | undefined;
|
|
16
|
+
}> | undefined;
|
|
17
|
+
TransitionProps?: import("@mui/material/transitions").TransitionProps | undefined;
|
|
18
|
+
} & import("@mui/material/Accordion").AccordionSlotsAndSlotProps & Omit<import("@mui/material").PaperOwnProps, "classes" | "onChange"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
19
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
20
|
+
}, "disabled" | "expanded" | "square" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "elevation" | "sx" | "variant" | "onChange" | "TransitionComponent" | "disableGutters" | "defaultExpanded" | "TransitionProps" | keyof import("@mui/material/Accordion").AccordionSlotsAndSlotProps> & {
|
|
21
|
+
component?: import("react").ElementType<any> | undefined;
|
|
22
|
+
}, never>;
|
package/alert/alert.d.ts
CHANGED
|
@@ -142,4 +142,4 @@ export declare const Alert: React.ForwardRefExoticComponent<{
|
|
|
142
142
|
* @deprecated Backwards compatible prop for Cosmos migration. Maps to `onClose` prop. Use onClose if possible
|
|
143
143
|
*/
|
|
144
144
|
onDismiss?(event: React.MouseEvent<HTMLButtonElement>): void;
|
|
145
|
-
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "action" | "icon" | "classes" | "elevation" | "variant" | "role" | "onClose" | "
|
|
145
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "action" | "icon" | "classes" | "elevation" | "variant" | "role" | "onClose" | "closeText" | "dismissible" | "iconMapping" | "message" | "severity" | "onDismiss"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IButtonProps } from '../../button';
|
|
3
3
|
import { ExtendButton, IExtendButtonTypeMap } from '../../button/button';
|
|
4
|
-
import { IStyledOwnerStateProps } from '../../styled';
|
|
5
4
|
import { OverrideProps } from '../../overridable-component';
|
|
6
5
|
declare type IAppBarButtonTypeMap<P = {}, D extends React.ElementType = 'button'> = IExtendButtonTypeMap<{
|
|
7
6
|
props: P & {
|
|
@@ -15,8 +14,5 @@ declare type IAppBarButtonTypeMap<P = {}, D extends React.ElementType = 'button'
|
|
|
15
14
|
defaultComponent: D;
|
|
16
15
|
}>;
|
|
17
16
|
export declare type IAppBarButtonProps<ElementType extends React.ElementType = IAppBarButtonTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<IAppBarButtonTypeMap<AdditionalProps, ElementType>, ElementType>;
|
|
18
|
-
export declare const Root: import("styled-components").StyledComponent<import("../../overridable-component").OverridableComponent<import("../../button/button").IButtonTypeMap<{}, "button">>, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme> & IStyledOwnerStateProps<{
|
|
19
|
-
active?: boolean | undefined;
|
|
20
|
-
}>, never>;
|
|
21
17
|
export declare const AppBarButton: ExtendButton<IAppBarButtonTypeMap<{}, "button">>;
|
|
22
18
|
export {};
|
|
@@ -45,12 +45,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
45
45
|
return t;
|
|
46
46
|
};
|
|
47
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.AppBarButton =
|
|
48
|
+
exports.AppBarButton = void 0;
|
|
49
49
|
var React = __importStar(require("react"));
|
|
50
50
|
var button_1 = require("../../button");
|
|
51
51
|
var styled_1 = require("../../styled");
|
|
52
52
|
var appBarButtonName = 'QuantumAppBarButton';
|
|
53
|
-
|
|
53
|
+
var Root = (0, styled_1.styled)(button_1.Button, { name: appBarButtonName, slot: 'Root' })(function (_a) {
|
|
54
54
|
var theme = _a.theme, variant = _a.variant, ownerState = _a.ownerState;
|
|
55
55
|
var _b = theme.mixins.appBarAction(), focus = _b.focus, hover = _b.hover, activeStyle = _b.active, root = _b.root;
|
|
56
56
|
return __assign(__assign(__assign(__assign(__assign({}, root), { whiteSpace: 'nowrap', textTransform: 'initial', minHeight: theme.typography.pxToRem(36), paddingTop: 0, paddingBottom: 0, fontWeight: theme.typography.fontWeightRegular, boxSizing: 'border-box', '&:focus,&.Mui-focus': focus, '&:hover,&.Mui-hover': hover, '&:active,&.Mui-active': activeStyle, color: 'inherit' }), (variant === 'outlined' && __assign(__assign({ borderColor: theme.tokens.color_border_inverse_static }, (ownerState.active && {
|
|
@@ -66,5 +66,5 @@ exports.AppBarButton = React.forwardRef(function (props, ref) {
|
|
|
66
66
|
var color = props.color, className = props.className, active = props.active, _a = props.variant, variant = _a === void 0 ? 'link' : _a, _b = props.ButtonProps, ButtonProps = _b === void 0 ? {} : _b, children = props.children,
|
|
67
67
|
// remove to avoid sending to IconButton
|
|
68
68
|
propClasses = props.classes, rootProps = __rest(props, ["color", "className", "active", "variant", "ButtonProps", "children", "classes"]);
|
|
69
|
-
return (React.createElement(
|
|
69
|
+
return (React.createElement(Root, __assign({ ref: ref, ownerState: { active: active }, variant: variant }, rootProps, { color: "inherit" }, ButtonProps), children));
|
|
70
70
|
});
|
|
@@ -2,7 +2,6 @@ import * as React from 'react';
|
|
|
2
2
|
import { IExtendIconButtonTypeMap, ExtendIconButton } from '../../icon-button/icon-button';
|
|
3
3
|
import { IIconButtonProps } from '../../icon-button';
|
|
4
4
|
import { OverrideProps } from '../../overridable-component';
|
|
5
|
-
import { IStyledOwnerStateProps } from '../../styled';
|
|
6
5
|
declare type IAppBarIconButtonTypeMap<P = {}, D extends React.ElementType = 'button'> = IExtendIconButtonTypeMap<{
|
|
7
6
|
props: P & {
|
|
8
7
|
color?: never;
|
|
@@ -16,9 +15,5 @@ declare type IAppBarIconButtonTypeMap<P = {}, D extends React.ElementType = 'but
|
|
|
16
15
|
defaultComponent: D;
|
|
17
16
|
}>;
|
|
18
17
|
export declare type IAppBarIconButtonProps<ElementType extends React.ElementType = IAppBarIconButtonTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<IAppBarIconButtonTypeMap<AdditionalProps, ElementType>, ElementType>;
|
|
19
|
-
export declare const Root: import("styled-components").StyledComponent<import("../../overridable-component").OverridableComponent<import("../../icon-button/icon-button").IIconButtonTypeMap<{}, "button">>, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme> & IStyledOwnerStateProps<{
|
|
20
|
-
active?: boolean | undefined;
|
|
21
|
-
circular?: boolean | undefined;
|
|
22
|
-
}>, never>;
|
|
23
18
|
export declare const AppBarIconButton: ExtendIconButton<IAppBarIconButtonTypeMap<{}, "button">>;
|
|
24
19
|
export {};
|
|
@@ -45,15 +45,15 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
45
45
|
return t;
|
|
46
46
|
};
|
|
47
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.AppBarIconButton =
|
|
48
|
+
exports.AppBarIconButton = void 0;
|
|
49
49
|
var React = __importStar(require("react"));
|
|
50
50
|
var icon_button_1 = require("../../icon-button");
|
|
51
51
|
var styled_1 = require("../../styled");
|
|
52
52
|
var appBarIconButtonName = 'QuantumAppBarIconButton';
|
|
53
|
-
|
|
53
|
+
var Root = (0, styled_1.styled)(icon_button_1.IconButton, { name: appBarIconButtonName, slot: 'Root' })(function (_a) {
|
|
54
54
|
var theme = _a.theme, ownerState = _a.ownerState;
|
|
55
55
|
var _b = theme.mixins.appBarAction(), focus = _b.focus, hover = _b.hover, activeStyle = _b.active, root = _b.root;
|
|
56
|
-
return __assign(__assign(__assign(__assign({}, root), { height: theme.typography.pxToRem(36), width: theme.typography.pxToRem(36), paddingTop: 0, paddingBottom: 0, '&:focus,&.Mui-focus': focus, '&:hover,&.Mui-hover': hover, '&:active,&.Mui-active': activeStyle, '& > svg
|
|
56
|
+
return __assign(__assign(__assign(__assign({}, root), { height: theme.typography.pxToRem(36), width: theme.typography.pxToRem(36), paddingTop: 0, paddingBottom: 0, '&:focus,&.Mui-focus': focus, '&:hover,&.Mui-hover': hover, '&:active,&.Mui-active': activeStyle, '& > svg': {
|
|
57
57
|
flexShrink: 0,
|
|
58
58
|
width: 'auto',
|
|
59
59
|
height: 'auto',
|
|
@@ -61,5 +61,5 @@ exports.Root = (0, styled_1.styled)(icon_button_1.IconButton, { name: appBarIcon
|
|
|
61
61
|
});
|
|
62
62
|
exports.AppBarIconButton = React.forwardRef(function (props, ref) {
|
|
63
63
|
var color = props.color, className = props.className, active = props.active, _a = props.variant, variant = _a === void 0 ? 'link' : _a, circular = props.circular, _b = props.IconButtonProps, IconButtonProps = _b === void 0 ? {} : _b, children = props.children, rootProps = __rest(props, ["color", "className", "active", "variant", "circular", "IconButtonProps", "children"]);
|
|
64
|
-
return (React.createElement(
|
|
64
|
+
return (React.createElement(Root, __assign({}, { ref: ref }, { className: className, ownerState: { active: active, circular: circular } }, rootProps, { variant: variant, color: "inherit" }, IconButtonProps), children));
|
|
65
65
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const appLayoutComponentName: "QuantumAppLayout";
|
|
2
2
|
export declare type AppLayoutSlotKey = 'root' | 'main' | 'container' | 'content';
|
|
3
3
|
export declare function getAppLayoutUtilityClass(slot: string): string;
|
|
4
|
-
export declare const appLayoutClasses: Record<"main" | "content" | "
|
|
4
|
+
export declare const appLayoutClasses: Record<"main" | "content" | "container" | "root", string>;
|
|
5
5
|
export declare type AppLayoutClasses = typeof appLayoutClasses;
|
|
6
6
|
export declare type AppLayoutClassKey = keyof AppLayoutClasses;
|
package/avatar/avatar.d.ts
CHANGED
|
@@ -74,4 +74,4 @@ export declare const Avatar: React.ForwardRefExoticComponent<IAvatarImageProps &
|
|
|
74
74
|
initials?: string | undefined;
|
|
75
75
|
/** instructs the avatar where it is being rendered */
|
|
76
76
|
placement?: "default" | "badge" | undefined;
|
|
77
|
-
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "color" | "size" | "classes" | "children" | "variant" | "
|
|
77
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "color" | "size" | "classes" | "children" | "variant" | "alt" | "imgProps" | "placement" | keyof IAvatarImageProps | "imgFit" | "includePadding" | "showBorder" | "fallbackIconOverride" | "initials"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const avatarBlockComponentName: "QuantumAvatarBlock";
|
|
2
2
|
export declare type AvatarBlockSlotKey = 'root' | 'avatar' | 'titleBlock' | 'endAdornment';
|
|
3
3
|
export declare function getAvatarBlockUtilityClass(slot: string): string;
|
|
4
|
-
export declare const avatarBlockClasses: Record<"root" | "
|
|
4
|
+
export declare const avatarBlockClasses: Record<"root" | "avatar" | "endAdornment" | "titleBlock", string>;
|
|
5
5
|
export declare type AvatarBlockClasses = typeof avatarBlockClasses;
|
|
6
6
|
export declare type AvatarBlockClassKey = keyof AvatarBlockClasses;
|
|
@@ -17,6 +17,6 @@ export declare const AvatarBlock: React.ForwardRefExoticComponent<Pick<ITitleBlo
|
|
|
17
17
|
avatar?: React.ReactNode;
|
|
18
18
|
size?: "medium" | "large" | undefined;
|
|
19
19
|
TitleBlockProps?: Partial<ITitleBlockProps> | undefined;
|
|
20
|
-
classes?: Partial<Record<"root" | "
|
|
20
|
+
classes?: Partial<Record<"root" | "avatar" | "endAdornment" | "titleBlock", string>> | undefined;
|
|
21
21
|
endAdornment?: React.ReactNode;
|
|
22
|
-
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "title" | "ref" | "size" | "classes" | "
|
|
22
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "title" | "ref" | "size" | "classes" | "avatar" | "titleTypographyProps" | "endAdornment" | "description" | "descriptionTypographyProps" | "TitleBlockProps"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
|
package/banner/banner.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IStyledComponentProps } from '../styled';
|
|
3
|
-
export declare const Root: import("styled-components").StyledComponent<"div", import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
4
3
|
export interface IBannerContentOwnerState {
|
|
5
4
|
center?: boolean;
|
|
6
5
|
padding?: number;
|
package/banner/banner.js
CHANGED
|
@@ -45,12 +45,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
45
45
|
return t;
|
|
46
46
|
};
|
|
47
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.Banner =
|
|
48
|
+
exports.Banner = void 0;
|
|
49
49
|
var React = __importStar(require("react"));
|
|
50
50
|
var row_layout_1 = require("../row-layout");
|
|
51
51
|
var styled_1 = require("../styled");
|
|
52
52
|
var banner_classes_1 = require("./banner-classes");
|
|
53
|
-
|
|
53
|
+
var Root = (0, styled_1.styled)('div', { name: banner_classes_1.bannerComponentName, slot: 'Root' })(function (_a) {
|
|
54
54
|
var theme = _a.theme;
|
|
55
55
|
return ({
|
|
56
56
|
borderBottom: "1px solid ".concat(theme.tokens.color_border_default),
|
|
@@ -73,6 +73,6 @@ var Content = (0, styled_1.styled)(row_layout_1.RowLayout, {
|
|
|
73
73
|
});
|
|
74
74
|
exports.Banner = React.forwardRef(function (_a, ref) {
|
|
75
75
|
var children = _a.children, _b = _a.center, center = _b === void 0 ? false : _b, _c = _a.padding, padding = _c === void 0 ? 5 : _c, _d = _a.fullWidth, fullWidth = _d === void 0 ? false : _d, rootProps = __rest(_a, ["children", "center", "padding", "fullWidth"]);
|
|
76
|
-
return (React.createElement(
|
|
76
|
+
return (React.createElement(Root, __assign({ ref: ref }, rootProps),
|
|
77
77
|
React.createElement(Content, { ownerState: { center: center, padding: padding, fullWidth: fullWidth } }, children)));
|
|
78
78
|
});
|
|
@@ -5,4 +5,4 @@ export interface IBreadcrumbsProps extends BreadcrumbsProps {
|
|
|
5
5
|
/** alternative to using children and rendering the BreadcrumbsItems */
|
|
6
6
|
items?: IBreadcrumbsItemProps[];
|
|
7
7
|
}
|
|
8
|
-
export declare const Breadcrumbs: React.ForwardRefExoticComponent<Pick<IBreadcrumbsProps, "slot" | "style" | "title" | "color" | "hidden" | "separator" | "translate" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "expandText" | "itemsAfterCollapse" | "itemsBeforeCollapse" | "maxItems" | "items"> & React.RefAttributes<HTMLElement>>;
|
|
8
|
+
export declare const Breadcrumbs: React.ForwardRefExoticComponent<Pick<IBreadcrumbsProps, "slot" | "style" | "title" | "color" | "hidden" | "separator" | "translate" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "slotProps" | "slots" | "expandText" | "itemsAfterCollapse" | "itemsBeforeCollapse" | "maxItems" | "component" | "items"> & React.RefAttributes<HTMLElement>>;
|
|
@@ -235,21 +235,21 @@ exports.createMuiButtonOverrides = (0, create_component_overrides_1.createCompon
|
|
|
235
235
|
padding: spacing(1, 2),
|
|
236
236
|
},
|
|
237
237
|
iconSizeLarge: {
|
|
238
|
-
'& > *:first-
|
|
238
|
+
'& > *:first-of-type': {
|
|
239
239
|
fontSize: '1rem',
|
|
240
240
|
height: '1em',
|
|
241
241
|
width: '1em',
|
|
242
242
|
},
|
|
243
243
|
},
|
|
244
244
|
iconSizeMedium: {
|
|
245
|
-
'& > *:first-
|
|
245
|
+
'& > *:first-of-type': {
|
|
246
246
|
fontSize: '1rem',
|
|
247
247
|
height: '1em',
|
|
248
248
|
width: '1em',
|
|
249
249
|
},
|
|
250
250
|
},
|
|
251
251
|
iconSizeSmall: {
|
|
252
|
-
'& > *:first-
|
|
252
|
+
'& > *:first-of-type': {
|
|
253
253
|
fontSize: '1rem',
|
|
254
254
|
height: '1em',
|
|
255
255
|
width: '1em',
|
package/card/card.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PaperProps } from '@mui/material/Paper';
|
|
3
3
|
import { OverridableComponent, OverrideProps } from '../overridable-component';
|
|
4
|
-
import { IStyledOwnerStateProps } from '../styled';
|
|
5
4
|
import { ICardContextValue } from './card-context';
|
|
6
5
|
export declare const cardComponentName: "QuantumCard";
|
|
7
6
|
export interface ICardRootOwnerState extends Partial<ICardContextValue> {
|
|
@@ -10,7 +9,6 @@ export interface ICardRootOwnerState extends Partial<ICardContextValue> {
|
|
|
10
9
|
selected?: boolean;
|
|
11
10
|
button?: boolean;
|
|
12
11
|
}
|
|
13
|
-
export declare const Root: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/Card").CardTypeMap<{}, "div">>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme> & IStyledOwnerStateProps<ICardRootOwnerState>, never>;
|
|
14
12
|
export interface ICardTypeMap<P = {}, D extends React.ElementType = 'div'> {
|
|
15
13
|
props: P & Omit<PaperProps, 'variant' | 'ref' | 'component'> & Partial<ICardRootOwnerState> & {
|
|
16
14
|
component?: React.ElementType;
|
package/card/card.js
CHANGED
|
@@ -48,14 +48,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
48
48
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
49
|
};
|
|
50
50
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
-
exports.Card = exports.
|
|
51
|
+
exports.Card = exports.cardComponentName = void 0;
|
|
52
52
|
var React = __importStar(require("react"));
|
|
53
53
|
var Card_1 = __importDefault(require("@mui/material/Card"));
|
|
54
54
|
var color_manipulator_1 = require("../styles/color-manipulator");
|
|
55
55
|
var styled_1 = require("../styled");
|
|
56
56
|
var card_context_1 = require("./card-context");
|
|
57
57
|
exports.cardComponentName = 'QuantumCard';
|
|
58
|
-
|
|
58
|
+
var Root = (0, styled_1.styled)(Card_1.default, {
|
|
59
59
|
name: exports.cardComponentName,
|
|
60
60
|
slot: 'Root',
|
|
61
61
|
})(function (_a) {
|
|
@@ -116,7 +116,7 @@ exports.Card = React.forwardRef(function (props, ref) {
|
|
|
116
116
|
// remove to prevent passing through to the root
|
|
117
117
|
propClasses = props.classes, rootProps = __rest(props, ["button", "component", "disabled", "className", "selected", "selectableButton", "size", "classes"]);
|
|
118
118
|
return (React.createElement(card_context_1.CardContext.Provider, { value: { size: size } },
|
|
119
|
-
React.createElement(
|
|
119
|
+
React.createElement(Root, __assign({}, { component: component }, { ownerState: {
|
|
120
120
|
size: size,
|
|
121
121
|
disabled: disabled,
|
|
122
122
|
selectableButton: selectableButton,
|
package/checkbox/checkbox.d.ts
CHANGED
|
@@ -12,4 +12,4 @@ export interface ICheckboxProps extends Omit<CheckboxProps, 'color' | 'size' | '
|
|
|
12
12
|
decoration?: React.ReactNode;
|
|
13
13
|
classes?: Partial<CheckboxClasses>;
|
|
14
14
|
}
|
|
15
|
-
export declare const Checkbox: React.ForwardRefExoticComponent<Pick<ICheckboxProps, "form" | "slot" | "style" | "title" | "action" | "disabled" | "hidden" | "icon" | "translate" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "
|
|
15
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<Pick<ICheckboxProps, "form" | "slot" | "style" | "title" | "action" | "disabled" | "hidden" | "icon" | "translate" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "value" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "disableFocusRipple" | "noWrap" | "component" | "required" | "edge" | "decoration" | "readOnly" | "inputProps" | "inputRef" | "checked" | "checkedIcon" | "indeterminate" | "indeterminateIcon" | "helperText" | "labelPlacement" | "HelperTextProps" | "helpText"> & React.RefAttributes<HTMLButtonElement | HTMLLabelElement>>;
|
|
@@ -12,4 +12,4 @@ export declare type ICheckboxFieldProps = Pick<IFormGroupProps, 'row'> & Omit<IF
|
|
|
12
12
|
export declare type ICheckboxOptionProps = QuantumCheckboxProps & {
|
|
13
13
|
label: React.ReactNode;
|
|
14
14
|
};
|
|
15
|
-
export declare const CheckboxField: React.ForwardRefExoticComponent<Pick<ICheckboxFieldProps, "label" | "slot" | "style" | "title" | "error" | "disabled" | "hidden" | "size" | "row" | "translate" | "margin" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "
|
|
15
|
+
export declare const CheckboxField: React.ForwardRefExoticComponent<Pick<ICheckboxFieldProps, "label" | "slot" | "style" | "title" | "error" | "disabled" | "hidden" | "size" | "row" | "translate" | "margin" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "value" | "name" | "fullWidth" | "component" | "focused" | "hiddenLabel" | "required" | "readOnly" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "options" | "ErrorHelperTextProps" | "CheckboxProps" | "FormGroupProps"> & React.RefAttributes<HTMLDivElement>>;
|
package/chip/chip.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ export declare const chipComponentName: "QuantumChip";
|
|
|
4
4
|
export interface IChipProps extends Omit<ChipProps, 'color' | 'variant'> {
|
|
5
5
|
selected?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const Chip: React.ForwardRefExoticComponent<Pick<IChipProps, "label" | "slot" | "style" | "title" | "disabled" | "selected" | "hidden" | "size" | "icon" | "translate" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "avatar" | "clickable" | "deleteIcon" | "onDelete"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export declare const Chip: React.ForwardRefExoticComponent<Pick<IChipProps, "label" | "slot" | "style" | "title" | "disabled" | "selected" | "hidden" | "size" | "icon" | "translate" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled" | "component"> & React.RefAttributes<HTMLDivElement>>;
|
package/code/code.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import * as React from 'react';
|
|
|
2
2
|
import { IStyledComponentProps } from '../styled';
|
|
3
3
|
import { ITextProps } from '../text';
|
|
4
4
|
export declare const CodeComponentName: "QuantumCode";
|
|
5
|
-
export declare const Root: import("styled-components").StyledComponent<import("../overridable-component").OverridableComponent<import("@mui/material").TypographyTypeMap<{}, "span">>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
6
5
|
export declare type ICodeProps = IStyledComponentProps<{
|
|
7
6
|
props: {
|
|
8
7
|
variant?: 'code1' | 'code2';
|
package/code/code.js
CHANGED
|
@@ -45,12 +45,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
45
45
|
return t;
|
|
46
46
|
};
|
|
47
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.Code = exports.
|
|
48
|
+
exports.Code = exports.CodeComponentName = void 0;
|
|
49
49
|
var React = __importStar(require("react"));
|
|
50
50
|
var styled_1 = require("../styled");
|
|
51
51
|
var text_1 = require("../text");
|
|
52
52
|
exports.CodeComponentName = 'QuantumCode';
|
|
53
|
-
|
|
53
|
+
var Root = (0, styled_1.styled)(text_1.Text, { name: exports.CodeComponentName, slot: 'Root' })(function (_a) {
|
|
54
54
|
var theme = _a.theme;
|
|
55
55
|
return ({
|
|
56
56
|
display: 'inline',
|
|
@@ -62,5 +62,5 @@ exports.Root = (0, styled_1.styled)(text_1.Text, { name: exports.CodeComponentNa
|
|
|
62
62
|
});
|
|
63
63
|
exports.Code = React.forwardRef(function (props, ref) {
|
|
64
64
|
var children = props.children, _a = props.variant, variant = _a === void 0 ? 'code2' : _a, textProps = __rest(props, ["children", "variant"]);
|
|
65
|
-
return (React.createElement(
|
|
65
|
+
return (React.createElement(Root, __assign({ ref: ref }, { component: 'span' }, { color: "textSecondary", variant: variant }, textProps), children));
|
|
66
66
|
});
|
package/content/content.js
CHANGED
|
@@ -82,7 +82,8 @@ exports.Content = (0, styled_1.styled)('div', { name: 'QuantumContent' })(functi
|
|
|
82
82
|
maxWidth: '100%',
|
|
83
83
|
},
|
|
84
84
|
// leading and end spacing
|
|
85
|
-
|
|
85
|
+
// *:not(:not(:last-child) ~ *) = first-child. https://github.com/emotion-js/emotion/issues/2917
|
|
86
|
+
'*:not(:not(:last-child) ~ *)': {
|
|
86
87
|
marginTop: 0,
|
|
87
88
|
},
|
|
88
89
|
'& > *:last-child': {
|
|
@@ -9,29 +9,4 @@ export declare const CopyButton: React.ForwardRefExoticComponent<{
|
|
|
9
9
|
href?: string | undefined;
|
|
10
10
|
label: string;
|
|
11
11
|
target?: string | undefined;
|
|
12
|
-
} &
|
|
13
|
-
children?: React.ReactNode;
|
|
14
|
-
classes?: Partial<import("@mui/material").IconButtonClasses> | undefined;
|
|
15
|
-
color?: "inherit" | "primary" | "default" | "danger" | "info" | undefined;
|
|
16
|
-
disabled?: boolean | undefined;
|
|
17
|
-
disableFocusRipple?: boolean | undefined;
|
|
18
|
-
edge?: false | "end" | "start" | undefined;
|
|
19
|
-
size?: "small" | "medium" | "large" | undefined;
|
|
20
|
-
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
21
|
-
} & Omit<{
|
|
22
|
-
action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
23
|
-
centerRipple?: boolean | undefined;
|
|
24
|
-
children?: React.ReactNode;
|
|
25
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
26
|
-
disabled?: boolean | undefined;
|
|
27
|
-
disableRipple?: boolean | undefined;
|
|
28
|
-
disableTouchRipple?: boolean | undefined;
|
|
29
|
-
focusRipple?: boolean | undefined;
|
|
30
|
-
focusVisibleClassName?: string | undefined;
|
|
31
|
-
LinkComponent?: React.ElementType<any> | undefined;
|
|
32
|
-
onFocusVisible?: React.FocusEventHandler<any> | undefined;
|
|
33
|
-
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
34
|
-
tabIndex?: number | undefined;
|
|
35
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
36
|
-
touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
37
|
-
}, "classes"> & Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "ref" | "color" | "action" | "disabled" | "size" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "href" | "edge" | "target" | "shape" | "tooltipPlacement" | "onTooltipClose"> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
} & import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "label" | "ref" | "action" | "variant" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | keyof import("@mui/material").IconButtonOwnProps | "target" | "shape" | "tooltipPlacement" | "onTooltipClose"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -2,9 +2,6 @@ import * as React from 'react';
|
|
|
2
2
|
import { IStyledComponentProps } from '../../styled';
|
|
3
3
|
import { IDangerZoneItemActionProps } from '../danger-zone-item-action';
|
|
4
4
|
import { ITitleBlockProps } from '../../title-block';
|
|
5
|
-
export declare const Root: import("styled-components").StyledComponent<"li", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
6
|
-
export declare const StyledTitleBlock: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<ITitleBlockProps & React.RefAttributes<HTMLDivElement>>, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
7
|
-
export declare const ActionContainer: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
8
5
|
export declare type IDangerZoneItemProps = IStyledComponentProps<{
|
|
9
6
|
props: Pick<ITitleBlockProps, 'title' | 'titleTypographyProps' | 'description' | 'descriptionTypographyProps'> & {
|
|
10
7
|
action: IDangerZoneItemActionProps;
|
|
@@ -45,14 +45,14 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
45
45
|
return t;
|
|
46
46
|
};
|
|
47
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.DangerZoneItem =
|
|
48
|
+
exports.DangerZoneItem = void 0;
|
|
49
49
|
var React = __importStar(require("react"));
|
|
50
50
|
var styled_1 = require("../../styled");
|
|
51
51
|
// import { BaseProps } from "@mui/material/OverridableComponent";
|
|
52
52
|
var danger_zone_item_action_1 = require("../danger-zone-item-action");
|
|
53
53
|
var title_block_1 = require("../../title-block");
|
|
54
54
|
var dangerZoneItemComponentName = 'QuantumDangerZoneItem';
|
|
55
|
-
|
|
55
|
+
var Root = (0, styled_1.styled)('li', {
|
|
56
56
|
name: dangerZoneItemComponentName,
|
|
57
57
|
slot: 'Root',
|
|
58
58
|
})(function (_a) {
|
|
@@ -66,7 +66,7 @@ exports.Root = (0, styled_1.styled)('li', {
|
|
|
66
66
|
borderRadius: theme.shape.borderRadius,
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
|
-
|
|
69
|
+
var StyledTitleBlock = (0, styled_1.styled)(title_block_1.TitleBlock, {
|
|
70
70
|
name: dangerZoneItemComponentName,
|
|
71
71
|
slot: 'TitleBlock',
|
|
72
72
|
})(function (_a) {
|
|
@@ -76,7 +76,7 @@ exports.StyledTitleBlock = (0, styled_1.styled)(title_block_1.TitleBlock, {
|
|
|
76
76
|
marginRight: theme.spacing(3),
|
|
77
77
|
});
|
|
78
78
|
});
|
|
79
|
-
|
|
79
|
+
var ActionContainer = (0, styled_1.styled)('div', {
|
|
80
80
|
name: dangerZoneItemComponentName,
|
|
81
81
|
slot: 'ActionContainer',
|
|
82
82
|
})(function () { return ({
|
|
@@ -84,8 +84,8 @@ exports.ActionContainer = (0, styled_1.styled)('div', {
|
|
|
84
84
|
}); });
|
|
85
85
|
exports.DangerZoneItem = React.forwardRef(function (props, ref) {
|
|
86
86
|
var className = props.className, title = props.title, _a = props.titleTypographyProps, titleTypographyProps = _a === void 0 ? {} : _a, description = props.description, _b = props.descriptionTypographyProps, descriptionTypographyProps = _b === void 0 ? {} : _b, _c = props.action, action = _c === void 0 ? {} : _c, children = props.children, rootProps = __rest(props, ["className", "title", "titleTypographyProps", "description", "descriptionTypographyProps", "action", "children"]);
|
|
87
|
-
return (React.createElement(
|
|
88
|
-
React.createElement(
|
|
89
|
-
React.createElement(
|
|
87
|
+
return (React.createElement(Root, __assign({ ref: ref, className: className, component: "li" }, rootProps),
|
|
88
|
+
React.createElement(StyledTitleBlock, { gutter: 0.5, title: title, titleTypographyProps: __assign({ color: 'inherit' }, titleTypographyProps), description: description, descriptionTypographyProps: __assign({ color: 'inherit' }, descriptionTypographyProps) }),
|
|
89
|
+
React.createElement(ActionContainer, null,
|
|
90
90
|
React.createElement(danger_zone_item_action_1.DangerZoneItemAction, __assign({}, action), action.children || action.label))));
|
|
91
91
|
});
|