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

mcloud-mobile

v1.1.1

Published

daka-v8-ui view library

Downloads

184

Readme

mCloud-Design-Mobile

daka-v8-ui view library

集成方式

npm install mcloud-mobile
react-native link

API:https://troila-mobile.github.io/mCloud-Design-Mobile/docs/Button

背景

卓朗科技的打卡助手由 react-native实现主业务开发,我们的产品即将面临 version 8.0 的产品迭代,我们面临的主要问题是_view_层的大改版和 old code 的历史包袱,我们在曾经使用很多第三方的 view library,But 这些都无法满足我们的全部定制化需求,So 经过团队内部的讨论后,我们决定由我们 **(troila-daka-mobile团队) **来自己实现一套view library

需求

  • 独立的定制化风格(由我们的UED同事重新绘制的打卡助手8.0Design
  • 便于使用的拓展性(一些第三方组件对于属性和样式的拓展性不友好)
  • 支持iOS13Dark Mode(为了更加友好的用户体验,打卡助手8.0支持了Dark Mode

实现

在这样的背景和需求之下,我们的mCloud-Design-Mobile诞生了。 我们的mCloud-Design-Mobile是开源的,分享给更多的开发者使用,也希望有更多的开发者和我们一起共同维护这个仓库

目前实现的组件

| 组件 | 描述 | | ---- |---- | | Button | 按钮| | Modal | 弹窗 | | Marquee |滚动文字| | SearchBar | 搜索栏 | | Checkbox | 复选框| | Switch | 滑动开关 | | SegmentedControl | 分段器| | NoticeBar | 提示信息 | | Radio | 单选框| | InputItem | 单行文本输入 | | Textarea | 多行文本输入 | | List | 列表 | | Badge | 徽标数 | | Card | 卡片 | | Label | 标签 | | Picker | 选择器 | | DatePicker | 日期选择器 | | EmptyView | 空显示 | | Tabs | 标签页 | | ActionSheet | 动作面板 | | Avatar | 头像 | | Stepper | 步进器 | | ShareSheet | 分享 | | ActivityIndicator | 活动指标 | | CountDownView | 倒计时 | | Steps | 分步显示 |

致谢

我们在开发的初期深入思考了对于整体样式的统一性和外部样式的可拓展性,同时我们也借鉴了一些第三方组件如@ant-design/react-native的一些开发思想,并且结合了我们的dark mode的需求,来实现整体的效果。

在组件搭建完成后,为了方便开发者阅读和使用,我们使用了docusaurus来搭建website,使用expo snack来在web端模拟展示组件样式。

Last

我们在最初寻找了社区内支持dark mode的组件,可惜并没有找到,所以我们自己开始造,我们曾经在社区内获得了非常多的资源和支持,现在我们也开始贡献给社区,尽管它可能还比较初期,一些功能还不完善,但我们会不断的维护这个仓库,帮助更多的开发者,thank。