@kindly/react-chat 2.38.6 → 2.39.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kindly/react-chat",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.39.1",
|
|
4
4
|
"description": "Kindly Chat react component",
|
|
5
5
|
"repository": "https://github.com/kindly-ai/kindly-chat/tree/main/packages/react-chat",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
"react-dom": ">=16.9.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@babel/core": "^7.19.
|
|
66
|
+
"@babel/core": "^7.19.3",
|
|
67
67
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
68
68
|
"@babel/plugin-transform-runtime": "^7.19.1",
|
|
69
|
-
"@babel/preset-env": "^7.19.
|
|
69
|
+
"@babel/preset-env": "^7.19.3",
|
|
70
70
|
"@babel/preset-react": "^7.18.6",
|
|
71
71
|
"@storybook/addon-a11y": "^6.5.12",
|
|
72
72
|
"@storybook/addon-actions": "^6.5.12",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@storybook/jest": "^0.0.10",
|
|
78
78
|
"@storybook/manager-webpack4": "^6.5.12",
|
|
79
79
|
"@storybook/react": "^6.5.12",
|
|
80
|
-
"@storybook/test-runner": "^0.7.
|
|
80
|
+
"@storybook/test-runner": "^0.7.2",
|
|
81
81
|
"@storybook/testing-library": "^0.0.13",
|
|
82
82
|
"@testing-library/jest-dom": "^5.16.5",
|
|
83
83
|
"@testing-library/react": "^11.2.7",
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
"babel-plugin-styled-components": "^1.13.3",
|
|
90
90
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
91
91
|
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
92
|
-
"browserslist": "^4.21.
|
|
93
|
-
"chromatic": "^6.
|
|
92
|
+
"browserslist": "^4.21.4",
|
|
93
|
+
"chromatic": "^6.10.1",
|
|
94
94
|
"clean-webpack-plugin": "^3.0.0",
|
|
95
95
|
"compression": "1.7.4",
|
|
96
96
|
"concurrently": "^7.4.0",
|
|
@@ -126,5 +126,5 @@
|
|
|
126
126
|
"silent": true,
|
|
127
127
|
"webpackConfig": "./webpack.config.js"
|
|
128
128
|
},
|
|
129
|
-
"gitHead": "
|
|
129
|
+
"gitHead": "c85fa1b007a2fec62fa75544e264f52e5dca2373"
|
|
130
130
|
}
|
|
@@ -520,7 +520,7 @@ const textSizes = [
|
|
|
520
520
|
undefined,
|
|
521
521
|
'Lorem ipsum dolor sit amet.',
|
|
522
522
|
'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
|
|
523
|
-
'Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
|
523
|
+
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. \n\n Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
524
524
|
];
|
|
525
525
|
ImageGallery.args = {
|
|
526
526
|
imageCarouselSize: 1000,
|
|
@@ -614,7 +614,7 @@ export const ImageGalleryWithDescription = Template.bind({});
|
|
|
614
614
|
ImageGalleryWithDescription.args = {
|
|
615
615
|
...ImageGallery.args,
|
|
616
616
|
titleSize: 2,
|
|
617
|
-
descriptionSize:
|
|
617
|
+
descriptionSize: 3,
|
|
618
618
|
hasLink: true,
|
|
619
619
|
};
|
|
620
620
|
ImageGalleryWithDescription.argTypes = ImageGallery.argTypes;
|
|
@@ -56,6 +56,15 @@ WithLanguageChoice.parameters = {
|
|
|
56
56
|
active: true,
|
|
57
57
|
},
|
|
58
58
|
],
|
|
59
|
+
text: {
|
|
60
|
+
...defaultBotSettings.text,
|
|
61
|
+
change_language_button: {
|
|
62
|
+
en: 'Change language, in a very long icon-text version, that will probably not fit in the button',
|
|
63
|
+
nb: 'Endre språk, in a very long icon-text version, that will probably not fit in the button',
|
|
64
|
+
nn: 'Endre språk, in a very long icon-text version, that will probably not fit in the button',
|
|
65
|
+
sv: 'Ändra språk, in a very long icon-text version, that will probably not fit in the button',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
59
68
|
},
|
|
60
69
|
initialStateModifier: {
|
|
61
70
|
chatbubble: {
|