@sendbird/react-uikit-message-template-view
Advanced tools
Comparing version 0.0.1-alpha.30 to 0.0.1-alpha.31
@@ -6,2 +6,8 @@ # Change Log | ||
## 0.0.1-alpha.31 (2023-05-09) | ||
### Bug Fixes | ||
- change to cover scale ([ea372d1](https://github.com/sendbird/sendbird-uikit-core-ts/commit/ea372d143eb5c951577f5961984092c079e7086e)) | ||
## 0.0.1-alpha.30 (2023-05-09) | ||
@@ -8,0 +14,0 @@ |
@@ -49,5 +49,5 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
if (parentLayout === Layout.Row) { | ||
return acc + ((_b = (_a = sizes[view.id]) === null || _a === void 0 ? void 0 : _a.width) !== null && _b !== void 0 ? _b : 0); | ||
return acc + ((_b = (_a = sizes[view.id]) === null || _a === void 0 ? void 0 : _a.contentWidth) !== null && _b !== void 0 ? _b : 0); | ||
} | ||
return acc + ((_d = (_c = sizes[view.id]) === null || _c === void 0 ? void 0 : _c.height) !== null && _d !== void 0 ? _d : 0); | ||
return acc + ((_d = (_c = sizes[view.id]) === null || _c === void 0 ? void 0 : _c.contentHeight) !== null && _d !== void 0 ? _d : 0); | ||
}; | ||
@@ -54,0 +54,0 @@ const hasFillOption = isViewCompatibleWithSizeOption({ |
{ | ||
"name": "@sendbird/react-uikit-message-template-view", | ||
"version": "0.0.1-alpha.30", | ||
"version": "0.0.1-alpha.31", | ||
"publishConfig": { | ||
@@ -17,4 +17,6 @@ "registry": "https://registry.npmjs.org/", | ||
"source": "src", | ||
"dependencies": { | ||
"@sendbird/uikit-message-template": "^0.0.1-alpha.30" | ||
"scripts": { | ||
"build": "tsc --project tsconfig.json && yarn copy-files", | ||
"clean": "rm -rf dist", | ||
"copy-files": "cp ./src/index.css ./dist/" | ||
}, | ||
@@ -30,8 +32,6 @@ "devDependencies": { | ||
}, | ||
"scripts": { | ||
"build": "rm tsconfig.tsbuildinfo; tsc --project tsconfig.json && yarn copy-files", | ||
"copy-files": "cp ./src/index.css ./dist/", | ||
"clean": "rm -rf dist" | ||
"dependencies": { | ||
"@sendbird/uikit-message-template": "^0.0.1-alpha.31" | ||
}, | ||
"gitHead": "16e43426862bf2c371dca31efa67dcc689c6df7d" | ||
"gitHead": "d73ee2fccf46b9d6a22be92518d25017c2a5f206" | ||
} |
@@ -57,6 +57,6 @@ import { useEffect, useMemo } from 'react'; | ||
if (parentLayout === Layout.Row) { | ||
return acc + (sizes[view.id as string]?.width ?? 0); | ||
return acc + (sizes[view.id as string]?.contentWidth ?? 0); | ||
} | ||
return acc + (sizes[view.id as string]?.height ?? 0); | ||
return acc + (sizes[view.id as string]?.contentHeight ?? 0); | ||
}; | ||
@@ -63,0 +63,0 @@ |
@@ -8,3 +8,2 @@ { | ||
"include": ["src"], | ||
"exclude": ["node_modules", "**/*.spec.ts"], | ||
"references": [ | ||
@@ -11,0 +10,0 @@ { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
262865
51