@taiga-ui/core 2.34.0 → 2.37.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 +3 -3
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.min.js +1 -1
- 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 +7 -10
- package/bundles/taiga-ui-core-components-dropdown-box.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js +2 -2
- 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-loader.umd.js +27 -7
- package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.min.js +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-calendar.umd.js +2 -6
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js +2 -2
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +4 -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 +1 -1
- 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 +2 -2
- 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 +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 +16 -10
- package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.min.js +2 -2
- 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-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-directives-described-by.umd.js +4 -4
- package/bundles/taiga-ui-core-directives-described-by.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-described-by.umd.min.js +1 -1
- package/bundles/taiga-ui-core-directives-described-by.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 +13 -0
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.min.js +1 -1
- 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/loader/index.d.ts +1 -0
- package/components/loader/loader-options.d.ts +11 -0
- package/components/loader/loader.component.d.ts +4 -3
- package/components/loader/taiga-ui-core-components-loader.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-calendar/primitive-calendar.component.d.ts +0 -1
- package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.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/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.metadata.json +1 -1
- package/components/root/root.component.d.ts +3 -4
- package/components/root/taiga-ui-core-components-root.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/described-by/taiga-ui-core-directives-described-by.metadata.json +1 -1
- 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/dialog/dialog.component.js +3 -16
- package/esm2015/components/dropdown-box/dropdown-box.component.js +6 -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/loader/index.js +2 -1
- package/esm2015/components/loader/loader-options.js +15 -0
- package/esm2015/components/loader/loader.component.js +11 -7
- package/esm2015/components/loader/loader.directive.js +2 -2
- package/esm2015/components/notification/notification.component.js +1 -1
- package/esm2015/components/primitive-calendar/primitive-calendar.component.js +3 -7
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +3 -3
- package/esm2015/components/primitive-textfield/primitive-textfield.module.js +2 -3
- package/esm2015/components/primitive-textfield/textfield/textfield.component.js +3 -3
- package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +3 -3
- package/esm2015/components/root/root.component.js +14 -8
- 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/described-by/described-by.providers.js +6 -6
- 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/index.js +2 -1
- package/esm2015/tokens/notification-options.js +8 -1
- package/esm2015/tokens/theme.js +5 -0
- 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/dialog/dialog.component.js +3 -20
- package/esm5/components/dropdown-box/dropdown-box.component.js +6 -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/loader/index.js +2 -1
- package/esm5/components/loader/loader-options.js +16 -0
- package/esm5/components/loader/loader.component.js +11 -7
- package/esm5/components/loader/loader.directive.js +2 -2
- package/esm5/components/notification/notification.component.js +1 -1
- package/esm5/components/primitive-calendar/primitive-calendar.component.js +3 -7
- package/esm5/components/primitive-textfield/primitive-textfield.component.js +3 -3
- package/esm5/components/primitive-textfield/primitive-textfield.module.js +2 -3
- package/esm5/components/primitive-textfield/textfield/textfield.component.js +3 -3
- package/esm5/components/primitive-year-picker/primitive-year-picker.component.js +3 -3
- package/esm5/components/root/root.component.js +15 -8
- 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/described-by/described-by.providers.js +7 -7
- 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/index.js +2 -1
- package/esm5/tokens/notification-options.js +9 -1
- package/esm5/tokens/theme.js +5 -0
- 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 +3 -3
- 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 +5 -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-loader.js +26 -9
- 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-calendar.js +2 -6
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +5 -6
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +2 -2
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +15 -10
- 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-constants.js +1 -1
- package/fesm2015/taiga-ui-core-constants.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-described-by.js +6 -6
- package/fesm2015/taiga-ui-core-directives-described-by.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 +12 -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 +3 -3
- 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 +5 -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-loader.js +27 -10
- 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-calendar.js +2 -6
- package/fesm5/taiga-ui-core-components-primitive-calendar.js.map +1 -1
- package/fesm5/taiga-ui-core-components-primitive-textfield.js +5 -6
- package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm5/taiga-ui-core-components-primitive-year-picker.js +2 -2
- package/fesm5/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
- package/fesm5/taiga-ui-core-components-root.js +16 -10
- 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-constants.js +1 -1
- package/fesm5/taiga-ui-core-constants.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-described-by.js +7 -7
- package/fesm5/taiga-ui-core-directives-described-by.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 +13 -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-form.less +4 -9
- package/styles/markup/tui-group.less +4 -2
- package/styles/mixins/picker.less +10 -10
- package/styles/mixins/picker.scss +10 -10
- package/styles/mixins/slider.less +33 -0
- package/styles/mixins/slider.scss +34 -0
- package/styles/mixins/textfield.less +25 -22
- package/styles/taiga-ui-local.less +1 -0
- package/styles/taiga-ui-local.scss +1 -0
- package/styles/theme/variables.less +1 -0
- package/tokens/index.d.ts +1 -0
- package/tokens/notification-options.d.ts +10 -4
- package/tokens/taiga-ui-core-tokens.metadata.json +1 -1
- package/tokens/theme.d.ts +2 -0
- 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
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@line-height-l: 1.25rem;
|
|
2
|
+
|
|
1
3
|
.textfield-host() {
|
|
2
4
|
.text-basic();
|
|
3
5
|
position: relative;
|
|
@@ -21,7 +23,8 @@
|
|
|
21
23
|
height: var(--tui-height-l);
|
|
22
24
|
min-height: var(--tui-height-l);
|
|
23
25
|
max-height: var(--tui-height-l);
|
|
24
|
-
font
|
|
26
|
+
font: var(--tui-font-text-m);
|
|
27
|
+
line-height: @line-height-l;
|
|
25
28
|
}
|
|
26
29
|
}
|
|
27
30
|
|
|
@@ -57,41 +60,46 @@
|
|
|
57
60
|
.clearinput();
|
|
58
61
|
.fullsize();
|
|
59
62
|
padding: 0 var(--tui-padding-m);
|
|
60
|
-
border:
|
|
61
|
-
border-width: 0 var(--border-end) 0 var(--border-start);
|
|
62
|
-
border-inline-start-width: var(--border-start);
|
|
63
|
-
border-inline-end-width: var(--border-end);
|
|
63
|
+
border: solid transparent;
|
|
64
|
+
border-width: 0 var(--border-end, 0) 0 var(--border-start, 0);
|
|
65
|
+
border-inline-start-width: var(--border-start, 0);
|
|
66
|
+
border-inline-end-width: var(--border-end, 0);
|
|
64
67
|
text-indent: var(--text-indent);
|
|
65
68
|
text-align: inherit;
|
|
66
69
|
box-sizing: border-box;
|
|
67
70
|
white-space: nowrap;
|
|
68
71
|
overflow: hidden;
|
|
69
72
|
text-transform: inherit;
|
|
73
|
+
resize: none;
|
|
70
74
|
|
|
71
75
|
:host[data-mode='onDark'] &,
|
|
72
|
-
:host-context(tui-primitive-textfield[data-mode='onDark'])
|
|
76
|
+
:host-context(tui-primitive-textfield[data-mode='onDark']),
|
|
77
|
+
:host-context(tui-text-area[data-mode='onDark']) {
|
|
73
78
|
.autofill(dark);
|
|
74
79
|
}
|
|
75
80
|
|
|
76
81
|
:host[data-size='s'] &,
|
|
77
|
-
:host-context(tui-primitive-textfield[data-size='s']):not(tui-primitive-textfield)
|
|
82
|
+
:host-context(tui-primitive-textfield[data-size='s']):not(tui-primitive-textfield),
|
|
83
|
+
:host-context(tui-text-area[data-size='s']):not(tui-text-area) {
|
|
78
84
|
padding: 0 var(--tui-padding-s);
|
|
79
85
|
}
|
|
80
86
|
|
|
81
87
|
:host[data-size='l'] &,
|
|
82
|
-
:host-context(tui-primitive-textfield[data-size='l']):not(tui-primitive-textfield)
|
|
88
|
+
:host-context(tui-primitive-textfield[data-size='l']):not(tui-primitive-textfield),
|
|
89
|
+
:host-context(tui-text-area[data-size='l']):not(tui-text-area) {
|
|
83
90
|
padding: 0 var(--tui-padding-l);
|
|
84
91
|
}
|
|
85
92
|
|
|
86
93
|
:host._disabled &,
|
|
87
|
-
:host-context(tui-primitive-textfield._disabled)
|
|
94
|
+
:host-context(tui-primitive-textfield._disabled),
|
|
95
|
+
:host-context(tui-text-area._disabled) {
|
|
88
96
|
// @bad TODO: research why you can reach disabled textfield with mask inside a label without that
|
|
89
97
|
pointer-events: none;
|
|
90
98
|
}
|
|
91
99
|
|
|
92
100
|
:host[data-size='l']:not(._label-outside) &,
|
|
93
101
|
:host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield) {
|
|
94
|
-
padding-top:
|
|
102
|
+
padding-top: @line-height-l;
|
|
95
103
|
|
|
96
104
|
// Workaround for raising placeholder in temporary autofill
|
|
97
105
|
&:-webkit-autofill + .content .placeholder {
|
|
@@ -133,7 +141,6 @@
|
|
|
133
141
|
.text-overflow();
|
|
134
142
|
display: block;
|
|
135
143
|
width: 100%;
|
|
136
|
-
font-size: 0.8125rem;
|
|
137
144
|
user-select: none;
|
|
138
145
|
color: var(--tui-text-02);
|
|
139
146
|
pointer-events: none;
|
|
@@ -142,7 +149,7 @@
|
|
|
142
149
|
transform: translateY(-0.625rem);
|
|
143
150
|
|
|
144
151
|
:host[data-size='m'] & {
|
|
145
|
-
font
|
|
152
|
+
font: var(--tui-font-text-xs);
|
|
146
153
|
transform: translateY(-0.5rem);
|
|
147
154
|
letter-spacing: 0.025rem;
|
|
148
155
|
}
|
|
@@ -240,23 +247,19 @@
|
|
|
240
247
|
.textfield-host();
|
|
241
248
|
}
|
|
242
249
|
|
|
243
|
-
.input {
|
|
250
|
+
.t-input {
|
|
244
251
|
.textfield-input();
|
|
245
252
|
}
|
|
246
253
|
|
|
247
|
-
.
|
|
248
|
-
vertical-align: middle;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.content {
|
|
254
|
+
.t-content {
|
|
252
255
|
.textfield-content();
|
|
253
256
|
}
|
|
254
257
|
|
|
255
|
-
.wrapper {
|
|
258
|
+
.t-wrapper {
|
|
256
259
|
.textfield-wrapper();
|
|
257
260
|
}
|
|
258
261
|
|
|
259
|
-
.placeholder {
|
|
262
|
+
.t-placeholder {
|
|
260
263
|
.textfield-placeholder();
|
|
261
264
|
|
|
262
265
|
/* Safari 9+ */
|
|
@@ -267,12 +270,12 @@
|
|
|
267
270
|
}
|
|
268
271
|
}
|
|
269
272
|
|
|
270
|
-
.cleaner {
|
|
273
|
+
.t-cleaner {
|
|
271
274
|
.icon-button();
|
|
272
275
|
}
|
|
273
276
|
|
|
274
277
|
// @bad TODO: Refactor this and interactive icons together
|
|
275
|
-
.icon {
|
|
278
|
+
.t-icon {
|
|
276
279
|
.input-icon();
|
|
277
280
|
|
|
278
281
|
&_left {
|
package/tokens/index.d.ts
CHANGED
|
@@ -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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"TUI_ANIMATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":41},"arguments":["Options for Taiga UI animations",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":17,"module":"./animation-options"}]},"TUI_ANIMATIONS_DURATION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":43},"arguments":["Duration of all Taiga UI animations in ms",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./animations-duration"}]},"TUI_ASSERT_ENABLED":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":38},"arguments":["Flag to enable assertions across Taiga UI",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./assert-enabled"}]},"TUI_DATA_LIST_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Accessor for options"]},"TUI_DATA_LIST_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["DataList controller"]},"TUI_DOCUMENT_OR_SHADOW_ROOT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":47},"arguments":["Document or ShadowRoot"]},"TUI_DROPDOWN_DIRECTIVE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Directive controlling TuiDropdownBoxComponent"]},"TUI_ELEMENT_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":35},"arguments":["ElementRef when you cannot use @Input for single time injection"]},"TUI_FIRST_DAY_OF_WEEK":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":41},"arguments":["The first day of the week index",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./first-day-of-week"}]},"TUI_MONTHS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":30},"arguments":["Localized months names",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":4,"character":13},"arguments":["months"]}}]},"TUI_CLOSE_WORD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":7,"character":34},"arguments":["i18n 'close' word",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":8,"character":13},"arguments":["close"]}}]},"TUI_NOTHING_FOUND_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":11,"character":45},"arguments":["i18n 'Nothing found' message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":14,"character":17},"arguments":["nothingFoundMessage"]}}]},"TUI_DEFAULT_ERROR_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":45},"arguments":["i18n of error message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":19,"character":13},"arguments":["defaultErrorMessage"]}}]},"TUI_SPIN_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":34},"arguments":["spin i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":23,"character":13},"arguments":["spinTexts"]}}]},"TUI_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":26,"character":39},"arguments":["calendars i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":27,"character":13},"arguments":["shortWeekDays"]}}]},"TUI_ICONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":29},"arguments":["A key/value dictionary of icon names and src to be defined with TuiSvgService",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./icons"}]},"TUI_ICONS_PATH":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["A handler to retrieve USE id for icon by name",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":21,"module":"./icons-path"}]},"TUI_IS_MOBILE_RES":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":37},"arguments":["Mobile resolution stream for private providers"]},"TUI_MEDIA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":29},"arguments":["Token for media constant",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":13,"module":"./media"}]},"TUI_MODE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Mode stream for private providers"]},"NotificationTokenOptions":{"__symbolic":"interface"},"TUI_NOTIFICATION_DEFAULT_OPTIONS":{"autoClose":true,"label":"","status":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/enums","name":"TuiNotification","line":18,"character":12},"member":"Info"},"hasIcon":true,"hasCloseButton":true},"TUI_NOTIFICATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":23,"character":44},"arguments":["Default parameters for notification alert component",{"__symbolic":"error","message":"Lambda not supported","line":26,"character":17,"module":"./notification-options"}]},"TUI_NUMBER_FORMAT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":37},"arguments":["Formatting configuration for displayed numbers",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":17,"module":"./number-format"}]},"TUI_OPTION_CONTENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":38},"arguments":["Content for tuiOption component"]},"WEEK_DAYS_NAMES":{"__symbolic":"interface"},"convertToSundayFirstWeekFormat":{"__symbolic":"error","message":"Lambda not supported","line":9,"character":46,"module":"./ordered-short-week-days"},"TUI_ORDERED_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":47},"arguments":["Ordered calendars i18n texts",{"__symbolic":"error","message":"Lambda not supported","line":21,"character":13,"module":"./ordered-short-week-days"}]},"TUI_SCROLL_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":34},"arguments":["Scrollable container"]},"TUI_SVG_SRC_PROCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Source path processor for svg",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./svg-src-processor"}]},"TUI_TEXTFIELD_APPEARANCE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":44},"arguments":["Appearance for inputs",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./textfield-appearance"}]},"TUI_TEXTFIELD_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["An interface to communicate with textfield based controls"]},"TUI_VALUE_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["Buffer token to pass NG_VALUE_ACCESSOR to a different Injector"]}},"origins":{"TUI_ANIMATION_OPTIONS":"./animation-options","TUI_ANIMATIONS_DURATION":"./animations-duration","TUI_ASSERT_ENABLED":"./assert-enabled","TUI_DATA_LIST_ACCESSOR":"./data-list-accessor","TUI_DATA_LIST_HOST":"./data-list-host","TUI_DOCUMENT_OR_SHADOW_ROOT":"./document-or-shadow-root","TUI_DROPDOWN_DIRECTIVE":"./dropdown-directive","TUI_ELEMENT_REF":"./element-ref","TUI_FIRST_DAY_OF_WEEK":"./first-day-of-week","TUI_MONTHS":"./i18n","TUI_CLOSE_WORD":"./i18n","TUI_NOTHING_FOUND_MESSAGE":"./i18n","TUI_DEFAULT_ERROR_MESSAGE":"./i18n","TUI_SPIN_TEXTS":"./i18n","TUI_SHORT_WEEK_DAYS":"./i18n","TUI_ICONS":"./icons","TUI_ICONS_PATH":"./icons-path","TUI_IS_MOBILE_RES":"./is-mobile-resolution","TUI_MEDIA":"./media","TUI_MODE":"./mode","NotificationTokenOptions":"./notification-options","TUI_NOTIFICATION_DEFAULT_OPTIONS":"./notification-options","TUI_NOTIFICATION_OPTIONS":"./notification-options","TUI_NUMBER_FORMAT":"./number-format","TUI_OPTION_CONTENT":"./option-content","WEEK_DAYS_NAMES":"./ordered-short-week-days","convertToSundayFirstWeekFormat":"./ordered-short-week-days","TUI_ORDERED_SHORT_WEEK_DAYS":"./ordered-short-week-days","TUI_SANITIZER":"@taiga-ui/cdk","TUI_SCROLL_REF":"./scroll-ref","TUI_SVG_SRC_PROCESSOR":"./svg-src-processor","TUI_TEXTFIELD_APPEARANCE":"./textfield-appearance","TUI_TEXTFIELD_HOST":"./textfield-host","TUI_VALUE_ACCESSOR":"./value-accessor"},"importAs":"@taiga-ui/core/tokens"}
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"TUI_ANIMATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":41},"arguments":["Options for Taiga UI animations",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":17,"module":"./animation-options"}]},"TUI_ANIMATIONS_DURATION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":43},"arguments":["Duration of all Taiga UI animations in ms",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./animations-duration"}]},"TUI_ASSERT_ENABLED":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":38},"arguments":["Flag to enable assertions across Taiga UI",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./assert-enabled"}]},"TUI_DATA_LIST_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Accessor for options"]},"TUI_DATA_LIST_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["DataList controller"]},"TUI_DOCUMENT_OR_SHADOW_ROOT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":47},"arguments":["Document or ShadowRoot"]},"TUI_DROPDOWN_DIRECTIVE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Directive controlling TuiDropdownBoxComponent"]},"TUI_ELEMENT_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":35},"arguments":["ElementRef when you cannot use @Input for single time injection"]},"TUI_FIRST_DAY_OF_WEEK":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":41},"arguments":["The first day of the week index",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./first-day-of-week"}]},"TUI_MONTHS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":30},"arguments":["Localized months names",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":4,"character":13},"arguments":["months"]}}]},"TUI_CLOSE_WORD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":7,"character":34},"arguments":["i18n 'close' word",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":8,"character":13},"arguments":["close"]}}]},"TUI_NOTHING_FOUND_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":11,"character":45},"arguments":["i18n 'Nothing found' message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":14,"character":17},"arguments":["nothingFoundMessage"]}}]},"TUI_DEFAULT_ERROR_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":45},"arguments":["i18n of error message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":19,"character":13},"arguments":["defaultErrorMessage"]}}]},"TUI_SPIN_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":34},"arguments":["spin i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":23,"character":13},"arguments":["spinTexts"]}}]},"TUI_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":26,"character":39},"arguments":["calendars i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":27,"character":13},"arguments":["shortWeekDays"]}}]},"TUI_ICONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":29},"arguments":["A key/value dictionary of icon names and src to be defined with TuiSvgService",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./icons"}]},"TUI_ICONS_PATH":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["A handler to retrieve USE id for icon by name",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":21,"module":"./icons-path"}]},"TUI_IS_MOBILE_RES":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":37},"arguments":["Mobile resolution stream for private providers"]},"TUI_MEDIA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":29},"arguments":["Token for media constant",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":13,"module":"./media"}]},"TUI_MODE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Mode stream for private providers"]},"TuiNotificationDefaultOptions":{"__symbolic":"interface"},"NotificationTokenOptions":{"__symbolic":"interface"},"TUI_NOTIFICATION_DEFAULT_OPTIONS":{"autoClose":true,"label":"","status":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/enums","name":"TuiNotification","line":24,"character":12},"member":"Info"},"hasIcon":true,"hasCloseButton":true,"defaultAutoCloseTime":3000},"TUI_NOTIFICATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":30,"character":44},"arguments":["Default parameters for notification alert component",{"__symbolic":"error","message":"Lambda not supported","line":33,"character":17,"module":"./notification-options"}]},"tuiNotificationOptionsProvider":{"__symbolic":"function","parameters":["options"],"value":{"provide":{"__symbolic":"reference","name":"TUI_NOTIFICATION_OPTIONS"},"useValue":{}}},"TUI_NUMBER_FORMAT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":37},"arguments":["Formatting configuration for displayed numbers",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":17,"module":"./number-format"}]},"TUI_OPTION_CONTENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":38},"arguments":["Content for tuiOption component"]},"WEEK_DAYS_NAMES":{"__symbolic":"interface"},"convertToSundayFirstWeekFormat":{"__symbolic":"error","message":"Lambda not supported","line":9,"character":46,"module":"./ordered-short-week-days"},"TUI_ORDERED_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":47},"arguments":["Ordered calendars i18n texts",{"__symbolic":"error","message":"Lambda not supported","line":21,"character":13,"module":"./ordered-short-week-days"}]},"TUI_SCROLL_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":34},"arguments":["Scrollable container"]},"TUI_SVG_SRC_PROCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Source path processor for svg",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./svg-src-processor"}]},"TUI_TEXTFIELD_APPEARANCE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":44},"arguments":["Appearance for inputs",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./textfield-appearance"}]},"TUI_TEXTFIELD_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["An interface to communicate with textfield based controls"]},"TUI_THEME":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":29},"arguments":["Theme name",{"__symbolic":"error","message":"Lambda not supported","line":3,"character":13,"module":"./theme"}]},"TUI_VALUE_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["Buffer token to pass NG_VALUE_ACCESSOR to a different Injector"]}},"origins":{"TUI_ANIMATION_OPTIONS":"./animation-options","TUI_ANIMATIONS_DURATION":"./animations-duration","TUI_ASSERT_ENABLED":"./assert-enabled","TUI_DATA_LIST_ACCESSOR":"./data-list-accessor","TUI_DATA_LIST_HOST":"./data-list-host","TUI_DOCUMENT_OR_SHADOW_ROOT":"./document-or-shadow-root","TUI_DROPDOWN_DIRECTIVE":"./dropdown-directive","TUI_ELEMENT_REF":"./element-ref","TUI_FIRST_DAY_OF_WEEK":"./first-day-of-week","TUI_MONTHS":"./i18n","TUI_CLOSE_WORD":"./i18n","TUI_NOTHING_FOUND_MESSAGE":"./i18n","TUI_DEFAULT_ERROR_MESSAGE":"./i18n","TUI_SPIN_TEXTS":"./i18n","TUI_SHORT_WEEK_DAYS":"./i18n","TUI_ICONS":"./icons","TUI_ICONS_PATH":"./icons-path","TUI_IS_MOBILE_RES":"./is-mobile-resolution","TUI_MEDIA":"./media","TUI_MODE":"./mode","TuiNotificationDefaultOptions":"./notification-options","NotificationTokenOptions":"./notification-options","TUI_NOTIFICATION_DEFAULT_OPTIONS":"./notification-options","TUI_NOTIFICATION_OPTIONS":"./notification-options","tuiNotificationOptionsProvider":"./notification-options","TUI_NUMBER_FORMAT":"./number-format","TUI_OPTION_CONTENT":"./option-content","WEEK_DAYS_NAMES":"./ordered-short-week-days","convertToSundayFirstWeekFormat":"./ordered-short-week-days","TUI_ORDERED_SHORT_WEEK_DAYS":"./ordered-short-week-days","TUI_SANITIZER":"@taiga-ui/cdk","TUI_SCROLL_REF":"./scroll-ref","TUI_SVG_SRC_PROCESSOR":"./svg-src-processor","TUI_TEXTFIELD_APPEARANCE":"./textfield-appearance","TUI_TEXTFIELD_HOST":"./textfield-host","TUI_THEME":"./theme","TUI_VALUE_ACCESSOR":"./value-accessor"},"importAs":"@taiga-ui/core/tokens"}
|
|
@@ -3,4 +3,4 @@ import { TuiDecimalSymbol } from '@taiga-ui/core/types';
|
|
|
3
3
|
/**
|
|
4
4
|
* Used to finish a number with zeros to a given precision
|
|
5
5
|
*/
|
|
6
|
-
export declare function tuiCreateAutoCorrectedNumberPipe(decimalLimit?: number, decimalSymbol?: TuiDecimalSymbol, thousandSymbol?: string, nativeInput?: HTMLInputElement, allowNegative?: boolean): TuiTextMaskPipeHandler;
|
|
6
|
+
export declare function tuiCreateAutoCorrectedNumberPipe(decimalLimit?: number, decimalSymbol?: TuiDecimalSymbol, thousandSymbol?: string, nativeInput?: HTMLInputElement | null, allowNegative?: boolean): TuiTextMaskPipeHandler;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TuiNumberMaskOptions, TuiTextMaskListHandler } from '@taiga-ui/core/mask';
|
|
2
2
|
/**
|
|
3
3
|
* Adaptation for {@link https://github.com/text-mask/text-mask/tree/master/addons#createnumbermask `createNumberMask`}
|
|
4
|
-
* @todo TODO: autocCorrectDecimalSymbol is no longer needed. Remove it in 3.0
|
|
5
4
|
*/
|
|
6
5
|
export declare function tuiCreateNumberMask({ allowDecimal, decimalSymbol, thousandSymbol, autoCorrectDecimalSymbol, decimalLimit, requireDecimal, allowNegative, integerLimit, }?: TuiNumberMaskOptions): TuiTextMaskListHandler;
|
package/utils/mask/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './create-auto-corrected-money-pipe';
|
|
2
2
|
export * from './create-correction-mask';
|
|
3
3
|
export * from './create-number-mask';
|
|
4
|
+
export * from './enable-auto-correct-decimal-symbol';
|
|
4
5
|
export * from './masked-money-value-is-empty';
|
|
5
6
|
export * from './masked-number-string-to-number';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"tuiCreateAutoCorrectedNumberPipe":{"__symbolic":"function"},"tuiCreateCorrectionMask":{"__symbolic":"function","parameters":["allowed","correctionHandler"],"value":{"__symbolic":"error","message":"Lambda not supported","line":14,"character":11,"module":"./create-correction-mask"}},"tuiCreateNumberMask":{"__symbolic":"function"},"maskedMoneyValueIsEmpty":{"__symbolic":"function"},"maskedNumberStringToNumber":{"__symbolic":"function","parameters":["value","decimalsSymbol","thousandSymbol"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"parseFloat"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"split"},"arguments":[{"__symbolic":"reference","name":"thousandSymbol"}]},"member":"join"},"arguments":[""]},"member":"split"},"arguments":[{"__symbolic":"reference","name":"decimalsSymbol"}]},"member":"join"},"arguments":["."]}]}}},"origins":{"tuiCreateAutoCorrectedNumberPipe":"./create-auto-corrected-money-pipe","tuiCreateCorrectionMask":"./create-correction-mask","tuiCreateNumberMask":"./create-number-mask","maskedMoneyValueIsEmpty":"./masked-money-value-is-empty","maskedNumberStringToNumber":"./masked-number-string-to-number"},"importAs":"@taiga-ui/core/utils/mask"}
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"tuiCreateAutoCorrectedNumberPipe":{"__symbolic":"function"},"tuiCreateCorrectionMask":{"__symbolic":"function","parameters":["allowed","correctionHandler"],"value":{"__symbolic":"error","message":"Lambda not supported","line":14,"character":11,"module":"./create-correction-mask"}},"tuiCreateNumberMask":{"__symbolic":"function"},"tuiEnableAutoCorrectDecimalSymbol":{"__symbolic":"function","parameters":["thousandSeparator"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/constants","name":"TUI_DECIMAL_SYMBOLS","line":6,"character":12},"member":"includes"},"arguments":[{"__symbolic":"reference","name":"thousandSeparator"}]}}},"maskedMoneyValueIsEmpty":{"__symbolic":"function"},"maskedNumberStringToNumber":{"__symbolic":"function","parameters":["value","decimalsSymbol","thousandSymbol"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"parseFloat"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"split"},"arguments":[{"__symbolic":"reference","name":"thousandSymbol"}]},"member":"join"},"arguments":[""]},"member":"split"},"arguments":[{"__symbolic":"reference","name":"decimalsSymbol"}]},"member":"join"},"arguments":["."]}]}}},"origins":{"tuiCreateAutoCorrectedNumberPipe":"./create-auto-corrected-money-pipe","tuiCreateCorrectionMask":"./create-correction-mask","tuiCreateNumberMask":"./create-number-mask","tuiEnableAutoCorrectDecimalSymbol":"./enable-auto-correct-decimal-symbol","maskedMoneyValueIsEmpty":"./masked-money-value-is-empty","maskedNumberStringToNumber":"./masked-number-string-to-number"},"importAs":"@taiga-ui/core/utils/mask"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"colorFallback":{"__symbolic":"function"},"getBorder":{"__symbolic":"function"},"iconsPathFactory":{"__symbolic":"function"},"isEditingKey":{"__symbolic":"function","parameters":["key"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"key"},"member":"length"},"right":1},"right":{"__symbolic":"
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"colorFallback":{"__symbolic":"function"},"getBorder":{"__symbolic":"function"},"iconsPathFactory":{"__symbolic":"function"},"isEditingKey":{"__symbolic":"function","parameters":["key"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"key"},"member":"length"},"right":1},"right":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/constants","name":"tuiEditingKeys","line":6,"character":31},"member":"includes"},"arguments":[{"__symbolic":"reference","name":"key"}]}}},"isPresumedHTMLString":{"__symbolic":"function"},"sizeBigger":{"__symbolic":"function","parameters":["size","biggerThanSize"],"defaults":[null,"s"],"value":{"__symbolic":"binop","operator":">","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":["xs","s","m","l","xl","xxl"],"member":"indexOf"},"arguments":[{"__symbolic":"reference","name":"size"}]},"right":{"__symbolic":"call","expression":{"__symbolic":"select","expression":["xs","s","m","l","xl","xxl"],"member":"indexOf"},"arguments":[{"__symbolic":"reference","name":"biggerThanSize"}]}}}},"origins":{"colorFallback":"./color-fallback","getBorder":"./get-border","iconsPathFactory":"./icons-path-factory","isEditingKey":"./is-editing-key","isPresumedHTMLString":"./is-presumed-hTMLString","sizeBigger":"./size-bigger"},"importAs":"@taiga-ui/core/utils/miscellaneous"}
|