@websolutespa/bom-mixer-ui 1.9.7 → 1.9.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @websolutespa/bom-mixer-ui
2
2
 
3
+ ## 1.9.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified: IThemeFont, Text
8
+
9
+ ## 1.9.8
10
+
11
+ ### Patch Changes
12
+
13
+ - Modified: Text, LazyLoader, IThemeFont
14
+ - Updated dependencies
15
+ - Updated dependencies
16
+ - @websolutespa/bom-core@1.8.17
17
+ - @websolutespa/bom-mixer-models@1.8.17
18
+
3
19
  ## 1.9.7
4
20
 
5
21
  ### Patch Changes
package/dist/cjs/index.js CHANGED
@@ -4083,11 +4083,16 @@ function hasBackground(props) {
4083
4083
 
4084
4084
  const StyledText$1 = styled__default.default.div`
4085
4085
  ${props => getFontVariantResponsive(props, (variant, font) => styled.css`
4086
- ${font.family ? styled.css`font-family: var(--font-${variant}-family, var(--base-font-family));` : ''}
4087
- ${font.size ? styled.css`font-size: var(--font-${variant}-size, 1rem);` : ''}
4086
+ ${font.fontFamily ? styled.css`font-family: var(--font-${variant}-font-family, var(--base-font-family));` : ''}
4087
+ ${font.fontSize ? styled.css`font-size: var(--font-${variant}-font-size, 1rem);` : ''}
4088
4088
  ${font.lineHeight ? styled.css`line-height: var(--font-${variant}-line-height, 1);` : ''}
4089
4089
  ${font.fontWeight ? styled.css`font-weight: var(--font-${variant}-font-weight, inherit);` : ''}
4090
+ ${font.fontStyle ? styled.css`font-style: var(--font-${variant}-font-style, inherit);` : ''}
4090
4091
  ${font.letterSpacing ? styled.css`letter-spacing: var(--font-${variant}-letter-spacing, inherit);` : ''}
4092
+ ${font.textTransform ? styled.css`text-transform: var(--font-${variant}-text-transform, inherit);` : ''}
4093
+ //
4094
+ ${font.family ? styled.css`font-family: var(--font-${variant}-family, var(--base-font-family));` : ''}
4095
+ ${font.size ? styled.css`font-size: var(--font-${variant}-size, 1rem);` : ''}
4091
4096
  `)};
4092
4097
  ${props => props.gradient ? styled.css`
4093
4098
  display: -webkit-inline-box;
@@ -13550,7 +13555,7 @@ const lazyLoadComponent = function (component, modules, index) {
13550
13555
  if (index === void 0) {
13551
13556
  index = 0;
13552
13557
  }
13553
- const key = component.schema || component.blockType;
13558
+ const key = component.blockType || component.schema || 'unkown_type';
13554
13559
  const Component = modules[key] || modules['not-found'];
13555
13560
  return jsxRuntime.jsx(Component, {
13556
13561
  item: component,