@uipath/apollo-wind 2.71.0 → 2.72.0

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 CHANGED
@@ -213,3 +213,28 @@ MIT - see [LICENSE](./LICENSE)
213
213
  **Peer Dependencies:** React ≥18.0.0
214
214
 
215
215
  Built with ❤️ by UiPath | Inspired by [shadcn/ui](https://ui.shadcn.com)
216
+
217
+ ## Reference Chip
218
+
219
+ `ReferenceChip` displays selected variables, resources and connections with paired
220
+ semantic background, text and icon colors. Find its API and state examples in
221
+ Storybook under **Apollo Wind → Components → Data Display → Reference Chip**.
222
+ The **Patterns → Code Editors → Editor Variables** example uses it through
223
+ `PromptEditor`; existing editor consumers need no API changes.
224
+
225
+ ```tsx
226
+ import { ReferenceChip } from '@uipath/apollo-wind';
227
+
228
+ <ReferenceChip
229
+ label="alex@example.com"
230
+ icon={<ConnectionIcon />}
231
+ onRemove={clearConnection}
232
+ removeLabel="Remove Outlook connection"
233
+ />
234
+ ```
235
+
236
+ The host supplies the icon, selection behavior and localized removal label.
237
+ `readOnly` hides removal, `disabled` disables removal, `invalid` uses the paired
238
+ error palette, and `selected` adds a visual outline. Keep removable chips outside
239
+ other buttons. Inside a picker trigger, omit `onRemove` and use a separate clear
240
+ button. Product connection fields must adopt this primitive to receive its styles.