@fundamental-ngx/ui5-webcomponents 0.64.2-rc.28 → 0.64.2-rc.29

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 +16 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -43,6 +43,22 @@ export class ExampleComponent {
43
43
  }
44
44
  ```
45
45
 
46
+ ### Use Secondary Entry Points
47
+
48
+ For best bundle size, use secondary entry points rather than the barrel import. When you import from the barrel, all components are bundled together because each component registers its web component as a side effect during initialization, preventing tree-shaking.
49
+
50
+ **Larger bundle:**
51
+ ```typescript
52
+ import { Button } from '@fundamental-ngx/ui5-webcomponents';
53
+ ```
54
+
55
+ **Smaller bundle:**
56
+ ```typescript
57
+ import { Button } from '@fundamental-ngx/ui5-webcomponents/button';
58
+ ```
59
+
60
+ Secondary entry points bundle only what you use — the difference yields significantly smaller bundle sizes.
61
+
46
62
  ### Using Angular Components Inside UI5 Components
47
63
 
48
64
  Angular components often use selectors with hyphens (e.g. `<app-item>`, `<app-value>`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/ui5-webcomponents",
3
- "version": "0.64.2-rc.28",
3
+ "version": "0.64.2-rc.29",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "description": "Official SAP Angular wrappers for UI5 Web Components – part of the Fundamental Library for Angular.",
6
6
  "keywords": [
@@ -38,13 +38,13 @@
38
38
  "@angular/forms": "^22.0.0",
39
39
  "@angular/platform-browser": "^22.0.0",
40
40
  "@angular/router": "^22.0.0",
41
- "@fundamental-ngx/core": "0.64.2-rc.28",
41
+ "@fundamental-ngx/core": "0.64.2-rc.29",
42
42
  "@ui5/webcomponents": "^2.25.0",
43
43
  "fundamental-styles": "0.41.8",
44
44
  "rxjs": "^7.8.0"
45
45
  },
46
46
  "dependencies": {
47
- "@fundamental-ngx/ui5-webcomponents-base": "0.64.2-rc.28",
47
+ "@fundamental-ngx/ui5-webcomponents-base": "0.64.2-rc.29",
48
48
  "@sap-theming/theming-base-content": "^11.36.0",
49
49
  "compare-versions": "^6.1.0",
50
50
  "fast-equals": "^6.0.0",