@taiga-ui/core 2.36.0 → 2.38.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/abstract/abstract-dropdown.d.ts +3 -3
- package/abstract/abstract-hint.d.ts +1 -1
- package/abstract/taiga-ui-core-abstract.metadata.json +1 -1
- package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-core-abstract.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.js +6 -6
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.min.js +2 -2
- package/bundles/taiga-ui-core-components-button.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +2 -19
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.min.js +2 -2
- package/bundles/taiga-ui-core-components-dialog.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.js +3 -6
- package/bundles/taiga-ui-core-components-dropdown-box.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-group.umd.js +23 -4
- package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-group.umd.min.js +2 -2
- package/bundles/taiga-ui-core-components-group.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +1 -4
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.js +1 -1
- package/bundles/taiga-ui-core-components-link.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-link.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.js +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +4 -4
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js +2 -2
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +5 -5
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js +2 -2
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +3 -3
- package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-root.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.min.js +2 -2
- package/bundles/taiga-ui-core-components-tooltip.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components.umd.js +4 -12
- package/bundles/taiga-ui-core-components.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components.umd.min.js +1 -1
- package/bundles/taiga-ui-core-constants.umd.js +1 -1
- package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-core-constants.umd.min.js +1 -1
- package/bundles/taiga-ui-core-constants.umd.min.js.map +1 -1
- package/bundles/{taiga-ui-core-components-wrapper.umd.js → taiga-ui-core-directives-wrapper.umd.js} +56 -40
- package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +1 -0
- package/bundles/taiga-ui-core-directives-wrapper.umd.min.js +16 -0
- package/bundles/taiga-ui-core-directives-wrapper.umd.min.js.map +1 -0
- package/bundles/taiga-ui-core-directives.umd.js +12 -4
- package/bundles/taiga-ui-core-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives.umd.min.js +1 -1
- package/bundles/taiga-ui-core-enums.umd.js +2 -0
- package/bundles/taiga-ui-core-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-core-enums.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-modules-notifications.umd.js +4 -6
- package/bundles/taiga-ui-core-modules-notifications.umd.js.map +1 -1
- package/bundles/taiga-ui-core-modules-notifications.umd.min.js +1 -1
- package/bundles/taiga-ui-core-modules-notifications.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +8 -0
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.min.js +2 -2
- package/bundles/taiga-ui-core-tokens.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +7 -2
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.min.js +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +2 -2
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js.map +1 -1
- package/components/button/button-options.d.ts +1 -1
- package/components/button/taiga-ui-core-components-button.metadata.json +1 -1
- package/components/dialog/dialog.component.d.ts +0 -1
- package/components/dialog/taiga-ui-core-components-dialog.metadata.json +1 -1
- package/components/dropdown-box/dropdown-box.component.d.ts +2 -3
- package/components/dropdown-box/taiga-ui-core-components-dropdown-box.metadata.json +1 -1
- package/components/expand/expand.component.d.ts +2 -1
- package/components/expand/taiga-ui-core-components-expand.metadata.json +1 -1
- package/components/group/group-styles.component.d.ts +2 -0
- package/components/group/group.directive.d.ts +2 -0
- package/components/group/index.d.ts +1 -0
- package/components/group/taiga-ui-core-components-group.metadata.json +1 -1
- package/components/hosted-dropdown/hosted-dropdown.component.d.ts +2 -3
- package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.metadata.json +1 -1
- package/components/index.d.ts +0 -1
- package/components/link/taiga-ui-core-components-link.metadata.json +1 -1
- package/components/notification/notification.component.d.ts +3 -3
- package/components/notification/taiga-ui-core-components-notification.metadata.json +1 -1
- package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.metadata.json +1 -1
- package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.metadata.json +1 -1
- package/components/primitive-year-picker/primitive-year-picker.component.d.ts +3 -3
- package/components/root/root.component.d.ts +3 -4
- package/components/root/taiga-ui-core-components-root.metadata.json +1 -1
- package/components/taiga-ui-core-components.metadata.json +1 -1
- package/components/tooltip/tooltip.component.d.ts +1 -1
- package/constants/taiga-ui-core-constants.metadata.json +1 -1
- package/constants/version.d.ts +1 -1
- package/directives/index.d.ts +1 -0
- package/directives/taiga-ui-core-directives.metadata.json +1 -1
- package/directives/wrapper/index.d.ts +2 -0
- package/directives/wrapper/package.json +13 -0
- package/{components/wrapper/taiga-ui-core-components-wrapper.d.ts → directives/wrapper/taiga-ui-core-directives-wrapper.d.ts} +0 -0
- package/directives/wrapper/taiga-ui-core-directives-wrapper.metadata.json +1 -0
- package/{components/wrapper/wrapper.component.d.ts → directives/wrapper/wrapper.directive.d.ts} +7 -6
- package/{components → directives}/wrapper/wrapper.module.d.ts +0 -0
- package/esm2015/abstract/abstract-dropdown.js +2 -2
- package/esm2015/abstract/abstract-hint.js +1 -1
- package/esm2015/components/button/button-options.js +1 -1
- package/esm2015/components/button/button.component.js +4 -4
- package/esm2015/components/button/button.module.js +2 -2
- package/esm2015/components/dialog/dialog.component.js +3 -16
- package/esm2015/components/dropdown-box/dropdown-box.component.js +5 -8
- package/esm2015/components/expand/expand.component.js +1 -1
- package/esm2015/components/group/group-styles.component.js +13 -0
- package/esm2015/components/group/group.directive.js +12 -6
- package/esm2015/components/group/group.module.js +4 -3
- package/esm2015/components/group/index.js +2 -1
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +3 -6
- package/esm2015/components/index.js +1 -2
- package/esm2015/components/link/link.component.js +1 -1
- package/esm2015/components/loader/loader.directive.js +2 -2
- package/esm2015/components/notification/notification.component.js +1 -1
- package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +2 -2
- package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +2 -2
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +1 -1
- package/esm2015/components/primitive-textfield/primitive-textfield.module.js +2 -2
- package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +1 -1
- package/esm2015/components/root/root.component.js +4 -4
- package/esm2015/components/root/root.module.js +3 -3
- package/esm2015/components/tooltip/tooltip.component.js +2 -2
- package/esm2015/constants/version.js +2 -2
- package/esm2015/directives/index.js +2 -1
- package/esm2015/{components → directives}/wrapper/index.js +2 -2
- package/esm2015/{components/wrapper/taiga-ui-core-components-wrapper.js → directives/wrapper/taiga-ui-core-directives-wrapper.js} +1 -1
- package/esm2015/directives/wrapper/wrapper.directive.js +98 -0
- package/esm2015/{components → directives}/wrapper/wrapper.module.js +4 -4
- package/esm2015/enums/interactive-state.js +3 -1
- package/esm2015/interfaces/dropdown-directive.js +1 -1
- package/esm2015/modules/notifications/notification-alert/notification-alert.component.js +4 -5
- package/esm2015/modules/notifications/notifications-host/notifications-host.component.js +3 -3
- package/esm2015/modules/notifications/notifications.service.js +2 -2
- package/esm2015/tokens/notification-options.js +8 -1
- package/esm2015/utils/dom/process-icon.js +2 -2
- package/esm2015/utils/format/format-number.js +2 -2
- package/esm2015/utils/mask/create-auto-corrected-money-pipe.js +2 -2
- package/esm2015/utils/mask/create-number-mask.js +1 -2
- package/esm2015/utils/mask/enable-auto-correct-decimal-symbol.js +5 -0
- package/esm2015/utils/mask/index.js +2 -1
- package/esm2015/utils/miscellaneous/icons-path-factory.js +2 -2
- package/esm2015/utils/miscellaneous/is-editing-key.js +2 -2
- package/esm5/abstract/abstract-dropdown.js +2 -2
- package/esm5/abstract/abstract-hint.js +1 -1
- package/esm5/components/button/button-options.js +1 -1
- package/esm5/components/button/button.component.js +4 -4
- package/esm5/components/button/button.module.js +2 -2
- package/esm5/components/dialog/dialog.component.js +3 -20
- package/esm5/components/dropdown-box/dropdown-box.component.js +5 -8
- package/esm5/components/expand/expand.component.js +1 -1
- package/esm5/components/group/group-styles.component.js +16 -0
- package/esm5/components/group/group.directive.js +12 -6
- package/esm5/components/group/group.module.js +4 -3
- package/esm5/components/group/index.js +2 -1
- package/esm5/components/hosted-dropdown/hosted-dropdown.component.js +3 -6
- package/esm5/components/index.js +1 -2
- package/esm5/components/link/link.component.js +1 -1
- package/esm5/components/loader/loader.directive.js +2 -2
- package/esm5/components/notification/notification.component.js +1 -1
- package/esm5/components/primitive-checkbox/primitive-checkbox.component.js +2 -2
- package/esm5/components/primitive-checkbox/primitive-checkbox.module.js +2 -2
- package/esm5/components/primitive-textfield/primitive-textfield.component.js +1 -1
- package/esm5/components/primitive-textfield/primitive-textfield.module.js +2 -2
- package/esm5/components/primitive-year-picker/primitive-year-picker.component.js +1 -1
- package/esm5/components/root/root.component.js +4 -4
- package/esm5/components/root/root.module.js +3 -3
- package/esm5/components/tooltip/tooltip.component.js +2 -2
- package/esm5/constants/version.js +2 -2
- package/esm5/directives/index.js +2 -1
- package/esm5/{components → directives}/wrapper/index.js +2 -2
- package/esm5/{components/wrapper/taiga-ui-core-components-wrapper.js → directives/wrapper/taiga-ui-core-directives-wrapper.js} +1 -1
- package/esm5/directives/wrapper/wrapper.directive.js +119 -0
- package/esm5/{components → directives}/wrapper/wrapper.module.js +4 -4
- package/esm5/enums/interactive-state.js +3 -1
- package/esm5/interfaces/dropdown-directive.js +1 -1
- package/esm5/modules/notifications/notification-alert/notification-alert.component.js +4 -5
- package/esm5/modules/notifications/notifications-host/notifications-host.component.js +3 -3
- package/esm5/modules/notifications/notifications.service.js +2 -2
- package/esm5/tokens/notification-options.js +9 -1
- package/esm5/utils/dom/process-icon.js +2 -2
- package/esm5/utils/format/format-number.js +2 -2
- package/esm5/utils/mask/create-auto-corrected-money-pipe.js +2 -2
- package/esm5/utils/mask/create-number-mask.js +1 -2
- package/esm5/utils/mask/enable-auto-correct-decimal-symbol.js +6 -0
- package/esm5/utils/mask/index.js +2 -1
- package/esm5/utils/miscellaneous/icons-path-factory.js +2 -2
- package/esm5/utils/miscellaneous/is-editing-key.js +2 -2
- package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-button.js +4 -4
- package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +2 -15
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dropdown-box.js +4 -7
- package/fesm2015/taiga-ui-core-components-dropdown-box.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-group.js +23 -8
- package/fesm2015/taiga-ui-core-components-group.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +2 -5
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-link.js +1 -1
- package/fesm2015/taiga-ui-core-components-loader.js +1 -1
- package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +2 -2
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +2 -2
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +5 -5
- package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js +1 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm2015/taiga-ui-core-components.js +0 -1
- package/fesm2015/taiga-ui-core-components.js.map +1 -1
- package/fesm2015/taiga-ui-core-constants.js +1 -1
- package/fesm2015/taiga-ui-core-constants.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-wrapper.js +113 -0
- package/fesm2015/taiga-ui-core-directives-wrapper.js.map +1 -0
- package/fesm2015/taiga-ui-core-directives.js +1 -0
- package/fesm2015/taiga-ui-core-directives.js.map +1 -1
- package/fesm2015/taiga-ui-core-enums.js +2 -0
- package/fesm2015/taiga-ui-core-enums.js.map +1 -1
- package/fesm2015/taiga-ui-core-modules-notifications.js +5 -6
- package/fesm2015/taiga-ui-core-modules-notifications.js.map +1 -1
- package/fesm2015/taiga-ui-core-tokens.js +8 -1
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-dom.js +1 -1
- package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-format.js +1 -1
- package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mask.js +7 -4
- package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js +2 -2
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/fesm5/taiga-ui-core-abstract.js.map +1 -1
- package/fesm5/taiga-ui-core-components-button.js +4 -4
- package/fesm5/taiga-ui-core-components-button.js.map +1 -1
- package/fesm5/taiga-ui-core-components-dialog.js +2 -19
- package/fesm5/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm5/taiga-ui-core-components-dropdown-box.js +4 -7
- package/fesm5/taiga-ui-core-components-dropdown-box.js.map +1 -1
- package/fesm5/taiga-ui-core-components-expand.js.map +1 -1
- package/fesm5/taiga-ui-core-components-group.js +26 -8
- package/fesm5/taiga-ui-core-components-group.js.map +1 -1
- package/fesm5/taiga-ui-core-components-hosted-dropdown.js +2 -5
- package/fesm5/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm5/taiga-ui-core-components-link.js +1 -1
- package/fesm5/taiga-ui-core-components-loader.js +1 -1
- package/fesm5/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm5/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm5/taiga-ui-core-components-primitive-checkbox.js +2 -2
- package/fesm5/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
- package/fesm5/taiga-ui-core-components-primitive-textfield.js +2 -2
- package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm5/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
- package/fesm5/taiga-ui-core-components-root.js +5 -5
- package/fesm5/taiga-ui-core-components-root.js.map +1 -1
- package/fesm5/taiga-ui-core-components-tooltip.js +1 -1
- package/fesm5/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm5/taiga-ui-core-components.js +0 -1
- package/fesm5/taiga-ui-core-components.js.map +1 -1
- package/fesm5/taiga-ui-core-constants.js +1 -1
- package/fesm5/taiga-ui-core-constants.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-wrapper.js +137 -0
- package/fesm5/taiga-ui-core-directives-wrapper.js.map +1 -0
- package/fesm5/taiga-ui-core-directives.js +1 -0
- package/fesm5/taiga-ui-core-directives.js.map +1 -1
- package/fesm5/taiga-ui-core-enums.js +2 -0
- package/fesm5/taiga-ui-core-enums.js.map +1 -1
- package/fesm5/taiga-ui-core-modules-notifications.js +5 -6
- package/fesm5/taiga-ui-core-modules-notifications.js.map +1 -1
- package/fesm5/taiga-ui-core-tokens.js +9 -2
- package/fesm5/taiga-ui-core-tokens.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-dom.js +1 -1
- package/fesm5/taiga-ui-core-utils-dom.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-format.js +1 -1
- package/fesm5/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-mask.js +8 -4
- package/fesm5/taiga-ui-core-utils-mask.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-miscellaneous.js +2 -2
- package/fesm5/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/interfaces/dropdown-directive.d.ts +2 -2
- package/modules/notifications/notification-alert/notification-alert.component.d.ts +3 -4
- package/modules/notifications/notifications.service.d.ts +3 -3
- package/modules/notifications/taiga-ui-core-modules-notifications.metadata.json +1 -1
- package/package.json +4 -4
- package/styles/markup/tui-group.less +4 -2
- package/styles/mixins/slider.less +33 -0
- package/styles/mixins/slider.scss +34 -0
- package/styles/mixins/textfield.less +8 -6
- package/styles/mixins/textfield.scss +2 -2
- package/styles/mixins/wrapper.less +57 -0
- package/styles/mixins/wrapper.scss +57 -0
- package/styles/taiga-ui-local.less +2 -0
- package/styles/taiga-ui-local.scss +2 -0
- package/styles/theme/variables.less +1 -1
- package/styles/theme/wrapper/accent.less +16 -18
- package/styles/theme/wrapper/base.less +35 -0
- package/styles/theme/wrapper/icon.less +18 -28
- package/styles/theme/wrapper/outline.less +28 -29
- package/styles/theme/wrapper/primary.less +20 -18
- package/styles/theme/wrapper/secondary.less +35 -35
- package/styles/theme/wrapper/table.less +27 -33
- package/styles/theme/wrapper/textfield.less +45 -55
- package/styles/theme/wrapper/whiteblock.less +27 -16
- package/styles/theme/wrapper.less +2 -0
- package/tokens/notification-options.d.ts +10 -4
- package/tokens/taiga-ui-core-tokens.metadata.json +1 -1
- package/utils/format/format-number.d.ts +1 -1
- package/utils/mask/create-auto-corrected-money-pipe.d.ts +1 -1
- package/utils/mask/create-number-mask.d.ts +0 -1
- package/utils/mask/enable-auto-correct-decimal-symbol.d.ts +2 -0
- package/utils/mask/index.d.ts +1 -0
- package/utils/mask/taiga-ui-core-utils-mask.metadata.json +1 -1
- package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.metadata.json +1 -1
- package/bundles/taiga-ui-core-components-wrapper.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-wrapper.umd.min.js +0 -16
- package/bundles/taiga-ui-core-components-wrapper.umd.min.js.map +0 -1
- package/components/wrapper/index.d.ts +0 -2
- package/components/wrapper/package.json +0 -13
- package/components/wrapper/taiga-ui-core-components-wrapper.metadata.json +0 -1
- package/esm2015/components/wrapper/wrapper.component.js +0 -91
- package/esm5/components/wrapper/wrapper.component.js +0 -104
- package/fesm2015/taiga-ui-core-components-wrapper.js +0 -106
- package/fesm2015/taiga-ui-core-components-wrapper.js.map +0 -1
- package/fesm5/taiga-ui-core-components-wrapper.js +0 -122
- package/fesm5/taiga-ui-core-components-wrapper.js.map +0 -1
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
@import '../../taiga-ui-local.less';
|
|
2
|
+
|
|
3
|
+
/* stylelint-disable order/order */
|
|
4
|
+
tui-wrapper[data-appearance='outline'],
|
|
5
|
+
[tuiWrapper][data-appearance='outline'] {
|
|
2
6
|
background: transparent;
|
|
3
7
|
color: var(--tui-text-01);
|
|
4
8
|
|
|
@@ -6,23 +10,6 @@ tui-wrapper[data-appearance='outline'] {
|
|
|
6
10
|
color: var(--tui-base-04);
|
|
7
11
|
}
|
|
8
12
|
|
|
9
|
-
&[data-state='hovered'] {
|
|
10
|
-
&:after {
|
|
11
|
-
color: var(--tui-base-05);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&:active,
|
|
16
|
-
&[data-state='pressed'] {
|
|
17
|
-
&:after {
|
|
18
|
-
color: var(--tui-base-06);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&[data-state='disabled'] {
|
|
23
|
-
opacity: var(--tui-disabled-opacity);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
13
|
&[data-mode='onDark'] {
|
|
27
14
|
color: var(--tui-text-01-night);
|
|
28
15
|
|
|
@@ -30,25 +17,25 @@ tui-wrapper[data-appearance='outline'] {
|
|
|
30
17
|
color: var(--tui-text-01-night);
|
|
31
18
|
}
|
|
32
19
|
|
|
33
|
-
|
|
20
|
+
.wrapper-hover({
|
|
34
21
|
background: var(--tui-clear-inverse-hover);
|
|
35
22
|
|
|
36
23
|
&:after {
|
|
37
24
|
color: var(--tui-text-03-night);
|
|
38
25
|
}
|
|
39
|
-
}
|
|
26
|
+
});
|
|
40
27
|
|
|
41
|
-
|
|
28
|
+
.wrapper-active({
|
|
42
29
|
background: var(--tui-clear-inverse-active);
|
|
43
30
|
|
|
44
31
|
&:after {
|
|
45
32
|
color: var(--tui-text-03-night);
|
|
46
33
|
}
|
|
47
|
-
}
|
|
34
|
+
});
|
|
48
35
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
36
|
+
.wrapper-focus({
|
|
37
|
+
--tui-focus: var(--tui-text-01-night);
|
|
38
|
+
});
|
|
52
39
|
}
|
|
53
40
|
|
|
54
41
|
&[data-mode='onLight'] {
|
|
@@ -58,20 +45,32 @@ tui-wrapper[data-appearance='outline'] {
|
|
|
58
45
|
color: var(--tui-text-01);
|
|
59
46
|
}
|
|
60
47
|
|
|
61
|
-
|
|
48
|
+
.wrapper-hover({
|
|
62
49
|
background: var(--tui-clear-hover);
|
|
63
50
|
|
|
64
51
|
&:after {
|
|
65
52
|
color: var(--tui-text-03);
|
|
66
53
|
}
|
|
67
|
-
}
|
|
54
|
+
});
|
|
68
55
|
|
|
69
|
-
|
|
56
|
+
.wrapper-active({
|
|
70
57
|
background: var(--tui-clear-active);
|
|
71
58
|
|
|
72
59
|
&:after {
|
|
73
60
|
color: var(--tui-text-03);
|
|
74
61
|
}
|
|
75
|
-
}
|
|
62
|
+
});
|
|
76
63
|
}
|
|
64
|
+
|
|
65
|
+
.wrapper-hover({
|
|
66
|
+
&:after {
|
|
67
|
+
color: var(--tui-base-05);
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
.wrapper-active({
|
|
72
|
+
&:after {
|
|
73
|
+
color: var(--tui-base-06);
|
|
74
|
+
}
|
|
75
|
+
});
|
|
77
76
|
}
|
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
|
|
1
|
+
@import '../../taiga-ui-local';
|
|
2
|
+
|
|
3
|
+
/* stylelint-disable order/order */
|
|
4
|
+
tui-wrapper[data-appearance='primary'],
|
|
5
|
+
[tuiWrapper][data-appearance='primary'] {
|
|
2
6
|
background: var(--tui-primary);
|
|
3
7
|
color: var(--tui-primary-text);
|
|
4
8
|
|
|
5
|
-
|
|
9
|
+
.wrapper-hover({
|
|
6
10
|
background: var(--tui-primary-hover);
|
|
7
|
-
}
|
|
11
|
+
});
|
|
8
12
|
|
|
9
|
-
|
|
10
|
-
&[data-state='pressed'] {
|
|
13
|
+
.wrapper-active({
|
|
11
14
|
background: var(--tui-primary-active);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&[data-state='disabled'] {
|
|
15
|
-
opacity: var(--tui-disabled-opacity);
|
|
16
|
-
}
|
|
15
|
+
});
|
|
17
16
|
|
|
18
|
-
|
|
17
|
+
.wrapper-invalid({
|
|
19
18
|
color: var(--tui-negative-night);
|
|
20
19
|
background: var(--tui-error-bg);
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
.wrapper-hover({
|
|
22
|
+
background: var(--tui-error-bg-hover);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
.wrapper-active({
|
|
24
26
|
background: var(--tui-error-bg-hover);
|
|
25
|
-
}
|
|
27
|
+
});
|
|
26
28
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
}
|
|
29
|
+
.wrapper-focus({
|
|
30
|
+
--tui-focus: var(--tui-error-fill);
|
|
31
|
+
})
|
|
32
|
+
});
|
|
31
33
|
}
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
+
@import '../../taiga-ui-local';
|
|
2
|
+
|
|
3
|
+
/* stylelint-disable order/order */
|
|
1
4
|
tui-wrapper[data-appearance='secondary'],
|
|
2
|
-
tui-wrapper[data-appearance='flat']
|
|
5
|
+
tui-wrapper[data-appearance='flat'],
|
|
6
|
+
[tuiWrapper][data-appearance='secondary'],
|
|
7
|
+
[tuiWrapper][data-appearance='flat'] {
|
|
3
8
|
background: var(--tui-secondary);
|
|
4
9
|
color: var(--tui-link);
|
|
5
10
|
|
|
6
|
-
&[data-state='hovered'] {
|
|
7
|
-
background: var(--tui-secondary-hover);
|
|
8
|
-
color: var(--tui-link-hover);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&:active,
|
|
12
|
-
&[data-state='pressed'] {
|
|
13
|
-
background: var(--tui-secondary-active);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&[data-state='disabled'] {
|
|
17
|
-
opacity: var(--tui-disabled-opacity);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
11
|
&[data-mode='onDark'] {
|
|
21
12
|
background: var(--tui-clear-inverse);
|
|
22
13
|
color: var(--tui-text-01-night);
|
|
23
14
|
|
|
24
|
-
|
|
15
|
+
.wrapper-hover({
|
|
25
16
|
background: var(--tui-clear-inverse-hover);
|
|
26
|
-
}
|
|
17
|
+
});
|
|
27
18
|
|
|
28
|
-
|
|
19
|
+
.wrapper-active({
|
|
29
20
|
background: var(--tui-clear-inverse-active);
|
|
30
|
-
}
|
|
21
|
+
});
|
|
31
22
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
23
|
+
.wrapper-focus({
|
|
24
|
+
--tui-focus: var(--tui-text-01-night);
|
|
25
|
+
});
|
|
35
26
|
}
|
|
36
27
|
|
|
37
28
|
&[data-mode='onLight'] {
|
|
38
29
|
background: var(--tui-clear);
|
|
39
30
|
color: var(--tui-text-01);
|
|
40
31
|
|
|
41
|
-
|
|
32
|
+
.wrapper-hover({
|
|
42
33
|
background: var(--tui-clear-hover);
|
|
43
|
-
}
|
|
34
|
+
});
|
|
44
35
|
|
|
45
|
-
|
|
36
|
+
.wrapper-active({
|
|
46
37
|
background: var(--tui-clear-active);
|
|
47
|
-
}
|
|
38
|
+
});
|
|
48
39
|
}
|
|
49
40
|
|
|
50
|
-
|
|
41
|
+
.wrapper-hover({
|
|
42
|
+
background: var(--tui-secondary-hover);
|
|
43
|
+
color: var(--tui-link-hover);
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
.wrapper-active({
|
|
47
|
+
background: var(--tui-secondary-active);
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
.wrapper-invalid({
|
|
51
51
|
color: var(--tui-error-fill);
|
|
52
52
|
background: var(--tui-error-bg);
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
&[data-state='pressed'] {
|
|
54
|
+
.wrapper-hover({
|
|
56
55
|
background: var(--tui-error-bg-hover);
|
|
57
|
-
}
|
|
56
|
+
});
|
|
58
57
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
}
|
|
58
|
+
.wrapper-focus({
|
|
59
|
+
--tui-focus: var(--tui-error-fill);
|
|
60
|
+
});
|
|
61
|
+
});
|
|
63
62
|
}
|
|
64
63
|
|
|
65
|
-
tui-wrapper[data-appearance='flat']
|
|
64
|
+
tui-wrapper[data-appearance='flat'],
|
|
65
|
+
[tuiWrapper][data-appearance='flat'] {
|
|
66
66
|
background: transparent;
|
|
67
67
|
|
|
68
68
|
&[data-mode='onDark'],
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
@import '../../taiga-ui-local';
|
|
2
|
+
|
|
3
|
+
/* stylelint-disable order/order */
|
|
4
|
+
tui-wrapper[data-appearance='table'],
|
|
5
|
+
[tuiWrapper][data-appearance='table'] {
|
|
2
6
|
border-radius: 0;
|
|
3
7
|
background: transparent;
|
|
4
8
|
color: var(--tui-text-01);
|
|
@@ -16,24 +20,21 @@ tui-wrapper[data-appearance='table'] {
|
|
|
16
20
|
color: var(--tui-base-04);
|
|
17
21
|
}
|
|
18
22
|
|
|
19
|
-
&[data-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
&[data-state='disabled'] {
|
|
24
|
-
color: var(--tui-text-03);
|
|
23
|
+
&[data-mode='onDark'] {
|
|
24
|
+
.wrapper-focus({
|
|
25
|
+
--tui-focus: var(--tui-text-01-night);
|
|
26
|
+
});
|
|
25
27
|
}
|
|
26
28
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
29
|
+
.wrapper-hover({
|
|
30
|
+
background: var(--tui-clear-disabled);
|
|
31
|
+
});
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
33
|
+
.wrapper-focus({
|
|
34
|
+
background: transparent;
|
|
35
|
+
});
|
|
35
36
|
|
|
36
|
-
|
|
37
|
+
.wrapper-invalid({
|
|
37
38
|
background: var(--tui-error-bg);
|
|
38
39
|
|
|
39
40
|
&:before {
|
|
@@ -42,33 +43,26 @@ tui-wrapper[data-appearance='table'] {
|
|
|
42
43
|
top: 0;
|
|
43
44
|
right: 0;
|
|
44
45
|
z-index: 1;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
border-top: 8px solid var(--tui-error-fill);
|
|
48
|
-
// TODO: research if it can be used in rem units
|
|
49
|
-
/* stylelint-disable-next-line */
|
|
50
|
-
border-left: 8px solid transparent;
|
|
46
|
+
border-top: 0.5rem solid var(--tui-error-fill);
|
|
47
|
+
border-left: 0.5rem solid transparent;
|
|
51
48
|
}
|
|
52
49
|
|
|
53
|
-
|
|
50
|
+
.wrapper-hover({
|
|
54
51
|
background: var(--tui-error-bg-hover);
|
|
52
|
+
});
|
|
55
53
|
|
|
56
|
-
|
|
57
|
-
background: transparent;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&[data-state='disabled'] {
|
|
54
|
+
.wrapper-disabled({
|
|
62
55
|
background: transparent;
|
|
63
|
-
}
|
|
56
|
+
});
|
|
64
57
|
|
|
65
|
-
|
|
58
|
+
.wrapper-focus({
|
|
66
59
|
background: transparent;
|
|
67
60
|
|
|
61
|
+
--tui-focus: var(--tui-error-fill);
|
|
62
|
+
|
|
68
63
|
&:after {
|
|
69
64
|
border-width: 1px;
|
|
70
|
-
color: var(--tui-error-fill);
|
|
71
65
|
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
66
|
+
});
|
|
67
|
+
});
|
|
74
68
|
}
|
|
@@ -1,110 +1,100 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
@import '../../taiga-ui-local';
|
|
2
|
+
|
|
3
|
+
/* stylelint-disable order/order */
|
|
4
|
+
tui-wrapper[data-appearance='textfield'],
|
|
5
|
+
[tuiWrapper][data-appearance='textfield'] {
|
|
6
|
+
.transition('box-shadow, background');
|
|
4
7
|
background: var(--tui-base-01);
|
|
5
8
|
color: var(--tui-text-01);
|
|
6
9
|
box-shadow: 0 0.125rem 0.1875rem rgba(0, 0, 0, 0.1);
|
|
7
10
|
|
|
8
11
|
&[data-appearance='textfield']:after {
|
|
9
|
-
transition
|
|
10
|
-
border-width: 1px;
|
|
12
|
+
.transition(color);
|
|
11
13
|
color: var(--tui-base-03);
|
|
12
14
|
}
|
|
13
15
|
|
|
14
|
-
|
|
16
|
+
.wrapper-hover({
|
|
15
17
|
box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.16);
|
|
16
|
-
}
|
|
18
|
+
});
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
.wrapper-focus({
|
|
19
21
|
box-shadow: none;
|
|
20
22
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
border-width: 2px;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
23
|
+
--tui-focus: var(--tui-primary);
|
|
24
|
+
});
|
|
26
25
|
|
|
27
|
-
|
|
26
|
+
.wrapper-readonly({
|
|
28
27
|
box-shadow: none;
|
|
29
28
|
|
|
30
29
|
&:after {
|
|
31
30
|
color: var(--tui-base-04);
|
|
32
31
|
}
|
|
33
|
-
}
|
|
32
|
+
});
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
opacity: var(--tui-disabled-opacity);
|
|
34
|
+
.wrapper-disabled({
|
|
37
35
|
box-shadow: none;
|
|
38
|
-
}
|
|
36
|
+
});
|
|
39
37
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
38
|
+
.wrapper-invalid({
|
|
39
|
+
--tui-focus: var(--tui-error-fill-night);
|
|
40
|
+
});
|
|
44
41
|
}
|
|
45
42
|
|
|
46
|
-
tui-wrapper[data-appearance='textfield'][data-mode='onDark']
|
|
43
|
+
tui-wrapper[data-appearance='textfield'][data-mode='onDark'],
|
|
44
|
+
[tuiWrapper][data-appearance='textfield'][data-mode='onDark'] {
|
|
47
45
|
background: var(--tui-clear-inverse);
|
|
48
46
|
color: var(--tui-text-01-night);
|
|
49
47
|
|
|
50
|
-
|
|
48
|
+
&:after {
|
|
51
49
|
color: var(--tui-text-03-night);
|
|
52
50
|
opacity: var(--tui-disabled-opacity);
|
|
53
51
|
}
|
|
54
52
|
|
|
55
|
-
|
|
53
|
+
.wrapper-hover({
|
|
56
54
|
background: var(--tui-clear-inverse-hover);
|
|
55
|
+
});
|
|
57
56
|
|
|
58
|
-
|
|
59
|
-
color: var(--tui-text-02-night);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&[data-state='readonly'] {
|
|
57
|
+
.wrapper-readonly({
|
|
64
58
|
background: transparent;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&._invalid._focused:after {
|
|
68
|
-
color: var(--tui-error-fill-night);
|
|
69
|
-
}
|
|
59
|
+
});
|
|
70
60
|
|
|
71
|
-
|
|
61
|
+
.wrapper-focus({
|
|
72
62
|
background: rgba(255, 255, 255, 0.08);
|
|
73
63
|
|
|
64
|
+
--tui-focus: var(--tui-primary);
|
|
65
|
+
|
|
74
66
|
&:after {
|
|
75
67
|
transition: none;
|
|
76
|
-
color: var(--tui-primary);
|
|
77
68
|
opacity: 1;
|
|
78
69
|
}
|
|
79
|
-
}
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
.wrapper-invalid({
|
|
73
|
+
--tui-focus: var(--tui-error-fill-night);
|
|
74
|
+
});
|
|
80
75
|
}
|
|
81
76
|
|
|
82
|
-
tui-wrapper[data-appearance='textfield'][data-mode='onLight']
|
|
77
|
+
tui-wrapper[data-appearance='textfield'][data-mode='onLight'],
|
|
78
|
+
[tuiWrapper][data-appearance='textfield'][data-mode='onLight'] {
|
|
83
79
|
background: var(--tui-clear);
|
|
84
80
|
|
|
85
|
-
|
|
81
|
+
.wrapper-hover({
|
|
86
82
|
background: var(--tui-clear-hover);
|
|
87
|
-
}
|
|
83
|
+
});
|
|
88
84
|
|
|
89
|
-
|
|
85
|
+
.wrapper-readonly({
|
|
90
86
|
background: transparent;
|
|
91
|
-
}
|
|
87
|
+
});
|
|
92
88
|
|
|
93
|
-
|
|
89
|
+
.wrapper-invalid({
|
|
94
90
|
&:after {
|
|
95
91
|
color: var(--tui-error-fill);
|
|
96
92
|
}
|
|
93
|
+
});
|
|
97
94
|
|
|
98
|
-
|
|
99
|
-
background: transparent;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&._focused {
|
|
95
|
+
.wrapper-focus({
|
|
104
96
|
background: transparent;
|
|
105
97
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
-
}
|
|
98
|
+
--tui-focus: var(--tui-text-01);
|
|
99
|
+
});
|
|
110
100
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
@import '../../taiga-ui-local';
|
|
2
|
+
|
|
3
|
+
/* stylelint-disable order/order */
|
|
1
4
|
tui-wrapper[data-appearance='whiteblock'],
|
|
2
|
-
tui-wrapper[data-appearance='whiteblock-active']
|
|
5
|
+
tui-wrapper[data-appearance='whiteblock-active'],
|
|
6
|
+
[tuiWrapper][data-appearance='whiteblock'],
|
|
7
|
+
[tuiWrapper][data-appearance='whiteblock-active'] {
|
|
3
8
|
background: var(--tui-base-01);
|
|
4
9
|
color: var(--tui-text-01);
|
|
5
10
|
|
|
@@ -7,33 +12,39 @@ tui-wrapper[data-appearance='whiteblock-active'] {
|
|
|
7
12
|
color: var(--tui-base-03);
|
|
8
13
|
}
|
|
9
14
|
|
|
10
|
-
|
|
11
|
-
&[data-state='hovered'],
|
|
12
|
-
&[data-state='pressed'] {
|
|
15
|
+
.wrapper-hover({
|
|
13
16
|
background: var(--tui-base-02);
|
|
14
17
|
|
|
15
18
|
&:after {
|
|
16
19
|
color: var(--tui-base-04);
|
|
17
20
|
}
|
|
18
|
-
}
|
|
21
|
+
});
|
|
19
22
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
+
.wrapper-active({
|
|
24
|
+
background: var(--tui-base-02);
|
|
25
|
+
|
|
26
|
+
&:after {
|
|
27
|
+
color: var(--tui-base-04);
|
|
28
|
+
}
|
|
29
|
+
});
|
|
23
30
|
}
|
|
24
31
|
|
|
25
|
-
tui-wrapper[data-appearance='whiteblock-active']
|
|
32
|
+
tui-wrapper[data-appearance='whiteblock-active'],
|
|
33
|
+
[tuiWrapper][data-appearance='whiteblock-active'] {
|
|
26
34
|
&:after {
|
|
27
35
|
color: var(--tui-primary);
|
|
28
36
|
border-width: 2px;
|
|
29
37
|
}
|
|
30
38
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
39
|
+
.wrapper-hover({
|
|
40
|
+
&:after {
|
|
41
|
+
color: var(--tui-primary-hover);
|
|
42
|
+
}
|
|
43
|
+
});
|
|
34
44
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
45
|
+
.wrapper-active({
|
|
46
|
+
&:after {
|
|
47
|
+
color: var(--tui-primary-active);
|
|
48
|
+
}
|
|
49
|
+
});
|
|
39
50
|
}
|
|
@@ -1,15 +1,21 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, ValueProvider } from '@angular/core';
|
|
2
2
|
import { TuiContextWithImplicit } from '@taiga-ui/cdk';
|
|
3
3
|
import { TuiNotification } from '@taiga-ui/core/enums';
|
|
4
4
|
import { TuiNotificationAutoClose } from '@taiga-ui/core/interfaces';
|
|
5
5
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
6
|
-
export interface
|
|
6
|
+
export interface TuiNotificationDefaultOptions {
|
|
7
7
|
readonly autoClose: TuiNotificationAutoClose;
|
|
8
8
|
readonly label: PolymorpheusContent<TuiContextWithImplicit<TuiNotification>>;
|
|
9
9
|
readonly status: TuiNotification;
|
|
10
10
|
readonly hasIcon: boolean;
|
|
11
11
|
readonly hasCloseButton: boolean;
|
|
12
|
+
readonly defaultAutoCloseTime: number;
|
|
12
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated: remove in v3.0, use TuiNotificationDefaultOptions
|
|
16
|
+
*/
|
|
17
|
+
export declare type NotificationTokenOptions = TuiNotificationDefaultOptions;
|
|
13
18
|
/** Default values for the notification options. */
|
|
14
|
-
export declare const TUI_NOTIFICATION_DEFAULT_OPTIONS:
|
|
15
|
-
export declare const TUI_NOTIFICATION_OPTIONS: InjectionToken<
|
|
19
|
+
export declare const TUI_NOTIFICATION_DEFAULT_OPTIONS: TuiNotificationDefaultOptions;
|
|
20
|
+
export declare const TUI_NOTIFICATION_OPTIONS: InjectionToken<TuiNotificationDefaultOptions>;
|
|
21
|
+
export declare function tuiNotificationOptionsProvider(options: Partial<TuiNotificationDefaultOptions>): ValueProvider;
|