@atlaskit/tag
Version:
A tag labels UI objects for quick recognition and navigation.
25 lines (22 loc) • 895 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.removableShrinkOutChildKey = exports.iconTokenVar = exports.iconColorVar = exports.borderTokenVar = void 0;
/**
* @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
var iconColorVar = exports.iconColorVar = '--ds-tag-icon';
var borderTokenVar = exports.borderTokenVar = '--tag-border-token';
var iconTokenVar = exports.iconTokenVar = '--tag-icon-token';
/**
* Stable key so ExitingPersistence can match this child across the remove transition
* (see ShrinkOut + ExitingPersistence docs in @atlaskit/motion).
*/
var removableShrinkOutChildKey = exports.removableShrinkOutChildKey = 'atlaskit-tag-removable-shrink-out';