How iandyone/ui-kit-rollup works
ui-kit-rollup is a React component library. A consumer imports its root or component subpaths and uses Button, Input, or Typography in an application. The root entry re-exports the component APIs; each component implements its own props and styling. The README also documents package formats, CSS, and Storybook examples, but build and documentation infrastructure is outside this runtime map. Component relationships are grounded in the excerpts; package export mappings are documented in package.json.
Main entry points: index.ts Root entry · button.tsx Button · input.tsx Input · typography.tsx Typography
Components 14
Public API
- Root entry
src/index.ts - Button API
src/button/index.ts - Input API
src/input/index.ts - Typography API
src/typography/index.ts
UI Components
- Button
src/button/button.tsx - Button props
src/button/types.ts - Button styles
src/button/button.module.css - Input
src/input/input.tsx - Input props
src/input/types.ts - Input styles
src/input/input.module.css - Typography
src/typography/typography.tsx - Typography props
src/typography/types.ts - Typography styles
src/typography/typography.module.css
Other components
- React consumer
Connections 13
- React consumer → Root entry: imports root
README.md - Root entry → Button API: re-exports
src/index.ts - Root entry → Input API: re-exports
src/index.ts - Root entry → Typography API: re-exports
src/index.ts - Button API → Button: exports
src/button/index.ts - Input API → Input: exports
src/input/index.ts - Typography API → Typography: exports
src/typography/index.ts - Button → Button props: uses props
src/button/button.tsx - Button → Button styles: uses styles
src/button/button.tsx - Input → Input props: uses props
src/input/input.tsx - Input → Input styles: uses styles
src/input/input.tsx - Typography → Typography props: uses props
src/typography/typography.tsx - Typography → Typography styles: uses styles
src/typography/typography.tsx