Registry / testing / design-system-pastest

design-system-pastest

JSON →
library0.1.79jsnpmunverified

A React component library designed for UI consistency. Current stable version is 0.1.79. The package ships TypeScript definitions and uses Rollup for bundling, with Storybook for component visualization. It includes a style dictionary build step for token-driven theming. Peer dependencies on React 18. This library is in active early development with frequent releases.

npm install design-system-pastest
INSTALL
IMPORT
SIG · DESIGN-SYSTEM-PAST
D
design-system-pastest
testingjavascriptv0.1.79
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Button
import { Button } from 'design-system-pastest'
Named export, available from package root.
ThemeProvider
import { ThemeProvider } from 'design-system-pastest'
import ThemeProvider from 'design-system-pastest'
Named export, not default.
theme
import { theme } from 'design-system-pastest'
import { theme } from 'design-system-pastest/tokens'
Exported from root, not from a subpath.

Shows how to import and use the Button component with theming. Requires React 18 peer deps.

import React from 'react'; import { Button, ThemeProvider, theme } from 'design-system-pastest'; function App() { return ( <ThemeProvider theme={theme}> <Button variant="primary">Click me</Button> </ThemeProvider> ); } export default App;
Debug
Known issues
gotchaPackage is in early development (v0.x), breaking changes may occur without major version bump.
fix
Pin to exact version and test upgrades carefully.
affects: <1.0.0
gotchaPeer dependencies require React 18. Install with React 17 or 16 will cause runtime errors.
fix
Ensure react and react-dom are at version ^18.0.0.
affects: >=0.1.0
gotchaRollup generates a single bundle; tree-shaking may not work as expected if importing individual components from deep paths.
fix
Import from package root: import { Button } from 'design-system-pastest'.
affects: >=0.1.0
Errors
Common errors & fixes
Cannot find module 'design-system-pastest' or its corresponding type declarations.
TypeScript cannot resolve package because types are not correctly exported.
fix
Verify package.json 'types' field points to correct .d.ts file (e.g., dist/index.d.ts).
Module '"react"' is not listed as a dependency in package.json, but is required by design-system-pastest.
React not installed as peer dependency.
fix
Run: npm install react@^18.0.0 react-dom@^18.0.0
Attempted import error: 'theme' is not exported from 'design-system-pastest'.
Import path is wrong; trying to import from a subpath like 'design-system-pastest/tokens'.
fix
Change import to: import { theme } from 'design-system-pastest'
Upgrade
Version history
0.1.79latest on npm
Audit
Dependencies
reactrequiredRequired as peer dependency for rendering components.
react-domrequiredRequired as peer dependency for DOM rendering.
Agent activity
6 hits · last 30 days
node
6
Resources
design-system-pastest — npm install design-system-pastest · libregistry