@taiga-ui/core 4.52.0-canary.9fae831 → 4.52.0-canary.a1004d6
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/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 +1 -1
- package/components/expand/expand.component.d.ts +9 -28
- package/components/expand/index.d.ts +0 -2
- package/components/icon/icon.component.d.ts +2 -2
- 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 +29 -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 +2 -3
- 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/spin-button/spin-button.component.d.ts +9 -10
- package/components/textfield/index.d.ts +1 -4
- package/components/textfield/textfield-multi/textfield-item.component.d.ts +3 -2
- package/components/textfield/textfield-multi/textfield-multi.component.d.ts +9 -15
- package/components/textfield/textfield.component.d.ts +20 -34
- 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 +1 -1
- 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/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 +111 -280
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-error.mjs +14 -13
- 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 +10 -11
- 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 +108 -68
- package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +9 -25
- 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 +120 -419
- 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 +18 -21
- 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 +14 -17
- 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 -7
- 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} +191 -359
- package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-portals-hint.mjs +609 -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 +15 -79
- package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-tokens.mjs +51 -64
- 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 +20 -20
- 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 +71 -93
- package/pipes/format-number/format-number.pipe.d.ts +6 -4
- package/pipes/index.d.ts +0 -7
- 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-options.directive.d.ts +0 -4
- 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 +6 -7
- 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 -3
- package/styles/components/appearance.less +5 -0
- package/styles/components/button.less +10 -20
- package/styles/components/icon.less +11 -0
- package/styles/components/icons.less +2 -1
- package/styles/components/label.less +3 -12
- package/styles/components/link.less +9 -24
- package/styles/components/notification.less +21 -22
- package/styles/components/textfield.less +129 -211
- package/styles/components/title.less +8 -8
- package/styles/mixins/appearance.less +10 -26
- package/styles/mixins/appearance.scss +8 -24
- package/styles/mixins/date-picker.less +1 -1
- package/styles/mixins/mixins.less +0 -5
- package/styles/mixins/mixins.scss +0 -5
- package/styles/mixins/picker.less +1 -1
- package/styles/mixins/picker.scss +1 -1
- package/styles/mixins/slider.less +25 -26
- package/styles/mixins/slider.scss +23 -22
- package/styles/taiga-ui-local.less +0 -1
- package/styles/taiga-ui-local.scss +0 -1
- package/styles/taiga-ui-theme.less +0 -1
- package/styles/theme/appearance/outline.less +9 -18
- package/styles/theme/appearance/primary.less +2 -4
- package/styles/theme/appearance/secondary.less +6 -14
- package/styles/theme/appearance/status.less +0 -4
- package/styles/theme/appearance/table.less +36 -35
- package/styles/theme/appearance/textfield.less +30 -27
- package/styles/theme/appearance.less +0 -1
- package/styles/theme/variables.less +16 -19
- package/tokens/breakpoint.d.ts +4 -0
- 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/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/font-scaling.d.ts +2 -1
- package/utils/miscellaneous/get-duration.d.ts +2 -0
- package/utils/miscellaneous/index.d.ts +1 -1
- 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/active-zone-adapter.directive.d.ts +0 -11
- 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 -229
- package/fesm2022/taiga-ui-core-components-dialog.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-components-fullscreen.mjs +0 -77
- 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-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/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/breakpoint.service.d.ts +0 -16
- package/services/dark-theme.service.d.ts +0 -10
- package/services/format-date.service.d.ts +0 -8
- package/styles/mixins/wrapper.less +0 -64
- package/styles/mixins/wrapper.scss +0 -61
- package/styles/theme/appearance/opposite.less +0 -17
- package/styles/theme/wrapper.less +0 -211
- 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.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,39 +1,32 @@
|
|
|
1
1
|
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
2
|
|
|
3
3
|
[tuiAppearance][data-appearance='textfield'] {
|
|
4
|
-
.transition(~'box-shadow, background-color, outline-color, border-color');
|
|
4
|
+
.transition(~'box-shadow, background-color, outline-color, border-color, color');
|
|
5
5
|
|
|
6
6
|
--t-shadow: 0 0.125rem 0.1875rem rgba(0, 0, 0, 0.1);
|
|
7
7
|
|
|
8
8
|
background-color: var(--tui-background-base);
|
|
9
|
-
color: var(--tui-text-
|
|
9
|
+
color: var(--tui-text-tertiary);
|
|
10
10
|
box-shadow: var(--t-shadow);
|
|
11
11
|
outline: 1px solid var(--tui-border-normal);
|
|
12
12
|
outline-offset: -1px;
|
|
13
13
|
border-width: 0;
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
&:not([tuiWrapper])::after {
|
|
18
|
-
transition-property: color, transform;
|
|
19
|
-
color: var(--tui-text-tertiary);
|
|
15
|
+
&:is(input, textarea, select) {
|
|
16
|
+
color: var(--tui-text-primary) !important;
|
|
20
17
|
}
|
|
21
18
|
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
&::before,
|
|
20
|
+
&::after {
|
|
21
|
+
transition-property: transform;
|
|
22
|
+
}
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
&:not([data-mode~='readonly']) {
|
|
25
|
+
.appearance-hover({
|
|
26
|
+
--t-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.16);
|
|
27
27
|
color: var(--tui-text-secondary);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.appearance-active({
|
|
32
|
-
&:not([tuiWrapper]):before,
|
|
33
|
-
&:not([tuiWrapper]):after {
|
|
34
|
-
color: var(--tui-text-primary);
|
|
35
|
-
}
|
|
36
|
-
});
|
|
28
|
+
});
|
|
29
|
+
}
|
|
37
30
|
|
|
38
31
|
.appearance-focus({
|
|
39
32
|
box-shadow: none;
|
|
@@ -45,25 +38,35 @@
|
|
|
45
38
|
box-shadow: none;
|
|
46
39
|
});
|
|
47
40
|
|
|
48
|
-
|
|
49
|
-
&:invalid:not([data-mode]),
|
|
50
|
-
&.tui-invalid:not([data-mode]) {
|
|
41
|
+
.appearance-invalid({
|
|
51
42
|
outline-color: var(--tui-status-negative);
|
|
52
|
-
}
|
|
43
|
+
});
|
|
53
44
|
|
|
54
45
|
&[data-mode~='readonly'],
|
|
55
|
-
|
|
46
|
+
&[data-state='disabled'],
|
|
47
|
+
&:disabled,
|
|
48
|
+
&._disabled {
|
|
56
49
|
background: transparent !important;
|
|
57
50
|
box-shadow: none !important;
|
|
58
51
|
outline-color: var(--tui-border-normal) !important;
|
|
59
52
|
}
|
|
60
53
|
|
|
61
|
-
|
|
62
|
-
|
|
54
|
+
[tuiInput][chrome-autofilled], /* Chrome on IOS */
|
|
55
|
+
[tuiInput]:-webkit-autofill,
|
|
56
|
+
&[tuiInput][chrome-autofilled], /* Chrome on IOS */
|
|
57
|
+
&[tuiInput]:-webkit-autofill {
|
|
63
58
|
-webkit-text-fill-color: var(--tui-text-primary) !important;
|
|
64
59
|
caret-color: var(--tui-text-primary) !important;
|
|
65
60
|
box-shadow: 0 0 0 100rem var(--tui-service-autofill-background) inset !important;
|
|
66
61
|
transition: background-color 600000s 0s;
|
|
62
|
+
clip-path: inset(0.125rem round calc(var(--tui-radius-m) - 0.125rem));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&[data-size='l'] [tuiInput][chrome-autofilled], /* Chrome on IOS */
|
|
66
|
+
&[data-size='l'] [tuiInput]:-webkit-autofill,
|
|
67
|
+
&[data-size='l'][tuiInput][chrome-autofilled], /* Chrome on IOS */
|
|
68
|
+
&[data-size='l'][tuiInput]:-webkit-autofill {
|
|
69
|
+
clip-path: inset(0.125rem round calc(var(--tui-radius-l) - 0.125rem));
|
|
67
70
|
}
|
|
68
71
|
}
|
|
69
72
|
|
|
@@ -1,29 +1,26 @@
|
|
|
1
|
-
@font-fallback: -apple-system, 'BlinkMacSystemFont', system-ui, 'Roboto', 'Segoe UI', 'Helvetica Neue', sans-serif;
|
|
2
|
-
|
|
3
1
|
&:root,
|
|
4
2
|
&:host {
|
|
5
3
|
// Fonts
|
|
6
|
-
--tui-font-
|
|
7
|
-
--tui-font-
|
|
4
|
+
--tui-font-family-text: 'Manrope', system-ui, sans-serif;
|
|
5
|
+
--tui-font-family-display: 'Manrope', system-ui, sans-serif;
|
|
8
6
|
--tui-font-offset: ~'0rem';
|
|
9
7
|
// Heading
|
|
10
|
-
--tui-font-heading-
|
|
11
|
-
--tui-font-heading-
|
|
12
|
-
--tui-font-heading-
|
|
13
|
-
--tui-font-heading-
|
|
14
|
-
--tui-font-heading-
|
|
15
|
-
--tui-font-heading-
|
|
8
|
+
--tui-font-heading-h1: bold calc(var(--tui-font-offset) + 3.125rem) / calc(50 / 56) var(--tui-font-family-display);
|
|
9
|
+
--tui-font-heading-h2: bold calc(var(--tui-font-offset) + 2.75rem) / calc(48 / 44) var(--tui-font-family-display);
|
|
10
|
+
--tui-font-heading-h3: bold calc(var(--tui-font-offset) + 2.25rem) / calc(40 / 36) var(--tui-font-family-display);
|
|
11
|
+
--tui-font-heading-h4: bold calc(var(--tui-font-offset) + 1.75rem) / calc(32 / 28) var(--tui-font-family-display);
|
|
12
|
+
--tui-font-heading-h5: bold calc(var(--tui-font-offset) + 1.5rem) / calc(28 / 24) var(--tui-font-family-display);
|
|
13
|
+
--tui-font-heading-h6: bold calc(var(--tui-font-offset) + 1.25rem) / calc(24 / 20) var(--tui-font-family-display);
|
|
16
14
|
// Body
|
|
17
|
-
--tui-font-
|
|
18
|
-
--tui-font-
|
|
19
|
-
--tui-font-
|
|
20
|
-
--tui-font-
|
|
21
|
-
--tui-font-text-xs: normal calc(var(--tui-font-offset) + 0.6875rem) / 1rem var(--tui-font-text);
|
|
15
|
+
--tui-font-body-l: normal calc(var(--tui-font-offset) + 1.0625rem) / calc(28 / 17) var(--tui-font-family-text);
|
|
16
|
+
--tui-font-body-m: normal calc(var(--tui-font-offset) + 1rem) / calc(24 / 16) var(--tui-font-family-text);
|
|
17
|
+
--tui-font-body-s: normal calc(var(--tui-font-offset) + 0.8125rem) / calc(20 / 13) var(--tui-font-family-text);
|
|
18
|
+
--tui-font-body-xs: normal calc(var(--tui-font-offset) + 0.6875rem) / calc(16 / 11) var(--tui-font-family-text);
|
|
22
19
|
// Reduced
|
|
23
|
-
--tui-font-
|
|
24
|
-
--tui-font-
|
|
25
|
-
--tui-font-
|
|
26
|
-
--tui-font-
|
|
20
|
+
--tui-font-ui-l: normal calc(var(--tui-font-offset) + 1.0625rem) / calc(24 / 17) var(--tui-font-family-text);
|
|
21
|
+
--tui-font-ui-m: normal calc(var(--tui-font-offset) + 1rem) / calc(20 / 16) var(--tui-font-family-text);
|
|
22
|
+
--tui-font-ui-s: normal calc(var(--tui-font-offset) + 0.8125rem) / calc(16 / 13) var(--tui-font-family-text);
|
|
23
|
+
--tui-font-ui-xs: normal calc(var(--tui-font-offset) + 0.6875rem) / calc(13 / 11) var(--tui-font-family-text);
|
|
27
24
|
// Radii
|
|
28
25
|
--tui-radius-xs: 0.25rem;
|
|
29
26
|
--tui-radius-s: 0.5rem;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { InjectionToken, type Signal } from '@angular/core';
|
|
2
|
+
import { type TuiMedia } from './media';
|
|
3
|
+
export type TuiBreakpointMediaKey = keyof Omit<TuiMedia, 'tablet'>;
|
|
4
|
+
export declare const TUI_BREAKPOINT: InjectionToken<Signal<"desktopLarge" | "desktopSmall" | "mobile">>;
|
package/tokens/common-icons.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
1
|
export interface TuiCommonIcons {
|
|
3
2
|
readonly check: string;
|
|
4
3
|
readonly close: string;
|
|
@@ -6,6 +5,7 @@ export interface TuiCommonIcons {
|
|
|
6
5
|
readonly more: string;
|
|
7
6
|
readonly search: string;
|
|
8
7
|
readonly ellipsis: string;
|
|
8
|
+
readonly decrement: string;
|
|
9
|
+
readonly increment: string;
|
|
9
10
|
}
|
|
10
|
-
export declare const TUI_COMMON_ICONS: InjectionToken<TuiCommonIcons
|
|
11
|
-
export declare function tuiCommonIconsProvider(icons: Partial<TuiCommonIcons>): Provider;
|
|
11
|
+
export declare const TUI_COMMON_ICONS: import("@angular/core").InjectionToken<TuiCommonIcons>, tuiCommonIconsProvider: (item: Partial<TuiCommonIcons> | (() => Partial<TuiCommonIcons>)) => import("@angular/core").FactoryProvider;
|
package/tokens/date-format.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
1
|
+
import { InjectionToken, type Provider, type Signal } from '@angular/core';
|
|
2
2
|
import { type TuiDateMode } from '@taiga-ui/cdk/date-time';
|
|
3
|
-
import { type Observable } from 'rxjs';
|
|
4
3
|
/**
|
|
5
4
|
* Formatting configuration for displayed dates
|
|
6
5
|
*/
|
|
@@ -19,5 +18,5 @@ export declare const TUI_DEFAULT_DATE_FORMAT: TuiDateFormatSettings;
|
|
|
19
18
|
/**
|
|
20
19
|
* Formatting configuration for displayed dates
|
|
21
20
|
*/
|
|
22
|
-
export declare const TUI_DATE_FORMAT: InjectionToken<
|
|
21
|
+
export declare const TUI_DATE_FORMAT: InjectionToken<Signal<TuiDateFormatSettings>>;
|
|
23
22
|
export declare function tuiDateFormatProvider(options: Partial<TuiDateFormatSettings>): Provider;
|
package/tokens/i18n.d.ts
CHANGED
|
@@ -2,28 +2,28 @@ import { InjectionToken } from '@angular/core';
|
|
|
2
2
|
/**
|
|
3
3
|
* Localized months names
|
|
4
4
|
*/
|
|
5
|
-
export declare const TUI_MONTHS: InjectionToken<import("
|
|
5
|
+
export declare const TUI_MONTHS: InjectionToken<import("@angular/core").Signal<readonly [January: string, February: string, March: string, April: string, May: string, June: string, July: string, August: string, September: string, October: string, November: string, December: string]>>;
|
|
6
6
|
/**
|
|
7
7
|
* i18n 'close' word
|
|
8
8
|
*/
|
|
9
|
-
export declare const TUI_CLOSE_WORD: InjectionToken<import("
|
|
9
|
+
export declare const TUI_CLOSE_WORD: InjectionToken<import("@angular/core").Signal<string>>;
|
|
10
10
|
/**
|
|
11
11
|
* i18n 'clear' word
|
|
12
12
|
*/
|
|
13
|
-
export declare const TUI_CLEAR_WORD: InjectionToken<import("
|
|
13
|
+
export declare const TUI_CLEAR_WORD: InjectionToken<import("@angular/core").Signal<string>>;
|
|
14
14
|
/**
|
|
15
15
|
* i18n 'Nothing found' message
|
|
16
16
|
*/
|
|
17
|
-
export declare const TUI_NOTHING_FOUND_MESSAGE: InjectionToken<import("
|
|
17
|
+
export declare const TUI_NOTHING_FOUND_MESSAGE: InjectionToken<import("@angular/core").Signal<string>>;
|
|
18
18
|
/**
|
|
19
19
|
* i18n of error message
|
|
20
20
|
*/
|
|
21
|
-
export declare const TUI_DEFAULT_ERROR_MESSAGE: InjectionToken<import("
|
|
21
|
+
export declare const TUI_DEFAULT_ERROR_MESSAGE: InjectionToken<import("@angular/core").Signal<string>>;
|
|
22
22
|
/**
|
|
23
23
|
* spin i18n texts
|
|
24
24
|
*/
|
|
25
|
-
export declare const TUI_SPIN_TEXTS: InjectionToken<import("
|
|
25
|
+
export declare const TUI_SPIN_TEXTS: InjectionToken<import("@angular/core").Signal<readonly [previous: string, next: string]>>;
|
|
26
26
|
/**
|
|
27
27
|
* calendars i18n texts
|
|
28
28
|
*/
|
|
29
|
-
export declare const TUI_SHORT_WEEK_DAYS: InjectionToken<import("
|
|
29
|
+
export declare const TUI_SHORT_WEEK_DAYS: InjectionToken<import("@angular/core").Signal<readonly [Monday: string, Tuesday: string, Wednesday: string, Thursday: string, Friday: string, Saturday: string, Sunday: string]>>;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
2
|
import { type TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
3
3
|
export declare const TUI_ICON_RESOLVER: InjectionToken<TuiStringHandler<string>>;
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated use {@link TUI_ICON_RESOLVER}
|
|
6
|
-
*/
|
|
7
|
-
export declare const TUI_ICON_START_RESOLVER: InjectionToken<TuiStringHandler<string>>;
|
|
8
4
|
export declare function tuiGetIconMode(icon?: string | null): string | undefined;
|
|
9
5
|
export declare function tuiInjectIconResolver(): TuiStringHandler<string>;
|
|
10
6
|
export declare function tuiIconResolverProvider(useValue: TuiStringHandler<string>): Provider;
|
package/tokens/icons.d.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
import { type FactoryProvider, InjectionToken } from '@angular/core';
|
|
2
2
|
export declare const TUI_ICON_REGISTRY: InjectionToken<Record<string, string>>;
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated: use {@link TUI_ICON_REGISTRY}
|
|
5
|
-
*/
|
|
6
|
-
export declare const TUI_ICON_STARTS: InjectionToken<Record<string, string>>;
|
|
7
3
|
export declare function tuiIconsProvider(icons: Record<string, string>): FactoryProvider;
|
package/tokens/index.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
export * from './animations-speed';
|
|
2
2
|
export * from './assets-path';
|
|
3
3
|
export * from './auxiliary';
|
|
4
|
+
export * from './breakpoint';
|
|
4
5
|
export * from './common-icons';
|
|
5
6
|
export * from './dark-mode';
|
|
6
7
|
export * from './date-format';
|
|
7
|
-
export * from './day-type-handler';
|
|
8
|
-
export * from './first-day-of-week';
|
|
9
8
|
export * from './i18n';
|
|
10
9
|
export * from './icon';
|
|
11
10
|
export * from './icon-resolver';
|
|
@@ -13,9 +12,7 @@ export * from './icons';
|
|
|
13
12
|
export * from './media';
|
|
14
13
|
export * from './number-format';
|
|
15
14
|
export * from './reduced-motion';
|
|
16
|
-
export * from './scroll-ref';
|
|
17
15
|
export * from './selection-stream';
|
|
18
|
-
export * from './spin-icons';
|
|
19
16
|
export * from './theme';
|
|
20
17
|
export * from './validation-errors';
|
|
21
18
|
export * from './viewport';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
1
|
+
import { InjectionToken, type Provider, type Signal } from '@angular/core';
|
|
2
2
|
import { type TuiRounding } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type Observable } from 'rxjs';
|
|
4
3
|
export type TuiDecimalMode = 'always' | 'not-zero' | 'pad';
|
|
5
4
|
export type TuiDecimalSymbol = ',' | '.';
|
|
6
5
|
/**
|
|
@@ -35,5 +34,5 @@ export declare const TUI_DEFAULT_NUMBER_FORMAT: TuiNumberFormatSettings;
|
|
|
35
34
|
/**
|
|
36
35
|
* Formatting configuration for displayed numbers
|
|
37
36
|
*/
|
|
38
|
-
export declare const TUI_NUMBER_FORMAT: InjectionToken<
|
|
37
|
+
export declare const TUI_NUMBER_FORMAT: InjectionToken<Signal<TuiNumberFormatSettings>>;
|
|
39
38
|
export declare function tuiNumberFormatProvider(options: Partial<TuiNumberFormatSettings>): Provider;
|
package/types/index.d.ts
CHANGED
|
@@ -2,7 +2,4 @@ export type * from './direction';
|
|
|
2
2
|
export type * from './interactive-state';
|
|
3
3
|
export type * from './orientation';
|
|
4
4
|
export type * from './point';
|
|
5
|
-
export type * from './portal-item';
|
|
6
|
-
export type * from './range-state';
|
|
7
5
|
export type * from './size';
|
|
8
|
-
export type * from './value-content-context';
|
package/types/point.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type TuiPoint = Readonly<[number, number]>;
|
|
1
|
+
export type TuiPoint = Readonly<[x: number, y: number]>;
|
package/types/size.d.ts
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Various sizes for components
|
|
3
|
-
*
|
|
4
|
-
* 'xxs' - extra extra small
|
|
5
|
-
* 'xs' - extra small
|
|
6
|
-
* 's' - small
|
|
7
|
-
* 'm' - medium (typically default)
|
|
8
|
-
* 'l' - large
|
|
9
|
-
* 'xl' - extra large
|
|
10
|
-
* 'xxl' - extra extra large
|
|
11
|
-
*/
|
|
12
1
|
export type TuiSizeM = 'm';
|
|
13
2
|
export type TuiSizeS = TuiSizeM | 's';
|
|
14
3
|
export type TuiSizeL = TuiSizeM | 'l';
|
package/utils/format/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './font-scaling';
|
|
2
|
+
export * from './get-duration';
|
|
2
3
|
export * from './is-editing-key';
|
|
3
4
|
export * from './is-obscured';
|
|
4
5
|
export * from './override-options';
|
|
5
6
|
export * from './provide-taiga';
|
|
6
7
|
export * from './size-bigger';
|
|
7
|
-
export * from './to-animation-options';
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
3
|
-
*/
|
|
4
|
-
export interface TuiDurationOptions {
|
|
5
|
-
params: {
|
|
6
|
-
duration: number;
|
|
7
|
-
};
|
|
8
|
-
value: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
12
|
-
*/
|
|
13
|
-
export declare const tuiParentAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
16
|
-
*/
|
|
17
|
-
export declare const tuiParentStop: import("@angular/animations").AnimationTriggerMetadata;
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
20
|
-
*/
|
|
21
|
-
export declare const tuiHost: import("@angular/animations").AnimationTriggerMetadata;
|
|
22
|
-
/**
|
|
23
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
24
|
-
*/
|
|
25
|
-
export declare const tuiHeightCollapse: import("@angular/animations").AnimationTriggerMetadata;
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
28
|
-
*/
|
|
29
|
-
export declare const tuiHeightCollapseList: import("@angular/animations").AnimationTriggerMetadata;
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
32
|
-
*/
|
|
33
|
-
export declare const tuiWidthCollapse: import("@angular/animations").AnimationTriggerMetadata;
|
|
34
|
-
/**
|
|
35
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
36
|
-
*/
|
|
37
|
-
export declare const tuiWidthCollapseList: import("@angular/animations").AnimationTriggerMetadata;
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
40
|
-
*/
|
|
41
|
-
export declare const tuiCrossFade: import("@angular/animations").AnimationTriggerMetadata;
|
|
42
|
-
/**
|
|
43
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
44
|
-
*/
|
|
45
|
-
export declare const tuiFadeIn: import("@angular/animations").AnimationTriggerMetadata;
|
|
46
|
-
/**
|
|
47
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
48
|
-
*/
|
|
49
|
-
export declare const tuiFadeInList: import("@angular/animations").AnimationTriggerMetadata;
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
52
|
-
*/
|
|
53
|
-
export declare const tuiFadeInTop: import("@angular/animations").AnimationTriggerMetadata;
|
|
54
|
-
/**
|
|
55
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
56
|
-
*/
|
|
57
|
-
export declare const tuiFadeInBottom: import("@angular/animations").AnimationTriggerMetadata;
|
|
58
|
-
/**
|
|
59
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
60
|
-
*/
|
|
61
|
-
export declare const tuiDropdownAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
62
|
-
/**
|
|
63
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
64
|
-
*/
|
|
65
|
-
export declare const tuiScaleIn: import("@angular/animations").AnimationTriggerMetadata;
|
|
66
|
-
/**
|
|
67
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
68
|
-
*/
|
|
69
|
-
export declare const tuiPop: import("@angular/animations").AnimationTriggerMetadata;
|
|
70
|
-
/**
|
|
71
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
72
|
-
*/
|
|
73
|
-
export declare const tuiScaleInList: import("@angular/animations").AnimationTriggerMetadata;
|
|
74
|
-
/**
|
|
75
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
76
|
-
*/
|
|
77
|
-
export declare const tuiSlideIn: import("@angular/animations").AnimationTriggerMetadata;
|
|
78
|
-
/**
|
|
79
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
80
|
-
*/
|
|
81
|
-
export declare const tuiSlideInLeft: import("@angular/animations").AnimationTriggerMetadata;
|
|
82
|
-
/**
|
|
83
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
84
|
-
*/
|
|
85
|
-
export declare const tuiSlideInLeftList: import("@angular/animations").AnimationTriggerMetadata;
|
|
86
|
-
/**
|
|
87
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
88
|
-
*/
|
|
89
|
-
export declare const tuiSlideInRight: import("@angular/animations").AnimationTriggerMetadata;
|
|
90
|
-
/**
|
|
91
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
92
|
-
*/
|
|
93
|
-
export declare const tuiSlideInRightList: import("@angular/animations").AnimationTriggerMetadata;
|
|
94
|
-
/**
|
|
95
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
96
|
-
*/
|
|
97
|
-
export declare const tuiSlideInTop: import("@angular/animations").AnimationTriggerMetadata;
|
|
98
|
-
/**
|
|
99
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
100
|
-
*/
|
|
101
|
-
export declare const tuiSlideInTopList: import("@angular/animations").AnimationTriggerMetadata;
|
|
102
|
-
/**
|
|
103
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
104
|
-
*/
|
|
105
|
-
export declare const tuiSlideInBottom: import("@angular/animations").AnimationTriggerMetadata;
|
|
106
|
-
/**
|
|
107
|
-
* @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
|
|
108
|
-
*/
|
|
109
|
-
export declare const tuiSlideInBottomList: import("@angular/animations").AnimationTriggerMetadata;
|
package/animations/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './animations';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type TuiPopover } from '@taiga-ui/cdk/services';
|
|
2
|
-
import { type TuiAlertOptions } from './alert.interfaces';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@taiga-ui/cdk/directives/animated";
|
|
5
|
-
export declare class TuiAlertComponent<O, I> {
|
|
6
|
-
private readonly el;
|
|
7
|
-
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
8
|
-
protected readonly close: import("@angular/core").Signal<string | undefined>;
|
|
9
|
-
protected readonly position: string;
|
|
10
|
-
protected readonly item: TuiPopover<TuiAlertOptions<I>, O>;
|
|
11
|
-
protected readonly sub: import("rxjs").Subscription;
|
|
12
|
-
get from(): string;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlertComponent<any, any>, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAlertComponent<any, any>, "tui-alert", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
|
|
15
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
|
|
2
|
-
import { type TuiAlertOptions } from './alert.interfaces';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiAlert<T> extends TuiPopoverDirective<TuiAlertOptions<T>> {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlert<any>, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAlert<any>, "ng-template[tuiAlert]", never, { "options": { "alias": "tuiAlertOptions"; "required": false; }; "open": { "alias": "tuiAlert"; "required": false; }; }, { "openChange": "tuiAlertChange"; }, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type TuiPopoverContext } from '@taiga-ui/cdk/services';
|
|
2
|
-
import { type TuiHandler } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type TuiNotificationOptions } from '@taiga-ui/core/components/notification';
|
|
4
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
5
|
-
export interface TuiAlertOptions<I = undefined> extends Omit<TuiNotificationOptions, 'size'> {
|
|
6
|
-
readonly autoClose: TuiHandler<string, number> | number;
|
|
7
|
-
readonly data: I;
|
|
8
|
-
readonly closeable: boolean;
|
|
9
|
-
readonly label: PolymorpheusContent<TuiAlertOptions<I>>;
|
|
10
|
-
}
|
|
11
|
-
export interface TuiAlertContext<O = void, I = undefined> extends TuiPopoverContext<O>, TuiAlertOptions<I> {
|
|
12
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TuiPopoverService } from '@taiga-ui/cdk/services';
|
|
2
|
-
import { type TuiAlertOptions } from './alert.interfaces';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiAlertService extends TuiPopoverService<TuiAlertOptions<any>> {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlertService, never>;
|
|
6
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TuiAlertService>;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type FactoryProvider, InjectionToken } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { type TuiAlertOptions } from './alert.interfaces';
|
|
4
|
-
export declare const TUI_ALERT_DEFAULT_OPTIONS: Omit<TuiAlertOptions, 'appearance' | 'icon'>;
|
|
5
|
-
export declare const TUI_ALERT_OPTIONS: InjectionToken<TuiAlertOptions<undefined>>;
|
|
6
|
-
export declare const TUI_ALERT_POSITION: InjectionToken<string>;
|
|
7
|
-
export declare const TUI_ALERTS: InjectionToken<BehaviorSubject<readonly any[]>>;
|
|
8
|
-
/**
|
|
9
|
-
* Grouping alerts by their component
|
|
10
|
-
*/
|
|
11
|
-
export declare const TUI_ALERTS_GROUPED: InjectionToken<import("rxjs").Observable<(readonly any[])[]>>;
|
|
12
|
-
export declare function tuiAlertOptionsProvider(options: Partial<TuiAlertOptions>): FactoryProvider;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Injector, type Type } from '@angular/core';
|
|
2
|
-
import { type TuiMapper } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { identity } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TuiAlerts {
|
|
6
|
-
private readonly injector;
|
|
7
|
-
protected readonly alerts$: import("rxjs").Observable<(readonly any[])[]>;
|
|
8
|
-
protected readonly trackBy: typeof identity;
|
|
9
|
-
protected readonly mapper: TuiMapper<[Type<any>], Injector>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlerts, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAlerts, "tui-alerts", never, {}, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type Provider, type Type } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TuiDataListDirective {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDataListDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDataListDirective, "ng-template[tuiDataList]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
7
|
-
export declare function tuiAsDataList(list: Type<TuiDataListDirective>): Provider;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, type Provider, type TemplateRef, type Type } from '@angular/core';
|
|
2
|
-
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Content for tuiOption component
|
|
7
|
-
*/
|
|
8
|
-
export declare const TUI_OPTION_CONTENT: InjectionToken<Type<any> | PolymorpheusContent<TuiContext<TemplateRef<Record<string, unknown>>>>>;
|
|
9
|
-
export declare function tuiAsOptionContent(useValue: PolymorpheusContent<TuiContext<TemplateRef<Record<string, unknown>>>> | Type<any>): Provider;
|
|
10
|
-
export declare class TuiWithOptionContent {
|
|
11
|
-
protected readonly localContent: Type<any> | null;
|
|
12
|
-
protected readonly globalContent: Type<any> | null;
|
|
13
|
-
get content(): Type<any> | null;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiWithOptionContent, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiWithOptionContent, never, never, {}, {}, ["localContent"], never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { type OnDestroy, type TemplateRef } from '@angular/core';
|
|
2
|
-
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@taiga-ui/core/directives/icons";
|
|
6
|
-
/**
|
|
7
|
-
* TODO(v5): delete
|
|
8
|
-
* @deprecated use `<button tuiOption new />` / `<a tuiOption new /> / `<label tuiOption new /> instead
|
|
9
|
-
*/
|
|
10
|
-
export declare class TuiOption<T = unknown> implements OnDestroy {
|
|
11
|
-
private readonly isMobile;
|
|
12
|
-
private readonly el;
|
|
13
|
-
private readonly dataList;
|
|
14
|
-
private readonly host;
|
|
15
|
-
protected readonly content: PolymorpheusContent<TuiContext<TemplateRef<Record<string, unknown>>>>;
|
|
16
|
-
protected readonly dropdown: import("@angular/core").WritableSignal<import("@angular/core").ComponentRef<unknown> | null> | undefined;
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
value?: T;
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
|
-
protected onClick(): void;
|
|
21
|
-
protected onMouseMove(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiOption<any>, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiOption<any>, "button[tuiOption]:not([new]), a[tuiOption]:not([new]), label[tuiOption]:not([new])", never, { "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.TuiWithIcons; inputs: {}; outputs: {}; }]>;
|
|
24
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { type OnDestroy } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@taiga-ui/core/directives/icons";
|
|
4
|
-
export declare class TuiOptionNew<T = unknown> implements OnDestroy {
|
|
5
|
-
private readonly vcr;
|
|
6
|
-
private readonly isMobile;
|
|
7
|
-
private readonly el;
|
|
8
|
-
private readonly dataList;
|
|
9
|
-
private readonly content;
|
|
10
|
-
private readonly ref;
|
|
11
|
-
protected readonly dropdown: import("@angular/core").WritableSignal<import("@angular/core").ComponentRef<unknown> | null> | undefined;
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
constructor();
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
protected onMouseMove(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiOptionNew<any>, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiOptionNew<any>, "button[tuiOption][new], a[tuiOption][new], label[tuiOption][new]", never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithIcons; inputs: {}; outputs: {}; }]>;
|
|
18
|
-
}
|
|
19
|
-
export declare class TuiOptionWithValue<T = unknown> {
|
|
20
|
-
private readonly host;
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
readonly value: import("@angular/core").WritableSignal<T | undefined>;
|
|
23
|
-
set valueSetter(x: T);
|
|
24
|
-
protected onClick(value?: T | undefined): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiOptionWithValue<any>, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiOptionWithValue<any>, "button[tuiOption][value][new], a[tuiOption][value][new], label[tuiOption][value][new]", never, { "disabled": { "alias": "disabled"; "required": false; }; "valueSetter": { "alias": "value"; "required": true; }; }, {}, never, never, true, never>;
|
|
27
|
-
}
|