Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@giosg/ui-components
Advanced tools
[![Build Status](https://dronev1.int.giosg.com/api/badges/giosg/ui-components/status.svg)](https://dronev1.int.giosg.com/giosg/ui-components)
This is a collection of generic Web user interface components used in giosg services.
See DEVELOPMENT.md for instructions.
npm install @giosg/ui-components
Wrap whole application into <Root>
component (this component add global styling into page).
If you do not want to change body styling, then wrap your application into <RootWrapper>
component instead of <Root>
.
See demo page for usage examples.
See peerDependencies for additional mandatory dependencies. If you need to support IE11, you have to provide polyfills for Symbol, Map, and Set.
You can define your own theme using index.Theme
interface and take it into use with setTheme
function.
import { setTheme } from "@giosg/ui-components/src/theme/theme";
setTheme(theme);
Just be sure to call it before importing anything else from @giosg/ui-components
. Otherwise, you have to forcefully rerender already rendered components after applying the theme!
Currently active theme can be read from index.theme
, and the default theme can be read with index.getDefaultTheme()
.
Theming support is at very early stage and contains only colors (18.7.2019).
Component styles are defined using styled-components npm package and emotion
FAQs
[![Build Status](https://dronev1.int.giosg.com/api/badges/giosg/ui-components/status.svg)](https://dronev1.int.giosg.com/giosg/ui-components)
The npm package @giosg/ui-components receives a total of 109 weekly downloads. As such, @giosg/ui-components popularity was classified as not popular.
We found that @giosg/ui-components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.