quickblox-react-ui-kit 0.4.6-beta.3 → 0.4.6-beta.4

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.
Files changed (149) hide show
  1. package/.env +1 -0
  2. package/dist/index-ui.js +93 -94
  3. package/dist/index-ui.js.map +1 -1
  4. package/package.json +1 -1
  5. package/src/Data/source/remote/Mapper/DialogDTOMapper.ts +8 -10
  6. package/src/Data/source/remote/Mapper/MessageDTOMapper.ts +4 -3
  7. package/src/Data/source/remote/RemoteDataSource.ts +7 -1
  8. package/src/Domain/use_cases/GetUsersByIdsUseCase.ts +4 -6
  9. package/src/Presentation/Views/Flow/CreateDialog/CreateDialog.tsx +14 -13
  10. package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.scss +1 -3
  11. package/src/Presentation/components/UI/Placeholders/LoaderComponent/LoaderComponent.tsx +3 -3
  12. package/src/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.tsx +6 -5
  13. package/src/Presentation/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider.tsx +2 -2
  14. package/src/Presentation/ui-components/Avatar/Avatar.scss +1 -1
  15. package/src/Presentation/ui-components/Avatar/Avatar.tsx +5 -3
  16. package/src/Presentation/ui-components/Badge/Badge.scss +1 -1
  17. package/src/Presentation/ui-components/Badge/Badge.tsx +1 -1
  18. package/src/Presentation/ui-components/Button/Button.scss +5 -5
  19. package/src/Presentation/ui-components/Button/Button.tsx +3 -3
  20. package/src/Presentation/ui-components/CheckBox/CheckBox.scss +1 -1
  21. package/src/Presentation/ui-components/CheckBox/CheckBox.tsx +1 -1
  22. package/src/Presentation/ui-components/Loader/Loader.scss +1 -1
  23. package/src/Presentation/ui-components/Loader/Loader.tsx +3 -1
  24. package/src/Presentation/ui-components/Message/Message.tsx +21 -27
  25. package/src/Presentation/ui-components/TextField/TextField.scss +1 -1
  26. package/src/Presentation/ui-components/TextField/TextField.tsx +8 -8
  27. package/src/Presentation/ui-components/Toast/Toast.scss +1 -1
  28. package/src/Presentation/ui-components/Toast/ToastProvider.tsx +2 -2
  29. package/src/QBconfig.ts +7 -7
  30. package/storybook-static/161.53da4e03.iframe.bundle.js +2 -0
  31. package/storybook-static/161.53da4e03.iframe.bundle.js.LICENSE.txt +9 -0
  32. package/storybook-static/167.88fc69a9.iframe.bundle.js +1 -0
  33. package/storybook-static/217.3c66ff1e.iframe.bundle.js +405 -0
  34. package/storybook-static/217.3c66ff1e.iframe.bundle.js.LICENSE.txt +9 -0
  35. package/storybook-static/217.3c66ff1e.iframe.bundle.js.map +1 -0
  36. package/storybook-static/294.b81cdbca.iframe.bundle.js +1 -0
  37. package/storybook-static/363.2cb21716.iframe.bundle.js +2 -0
  38. package/storybook-static/363.2cb21716.iframe.bundle.js.LICENSE.txt +44 -0
  39. package/storybook-static/364.988cd801.iframe.bundle.js +1 -0
  40. package/storybook-static/488.3cd3942e.iframe.bundle.js +1 -0
  41. package/storybook-static/559.9e64a6f5.iframe.bundle.js +2 -0
  42. package/storybook-static/559.9e64a6f5.iframe.bundle.js.LICENSE.txt +5 -0
  43. package/storybook-static/735.82f96f8a.iframe.bundle.js +2 -0
  44. package/storybook-static/735.82f96f8a.iframe.bundle.js.LICENSE.txt +9 -0
  45. package/storybook-static/844.6041e1a5.iframe.bundle.js +95 -0
  46. package/storybook-static/844.6041e1a5.iframe.bundle.js.LICENSE.txt +19 -0
  47. package/storybook-static/844.6041e1a5.iframe.bundle.js.map +1 -0
  48. package/storybook-static/936.8546c1d8.iframe.bundle.js +1 -0
  49. package/storybook-static/961.c94da456.iframe.bundle.js +2 -0
  50. package/storybook-static/961.c94da456.iframe.bundle.js.LICENSE.txt +9 -0
  51. package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.b363e9a1.iframe.bundle.js +2 -0
  52. package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.b363e9a1.iframe.bundle.js.LICENSE.txt +5 -0
  53. package/storybook-static/Presentation-ui-components-Badge-Badge-stories.85dd97b0.iframe.bundle.js +2 -0
  54. package/storybook-static/Presentation-ui-components-Badge-Badge-stories.85dd97b0.iframe.bundle.js.LICENSE.txt +5 -0
  55. package/storybook-static/Presentation-ui-components-Button-Button-stories.1e4ae2b4.iframe.bundle.js +2 -0
  56. package/storybook-static/Presentation-ui-components-Button-Button-stories.1e4ae2b4.iframe.bundle.js.LICENSE.txt +5 -0
  57. package/storybook-static/Presentation-ui-components-DialogBanner-DialogBanner-stories.cd797979.iframe.bundle.js +1 -0
  58. package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.4e25a94d.iframe.bundle.js +2 -0
  59. package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.4e25a94d.iframe.bundle.js.LICENSE.txt +5 -0
  60. package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.e22e8be5.iframe.bundle.js +2 -0
  61. package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.e22e8be5.iframe.bundle.js.LICENSE.txt +15 -0
  62. package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.8321872b.iframe.bundle.js +2 -0
  63. package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.8321872b.iframe.bundle.js.LICENSE.txt +5 -0
  64. package/storybook-static/Presentation-ui-components-Header-Header-stories.1cff200a.iframe.bundle.js +2 -0
  65. package/storybook-static/Presentation-ui-components-Header-Header-stories.1cff200a.iframe.bundle.js.LICENSE.txt +5 -0
  66. package/storybook-static/Presentation-ui-components-Loader-Loader-stories.7391dde4.iframe.bundle.js +2 -0
  67. package/storybook-static/Presentation-ui-components-Loader-Loader-stories.7391dde4.iframe.bundle.js.LICENSE.txt +5 -0
  68. package/storybook-static/Presentation-ui-components-Message-Message-stories.49f0dbbf.iframe.bundle.js +2 -0
  69. package/storybook-static/Presentation-ui-components-Message-Message-stories.49f0dbbf.iframe.bundle.js.LICENSE.txt +5 -0
  70. package/storybook-static/Presentation-ui-components-MessageInput-MessageInput-stories.4aa88de3.iframe.bundle.js +1 -0
  71. package/storybook-static/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.b927d1e1.iframe.bundle.js +1 -0
  72. package/storybook-static/Presentation-ui-components-Placeholder-Placeholder-stories.34dfadb1.iframe.bundle.js +2 -0
  73. package/storybook-static/Presentation-ui-components-Placeholder-Placeholder-stories.34dfadb1.iframe.bundle.js.LICENSE.txt +5 -0
  74. package/storybook-static/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.9b4eff15.iframe.bundle.js +2 -0
  75. package/storybook-static/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.9b4eff15.iframe.bundle.js.LICENSE.txt +5 -0
  76. package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.d74853ab.iframe.bundle.js +2 -0
  77. package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.d74853ab.iframe.bundle.js.LICENSE.txt +5 -0
  78. package/storybook-static/Presentation-ui-components-TextField-TextField-stories.19812f7d.iframe.bundle.js +2 -0
  79. package/storybook-static/Presentation-ui-components-TextField-TextField-stories.19812f7d.iframe.bundle.js.LICENSE.txt +5 -0
  80. package/storybook-static/Presentation-ui-components-Toast-Toast-stories.5e19f10e.iframe.bundle.js +1 -0
  81. package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.d2f60e13.iframe.bundle.js +2 -0
  82. package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.d2f60e13.iframe.bundle.js.LICENSE.txt +5 -0
  83. package/storybook-static/docs-Introduction-mdx.5addfa61.iframe.bundle.js +1 -0
  84. package/storybook-static/docs-Styling-mdx.9f4235f1.iframe.bundle.js +1 -0
  85. package/storybook-static/favicon.svg +1 -7
  86. package/storybook-static/iframe.html +511 -0
  87. package/storybook-static/index.html +100 -46
  88. package/storybook-static/index.json +1 -1
  89. package/storybook-static/main.59f682e8.iframe.bundle.js +1 -0
  90. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  91. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  92. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  93. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  94. package/storybook-static/project.json +1 -1
  95. package/storybook-static/runtime~main.5a7ba727.iframe.bundle.js +1 -0
  96. package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js +331 -0
  97. package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt +51 -0
  98. package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js +3 -0
  99. package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js +12 -0
  100. package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js +402 -0
  101. package/storybook-static/sb-addons/essentials-docs-4/manager-bundle.js +242 -0
  102. package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js +3 -0
  103. package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js +3 -0
  104. package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js +3 -0
  105. package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js +3 -0
  106. package/storybook-static/sb-addons/interactions-11/manager-bundle.js +222 -0
  107. package/storybook-static/sb-addons/onboarding-1/manager-bundle.js +127 -0
  108. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
  109. package/storybook-static/sb-common-assets/favicon.svg +1 -0
  110. package/storybook-static/sb-manager/globals-module-info.js +1051 -1
  111. package/storybook-static/sb-manager/globals-runtime.js +41591 -0
  112. package/storybook-static/sb-manager/globals.js +48 -1
  113. package/storybook-static/sb-manager/runtime.js +12048 -1
  114. package/storybook-static/sb-preview/globals.js +33 -1
  115. package/storybook-static/sb-preview/runtime.js +7723 -90
  116. package/storybook-static/favicon.ico +0 -0
  117. package/storybook-static/logo192.png +0 -0
  118. package/storybook-static/logo512.png +0 -0
  119. package/storybook-static/manifest.json +0 -25
  120. package/storybook-static/robots.txt +0 -3
  121. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +0 -3
  122. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
  123. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +0 -12
  124. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
  125. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +0 -62
  126. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -18
  127. package/storybook-static/sb-addons/essentials-measure-5/manager-bundle.js +0 -3
  128. package/storybook-static/sb-addons/essentials-measure-5/manager-bundle.js.LEGAL.txt +0 -0
  129. package/storybook-static/sb-addons/essentials-outline-6/manager-bundle.js +0 -3
  130. package/storybook-static/sb-addons/essentials-outline-6/manager-bundle.js.LEGAL.txt +0 -0
  131. package/storybook-static/sb-addons/essentials-toolbars-4/manager-bundle.js +0 -3
  132. package/storybook-static/sb-addons/essentials-toolbars-4/manager-bundle.js.LEGAL.txt +0 -0
  133. package/storybook-static/sb-addons/interactions-7/manager-bundle.js +0 -12
  134. package/storybook-static/sb-addons/interactions-7/manager-bundle.js.LEGAL.txt +0 -0
  135. package/storybook-static/sb-addons/links-0/manager-bundle.js +0 -3
  136. package/storybook-static/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
  137. package/storybook-static/sb-addons/viewport-8/manager-bundle.js +0 -3
  138. package/storybook-static/sb-addons/viewport-8/manager-bundle.js.LEGAL.txt +0 -0
  139. package/storybook-static/sb-common-assets/fonts.css +0 -31
  140. package/storybook-static/sb-manager/WithTooltip-V3YHNWJZ-MXTFSDU5.js +0 -1
  141. package/storybook-static/sb-manager/chunk-5QAFKPS7.js +0 -7
  142. package/storybook-static/sb-manager/chunk-7PRFHFSS.js +0 -9
  143. package/storybook-static/sb-manager/chunk-XE6LDGTE.js +0 -406
  144. package/storybook-static/sb-manager/chunk-YDUB7CS6.js +0 -348
  145. package/storybook-static/sb-manager/chunk-ZEU7PDD3.js +0 -1
  146. package/storybook-static/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js +0 -156
  147. package/storybook-static/sb-manager/index.js +0 -1
  148. package/storybook-static/sb-manager/syntaxhighlighter-MJWPISIS-JOSCT6CQ.js +0 -1
  149. package/storybook-static/stories.json +0 -1
@@ -1 +0,0 @@
1
- var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __require=(x=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(x,{get:(a,b)=>(typeof require<"u"?require:a)[b]}):x)(function(x){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+x+'" is not supported')});var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod)),__toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var require_memoizerific=__commonJS({"../../node_modules/memoizerific/memoizerific.js"(exports,module){(function(f){if(typeof exports=="object"&&typeof module<"u")module.exports=f();else if(typeof define=="function"&&define.amd)define([],f);else{var g;typeof window<"u"?g=window:typeof global<"u"?g=global:typeof self<"u"?g=self:g=this,g.memoizerific=f()}})(function(){var define2,module2,exports2;return function e(t,n,r){function s(o2,u){if(!n[o2]){if(!t[o2]){var a=typeof __require=="function"&&__require;if(!u&&a)return a(o2,!0);if(i)return i(o2,!0);var f=new Error("Cannot find module '"+o2+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o2]={exports:{}};t[o2][0].call(l.exports,function(e2){var n2=t[o2][1][e2];return s(n2||e2)},l,l.exports,e,t,n,r)}return n[o2].exports}for(var i=typeof __require=="function"&&__require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(_dereq_,module3,exports3){module3.exports=function(forceSimilar){if(typeof Map!="function"||forceSimilar){var Similar=_dereq_("./similar");return new Similar}else return new Map}},{"./similar":2}],2:[function(_dereq_,module3,exports3){function Similar(){return this.list=[],this.lastItem=void 0,this.size=0,this}Similar.prototype.get=function(key){var index;if(this.lastItem&&this.isEqual(this.lastItem.key,key))return this.lastItem.val;if(index=this.indexOf(key),index>=0)return this.lastItem=this.list[index],this.list[index].val},Similar.prototype.set=function(key,val){var index;return this.lastItem&&this.isEqual(this.lastItem.key,key)?(this.lastItem.val=val,this):(index=this.indexOf(key),index>=0?(this.lastItem=this.list[index],this.list[index].val=val,this):(this.lastItem={key,val},this.list.push(this.lastItem),this.size++,this))},Similar.prototype.delete=function(key){var index;if(this.lastItem&&this.isEqual(this.lastItem.key,key)&&(this.lastItem=void 0),index=this.indexOf(key),index>=0)return this.size--,this.list.splice(index,1)[0]},Similar.prototype.has=function(key){var index;return this.lastItem&&this.isEqual(this.lastItem.key,key)?!0:(index=this.indexOf(key),index>=0?(this.lastItem=this.list[index],!0):!1)},Similar.prototype.forEach=function(callback,thisArg){var i;for(i=0;i<this.size;i++)callback.call(thisArg||this,this.list[i].val,this.list[i].key,this)},Similar.prototype.indexOf=function(key){var i;for(i=0;i<this.size;i++)if(this.isEqual(this.list[i].key,key))return i;return-1},Similar.prototype.isEqual=function(val1,val2){return val1===val2||val1!==val1&&val2!==val2},module3.exports=Similar},{}],3:[function(_dereq_,module3,exports3){var MapOrSimilar=_dereq_("map-or-similar");module3.exports=function(limit){var cache=new MapOrSimilar(!1),lru=[];return function(fn){var memoizerific=function(){var currentCache=cache,newMap,fnResult,argsLengthMinusOne=arguments.length-1,lruPath=Array(argsLengthMinusOne+1),isMemoized=!0,i;if((memoizerific.numArgs||memoizerific.numArgs===0)&&memoizerific.numArgs!==argsLengthMinusOne+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(i=0;i<argsLengthMinusOne;i++){if(lruPath[i]={cacheItem:currentCache,arg:arguments[i]},currentCache.has(arguments[i])){currentCache=currentCache.get(arguments[i]);continue}isMemoized=!1,newMap=new MapOrSimilar(!1),currentCache.set(arguments[i],newMap),currentCache=newMap}return isMemoized&&(currentCache.has(arguments[argsLengthMinusOne])?fnResult=currentCache.get(arguments[argsLengthMinusOne]):isMemoized=!1),isMemoized||(fnResult=fn.apply(null,arguments),currentCache.set(arguments[argsLengthMinusOne],fnResult)),limit>0&&(lruPath[argsLengthMinusOne]={cacheItem:currentCache,arg:arguments[argsLengthMinusOne]},isMemoized?moveToMostRecentLru(lru,lruPath):lru.push(lruPath),lru.length>limit&&removeCachedResult(lru.shift())),memoizerific.wasMemoized=isMemoized,memoizerific.numArgs=argsLengthMinusOne+1,fnResult};return memoizerific.limit=limit,memoizerific.wasMemoized=!1,memoizerific.cache=cache,memoizerific.lru=lru,memoizerific}};function moveToMostRecentLru(lru,lruPath){var lruLen=lru.length,lruPathLen=lruPath.length,isMatch,i,ii;for(i=0;i<lruLen;i++){for(isMatch=!0,ii=0;ii<lruPathLen;ii++)if(!isEqual(lru[i][ii].arg,lruPath[ii].arg)){isMatch=!1;break}if(isMatch)break}lru.push(lru.splice(i,1)[0])}function removeCachedResult(removedLru){var removedLruLen=removedLru.length,currentLru=removedLru[removedLruLen-1],tmp,i;for(currentLru.cacheItem.delete(currentLru.arg),i=removedLruLen-2;i>=0&&(currentLru=removedLru[i],tmp=currentLru.cacheItem.get(currentLru.arg),!tmp||!tmp.size);i--)currentLru.cacheItem.delete(currentLru.arg)}function isEqual(val1,val2){return val1===val2||val1!==val1&&val2!==val2}},{"map-or-similar":1}]},{},[3])(3)})}});var __create2=Object.create,__defProp2=Object.defineProperty,__getOwnPropDesc2=Object.getOwnPropertyDescriptor,__getOwnPropNames2=Object.getOwnPropertyNames,__getProtoOf2=Object.getPrototypeOf,__hasOwnProp2=Object.prototype.hasOwnProperty,__commonJS2=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames2(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports},__copyProps2=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames2(from))!__hasOwnProp2.call(to,key)&&key!==except&&__defProp2(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc2(from,key))||desc.enumerable});return to},__toESM2=(mod,isNodeMode,target)=>(target=mod!=null?__create2(__getProtoOf2(mod)):{},__copyProps2(isNodeMode||!mod||!mod.__esModule?__defProp2(target,"default",{value:mod,enumerable:!0}):target,mod));export{__esm,__commonJS,__export,__toESM,__toCommonJS,require_memoizerific,__commonJS2,__toESM2};