![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
braid-design-system
Advanced tools
Themeable design system for the SEEK Group.
$ npm install --save braid-design-system
NOTE: This project is currently in alpha. The API is extremely unstable. Avoid using in production without guidance from project contributors.
This guide is currently optimised for usage with sku, since it's configured to support Braid out of the box. If your project has a custom build setup, you'll need some extra guidance from project contributors to configure your bundler.
In your sku project, first install this library:
$ npm install --save braid-design-system
Then, import the desired theme at the very top of your application (e.g. src/client.js
), before importing anything else.
WARNING: Since the theme contains styles that may be overridden by invididual components, the theme needs to be imported first to avoid CSS ordering issues.
For example:
import jobStreetTheme from 'braid-design-system/lib/themes/jobStreet';
import React from 'react';
// ...etc.
Finally, render the ThemeProvider
component, providing the imported theme via the theme
prop:
import { ThemeProvider, Text } from 'braid-design-system';
export default () => (
<ThemeProvider theme={jobStreetTheme}>
<Text>Hello World!</Text>
</ThemeProvider>
);
This project uses Yarn for development dependencies.
Installing with yarn
is required to ensure dependencies match the current yarn.lock.
$ yarn
$ yarn start
Start a local Storybook server:
$ yarn storybook
Chromatic for providing component screenshot testing, powered by Storybook.
MIT.
FAQs
Themeable design system for the SEEK Group
The npm package braid-design-system receives a total of 0 weekly downloads. As such, braid-design-system popularity was classified as not popular.
We found that braid-design-system demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.