@meduza/ui-kit-2 0.8.601 → 0.8.602
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/Meta/Meta.types.d.ts +1 -0
- package/dist/ui-kit-2.cjs.development.js +5 -3
- 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 +5 -3
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Meta/Meta.types.ts +1 -0
- package/src/Meta/MetaContainer.tsx +1 -0
- package/src/Meta/index.tsx +4 -2
|
@@ -966,9 +966,10 @@ const Meta = ({
|
|
|
966
966
|
theme,
|
|
967
967
|
children,
|
|
968
968
|
onlyOn,
|
|
969
|
-
styleContext
|
|
969
|
+
styleContext,
|
|
970
|
+
type
|
|
970
971
|
}) => {
|
|
971
|
-
let classNames = [[styles$s.root, true], [styles$s[theme], !!theme && !!styles$s[theme]], [styles$s[onlyOn], !!onlyOn], [styles$s.hasSource, hasSource]];
|
|
972
|
+
let classNames = [[styles$s.root, true], [styles$s[theme], !!theme && !!styles$s[theme]], [styles$s[onlyOn], !!onlyOn], [styles$s.hasSource, hasSource], [styles$s.isInDynamicBlock, type === 'isInDynamicBlock']];
|
|
972
973
|
if (styleContext) {
|
|
973
974
|
classNames = makeStyleContext(classNames, styleContext, styles$s);
|
|
974
975
|
}
|
|
@@ -1828,7 +1829,8 @@ const MetaContainer = ({
|
|
|
1828
1829
|
styleContext: context,
|
|
1829
1830
|
theme: theme || themeColor,
|
|
1830
1831
|
onlyOn: block.only_on,
|
|
1831
|
-
hasSource: hasSource
|
|
1832
|
+
hasSource: hasSource,
|
|
1833
|
+
type: styleContext
|
|
1832
1834
|
}, components.map(component => {
|
|
1833
1835
|
switch (component.type) {
|
|
1834
1836
|
case 'source_name':
|