Repository navigation
Common:
- Fix image lazy loading in the Chrome.
- Changed enable \ disable editing events names.
- Update Codemirror.
- Update dependencies.
- Updated links protocol in the docs.
- Added babel.
JS > Common:
- JS > Commom: added "port" base variable.
- JS > Init: enable :active pseudo-class on iOS-based devices.
- JS > Modules: fixed json parse in the Storage module.
- JS > Parts Autoresize: added redraw custom event listener.
JS > Components:
- JS > Com.AbstractRange: added precision parameter.
- JS > Com.Draggable: added methods to set / unset target and node.
- JS > Com.ColorPicker: added to the form fields.
- JS > Com.FileReader: added ability to populate image dimensions.
- JS > Com.GalleryPopup: removed legacy code from other project,
- JS > Com.File: refactored styles.
- JS > Com.Pagination: fixed unnecessary re-render cached pages.
- JS > Com.ImageBox: updated parameter names.
- JS > Com.Geolocation: updates.
- JS > Com.DataSelect: fixed day validation.
- JS > Com.Scroll: refactored.
- JS > Com.Toolbar: added node parameter to the addButton method.
- JS > Com.UA: changed setBrowserClass method, deprecated setEngineClass method, added iOS.
- JS > Com.Pagination: improved accessibility; updated arrows.
- JS > Com.BoxTools: refactored.
- JS > Com.BoxRadiusTools: refactored.
JS > Common:
- Added and updated methods: cm.addCSSRule, cm.dataURItoFile, cm.click, cm.scrollTo, cm.triggerEvent, cm.toggleClass, cm.addLeadZero, cm.removeNodes, cm.appendNodes, cm.onImageLoad, cm.arrayPrepend, cm.removeCSSVariable, cm.bodyScroll, cm.join, cm.dateFormat, cm.isMotionReduced, cm.clearClass, cm.arraySortAsk, cm.arraySortDesc, cm.arrayClear, cm.getMinMax, cm.ticking, cm.throttleFrame, cm.parseDuration, cm.getCSSTranslate.
- Fixes in cm.ajax: array data type.
- Class constructor: added support of functions in msgObject.
- cm.toFiixed now can convert string to number.
- replaced delay parameter with error callback in the function cm.onImageLoad.
- refactored methods witch works with stylesheets.
- added cm.bodyScroll object for scroll management.
- added currentTarget attribute to the cm.customEvent.trigger.
- cm.parseJSON: return current object now.
- fix cm.isNode - exclude document constructor.
- added ability to append nodes array in the cm.node.
- fixed cm.scrollTop when block type set to end.
- added innerText as parameter in the cm.node.
- added support of upload progress in cm.ajax.
- removed old polyfills.
- added optional parameters to the cm.extend function.
- improved breakpoints.
- added scrollPadding parameter to the cm.scrollTo.
- added reAppend argument to the cm.insertFirst function.
- fix cm.getBodyScrollWidth and cm.getBodyScrollHeight.
- improved copy to clipboard method, fixed jittering on the mobile.
- removed legacy code: cm.isKey, cm.isKeyCode, cm.allowKeyCode, cm.disallowKeyCode.
- changed constant cm.isMotionReduced to function.
- updated cm.isBreakpoint method.
- updated document scroll methods.
- added support of amination theme-color in the cm.Animation, added translateX support to the cm.Animation.
- added scroll direction parameter to the cm.scrollTo function.
- updated cm.insertFirst, cm.insertLast methods.
JS > Com.AbstractController:
- added events: onResize, onScrollUpdate.
- added params attribute to states methods.
- added methods: remove.
JS > Com.AbstractContainer:
- added methods: renderPlaceholderTitle, constructControllerParams, constructControllerEvents, setControllerParams, setPlaceholderParams, isOpen.
- added parameters: preventDefault, stopPropagation.
- added events: onCloseStart.
- added semantic roles.
- migrated params to constructorParams.
JS > Com.AbstractFormField:
- added methods: toggleViisibilty, toggleRequired, getJSON.
- added parameters: helpAlign, inputClases, validateValueType.
- added options converter on the params validation stage.
- improved accessibility.
- fixed structure rendering.
- hint parameter can be an array now.
- fix for the lazy preloaded options.
- option value type; fixed option rendering; field label node append.
- added error and disabled classes.
- moved asterisk inside a label.
- icon can be a node now.
- fixed getValueOption method.
- added value showPlaceholderAbove = "always".
- hide required message.
- improved icon click event.
- fixed help parameters.
JS > Com.AbsractInput:
- added methods: getContainer, getJSON.
- fixed options validation and structure rendering.
- added parameter to toggle limiter of input max length.
JS > Com.DialogContainer:
- added parameters: buttonsAdaptive, titleAlign.
- added events: onScroll.
- added methods: setTitle, toggleButtonVisibility, setButtonsJustify, removeButton, removeButtons.
- added node parameter to the addButton method.
JS > Com.TabsetHelper:
- added events: onTabsChange, onTabChangeStart.
- added methods: tabChangeStart, tabHideEnd.
- added item callback parameter.
- code reformat and code style.
- fix init.
JS > Com.Menu:
- refactored, improved accessibility and full keyboard support.
- added ability to hide menu items.
- select first option only on the keyaboard event.
- added dataPath and dataKey item parameters.
- fixed item data validation.
JS > Com.Tooltip:
- added events: onValidateParams.
- added parameters: preventDefault.
- fixed autohide interval on show, added semantic roles.
- improved target event, slightly modified target events.
- fixed container methods.
- code style.
- hide tooltip when target is hidden.
JS > Com.Input:
- added parameters: inputClasses, limitValue, iconEvents, constraints.
- added events: onInputStart.
- added methods: renderIconView.
- added trim value.
- fixed type tel field.
- added type = search, icon can be a node.
- restored textarea structure.
- added type url.
- improved icon click event.
- fix blur events.
- added limitValue parameter for input type number.
- added constraints parameter, now support array of handlers.
JS > Com.FileInput:
- updated and fixed methods: get.
- added validation error messages if component was rendered throw form field.
- added file size validator.
- improved accessibility.
JS > Com.ImageInput:
- updated strings and code style.
- added ability to validate image dimensions.
- fixed video previews.
- added file size validator.
- fix preview structure.
- improved accessibility.
JS > Com.Select:
- added methods: getContainer, toggleOptionVisibility.
- added option parameters: renderCheckbox, textNode.
- placeholder style for the empty options.
- fixed menu disabled states.
- improved accessibility.
- added sticky placeholders and groups.
- added methods to enable / disable options.
- new format for tooltip parameters.
- fixed getText method for multi-select.
- added max parameter for select multiple.
- updated select events.
- fix blur events.
- className parameter validation.
- improved accessibility and keyboard navigation, disable selection of a disabled option while navigating with the arrow keys.
- updated group separator character.
- prevent repopulating values on browser back action.
JS > Com.Autocomplete:
- added parameters: preselectQuery.
- new format for tooltip parameters.
- updated list suggestion functionality.
- fix blur events.
- refactored.
- set registered item value if input text matches.
- fixed item selection after blur events.
- improved accessibility and keyboard navigation.
- added holdTarget for tooltip.
JS > Com.Check:
- added parameters: contentIcon.
- added support for empty labels.
- added option icon. Added checkbox group.
- added parameter to hide required message.
- empty value string is now a proper value.
- added help button target node.
JS > Com.HelpBubble:
- added align parameter.
- fixed set content when structure rendering disabled.
- fixed empty content parameter.
JS > Com.Form:
- added parameters: showNotificationsMessages, abortPreviousRequest.
- added methods: getFieldLabel, sendStart, sendEnd.
- now supported custom structure button.
- fix buttons handler parameter.
- added additional parameter in the set method.
- prevent form field validation when form is disabled.
- improved addButton method.
- added addition attribute to the appendChild method.
- added support of upload progress.
- check if upload progress is computable.
- replace merge to extend in cases with sendPath.
- added filterErrors callback.
JS > Com.Notifications:
- added closable parameter.
- added items parameter.
JS > Com.ToggleBox:
- improved accessibility and structure rendering.
- fix structure appending.
JS > Com.Tabset2:
- added methods: renderViewStructure.
- added parameters: showMenu.
- added height animation.
- tab title can be a node now.
- improved accessibility.
- disable tabs node process.
- added parameter to animate content height.
- codestyle, changed tab switch methods.
- fixed tab unset.
JS > Com.Dialog:
- added events: onScroll.
- added parameters: animateHeight, titleAlign, heightBasis.
- fixed close button focus.
- fix blinking on resize.
- fixes in renderTitle method.
- added aria-label html attribute.
- added ability to close dialog on the document click.
- improved accessibility.
- added sizes presets.
- Slightly refactored dialog component.
JS > Com.Overlay:
- added spinner size parameter.
- fixed toggle method.
- added support of progress bar.
JS > Com.Calendar:
- refactored and updated accessibility.
- added parameters: dayClasses.
- fixed select/unselect date.
JS > Com.Router:
- added parameters: catchRouteErrors, summonRouteOnError, processRoute.
- fix for url hash.
- fixed getUrl method with empty route value.
- support of url search parameters.
- added error stack.
- added data-no-route flag.
JS > Com.Gridlist:
- added events: onEmpty, onDataFilterEnd.
- added parameters: pageCount, destructOnReset.
- Improved accessibility.
- added destruct and remove methods.
- added classes parameter to the action link.
- added wrap cell parameter.
- fixed textOverflow default value.
- improved group by parameter.
- added empty width check.
- added action item access parameter and titleKey parameter for alternative hover popup text.
- added dataKey parameter for row actions.
- added dataPath key to the cell constructor.
- added tagName column parameter.
- added support of icons and statuses in the menu.
- moved action menu methods from Gridlist to the Menu component.
- changed text overflow logic.
- added check for empty data parameter.
- changes in the onEmpty event.
JS > Com.Slider:
- added parameters: setOnClick, setInitial.
- updated navigation functionality and accessibility.
- fix hidden slides.
- code style; added image background lazy loading.
- fix image url set.
- fix structure appending.
- fixed slider embeding when embedMode = replace.
- refactored effects.
- fixed change slider effect, added delay 0 as disable slideshow.
JS > Com.Gallery:
- added ability to make request on navigation
- added onNext and onPrev events.
- Improved navigation logic. Replaced custom loader with Com.Overlay.
- removed onRequest methods.
- fixed video item.
JS > Com.GalleryItem:
- added support of srcsets.
- added adaptive parameters.
- fix video previews for different extensions.
JS > Com.ScrollPagination:
- added parameters: startOffset.
- reworked buttons parameters.
- optimized scroll events, added placeholder to prevent overflow-anchoring.
- placeholder render events and embed loader.
- fixed empty view.
- LESS > Cursors: added global move cursor.
- LESS > Colors: added css variables.
- LESS > Common: updated behaviors of the custom style scrollbars.
- LESS > Common: added google font mixin.
- LESS > Common: added checkbox / radio accent-color.
- LESS > Common: added mixin for letter-spacing.
- LESS > Common: added @CmUI-MotionBounce.
- LESS > Common: added .clearfix-none.
- LESS > Mixins: added mx__backdrop-filter.
- LESS > Buttons: added css variables.
- LESS > Inputs: textarea size mixin, improved accent color for checkbox and radio inputs.
- LESS > Part CheckLine: added has-hover class, added hover states; added is-adaptive and is-flex-inline modifiers.
- LESS > Part Listing Items: added group indent variable, sticky fixes.
- LESS > Part Box: added is-flex flag to the pt__box-editable.
- LESS > Part Image: updated button controls styles.
- LESS > Part Columns: fix list styles, new style classes.
- LESS > Part Buttons: added pull-justify-auto flag; updated box styles modifier.
- LESS > Part Field: margin fix, fixed placeholder above for textarea; style improvements; added status colors; improved field validation highlight; added check line validation highlight; css variables for status field colors.
- LESS > Part Image: tag name selector changes, cursor styles.
- LESS > Part Grid: new classes.
- LESS > Part Gridlist: improved cell backgrounds.
- LESS > Part Menu: added focus-within state.
- LESS > Part Toolbar: added flex-auto and flex-none classes to columns.
- LESS > Com.Field: fiixed placeholder overlapping in textarea.
- LESS > Com.Range: added less variables.
- LESS > Com.Tabset: added new animation switch.
- SVG > Added colored close icons.