![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.
@pluralsight/headless-styles
Advanced tools
Javascript library of accessibility and style helpers for the Pando Design System.
This package is deprecated and will be removed in a future release. Please use the current version: Panda-Preset
A functional helper library that delivers styles and a11y properties for the Pluralsight Web UI Kit to be used in any Component library (framework agnostic).
erDiagram
PANDO ||--o{ DESIGN-TOKENS : contains
PANDO ||--o{ ICONS : contains
PANDO ||--o{ HEADLESS-STYLES : contains
PANDO ||--o{ REACT-UTILS : contains
DESIGN-TOKENS ||..|{ NORMALIZE-SETUP : contains
NORMALIZE-SETUP ||..|{ THEMES : contains
HEADLESS-STYLES ||--|{ DESIGN-TOKENS : uses
This package allows users to build accessbile and performant components without worrying about the "small stuff": styling the UI.
The headless-styles package relies on the use of the Font & Normalize Setup provided from the design-tokens package.
Ultimately, headless-styles is just a library that is a bunch of functions that return Objects. Nothing more, nothing less. These functions return styles via classes (CSS) or style Objects (CSS-in-JS) and a11y attributes.
⚠️ Headless-styles does and should not own advanced logic for components. At the base level, this library is meant to own presentational responsibilities. For advanced component logic (i.e state management, etc.), see react-utils.
This project uses bun so there are no setup commands needed. If you get any errors, you may need to run an initial bun install
or ensure you are using Node >= 18.
Headless-styles uses an internal sandbox which auto-generates the CSS-in-JS styles used in our JS related API's.
From the root directory of the project, run:
bun run start:sandbox
From the root directory of the project, run:
bun test packages/headless-styles/tests
If you plan on contributing to this project, please take time to read our CONTRIBUTING.md. Pull requests that do not adhere to the requirements in this doc will automatically be flagged and closed.
FAQs
Javascript library of accessibility and style helpers for the Pando Design System.
The npm package @pluralsight/headless-styles receives a total of 295 weekly downloads. As such, @pluralsight/headless-styles popularity was classified as not popular.
We found that @pluralsight/headless-styles demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.