Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@zebra-fed/zds-react-desktop
Advanced tools
Readme
npm i -s @zebra-fed/zds-react-desktop
-@zebra-fed/icons
This library is build with theme in mind. To use the library, the entire react application must be wrapped in <StripesTheme>
import { StripesTheme } from '@zebra-fed/zds-react-desktop/StripesTheme';
<StripesTheme>
<App />
</StripesTheme>;
To publish to NPM:
package.json
Increment version number
yarn build
cd build
npm publish
Publish update to NPM
You can easily develop and interact with your components by using Storybook. To run the local server, simply run:
$ yarn start
Navigate to http://localhost:6060 to view your styleguidist. They should automatically update as you develop.
Styleguidist will pick up any Readme from the README.md
file in a component folder.
The <SVGIcon />
component requires the configuration of a iconLibrary passed through to the Stripes theme for it to pick up the symbols. This is configured like such:
import { icons } from '../resources/iconLibrary';
const themeObj = {
icons: icons,
};
<StripesTheme mode={'dark'} theme={themeObj}>
// body of your app
</StripesTheme>
The Stripes project exposes a script that will take a folder of SVG icons, iconography that is specific to your application, and compiles it into a single iconLibrary string that will be ingested into the Stripes theming engine.
The filename of the svg files will be used as the iconid property when referencing the icon in the <SVGIcon />
tag within your app.
The script can be access via:
npm run buildIcons --folder ./resources/default
the argument that follows the --folder string will be the source folder for your svg files. It will recursively search through the folder and compile all svg objects into a single string.
FAQs
Zebra Desktop. A React component library.
The npm package @zebra-fed/zds-react-desktop receives a total of 62 weekly downloads. As such, @zebra-fed/zds-react-desktop popularity was classified as not popular.
We found that @zebra-fed/zds-react-desktop demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.