@hexure/ui 1.13.98 → 1.13.99

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.
@@ -12,6 +12,7 @@ export interface TagProps extends AccessibleProps {
12
12
  /** Optional ID for automation purposes */
13
13
  dataItemid?: string;
14
14
  rotate?: boolean;
15
+ dataSectionName?: string;
15
16
  }
16
17
  declare const Tag: FC<TagProps>;
17
18
  export default Tag;
package/dist/esm/index.js CHANGED
@@ -3190,10 +3190,10 @@ const Remove$1 = styled.div `
3190
3190
  align-items: center;
3191
3191
  `;
3192
3192
  const Tag = (_a) => {
3193
- var { children, color = 'PRIMARY', removable, onClick, dataItemid, rotate } = _a, accessibleProps = __rest(_a, ["children", "color", "removable", "onClick", "dataItemid", "rotate"]);
3193
+ var { children, color = 'PRIMARY', removable, onClick, dataItemid, rotate, dataSectionName } = _a, accessibleProps = __rest(_a, ["children", "color", "removable", "onClick", "dataItemid", "rotate", "dataSectionName"]);
3194
3194
  const baseId = dataItemid || 'tag';
3195
3195
  return (React.createElement(Wrapper$e, Object.assign({ "$color": color, "$removable": removable, "$rotate": rotate, onClick: onClick }, accessibleProps, { "data-itemid": `${baseId}-wrapper` }),
3196
- React.createElement(Content$2, { "data-itemid": `${baseId}-content` },
3196
+ React.createElement(Content$2, { "data-itemid": `${baseId}-content`, "data-section-name": dataSectionName },
3197
3197
  React.createElement(Label$4, { "$color": color, "data-itemid": `${baseId}-label` }, children),
3198
3198
  removable ? (React.createElement(Remove$1, { "data-itemid": `${baseId}-remove` },
3199
3199
  React.createElement(Icon, { color: color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff', "data-itemid": `${baseId}-icon`, path: mdiClose, size: '15px' }))) : null)));