@ptsecurity/mosaic 15.3.1 → 15.4.0-beta.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/_theming.scss +688 -212
- package/_visual.scss +132 -42
- package/alert/README.md +0 -0
- package/alert/_alert-theme.scss +61 -0
- package/alert/alert.component.d.ts +22 -0
- package/alert/alert.component.scss +81 -0
- package/alert/alert.module.d.ts +10 -0
- package/alert/index.d.ts +1 -0
- package/alert/public-api.d.ts +2 -0
- package/autocomplete/_autocomplete-theme.nvl.scss +21 -0
- package/button/_button-base.scss +2 -2
- package/button/_button-theme.nvl.scss +180 -0
- package/button/_button-theme.scss +0 -2
- package/button/button.component.d.ts +12 -3
- package/button/button.scss +19 -5
- package/button-toggle/_button-toggle-theme.scss +92 -0
- package/button-toggle/button-toggle.component.d.ts +6 -2
- package/button-toggle/button-toggle.module.d.ts +2 -1
- package/button-toggle/button-toggle.scss +110 -82
- package/card/_card-theme.nvl.scss +61 -0
- package/checkbox/_checkbox-theme.nvl.scss +120 -0
- package/checkbox/_checkbox-theme.scss +7 -7
- package/checkbox/checkbox.d.ts +2 -1
- package/checkbox/checkbox.scss +85 -52
- package/code-block/_code-block-theme.nvl.scss +326 -0
- package/core/common-behaviors/color.d.ts +13 -2
- package/core/common-behaviors/index.d.ts +1 -1
- package/core/forms/_forms-theme.nvl.scss +31 -0
- package/core/highlight/_highlight-theme.nvl.scss +8 -0
- package/core/highlight/_highlight-theme.scss +0 -2
- package/core/option/_optgroup-theme.nvl.scss +25 -0
- package/core/option/_option-action-theme.nvl.scss +41 -0
- package/core/option/_option-theme.nvl.scss +44 -0
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.nvl.scss +48 -0
- package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +2 -1
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +26 -6
- package/core/styles/_mosaic-theme.nvl.scss +153 -0
- package/core/styles/_mosaic-theme.scss +7 -2
- package/core/styles/_tokens.scss +4 -4
- package/core/styles/theming/_badges-theme.nvl.scss +118 -0
- package/core/styles/theming/_badges.nvl.scss +57 -0
- package/core/styles/theming/_components-theming.nvl.scss +1185 -0
- package/core/styles/theming/_components-theming.scss +92 -0
- package/core/styles/theming/_scrollbars-theme.nvl.scss +98 -0
- package/core/styles/theming/_scrollbars.nvl.scss +39 -0
- package/core/styles/theming/_theming.nvl.scss +137 -0
- package/core/styles/theming/prebuilt/dark-theme.nvl.scss +20 -0
- package/core/styles/theming/prebuilt/light-theme.nvl.scss +20 -0
- package/core/styles/typography/_typography.scss +5 -4
- package/core/utils/data-size/config.d.ts +20 -0
- package/core/utils/data-size/data-size.pipe.d.ts +13 -0
- package/core/utils/data-size/index.d.ts +3 -0
- package/core/utils/data-size/size.d.ts +16 -0
- package/core/utils/public-api.d.ts +1 -0
- package/datepicker/_datepicker-theme.nvl.scss +101 -0
- package/datepicker/datepicker-toggle.scss +2 -2
- package/divider/_divider-theme.nvl.scss +10 -0
- package/divider/_divider-theme.scss +1 -0
- package/divider/divider.component.d.ts +4 -1
- package/divider/divider.scss +24 -24
- package/dl/_dl-theme.nvl.scss +86 -0
- package/dl/_dl-theme.scss +0 -1
- package/dropdown/_dropdown-theme.nvl.scss +85 -0
- package/dropdown/dropdown.scss +3 -3
- package/ellipsis-center/ellipsis-center.directive.d.ts +27 -0
- package/ellipsis-center/index.d.ts +1 -0
- package/ellipsis-center/public-api.d.ts +1 -0
- package/esm2020/alert/alert.component.mjs +67 -0
- package/esm2020/alert/alert.module.mjs +44 -0
- package/esm2020/alert/index.mjs +2 -0
- package/esm2020/alert/ptsecurity-mosaic-alert.mjs +5 -0
- package/esm2020/alert/public-api.mjs +3 -0
- package/esm2020/autocomplete/autocomplete-origin.directive.mjs +3 -3
- package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +3 -3
- package/esm2020/autocomplete/autocomplete.component.mjs +5 -5
- package/esm2020/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2020/button/button.component.mjs +37 -19
- package/esm2020/button/button.module.mjs +4 -4
- package/esm2020/button-toggle/button-toggle.component.mjs +33 -14
- package/esm2020/button-toggle/button-toggle.module.mjs +7 -6
- package/esm2020/card/card.component.mjs +3 -3
- package/esm2020/card/card.module.mjs +4 -4
- package/esm2020/checkbox/checkbox-module.mjs +4 -4
- package/esm2020/checkbox/checkbox-required-validator.mjs +3 -3
- package/esm2020/checkbox/checkbox.mjs +13 -9
- package/esm2020/code-block/actionbar.component.mjs +5 -5
- package/esm2020/code-block/code-block.component.mjs +4 -4
- package/esm2020/code-block/code-block.module.mjs +4 -4
- package/esm2020/core/common-behaviors/color.mjs +14 -2
- package/esm2020/core/common-behaviors/common-module.mjs +4 -4
- package/esm2020/core/common-behaviors/index.mjs +2 -2
- package/esm2020/core/error/error-options.mjs +6 -6
- package/esm2020/core/formatters/date/formatter.mjs +3 -3
- package/esm2020/core/formatters/date/formatter.pipe.mjs +39 -39
- package/esm2020/core/formatters/index.mjs +4 -4
- package/esm2020/core/formatters/number/formatter.mjs +4 -4
- package/esm2020/core/forms/forms-module.mjs +4 -4
- package/esm2020/core/forms/forms.directive.mjs +6 -6
- package/esm2020/core/highlight/highlight.pipe.mjs +3 -3
- package/esm2020/core/highlight/index.mjs +4 -4
- package/esm2020/core/line/line.mjs +7 -7
- package/esm2020/core/locales/locale-service.mjs +3 -3
- package/esm2020/core/locales/locale-service.module.mjs +4 -4
- package/esm2020/core/option/action.mjs +3 -3
- package/esm2020/core/option/optgroup.mjs +3 -3
- package/esm2020/core/option/option-module.mjs +4 -4
- package/esm2020/core/option/option.mjs +4 -4
- package/esm2020/core/pop-up/pop-up-trigger.mjs +3 -3
- package/esm2020/core/pop-up/pop-up.mjs +3 -3
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +12 -8
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
- package/esm2020/core/services/measure-scrollbar.service.mjs +3 -3
- package/esm2020/core/utils/data-size/config.mjs +22 -0
- package/esm2020/core/utils/data-size/data-size.pipe.mjs +32 -0
- package/esm2020/core/utils/data-size/index.mjs +4 -0
- package/esm2020/core/utils/data-size/size.mjs +50 -0
- package/esm2020/core/utils/public-api.mjs +2 -1
- package/esm2020/core/version.mjs +2 -2
- package/esm2020/datepicker/calendar-body.component.mjs +3 -3
- package/esm2020/datepicker/calendar-header.component.mjs +3 -3
- package/esm2020/datepicker/calendar.component.mjs +3 -3
- package/esm2020/datepicker/datepicker-input.directive.mjs +3 -3
- package/esm2020/datepicker/datepicker-intl.mjs +3 -3
- package/esm2020/datepicker/datepicker-module.mjs +4 -4
- package/esm2020/datepicker/datepicker-toggle.component.mjs +7 -7
- package/esm2020/datepicker/datepicker.component.mjs +6 -6
- package/esm2020/datepicker/month-view.component.mjs +3 -3
- package/esm2020/divider/divider.component.mjs +16 -6
- package/esm2020/divider/divider.module.mjs +4 -4
- package/esm2020/dl/dl.component.mjs +9 -9
- package/esm2020/dl/dl.module.mjs +4 -4
- package/esm2020/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2020/dropdown/dropdown-item.component.mjs +5 -5
- package/esm2020/dropdown/dropdown-trigger.directive.mjs +3 -3
- package/esm2020/dropdown/dropdown.component.mjs +6 -6
- package/esm2020/dropdown/dropdown.module.mjs +4 -4
- package/esm2020/ellipsis-center/ellipsis-center.directive.mjs +106 -0
- package/esm2020/ellipsis-center/index.mjs +2 -0
- package/esm2020/ellipsis-center/ptsecurity-mosaic-ellipsis-center.mjs +5 -0
- package/esm2020/ellipsis-center/public-api.mjs +2 -0
- package/esm2020/file-upload/file-drop.mjs +43 -0
- package/esm2020/file-upload/file-upload.mjs +4 -0
- package/esm2020/file-upload/file-upload.module.mjs +66 -0
- package/esm2020/file-upload/index.mjs +2 -0
- package/esm2020/file-upload/multiple-file-upload.component.mjs +161 -0
- package/esm2020/file-upload/ptsecurity-mosaic-file-upload.mjs +5 -0
- package/esm2020/file-upload/public-api.mjs +6 -0
- package/esm2020/file-upload/single-file-upload.component.mjs +130 -0
- package/esm2020/form-field/cleaner.mjs +7 -7
- package/esm2020/form-field/form-field.mjs +10 -10
- package/esm2020/form-field/form-field.module.mjs +4 -4
- package/esm2020/form-field/hint.mjs +15 -15
- package/esm2020/form-field/password-hint.mjs +4 -4
- package/esm2020/form-field/prefix.mjs +3 -3
- package/esm2020/form-field/stepper.mjs +3 -3
- package/esm2020/form-field/suffix.mjs +3 -3
- package/esm2020/form-field/validate.directive.mjs +3 -3
- package/esm2020/icon/icon.component.mjs +78 -21
- package/esm2020/icon/icon.module.mjs +14 -10
- package/esm2020/input/input-number-validators.mjs +6 -6
- package/esm2020/input/input-number.mjs +3 -3
- package/esm2020/input/input-password.mjs +6 -6
- package/esm2020/input/input.mjs +6 -6
- package/esm2020/input/input.module.mjs +4 -4
- package/esm2020/link/link.component.mjs +14 -4
- package/esm2020/link/link.module.mjs +4 -4
- package/esm2020/list/list-selection.component.mjs +9 -9
- package/esm2020/list/list.component.mjs +7 -7
- package/esm2020/list/list.module.mjs +4 -4
- package/esm2020/loader-overlay/loader-overlay.component.mjs +12 -12
- package/esm2020/loader-overlay/loader-overlay.module.mjs +4 -4
- package/esm2020/markdown/markdown.component.mjs +5 -5
- package/esm2020/markdown/markdown.module.mjs +4 -4
- package/esm2020/markdown/markdown.service.mjs +3 -3
- package/esm2020/modal/css-unit.pipe.mjs +3 -3
- package/esm2020/modal/modal-control.service.mjs +3 -3
- package/esm2020/modal/modal.component.mjs +4 -4
- package/esm2020/modal/modal.directive.mjs +12 -12
- package/esm2020/modal/modal.module.mjs +4 -4
- package/esm2020/modal/modal.service.mjs +3 -3
- package/esm2020/navbar/navbar-item.component.mjs +31 -31
- package/esm2020/navbar/navbar.component.mjs +9 -9
- package/esm2020/navbar/navbar.module.mjs +4 -4
- package/esm2020/navbar/vertical-navbar.component.mjs +3 -3
- package/esm2020/popover/popover-confirm.component.mjs +8 -8
- package/esm2020/popover/popover.component.mjs +7 -7
- package/esm2020/popover/popover.module.mjs +4 -4
- package/esm2020/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2020/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2020/progress-spinner/progress-spinner.component.mjs +6 -6
- package/esm2020/progress-spinner/progress-spinner.module.mjs +4 -4
- package/esm2020/radio/radio.component.mjs +13 -9
- package/esm2020/radio/radio.module.mjs +4 -4
- package/esm2020/select/select-option.directive.mjs +3 -3
- package/esm2020/select/select.component.mjs +22 -22
- package/esm2020/select/select.module.mjs +4 -4
- package/esm2020/sidebar/sidebar.component.mjs +9 -9
- package/esm2020/sidebar/sidebar.module.mjs +4 -4
- package/esm2020/sidepanel/sidepanel-container.component.mjs +4 -4
- package/esm2020/sidepanel/sidepanel-directives.mjs +17 -17
- package/esm2020/sidepanel/sidepanel.module.mjs +4 -4
- package/esm2020/sidepanel/sidepanel.service.mjs +3 -3
- package/esm2020/splitter/splitter.component.mjs +12 -12
- package/esm2020/splitter/splitter.module.mjs +4 -4
- package/esm2020/table/table.component.mjs +3 -3
- package/esm2020/table/table.module.mjs +4 -4
- package/esm2020/tabs/paginated-tab-header.mjs +3 -3
- package/esm2020/tabs/tab-body.component.mjs +9 -8
- package/esm2020/tabs/tab-content.directive.mjs +3 -3
- package/esm2020/tabs/tab-group.component.mjs +18 -18
- package/esm2020/tabs/tab-header.component.mjs +4 -4
- package/esm2020/tabs/tab-label-wrapper.directive.mjs +3 -3
- package/esm2020/tabs/tab-label.directive.mjs +3 -3
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +7 -7
- package/esm2020/tabs/tab.component.mjs +3 -3
- package/esm2020/tabs/tabs.module.mjs +9 -5
- package/esm2020/tags/tag-input.mjs +3 -3
- package/esm2020/tags/tag-list.component.mjs +4 -4
- package/esm2020/tags/tag.component.mjs +16 -16
- package/esm2020/tags/tag.module.mjs +4 -4
- package/esm2020/textarea/textarea.component.mjs +3 -3
- package/esm2020/textarea/textarea.module.mjs +4 -4
- package/esm2020/timepicker/timepicker.directive.mjs +3 -3
- package/esm2020/timepicker/timepicker.module.mjs +4 -4
- package/esm2020/timezone/cities-by-filter.pipe.mjs +3 -3
- package/esm2020/timezone/timezone-option.component.mjs +3 -3
- package/esm2020/timezone/timezone-option.directive.mjs +3 -3
- package/esm2020/timezone/timezone-select.component.mjs +8 -8
- package/esm2020/timezone/timezone.module.mjs +4 -4
- package/esm2020/timezone/utc-offset.pipe.mjs +3 -3
- package/esm2020/title/title.directive.mjs +3 -3
- package/esm2020/title/title.module.mjs +4 -4
- package/esm2020/toast/toast-container.component.mjs +3 -3
- package/esm2020/toast/toast.component.mjs +5 -5
- package/esm2020/toast/toast.module.mjs +4 -4
- package/esm2020/toast/toast.service.mjs +3 -3
- package/esm2020/toggle/toggle.component.mjs +17 -13
- package/esm2020/toggle/toggle.module.mjs +4 -4
- package/esm2020/tooltip/tooltip.component.mjs +26 -17
- package/esm2020/tooltip/tooltip.module.mjs +4 -4
- package/esm2020/tree/node.mjs +3 -3
- package/esm2020/tree/outlet.mjs +3 -3
- package/esm2020/tree/padding.directive.mjs +3 -3
- package/esm2020/tree/toggle.mjs +9 -9
- package/esm2020/tree/tree-base.mjs +6 -6
- package/esm2020/tree/tree-option.component.mjs +4 -4
- package/esm2020/tree/tree-selection.component.mjs +3 -3
- package/esm2020/tree/tree.mjs +3 -3
- package/esm2020/tree/tree.module.mjs +4 -4
- package/esm2020/tree-select/tree-select.component.mjs +16 -13
- package/esm2020/tree-select/tree-select.module.mjs +4 -4
- package/fesm2015/ptsecurity-mosaic-alert.mjs +115 -0
- package/fesm2015/ptsecurity-mosaic-alert.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +15 -15
- package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +38 -18
- package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-button.mjs +41 -23
- package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-card.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs +19 -15
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-code-block.mjs +12 -12
- package/fesm2015/ptsecurity-mosaic-code-block.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-core.mjs +242 -127
- package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs +35 -35
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-divider.mjs +19 -9
- package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-dl.mjs +13 -13
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs +20 -20
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-ellipsis-center.mjs +113 -0
- package/fesm2015/ptsecurity-mosaic-ellipsis-center.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-file-upload.mjs +392 -0
- package/fesm2015/ptsecurity-mosaic-file-upload.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-form-field.mjs +49 -49
- package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-icon.mjs +93 -29
- package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-input.mjs +25 -25
- package/fesm2015/ptsecurity-mosaic-link.mjs +17 -7
- package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-list.mjs +20 -20
- package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs +16 -16
- package/fesm2015/ptsecurity-mosaic-markdown.mjs +12 -12
- package/fesm2015/ptsecurity-mosaic-markdown.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-modal.mjs +29 -29
- package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-navbar.mjs +47 -47
- package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-popover.mjs +18 -18
- package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +9 -9
- package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-radio.mjs +16 -12
- package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-select.mjs +28 -28
- package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +27 -27
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-splitter.mjs +16 -16
- package/fesm2015/ptsecurity-mosaic-table.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-tabs.mjs +60 -56
- package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tags.mjs +26 -26
- package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-textarea.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-timepicker.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-timezone.mjs +24 -24
- package/fesm2015/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-title.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-toast.mjs +14 -14
- package/fesm2015/ptsecurity-mosaic-toast.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-toggle.mjs +21 -17
- package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs +29 -20
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs +19 -16
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree.mjs +38 -38
- package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-alert.mjs +115 -0
- package/fesm2020/ptsecurity-mosaic-alert.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +15 -15
- package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +38 -18
- package/fesm2020/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-button.mjs +41 -23
- package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-card.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-checkbox.mjs +19 -15
- package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-code-block.mjs +12 -12
- package/fesm2020/ptsecurity-mosaic-code-block.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-core.mjs +242 -127
- package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs +36 -35
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-divider.mjs +19 -9
- package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-dl.mjs +13 -13
- package/fesm2020/ptsecurity-mosaic-dropdown.mjs +20 -20
- package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-ellipsis-center.mjs +111 -0
- package/fesm2020/ptsecurity-mosaic-ellipsis-center.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-file-upload.mjs +388 -0
- package/fesm2020/ptsecurity-mosaic-file-upload.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-form-field.mjs +49 -49
- package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-icon.mjs +89 -29
- package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-input.mjs +25 -25
- package/fesm2020/ptsecurity-mosaic-link.mjs +17 -7
- package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-list.mjs +20 -20
- package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs +16 -16
- package/fesm2020/ptsecurity-mosaic-markdown.mjs +12 -12
- package/fesm2020/ptsecurity-mosaic-markdown.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-modal.mjs +29 -29
- package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-navbar.mjs +47 -47
- package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-popover.mjs +18 -18
- package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +9 -9
- package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-radio.mjs +16 -12
- package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-select.mjs +28 -28
- package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +27 -27
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-splitter.mjs +16 -16
- package/fesm2020/ptsecurity-mosaic-table.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-tabs.mjs +60 -56
- package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tags.mjs +26 -26
- package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-textarea.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-timepicker.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-timezone.mjs +24 -24
- package/fesm2020/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-title.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-toast.mjs +14 -14
- package/fesm2020/ptsecurity-mosaic-toast.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-toggle.mjs +21 -17
- package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs +29 -20
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs +19 -16
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree.mjs +38 -38
- package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/file-upload/README.md +0 -0
- package/file-upload/_file-upload-theme.scss +174 -0
- package/file-upload/file-drop.d.ts +11 -0
- package/file-upload/file-upload.d.ts +22 -0
- package/file-upload/file-upload.module.d.ts +18 -0
- package/file-upload/file-upload.scss +46 -0
- package/file-upload/index.d.ts +1 -0
- package/file-upload/multiple-file-upload.component.d.ts +51 -0
- package/file-upload/multiple-file-upload.component.scss +148 -0
- package/file-upload/public-api.d.ts +5 -0
- package/file-upload/single-file-upload.component.d.ts +34 -0
- package/file-upload/single-file-upload.component.scss +60 -0
- package/form-field/_form-field-theme.nvl.scss +111 -0
- package/form-field/_hint-theme.nvl.scss +67 -0
- package/form-field/cleaner.d.ts +2 -2
- package/form-field/hint.d.ts +2 -1
- package/form-field/hint.scss +15 -0
- package/icon/_icon-theme.nvl.scss +267 -0
- package/icon/icon.component.d.ts +22 -6
- package/icon/icon.module.d.ts +1 -1
- package/icon/icon.scss +39 -0
- package/input/_input-theme.nvl.scss +56 -0
- package/input/input.scss +5 -0
- package/link/_link-theme.nvl.scss +178 -0
- package/link/_link-theme.scss +2 -3
- package/link/link.component.d.ts +4 -1
- package/list/_list-theme.nvl.scss +47 -0
- package/loader-overlay/_loader-overlay-theme.nvl.scss +34 -0
- package/loader-overlay/_loader-overlay-theme.scss +0 -1
- package/markdown/_markdown-theme.nvl.scss +142 -0
- package/markdown/markdown.scss +13 -7
- package/modal/_modal-theme.nvl.scss +90 -0
- package/navbar/_navbar-theme.nvl.scss +123 -0
- package/package.json +26 -2
- package/popover/_popover-theme.nvl.scss +111 -0
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/dark-theme.nvl.css +1 -0
- package/prebuilt-themes/default-theme.css +1 -1
- package/prebuilt-themes/light-theme.nvl.css +1 -0
- package/progress-bar/_progress-bar-theme.nvl.scss +28 -0
- package/progress-spinner/_progress-spinner-theme.nvl.scss +24 -0
- package/radio/_radio-theme.nvl.scss +95 -0
- package/radio/_radio-theme.scss +1 -1
- package/radio/radio.component.d.ts +2 -1
- package/radio/radio.scss +60 -27
- package/select/_select-theme.nvl.scss +55 -0
- package/select/_select-theme.scss +6 -0
- package/select/select.component.d.ts +1 -1
- package/select/select.scss +51 -27
- package/sidepanel/_sidepanel-theme.nvl.scss +67 -0
- package/splitter/_splitter-theme.nvl.scss +31 -0
- package/table/_table-theme.nvl.scss +65 -0
- package/table/_table-theme.scss +0 -1
- package/tabs/_tabs-theme.nvl.scss +240 -0
- package/tabs/tabs.module.d.ts +5 -4
- package/tags/_tag-theme.nvl.scss +100 -0
- package/tags/_tag-theme.scss +0 -1
- package/tags/tag-list.scss +23 -7
- package/tags/tag.scss +21 -69
- package/textarea/_textarea-theme.nvl.scss +37 -0
- package/timezone/_timezone-option-theme.nvl.scss +34 -0
- package/toast/_toast-theme.nvl.scss +61 -0
- package/toggle/_toggle-theme.nvl.scss +98 -0
- package/toggle/_toggle-theme.scss +0 -3
- package/toggle/toggle.component.d.ts +2 -1
- package/toggle/toggle.scss +51 -76
- package/tooltip/_tooltip-theme.nvl.scss +49 -0
- package/tooltip/tooltip.component.d.ts +5 -2
- package/tooltip/tooltip.scss +10 -39
- package/tree/_tree-theme.nvl.scss +69 -0
- package/tree-select/_tree-select-theme.nvl.scss +41 -0
- package/tree-select/_tree-select-theme.scss +6 -0
- package/tree-select/tree-select.component.d.ts +2 -2
- package/tree-select/tree-select.scss +13 -0
- package/core/styles/theming/_alerts.scss +0 -166
@@ -0,0 +1,178 @@
|
|
1
|
+
@use 'sass:meta';
|
2
|
+
@use 'sass:map';
|
3
|
+
|
4
|
+
@use '../core/styles/typography/typography-utils' as *;
|
5
|
+
|
6
|
+
|
7
|
+
@mixin nvl-mc-link($foreground, $link, $tokens) {
|
8
|
+
display: inline-block;
|
9
|
+
|
10
|
+
color: map.get($link, text);
|
11
|
+
text-decoration: none;
|
12
|
+
cursor: pointer;
|
13
|
+
|
14
|
+
transition: color ease-out 300ms;
|
15
|
+
|
16
|
+
&:focus {
|
17
|
+
outline: none;
|
18
|
+
}
|
19
|
+
|
20
|
+
/* stylelint-disable no-descending-specificity */
|
21
|
+
&:hover {
|
22
|
+
color: map.get($link, state-hover-text);
|
23
|
+
transition: color 0ms;
|
24
|
+
|
25
|
+
&.mc-text-only,
|
26
|
+
&.mc-text-with-icon .mc-link__text {
|
27
|
+
border-bottom-color: map.get($link, state-hover-border-bottom);
|
28
|
+
}
|
29
|
+
|
30
|
+
& .mc-icon {
|
31
|
+
color: map.get($link, state-hover-text);
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
&:active {
|
36
|
+
color: map.get($link, state-active-text);
|
37
|
+
|
38
|
+
&.mc-text-only,
|
39
|
+
&.mc-text-with-icon .mc-link__text {
|
40
|
+
border-bottom-color: map.get($link, state-active-border-bottom);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
&.cdk-keyboard-focused {
|
45
|
+
outline: map.get($link, state-focused-outline) solid map.get($link, link-size-state-focused-outline-width);
|
46
|
+
|
47
|
+
outline-offset: map.get($link, link-size-state-focused-outline-offset);
|
48
|
+
}
|
49
|
+
|
50
|
+
& .mc-icon {
|
51
|
+
color: inherit;
|
52
|
+
}
|
53
|
+
|
54
|
+
&.mc-text-only,
|
55
|
+
&.mc-text-with-icon .mc-link__text {
|
56
|
+
border-bottom-style: solid;
|
57
|
+
border-bottom-width: 1px;
|
58
|
+
border-bottom-color: map.get($link, border-bottom);
|
59
|
+
}
|
60
|
+
|
61
|
+
&.mc-text-with-icon .mc-link__text {
|
62
|
+
&:not(:first-child) {
|
63
|
+
margin-left: map.get($tokens, link-size-normal-content-padding);
|
64
|
+
}
|
65
|
+
|
66
|
+
&:not(:last-child) {
|
67
|
+
margin-right: map.get($tokens, link-size-normal-content-padding);
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
&.mc-link_pseudo {
|
72
|
+
display: inline;
|
73
|
+
|
74
|
+
&.mc-text-only,
|
75
|
+
&.mc-text-with-icon .mc-link__text {
|
76
|
+
border-bottom: none !important;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
&.mc-link_no-underline {
|
81
|
+
&.mc-text-only,
|
82
|
+
&.mc-text-with-icon .mc-link__text {
|
83
|
+
border-bottom-color: transparent;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
&.mc-link_big {
|
88
|
+
&.mc-text-with-icon .mc-link__text {
|
89
|
+
&:not(:first-child) {
|
90
|
+
margin-left: map.get($tokens, link-size-big-content-padding);
|
91
|
+
}
|
92
|
+
|
93
|
+
&:not(:last-child) {
|
94
|
+
margin-right: map.get($tokens, link-size-big-content-padding);
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
&[disabled] {
|
100
|
+
color: map.get($foreground, text-disabled);
|
101
|
+
|
102
|
+
cursor: default;
|
103
|
+
pointer-events: none;
|
104
|
+
|
105
|
+
&.mc-text-only,
|
106
|
+
&.mc-text-with-icon .mc-link__text {
|
107
|
+
border-bottom-color: map.get($link, border-bottom);
|
108
|
+
}
|
109
|
+
|
110
|
+
& .mc-icon {
|
111
|
+
color: map.get($foreground, text-disabled);
|
112
|
+
}
|
113
|
+
/* stylelint-enable no-descending-specificity */
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
@mixin nvl-mc-link-theme($theme) {
|
118
|
+
$foreground: map.get($theme, foreground);
|
119
|
+
|
120
|
+
$link: map.get(map.get($theme, components), link);
|
121
|
+
|
122
|
+
$tokens: map.get($theme, tokens);
|
123
|
+
|
124
|
+
.mc-link:not(.mc-link_use-visited) {
|
125
|
+
&:visited {
|
126
|
+
color: map.get($link, text);
|
127
|
+
}
|
128
|
+
|
129
|
+
@include nvl-mc-link($foreground, $link, $tokens);
|
130
|
+
}
|
131
|
+
|
132
|
+
.mc-link.mc-link_use-visited {
|
133
|
+
&:visited {
|
134
|
+
color: map.get($link, state-visited-text);
|
135
|
+
|
136
|
+
&.mc-text-only,
|
137
|
+
&.mc-text-with-icon .mc-link__text {
|
138
|
+
border-bottom-color: map.get($link, state-visited-border-bottom);
|
139
|
+
}
|
140
|
+
|
141
|
+
& .mc-icon {
|
142
|
+
color: map.get($link, state-visited-text);
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
@include nvl-mc-link($foreground, $link, $tokens);
|
147
|
+
}
|
148
|
+
|
149
|
+
@media print {
|
150
|
+
.mc-link_print:not([disabled]) {
|
151
|
+
color: map.get($foreground, text);
|
152
|
+
|
153
|
+
&.mc-text-only,
|
154
|
+
&.mc-text-with-icon .mc-link__text {
|
155
|
+
border-bottom: none;
|
156
|
+
}
|
157
|
+
|
158
|
+
&::after {
|
159
|
+
color: map.get($foreground, text);
|
160
|
+
|
161
|
+
content: ":\a" attr(print);
|
162
|
+
white-space: pre;
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
@mixin nvl-mc-link-typography($config) {
|
169
|
+
$tokens: map.get($config, tokens);
|
170
|
+
|
171
|
+
.mc-link {
|
172
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, link-font-normal));
|
173
|
+
}
|
174
|
+
|
175
|
+
.mc-link.mc-link_big {
|
176
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, link-font-big));
|
177
|
+
}
|
178
|
+
}
|
package/link/_link-theme.scss
CHANGED
@@ -127,7 +127,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
127
127
|
}
|
128
128
|
}
|
129
129
|
|
130
|
-
|
131
130
|
@mixin mc-link-theme($theme) {
|
132
131
|
$foreground: map.get($theme, foreground);
|
133
132
|
|
@@ -179,10 +178,10 @@ $tokens: meta.module-variables(tokens) !default;
|
|
179
178
|
|
180
179
|
@mixin mc-link-typography($config) {
|
181
180
|
.mc-link {
|
182
|
-
@include mc-typography-level-to-styles($config, map.get($tokens, link-font-
|
181
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, link-font-normal));
|
183
182
|
}
|
184
183
|
|
185
184
|
.mc-link.mc-link_caption {
|
186
|
-
@include mc-typography-level-to-styles($config, map.get($tokens, link-font-
|
185
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, link-font-big));
|
187
186
|
}
|
188
187
|
}
|
package/link/link.component.d.ts
CHANGED
@@ -25,6 +25,9 @@ export declare class McLink extends McLinkMixinBase implements OnDestroy, HasTab
|
|
25
25
|
get caption(): any;
|
26
26
|
set caption(value: any);
|
27
27
|
private _caption;
|
28
|
+
get big(): any;
|
29
|
+
set big(value: any);
|
30
|
+
private _big;
|
28
31
|
get useVisited(): any;
|
29
32
|
set useVisited(value: any);
|
30
33
|
private _useVisited;
|
@@ -40,5 +43,5 @@ export declare class McLink extends McLinkMixinBase implements OnDestroy, HasTab
|
|
40
43
|
getHostElement(): any;
|
41
44
|
private updatePrintUrl;
|
42
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<McLink, never>;
|
43
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McLink, "[mc-link]", ["mcLink"], { "tabIndex": "tabIndex"; "disabled": "disabled"; "pseudo": "pseudo"; "noUnderline": "noUnderline"; "caption": "caption"; "useVisited": "useVisited"; "print": "print"; }, {}, ["icon"], never, false, never>;
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McLink, "[mc-link]", ["mcLink"], { "tabIndex": "tabIndex"; "disabled": "disabled"; "pseudo": "pseudo"; "noUnderline": "noUnderline"; "caption": "caption"; "big": "big"; "useVisited": "useVisited"; "print": "print"; }, {}, ["icon"], never, false, never>;
|
44
47
|
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
@use 'sass:meta';
|
2
|
+
@use 'sass:map';
|
3
|
+
|
4
|
+
@use '../core/styles/typography/typography-utils' as *;
|
5
|
+
|
6
|
+
|
7
|
+
@mixin nvl-mc-list-theme($theme) {
|
8
|
+
$foreground: map.get($theme, foreground);
|
9
|
+
$background: map.get($theme, background);
|
10
|
+
|
11
|
+
.mc-list-item,
|
12
|
+
.mc-list-option {
|
13
|
+
color: map.get($foreground, text);
|
14
|
+
}
|
15
|
+
|
16
|
+
.mc-list-option {
|
17
|
+
outline: none;
|
18
|
+
|
19
|
+
&:hover {
|
20
|
+
background: map.get($background, overlay-hover);
|
21
|
+
}
|
22
|
+
|
23
|
+
&.mc-focused {
|
24
|
+
border-color: map.get(map.get($theme, states), focused-color);
|
25
|
+
}
|
26
|
+
|
27
|
+
&.mc-selected {
|
28
|
+
background: map.get(map.get($theme, states), selected-color);
|
29
|
+
}
|
30
|
+
|
31
|
+
&.mc-disabled,
|
32
|
+
&[disabled] {
|
33
|
+
background: transparent;
|
34
|
+
|
35
|
+
color: map.get($foreground, text-disabled);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
@mixin nvl-mc-list-typography($config) {
|
41
|
+
$tokens: map.get($config, tokens);
|
42
|
+
|
43
|
+
.mc-list-item,
|
44
|
+
.mc-list-option {
|
45
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, list-font-item));
|
46
|
+
}
|
47
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
@use 'sass:meta';
|
2
|
+
@use 'sass:map';
|
3
|
+
|
4
|
+
@use '../core/styles/typography/typography-utils' as *;
|
5
|
+
|
6
|
+
|
7
|
+
@mixin nvl-mc-loader-overlay-theme($theme) {
|
8
|
+
$loader-overlay: map.get(map.get($theme, components), loader-overlay);
|
9
|
+
|
10
|
+
.mc-loader-overlay {
|
11
|
+
background: map.get($loader-overlay, background);
|
12
|
+
}
|
13
|
+
|
14
|
+
.mc-loader-overlay-text {
|
15
|
+
color: map.get($loader-overlay, text);
|
16
|
+
}
|
17
|
+
|
18
|
+
.mc-loader-overlay-caption {
|
19
|
+
color: map.get($loader-overlay, caption);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
@mixin nvl-mc-loader-overlay-typography($config) {
|
24
|
+
$tokens: map.get($config, tokens);
|
25
|
+
|
26
|
+
.mc-loader-overlay-text {
|
27
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, loader-overlay-font-text));
|
28
|
+
}
|
29
|
+
|
30
|
+
.mc-loader-overlay-caption {
|
31
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, loader-overlay-font-caption));
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
@@ -0,0 +1,142 @@
|
|
1
|
+
@use 'sass:meta';
|
2
|
+
@use 'sass:map';
|
3
|
+
|
4
|
+
@use '../core/styles/theming/theming' as *;
|
5
|
+
@use '../core/styles/typography/typography-utils' as *;
|
6
|
+
|
7
|
+
|
8
|
+
@mixin nvl-mc-markdown-theme($theme) {
|
9
|
+
$tokens: map.get($theme, tokens);
|
10
|
+
|
11
|
+
$foreground: map.get($theme, foreground);
|
12
|
+
$background: map.get($theme, background);
|
13
|
+
|
14
|
+
$markdown: map.get(map.get($theme, components), markdown);
|
15
|
+
|
16
|
+
.mc-markdown {
|
17
|
+
color: map.get($foreground, text);
|
18
|
+
background: map.get($background, background);;
|
19
|
+
|
20
|
+
// h1, h2, h3, h4, h5, h6
|
21
|
+
@for $i from 1 through 6 {
|
22
|
+
.mc-markdown__h#{$i} {
|
23
|
+
color: map.get($markdown, h#{$i}-color);
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.mc-markdown__p {
|
28
|
+
color: map.get($markdown, p-color);
|
29
|
+
}
|
30
|
+
|
31
|
+
.mc-markdown__ul,
|
32
|
+
.mc-markdown__ol {
|
33
|
+
color: map.get($markdown, list-color);
|
34
|
+
}
|
35
|
+
|
36
|
+
.mc-markdown__blockquote {
|
37
|
+
color: map.get($markdown, blockquote-text);
|
38
|
+
background: map.get($markdown, blockquote-background);
|
39
|
+
border-color: map.get($markdown, blockquote-border);
|
40
|
+
border-left-color: map.get($markdown, blockquote-line);
|
41
|
+
}
|
42
|
+
|
43
|
+
.mc-markdown__pre,
|
44
|
+
.mc-markdown__p > .mc-markdown__code {
|
45
|
+
color: map.get($markdown, code-text);
|
46
|
+
background-color: map.get($markdown, code-background);
|
47
|
+
border-color: map.get($markdown, code-border);
|
48
|
+
}
|
49
|
+
|
50
|
+
.mc-markdown__a {
|
51
|
+
color: map.get($markdown, link-text);
|
52
|
+
border-bottom-color: map.get($markdown, link-border-bottom);
|
53
|
+
|
54
|
+
&:visited {
|
55
|
+
color: map.get($markdown, link-state-visited-text);
|
56
|
+
border-bottom-color: map.get($markdown, link-state-visited-border-bottom);
|
57
|
+
}
|
58
|
+
|
59
|
+
&:hover {
|
60
|
+
color: map.get($markdown, link-state-hover-text);
|
61
|
+
transition: color 0ms;
|
62
|
+
border-bottom-color: map.get($markdown, link-state-hover-border-bottom);
|
63
|
+
}
|
64
|
+
|
65
|
+
&:active {
|
66
|
+
color: map.get($markdown, link-state-active-text);
|
67
|
+
}
|
68
|
+
|
69
|
+
&:focus {
|
70
|
+
outline:
|
71
|
+
map.get($markdown, link-state-focused-outline)
|
72
|
+
solid
|
73
|
+
map.get($tokens, markdown-link-size-state-focused-outline-width);
|
74
|
+
|
75
|
+
outline-offset: map.get($tokens, markdown-link-size-state-focused-outline-offset);
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
.mc-markdown__img + em {
|
80
|
+
color: map.get($markdown, image-caption-text);
|
81
|
+
}
|
82
|
+
|
83
|
+
.mc-markdown__hr {
|
84
|
+
border-bottom-color: map.get($markdown, hr-color);
|
85
|
+
}
|
86
|
+
|
87
|
+
.mc-markdown__table > .mc-markdown__thead {
|
88
|
+
color: map.get($markdown, table-header);
|
89
|
+
border-bottom-color: map.get($markdown, table-border);
|
90
|
+
}
|
91
|
+
|
92
|
+
.mc-markdown__table > .mc-markdown__tbody {
|
93
|
+
color: map.get($markdown, table-body);
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
@mixin nvl-mc-markdown-typography($config) {
|
99
|
+
$tokens: map.get($config, tokens);
|
100
|
+
|
101
|
+
.mc-markdown {
|
102
|
+
// h1, h2, h3, h4, h5, h6
|
103
|
+
@for $i from 1 through 6 {
|
104
|
+
.mc-markdown__h#{$i} {
|
105
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, markdown-h#{$i}-font-default));
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
.mc-markdown__p {
|
110
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, markdown-p-font-default));
|
111
|
+
}
|
112
|
+
|
113
|
+
.mc-markdown__ul,
|
114
|
+
.mc-markdown__ol {
|
115
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, markdown-list-font-default));
|
116
|
+
}
|
117
|
+
|
118
|
+
.mc-markdown__blockquote > .mc-markdown__p {
|
119
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, markdown-blockquote-font-default));
|
120
|
+
}
|
121
|
+
|
122
|
+
.mc-markdown__code {
|
123
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, markdown-code-font-default));
|
124
|
+
}
|
125
|
+
|
126
|
+
.mc-markdown__a {
|
127
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, markdown-link-font-default));
|
128
|
+
}
|
129
|
+
|
130
|
+
.mc-markdown__img + em {
|
131
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, markdown-image-font-caption));
|
132
|
+
}
|
133
|
+
|
134
|
+
.mc-markdown__table > .mc-markdown__thead {
|
135
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, markdown-table-font-header));
|
136
|
+
}
|
137
|
+
|
138
|
+
.mc-markdown__table > .mc-markdown__tbody {
|
139
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, markdown-table-font-body));
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
package/markdown/markdown.scss
CHANGED
@@ -80,13 +80,19 @@ $tokens: meta.module-variables(tokens) !default;
|
|
80
80
|
padding: 0;
|
81
81
|
counter-reset: li;
|
82
82
|
|
83
|
-
> li
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
83
|
+
> li {
|
84
|
+
&:before {
|
85
|
+
content:counter(li) ".";
|
86
|
+
counter-increment: li;
|
87
|
+
padding-right: var(
|
88
|
+
--mc-markdown-list-size-ol-number-padding-right,
|
89
|
+
map.get($tokens, markdown-list-size-ol-number-padding-right)
|
90
|
+
);
|
91
|
+
}
|
92
|
+
|
93
|
+
> * {
|
94
|
+
display: inline-block;
|
95
|
+
}
|
90
96
|
}
|
91
97
|
}
|
92
98
|
|
@@ -0,0 +1,90 @@
|
|
1
|
+
@use 'sass:meta';
|
2
|
+
@use 'sass:map';
|
3
|
+
|
4
|
+
@use '../core/styles/typography/typography-utils' as *;
|
5
|
+
|
6
|
+
|
7
|
+
@mixin nvl-mc-modal-theme($theme) {
|
8
|
+
$tokens: map.get($theme, tokens);
|
9
|
+
|
10
|
+
$foreground: map.get($theme, foreground);
|
11
|
+
$background: map.get($theme, background);
|
12
|
+
|
13
|
+
$modal: map.get(map.get($theme, components), modal);
|
14
|
+
$popup: map.get(map.get($theme, components), popup);
|
15
|
+
|
16
|
+
.mc-modal {
|
17
|
+
.mc-modal-content {
|
18
|
+
// У модалки должен быть фон background. Чтобы поповеры и дропдауны было видно поверх модалки
|
19
|
+
background-color: map.get($background, background);
|
20
|
+
|
21
|
+
box-shadow: map.get($modal, shadow);
|
22
|
+
}
|
23
|
+
|
24
|
+
.mc-modal-title {
|
25
|
+
color: map.get($foreground, text);
|
26
|
+
}
|
27
|
+
|
28
|
+
.mc-modal-header {
|
29
|
+
border-bottom-width: var(--mc-modal-size-border-width, map.get($tokens, modal-size-border-width));
|
30
|
+
border-bottom-style: solid;
|
31
|
+
border-bottom-color: map.get($modal, header-border);
|
32
|
+
}
|
33
|
+
|
34
|
+
.mc-modal-header.mc-modal-body_top-overflow {
|
35
|
+
box-shadow: map.get($modal, body-top-shadow);
|
36
|
+
}
|
37
|
+
|
38
|
+
.mc-modal-footer.mc-modal-body_bottom-overflow {
|
39
|
+
box-shadow: map.get($modal, body-bottom-shadow);
|
40
|
+
}
|
41
|
+
|
42
|
+
.mc-modal-footer {
|
43
|
+
border-top-width: var(--mc-modal-size-border-width, map.get($tokens, modal-size-border-width));
|
44
|
+
border-top-style: solid;
|
45
|
+
border-top-color: map.get($modal, footer-border);
|
46
|
+
|
47
|
+
background-color: map.get($popup, footer-background);
|
48
|
+
}
|
49
|
+
|
50
|
+
.mc-modal-close {
|
51
|
+
border: var(--mc-modal-size-border-width, map.get($tokens, modal-size-border-width)) solid transparent;
|
52
|
+
|
53
|
+
&:hover {
|
54
|
+
.mc-button-overlay {
|
55
|
+
background: map.get($background, overlay-hover);
|
56
|
+
}
|
57
|
+
|
58
|
+
.mc-icon {
|
59
|
+
color: inherit;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
.mc-modal-mask {
|
66
|
+
background-color: map.get($modal, background-mask);
|
67
|
+
}
|
68
|
+
|
69
|
+
.mc-confirm {
|
70
|
+
.mc-confirm-btns {
|
71
|
+
border-top-width: var(--mc-modal-size-border-width, map.get($tokens, modal-size-border-width));
|
72
|
+
border-top-style: solid;
|
73
|
+
border-top-color: map.get($modal, footer-border);
|
74
|
+
|
75
|
+
background-color: map.get($popup, footer-background);
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
@mixin nvl-mc-modal-typography($config) {
|
81
|
+
$tokens: map.get($config, tokens);
|
82
|
+
|
83
|
+
.mc-modal-title {
|
84
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, modal-header-font-default));
|
85
|
+
}
|
86
|
+
|
87
|
+
.mc-modal-body {
|
88
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, modal-body-font-default));
|
89
|
+
}
|
90
|
+
}
|
@@ -0,0 +1,123 @@
|
|
1
|
+
@use 'sass:meta';
|
2
|
+
@use 'sass:map';
|
3
|
+
|
4
|
+
@use '../core/styles/typography/typography-utils' as *;
|
5
|
+
|
6
|
+
|
7
|
+
@mixin nvl-mc-navbar-theme($theme) {
|
8
|
+
$background: map.get($theme, background);
|
9
|
+
$primary: map.get($theme, theme);
|
10
|
+
|
11
|
+
$navbar: map.get(map.get($theme, components), navbar);
|
12
|
+
$navbar-item: map.get(map.get($theme, components), navbar-item);
|
13
|
+
|
14
|
+
.mc-navbar,
|
15
|
+
.mc-vertical-navbar .mc-vertical-navbar__container {
|
16
|
+
background-color: map.get($navbar, background);
|
17
|
+
}
|
18
|
+
|
19
|
+
.mc-navbar-brand.mc-hovered:not(.mc-collapsed) {
|
20
|
+
background-color: map.get($navbar-item, state-hover);
|
21
|
+
}
|
22
|
+
|
23
|
+
.mc-navbar-brand.mc-vertical.mc-collapsed {
|
24
|
+
& .mc-navbar-logo:hover {
|
25
|
+
background-color: map.get($navbar-item, state-hover);
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
.mc-navbar-title {
|
30
|
+
color: map.get($navbar-item, color);
|
31
|
+
}
|
32
|
+
|
33
|
+
.mc-navbar-item,
|
34
|
+
.mc-navbar-brand,
|
35
|
+
.mc-navbar-toggle {
|
36
|
+
color: map.get($navbar-item, color);
|
37
|
+
|
38
|
+
& > .mc-icon {
|
39
|
+
color: map.get($navbar-item, icon-color);
|
40
|
+
}
|
41
|
+
|
42
|
+
& .mc-navbar-item__arrow-icon {
|
43
|
+
color: map.get($navbar-item, color);
|
44
|
+
}
|
45
|
+
|
46
|
+
&.mc-active {
|
47
|
+
background: map.get($navbar-item, state-selected);
|
48
|
+
}
|
49
|
+
|
50
|
+
&:hover:not(.mc-navbar-item_button) {
|
51
|
+
cursor: pointer;
|
52
|
+
|
53
|
+
& .mc-navbar-item__overlay {
|
54
|
+
background-color: map.get($navbar-item, state-hover);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
&:active:not(.mc-navbar-item_button) {
|
59
|
+
& .mc-navbar-item__overlay {
|
60
|
+
background: map.get($navbar-item, state-active);
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
&[disabled] {
|
65
|
+
pointer-events: none;
|
66
|
+
cursor: default;
|
67
|
+
|
68
|
+
.mc-navbar-item__title,
|
69
|
+
.mc-icon {
|
70
|
+
opacity: map.get($navbar-item, state-disabled-opacity);
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
.mc-navbar-focusable-item {
|
76
|
+
outline: none;
|
77
|
+
|
78
|
+
/* stylelint-disable no-descending-specificity */
|
79
|
+
&.cdk-keyboard-focused .mc-navbar-item__overlay {
|
80
|
+
box-shadow:
|
81
|
+
inset 0 0 0 2px map.get(map.get($theme, states), focused-color),
|
82
|
+
inset 0 0 0 3px map.get($background, background);
|
83
|
+
}
|
84
|
+
/* stylelint-enable no-descending-specificity */
|
85
|
+
}
|
86
|
+
|
87
|
+
.mc-navbar-divider {
|
88
|
+
background-color: map.get($navbar, divider-background);
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
button {
|
93
|
+
&.mc-navbar-item,
|
94
|
+
&.mc-navbar-brand,
|
95
|
+
&.mc-navbar-toggle {
|
96
|
+
background: transparent;
|
97
|
+
border: none;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
@mixin nvl-mc-navbar-typography($config) {
|
102
|
+
$tokens: map.get($config, tokens);
|
103
|
+
|
104
|
+
.mc-navbar-title {
|
105
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, navbar-font-title));
|
106
|
+
}
|
107
|
+
|
108
|
+
.mc-navbar-subtitle {
|
109
|
+
@include mc-typography-level-to-styles($config, extra-small-text);
|
110
|
+
}
|
111
|
+
|
112
|
+
.mc-navbar-brand {
|
113
|
+
.mc-navbar-title {
|
114
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, navbar-brand-font-title));
|
115
|
+
|
116
|
+
&.mc-navbar-title_small {
|
117
|
+
@include mc-typography-level-to-styles($config, subheading);
|
118
|
+
|
119
|
+
white-space: unset;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|