@ng-matero/extensions 12.7.0 → 13.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/README.md +2 -16
- package/_all-color.scss +1 -1
- package/_index.scss +1 -1
- package/_theming.scss +1 -1
- package/alert/_alert-theme.scss +2 -2
- package/alert/alert.component.d.ts +3 -0
- package/alert/alert.module.d.ts +6 -0
- package/alert/mtxAlert.d.ts +1 -0
- package/alert/package.json +5 -6
- package/button/button-loading.directive.d.ts +3 -0
- package/button/button.module.d.ts +8 -0
- package/button/mtxButton.d.ts +1 -0
- package/button/package.json +5 -6
- package/checkbox-group/checkbox-group.component.d.ts +3 -0
- package/checkbox-group/checkbox-group.module.d.ts +9 -0
- package/checkbox-group/mtxCheckboxGroup.d.ts +1 -0
- package/checkbox-group/package.json +5 -6
- package/colorpicker/_colorpicker-theme.scss +2 -2
- package/colorpicker/colorpicker-input.d.ts +3 -0
- package/colorpicker/colorpicker-module.d.ts +13 -0
- package/colorpicker/colorpicker-toggle.d.ts +5 -0
- package/colorpicker/colorpicker.d.ts +6 -1
- package/colorpicker/mtxColorpicker.d.ts +1 -0
- package/colorpicker/package.json +5 -6
- package/column-resize/column-resize-directives/column-resize-flex.d.ts +3 -0
- package/column-resize/column-resize-directives/column-resize.d.ts +3 -0
- package/column-resize/column-resize-module.d.ts +6 -7
- package/column-resize/column-resize-notifier.d.ts +5 -7
- package/column-resize/column-resize.d.ts +3 -0
- package/column-resize/column-size-store.d.ts +3 -7
- package/column-resize/event-dispatcher.d.ts +3 -0
- package/column-resize/mtxColumnResize.d.ts +1 -0
- package/column-resize/overlay-handle.d.ts +3 -0
- package/column-resize/package.json +5 -6
- package/column-resize/resizable.d.ts +3 -0
- package/column-resize/resize-strategy.d.ts +7 -0
- package/core/datetime/datetime.module.d.ts +8 -0
- package/core/datetime/native-datetime-adapter.d.ts +3 -0
- package/core/density/private/_compatibility.scss +74 -0
- package/core/mtxCore.d.ts +1 -0
- package/core/package.json +5 -6
- package/{pipes/public-api.d.ts → core/pipes/index.d.ts} +0 -0
- package/core/pipes/pipes.module.d.ts +8 -0
- package/{pipes → core/pipes}/to-observable.pipe.d.ts +3 -0
- package/core/public-api.d.ts +1 -0
- package/core/style/_elevation.scss +197 -0
- package/core/style/_private.scss +41 -0
- package/core/style/_variables.scss +44 -0
- package/core/style/_vendor-prefixes.scss +60 -0
- package/core/theming/_palette.scss +746 -0
- package/core/theming/_theming.scss +430 -0
- package/core/typography/_typography-utils.scss +101 -0
- package/core/typography/_typography.scss +273 -0
- package/datetimepicker/_datetimepicker-theme.scss +5 -5
- package/datetimepicker/calendar-body.d.ts +3 -0
- package/datetimepicker/calendar-body.scss +5 -4
- package/datetimepicker/calendar.d.ts +4 -1
- package/datetimepicker/clock.d.ts +3 -0
- package/datetimepicker/datetimepicker-input.d.ts +3 -0
- package/datetimepicker/datetimepicker-module.d.ts +18 -0
- package/datetimepicker/datetimepicker-toggle.d.ts +5 -0
- package/datetimepicker/datetimepicker-types.d.ts +1 -0
- package/datetimepicker/datetimepicker.d.ts +7 -2
- package/datetimepicker/month-view.d.ts +4 -1
- package/datetimepicker/mtxDatetimepicker.d.ts +1 -0
- package/datetimepicker/multi-year-view.d.ts +4 -1
- package/datetimepicker/package.json +5 -6
- package/datetimepicker/public-api.d.ts +1 -0
- package/datetimepicker/year-view.d.ts +4 -1
- package/dialog/dialog.component.d.ts +3 -0
- package/dialog/dialog.d.ts +3 -0
- package/dialog/dialog.module.d.ts +10 -0
- package/dialog/mtxDialog.d.ts +1 -0
- package/dialog/package.json +5 -6
- package/esm2020/alert/alert.component.mjs +52 -0
- package/esm2020/alert/alert.module.mjs +18 -0
- package/{esm2015/alert/mtxAlert.js → esm2020/alert/mtxAlert.mjs} +0 -0
- package/{esm2015/alert/public-api.js → esm2020/alert/public-api.mjs} +0 -0
- package/esm2020/button/button-loading.directive.mjs +79 -0
- package/esm2020/button/button.module.mjs +20 -0
- package/{esm2015/button/mtxButton.js → esm2020/button/mtxButton.mjs} +0 -0
- package/{esm2015/button/public-api.js → esm2020/button/public-api.mjs} +0 -0
- package/esm2020/checkbox-group/checkbox-group.component.mjs +234 -0
- package/{esm2015/checkbox-group/checkbox-group.interface.js → esm2020/checkbox-group/checkbox-group.interface.mjs} +0 -0
- package/esm2020/checkbox-group/checkbox-group.module.mjs +21 -0
- package/{esm2015/checkbox-group/mtxCheckboxGroup.js → esm2020/checkbox-group/mtxCheckboxGroup.mjs} +0 -0
- package/{esm2015/checkbox-group/public-api.js → esm2020/checkbox-group/public-api.mjs} +0 -0
- package/{esm2015/colorpicker/colorpicker-animations.js → esm2020/colorpicker/colorpicker-animations.mjs} +0 -0
- package/esm2020/colorpicker/colorpicker-input.mjs +228 -0
- package/esm2020/colorpicker/colorpicker-module.mjs +65 -0
- package/esm2020/colorpicker/colorpicker-toggle.mjs +90 -0
- package/esm2020/colorpicker/colorpicker.mjs +363 -0
- package/{esm2015/colorpicker/mtxColorpicker.js → esm2020/colorpicker/mtxColorpicker.mjs} +0 -0
- package/{esm2015/colorpicker/public-api.js → esm2020/colorpicker/public-api.mjs} +0 -0
- package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +45 -0
- package/esm2020/column-resize/column-resize-directives/column-resize.mjs +45 -0
- package/{esm2015/column-resize/column-resize-directives/constants.js → esm2020/column-resize/column-resize-directives/constants.mjs} +0 -0
- package/esm2020/column-resize/column-resize-module.mjs +28 -0
- package/esm2020/column-resize/column-resize-notifier.mjs +47 -0
- package/esm2020/column-resize/column-resize.mjs +82 -0
- package/esm2020/column-resize/column-size-store.mjs +20 -0
- package/esm2020/column-resize/event-dispatcher.mjs +67 -0
- package/{esm2015/column-resize/mtxColumnResize.js → esm2020/column-resize/mtxColumnResize.mjs} +0 -0
- package/esm2020/column-resize/overlay-handle.mjs +146 -0
- package/{esm2015/column-resize/polyfill.js → esm2020/column-resize/polyfill.mjs} +0 -0
- package/{esm2015/column-resize/public-api.js → esm2020/column-resize/public-api.mjs} +0 -0
- package/esm2020/column-resize/resizable.mjs +199 -0
- package/{esm2015/column-resize/resize-ref.js → esm2020/column-resize/resize-ref.mjs} +0 -0
- package/esm2020/column-resize/resize-strategy.mjs +232 -0
- package/{esm2015/column-resize/selectors.js → esm2020/column-resize/selectors.mjs} +0 -0
- package/{esm2015/core/datetime/datetime-adapter.js → esm2020/core/datetime/datetime-adapter.mjs} +0 -0
- package/{esm2015/core/datetime/datetime-formats.js → esm2020/core/datetime/datetime-formats.mjs} +0 -0
- package/esm2020/core/datetime/datetime.module.mjs +42 -0
- package/{esm2015/core/datetime/index.js → esm2020/core/datetime/index.mjs} +0 -0
- package/esm2020/core/datetime/native-datetime-adapter.mjs +138 -0
- package/{esm2015/core/datetime/native-datetime-formats.js → esm2020/core/datetime/native-datetime-formats.mjs} +0 -0
- package/{esm2015/core/mtxCore.js → esm2020/core/mtxCore.mjs} +0 -0
- package/esm2020/core/pipes/index.mjs +3 -0
- package/esm2020/core/pipes/pipes.module.mjs +18 -0
- package/esm2020/core/pipes/to-observable.pipe.mjs +15 -0
- package/{esm2015/core/public-api.js → esm2020/core/public-api.mjs} +2 -1
- package/esm2020/datetimepicker/calendar-body.mjs +78 -0
- package/esm2020/datetimepicker/calendar.mjs +618 -0
- package/esm2020/datetimepicker/clock.mjs +277 -0
- package/{esm2015/datetimepicker/datetimepicker-animations.js → esm2020/datetimepicker/datetimepicker-animations.mjs} +0 -0
- package/{esm2015/datetimepicker/datetimepicker-errors.js → esm2020/datetimepicker/datetimepicker-errors.mjs} +0 -0
- package/{esm2015/datetimepicker/datetimepicker-filtertype.js → esm2020/datetimepicker/datetimepicker-filtertype.mjs} +0 -0
- package/esm2020/datetimepicker/datetimepicker-input.mjs +344 -0
- package/esm2020/datetimepicker/datetimepicker-module.mjs +75 -0
- package/esm2020/datetimepicker/datetimepicker-toggle.mjs +94 -0
- package/esm2020/datetimepicker/datetimepicker-types.mjs +2 -0
- package/esm2020/datetimepicker/datetimepicker.mjs +492 -0
- package/esm2020/datetimepicker/month-view.mjs +148 -0
- package/{esm2015/datetimepicker/mtxDatetimepicker.js → esm2020/datetimepicker/mtxDatetimepicker.mjs} +0 -0
- package/esm2020/datetimepicker/multi-year-view.mjs +214 -0
- package/{esm2015/datetimepicker/public-api.js → esm2020/datetimepicker/public-api.mjs} +2 -1
- package/esm2020/datetimepicker/year-view.mjs +138 -0
- package/{esm2015/dialog/dialog-config.js → esm2020/dialog/dialog-config.mjs} +0 -0
- package/esm2020/dialog/dialog.component.mjs +33 -0
- package/esm2020/dialog/dialog.mjs +74 -0
- package/esm2020/dialog/dialog.module.mjs +24 -0
- package/{esm2015/dialog/mtxDialog.js → esm2020/dialog/mtxDialog.mjs} +0 -0
- package/{esm2015/dialog/public-api.js → esm2020/dialog/public-api.mjs} +0 -0
- package/esm2020/form-group/form-group.component.mjs +37 -0
- package/esm2020/form-group/form-group.module.mjs +18 -0
- package/{esm2015/form-group/mtxFormGroup.js → esm2020/form-group/mtxFormGroup.mjs} +0 -0
- package/{esm2015/form-group/public-api.js → esm2020/form-group/public-api.mjs} +0 -0
- package/esm2020/grid/cell.component.mjs +108 -0
- package/esm2020/grid/column-menu.component.mjs +95 -0
- package/esm2020/grid/column-resize/column-resize-directives/column-resize-flex.mjs +37 -0
- package/esm2020/grid/column-resize/column-resize-directives/column-resize.mjs +37 -0
- package/{esm2015/grid/column-resize/column-resize-directives/common.js → esm2020/grid/column-resize/column-resize-directives/common.mjs} +0 -0
- package/esm2020/grid/column-resize/column-resize-module.mjs +42 -0
- package/esm2020/grid/column-resize/overlay-handle.mjs +60 -0
- package/{esm2015/grid/column-resize/resizable-directives/common.js → esm2020/grid/column-resize/resizable-directives/common.mjs} +0 -0
- package/esm2020/grid/column-resize/resizable-directives/resizable.mjs +62 -0
- package/esm2020/grid/column-resize/resize-strategy.mjs +42 -0
- package/esm2020/grid/expansion-toggle.directive.mjs +64 -0
- package/esm2020/grid/grid.component.mjs +556 -0
- package/{esm2015/grid/grid.interface.js → esm2020/grid/grid.interface.mjs} +0 -0
- package/esm2020/grid/grid.module.mjs +117 -0
- package/esm2020/grid/grid.service.mjs +44 -0
- package/{esm2015/grid/mtxGrid.js → esm2020/grid/mtxGrid.mjs} +0 -0
- package/esm2020/grid/public-api.mjs +16 -0
- package/esm2020/loader/loader.component.mjs +63 -0
- package/esm2020/loader/loader.module.mjs +20 -0
- package/{esm2015/loader/mtxLoader.js → esm2020/loader/mtxLoader.mjs} +0 -0
- package/{esm2015/loader/public-api.js → esm2020/loader/public-api.mjs} +0 -0
- package/esm2020/ng-matero-extensions.mjs +5 -0
- package/{esm2015/popover/mtxPopover.js → esm2020/popover/mtxPopover.mjs} +0 -0
- package/{esm2015/popover/popover-animations.js → esm2020/popover/popover-animations.mjs} +0 -0
- package/{esm2015/popover/popover-errors.js → esm2020/popover/popover-errors.mjs} +0 -0
- package/{esm2015/popover/popover-interfaces.js → esm2020/popover/popover-interfaces.mjs} +0 -0
- package/esm2020/popover/popover-module.mjs +22 -0
- package/esm2020/popover/popover-target.mjs +17 -0
- package/esm2020/popover/popover-trigger.mjs +441 -0
- package/{esm2015/popover/popover-types.js → esm2020/popover/popover-types.mjs} +0 -0
- package/esm2020/popover/popover.mjs +334 -0
- package/{esm2015/popover/public-api.js → esm2020/popover/public-api.mjs} +0 -0
- package/{esm2015/progress/mtxProgress.js → esm2020/progress/mtxProgress.mjs} +0 -0
- package/esm2020/progress/progress.component.mjs +55 -0
- package/esm2020/progress/progress.module.mjs +18 -0
- package/{esm2015/progress/public-api.js → esm2020/progress/public-api.mjs} +0 -0
- package/esm2020/public-api.mjs +5 -0
- package/{esm2015/select/mtxSelect.js → esm2020/select/mtxSelect.mjs} +0 -0
- package/{esm2015/select/option.component.js → esm2020/select/option.component.mjs} +18 -26
- package/{esm2015/select/public-api.js → esm2020/select/public-api.mjs} +0 -0
- package/esm2020/select/select.component.mjs +458 -0
- package/esm2020/select/select.module.mjs +74 -0
- package/esm2020/select/templates.directive.mjs +124 -0
- package/{esm2015/slider/mtxSlider.js → esm2020/slider/mtxSlider.mjs} +0 -0
- package/{esm2015/slider/public-api.js → esm2020/slider/public-api.mjs} +0 -0
- package/esm2020/slider/slider-module.mjs +19 -0
- package/esm2020/slider/slider.mjs +1115 -0
- package/{esm2015/split/interface.js → esm2020/split/interface.mjs} +0 -0
- package/{esm2015/split/mtxSplit.js → esm2020/split/mtxSplit.mjs} +0 -0
- package/{esm2015/split/public-api.js → esm2020/split/public-api.mjs} +0 -0
- package/esm2020/split/split-pane.directive.mjs +149 -0
- package/esm2020/split/split.component.mjs +619 -0
- package/esm2020/split/split.module.mjs +19 -0
- package/{esm2015/split/utils.js → esm2020/split/utils.mjs} +0 -0
- package/{esm2015/text3d/mtxText3d.js → esm2020/text3d/mtxText3d.mjs} +0 -0
- package/{esm2015/text3d/public-api.js → esm2020/text3d/public-api.mjs} +0 -0
- package/esm2020/text3d/text3d.component.mjs +45 -0
- package/esm2020/text3d/text3d.module.mjs +18 -0
- package/{esm2015/tooltip/mtxTooltip.js → esm2020/tooltip/mtxTooltip.mjs} +0 -0
- package/{esm2015/tooltip/public-api.js → esm2020/tooltip/public-api.mjs} +0 -0
- package/{esm2015/tooltip/tooltip-animations.js → esm2020/tooltip/tooltip-animations.mjs} +0 -0
- package/esm2020/tooltip/tooltip-module.mjs +23 -0
- package/esm2020/tooltip/tooltip.mjs +674 -0
- package/fesm2015/mtxAlert.mjs +74 -0
- package/fesm2015/mtxAlert.mjs.map +1 -0
- package/fesm2015/mtxButton.mjs +102 -0
- package/fesm2015/mtxButton.mjs.map +1 -0
- package/fesm2015/mtxCheckboxGroup.mjs +257 -0
- package/fesm2015/mtxCheckboxGroup.mjs.map +1 -0
- package/fesm2015/mtxColorpicker.mjs +754 -0
- package/fesm2015/mtxColorpicker.mjs.map +1 -0
- package/fesm2015/{mtxColumnResize.js → mtxColumnResize.mjs} +108 -145
- package/fesm2015/mtxColumnResize.mjs.map +1 -0
- package/fesm2015/mtxCore.mjs +362 -0
- package/fesm2015/mtxCore.mjs.map +1 -0
- package/fesm2015/mtxDatetimepicker.mjs +2474 -0
- package/fesm2015/mtxDatetimepicker.mjs.map +1 -0
- package/fesm2015/mtxDialog.mjs +128 -0
- package/fesm2015/mtxDialog.mjs.map +1 -0
- package/fesm2015/mtxFormGroup.mjs +59 -0
- package/fesm2015/mtxFormGroup.mjs.map +1 -0
- package/fesm2015/mtxGrid.mjs +1271 -0
- package/fesm2015/mtxGrid.mjs.map +1 -0
- package/fesm2015/mtxLoader.mjs +87 -0
- package/fesm2015/mtxLoader.mjs.map +1 -0
- package/fesm2015/mtxPopover.mjs +865 -0
- package/fesm2015/mtxPopover.mjs.map +1 -0
- package/fesm2015/mtxProgress.mjs +77 -0
- package/fesm2015/mtxProgress.mjs.map +1 -0
- package/fesm2015/mtxSelect.mjs +712 -0
- package/fesm2015/mtxSelect.mjs.map +1 -0
- package/fesm2015/mtxSlider.mjs +1139 -0
- package/fesm2015/mtxSlider.mjs.map +1 -0
- package/fesm2015/{mtxSplit.js → mtxSplit.mjs} +75 -85
- package/fesm2015/mtxSplit.mjs.map +1 -0
- package/fesm2015/mtxText3d.mjs +67 -0
- package/fesm2015/mtxText3d.mjs.map +1 -0
- package/fesm2015/{mtxTooltip.js → mtxTooltip.mjs} +83 -86
- package/fesm2015/mtxTooltip.mjs.map +1 -0
- package/fesm2015/ng-matero-extensions.mjs +9 -0
- package/fesm2015/ng-matero-extensions.mjs.map +1 -0
- package/fesm2020/mtxAlert.mjs +74 -0
- package/fesm2020/mtxAlert.mjs.map +1 -0
- package/fesm2020/mtxButton.mjs +102 -0
- package/fesm2020/mtxButton.mjs.map +1 -0
- package/fesm2020/mtxCheckboxGroup.mjs +257 -0
- package/fesm2020/mtxCheckboxGroup.mjs.map +1 -0
- package/{fesm2015/mtxColorpicker.js → fesm2020/mtxColorpicker.mjs} +420 -413
- package/fesm2020/mtxColorpicker.mjs.map +1 -0
- package/fesm2020/mtxColumnResize.mjs +953 -0
- package/fesm2020/mtxColumnResize.mjs.map +1 -0
- package/{fesm2015/mtxCore.js → fesm2020/mtxCore.mjs} +75 -42
- package/fesm2020/mtxCore.mjs.map +1 -0
- package/{fesm2015/mtxDatetimepicker.js → fesm2020/mtxDatetimepicker.mjs} +1300 -1306
- package/fesm2020/mtxDatetimepicker.mjs.map +1 -0
- package/fesm2020/mtxDialog.mjs +129 -0
- package/fesm2020/mtxDialog.mjs.map +1 -0
- package/fesm2020/mtxFormGroup.mjs +59 -0
- package/fesm2020/mtxFormGroup.mjs.map +1 -0
- package/fesm2020/mtxGrid.mjs +1259 -0
- package/fesm2020/mtxGrid.mjs.map +1 -0
- package/fesm2020/mtxLoader.mjs +87 -0
- package/fesm2020/mtxLoader.mjs.map +1 -0
- package/{fesm2015/mtxPopover.js → fesm2020/mtxPopover.mjs} +120 -111
- package/fesm2020/mtxPopover.mjs.map +1 -0
- package/fesm2020/mtxProgress.mjs +77 -0
- package/fesm2020/mtxProgress.mjs.map +1 -0
- package/fesm2020/mtxSelect.mjs +709 -0
- package/fesm2020/mtxSelect.mjs.map +1 -0
- package/{fesm2015/mtxSlider.js → fesm2020/mtxSlider.mjs} +97 -94
- package/fesm2020/mtxSlider.mjs.map +1 -0
- package/fesm2020/mtxSplit.mjs +1007 -0
- package/fesm2020/mtxSplit.mjs.map +1 -0
- package/fesm2020/mtxText3d.mjs +67 -0
- package/fesm2020/mtxText3d.mjs.map +1 -0
- package/fesm2020/mtxTooltip.mjs +718 -0
- package/fesm2020/mtxTooltip.mjs.map +1 -0
- package/fesm2020/ng-matero-extensions.mjs +9 -0
- package/fesm2020/ng-matero-extensions.mjs.map +1 -0
- package/form-group/_form-group-theme.scss +1 -1
- package/form-group/form-group.component.d.ts +3 -0
- package/form-group/form-group.module.d.ts +6 -0
- package/form-group/mtxFormGroup.d.ts +1 -0
- package/form-group/package.json +5 -6
- package/grid/_grid-theme.scss +1 -1
- package/grid/cell.component.d.ts +3 -0
- package/grid/column-menu.component.d.ts +3 -0
- package/grid/column-menu.component.scss +1 -1
- package/grid/column-resize/_column-resize.scss +3 -3
- package/grid/column-resize/column-resize-directives/column-resize-flex.d.ts +3 -0
- package/grid/column-resize/column-resize-directives/column-resize.d.ts +3 -0
- package/grid/column-resize/column-resize-module.d.ts +12 -7
- package/grid/column-resize/overlay-handle.d.ts +3 -0
- package/grid/column-resize/resizable-directives/resizable.d.ts +3 -0
- package/grid/column-resize/resize-strategy.d.ts +3 -0
- package/grid/expansion-toggle.directive.d.ts +3 -0
- package/grid/grid.component.d.ts +20 -1
- package/grid/grid.module.d.ts +26 -0
- package/grid/grid.service.d.ts +3 -0
- package/grid/mtxGrid.d.ts +1 -0
- package/grid/package.json +5 -6
- package/grid/public-api.d.ts +0 -1
- package/loader/_loader-theme.scss +1 -1
- package/loader/loader.component.d.ts +3 -0
- package/loader/loader.module.d.ts +8 -0
- package/loader/mtxLoader.d.ts +1 -0
- package/loader/package.json +5 -6
- package/{extensions.d.ts → ng-matero-extensions.d.ts} +1 -0
- package/package.json +171 -15
- package/popover/_popover-theme.scss +1 -1
- package/popover/mtxPopover.d.ts +1 -0
- package/popover/package.json +5 -6
- package/popover/popover-module.d.ts +10 -0
- package/popover/popover-target.d.ts +3 -0
- package/popover/popover-trigger.d.ts +3 -0
- package/popover/popover.d.ts +3 -0
- package/progress/_progress-theme.scss +2 -2
- package/progress/mtxProgress.d.ts +1 -0
- package/progress/package.json +5 -6
- package/progress/progress.component.d.ts +3 -0
- package/progress/progress.module.d.ts +6 -0
- package/public-api.d.ts +2 -19
- package/select/_select-theme.scss +1 -1
- package/select/mtxSelect.d.ts +1 -0
- package/select/option.component.d.ts +3 -0
- package/select/package.json +5 -6
- package/select/select.component.d.ts +3 -0
- package/select/select.component.scss +1 -1
- package/select/select.module.d.ts +10 -0
- package/select/templates.directive.d.ts +23 -0
- package/slider/_slider-theme.scss +4 -4
- package/slider/mtxSlider.d.ts +1 -0
- package/slider/package.json +5 -6
- package/slider/slider-module.d.ts +7 -0
- package/slider/slider.d.ts +4 -1
- package/slider/slider.scss +7 -7
- package/split/_split-theme.scss +1 -1
- package/split/mtxSplit.d.ts +1 -0
- package/split/package.json +5 -6
- package/split/split-pane.directive.d.ts +3 -0
- package/split/split.component.d.ts +4 -1
- package/split/split.module.d.ts +7 -0
- package/text3d/_text3d-theme.scss +2 -2
- package/text3d/mtxText3d.d.ts +1 -0
- package/text3d/package.json +5 -6
- package/text3d/text3d.component.d.ts +3 -0
- package/text3d/text3d.module.d.ts +6 -0
- package/tooltip/_tooltip-theme.scss +3 -3
- package/tooltip/mtxTooltip.d.ts +1 -0
- package/tooltip/package.json +5 -6
- package/tooltip/tooltip-module.d.ts +10 -0
- package/tooltip/tooltip.d.ts +5 -0
- package/tooltip/tooltip.scss +1 -1
- package/alert/mtxAlert.metadata.json +0 -1
- package/bundles/extensions.umd.js +0 -164
- package/bundles/extensions.umd.js.map +0 -1
- package/bundles/mtxAlert.umd.js +0 -101
- package/bundles/mtxAlert.umd.js.map +0 -1
- package/bundles/mtxButton.umd.js +0 -119
- package/bundles/mtxButton.umd.js.map +0 -1
- package/bundles/mtxCheckboxGroup.umd.js +0 -284
- package/bundles/mtxCheckboxGroup.umd.js.map +0 -1
- package/bundles/mtxColorpicker.umd.js +0 -1123
- package/bundles/mtxColorpicker.umd.js.map +0 -1
- package/bundles/mtxColumnResize.umd.js +0 -1339
- package/bundles/mtxColumnResize.umd.js.map +0 -1
- package/bundles/mtxCore.umd.js +0 -670
- package/bundles/mtxCore.umd.js.map +0 -1
- package/bundles/mtxDatetimepicker.umd.js +0 -3045
- package/bundles/mtxDatetimepicker.umd.js.map +0 -1
- package/bundles/mtxDialog.umd.js +0 -158
- package/bundles/mtxDialog.umd.js.map +0 -1
- package/bundles/mtxFormGroup.umd.js +0 -73
- package/bundles/mtxFormGroup.umd.js.map +0 -1
- package/bundles/mtxGrid.umd.js +0 -1581
- package/bundles/mtxGrid.umd.js.map +0 -1
- package/bundles/mtxLoader.umd.js +0 -107
- package/bundles/mtxLoader.umd.js.map +0 -1
- package/bundles/mtxPipes.umd.js +0 -44
- package/bundles/mtxPipes.umd.js.map +0 -1
- package/bundles/mtxPopover.umd.js +0 -1260
- package/bundles/mtxPopover.umd.js.map +0 -1
- package/bundles/mtxProgress.umd.js +0 -92
- package/bundles/mtxProgress.umd.js.map +0 -1
- package/bundles/mtxSelect.umd.js +0 -1097
- package/bundles/mtxSelect.umd.js.map +0 -1
- package/bundles/mtxSlider.umd.js +0 -1551
- package/bundles/mtxSlider.umd.js.map +0 -1
- package/bundles/mtxSplit.umd.js +0 -1431
- package/bundles/mtxSplit.umd.js.map +0 -1
- package/bundles/mtxText3d.umd.js +0 -84
- package/bundles/mtxText3d.umd.js.map +0 -1
- package/bundles/mtxTooltip.umd.js +0 -1083
- package/bundles/mtxTooltip.umd.js.map +0 -1
- package/button/mtxButton.metadata.json +0 -1
- package/checkbox-group/mtxCheckboxGroup.metadata.json +0 -1
- package/colorpicker/mtxColorpicker.metadata.json +0 -1
- package/column-resize/mtxColumnResize.metadata.json +0 -1
- package/core/mtxCore.metadata.json +0 -1
- package/datetimepicker/mtxDatetimepicker.metadata.json +0 -1
- package/dialog/mtxDialog.metadata.json +0 -1
- package/esm2015/alert/alert.component.js +0 -63
- package/esm2015/alert/alert.module.js +0 -14
- package/esm2015/button/button-loading.directive.js +0 -89
- package/esm2015/button/button.module.js +0 -16
- package/esm2015/checkbox-group/checkbox-group.component.js +0 -235
- package/esm2015/checkbox-group/checkbox-group.module.js +0 -17
- package/esm2015/colorpicker/colorpicker-input.js +0 -228
- package/esm2015/colorpicker/colorpicker-module.js +0 -41
- package/esm2015/colorpicker/colorpicker-toggle.js +0 -97
- package/esm2015/colorpicker/colorpicker.js +0 -372
- package/esm2015/column-resize/column-resize-directives/column-resize-flex.js +0 -54
- package/esm2015/column-resize/column-resize-directives/column-resize.js +0 -54
- package/esm2015/column-resize/column-resize-module.js +0 -24
- package/esm2015/column-resize/column-resize-notifier.js +0 -54
- package/esm2015/column-resize/column-resize.js +0 -80
- package/esm2015/column-resize/column-size-store.js +0 -18
- package/esm2015/column-resize/event-dispatcher.js +0 -75
- package/esm2015/column-resize/overlay-handle.js +0 -144
- package/esm2015/column-resize/resizable.js +0 -197
- package/esm2015/column-resize/resize-strategy.js +0 -245
- package/esm2015/core/datetime/datetime.module.js +0 -32
- package/esm2015/core/datetime/native-datetime-adapter.js +0 -144
- package/esm2015/datetimepicker/calendar-body.js +0 -76
- package/esm2015/datetimepicker/calendar.js +0 -614
- package/esm2015/datetimepicker/clock.js +0 -283
- package/esm2015/datetimepicker/datetimepicker-input.js +0 -336
- package/esm2015/datetimepicker/datetimepicker-module.js +0 -52
- package/esm2015/datetimepicker/datetimepicker-toggle.js +0 -103
- package/esm2015/datetimepicker/datetimepicker.js +0 -490
- package/esm2015/datetimepicker/month-view.js +0 -150
- package/esm2015/datetimepicker/multi-year-view.js +0 -215
- package/esm2015/datetimepicker/year-view.js +0 -141
- package/esm2015/dialog/dialog.component.js +0 -40
- package/esm2015/dialog/dialog.js +0 -81
- package/esm2015/dialog/dialog.module.js +0 -21
- package/esm2015/extensions-experimental.module.js +0 -13
- package/esm2015/extensions.js +0 -5
- package/esm2015/extensions.module.js +0 -40
- package/esm2015/form-group/form-group.component.js +0 -40
- package/esm2015/form-group/form-group.module.js +0 -14
- package/esm2015/grid/cell-selection.directive.js +0 -62
- package/esm2015/grid/cell.component.js +0 -115
- package/esm2015/grid/column-menu.component.js +0 -72
- package/esm2015/grid/column-resize/column-resize-directives/column-resize-flex.js +0 -47
- package/esm2015/grid/column-resize/column-resize-directives/column-resize.js +0 -47
- package/esm2015/grid/column-resize/column-resize-module.js +0 -36
- package/esm2015/grid/column-resize/overlay-handle.js +0 -68
- package/esm2015/grid/column-resize/resizable-directives/resizable.js +0 -75
- package/esm2015/grid/column-resize/resize-strategy.js +0 -45
- package/esm2015/grid/expansion-toggle.directive.js +0 -62
- package/esm2015/grid/grid.component.js +0 -418
- package/esm2015/grid/grid.module.js +0 -69
- package/esm2015/grid/grid.service.js +0 -50
- package/esm2015/grid/public-api.js +0 -17
- package/esm2015/loader/loader.component.js +0 -69
- package/esm2015/loader/loader.module.js +0 -16
- package/esm2015/pipes/mtxPipes.js +0 -5
- package/esm2015/pipes/pipes.module.js +0 -14
- package/esm2015/pipes/public-api.js +0 -3
- package/esm2015/pipes/to-observable.pipe.js +0 -12
- package/esm2015/popover/popover-module.js +0 -18
- package/esm2015/popover/popover-target.js +0 -24
- package/esm2015/popover/popover-trigger.js +0 -434
- package/esm2015/popover/popover.js +0 -326
- package/esm2015/progress/progress.component.js +0 -54
- package/esm2015/progress/progress.module.js +0 -14
- package/esm2015/public-api.js +0 -23
- package/esm2015/select/select.component.js +0 -380
- package/esm2015/select/select.module.js +0 -46
- package/esm2015/select/templates.directive.js +0 -211
- package/esm2015/slider/slider-module.js +0 -15
- package/esm2015/slider/slider.js +0 -1115
- package/esm2015/split/split-pane.directive.js +0 -156
- package/esm2015/split/split.component.js +0 -624
- package/esm2015/split/split.module.js +0 -15
- package/esm2015/text3d/text3d.component.js +0 -45
- package/esm2015/text3d/text3d.module.js +0 -14
- package/esm2015/tooltip/tooltip-module.js +0 -20
- package/esm2015/tooltip/tooltip.js +0 -683
- package/extensions-experimental.module.d.ts +0 -2
- package/extensions.metadata.json +0 -1
- package/extensions.module.d.ts +0 -2
- package/fesm2015/extensions.js +0 -80
- package/fesm2015/extensions.js.map +0 -1
- package/fesm2015/mtxAlert.js +0 -82
- package/fesm2015/mtxAlert.js.map +0 -1
- package/fesm2015/mtxButton.js +0 -108
- package/fesm2015/mtxButton.js.map +0 -1
- package/fesm2015/mtxCheckboxGroup.js +0 -255
- package/fesm2015/mtxCheckboxGroup.js.map +0 -1
- package/fesm2015/mtxColorpicker.js.map +0 -1
- package/fesm2015/mtxColumnResize.js.map +0 -1
- package/fesm2015/mtxCore.js.map +0 -1
- package/fesm2015/mtxDatetimepicker.js.map +0 -1
- package/fesm2015/mtxDialog.js +0 -141
- package/fesm2015/mtxDialog.js.map +0 -1
- package/fesm2015/mtxFormGroup.js +0 -59
- package/fesm2015/mtxFormGroup.js.map +0 -1
- package/fesm2015/mtxGrid.js +0 -1186
- package/fesm2015/mtxGrid.js.map +0 -1
- package/fesm2015/mtxLoader.js +0 -90
- package/fesm2015/mtxLoader.js.map +0 -1
- package/fesm2015/mtxPipes.js +0 -31
- package/fesm2015/mtxPipes.js.map +0 -1
- package/fesm2015/mtxPopover.js.map +0 -1
- package/fesm2015/mtxProgress.js +0 -73
- package/fesm2015/mtxProgress.js.map +0 -1
- package/fesm2015/mtxSelect.js +0 -700
- package/fesm2015/mtxSelect.js.map +0 -1
- package/fesm2015/mtxSlider.js.map +0 -1
- package/fesm2015/mtxSplit.js.map +0 -1
- package/fesm2015/mtxText3d.js +0 -64
- package/fesm2015/mtxText3d.js.map +0 -1
- package/fesm2015/mtxTooltip.js.map +0 -1
- package/form-group/mtxFormGroup.metadata.json +0 -1
- package/grid/cell-selection.directive.d.ts +0 -17
- package/grid/mtxGrid.metadata.json +0 -1
- package/loader/mtxLoader.metadata.json +0 -1
- package/pipes/mtxPipes.d.ts +0 -4
- package/pipes/mtxPipes.metadata.json +0 -1
- package/pipes/package.json +0 -11
- package/pipes/pipes.module.d.ts +0 -2
- package/popover/mtxPopover.metadata.json +0 -1
- package/progress/mtxProgress.metadata.json +0 -1
- package/select/mtxSelect.metadata.json +0 -1
- package/slider/mtxSlider.metadata.json +0 -1
- package/split/mtxSplit.metadata.json +0 -1
- package/text3d/mtxText3d.metadata.json +0 -1
- package/tooltip/mtxTooltip.metadata.json +0 -1
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
@use 'sass:list';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
@use 'sass:meta';
|
|
4
|
+
// Note that this file is called `private`, because the APIs in it aren't public yet.
|
|
5
|
+
// Once they're made available, the code should be moved out into an `index.scss`.
|
|
6
|
+
|
|
7
|
+
// Taken from mat-density with small modifications to not rely on the new Sass module
|
|
8
|
+
// system, and to support arbitrary properties in a density configuration.
|
|
9
|
+
// https://github.com/material-components/material-components-web/blob/master/packages/mdc-density
|
|
10
|
+
|
|
11
|
+
$_density-interval: 4px !default;
|
|
12
|
+
$_minimum-scale: minimum !default;
|
|
13
|
+
$_maximum-scale: maximum !default;
|
|
14
|
+
$_supported-scales: (default, $_minimum-scale, $_maximum-scale) !default;
|
|
15
|
+
$_default-scale: 0 !default;
|
|
16
|
+
|
|
17
|
+
// Whether density should be generated at root. This will be temporarily set to `true`
|
|
18
|
+
// whenever density styles for legacy themes are generated.
|
|
19
|
+
$private-density-generate-at-root: false;
|
|
20
|
+
// Whether density styles should be generated. This will be temporarily set to `false` if
|
|
21
|
+
// duplicate density styles for a legacy theme would be generated. For legacy themes,
|
|
22
|
+
// we always generate the default density **only once** at root.
|
|
23
|
+
$private-density-generate-styles: true;
|
|
24
|
+
|
|
25
|
+
// Mixin that can be used to wrap density styles of given components. The mixin will
|
|
26
|
+
// move the density styles to root if the `$mat-private-density-generate-at-root` global variable
|
|
27
|
+
// is set. If `$mat-private-density-generate-styles` is set to `false`, generation of density
|
|
28
|
+
// styles wrapped in this mixin is skipped. This mixin exists to improve backwards compatibility
|
|
29
|
+
// of the new theming API where density styles are included as part of themes. Previously,
|
|
30
|
+
// density styles of components were part of their base styles. With the new API, they are
|
|
31
|
+
// part of the theming system. The `<..>-theme` mixins generate density by default unless
|
|
32
|
+
// the density configuration is explicitly specified as per new API. This means, that projects
|
|
33
|
+
// using `<..>-theme` mixins for separate themes (like `.dark-theme`) will cause duplicate
|
|
34
|
+
// density styles. This is breaking as it increases specificity of density styles. This mixin
|
|
35
|
+
// provides an API to control generation of density styles so that we can ensure they are only
|
|
36
|
+
// created *once* and at root.
|
|
37
|
+
@mixin private-density-legacy-compatibility() {
|
|
38
|
+
@if $private-density-generate-styles and $private-density-generate-at-root {
|
|
39
|
+
@at-root {
|
|
40
|
+
@content;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
@else if $private-density-generate-styles {
|
|
44
|
+
@content;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@function private-density-prop-value($density-config, $density-scale, $property-name) {
|
|
49
|
+
@if (meta.type-of($density-scale) == 'string' and
|
|
50
|
+
list.index($list: $_supported-scales, $value: $density-scale) == null) {
|
|
51
|
+
@error 'mat-density: Supported density scales #{$_supported-scales}, ' +
|
|
52
|
+
'but received #{$density-scale}.';
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
$value: null;
|
|
56
|
+
$property-scale-map: map.get($density-config, $property-name);
|
|
57
|
+
|
|
58
|
+
@if map.has-key($property-scale-map, $density-scale) {
|
|
59
|
+
$value: map.get($property-scale-map, $density-scale);
|
|
60
|
+
}
|
|
61
|
+
@else {
|
|
62
|
+
$value: map.get($property-scale-map, default) + $density-scale * $_density-interval;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
$min-value: map.get($property-scale-map, $_minimum-scale);
|
|
66
|
+
$max-value: map.get($property-scale-map, $_maximum-scale);
|
|
67
|
+
|
|
68
|
+
@if ($value < $min-value or $value > $max-value) {
|
|
69
|
+
@error 'mat-density: #{$property-name} must be between #{$min-value} and ' +
|
|
70
|
+
'#{$max-value} (inclusive), but received #{$value}.';
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@return $value;
|
|
74
|
+
}
|
package/core/mtxCore.d.ts
CHANGED
package/core/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/mtxCore.
|
|
2
|
+
"module": "../fesm2015/mtxCore.mjs",
|
|
3
|
+
"es2020": "../fesm2020/mtxCore.mjs",
|
|
4
|
+
"esm2020": "../esm2020/core/mtxCore.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/mtxCore.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/mtxCore.mjs",
|
|
7
7
|
"typings": "mtxCore.d.ts",
|
|
8
|
-
"metadata": "mtxCore.metadata.json",
|
|
9
8
|
"sideEffects": false,
|
|
10
9
|
"name": "@ng-matero/extensions/core"
|
|
11
10
|
}
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./to-observable.pipe";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class MtxPipesModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxPipesModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxPipesModule, [typeof i1.MtxToObservablePipe], [typeof i2.CommonModule], [typeof i1.MtxToObservablePipe]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MtxPipesModule>;
|
|
8
|
+
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class MtxToObservablePipe implements PipeTransform {
|
|
4
5
|
transform(value: Observable<any> | unknown): Observable<any>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxToObservablePipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MtxToObservablePipe, "toObservable">;
|
|
5
8
|
}
|
package/core/public-api.d.ts
CHANGED
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:math';
|
|
3
|
+
@use 'sass:meta';
|
|
4
|
+
@use 'variables';
|
|
5
|
+
|
|
6
|
+
// A collection of mixins and CSS classes that can be used to apply elevation to a material
|
|
7
|
+
// element.
|
|
8
|
+
// See: https://material.io/design/environment/elevation.html
|
|
9
|
+
// Examples:
|
|
10
|
+
//
|
|
11
|
+
//
|
|
12
|
+
// .mat-foo {
|
|
13
|
+
// @include $mat-elevation(2);
|
|
14
|
+
//
|
|
15
|
+
// &:active {
|
|
16
|
+
// @include $mat-elevation(8);
|
|
17
|
+
// }
|
|
18
|
+
// }
|
|
19
|
+
//
|
|
20
|
+
// <div id="external-card" class="mat-elevation-z2"><p>Some content</p></div>
|
|
21
|
+
//
|
|
22
|
+
// For an explanation of the design behind how elevation is implemented, see the design doc at
|
|
23
|
+
// https://goo.gl/Kq0k9Z.
|
|
24
|
+
|
|
25
|
+
// Colors for umbra, penumbra, and ambient shadows. As described in the design doc, each elevation
|
|
26
|
+
// level is created using a set of 3 shadow values, one for umbra (the shadow representing the
|
|
27
|
+
// space completely obscured by an object relative to its light source), one for penumbra (the
|
|
28
|
+
// space partially obscured by an object), and one for ambient (the space which contains the object
|
|
29
|
+
// itself). For a further explanation of these terms and their meanings, see
|
|
30
|
+
// https://en.wikipedia.org/wiki/Umbra,_penumbra_and_antumbra.
|
|
31
|
+
|
|
32
|
+
// Maps for the different shadow sets and their values within each z-space. These values were
|
|
33
|
+
// created by taking a few reference shadow sets created by Google's Designers and interpolating
|
|
34
|
+
// all of the values between them.
|
|
35
|
+
|
|
36
|
+
@function _get-umbra-map($color, $opacity) {
|
|
37
|
+
$shadow-color: if(meta.type-of($color) == color, rgba($color, $opacity * .2), $color);
|
|
38
|
+
|
|
39
|
+
@return (
|
|
40
|
+
0: '0px 0px 0px 0px #{$shadow-color}',
|
|
41
|
+
1: '0px 2px 1px -1px #{$shadow-color}',
|
|
42
|
+
2: '0px 3px 1px -2px #{$shadow-color}',
|
|
43
|
+
3: '0px 3px 3px -2px #{$shadow-color}',
|
|
44
|
+
4: '0px 2px 4px -1px #{$shadow-color}',
|
|
45
|
+
5: '0px 3px 5px -1px #{$shadow-color}',
|
|
46
|
+
6: '0px 3px 5px -1px #{$shadow-color}',
|
|
47
|
+
7: '0px 4px 5px -2px #{$shadow-color}',
|
|
48
|
+
8: '0px 5px 5px -3px #{$shadow-color}',
|
|
49
|
+
9: '0px 5px 6px -3px #{$shadow-color}',
|
|
50
|
+
10: '0px 6px 6px -3px #{$shadow-color}',
|
|
51
|
+
11: '0px 6px 7px -4px #{$shadow-color}',
|
|
52
|
+
12: '0px 7px 8px -4px #{$shadow-color}',
|
|
53
|
+
13: '0px 7px 8px -4px #{$shadow-color}',
|
|
54
|
+
14: '0px 7px 9px -4px #{$shadow-color}',
|
|
55
|
+
15: '0px 8px 9px -5px #{$shadow-color}',
|
|
56
|
+
16: '0px 8px 10px -5px #{$shadow-color}',
|
|
57
|
+
17: '0px 8px 11px -5px #{$shadow-color}',
|
|
58
|
+
18: '0px 9px 11px -5px #{$shadow-color}',
|
|
59
|
+
19: '0px 9px 12px -6px #{$shadow-color}',
|
|
60
|
+
20: '0px 10px 13px -6px #{$shadow-color}',
|
|
61
|
+
21: '0px 10px 13px -6px #{$shadow-color}',
|
|
62
|
+
22: '0px 10px 14px -6px #{$shadow-color}',
|
|
63
|
+
23: '0px 11px 14px -7px #{$shadow-color}',
|
|
64
|
+
24: '0px 11px 15px -7px #{$shadow-color}'
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@function _get-penumbra-map($color, $opacity) {
|
|
69
|
+
$shadow-color: if(meta.type-of($color) == color, rgba($color, $opacity * .14), $color);
|
|
70
|
+
|
|
71
|
+
@return (
|
|
72
|
+
0: '0px 0px 0px 0px #{$shadow-color}',
|
|
73
|
+
1: '0px 1px 1px 0px #{$shadow-color}',
|
|
74
|
+
2: '0px 2px 2px 0px #{$shadow-color}',
|
|
75
|
+
3: '0px 3px 4px 0px #{$shadow-color}',
|
|
76
|
+
4: '0px 4px 5px 0px #{$shadow-color}',
|
|
77
|
+
5: '0px 5px 8px 0px #{$shadow-color}',
|
|
78
|
+
6: '0px 6px 10px 0px #{$shadow-color}',
|
|
79
|
+
7: '0px 7px 10px 1px #{$shadow-color}',
|
|
80
|
+
8: '0px 8px 10px 1px #{$shadow-color}',
|
|
81
|
+
9: '0px 9px 12px 1px #{$shadow-color}',
|
|
82
|
+
10: '0px 10px 14px 1px #{$shadow-color}',
|
|
83
|
+
11: '0px 11px 15px 1px #{$shadow-color}',
|
|
84
|
+
12: '0px 12px 17px 2px #{$shadow-color}',
|
|
85
|
+
13: '0px 13px 19px 2px #{$shadow-color}',
|
|
86
|
+
14: '0px 14px 21px 2px #{$shadow-color}',
|
|
87
|
+
15: '0px 15px 22px 2px #{$shadow-color}',
|
|
88
|
+
16: '0px 16px 24px 2px #{$shadow-color}',
|
|
89
|
+
17: '0px 17px 26px 2px #{$shadow-color}',
|
|
90
|
+
18: '0px 18px 28px 2px #{$shadow-color}',
|
|
91
|
+
19: '0px 19px 29px 2px #{$shadow-color}',
|
|
92
|
+
20: '0px 20px 31px 3px #{$shadow-color}',
|
|
93
|
+
21: '0px 21px 33px 3px #{$shadow-color}',
|
|
94
|
+
22: '0px 22px 35px 3px #{$shadow-color}',
|
|
95
|
+
23: '0px 23px 36px 3px #{$shadow-color}',
|
|
96
|
+
24: '0px 24px 38px 3px #{$shadow-color}'
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@function _get-ambient-map($color, $opacity) {
|
|
101
|
+
$shadow-color: if(meta.type-of($color) == color, rgba($color, $opacity * .12), $color);
|
|
102
|
+
|
|
103
|
+
@return (
|
|
104
|
+
0: '0px 0px 0px 0px #{$shadow-color}',
|
|
105
|
+
1: '0px 1px 3px 0px #{$shadow-color}',
|
|
106
|
+
2: '0px 1px 5px 0px #{$shadow-color}',
|
|
107
|
+
3: '0px 1px 8px 0px #{$shadow-color}',
|
|
108
|
+
4: '0px 1px 10px 0px #{$shadow-color}',
|
|
109
|
+
5: '0px 1px 14px 0px #{$shadow-color}',
|
|
110
|
+
6: '0px 1px 18px 0px #{$shadow-color}',
|
|
111
|
+
7: '0px 2px 16px 1px #{$shadow-color}',
|
|
112
|
+
8: '0px 3px 14px 2px #{$shadow-color}',
|
|
113
|
+
9: '0px 3px 16px 2px #{$shadow-color}',
|
|
114
|
+
10: '0px 4px 18px 3px #{$shadow-color}',
|
|
115
|
+
11: '0px 4px 20px 3px #{$shadow-color}',
|
|
116
|
+
12: '0px 5px 22px 4px #{$shadow-color}',
|
|
117
|
+
13: '0px 5px 24px 4px #{$shadow-color}',
|
|
118
|
+
14: '0px 5px 26px 4px #{$shadow-color}',
|
|
119
|
+
15: '0px 6px 28px 5px #{$shadow-color}',
|
|
120
|
+
16: '0px 6px 30px 5px #{$shadow-color}',
|
|
121
|
+
17: '0px 6px 32px 5px #{$shadow-color}',
|
|
122
|
+
18: '0px 7px 34px 6px #{$shadow-color}',
|
|
123
|
+
19: '0px 7px 36px 6px #{$shadow-color}',
|
|
124
|
+
20: '0px 8px 38px 7px #{$shadow-color}',
|
|
125
|
+
21: '0px 8px 40px 7px #{$shadow-color}',
|
|
126
|
+
22: '0px 8px 42px 7px #{$shadow-color}',
|
|
127
|
+
23: '0px 9px 44px 8px #{$shadow-color}',
|
|
128
|
+
24: '0px 9px 46px 8px #{$shadow-color}'
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// The default duration value for elevation transitions.
|
|
133
|
+
$transition-duration: 280ms !default;
|
|
134
|
+
|
|
135
|
+
// The default easing value for elevation transitions.
|
|
136
|
+
$transition-timing-function: variables.$fast-out-slow-in-timing-function;
|
|
137
|
+
|
|
138
|
+
// The default color for elevation shadows.
|
|
139
|
+
$color: black !default;
|
|
140
|
+
|
|
141
|
+
// The default opacity scaling value for elevation shadows.
|
|
142
|
+
$opacity: 1 !default;
|
|
143
|
+
|
|
144
|
+
// Prefix for elevation-related selectors.
|
|
145
|
+
$prefix: 'mat-elevation-z';
|
|
146
|
+
|
|
147
|
+
// Applies the correct css rules to an element to give it the elevation specified by $zValue.
|
|
148
|
+
// The $zValue must be between 0 and 24.
|
|
149
|
+
@mixin elevation($zValue, $color: $color, $opacity: $opacity) {
|
|
150
|
+
@if meta.type-of($zValue) != number or not math.is-unitless($zValue) {
|
|
151
|
+
@error '$zValue must be a unitless number';
|
|
152
|
+
}
|
|
153
|
+
@if $zValue < 0 or $zValue > 24 {
|
|
154
|
+
@error '$zValue must be between 0 and 24';
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
box-shadow:
|
|
158
|
+
#{map.get(_get-umbra-map($color, $opacity), $zValue)},
|
|
159
|
+
#{map.get(_get-penumbra-map($color, $opacity), $zValue)},
|
|
160
|
+
#{map.get(_get-ambient-map($color, $opacity), $zValue)};
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// Applies the elevation to an element in a manner that allows
|
|
164
|
+
// consumers to override it via the Material elevation classes.
|
|
165
|
+
@mixin overridable-elevation(
|
|
166
|
+
$zValue,
|
|
167
|
+
$color: $color,
|
|
168
|
+
$opacity: $opacity) {
|
|
169
|
+
&:not([class*='#{$prefix}']) {
|
|
170
|
+
@include elevation($zValue, $color, $opacity);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// Returns a string that can be used as the value for a transition property for elevation.
|
|
175
|
+
// Calling this function directly is useful in situations where a component needs to transition
|
|
176
|
+
// more than one property.
|
|
177
|
+
//
|
|
178
|
+
// .foo {
|
|
179
|
+
// transition: mat-elevation-transition-property-value(), opacity 100ms ease;
|
|
180
|
+
// }
|
|
181
|
+
@function private-transition-property-value(
|
|
182
|
+
$duration: $transition-duration,
|
|
183
|
+
$easing: $transition-timing-function) {
|
|
184
|
+
@return box-shadow #{$duration} #{$easing};
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// Applies the correct css rules needed to have an element transition between elevations.
|
|
188
|
+
// This mixin should be applied to elements whose elevation values will change depending on their
|
|
189
|
+
// context (e.g. when active or disabled).
|
|
190
|
+
//
|
|
191
|
+
// NOTE(traviskaufman): Both this mixin and the above function use default parameters so they can
|
|
192
|
+
// be used in the same way by clients.
|
|
193
|
+
@mixin elevation-transition(
|
|
194
|
+
$duration: $transition-duration,
|
|
195
|
+
$easing: $transition-timing-function) {
|
|
196
|
+
transition: private-transition-property-value($duration, $easing);
|
|
197
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use './elevation';
|
|
3
|
+
|
|
4
|
+
@mixin private-theme-elevation($zValue, $config, $opacity: elevation.$opacity) {
|
|
5
|
+
$foreground: map.get($config, foreground);
|
|
6
|
+
$elevation-color: map.get($foreground, elevation);
|
|
7
|
+
$elevation-color-or-default: if($elevation-color == null, elevation.$color, $elevation-color);
|
|
8
|
+
|
|
9
|
+
@include elevation.elevation($zValue, $elevation-color-or-default, $opacity);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@mixin private-theme-overridable-elevation($zValue, $config, $opacity: elevation.$opacity) {
|
|
13
|
+
$foreground: map.get($config, foreground);
|
|
14
|
+
$elevation-color: map.get($foreground, elevation);
|
|
15
|
+
$elevation-color-or-default: if($elevation-color == null, elevation.$color, $elevation-color);
|
|
16
|
+
|
|
17
|
+
@include elevation.overridable-elevation($zValue, $elevation-color-or-default, $opacity);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// If the mat-animation-noop class is present on the components root element,
|
|
21
|
+
// prevent non css animations from running.
|
|
22
|
+
// NOTE: Currently this mixin should only be used with components that do not
|
|
23
|
+
// have any projected content.
|
|
24
|
+
@mixin private-animation-noop() {
|
|
25
|
+
// @at-root is used to steps outside of the hierarchy of the scss rules. This is
|
|
26
|
+
// done to allow a class to be added to be added to base of the scss nesting
|
|
27
|
+
// context.
|
|
28
|
+
// For example:
|
|
29
|
+
// .my-root {
|
|
30
|
+
// .my-subclass {
|
|
31
|
+
// @include mat-private-animation-noop();
|
|
32
|
+
// }
|
|
33
|
+
// }
|
|
34
|
+
// results in:
|
|
35
|
+
// ._mat-animation-noopable.my-root .my-subclass { ... }
|
|
36
|
+
@at-root ._mat-animation-noopable#{&} {
|
|
37
|
+
transition: none;
|
|
38
|
+
animation: none;
|
|
39
|
+
@content;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Media queries
|
|
2
|
+
// TODO(josephperrott): Change $mat-xsmall and $mat-small usages to rely on BreakpointObserver,
|
|
3
|
+
$xsmall: 'max-width: 599px';
|
|
4
|
+
$small: 'max-width: 959px';
|
|
5
|
+
|
|
6
|
+
// TODO: Revisit all z-indices before beta
|
|
7
|
+
// z-index master list
|
|
8
|
+
|
|
9
|
+
$z-index-fab: 20 !default;
|
|
10
|
+
$z-index-drawer: 100 !default;
|
|
11
|
+
|
|
12
|
+
// Global constants
|
|
13
|
+
$pi: 3.14159265;
|
|
14
|
+
|
|
15
|
+
// Padding between input toggles and their labels
|
|
16
|
+
$toggle-padding: 8px !default;
|
|
17
|
+
// Width and height of input toggles
|
|
18
|
+
$toggle-size: 20px !default;
|
|
19
|
+
|
|
20
|
+
// Easing Curves
|
|
21
|
+
// TODO(jelbourn): all of these need to be revisited
|
|
22
|
+
|
|
23
|
+
// The default animation curves used by material design.
|
|
24
|
+
$linear-out-slow-in-timing-function: cubic-bezier(0, 0, .2, .1) !default;
|
|
25
|
+
$fast-out-slow-in-timing-function: cubic-bezier(.4, 0, .2, 1) !default;
|
|
26
|
+
$fast-out-linear-in-timing-function: cubic-bezier(.4, 0, 1, 1) !default;
|
|
27
|
+
|
|
28
|
+
$ease-in-out-curve-function: cubic-bezier(.35, 0, .25, 1) !default;
|
|
29
|
+
|
|
30
|
+
$swift-ease-out-duration: 400ms !default;
|
|
31
|
+
$swift-ease-out-timing-function: cubic-bezier(.25, .8, .25, 1) !default;
|
|
32
|
+
$swift-ease-out: all $swift-ease-out-duration $swift-ease-out-timing-function !default;
|
|
33
|
+
|
|
34
|
+
$swift-ease-in-duration: 300ms !default;
|
|
35
|
+
$swift-ease-in-timing-function: cubic-bezier(.55, 0, .55, .2) !default;
|
|
36
|
+
$swift-ease-in: all $swift-ease-in-duration $swift-ease-in-timing-function !default;
|
|
37
|
+
|
|
38
|
+
$swift-ease-in-out-duration: 500ms !default;
|
|
39
|
+
$swift-ease-in-out-timing-function: $ease-in-out-curve-function !default;
|
|
40
|
+
$swift-ease-in-out: all $swift-ease-in-out-duration $swift-ease-in-out-timing-function !default;
|
|
41
|
+
|
|
42
|
+
$swift-linear-duration: 80ms !default;
|
|
43
|
+
$swift-linear-timing-function: linear !default;
|
|
44
|
+
$swift-linear: all $swift-linear-duration $swift-linear-timing-function !default;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* stylelint-disable value-no-vendor-prefix */
|
|
2
|
+
/* stylelint-disable selector-no-vendor-prefix */
|
|
3
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
4
|
+
// stylelint-disable material/no-prefixes
|
|
5
|
+
@mixin user-select($value) {
|
|
6
|
+
-webkit-user-select: $value;
|
|
7
|
+
-moz-user-select: $value;
|
|
8
|
+
user-select: $value;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@mixin input-placeholder {
|
|
12
|
+
&::placeholder {
|
|
13
|
+
@content;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&::-moz-placeholder {
|
|
17
|
+
@content;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&::-webkit-input-placeholder {
|
|
21
|
+
@content;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Note: this isn't necessary anymore since we don't support
|
|
25
|
+
// IE, but it caused some presubmit failures in #23416.
|
|
26
|
+
&:-ms-input-placeholder {
|
|
27
|
+
@content;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@mixin cursor-grab {
|
|
32
|
+
cursor: -webkit-grab;
|
|
33
|
+
cursor: grab;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@mixin cursor-grabbing {
|
|
37
|
+
cursor: -webkit-grabbing;
|
|
38
|
+
cursor: grabbing;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin backface-visibility($value) {
|
|
42
|
+
-webkit-backface-visibility: $value;
|
|
43
|
+
backface-visibility: $value;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@mixin position-sticky($important: false) {
|
|
47
|
+
position: -webkit-sticky #{if($important, '!important', '')};
|
|
48
|
+
position: sticky #{if($important, '!important', '')};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@mixin private-color-adjust($value) {
|
|
52
|
+
-webkit-print-color-adjust: $value;
|
|
53
|
+
color-adjust: $value;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@mixin private-background-clip($value) {
|
|
57
|
+
-webkit-background-clip: $value;
|
|
58
|
+
background-clip: $value;
|
|
59
|
+
}
|
|
60
|
+
// stylelint-enable
|