@ptsecurity/mosaic 14.7.1 → 15.0.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/_index.scss +3 -0
- package/_theming.scss +1559 -1685
- package/_visual.scss +84 -64
- package/autocomplete/_autocomplete-theme.scss +21 -0
- package/autocomplete/autocomplete-origin.directive.d.ts +1 -1
- package/autocomplete/autocomplete-trigger.directive.d.ts +1 -1
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/autocomplete/autocomplete.scss +63 -0
- package/button/_button-base.scss +63 -0
- package/button/_button-theme.scss +154 -0
- package/button/button.component.d.ts +2 -2
- package/button/button.scss +45 -0
- package/button-toggle/button-toggle.component.d.ts +2 -2
- package/button-toggle/button-toggle.scss +135 -0
- package/card/_card-theme.scss +61 -0
- package/card/card.component.d.ts +1 -1
- package/card/card.component.scss +40 -0
- package/checkbox/_checkbox-theme.scss +103 -0
- package/checkbox/checkbox-required-validator.d.ts +1 -1
- package/checkbox/checkbox.d.ts +1 -1
- package/checkbox/checkbox.scss +144 -0
- package/code-block/_code-block-theme.scss +329 -0
- package/code-block/actionbar.component.d.ts +1 -1
- package/code-block/actionbar.component.scss +27 -0
- package/code-block/code-block.component.d.ts +1 -1
- package/code-block/code-block.scss +128 -0
- package/core/_index.scss +1 -0
- package/core/common-behaviors/color.d.ts +2 -2
- package/core/datetime/date-adapter.d.ts +12 -0
- package/core/datetime/date-formats.d.ts +4 -0
- package/core/datetime/index.d.ts +2 -0
- package/core/formatters/date/formatter.d.ts +4 -265
- package/core/formatters/date/formatter.pipe.d.ts +3 -2
- package/core/forms/_forms-theme.scss +32 -0
- package/core/forms/_forms.scss +109 -0
- package/core/forms/forms.directive.d.ts +2 -2
- package/core/highlight/_highlight-theme.scss +10 -0
- package/core/line/line.d.ts +1 -1
- package/core/option/_optgroup-theme.scss +26 -0
- package/core/option/_option-action-theme.scss +41 -0
- package/core/option/_option-theme.scss +46 -0
- package/core/option/action.d.ts +1 -1
- package/core/option/action.scss +28 -0
- package/core/option/optgroup.d.ts +1 -1
- package/core/option/optgroup.scss +16 -0
- package/core/option/option.d.ts +1 -1
- package/core/option/option.scss +62 -0
- package/core/pop-up/_pop-up.scss +129 -0
- package/core/pop-up/pop-up-trigger.d.ts +1 -1
- package/core/pop-up/pop-up.d.ts +1 -1
- package/core/public-api.d.ts +11 -10
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +48 -0
- package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +1 -1
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +57 -0
- package/core/styles/_core.scss +11 -0
- package/core/styles/_mosaic-theme.scss +147 -0
- package/core/styles/_tokens.scss +6 -0
- package/core/styles/_variables.scss +9 -0
- package/core/styles/common/_animation.scss +35 -0
- package/core/styles/common/_button.scss +10 -0
- package/core/styles/common/_clearfix.scss +13 -0
- package/core/styles/common/_groups.scss +116 -0
- package/core/styles/common/_index.scss +13 -0
- package/core/styles/common/_input.scss +28 -0
- package/core/styles/common/_layout.scss +8 -0
- package/core/styles/common/_list.scss +46 -0
- package/core/styles/common/_overlay.scss +173 -0
- package/core/styles/common/_popup.scss +11 -0
- package/core/styles/common/_rtl.scss +33 -0
- package/core/styles/common/_size.scss +8 -0
- package/core/styles/common/_vendor-prefixes.scss +24 -0
- package/core/styles/common/_visually-hidden.scss +36 -0
- package/core/styles/functions/_index.scss +3 -0
- package/core/styles/functions/_number.scss +65 -0
- package/core/styles/functions/_string.scss +19 -0
- package/core/styles/functions/_timing.scss +30 -0
- package/core/styles/theming/_alerts.scss +166 -0
- package/core/styles/theming/_badges.scss +142 -0
- package/core/styles/theming/_components-theming.scss +721 -0
- package/core/styles/theming/_index.scss +2 -0
- package/core/styles/theming/_scrollbars.scss +133 -0
- package/core/styles/theming/_theming.scss +155 -0
- package/core/styles/typography/_index.scss +2 -0
- package/core/styles/typography/_typography-utils.scss +78 -0
- package/core/styles/typography/_typography.scss +180 -0
- package/core/styles/visual/_body.scss +35 -0
- package/core/styles/visual/_index.scss +3 -0
- package/core/styles/visual/_layout-media.scss +7 -0
- package/core/styles/visual/_layout.scss +527 -0
- package/datepicker/_datepicker-theme.scss +103 -0
- package/datepicker/calendar-body.component.d.ts +1 -1
- package/datepicker/calendar-body.scss +61 -0
- package/datepicker/calendar-header.component.d.ts +2 -2
- package/datepicker/calendar-header.scss +69 -0
- package/datepicker/calendar.component.d.ts +2 -2
- package/datepicker/calendar.scss +68 -0
- package/datepicker/datepicker-content.scss +32 -0
- package/datepicker/datepicker-input.directive.d.ts +2 -2
- package/datepicker/datepicker-input.scss +15 -0
- package/datepicker/datepicker-toggle.component.d.ts +2 -2
- package/datepicker/datepicker-toggle.scss +41 -0
- package/datepicker/datepicker.component.d.ts +3 -3
- package/datepicker/month-view.component.d.ts +2 -2
- package/divider/_divider-theme.scss +13 -0
- package/divider/divider.component.d.ts +1 -1
- package/divider/divider.scss +47 -0
- package/dl/_dl-theme.scss +44 -0
- package/dl/dl.component.d.ts +3 -3
- package/dl/dl.scss +66 -0
- package/dropdown/_dropdown-theme.scss +87 -0
- package/dropdown/dropdown-content.directive.d.ts +1 -1
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-item.scss +82 -0
- package/dropdown/dropdown-trigger.directive.d.ts +1 -1
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dropdown/dropdown.scss +79 -0
- package/esm2020/autocomplete/autocomplete-origin.directive.mjs +4 -4
- package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +4 -4
- package/esm2020/autocomplete/autocomplete.component.mjs +6 -6
- package/esm2020/autocomplete/autocomplete.module.mjs +5 -5
- package/esm2020/button/button.component.mjs +8 -8
- package/esm2020/button/button.module.mjs +5 -5
- package/esm2020/button-toggle/button-toggle.component.mjs +9 -9
- package/esm2020/button-toggle/button-toggle.module.mjs +5 -5
- package/esm2020/card/card.component.mjs +5 -5
- package/esm2020/card/card.module.mjs +5 -5
- package/esm2020/checkbox/checkbox-module.mjs +5 -5
- package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
- package/esm2020/checkbox/checkbox.mjs +5 -5
- package/esm2020/code-block/actionbar.component.mjs +4 -4
- package/esm2020/code-block/code-block.component.mjs +5 -5
- package/esm2020/code-block/code-block.module.mjs +5 -5
- package/esm2020/core/common-behaviors/color.mjs +3 -3
- package/esm2020/core/common-behaviors/common-module.mjs +5 -5
- package/esm2020/core/datetime/date-adapter.mjs +15 -0
- package/esm2020/core/datetime/date-formats.mjs +3 -0
- package/esm2020/core/datetime/index.mjs +3 -0
- package/esm2020/core/error/error-options.mjs +7 -7
- package/esm2020/core/formatters/date/formatter.mjs +10 -434
- package/esm2020/core/formatters/date/formatter.pipe.mjs +42 -42
- package/esm2020/core/formatters/index.mjs +5 -5
- package/esm2020/core/formatters/number/formatter.mjs +5 -5
- package/esm2020/core/forms/forms-module.mjs +5 -5
- package/esm2020/core/forms/forms.directive.mjs +7 -7
- package/esm2020/core/highlight/highlight.pipe.mjs +4 -4
- package/esm2020/core/highlight/index.mjs +5 -5
- package/esm2020/core/line/line.mjs +8 -8
- package/esm2020/core/option/action.mjs +6 -6
- package/esm2020/core/option/optgroup.mjs +5 -5
- package/esm2020/core/option/option-module.mjs +5 -5
- package/esm2020/core/option/option.mjs +5 -5
- package/esm2020/core/pop-up/pop-up-trigger.mjs +4 -4
- package/esm2020/core/pop-up/pop-up.mjs +4 -4
- package/esm2020/core/public-api.mjs +12 -11
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -5
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +5 -5
- package/esm2020/core/services/measure-scrollbar.service.mjs +4 -4
- package/esm2020/core/version.mjs +2 -2
- package/esm2020/datepicker/calendar-body.component.mjs +5 -5
- package/esm2020/datepicker/calendar-header.component.mjs +8 -9
- package/esm2020/datepicker/calendar.component.mjs +7 -7
- package/esm2020/datepicker/datepicker-input.directive.mjs +6 -7
- package/esm2020/datepicker/datepicker-intl.mjs +4 -4
- package/esm2020/datepicker/datepicker-module.mjs +5 -5
- package/esm2020/datepicker/datepicker-toggle.component.mjs +8 -8
- package/esm2020/datepicker/datepicker.component.mjs +10 -10
- package/esm2020/datepicker/month-view.component.mjs +6 -6
- package/esm2020/divider/divider.component.mjs +5 -5
- package/esm2020/divider/divider.module.mjs +5 -5
- package/esm2020/dl/dl.component.mjs +11 -11
- package/esm2020/dl/dl.module.mjs +5 -5
- package/esm2020/dropdown/dropdown-content.directive.mjs +4 -4
- package/esm2020/dropdown/dropdown-item.component.mjs +5 -5
- package/esm2020/dropdown/dropdown-trigger.directive.mjs +4 -4
- package/esm2020/dropdown/dropdown.component.mjs +6 -6
- package/esm2020/dropdown/dropdown.module.mjs +5 -5
- package/esm2020/form-field/cleaner.mjs +5 -5
- package/esm2020/form-field/form-field.mjs +11 -11
- package/esm2020/form-field/form-field.module.mjs +5 -5
- package/esm2020/form-field/hint.mjs +4 -4
- package/esm2020/form-field/password-hint.mjs +4 -4
- package/esm2020/form-field/prefix.mjs +4 -4
- package/esm2020/form-field/stepper.mjs +8 -8
- package/esm2020/form-field/suffix.mjs +4 -4
- package/esm2020/form-field/validate.directive.mjs +4 -4
- package/esm2020/icon/icon.component.mjs +7 -7
- package/esm2020/icon/icon.module.mjs +5 -5
- package/esm2020/input/input-number-validators.mjs +7 -7
- package/esm2020/input/input-number.mjs +4 -4
- package/esm2020/input/input-password.mjs +7 -7
- package/esm2020/input/input.mjs +7 -7
- package/esm2020/input/input.module.mjs +5 -5
- package/esm2020/link/link.component.mjs +4 -4
- package/esm2020/link/link.module.mjs +5 -5
- package/esm2020/list/list-selection.component.mjs +9 -9
- package/esm2020/list/list.component.mjs +8 -8
- package/esm2020/list/list.module.mjs +5 -5
- package/esm2020/loader-overlay/loader-overlay.component.mjs +14 -14
- package/esm2020/loader-overlay/loader-overlay.module.mjs +5 -5
- package/esm2020/markdown/markdown.component.mjs +6 -6
- package/esm2020/markdown/markdown.module.mjs +5 -5
- package/esm2020/markdown/markdown.service.mjs +4 -4
- package/esm2020/modal/css-unit.pipe.mjs +4 -4
- package/esm2020/modal/modal-control.service.mjs +4 -4
- package/esm2020/modal/modal.component.mjs +5 -5
- package/esm2020/modal/modal.directive.mjs +13 -13
- package/esm2020/modal/modal.module.mjs +5 -5
- package/esm2020/modal/modal.service.mjs +4 -4
- package/esm2020/navbar/navbar-item.component.mjs +31 -31
- package/esm2020/navbar/navbar.component.mjs +11 -11
- package/esm2020/navbar/navbar.module.mjs +5 -5
- package/esm2020/navbar/vertical-navbar.animation.mjs +2 -2
- package/esm2020/navbar/vertical-navbar.component.mjs +6 -6
- package/esm2020/popover/popover-confirm.component.mjs +8 -8
- package/esm2020/popover/popover.component.mjs +8 -8
- package/esm2020/popover/popover.module.mjs +5 -5
- package/esm2020/progress-bar/progress-bar.component.mjs +5 -5
- package/esm2020/progress-bar/progress-bar.module.mjs +5 -5
- package/esm2020/progress-spinner/progress-spinner.component.mjs +6 -6
- package/esm2020/progress-spinner/progress-spinner.module.mjs +5 -5
- package/esm2020/radio/radio.component.mjs +8 -8
- package/esm2020/radio/radio.module.mjs +5 -5
- package/esm2020/select/select-option.directive.mjs +4 -4
- package/esm2020/select/select.component.mjs +18 -18
- package/esm2020/select/select.module.mjs +5 -5
- package/esm2020/sidebar/sidebar.component.mjs +10 -10
- package/esm2020/sidebar/sidebar.module.mjs +5 -5
- package/esm2020/sidepanel/sidepanel-container.component.mjs +5 -5
- package/esm2020/sidepanel/sidepanel-directives.mjs +18 -18
- package/esm2020/sidepanel/sidepanel.module.mjs +5 -5
- package/esm2020/sidepanel/sidepanel.service.mjs +4 -4
- package/esm2020/splitter/splitter.component.mjs +13 -13
- package/esm2020/splitter/splitter.module.mjs +5 -5
- package/esm2020/table/table.component.mjs +5 -5
- package/esm2020/table/table.module.mjs +5 -5
- package/esm2020/tabs/paginated-tab-header.mjs +4 -4
- package/esm2020/tabs/tab-body.component.mjs +7 -7
- package/esm2020/tabs/tab-content.directive.mjs +4 -4
- package/esm2020/tabs/tab-group.component.mjs +20 -20
- package/esm2020/tabs/tab-header.component.mjs +5 -5
- package/esm2020/tabs/tab-label-wrapper.directive.mjs +4 -4
- package/esm2020/tabs/tab-label.directive.mjs +4 -4
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +8 -8
- package/esm2020/tabs/tab.component.mjs +4 -4
- package/esm2020/tabs/tabs.module.mjs +5 -5
- package/esm2020/tags/tag-input.mjs +4 -4
- package/esm2020/tags/tag-list.component.mjs +5 -5
- package/esm2020/tags/tag.component.mjs +14 -14
- package/esm2020/tags/tag.module.mjs +5 -5
- package/esm2020/textarea/textarea.component.mjs +4 -4
- package/esm2020/textarea/textarea.module.mjs +5 -5
- package/esm2020/timepicker/timepicker.directive.mjs +6 -7
- package/esm2020/timepicker/timepicker.module.mjs +5 -5
- package/esm2020/timezone/cities-by-filter.pipe.mjs +4 -4
- package/esm2020/timezone/timezone-option.component.mjs +6 -6
- package/esm2020/timezone/timezone-option.directive.mjs +4 -4
- package/esm2020/timezone/timezone-select.component.mjs +9 -9
- package/esm2020/timezone/timezone.module.mjs +5 -5
- package/esm2020/timezone/utc-offset.pipe.mjs +4 -4
- package/esm2020/toast/toast-container.component.mjs +5 -5
- package/esm2020/toast/toast.component.mjs +5 -5
- package/esm2020/toast/toast.module.mjs +5 -5
- package/esm2020/toast/toast.service.mjs +4 -4
- package/esm2020/toggle/toggle.component.mjs +6 -6
- package/esm2020/toggle/toggle.module.mjs +5 -5
- package/esm2020/tooltip/tooltip.component.mjs +14 -14
- package/esm2020/tooltip/tooltip.module.mjs +5 -5
- package/esm2020/tree/node.mjs +4 -4
- package/esm2020/tree/outlet.mjs +4 -4
- package/esm2020/tree/padding.directive.mjs +5 -5
- package/esm2020/tree/toggle.mjs +11 -11
- package/esm2020/tree/tree-base.mjs +7 -7
- package/esm2020/tree/tree-option.component.mjs +6 -6
- package/esm2020/tree/tree-selection.component.mjs +4 -4
- package/esm2020/tree/tree.mjs +4 -4
- package/esm2020/tree/tree.module.mjs +5 -5
- package/esm2020/tree-select/tree-select.component.mjs +12 -12
- package/esm2020/tree-select/tree-select.module.mjs +5 -5
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +15 -15
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +12 -12
- package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-button.mjs +11 -11
- package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-card.mjs +8 -8
- package/fesm2015/ptsecurity-mosaic-card.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs +11 -11
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-code-block.mjs +11 -11
- package/fesm2015/ptsecurity-mosaic-code-block.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-core.mjs +789 -1877
- package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs +42 -44
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-divider.mjs +8 -8
- package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-dl.mjs +14 -14
- package/fesm2015/ptsecurity-mosaic-dl.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs +19 -19
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-form-field.mjs +40 -40
- package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-icon.mjs +10 -10
- package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-input.mjs +25 -25
- package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-link.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-list.mjs +19 -19
- package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs +17 -17
- package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
- 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 +50 -50
- 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 +8 -8
- package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
- 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 +11 -11
- package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-select.mjs +24 -24
- package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
- package/fesm2015/ptsecurity-mosaic-sidebar.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +28 -28
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-splitter.mjs +16 -16
- package/fesm2015/ptsecurity-mosaic-splitter.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-table.mjs +8 -8
- package/fesm2015/ptsecurity-mosaic-table.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tabs.mjs +55 -55
- package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tags.mjs +24 -24
- package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-textarea.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-timepicker.mjs +8 -8
- package/fesm2015/ptsecurity-mosaic-timepicker.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-timezone.mjs +26 -26
- package/fesm2015/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-toast.mjs +15 -15
- package/fesm2015/ptsecurity-mosaic-toast.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-toggle.mjs +9 -9
- package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs +17 -17
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs +15 -15
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree.mjs +41 -41
- package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +15 -15
- package/fesm2020/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +12 -12
- package/fesm2020/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-button.mjs +11 -11
- package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-card.mjs +8 -8
- package/fesm2020/ptsecurity-mosaic-card.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-checkbox.mjs +11 -11
- package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-code-block.mjs +11 -11
- package/fesm2020/ptsecurity-mosaic-code-block.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-core.mjs +785 -1900
- package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs +42 -44
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-divider.mjs +8 -8
- package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-dl.mjs +14 -14
- package/fesm2020/ptsecurity-mosaic-dl.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-dropdown.mjs +19 -19
- package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-form-field.mjs +40 -40
- package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-icon.mjs +10 -10
- package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-input.mjs +25 -25
- package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-link.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-list.mjs +19 -19
- package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs +17 -17
- package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
- 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 +50 -50
- 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 +8 -8
- package/fesm2020/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
- 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 +11 -11
- package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-select.mjs +24 -24
- package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
- package/fesm2020/ptsecurity-mosaic-sidebar.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +28 -28
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-splitter.mjs +16 -16
- package/fesm2020/ptsecurity-mosaic-splitter.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-table.mjs +8 -8
- package/fesm2020/ptsecurity-mosaic-table.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tabs.mjs +55 -55
- package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tags.mjs +24 -24
- package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-textarea.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-timepicker.mjs +8 -8
- package/fesm2020/ptsecurity-mosaic-timepicker.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-timezone.mjs +26 -26
- package/fesm2020/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-toast.mjs +15 -15
- package/fesm2020/ptsecurity-mosaic-toast.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-toggle.mjs +9 -9
- package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs +17 -17
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs +15 -15
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree.mjs +41 -41
- package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +133 -0
- package/form-field/cleaner.d.ts +1 -1
- package/form-field/form-field.d.ts +3 -3
- package/form-field/form-field.scss +163 -0
- package/form-field/hint.d.ts +1 -1
- package/form-field/password-hint.d.ts +1 -1
- package/form-field/prefix.d.ts +1 -1
- package/form-field/stepper.d.ts +1 -1
- package/form-field/suffix.d.ts +1 -1
- package/form-field/validate.directive.d.ts +1 -1
- package/icon/_icon-theme.scss +152 -0
- package/icon/icon.component.d.ts +2 -2
- package/icon/icon.scss +30 -0
- package/input/_input-base.scss +21 -0
- package/input/_input-theme.scss +58 -0
- package/input/input-number-validators.d.ts +2 -2
- package/input/input-number.d.ts +1 -1
- package/input/input-password.d.ts +2 -2
- package/input/input.d.ts +2 -2
- package/input/input.scss +62 -0
- package/link/_link-theme.scss +172 -0
- package/link/link.component.d.ts +1 -1
- package/list/_list-base.scss +50 -0
- package/list/_list-theme.scss +49 -0
- package/list/list-selection.component.d.ts +2 -2
- package/list/list.component.d.ts +2 -2
- package/list/list.scss +52 -0
- package/loader-overlay/_loader-overlay-theme.scss +36 -0
- package/loader-overlay/loader-overlay.component.d.ts +4 -4
- package/loader-overlay/loader-overlay.scss +64 -0
- package/markdown/_markdown-theme.scss +142 -0
- package/markdown/markdown.component.d.ts +1 -1
- package/markdown/markdown.scss +240 -0
- package/modal/_modal-animation.scss +114 -0
- package/modal/_modal-confirm.scss +53 -0
- package/modal/_modal-theme.scss +90 -0
- package/modal/modal.component.d.ts +1 -1
- package/modal/modal.directive.d.ts +4 -4
- package/modal/modal.scss +143 -0
- package/navbar/_navbar-theme.scss +125 -0
- package/navbar/navbar-brand.scss +70 -0
- package/navbar/navbar-divider.scss +18 -0
- package/navbar/navbar-item.component.d.ts +10 -10
- package/navbar/navbar-item.scss +159 -0
- package/navbar/navbar.component.d.ts +3 -3
- package/navbar/navbar.scss +20 -0
- package/navbar/vertical-navbar.component.d.ts +1 -1
- package/navbar/vertical-navbar.scss +46 -0
- package/package.json +28 -27
- package/popover/_popover-theme.scss +113 -0
- package/popover/popover-confirm.component.d.ts +2 -2
- package/popover/popover.component.d.ts +2 -2
- package/popover/popover.scss +114 -0
- 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/progress-bar/_progress-bar-theme.scss +28 -0
- package/progress-bar/progress-bar.component.d.ts +1 -1
- package/progress-bar/progress-bar.scss +42 -0
- package/progress-spinner/_progress-spinner-theme.scss +24 -0
- package/progress-spinner/progress-spinner.component.d.ts +1 -1
- package/progress-spinner/progress-spinner.scss +70 -0
- package/radio/_radio-theme.scss +99 -0
- package/radio/radio.component.d.ts +2 -2
- package/radio/radio.scss +110 -0
- package/select/_select-theme.scss +57 -0
- package/select/select-option.directive.d.ts +1 -1
- package/select/select.component.d.ts +5 -5
- package/select/select.scss +197 -0
- package/sidebar/sidebar.component.d.ts +3 -3
- package/sidebar/sidebar.scss +12 -0
- package/sidepanel/_sidepanel-theme.scss +69 -0
- package/sidepanel/sidepanel-container.component.d.ts +1 -1
- package/sidepanel/sidepanel-directives.d.ts +5 -5
- package/sidepanel/sidepanel.scss +190 -0
- package/splitter/_splitter-theme.scss +31 -0
- package/splitter/splitter.component.d.ts +4 -4
- package/splitter/splitter.scss +48 -0
- package/table/_table-theme.scss +67 -0
- package/table/table.component.d.ts +1 -1
- package/table/table.scss +76 -0
- package/tabs/_tabs-common.scss +197 -0
- package/tabs/_tabs-theme.scss +241 -0
- package/tabs/paginated-tab-header.d.ts +1 -1
- package/tabs/tab-body.component.d.ts +2 -2
- package/tabs/tab-body.scss +8 -0
- package/tabs/tab-content.directive.d.ts +1 -1
- package/tabs/tab-group.component.d.ts +6 -6
- package/tabs/tab-group.scss +63 -0
- package/tabs/tab-header.component.d.ts +1 -1
- package/tabs/tab-header.scss +106 -0
- package/tabs/tab-label-wrapper.directive.d.ts +1 -1
- package/tabs/tab-label.directive.d.ts +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +2 -2
- package/tabs/tab-nav-bar/tab-nav-bar.scss +54 -0
- package/tabs/tab.component.d.ts +1 -1
- package/tags/_tag-theme.scss +122 -0
- package/tags/tag-input.d.ts +1 -1
- package/tags/tag-list.component.d.ts +1 -1
- package/tags/tag-list.scss +52 -0
- package/tags/tag.component.d.ts +4 -4
- package/tags/tag.scss +115 -0
- package/textarea/_textarea-base.scss +22 -0
- package/textarea/_textarea-theme.scss +40 -0
- package/textarea/textarea.component.d.ts +1 -1
- package/textarea/textarea.scss +32 -0
- package/timepicker/timepicker.directive.d.ts +2 -2
- package/timepicker/timepicker.scss +18 -0
- package/timezone/_timezone-option-theme.scss +36 -0
- package/timezone/timezone-option.component.d.ts +1 -1
- package/timezone/timezone-option.component.scss +35 -0
- package/timezone/timezone-option.directive.d.ts +1 -1
- package/timezone/timezone-select.component.d.ts +2 -2
- package/toast/_toast-theme.scss +64 -0
- package/toast/toast-container.component.d.ts +1 -1
- package/toast/toast-container.component.scss +23 -0
- package/toast/toast.component.d.ts +1 -1
- package/toast/toast.component.scss +76 -0
- package/toggle/_toggle-theme.scss +82 -0
- package/toggle/toggle.component.d.ts +1 -1
- package/toggle/toggle.scss +124 -0
- package/tooltip/_tooltip-theme.scss +104 -0
- package/tooltip/tooltip.component.d.ts +4 -4
- package/tooltip/tooltip.scss +75 -0
- package/tree/_tree-theme.scss +70 -0
- package/tree/node.d.ts +1 -1
- package/tree/outlet.d.ts +1 -1
- package/tree/padding.directive.d.ts +1 -1
- package/tree/toggle.d.ts +3 -3
- package/tree/toggle.scss +35 -0
- package/tree/tree-base.d.ts +2 -2
- package/tree/tree-option.component.d.ts +1 -1
- package/tree/tree-option.scss +67 -0
- package/tree/tree-selection.component.d.ts +1 -1
- package/tree/tree-selection.scss +3 -0
- package/tree/tree.d.ts +1 -1
- package/tree/tree.scss +3 -0
- package/tree-select/_tree-select-theme.scss +44 -0
- package/tree-select/tree-select.component.d.ts +3 -3
- package/tree-select/tree-select.scss +212 -0
- package/core/formatters/date/templates/en-US.d.ts +0 -2
- package/core/formatters/date/templates/ru-RU.d.ts +0 -2
- package/design-tokens/index.d.ts +0 -1
- package/design-tokens/legacy-2017/tokens/components/alert.json5 +0 -83
- package/design-tokens/legacy-2017/tokens/components/autocomplete.json5 +0 -11
- package/design-tokens/legacy-2017/tokens/components/badge.json5 +0 -174
- package/design-tokens/legacy-2017/tokens/components/button-toggle.json5 +0 -11
- package/design-tokens/legacy-2017/tokens/components/button.json5 +0 -142
- package/design-tokens/legacy-2017/tokens/components/card.json5 +0 -51
- package/design-tokens/legacy-2017/tokens/components/checkbox.json5 +0 -106
- package/design-tokens/legacy-2017/tokens/components/code-block.json5 +0 -704
- package/design-tokens/legacy-2017/tokens/components/datepicker.json5 +0 -73
- package/design-tokens/legacy-2017/tokens/components/divider.json5 +0 -14
- package/design-tokens/legacy-2017/tokens/components/dl.json5 +0 -38
- package/design-tokens/legacy-2017/tokens/components/dropdown.json5 +0 -48
- package/design-tokens/legacy-2017/tokens/components/form-field.json5 +0 -92
- package/design-tokens/legacy-2017/tokens/components/forms.json5 +0 -48
- package/design-tokens/legacy-2017/tokens/components/icon.json5 +0 -104
- package/design-tokens/legacy-2017/tokens/components/input.json5 +0 -12
- package/design-tokens/legacy-2017/tokens/components/link.json5 +0 -50
- package/design-tokens/legacy-2017/tokens/components/list.json5 +0 -13
- package/design-tokens/legacy-2017/tokens/components/loader-overlay.json5 +0 -23
- package/design-tokens/legacy-2017/tokens/components/markdown.json5 +0 -294
- package/design-tokens/legacy-2017/tokens/components/modal.json5 +0 -81
- package/design-tokens/legacy-2017/tokens/components/navbar.json5 +0 -70
- package/design-tokens/legacy-2017/tokens/components/optgroup.json5 +0 -10
- package/design-tokens/legacy-2017/tokens/components/option.json5 +0 -12
- package/design-tokens/legacy-2017/tokens/components/popover.json5 +0 -69
- package/design-tokens/legacy-2017/tokens/components/popup.json5 +0 -16
- package/design-tokens/legacy-2017/tokens/components/progress-bar.json5 +0 -13
- package/design-tokens/legacy-2017/tokens/components/progress-spinner.json5 +0 -16
- package/design-tokens/legacy-2017/tokens/components/radio.json5 +0 -47
- package/design-tokens/legacy-2017/tokens/components/scrollbars.json5 +0 -52
- package/design-tokens/legacy-2017/tokens/components/select.json5 +0 -24
- package/design-tokens/legacy-2017/tokens/components/sidepanel.json5 +0 -44
- package/design-tokens/legacy-2017/tokens/components/table.json5 +0 -15
- package/design-tokens/legacy-2017/tokens/components/tabs.json5 +0 -101
- package/design-tokens/legacy-2017/tokens/components/tags.json5 +0 -134
- package/design-tokens/legacy-2017/tokens/components/textarea.json5 +0 -12
- package/design-tokens/legacy-2017/tokens/components/timepicker.json5 +0 -7
- package/design-tokens/legacy-2017/tokens/components/timezone.json5 +0 -23
- package/design-tokens/legacy-2017/tokens/components/toast.json5 +0 -54
- package/design-tokens/legacy-2017/tokens/components/toggle.json5 +0 -79
- package/design-tokens/legacy-2017/tokens/components/tooltip.json5 +0 -83
- package/design-tokens/legacy-2017/tokens/components/tree.json5 +0 -15
- package/design-tokens/legacy-2017/tokens/properties/aliases.json5 +0 -3
- package/design-tokens/legacy-2017/tokens/properties/colors.json5 +0 -119
- package/design-tokens/legacy-2017/tokens/properties/font.json5 +0 -12
- package/design-tokens/legacy-2017/tokens/properties/globals.json5 +0 -49
- package/design-tokens/legacy-2017/tokens/properties/md-typography.json5 +0 -103
- package/design-tokens/legacy-2017/tokens/properties/padding.json5 +0 -3
- package/design-tokens/legacy-2017/tokens/properties/palette.json5 +0 -163
- package/design-tokens/legacy-2017/tokens/properties/typography.json5 +0 -184
- package/design-tokens/legacy-2017/tokens.d.ts +0 -8520
- package/design-tokens/pt-2022/tokens/components/alert.json5 +0 -83
- package/design-tokens/pt-2022/tokens/components/autocomplete.json5 +0 -11
- package/design-tokens/pt-2022/tokens/components/badge.json5 +0 -174
- package/design-tokens/pt-2022/tokens/components/button-toggle.json5 +0 -11
- package/design-tokens/pt-2022/tokens/components/button.json5 +0 -142
- package/design-tokens/pt-2022/tokens/components/card.json5 +0 -51
- package/design-tokens/pt-2022/tokens/components/checkbox.json5 +0 -106
- package/design-tokens/pt-2022/tokens/components/code-block.json5 +0 -697
- package/design-tokens/pt-2022/tokens/components/datepicker.json5 +0 -73
- package/design-tokens/pt-2022/tokens/components/divider.json5 +0 -14
- package/design-tokens/pt-2022/tokens/components/dl.json5 +0 -38
- package/design-tokens/pt-2022/tokens/components/dropdown.json5 +0 -48
- package/design-tokens/pt-2022/tokens/components/form-field.json5 +0 -92
- package/design-tokens/pt-2022/tokens/components/forms.json5 +0 -48
- package/design-tokens/pt-2022/tokens/components/icon.json5 +0 -104
- package/design-tokens/pt-2022/tokens/components/input.json5 +0 -12
- package/design-tokens/pt-2022/tokens/components/link.json5 +0 -50
- package/design-tokens/pt-2022/tokens/components/list.json5 +0 -13
- package/design-tokens/pt-2022/tokens/components/loader-overlay.json5 +0 -23
- package/design-tokens/pt-2022/tokens/components/markdown.json5 +0 -294
- package/design-tokens/pt-2022/tokens/components/modal.json5 +0 -81
- package/design-tokens/pt-2022/tokens/components/navbar.json5 +0 -70
- package/design-tokens/pt-2022/tokens/components/optgroup.json5 +0 -10
- package/design-tokens/pt-2022/tokens/components/option.json5 +0 -12
- package/design-tokens/pt-2022/tokens/components/popover.json5 +0 -69
- package/design-tokens/pt-2022/tokens/components/popup.json5 +0 -16
- package/design-tokens/pt-2022/tokens/components/progress-bar.json5 +0 -13
- package/design-tokens/pt-2022/tokens/components/progress-spinner.json5 +0 -16
- package/design-tokens/pt-2022/tokens/components/radio.json5 +0 -48
- package/design-tokens/pt-2022/tokens/components/scrollbars.json5 +0 -52
- package/design-tokens/pt-2022/tokens/components/select.json5 +0 -24
- package/design-tokens/pt-2022/tokens/components/sidepanel.json5 +0 -43
- package/design-tokens/pt-2022/tokens/components/table.json5 +0 -15
- package/design-tokens/pt-2022/tokens/components/tabs.json5 +0 -101
- package/design-tokens/pt-2022/tokens/components/tags.json5 +0 -137
- package/design-tokens/pt-2022/tokens/components/textarea.json5 +0 -12
- package/design-tokens/pt-2022/tokens/components/timepicker.json5 +0 -7
- package/design-tokens/pt-2022/tokens/components/timezone.json5 +0 -23
- package/design-tokens/pt-2022/tokens/components/toast.json5 +0 -54
- package/design-tokens/pt-2022/tokens/components/toggle.json5 +0 -79
- package/design-tokens/pt-2022/tokens/components/tooltip.json5 +0 -83
- package/design-tokens/pt-2022/tokens/components/tree.json5 +0 -15
- package/design-tokens/pt-2022/tokens/properties/aliases.json5 +0 -3
- package/design-tokens/pt-2022/tokens/properties/colors.json5 +0 -122
- package/design-tokens/pt-2022/tokens/properties/font.json5 +0 -15
- package/design-tokens/pt-2022/tokens/properties/globals.json5 +0 -49
- package/design-tokens/pt-2022/tokens/properties/md-typography.json5 +0 -103
- package/design-tokens/pt-2022/tokens/properties/padding.json5 +0 -3
- package/design-tokens/pt-2022/tokens/properties/palette.json5 +0 -233
- package/design-tokens/pt-2022/tokens/properties/typography.json5 +0 -184
- package/design-tokens/pt-2022/tokens.d.ts +0 -9851
- package/design-tokens/public-api.d.ts +0 -3
- package/design-tokens/style-dictionary/build.js +0 -78
- package/design-tokens/style-dictionary/configs/css.js +0 -13
- package/design-tokens/style-dictionary/configs/figma.js +0 -11
- package/design-tokens/style-dictionary/configs/index.js +0 -46
- package/design-tokens/style-dictionary/configs/js.js +0 -9
- package/design-tokens/style-dictionary/configs/scss.js +0 -29
- package/design-tokens/style-dictionary/figma-types.js +0 -41
- package/design-tokens/style-dictionary/filters/color.js +0 -9
- package/design-tokens/style-dictionary/filters/md-typography.js +0 -7
- package/design-tokens/style-dictionary/filters/palette.js +0 -7
- package/design-tokens/style-dictionary/filters/size.js +0 -7
- package/design-tokens/style-dictionary/filters/typography.js +0 -7
- package/design-tokens/style-dictionary/formats/figma.js +0 -104
- package/design-tokens/style-dictionary/formats/palette.js +0 -25
- package/design-tokens/style-dictionary/formats/typography.js +0 -52
- package/design-tokens/style-dictionary/transformGroups/css.js +0 -13
- package/design-tokens/style-dictionary/transformGroups/figma.js +0 -21
- package/design-tokens/style-dictionary/transformGroups/scss.js +0 -13
- package/design-tokens/style-dictionary/transformGroups/ts.js +0 -11
- package/design-tokens/style-dictionary/transforms/attribute/figma-border.js +0 -18
- package/design-tokens/style-dictionary/transforms/attribute/figma-color.js +0 -25
- package/design-tokens/style-dictionary/transforms/attribute/figma-default.js +0 -10
- package/design-tokens/style-dictionary/transforms/attribute/figma-font.js +0 -31
- package/design-tokens/style-dictionary/transforms/attribute/figma-group.js +0 -17
- package/design-tokens/style-dictionary/transforms/attribute/figma-opacity.js +0 -10
- package/design-tokens/style-dictionary/transforms/attribute/figma-shadow.js +0 -66
- package/design-tokens/style-dictionary/transforms/attribute/figma-sizing.js +0 -16
- package/design-tokens/style-dictionary/transforms/attribute/figma-spacing.js +0 -15
- package/design-tokens/style-dictionary/transforms/attribute/figma-typography.js +0 -24
- package/design-tokens/style-dictionary/transforms/attribute/md-typography.js +0 -9
- package/design-tokens/style-dictionary/transforms/attribute/palette.js +0 -9
- package/design-tokens/style-dictionary/transforms/attribute/prefix.js +0 -11
- package/design-tokens/style-dictionary/transforms/attribute/size.js +0 -8
- package/design-tokens/style-dictionary/transforms/attribute/typography.js +0 -9
- package/design-tokens/style-dictionary/transforms/value/figma-values.js +0 -7
- package/esm2020/core/formatters/date/templates/en-US.mjs +0 -336
- package/esm2020/core/formatters/date/templates/ru-RU.mjs +0 -372
- package/esm2020/design-tokens/index.mjs +0 -2
- package/esm2020/design-tokens/legacy-2017/tokens.mjs +0 -1814
- package/esm2020/design-tokens/pt-2022/tokens.mjs +0 -1883
- package/esm2020/design-tokens/ptsecurity-mosaic-design-tokens.mjs +0 -5
- package/esm2020/design-tokens/public-api.mjs +0 -4
- package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +0 -5517
- package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +0 -5517
- package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +0 -1
- package/schematics/README.md +0 -35
@@ -1,270 +1,9 @@
|
|
1
|
-
import { DateAdapter
|
1
|
+
import { DateAdapter } from '@mosaic-design/date-adapter';
|
2
|
+
import { DateFormatter as BaseDateFormatter } from '@mosaic-design/date-formatter';
|
2
3
|
import * as i0 from "@angular/core";
|
3
|
-
|
4
|
-
|
5
|
-
*/
|
6
|
-
export interface FormatterAbsoluteTemplate {
|
7
|
-
variables?: {
|
8
|
-
[name: string]: string;
|
9
|
-
};
|
10
|
-
DATE: string;
|
11
|
-
DATETIME: string;
|
12
|
-
}
|
13
|
-
/**
|
14
|
-
* interface for range date or datetime formatter template
|
15
|
-
*/
|
16
|
-
export interface FormatterRangeTemplate {
|
17
|
-
variables?: {
|
18
|
-
[name: string]: string;
|
19
|
-
};
|
20
|
-
START_DATE: string;
|
21
|
-
END_DATE: string;
|
22
|
-
DATE: string;
|
23
|
-
START_DATETIME: string;
|
24
|
-
END_DATETIME: string;
|
25
|
-
DATETIME: string;
|
26
|
-
}
|
27
|
-
/**
|
28
|
-
* interface for relative date or datetime formatter template
|
29
|
-
*/
|
30
|
-
export interface FormatterRelativeTemplate {
|
31
|
-
variables?: {
|
32
|
-
[name: string]: string;
|
33
|
-
};
|
34
|
-
BEFORE_YESTERDAY: string;
|
35
|
-
YESTERDAY: string;
|
36
|
-
TODAY: string;
|
37
|
-
TOMORROW: string;
|
38
|
-
AFTER_TOMORROW: string;
|
39
|
-
}
|
40
|
-
/**
|
41
|
-
* interface for duration of dates numeric formatter template
|
42
|
-
*/
|
43
|
-
export interface FormatterDurationNumbersTemplate {
|
44
|
-
variables?: {
|
45
|
-
[name: string]: string;
|
46
|
-
};
|
47
|
-
FULL: string;
|
48
|
-
ONLY_MINUTES: string;
|
49
|
-
}
|
50
|
-
/**
|
51
|
-
* interface for duration of dates text formatter template
|
52
|
-
*/
|
53
|
-
export interface FormatterDurationTemplate {
|
54
|
-
variables?: {
|
55
|
-
[name: string]: string;
|
56
|
-
};
|
57
|
-
YEARS: string;
|
58
|
-
MONTHS: string;
|
59
|
-
WEEKS: string;
|
60
|
-
DAYS: string;
|
61
|
-
HOURS: string;
|
62
|
-
MINUTES: string;
|
63
|
-
SECONDS: string;
|
64
|
-
SEPARATOR: string;
|
65
|
-
YEARS_FRACTION: string;
|
66
|
-
MONTHS_FRACTION: string;
|
67
|
-
}
|
68
|
-
export interface DateTimeOptions {
|
69
|
-
seconds?: boolean;
|
70
|
-
milliseconds?: boolean;
|
71
|
-
currYear?: boolean;
|
72
|
-
}
|
73
|
-
export interface FormatterConfig {
|
74
|
-
relativeTemplates: {
|
75
|
-
short: FormatterRelativeTemplate;
|
76
|
-
long: FormatterRelativeTemplate;
|
77
|
-
};
|
78
|
-
absoluteTemplates: {
|
79
|
-
short: FormatterAbsoluteTemplate;
|
80
|
-
long: FormatterAbsoluteTemplate;
|
81
|
-
};
|
82
|
-
rangeTemplates: {
|
83
|
-
closedRange: {
|
84
|
-
short: FormatterRangeTemplate;
|
85
|
-
middle: FormatterRangeTemplate;
|
86
|
-
long: FormatterRangeTemplate;
|
87
|
-
};
|
88
|
-
openedRange: {
|
89
|
-
short: FormatterRangeTemplate;
|
90
|
-
long: FormatterRangeTemplate;
|
91
|
-
};
|
92
|
-
};
|
93
|
-
durationTemplates: {
|
94
|
-
shortest: FormatterDurationNumbersTemplate;
|
95
|
-
short: FormatterDurationTemplate;
|
96
|
-
long: FormatterDurationTemplate;
|
97
|
-
};
|
98
|
-
}
|
99
|
-
export declare class DateFormatter<D> {
|
100
|
-
private readonly adapter;
|
101
|
-
config: FormatterConfig;
|
102
|
-
private readonly invalidDateErrorText;
|
103
|
-
private messageFormat;
|
4
|
+
export declare class DateFormatter<D> extends BaseDateFormatter<D> {
|
5
|
+
readonly adapter: DateAdapter<D>;
|
104
6
|
constructor(adapter: DateAdapter<D>, locale: string);
|
105
|
-
setLocale(locale: string): void;
|
106
|
-
/**
|
107
|
-
* @param date - date
|
108
|
-
* @param template - template
|
109
|
-
* @param seconds - use seconds
|
110
|
-
* @param milliseconds - use milliseconds
|
111
|
-
* @returns relative date by template
|
112
|
-
*/
|
113
|
-
relativeDate(date: D, template: FormatterRelativeTemplate, seconds?: boolean, milliseconds?: boolean): string;
|
114
|
-
/**
|
115
|
-
* @param date - date
|
116
|
-
* @returns relative date in short format
|
117
|
-
*/
|
118
|
-
relativeShortDate(date: D): string;
|
119
|
-
/**
|
120
|
-
* @param date - date
|
121
|
-
* @returns relative date in long format
|
122
|
-
*/
|
123
|
-
relativeLongDate(date: D): string;
|
124
|
-
/**
|
125
|
-
* @param date - date
|
126
|
-
* @param options - DateTimeOptions
|
127
|
-
* @returns relative date in short format with time
|
128
|
-
*/
|
129
|
-
relativeShortDateTime(date: D, options?: DateTimeOptions): string;
|
130
|
-
/**
|
131
|
-
* @param date - date
|
132
|
-
* @param options - DateTimeOptions
|
133
|
-
* @returns relative date in long format with time
|
134
|
-
*/
|
135
|
-
relativeLongDateTime(date: D, options?: DateTimeOptions): string;
|
136
|
-
/**
|
137
|
-
* @param date - date
|
138
|
-
* @param params - parameters
|
139
|
-
* @param datetime - should time be shown as well
|
140
|
-
* @param seconds - should time with seconds be shown as well
|
141
|
-
* @param milliseconds - should time with milliseconds be shown as well
|
142
|
-
* @param currYear - should current year be shown as well
|
143
|
-
*/
|
144
|
-
absoluteDate(date: D, params: FormatterAbsoluteTemplate, datetime?: boolean, seconds?: boolean, milliseconds?: boolean, currYear?: boolean): string;
|
145
|
-
/**
|
146
|
-
* @param date - date
|
147
|
-
* @param currYear - should the year be shown forced
|
148
|
-
* @returns absolute date in short format
|
149
|
-
*/
|
150
|
-
absoluteShortDate(date: D, currYear?: boolean): string;
|
151
|
-
/**
|
152
|
-
* @param date - date
|
153
|
-
* @param options - DateTimeOptions
|
154
|
-
* @returns absolute date in short format with time
|
155
|
-
*/
|
156
|
-
absoluteShortDateTime(date: D, options?: DateTimeOptions): string;
|
157
|
-
/**
|
158
|
-
* @param date - date
|
159
|
-
* @param currYear - should the year be shown forced
|
160
|
-
* @returns absolute date in long format
|
161
|
-
*/
|
162
|
-
absoluteLongDate(date: D, currYear?: boolean): string;
|
163
|
-
/**
|
164
|
-
* @param date - date
|
165
|
-
* @param options - DateTimeOptions
|
166
|
-
* @returns absolute date in long format with time
|
167
|
-
*/
|
168
|
-
absoluteLongDateTime(date: D, options?: DateTimeOptions): string;
|
169
|
-
/**
|
170
|
-
* @param startDate - start date
|
171
|
-
* @param endDate - end date
|
172
|
-
* @param template - template
|
173
|
-
* @returns opened date
|
174
|
-
*/
|
175
|
-
openedRangeDate(startDate: D | null, endDate: D | null, template: FormatterRangeTemplate): string;
|
176
|
-
/**
|
177
|
-
* @param startDate - start date
|
178
|
-
* @param endDate - end date
|
179
|
-
* @param template - template
|
180
|
-
* @param seconds - should time with seconds be shown as well
|
181
|
-
* @param milliseconds - should time with milliseconds be shown as well
|
182
|
-
* @returns opened date
|
183
|
-
*/
|
184
|
-
openedRangeDateTime(startDate: D | null, endDate: D | null, template: FormatterRangeTemplate, seconds?: boolean, milliseconds?: boolean): string;
|
185
|
-
/**
|
186
|
-
* @param startDate - start date
|
187
|
-
* @param endDate - end date
|
188
|
-
* @param template - template
|
189
|
-
* @returns range date in template format
|
190
|
-
*/
|
191
|
-
rangeDate(startDate: D, endDate: D, template: FormatterRangeTemplate): string;
|
192
|
-
/**
|
193
|
-
* @param startDate - start date
|
194
|
-
* @param endDate - end date
|
195
|
-
* @param template - template
|
196
|
-
* @param seconds - use seconds
|
197
|
-
* @param milliseconds - use milliseconds
|
198
|
-
* @returns range date in template format with time
|
199
|
-
*/
|
200
|
-
rangeDateTime(startDate: D, endDate: D, template: FormatterRangeTemplate, seconds?: boolean, milliseconds?: boolean): string;
|
201
|
-
/**
|
202
|
-
* @param startDate - start date
|
203
|
-
* @param endDate - end date
|
204
|
-
* @returns range date in short format
|
205
|
-
*/
|
206
|
-
rangeShortDate(startDate: D | null, endDate?: D): string;
|
207
|
-
/**
|
208
|
-
* @param startDate - start date
|
209
|
-
* @param endDate - end date
|
210
|
-
* @param options - DateTimeOptions
|
211
|
-
* @returns range date in short format with time
|
212
|
-
*/
|
213
|
-
rangeShortDateTime(startDate: D | null, endDate?: D | null, options?: DateTimeOptions): string;
|
214
|
-
/**
|
215
|
-
* @param startDate - start date
|
216
|
-
* @param endDate - end date
|
217
|
-
* @returns range date in long format
|
218
|
-
*/
|
219
|
-
rangeLongDate(startDate: D | null, endDate?: D | null): string;
|
220
|
-
/**
|
221
|
-
* @param startDate - start date
|
222
|
-
* @param endDate - end date
|
223
|
-
* @param options - DateTimeOptions
|
224
|
-
* @returns range date in long format with time
|
225
|
-
*/
|
226
|
-
rangeLongDateTime(startDate: D | null, endDate?: D, options?: DateTimeOptions): string;
|
227
|
-
/**
|
228
|
-
* @param startDate - start date
|
229
|
-
* @param endDate - end date
|
230
|
-
* @param options - DateTimeOptions
|
231
|
-
* @returns range middle date with time
|
232
|
-
*/
|
233
|
-
rangeMiddleDateTime(startDate: D, endDate: D, options?: DateTimeOptions): string;
|
234
|
-
/**
|
235
|
-
* @param startDate - start date
|
236
|
-
* @param endDate - end date
|
237
|
-
* @param seconds - add seconds to formatted value
|
238
|
-
* @param milliseconds - add milliseconds to formatted value
|
239
|
-
* @returns formatted duration as string like 48:02:25
|
240
|
-
*/
|
241
|
-
durationShortest(startDate: D, endDate: D, seconds?: boolean, milliseconds?: boolean): string;
|
242
|
-
/**
|
243
|
-
* @param startDate - start date
|
244
|
-
* @param endDate - end date
|
245
|
-
* @param units - if defined, units to show will be specified
|
246
|
-
* @param fraction - shows fraction part for years and months
|
247
|
-
* @param template - specify template
|
248
|
-
* @returns formatted duration as string
|
249
|
-
*/
|
250
|
-
duration(startDate: D, endDate: D, units: DurationUnit[], fraction: any, template: FormatterDurationTemplate): string;
|
251
|
-
durationLong(startDate: D, endDate: D, units?: DurationUnit[], fraction?: boolean): string;
|
252
|
-
durationShort(startDate: D, endDate: D, units?: DurationUnit[], fraction?: boolean): string;
|
253
|
-
private checkDates;
|
254
|
-
private compileMessage;
|
255
|
-
/**
|
256
|
-
* @param date - date for compile
|
257
|
-
* @param variables - date template variables
|
258
|
-
* @param currYearForced - param for absolute days formatting
|
259
|
-
* @returns compiledVariables
|
260
|
-
*/
|
261
|
-
private compileVariables;
|
262
|
-
private isBeforeYesterday;
|
263
|
-
private isYesterday;
|
264
|
-
private isToday;
|
265
|
-
private isTomorrow;
|
266
|
-
private isAfterTomorrow;
|
267
|
-
private hasSame;
|
268
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatter<any>, never>;
|
269
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<DateFormatter<any>>;
|
270
9
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
2
|
-
import {
|
3
|
-
import {
|
2
|
+
import { DateTimeOptions } from '@mosaic-design/date-formatter';
|
3
|
+
import { DateAdapter } from '../../datetime';
|
4
|
+
import { DateFormatter } from './formatter';
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
export declare class AbsoluteDateFormatterPipe<D> implements PipeTransform {
|
6
7
|
private adapter;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
@use 'sass:meta';
|
2
|
+
@use 'sass:map';
|
3
|
+
|
4
|
+
@use '../styles/typography' as *;
|
5
|
+
@use '../styles/tokens';
|
6
|
+
|
7
|
+
|
8
|
+
$tokens: meta.module-variables(tokens) !default;
|
9
|
+
|
10
|
+
@mixin mc-forms-theme($theme) {
|
11
|
+
$foreground: map.get($theme, foreground);
|
12
|
+
|
13
|
+
$forms: map.get(map.get($theme, components), forms);
|
14
|
+
|
15
|
+
.mc-form__label {
|
16
|
+
color: map.get($forms, label);
|
17
|
+
}
|
18
|
+
|
19
|
+
.mc-form__legend {
|
20
|
+
color: map.get($forms, legend);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
@mixin mc-forms-typography($config) {
|
25
|
+
.mc-form__label {
|
26
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, forms-font-default-label));
|
27
|
+
}
|
28
|
+
|
29
|
+
.mc-form__legend {
|
30
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, forms-font-default-legend));
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,109 @@
|
|
1
|
+
@use 'sass:meta';
|
2
|
+
@use 'sass:map';
|
3
|
+
|
4
|
+
@use '../styles/common/vendor-prefixes';
|
5
|
+
@use '../styles/typography/typography' as *;
|
6
|
+
@use '../styles/typography/typography-utils' as *;
|
7
|
+
@use '../styles/tokens';
|
8
|
+
|
9
|
+
$tokens: meta.module-variables(tokens) !default;
|
10
|
+
|
11
|
+
.mc-form {
|
12
|
+
display: flex;
|
13
|
+
flex-direction: column;
|
14
|
+
}
|
15
|
+
|
16
|
+
.mc-form__row {
|
17
|
+
display: flex;
|
18
|
+
flex-direction: row;
|
19
|
+
}
|
20
|
+
|
21
|
+
.mc-form-horizontal {
|
22
|
+
$config: mc-typography-config($tokens);
|
23
|
+
|
24
|
+
$line-height: mc-line-height($config, body);
|
25
|
+
|
26
|
+
$form-field-size-height: map.get($tokens, form-field-size-height);
|
27
|
+
|
28
|
+
$label-padding-top: calc(($form-field-size-height - $line-height) / 2);
|
29
|
+
|
30
|
+
& .mc-form-row_margin {
|
31
|
+
margin-bottom: var(
|
32
|
+
--mc-forms-size-horizontal-row-margin-bottom, #{map.get($tokens, forms-size-horizontal-row-margin-bottom)}
|
33
|
+
);
|
34
|
+
}
|
35
|
+
|
36
|
+
& .mc-form__label {
|
37
|
+
padding-top: var(--mc-forms-size-horizontal-label-padding-top, #{$label-padding-top});
|
38
|
+
|
39
|
+
text-align: end;
|
40
|
+
}
|
41
|
+
|
42
|
+
& .mc-form__control {
|
43
|
+
padding-left: var(
|
44
|
+
--mc-forms-size-horizontal-control-padding-left,
|
45
|
+
#{map.get($tokens, forms-size-horizontal-control-padding-left)}
|
46
|
+
);
|
47
|
+
}
|
48
|
+
|
49
|
+
& .mc-form__legend {
|
50
|
+
margin-top: var(
|
51
|
+
--mc-forms-size-horizontal-legend-margin-top, #{map.get($tokens, forms-size-horizontal-legend-margin-top)}
|
52
|
+
);
|
53
|
+
margin-bottom: var(
|
54
|
+
--mc-forms-size-horizontal-legend-margin-bottom,
|
55
|
+
#{map.get($tokens, forms-size-horizontal-legend-margin-bottom)}
|
56
|
+
);
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
.mc-form-vertical {
|
61
|
+
& .mc-form__row {
|
62
|
+
flex-direction: column;
|
63
|
+
}
|
64
|
+
|
65
|
+
& .mc-form-row_margin {
|
66
|
+
margin-bottom: var(
|
67
|
+
--mc-forms-size-vertical-row-margin-bottom, #{map.get($tokens, forms-size-vertical-row-margin-bottom)}
|
68
|
+
);
|
69
|
+
}
|
70
|
+
|
71
|
+
& .mc-form__label {
|
72
|
+
padding-top: var(
|
73
|
+
--mc-forms-size-vertical-label-padding-top, #{map.get($tokens, forms-size-vertical-label-padding-top)}
|
74
|
+
);
|
75
|
+
padding-bottom: var(
|
76
|
+
--mc-forms-size-vertical-label-padding-bottom, #{map.get($tokens, forms-size-vertical-label-padding-bottom)}
|
77
|
+
);
|
78
|
+
|
79
|
+
text-align: start;
|
80
|
+
}
|
81
|
+
|
82
|
+
& .mc-form__control {
|
83
|
+
padding-left: 0;
|
84
|
+
}
|
85
|
+
|
86
|
+
& .mc-form__legend {
|
87
|
+
margin-top: var(
|
88
|
+
--mc-forms-size-vertical-legend-margin-top, #{map.get($tokens, forms-size-vertical-legend-margin-top)}
|
89
|
+
);
|
90
|
+
margin-bottom: var(
|
91
|
+
--mc-forms-size-vertical-legend-margin-bottom, #{map.get($tokens, forms-size-vertical-legend-margin-bottom)}
|
92
|
+
);
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
.mc-form__fieldset {
|
97
|
+
display: flex;
|
98
|
+
flex-direction: column;
|
99
|
+
}
|
100
|
+
|
101
|
+
.mc-form__fieldset.mc-horizontal {
|
102
|
+
flex-direction: row;
|
103
|
+
|
104
|
+
& .mc-form__row:not(:first-child) {
|
105
|
+
padding-left: var(
|
106
|
+
--mc-forms-size-vertical-control-padding-left, #{map.get($tokens, forms-size-vertical-control-padding-left)}
|
107
|
+
);
|
108
|
+
}
|
109
|
+
}
|
@@ -11,12 +11,12 @@ export declare class McFormElement implements AfterContentInit {
|
|
11
11
|
constructor(element: ElementRef<HTMLElement>);
|
12
12
|
ngAfterContentInit(): void;
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<McFormElement, never>;
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McFormElement, ".mc-form__row, .mc-form__fieldset, .mc-form__legend", ["mcFormElement"], {}, {}, ["elements"], never, false>;
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McFormElement, ".mc-form__row, .mc-form__fieldset, .mc-form__legend", ["mcFormElement"], {}, {}, ["elements"], never, false, never>;
|
15
15
|
}
|
16
16
|
export declare class McForm implements AfterContentInit {
|
17
17
|
elements: QueryList<McFormElement>;
|
18
18
|
ngAfterContentInit(): void;
|
19
19
|
handleElements(elements: QueryList<McFormElement>): void;
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<McForm, never>;
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McForm, ".mc-form-vertical, .mc-form-horizontal", ["mcForm"], {}, {}, ["elements"], never, false>;
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McForm, ".mc-form-vertical, .mc-form-horizontal", ["mcForm"], {}, {}, ["elements"], never, false, never>;
|
22
22
|
}
|
package/core/line/line.d.ts
CHANGED
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
7
7
|
*/
|
8
8
|
export declare class McLine {
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<McLine, never>;
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<McLine, "[mc-line], [mcLine]", never, {}, {}, never, never, false>;
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<McLine, "[mc-line], [mcLine]", never, {}, {}, never, never, false, never>;
|
11
11
|
}
|
12
12
|
/**
|
13
13
|
* Helper that takes a query list of lines and sets the correct class on the host.
|
@@ -0,0 +1,26 @@
|
|
1
|
+
@use 'sass:meta';
|
2
|
+
@use 'sass:map';
|
3
|
+
|
4
|
+
@use '../styles/typography' as *;
|
5
|
+
@use '../styles/tokens';
|
6
|
+
|
7
|
+
|
8
|
+
$tokens: meta.module-variables(tokens) !default;
|
9
|
+
|
10
|
+
@mixin mc-optgroup-theme($theme) {
|
11
|
+
$foreground: map.get($theme, foreground);
|
12
|
+
|
13
|
+
.mc-optgroup-label {
|
14
|
+
color: map.get($foreground, text);
|
15
|
+
}
|
16
|
+
|
17
|
+
.mc-disabled .mc-optgroup-label {
|
18
|
+
color: map.get($foreground, text-disabled);
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
@mixin mc-optgroup-typography($config) {
|
23
|
+
.mc-optgroup-label {
|
24
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, optgroup-font-default));
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
@use 'sass:map';
|
2
|
+
|
3
|
+
@use '../styles/theming/theming' as *;
|
4
|
+
@use '../styles/typography/typography-utils' as *;
|
5
|
+
|
6
|
+
|
7
|
+
@mixin mc-option-action-theme($theme) {
|
8
|
+
$foreground: map.get($theme, foreground);
|
9
|
+
$background: map.get($theme, background);
|
10
|
+
|
11
|
+
$secondary: map.get($theme, secondary);
|
12
|
+
|
13
|
+
$is-dark: map.get($theme, is-dark);
|
14
|
+
|
15
|
+
.mc-option-action {
|
16
|
+
&.cdk-keyboard-focused {
|
17
|
+
border-color: map.get(map.get($theme, states), focused-color);
|
18
|
+
}
|
19
|
+
|
20
|
+
&:active,
|
21
|
+
&.mc-pressed {
|
22
|
+
& .mc-icon {
|
23
|
+
color: mc-color($secondary, if($is-dark, 300, 700));
|
24
|
+
}
|
25
|
+
|
26
|
+
background-color: mc-color($secondary, A100);
|
27
|
+
}
|
28
|
+
|
29
|
+
&:hover .mc-icon {
|
30
|
+
color: mc-color($secondary, if($is-dark, 300, 700));
|
31
|
+
}
|
32
|
+
|
33
|
+
&[disabled] {
|
34
|
+
& .mc-icon {
|
35
|
+
color: mc-color($secondary, if($is-dark, 700, 300));
|
36
|
+
}
|
37
|
+
|
38
|
+
background-color: transparent;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
@use 'sass:meta';
|
2
|
+
@use 'sass:map';
|
3
|
+
|
4
|
+
@use '../styles/typography' as *;
|
5
|
+
|
6
|
+
@use '../styles/tokens';
|
7
|
+
|
8
|
+
|
9
|
+
$tokens: meta.module-variables(tokens) !default;
|
10
|
+
|
11
|
+
@mixin mc-option-theme($theme) {
|
12
|
+
$foreground: map.get($theme, foreground);
|
13
|
+
$background: map.get($theme, background);
|
14
|
+
|
15
|
+
$primary: map.get($theme, primary);
|
16
|
+
|
17
|
+
.mc-option {
|
18
|
+
color: map.get($foreground, text);
|
19
|
+
|
20
|
+
&:hover:not(.mc-disabled) {
|
21
|
+
.mc-option-overlay {
|
22
|
+
background: map.get($background, overlay-hover);
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
&.mc-active {
|
27
|
+
border-color: map.get(map.get($theme, states), focused-color);
|
28
|
+
}
|
29
|
+
|
30
|
+
&.mc-selected {
|
31
|
+
background: map.get(map.get($theme, states), selected-color);
|
32
|
+
}
|
33
|
+
|
34
|
+
&.mc-disabled {
|
35
|
+
background: transparent;
|
36
|
+
|
37
|
+
color: map.get($foreground, text-disabled);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
@mixin mc-option-typography($config) {
|
43
|
+
.mc-option {
|
44
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, option-font-default));
|
45
|
+
}
|
46
|
+
}
|
package/core/option/action.d.ts
CHANGED
@@ -40,5 +40,5 @@ export declare class McOptionActionComponent extends McOptionActionMixinBase imp
|
|
40
40
|
onKeyDown($event: any): void;
|
41
41
|
private preventShowingTooltip;
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<McOptionActionComponent, never>;
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McOptionActionComponent, "mc-option-action", ["mcOptionAction"], { "disabled": "disabled"; }, {}, ["customIcon"], ["[mc-icon]"], false>;
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McOptionActionComponent, "mc-option-action", ["mcOptionAction"], { "disabled": "disabled"; }, {}, ["customIcon"], ["[mc-icon]"], false, never>;
|
44
44
|
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
.mc-option-action {
|
2
|
+
box-sizing: unset;
|
3
|
+
|
4
|
+
position: relative;
|
5
|
+
|
6
|
+
display: flex;
|
7
|
+
align-items: center;
|
8
|
+
justify-content: center;
|
9
|
+
flex-shrink: 0;
|
10
|
+
|
11
|
+
margin-right: -2px;
|
12
|
+
|
13
|
+
//width 28px for total width 32px (left border + right border);
|
14
|
+
width: 28px;
|
15
|
+
height: 100%;
|
16
|
+
|
17
|
+
cursor: pointer;
|
18
|
+
|
19
|
+
outline: none;
|
20
|
+
|
21
|
+
border: 2px solid transparent;
|
22
|
+
|
23
|
+
background: transparent;
|
24
|
+
|
25
|
+
&[disabled] {
|
26
|
+
cursor: default;
|
27
|
+
}
|
28
|
+
}
|
@@ -12,5 +12,5 @@ export declare class McOptgroup extends McOptgroupMixinBase implements CanDisabl
|
|
12
12
|
/** Unique id for the underlying label. */
|
13
13
|
labelId: string;
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<McOptgroup, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McOptgroup, "mc-optgroup", ["mcOptgroup"], { "disabled": "disabled"; "label": "label"; }, {}, never, ["mc-option, mc-list-option, mc-timezone-option, ng-container"], false>;
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McOptgroup, "mc-optgroup", ["mcOptgroup"], { "disabled": "disabled"; "label": "label"; }, {}, never, ["mc-option, mc-list-option, mc-timezone-option, ng-container"], false, never>;
|
16
16
|
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
@use 'sass:meta';
|
2
|
+
@use 'sass:map';
|
3
|
+
|
4
|
+
@use '../styles/common/vendor-prefixes';
|
5
|
+
@use '../styles/tokens';
|
6
|
+
|
7
|
+
|
8
|
+
$tokens: meta.module-variables(tokens) !default;
|
9
|
+
|
10
|
+
.mc-optgroup-label {
|
11
|
+
padding-left: var(--mc-optgroup-size-padding-left, map.get($tokens, optgroup-size-padding-left));
|
12
|
+
|
13
|
+
@include vendor-prefixes.user-select(none);
|
14
|
+
|
15
|
+
cursor: default;
|
16
|
+
}
|
package/core/option/option.d.ts
CHANGED
@@ -94,7 +94,7 @@ export declare class McOption implements AfterViewChecked, OnDestroy {
|
|
94
94
|
/** Emits the selection change event. */
|
95
95
|
private emitSelectionChangeEvent;
|
96
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<McOption, [null, null, { optional: true; }, { optional: true; }]>;
|
97
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McOption, "mc-option", ["mcOption"], { "value": "value"; "showCheckbox": "showCheckbox"; "disabled": "disabled"; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"], false>;
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McOption, "mc-option", ["mcOption"], { "value": "value"; "showCheckbox": "showCheckbox"; "disabled": "disabled"; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"], false, never>;
|
98
98
|
}
|
99
99
|
/**
|
100
100
|
* Counts the amount of option group labels that precede the specified option.
|