@taiga-ui/kit 4.52.0-canary.ec0802b → 4.52.0-canary.efbd0d4
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/components/avatar/avatar-labeled.component.d.ts +3 -3
- package/components/avatar/avatar-stack.component.d.ts +2 -2
- package/components/badge-notification/badge-notification.component.d.ts +2 -3
- package/components/badged-content/badged-content.directive.d.ts +2 -2
- package/components/breadcrumbs/breadcrumbs.component.d.ts +6 -7
- package/components/button-loading/button-loading.component.d.ts +5 -5
- package/components/calendar-range/calendar-range.component.d.ts +0 -1
- package/components/calendar-range/day-range-period.d.ts +2 -1
- package/components/carousel/carousel.component.d.ts +15 -18
- package/components/carousel/carousel.directive.d.ts +5 -4
- package/components/combo-box/combo-box.d.ts +5 -0
- package/components/combo-box/combo-box.directive.d.ts +7 -9
- package/components/combo-box/index.d.ts +1 -0
- package/components/compass/compass.component.d.ts +2 -2
- package/components/confirm/confirm.component.d.ts +3 -2
- package/components/confirm/confirm.service.d.ts +1 -1
- package/components/copy/copy.component.d.ts +2 -3
- package/components/copy/copy.directive.d.ts +2 -4
- package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -2
- package/components/data-list-wrapper/data-list-wrapper.component.d.ts +14 -22
- package/components/data-list-wrapper/{data-list-wrapper.module.d.ts → data-list-wrapper.d.ts} +1 -2
- package/components/data-list-wrapper/index.d.ts +1 -1
- package/components/drawer/drawer.component.d.ts +3 -4
- package/components/files/file/file.component.d.ts +16 -29
- package/components/files/files/files.component.d.ts +5 -8
- package/components/files/input-files/input-files.component.d.ts +2 -2
- package/components/files/input-files/input-files.content.d.ts +7 -8
- package/components/files/input-files/input-files.directive.d.ts +2 -2
- package/components/filter/filter.component.d.ts +9 -11
- package/components/fullscreen/fullscreen.component.d.ts +5 -8
- package/components/index.d.ts +0 -3
- package/components/input-chip/input-chip.component.d.ts +9 -8
- package/components/input-chip/input-chip.d.ts +5 -1
- package/components/input-chip/input-chip.directive.d.ts +7 -12
- package/components/input-color/index.d.ts +1 -0
- package/components/input-color/input-color.component.d.ts +4 -4
- package/components/input-color/input-color.d.ts +5 -0
- package/components/input-date/input-date.d.ts +4 -1
- package/components/input-date/input-date.directive.d.ts +12 -14
- package/components/input-date/input-date.options.d.ts +3 -3
- package/components/input-date-multi/input-date-multi.d.ts +1 -2
- package/components/input-date-multi/input-date-multi.directive.d.ts +10 -14
- package/components/input-date-range/input-date-range.d.ts +4 -1
- package/components/input-date-range/input-date-range.directive.d.ts +5 -8
- package/components/input-date-range/input-date-range.options.d.ts +2 -2
- package/components/input-date-time/input-date-time.d.ts +4 -1
- package/components/input-date-time/input-date-time.directive.d.ts +6 -6
- package/components/input-date-time/input-date-time.options.d.ts +2 -2
- package/components/input-month/input-month.d.ts +4 -1
- package/components/input-month/input-month.directive.d.ts +6 -5
- package/components/input-month-range/input-month-range.d.ts +4 -1
- package/components/input-month-range/input-month-range.directive.d.ts +6 -5
- package/components/input-number/input-number.d.ts +4 -1
- package/components/input-number/input-number.directive.d.ts +5 -7
- package/components/input-number/input-number.options.d.ts +2 -3
- package/components/input-number/step/input-number-step.component.d.ts +2 -1
- package/components/input-phone/index.d.ts +1 -0
- package/components/input-phone/input-phone.d.ts +5 -0
- package/components/input-phone/input-phone.directive.d.ts +7 -7
- package/components/input-phone-international/index.d.ts +1 -0
- package/components/input-phone-international/input-phone-international.component.d.ts +9 -8
- package/components/input-phone-international/input-phone-international.d.ts +5 -0
- package/components/input-pin/index.d.ts +1 -0
- package/components/input-pin/input-pin.component.d.ts +3 -3
- package/components/input-pin/input-pin.d.ts +5 -0
- package/components/input-range/index.d.ts +0 -1
- package/components/input-range/input-range.component.d.ts +4 -3
- package/components/input-slider/input-slider.d.ts +4 -1
- package/components/input-slider/input-slider.directive.d.ts +1 -1
- package/components/input-time/input-time.component.d.ts +1 -3
- package/components/input-time/input-time.d.ts +4 -1
- package/components/input-time/input-time.directive.d.ts +4 -4
- package/components/input-year/input-year.d.ts +4 -1
- package/components/input-year/input-year.directive.d.ts +5 -5
- package/components/input-year/input-year.options.d.ts +2 -2
- package/components/like/like.options.d.ts +1 -1
- package/components/line-clamp/line-clamp-box.component.d.ts +1 -1
- package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +4 -6
- package/components/notification-middle/notification-middle.service.d.ts +1 -1
- package/components/pagination/pagination.component.d.ts +22 -52
- package/components/pagination/pagination.options.d.ts +3 -6
- package/components/preview/dialog/preview-dialog.service.d.ts +1 -1
- package/components/preview/index.d.ts +1 -0
- package/components/preview/pagination/preview-pagination.component.d.ts +2 -1
- package/components/preview/preview.component.d.ts +1 -1
- package/components/preview/zoom/preview-zoom.component.d.ts +3 -1
- package/components/progress/progress-bar/progress-bar.component.d.ts +3 -4
- package/components/pulse/pulse.component.d.ts +2 -2
- package/components/push/push-alert.component.d.ts +1 -1
- package/components/push/push.options.d.ts +4 -3
- package/components/push/push.service.d.ts +1 -1
- package/components/radio/radio.component.d.ts +1 -1
- package/components/radio-list/radio-list.component.d.ts +5 -3
- package/components/rating/rating.component.d.ts +1 -1
- package/components/routable-dialog/generate-dialogable-route.d.ts +1 -1
- package/components/segmented/segmented.component.d.ts +4 -6
- package/components/segmented/segmented.directive.d.ts +6 -7
- package/components/select/native-select/native-select.component.d.ts +4 -4
- package/components/select/select.d.ts +4 -1
- package/components/select/select.directive.d.ts +4 -3
- package/components/switch/switch.component.d.ts +1 -0
- package/components/textarea/index.d.ts +2 -1
- package/components/textarea/textarea.component.d.ts +4 -4
- package/components/textarea/textarea.d.ts +6 -0
- package/components/textarea/textarea.directive.d.ts +13 -0
- package/components/toast/toast.component.d.ts +1 -1
- package/components/toast/toast.options.d.ts +4 -3
- package/components/toast/toast.service.d.ts +1 -1
- package/directives/appearance-proxy/appearance-proxy.directive.d.ts +10 -0
- package/directives/appearance-proxy/index.d.ts +1 -0
- package/directives/button-select/button-select.directive.d.ts +1 -1
- package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -5
- package/directives/fade/fade.directive.d.ts +5 -6
- package/directives/highlight/highlight.directive.d.ts +4 -4
- package/directives/index.d.ts +1 -1
- package/directives/password/password.directive.d.ts +1 -1
- package/directives/present/present.directive.d.ts +2 -4
- package/directives/tooltip/tooltip.directive.d.ts +1 -1
- package/directives/unfinished-validator/unfinished-validator.directive.d.ts +2 -2
- package/directives/unmask-handler/unmask-handler.directive.d.ts +3 -3
- package/fesm2022/taiga-ui-kit-components-accordion.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-avatar.mjs +33 -47
- package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +8 -10
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs +9 -11
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-block.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +16 -30
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs +18 -26
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +5 -13
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +23 -23
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-carousel.mjs +63 -107
- package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs +4 -5
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-chip.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs +40 -44
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-comment.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-compass.mjs +7 -9
- package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-confirm.mjs +9 -10
- package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-copy.mjs +19 -32
- package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +24 -85
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-drawer.mjs +15 -32
- package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-files.mjs +110 -230
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-filter.mjs +20 -34
- package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +23 -42
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs +63 -75
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-color.mjs +24 -13
- package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +34 -46
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +30 -35
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +31 -27
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +42 -38
- package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +26 -22
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month.mjs +32 -22
- package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-number.mjs +47 -40
- package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +48 -36
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs +29 -18
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs +18 -9
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-range.mjs +18 -16
- package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs +15 -10
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +38 -39
- package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-year.mjs +27 -18
- package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +12 -12
- package/fesm2022/taiga-ui-kit-components-like.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +14 -14
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-message.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs +29 -39
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +12 -12
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pager.mjs +6 -8
- package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pagination.mjs +59 -140
- package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pin.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-preview.mjs +48 -36
- package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-progress.mjs +31 -35
- package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pulse.mjs +7 -11
- package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-push.mjs +20 -21
- package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-range.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-rating.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-segmented.mjs +31 -57
- package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-select.mjs +50 -26
- package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slider.mjs +18 -18
- package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-status.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-stepper.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-switch.mjs +10 -6
- package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +24 -22
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-textarea.mjs +51 -50
- package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tiles.mjs +12 -12
- package/fesm2022/taiga-ui-kit-components-toast.mjs +23 -24
- package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tree.mjs +26 -25
- package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components.mjs +0 -3
- package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs +27 -0
- package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs +7 -7
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs +6 -6
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs +10 -9
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-connected.mjs +6 -6
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +25 -52
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fade.mjs +25 -34
- package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs +16 -20
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-password.mjs +10 -8
- package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-present.mjs +10 -17
- package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +6 -6
- package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +6 -6
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -6
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +8 -8
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +8 -10
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +10 -14
- package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives.mjs +1 -1
- package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +43 -0
- package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +12 -24
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-flag.mjs +30 -0
- package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +4 -4
- package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-initials.mjs +28 -0
- package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +10 -8
- package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes.mjs +3 -0
- package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-tokens.mjs +4 -108
- package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-utils.mjs +3 -15
- package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
- package/package.json +62 -62
- package/pipes/auto-color/auto-color.pipe.d.ts +13 -0
- package/pipes/auto-color/index.d.ts +1 -0
- package/pipes/filter-by-input/filter-by-input.pipe.d.ts +2 -2
- package/pipes/flag/flag.pipe.d.ts +14 -0
- package/pipes/flag/index.d.ts +1 -0
- package/pipes/index.d.ts +3 -0
- package/pipes/initials/index.d.ts +1 -0
- package/pipes/initials/initials.pipe.d.ts +7 -0
- package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -3
- package/pipes/stringify-content/stringify-content.pipe.d.ts +2 -3
- package/styles/components/avatar.less +14 -14
- package/styles/components/badge.less +3 -3
- package/styles/components/block.less +4 -4
- package/styles/components/chip.less +3 -3
- package/styles/components/comment.less +1 -1
- package/styles/components/message.less +1 -1
- package/styles/components/pin.less +3 -3
- package/styles/components/switch.less +2 -2
- package/styles/components/toast.less +1 -1
- package/tokens/i18n.d.ts +1 -0
- package/tokens/index.d.ts +0 -7
- package/utils/index.d.ts +0 -2
- package/components/elastic-container/elastic-container.component.d.ts +0 -8
- package/components/elastic-container/elastic-container.directive.d.ts +0 -7
- package/components/elastic-container/index.d.ts +0 -2
- package/components/floating-container/floating-container.directive.d.ts +0 -7
- package/components/floating-container/index.d.ts +0 -1
- package/components/input-range/input-range.d.ts +0 -3
- package/components/slides/index.d.ts +0 -1
- package/components/slides/slides.directive.d.ts +0 -11
- package/components/textarea/textarea-limit.directive.d.ts +0 -26
- package/directives/lazy-loading/index.d.ts +0 -2
- package/directives/lazy-loading/lazy-loading.directive.d.ts +0 -18
- package/directives/lazy-loading/lazy-loading.service.d.ts +0 -12
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +0 -77
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs +0 -37
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-slides.mjs +0 -49
- package/fesm2022/taiga-ui-kit-components-slides.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +0 -80
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +0 -1
- package/tokens/calendar-date-stream.d.ts +0 -10
- package/tokens/date-inputs-value-transformers.d.ts +0 -19
- package/tokens/input-date-options.d.ts +0 -15
- package/tokens/items-handlers.d.ts +0 -20
- package/tokens/mobile-calendar.d.ts +0 -6
- package/tokens/month-formatter.d.ts +0 -5
- package/utils/phone.d.ts +0 -3
- package/utils/toggle-day.d.ts +0 -2
- /package/{tokens/preview-icons.d.ts → components/preview/preview.options.d.ts} +0 -0
|
@@ -5,9 +5,7 @@ import { NgControl } from '@angular/forms';
|
|
|
5
5
|
import { tuiControlValue } from '@taiga-ui/cdk/observables';
|
|
6
6
|
import { TuiTextfieldComponent } from '@taiga-ui/core/components/textfield';
|
|
7
7
|
import { MaskitoDirective } from '@maskito/angular';
|
|
8
|
-
import { tuiDirectiveBinding } from '@taiga-ui/cdk/utils';
|
|
9
|
-
import { CHAR_PLUS } from '@taiga-ui/cdk/constants';
|
|
10
|
-
import { getCountryCallingCode } from 'libphonenumber-js/core';
|
|
8
|
+
import { tuiDirectiveBinding } from '@taiga-ui/cdk/utils/di';
|
|
11
9
|
|
|
12
10
|
function tuiCreateTimePeriods(minHour = 0, maxHour = HOURS_IN_DAY, minutes = [0, 30]) {
|
|
13
11
|
const timeArray = [];
|
|
@@ -21,7 +19,7 @@ function tuiCreateTimePeriods(minHour = 0, maxHour = HOURS_IN_DAY, minutes = [0,
|
|
|
21
19
|
}
|
|
22
20
|
|
|
23
21
|
function tuiInjectValue() {
|
|
24
|
-
const control = inject(TuiTextfieldComponent, { optional: true })?.control ||
|
|
22
|
+
const control = inject(TuiTextfieldComponent, { optional: true })?.control() ||
|
|
25
23
|
inject(NgControl, { optional: true });
|
|
26
24
|
return toSignal(tuiControlValue(control), { requireSync: true });
|
|
27
25
|
}
|
|
@@ -34,19 +32,9 @@ function tuiMaskito(options) {
|
|
|
34
32
|
return tuiDirectiveBinding(MaskitoDirective, 'options', options);
|
|
35
33
|
}
|
|
36
34
|
|
|
37
|
-
function tuiGetCallingCode(iso, metadata) {
|
|
38
|
-
return metadata ? CHAR_PLUS + getCountryCallingCode(iso, metadata) : '';
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
function tuiToggleDay(days, day) {
|
|
42
|
-
return ((days?.find((item) => item.daySame(day))
|
|
43
|
-
? days.filter((item) => !item.daySame(day))
|
|
44
|
-
: days?.concat(day)) || []);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
35
|
/**
|
|
48
36
|
* Generated bundle index. Do not edit.
|
|
49
37
|
*/
|
|
50
38
|
|
|
51
|
-
export { tuiCreateTimePeriods,
|
|
39
|
+
export { tuiCreateTimePeriods, tuiInjectValue, tuiIsFlat, tuiMaskito };
|
|
52
40
|
//# sourceMappingURL=taiga-ui-kit-utils.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-utils.mjs","sources":["../../../projects/kit/utils/create-time-periods.ts","../../../projects/kit/utils/inject-value.ts","../../../projects/kit/utils/is-flat.ts","../../../projects/kit/utils/maskito.binding.ts","../../../projects/kit/utils/
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-utils.mjs","sources":["../../../projects/kit/utils/create-time-periods.ts","../../../projects/kit/utils/inject-value.ts","../../../projects/kit/utils/is-flat.ts","../../../projects/kit/utils/maskito.binding.ts","../../../projects/kit/utils/taiga-ui-kit-utils.ts"],"sourcesContent":["import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk/date-time';\n\nexport function tuiCreateTimePeriods(\n minHour = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n minutes.forEach((minute) => {\n const time = new TuiTime(i, minute);\n\n timeArray.push(time);\n });\n }\n\n return timeArray;\n}\n","import {inject, type Signal} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\n\nexport function tuiInjectValue<T>(): Signal<T> {\n const control =\n inject(TuiTextfieldComponent, {optional: true})?.control() ||\n inject(NgControl, {optional: true});\n\n return toSignal(tuiControlValue(control), {requireSync: true});\n}\n","export function tuiIsFlat<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[],\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import {type Signal, type WritableSignal} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {type MaskitoOptions} from '@maskito/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils/di';\n\ntype M = MaskitoOptions | null;\n\nexport function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;\nexport function tuiMaskito(options: Signal<M>): Signal<M>;\nexport function tuiMaskito(options: M | Signal<M>): Signal<M> {\n return tuiDirectiveBinding(MaskitoDirective, 'options', options);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAEgB,SAAA,oBAAoB,CAChC,OAAO,GAAG,CAAC,EACX,OAAkB,GAAA,YAAY,EAC9B,OAA6B,GAAA,CAAC,CAAC,EAAE,EAAE,CAAC,EAAA;IAEpC,MAAM,SAAS,GAAc,EAAE;AAE/B,IAAA,KAAK,IAAI,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,EAAE;AACpC,QAAA,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,KAAI;YACvB,MAAM,IAAI,GAAG,IAAI,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC;AAEnC,YAAA,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;AACxB,SAAC,CAAC;;AAGN,IAAA,OAAO,SAAS;AACpB;;SCZgB,cAAc,GAAA;AAC1B,IAAA,MAAM,OAAO,GACT,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,OAAO,EAAE;QAC1D,MAAM,CAAC,SAAS,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;AAEvC,IAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC;AAClE;;ACZM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACnC;;ACKM,SAAU,UAAU,CAAC,OAAsB,EAAA;IAC7C,OAAO,mBAAmB,CAAC,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC;AACpE;;ACXA;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/kit",
|
|
3
|
-
"version": "4.52.0-canary.
|
|
3
|
+
"version": "4.52.0-canary.efbd0d4",
|
|
4
4
|
"description": "Taiga UI Angular main components kit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
"types": "./components/index.d.ts",
|
|
29
29
|
"default": "./fesm2022/taiga-ui-kit-components.mjs"
|
|
30
30
|
},
|
|
31
|
-
"./directives": {
|
|
32
|
-
"types": "./directives/index.d.ts",
|
|
33
|
-
"default": "./fesm2022/taiga-ui-kit-directives.mjs"
|
|
34
|
-
},
|
|
35
31
|
"./pipes": {
|
|
36
32
|
"types": "./pipes/index.d.ts",
|
|
37
33
|
"default": "./fesm2022/taiga-ui-kit-pipes.mjs"
|
|
38
34
|
},
|
|
35
|
+
"./directives": {
|
|
36
|
+
"types": "./directives/index.d.ts",
|
|
37
|
+
"default": "./fesm2022/taiga-ui-kit-directives.mjs"
|
|
38
|
+
},
|
|
39
39
|
"./tokens": {
|
|
40
40
|
"types": "./tokens/index.d.ts",
|
|
41
41
|
"default": "./fesm2022/taiga-ui-kit-tokens.mjs"
|
|
@@ -128,10 +128,6 @@
|
|
|
128
128
|
"types": "./components/drawer/index.d.ts",
|
|
129
129
|
"default": "./fesm2022/taiga-ui-kit-components-drawer.mjs"
|
|
130
130
|
},
|
|
131
|
-
"./components/elastic-container": {
|
|
132
|
-
"types": "./components/elastic-container/index.d.ts",
|
|
133
|
-
"default": "./fesm2022/taiga-ui-kit-components-elastic-container.mjs"
|
|
134
|
-
},
|
|
135
131
|
"./components/files": {
|
|
136
132
|
"types": "./components/files/index.d.ts",
|
|
137
133
|
"default": "./fesm2022/taiga-ui-kit-components-files.mjs"
|
|
@@ -140,10 +136,6 @@
|
|
|
140
136
|
"types": "./components/filter/index.d.ts",
|
|
141
137
|
"default": "./fesm2022/taiga-ui-kit-components-filter.mjs"
|
|
142
138
|
},
|
|
143
|
-
"./components/floating-container": {
|
|
144
|
-
"types": "./components/floating-container/index.d.ts",
|
|
145
|
-
"default": "./fesm2022/taiga-ui-kit-components-floating-container.mjs"
|
|
146
|
-
},
|
|
147
139
|
"./components/fullscreen": {
|
|
148
140
|
"types": "./components/fullscreen/index.d.ts",
|
|
149
141
|
"default": "./fesm2022/taiga-ui-kit-components-fullscreen.mjs"
|
|
@@ -244,22 +236,18 @@
|
|
|
244
236
|
"types": "./components/pager/index.d.ts",
|
|
245
237
|
"default": "./fesm2022/taiga-ui-kit-components-pager.mjs"
|
|
246
238
|
},
|
|
247
|
-
"./components/pin": {
|
|
248
|
-
"types": "./components/pin/index.d.ts",
|
|
249
|
-
"default": "./fesm2022/taiga-ui-kit-components-pin.mjs"
|
|
250
|
-
},
|
|
251
239
|
"./components/pagination": {
|
|
252
240
|
"types": "./components/pagination/index.d.ts",
|
|
253
241
|
"default": "./fesm2022/taiga-ui-kit-components-pagination.mjs"
|
|
254
242
|
},
|
|
243
|
+
"./components/pin": {
|
|
244
|
+
"types": "./components/pin/index.d.ts",
|
|
245
|
+
"default": "./fesm2022/taiga-ui-kit-components-pin.mjs"
|
|
246
|
+
},
|
|
255
247
|
"./components/preview": {
|
|
256
248
|
"types": "./components/preview/index.d.ts",
|
|
257
249
|
"default": "./fesm2022/taiga-ui-kit-components-preview.mjs"
|
|
258
250
|
},
|
|
259
|
-
"./components/progress": {
|
|
260
|
-
"types": "./components/progress/index.d.ts",
|
|
261
|
-
"default": "./fesm2022/taiga-ui-kit-components-progress.mjs"
|
|
262
|
-
},
|
|
263
251
|
"./components/pulse": {
|
|
264
252
|
"types": "./components/pulse/index.d.ts",
|
|
265
253
|
"default": "./fesm2022/taiga-ui-kit-components-pulse.mjs"
|
|
@@ -268,6 +256,10 @@
|
|
|
268
256
|
"types": "./components/push/index.d.ts",
|
|
269
257
|
"default": "./fesm2022/taiga-ui-kit-components-push.mjs"
|
|
270
258
|
},
|
|
259
|
+
"./components/progress": {
|
|
260
|
+
"types": "./components/progress/index.d.ts",
|
|
261
|
+
"default": "./fesm2022/taiga-ui-kit-components-progress.mjs"
|
|
262
|
+
},
|
|
271
263
|
"./components/radio": {
|
|
272
264
|
"types": "./components/radio/index.d.ts",
|
|
273
265
|
"default": "./fesm2022/taiga-ui-kit-components-radio.mjs"
|
|
@@ -276,14 +268,14 @@
|
|
|
276
268
|
"types": "./components/range/index.d.ts",
|
|
277
269
|
"default": "./fesm2022/taiga-ui-kit-components-range.mjs"
|
|
278
270
|
},
|
|
279
|
-
"./components/radio-list": {
|
|
280
|
-
"types": "./components/radio-list/index.d.ts",
|
|
281
|
-
"default": "./fesm2022/taiga-ui-kit-components-radio-list.mjs"
|
|
282
|
-
},
|
|
283
271
|
"./components/rating": {
|
|
284
272
|
"types": "./components/rating/index.d.ts",
|
|
285
273
|
"default": "./fesm2022/taiga-ui-kit-components-rating.mjs"
|
|
286
274
|
},
|
|
275
|
+
"./components/radio-list": {
|
|
276
|
+
"types": "./components/radio-list/index.d.ts",
|
|
277
|
+
"default": "./fesm2022/taiga-ui-kit-components-radio-list.mjs"
|
|
278
|
+
},
|
|
287
279
|
"./components/routable-dialog": {
|
|
288
280
|
"types": "./components/routable-dialog/index.d.ts",
|
|
289
281
|
"default": "./fesm2022/taiga-ui-kit-components-routable-dialog.mjs"
|
|
@@ -300,10 +292,6 @@
|
|
|
300
292
|
"types": "./components/slider/index.d.ts",
|
|
301
293
|
"default": "./fesm2022/taiga-ui-kit-components-slider.mjs"
|
|
302
294
|
},
|
|
303
|
-
"./components/slides": {
|
|
304
|
-
"types": "./components/slides/index.d.ts",
|
|
305
|
-
"default": "./fesm2022/taiga-ui-kit-components-slides.mjs"
|
|
306
|
-
},
|
|
307
295
|
"./components/status": {
|
|
308
296
|
"types": "./components/status/index.d.ts",
|
|
309
297
|
"default": "./fesm2022/taiga-ui-kit-components-status.mjs"
|
|
@@ -336,6 +324,46 @@
|
|
|
336
324
|
"types": "./components/tree/index.d.ts",
|
|
337
325
|
"default": "./fesm2022/taiga-ui-kit-components-tree.mjs"
|
|
338
326
|
},
|
|
327
|
+
"./pipes/auto-color": {
|
|
328
|
+
"types": "./pipes/auto-color/index.d.ts",
|
|
329
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-auto-color.mjs"
|
|
330
|
+
},
|
|
331
|
+
"./pipes/emails": {
|
|
332
|
+
"types": "./pipes/emails/index.d.ts",
|
|
333
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
|
|
334
|
+
},
|
|
335
|
+
"./pipes/filter-by-input": {
|
|
336
|
+
"types": "./pipes/filter-by-input/index.d.ts",
|
|
337
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs"
|
|
338
|
+
},
|
|
339
|
+
"./pipes/flag": {
|
|
340
|
+
"types": "./pipes/flag/index.d.ts",
|
|
341
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-flag.mjs"
|
|
342
|
+
},
|
|
343
|
+
"./pipes/hide-selected": {
|
|
344
|
+
"types": "./pipes/hide-selected/index.d.ts",
|
|
345
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-hide-selected.mjs"
|
|
346
|
+
},
|
|
347
|
+
"./pipes/initials": {
|
|
348
|
+
"types": "./pipes/initials/index.d.ts",
|
|
349
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-initials.mjs"
|
|
350
|
+
},
|
|
351
|
+
"./pipes/sort-countries": {
|
|
352
|
+
"types": "./pipes/sort-countries/index.d.ts",
|
|
353
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-sort-countries.mjs"
|
|
354
|
+
},
|
|
355
|
+
"./pipes/stringify": {
|
|
356
|
+
"types": "./pipes/stringify/index.d.ts",
|
|
357
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-stringify.mjs"
|
|
358
|
+
},
|
|
359
|
+
"./pipes/stringify-content": {
|
|
360
|
+
"types": "./pipes/stringify-content/index.d.ts",
|
|
361
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-stringify-content.mjs"
|
|
362
|
+
},
|
|
363
|
+
"./directives/appearance-proxy": {
|
|
364
|
+
"types": "./directives/appearance-proxy/index.d.ts",
|
|
365
|
+
"default": "./fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs"
|
|
366
|
+
},
|
|
339
367
|
"./directives/button-close": {
|
|
340
368
|
"types": "./directives/button-close/index.d.ts",
|
|
341
369
|
"default": "./fesm2022/taiga-ui-kit-directives-button-close.mjs"
|
|
@@ -372,10 +400,6 @@
|
|
|
372
400
|
"types": "./directives/highlight/index.d.ts",
|
|
373
401
|
"default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
|
|
374
402
|
},
|
|
375
|
-
"./directives/lazy-loading": {
|
|
376
|
-
"types": "./directives/lazy-loading/index.d.ts",
|
|
377
|
-
"default": "./fesm2022/taiga-ui-kit-directives-lazy-loading.mjs"
|
|
378
|
-
},
|
|
379
403
|
"./directives/password": {
|
|
380
404
|
"types": "./directives/password/index.d.ts",
|
|
381
405
|
"default": "./fesm2022/taiga-ui-kit-directives-password.mjs"
|
|
@@ -407,30 +431,6 @@
|
|
|
407
431
|
"./directives/unmask-handler": {
|
|
408
432
|
"types": "./directives/unmask-handler/index.d.ts",
|
|
409
433
|
"default": "./fesm2022/taiga-ui-kit-directives-unmask-handler.mjs"
|
|
410
|
-
},
|
|
411
|
-
"./pipes/emails": {
|
|
412
|
-
"types": "./pipes/emails/index.d.ts",
|
|
413
|
-
"default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
|
|
414
|
-
},
|
|
415
|
-
"./pipes/filter-by-input": {
|
|
416
|
-
"types": "./pipes/filter-by-input/index.d.ts",
|
|
417
|
-
"default": "./fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs"
|
|
418
|
-
},
|
|
419
|
-
"./pipes/hide-selected": {
|
|
420
|
-
"types": "./pipes/hide-selected/index.d.ts",
|
|
421
|
-
"default": "./fesm2022/taiga-ui-kit-pipes-hide-selected.mjs"
|
|
422
|
-
},
|
|
423
|
-
"./pipes/sort-countries": {
|
|
424
|
-
"types": "./pipes/sort-countries/index.d.ts",
|
|
425
|
-
"default": "./fesm2022/taiga-ui-kit-pipes-sort-countries.mjs"
|
|
426
|
-
},
|
|
427
|
-
"./pipes/stringify": {
|
|
428
|
-
"types": "./pipes/stringify/index.d.ts",
|
|
429
|
-
"default": "./fesm2022/taiga-ui-kit-pipes-stringify.mjs"
|
|
430
|
-
},
|
|
431
|
-
"./pipes/stringify-content": {
|
|
432
|
-
"types": "./pipes/stringify-content/index.d.ts",
|
|
433
|
-
"default": "./fesm2022/taiga-ui-kit-pipes-stringify-content.mjs"
|
|
434
434
|
}
|
|
435
435
|
},
|
|
436
436
|
"peerDependencies": {
|
|
@@ -438,17 +438,17 @@
|
|
|
438
438
|
"@angular/core": ">=19.0.0",
|
|
439
439
|
"@angular/forms": ">=19.0.0",
|
|
440
440
|
"@angular/router": ">=19.0.0",
|
|
441
|
-
"@maskito/angular": "^
|
|
442
|
-
"@maskito/core": "^
|
|
443
|
-
"@maskito/kit": "^
|
|
444
|
-
"@maskito/phone": "^
|
|
441
|
+
"@maskito/angular": "^5.0.0",
|
|
442
|
+
"@maskito/core": "^5.0.0",
|
|
443
|
+
"@maskito/kit": "^5.0.0",
|
|
444
|
+
"@maskito/phone": "^5.0.0",
|
|
445
445
|
"@ng-web-apis/common": "^4.12.2",
|
|
446
446
|
"@ng-web-apis/intersection-observer": "^4.12.2",
|
|
447
447
|
"@ng-web-apis/mutation-observer": "^4.12.2",
|
|
448
448
|
"@ng-web-apis/resize-observer": "^4.12.2",
|
|
449
449
|
"@taiga-ui/cdk": "^4.52.0",
|
|
450
450
|
"@taiga-ui/core": "^4.52.0",
|
|
451
|
-
"@taiga-ui/design-tokens": "~0.
|
|
451
|
+
"@taiga-ui/design-tokens": "~0.274.0",
|
|
452
452
|
"@taiga-ui/i18n": "^4.52.0",
|
|
453
453
|
"@taiga-ui/polymorpheus": "^4.9.0",
|
|
454
454
|
"rxjs": ">=7.0.0"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TuiAutoColorPipe implements PipeTransform {
|
|
4
|
+
transform(text: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAutoColorPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TuiAutoColorPipe, "tuiAutoColor", true>;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Converts a string to an HSL color
|
|
10
|
+
* @param value string to convert
|
|
11
|
+
* @return HSL color string
|
|
12
|
+
*/
|
|
13
|
+
export declare function tuiAutoColor(value: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './auto-color.pipe';
|
|
@@ -3,8 +3,8 @@ import { type TuiStringMatcher } from '@taiga-ui/cdk/types';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TuiFilterByInputPipe implements PipeTransform {
|
|
5
5
|
private readonly textfield;
|
|
6
|
-
private readonly
|
|
7
|
-
private readonly
|
|
6
|
+
private readonly handlers;
|
|
7
|
+
private readonly multi;
|
|
8
8
|
transform<T>(items: ReadonlyArray<readonly T[]>, matcher?: TuiStringMatcher<T>): ReadonlyArray<readonly T[]>;
|
|
9
9
|
transform<T>(items: readonly T[], matcher?: TuiStringMatcher<T>): readonly T[];
|
|
10
10
|
transform<T>(items: ReadonlyArray<readonly T[]> | null, matcher?: TuiStringMatcher<T>): ReadonlyArray<readonly T[]> | null;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type PipeTransform } from '@angular/core';
|
|
2
|
+
import { type TuiLooseUnion } from '@taiga-ui/cdk/types';
|
|
3
|
+
import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
type IsoCode = TuiLooseUnion<TuiCountryIsoCode>;
|
|
6
|
+
export declare class TuiFlagPipe implements PipeTransform {
|
|
7
|
+
private readonly staticPath;
|
|
8
|
+
transform(countryIsoCode: IsoCode): string;
|
|
9
|
+
transform(countryIsoCode: IsoCode | undefined): string | null;
|
|
10
|
+
transform(countryIsoCode?: IsoCode | null): string | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiFlagPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TuiFlagPipe, "tuiFlag", true>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './flag.pipe';
|
package/pipes/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
export * from '@taiga-ui/kit/pipes/auto-color';
|
|
1
2
|
export * from '@taiga-ui/kit/pipes/emails';
|
|
2
3
|
export * from '@taiga-ui/kit/pipes/filter-by-input';
|
|
4
|
+
export * from '@taiga-ui/kit/pipes/flag';
|
|
3
5
|
export * from '@taiga-ui/kit/pipes/hide-selected';
|
|
6
|
+
export * from '@taiga-ui/kit/pipes/initials';
|
|
4
7
|
export * from '@taiga-ui/kit/pipes/sort-countries';
|
|
5
8
|
export * from '@taiga-ui/kit/pipes/stringify';
|
|
6
9
|
export * from '@taiga-ui/kit/pipes/stringify-content';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './initials.pipe';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TuiInitialsPipe implements PipeTransform {
|
|
4
|
+
transform(text: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInitialsPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TuiInitialsPipe, "tuiInitials", true>;
|
|
7
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { type PipeTransform } from '@angular/core';
|
|
2
2
|
import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
|
|
3
|
-
import { type Observable } from 'rxjs';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class TuiSortCountriesPipe implements PipeTransform {
|
|
6
|
-
private readonly
|
|
7
|
-
|
|
5
|
+
private readonly names;
|
|
6
|
+
private readonly countries;
|
|
7
|
+
private readonly result;
|
|
8
|
+
transform(countries: readonly TuiCountryIsoCode[]): TuiCountryIsoCode[];
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSortCountriesPipe, never>;
|
|
9
10
|
static ɵpipe: i0.ɵɵPipeDeclaration<TuiSortCountriesPipe, "tuiSortCountries", true>;
|
|
10
11
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { type PipeTransform } from '@angular/core';
|
|
2
|
-
import { type TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type TuiValueContentContext } from '@taiga-ui/core/types';
|
|
2
|
+
import { type TuiContext, type TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class TuiStringifyContentPipe implements PipeTransform {
|
|
6
|
-
transform<T>(stringify: TuiStringHandler<T>): TuiStringHandler<
|
|
5
|
+
transform<T>(stringify: TuiStringHandler<T>): TuiStringHandler<TuiContext<T>>;
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiStringifyContentPipe, never>;
|
|
8
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<TuiStringifyContentPipe, "tuiStringifyContent", true>;
|
|
9
8
|
}
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
vertical-align: middle;
|
|
42
42
|
box-sizing: border-box;
|
|
43
43
|
padding: 0.25rem;
|
|
44
|
-
font: var(--tui-font-
|
|
44
|
+
font: var(--tui-font-body-l);
|
|
45
45
|
font-weight: bold;
|
|
46
46
|
opacity: 0.999; // Kick in hardware rendering layer to avoid artifacts on the edges
|
|
47
47
|
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
--t-size: var(--tui-height-xs);
|
|
61
61
|
--t-radius: 0.5rem;
|
|
62
62
|
|
|
63
|
-
font: var(--tui-font-
|
|
63
|
+
font: var(--tui-font-ui-xs);
|
|
64
64
|
font-size: 0.5625rem;
|
|
65
65
|
|
|
66
66
|
&._initials::before {
|
|
67
|
-
font: var(--tui-font-
|
|
67
|
+
font: var(--tui-font-ui-xs);
|
|
68
68
|
font-weight: bold;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
@@ -73,11 +73,11 @@
|
|
|
73
73
|
--t-size: var(--tui-height-s);
|
|
74
74
|
--t-radius: 0.5rem;
|
|
75
75
|
|
|
76
|
-
font: var(--tui-font-
|
|
76
|
+
font: var(--tui-font-ui-xs);
|
|
77
77
|
font-weight: bold;
|
|
78
78
|
|
|
79
79
|
&._initials::before {
|
|
80
|
-
font: var(--tui-font-
|
|
80
|
+
font: var(--tui-font-body-s);
|
|
81
81
|
font-weight: bold;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
@@ -86,11 +86,11 @@
|
|
|
86
86
|
--t-size: calc(var(--tui-height-m) - 0.25rem);
|
|
87
87
|
--t-radius: 0.75rem;
|
|
88
88
|
|
|
89
|
-
font: var(--tui-font-
|
|
89
|
+
font: var(--tui-font-ui-m);
|
|
90
90
|
font-weight: bold;
|
|
91
91
|
|
|
92
92
|
&._initials::before {
|
|
93
|
-
font: var(--tui-font-
|
|
93
|
+
font: var(--tui-font-body-m);
|
|
94
94
|
font-weight: bold;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
@@ -99,10 +99,10 @@
|
|
|
99
99
|
--t-size: 5rem;
|
|
100
100
|
--t-radius: 0.75rem;
|
|
101
101
|
|
|
102
|
-
font: var(--tui-font-heading-
|
|
102
|
+
font: var(--tui-font-heading-h4);
|
|
103
103
|
|
|
104
104
|
&._initials::before {
|
|
105
|
-
font: var(--tui-font-heading-
|
|
105
|
+
font: var(--tui-font-heading-h3);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -110,10 +110,10 @@
|
|
|
110
110
|
--t-size: 6rem;
|
|
111
111
|
--t-radius: 1rem;
|
|
112
112
|
|
|
113
|
-
font: var(--tui-font-heading-
|
|
113
|
+
font: var(--tui-font-heading-h3);
|
|
114
114
|
|
|
115
115
|
&._initials::before {
|
|
116
|
-
font: var(--tui-font-heading-
|
|
116
|
+
font: var(--tui-font-heading-h3);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
@@ -121,10 +121,10 @@
|
|
|
121
121
|
--t-size: 8rem;
|
|
122
122
|
--t-radius: 1.25rem;
|
|
123
123
|
|
|
124
|
-
font: var(--tui-font-heading-
|
|
124
|
+
font: var(--tui-font-heading-h3);
|
|
125
125
|
|
|
126
126
|
&._initials::before {
|
|
127
|
-
font: var(--tui-font-heading-
|
|
127
|
+
font: var(--tui-font-heading-h2);
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
content: attr(data-icon-start);
|
|
138
138
|
mask: none;
|
|
139
139
|
background: none;
|
|
140
|
-
font: var(--tui-font-heading-
|
|
140
|
+
font: var(--tui-font-heading-h6);
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
|
|
@@ -33,7 +33,7 @@ tui-badge,
|
|
|
33
33
|
block-size: var(--t-size);
|
|
34
34
|
min-inline-size: var(--t-size);
|
|
35
35
|
inline-size: fit-content;
|
|
36
|
-
font: var(--tui-font-
|
|
36
|
+
font: var(--tui-font-body-s);
|
|
37
37
|
|
|
38
38
|
&[tuiStatus]::before {
|
|
39
39
|
inline-size: 0.375rem;
|
|
@@ -75,7 +75,7 @@ tui-badge,
|
|
|
75
75
|
--t-icon-size: 0.625rem;
|
|
76
76
|
--t-margin: -0.125rem;
|
|
77
77
|
|
|
78
|
-
font: var(--tui-font-
|
|
78
|
+
font: var(--tui-font-body-xs);
|
|
79
79
|
|
|
80
80
|
&[tuiStatus]::before {
|
|
81
81
|
inline-size: 0.25rem;
|
|
@@ -96,7 +96,7 @@ tui-badge,
|
|
|
96
96
|
--t-padding: 0 0.75rem;
|
|
97
97
|
--t-size: var(--tui-height-s);
|
|
98
98
|
|
|
99
|
-
font: var(--tui-font-
|
|
99
|
+
font: var(--tui-font-body-m);
|
|
100
100
|
|
|
101
101
|
&[tuiStatus]::before {
|
|
102
102
|
inline-size: 0.5rem;
|
|
@@ -33,20 +33,20 @@
|
|
|
33
33
|
box-sizing: border-box;
|
|
34
34
|
cursor: pointer;
|
|
35
35
|
overflow: hidden;
|
|
36
|
-
font: var(--tui-font-
|
|
36
|
+
font: var(--tui-font-body-m);
|
|
37
37
|
padding: var(--tui-padding-l);
|
|
38
38
|
isolation: isolate;
|
|
39
39
|
|
|
40
40
|
&[data-size='s'] {
|
|
41
41
|
gap: 0.5rem;
|
|
42
|
-
font: var(--tui-font-
|
|
42
|
+
font: var(--tui-font-ui-s);
|
|
43
43
|
padding: 0.5rem;
|
|
44
44
|
|
|
45
45
|
--t-height: var(--tui-height-s);
|
|
46
46
|
--t-radius: var(--tui-radius-m);
|
|
47
47
|
|
|
48
48
|
[tuiSubtitle] {
|
|
49
|
-
font: var(--tui-font-
|
|
49
|
+
font: var(--tui-font-ui-xs);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
[tuiTooltip] {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
&[data-size='m'] {
|
|
58
58
|
gap: 0.625rem;
|
|
59
|
-
font: var(--tui-font-
|
|
59
|
+
font: var(--tui-font-ui-m);
|
|
60
60
|
padding: var(--tui-padding-m);
|
|
61
61
|
|
|
62
62
|
--t-height: var(--tui-height-m);
|
|
@@ -26,7 +26,7 @@ tui-chip,
|
|
|
26
26
|
|
|
27
27
|
.button-base();
|
|
28
28
|
|
|
29
|
-
font: var(--tui-font-
|
|
29
|
+
font: var(--tui-font-body-s);
|
|
30
30
|
border-radius: var(--tui-radius-m);
|
|
31
31
|
padding: var(--t-padding);
|
|
32
32
|
block-size: var(--t-size);
|
|
@@ -60,7 +60,7 @@ tui-chip,
|
|
|
60
60
|
--t-size: 1rem;
|
|
61
61
|
--t-icon-size: 0.75rem;
|
|
62
62
|
|
|
63
|
-
font: var(--tui-font-
|
|
63
|
+
font: var(--tui-font-body-xs);
|
|
64
64
|
border-radius: var(--tui-radius-xs);
|
|
65
65
|
|
|
66
66
|
& > [tuiIconButton] {
|
|
@@ -86,7 +86,7 @@ tui-chip,
|
|
|
86
86
|
--t-padding: 0 1rem;
|
|
87
87
|
--t-size: var(--tui-height-m);
|
|
88
88
|
|
|
89
|
-
font: var(--tui-font-
|
|
89
|
+
font: var(--tui-font-body-m);
|
|
90
90
|
|
|
91
91
|
& > [tuiIconButton] {
|
|
92
92
|
margin: -0.75rem;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
justify-content: center;
|
|
29
29
|
text-align: center;
|
|
30
30
|
border-radius: 100%;
|
|
31
|
-
font: var(--tui-font-
|
|
31
|
+
font: var(--tui-font-body-s);
|
|
32
32
|
font-weight: bold;
|
|
33
33
|
box-sizing: border-box;
|
|
34
34
|
color: var(--tui-text-primary-on-accent-2);
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
&:has(:checked) {
|
|
74
74
|
--t-size: 3.5rem;
|
|
75
75
|
|
|
76
|
-
font: var(--tui-font-
|
|
76
|
+
font: var(--tui-font-body-m);
|
|
77
77
|
font-weight: bold;
|
|
78
78
|
border-width: 0;
|
|
79
79
|
margin-block-start: -2.75rem;
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
&._open {
|
|
102
102
|
--t-size: 3.5rem;
|
|
103
103
|
|
|
104
|
-
font: var(--tui-font-
|
|
104
|
+
font: var(--tui-font-body-m);
|
|
105
105
|
font-weight: bold;
|
|
106
106
|
border-width: 0;
|
|
107
107
|
margin-block-start: -2.75rem;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
inline-size: 2rem;
|
|
37
37
|
|
|
38
38
|
&::before {
|
|
39
|
-
inline-size:
|
|
39
|
+
inline-size: 1rem;
|
|
40
40
|
transform: translateX(-1rem);
|
|
41
41
|
font-size: 0.75rem;
|
|
42
42
|
}
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
&::before {
|
|
79
|
+
left: 0.125rem;
|
|
79
80
|
font-size: 1rem;
|
|
80
|
-
inline-size: 1.375rem;
|
|
81
81
|
transform: translateX(-1.5rem);
|
|
82
82
|
}
|
|
83
83
|
|
package/tokens/i18n.d.ts
CHANGED
|
@@ -63,3 +63,4 @@ export declare const TUI_PREVIEW_ZOOM_TEXTS: InjectionToken<Signal<{
|
|
|
63
63
|
reset: string;
|
|
64
64
|
}>>;
|
|
65
65
|
export declare const TUI_INTERNATIONAL_SEARCH: InjectionToken<Signal<string>>;
|
|
66
|
+
export declare const TUI_DAY_RANGE_PERIODS: InjectionToken<Signal<readonly [forAllTime: string, today: string, yesterday: string, currentWeek: string, currentMonth: string, previousMonth: string]>>;
|