@sendbird/react-uikit-message-template-view
Advanced tools
Comparing version 0.0.1-alpha.66 to 0.0.1-alpha.67
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.0.1-alpha.67](https://github.com/sendbird/sendbird-uikit-core-ts/compare/v0.0.1-alpha.66...v0.0.1-alpha.67) (2024-03-26) | ||
### Features | ||
* **AC-1230:** add composite template support (CarouselView) ([#115](https://github.com/sendbird/sendbird-uikit-core-ts/issues/115)) ([816ec79](https://github.com/sendbird/sendbird-uikit-core-ts/commit/816ec791c8d58bd12f7eb777109f347bfdbd5acf)) | ||
## [0.0.1-alpha.66](https://github.com/sendbird/sendbird-uikit-core-ts/compare/v0.0.1-alpha.65...v0.0.1-alpha.66) (2024-03-22) | ||
@@ -8,0 +19,0 @@ |
@@ -14,2 +14,3 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
import { FlexSizeSpecValue, Layout, createMessageTemplate, createParser, createRenderer, } from '@sendbird/uikit-message-template'; | ||
import { Carousel } from '../components/Carousel'; | ||
import ReactMessageTemplateImage from '../components/ReactMessageTemplateImage'; | ||
@@ -123,2 +124,5 @@ import { useMessageContext } from '../context/MessageContextProvider'; | ||
}, | ||
carouselView(props) { | ||
return React.createElement(Carousel, { gap: props.spacing }, props.children); | ||
}, | ||
}, | ||
@@ -163,2 +167,7 @@ }); | ||
}, | ||
mapCarouselProps(props, options) { | ||
const styles = getDefaultStyles(); | ||
setViewProps(styles, props, options); | ||
return styles; | ||
}, | ||
}); | ||
@@ -173,7 +182,5 @@ export const { MessageTemplate } = createMessageTemplate({ | ||
maxWidth: 400, | ||
backgroundColor: '#cecece', | ||
marginBottom: 24, | ||
borderRadius: '8px', | ||
} }, children)); | ||
}, | ||
}); |
{ | ||
"name": "@sendbird/react-uikit-message-template-view", | ||
"version": "0.0.1-alpha.66", | ||
"version": "0.0.1-alpha.67", | ||
"publishConfig": { | ||
@@ -40,5 +40,5 @@ "registry": "https://registry.npmjs.org/", | ||
"dependencies": { | ||
"@sendbird/uikit-message-template": "^0.0.1-alpha.66" | ||
"@sendbird/uikit-message-template": "^0.0.1-alpha.67" | ||
}, | ||
"gitHead": "5866de846491b600ca9a4de638f77fe2423efb3d" | ||
"gitHead": "7e6cff248f3853e8f34d5b5c6af8ea8d3e114bab" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
255657
52
4032