@messenger-box/property-ext-browser 0.0.1-alpha.236 → 0.0.1-alpha.245
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 +8 -0
- package/lib/module.js +2 -2
- package/lib/slot-fill/message-alert-fill.js +1 -1
- package/lib/slot-fill/message-card-fill.js +1 -1
- package/package.json +5 -5
- package/src/module.ts +2 -2
- package/src/slot-fill/message-alert-fill.tsx +1 -1
- package/src/slot-fill/message-card-fill.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.0.1-alpha.245](https://github.com/CDEBase/messenger-box/compare/v0.0.1-alpha.244...v0.0.1-alpha.245) (2023-02-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @messenger-box/property-ext-browser
|
|
9
|
+
|
|
10
|
+
## [0.0.1-alpha.239](https://github.com/cdmbase/messenger-box/compare/v0.0.1-alpha.238...v0.0.1-alpha.239) (2022-12-14)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @messenger-box/property-ext-browser
|
|
13
|
+
|
|
6
14
|
## 0.0.1-alpha.236 (2022-11-18)
|
|
7
15
|
|
|
8
16
|
### Features
|
package/lib/module.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {Feature}from'@common-stack/client-react';import {IPostTypeEnum}from'@messenger-box/property-ext-core';import {MessageAlertFill}from'./slot-fill/message-alert-fill.js';import {MessageCardFill}from'./slot-fill/message-card-fill.js';const feature = new Feature({
|
|
2
2
|
componentFillPlugins: [
|
|
3
3
|
{
|
|
4
|
-
name: IPostTypeEnum.
|
|
4
|
+
name: IPostTypeEnum.Alert.toLowerCase(),
|
|
5
5
|
render: MessageAlertFill,
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
|
-
name: IPostTypeEnum.
|
|
8
|
+
name: IPostTypeEnum.Card.toLowerCase(),
|
|
9
9
|
render: MessageCardFill,
|
|
10
10
|
},
|
|
11
11
|
],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from'react';import {Fill}from'@common-stack/components-pro';import {IPostTypeEnum}from'@messenger-box/property-ext-core';import'lodash';import'html-react-parser';import'@chakra-ui/react';import'@chakra-ui/icons';import {MessageAlert}from'../components/InboxMessage/MessageWidgets/MessageAlert.js';const MessageAlertFill = () => {
|
|
2
|
-
return (React.createElement(Fill, { name: IPostTypeEnum.
|
|
2
|
+
return (React.createElement(Fill, { name: IPostTypeEnum.Alert.toLowerCase() }, (props) => {
|
|
3
3
|
if (props.active) {
|
|
4
4
|
return (React.createElement(MessageAlert, Object.assign({}, props)));
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from'react';import {Fill}from'@common-stack/components-pro';import {MessageCard}from'../components/InboxMessage/MessageWidgets/MessageCard.js';import'@chakra-ui/icons';import'html-react-parser';import'@chakra-ui/react';import {IPostTypeEnum}from'@messenger-box/property-ext-core';const MessageCardFill = () => {
|
|
2
|
-
return (React.createElement(Fill, { name: IPostTypeEnum.
|
|
2
|
+
return (React.createElement(Fill, { name: IPostTypeEnum.Card.toLowerCase() }, (props) => {
|
|
3
3
|
if (props.active) {
|
|
4
4
|
return (React.createElement(MessageCard, Object.assign({}, props)));
|
|
5
5
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@messenger-box/property-ext-browser",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.245",
|
|
4
4
|
"description": "Extention to Messenger to support property on browser",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@emotion/react": "^11",
|
|
43
43
|
"@emotion/styled": "^11",
|
|
44
|
-
"@messenger-box/chakra-ui-inbox": "0.0.1-alpha.
|
|
45
|
-
"@messenger-box/core": "0.0.1-alpha.
|
|
46
|
-
"@messenger-box/property-ext-core": "0.0.1-alpha.
|
|
44
|
+
"@messenger-box/chakra-ui-inbox": "0.0.1-alpha.245",
|
|
45
|
+
"@messenger-box/core": "0.0.1-alpha.245",
|
|
46
|
+
"@messenger-box/property-ext-core": "0.0.1-alpha.245",
|
|
47
47
|
"date-fns": "^2.28.0",
|
|
48
48
|
"date-fns-tz": "^1.3.3",
|
|
49
49
|
"emoji-mart": "^3.0.1",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"typescript": {
|
|
77
77
|
"definition": "lib/index.d.ts"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "f1db3750fd8ba3a00d66bc3cf3547f214a1f8edb"
|
|
80
80
|
}
|
package/src/module.ts
CHANGED
|
@@ -5,11 +5,11 @@ import { MessageAlertFill, MessageCardFill } from './slot-fill';
|
|
|
5
5
|
export const feature = new Feature({
|
|
6
6
|
componentFillPlugins: [
|
|
7
7
|
{
|
|
8
|
-
name: IPostTypeEnum.
|
|
8
|
+
name: IPostTypeEnum.Alert.toLowerCase(),
|
|
9
9
|
render: MessageAlertFill,
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
|
-
name: IPostTypeEnum.
|
|
12
|
+
name: IPostTypeEnum.Card.toLowerCase(),
|
|
13
13
|
render: MessageCardFill,
|
|
14
14
|
},
|
|
15
15
|
],
|
|
@@ -6,7 +6,7 @@ import { IPropertyMessageWidgetProps } from '../components/InboxMessage/MessageW
|
|
|
6
6
|
|
|
7
7
|
export const MessageAlertFill = () => {
|
|
8
8
|
return (
|
|
9
|
-
<Fill name={IPostTypeEnum.
|
|
9
|
+
<Fill name={IPostTypeEnum.Alert.toLowerCase()}>
|
|
10
10
|
{
|
|
11
11
|
(props: IPropertyMessageWidgetProps & { active: boolean }) => {
|
|
12
12
|
if (props.active) {
|
|
@@ -6,7 +6,7 @@ import { IPostTypeEnum } from '@messenger-box/property-ext-core';
|
|
|
6
6
|
|
|
7
7
|
export const MessageCardFill = () => {
|
|
8
8
|
return (
|
|
9
|
-
<Fill name={IPostTypeEnum.
|
|
9
|
+
<Fill name={IPostTypeEnum.Card.toLowerCase()}>
|
|
10
10
|
{
|
|
11
11
|
(props: IPropertyCardProps & { active: boolean }) => {
|
|
12
12
|
if (props.active) {
|