@cmgfi/clear-ds 1.1.8 → 1.2.0
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/README.md +4 -3
- package/dist/index.cjs +174 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +94 -0
- package/dist/index.mjs +23684 -4120
- package/dist/index.mjs.map +1 -1
- package/package.json +18 -3
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ The UI foundation for CMG's internal loan origination platform. Built from scrat
|
|
|
6
6
|
|
|
7
7
|
- **npm:** [`@cmgfi/clear-ds`](https://www.npmjs.com/package/@cmgfi/clear-ds)
|
|
8
8
|
- **Storybook:** [clear-pimkxt5rp-cmgprojects.vercel.app](https://clear-pimkxt5rp-cmgprojects.vercel.app)
|
|
9
|
-
- **Version:** 1.1.
|
|
9
|
+
- **Version:** 1.1.8
|
|
10
10
|
- **License:** UNLICENSED (CMG Financial internal)
|
|
11
11
|
|
|
12
12
|
---
|
|
@@ -74,7 +74,7 @@ import { Button, InputText, Modal, DataTable } from '@cmgfi/clear-ds';
|
|
|
74
74
|
|
|
75
75
|
## Component Catalog
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
44 components across 7 sections. All are fully typed with JSDoc-annotated props, `React.forwardRef`-wrapped, and documented in Storybook.
|
|
78
78
|
|
|
79
79
|
### Buttons
|
|
80
80
|
|
|
@@ -110,7 +110,8 @@ Pass any React node to icon props — PrimeIcons (`<i className="pi pi-*" />`) a
|
|
|
110
110
|
| Component | Description |
|
|
111
111
|
|---|---|
|
|
112
112
|
| `InputText` | Single-line text input with label, helper text, and validation states. |
|
|
113
|
-
| `TextArea` | Multi-line text input. |
|
|
113
|
+
| `TextArea` | Multi-line text input. Props: `showLabel` (boolean), `counterPlacement` (`inside` \| `outside`). |
|
|
114
|
+
| `RichTextEditor` | Tiptap-based rich text editor. Every toolbar button (`showBold`, `showItalic`, `showUnderline`, `showStrike`, `showCode`, `showHighlight`, `showSubscript`, `showSuperscript`, `showHeading`, `showBlockquote`, `showCodeBlock`, `showBulletList`, `showOrderedList`, `showTaskList`, `showHorizontalRule`, `showTextAlign`, `showLink`, `showImage`, `showMention`, `showUndo`, `showRedo`) is an individual boolean prop. `toolbarMode`: `always` (default) \| `on-focus`. `mentionSuggestions` accepts a static array or async function for `@` mention data. |
|
|
114
115
|
| `Checkbox` | Controlled checkbox with label. Supports indeterminate state. |
|
|
115
116
|
| `RadioButton` | Single radio option. Compose multiples in a group. |
|
|
116
117
|
| `Select` | Single-select dropdown. |
|