@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const configBlockComponentName: "QuantumConfigBlock";
|
|
2
2
|
export declare function getConfigBlockUtilityClass(slot: string): string;
|
|
3
3
|
export declare const configBlockClasses: Record<"root" | "avatar" | "control", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type ConfigBlockClasses = typeof configBlockClasses;
|
|
5
|
+
export type ConfigBlockClassKey = keyof ConfigBlockClasses;
|
|
@@ -6,8 +6,9 @@ interface IControlRenderProps {
|
|
|
6
6
|
id?: string;
|
|
7
7
|
controlId?: string;
|
|
8
8
|
helperTextId?: string;
|
|
9
|
+
'aria-describedby'?: string;
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
+
type ControlRenderer = (props: IControlRenderProps) => React.ReactNode;
|
|
11
12
|
export interface IConfigBlockProps extends Omit<IColumnLayoutProps, 'title'>, Pick<IAvatarBlockProps, 'avatar' | 'title' | 'titleTypographyProps' | 'description' | 'descriptionTypographyProps'> {
|
|
12
13
|
AvatarBlockProps?: Partial<IAvatarBlockProps>;
|
|
13
14
|
control?: ControlRenderer | React.ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IIconButtonProps } from '../icon-button';
|
|
3
|
-
export
|
|
3
|
+
export type ICopyButtonProps = IIconButtonProps;
|
|
4
4
|
export declare const CopyButton: React.ForwardRefExoticComponent<{
|
|
5
5
|
variant?: "link" | "outlined" | "contained" | undefined;
|
|
6
6
|
shape?: "default" | "circular" | undefined;
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { IStyledComponentProps } from '../../styled';
|
|
3
3
|
import { IDangerZoneItemActionProps } from '../danger-zone-item-action';
|
|
4
4
|
import { ITitleBlockProps } from '../../title-block';
|
|
5
|
-
export
|
|
5
|
+
export type IDangerZoneItemProps = IStyledComponentProps<{
|
|
6
6
|
props: Pick<ITitleBlockProps, 'title' | 'titleTypographyProps' | 'description' | 'descriptionTypographyProps'> & {
|
|
7
7
|
action: IDangerZoneItemActionProps;
|
|
8
8
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IButtonProps } from '../../button';
|
|
3
3
|
export declare const dangerZoneItemActionComponentName: "QuantumDangerZoneItemAction";
|
|
4
|
-
export
|
|
5
|
-
export declare const DangerZoneItemAction: React.ForwardRefExoticComponent<
|
|
4
|
+
export type IDangerZoneItemActionProps = IButtonProps;
|
|
5
|
+
export declare const DangerZoneItemAction: React.ForwardRefExoticComponent<Omit<IDangerZoneItemActionProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -18,4 +18,4 @@ export interface IDataTableRowProps<ItemType extends object = any> extends ITabl
|
|
|
18
18
|
componentRenderer?(item: ItemType, index: number): React.ElementType<HTMLTableRowElement>;
|
|
19
19
|
}
|
|
20
20
|
export declare const isRenderableColumn: (column: IDataTableColumn) => column is IDataTableColumnRenderable<any>;
|
|
21
|
-
export declare function DataTableRow<ItemType extends object = any>(props: IDataTableRowProps<ItemType>): JSX.Element;
|
|
21
|
+
export declare function DataTableRow<ItemType extends object = any>(props: IDataTableRowProps<ItemType>): React.JSX.Element;
|
|
@@ -4,15 +4,15 @@ export interface IDataTableCellData<ItemType extends object = any> {
|
|
|
4
4
|
item: ItemType;
|
|
5
5
|
index: number;
|
|
6
6
|
}
|
|
7
|
-
export
|
|
8
|
-
export
|
|
7
|
+
export type DataTableSortDirectionType = TableCellSortDirection;
|
|
8
|
+
export type IDataTableRowClickHandler<ItemType extends object = any> = (event: React.MouseEvent<HTMLTableRowElement>, item: IDataTableCellData<ItemType>) => void;
|
|
9
9
|
interface IDataColumnBase {
|
|
10
10
|
title: React.ReactNode;
|
|
11
11
|
width?: string | number;
|
|
12
12
|
align?: ITableCellProps['align'];
|
|
13
13
|
padding?: ITableCellProps['padding'];
|
|
14
14
|
}
|
|
15
|
-
export
|
|
15
|
+
export type UnionOrString<T> = (string & {}) | T;
|
|
16
16
|
export interface IDataTableColumnSimple<ItemType extends object = any> extends IDataColumnBase {
|
|
17
17
|
field: UnionOrString<keyof ItemType>;
|
|
18
18
|
sortable?: boolean;
|
|
@@ -20,5 +20,5 @@ export interface IDataTableColumnSimple<ItemType extends object = any> extends I
|
|
|
20
20
|
export interface IDataTableColumnRenderable<ItemType extends object = any> extends IDataColumnBase {
|
|
21
21
|
render(params: IDataTableCellData<ItemType>): React.ReactNode;
|
|
22
22
|
}
|
|
23
|
-
export
|
|
23
|
+
export type IDataTableColumn<ItemType extends object = any> = IDataTableColumnSimple<ItemType> | IDataTableColumnRenderable<ItemType>;
|
|
24
24
|
export {};
|
|
@@ -33,4 +33,4 @@ export interface IDataTableProps<ItemType extends object = any> extends ITableCo
|
|
|
33
33
|
*/
|
|
34
34
|
rowRenderer?(item: ItemType, index: number): React.ElementType<HTMLTableRowElement>;
|
|
35
35
|
}
|
|
36
|
-
export declare const DataTable: <ItemType extends object = any>(props: IDataTableProps<ItemType>, ref: React.Ref<HTMLDivElement>) => JSX.Element;
|
|
36
|
+
export declare const DataTable: <ItemType extends object = any>(props: IDataTableProps<ItemType>, ref: React.Ref<HTMLDivElement>) => React.JSX.Element;
|
|
@@ -5,7 +5,7 @@ interface IDescriptionBlockRootOwnerState {
|
|
|
5
5
|
layout?: 'default' | 'inline';
|
|
6
6
|
label?: React.ReactNode;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type IDescriptionBlockProps = IStyledComponentProps<{
|
|
9
9
|
props: IDescriptionBlockRootOwnerState & {
|
|
10
10
|
description: React.ReactNode;
|
|
11
11
|
code?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const dialogTitleComponentName: "QuantumDialogTitle";
|
|
2
2
|
export declare function getDialogTitleUtilityClass(slot: string): string;
|
|
3
3
|
export declare const dialogTitleClasses: Record<"title" | "root" | "closeButton", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type DialogTitleClasses = typeof dialogTitleClasses;
|
|
5
|
+
export type DialogTitleClassKey = keyof DialogTitleClasses;
|
|
@@ -6,4 +6,4 @@ export interface IDialogTitleProps extends Omit<DialogTitleProps, 'classes'> {
|
|
|
6
6
|
onClose?(event: {}, reason: 'closeClick'): void;
|
|
7
7
|
classes?: Partial<DialogTitleClasses>;
|
|
8
8
|
}
|
|
9
|
-
export declare const DialogTitle: React.ForwardRefExoticComponent<
|
|
9
|
+
export declare const DialogTitle: React.ForwardRefExoticComponent<Omit<IDialogTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
package/dialog/dialog.d.ts
CHANGED
|
@@ -12,4 +12,4 @@ export interface IDialogProps extends Omit<DialogProps, 'title' | 'onClose'> {
|
|
|
12
12
|
onClose?(event: {}, reason: 'backdropClick' | 'escapeKeyDown' | 'closeClick'): void;
|
|
13
13
|
}
|
|
14
14
|
export declare const dialogComponentName = "QuantumDialog";
|
|
15
|
-
export declare const Dialog: React.ForwardRefExoticComponent<
|
|
15
|
+
export declare const Dialog: React.ForwardRefExoticComponent<Omit<IDialogProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
package/divider/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const dropdownMenuComponentName: "QuantumDropdownMenu";
|
|
2
2
|
export declare function getDropdownMenuUtilityClass(slot: string): string;
|
|
3
3
|
export declare const dropdownMenuClasses: Record<"paper" | "root", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type DropdownMenuClasses = typeof dropdownMenuClasses;
|
|
5
|
+
export type DropdownMenuClassKey = keyof DropdownMenuClasses;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IDividerProps } from '../../divider';
|
|
3
|
-
export
|
|
4
|
-
export declare const DropdownMenuDivider: React.ForwardRefExoticComponent<
|
|
3
|
+
export type IDropdownMenuDividerProps = IDividerProps;
|
|
4
|
+
export declare const DropdownMenuDivider: React.ForwardRefExoticComponent<Omit<IDividerProps, "ref"> & React.RefAttributes<HTMLHRElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const dropdownMenuGroupComponentName: "QuantumDropdownMenuGroup";
|
|
2
2
|
export declare function getDropdownMenuGroupUtilityClass(slot: string): string;
|
|
3
3
|
export declare const dropdownMenuGroupClasses: Record<"title", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type DropdownMenuGroupClasses = typeof dropdownMenuGroupClasses;
|
|
5
|
+
export type DropdownMenuGroupClassKey = keyof DropdownMenuGroupClasses;
|
|
@@ -3,7 +3,7 @@ import { IDropdownMenuGroupProps } from '../dropdown-menu-group';
|
|
|
3
3
|
import { IDropdownMenuListItemProps } from '../dropdown-menu-list-item';
|
|
4
4
|
import { IMenuListProps } from '../../menu';
|
|
5
5
|
export declare const dropdownMenuListComponentName: "QuantumDropdownMenuList";
|
|
6
|
-
|
|
6
|
+
type DropdownMenuListItemValue = {
|
|
7
7
|
type: 'divider';
|
|
8
8
|
} | ({
|
|
9
9
|
type: 'group';
|
|
@@ -13,5 +13,5 @@ declare type DropdownMenuListItemValue = {
|
|
|
13
13
|
export interface IDropdownMenuListProps extends IMenuListProps {
|
|
14
14
|
items?: DropdownMenuListItemValue[];
|
|
15
15
|
}
|
|
16
|
-
export declare const DropdownMenuList: React.ForwardRefExoticComponent<
|
|
16
|
+
export declare const DropdownMenuList: React.ForwardRefExoticComponent<Omit<IDropdownMenuListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
17
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const dropdownMenuListItemComponentName: "QuantumDropdownMenuListItem";
|
|
2
2
|
export declare function getDropdownMenuListItemUtilityClass(slot: string): string;
|
|
3
3
|
export declare const dropdownMenuListItemClasses: Record<"title" | "disabled" | "selected" | "content" | "icon" | "root" | "endIcon" | "startIcon" | "sizeLarge" | "description" | "detailed" | "colorDanger" | "selectedIcon", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type DropdownMenuListItemClasses = typeof dropdownMenuListItemClasses;
|
|
5
|
+
export type DropdownMenuListItemClassKey = keyof DropdownMenuListItemClasses;
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { IMenuItemProps } from '../../menu';
|
|
3
3
|
import { DropdownMenuListItemClasses } from './dropdown-menu-list-item-classes';
|
|
4
4
|
export interface IDropdownMenuListItemProps extends Omit<IMenuItemProps, 'title' | 'classes'> {
|
|
5
|
-
component?: React.
|
|
5
|
+
component?: React.ElementType;
|
|
6
6
|
title?: React.ReactNode;
|
|
7
7
|
description?: React.ReactNode;
|
|
8
8
|
startIcon?: React.ReactNode;
|
|
@@ -15,4 +15,4 @@ export interface IDropdownMenuListItemProps extends Omit<IMenuItemProps, 'title'
|
|
|
15
15
|
rel?: string;
|
|
16
16
|
classes?: Partial<DropdownMenuListItemClasses>;
|
|
17
17
|
}
|
|
18
|
-
export declare const DropdownMenuListItem: React.ForwardRefExoticComponent<
|
|
18
|
+
export declare const DropdownMenuListItem: React.ForwardRefExoticComponent<Omit<IDropdownMenuListItemProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const dropdownMenuSearchComponentName: "QuantumDropdownMenuSearch";
|
|
2
2
|
export declare function getDropdownMenuSearchUtilityClass(slot: string): string;
|
|
3
3
|
export declare const dropdownMenuSearchClasses: Record<"input" | "root", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type DropdownMenuSearchClasses = typeof dropdownMenuSearchClasses;
|
|
5
|
+
export type DropdownMenuSearchClassKey = keyof DropdownMenuSearchClasses;
|
|
@@ -2,8 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
import { IInputProps } from '../../input';
|
|
3
3
|
import { IStyledComponentProps } from '../../styled';
|
|
4
4
|
import { DropdownMenuSearchClasses } from './dropdown-menu-search-classes';
|
|
5
|
-
|
|
6
|
-
export
|
|
5
|
+
type InputPropKeys = 'aria-label' | 'value' | 'defaultValue' | 'onChange' | 'onBlur' | 'placeholder' | 'inputRef';
|
|
6
|
+
export type IDropdownMenuSearchProps = IStyledComponentProps<{
|
|
7
7
|
props: Pick<IInputProps, InputPropKeys> & {
|
|
8
8
|
InputProps?: Partial<IInputProps>;
|
|
9
9
|
classes?: Partial<DropdownMenuSearchClasses>;
|
|
@@ -7,7 +7,7 @@ export interface IDropdownMenuTriggerProps {
|
|
|
7
7
|
id?: string;
|
|
8
8
|
onClick(event: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement>): void;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type IDropdownMenuProps = Pick<IDropdownMenuComponentProps, 'open' | 'anchorEl' | 'onClose' | 'id'>;
|
|
11
11
|
export interface IDropdownMenuStateValue {
|
|
12
12
|
triggerProps: IDropdownMenuTriggerProps;
|
|
13
13
|
menuProps: IDropdownMenuProps;
|
|
@@ -21,5 +21,5 @@ interface IDropdownMenuStateProviderProps extends IDropdownMenuStateProps {
|
|
|
21
21
|
}
|
|
22
22
|
export declare const DropdownMenuStateContext: React.Context<IDropdownMenuStateValue>;
|
|
23
23
|
export declare const useDropdownMenuStateContext: () => IDropdownMenuStateValue;
|
|
24
|
-
export declare const DropdownMenuStateProvider: ({ children, ...props }: IDropdownMenuStateProviderProps) => JSX.Element;
|
|
24
|
+
export declare const DropdownMenuStateProvider: ({ children, ...props }: IDropdownMenuStateProviderProps) => React.JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -14,4 +14,4 @@ export interface IDropdownMenuProps extends Omit<IPopoverProps, 'classes'>, Part
|
|
|
14
14
|
onClose?(event: {}, reason: 'backdropClick' | 'escapeKeyDown' | 'itemSelect'): void;
|
|
15
15
|
classes?: Partial<DropdownMenuClasses>;
|
|
16
16
|
}
|
|
17
|
-
export declare const DropdownMenu: React.ForwardRefExoticComponent<
|
|
17
|
+
export declare const DropdownMenu: React.ForwardRefExoticComponent<Omit<IDropdownMenuProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IButtonProps } from '../../button';
|
|
2
|
-
export
|
|
2
|
+
export type IEmptyStateActionProps = Omit<IButtonProps, 'size'>;
|
|
3
3
|
export declare const EmptyStateAction: import("../../overridable-component").OverridableComponent<import("../../button/button").IButtonTypeMap<{}, "button">>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const emptyStateComponentName: "QuantumEmptyState";
|
|
2
2
|
export declare function getEmptyStateUtilityClass(slot: string): string;
|
|
3
3
|
export declare const emptyStateClasses: Record<"link" | "content" | "icon" | "root" | "message" | "card" | "pageHeader" | "subtitle" | "actions", string>;
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type EmptyStateClasses = typeof emptyStateClasses;
|
|
5
|
+
export type EmptyStateClassKey = keyof EmptyStateClasses;
|
|
@@ -1,12 +1,28 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { buttonBaseClasses } from '@mui/material';
|
|
1
13
|
import { createComponentOverrides } from '../theme/create-component-overrides';
|
|
2
14
|
export var createMuiBreadcrumbsOverrides = createComponentOverrides(function (_a) {
|
|
3
|
-
var
|
|
15
|
+
var _b;
|
|
16
|
+
var mixins = _a.mixins, tokens = _a.tokens;
|
|
4
17
|
return ({
|
|
5
18
|
styleOverrides: {
|
|
6
19
|
separator: {
|
|
7
20
|
color: tokens.color_fg_decorative,
|
|
8
21
|
fontSize: '0.875rem',
|
|
9
22
|
},
|
|
23
|
+
root: (_b = {},
|
|
24
|
+
_b["& .".concat(buttonBaseClasses.root, ":focus")] = __assign({ outlineOffset: 2 }, mixins.focusRing()),
|
|
25
|
+
_b),
|
|
10
26
|
},
|
|
11
27
|
});
|
|
12
28
|
});
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
1
12
|
import { buttonClasses } from '@mui/material/Button';
|
|
2
13
|
import { createComponentOverrides } from '../theme/create-component-overrides';
|
|
3
14
|
export var createMuiButtonOverrides = createComponentOverrides(function (_a) {
|
|
@@ -207,9 +218,9 @@ export var createMuiButtonOverrides = createComponentOverrides(function (_a) {
|
|
|
207
218
|
{
|
|
208
219
|
props: { color: 'danger' },
|
|
209
220
|
style: (_b = {},
|
|
210
|
-
_b["&:focus,&.".concat(buttonClasses.focusVisible)] = mixins.focusRing({
|
|
221
|
+
_b["&:focus,&.".concat(buttonClasses.focusVisible)] = __assign({ outlineOffset: 2 }, mixins.focusRing({
|
|
211
222
|
color: tokens.color_border_focus_state_danger,
|
|
212
|
-
}),
|
|
223
|
+
})),
|
|
213
224
|
_b),
|
|
214
225
|
},
|
|
215
226
|
],
|
|
@@ -224,6 +235,9 @@ export var createMuiButtonOverrides = createComponentOverrides(function (_a) {
|
|
|
224
235
|
backgroundColor: tokens.color_bg_button_disabled,
|
|
225
236
|
borderColor: tokens.color_border_disabled,
|
|
226
237
|
},
|
|
238
|
+
_c["&:focus,&.".concat(buttonClasses.focusVisible)] = {
|
|
239
|
+
outlineOffset: 2,
|
|
240
|
+
},
|
|
227
241
|
_c),
|
|
228
242
|
fullWidth: {
|
|
229
243
|
width: '100%',
|
|
@@ -62,5 +62,5 @@ export var CardHeader = React.forwardRef(function (props, ref) {
|
|
|
62
62
|
action: classes.action,
|
|
63
63
|
avatar: classes.avatar,
|
|
64
64
|
content: classes.content,
|
|
65
|
-
}, title: React.createElement(Title, __assign({ variant: titleVariant, color: "textPrimary" }, { component: '
|
|
65
|
+
}, title: React.createElement(Title, __assign({ variant: titleVariant, color: "textPrimary" }, { component: 'p' }, { role: "heading", display: "block" }, titleTypographyProps, { className: clsx(classes.title, titleTypographyProps.className), ownerState: { size: size } }), title), subheader: subheader ? (React.createElement(Text, __assign({ variant: "body2", color: "textSecondary", component: "p" }, subheaderTypographyProps, { className: clsx(classes.subheader, subheaderTypographyProps.className) }), subheader)) : null }, cardProps, { disableTypography: true })));
|
|
66
66
|
});
|
package/esm/card/card.js
CHANGED
|
@@ -69,7 +69,7 @@ var Root = styled(MuiCard, {
|
|
|
69
69
|
backgroundColor: fade(theme.palette.action.hoverBackground, 0.1),
|
|
70
70
|
boxShadow: theme.shadows[1],
|
|
71
71
|
},
|
|
72
|
-
'&:focus': __assign({
|
|
72
|
+
'&:focus': __assign({ outlineOffset: 2 }, theme.mixins.focusRing()),
|
|
73
73
|
}))), (ownerState.selectableButton && {
|
|
74
74
|
cursor: 'pointer',
|
|
75
75
|
transition: theme.transitions.create(['box-shadow', 'border-color'], {
|
|
@@ -24,7 +24,7 @@ export var createMuiCheckboxOverrides = function (_a) {
|
|
|
24
24
|
duration: transitions.duration.short,
|
|
25
25
|
}),
|
|
26
26
|
color: tokens.color_border_input,
|
|
27
|
-
'&:focus-within svg': __assign({ borderRadius: 4 }, mixins.focusRing()),
|
|
27
|
+
'&:focus-within svg': __assign({ borderRadius: 4, outlineOffset: 2 }, mixins.focusRing()),
|
|
28
28
|
},
|
|
29
29
|
colorPrimary: (_b = {
|
|
30
30
|
'&:hover,': {
|
|
@@ -37,11 +37,7 @@ export var createMuiChipOverrides = createComponentOverrides(function (_a) {
|
|
|
37
37
|
boxShadow: mixins.borderAsBoxShadow(tokens.color_border_button),
|
|
38
38
|
backgroundColor: tokens.color_bg_link_hover,
|
|
39
39
|
},
|
|
40
|
-
'&:focus,&.Mui-focusVisible': {
|
|
41
|
-
cursor: 'pointer',
|
|
42
|
-
boxShadow: mixins.borderAsBoxShadow(tokens.color_border_button),
|
|
43
|
-
backgroundColor: tokens.color_bg_link_hover,
|
|
44
|
-
}
|
|
40
|
+
'&:focus,&.Mui-focusVisible': __assign({ cursor: 'pointer', boxShadow: mixins.borderAsBoxShadow(tokens.color_border_button), backgroundColor: tokens.color_bg_link_hover, outlineOffset: 2 }, mixins.focusRing())
|
|
45
41
|
},
|
|
46
42
|
_c["&.".concat(chipClasses.disabled)] = {
|
|
47
43
|
opacity: 1,
|
package/esm/chip/chip.js
CHANGED
|
@@ -48,13 +48,7 @@ var Root = styled(MuiChip, { name: chipComponentName, slot: 'Root' })(function (
|
|
|
48
48
|
boxShadow: theme.mixins.borderAsBoxShadow(theme.tokens.color_border_selected, 2),
|
|
49
49
|
backgroundColor: theme.tokens.color_bg_selected_subtle_pressed,
|
|
50
50
|
},
|
|
51
|
-
_b["&:focus:not(&.".concat(chipClasses.disabled, "),&.Mui-focusVisible:not(&.").concat(chipClasses.disabled, ")")] = {
|
|
52
|
-
backgroundColor: theme.tokens.color_bg_selected_subtle_hover,
|
|
53
|
-
boxShadow: [
|
|
54
|
-
theme.mixins.borderAsBoxShadow(theme.tokens.color_border_selected, 2),
|
|
55
|
-
theme.mixins.focusRing().boxShadow,
|
|
56
|
-
],
|
|
57
|
-
},
|
|
51
|
+
_b["&:focus:not(&.".concat(chipClasses.disabled, "),&.Mui-focusVisible:not(&.").concat(chipClasses.disabled, ")")] = __assign({ backgroundColor: theme.tokens.color_bg_selected_subtle_hover, boxShadow: theme.mixins.borderAsBoxShadow(theme.tokens.color_border_selected, 2) }, theme.mixins.focusRing()),
|
|
58
52
|
_b[".".concat(checkboxClasses.colorPrimary, ".").concat(checkboxClasses.checked, ":not(.").concat(checkboxClasses.disabled, ")")] = {
|
|
59
53
|
color: theme.tokens.color_bg_selected,
|
|
60
54
|
},
|