Releases: olton/Metro-UI-CSS
Releases · olton/Metro-UI-CSS
Metro UI - v4.5.9
Update for using with webpack
Metro UI - v4.5.8
Embed icon font into css as base64
Metro UI - v4.5.7
upd pathes in mif-base.less
Metro UI - v4.5.6
Minor fixes and improves, split precompiled css to metro.css and icons.css.
Metro UI - v4.5.5
Fixed loading icon font.
Metro UI - v4.5.4
Fixed build order, issue for outline button.
Metro UI - v4.5.3
v4.5.3
Metro UI - v4.5.2
Metro UI 4.5.1
4.5.1
- Donut: fixed method
setColor({...})
- Checkbox Three State: added new component with role
checkbox-three-state
- Media: added sizes
xxxl: 1600px
,xxxxl: 1800px
,xxxxxl: 2000px
- Grid: added cells
cell-xxxl-*
,cell-xxxxl-*
,cell-xxxxxl-*
,cell-*-fifth
(20%),cell-*-one-fifth
(20%),cell-*-two-fifth
(40%),cell-*-three-fifth
(60%),cell-*-four-fifth
(80%) - Table: fixed creating head from html
- Table: added placeholder for search input with
table-search-placeholder
attribute - Countdown: fixed method
reset()
- Countdown: added method
resetWith(str|obj)
- Tabs: added events
onTabOpen
,onTabClose
- Tabs: to events
onTab
,onTabOpen
,onTabClose
added second argumenttarget
. Value for it childa.href
value - Tabs: added attribute
data-update-uri="true|false"
(defaultfalse
). If true url hash will update with tab target value - Tabs: added method
openByTarget("#...")
Metro 4.5.0
4.5.0
- Tabs Material: fixed jump to the anchors, issue #1794
- Table: fixed create
Instpector
when table data loaded with methodloadData()
, issue #1796 - Tabs Material: added mouse wheel support for scrolling tabs, issue #1795
- Select: added event
data-on-clear
, fixed firing eventdata-on-change
when user click on theclear
button, issue #1802 - Switch: fixed method
toggleState()
, issue #1799 - Select: fixed API method
data()
for selecting option when defined, issue #1755 - Select: added API methods
addOptions(values = [] || {})
,removeOptions(values = [])
- Select: added API methods
addOption(val, title, selected)
,removeOption(val)
- Select: fixed clear button work, issue #1716
- Master: fixed for quick switching panes, issue #1787
- Important: IE is dead and no more supported!
- M4Q: version updated to 1.1.0
- M4Q: removed polyfills for Promise, CustomEvent (IE is dead)
- Datetime: version
1.0.1
, new global typeDatetime
, and factorydatetime()
- Cake: version
1.0.0
, new global typeCake
, and factorycake()
- Ajax: switched from
$.ajax
($.json
,$.post
, ...) tofetch
(IE is dead) - Tag input: switched from
$.ajax
tofetch
- Input: switched from
$.ajax
tofetch
- Html container: switched from
$.ajax
tofetch
- Cookie disclaimer: switched from
$.ajax
tofetch
- Table:
_create()
,_buid()
,_saveTableView()
,loadData()
now usefetch
, and send data to server asjson
- Streamer: now use
fetch
for loading data - List: now use
fetch
for loading data - Calendar: fixed showing week numbers
- Calendar: rewritten with Datetime
- Calendar picker: rewritten with Datetime
- Countdown: updated for using with Datetime
- Chat: updated for using with Datetime
- Chat: changed messages style
- Validator: updated method
date
for using with Datetime - Table: updated for using with Datetime (change
toDate()
toDatetime.from()
) - List: updated for using with Datetime (change
toDate()
toDatetime.from()
) - Datepicker: updated for using with Datetime
- Utils: updated for using with Datetime
- Extensions: removed extension for
Date
, useDatetime
- Extensions: removed extension for
Object
-Object.create()
,Object.values()
(IE is dead) - Extensions: removed methods from extension for
String
,Array
- Any: added using
Cake.lpad
where need - Utils: removed functions
lpad
,rpad
. If you need these functions, useCake.pad
,Cake.lpad
,Cake.rpad
- Select: added attributes
data-drop-full-size=true|false
(default: false),data-drop-width=int_value
to set drop container width - Hint: added attribute
hintDeferred
if value of this > 0, a hint will display with delay. - ActionButton: fixed
vertical-align
formulti-action
class - Activity: change default style to
color
- Keylock: added new component
- Calendar: fixed bug issue #1732
- Window: fixed event
onMaxClick
, issue #1735 - DoubleSelectBox: added new component, request from Patreon patron
- M4Q: fixed setting css number props
order
,zoom
with methodcss()
- CalendarPicker: added API method
clear()
- CalendarPicker: fixed API method
val()
, if you set argument as empty stringval("")
, you clear calendar picker value - M4Q Ajax: fixed method
$.get
for url with?
, issue #1745 - List: updated for using with different tags. For example: now you can use list with
div.grid role=list > div.row > div.cell
structure - List: added attribute
data-cls-template-tag
to set class(es) for item children - List: added attribute
data-default-template-tag
to set wrapper element for item children, when template is not defined - List: improved work with an attribute
data-cls-template-tag
. Now you can set many classes separated with comma to applying to elements with linked index - Grid: fixed
no-gap
class, nowpadding
cancels for.grid.no-gap .row > .cell*
and.row.no-gap > .cell*
- Utils: fixed function
Utils.isObject()
, issue #1755 - Switch: To show on-off label you must set attribute
data-show-on-off='true'
and use attributes:data-on
,data-text-on
,data-off
,data-text-off
ori18n
configs with attributedata-locale
- Switch: added
i18n
support with propslocale.switch.on
,locale.switch.off
- Switch: added changing on-off text in runtime with API method
i18n(locale_name)
, issue #1761 - M4Q: added property
$.dark
- Accordion: added API method
open(index)
- Accordion: added attributes
data-cls-accordion
,data-cls-frame
,data-cls-heading
,data-cls-content
,data-cls-active-frame
,data-cls-active-frame-heading
,data-cls-active-frame-content
- Table: added attribute
data-use-current-slice
. If this attribute has a value true, click on select-all checkbox will only apply to the current (visible) data slice, issue #1778 - Sidebar: added attribute
data-close-outside="true|false"
to close sidebar by a click outside the sidebar, issue #1777 - Marquee: added method
setItems([...])