Skip to content

Commit 6bc0162

Browse files
committed
merge latest
2 parents 5f3e18a + efbb5d7 commit 6bc0162

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

dist/react-simple-chatbot.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-simple-chatbot.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/schemas/schema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import textSchema from './textSchema';
33
import optionsSchema from './optionsSchema';
44
import customSchema from './customSchema';
55
import updateSchema from './updateSchema';
6-
import { stringify } from 'flatted';
6+
import { stringify } from 'flatted/cjs';
77

88
const schema = {
99
parse(step) {

lib/steps_components/options/OptionElement.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import styled from 'styled-components';
22
import defaultTheme from '../../theme';
33

4-
const OptionElement = styled.a`
4+
const OptionElement = styled.button`
55
background: ${({ theme }) => theme.botBubbleColor};
6+
border: 0;
67
border-radius: 22px;
78
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
89
color: ${({ theme }) => theme.botFontColor};
@@ -13,6 +14,10 @@ const OptionElement = styled.a`
1314
&:hover {
1415
opacity: 0.7;
1516
}
17+
&:active,
18+
&:hover:focus {
19+
outline:none;
20+
}
1621
`;
1722

1823
OptionElement.defaultProps = {

lib/storage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { stringify, parse } from 'flatted';
1+
import { stringify, parse } from 'flatted/cjs'
22

33
/* istanbul ignore next */
44
const getData = (params, callback) => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-simple-chatbot",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"description": "React Simple Chatbot",
55
"main": "dist/react-simple-chatbot.js",
66
"scripts": {

0 commit comments

Comments
 (0)