@verio/core
v1.3.0
Published
Verio core components library for the VFX project
Downloads
7
Readme
Description
Verio core components, hooks and utils library for VFX
Table of Contents
Installation
npm install @verio/core
pnpm add @verio/core
yarn add @verio/core
Use
Use the core components, hooks and utils by importing them from @verio/core.
Components
- AccordionButton
- AccordionPanel
- BasicDropdown
- Checkbox
- Dropdown
- ImagePlayer
- ImagePreview
- InputField
- Modal
- PlayerControls
- PlayerImages
- Spinner
- TabsContainer
- ToggleButton
- Tooltip
- TooltipSlider
- Drawer
Hooks
- useContainerDimensions
- useElementRect
- useWindowWidth
Utils
- capitalizeFirstLetter
- checkStringType
- convertCovJSONtoGeoJSON
- filterUndefinedValues
- formatDate
- formatDateBasedOnLocale
- formatToUTCString
- getDateInfo
- getDomainFromEmail
- getIsMobile
- getMaxValueMultipleProperties
- getMinValueMultipleProperties
- getNearestDateTimeValues
- isValidDomain
- isValidEmail
- parseXMLToJSON
- replaceDotWithComma
- roundToNearest10
Running unit tests
Run nx test core
to execute the unit tests via Jest.