@auth0/quantum-product 1.5.1
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/LICENSE +186 -0
- package/accordion/accordion-actions.d.ts +2 -0
- package/accordion/accordion-actions.js +8 -0
- package/accordion/accordion-details.d.ts +4 -0
- package/accordion/accordion-details.js +22 -0
- package/accordion/accordion-summary.d.ts +4 -0
- package/accordion/accordion-summary.js +25 -0
- package/accordion/accordion.d.ts +4 -0
- package/accordion/accordion.js +26 -0
- package/accordion/index.d.ts +8 -0
- package/accordion/index.js +11 -0
- package/alert/alert-classes.d.ts +5 -0
- package/alert/alert-classes.js +17 -0
- package/alert/alert-title/alert-title-overrides.d.ts +3 -0
- package/alert/alert-title/alert-title-overrides.js +23 -0
- package/alert/alert-title/index.d.ts +2 -0
- package/alert/alert-title/index.js +8 -0
- package/alert/alert.d.ts +145 -0
- package/alert/alert.js +225 -0
- package/alert/index.d.ts +4 -0
- package/alert/index.js +22 -0
- package/app-bar/app-bar-actions/app-bar-actions.d.ts +12 -0
- package/app-bar/app-bar-actions/app-bar-actions.js +19 -0
- package/app-bar/app-bar-actions/index.d.ts +2 -0
- package/app-bar/app-bar-actions/index.js +5 -0
- package/app-bar/app-bar-button/app-bar-button.d.ts +22 -0
- package/app-bar/app-bar-button/app-bar-button.js +70 -0
- package/app-bar/app-bar-button/index.d.ts +2 -0
- package/app-bar/app-bar-button/index.js +5 -0
- package/app-bar/app-bar-content/app-bar-content.d.ts +7 -0
- package/app-bar/app-bar-content/app-bar-content.js +18 -0
- package/app-bar/app-bar-content/index.d.ts +2 -0
- package/app-bar/app-bar-content/index.js +5 -0
- package/app-bar/app-bar-divider/app-bar-divider.d.ts +3 -0
- package/app-bar/app-bar-divider/app-bar-divider.js +15 -0
- package/app-bar/app-bar-divider/index.d.ts +2 -0
- package/app-bar/app-bar-divider/index.js +5 -0
- package/app-bar/app-bar-icon-button/app-bar-icon-button.d.ts +24 -0
- package/app-bar/app-bar-icon-button/app-bar-icon-button.js +65 -0
- package/app-bar/app-bar-icon-button/index.d.ts +2 -0
- package/app-bar/app-bar-icon-button/index.js +5 -0
- package/app-bar/app-bar-overrides.d.ts +3 -0
- package/app-bar/app-bar-overrides.js +36 -0
- package/app-bar/app-bar.d.ts +3 -0
- package/app-bar/app-bar.js +8 -0
- package/app-bar/index.d.ts +7 -0
- package/app-bar/index.js +24 -0
- package/app-layout/app-layout-classes.d.ts +6 -0
- package/app-layout/app-layout-classes.js +15 -0
- package/app-layout/app-layout.d.ts +19 -0
- package/app-layout/app-layout.js +123 -0
- package/app-layout/index.d.ts +3 -0
- package/app-layout/index.js +7 -0
- package/autocomplete/autocomplete-overrides.d.ts +3 -0
- package/autocomplete/autocomplete-overrides.js +45 -0
- package/autocomplete/index.d.ts +2 -0
- package/autocomplete/index.js +9 -0
- package/avatar/avatar-classes.d.ts +5 -0
- package/avatar/avatar-classes.js +10 -0
- package/avatar/avatar-context.d.ts +14 -0
- package/avatar/avatar-context.js +32 -0
- package/avatar/avatar.d.ts +77 -0
- package/avatar/avatar.js +211 -0
- package/avatar/index.d.ts +5 -0
- package/avatar/index.js +10 -0
- package/avatar/use-avatar-image.d.ts +13 -0
- package/avatar/use-avatar-image.js +104 -0
- package/avatar-block/avatar-block-classes.d.ts +6 -0
- package/avatar-block/avatar-block-classes.js +15 -0
- package/avatar-block/avatar-block.d.ts +22 -0
- package/avatar-block/avatar-block.js +95 -0
- package/avatar-block/index.d.ts +2 -0
- package/avatar-block/index.js +5 -0
- package/backdrop/backdrop-overrides.d.ts +3 -0
- package/backdrop/backdrop-overrides.js +17 -0
- package/backdrop/index.d.ts +2 -0
- package/backdrop/index.js +9 -0
- package/badge/badge-overrides.d.ts +2 -0
- package/badge/badge-overrides.js +70 -0
- package/badge/badge.d.ts +4 -0
- package/badge/badge.js +56 -0
- package/badge/index.d.ts +2 -0
- package/badge/index.js +5 -0
- package/banner/banner-classes.d.ts +5 -0
- package/banner/banner-classes.js +10 -0
- package/banner/banner.d.ts +13 -0
- package/banner/banner.js +78 -0
- package/banner/index.d.ts +2 -0
- package/banner/index.js +5 -0
- package/box/index.d.ts +2 -0
- package/box/index.js +8 -0
- package/breadcrumbs/breadcrumbs-item/breadcrumbs-item-classes.d.ts +5 -0
- package/breadcrumbs/breadcrumbs-item/breadcrumbs-item-classes.js +17 -0
- package/breadcrumbs/breadcrumbs-item/breadcrumbs-item.d.ts +24 -0
- package/breadcrumbs/breadcrumbs-item/breadcrumbs-item.js +104 -0
- package/breadcrumbs/breadcrumbs-item/index.d.ts +3 -0
- package/breadcrumbs/breadcrumbs-item/index.js +7 -0
- package/breadcrumbs/breadcrumbs-overrides.d.ts +2 -0
- package/breadcrumbs/breadcrumbs-overrides.js +15 -0
- package/breadcrumbs/breadcrumbs.d.ts +8 -0
- package/breadcrumbs/breadcrumbs.js +59 -0
- package/breadcrumbs/index.d.ts +3 -0
- package/breadcrumbs/index.js +20 -0
- package/button/button-overrides.d.ts +2 -0
- package/button/button-overrides.js +263 -0
- package/button/button.d.ts +27 -0
- package/button/button.js +84 -0
- package/button/index.d.ts +2 -0
- package/button/index.js +6 -0
- package/card/card-content/card-content.d.ts +3 -0
- package/card/card-content/card-content.js +6 -0
- package/card/card-content/index.d.ts +2 -0
- package/card/card-content/index.js +5 -0
- package/card/card-context.d.ts +8 -0
- package/card/card-context.js +33 -0
- package/card/card-header/card-header-classes.d.ts +5 -0
- package/card/card-header/card-header-classes.js +17 -0
- package/card/card-header/card-header-overrides.d.ts +2 -0
- package/card/card-header/card-header-overrides.js +49 -0
- package/card/card-header/card-header.d.ts +88 -0
- package/card/card-header/card-header.js +95 -0
- package/card/card-header/index.d.ts +3 -0
- package/card/card-header/index.js +7 -0
- package/card/card-overrides.d.ts +2 -0
- package/card/card-overrides.js +9 -0
- package/card/card.d.ts +21 -0
- package/card/card.js +126 -0
- package/card/index.d.ts +6 -0
- package/card/index.js +24 -0
- package/checkbox/checkbox-classes.d.ts +5 -0
- package/checkbox/checkbox-classes.js +10 -0
- package/checkbox/checkbox-icons.d.ts +3 -0
- package/checkbox/checkbox-icons.js +46 -0
- package/checkbox/checkbox-overrides.d.ts +3 -0
- package/checkbox/checkbox-overrides.js +65 -0
- package/checkbox/checkbox.d.ts +15 -0
- package/checkbox/checkbox.js +91 -0
- package/checkbox/index.d.ts +3 -0
- package/checkbox/index.js +7 -0
- package/checkbox-field/checkbox-field.d.ts +15 -0
- package/checkbox-field/checkbox-field.js +68 -0
- package/checkbox-field/index.d.ts +2 -0
- package/checkbox-field/index.js +5 -0
- package/chip/chip-overrides.d.ts +2 -0
- package/chip/chip-overrides.js +69 -0
- package/chip/chip.d.ts +7 -0
- package/chip/chip.js +100 -0
- package/chip/index.d.ts +2 -0
- package/chip/index.js +5 -0
- package/code/code.d.ts +18 -0
- package/code/code.js +66 -0
- package/code/index.d.ts +2 -0
- package/code/index.js +5 -0
- package/collapse/index.d.ts +2 -0
- package/collapse/index.js +8 -0
- package/color-text-field/color-text-field.d.ts +7 -0
- package/color-text-field/color-text-field.js +74 -0
- package/color-text-field/index.d.ts +2 -0
- package/color-text-field/index.js +5 -0
- package/column-layout/column-layout.d.ts +14 -0
- package/column-layout/column-layout.js +72 -0
- package/column-layout/index.d.ts +2 -0
- package/column-layout/index.js +5 -0
- package/config-block/config-block-classes.d.ts +5 -0
- package/config-block/config-block-classes.js +10 -0
- package/config-block/config-block.d.ts +17 -0
- package/config-block/config-block.js +110 -0
- package/config-block/index.d.ts +3 -0
- package/config-block/index.js +7 -0
- package/content/content.d.ts +1 -0
- package/content/content.js +101 -0
- package/content/index.d.ts +1 -0
- package/content/index.js +5 -0
- package/copy-button/copy-button.d.ts +34 -0
- package/copy-button/copy-button.js +93 -0
- package/copy-button/index.d.ts +2 -0
- package/copy-button/index.js +5 -0
- package/css-baseline/css-baseline-overrides.d.ts +2 -0
- package/css-baseline/css-baseline-overrides.js +27 -0
- package/css-baseline/index.d.ts +2 -0
- package/css-baseline/index.js +8 -0
- package/danger-zone/danger-zone-item/danger-zone-item.d.ts +16 -0
- package/danger-zone/danger-zone-item/danger-zone-item.js +91 -0
- package/danger-zone/danger-zone-item/index.d.ts +2 -0
- package/danger-zone/danger-zone-item/index.js +5 -0
- package/danger-zone/danger-zone-item-action/danger-zone-item-action.d.ts +6 -0
- package/danger-zone/danger-zone-item-action/danger-zone-item-action.js +50 -0
- package/danger-zone/danger-zone-item-action/index.d.ts +2 -0
- package/danger-zone/danger-zone-item-action/index.js +5 -0
- package/danger-zone/danger-zone.d.ts +8 -0
- package/danger-zone/danger-zone.js +58 -0
- package/danger-zone/index.d.ts +4 -0
- package/danger-zone/index.js +21 -0
- package/data-table/data-table-row.d.ts +21 -0
- package/data-table/data-table-row.js +115 -0
- package/data-table/data-table-types.d.ts +24 -0
- package/data-table/data-table-types.js +2 -0
- package/data-table/data-table.d.ts +36 -0
- package/data-table/data-table.js +81 -0
- package/data-table/index.d.ts +3 -0
- package/data-table/index.js +5 -0
- package/description-block/description-block.d.ts +28 -0
- package/description-block/description-block.js +97 -0
- package/description-block/index.d.ts +2 -0
- package/description-block/index.js +5 -0
- package/dialog/dialog-actions/dialog-actions-overrides.d.ts +3 -0
- package/dialog/dialog-actions/dialog-actions-overrides.js +14 -0
- package/dialog/dialog-actions/index.d.ts +2 -0
- package/dialog/dialog-actions/index.js +8 -0
- package/dialog/dialog-content/dialog-content-overrides.d.ts +3 -0
- package/dialog/dialog-content/dialog-content-overrides.js +20 -0
- package/dialog/dialog-content/index.d.ts +2 -0
- package/dialog/dialog-content/index.js +9 -0
- package/dialog/dialog-overrides.d.ts +3 -0
- package/dialog/dialog-overrides.js +20 -0
- package/dialog/dialog-title/dialog-title-classes.d.ts +5 -0
- package/dialog/dialog-title/dialog-title-classes.js +10 -0
- package/dialog/dialog-title/dialog-title-overrides.d.ts +3 -0
- package/dialog/dialog-title/dialog-title-overrides.js +14 -0
- package/dialog/dialog-title/dialog-title.d.ts +10 -0
- package/dialog/dialog-title/dialog-title.js +77 -0
- package/dialog/dialog-title/index.d.ts +3 -0
- package/dialog/dialog-title/index.js +7 -0
- package/dialog/dialog.d.ts +16 -0
- package/dialog/dialog.js +89 -0
- package/dialog/index.d.ts +5 -0
- package/dialog/index.js +22 -0
- package/divider/divider-overrides.d.ts +3 -0
- package/divider/divider-overrides.js +17 -0
- package/divider/index.d.ts +3 -0
- package/divider/index.js +8 -0
- package/drawer/index.d.ts +2 -0
- package/drawer/index.js +9 -0
- package/dropdown-menu/dropdown-menu-classes.d.ts +5 -0
- package/dropdown-menu/dropdown-menu-classes.js +10 -0
- package/dropdown-menu/dropdown-menu-context.d.ts +7 -0
- package/dropdown-menu/dropdown-menu-context.js +33 -0
- package/dropdown-menu/dropdown-menu-divider/dropdown-menu-divider.d.ts +4 -0
- package/dropdown-menu/dropdown-menu-divider/dropdown-menu-divider.js +62 -0
- package/dropdown-menu/dropdown-menu-divider/index.d.ts +2 -0
- package/dropdown-menu/dropdown-menu-divider/index.js +5 -0
- package/dropdown-menu/dropdown-menu-group/dropdown-menu-group-classes.d.ts +5 -0
- package/dropdown-menu/dropdown-menu-group/dropdown-menu-group-classes.js +10 -0
- package/dropdown-menu/dropdown-menu-group/dropdown-menu-group.d.ts +11 -0
- package/dropdown-menu/dropdown-menu-group/dropdown-menu-group.js +72 -0
- package/dropdown-menu/dropdown-menu-group/index.d.ts +3 -0
- package/dropdown-menu/dropdown-menu-group/index.js +7 -0
- package/dropdown-menu/dropdown-menu-item/dropdown-menu-item.d.ts +8 -0
- package/dropdown-menu/dropdown-menu-item/dropdown-menu-item.js +64 -0
- package/dropdown-menu/dropdown-menu-item/index.d.ts +2 -0
- package/dropdown-menu/dropdown-menu-item/index.js +5 -0
- package/dropdown-menu/dropdown-menu-list/dropdown-menu-list.d.ts +17 -0
- package/dropdown-menu/dropdown-menu-list/dropdown-menu-list.js +72 -0
- package/dropdown-menu/dropdown-menu-list/index.d.ts +2 -0
- package/dropdown-menu/dropdown-menu-list/index.js +5 -0
- package/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item-classes.d.ts +5 -0
- package/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item-classes.js +24 -0
- package/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item.d.ts +18 -0
- package/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item.js +202 -0
- package/dropdown-menu/dropdown-menu-list-item/index.d.ts +3 -0
- package/dropdown-menu/dropdown-menu-list-item/index.js +7 -0
- package/dropdown-menu/dropdown-menu-search/dropdown-menu-search-classes.d.ts +5 -0
- package/dropdown-menu/dropdown-menu-search/dropdown-menu-search-classes.js +10 -0
- package/dropdown-menu/dropdown-menu-search/dropdown-menu-search.d.ts +17 -0
- package/dropdown-menu/dropdown-menu-search/dropdown-menu-search.js +77 -0
- package/dropdown-menu/dropdown-menu-search/index.d.ts +3 -0
- package/dropdown-menu/dropdown-menu-search/index.js +7 -0
- package/dropdown-menu/dropdown-menu-state/dropdown-menu-state.d.ts +25 -0
- package/dropdown-menu/dropdown-menu-state/dropdown-menu-state.js +96 -0
- package/dropdown-menu/dropdown-menu-state/index.d.ts +2 -0
- package/dropdown-menu/dropdown-menu-state/index.js +8 -0
- package/dropdown-menu/dropdown-menu.d.ts +17 -0
- package/dropdown-menu/dropdown-menu.js +89 -0
- package/dropdown-menu/index.d.ts +12 -0
- package/dropdown-menu/index.js +31 -0
- package/empty-state/empty-state-action/empty-state-action.d.ts +3 -0
- package/empty-state/empty-state-action/empty-state-action.js +42 -0
- package/empty-state/empty-state-action/index.d.ts +2 -0
- package/empty-state/empty-state-action/index.js +5 -0
- package/empty-state/empty-state-classes.d.ts +5 -0
- package/empty-state/empty-state-classes.js +20 -0
- package/empty-state/empty-state.d.ts +41 -0
- package/empty-state/empty-state.js +144 -0
- package/empty-state/index.d.ts +4 -0
- package/empty-state/index.js +22 -0
- package/esm/accordion/accordion-actions.js +1 -0
- package/esm/accordion/accordion-details.js +16 -0
- package/esm/accordion/accordion-summary.js +19 -0
- package/esm/accordion/accordion.js +20 -0
- package/esm/accordion/index.js +4 -0
- package/esm/alert/alert-classes.js +13 -0
- package/esm/alert/alert-title/alert-title-overrides.js +19 -0
- package/esm/alert/alert-title/index.js +1 -0
- package/esm/alert/alert.js +196 -0
- package/esm/alert/index.js +3 -0
- package/esm/app-bar/app-bar-actions/app-bar-actions.js +16 -0
- package/esm/app-bar/app-bar-actions/index.js +1 -0
- package/esm/app-bar/app-bar-button/app-bar-button.js +44 -0
- package/esm/app-bar/app-bar-button/index.js +1 -0
- package/esm/app-bar/app-bar-content/app-bar-content.js +15 -0
- package/esm/app-bar/app-bar-content/index.js +1 -0
- package/esm/app-bar/app-bar-divider/app-bar-divider.js +12 -0
- package/esm/app-bar/app-bar-divider/index.js +1 -0
- package/esm/app-bar/app-bar-icon-button/app-bar-icon-button.js +39 -0
- package/esm/app-bar/app-bar-icon-button/index.js +1 -0
- package/esm/app-bar/app-bar-overrides.js +32 -0
- package/esm/app-bar/app-bar.js +1 -0
- package/esm/app-bar/index.js +6 -0
- package/esm/app-layout/app-layout-classes.js +11 -0
- package/esm/app-layout/app-layout.js +94 -0
- package/esm/app-layout/index.js +2 -0
- package/esm/autocomplete/autocomplete-overrides.js +41 -0
- package/esm/autocomplete/index.js +1 -0
- package/esm/avatar/avatar-classes.js +6 -0
- package/esm/avatar/avatar-context.js +5 -0
- package/esm/avatar/avatar.js +182 -0
- package/esm/avatar/index.js +3 -0
- package/esm/avatar/use-avatar-image.js +74 -0
- package/esm/avatar-block/avatar-block-classes.js +11 -0
- package/esm/avatar-block/avatar-block.js +66 -0
- package/esm/avatar-block/index.js +1 -0
- package/esm/backdrop/backdrop-overrides.js +13 -0
- package/esm/backdrop/index.js +1 -0
- package/esm/badge/badge-overrides.js +67 -0
- package/esm/badge/badge.js +30 -0
- package/esm/badge/index.js +1 -0
- package/esm/banner/banner-classes.js +6 -0
- package/esm/banner/banner.js +52 -0
- package/esm/banner/index.js +1 -0
- package/esm/box/index.js +1 -0
- package/esm/breadcrumbs/breadcrumbs-item/breadcrumbs-item-classes.js +13 -0
- package/esm/breadcrumbs/breadcrumbs-item/breadcrumbs-item.js +75 -0
- package/esm/breadcrumbs/breadcrumbs-item/index.js +2 -0
- package/esm/breadcrumbs/breadcrumbs-overrides.js +12 -0
- package/esm/breadcrumbs/breadcrumbs.js +30 -0
- package/esm/breadcrumbs/index.js +2 -0
- package/esm/button/button-overrides.js +260 -0
- package/esm/button/button.js +58 -0
- package/esm/button/index.js +1 -0
- package/esm/card/card-content/card-content.js +3 -0
- package/esm/card/card-content/index.js +1 -0
- package/esm/card/card-context.js +6 -0
- package/esm/card/card-header/card-header-classes.js +13 -0
- package/esm/card/card-header/card-header-overrides.js +46 -0
- package/esm/card/card-header/card-header.js +66 -0
- package/esm/card/card-header/index.js +2 -0
- package/esm/card/card-overrides.js +6 -0
- package/esm/card/card.js +97 -0
- package/esm/card/index.js +4 -0
- package/esm/checkbox/checkbox-classes.js +6 -0
- package/esm/checkbox/checkbox-icons.js +18 -0
- package/esm/checkbox/checkbox-overrides.js +61 -0
- package/esm/checkbox/checkbox.js +62 -0
- package/esm/checkbox/index.js +2 -0
- package/esm/checkbox-field/checkbox-field.js +42 -0
- package/esm/checkbox-field/index.js +1 -0
- package/esm/chip/chip-overrides.js +66 -0
- package/esm/chip/chip.js +74 -0
- package/esm/chip/index.js +1 -0
- package/esm/code/code.js +40 -0
- package/esm/code/index.js +1 -0
- package/esm/collapse/index.js +1 -0
- package/esm/color-text-field/color-text-field.js +48 -0
- package/esm/color-text-field/index.js +1 -0
- package/esm/column-layout/column-layout.js +46 -0
- package/esm/column-layout/index.js +1 -0
- package/esm/config-block/config-block-classes.js +6 -0
- package/esm/config-block/config-block.js +81 -0
- package/esm/config-block/index.js +2 -0
- package/esm/content/content.js +98 -0
- package/esm/content/index.js +1 -0
- package/esm/copy-button/copy-button.js +67 -0
- package/esm/copy-button/index.js +1 -0
- package/esm/css-baseline/css-baseline-overrides.js +24 -0
- package/esm/css-baseline/index.js +1 -0
- package/esm/danger-zone/danger-zone-item/danger-zone-item.js +65 -0
- package/esm/danger-zone/danger-zone-item/index.js +1 -0
- package/esm/danger-zone/danger-zone-item-action/danger-zone-item-action.js +24 -0
- package/esm/danger-zone/danger-zone-item-action/index.js +1 -0
- package/esm/danger-zone/danger-zone.js +32 -0
- package/esm/danger-zone/index.js +3 -0
- package/esm/data-table/data-table-row.js +87 -0
- package/esm/data-table/data-table-types.js +1 -0
- package/esm/data-table/data-table.js +55 -0
- package/esm/data-table/index.js +1 -0
- package/esm/description-block/description-block.js +71 -0
- package/esm/description-block/index.js +1 -0
- package/esm/dialog/dialog-actions/dialog-actions-overrides.js +10 -0
- package/esm/dialog/dialog-actions/index.js +1 -0
- package/esm/dialog/dialog-content/dialog-content-overrides.js +16 -0
- package/esm/dialog/dialog-content/index.js +1 -0
- package/esm/dialog/dialog-overrides.js +16 -0
- package/esm/dialog/dialog-title/dialog-title-classes.js +6 -0
- package/esm/dialog/dialog-title/dialog-title-overrides.js +10 -0
- package/esm/dialog/dialog-title/dialog-title.js +48 -0
- package/esm/dialog/dialog-title/index.js +2 -0
- package/esm/dialog/dialog.js +60 -0
- package/esm/dialog/index.js +4 -0
- package/esm/divider/divider-overrides.js +13 -0
- package/esm/divider/index.js +1 -0
- package/esm/drawer/index.js +1 -0
- package/esm/dropdown-menu/dropdown-menu-classes.js +6 -0
- package/esm/dropdown-menu/dropdown-menu-context.js +6 -0
- package/esm/dropdown-menu/dropdown-menu-divider/dropdown-menu-divider.js +36 -0
- package/esm/dropdown-menu/dropdown-menu-divider/index.js +1 -0
- package/esm/dropdown-menu/dropdown-menu-group/dropdown-menu-group-classes.js +6 -0
- package/esm/dropdown-menu/dropdown-menu-group/dropdown-menu-group.js +46 -0
- package/esm/dropdown-menu/dropdown-menu-group/index.js +2 -0
- package/esm/dropdown-menu/dropdown-menu-item/dropdown-menu-item.js +38 -0
- package/esm/dropdown-menu/dropdown-menu-item/index.js +1 -0
- package/esm/dropdown-menu/dropdown-menu-list/dropdown-menu-list.js +46 -0
- package/esm/dropdown-menu/dropdown-menu-list/index.js +1 -0
- package/esm/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item-classes.js +20 -0
- package/esm/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item.js +173 -0
- package/esm/dropdown-menu/dropdown-menu-list-item/index.js +2 -0
- package/esm/dropdown-menu/dropdown-menu-search/dropdown-menu-search-classes.js +6 -0
- package/esm/dropdown-menu/dropdown-menu-search/dropdown-menu-search.js +48 -0
- package/esm/dropdown-menu/dropdown-menu-search/index.js +2 -0
- package/esm/dropdown-menu/dropdown-menu-state/dropdown-menu-state.js +67 -0
- package/esm/dropdown-menu/dropdown-menu-state/index.js +1 -0
- package/esm/dropdown-menu/dropdown-menu.js +60 -0
- package/esm/dropdown-menu/index.js +10 -0
- package/esm/empty-state/empty-state-action/empty-state-action.js +16 -0
- package/esm/empty-state/empty-state-action/index.js +1 -0
- package/esm/empty-state/empty-state-classes.js +16 -0
- package/esm/empty-state/empty-state.js +115 -0
- package/esm/empty-state/index.js +3 -0
- package/esm/expansion-panel/expansion-panel-details.js +15 -0
- package/esm/expansion-panel/expansion-panel-header.js +5 -0
- package/esm/expansion-panel/expansion-panel-summary.js +50 -0
- package/esm/expansion-panel/expansion-panel.js +22 -0
- package/esm/expansion-panel/index.js +4 -0
- package/esm/field-set/field-set-classes.js +12 -0
- package/esm/field-set/field-set.js +69 -0
- package/esm/field-set/index.js +2 -0
- package/esm/form/form-actions/form-actions-classes.js +6 -0
- package/esm/form/form-actions/form-actions.js +60 -0
- package/esm/form/form-actions/index.js +2 -0
- package/esm/form/form-control/form-control-overrides.js +16 -0
- package/esm/form/form-control/index.js +2 -0
- package/esm/form/form-control-label/form-control-label-classes.js +14 -0
- package/esm/form/form-control-label/form-control-label.js +110 -0
- package/esm/form/form-control-label/form-control-overrides.js +22 -0
- package/esm/form/form-control-label/index.js +2 -0
- package/esm/form/form-field/form-field-classes.js +11 -0
- package/esm/form/form-field/form-field.js +61 -0
- package/esm/form/form-field/index.js +2 -0
- package/esm/form/form-group/index.js +1 -0
- package/esm/form/form-helper-text/form-helper-text-overrides.js +35 -0
- package/esm/form/form-helper-text/index.js +2 -0
- package/esm/form/form-label/form-label-overrides.js +28 -0
- package/esm/form/form-label/index.js +1 -0
- package/esm/form/form-layout/form-layout-context.js +5 -0
- package/esm/form/form-layout/form-layout.js +32 -0
- package/esm/form/form-layout/index.js +2 -0
- package/esm/form/form.js +34 -0
- package/esm/form/index.js +9 -0
- package/esm/gallery-layout/gallery-layout-item/gallery-layout-item.js +2 -0
- package/esm/gallery-layout/gallery-layout-item/index.js +1 -0
- package/esm/gallery-layout/gallery-layout.js +46 -0
- package/esm/gallery-layout/index.js +2 -0
- package/esm/icon/apis.js +34 -0
- package/esm/icon/application-plus.js +30 -0
- package/esm/icon/arrows-h.js +31 -0
- package/esm/icon/border-pill.js +29 -0
- package/esm/icon/border-rounded.js +29 -0
- package/esm/icon/border-sharp.js +29 -0
- package/esm/icon/bot.js +33 -0
- package/esm/icon/browsers.js +32 -0
- package/esm/icon/bug.js +38 -0
- package/esm/icon/building.js +30 -0
- package/esm/icon/cash.js +29 -0
- package/esm/icon/clipboard-check.js +31 -0
- package/esm/icon/enterprise.js +29 -0
- package/esm/icon/feather-icons.js +294 -0
- package/esm/icon/folder-cancel.js +30 -0
- package/esm/icon/font.js +29 -0
- package/esm/icon/help.js +29 -0
- package/esm/icon/hooks.js +34 -0
- package/esm/icon/hosted-pages.js +33 -0
- package/esm/icon/id-tag.js +34 -0
- package/esm/icon/index.js +35 -0
- package/esm/icon/integration.js +33 -0
- package/esm/icon/layout-bottom.js +29 -0
- package/esm/icon/layout-center.js +29 -0
- package/esm/icon/layout-left.js +29 -0
- package/esm/icon/layout-right.js +29 -0
- package/esm/icon/layout-top.js +29 -0
- package/esm/icon/megaphone.js +30 -0
- package/esm/icon/page-background.js +30 -0
- package/esm/icon/paint-brush.js +29 -0
- package/esm/icon/paint.js +29 -0
- package/esm/icon/recovery-code.js +30 -0
- package/esm/icon/types.js +1 -0
- package/esm/icon/web-authn.js +29 -0
- package/esm/icon/webauthn-platform.js +29 -0
- package/esm/icon/widget.js +29 -0
- package/esm/icon-button/icon-button-context.js +5 -0
- package/esm/icon-button/icon-button-overrides.js +180 -0
- package/esm/icon-button/icon-button.js +55 -0
- package/esm/icon-button/index.js +2 -0
- package/esm/identicons/common.js +34 -0
- package/esm/identicons/icons/icon-access-token.js +45 -0
- package/esm/identicons/icons/icon-account-takeover.js +47 -0
- package/esm/identicons/icons/icon-actions.js +46 -0
- package/esm/identicons/icons/icon-activity.js +46 -0
- package/esm/identicons/icons/icon-advanced-options.js +47 -0
- package/esm/identicons/icons/icon-anticipation.js +50 -0
- package/esm/identicons/icons/icon-api-related.js +47 -0
- package/esm/identicons/icons/icon-api.js +47 -0
- package/esm/identicons/icons/icon-applications.js +46 -0
- package/esm/identicons/icons/icon-attributes.js +46 -0
- package/esm/identicons/icons/icon-auth0-authorization-server.js +48 -0
- package/esm/identicons/icons/icon-auth0-dashboard.js +48 -0
- package/esm/identicons/icons/icon-auth0-logo-dark.js +45 -0
- package/esm/identicons/icons/icon-auth0-logo-light.js +45 -0
- package/esm/identicons/icons/icon-authentication-a.js +45 -0
- package/esm/identicons/icons/icon-authentication-b.js +45 -0
- package/esm/identicons/icons/icon-authorization-server.js +48 -0
- package/esm/identicons/icons/icon-backend.js +48 -0
- package/esm/identicons/icons/icon-biometrics.js +44 -0
- package/esm/identicons/icons/icon-bot-detection.js +49 -0
- package/esm/identicons/icons/icon-boundary-protocol.js +46 -0
- package/esm/identicons/icons/icon-branding.js +45 -0
- package/esm/identicons/icons/icon-breached-password.js +52 -0
- package/esm/identicons/icons/icon-browser.js +46 -0
- package/esm/identicons/icons/icon-brute-force.js +47 -0
- package/esm/identicons/icons/icon-certificate.js +49 -0
- package/esm/identicons/icons/icon-cli-script.js +45 -0
- package/esm/identicons/icons/icon-cloud.js +44 -0
- package/esm/identicons/icons/icon-consistency.js +49 -0
- package/esm/identicons/icons/icon-cookies.js +48 -0
- package/esm/identicons/icons/icon-credential-application.js +46 -0
- package/esm/identicons/icons/icon-credential-stuffing.js +48 -0
- package/esm/identicons/icons/icon-credential-user.js +46 -0
- package/esm/identicons/icons/icon-customization.js +46 -0
- package/esm/identicons/icons/icon-dashboard.js +48 -0
- package/esm/identicons/icons/icon-database.js +50 -0
- package/esm/identicons/icons/icon-desktop-app.js +47 -0
- package/esm/identicons/icons/icon-device-biometrics.js +46 -0
- package/esm/identicons/icons/icon-efficiency.js +52 -0
- package/esm/identicons/icons/icon-empathy.js +50 -0
- package/esm/identicons/icons/icon-enterprise-directory.js +47 -0
- package/esm/identicons/icons/icon-extensions.js +45 -0
- package/esm/identicons/icons/icon-fine-grained-authorization.js +48 -0
- package/esm/identicons/icons/icon-getting-started.js +45 -0
- package/esm/identicons/icons/icon-guardian-push-notification.js +47 -0
- package/esm/identicons/icons/icon-help.js +45 -0
- package/esm/identicons/icons/icon-id-token.js +46 -0
- package/esm/identicons/icons/icon-identifier-first.js +45 -0
- package/esm/identicons/icons/icon-identifier-password.js +46 -0
- package/esm/identicons/icons/icon-integrations-marketplace.js +48 -0
- package/esm/identicons/icons/icon-ip-throttling.js +48 -0
- package/esm/identicons/icons/icon-login-customization.js +53 -0
- package/esm/identicons/icons/icon-login.js +47 -0
- package/esm/identicons/icons/icon-logs.js +46 -0
- package/esm/identicons/icons/icon-mail-message-a.js +51 -0
- package/esm/identicons/icons/icon-mail-message-b.js +49 -0
- package/esm/identicons/icons/icon-mobile-app.js +46 -0
- package/esm/identicons/icons/icon-monitoring.js +46 -0
- package/esm/identicons/icons/icon-multifactor.js +51 -0
- package/esm/identicons/icons/icon-multiple-failed-logins.js +52 -0
- package/esm/identicons/icons/icon-one-time-password.js +52 -0
- package/esm/identicons/icons/icon-organizations.js +53 -0
- package/esm/identicons/icons/icon-phone-message-a.js +47 -0
- package/esm/identicons/icons/icon-phone-message-b.js +51 -0
- package/esm/identicons/icons/icon-pipeline-a.js +47 -0
- package/esm/identicons/icons/icon-pipeline-b.js +51 -0
- package/esm/identicons/icons/icon-refresh-token.js +46 -0
- package/esm/identicons/icons/icon-sdk.js +47 -0
- package/esm/identicons/icons/icon-security.js +46 -0
- package/esm/identicons/icons/icon-server.js +48 -0
- package/esm/identicons/icons/icon-settings.js +45 -0
- package/esm/identicons/icons/icon-social-providers.js +48 -0
- package/esm/identicons/icons/icon-spa.js +48 -0
- package/esm/identicons/icons/icon-teams.js +46 -0
- package/esm/identicons/icons/icon-tenant.js +46 -0
- package/esm/identicons/icons/icon-user-database.js +51 -0
- package/esm/identicons/icons/icon-user-management.js +46 -0
- package/esm/identicons/icons/icon-user.js +45 -0
- package/esm/identicons/icons/icon-users.js +46 -0
- package/esm/identicons/icons/icon-video.js +45 -0
- package/esm/identicons/icons/icon-web-app.js +46 -0
- package/esm/identicons/icons/icon-webauthn.js +47 -0
- package/esm/identicons/icons/index.js +86 -0
- package/esm/identicons/index.js +2 -0
- package/esm/illustrations/common.js +1 -0
- package/esm/illustrations/components/experienced-user.js +138 -0
- package/esm/illustrations/components/index.js +11 -0
- package/esm/illustrations/components/new-auth0-user-a.js +78 -0
- package/esm/illustrations/components/notifications.js +125 -0
- package/esm/illustrations/components/roles.js +115 -0
- package/esm/illustrations/components/single-sign-on.js +117 -0
- package/esm/illustrations/components/streams-logs.js +118 -0
- package/esm/illustrations/components/users.js +114 -0
- package/esm/illustrations/index.js +1 -0
- package/esm/image/image.js +27 -0
- package/esm/image/index.js +1 -0
- package/esm/image-preview-field/image-preview-field.js +111 -0
- package/esm/image-preview-field/index.js +1 -0
- package/esm/index.js +87 -0
- package/esm/input/index.js +4 -0
- package/esm/input/input-actions/index.js +1 -0
- package/esm/input/input-actions/input-actions.js +19 -0
- package/esm/input/input-adornment/index.js +1 -0
- package/esm/input/input-adornment/input-adornment-overrides.js +19 -0
- package/esm/input/input-adornment/input-adornment.js +38 -0
- package/esm/input/input-base-overrides.js +40 -0
- package/esm/input/input-label/index.js +1 -0
- package/esm/input/input-label/input-label-overrides.js +26 -0
- package/esm/input/input.js +54 -0
- package/esm/input/outlined-input-overrides.js +90 -0
- package/esm/label/index.js +1 -0
- package/esm/label/label.js +69 -0
- package/esm/link/index.js +2 -0
- package/esm/link/link-classes.js +6 -0
- package/esm/link/link.js +138 -0
- package/esm/list/index.js +7 -0
- package/esm/list/list-item/index.js +3 -0
- package/esm/list/list-item/list-item-overrides.js +26 -0
- package/esm/list/list-item-avatar/index.js +1 -0
- package/esm/list/list-item-icon/index.js +1 -0
- package/esm/list/list-item-secondary-action/index.js +1 -0
- package/esm/list/list-item-text/index.js +1 -0
- package/esm/list/list-item-text/list-item-text-overrides.js +14 -0
- package/esm/list/list-overrides.js +9 -0
- package/esm/list/list-subheader/index.js +1 -0
- package/esm/list/list-subheader/list-subheader-overrides.js +10 -0
- package/esm/list/list.js +1 -0
- package/esm/logo/index.js +1 -0
- package/esm/logo/logo-classes.js +6 -0
- package/esm/logo/logo.js +90 -0
- package/esm/menu/index.js +3 -0
- package/esm/menu/menu-item/index.js +1 -0
- package/esm/menu/menu-item/menu-item-overrides.js +21 -0
- package/esm/menu/menu-list/index.js +1 -0
- package/esm/menu/menu-overrides.js +23 -0
- package/esm/menu/menu.js +1 -0
- package/esm/mobile-stepper/index.js +1 -0
- package/esm/mobile-stepper/mobile-stepper-overrides.js +10 -0
- package/esm/no-ssr/index.js +1 -0
- package/esm/overridable-component.js +1 -0
- package/esm/page/index.js +2 -0
- package/esm/page/page-context.js +8 -0
- package/esm/page/page-header/index.js +2 -0
- package/esm/page/page-header/page-header-classes.js +15 -0
- package/esm/page/page-header/page-header.js +79 -0
- package/esm/page/page.js +40 -0
- package/esm/pagination/index.js +2 -0
- package/esm/pagination/pagination-classes.js +12 -0
- package/esm/pagination/pagination.js +109 -0
- package/esm/panel-layout/index.js +4 -0
- package/esm/panel-layout/panel/index.js +1 -0
- package/esm/panel-layout/panel/panel.js +39 -0
- package/esm/panel-layout/panel-body/index.js +1 -0
- package/esm/panel-layout/panel-body/panel-body.js +36 -0
- package/esm/panel-layout/panel-layout.js +44 -0
- package/esm/panel-layout/panel-title/index.js +1 -0
- package/esm/panel-layout/panel-title/panel-title.js +36 -0
- package/esm/paper/index.js +1 -0
- package/esm/popover/index.js +1 -0
- package/esm/popper/index.js +1 -0
- package/esm/portal/index.js +1 -0
- package/esm/promo-banner/index.js +2 -0
- package/esm/promo-banner/promo-banner-classes.js +17 -0
- package/esm/promo-banner/promo-banner.js +165 -0
- package/esm/pulsing-dot/index.js +1 -0
- package/esm/pulsing-dot/pulsing-dot.js +78 -0
- package/esm/quantum-provider/index.js +2 -0
- package/esm/quantum-provider/quantum-context.js +11 -0
- package/esm/quantum-provider/quantum-provider.js +73 -0
- package/esm/radio/index.js +4 -0
- package/esm/radio/radio-classes.js +11 -0
- package/esm/radio/radio-group/index.js +1 -0
- package/esm/radio/radio-icons.js +17 -0
- package/esm/radio/radio-overrides.js +67 -0
- package/esm/radio/radio.js +60 -0
- package/esm/radio-field/index.js +1 -0
- package/esm/radio-field/radio-field.js +32 -0
- package/esm/region/flags.js +153 -0
- package/esm/region/index.js +2 -0
- package/esm/region/region-classes.js +6 -0
- package/esm/region/region.js +93 -0
- package/esm/row-layout/index.js +1 -0
- package/esm/row-layout/row-layout.js +35 -0
- package/esm/select/index.js +6 -0
- package/esm/select/select-classes.js +14 -0
- package/esm/select/select-field/index.js +1 -0
- package/esm/select/select-field/select-field.js +30 -0
- package/esm/select/select-menu/index.js +1 -0
- package/esm/select/select-menu/select-menu.js +30 -0
- package/esm/select/select-menu-actions/index.js +1 -0
- package/esm/select/select-menu-actions/select-menu-actions.js +9 -0
- package/esm/select/select-menu-body/index.js +1 -0
- package/esm/select/select-menu-body/select-menu-body.js +7 -0
- package/esm/select/select-menu-header/index.js +1 -0
- package/esm/select/select-menu-header/select-menu-header.js +7 -0
- package/esm/select/select-options.js +6 -0
- package/esm/select/select-overrides.js +21 -0
- package/esm/select/select.js +76 -0
- package/esm/selectable-card/index.js +3 -0
- package/esm/selectable-card/selectable-card-classes.js +13 -0
- package/esm/selectable-card/selectable-card-group/index.js +2 -0
- package/esm/selectable-card/selectable-card-group/selectable-card-group-classes.js +9 -0
- package/esm/selectable-card/selectable-card-group/selectable-card-group.js +46 -0
- package/esm/selectable-card/selectable-card.js +71 -0
- package/esm/sidebar/index.js +7 -0
- package/esm/sidebar/sidebar-banner/index.js +1 -0
- package/esm/sidebar/sidebar-banner/sidebar-banner.js +41 -0
- package/esm/sidebar/sidebar-classes.js +11 -0
- package/esm/sidebar/sidebar-context.js +7 -0
- package/esm/sidebar/sidebar-items/index.js +1 -0
- package/esm/sidebar/sidebar-items/sidebar-items.js +34 -0
- package/esm/sidebar/sidebar-link/index.js +2 -0
- package/esm/sidebar/sidebar-link/sidebar-link-classes.js +15 -0
- package/esm/sidebar/sidebar-link/sidebar-link.js +148 -0
- package/esm/sidebar/sidebar-menu/index.js +2 -0
- package/esm/sidebar/sidebar-menu/sidebar-menu-classes.js +12 -0
- package/esm/sidebar/sidebar-menu/sidebar-menu.js +106 -0
- package/esm/sidebar/sidebar-new.js +170 -0
- package/esm/sidebar/sidebar-old.js +136 -0
- package/esm/sidebar/sidebar-types.js +1 -0
- package/esm/sidebar/sidebar.js +20 -0
- package/esm/spinner/index.js +1 -0
- package/esm/spinner/spinner-classes.js +6 -0
- package/esm/spinner/spinner.js +99 -0
- package/esm/stack-layout/index.js +2 -0
- package/esm/stack-layout/stack-layout-item/index.js +1 -0
- package/esm/stack-layout/stack-layout-item/stack-layout-item.js +8 -0
- package/esm/stack-layout/stack-layout.js +38 -0
- package/esm/status/index.js +2 -0
- package/esm/status/status-dot/index.js +2 -0
- package/esm/status/status-dot/status-dot-classes.js +6 -0
- package/esm/status/status-dot/status-dot.js +72 -0
- package/esm/status/status-icon/index.js +2 -0
- package/esm/status/status-icon/status-icon-classes.js +6 -0
- package/esm/status/status-icon/status-icon.js +98 -0
- package/esm/stepper/index.js +4 -0
- package/esm/stepper/step/index.js +1 -0
- package/esm/stepper/step-content/index.js +1 -0
- package/esm/stepper/step-label/index.js +1 -0
- package/esm/stepper/step-label/step-label.js +21 -0
- package/esm/stepper/stepper.js +1 -0
- package/esm/styled.js +7 -0
- package/esm/styles/classes.js +26 -0
- package/esm/styles/color-manipulator.js +1 -0
- package/esm/styles/index.js +1 -0
- package/esm/svg-icon/index.js +1 -0
- package/esm/svg-icon/svg-icon.js +29 -0
- package/esm/switch/index.js +3 -0
- package/esm/switch/switch-classes.js +6 -0
- package/esm/switch/switch-field/index.js +1 -0
- package/esm/switch/switch-field/switch-field.js +36 -0
- package/esm/switch/switch-overrides.js +80 -0
- package/esm/switch/switch.js +71 -0
- package/esm/table/index.js +9 -0
- package/esm/table/table-body/index.js +1 -0
- package/esm/table/table-cell/index.js +1 -0
- package/esm/table/table-cell/table-cell-overrides.js +23 -0
- package/esm/table/table-container/index.js +1 -0
- package/esm/table/table-container/table-container-overrides.js +9 -0
- package/esm/table/table-empty-state/index.js +1 -0
- package/esm/table/table-empty-state/table-empty-state.js +12 -0
- package/esm/table/table-head/index.js +1 -0
- package/esm/table/table-loading-state/index.js +2 -0
- package/esm/table/table-loading-state/table-loading-state-classes.js +6 -0
- package/esm/table/table-loading-state/table-loading-state.js +45 -0
- package/esm/table/table-overrides.js +23 -0
- package/esm/table/table-row/index.js +1 -0
- package/esm/table/table-row/table-row-overrides.js +24 -0
- package/esm/table/table-sort-label/index.js +15 -0
- package/esm/table/table-sort-label/table-sort-label-overrides.js +23 -0
- package/esm/tabs/index.js +5 -0
- package/esm/tabs/tab/index.js +1 -0
- package/esm/tabs/tab/tab-override.js +54 -0
- package/esm/tabs/tab/tab.js +30 -0
- package/esm/tabs/tab-list/index.js +1 -0
- package/esm/tabs/tab-list/tab-list.js +24 -0
- package/esm/tabs/tab-panel/index.js +1 -0
- package/esm/tabs/tab-panel/tab-panel.js +33 -0
- package/esm/tabs/tabs-context.js +16 -0
- package/esm/tabs/tabs-overrides.js +20 -0
- package/esm/tabs/tabs.js +32 -0
- package/esm/text/index.js +3 -0
- package/esm/text/text-overrides.js +30 -0
- package/esm/text-field/index.js +1 -0
- package/esm/text-field/text-field-overrides.js +11 -0
- package/esm/text-field/text-field.js +30 -0
- package/esm/theme/colors.js +38 -0
- package/esm/theme/create-component-overrides.js +1 -0
- package/esm/theme/create-components.js +156 -0
- package/esm/theme/create-layout.js +18 -0
- package/esm/theme/create-mixins.js +73 -0
- package/esm/theme/create-palette.js +90 -0
- package/esm/theme/create-quantum-theme.js +22 -0
- package/esm/theme/create-theme.js +94 -0
- package/esm/theme/create-typography.js +51 -0
- package/esm/theme/default-theme.js +7 -0
- package/esm/theme/index.js +6 -0
- package/esm/theme/theme-provider.js +7 -0
- package/esm/theme/tokens.js +1 -0
- package/esm/theme/use-theme-props.js +7 -0
- package/esm/theme/use-theme.js +3 -0
- package/esm/title-block/index.js +1 -0
- package/esm/title-block/title-block-classes.js +6 -0
- package/esm/title-block/title-block.js +33 -0
- package/esm/toast/index.js +3 -0
- package/esm/toast/toast-classes.js +6 -0
- package/esm/toast/toast-overrides.js +28 -0
- package/esm/toast/toast-provider.js +50 -0
- package/esm/toast/toast.js +51 -0
- package/esm/tooltip/index.js +1 -0
- package/esm/tooltip/tooltip-overrides.js +26 -0
- package/esm/transitions/index.js +2 -0
- package/esm/use-media-query/index.js +1 -0
- package/esm/utils/clsx.js +4 -0
- package/esm/utils/index.js +3 -0
- package/esm/utils/layouts.js +1 -0
- package/esm/utils/md5.js +4 -0
- package/esm/utils/responsive-style-value.js +18 -0
- package/esm/utils/use-controlled.js +1 -0
- package/esm/utils/use-id.js +37 -0
- package/expansion-panel/expansion-panel-details.d.ts +3 -0
- package/expansion-panel/expansion-panel-details.js +21 -0
- package/expansion-panel/expansion-panel-header.d.ts +13 -0
- package/expansion-panel/expansion-panel-header.js +8 -0
- package/expansion-panel/expansion-panel-summary.d.ts +3 -0
- package/expansion-panel/expansion-panel-summary.js +76 -0
- package/expansion-panel/expansion-panel.d.ts +3 -0
- package/expansion-panel/expansion-panel.js +48 -0
- package/expansion-panel/index.d.ts +8 -0
- package/expansion-panel/index.js +11 -0
- package/field-set/field-set-classes.d.ts +5 -0
- package/field-set/field-set-classes.js +16 -0
- package/field-set/field-set.d.ts +28 -0
- package/field-set/field-set.js +98 -0
- package/field-set/index.d.ts +3 -0
- package/field-set/index.js +7 -0
- package/form/form-actions/form-actions-classes.d.ts +5 -0
- package/form/form-actions/form-actions-classes.js +10 -0
- package/form/form-actions/form-actions.d.ts +16 -0
- package/form/form-actions/form-actions.js +89 -0
- package/form/form-actions/index.d.ts +3 -0
- package/form/form-actions/index.js +7 -0
- package/form/form-control/form-control-overrides.d.ts +3 -0
- package/form/form-control/form-control-overrides.js +20 -0
- package/form/form-control/index.d.ts +6 -0
- package/form/form-control/index.js +8 -0
- package/form/form-control-label/form-control-label-classes.d.ts +5 -0
- package/form/form-control-label/form-control-label-classes.js +18 -0
- package/form/form-control-label/form-control-label.d.ts +15 -0
- package/form/form-control-label/form-control-label.js +139 -0
- package/form/form-control-label/form-control-overrides.d.ts +3 -0
- package/form/form-control-label/form-control-overrides.js +26 -0
- package/form/form-control-label/index.d.ts +3 -0
- package/form/form-control-label/index.js +7 -0
- package/form/form-field/form-field-classes.d.ts +5 -0
- package/form/form-field/form-field-classes.js +15 -0
- package/form/form-field/form-field.d.ts +32 -0
- package/form/form-field/form-field.js +90 -0
- package/form/form-field/index.d.ts +3 -0
- package/form/form-field/index.js +7 -0
- package/form/form-group/index.d.ts +2 -0
- package/form/form-group/index.js +8 -0
- package/form/form-helper-text/form-helper-text-overrides.d.ts +3 -0
- package/form/form-helper-text/form-helper-text-overrides.js +39 -0
- package/form/form-helper-text/index.d.ts +4 -0
- package/form/form-helper-text/index.js +8 -0
- package/form/form-label/form-label-overrides.d.ts +3 -0
- package/form/form-label/form-label-overrides.js +32 -0
- package/form/form-label/index.d.ts +2 -0
- package/form/form-label/index.js +8 -0
- package/form/form-layout/form-layout-context.d.ts +9 -0
- package/form/form-layout/form-layout-context.js +32 -0
- package/form/form-layout/form-layout.d.ts +8 -0
- package/form/form-layout/form-layout.js +58 -0
- package/form/form-layout/index.d.ts +4 -0
- package/form/form-layout/index.js +8 -0
- package/form/form.d.ts +6 -0
- package/form/form.js +60 -0
- package/form/index.d.ts +10 -0
- package/form/index.js +27 -0
- package/gallery-layout/gallery-layout-item/gallery-layout-item.d.ts +6 -0
- package/gallery-layout/gallery-layout-item/gallery-layout-item.js +5 -0
- package/gallery-layout/gallery-layout-item/index.d.ts +2 -0
- package/gallery-layout/gallery-layout-item/index.js +5 -0
- package/gallery-layout/gallery-layout.d.ts +21 -0
- package/gallery-layout/gallery-layout.js +73 -0
- package/gallery-layout/index.d.ts +3 -0
- package/gallery-layout/index.js +21 -0
- package/icon/apis.d.ts +2 -0
- package/icon/apis.js +61 -0
- package/icon/application-plus.d.ts +2 -0
- package/icon/application-plus.js +57 -0
- package/icon/arrows-h.d.ts +2 -0
- package/icon/arrows-h.js +58 -0
- package/icon/border-pill.d.ts +2 -0
- package/icon/border-pill.js +56 -0
- package/icon/border-rounded.d.ts +2 -0
- package/icon/border-rounded.js +56 -0
- package/icon/border-sharp.d.ts +2 -0
- package/icon/border-sharp.js +56 -0
- package/icon/bot.d.ts +2 -0
- package/icon/bot.js +60 -0
- package/icon/browsers.d.ts +2 -0
- package/icon/browsers.js +59 -0
- package/icon/bug.d.ts +2 -0
- package/icon/bug.js +65 -0
- package/icon/building.d.ts +2 -0
- package/icon/building.js +57 -0
- package/icon/cash.d.ts +2 -0
- package/icon/cash.js +56 -0
- package/icon/clipboard-check.d.ts +2 -0
- package/icon/clipboard-check.js +58 -0
- package/icon/enterprise.d.ts +2 -0
- package/icon/enterprise.js +56 -0
- package/icon/feather-icons.d.ts +284 -0
- package/icon/feather-icons.js +302 -0
- package/icon/folder-cancel.d.ts +2 -0
- package/icon/folder-cancel.js +57 -0
- package/icon/font.d.ts +2 -0
- package/icon/font.js +56 -0
- package/icon/help.d.ts +2 -0
- package/icon/help.js +56 -0
- package/icon/hooks.d.ts +2 -0
- package/icon/hooks.js +61 -0
- package/icon/hosted-pages.d.ts +2 -0
- package/icon/hosted-pages.js +60 -0
- package/icon/id-tag.d.ts +2 -0
- package/icon/id-tag.js +61 -0
- package/icon/index.d.ts +35 -0
- package/icon/index.js +85 -0
- package/icon/integration.d.ts +2 -0
- package/icon/integration.js +60 -0
- package/icon/layout-bottom.d.ts +2 -0
- package/icon/layout-bottom.js +56 -0
- package/icon/layout-center.d.ts +2 -0
- package/icon/layout-center.js +56 -0
- package/icon/layout-left.d.ts +2 -0
- package/icon/layout-left.js +56 -0
- package/icon/layout-right.d.ts +2 -0
- package/icon/layout-right.js +56 -0
- package/icon/layout-top.d.ts +2 -0
- package/icon/layout-top.js +56 -0
- package/icon/megaphone.d.ts +2 -0
- package/icon/megaphone.js +57 -0
- package/icon/page-background.d.ts +2 -0
- package/icon/page-background.js +57 -0
- package/icon/paint-brush.d.ts +2 -0
- package/icon/paint-brush.js +56 -0
- package/icon/paint.d.ts +2 -0
- package/icon/paint.js +56 -0
- package/icon/recovery-code.d.ts +2 -0
- package/icon/recovery-code.js +57 -0
- package/icon/types.d.ts +9 -0
- package/icon/types.js +2 -0
- package/icon/web-authn.d.ts +2 -0
- package/icon/web-authn.js +56 -0
- package/icon/webauthn-platform.d.ts +2 -0
- package/icon/webauthn-platform.js +56 -0
- package/icon/widget.d.ts +2 -0
- package/icon/widget.js +56 -0
- package/icon-button/icon-button-context.d.ts +7 -0
- package/icon-button/icon-button-context.js +32 -0
- package/icon-button/icon-button-overrides.d.ts +2 -0
- package/icon-button/icon-button-overrides.js +183 -0
- package/icon-button/icon-button.d.ts +20 -0
- package/icon-button/icon-button.js +81 -0
- package/icon-button/index.d.ts +4 -0
- package/icon-button/index.js +9 -0
- package/identicons/common.d.ts +32 -0
- package/identicons/common.js +40 -0
- package/identicons/icons/icon-access-token.d.ts +3 -0
- package/identicons/icons/icon-access-token.js +71 -0
- package/identicons/icons/icon-account-takeover.d.ts +3 -0
- package/identicons/icons/icon-account-takeover.js +73 -0
- package/identicons/icons/icon-actions.d.ts +3 -0
- package/identicons/icons/icon-actions.js +72 -0
- package/identicons/icons/icon-activity.d.ts +3 -0
- package/identicons/icons/icon-activity.js +72 -0
- package/identicons/icons/icon-advanced-options.d.ts +3 -0
- package/identicons/icons/icon-advanced-options.js +73 -0
- package/identicons/icons/icon-anticipation.d.ts +3 -0
- package/identicons/icons/icon-anticipation.js +76 -0
- package/identicons/icons/icon-api-related.d.ts +3 -0
- package/identicons/icons/icon-api-related.js +73 -0
- package/identicons/icons/icon-api.d.ts +3 -0
- package/identicons/icons/icon-api.js +73 -0
- package/identicons/icons/icon-applications.d.ts +3 -0
- package/identicons/icons/icon-applications.js +72 -0
- package/identicons/icons/icon-attributes.d.ts +3 -0
- package/identicons/icons/icon-attributes.js +72 -0
- package/identicons/icons/icon-auth0-authorization-server.d.ts +3 -0
- package/identicons/icons/icon-auth0-authorization-server.js +74 -0
- package/identicons/icons/icon-auth0-dashboard.d.ts +3 -0
- package/identicons/icons/icon-auth0-dashboard.js +74 -0
- package/identicons/icons/icon-auth0-logo-dark.d.ts +3 -0
- package/identicons/icons/icon-auth0-logo-dark.js +71 -0
- package/identicons/icons/icon-auth0-logo-light.d.ts +3 -0
- package/identicons/icons/icon-auth0-logo-light.js +71 -0
- package/identicons/icons/icon-authentication-a.d.ts +3 -0
- package/identicons/icons/icon-authentication-a.js +71 -0
- package/identicons/icons/icon-authentication-b.d.ts +3 -0
- package/identicons/icons/icon-authentication-b.js +71 -0
- package/identicons/icons/icon-authorization-server.d.ts +3 -0
- package/identicons/icons/icon-authorization-server.js +74 -0
- package/identicons/icons/icon-backend.d.ts +3 -0
- package/identicons/icons/icon-backend.js +74 -0
- package/identicons/icons/icon-biometrics.d.ts +3 -0
- package/identicons/icons/icon-biometrics.js +70 -0
- package/identicons/icons/icon-bot-detection.d.ts +3 -0
- package/identicons/icons/icon-bot-detection.js +75 -0
- package/identicons/icons/icon-boundary-protocol.d.ts +3 -0
- package/identicons/icons/icon-boundary-protocol.js +72 -0
- package/identicons/icons/icon-branding.d.ts +3 -0
- package/identicons/icons/icon-branding.js +71 -0
- package/identicons/icons/icon-breached-password.d.ts +3 -0
- package/identicons/icons/icon-breached-password.js +78 -0
- package/identicons/icons/icon-browser.d.ts +3 -0
- package/identicons/icons/icon-browser.js +72 -0
- package/identicons/icons/icon-brute-force.d.ts +3 -0
- package/identicons/icons/icon-brute-force.js +73 -0
- package/identicons/icons/icon-certificate.d.ts +3 -0
- package/identicons/icons/icon-certificate.js +75 -0
- package/identicons/icons/icon-cli-script.d.ts +3 -0
- package/identicons/icons/icon-cli-script.js +71 -0
- package/identicons/icons/icon-cloud.d.ts +3 -0
- package/identicons/icons/icon-cloud.js +70 -0
- package/identicons/icons/icon-consistency.d.ts +3 -0
- package/identicons/icons/icon-consistency.js +75 -0
- package/identicons/icons/icon-cookies.d.ts +3 -0
- package/identicons/icons/icon-cookies.js +74 -0
- package/identicons/icons/icon-credential-application.d.ts +3 -0
- package/identicons/icons/icon-credential-application.js +72 -0
- package/identicons/icons/icon-credential-stuffing.d.ts +3 -0
- package/identicons/icons/icon-credential-stuffing.js +74 -0
- package/identicons/icons/icon-credential-user.d.ts +3 -0
- package/identicons/icons/icon-credential-user.js +72 -0
- package/identicons/icons/icon-customization.d.ts +3 -0
- package/identicons/icons/icon-customization.js +72 -0
- package/identicons/icons/icon-dashboard.d.ts +3 -0
- package/identicons/icons/icon-dashboard.js +74 -0
- package/identicons/icons/icon-database.d.ts +3 -0
- package/identicons/icons/icon-database.js +76 -0
- package/identicons/icons/icon-desktop-app.d.ts +3 -0
- package/identicons/icons/icon-desktop-app.js +73 -0
- package/identicons/icons/icon-device-biometrics.d.ts +3 -0
- package/identicons/icons/icon-device-biometrics.js +72 -0
- package/identicons/icons/icon-efficiency.d.ts +3 -0
- package/identicons/icons/icon-efficiency.js +78 -0
- package/identicons/icons/icon-empathy.d.ts +3 -0
- package/identicons/icons/icon-empathy.js +76 -0
- package/identicons/icons/icon-enterprise-directory.d.ts +3 -0
- package/identicons/icons/icon-enterprise-directory.js +73 -0
- package/identicons/icons/icon-extensions.d.ts +3 -0
- package/identicons/icons/icon-extensions.js +71 -0
- package/identicons/icons/icon-fine-grained-authorization.d.ts +3 -0
- package/identicons/icons/icon-fine-grained-authorization.js +74 -0
- package/identicons/icons/icon-getting-started.d.ts +3 -0
- package/identicons/icons/icon-getting-started.js +71 -0
- package/identicons/icons/icon-guardian-push-notification.d.ts +3 -0
- package/identicons/icons/icon-guardian-push-notification.js +73 -0
- package/identicons/icons/icon-help.d.ts +3 -0
- package/identicons/icons/icon-help.js +71 -0
- package/identicons/icons/icon-id-token.d.ts +3 -0
- package/identicons/icons/icon-id-token.js +72 -0
- package/identicons/icons/icon-identifier-first.d.ts +3 -0
- package/identicons/icons/icon-identifier-first.js +71 -0
- package/identicons/icons/icon-identifier-password.d.ts +3 -0
- package/identicons/icons/icon-identifier-password.js +72 -0
- package/identicons/icons/icon-integrations-marketplace.d.ts +3 -0
- package/identicons/icons/icon-integrations-marketplace.js +74 -0
- package/identicons/icons/icon-ip-throttling.d.ts +3 -0
- package/identicons/icons/icon-ip-throttling.js +74 -0
- package/identicons/icons/icon-login-customization.d.ts +3 -0
- package/identicons/icons/icon-login-customization.js +79 -0
- package/identicons/icons/icon-login.d.ts +3 -0
- package/identicons/icons/icon-login.js +73 -0
- package/identicons/icons/icon-logs.d.ts +3 -0
- package/identicons/icons/icon-logs.js +72 -0
- package/identicons/icons/icon-mail-message-a.d.ts +3 -0
- package/identicons/icons/icon-mail-message-a.js +77 -0
- package/identicons/icons/icon-mail-message-b.d.ts +3 -0
- package/identicons/icons/icon-mail-message-b.js +75 -0
- package/identicons/icons/icon-mobile-app.d.ts +3 -0
- package/identicons/icons/icon-mobile-app.js +72 -0
- package/identicons/icons/icon-monitoring.d.ts +3 -0
- package/identicons/icons/icon-monitoring.js +72 -0
- package/identicons/icons/icon-multifactor.d.ts +3 -0
- package/identicons/icons/icon-multifactor.js +77 -0
- package/identicons/icons/icon-multiple-failed-logins.d.ts +3 -0
- package/identicons/icons/icon-multiple-failed-logins.js +78 -0
- package/identicons/icons/icon-one-time-password.d.ts +3 -0
- package/identicons/icons/icon-one-time-password.js +78 -0
- package/identicons/icons/icon-organizations.d.ts +3 -0
- package/identicons/icons/icon-organizations.js +79 -0
- package/identicons/icons/icon-phone-message-a.d.ts +3 -0
- package/identicons/icons/icon-phone-message-a.js +73 -0
- package/identicons/icons/icon-phone-message-b.d.ts +3 -0
- package/identicons/icons/icon-phone-message-b.js +77 -0
- package/identicons/icons/icon-pipeline-a.d.ts +3 -0
- package/identicons/icons/icon-pipeline-a.js +73 -0
- package/identicons/icons/icon-pipeline-b.d.ts +3 -0
- package/identicons/icons/icon-pipeline-b.js +77 -0
- package/identicons/icons/icon-refresh-token.d.ts +3 -0
- package/identicons/icons/icon-refresh-token.js +72 -0
- package/identicons/icons/icon-sdk.d.ts +3 -0
- package/identicons/icons/icon-sdk.js +73 -0
- package/identicons/icons/icon-security.d.ts +3 -0
- package/identicons/icons/icon-security.js +72 -0
- package/identicons/icons/icon-server.d.ts +3 -0
- package/identicons/icons/icon-server.js +74 -0
- package/identicons/icons/icon-settings.d.ts +3 -0
- package/identicons/icons/icon-settings.js +71 -0
- package/identicons/icons/icon-social-providers.d.ts +3 -0
- package/identicons/icons/icon-social-providers.js +74 -0
- package/identicons/icons/icon-spa.d.ts +3 -0
- package/identicons/icons/icon-spa.js +74 -0
- package/identicons/icons/icon-teams.d.ts +3 -0
- package/identicons/icons/icon-teams.js +72 -0
- package/identicons/icons/icon-tenant.d.ts +3 -0
- package/identicons/icons/icon-tenant.js +72 -0
- package/identicons/icons/icon-user-database.d.ts +3 -0
- package/identicons/icons/icon-user-database.js +77 -0
- package/identicons/icons/icon-user-management.d.ts +3 -0
- package/identicons/icons/icon-user-management.js +72 -0
- package/identicons/icons/icon-user.d.ts +3 -0
- package/identicons/icons/icon-user.js +71 -0
- package/identicons/icons/icon-users.d.ts +3 -0
- package/identicons/icons/icon-users.js +72 -0
- package/identicons/icons/icon-video.d.ts +3 -0
- package/identicons/icons/icon-video.js +71 -0
- package/identicons/icons/icon-web-app.d.ts +3 -0
- package/identicons/icons/icon-web-app.js +72 -0
- package/identicons/icons/icon-webauthn.d.ts +3 -0
- package/identicons/icons/icon-webauthn.js +73 -0
- package/identicons/icons/index.d.ts +82 -0
- package/identicons/icons/index.js +172 -0
- package/identicons/index.d.ts +2 -0
- package/identicons/index.js +18 -0
- package/illustrations/common.d.ts +3 -0
- package/illustrations/common.js +4 -0
- package/illustrations/components/experienced-user.d.ts +3 -0
- package/illustrations/components/experienced-user.js +164 -0
- package/illustrations/components/index.d.ts +7 -0
- package/illustrations/components/index.js +21 -0
- package/illustrations/components/new-auth0-user-a.d.ts +3 -0
- package/illustrations/components/new-auth0-user-a.js +104 -0
- package/illustrations/components/notifications.d.ts +3 -0
- package/illustrations/components/notifications.js +151 -0
- package/illustrations/components/roles.d.ts +3 -0
- package/illustrations/components/roles.js +141 -0
- package/illustrations/components/single-sign-on.d.ts +3 -0
- package/illustrations/components/single-sign-on.js +143 -0
- package/illustrations/components/streams-logs.d.ts +3 -0
- package/illustrations/components/streams-logs.js +144 -0
- package/illustrations/components/users.d.ts +3 -0
- package/illustrations/components/users.js +140 -0
- package/illustrations/index.d.ts +2 -0
- package/illustrations/index.js +17 -0
- package/image/image.d.ts +21 -0
- package/image/image.js +30 -0
- package/image/index.d.ts +2 -0
- package/image/index.js +5 -0
- package/image-preview-field/image-preview-field.d.ts +14 -0
- package/image-preview-field/image-preview-field.js +137 -0
- package/image-preview-field/index.d.ts +2 -0
- package/image-preview-field/index.js +5 -0
- package/index.d.ts +87 -0
- package/index.js +103 -0
- package/input/index.d.ts +5 -0
- package/input/index.js +23 -0
- package/input/input-actions/index.d.ts +2 -0
- package/input/input-actions/index.js +5 -0
- package/input/input-actions/input-actions.d.ts +7 -0
- package/input/input-actions/input-actions.js +46 -0
- package/input/input-adornment/index.d.ts +2 -0
- package/input/input-adornment/index.js +5 -0
- package/input/input-adornment/input-adornment-overrides.d.ts +3 -0
- package/input/input-adornment/input-adornment-overrides.js +23 -0
- package/input/input-adornment/input-adornment.d.ts +7 -0
- package/input/input-adornment/input-adornment.js +67 -0
- package/input/input-base-overrides.d.ts +3 -0
- package/input/input-base-overrides.js +44 -0
- package/input/input-label/index.d.ts +6 -0
- package/input/input-label/index.js +8 -0
- package/input/input-label/input-label-overrides.d.ts +3 -0
- package/input/input-label/input-label-overrides.js +30 -0
- package/input/input.d.ts +23 -0
- package/input/input.js +84 -0
- package/input/outlined-input-overrides.d.ts +3 -0
- package/input/outlined-input-overrides.js +94 -0
- package/label/index.d.ts +2 -0
- package/label/index.js +5 -0
- package/label/label.d.ts +12 -0
- package/label/label.js +72 -0
- package/link/index.d.ts +3 -0
- package/link/index.js +7 -0
- package/link/link-classes.d.ts +5 -0
- package/link/link-classes.js +10 -0
- package/link/link.d.ts +58 -0
- package/link/link.js +167 -0
- package/list/index.d.ts +7 -0
- package/list/index.js +23 -0
- package/list/list-item/index.d.ts +14 -0
- package/list/list-item/index.js +9 -0
- package/list/list-item/list-item-overrides.d.ts +3 -0
- package/list/list-item/list-item-overrides.js +30 -0
- package/list/list-item-avatar/index.d.ts +2 -0
- package/list/list-item-avatar/index.js +9 -0
- package/list/list-item-icon/index.d.ts +2 -0
- package/list/list-item-icon/index.js +9 -0
- package/list/list-item-secondary-action/index.d.ts +2 -0
- package/list/list-item-secondary-action/index.js +9 -0
- package/list/list-item-text/index.d.ts +2 -0
- package/list/list-item-text/index.js +9 -0
- package/list/list-item-text/list-item-text-overrides.d.ts +3 -0
- package/list/list-item-text/list-item-text-overrides.js +18 -0
- package/list/list-overrides.d.ts +3 -0
- package/list/list-overrides.js +13 -0
- package/list/list-subheader/index.d.ts +2 -0
- package/list/list-subheader/index.js +9 -0
- package/list/list-subheader/list-subheader-overrides.d.ts +3 -0
- package/list/list-subheader/list-subheader-overrides.js +14 -0
- package/list/list.d.ts +2 -0
- package/list/list.js +9 -0
- package/logo/index.d.ts +2 -0
- package/logo/index.js +5 -0
- package/logo/logo-classes.d.ts +5 -0
- package/logo/logo-classes.js +10 -0
- package/logo/logo.d.ts +26 -0
- package/logo/logo.js +119 -0
- package/menu/index.d.ts +3 -0
- package/menu/index.js +19 -0
- package/menu/menu-item/index.d.ts +2 -0
- package/menu/menu-item/index.js +8 -0
- package/menu/menu-item/menu-item-overrides.d.ts +3 -0
- package/menu/menu-item/menu-item-overrides.js +25 -0
- package/menu/menu-list/index.d.ts +2 -0
- package/menu/menu-list/index.js +8 -0
- package/menu/menu-overrides.d.ts +3 -0
- package/menu/menu-overrides.js +27 -0
- package/menu/menu.d.ts +2 -0
- package/menu/menu.js +8 -0
- package/mobile-stepper/index.d.ts +2 -0
- package/mobile-stepper/index.js +8 -0
- package/mobile-stepper/mobile-stepper-overrides.d.ts +3 -0
- package/mobile-stepper/mobile-stepper-overrides.js +14 -0
- package/mui-type-overrides.d.ts +309 -0
- package/no-ssr/index.d.ts +2 -0
- package/no-ssr/index.js +8 -0
- package/overridable-component.d.ts +28 -0
- package/overridable-component.js +2 -0
- package/package.json +68 -0
- package/page/index.d.ts +3 -0
- package/page/index.js +20 -0
- package/page/page-context.d.ts +9 -0
- package/page/page-context.js +35 -0
- package/page/page-header/index.d.ts +3 -0
- package/page/page-header/index.js +7 -0
- package/page/page-header/page-header-classes.d.ts +5 -0
- package/page/page-header/page-header-classes.js +19 -0
- package/page/page-header/page-header.d.ts +25 -0
- package/page/page-header/page-header.js +108 -0
- package/page/page.d.ts +14 -0
- package/page/page.js +66 -0
- package/pagination/index.d.ts +3 -0
- package/pagination/index.js +7 -0
- package/pagination/pagination-classes.d.ts +5 -0
- package/pagination/pagination-classes.js +16 -0
- package/pagination/pagination.d.ts +22 -0
- package/pagination/pagination.js +138 -0
- package/panel-layout/index.d.ts +8 -0
- package/panel-layout/index.js +11 -0
- package/panel-layout/panel/index.d.ts +2 -0
- package/panel-layout/panel/index.js +5 -0
- package/panel-layout/panel/panel.d.ts +10 -0
- package/panel-layout/panel/panel.js +65 -0
- package/panel-layout/panel-body/index.d.ts +2 -0
- package/panel-layout/panel-body/index.js +5 -0
- package/panel-layout/panel-body/panel-body.d.ts +6 -0
- package/panel-layout/panel-body/panel-body.js +62 -0
- package/panel-layout/panel-layout.d.ts +8 -0
- package/panel-layout/panel-layout.js +70 -0
- package/panel-layout/panel-title/index.d.ts +2 -0
- package/panel-layout/panel-title/index.js +5 -0
- package/panel-layout/panel-title/panel-title.d.ts +12 -0
- package/panel-layout/panel-title/panel-title.js +62 -0
- package/paper/index.d.ts +2 -0
- package/paper/index.js +8 -0
- package/popover/index.d.ts +2 -0
- package/popover/index.js +8 -0
- package/popper/index.d.ts +2 -0
- package/popper/index.js +8 -0
- package/portal/index.d.ts +2 -0
- package/portal/index.js +8 -0
- package/promo-banner/index.d.ts +3 -0
- package/promo-banner/index.js +7 -0
- package/promo-banner/promo-banner-classes.d.ts +5 -0
- package/promo-banner/promo-banner-classes.js +21 -0
- package/promo-banner/promo-banner.d.ts +21 -0
- package/promo-banner/promo-banner.js +194 -0
- package/pulsing-dot/index.d.ts +2 -0
- package/pulsing-dot/index.js +5 -0
- package/pulsing-dot/pulsing-dot.d.ts +13 -0
- package/pulsing-dot/pulsing-dot.js +104 -0
- package/quantum-provider/index.d.ts +4 -0
- package/quantum-provider/index.js +8 -0
- package/quantum-provider/quantum-context.d.ts +11 -0
- package/quantum-provider/quantum-context.js +38 -0
- package/quantum-provider/quantum-provider.d.ts +13 -0
- package/quantum-provider/quantum-provider.js +101 -0
- package/radio/index.d.ts +5 -0
- package/radio/index.js +25 -0
- package/radio/radio-classes.d.ts +5 -0
- package/radio/radio-classes.js +15 -0
- package/radio/radio-group/index.d.ts +2 -0
- package/radio/radio-group/index.js +9 -0
- package/radio/radio-icons.d.ts +3 -0
- package/radio/radio-icons.js +45 -0
- package/radio/radio-overrides.d.ts +3 -0
- package/radio/radio-overrides.js +71 -0
- package/radio/radio.d.ts +13 -0
- package/radio/radio.js +89 -0
- package/radio-field/index.d.ts +2 -0
- package/radio-field/index.js +5 -0
- package/radio-field/radio-field.d.ts +11 -0
- package/radio-field/radio-field.js +58 -0
- package/region/flags.d.ts +7 -0
- package/region/flags.js +185 -0
- package/region/index.d.ts +3 -0
- package/region/index.js +7 -0
- package/region/region-classes.d.ts +5 -0
- package/region/region-classes.js +10 -0
- package/region/region.d.ts +25 -0
- package/region/region.js +122 -0
- package/row-layout/index.d.ts +2 -0
- package/row-layout/index.js +5 -0
- package/row-layout/row-layout.d.ts +8 -0
- package/row-layout/row-layout.js +61 -0
- package/select/index.d.ts +8 -0
- package/select/index.js +24 -0
- package/select/select-classes.d.ts +5 -0
- package/select/select-classes.js +18 -0
- package/select/select-field/index.d.ts +2 -0
- package/select/select-field/index.js +5 -0
- package/select/select-field/select-field.d.ts +8 -0
- package/select/select-field/select-field.js +56 -0
- package/select/select-menu/index.d.ts +2 -0
- package/select/select-menu/index.js +5 -0
- package/select/select-menu/select-menu.d.ts +7 -0
- package/select/select-menu/select-menu.js +56 -0
- package/select/select-menu-actions/index.d.ts +2 -0
- package/select/select-menu-actions/index.js +5 -0
- package/select/select-menu-actions/select-menu-actions.d.ts +7 -0
- package/select/select-menu-actions/select-menu-actions.js +12 -0
- package/select/select-menu-body/index.d.ts +2 -0
- package/select/select-menu-body/index.js +5 -0
- package/select/select-menu-body/select-menu-body.d.ts +6 -0
- package/select/select-menu-body/select-menu-body.js +10 -0
- package/select/select-menu-header/index.d.ts +2 -0
- package/select/select-menu-header/index.js +5 -0
- package/select/select-menu-header/select-menu-header.d.ts +6 -0
- package/select/select-menu-header/select-menu-header.js +10 -0
- package/select/select-options.d.ts +12 -0
- package/select/select-options.js +33 -0
- package/select/select-overrides.d.ts +3 -0
- package/select/select-overrides.js +25 -0
- package/select/select.d.ts +13 -0
- package/select/select.js +105 -0
- package/selectable-card/index.d.ts +4 -0
- package/selectable-card/index.js +22 -0
- package/selectable-card/selectable-card-classes.d.ts +5 -0
- package/selectable-card/selectable-card-classes.js +17 -0
- package/selectable-card/selectable-card-group/index.d.ts +3 -0
- package/selectable-card/selectable-card-group/index.js +7 -0
- package/selectable-card/selectable-card-group/selectable-card-group-classes.d.ts +5 -0
- package/selectable-card/selectable-card-group/selectable-card-group-classes.js +13 -0
- package/selectable-card/selectable-card-group/selectable-card-group.d.ts +10 -0
- package/selectable-card/selectable-card-group/selectable-card-group.js +75 -0
- package/selectable-card/selectable-card.d.ts +54 -0
- package/selectable-card/selectable-card.js +100 -0
- package/sidebar/index.d.ts +9 -0
- package/sidebar/index.js +27 -0
- package/sidebar/sidebar-banner/index.d.ts +2 -0
- package/sidebar/sidebar-banner/index.js +5 -0
- package/sidebar/sidebar-banner/sidebar-banner.d.ts +13 -0
- package/sidebar/sidebar-banner/sidebar-banner.js +67 -0
- package/sidebar/sidebar-classes.d.ts +5 -0
- package/sidebar/sidebar-classes.js +15 -0
- package/sidebar/sidebar-context.d.ts +9 -0
- package/sidebar/sidebar-context.js +34 -0
- package/sidebar/sidebar-items/index.d.ts +2 -0
- package/sidebar/sidebar-items/index.js +5 -0
- package/sidebar/sidebar-items/sidebar-items.d.ts +8 -0
- package/sidebar/sidebar-items/sidebar-items.js +60 -0
- package/sidebar/sidebar-link/index.d.ts +3 -0
- package/sidebar/sidebar-link/index.js +7 -0
- package/sidebar/sidebar-link/sidebar-link-classes.d.ts +5 -0
- package/sidebar/sidebar-link/sidebar-link-classes.js +19 -0
- package/sidebar/sidebar-link/sidebar-link.d.ts +53 -0
- package/sidebar/sidebar-link/sidebar-link.js +177 -0
- package/sidebar/sidebar-menu/index.d.ts +3 -0
- package/sidebar/sidebar-menu/index.js +7 -0
- package/sidebar/sidebar-menu/sidebar-menu-classes.d.ts +5 -0
- package/sidebar/sidebar-menu/sidebar-menu-classes.js +16 -0
- package/sidebar/sidebar-menu/sidebar-menu.d.ts +32 -0
- package/sidebar/sidebar-menu/sidebar-menu.js +136 -0
- package/sidebar/sidebar-new.d.ts +3 -0
- package/sidebar/sidebar-new.js +199 -0
- package/sidebar/sidebar-old.d.ts +3 -0
- package/sidebar/sidebar-old.js +165 -0
- package/sidebar/sidebar-types.d.ts +23 -0
- package/sidebar/sidebar-types.js +2 -0
- package/sidebar/sidebar.d.ts +3 -0
- package/sidebar/sidebar.js +46 -0
- package/spinner/index.d.ts +2 -0
- package/spinner/index.js +5 -0
- package/spinner/spinner-classes.d.ts +5 -0
- package/spinner/spinner-classes.js +10 -0
- package/spinner/spinner.d.ts +21 -0
- package/spinner/spinner.js +128 -0
- package/stack-layout/index.d.ts +3 -0
- package/stack-layout/index.js +20 -0
- package/stack-layout/stack-layout-item/index.d.ts +2 -0
- package/stack-layout/stack-layout-item/index.js +5 -0
- package/stack-layout/stack-layout-item/stack-layout-item.d.ts +7 -0
- package/stack-layout/stack-layout-item/stack-layout-item.js +11 -0
- package/stack-layout/stack-layout.d.ts +9 -0
- package/stack-layout/stack-layout.js +64 -0
- package/status/index.d.ts +2 -0
- package/status/index.js +18 -0
- package/status/status-dot/index.d.ts +3 -0
- package/status/status-dot/index.js +7 -0
- package/status/status-dot/status-dot-classes.d.ts +5 -0
- package/status/status-dot/status-dot-classes.js +10 -0
- package/status/status-dot/status-dot.d.ts +30 -0
- package/status/status-dot/status-dot.js +101 -0
- package/status/status-icon/index.d.ts +3 -0
- package/status/status-icon/index.js +7 -0
- package/status/status-icon/status-icon-classes.d.ts +5 -0
- package/status/status-icon/status-icon-classes.js +10 -0
- package/status/status-icon/status-icon.d.ts +30 -0
- package/status/status-icon/status-icon.js +128 -0
- package/stepper/index.d.ts +4 -0
- package/stepper/index.js +20 -0
- package/stepper/step/index.d.ts +2 -0
- package/stepper/step/index.js +8 -0
- package/stepper/step-content/index.d.ts +2 -0
- package/stepper/step-content/index.js +8 -0
- package/stepper/step-label/index.d.ts +2 -0
- package/stepper/step-label/index.js +5 -0
- package/stepper/step-label/step-label.d.ts +3 -0
- package/stepper/step-label/step-label.js +50 -0
- package/stepper/stepper.d.ts +2 -0
- package/stepper/stepper.js +8 -0
- package/styled.d.ts +20 -0
- package/styled.js +11 -0
- package/styles/classes.d.ts +5 -0
- package/styles/classes.js +58 -0
- package/styles/color-manipulator.d.ts +1 -0
- package/styles/color-manipulator.js +9 -0
- package/styles/index.d.ts +1 -0
- package/styles/index.js +17 -0
- package/svg-icon/index.d.ts +2 -0
- package/svg-icon/index.js +5 -0
- package/svg-icon/svg-icon.d.ts +17 -0
- package/svg-icon/svg-icon.js +55 -0
- package/switch/index.d.ts +4 -0
- package/switch/index.js +22 -0
- package/switch/switch-classes.d.ts +5 -0
- package/switch/switch-classes.js +10 -0
- package/switch/switch-field/index.d.ts +2 -0
- package/switch/switch-field/index.js +5 -0
- package/switch/switch-field/switch-field.d.ts +11 -0
- package/switch/switch-field/switch-field.js +65 -0
- package/switch/switch-overrides.d.ts +3 -0
- package/switch/switch-overrides.js +84 -0
- package/switch/switch.d.ts +17 -0
- package/switch/switch.js +100 -0
- package/table/index.d.ts +10 -0
- package/table/index.js +30 -0
- package/table/table-body/index.d.ts +2 -0
- package/table/table-body/index.js +8 -0
- package/table/table-cell/index.d.ts +2 -0
- package/table/table-cell/index.js +9 -0
- package/table/table-cell/table-cell-overrides.d.ts +3 -0
- package/table/table-cell/table-cell-overrides.js +27 -0
- package/table/table-container/index.d.ts +2 -0
- package/table/table-container/index.js +8 -0
- package/table/table-container/table-container-overrides.d.ts +3 -0
- package/table/table-container/table-container-overrides.js +13 -0
- package/table/table-empty-state/index.d.ts +2 -0
- package/table/table-empty-state/index.js +5 -0
- package/table/table-empty-state/table-empty-state.d.ts +6 -0
- package/table/table-empty-state/table-empty-state.js +15 -0
- package/table/table-head/index.d.ts +2 -0
- package/table/table-head/index.js +8 -0
- package/table/table-loading-state/index.d.ts +3 -0
- package/table/table-loading-state/index.js +7 -0
- package/table/table-loading-state/table-loading-state-classes.d.ts +5 -0
- package/table/table-loading-state/table-loading-state-classes.js +10 -0
- package/table/table-loading-state/table-loading-state.d.ts +14 -0
- package/table/table-loading-state/table-loading-state.js +74 -0
- package/table/table-overrides.d.ts +3 -0
- package/table/table-overrides.js +27 -0
- package/table/table-row/index.d.ts +2 -0
- package/table/table-row/index.js +8 -0
- package/table/table-row/table-row-overrides.d.ts +3 -0
- package/table/table-row/table-row-overrides.js +28 -0
- package/table/table-sort-label/index.d.ts +4 -0
- package/table/table-sort-label/index.js +44 -0
- package/table/table-sort-label/table-sort-label-overrides.d.ts +3 -0
- package/table/table-sort-label/table-sort-label-overrides.js +27 -0
- package/tabs/index.d.ts +7 -0
- package/tabs/index.js +25 -0
- package/tabs/tab/index.d.ts +2 -0
- package/tabs/tab/index.js +5 -0
- package/tabs/tab/tab-override.d.ts +3 -0
- package/tabs/tab/tab-override.js +58 -0
- package/tabs/tab/tab.d.ts +5 -0
- package/tabs/tab/tab.js +59 -0
- package/tabs/tab-list/index.d.ts +2 -0
- package/tabs/tab-list/index.js +5 -0
- package/tabs/tab-list/tab-list.d.ts +4 -0
- package/tabs/tab-list/tab-list.js +54 -0
- package/tabs/tab-panel/index.d.ts +2 -0
- package/tabs/tab-panel/index.js +5 -0
- package/tabs/tab-panel/tab-panel.d.ts +9 -0
- package/tabs/tab-panel/tab-panel.js +60 -0
- package/tabs/tabs-context.d.ts +11 -0
- package/tabs/tabs-context.js +43 -0
- package/tabs/tabs-overrides.d.ts +3 -0
- package/tabs/tabs-overrides.js +24 -0
- package/tabs/tabs.d.ts +7 -0
- package/tabs/tabs.js +59 -0
- package/text/index.d.ts +6 -0
- package/text/index.js +29 -0
- package/text/text-overrides.d.ts +2 -0
- package/text/text-overrides.js +33 -0
- package/text-field/index.d.ts +2 -0
- package/text-field/index.js +5 -0
- package/text-field/text-field-overrides.d.ts +3 -0
- package/text-field/text-field-overrides.js +15 -0
- package/text-field/text-field.d.ts +8 -0
- package/text-field/text-field.js +56 -0
- package/theme/colors.d.ts +8 -0
- package/theme/colors.js +42 -0
- package/theme/create-component-overrides.d.ts +28 -0
- package/theme/create-component-overrides.js +5 -0
- package/theme/create-components.d.ts +7 -0
- package/theme/create-components.js +160 -0
- package/theme/create-layout.d.ts +12 -0
- package/theme/create-layout.js +22 -0
- package/theme/create-mixins.d.ts +14 -0
- package/theme/create-mixins.js +77 -0
- package/theme/create-palette.d.ts +12 -0
- package/theme/create-palette.js +97 -0
- package/theme/create-quantum-theme.d.ts +12 -0
- package/theme/create-quantum-theme.js +26 -0
- package/theme/create-theme.d.ts +12 -0
- package/theme/create-theme.js +98 -0
- package/theme/create-typography.d.ts +6 -0
- package/theme/create-typography.js +55 -0
- package/theme/default-theme.d.ts +2 -0
- package/theme/default-theme.js +10 -0
- package/theme/index.d.ts +12 -0
- package/theme/index.js +15 -0
- package/theme/theme-provider.d.ts +7 -0
- package/theme/theme-provider.js +34 -0
- package/theme/tokens.d.ts +14 -0
- package/theme/tokens.js +2 -0
- package/theme/use-theme-props.d.ts +4 -0
- package/theme/use-theme-props.js +11 -0
- package/theme/use-theme.d.ts +1 -0
- package/theme/use-theme.js +7 -0
- package/title-block/index.d.ts +2 -0
- package/title-block/index.js +5 -0
- package/title-block/title-block-classes.d.ts +6 -0
- package/title-block/title-block-classes.js +10 -0
- package/title-block/title-block.d.ts +19 -0
- package/title-block/title-block.js +62 -0
- package/toast/index.d.ts +5 -0
- package/toast/index.js +10 -0
- package/toast/toast-classes.d.ts +5 -0
- package/toast/toast-classes.js +10 -0
- package/toast/toast-overrides.d.ts +3 -0
- package/toast/toast-overrides.js +32 -0
- package/toast/toast-provider.d.ts +10 -0
- package/toast/toast-provider.js +78 -0
- package/toast/toast.d.ts +10 -0
- package/toast/toast.js +80 -0
- package/tooltip/index.d.ts +2 -0
- package/tooltip/index.js +9 -0
- package/tooltip/tooltip-overrides.d.ts +2 -0
- package/tooltip/tooltip-overrides.js +29 -0
- package/transitions/index.d.ts +4 -0
- package/transitions/index.js +10 -0
- package/use-media-query/index.d.ts +2 -0
- package/use-media-query/index.js +8 -0
- package/utils/clsx.d.ts +3 -0
- package/utils/clsx.js +29 -0
- package/utils/index.d.ts +3 -0
- package/utils/index.js +12 -0
- package/utils/layouts.d.ts +8 -0
- package/utils/layouts.js +2 -0
- package/utils/md5.d.ts +3 -0
- package/utils/md5.js +29 -0
- package/utils/responsive-style-value.d.ts +9 -0
- package/utils/responsive-style-value.js +24 -0
- package/utils/use-controlled.d.ts +1 -0
- package/utils/use-controlled.js +8 -0
- package/utils/use-id.d.ts +1 -0
- package/utils/use-id.js +64 -0
package/app-bar/index.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.AppBar = void 0;
|
|
18
|
+
var app_bar_1 = require("./app-bar");
|
|
19
|
+
Object.defineProperty(exports, "AppBar", { enumerable: true, get: function () { return app_bar_1.AppBar; } });
|
|
20
|
+
__exportStar(require("./app-bar-actions"), exports);
|
|
21
|
+
__exportStar(require("./app-bar-button"), exports);
|
|
22
|
+
__exportStar(require("./app-bar-content"), exports);
|
|
23
|
+
__exportStar(require("./app-bar-divider"), exports);
|
|
24
|
+
__exportStar(require("./app-bar-icon-button"), exports);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const appLayoutComponentName: "QuantumAppLayout";
|
|
2
|
+
export declare type AppLayoutSlotKey = 'root' | 'main' | 'container' | 'content';
|
|
3
|
+
export declare function getAppLayoutUtilityClass(slot: string): string;
|
|
4
|
+
export declare const appLayoutClasses: Record<"main" | "content" | "root" | "container", string>;
|
|
5
|
+
export declare type AppLayoutClasses = typeof appLayoutClasses;
|
|
6
|
+
export declare type AppLayoutClassKey = keyof AppLayoutClasses;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.appLayoutClasses = exports.getAppLayoutUtilityClass = exports.appLayoutComponentName = void 0;
|
|
4
|
+
var classes_1 = require("../styles/classes");
|
|
5
|
+
exports.appLayoutComponentName = 'QuantumAppLayout';
|
|
6
|
+
function getAppLayoutUtilityClass(slot) {
|
|
7
|
+
return (0, classes_1.generateUtilityClass)(exports.appLayoutComponentName, slot);
|
|
8
|
+
}
|
|
9
|
+
exports.getAppLayoutUtilityClass = getAppLayoutUtilityClass;
|
|
10
|
+
exports.appLayoutClasses = (0, classes_1.generateUtilityClasses)(exports.appLayoutComponentName, [
|
|
11
|
+
'root',
|
|
12
|
+
'main',
|
|
13
|
+
'container',
|
|
14
|
+
'content',
|
|
15
|
+
]);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IStyledComponentProps } from '../styled';
|
|
3
|
+
export declare type IAppLayoutProps = IStyledComponentProps<{
|
|
4
|
+
props: {
|
|
5
|
+
appBar?: React.ReactNode;
|
|
6
|
+
sidebar?: React.ReactNode;
|
|
7
|
+
layout?: 'default' | 'full' | 'fit';
|
|
8
|
+
/** Main Content */
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
};
|
|
11
|
+
defaultComponent: 'div';
|
|
12
|
+
}>;
|
|
13
|
+
export declare const AppLayout: React.ForwardRefExoticComponent<{
|
|
14
|
+
appBar?: React.ReactNode;
|
|
15
|
+
sidebar?: React.ReactNode;
|
|
16
|
+
layout?: "default" | "fit" | "full" | undefined;
|
|
17
|
+
/** Main Content */
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "layout" | "children" | "appBar" | "sidebar"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
+
var t = {};
|
|
38
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
+
t[p] = s[p];
|
|
40
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
+
t[p[i]] = s[p[i]];
|
|
44
|
+
}
|
|
45
|
+
return t;
|
|
46
|
+
};
|
|
47
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
+
};
|
|
50
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
+
exports.AppLayout = void 0;
|
|
52
|
+
var React = __importStar(require("react"));
|
|
53
|
+
var styled_1 = require("../styled");
|
|
54
|
+
var app_layout_classes_1 = require("./app-layout-classes");
|
|
55
|
+
var clsx_1 = __importDefault(require("../utils/clsx"));
|
|
56
|
+
var Root = (0, styled_1.styled)('div', { name: app_layout_classes_1.appLayoutComponentName, slot: 'Root' })(function (_a) {
|
|
57
|
+
var theme = _a.theme;
|
|
58
|
+
return ({
|
|
59
|
+
maxWidth: '100%',
|
|
60
|
+
display: 'flex',
|
|
61
|
+
paddingTop: theme.layout.appBarHeight,
|
|
62
|
+
alignItems: 'center',
|
|
63
|
+
flexDirection: 'column',
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
var Container = (0, styled_1.styled)('div', {
|
|
67
|
+
name: app_layout_classes_1.appLayoutComponentName,
|
|
68
|
+
slot: 'Container',
|
|
69
|
+
})({
|
|
70
|
+
width: '100%',
|
|
71
|
+
display: 'flex',
|
|
72
|
+
alignItems: 'flex-start',
|
|
73
|
+
});
|
|
74
|
+
var Main = (0, styled_1.styled)('main', {
|
|
75
|
+
name: app_layout_classes_1.appLayoutComponentName,
|
|
76
|
+
slot: 'Main',
|
|
77
|
+
})(function (_a) {
|
|
78
|
+
var theme = _a.theme, ownerState = _a.ownerState;
|
|
79
|
+
return (__assign({ width: '100%' }, (ownerState.layout === 'fit'
|
|
80
|
+
? {
|
|
81
|
+
height: "calc(100vh - ".concat(theme.tokens.size_layout_app_bar_height + theme.tokens.size_layout_app_top, "px)"),
|
|
82
|
+
position: 'relative',
|
|
83
|
+
display: 'flex',
|
|
84
|
+
flexDirection: 'column',
|
|
85
|
+
flex: 1,
|
|
86
|
+
}
|
|
87
|
+
: {})));
|
|
88
|
+
});
|
|
89
|
+
var Content = (0, styled_1.styled)('div', {
|
|
90
|
+
name: app_layout_classes_1.appLayoutComponentName,
|
|
91
|
+
slot: 'Content',
|
|
92
|
+
})(function (_a) {
|
|
93
|
+
var _b;
|
|
94
|
+
var theme = _a.theme, ownerState = _a.ownerState;
|
|
95
|
+
return __assign(__assign((_b = {}, _b[theme.breakpoints.up('lg')] = {
|
|
96
|
+
minWidth: theme.typography.pxToRem(1048),
|
|
97
|
+
}, _b.margin = '0 auto', _b), (ownerState.layout === 'default'
|
|
98
|
+
? {
|
|
99
|
+
paddingTop: theme.spacing(5),
|
|
100
|
+
maxWidth: theme.typography.pxToRem(1048),
|
|
101
|
+
paddingLeft: theme.spacing(3),
|
|
102
|
+
paddingRight: theme.spacing(3),
|
|
103
|
+
paddingBottom: theme.spacing(5),
|
|
104
|
+
}
|
|
105
|
+
: {
|
|
106
|
+
width: '100%',
|
|
107
|
+
})), (ownerState.layout === 'fit' && {
|
|
108
|
+
flex: 1,
|
|
109
|
+
display: 'flex',
|
|
110
|
+
flexDirection: 'column',
|
|
111
|
+
overflowX: 'hidden',
|
|
112
|
+
overflowY: 'hidden',
|
|
113
|
+
}));
|
|
114
|
+
});
|
|
115
|
+
exports.AppLayout = React.forwardRef(function (props, ref) {
|
|
116
|
+
var _a = props.layout, layout = _a === void 0 ? 'default' : _a, appBar = props.appBar, sidebar = props.sidebar, children = props.children, className = props.className, rootProps = __rest(props, ["layout", "appBar", "sidebar", "children", "className"]);
|
|
117
|
+
return (React.createElement(Root, __assign({ ref: ref, className: (0, clsx_1.default)(app_layout_classes_1.appLayoutClasses.root, className) }, rootProps),
|
|
118
|
+
appBar,
|
|
119
|
+
React.createElement(Container, { className: app_layout_classes_1.appLayoutClasses.container },
|
|
120
|
+
sidebar,
|
|
121
|
+
React.createElement(Main, { ownerState: { layout: layout }, className: app_layout_classes_1.appLayoutClasses.main },
|
|
122
|
+
React.createElement(Content, { ownerState: { layout: layout }, className: app_layout_classes_1.appLayoutClasses.content }, children)))));
|
|
123
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.appLayoutClasses = exports.AppLayout = void 0;
|
|
4
|
+
var app_layout_1 = require("./app-layout");
|
|
5
|
+
Object.defineProperty(exports, "AppLayout", { enumerable: true, get: function () { return app_layout_1.AppLayout; } });
|
|
6
|
+
var app_layout_classes_1 = require("./app-layout-classes");
|
|
7
|
+
Object.defineProperty(exports, "appLayoutClasses", { enumerable: true, get: function () { return app_layout_classes_1.appLayoutClasses; } });
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { AutocompleteClassKey, AutocompleteProps } from '@mui/material/Autocomplete';
|
|
2
|
+
import type { ComponentOverrideCreator } from '../theme/create-component-overrides';
|
|
3
|
+
export declare const createMuiAutocompleteOverrides: ComponentOverrideCreator<AutocompleteProps<unknown, undefined, undefined, undefined>, AutocompleteClassKey>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createMuiAutocompleteOverrides = void 0;
|
|
4
|
+
var Autocomplete_1 = require("@mui/material/Autocomplete");
|
|
5
|
+
var OutlinedInput_1 = require("@mui/material/OutlinedInput");
|
|
6
|
+
var createMuiAutocompleteOverrides = function (_a) {
|
|
7
|
+
var _b, _c;
|
|
8
|
+
var spacing = _a.spacing, typography = _a.typography;
|
|
9
|
+
return {
|
|
10
|
+
styleOverrides: {
|
|
11
|
+
inputRoot: (_b = {
|
|
12
|
+
minHeight: 40
|
|
13
|
+
},
|
|
14
|
+
// https://github.com/mui-org/material-ui/blob/master/packages/material-ui-lab/src/Autocomplete/Autocomplete.js#L79
|
|
15
|
+
_b["&[class*=\"".concat(OutlinedInput_1.outlinedInputClasses.root, "\"]")] = (_c = {
|
|
16
|
+
padding: spacing(0.25, 1, 0.25, 0.5)
|
|
17
|
+
},
|
|
18
|
+
_c["& .".concat(Autocomplete_1.autocompleteClasses.input)] = {
|
|
19
|
+
padding: spacing(0.5, 1),
|
|
20
|
+
'&:first-child': {
|
|
21
|
+
paddingLeft: spacing(1.75),
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
_c["& .".concat(Autocomplete_1.autocompleteClasses.endAdornment)] = {
|
|
25
|
+
right: spacing(0.75),
|
|
26
|
+
},
|
|
27
|
+
_c),
|
|
28
|
+
_b),
|
|
29
|
+
tag: {
|
|
30
|
+
margin: 1,
|
|
31
|
+
},
|
|
32
|
+
endAdornment: {
|
|
33
|
+
top: 'unset',
|
|
34
|
+
},
|
|
35
|
+
option: {
|
|
36
|
+
lineHeight: 2,
|
|
37
|
+
fontSize: typography.pxToRem(14),
|
|
38
|
+
'&:not(:last-child)': {
|
|
39
|
+
borderBottom: 'none',
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
exports.createMuiAutocompleteOverrides = createMuiAutocompleteOverrides;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { default as Autocomplete, createFilterOptions as createAutocompleteFilterOptions, } from '@mui/material/Autocomplete';
|
|
2
|
+
export type { AutocompleteChangeDetails, AutocompleteChangeReason, AutocompleteClassKey, AutocompleteInputChangeReason, AutocompleteProps as IAutocompleteProps, } from '@mui/material/Autocomplete';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.createAutocompleteFilterOptions = exports.Autocomplete = void 0;
|
|
7
|
+
var Autocomplete_1 = require("@mui/material/Autocomplete");
|
|
8
|
+
Object.defineProperty(exports, "Autocomplete", { enumerable: true, get: function () { return __importDefault(Autocomplete_1).default; } });
|
|
9
|
+
Object.defineProperty(exports, "createAutocompleteFilterOptions", { enumerable: true, get: function () { return Autocomplete_1.createFilterOptions; } });
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const avatarComponentName: "QuantumAvatar";
|
|
2
|
+
export declare function getAvatarUtilityClass(slot: string): string;
|
|
3
|
+
export declare const avatarClasses: Record<"img" | "root" | "fallbackIcon", string>;
|
|
4
|
+
export declare type AvatarClasses = typeof avatarClasses;
|
|
5
|
+
export declare type AvatarClassKey = keyof AvatarClasses;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.avatarClasses = exports.getAvatarUtilityClass = exports.avatarComponentName = void 0;
|
|
4
|
+
var classes_1 = require("../styles/classes");
|
|
5
|
+
exports.avatarComponentName = 'QuantumAvatar';
|
|
6
|
+
function getAvatarUtilityClass(slot) {
|
|
7
|
+
return (0, classes_1.generateUtilityClass)(exports.avatarComponentName, slot);
|
|
8
|
+
}
|
|
9
|
+
exports.getAvatarUtilityClass = getAvatarUtilityClass;
|
|
10
|
+
exports.avatarClasses = (0, classes_1.generateUtilityClasses)(exports.avatarComponentName, ['root', 'img', 'fallbackIcon']);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare type AvatarSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
3
|
+
export declare type AvatarType = 'user' | 'resource' | 'logo';
|
|
4
|
+
export declare type AvatarVariant = 'circular' | 'rounded' | 'square';
|
|
5
|
+
export interface IAvatarContextValue {
|
|
6
|
+
/** The size of the avatar */
|
|
7
|
+
size?: AvatarSize;
|
|
8
|
+
/** Maps to default props based on type. Use this as a shortcut to set the proper props */
|
|
9
|
+
type?: AvatarType;
|
|
10
|
+
/** The shape of the avatar. */
|
|
11
|
+
variant?: AvatarVariant;
|
|
12
|
+
}
|
|
13
|
+
export declare const AvatarContext: React.Context<IAvatarContextValue>;
|
|
14
|
+
export declare const useAvatarContext: () => IAvatarContextValue;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.useAvatarContext = exports.AvatarContext = void 0;
|
|
27
|
+
var React = __importStar(require("react"));
|
|
28
|
+
exports.AvatarContext = React.createContext({
|
|
29
|
+
size: 'medium',
|
|
30
|
+
});
|
|
31
|
+
var useAvatarContext = function () { return React.useContext(exports.AvatarContext); };
|
|
32
|
+
exports.useAvatarContext = useAvatarContext;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IconType } from '../icon';
|
|
3
|
+
import { IStyledComponentProps } from '../styled';
|
|
4
|
+
import { AvatarSize, AvatarVariant } from './avatar-context';
|
|
5
|
+
import { IAvatarImageProps } from './use-avatar-image';
|
|
6
|
+
import { AvatarClasses } from './avatar-classes';
|
|
7
|
+
import { ColorName } from '../theme/colors';
|
|
8
|
+
export declare type IAvatarProps = IStyledComponentProps<{
|
|
9
|
+
props: IAvatarImageProps & {
|
|
10
|
+
color?: 'default' | 'primary' | 'warning' | 'danger' | 'success' | 'info' | ColorName;
|
|
11
|
+
/** Provides an alt attribute for the rendered `img` element. */
|
|
12
|
+
alt?: string;
|
|
13
|
+
/** Used to render icon or text elements inside the Avatar if `src` is not set. */
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
/** classes to override styles */
|
|
16
|
+
classes?: Partial<AvatarClasses>;
|
|
17
|
+
/** specifies the image object-fit type */
|
|
18
|
+
imgFit?: 'contain' | 'cover';
|
|
19
|
+
/** Attributes applied to the `img` element if the component is used to display an image. */
|
|
20
|
+
imgProps?: IStyledComponentProps<{
|
|
21
|
+
props: {
|
|
22
|
+
'data-testid'?: string;
|
|
23
|
+
};
|
|
24
|
+
defaultComponent: 'img';
|
|
25
|
+
}>;
|
|
26
|
+
/** Adds padding around image. Only works when type === "logo". */
|
|
27
|
+
includePadding?: boolean;
|
|
28
|
+
/** displays border around the avatar */
|
|
29
|
+
showBorder?: boolean;
|
|
30
|
+
/** The size of the avatar */
|
|
31
|
+
size?: AvatarSize;
|
|
32
|
+
/** Fallback icon to display instead of default if set. */
|
|
33
|
+
fallbackIconOverride?: IconType;
|
|
34
|
+
/** The shape of the avatar. */
|
|
35
|
+
variant?: AvatarVariant;
|
|
36
|
+
/** initials to be used as a fallback if src fails to load. Only used for user type */
|
|
37
|
+
initials?: string;
|
|
38
|
+
/** instructs the avatar where it is being rendered */
|
|
39
|
+
placement?: 'default' | 'badge';
|
|
40
|
+
};
|
|
41
|
+
defaultComponent: 'div';
|
|
42
|
+
}>;
|
|
43
|
+
export interface IAvatarImgOwnerState {
|
|
44
|
+
imgFit?: IAvatarProps['imgFit'];
|
|
45
|
+
}
|
|
46
|
+
export declare const Avatar: React.ForwardRefExoticComponent<IAvatarImageProps & {
|
|
47
|
+
color?: ColorName | "primary" | "default" | "warning" | "danger" | "success" | "info" | undefined;
|
|
48
|
+
/** Provides an alt attribute for the rendered `img` element. */
|
|
49
|
+
alt?: string | undefined;
|
|
50
|
+
/** Used to render icon or text elements inside the Avatar if `src` is not set. */
|
|
51
|
+
children?: React.ReactNode;
|
|
52
|
+
/** classes to override styles */
|
|
53
|
+
classes?: Partial<Record<"img" | "root" | "fallbackIcon", string>> | undefined;
|
|
54
|
+
/** specifies the image object-fit type */
|
|
55
|
+
imgFit?: "contain" | "cover" | undefined;
|
|
56
|
+
/** Attributes applied to the `img` element if the component is used to display an image. */
|
|
57
|
+
imgProps?: IStyledComponentProps<{
|
|
58
|
+
props: {
|
|
59
|
+
'data-testid'?: string;
|
|
60
|
+
};
|
|
61
|
+
defaultComponent: 'img';
|
|
62
|
+
}> | undefined;
|
|
63
|
+
/** Adds padding around image. Only works when type === "logo". */
|
|
64
|
+
includePadding?: boolean | undefined;
|
|
65
|
+
/** displays border around the avatar */
|
|
66
|
+
showBorder?: boolean | undefined;
|
|
67
|
+
/** The size of the avatar */
|
|
68
|
+
size?: AvatarSize | undefined;
|
|
69
|
+
/** Fallback icon to display instead of default if set. */
|
|
70
|
+
fallbackIconOverride?: IconType | undefined;
|
|
71
|
+
/** The shape of the avatar. */
|
|
72
|
+
variant?: AvatarVariant | undefined;
|
|
73
|
+
/** initials to be used as a fallback if src fails to load. Only used for user type */
|
|
74
|
+
initials?: string | undefined;
|
|
75
|
+
/** instructs the avatar where it is being rendered */
|
|
76
|
+
placement?: "default" | "badge" | undefined;
|
|
77
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "color" | "size" | "classes" | "children" | "variant" | "placement" | "alt" | "imgProps" | keyof IAvatarImageProps | "imgFit" | "includePadding" | "showBorder" | "fallbackIconOverride" | "initials"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
|
package/avatar/avatar.js
ADDED
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
+
var t = {};
|
|
38
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
+
t[p] = s[p];
|
|
40
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
+
t[p[i]] = s[p[i]];
|
|
44
|
+
}
|
|
45
|
+
return t;
|
|
46
|
+
};
|
|
47
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
+
};
|
|
50
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
+
exports.Avatar = void 0;
|
|
52
|
+
var React = __importStar(require("react"));
|
|
53
|
+
var icon_1 = require("../icon");
|
|
54
|
+
var styled_1 = require("../styled");
|
|
55
|
+
var clsx_1 = __importDefault(require("../utils/clsx"));
|
|
56
|
+
var avatar_context_1 = require("./avatar-context");
|
|
57
|
+
var use_avatar_image_1 = require("./use-avatar-image");
|
|
58
|
+
var avatar_classes_1 = require("./avatar-classes");
|
|
59
|
+
var classes_1 = require("../styles/classes");
|
|
60
|
+
var Root = (0, styled_1.styled)('div', { name: avatar_classes_1.avatarComponentName, slot: 'Root' })(function (_a) {
|
|
61
|
+
var theme = _a.theme, ownerState = _a.ownerState;
|
|
62
|
+
var fullTokens = theme.tokens;
|
|
63
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ display: 'flex', alignItems: 'center', justifyContent: 'center', position: 'relative', overflow: 'hidden', height: theme.typography.pxToRem(40), width: theme.typography.pxToRem(40), color: theme.tokens.color_fg_on_state_neutral_subtle, backgroundColor: theme.tokens.color_bg_state_neutral_subtle, fontSize: theme.typography.pxToRem(16), fontWeight: theme.typography.fontWeightMedium, textTransform: 'uppercase', '& > svg': {
|
|
64
|
+
height: theme.typography.pxToRem(24),
|
|
65
|
+
width: theme.typography.pxToRem(24),
|
|
66
|
+
} }, (ownerState.type === 'logo' && {
|
|
67
|
+
backgroundColor: theme.mixins.getColorModeValue({
|
|
68
|
+
light: 'transparent',
|
|
69
|
+
dark: theme.tokens.color_bg_state_neutral,
|
|
70
|
+
}),
|
|
71
|
+
// adding padding due to the addition of a background for some.
|
|
72
|
+
padding: theme.palette.mode === 'dark' ? theme.spacing(0.25) : undefined,
|
|
73
|
+
})), (ownerState.showBorder && {
|
|
74
|
+
border: "1px solid ".concat(theme.tokens.color_border_bold),
|
|
75
|
+
'&$logo$hasImg': {
|
|
76
|
+
backgroundColor: theme.tokens.color_bg_layer,
|
|
77
|
+
},
|
|
78
|
+
})), (ownerState.includePadding &&
|
|
79
|
+
ownerState.type === 'logo' && {
|
|
80
|
+
padding: ownerState.size === 'small'
|
|
81
|
+
? theme.spacing(0.5)
|
|
82
|
+
: ownerState.size === 'large'
|
|
83
|
+
? theme.spacing(1.5)
|
|
84
|
+
: ownerState.size === 'xlarge'
|
|
85
|
+
? theme.spacing(3)
|
|
86
|
+
: theme.spacing(0.75),
|
|
87
|
+
})), (ownerState.placement === 'badge' && {
|
|
88
|
+
border: "3px solid ".concat(theme.tokens.color_bg_layer),
|
|
89
|
+
})), (ownerState.variant === 'rounded' && {
|
|
90
|
+
borderRadius: 4,
|
|
91
|
+
})), (ownerState.variant === 'circular' && {
|
|
92
|
+
minWidth: 'unset',
|
|
93
|
+
fontSize: theme.typography.button.fontSize,
|
|
94
|
+
borderRadius: '50%',
|
|
95
|
+
})), (ownerState.size === 'xsmall' && __assign({ height: theme.typography.pxToRem(24), width: theme.typography.pxToRem(24), fontSize: theme.typography.pxToRem(12), '& > svg': {
|
|
96
|
+
height: theme.typography.pxToRem(16),
|
|
97
|
+
width: theme.typography.pxToRem(16),
|
|
98
|
+
} }, (ownerState.variant === 'rounded' && {
|
|
99
|
+
borderRadius: 2,
|
|
100
|
+
})))), (ownerState.size === 'small' && __assign({ height: theme.typography.pxToRem(32), width: theme.typography.pxToRem(32), fontSize: theme.typography.pxToRem(14), '& > svg': {
|
|
101
|
+
height: theme.typography.pxToRem(16),
|
|
102
|
+
width: theme.typography.pxToRem(16),
|
|
103
|
+
} }, (ownerState.variant === 'rounded' && {
|
|
104
|
+
borderRadius: ownerState.placement === 'badge' ? 8 : 2,
|
|
105
|
+
})))), (ownerState.size === 'medium' && {
|
|
106
|
+
fontSize: theme.typography.pxToRem(16),
|
|
107
|
+
})), (ownerState.size === 'large' && __assign({ height: theme.typography.pxToRem(64), width: theme.typography.pxToRem(64), fontSize: theme.typography.pxToRem(24), '& > svg': {
|
|
108
|
+
height: theme.typography.pxToRem(40),
|
|
109
|
+
width: theme.typography.pxToRem(40),
|
|
110
|
+
} }, (ownerState.variant === 'rounded' && {
|
|
111
|
+
borderRadius: 6,
|
|
112
|
+
})))), (ownerState.size === 'xlarge' && __assign({ height: theme.typography.pxToRem(128), width: theme.typography.pxToRem(128), fontSize: theme.typography.pxToRem(48), fontWeight: theme.typography.fontWeightRegular, '& > svg': {
|
|
113
|
+
height: theme.typography.pxToRem(80),
|
|
114
|
+
width: theme.typography.pxToRem(80),
|
|
115
|
+
} }, (ownerState.variant === 'rounded' && {
|
|
116
|
+
borderRadius: 8,
|
|
117
|
+
})))), ((ownerState.color === 'primary' || ownerState.color === 'purple') && {
|
|
118
|
+
backgroundColor: theme.tokens.color_bg_brand_primary_subtle,
|
|
119
|
+
color: theme.tokens.color_fg_on_brand_primary_subtle,
|
|
120
|
+
})), ((ownerState.color === 'info' || ownerState.color === 'blue') && {
|
|
121
|
+
backgroundColor: theme.tokens.color_bg_state_info_subtle,
|
|
122
|
+
color: theme.tokens.color_fg_on_state_info_subtle,
|
|
123
|
+
})), ((ownerState.color === 'warning' || ownerState.color === 'yellow') && {
|
|
124
|
+
backgroundColor: theme.tokens.color_bg_state_caution_subtle,
|
|
125
|
+
color: theme.tokens.color_fg_on_state_caution_subtle,
|
|
126
|
+
})), ((ownerState.color === 'danger' || ownerState.color === 'red') && {
|
|
127
|
+
backgroundColor: theme.tokens.color_bg_state_danger_subtle,
|
|
128
|
+
color: theme.tokens.color_fg_on_state_danger_subtle,
|
|
129
|
+
})), ((ownerState.color === 'success' || ownerState.color === 'green') && {
|
|
130
|
+
backgroundColor: theme.tokens.color_bg_state_success_subtle,
|
|
131
|
+
color: theme.tokens.color_fg_on_state_success_subtle,
|
|
132
|
+
})), (ownerState.color === 'magenta' && {
|
|
133
|
+
backgroundColor: theme.mixins.getColorModeValue({
|
|
134
|
+
dark: fullTokens.color_global_functional_dark_magenta_200,
|
|
135
|
+
light: fullTokens.color_global_functional_light_magenta_200,
|
|
136
|
+
}),
|
|
137
|
+
color: theme.mixins.getColorModeValue({
|
|
138
|
+
dark: fullTokens.color_global_functional_dark_magenta_800,
|
|
139
|
+
light: fullTokens.color_global_functional_light_magenta_800,
|
|
140
|
+
}),
|
|
141
|
+
}));
|
|
142
|
+
});
|
|
143
|
+
var Img = (0, styled_1.styled)('img', { name: avatar_classes_1.avatarComponentName, slot: 'Img' })(function (_a) {
|
|
144
|
+
var ownerState = _a.ownerState;
|
|
145
|
+
return ({
|
|
146
|
+
width: '100%',
|
|
147
|
+
height: '100%',
|
|
148
|
+
textAlign: 'center',
|
|
149
|
+
// Handle non-square image. The property isn't supported by IE 11.
|
|
150
|
+
objectFit: ownerState.imgFit === 'contain' ? 'contain' : 'cover',
|
|
151
|
+
// Hide alt text.
|
|
152
|
+
color: 'transparent',
|
|
153
|
+
// Hide the image broken icon, only works on Chrome.
|
|
154
|
+
textIndent: 10000,
|
|
155
|
+
});
|
|
156
|
+
});
|
|
157
|
+
var getDefaultVariantForType = function (type) {
|
|
158
|
+
switch (type) {
|
|
159
|
+
case 'logo':
|
|
160
|
+
return 'square';
|
|
161
|
+
case 'resource':
|
|
162
|
+
return 'rounded';
|
|
163
|
+
case 'user':
|
|
164
|
+
return 'circular';
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
var fallbackIcon = {
|
|
168
|
+
resource: icon_1.GridIcon,
|
|
169
|
+
user: icon_1.UserIcon,
|
|
170
|
+
logo: icon_1.GridIcon,
|
|
171
|
+
};
|
|
172
|
+
exports.Avatar = React.forwardRef(function (props, ref) {
|
|
173
|
+
var className = props.className, alt = props.alt, color = props.color, childrenProp = props.children, imgProps = props.imgProps, includePadding = props.includePadding, showBorder = props.showBorder, sizeProp = props.size, _a = props.imgFit, imgFit = _a === void 0 ? 'cover' : _a, srcProp = props.src, fallbackIconOverride = props.fallbackIconOverride, typeProp = props.type, variantProp = props.variant, email = props.email, initials = props.initials, _b = props.placement, placement = _b === void 0 ? 'default' : _b, rootProps = __rest(props, ["className", "alt", "color", "children", "imgProps", "includePadding", "showBorder", "size", "imgFit", "src", "fallbackIconOverride", "type", "variant", "email", "initials", "placement"]);
|
|
174
|
+
var ctx = (0, avatar_context_1.useAvatarContext)();
|
|
175
|
+
var classes = (0, classes_1.useMergedClasses)(avatar_classes_1.avatarClasses, avatar_classes_1.getAvatarUtilityClass, props.classes);
|
|
176
|
+
var size = sizeProp || ctx.size;
|
|
177
|
+
var type = typeProp || ctx.type || 'resource';
|
|
178
|
+
var _c = (0, use_avatar_image_1.useAvatarImage)({ src: srcProp, type: type, email: email }), src = _c.src, status = _c.status;
|
|
179
|
+
var variantValue = variantProp || ctx.variant;
|
|
180
|
+
var FallbackIcon = fallbackIconOverride || fallbackIcon[type];
|
|
181
|
+
var variantForType = getDefaultVariantForType(type);
|
|
182
|
+
var variant = variantValue != null ? variantValue : variantForType;
|
|
183
|
+
var children = null;
|
|
184
|
+
var hasImgNotFailing = !!src && status !== 'error';
|
|
185
|
+
var ownerState = {
|
|
186
|
+
type: type,
|
|
187
|
+
showBorder: showBorder,
|
|
188
|
+
includePadding: includePadding,
|
|
189
|
+
hasImgNotFailing: hasImgNotFailing,
|
|
190
|
+
placement: placement,
|
|
191
|
+
variant: variant,
|
|
192
|
+
size: size,
|
|
193
|
+
color: color,
|
|
194
|
+
};
|
|
195
|
+
var ownerStateImg = {
|
|
196
|
+
imgFit: imgFit,
|
|
197
|
+
};
|
|
198
|
+
if (hasImgNotFailing) {
|
|
199
|
+
children = React.createElement(Img, __assign({ alt: alt || '', src: src, ownerState: ownerStateImg, className: classes.img }, imgProps));
|
|
200
|
+
}
|
|
201
|
+
else if (childrenProp != null) {
|
|
202
|
+
children = childrenProp;
|
|
203
|
+
}
|
|
204
|
+
else if ((type === 'user' || type === 'logo') && initials) {
|
|
205
|
+
children = initials.substring(0, 2);
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
208
|
+
children = React.createElement(FallbackIcon, { className: classes.fallbackIcon });
|
|
209
|
+
}
|
|
210
|
+
return (React.createElement(Root, __assign({}, { ref: ref }, { ownerState: ownerState, className: (0, clsx_1.default)(classes.root, className) }, rootProps), children));
|
|
211
|
+
});
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Avatar } from './avatar';
|
|
2
|
+
export type { IAvatarProps } from './avatar';
|
|
3
|
+
export { avatarClasses } from './avatar-classes';
|
|
4
|
+
export { useAvatarContext, AvatarContext } from './avatar-context';
|
|
5
|
+
export type { AvatarSize, AvatarType, AvatarVariant } from './avatar-context';
|
package/avatar/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AvatarContext = exports.useAvatarContext = exports.avatarClasses = exports.Avatar = void 0;
|
|
4
|
+
var avatar_1 = require("./avatar");
|
|
5
|
+
Object.defineProperty(exports, "Avatar", { enumerable: true, get: function () { return avatar_1.Avatar; } });
|
|
6
|
+
var avatar_classes_1 = require("./avatar-classes");
|
|
7
|
+
Object.defineProperty(exports, "avatarClasses", { enumerable: true, get: function () { return avatar_classes_1.avatarClasses; } });
|
|
8
|
+
var avatar_context_1 = require("./avatar-context");
|
|
9
|
+
Object.defineProperty(exports, "useAvatarContext", { enumerable: true, get: function () { return avatar_context_1.useAvatarContext; } });
|
|
10
|
+
Object.defineProperty(exports, "AvatarContext", { enumerable: true, get: function () { return avatar_context_1.AvatarContext; } });
|