@taiga-ui/kit 4.52.0-canary.932d3ef → 4.52.0-canary.9c7b1f0
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/README.md +1 -1
- package/components/accordion/accordion.component.d.ts +13 -0
- package/components/accordion/accordion.d.ts +4 -4
- package/components/accordion/accordion.directive.d.ts +11 -10
- package/components/accordion/index.d.ts +1 -3
- package/components/action-bar/action-bar.component.d.ts +5 -7
- package/components/action-bar/index.d.ts +0 -2
- package/components/avatar/avatar-labeled.component.d.ts +3 -3
- package/components/avatar/avatar-outline.directive.d.ts +3 -3
- package/components/avatar/avatar-stack.component.d.ts +2 -2
- package/components/avatar/avatar.directive.d.ts +4 -3
- package/components/badge/badge.directive.d.ts +2 -2
- package/components/badge/badge.options.d.ts +1 -3
- package/components/badge-notification/badge-notification.component.d.ts +2 -3
- package/components/badge-notification/badge-notification.options.d.ts +1 -3
- package/components/badged-content/badged-content.directive.d.ts +2 -3
- package/components/block/block.directive.d.ts +4 -4
- package/components/block/block.options.d.ts +2 -4
- package/components/breadcrumbs/breadcrumbs.component.d.ts +6 -7
- package/components/breadcrumbs/breadcrumbs.options.d.ts +1 -3
- package/components/button-loading/button-loading.component.d.ts +5 -5
- package/components/calendar-month/calendar-month.component.d.ts +1 -1
- package/components/calendar-range/calendar-range.component.d.ts +1 -3
- package/components/calendar-range/day-range-period.d.ts +2 -1
- package/components/carousel/carousel-autoscroll.directive.d.ts +1 -2
- package/components/carousel/carousel-scroll.directive.d.ts +1 -1
- package/components/carousel/carousel.component.d.ts +15 -18
- package/components/carousel/carousel.directive.d.ts +5 -4
- package/components/checkbox/checkbox.component.d.ts +7 -18
- package/components/checkbox/checkbox.options.d.ts +5 -9
- package/components/chip/chip.directive.d.ts +2 -4
- package/components/chip/chip.options.d.ts +1 -3
- 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/comment/comment.directive.d.ts +2 -2
- package/components/compass/compass.component.d.ts +2 -2
- package/components/confirm/confirm.component.d.ts +5 -3
- package/components/confirm/confirm.service.d.ts +3 -2
- package/{directives → components}/copy/copy.component.d.ts +4 -5
- package/{directives → components}/copy/copy.directive.d.ts +4 -6
- package/{directives → components}/copy/copy.options.d.ts +1 -1
- package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +4 -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/file/file.options.d.ts +1 -1
- package/components/files/files/files.component.d.ts +7 -10
- 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/files/input-files/input-files.options.d.ts +1 -3
- package/components/filter/filter.component.d.ts +9 -12
- package/components/fullscreen/fullscreen.component.d.ts +11 -0
- package/components/fullscreen/index.d.ts +1 -0
- package/components/index.d.ts +3 -5
- 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 +10 -14
- package/components/input-color/input-color.d.ts +5 -0
- package/components/input-date/input-date.component.d.ts +2 -2
- package/components/input-date/input-date.d.ts +4 -1
- package/components/input-date/input-date.directive.d.ts +21 -22
- 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 +9 -10
- 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 +14 -14
- package/components/input-date-time/input-date-time.options.d.ts +2 -2
- package/components/input-inline/input-inline.component.d.ts +3 -2
- package/components/input-month/input-month.component.d.ts +3 -5
- 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/index.d.ts +3 -0
- package/components/input-number/input-number.d.ts +7 -2
- package/components/input-number/input-number.directive.d.ts +11 -28
- package/components/input-number/input-number.options.d.ts +4 -7
- package/components/input-number/number-mask.directive.d.ts +42 -0
- package/components/input-number/quantum.directive.d.ts +10 -8
- package/components/input-number/step/input-number-step.component.d.ts +11 -10
- package/components/input-number/transformers/bigint.value-transformer.d.ts +11 -0
- package/components/input-number/transformers/number.value-transformer.d.ts +11 -0
- 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 +12 -14
- package/components/input-phone-international/index.d.ts +1 -0
- package/components/input-phone-international/input-phone-international.component.d.ts +28 -36
- package/components/input-phone-international/input-phone-international.d.ts +5 -0
- package/components/input-phone-international/input-phone-international.options.d.ts +2 -3
- package/components/input-pin/index.d.ts +1 -0
- package/components/input-pin/input-pin.component.d.ts +6 -7
- 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 +29 -62
- package/components/input-slider/input-slider.d.ts +4 -1
- package/components/input-slider/input-slider.directive.d.ts +6 -7
- 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 +9 -11
- package/components/input-year/input-year.d.ts +4 -1
- package/components/input-year/input-year.directive.d.ts +8 -10
- package/components/input-year/input-year.options.d.ts +2 -2
- package/components/items-with-more/items-with-more.component.d.ts +6 -6
- package/components/items-with-more/items-with-more.directive.d.ts +6 -6
- package/components/like/like.component.d.ts +4 -11
- package/components/like/like.options.d.ts +3 -4
- package/components/line-clamp/line-clamp-box.component.d.ts +3 -4
- package/components/line-clamp/line-clamp.component.d.ts +8 -10
- package/components/line-clamp/line-clamp.options.d.ts +1 -3
- package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +6 -8
- package/components/multi-select/multi-select-native/multi-select-native.component.d.ts +5 -4
- package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +1 -1
- package/components/notification-middle/notification-middle.component.d.ts +2 -2
- package/components/notification-middle/notification-middle.directive.d.ts +4 -3
- package/components/notification-middle/notification-middle.service.d.ts +7 -3
- package/components/pager/pager.component.d.ts +13 -13
- package/components/pagination/index.d.ts +1 -0
- package/components/pagination/pagination.component.d.ts +25 -54
- package/components/pagination/pagination.options.d.ts +7 -0
- package/components/pin/pin.directive.d.ts +2 -2
- package/components/preview/dialog/preview-dialog.component.d.ts +2 -2
- package/components/preview/dialog/preview-dialog.directive.d.ts +3 -3
- package/components/preview/dialog/preview-dialog.service.d.ts +5 -2
- package/components/preview/index.d.ts +1 -0
- package/components/preview/pagination/preview-pagination.component.d.ts +6 -10
- package/components/preview/preview.component.d.ts +6 -6
- package/components/preview/preview.d.ts +2 -1
- package/{tokens/preview-icons.d.ts → components/preview/preview.options.d.ts} +1 -3
- package/components/preview/zoom/preview-zoom.component.d.ts +11 -17
- package/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.d.ts +1 -2
- package/components/progress/progress-bar/progress-bar.component.d.ts +3 -4
- package/components/progress/progress-bar/progress-color-segments.directive.d.ts +4 -4
- package/components/progress/progress-circle/progress-circle.component.d.ts +7 -11
- package/components/progress/progress-segmented/progress-segmented.directive.d.ts +2 -2
- package/components/progress/progress.options.d.ts +1 -3
- package/components/pulse/pulse.component.d.ts +2 -2
- package/components/push/push-alert.component.d.ts +4 -3
- package/components/push/push.component.d.ts +7 -8
- package/components/push/push.directive.d.ts +4 -6
- package/components/push/push.options.d.ts +5 -8
- package/components/push/push.service.d.ts +6 -2
- package/components/radio/radio.component.d.ts +8 -9
- package/components/radio/radio.directive.d.ts +2 -2
- package/components/radio/radio.options.d.ts +2 -5
- package/components/radio-list/radio-list.component.d.ts +11 -9
- package/components/range/range-change.directive.d.ts +1 -2
- package/components/range/range.component.d.ts +16 -25
- package/components/rating/rating.component.d.ts +5 -5
- package/components/rating/rating.options.d.ts +6 -6
- 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 +7 -8
- package/components/select/select.d.ts +4 -1
- package/components/select/select.directive.d.ts +4 -3
- package/components/slider/helpers/key-steps.d.ts +1 -2
- package/components/slider/helpers/slider-key-steps.directive.d.ts +15 -23
- package/components/slider/helpers/slider-readonly.directive.d.ts +2 -4
- package/components/slider/helpers/slider-thumb-label.component.d.ts +2 -4
- package/components/slider/slider.component.d.ts +4 -7
- package/components/slider/slider.options.d.ts +1 -6
- package/components/status/status.directive.d.ts +2 -2
- package/components/stepper/step.component.d.ts +14 -9
- package/components/stepper/stepper.component.d.ts +5 -12
- package/components/switch/switch.component.d.ts +8 -19
- package/components/switch/switch.options.d.ts +4 -8
- package/components/tabs/tabs-horizontal.directive.d.ts +4 -5
- package/components/tabs/tabs-vertical.directive.d.ts +2 -2
- package/components/tabs/tabs-with-more.component.d.ts +13 -17
- package/components/tabs/tabs.directive.d.ts +5 -7
- package/components/tabs/tabs.options.d.ts +1 -6
- package/components/textarea/index.d.ts +2 -1
- package/components/textarea/textarea.component.d.ts +10 -11
- package/components/textarea/textarea.d.ts +6 -0
- package/components/textarea/textarea.directive.d.ts +13 -0
- package/components/tiles/tile.component.d.ts +7 -10
- package/components/tiles/tile.service.d.ts +1 -1
- package/components/tiles/tiles.component.d.ts +4 -7
- package/components/toast/index.d.ts +5 -0
- package/components/toast/toast.component.d.ts +18 -0
- package/components/toast/toast.d.ts +3 -0
- package/components/toast/toast.directive.d.ts +7 -0
- package/components/toast/toast.options.d.ts +10 -0
- package/components/toast/toast.service.d.ts +17 -0
- package/components/tree/components/tree/tree.component.d.ts +7 -7
- package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
- package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +8 -1
- package/components/tree/directives/tree-children.directive.d.ts +2 -2
- package/components/tree/directives/tree-controller.directive.d.ts +4 -5
- package/components/tree/directives/tree-item-controller.directive.d.ts +2 -2
- package/components/tree/directives/tree-node.directive.d.ts +5 -4
- package/components/tree/misc/tree.constants.d.ts +0 -3
- package/components/tree/misc/tree.tokens.d.ts +1 -6
- 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 +4 -4
- package/directives/chevron/chevron.directive.d.ts +2 -3
- package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -5
- package/directives/fade/fade.directive.d.ts +6 -6
- package/directives/fluid-typography/fluid-typography.directive.d.ts +3 -6
- package/directives/fluid-typography/fluid-typography.options.d.ts +1 -3
- package/directives/highlight/highlight.directive.d.ts +4 -4
- package/directives/index.d.ts +1 -3
- package/directives/password/password.directive.d.ts +1 -1
- package/directives/present/present.directive.d.ts +2 -4
- package/directives/sensitive/sensitive.directive.d.ts +2 -2
- package/directives/shimmer/shimmer.directive.d.ts +3 -3
- package/directives/skeleton/skeleton.directive.d.ts +3 -3
- package/directives/tooltip/tooltip.directive.d.ts +3 -3
- 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 +69 -145
- package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs +24 -40
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-avatar.mjs +54 -80
- package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +11 -18
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge.mjs +16 -27
- package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs +9 -12
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-block.mjs +20 -31
- package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +19 -39
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs +19 -27
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +6 -17
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +25 -26
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-carousel.mjs +70 -123
- package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs +18 -76
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-chip.mjs +18 -34
- package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs +45 -50
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-comment.mjs +13 -20
- package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-compass.mjs +9 -11
- package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-confirm.mjs +14 -17
- package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-copy.mjs +106 -0
- package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +25 -78
- 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 +118 -245
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-filter.mjs +21 -34
- package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +44 -0
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs +72 -81
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-color.mjs +30 -33
- package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +36 -53
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +37 -37
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +42 -59
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +58 -72
- package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs +10 -13
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +30 -28
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month.mjs +43 -51
- package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-number.mjs +270 -214
- package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +126 -159
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs +40 -46
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs +26 -24
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-range.mjs +68 -91
- package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs +46 -50
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +64 -71
- package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-year.mjs +33 -40
- package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +50 -72
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-like.mjs +40 -33
- package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +38 -82
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-message.mjs +9 -12
- package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs +44 -60
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +38 -34
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pager.mjs +31 -45
- package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pagination.mjs +75 -150
- package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pin.mjs +15 -19
- package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview.mjs +98 -158
- package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-progress.mjs +93 -117
- 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 +54 -74
- package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs +23 -35
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio.mjs +35 -41
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-range.mjs +42 -96
- package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-rating.mjs +19 -28
- package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +11 -7
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-segmented.mjs +32 -59
- package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-select.mjs +81 -62
- package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slider.mjs +96 -122
- package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-status.mjs +12 -16
- package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-stepper.mjs +61 -88
- package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-switch.mjs +22 -64
- package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +96 -166
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-textarea.mjs +62 -82
- package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tiles.mjs +38 -71
- package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-toast.mjs +164 -0
- package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-tree.mjs +92 -127
- package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components.mjs +3 -5
- 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-group.mjs +9 -12
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs +20 -19
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs +16 -22
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-connected.mjs +9 -15
- package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +25 -53
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fade.mjs +28 -40
- package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +14 -27
- package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs +16 -21
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-password.mjs +14 -16
- package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-present.mjs +10 -18
- package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +13 -18
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +24 -34
- package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +28 -38
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +17 -22
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +10 -14
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +10 -15
- package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives.mjs +1 -3
- package/fesm2022/taiga-ui-kit-directives.mjs.map +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 -4
- package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +22 -36
- 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 +23 -27
- 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 -4
- package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -4
- package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes.mjs +3 -1
- package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-tokens.mjs +4 -126
- 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 +49 -57
- 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 +5 -2
- package/pipes/flag/flag.pipe.d.ts +13 -0
- package/pipes/flag/index.d.ts +1 -0
- package/pipes/hide-selected/hide-selected.pipe.d.ts +2 -0
- package/pipes/index.d.ts +3 -1
- 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 +188 -0
- package/styles/components/badge.less +4 -3
- package/styles/components/block.less +4 -4
- package/styles/components/checkbox.less +14 -12
- package/styles/components/chip.less +15 -4
- package/styles/components/comment.less +1 -1
- package/styles/components/like.less +4 -9
- package/styles/components/message.less +1 -1
- package/styles/components/pin.less +6 -10
- package/styles/components/radio.less +1 -1
- package/styles/components/switch.less +12 -11
- package/styles/components/toast.less +44 -0
- package/tokens/i18n.d.ts +26 -26
- package/tokens/index.d.ts +0 -8
- package/utils/index.d.ts +0 -2
- package/utils/maskito.binding.d.ts +1 -1
- package/components/accordion/accordion-item-content.directive.d.ts +0 -6
- package/components/accordion/accordion-item-eager-content.directive.d.ts +0 -5
- package/components/accordion/accordion-item.component.d.ts +0 -25
- package/components/action-bar/action-bar.d.ts +0 -3
- package/components/action-bar/action-bar.directive.d.ts +0 -6
- 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-password/index.d.ts +0 -2
- package/components/input-password/input-password.component.d.ts +0 -16
- package/components/input-password/input-password.options.d.ts +0 -24
- package/components/input-range/input-range.d.ts +0 -3
- package/components/pdf-viewer/index.d.ts +0 -4
- package/components/pdf-viewer/pdf-viewer.component.d.ts +0 -12
- package/components/pdf-viewer/pdf-viewer.directive.d.ts +0 -7
- package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -13
- package/components/pdf-viewer/pdf-viewer.service.d.ts +0 -13
- 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 -27
- package/directives/button-close/button-close.directive.d.ts +0 -5
- package/directives/button-close/index.d.ts +0 -1
- 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 -78
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs +0 -43
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-input-password.mjs +0 -95
- package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +0 -64
- package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-slides.mjs +0 -57
- package/fesm2022/taiga-ui-kit-components-slides.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-directives-button-close.mjs +0 -39
- package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-directives-copy.mjs +0 -121
- package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +0 -81
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +0 -147
- package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +0 -1
- package/pipes/field-error/field-error-content-pipe.d.ts +0 -14
- package/pipes/field-error/field-error-pipe.d.ts +0 -29
- package/pipes/field-error/index.d.ts +0 -2
- 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 -26
- package/tokens/mobile-calendar.d.ts +0 -6
- package/tokens/month-formatter.d.ts +0 -5
- package/tokens/validation-errors.d.ts +0 -5
- package/utils/phone.d.ts +0 -3
- package/utils/toggle-day.d.ts +0 -2
- /package/{directives → components}/copy/copy.d.ts +0 -0
- /package/{directives → components}/copy/index.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './flag.pipe';
|
|
@@ -3,6 +3,8 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class TuiHideSelectedPipe implements PipeTransform {
|
|
4
4
|
private readonly textfield;
|
|
5
5
|
private readonly handlers;
|
|
6
|
+
private readonly items;
|
|
7
|
+
private readonly filtered;
|
|
6
8
|
transform<T>(items: readonly T[] | null): readonly T[] | null;
|
|
7
9
|
transform<T>(items: ReadonlyArray<readonly T[]> | null): ReadonlyArray<readonly T[]> | null;
|
|
8
10
|
private filter2d;
|
package/pipes/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
export * from '@taiga-ui/kit/pipes/auto-color';
|
|
1
2
|
export * from '@taiga-ui/kit/pipes/emails';
|
|
2
|
-
export * from '@taiga-ui/kit/pipes/field-error';
|
|
3
3
|
export * from '@taiga-ui/kit/pipes/filter-by-input';
|
|
4
|
+
export * from '@taiga-ui/kit/pipes/flag';
|
|
4
5
|
export * from '@taiga-ui/kit/pipes/hide-selected';
|
|
6
|
+
export * from '@taiga-ui/kit/pipes/initials';
|
|
5
7
|
export * from '@taiga-ui/kit/pipes/sort-countries';
|
|
6
8
|
export * from '@taiga-ui/kit/pipes/stringify';
|
|
7
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
|
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @name Avatar
|
|
5
|
+
* @selector [tuiAvatar]
|
|
6
|
+
*
|
|
7
|
+
* @description
|
|
8
|
+
* An avatar component which can be used with icons, text or images
|
|
9
|
+
* and is applicable to static elements as well as buttons and links
|
|
10
|
+
*
|
|
11
|
+
* @attributes
|
|
12
|
+
* data-size — size (default: 'l') ('xs' | 's' | 'm' | 'l' | 'xl' | 'xxl')
|
|
13
|
+
* data-shape — shape (default: 'round') ('round' | 'square')
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* <span tuiAvatar tuiIcons style="--t-icon-start: url('icon.svg')"></span>
|
|
17
|
+
* <button tuiAvatar>
|
|
18
|
+
* <img src="path/to/image" alt="Avatar" />
|
|
19
|
+
* </button>
|
|
20
|
+
*
|
|
21
|
+
* @see-also
|
|
22
|
+
* Icons, Icon, Appearance
|
|
23
|
+
*/
|
|
24
|
+
[tuiAvatar] {
|
|
25
|
+
--t-size: var(--tui-height-l);
|
|
26
|
+
--t-radius: 0.75rem;
|
|
27
|
+
--t-corner-offset: calc((var(--t-radius) * 1.4142 - var(--t-radius)) * 1 / 1.4142);
|
|
28
|
+
|
|
29
|
+
position: relative;
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
flex-shrink: 0;
|
|
32
|
+
inline-size: var(--t-size);
|
|
33
|
+
block-size: var(--t-size);
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
white-space: nowrap;
|
|
37
|
+
border-radius: var(--t-radius);
|
|
38
|
+
border: none;
|
|
39
|
+
background: var(--tui-background-neutral-1);
|
|
40
|
+
color: var(--tui-text-secondary);
|
|
41
|
+
vertical-align: middle;
|
|
42
|
+
box-sizing: border-box;
|
|
43
|
+
padding: 0.25rem;
|
|
44
|
+
font: var(--tui-font-body-l);
|
|
45
|
+
font-weight: bold;
|
|
46
|
+
opacity: 0.999; // Kick in hardware rendering layer to avoid artifacts on the edges
|
|
47
|
+
|
|
48
|
+
&::before {
|
|
49
|
+
inline-size: auto;
|
|
50
|
+
block-size: auto;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:not(._initials)::before {
|
|
54
|
+
position: absolute;
|
|
55
|
+
inset: 0;
|
|
56
|
+
font-size: calc(var(--t-size) * 0.6);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&[data-size='xs'] {
|
|
60
|
+
--t-size: var(--tui-height-xs);
|
|
61
|
+
--t-radius: 0.5rem;
|
|
62
|
+
|
|
63
|
+
font: var(--tui-font-ui-xs);
|
|
64
|
+
font-size: 0.5625rem;
|
|
65
|
+
|
|
66
|
+
&._initials::before {
|
|
67
|
+
font: var(--tui-font-ui-xs);
|
|
68
|
+
font-weight: bold;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&[data-size='s'] {
|
|
73
|
+
--t-size: var(--tui-height-s);
|
|
74
|
+
--t-radius: 0.5rem;
|
|
75
|
+
|
|
76
|
+
font: var(--tui-font-ui-xs);
|
|
77
|
+
font-weight: bold;
|
|
78
|
+
|
|
79
|
+
&._initials::before {
|
|
80
|
+
font: var(--tui-font-body-s);
|
|
81
|
+
font-weight: bold;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&[data-size='m'] {
|
|
86
|
+
--t-size: calc(var(--tui-height-m) - 0.25rem);
|
|
87
|
+
--t-radius: 0.75rem;
|
|
88
|
+
|
|
89
|
+
font: var(--tui-font-ui-m);
|
|
90
|
+
font-weight: bold;
|
|
91
|
+
|
|
92
|
+
&._initials::before {
|
|
93
|
+
font: var(--tui-font-body-m);
|
|
94
|
+
font-weight: bold;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&[data-size='xl'] {
|
|
99
|
+
--t-size: 5rem;
|
|
100
|
+
--t-radius: 0.75rem;
|
|
101
|
+
|
|
102
|
+
font: var(--tui-font-heading-h4);
|
|
103
|
+
|
|
104
|
+
&._initials::before {
|
|
105
|
+
font: var(--tui-font-heading-h3);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&[data-size='xxl'] {
|
|
110
|
+
--t-size: 6rem;
|
|
111
|
+
--t-radius: 1rem;
|
|
112
|
+
|
|
113
|
+
font: var(--tui-font-heading-h3);
|
|
114
|
+
|
|
115
|
+
&._initials::before {
|
|
116
|
+
font: var(--tui-font-heading-h3);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&[data-size='xxxl'] {
|
|
121
|
+
--t-size: 8rem;
|
|
122
|
+
--t-radius: 1.25rem;
|
|
123
|
+
|
|
124
|
+
font: var(--tui-font-heading-h3);
|
|
125
|
+
|
|
126
|
+
&._initials::before {
|
|
127
|
+
font: var(--tui-font-heading-h2);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&:not([data-shape='square']) {
|
|
132
|
+
--t-radius: calc(var(--t-size) / 2);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&._initials {
|
|
136
|
+
&::before {
|
|
137
|
+
content: attr(data-icon-start);
|
|
138
|
+
mask: none;
|
|
139
|
+
background: none;
|
|
140
|
+
font: var(--tui-font-heading-h6);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&._badge {
|
|
145
|
+
mask: radial-gradient(
|
|
146
|
+
circle at calc(100% - var(--t-corner-offset)) calc(100% - var(--t-corner-offset)),
|
|
147
|
+
black 0.23rem,
|
|
148
|
+
transparent 0.25rem,
|
|
149
|
+
transparent 0.375rem,
|
|
150
|
+
black 0.39rem
|
|
151
|
+
);
|
|
152
|
+
mask-clip: no-clip;
|
|
153
|
+
|
|
154
|
+
&::after {
|
|
155
|
+
content: '';
|
|
156
|
+
position: absolute;
|
|
157
|
+
top: calc(100% - var(--t-corner-offset));
|
|
158
|
+
left: calc(100% - var(--t-corner-offset));
|
|
159
|
+
display: block;
|
|
160
|
+
inline-size: 0.55rem;
|
|
161
|
+
block-size: 0.55rem;
|
|
162
|
+
border-radius: 100%;
|
|
163
|
+
background: var(--t-badge);
|
|
164
|
+
transform: translate3d(-50%, -50%, 0);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&._fallback {
|
|
169
|
+
img,
|
|
170
|
+
video {
|
|
171
|
+
display: none;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
img,
|
|
176
|
+
video,
|
|
177
|
+
picture {
|
|
178
|
+
.fullsize();
|
|
179
|
+
|
|
180
|
+
object-fit: cover;
|
|
181
|
+
box-sizing: border-box;
|
|
182
|
+
border-radius: inherit;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
&:has(img, video):not(._fallback) {
|
|
186
|
+
background: none;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
@@ -26,13 +26,14 @@ tui-badge,
|
|
|
26
26
|
.button-base();
|
|
27
27
|
|
|
28
28
|
border-radius: 6rem;
|
|
29
|
+
justify-content: center;
|
|
29
30
|
background: #959595;
|
|
30
31
|
color: var(--tui-background-base);
|
|
31
32
|
padding: var(--t-padding);
|
|
32
33
|
block-size: var(--t-size);
|
|
33
34
|
min-inline-size: var(--t-size);
|
|
34
35
|
inline-size: fit-content;
|
|
35
|
-
font: var(--tui-font-
|
|
36
|
+
font: var(--tui-font-body-s);
|
|
36
37
|
|
|
37
38
|
&[tuiStatus]::before {
|
|
38
39
|
inline-size: 0.375rem;
|
|
@@ -74,7 +75,7 @@ tui-badge,
|
|
|
74
75
|
--t-icon-size: 0.625rem;
|
|
75
76
|
--t-margin: -0.125rem;
|
|
76
77
|
|
|
77
|
-
font: var(--tui-font-
|
|
78
|
+
font: var(--tui-font-body-xs);
|
|
78
79
|
|
|
79
80
|
&[tuiStatus]::before {
|
|
80
81
|
inline-size: 0.25rem;
|
|
@@ -95,7 +96,7 @@ tui-badge,
|
|
|
95
96
|
--t-padding: 0 0.75rem;
|
|
96
97
|
--t-size: var(--tui-height-s);
|
|
97
98
|
|
|
98
|
-
font: var(--tui-font-
|
|
99
|
+
font: var(--tui-font-body-m);
|
|
99
100
|
|
|
100
101
|
&[tuiStatus]::before {
|
|
101
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);
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
* data-size — size (default: 'm') ('s' | 'm')
|
|
12
12
|
*
|
|
13
13
|
* @vars
|
|
14
|
-
* --t-
|
|
15
|
-
* --t-
|
|
14
|
+
* --t-icon-start — checkmark icon
|
|
15
|
+
* --t-icon-end — indeterminate state icon
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
|
-
* <input type="checkbox" tuiCheckbox />
|
|
18
|
+
* <input type="checkbox" tuiCheckbox tuiIcons tuiAppearance data-appearance='secondary' />
|
|
19
19
|
*
|
|
20
20
|
* @see-also
|
|
21
21
|
* Switch, Radio, Appearance
|
|
@@ -32,20 +32,22 @@
|
|
|
32
32
|
flex-shrink: 0;
|
|
33
33
|
|
|
34
34
|
&::before {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
position: absolute;
|
|
36
|
+
block-size: 100%;
|
|
37
|
+
inline-size: 100%;
|
|
38
38
|
font-size: 1rem;
|
|
39
|
-
|
|
40
|
-
mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"></svg>') no-repeat center /
|
|
41
|
-
calc(~'min(1em, 100%)' + 10 * var(--tui-stroke-width, 0.125rem)) ~'min(1em, 100%)' padding-box;
|
|
39
|
+
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"></svg>');
|
|
42
40
|
transform: scale(0);
|
|
43
41
|
transition:
|
|
44
42
|
transform var(--tui-duration) ease-in-out,
|
|
45
43
|
mask 0s var(--tui-duration) ease-in-out;
|
|
46
44
|
}
|
|
47
45
|
|
|
48
|
-
|
|
46
|
+
&::after {
|
|
47
|
+
display: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:disabled._readonly._readonly {
|
|
49
51
|
opacity: 1;
|
|
50
52
|
pointer-events: none;
|
|
51
53
|
}
|
|
@@ -53,7 +55,7 @@
|
|
|
53
55
|
&:checked,
|
|
54
56
|
&:indeterminate {
|
|
55
57
|
&::before {
|
|
56
|
-
mask-image: var(--t-
|
|
58
|
+
mask-image: var(--t-icon-start);
|
|
57
59
|
transform: scale(1);
|
|
58
60
|
transition:
|
|
59
61
|
transform var(--tui-duration) ease-in-out,
|
|
@@ -63,7 +65,7 @@
|
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
&:indeterminate::before {
|
|
66
|
-
mask-image: var(--t-
|
|
68
|
+
mask-image: var(--t-icon-end);
|
|
67
69
|
}
|
|
68
70
|
|
|
69
71
|
&[data-size='s'] {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* data-size — size (default: 's') ('xxs' | 'xs' | 's' | 'm')
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
|
-
* <tui-chip>Sale</tui-
|
|
14
|
+
* <tui-chip>Sale</tui-chip>
|
|
15
15
|
*
|
|
16
16
|
* @see-also
|
|
17
17
|
* Icons, Appearance, Badge, Block
|
|
@@ -26,12 +26,13 @@ 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);
|
|
33
33
|
inline-size: fit-content;
|
|
34
34
|
isolation: isolate;
|
|
35
|
+
max-inline-size: stretch;
|
|
35
36
|
|
|
36
37
|
.interactive({
|
|
37
38
|
cursor: pointer;
|
|
@@ -47,6 +48,11 @@ tui-chip,
|
|
|
47
48
|
margin: -0.375rem;
|
|
48
49
|
}
|
|
49
50
|
|
|
51
|
+
> tui-badge,
|
|
52
|
+
> [tuiBadge] {
|
|
53
|
+
margin-inline-end: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
50
56
|
&[data-size='xxs'] {
|
|
51
57
|
// StackBlitz changes "0rem" to "0" breaking calc
|
|
52
58
|
--t-gap: ~'0rem';
|
|
@@ -54,7 +60,7 @@ tui-chip,
|
|
|
54
60
|
--t-size: 1rem;
|
|
55
61
|
--t-icon-size: 0.75rem;
|
|
56
62
|
|
|
57
|
-
font: var(--tui-font-
|
|
63
|
+
font: var(--tui-font-body-xs);
|
|
58
64
|
border-radius: var(--tui-radius-xs);
|
|
59
65
|
|
|
60
66
|
& > [tuiIconButton] {
|
|
@@ -80,11 +86,16 @@ tui-chip,
|
|
|
80
86
|
--t-padding: 0 1rem;
|
|
81
87
|
--t-size: var(--tui-height-m);
|
|
82
88
|
|
|
83
|
-
font: var(--tui-font-
|
|
89
|
+
font: var(--tui-font-body-m);
|
|
84
90
|
|
|
85
91
|
& > [tuiIconButton] {
|
|
86
92
|
margin: -0.75rem;
|
|
87
93
|
}
|
|
94
|
+
|
|
95
|
+
& > tui-badge,
|
|
96
|
+
& > [tuiBadge] {
|
|
97
|
+
margin-inline-start: -0.375rem;
|
|
98
|
+
}
|
|
88
99
|
}
|
|
89
100
|
|
|
90
101
|
& > img,
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
* data-size — size (default: 'm') ('s' | 'm')
|
|
12
12
|
*
|
|
13
13
|
* @vars
|
|
14
|
-
* --t-icon-color
|
|
15
|
-
* --t-
|
|
16
|
-
* --t-
|
|
14
|
+
* --t-icon-color — custom color for `:checked` state
|
|
15
|
+
* --t-icon-start — default state icon
|
|
16
|
+
* --t-icon-end — checkmark icon
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
|
-
* <input tuiLike />
|
|
19
|
+
* <input tuiLike tuiIcons tuiAppearance data-appearance="secondary" />
|
|
20
20
|
*
|
|
21
21
|
* @see-also
|
|
22
22
|
* Checkbox, Switch, Radio, Appearance
|
|
@@ -34,16 +34,11 @@
|
|
|
34
34
|
&::after {
|
|
35
35
|
.fullsize();
|
|
36
36
|
|
|
37
|
-
content: '';
|
|
38
|
-
background: currentColor;
|
|
39
37
|
font-size: 1.25rem;
|
|
40
|
-
mask: var(--t-unchecked-icon) no-repeat center /
|
|
41
|
-
calc(~'min(1em, 100%)' + 10 * var(--tui-stroke-width, 0.125rem)) ~'min(1em, 100%)' padding-box;
|
|
42
38
|
transition-property: transform, opacity;
|
|
43
39
|
}
|
|
44
40
|
|
|
45
41
|
&::after {
|
|
46
|
-
mask-image: var(--t-checked-icon);
|
|
47
42
|
opacity: 0;
|
|
48
43
|
color: var(--t-icon-color, inherit);
|
|
49
44
|
transform: scale(0);
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* @see-also
|
|
14
14
|
* Compass
|
|
15
15
|
*/
|
|
16
|
-
tui-pin,
|
|
17
16
|
[tuiPin] {
|
|
18
17
|
--t-size: 2rem;
|
|
19
18
|
|
|
@@ -29,7 +28,7 @@ tui-pin,
|
|
|
29
28
|
justify-content: center;
|
|
30
29
|
text-align: center;
|
|
31
30
|
border-radius: 100%;
|
|
32
|
-
font: var(--tui-font-
|
|
31
|
+
font: var(--tui-font-body-s);
|
|
33
32
|
font-weight: bold;
|
|
34
33
|
box-sizing: border-box;
|
|
35
34
|
color: var(--tui-text-primary-on-accent-2);
|
|
@@ -64,8 +63,7 @@ tui-pin,
|
|
|
64
63
|
background: var(--tui-background-base);
|
|
65
64
|
}
|
|
66
65
|
|
|
67
|
-
> tui-icon
|
|
68
|
-
> tui-svg {
|
|
66
|
+
> tui-icon {
|
|
69
67
|
.transition(~'width, height');
|
|
70
68
|
|
|
71
69
|
font-size: 1.25rem;
|
|
@@ -75,7 +73,7 @@ tui-pin,
|
|
|
75
73
|
&:has(:checked) {
|
|
76
74
|
--t-size: 3.5rem;
|
|
77
75
|
|
|
78
|
-
font: var(--tui-font-
|
|
76
|
+
font: var(--tui-font-body-m);
|
|
79
77
|
font-weight: bold;
|
|
80
78
|
border-width: 0;
|
|
81
79
|
margin-block-start: -2.75rem;
|
|
@@ -84,8 +82,7 @@ tui-pin,
|
|
|
84
82
|
padding: 0.125rem;
|
|
85
83
|
}
|
|
86
84
|
|
|
87
|
-
> tui-icon
|
|
88
|
-
> tui-svg {
|
|
85
|
+
> tui-icon {
|
|
89
86
|
font-size: 2.125rem;
|
|
90
87
|
}
|
|
91
88
|
|
|
@@ -104,7 +101,7 @@ tui-pin,
|
|
|
104
101
|
&._open {
|
|
105
102
|
--t-size: 3.5rem;
|
|
106
103
|
|
|
107
|
-
font: var(--tui-font-
|
|
104
|
+
font: var(--tui-font-body-m);
|
|
108
105
|
font-weight: bold;
|
|
109
106
|
border-width: 0;
|
|
110
107
|
margin-block-start: -2.75rem;
|
|
@@ -113,8 +110,7 @@ tui-pin,
|
|
|
113
110
|
padding: 0.125rem;
|
|
114
111
|
}
|
|
115
112
|
|
|
116
|
-
> tui-icon
|
|
117
|
-
> tui-svg {
|
|
113
|
+
> tui-icon {
|
|
118
114
|
font-size: 2.125rem;
|
|
119
115
|
}
|
|
120
116
|
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
* data-size — size (default: 'm') ('s' | 'm')
|
|
12
12
|
*
|
|
13
13
|
* @vars
|
|
14
|
-
* --t-
|
|
14
|
+
* --t-icon-start — checkmark icon
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
|
-
* <input type="checkbox" tuiSwitch />
|
|
17
|
+
* <input type="checkbox" tuiSwitch tuiAppearance data-appearance="primary" />
|
|
18
18
|
*
|
|
19
19
|
* @see-also
|
|
20
20
|
* Checkbox, Radio
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
[tuiSwitch] {
|
|
23
23
|
.transition(~'background, box-shadow');
|
|
24
24
|
|
|
25
|
+
display: inline-block;
|
|
25
26
|
inline-size: 3rem;
|
|
26
27
|
block-size: 1.5rem;
|
|
27
28
|
border-radius: 2rem;
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
inline-size: 2rem;
|
|
37
38
|
|
|
38
39
|
&::before {
|
|
39
|
-
inline-size:
|
|
40
|
+
inline-size: 1rem;
|
|
40
41
|
transform: translateX(-1rem);
|
|
41
42
|
font-size: 0.75rem;
|
|
42
43
|
}
|
|
@@ -63,13 +64,12 @@
|
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
|
|
66
|
-
&:disabled._readonly {
|
|
67
|
+
&:disabled._readonly._readonly {
|
|
67
68
|
opacity: 1;
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
&::before,
|
|
71
72
|
&::after {
|
|
72
|
-
content: '';
|
|
73
73
|
position: absolute;
|
|
74
74
|
block-size: 100%;
|
|
75
75
|
inline-size: 1.5rem;
|
|
@@ -77,22 +77,23 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
&::before {
|
|
80
|
-
|
|
81
|
-
background: currentColor;
|
|
82
|
-
mask: var(--t-checked-icon) no-repeat center / calc(~'min(1em, 100%)' + 10 * var(--tui-stroke-width, 0.125rem))
|
|
83
|
-
~'min(1em, 100%)' padding-box;
|
|
80
|
+
left: 0.125rem;
|
|
84
81
|
font-size: 1rem;
|
|
85
|
-
inline-size: 1.375rem;
|
|
86
82
|
transform: translateX(-1.5rem);
|
|
87
83
|
}
|
|
88
84
|
|
|
89
85
|
&::after {
|
|
90
86
|
right: 0;
|
|
87
|
+
display: block;
|
|
91
88
|
border-radius: 100%;
|
|
89
|
+
background: none;
|
|
92
90
|
transform: scale(0.33333);
|
|
93
91
|
box-shadow: -4.5rem 0 0 0.75rem var(--tui-background-base);
|
|
94
92
|
outline: 0.375rem solid var(--tui-background-neutral-2-pressed);
|
|
95
|
-
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&:not([data-icon-start])::after {
|
|
96
|
+
outline-offset: 20rem;
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
&:invalid:not([data-mode]),
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
|
+
|
|
3
|
+
[tuiToast] {
|
|
4
|
+
.transition(transform);
|
|
5
|
+
|
|
6
|
+
display: flex;
|
|
7
|
+
grid-row: 1 / span 2;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
gap: 0.75rem;
|
|
10
|
+
color: var(--tui-text-primary);
|
|
11
|
+
background: var(--tui-background-elevation-3);
|
|
12
|
+
min-block-size: 3.5rem;
|
|
13
|
+
border-radius: 1rem;
|
|
14
|
+
padding: 0.75rem 1rem;
|
|
15
|
+
box-shadow: var(--tui-shadow-medium);
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
inline-size: max-content;
|
|
19
|
+
font: var(--tui-font-ui-s);
|
|
20
|
+
max-inline-size: ~'min(calc(100vw - 2rem), 25rem)';
|
|
21
|
+
border: inherit;
|
|
22
|
+
text-decoration: none;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
|
|
25
|
+
.interactive({
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
> *,
|
|
30
|
+
&::after,
|
|
31
|
+
&::before {
|
|
32
|
+
max-inline-size: 50%;
|
|
33
|
+
margin: 0 -0.25rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&::after {
|
|
37
|
+
font-size: 1rem;
|
|
38
|
+
color: var(--tui-text-tertiary);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[tuiAvatar] {
|
|
42
|
+
margin-inline-end: 0;
|
|
43
|
+
}
|
|
44
|
+
}
|