docs: update type terminology from Int/Float/String/Bool to Number/Decimal/Text/Boolean

This commit is contained in:
2026-02-14 15:35:41 +00:00
parent ea83433e93
commit 45fd3b52cb
8 changed files with 46 additions and 32 deletions

View File

@@ -71,9 +71,9 @@ life_arc Career { ... } // How someone changes over time
Fields use a simple `name: value` format:
```storybook
age: 34 // Integer
skill_level: 0.95 // Float
name: "Martha Baker" // String
age: 34 // Number
skill_level: 0.95 // Decimal
name: "Martha Baker" // Text
is_open: true // Boolean
wake_time: 04:30 // Time
bake_duration: 45m // Duration

View File

@@ -18,8 +18,8 @@ Fields use the `name: value` format. Storybook supports several value types:
| Type | Example | Description |
|------|---------|-------------|
| Integer | `42` | Whole numbers |
| Float | `0.85` | Decimal numbers |
| Number | `42` | Whole numbers |
| Decimal | `0.85` | Decimal numbers |
| String | `"hello"` | Text in double quotes |
| Boolean | `true` / `false` | Yes or no values |
| Time | `14:30` | Clock times |