@auth0/quantum-product 2.8.2 → 2.9.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.d.ts +16 -17
- package/alert/alert-classes.js +2 -2
- package/alert/alert.d.ts +9 -9
- package/alert/alert.js +17 -7
- package/app-bar/app-bar-actions/app-bar-actions.d.ts +1 -2
- package/app-bar/app-bar-button/app-bar-button.d.ts +1 -1
- package/app-bar/app-bar-button/app-bar-button.js +17 -7
- package/app-bar/app-bar-icon-button/app-bar-icon-button.d.ts +1 -1
- package/app-bar/app-bar-icon-button/app-bar-icon-button.js +18 -8
- package/app-layout/app-layout-classes.js +2 -2
- package/app-layout/app-layout.d.ts +1 -1
- package/app-layout/app-layout.js +17 -7
- package/avatar/avatar-classes.js +2 -2
- package/avatar/avatar-context.js +17 -7
- package/avatar/avatar.d.ts +15 -15
- package/avatar/avatar.js +18 -8
- package/avatar/use-avatar-image.js +17 -7
- package/avatar-block/avatar-block-classes.js +2 -2
- package/avatar-block/avatar-block.d.ts +4 -4
- package/avatar-block/avatar-block.js +17 -7
- package/badge/badge-overrides.d.ts +1 -1
- package/badge/badge.js +17 -7
- package/banner/banner-classes.js +2 -2
- package/banner/banner.js +17 -7
- package/breadcrumbs/breadcrumbs-item/breadcrumbs-item-classes.js +2 -2
- package/breadcrumbs/breadcrumbs-item/breadcrumbs-item.d.ts +1 -1
- package/breadcrumbs/breadcrumbs-item/breadcrumbs-item.js +17 -7
- package/breadcrumbs/breadcrumbs-overrides.d.ts +1 -1
- package/breadcrumbs/breadcrumbs.js +17 -7
- package/button/button-overrides.d.ts +1 -1
- package/button/button.d.ts +1 -1
- package/button/button.js +17 -7
- package/card/card-context.js +17 -7
- package/card/card-header/card-header-classes.js +2 -2
- package/card/card-header/card-header-overrides.d.ts +1 -1
- package/card/card-header/card-header.d.ts +5 -5
- package/card/card-header/card-header.js +22 -12
- package/card/card-overrides.d.ts +1 -1
- package/card/card.d.ts +1 -1
- package/card/card.js +19 -9
- package/checkbox/checkbox-classes.js +2 -2
- package/checkbox/checkbox-icons.js +17 -7
- package/checkbox/checkbox.js +17 -7
- package/checkbox-field/checkbox-field.js +17 -7
- package/chip/chip-overrides.d.ts +1 -1
- package/chip/chip.js +17 -7
- package/code/code.d.ts +3 -3
- package/code/code.js +18 -8
- package/color-text-field/color-text-field.js +17 -7
- package/column-layout/column-layout.d.ts +1 -1
- package/column-layout/column-layout.js +17 -7
- package/config-block/config-block-classes.js +2 -2
- package/config-block/config-block.js +17 -7
- package/copy-button/copy-button.js +17 -7
- package/danger-zone/danger-zone-item/danger-zone-item.js +17 -7
- package/danger-zone/danger-zone-item-action/danger-zone-item-action.js +17 -7
- package/danger-zone/danger-zone.js +17 -7
- package/data-table/data-table-row.d.ts +3 -1
- package/data-table/data-table-row.js +36 -12
- package/data-table/data-table-types.d.ts +0 -1
- package/data-table/data-table.d.ts +8 -2
- package/data-table/data-table.js +20 -9
- package/date-picker/date-picker-classes.js +3 -3
- package/date-picker/date-picker-context.js +17 -7
- package/date-picker/date-picker-popover.js +18 -8
- package/date-picker/date-picker-state.js +17 -7
- package/date-picker/date-picker-time-input.js +17 -7
- package/date-picker/date-picker-utils.d.ts +1 -1
- package/date-picker/date-picker.js +17 -7
- package/description-block/description-block.d.ts +5 -5
- package/description-block/description-block.js +17 -7
- package/dialog/dialog-title/dialog-title-classes.js +2 -2
- package/dialog/dialog-title/dialog-title.js +17 -7
- package/dialog/dialog.js +17 -7
- package/dropdown-menu/dropdown-menu-classes.js +2 -2
- package/dropdown-menu/dropdown-menu-context.js +17 -7
- package/dropdown-menu/dropdown-menu-divider/dropdown-menu-divider.js +17 -7
- package/dropdown-menu/dropdown-menu-group/dropdown-menu-group-classes.js +2 -2
- package/dropdown-menu/dropdown-menu-group/dropdown-menu-group.js +17 -7
- package/dropdown-menu/dropdown-menu-item/dropdown-menu-item.js +17 -7
- package/dropdown-menu/dropdown-menu-list/dropdown-menu-list.js +18 -8
- package/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item-classes.js +2 -2
- package/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item.js +17 -8
- package/dropdown-menu/dropdown-menu-search/dropdown-menu-search-classes.js +2 -2
- package/dropdown-menu/dropdown-menu-search/dropdown-menu-search.d.ts +2 -2
- package/dropdown-menu/dropdown-menu-search/dropdown-menu-search.js +17 -7
- package/dropdown-menu/dropdown-menu-state/dropdown-menu-state.js +17 -7
- package/dropdown-menu/dropdown-menu.js +17 -7
- package/empty-state/empty-state-action/empty-state-action.d.ts +2 -2
- package/empty-state/empty-state-action/empty-state-action.js +17 -7
- package/empty-state/empty-state-classes.js +2 -2
- package/empty-state/empty-state.d.ts +22 -22
- package/empty-state/empty-state.js +17 -7
- package/esm/app-bar/app-bar-icon-button/app-bar-icon-button.js +1 -1
- package/esm/avatar/avatar.js +1 -1
- package/esm/card/card-header/card-header.js +5 -5
- package/esm/card/card.js +2 -2
- package/esm/code/code.js +1 -1
- package/esm/data-table/data-table-row.js +17 -3
- package/esm/data-table/data-table.js +3 -2
- package/esm/date-picker/date-picker-popover.js +1 -1
- package/esm/dropdown-menu/dropdown-menu-list/dropdown-menu-list.js +1 -1
- package/esm/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item.js +0 -1
- package/esm/form/form.js +1 -1
- package/esm/link/link.js +5 -5
- package/esm/panel/panel-header/panel-header.js +2 -2
- package/esm/selectable-card/selectable-card.js +1 -1
- package/esm/sidebar/sidebar-menu/sidebar-menu.js +1 -1
- package/esm/switch/switch.js +1 -1
- package/esm/tabs/tab/tab.js +2 -2
- package/esm/text/text.js +1 -1
- package/expansion-panel/expansion-panel-header.d.ts +9 -10
- package/expansion-panel/expansion-panel-summary.js +17 -7
- package/expansion-panel/expansion-panel.js +17 -7
- package/field-set/field-set-classes.js +2 -2
- package/field-set/field-set.d.ts +2 -2
- package/field-set/field-set.js +17 -7
- package/floating-panel/floating-panel.js +17 -7
- package/form/form-actions/form-actions-classes.js +2 -2
- package/form/form-actions/form-actions.d.ts +2 -2
- package/form/form-actions/form-actions.js +17 -7
- package/form/form-control/index.d.ts +1 -2
- package/form/form-control-label/form-control-label-classes.js +2 -2
- package/form/form-control-label/form-control-label.js +17 -7
- package/form/form-field/form-field-classes.js +2 -2
- package/form/form-field/form-field.js +17 -7
- package/form/form-helper-text/index.d.ts +1 -2
- package/form/form-layout/form-layout-context.js +17 -7
- package/form/form-layout/form-layout.js +17 -7
- package/form/form.js +18 -8
- package/foundations/token-tables.d.ts +1 -1
- package/foundations/token-tables.js +17 -7
- package/gallery-layout/gallery-layout.d.ts +1 -1
- package/gallery-layout/gallery-layout.js +17 -7
- package/icon/index.js +17 -7
- package/icon/types.d.ts +0 -1
- package/icon-button/icon-button-context.js +17 -7
- package/icon-button/icon-button-overrides.d.ts +1 -1
- package/icon-button/icon-button.d.ts +1 -1
- package/icon-button/icon-button.js +17 -7
- package/identicons/common.d.ts +1 -1
- package/identicons/common.js +1 -1
- package/identicons/icons/icon-access-token.js +17 -7
- package/identicons/icons/icon-account-takeover.js +17 -7
- package/identicons/icons/icon-actions.js +17 -7
- package/identicons/icons/icon-activity.js +17 -7
- package/identicons/icons/icon-advanced-options.js +17 -7
- package/identicons/icons/icon-anticipation.js +17 -7
- package/identicons/icons/icon-api-related.js +17 -7
- package/identicons/icons/icon-api.js +17 -7
- package/identicons/icons/icon-applications.js +17 -7
- package/identicons/icons/icon-attributes.js +17 -7
- package/identicons/icons/icon-auth0-authorization-server.js +17 -7
- package/identicons/icons/icon-auth0-dashboard.js +17 -7
- package/identicons/icons/icon-auth0-logo-dark.js +17 -7
- package/identicons/icons/icon-auth0-logo-light.js +17 -7
- package/identicons/icons/icon-authentication-a.js +17 -7
- package/identicons/icons/icon-authentication-b.js +17 -7
- package/identicons/icons/icon-authorization-server.js +17 -7
- package/identicons/icons/icon-backend.js +17 -7
- package/identicons/icons/icon-biometrics.js +17 -7
- package/identicons/icons/icon-bot-detection.js +17 -7
- package/identicons/icons/icon-boundary-protocol.js +17 -7
- package/identicons/icons/icon-branding.js +17 -7
- package/identicons/icons/icon-breached-password.js +17 -7
- package/identicons/icons/icon-browser.js +17 -7
- package/identicons/icons/icon-brute-force.js +17 -7
- package/identicons/icons/icon-certificate.js +17 -7
- package/identicons/icons/icon-cli-script.js +17 -7
- package/identicons/icons/icon-cloud.js +17 -7
- package/identicons/icons/icon-consistency.js +17 -7
- package/identicons/icons/icon-cookies.js +17 -7
- package/identicons/icons/icon-credential-application.js +17 -7
- package/identicons/icons/icon-credential-stuffing.js +17 -7
- package/identicons/icons/icon-credential-user.js +17 -7
- package/identicons/icons/icon-customization.js +17 -7
- package/identicons/icons/icon-dashboard.js +17 -7
- package/identicons/icons/icon-database.js +17 -7
- package/identicons/icons/icon-desktop-app.js +17 -7
- package/identicons/icons/icon-device-biometrics.js +17 -7
- package/identicons/icons/icon-efficiency.js +17 -7
- package/identicons/icons/icon-empathy.js +17 -7
- package/identicons/icons/icon-enterprise-directory.js +17 -7
- package/identicons/icons/icon-extensions.js +17 -7
- package/identicons/icons/icon-fine-grained-authorization.js +17 -7
- package/identicons/icons/icon-getting-started.js +17 -7
- package/identicons/icons/icon-guardian-push-notification.js +17 -7
- package/identicons/icons/icon-help.js +17 -7
- package/identicons/icons/icon-id-token.js +17 -7
- package/identicons/icons/icon-identifier-first.js +17 -7
- package/identicons/icons/icon-identifier-password.js +17 -7
- package/identicons/icons/icon-integrations-marketplace.js +17 -7
- package/identicons/icons/icon-ip-throttling.js +17 -7
- package/identicons/icons/icon-login-customization.js +17 -7
- package/identicons/icons/icon-login.js +17 -7
- package/identicons/icons/icon-logout-token.js +17 -7
- package/identicons/icons/icon-logs.js +17 -7
- package/identicons/icons/icon-mail-message-a.js +17 -7
- package/identicons/icons/icon-mail-message-b.js +17 -7
- package/identicons/icons/icon-marketplace-approved.js +17 -7
- package/identicons/icons/icon-marketplace-create.js +17 -7
- package/identicons/icons/icon-mobile-app.js +17 -7
- package/identicons/icons/icon-monitoring.js +17 -7
- package/identicons/icons/icon-multifactor.js +17 -7
- package/identicons/icons/icon-multiple-failed-logins.js +17 -7
- package/identicons/icons/icon-one-time-password.js +17 -7
- package/identicons/icons/icon-organizations.js +17 -7
- package/identicons/icons/icon-phone-message-a.js +17 -7
- package/identicons/icons/icon-phone-message-b.js +17 -7
- package/identicons/icons/icon-pipeline-a.js +17 -7
- package/identicons/icons/icon-pipeline-b.js +17 -7
- package/identicons/icons/icon-refresh-token.js +17 -7
- package/identicons/icons/icon-sdk.js +17 -7
- package/identicons/icons/icon-security.js +17 -7
- package/identicons/icons/icon-server.js +17 -7
- package/identicons/icons/icon-settings.js +17 -7
- package/identicons/icons/icon-social-providers.js +17 -7
- package/identicons/icons/icon-spa.js +17 -7
- package/identicons/icons/icon-teams.js +17 -7
- package/identicons/icons/icon-tenant.js +17 -7
- package/identicons/icons/icon-user-database.js +17 -7
- package/identicons/icons/icon-user-management.js +17 -7
- package/identicons/icons/icon-user.js +17 -7
- package/identicons/icons/icon-users.js +17 -7
- package/identicons/icons/icon-video.js +17 -7
- package/identicons/icons/icon-web-app.js +17 -7
- package/identicons/icons/icon-webauthn.js +17 -7
- package/illustrations/common.d.ts +0 -1
- package/illustrations/components/developers.js +17 -7
- package/illustrations/components/enterprise-connection.js +17 -7
- package/illustrations/components/experienced-user.js +17 -7
- package/illustrations/components/new-auth0-user-a.js +17 -7
- package/illustrations/components/no-content.js +17 -7
- package/illustrations/components/notifications.js +17 -7
- package/illustrations/components/roles.js +17 -7
- package/illustrations/components/single-sign-on.js +17 -7
- package/illustrations/components/streams-logs.js +17 -7
- package/illustrations/components/users.js +17 -7
- package/image/image.d.ts +4 -4
- package/image-preview-field/image-preview-field.js +18 -8
- package/input/input-actions/input-actions.js +17 -7
- package/input/input-adornment/input-adornment.js +17 -7
- package/input/input.d.ts +1 -1
- package/input/input.js +17 -7
- package/label/label.js +17 -7
- package/link/link-classes.js +2 -2
- package/link/link.d.ts +1 -1
- package/link/link.js +22 -12
- package/list/list-item/index.d.ts +1 -2
- package/logo/logo-classes.js +2 -2
- package/logo/logo.d.ts +4 -4
- package/logo/logo.js +17 -7
- package/package.json +3 -3
- package/page/page-context.js +17 -7
- package/page/page-header/page-header-classes.js +2 -2
- package/page/page-header/page-header.js +17 -7
- package/page/page.d.ts +2 -2
- package/page/page.js +17 -7
- package/pagination/checkpoint-pagination/CheckpointPagination.d.ts +5 -5
- package/pagination/checkpoint-pagination/CheckpointPagination.js +17 -7
- package/pagination/checkpoint-pagination/checkpoint-pagination-classes.js +2 -2
- package/pagination/pager/pager-classes.js +2 -2
- package/pagination/pager/pager.js +17 -7
- package/pagination/pagination-classes.js +2 -2
- package/pagination/pagination.d.ts +6 -6
- package/pagination/pagination.js +17 -7
- package/panel/panel/panel-classes.js +2 -2
- package/panel/panel/panel.d.ts +6 -6
- package/panel/panel/panel.js +17 -7
- package/panel/panel-body/panel-body.js +17 -7
- package/panel/panel-context.js +17 -7
- package/panel/panel-footer/panel-footer.js +17 -7
- package/panel/panel-header/panel-header-classes.js +2 -2
- package/panel/panel-header/panel-header.d.ts +4 -4
- package/panel/panel-header/panel-header.js +19 -9
- package/panel/panel-layout/panel-layout-classes.js +2 -2
- package/panel/panel-layout/panel-layout.d.ts +2 -2
- package/panel/panel-layout/panel-layout.js +17 -7
- package/promo-banner/promo-banner-classes.js +2 -2
- package/promo-banner/promo-banner.js +17 -7
- package/pulsing-dot/pulsing-dot.d.ts +1 -1
- package/pulsing-dot/pulsing-dot.js +17 -7
- package/quantum-provider/quantum-context.js +17 -7
- package/quantum-provider/quantum-provider.js +17 -7
- package/radio/radio-classes.js +2 -2
- package/radio/radio-icons.js +17 -7
- package/radio/radio.js +17 -7
- package/radio-field/radio-field.js +17 -7
- package/region/flags.js +17 -7
- package/region/region-classes.js +2 -2
- package/region/region.d.ts +4 -4
- package/region/region.js +17 -7
- package/row-layout/row-layout.js +17 -7
- package/select/select-classes.js +2 -2
- package/select/select-field/select-field.js +17 -7
- package/select/select-menu/select-menu.js +17 -7
- package/select/select-options.js +17 -7
- package/select/select.js +17 -7
- package/select-dropdown/select-dropdown.js +17 -7
- package/selectable-card/selectable-card-classes.js +2 -2
- package/selectable-card/selectable-card-group/selectable-card-group-classes.js +2 -2
- package/selectable-card/selectable-card-group/selectable-card-group.js +17 -7
- package/selectable-card/selectable-card.js +18 -8
- package/sidebar/sidebar-banner/sidebar-banner.d.ts +1 -1
- package/sidebar/sidebar-banner/sidebar-banner.js +17 -7
- package/sidebar/sidebar-classes.js +2 -2
- package/sidebar/sidebar-context.js +17 -7
- package/sidebar/sidebar-items/sidebar-items.js +17 -7
- package/sidebar/sidebar-link/sidebar-link-classes.js +2 -2
- package/sidebar/sidebar-link/sidebar-link.d.ts +1 -1
- package/sidebar/sidebar-link/sidebar-link.js +17 -7
- package/sidebar/sidebar-menu/sidebar-menu-classes.js +2 -2
- package/sidebar/sidebar-menu/sidebar-menu.js +20 -10
- package/sidebar/sidebar-new.js +17 -7
- package/sidebar/sidebar-old.js +17 -7
- package/sidebar/sidebar.js +17 -7
- package/spinner/spinner-classes.js +2 -2
- package/spinner/spinner.d.ts +4 -4
- package/spinner/spinner.js +17 -7
- package/stack-layout/stack-layout.js +17 -7
- package/status/status-dot/status-dot-classes.js +2 -2
- package/status/status-dot/status-dot.d.ts +4 -4
- package/status/status-dot/status-dot.js +17 -7
- package/status/status-icon/status-icon-classes.js +2 -2
- package/status/status-icon/status-icon.d.ts +5 -5
- package/status/status-icon/status-icon.js +17 -7
- package/stepper/step-label/step-label.js +17 -7
- package/styles/classes.js +19 -9
- package/svg-icon/svg-icon.d.ts +1 -1
- package/svg-icon/svg-icon.js +17 -7
- package/switch/switch-classes.js +2 -2
- package/switch/switch-field/switch-field.js +17 -7
- package/switch/switch.js +18 -8
- package/table/table-loading-state/table-loading-state-classes.js +2 -2
- package/table/table-loading-state/table-loading-state.d.ts +2 -2
- package/table/table-loading-state/table-loading-state.js +17 -7
- package/table/table-sort-label/index.js +17 -7
- package/tabs/tab/tab.d.ts +1 -1
- package/tabs/tab/tab.js +19 -9
- package/tabs/tab-list/tab-list.js +17 -7
- package/tabs/tab-panel/tab-panel.js +17 -7
- package/tabs/tabs-context.js +17 -7
- package/tabs/tabs.js +17 -7
- package/text/text-classes.js +2 -2
- package/text/text-overrides.d.ts +1 -1
- package/text/text.d.ts +11 -11
- package/text/text.js +18 -8
- package/text-field/text-field.js +17 -7
- package/theme/create-palette.d.ts +1 -1
- package/theme/theme-provider.js +17 -7
- package/theme/use-theme-props.js +1 -2
- package/title-block/title-block-classes.js +2 -2
- package/title-block/title-block.js +17 -7
- package/toast/toast-classes.js +2 -2
- package/toast/toast-provider.js +17 -7
- package/toast/toast.js +17 -7
- package/utils/clsx.js +17 -7
- package/utils/md5.js +17 -7
- package/utils/use-id.js +17 -7
|
@@ -5,33 +5,33 @@ import { IRowLayoutProps } from '../row-layout';
|
|
|
5
5
|
import { ITextProps } from '../text';
|
|
6
6
|
import { EmptyStateClasses } from './empty-state-classes';
|
|
7
7
|
export declare const StyledCard: import("styled-components").StyledComponent<import("../overridable-component").OverridableComponent<import("../card/card").ICardTypeMap<{}, "div">>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
8
|
-
export declare const Subtitle: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<import("@mui/material").TypographyOwnProps, "color" | "
|
|
9
|
-
align?: "
|
|
8
|
+
export declare const Subtitle: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<import("@mui/material").TypographyOwnProps, "color" | "as" | "align" | "classes" | "sx" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "component"> & {
|
|
9
|
+
align?: "inherit" | "left" | "center" | "right" | "justify";
|
|
10
10
|
children?: React.ReactNode;
|
|
11
|
-
classes?: Partial<
|
|
12
|
-
color?: import("../text/text").LiteralUnion<import("@auth0/quantum-tokens").ThemeColorFGTokenName
|
|
13
|
-
component?: React.ElementType
|
|
14
|
-
gutterBottom?: boolean
|
|
15
|
-
noWrap?: boolean
|
|
16
|
-
paragraph?: boolean
|
|
17
|
-
sx?: import("../styled").SxProps
|
|
18
|
-
variant?:
|
|
19
|
-
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "p" | "ref" | "border" | "color" | "left" | "right" | "bottom" | "top" | "flex" | "position" | "padding" | "alignContent" | "alignItems" | "alignSelf" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "width" | "zIndex" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "paddingBlock" | "paddingInline" | "
|
|
11
|
+
classes?: Partial<import("../text").TextClasses>;
|
|
12
|
+
color?: import("../text/text").LiteralUnion<import("@auth0/quantum-tokens").ThemeColorFGTokenName>;
|
|
13
|
+
component?: React.ElementType;
|
|
14
|
+
gutterBottom?: boolean;
|
|
15
|
+
noWrap?: boolean;
|
|
16
|
+
paragraph?: boolean;
|
|
17
|
+
sx?: import("../styled").SxProps;
|
|
18
|
+
variant?: import("@auth0/quantum-tokens").ThemeTypeTokenName | import("@mui/material").TypographyOwnProps["variant"];
|
|
19
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "p" | "ref" | "border" | "color" | "left" | "right" | "bottom" | "top" | "flex" | "position" | "padding" | "alignContent" | "alignItems" | "alignSelf" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "width" | "zIndex" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "paddingBlock" | "paddingInline" | "children" | "align" | "bgcolor" | "classes" | "sx" | "variant" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping" | "component"> & React.RefAttributes<HTMLAnchorElement>>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
20
20
|
export declare const Content: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../utils/layouts").ILayoutComponentProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | keyof import("../utils/layouts").ILayoutComponentProps> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
21
21
|
export declare const Actions: import("styled-components").StyledComponent<"div", import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
22
22
|
export declare const Icon: import("styled-components").StyledComponent<"div", import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
23
|
-
export declare const Message: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<import("@mui/material").TypographyOwnProps, "color" | "
|
|
24
|
-
align?: "
|
|
23
|
+
export declare const Message: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<import("@mui/material").TypographyOwnProps, "color" | "as" | "align" | "classes" | "sx" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "component"> & {
|
|
24
|
+
align?: "inherit" | "left" | "center" | "right" | "justify";
|
|
25
25
|
children?: React.ReactNode;
|
|
26
|
-
classes?: Partial<
|
|
27
|
-
color?: import("../text/text").LiteralUnion<import("@auth0/quantum-tokens").ThemeColorFGTokenName
|
|
28
|
-
component?: React.ElementType
|
|
29
|
-
gutterBottom?: boolean
|
|
30
|
-
noWrap?: boolean
|
|
31
|
-
paragraph?: boolean
|
|
32
|
-
sx?: import("../styled").SxProps
|
|
33
|
-
variant?:
|
|
34
|
-
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "p" | "ref" | "border" | "color" | "left" | "right" | "bottom" | "top" | "flex" | "position" | "padding" | "alignContent" | "alignItems" | "alignSelf" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "width" | "zIndex" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "paddingBlock" | "paddingInline" | "
|
|
26
|
+
classes?: Partial<import("../text").TextClasses>;
|
|
27
|
+
color?: import("../text/text").LiteralUnion<import("@auth0/quantum-tokens").ThemeColorFGTokenName>;
|
|
28
|
+
component?: React.ElementType;
|
|
29
|
+
gutterBottom?: boolean;
|
|
30
|
+
noWrap?: boolean;
|
|
31
|
+
paragraph?: boolean;
|
|
32
|
+
sx?: import("../styled").SxProps;
|
|
33
|
+
variant?: import("@auth0/quantum-tokens").ThemeTypeTokenName | import("@mui/material").TypographyOwnProps["variant"];
|
|
34
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "p" | "ref" | "border" | "color" | "left" | "right" | "bottom" | "top" | "flex" | "position" | "padding" | "alignContent" | "alignItems" | "alignSelf" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "width" | "zIndex" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "paddingBlock" | "paddingInline" | "children" | "align" | "bgcolor" | "classes" | "sx" | "variant" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping" | "component"> & React.RefAttributes<HTMLAnchorElement>>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
35
35
|
export interface IEmptyStateProps extends Omit<IRowLayoutProps, 'title' | 'classes'> {
|
|
36
36
|
/** Optional sibling breadcrumb content */
|
|
37
37
|
breadcrumbs?: React.ReactNode;
|
|
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
26
26
|
}) : function(o, v) {
|
|
27
27
|
o["default"] = v;
|
|
28
28
|
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
29
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
36
46
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
47
|
var t = {};
|
|
38
48
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -35,5 +35,5 @@ var Root = styled(IconButton, { name: appBarIconButtonName, slot: 'Root' })(func
|
|
|
35
35
|
});
|
|
36
36
|
export var AppBarIconButton = React.forwardRef(function (props, ref) {
|
|
37
37
|
var color = props.color, className = props.className, active = props.active, _a = props.variant, variant = _a === void 0 ? 'link' : _a, circular = props.circular, _b = props.IconButtonProps, IconButtonProps = _b === void 0 ? {} : _b, children = props.children, rootProps = __rest(props, ["color", "className", "active", "variant", "circular", "IconButtonProps", "children"]);
|
|
38
|
-
return (React.createElement(Root, __assign({
|
|
38
|
+
return (React.createElement(Root, __assign({ ref: ref, className: className, ownerState: { active: active, circular: circular } }, rootProps, { variant: variant, color: "inherit" }, IconButtonProps), children));
|
|
39
39
|
});
|
package/esm/avatar/avatar.js
CHANGED
|
@@ -178,5 +178,5 @@ export var Avatar = React.forwardRef(function (props, ref) {
|
|
|
178
178
|
else {
|
|
179
179
|
children = React.createElement(FallbackIcon, { className: classes.fallbackIcon });
|
|
180
180
|
}
|
|
181
|
-
return (React.createElement(Root, __assign({
|
|
181
|
+
return (React.createElement(Root, __assign({ ref: ref, ownerState: ownerState, className: clsx(classes.root, className) }, rootProps), children));
|
|
182
182
|
});
|
|
@@ -65,8 +65,8 @@ export var CardHeader = React.forwardRef(function (props, ref) {
|
|
|
65
65
|
textOverflow: 'ellipsis',
|
|
66
66
|
}
|
|
67
67
|
: {
|
|
68
|
-
whiteSpace: 'normal',
|
|
69
|
-
overflow: 'visible',
|
|
68
|
+
whiteSpace: 'normal', // Allow wrapping
|
|
69
|
+
overflow: 'visible', // Allow content to overflow
|
|
70
70
|
textOverflow: 'clip', // Don't apply ellipsis
|
|
71
71
|
}; // No additional styles when noWrap is false
|
|
72
72
|
var subheaderStyles = noWrap
|
|
@@ -76,13 +76,13 @@ export var CardHeader = React.forwardRef(function (props, ref) {
|
|
|
76
76
|
textOverflow: 'ellipsis',
|
|
77
77
|
}
|
|
78
78
|
: {
|
|
79
|
-
whiteSpace: 'normal',
|
|
80
|
-
overflow: 'visible',
|
|
79
|
+
whiteSpace: 'normal', // Allow wrapping
|
|
80
|
+
overflow: 'visible', // Allow content to overflow
|
|
81
81
|
textOverflow: 'clip', // Don't apply ellipsis
|
|
82
82
|
};
|
|
83
83
|
return (React.createElement(Root, __assign({ ref: ref, ownerState: { size: size }, classes: {
|
|
84
84
|
action: classes.action,
|
|
85
85
|
avatar: classes.avatar,
|
|
86
86
|
content: classes.content,
|
|
87
|
-
}, title: React.createElement(Title, __assign({ variant: titleVariant, color: "textPrimary"
|
|
87
|
+
}, 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 }, noWrap: noWrap, sx: titleStyles, title: noWrap ? title : '' }), title), subheader: subheader ? (React.createElement(Text, __assign({ variant: "body2", color: "textSecondary", component: "p", noWrap: noWrap, sx: subheaderStyles, title: noWrap ? subheader : '' }, subheaderTypographyProps, { className: clsx(classes.subheader, subheaderTypographyProps.className) }), subheader)) : null }, cardProps, { disableTypography: true })));
|
|
88
88
|
});
|
package/esm/card/card.js
CHANGED
|
@@ -39,7 +39,7 @@ var Root = styled(MuiCard, {
|
|
|
39
39
|
boxShadow: theme.mixins.borderAsBoxShadow(selectedBorderColor, 1),
|
|
40
40
|
borderColor: selectedBorderColor,
|
|
41
41
|
},
|
|
42
|
-
'
|
|
42
|
+
'&[aria-disabled="true"]': {
|
|
43
43
|
boxShadow: theme.mixins.borderAsBoxShadow(theme.tokens.color_border_disabled_selected, 2),
|
|
44
44
|
borderColor: 'transparent',
|
|
45
45
|
},
|
|
@@ -94,7 +94,7 @@ export var Card = React.forwardRef(function (props, ref) {
|
|
|
94
94
|
// remove to prevent passing through to the root
|
|
95
95
|
propClasses = props.classes, analyticsId = props.analyticsId, rootProps = __rest(props, ["button", "component", "disabled", "className", "selected", "selectableButton", "size", "classes", "analyticsId"]);
|
|
96
96
|
return (React.createElement(CardContext.Provider, { value: { size: size } },
|
|
97
|
-
React.createElement(Root, __assign({
|
|
97
|
+
React.createElement(Root, __assign({ component: component, ownerState: {
|
|
98
98
|
size: size,
|
|
99
99
|
disabled: disabled,
|
|
100
100
|
selectableButton: selectableButton,
|
package/esm/code/code.js
CHANGED
|
@@ -37,5 +37,5 @@ var Root = styled(Text, { name: CodeComponentName, slot: 'Root' })(function (_a)
|
|
|
37
37
|
});
|
|
38
38
|
export var Code = React.forwardRef(function (props, ref) {
|
|
39
39
|
var children = props.children, _a = props.variant, variant = _a === void 0 ? 'code2' : _a, _b = props.noWrap, noWrap = _b === void 0 ? true : _b, textProps = __rest(props, ["children", "variant", "noWrap"]);
|
|
40
|
-
return (React.createElement(Root, __assign({ ref: ref
|
|
40
|
+
return (React.createElement(Root, __assign({ ref: ref, component: 'span', color: "textSecondary", variant: variant, noWrap: noWrap }, textProps), children));
|
|
41
41
|
});
|
|
@@ -46,12 +46,14 @@ import { TableCell, TableRow } from '../table';
|
|
|
46
46
|
import { Box } from '../box';
|
|
47
47
|
var Row = styled(TableRow, { name: 'QuantumDataTableRow', slot: 'row' })(function (_a) {
|
|
48
48
|
var ownerState = _a.ownerState, theme = _a.theme;
|
|
49
|
-
return (__assign(__assign({}, (ownerState.expandable && {
|
|
49
|
+
return (__assign(__assign(__assign({}, (ownerState.expandable && {
|
|
50
50
|
'& > *': {
|
|
51
51
|
borderBottom: 'none',
|
|
52
52
|
},
|
|
53
53
|
})), (ownerState.expanded && {
|
|
54
54
|
backgroundColor: fade(theme.tokens.color_bg_interactive_hover, 0.5),
|
|
55
|
+
})), (ownerState.clickable && {
|
|
56
|
+
cursor: 'pointer',
|
|
55
57
|
})));
|
|
56
58
|
});
|
|
57
59
|
export var isRenderableColumn = function (column) {
|
|
@@ -61,11 +63,20 @@ export function DataTableRow(props) {
|
|
|
61
63
|
var _a = __read(React.useState(false), 2), isExpanded = _a[0], setIsExpanded = _a[1];
|
|
62
64
|
var item = props.item, index = props.index, columns = props.columns, onRowClick = props.onRowClick, renderItemDetails = props.renderItemDetails, componentRenderer = props.componentRenderer, hover = props.hover, hideHeader = props.hideHeader, rowProps = __rest(props, ["item", "index", "columns", "onRowClick", "renderItemDetails", "componentRenderer", "hover", "hideHeader"]);
|
|
63
65
|
var detailsContent = null;
|
|
66
|
+
var isClickable = !!onRowClick;
|
|
67
|
+
// If hover is explicitly passed, respect it. Otherwise, enable hover when clickable.
|
|
68
|
+
var showHover = hover !== undefined ? hover : isClickable;
|
|
64
69
|
if (renderItemDetails) {
|
|
65
70
|
detailsContent = renderItemDetails(item);
|
|
66
71
|
}
|
|
72
|
+
var handleRowClick = function (event) {
|
|
73
|
+
if (onRowClick) {
|
|
74
|
+
onRowClick(event, { item: item, index: index });
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
var rowClickProps = isClickable ? { onClick: handleRowClick } : {};
|
|
67
78
|
return (React.createElement(React.Fragment, null,
|
|
68
|
-
React.createElement(Row, __assign({}, { component: componentRenderer ? componentRenderer(item, index) : 'tr'
|
|
79
|
+
React.createElement(Row, __assign({}, rowProps, { component: componentRenderer ? componentRenderer(item, index) : 'tr', hover: showHover, ownerState: { expandable: !!detailsContent, expanded: isExpanded, clickable: isClickable } }, rowClickProps),
|
|
69
80
|
columns.map(function (column, colIndex) {
|
|
70
81
|
if (!column) {
|
|
71
82
|
return null;
|
|
@@ -79,7 +90,10 @@ export function DataTableRow(props) {
|
|
|
79
90
|
}
|
|
80
91
|
return hideHeader ? (React.createElement(TableCell, { width: column.width, key: colIndex, align: column.align, padding: column.padding }, content)) : (React.createElement(TableCell, { key: colIndex, align: column.align, padding: column.padding }, content));
|
|
81
92
|
}),
|
|
82
|
-
!!renderItemDetails && (React.createElement(TableCell, { padding: "checkbox", align: "right" }, !!detailsContent && (React.createElement(IconButton, { onClick: function () {
|
|
93
|
+
!!renderItemDetails && (React.createElement(TableCell, { padding: "checkbox", align: "right" }, !!detailsContent && (React.createElement(IconButton, { onClick: function (event) {
|
|
94
|
+
event.stopPropagation();
|
|
95
|
+
setIsExpanded(!isExpanded);
|
|
96
|
+
}, variant: "link", label: isExpanded ? 'Collapse' : 'Expand' }, isExpanded ? React.createElement(ChevronUpIcon, null) : React.createElement(ChevronDownIcon, null)))))),
|
|
83
97
|
!!detailsContent && (React.createElement(Row, { ownerState: { expanded: true } },
|
|
84
98
|
React.createElement(TableCell, { padding: "none", colSpan: columns.length + 1 },
|
|
85
99
|
React.createElement(Collapse, { in: isExpanded, timeout: "auto", unmountOnExit: true },
|
|
@@ -28,7 +28,7 @@ var isSortableColumn = function (column) {
|
|
|
28
28
|
return !!column.sortable;
|
|
29
29
|
};
|
|
30
30
|
var DataTableImpl = function (props, ref) {
|
|
31
|
-
var items = props.items, hover = props.hover, columns = props.columns, onRowClick = props.onRowClick, onSort = props.onSort, sortDirection = props.sortDirection, sortOn = props.sortOn, _a = props.emptyMessage, emptyMessage = _a === void 0 ? 'There are no items to display.' : _a, _b = props.isLoading, isLoading = _b === void 0 ? false : _b, _c = props.hideHeader, hideHeader = _c === void 0 ? false : _c, renderItemDetails = props.renderItemDetails, rowRenderer = props.rowRenderer, _d = props.keyExtractor, keyExtractor = _d === void 0 ? function (_item, index) { return index; } : _d, containerProps = __rest(props, ["items", "hover", "columns", "onRowClick", "onSort", "sortDirection", "sortOn", "emptyMessage", "isLoading", "hideHeader", "renderItemDetails", "rowRenderer", "keyExtractor"]);
|
|
31
|
+
var items = props.items, hover = props.hover, columns = props.columns, onRowClick = props.onRowClick, onSort = props.onSort, sortDirection = props.sortDirection, sortOn = props.sortOn, _a = props.emptyMessage, emptyMessage = _a === void 0 ? 'There are no items to display.' : _a, _b = props.isLoading, isLoading = _b === void 0 ? false : _b, _c = props.hideHeader, hideHeader = _c === void 0 ? false : _c, renderItemDetails = props.renderItemDetails, rowRenderer = props.rowRenderer, _d = props.keyExtractor, keyExtractor = _d === void 0 ? function (_item, index) { return index; } : _d, getRowProps = props.getRowProps, containerProps = __rest(props, ["items", "hover", "columns", "onRowClick", "onSort", "sortDirection", "sortOn", "emptyMessage", "isLoading", "hideHeader", "renderItemDetails", "rowRenderer", "keyExtractor", "getRowProps"]);
|
|
32
32
|
var showEmptyState = !isLoading && !items.length;
|
|
33
33
|
return (React.createElement(TableContainer, __assign({}, containerProps, { ref: ref }),
|
|
34
34
|
React.createElement(Table, null,
|
|
@@ -46,7 +46,8 @@ var DataTableImpl = function (props, ref) {
|
|
|
46
46
|
}),
|
|
47
47
|
!!renderItemDetails && React.createElement(TableCell, null)))),
|
|
48
48
|
React.createElement(TableBody, null, props.items.map(function (item, index) {
|
|
49
|
-
|
|
49
|
+
var rowProps = getRowProps ? getRowProps(item, index) : undefined;
|
|
50
|
+
return (React.createElement(DataTableRow, __assign({ hideHeader: hideHeader, hover: hover, columns: columns, key: keyExtractor(item, index), item: item, index: index, componentRenderer: rowRenderer, onRowClick: onRowClick, renderItemDetails: renderItemDetails }, rowProps)));
|
|
50
51
|
}))),
|
|
51
52
|
isLoading && React.createElement(TableLoadingState, { items: items }),
|
|
52
53
|
showEmptyState && (React.createElement(TableEmptyState, null,
|
|
@@ -76,7 +76,7 @@ var Content = styled(Card, { name: datePickerPopoverComponentName, slot: 'Conten
|
|
|
76
76
|
: 'auto'
|
|
77
77
|
: ownerState.showTwoMonths
|
|
78
78
|
? theme.typography.pxToRem(514) // Width for two months calendar view
|
|
79
|
-
: theme.typography.pxToRem(256),
|
|
79
|
+
: theme.typography.pxToRem(256), // Width for single month calendar view
|
|
80
80
|
WebkitOverflowScrolling: 'touch',
|
|
81
81
|
padding: theme.spacing(1),
|
|
82
82
|
border: "1px solid ".concat(theme.tokens.color_border_default),
|
|
@@ -42,5 +42,5 @@ export var DropdownMenuList = React.forwardRef(function (props, ref) {
|
|
|
42
42
|
return React.createElement(DropdownMenuListItem, __assign({ key: index }, itemProps));
|
|
43
43
|
})
|
|
44
44
|
: children;
|
|
45
|
-
return (React.createElement(Root, __assign({
|
|
45
|
+
return (React.createElement(Root, __assign({ component: 'div', "aria-orientation": "vertical", disablePadding: true, autoFocus: true, ref: ref }, rootProps), content));
|
|
46
46
|
});
|
|
@@ -70,7 +70,6 @@ var Root = styled(MenuItem, { name: dropdownMenuListItemComponentName, slot: 'Ro
|
|
|
70
70
|
backgroundColor: theme.tokens.color_bg_link_danger_hover,
|
|
71
71
|
},
|
|
72
72
|
_b['&:focus:not(:active)'] = __assign({ backgroundColor: 'transparent' }, theme.mixins.focusRing({ color: theme.tokens.color_border_focus_state_danger })),
|
|
73
|
-
_b['&:$disabled'] = {},
|
|
74
73
|
_b))), (ownerState.selected && (_c = {},
|
|
75
74
|
_c["& .".concat(dropdownMenuListItemClasses.selected)] = {},
|
|
76
75
|
_c))), (ownerState.disabled && (_d = {},
|
package/esm/form/form.js
CHANGED
|
@@ -30,5 +30,5 @@ export var Form = React.forwardRef(function (props, ref) {
|
|
|
30
30
|
onSubmit(e);
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
-
return (React.createElement(FormLayout, __assign({ ref: ref
|
|
33
|
+
return (React.createElement(FormLayout, __assign({ ref: ref, noValidate: true }, rootProps, { as: "form", onSubmit: onSubmit ? handleSubmit : undefined }), children));
|
|
34
34
|
});
|
package/esm/link/link.js
CHANGED
|
@@ -78,17 +78,17 @@ var Root = styled(Text, { name: linkComponentName, slot: 'Root' })(function (_a)
|
|
|
78
78
|
position: 'relative',
|
|
79
79
|
// pulled from MUI: https://github.com/mui/material-ui/blob/master/packages/mui-material/src/Link/Link.js#L63-L85
|
|
80
80
|
WebkitTapHighlightColor: 'transparent',
|
|
81
|
-
backgroundColor: 'transparent',
|
|
81
|
+
backgroundColor: 'transparent', // Reset default value
|
|
82
82
|
// We disable the focus ring for mouse, touch and keyboard users.
|
|
83
83
|
outline: 0,
|
|
84
84
|
border: 0,
|
|
85
|
-
margin: 0,
|
|
85
|
+
margin: 0, // Remove the margin in Safari
|
|
86
86
|
borderRadius: 0,
|
|
87
|
-
padding: 0,
|
|
87
|
+
padding: 0, // Remove the padding in Firefox
|
|
88
88
|
cursor: 'pointer',
|
|
89
89
|
userSelect: 'none',
|
|
90
|
-
MozAppearance: 'none',
|
|
91
|
-
WebkitAppearance: 'none',
|
|
90
|
+
MozAppearance: 'none', // Reset
|
|
91
|
+
WebkitAppearance: 'none', // Reset
|
|
92
92
|
'&::-moz-focus-inner': {
|
|
93
93
|
borderStyle: 'none', // Remove Firefox dotted outline.
|
|
94
94
|
},
|
|
@@ -61,8 +61,8 @@ export var PanelHeader = React.forwardRef(function (props, ref) {
|
|
|
61
61
|
textOverflow: 'ellipsis',
|
|
62
62
|
}
|
|
63
63
|
: {
|
|
64
|
-
whiteSpace: 'normal',
|
|
65
|
-
overflow: 'visible',
|
|
64
|
+
whiteSpace: 'normal', // Allow wrapping
|
|
65
|
+
overflow: 'visible', // Allow content to overflow
|
|
66
66
|
textOverflow: 'clip', // Don't apply ellipsis
|
|
67
67
|
};
|
|
68
68
|
return (React.createElement(Root, __assign({ className: clsx(classes.root, className), ownerState: { isCloseButtonVisible: panelContext.isCloseButtonVisible }, ref: ref }, rootProps),
|
|
@@ -67,7 +67,7 @@ export var SelectableCard = React.forwardRef(function (props, ref) {
|
|
|
67
67
|
var content = children || React.createElement(CardHeader, { avatar: avatar, title: title, subheader: description, noWrap: noWrap });
|
|
68
68
|
var Control = type === 'radio' ? ControlRadio : ControlCheckbox;
|
|
69
69
|
var control = (React.createElement(Control, __assign({ value: value, inputRef: inputRef, onChange: onChange, disabled: disabled, className: type === 'radio' ? classes.controlRadio : classes.controlCheckbox, ownerState: { hidden: hideControl }, checked: checked }, (type === 'radio' ? RadioProps : CheckboxProps))));
|
|
70
|
-
return (React.createElement(Root, __assign({
|
|
70
|
+
return (React.createElement(Root, __assign({ ref: ref, size: size, selected: checked, disabled: disabled, button: true, className: clsx(classes.root, className), component: "label" }, rootProps),
|
|
71
71
|
controlPlacement === 'start' && control,
|
|
72
72
|
React.createElement(Content, null, content),
|
|
73
73
|
controlPlacement === 'end' && control));
|
|
@@ -95,7 +95,7 @@ export function SidebarMenuImpl(props, ref) {
|
|
|
95
95
|
sidebarCtx.onCollapseChange();
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
|
-
return (React.createElement(Root, __assign({}, rootProps, { id: id, ref: ref
|
|
98
|
+
return (React.createElement(Root, __assign({}, rootProps, { id: id, ref: ref, component: 'button', className: clsx(classes.root, className), "aria-current": undefined, onClick: handleExpandChange, titleId: titleId, endIcon: React.createElement(Icon, { ownerState: { expanded: isExpandedFinal }, className: clsx(classes.icon, isExpandedFinal && classes.iconExpanded) }), shouldCollapseSidebarOnClick: false, "aria-expanded": isExpandedFinal, "aria-controls": accordionId }),
|
|
99
99
|
React.createElement(Collapse, { in: isExpandedFinal },
|
|
100
100
|
React.createElement("div", { className: classes.region, role: "region", id: accordionId, "aria-labelledby": titleId },
|
|
101
101
|
React.createElement(Items, { className: classes.items }, items
|
package/esm/switch/switch.js
CHANGED
|
@@ -37,7 +37,7 @@ var StyledFormControlLabel = styled(BaseFormControlLabel, {
|
|
|
37
37
|
var theme = _a.theme, noWrap = _a.noWrap, labelPlacement = _a.labelPlacement;
|
|
38
38
|
return __assign((_b = { paddingLeft: 0, paddingTop: 0, paddingBottom: 0, marginLeft: 0 }, _b["& .".concat(formControlLabelClasses.container)] = {
|
|
39
39
|
lineHeight: theme.typography.pxToRem(SwitchHeight),
|
|
40
|
-
minWidth: noWrap ? 0 : undefined,
|
|
40
|
+
minWidth: noWrap ? 0 : undefined, // prevents overflow of parent flex container
|
|
41
41
|
marginLeft: theme.spacing(2),
|
|
42
42
|
'& > *:first-of-type': {
|
|
43
43
|
marginLeft: 0,
|
package/esm/tabs/tab/tab.js
CHANGED
|
@@ -35,8 +35,8 @@ var AvailabilityLabel = styled(Label)(function (_a) {
|
|
|
35
35
|
var LabelContainer = styled('div')(function (_a) {
|
|
36
36
|
var width = _a.width, maxWidth = _a.maxWidth;
|
|
37
37
|
return ({
|
|
38
|
-
width: width || 'auto',
|
|
39
|
-
maxWidth: maxWidth || 'none',
|
|
38
|
+
width: width || 'auto', // Use width from props or fallback to auto
|
|
39
|
+
maxWidth: maxWidth || 'none', // Use maxWidth from props or fallback to none
|
|
40
40
|
overflow: 'hidden',
|
|
41
41
|
whiteSpace: 'nowrap',
|
|
42
42
|
textOverflow: 'ellipsis',
|
package/esm/text/text.js
CHANGED
|
@@ -89,5 +89,5 @@ export var Text = React.forwardRef(function (props, ref) {
|
|
|
89
89
|
var variant = props.variant, propClasses = props.classes, propComponent = props.component, className = props.className, sx = props.sx, rootProps = __rest(props, ["variant", "classes", "component", "className", "sx"]);
|
|
90
90
|
var classes = useUtilityClasses(variant, propClasses);
|
|
91
91
|
var component = propComponent || getComponentForVariant({ variant: variant });
|
|
92
|
-
return (React.createElement(Root, __assign({ ref: ref, variant: variant, className: clsx([classes.root, className])
|
|
92
|
+
return (React.createElement(Root, __assign({ ref: ref, variant: variant, className: clsx([classes.root, className]), component: component, sx: sx }, rootProps)));
|
|
93
93
|
});
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ICardHeaderProps } from '../card';
|
|
3
2
|
export type IExpansionPanelHeaderProps = ICardHeaderProps;
|
|
4
3
|
export declare const ExpansionPanelHeader: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Partial<import("../card").ICardContextValue> & {
|
|
5
|
-
action?:
|
|
6
|
-
avatar?:
|
|
7
|
-
classes?: Partial<
|
|
8
|
-
disableTypography?: boolean
|
|
9
|
-
subheader?:
|
|
10
|
-
subheaderTypographyProps?: import("..").ITextProps<any
|
|
11
|
-
title?:
|
|
12
|
-
titleTypographyProps?: import("..").ITextProps<any
|
|
13
|
-
noWrap?: boolean
|
|
4
|
+
action?: React.ReactNode;
|
|
5
|
+
avatar?: React.ReactNode;
|
|
6
|
+
classes?: Partial<import("../card/card-header/card-header-classes").CardHeaderClasses>;
|
|
7
|
+
disableTypography?: boolean;
|
|
8
|
+
subheader?: React.ReactNode;
|
|
9
|
+
subheaderTypographyProps?: import("..").ITextProps<any>;
|
|
10
|
+
title?: React.ReactNode;
|
|
11
|
+
titleTypographyProps?: import("..").ITextProps<any>;
|
|
12
|
+
noWrap?: boolean;
|
|
14
13
|
} & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "title" | "ref" | "action" | "size" | "classes" | "avatar" | "disableTypography" | "subheader" | "subheaderTypographyProps" | "titleTypographyProps" | "noWrap"> & import("../styled").IStyledCommonProps & import("react").RefAttributes<HTMLDivElement>>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
|
|
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
26
26
|
}) : function(o, v) {
|
|
27
27
|
o["default"] = v;
|
|
28
28
|
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
29
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
36
46
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
47
|
exports.ExpansionPanelSummary = void 0;
|
|
38
48
|
var React = __importStar(require("react"));
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.ExpansionPanel = void 0;
|
|
27
37
|
var Accordion_1 = __importStar(require("@mui/material/Accordion"));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fieldSetClasses = exports.
|
|
3
|
+
exports.fieldSetClasses = exports.fieldSetComponentName = void 0;
|
|
4
|
+
exports.getFieldSetUtilityClass = getFieldSetUtilityClass;
|
|
4
5
|
var classes_1 = require("../styles/classes");
|
|
5
6
|
exports.fieldSetComponentName = 'QuantumFieldSet';
|
|
6
7
|
function getFieldSetUtilityClass(slot) {
|
|
7
8
|
return (0, classes_1.generateUtilityClass)(exports.fieldSetComponentName, slot);
|
|
8
9
|
}
|
|
9
|
-
exports.getFieldSetUtilityClass = getFieldSetUtilityClass;
|
|
10
10
|
exports.fieldSetClasses = (0, classes_1.generateUtilityClasses)(exports.fieldSetComponentName, [
|
|
11
11
|
'root',
|
|
12
12
|
'labelContent',
|
package/field-set/field-set.d.ts
CHANGED
|
@@ -21,9 +21,9 @@ export declare const FieldSet: React.ForwardRefExoticComponent<Pick<IFormLayoutP
|
|
|
21
21
|
label?: React.ReactNode;
|
|
22
22
|
description?: React.ReactNode;
|
|
23
23
|
/** specifies the spacing between the fields */
|
|
24
|
-
margin?: "default" | "dense"
|
|
24
|
+
margin?: "default" | "dense";
|
|
25
25
|
/**
|
|
26
26
|
* Override or extend the styles applied to the component.
|
|
27
27
|
*/
|
|
28
|
-
classes?: Partial<
|
|
28
|
+
classes?: Partial<FieldSetClasses>;
|
|
29
29
|
} & Omit<React.DetailedHTMLProps<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, "label" | "ref" | "layout" | "margin" | "classes" | "productReleaseStage" | "description"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLFieldSetElement>>;
|
package/field-set/field-set.js
CHANGED
|
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
26
26
|
}) : function(o, v) {
|
|
27
27
|
o["default"] = v;
|
|
28
28
|
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
29
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
36
46
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
47
|
var t = {};
|
|
38
48
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
26
26
|
}) : function(o, v) {
|
|
27
27
|
o["default"] = v;
|
|
28
28
|
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
29
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
36
46
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
47
|
var t = {};
|
|
38
48
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.formActionsClasses = exports.
|
|
3
|
+
exports.formActionsClasses = exports.formActionsComponentName = void 0;
|
|
4
|
+
exports.getFormActionsUtilityClass = getFormActionsUtilityClass;
|
|
4
5
|
var classes_1 = require("../../styles/classes");
|
|
5
6
|
exports.formActionsComponentName = 'QuantumFormActions';
|
|
6
7
|
function getFormActionsUtilityClass(slot) {
|
|
7
8
|
return (0, classes_1.generateUtilityClass)(exports.formActionsComponentName, slot);
|
|
8
9
|
}
|
|
9
|
-
exports.getFormActionsUtilityClass = getFormActionsUtilityClass;
|
|
10
10
|
exports.formActionsClasses = (0, classes_1.generateUtilityClasses)(exports.formActionsComponentName, ['root', 'actions']);
|