@auth0/quantum-product 2.8.1 → 2.8.3
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 +1 -1
- package/data-table/data-table-row.js +20 -10
- package/data-table/data-table-types.d.ts +0 -1
- package/data-table/data-table.d.ts +3 -1
- package/data-table/data-table.js +17 -7
- 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 +1 -1
- 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
|
@@ -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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
47
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
48
|
};
|
package/styles/classes.js
CHANGED
|
@@ -26,15 +26,26 @@ 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
|
-
exports.
|
|
47
|
+
exports.composeClasses = exports.generateUtilityClasses = exports.generateUtilityClass = void 0;
|
|
48
|
+
exports.useMergedClasses = useMergedClasses;
|
|
38
49
|
var composeClasses_1 = require("@mui/base/composeClasses");
|
|
39
50
|
Object.defineProperty(exports, "composeClasses", { enumerable: true, get: function () { return composeClasses_1.unstable_composeClasses; } });
|
|
40
51
|
var React = __importStar(require("react"));
|
|
@@ -52,4 +63,3 @@ function useMergedClasses(allClasses, getUtilityClass, propClasses) {
|
|
|
52
63
|
}, [allClasses]);
|
|
53
64
|
return (0, composeClasses_1.unstable_composeClasses)(slotMap, getUtilityClass, propClasses);
|
|
54
65
|
}
|
|
55
|
-
exports.useMergedClasses = useMergedClasses;
|
package/svg-icon/svg-icon.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ export declare const SvgIcon: React.ForwardRefExoticComponent<{
|
|
|
13
13
|
/** Shortcut prop for height and width.
|
|
14
14
|
* @default "1em"
|
|
15
15
|
*/
|
|
16
|
-
size?:
|
|
16
|
+
size?: number | string;
|
|
17
17
|
} & Omit<React.SVGProps<SVGSVGElement>, "ref" | "size"> & import("../styled").IStyledCommonProps & React.RefAttributes<SVGSVGElement>>;
|
package/svg-icon/svg-icon.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)
|
package/switch/switch-classes.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.switchClasses = exports.
|
|
3
|
+
exports.switchClasses = exports.switchComponentName = void 0;
|
|
4
|
+
exports.getSwitchUtilityClass = getSwitchUtilityClass;
|
|
4
5
|
var classes_1 = require("../styles/classes");
|
|
5
6
|
exports.switchComponentName = 'QuantumSwitch';
|
|
6
7
|
function getSwitchUtilityClass(slot) {
|
|
7
8
|
return (0, classes_1.generateUtilityClass)(exports.switchComponentName, slot);
|
|
8
9
|
}
|
|
9
|
-
exports.getSwitchUtilityClass = getSwitchUtilityClass;
|
|
10
10
|
exports.switchClasses = (0, classes_1.generateUtilityClasses)(exports.switchComponentName, ['switch', 'formControlLabel']);
|
|
@@ -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)
|
package/switch/switch.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)
|
|
@@ -66,7 +76,7 @@ var StyledFormControlLabel = (0, styled_1.styled)(form_1.FormControlLabel, {
|
|
|
66
76
|
var theme = _a.theme, noWrap = _a.noWrap, labelPlacement = _a.labelPlacement;
|
|
67
77
|
return __assign((_b = { paddingLeft: 0, paddingTop: 0, paddingBottom: 0, marginLeft: 0 }, _b["& .".concat(form_1.formControlLabelClasses.container)] = {
|
|
68
78
|
lineHeight: theme.typography.pxToRem(SwitchHeight),
|
|
69
|
-
minWidth: noWrap ? 0 : undefined,
|
|
79
|
+
minWidth: noWrap ? 0 : undefined, // prevents overflow of parent flex container
|
|
70
80
|
marginLeft: theme.spacing(2),
|
|
71
81
|
'& > *:first-of-type': {
|
|
72
82
|
marginLeft: 0,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.tableLoadingStateClasses = exports.
|
|
3
|
+
exports.tableLoadingStateClasses = exports.tableLoadingStateComponentName = void 0;
|
|
4
|
+
exports.getTableLoadingStateUtilityClass = getTableLoadingStateUtilityClass;
|
|
4
5
|
var classes_1 = require("../../styles/classes");
|
|
5
6
|
exports.tableLoadingStateComponentName = 'QuantumTableLoadingState';
|
|
6
7
|
function getTableLoadingStateUtilityClass(slot) {
|
|
7
8
|
return (0, classes_1.generateUtilityClass)(exports.tableLoadingStateComponentName, slot);
|
|
8
9
|
}
|
|
9
|
-
exports.getTableLoadingStateUtilityClass = getTableLoadingStateUtilityClass;
|
|
10
10
|
exports.tableLoadingStateClasses = (0, classes_1.generateUtilityClasses)(exports.tableLoadingStateComponentName, ['root', 'spinner']);
|
|
@@ -9,6 +9,6 @@ export type ITableLoadingStateProps = IStyledComponentProps<{
|
|
|
9
9
|
defaultComponent: 'div';
|
|
10
10
|
}>;
|
|
11
11
|
export declare const TableLoadingState: React.ForwardRefExoticComponent<{
|
|
12
|
-
items?: any[]
|
|
13
|
-
classes?: Partial<
|
|
12
|
+
items?: any[];
|
|
13
|
+
classes?: Partial<TableLoadingStateClasses>;
|
|
14
14
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "classes" | "items"> & import("../../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
47
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
48
|
};
|
package/tabs/tab/tab.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ type ITabTypeMap<ExtraPropsType = {}, DefaultElementType extends React.ElementTy
|
|
|
6
6
|
analyticsId?: string;
|
|
7
7
|
}, DefaultElementType>;
|
|
8
8
|
export type ITabProps<D extends React.ElementType = ITabTypeMap['defaultComponent'], P = {}> = OverrideProps<ITabTypeMap<P, D>, D>;
|
|
9
|
-
export declare const Tab: OverridableComponent<ITabTypeMap
|
|
9
|
+
export declare const Tab: OverridableComponent<ITabTypeMap>;
|
|
10
10
|
export {};
|
package/tabs/tab/tab.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)
|
|
@@ -64,8 +74,8 @@ var AvailabilityLabel = (0, styled_1.styled)(label_1.Label)(function (_a) {
|
|
|
64
74
|
var LabelContainer = (0, styled_1.styled)('div')(function (_a) {
|
|
65
75
|
var width = _a.width, maxWidth = _a.maxWidth;
|
|
66
76
|
return ({
|
|
67
|
-
width: width || 'auto',
|
|
68
|
-
maxWidth: maxWidth || 'none',
|
|
77
|
+
width: width || 'auto', // Use width from props or fallback to auto
|
|
78
|
+
maxWidth: maxWidth || 'none', // Use maxWidth from props or fallback to none
|
|
69
79
|
overflow: 'hidden',
|
|
70
80
|
whiteSpace: 'nowrap',
|
|
71
81
|
textOverflow: 'ellipsis',
|
|
@@ -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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
47
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
48
|
};
|
|
@@ -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)
|
package/tabs/tabs-context.js
CHANGED
|
@@ -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.useTabsContext = exports.TabsContext = void 0;
|
|
27
37
|
var React = __importStar(require("react"));
|
package/tabs/tabs.js
CHANGED
|
@@ -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.Tabs = void 0;
|
|
27
37
|
var React = __importStar(require("react"));
|
package/text/text-classes.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.textClasses = exports.
|
|
3
|
+
exports.textClasses = exports.textComponentName = void 0;
|
|
4
|
+
exports.getTextUtilityClass = getTextUtilityClass;
|
|
4
5
|
var classes_1 = require("../styles/classes");
|
|
5
6
|
exports.textComponentName = 'QuantumText';
|
|
6
7
|
function getTextUtilityClass(slot) {
|
|
7
8
|
return (0, classes_1.generateUtilityClass)(exports.textComponentName, slot);
|
|
8
9
|
}
|
|
9
|
-
exports.getTextUtilityClass = getTextUtilityClass;
|
|
10
10
|
exports.textClasses = (0, classes_1.generateUtilityClasses)(exports.textComponentName, [
|
|
11
11
|
'root',
|
|
12
12
|
'type_code_50',
|
package/text/text-overrides.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TypographyProps } from '@mui/material/Typography';
|
|
2
|
-
export declare const createMuiTypographyOverrides: import("../theme/create-component-overrides").ComponentOverrideCreator<TypographyProps
|
|
2
|
+
export declare const createMuiTypographyOverrides: import("../theme/create-component-overrides").ComponentOverrideCreator<TypographyProps, keyof import("@mui/material/Typography").TypographyClasses>;
|
package/text/text.d.ts
CHANGED
|
@@ -55,12 +55,12 @@ export type ITextProps<RootComponent extends React.ElementType = 'span'> = Defau
|
|
|
55
55
|
defaultComponent: RootComponent;
|
|
56
56
|
}>;
|
|
57
57
|
export declare const textVariantMapping: Partial<Record<ThemeTypeTokenName, React.ElementType>>;
|
|
58
|
-
export declare const Text: React.ForwardRefExoticComponent<Omit<TypographyOwnProps, "color" | "
|
|
58
|
+
export declare const Text: React.ForwardRefExoticComponent<Omit<TypographyOwnProps, "color" | "as" | "align" | "classes" | "sx" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "component"> & {
|
|
59
59
|
/**
|
|
60
60
|
* Set the text-align on the component.
|
|
61
61
|
* @default 'inherit'
|
|
62
62
|
*/
|
|
63
|
-
align?: "
|
|
63
|
+
align?: "inherit" | "left" | "center" | "right" | "justify";
|
|
64
64
|
/**
|
|
65
65
|
* The content of the component.
|
|
66
66
|
*/
|
|
@@ -68,21 +68,21 @@ export declare const Text: React.ForwardRefExoticComponent<Omit<TypographyOwnPro
|
|
|
68
68
|
/**
|
|
69
69
|
* Override or extend the styles applied to the component.
|
|
70
70
|
*/
|
|
71
|
-
classes?: Partial<
|
|
71
|
+
classes?: Partial<TextClasses>;
|
|
72
72
|
/**
|
|
73
73
|
* The color of the text. Only foreground tokens are supported.
|
|
74
74
|
*/
|
|
75
|
-
color?: LiteralUnion<ThemeColorFGTokenName
|
|
75
|
+
color?: LiteralUnion<ThemeColorFGTokenName>;
|
|
76
76
|
/**
|
|
77
77
|
* The component used for the root node.
|
|
78
78
|
* Either a string to use a HTML element or a component.
|
|
79
79
|
*/
|
|
80
|
-
component?: React.ElementType
|
|
80
|
+
component?: React.ElementType;
|
|
81
81
|
/**
|
|
82
82
|
* If `true`, the text will have a bottom margin.
|
|
83
83
|
* @default false
|
|
84
84
|
*/
|
|
85
|
-
gutterBottom?: boolean
|
|
85
|
+
gutterBottom?: boolean;
|
|
86
86
|
/**
|
|
87
87
|
* If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
|
|
88
88
|
*
|
|
@@ -90,15 +90,15 @@ export declare const Text: React.ForwardRefExoticComponent<Omit<TypographyOwnPro
|
|
|
90
90
|
* (the element needs to have a width in order to overflow).
|
|
91
91
|
* @default false
|
|
92
92
|
*/
|
|
93
|
-
noWrap?: boolean
|
|
93
|
+
noWrap?: boolean;
|
|
94
94
|
/**
|
|
95
95
|
* If `true`, the element will be a paragraph element.
|
|
96
96
|
* @default false
|
|
97
97
|
*/
|
|
98
|
-
paragraph?: boolean
|
|
99
|
-
sx?: SxProps
|
|
98
|
+
paragraph?: boolean;
|
|
99
|
+
sx?: SxProps;
|
|
100
100
|
/**
|
|
101
101
|
* The color of the text. Only foreground tokens are supported.
|
|
102
102
|
*/
|
|
103
|
-
variant?: ThemeTypeTokenName | TypographyOwnProps[
|
|
104
|
-
} & 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" | "
|
|
103
|
+
variant?: ThemeTypeTokenName | TypographyOwnProps["variant"];
|
|
104
|
+
} & 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>>;
|
package/text/text.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)
|
|
@@ -118,5 +128,5 @@ exports.Text = React.forwardRef(function (props, ref) {
|
|
|
118
128
|
var variant = props.variant, propClasses = props.classes, propComponent = props.component, className = props.className, sx = props.sx, rootProps = __rest(props, ["variant", "classes", "component", "className", "sx"]);
|
|
119
129
|
var classes = useUtilityClasses(variant, propClasses);
|
|
120
130
|
var component = propComponent || getComponentForVariant({ variant: variant });
|
|
121
|
-
return (React.createElement(Root, __assign({ ref: ref, variant: variant, className: (0, clsx_1.default)([classes.root, className])
|
|
131
|
+
return (React.createElement(Root, __assign({ ref: ref, variant: variant, className: (0, clsx_1.default)([classes.root, className]), component: component, sx: sx }, rootProps)));
|
|
122
132
|
});
|