Skip to content

0.40.0 Breaking Changes

N1XUS edited this page Apr 4, 2023 · 2 revisions

Multi-combobox, Multi-input #9287

Content Density #9596

  • Content Density mechanism was changed in favour of fundamental-styles content density mechanism based on parent css classes: .is-cozy, '.is-compact', '.is-condensed';
  • All components are now relying on those css classes instead of previous approach with .fd-${component-name}__[cozy|compact|condensed];
  • Now, if content densities of child and parent components are equal, child component will omit adding .is-cozy, .is-compact or .is-condensed css class modifier.
  • Shellbar and it's inner components are always keep cozy state, no matter the global or directive content density applied to it;
  • Select component changed .fd-button tag from button to span to match the markup and visual styling from fundamental-styles;

Table Drag&Drop #9626

  • Added Drag&Drop documentation section in CDK documentation;
  • Platform table now exposes dropMode input property which is auto by default;
  • Default auto dnd option behaves in following way: if dragged item is hovering another item by over n pixels, where n is calculated with following formula: [hovered element half height] + [hovered element height * threshold], it will apply shift mode, which during the drop of the dragged item will place it before or after the hovered element on the same level, otherwhise it will apply group mode, which creates children array of hovered element and places the dragged item inside it, adding +1 level to it;
  • Platform Table page has been splitted into smaller pages that are grouped by the usage scenarios such as: Personalization Dialog, Settings Dialog, Navigation, Scrolling options, etc.
Clone this wiki locally