@ptsecurity/mosaic 15.4.1 → 15.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_theming.scss +16 -12
- package/_visual.scss +4 -4
- package/button/_button-theme.scss +2 -5
- package/button-toggle/_button-toggle-theme.scss +2 -5
- package/checkbox/_checkbox-theme.scss +2 -5
- package/code-block/_code-block-theme.scss +2 -6
- package/core/forms/_forms-theme.scss +2 -4
- package/core/option/_optgroup-theme.scss +2 -4
- package/core/option/_option-theme.scss +2 -5
- package/core/styles/theming/_alerts.scss +45 -43
- package/core/styles/theming/_badges.scss +29 -25
- package/core/styles/theming/_components-theming.scss +1 -1
- package/core/styles/theming/_scrollbars.scss +30 -31
- package/core/styles/theming/_theming.scss +6 -2
- package/core/styles/typography/_typography.scss +3 -3
- package/datepicker/_datepicker-theme.scss +2 -5
- package/dl/_dl-theme.scss +2 -5
- package/dropdown/_dropdown-theme.scss +2 -5
- package/esm2020/autocomplete/autocomplete-origin.directive.mjs +3 -3
- package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +3 -3
- package/esm2020/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2020/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2020/button/button.component.mjs +6 -6
- package/esm2020/button/button.module.mjs +4 -4
- package/esm2020/button-toggle/button-toggle.component.mjs +6 -6
- package/esm2020/button-toggle/button-toggle.module.mjs +4 -4
- 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 +3 -3
- package/esm2020/code-block/actionbar.component.mjs +3 -3
- package/esm2020/code-block/code-block.component.mjs +3 -3
- package/esm2020/code-block/code-block.module.mjs +4 -4
- package/esm2020/core/common-behaviors/common-module.mjs +4 -4
- 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 +4 -4
- package/esm2020/core/option/option-module.mjs +4 -4
- package/esm2020/core/option/option.mjs +5 -5
- package/esm2020/core/overlay/overlay-position-map.mjs +2 -1
- 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 +3 -3
- 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/data-size.pipe.mjs +7 -7
- 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 +6 -6
- package/esm2020/datepicker/datepicker.component.mjs +6 -6
- package/esm2020/datepicker/month-view.component.mjs +3 -3
- package/esm2020/divider/divider.component.mjs +3 -3
- 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 +3 -3
- package/esm2020/dropdown/dropdown-trigger.directive.mjs +3 -3
- package/esm2020/dropdown/dropdown.component.mjs +3 -3
- package/esm2020/dropdown/dropdown.module.mjs +4 -4
- package/esm2020/ellipsis-center/ellipsis-center.directive.mjs +7 -7
- package/esm2020/file-upload/file-drop.mjs +3 -3
- package/esm2020/file-upload/file-upload.module.mjs +4 -4
- package/esm2020/file-upload/multiple-file-upload.component.mjs +3 -3
- package/esm2020/file-upload/single-file-upload.component.mjs +3 -3
- package/esm2020/form-field/cleaner.mjs +3 -3
- package/esm2020/form-field/form-field.mjs +13 -16
- package/esm2020/form-field/form-field.module.mjs +4 -4
- package/esm2020/form-field/hint.mjs +3 -3
- package/esm2020/form-field/password-hint.mjs +14 -6
- 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 +6 -6
- package/esm2020/icon/icon.module.mjs +4 -4
- package/esm2020/input/input-number-validators.mjs +6 -6
- package/esm2020/input/input-number.mjs +3 -3
- package/esm2020/input/input-password.mjs +11 -7
- package/esm2020/input/input.mjs +6 -6
- package/esm2020/input/input.module.mjs +4 -4
- package/esm2020/link/link.component.mjs +3 -3
- package/esm2020/link/link.module.mjs +4 -4
- package/esm2020/list/list-selection.component.mjs +8 -8
- 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 +3 -3
- 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 +5 -5
- package/esm2020/modal/modal.directive.mjs +12 -12
- package/esm2020/modal/modal.module.mjs +10 -8
- package/esm2020/modal/modal.service.mjs +3 -3
- package/esm2020/navbar/navbar-item.component.mjs +43 -42
- 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 +6 -6
- package/esm2020/popover/popover.component.mjs +6 -6
- 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 +3 -3
- package/esm2020/progress-spinner/progress-spinner.module.mjs +4 -4
- package/esm2020/radio/radio.component.mjs +9 -8
- package/esm2020/radio/radio.module.mjs +4 -4
- package/esm2020/select/select-option.directive.mjs +3 -3
- package/esm2020/select/select.component.mjs +21 -21
- 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 +3 -3
- package/esm2020/sidepanel/sidepanel-directives.mjs +15 -15
- package/esm2020/sidepanel/sidepanel.module.mjs +13 -7
- 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 +14 -5
- package/esm2020/tabs/tab-body.component.mjs +6 -6
- 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 +3 -3
- 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 +6 -6
- package/esm2020/tabs/tab.component.mjs +3 -3
- package/esm2020/tabs/tabs.module.mjs +4 -4
- package/esm2020/tags/tag-default-options.mjs +1 -1
- package/esm2020/tags/tag-input.mjs +13 -11
- package/esm2020/tags/tag-list.component.mjs +12 -8
- 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 +5 -5
- 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 +3 -3
- package/esm2020/toast/toast.module.mjs +4 -4
- package/esm2020/toast/toast.service.mjs +3 -3
- package/esm2020/toggle/toggle.component.mjs +3 -3
- package/esm2020/toggle/toggle.module.mjs +4 -4
- package/esm2020/tooltip/tooltip.component.mjs +12 -12
- 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 +5 -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 +11 -11
- package/esm2020/tree-select/tree-select.module.mjs +4 -4
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +13 -13
- package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +10 -10
- package/fesm2015/ptsecurity-mosaic-button.mjs +10 -10
- package/fesm2015/ptsecurity-mosaic-card.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs +10 -10
- package/fesm2015/ptsecurity-mosaic-code-block.mjs +10 -10
- package/fesm2015/ptsecurity-mosaic-core.mjs +132 -131
- package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs +34 -34
- package/fesm2015/ptsecurity-mosaic-divider.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-dl.mjs +13 -13
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs +16 -16
- package/fesm2015/ptsecurity-mosaic-ellipsis-center.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-file-upload.mjs +13 -13
- package/fesm2015/ptsecurity-mosaic-form-field.mjs +46 -42
- package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-icon.mjs +10 -10
- package/fesm2015/ptsecurity-mosaic-input.mjs +29 -25
- package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-link.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-list.mjs +19 -19
- package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs +16 -16
- package/fesm2015/ptsecurity-mosaic-markdown.mjs +10 -10
- package/fesm2015/ptsecurity-mosaic-modal.mjs +34 -32
- package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-navbar.mjs +58 -57
- package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-popover.mjs +16 -16
- package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-radio.mjs +12 -11
- package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-select.mjs +27 -27
- package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +33 -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 +62 -53
- package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tags.mjs +42 -36
- 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 +26 -26
- package/fesm2015/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-title.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-toast.mjs +13 -13
- package/fesm2015/ptsecurity-mosaic-toggle.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs +16 -16
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs +15 -15
- package/fesm2015/ptsecurity-mosaic-tree.mjs +38 -37
- package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +13 -13
- package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +10 -10
- package/fesm2020/ptsecurity-mosaic-button.mjs +10 -10
- package/fesm2020/ptsecurity-mosaic-card.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-checkbox.mjs +10 -10
- package/fesm2020/ptsecurity-mosaic-code-block.mjs +10 -10
- package/fesm2020/ptsecurity-mosaic-core.mjs +132 -131
- package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs +35 -34
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-divider.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-dl.mjs +13 -13
- package/fesm2020/ptsecurity-mosaic-dropdown.mjs +16 -16
- package/fesm2020/ptsecurity-mosaic-ellipsis-center.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-file-upload.mjs +13 -13
- package/fesm2020/ptsecurity-mosaic-form-field.mjs +46 -41
- package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-icon.mjs +10 -10
- package/fesm2020/ptsecurity-mosaic-input.mjs +29 -25
- package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-link.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-list.mjs +19 -19
- package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs +16 -16
- package/fesm2020/ptsecurity-mosaic-markdown.mjs +10 -10
- package/fesm2020/ptsecurity-mosaic-modal.mjs +34 -32
- package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-navbar.mjs +58 -57
- package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-popover.mjs +16 -16
- package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-radio.mjs +12 -11
- package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-select.mjs +27 -27
- package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +33 -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 +62 -53
- package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tags.mjs +42 -36
- 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 +26 -26
- package/fesm2020/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-title.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-toast.mjs +13 -13
- package/fesm2020/ptsecurity-mosaic-toggle.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs +16 -16
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs +15 -15
- package/fesm2020/ptsecurity-mosaic-tree.mjs +38 -37
- package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +2 -4
- package/form-field/_form-field-theme.scss +3 -5
- package/form-field/form-field.d.ts +0 -1
- package/form-field/form-field.scss +5 -3
- package/form-field/password-hint.d.ts +6 -3
- package/input/_input-theme.scss +7 -6
- package/input/input-password.d.ts +1 -0
- package/link/_link-theme.scss +7 -8
- package/list/_list-theme.scss +2 -5
- package/loader-overlay/_loader-overlay-theme.scss +2 -5
- package/markdown/_markdown-theme.scss +3 -6
- package/modal/_modal-theme.scss +3 -5
- package/navbar/_navbar-theme.scss +2 -6
- package/navbar/navbar-item.component.d.ts +3 -2
- package/package.json +14 -14
- package/popover/_popover-theme.scss +2 -6
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/default-theme.css +1 -1
- package/prebuilt-visual/default-visual.css +1 -1
- package/radio/_radio-theme.scss +2 -6
- package/select/_select-theme.scss +2 -5
- package/select/select.scss +2 -0
- package/sidepanel/_sidepanel-theme.scss +2 -5
- package/table/_table-theme.scss +2 -5
- package/tabs/_tabs-theme.scss +2 -5
- package/tabs/paginated-tab-header.d.ts +1 -0
- package/tags/_tag-theme.scss +2 -5
- package/tags/tag-default-options.d.ts +4 -0
- package/tags/tag-list.component.d.ts +1 -0
- package/tags/tag-list.scss +6 -2
- package/tags/tag.component.d.ts +1 -1
- package/textarea/_textarea-theme.scss +2 -5
- package/timezone/_timezone-option-theme.scss +2 -5
- package/toast/_toast-theme.scss +2 -5
- package/toggle/_toggle-theme.scss +2 -5
- package/tooltip/_tooltip-theme.scss +2 -5
- package/tree/_tree-theme.scss +2 -4
- package/tree-select/_tree-select-theme.scss +2 -5
@@ -3,10 +3,6 @@
|
|
3
3
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
5
5
|
|
6
|
-
@use '../core/styles/tokens';
|
7
|
-
|
8
|
-
$tokens: meta.module-variables(tokens) !default;
|
9
|
-
|
10
6
|
@mixin mc-file-upload-text-color($states) {
|
11
7
|
&, .mc-icon, .mc-link {
|
12
8
|
color: map.get($states, border);
|
@@ -127,6 +123,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
127
123
|
|
128
124
|
|
129
125
|
@mixin mc-file-upload-typography($config) {
|
126
|
+
$tokens: map.get($config, tokens);
|
127
|
+
|
130
128
|
.mc-single-file-upload {
|
131
129
|
@include mc-typography-level-to-styles($config, map.get($tokens, file-upload-font-single));
|
132
130
|
}
|
@@ -4,10 +4,6 @@
|
|
4
4
|
@use '../core/styles/theming/theming' as *;
|
5
5
|
@use '../core/styles/typography/typography-utils' as *;
|
6
6
|
|
7
|
-
@use '../core/styles/tokens';
|
8
|
-
|
9
|
-
|
10
|
-
$tokens: meta.module-variables(tokens) !default;
|
11
7
|
|
12
8
|
@mixin mc-form-field-theme($theme) {
|
13
9
|
$foreground: map.get($theme, foreground);
|
@@ -130,11 +126,13 @@ $tokens: meta.module-variables(tokens) !default;
|
|
130
126
|
}
|
131
127
|
|
132
128
|
@mixin mc-form-field-typography($config) {
|
129
|
+
$tokens: map.get($config, tokens);
|
130
|
+
|
133
131
|
.mc-form-field {
|
134
132
|
@include mc-typography-level-to-styles($config, map.get($tokens, form-field-font-default));
|
135
133
|
}
|
136
134
|
|
137
|
-
.mc-form-field__hint {
|
135
|
+
.mc-form-field__hint, .mc-password-hint {
|
138
136
|
@include mc-typography-level-to-styles($config, map.get($tokens, form-field-hint-font-default));
|
139
137
|
}
|
140
138
|
|
@@ -40,7 +40,6 @@ export declare class McFormField extends McFormFieldMixinBase implements AfterCo
|
|
40
40
|
canCleanerClearByEsc: boolean;
|
41
41
|
private $unsubscribe;
|
42
42
|
get hasHint(): boolean;
|
43
|
-
get hasPasswordStrengthError(): boolean;
|
44
43
|
get hasSuffix(): boolean;
|
45
44
|
get hasPrefix(): boolean;
|
46
45
|
get hasCleaner(): boolean;
|
@@ -36,7 +36,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
36
36
|
.mc-hint {
|
37
37
|
display: block;
|
38
38
|
}
|
39
|
-
|
39
|
+
/* test */
|
40
40
|
.mc-password-hint {
|
41
41
|
display: block;
|
42
42
|
|
@@ -50,12 +50,14 @@ $tokens: meta.module-variables(tokens) !default;
|
|
50
50
|
|
51
51
|
left: 0;
|
52
52
|
}
|
53
|
-
}
|
54
53
|
|
55
|
-
.mc-form-field__hint > .mc-password-hint {
|
56
54
|
margin-top: var(
|
57
55
|
--mc-form-field-password-hint-size-margin-top, map.get($tokens, form-field-password-hint-size-margin-top)
|
58
56
|
);
|
57
|
+
|
58
|
+
&:first-child {
|
59
|
+
margin-top: map.get($tokens, size-m);
|
60
|
+
}
|
59
61
|
}
|
60
62
|
|
61
63
|
.mc-form-field__hint > .mc-hint {
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { AfterContentInit, ChangeDetectorRef } from '@angular/core';
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, QueryList } from '@angular/core';
|
2
|
+
import { McFormField } from './form-field';
|
2
3
|
import * as i0 from "@angular/core";
|
3
4
|
export declare enum PasswordRules {
|
4
5
|
Length = 0,
|
@@ -14,6 +15,7 @@ export declare const regExpPasswordValidator: {
|
|
14
15
|
3: RegExp;
|
15
16
|
4: RegExp;
|
16
17
|
};
|
18
|
+
export declare const hasPasswordStrengthError: (passwordHints: QueryList<McPasswordHint>) => boolean;
|
17
19
|
export declare class McPasswordHint implements AfterContentInit {
|
18
20
|
private changeDetectorRef;
|
19
21
|
private formField;
|
@@ -22,6 +24,7 @@ export declare class McPasswordHint implements AfterContentInit {
|
|
22
24
|
min: number;
|
23
25
|
max: number;
|
24
26
|
regex: RegExp | null;
|
27
|
+
viewFormField?: McFormField;
|
25
28
|
hasError: boolean;
|
26
29
|
checked: boolean;
|
27
30
|
private checkRule;
|
@@ -34,6 +37,6 @@ export declare class McPasswordHint implements AfterContentInit {
|
|
34
37
|
private checkRegexRule;
|
35
38
|
private checkSpecialSymbolsRegexRule;
|
36
39
|
private isValueChanged;
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<McPasswordHint,
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McPasswordHint, "mc-password-hint", never, { "id": "id"; "rule": "rule"; "min": "min"; "max": "max"; "regex": "regex"; }, {}, never, ["*"], false, never>;
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McPasswordHint, [null, { optional: true; }]>;
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McPasswordHint, "mc-password-hint", never, { "id": "id"; "rule": "rule"; "min": "min"; "max": "max"; "regex": "regex"; "viewFormField": "viewFormField"; }, {}, never, ["*"], false, never>;
|
39
42
|
}
|
package/input/_input-theme.scss
CHANGED
@@ -3,11 +3,6 @@
|
|
3
3
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
5
5
|
|
6
|
-
@use '../core/styles/tokens';
|
7
|
-
|
8
|
-
|
9
|
-
$tokens: meta.module-variables(tokens) !default;
|
10
|
-
|
11
6
|
@mixin mc-input-theme($theme) {
|
12
7
|
$foreground: map.get($theme, foreground);
|
13
8
|
|
@@ -48,12 +43,18 @@ $tokens: meta.module-variables(tokens) !default;
|
|
48
43
|
}
|
49
44
|
|
50
45
|
@mixin mc-input-typography($config) {
|
46
|
+
$tokens: map.get($config, tokens);
|
47
|
+
|
51
48
|
.mc-input {
|
52
49
|
@include mc-typography-level-to-styles($config, map.get($tokens, input-font-default));
|
53
50
|
}
|
54
51
|
|
55
52
|
.mc-input.mc-input_monospace,
|
56
|
-
.mc-input.mc-input-password
|
53
|
+
.mc-input.mc-input-password {
|
57
54
|
@include mc-typography-level-to-styles($config, map.get($tokens, input-font-monospace));
|
58
55
|
}
|
56
|
+
|
57
|
+
.mc-input.mc-input-password::placeholder {
|
58
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, input-font-default));
|
59
|
+
}
|
59
60
|
}
|
@@ -22,6 +22,7 @@ export declare class McPasswordToggle extends McTooltipTrigger implements OnDest
|
|
22
22
|
set tabIndex(value: number);
|
23
23
|
private _tabIndex;
|
24
24
|
get hidden(): boolean;
|
25
|
+
get visibility(): string;
|
25
26
|
constructor(overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, direction: Directionality, focusMonitor: FocusMonitor, formField: McFormField);
|
26
27
|
ngOnDestroy(): void;
|
27
28
|
toggle(): void;
|
package/link/_link-theme.scss
CHANGED
@@ -3,12 +3,7 @@
|
|
3
3
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
5
5
|
|
6
|
-
@
|
7
|
-
|
8
|
-
|
9
|
-
$tokens: meta.module-variables(tokens) !default;
|
10
|
-
|
11
|
-
@mixin mc-link($foreground, $link) {
|
6
|
+
@mixin mc-link($foreground, $link, $tokens) {
|
12
7
|
display: inline-block;
|
13
8
|
|
14
9
|
color: map.get($link, text);
|
@@ -133,12 +128,14 @@ $tokens: meta.module-variables(tokens) !default;
|
|
133
128
|
|
134
129
|
$link: map.get(map.get($theme, components), link);
|
135
130
|
|
131
|
+
$tokens: map.get($theme, tokens);
|
132
|
+
|
136
133
|
.mc-link:not(.mc-link_use-visited) {
|
137
134
|
&:visited {
|
138
135
|
color: map.get($link, text);
|
139
136
|
}
|
140
137
|
|
141
|
-
@include mc-link($foreground, $link);
|
138
|
+
@include mc-link($foreground, $link, $tokens);
|
142
139
|
}
|
143
140
|
|
144
141
|
.mc-link.mc-link_use-visited {
|
@@ -155,7 +152,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
155
152
|
}
|
156
153
|
}
|
157
154
|
|
158
|
-
@include mc-link($foreground, $link);
|
155
|
+
@include mc-link($foreground, $link, $tokens);
|
159
156
|
}
|
160
157
|
|
161
158
|
@media print {
|
@@ -178,6 +175,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
178
175
|
}
|
179
176
|
|
180
177
|
@mixin mc-link-typography($config) {
|
178
|
+
$tokens: map.get($config, tokens);
|
179
|
+
|
181
180
|
.mc-link {
|
182
181
|
@include mc-typography-level-to-styles($config, map.get($tokens, link-font-default));
|
183
182
|
}
|
package/list/_list-theme.scss
CHANGED
@@ -3,11 +3,6 @@
|
|
3
3
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
5
5
|
|
6
|
-
@use '../core/styles/tokens';
|
7
|
-
|
8
|
-
|
9
|
-
$tokens: meta.module-variables(tokens) !default;
|
10
|
-
|
11
6
|
@mixin mc-list-theme($theme) {
|
12
7
|
$foreground: map.get($theme, foreground);
|
13
8
|
$background: map.get($theme, background);
|
@@ -42,6 +37,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
42
37
|
}
|
43
38
|
|
44
39
|
@mixin mc-list-typography($config) {
|
40
|
+
$tokens: map.get($config, tokens);
|
41
|
+
|
45
42
|
.mc-list-item,
|
46
43
|
.mc-list-option {
|
47
44
|
@include mc-typography-level-to-styles($config, map.get($tokens, list-font-item));
|
@@ -3,11 +3,6 @@
|
|
3
3
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
5
5
|
|
6
|
-
@use '../core/styles/tokens';
|
7
|
-
|
8
|
-
|
9
|
-
$tokens: meta.module-variables(tokens) !default;
|
10
|
-
|
11
6
|
@mixin mc-loader-overlay-theme($theme) {
|
12
7
|
$loader-overlay: map.get(map.get($theme, components), loader-overlay);
|
13
8
|
|
@@ -25,6 +20,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
25
20
|
}
|
26
21
|
|
27
22
|
@mixin mc-loader-overlay-typography($config) {
|
23
|
+
$tokens: map.get($config, tokens);
|
24
|
+
|
28
25
|
.mc-loader-overlay-text {
|
29
26
|
@include mc-typography-level-to-styles($config, map.get($tokens, loader-overlay-font-text));
|
30
27
|
}
|
@@ -1,19 +1,14 @@
|
|
1
|
-
@use 'sass:meta';
|
2
1
|
@use 'sass:map';
|
3
2
|
|
4
3
|
@use '../core/styles/theming/theming' as *;
|
5
4
|
@use '../core/styles/typography/typography-utils' as *;
|
6
5
|
|
7
|
-
@use '../core/styles/tokens';
|
8
|
-
|
9
|
-
|
10
|
-
$tokens: meta.module-variables(tokens) !default;
|
11
|
-
|
12
6
|
@mixin mc-markdown-theme($theme) {
|
13
7
|
$foreground: map.get($theme, foreground);
|
14
8
|
$background: map.get($theme, background);
|
15
9
|
|
16
10
|
$markdown: map.get(map.get($theme, components), markdown);
|
11
|
+
$tokens: map.get($theme, tokens);
|
17
12
|
|
18
13
|
.mc-markdown {
|
19
14
|
color: map.get($foreground, text);
|
@@ -98,6 +93,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
98
93
|
}
|
99
94
|
|
100
95
|
@mixin mc-markdown-typography($config) {
|
96
|
+
$tokens: map.get($config, tokens);
|
97
|
+
|
101
98
|
.mc-markdown {
|
102
99
|
// h1, h2, h3, h4, h5, h6
|
103
100
|
@for $i from 1 through 6 {
|
package/modal/_modal-theme.scss
CHANGED
@@ -3,17 +3,13 @@
|
|
3
3
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
5
5
|
|
6
|
-
@use '../core/styles/tokens';
|
7
|
-
|
8
|
-
|
9
|
-
$tokens: meta.module-variables(tokens) !default;
|
10
|
-
|
11
6
|
@mixin mc-modal-theme($theme) {
|
12
7
|
$foreground: map.get($theme, foreground);
|
13
8
|
$background: map.get($theme, background);
|
14
9
|
|
15
10
|
$modal: map.get(map.get($theme, components), modal);
|
16
11
|
$popup: map.get(map.get($theme, components), popup);
|
12
|
+
$tokens: map.get($theme, tokens);
|
17
13
|
|
18
14
|
.mc-modal {
|
19
15
|
.mc-modal-content {
|
@@ -80,6 +76,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
80
76
|
}
|
81
77
|
|
82
78
|
@mixin mc-modal-typography($config) {
|
79
|
+
$tokens: map.get($config, tokens);
|
80
|
+
|
83
81
|
.mc-modal-title {
|
84
82
|
@include mc-typography-level-to-styles($config, map.get($tokens, modal-header-font-default));
|
85
83
|
}
|
@@ -1,13 +1,7 @@
|
|
1
|
-
@use 'sass:meta';
|
2
1
|
@use 'sass:map';
|
3
2
|
|
4
3
|
@use '../core/styles/typography/typography-utils' as *;
|
5
4
|
|
6
|
-
@use '../core/styles/tokens';
|
7
|
-
|
8
|
-
|
9
|
-
$tokens: meta.module-variables(tokens) !default;
|
10
|
-
|
11
5
|
@mixin mc-navbar-theme($theme) {
|
12
6
|
$background: map.get($theme, background);
|
13
7
|
$primary: map.get($theme, primary);
|
@@ -103,6 +97,8 @@ button {
|
|
103
97
|
}
|
104
98
|
|
105
99
|
@mixin mc-navbar-typography($config) {
|
100
|
+
$tokens: map.get($config, tokens);
|
101
|
+
|
106
102
|
.mc-navbar-title {
|
107
103
|
@include mc-typography-level-to-styles($config, map.get($tokens, navbar-font-title));
|
108
104
|
}
|
@@ -124,9 +124,9 @@ export declare class McNavbarItem extends McTooltipTrigger {
|
|
124
124
|
collapsedText: string;
|
125
125
|
get trigger(): string;
|
126
126
|
set trigger(value: string);
|
127
|
-
get collapsed(): boolean;
|
128
127
|
set collapsed(value: boolean);
|
129
128
|
private _collapsed;
|
129
|
+
isCollapsed: boolean;
|
130
130
|
get croppedText(): string;
|
131
131
|
get collapsable(): boolean;
|
132
132
|
set collapsable(value: boolean);
|
@@ -144,8 +144,9 @@ export declare class McNavbarItem extends McTooltipTrigger {
|
|
144
144
|
updateTooltip(): void;
|
145
145
|
getTitleWidth(): number;
|
146
146
|
onKeyDown($event: KeyboardEvent): void;
|
147
|
+
private updateCollapsedState;
|
147
148
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarItem, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
148
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McNavbarItem, "mc-navbar-item, [mc-navbar-item]", ["mcNavbarItem"], { "collapsedText": "collapsedText"; "trigger": "mcTrigger"; "
|
149
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McNavbarItem, "mc-navbar-item, [mc-navbar-item]", ["mcNavbarItem"], { "collapsedText": "collapsedText"; "trigger": "mcTrigger"; "collapsable": "collapsable"; }, {}, ["title", "subTitle", "icon"], ["[mc-icon]", "mc-navbar-title, [mc-navbar-title]", "mc-navbar-subtitle, [mc-navbar-subtitle]", "*"], false, never>;
|
149
150
|
}
|
150
151
|
export declare class McNavbarToggle extends McTooltipTrigger implements OnDestroy {
|
151
152
|
navbar: McVerticalNavbar;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ptsecurity/mosaic",
|
3
|
-
"version": "15.
|
3
|
+
"version": "15.6.0",
|
4
4
|
"description": "Mosaic",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -17,19 +17,19 @@
|
|
17
17
|
},
|
18
18
|
"homepage": "https://gitlab.ptsecurity.com/frontend/design-system/mosaic/-/blob/master/README.md",
|
19
19
|
"peerDependencies": {
|
20
|
-
"@angular/animations": "
|
21
|
-
"@angular/cdk": "
|
22
|
-
"@angular/core": "
|
23
|
-
"@angular/common": "
|
24
|
-
"@angular/forms": "
|
25
|
-
"@ptsecurity/cdk": "^15.
|
26
|
-
"@ptsecurity/mosaic-moment-adapter": "
|
27
|
-
"@ptsecurity/mosaic-luxon-adapter": "
|
28
|
-
"@mosaic-design/date-formatter": "
|
29
|
-
"@ptsecurity/mosaic-icons": "
|
30
|
-
"@mosaic-design/tokens-builder": "
|
31
|
-
"@mosaic-design/tokens-fe-2022": "
|
32
|
-
"@mosaic-design/tokens-legacy-2017": "
|
20
|
+
"@angular/animations": "15.2.9",
|
21
|
+
"@angular/cdk": "15.2.9",
|
22
|
+
"@angular/core": "15.2.9",
|
23
|
+
"@angular/common": "15.2.9",
|
24
|
+
"@angular/forms": "15.2.9",
|
25
|
+
"@ptsecurity/cdk": "^15.6.0",
|
26
|
+
"@ptsecurity/mosaic-moment-adapter": "1.1.0",
|
27
|
+
"@ptsecurity/mosaic-luxon-adapter": "1.1.0",
|
28
|
+
"@mosaic-design/date-formatter": "1.1.0",
|
29
|
+
"@ptsecurity/mosaic-icons": "7.0.8",
|
30
|
+
"@mosaic-design/tokens-builder": "1.3.0",
|
31
|
+
"@mosaic-design/tokens-fe-2022": "1.7.0",
|
32
|
+
"@mosaic-design/tokens-legacy-2017": "1.7.0"
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
35
|
"tslib": "^2.4.0"
|
@@ -1,13 +1,7 @@
|
|
1
|
-
@use 'sass:meta';
|
2
1
|
@use 'sass:map';
|
3
2
|
|
4
3
|
@use '../core/styles/typography/typography-utils' as *;
|
5
4
|
|
6
|
-
@use '../core/styles/tokens';
|
7
|
-
|
8
|
-
|
9
|
-
$tokens: meta.module-variables(tokens) !default;
|
10
|
-
|
11
5
|
@mixin mc-popover-theme($theme) {
|
12
6
|
$foreground: map.get($theme, foreground);
|
13
7
|
|
@@ -99,6 +93,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
99
93
|
}
|
100
94
|
|
101
95
|
@mixin mc-popover-typography($config) {
|
96
|
+
$tokens: map.get($config, tokens);
|
97
|
+
|
102
98
|
.mc-popover__header {
|
103
99
|
@include mc-typography-level-to-styles($config, map.get($tokens, popover-header-font-default));
|
104
100
|
}
|