ngx-ids-enterprise-wc
v1.0.0-rc.6
Published
[](https://opensource.org/licenses/Apache-2.0) [](https://www.npmjs.com/package/ngx-ids-enterprise-wc)
Readme
Ngx Ids Enterprise Web Components
Quick Start
npm i
npm run start # Run sample appAdding the lib to your project
- Add imports:
"ids-enterprise-wc": "1.17.3",
"ngx-ids-enterprise-wc": "^1.0.0-rc.6"Then do npm i
npm install ngx-ids-enterprise-wc # Install package- Add style sheet to the angular.json's assets section
"assets": [
{
"glob": "**/*",
"input": "public"
},
{
"glob": "**/*",
"input": "./node_modules/ids-enterprise-wc/themes",
"output": "themes"
}
]- Add fonts to index.html
Due to GDPR we should not use google api in production but for testing you can add a link to the head.
<head>
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600&display=swap" rel="stylesheet" />
</head>In a real app should follow the instructions here.
Key Features and why use a wrapper
✨ Angular Integration
- Full Angular forms & reactive forms support (template-driven and reactive)
- Signal binding with writable signals for fine-grained reactivity
- Content projection & tree-shaking for optimal bundle sizes
- HTML IntelliSense & type checking for better IDE support
- Two-way binding with
[(ngModel)]andformControl - Event handling with Angular's standard
(eventName)syntax
🎯 Developer Experience
- Access methods & properties via
exportAsfor template references - Template-safe with proper TypeScript types (no
anytypes) - Angular CDK integration ready for advanced patterns
- Built-in Angular services for dialogs, notifications, and overlays
- Dual input bindings (camelCase and kebab-case) for flexibility
- Consistent with Angular best practices and conventions
⚡ Performance & Scalability
- Lazy-loadable component directives
- OnPush change detection strategy compatible
- Signals for efficient change detection and reduced memory footprint
- Web components isolation prevents style leakage
- Works seamlessly with Angular's dependency injection
🛡️ Type Safety & Maintenance
- Full TypeScript support with strict mode enabled
- Auto-generated directives stay in sync with IDS Enterprise WC updates
- Generator-first approach prevents drift and manual sync issues
- ESLint integration catches errors early
- Comprehensive test coverage for reliability
Usage
1. Install Library
npm install ngx-ids-enterprise-wc --save2. Import Components
import { NgxIdsButton, NgxIdsText } from "ngx-ids-enterprise-wc";2. Add web components to Templates
<!-- Basic usage -->
<ids-text>Hello World</ids-text>
<!-- With Angular bindings -->
<ids-button [disabled]="isLoading()" (click)="handleClick()">{{ buttonText() }}</ids-button>3. Forms Integration
<ids-input [(ngModel)]="value" placeholder="Enter text"></ids-input>
<ids-dropdown formControlName="selection" [data]="options()"></ids-dropdown>📝 Note: Supports both
camelCaseandkebab-caseattributes. Signals recommended for reactive state.
Contribution Guidelines
We welcome contributions! Before you start, please review our CONTRIBUTING.md guide, which covers:
- 🚨 Generator-First Rule: All directive changes go in the generator, never manually edit generated files
- 📋 Contribution Workflow: Branch naming, testing, and PR guidelines
- ✅ Quality Checklist: Pre-commit checks and common issues
Get Step-by-Step Guidance in Kiro
In the Kiro chat, type @AskIDS to get an interactive guide that walks you through:
- Setting up your contribution branch
- Making changes to the generator
- Running tests and pre-commit checks
- Creating your merge request
Component Status
Legend:
- ✅ Has sample app example
- 🚧 Component exists but no sample app example
- ⚠️ Has sample but with known issues
- ❌ Has sample but with blocking issues
| Component | Status | Open issues | | ------------------- | ------ | ----------- | | About | ✅ | | | Accordion | ✅ | | | Action Panel | ✅ | | | Action Sheet | 🚧 | | | Alert | ✅ | | | App Menu | 🚧 | | | Area Chart | ✅ | | | Avatar | ✅ | | | Axis Chart | 🚧 | | | Badge | ✅ | | | Bar Chart | 🚧 | | | Block Grid | 🚧 | | | Box | 🚧 | | | Breadcrumb | ✅ | | | Button | ✅ | | | Calendar | 🚧 | | | Card | 🚧 | | | Checkbox | ✅ | | | Color | 🚧 | | | Color Picker | 🚧 | | | Container | 🚧 | | | Counts | 🚧 | | | Data Grid | ✅ | | | Data Label | 🚧 | | | Date Picker | ✅ | | | Draggable | 🚧 | | | Drawer | 🚧 | | | Dropdown | ✅ | | | Editor | 🚧 | | | Empty Message | 🚧 | | | Error Page | 🚧 | | | Expandable Area | ✅ | | | Fieldset | 🚧 | | | Filter Field | 🚧 | | | Form | ✅ | | | Form Layout | 🚧 | | | Global | 🚧 | | | Header | ✅ | | | Hidden | 🚧 | | | Hierarchy | 🚧 | | | Home Page | 🚧 | | | Hyperlink | ✅ | | | Icon | 🚧 | | | Image | ✅ | | | Input | ✅ | | | Input Group | 🚧 | | | KPI | ✅ | | | Layout Flex | 🚧 | | | Layout Grid | ✅ | | | Line Chart | 🚧 | | | List Box | 🚧 | | | List Builder | 🚧 | | | List View | 🚧 | | | Loading Indicator | ✅ | | | Locale | 🚧 | | | Lookup | ✅ | | | Mask | ✅ | | | Masthead | 🚧 | | | Media Gallery | 🚧 | | | Menu | ✅ | | | Menu Button | 🚧 | | | Message | 🚧 | | | Modal | ✅ | | | Module Nav | ✅ | | | Month View | 🚧 | | | Multiselect | 🚧 | | | Notification Banner | 🚧 | | | Page Examples | 🚧 | | | Pager | ✅ | | | Personalize | 🚧 | | | Pie Chart | 🚧 | | | Popup | 🚧 | | | Popup Menu | 🚧 | | | Process Indicator | ✅ | | | Progress Bar | 🚧 | | | Progress Chart | 🚧 | | | Radar Chart | 🚧 | | | Radio | ✅ | | | Rating | ✅ | | | Scroll View | 🚧 | | | Search Field | 🚧 | | | Segmented Control | 🚧 | | | Separator | 🚧 | | | Skip Link | 🚧 | | | Slider | 🚧 | | | Spinbox | 🚧 | | | Split Button | 🚧 | | | Splitter | ✅ | | | Stats | 🚧 | | | Step Chart | 🚧 | | | Swaplist | 🚧 | | | Swappable | 🚧 | | | Swipe Action | 🚧 | | | Switch | 🚧 | | | Tabs | 🚧 | | | Tag | ✅ | | | Text | 🚧 | | | Textarea | ✅ | | | Theme Switcher | 🚧 | | | Time Picker | ✅ | | | Timeline | 🚧 | | | Toast | 🚧 | | | Toggle Button | 🚧 | | | Toolbar | ✅ | | | Tooltip | ✅ | | | Tree | 🚧 | | | Treemap | 🚧 | | | Trigger Field | 🚧 | | | Upload | 🚧 | | | Upload Advanced | 🚧 | | | Virtual Scroll | 🚧 | | | Week View | 🚧 | | | Widget | 🚧 | | | Wizard | ✅ | |
