1.0.0 (2025-11-25)
This version of Magma marks the beginning of 100% test coverage, which has allowed all expected problems to be fixed.
ℹ️ Information
- Add cover tests across the entire library
- All
@hostinstances have been removed due to recursive dependency issues in some cases, notably Karma tests.
✅ New
- component:
context-menu: addAbstractContextMenuComponent(Directive) abstract class for component menucontrib-calendar:- add
stepstable param to define colors - add
firstDayOfWeekparam (Monday, Sunday or Saturday; Monday by default ) - add
mg-contrib-calendar-desctag
- add
expansion:- new component with
open&disabledparams - include:
mg-expansion-header&mg-expansion-contenttags
- new component with
inputcolor: exposeinputDirectiveto get theMagmaColorPickerwalkthrough: addoverlayComponentaccess on<mg-walkthrough>
- directives:
tooltip: addmgTooltipDescribedBy
- service:
cache: addclearAll()method
- tools:
- date: add
addDuration()function - dom:
containClasses()acceptSVGSVGElement - file:
downloadFile()return DOM elementblobToBase64()add error on reject
- subscriptions: add
length() - text: add
unescapedString()function (remove accents and case), replace oldnormalizeFileName()
- date: add
🐞 Fix
- components:
color-picker: fix palette update and initinput:onError&forId: change to signalplaceholderAnimated: separator is|by default- checkbox: update all other checkboxes value in the group
- color:
- fix keyboard navigation
- fix color on mouse over
- number: improve edge values
paginate: fixcurrentPageon DOM updatetab: fix content id and tab idwalkthrough: change toOnPush
- directives:
limitFocus: exposefocusRules(css rules)ngModelChangeDebounced: fixngModelChangeDebounceTimeupdate valuesortable:- rules now are required
- improve test sorting with array
stop-propagation: improve propagation stoptooltip: rewrite directive with CDK
- pipes:
classList: remove empty classes in listfileSize: fix decimalmath: test if function existrepeat-for: round number of repeat
- service:
FormBuilderExtended:- rewrite to accept Group, Array & Record
- fix custom validation
- add
array()method for fix Array
- tools:
- array:
flattenedListItems()fix with invalid value - coercion:
numberAttributeOrUndefined()fix with invalid value - css:
getPaletteList()fix with empty value - enum:
enumToMap()fix - file:
normalizeFileName()change to remove all non-ASCII characters - number:
randomNumber()fix with invalid or impossible value - object:
objectsAreSame()improve with array and null in the object structure - other:
isEmpty(): add Set & Map support and ignore dateregexpSlash()support escape character
- array:
🎦 Demo
- Add coverage link on Readme
- Add pages for:
mg-expansionFormBuilderExtended
- Update pages for:
contrib-calendardateutilstextutils