@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.
package/dist/cjs/index.js
CHANGED
|
@@ -3192,10 +3192,10 @@ const Remove$1 = styled.div `
|
|
|
3192
3192
|
align-items: center;
|
|
3193
3193
|
`;
|
|
3194
3194
|
const Tag = (_a) => {
|
|
3195
|
-
var { children, color = 'PRIMARY', removable, onClick, dataItemid, rotate } = _a, accessibleProps = __rest(_a, ["children", "color", "removable", "onClick", "dataItemid", "rotate"]);
|
|
3195
|
+
var { children, color = 'PRIMARY', removable, onClick, dataItemid, rotate, dataSectionName } = _a, accessibleProps = __rest(_a, ["children", "color", "removable", "onClick", "dataItemid", "rotate", "dataSectionName"]);
|
|
3196
3196
|
const baseId = dataItemid || 'tag';
|
|
3197
3197
|
return (React.createElement(Wrapper$e, Object.assign({ "$color": color, "$removable": removable, "$rotate": rotate, onClick: onClick }, accessibleProps, { "data-itemid": `${baseId}-wrapper` }),
|
|
3198
|
-
React.createElement(Content$2, { "data-itemid": `${baseId}-content
|
|
3198
|
+
React.createElement(Content$2, { "data-itemid": `${baseId}-content`, "data-section-name": dataSectionName },
|
|
3199
3199
|
React.createElement(Label$4, { "$color": color, "data-itemid": `${baseId}-label` }, children),
|
|
3200
3200
|
removable ? (React.createElement(Remove$1, { "data-itemid": `${baseId}-remove` },
|
|
3201
3201
|
React.createElement(Icon, { color: color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff', "data-itemid": `${baseId}-icon`, path: js.mdiClose, size: '15px' }))) : null)));
|