@meduza/ui-kit-2 0.4.6 → 0.4.8
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/DocumentItemsCount/DocumentItemsCount.types.d.ts +1 -0
- package/dist/Dropdown/Dropdown.types.d.ts +1 -0
- package/dist/Lazy/Lazy.types.d.ts +1 -0
- package/dist/ListBlock/ListBlock.types.d.ts +1 -0
- package/dist/Meta/Meta.mock.d.ts +12 -0
- package/dist/RichTitle/RichTitle.types.d.ts +1 -0
- package/dist/Tag/Tag.types.d.ts +1 -1
- package/dist/Toolbar/Toolbar.types.d.ts +1 -0
- package/dist/ui-kit-2.cjs.development.js +8 -1
- package/dist/ui-kit-2.cjs.development.js.map +1 -1
- package/dist/ui-kit-2.cjs.production.min.js +1 -1
- package/dist/ui-kit-2.cjs.production.min.js.map +1 -1
- package/dist/ui-kit-2.esm.js +8 -1
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit.css +3 -3
- package/package.json +1 -1
- package/src/Meta/Meta.mock.ts +19 -0
- package/src/Meta/Meta.module.css +5 -0
- package/src/Meta/Meta.stories.module.css +16 -0
- package/src/Meta/Meta.stories.tsx +51 -4
- package/src/Meta/MetaContainer.tsx +8 -0
- package/src/Tag/Tag.module.css +4 -3
- package/src/Tag/Tag.stories.tsx +16 -3
- package/src/Tag/Tag.types.ts +7 -1
package/dist/ui-kit-2.esm.js
CHANGED
|
@@ -726,7 +726,7 @@ const DotsOnImage = ({
|
|
|
726
726
|
})))));
|
|
727
727
|
};
|
|
728
728
|
|
|
729
|
-
var styles$x = {"root":"Tag-module_root__sGbnM","small":"Tag-module_small__hcPrf","large":"Tag-module_large__EKMu6","dark":"Tag-module_dark__9SHCb","light":"Tag-module_light__qlfy3","gold":"Tag-module_gold__u0bzS","gray":"Tag-module_gray__eazPk","inherit":"Tag-module_inherit__z21c-","is1to1":"Tag-module_is1to1__V-fH5","is1to2":"Tag-module_is1to2__b9Obh","isInSuperBlock":"Tag-module_isInSuperBlock__wrFUY","is1to3":"Tag-module_is1to3__vZT-R","is1to4":"Tag-module_is1to4__MBh5V","slide":"Tag-module_slide__gzptP","game":"Tag-module_game__NmKec","podcastMaterial":"Tag-module_podcastMaterial__O-LBI","richRelated":"Tag-module_richRelated__Qs6Ei","card":"Tag-module_card__TX87-","live":"Tag-module_live__ykyR7","episode":"Tag-module_episode__3OHmN","podcast":"Tag-module_podcast__K6dHn","rich":"Tag-module_rich__vPnWd","isInDynamicBlock":"Tag-module_isInDynamicBlock__WNleF","mobile":"Tag-module_mobile__19oMH","desktop":"Tag-module_desktop__cNyQs"};
|
|
729
|
+
var styles$x = {"root":"Tag-module_root__sGbnM","small":"Tag-module_small__hcPrf","large":"Tag-module_large__EKMu6","dark":"Tag-module_dark__9SHCb","light":"Tag-module_light__qlfy3","gold":"Tag-module_gold__u0bzS","gray":"Tag-module_gray__eazPk","inherit":"Tag-module_inherit__z21c-","custom":"Tag-module_custom__NU9-e","is1to1":"Tag-module_is1to1__V-fH5","is1to2":"Tag-module_is1to2__b9Obh","isInSuperBlock":"Tag-module_isInSuperBlock__wrFUY","is1to3":"Tag-module_is1to3__vZT-R","is1to4":"Tag-module_is1to4__MBh5V","slide":"Tag-module_slide__gzptP","game":"Tag-module_game__NmKec","podcastMaterial":"Tag-module_podcastMaterial__O-LBI","richRelated":"Tag-module_richRelated__Qs6Ei","card":"Tag-module_card__TX87-","live":"Tag-module_live__ykyR7","episode":"Tag-module_episode__3OHmN","podcast":"Tag-module_podcast__K6dHn","rich":"Tag-module_rich__vPnWd","isInDynamicBlock":"Tag-module_isInDynamicBlock__WNleF","mobile":"Tag-module_mobile__19oMH","desktop":"Tag-module_desktop__cNyQs"};
|
|
730
730
|
|
|
731
731
|
const Tag = ({
|
|
732
732
|
children,
|
|
@@ -1881,6 +1881,13 @@ const MetaContainer = ({
|
|
|
1881
1881
|
key: component.id
|
|
1882
1882
|
}, /*#__PURE__*/React.createElement(React.Fragment, null, component.with_icon && /*#__PURE__*/React.createElement(MetaItemLive, null), component.label));
|
|
1883
1883
|
}
|
|
1884
|
+
case 'string':
|
|
1885
|
+
{
|
|
1886
|
+
return /*#__PURE__*/React.createElement(MetaItem, {
|
|
1887
|
+
bullets: true,
|
|
1888
|
+
key: component.id
|
|
1889
|
+
}, component.text);
|
|
1890
|
+
}
|
|
1884
1891
|
default:
|
|
1885
1892
|
{
|
|
1886
1893
|
return null;
|