quickblox-react-ui-kit 0.5.0-beta.1 → 0.5.0-beta.3
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/dist/Data/repository/UsersRepository.d.ts.map +1 -1
- package/dist/Presentation/Views/DialogList/useDialogListViewModel.d.ts.map +1 -1
- package/dist/Presentation/Views/Flow/CreateDialog/CreateDialog.d.ts.map +1 -1
- package/dist/Presentation/Views/InviteMembers/InviteMembers.d.ts.map +1 -1
- package/dist/Presentation/Views/PreviewDialog/PreviewDialog.d.ts.map +1 -1
- package/dist/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.d.ts.map +1 -1
- package/dist/Presentation/ui-components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/Presentation/ui-components/CheckBox/CheckBox.d.ts.map +1 -1
- package/dist/hooks/useQuickBloxUIKit.d.ts +2 -4
- package/dist/hooks/useQuickBloxUIKit.d.ts.map +1 -1
- package/dist/index-ui.js +986 -210
- package/media-recorder-js.d.ts +133 -0
- package/package.json +2 -1
- package/src/CommonTypes/FunctionResult.ts +0 -1
- package/src/Data/repository/UsersRepository.ts +2 -2
- package/src/Presentation/Views/DialogInfo/DialogInfo.scss +3 -20
- package/src/Presentation/Views/DialogInfo/DialogMemberButton/DialogMembersButton.scss +0 -17
- package/src/Presentation/Views/DialogInfo/MembersList/MembersList.scss +0 -1
- package/src/Presentation/Views/DialogList/useDialogListViewModel.ts +30 -28
- package/src/Presentation/Views/EditDialog/EditDialog.scss +1 -38
- package/src/Presentation/Views/Flow/CreateDialog/CreateDialog.scss +17 -42
- package/src/Presentation/Views/Flow/CreateDialog/CreateDialog.tsx +38 -35
- package/src/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.tsx +2 -2
- package/src/Presentation/Views/InviteMembers/InviteMembers.scss +4 -33
- package/src/Presentation/Views/InviteMembers/InviteMembers.tsx +17 -7
- package/src/Presentation/Views/PreviewDialog/PreviewDialog.scss +8 -0
- package/src/Presentation/Views/PreviewDialog/PreviewDialog.tsx +3 -1
- package/src/Presentation/components/UI/Buttons/MainButton/MainButton.css +5 -10
- package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.scss +0 -5
- package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.scss +0 -2
- package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.scss +1 -10
- package/src/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.tsx +28 -26
- package/src/Presentation/themes/styles/_theme_colors_scheme.scss +1 -1
- package/src/Presentation/themes/styles/_theme_dark.scss +4 -3
- package/src/Presentation/themes/styles/_theme_light.scss +2 -1
- package/src/Presentation/ui-components/Avatar/Avatar.scss +8 -4
- package/src/Presentation/ui-components/Avatar/Avatar.tsx +0 -2
- package/src/Presentation/ui-components/Avatar/avatar.stories.tsx +2 -2
- package/src/Presentation/ui-components/Button/Button.scss +4 -5
- package/src/Presentation/ui-components/CheckBox/CheckBox.scss +29 -1
- package/src/Presentation/ui-components/CheckBox/CheckBox.tsx +8 -7
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.scss +7 -3
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.stories.tsx +8 -0
- package/src/Presentation/ui-components/Header/Header.scss +3 -1
- package/src/Presentation/ui-components/Message/Bubble/TextBubble/TextBubble.scss +3 -1
- package/src/Presentation/ui-components/Message/Message.scss +0 -1
- package/src/Presentation/ui-components/MessageInput/MessageInput.stories.tsx +3 -3
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.stories.ts +2 -2
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.scss +1 -2
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.stories.tsx +7 -7
- package/src/Presentation/ui-components/TextField/TextField.scss +2 -3
- package/src/Presentation/ui-components/UserListItem/UserListItem.scss +2 -3
- package/src/Presentation/ui-components/UserListItem/UserListItem.stories.tsx +17 -4
- package/src/hooks/useQuickBloxUIKit.ts +128 -160
- package/storybook-static/167.88fc69a9.iframe.bundle.js +1 -0
- package/storybook-static/294.b81cdbca.iframe.bundle.js +1 -0
- package/storybook-static/363.2cb21716.iframe.bundle.js +2 -0
- package/storybook-static/363.2cb21716.iframe.bundle.js.LICENSE.txt +44 -0
- package/storybook-static/364.988cd801.iframe.bundle.js +1 -0
- package/storybook-static/488.3cd3942e.iframe.bundle.js +1 -0
- package/storybook-static/559.9e64a6f5.iframe.bundle.js +2 -0
- package/storybook-static/559.9e64a6f5.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/735.82f96f8a.iframe.bundle.js +2 -0
- package/storybook-static/735.82f96f8a.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/756.92971caf.iframe.bundle.js +405 -0
- package/storybook-static/756.92971caf.iframe.bundle.js.LICENSE.txt +19 -0
- package/storybook-static/756.92971caf.iframe.bundle.js.map +1 -0
- package/storybook-static/844.642791cb.iframe.bundle.js +95 -0
- package/storybook-static/844.642791cb.iframe.bundle.js.LICENSE.txt +19 -0
- package/storybook-static/844.642791cb.iframe.bundle.js.map +1 -0
- package/storybook-static/936.8546c1d8.iframe.bundle.js +1 -0
- package/storybook-static/961.c94da456.iframe.bundle.js +2 -0
- package/storybook-static/961.c94da456.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.b363e9a1.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.b363e9a1.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/Presentation-ui-components-Badge-Badge-stories.85dd97b0.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Badge-Badge-stories.85dd97b0.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/Presentation-ui-components-Button-Button-stories.1b030a58.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Button-Button-stories.1b030a58.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/Presentation-ui-components-DialogBanner-DialogBanner-stories.cd797979.iframe.bundle.js +1 -0
- package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.0d762d0d.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.0d762d0d.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.eb7d6a47.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.eb7d6a47.iframe.bundle.js.LICENSE.txt +15 -0
- package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.9b27ad00.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.9b27ad00.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/Presentation-ui-components-Header-Header-stories.85ea0a7f.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Header-Header-stories.85ea0a7f.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/Presentation-ui-components-Loader-Loader-stories.7391dde4.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Loader-Loader-stories.7391dde4.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/Presentation-ui-components-Message-Message-stories.6f9e723d.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Message-Message-stories.6f9e723d.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/Presentation-ui-components-MessageInput-MessageInput-stories.1f01374c.iframe.bundle.js +1 -0
- package/storybook-static/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.b927d1e1.iframe.bundle.js +1 -0
- package/storybook-static/Presentation-ui-components-Placeholder-Placeholder-stories.34dfadb1.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Placeholder-Placeholder-stories.34dfadb1.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.9b4eff15.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.9b4eff15.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.d74853ab.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.d74853ab.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/Presentation-ui-components-TextField-TextField-stories.db85d4ac.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-TextField-TextField-stories.db85d4ac.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/Presentation-ui-components-Toast-Toast-stories.5c245f2b.iframe.bundle.js +1 -0
- package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.65dee6f0.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.65dee6f0.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/docs-Introduction-mdx.c4bd2a79.iframe.bundle.js +1 -0
- package/storybook-static/docs-Styling-mdx.28c7c723.iframe.bundle.js +1 -0
- package/storybook-static/favicon.svg +1 -7
- package/storybook-static/iframe.html +175 -19
- package/storybook-static/index.html +100 -46
- package/storybook-static/index.json +1 -1
- package/storybook-static/main.4f17bc46.iframe.bundle.js +1 -0
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +1 -1
- package/storybook-static/runtime~main.b33364cd.iframe.bundle.js +1 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js +331 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt +51 -0
- package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js +12 -0
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js +402 -0
- package/storybook-static/sb-addons/essentials-docs-4/manager-bundle.js +242 -0
- package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/interactions-11/manager-bundle.js +222 -0
- package/storybook-static/sb-addons/onboarding-1/manager-bundle.js +127 -0
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
- package/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/storybook-static/sb-manager/globals-module-info.js +1046 -1
- package/storybook-static/sb-manager/globals-runtime.js +41239 -0
- package/storybook-static/sb-manager/globals.js +48 -1
- package/storybook-static/sb-manager/runtime.js +12048 -1
- package/storybook-static/sb-preview/globals.js +33 -1
- package/storybook-static/sb-preview/runtime.js +7725 -90
- package/tsconfig.buildlib.json +2 -1
- package/tsconfig.json +2 -1
- package/.env +0 -1
- package/storybook-static/208.5b4db3b7.iframe.bundle.js +0 -508
- package/storybook-static/208.5b4db3b7.iframe.bundle.js.map +0 -1
- package/storybook-static/294.3eb6fe57.iframe.bundle.js +0 -1
- package/storybook-static/305.8c6a9b9c.iframe.bundle.js +0 -1
- package/storybook-static/421.0bbb0e61.iframe.bundle.js +0 -1
- package/storybook-static/457.6ff065bd.iframe.bundle.js +0 -352
- package/storybook-static/457.6ff065bd.iframe.bundle.js.map +0 -1
- package/storybook-static/503.769aa420.iframe.bundle.js +0 -1
- package/storybook-static/647.be358768.iframe.bundle.js +0 -1
- package/storybook-static/71.badb5d90.iframe.bundle.js +0 -157
- package/storybook-static/71.badb5d90.iframe.bundle.js.map +0 -1
- package/storybook-static/857.fdf27d25.iframe.bundle.js +0 -1
- package/storybook-static/994.d260ec82.iframe.bundle.js +0 -39
- package/storybook-static/994.d260ec82.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.f12c0e50.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.f12c0e50.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Badge-Badge-stories.848c045d.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Badge-Badge-stories.848c045d.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Button-Button-stories.0a264f7c.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Button-Button-stories.0a264f7c.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-DialogBanner-DialogBanner-stories.e500567e.iframe.bundle.js +0 -10
- package/storybook-static/Presentation-ui-components-DialogBanner-DialogBanner-stories.e500567e.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.053f39b6.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.053f39b6.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.8d572e56.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.8d572e56.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.68f79f53.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.68f79f53.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Header-Header-stories.e2972795.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Header-Header-stories.e2972795.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Loader-Loader-stories.8eb761ce.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Loader-Loader-stories.8eb761ce.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Message-Message-stories.b5b1775d.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Message-Message-stories.b5b1775d.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-MessageInput-MessageInput-stories.e55416f1.iframe.bundle.js +0 -1
- package/storybook-static/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.419df5dd.iframe.bundle.js +0 -10
- package/storybook-static/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.419df5dd.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Placeholder-Placeholder-stories.c17043ac.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Placeholder-Placeholder-stories.c17043ac.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.3fd8b734.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.3fd8b734.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.c943f648.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.c943f648.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-TextField-TextField-stories.30586294.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-TextField-TextField-stories.30586294.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-Toast-Toast-stories.24db9b3e.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-Toast-Toast-stories.24db9b3e.iframe.bundle.js.map +0 -1
- package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.04902be9.iframe.bundle.js +0 -14
- package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.04902be9.iframe.bundle.js.map +0 -1
- package/storybook-static/docs-Introduction-mdx.4b40f479.iframe.bundle.js +0 -10
- package/storybook-static/docs-Introduction-mdx.4b40f479.iframe.bundle.js.map +0 -1
- package/storybook-static/docs-Styling-mdx.55077e67.iframe.bundle.js +0 -10
- package/storybook-static/docs-Styling-mdx.55077e67.iframe.bundle.js.map +0 -1
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/logo192.png +0 -0
- package/storybook-static/logo512.png +0 -0
- package/storybook-static/main.c0c1b229.iframe.bundle.js +0 -1
- package/storybook-static/manifest.json +0 -25
- package/storybook-static/robots.txt +0 -3
- package/storybook-static/runtime~main.94227b12.iframe.bundle.js +0 -1
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +0 -12
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +0 -62
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -18
- package/storybook-static/sb-addons/essentials-measure-5/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-measure-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-6/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-outline-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-4/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-toolbars-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/interactions-7/manager-bundle.js +0 -12
- package/storybook-static/sb-addons/interactions-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/links-0/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/viewport-8/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/viewport-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-common-assets/fonts.css +0 -31
- package/storybook-static/sb-manager/WithTooltip-V3YHNWJZ-MXTFSDU5.js +0 -1
- package/storybook-static/sb-manager/chunk-5QAFKPS7.js +0 -7
- package/storybook-static/sb-manager/chunk-7PRFHFSS.js +0 -9
- package/storybook-static/sb-manager/chunk-XE6LDGTE.js +0 -406
- package/storybook-static/sb-manager/chunk-YDUB7CS6.js +0 -348
- package/storybook-static/sb-manager/chunk-ZEU7PDD3.js +0 -1
- package/storybook-static/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js +0 -156
- package/storybook-static/sb-manager/index.js +0 -1
- package/storybook-static/sb-manager/syntaxhighlighter-MJWPISIS-JOSCT6CQ.js +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Avatar-avatar-stories.7b228eb0.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-Avatar-avatar-stories.7b228eb0.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Badge-Badge-stories.7b8317f8.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-Badge-Badge-stories.7b8317f8.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Button-Button-stories.1b6e1c55.chunk.css +0 -4
- package/storybook-static/static/css/Presentation-ui-components-Button-Button-stories.1b6e1c55.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-DialogBanner-DialogBanner-stories.bd07fad3.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-DialogBanner-DialogBanner-stories.bd07fad3.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.6d563072.chunk.css +0 -7
- package/storybook-static/static/css/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.6d563072.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-DialogWindow-DialogWindow-stories.4f813450.chunk.css +0 -6
- package/storybook-static/static/css/Presentation-ui-components-DialogWindow-DialogWindow-stories.4f813450.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Dropdown-Dropdown-stories.e37f549d.chunk.css +0 -5
- package/storybook-static/static/css/Presentation-ui-components-Dropdown-Dropdown-stories.e37f549d.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Header-Header-stories.fb1001e7.chunk.css +0 -4
- package/storybook-static/static/css/Presentation-ui-components-Header-Header-stories.fb1001e7.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Loader-Loader-stories.dab34da1.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-Loader-Loader-stories.dab34da1.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Message-Message-stories.aca0e085.chunk.css +0 -14
- package/storybook-static/static/css/Presentation-ui-components-Message-Message-stories.aca0e085.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-MessageInput-MessageInput-stories.7eb916fc.chunk.css +0 -7
- package/storybook-static/static/css/Presentation-ui-components-MessageInput-MessageInput-stories.7eb916fc.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.34aa36b2.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.34aa36b2.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Placeholder-Placeholder-stories.cb7fb80a.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-Placeholder-Placeholder-stories.cb7fb80a.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.31cd021e.chunk.css +0 -3
- package/storybook-static/static/css/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.31cd021e.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-SettingsItem-SettingsItem-stories.b67b748b.chunk.css +0 -5
- package/storybook-static/static/css/Presentation-ui-components-SettingsItem-SettingsItem-stories.b67b748b.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-TextField-TextField-stories.412027f8.chunk.css +0 -4
- package/storybook-static/static/css/Presentation-ui-components-TextField-TextField-stories.412027f8.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-Toast-Toast-stories.a5b284f4.chunk.css +0 -754
- package/storybook-static/static/css/Presentation-ui-components-Toast-Toast-stories.a5b284f4.chunk.css.map +0 -1
- package/storybook-static/static/css/Presentation-ui-components-UserListItem-UserListItem-stories.655aa6c1.chunk.css +0 -7
- package/storybook-static/static/css/Presentation-ui-components-UserListItem-UserListItem-stories.655aa6c1.chunk.css.map +0 -1
- package/storybook-static/static/css/main.a921485c.css +0 -5
- package/storybook-static/static/css/main.a921485c.css.map +0 -1
- package/storybook-static/static/media/add-contact.e7e7b8b15edebe99cae9c46963126e7c.svg +0 -3
- package/storybook-static/static/media/add.5cbe1f2c489b81396863f7128e3d26e7.svg +0 -3
- package/storybook-static/static/media/admin.476c2854d7ad23f2afdedac2d9bd6815.svg +0 -3
- package/storybook-static/static/media/archive.d0a72898f3c47a4194d18f560a54e109.svg +0 -3
- package/storybook-static/static/media/arrow-left.5005351d4fa6a7c074dd9780fb49dcc8.svg +0 -3
- package/storybook-static/static/media/arrow-right.1be3b599e21158807fdf72f4976179a2.svg +0 -3
- package/storybook-static/static/media/attachment.a58b8549f46ae5bbe93be779cd9f2037.svg +0 -3
- package/storybook-static/static/media/audio-file.40179c472f715fc74d4da607da96aa5e.svg +0 -3
- package/storybook-static/static/media/back.b541e72fe05542e145575c8851558998.svg +0 -3
- package/storybook-static/static/media/banned.c7c74bfa1c833263f3ab42d0529132d1.svg +0 -3
- package/storybook-static/static/media/broadcast.55273926379e5f486ccfdfab1a310b2d.svg +0 -7
- package/storybook-static/static/media/broken-file.bc084278a0d284b7901b47f24001caa6.svg +0 -3
- package/storybook-static/static/media/camera-off.8e01960815ce7620a1039d0fc5f758b2.svg +0 -3
- package/storybook-static/static/media/camera-on.ddd56e36fa505d618ab772e23c8381e6.svg +0 -3
- package/storybook-static/static/media/camera.a5a215695fba60146e649094188f37e2.svg +0 -3
- package/storybook-static/static/media/chat-filled.aaf0b778d198e7b8f632a68299a8fd13.svg +0 -3
- package/storybook-static/static/media/chat.59cd437f21fe7043682dd04cbe6377be.svg +0 -3
- package/storybook-static/static/media/check-off.0c0256f00eeb75770ffc2fbd2b59eab0.svg +0 -3
- package/storybook-static/static/media/check-on.80442753ef6922df1913453f50099315.svg +0 -3
- package/storybook-static/static/media/close.c145af996de81b25f3930bf36d88b161.svg +0 -3
- package/storybook-static/static/media/conference.ffbdf37c0510c796138f18e6c1205204.svg +0 -3
- package/storybook-static/static/media/contact-filled.f04f56ba3f98ade5d7ced7814d8a5fa8.svg +0 -3
- package/storybook-static/static/media/contact.40a8b8104c3a448b81108ffede850963.svg +0 -3
- package/storybook-static/static/media/copy.100bd0fff933cbde8ad4bc2ac281c845.svg +0 -3
- package/storybook-static/static/media/delete.287c9b4b3b0e58cb081c6e388e68b409.svg +0 -3
- package/storybook-static/static/media/down.7a43a3d78885f40616ce111c86c108a4.svg +0 -3
- package/storybook-static/static/media/download.43c26d404dd023e42aaacc52151f7a59.svg +0 -3
- package/storybook-static/static/media/edit.8d813af82ecab84303ee3c97bd7bc562.svg +0 -3
- package/storybook-static/static/media/emoji.9a202cbb16735f3c83ba8772f0218aa4.svg +0 -3
- package/storybook-static/static/media/error.ec60e2052661b82f27b7ce270ae133a7.svg +0 -3
- package/storybook-static/static/media/favorite.194d78057be6cd7968c85e7b5822f82a.svg +0 -3
- package/storybook-static/static/media/file.e537292693b3c89c023fd383c70bd221.svg +0 -3
- package/storybook-static/static/media/forward-filled.43120a68057427c89c88b28d9b20dd90.svg +0 -3
- package/storybook-static/static/media/freeze.35619771e645b649c38e0427d9b39a25.svg +0 -3
- package/storybook-static/static/media/full-screen.6b01c93e069421c69bda2bbde5d01336.svg +0 -3
- package/storybook-static/static/media/gif-file.2c46a5df6c8397f5b9088e66aee3fd44.svg +0 -3
- package/storybook-static/static/media/group-chat.19d5305cab6017d494ac35ecb285a9fe.svg +0 -3
- package/storybook-static/static/media/help.786f48518c96c8e7098296d68245c339.svg +0 -3
- package/storybook-static/static/media/hide.2785264246d70868717984a5ad44d4c9.svg +0 -3
- package/storybook-static/static/media/hungup.e5d2289a9e8cd755bd1ee36b738305a2.svg +0 -3
- package/storybook-static/static/media/image-filled.8afb62b142d786e90102f1cac73a9c13.svg +0 -3
- package/storybook-static/static/media/image.64092dadd5215c8d3ba99ccac753d743.svg +0 -3
- package/storybook-static/static/media/income-call.60ca2d367a00d582f4b6f4a5f2047e27.svg +0 -3
- package/storybook-static/static/media/information.8217e163c334852f143e7199c97fab1d.svg +0 -3
- package/storybook-static/static/media/leave.ae5422a12edec1b61484ff2932819c77.svg +0 -3
- package/storybook-static/static/media/like.45662989373aa524cd580fb42432e0bc.svg +0 -3
- package/storybook-static/static/media/link.74f567c3ee4366d79fb81d73eb8c0919.svg +0 -3
- package/storybook-static/static/media/loader.2eb72391c5267453edb4106528c075ad.svg +0 -3
- package/storybook-static/static/media/location.cab52453404524c345ec7efdd86fa66b.svg +0 -4
- package/storybook-static/static/media/louder.133519141541a9cd2f0e898534b39732.svg +0 -3
- package/storybook-static/static/media/mention.6c4885bb0ea5ca85c8962f6f51ac1cb4.svg +0 -3
- package/storybook-static/static/media/mic-off.43e60427600bcf7fd78fb840ff50d804.svg +0 -3
- package/storybook-static/static/media/mic-on.5a52100de3770550b3a57a76827843c2.svg +0 -4
- package/storybook-static/static/media/minimize.a849dd3a36ece08b992a773d135a0c3f.svg +0 -3
- package/storybook-static/static/media/moderations.07c8d1fe96b0b8bb5911f6cc37f764c6.svg +0 -3
- package/storybook-static/static/media/more.4ed9ad54ae110d9760b6e9698d821960.svg +0 -3
- package/storybook-static/static/media/muted.cb37ac3c577c87c800466aa7aee65af2.svg +0 -3
- package/storybook-static/static/media/new-chat.124e0351bd0e19ff4c5fdbabbe5c6027.svg +0 -3
- package/storybook-static/static/media/next.97a0eeea1f8daa2d31c8452f29908bf1.svg +0 -3
- package/storybook-static/static/media/notifications.ab8e847ae04e2bec9209dbdd1054b0f2.svg +0 -3
- package/storybook-static/static/media/notify-off.4a669a3a8cbd38b3309dbc4c909f6089.svg +0 -3
- package/storybook-static/static/media/notify-on.ea9ffc856ad6cdbe87184af558c78eec.svg +0 -3
- package/storybook-static/static/media/outcome-call.9f5fec07823796ad78963a06cdcf629e.svg +0 -3
- package/storybook-static/static/media/pause.27eb8c32999f10d05d6a200165d798a9.svg +0 -3
- package/storybook-static/static/media/phone-filled.e969511d74935af26ef366f575929f68.svg +0 -3
- package/storybook-static/static/media/phone.6355580a064a488b6317372d71f84c00.svg +0 -3
- package/storybook-static/static/media/play.00bfe0e9c94dc6dfb230262e45b2f860.svg +0 -3
- package/storybook-static/static/media/plus.d3953cb1cf830bcfc41c8cc6133b13b1.svg +0 -3
- package/storybook-static/static/media/private-chat.c68f36baf025b9d20ad1f801a2396e7a.svg +0 -3
- package/storybook-static/static/media/public-channel.7a6ada7f30c44fb4a99021df0eb0e996.svg +0 -7
- package/storybook-static/static/media/quite.9f45e2152fe6c499a776cb387ee4859f.svg +0 -3
- package/storybook-static/static/media/record.e49ee7da793b2ce446a4e7128970c0cc.svg +0 -3
- package/storybook-static/static/media/refresh.6e955728d9ec086f34e9adaaaafacf3e.svg +0 -3
- package/storybook-static/static/media/remove-2.8a7700757f02c941f03c37c7e495bf63.svg +0 -3
- package/storybook-static/static/media/remove.831e69b70db1b3eb72a49444b8aa1e16.svg +0 -3
- package/storybook-static/static/media/rephrase.551171aa8903b31746a58a95528b1f68.svg +0 -6
- package/storybook-static/static/media/reply-filled.17ed65506e902f17bb22e87ffac93314.svg +0 -3
- package/storybook-static/static/media/screenshare.c2f94264a7640ea1bbb2a22f7d570038.svg +0 -3
- package/storybook-static/static/media/search.25663e60d71e01c64fdfc83df7460ab0.svg +0 -3
- package/storybook-static/static/media/send.d298db52aafdb846a46c9d180ad45946.svg +0 -3
- package/storybook-static/static/media/sent.f427753e5502fd7783a08e5f0e0d2f35.svg +0 -3
- package/storybook-static/static/media/settings-filled.bd9b60ff4e9eae911e4e2bc69e8e79ca.svg +0 -3
- package/storybook-static/static/media/share.7ce8283aa267fb065c568d65b482e211.svg +0 -3
- package/storybook-static/static/media/show.de1782527c4a7fa14101dffbfba8aea6.svg +0 -3
- package/storybook-static/static/media/speaker-off.fe84597c4b68f4f761e12f789dc58718.svg +0 -3
- package/storybook-static/static/media/speaker.e7ff48a73ca43188703b36dfecd932b5.svg +0 -3
- package/storybook-static/static/media/stop-record.a2e9d50a0930c24af43d7f357093be81.svg +0 -3
- package/storybook-static/static/media/stop-share.d1be236e01dd924ba711e1e17f41054c.svg +0 -3
- package/storybook-static/static/media/stream-filled.c40bae61fea25455602a61db5e77fa71.svg +0 -3
- package/storybook-static/static/media/stream.700f4f8ce0cee0ae1ef56132867427fe.svg +0 -3
- package/storybook-static/static/media/swap-camera.bc3a4652106f5c57d14b4dcbffff08a5.svg +0 -3
- package/storybook-static/static/media/text-document.cad7e87368501b96de2a939d08852dcd.svg +0 -3
- package/storybook-static/static/media/unarchive.1b1a7438cd8eb6fee80e6ac89baa195b.svg +0 -3
- package/storybook-static/static/media/user.911c7ae778615185b285ce0ae4068486.svg +0 -3
- package/storybook-static/static/media/video-file.dbd1f8c63a3769f9e9a027f0922d56b2.svg +0 -3
- package/storybook-static/static/media/video.bbcc2109285c18eea02ede86920de0dd.svg +0 -3
- package/storybook-static/static/media/viewed-delivered.f43360dc87235a6cf574ff53f73dd777.svg +0 -3
- package/storybook-static/static/media/voice.b937c8a1f744050bec2cd389ad2a1f3a.svg +0 -3
- package/storybook-static/stories.json +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see Presentation-ui-components-UserListItem-UserListItem-stories.65dee6f0.iframe.bundle.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkquickblox_react_ui_kit=self.webpackChunkquickblox_react_ui_kit||[]).push([[585],{"./node_modules/classnames/index.js":(module,exports)=>{var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes="",i=0;i<arguments.length;i++){var arg=arguments[i];arg&&(classes=appendClass(classes,parseValue(arg)))}return classes}function parseValue(arg){if("string"==typeof arg||"number"==typeof arg)return arg;if("object"!=typeof arg)return"";if(Array.isArray(arg))return classNames.apply(null,arg);if(arg.toString!==Object.prototype.toString&&!arg.toString.toString().includes("[native code]"))return arg.toString();var classes="";for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&(classes=appendClass(classes,key));return classes}function appendClass(value,newClass){return newClass?value?value+" "+newClass:value+newClass:value}module.exports?(classNames.default=classNames,module.exports=classNames):void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,[]))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}()},"./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.scss":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".loader{animation:spin 2s linear infinite;min-width:44;min-height:44}.loader svg path{fill:var(--main-elements)}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}","",{version:3,sources:["webpack://./src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.scss"],names:[],mappings:"AAIA,QACE,iCAAA,CAEA,YANmB,CAOnB,aANoB,CAIpB,iBAAA,yBANyB,CAW3B,gBACE,GACE,sBAAA,CAEF,KACE,wBAAA,CAAA",sourcesContent:["$default-background-color: var(--main-elements);\n$default-width-icon: 44;\n$default-height-icon: 44;\n\n.loader {\n animation: spin 2s linear infinite;\n svg path {fill: $default-background-color};\n min-width: $default-width-icon;\n min-height: $default-height-icon;\n}\n\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.scss":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".list{display:flex;flex-direction:column;overflow:hidden;position:relative;width:100%}.list .spinner{display:block;height:16px;left:0;position:absolute;right:0;top:-16px;transition:all .2s ease}.list .spinner.active{top:8px}.list .list-content{flex:1;overflow-x:hidden;overflow-y:auto;width:100%}.list ::-webkit-scrollbar{display:none;width:0px !important;background:rgba(0,0,0,0)}.list ::-webkit-scrollbar-thumb{background:rgba(0,0,0,0)}","",{version:3,sources:["webpack://./src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.scss"],names:[],mappings:"AAAA,MACE,YAAA,CACA,qBAAA,CACA,eAAA,CACA,iBAAA,CACA,UAAA,CAIF,eACE,aAAA,CACA,WAAA,CACA,MAAA,CACA,iBAAA,CACA,OAAA,CACA,SAAA,CACA,uBAAA,CAGF,sBACE,OAAA,CAGF,oBACE,MAAA,CACA,iBAAA,CAEA,eAAA,CACA,UAAA,CAIA,0BACE,YAAA,CACA,oBAAA,CACA,wBAAA,CAEF,gCACE,wBAAA",sourcesContent:[".list {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n position: relative;\n width: 100%;\n\n}\n\n.list .spinner {\n display: block;\n height: 16px;\n left: 0;\n position: absolute;\n right: 0;\n top: -16px;\n transition: all 0.2s ease;\n}\n\n.list .spinner.active {\n top: 8px;\n}\n\n.list .list-content {\n flex: 1;\n overflow-x: hidden;\n //overflow-y: hidden;\n overflow-y: auto;\n width: 100%;\n}\n\n.list {\n ::-webkit-scrollbar{\n display: none;\n width: 0px !important;\n background: transparent;\n }\n ::-webkit-scrollbar-thumb {\n background: transparent;\n }\n //:hover{\n // overflow-y: scroll;\n //}\n}\n\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/ui-components/Avatar/Avatar.scss":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".avatar{display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background-color:var(--disabled-elements);color:var(--secondary-text)}.avatar,.avatar *{box-sizing:border-box}.avatar svg{height:26px;width:26px;fill:var(--tertiary-elements)}.avatar__image{object-fit:cover;width:100%;height:100%}.avatar--xs{width:32px;height:32px}.avatar--sm{width:36px;height:36px}.avatar--md{width:40px;height:40px}.avatar--lg{width:56px;height:56px}.avatar--lg svg{height:33px;width:33px}.avatar--xl{width:64px;height:64px}.avatar--xxl{width:80px;height:80px}","",{version:3,sources:["webpack://./src/Presentation/ui-components/Avatar/Avatar.scss","webpack://./src/Presentation/themes/styles/_mixins.scss"],names:[],mappings:"AAEA,QACE,YAAA,CACA,aAAA,CACA,kBAAA,CACA,sBAAA,CAEA,eAAA,CACA,iBAAA,CACA,yCAAA,CACA,2BAAA,CCVA,kBAEE,qBAAA,CDYF,YACE,WAAA,CACA,UAAA,CACA,6BAAA,CAGF,eACE,gBAAA,CACA,UAAA,CACA,WAAA,CAGF,YACE,UAAA,CACA,WAAA,CAGF,YACE,UAAA,CACA,WAAA,CAGF,YACE,UAAA,CACA,WAAA,CAGF,YACE,UAAA,CACA,WAAA,CAEA,gBACE,WAAA,CACA,UAAA,CAIJ,YACE,UAAA,CACA,WAAA,CAGF,aACE,UAAA,CACA,WAAA",sourcesContent:["@use '../../themes/styles/mixins' as *;\n\n.avatar {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n\n overflow: hidden;\n border-radius: 50%;\n background-color: var(--disabled-elements);\n color: var(--secondary-text);\n\n @include applyBorderBox;\n\n svg {\n height: 26px;\n width: 26px;\n fill: var(--tertiary-elements);\n }\n\n &__image {\n object-fit: cover;\n width: 100%;\n height: 100%;\n }\n\n &--xs {\n width: 32px;\n height: 32px;\n }\n\n &--sm {\n width: 36px;\n height: 36px;\n }\n\n &--md {\n width: 40px;\n height: 40px;\n }\n\n &--lg {\n width: 56px;\n height: 56px;\n\n svg {\n height: 33px;\n width: 33px;\n }\n }\n\n &--xl {\n width: 64px;\n height: 64px;\n }\n\n &--xxl {\n width: 80px;\n height: 80px;\n }\n}\n","@mixin applyBorderBox {\n &,\n * {\n box-sizing: border-box;\n }\n}\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/ui-components/CheckBox/CheckBox.scss":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".checkbox,.checkbox-field{display:flex;align-items:center;flex-shrink:0;border-radius:4px;padding:4px;justify-content:center;width:18px;height:18px}.checkbox-field>input{position:absolute;z-index:-1;opacity:0}.checkbox-field .icon-checkmark{position:absolute;width:18px;height:18px;fill:var(--main-elements)}.checkbox-field .icon-check{position:absolute;width:18px;height:18px;fill:var(--secondary-elements)}.checkbox-field.disabled .icon-check{fill:var(--disabled-elements);cursor:not-allowed}","",{version:3,sources:["webpack://./src/Presentation/ui-components/CheckBox/CheckBox.scss"],names:[],mappings:"AAAA,0BACE,YAAA,CACA,kBAAA,CACA,aAAA,CACA,iBAAA,CACA,WAAA,CACA,sBAAA,CACA,UAAA,CACA,WAAA,CAGF,sBACE,iBAAA,CACA,UAAA,CACA,SAAA,CAGF,gCACE,iBAAA,CACA,UAAA,CACA,WAAA,CACA,yBAAA,CAIF,4BACE,iBAAA,CACA,UAAA,CACA,WAAA,CACA,8BAAA,CAGF,qCACE,6BAAA,CACA,kBAAA",sourcesContent:[".checkbox, .checkbox-field {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n border-radius: 4px;\n padding: 4px;\n justify-content: center;\n width: 18px;\n height: 18px;\n}\n\n.checkbox-field > input {\n position: absolute;\n z-index: -1;\n opacity: 0;\n}\n\n.checkbox-field .icon-checkmark {\n position: absolute;\n width: 18px;\n height: 18px;\n fill: var(--main-elements);\n\n}\n\n.checkbox-field .icon-check {\n position: absolute;\n width: 18px;\n height: 18px;\n fill: var(--secondary-elements);\n}\n\n.checkbox-field.disabled .icon-check{\n fill: var(--disabled-elements);\n cursor: not-allowed;\n}\n\n\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/ui-components/UserListItem/UserListItem.scss":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".user-list-item{display:flex;align-items:center;justify-content:space-between;height:56px;padding:8px 19px 8px 16px;gap:16px;border-bottom:1px solid var(--divider)}.user-list-item--disabled{cursor:not-allowed;color:var(--disabled-elements);fill:var(--disabled-elements)}.user-list-item__avatar{display:flex;align-items:center;justify-content:space-between}.user-list-item__name{margin-left:16px;font-weight:400;font-size:16px;line-height:24px;letter-spacing:.15px;color:var(--main-text)}","",{version:3,sources:["webpack://./src/Presentation/ui-components/UserListItem/UserListItem.scss"],names:[],mappings:"AAAA,gBACE,YAAA,CACA,kBAAA,CACA,6BAAA,CAEA,WAAA,CACA,yBAAA,CACA,QAAA,CACA,sCAAA,CAGA,0BACE,kBAAA,CACA,8BAAA,CACA,6BAAA,CAGF,wBACE,YAAA,CACA,kBAAA,CACA,6BAAA,CAGF,sBACE,gBAAA,CACA,eAAA,CACA,cAAA,CACA,gBAAA,CACA,oBAAA,CACA,sBAAA",sourcesContent:[".user-list-item {\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n height: 56px;\n padding: 8px 19px 8px 16px;\n gap: 16px;\n border-bottom: 1px solid var(--divider);\n\n\n &--disabled {\n cursor: not-allowed;\n color: var(--disabled-elements);\n fill: var(--disabled-elements);\n }\n\n &__avatar {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n &__name {\n margin-left: 16px;\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0.15px;\n color: var(--main-text);\n }\n}\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./src/Presentation/ui-components/Avatar/Avatar.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>Avatar_Avatar_Avatar});var react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),icons=__webpack_require__("./src/Presentation/icons/index.ts"),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),Avatar=__webpack_require__("./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/ui-components/Avatar/Avatar.scss"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(Avatar.A,options);Avatar.A&&Avatar.A.locals&&Avatar.A.locals;function Avatar_Avatar_Avatar(_ref){let{icon=react.createElement(icons.Uh,null),size="md",className,src}=_ref;return src?react.createElement("div",{className:classnames_default()("avatar",`avatar--${size}`,className)},react.createElement("img",{src,className:"avatar__image",alt:"Avatar"})):react.createElement("div",{className:classnames_default()("avatar",`avatar--${size}`,className)},icon)}Avatar_Avatar_Avatar.__docgenInfo={description:"",methods:[],displayName:"Avatar",props:{size:{required:!1,tsType:{name:"union",raw:"'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'",elements:[{name:"literal",value:"'xs'"},{name:"literal",value:"'sm'"},{name:"literal",value:"'md'"},{name:"literal",value:"'lg'"},{name:"literal",value:"'xl'"},{name:"literal",value:"'xxl'"}]},description:"",defaultValue:{value:"'md'",computed:!1}},icon:{required:!1,tsType:{name:"ReactElement"},description:"",defaultValue:{value:"<UserSvg />",computed:!1}},className:{required:!1,tsType:{name:"string"},description:""},src:{required:!1,tsType:{name:"string"},description:""}}}},"./src/Presentation/ui-components/CheckBox/CheckBox.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>CheckBox_CheckBox_CheckBox});var react=__webpack_require__("./node_modules/react/index.js"),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),CheckBox=__webpack_require__("./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/ui-components/CheckBox/CheckBox.scss"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(CheckBox.A,options);CheckBox.A&&CheckBox.A.locals&&CheckBox.A.locals;var classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),icons=__webpack_require__("./src/Presentation/icons/index.ts");function CheckBox_CheckBox_CheckBox(_ref){let{disabled,checked,onChange}=_ref;return react.createElement("label",{className:classnames_default()("checkbox-field",{disabled})},checked?react.createElement(icons.uM,{className:"icon-checkmark"}):react.createElement(icons.av,{className:"icon-check"}),react.createElement("input",{type:"checkbox",onChange:()=>onChange?.(!checked),disabled}))}CheckBox_CheckBox_CheckBox.__docgenInfo={description:"",methods:[],displayName:"CheckBox",props:{disabled:{required:!0,tsType:{name:"boolean"},description:""},checked:{required:!0,tsType:{name:"boolean"},description:""},onChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(isSelected: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"isSelected"}],return:{name:"void"}}},description:""}}}},"./src/Presentation/ui-components/UserListItem/UserListItem.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{UserList:()=>UserList,UserListItemDefault:()=>UserListItemDefault,__namedExportsOrder:()=>__namedExportsOrder,default:()=>UserListItem_stories});var react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),Avatar=__webpack_require__("./src/Presentation/ui-components/Avatar/Avatar.tsx"),CheckBox=__webpack_require__("./src/Presentation/ui-components/CheckBox/CheckBox.tsx"),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),UserListItem=__webpack_require__("./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/ui-components/UserListItem/UserListItem.scss"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(UserListItem.A,options);UserListItem.A&&UserListItem.A.locals&&UserListItem.A.locals;function UserListItem_UserListItem_UserListItem(_ref){let{avatarUrl,userName,checked=!1,disabled=!1,onChange,className}=_ref;return react.createElement("div",{className:classnames_default()("user-list-item",{"user-list-item--disabled":disabled},className)},react.createElement("div",{className:"user-list-item__avatar"},react.createElement(Avatar.A,{src:avatarUrl}),react.createElement("span",{className:"user-list-item__name"},userName)),onChange&&react.createElement(CheckBox.A,{onChange,disabled,checked}))}UserListItem_UserListItem_UserListItem.__docgenInfo={description:"",methods:[],displayName:"UserListItem",props:{userName:{required:!0,tsType:{name:"string"},description:""},avatarUrl:{required:!1,tsType:{name:"string"},description:""},checked:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"false",computed:!1}},disabled:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"false",computed:!1}},onChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(checked: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"checked"}],return:{name:"void"}}},description:""},className:{required:!1,tsType:{name:"string"},description:""}}};var ScrollableContainer=__webpack_require__("./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/components/containers/ScrollableContainer/ScrollableContainer.scss"),ScrollableContainer_options={};ScrollableContainer_options.styleTagTransform=styleTagTransform_default(),ScrollableContainer_options.setAttributes=setAttributesWithoutAttributes_default(),ScrollableContainer_options.insert=insertBySelector_default().bind(null,"head"),ScrollableContainer_options.domAPI=styleDomAPI_default(),ScrollableContainer_options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(ScrollableContainer.A,ScrollableContainer_options);ScrollableContainer.A&&ScrollableContainer.A.locals&&ScrollableContainer.A.locals;var LoaderComponent=__webpack_require__("./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.scss"),LoaderComponent_options={};LoaderComponent_options.styleTagTransform=styleTagTransform_default(),LoaderComponent_options.setAttributes=setAttributesWithoutAttributes_default(),LoaderComponent_options.insert=insertBySelector_default().bind(null,"head"),LoaderComponent_options.domAPI=styleDomAPI_default(),LoaderComponent_options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(LoaderComponent.A,LoaderComponent_options);LoaderComponent.A&&LoaderComponent.A.locals&&LoaderComponent.A.locals;var icons=__webpack_require__("./src/Presentation/icons/index.ts");function LoaderComponent_LoaderComponent_LoaderComponent(){let theme=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;const loaderStyles=theme?{animation:"spin 1s linear infinite",svg:{path:{fill:theme?.color?theme?.color:""}},minWidth:theme?.width,minHeight:theme?.height,Loader:{fill:theme?.color?theme?.color:""},fill:theme?.color?theme?.color:""}:{},loaderClasses=[theme&&Object.keys(theme).length>0?"":"loader"].join(" ");return React.createElement("div",{style:loaderStyles,className:loaderClasses},React.createElement(icons.iO,{className:"loader"}))}function ScrollableContainer_ScrollableContainer_ScrollableContainer(props){const{className,rootStyles,mainContainerStyles,data,ListEmptyComponent,onEndReached,onEndReachedThreshold,refreshing,autoScrollToBottom,renderItem}=props,container=(0,react.useRef)(null),messageEndRef=(0,react.useRef)(null),scrollToBottom=()=>{console.log("call scrollToBottom start"),autoScrollToBottom&&messageEndRef.current?.scrollIntoView({behavior:"smooth"})};return(0,react.useEffect)((()=>{console.log("useEffect []"),autoScrollToBottom&&scrollToBottom()}),[]),(0,react.useEffect)((()=>{console.log("useEffect messages"),autoScrollToBottom&&scrollToBottom()}),[data.length]),console.log("çount items to scroll:",data.length),console.log("data to scrolling: ",JSON.stringify(data)),react.createElement("div",{style:rootStyles,className:classnames_default()("list",className)},refreshing&&react.createElement("div",null,react.createElement(LoaderComponent_LoaderComponent_LoaderComponent,{width:"44",height:"44",color:"var(--color-background-info)"})),data&&data.length?react.createElement("div",{style:mainContainerStyles,className:"list-content",onScroll:()=>{if(console.log("call scrollHandler"),container.current){const{scrollHeight,clientHeight,scrollTop}=container.current,scrollOffset=(scrollTop+clientHeight)/scrollHeight;let endReached=!1;"number"==typeof onEndReachedThreshold?scrollOffset>=onEndReachedThreshold&&(endReached=!0):scrollOffset>=.99&&(endReached=!0),endReached&&onEndReached&&onEndReached()}},ref:container},data.map(((it,index)=>renderItem(it,index))),react.createElement("div",{style:{float:"left",clear:"both"},ref:messageEndRef})):!refreshing&&ListEmptyComponent&&react.createElement(ListEmptyComponent,null))}LoaderComponent_LoaderComponent_LoaderComponent.__docgenInfo={description:"",methods:[],displayName:"LoaderComponent"},ScrollableContainer_ScrollableContainer_ScrollableContainer.__docgenInfo={description:"",methods:[],displayName:"ScrollableContainer",props:{className:{required:!1,tsType:{name:"string"},description:""},rootStyles:{required:!1,tsType:{name:"ReactCSSProperties",raw:"React.CSSProperties"},description:""},mainContainerStyles:{required:!1,tsType:{name:"ReactCSSProperties",raw:"React.CSSProperties"},description:""},data:{required:!0,tsType:{name:"Array",elements:[{name:"T"}],raw:"Array<T>"},description:""},ListEmptyComponent:{required:!1,tsType:{name:"union",raw:"React.ComponentClass | React.FunctionComponent",elements:[{name:"ReactComponentClass",raw:"React.ComponentClass"},{name:"ReactFunctionComponent",raw:"React.FunctionComponent"}]},description:""},onEndReached:{required:!1,tsType:{name:"VoidFunction"},description:""},onEndReachedThreshold:{required:!1,tsType:{name:"number"},description:""},refreshing:{required:!1,tsType:{name:"boolean"},description:""},autoScrollToBottom:{required:!1,tsType:{name:"boolean"},description:""},renderItem:{required:!0,tsType:{name:"signature",type:"function",raw:"(item: T, index: number) => React.ReactElement | null",signature:{arguments:[{type:{name:"T"},name:"item"},{type:{name:"number"},name:"index"}],return:{name:"union",raw:"React.ReactElement | null",elements:[{name:"ReactReactElement",raw:"React.ReactElement"},{name:"null"}]}}},description:""}}};const UserListItem_stories={title:"@quickblox-react-ui-kit/Presentation/ui-components/UserListItem",component:UserListItem_UserListItem_UserListItem,tags:["autodocs"],parameters:{layout:"centered"},args:{className:"",disabled:!1,checked:!1,userName:"",avatarUrl:""},argTypes:{avatarUrl:{table:{type:{summary:"url"}},description:"Avatar image source"},userName:{table:{type:{summary:"string"},defaultValue:{summary:""}},description:"User name"},disabled:{table:{type:{summary:"boolean"},defaultValue:{summary:"false"}},description:"Active"},checked:{table:{type:{summary:"boolean"},defaultValue:{summary:"true"}},description:"Checkbox"},onChange:{table:{defaultValue:{summary:"(checked: boolean) => void"},type:{summary:"function"}},description:"Checkbox control"},className:{table:{defaultValue:{summary:"string"},type:{summary:"string"}},description:"Additional classes"}}};function UserListExample(){const[users,setUser]=(0,react.useState)([{name:"User 1",id:0,checked:!0},{name:"User 2",id:1,checked:!1},{name:"User 3",id:2,checked:!1},{name:"User 4",id:3,checked:!0},{name:"User 5",id:4,checked:!0}]);return react.createElement(ScrollableContainer_ScrollableContainer_ScrollableContainer,{data:users,renderItem:user=>react.createElement(UserListItem_UserListItem_UserListItem,{userName:user.name,checked:user.checked,onChange:value=>{setUser((prevUsers=>prevUsers.map((prevUser=>prevUser.id===user.id?{...prevUser,checked:value}:prevUser))))}}),onEndReachedThreshold:.8,refreshing:!1})}function UserListItemExample(){const[checked,setChecked]=(0,react.useState)(!1);return react.createElement(UserListItem_UserListItem_UserListItem,{userName:"User name",checked,onChange:value=>{setChecked(value)}})}const UserListItemDefault={name:"UserListItem Default",render:()=>react.createElement(UserListItemExample,null)},UserList={name:"UserListItem Multiple",render:()=>react.createElement(UserListExample,null)},__namedExportsOrder=["UserListItemDefault","UserList"];UserListItemDefault.parameters={...UserListItemDefault.parameters,docs:{...UserListItemDefault.parameters?.docs,source:{originalSource:"{\n name: 'UserListItem Default',\n render: () => <UserListItemExample />\n}",...UserListItemDefault.parameters?.docs?.source}}},UserList.parameters={...UserList.parameters,docs:{...UserList.parameters?.docs,source:{originalSource:"{\n name: 'UserListItem Multiple',\n render: () => <UserListExample />\n}",...UserList.parameters?.docs?.source}}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkquickblox_react_ui_kit=self.webpackChunkquickblox_react_ui_kit||[]).push([[485],{"./node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>useMDXComponents,x:()=>MDXProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const emptyComponents={},MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(emptyComponents);function useMDXComponents(components){const contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return"function"==typeof components?components(contextComponents):{...contextComponents,...components}}),[contextComponents,components])}function MDXProvider(properties){let allComponents;return allComponents=properties.disableParentContext?"function"==typeof properties.components?properties.components(emptyComponents):properties.components||emptyComponents:useMDXComponents(properties.components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},properties.children)}},"./node_modules/@storybook/blocks/dist sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/blocks/dist sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/components sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/components sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/theming sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/theming sync recursive",module.exports=webpackEmptyContext},"./src/docs/Introduction.mdx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_Users_andrii_avriata_Documents_Work_react_ui_kit_private_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs");function _createMdxContent(props){const _components={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,_Users_andrii_avriata_Documents_Work_react_ui_kit_private_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.W8,{title:"📕 Documentation/Introduction"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h1,{id:"introduction",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-send-your-first-message#importing-dependencies-in-the-project",rel:"nofollow",children:"Introduction"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"The QuickBlox UIKit for React comprises a collection of pre-assembled UI components that enable effortless creation of an in-app chat equipped with all the necessary messaging functionalities. Our development kit encompasses light and dark themes, colors, and various other features. These components can be personalized to fashion an engaging messaging interface that reflects your brand's distinct identity."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"The QuickBlox UIKit fully supports both private and group dialogs. To initiate the process of sending a message from the ground up using Java or Kotlin, please refer to the instructions provided in the guide below."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"installation",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-send-your-first-message#step2-adding-dependencies-to-a-react-project",rel:"nofollow",children:"Installation"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"To successfully integrate QuickBlox functionality into your React project, you need to add two main dependencies: quickblox and quickblox-react-ui-kit. By following the documentation, you can easily add these packages to your project."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-bash",children:"npm install quickblox --save\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-bash",children:"npm install quickblox-react-ui-kit --save\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h4,{id:"importing-dependencies-in-the-project",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-send-your-first-message#importing-dependencies-in-the-project",rel:"nofollow",children:"Importing Dependencies in the Project"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Open the file where you want to use QuickBlox functionality, such as App.tsx\nAdd the following lines at the beginning of the file to import the dependencies:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.blockquote,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Note: We are using // @ts-ignor in TypeScript because QuickBlox SDK doesn't share types."})}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"// @ts-ignore\nimport * as QB from 'quickblox/quickblox';\nimport 'quickblox-react-ui-kit';\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"adding-qbconfigts-file-to-your-react-application",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-send-your-first-message#step-3-adding-qbconfigts-file-to-your-react-application",rel:"nofollow",children:"Adding QBconfig.ts File to Your React Application"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"To ensure proper configuration and functionality of the QuickBlox UIKit in your React application, it is essential to add a QBconfig.ts file to the src folder. This file allows you to define the necessary parameters for the QuickBlox UIKit.\nThe QBconfig.ts file contains various configuration settings that determine how the QuickBlox UIKit interacts with the QuickBlox JavaScript SDK and the backend services. These settings include:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"appId: This parameter represents the unique identifier assigned to your QuickBlox application. It helps establish a connection between the frontend and backend components.\nauthKey and authSecret: These parameters are used for authentication purposes. They ensure secure communication between your application and the QuickBlox backend.\naccountKey: This parameter identifies your QuickBlox account and provides access to the associated services.\napiEndpoint and chatEndpoint: These parameters define the API and chat endpoints provided by QuickBlox. They specify the URLs to which the QuickBlox UIKit will send requests for various functionalities."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"export const QBConfig = {\n credentials: {\n appId: YOUR_APP_ID_FROM_ADMIN_PANEL,\n accountKey: 'YOUR_ACCOUNT_KEY_FROM_ADMIN_PANEL',\n authKey: 'YOUR_AUTH_KEY_FROM_ADMIN_PANEL',\n authSecret: 'YOUR_AUTH_SECRET_FROM_ADMIN_PANEL',\n sessionToken: '',\n },\n appConfig: {\n chatProtocol: {\n Active: 2,\n },\n debug: false,\n endpoints: {\n apiEndpoint: 'https://api.quickblox.com',\n chatEndpoint: 'chat.quickblox.com',\n },\n on: {\n async sessionExpired(handleResponse: any, retry: any) {\n console.log(`Test sessionExpired… ${handleResponse} ${retry}`);\n },\n },\n streamManagement: {\n Enable: true,\n },\n },\n};\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"In this example, make sure to replace the placeholder values (YOUR_APP_ID_FROM_ADMIN_PANEL, YOUR_ACCOUNT_KEY_FROM_ADMIN_PANEL, YOUR_AUTH_KEY_FROM_ADMIN_PANEL, YOUR_AUTH_SECRET_FROM_ADMIN_PANEL) with the actual values obtained from your QuickBlox application.\nBy adding the QBconfig.ts file to your React application, you ensure that the QuickBlox UIKit is properly configured and can interact seamlessly with the QuickBlox backend services."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.blockquote,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Note: If you initialize your SDK using a session token, you need to not only fill the sessionToken field in QBConfig but also fill other properties in the same way as when using the initWithAppId method. See the link initialize QuickBlox SDK without Authorization Key and Secret."})}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Now we can add dependecies in our code. (Open your App.tsx and add that lines.)"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"import * as QB from 'quickblox/quickblox';\nimport 'quickblox-react-ui-kit';\nimport { QBConfig } from './QBconfig'; // this line is new\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"updating-the-project-structure-according-to-your-needs",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-send-your-first-message#step-4-updating-the-project-structure-according-to-your-needs",rel:"nofollow",children:"Updating the project structure according to your needs"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:'In order to enhance the organization and maintainability of your project, it is recommended to make changes to the structure of the App.tsx in the src folder.\nYou need to add a constant called "currentUser" inside the App() function in the App.tsx file, which describes your user registered in the admin panel, and configure the QuickBloxUIKitProvider. Additionally, import the necessary entities from quickblox-react-ui-kit.\nAs a result, you should have the code like code below:'}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"import React from 'react';\nimport type { QBSession, QBUser } from 'quickblox/quickblox';\nimport {\n QuickBloxUIKitProvider,\n QuickBloxUIKitDesktopLayout,\n} from 'quickblox-react-ui-kit';\nimport { QBConfig } from '../../configs/QBconfig';\nimport Header from '../../components/Header';\nimport SettingModal from '../../components/modals/SettingModal';\nimport LogoutModal from '../../components/modals/LogoutModal';\n\ninterface AppProps {\n session: QBSession;\n logout: VoidFunction;\n}\n\nconst App = (props: AppProps) => {\n const { session, logout } = props;\n const [user, setUser] = useState<QBUser | null>(null);\n\n return (\n <QuickBloxUIKitProvider\n maxFileSize={100 * 1000000}\n accountData={{ ...QBConfig.credentials, sessionToken: session.token }}\n qbConfig={{ ...QBConfig }}\n >\n <Header\n avatarUrl={avatarUrl}\n options={options}\n handleChange={handleChange}\n user={user}\n regex={regex}\n />\n <QuickBloxUIKitDesktopLayout uikitHeightOffset={'40px'} />\n <SettingModal\n user={user}\n avatarUrl={avatarUrl}\n selectedValue={selectedValue}\n setSelectedValue={setSelectedValue}\n regex={regex}\n setUser={setUser}\n />\n <LogoutModal\n selectedValue={selectedValue}\n setSelectedValue={setSelectedValue}\n handleLogout={logout}\n />\n </QuickBloxUIKitProvider>\n );\n};\n\nexport default App;\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"QuickBloxUIKitProvider can accept up to three parameters:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"maxFileSize - controls the maximum size of uploaded files."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"accountData - information about the application's account data."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"loginData - information about the logged-in user."}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Let's add the QuickBlox UIKit chat layer - QuickBloxUIKitDesktopLayout - to the markup of the main component of the application."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"If we do not specify a sessionToken in accountData, it means that the login and session start process occurs within our application. In this case, it is necessary to perform the following fifth step in our instruction.\nHowever, if the session start and application login process is already performed in another application, such as on a server, and we already have a ready sessionToken, then we can skip the next step."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"configure-quickbloxuikitprovider",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-send-your-first-message#step-5-configure-quickbloxuikitprovider",rel:"nofollow",children:"Configure QuickBloxUIKitProvider"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"To configure QuickBloxUIKitProvider and use QuickBloxUIKit in your application, follow these steps:\nInitialize DataContext:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ol,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"To work with QuickBlox, it is necessary to initialize the UI Kit react DataContext. It contains important data and settings for using QuickBloxSDK. The DataContext connects various components of the application and provides them access to shared data."}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"const qbUIKitContext: QBDataContextType = React.useContext(qbDataContext);\n\nconst [isUserAuthorized, setUserAuthorized] = React.useState(false);\nconst [isSDKInitialized, setSDKInitialized] = React.useState(false);\n\nconst prepareSDK = async (): Promise<void> => {\n // check if we have installed SDK\n if ((window as any).QB === undefined) {\n if (QB !== undefined) {\n (window as any).QB = QB;\n } else {\n let QBLib = require('quickblox/quickblox.min');\n (window as any).QB = QBLib;\n }\n }\n\n const APPLICATION_ID = QBConfig.credentials.appId;\n const AUTH_KEY = QBConfig.credentials.authKey;\n const AUTH_SECRET = QBConfig.credentials.authSecret;\n const ACCOUNT_KEY = QBConfig.credentials.accountKey;\n const CONFIG = QBConfig.appConfig;\n\n QB.init(APPLICATION_ID, AUTH_KEY, AUTH_SECRET, ACCOUNT_KEY, CONFIG);\n};\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ol,{start:"2",children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"We need to add user authentication, so to do this, we will introduce two states and use the useEffect hook:"}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"const [authorized, setAuthorized] = React.useState(false);\nconst [initedSDK, setInitedSDK] = React.useState(false);\n\n......\n\n useEffect(() => {\n if (!isSDKInitialized) {\n prepareSDK().then(result => {\n\n QB.createSession(currentUser, async function (errorCreateSession: any, session: any) {\n if (errorCreateSession) {\n console.log('Create User Session has error:', JSON.stringify(errorCreateSession));\n } else {\n const userId: number = session.user_id;\n const password: string = session.token;\n const paramsConnect = { userId, password };\n\n QB.chat.connect(paramsConnect, async function (errorConnect: any, resultConnect: any) {\n if (errorConnect) {\n console.log('Can not connect to chat server: ', errorConnect);\n } else {\n const authData: AuthorizationData = {\n userId: userId,\n password: password,\n userName: currentUser.login,\n sessionToken: session.token\n };\n await qbUIKitContext.authorize(authData);\n setSDKInitialized(true);\n setUserAuthorized(true);\n }\n });\n }\n });\n }).catch(\n e => {\n console.log('init SDK has error: ', e)\n });\n }\n }, []);\n\n ......\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"After implementing all the steps, your App.tsx file should look like this. You can compare it this your code or copy it instead of."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"import React, { useEffect } from 'react';\n\n// @ts-ignore\nimport * as QB from 'quickblox/quickblox';\nimport {\n QuickBloxUIKitProvider,\n qbDataContext,\n QuickBloxUIKitDesktopLayout,\n LoginData,\n AuthorizationData,\n QBDataContextType,\n} from 'quickblox-react-ui-kit';\nimport { QBConfig } from './QBconfig';\nimport './App.css';\n\nfunction App() {\n const currentUser: LoginData = {\n login: '',\n password: '',\n };\n\n const qbUIKitContext: QBDataContextType = React.useContext(qbDataContext);\n\n const [isUserAuthorized, setUserAuthorized] = React.useState(false);\n const [isSDKInitialized, setSDKInitialized] = React.useState(false);\n\n const prepareSDK = async (): Promise<void> => {\n // check if we have installed SDK\n if ((window as any).QB === undefined) {\n if (QB !== undefined) {\n (window as any).QB = QB;\n } else {\n let QBLib = require('quickblox/quickblox.min');\n (window as any).QB = QBLib;\n }\n }\n\n const APPLICATION_ID = QBConfig.credentials.appId;\n const AUTH_KEY = QBConfig.credentials.authKey;\n const AUTH_SECRET = QBConfig.credentials.authSecret;\n const ACCOUNT_KEY = QBConfig.credentials.accountKey;\n const CONFIG = QBConfig.appConfig;\n\n QB.init(APPLICATION_ID, AUTH_KEY, AUTH_SECRET, ACCOUNT_KEY, CONFIG);\n };\n\n useEffect(() => {\n if (!isSDKInitialized) {\n prepareSDK()\n .then((result) => {\n QB.createSession(\n currentUser,\n async function (errorCreateSession: any, session: any) {\n if (errorCreateSession) {\n console.log(\n 'Create User Session has error:',\n JSON.stringify(errorCreateSession),\n );\n } else {\n const userId: number = session.user_id;\n const password: string = session.token;\n const paramsConnect = { userId, password };\n\n QB.chat.connect(\n paramsConnect,\n async function (errorConnect: any, resultConnect: any) {\n if (errorConnect) {\n console.log(\n 'Can not connect to chat server: ',\n errorConnect,\n );\n } else {\n const authData: AuthorizationData = {\n userId: userId,\n password: password,\n userName: currentUser.login,\n sessionToken: session.token,\n };\n await qbUIKitContext.authorize(authData);\n setSDKInitialized(true);\n setUserAuthorized(true);\n }\n },\n );\n }\n },\n );\n })\n .catch((e) => {\n console.log('init SDK has error: ', e);\n });\n }\n }, []);\n\n return (\n <div>\n <QuickBloxUIKitProvider\n maxFileSize={100 * 1000000}\n accountData={{ ...QBConfig.credentials }}\n loginData={{\n login: currentUser.login,\n password: currentUser.password,\n }}\n >\n <div className=\"App\">\n {\n // React states indicating the ability to render UI\n isSDKInitialized && isUserAuthorized ? (\n <QuickBloxUIKitDesktopLayout />\n ) : (\n <div>wait while SDK is initializing...</div>\n )\n }\n </div>\n </QuickBloxUIKitProvider>\n </div>\n );\n}\n\nexport default App;\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"You should run the application using the command:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-bash",children:"npm start\n"})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,_Users_andrii_avriata_Documents_Work_react_ui_kit_private_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkquickblox_react_ui_kit=self.webpackChunkquickblox_react_ui_kit||[]).push([[234],{"./node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>useMDXComponents,x:()=>MDXProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const emptyComponents={},MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(emptyComponents);function useMDXComponents(components){const contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return"function"==typeof components?components(contextComponents):{...contextComponents,...components}}),[contextComponents,components])}function MDXProvider(properties){let allComponents;return allComponents=properties.disableParentContext?"function"==typeof properties.components?properties.components(emptyComponents):properties.components||emptyComponents:useMDXComponents(properties.components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},properties.children)}},"./node_modules/@storybook/blocks/dist sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/blocks/dist sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/components sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/components sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/theming sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/theming sync recursive",module.exports=webpackEmptyContext},"./src/docs/Styling.mdx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_Users_andrii_avriata_Documents_Work_react_ui_kit_private_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs");function _createMdxContent(props){const _components={a:"a",code:"code",h1:"h1",h2:"h2",img:"img",li:"li",p:"p",pre:"pre",ul:"ul",...(0,_Users_andrii_avriata_Documents_Work_react_ui_kit_private_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.W8,{title:"📕 Documentation/Styling"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h1,{id:"customization",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-customization",rel:"nofollow",children:"Customization"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"The QuickBlox UIKit for React allows you to create your own unique view of the UIKit."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"default-themes",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-customization#default-themes",rel:"nofollow",children:"Default themes"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"The QuickBlox UIKit for React has 2 built in themes: Dark and Light."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"color-theme",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"",children:"Color Theme"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.img,{src:"https://files.readme.io/393b8d6-ColorTheme.png",alt:"Image"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Default theme for UIKit is Light.\nTo set theme you need to set value 'dark' to key data-theme in global styles (html[data-theme=\"dark”]).\nFor example, you can use pure JavaScript:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-js",children:"document.documentElement.setAttribute('data-theme', 'dark');\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"use-your-own-theme",children:"Use your own theme"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"There are two options how you can create your own theme:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"Customize current theme using css"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"Create your own theme to customize selected components"}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"To customize the current theme you just need to set the new colors in css variables."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Or you can create your own theme. To do this you need to create a new class that implements the UiKitTheme interface."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"To use your own theme using css you need to create _theme_colors_scheme.scss and set colors"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-scss",children:"$background-overlay-light: rgba(19, 29, 40, 0.8);\n$background-overlay-dark: rgba(144, 151, 159, 0.8);\n$primary-50: #e7efff;\n$primary-100: #c4d7fe;\n$primary-200: #9cbcfe;\n$primary-300: #74a1fd;\n$primary-400: #578cfc;\n$primary-500: #3978fc;\n$primary-600: #3370fc;\n$primary-700: #2c65fb;\n$primary-800: #245bfb;\n$primary-900: #1748fa;\n$primary-a-100: #ffffff;\n$primary-a-200: #f7f9ff;\n$primary-a-400: #c4cfff;\n$primary-a-700: #abbaff;\n$secondary-50: #e4e6e8;\n$secondary-100: #bcc1c5;\n$secondary-200: #90979f;\n$secondary-300: #636d78;\n$secondary-400: #414e5b;\n$secondary-500: #202f3e;\n$secondary-600: #1c2a38;\n$secondary-700: #182330;\n$secondary-800: #131d28;\n$secondary-900: #0b121b;\n$secondary-a-100: #74a1fd;\n$secondary-a-200: #3978fc;\n$secondary-a-400: #245bfb;\n$secondary-a-700: #0050dc;\n$system-green-100: #c8f1d6;\n$system-green-200: #a4e7bb;\n$system-green-300: #80dda0;\n$system-green-400: #64d68b;\n$system-green-500: #49cf77;\n$error-100: #ffc4c1;\n$error-200: #ff9d98;\n$error-300: #ff766e;\n$error-400: #ff584f;\n$error-500: #ff3b30;\n$information: #fdb0ff;\n$highlight: #fffdc1;\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"To use your own new theme colors create _theme_dark.scss and _theme_light.scss files and set color variable."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-scss",children:"// _theme_dark.scss:\n\nhtml[data-theme='dark'] {\n --color-background-info: #{$primary-500};\n --tertiary-elements: #{$background-overlay-dark};\n --main-elements: #{$primary-300};\n --secondary-elements: #{$primary-a-100};\n --input-elements: #{$secondary-200};\n --disabled-elements: #{$secondary-300};\n --field-border: #{$secondary-200};\n --main-text: #{$primary-a-100};\n --secondary-text: #{$secondary-200};\n --caption: #{$secondary-100};\n --main-background: #{$secondary-500};\n --secondary-background: #{$secondary-800};\n --incoming-background: #{$secondary-400};\n --outgoing-background: #{$primary-500};\n --dropdown-background: #{$secondary-400};\n --chat-input: #{$secondary-800};\n --divider: #{$secondary-400};\n --error: #{$error-300};\n --hightlight: #{$highlight};\n}\n\n// _theme_light.scss:\n:root {\n --color-background-info: #{$primary-100};\n --tertiary-elements: #{$secondary-300};\n --main-elements: #{$primary-500};\n --secondary-elements: #{$secondary-500};\n --input-elements: #{$secondary-500};\n --disabled-elements: #{$secondary-100};\n --field-border: #{$secondary-200};\n --main-text: #{$secondary-900};\n --secondary-text: #{$secondary-300};\n --caption: #{$secondary-200};\n --main-background: #{$primary-a-100};\n --secondary-background: #{$primary-a-100};\n --secondary-background-modal: #{$background-overlay-light};\n --incoming-background: #{$secondary-50};\n --outgoing-background: #{$primary-50};\n --dropdown-background: #{$primary-a-100};\n --chat-input: #{$primary-a-200};\n --divider: #{$primary-50};\n --error: #{$error-500};\n --hightlight: #{$highlight};\n}\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"To create your own theme to customize selected components you need to create a new class that implements the UiKitTheme interface."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"//DefaultTheme implements UiKitTheme\nexport default class CustomTheme extends DefaultTheme {\n divider = (): string => 'var(--divider)';\n mainText = (): string => '#FFFFFF';\n fontFamily = (): string => 'Roboto';\n /*\n The DefaultTheme contains other theme methods :\n caption = (): string => 'var(--caption)';\n chatInput = (): string => 'var(--chat-input)';\n disabledElements = (): string => 'var(--disabled-elements)';\n dropdownBackground = (): string => 'var(--dropdown-background)';\n error = (): string => 'var(--error)';\n fieldBorder = (): string => 'var(--field-border)';\n hightlight = (): string => 'var(--hightlight)';\n incomingBackground = (): string => 'var(--incoming-background)';\n inputElements = (): string => 'var(--input-elements)';\n mainBackground = (): string => 'var(--main-background)';\n mainElements = (): string => 'var(--main-elements)';\n outgoingBackground = (): string => 'var(--outgoing-background)';\n secondaryBackground = (): string => 'var(--secondary-background)';\n secondaryElements = (): string => 'var(--secondary-elements)';\n secondaryText = (): string => 'var(--secondary-text)';\n */\n}\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"and specify selected components:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"desktop layout container"}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"<QuickBloxUIKitDesktopLayout theme={new CustomTheme()}>\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h1,{id:"custom-styling",children:"Custom styling"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"We have developed our components with the ability to be customized to individual needs, so each component accepts a prop called className, allowing the user to apply their own styles to the component."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"import { Button } from '../../ui-components';\nimport './style.scss';\n\n<Button className=\"button\">Button</Button>;\n"})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,_Users_andrii_avriata_Documents_Work_react_ui_kit_private_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}}}]);
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
|
2
|
-
<svg width="164" height="164" viewBox="0 0 164 164" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<path d="M22.467 147.762 17.5 15.402a8.062 8.062 0 0 1 7.553-8.35L137.637.016a8.061 8.061 0 0 1 8.565 8.047v144.23a8.063 8.063 0 0 1-8.424 8.054l-107.615-4.833a8.062 8.062 0 0 1-7.695-7.752Z" fill="#FF4785"></path>
|
|
4
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="m128.785.57-15.495.968-.755 18.172a1.203 1.203 0 0 0 1.928 1.008l7.06-5.354 5.962 4.697a1.202 1.202 0 0 0 1.946-.987L128.785.569Zm-12.059 60.856c-2.836 2.203-23.965 3.707-23.965.57.447-11.969-4.912-12.494-7.889-12.494-2.828 0-7.59.855-7.59 7.267 0 6.534 6.96 10.223 15.13 14.553 11.607 6.15 25.654 13.594 25.654 32.326 0 17.953-14.588 27.871-33.194 27.871-19.201 0-35.981-7.769-34.086-34.702.744-3.163 25.156-2.411 25.156 0-.298 11.114 2.232 14.383 8.633 14.383 4.912 0 7.144-2.708 7.144-7.267 0-6.9-7.252-10.973-15.595-15.657C64.827 81.933 51.53 74.468 51.53 57.34c0-17.098 11.76-28.497 32.747-28.497 20.988 0 32.449 11.224 32.449 32.584Z" fill="#fff"></path>
|
|
5
|
-
</svg>
|
|
6
|
-
<style>@media (prefers-color-scheme: light) { :root { filter: none; } }</style>
|
|
7
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:svgjs="http://svgjs.com/svgjs" xmlns:xlink="http://www.w3.org/1999/xlink" width="164" height="164" version="1.1"><svg xmlns="http://www.w3.org/2000/svg" width="164" height="164" fill="none" viewBox="0 0 164 164"><path fill="#FF4785" d="M22.467 147.762 17.5 15.402a8.062 8.062 0 0 1 7.553-8.35L137.637.016a8.061 8.061 0 0 1 8.565 8.047v144.23a8.063 8.063 0 0 1-8.424 8.054l-107.615-4.833a8.062 8.062 0 0 1-7.695-7.752Z"/><path fill="#fff" fill-rule="evenodd" d="m128.785.57-15.495.968-.755 18.172a1.203 1.203 0 0 0 1.928 1.008l7.06-5.354 5.962 4.697a1.202 1.202 0 0 0 1.946-.987L128.785.569Zm-12.059 60.856c-2.836 2.203-23.965 3.707-23.965.57.447-11.969-4.912-12.494-7.889-12.494-2.828 0-7.59.855-7.59 7.267 0 6.534 6.96 10.223 15.13 14.553 11.607 6.15 25.654 13.594 25.654 32.326 0 17.953-14.588 27.871-33.194 27.871-19.201 0-35.981-7.769-34.086-34.702.744-3.163 25.156-2.411 25.156 0-.298 11.114 2.232 14.383 8.633 14.383 4.912 0 7.144-2.708 7.144-7.267 0-6.9-7.252-10.973-15.595-15.657C64.827 81.933 51.53 74.468 51.53 57.34c0-17.098 11.76-28.497 32.747-28.497 20.988 0 32.449 11.224 32.449 32.584Z" clip-rule="evenodd"/></svg><style>@media (prefers-color-scheme:light){:root{filter:none}}</style></svg>
|
|
@@ -1,4 +1,34 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Webpack App</title><meta name="viewport" content="width=device-width,initial-scale=1"><
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Webpack App</title><meta name="viewport" content="width=device-width,initial-scale=1"><style>@font-face {
|
|
2
|
+
font-family: 'Nunito Sans';
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 400;
|
|
5
|
+
font-display: swap;
|
|
6
|
+
src: url('./sb-common-assets/nunito-sans-regular.woff2') format('woff2');
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: 'Nunito Sans';
|
|
11
|
+
font-style: italic;
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
font-display: swap;
|
|
14
|
+
src: url('./sb-common-assets/nunito-sans-italic.woff2') format('woff2');
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@font-face {
|
|
18
|
+
font-family: 'Nunito Sans';
|
|
19
|
+
font-style: normal;
|
|
20
|
+
font-weight: 700;
|
|
21
|
+
font-display: swap;
|
|
22
|
+
src: url('./sb-common-assets/nunito-sans-bold.woff2') format('woff2');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@font-face {
|
|
26
|
+
font-family: 'Nunito Sans';
|
|
27
|
+
font-style: italic;
|
|
28
|
+
font-weight: 700;
|
|
29
|
+
font-display: swap;
|
|
30
|
+
src: url('./sb-common-assets/nunito-sans-bold-italic.woff2') format('woff2');
|
|
31
|
+
}</style><base target="_parent"><style>/* While we aren't showing the main block yet, but still preparing, we want everything the user
|
|
2
32
|
has rendered, which may or may not be in #storybook-root, to be display none */
|
|
3
33
|
.sb-show-preparing-story:not(.sb-show-main) > :not(.sb-preparing-story) {
|
|
4
34
|
display: none;
|
|
@@ -27,7 +57,8 @@
|
|
|
27
57
|
box-sizing: border-box;
|
|
28
58
|
margin: auto;
|
|
29
59
|
padding: 1rem;
|
|
30
|
-
max-height: 100%;
|
|
60
|
+
max-height: 100%;
|
|
61
|
+
/* Hack for centering correctly in IE11 */
|
|
31
62
|
}
|
|
32
63
|
|
|
33
64
|
/* Vertical centering fix for IE11 */
|
|
@@ -58,13 +89,36 @@
|
|
|
58
89
|
bottom: 0;
|
|
59
90
|
left: 0;
|
|
60
91
|
right: 0;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
92
|
+
box-sizing: border-box;
|
|
93
|
+
|
|
94
|
+
padding: 40px;
|
|
95
|
+
font-family:
|
|
96
|
+
'Nunito Sans',
|
|
97
|
+
-apple-system,
|
|
98
|
+
'.SFNSText-Regular',
|
|
99
|
+
'San Francisco',
|
|
100
|
+
BlinkMacSystemFont,
|
|
101
|
+
'Segoe UI',
|
|
102
|
+
'Helvetica Neue',
|
|
103
|
+
Helvetica,
|
|
104
|
+
Arial,
|
|
105
|
+
sans-serif;
|
|
64
106
|
-webkit-font-smoothing: antialiased;
|
|
65
107
|
overflow: auto;
|
|
66
108
|
}
|
|
67
109
|
|
|
110
|
+
@media (max-width: 700px) {
|
|
111
|
+
.sb-wrapper {
|
|
112
|
+
padding: 20px;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@media (max-width: 500px) {
|
|
117
|
+
.sb-wrapper {
|
|
118
|
+
padding: 10px;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
68
122
|
.sb-heading {
|
|
69
123
|
font-size: 14px;
|
|
70
124
|
font-weight: 600;
|
|
@@ -77,6 +131,7 @@
|
|
|
77
131
|
display: flex;
|
|
78
132
|
align-content: center;
|
|
79
133
|
justify-content: center;
|
|
134
|
+
box-sizing: border-box;
|
|
80
135
|
}
|
|
81
136
|
|
|
82
137
|
.sb-nopreview_main {
|
|
@@ -91,54 +146,133 @@
|
|
|
91
146
|
}
|
|
92
147
|
|
|
93
148
|
.sb-errordisplay {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
color: #fff;
|
|
149
|
+
background: #f6f9fc;
|
|
150
|
+
color: black;
|
|
97
151
|
z-index: 999999;
|
|
152
|
+
width: 100vw;
|
|
153
|
+
min-height: 100vh;
|
|
154
|
+
box-sizing: border-box;
|
|
155
|
+
|
|
156
|
+
& ol {
|
|
157
|
+
padding-left: 18px;
|
|
158
|
+
margin: 0;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
& h1 {
|
|
162
|
+
font-family: Nunito Sans;
|
|
163
|
+
font-size: 22px;
|
|
164
|
+
font-weight: 400;
|
|
165
|
+
line-height: 30px;
|
|
166
|
+
font-weight: normal;
|
|
167
|
+
margin: 0;
|
|
168
|
+
|
|
169
|
+
&::before {
|
|
170
|
+
content: '';
|
|
171
|
+
display: inline-block;
|
|
172
|
+
width: 12px;
|
|
173
|
+
height: 12px;
|
|
174
|
+
background: #ff4400;
|
|
175
|
+
border-radius: 50%;
|
|
176
|
+
margin-right: 8px;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
& p,
|
|
181
|
+
& ol {
|
|
182
|
+
font-family: Nunito Sans;
|
|
183
|
+
font-size: 14px;
|
|
184
|
+
font-weight: 400;
|
|
185
|
+
line-height: 19px;
|
|
186
|
+
margin: 0;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
& li + li {
|
|
190
|
+
margin: 0;
|
|
191
|
+
padding: 0;
|
|
192
|
+
padding-top: 12px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
& a {
|
|
196
|
+
color: currentColor;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.sb-errordisplay_main {
|
|
201
|
+
margin: auto;
|
|
202
|
+
padding: 24px;
|
|
203
|
+
display: flex;
|
|
204
|
+
box-sizing: border-box;
|
|
205
|
+
|
|
206
|
+
flex-direction: column;
|
|
207
|
+
min-height: 100%;
|
|
208
|
+
width: 100%;
|
|
209
|
+
border-radius: 6px;
|
|
210
|
+
background: white;
|
|
211
|
+
border: 1px solid #ff0000;
|
|
212
|
+
box-shadow: 0 0 64px rgba(0, 0, 0, 0.1);
|
|
213
|
+
gap: 24px;
|
|
98
214
|
}
|
|
99
215
|
|
|
100
216
|
.sb-errordisplay_code {
|
|
101
217
|
padding: 10px;
|
|
102
|
-
|
|
103
|
-
|
|
218
|
+
flex: 1;
|
|
219
|
+
background: #242424;
|
|
220
|
+
color: #c6c6c6;
|
|
221
|
+
box-sizing: border-box;
|
|
222
|
+
|
|
223
|
+
font-size: 14px;
|
|
224
|
+
font-weight: 400;
|
|
225
|
+
line-height: 19px;
|
|
226
|
+
border-radius: 4px;
|
|
227
|
+
|
|
104
228
|
font-family: 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
|
|
105
229
|
'Lucida Console', Consolas, Monaco, monospace;
|
|
230
|
+
margin: 0;
|
|
231
|
+
overflow: auto;
|
|
106
232
|
}
|
|
107
233
|
|
|
108
234
|
.sb-errordisplay pre {
|
|
109
235
|
white-space: pre-wrap;
|
|
236
|
+
white-space: revert;
|
|
110
237
|
}
|
|
111
238
|
|
|
112
239
|
@-webkit-keyframes sb-rotate360 {
|
|
113
240
|
from {
|
|
114
241
|
transform: rotate(0deg);
|
|
115
242
|
}
|
|
243
|
+
|
|
116
244
|
to {
|
|
117
245
|
transform: rotate(360deg);
|
|
118
246
|
}
|
|
119
247
|
}
|
|
248
|
+
|
|
120
249
|
@keyframes sb-rotate360 {
|
|
121
250
|
from {
|
|
122
251
|
transform: rotate(0deg);
|
|
123
252
|
}
|
|
253
|
+
|
|
124
254
|
to {
|
|
125
255
|
transform: rotate(360deg);
|
|
126
256
|
}
|
|
127
257
|
}
|
|
258
|
+
|
|
128
259
|
@-webkit-keyframes sb-glow {
|
|
129
260
|
0%,
|
|
130
261
|
100% {
|
|
131
262
|
opacity: 1;
|
|
132
263
|
}
|
|
264
|
+
|
|
133
265
|
50% {
|
|
134
266
|
opacity: 0.4;
|
|
135
267
|
}
|
|
136
268
|
}
|
|
269
|
+
|
|
137
270
|
@keyframes sb-glow {
|
|
138
271
|
0%,
|
|
139
272
|
100% {
|
|
140
273
|
opacity: 1;
|
|
141
274
|
}
|
|
275
|
+
|
|
142
276
|
50% {
|
|
143
277
|
opacity: 0.4;
|
|
144
278
|
}
|
|
@@ -201,6 +335,7 @@
|
|
|
201
335
|
height: 14px;
|
|
202
336
|
width: 14px;
|
|
203
337
|
}
|
|
338
|
+
|
|
204
339
|
.sb-previewBlock_icon:last-child {
|
|
205
340
|
margin-left: auto;
|
|
206
341
|
}
|
|
@@ -222,23 +357,28 @@
|
|
|
222
357
|
text-align: left;
|
|
223
358
|
width: 100%;
|
|
224
359
|
}
|
|
360
|
+
|
|
225
361
|
.sb-argstableBlock th:first-of-type,
|
|
226
362
|
.sb-argstableBlock td:first-of-type {
|
|
227
363
|
padding-left: 20px;
|
|
228
364
|
}
|
|
365
|
+
|
|
229
366
|
.sb-argstableBlock th:nth-of-type(2),
|
|
230
367
|
.sb-argstableBlock td:nth-of-type(2) {
|
|
231
368
|
width: 35%;
|
|
232
369
|
}
|
|
370
|
+
|
|
233
371
|
.sb-argstableBlock th:nth-of-type(3),
|
|
234
372
|
.sb-argstableBlock td:nth-of-type(3) {
|
|
235
373
|
width: 15%;
|
|
236
374
|
}
|
|
375
|
+
|
|
237
376
|
.sb-argstableBlock th:last-of-type,
|
|
238
377
|
.sb-argstableBlock td:last-of-type {
|
|
239
378
|
width: 25%;
|
|
240
379
|
padding-right: 20px;
|
|
241
380
|
}
|
|
381
|
+
|
|
242
382
|
.sb-argstableBlock th span,
|
|
243
383
|
.sb-argstableBlock td span {
|
|
244
384
|
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
@@ -248,43 +388,55 @@
|
|
|
248
388
|
box-shadow: none;
|
|
249
389
|
color: transparent;
|
|
250
390
|
}
|
|
391
|
+
|
|
251
392
|
.sb-argstableBlock th {
|
|
252
393
|
padding: 10px 15px;
|
|
253
394
|
}
|
|
254
395
|
|
|
255
396
|
.sb-argstableBlock-body {
|
|
256
397
|
border-radius: 4px;
|
|
257
|
-
box-shadow:
|
|
398
|
+
box-shadow:
|
|
399
|
+
rgba(0, 0, 0, 0.1) 0 1px 3px 1px,
|
|
400
|
+
rgba(0, 0, 0, 0.065) 0 0 0 1px;
|
|
258
401
|
}
|
|
402
|
+
|
|
259
403
|
.sb-argstableBlock-body tr {
|
|
260
404
|
background: transparent;
|
|
261
405
|
overflow: hidden;
|
|
262
406
|
}
|
|
407
|
+
|
|
263
408
|
.sb-argstableBlock-body tr:not(:first-child) {
|
|
264
409
|
border-top: 1px solid #e6e6e6;
|
|
265
410
|
}
|
|
411
|
+
|
|
266
412
|
.sb-argstableBlock-body tr:first-child td:first-child {
|
|
267
413
|
border-top-left-radius: 4px;
|
|
268
414
|
}
|
|
415
|
+
|
|
269
416
|
.sb-argstableBlock-body tr:first-child td:last-child {
|
|
270
417
|
border-top-right-radius: 4px;
|
|
271
418
|
}
|
|
419
|
+
|
|
272
420
|
.sb-argstableBlock-body tr:last-child td:first-child {
|
|
273
421
|
border-bottom-left-radius: 4px;
|
|
274
422
|
}
|
|
423
|
+
|
|
275
424
|
.sb-argstableBlock-body tr:last-child td:last-child {
|
|
276
425
|
border-bottom-right-radius: 4px;
|
|
277
426
|
}
|
|
427
|
+
|
|
278
428
|
.sb-argstableBlock-body td {
|
|
279
429
|
background: #fff;
|
|
280
430
|
padding-bottom: 10px;
|
|
281
431
|
padding-top: 10px;
|
|
282
432
|
vertical-align: top;
|
|
283
433
|
}
|
|
434
|
+
|
|
284
435
|
.sb-argstableBlock-body td:not(:first-of-type) {
|
|
285
436
|
padding-left: 15px;
|
|
286
437
|
padding-right: 15px;
|
|
287
438
|
}
|
|
439
|
+
|
|
288
440
|
.sb-argstableBlock-body button {
|
|
289
441
|
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
290
442
|
animation: sb-glow 1.5s ease-in-out infinite;
|
|
@@ -318,10 +470,10 @@
|
|
|
318
470
|
} catch (e) {
|
|
319
471
|
// eslint-disable-next-line no-console
|
|
320
472
|
console.warn('unable to connect to top frame for connecting dev tools');
|
|
321
|
-
}</script><
|
|
473
|
+
}</script><style>#storybook-root[hidden],
|
|
322
474
|
#storybook-docs[hidden] {
|
|
323
475
|
display: none !important;
|
|
324
|
-
}</style></head><body><div class="sb-preparing-story sb-wrapper"><div class="sb-loader"></div></div><div class="sb-preparing-docs sb-wrapper"><div class="sb-previewBlock"><div class="sb-previewBlock_header"><div class="sb-previewBlock_icon"></div><div class="sb-previewBlock_icon"></div><div class="sb-previewBlock_icon"></div><div class="sb-previewBlock_icon"></div></div><div class="sb-previewBlock_body"><div class="sb-loader"></div></div></div><table aria-hidden="true" class="sb-argstableBlock"><thead class="sb-argstableBlock-head"><tr><th><span>Name</span></th><th><span>Description</span></th><th><span>Default</span></th><th><span>Control</span></th></tr></thead><tbody class="sb-argstableBlock-body"><tr><td><span>propertyName</span><span title="Required">*</span></td><td><div><span>This is a short description</span></div><div class="sb-argstableBlock-summary"><div><span class="sb-argstableBlock-code">summary</span></div></div></td><td><div><span class="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr><tr><td><span>propertyName</span><span>*</span></td><td><div><span>This is a short description</span></div><div class="sb-argstableBlock-summary"><div><span class="sb-argstableBlock-code">summary</span></div></div></td><td><div><span class="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr><tr><td><span>propertyName</span><span>*</span></td><td><div><span>This is a short description</span></div><div class="sb-argstableBlock-summary"><div><span class="sb-argstableBlock-code">summary</span></div></div></td><td><div><span class="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr></tbody></table></div><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><
|
|
476
|
+
}</style></head><body><div class="sb-preparing-story sb-wrapper"><div class="sb-loader"></div></div><div class="sb-preparing-docs sb-wrapper"><div class="sb-previewBlock"><div class="sb-previewBlock_header"><div class="sb-previewBlock_icon"></div><div class="sb-previewBlock_icon"></div><div class="sb-previewBlock_icon"></div><div class="sb-previewBlock_icon"></div></div><div class="sb-previewBlock_body"><div class="sb-loader"></div></div></div><table aria-hidden="true" class="sb-argstableBlock"><thead class="sb-argstableBlock-head"><tr><th><span>Name</span></th><th><span>Description</span></th><th><span>Default</span></th><th><span>Control</span></th></tr></thead><tbody class="sb-argstableBlock-body"><tr><td><span>propertyName</span><span title="Required">*</span></td><td><div><span>This is a short description</span></div><div class="sb-argstableBlock-summary"><div><span class="sb-argstableBlock-code">summary</span></div></div></td><td><div><span class="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr><tr><td><span>propertyName</span><span>*</span></td><td><div><span>This is a short description</span></div><div class="sb-argstableBlock-summary"><div><span class="sb-argstableBlock-code">summary</span></div></div></td><td><div><span class="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr><tr><td><span>propertyName</span><span>*</span></td><td><div><span>This is a short description</span></div><div class="sb-argstableBlock-summary"><div><span class="sb-argstableBlock-code">summary</span></div></div></td><td><div><span class="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr></tbody></table></div><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><div class="sb-errordisplay_main"><h1 id="error-message"></h1><p>The component failed to render properly, likely due to a configuration issue in Storybook. Here are some common causes and how you can address them:</p><ol><li><strong>Missing Context/Providers</strong>: You can use decorators to supply specific contexts or providers, which are sometimes necessary for components to render correctly. For detailed instructions on using decorators, please visit the <a href="https://storybook.js.org/docs/writing-stories/decorators">Decorators documentation</a>.</li><li><strong>Misconfigured Webpack or Vite</strong>: Verify that Storybook picks up all necessary settings for loaders, plugins, and other relevant parameters. You can find step-by-step guides for configuring <a href="https://storybook.js.org/docs/builders/webpack">Webpack</a> or <a href="https://storybook.js.org/docs/builders/vite">Vite</a> with Storybook.</li><li><strong>Missing Environment Variables</strong>: Your Storybook may require specific environment variables to function as intended. You can set up custom environment variables as outlined in the <a href="https://storybook.js.org/docs/configure/environment-variables">Environment Variables documentation</a>.</li></ol><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div></div><div id="storybook-root"></div><div id="storybook-docs"></div><script>window['CONFIG_TYPE'] = "PRODUCTION";
|
|
325
477
|
|
|
326
478
|
|
|
327
479
|
|
|
@@ -329,13 +481,13 @@
|
|
|
329
481
|
|
|
330
482
|
|
|
331
483
|
|
|
332
|
-
window['FRAMEWORK_OPTIONS'] = {
|
|
484
|
+
window['FRAMEWORK_OPTIONS'] = {};
|
|
333
485
|
|
|
334
486
|
|
|
335
487
|
|
|
336
488
|
|
|
337
489
|
|
|
338
|
-
window['FEATURES'] = {"
|
|
490
|
+
window['FEATURES'] = {"argTypeTargetsV7":true,"legacyDecoratorFileOrder":false,"disallowImplicitActionsInRenderV8":true};
|
|
339
491
|
|
|
340
492
|
|
|
341
493
|
|
|
@@ -345,11 +497,15 @@
|
|
|
345
497
|
|
|
346
498
|
|
|
347
499
|
|
|
348
|
-
window['DOCS_OPTIONS'] = {"defaultName":"Docs","autodocs":"tag"}
|
|
500
|
+
window['DOCS_OPTIONS'] = {"defaultName":"Docs","autodocs":"tag"};
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
window['TAGS_OPTIONS'] = {"dev-only":{"excludeFromDocsStories":true},"docs-only":{"excludeFromSidebar":true},"test-only":{"excludeFromSidebar":true,"excludeFromDocsStories":true}};</script><script type="module">import './sb-preview/runtime.js';
|
|
349
505
|
|
|
350
506
|
|
|
351
|
-
import './runtime~main.
|
|
507
|
+
import './runtime~main.b33364cd.iframe.bundle.js';
|
|
352
508
|
|
|
353
|
-
import './
|
|
509
|
+
import './756.92971caf.iframe.bundle.js';
|
|
354
510
|
|
|
355
|
-
import './main.
|
|
511
|
+
import './main.4f17bc46.iframe.bundle.js';</script></body></html>
|