@processdynamics/components 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -116,7 +116,7 @@ const job: JobCardData = {
116
116
 
117
117
  Write one small function in the app that maps its job (and anything derived from it, such as an age or a stage) to `JobCardData`. Keep the app's rules there: the card never imports the app's types, helpers or data hooks.
118
118
 
119
- A worked example of that function is in `src/adapters/exampleOrder/`, with stories under Adapters, then Example order, in Storybook. It uses a made-up order type, and covers an age rule that stops the clock, stage colours, priority pills, formatted dates, a banner that pluralises, and a restricted "summary" view made just by leaving fields out. Copy the pattern, not the file. It isn't part of the published package, and each app keeps its own adapter next to its own types and helpers.
119
+ A worked example of that function is in `src/adapters/jobCard/exampleOrder/`, with stories under Adapters, then Job card, then Example order, in Storybook. It uses a made-up order type, and covers an age rule that stops the clock, stage colours, priority pills, formatted dates, a banner that pluralises, and a restricted "summary" view made just by leaving fields out. Copy the pattern, not the file. It isn't part of the published package, and each app keeps its own adapter next to its own types and helpers.
120
120
 
121
121
  | Prop | Type | Description |
122
122
  | --- | --- | --- |
@@ -158,7 +158,8 @@ The full docs page, with every prop and a story for each part, is in Storybook u
158
158
  src/
159
159
  app/ Next host app and globals.css (theme tokens)
160
160
  adapters/
161
- exampleOrder/ a neutral example of turning an app's job into JobCardData (not published)
161
+ jobCard/ adapters for the JobCard, one folder each (not published)
162
+ exampleOrder/ a neutral example of turning an app's job into JobCardData
162
163
  components/
163
164
  <name>/ one folder per component: Component.tsx and its stories
164
165
  ui/ shadcn parts: button, calendar, popover
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@processdynamics/components",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Process Dynamics React component library, built on shadcn (Radix) and Tailwind CSS v4.",
5
5
  "license": "MIT",
6
6
  "repository": {