@uipath/apollo-core 5.6.2-pr193.d46da1a → 5.6.2-pr202.089892a

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 +18 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -20,6 +20,8 @@ pnpm add @uipath/apollo-core
20
20
  yarn add @uipath/apollo-core
21
21
  ```
22
22
 
23
+ **Note:** This package is published to both npm and GitHub Package Registry. External users will automatically pull from npm. Internal UiPath users with `.npmrc` configured will automatically pull from GitHub Package Registry.
24
+
23
25
  ## Usage
24
26
 
25
27
  ### Design Tokens
@@ -51,15 +53,27 @@ const fontFamily = ApolloCore.FontFamilyBase;
51
53
  Icons are available as raw SVG files (flattened in distribution):
52
54
 
53
55
  ```typescript
54
- // Import from flat distribution structure
55
- import iconSvg from '@uipath/apollo-core/icons/svg/add.svg';
56
+ // Import SVG files
56
57
  import closeSvg from '@uipath/apollo-core/icons/svg/close.svg';
58
+ import addCommentSvg from '@uipath/apollo-core/icons/svg/add-comment.svg';
59
+ ```
60
+
61
+ **Usage in HTML/React:**
62
+ ```jsx
63
+ // Use as img source
64
+ <img src={closeSvg} alt="Close" width="24" height="24" />
65
+
66
+ // Or in vanilla HTML
67
+ <img src="/path/to/node_modules/@uipath/apollo-core/icons/svg/close.svg" alt="Close" />
57
68
  ```
58
69
 
59
- For React components, use `@uipath/apollo-react`:
70
+ **For React icon components**, use `@uipath/apollo-react`:
60
71
 
61
72
  ```typescript
62
- import { ActionAdd } from '@uipath/apollo-react/icons';
73
+ import { Close, AddComment } from '@uipath/apollo-react/icons';
74
+
75
+ <Close />
76
+ <AddComment />
63
77
  ```
64
78
 
65
79
  ## 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-pr202.089892a",
4
4
  "description": "Apollo Design System - Core design tokens, icons, and fonts",
5
5
  "repository": {
6
6
  "type": "git",