@taiga-ui/core 4.51.0 → 4.52.0-canary.34c26c6
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/classes/driver.d.ts +1 -1
- package/components/button/button.directive.d.ts +0 -1
- package/components/button/button.options.d.ts +1 -1
- package/components/calendar/calendar-sheet.component.d.ts +1 -6
- package/components/icon/icon.component.d.ts +5 -2
- package/components/notification/notification.options.d.ts +1 -1
- package/components/scrollbar/scrollbar.options.d.ts +1 -1
- package/components/textfield/textfield-multi/textfield-multi.component.d.ts +2 -3
- package/components/textfield/textfield.component.d.ts +5 -4
- package/directives/dropdown/dropdown-context.directive.d.ts +2 -0
- package/directives/icons/icons.directive.d.ts +4 -2
- package/fesm2022/taiga-ui-core-animations.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-classes.mjs +3 -3
- package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-alert.mjs +15 -16
- package/fesm2022/taiga-ui-core-components-alert.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-button.mjs +8 -9
- package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-calendar.mjs +19 -18
- package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-data-list.mjs +25 -25
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-dialog.mjs +20 -20
- package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-error.mjs +4 -4
- package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-expand.mjs +7 -7
- package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-fullscreen.mjs +6 -13
- package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-icon.mjs +26 -17
- package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-label.mjs +8 -8
- package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-link.mjs +8 -8
- package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-loader.mjs +4 -4
- package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-notification.mjs +7 -7
- package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +6 -7
- package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs +25 -25
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-spin-button.mjs +4 -4
- package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +60 -55
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-appearance.mjs +10 -10
- package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-date-format.mjs +5 -5
- package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs +72 -70
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-group.mjs +8 -8
- package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-hint.mjs +55 -55
- package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-icons.mjs +27 -17
- package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +11 -11
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-number-format.mjs +5 -5
- package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-popup.mjs +10 -10
- package/fesm2022/taiga-ui-core-directives-popup.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-surface.mjs +8 -8
- package/fesm2022/taiga-ui-core-directives-surface.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-title.mjs +7 -7
- package/fesm2022/taiga-ui-core-directives-title.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +3 -3
- package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +3 -3
- package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs +3 -3
- package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-flag.mjs +3 -3
- package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-format-date.mjs +3 -3
- package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-format-number.mjs +3 -3
- package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-initials.mjs +3 -3
- package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-month.mjs +3 -3
- package/fesm2022/taiga-ui-core-pipes-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +3 -3
- package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-services.mjs +18 -18
- package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-tokens.mjs +28 -6
- package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-utils-dom.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
- package/package.json +10 -110
- package/styles/components/icon.less +18 -3
- package/styles/components/icons.less +40 -6
- package/tokens/icon-resolver.d.ts +1 -0
- package/esm2022/animations/animations.mjs +0 -363
- package/esm2022/animations/index.mjs +0 -2
- package/esm2022/animations/taiga-ui-core-animations.mjs +0 -5
- package/esm2022/classes/accessors.mjs +0 -31
- package/esm2022/classes/driver.mjs +0 -36
- package/esm2022/classes/index.mjs +0 -4
- package/esm2022/classes/taiga-ui-core-classes.mjs +0 -5
- package/esm2022/classes/vehicle.mjs +0 -7
- package/esm2022/components/alert/alert.component.mjs +0 -43
- package/esm2022/components/alert/alert.directive.mjs +0 -21
- package/esm2022/components/alert/alert.interfaces.mjs +0 -2
- package/esm2022/components/alert/alert.service.mjs +0 -18
- package/esm2022/components/alert/alert.tokens.mjs +0 -51
- package/esm2022/components/alert/alerts.component.mjs +0 -34
- package/esm2022/components/alert/index.mjs +0 -6
- package/esm2022/components/alert/taiga-ui-core-components-alert.mjs +0 -5
- package/esm2022/components/button/button.directive.mjs +0 -43
- package/esm2022/components/button/button.options.mjs +0 -7
- package/esm2022/components/button/index.mjs +0 -3
- package/esm2022/components/button/taiga-ui-core-components-button.mjs +0 -5
- package/esm2022/components/calendar/calendar-sheet.component.mjs +0 -167
- package/esm2022/components/calendar/calendar-sheet.options.mjs +0 -12
- package/esm2022/components/calendar/calendar-spin.component.mjs +0 -53
- package/esm2022/components/calendar/calendar-year.component.mjs +0 -128
- package/esm2022/components/calendar/calendar.component.mjs +0 -147
- package/esm2022/components/calendar/index.mjs +0 -6
- package/esm2022/components/calendar/taiga-ui-core-components-calendar.mjs +0 -5
- package/esm2022/components/data-list/data-list.component.mjs +0 -139
- package/esm2022/components/data-list/data-list.directive.mjs +0 -19
- package/esm2022/components/data-list/data-list.mjs +0 -14
- package/esm2022/components/data-list/data-list.tokens.mjs +0 -18
- package/esm2022/components/data-list/index.mjs +0 -9
- package/esm2022/components/data-list/opt-group.directive.mjs +0 -21
- package/esm2022/components/data-list/option/option-content.mjs +0 -36
- package/esm2022/components/data-list/option/option-legacy.component.mjs +0 -90
- package/esm2022/components/data-list/option/option.directive.mjs +0 -109
- package/esm2022/components/data-list/taiga-ui-core-components-data-list.mjs +0 -5
- package/esm2022/components/dialog/dialog-close.service.mjs +0 -41
- package/esm2022/components/dialog/dialog.component.mjs +0 -63
- package/esm2022/components/dialog/dialog.directive.mjs +0 -21
- package/esm2022/components/dialog/dialog.factory.mjs +0 -15
- package/esm2022/components/dialog/dialog.interfaces.mjs +0 -2
- package/esm2022/components/dialog/dialog.service.mjs +0 -18
- package/esm2022/components/dialog/dialog.tokens.mjs +0 -33
- package/esm2022/components/dialog/dialogs.component.mjs +0 -29
- package/esm2022/components/dialog/index.mjs +0 -8
- package/esm2022/components/dialog/taiga-ui-core-components-dialog.mjs +0 -5
- package/esm2022/components/error/error.component.mjs +0 -34
- package/esm2022/components/error/index.mjs +0 -2
- package/esm2022/components/error/taiga-ui-core-components-error.mjs +0 -5
- package/esm2022/components/expand/expand-content.directive.mjs +0 -18
- package/esm2022/components/expand/expand.component.mjs +0 -124
- package/esm2022/components/expand/expand.mjs +0 -7
- package/esm2022/components/expand/index.mjs +0 -4
- package/esm2022/components/expand/taiga-ui-core-components-expand.mjs +0 -5
- package/esm2022/components/fullscreen/fullscreen.component.mjs +0 -67
- package/esm2022/components/fullscreen/index.mjs +0 -2
- package/esm2022/components/fullscreen/taiga-ui-core-components-fullscreen.mjs +0 -5
- package/esm2022/components/icon/icon.component.mjs +0 -35
- package/esm2022/components/icon/icon.pipe.mjs +0 -19
- package/esm2022/components/icon/index.mjs +0 -3
- package/esm2022/components/icon/taiga-ui-core-components-icon.mjs +0 -5
- package/esm2022/components/index.mjs +0 -18
- package/esm2022/components/label/index.mjs +0 -2
- package/esm2022/components/label/label.directive.mjs +0 -41
- package/esm2022/components/label/taiga-ui-core-components-label.mjs +0 -5
- package/esm2022/components/link/index.mjs +0 -3
- package/esm2022/components/link/link.directive.mjs +0 -47
- package/esm2022/components/link/link.options.mjs +0 -13
- package/esm2022/components/link/taiga-ui-core-components-link.mjs +0 -5
- package/esm2022/components/loader/index.mjs +0 -3
- package/esm2022/components/loader/loader.component.mjs +0 -46
- package/esm2022/components/loader/loader.options.mjs +0 -18
- package/esm2022/components/loader/taiga-ui-core-components-loader.mjs +0 -5
- package/esm2022/components/notification/index.mjs +0 -3
- package/esm2022/components/notification/notification.directive.mjs +0 -81
- package/esm2022/components/notification/notification.options.mjs +0 -23
- package/esm2022/components/notification/taiga-ui-core-components-notification.mjs +0 -5
- package/esm2022/components/root/index.mjs +0 -2
- package/esm2022/components/root/root.component.mjs +0 -85
- package/esm2022/components/root/taiga-ui-core-components-root.mjs +0 -5
- package/esm2022/components/scrollbar/index.mjs +0 -9
- package/esm2022/components/scrollbar/scroll-controls.component.mjs +0 -32
- package/esm2022/components/scrollbar/scroll-into-view.directive.mjs +0 -43
- package/esm2022/components/scrollbar/scroll-ref.directive.mjs +0 -19
- package/esm2022/components/scrollbar/scrollable.directive.mjs +0 -26
- package/esm2022/components/scrollbar/scrollbar.component.mjs +0 -72
- package/esm2022/components/scrollbar/scrollbar.directive.mjs +0 -93
- package/esm2022/components/scrollbar/scrollbar.options.mjs +0 -6
- package/esm2022/components/scrollbar/scrollbar.service.mjs +0 -46
- package/esm2022/components/scrollbar/taiga-ui-core-components-scrollbar.mjs +0 -5
- package/esm2022/components/spin-button/index.mjs +0 -2
- package/esm2022/components/spin-button/spin-button.component.mjs +0 -51
- package/esm2022/components/spin-button/taiga-ui-core-components-spin-button.mjs +0 -5
- package/esm2022/components/taiga-ui-core-components.mjs +0 -5
- package/esm2022/components/textfield/index.mjs +0 -16
- package/esm2022/components/textfield/select-like.directive.mjs +0 -42
- package/esm2022/components/textfield/select.directive.mjs +0 -65
- package/esm2022/components/textfield/taiga-ui-core-components-textfield.mjs +0 -5
- package/esm2022/components/textfield/textfield-accessor.mjs +0 -7
- package/esm2022/components/textfield/textfield-auxiliary.mjs +0 -7
- package/esm2022/components/textfield/textfield-content.directive.mjs +0 -22
- package/esm2022/components/textfield/textfield-dropdown.directive.mjs +0 -43
- package/esm2022/components/textfield/textfield-icon.mjs +0 -10
- package/esm2022/components/textfield/textfield-multi/textfield-item.component.mjs +0 -34
- package/esm2022/components/textfield/textfield-multi/textfield-multi.component.mjs +0 -137
- package/esm2022/components/textfield/textfield.component.mjs +0 -177
- package/esm2022/components/textfield/textfield.directive.mjs +0 -131
- package/esm2022/components/textfield/textfield.mjs +0 -19
- package/esm2022/components/textfield/textfield.options.mjs +0 -63
- package/esm2022/components/textfield/with-native-picker.directive.mjs +0 -24
- package/esm2022/directives/appearance/appearance.bindings.mjs +0 -15
- package/esm2022/directives/appearance/appearance.directive.mjs +0 -79
- package/esm2022/directives/appearance/appearance.options.mjs +0 -12
- package/esm2022/directives/appearance/index.mjs +0 -5
- package/esm2022/directives/appearance/taiga-ui-core-directives-appearance.mjs +0 -5
- package/esm2022/directives/appearance/with-appearance.mjs +0 -27
- package/esm2022/directives/date-format/date-format.directive.mjs +0 -31
- package/esm2022/directives/date-format/index.mjs +0 -2
- package/esm2022/directives/date-format/taiga-ui-core-directives-date-format.mjs +0 -5
- package/esm2022/directives/dropdown/dropdown-context.directive.mjs +0 -70
- package/esm2022/directives/dropdown/dropdown-hover.directive.mjs +0 -70
- package/esm2022/directives/dropdown/dropdown-hover.options.mjs +0 -17
- package/esm2022/directives/dropdown/dropdown-limit-width.mjs +0 -37
- package/esm2022/directives/dropdown/dropdown-manual.directive.mjs +0 -27
- package/esm2022/directives/dropdown/dropdown-open-legacy.directive.mjs +0 -33
- package/esm2022/directives/dropdown/dropdown-open.directive.mjs +0 -169
- package/esm2022/directives/dropdown/dropdown-options.directive.mjs +0 -73
- package/esm2022/directives/dropdown/dropdown-portal.directive.mjs +0 -34
- package/esm2022/directives/dropdown/dropdown-position-sided.directive.mjs +0 -69
- package/esm2022/directives/dropdown/dropdown-position.directive.mjs +0 -88
- package/esm2022/directives/dropdown/dropdown-selection.directive.mjs +0 -159
- package/esm2022/directives/dropdown/dropdown.bindings.mjs +0 -19
- package/esm2022/directives/dropdown/dropdown.component.mjs +0 -92
- package/esm2022/directives/dropdown/dropdown.directive.mjs +0 -110
- package/esm2022/directives/dropdown/dropdown.driver.mjs +0 -32
- package/esm2022/directives/dropdown/dropdown.mjs +0 -29
- package/esm2022/directives/dropdown/dropdown.providers.mjs +0 -10
- package/esm2022/directives/dropdown/dropdown.service.mjs +0 -15
- package/esm2022/directives/dropdown/dropdowns.component.mjs +0 -24
- package/esm2022/directives/dropdown/index.mjs +0 -22
- package/esm2022/directives/dropdown/taiga-ui-core-directives-dropdown.mjs +0 -5
- package/esm2022/directives/dropdown/with-dropdown-open.directive.mjs +0 -23
- package/esm2022/directives/group/group.directive.mjs +0 -53
- package/esm2022/directives/group/group.options.mjs +0 -15
- package/esm2022/directives/group/index.mjs +0 -3
- package/esm2022/directives/group/taiga-ui-core-directives-group.mjs +0 -5
- package/esm2022/directives/hint/hint-describe.directive.mjs +0 -50
- package/esm2022/directives/hint/hint-driver.directive.mjs +0 -19
- package/esm2022/directives/hint/hint-host.directive.mjs +0 -27
- package/esm2022/directives/hint/hint-hover.directive.mjs +0 -59
- package/esm2022/directives/hint/hint-manual.directive.mjs +0 -33
- package/esm2022/directives/hint/hint-options.directive.mjs +0 -86
- package/esm2022/directives/hint/hint-overflow.directive.mjs +0 -38
- package/esm2022/directives/hint/hint-pointer.directive.mjs +0 -33
- package/esm2022/directives/hint/hint-position.directive.mjs +0 -112
- package/esm2022/directives/hint/hint-unstyled.component.mjs +0 -39
- package/esm2022/directives/hint/hint.component.mjs +0 -127
- package/esm2022/directives/hint/hint.directive.mjs +0 -99
- package/esm2022/directives/hint/hint.mjs +0 -27
- package/esm2022/directives/hint/hint.providers.mjs +0 -9
- package/esm2022/directives/hint/hint.service.mjs +0 -29
- package/esm2022/directives/hint/hints.component.mjs +0 -34
- package/esm2022/directives/hint/index.mjs +0 -17
- package/esm2022/directives/hint/taiga-ui-core-directives-hint.mjs +0 -5
- package/esm2022/directives/icons/icons.directive.mjs +0 -56
- package/esm2022/directives/icons/index.mjs +0 -3
- package/esm2022/directives/icons/taiga-ui-core-directives-icons.mjs +0 -5
- package/esm2022/directives/icons/with-icons.mjs +0 -22
- package/esm2022/directives/index.mjs +0 -12
- package/esm2022/directives/items-handlers/index.mjs +0 -4
- package/esm2022/directives/items-handlers/items-handlers.directive.mjs +0 -63
- package/esm2022/directives/items-handlers/items-handlers.tokens.mjs +0 -27
- package/esm2022/directives/items-handlers/items-handlers.validator.mjs +0 -32
- package/esm2022/directives/items-handlers/taiga-ui-core-directives-items-handlers.mjs +0 -5
- package/esm2022/directives/number-format/index.mjs +0 -2
- package/esm2022/directives/number-format/number-format.directive.mjs +0 -31
- package/esm2022/directives/number-format/taiga-ui-core-directives-number-format.mjs +0 -5
- package/esm2022/directives/popup/index.mjs +0 -4
- package/esm2022/directives/popup/popup.directive.mjs +0 -31
- package/esm2022/directives/popup/popup.service.mjs +0 -15
- package/esm2022/directives/popup/popups.component.mjs +0 -20
- package/esm2022/directives/popup/taiga-ui-core-directives-popup.mjs +0 -5
- package/esm2022/directives/surface/index.mjs +0 -2
- package/esm2022/directives/surface/surface.directive.mjs +0 -44
- package/esm2022/directives/surface/taiga-ui-core-directives-surface.mjs +0 -5
- package/esm2022/directives/taiga-ui-core-directives.mjs +0 -5
- package/esm2022/directives/title/index.mjs +0 -2
- package/esm2022/directives/title/taiga-ui-core-directives-title.mjs +0 -5
- package/esm2022/directives/title/title.directive.mjs +0 -37
- package/esm2022/index.mjs +0 -9
- package/esm2022/pipes/auto-color/auto-color.pipe.mjs +0 -19
- package/esm2022/pipes/auto-color/index.mjs +0 -2
- package/esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs +0 -5
- package/esm2022/pipes/calendar-sheet/calendar-sheet.pipe.mjs +0 -54
- package/esm2022/pipes/calendar-sheet/index.mjs +0 -2
- package/esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs +0 -5
- package/esm2022/pipes/calendar-sheet/utils.mjs +0 -36
- package/esm2022/pipes/fallback-src/fallback-src.pipe.mjs +0 -23
- package/esm2022/pipes/fallback-src/index.mjs +0 -2
- package/esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs +0 -5
- package/esm2022/pipes/flag/flag.pipe.mjs +0 -26
- package/esm2022/pipes/flag/index.mjs +0 -2
- package/esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs +0 -5
- package/esm2022/pipes/format-date/format-date.pipe.mjs +0 -22
- package/esm2022/pipes/format-date/index.mjs +0 -2
- package/esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs +0 -5
- package/esm2022/pipes/format-number/format-number.pipe.mjs +0 -36
- package/esm2022/pipes/format-number/index.mjs +0 -2
- package/esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs +0 -5
- package/esm2022/pipes/index.mjs +0 -10
- package/esm2022/pipes/initials/index.mjs +0 -2
- package/esm2022/pipes/initials/initials.pipe.mjs +0 -23
- package/esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs +0 -5
- package/esm2022/pipes/month/index.mjs +0 -2
- package/esm2022/pipes/month/month.pipe.mjs +0 -23
- package/esm2022/pipes/month/taiga-ui-core-pipes-month.mjs +0 -5
- package/esm2022/pipes/order-week-days/index.mjs +0 -2
- package/esm2022/pipes/order-week-days/order-week-days.pipe.mjs +0 -30
- package/esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs +0 -5
- package/esm2022/pipes/taiga-ui-core-pipes.mjs +0 -5
- package/esm2022/services/breakpoint.service.mjs +0 -31
- package/esm2022/services/dark-theme.service.mjs +0 -24
- package/esm2022/services/format-date.service.mjs +0 -24
- package/esm2022/services/index.mjs +0 -6
- package/esm2022/services/position.service.mjs +0 -26
- package/esm2022/services/taiga-ui-core-services.mjs +0 -5
- package/esm2022/services/visual-viewport.service.mjs +0 -29
- package/esm2022/taiga-ui-core.mjs +0 -5
- package/esm2022/tokens/animations-speed.mjs +0 -9
- package/esm2022/tokens/assets-path.mjs +0 -11
- package/esm2022/tokens/auxiliary.mjs +0 -9
- package/esm2022/tokens/common-icons.mjs +0 -18
- package/esm2022/tokens/dark-mode.mjs +0 -41
- package/esm2022/tokens/date-format.mjs +0 -20
- package/esm2022/tokens/day-type-handler.mjs +0 -8
- package/esm2022/tokens/first-day-of-week.mjs +0 -9
- package/esm2022/tokens/i18n.mjs +0 -45
- package/esm2022/tokens/icon-resolver.mjs +0 -22
- package/esm2022/tokens/icon.mjs +0 -8
- package/esm2022/tokens/icons.mjs +0 -21
- package/esm2022/tokens/index.mjs +0 -21
- package/esm2022/tokens/media.mjs +0 -12
- package/esm2022/tokens/number-format.mjs +0 -24
- package/esm2022/tokens/reduced-motion.mjs +0 -7
- package/esm2022/tokens/scroll-ref.mjs +0 -6
- package/esm2022/tokens/selection-stream.mjs +0 -14
- package/esm2022/tokens/spin-icons.mjs +0 -8
- package/esm2022/tokens/taiga-ui-core-tokens.mjs +0 -5
- package/esm2022/tokens/theme.mjs +0 -5
- package/esm2022/tokens/viewport.mjs +0 -35
- package/esm2022/types/direction.mjs +0 -2
- package/esm2022/types/index.mjs +0 -2
- package/esm2022/types/interactive-state.mjs +0 -2
- package/esm2022/types/orientation.mjs +0 -2
- package/esm2022/types/point.mjs +0 -2
- package/esm2022/types/portal-item.mjs +0 -2
- package/esm2022/types/range-state.mjs +0 -2
- package/esm2022/types/size.mjs +0 -13
- package/esm2022/types/taiga-ui-core-types.mjs +0 -5
- package/esm2022/types/value-content-context.mjs +0 -2
- package/esm2022/utils/dom/check-fixed-position.mjs +0 -9
- package/esm2022/utils/dom/get-viewport.mjs +0 -24
- package/esm2022/utils/dom/get-word-range.mjs +0 -51
- package/esm2022/utils/dom/index.mjs +0 -4
- package/esm2022/utils/dom/taiga-ui-core-utils-dom.mjs +0 -5
- package/esm2022/utils/format/format-number.mjs +0 -47
- package/esm2022/utils/format/get-fractional-part-padded.mjs +0 -16
- package/esm2022/utils/format/index.mjs +0 -5
- package/esm2022/utils/format/number-to-string-without-exp.mjs +0 -18
- package/esm2022/utils/format/string-hash-to-hsl.mjs +0 -21
- package/esm2022/utils/format/taiga-ui-core-utils-format.mjs +0 -5
- package/esm2022/utils/index.mjs +0 -4
- package/esm2022/utils/miscellaneous/font-scaling.mjs +0 -11
- package/esm2022/utils/miscellaneous/index.mjs +0 -7
- package/esm2022/utils/miscellaneous/is-editing-key.mjs +0 -18
- package/esm2022/utils/miscellaneous/is-obscured.mjs +0 -8
- package/esm2022/utils/miscellaneous/override-options.mjs +0 -11
- package/esm2022/utils/miscellaneous/size-bigger.mjs +0 -19
- package/esm2022/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs +0 -5
- package/esm2022/utils/miscellaneous/to-animation-options.mjs +0 -16
- package/esm2022/utils/taiga-ui-core-utils.mjs +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.52.0-canary.34c26c6",
|
|
4
4
|
"description": "Core library for creating Angular components and applications using Taiga UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -21,317 +21,217 @@
|
|
|
21
21
|
},
|
|
22
22
|
".": {
|
|
23
23
|
"types": "./index.d.ts",
|
|
24
|
-
"esm2022": "./esm2022/taiga-ui-core.mjs",
|
|
25
|
-
"esm": "./esm2022/taiga-ui-core.mjs",
|
|
26
24
|
"default": "./fesm2022/taiga-ui-core.mjs"
|
|
27
25
|
},
|
|
28
26
|
"./animations": {
|
|
29
27
|
"types": "./animations/index.d.ts",
|
|
30
|
-
"esm2022": "./esm2022/animations/taiga-ui-core-animations.mjs",
|
|
31
|
-
"esm": "./esm2022/animations/taiga-ui-core-animations.mjs",
|
|
32
28
|
"default": "./fesm2022/taiga-ui-core-animations.mjs"
|
|
33
29
|
},
|
|
34
30
|
"./classes": {
|
|
35
31
|
"types": "./classes/index.d.ts",
|
|
36
|
-
"esm2022": "./esm2022/classes/taiga-ui-core-classes.mjs",
|
|
37
|
-
"esm": "./esm2022/classes/taiga-ui-core-classes.mjs",
|
|
38
32
|
"default": "./fesm2022/taiga-ui-core-classes.mjs"
|
|
39
33
|
},
|
|
40
34
|
"./components": {
|
|
41
35
|
"types": "./components/index.d.ts",
|
|
42
|
-
"esm2022": "./esm2022/components/taiga-ui-core-components.mjs",
|
|
43
|
-
"esm": "./esm2022/components/taiga-ui-core-components.mjs",
|
|
44
36
|
"default": "./fesm2022/taiga-ui-core-components.mjs"
|
|
45
37
|
},
|
|
46
38
|
"./directives": {
|
|
47
39
|
"types": "./directives/index.d.ts",
|
|
48
|
-
"esm2022": "./esm2022/directives/taiga-ui-core-directives.mjs",
|
|
49
|
-
"esm": "./esm2022/directives/taiga-ui-core-directives.mjs",
|
|
50
40
|
"default": "./fesm2022/taiga-ui-core-directives.mjs"
|
|
51
41
|
},
|
|
52
42
|
"./pipes": {
|
|
53
43
|
"types": "./pipes/index.d.ts",
|
|
54
|
-
"esm2022": "./esm2022/pipes/taiga-ui-core-pipes.mjs",
|
|
55
|
-
"esm": "./esm2022/pipes/taiga-ui-core-pipes.mjs",
|
|
56
44
|
"default": "./fesm2022/taiga-ui-core-pipes.mjs"
|
|
57
45
|
},
|
|
58
46
|
"./services": {
|
|
59
47
|
"types": "./services/index.d.ts",
|
|
60
|
-
"esm2022": "./esm2022/services/taiga-ui-core-services.mjs",
|
|
61
|
-
"esm": "./esm2022/services/taiga-ui-core-services.mjs",
|
|
62
48
|
"default": "./fesm2022/taiga-ui-core-services.mjs"
|
|
63
49
|
},
|
|
64
50
|
"./tokens": {
|
|
65
51
|
"types": "./tokens/index.d.ts",
|
|
66
|
-
"esm2022": "./esm2022/tokens/taiga-ui-core-tokens.mjs",
|
|
67
|
-
"esm": "./esm2022/tokens/taiga-ui-core-tokens.mjs",
|
|
68
52
|
"default": "./fesm2022/taiga-ui-core-tokens.mjs"
|
|
69
53
|
},
|
|
70
54
|
"./types": {
|
|
71
55
|
"types": "./types/index.d.ts",
|
|
72
|
-
"esm2022": "./esm2022/types/taiga-ui-core-types.mjs",
|
|
73
|
-
"esm": "./esm2022/types/taiga-ui-core-types.mjs",
|
|
74
56
|
"default": "./fesm2022/taiga-ui-core-types.mjs"
|
|
75
57
|
},
|
|
76
58
|
"./utils": {
|
|
77
59
|
"types": "./utils/index.d.ts",
|
|
78
|
-
"esm2022": "./esm2022/utils/taiga-ui-core-utils.mjs",
|
|
79
|
-
"esm": "./esm2022/utils/taiga-ui-core-utils.mjs",
|
|
80
60
|
"default": "./fesm2022/taiga-ui-core-utils.mjs"
|
|
81
61
|
},
|
|
82
62
|
"./components/alert": {
|
|
83
63
|
"types": "./components/alert/index.d.ts",
|
|
84
|
-
"esm2022": "./esm2022/components/alert/taiga-ui-core-components-alert.mjs",
|
|
85
|
-
"esm": "./esm2022/components/alert/taiga-ui-core-components-alert.mjs",
|
|
86
64
|
"default": "./fesm2022/taiga-ui-core-components-alert.mjs"
|
|
87
65
|
},
|
|
88
66
|
"./components/button": {
|
|
89
67
|
"types": "./components/button/index.d.ts",
|
|
90
|
-
"esm2022": "./esm2022/components/button/taiga-ui-core-components-button.mjs",
|
|
91
|
-
"esm": "./esm2022/components/button/taiga-ui-core-components-button.mjs",
|
|
92
68
|
"default": "./fesm2022/taiga-ui-core-components-button.mjs"
|
|
93
69
|
},
|
|
94
70
|
"./components/calendar": {
|
|
95
71
|
"types": "./components/calendar/index.d.ts",
|
|
96
|
-
"esm2022": "./esm2022/components/calendar/taiga-ui-core-components-calendar.mjs",
|
|
97
|
-
"esm": "./esm2022/components/calendar/taiga-ui-core-components-calendar.mjs",
|
|
98
72
|
"default": "./fesm2022/taiga-ui-core-components-calendar.mjs"
|
|
99
73
|
},
|
|
100
74
|
"./components/data-list": {
|
|
101
75
|
"types": "./components/data-list/index.d.ts",
|
|
102
|
-
"esm2022": "./esm2022/components/data-list/taiga-ui-core-components-data-list.mjs",
|
|
103
|
-
"esm": "./esm2022/components/data-list/taiga-ui-core-components-data-list.mjs",
|
|
104
76
|
"default": "./fesm2022/taiga-ui-core-components-data-list.mjs"
|
|
105
77
|
},
|
|
106
78
|
"./components/dialog": {
|
|
107
79
|
"types": "./components/dialog/index.d.ts",
|
|
108
|
-
"esm2022": "./esm2022/components/dialog/taiga-ui-core-components-dialog.mjs",
|
|
109
|
-
"esm": "./esm2022/components/dialog/taiga-ui-core-components-dialog.mjs",
|
|
110
80
|
"default": "./fesm2022/taiga-ui-core-components-dialog.mjs"
|
|
111
81
|
},
|
|
112
82
|
"./components/error": {
|
|
113
83
|
"types": "./components/error/index.d.ts",
|
|
114
|
-
"esm2022": "./esm2022/components/error/taiga-ui-core-components-error.mjs",
|
|
115
|
-
"esm": "./esm2022/components/error/taiga-ui-core-components-error.mjs",
|
|
116
84
|
"default": "./fesm2022/taiga-ui-core-components-error.mjs"
|
|
117
85
|
},
|
|
118
86
|
"./components/expand": {
|
|
119
87
|
"types": "./components/expand/index.d.ts",
|
|
120
|
-
"esm2022": "./esm2022/components/expand/taiga-ui-core-components-expand.mjs",
|
|
121
|
-
"esm": "./esm2022/components/expand/taiga-ui-core-components-expand.mjs",
|
|
122
88
|
"default": "./fesm2022/taiga-ui-core-components-expand.mjs"
|
|
123
89
|
},
|
|
124
90
|
"./components/fullscreen": {
|
|
125
91
|
"types": "./components/fullscreen/index.d.ts",
|
|
126
|
-
"esm2022": "./esm2022/components/fullscreen/taiga-ui-core-components-fullscreen.mjs",
|
|
127
|
-
"esm": "./esm2022/components/fullscreen/taiga-ui-core-components-fullscreen.mjs",
|
|
128
92
|
"default": "./fesm2022/taiga-ui-core-components-fullscreen.mjs"
|
|
129
93
|
},
|
|
130
94
|
"./components/icon": {
|
|
131
95
|
"types": "./components/icon/index.d.ts",
|
|
132
|
-
"esm2022": "./esm2022/components/icon/taiga-ui-core-components-icon.mjs",
|
|
133
|
-
"esm": "./esm2022/components/icon/taiga-ui-core-components-icon.mjs",
|
|
134
96
|
"default": "./fesm2022/taiga-ui-core-components-icon.mjs"
|
|
135
97
|
},
|
|
136
98
|
"./components/label": {
|
|
137
99
|
"types": "./components/label/index.d.ts",
|
|
138
|
-
"esm2022": "./esm2022/components/label/taiga-ui-core-components-label.mjs",
|
|
139
|
-
"esm": "./esm2022/components/label/taiga-ui-core-components-label.mjs",
|
|
140
100
|
"default": "./fesm2022/taiga-ui-core-components-label.mjs"
|
|
141
101
|
},
|
|
142
102
|
"./components/link": {
|
|
143
103
|
"types": "./components/link/index.d.ts",
|
|
144
|
-
"esm2022": "./esm2022/components/link/taiga-ui-core-components-link.mjs",
|
|
145
|
-
"esm": "./esm2022/components/link/taiga-ui-core-components-link.mjs",
|
|
146
104
|
"default": "./fesm2022/taiga-ui-core-components-link.mjs"
|
|
147
105
|
},
|
|
148
106
|
"./components/loader": {
|
|
149
107
|
"types": "./components/loader/index.d.ts",
|
|
150
|
-
"esm2022": "./esm2022/components/loader/taiga-ui-core-components-loader.mjs",
|
|
151
|
-
"esm": "./esm2022/components/loader/taiga-ui-core-components-loader.mjs",
|
|
152
108
|
"default": "./fesm2022/taiga-ui-core-components-loader.mjs"
|
|
153
109
|
},
|
|
154
110
|
"./components/notification": {
|
|
155
111
|
"types": "./components/notification/index.d.ts",
|
|
156
|
-
"esm2022": "./esm2022/components/notification/taiga-ui-core-components-notification.mjs",
|
|
157
|
-
"esm": "./esm2022/components/notification/taiga-ui-core-components-notification.mjs",
|
|
158
112
|
"default": "./fesm2022/taiga-ui-core-components-notification.mjs"
|
|
159
113
|
},
|
|
160
114
|
"./components/root": {
|
|
161
115
|
"types": "./components/root/index.d.ts",
|
|
162
|
-
"esm2022": "./esm2022/components/root/taiga-ui-core-components-root.mjs",
|
|
163
|
-
"esm": "./esm2022/components/root/taiga-ui-core-components-root.mjs",
|
|
164
116
|
"default": "./fesm2022/taiga-ui-core-components-root.mjs"
|
|
165
117
|
},
|
|
166
118
|
"./components/scrollbar": {
|
|
167
119
|
"types": "./components/scrollbar/index.d.ts",
|
|
168
|
-
"esm2022": "./esm2022/components/scrollbar/taiga-ui-core-components-scrollbar.mjs",
|
|
169
|
-
"esm": "./esm2022/components/scrollbar/taiga-ui-core-components-scrollbar.mjs",
|
|
170
120
|
"default": "./fesm2022/taiga-ui-core-components-scrollbar.mjs"
|
|
171
121
|
},
|
|
172
122
|
"./components/spin-button": {
|
|
173
123
|
"types": "./components/spin-button/index.d.ts",
|
|
174
|
-
"esm2022": "./esm2022/components/spin-button/taiga-ui-core-components-spin-button.mjs",
|
|
175
|
-
"esm": "./esm2022/components/spin-button/taiga-ui-core-components-spin-button.mjs",
|
|
176
124
|
"default": "./fesm2022/taiga-ui-core-components-spin-button.mjs"
|
|
177
125
|
},
|
|
178
126
|
"./components/textfield": {
|
|
179
127
|
"types": "./components/textfield/index.d.ts",
|
|
180
|
-
"esm2022": "./esm2022/components/textfield/taiga-ui-core-components-textfield.mjs",
|
|
181
|
-
"esm": "./esm2022/components/textfield/taiga-ui-core-components-textfield.mjs",
|
|
182
128
|
"default": "./fesm2022/taiga-ui-core-components-textfield.mjs"
|
|
183
129
|
},
|
|
184
130
|
"./directives/appearance": {
|
|
185
131
|
"types": "./directives/appearance/index.d.ts",
|
|
186
|
-
"esm2022": "./esm2022/directives/appearance/taiga-ui-core-directives-appearance.mjs",
|
|
187
|
-
"esm": "./esm2022/directives/appearance/taiga-ui-core-directives-appearance.mjs",
|
|
188
132
|
"default": "./fesm2022/taiga-ui-core-directives-appearance.mjs"
|
|
189
133
|
},
|
|
190
134
|
"./directives/date-format": {
|
|
191
135
|
"types": "./directives/date-format/index.d.ts",
|
|
192
|
-
"esm2022": "./esm2022/directives/date-format/taiga-ui-core-directives-date-format.mjs",
|
|
193
|
-
"esm": "./esm2022/directives/date-format/taiga-ui-core-directives-date-format.mjs",
|
|
194
136
|
"default": "./fesm2022/taiga-ui-core-directives-date-format.mjs"
|
|
195
137
|
},
|
|
196
138
|
"./directives/dropdown": {
|
|
197
139
|
"types": "./directives/dropdown/index.d.ts",
|
|
198
|
-
"esm2022": "./esm2022/directives/dropdown/taiga-ui-core-directives-dropdown.mjs",
|
|
199
|
-
"esm": "./esm2022/directives/dropdown/taiga-ui-core-directives-dropdown.mjs",
|
|
200
140
|
"default": "./fesm2022/taiga-ui-core-directives-dropdown.mjs"
|
|
201
141
|
},
|
|
202
142
|
"./directives/group": {
|
|
203
143
|
"types": "./directives/group/index.d.ts",
|
|
204
|
-
"esm2022": "./esm2022/directives/group/taiga-ui-core-directives-group.mjs",
|
|
205
|
-
"esm": "./esm2022/directives/group/taiga-ui-core-directives-group.mjs",
|
|
206
144
|
"default": "./fesm2022/taiga-ui-core-directives-group.mjs"
|
|
207
145
|
},
|
|
208
146
|
"./directives/hint": {
|
|
209
147
|
"types": "./directives/hint/index.d.ts",
|
|
210
|
-
"esm2022": "./esm2022/directives/hint/taiga-ui-core-directives-hint.mjs",
|
|
211
|
-
"esm": "./esm2022/directives/hint/taiga-ui-core-directives-hint.mjs",
|
|
212
148
|
"default": "./fesm2022/taiga-ui-core-directives-hint.mjs"
|
|
213
149
|
},
|
|
214
150
|
"./directives/icons": {
|
|
215
151
|
"types": "./directives/icons/index.d.ts",
|
|
216
|
-
"esm2022": "./esm2022/directives/icons/taiga-ui-core-directives-icons.mjs",
|
|
217
|
-
"esm": "./esm2022/directives/icons/taiga-ui-core-directives-icons.mjs",
|
|
218
152
|
"default": "./fesm2022/taiga-ui-core-directives-icons.mjs"
|
|
219
153
|
},
|
|
220
154
|
"./directives/items-handlers": {
|
|
221
155
|
"types": "./directives/items-handlers/index.d.ts",
|
|
222
|
-
"esm2022": "./esm2022/directives/items-handlers/taiga-ui-core-directives-items-handlers.mjs",
|
|
223
|
-
"esm": "./esm2022/directives/items-handlers/taiga-ui-core-directives-items-handlers.mjs",
|
|
224
156
|
"default": "./fesm2022/taiga-ui-core-directives-items-handlers.mjs"
|
|
225
157
|
},
|
|
226
158
|
"./directives/number-format": {
|
|
227
159
|
"types": "./directives/number-format/index.d.ts",
|
|
228
|
-
"esm2022": "./esm2022/directives/number-format/taiga-ui-core-directives-number-format.mjs",
|
|
229
|
-
"esm": "./esm2022/directives/number-format/taiga-ui-core-directives-number-format.mjs",
|
|
230
160
|
"default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
|
|
231
161
|
},
|
|
232
162
|
"./directives/popup": {
|
|
233
163
|
"types": "./directives/popup/index.d.ts",
|
|
234
|
-
"esm2022": "./esm2022/directives/popup/taiga-ui-core-directives-popup.mjs",
|
|
235
|
-
"esm": "./esm2022/directives/popup/taiga-ui-core-directives-popup.mjs",
|
|
236
164
|
"default": "./fesm2022/taiga-ui-core-directives-popup.mjs"
|
|
237
165
|
},
|
|
238
166
|
"./directives/surface": {
|
|
239
167
|
"types": "./directives/surface/index.d.ts",
|
|
240
|
-
"esm2022": "./esm2022/directives/surface/taiga-ui-core-directives-surface.mjs",
|
|
241
|
-
"esm": "./esm2022/directives/surface/taiga-ui-core-directives-surface.mjs",
|
|
242
168
|
"default": "./fesm2022/taiga-ui-core-directives-surface.mjs"
|
|
243
169
|
},
|
|
244
170
|
"./directives/title": {
|
|
245
171
|
"types": "./directives/title/index.d.ts",
|
|
246
|
-
"esm2022": "./esm2022/directives/title/taiga-ui-core-directives-title.mjs",
|
|
247
|
-
"esm": "./esm2022/directives/title/taiga-ui-core-directives-title.mjs",
|
|
248
172
|
"default": "./fesm2022/taiga-ui-core-directives-title.mjs"
|
|
249
173
|
},
|
|
250
174
|
"./pipes/auto-color": {
|
|
251
175
|
"types": "./pipes/auto-color/index.d.ts",
|
|
252
|
-
"esm2022": "./esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs",
|
|
253
|
-
"esm": "./esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs",
|
|
254
176
|
"default": "./fesm2022/taiga-ui-core-pipes-auto-color.mjs"
|
|
255
177
|
},
|
|
256
178
|
"./pipes/calendar-sheet": {
|
|
257
179
|
"types": "./pipes/calendar-sheet/index.d.ts",
|
|
258
|
-
"esm2022": "./esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs",
|
|
259
|
-
"esm": "./esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs",
|
|
260
180
|
"default": "./fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs"
|
|
261
181
|
},
|
|
262
182
|
"./pipes/fallback-src": {
|
|
263
183
|
"types": "./pipes/fallback-src/index.d.ts",
|
|
264
|
-
"esm2022": "./esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs",
|
|
265
|
-
"esm": "./esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs",
|
|
266
184
|
"default": "./fesm2022/taiga-ui-core-pipes-fallback-src.mjs"
|
|
267
185
|
},
|
|
268
186
|
"./pipes/flag": {
|
|
269
187
|
"types": "./pipes/flag/index.d.ts",
|
|
270
|
-
"esm2022": "./esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs",
|
|
271
|
-
"esm": "./esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs",
|
|
272
188
|
"default": "./fesm2022/taiga-ui-core-pipes-flag.mjs"
|
|
273
189
|
},
|
|
274
190
|
"./pipes/format-date": {
|
|
275
191
|
"types": "./pipes/format-date/index.d.ts",
|
|
276
|
-
"esm2022": "./esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs",
|
|
277
|
-
"esm": "./esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs",
|
|
278
192
|
"default": "./fesm2022/taiga-ui-core-pipes-format-date.mjs"
|
|
279
193
|
},
|
|
280
194
|
"./pipes/format-number": {
|
|
281
195
|
"types": "./pipes/format-number/index.d.ts",
|
|
282
|
-
"esm2022": "./esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs",
|
|
283
|
-
"esm": "./esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs",
|
|
284
196
|
"default": "./fesm2022/taiga-ui-core-pipes-format-number.mjs"
|
|
285
197
|
},
|
|
286
198
|
"./pipes/initials": {
|
|
287
199
|
"types": "./pipes/initials/index.d.ts",
|
|
288
|
-
"esm2022": "./esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs",
|
|
289
|
-
"esm": "./esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs",
|
|
290
200
|
"default": "./fesm2022/taiga-ui-core-pipes-initials.mjs"
|
|
291
201
|
},
|
|
292
202
|
"./pipes/month": {
|
|
293
203
|
"types": "./pipes/month/index.d.ts",
|
|
294
|
-
"esm2022": "./esm2022/pipes/month/taiga-ui-core-pipes-month.mjs",
|
|
295
|
-
"esm": "./esm2022/pipes/month/taiga-ui-core-pipes-month.mjs",
|
|
296
204
|
"default": "./fesm2022/taiga-ui-core-pipes-month.mjs"
|
|
297
205
|
},
|
|
298
206
|
"./pipes/order-week-days": {
|
|
299
207
|
"types": "./pipes/order-week-days/index.d.ts",
|
|
300
|
-
"esm2022": "./esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs",
|
|
301
|
-
"esm": "./esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs",
|
|
302
208
|
"default": "./fesm2022/taiga-ui-core-pipes-order-week-days.mjs"
|
|
303
209
|
},
|
|
304
210
|
"./utils/dom": {
|
|
305
211
|
"types": "./utils/dom/index.d.ts",
|
|
306
|
-
"esm2022": "./esm2022/utils/dom/taiga-ui-core-utils-dom.mjs",
|
|
307
|
-
"esm": "./esm2022/utils/dom/taiga-ui-core-utils-dom.mjs",
|
|
308
212
|
"default": "./fesm2022/taiga-ui-core-utils-dom.mjs"
|
|
309
213
|
},
|
|
310
214
|
"./utils/format": {
|
|
311
215
|
"types": "./utils/format/index.d.ts",
|
|
312
|
-
"esm2022": "./esm2022/utils/format/taiga-ui-core-utils-format.mjs",
|
|
313
|
-
"esm": "./esm2022/utils/format/taiga-ui-core-utils-format.mjs",
|
|
314
216
|
"default": "./fesm2022/taiga-ui-core-utils-format.mjs"
|
|
315
217
|
},
|
|
316
218
|
"./utils/miscellaneous": {
|
|
317
219
|
"types": "./utils/miscellaneous/index.d.ts",
|
|
318
|
-
"esm2022": "./esm2022/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs",
|
|
319
|
-
"esm": "./esm2022/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs",
|
|
320
220
|
"default": "./fesm2022/taiga-ui-core-utils-miscellaneous.mjs"
|
|
321
221
|
}
|
|
322
222
|
},
|
|
323
223
|
"peerDependencies": {
|
|
324
|
-
"@angular/animations": ">=
|
|
325
|
-
"@angular/common": ">=
|
|
326
|
-
"@angular/core": ">=
|
|
327
|
-
"@angular/forms": ">=
|
|
328
|
-
"@angular/platform-browser": ">=
|
|
329
|
-
"@angular/router": ">=
|
|
224
|
+
"@angular/animations": ">=19.0.0",
|
|
225
|
+
"@angular/common": ">=19.0.0",
|
|
226
|
+
"@angular/core": ">=19.0.0",
|
|
227
|
+
"@angular/forms": ">=19.0.0",
|
|
228
|
+
"@angular/platform-browser": ">=19.0.0",
|
|
229
|
+
"@angular/router": ">=19.0.0",
|
|
330
230
|
"@ng-web-apis/common": "^4.12.0",
|
|
331
231
|
"@ng-web-apis/mutation-observer": "^4.12.0",
|
|
332
|
-
"@taiga-ui/cdk": "^4.
|
|
333
|
-
"@taiga-ui/event-plugins": "^4.
|
|
334
|
-
"@taiga-ui/i18n": "^4.
|
|
232
|
+
"@taiga-ui/cdk": "^4.52.0",
|
|
233
|
+
"@taiga-ui/event-plugins": "^4.7.0",
|
|
234
|
+
"@taiga-ui/i18n": "^4.52.0",
|
|
335
235
|
"@taiga-ui/polymorpheus": "^4.9.0",
|
|
336
236
|
"rxjs": ">=7.0.0"
|
|
337
237
|
},
|
|
@@ -5,14 +5,15 @@
|
|
|
5
5
|
* @selector tui-icon
|
|
6
6
|
*
|
|
7
7
|
* @description
|
|
8
|
-
* Container for displaying icons colored with CSS (color/background)
|
|
8
|
+
* Container for displaying icons colored with CSS (color/background)
|
|
9
9
|
*
|
|
10
10
|
* @vars
|
|
11
|
-
* --t-icon —
|
|
11
|
+
* --t-icon — depending on the data-icon, it can serve as either a mask (`svg`),
|
|
12
|
+
a background (`image`), or content (`font`) for the icon.
|
|
12
13
|
* --t-icon-bg — mask for the background
|
|
13
14
|
*
|
|
14
15
|
* @example
|
|
15
|
-
* <tui-icon style="--t-icon: url('icon.svg')"></tui-icon>
|
|
16
|
+
* <tui-icon data-icon="svg" style="--t-icon: url('icon.svg')"></tui-icon>
|
|
16
17
|
*
|
|
17
18
|
* @see-also
|
|
18
19
|
* Icons
|
|
@@ -44,4 +45,18 @@ tui-icon {
|
|
|
44
45
|
mask: var(--t-icon) no-repeat center/contain;
|
|
45
46
|
background: currentColor;
|
|
46
47
|
}
|
|
48
|
+
|
|
49
|
+
&[data-icon='image']::after {
|
|
50
|
+
mask: none;
|
|
51
|
+
background: var(--t-icon) no-repeat center/contain;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&[data-icon='font']::after {
|
|
55
|
+
content: var(--t-icon);
|
|
56
|
+
mask: none;
|
|
57
|
+
background: none;
|
|
58
|
+
font: 1em/1 var(--tui-font-icon, inherit);
|
|
59
|
+
text-align: center;
|
|
60
|
+
text-transform: none;
|
|
61
|
+
}
|
|
47
62
|
}
|
|
@@ -3,14 +3,16 @@
|
|
|
3
3
|
* @selector [tuiIcons]
|
|
4
4
|
*
|
|
5
5
|
* @description
|
|
6
|
-
* Icons directive applies
|
|
6
|
+
* Icons directive applies styles to ::before and ::after pseudo elements
|
|
7
7
|
*
|
|
8
8
|
* @vars
|
|
9
|
-
* --t-icon-start —
|
|
10
|
-
|
|
9
|
+
* --t-icon-start — depending on the data-icon-start, it can serve as either a mask (`svg`),
|
|
10
|
+
a background (`image`), or content (`font`) for the ::before element
|
|
11
|
+
* --t-icon-end — depending on the data-icon-end, it can serve as either a mask (`svg`),
|
|
12
|
+
a background (`image`), or content (`font`) for the ::after element
|
|
11
13
|
*
|
|
12
14
|
* @example
|
|
13
|
-
* <button tuiIcons style="--t-icon-start: url('icon.svg')"></button>
|
|
15
|
+
* <button tuiIcons data-icon-start="svg" style="--t-icon-start: url('icon.svg')"></button>
|
|
14
16
|
*
|
|
15
17
|
* @see-also
|
|
16
18
|
* Button, Icon, Link
|
|
@@ -22,7 +24,6 @@
|
|
|
22
24
|
&::before,
|
|
23
25
|
&::after {
|
|
24
26
|
content: '';
|
|
25
|
-
display: var(--t-icon-start);
|
|
26
27
|
inline-size: 1em;
|
|
27
28
|
block-size: 1em;
|
|
28
29
|
line-height: 1em;
|
|
@@ -30,11 +31,44 @@
|
|
|
30
31
|
flex-shrink: 0;
|
|
31
32
|
box-sizing: content-box;
|
|
32
33
|
background: currentColor;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&::before {
|
|
37
|
+
display: var(--t-icon-start, none);
|
|
33
38
|
mask: var(--t-icon-start) no-repeat center/contain padding-box;
|
|
34
39
|
}
|
|
35
40
|
|
|
36
41
|
&::after {
|
|
37
|
-
display: var(--t-icon-end);
|
|
42
|
+
display: var(--t-icon-end, none);
|
|
38
43
|
mask: var(--t-icon-end) no-repeat center/contain padding-box;
|
|
39
44
|
}
|
|
45
|
+
|
|
46
|
+
&[data-icon-start='image']::before {
|
|
47
|
+
mask: none;
|
|
48
|
+
background: var(--t-icon-start) no-repeat center/contain padding-box;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&[data-icon-end='image']::after {
|
|
52
|
+
mask: none;
|
|
53
|
+
background: var(--t-icon-end) no-repeat center/contain padding-box;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&[data-icon-start='font']::before,
|
|
57
|
+
&[data-icon-end='font']::after {
|
|
58
|
+
display: grid;
|
|
59
|
+
mask: none;
|
|
60
|
+
background: none;
|
|
61
|
+
font: 1.3em/1 var(--tui-font-icon, inherit);
|
|
62
|
+
text-align: center;
|
|
63
|
+
place-content: center;
|
|
64
|
+
text-transform: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&[data-icon-start='font']::before {
|
|
68
|
+
content: var(--t-icon-start);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&[data-icon-end='font']::after {
|
|
72
|
+
content: var(--t-icon-end);
|
|
73
|
+
}
|
|
40
74
|
}
|
|
@@ -5,5 +5,6 @@ export declare const TUI_ICON_RESOLVER: InjectionToken<TuiStringHandler<string>>
|
|
|
5
5
|
* @deprecated use {@link TUI_ICON_RESOLVER}
|
|
6
6
|
*/
|
|
7
7
|
export declare const TUI_ICON_START_RESOLVER: InjectionToken<TuiStringHandler<string>>;
|
|
8
|
+
export declare function tuiGetIconMode(icon?: string | null): 'font' | 'image' | 'svg' | null;
|
|
8
9
|
export declare function tuiInjectIconResolver(): TuiStringHandler<string>;
|
|
9
10
|
export declare function tuiIconResolverProvider(useValue: TuiStringHandler<string>): Provider;
|