cleanplate 0.3.6 → 0.3.8

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.
package/docs/Alert.md CHANGED
@@ -7,7 +7,7 @@ Purpose: Displays a short message with an optional variant icon and dismiss butt
7
7
  | Prop | Type | Required | Default | Description |
8
8
  | --- | --- | --- | --- | --- |
9
9
  | message | string | no | — | Main message text shown in the alert. |
10
- | size | "small" \| "medium" \| "large" | no | "medium" | Size of the alert and its icon/close button. |
10
+ | size | "small" \| "medium" | no | "medium" | Size of the alert and its icon/close button. |
11
11
  | variant | "success" \| "error" \| "warning" \| "info" \| "default" | no | "info" | Visual variant; each has a matching icon (e.g. success → check_circle, error → error). |
12
12
  | canDismiss | boolean | no | false | When true, shows a close button that calls onDismiss and unmounts the alert. |
13
13
  | onDismiss | function | no | — | Called when the user dismisses the alert (clicks the close button). |
@@ -17,7 +17,7 @@ Purpose: Displays a short message with an optional variant icon and dismiss butt
17
17
 
18
18
  ### AlertSize
19
19
  ```typescript
20
- type AlertSize = "small" | "medium" | "large";
20
+ type AlertSize = "small" | "medium";
21
21
  ```
22
22
 
23
23
  ### AlertVariant
@@ -83,8 +83,7 @@ import { Alert } from "cleanplate";
83
83
  export const Example = () => (
84
84
  <>
85
85
  <Alert message="Small alert" variant="info" size="small" margin="b-2" />
86
- <Alert message="Medium alert" variant="info" size="medium" margin="b-2" />
87
- <Alert message="Large alert" variant="info" size="large" />
86
+ <Alert message="Medium alert" variant="info" size="medium" />
88
87
  </>
89
88
  );
90
89
  ```
package/llms.txt CHANGED
@@ -94,7 +94,7 @@ All component documentation is located in the `docs/` folder. The following docu
94
94
  ### Alert Component
95
95
  - File: `docs/Alert.md`
96
96
  - Purpose: Displays a short message with optional variant icon and dismiss button. Use for inline feedback (success, error, warning, info) or neutral notices.
97
- - Key Features: Variants (default, info, warning, error, success), sizes (small, medium, large), dismissible with onDismiss, margin spacing (suffix API), unmounts on dismiss
97
+ - Key Features: Variants (default, info, warning, error, success), sizes (small, medium), dismissible with onDismiss, margin spacing (suffix API), unmounts on dismiss
98
98
  - Types: AlertProps, AlertSize, AlertVariant, AlertMargin, SpacingOption
99
99
  - Related Components: Typography, Container, Button, Icon (used internally)
100
100
 
@@ -194,7 +194,7 @@ All component documentation is located in the `docs/` folder. The following docu
194
194
  ### MenuList Component
195
195
  - File: `docs/MenuList.md`
196
196
  - Purpose: Renders a list of navigational items with optional icons, active state highlighting, and customizable layout.
197
- - Key Features: items (label, value, icon), activeItem, direction (horizontal, vertical), sizes (small, medium, large), variants (light, dark), margin (suffix API), onMenuClick(item), Animated entrance, responsive root layout at ≤1024px (padding, min-height) for mobile nav contexts
197
+ - Key Features: items (label, value, icon), activeItem, direction (horizontal, vertical), sizes (small, medium, large), variants (light, dark), margin (suffix API), onMenuClick(item), Animated entrance
198
198
  - Types: MenuListProps, MenuListItem, MenuListSize, MenuListVariant, MenuListDirection, MenuListMargin
199
199
  - Related Components: Dropdown (content), Header (navigation), Container, Typography, Icon, Animated (used internally)
200
200
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cleanplate",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "description": "CleanPlate - A Headless React UI Framework",
5
5
  "files": [
6
6
  "dist",