@atlaskit/tag
Version:
A tag labels UI objects for quick recognition and navigation.
19 lines (17 loc) • 619 B
JavaScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
/**
* Shared utilities for TagNew and AvatarTag components.
* Note: CSS styles cannot be shared due to Compiled CSS static analysis requirements.
*/
// CSS variable names for dynamic color values
export var iconColorVar = '--ds-tag-icon';
export var borderTokenVar = '--tag-border-token';
export var iconTokenVar = '--tag-icon-token';
/**
* Stable key so ExitingPersistence can match this child across the remove transition
* (see ShrinkOut + ExitingPersistence docs in @atlaskit/motion).
*/
export var removableShrinkOutChildKey = 'atlaskit-tag-removable-shrink-out';