npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mk-ui

v2.1.61

Published

Flexible, Accessible Web Components

Downloads

157

Readme

Mk[ui] v2.0

Flexible, Accessible Web Components.

  1. Independent of any 3rd party libraries/frameworks (including jQuery).
  2. Supports AMD, CommonJS, and vanilla JavaScript.
  3. Plays nice with Angular and React.
  4. Easily customizable JavaScript, CSS (both LESS and SCSS versions), and Markup for any component.
  5. Written with responsive design and full WCAG 2.0 accessibility support.
  6. Written with full mobile and tablet support (and their screen readers) for the best user experience possible.

Live Docs & Examples

Check out our live documentation and example of each available component on our GitHub Pages.

Mk[ui] v1.0

Using an older version of Mk[ui]? Get access to the old repository here.

Currently Available Components

  1. Core
  2. Selectmenu
  3. Datepicker
  4. Autocomplete
  5. Tooltip
  6. Dialog
  7. Loader
Available Soon
  1. Modal
  2. Accordion
  3. Table Sorter

Install

You can copy the files directly from this repo OR (recommended) you can install this project as a node module using npm. Using NPM is ideal for easy updates. It also will not give you the enitre project. Doing an install gives you the JavaScript, Less, SCSS, and CSS assets for Mk-Ui only. So don't worry about the install being bulky, it ain't.

npm install mk-ui

Documentation

Clone or Fork this repository for the most up to date documentation. Once the you have the app running, simply go to localhost:5280 to launch the docs site. Or just visit our GitHub Pages.

git clone https://github.com/markitondemand/mk-ui.git mk-ui

cd mk-ui

npm install !!!!NOTE THAT THIS REQUIRES AN OLDER VERSION OF NODE/NPM 6.10.0 WORKS!!!!

node index.js

Bugs, Patches, Features, and Pull Requests

When implementing a bug fix, patch, feature, and creating a pull request, you'll want to modify the JavaScript source files that live in /src/js. For CSS/SCSS changes, you'll want to make modifications to /dist/scss. DO NOT MODIFY JAVASCRIPT or .CSS FILES LIVING IN THE DIST FOLDER. When your changes are completed and at a point where you're ready to open a Pull Request, we have a couple handy gulp methods you should take advantage of first.

For compiling SCSS to CSS:

gulp sass

For compiling LESS to CSS (use for testing only. SCSS output is cleaner):

gulp less

For concating the Core files (Mk Core or Mk DOM). Use when making changes to the Core or DOM and BEFORE minify.

# to build core
gulp build-core

#to build dom
gulp build-dom

For creating both minified and unminified JavaScript files in the dist folder:

gulp minify

If you edit any documentation pages:

gulp static-site

Publishing: Log in to the npmjs.org registry. If you are on a Markit machine you need to log out of Artifactory and into npmjs.org first. Make sure the version number has been bumped in the package.json file or you will not be able to create a new package.

npm login
# enter username and password at the prompt
npm publish