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

balm-ui-lite

v1.8.1

Published

Material Design Lite + Vue + Idea

Downloads

76

Readme

BalmUI Lite NPM version

基于 Material Design Lite 组件库 和 Vue.js 框架 的 UI 解决方案

特点

  • 高度集成 Google 的 Material Design Lite 和 Material Design Icons,并扩展更多常用组件
  • 开箱即用的高质量 Vue 组件,插件,指令及通用方法
  • 基于 BalmJS 的工作流,支持 ES2015+
  • 支持多种使用方式

:bell: BalmUI Lite 基于 Google MDL,而 MDL 现在所能表现的功能和扩展上支持都比较有限,所以 BalmJS 官方已将开发重点转向了基于 Material Components 的下一代为 Vue.js 量身定制的 Material UI —— BalmUI

安装配置

1. 开发环境

推荐使用我们官方的 Balm CLI 来快速搭建 Vue 脚手架项目

npm install -g balm-cli

balm init vue my-project

2. 安装 BalmUI Lite

yarn add balm-ui-lite
# OR
npm i --save balm-ui-lite

3. 使用方式

普通使用(Desktop 开发推荐)

/* my-project/app/styles/global/_vendor.scss */
@import 'node_modules/balm-ui-lite/src/styles/balm-ui-lite.scss';
// my-project/app/scripts/main.js
import Vue from 'vue';
import BalmUI from 'balm-ui-lite';

Vue.use(BalmUI);

独立使用(Mobile 开发推荐)

样式脚本完全模块化,打包小

import Vue from 'vue';
import UiButton from 'balm-ui-lite/components/button';
import $event from 'balm-ui-lite/plugins/event';

import 'balm-ui-lite/components/core.css';
import 'balm-ui-lite/components/button.css';

Vue.component(UiButton.name, UiButton);
Vue.use($event);

完整文档

请查看 BalmUI Lite 官网

UI 组件列表

  • Layout
    • layout
    • grid
    • tabs
  • Common
    • badge
    • button
    • chip
    • menu
    • tooltip
    • divider
    • icon
  • Form
    • textfield
    • checkbox
    • radio
    • select
    • selectmenu
    • icon toggle
    • switch
    • slider
    • file
    • autocomplete
    • datepicker
    • rangepicker
  • Dataview
    • card
    • list
    • table
    • pagination
  • Feedback
    • dialog
    • snackbar
  • Loading
    • progress
    • spinner

UI 插件列表

  • event
  • alert
  • confirm
  • prompt
  • toast
  • notify
  • validator

BalmUI Lite 中还包含一些常用 指令服务辅助方法,具体请查看官方文档

支持环境

| IE9 | IE10 | IE11 | Chrome | Opera | Firefox | Safari | Chrome (Android) | Mobile Safari | | --- | ---- | ---- | ------ | ----- | ------- | ------ | ---------------- | ------------- | | B | A | A | A | A | A | A | A | A |

  • A 完全支持
  • B 部分支持(需要 polyfills)

如何贡献

我们欢迎任何形式的贡献,有任何建议或意见,请给我们 提问

thx BalmJS & Vue.js