kiban-design-system 1.1.2-hotfix.0 → 1.1.3-hotfix.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/dist/index.js
CHANGED
|
@@ -30091,7 +30091,7 @@ const Tile = ({ isSelected, media, onClick, title, value, subtitle = '', mediaSi
|
|
|
30091
30091
|
const renderTags = (tag, index) => (jsx("div", Object.assign({ className: 'Tile__Tag' }, { children: tag }), `tag-historic-${index}`));
|
|
30092
30092
|
const clasessTags = cssClassName('Tile__TagsWrapper', mediaSize && `is-${mediaSize}`);
|
|
30093
30093
|
const tagsMarkup = tags ? (jsx("div", Object.assign({ className: clasessTags }, { children: jsx("div", Object.assign({ className: 'Tile__Tags' }, { children: tags.map(renderTags) }), void 0) }), void 0)) : null;
|
|
30094
|
-
return (jsxs("div", Object.assign({ className: classes, onClick: handleOnClick }, { children: [jsxs("div", Object.assign({ className: 'Tile__Wrapper' }, { children: [jsxs("div", Object.assign({ className: 'Tile__TitleWrapper' }, { children: [jsx("div", Object.assign({ className: 'Tile__Media' }, { children: jsx(Media, { icon: media, size: mediaSize, appearance: 'info' }, void 0) }), void 0), jsxs("div", { children: [jsx("div", Object.assign({ className: 'Tile__Title' }, { children: title }), void 0), subtitle
|
|
30094
|
+
return (jsxs("div", Object.assign({ className: classes, onClick: handleOnClick }, { children: [jsxs("div", Object.assign({ className: 'Tile__Wrapper' }, { children: [jsxs("div", Object.assign({ className: 'Tile__TitleWrapper' }, { children: [jsx("div", Object.assign({ className: 'Tile__Media' }, { children: jsx(Media, { icon: media, size: mediaSize, appearance: 'info' }, void 0) }), void 0), jsxs("div", { children: [jsx("div", Object.assign({ className: 'Tile__Title' }, { children: title }), void 0), subtitle ? jsx("div", Object.assign({ className: 'Tile__Subtitle' }, { children: subtitle }), void 0) : null] }, void 0)] }), void 0), jsx("div", Object.assign({ className: 'Tile__RightMediaWrapper' }, { children: rightMedia !== null && rightMedia }), void 0)] }), void 0), tagsMarkup] }), void 0));
|
|
30095
30095
|
};
|
|
30096
30096
|
|
|
30097
30097
|
const COMPONENT_NAME$6 = 'Totalizer';
|