@taiga-ui/kit 4.52.0-canary.698642f → 4.52.0-canary.6be767f
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/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-outline.directive.d.ts +3 -3
- package/components/avatar/avatar.directive.d.ts +15 -0
- package/components/avatar/avatar.options.d.ts +1 -4
- package/components/avatar/index.d.ts +1 -1
- package/components/badge/badge.directive.d.ts +2 -2
- package/components/block/block.directive.d.ts +4 -4
- package/components/block/block.options.d.ts +1 -1
- package/components/calendar-month/calendar-month.options.d.ts +1 -1
- 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/comment/comment.directive.d.ts +2 -2
- package/components/confirm/confirm.component.d.ts +1 -0
- package/components/confirm/confirm.service.d.ts +2 -1
- package/{directives → components}/copy/copy.directive.d.ts +1 -2
- package/{directives → components}/copy/copy.options.d.ts +2 -2
- package/components/files/file/file.options.d.ts +1 -1
- package/components/floating-container/floating-container.directive.d.ts +2 -2
- package/components/fullscreen/fullscreen.component.d.ts +14 -0
- package/components/fullscreen/index.d.ts +1 -0
- package/components/index.d.ts +3 -2
- package/components/input-chip/input-chip.options.d.ts +1 -1
- package/components/input-color/input-color.component.d.ts +2 -2
- package/components/input-color/input-color.options.d.ts +1 -1
- package/components/input-date/input-date.options.d.ts +1 -1
- package/components/input-number/input-number.options.d.ts +1 -1
- package/components/input-number/quantum.directive.d.ts +1 -1
- package/components/input-phone/input-phone.options.d.ts +1 -1
- package/components/input-phone-international/input-phone-international.component.d.ts +23 -29
- package/components/input-range/input-range.component.d.ts +8 -11
- package/components/input-slider/input-slider.directive.d.ts +2 -4
- package/components/input-time/input-time.options.d.ts +1 -1
- 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/multi-select/multi-select-group/multi-select-group.component.d.ts +2 -2
- package/components/pager/pager.component.d.ts +1 -1
- package/components/pin/pin.directive.d.ts +2 -2
- package/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.d.ts +1 -2
- package/components/progress/progress-segmented/progress-segmented.directive.d.ts +2 -2
- package/components/push/push.component.d.ts +1 -1
- package/components/radio/radio.component.d.ts +7 -8
- package/components/radio/radio.directive.d.ts +2 -2
- package/components/radio/radio.options.d.ts +2 -5
- package/components/range/range-change.directive.d.ts +1 -1
- package/components/range/range.component.d.ts +0 -5
- package/components/rating/rating.component.d.ts +5 -5
- package/components/rating/rating.options.d.ts +5 -3
- package/components/segmented/segmented.component.d.ts +1 -3
- package/components/slider/helpers/key-steps.d.ts +1 -2
- package/components/slider/helpers/slider-key-steps.directive.d.ts +12 -21
- package/components/slides/slides.directive.d.ts +4 -4
- package/components/status/status.directive.d.ts +2 -2
- package/components/switch/switch.component.d.ts +7 -19
- package/components/switch/switch.options.d.ts +4 -8
- package/components/textarea/textarea.options.d.ts +1 -1
- package/components/toast/index.d.ts +5 -0
- package/components/toast/toast.component.d.ts +17 -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 +8 -0
- package/components/toast/toast.service.d.ts +16 -0
- package/directives/button-select/button-select.directive.d.ts +1 -2
- package/directives/chevron/chevron.directive.d.ts +2 -3
- package/directives/fade/fade.directive.d.ts +1 -0
- package/directives/highlight/highlight.directive.d.ts +1 -3
- package/directives/index.d.ts +0 -1
- package/directives/password/password.options.d.ts +1 -1
- 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 +2 -2
- package/directives/tooltip/tooltip.options.d.ts +1 -4
- package/fesm2022/taiga-ui-kit-components-accordion.mjs +69 -144
- package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs +22 -38
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-avatar.mjs +61 -79
- package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge.mjs +13 -20
- package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-block.mjs +17 -24
- package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-carousel.mjs +15 -15
- package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs +19 -76
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-chip.mjs +22 -27
- package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs +3 -3
- 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 +3 -3
- package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-confirm.mjs +12 -12
- package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
- package/fesm2022/{taiga-ui-kit-directives-copy.mjs → taiga-ui-kit-components-copy.mjs} +11 -13
- package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +9 -9
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-drawer.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-files.mjs +24 -24
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-filter.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs +13 -19
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +63 -0
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs +19 -14
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-color.mjs +8 -10
- package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +11 -11
- 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-inline.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-number.mjs +22 -21
- package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +104 -127
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-range.mjs +33 -29
- package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs +27 -40
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +11 -11
- package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-year.mjs +5 -5
- 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-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 +14 -16
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-message.mjs +9 -11
- package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs +23 -21
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +10 -17
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pager.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pagination.mjs +5 -5
- 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-dialog.mjs +11 -11
- package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview.mjs +26 -26
- package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-progress.mjs +37 -50
- package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pulse.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-push.mjs +14 -14
- package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio.mjs +34 -39
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-range.mjs +9 -18
- package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-rating.mjs +17 -21
- package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-segmented.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-select.mjs +11 -11
- package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slider.mjs +68 -66
- package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slides.mjs +14 -22
- package/fesm2022/taiga-ui-kit-components-slides.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 +6 -6
- package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-switch.mjs +19 -65
- package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +26 -29
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-textarea.mjs +12 -12
- 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-tiles.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-toast.mjs +166 -0
- package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-tree.mjs +27 -27
- package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components.mjs +3 -2
- package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
- 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 +5 -12
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs +13 -20
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-connected.mjs +9 -14
- package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fade.mjs +9 -12
- 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-fluid-typography.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +6 -6
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-password.mjs +6 -6
- package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-present.mjs +3 -3
- 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 +27 -38
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +13 -18
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +4 -5
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives.mjs +0 -1
- package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +3 -3
- 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-stringify.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes.mjs +0 -1
- package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-tokens.mjs +1 -6
- package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
- package/package.json +62 -65
- package/pipes/index.d.ts +0 -1
- package/styles/components/avatar.less +188 -0
- package/styles/components/checkbox.less +14 -12
- package/styles/components/chip.less +1 -2
- package/styles/components/like.less +4 -9
- package/styles/components/pin.less +3 -7
- package/styles/components/radio.less +1 -1
- package/styles/components/switch.less +9 -9
- package/styles/components/toast.less +44 -0
- package/tokens/index.d.ts +0 -1
- package/tokens/input-date-options.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/avatar/avatar.component.d.ts +0 -15
- 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/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/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-directives-copy.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/validation-errors.d.ts +0 -5
- /package/{directives → components}/copy/copy.component.d.ts +0 -0
- /package/{directives → components}/copy/copy.d.ts +0 -0
- /package/{directives → components}/copy/index.d.ts +0 -0
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.6be767f",
|
|
4
4
|
"description": "Taiga UI Angular main components kit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"types": "./components/index.d.ts",
|
|
26
26
|
"default": "./fesm2022/taiga-ui-kit-components.mjs"
|
|
27
27
|
},
|
|
28
|
-
"./pipes": {
|
|
29
|
-
"types": "./pipes/index.d.ts",
|
|
30
|
-
"default": "./fesm2022/taiga-ui-kit-pipes.mjs"
|
|
31
|
-
},
|
|
32
28
|
"./directives": {
|
|
33
29
|
"types": "./directives/index.d.ts",
|
|
34
30
|
"default": "./fesm2022/taiga-ui-kit-directives.mjs"
|
|
35
31
|
},
|
|
32
|
+
"./pipes": {
|
|
33
|
+
"types": "./pipes/index.d.ts",
|
|
34
|
+
"default": "./fesm2022/taiga-ui-kit-pipes.mjs"
|
|
35
|
+
},
|
|
36
36
|
"./tokens": {
|
|
37
37
|
"types": "./tokens/index.d.ts",
|
|
38
38
|
"default": "./fesm2022/taiga-ui-kit-tokens.mjs"
|
|
@@ -49,14 +49,14 @@
|
|
|
49
49
|
"types": "./components/action-bar/index.d.ts",
|
|
50
50
|
"default": "./fesm2022/taiga-ui-kit-components-action-bar.mjs"
|
|
51
51
|
},
|
|
52
|
-
"./components/badge": {
|
|
53
|
-
"types": "./components/badge/index.d.ts",
|
|
54
|
-
"default": "./fesm2022/taiga-ui-kit-components-badge.mjs"
|
|
55
|
-
},
|
|
56
52
|
"./components/avatar": {
|
|
57
53
|
"types": "./components/avatar/index.d.ts",
|
|
58
54
|
"default": "./fesm2022/taiga-ui-kit-components-avatar.mjs"
|
|
59
55
|
},
|
|
56
|
+
"./components/badge": {
|
|
57
|
+
"types": "./components/badge/index.d.ts",
|
|
58
|
+
"default": "./fesm2022/taiga-ui-kit-components-badge.mjs"
|
|
59
|
+
},
|
|
60
60
|
"./components/badge-notification": {
|
|
61
61
|
"types": "./components/badge-notification/index.d.ts",
|
|
62
62
|
"default": "./fesm2022/taiga-ui-kit-components-badge-notification.mjs"
|
|
@@ -113,6 +113,10 @@
|
|
|
113
113
|
"types": "./components/confirm/index.d.ts",
|
|
114
114
|
"default": "./fesm2022/taiga-ui-kit-components-confirm.mjs"
|
|
115
115
|
},
|
|
116
|
+
"./components/copy": {
|
|
117
|
+
"types": "./components/copy/index.d.ts",
|
|
118
|
+
"default": "./fesm2022/taiga-ui-kit-components-copy.mjs"
|
|
119
|
+
},
|
|
116
120
|
"./components/data-list-wrapper": {
|
|
117
121
|
"types": "./components/data-list-wrapper/index.d.ts",
|
|
118
122
|
"default": "./fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs"
|
|
@@ -137,6 +141,10 @@
|
|
|
137
141
|
"types": "./components/floating-container/index.d.ts",
|
|
138
142
|
"default": "./fesm2022/taiga-ui-kit-components-floating-container.mjs"
|
|
139
143
|
},
|
|
144
|
+
"./components/fullscreen": {
|
|
145
|
+
"types": "./components/fullscreen/index.d.ts",
|
|
146
|
+
"default": "./fesm2022/taiga-ui-kit-components-fullscreen.mjs"
|
|
147
|
+
},
|
|
140
148
|
"./components/input-chip": {
|
|
141
149
|
"types": "./components/input-chip/index.d.ts",
|
|
142
150
|
"default": "./fesm2022/taiga-ui-kit-components-input-chip.mjs"
|
|
@@ -177,10 +185,6 @@
|
|
|
177
185
|
"types": "./components/input-number/index.d.ts",
|
|
178
186
|
"default": "./fesm2022/taiga-ui-kit-components-input-number.mjs"
|
|
179
187
|
},
|
|
180
|
-
"./components/input-password": {
|
|
181
|
-
"types": "./components/input-password/index.d.ts",
|
|
182
|
-
"default": "./fesm2022/taiga-ui-kit-components-input-password.mjs"
|
|
183
|
-
},
|
|
184
188
|
"./components/input-phone": {
|
|
185
189
|
"types": "./components/input-phone/index.d.ts",
|
|
186
190
|
"default": "./fesm2022/taiga-ui-kit-components-input-phone.mjs"
|
|
@@ -241,10 +245,6 @@
|
|
|
241
245
|
"types": "./components/pagination/index.d.ts",
|
|
242
246
|
"default": "./fesm2022/taiga-ui-kit-components-pagination.mjs"
|
|
243
247
|
},
|
|
244
|
-
"./components/pdf-viewer": {
|
|
245
|
-
"types": "./components/pdf-viewer/index.d.ts",
|
|
246
|
-
"default": "./fesm2022/taiga-ui-kit-components-pdf-viewer.mjs"
|
|
247
|
-
},
|
|
248
248
|
"./components/pin": {
|
|
249
249
|
"types": "./components/pin/index.d.ts",
|
|
250
250
|
"default": "./fesm2022/taiga-ui-kit-components-pin.mjs"
|
|
@@ -325,38 +325,14 @@
|
|
|
325
325
|
"types": "./components/tiles/index.d.ts",
|
|
326
326
|
"default": "./fesm2022/taiga-ui-kit-components-tiles.mjs"
|
|
327
327
|
},
|
|
328
|
+
"./components/toast": {
|
|
329
|
+
"types": "./components/toast/index.d.ts",
|
|
330
|
+
"default": "./fesm2022/taiga-ui-kit-components-toast.mjs"
|
|
331
|
+
},
|
|
328
332
|
"./components/tree": {
|
|
329
333
|
"types": "./components/tree/index.d.ts",
|
|
330
334
|
"default": "./fesm2022/taiga-ui-kit-components-tree.mjs"
|
|
331
335
|
},
|
|
332
|
-
"./pipes/emails": {
|
|
333
|
-
"types": "./pipes/emails/index.d.ts",
|
|
334
|
-
"default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
|
|
335
|
-
},
|
|
336
|
-
"./pipes/field-error": {
|
|
337
|
-
"types": "./pipes/field-error/index.d.ts",
|
|
338
|
-
"default": "./fesm2022/taiga-ui-kit-pipes-field-error.mjs"
|
|
339
|
-
},
|
|
340
|
-
"./pipes/filter-by-input": {
|
|
341
|
-
"types": "./pipes/filter-by-input/index.d.ts",
|
|
342
|
-
"default": "./fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs"
|
|
343
|
-
},
|
|
344
|
-
"./pipes/hide-selected": {
|
|
345
|
-
"types": "./pipes/hide-selected/index.d.ts",
|
|
346
|
-
"default": "./fesm2022/taiga-ui-kit-pipes-hide-selected.mjs"
|
|
347
|
-
},
|
|
348
|
-
"./pipes/sort-countries": {
|
|
349
|
-
"types": "./pipes/sort-countries/index.d.ts",
|
|
350
|
-
"default": "./fesm2022/taiga-ui-kit-pipes-sort-countries.mjs"
|
|
351
|
-
},
|
|
352
|
-
"./pipes/stringify": {
|
|
353
|
-
"types": "./pipes/stringify/index.d.ts",
|
|
354
|
-
"default": "./fesm2022/taiga-ui-kit-pipes-stringify.mjs"
|
|
355
|
-
},
|
|
356
|
-
"./pipes/stringify-content": {
|
|
357
|
-
"types": "./pipes/stringify-content/index.d.ts",
|
|
358
|
-
"default": "./fesm2022/taiga-ui-kit-pipes-stringify-content.mjs"
|
|
359
|
-
},
|
|
360
336
|
"./directives/button-close": {
|
|
361
337
|
"types": "./directives/button-close/index.d.ts",
|
|
362
338
|
"default": "./fesm2022/taiga-ui-kit-directives-button-close.mjs"
|
|
@@ -365,6 +341,10 @@
|
|
|
365
341
|
"types": "./directives/button-group/index.d.ts",
|
|
366
342
|
"default": "./fesm2022/taiga-ui-kit-directives-button-group.mjs"
|
|
367
343
|
},
|
|
344
|
+
"./directives/connected": {
|
|
345
|
+
"types": "./directives/connected/index.d.ts",
|
|
346
|
+
"default": "./fesm2022/taiga-ui-kit-directives-connected.mjs"
|
|
347
|
+
},
|
|
368
348
|
"./directives/button-select": {
|
|
369
349
|
"types": "./directives/button-select/index.d.ts",
|
|
370
350
|
"default": "./fesm2022/taiga-ui-kit-directives-button-select.mjs"
|
|
@@ -373,14 +353,6 @@
|
|
|
373
353
|
"types": "./directives/chevron/index.d.ts",
|
|
374
354
|
"default": "./fesm2022/taiga-ui-kit-directives-chevron.mjs"
|
|
375
355
|
},
|
|
376
|
-
"./directives/connected": {
|
|
377
|
-
"types": "./directives/connected/index.d.ts",
|
|
378
|
-
"default": "./fesm2022/taiga-ui-kit-directives-connected.mjs"
|
|
379
|
-
},
|
|
380
|
-
"./directives/copy": {
|
|
381
|
-
"types": "./directives/copy/index.d.ts",
|
|
382
|
-
"default": "./fesm2022/taiga-ui-kit-directives-copy.mjs"
|
|
383
|
-
},
|
|
384
356
|
"./directives/data-list-dropdown-manager": {
|
|
385
357
|
"types": "./directives/data-list-dropdown-manager/index.d.ts",
|
|
386
358
|
"default": "./fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs"
|
|
@@ -405,10 +377,6 @@
|
|
|
405
377
|
"types": "./directives/password/index.d.ts",
|
|
406
378
|
"default": "./fesm2022/taiga-ui-kit-directives-password.mjs"
|
|
407
379
|
},
|
|
408
|
-
"./directives/present": {
|
|
409
|
-
"types": "./directives/present/index.d.ts",
|
|
410
|
-
"default": "./fesm2022/taiga-ui-kit-directives-present.mjs"
|
|
411
|
-
},
|
|
412
380
|
"./directives/sensitive": {
|
|
413
381
|
"types": "./directives/sensitive/index.d.ts",
|
|
414
382
|
"default": "./fesm2022/taiga-ui-kit-directives-sensitive.mjs"
|
|
@@ -421,6 +389,10 @@
|
|
|
421
389
|
"types": "./directives/skeleton/index.d.ts",
|
|
422
390
|
"default": "./fesm2022/taiga-ui-kit-directives-skeleton.mjs"
|
|
423
391
|
},
|
|
392
|
+
"./directives/present": {
|
|
393
|
+
"types": "./directives/present/index.d.ts",
|
|
394
|
+
"default": "./fesm2022/taiga-ui-kit-directives-present.mjs"
|
|
395
|
+
},
|
|
424
396
|
"./directives/tooltip": {
|
|
425
397
|
"types": "./directives/tooltip/index.d.ts",
|
|
426
398
|
"default": "./fesm2022/taiga-ui-kit-directives-tooltip.mjs"
|
|
@@ -433,6 +405,30 @@
|
|
|
433
405
|
"types": "./directives/unmask-handler/index.d.ts",
|
|
434
406
|
"default": "./fesm2022/taiga-ui-kit-directives-unmask-handler.mjs"
|
|
435
407
|
},
|
|
408
|
+
"./pipes/emails": {
|
|
409
|
+
"types": "./pipes/emails/index.d.ts",
|
|
410
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
|
|
411
|
+
},
|
|
412
|
+
"./pipes/filter-by-input": {
|
|
413
|
+
"types": "./pipes/filter-by-input/index.d.ts",
|
|
414
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs"
|
|
415
|
+
},
|
|
416
|
+
"./pipes/hide-selected": {
|
|
417
|
+
"types": "./pipes/hide-selected/index.d.ts",
|
|
418
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-hide-selected.mjs"
|
|
419
|
+
},
|
|
420
|
+
"./pipes/sort-countries": {
|
|
421
|
+
"types": "./pipes/sort-countries/index.d.ts",
|
|
422
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-sort-countries.mjs"
|
|
423
|
+
},
|
|
424
|
+
"./pipes/stringify": {
|
|
425
|
+
"types": "./pipes/stringify/index.d.ts",
|
|
426
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-stringify.mjs"
|
|
427
|
+
},
|
|
428
|
+
"./pipes/stringify-content": {
|
|
429
|
+
"types": "./pipes/stringify-content/index.d.ts",
|
|
430
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-stringify-content.mjs"
|
|
431
|
+
},
|
|
436
432
|
"./components/preview/dialog": {
|
|
437
433
|
"types": "./components/preview/dialog/index.d.ts",
|
|
438
434
|
"default": "./fesm2022/taiga-ui-kit-components-preview-dialog.mjs"
|
|
@@ -443,16 +439,17 @@
|
|
|
443
439
|
"@angular/core": ">=19.0.0",
|
|
444
440
|
"@angular/forms": ">=19.0.0",
|
|
445
441
|
"@angular/router": ">=19.0.0",
|
|
446
|
-
"@maskito/angular": "^3.
|
|
447
|
-
"@maskito/core": "^3.
|
|
448
|
-
"@maskito/kit": "^3.
|
|
449
|
-
"@maskito/phone": "^3.
|
|
450
|
-
"@ng-web-apis/common": "^4.12.
|
|
451
|
-
"@ng-web-apis/intersection-observer": "^4.12.
|
|
452
|
-
"@ng-web-apis/mutation-observer": "^4.12.
|
|
453
|
-
"@ng-web-apis/resize-observer": "^4.12.
|
|
442
|
+
"@maskito/angular": "^3.11.1",
|
|
443
|
+
"@maskito/core": "^3.11.1",
|
|
444
|
+
"@maskito/kit": "^3.11.1",
|
|
445
|
+
"@maskito/phone": "^3.11.1",
|
|
446
|
+
"@ng-web-apis/common": "^4.12.2",
|
|
447
|
+
"@ng-web-apis/intersection-observer": "^4.12.2",
|
|
448
|
+
"@ng-web-apis/mutation-observer": "^4.12.2",
|
|
449
|
+
"@ng-web-apis/resize-observer": "^4.12.2",
|
|
454
450
|
"@taiga-ui/cdk": "^4.52.0",
|
|
455
451
|
"@taiga-ui/core": "^4.52.0",
|
|
452
|
+
"@taiga-ui/design-tokens": "~0.257.0",
|
|
456
453
|
"@taiga-ui/i18n": "^4.52.0",
|
|
457
454
|
"@taiga-ui/polymorpheus": "^4.9.0",
|
|
458
455
|
"rxjs": ">=7.0.0"
|
package/pipes/index.d.ts
CHANGED
|
@@ -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-text-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-text-ui-xs);
|
|
64
|
+
font-size: 0.5625rem;
|
|
65
|
+
|
|
66
|
+
&._initials::before {
|
|
67
|
+
font: var(--tui-font-text-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-text-ui-xs);
|
|
77
|
+
font-weight: bold;
|
|
78
|
+
|
|
79
|
+
&._initials::before {
|
|
80
|
+
font: var(--tui-font-text-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-text-ui-m);
|
|
90
|
+
font-weight: bold;
|
|
91
|
+
|
|
92
|
+
&._initials::before {
|
|
93
|
+
font: var(--tui-font-text-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-4);
|
|
103
|
+
|
|
104
|
+
&._initials::before {
|
|
105
|
+
font: var(--tui-font-heading-3);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&[data-size='xxl'] {
|
|
110
|
+
--t-size: 6rem;
|
|
111
|
+
--t-radius: 1rem;
|
|
112
|
+
|
|
113
|
+
font: var(--tui-font-heading-3);
|
|
114
|
+
|
|
115
|
+
&._initials::before {
|
|
116
|
+
font: var(--tui-font-heading-3);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&[data-size='xxxl'] {
|
|
121
|
+
--t-size: 8rem;
|
|
122
|
+
--t-radius: 1.25rem;
|
|
123
|
+
|
|
124
|
+
font: var(--tui-font-heading-3);
|
|
125
|
+
|
|
126
|
+
&._initials::before {
|
|
127
|
+
font: var(--tui-font-heading-2);
|
|
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-6);
|
|
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
|
+
}
|
|
@@ -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'] {
|
|
@@ -32,6 +32,7 @@ tui-chip,
|
|
|
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;
|
|
@@ -115,8 +116,6 @@ tui-chip,
|
|
|
115
116
|
}
|
|
116
117
|
}
|
|
117
118
|
|
|
118
|
-
&[tuiAppearance][data-appearance='error'], /* TODO @deprecated remove in v5 */
|
|
119
|
-
&[tuiAppearance][data-appearance='success'], /* TODO @deprecated remove in v5 */
|
|
120
119
|
&[tuiAppearance][data-appearance='negative'],
|
|
121
120
|
&[tuiAppearance][data-appearance='positive'],
|
|
122
121
|
&[tuiAppearance][data-appearance='warning'],
|
|
@@ -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
|
|
|
@@ -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;
|
|
@@ -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
|
|
|
@@ -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
|
|
@@ -63,13 +63,12 @@
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
&:disabled._readonly {
|
|
66
|
+
&:disabled._readonly._readonly {
|
|
67
67
|
opacity: 1;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
&::before,
|
|
71
71
|
&::after {
|
|
72
|
-
content: '';
|
|
73
72
|
position: absolute;
|
|
74
73
|
block-size: 100%;
|
|
75
74
|
inline-size: 1.5rem;
|
|
@@ -77,10 +76,6 @@
|
|
|
77
76
|
}
|
|
78
77
|
|
|
79
78
|
&::before {
|
|
80
|
-
display: var(--t-checked-icon, none);
|
|
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;
|
|
84
79
|
font-size: 1rem;
|
|
85
80
|
inline-size: 1.375rem;
|
|
86
81
|
transform: translateX(-1.5rem);
|
|
@@ -88,11 +83,16 @@
|
|
|
88
83
|
|
|
89
84
|
&::after {
|
|
90
85
|
right: 0;
|
|
86
|
+
display: block;
|
|
91
87
|
border-radius: 100%;
|
|
88
|
+
background: none;
|
|
92
89
|
transform: scale(0.33333);
|
|
93
90
|
box-shadow: -4.5rem 0 0 0.75rem var(--tui-background-base);
|
|
94
91
|
outline: 0.375rem solid var(--tui-background-neutral-2-pressed);
|
|
95
|
-
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:not([data-icon-start])::after {
|
|
95
|
+
outline-offset: 20rem;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
&:invalid:not([data-mode]),
|