Socket
Socket
Sign inDemoInstall

metro4-dist

Package Overview
Dependencies
0
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    metro4-dist

The front-end framework for developing responsive, mobile projects on the web in Windows Metro Style.


Version published
Weekly downloads
161
increased by46.36%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

4.5.0

  • [x] Tabs Material: fixed jump to the anchors, issue #1794
  • [x] Table: fixed create Instpector when table data loaded with method loadData(), issue #1796
  • [x] Tabs Material: added mouse wheel support for scrolling tabs, issue #1795
  • [x] Select: added event data-on-clear, fixed firing event data-on-change when user click on the clear button, issue #1802
  • [x] Switch: fixed method toggleState(), issue #1799
  • [x] Select: fixed API method data() for selecting option when defined, issue #1755
  • [x] Select: added API methods addOptions(values = [] || {}), removeOptions(values = [])
  • [x] Select: added API methods addOption(val, title, selected), removeOption(val)
  • [x] Select: fixed clear button work, issue #1716
  • [x] Master: fixed for quick switching panes, issue #1787
  • [x] Important: IE is dead and no more supported!
  • [x] M4Q: version updated to 1.1.0
  • [x] M4Q: removed polyfills for Promise, CustomEvent (IE is dead)
  • [x] Datetime: version 1.0.1, new global type Datetime, and factory datetime()
  • [x] Cake: version 1.0.0, new global type Cake, and factory cake()
  • [x] Ajax: switched from $.ajax ($.json, $.post, ...) to fetch (IE is dead)
  • [x] Tag input: switched from $.ajax to fetch
  • [x] Input: switched from $.ajax to fetch
  • [x] Html container: switched from $.ajax to fetch
  • [x] Cookie disclaimer: switched from $.ajax to fetch
  • [x] Table: _create(), _build(), _saveTableView(), loadData() now use fetch, and send data to server as json
  • [x] Streamer: now use fetch for loading data
  • [x] List: now use fetch for loading data
  • [x] Calendar: fixed showing week numbers
  • [x] Calendar: rewritten with Datetime
  • [x] Calendar picker: rewritten with Datetime
  • [x] Countdown: updated for using with Datetime
  • [x] Chat: updated for using with Datetime
  • [x] Chat: changed messages style
  • [x] Validator: updated method date for using with Datetime
  • [x] Table: updated for using with Datetime (change toDate() to Datetime.from())
  • [x] List: updated for using with Datetime (change toDate() to Datetime.from())
  • [x] Datepicker: updated for using with Datetime
  • [x] Utils: updated for using with Datetime
  • [x] Extensions: removed extension for Date, use Datetime
  • [x] Extensions: removed extension for Object - Object.create(), Object.values() (IE is dead)
  • [x] Extensions: removed methods from extension for String, Array
  • [x] Any: added using Cake.lpad where need
  • [x] Utils: removed functions lpad, rpad. If you need these functions, use Cake.pad, Cake.lpad, Cake.rpad
  • [x] Select: added attributes data-drop-full-size=true|false (default: false), data-drop-width=int_value to set drop container width
  • [x] Hint: added attribute hintDeferred if value of this > 0, a hint will display with delay.
  • [x] ActionButton: fixed vertical-align for multi-action class
  • [x] Activity: change default style to color
  • [x] Keylock: added new component
  • [x] Calendar: fixed bug issue #1732
  • [x] Window: fixed event onMaxClick, issue #1735
  • [x] DoubleSelectBox: added new component, request from Patreon patron
  • [x] M4Q: fixed setting css number props order, zoom with method css()
  • [x] CalendarPicker: added API method clear()
  • [x] CalendarPicker: fixed API method val(), if you set argument as empty string val(""), you clear calendar picker value
  • [x] M4Q Ajax: fixed method $.get for url with ?, issue #1745
  • [x] List: updated for using with different tags. For example: now you can use list with div.grid role=list > div.row > div.cell structure
  • [x] List: added attribute data-cls-template-tag to set class(es) for item children
  • [x] List: added attribute data-default-template-tag to set wrapper element for item children, when template is not defined
  • [x] 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
  • [x] Grid: fixed no-gap class, now padding cancels for .grid.no-gap .row > .cell* and .row.no-gap > .cell*
  • [x] Utils: fixed function Utils.isObject(), issue #1755
  • [x] 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 or i18n configs with attribute data-locale
  • [x] Switch: added i18n support with props locale.switch.on, locale.switch.off
  • [x] Switch: added changing on-off text in runtime with API method i18n(locale_name), issue #1761
  • [x] M4Q: added property $.dark
  • [x] Accordion: added API method open(index)
  • [x] 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
  • [x] 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
  • [x] Sidebar: added attribute data-close-outside="true|false" to close sidebar by a click outside the sidebar, issue #1777
  • [x] Marquee: added method setItems([...])

Readme

Source

Welcome

The front-end framework for developing projects on the web in Windows Metro Style, created and supported by Sergey Pimenov (aka olton) with the massive support and involvement of community.

Current Version

4.5.0

github repo: https://github.com/olton/Metro-UI-CSS

Install with

bower install metro4-dist@latest yarn add metro4-dist@latest npm install metro4-dist@latest

Community

Documentation and Demo: metroui.org.ua.

Browser Compatibility

IE11+, Chrome, Firefox, Opera, Safari, Android, IOS

License

Metro UI CSS has MIT License

Keywords

FAQs

Last updated on 02 Aug 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc