Giter VIP home page Giter VIP logo

frontend-toolbox's Introduction

⚙ SnappMarket frontend powerful tools

version downloads PRs Welcome MIT License CodeFactor

All Contributors

hooks, helpers, ui components and icons that we used in new version of snappmarket website

demo

You can see demo at : https://ft-box.netlify.com/

get started

npm i @snappmarket/ui
npm i @snappmarket/hooks
npm i @snappmarket/helpers
npm i @snappmarket/icons
npm i @snappmarket/config

// OR 

yarn add @snappmarket/ui
yarn add @snappmarket/hooks
yarn add @snappmarket/helpers
yarn add @snappmarket/icons
yarn add @snappmarket/config

Hooks Found Here

Hook Name Description
useDebounce 🔂 Change rapidly, do once
useDidUpdateEffect 🧵 Do not worry about render phase effect calls
useFocus 😵 Focus on every thing you want
useForceUpdate 👿 force update component
useGeoLocation 🗺 easily deal with navigator location API
useRouteChange 🏹 detect when react router dom route changes
useTimer ⏱ easily handle timing

💈 UI Components found here

Component Description
Accordion Accordion Ui component
Alert Alert Ui component
Breadcrumb Breadcrumb Ui component
Button Button Ui component
Checkbox CheckBox Ui component
ConfirmDialog ConfirmDialog Ui component
Dialog Dialog Ui component
Grid Grid Ui component
GridSystem GridSystem Ui component
Icon Icon Ui component
Image Image Ui component
Input Input Ui component
InputRange InputRange Ui component
Range Range Ui component
Range Range Ui component
Json Json Ui component
Label Label Ui component
LinedText LinedText Ui component
Loading Loading Ui component
Modal Modal Ui component
OptionGroup OptionGroup Ui component
Radio Radio Ui component
Pagination Pagination Ui component
ProgressBar ProgressBar Ui component
Skeleton Skeleton Ui component
Slider Slider Ui component
TabSwitcher TabSwitcher Ui component
TextWrap TextWrap Ui component
Toggle Toggle Ui component
Tooltip Tooltip Ui component

💊 Helpers Found Here

Helper Methods
ArrayHelpers arrayItemAddProp ,flattenArray ,serializeObject ,stringifyArray ,deepFlatten
CookieHelpers getCookie, setCookie
DebugHelpers delog, ApiError, globalErrorCatcher
HttpHelpers fetchWithTimeOut, universalCall
JsonHelpers recursiveJsonParse
MapHelpers isLocationInIran
NumberHelpers persianNumber, englishNumber, generateKey, cellphoneValidate, cellphoneValidatePattern, currencyPrice
ObjectHelpers removeByKey, flattenObject, makeCookieString, safeObjectPropertyRead, getNextProp
OSHelpers getOSName, getAgent
PromiseHelpers racePromise, makeTimeout, emptyPromise
ProxyHelpers onChangeReflector
ReduxHelpers actionMaker, normalizeActionType, configPersistor
StorageHelpers getLocalStorageData
StringHelpers stringReplace, bulkStringReplace
TemplateHelpers HexToRgb, defineForegroundColor, makeRgba, decideMeasurement, makeShadow
WindowHelpers getPathName, getWindowSize

💎 Icons found here

All icons has svg file, react component, and an special sprite svg

  • 💯 100% tested react 100+ svg icon components

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Jafar Rezaei

🚇 ⚠️ 📖 💻 🤔 🚧 📦 👀

Reza Erami

🚇 ⚠️ 📖 💻

mahsa mesbah

⚠️ 📖 💻

Mostafa Rastegar

🤔 ⚠️ 💻

This project follows the all-contributors specification. Contributions of any kind welcome!

frontend-toolbox's People

Contributors

allcontributors[bot] avatar code-factor avatar github-actions[bot] avatar kt0 avatar mesbah68 avatar mostafarastegar avatar rezaerami avatar sayjeyhi avatar snappmarket-bot avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

frontend-toolbox's Issues

⚠️ Greenkeeper is no longer available for new installations

Hello!

Greenkeeper is no longer available for new installations.

The service will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020. Find out more at greenkeeper.io.

If this is your only Greenkeeper installation, you can just sign up for Snyk directly, it’s free for Open Source even has free features for private projects as well.

Nevertheless, thanks for your interest in Greenkeeper! We’re sure your repositories will find a good home at Snyk ☀️🏡💜

All the best from everyone at Greenkeeper! 👋🤖🌴

implement tests

every package folder should have a test file at lease with a simple test, then we could try to complete them, but the first need is adding simple test files to each package and implement test code coverage.

Add more components

Component Needs:

  • - Typography [text, title]
  • - Divider
  • - Basic layout [sidebar, nav , content, footer]
  • - Steps
  • - Calendar
  • - Rate
  • - Select
  • - Avatar
  • - Comment
  • - Empty
  • - Card
  • - Timeline
  • - Spinner

Versioning issue on parent package releases

there's an issue on releasing parents with versioning.
when you release the parents with --patch tag, it shows npm error that you can't publish the package on the previous version, then after you run it again it works but it also increases the patch number again, so for example if it was 0.2.4, on 0.2.5 you'll get the publishing error, and by publishing again, it you'll see the 0.2.5 version on npm but 0.2.6 on pavkage json of parent packages

⚠️ Greenkeeper is no longer available for new installations

Hello!

Greenkeeper is no longer available for new installations.

The service will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020. Find out more at greenkeeper.io.

If this is your only Greenkeeper installation, you can just sign up for Snyk directly, it’s free for Open Source even has free features for private projects as well.

Nevertheless, thanks for your interest in Greenkeeper! We’re sure your repositories will find a good home at Snyk ☀️🏡💜

All the best from everyone at Greenkeeper! 👋🤖🌴

Should add a command to publish child packages

As we mentioned before we use release:tops script on root to make a alpha (for now).
lerna publish is not so reliable command so we need to publish parent and child packages in separate ways. this could be a command like release:tops and could have name release:childs , then we could have a release script to run this two scripts and even decide between versioning.

make documentation site, based on mdx files with docz

we could make a site for documentation and use docz build directory to show them, it need a little ci/cd and deployment flow.
A little note will be the size of docz bundle and trying to lazy load components maybe.(not for first step)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.