@taiga-ui/core 4.52.0-canary.e444d19 → 4.52.0-canary.e53e79e
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/classes/accessors.d.ts +2 -2
- package/components/button/button.directive.d.ts +2 -2
- package/components/button/button.options.d.ts +1 -1
- package/components/calendar/calendar-sheet.component.d.ts +1 -1
- package/components/calendar/calendar-sheet.options.d.ts +1 -3
- package/{pipes/calendar-sheet → components/calendar}/calendar-sheet.pipe.d.ts +2 -2
- package/components/calendar/calendar-spin.component.d.ts +1 -0
- package/components/calendar/calendar-year.component.d.ts +1 -1
- package/components/calendar/calendar.options.d.ts +9 -0
- package/components/calendar/index.d.ts +3 -0
- package/{pipes/order-week-days → components/calendar}/order-week-days.pipe.d.ts +1 -1
- package/components/cell/cell.directive.d.ts +9 -0
- package/components/cell/cell.options.d.ts +6 -0
- package/components/cell/index.d.ts +2 -0
- package/components/data-list/data-list.component.d.ts +8 -12
- package/components/data-list/data-list.d.ts +3 -4
- package/components/data-list/data-list.tokens.d.ts +1 -23
- package/components/data-list/index.d.ts +3 -4
- package/components/data-list/opt-group.directive.d.ts +2 -2
- package/components/data-list/option-content.directive.d.ts +14 -0
- package/components/data-list/option-with-value.directive.d.ts +9 -0
- package/components/data-list/option.directive.d.ts +19 -0
- package/components/error/error.component.d.ts +6 -8
- package/components/error/error.d.ts +4 -0
- package/components/error/error.directive.d.ts +19 -0
- package/components/error/error.pipe.d.ts +10 -0
- package/components/error/index.d.ts +3 -0
- package/components/expand/expand.component.d.ts +9 -28
- package/components/expand/index.d.ts +0 -2
- package/components/icon/icon.component.d.ts +3 -3
- package/components/index.d.ts +3 -3
- package/components/input/index.d.ts +2 -0
- package/components/input/input.d.ts +5 -0
- package/components/input/input.directive.d.ts +30 -0
- package/components/label/label.directive.d.ts +1 -1
- package/components/link/index.d.ts +0 -1
- package/components/link/link.directive.d.ts +8 -6
- package/components/loader/loader.component.d.ts +7 -7
- package/components/loader/loader.options.d.ts +1 -3
- package/components/notification/index.d.ts +3 -0
- package/components/notification/notification.component.d.ts +14 -0
- package/components/notification/notification.d.ts +3 -0
- package/components/notification/notification.directive.d.ts +7 -12
- package/components/notification/notification.options.d.ts +10 -7
- package/components/notification/notification.service.d.ts +17 -0
- package/components/root/root.component.d.ts +4 -6
- package/components/scrollbar/scroll-into-view.directive.d.ts +3 -2
- package/components/scrollbar/scroll-ref.directive.d.ts +2 -0
- package/components/scrollbar/scrollbar.component.d.ts +1 -5
- package/components/scrollbar/scrollbar.directive.d.ts +2 -2
- package/components/scrollbar/scrollbar.options.d.ts +1 -1
- package/components/spin-button/spin-button.component.d.ts +9 -10
- package/components/textfield/index.d.ts +1 -4
- package/components/textfield/textfield-content.directive.d.ts +3 -2
- package/components/textfield/textfield-icon.d.ts +3 -3
- package/components/textfield/textfield-multi/textfield-item.component.d.ts +3 -2
- package/components/textfield/textfield-multi/textfield-multi.component.d.ts +10 -15
- package/components/textfield/textfield.component.d.ts +23 -37
- package/components/textfield/textfield.d.ts +2 -4
- package/components/textfield/textfield.options.d.ts +8 -11
- package/{directives → components}/title/title.directive.d.ts +2 -3
- package/directives/appearance/appearance.directive.d.ts +5 -13
- package/directives/appearance/appearance.options.d.ts +1 -1
- package/directives/date-format/date-format.directive.d.ts +3 -7
- package/directives/group/group.directive.d.ts +7 -7
- package/directives/group/group.options.d.ts +1 -3
- package/directives/icons/icons.bindings.d.ts +5 -0
- package/directives/icons/icons.directive.d.ts +6 -14
- package/directives/icons/index.d.ts +1 -0
- package/directives/index.d.ts +0 -5
- package/directives/items-handlers/items-handlers.directive.d.ts +5 -9
- package/directives/items-handlers/items-handlers.tokens.d.ts +4 -4
- package/directives/number-format/number-format.directive.d.ts +3 -7
- package/fesm2022/taiga-ui-core-classes.mjs +9 -11
- package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-button.mjs +13 -20
- package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-calendar.mjs +140 -36
- package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-cell.mjs +45 -0
- package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-components-data-list.mjs +112 -281
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-error.mjs +109 -24
- package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-expand.mjs +33 -131
- package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-icon.mjs +11 -12
- package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-input.mjs +103 -0
- package/fesm2022/taiga-ui-core-components-input.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-components-label.mjs +13 -18
- package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-link.mjs +16 -36
- package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-loader.mjs +16 -34
- package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-notification.mjs +107 -66
- package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +21 -52
- package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs +68 -82
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-spin-button.mjs +18 -31
- package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +130 -427
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-title.mjs +37 -0
- package/fesm2022/taiga-ui-core-components-title.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-components.mjs +3 -3
- package/fesm2022/taiga-ui-core-directives-appearance.mjs +32 -69
- package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-date-format.mjs +26 -20
- package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-group.mjs +25 -40
- package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-icons.mjs +35 -45
- package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +18 -42
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-number-format.mjs +32 -20
- package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives.mjs +0 -5
- package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-format-number.mjs +21 -15
- package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes.mjs +0 -8
- package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-alert.mjs +73 -0
- package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-portals-dialog.mjs +158 -0
- package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -0
- package/fesm2022/{taiga-ui-core-directives-dropdown.mjs → taiga-ui-core-portals-dropdown.mjs} +180 -332
- package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-portals-hint.mjs +607 -0
- package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-portals-modal.mjs +89 -0
- package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-portals-popup.mjs +56 -0
- package/fesm2022/taiga-ui-core-portals-popup.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-portals.mjs +11 -0
- package/fesm2022/taiga-ui-core-portals.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-services.mjs +16 -55
- package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-tokens.mjs +30 -52
- package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-utils-format.mjs +1 -22
- package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +55 -18
- package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
- package/fesm2022/taiga-ui-core.mjs +1 -1
- package/index.d.ts +1 -1
- package/package.json +58 -84
- package/pipes/format-number/format-number.pipe.d.ts +6 -4
- package/pipes/index.d.ts +0 -8
- package/portals/alert/alert.directive.d.ts +11 -0
- package/portals/alert/alert.service.d.ts +12 -0
- package/portals/alert/index.d.ts +2 -0
- package/portals/dialog/dialog.component.d.ts +14 -0
- package/portals/dialog/dialog.directive.d.ts +8 -0
- package/{components → portals}/dialog/dialog.factory.d.ts +1 -1
- package/portals/dialog/dialog.options.d.ts +25 -0
- package/{components/dialog/dialog-close.service.d.ts → portals/dialog/dialog.providers.d.ts} +2 -0
- package/portals/dialog/dialog.service.d.ts +10 -0
- package/portals/dialog/index.d.ts +6 -0
- package/portals/dropdown/dropdown-content.directive.d.ts +9 -0
- package/{directives → portals}/dropdown/dropdown-hover.directive.d.ts +5 -10
- package/{directives → portals}/dropdown/dropdown-hover.options.d.ts +1 -3
- package/{directives → portals}/dropdown/dropdown-manual.directive.d.ts +2 -2
- package/portals/dropdown/dropdown-open.directive.d.ts +30 -0
- package/{directives → portals}/dropdown/dropdown-position-sided.directive.d.ts +3 -3
- package/{directives → portals}/dropdown/dropdown-position.directive.d.ts +5 -5
- package/{directives → portals}/dropdown/dropdown-selection.directive.d.ts +4 -5
- package/{directives → portals}/dropdown/dropdown.bindings.d.ts +0 -1
- package/{directives → portals}/dropdown/dropdown.d.ts +2 -3
- package/{directives → portals}/dropdown/dropdown.directive.d.ts +6 -8
- package/{directives → portals}/dropdown/index.d.ts +1 -4
- package/{directives → portals}/hint/hint-describe.directive.d.ts +4 -6
- package/{directives → portals}/hint/hint-host.directive.d.ts +2 -2
- package/{directives → portals}/hint/hint-hover.directive.d.ts +3 -4
- package/{directives → portals}/hint/hint-manual.directive.d.ts +2 -2
- package/{directives → portals}/hint/hint-options.directive.d.ts +3 -3
- package/{directives → portals}/hint/hint-overflow.directive.d.ts +2 -2
- package/{directives → portals}/hint/hint-position.directive.d.ts +5 -6
- package/{directives → portals}/hint/hint-unstyled.component.d.ts +2 -7
- package/portals/hint/hint.component.d.ts +29 -0
- package/portals/hint/hint.directive.d.ts +24 -0
- package/{directives → portals}/hint/index.d.ts +0 -2
- package/portals/index.d.ts +6 -0
- package/portals/modal/index.d.ts +2 -0
- package/portals/modal/modal.component.d.ts +17 -0
- package/portals/modal/modal.service.d.ts +13 -0
- package/portals/popup/popup.directive.d.ts +12 -0
- package/{directives → portals}/popup/popup.service.d.ts +1 -1
- package/{directives → portals}/popup/popups.component.d.ts +2 -2
- package/services/index.d.ts +0 -2
- package/styles/components/button.less +0 -2
- package/styles/components/icons.less +4 -4
- package/styles/components/link.less +9 -23
- package/styles/components/textfield.less +10 -7
- package/styles/mixins/appearance.less +2 -2
- package/styles/mixins/mixins.less +0 -6
- package/styles/mixins/mixins.scss +0 -6
- package/styles/mixins/slider.less +21 -16
- package/styles/mixins/slider.scss +1 -2
- package/styles/theme/variables.less +2 -4
- package/tokens/common-icons.d.ts +3 -3
- package/tokens/date-format.d.ts +2 -3
- package/tokens/i18n.d.ts +7 -7
- package/tokens/icon-resolver.d.ts +0 -4
- package/tokens/icons.d.ts +0 -4
- package/tokens/index.d.ts +1 -4
- package/tokens/number-format.d.ts +2 -3
- package/tokens/validation-errors.d.ts +4 -0
- package/types/index.d.ts +0 -3
- package/types/point.d.ts +1 -1
- package/types/size.d.ts +0 -11
- package/utils/format/index.d.ts +0 -1
- package/utils/miscellaneous/get-duration.d.ts +2 -0
- package/utils/miscellaneous/index.d.ts +2 -1
- package/utils/miscellaneous/provide-taiga.d.ts +13 -0
- package/animations/animations.d.ts +0 -109
- package/animations/index.d.ts +0 -1
- package/components/alert/alert.component.d.ts +0 -15
- package/components/alert/alert.directive.d.ts +0 -7
- package/components/alert/alert.interfaces.d.ts +0 -12
- package/components/alert/alert.service.d.ts +0 -7
- package/components/alert/alert.tokens.d.ts +0 -12
- package/components/alert/alerts.component.d.ts +0 -12
- package/components/alert/index.d.ts +0 -6
- package/components/data-list/data-list.directive.d.ts +0 -7
- package/components/data-list/option/option-content.d.ts +0 -16
- package/components/data-list/option/option-legacy.component.d.ts +0 -24
- package/components/data-list/option/option.directive.d.ts +0 -27
- package/components/dialog/dialog.component.d.ts +0 -20
- package/components/dialog/dialog.directive.d.ts +0 -7
- package/components/dialog/dialog.interfaces.d.ts +0 -34
- package/components/dialog/dialog.service.d.ts +0 -7
- package/components/dialog/dialog.tokens.d.ts +0 -15
- package/components/dialog/dialogs.component.d.ts +0 -8
- package/components/dialog/index.d.ts +0 -8
- package/components/expand/expand-content.directive.d.ts +0 -8
- package/components/expand/expand.d.ts +0 -6
- package/components/fullscreen/fullscreen.component.d.ts +0 -14
- package/components/fullscreen/index.d.ts +0 -1
- package/components/link/link.options.d.ts +0 -12
- package/components/textfield/select.directive.d.ts +0 -19
- package/components/textfield/textfield-dropdown.directive.d.ts +0 -16
- package/components/textfield/textfield.directive.d.ts +0 -38
- package/directives/dropdown/dropdown-open-legacy.directive.d.ts +0 -12
- package/directives/dropdown/dropdown-open.directive.d.ts +0 -33
- package/directives/dropdown/dropdown-portal.directive.d.ts +0 -14
- package/directives/dropdown/dropdown.service.d.ts +0 -6
- package/directives/dropdown/dropdowns.component.d.ts +0 -9
- package/directives/hint/hint.component.d.ts +0 -30
- package/directives/hint/hint.directive.d.ts +0 -26
- package/directives/hint/hint.service.d.ts +0 -13
- package/directives/hint/hints.component.d.ts +0 -12
- package/directives/popup/popup.directive.d.ts +0 -11
- package/directives/surface/index.d.ts +0 -1
- package/directives/surface/surface.directive.d.ts +0 -8
- package/fesm2022/taiga-ui-core-animations.mjs +0 -370
- package/fesm2022/taiga-ui-core-animations.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-components-alert.mjs +0 -149
- package/fesm2022/taiga-ui-core-components-alert.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-components-dialog.mjs +0 -195
- package/fesm2022/taiga-ui-core-components-dialog.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-components-fullscreen.mjs +0 -66
- package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-directives-hint.mjs +0 -709
- package/fesm2022/taiga-ui-core-directives-hint.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-directives-popup.mjs +0 -63
- package/fesm2022/taiga-ui-core-directives-popup.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-directives-surface.mjs +0 -50
- package/fesm2022/taiga-ui-core-directives-surface.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-directives-title.mjs +0 -43
- package/fesm2022/taiga-ui-core-directives-title.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -25
- package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -94
- package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs +0 -29
- package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -32
- package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -28
- package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -29
- package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-month.mjs +0 -29
- package/fesm2022/taiga-ui-core-pipes-month.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -36
- package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +0 -1
- package/pipes/auto-color/auto-color.pipe.d.ts +0 -7
- package/pipes/auto-color/index.d.ts +0 -1
- package/pipes/calendar-sheet/index.d.ts +0 -1
- package/pipes/calendar-sheet/utils.d.ts +0 -20
- package/pipes/fallback-src/fallback-src.pipe.d.ts +0 -9
- package/pipes/fallback-src/index.d.ts +0 -1
- package/pipes/flag/flag.pipe.d.ts +0 -14
- package/pipes/flag/index.d.ts +0 -1
- package/pipes/format-date/format-date.pipe.d.ts +0 -9
- package/pipes/format-date/index.d.ts +0 -1
- package/pipes/initials/index.d.ts +0 -1
- package/pipes/initials/initials.pipe.d.ts +0 -7
- package/pipes/month/index.d.ts +0 -1
- package/pipes/month/month.pipe.d.ts +0 -10
- package/pipes/order-week-days/index.d.ts +0 -1
- package/services/dark-theme.service.d.ts +0 -10
- package/services/format-date.service.d.ts +0 -8
- package/tokens/day-type-handler.d.ts +0 -7
- package/tokens/first-day-of-week.d.ts +0 -5
- package/tokens/scroll-ref.d.ts +0 -2
- package/tokens/spin-icons.d.ts +0 -6
- package/types/portal-item.d.ts +0 -9
- package/types/range-state.d.ts +0 -4
- package/types/value-content-context.d.ts +0 -4
- package/utils/format/string-hash-to-hsl.d.ts +0 -6
- package/utils/miscellaneous/to-animation-options.d.ts +0 -4
- /package/{directives → components}/title/index.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown-context.directive.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown-limit-width.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown-options.directive.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown.component.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown.driver.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown.providers.d.ts +0 -0
- /package/{directives → portals}/dropdown/with-dropdown-open.directive.d.ts +0 -0
- /package/{directives → portals}/hint/hint-driver.directive.d.ts +0 -0
- /package/{directives → portals}/hint/hint-pointer.directive.d.ts +0 -0
- /package/{directives → portals}/hint/hint.d.ts +0 -0
- /package/{directives → portals}/hint/hint.providers.d.ts +0 -0
- /package/{directives → portals}/popup/index.d.ts +0 -0
|
@@ -1,30 +1,28 @@
|
|
|
1
1
|
import { type AfterViewChecked, type ComponentRef, type OnDestroy } from '@angular/core';
|
|
2
2
|
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
3
3
|
import { type TuiRectAccessor, type TuiVehicle } from '@taiga-ui/core/classes';
|
|
4
|
-
import { type TuiPortalItem } from '@taiga-ui/core/types';
|
|
5
4
|
import { PolymorpheusComponent, type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
import * as i1 from "./dropdown.driver";
|
|
8
7
|
import * as i2 from "./dropdown-position.directive";
|
|
9
|
-
export declare class TuiDropdownDirective implements AfterViewChecked, OnDestroy,
|
|
8
|
+
export declare class TuiDropdownDirective implements AfterViewChecked, OnDestroy, TuiRectAccessor, TuiVehicle {
|
|
10
9
|
private readonly refresh$;
|
|
11
10
|
private readonly service;
|
|
12
11
|
private readonly cdr;
|
|
13
12
|
private readonly drivers;
|
|
14
13
|
protected readonly sub: import("rxjs").Subscription;
|
|
14
|
+
protected readonly autoClose: import("@angular/core").EffectRef;
|
|
15
|
+
readonly ref: import("@angular/core").WritableSignal<ComponentRef<unknown> | null>;
|
|
15
16
|
readonly el: HTMLElement;
|
|
16
17
|
readonly type = "dropdown";
|
|
17
18
|
readonly component: PolymorpheusComponent<any>;
|
|
18
|
-
|
|
19
|
-
readonly
|
|
20
|
-
set tuiDropdown(content: PolymorpheusContent<TuiContext<() => void>>);
|
|
19
|
+
readonly tuiDropdown: import("@angular/core").InputSignal<PolymorpheusContent<TuiContext<() => void>>>;
|
|
20
|
+
readonly content: import("@angular/core").Signal<PolymorpheusContent<TuiContext<() => void>>>;
|
|
21
21
|
get position(): 'absolute' | 'fixed';
|
|
22
|
-
get content(): PolymorpheusContent<TuiContext<() => void>>;
|
|
23
|
-
set content(x: PolymorpheusContent<TuiContext<() => void>>);
|
|
24
22
|
ngAfterViewChecked(): void;
|
|
25
23
|
ngOnDestroy(): void;
|
|
26
24
|
getClientRect(): DOMRect;
|
|
27
25
|
toggle(show: boolean): void;
|
|
28
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownDirective, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownDirective, "[tuiDropdown]:not(ng-container):not(ng-template)", ["tuiDropdown"], { "tuiDropdown": { "alias": "tuiDropdown"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiDropdownDriverDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiDropdownPosition; inputs: {}; outputs: { "tuiDropdownDirectionChange": "tuiDropdownDirectionChange"; }; }]>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownDirective, "[tuiDropdown]:not(ng-container):not(ng-template)", ["tuiDropdown"], { "tuiDropdown": { "alias": "tuiDropdown"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiDropdownDriverDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiDropdownPosition; inputs: {}; outputs: { "tuiDropdownDirectionChange": "tuiDropdownDirectionChange"; }; }]>;
|
|
30
28
|
}
|
|
@@ -4,18 +4,15 @@ export * from './dropdown.component';
|
|
|
4
4
|
export * from './dropdown.directive';
|
|
5
5
|
export * from './dropdown.driver';
|
|
6
6
|
export * from './dropdown.providers';
|
|
7
|
-
export * from './dropdown.
|
|
7
|
+
export * from './dropdown-content.directive';
|
|
8
8
|
export * from './dropdown-context.directive';
|
|
9
9
|
export * from './dropdown-hover.directive';
|
|
10
10
|
export * from './dropdown-hover.options';
|
|
11
11
|
export * from './dropdown-limit-width';
|
|
12
12
|
export * from './dropdown-manual.directive';
|
|
13
13
|
export * from './dropdown-open.directive';
|
|
14
|
-
export * from './dropdown-open-legacy.directive';
|
|
15
14
|
export * from './dropdown-options.directive';
|
|
16
|
-
export * from './dropdown-portal.directive';
|
|
17
15
|
export * from './dropdown-position.directive';
|
|
18
16
|
export * from './dropdown-position-sided.directive';
|
|
19
17
|
export * from './dropdown-selection.directive';
|
|
20
|
-
export * from './dropdowns.component';
|
|
21
18
|
export * from './with-dropdown-open.directive';
|
|
@@ -3,14 +3,12 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class TuiHintDescribe extends TuiDriver {
|
|
4
4
|
private readonly doc;
|
|
5
5
|
private readonly el;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
private readonly stream$;
|
|
6
|
+
protected readonly element: import("@angular/core").Signal<Element>;
|
|
7
|
+
readonly id: import("@angular/core").InputSignal<string | null | undefined>;
|
|
9
8
|
readonly type = "hint";
|
|
9
|
+
protected readonly stream$: import("rxjs").Observable<boolean>;
|
|
10
10
|
constructor();
|
|
11
|
-
set tuiHintDescribe(id: string | null | undefined);
|
|
12
|
-
private get element();
|
|
13
11
|
private get focused();
|
|
14
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintDescribe, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintDescribe, "[tuiHintDescribe]", never, { "
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintDescribe, "[tuiHintDescribe]", never, { "id": { "alias": "tuiHintDescribe"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
14
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { TuiRectAccessor } from '@taiga-ui/core/classes';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiHintHost extends TuiRectAccessor {
|
|
4
|
-
tuiHintHost
|
|
4
|
+
readonly tuiHintHost: import("@angular/core").InputSignal<HTMLElement | undefined>;
|
|
5
5
|
readonly type = "hint";
|
|
6
6
|
getClientRect(): DOMRect;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintHost, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintHost, "[tuiHint][tuiHintHost]", never, { "tuiHintHost": { "alias": "tuiHintHost"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintHost, "[tuiHint][tuiHintHost]", never, { "tuiHintHost": { "alias": "tuiHintHost"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
9
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TuiDriver } from '@taiga-ui/core/classes';
|
|
2
|
-
import { type TuiHintOptions } from './hint-options.directive';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class TuiHintHover extends TuiDriver {
|
|
5
4
|
private readonly isMobile;
|
|
@@ -10,13 +9,13 @@ export declare class TuiHintHover extends TuiDriver {
|
|
|
10
9
|
private readonly toggle$;
|
|
11
10
|
private readonly stream$;
|
|
12
11
|
private readonly parent;
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
readonly showDelay: import("@angular/core").InputSignal<number>;
|
|
13
|
+
readonly hideDelay: import("@angular/core").InputSignal<number>;
|
|
15
14
|
readonly type = "hint";
|
|
16
15
|
enabled: boolean;
|
|
17
16
|
constructor();
|
|
18
17
|
toggle(visible?: boolean): void;
|
|
19
18
|
close(): void;
|
|
20
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintHover, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintHover, never, ["tuiHintHover"], { "
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintHover, never, ["tuiHintHover"], { "showDelay": { "alias": "tuiHintShowDelay"; "required": false; "isSignal": true; }; "hideDelay": { "alias": "tuiHintHideDelay"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
22
21
|
}
|
|
@@ -4,10 +4,10 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class TuiHintManual extends TuiDriver implements OnChanges {
|
|
5
5
|
private readonly hover;
|
|
6
6
|
private readonly stream$;
|
|
7
|
-
|
|
7
|
+
readonly visible: import("@angular/core").InputSignal<boolean | null>;
|
|
8
8
|
readonly type = "hint";
|
|
9
9
|
constructor();
|
|
10
10
|
ngOnChanges(): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintManual, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintManual, "[tuiHint][tuiHintManual]", never, { "
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintManual, "[tuiHint][tuiHintManual]", never, { "visible": { "alias": "tuiHintManual"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type FactoryProvider, InjectionToken, type OnChanges } from '@angular/core';
|
|
2
|
+
import { type TuiAppearanceOptions } from '@taiga-ui/core/directives/appearance';
|
|
2
3
|
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
4
|
import { Subject } from 'rxjs';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export type TuiHintDirection = 'bottom-left' | 'bottom-right' | 'bottom' | 'left-bottom' | 'left-top' | 'left' | 'right-bottom' | 'right-top' | 'right' | 'top-left' | 'top-right' | 'top';
|
|
6
7
|
export declare const TUI_HINT_DIRECTIONS: readonly TuiHintDirection[];
|
|
7
|
-
export interface TuiHintOptions {
|
|
8
|
-
readonly appearance: string;
|
|
8
|
+
export interface TuiHintOptions extends TuiAppearanceOptions {
|
|
9
9
|
readonly direction: TuiHintDirection | TuiHintDirection[];
|
|
10
10
|
readonly hideDelay: number;
|
|
11
11
|
readonly icon: string;
|
|
@@ -25,7 +25,7 @@ export declare class TuiHintOptionsDirective implements TuiHintOptions, OnChange
|
|
|
25
25
|
private readonly options;
|
|
26
26
|
content: PolymorpheusContent;
|
|
27
27
|
direction: TuiHintDirection | TuiHintDirection[];
|
|
28
|
-
appearance: string;
|
|
28
|
+
appearance: "" | ("accent" | "action-destructive" | "action-grayscale" | "action" | "flat-destructive" | "flat-grayscale" | "flat" | "floating" | "glass" | "icon" | "info" | "negative" | "neutral" | "outline-destructive" | "outline-grayscale" | "outline" | "positive" | "primary-destructive" | "primary-grayscale" | "primary" | "secondary-destructive" | "secondary-grayscale" | "secondary" | "textfield" | "warning" | (Record<never, never> & string));
|
|
29
29
|
showDelay: number;
|
|
30
30
|
hideDelay: number;
|
|
31
31
|
icon: string;
|
|
@@ -2,8 +2,8 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./hint.directive";
|
|
3
3
|
export declare class TuiHintOverflow {
|
|
4
4
|
private readonly hint;
|
|
5
|
-
|
|
5
|
+
readonly content: import("@angular/core").InputSignal<string | null>;
|
|
6
6
|
protected onMouseEnter({ scrollWidth, clientWidth, textContent }: Element): void;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintOverflow, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintOverflow, "[tuiHintOverflow]", never, { "
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintOverflow, "[tuiHintOverflow]", never, { "content": { "alias": "tuiHintOverflow"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiHintDirective; inputs: { "tuiHintAppearance": "tuiHintAppearance"; }; outputs: {}; }]>;
|
|
9
9
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
1
|
import { TuiPositionAccessor } from '@taiga-ui/core/classes';
|
|
3
2
|
import { type TuiPoint } from '@taiga-ui/core/types';
|
|
4
|
-
import { type TuiHintDirection
|
|
3
|
+
import { type TuiHintDirection } from './hint-options.directive';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class TuiHintPosition extends TuiPositionAccessor {
|
|
7
6
|
private readonly el;
|
|
@@ -9,13 +8,13 @@ export declare class TuiHintPosition extends TuiPositionAccessor {
|
|
|
9
8
|
private readonly viewport;
|
|
10
9
|
private readonly accessor;
|
|
11
10
|
private readonly points;
|
|
12
|
-
direction:
|
|
13
|
-
readonly directionChange:
|
|
11
|
+
readonly direction: import("@angular/core").InputSignal<TuiHintDirection | TuiHintDirection[]>;
|
|
12
|
+
readonly directionChange: import("@angular/core").OutputEmitterRef<TuiHintDirection>;
|
|
14
13
|
readonly type = "hint";
|
|
15
14
|
emitDirection(direction: TuiHintDirection): void;
|
|
16
|
-
getPosition(
|
|
15
|
+
getPosition({ width, height }: DOMRect): TuiPoint;
|
|
17
16
|
private get fallback();
|
|
18
17
|
private checkPosition;
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintPosition, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintPosition, never, never, { "direction": { "alias": "tuiHintDirection"; "required": false; }; }, { "directionChange": "tuiHintDirectionChange"; }, never, never, true, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintPosition, never, never, { "direction": { "alias": "tuiHintDirection"; "required": false; "isSignal": true; }; }, { "directionChange": "tuiHintDirectionChange"; }, never, never, true, never>;
|
|
21
20
|
}
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type TuiPortalItem } from '@taiga-ui/core/types';
|
|
4
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
1
|
+
import { TuiHintDirective } from './hint.directive';
|
|
5
2
|
import * as i0 from "@angular/core";
|
|
6
3
|
export declare class TuiHintUnstyledComponent {
|
|
7
|
-
protected readonly
|
|
8
|
-
content: WritableSignal<PolymorpheusContent>;
|
|
9
|
-
}>;
|
|
4
|
+
protected readonly hint: TuiHintDirective<any>;
|
|
10
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintUnstyledComponent, never>;
|
|
11
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiHintUnstyledComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
12
7
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { TuiHoveredService } from '@taiga-ui/cdk/directives/hovered';
|
|
2
|
+
import { TuiRectAccessor } from '@taiga-ui/core/classes';
|
|
3
|
+
import { TuiPositionService } from '@taiga-ui/core/services';
|
|
4
|
+
import { TuiHintDirective } from './hint.directive';
|
|
5
|
+
import { TuiHintPointer } from './hint-pointer.directive';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@taiga-ui/core/directives/appearance";
|
|
8
|
+
import * as i2 from "@taiga-ui/cdk/directives/animated";
|
|
9
|
+
import * as i3 from "@taiga-ui/cdk/directives/active-zone";
|
|
10
|
+
export declare const TUI_HINT_PROVIDERS: (import("@angular/core").FactoryProvider | typeof TuiHoveredService | typeof TuiPositionService)[];
|
|
11
|
+
export declare class TuiHintComponent {
|
|
12
|
+
private readonly el;
|
|
13
|
+
private readonly hover;
|
|
14
|
+
private readonly vvs;
|
|
15
|
+
private readonly viewport;
|
|
16
|
+
protected readonly pointer: TuiHintPointer | null;
|
|
17
|
+
protected readonly accessor: TuiRectAccessor;
|
|
18
|
+
protected readonly hint: TuiHintDirective<any>;
|
|
19
|
+
protected readonly isMobile: boolean;
|
|
20
|
+
protected readonly content: import("@angular/core").InputSignal<import("@taiga-ui/polymorpheus").PolymorpheusContent<any>> | import("@angular/core").WritableSignal<string>;
|
|
21
|
+
protected readonly theme: string | null | undefined;
|
|
22
|
+
protected readonly appearance: import("@angular/core").Signal<string>;
|
|
23
|
+
constructor();
|
|
24
|
+
protected onClick(target: HTMLElement): void;
|
|
25
|
+
private apply;
|
|
26
|
+
private update;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiHintComponent, "tui-hint", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.TuiAppearance; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiAnimated; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiActiveZone; inputs: {}; outputs: {}; }]>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type OnChanges, type OnDestroy } from '@angular/core';
|
|
2
|
+
import { type TuiRectAccessor, type TuiVehicle } from '@taiga-ui/core/classes';
|
|
3
|
+
import { PolymorpheusComponent, type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "./hint-driver.directive";
|
|
6
|
+
import * as i2 from "./hint-hover.directive";
|
|
7
|
+
import * as i3 from "./hint-position.directive";
|
|
8
|
+
export declare class TuiHintDirective<C> implements OnDestroy, OnChanges, TuiRectAccessor, TuiVehicle {
|
|
9
|
+
private readonly service;
|
|
10
|
+
private ref?;
|
|
11
|
+
readonly content: import("@angular/core").InputSignal<PolymorpheusContent<C>>;
|
|
12
|
+
readonly context: import("@angular/core").InputSignal<C | undefined>;
|
|
13
|
+
readonly appearance: import("@angular/core").InputSignal<"" | ("accent" | "action-destructive" | "action-grayscale" | "action" | "flat-destructive" | "flat-grayscale" | "flat" | "floating" | "glass" | "icon" | "info" | "negative" | "neutral" | "outline-destructive" | "outline-grayscale" | "outline" | "positive" | "primary-destructive" | "primary-grayscale" | "primary" | "secondary-destructive" | "secondary-grayscale" | "secondary" | "textfield" | "warning" | (Record<never, never> & string))>;
|
|
14
|
+
readonly visible: import("@angular/core").OutputEmitterRef<boolean>;
|
|
15
|
+
component: PolymorpheusComponent<any>;
|
|
16
|
+
readonly el: HTMLElement;
|
|
17
|
+
readonly type = "hint";
|
|
18
|
+
ngOnChanges(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
getClientRect(): DOMRect;
|
|
21
|
+
toggle(show: boolean): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintDirective<any>, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintDirective<any>, "[tuiHint]:not(ng-container):not(ng-template)", never, { "content": { "alias": "tuiHint"; "required": false; "isSignal": true; }; "context": { "alias": "tuiHintContext"; "required": false; "isSignal": true; }; "appearance": { "alias": "tuiHintAppearance"; "required": false; "isSignal": true; }; }, { "visible": "tuiHintVisible"; }, never, never, true, [{ directive: typeof i1.TuiHintDriver; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiHintHover; inputs: { "tuiHintHideDelay": "tuiHintHideDelay"; "tuiHintShowDelay": "tuiHintShowDelay"; }; outputs: {}; }, { directive: typeof i3.TuiHintPosition; inputs: { "tuiHintDirection": "tuiHintDirection"; }; outputs: { "tuiHintDirectionChange": "tuiHintDirectionChange"; }; }]>;
|
|
24
|
+
}
|
|
@@ -2,7 +2,6 @@ export * from './hint';
|
|
|
2
2
|
export * from './hint.component';
|
|
3
3
|
export * from './hint.directive';
|
|
4
4
|
export * from './hint.providers';
|
|
5
|
-
export * from './hint.service';
|
|
6
5
|
export * from './hint-describe.directive';
|
|
7
6
|
export * from './hint-driver.directive';
|
|
8
7
|
export * from './hint-host.directive';
|
|
@@ -13,4 +12,3 @@ export * from './hint-overflow.directive';
|
|
|
13
12
|
export * from './hint-pointer.directive';
|
|
14
13
|
export * from './hint-position.directive';
|
|
15
14
|
export * from './hint-unstyled.component';
|
|
16
|
-
export * from './hints.component';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from '@taiga-ui/core/portals/alert';
|
|
2
|
+
export * from '@taiga-ui/core/portals/dialog';
|
|
3
|
+
export * from '@taiga-ui/core/portals/dropdown';
|
|
4
|
+
export * from '@taiga-ui/core/portals/hint';
|
|
5
|
+
export * from '@taiga-ui/core/portals/modal';
|
|
6
|
+
export * from '@taiga-ui/core/portals/popup';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type OnDestroy, type OnInit } from '@angular/core';
|
|
2
|
+
import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
|
|
3
|
+
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@taiga-ui/cdk/directives/active-zone";
|
|
6
|
+
import * as i2 from "@taiga-ui/cdk/directives/focus-trap";
|
|
7
|
+
import * as i3 from "@taiga-ui/core/components/scrollbar";
|
|
8
|
+
export declare class TuiModalComponent<T> implements OnDestroy, OnInit {
|
|
9
|
+
private readonly current;
|
|
10
|
+
private readonly parent;
|
|
11
|
+
readonly context: TuiPortalContext<T>;
|
|
12
|
+
readonly component: import("@angular/core").WritableSignal<PolymorpheusContent<TuiPortalContext<T>>>;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiModalComponent<any>, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiModalComponent<any>, "tui-modal", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiActiveZone; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiFocusTrap; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiScrollRef; inputs: {}; outputs: {}; }]>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Type } from '@angular/core';
|
|
2
|
+
import { TuiPortal } from '@taiga-ui/cdk/portals';
|
|
3
|
+
import { PolymorpheusComponent } from '@taiga-ui/polymorpheus';
|
|
4
|
+
import { TuiModalComponent } from './modal.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class TuiModalService<T, K = void> extends TuiPortal<T, K> {
|
|
7
|
+
protected abstract readonly content: Type<unknown>;
|
|
8
|
+
protected readonly component: typeof TuiModalComponent;
|
|
9
|
+
constructor();
|
|
10
|
+
protected add(component: PolymorpheusComponent<TuiModalComponent<T>>): () => void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiModalService<any, any>, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TuiModalService<any, any>>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type OnChanges, type OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TuiPopup implements OnChanges, OnDestroy {
|
|
4
|
+
private readonly template;
|
|
5
|
+
private readonly service;
|
|
6
|
+
private ref?;
|
|
7
|
+
readonly show: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
ngOnChanges(): void;
|
|
9
|
+
ngOnDestroy(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPopup, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPopup, "ng-template[tuiPopup]", never, { "show": { "alias": "tuiPopup"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TuiPortalService } from '@taiga-ui/cdk/
|
|
1
|
+
import { TuiPortalService } from '@taiga-ui/cdk/portals';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiPopupService extends TuiPortalService {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPopupService, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TuiPortals } from '@taiga-ui/cdk/
|
|
1
|
+
import { TuiPortals } from '@taiga-ui/cdk/portals';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiPopups extends TuiPortals {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPopups, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPopups, "tui-popups", never, {}, {}, never,
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPopups, "tui-popups", never, {}, {}, never, ["*"], true, never>;
|
|
6
6
|
}
|
package/services/index.d.ts
CHANGED
|
@@ -52,7 +52,6 @@
|
|
|
52
52
|
|
|
53
53
|
font: var(--tui-font-text-s);
|
|
54
54
|
|
|
55
|
-
tui-svg,
|
|
56
55
|
tui-icon,
|
|
57
56
|
&::before {
|
|
58
57
|
font-size: 1rem;
|
|
@@ -68,7 +67,6 @@
|
|
|
68
67
|
|
|
69
68
|
font: var(--tui-font-text-s);
|
|
70
69
|
|
|
71
|
-
tui-svg,
|
|
72
70
|
tui-icon,
|
|
73
71
|
&:not([tuiIconButton][data-appearance='icon']):not([tuiIconButton][data-appearance='link'])::before {
|
|
74
72
|
font-size: 1rem;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
&::before {
|
|
37
|
-
display: var(--t-icon-start
|
|
37
|
+
display: var(--t-icon-start);
|
|
38
38
|
mask:
|
|
39
39
|
var(--t-icon-start) no-repeat center / calc(~'min(1em, 100%)' + 10 * var(--tui-stroke-width, 0.125rem))
|
|
40
40
|
~'min(1em, 100%)',
|
|
@@ -42,19 +42,19 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
&::after {
|
|
45
|
-
display: var(--t-icon-end
|
|
45
|
+
display: var(--t-icon-end);
|
|
46
46
|
mask: var(--t-icon-end) no-repeat center / calc(~'min(1em, 100%)' + 10 * var(--tui-stroke-width, 0.125rem))
|
|
47
47
|
~'min(1em, 100%)' padding-box;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
&[data-icon-start='img']::before {
|
|
51
51
|
mask: none;
|
|
52
|
-
background: var(--t-icon-start) no-repeat center/
|
|
52
|
+
background: var(--t-icon-start) no-repeat center / 1em padding-box;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&[data-icon-end='img']::after {
|
|
56
56
|
mask: none;
|
|
57
|
-
background: var(--t-icon-end) no-repeat center/
|
|
57
|
+
background: var(--t-icon-end) no-repeat center / 1em padding-box;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
&[data-icon-start='font']::before,
|
|
@@ -21,19 +21,15 @@
|
|
|
21
21
|
border: none;
|
|
22
22
|
cursor: pointer;
|
|
23
23
|
font: inherit;
|
|
24
|
-
color:
|
|
24
|
+
color: inherit;
|
|
25
|
+
border-radius: 0.125rem;
|
|
26
|
+
outline-width: 1px;
|
|
27
|
+
outline-offset: -1px;
|
|
25
28
|
text-decoration: none dashed currentColor;
|
|
26
29
|
text-underline-offset: 0.2em;
|
|
27
|
-
text-decoration-thickness:
|
|
30
|
+
text-decoration-thickness: 1px;
|
|
28
31
|
text-decoration-color: color-mix(in lch, currentColor, transparent);
|
|
29
32
|
|
|
30
|
-
// TODO: Remove in v5
|
|
31
|
-
@media @tui-mouse {
|
|
32
|
-
&:hover {
|
|
33
|
-
--tui-text-secondary: var(--tui-text-primary);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
33
|
&::before {
|
|
38
34
|
margin-inline-end: 0.25rem;
|
|
39
35
|
}
|
|
@@ -51,18 +47,13 @@
|
|
|
51
47
|
line-height: 0;
|
|
52
48
|
box-sizing: border-box;
|
|
53
49
|
mask-size: calc(100% + 10 * var(--tui-stroke-width, 0.125rem)) 100%;
|
|
50
|
+
transition: none;
|
|
54
51
|
}
|
|
55
52
|
|
|
56
53
|
&[tuiChevron]::after {
|
|
57
54
|
display: inline-block;
|
|
58
55
|
}
|
|
59
56
|
|
|
60
|
-
.appearance-focus({
|
|
61
|
-
outline: none;
|
|
62
|
-
background: var(--tui-service-selection-background);
|
|
63
|
-
background: color-mix(in lch, currentColor 12%, transparent);
|
|
64
|
-
});
|
|
65
|
-
|
|
66
57
|
.appearance-hover({
|
|
67
58
|
text-decoration-color: currentColor;
|
|
68
59
|
});
|
|
@@ -71,13 +62,8 @@
|
|
|
71
62
|
text-decoration-color: currentColor;
|
|
72
63
|
});
|
|
73
64
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&[data-appearance='']:active {
|
|
81
|
-
opacity: 0.7;
|
|
65
|
+
&[data-appearance=''] {
|
|
66
|
+
text-decoration-line: underline;
|
|
67
|
+
text-decoration-style: solid;
|
|
82
68
|
}
|
|
83
69
|
}
|
|
@@ -6,8 +6,8 @@ tui-textfield {
|
|
|
6
6
|
|
|
7
7
|
--t-height: var(--tui-height-l);
|
|
8
8
|
--t-padding: var(--tui-padding-l);
|
|
9
|
-
--t-label: -0.
|
|
10
|
-
--t-label-
|
|
9
|
+
--t-label-y: -0.75rem;
|
|
10
|
+
--t-label-font: var(--tui-font-text-s);
|
|
11
11
|
--t-end: ~'0rem';
|
|
12
12
|
--t-start: ~'0rem';
|
|
13
13
|
|
|
@@ -133,6 +133,8 @@ tui-textfield {
|
|
|
133
133
|
&[data-size='m'] {
|
|
134
134
|
--t-height: var(--tui-height-m);
|
|
135
135
|
--t-padding: var(--tui-padding-m);
|
|
136
|
+
--t-label-font: var(--tui-font-text-xs);
|
|
137
|
+
--t-label-y: -0.5625rem;
|
|
136
138
|
|
|
137
139
|
border-radius: var(--tui-radius-m);
|
|
138
140
|
font: var(--tui-font-text-ui-s);
|
|
@@ -288,7 +290,6 @@ tui-textfield {
|
|
|
288
290
|
pointer-events: auto;
|
|
289
291
|
background: none;
|
|
290
292
|
|
|
291
|
-
// TODO: Remove :not when we drop old select tuiTextfield in v5
|
|
292
293
|
&:not(select):read-only ~ .t-filler {
|
|
293
294
|
display: none;
|
|
294
295
|
}
|
|
@@ -307,8 +308,9 @@ tui-textfield {
|
|
|
307
308
|
&:-webkit-autofill,
|
|
308
309
|
&:not(._empty):not(:placeholder-shown) {
|
|
309
310
|
& ~ label {
|
|
310
|
-
font
|
|
311
|
-
|
|
311
|
+
font: var(--t-label-font);
|
|
312
|
+
line-height: var(--t-height);
|
|
313
|
+
transform: translateY(var(--t-label-y));
|
|
312
314
|
}
|
|
313
315
|
|
|
314
316
|
&:not(:disabled)[data-mode~='invalid'] ~ label,
|
|
@@ -330,8 +332,9 @@ tui-textfield {
|
|
|
330
332
|
|
|
331
333
|
& ~ label {
|
|
332
334
|
color: var(--tui-text-primary) !important;
|
|
333
|
-
font
|
|
334
|
-
|
|
335
|
+
font: var(--t-label-font);
|
|
336
|
+
line-height: var(--t-height);
|
|
337
|
+
transform: translateY(var(--t-label-y));
|
|
335
338
|
}
|
|
336
339
|
});
|
|
337
340
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
.appearance-hover(@content) {
|
|
4
4
|
.interactive({
|
|
5
5
|
@media @tui-mouse {
|
|
6
|
-
&:hover:not(
|
|
6
|
+
&:hover:not([data-state]) {
|
|
7
7
|
@content();
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.appearance-active(@content) {
|
|
26
26
|
.interactive({
|
|
27
|
-
&:active:not(
|
|
27
|
+
&:active:not([data-state]) {
|
|
28
28
|
@content();
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
@import 'browsers.less';
|
|
2
2
|
|
|
3
3
|
.interactive(@ruleset) {
|
|
4
|
-
// TODO remove after dropping Safari 13 support
|
|
5
|
-
&:matches(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
|
|
6
|
-
@ruleset();
|
|
7
|
-
}
|
|
8
|
-
|
|
9
4
|
&:is(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
|
|
10
5
|
@ruleset();
|
|
11
6
|
}
|
|
@@ -75,7 +70,6 @@
|
|
|
75
70
|
gap: calc(var(--t-gap, ~'0rem') - 2 * var(--t-margin, 0rem));
|
|
76
71
|
|
|
77
72
|
> img,
|
|
78
|
-
> tui-svg,
|
|
79
73
|
> tui-icon,
|
|
80
74
|
> [tuiAvatar],
|
|
81
75
|
> tui-badge,
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
@import 'browsers.scss';
|
|
2
2
|
|
|
3
3
|
@mixin interactive {
|
|
4
|
-
// TODO remove after dropping Safari 13 support
|
|
5
|
-
&:matches(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
|
|
6
|
-
@content;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
4
|
&:is(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
|
|
10
5
|
@content;
|
|
11
6
|
}
|
|
@@ -72,7 +67,6 @@
|
|
|
72
67
|
gap: calc(var(--t-gap) - 2 * var(--t-margin));
|
|
73
68
|
|
|
74
69
|
> img,
|
|
75
|
-
> tui-svg,
|
|
76
70
|
> tui-icon,
|
|
77
71
|
> [tuiAvatar],
|
|
78
72
|
> tui-badge,
|