@seamly/web-ui 20.8.0-beta.5 → 20.8.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/build/dist/lib/index.debug.js +3 -3
- package/build/dist/lib/index.debug.min.js +1 -1
- package/build/dist/lib/index.js +4 -6
- package/build/dist/lib/index.min.js +1 -1
- package/build/dist/lib/standalone.js +4 -6
- package/build/dist/lib/standalone.min.js +1 -1
- package/build/dist/lib/style-guide.js +2 -4
- package/build/dist/lib/style-guide.min.js +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/javascripts/domains/config/slice.ts +3 -2
- package/src/javascripts/ui/components/entry/text-entry/index.js +1 -1
package/package.json
CHANGED
package/src/.DS_Store
ADDED
|
Binary file
|
|
@@ -2,6 +2,7 @@ import { createSlice, PayloadAction } from '@reduxjs/toolkit'
|
|
|
2
2
|
import { defaultConfig } from 'config'
|
|
3
3
|
import { Config } from 'config.types'
|
|
4
4
|
import { initializeConfig, resetConfig } from 'domains/config/actions'
|
|
5
|
+
import type { ChannelEvent } from 'domains/store/store.types'
|
|
5
6
|
import { pick } from 'ui/utils/general-utils'
|
|
6
7
|
|
|
7
8
|
export const initialConfigState: Config = {
|
|
@@ -75,8 +76,8 @@ export const configSlice = createSlice({
|
|
|
75
76
|
updateState(state, payload),
|
|
76
77
|
updateConfig: (state, { payload }: PayloadAction<Config>) =>
|
|
77
78
|
updateState(state, payload),
|
|
78
|
-
setPreChatEvents: (state, { payload
|
|
79
|
-
state.preChatEvents =
|
|
79
|
+
setPreChatEvents: (state, { payload }: PayloadAction<ChannelEvent[]>) => {
|
|
80
|
+
state.preChatEvents = payload
|
|
80
81
|
},
|
|
81
82
|
},
|
|
82
83
|
extraReducers: (builder) => {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from 'ui/hooks/seamly-hooks'
|
|
10
10
|
import TextEntryForm from './text-entry-form'
|
|
11
11
|
|
|
12
|
-
const controlName = '
|
|
12
|
+
const controlName = 'textMessageEntry'
|
|
13
13
|
|
|
14
14
|
export default function TextEntry({ ...props }) {
|
|
15
15
|
const { isOpen, setVisibility } = useVisibility()
|