@auth0/quantum-product 1.12.0 → 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.d.ts +1 -1
- 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.d.ts +1 -1
- package/checkbox/checkbox-classes.d.ts +2 -2
- package/checkbox/checkbox.d.ts +1 -1
- package/checkbox-field/checkbox-field.d.ts +3 -3
- package/chip/chip.d.ts +1 -1
- 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/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.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/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 +1 -1
- 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.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.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.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-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
|
@@ -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.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>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const spinnerComponentName: "QuantumSpinner";
|
|
2
2
|
export declare function getSpinnerUtilityClass(slot: string): string;
|
|
3
3
|
export declare const spinnerClasses: Record<"spinner" | "root" | "logo", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type SpinnerClasses = typeof spinnerClasses;
|
|
5
|
+
export type SpinnerClassKey = keyof SpinnerClasses;
|
package/spinner/spinner.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { ILogoProps } from '../logo';
|
|
3
3
|
import { IStyledComponentProps } from '../styled';
|
|
4
4
|
import { SpinnerClasses } from './spinner-classes';
|
|
5
|
-
export
|
|
5
|
+
export type ISpinnerProps = IStyledComponentProps<{
|
|
6
6
|
props: {
|
|
7
7
|
/** Invert for dark background */
|
|
8
8
|
inverse?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IStyledComponentProps } from '../../styled';
|
|
2
2
|
export declare const StackLayoutItemComponentName: "QuantumStackLayoutItem";
|
|
3
|
-
export
|
|
3
|
+
export type IStackLayoutItemProps = IStyledComponentProps<{
|
|
4
4
|
props: {};
|
|
5
5
|
defaultComponent: 'div';
|
|
6
6
|
}>;
|
|
@@ -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 IStackLayoutProps = IStyledComponentProps<{
|
|
5
5
|
props: ILayoutComponentProps;
|
|
6
6
|
defaultComponent: 'div';
|
|
7
7
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const statusDotComponentName: "QuantumStatusDot";
|
|
2
2
|
export declare function getStatusDotUtilityClass(slot: string): string;
|
|
3
3
|
export declare const statusDotClasses: Record<"dot" | "root", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type StatusDotClasses = typeof statusDotClasses;
|
|
5
|
+
export type StatusDotClassKey = keyof StatusDotClasses;
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { IStyledComponentProps } from '../../styled';
|
|
3
3
|
import { ITextProps } from '../../text';
|
|
4
4
|
import { StatusDotClasses } from './status-dot-classes';
|
|
5
|
-
export
|
|
5
|
+
export type IStatusDotProps = IStyledComponentProps<{
|
|
6
6
|
props: {
|
|
7
7
|
label: React.ReactNode;
|
|
8
8
|
color?: 'default' | 'warning' | 'danger' | 'success' | 'info';
|
|
@@ -16,7 +16,7 @@ export declare type IStatusDotProps = IStyledComponentProps<{
|
|
|
16
16
|
};
|
|
17
17
|
defaultComponent: 'span';
|
|
18
18
|
}>;
|
|
19
|
-
export
|
|
19
|
+
export type IStatusDotOwnerState = Pick<IStatusDotProps, 'color'>;
|
|
20
20
|
export declare const StatusDot: React.ForwardRefExoticComponent<{
|
|
21
21
|
label: React.ReactNode;
|
|
22
22
|
color?: "default" | "warning" | "danger" | "success" | "info" | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const statusIconComponentName: "QuantumStatusIcon";
|
|
2
2
|
export declare function getStatusIconUtilityClass(slot: string): string;
|
|
3
3
|
export declare const statusIconClasses: Record<"icon" | "root", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type StatusIconClasses = typeof statusIconClasses;
|
|
5
|
+
export type StatusIconClassKey = keyof StatusIconClasses;
|
|
@@ -4,9 +4,9 @@ import { IStyledComponentProps } from '../../styled';
|
|
|
4
4
|
import { ITheme } from '../../theme';
|
|
5
5
|
import { StatusIconClasses } from './status-icon-classes';
|
|
6
6
|
import { ThemeColorTokenName } from '../../theme/tokens';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export
|
|
7
|
+
type StatusIconColor = 'default' | 'warning' | 'danger' | 'success' | 'info';
|
|
8
|
+
type StatusIconVariant = 'default' | 'filled';
|
|
9
|
+
export type IStatusIconProps = IStyledComponentProps<{
|
|
10
10
|
props: {
|
|
11
11
|
color?: StatusIconColor;
|
|
12
12
|
label?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { StepLabelProps } from '@mui/material/StepLabel';
|
|
3
|
-
export declare const StepLabel: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const StepLabel: React.ForwardRefExoticComponent<Omit<StepLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
package/styled.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import type { DefaultComponentProps, OverridableTypeMap } from './overridable-component';
|
|
3
3
|
import { shouldForwardProp, SxProps as MUISxProps } from '@mui/system';
|
|
4
4
|
import { ITheme } from './theme';
|
|
5
|
-
export
|
|
5
|
+
export type SxProps = MUISxProps<ITheme>;
|
|
6
6
|
export interface IStyledCommonProps {
|
|
7
7
|
sx?: SxProps;
|
|
8
8
|
as?: React.ElementType;
|
|
@@ -12,7 +12,7 @@ export interface IStyledCommonProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Props for components that use a styled component as the root
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export type IStyledComponentProps<TypeMap extends OverridableTypeMap> = DefaultComponentProps<TypeMap> & IStyledCommonProps;
|
|
16
16
|
export interface IStyledOwnerStateProps<Props = {}> {
|
|
17
17
|
ownerState: Props;
|
|
18
18
|
}
|
package/svg-icon/svg-icon.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IStyledComponentProps } from '../styled';
|
|
3
|
-
export
|
|
3
|
+
export type ISVGIconProps = IStyledComponentProps<{
|
|
4
4
|
props: {
|
|
5
5
|
/** Shortcut prop for height and width.
|
|
6
6
|
* @default "1em"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const switchComponentName: "QuantumSwitch";
|
|
2
2
|
export declare function getSwitchUtilityClass(slot: string): string;
|
|
3
3
|
export declare const switchClasses: Record<"switch" | "formControlLabel", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type SwitchClasses = typeof switchClasses;
|
|
5
|
+
export type SwitchClassKey = keyof SwitchClasses;
|