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

@xtp-smart/style

v0.9.1

Published

xtp smart client style

Downloads

4

Readme

xtp-smart 插件项目的css样式,提供了一系列css class供开发者使用,本样式自带boostrap类库。

iview组件库配合使用效果会更好。

样式主基调是黑灰色系,背景色黑色,前景色白色,弹出层是白色。

install

npm i -D @xtp-smart/style

Use

use webpack

import '@xtp-smart/style/dist/css/smartx.min.css'

组件

接口文档还在不断完善,详细使用案例请参考 插件生成器 生成的示例项目。

sx-layout-*

划分整个页面为东西南北中五部分。

.sx-layout {
    // 上
    .sx-layout-north
    // 中
    .sx-layout-middle
    // 下
    .sx-layout-south
    // 左
    .sx-layout-west
    // 中间
    .sx-layout-center
    // 右
    .sx-layout-east
}

sx-widget-*

页面小部件,为了划分处在同一页面的不同功能区域。比如下单组件,k线组件,委托列表等。

.sx-widget-box {
    // 组件头部
    .sx-widget-header {
        // 组件标题
        .sx-widget-title {}
        // 组件头部右侧的工具栏
        .sx-widget-toolbar {}
    }
    .sx-widget-body {

    }
}

问题反馈

如果使用插件时遇到了任何BUG,可以在smart客户端的主项目中反馈问题。

QQ 交流群: 659577632