@uipath/apollo-core 5.6.2-pr193.d46da1a → 5.6.2-pr193.f3deab5

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 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -51,15 +51,27 @@ const fontFamily = ApolloCore.FontFamilyBase;
51
51
  Icons are available as raw SVG files (flattened in distribution):
52
52
 
53
53
  ```typescript
54
- // Import from flat distribution structure
55
- import iconSvg from '@uipath/apollo-core/icons/svg/add.svg';
54
+ // Import SVG files
56
55
  import closeSvg from '@uipath/apollo-core/icons/svg/close.svg';
56
+ import addCommentSvg from '@uipath/apollo-core/icons/svg/add-comment.svg';
57
57
  ```
58
58
 
59
- For React components, use `@uipath/apollo-react`:
59
+ **Usage in HTML/React:**
60
+ ```jsx
61
+ // Use as img source
62
+ <img src={closeSvg} alt="Close" width="24" height="24" />
63
+
64
+ // Or in vanilla HTML
65
+ <img src="/path/to/node_modules/@uipath/apollo-core/icons/svg/close.svg" alt="Close" />
66
+ ```
67
+
68
+ **For React icon components**, use `@uipath/apollo-react`:
60
69
 
61
70
  ```typescript
62
- import { ActionAdd } from '@uipath/apollo-react/icons';
71
+ import { Close, AddComment } from '@uipath/apollo-react/icons';
72
+
73
+ <Close />
74
+ <AddComment />
63
75
  ```
64
76
 
65
77
  ## Icons
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-core",
3
- "version": "5.6.2-pr193.d46da1a",
3
+ "version": "5.6.2-pr193.f3deab5",
4
4
  "description": "Apollo Design System - Core design tokens, icons, and fonts",
5
5
  "repository": {
6
6
  "type": "git",