DocsStylesComponentsPatternsExamples
Payroller

Components

Rules

Entry Points

Default

@bookipi/bds

Suggested path - packages/bds/src/components/index.ts

Motion

@bookipi/bds/motion

Suggested path - packages/bds/src/motion/index.ts

This package entry has been added to separate motion components (such as animation and interaction) like alerts, modals, drawers, etc.

It also ensures that client-side-only functions like createContext are not added to the main entry @bookipi/bds."

Charts

@bookipi/bds/charts

Suggested path - packages/bds/src/charts/index.ts

This package entry has been added to separate chart components (such as bar, pie, etc.) like bar chart, pie chart, etc.

Install peer dependencies (@visx/group, @visx/mock-data, @visx/scale, @visx/shape, @visx/axis, @visx/grid, @visx/legend, @visx/tooltip, @visx/event) to use the chart components.

How to add or update Components

Design File (Bookipi Design System)

  1. Convert Graphics to CSS
  1. Move Properties
  1. Typings & Default Properties
  1. Add Comments