@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,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IIdenticonProps } from '../common';
|
|
3
|
-
export declare const IdenticonUser: import("styled-components").StyledComponent<({ color, ...props }: IIdenticonProps) => JSX.Element, import("
|
|
3
|
+
export declare const IdenticonUser: import("styled-components").StyledComponent<({ color, ...props }: IIdenticonProps) => JSX.Element, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IIdenticonProps } from '../common';
|
|
3
|
-
export declare const IdenticonUsers: import("styled-components").StyledComponent<({ color, ...props }: IIdenticonProps) => JSX.Element, import("
|
|
3
|
+
export declare const IdenticonUsers: import("styled-components").StyledComponent<({ color, ...props }: IIdenticonProps) => JSX.Element, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IIdenticonProps } from '../common';
|
|
3
|
-
export declare const IdenticonVideo: import("styled-components").StyledComponent<({ color, ...props }: IIdenticonProps) => JSX.Element, import("
|
|
3
|
+
export declare const IdenticonVideo: import("styled-components").StyledComponent<({ color, ...props }: IIdenticonProps) => JSX.Element, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IIdenticonProps } from '../common';
|
|
3
|
-
export declare const IdenticonWebApp: import("styled-components").StyledComponent<({ color, ...props }: IIdenticonProps) => JSX.Element, import("
|
|
3
|
+
export declare const IdenticonWebApp: import("styled-components").StyledComponent<({ color, ...props }: IIdenticonProps) => JSX.Element, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IIdenticonProps } from '../common';
|
|
3
|
-
export declare const IdenticonWebauthn: import("styled-components").StyledComponent<({ color, ...props }: IIdenticonProps) => JSX.Element, import("
|
|
3
|
+
export declare const IdenticonWebauthn: import("styled-components").StyledComponent<({ color, ...props }: IIdenticonProps) => JSX.Element, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IIllustrationProps } from '../common';
|
|
3
|
-
export declare const IllustrationExperiencedUser: import("styled-components").StyledComponent<({ ...props }: IIllustrationProps) => JSX.Element, import("
|
|
3
|
+
export declare const IllustrationExperiencedUser: import("styled-components").StyledComponent<({ ...props }: IIllustrationProps) => JSX.Element, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IIllustrationProps } from '../common';
|
|
3
|
-
export declare const IllustrationNewAuth0UserA: import("styled-components").StyledComponent<({ ...props }: IIllustrationProps) => JSX.Element, import("
|
|
3
|
+
export declare const IllustrationNewAuth0UserA: import("styled-components").StyledComponent<({ ...props }: IIllustrationProps) => JSX.Element, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IIllustrationProps } from '../common';
|
|
3
|
-
export declare const IllustrationNotifications: import("styled-components").StyledComponent<({ ...props }: IIllustrationProps) => JSX.Element, import("
|
|
3
|
+
export declare const IllustrationNotifications: import("styled-components").StyledComponent<({ ...props }: IIllustrationProps) => JSX.Element, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IIllustrationProps } from '../common';
|
|
3
|
-
export declare const IllustrationRoles: import("styled-components").StyledComponent<({ ...props }: IIllustrationProps) => JSX.Element, import("
|
|
3
|
+
export declare const IllustrationRoles: import("styled-components").StyledComponent<({ ...props }: IIllustrationProps) => JSX.Element, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IIllustrationProps } from '../common';
|
|
3
|
-
export declare const IllustrationSingleSignOn: import("styled-components").StyledComponent<({ ...props }: IIllustrationProps) => JSX.Element, import("
|
|
3
|
+
export declare const IllustrationSingleSignOn: import("styled-components").StyledComponent<({ ...props }: IIllustrationProps) => JSX.Element, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IIllustrationProps } from '../common';
|
|
3
|
-
export declare const IllustrationStreamsLogs: import("styled-components").StyledComponent<({ ...props }: IIllustrationProps) => JSX.Element, import("
|
|
3
|
+
export declare const IllustrationStreamsLogs: import("styled-components").StyledComponent<({ ...props }: IIllustrationProps) => JSX.Element, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IIllustrationProps } from '../common';
|
|
3
|
-
export declare const IllustrationUsers: import("styled-components").StyledComponent<({ ...props }: IIllustrationProps) => JSX.Element, import("
|
|
3
|
+
export declare const IllustrationUsers: import("styled-components").StyledComponent<({ ...props }: IIllustrationProps) => JSX.Element, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
package/image/image.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare type IImageProps = IStyledComponentProps<{
|
|
|
12
12
|
};
|
|
13
13
|
defaultComponent: 'img';
|
|
14
14
|
}>;
|
|
15
|
-
export declare const Image: import("styled-components").StyledComponent<"img", import("
|
|
15
|
+
export declare const Image: import("styled-components").StyledComponent<"img", import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme> & {
|
|
16
16
|
fit?: ImageFitType | undefined;
|
|
17
17
|
/** Sets the image width to auto */
|
|
18
18
|
disableResponsive?: boolean | undefined;
|
package/input/input.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare type IMaskedInputProps = Pick<IInputProps, 'disabled' | 'placehol
|
|
|
17
17
|
export declare const getMaskedInputProps: (masked: boolean | undefined, inputProps: Pick<IInputProps, 'masked' | 'value' | 'defaultValue'>) => IMaskedInputProps;
|
|
18
18
|
export declare const Root: import("styled-components").StyledComponent<((props: OutlinedInputProps) => JSX.Element) & {
|
|
19
19
|
muiName: string;
|
|
20
|
-
}, import("
|
|
20
|
+
}, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme> & IStyledOwnerStateProps<{
|
|
21
21
|
code?: boolean | undefined;
|
|
22
22
|
}>, never>;
|
|
23
23
|
export declare const Input: React.ForwardRefExoticComponent<Pick<IInputProps, "code" | "label" | "slot" | "style" | "title" | "type" | "error" | "disabled" | "hidden" | "size" | "icon" | "translate" | "margin" | "className" | "classes" | "sx" | "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" | "endAdornment" | "components" | "componentsProps" | "max" | "autoFocus" | "name" | "value" | "required" | "multiline" | "autoComplete" | "disableInjectingGlobalStyles" | "inputComponent" | "inputProps" | "inputRef" | "readOnly" | "renderSuffix" | "rows" | "maxRows" | "minRows" | "startAdornment" | "min" | "actions" | "masked" | "suffix"> & React.RefAttributes<unknown>>;
|
package/logo/logo.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { IStyledComponentProps, IStyledOwnerStateProps } from '../styled';
|
|
|
3
3
|
import { LogoClasses } from './logo-classes';
|
|
4
4
|
export declare type LogoSize = 'xsmall' | 'small' | 'medium';
|
|
5
5
|
export declare type LogoColor = 'default' | 'dark' | 'light' | 'white';
|
|
6
|
-
export declare const Root: import("styled-components").StyledComponent<"div", import("
|
|
6
|
+
export declare const Root: import("styled-components").StyledComponent<"div", import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme> & IStyledOwnerStateProps<{
|
|
7
7
|
size?: LogoSize | undefined;
|
|
8
8
|
color: LogoColor;
|
|
9
9
|
}>, never>;
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ import { IRowLayoutProps } from '../../row-layout';
|
|
|
5
5
|
import { ITextProps } from '../../text';
|
|
6
6
|
import { PageHeaderClasses } from './page-header-classes';
|
|
7
7
|
export declare type IPageHeaderOwnerState = Partial<IPageContextValue>;
|
|
8
|
-
export declare const Actions: import("styled-components").StyledComponent<"div", import("
|
|
8
|
+
export declare const Actions: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
9
9
|
export interface IPageHeaderProps extends Omit<IRowLayoutProps, 'title'>, Pick<IAvatarBlockProps, 'titleTypographyProps' | 'descriptionTypographyProps'> {
|
|
10
10
|
title: React.ReactNode;
|
|
11
11
|
metadata?: React.ReactNode;
|
|
@@ -4,7 +4,7 @@ export interface IPanelProps extends GridProps {
|
|
|
4
4
|
position?: any;
|
|
5
5
|
children?: React.ReactChild | React.ReactChild[];
|
|
6
6
|
}
|
|
7
|
-
export declare const Root: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").GridTypeMap<{}, "div">>, import("
|
|
7
|
+
export declare const Root: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").GridTypeMap<{}, "div">>, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme> & {
|
|
8
8
|
position: 'start' | 'end' | undefined;
|
|
9
9
|
}, never>;
|
|
10
10
|
export declare const Panel: React.ForwardRefExoticComponent<Pick<IPanelProps, "p" | "slot" | "style" | "title" | "color" | "border" | "boxShadow" | "hidden" | "left" | "right" | "bottom" | "top" | "flex" | "wrap" | "padding" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "direction" | "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" | "columns" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "typography" | "spacing" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "container" | "xs" | "sm" | "md" | "lg" | "xl" | "columnSpacing" | "item" | "rowSpacing" | "zeroMinWidth"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -2,5 +2,5 @@ import * as React from 'react';
|
|
|
2
2
|
export interface IPanelBodyProps {
|
|
3
3
|
children?: React.ReactChild;
|
|
4
4
|
}
|
|
5
|
-
export declare const Root: import("styled-components").StyledComponent<"div", import("
|
|
5
|
+
export declare const Root: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
6
6
|
export declare const PanelBody: React.ForwardRefExoticComponent<IPanelBodyProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -6,7 +6,7 @@ export declare type IPanelTitleProps = IStyledComponentProps<{
|
|
|
6
6
|
};
|
|
7
7
|
defaultComponent: 'div';
|
|
8
8
|
}>;
|
|
9
|
-
export declare const Root: import("styled-components").StyledComponent<"div", import("
|
|
9
|
+
export declare const Root: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
10
10
|
export declare const PanelTitle: React.ForwardRefExoticComponent<{
|
|
11
11
|
children?: React.ReactChild | undefined;
|
|
12
12
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "children"> & import("../../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { QuantumProvider } from './quantum-provider';
|
|
2
2
|
export type { IQuantumProviderProps } from './quantum-provider';
|
|
3
3
|
export { QuantumContext, useQuantumContext } from './quantum-context';
|
|
4
|
-
export type { IQuantumContextValue } from './quantum-context';
|
|
4
|
+
export type { IQuantumContextValue, ThemeColorMode } from './quantum-context';
|
|
@@ -9,5 +9,5 @@ export interface IQuantumProviderProps {
|
|
|
9
9
|
onColorModeChange?(colorMode: ThemeColorMode): void;
|
|
10
10
|
children?: React.ReactNode | ((ctx: IQuantumContextValue) => React.ReactNode);
|
|
11
11
|
}
|
|
12
|
-
export declare const getCurrentColorModeFromStorage: (
|
|
12
|
+
export declare const getCurrentColorModeFromStorage: () => ThemeColorMode;
|
|
13
13
|
export declare const QuantumProvider: React.FC<IQuantumProviderProps>;
|
|
@@ -47,12 +47,13 @@ var use_media_query_1 = require("../use-media-query");
|
|
|
47
47
|
var quantum_context_1 = require("./quantum-context");
|
|
48
48
|
var DEFAULT_COLOR_MODE_STORAGE_KEY = 'quantum:color-mode';
|
|
49
49
|
exports.PREFERS_DARK_MODE_QUERY = '(prefers-color-scheme: dark)';
|
|
50
|
-
var
|
|
50
|
+
var validColorModes = new Set(['light', 'dark', 'system']);
|
|
51
|
+
var getCurrentColorModeFromStorage = function () {
|
|
51
52
|
try {
|
|
52
|
-
return window.localStorage.getItem(DEFAULT_COLOR_MODE_STORAGE_KEY);
|
|
53
|
+
return window.localStorage.getItem(DEFAULT_COLOR_MODE_STORAGE_KEY) || quantum_context_1.DEFAULT_COLOR_MODE;
|
|
53
54
|
}
|
|
54
55
|
catch (_err) {
|
|
55
|
-
return
|
|
56
|
+
return quantum_context_1.DEFAULT_COLOR_MODE;
|
|
56
57
|
}
|
|
57
58
|
};
|
|
58
59
|
exports.getCurrentColorModeFromStorage = getCurrentColorModeFromStorage;
|
|
@@ -67,13 +68,19 @@ var setCurrentColorModeInStorage = function (mode) {
|
|
|
67
68
|
var computePaletteMode = function (currentColorMode, prefersDarkMode) {
|
|
68
69
|
return currentColorMode === 'system' ? (prefersDarkMode ? 'dark' : 'light') : currentColorMode;
|
|
69
70
|
};
|
|
71
|
+
var isValidColorMode = function (colorMode) {
|
|
72
|
+
return validColorModes.has(colorMode);
|
|
73
|
+
};
|
|
74
|
+
var computeValidColorMode = function (colorMode) {
|
|
75
|
+
return isValidColorMode(colorMode) ? colorMode : quantum_context_1.DEFAULT_COLOR_MODE;
|
|
76
|
+
};
|
|
70
77
|
var QuantumProvider = function (_a) {
|
|
71
|
-
var _b = _a.theme, theme = _b === void 0 ? default_theme_1.defaultQuantumTheme : _b, children = _a.children, onColorModeChange = _a.onColorModeChange, propColorMode = _a.colorMode,
|
|
72
|
-
var
|
|
73
|
-
return propColorMode || (0, exports.getCurrentColorModeFromStorage)(
|
|
74
|
-
}), 2), colorMode =
|
|
78
|
+
var _b = _a.theme, theme = _b === void 0 ? default_theme_1.defaultQuantumTheme : _b, children = _a.children, onColorModeChange = _a.onColorModeChange, propColorMode = _a.colorMode, defaultColorMode = _a.defaultColorMode;
|
|
79
|
+
var _c = __read(React.useState(function () {
|
|
80
|
+
return propColorMode || defaultColorMode || (0, exports.getCurrentColorModeFromStorage)();
|
|
81
|
+
}), 2), colorMode = _c[0], setColorMode = _c[1];
|
|
75
82
|
var prefersDarkMode = (0, use_media_query_1.useMediaQuery)(exports.PREFERS_DARK_MODE_QUERY);
|
|
76
|
-
var currentColorMode = propColorMode || colorMode;
|
|
83
|
+
var currentColorMode = computeValidColorMode(propColorMode || colorMode);
|
|
77
84
|
React.useEffect(function () {
|
|
78
85
|
var _a;
|
|
79
86
|
var mode = computePaletteMode(currentColorMode, prefersDarkMode);
|
|
@@ -81,7 +88,7 @@ var QuantumProvider = function (_a) {
|
|
|
81
88
|
}, [currentColorMode, prefersDarkMode]);
|
|
82
89
|
var activeTheme = React.useMemo(function () {
|
|
83
90
|
var mode = computePaletteMode(currentColorMode, prefersDarkMode);
|
|
84
|
-
return theme[mode];
|
|
91
|
+
return theme[mode] || theme[quantum_context_1.DEFAULT_COLOR_MODE];
|
|
85
92
|
}, [prefersDarkMode, currentColorMode, theme]);
|
|
86
93
|
var handleSetColorMode = React.useCallback(function (mode) {
|
|
87
94
|
setColorMode(mode);
|
|
@@ -4,4 +4,4 @@ export declare type ISelectMenuActionsProps = IStyledComponentProps<{
|
|
|
4
4
|
props: {};
|
|
5
5
|
defaultComponent: 'div';
|
|
6
6
|
}>;
|
|
7
|
-
export declare const SelectMenuActions: import("styled-components").StyledComponent<typeof DialogActions, import("
|
|
7
|
+
export declare const SelectMenuActions: import("styled-components").StyledComponent<typeof DialogActions, import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -3,4 +3,4 @@ export declare type ISelectMenuBodyProps = IStyledComponentProps<{
|
|
|
3
3
|
props: {};
|
|
4
4
|
defaultComponent: 'div';
|
|
5
5
|
}>;
|
|
6
|
-
export declare const SelectMenuBody: import("styled-components").StyledComponent<"div", import("
|
|
6
|
+
export declare const SelectMenuBody: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -3,4 +3,4 @@ export declare type ISelectMenuHeaderProps = IStyledComponentProps<{
|
|
|
3
3
|
props: {};
|
|
4
4
|
defaultComponent: 'div';
|
|
5
5
|
}>;
|
|
6
|
-
export declare const SelectMenuHeader: import("styled-components").StyledComponent<"div", import("
|
|
6
|
+
export declare const SelectMenuHeader: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -4,4 +4,4 @@ export declare type IStackLayoutItemProps = IStyledComponentProps<{
|
|
|
4
4
|
props: {};
|
|
5
5
|
defaultComponent: 'div';
|
|
6
6
|
}>;
|
|
7
|
-
export declare const StackLayoutItem: import("styled-components").StyledComponent<"div", import("
|
|
7
|
+
export declare const StackLayoutItem: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
@@ -5,5 +5,5 @@ export declare type IStackLayoutProps = IStyledComponentProps<{
|
|
|
5
5
|
props: ILayoutComponentProps;
|
|
6
6
|
defaultComponent: 'div';
|
|
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>, never>;
|
|
9
9
|
export declare const StackLayout: React.ForwardRefExoticComponent<ILayoutComponentProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | keyof ILayoutComponentProps> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
|
package/styled.d.ts
CHANGED
|
@@ -17,4 +17,4 @@ export interface IStyledOwnerStateProps<Props = {}> {
|
|
|
17
17
|
ownerState: Props;
|
|
18
18
|
}
|
|
19
19
|
export declare const rootShouldForwardProp: typeof shouldForwardProp;
|
|
20
|
-
export declare const styled: import("@mui/system").CreateMUIStyled<
|
|
20
|
+
export declare const styled: import("@mui/system").CreateMUIStyled<ITheme>;
|
|
@@ -3,4 +3,4 @@ export declare type ITableEmptyStateProps = IStyledComponentProps<{
|
|
|
3
3
|
props: {};
|
|
4
4
|
defaultComponent: 'div';
|
|
5
5
|
}>;
|
|
6
|
-
export declare const TableEmptyState: import("styled-components").StyledComponent<"div", import("
|
|
6
|
+
export declare const TableEmptyState: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
package/theme/create-theme.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { Palette, Theme, ThemeOptions, Breakpoints } from '@mui/material/styles';
|
|
2
|
+
import { SemanticThemeTokens, GlobalThemeTokens } from './tokens';
|
|
3
|
+
import { ILayout } from './create-layout';
|
|
2
4
|
import { IComponentsOptions } from './create-components';
|
|
3
|
-
import {
|
|
5
|
+
import { IMixins } from './create-mixins';
|
|
6
|
+
import { ITypography, ITypographyOptions } from './create-typography';
|
|
4
7
|
export declare type IThemeOptions = Omit<ThemeOptions, 'typography'> & {
|
|
5
8
|
components?: IComponentsOptions['components'];
|
|
6
9
|
typography?: ((partialTheme: {
|
|
@@ -8,5 +11,15 @@ export declare type IThemeOptions = Omit<ThemeOptions, 'typography'> & {
|
|
|
8
11
|
breakpoints: Breakpoints;
|
|
9
12
|
}) => ITypographyOptions) | ITypographyOptions;
|
|
10
13
|
};
|
|
11
|
-
|
|
14
|
+
interface IThemeCustomProps {
|
|
15
|
+
layout: ILayout;
|
|
16
|
+
typography: ITypography;
|
|
17
|
+
mixins: IMixins;
|
|
18
|
+
/** Returns spacing as px number value without the unit */
|
|
19
|
+
spacingPX(factor: number): number;
|
|
20
|
+
tokens: SemanticThemeTokens;
|
|
21
|
+
unsafe_globalTokens: GlobalThemeTokens;
|
|
22
|
+
}
|
|
23
|
+
export declare type ITheme = Theme & IThemeCustomProps;
|
|
12
24
|
export declare const createTheme: ({ layout: layoutOptions, components: componentsOptions, palette: paletteOptions, typography: typographyOptions, breakpoints: breakpointsOptions, tokens, ...options }?: IThemeOptions) => ITheme;
|
|
25
|
+
export {};
|
|
@@ -9,5 +9,5 @@ export interface ITypography extends Typography {
|
|
|
9
9
|
input: TypographyStyle;
|
|
10
10
|
fontWeightSemibold: any;
|
|
11
11
|
}
|
|
12
|
-
export declare type ITypographyOptions = TypographyOptions
|
|
13
|
-
export declare const createTypography: (overrides:
|
|
12
|
+
export declare type ITypographyOptions = TypographyOptions & Partial<ITypography>;
|
|
13
|
+
export declare const createTypography: (overrides: ITypographyOptions | undefined, tokens: ThemeTokens) => ITypographyOptions;
|
package/theme/default-theme.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const defaultTheme: import("
|
|
1
|
+
export declare const defaultTheme: import("./create-theme").ITheme;
|
|
2
2
|
export declare const defaultQuantumTheme: import("./create-quantum-theme").IQuantumTheme;
|
package/theme/use-theme.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useTheme: () => import("
|
|
1
|
+
export declare const useTheme: () => import("./create-theme").ITheme;
|