Skip to content

Latest commit

 

History

History
284 lines (239 loc) · 12.4 KB

File metadata and controls

284 lines (239 loc) · 12.4 KB

Changelog

5.1.20

  • Fixed parsePhone() utility function
  • Added support for custom nodes in ListView
  • Fixed addOptions() method is select component

5.1.19

  • Added attribute data-size to analog-clock component
  • Refactored clock component, added attributes data-size, data-hour-format=12|24, improved time calculation
  • Fixed data-on-color, data-off-color for rating component
  • Added method validate() to validator component
  • Added component log, you can use Metro.log(...), Metro.warn(...), and Metro.error(...), these messages extended from console.log, and have different color output.

5.1.18

  • Fixed bg-*-clown family colors
  • Corrected saturated and darken colors
  • Added animation to the linked block connector
  • Changed Metro.makePlugin(), now return plugin instance instead of an element
  • Fixed page control creating
  • Updated datetime package with fix for utc(), locale() methods, and added formatting system, align strategies system
  • Updated analog-clock, now you can use attribute data-time-zone to set specific utc offset in hours (-/+) and data-use-utc to enable it
  • Updated clock, now you can use attribute data-time-zone to set specific utc offset in hours (-/+) and data-use-utc to enable it
  • Updated cutter, now default style is line, added wave, wave can have any color
  • Fixed data-size attribute in activity component, added attribute data-box-size for metro activity
  • Fixed prev, next icons in calendar for android
  • Fixed accordion fame state marker for android
  • Fixed reaction inputs, select, and textarea components to change disabled property for input, select, textarea elements
  • Improved button for using colors, now you can use all colors to define button color with classes button-light-[color], button-minor-[color], button-[color], button-sat-[color], and button-dark-[color]
  • Added classes glow, glow-hover, glow-animated, and glow-animated-hover to push button
  • Fixed passing classes to the parent element for custom-checkbox, remove border by default
  • Remove duplicate border definition for before and after pseudo elements
  • Improved color correction for dropdown-caret in colored parents
  • Improved analog-clock - changed element sizes and positions
  • Fixed minor issues for dropdown component, Fixed analog-clock style

5.1.17

  • Added components linked-block and linked-connector
  • Dialog content container display property changed to block
  • Improved cube component for using CSS vars

5.1.16

  • Fixed method val() in the select component for multiple select.
  • Fixed the movement of the hour hand in the analog clock (thanks to CmPi).
  • Added background patterns
  • Added new gradients gradient-cosmic-aurora, gradient-midnight-mist
  • Added new icons
  • Added new prop zIndex and method zIndex() to the window component

5.1.15

  • Fix validator for the required rule for the input with role
  • Improved rule date for validator
  • Added component resizable-container
  • Fixed bug in hotkey component when using $(...).hotkey() method for non-input elements
  • Fixed clear button action in the select component

5.1.14

  • Updated Farbe - fixed saturate(), desaturate(), and brighten()
  • Fixed incorrect behavior of calendar and calendarpicker components, issue #1991
  • Change Number.isNaN to isNaN

5.1.13

  • Fixed Component for using Dom instead of jQuery if jQuery is loaded.
  • Updated Farbe class

5.1.12

  • select - fixed method val() no icons were displayed when using this method
  • select - added method clear() to clear selected value(s)
  • select - refactored method reset() - now calling this method resets select to initial state
  • typer - fixed color change
  • sidenav-m3 renamed to sidenav and has role sidenav

5.1.11

  • Updated select component: added event onOptions to select component, to remote data added selected prop.
  • md5 moved to common-js
  • Fixed function min, max in validator component.

5.1.10

  • Fixed dropdown-caret position on d-menu and v-menu components.
  • Rewritten h-menu.
  • Fixed t-menu for items with submenus.
  • Fixed position property for context-menu component.
  • Improved sidebar component.
  • Improved sidenav-simple menu.
  • Improved sidenav-counter menu.
  • Improved sidenav-m3 menu.
  • Fixed bug in toast for applying options
  • Updated button size, reduce large, added largest
  • Updated input size, reduce large, added largest
  • Fixed gravatar for creating when an element is not img, added avatar class
  • Improved split-button component, added place-left class for dropdown menu
  • Updated table, added padding classes small-padding, medium-padding, large-padding, largest-padding
  • Updated icons, added tags set
  • Improved custom buttons in input, dialog, panel, and window components
  • Updated remote-dataset, remote-table components - changed property names, added custom params
  • Fixed using css var --dialog-border-color
  • Removed upper-case from label-for-input class
  • Fixed losing focus on input with role input-mask after clicking tab
  • Updated gradients
  • Fixed x position in select filter input
  • Added product-show-card component
  • Fixed maxDate for calendar component. Max date now is not included in the range.
  • Updated bulls, added chat, checkmark, cancel, tree images
  • Fixed method val() for select component
  • Added component catalog-menu
  • Added component stack-menu
  • Added function getInnerSize() to utils for getting element inner size
  • Added sizes small, medium, large, largest to checkbox and radio components
  • Added using clamp() function for define size for headers h1...h6, and display4...display1 classes
  • Updated breadcrumbs
  • Added component image-carousel
  • Improved animated-border class
  • Fixed font-size in bar3d component
  • Fixed bug for min, max constraints in spinner component
  • Improved remote-dataset, remote-table components for using remote controls

5.1.9

  • Added bulls: star, badge
  • Updated textarea, added attribute data-initial-height
  • Updated chat, added attribute data-send-mode (values: button, enter, control+enter)
  • Updated chat, an input field type changed to textarea
  • Updated chat, added support "..." code blocks
  • Updated chat, added support for emoji
  • Fixed toggle-button behavior

5.1.8

  • Renamed radio-button to toggle-button
  • Fixed attribute data-caption for radio component
  • Added component cutter for visual cutting page
  • Added new events to table component: onDrawHead, onDrawFoot, onDrawBody, onInspectorOpen, onInspectorClose, onFieldShow, onFieldHide, onFieldToggle, onFieldMove, onSort, onPageChange, onRowClick, onRowDblClick, onCellClick, onCellDblClick
  • Added color classes for tabs
  • Updated tabs API: method open now can accept target as a parameter
  • Added new features to chat component: attachments, links, code blocks

5.1.7

  • Added component radio-buttons (n8n style)
  • Fixed component splitter for save state
  • Added sizes to info-button, image-button, split-button
  • Added sizes to input controls
  • Fixed hover on appbar menu subitems
  • Updated docs for a lot of components
  • Added component bar3d
  • Added component github-box
  • Improved component audio-button

5.1.6

  • Fixed knob position in the witch component
  • Updated docs for a lot of components

5.1.5

  • Fixed checkbox bug in table component
  • Updated docs for a lot of components

5.1.4

  • Updated colors yellow, seashell, clown
  • To navview added new CSS vars: --navview-icon-color, --navview-icon-color-hover, --navview-icon-color-active
  • navview now uses two chars for icon replacer if caption has two words: for caption Serhii Pimenov will be used SP
  • Remove default styles for lists: list-style-type
  • Fixed the dialog close action for default actions
  • Fixed knob position in switch component

5.1.3

  • Improved audio-player component
  • Fixed i18n for clock component
  • Fixed input file component
  • Fixed resetWith method in countdown component

5.1.2

  • Added new languages for i18n component: de, es, fr, hi, it, pl, pt, zh
  • Ukrainian language for i18n component renamed to uk
  • Updated hotkey component: arbitrary order of special keys: ctrl+shift+alt+f, added handler for windows/command key
  • Fixed icons for wizard
  • Added component wizard-classic
  • Minor fixes and improvements
  • Fixed i18n component

5.1.1

  • Added a combined hotkeys feature. Now you can create hotkey as: alt+1 2
  • Improved window caption buttons
  • Improved ribbon-menu component, added scrollable feature
  • Removed default transition property, update loading button
  • Fixed bug in countdown component

5.1.0

  • Updated color values, each color is worked by hand.
  • Added gradient backgrounds with gr-COLOR, gr-light-COLOR, and gr-dark-COLOR
  • Added new colors: champagne, khaki, charcoal, cinnamon, glaucous, nude, terracotta, coral, army, seashell
  • Renamed colors to *-color, *-light-color, *-dark-color
  • Improved progress bars
  • Added classes .animated-border, .animated-border-COLOR
  • Full refactoring
  • New components
  • Dark/Light themes for all components
  • Complete migration from JavaScript 5 to JavaScript 6+
  • New build engine with esbuild
  • New built-in libraries (Dom, Hooks, Html, Farme, Datetime, Guardian, -String, Router, Model)
  • Built-in Reactive Model with two ways binding
  • New i18n engine
  • And much, much more...

5.0.13

  • Update Sidenav Counter, added role, theme
  • Update NavView (save compact state)
  • Set the default size for body to 100vh

5.0.12

  • Update components for themes
  • Update NavView (save compact state)
  • Update sizing css, added h-10, h-66, h-80, h-90
  • Improve Spinner button hold event
  • Fix Calendar duplicate day 27 for october

5.0.11

  • Fix G.number()
  • Bugs fixes

5.0.7

  • Update components for themes
  • Update Hooks
  • Update m4q
  • Update Farbe

5.0.6

  • Fixed app-bar-menu for collapsed appbar
  • Redesign navview and upd for themes
  • Update listview for themes
  • Update select for themes
  • Redesign grid. Now used with grid gap instead of cell padding. You can compile old grid manually from file grid-old.less.

5.0.5

  • Update dialog for themes
  • Added color variables
  • Updated m4q, new methods: $.curry, $.compose, $.pipe
  • Redesign treeview

5.0.4

  • Improved app-bar, added dark, light themes
  • Improved d-menu, added dark, light themes
  • Fix d-menu in app-bar
  • Improved collapse components
  • Improved panel, added dark, light themes
  • expand-button renamed to transofrm-button, added new states left, right, top, bottom, top-left, top-right, bottom-left, bottom-right
  • Added component theme-switcher
  • Update common css for themes
  • Update accordion for themes
  • Update calendar for themes
  • Update button-group for themes
  • Update checkbox for themes, style2 removed
  • Update cards for themes
  • Added class error
  • Updated breadcrumbs default, added new style breadcrumbs arrow

5.0.3

  • Improved counter with useEffect
  • Improved v-menu
  • Update core libs
  • Added grid2

5.0.2

  • Improved d-menu, fix interacts with other components (treeview, sidenav-m3, app-bar)

5.0.1

  • Fixed button outline style
  • Improved d-menu

5.0.0

  • Added/updated libs color, html, datetime, string, hooks, animation, m4q
  • Improved any components (treeview)
  • Added page-control
  • Bugs fixed
  • Improved building with rollup