feat(text-transform): add itTextTransform directive with text-none support (#600)
Closes #600
Problem
Bootstrap Italia generates .text-lowercase, .text-uppercase, and .text-capitalize utility classes, but omits .text-none (text-transform: none), forcing developers to manually add it in styles.scss.
Solution
Add a standalone ItTextTransformDirective that binds to [itTextTransform] and controls the CSS text-transform property via @HostBinding('style.text-transform').
Supported values: 'none' | 'capitalize' | 'uppercase' | 'lowercase' | 'full-width' | 'full-size-kana'
Usage:
<p itTextTransform="none">Normal text</p>
<p itTextTransform>Normal text</p>
<p itTextTransform="uppercase">UPPERCASED</p>
Testing
- 5 tests covering none, capitalize, uppercase, lowercase, and default behavior
- Double gate passed: 114/114 tests ✅, 0 lint errors ✅
Checklist
- [x] Follows CONTRIBUTING.md guidelines
- [x] Standalone component (no NgModule)
- [x] Selector prefix
itenforced - [x] Exported from
public_api.ts - [x] Conventional commit message
⚠️ This reopens #643 which was accidentally closed due to fork deletion.
@simionato-ennovaresearch this is the active successor to #643 and it already includes the follow-up you asked for there: both the Angular-friendly directive API and the plain CSS/docs/examples path.
Current build/tests are green. The only red check is lint-commits, but its log shows a Docker pull auth/rate-limit failure on wagoid/commitlint-github-action:5.5.1, not a code/content issue.
If the approach looks right now, I would appreciate a review on this open PR rather than on the closed predecessor. Thanks!