@websolutespa/bom-mixer-ui 1.9.6 → 1.9.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/CHANGELOG.md +16 -0
- package/dist/cjs/index.js +4 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/css.js +2 -0
- package/dist/esm/components/css.js.map +1 -1
- package/dist/esm/components/text/text.js +1 -0
- package/dist/esm/components/text/text.js.map +1 -1
- package/dist/esm/fields/field-text.js.map +1 -1
- package/dist/esm/lazy/lazy-loader/lazy-loader.js +1 -1
- package/dist/esm/lazy/lazy-loader/lazy-loader.js.map +1 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +2 -2
- package/dist/types/components/css.d.ts +3 -1
- package/dist/types/components/css.d.ts.map +1 -1
- package/dist/types/components/text/text.d.ts.map +1 -1
- package/dist/types/fields/field-text.d.ts.map +1 -1
- package/dist/types/theme/types.d.ts +3 -1
- package/dist/types/theme/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/css.ts +2 -0
- package/src/components/text/text.tsx +1 -0
- package/src/fields/field-text.tsx +1 -0
- package/src/lazy/lazy-loader/lazy-loader.tsx +1 -1
- package/src/theme/types.ts +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @websolutespa/bom-mixer-ui
|
|
2
2
|
|
|
3
|
+
## 1.9.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Modified: Text, LazyLoader, IThemeFont
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @websolutespa/bom-core@1.8.17
|
|
11
|
+
- @websolutespa/bom-mixer-models@1.8.17
|
|
12
|
+
|
|
13
|
+
## 1.9.7
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Added: css props justifySelf, objectFit
|
|
18
|
+
|
|
3
19
|
## 1.9.6
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/cjs/index.js
CHANGED
|
@@ -248,6 +248,7 @@ const CssObj = {
|
|
|
248
248
|
height: 'height',
|
|
249
249
|
inset: 'inset',
|
|
250
250
|
justifyContent: 'justify-content',
|
|
251
|
+
justifySelf: 'justify-self',
|
|
251
252
|
left: 'left',
|
|
252
253
|
letterSpacing: 'letter-spacing',
|
|
253
254
|
lineHeight: 'line-height',
|
|
@@ -260,6 +261,7 @@ const CssObj = {
|
|
|
260
261
|
maxWidth: 'max-width',
|
|
261
262
|
minHeight: 'min-height',
|
|
262
263
|
minWidth: 'min-width',
|
|
264
|
+
objectFit: 'object-fit',
|
|
263
265
|
opacity: 'opacity',
|
|
264
266
|
order: 'order',
|
|
265
267
|
outline: 'outline',
|
|
@@ -4086,6 +4088,7 @@ const StyledText$1 = styled__default.default.div`
|
|
|
4086
4088
|
${font.lineHeight ? styled.css`line-height: var(--font-${variant}-line-height, 1);` : ''}
|
|
4087
4089
|
${font.fontWeight ? styled.css`font-weight: var(--font-${variant}-font-weight, inherit);` : ''}
|
|
4088
4090
|
${font.letterSpacing ? styled.css`letter-spacing: var(--font-${variant}-letter-spacing, inherit);` : ''}
|
|
4091
|
+
${font.textTransform ? styled.css`text-transform: var(--font-${variant}-text-transform, inherit);` : ''}
|
|
4089
4092
|
`)};
|
|
4090
4093
|
${props => props.gradient ? styled.css`
|
|
4091
4094
|
display: -webkit-inline-box;
|
|
@@ -13548,7 +13551,7 @@ const lazyLoadComponent = function (component, modules, index) {
|
|
|
13548
13551
|
if (index === void 0) {
|
|
13549
13552
|
index = 0;
|
|
13550
13553
|
}
|
|
13551
|
-
const key = component.
|
|
13554
|
+
const key = component.blockType || component.schema || 'unkown_type';
|
|
13552
13555
|
const Component = modules[key] || modules['not-found'];
|
|
13553
13556
|
return jsxRuntime.jsx(Component, {
|
|
13554
13557
|
item: component,
|