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

@rax-ui/filter-multi-select

v1.0.0-beta.15

Published

--- display: @rax-ui/filter-multi-select family: other ---

Downloads

3

Readme


display: @rax-ui/filter-multi-select family: other

@rax-ui/filter-multi-select

@rax-ui/filter 组件中使用的单选、多选、输入框选择面板业务组件

组件功能

支持用户传入自定义选项

  • 支持多选框内设定自定义输入范围
  • 在拥有默认样式的情况下支持自定义样式

API

Props

|名称 | 类型 | 默认值 |描述 | |:---------------|:--------|:----|:----------| |styles|Object||样式| |title|String|''|选项标题| |foldable|Boolean|false|面板是否可折叠| |filterKey|String|''|选项key| |filterValue|Array|[]|选项默认选中值| |dataSource|Array|[]|选项| |range|Object|{}|输入范围选项|

Function

|名称|参数|类型|描述| |:---------------|:--------|:----|:----------| |onChange|{}|Function|选项更改触发回调| |reset|/|Function|选项重置| |getFilterParam|/|Function|主动获取搜索参数|

CSS API

| 名称 | 说明 | |:---------------|:--------| |multi__select__select__box__wrapper|选项外容器样式| |multi__select__title__wrapper|标题外容器样式| |multi__select__title|标题样式| |multi__select__fold__icon|折叠icon样式| |multi__select__invisible__fold_icon|隐藏折叠icon样式| |multi__select__block__container|单选项外容器样式| |select__box__block|选项样式| |select__box__block__selected|选中选项样式| |select__box__block__text|选项文本样式| |select__box__block__text__selected|选中选项文本样式| |input__unit__wrapper|输入框样式| |input__unit__main|输入框文本样式| |input__unit__unit|输入框单位样式| |input__unit__title|输入框文案样式| |input__unit__separator|文本输入框范围选项间隔样式|