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

art-dialog

v7.0.0

Published

A smart dialog box component

Downloads

35

Readme

artDialog

NPM Version NPM Downloads

artDialog——经典、优雅的网页对话框控件。

文档与示例 | AngularJS 版本

npm install --save-dev art-dialog

成功案例

超过 40 万网站在使用 artDialog,其中不乏国内顶尖的产品:

更新历史

7.0.0

  1. 支持 Webpack
  2. 支持 Npm
  3. 将 CSS 打包到 JS 中

6.0.4

  1. content()方法传入隐藏元素并显示,并且remove()的时候会将元素插入到body避免被销毁 #103 #126
  2. 修复button方法可能会多次绑定事件的问题
  3. 模态对话框可以避免 shift + tab 将焦点移出对话框 #67

6.0.3

  1. 修复button方法直接传入 html 不显示的问题
  2. 修复版本管理导致#78重现问题

6.0.2

  1. 提供无依赖 seajs 与 requirejs 的版本
  2. 取消按钮增加cancelDisplay配置,保留cancel事件的同时也不会显示取消按钮

6.0.1

  1. 进一步完善焦点管理,避免抢夺开发者自己设置的焦点#67
  2. 修复对话框内容使用 html5 data-id 属性冲突的问题#78
  3. 改善 Esc 快捷键与 cancel 的问题#36

6.0.0

  1. 功能增强:支持定义左下角的区域 HTML、支持 12 个方向的气泡对话框、支持无标题栏与按钮区的对话框
  2. 更好的交互体验:更加先进的焦点管理,支持无障碍访问
  3. 面向未来:基于 HTML5 Dialog 的 API
  4. 模块化:支持 AMD、CMD 规范
  5. 可选增强版:拖拽支持、简化框架页面调用

授权协议

免费,且开源,基于LGPL-3.0协议。