@auth0/quantum-product 1.5.6 → 1.5.8
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-details.d.ts +1 -1
- package/accordion/accordion-summary.d.ts +1 -1
- package/accordion/accordion.d.ts +1 -1
- package/app-bar/app-bar-actions/app-bar-actions.d.ts +1 -1
- package/app-bar/app-bar-button/app-bar-button.d.ts +1 -1
- package/app-bar/app-bar-content/app-bar-content.d.ts +1 -1
- package/app-bar/app-bar-divider/app-bar-divider.d.ts +1 -1
- package/app-bar/app-bar-icon-button/app-bar-icon-button.d.ts +1 -1
- package/banner/banner.d.ts +1 -1
- package/card/card-content/card-content.d.ts +1 -1
- package/card/card.d.ts +6 -1
- package/code/code.d.ts +1 -1
- package/content/content.d.ts +1 -1
- package/danger-zone/danger-zone-item/danger-zone-item.d.ts +3 -3
- package/danger-zone/danger-zone-item-action/danger-zone-item-action.d.ts +1 -1
- package/description-block/description-block.d.ts +1 -1
- package/dialog/dialog-title/dialog-title.d.ts +1 -1
- package/dialog/dialog.d.ts +1 -1
- package/empty-state/empty-state.d.ts +7 -7
- package/esm/quantum-provider/quantum-provider.js +16 -9
- package/expansion-panel/expansion-panel-details.d.ts +1 -1
- package/expansion-panel/expansion-panel-header.d.ts +1 -1
- package/expansion-panel/expansion-panel-summary.d.ts +1 -1
- package/expansion-panel/expansion-panel.d.ts +1 -1
- package/gallery-layout/gallery-layout-item/gallery-layout-item.d.ts +1 -1
- package/gallery-layout/gallery-layout.d.ts +1 -1
- package/icon/feather-icons.d.ts +284 -284
- package/identicons/icons/icon-access-token.d.ts +1 -1
- package/identicons/icons/icon-account-takeover.d.ts +1 -1
- package/identicons/icons/icon-actions.d.ts +1 -1
- package/identicons/icons/icon-activity.d.ts +1 -1
- package/identicons/icons/icon-advanced-options.d.ts +1 -1
- package/identicons/icons/icon-anticipation.d.ts +1 -1
- package/identicons/icons/icon-api-related.d.ts +1 -1
- package/identicons/icons/icon-api.d.ts +1 -1
- package/identicons/icons/icon-applications.d.ts +1 -1
- package/identicons/icons/icon-attributes.d.ts +1 -1
- package/identicons/icons/icon-auth0-authorization-server.d.ts +1 -1
- package/identicons/icons/icon-auth0-dashboard.d.ts +1 -1
- package/identicons/icons/icon-auth0-logo-dark.d.ts +1 -1
- package/identicons/icons/icon-auth0-logo-light.d.ts +1 -1
- package/identicons/icons/icon-authentication-a.d.ts +1 -1
- package/identicons/icons/icon-authentication-b.d.ts +1 -1
- package/identicons/icons/icon-authorization-server.d.ts +1 -1
- package/identicons/icons/icon-backend.d.ts +1 -1
- package/identicons/icons/icon-biometrics.d.ts +1 -1
- package/identicons/icons/icon-bot-detection.d.ts +1 -1
- package/identicons/icons/icon-boundary-protocol.d.ts +1 -1
- package/identicons/icons/icon-branding.d.ts +1 -1
- package/identicons/icons/icon-breached-password.d.ts +1 -1
- package/identicons/icons/icon-browser.d.ts +1 -1
- package/identicons/icons/icon-brute-force.d.ts +1 -1
- package/identicons/icons/icon-certificate.d.ts +1 -1
- package/identicons/icons/icon-cli-script.d.ts +1 -1
- package/identicons/icons/icon-cloud.d.ts +1 -1
- package/identicons/icons/icon-consistency.d.ts +1 -1
- package/identicons/icons/icon-cookies.d.ts +1 -1
- package/identicons/icons/icon-credential-application.d.ts +1 -1
- package/identicons/icons/icon-credential-stuffing.d.ts +1 -1
- package/identicons/icons/icon-credential-user.d.ts +1 -1
- package/identicons/icons/icon-customization.d.ts +1 -1
- package/identicons/icons/icon-dashboard.d.ts +1 -1
- package/identicons/icons/icon-database.d.ts +1 -1
- package/identicons/icons/icon-desktop-app.d.ts +1 -1
- package/identicons/icons/icon-device-biometrics.d.ts +1 -1
- package/identicons/icons/icon-efficiency.d.ts +1 -1
- package/identicons/icons/icon-empathy.d.ts +1 -1
- package/identicons/icons/icon-enterprise-directory.d.ts +1 -1
- package/identicons/icons/icon-extensions.d.ts +1 -1
- package/identicons/icons/icon-fine-grained-authorization.d.ts +1 -1
- package/identicons/icons/icon-getting-started.d.ts +1 -1
- package/identicons/icons/icon-guardian-push-notification.d.ts +1 -1
- package/identicons/icons/icon-help.d.ts +1 -1
- package/identicons/icons/icon-id-token.d.ts +1 -1
- package/identicons/icons/icon-identifier-first.d.ts +1 -1
- package/identicons/icons/icon-identifier-password.d.ts +1 -1
- package/identicons/icons/icon-integrations-marketplace.d.ts +1 -1
- package/identicons/icons/icon-ip-throttling.d.ts +1 -1
- package/identicons/icons/icon-login-customization.d.ts +1 -1
- package/identicons/icons/icon-login.d.ts +1 -1
- package/identicons/icons/icon-logs.d.ts +1 -1
- package/identicons/icons/icon-mail-message-a.d.ts +1 -1
- package/identicons/icons/icon-mail-message-b.d.ts +1 -1
- package/identicons/icons/icon-mobile-app.d.ts +1 -1
- package/identicons/icons/icon-monitoring.d.ts +1 -1
- package/identicons/icons/icon-multifactor.d.ts +1 -1
- package/identicons/icons/icon-multiple-failed-logins.d.ts +1 -1
- package/identicons/icons/icon-one-time-password.d.ts +1 -1
- package/identicons/icons/icon-organizations.d.ts +1 -1
- package/identicons/icons/icon-phone-message-a.d.ts +1 -1
- package/identicons/icons/icon-phone-message-b.d.ts +1 -1
- package/identicons/icons/icon-pipeline-a.d.ts +1 -1
- package/identicons/icons/icon-pipeline-b.d.ts +1 -1
- package/identicons/icons/icon-refresh-token.d.ts +1 -1
- package/identicons/icons/icon-sdk.d.ts +1 -1
- package/identicons/icons/icon-security.d.ts +1 -1
- package/identicons/icons/icon-server.d.ts +1 -1
- package/identicons/icons/icon-settings.d.ts +1 -1
- package/identicons/icons/icon-social-providers.d.ts +1 -1
- package/identicons/icons/icon-spa.d.ts +1 -1
- package/identicons/icons/icon-teams.d.ts +1 -1
- package/identicons/icons/icon-tenant.d.ts +1 -1
- package/identicons/icons/icon-user-database.d.ts +1 -1
- package/identicons/icons/icon-user-management.d.ts +1 -1
- package/identicons/icons/icon-user.d.ts +1 -1
- package/identicons/icons/icon-users.d.ts +1 -1
- package/identicons/icons/icon-video.d.ts +1 -1
- package/identicons/icons/icon-web-app.d.ts +1 -1
- package/identicons/icons/icon-webauthn.d.ts +1 -1
- package/illustrations/components/experienced-user.d.ts +1 -1
- package/illustrations/components/new-auth0-user-a.d.ts +1 -1
- package/illustrations/components/notifications.d.ts +1 -1
- package/illustrations/components/roles.d.ts +1 -1
- package/illustrations/components/single-sign-on.d.ts +1 -1
- package/illustrations/components/streams-logs.d.ts +1 -1
- package/illustrations/components/users.d.ts +1 -1
- package/image/image.d.ts +1 -1
- package/input/input.d.ts +1 -1
- package/logo/logo.d.ts +1 -1
- package/package.json +1 -1
- package/page/page-header/page-header.d.ts +1 -1
- package/panel-layout/panel/panel.d.ts +1 -1
- package/panel-layout/panel-body/panel-body.d.ts +1 -1
- package/panel-layout/panel-title/panel-title.d.ts +1 -1
- package/quantum-provider/index.d.ts +1 -1
- package/quantum-provider/quantum-provider.d.ts +1 -1
- package/quantum-provider/quantum-provider.js +16 -9
- package/select/select-menu-actions/select-menu-actions.d.ts +1 -1
- package/select/select-menu-body/select-menu-body.d.ts +1 -1
- package/select/select-menu-header/select-menu-header.d.ts +1 -1
- package/stack-layout/stack-layout-item/stack-layout-item.d.ts +1 -1
- package/stack-layout/stack-layout.d.ts +1 -1
- package/styled.d.ts +1 -1
- package/table/table-empty-state/table-empty-state.d.ts +1 -1
- package/theme/create-theme.d.ts +15 -2
- package/theme/create-typography.d.ts +2 -2
- package/theme/default-theme.d.ts +1 -1
- package/theme/use-theme.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import MuiAccordionDetails, { AccordionDetailsProps } from '@mui/material/AccordionDetails';
|
|
2
2
|
export declare const AccordionDetailsComponentName: "QuantumAcccordionDetails";
|
|
3
3
|
export declare type IAccordionDetailsProps = AccordionDetailsProps;
|
|
4
|
-
export declare const AccordionDetails: import("styled-components").StyledComponent<typeof MuiAccordionDetails, import("
|
|
4
|
+
export declare const AccordionDetails: import("styled-components").StyledComponent<typeof MuiAccordionDetails, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { AccordionSummaryProps } from '@mui/material/AccordionSummary';
|
|
2
2
|
export declare const AccordionSummaryComponentName: "QuantumAcccordionSummary";
|
|
3
3
|
export declare type IAccordionSummaryProps = AccordionSummaryProps;
|
|
4
|
-
export declare const AccordionSummary: import("styled-components").StyledComponent<import("@mui/material").ExtendButtonBase<import("@mui/material/AccordionSummary").AccordionSummaryTypeMap<{}, "div">>, import("
|
|
4
|
+
export declare const AccordionSummary: import("styled-components").StyledComponent<import("@mui/material").ExtendButtonBase<import("@mui/material/AccordionSummary").AccordionSummaryTypeMap<{}, "div">>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
package/accordion/accordion.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import MuiAccordion, { AccordionProps as MuiAccordionProps } from '@mui/material/Accordion';
|
|
2
2
|
export declare const AccordionComponentName: "QuantumAcccordion";
|
|
3
3
|
export declare type IAccordionProps = MuiAccordionProps;
|
|
4
|
-
export declare const Accordion: import("styled-components").StyledComponent<typeof MuiAccordion, import("
|
|
4
|
+
export declare const Accordion: import("styled-components").StyledComponent<typeof MuiAccordion, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme> & MuiAccordionProps, never>;
|
|
@@ -7,6 +7,6 @@ export declare type IAppBarActionsProps = IStyledComponentProps<{
|
|
|
7
7
|
};
|
|
8
8
|
defaultComponent: 'div';
|
|
9
9
|
}>;
|
|
10
|
-
export declare const AppBarActions: import("styled-components").StyledComponent<"div", import("
|
|
10
|
+
export declare const AppBarActions: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme> & {
|
|
11
11
|
disableSpacing?: boolean | undefined;
|
|
12
12
|
} & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "disableSpacing"> & import("../../styled").IStyledCommonProps, never>;
|
|
@@ -15,7 +15,7 @@ declare type IAppBarButtonTypeMap<P = {}, D extends React.ElementType = 'button'
|
|
|
15
15
|
defaultComponent: D;
|
|
16
16
|
}>;
|
|
17
17
|
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("
|
|
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
19
|
active?: boolean | undefined;
|
|
20
20
|
}>, never>;
|
|
21
21
|
export declare const AppBarButton: ExtendButton<IAppBarButtonTypeMap<{}, "button">>;
|
|
@@ -4,4 +4,4 @@ export declare type IAppBarContentProps = IStyledComponentProps<{
|
|
|
4
4
|
props: {};
|
|
5
5
|
defaultComponent: 'div';
|
|
6
6
|
}>;
|
|
7
|
-
export declare const AppBarContent: import("styled-components").StyledComponent<"div", import("
|
|
7
|
+
export declare const AppBarContent: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IDividerProps } from '../../divider';
|
|
2
2
|
export declare type IAppBarDividerProps = IDividerProps;
|
|
3
|
-
export declare const AppBarDivider: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").DividerTypeMap<{}, "hr">>, import("
|
|
3
|
+
export declare const AppBarDivider: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").DividerTypeMap<{}, "hr">>, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -16,7 +16,7 @@ declare type IAppBarIconButtonTypeMap<P = {}, D extends React.ElementType = 'but
|
|
|
16
16
|
defaultComponent: D;
|
|
17
17
|
}>;
|
|
18
18
|
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("
|
|
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
20
|
active?: boolean | undefined;
|
|
21
21
|
circular?: boolean | undefined;
|
|
22
22
|
}>, never>;
|
package/banner/banner.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IStyledComponentProps } from '../styled';
|
|
3
|
-
export declare const Root: import("styled-components").StyledComponent<"div", import("
|
|
3
|
+
export declare const Root: import("styled-components").StyledComponent<"div", import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
4
4
|
export interface IBannerContentOwnerState {
|
|
5
5
|
center?: boolean;
|
|
6
6
|
padding?: number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CardContentProps } from '@mui/material/CardContent';
|
|
2
|
-
export declare const CardContent: import("styled-components").StyledComponent<"div", import("
|
|
2
|
+
export declare const CardContent: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
3
3
|
export type { CardContentProps as ICardContentProps };
|
package/card/card.d.ts
CHANGED
|
@@ -10,10 +10,15 @@ export interface ICardRootOwnerState extends Partial<ICardContextValue> {
|
|
|
10
10
|
selected?: boolean;
|
|
11
11
|
button?: boolean;
|
|
12
12
|
}
|
|
13
|
-
export declare const Root: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/Card").CardTypeMap<{}, "div">>, import("
|
|
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
14
|
export interface ICardTypeMap<P = {}, D extends React.ElementType = 'div'> {
|
|
15
15
|
props: P & Omit<PaperProps, 'variant' | 'ref' | 'component'> & Partial<ICardRootOwnerState> & {
|
|
16
16
|
component?: React.ElementType;
|
|
17
|
+
/**
|
|
18
|
+
* The variant to use.
|
|
19
|
+
* @default outlined
|
|
20
|
+
*/
|
|
21
|
+
variant?: PaperProps['variant'];
|
|
17
22
|
};
|
|
18
23
|
defaultComponent: D;
|
|
19
24
|
}
|
package/code/code.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ 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("
|
|
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
6
|
export declare type ICodeProps = IStyledComponentProps<{
|
|
7
7
|
props: {
|
|
8
8
|
variant?: 'code1' | 'code2';
|
package/content/content.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Content: import("styled-components").StyledComponent<"div", import("
|
|
1
|
+
export declare const Content: import("styled-components").StyledComponent<"div", import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
@@ -2,9 +2,9 @@ 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("
|
|
6
|
-
export declare const StyledTitleBlock: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<ITitleBlockProps & React.RefAttributes<HTMLDivElement>>, import("
|
|
7
|
-
export declare const ActionContainer: import("styled-components").StyledComponent<"div", import("
|
|
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
8
|
export declare type IDangerZoneItemProps = IStyledComponentProps<{
|
|
9
9
|
props: Pick<ITitleBlockProps, 'title' | 'titleTypographyProps' | 'description' | 'descriptionTypographyProps'> & {
|
|
10
10
|
action: IDangerZoneItemActionProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IButtonProps } from '../../button';
|
|
3
3
|
export declare const dangerZoneItemActionComponentName: "QuantumDangerZoneItemAction";
|
|
4
|
-
export declare const Root: import("styled-components").StyledComponent<import("../../overridable-component").OverridableComponent<import("../../button/button").IButtonTypeMap<{}, "button">>, import("
|
|
4
|
+
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>, never>;
|
|
5
5
|
export declare type IDangerZoneItemActionProps = IButtonProps;
|
|
6
6
|
export declare const DangerZoneItemAction: React.ForwardRefExoticComponent<Pick<IDangerZoneItemActionProps, "form" | "label" | "slot" | "title" | "color" | "type" | "action" | "disabled" | "hidden" | "size" | "translate" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "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" | "fullWidth" | "centerRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "endIcon" | "href" | "startIcon" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "component" | "rel" | "target" | "isLoading" | "SpinnerProps"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -5,7 +5,7 @@ interface IDescriptionBlockRootOwnerState {
|
|
|
5
5
|
layout?: 'default' | 'inline';
|
|
6
6
|
label?: React.ReactNode;
|
|
7
7
|
}
|
|
8
|
-
export declare const Root: import("styled-components").StyledComponent<"div", import("
|
|
8
|
+
export declare const Root: import("styled-components").StyledComponent<"div", import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme> & IStyledOwnerStateProps<IDescriptionBlockRootOwnerState>, never>;
|
|
9
9
|
export declare type IDescriptionBlockProps = IStyledComponentProps<{
|
|
10
10
|
props: IDescriptionBlockRootOwnerState & {
|
|
11
11
|
description: React.ReactNode;
|
|
@@ -6,5 +6,5 @@ export interface IDialogTitleProps extends Omit<DialogTitleProps, 'classes'> {
|
|
|
6
6
|
onClose?(event: {}, reason: 'closeClick'): void;
|
|
7
7
|
classes?: Partial<DialogTitleClasses>;
|
|
8
8
|
}
|
|
9
|
-
export declare const Root: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/DialogTitle").DialogTitleTypeMap<{}, "span">>, import("
|
|
9
|
+
export declare const Root: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/DialogTitle").DialogTitleTypeMap<{}, "span">>, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
10
10
|
export declare const DialogTitle: React.ForwardRefExoticComponent<Pick<IDialogTitleProps, "p" | "slot" | "style" | "title" | "color" | "border" | "boxShadow" | "hidden" | "left" | "right" | "bottom" | "top" | "flex" | "padding" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "translate" | "visibility" | "whiteSpace" | "width" | "zIndex" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "typography" | "className" | "classes" | "children" | "sx" | "variant" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "disableTypography" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping" | "component" | "onClose"> & React.RefAttributes<HTMLDivElement>>;
|
package/dialog/dialog.d.ts
CHANGED
|
@@ -12,5 +12,5 @@ export interface IDialogProps extends Omit<DialogProps, 'title' | 'onClose'> {
|
|
|
12
12
|
onClose?(event: {}, reason: 'backdropClick' | 'escapeKeyDown' | 'closeClick'): void;
|
|
13
13
|
}
|
|
14
14
|
export declare const dialogComponentName = "QuantumDialog";
|
|
15
|
-
export declare const Root: import("styled-components").StyledComponent<typeof MuiDialog, import("
|
|
15
|
+
export declare const Root: import("styled-components").StyledComponent<typeof MuiDialog, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
16
16
|
export declare const Dialog: React.ForwardRefExoticComponent<Pick<IDialogProps, "slot" | "style" | "title" | "color" | "hidden" | "scroll" | "open" | "maxWidth" | "transitionDuration" | "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" | "fullWidth" | "components" | "componentsProps" | "container" | "BackdropComponent" | "BackdropProps" | "closeAfterTransition" | "disableAutoFocus" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disablePortal" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "keepMounted" | "onBackdropClick" | "onClose" | "PaperProps" | "TransitionComponent" | "TransitionProps" | "actions" | "PaperComponent" | "fullScreen" | "disableBackdropClick" | "disableContentWrap"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -4,13 +4,13 @@ import { IPageHeaderProps } from '../page';
|
|
|
4
4
|
import { IRowLayoutProps } from '../row-layout';
|
|
5
5
|
import { ITextProps } from '../text';
|
|
6
6
|
import { EmptyStateClasses } from './empty-state-classes';
|
|
7
|
-
export declare const Root: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../utils/layouts").ILayoutComponentProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | keyof import("../utils/layouts").ILayoutComponentProps> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>, import("
|
|
8
|
-
export declare const StyledCard: import("styled-components").StyledComponent<import("../overridable-component").OverridableComponent<import("../card/card").ICardTypeMap<{}, "div">>, import("
|
|
9
|
-
export declare const Subtitle: import("styled-components").StyledComponent<import("../overridable-component").OverridableComponent<import("@mui/material").TypographyTypeMap<{}, "span">>, import("
|
|
10
|
-
export declare const Content: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../utils/layouts").ILayoutComponentProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | keyof import("../utils/layouts").ILayoutComponentProps> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>, import("
|
|
11
|
-
export declare const Actions: import("styled-components").StyledComponent<"div", import("
|
|
12
|
-
export declare const Icon: import("styled-components").StyledComponent<"div", import("
|
|
13
|
-
export declare const Message: import("styled-components").StyledComponent<import("../overridable-component").OverridableComponent<import("@mui/material").TypographyTypeMap<{}, "span">>, import("
|
|
7
|
+
export declare const Root: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../utils/layouts").ILayoutComponentProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | keyof import("../utils/layouts").ILayoutComponentProps> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
8
|
+
export declare const StyledCard: import("styled-components").StyledComponent<import("../overridable-component").OverridableComponent<import("../card/card").ICardTypeMap<{}, "div">>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
9
|
+
export declare const Subtitle: import("styled-components").StyledComponent<import("../overridable-component").OverridableComponent<import("@mui/material").TypographyTypeMap<{}, "span">>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
10
|
+
export declare const Content: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../utils/layouts").ILayoutComponentProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | keyof import("../utils/layouts").ILayoutComponentProps> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
11
|
+
export declare const Actions: import("styled-components").StyledComponent<"div", import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
12
|
+
export declare const Icon: import("styled-components").StyledComponent<"div", import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
13
|
+
export declare const Message: import("styled-components").StyledComponent<import("../overridable-component").OverridableComponent<import("@mui/material").TypographyTypeMap<{}, "span">>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
14
14
|
export interface IEmptyStateProps extends Omit<IRowLayoutProps, 'title' | 'classes'> {
|
|
15
15
|
/** Optional sibling breadcrumb content */
|
|
16
16
|
breadcrumbs?: React.ReactNode;
|
|
@@ -21,12 +21,13 @@ import { useMediaQuery } from '../use-media-query';
|
|
|
21
21
|
import { DEFAULT_COLOR_MODE, QuantumContext } from './quantum-context';
|
|
22
22
|
var DEFAULT_COLOR_MODE_STORAGE_KEY = 'quantum:color-mode';
|
|
23
23
|
export var PREFERS_DARK_MODE_QUERY = '(prefers-color-scheme: dark)';
|
|
24
|
-
|
|
24
|
+
var validColorModes = new Set(['light', 'dark', 'system']);
|
|
25
|
+
export var getCurrentColorModeFromStorage = function () {
|
|
25
26
|
try {
|
|
26
|
-
return window.localStorage.getItem(DEFAULT_COLOR_MODE_STORAGE_KEY);
|
|
27
|
+
return window.localStorage.getItem(DEFAULT_COLOR_MODE_STORAGE_KEY) || DEFAULT_COLOR_MODE;
|
|
27
28
|
}
|
|
28
29
|
catch (_err) {
|
|
29
|
-
return
|
|
30
|
+
return DEFAULT_COLOR_MODE;
|
|
30
31
|
}
|
|
31
32
|
};
|
|
32
33
|
var setCurrentColorModeInStorage = function (mode) {
|
|
@@ -40,13 +41,19 @@ var setCurrentColorModeInStorage = function (mode) {
|
|
|
40
41
|
var computePaletteMode = function (currentColorMode, prefersDarkMode) {
|
|
41
42
|
return currentColorMode === 'system' ? (prefersDarkMode ? 'dark' : 'light') : currentColorMode;
|
|
42
43
|
};
|
|
44
|
+
var isValidColorMode = function (colorMode) {
|
|
45
|
+
return validColorModes.has(colorMode);
|
|
46
|
+
};
|
|
47
|
+
var computeValidColorMode = function (colorMode) {
|
|
48
|
+
return isValidColorMode(colorMode) ? colorMode : DEFAULT_COLOR_MODE;
|
|
49
|
+
};
|
|
43
50
|
export var QuantumProvider = function (_a) {
|
|
44
|
-
var _b = _a.theme, theme = _b === void 0 ? defaultQuantumTheme : _b, children = _a.children, onColorModeChange = _a.onColorModeChange, propColorMode = _a.colorMode,
|
|
45
|
-
var
|
|
46
|
-
return propColorMode || getCurrentColorModeFromStorage(
|
|
47
|
-
}), 2), colorMode =
|
|
51
|
+
var _b = _a.theme, theme = _b === void 0 ? defaultQuantumTheme : _b, children = _a.children, onColorModeChange = _a.onColorModeChange, propColorMode = _a.colorMode, defaultColorMode = _a.defaultColorMode;
|
|
52
|
+
var _c = __read(React.useState(function () {
|
|
53
|
+
return propColorMode || defaultColorMode || getCurrentColorModeFromStorage();
|
|
54
|
+
}), 2), colorMode = _c[0], setColorMode = _c[1];
|
|
48
55
|
var prefersDarkMode = useMediaQuery(PREFERS_DARK_MODE_QUERY);
|
|
49
|
-
var currentColorMode = propColorMode || colorMode;
|
|
56
|
+
var currentColorMode = computeValidColorMode(propColorMode || colorMode);
|
|
50
57
|
React.useEffect(function () {
|
|
51
58
|
var _a;
|
|
52
59
|
var mode = computePaletteMode(currentColorMode, prefersDarkMode);
|
|
@@ -54,7 +61,7 @@ export var QuantumProvider = function (_a) {
|
|
|
54
61
|
}, [currentColorMode, prefersDarkMode]);
|
|
55
62
|
var activeTheme = React.useMemo(function () {
|
|
56
63
|
var mode = computePaletteMode(currentColorMode, prefersDarkMode);
|
|
57
|
-
return theme[mode];
|
|
64
|
+
return theme[mode] || theme[DEFAULT_COLOR_MODE];
|
|
58
65
|
}, [prefersDarkMode, currentColorMode, theme]);
|
|
59
66
|
var handleSetColorMode = React.useCallback(function (mode) {
|
|
60
67
|
setColorMode(mode);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import AccordionDetails, { AccordionDetailsProps } from '@mui/material/AccordionDetails';
|
|
2
2
|
export declare type IExpansionPanelDetailsProps = AccordionDetailsProps;
|
|
3
|
-
export declare const ExpansionPanelDetails: import("styled-components").StyledComponent<typeof AccordionDetails, import("
|
|
3
|
+
export declare const ExpansionPanelDetails: import("styled-components").StyledComponent<typeof AccordionDetails, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
@@ -10,4 +10,4 @@ export declare const ExpansionPanelHeader: import("styled-components").StyledCom
|
|
|
10
10
|
subheaderTypographyProps?: import("..").ITextProps<any, {}> | undefined;
|
|
11
11
|
title?: import("react").ReactNode;
|
|
12
12
|
titleTypographyProps?: import("..").ITextProps<any, {}> | undefined;
|
|
13
|
-
} & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "title" | "ref" | "action" | "size" | "classes" | "avatar" | "disableTypography" | "subheader" | "subheaderTypographyProps" | "titleTypographyProps"> & import("../styled").IStyledCommonProps & import("react").RefAttributes<HTMLDivElement>>, import("
|
|
13
|
+
} & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "title" | "ref" | "action" | "size" | "classes" | "avatar" | "disableTypography" | "subheader" | "subheaderTypographyProps" | "titleTypographyProps"> & import("../styled").IStyledCommonProps & import("react").RefAttributes<HTMLDivElement>>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { AccordionSummaryProps } from '@mui/material/AccordionSummary';
|
|
2
2
|
export declare type IExpansionPanelSummaryProps = AccordionSummaryProps;
|
|
3
|
-
export declare const ExpansionPanelSummary: import("styled-components").StyledComponent<import("@mui/material").ExtendButtonBase<import("@mui/material/AccordionSummary").AccordionSummaryTypeMap<{}, "div">>, import("
|
|
3
|
+
export declare const ExpansionPanelSummary: import("styled-components").StyledComponent<import("@mui/material").ExtendButtonBase<import("@mui/material/AccordionSummary").AccordionSummaryTypeMap<{}, "div">>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import Accordion, { AccordionProps } from '@mui/material/Accordion';
|
|
2
2
|
export declare type IExpansionPanelProps = AccordionProps;
|
|
3
|
-
export declare const ExpansionPanel: import("styled-components").StyledComponent<typeof Accordion, import("
|
|
3
|
+
export declare const ExpansionPanel: import("styled-components").StyledComponent<typeof Accordion, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
@@ -3,4 +3,4 @@ export declare type IGalleryLayoutItemProps = IStyledComponentProps<{
|
|
|
3
3
|
props: {};
|
|
4
4
|
defaultComponent: 'li';
|
|
5
5
|
}>;
|
|
6
|
-
export declare const GalleryLayoutItem: import("styled-components").StyledComponent<"li", import("
|
|
6
|
+
export declare const GalleryLayoutItem: import("styled-components").StyledComponent<"li", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -15,7 +15,7 @@ export declare type IGalleryLayoutProps = IStyledComponentProps<{
|
|
|
15
15
|
};
|
|
16
16
|
defaultComponent: 'ul';
|
|
17
17
|
}>;
|
|
18
|
-
export declare const Root: import("styled-components").StyledComponent<"ul", import("
|
|
18
|
+
export declare const Root: import("styled-components").StyledComponent<"ul", import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
19
19
|
export declare const GalleryLayout: React.ForwardRefExoticComponent<ILayoutComponentProps & {
|
|
20
20
|
size?: ResponsiveStyleValue<"small" | "medium" | "large"> | undefined;
|
|
21
21
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref" | "size" | keyof ILayoutComponentProps> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLUListElement>>;
|