ninchat-embed 1.0.5 → 2.0.0
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/README.md +21 -2
- package/dist/embed3.js +2 -1
- package/dist/embed3.js.map +1 -1
- package/dist/src/actions/app.d.ts +2 -2
- package/dist/src/actions/app.d.ts.map +1 -1
- package/dist/src/actions/modal/types/index.d.ts +1 -0
- package/dist/src/actions/modal/types/index.d.ts.map +1 -1
- package/dist/src/api/NinchatClient.d.ts +42 -9
- package/dist/src/api/NinchatClient.d.ts.map +1 -1
- package/dist/src/api/action/acceptAudience.d.ts +1 -1
- package/dist/src/api/action/addMember.d.ts +1 -1
- package/dist/src/api/action/assignTranscript.d.ts +1 -1
- package/dist/src/api/action/beginSso.d.ts +1 -1
- package/dist/src/api/action/closeSession.d.ts +1 -1
- package/dist/src/api/action/createAccess.d.ts +1 -1
- package/dist/src/api/action/createChannel.d.ts +1 -1
- package/dist/src/api/action/createComment.d.ts +4 -4
- package/dist/src/api/action/createIdentity.d.ts +4 -4
- package/dist/src/api/action/createIdentityWithAuthResetAccess.d.ts +4 -4
- package/dist/src/api/action/createQueue.d.ts +1 -1
- package/dist/src/api/action/createSession.d.ts +3 -2
- package/dist/src/api/action/createSession.d.ts.map +1 -1
- package/dist/src/api/action/createTag.d.ts +4 -4
- package/dist/src/api/action/deleteIdentity.d.ts +4 -4
- package/dist/src/api/action/deleteMessage.d.ts +4 -4
- package/dist/src/api/action/deleteTag.d.ts +4 -4
- package/dist/src/api/action/describeAccess.d.ts +1 -1
- package/dist/src/api/action/describeChannel.d.ts +1 -1
- package/dist/src/api/action/describeFile.d.ts +1 -1
- package/dist/src/api/action/describeIdentity.d.ts +4 -4
- package/dist/src/api/action/describeQueue.d.ts +4 -4
- package/dist/src/api/action/describeQueueTranscripts.d.ts +1 -1
- package/dist/src/api/action/describeRealm.d.ts +1 -1
- package/dist/src/api/action/describeRealmQueues.d.ts +1 -1
- package/dist/src/api/action/describeTag.d.ts +4 -4
- package/dist/src/api/action/describeTags.d.ts +4 -4
- package/dist/src/api/action/describeTranscript.d.ts +1 -1
- package/dist/src/api/action/describeUser.d.ts +3 -8
- package/dist/src/api/action/describeUser.d.ts.map +1 -1
- package/dist/src/api/action/discoverJitsi.d.ts +1 -1
- package/dist/src/api/action/endAudience.d.ts +4 -4
- package/dist/src/api/action/getAudienceRangeComments.d.ts +4 -4
- package/dist/src/api/action/getQueueActivity.d.ts +4 -4
- package/dist/src/api/action/getQueueStats.d.ts +4 -4
- package/dist/src/api/action/getTranscript.d.ts +1 -1
- package/dist/src/api/action/index.d.ts.map +1 -1
- package/dist/src/api/action/joinChannel.d.ts +2 -1
- package/dist/src/api/action/joinChannel.d.ts.map +1 -1
- package/dist/src/api/action/loadHistory.d.ts +1 -1
- package/dist/src/api/action/partChannel.d.ts +1 -1
- package/dist/src/api/action/registerAudience.d.ts +4 -4
- package/dist/src/api/action/removeMember.d.ts +1 -1
- package/dist/src/api/action/requestAudience.d.ts +19 -0
- package/dist/src/api/action/requestAudience.d.ts.map +1 -0
- package/dist/src/api/action/requestIdentityAuthResetAccess.d.ts +1 -1
- package/dist/src/api/action/requestIdentityVerifyAccess.d.ts +4 -4
- package/dist/src/api/action/resetIdentityAuth.d.ts +1 -1
- package/dist/src/api/action/sendMessage.d.ts +1 -1
- package/dist/src/api/action/sendMessage.d.ts.map +1 -1
- package/dist/src/api/action/setTranscriptStatus.d.ts +1 -1
- package/dist/src/api/action/transferAudience.d.ts +1 -1
- package/dist/src/api/action/updateChannel.d.ts +4 -4
- package/dist/src/api/action/updateDialogue.d.ts +4 -4
- package/dist/src/api/action/updateIdentity.d.ts +4 -4
- package/dist/src/api/action/updateIdentityAuth.d.ts +4 -4
- package/dist/src/api/action/updateMember.d.ts +1 -1
- package/dist/src/api/action/updateMessage.d.ts +4 -4
- package/dist/src/api/action/updateQueue.d.ts +4 -4
- package/dist/src/api/action/updateRealm.d.ts +4 -4
- package/dist/src/api/action/updateSession.d.ts +6 -6
- package/dist/src/api/action/updateTag.d.ts +4 -4
- package/dist/src/api/action/updateUser.d.ts +4 -4
- package/dist/src/api/action/updateUserMessages.d.ts +4 -4
- package/dist/src/api/action/verifyIdentity.d.ts +4 -4
- package/dist/src/api/event/audienceEnqueued.d.ts +4 -0
- package/dist/src/api/event/audienceEnqueued.d.ts.map +1 -0
- package/dist/src/api/event/channelJoined.d.ts +19 -3
- package/dist/src/api/event/channelJoined.d.ts.map +1 -1
- package/dist/src/api/event/channelMemberParted.d.ts.map +1 -1
- package/dist/src/api/event/channelParted.d.ts +1 -1
- package/dist/src/api/event/channelUpdated.d.ts +1 -1
- package/dist/src/api/event/index.d.ts +67 -21
- package/dist/src/api/event/index.d.ts.map +1 -1
- package/dist/src/api/event/messageReceived.d.ts +1 -1
- package/dist/src/api/event/messageReceived.d.ts.map +1 -1
- package/dist/src/api/event/queueUpdated.d.ts.map +1 -1
- package/dist/src/api/event/realmMemberJoined.d.ts +4 -0
- package/dist/src/api/event/realmMemberJoined.d.ts.map +1 -0
- package/dist/src/api/event/realmQueuesFound.d.ts.map +1 -1
- package/dist/src/api/event/sessionCreated.d.ts +1 -1
- package/dist/src/api/event/transcriptUpdated.d.ts +1 -1
- package/dist/src/api/event/transcriptUpdated.d.ts.map +1 -1
- package/dist/src/api/reducers/updateNinchatState.d.ts +4 -0
- package/dist/src/api/reducers/updateNinchatState.d.ts.map +1 -0
- package/dist/src/api/slice.d.ts +59 -0
- package/dist/src/api/slice.d.ts.map +1 -1
- package/dist/src/api/types/actions.d.ts +49 -2
- package/dist/src/api/types/actions.d.ts.map +1 -1
- package/dist/src/api/types/attributes.d.ts +4 -0
- package/dist/src/api/types/attributes.d.ts.map +1 -1
- package/dist/src/api/types/events.d.ts +18 -2
- package/dist/src/api/types/events.d.ts.map +1 -1
- package/dist/src/api/types/messages.d.ts +43 -1
- package/dist/src/api/types/messages.d.ts.map +1 -1
- package/dist/src/api/types/properties.d.ts +51 -4
- package/dist/src/api/types/properties.d.ts.map +1 -1
- package/dist/src/api/types/settings.d.ts +7 -0
- package/dist/src/api/types/settings.d.ts.map +1 -1
- package/dist/src/api/types/state.d.ts +2 -0
- package/dist/src/api/types/state.d.ts.map +1 -1
- package/dist/src/app/actions.d.ts +2 -0
- package/dist/src/app/actions.d.ts.map +1 -0
- package/dist/src/app/index.d.ts +4 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/app/thunks.d.ts +4 -0
- package/dist/src/app/thunks.d.ts.map +1 -0
- package/dist/src/appconfig/index.d.ts +15 -6
- package/dist/src/appconfig/index.d.ts.map +1 -1
- package/dist/src/components/Avatar/LetterAvatar/LetterAvatar.d.ts +5 -0
- package/dist/src/components/Avatar/LetterAvatar/LetterAvatar.d.ts.map +1 -0
- package/dist/src/components/Avatar/LetterAvatar/LetterAvatarView.d.ts +11 -0
- package/dist/src/components/Avatar/LetterAvatar/LetterAvatarView.d.ts.map +1 -0
- package/dist/src/components/Avatar/LetterAvatar/index.d.ts +3 -0
- package/dist/src/components/Avatar/LetterAvatar/index.d.ts.map +1 -0
- package/dist/src/components/Avatar/LetterAvatar/styles/LetterAvatarView.d.ts +69 -0
- package/dist/src/components/Avatar/LetterAvatar/styles/LetterAvatarView.d.ts.map +1 -0
- package/dist/src/components/Avatar/LetterAvatar/types/index.d.ts +17 -0
- package/dist/src/components/Avatar/LetterAvatar/types/index.d.ts.map +1 -0
- package/dist/src/components/Avatar/UserAvatar/UserAvatar.d.ts +5 -0
- package/dist/src/components/Avatar/UserAvatar/UserAvatar.d.ts.map +1 -0
- package/dist/src/components/Avatar/UserAvatar/UserAvatarView.d.ts +17 -0
- package/dist/src/components/Avatar/UserAvatar/UserAvatarView.d.ts.map +1 -0
- package/dist/src/components/Avatar/UserAvatar/index.d.ts +3 -0
- package/dist/src/components/Avatar/UserAvatar/index.d.ts.map +1 -0
- package/dist/src/components/Avatar/UserAvatar/styles/UserAvatarView.d.ts +106 -0
- package/dist/src/components/Avatar/UserAvatar/styles/UserAvatarView.d.ts.map +1 -0
- package/dist/src/components/Avatar/UserAvatar/types/index.d.ts +24 -0
- package/dist/src/components/Avatar/UserAvatar/types/index.d.ts.map +1 -0
- package/dist/src/components/Button/Button.d.ts +5 -0
- package/dist/src/components/Button/Button.d.ts.map +1 -0
- package/dist/src/components/Button/ButtonView.d.ts +5 -0
- package/dist/src/components/Button/ButtonView.d.ts.map +1 -0
- package/dist/src/components/Button/index.d.ts +3 -0
- package/dist/src/components/Button/index.d.ts.map +1 -0
- package/dist/src/components/Button/styles/ButtonView.d.ts +385 -0
- package/dist/src/components/Button/styles/ButtonView.d.ts.map +1 -0
- package/dist/src/components/Button/types/index.d.ts +26 -0
- package/dist/src/components/Button/types/index.d.ts.map +1 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts +5 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/src/components/Checkbox/CheckboxView.d.ts +5 -0
- package/dist/src/components/Checkbox/CheckboxView.d.ts.map +1 -0
- package/dist/src/components/Checkbox/index.d.ts +3 -0
- package/dist/src/components/Checkbox/index.d.ts.map +1 -0
- package/dist/src/components/Checkbox/styles/CheckboxView.d.ts +80 -0
- package/dist/src/components/Checkbox/styles/CheckboxView.d.ts.map +1 -0
- package/dist/src/components/Checkbox/types/index.d.ts +8 -0
- package/dist/src/components/Checkbox/types/index.d.ts.map +1 -0
- package/dist/src/components/Embed/EmbedQuestionnaire.d.ts +47 -0
- package/dist/src/components/Embed/EmbedQuestionnaire.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireButton/QuestionnaireButton.d.ts +40 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireButton/QuestionnaireButton.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireButton/styles/index.d.ts +71 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireButton/styles/index.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireCheckbox/QuestionnaireCheckbox.d.ts +29 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireCheckbox/QuestionnaireCheckbox.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireCheckbox/styles/index.d.ts +7 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireCheckbox/styles/index.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireInput/QuestionnaireInput.d.ts +40 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireInput/QuestionnaireInput.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireInput/styles/index.d.ts +2 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireInput/styles/index.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireLink/QuestionnaireLink.d.ts +13 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireLink/QuestionnaireLink.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireLink/styles/index.d.ts +2 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireLink/styles/index.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireNavigation/QuestionnaireNavigation.d.ts +8 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireNavigation/QuestionnaireNavigation.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireNavigation/styles/index.d.ts +16 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireNavigation/styles/index.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireQueueButton/QuestionnaireQueueButton.d.ts +28 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireQueueButton/QuestionnaireQueueButton.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireQueueButton/styles/index.d.ts +59 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireQueueButton/styles/index.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireRadio/QuestionnaireRadio.d.ts +53 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireRadio/QuestionnaireRadio.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireRadio/styles/index.d.ts +123 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireRadio/styles/index.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireRating/QuestionnaireRating.d.ts +57 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireRating/QuestionnaireRating.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireRating/styles/index.d.ts +74 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireRating/styles/index.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireSelect/QuestionnaireSelect.d.ts +42 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireSelect/QuestionnaireSelect.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireSelect/styles/index.d.ts +12 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireSelect/styles/index.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireSwitch/QuestionnaireSwitch.d.ts +25 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireSwitch/QuestionnaireSwitch.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireSwitch/styles/index.d.ts +7 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireSwitch/styles/index.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireTextarea/QuestionnaireTextarea.d.ts +44 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireTextarea/QuestionnaireTextarea.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireTextarea/styles/index.d.ts +2 -0
- package/dist/src/components/Embed/Questionnaire/QuestionnaireTextarea/styles/index.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/helpers/index.d.ts +3 -0
- package/dist/src/components/Embed/Questionnaire/helpers/index.d.ts.map +1 -0
- package/dist/src/components/Embed/Questionnaire/helpers/logic.d.ts +4 -0
- package/dist/src/components/Embed/Questionnaire/helpers/logic.d.ts.map +1 -0
- package/dist/src/components/Embed/components/EmbedHero/EmbedHero.d.ts +24 -0
- package/dist/src/components/Embed/components/EmbedHero/EmbedHero.d.ts.map +1 -0
- package/dist/src/components/Embed/components/EmbedHero/styles/index.d.ts +161 -0
- package/dist/src/components/Embed/components/EmbedHero/styles/index.d.ts.map +1 -0
- package/dist/src/components/Embed/helpers/markdown.d.ts +9 -0
- package/dist/src/components/Embed/helpers/markdown.d.ts.map +1 -0
- package/dist/src/components/Embed/styles/questionnaire.d.ts +193 -0
- package/dist/src/components/Embed/styles/questionnaire.d.ts.map +1 -0
- package/dist/src/components/Embed/types/index.d.ts +13 -0
- package/dist/src/components/Embed/types/index.d.ts.map +1 -0
- package/dist/src/components/EmbedContext.d.ts +3036 -0
- package/dist/src/components/EmbedContext.d.ts.map +1 -0
- package/dist/src/components/Form/Select/Select.d.ts +4 -0
- package/dist/src/components/Form/Select/Select.d.ts.map +1 -0
- package/dist/src/components/Form/Select/SelectView.d.ts +10 -0
- package/dist/src/components/Form/Select/SelectView.d.ts.map +1 -0
- package/dist/src/components/Form/Select/index.d.ts +3 -0
- package/dist/src/components/Form/Select/index.d.ts.map +1 -0
- package/dist/src/components/Form/Select/styles/index.d.ts +11 -0
- package/dist/src/components/Form/Select/styles/index.d.ts.map +1 -0
- package/dist/src/components/Form/styles/FormView.d.ts +338 -0
- package/dist/src/components/Form/styles/FormView.d.ts.map +1 -0
- package/dist/src/components/HtaConnector/types/index.d.ts +12 -7
- package/dist/src/components/HtaConnector/types/index.d.ts.map +1 -1
- package/dist/src/components/Icon/Icon.d.ts +505 -0
- package/dist/src/components/Icon/Icon.d.ts.map +1 -0
- package/dist/src/components/Icon/index.d.ts +2 -0
- package/dist/src/components/Icon/index.d.ts.map +1 -0
- package/dist/src/components/Icon/types/index.d.ts +9 -0
- package/dist/src/components/Icon/types/index.d.ts.map +1 -0
- package/dist/src/components/Queue/types/index.d.ts +40 -0
- package/dist/src/components/Queue/types/index.d.ts.map +1 -0
- package/dist/src/components/Send/types/index.d.ts +6 -2
- package/dist/src/components/Send/types/index.d.ts.map +1 -1
- package/dist/src/components/SendCannedMessages/types/index.d.ts +2 -1
- package/dist/src/components/SendCannedMessages/types/index.d.ts.map +1 -1
- package/dist/src/components/Switch/Switch.d.ts +5 -0
- package/dist/src/components/Switch/Switch.d.ts.map +1 -0
- package/dist/src/components/Switch/SwitchView.d.ts +5 -0
- package/dist/src/components/Switch/SwitchView.d.ts.map +1 -0
- package/dist/src/components/Switch/styles/SwitchView.d.ts +163 -0
- package/dist/src/components/Switch/styles/SwitchView.d.ts.map +1 -0
- package/dist/src/components/Switch/types/index.d.ts +10 -0
- package/dist/src/components/Switch/types/index.d.ts.map +1 -0
- package/dist/src/components/Table/cellComponents/index.d.ts +18 -0
- package/dist/src/components/Table/cellComponents/index.d.ts.map +1 -0
- package/dist/src/components/Table/styles/CellComponents.d.ts +31 -0
- package/dist/src/components/Table/styles/CellComponents.d.ts.map +1 -0
- package/dist/src/components/Toast/ToastView.d.ts +4 -0
- package/dist/src/components/Toast/ToastView.d.ts.map +1 -0
- package/dist/src/components/Toast/index.d.ts +3 -0
- package/dist/src/components/Toast/index.d.ts.map +1 -0
- package/dist/src/components/User/User.d.ts +20 -0
- package/dist/src/components/User/User.d.ts.map +1 -0
- package/dist/src/components/User/UserView.d.ts +14 -0
- package/dist/src/components/User/UserView.d.ts.map +1 -0
- package/dist/src/components/User/index.d.ts +3 -0
- package/dist/src/components/User/index.d.ts.map +1 -0
- package/dist/src/components/User/styles/index.d.ts +23 -0
- package/dist/src/components/User/styles/index.d.ts.map +1 -0
- package/dist/src/components/User/types/types.d.ts +10 -0
- package/dist/src/components/User/types/types.d.ts.map +1 -0
- package/dist/src/embed/components/embedWrapper.d.ts +16 -0
- package/dist/src/embed/components/embedWrapper.d.ts.map +1 -0
- package/dist/src/embed/components/icons.d.ts +11 -0
- package/dist/src/embed/components/icons.d.ts.map +1 -0
- package/dist/src/embed/helpers/index.d.ts +2 -0
- package/dist/src/embed/helpers/index.d.ts.map +1 -0
- package/dist/src/embed/index.d.ts +20 -6
- package/dist/src/embed/index.d.ts.map +1 -1
- package/dist/src/embed/listeners/audience.d.ts +8 -0
- package/dist/src/embed/listeners/audience.d.ts.map +1 -0
- package/dist/src/embed/listeners/channel.d.ts +16 -0
- package/dist/src/embed/listeners/channel.d.ts.map +1 -0
- package/dist/src/embed/listeners/index.d.ts +9 -0
- package/dist/src/embed/listeners/index.d.ts.map +1 -0
- package/dist/src/embed/listeners/navigation.d.ts +4 -0
- package/dist/src/embed/listeners/navigation.d.ts.map +1 -0
- package/dist/src/embed/schemas/index.d.ts +23267 -515
- package/dist/src/embed/schemas/index.d.ts.map +1 -1
- package/dist/src/embed/styles/global.d.ts +3 -0
- package/dist/src/embed/styles/global.d.ts.map +1 -0
- package/dist/src/embed/styles/index.d.ts +44 -0
- package/dist/src/embed/styles/index.d.ts.map +1 -0
- package/dist/src/embed/styles/themeManager.d.ts +13 -0
- package/dist/src/embed/styles/themeManager.d.ts.map +1 -0
- package/dist/src/embed/types/events.d.ts +61 -5
- package/dist/src/embed/types/events.d.ts.map +1 -1
- package/dist/src/embed/types/index.d.ts +15 -2
- package/dist/src/embed/types/index.d.ts.map +1 -1
- package/dist/src/embed/types/responsive.d.ts +8 -0
- package/dist/src/embed/types/responsive.d.ts.map +1 -0
- package/dist/src/embed/types/routes.d.ts +22 -5
- package/dist/src/embed/types/routes.d.ts.map +1 -1
- package/dist/src/embed/types/state.d.ts +19 -0
- package/dist/src/embed/types/state.d.ts.map +1 -0
- package/dist/src/embed/utils/config/index.d.ts +3013 -0
- package/dist/src/embed/utils/config/index.d.ts.map +1 -0
- package/dist/src/embed/utils/event/index.d.ts +4 -0
- package/dist/src/embed/utils/event/index.d.ts.map +1 -0
- package/dist/src/embed/utils/index.d.ts +4 -0
- package/dist/src/embed/utils/index.d.ts.map +1 -0
- package/dist/src/embed/utils/metadata.d.ts +4 -0
- package/dist/src/embed/utils/metadata.d.ts.map +1 -0
- package/dist/src/hooks/index.d.ts +8 -0
- package/dist/src/hooks/index.d.ts.map +1 -0
- package/dist/src/hooks/ninchat/index.d.ts +39 -0
- package/dist/src/hooks/ninchat/index.d.ts.map +1 -0
- package/dist/src/hooks/ninchat/useRealm.d.ts +4 -0
- package/dist/src/hooks/ninchat/useRealm.d.ts.map +1 -0
- package/dist/src/hooks/ninchat/useRealms.d.ts +4 -0
- package/dist/src/hooks/ninchat/useRealms.d.ts.map +1 -0
- package/dist/src/hooks/state/index.d.ts +8 -0
- package/dist/src/hooks/state/index.d.ts.map +1 -0
- package/dist/src/hooks/visibilityObserver.d.ts +10 -0
- package/dist/src/hooks/visibilityObserver.d.ts.map +1 -0
- package/dist/src/middlewares/listener.d.ts +4 -4
- package/dist/src/middlewares/listener.d.ts.map +1 -1
- package/dist/src/middlewares/modal.d.ts +3 -0
- package/dist/src/middlewares/modal.d.ts.map +1 -0
- package/dist/src/middlewares/ninchat/batch.d.ts +1 -1
- package/dist/src/middlewares/ninchat/batch.d.ts.map +1 -1
- package/dist/src/middlewares/ninchat/sessionless.d.ts.map +1 -1
- package/dist/src/navigation/actions.d.ts +9 -8
- package/dist/src/navigation/actions.d.ts.map +1 -1
- package/dist/src/navigation/reducers.d.ts.map +1 -1
- package/dist/src/navigation/router.d.ts +1 -1
- package/dist/src/navigation/slice.d.ts +3 -1
- package/dist/src/navigation/slice.d.ts.map +1 -1
- package/dist/src/navigation/types.d.ts +28 -3
- package/dist/src/navigation/types.d.ts.map +1 -1
- package/dist/src/reducers/jitsi/index.d.ts +1 -1
- package/dist/src/reducers/jitsi/index.d.ts.map +1 -1
- package/dist/src/reducers/modal/index.d.ts +1 -1
- package/dist/src/reducers/modal/index.d.ts.map +1 -1
- package/dist/src/state/ui.d.ts +13 -1
- package/dist/src/state/ui.d.ts.map +1 -1
- package/dist/src/stitches/ThemeProvider/ThemeProvider.d.ts +21 -0
- package/dist/src/stitches/ThemeProvider/ThemeProvider.d.ts.map +1 -0
- package/dist/src/stitches/animations/index.d.ts +5 -0
- package/dist/src/stitches/animations/index.d.ts.map +1 -0
- package/dist/src/stitches/config.d.ts +9061 -0
- package/dist/src/stitches/config.d.ts.map +1 -0
- package/dist/src/stitches/config.defaults.d.ts +1488 -0
- package/dist/src/stitches/config.defaults.d.ts.map +1 -0
- package/dist/src/stitches/config.embed.d.ts +8 -0
- package/dist/src/stitches/config.embed.d.ts.map +1 -0
- package/dist/src/store/index.d.ts +1 -1
- package/dist/src/store/index.d.ts.map +1 -1
- package/dist/src/store/storage/engine.d.ts +1 -1
- package/dist/src/store/storage/index.d.ts +2 -0
- package/dist/src/store/storage/index.d.ts.map +1 -1
- package/dist/src/types/index.d.ts +5 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/utils/channels/index.d.ts +13 -1
- package/dist/src/utils/channels/index.d.ts.map +1 -1
- package/dist/src/utils/datetime/index.d.ts +23 -0
- package/dist/src/utils/datetime/index.d.ts.map +1 -0
- package/dist/src/utils/email/index.d.ts +5 -0
- package/dist/src/utils/email/index.d.ts.map +1 -0
- package/dist/src/utils/props/index.d.ts +9 -0
- package/dist/src/utils/props/index.d.ts.map +1 -0
- package/dist/src/utils/realm/realm.d.ts +3 -0
- package/dist/src/utils/realm/realm.d.ts.map +1 -0
- package/dist/src/utils/schema/schema.d.ts +3 -0
- package/dist/src/utils/schema/schema.d.ts.map +1 -0
- package/dist/src/utils/strings/index.d.ts +7 -0
- package/dist/src/utils/strings/index.d.ts.map +1 -0
- package/package.json +22 -6
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
export declare const button: {
|
|
2
|
+
fontSize: string;
|
|
3
|
+
fontWeight: string;
|
|
4
|
+
borderStyle: string;
|
|
5
|
+
fontFamily: string;
|
|
6
|
+
lineHeight: string;
|
|
7
|
+
fontStyle: string;
|
|
8
|
+
fontVariant: string;
|
|
9
|
+
'& svg': {
|
|
10
|
+
color: string;
|
|
11
|
+
flex: string;
|
|
12
|
+
height: string;
|
|
13
|
+
width: string;
|
|
14
|
+
};
|
|
15
|
+
'&:disabled': {
|
|
16
|
+
'& svg': {
|
|
17
|
+
color: string;
|
|
18
|
+
};
|
|
19
|
+
cursor: string;
|
|
20
|
+
backgroundColor: string;
|
|
21
|
+
borderColor: string;
|
|
22
|
+
};
|
|
23
|
+
'&:not(:disabled)': {
|
|
24
|
+
'&:active, &:hover:active': {
|
|
25
|
+
'& svg': {
|
|
26
|
+
color: string;
|
|
27
|
+
};
|
|
28
|
+
'[data-id="button-text"]': {
|
|
29
|
+
color: string;
|
|
30
|
+
};
|
|
31
|
+
backgroundColor: string;
|
|
32
|
+
borderColor: string;
|
|
33
|
+
};
|
|
34
|
+
'&:focus-visible': {
|
|
35
|
+
'& svg': {
|
|
36
|
+
color: string;
|
|
37
|
+
};
|
|
38
|
+
'[data-id="button-text"]': {
|
|
39
|
+
color: string;
|
|
40
|
+
};
|
|
41
|
+
backgroundColor: string;
|
|
42
|
+
borderColor: string;
|
|
43
|
+
outlineColor: string;
|
|
44
|
+
outlineOffset: string;
|
|
45
|
+
outlineStyle: string;
|
|
46
|
+
outlineWidth: string;
|
|
47
|
+
};
|
|
48
|
+
'&:hover': {
|
|
49
|
+
'& svg': {
|
|
50
|
+
color: string;
|
|
51
|
+
};
|
|
52
|
+
'[data-id="button-text"]': {
|
|
53
|
+
color: string;
|
|
54
|
+
};
|
|
55
|
+
backgroundColor: string;
|
|
56
|
+
borderColor: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
display: string;
|
|
60
|
+
overflow: string;
|
|
61
|
+
variants: {
|
|
62
|
+
color: {
|
|
63
|
+
filled: {
|
|
64
|
+
borderRadius: string;
|
|
65
|
+
borderWidth: string;
|
|
66
|
+
borderStyle: string;
|
|
67
|
+
fontSize: string;
|
|
68
|
+
fontStyle: string;
|
|
69
|
+
fontVariant: string;
|
|
70
|
+
fontWeight: string;
|
|
71
|
+
fontFamily: string;
|
|
72
|
+
lineHeight: string;
|
|
73
|
+
'& svg': {
|
|
74
|
+
color: string;
|
|
75
|
+
};
|
|
76
|
+
'&:disabled': {
|
|
77
|
+
'& svg': {
|
|
78
|
+
color: string;
|
|
79
|
+
};
|
|
80
|
+
backgroundColor: string;
|
|
81
|
+
borderColor: string;
|
|
82
|
+
};
|
|
83
|
+
'&:not(:disabled)': {
|
|
84
|
+
'&:active, &:hover:active': {
|
|
85
|
+
'& svg': {
|
|
86
|
+
color: string;
|
|
87
|
+
};
|
|
88
|
+
'[data-id="button-text"]': {
|
|
89
|
+
color: string;
|
|
90
|
+
};
|
|
91
|
+
backgroundColor: string;
|
|
92
|
+
borderColor: string;
|
|
93
|
+
};
|
|
94
|
+
'&:focus-visible': {
|
|
95
|
+
'& svg': {
|
|
96
|
+
color: string;
|
|
97
|
+
};
|
|
98
|
+
'[data-id="button-text"]': {
|
|
99
|
+
color: string;
|
|
100
|
+
};
|
|
101
|
+
backgroundColor: string;
|
|
102
|
+
borderColor: string;
|
|
103
|
+
outlineColor: string;
|
|
104
|
+
};
|
|
105
|
+
'&:hover': {
|
|
106
|
+
'& svg': {
|
|
107
|
+
color: string;
|
|
108
|
+
};
|
|
109
|
+
'[data-id="button-text"]': {
|
|
110
|
+
color: string;
|
|
111
|
+
};
|
|
112
|
+
backgroundColor: string;
|
|
113
|
+
borderColor: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
backgroundColor: string;
|
|
117
|
+
borderColor: string;
|
|
118
|
+
};
|
|
119
|
+
text: {
|
|
120
|
+
borderRadius: string;
|
|
121
|
+
borderWidth: string;
|
|
122
|
+
borderStyle: string;
|
|
123
|
+
fontSize: string;
|
|
124
|
+
fontWeight: string;
|
|
125
|
+
fontFamily: string;
|
|
126
|
+
lineHeight: string;
|
|
127
|
+
fontStyle: string;
|
|
128
|
+
fontVariant: string;
|
|
129
|
+
'& svg': {
|
|
130
|
+
color: string;
|
|
131
|
+
};
|
|
132
|
+
'&:disabled': {
|
|
133
|
+
'& svg': {
|
|
134
|
+
color: string;
|
|
135
|
+
};
|
|
136
|
+
backgroundColor: string;
|
|
137
|
+
borderColor: string;
|
|
138
|
+
};
|
|
139
|
+
'&:not(:disabled)': {
|
|
140
|
+
'&:active, &:hover:active': {
|
|
141
|
+
'& svg': {
|
|
142
|
+
color: string;
|
|
143
|
+
};
|
|
144
|
+
'[data-id="button-text"]': {
|
|
145
|
+
color: string;
|
|
146
|
+
};
|
|
147
|
+
backgroundColor: string;
|
|
148
|
+
borderColor: string;
|
|
149
|
+
};
|
|
150
|
+
'&:focus-visible': {
|
|
151
|
+
'& svg': {
|
|
152
|
+
color: string;
|
|
153
|
+
};
|
|
154
|
+
'[data-id="button-text"]': {
|
|
155
|
+
color: string;
|
|
156
|
+
};
|
|
157
|
+
backgroundColor: string;
|
|
158
|
+
borderColor: string;
|
|
159
|
+
outlineColor: string;
|
|
160
|
+
};
|
|
161
|
+
'&:hover': {
|
|
162
|
+
'& svg': {
|
|
163
|
+
color: string;
|
|
164
|
+
};
|
|
165
|
+
'[data-id="button-text"]': {
|
|
166
|
+
color: string;
|
|
167
|
+
};
|
|
168
|
+
backgroundColor: string;
|
|
169
|
+
borderColor: string;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
backgroundColor: string;
|
|
173
|
+
borderColor: string;
|
|
174
|
+
};
|
|
175
|
+
highlight: {
|
|
176
|
+
'& svg': {
|
|
177
|
+
color: string;
|
|
178
|
+
};
|
|
179
|
+
'&:not(:disabled)': {
|
|
180
|
+
'&:focus-visible': {
|
|
181
|
+
backgroundColor: string;
|
|
182
|
+
};
|
|
183
|
+
'&:hover': {
|
|
184
|
+
backgroundColor: string;
|
|
185
|
+
borderColor: string;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
backgroundColor: string;
|
|
189
|
+
borderColor: string;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
overflowVisible: {
|
|
193
|
+
true: {
|
|
194
|
+
overflow: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
size: {
|
|
198
|
+
small: {
|
|
199
|
+
'& svg': {
|
|
200
|
+
height: string;
|
|
201
|
+
width: string;
|
|
202
|
+
};
|
|
203
|
+
paddingBottom: string;
|
|
204
|
+
paddingLeft: string;
|
|
205
|
+
paddingRight: string;
|
|
206
|
+
paddingTop: string;
|
|
207
|
+
};
|
|
208
|
+
large: {
|
|
209
|
+
paddingBottom: string;
|
|
210
|
+
paddingLeft: string;
|
|
211
|
+
paddingRight: string;
|
|
212
|
+
paddingTop: string;
|
|
213
|
+
};
|
|
214
|
+
unstyled: {
|
|
215
|
+
flexGrow: number;
|
|
216
|
+
justifyContent: "flex-start";
|
|
217
|
+
padding: string;
|
|
218
|
+
textAlign: "left";
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
spacing: {
|
|
222
|
+
left: {
|
|
223
|
+
marginLeft: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
alignItems: "center";
|
|
228
|
+
backgroundColor: string;
|
|
229
|
+
borderColor: string;
|
|
230
|
+
borderRadius: string;
|
|
231
|
+
borderWidth: string;
|
|
232
|
+
boxSizing: string;
|
|
233
|
+
flexDirection: "row";
|
|
234
|
+
justifyContent: "center";
|
|
235
|
+
padding: string;
|
|
236
|
+
};
|
|
237
|
+
export declare const buttonText: {
|
|
238
|
+
'&:not(:first-child)': {
|
|
239
|
+
marginLeft: string;
|
|
240
|
+
};
|
|
241
|
+
'&:not(:last-child)': {
|
|
242
|
+
marginRight: string;
|
|
243
|
+
};
|
|
244
|
+
color: string;
|
|
245
|
+
overflow: string;
|
|
246
|
+
textOverflow: string;
|
|
247
|
+
variants: {
|
|
248
|
+
color: {
|
|
249
|
+
filled: {
|
|
250
|
+
color: string;
|
|
251
|
+
};
|
|
252
|
+
highlight: {};
|
|
253
|
+
text: {
|
|
254
|
+
color: string;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
disabled: {
|
|
258
|
+
true: {
|
|
259
|
+
color: string;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
overflowVisible: {
|
|
263
|
+
true: {
|
|
264
|
+
overflow: string;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
multiline: {
|
|
268
|
+
true: {
|
|
269
|
+
whiteSpace: string;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
compoundVariants: {
|
|
274
|
+
color: string;
|
|
275
|
+
css: {
|
|
276
|
+
color: string;
|
|
277
|
+
};
|
|
278
|
+
disabled: boolean;
|
|
279
|
+
}[];
|
|
280
|
+
whiteSpace: string;
|
|
281
|
+
};
|
|
282
|
+
export declare const nativeButtonContainer: {
|
|
283
|
+
alignSelf: "flex-start";
|
|
284
|
+
variants: {
|
|
285
|
+
spacing: {
|
|
286
|
+
left: {
|
|
287
|
+
marginLeft: number;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
export declare const nativeButton: {
|
|
293
|
+
variants: {
|
|
294
|
+
margin: {
|
|
295
|
+
left: {
|
|
296
|
+
marginLeft: number;
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
state: {
|
|
300
|
+
active: {
|
|
301
|
+
backgroundColor: string;
|
|
302
|
+
borderColor: string;
|
|
303
|
+
};
|
|
304
|
+
filledActive: {
|
|
305
|
+
backgroundColor: string;
|
|
306
|
+
borderColor: string;
|
|
307
|
+
};
|
|
308
|
+
filledDisabled: {
|
|
309
|
+
backgroundColor: string;
|
|
310
|
+
borderColor: string;
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
color: {
|
|
314
|
+
filled: {
|
|
315
|
+
backgroundColor: string;
|
|
316
|
+
borderColor: string;
|
|
317
|
+
};
|
|
318
|
+
text: {
|
|
319
|
+
backgroundColor: string;
|
|
320
|
+
borderColor: string;
|
|
321
|
+
};
|
|
322
|
+
highlight: {
|
|
323
|
+
backgroundColor: string;
|
|
324
|
+
borderColor: string;
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
size: {
|
|
328
|
+
large: {
|
|
329
|
+
paddingBottom: string;
|
|
330
|
+
paddingLeft: string;
|
|
331
|
+
paddingRight: string;
|
|
332
|
+
paddingTop: string;
|
|
333
|
+
};
|
|
334
|
+
small: {
|
|
335
|
+
paddingBottom: string;
|
|
336
|
+
paddingLeft: string;
|
|
337
|
+
paddingRight: string;
|
|
338
|
+
paddingTop: string;
|
|
339
|
+
};
|
|
340
|
+
unstyled: {
|
|
341
|
+
flexGrow: number;
|
|
342
|
+
justifyContent: "flex-start";
|
|
343
|
+
padding: string;
|
|
344
|
+
textAlign: "left";
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
alignItems: "center";
|
|
349
|
+
backgroundColor: string;
|
|
350
|
+
borderColor: string;
|
|
351
|
+
borderRadius: string;
|
|
352
|
+
borderWidth: string;
|
|
353
|
+
boxSizing: string;
|
|
354
|
+
flexDirection: "row";
|
|
355
|
+
justifyContent: "center";
|
|
356
|
+
padding: string;
|
|
357
|
+
};
|
|
358
|
+
export declare const nativeButtonText: {
|
|
359
|
+
color: string;
|
|
360
|
+
fontSize: string;
|
|
361
|
+
fontWeight: "$buttonText";
|
|
362
|
+
variants: {
|
|
363
|
+
color: {
|
|
364
|
+
disabled: {
|
|
365
|
+
color: string;
|
|
366
|
+
};
|
|
367
|
+
filled: {
|
|
368
|
+
color: string;
|
|
369
|
+
};
|
|
370
|
+
highlight: {};
|
|
371
|
+
text: {};
|
|
372
|
+
};
|
|
373
|
+
withLeftIcon: {
|
|
374
|
+
true: {
|
|
375
|
+
marginLeft: string;
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
withRightIcon: {
|
|
379
|
+
true: {
|
|
380
|
+
marginRight: string;
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
//# sourceMappingURL=ButtonView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonView.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Button/styles/ButtonView.ts"],"names":[],"mappings":"AAkDA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2JlB,CAAA;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BtB,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;CAGjC,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAA;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;CAc5B,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Icon, NativeIcon } from '../../Icon/types';
|
|
3
|
+
import { LetterAvatar, LetterAvatarProps } from '../../Avatar/LetterAvatar/types';
|
|
4
|
+
import { UserAvatar, UserAvatarProps } from '../../Avatar/UserAvatar/types';
|
|
5
|
+
export type ButtonProps = {
|
|
6
|
+
avatar?: LetterAvatar | UserAvatar;
|
|
7
|
+
avatarProps?: LetterAvatarProps | UserAvatarProps;
|
|
8
|
+
color?: 'filled' | 'highlight' | 'text';
|
|
9
|
+
children?: React.ReactElement | React.ReactElement[] | JSX.Element | string | null;
|
|
10
|
+
css?: any;
|
|
11
|
+
dataTestid?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
focus?: boolean;
|
|
14
|
+
iconLeft?: Icon | NativeIcon;
|
|
15
|
+
iconRight?: Icon | NativeIcon;
|
|
16
|
+
margin?: 'left';
|
|
17
|
+
multiline?: boolean;
|
|
18
|
+
onPress?: (ev?: React.MouseEvent<HTMLButtonElement>) => void;
|
|
19
|
+
overflowVisible?: boolean;
|
|
20
|
+
size?: 'large' | 'small' | 'unstyled';
|
|
21
|
+
tabIndex?: number;
|
|
22
|
+
text?: string;
|
|
23
|
+
title?: string;
|
|
24
|
+
type?: 'button' | 'submit';
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Button/types/index.ts"],"names":[],"mappings":";AAAA,OAAO,EACH,IAAI,EACJ,UAAU,EACb,MAAM,kBAAkB,CAAA;AACzB,OAAO,EACH,YAAY,EACZ,iBAAiB,EACpB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EACH,UAAU,EACV,eAAe,EAClB,MAAM,+BAA+B,CAAA;AAEtC,MAAM,MAAM,WAAW,GAAG;IACtB,MAAM,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IAClC,WAAW,CAAC,EAAE,iBAAiB,GAAG,eAAe,CAAA;IACjD,KAAK,CAAC,EAAE,QAAQ,GAAG,WAAW,GAAG,MAAM,CAAA;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,EAAE,GAAG,GAAG,CAAC,OAAO,GAAG,MAAM,GAAG,IAAI,CAAC;IACnF,GAAG,CAAC,EAAE,GAAG,CAAA;IACT,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,IAAI,GAAG,UAAU,CAAA;IAC5B,SAAS,CAAC,EAAE,IAAI,GAAG,UAAU,CAAA;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IAC5D,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,UAAU,CAAA;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAA;CAC7B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,SAAS,CAAA;AAErC,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,QAAA,MAAM,QAAQ,wFAAiI,CAAA;AAI/I,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckboxView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Checkbox/CheckboxView.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAC,aAAa,EAAC,MAAM,SAAS,CAAA;AAErC,OAAO,KAAK,MAAM,OAAO,CAAA;AAezB,QAAA,MAAM,YAAY,wFAsChB,CAAA;AAMF,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAA;AACjC,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export declare const checkbox: {
|
|
2
|
+
'& input[type="checkbox"]': {
|
|
3
|
+
'& + svg': {
|
|
4
|
+
alignItems: string;
|
|
5
|
+
display: string;
|
|
6
|
+
justifyContent: string;
|
|
7
|
+
left: string;
|
|
8
|
+
marginTop: string;
|
|
9
|
+
pointerEvents: string;
|
|
10
|
+
position: string;
|
|
11
|
+
right: number;
|
|
12
|
+
top: string;
|
|
13
|
+
transform: string;
|
|
14
|
+
};
|
|
15
|
+
'&:checked': {
|
|
16
|
+
'& + svg': {
|
|
17
|
+
color: string;
|
|
18
|
+
display: string;
|
|
19
|
+
};
|
|
20
|
+
backgroundColor: string;
|
|
21
|
+
backgroundSize: string;
|
|
22
|
+
borderColor: string;
|
|
23
|
+
};
|
|
24
|
+
'&:disabled': {
|
|
25
|
+
'&:checked': {
|
|
26
|
+
'& + svg': {
|
|
27
|
+
color: string;
|
|
28
|
+
};
|
|
29
|
+
backgroundColor: string;
|
|
30
|
+
borderColor: string;
|
|
31
|
+
};
|
|
32
|
+
backgroundColor: string;
|
|
33
|
+
borderColor: string;
|
|
34
|
+
cursor: string;
|
|
35
|
+
opacity: number;
|
|
36
|
+
};
|
|
37
|
+
'&:focus-visible:not(:disabled)': {
|
|
38
|
+
'&:checked': {
|
|
39
|
+
'& + svg': {
|
|
40
|
+
color: string;
|
|
41
|
+
};
|
|
42
|
+
backgroundColor: string;
|
|
43
|
+
borderColor: string;
|
|
44
|
+
};
|
|
45
|
+
backgroundColor: string;
|
|
46
|
+
borderColor: string;
|
|
47
|
+
outline: string;
|
|
48
|
+
};
|
|
49
|
+
'&:hover:not(:disabled)': {
|
|
50
|
+
'&:checked': {
|
|
51
|
+
'& + svg': {
|
|
52
|
+
color: string;
|
|
53
|
+
};
|
|
54
|
+
backgroundColor: string;
|
|
55
|
+
borderColor: string;
|
|
56
|
+
};
|
|
57
|
+
backgroundColor: string;
|
|
58
|
+
borderColor: string;
|
|
59
|
+
};
|
|
60
|
+
WebkitAppearance: string;
|
|
61
|
+
appearance: string;
|
|
62
|
+
backgroundColor: string;
|
|
63
|
+
borderColor: string;
|
|
64
|
+
borderRadius: string;
|
|
65
|
+
borderStyle: string;
|
|
66
|
+
borderWidth: string;
|
|
67
|
+
cursor: string;
|
|
68
|
+
height: string;
|
|
69
|
+
margin: string;
|
|
70
|
+
outline: string;
|
|
71
|
+
width: string;
|
|
72
|
+
};
|
|
73
|
+
display: string;
|
|
74
|
+
marginBottom: string;
|
|
75
|
+
marginTop: string;
|
|
76
|
+
};
|
|
77
|
+
export declare const inputWrapper: {
|
|
78
|
+
position: string;
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=CheckboxView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckboxView.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Checkbox/styles/CheckboxView.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsEpB,CAAA;AAED,eAAO,MAAM,YAAY;;CAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Checkbox/types/index.ts"],"names":[],"mappings":";AAAA,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC;IAC1E,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { EmbedQueueRoute } from 'embed/types/routes';
|
|
3
|
+
export declare const coreName = "questionnaire";
|
|
4
|
+
export type FormState = Record<string, {
|
|
5
|
+
value: string | boolean | number;
|
|
6
|
+
readableName?: string;
|
|
7
|
+
groupName?: string;
|
|
8
|
+
type?: 'input' | 'textarea' | 'select' | 'checkbox' | 'radio' | 'switch' | 'rating';
|
|
9
|
+
}>;
|
|
10
|
+
export interface QuestionnaireParams {
|
|
11
|
+
queueId: string;
|
|
12
|
+
userName?: string;
|
|
13
|
+
message?: string;
|
|
14
|
+
metadata: EmbedQueueRoute['params']['metadata'];
|
|
15
|
+
rating?: number;
|
|
16
|
+
}
|
|
17
|
+
export interface QuestionnaireState {
|
|
18
|
+
buttonInteraction?: boolean;
|
|
19
|
+
currentStep?: number;
|
|
20
|
+
selectedQueueId?: string;
|
|
21
|
+
selectedMessage?: string;
|
|
22
|
+
selectedUsername?: string;
|
|
23
|
+
stepsHistory?: Array<number>;
|
|
24
|
+
formState?: FormState;
|
|
25
|
+
prevFormState?: FormState;
|
|
26
|
+
}
|
|
27
|
+
export interface EmbedQuestionnaireProps {
|
|
28
|
+
onQuestionnaireComplete: (params: QuestionnaireParams) => Promise<{
|
|
29
|
+
queueClosed?: boolean;
|
|
30
|
+
}>;
|
|
31
|
+
onQuestionnaireRegister?: (params: QuestionnaireParams) => Promise<any>;
|
|
32
|
+
saveQuestionnaireState: (state: QuestionnaireState) => void;
|
|
33
|
+
defaultQuestionnaireState: QuestionnaireState;
|
|
34
|
+
closeEmbed: (clearData?: boolean) => void;
|
|
35
|
+
resetEmbed: () => void;
|
|
36
|
+
backToChat?: () => void;
|
|
37
|
+
type?: 'postAudienceQuestionnaire' | 'preAudienceQuestionnaire';
|
|
38
|
+
}
|
|
39
|
+
export declare const EmbedQuestionnaire: {
|
|
40
|
+
(props: EmbedQuestionnaireProps): React.JSX.Element;
|
|
41
|
+
defaultProps: {
|
|
42
|
+
backToChat: undefined;
|
|
43
|
+
onQuestionnaireRegister: () => PromiseConstructor;
|
|
44
|
+
type: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=EmbedQuestionnaire.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmbedQuestionnaire.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Embed/EmbedQuestionnaire.tsx"],"names":[],"mappings":"AAOA,OAAO,KAEN,MAAM,OAAO,CAAA;AAWd,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAA;AA6BlD,eAAO,MAAM,QAAQ,kBAAkB,CAAA;AAEvC,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE;IACnC,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IAChC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAA;CACtF,CAAC,CAAA;AAEF,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAA;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,kBAAkB;IAC/B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAC5B,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,aAAa,CAAC,EAAE,SAAS,CAAA;CAC5B;AAED,MAAM,WAAW,uBAAuB;IACpC,uBAAuB,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC;QAAC,WAAW,CAAC,EAAE,OAAO,CAAA;KAAC,CAAC,CAAA;IAC1F,uBAAuB,CAAC,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC,GAAG,CAAC,CAAA;IACvE,sBAAsB,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAA;IAC3D,yBAAyB,EAAE,kBAAkB,CAAA;IAC7C,UAAU,EAAE,CAAC,SAAS,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;IACzC,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,IAAI,CAAC,EAAE,2BAA2B,GAAG,0BAA0B,CAAA;CAClE;AAiBD,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;;;;;CA6hChE,CAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface QuestionnaireButtonProps {
|
|
3
|
+
align?: 'right' | 'center' | 'left';
|
|
4
|
+
variant?: 'primary' | 'secondary' | 'tertiary';
|
|
5
|
+
hide?: boolean;
|
|
6
|
+
text?: string;
|
|
7
|
+
textAlign?: 'left' | 'right' | 'center';
|
|
8
|
+
maxWidth?: string;
|
|
9
|
+
margin?: string;
|
|
10
|
+
padding?: string;
|
|
11
|
+
inline?: boolean;
|
|
12
|
+
iconLeft?: {
|
|
13
|
+
src?: string;
|
|
14
|
+
svg?: string;
|
|
15
|
+
};
|
|
16
|
+
iconRight?: {
|
|
17
|
+
src?: string;
|
|
18
|
+
svg?: string;
|
|
19
|
+
};
|
|
20
|
+
href?: string;
|
|
21
|
+
onClick: () => void;
|
|
22
|
+
}
|
|
23
|
+
export declare const QuestionnaireButton: {
|
|
24
|
+
(props: QuestionnaireButtonProps): React.JSX.Element;
|
|
25
|
+
defaultProps: {
|
|
26
|
+
align: string;
|
|
27
|
+
hide: boolean;
|
|
28
|
+
href: string;
|
|
29
|
+
iconLeft: {};
|
|
30
|
+
iconRight: {};
|
|
31
|
+
inline: boolean;
|
|
32
|
+
margin: string;
|
|
33
|
+
maxWidth: string;
|
|
34
|
+
padding: string;
|
|
35
|
+
text: string;
|
|
36
|
+
textAlign: string;
|
|
37
|
+
variant: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=QuestionnaireButton.d.ts.map
|
package/dist/src/components/Embed/Questionnaire/QuestionnaireButton/QuestionnaireButton.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionnaireButton.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Embed/Questionnaire/QuestionnaireButton/QuestionnaireButton.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,MAAM,WAAW,wBAAwB;IACrC,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;IACnC,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC/C,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAA;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE;QACP,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,GAAG,CAAC,EAAE,MAAM,CAAA;KACf,CAAA;IACD,SAAS,CAAC,EAAE;QACR,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,GAAG,CAAC,EAAE,MAAM,CAAA;KACf,CAAA;IACD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;CACtB;AAED,eAAO,MAAM,mBAAmB;YAAW,wBAAwB;;;;;;;;;;;;;;;CAoFlE,CAAA"}
|