@dropi/ui-components 1.0.10 → 1.0.12

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.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -59,16 +59,17 @@ import "@dropi/ui-components/dropi-tokens.css";
59
59
  In your main entry file (`main.tsx`, `main.js`), initialize the library:
60
60
 
61
61
  ```typescript
62
+ import "zone.js"; // Mandatory: must be imported first
62
63
  import { defineCustomElements } from "@dropi/ui-components";
63
64
 
64
65
  // Initialize Angular environment and register Web Components
65
66
  defineCustomElements();
66
67
  ```
67
68
 
68
- Then use the components in your JSX/HTML:
69
+ Then use the Web Component tags directly in your JSX/HTML:
69
70
 
70
71
  ```tsx
71
- // React Example
72
+ // React Example (No imports needed for the component itself)
72
73
  const App = () => (
73
74
  <div>
74
75
  <dropi-wc-button
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dropi/ui-components",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "Dropi UI Components - Framework-agnostic Web Components library built with Angular Elements",
5
5
  "keywords": [
6
6
  "web-components",