All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
3.14.0 (2022-12-19)
- cdk:
Resizer
add new directive (#3248) (121e977) - cdk: add
--tui-backdrop
variable for dialog overlay (#3251) (ebe2d80) - core:
TextfieldController
add prefix, postfix and filler (#3188) (75276fb) - kit:
ItemsWithMore
add new component (#3230) (de63d7b) - kit:
SortCountries
add pipe forInputPhoneInternational
(#3257) (ffb6cd1) - kit:
TextArea
supports
size, fixm
font and padding (#3242) (cdb9c05)
- cdk: share a single subscription to the underlying source observable between multiple subscribers (#3174) (6ee6f50)
- kit:
File
fix background (#3247) (9300260) - schematics: exclude popular hidden directories (#3252) (6ea575e)
3.13.0 (2022-12-12)
- addon-table: add paginationChange event (#3105) (453c65f)
- kit: use
tuiIconClose
for sizes
(#3192) (a80c85d)
- addon-tablebars: fixed close button in table bar (#3184) (bf5d6bd)
- addon-table: don't update direction order when updating sorter programmatically (#3196) (0197d56)
- core:
DataList
fix default size (#3217) (9ab7a53) - core:
Dropdown
fix change detection inside dialogs (#3200) (74df80d) - i18n: fix dutch translations for
multiSelectTexts
(#3211) (41cb92e) - kit:
Tiles
fix handle inside Shadow DOM (#3216) (35e5399)
3.12.1 (2022-12-08)
- addon-commerce: truncate float values without rounding (#3176) (70e6887)
- i18n: fix french
TUI_COUNTRIES_MASKS
should accept numbers without leading 0 (#3191) (11ee5ed) - kit:
InputFiles
fix style encapsulation issue (#3194) (cd907c0)
3.12.0 (2022-12-05)
- cdk:
Schematics
migration multiple projects (#3144) (cf25f6a) - cdk: support
SafeHtml
input value intui-svg
(#3166) (aad787b) - kit: avatar now accepts
SafeResourceUrl
asavatarUrl
(#3149) (d4bdf64)
- addon-charts:
Bar
,BarSet
fix color getter (#3148) (e7c517c) - addon-editor: allow paste base64 image (#3138) (4222293)
- addon-table:
Reorder
fix wrong order when toggling visibility (#3145) (0e7eb9b) - cdk: add
tuiControlValue
to schematic (#3137) (465f834) - kit:
InputPhone
cut value by max phone length (#3160) (67d80fc) - kit:
Range
broken alignment + artifact line before track (#3136) (17dd30b) - kit:
Tiles
remove binding with JS to allow media query control (#3164) (91e9f5f) - kit:
Tiles
switch to CSSorder
to prevent DOM redraw (#3170) (e90da1d) - kit: Add missing
TUI_COUNTRIES_MASKS
for Overseas France (#3112) (8c2a1c9) - kit: fixed label text align for input files (#3156) (699d473)
3.11.0 (2022-11-28)
- kit:
Tiles
add component (#3124) (6facd5a) - kit: support capture in input files (#3065) (64d212c)
- testing: calendar harness test (#3058) (cfdb866)
- addon-charts: remove location origin from mask (#3125) (eaaa1fa)
- core:
Dropdown
fix direction set with binding (#3084) (866675e) - i18n: fix vietnamese (#3115) (9ae15c7)
- kit:
Input
fix mask (#3107) (9d721e1) - kit:
Stepper
fix gap according to design spec (#3095) (aafd26e) - kit:
Stepper
scroll to active step when activeItemIndex changes (#3080) (235100e) - kit: correct default active month based on
min/max
(#3092) (e1668e7)
3.10.0 (2022-11-16)
- addon-editor: improve ux for edit links (#3008) (b432f04)
- addon-editor: support attach files (#3056) (7a3fbad)
- addon-editor: support nested counters in ordered list (#3012) (1fc6ee6)
- addon-editor: upgrade all tiptap dependencies (#3001) (c0ba4e3)
- cdk: implement
tuiIsPresent
pipe (#3002) (db4a29b) - core:
DataList
addsize
input, deprecatesize
forOption
(#3071) (765ea01) - core:
HostedDropdown
addsided
input andclose
method to context (#3060) (60bd0db) - core: change underline color for today cell in calendar (#3037) (331158a)
- testing: accordion harness test (#3018) (5905545)
- testing: avatar harness test (#3019) (970e1d0)
- addon-commerce:
InputExpire
fix translation in safari (#3043) (1a258c5) - addon-commerce: fix safari expire autofill (#3015) (c2aac4b)
- addon-doc: scroll to last element in DOM if there are several (#3040) (883db38)
- addon-editor: support long words inside bulleted or ordered list (#3038) (c93ae27)
- addon-editor: support write simple text after marked link (#3021) (a2f0123)
- core:
Dialog
fix padding (#3009) (0a68461) - core: hide autofill button for Safari (#3061) (27a6aa2)
- eslint-plugin: broken
no-deep-imports
onWindows
-OS (#3053) (a3451c2) - i18n: fix french translations (#3017) (2afc420)
- kit: icon in date-related components occupies space when hidden (#2966) (27c2d79)
3.9.0 (2022-10-31)
- addon-editor: add anchor extension (#2931) (1e3a22a)
- cdk:
ScrollService
supportWindow
(#2955) (ccac3c0) - core:
DataList
update styles (#2949) (3c219c1) - kit:
Avatar
,MarkerIcon
synchronize sizes (#2975) (ebb8676) - kit:
Select
add ability to use native select on mobile (#2964) (c909bec) - kit: add tokens for customizing different bundled dialogs (#2490) (66e1aca)
- addon-editor: support original order of colors in palette (#2986) (0c869ca)
- addon-editor: support overflow content of table (#2985) (89af6a9)
- cdk: add wrapper style migration (#2971) (2f736a1)
- eslint-plugin: fix incorrect project name search (#2962) (dfbb09e)
3.8.0 (2022-10-24)
- core:
Button
add padding customization (#2932) (91c1b81) - core:
PrimitiveCalendar
add ability to change the color of the days (#2904) (3a14454) - core: disable smooth scrolling when users have prefers-reduced-motion enabled (#2943) (05027f4)
- core: update shadows styles (#2933) (37144b5)
- icons: add
tuiIconAnchorLarge
(#2944) (1e28581) - kit:
InputYear
add new component (#2919) (214fc30) - testing: add harness class for toggle component (#2939) (3dd08ce)
- cdk:
schematics
always install styles package when migrating (#2922) (52feffd) - core: fix notification padding and background color (#2937) (4ef310d)
- kit:
InputTag
fix pasting behaviour (#2936) (cd5d309) - kit:
MarkerIcon
only show hover state for interactive elements (#2950) (90da7d5) - kit:
TextArea
fix height for sizem
(#2952) (e17346d)
3.7.1 (2022-10-18)
3.7.0 (2022-10-18)
- addon-editor: upgrade
@tiptap/*
to latest (#2855) (79e14c8) - demo: stackblitz starter available via
https://taiga-ui.dev/stackblitz
(#2907) (71225b0) - kit:
ProgressBar
add:indeterminate
-state (#2876) (e311069) - kit:
Tabs
add vertical option (#2862) (a0513c8) - testing: add harness tests for tag component (#2746) (fb12283)
- addon-commerce:
InputCardGrouped
fix wrong offset for card number (#2878) (c387fb2) - addon-editor: downgrade
@tiptap/extension-table
(#2888) (93b0ed6) - addon-table:
Table
don't render column with unspecified template (#2896) (526c40a) - core:
DataList
fix first label padding (#2870) (1988491) - core:
Hint
fix mobile offscreen overflow (#2879) (5d606b3) - core:
TUI_FIRST_DAY_OF_WEEK
ignores DI-hierarchy (#2868) (169cd5c) - docs: Typo in the description of the tuiTextfieldMaxLength attribute (#2882) (00ec432)
- kit:
MultiSelect
fix sanitizer warnings (#2903) (0356d7d) - kit:
TextArea
add ability to override minHeight when using maxLength (#2899) (7292a70) - styles: put tui-island_transparent after tui-island_hoverable (#2910) (833e4de)
3.6.0 (2022-10-11)
- addon-table: add
TuiDirectionOrderDirective
to sort by order (#2782) (962084a) - kit:
Avatar
add stacking option (#2811) (0264b38) - kit:
Avatar
allow Taiga UI icons (#2824) (cfa5ead) - kit:
Badge
add overflow elipsis and title (#2806) (02713d6) - kit:
Carousel
allow vertical alignment control (#2814) (36d3c6f) - kit:
InputDate
,InputDateRange
,InputDateTime
add options DI token for custom icons (#2785) (0fe5d5b) - kit:
InputMonth
,InputMonthRange
add options DI token (#2840) (217d670)
- addon-doc: misaligned column fix (#2815) (783f59c)
- addon-editor: edit link modal shouldn't overlap content (#2803) (7f8643a)
- addon-editor: normalize h1-h6 heading in editor socket (#2808) (c8ff2d2)
- addon-editor: removing all
!important
styles (#2798) (a59afe8) - addon-editor: support nested ordered list inside a bullet list (#2805) (340ebdc)
- addon-editor: use
starterKit
only from custom extension (#2845) (98311f8) - cdk:
Obscured
fix for SSR (#2835) (6b69efb) - cdk:
schematics
errorCannot read property 'getInitializer' of undefined
(#2828) (8d5f40b) - kit:
MultiSelect
fix overflow issues (#2847) (372410e) - kit:
RadioLabeled
fix disabled label style (#2842) (001c0ad) - styles: move required styles from
styles
package to tui-root (#2854) (033960d) - styles: pseudo elements
:after
aren't removed in Safari 16 (#2825) (fdab37a)
3.5.0 (2022-10-03)
- addon-charts:
BarSet
add label (#2780) (d4f4ce0) - addon-commerce:
InputCard
extend custom icon type toPolymorpheusContent
(#2788) (b8eff54) - core:
Dialog
allowDefault
change detection strategy to work (#2762) (f71ed71) - kit:
InputTime
add checkmark near selected time (#2763) (75be9bc)
- addon-charts: make hint properties dynamic (#2774) (0a7a068)
- addon-commerce: show caret color when filling in input card group value (#2794) (aae0212)
- addon-editor: add missing starterkit dependencies (#2764) (3d017b6)
- core:
Expand
returntuiExpandContent
-directive (#2753) (0027332) - kit:
InputNumber
introduce safe integers for min/max props (#2781) (27f7c86)
3.4.0 (2022-09-27)
- testing: add component harness test for primitive-textfield component (#2584) (40e2a91)
- testing: add harness for island (#2727) (f938d49)
- addon-editor: add deps for starter-kit (#2757) (8c07868)
- cdk:
schematics
addNode.js < 16
-support (#2744) (69d20d5) - core:
Hint
fix offscreen position on small devices (#2749) (e249a54) - core:
PrimitiveTextfield
drop wrongtext-overflow: ellipsis
(horizontal scroll bug) (#2733) (2ddc249) - demo:
Stackblitz
broken styles (#2747) (1bf9e2d) - eslint-plugin:
no-deep-imports
addWindows
-OS support (#2741) (e54e3de)
3.3.0 (2022-09-16)
- eslint-plugin: new
no-deep-imports
-rule (#2666) (467420e) - eslint-plugin: new
prefer-inject-decorator
-rule (#2688) (3105204)
- addon-table: support partial objects (#2722) (550b11a)
- core:
styles
sync.scss
-files with.less
-files (#2717) (1549898) - kit:
InputFlies
new value of i18n-tokenTUI_INPUT_FILE_TEXTS
triggers text changes (#2711) (fa4e1e1) - kit:
InputPhoneInternational
extend country masks for Croatia and Bosnia (#2713) (d26b3cb)
3.2.0 (2022-09-12)
- eslint-plugin: new
injection-token-description
-rule (#2661) (3a30d5b) - kit:
InputDateRange
navigate months in sync, cancel unfinished range on esc (#2647) (14f2907)
- addon-editor: using editor-socket inside editor to fix editor styles (#2631) (68b0acb)
- addon-table: Type string is not assignable to type keyof T (#2649) (bb6d824)
- cdk:
schematics
migration 3.xError: Cannot determine project target configuration
(#2669) (eba43c0) - core: support
text-overflow
intuiTextfield
(#2657) (9b72134) - demo: make
Stackblitz
to be compatible withTaiga UI 3.0
(#2636) (5130208)
3.1.0 (2022-09-07)
- addon-table:
TUI_TABLE_PAGINATION_OPTIONS
addshowPages
option (#2586) (dc70f38) - testing:
SVG
,Badge
component harness (#2582) (1a8b77a), (#2583) (5797282)
- add compatibility with TypeScript 4.8 (#2608) (42f8d91)
- addon-commerce:
InputCardGrouped
fix dropdown width (#2616) (4aa5026) - addon-table:
ThGroup
fix columns updating (#2602) (1de7c24) - cdk:
parse5
&ng-morph
movedependencies
=>optionalDependencies
(#2604) (8a6d3a8) - core: fix dialog header type (#2559) (36d0aa4)
- kit:
Carousel
reset autoscroll timer when index changes (#2614) (4c1b958) - kit:
InputNumber
fix positive min/negative max clipping (#2575) (87b13f7)
3.0.1 (2022-09-01)
- cdk:
schematics
fix 3.0-migration fortuiTextfieldInputMode
(#2544) (9f8fd3d) - core:
DropdownContext
close previous dropdown after new one is opened (#2535) (ae45123)
3.0.0 (2022-08-30)
- Update to Angular 12 (#2080,
#2097, #2110).
Enable
Ivy
by default (#2076). Drop legacyView Engine
-support. - Migrate to Polymorpheus 4.x.x (#2165).
- Update supported browser versions. Drop support of legacy not-chromium Edge (EdgeHTML)
(#2318). Bump supported
Safari
to12.1+
(#2391). - All exported entities without
tui
-prefix was renamed to the same one with prefix: functions, constants, pipes, classes, etc. - styles: move all global styles from
@taiga-ui/core
to new optional package@taiga-ui/styles
(#2320). Deletetui-palette.less
(data-tui-background
anddata-tui-color
global states) (#2473). - core:
Dropdown
refactor dropdowns completely (#2389). - kit: remove legacy
InputFile
component (#2087). Use newInputFiles
component instead. - addon-editor: replace legacy
Editor
with new one based on popular open-source solution TipTap. - core:
Hint
support 12 directions (#2256). Add context input (#2273). Add new directiveHintDescribe
(#2495).HintController
remove separate module (move insideTuiHintModule
) (#2484). - core:
TuiTextfieldController
deletetuiTextfieldAutocomplete
,tuiTextfieldExampleText
,tuiTextfieldInputMode
,tuiTextfieldMaxLength
,tuiTextfieldType
(#2410) in favor of native input alternatives. Allow passing icons at both sides simultaneously in textfield components (#2037). - kit:
Slider
|InputSlider
|Range
|InputRange
drop all deprecated API (#2200, #2207, #2215, #2243). Use strict version ofTuiKeySteps
(#2220). Delete legacy<tui-slider />
(#2184). - kit:
Action
new selectorbutton[tuiAction], a[tuiAction]
(#2479). Better customization + new API (#2505) - kit:
Stepper
renamestate
input (=>stepState
) to avoid collision withrouterLink
(#2437). - core: remove
tuiExpandContent
directive (#2501) - kit:
DataListDropdownManager
move into separate module (#2317) - cdk:
Let
directive can emitnull
(#2496) - cdk: remove deprecated
setNativeFocused
,tuiCustomEvents
,tuiPadStart
,getClosestElement
,fallbackValue
(#2074, #2276). Use native alternatives. - core:
tuiFormatNumber(value, configs)
new function signature (#2309) - cdk:
tuiGetClosestFocusableElement(configs)
new function signature (#2436) - core: new names of css breakpoints (#2393).
- core: remove deprecated pluralize (#2222). Use Angular built-in I18nPluralPipe.
- core: move fonts to separate file
taiga-ui-fonts.less
(#2132) - Replace deprecated directives (
*tuiTab
,*tuiBreadcrumb
,[tuiToolbarTool]
) with universaltuiItem
-directive (#2069) - Move all color-converter utils (
addon-editor
/addon-doc
=>cdk
) (#2280) - Remove
tui-wrapper
,tui-group
,table-mode
,field-error
component,tui-breadcrumb
items (#2121). - kit: remove deprecated
TUI_MOBILE_AWARE
(#2099). - core:
AlertComponent
use new context (#2362) - cdk:
PortalService
switch to usingPolymorpheusComponent
- addon-commerce, addon-chart: remove deprecated enums (#2095)
- remove deprecated core-enums,
TuiColor
,colorFallback
,DEFAULT_COLORS
,TuiColorHandler
(#2158) - remove date-time related deprecations,
EMPTY_VALIDATOR
(#2164) - remove deprecated properties from
AbstractTuiInteractive
(#2124) - remove autofill enums (#2500).
This release introduces a lot of breaking changes.
Most of them can be solved automatically with the following
command:
ng update @taiga-ui/cdk
Troubleshooting:
- Npm 7 has a known issue. If you face "Conflicting peer dependency"-error,
try the following workaround:
ng update @taiga-ui/cdk --force
. - If you face any other issues, try to update all Taiga UI's packages manually.
Then check thatnode_modules/@taiga-ui/cdk/package.json
contains3.x.x
-version.
After all, runng update @taiga-ui/cdk --migrate-only --from=2 --to=3
. - If any problem still persists, please, create an issue.