@taiga-ui/experimental 3.58.0 → 3.59.0-canary.10da730
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/avatar/avatar.component.d.ts +2 -2
- package/components/avatar/avatar.options.d.ts +2 -1
- package/components/avatar-stack/avatar-stack.component.d.ts +1 -1
- package/components/badge/badge.component.d.ts +1 -1
- package/components/badge/badge.directive.d.ts +3 -2
- package/components/badge/badge.module.d.ts +1 -2
- package/components/badge/badge.options.d.ts +2 -2
- package/components/badge-notification/badge-notification.component.d.ts +1 -1
- package/components/badged-content/badged-content.component.d.ts +1 -1
- package/components/badged-content/badged-content.directive.d.ts +1 -1
- package/components/button/button.component.d.ts +1 -1
- package/components/button/button.directive.d.ts +4 -3
- package/components/button/button.module.d.ts +1 -2
- package/components/button/button.options.d.ts +2 -2
- package/components/checkbox/checkbox.component.d.ts +12 -12
- package/components/checkbox/checkbox.options.d.ts +4 -3
- package/components/chip/chip.component.d.ts +1 -1
- package/components/chip/chip.directive.d.ts +5 -3
- package/components/chip/chip.module.d.ts +1 -2
- package/components/chip/chip.options.d.ts +2 -2
- package/components/compass/compass.component.d.ts +1 -1
- package/components/icon/icon.component.d.ts +1 -1
- package/components/pin/pin.component.d.ts +1 -1
- package/components/radio/index.d.ts +1 -0
- package/components/radio/radio.component.d.ts +11 -5
- package/components/radio/radio.options.d.ts +10 -0
- package/components/rating/rating.component.d.ts +1 -1
- package/components/thumbnail-card/thumbnail-card.component.d.ts +1 -1
- package/components/toggle/toggle.component.d.ts +12 -8
- package/components/toggle/toggle.options.d.ts +3 -2
- package/components/tooltip/tooltip.component.d.ts +1 -1
- package/components/tooltip/tooltip.module.d.ts +3 -4
- package/directives/appearance/appearance.directive.d.ts +1 -1
- package/directives/appearance/appearance.options.d.ts +7 -0
- package/directives/appearance/index.d.ts +1 -1
- package/directives/button-close/button-close.directive.d.ts +1 -1
- package/directives/button-vertical/button-vertical.component.d.ts +1 -1
- package/directives/button-vertical/button-vertical.directive.d.ts +1 -1
- package/directives/card/card.component.d.ts +1 -1
- package/directives/card/card.directive.d.ts +1 -1
- package/directives/cell/cell.component.d.ts +1 -1
- package/directives/cell/cell.directive.d.ts +1 -1
- package/directives/fade/fade.component.d.ts +1 -1
- package/directives/fade/fade.directive.d.ts +1 -1
- package/directives/icons/icons.component.d.ts +1 -1
- package/directives/icons/icons.directive.d.ts +1 -1
- package/directives/icons/index.d.ts +0 -1
- package/directives/progress-segmented/progress-segmented.component.d.ts +1 -1
- package/directives/progress-segmented/progress-segmented.directive.d.ts +1 -1
- package/directives/sensitive/sensitive.component.d.ts +1 -1
- package/directives/sensitive/sensitive.directive.d.ts +1 -1
- package/directives/surface/surface.component.d.ts +1 -1
- package/directives/surface/surface.directive.d.ts +1 -1
- package/directives/title/title.component.d.ts +1 -1
- package/directives/title/title.directive.d.ts +1 -1
- package/esm2020/components/avatar/avatar.component.mjs +66 -0
- package/{esm2015/components/avatar/avatar.module.js → esm2020/components/avatar/avatar.module.mjs} +5 -5
- package/esm2020/components/avatar/avatar.options.mjs +11 -0
- package/{esm2015/components/avatar-stack/avatar-stack.component.js → esm2020/components/avatar-stack/avatar-stack.component.mjs} +5 -11
- package/{esm2015/components/avatar-stack/avatar-stack.module.js → esm2020/components/avatar-stack/avatar-stack.module.mjs} +5 -5
- package/esm2020/components/badge/badge.component.mjs +13 -0
- package/esm2020/components/badge/badge.directive.mjs +57 -0
- package/esm2020/components/badge/badge.module.mjs +17 -0
- package/esm2020/components/badge/badge.options.mjs +11 -0
- package/{esm2015/components/badge-notification/badge-notification.component.js → esm2020/components/badge-notification/badge-notification.component.mjs} +6 -13
- package/{esm2015/components/badge-notification/badge-notification.module.js → esm2020/components/badge-notification/badge-notification.module.mjs} +4 -4
- package/esm2020/components/badged-content/badged-content.component.mjs +12 -0
- package/{esm2015/components/badged-content/badged-content.directive.js → esm2020/components/badged-content/badged-content.directive.mjs} +3 -3
- package/{esm2015/components/badged-content/badged-content.module.js → esm2020/components/badged-content/badged-content.module.mjs} +5 -5
- package/{esm2015/components/button/button.component.js → esm2020/components/button/button.component.mjs} +6 -11
- package/esm2020/components/button/button.directive.mjs +69 -0
- package/esm2020/components/button/button.module.mjs +20 -0
- package/{esm2015/components/button/button.options.js → esm2020/components/button/button.options.mjs} +2 -2
- package/esm2020/components/checkbox/checkbox.component.mjs +64 -0
- package/{esm2015/components/checkbox/checkbox.module.js → esm2020/components/checkbox/checkbox.module.mjs} +4 -4
- package/esm2020/components/checkbox/checkbox.options.mjs +14 -0
- package/esm2020/components/chip/chip.component.mjs +13 -0
- package/esm2020/components/chip/chip.directive.mjs +72 -0
- package/esm2020/components/chip/chip.module.mjs +17 -0
- package/{esm2015/components/chip/chip.options.js → esm2020/components/chip/chip.options.mjs} +2 -2
- package/{esm2015/components/compass/compass.component.js → esm2020/components/compass/compass.component.mjs} +5 -10
- package/{esm2015/components/compass/compass.module.js → esm2020/components/compass/compass.module.mjs} +4 -4
- package/{esm2015/components/icon/icon.component.js → esm2020/components/icon/icon.component.mjs} +6 -12
- package/{esm2015/components/icon/icon.module.js → esm2020/components/icon/icon.module.mjs} +4 -4
- package/esm2020/components/pin/pin.component.mjs +19 -0
- package/{esm2015/components/pin/pin.module.js → esm2020/components/pin/pin.module.mjs} +4 -4
- package/{esm2015/components/radio/index.js → esm2020/components/radio/index.mjs} +2 -1
- package/esm2020/components/radio/radio.component.mjs +43 -0
- package/{esm2015/components/radio/radio.module.js → esm2020/components/radio/radio.module.mjs} +4 -4
- package/esm2020/components/radio/radio.options.mjs +10 -0
- package/esm2020/components/rating/rating.component.mjs +93 -0
- package/{esm2015/components/rating/rating.module.js → esm2020/components/rating/rating.module.mjs} +9 -11
- package/esm2020/components/thumbnail-card/thumbnail-card.component.mjs +51 -0
- package/{esm2015/components/thumbnail-card/thumbnail-card.module.js → esm2020/components/thumbnail-card/thumbnail-card.module.mjs} +5 -5
- package/esm2020/components/toggle/toggle.component.mjs +57 -0
- package/{esm2015/components/toggle/toggle.module.js → esm2020/components/toggle/toggle.module.mjs} +4 -4
- package/esm2020/components/toggle/toggle.options.mjs +12 -0
- package/esm2020/components/tooltip/tooltip.component.mjs +79 -0
- package/{esm2015/components/tooltip/tooltip.module.js → esm2020/components/tooltip/tooltip.module.mjs} +11 -17
- package/esm2020/directives/appearance/appearance.directive.mjs +32 -0
- package/esm2020/directives/appearance/appearance.options.mjs +9 -0
- package/{esm2015/directives/appearance/index.js → esm2020/directives/appearance/index.mjs} +2 -2
- package/{esm2015/directives/button-close/button-close.directive.js → esm2020/directives/button-close/button-close.directive.mjs} +3 -3
- package/{esm2015/directives/button-close/button-close.module.js → esm2020/directives/button-close/button-close.module.mjs} +4 -4
- package/esm2020/directives/button-vertical/button-vertical.component.mjs +13 -0
- package/{esm2015/directives/button-vertical/button-vertical.directive.js → esm2020/directives/button-vertical/button-vertical.directive.mjs} +3 -3
- package/{esm2015/directives/button-vertical/button-vertical.module.js → esm2020/directives/button-vertical/button-vertical.module.mjs} +4 -4
- package/esm2020/directives/card/card.component.mjs +13 -0
- package/{esm2015/directives/card/card.directive.js → esm2020/directives/card/card.directive.mjs} +3 -3
- package/{esm2015/directives/card/card.module.js → esm2020/directives/card/card.module.mjs} +4 -4
- package/esm2020/directives/cell/cell.component.mjs +13 -0
- package/{esm2015/directives/cell/cell.directive.js → esm2020/directives/cell/cell.directive.mjs} +3 -3
- package/{esm2015/directives/cell/cell.module.js → esm2020/directives/cell/cell.module.mjs} +4 -4
- package/{esm2015/directives/fade/fade.component.js → esm2020/directives/fade/fade.component.mjs} +6 -12
- package/esm2020/directives/fade/fade.directive.mjs +103 -0
- package/{esm2015/directives/fade/fade.module.js → esm2020/directives/fade/fade.module.mjs} +4 -4
- package/esm2020/directives/icons/icons.component.mjs +13 -0
- package/esm2020/directives/icons/icons.directive.mjs +41 -0
- package/{esm2015/directives/icons/index.js → esm2020/directives/icons/index.mjs} +1 -2
- package/{esm2015/directives/progress-segmented/progress-segmented.component.js → esm2020/directives/progress-segmented/progress-segmented.component.mjs} +5 -11
- package/{esm2015/directives/progress-segmented/progress-segmented.directive.js → esm2020/directives/progress-segmented/progress-segmented.directive.mjs} +3 -3
- package/{esm2015/directives/progress-segmented/progress-segmented.module.js → esm2020/directives/progress-segmented/progress-segmented.module.mjs} +4 -4
- package/{esm2015/directives/sensitive/sensitive.component.js → esm2020/directives/sensitive/sensitive.component.mjs} +6 -12
- package/{esm2015/directives/sensitive/sensitive.directive.js → esm2020/directives/sensitive/sensitive.directive.mjs} +3 -3
- package/{esm2015/directives/sensitive/sensitive.module.js → esm2020/directives/sensitive/sensitive.module.mjs} +4 -4
- package/esm2020/directives/surface/surface.component.mjs +13 -0
- package/{esm2015/directives/surface/surface.directive.js → esm2020/directives/surface/surface.directive.mjs} +3 -3
- package/{esm2015/directives/surface/surface.module.js → esm2020/directives/surface/surface.module.mjs} +4 -4
- package/esm2020/directives/title/title.component.mjs +13 -0
- package/{esm2015/directives/title/title.directive.js → esm2020/directives/title/title.directive.mjs} +3 -3
- package/{esm2015/directives/title/title.module.js → esm2020/directives/title/title.module.mjs} +4 -4
- package/{esm2015/pipes/amount/amount.module.js → esm2020/pipes/amount/amount.module.mjs} +4 -4
- package/esm2020/pipes/amount/amount.pipe.mjs +51 -0
- package/{esm2015/pipes/auto-color/auto-color.module.js → esm2020/pipes/auto-color/auto-color.module.mjs} +4 -4
- package/{esm2015/pipes/auto-color/auto-color.pipe.js → esm2020/pipes/auto-color/auto-color.pipe.mjs} +3 -3
- package/{esm2015/pipes/fallback-src/fallback-src.module.js → esm2020/pipes/fallback-src/fallback-src.module.mjs} +4 -4
- package/esm2020/pipes/fallback-src/fallback-src.pipe.mjs +24 -0
- package/{esm2015/pipes/initials/initials.module.js → esm2020/pipes/initials/initials.module.mjs} +4 -4
- package/{esm2015/pipes/initials/initials.pipe.js → esm2020/pipes/initials/initials.pipe.mjs} +3 -3
- package/fesm2015/{taiga-ui-experimental-components-avatar-stack.js → taiga-ui-experimental-components-avatar-stack.mjs} +9 -15
- package/fesm2015/taiga-ui-experimental-components-avatar-stack.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-avatar.mjs +101 -0
- package/fesm2015/taiga-ui-experimental-components-avatar.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-badge-notification.mjs +46 -0
- package/fesm2015/taiga-ui-experimental-components-badge-notification.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-badge.mjs +98 -0
- package/fesm2015/taiga-ui-experimental-components-badge.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-components-badged-content.js → taiga-ui-experimental-components-badged-content.mjs} +12 -17
- package/fesm2015/taiga-ui-experimental-components-badged-content.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-button.mjs +142 -0
- package/fesm2015/taiga-ui-experimental-components-button.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-checkbox.mjs +97 -0
- package/fesm2015/taiga-ui-experimental-components-checkbox.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-chip.mjs +112 -0
- package/fesm2015/taiga-ui-experimental-components-chip.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-components-compass.js → taiga-ui-experimental-components-compass.mjs} +9 -14
- package/fesm2015/taiga-ui-experimental-components-compass.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-icon.mjs +51 -0
- package/fesm2015/taiga-ui-experimental-components-icon.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-pin.mjs +39 -0
- package/fesm2015/taiga-ui-experimental-components-pin.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-radio.mjs +71 -0
- package/fesm2015/taiga-ui-experimental-components-radio.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-rating.mjs +142 -0
- package/fesm2015/taiga-ui-experimental-components-rating.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-thumbnail-card.mjs +76 -0
- package/fesm2015/taiga-ui-experimental-components-thumbnail-card.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-toggle.mjs +87 -0
- package/fesm2015/taiga-ui-experimental-components-toggle.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-tooltip.mjs +128 -0
- package/fesm2015/taiga-ui-experimental-components-tooltip.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-components.js → taiga-ui-experimental-components.mjs} +1 -1
- package/fesm2015/taiga-ui-experimental-components.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-appearance.mjs +47 -0
- package/fesm2015/taiga-ui-experimental-directives-appearance.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-button-close.mjs +58 -0
- package/fesm2015/taiga-ui-experimental-directives-button-close.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-button-vertical.mjs +54 -0
- package/fesm2015/taiga-ui-experimental-directives-button-vertical.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-card.mjs +62 -0
- package/fesm2015/taiga-ui-experimental-directives-card.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-cell.mjs +70 -0
- package/fesm2015/taiga-ui-experimental-directives-cell.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-fade.mjs +135 -0
- package/fesm2015/taiga-ui-experimental-directives-fade.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-icons.mjs +60 -0
- package/fesm2015/taiga-ui-experimental-directives-icons.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-progress-segmented.mjs +64 -0
- package/fesm2015/taiga-ui-experimental-directives-progress-segmented.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-sensitive.mjs +62 -0
- package/fesm2015/taiga-ui-experimental-directives-sensitive.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-surface.mjs +61 -0
- package/fesm2015/taiga-ui-experimental-directives-surface.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-title.mjs +62 -0
- package/fesm2015/taiga-ui-experimental-directives-title.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-directives.js → taiga-ui-experimental-directives.mjs} +1 -1
- package/fesm2015/taiga-ui-experimental-directives.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-pipes-amount.js → taiga-ui-experimental-pipes-amount.mjs} +18 -16
- package/fesm2015/taiga-ui-experimental-pipes-amount.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-pipes-auto-color.js → taiga-ui-experimental-pipes-auto-color.mjs} +8 -8
- package/fesm2015/taiga-ui-experimental-pipes-auto-color.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-pipes-fallback-src.mjs +46 -0
- package/fesm2015/taiga-ui-experimental-pipes-fallback-src.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-pipes-initials.js → taiga-ui-experimental-pipes-initials.mjs} +8 -8
- package/fesm2015/taiga-ui-experimental-pipes-initials.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-pipes.js → taiga-ui-experimental-pipes.mjs} +1 -1
- package/fesm2015/taiga-ui-experimental-pipes.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-tokens.js → taiga-ui-experimental-tokens.mjs} +1 -1
- package/fesm2015/taiga-ui-experimental-tokens.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental.js → taiga-ui-experimental.mjs} +1 -1
- package/fesm2015/taiga-ui-experimental.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-avatar-stack.mjs +41 -0
- package/fesm2020/taiga-ui-experimental-components-avatar-stack.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-avatar.mjs +99 -0
- package/fesm2020/taiga-ui-experimental-components-avatar.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-components-badge-notification.js → fesm2020/taiga-ui-experimental-components-badge-notification.mjs} +10 -17
- package/fesm2020/taiga-ui-experimental-components-badge-notification.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-badge.mjs +96 -0
- package/fesm2020/taiga-ui-experimental-components-badge.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-badged-content.mjs +51 -0
- package/fesm2020/taiga-ui-experimental-components-badged-content.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-button.mjs +138 -0
- package/fesm2020/taiga-ui-experimental-components-button.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-checkbox.mjs +96 -0
- package/fesm2020/taiga-ui-experimental-components-checkbox.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-chip.mjs +110 -0
- package/fesm2020/taiga-ui-experimental-components-chip.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-compass.mjs +39 -0
- package/fesm2020/taiga-ui-experimental-components-compass.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-components-icon.js → fesm2020/taiga-ui-experimental-components-icon.mjs} +10 -16
- package/fesm2020/taiga-ui-experimental-components-icon.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-pin.mjs +39 -0
- package/fesm2020/taiga-ui-experimental-components-pin.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-radio.mjs +71 -0
- package/fesm2020/taiga-ui-experimental-components-radio.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-components-rating.js → fesm2020/taiga-ui-experimental-components-rating.mjs} +19 -27
- package/fesm2020/taiga-ui-experimental-components-rating.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-components-thumbnail-card.js → fesm2020/taiga-ui-experimental-components-thumbnail-card.mjs} +12 -17
- package/fesm2020/taiga-ui-experimental-components-thumbnail-card.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-toggle.mjs +87 -0
- package/fesm2020/taiga-ui-experimental-components-toggle.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-components-tooltip.js → fesm2020/taiga-ui-experimental-components-tooltip.mjs} +25 -39
- package/fesm2020/taiga-ui-experimental-components-tooltip.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components.mjs +21 -0
- package/fesm2020/taiga-ui-experimental-components.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-directives-appearance.mjs +47 -0
- package/fesm2020/taiga-ui-experimental-directives-appearance.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-button-close.js → fesm2020/taiga-ui-experimental-directives-button-close.mjs} +8 -8
- package/fesm2020/taiga-ui-experimental-directives-button-close.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-button-vertical.js → fesm2020/taiga-ui-experimental-directives-button-vertical.mjs} +13 -19
- package/fesm2020/taiga-ui-experimental-directives-button-vertical.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-card.js → fesm2020/taiga-ui-experimental-directives-card.mjs} +13 -19
- package/fesm2020/taiga-ui-experimental-directives-card.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-directives-cell.mjs +68 -0
- package/fesm2020/taiga-ui-experimental-directives-cell.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-fade.js → fesm2020/taiga-ui-experimental-directives-fade.mjs} +14 -21
- package/fesm2020/taiga-ui-experimental-directives-fade.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-directives-icons.mjs +58 -0
- package/fesm2020/taiga-ui-experimental-directives-icons.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-progress-segmented.js → fesm2020/taiga-ui-experimental-directives-progress-segmented.mjs} +12 -18
- package/fesm2020/taiga-ui-experimental-directives-progress-segmented.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-sensitive.js → fesm2020/taiga-ui-experimental-directives-sensitive.mjs} +13 -19
- package/fesm2020/taiga-ui-experimental-directives-sensitive.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-directives-surface.mjs +59 -0
- package/fesm2020/taiga-ui-experimental-directives-surface.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-title.js → fesm2020/taiga-ui-experimental-directives-title.mjs} +13 -19
- package/fesm2020/taiga-ui-experimental-directives-title.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-directives.mjs +16 -0
- package/fesm2020/taiga-ui-experimental-directives.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-pipes-amount.mjs +80 -0
- package/fesm2020/taiga-ui-experimental-pipes-amount.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-pipes-auto-color.mjs +37 -0
- package/fesm2020/taiga-ui-experimental-pipes-auto-color.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-pipes-fallback-src.js → fesm2020/taiga-ui-experimental-pipes-fallback-src.mjs} +9 -10
- package/fesm2020/taiga-ui-experimental-pipes-fallback-src.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-pipes-initials.mjs +41 -0
- package/fesm2020/taiga-ui-experimental-pipes-initials.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-pipes.mjs +9 -0
- package/fesm2020/taiga-ui-experimental-pipes.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-tokens.mjs +22 -0
- package/fesm2020/taiga-ui-experimental-tokens.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental.mjs +9 -0
- package/fesm2020/taiga-ui-experimental.mjs.map +1 -0
- package/package.json +324 -31
- package/pipes/amount/amount.pipe.d.ts +1 -1
- package/pipes/auto-color/auto-color.pipe.d.ts +1 -1
- package/pipes/fallback-src/fallback-src.pipe.d.ts +1 -1
- package/pipes/initials/initials.pipe.d.ts +1 -1
- package/bundles/taiga-ui-experimental-components-avatar-stack.umd.js +0 -78
- package/bundles/taiga-ui-experimental-components-avatar-stack.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-avatar.umd.js +0 -138
- package/bundles/taiga-ui-experimental-components-avatar.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-badge-notification.umd.js +0 -84
- package/bundles/taiga-ui-experimental-components-badge-notification.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-badge.umd.js +0 -129
- package/bundles/taiga-ui-experimental-components-badge.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-badged-content.umd.js +0 -90
- package/bundles/taiga-ui-experimental-components-badged-content.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-button.umd.js +0 -186
- package/bundles/taiga-ui-experimental-components-button.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-checkbox.umd.js +0 -152
- package/bundles/taiga-ui-experimental-components-checkbox.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-chip.umd.js +0 -140
- package/bundles/taiga-ui-experimental-components-chip.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-compass.umd.js +0 -76
- package/bundles/taiga-ui-experimental-components-compass.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-icon.umd.js +0 -88
- package/bundles/taiga-ui-experimental-components-icon.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-pin.umd.js +0 -76
- package/bundles/taiga-ui-experimental-components-pin.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-radio.umd.js +0 -89
- package/bundles/taiga-ui-experimental-components-radio.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-rating.umd.js +0 -507
- package/bundles/taiga-ui-experimental-components-rating.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-thumbnail-card.umd.js +0 -113
- package/bundles/taiga-ui-experimental-components-thumbnail-card.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-toggle.umd.js +0 -126
- package/bundles/taiga-ui-experimental-components-toggle.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-tooltip.umd.js +0 -496
- package/bundles/taiga-ui-experimental-components-tooltip.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components.umd.js +0 -111
- package/bundles/taiga-ui-experimental-components.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-appearance.umd.js +0 -82
- package/bundles/taiga-ui-experimental-directives-appearance.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-button-close.umd.js +0 -88
- package/bundles/taiga-ui-experimental-directives-button-close.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js +0 -95
- package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-card.umd.js +0 -103
- package/bundles/taiga-ui-experimental-directives-card.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-cell.umd.js +0 -110
- package/bundles/taiga-ui-experimental-directives-cell.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-fade.umd.js +0 -175
- package/bundles/taiga-ui-experimental-directives-fade.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-icons.umd.js +0 -113
- package/bundles/taiga-ui-experimental-directives-icons.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js +0 -105
- package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-sensitive.umd.js +0 -103
- package/bundles/taiga-ui-experimental-directives-sensitive.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-surface.umd.js +0 -102
- package/bundles/taiga-ui-experimental-directives-surface.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-title.umd.js +0 -103
- package/bundles/taiga-ui-experimental-directives-title.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives.umd.js +0 -81
- package/bundles/taiga-ui-experimental-directives.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-pipes-amount.umd.js +0 -113
- package/bundles/taiga-ui-experimental-pipes-amount.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-pipes-auto-color.umd.js +0 -70
- package/bundles/taiga-ui-experimental-pipes-auto-color.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-pipes-fallback-src.umd.js +0 -76
- package/bundles/taiga-ui-experimental-pipes-fallback-src.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-pipes-initials.umd.js +0 -396
- package/bundles/taiga-ui-experimental-pipes-initials.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-pipes.umd.js +0 -39
- package/bundles/taiga-ui-experimental-pipes.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-tokens.umd.js +0 -31
- package/bundles/taiga-ui-experimental-tokens.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental.umd.js +0 -39
- package/bundles/taiga-ui-experimental.umd.js.map +0 -1
- package/components/avatar/package.json +0 -10
- package/components/avatar/taiga-ui-experimental-components-avatar.d.ts +0 -5
- package/components/avatar-stack/package.json +0 -10
- package/components/avatar-stack/taiga-ui-experimental-components-avatar-stack.d.ts +0 -5
- package/components/badge/package.json +0 -10
- package/components/badge/taiga-ui-experimental-components-badge.d.ts +0 -5
- package/components/badge-notification/package.json +0 -10
- package/components/badge-notification/taiga-ui-experimental-components-badge-notification.d.ts +0 -5
- package/components/badged-content/package.json +0 -10
- package/components/badged-content/taiga-ui-experimental-components-badged-content.d.ts +0 -5
- package/components/button/package.json +0 -10
- package/components/button/taiga-ui-experimental-components-button.d.ts +0 -5
- package/components/checkbox/package.json +0 -10
- package/components/checkbox/taiga-ui-experimental-components-checkbox.d.ts +0 -5
- package/components/chip/package.json +0 -10
- package/components/chip/taiga-ui-experimental-components-chip.d.ts +0 -5
- package/components/compass/package.json +0 -10
- package/components/compass/taiga-ui-experimental-components-compass.d.ts +0 -5
- package/components/icon/package.json +0 -10
- package/components/icon/taiga-ui-experimental-components-icon.d.ts +0 -5
- package/components/package.json +0 -10
- package/components/pin/package.json +0 -10
- package/components/pin/taiga-ui-experimental-components-pin.d.ts +0 -5
- package/components/radio/package.json +0 -10
- package/components/radio/taiga-ui-experimental-components-radio.d.ts +0 -5
- package/components/rating/package.json +0 -10
- package/components/rating/taiga-ui-experimental-components-rating.d.ts +0 -5
- package/components/taiga-ui-experimental-components.d.ts +0 -5
- package/components/thumbnail-card/package.json +0 -10
- package/components/thumbnail-card/taiga-ui-experimental-components-thumbnail-card.d.ts +0 -5
- package/components/toggle/package.json +0 -10
- package/components/toggle/taiga-ui-experimental-components-toggle.d.ts +0 -5
- package/components/tooltip/package.json +0 -10
- package/components/tooltip/taiga-ui-experimental-components-tooltip.d.ts +0 -5
- package/directives/appearance/appearance.module.d.ts +0 -7
- package/directives/appearance/package.json +0 -10
- package/directives/appearance/taiga-ui-experimental-directives-appearance.d.ts +0 -5
- package/directives/button-close/package.json +0 -10
- package/directives/button-close/taiga-ui-experimental-directives-button-close.d.ts +0 -5
- package/directives/button-vertical/package.json +0 -10
- package/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.d.ts +0 -5
- package/directives/card/package.json +0 -10
- package/directives/card/taiga-ui-experimental-directives-card.d.ts +0 -5
- package/directives/cell/package.json +0 -10
- package/directives/cell/taiga-ui-experimental-directives-cell.d.ts +0 -5
- package/directives/fade/package.json +0 -10
- package/directives/fade/taiga-ui-experimental-directives-fade.d.ts +0 -5
- package/directives/icons/icons.module.d.ts +0 -8
- package/directives/icons/package.json +0 -10
- package/directives/icons/taiga-ui-experimental-directives-icons.d.ts +0 -5
- package/directives/package.json +0 -10
- package/directives/progress-segmented/package.json +0 -10
- package/directives/progress-segmented/taiga-ui-experimental-directives-progress-segmented.d.ts +0 -5
- package/directives/sensitive/package.json +0 -10
- package/directives/sensitive/taiga-ui-experimental-directives-sensitive.d.ts +0 -5
- package/directives/surface/package.json +0 -10
- package/directives/surface/taiga-ui-experimental-directives-surface.d.ts +0 -5
- package/directives/taiga-ui-experimental-directives.d.ts +0 -5
- package/directives/title/package.json +0 -10
- package/directives/title/taiga-ui-experimental-directives-title.d.ts +0 -5
- package/esm2015/components/avatar/avatar.component.js +0 -66
- package/esm2015/components/avatar/avatar.options.js +0 -10
- package/esm2015/components/badge/badge.component.js +0 -19
- package/esm2015/components/badge/badge.directive.js +0 -43
- package/esm2015/components/badge/badge.module.js +0 -19
- package/esm2015/components/badge/badge.options.js +0 -11
- package/esm2015/components/badged-content/badged-content.component.js +0 -17
- package/esm2015/components/button/button.directive.js +0 -62
- package/esm2015/components/button/button.module.js +0 -21
- package/esm2015/components/checkbox/checkbox.component.js +0 -83
- package/esm2015/components/checkbox/checkbox.options.js +0 -13
- package/esm2015/components/chip/chip.component.js +0 -19
- package/esm2015/components/chip/chip.directive.js +0 -59
- package/esm2015/components/chip/chip.module.js +0 -19
- package/esm2015/components/pin/pin.component.js +0 -24
- package/esm2015/components/radio/radio.component.js +0 -36
- package/esm2015/components/rating/rating.component.js +0 -99
- package/esm2015/components/thumbnail-card/thumbnail-card.component.js +0 -56
- package/esm2015/components/toggle/toggle.component.js +0 -59
- package/esm2015/components/toggle/toggle.options.js +0 -11
- package/esm2015/components/tooltip/tooltip.component.js +0 -88
- package/esm2015/directives/appearance/appearance.directive.js +0 -30
- package/esm2015/directives/appearance/appearance.module.js +0 -16
- package/esm2015/directives/button-vertical/button-vertical.component.js +0 -19
- package/esm2015/directives/card/card.component.js +0 -19
- package/esm2015/directives/cell/cell.component.js +0 -19
- package/esm2015/directives/fade/fade.directive.js +0 -104
- package/esm2015/directives/icons/icons.component.js +0 -19
- package/esm2015/directives/icons/icons.directive.js +0 -41
- package/esm2015/directives/icons/icons.module.js +0 -17
- package/esm2015/directives/surface/surface.component.js +0 -19
- package/esm2015/directives/title/title.component.js +0 -19
- package/esm2015/pipes/amount/amount.pipe.js +0 -48
- package/esm2015/pipes/fallback-src/fallback-src.pipe.js +0 -25
- package/fesm2015/taiga-ui-experimental-components-avatar-stack.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-avatar.js +0 -98
- package/fesm2015/taiga-ui-experimental-components-avatar.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-badge-notification.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-badge.js +0 -90
- package/fesm2015/taiga-ui-experimental-components-badge.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-badged-content.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-button.js +0 -137
- package/fesm2015/taiga-ui-experimental-components-button.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-checkbox.js +0 -114
- package/fesm2015/taiga-ui-experimental-components-checkbox.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-chip.js +0 -105
- package/fesm2015/taiga-ui-experimental-components-chip.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-compass.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-icon.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-pin.js +0 -44
- package/fesm2015/taiga-ui-experimental-components-pin.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-radio.js +0 -56
- package/fesm2015/taiga-ui-experimental-components-radio.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-rating.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-thumbnail-card.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-toggle.js +0 -88
- package/fesm2015/taiga-ui-experimental-components-toggle.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-tooltip.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-appearance.js +0 -50
- package/fesm2015/taiga-ui-experimental-directives-appearance.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-button-close.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-button-vertical.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-card.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-cell.js +0 -74
- package/fesm2015/taiga-ui-experimental-directives-cell.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-fade.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-icons.js +0 -77
- package/fesm2015/taiga-ui-experimental-directives-icons.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-progress-segmented.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-sensitive.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-surface.js +0 -65
- package/fesm2015/taiga-ui-experimental-directives-surface.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-title.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-pipes-amount.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-pipes-auto-color.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-pipes-fallback-src.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-pipes-initials.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-pipes.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-tokens.js.map +0 -1
- package/fesm2015/taiga-ui-experimental.js.map +0 -1
- package/pipes/amount/package.json +0 -10
- package/pipes/amount/taiga-ui-experimental-pipes-amount.d.ts +0 -5
- package/pipes/auto-color/package.json +0 -10
- package/pipes/auto-color/taiga-ui-experimental-pipes-auto-color.d.ts +0 -5
- package/pipes/fallback-src/package.json +0 -10
- package/pipes/fallback-src/taiga-ui-experimental-pipes-fallback-src.d.ts +0 -5
- package/pipes/initials/package.json +0 -10
- package/pipes/initials/taiga-ui-experimental-pipes-initials.d.ts +0 -5
- package/pipes/package.json +0 -10
- package/pipes/taiga-ui-experimental-pipes.d.ts +0 -5
- package/taiga-ui-experimental.d.ts +0 -5
- package/tokens/package.json +0 -10
- package/tokens/taiga-ui-experimental-tokens.d.ts +0 -5
- /package/{esm2015/components/avatar/index.js → esm2020/components/avatar/index.mjs} +0 -0
- /package/{esm2015/components/avatar/taiga-ui-experimental-components-avatar.js → esm2020/components/avatar/taiga-ui-experimental-components-avatar.mjs} +0 -0
- /package/{esm2015/components/avatar-stack/index.js → esm2020/components/avatar-stack/index.mjs} +0 -0
- /package/{esm2015/components/avatar-stack/taiga-ui-experimental-components-avatar-stack.js → esm2020/components/avatar-stack/taiga-ui-experimental-components-avatar-stack.mjs} +0 -0
- /package/{esm2015/components/badge/index.js → esm2020/components/badge/index.mjs} +0 -0
- /package/{esm2015/components/badge/taiga-ui-experimental-components-badge.js → esm2020/components/badge/taiga-ui-experimental-components-badge.mjs} +0 -0
- /package/{esm2015/components/badge-notification/index.js → esm2020/components/badge-notification/index.mjs} +0 -0
- /package/{esm2015/components/badge-notification/taiga-ui-experimental-components-badge-notification.js → esm2020/components/badge-notification/taiga-ui-experimental-components-badge-notification.mjs} +0 -0
- /package/{esm2015/components/badged-content/index.js → esm2020/components/badged-content/index.mjs} +0 -0
- /package/{esm2015/components/badged-content/taiga-ui-experimental-components-badged-content.js → esm2020/components/badged-content/taiga-ui-experimental-components-badged-content.mjs} +0 -0
- /package/{esm2015/components/button/index.js → esm2020/components/button/index.mjs} +0 -0
- /package/{esm2015/components/button/taiga-ui-experimental-components-button.js → esm2020/components/button/taiga-ui-experimental-components-button.mjs} +0 -0
- /package/{esm2015/components/checkbox/index.js → esm2020/components/checkbox/index.mjs} +0 -0
- /package/{esm2015/components/checkbox/taiga-ui-experimental-components-checkbox.js → esm2020/components/checkbox/taiga-ui-experimental-components-checkbox.mjs} +0 -0
- /package/{esm2015/components/chip/index.js → esm2020/components/chip/index.mjs} +0 -0
- /package/{esm2015/components/chip/taiga-ui-experimental-components-chip.js → esm2020/components/chip/taiga-ui-experimental-components-chip.mjs} +0 -0
- /package/{esm2015/components/compass/index.js → esm2020/components/compass/index.mjs} +0 -0
- /package/{esm2015/components/compass/taiga-ui-experimental-components-compass.js → esm2020/components/compass/taiga-ui-experimental-components-compass.mjs} +0 -0
- /package/{esm2015/components/icon/index.js → esm2020/components/icon/index.mjs} +0 -0
- /package/{esm2015/components/icon/taiga-ui-experimental-components-icon.js → esm2020/components/icon/taiga-ui-experimental-components-icon.mjs} +0 -0
- /package/{esm2015/components/index.js → esm2020/components/index.mjs} +0 -0
- /package/{esm2015/components/pin/index.js → esm2020/components/pin/index.mjs} +0 -0
- /package/{esm2015/components/pin/taiga-ui-experimental-components-pin.js → esm2020/components/pin/taiga-ui-experimental-components-pin.mjs} +0 -0
- /package/{esm2015/components/radio/taiga-ui-experimental-components-radio.js → esm2020/components/radio/taiga-ui-experimental-components-radio.mjs} +0 -0
- /package/{esm2015/components/rating/index.js → esm2020/components/rating/index.mjs} +0 -0
- /package/{esm2015/components/rating/rating.options.js → esm2020/components/rating/rating.options.mjs} +0 -0
- /package/{esm2015/components/rating/taiga-ui-experimental-components-rating.js → esm2020/components/rating/taiga-ui-experimental-components-rating.mjs} +0 -0
- /package/{esm2015/components/taiga-ui-experimental-components.js → esm2020/components/taiga-ui-experimental-components.mjs} +0 -0
- /package/{esm2015/components/thumbnail-card/index.js → esm2020/components/thumbnail-card/index.mjs} +0 -0
- /package/{esm2015/components/thumbnail-card/taiga-ui-experimental-components-thumbnail-card.js → esm2020/components/thumbnail-card/taiga-ui-experimental-components-thumbnail-card.mjs} +0 -0
- /package/{esm2015/components/toggle/index.js → esm2020/components/toggle/index.mjs} +0 -0
- /package/{esm2015/components/toggle/taiga-ui-experimental-components-toggle.js → esm2020/components/toggle/taiga-ui-experimental-components-toggle.mjs} +0 -0
- /package/{esm2015/components/tooltip/index.js → esm2020/components/tooltip/index.mjs} +0 -0
- /package/{esm2015/components/tooltip/taiga-ui-experimental-components-tooltip.js → esm2020/components/tooltip/taiga-ui-experimental-components-tooltip.mjs} +0 -0
- /package/{esm2015/components/tooltip/tooltip.options.js → esm2020/components/tooltip/tooltip.options.mjs} +0 -0
- /package/{esm2015/directives/appearance/taiga-ui-experimental-directives-appearance.js → esm2020/directives/appearance/taiga-ui-experimental-directives-appearance.mjs} +0 -0
- /package/{esm2015/directives/button-close/button-close.options.js → esm2020/directives/button-close/button-close.options.mjs} +0 -0
- /package/{esm2015/directives/button-close/index.js → esm2020/directives/button-close/index.mjs} +0 -0
- /package/{esm2015/directives/button-close/taiga-ui-experimental-directives-button-close.js → esm2020/directives/button-close/taiga-ui-experimental-directives-button-close.mjs} +0 -0
- /package/{esm2015/directives/button-vertical/index.js → esm2020/directives/button-vertical/index.mjs} +0 -0
- /package/{esm2015/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.js → esm2020/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.mjs} +0 -0
- /package/{esm2015/directives/card/index.js → esm2020/directives/card/index.mjs} +0 -0
- /package/{esm2015/directives/card/taiga-ui-experimental-directives-card.js → esm2020/directives/card/taiga-ui-experimental-directives-card.mjs} +0 -0
- /package/{esm2015/directives/cell/index.js → esm2020/directives/cell/index.mjs} +0 -0
- /package/{esm2015/directives/cell/taiga-ui-experimental-directives-cell.js → esm2020/directives/cell/taiga-ui-experimental-directives-cell.mjs} +0 -0
- /package/{esm2015/directives/fade/index.js → esm2020/directives/fade/index.mjs} +0 -0
- /package/{esm2015/directives/fade/taiga-ui-experimental-directives-fade.js → esm2020/directives/fade/taiga-ui-experimental-directives-fade.mjs} +0 -0
- /package/{esm2015/directives/icons/taiga-ui-experimental-directives-icons.js → esm2020/directives/icons/taiga-ui-experimental-directives-icons.mjs} +0 -0
- /package/{esm2015/directives/index.js → esm2020/directives/index.mjs} +0 -0
- /package/{esm2015/directives/progress-segmented/index.js → esm2020/directives/progress-segmented/index.mjs} +0 -0
- /package/{esm2015/directives/progress-segmented/taiga-ui-experimental-directives-progress-segmented.js → esm2020/directives/progress-segmented/taiga-ui-experimental-directives-progress-segmented.mjs} +0 -0
- /package/{esm2015/directives/sensitive/index.js → esm2020/directives/sensitive/index.mjs} +0 -0
- /package/{esm2015/directives/sensitive/taiga-ui-experimental-directives-sensitive.js → esm2020/directives/sensitive/taiga-ui-experimental-directives-sensitive.mjs} +0 -0
- /package/{esm2015/directives/surface/index.js → esm2020/directives/surface/index.mjs} +0 -0
- /package/{esm2015/directives/surface/taiga-ui-experimental-directives-surface.js → esm2020/directives/surface/taiga-ui-experimental-directives-surface.mjs} +0 -0
- /package/{esm2015/directives/taiga-ui-experimental-directives.js → esm2020/directives/taiga-ui-experimental-directives.mjs} +0 -0
- /package/{esm2015/directives/title/index.js → esm2020/directives/title/index.mjs} +0 -0
- /package/{esm2015/directives/title/taiga-ui-experimental-directives-title.js → esm2020/directives/title/taiga-ui-experimental-directives-title.mjs} +0 -0
- /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- /package/{esm2015/pipes/amount/amount.options.js → esm2020/pipes/amount/amount.options.mjs} +0 -0
- /package/{esm2015/pipes/amount/index.js → esm2020/pipes/amount/index.mjs} +0 -0
- /package/{esm2015/pipes/amount/taiga-ui-experimental-pipes-amount.js → esm2020/pipes/amount/taiga-ui-experimental-pipes-amount.mjs} +0 -0
- /package/{esm2015/pipes/auto-color/index.js → esm2020/pipes/auto-color/index.mjs} +0 -0
- /package/{esm2015/pipes/auto-color/taiga-ui-experimental-pipes-auto-color.js → esm2020/pipes/auto-color/taiga-ui-experimental-pipes-auto-color.mjs} +0 -0
- /package/{esm2015/pipes/fallback-src/index.js → esm2020/pipes/fallback-src/index.mjs} +0 -0
- /package/{esm2015/pipes/fallback-src/taiga-ui-experimental-pipes-fallback-src.js → esm2020/pipes/fallback-src/taiga-ui-experimental-pipes-fallback-src.mjs} +0 -0
- /package/{esm2015/pipes/index.js → esm2020/pipes/index.mjs} +0 -0
- /package/{esm2015/pipes/initials/index.js → esm2020/pipes/initials/index.mjs} +0 -0
- /package/{esm2015/pipes/initials/taiga-ui-experimental-pipes-initials.js → esm2020/pipes/initials/taiga-ui-experimental-pipes-initials.mjs} +0 -0
- /package/{esm2015/pipes/taiga-ui-experimental-pipes.js → esm2020/pipes/taiga-ui-experimental-pipes.mjs} +0 -0
- /package/{esm2015/taiga-ui-experimental.js → esm2020/taiga-ui-experimental.mjs} +0 -0
- /package/{esm2015/tokens/icon-resolver.js → esm2020/tokens/icon-resolver.mjs} +0 -0
- /package/{esm2015/tokens/index.js → esm2020/tokens/index.mjs} +0 -0
- /package/{esm2015/tokens/taiga-ui-experimental-tokens.js → esm2020/tokens/taiga-ui-experimental-tokens.mjs} +0 -0
package/directives/package.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"main": "../bundles/taiga-ui-experimental-directives.umd.js",
|
|
3
|
-
"module": "../fesm2015/taiga-ui-experimental-directives.js",
|
|
4
|
-
"es2015": "../fesm2015/taiga-ui-experimental-directives.js",
|
|
5
|
-
"esm2015": "../esm2015/directives/taiga-ui-experimental-directives.js",
|
|
6
|
-
"fesm2015": "../fesm2015/taiga-ui-experimental-directives.js",
|
|
7
|
-
"typings": "taiga-ui-experimental-directives.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@taiga-ui/experimental/directives"
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"main": "../../bundles/taiga-ui-experimental-directives-progress-segmented.umd.js",
|
|
3
|
-
"module": "../../fesm2015/taiga-ui-experimental-directives-progress-segmented.js",
|
|
4
|
-
"es2015": "../../fesm2015/taiga-ui-experimental-directives-progress-segmented.js",
|
|
5
|
-
"esm2015": "../../esm2015/directives/progress-segmented/taiga-ui-experimental-directives-progress-segmented.js",
|
|
6
|
-
"fesm2015": "../../fesm2015/taiga-ui-experimental-directives-progress-segmented.js",
|
|
7
|
-
"typings": "taiga-ui-experimental-directives-progress-segmented.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@taiga-ui/experimental/directives/progress-segmented"
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"main": "../../bundles/taiga-ui-experimental-directives-sensitive.umd.js",
|
|
3
|
-
"module": "../../fesm2015/taiga-ui-experimental-directives-sensitive.js",
|
|
4
|
-
"es2015": "../../fesm2015/taiga-ui-experimental-directives-sensitive.js",
|
|
5
|
-
"esm2015": "../../esm2015/directives/sensitive/taiga-ui-experimental-directives-sensitive.js",
|
|
6
|
-
"fesm2015": "../../fesm2015/taiga-ui-experimental-directives-sensitive.js",
|
|
7
|
-
"typings": "taiga-ui-experimental-directives-sensitive.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@taiga-ui/experimental/directives/sensitive"
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"main": "../../bundles/taiga-ui-experimental-directives-surface.umd.js",
|
|
3
|
-
"module": "../../fesm2015/taiga-ui-experimental-directives-surface.js",
|
|
4
|
-
"es2015": "../../fesm2015/taiga-ui-experimental-directives-surface.js",
|
|
5
|
-
"esm2015": "../../esm2015/directives/surface/taiga-ui-experimental-directives-surface.js",
|
|
6
|
-
"fesm2015": "../../fesm2015/taiga-ui-experimental-directives-surface.js",
|
|
7
|
-
"typings": "taiga-ui-experimental-directives-surface.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@taiga-ui/experimental/directives/surface"
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"main": "../../bundles/taiga-ui-experimental-directives-title.umd.js",
|
|
3
|
-
"module": "../../fesm2015/taiga-ui-experimental-directives-title.js",
|
|
4
|
-
"es2015": "../../fesm2015/taiga-ui-experimental-directives-title.js",
|
|
5
|
-
"esm2015": "../../esm2015/directives/title/taiga-ui-experimental-directives-title.js",
|
|
6
|
-
"fesm2015": "../../fesm2015/taiga-ui-experimental-directives-title.js",
|
|
7
|
-
"typings": "taiga-ui-experimental-directives-title.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@taiga-ui/experimental/directives/title"
|
|
10
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Inject, Input } from '@angular/core';
|
|
2
|
-
import { tuiIsString } from '@taiga-ui/cdk';
|
|
3
|
-
import { TUI_ICON_RESOLVER } from '@taiga-ui/experimental/tokens';
|
|
4
|
-
import { TUI_AVATAR_OPTIONS } from './avatar.options';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/common";
|
|
7
|
-
import * as i2 from "@taiga-ui/kit";
|
|
8
|
-
export class TuiAvatarComponent {
|
|
9
|
-
constructor(options, resolver) {
|
|
10
|
-
this.options = options;
|
|
11
|
-
this.resolver = resolver;
|
|
12
|
-
this.size = this.options.size;
|
|
13
|
-
this.round = this.options.round;
|
|
14
|
-
this.src = null;
|
|
15
|
-
this.appearance = '';
|
|
16
|
-
}
|
|
17
|
-
get value() {
|
|
18
|
-
return this.src || '';
|
|
19
|
-
}
|
|
20
|
-
get type() {
|
|
21
|
-
if (this.value && !tuiIsString(this.value)) {
|
|
22
|
-
return 'img';
|
|
23
|
-
}
|
|
24
|
-
if (this.value.startsWith('tuiIcon') || this.value.endsWith('.svg')) {
|
|
25
|
-
return 'icon';
|
|
26
|
-
}
|
|
27
|
-
if (this.value.length > 0 && this.value.length < 3) {
|
|
28
|
-
return 'text';
|
|
29
|
-
}
|
|
30
|
-
return this.value.length ? 'img' : 'content';
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
TuiAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarComponent, deps: [{ token: TUI_AVATAR_OPTIONS }, { token: TUI_ICON_RESOLVER }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
-
TuiAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAvatarComponent, selector: "tui-avatar", inputs: { size: "size", round: "round", src: "src", appearance: "appearance" }, host: { attributes: { "tuiAppearance": "" }, properties: { "attr.data-appearance": "appearance", "attr.data-size": "size", "attr.data-type": "type", "style.--t-mask": "\"url(\" + resolver(src) + \")\"", "class._round": "round" } }, ngImport: i0, template: "<ng-container [ngSwitch]=\"type\">\n <img\n *ngSwitchCase=\"'img'\"\n alt=\"\"\n loading=\"lazy\"\n [src]=\"value\"\n />\n <ng-container *ngSwitchCase=\"'text'\">{{ value }}</ng-container>\n <ng-container *ngSwitchDefault>\n <ng-content></ng-content>\n </ng-container>\n</ng-container>\n", styles: [":host{--t-size: 3.5rem;--t-radius: .75rem;position:relative;display:inline-flex;flex-shrink:0;width:var(--t-size);height:var(--t-size);align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:var(--t-radius);background:var(--tui-secondary);color:var(--tui-text-02);vertical-align:middle;box-sizing:border-box;padding:.25rem;opacity:.999}:host:before{position:absolute;top:0;left:0;width:100%;height:100%;background:currentColor;-webkit-mask:var(--t-mask) no-repeat center / 60%;mask:var(--t-mask) no-repeat center / 60%}:host[data-size=xxs]{--t-size: 1.5rem;--t-radius: .5rem;font:var(--tui-font-text-xs);font-weight:bold}:host[data-size=xxs][data-type=content]{font:var(--tui-font-text-m);font-size:.5625rem}:host[data-size=xs]{--t-size: 2rem;--t-radius: .5rem;font:var(--tui-font-text-s);font-weight:bold}:host[data-size=xs][data-type=content]{font:var(--tui-font-text-xs);font-weight:bold}:host[data-size=s]{--t-size: 2.5rem;--t-radius: .75rem;font:var(--tui-font-text-l);font-weight:bold}:host[data-size=s][data-type=content]{font:var(--tui-font-text-m);font-weight:bold}:host[data-size=m]{--t-size: 3.5rem;--t-radius: .75rem;font:var(--tui-font-heading-5)}:host[data-size=m][data-type=content]{font:var(--tui-font-text-l);font-weight:bold}:host[data-size=l]{--t-size: 5rem;--t-radius: .75rem;font:var(--tui-font-heading-3)}:host[data-size=l][data-type=content]{font:var(--tui-font-heading-4)}:host[data-size=xl]{--t-size: 6rem;--t-radius: 1rem;font:var(--tui-font-heading-3)}:host[data-size=xl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-size=xxl]{--t-size: 8rem;--t-radius: 1.25rem;font:var(--tui-font-heading-2)}:host[data-size=xxl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-type=img]{background:transparent}:host[data-type=icon]:before{content:\"\"}:host._round{--t-radius: calc(var(--t-size) / 2)}:host ::ng-deep img,:host ::ng-deep picture,:host ::ng-deep video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}\n"], directives: [{ type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i2.TuiLazyLoadingDirective, selector: "img[loading=\"lazy\"]", inputs: ["src"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarComponent, decorators: [{
|
|
36
|
-
type: Component,
|
|
37
|
-
args: [{
|
|
38
|
-
selector: 'tui-avatar',
|
|
39
|
-
templateUrl: './avatar.template.html',
|
|
40
|
-
styleUrls: ['./avatar.style.less'],
|
|
41
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
42
|
-
host: {
|
|
43
|
-
tuiAppearance: '',
|
|
44
|
-
'[attr.data-appearance]': 'appearance',
|
|
45
|
-
'[attr.data-size]': 'size',
|
|
46
|
-
'[attr.data-type]': 'type',
|
|
47
|
-
'[style.--t-mask]': '"url(" + resolver(src) + ")"',
|
|
48
|
-
'[class._round]': 'round',
|
|
49
|
-
},
|
|
50
|
-
}]
|
|
51
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
52
|
-
type: Inject,
|
|
53
|
-
args: [TUI_AVATAR_OPTIONS]
|
|
54
|
-
}] }, { type: undefined, decorators: [{
|
|
55
|
-
type: Inject,
|
|
56
|
-
args: [TUI_ICON_RESOLVER]
|
|
57
|
-
}] }]; }, propDecorators: { size: [{
|
|
58
|
-
type: Input
|
|
59
|
-
}], round: [{
|
|
60
|
-
type: Input
|
|
61
|
-
}], src: [{
|
|
62
|
-
type: Input
|
|
63
|
-
}], appearance: [{
|
|
64
|
-
type: Input
|
|
65
|
-
}] } });
|
|
66
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cG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ycpKSB7XG4gICAgICAgICAgICByZXR1cm4gJ2ljb24nO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHRoaXMudmFsdWUubGVuZ3RoID4gMCAmJiB0aGlzLnZhbHVlLmxlbmd0aCA8IDMpIHtcbiAgICAgICAgICAgIHJldHVybiAndGV4dCc7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gdGhpcy52YWx1ZS5sZW5ndGggPyAnaW1nJyA6ICdjb250ZW50JztcbiAgICB9XG59XG4iLCI8bmctY29udGFpbmVyIFtuZ1N3aXRjaF09XCJ0eXBlXCI+XG4gICAgPGltZ1xuICAgICAgICAqbmdTd2l0Y2hDYXNlPVwiJ2ltZydcIlxuICAgICAgICBhbHQ9XCJcIlxuICAgICAgICBsb2FkaW5nPVwibGF6eVwiXG4gICAgICAgIFtzcmNdPVwidmFsdWVcIlxuICAgIC8+XG4gICAgPG5nLWNvbnRhaW5lciAqbmdTd2l0Y2hDYXNlPVwiJ3RleHQnXCI+e3sgdmFsdWUgfX08L25nLWNvbnRhaW5lcj5cbiAgICA8bmctY29udGFpbmVyICpuZ1N3aXRjaERlZmF1bHQ+XG4gICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICA8L25nLWNvbnRhaW5lcj5cbjwvbmctY29udGFpbmVyPlxuIl19
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { tuiCreateToken, tuiProvideOptions } from '@taiga-ui/cdk';
|
|
2
|
-
export const TUI_AVATAR_DEFAULT_OPTIONS = {
|
|
3
|
-
round: true,
|
|
4
|
-
size: `m`,
|
|
5
|
-
};
|
|
6
|
-
export const TUI_AVATAR_OPTIONS = tuiCreateToken(TUI_AVATAR_DEFAULT_OPTIONS);
|
|
7
|
-
export function tuiAvatarOptionsProvider(options) {
|
|
8
|
-
return tuiProvideOptions(TUI_AVATAR_OPTIONS, options, TUI_AVATAR_DEFAULT_OPTIONS);
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=data: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F9PUFRJT05TOiBUdWlBdmF0YXJPcHRpb25zID0ge1xuICAgIHJvdW5kOiB0cnVlLFxuICAgIHNpemU6IGBtYCxcbn07XG5cbmV4cG9ydCBjb25zdCBUVUlfQVZBVEFSX09QVElPTlMgPSB0dWlDcmVhdGVUb2tlbihUVUlfQVZBVEFSX0RFRkFVTFRfT1BUSU9OUyk7XG5cbmV4cG9ydCBmdW5jdGlvbiB0dWlBdmF0YXJPcHRpb25zUHJvdmlkZXIob3B0aW9uczogUGFydGlhbDxUdWlBdmF0YXJPcHRpb25zPik6IFByb3ZpZGVyIHtcbiAgICByZXR1cm4gdHVpUHJvdmlkZU9wdGlvbnMoVFVJX0FWQVRBUl9PUFRJT05TLCBvcHRpb25zLCBUVUlfQVZBVEFSX0RFRkFVTFRfT1BUSU9OUyk7XG59XG4iXX0=
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class TuiBadgeComponent {
|
|
4
|
-
}
|
|
5
|
-
TuiBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
TuiBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiBadgeComponent, selector: "ng-component", host: { classAttribute: "tui-badge" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiBadgeNew]{--t-gap: 0rem;--t-dot: currentColor;--t-icon-size: 1rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;grid-gap:calc(var(--t-gap) - 2 * var(--t-margin));gap:calc(var(--t-gap) - 2 * var(--t-margin));border-radius:6rem;background:#959595;color:var(--tui-base-01);padding:var(--t-padding);height:var(--t-size);min-width:var(--t-size);font:var(--tui-font-text-s)}[tuiBadgeNew]>img,[tuiBadgeNew]>tui-svg,[tuiBadgeNew]>tui-icon,[tuiBadgeNew]>tui-avatar,[tuiBadgeNew]>tui-badge,[tuiBadgeNew]>[tuiBadge],[tuiBadgeNew]>[tuiRadio],[tuiBadgeNew]>[tuiToggle],[tuiBadgeNew]>[tuiCheckbox],[tuiBadgeNew]._icon-left:before,[tuiBadgeNew]._icon-right:after{margin:var(--t-margin)}[tuiBadgeNew]._dot:before{content:\"\";display:block;width:.375rem;height:.375rem;background:var(--t-dot);border-radius:100%}[tuiBadgeNew]>tui-icon,[tuiBadgeNew][tuiIcons]:before,[tuiBadgeNew][tuiIcons]:after{font-size:var(--t-icon-size)!important}[tuiBadgeNew][data-appearance=error]{--t-dot: var(--tui-error-fill)}[tuiBadgeNew][data-appearance=success]{--t-dot: var(--tui-success-fill)}[tuiBadgeNew][data-appearance=warning]{--t-dot: var(--tui-warning-fill)}[tuiBadgeNew][data-appearance=info]{--t-dot: var(--tui-info-fill)}[tuiBadgeNew][data-appearance=neutral]{--t-dot: var(--tui-neutral-fill)}[tuiBadgeNew][data-size=s]{--t-padding: 0 .3125rem;--t-size: 1rem;--t-icon-size: .625rem;--t-margin: -.125rem}[tuiBadgeNew][data-size=s]._dot:before{width:.25rem;height:.25rem;-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}[tuiBadgeNew][data-size=m]{--t-padding: 0 .375rem;--t-size: 1.25rem;--t-icon-size: .75rem;--t-margin: -.125rem}[tuiBadgeNew][data-size=l]{--t-padding: 0 .5rem;--t-size: var(--tui-height-xs);--t-margin: -.25rem}[tuiBadgeNew][data-size=l]._dot:before{-webkit-margin-end:-.25rem;margin-inline-end:-.25rem}[tuiBadgeNew][data-size=xl]{--t-margin: -.25rem;--t-padding: 0 .75rem;--t-size: var(--tui-height-s);font:var(--tui-font-text-m)}[tuiBadgeNew][data-size=xl]._dot:before{width:.5rem;height:.5rem;-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}img[tuiBadge]{padding:0}tui-icon[tuiBadge]{--t-margin: 0 !important;-webkit-mask:none;mask:none;height:var(--t-size);width:var(--t-size)}tui-icon[tuiBadge][data-size=s]:after{-webkit-mask-size:.625rem;mask-size:.625rem}tui-icon[tuiBadge][data-size=m]:after{-webkit-mask-size:.75rem;mask-size:.75rem}tui-icon[tuiBadge][data-size=l]:after,tui-icon[tuiBadge][data-size=xl]:after{-webkit-mask-size:1rem;mask-size:1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiBadgeComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{
|
|
10
|
-
template: '',
|
|
11
|
-
styleUrls: ['./badge.style.less'],
|
|
12
|
-
encapsulation: ViewEncapsulation.None,
|
|
13
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
14
|
-
host: {
|
|
15
|
-
class: 'tui-badge',
|
|
16
|
-
},
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvYmFkZ2UvYmFkZ2UuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7O0FBV3BGLE1BQU0sT0FBTyxpQkFBaUI7OytHQUFqQixpQkFBaUI7bUdBQWpCLGlCQUFpQiwyRkFSaEIsRUFBRTs0RkFRSCxpQkFBaUI7a0JBVDdCLFNBQVM7bUJBQUM7b0JBQ1AsUUFBUSxFQUFFLEVBQUU7b0JBQ1osU0FBUyxFQUFFLENBQUMsb0JBQW9CLENBQUM7b0JBQ2pDLGFBQWEsRUFBRSxpQkFBaUIsQ0FBQyxJQUFJO29CQUNyQyxlQUFlLEVBQUUsdUJBQXVCLENBQUMsTUFBTTtvQkFDL0MsSUFBSSxFQUFFO3dCQUNGLEtBQUssRUFBRSxXQUFXO3FCQUNyQjtpQkFDSiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Q2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksIENvbXBvbmVudCwgVmlld0VuY2Fwc3VsYXRpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgICB0ZW1wbGF0ZTogJycsXG4gICAgc3R5bGVVcmxzOiBbJy4vYmFkZ2Uuc3R5bGUubGVzcyddLFxuICAgIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXG4gICAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG4gICAgaG9zdDoge1xuICAgICAgICBjbGFzczogJ3R1aS1iYWRnZScsXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQmFkZ2VDb21wb25lbnQge31cbiJdfQ==
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Directive, Inject, Input } from '@angular/core';
|
|
2
|
-
import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
3
|
-
import { TuiBadgeComponent } from './badge.component';
|
|
4
|
-
import { TUI_BADGE_OPTIONS } from './badge.options';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@taiga-ui/cdk";
|
|
7
|
-
export class TuiBadgeDirective {
|
|
8
|
-
constructor(options, directiveStyles) {
|
|
9
|
-
this.options = options;
|
|
10
|
-
this.size = this.options.size;
|
|
11
|
-
this.appearance = this.options.appearance;
|
|
12
|
-
this.dot = this.options.dot;
|
|
13
|
-
directiveStyles.addComponent(TuiBadgeComponent);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
TuiBadgeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiBadgeDirective, deps: [{ token: TUI_BADGE_OPTIONS }, { token: TuiDirectiveStylesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17
|
-
TuiBadgeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiBadgeDirective, selector: "tui-badge,[tuiBadge]", inputs: { size: "size", appearance: "appearance", dot: "dot" }, host: { attributes: { "tuiBadgeNew": "", "tuiAppearance": "" }, properties: { "class._dot": "dot", "attr.data-appearance": "appearance", "attr.data-size": "size" } }, ngImport: i0 });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiBadgeDirective, decorators: [{
|
|
19
|
-
type: Directive,
|
|
20
|
-
args: [{
|
|
21
|
-
selector: 'tui-badge,[tuiBadge]',
|
|
22
|
-
host: {
|
|
23
|
-
tuiBadgeNew: '',
|
|
24
|
-
tuiAppearance: '',
|
|
25
|
-
'[class._dot]': 'dot',
|
|
26
|
-
'[attr.data-appearance]': 'appearance',
|
|
27
|
-
'[attr.data-size]': 'size',
|
|
28
|
-
},
|
|
29
|
-
}]
|
|
30
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
31
|
-
type: Inject,
|
|
32
|
-
args: [TUI_BADGE_OPTIONS]
|
|
33
|
-
}] }, { type: i1.TuiDirectiveStylesService, decorators: [{
|
|
34
|
-
type: Inject,
|
|
35
|
-
args: [TuiDirectiveStylesService]
|
|
36
|
-
}] }]; }, propDecorators: { size: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], appearance: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], dot: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}] } });
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvYmFkZ2UvYmFkZ2UuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2RCxPQUFPLEVBQUMseUJBQXlCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFeEQsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sbUJBQW1CLENBQUM7QUFDcEQsT0FBTyxFQUFDLGlCQUFpQixFQUFrQixNQUFNLGlCQUFpQixDQUFDOzs7QUFZbkUsTUFBTSxPQUFPLGlCQUFpQjtJQVUxQixZQUNnRCxPQUF3QixFQUNqQyxlQUEwQztRQURqQyxZQUFPLEdBQVAsT0FBTyxDQUFpQjtRQVR4RSxTQUFJLEdBQUcsSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUM7UUFHekIsZUFBVSxHQUFHLElBQUksQ0FBQyxPQUFPLENBQUMsVUFBVSxDQUFDO1FBR3JDLFFBQUcsR0FBRyxJQUFJLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQztRQU1uQixlQUFlLENBQUMsWUFBWSxDQUFDLGlCQUFpQixDQUFDLENBQUM7SUFDcEQsQ0FBQzs7K0dBZlEsaUJBQWlCLGtCQVdkLGlCQUFpQixhQUNqQix5QkFBe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S1zaXplXSc6ICdzaXplJyxcbiAgICB9LFxufSlcbmV4cG9ydCBjbGFzcyBUdWlCYWRnZURpcmVjdGl2ZSB7XG4gICAgQElucHV0KClcbiAgICBzaXplID0gdGhpcy5vcHRpb25zLnNpemU7XG5cbiAgICBASW5wdXQoKVxuICAgIGFwcGVhcmFuY2UgPSB0aGlzLm9wdGlvbnMuYXBwZWFyYW5jZTtcblxuICAgIEBJbnB1dCgpXG4gICAgZG90ID0gdGhpcy5vcHRpb25zLmRvdDtcblxuICAgIGNvbnN0cnVjdG9yKFxuICAgICAgICBASW5qZWN0KFRVSV9CQURHRV9PUFRJT05TKSBwcml2YXRlIHJlYWRvbmx5IG9wdGlvbnM6IFR1aUJhZGdlT3B0aW9ucyxcbiAgICAgICAgQEluamVjdChUdWlEaXJlY3RpdmVTdHlsZXNTZXJ2aWNlKSBkaXJlY3RpdmVTdHlsZXM6IFR1aURpcmVjdGl2ZVN0eWxlc1NlcnZpY2UsXG4gICAgKSB7XG4gICAgICAgIGRpcmVjdGl2ZVN0eWxlcy5hZGRDb21wb25lbnQoVHVpQmFkZ2VDb21wb25lbnQpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { TuiIconsDirective, TuiIconsModule } from '@taiga-ui/experimental/directives/icons';
|
|
3
|
-
import { TuiBadgeComponent } from './badge.component';
|
|
4
|
-
import { TuiBadgeDirective } from './badge.directive';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class TuiBadgeModule {
|
|
7
|
-
}
|
|
8
|
-
TuiBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
TuiBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiBadgeModule, declarations: [TuiBadgeComponent, TuiBadgeDirective], imports: [TuiIconsModule], exports: [TuiBadgeDirective, TuiIconsDirective] });
|
|
10
|
-
TuiBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiBadgeModule, imports: [[TuiIconsModule]] });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiBadgeModule, decorators: [{
|
|
12
|
-
type: NgModule,
|
|
13
|
-
args: [{
|
|
14
|
-
imports: [TuiIconsModule],
|
|
15
|
-
declarations: [TuiBadgeComponent, TuiBadgeDirective],
|
|
16
|
-
exports: [TuiBadgeDirective, TuiIconsDirective],
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvYmFkZ2UvYmFkZ2UubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLGlCQUFpQixFQUFFLGNBQWMsRUFBQyxNQUFNLHlDQUF5QyxDQUFDO0FBRTFGLE9BQU8sRUFBQyxpQkFBaUIsRUFBQyxNQUFNLG1CQUFtQixDQUFDO0FBQ3BELE9BQU8sRUFBQyxpQkFBaUIsRUFBQyxNQUFNLG1CQUFtQixDQUFDOztBQU9wRCxNQUFNLE9BQU8sY0FBYzs7NEdBQWQsY0FBYzs2R0FBZCxjQUFjLGlCQUhSLGlCQUFpQixFQUFFLGlCQUFpQixhQUR6QyxjQUFjLGFBRWQsaUJBQWlCLEVBQUUsaUJBQW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
|
-
export const TUI_BADGE_OPTIONS = tuiCreateToken(TUI_BADGE_DEFAULT_OPTIONS);
|
|
8
|
-
export function tuiBadgeOptionsProvider(options) {
|
|
9
|
-
return tuiProvideOptions(TUI_BADGE_OPTIONS, options, TUI_BADGE_DEFAULT_OPTIONS);
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2Uub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL2JhZGdlL2JhZGdlLm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFDLGNBQWMsRUFBRSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQVNoRSxNQUFNLENBQUMsTUFBTSx5QkFBeUIsR0FBb0I7SUFDdEQsSUFBSSxFQUFFLEdBQUc7SUFDVCxVQUFVLEVBQUUsU0FBUztJQUNyQixHQUFHLEVBQUUsS0FBSztDQUNiLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSxpQkFBaUIsR0FBRyxjQUFjLENBQUMseUJBQXlCLENBQUMsQ0FBQztBQUUzRSxNQUFNLFVBQVUsdUJBQXVCLENBQUMsT0FBaUM7SUFDckUsT0FBTyxpQkFBaUIsQ0FBQyxpQkFBaUIsRUFBRSxPQUFPLEVBQUUseUJBQXlCLENBQUMsQ0FBQztBQUNwRixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtQcm92aWRlcn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge3R1aUNyZWF0ZVRva2VuLCB0dWlQcm92aWRlT3B0aW9uc30gZnJvbSAnQHRhaWdhLXVpL2Nkayc7XG5pbXBvcnQge1R1aVNpemVTLCBUdWlTaXplWEx9IGZyb20gJ0B0YWlnYS11aS9jb3JlJztcblxuZXhwb3J0IGludGVyZmFjZSBUdWlCYWRnZU9wdGlvbnMge1xuICAgIHJlYWRvbmx5IGFwcGVhcmFuY2U6IHN0cmluZztcbiAgICByZWFkb25seSBzaXplOiBUdWlTaXplUyB8IFR1aVNpemVYTDtcbiAgICByZWFkb25seSBkb3Q6IGJvb2xlYW47XG59XG5cbmV4cG9ydCBjb25zdCBUVUlfQkFER0VfREVGQVVMVF9PUFRJT05TOiBUdWlCYWRnZU9wdGlvbnMgPSB7XG4gICAgc2l6ZTogYGxgLFxuICAgIGFwcGVhcmFuY2U6IGBkZWZhdWx0YCxcbiAgICBkb3Q6IGZhbHNlLFxufTtcblxuZXhwb3J0IGNvbnN0IFRVSV9CQURHRV9PUFRJT05TID0gdHVpQ3JlYXRlVG9rZW4oVFVJX0JBREdFX0RFRkFVTFRfT1BUSU9OUyk7XG5cbmV4cG9ydCBmdW5jdGlvbiB0dWlCYWRnZU9wdGlvbnNQcm92aWRlcihvcHRpb25zOiBQYXJ0aWFsPFR1aUJhZGdlT3B0aW9ucz4pOiBQcm92aWRlciB7XG4gICAgcmV0dXJuIHR1aVByb3ZpZGVPcHRpb25zKFRVSV9CQURHRV9PUFRJT05TLCBvcHRpb25zLCBUVUlfQkFER0VfREVGQVVMVF9PUFRJT05TKTtcbn1cbiJdfQ==
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@taiga-ui/cdk";
|
|
4
|
-
export class TuiBadgedContentComponent {
|
|
5
|
-
}
|
|
6
|
-
TuiBadgedContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiBadgedContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
-
TuiBadgedContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiBadgedContentComponent, selector: "tui-badged-content", ngImport: i0, template: "<ng-content></ng-content>\n\n<div\n #badgeTop\n class=\"t-badge t-badge_top\"\n [style.--t-badge-height.px]=\"badgeTop.offsetHeight\"\n (tuiResize)=\"(0)\"\n>\n <ng-content select=\"tui-badge-notification[tuiSlot='top']\"></ng-content>\n <div class=\"t-border\">\n <ng-content select=\"[tuiSlot='top']\"></ng-content>\n </div>\n</div>\n\n<div\n #badgeBottom\n class=\"t-badge t-badge_bottom\"\n [style.--t-badge-height.px]=\"badgeBottom.offsetHeight\"\n (tuiResize)=\"(0)\"\n>\n <ng-content select=\"tui-badge-notification[tuiSlot='bottom']\"></ng-content>\n <div class=\"t-border\">\n <ng-content select=\"[tuiSlot='bottom']\"></ng-content>\n </div>\n</div>\n", styles: [":host{--tui-radius: var(--tui-radius-l);--t-badge-height: 0;--t-corner-offset: calc((var(--tui-radius) * 1.4142 - var(--tui-radius)) * 1 / 1.4142);position:relative;display:inline-block;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-max-content;width:max-content;color:var(--tui-base-01)}.t-badge{--t-offset: calc(var(--t-badge-height) * -.5 + var(--t-corner-offset));position:absolute;display:flex}.t-badge_top{top:var(--t-offset);right:var(--t-offset)}.t-badge_bottom{bottom:var(--t-offset);right:var(--t-offset)}.t-border:not(:empty){display:flex;border-radius:6rem;box-shadow:0 0 0 1px currentColor;background:currentColor}\n"], directives: [{ type: i1.TuiResizeDirective, selector: "[tuiResize]", outputs: ["tuiResize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiBadgedContentComponent, decorators: [{
|
|
9
|
-
type: Component,
|
|
10
|
-
args: [{
|
|
11
|
-
selector: 'tui-badged-content',
|
|
12
|
-
templateUrl: './badged-content.template.html',
|
|
13
|
-
styleUrls: ['./badged-content.style.less'],
|
|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0LWJvcmRlclwiPlxuICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJbdHVpU2xvdD0nYm90dG9tJ11cIj48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Directive, Inject, Input, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
3
|
-
import { MODE_PROVIDER, TUI_MODE } from '@taiga-ui/core';
|
|
4
|
-
import { TUI_BUTTON_OPTIONS } from './button.options';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "rxjs";
|
|
7
|
-
import * as i2 from "@taiga-ui/cdk";
|
|
8
|
-
export class TuiButtonStylesComponent {
|
|
9
|
-
}
|
|
10
|
-
TuiButtonStylesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonStylesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
TuiButtonStylesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiButtonStylesComponent, selector: "ng-component", host: { classAttribute: "tui-button-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiButtonNew]{--t-gap: .125rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;grid-gap:calc(var(--t-gap) - 2 * var(--t-margin));gap:calc(var(--t-gap) - 2 * var(--t-margin));height:var(--t-size);justify-content:center;border-radius:var(--t-radius);padding:var(--t-padding);-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer}[tuiButtonNew]>img,[tuiButtonNew]>tui-svg,[tuiButtonNew]>tui-icon,[tuiButtonNew]>tui-avatar,[tuiButtonNew]>tui-badge,[tuiButtonNew]>[tuiBadge],[tuiButtonNew]>[tuiRadio],[tuiButtonNew]>[tuiToggle],[tuiButtonNew]>[tuiCheckbox],[tuiButtonNew]._icon-left:before,[tuiButtonNew]._icon-right:after{margin:var(--t-margin)}[tuiButtonNew]>.t-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[tuiButtonNew]>.t-loader .t-text{position:absolute}[tuiButtonNew][data-size=xs]{--t-size: var(--tui-height-xs);--t-radius: var(--tui-radius-xs);--t-padding: 0 .375rem;--t-margin: -.125rem;font:var(--tui-font-text-s)}[tuiButtonNew][data-size=xs] tui-svg,[tuiButtonNew][data-size=xs] tui-icon,[tuiButtonNew][data-size=xs]:before{font-size:1rem}[tuiButtonNew][data-size=s]{--t-size: var(--tui-height-s);--t-radius: var(--tui-radius-s);--t-padding: 0 .625rem;--t-margin: -.125rem;font:var(--tui-font-text-s)}[tuiButtonNew][data-size=s] tui-svg,[tuiButtonNew][data-size=s] tui-icon,[tuiButtonNew][data-size=s]:not([tuiIconButton][data-appearance=\"icon\"]):before{font-size:1rem}[tuiButtonNew][data-size=m]{--t-size: var(--tui-height-m);--t-radius: var(--tui-radius-m);--t-padding: 0 1rem;--t-margin: -.375rem;font:var(--tui-font-text-m);font-weight:bold}[tuiButtonNew][data-size=m]:after{-webkit-margin-start:.375rem;margin-inline-start:.375rem}[tuiButtonNew][data-size=l]{--t-size: var(--tui-height-l);--t-radius: var(--tui-radius-l);--t-padding: 0 1.25rem;--t-gap: .25rem;--t-margin: -.25rem;font:var(--tui-font-text-m);font-weight:bold}[tuiButtonNew][data-size=l]:after{-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:-.25rem;margin-inline-end:-.25rem}[tuiButtonNew]._loading{--tui-disabled-opacity: 1;-webkit-text-fill-color:transparent}[tuiButtonNew]._loading>*,[tuiButtonNew]._loading:before,[tuiButtonNew]._loading:after{opacity:0}[tuiButtonNew]._loading>.t-loader{opacity:1}[tuiButtonNew][tuiIcons]:after{font-size:1rem}[tuiIconButton][tuiButtonNew]{--t-gap: 0;width:var(--t-size);font-size:0;padding:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonStylesComponent, decorators: [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{
|
|
15
|
-
template: '',
|
|
16
|
-
styleUrls: ['./button.style.less'],
|
|
17
|
-
encapsulation: ViewEncapsulation.None,
|
|
18
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
|
-
host: {
|
|
20
|
-
class: 'tui-button-styles',
|
|
21
|
-
},
|
|
22
|
-
}]
|
|
23
|
-
}] });
|
|
24
|
-
export class TuiButtonDirective {
|
|
25
|
-
constructor(options, mode$, directiveStyles) {
|
|
26
|
-
this.options = options;
|
|
27
|
-
this.mode$ = mode$;
|
|
28
|
-
this.size = this.options.size;
|
|
29
|
-
this.appearance = this.options.appearance;
|
|
30
|
-
directiveStyles.addComponent(TuiButtonStylesComponent);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
TuiButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonDirective, deps: [{ token: TUI_BUTTON_OPTIONS }, { token: TUI_MODE }, { token: TuiDirectiveStylesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
34
|
-
TuiButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiButtonDirective, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: { size: "size", appearance: "appearance" }, host: { attributes: { "tuiButtonNew": "", "tuiAppearance": "" }, listeners: { "$.data-mode.attr": "mode$" }, properties: { "attr.data-size": "size", "attr.data-appearance": "appearance" } }, providers: [MODE_PROVIDER], ngImport: i0 });
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonDirective, decorators: [{
|
|
36
|
-
type: Directive,
|
|
37
|
-
args: [{
|
|
38
|
-
selector: 'a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]',
|
|
39
|
-
providers: [MODE_PROVIDER],
|
|
40
|
-
host: {
|
|
41
|
-
tuiButtonNew: '',
|
|
42
|
-
tuiAppearance: '',
|
|
43
|
-
'[attr.data-size]': 'size',
|
|
44
|
-
'[attr.data-appearance]': 'appearance',
|
|
45
|
-
'($.data-mode.attr)': 'mode$',
|
|
46
|
-
},
|
|
47
|
-
}]
|
|
48
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
49
|
-
type: Inject,
|
|
50
|
-
args: [TUI_BUTTON_OPTIONS]
|
|
51
|
-
}] }, { type: i1.Observable, decorators: [{
|
|
52
|
-
type: Inject,
|
|
53
|
-
args: [TUI_MODE]
|
|
54
|
-
}] }, { type: i2.TuiDirectiveStylesService, decorators: [{
|
|
55
|
-
type: Inject,
|
|
56
|
-
args: [TuiDirectiveStylesService]
|
|
57
|
-
}] }]; }, propDecorators: { size: [{
|
|
58
|
-
type: Input
|
|
59
|
-
}], appearance: [{
|
|
60
|
-
type: Input
|
|
61
|
-
}] } });
|
|
62
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL2J1dHRvbi9idXR0b24uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU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V9CVVRUT05fT1BUSU9OUykgcHJpdmF0ZSByZWFkb25seSBvcHRpb25zOiBUdWlCdXR0b25PcHRpb25zLFxuICAgICAgICBASW5qZWN0KFRVSV9NT0RFKSByZWFkb25seSBtb2RlJDogT2JzZXJ2YWJsZTxUdWlCcmlnaHRuZXNzIHwgbnVsbD4sXG4gICAgICAgIEBJbmplY3QoVHVpRGlyZWN0aXZlU3R5bGVzU2VydmljZSkgZGlyZWN0aXZlU3R5bGVzOiBUdWlEaXJlY3RpdmVTdHlsZXNTZXJ2aWNlLFxuICAgICkge1xuICAgICAgICBkaXJlY3RpdmVTdHlsZXMuYWRkQ29tcG9uZW50KFR1aUJ1dHRvblN0eWxlc0NvbXBvbmVudCk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { TuiLoaderModule, TuiSvgModule } from '@taiga-ui/core';
|
|
4
|
-
import { TuiIconsDirective, TuiIconsModule } from '@taiga-ui/experimental/directives/icons';
|
|
5
|
-
import { TuiButtonComponent } from './button.component';
|
|
6
|
-
import { TuiButtonDirective, TuiButtonStylesComponent } from './button.directive';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export class TuiButtonModule {
|
|
9
|
-
}
|
|
10
|
-
TuiButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
-
TuiButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, declarations: [TuiButtonComponent, TuiButtonDirective, TuiButtonStylesComponent], imports: [CommonModule, TuiSvgModule, TuiLoaderModule, TuiIconsModule], exports: [TuiButtonComponent, TuiButtonDirective, TuiIconsDirective] });
|
|
12
|
-
TuiButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, imports: [[CommonModule, TuiSvgModule, TuiLoaderModule, TuiIconsModule]] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, decorators: [{
|
|
14
|
-
type: NgModule,
|
|
15
|
-
args: [{
|
|
16
|
-
imports: [CommonModule, TuiSvgModule, TuiLoaderModule, TuiIconsModule],
|
|
17
|
-
declarations: [TuiButtonComponent, TuiButtonDirective, TuiButtonStylesComponent],
|
|
18
|
-
exports: [TuiButtonComponent, TuiButtonDirective, TuiIconsDirective],
|
|
19
|
-
}]
|
|
20
|
-
}] });
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL2J1dHRvbi9idXR0b24ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxlQUFlLEVBQUUsWUFBWSxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDN0QsT0FBTyxFQUFDLGlCQUFpQixFQUFFLGNBQWMsRUFBQyxNQUFNLHlDQUF5QyxDQUFDO0FBRTFGLE9BQU8sRUFBQyxrQkFBa0IsRUFBQyxNQUFNLG9CQUFvQixDQUFDO0FBQ3RELE9BQU8sRUFBQyxrQkFBa0IsRUFBRSx3QkFBd0IsRUFBQyxNQUFNLG9CQUFvQixDQUFDOztBQU9oRixN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50fSBmcm9tICcuL2J1dHRvbi5kaXJlY3RpdmUnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIFR1aVN2Z01vZHVsZSwgVHVpTG9hZGVyTW9kdWxlLCBUdWlJY29uc01vZHVsZV0sXG4gICAgZGVjbGFyYXRpb25zOiBbVHVpQnV0dG9uQ29tcG9uZW50LCBUdWlCdXR0b25EaXJlY3RpdmUsIFR1aUJ1dHRvblN0eWxlc0NvbXBvbmVudF0sXG4gICAgZXhwb3J0czogW1R1aUJ1dHRvbkNvbXBvbmVudCwgVHVpQnV0dG9uRGlyZWN0aXZlLCBUdWlJY29uc0RpcmVjdGl2ZV0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUJ1dHRvbk1vZHVsZSB7fVxuIl19
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, Inject, Input, Optional, Self, } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
3
|
-
import { tuiControlValue, TuiDestroyService, tuiIsString, tuiWatch, } from '@taiga-ui/cdk';
|
|
4
|
-
import { TUI_ICON_RESOLVER } from '@taiga-ui/experimental/tokens';
|
|
5
|
-
import { distinctUntilChanged, takeUntil } from 'rxjs/operators';
|
|
6
|
-
import { TUI_CHECKBOX_OPTIONS } from './checkbox.options';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "rxjs";
|
|
9
|
-
import * as i2 from "@angular/forms";
|
|
10
|
-
export class TuiCheckboxComponent {
|
|
11
|
-
constructor(cdr, resolver, options, destroy$, el, control) {
|
|
12
|
-
this.cdr = cdr;
|
|
13
|
-
this.resolver = resolver;
|
|
14
|
-
this.options = options;
|
|
15
|
-
this.destroy$ = destroy$;
|
|
16
|
-
this.el = el;
|
|
17
|
-
this.control = control;
|
|
18
|
-
this.size = this.options.size;
|
|
19
|
-
}
|
|
20
|
-
get icon() {
|
|
21
|
-
const option = this.el.nativeElement.indeterminate
|
|
22
|
-
? this.options.icons.indeterminate
|
|
23
|
-
: this.options.icons.checked;
|
|
24
|
-
const icon = tuiIsString(option) ? option : option(this.size);
|
|
25
|
-
return `url(${this.resolver(icon)})`;
|
|
26
|
-
}
|
|
27
|
-
ngOnInit() {
|
|
28
|
-
var _a;
|
|
29
|
-
if (!((_a = this.control) === null || _a === void 0 ? void 0 : _a.valueChanges)) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
tuiControlValue(this.control)
|
|
33
|
-
.pipe(distinctUntilChanged(), tuiWatch(this.cdr), takeUntil(this.destroy$))
|
|
34
|
-
.subscribe(value => {
|
|
35
|
-
this.el.nativeElement.indeterminate = value === null;
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
TuiCheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCheckboxComponent, deps: [{ token: ChangeDetectorRef }, { token: TUI_ICON_RESOLVER }, { token: TUI_CHECKBOX_OPTIONS }, { token: TuiDestroyService, self: true }, { token: ElementRef }, { token: NgControl, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
-
TuiCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiCheckboxComponent, selector: "input[type=\"checkbox\"][tuiCheckbox]", inputs: { size: "size" }, host: { attributes: { "tuiAppearance": "" }, properties: { "disabled": "!control || control.disabled", "attr.data-size": "size", "class._invalid": "control?.invalid && control?.touched", "class._readonly": "!control", "style.--t-mask": "icon" } }, providers: [TuiDestroyService], ngImport: i0, template: '', isInline: true, styles: [":host{width:1.5rem;height:1.5rem;border-radius:var(--tui-radius-s);color:var(--tui-primary-text);cursor:pointer;margin:0;box-shadow:inset 0 0 0 .0625rem var(--tui-clear-active)}:host:before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";background:currentColor;-webkit-mask:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\"></svg>') center / 100%;mask:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\"></svg>') center / 100%;transform:scale(0);transition:transform var(--tui-duration) ease-in-out,-webkit-mask 0s var(--tui-duration) ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out,-webkit-mask 0s var(--tui-duration) ease-in-out}:host:disabled._readonly{opacity:1}:host:checked,:host:indeterminate{box-shadow:none;background:var(--tui-primary)}:host:checked:hover,:host:indeterminate:hover{background:var(--tui-primary-hover)}:host:checked:active,:host:indeterminate:active{background:var(--tui-primary-active)}:host:checked:before,:host:indeterminate:before{-webkit-mask-image:var(--t-mask);mask-image:var(--t-mask);transform:scale(1);transition:transform var(--tui-duration) ease-in-out,-webkit-mask 0s ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out,-webkit-mask 0s ease-in-out}:host[data-size=s]{width:1rem;height:1rem;border-radius:var(--tui-radius-xs)}:host._invalid{box-shadow:inset 0 0 0 .0625rem var(--tui-error-bg-hover)}:host._invalid:checked,:host._invalid:indeterminate{background:var(--tui-error-fill)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCheckboxComponent, decorators: [{
|
|
42
|
-
type: Component,
|
|
43
|
-
args: [{
|
|
44
|
-
selector: 'input[type="checkbox"][tuiCheckbox]',
|
|
45
|
-
template: '',
|
|
46
|
-
styleUrls: ['./checkbox.style.less'],
|
|
47
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
48
|
-
providers: [TuiDestroyService],
|
|
49
|
-
host: {
|
|
50
|
-
tuiAppearance: '',
|
|
51
|
-
'[disabled]': '!control || control.disabled',
|
|
52
|
-
'[attr.data-size]': 'size',
|
|
53
|
-
'[class._invalid]': 'control?.invalid && control?.touched',
|
|
54
|
-
'[class._readonly]': '!control',
|
|
55
|
-
'[style.--t-mask]': 'icon',
|
|
56
|
-
},
|
|
57
|
-
}]
|
|
58
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef, decorators: [{
|
|
59
|
-
type: Inject,
|
|
60
|
-
args: [ChangeDetectorRef]
|
|
61
|
-
}] }, { type: undefined, decorators: [{
|
|
62
|
-
type: Inject,
|
|
63
|
-
args: [TUI_ICON_RESOLVER]
|
|
64
|
-
}] }, { type: undefined, decorators: [{
|
|
65
|
-
type: Inject,
|
|
66
|
-
args: [TUI_CHECKBOX_OPTIONS]
|
|
67
|
-
}] }, { type: i1.Observable, decorators: [{
|
|
68
|
-
type: Self
|
|
69
|
-
}, {
|
|
70
|
-
type: Inject,
|
|
71
|
-
args: [TuiDestroyService]
|
|
72
|
-
}] }, { type: i0.ElementRef, decorators: [{
|
|
73
|
-
type: Inject,
|
|
74
|
-
args: [ElementRef]
|
|
75
|
-
}] }, { type: i2.NgControl, decorators: [{
|
|
76
|
-
type: Optional
|
|
77
|
-
}, {
|
|
78
|
-
type: Inject,
|
|
79
|
-
args: [NgControl]
|
|
80
|
-
}] }]; }, propDecorators: { size: [{
|
|
81
|
-
type: Input
|
|
82
|
-
}] } });
|
|
83
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvY2hlY2tib3gvY2hlY2tib3guY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2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hpcy5vcHRpb25zLmljb25zLmNoZWNrZWQ7XG4gICAgICAgIGNvbnN0IGljb24gPSB0dWlJc1N0cmluZyhvcHRpb24pID8gb3B0aW9uIDogb3B0aW9uKHRoaXMuc2l6ZSk7XG5cbiAgICAgICAgcmV0dXJuIGB1cmwoJHt0aGlzLnJlc29sdmVyKGljb24pfSlgO1xuICAgIH1cblxuICAgIG5nT25Jbml0KCk6IHZvaWQge1xuICAgICAgICBpZiAoIXRoaXMuY29udHJvbD8udmFsdWVDaGFuZ2VzKSB7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICB0dWlDb250cm9sVmFsdWUodGhpcy5jb250cm9sKVxuICAgICAgICAgICAgLnBpcGUoZGlzdGluY3RVbnRpbENoYW5nZWQoKSwgdHVpV2F0Y2godGhpcy5jZHIpLCB0YWtlVW50aWwodGhpcy5kZXN0cm95JCkpXG4gICAgICAgICAgICAuc3Vic2NyaWJlKHZhbHVlID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuaW5kZXRlcm1pbmF0ZSA9IHZhbHVlID09PSBudWxsO1xuICAgICAgICAgICAgfSk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { tuiCreateToken, tuiProvideOptions } from '@taiga-ui/cdk';
|
|
2
|
-
export const TUI_CHECKBOX_DEFAULT_OPTIONS = {
|
|
3
|
-
size: `m`,
|
|
4
|
-
icons: {
|
|
5
|
-
checked: size => (size === `m` ? `tuiIconCheckLarge` : `tuiIconCheck`),
|
|
6
|
-
indeterminate: size => (size === `m` ? `tuiIconMinusLarge` : `tuiIconMinus`),
|
|
7
|
-
},
|
|
8
|
-
};
|
|
9
|
-
export const TUI_CHECKBOX_OPTIONS = tuiCreateToken(TUI_CHECKBOX_DEFAULT_OPTIONS);
|
|
10
|
-
export function tuiCheckboxOptionsProvider(options) {
|
|
11
|
-
return tuiProvideOptions(TUI_CHECKB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ixcbik6IFByb3ZpZGVyIHtcbiAgICByZXR1cm4gdHVpUHJvdmlkZU9wdGlvbnMoVFVJX0NIRUNLQk9YX09QVElPTlMsIG9wdGlvbnMsIFRVSV9DSEVDS0JPWF9ERUZBVUxUX09QVElPTlMpO1xufVxuIl19
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class TuiChipComponent {
|
|
4
|
-
}
|
|
5
|
-
TuiChipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
TuiChipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiChipComponent, selector: "ng-component", host: { classAttribute: "tui-chip" }, ngImport: i0, template: '', isInline: true, styles: ["tui-chip,[tuiChip]{--t-gap: .125rem;--t-margin: -.125rem;--t-icon-size: 1rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;grid-gap:calc(var(--t-gap) - 2 * var(--t-margin));gap:calc(var(--t-gap) - 2 * var(--t-margin));font:var(--tui-font-text-s);border-radius:var(--tui-radius-m);padding:var(--t-padding);height:var(--t-size)}tui-chip>img,[tuiChip]>img,tui-chip>tui-svg,[tuiChip]>tui-svg,tui-chip>tui-icon,[tuiChip]>tui-icon,tui-chip>tui-avatar,[tuiChip]>tui-avatar,tui-chip>tui-badge,[tuiChip]>tui-badge,tui-chip>[tuiBadge],[tuiChip]>[tuiBadge],tui-chip>[tuiRadio],[tuiChip]>[tuiRadio],tui-chip>[tuiToggle],[tuiChip]>[tuiToggle],tui-chip>[tuiCheckbox],[tuiChip]>[tuiCheckbox],tui-chip._icon-left:before,[tuiChip]._icon-left:before,tui-chip._icon-right:after,[tuiChip]._icon-right:after{margin:var(--t-margin)}tui-chip:-webkit-any(a,button,select,textarea,input,label),[tuiChip]:-webkit-any(a,button,select,textarea,input,label){cursor:pointer}tui-chip:-moz-any(a,button,select,textarea,input,label),[tuiChip]:-moz-any(a,button,select,textarea,input,label){cursor:pointer}tui-chip>tui-icon,[tuiChip]>tui-icon,tui-chip[tuiIcons]:before,[tuiChip][tuiIcons]:before,tui-chip[tuiIcons]:after,[tuiChip][tuiIcons]:after{font-size:var(--t-icon-size)!important}tui-chip[data-size=xxs],[tuiChip][data-size=xxs]{--t-gap: 0rem;--t-padding: 0 .25rem;--t-size: 1rem;--t-icon-size: .75rem;font:var(--tui-font-text-xs);border-radius:var(--tui-radius-xs)}tui-chip[data-size=xxs]>[tuiIconButton],[tuiChip][data-size=xxs]>[tuiIconButton]{margin:-.5rem;transform:scale(.75)}tui-chip[data-size=xs],[tuiChip][data-size=xs]{--t-padding: 0 .375rem;--t-size: 1.25rem;border-radius:var(--tui-radius-xs)}tui-chip[data-size=xs]>[tuiIconButton],[tuiChip][data-size=xs]>[tuiIconButton]{margin:-.375rem}tui-chip[data-size=s],[tuiChip][data-size=s]{--t-padding: 0 .625rem;--t-size: var(--tui-height-s)}tui-chip[data-size=s]>[tuiIconButton],[tuiChip][data-size=s]>[tuiIconButton]{margin:-.375rem}tui-chip[data-size=s]>img,[tuiChip][data-size=s]>img,tui-chip[data-size=s] tui-avatar,[tuiChip][data-size=s] tui-avatar{-webkit-margin-start:-.375rem;margin-inline-start:-.375rem}tui-chip[data-size=m],[tuiChip][data-size=m]{--t-margin: -.375rem;--t-icon-size: 1.5rem;--t-padding: 0 1rem;--t-size: var(--tui-height-m);font:var(--tui-font-text-m)}tui-chip[data-size=m]>[tuiIconButton],[tuiChip][data-size=m]>[tuiIconButton]{margin:-.75rem}tui-chip>img,[tuiChip]>img{width:1.5rem}tui-chip>input[tuiChip],[tuiChip]>input[tuiChip]{position:absolute;top:0;left:0;width:100%;height:100%;margin:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiChipComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{
|
|
10
|
-
template: '',
|
|
11
|
-
styleUrls: ['./chip.style.less'],
|
|
12
|
-
encapsulation: ViewEncapsulation.None,
|
|
13
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
14
|
-
host: {
|
|
15
|
-
class: 'tui-chip',
|
|
16
|
-
},
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hpcC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvY29tcG9uZW50cy9jaGlwL2NoaXAuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7O0FBV3BGLE1BQU0sT0FBTyxnQkFBZ0I7OzhHQUFoQixnQkFBZ0I7a0dBQWhCLGdCQUFnQiwwRkFSZixFQUFFOzRGQVFILGdCQUFnQjtrQkFUNUIsU0FBUzttQkFBQztvQkFDUCxRQUFRLEVBQUUsRUFBRTtvQkFDWixTQUFTLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQztvQkFDaEMsYUFBYSxFQUFFLGlCQUFpQixDQUFDLElBQUk7b0JBQ3JDLGVBQWUsRUFBRSx1QkFBdUIsQ0FBQyxNQUFNO29CQUMvQyxJQUFJ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