@auth0/quantum-product 1.11.1 → 2.0.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-details.d.ts +1 -1
- package/accordion/accordion-summary.d.ts +1 -1
- package/accordion/accordion.d.ts +4 -4
- package/alert/alert-classes.d.ts +2 -2
- package/alert/alert.d.ts +4 -4
- package/app-bar/app-bar-actions/app-bar-actions.d.ts +1 -1
- package/app-bar/app-bar-button/app-bar-button.d.ts +2 -2
- 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 +2 -2
- package/app-bar/app-bar.d.ts +1 -1
- package/app-layout/app-layout-classes.d.ts +3 -3
- package/app-layout/app-layout.d.ts +1 -1
- package/avatar/avatar-classes.d.ts +2 -2
- package/avatar/avatar-context.d.ts +3 -3
- package/avatar/avatar.d.ts +1 -1
- package/avatar-block/avatar-block-classes.d.ts +3 -3
- package/avatar-block/avatar-block.d.ts +2 -2
- package/badge/badge.d.ts +1 -1
- package/banner/banner-classes.d.ts +2 -2
- package/banner/banner.d.ts +1 -1
- package/breadcrumbs/breadcrumbs-item/breadcrumbs-item-classes.d.ts +2 -2
- package/breadcrumbs/breadcrumbs-item/breadcrumbs-item.d.ts +2 -2
- package/breadcrumbs/breadcrumbs-overrides.d.ts +2 -2
- package/breadcrumbs/breadcrumbs-overrides.js +17 -1
- package/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/button/button-overrides.js +16 -2
- package/button/button.d.ts +2 -2
- package/card/card-context.d.ts +1 -1
- package/card/card-header/card-header-classes.d.ts +2 -2
- package/card/card-header/card-header.d.ts +1 -1
- package/card/card-header/card-header.js +1 -1
- package/card/card.d.ts +1 -1
- package/card/card.js +1 -1
- package/checkbox/checkbox-classes.d.ts +2 -2
- package/checkbox/checkbox-overrides.js +1 -1
- package/checkbox/checkbox.d.ts +1 -1
- package/checkbox-field/checkbox-field.d.ts +3 -3
- package/chip/chip-overrides.js +1 -5
- package/chip/chip.d.ts +1 -1
- package/chip/chip.js +1 -7
- package/code/code.d.ts +1 -1
- package/column-layout/column-layout.d.ts +2 -2
- package/config-block/config-block-classes.d.ts +2 -2
- package/config-block/config-block.d.ts +2 -1
- package/copy-button/copy-button.d.ts +1 -1
- package/danger-zone/danger-zone-item/danger-zone-item.d.ts +1 -1
- package/danger-zone/danger-zone-item-action/danger-zone-item-action.d.ts +2 -2
- package/data-table/data-table-row.d.ts +1 -1
- package/data-table/data-table-types.d.ts +4 -4
- package/data-table/data-table.d.ts +1 -1
- package/description-block/description-block.d.ts +1 -1
- package/dialog/dialog-title/dialog-title-classes.d.ts +2 -2
- package/dialog/dialog-title/dialog-title.d.ts +1 -1
- package/dialog/dialog.d.ts +1 -1
- package/divider/index.d.ts +1 -1
- package/dropdown-menu/dropdown-menu-classes.d.ts +2 -2
- package/dropdown-menu/dropdown-menu-divider/dropdown-menu-divider.d.ts +2 -2
- package/dropdown-menu/dropdown-menu-group/dropdown-menu-group-classes.d.ts +2 -2
- package/dropdown-menu/dropdown-menu-item/dropdown-menu-item.d.ts +1 -1
- package/dropdown-menu/dropdown-menu-list/dropdown-menu-list.d.ts +2 -2
- package/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item-classes.d.ts +2 -2
- package/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item.d.ts +2 -2
- package/dropdown-menu/dropdown-menu-search/dropdown-menu-search-classes.d.ts +2 -2
- package/dropdown-menu/dropdown-menu-search/dropdown-menu-search.d.ts +2 -2
- package/dropdown-menu/dropdown-menu-state/dropdown-menu-state.d.ts +2 -2
- package/dropdown-menu/dropdown-menu.d.ts +1 -1
- package/empty-state/empty-state-action/empty-state-action.d.ts +1 -1
- package/empty-state/empty-state-classes.d.ts +2 -2
- package/esm/breadcrumbs/breadcrumbs-overrides.js +17 -1
- package/esm/button/button-overrides.js +16 -2
- package/esm/card/card-header/card-header.js +1 -1
- package/esm/card/card.js +1 -1
- package/esm/checkbox/checkbox-overrides.js +1 -1
- package/esm/chip/chip-overrides.js +1 -5
- package/esm/chip/chip.js +1 -7
- package/esm/icon-button/icon-button-overrides.js +54 -24
- package/esm/input/outlined-input-overrides.js +11 -16
- package/esm/radio/radio-overrides.js +1 -1
- package/esm/switch/switch-overrides.js +12 -1
- package/esm/tabs/tab/tab-override.js +4 -13
- package/esm/theme/create-mixins.js +4 -5
- 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/field-set/field-set-classes.d.ts +2 -2
- package/field-set/field-set.d.ts +2 -2
- package/floating-panel/floating-panel.d.ts +1 -1
- package/form/form-actions/form-actions-classes.d.ts +2 -2
- package/form/form-actions/form-actions.d.ts +2 -2
- package/form/form-control-label/form-control-label-classes.d.ts +2 -2
- package/form/form-control-label/form-control-label.d.ts +2 -2
- package/form/form-field/form-field-classes.d.ts +2 -2
- package/form/form-field/form-field.d.ts +2 -2
- package/form/form-helper-text/index.d.ts +1 -1
- package/form/form-layout/form-layout-context.d.ts +1 -1
- package/foundations/token-tables.d.ts +5 -5
- package/gallery-layout/gallery-layout-item/gallery-layout-item.d.ts +1 -1
- package/gallery-layout/gallery-layout.d.ts +2 -2
- package/icon/index.d.ts +344 -344
- package/icon/types.d.ts +1 -1
- package/icon-button/icon-button-overrides.js +54 -24
- package/icon-button/icon-button.d.ts +3 -3
- package/identicons/common.d.ts +1 -1
- package/identicons/icons/icon-access-token.d.ts +2 -2
- package/identicons/icons/icon-account-takeover.d.ts +2 -2
- package/identicons/icons/icon-actions.d.ts +2 -2
- package/identicons/icons/icon-activity.d.ts +2 -2
- package/identicons/icons/icon-advanced-options.d.ts +2 -2
- package/identicons/icons/icon-anticipation.d.ts +2 -2
- package/identicons/icons/icon-api-related.d.ts +2 -2
- package/identicons/icons/icon-api.d.ts +2 -2
- package/identicons/icons/icon-applications.d.ts +2 -2
- package/identicons/icons/icon-attributes.d.ts +2 -2
- package/identicons/icons/icon-auth0-authorization-server.d.ts +2 -2
- package/identicons/icons/icon-auth0-dashboard.d.ts +2 -2
- package/identicons/icons/icon-auth0-logo-dark.d.ts +2 -2
- package/identicons/icons/icon-auth0-logo-light.d.ts +2 -2
- package/identicons/icons/icon-authentication-a.d.ts +2 -2
- package/identicons/icons/icon-authentication-b.d.ts +2 -2
- package/identicons/icons/icon-authorization-server.d.ts +2 -2
- package/identicons/icons/icon-backend.d.ts +2 -2
- package/identicons/icons/icon-biometrics.d.ts +2 -2
- package/identicons/icons/icon-bot-detection.d.ts +2 -2
- package/identicons/icons/icon-boundary-protocol.d.ts +2 -2
- package/identicons/icons/icon-branding.d.ts +2 -2
- package/identicons/icons/icon-breached-password.d.ts +2 -2
- package/identicons/icons/icon-browser.d.ts +2 -2
- package/identicons/icons/icon-brute-force.d.ts +2 -2
- package/identicons/icons/icon-certificate.d.ts +2 -2
- package/identicons/icons/icon-cli-script.d.ts +2 -2
- package/identicons/icons/icon-cloud.d.ts +2 -2
- package/identicons/icons/icon-consistency.d.ts +2 -2
- package/identicons/icons/icon-cookies.d.ts +2 -2
- package/identicons/icons/icon-credential-application.d.ts +2 -2
- package/identicons/icons/icon-credential-stuffing.d.ts +2 -2
- package/identicons/icons/icon-credential-user.d.ts +2 -2
- package/identicons/icons/icon-customization.d.ts +2 -2
- package/identicons/icons/icon-dashboard.d.ts +2 -2
- package/identicons/icons/icon-database.d.ts +2 -2
- package/identicons/icons/icon-desktop-app.d.ts +2 -2
- package/identicons/icons/icon-device-biometrics.d.ts +2 -2
- package/identicons/icons/icon-efficiency.d.ts +2 -2
- package/identicons/icons/icon-empathy.d.ts +2 -2
- package/identicons/icons/icon-enterprise-directory.d.ts +2 -2
- package/identicons/icons/icon-extensions.d.ts +2 -2
- package/identicons/icons/icon-fine-grained-authorization.d.ts +2 -2
- package/identicons/icons/icon-getting-started.d.ts +2 -2
- package/identicons/icons/icon-guardian-push-notification.d.ts +2 -2
- package/identicons/icons/icon-help.d.ts +2 -2
- package/identicons/icons/icon-id-token.d.ts +2 -2
- package/identicons/icons/icon-identifier-first.d.ts +2 -2
- package/identicons/icons/icon-identifier-password.d.ts +2 -2
- package/identicons/icons/icon-integrations-marketplace.d.ts +2 -2
- package/identicons/icons/icon-ip-throttling.d.ts +2 -2
- package/identicons/icons/icon-login-customization.d.ts +2 -2
- package/identicons/icons/icon-login.d.ts +2 -2
- package/identicons/icons/icon-logout-token.d.ts +2 -2
- package/identicons/icons/icon-logs.d.ts +2 -2
- package/identicons/icons/icon-mail-message-a.d.ts +2 -2
- package/identicons/icons/icon-mail-message-b.d.ts +2 -2
- package/identicons/icons/icon-marketplace-approved.d.ts +2 -2
- package/identicons/icons/icon-marketplace-create.d.ts +2 -2
- package/identicons/icons/icon-mobile-app.d.ts +2 -2
- package/identicons/icons/icon-monitoring.d.ts +2 -2
- package/identicons/icons/icon-multifactor.d.ts +2 -2
- package/identicons/icons/icon-multiple-failed-logins.d.ts +2 -2
- package/identicons/icons/icon-one-time-password.d.ts +2 -2
- package/identicons/icons/icon-organizations.d.ts +2 -2
- package/identicons/icons/icon-phone-message-a.d.ts +2 -2
- package/identicons/icons/icon-phone-message-b.d.ts +2 -2
- package/identicons/icons/icon-pipeline-a.d.ts +2 -2
- package/identicons/icons/icon-pipeline-b.d.ts +2 -2
- package/identicons/icons/icon-refresh-token.d.ts +2 -2
- package/identicons/icons/icon-sdk.d.ts +2 -2
- package/identicons/icons/icon-security.d.ts +2 -2
- package/identicons/icons/icon-server.d.ts +2 -2
- package/identicons/icons/icon-settings.d.ts +2 -2
- package/identicons/icons/icon-social-providers.d.ts +2 -2
- package/identicons/icons/icon-spa.d.ts +2 -2
- package/identicons/icons/icon-teams.d.ts +2 -2
- package/identicons/icons/icon-tenant.d.ts +2 -2
- package/identicons/icons/icon-user-database.d.ts +2 -2
- package/identicons/icons/icon-user-management.d.ts +2 -2
- package/identicons/icons/icon-user.d.ts +2 -2
- package/identicons/icons/icon-users.d.ts +2 -2
- package/identicons/icons/icon-video.d.ts +2 -2
- package/identicons/icons/icon-web-app.d.ts +2 -2
- package/identicons/icons/icon-webauthn.d.ts +2 -2
- package/illustrations/common.d.ts +1 -1
- package/illustrations/components/experienced-user.d.ts +2 -2
- package/illustrations/components/new-auth0-user-a.d.ts +2 -2
- package/illustrations/components/notifications.d.ts +2 -2
- package/illustrations/components/roles.d.ts +2 -2
- package/illustrations/components/single-sign-on.d.ts +2 -2
- package/illustrations/components/streams-logs.d.ts +2 -2
- package/illustrations/components/users.d.ts +2 -2
- package/image/image.d.ts +2 -2
- package/image-preview-field/image-preview-field.d.ts +2 -1
- package/input/input-adornment/input-adornment.d.ts +1 -1
- package/input/input.d.ts +2 -2
- package/input/outlined-input-overrides.js +11 -16
- package/label/label.d.ts +2 -2
- package/link/link-classes.d.ts +2 -2
- package/link/link.d.ts +3 -3
- package/logo/logo-classes.d.ts +2 -2
- package/logo/logo.d.ts +3 -3
- package/overridable-component.d.ts +2 -2
- package/package.json +2 -2
- package/page/page-header/page-header-classes.d.ts +2 -2
- package/page/page-header/page-header.d.ts +1 -1
- package/page/page.d.ts +1 -1
- package/pagination/pager/pager-classes.d.ts +2 -2
- package/pagination/pagination-classes.d.ts +2 -2
- package/pagination/pagination.d.ts +1 -1
- package/panel/panel/panel-classes.d.ts +2 -2
- package/panel/panel/panel.d.ts +2 -2
- package/panel/panel-body/panel-body.d.ts +1 -1
- package/panel/panel-context.d.ts +3 -3
- package/panel/panel-footer/panel-footer.d.ts +1 -1
- package/panel/panel-header/panel-header-classes.d.ts +2 -2
- package/panel/panel-header/panel-header.d.ts +2 -2
- package/panel/panel-layout/panel-layout-classes.d.ts +2 -2
- package/panel/panel-layout/panel-layout.d.ts +1 -1
- package/promo-banner/promo-banner-classes.d.ts +2 -2
- package/promo-banner/promo-banner.d.ts +1 -1
- package/pulsing-dot/pulsing-dot.d.ts +2 -2
- package/quantum-provider/quantum-context.d.ts +1 -1
- package/radio/radio-classes.d.ts +2 -2
- package/radio/radio-overrides.js +1 -1
- package/radio/radio.d.ts +1 -1
- package/radio-field/radio-field.d.ts +3 -3
- package/region/flags.d.ts +6 -6
- package/region/region-classes.d.ts +2 -2
- package/region/region.d.ts +3 -3
- package/row-layout/row-layout.d.ts +1 -1
- package/select/select-classes.d.ts +2 -2
- package/select/select-menu/select-menu.d.ts +1 -1
- 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/select/select-options.d.ts +2 -2
- package/selectable-card/selectable-card-classes.d.ts +2 -2
- package/selectable-card/selectable-card-group/selectable-card-group-classes.d.ts +2 -2
- package/selectable-card/selectable-card-group/selectable-card-group.d.ts +2 -1
- package/selectable-card/selectable-card.d.ts +2 -2
- package/sidebar/sidebar-banner/sidebar-banner.d.ts +1 -1
- package/sidebar/sidebar-classes.d.ts +2 -2
- package/sidebar/sidebar-items/sidebar-items.d.ts +1 -1
- package/sidebar/sidebar-link/sidebar-link-classes.d.ts +2 -2
- package/sidebar/sidebar-link/sidebar-link.d.ts +1 -1
- package/sidebar/sidebar-menu/sidebar-menu-classes.d.ts +2 -2
- package/sidebar/sidebar-menu/sidebar-menu.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/spinner/spinner-classes.d.ts +2 -2
- package/spinner/spinner.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/status/status-dot/status-dot-classes.d.ts +2 -2
- package/status/status-dot/status-dot.d.ts +2 -2
- package/status/status-icon/status-icon-classes.d.ts +2 -2
- package/status/status-icon/status-icon.d.ts +3 -3
- package/stepper/step-label/step-label.d.ts +1 -1
- package/styled.d.ts +2 -2
- package/svg-icon/svg-icon.d.ts +1 -1
- package/switch/switch-classes.d.ts +2 -2
- package/switch/switch-field/switch-field.d.ts +3 -2
- package/switch/switch-overrides.js +12 -1
- package/switch/switch.d.ts +1 -1
- package/table/table-empty-state/table-empty-state.d.ts +1 -1
- package/table/table-loading-state/table-loading-state-classes.d.ts +2 -2
- package/table/table-loading-state/table-loading-state.d.ts +1 -1
- package/table/table-sort-label/index.d.ts +2 -2
- package/tabs/tab/tab-override.js +4 -13
- package/tabs/tab/tab.d.ts +2 -2
- package/tabs/tab-list/tab-list.d.ts +1 -1
- package/tabs/tab-panel/tab-panel.d.ts +1 -1
- package/tabs/tabs.d.ts +1 -0
- package/text/index.d.ts +1 -1
- package/theme/colors.d.ts +4 -4
- package/theme/create-component-overrides.d.ts +1 -1
- package/theme/create-components.d.ts +1 -1
- package/theme/create-layout.d.ts +1 -1
- package/theme/create-mixins.d.ts +1 -1
- package/theme/create-mixins.js +3 -4
- package/theme/create-palette.d.ts +7 -7
- package/theme/create-theme.d.ts +2 -2
- package/theme/create-typography.d.ts +2 -2
- package/theme/tokens.d.ts +15 -15
- package/title-block/title-block-classes.d.ts +3 -3
- package/toast/toast-classes.d.ts +2 -2
- package/toast/toast.d.ts +1 -1
- package/utils/layouts.d.ts +1 -1
- package/utils/responsive-style-value.d.ts +2 -2
|
@@ -5,7 +5,7 @@ import { IRowLayoutProps } from '../../row-layout';
|
|
|
5
5
|
import { ILabelProps } from '../../label';
|
|
6
6
|
import { ITextProps } from '../../text';
|
|
7
7
|
import { PageHeaderClasses } from './page-header-classes';
|
|
8
|
-
export
|
|
8
|
+
export type IPageHeaderOwnerState = Partial<IPageContextValue>;
|
|
9
9
|
export declare const Actions: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme>, never>;
|
|
10
10
|
export interface IPageHeaderProps extends Omit<IRowLayoutProps, 'title'>, Pick<IAvatarBlockProps, 'titleTypographyProps' | 'descriptionTypographyProps'>, Pick<ILabelProps, 'productReleaseStage' | 'productReleaseStageAbbr'> {
|
|
11
11
|
title: React.ReactNode;
|
package/page/page.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IStyledComponentProps } from '../styled';
|
|
3
3
|
export declare const PageComponentName: "QuantumPage";
|
|
4
|
-
export
|
|
4
|
+
export type IPageProps = IStyledComponentProps<{
|
|
5
5
|
props: {
|
|
6
6
|
fullWidth?: boolean;
|
|
7
7
|
compact?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const pagerComponentName: "QuantumPager";
|
|
2
2
|
export declare function getPagerUtilityClass(slot: string): string;
|
|
3
3
|
export declare const pagerClasses: Record<"root" | "previousPageButton" | "nextPageButton", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type PagerClasses = typeof pagerClasses;
|
|
5
|
+
export type PagerClassKey = keyof PagerClasses;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const paginationComponentName: "QuantumPagination";
|
|
2
2
|
export declare function getPaginationUtilityClass(slot: string): string;
|
|
3
3
|
export declare const paginationClasses: Record<"root" | "pageSelect" | "pageLabelText" | "pager", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type PaginationClasses = typeof paginationClasses;
|
|
5
|
+
export type PaginationClassKey = keyof PaginationClasses;
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { IStyledComponentProps } from '../styled';
|
|
3
3
|
import { PaginationClasses } from './pagination-classes';
|
|
4
4
|
import { IPagerProps } from './pager';
|
|
5
|
-
export
|
|
5
|
+
export type IPaginationProps = IStyledComponentProps<{
|
|
6
6
|
props: {
|
|
7
7
|
items: number;
|
|
8
8
|
page: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const panelComponentName: "QuantumPanel";
|
|
2
2
|
export declare function getPanelUtilityClass(slot: string): string;
|
|
3
3
|
export declare const panelClasses: Record<"fixed" | "content" | "open" | "root" | "sizeSmall" | "sizeMedium" | "sizeLarge" | "closeButton" | "variantFloating" | "variantPersistent" | "variantPermanent" | "placementStart" | "placementEnd", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type PanelClasses = typeof panelClasses;
|
|
5
|
+
export type PanelClassKey = keyof PanelClasses;
|
package/panel/panel/panel.d.ts
CHANGED
|
@@ -4,11 +4,11 @@ import { PanelClasses } from './panel-classes';
|
|
|
4
4
|
import { IIconButtonProps } from '../../icon-button';
|
|
5
5
|
import { IPanelContextValue } from '../panel-context';
|
|
6
6
|
import { IPanelHeaderProps } from '../panel-header';
|
|
7
|
-
export
|
|
7
|
+
export type IPanelOwnerState = Pick<IPanelContextValue, 'size' | 'variant' | 'placement' | 'isOpen' | 'isFixed'> & {
|
|
8
8
|
/** Sets top offset for panel. Defaults to appbar for fixed panels. All others default to 0. */
|
|
9
9
|
offsetTop?: 'appbar' | number;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type IPanelProps = IStyledComponentProps<{
|
|
12
12
|
props: Partial<IPanelOwnerState> & {
|
|
13
13
|
/** Renders a title in the PanelHeader.*/
|
|
14
14
|
title?: React.ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IStyledComponentProps } from '../../styled';
|
|
3
3
|
export declare const panelBodyComponentName: "QuantumPanelBody";
|
|
4
|
-
export
|
|
4
|
+
export type IPanelBodyProps = IStyledComponentProps<{
|
|
5
5
|
props: {
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
};
|
package/panel/panel-context.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type PanelSize = 'small' | 'medium' | 'large';
|
|
3
|
+
export type PanelVariant = 'floating' | 'persistent' | 'permanent';
|
|
4
|
+
export type PanelPlacement = 'start' | 'end';
|
|
5
5
|
export interface IPanelContextValue {
|
|
6
6
|
/**
|
|
7
7
|
* Panel size.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IStyledComponentProps } from '../../styled';
|
|
3
3
|
export declare const panelFooterComponentName: "QuantumPanelFooter";
|
|
4
|
-
export
|
|
4
|
+
export type IPanelFooterProps = IStyledComponentProps<{
|
|
5
5
|
props: {
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const panelHeaderComponentName: "QuantumPanelHeader";
|
|
2
2
|
export declare function getPanelHeaderUtilityClass(slot: string): string;
|
|
3
3
|
export declare const panelHeaderClasses: Record<"title" | "content" | "root" | "endAdornment", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type PanelHeaderClasses = typeof panelHeaderClasses;
|
|
5
|
+
export type PanelHeaderClassKey = keyof PanelHeaderClasses;
|
|
@@ -3,7 +3,7 @@ import { IStyledComponentProps } from '../../styled';
|
|
|
3
3
|
import { ITextProps } from '../../text';
|
|
4
4
|
import { PanelHeaderClasses } from './panel-header-classes';
|
|
5
5
|
export declare const panelHeaderComponentName: "QuantumPanelHeader";
|
|
6
|
-
export
|
|
6
|
+
export type IPanelHeaderProps = IStyledComponentProps<{
|
|
7
7
|
props: {
|
|
8
8
|
title: React.ReactNode;
|
|
9
9
|
titleComponent?: React.ElementType<any>;
|
|
@@ -15,7 +15,7 @@ export declare type IPanelHeaderProps = IStyledComponentProps<{
|
|
|
15
15
|
}>;
|
|
16
16
|
export declare const PanelHeader: React.ForwardRefExoticComponent<{
|
|
17
17
|
title: React.ReactNode;
|
|
18
|
-
titleComponent?: React.ElementType<any> | undefined;
|
|
18
|
+
titleComponent?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
19
19
|
titleTextProps?: Partial<ITextProps<"span", {}>> | undefined;
|
|
20
20
|
endAdornment?: React.ReactNode;
|
|
21
21
|
classes?: Partial<Record<"title" | "content" | "root" | "endAdornment", string>> | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const panelLayoutComponentName: "QuantumPanelLayout";
|
|
2
2
|
export declare function getPanelLayoutUtilityClass(slot: string): string;
|
|
3
3
|
export declare const panelLayoutClasses: Record<"content" | "root", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type PanelLayoutClasses = typeof panelLayoutClasses;
|
|
5
|
+
export type PanelLayoutClassKey = keyof PanelLayoutClasses;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IStyledComponentProps } from '../../styled';
|
|
3
3
|
import { PanelLayoutClasses } from './panel-layout-classes';
|
|
4
|
-
export
|
|
4
|
+
export type IPanelLayoutProps = IStyledComponentProps<{
|
|
5
5
|
props: {
|
|
6
6
|
startPanel?: React.ReactNode;
|
|
7
7
|
endPanel?: React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const promoBannerComponentName: "QuantumPromoBanner";
|
|
2
2
|
export declare function getPromoBannerUtilityClass(slot: string): string;
|
|
3
3
|
export declare const promoBannerClasses: Record<"title" | "image" | "action" | "content" | "root" | "secondaryAction" | "actions" | "description" | "primaryAction" | "imageContainer", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type PromoBannerClasses = typeof promoBannerClasses;
|
|
5
|
+
export type PromoBannerClassKey = keyof PromoBannerClasses;
|
|
@@ -18,4 +18,4 @@ export interface IPromoBannerProps extends Omit<IPaperProps, 'title'> {
|
|
|
18
18
|
image?: Pick<IImageProps, 'src' | 'alt'>;
|
|
19
19
|
classes?: Partial<PromoBannerClasses>;
|
|
20
20
|
}
|
|
21
|
-
export declare const PromoBanner: React.ForwardRefExoticComponent<
|
|
21
|
+
export declare const PromoBanner: React.ForwardRefExoticComponent<Omit<IPromoBannerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IStyledComponentProps } from '../styled';
|
|
3
|
-
|
|
4
|
-
export
|
|
3
|
+
type PulsingDotColor = 'default' | 'primary' | 'danger' | 'success' | 'warning' | 'info';
|
|
4
|
+
export type IPulsingDotProps = IStyledComponentProps<{
|
|
5
5
|
props: {
|
|
6
6
|
color?: PulsingDotColor;
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ITheme } from '../theme/create-theme';
|
|
3
|
-
export
|
|
3
|
+
export type ThemeColorMode = 'system' | 'light' | 'dark';
|
|
4
4
|
export declare const DEFAULT_COLOR_MODE = "light";
|
|
5
5
|
export interface IQuantumContextValue {
|
|
6
6
|
theme: ITheme;
|
package/radio/radio-classes.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const radioComponentName: "QuantumRadio";
|
|
2
2
|
export declare function getRadioUtilityClass(slot: string): string;
|
|
3
3
|
export declare const radioClasses: Record<"radio" | "formControlLabel" | "iconUnchecked" | "iconChecked", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type RadioClasses = typeof radioClasses;
|
|
5
|
+
export type RadioClassKey = keyof RadioClasses;
|
package/radio/radio-overrides.js
CHANGED
|
@@ -27,7 +27,7 @@ var createMuiRadioOverrides = function (_a) {
|
|
|
27
27
|
duration: transitions.duration.short,
|
|
28
28
|
}),
|
|
29
29
|
color: tokens.color_border_input,
|
|
30
|
-
'&:focus-within svg': __assign({ borderRadius: '50%' }, mixins.focusRing()),
|
|
30
|
+
'&:focus-within svg': __assign({ borderRadius: '50%', outlineOffset: 2 }, mixins.focusRing()),
|
|
31
31
|
// switch base is overriding this. Resetting it here.
|
|
32
32
|
'&&': {
|
|
33
33
|
padding: 0,
|
package/radio/radio.d.ts
CHANGED
|
@@ -10,4 +10,4 @@ export interface IRadioProps extends Omit<RadioProps, 'color' | 'size' | 'classe
|
|
|
10
10
|
decoration?: React.ReactNode;
|
|
11
11
|
classes?: Partial<RadioClasses>;
|
|
12
12
|
}
|
|
13
|
-
export declare const Radio: React.ForwardRefExoticComponent<
|
|
13
|
+
export declare const Radio: React.ForwardRefExoticComponent<Omit<IRadioProps, "ref"> & React.RefAttributes<HTMLButtonElement | HTMLLabelElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IRadioProps as QuantumRadioProps, IRadioGroupProps as QuantumRadioGroupProps, IRadioGroupProps } from '../radio';
|
|
3
3
|
import { IFormFieldProps } from '../form/form-field';
|
|
4
|
-
export
|
|
4
|
+
export type IRadioFieldProps = QuantumRadioGroupProps & IFormFieldProps & {
|
|
5
5
|
options: IRadioProps[];
|
|
6
6
|
RadioGroupProps?: IRadioGroupProps;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type IRadioProps = QuantumRadioProps & {
|
|
9
9
|
label: React.ReactNode;
|
|
10
10
|
};
|
|
11
|
-
export declare const RadioField: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const RadioField: React.ForwardRefExoticComponent<Omit<IRadioFieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
package/region/flags.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export declare const JpFlagSvg: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
3
|
-
export declare const UsFlagSvg: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
4
|
-
export declare const EuFlagSvg: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
5
|
-
export declare const AuFlagSvg: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
6
|
-
export declare const UkFlagSvg: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
7
|
-
export declare const PiFlagSvg: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
2
|
+
export declare const JpFlagSvg: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
|
+
export declare const UsFlagSvg: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
4
|
+
export declare const EuFlagSvg: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
5
|
+
export declare const AuFlagSvg: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
6
|
+
export declare const UkFlagSvg: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
7
|
+
export declare const PiFlagSvg: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const regionComponentName: "QuantumRegion";
|
|
2
2
|
export declare function getRegionUtilityClass(slot: string): string;
|
|
3
3
|
export declare const regionClasses: Record<"label" | "root" | "flag", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type RegionClasses = typeof regionClasses;
|
|
5
|
+
export type RegionClassKey = keyof RegionClasses;
|
package/region/region.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import * as React from 'react';
|
|
|
2
2
|
import { IStyledComponentProps } from '../styled';
|
|
3
3
|
import { ITextProps } from '../text';
|
|
4
4
|
import { RegionClasses } from './region-classes';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
5
|
+
export type RegionSize = 'small' | 'medium';
|
|
6
|
+
export type RegionLocality = 'au' | 'eu' | 'us' | 'tus' | 'jp' | 'uk' | 'tuk' | 'pi';
|
|
7
|
+
export type IRegionProps = IStyledComponentProps<{
|
|
8
8
|
props: {
|
|
9
9
|
locality?: RegionLocality;
|
|
10
10
|
size?: RegionSize;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IStyledComponentProps } from '../styled';
|
|
3
3
|
import { ILayoutComponentProps } from '../utils/layouts';
|
|
4
|
-
export
|
|
4
|
+
export type IRowLayoutProps = IStyledComponentProps<{
|
|
5
5
|
props: ILayoutComponentProps;
|
|
6
6
|
defaultComponent: 'div';
|
|
7
7
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const selectComponentName: "QuantumSelect";
|
|
2
2
|
export declare function getSelectUtilityClass(slot: string): string;
|
|
3
3
|
export declare const selectClasses: Record<"select" | "root" | "clearInputAdornment" | "clearButton" | "prefixInputAdornment" | "prefixText" | "selectMenu", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type SelectClasses = typeof selectClasses;
|
|
5
|
+
export type SelectClassKey = keyof SelectClasses;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DialogActions } from '../../dialog';
|
|
2
2
|
import { IStyledComponentProps } from '../../styled';
|
|
3
|
-
export
|
|
3
|
+
export type ISelectMenuActionsProps = IStyledComponentProps<{
|
|
4
4
|
props: {};
|
|
5
5
|
defaultComponent: 'div';
|
|
6
6
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
export interface ISelectOption<ValueType = any> {
|
|
3
3
|
text: string;
|
|
4
4
|
value: ValueType;
|
|
@@ -9,4 +9,4 @@ export interface IRenderSelectOptionsProps<ValueType = any> {
|
|
|
9
9
|
value: ValueType;
|
|
10
10
|
options: Array<ISelectOption<ValueType>>;
|
|
11
11
|
}
|
|
12
|
-
export declare const renderSelectOptions: ({ options, value }: IRenderSelectOptionsProps) => JSX.Element[];
|
|
12
|
+
export declare const renderSelectOptions: ({ options, value }: IRenderSelectOptionsProps) => React.JSX.Element[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const selectableCardComponentName: "QuantumSelectableCard";
|
|
2
2
|
export declare function getSelectableCardUtilityClass(slot: string): string;
|
|
3
3
|
export declare const selectableCardClasses: Record<"label" | "content" | "root" | "helperText" | "controlRadio" | "controlCheckbox", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type SelectableCardClasses = typeof selectableCardClasses;
|
|
5
|
+
export type SelectableCardClassKey = keyof SelectableCardClasses;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const selectableCardGroupComponentName: "QuantumSelectableCardGroup";
|
|
2
2
|
export declare function getSelectableCardGroupUtilityClass(slot: string): string;
|
|
3
3
|
export declare const selectableCardGroupClasses: Record<"root" | "radioGroup", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type SelectableCardGroupClasses = typeof selectableCardGroupClasses;
|
|
5
|
+
export type SelectableCardGroupClassKey = keyof SelectableCardGroupClasses;
|
|
@@ -6,5 +6,6 @@ export interface ISelectableCardGroupProps extends Omit<IFormFieldProps, 'classe
|
|
|
6
6
|
orientation?: 'horizontal' | 'vertical';
|
|
7
7
|
RadioGroupProps?: IRadioGroupProps;
|
|
8
8
|
classes?: Partial<SelectableCardGroupClasses>;
|
|
9
|
+
children?: React.ReactNode;
|
|
9
10
|
}
|
|
10
|
-
export declare const SelectableCardGroup: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const SelectableCardGroup: React.ForwardRefExoticComponent<Omit<ISelectableCardGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -3,8 +3,8 @@ import { ICardHeaderProps, ICardProps } from '../card';
|
|
|
3
3
|
import { ICheckboxProps } from '../checkbox';
|
|
4
4
|
import { IRadioProps } from '../radio';
|
|
5
5
|
import { SelectableCardClasses } from './selectable-card-classes';
|
|
6
|
-
|
|
7
|
-
export
|
|
6
|
+
type SelectableControlProps = 'checked' | 'onChange' | 'name' | 'disabled';
|
|
7
|
+
export type SelectableCardControlType = 'radio' | 'checkbox';
|
|
8
8
|
export interface ISelectableCardProps extends Omit<ICardProps, SelectableControlProps | 'ref' | 'title'>, Pick<IRadioProps, SelectableControlProps>, Pick<ICheckboxProps, SelectableControlProps>, Pick<ICardHeaderProps, 'avatar' | 'title'> {
|
|
9
9
|
/**
|
|
10
10
|
* Props forwarded to the Checkbox component when type === "checkbox"
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { IStyledComponentProps } from '../../styled';
|
|
3
3
|
import { IFadeProps } from '../../transitions';
|
|
4
4
|
export declare const sidebarBannerComponentName: "QuantumSidebarBanner";
|
|
5
|
-
export
|
|
5
|
+
export type ISidebarBannerProps = IStyledComponentProps<{
|
|
6
6
|
props: {
|
|
7
7
|
FadeProps?: Partial<IFadeProps>;
|
|
8
8
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const sidebarComponentName: "QuantumSidebar";
|
|
2
2
|
export declare function getSidebarUtilityClass(slot: string): string;
|
|
3
3
|
export declare const sidebarClasses: Record<"paper" | "root" | "paperHovered" | "paperCollapsed", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type SidebarClasses = typeof sidebarClasses;
|
|
5
|
+
export type SidebarClassKey = keyof SidebarClasses;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IStyledComponentProps } from '../../styled';
|
|
3
3
|
export declare const sidebarItemsComponentName: "QuantumSidebarItems";
|
|
4
|
-
export
|
|
4
|
+
export type ISidebarItemsProps = IStyledComponentProps<{
|
|
5
5
|
props: {};
|
|
6
6
|
defaultComponent: 'ul';
|
|
7
7
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const sidebarLinkComponentName: "QuantumSidebarLink";
|
|
2
2
|
export declare function getSidebarLinkUtilityClass(slot: string): string;
|
|
3
3
|
export declare const sidebarLinkClasses: Record<"link" | "title" | "icon" | "root" | "endIcon" | "startIcon" | "availabilityLabel" | "decoration", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type SidebarLinkClasses = typeof sidebarLinkClasses;
|
|
5
|
+
export type SidebarLinkClassKey = keyof SidebarLinkClasses;
|
|
@@ -52,5 +52,5 @@ export interface ISidebarLinkTypeMap<AdditionalProps = {}, DefaultComponent exte
|
|
|
52
52
|
};
|
|
53
53
|
defaultComponent: DefaultComponent;
|
|
54
54
|
}
|
|
55
|
-
export
|
|
55
|
+
export type ISidebarLinkProps<DefaultComponent extends React.ElementType = ISidebarLinkTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<ISidebarLinkTypeMap<AdditionalProps, DefaultComponent>, DefaultComponent>;
|
|
56
56
|
export declare const SidebarLink: OverridableComponent<ISidebarLinkTypeMap<{}, "a">>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const sidebarMenuComponentName: "QuantumSidebarMenu";
|
|
2
2
|
export declare function getSidebarMenuUtilityClass(slot: string): string;
|
|
3
3
|
export declare const sidebarMenuClasses: Record<"region" | "icon" | "root" | "items" | "iconExpanded", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type SidebarMenuClasses = typeof sidebarMenuClasses;
|
|
5
|
+
export type SidebarMenuClassKey = keyof SidebarMenuClasses;
|
|
@@ -28,5 +28,5 @@ export interface ISidebarMenuProps<ItemComponent extends React.ElementType = 'a'
|
|
|
28
28
|
*/
|
|
29
29
|
onExpandChange?(newValue: boolean): void;
|
|
30
30
|
}
|
|
31
|
-
export declare function SidebarMenuImpl<LinkComponentType extends React.ElementType = 'a'>(props: ISidebarMenuProps<LinkComponentType>, ref: React.Ref<any>): JSX.Element;
|
|
31
|
+
export declare function SidebarMenuImpl<LinkComponentType extends React.ElementType = 'a'>(props: ISidebarMenuProps<LinkComponentType>, ref: React.Ref<any>): React.JSX.Element;
|
|
32
32
|
export declare const SidebarMenu: typeof SidebarMenuImpl;
|
package/sidebar/sidebar-new.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ISidebarProps } from './sidebar-types';
|
|
3
|
-
export declare const Sidebar: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const Sidebar: React.ForwardRefExoticComponent<Omit<ISidebarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
package/sidebar/sidebar-old.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ISidebarProps } from './sidebar-types';
|
|
3
|
-
export declare const Sidebar: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const Sidebar: React.ForwardRefExoticComponent<Omit<ISidebarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
package/sidebar/sidebar.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ISidebarProps } from './sidebar-types';
|
|
3
|
-
export declare const Sidebar: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const Sidebar: React.ForwardRefExoticComponent<Omit<ISidebarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|