Releases: olton/Metro-UI-CSS
Releases · olton/Metro-UI-CSS
Metro 4.2.39
4.2.39
- NavView: minor improve styling
- NavView: add method
pullClick()
for emulate pull button click at runtime - NavView: add class
.focusableItems
to add focus state for items - NavView: add attribute
data-active-state="true|false"
to add active state for menu items - NavView: add
.badges
container for menu item for collect menu item badges - NavView: add
.data-box
container for navigation view pane - IconBox: new css component
- Panel: fix draggable
- Panel: add custom buttons to panel title
- Table: fix assign classes from attribute
data-cls-head-cell
- Breadcrumbs: add
.breadcrumb-item
class - Draggable: fix recreate element content when drag started
- Table: fix implements custom class to custom wrappers (search, pagination, ...), issue #1335
- Select: fix error for validating required func for select with
multiple
option, issue #1338 - Select: for validating added functions
length
,minlength
,maxlength
for select withmultiple
option
Metro 4.2.38
Metro 4.2.37
4.2.37
- Input material: fix error when creating element, issue #1318
- Calendar: fix
justify-content
fordays-row
- Table: fix minor bug for sortable column click event
- Table: fix minor bug when inspector dragged
- Window: fix creating window with empty title
- Utils: fix method
keyInObject
- Utils: fix constant for `keypress
- Table: fix firing
onSearch
for clearing search field - TreeView: fix method
toggleNode
, pr #1326 - Step list: fix index position when
index > 9
, issue #1328 - Lists: add
group-list horizontal
Metro 4.2.36
4.2.36
- Window: fix system button click behavior when draggable enabled
- Window: fix creating
icon
andtitle
if these not defined - ListView: add trigger
change
when nodes selected/deselected, issue #1313 - Window: add custom buttons to caption
Metro 4.2.35
4.2.35
- Draggable: refactoring
- File: add label for counting selected files for dropdown area
- Storage: refactoring and fix session storage
- Input material: set autocomplete off
- Tabs: fix clear targets before recollect, issue #1303
- ListView: fix attributes observing
- Notify: fix using custom distance option
- Rating: minor improve code
- Ribbon menu: fix button group width calc, issue #1296
- CSS: fix
align-items
property forselected
andtag-input
, pull-request #1306, issue #1305 - Spinner: fix twice click effect on Android devices, issue #1307
- Input: fix triggering
change
forautocomplete
feature, issue #1310 - CalendarPicker: fix selection when using
val(...)
, issue #1308 - Popovers: fix change value for attribute
data-popover-text
, issue #1309 - Charms: add charm
tiles
andnotifies
with classes.charm-tile
and.charm-notify
Metro 4.2.34 Important update, Metro 4 return into strict mode!
4.2.34
- Sidebar: fix error for shifting content issue #1294
- Checkbox: fix create rule
- Radio: fix create rule
- Switch: fix create rule
- Select: fix rotating drop down toggle
- Tabs: fix switching content, issue #1297
- Input: fix autocomplete list, issue #1298
- Metro: return to strict mode
- Toast: fix creating error
- Streamer: fix select stream
Metro 4.2.33
4.2.33
- Init: fixed initialization process for widgets, loaded over Ajax
Metro 4.2.32
4.2.32
- File: fix event trigger
on-select
for FF when user drops files - File: fix event trigger
on-select
for IE11 when user drops files - Dialog: fix
onChange
event - Table: add event
data-on-data-load-error
Happy new year!
Metro 4.2.31
4.2.31
- Sidebar: add submenu support
- Sidebar: add any content support with li class
.content-container
- Sidebar: add attribute
data-size
to set sidebar width - Sidebar: add attribute
data-position
to set sidebarright
orleft
(default) - Array: add function (if not exists)
contains(val, idx)
- String: add function
toArray(delim, type, format)
this function is equal toUtils.strToArray
- Calendar: add attribute
data-exclude-day
. Comma separated string with day number from 0 (Sunday) to 6 (Saturday) - Calendar: add attribute
data-show-week-number="true|false"
- Calendar: add attribute
data-week-number-click="true|false"
- Calendar: add event
data-on-week-number-click="..."
- Calendar: add event
data-on-day-draw="..."
- Calendar: fix day selection for disabled
- Calendar: add class
day-border
and attributedata-day-border="true|false"
- Validator: fix error if value is undefined
- Validator: function
date
now support additional input attributedata-value-format
for non ECMAScript dates - Validator: function
date
now support additional input attributedata-value-locale
for non ECMAScript dates - Z-index: set equal z-index for
appbar
,bottomnav
,bottomsheet
,tabsmaterial
- Carousel: rename attribute
data-bullet-style
todata-bullets-style
- Carousel: add attribute
data-bullet-size
with valuesdefault
,mini
,small
,large
- Carousel: add style
cycle
- Popover: set default value for
data-popover-timeout
to10
, issue #1277 - Storage: Objects
storage
andsession storage
combined into one object. Access to objects remained unchanged:Metro.storage
,Metro.session
- String:
String.toDate
now supportlocale
as second parameter:"21 грудня 1972".toDate('%d %m %y', 'uk-UA')
- Navview: upd docs and less
- Lists: upd
items-list
,feed-list
,group-list
to use with not a list element. - Table: minor improve update
- Table: add attribute
data-horizontal-scroll-stop
. You can use this attribute to define media to stop scrolling.
Metro 4.2.30
4.2.30
- Toast: add function
init(options)
, now you can set toasttop
position anddistance
. See docs for details. - t-menu: less code moved to separate file
- h-menu: less code moved to separate file
- drop-utils: now contains classes for drop-down:
dropdown-toggle
,drop-up
,drop-left
,drop-right
- sidenav-m3: fix icon position for submenu, issue #1266
- Splitter: fix gutter for nested splitters
- Splitter: fix calc min size if value for attribute
data-min-sizes
comma separated value - Docs: fix mistake in docs for
sidenav-counter-expand-*
, issue #1269 - Docs: fix mistake in docs for
spacing
- Command button: set
font-weight
to override it when use in wordpress - Command button: set
line-height
to override it when use in wordpress - Inline-form: change behavior for
.form-group
- Carousel: add events
onSlideShow(HTMLElement slide)
,onSlideHide(HTMLElement slide)
- Examples: fix
start-screen
for scroll on mobile devices