Skip to content

4.0.0

Compare
Choose a tag to compare
@ZurabDev ZurabDev released this 11 Mar 15:13
· 948 commits to main since this release
7387da0

Bug fixes

  • fix(doc/input-date-time): set static default time
  • fix(chore): stackblitz import style error #1209 #1410
    @alexhawkins94 for check
    https://stackblitz.com/edit/prizm-v3-demo-s2pfqz?file=src%2Fapp%2Fapp.component.ts
  • fix(components/date-time): time validation does not always affect control display #1419
  • fix(doc): when a hint appears, some storefront elements change theme #1407
  • fix(doc/input-date-multi): update currentIdx on changes on api page
  • fix(components/checkbox): removed unnecessary right margin for label-less checkboxes
  • fix(components/table): added hover and focus styles for cells containing prizmInput and prizmInputLayout
  • fix(components/panel): adjusted margins in PrizmPanel component
  • fix(components/inputs): layout update for Input Chips eliminates the need for additional margins
  • fix(components/inputs): removed default label from PrizmSelectOptions and PrizmMultiSelectOptions
  • fix(components/file-upload): PrizmFileUploadOptions interface updated, status names to be added via translations
  • fix(components/file-upload): added fields for file upload status translations in PrizmLanguageFileUpload
  • fix(i18n): added search field to PrizmLanguageKit for InputSelect and InputMultiSelect search translations
  • fix(components/input-date-time-range): afte clear time values in calendar got error #1368
  • fix(components/input-date-time): min/max does not work correctly in InputLayoutDateTime #1421

Features

  • feat: update angular to 17 version
  • feat: update icons set
  • feat: i18n support for base input text of validation #1354 #1402
  • feat(ci): new action to deploy doc for angular with 17 version
  • feat(components/hint): add passing context as $implicit to templates #291
  • feat(components/tooltip): add passing context as $implicit to templates #291
  • feat(components/table): discuss extending hover and focus styles to other controls
  • feat(i18n): enhanced search translation support for InputSelect and InputMultiSelect

Breacking Changes

Removed components

  • input-date-time
  • input-date-time-range
  • input-time
  • input-date
  • input-month
  • input-month-range
  • input-date-range
  • input-date-relative
  • select
  • multi-select
  • carousel

These components will no longer be supported and a replacement must be found to find alternative components with input-layout.

Theme

  • Legacy color tokens (v1, v2) have been completely removed. Mapping for new colors will be provided where possible. Colors without direct analogues in the new color scheme will require manual redefinition in projects.
  • Tokens with the prizm-v3 prefix have been replaced with prizm-

Icons

The prizm-icon component has been removed. Instead, a new set of icons has been introduced in the prizm-icons component, where the icons have new names. For each of the old icons, alternative names are provided. You can find a complete table of correspondence between old and new icon names at the link: https://prizm.site/components/icons/Old_Icons.

The following components used the legacy icon component:

  • accordion
  • table
  • breadcrumbs
  • tabs
  • button
  • icon-button
  • split-button
  • primitive-spin-button
  • primitive-year-month-pagination
  • calendar-range
  • column-settings
  • toggle
  • input-select
  • input-multi-select
    -file-upload
  • navigation-menu
  • indicator
  • input-icon-button
  • dropdown-host
  • tree
  • stepper
  • checkbox
  • tooltip
    -paginator

This means that when using the above components in your projects, you will need to either manually update the icon names to new ones, or use our service, which will automatically update the icon names to their new versions. Instructions for using this service are available at: https://prizm.site/components/icons#migrate-from-old-name.