@uipath/apollo-ui-icons 1.2.0 → 1.2.1
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.
- package/README.md +9 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -105,7 +105,7 @@ All icons are exported from the official Apollo Icons Figma file:
|
|
|
105
105
|
|
|
106
106
|
### Icon Structure
|
|
107
107
|
|
|
108
|
-
The icon library contains **1,
|
|
108
|
+
The icon library contains **1,300+ icons** organized into categories in the source:
|
|
109
109
|
|
|
110
110
|
**Source Structure** (`src/svg/`):
|
|
111
111
|
- `action/` - Action icons (add, delete, edit, etc.)
|
|
@@ -124,7 +124,7 @@ The icon library contains **1,317 icons** organized into categories in the sourc
|
|
|
124
124
|
- `ui-bpmn-canvas/` - BPMN diagram elements
|
|
125
125
|
|
|
126
126
|
**Distribution Structure** (`dist/static/svg/`):
|
|
127
|
-
- All
|
|
127
|
+
- All icons are flattened into a single directory with unique names
|
|
128
128
|
- Icons more than one folder deep are prefixed with their immediate parent folder (e.g., `navigation/chevron/down.svg` → `chevron-down.svg`)
|
|
129
129
|
- Icons only one folder deep keep their original name (e.g., `action/close.svg` → `close.svg`)
|
|
130
130
|
- Accessible via `@uipath/apollo-ui-icons/svg/{icon-name}.svg`
|
|
@@ -156,7 +156,7 @@ This structure was auto-resolved from the Figma export to ensure:
|
|
|
156
156
|
- URL-safe paths
|
|
157
157
|
- Valid JavaScript identifiers when converted to components
|
|
158
158
|
- Consistent, readable naming throughout
|
|
159
|
-
- No duplicate names (
|
|
159
|
+
- No duplicate names (every icon has a unique name)
|
|
160
160
|
- Organized structure with logical parent-child relationships
|
|
161
161
|
|
|
162
162
|
### Export Process
|
|
@@ -191,17 +191,16 @@ Once the Figma restructure is complete, the current temporary naming and normali
|
|
|
191
191
|
### Build
|
|
192
192
|
|
|
193
193
|
```bash
|
|
194
|
-
pnpm build #
|
|
195
|
-
pnpm build:
|
|
196
|
-
pnpm build:icons # Generate icon exports and types
|
|
194
|
+
pnpm build # Process icons, generate exports and types, then bundle
|
|
195
|
+
pnpm build:icons # Generate icon exports and types only
|
|
197
196
|
```
|
|
198
197
|
|
|
199
198
|
### Icon Management
|
|
200
199
|
|
|
201
200
|
```bash
|
|
202
201
|
# 🎯 RECOMMENDED: Complete icon processing workflow
|
|
203
|
-
pnpm process
|
|
204
|
-
pnpm process
|
|
202
|
+
pnpm process:icons # Process icons: scan → generate short names → rename files
|
|
203
|
+
pnpm process:icons:dry-run # Preview all changes without making them
|
|
205
204
|
```
|
|
206
205
|
|
|
207
206
|
**Complete workflow after Figma export**:
|
|
@@ -209,10 +208,10 @@ pnpm process-icons:dry-run # Preview all changes without making them
|
|
|
209
208
|
cd packages/apollo-ui-icons
|
|
210
209
|
|
|
211
210
|
# 1. Preview changes (recommended first step)
|
|
212
|
-
pnpm process
|
|
211
|
+
pnpm process:icons:dry-run
|
|
213
212
|
|
|
214
213
|
# 2. Process icons (scan, generate names, rename files)
|
|
215
|
-
pnpm process
|
|
214
|
+
pnpm process:icons
|
|
216
215
|
|
|
217
216
|
# 3. Build icon TypeScript exports
|
|
218
217
|
pnpm build:icons
|