@selfcommunity/react-core 0.4.1-alpha.3 → 0.4.1-alpha.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 (89) hide show
  1. package/lib/cjs/components/provider/SCAlertMessagesProvider/index.d.ts +1 -1
  2. package/lib/cjs/components/provider/SCAlertMessagesProvider/index.js +1 -1
  3. package/lib/cjs/components/provider/SCContextProvider/index.d.ts +1 -1
  4. package/lib/cjs/components/provider/SCContextProvider/index.js +1 -1
  5. package/lib/cjs/components/provider/SCLocaleProvider/index.d.ts +1 -1
  6. package/lib/cjs/components/provider/SCLocaleProvider/index.js +1 -1
  7. package/lib/cjs/components/provider/SCNotificationProvider/index.d.ts +1 -1
  8. package/lib/cjs/components/provider/SCNotificationProvider/index.js +1 -1
  9. package/lib/cjs/components/provider/SCPreferencesProvider/index.d.ts +1 -1
  10. package/lib/cjs/components/provider/SCPreferencesProvider/index.js +1 -1
  11. package/lib/cjs/components/provider/SCRoutingProvider/index.d.ts +1 -1
  12. package/lib/cjs/components/provider/SCRoutingProvider/index.js +1 -1
  13. package/lib/cjs/components/provider/SCThemeProvider/index.d.ts +1 -1
  14. package/lib/cjs/components/provider/SCThemeProvider/index.js +1 -1
  15. package/lib/cjs/components/provider/SCUserProvider/index.d.ts +1 -1
  16. package/lib/cjs/components/provider/SCUserProvider/index.js +1 -1
  17. package/lib/cjs/components/provider/SCVoteProvider/index.d.ts +1 -1
  18. package/lib/cjs/components/provider/SCVoteProvider/index.js +1 -1
  19. package/lib/cjs/components/router/index.d.ts +1 -1
  20. package/lib/cjs/components/router/index.js +1 -1
  21. package/lib/cjs/hooks/useSCAuth.d.ts +1 -1
  22. package/lib/cjs/hooks/useSCAuth.js +1 -1
  23. package/lib/cjs/hooks/useSCBlockedUsersManager.d.ts +1 -1
  24. package/lib/cjs/hooks/useSCBlockedUsersManager.js +1 -1
  25. package/lib/cjs/hooks/useSCConnectionsManager.d.ts +1 -1
  26. package/lib/cjs/hooks/useSCConnectionsManager.js +1 -1
  27. package/lib/cjs/hooks/useSCFetchBroadcastMessages.d.ts +1 -1
  28. package/lib/cjs/hooks/useSCFetchBroadcastMessages.js +1 -1
  29. package/lib/cjs/hooks/useSCFetchCategories.d.ts +1 -1
  30. package/lib/cjs/hooks/useSCFetchCategories.js +1 -1
  31. package/lib/cjs/hooks/useSCFetchPrivateMessageSnippets.d.ts +1 -1
  32. package/lib/cjs/hooks/useSCFetchPrivateMessageSnippets.js +1 -1
  33. package/lib/cjs/hooks/useSCFollowedCategoriesManager.d.ts +1 -1
  34. package/lib/cjs/hooks/useSCFollowedCategoriesManager.js +1 -1
  35. package/lib/cjs/hooks/useSCFollowedManager.d.ts +1 -1
  36. package/lib/cjs/hooks/useSCFollowedManager.js +1 -1
  37. package/lib/cjs/hooks/useSCFollowersManager.d.ts +1 -1
  38. package/lib/cjs/hooks/useSCFollowersManager.js +1 -1
  39. package/lib/cjs/hooks/useSCSettingsManager.d.ts +1 -1
  40. package/lib/cjs/hooks/useSCSettingsManager.js +1 -1
  41. package/lib/cjs/hooks/useSCSubscribedIncubatorsManager.d.ts +1 -1
  42. package/lib/cjs/hooks/useSCSubscribedIncubatorsManager.js +1 -1
  43. package/lib/cjs/hooks/useSCUserIsBlocked.d.ts +1 -1
  44. package/lib/cjs/hooks/useSCUserIsBlocked.js +1 -1
  45. package/lib/esm/components/provider/SCAlertMessagesProvider/index.d.ts +1 -1
  46. package/lib/esm/components/provider/SCAlertMessagesProvider/index.js +1 -1
  47. package/lib/esm/components/provider/SCContextProvider/index.d.ts +1 -1
  48. package/lib/esm/components/provider/SCContextProvider/index.js +1 -1
  49. package/lib/esm/components/provider/SCLocaleProvider/index.d.ts +1 -1
  50. package/lib/esm/components/provider/SCLocaleProvider/index.js +1 -1
  51. package/lib/esm/components/provider/SCNotificationProvider/index.d.ts +1 -1
  52. package/lib/esm/components/provider/SCNotificationProvider/index.js +1 -1
  53. package/lib/esm/components/provider/SCPreferencesProvider/index.d.ts +1 -1
  54. package/lib/esm/components/provider/SCPreferencesProvider/index.js +1 -1
  55. package/lib/esm/components/provider/SCRoutingProvider/index.d.ts +1 -1
  56. package/lib/esm/components/provider/SCRoutingProvider/index.js +1 -1
  57. package/lib/esm/components/provider/SCThemeProvider/index.d.ts +1 -1
  58. package/lib/esm/components/provider/SCThemeProvider/index.js +1 -1
  59. package/lib/esm/components/provider/SCUserProvider/index.d.ts +1 -1
  60. package/lib/esm/components/provider/SCUserProvider/index.js +1 -1
  61. package/lib/esm/components/provider/SCVoteProvider/index.d.ts +1 -1
  62. package/lib/esm/components/provider/SCVoteProvider/index.js +1 -1
  63. package/lib/esm/components/router/index.d.ts +1 -1
  64. package/lib/esm/components/router/index.js +1 -1
  65. package/lib/esm/hooks/useSCAuth.d.ts +1 -1
  66. package/lib/esm/hooks/useSCAuth.js +1 -1
  67. package/lib/esm/hooks/useSCBlockedUsersManager.d.ts +1 -1
  68. package/lib/esm/hooks/useSCBlockedUsersManager.js +1 -1
  69. package/lib/esm/hooks/useSCConnectionsManager.d.ts +1 -1
  70. package/lib/esm/hooks/useSCConnectionsManager.js +1 -1
  71. package/lib/esm/hooks/useSCFetchBroadcastMessages.d.ts +1 -1
  72. package/lib/esm/hooks/useSCFetchBroadcastMessages.js +1 -1
  73. package/lib/esm/hooks/useSCFetchCategories.d.ts +1 -1
  74. package/lib/esm/hooks/useSCFetchCategories.js +1 -1
  75. package/lib/esm/hooks/useSCFetchPrivateMessageSnippets.d.ts +1 -1
  76. package/lib/esm/hooks/useSCFetchPrivateMessageSnippets.js +1 -1
  77. package/lib/esm/hooks/useSCFollowedCategoriesManager.d.ts +1 -1
  78. package/lib/esm/hooks/useSCFollowedCategoriesManager.js +2 -2
  79. package/lib/esm/hooks/useSCFollowedManager.d.ts +1 -1
  80. package/lib/esm/hooks/useSCFollowedManager.js +1 -1
  81. package/lib/esm/hooks/useSCFollowersManager.d.ts +1 -1
  82. package/lib/esm/hooks/useSCFollowersManager.js +1 -1
  83. package/lib/esm/hooks/useSCSettingsManager.d.ts +1 -1
  84. package/lib/esm/hooks/useSCSettingsManager.js +1 -1
  85. package/lib/esm/hooks/useSCSubscribedIncubatorsManager.d.ts +1 -1
  86. package/lib/esm/hooks/useSCSubscribedIncubatorsManager.js +2 -2
  87. package/lib/esm/hooks/useSCUserIsBlocked.d.ts +1 -1
  88. package/lib/esm/hooks/useSCUserIsBlocked.js +1 -1
  89. package/package.json +3 -3
@@ -3,7 +3,7 @@ import { SCAlertMessagesContextType } from '../../../types';
3
3
  /**
4
4
  * Creates Global Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
  ```jsx
8
8
  1. <SCAlertMessagesContext.Consumer>{(options,) => (...)}</SCAlertMessagesContext.Consumer>
9
9
  ```
@@ -7,7 +7,7 @@ const notistack_1 = require("notistack");
7
7
  /**
8
8
  * Creates Global Context
9
9
  *
10
- :::tipContext can be consumed in one of the following ways:
10
+ :::tip Context can be consumed in one of the following ways:
11
11
  ```jsx
12
12
  1. <SCAlertMessagesContext.Consumer>{(options,) => (...)}</SCAlertMessagesContext.Consumer>
13
13
  ```
@@ -3,7 +3,7 @@ import { SCContextProviderType, SCContextType } from '../../../types';
3
3
  /**
4
4
  * Creates Global Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
  ```jsx
8
8
  1. <SCContext.Consumer>{settings => (...)}</SCContext.Consumer>
9
9
  ```
@@ -10,7 +10,7 @@ const useIsComponentMountedRef_1 = tslib_1.__importDefault(require("../../../uti
10
10
  /**
11
11
  * Creates Global Context
12
12
  *
13
- :::tipContext can be consumed in one of the following ways:
13
+ :::tip Context can be consumed in one of the following ways:
14
14
  ```jsx
15
15
  1. <SCContext.Consumer>{settings => (...)}</SCContext.Consumer>
16
16
  ```
@@ -3,7 +3,7 @@ import { SCLocaleContextType } from '../../../types';
3
3
  /**
4
4
  * Creates Global Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
 
8
8
  ```jsx
9
9
  1. <SCLocaleContext.Consumer>{(locale,) => (...)}</SCLocaleContext.Consumer>
@@ -13,7 +13,7 @@ const use_deep_compare_effect_1 = require("use-deep-compare-effect");
13
13
  /**
14
14
  * Creates Global Context
15
15
  *
16
- :::tipContext can be consumed in one of the following ways:
16
+ :::tip Context can be consumed in one of the following ways:
17
17
 
18
18
  ```jsx
19
19
  1. <SCLocaleContext.Consumer>{(locale,) => (...)}</SCLocaleContext.Consumer>
@@ -3,7 +3,7 @@ import { SCNotificationContextType } from '../../../types';
3
3
  /**
4
4
  * Creates Global Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
 
8
8
  ```jsx
9
9
  1. <SCNotificationContext.Consumer>{(wsInstance, subscribe,) => (...)}</SCNotificationContext.Consumer>
@@ -9,7 +9,7 @@ const useSCMobileNativePushMessaging_1 = tslib_1.__importDefault(require("../../
9
9
  /**
10
10
  * Creates Global Context
11
11
  *
12
- :::tipContext can be consumed in one of the following ways:
12
+ :::tip Context can be consumed in one of the following ways:
13
13
 
14
14
  ```jsx
15
15
  1. <SCNotificationContext.Consumer>{(wsInstance, subscribe,) => (...)}</SCNotificationContext.Consumer>
@@ -3,7 +3,7 @@ import { SCPreferencesContextType } from '../../../types/context';
3
3
  /**
4
4
  * Creates Preferences/Features Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
 
8
8
 
9
9
  ```jsx
@@ -10,7 +10,7 @@ const SCContextProvider_1 = require("../SCContextProvider");
10
10
  /**
11
11
  * Creates Preferences/Features Context
12
12
  *
13
- :::tipContext can be consumed in one of the following ways:
13
+ :::tip Context can be consumed in one of the following ways:
14
14
 
15
15
 
16
16
  ```jsx
@@ -3,7 +3,7 @@ import { SCRoutingContextType } from '../../../types';
3
3
  /**
4
4
  * Creates Global Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
 
8
8
 
9
9
  ```jsx
@@ -10,7 +10,7 @@ const Routes_1 = require("../../../constants/Routes");
10
10
  /**
11
11
  * Creates Global Context
12
12
  *
13
- :::tipContext can be consumed in one of the following ways:
13
+ :::tip Context can be consumed in one of the following ways:
14
14
 
15
15
 
16
16
  ```jsx
@@ -3,7 +3,7 @@ import { SCThemeContextType } from '../../../types';
3
3
  /**
4
4
  * Creates Global Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
 
8
8
  ```jsx
9
9
  1. <SCThemeContext.Consumer>{(theme,) => (...)}</SCThemeContext.Consumer>
@@ -11,7 +11,7 @@ const use_deep_compare_effect_1 = require("use-deep-compare-effect");
11
11
  /**
12
12
  * Creates Global Context
13
13
  *
14
- :::tipContext can be consumed in one of the following ways:
14
+ :::tip Context can be consumed in one of the following ways:
15
15
 
16
16
  ```jsx
17
17
  1. <SCThemeContext.Consumer>{(theme,) => (...)}</SCThemeContext.Consumer>
@@ -3,7 +3,7 @@ import { SCUserContextType } from '../../../types';
3
3
  /**
4
4
  * SCUserContext (Authentication Context)
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
 
8
8
 
9
9
  ```jsx
@@ -22,7 +22,7 @@ const Session = tslib_1.__importStar(require("../../../constants/Session"));
22
22
  /**
23
23
  * SCUserContext (Authentication Context)
24
24
  *
25
- :::tipContext can be consumed in one of the following ways:
25
+ :::tip Context can be consumed in one of the following ways:
26
26
 
27
27
 
28
28
  ```jsx
@@ -3,7 +3,7 @@ import { SCVoteContextType } from '../../../types/context';
3
3
  /**
4
4
  * Creates Vote Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
 
8
8
 
9
9
  ```jsx
@@ -12,7 +12,7 @@ const SCPreferencesProvider_1 = require("../SCPreferencesProvider");
12
12
  /**
13
13
  * Creates Vote Context
14
14
  *
15
- :::tipContext can be consumed in one of the following ways:
15
+ :::tip Context can be consumed in one of the following ways:
16
16
 
17
17
 
18
18
  ```jsx
@@ -11,7 +11,7 @@ import React from 'react';
11
11
  ```jsx
12
12
  import {SCRoutingContextType, useSCRouting, Link, SCRoutes} from '@selfcommunity/react-core';
13
13
  ````
14
- :::tipUsage Example:
14
+ :::tip Usage Example:
15
15
 
16
16
  ```jsx
17
17
  const scRoutingContext: SCRoutingContextType = useSCRouting();
@@ -38,7 +38,7 @@ const Link = (_a, ref) => {
38
38
  ```jsx
39
39
  import {SCRoutingContextType, useSCRouting, Link, SCRoutes} from '@selfcommunity/react-core';
40
40
  ````
41
- :::tipUsage Example:
41
+ :::tip Usage Example:
42
42
 
43
43
  ```jsx
44
44
  const scRoutingContext: SCRoutingContextType = useSCRouting();
@@ -31,7 +31,7 @@ export declare const userActionTypes: {
31
31
  import {SCRoutingContextType, useSCRouting, Link, SCRoutes} from '@selfcommunity/react-core';
32
32
  ````
33
33
 
34
- :::tipUsage Example:
34
+ :::tip Usage Example:
35
35
 
36
36
  ```jsx
37
37
  const scRoutingContext: SCRoutingContextType = useSCRouting();
@@ -114,7 +114,7 @@ function stateInitializer(session) {
114
114
  import {SCRoutingContextType, useSCRouting, Link, SCRoutes} from '@selfcommunity/react-core';
115
115
  ````
116
116
 
117
- :::tipUsage Example:
117
+ :::tip Usage Example:
118
118
 
119
119
  ```jsx
120
120
  const scRoutingContext: SCRoutingContextType = useSCRouting();
@@ -3,7 +3,7 @@ import { SCUserType } from '@selfcommunity/types';
3
3
  :::info
4
4
  This custom hook is used to manage blocked users.
5
5
  :::
6
- :::tipHow to use it:
6
+ :::tip How to use it:
7
7
 
8
8
  Follow these steps:
9
9
  ```jsx
@@ -9,7 +9,7 @@ const api_services_2 = require("@selfcommunity/api-services");
9
9
  :::info
10
10
  This custom hook is used to manage blocked users.
11
11
  :::
12
- :::tipHow to use it:
12
+ :::tip How to use it:
13
13
 
14
14
  Follow these steps:
15
15
  ```jsx
@@ -4,7 +4,7 @@ import { SCUserType } from '@selfcommunity/types';
4
4
  This custom hook is used to manage to manage friends.
5
5
  :::
6
6
 
7
- :::tipHow to use it:
7
+ :::tip How to use it:
8
8
 
9
9
  Follow these steps:
10
10
  ```jsx
@@ -18,7 +18,7 @@ const use_deep_compare_effect_1 = require("use-deep-compare-effect");
18
18
  This custom hook is used to manage to manage friends.
19
19
  :::
20
20
 
21
- :::tipHow to use it:
21
+ :::tip How to use it:
22
22
 
23
23
  Follow these steps:
24
24
  ```jsx
@@ -7,7 +7,7 @@ import { CacheStrategies } from '@selfcommunity/utils';
7
7
  @param object
8
8
  @param object.cacheStrategy
9
9
 
10
- :::tipContext can be consumed in this way:
10
+ :::tip Context can be consumed in this way:
11
11
 
12
12
  ```jsx
13
13
  const {messages, isLoading} = useSCFetchBroadcastMessages();
@@ -24,7 +24,7 @@ const initialData = { results: [], next: broadcastMessagesRefreshUrl, previous:
24
24
  @param object
25
25
  @param object.cacheStrategy
26
26
 
27
- :::tipContext can be consumed in this way:
27
+ :::tip Context can be consumed in this way:
28
28
 
29
29
  ```jsx
30
30
  const {messages, isLoading} = useSCFetchBroadcastMessages();
@@ -6,7 +6,7 @@ import { CacheStrategies } from '@selfcommunity/utils';
6
6
  @param object
7
7
  @param object.cacheStrategy
8
8
 
9
- :::tipContext can be consumed in this way:
9
+ :::tip Context can be consumed in this way:
10
10
 
11
11
  ```jsx
12
12
  const {categories, isLoading} = useSCFetchCategories();
@@ -28,7 +28,7 @@ const hydrate = (ids) => {
28
28
  @param object
29
29
  @param object.cacheStrategy
30
30
 
31
- :::tipContext can be consumed in this way:
31
+ :::tip Context can be consumed in this way:
32
32
 
33
33
  ```jsx
34
34
  const {categories, isLoading} = useSCFetchCategories();
@@ -5,7 +5,7 @@ import { CacheStrategies } from '@selfcommunity/utils';
5
5
  This custom hook is used to fetch snippets.
6
6
  @param object.cacheStrategy
7
7
 
8
- :::tipContext can be consumed in this way:
8
+ :::tip Context can be consumed in this way:
9
9
 
10
10
  ```jsx
11
11
  const {snippets, isLoading} = useSCFetchPrivateMessageSnippets();
@@ -28,7 +28,7 @@ const hydrate = (ids) => {
28
28
  This custom hook is used to fetch snippets.
29
29
  @param object.cacheStrategy
30
30
 
31
- :::tipContext can be consumed in this way:
31
+ :::tip Context can be consumed in this way:
32
32
 
33
33
  ```jsx
34
34
  const {snippets, isLoading} = useSCFetchPrivateMessageSnippets();
@@ -4,7 +4,7 @@ import { SCCategoryType, SCUserType } from '@selfcommunity/types';
4
4
  This custom hook is used to manage the categories followed.
5
5
  :::
6
6
 
7
- :::tipHow to use it:
7
+ :::tip How to use it:
8
8
  Follow these steps:
9
9
  ```jsx
10
10
  1. const scUserContext: SCUserContextType = useSCUser();
@@ -11,7 +11,7 @@ const utils_1 = require("@selfcommunity/utils");
11
11
  This custom hook is used to manage the categories followed.
12
12
  :::
13
13
 
14
- :::tipHow to use it:
14
+ :::tip How to use it:
15
15
  Follow these steps:
16
16
  ```jsx
17
17
  1. const scUserContext: SCUserContextType = useSCUser();
@@ -3,7 +3,7 @@ import { SCUserType } from '@selfcommunity/types';
3
3
  :::info
4
4
  This custom hook is used to manage followed users.
5
5
  :::
6
- :::tipHow to use it:
6
+ :::tip How to use it:
7
7
 
8
8
  Follow these steps:
9
9
  ```jsx
@@ -18,7 +18,7 @@ const STATUS_FOLLOWED = 'followed';
18
18
  :::info
19
19
  This custom hook is used to manage followed users.
20
20
  :::
21
- :::tipHow to use it:
21
+ :::tip How to use it:
22
22
 
23
23
  Follow these steps:
24
24
  ```jsx
@@ -3,7 +3,7 @@ import { SCUserType } from '@selfcommunity/types';
3
3
  :::info
4
4
  This custom hook is used to manage followers users.
5
5
  :::
6
- :::tipHow to use it:
6
+ :::tip How to use it:
7
7
 
8
8
  Follow these steps:
9
9
  ```jsx
@@ -13,7 +13,7 @@ const Notification_1 = require("../constants/Notification");
13
13
  :::info
14
14
  This custom hook is used to manage followers users.
15
15
  :::
16
- :::tipHow to use it:
16
+ :::tip How to use it:
17
17
 
18
18
  Follow these steps:
19
19
  ```jsx
@@ -3,7 +3,7 @@ import { SCUserSettingsType, SCUserType } from '@selfcommunity/types';
3
3
  :::info
4
4
  This custom hook is used to manage user settings.
5
5
  :::
6
- :::tipHow to use it:
6
+ :::tip How to use it:
7
7
 
8
8
  Follow these steps:
9
9
  ```jsx
@@ -8,7 +8,7 @@ const Errors_1 = require("../constants/Errors");
8
8
  :::info
9
9
  This custom hook is used to manage user settings.
10
10
  :::
11
- :::tipHow to use it:
11
+ :::tip How to use it:
12
12
 
13
13
  Follow these steps:
14
14
  ```jsx
@@ -3,7 +3,7 @@ import { SCIncubatorType, SCUserType } from '@selfcommunity/types';
3
3
  :::info
4
4
  This custom hook is used to manage to manage subscribed incubators.
5
5
  :::
6
- :::tipHow to use it:
6
+ :::tip How to use it:
7
7
 
8
8
  Follow these steps:
9
9
  ```jsx
@@ -10,7 +10,7 @@ const useSCCachingManager_1 = tslib_1.__importDefault(require("./useSCCachingMan
10
10
  :::info
11
11
  This custom hook is used to manage to manage subscribed incubators.
12
12
  :::
13
- :::tipHow to use it:
13
+ :::tip How to use it:
14
14
 
15
15
  Follow these steps:
16
16
  ```jsx
@@ -3,7 +3,7 @@ import { SCUserType } from '@selfcommunity/types';
3
3
  :::info
4
4
  This custom hook is used to check if the user is blocked by me or I am blocked by him.
5
5
  :::
6
- :::tipHow to use it:
6
+ :::tip How to use it:
7
7
 
8
8
  Follow these steps:
9
9
  ```jsx
@@ -8,7 +8,7 @@ const SCUserProvider_1 = require("../components/provider/SCUserProvider");
8
8
  :::info
9
9
  This custom hook is used to check if the user is blocked by me or I am blocked by him.
10
10
  :::
11
- :::tipHow to use it:
11
+ :::tip How to use it:
12
12
 
13
13
  Follow these steps:
14
14
  ```jsx
@@ -3,7 +3,7 @@ import { SCAlertMessagesContextType } from '../../../types';
3
3
  /**
4
4
  * Creates Global Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
  ```jsx
8
8
  1. <SCAlertMessagesContext.Consumer>{(options,) => (...)}</SCAlertMessagesContext.Consumer>
9
9
  ```
@@ -3,7 +3,7 @@ import { SnackbarProvider } from 'notistack';
3
3
  /**
4
4
  * Creates Global Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
  ```jsx
8
8
  1. <SCAlertMessagesContext.Consumer>{(options,) => (...)}</SCAlertMessagesContext.Consumer>
9
9
  ```
@@ -3,7 +3,7 @@ import { SCContextProviderType, SCContextType } from '../../../types';
3
3
  /**
4
4
  * Creates Global Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
  ```jsx
8
8
  1. <SCContext.Consumer>{settings => (...)}</SCContext.Consumer>
9
9
  ```
@@ -6,7 +6,7 @@ import useIsComponentMountedRef from '../../../utils/hooks/useIsComponentMounted
6
6
  /**
7
7
  * Creates Global Context
8
8
  *
9
- :::tipContext can be consumed in one of the following ways:
9
+ :::tip Context can be consumed in one of the following ways:
10
10
  ```jsx
11
11
  1. <SCContext.Consumer>{settings => (...)}</SCContext.Consumer>
12
12
  ```
@@ -3,7 +3,7 @@ import { SCLocaleContextType } from '../../../types';
3
3
  /**
4
4
  * Creates Global Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
 
8
8
  ```jsx
9
9
  1. <SCLocaleContext.Consumer>{(locale,) => (...)}</SCLocaleContext.Consumer>
@@ -9,7 +9,7 @@ import { useDeepCompareEffectNoCheck } from 'use-deep-compare-effect';
9
9
  /**
10
10
  * Creates Global Context
11
11
  *
12
- :::tipContext can be consumed in one of the following ways:
12
+ :::tip Context can be consumed in one of the following ways:
13
13
 
14
14
  ```jsx
15
15
  1. <SCLocaleContext.Consumer>{(locale,) => (...)}</SCLocaleContext.Consumer>
@@ -3,7 +3,7 @@ import { SCNotificationContextType } from '../../../types';
3
3
  /**
4
4
  * Creates Global Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
 
8
8
  ```jsx
9
9
  1. <SCNotificationContext.Consumer>{(wsInstance, subscribe,) => (...)}</SCNotificationContext.Consumer>
@@ -5,7 +5,7 @@ import useSCMobileNativePushMessaging from '../../../hooks/useSCMobileNativePush
5
5
  /**
6
6
  * Creates Global Context
7
7
  *
8
- :::tipContext can be consumed in one of the following ways:
8
+ :::tip Context can be consumed in one of the following ways:
9
9
 
10
10
  ```jsx
11
11
  1. <SCNotificationContext.Consumer>{(wsInstance, subscribe,) => (...)}</SCNotificationContext.Consumer>
@@ -3,7 +3,7 @@ import { SCPreferencesContextType } from '../../../types/context';
3
3
  /**
4
4
  * Creates Preferences/Features Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
 
8
8
 
9
9
  ```jsx
@@ -6,7 +6,7 @@ import { useSCContext } from '../SCContextProvider';
6
6
  /**
7
7
  * Creates Preferences/Features Context
8
8
  *
9
- :::tipContext can be consumed in one of the following ways:
9
+ :::tip Context can be consumed in one of the following ways:
10
10
 
11
11
 
12
12
  ```jsx
@@ -3,7 +3,7 @@ import { SCRoutingContextType } from '../../../types';
3
3
  /**
4
4
  * Creates Global Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
 
8
8
 
9
9
  ```jsx
@@ -6,7 +6,7 @@ import { CATEGORIES_LIST_ROUTE_NAME, CATEGORY_ROUTE_NAME, COMMENT_ROUTE_NAME, DI
6
6
  /**
7
7
  * Creates Global Context
8
8
  *
9
- :::tipContext can be consumed in one of the following ways:
9
+ :::tip Context can be consumed in one of the following ways:
10
10
 
11
11
 
12
12
  ```jsx
@@ -3,7 +3,7 @@ import { SCThemeContextType } from '../../../types';
3
3
  /**
4
4
  * Creates Global Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
 
8
8
  ```jsx
9
9
  1. <SCThemeContext.Consumer>{(theme,) => (...)}</SCThemeContext.Consumer>
@@ -7,7 +7,7 @@ import { useDeepCompareEffectNoCheck } from 'use-deep-compare-effect';
7
7
  /**
8
8
  * Creates Global Context
9
9
  *
10
- :::tipContext can be consumed in one of the following ways:
10
+ :::tip Context can be consumed in one of the following ways:
11
11
 
12
12
  ```jsx
13
13
  1. <SCThemeContext.Consumer>{(theme,) => (...)}</SCThemeContext.Consumer>
@@ -3,7 +3,7 @@ import { SCUserContextType } from '../../../types';
3
3
  /**
4
4
  * SCUserContext (Authentication Context)
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
 
8
8
 
9
9
  ```jsx
@@ -18,7 +18,7 @@ import * as Session from '../../../constants/Session';
18
18
  /**
19
19
  * SCUserContext (Authentication Context)
20
20
  *
21
- :::tipContext can be consumed in one of the following ways:
21
+ :::tip Context can be consumed in one of the following ways:
22
22
 
23
23
 
24
24
  ```jsx
@@ -3,7 +3,7 @@ import { SCVoteContextType } from '../../../types/context';
3
3
  /**
4
4
  * Creates Vote Context
5
5
  *
6
- :::tipContext can be consumed in one of the following ways:
6
+ :::tip Context can be consumed in one of the following ways:
7
7
 
8
8
 
9
9
  ```jsx
@@ -8,7 +8,7 @@ import { SCPreferencesContext } from '../SCPreferencesProvider';
8
8
  /**
9
9
  * Creates Vote Context
10
10
  *
11
- :::tipContext can be consumed in one of the following ways:
11
+ :::tip Context can be consumed in one of the following ways:
12
12
 
13
13
 
14
14
  ```jsx
@@ -11,7 +11,7 @@ import React from 'react';
11
11
  ```jsx
12
12
  import {SCRoutingContextType, useSCRouting, Link, SCRoutes} from '@selfcommunity/react-core';
13
13
  ````
14
- :::tipUsage Example:
14
+ :::tip Usage Example:
15
15
 
16
16
  ```jsx
17
17
  const scRoutingContext: SCRoutingContextType = useSCRouting();
@@ -36,7 +36,7 @@ const Link = (_a, ref) => {
36
36
  ```jsx
37
37
  import {SCRoutingContextType, useSCRouting, Link, SCRoutes} from '@selfcommunity/react-core';
38
38
  ````
39
- :::tipUsage Example:
39
+ :::tip Usage Example:
40
40
 
41
41
  ```jsx
42
42
  const scRoutingContext: SCRoutingContextType = useSCRouting();
@@ -31,7 +31,7 @@ export declare const userActionTypes: {
31
31
  import {SCRoutingContextType, useSCRouting, Link, SCRoutes} from '@selfcommunity/react-core';
32
32
  ````
33
33
 
34
- :::tipUsage Example:
34
+ :::tip Usage Example:
35
35
 
36
36
  ```jsx
37
37
  const scRoutingContext: SCRoutingContextType = useSCRouting();
@@ -111,7 +111,7 @@ function stateInitializer(session) {
111
111
  import {SCRoutingContextType, useSCRouting, Link, SCRoutes} from '@selfcommunity/react-core';
112
112
  ````
113
113
 
114
- :::tipUsage Example:
114
+ :::tip Usage Example:
115
115
 
116
116
  ```jsx
117
117
  const scRoutingContext: SCRoutingContextType = useSCRouting();
@@ -3,7 +3,7 @@ import { SCUserType } from '@selfcommunity/types';
3
3
  :::info
4
4
  This custom hook is used to manage blocked users.
5
5
  :::
6
- :::tipHow to use it:
6
+ :::tip How to use it:
7
7
 
8
8
  Follow these steps:
9
9
  ```jsx
@@ -7,7 +7,7 @@ import { UserService } from '@selfcommunity/api-services';
7
7
  :::info
8
8
  This custom hook is used to manage blocked users.
9
9
  :::
10
- :::tipHow to use it:
10
+ :::tip How to use it:
11
11
 
12
12
  Follow these steps:
13
13
  ```jsx
@@ -4,7 +4,7 @@ import { SCUserType } from '@selfcommunity/types';
4
4
  This custom hook is used to manage to manage friends.
5
5
  :::
6
6
 
7
- :::tipHow to use it:
7
+ :::tip How to use it:
8
8
 
9
9
  Follow these steps:
10
10
  ```jsx
@@ -15,7 +15,7 @@ import { useDeepCompareEffectNoCheck } from 'use-deep-compare-effect';
15
15
  This custom hook is used to manage to manage friends.
16
16
  :::
17
17
 
18
- :::tipHow to use it:
18
+ :::tip How to use it:
19
19
 
20
20
  Follow these steps:
21
21
  ```jsx
@@ -7,7 +7,7 @@ import { CacheStrategies } from '@selfcommunity/utils';
7
7
  @param object
8
8
  @param object.cacheStrategy
9
9
 
10
- :::tipContext can be consumed in this way:
10
+ :::tip Context can be consumed in this way:
11
11
 
12
12
  ```jsx
13
13
  const {messages, isLoading} = useSCFetchBroadcastMessages();
@@ -22,7 +22,7 @@ const initialData = { results: [], next: broadcastMessagesRefreshUrl, previous:
22
22
  @param object
23
23
  @param object.cacheStrategy
24
24
 
25
- :::tipContext can be consumed in this way:
25
+ :::tip Context can be consumed in this way:
26
26
 
27
27
  ```jsx
28
28
  const {messages, isLoading} = useSCFetchBroadcastMessages();
@@ -6,7 +6,7 @@ import { CacheStrategies } from '@selfcommunity/utils';
6
6
  @param object
7
7
  @param object.cacheStrategy
8
8
 
9
- :::tipContext can be consumed in this way:
9
+ :::tip Context can be consumed in this way:
10
10
 
11
11
  ```jsx
12
12
  const {categories, isLoading} = useSCFetchCategories();
@@ -26,7 +26,7 @@ const hydrate = (ids) => {
26
26
  @param object
27
27
  @param object.cacheStrategy
28
28
 
29
- :::tipContext can be consumed in this way:
29
+ :::tip Context can be consumed in this way:
30
30
 
31
31
  ```jsx
32
32
  const {categories, isLoading} = useSCFetchCategories();
@@ -5,7 +5,7 @@ import { CacheStrategies } from '@selfcommunity/utils';
5
5
  This custom hook is used to fetch snippets.
6
6
  @param object.cacheStrategy
7
7
 
8
- :::tipContext can be consumed in this way:
8
+ :::tip Context can be consumed in this way:
9
9
 
10
10
  ```jsx
11
11
  const {snippets, isLoading} = useSCFetchPrivateMessageSnippets();
@@ -26,7 +26,7 @@ const hydrate = (ids) => {
26
26
  This custom hook is used to fetch snippets.
27
27
  @param object.cacheStrategy
28
28
 
29
- :::tipContext can be consumed in this way:
29
+ :::tip Context can be consumed in this way:
30
30
 
31
31
  ```jsx
32
32
  const {snippets, isLoading} = useSCFetchPrivateMessageSnippets();
@@ -4,7 +4,7 @@ import { SCCategoryType, SCUserType } from '@selfcommunity/types';
4
4
  This custom hook is used to manage the categories followed.
5
5
  :::
6
6
 
7
- :::tipHow to use it:
7
+ :::tip How to use it:
8
8
  Follow these steps:
9
9
  ```jsx
10
10
  1. const scUserContext: SCUserContextType = useSCUser();
@@ -1,4 +1,4 @@
1
- import { useEffect, useMemo } from "react";
1
+ import { useEffect, useMemo } from 'react';
2
2
  import { http, Endpoints } from '@selfcommunity/api-services';
3
3
  import useSCCachingManager from './useSCCachingManager';
4
4
  import { SCOPE_SC_CORE } from '../constants/Errors';
@@ -8,7 +8,7 @@ import { Logger } from '@selfcommunity/utils';
8
8
  This custom hook is used to manage the categories followed.
9
9
  :::
10
10
 
11
- :::tipHow to use it:
11
+ :::tip How to use it:
12
12
  Follow these steps:
13
13
  ```jsx
14
14
  1. const scUserContext: SCUserContextType = useSCUser();
@@ -3,7 +3,7 @@ import { SCUserType } from '@selfcommunity/types';
3
3
  :::info
4
4
  This custom hook is used to manage followed users.
5
5
  :::
6
- :::tipHow to use it:
6
+ :::tip How to use it:
7
7
 
8
8
  Follow these steps:
9
9
  ```jsx
@@ -15,7 +15,7 @@ const STATUS_FOLLOWED = 'followed';
15
15
  :::info
16
16
  This custom hook is used to manage followed users.
17
17
  :::
18
- :::tipHow to use it:
18
+ :::tip How to use it:
19
19
 
20
20
  Follow these steps:
21
21
  ```jsx
@@ -3,7 +3,7 @@ import { SCUserType } from '@selfcommunity/types';
3
3
  :::info
4
4
  This custom hook is used to manage followers users.
5
5
  :::
6
- :::tipHow to use it:
6
+ :::tip How to use it:
7
7
 
8
8
  Follow these steps:
9
9
  ```jsx
@@ -10,7 +10,7 @@ import { SCNotificationMapping } from '../constants/Notification';
10
10
  :::info
11
11
  This custom hook is used to manage followers users.
12
12
  :::
13
- :::tipHow to use it:
13
+ :::tip How to use it:
14
14
 
15
15
  Follow these steps:
16
16
  ```jsx
@@ -3,7 +3,7 @@ import { SCUserSettingsType, SCUserType } from '@selfcommunity/types';
3
3
  :::info
4
4
  This custom hook is used to manage user settings.
5
5
  :::
6
- :::tipHow to use it:
6
+ :::tip How to use it:
7
7
 
8
8
  Follow these steps:
9
9
  ```jsx
@@ -6,7 +6,7 @@ import { SCOPE_SC_CORE } from '../constants/Errors';
6
6
  :::info
7
7
  This custom hook is used to manage user settings.
8
8
  :::
9
- :::tipHow to use it:
9
+ :::tip How to use it:
10
10
 
11
11
  Follow these steps:
12
12
  ```jsx
@@ -3,7 +3,7 @@ import { SCIncubatorType, SCUserType } from '@selfcommunity/types';
3
3
  :::info
4
4
  This custom hook is used to manage to manage subscribed incubators.
5
5
  :::
6
- :::tipHow to use it:
6
+ :::tip How to use it:
7
7
 
8
8
  Follow these steps:
9
9
  ```jsx
@@ -1,4 +1,4 @@
1
- import { useEffect, useMemo } from "react";
1
+ import { useEffect, useMemo } from 'react';
2
2
  import { http, Endpoints } from '@selfcommunity/api-services';
3
3
  import { Logger } from '@selfcommunity/utils';
4
4
  import { SCOPE_SC_CORE } from '../constants/Errors';
@@ -7,7 +7,7 @@ import useSCCachingManager from './useSCCachingManager';
7
7
  :::info
8
8
  This custom hook is used to manage to manage subscribed incubators.
9
9
  :::
10
- :::tipHow to use it:
10
+ :::tip How to use it:
11
11
 
12
12
  Follow these steps:
13
13
  ```jsx
@@ -3,7 +3,7 @@ import { SCUserType } from '@selfcommunity/types';
3
3
  :::info
4
4
  This custom hook is used to check if the user is blocked by me or I am blocked by him.
5
5
  :::
6
- :::tipHow to use it:
6
+ :::tip How to use it:
7
7
 
8
8
  Follow these steps:
9
9
  ```jsx
@@ -5,7 +5,7 @@ import { useSCUser } from '../components/provider/SCUserProvider';
5
5
  :::info
6
6
  This custom hook is used to check if the user is blocked by me or I am blocked by him.
7
7
  :::
8
- :::tipHow to use it:
8
+ :::tip How to use it:
9
9
 
10
10
  Follow these steps:
11
11
  ```jsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selfcommunity/react-core",
3
- "version": "0.4.1-alpha.3",
3
+ "version": "0.4.1-alpha.4",
4
4
  "description": "React Core Components useful for integrating UI Community components (react-ui).",
5
5
  "author": "SelfCommunity <https://www.selfcommunity.com>",
6
6
  "homepage": "https://www.selfcommunity.com",
@@ -68,7 +68,7 @@
68
68
  "react-intl": "^6.4.7"
69
69
  },
70
70
  "dependencies": {
71
- "@selfcommunity/api-services": "^0.4.1-alpha.3",
71
+ "@selfcommunity/api-services": "^0.4.1-alpha.4",
72
72
  "@selfcommunity/react-i18n": "^0.5.1-alpha.0",
73
73
  "@selfcommunity/types": "^0.5.1-alpha.0",
74
74
  "@selfcommunity/utils": "^0.2.1-alpha.0",
@@ -125,5 +125,5 @@
125
125
  "bugs": {
126
126
  "url": "https://github.com/selfcommunity/community-js/issues"
127
127
  },
128
- "gitHead": "6e68a3c2f8b6ffa6cd615635db4fd947b2caca91"
128
+ "gitHead": "6572d63e375015bacd5f42a5c036caa29adc8b97"
129
129
  }