Frontend Toolbox Save

Frontend tools which we used in snappmarket v2

Project README

โš™ 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!

Open Source Agenda is not affiliated with "Frontend Toolbox" Project. README Source: snappmarket/frontend-toolbox
Stars
37
Open Issues
17
Last Commit
1 year ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating