@taiga-ui/core 2.29.0 → 2.33.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 +2 -1
- package/abstract/abstract-hint-options.d.ts +7 -0
- package/abstract/abstract-hint.d.ts +5 -4
- package/abstract/abstract-textfield-host.d.ts +13 -0
- package/abstract/index.d.ts +2 -0
- package/abstract/taiga-ui-core-abstract.metadata.json +1 -1
- package/bundles/taiga-ui-core-abstract.umd.js +76 -4
- package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-core-abstract.umd.min.js +1 -1
- package/bundles/taiga-ui-core-abstract.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.js +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-hints-host.umd.js +1 -0
- package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-label.umd.js +1 -1
- package/bundles/taiga-ui-core-components-label.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-label.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.js +2 -2
- package/bundles/taiga-ui-core-components-link.umd.js.map +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 +5 -2
- 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-primitive-textfield.umd.js +226 -44
- 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-scroll-controls.umd.js +1 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js +2 -2
- package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.js +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +24 -14
- 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 +2 -2
- 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-dropdown.umd.js +1 -6
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.min.js +2 -2
- package/bundles/taiga-ui-core-directives-dropdown.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint-controller.umd.js +17 -12
- package/bundles/taiga-ui-core-directives-hint-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint-controller.umd.min.js +2 -2
- package/bundles/taiga-ui-core-directives-hint-controller.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +20 -6
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.min.js +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-manual-hint.umd.js +15 -4
- package/bundles/taiga-ui-core-directives-manual-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js +1 -1
- package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.js +17 -6
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js +1 -1
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives.umd.js +4 -12
- 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-providers.umd.js +2 -1
- package/bundles/taiga-ui-core-providers.umd.js.map +1 -1
- package/bundles/taiga-ui-core-providers.umd.min.js +1 -1
- package/bundles/taiga-ui-core-providers.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +3 -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 +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +38 -6
- package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.min.js +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +1 -1
- 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/components/dialog/taiga-ui-core-components-dialog.metadata.json +1 -1
- package/components/dropdown-box/taiga-ui-core-components-dropdown-box.metadata.json +1 -1
- package/components/label/taiga-ui-core-components-label.metadata.json +1 -1
- package/components/link/taiga-ui-core-components-link.metadata.json +1 -1
- package/components/loader/loader.directive.d.ts +3 -0
- package/components/loader/taiga-ui-core-components-loader.metadata.json +1 -1
- package/components/primitive-textfield/index.d.ts +3 -0
- package/components/primitive-textfield/primitive-textfield-options.d.ts +11 -0
- package/components/primitive-textfield/primitive-textfield.component.d.ts +18 -11
- package/components/primitive-textfield/primitive-textfield.directive.d.ts +8 -0
- package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.metadata.json +1 -1
- package/components/primitive-textfield/textfield/textfield.component.d.ts +15 -0
- package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +1 -0
- package/components/scroll-controls/taiga-ui-core-components-scroll-controls.metadata.json +1 -1
- package/components/theme-night/taiga-ui-core-components-theme-night.metadata.json +1 -1
- package/components/tooltip/taiga-ui-core-components-tooltip.metadata.json +1 -1
- package/components/tooltip/tooltip.component.d.ts +9 -6
- package/constants/taiga-ui-core-constants.metadata.json +1 -1
- package/constants/version.d.ts +1 -1
- package/directives/dropdown/taiga-ui-core-directives-dropdown.metadata.json +1 -1
- package/directives/hint/hint-options.d.ts +12 -0
- package/directives/hint/hint.directive.d.ts +5 -3
- package/directives/hint/index.d.ts +1 -0
- package/directives/hint/taiga-ui-core-directives-hint.metadata.json +1 -1
- package/directives/hint-controller/hint-controller.directive.d.ts +7 -5
- package/directives/hint-controller/taiga-ui-core-directives-hint-controller.metadata.json +1 -1
- package/directives/index.d.ts +0 -1
- package/directives/manual-hint/index.d.ts +1 -0
- package/directives/manual-hint/manual-hint-options.d.ts +6 -0
- package/directives/manual-hint/manual-hint.directive.d.ts +3 -1
- package/directives/manual-hint/taiga-ui-core-directives-manual-hint.metadata.json +1 -1
- package/directives/pointer-hint/index.d.ts +1 -0
- package/directives/pointer-hint/pointer-hint-options.d.ts +9 -0
- package/directives/pointer-hint/pointer-hint.directive.d.ts +5 -3
- package/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.metadata.json +1 -1
- package/directives/taiga-ui-core-directives.metadata.json +1 -1
- package/esm2015/abstract/abstract-dropdown.js +12 -1
- package/esm2015/abstract/abstract-hint-options.js +6 -0
- package/esm2015/abstract/abstract-hint.js +7 -5
- package/esm2015/abstract/abstract-textfield-host.js +34 -0
- package/esm2015/abstract/index.js +3 -1
- package/esm2015/components/dialog/dialog.component.js +1 -1
- package/esm2015/components/dropdown-box/dropdown-box.component.js +1 -1
- package/esm2015/components/hints-host/hint-box/hint-box.component.js +2 -1
- package/esm2015/components/label/label.component.js +1 -1
- package/esm2015/components/link/link.component.js +3 -3
- package/esm2015/components/loader/loader.component.js +1 -1
- package/esm2015/components/loader/loader.directive.js +5 -2
- package/esm2015/components/primitive-textfield/index.js +4 -1
- package/esm2015/components/primitive-textfield/primitive-textfield-options.js +12 -0
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +66 -31
- package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +40 -0
- package/esm2015/components/primitive-textfield/primitive-textfield.module.js +15 -7
- package/esm2015/components/primitive-textfield/textfield/textfield.component.js +68 -0
- package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +12 -5
- package/esm2015/components/scroll-controls/scroll-controls.component.js +1 -1
- package/esm2015/components/theme-night/theme-night.component.js +1 -1
- package/esm2015/components/tooltip/tooltip.component.js +17 -10
- package/esm2015/components/tooltip/tooltip.module.js +3 -2
- package/esm2015/constants/regexp.js +2 -2
- package/esm2015/constants/version.js +2 -2
- package/esm2015/directives/dropdown/dropdown.directive.js +2 -7
- package/esm2015/directives/hint/hint-options.js +10 -0
- package/esm2015/directives/hint/hint.directive.js +11 -7
- package/esm2015/directives/hint/index.js +2 -1
- package/esm2015/directives/hint-controller/hint-controller.directive.js +16 -10
- package/esm2015/directives/hint-controller/hint-controller.token.js +4 -3
- package/esm2015/directives/index.js +1 -2
- package/esm2015/directives/manual-hint/index.js +2 -1
- package/esm2015/directives/manual-hint/manual-hint-options.js +8 -0
- package/esm2015/directives/manual-hint/manual-hint.directive.js +9 -5
- package/esm2015/directives/pointer-hint/index.js +2 -1
- package/esm2015/directives/pointer-hint/pointer-hint-options.js +8 -0
- package/esm2015/directives/pointer-hint/pointer-hint.directive.js +11 -7
- package/esm2015/interfaces/index.js +1 -1
- package/esm2015/interfaces/textfield-host.js +1 -0
- package/esm2015/providers/mode.provider.js +3 -2
- package/esm2015/tokens/index.js +2 -1
- package/esm2015/tokens/textfield-host.js +3 -0
- package/esm2015/utils/dom/process-icon.js +2 -2
- package/esm2015/utils/format/format-number.js +6 -7
- package/esm2015/utils/format/get-fractional-part-padded.js +15 -0
- package/esm2015/utils/format/index.js +3 -1
- package/esm2015/utils/format/number-to-string-without-exp.js +18 -0
- package/esm2015/utils/mask/create-number-mask.js +2 -2
- package/esm5/abstract/abstract-dropdown.js +12 -1
- package/esm5/abstract/abstract-hint-options.js +6 -0
- package/esm5/abstract/abstract-hint.js +7 -5
- package/esm5/abstract/abstract-textfield-host.js +55 -0
- package/esm5/abstract/index.js +3 -1
- package/esm5/components/dialog/dialog.component.js +1 -1
- package/esm5/components/dropdown-box/dropdown-box.component.js +1 -1
- package/esm5/components/hints-host/hint-box/hint-box.component.js +2 -1
- package/esm5/components/label/label.component.js +1 -1
- package/esm5/components/link/link.component.js +3 -3
- package/esm5/components/loader/loader.component.js +1 -1
- package/esm5/components/loader/loader.directive.js +5 -2
- package/esm5/components/primitive-textfield/index.js +4 -1
- package/esm5/components/primitive-textfield/primitive-textfield-options.js +12 -0
- package/esm5/components/primitive-textfield/primitive-textfield.component.js +70 -35
- package/esm5/components/primitive-textfield/primitive-textfield.directive.js +49 -0
- package/esm5/components/primitive-textfield/primitive-textfield.module.js +15 -7
- package/esm5/components/primitive-textfield/textfield/textfield.component.js +77 -0
- package/esm5/components/primitive-textfield/value-decoration/value-decoration.component.js +16 -5
- package/esm5/components/scroll-controls/scroll-controls.component.js +1 -1
- package/esm5/components/theme-night/theme-night.component.js +1 -1
- package/esm5/components/tooltip/tooltip.component.js +21 -10
- package/esm5/components/tooltip/tooltip.module.js +3 -2
- package/esm5/constants/regexp.js +2 -2
- package/esm5/constants/version.js +2 -2
- package/esm5/directives/dropdown/dropdown.directive.js +2 -7
- package/esm5/directives/hint/hint-options.js +11 -0
- package/esm5/directives/hint/hint.directive.js +11 -7
- package/esm5/directives/hint/index.js +2 -1
- package/esm5/directives/hint-controller/hint-controller.directive.js +16 -10
- package/esm5/directives/hint-controller/hint-controller.token.js +4 -3
- package/esm5/directives/index.js +1 -2
- package/esm5/directives/manual-hint/index.js +2 -1
- package/esm5/directives/manual-hint/manual-hint-options.js +9 -0
- package/esm5/directives/manual-hint/manual-hint.directive.js +9 -5
- package/esm5/directives/pointer-hint/index.js +2 -1
- package/esm5/directives/pointer-hint/pointer-hint-options.js +9 -0
- package/esm5/directives/pointer-hint/pointer-hint.directive.js +11 -7
- package/esm5/interfaces/index.js +1 -1
- package/esm5/interfaces/textfield-host.js +1 -0
- package/esm5/providers/mode.provider.js +3 -2
- package/esm5/tokens/index.js +2 -1
- package/esm5/tokens/textfield-host.js +3 -0
- package/esm5/utils/dom/process-icon.js +2 -2
- package/esm5/utils/format/format-number.js +6 -7
- package/esm5/utils/format/get-fractional-part-padded.js +16 -0
- package/esm5/utils/format/index.js +3 -1
- package/esm5/utils/format/number-to-string-without-exp.js +19 -0
- package/esm5/utils/mask/create-number-mask.js +2 -2
- package/fesm2015/taiga-ui-core-abstract.js +57 -8
- package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +1 -1
- package/fesm2015/taiga-ui-core-components-dropdown-box.js +1 -1
- package/fesm2015/taiga-ui-core-components-hints-host.js +1 -0
- package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-label.js +1 -1
- package/fesm2015/taiga-ui-core-components-link.js +2 -2
- package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-loader.js +5 -2
- package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +197 -42
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scroll-controls.js +1 -1
- package/fesm2015/taiga-ui-core-components-theme-night.js +1 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js +18 -10
- package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm2015/taiga-ui-core-constants.js +2 -2
- package/fesm2015/taiga-ui-core-constants.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +1 -6
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint-controller.js +16 -10
- package/fesm2015/taiga-ui-core-directives-hint-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +20 -9
- package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-manual-hint.js +16 -7
- package/fesm2015/taiga-ui-core-directives-manual-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-pointer-hint.js +18 -9
- package/fesm2015/taiga-ui-core-directives-pointer-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives.js +0 -1
- package/fesm2015/taiga-ui-core-directives.js.map +1 -1
- package/fesm2015/taiga-ui-core-providers.js +2 -1
- package/fesm2015/taiga-ui-core-providers.js.map +1 -1
- package/fesm2015/taiga-ui-core-tokens.js +3 -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 +37 -7
- package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mask.js +1 -1
- package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
- package/fesm5/taiga-ui-core-abstract.js +78 -8
- package/fesm5/taiga-ui-core-abstract.js.map +1 -1
- package/fesm5/taiga-ui-core-components-dialog.js +1 -1
- package/fesm5/taiga-ui-core-components-dropdown-box.js +1 -1
- package/fesm5/taiga-ui-core-components-hints-host.js +1 -0
- package/fesm5/taiga-ui-core-components-hints-host.js.map +1 -1
- package/fesm5/taiga-ui-core-components-label.js +1 -1
- package/fesm5/taiga-ui-core-components-link.js +2 -2
- package/fesm5/taiga-ui-core-components-link.js.map +1 -1
- package/fesm5/taiga-ui-core-components-loader.js +5 -2
- package/fesm5/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm5/taiga-ui-core-components-primitive-textfield.js +223 -46
- package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm5/taiga-ui-core-components-scroll-controls.js +1 -1
- package/fesm5/taiga-ui-core-components-theme-night.js +1 -1
- package/fesm5/taiga-ui-core-components-tooltip.js +22 -10
- package/fesm5/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm5/taiga-ui-core-constants.js +2 -2
- package/fesm5/taiga-ui-core-constants.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-dropdown.js +1 -6
- package/fesm5/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-hint-controller.js +16 -10
- package/fesm5/taiga-ui-core-directives-hint-controller.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-hint.js +21 -10
- package/fesm5/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-manual-hint.js +17 -8
- package/fesm5/taiga-ui-core-directives-manual-hint.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-pointer-hint.js +19 -10
- package/fesm5/taiga-ui-core-directives-pointer-hint.js.map +1 -1
- package/fesm5/taiga-ui-core-directives.js +0 -1
- package/fesm5/taiga-ui-core-directives.js.map +1 -1
- package/fesm5/taiga-ui-core-providers.js +2 -1
- package/fesm5/taiga-ui-core-providers.js.map +1 -1
- package/fesm5/taiga-ui-core-tokens.js +3 -1
- 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 +37 -7
- package/fesm5/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-mask.js +1 -1
- package/fesm5/taiga-ui-core-utils-mask.js.map +1 -1
- package/interfaces/index.d.ts +1 -0
- package/interfaces/taiga-ui-core-interfaces.metadata.json +1 -1
- package/interfaces/textfield-host.d.ts +9 -0
- package/package.json +7 -6
- package/providers/taiga-ui-core-providers.metadata.json +1 -1
- package/styles/markup/tui-island.less +1 -0
- package/styles/mixins/textfield.less +47 -27
- package/styles/mixins/textfield.scss +0 -9
- package/styles/taiga-ui-theme.less +1 -0
- package/styles/theme/dialog.less +13 -0
- package/styles/theme/variables.less +2 -0
- package/styles/variables/media.less +2 -2
- package/tokens/index.d.ts +1 -0
- package/tokens/taiga-ui-core-tokens.metadata.json +1 -1
- package/tokens/textfield-host.d.ts +3 -0
- package/utils/format/get-fractional-part-padded.d.ts +8 -0
- package/utils/format/index.d.ts +2 -0
- package/utils/format/number-to-string-without-exp.d.ts +7 -0
- package/utils/format/taiga-ui-core-utils-format.metadata.json +1 -1
- package/bundles/taiga-ui-core-directives-border.umd.js +0 -291
- package/bundles/taiga-ui-core-directives-border.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-border.umd.min.js +0 -16
- package/bundles/taiga-ui-core-directives-border.umd.min.js.map +0 -1
- package/directives/border/border.directive.d.ts +0 -9
- package/directives/border/border.module.d.ts +0 -2
- package/directives/border/index.d.ts +0 -2
- package/directives/border/package.json +0 -13
- package/directives/border/taiga-ui-core-directives-border.d.ts +0 -4
- package/directives/border/taiga-ui-core-directives-border.metadata.json +0 -1
- package/esm2015/directives/border/border.directive.js +0 -42
- package/esm2015/directives/border/border.module.js +0 -13
- package/esm2015/directives/border/index.js +0 -3
- package/esm2015/directives/border/taiga-ui-core-directives-border.js +0 -5
- package/esm5/directives/border/border.directive.js +0 -51
- package/esm5/directives/border/border.module.js +0 -16
- package/esm5/directives/border/index.js +0 -3
- package/esm5/directives/border/taiga-ui-core-directives-border.js +0 -5
- package/fesm2015/taiga-ui-core-directives-border.js +0 -57
- package/fesm2015/taiga-ui-core-directives-border.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-border.js +0 -69
- package/fesm5/taiga-ui-core-directives-border.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.33.0",
|
|
4
4
|
"description": "Core library for creating Angular components and applications using Taiga UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -16,21 +16,22 @@
|
|
|
16
16
|
"homepage": "https://github.com/tinkoff/taiga-ui",
|
|
17
17
|
"schematics": "./schematics/collection.json",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@taiga-ui/i18n": "2.
|
|
19
|
+
"@taiga-ui/i18n": "^2.33.0",
|
|
20
20
|
"tslib": "^1.10.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@taiga-ui/
|
|
23
|
+
"@taiga-ui/i18n": ">=2.33.0",
|
|
24
|
+
"@taiga-ui/cdk": ">=2.33.0",
|
|
24
25
|
"@angular/animations": ">=9.0.0",
|
|
25
26
|
"@angular/common": ">=9.0.0",
|
|
26
27
|
"@angular/core": ">=9.0.0",
|
|
27
28
|
"@angular/forms": ">=9.0.0",
|
|
28
29
|
"@angular/platform-browser": ">=9.0.0",
|
|
29
30
|
"@angular/router": ">=9.0.0",
|
|
30
|
-
"@ng-web-apis/common": "1.12.1",
|
|
31
|
-
"@ng-web-apis/mutation-observer": "1.1.0",
|
|
31
|
+
"@ng-web-apis/common": ">=1.12.1 < 2",
|
|
32
|
+
"@ng-web-apis/mutation-observer": ">=1.1.0",
|
|
32
33
|
"@tinkoff/ng-event-plugins": ">=2.3.2",
|
|
33
|
-
"@tinkoff/ng-polymorpheus": "3.1.12",
|
|
34
|
+
"@tinkoff/ng-polymorpheus": ">=3.1.12 < 4",
|
|
34
35
|
"rxjs": ">=6.0.0"
|
|
35
36
|
},
|
|
36
37
|
"main": "bundles/taiga-ui-core.umd.js",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"isMobileResFactory":{"__symbolic":"function"},"TUI_IS_MOBILE_RES_PROVIDER":{"provide":{"__symbolic":"reference","module":"@taiga-ui/core/tokens","name":"TUI_IS_MOBILE_RES","line":27,"character":13},"deps":[{"__symbolic":"reference","module":"@ng-web-apis/common","name":"WINDOW","line":28,"character":11},{"__symbolic":"reference","module":"@taiga-ui/core/tokens","name":"TUI_MEDIA","line":28,"character":19},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":28,"character":30},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":28,"character":42}],"useFactory":{"__symbolic":"reference","name":"isMobileResFactory"}},"modeFactory":{"__symbolic":"function"},"MODE_PROVIDER":{"provide":{"__symbolic":"reference","module":"@taiga-ui/core/tokens","name":"TUI_MODE","line":
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"isMobileResFactory":{"__symbolic":"function"},"TUI_IS_MOBILE_RES_PROVIDER":{"provide":{"__symbolic":"reference","module":"@taiga-ui/core/tokens","name":"TUI_IS_MOBILE_RES","line":27,"character":13},"deps":[{"__symbolic":"reference","module":"@ng-web-apis/common","name":"WINDOW","line":28,"character":11},{"__symbolic":"reference","module":"@taiga-ui/core/tokens","name":"TUI_MEDIA","line":28,"character":19},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":28,"character":30},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":28,"character":42}],"useFactory":{"__symbolic":"reference","name":"isMobileResFactory"}},"modeFactory":{"__symbolic":"function"},"MODE_PROVIDER":{"provide":{"__symbolic":"reference","module":"@taiga-ui/core/tokens","name":"TUI_MODE","line":24,"character":13},"deps":[[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":25,"character":16}},{"__symbolic":"reference","module":"@taiga-ui/core/directives/mode","name":"TuiModeDirective","line":25,"character":28}],{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":25,"character":47}],"useFactory":{"__symbolic":"reference","name":"modeFactory"}},"watchedControllerFactory":{"__symbolic":"function"}},"origins":{"isMobileResFactory":"./is-mobile-resolution.provider","TUI_IS_MOBILE_RES_PROVIDER":"./is-mobile-resolution.provider","modeFactory":"./mode.provider","MODE_PROVIDER":"./mode.provider","watchedControllerFactory":"./watched-controller-provider-factory"},"importAs":"@taiga-ui/core/providers"}
|
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
border-radius: var(--tui-radius-m);
|
|
6
6
|
text-align: left;
|
|
7
7
|
|
|
8
|
-
&[data-
|
|
8
|
+
&[data-size='s'] {
|
|
9
9
|
height: var(--tui-height-s);
|
|
10
10
|
min-height: var(--tui-height-s);
|
|
11
11
|
max-height: var(--tui-height-s);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
&[data-
|
|
14
|
+
&[data-size='m'] {
|
|
15
15
|
height: var(--tui-height-m);
|
|
16
16
|
min-height: var(--tui-height-m);
|
|
17
17
|
max-height: var(--tui-height-m);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
&[data-
|
|
20
|
+
&[data-size='l'] {
|
|
21
21
|
height: var(--tui-height-l);
|
|
22
22
|
min-height: var(--tui-height-l);
|
|
23
23
|
max-height: var(--tui-height-l);
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
align-items: center;
|
|
35
35
|
overflow: hidden;
|
|
36
36
|
|
|
37
|
-
:host[data-
|
|
37
|
+
:host[data-size='s'] & {
|
|
38
38
|
padding: 0 var(--tui-padding-s);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
:host[data-
|
|
41
|
+
:host[data-size='l'] & {
|
|
42
42
|
padding: 0 var(--tui-padding-l);
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
margin-right: -0.25rem;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
:host[data-
|
|
50
|
+
:host[data-size='m'] &:after {
|
|
51
51
|
display: none;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -58,34 +58,39 @@
|
|
|
58
58
|
.fullsize();
|
|
59
59
|
padding: 0 var(--tui-padding-m);
|
|
60
60
|
border: 0 solid transparent;
|
|
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);
|
|
64
|
+
text-indent: var(--text-indent);
|
|
61
65
|
text-align: inherit;
|
|
62
66
|
box-sizing: border-box;
|
|
63
67
|
white-space: nowrap;
|
|
64
68
|
overflow: hidden;
|
|
65
69
|
text-transform: inherit;
|
|
66
70
|
|
|
67
|
-
:host[data-mode='onDark']
|
|
71
|
+
:host[data-mode='onDark'] &,
|
|
72
|
+
:host-context(tui-primitive-textfield[data-mode='onDark']) {
|
|
68
73
|
.autofill(dark);
|
|
69
74
|
}
|
|
70
75
|
|
|
71
|
-
:host[data-
|
|
76
|
+
:host[data-size='s'] &,
|
|
77
|
+
:host-context(tui-primitive-textfield[data-size='s']):not(tui-primitive-textfield) {
|
|
72
78
|
padding: 0 var(--tui-padding-s);
|
|
73
79
|
}
|
|
74
80
|
|
|
75
|
-
:host[data-
|
|
81
|
+
:host[data-size='l'] &,
|
|
82
|
+
:host-context(tui-primitive-textfield[data-size='l']):not(tui-primitive-textfield) {
|
|
76
83
|
padding: 0 var(--tui-padding-l);
|
|
77
84
|
}
|
|
78
85
|
|
|
79
|
-
:host._disabled
|
|
86
|
+
:host._disabled &,
|
|
87
|
+
:host-context(tui-primitive-textfield._disabled) {
|
|
80
88
|
// @bad TODO: research why you can reach disabled textfield with mask inside a label without that
|
|
81
89
|
pointer-events: none;
|
|
82
90
|
}
|
|
83
91
|
|
|
84
|
-
:host.
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
:host[data-tui-host-size='l']:not(._label-outside) & {
|
|
92
|
+
:host[data-size='l']:not(._label-outside) &,
|
|
93
|
+
:host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield) {
|
|
89
94
|
padding-top: 1.25rem;
|
|
90
95
|
|
|
91
96
|
// Workaround for raising placeholder in temporary autofill
|
|
@@ -95,7 +100,8 @@
|
|
|
95
100
|
}
|
|
96
101
|
}
|
|
97
102
|
|
|
98
|
-
:host[data-
|
|
103
|
+
:host[data-size='m']:not(._label-outside) &,
|
|
104
|
+
:host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield) {
|
|
99
105
|
padding-top: 1.125rem;
|
|
100
106
|
|
|
101
107
|
// Workaround for raising placeholder in temporary autofill
|
|
@@ -104,6 +110,13 @@
|
|
|
104
110
|
transform: translateY(-0.5rem);
|
|
105
111
|
}
|
|
106
112
|
}
|
|
113
|
+
|
|
114
|
+
:host._hidden input&,
|
|
115
|
+
:host-context(tui-primitive-textfield._hidden) {
|
|
116
|
+
opacity: 0;
|
|
117
|
+
text-indent: -10em; // Hide blinking caret even in IE
|
|
118
|
+
-webkit-user-select: none; // Hide blinking caret in mobile safari
|
|
119
|
+
}
|
|
107
120
|
}
|
|
108
121
|
|
|
109
122
|
.textfield-wrapper() {
|
|
@@ -128,7 +141,7 @@
|
|
|
128
141
|
&_raised {
|
|
129
142
|
transform: translateY(-0.625rem);
|
|
130
143
|
|
|
131
|
-
:host[data-
|
|
144
|
+
:host[data-size='m'] & {
|
|
132
145
|
font-size: 0.69rem;
|
|
133
146
|
transform: translateY(-0.5rem);
|
|
134
147
|
letter-spacing: 0.025rem;
|
|
@@ -146,12 +159,12 @@
|
|
|
146
159
|
}
|
|
147
160
|
|
|
148
161
|
:host._focused &,
|
|
149
|
-
:host[data-
|
|
150
|
-
:host[data-
|
|
162
|
+
:host[data-size='m']._focused._label-outside &,
|
|
163
|
+
:host[data-size='l']._focused._label-outside & {
|
|
151
164
|
color: var(--tui-text-03);
|
|
152
165
|
}
|
|
153
166
|
|
|
154
|
-
:host[data-
|
|
167
|
+
:host[data-size='l'] & {
|
|
155
168
|
font-size: 0.9375rem;
|
|
156
169
|
|
|
157
170
|
&_raised {
|
|
@@ -159,8 +172,8 @@
|
|
|
159
172
|
}
|
|
160
173
|
}
|
|
161
174
|
|
|
162
|
-
:host[data-
|
|
163
|
-
:host[data-
|
|
175
|
+
:host[data-size='m']._focused:not(._label-outside) &,
|
|
176
|
+
:host[data-size='l']._focused:not(._label-outside) & {
|
|
164
177
|
color: var(--tui-text-01);
|
|
165
178
|
}
|
|
166
179
|
|
|
@@ -170,14 +183,14 @@
|
|
|
170
183
|
color: var(--tui-text-02-night);
|
|
171
184
|
}
|
|
172
185
|
|
|
173
|
-
:host[data-
|
|
174
|
-
:host[data-
|
|
186
|
+
:host[data-size='m'][data-mode='onDark']._focused:not(._label-outside) &,
|
|
187
|
+
:host[data-size='l'][data-mode='onDark']._focused:not(._label-outside) & {
|
|
175
188
|
color: var(--tui-text-01-night);
|
|
176
189
|
}
|
|
177
190
|
|
|
178
191
|
:host[data-mode='onDark']._focused &,
|
|
179
|
-
:host[data-
|
|
180
|
-
:host[data-
|
|
192
|
+
:host[data-size='m'][data-mode='onDark']._focused._label-outside &,
|
|
193
|
+
:host[data-size='l'][data-mode='onDark']._focused._label-outside & {
|
|
181
194
|
color: var(--tui-text-02-night);
|
|
182
195
|
}
|
|
183
196
|
/* stylelint-enable selector-max-specificity */
|
|
@@ -245,6 +258,13 @@
|
|
|
245
258
|
|
|
246
259
|
.placeholder {
|
|
247
260
|
.textfield-placeholder();
|
|
261
|
+
|
|
262
|
+
/* Safari 9+ */
|
|
263
|
+
@supports (-webkit-hyphens: none) {
|
|
264
|
+
& {
|
|
265
|
+
transition-property: transform, color, letter-spacing;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
248
268
|
}
|
|
249
269
|
|
|
250
270
|
.cleaner {
|
|
@@ -260,7 +280,7 @@
|
|
|
260
280
|
margin-inline-start: -@space;
|
|
261
281
|
margin-inline-end: 2 * @space;
|
|
262
282
|
|
|
263
|
-
:host[data-
|
|
283
|
+
:host[data-size='s'] & {
|
|
264
284
|
margin-right: @space;
|
|
265
285
|
margin-inline-end: @space;
|
|
266
286
|
}
|
|
@@ -65,10 +65,6 @@
|
|
|
65
65
|
pointer-events: none;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
:host._right-aligned & {
|
|
69
|
-
text-align: right;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
68
|
:host[data-tui-host-size='l']:not(._label-outside) & {
|
|
73
69
|
padding-top: 20px;
|
|
74
70
|
|
|
@@ -217,11 +213,6 @@
|
|
|
217
213
|
letter-spacing: normal;
|
|
218
214
|
text-transform: none;
|
|
219
215
|
|
|
220
|
-
:host._right-aligned & {
|
|
221
|
-
flex-direction: row-reverse;
|
|
222
|
-
margin-right: -$space;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
216
|
:host[data-tui-host-size='m']._label-outside & {
|
|
226
217
|
margin-top: -19px;
|
|
227
218
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@import '../mixins/mixins';
|
|
2
|
+
|
|
3
|
+
tui-root:not(._mobile) tui-dialog-host > section {
|
|
4
|
+
.customize-scroll();
|
|
5
|
+
|
|
6
|
+
&::-webkit-scrollbar-thumb {
|
|
7
|
+
background-color: rgba(168, 168, 168, 0.5);
|
|
8
|
+
|
|
9
|
+
&:hover {
|
|
10
|
+
background-color: rgba(204, 204, 204, 0.5);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -66,6 +66,8 @@
|
|
|
66
66
|
--tui-clear-inverse: rgba(255, 255, 255, 0.16); // translucent light fill
|
|
67
67
|
--tui-clear-inverse-hover: rgba(255, 255, 255, 0.24); // translucent light fill hover
|
|
68
68
|
--tui-clear-inverse-active: rgba(255, 255, 255, 0.4); // translucent light fill pressed
|
|
69
|
+
--tui-elevation-01: #fff; // background of elevated elements
|
|
70
|
+
--tui-elevation-02: #fff; // background of elevated elements
|
|
69
71
|
// Statuses
|
|
70
72
|
--tui-error-fill: rgba(244, 87, 37, 1); // icons and decorative elements with error status
|
|
71
73
|
--tui-error-bg: rgba(244, 87, 37, 0.12); // translucent error background
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
// actual
|
|
27
27
|
|
|
28
28
|
@mobile-m: ~'screen and (max-width: 47.9375em)';
|
|
29
|
-
@mobile-m-min: ~'screen and (min-width:
|
|
30
|
-
@mobile-m-interval: ~'(min-width:
|
|
29
|
+
@mobile-m-min: ~'screen and (min-width: 22.5em)';
|
|
30
|
+
@mobile-m-interval: ~'(min-width: 22.5em) and (max-width: 47.9375em)';
|
|
31
31
|
|
|
32
32
|
@tablet-lg: ~'screen and (max-width: 63.9375em)';
|
|
33
33
|
@tablet-lg-min: ~'screen and (min-width: 48em)';
|
package/tokens/index.d.ts
CHANGED
|
@@ -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_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_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"]},"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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Return fractional part of number
|
|
3
|
+
*
|
|
4
|
+
* @param value the number
|
|
5
|
+
* @param precision number of digits of decimal part, null to keep untouched
|
|
6
|
+
* @return the fractional part of number
|
|
7
|
+
*/
|
|
8
|
+
export declare function getFractionPartPadded(value: number, precision?: number | null): string;
|
package/utils/format/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from './capitalize';
|
|
2
2
|
export * from './format-number';
|
|
3
3
|
export * from './format-phone';
|
|
4
|
+
export * from './get-fractional-part-padded';
|
|
5
|
+
export * from './number-to-string-without-exp';
|
|
4
6
|
export * from './other-decimal-symbol';
|
|
5
7
|
export * from './pluralize';
|
|
6
8
|
export * from './pluralize-to-icu';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"capitalize":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"toLowerCase"}},"member":"replace"},"arguments":[{"__symbolic":"error","message":"Expression form not supported","line":8,"character":39,"module":"./capitalize"},{"__symbolic":"error","message":"Lambda not supported","line":8,"character":54,"module":"./capitalize"}]}},"formatNumber":{"__symbolic":"function"},"formatPhone":{"__symbolic":"function"},"otherDecimalSymbol":{"__symbolic":"function","parameters":["symbol"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"symbol"},"right":"."},"thenExpression":",","elseExpression":"."}},"pluralize":{"__symbolic":"function"},"tuiPluralizeToICU":{"__symbolic":"function","parameters":["pluralize"],"value":{"one":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"pluralize"},"index":0},"few":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"pluralize"},"index":1},"many":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"pluralize"},"index":2},"other":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"pluralize"},"index":2}}}},"origins":{"capitalize":"./capitalize","formatNumber":"./format-number","formatPhone":"./format-phone","otherDecimalSymbol":"./other-decimal-symbol","pluralize":"./pluralize","tuiPluralizeToICU":"./pluralize-to-icu"},"importAs":"@taiga-ui/core/utils/format"}
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"capitalize":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"toLowerCase"}},"member":"replace"},"arguments":[{"__symbolic":"error","message":"Expression form not supported","line":8,"character":39,"module":"./capitalize"},{"__symbolic":"error","message":"Lambda not supported","line":8,"character":54,"module":"./capitalize"}]}},"formatNumber":{"__symbolic":"function"},"formatPhone":{"__symbolic":"function"},"getFractionPartPadded":{"__symbolic":"function"},"numberToStringWithoutExp":{"__symbolic":"function"},"otherDecimalSymbol":{"__symbolic":"function","parameters":["symbol"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"symbol"},"right":"."},"thenExpression":",","elseExpression":"."}},"pluralize":{"__symbolic":"function"},"tuiPluralizeToICU":{"__symbolic":"function","parameters":["pluralize"],"value":{"one":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"pluralize"},"index":0},"few":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"pluralize"},"index":1},"many":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"pluralize"},"index":2},"other":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"pluralize"},"index":2}}}},"origins":{"capitalize":"./capitalize","formatNumber":"./format-number","formatPhone":"./format-phone","getFractionPartPadded":"./get-fractional-part-padded","numberToStringWithoutExp":"./number-to-string-without-exp","otherDecimalSymbol":"./other-decimal-symbol","pluralize":"./pluralize","tuiPluralizeToICU":"./pluralize-to-icu"},"importAs":"@taiga-ui/core/utils/format"}
|