@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
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from 'tslib';
|
|
2
|
-
import { Inject, Input, HostBinding, Directive, NgModule } from '@angular/core';
|
|
3
|
-
import { CSS } from '@ng-web-apis/common';
|
|
4
|
-
|
|
5
|
-
let TuiBorderDirective = class TuiBorderDirective {
|
|
6
|
-
constructor(css) {
|
|
7
|
-
this.css = css;
|
|
8
|
-
this.start = 0;
|
|
9
|
-
this.end = 0;
|
|
10
|
-
this.modern = this.css.supports('border-inline-start-width', '0');
|
|
11
|
-
}
|
|
12
|
-
get oldStart() {
|
|
13
|
-
return this.modern ? null : this.start;
|
|
14
|
-
}
|
|
15
|
-
get oldEnd() {
|
|
16
|
-
return this.modern ? null : this.end;
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
TuiBorderDirective.ctorParameters = () => [
|
|
20
|
-
{ type: undefined, decorators: [{ type: Inject, args: [CSS,] }] }
|
|
21
|
-
];
|
|
22
|
-
__decorate([
|
|
23
|
-
Input('tuiBorderStart'),
|
|
24
|
-
HostBinding('style.borderInlineStartWidth.rem')
|
|
25
|
-
], TuiBorderDirective.prototype, "start", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
Input('tuiBorderEnd'),
|
|
28
|
-
HostBinding('style.borderInlineEndWidth.rem')
|
|
29
|
-
], TuiBorderDirective.prototype, "end", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
HostBinding('style.borderLeftWidth.rem')
|
|
32
|
-
], TuiBorderDirective.prototype, "oldStart", null);
|
|
33
|
-
__decorate([
|
|
34
|
-
HostBinding('style.borderRightWidth.rem')
|
|
35
|
-
], TuiBorderDirective.prototype, "oldEnd", null);
|
|
36
|
-
TuiBorderDirective = __decorate([
|
|
37
|
-
Directive({
|
|
38
|
-
selector: '[tuiBorderStart], [tuiBorderEnd]',
|
|
39
|
-
}),
|
|
40
|
-
__param(0, Inject(CSS))
|
|
41
|
-
], TuiBorderDirective);
|
|
42
|
-
|
|
43
|
-
let TuiBorderModule = class TuiBorderModule {
|
|
44
|
-
};
|
|
45
|
-
TuiBorderModule = __decorate([
|
|
46
|
-
NgModule({
|
|
47
|
-
declarations: [TuiBorderDirective],
|
|
48
|
-
exports: [TuiBorderDirective],
|
|
49
|
-
})
|
|
50
|
-
], TuiBorderModule);
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Generated bundle index. Do not edit.
|
|
54
|
-
*/
|
|
55
|
-
|
|
56
|
-
export { TuiBorderDirective, TuiBorderModule };
|
|
57
|
-
//# sourceMappingURL=taiga-ui-core-directives-border.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-directives-border.js","sources":["ng://@taiga-ui/core/directives/border/border.directive.ts","ng://@taiga-ui/core/directives/border/border.module.ts","ng://@taiga-ui/core/directives/border/taiga-ui-core-directives-border.ts"],"sourcesContent":["import {Directive, HostBinding, Inject, Input} from '@angular/core';\nimport {CSS} from '@ng-web-apis/common';\n\n@Directive({\n selector: '[tuiBorderStart], [tuiBorderEnd]',\n})\nexport class TuiBorderDirective {\n @Input('tuiBorderStart')\n @HostBinding('style.borderInlineStartWidth.rem')\n start = 0;\n\n @Input('tuiBorderEnd')\n @HostBinding('style.borderInlineEndWidth.rem')\n end = 0;\n\n readonly modern = this.css.supports('border-inline-start-width', '0');\n\n constructor(@Inject(CSS) private readonly css: any) {}\n\n @HostBinding('style.borderLeftWidth.rem')\n get oldStart(): number | null {\n return this.modern ? null : this.start;\n }\n\n @HostBinding('style.borderRightWidth.rem')\n get oldEnd(): number | null {\n return this.modern ? null : this.end;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiBorderDirective} from './border.directive';\n\n@NgModule({\n declarations: [TuiBorderDirective],\n exports: [TuiBorderDirective],\n})\nexport class TuiBorderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;IAMa,kBAAkB,GAA/B,MAAa,kBAAkB;IAW3B,YAA0C,GAAQ;QAAR,QAAG,GAAH,GAAG,CAAK;QARlD,UAAK,GAAG,CAAC,CAAC;QAIV,QAAG,GAAG,CAAC,CAAC;QAEC,WAAM,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,2BAA2B,EAAE,GAAG,CAAC,CAAC;KAEhB;IAGtD,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;KAC1C;IAGD,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC;KACxC;EACJ;;4CAXgB,MAAM,SAAC,GAAG;;AARvB;IAFC,KAAK,CAAC,gBAAgB,CAAC;IACvB,WAAW,CAAC,kCAAkC,CAAC;iDACtC;AAIV;IAFC,KAAK,CAAC,cAAc,CAAC;IACrB,WAAW,CAAC,gCAAgC,CAAC;+CACtC;AAOR;IADC,WAAW,CAAC,2BAA2B,CAAC;kDAGxC;AAGD;IADC,WAAW,CAAC,4BAA4B,CAAC;gDAGzC;AArBQ,kBAAkB;IAH9B,SAAS,CAAC;QACP,QAAQ,EAAE,kCAAkC;KAC/C,CAAC;IAYe,WAAA,MAAM,CAAC,GAAG,CAAC,CAAA;GAXf,kBAAkB,CAsB9B;;ICpBY,eAAe,GAA5B,MAAa,eAAe;EAAG;AAAlB,eAAe;IAJ3B,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;QAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;KAChC,CAAC;GACW,eAAe,CAAG;;ACR/B;;;;;;"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from 'tslib';
|
|
2
|
-
import { Inject, Input, HostBinding, Directive, NgModule } from '@angular/core';
|
|
3
|
-
import { CSS } from '@ng-web-apis/common';
|
|
4
|
-
|
|
5
|
-
var TuiBorderDirective = /** @class */ (function () {
|
|
6
|
-
function TuiBorderDirective(css) {
|
|
7
|
-
this.css = css;
|
|
8
|
-
this.start = 0;
|
|
9
|
-
this.end = 0;
|
|
10
|
-
this.modern = this.css.supports('border-inline-start-width', '0');
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(TuiBorderDirective.prototype, "oldStart", {
|
|
13
|
-
get: function () {
|
|
14
|
-
return this.modern ? null : this.start;
|
|
15
|
-
},
|
|
16
|
-
enumerable: true,
|
|
17
|
-
configurable: true
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(TuiBorderDirective.prototype, "oldEnd", {
|
|
20
|
-
get: function () {
|
|
21
|
-
return this.modern ? null : this.end;
|
|
22
|
-
},
|
|
23
|
-
enumerable: true,
|
|
24
|
-
configurable: true
|
|
25
|
-
});
|
|
26
|
-
TuiBorderDirective.ctorParameters = function () { return [
|
|
27
|
-
{ type: undefined, decorators: [{ type: Inject, args: [CSS,] }] }
|
|
28
|
-
]; };
|
|
29
|
-
__decorate([
|
|
30
|
-
Input('tuiBorderStart'),
|
|
31
|
-
HostBinding('style.borderInlineStartWidth.rem')
|
|
32
|
-
], TuiBorderDirective.prototype, "start", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Input('tuiBorderEnd'),
|
|
35
|
-
HostBinding('style.borderInlineEndWidth.rem')
|
|
36
|
-
], TuiBorderDirective.prototype, "end", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
HostBinding('style.borderLeftWidth.rem')
|
|
39
|
-
], TuiBorderDirective.prototype, "oldStart", null);
|
|
40
|
-
__decorate([
|
|
41
|
-
HostBinding('style.borderRightWidth.rem')
|
|
42
|
-
], TuiBorderDirective.prototype, "oldEnd", null);
|
|
43
|
-
TuiBorderDirective = __decorate([
|
|
44
|
-
Directive({
|
|
45
|
-
selector: '[tuiBorderStart], [tuiBorderEnd]',
|
|
46
|
-
}),
|
|
47
|
-
__param(0, Inject(CSS))
|
|
48
|
-
], TuiBorderDirective);
|
|
49
|
-
return TuiBorderDirective;
|
|
50
|
-
}());
|
|
51
|
-
|
|
52
|
-
var TuiBorderModule = /** @class */ (function () {
|
|
53
|
-
function TuiBorderModule() {
|
|
54
|
-
}
|
|
55
|
-
TuiBorderModule = __decorate([
|
|
56
|
-
NgModule({
|
|
57
|
-
declarations: [TuiBorderDirective],
|
|
58
|
-
exports: [TuiBorderDirective],
|
|
59
|
-
})
|
|
60
|
-
], TuiBorderModule);
|
|
61
|
-
return TuiBorderModule;
|
|
62
|
-
}());
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Generated bundle index. Do not edit.
|
|
66
|
-
*/
|
|
67
|
-
|
|
68
|
-
export { TuiBorderDirective, TuiBorderModule };
|
|
69
|
-
//# sourceMappingURL=taiga-ui-core-directives-border.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-directives-border.js","sources":["ng://@taiga-ui/core/directives/border/border.directive.ts","ng://@taiga-ui/core/directives/border/border.module.ts","ng://@taiga-ui/core/directives/border/taiga-ui-core-directives-border.ts"],"sourcesContent":["import {Directive, HostBinding, Inject, Input} from '@angular/core';\nimport {CSS} from '@ng-web-apis/common';\n\n@Directive({\n selector: '[tuiBorderStart], [tuiBorderEnd]',\n})\nexport class TuiBorderDirective {\n @Input('tuiBorderStart')\n @HostBinding('style.borderInlineStartWidth.rem')\n start = 0;\n\n @Input('tuiBorderEnd')\n @HostBinding('style.borderInlineEndWidth.rem')\n end = 0;\n\n readonly modern = this.css.supports('border-inline-start-width', '0');\n\n constructor(@Inject(CSS) private readonly css: any) {}\n\n @HostBinding('style.borderLeftWidth.rem')\n get oldStart(): number | null {\n return this.modern ? null : this.start;\n }\n\n @HostBinding('style.borderRightWidth.rem')\n get oldEnd(): number | null {\n return this.modern ? null : this.end;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiBorderDirective} from './border.directive';\n\n@NgModule({\n declarations: [TuiBorderDirective],\n exports: [TuiBorderDirective],\n})\nexport class TuiBorderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;IAiBI,4BAA0C,GAAQ;QAAR,QAAG,GAAH,GAAG,CAAK;QARlD,UAAK,GAAG,CAAC,CAAC;QAIV,QAAG,GAAG,CAAC,CAAC;QAEC,WAAM,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,2BAA2B,EAAE,GAAG,CAAC,CAAC;KAEhB;IAGtD,sBAAI,wCAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;SAC1C;;;OAAA;IAGD,sBAAI,sCAAM;aAAV;YACI,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC;SACxC;;;OAAA;;gDAVY,MAAM,SAAC,GAAG;;IARvB;QAFC,KAAK,CAAC,gBAAgB,CAAC;QACvB,WAAW,CAAC,kCAAkC,CAAC;qDACtC;IAIV;QAFC,KAAK,CAAC,cAAc,CAAC;QACrB,WAAW,CAAC,gCAAgC,CAAC;mDACtC;IAOR;QADC,WAAW,CAAC,2BAA2B,CAAC;sDAGxC;IAGD;QADC,WAAW,CAAC,4BAA4B,CAAC;oDAGzC;IArBQ,kBAAkB;QAH9B,SAAS,CAAC;YACP,QAAQ,EAAE,kCAAkC;SAC/C,CAAC;QAYe,WAAA,MAAM,CAAC,GAAG,CAAC,CAAA;OAXf,kBAAkB,CAsB9B;IAAD,yBAAC;CAtBD;;;ICEA;KAA+B;IAAlB,eAAe;QAJ3B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;SAChC,CAAC;OACW,eAAe,CAAG;IAAD,sBAAC;CAA/B;;ACRA;;;;;;"}
|