@bigbinary/neeto-team-members-frontend 2.2.10 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,13 +12,13 @@ functioning of the package. Install all the peer dependencies using the below
12
12
  command:
13
13
 
14
14
  ```zsh
15
- yarn add @bigbinary/neeto-icons@1.8.37 @bigbinary/neetoui@3.5.16 axios@0.27.2 classnames@2.3.1 formik@2.2.9 ramda@0.28.0 react-router-dom@5.3.3 react-toastify@9.0.8 yup@0.32.11
15
+ yarn add @bigbinary/neeto-icons@1.8.37 @bigbinary/neetoui@3.5.17 axios@0.27.2 classnames@2.3.1 formik@2.2.9 ramda@0.28.0 react-router-dom@5.3.3 react-toastify@9.0.8 yup@0.32.11
16
16
  ```
17
17
 
18
18
  2. Now install the latest **neetoTeamMembers** package using the below command:
19
19
 
20
20
  ```zsh
21
- yarn add @bigbinary/neeto-team-members-frontend@2.2.10
21
+ yarn add @bigbinary/neeto-team-members-frontend@2.3.1
22
22
  ```
23
23
 
24
24
  ## Usage
@@ -56,61 +56,10 @@ By default `TeamMembers` and `Roles` component will render without the config pr
56
56
 
57
57
  ## Configurations
58
58
 
59
- ### `TeamMembers` component
59
+ The configurations for the components present in this NPM package are given below. Click on them to read more:
60
60
 
61
- Some of the configurations that are available for `TeamMembers` components are:
62
-
63
- - To toggle the `Manage Roles` button visibility in the right sub-header, please provide the roles button props as below. It uses the same props as neetoUI `Button` component.
64
-
65
- ```js
66
- const MEMBERS_CONFIG = {
67
- rolesButtonProps: {
68
- to: "/roles",
69
- },
70
- };
71
- ```
72
-
73
- - To override the activation and deactivation alert box title or message, please use the below configuration.
74
-
75
- ```js
76
- const MEMBERS_CONFIG = {
77
- alert: {
78
- title: member =>
79
- member.active ? "Deactivate member" : "Activate member",
80
- message: member =>
81
- member.active
82
- ? `You are deactivating member ${member?.name}. Are you sure you want to proceed?`
83
- : `You are activating member ${member?.name}. Are you sure you want to proceed?`,
84
- },
85
- }
86
- ```
87
-
88
- ### `Roles` component
89
-
90
- Some of the configurations that are available for `Roles` components are:
91
-
92
- - (Deprecated) To specify the location for the members page in the neetoUI Header component's breadcrumb, use the below configuration.
93
-
94
- ```js
95
- const ROLES_CONFIG = {
96
- membersPageUrl: "/members",
97
- };
98
- ```
99
-
100
- - To specify the neetoUI Header component's breadcrumb, use the below configuration.
101
-
102
- ```js
103
- const ROLES_CONFIG = {
104
- header: {
105
- breadcrumbs: [
106
- {
107
- text: "Settings",
108
- link: "/settings",
109
- },
110
- ],
111
- },
112
- };
113
- ```
61
+ 1. [Roles](./docs/roles/README.md)
62
+ 2. [TeamMembers](./docs/team_members/README.md)
114
63
 
115
64
  ## Development
116
65
 
@@ -134,17 +83,28 @@ live update.
134
83
 
135
84
  ## Integrations
136
85
 
137
- | Projects | Integrated | Projects | Integrated |
138
- |--------------------| :----------------: |-----------------| :----------------: |
139
- | neetoAnalytics | :white_check_mark: | neetoQuiz | :white_check_mark: |
140
- | neetoCal | :white_check_mark: | neetoReplay | :white_check_mark: |
141
- | neetoChangelog | :white_check_mark: | neetoRunner | :white_check_mark: |
142
- | neetoCourse | :white_check_mark: | neetoStore | :white_check_mark: |
143
- | neetoCRM | :white_check_mark: | neetoTestify | :white_check_mark: |
144
- | neetoEngage | :white_check_mark: | neetoWheel | :white_check_mark: |
145
- | neetoForm | :white_check_mark: | neetoWireframe | :white_check_mark: |
146
- | neetoGrow | :white_check_mark: | neetoAuth | :x: |
147
- | neetoInvisible | :white_check_mark: | neetoChat | :x: |
148
- | neetoKB | :white_check_mark: | neetoDesk | :x: |
149
- | neetoPlanner | :white_check_mark: | neetoInvoice | :x: |
150
- | neetoPopups | :white_check_mark: | | |
86
+ | Projects | TeamMembers | Roles | Invitation |
87
+ |----------------| :----------------: | :----------------: | :----------------: |
88
+ | neetoAnalytics | :white_check_mark: | :white_check_mark: | |
89
+ | neetoCal | :white_check_mark: | :white_check_mark: | |
90
+ | neetoChangelog | :white_check_mark: | :white_check_mark: | |
91
+ | neetoCourse | :white_check_mark: | :white_check_mark: | |
92
+ | neetoCRM | :white_check_mark: | :white_check_mark: | |
93
+ | neetoEngage | :white_check_mark: | :white_check_mark: | |
94
+ | neetoForm | :white_check_mark: | :white_check_mark: | |
95
+ | neetoGrow | :white_check_mark: | :white_check_mark: | |
96
+ | neetoInvisible | :white_check_mark: | :white_check_mark: | |
97
+ | neetoKB | :white_check_mark: | :white_check_mark: | |
98
+ | neetoPlanner | :white_check_mark: | :white_check_mark: | |
99
+ | neetoPopups | :white_check_mark: | :white_check_mark: | |
100
+ | neetoQuiz | :white_check_mark: | :white_check_mark: | |
101
+ | neetoReplay | :white_check_mark: | :white_check_mark: | |
102
+ | neetoRunner | :white_check_mark: | :white_check_mark: | |
103
+ | neetoStore | :white_check_mark: | :white_check_mark: | |
104
+ | neetoTestify | :white_check_mark: | :white_check_mark: | |
105
+ | neetoWheel | :white_check_mark: | :white_check_mark: | |
106
+ | neetoWireframe | :white_check_mark: | :white_check_mark: | |
107
+ | neetoAuth | :x: | :x: | |
108
+ | neetoChat | :x: | :x: | |
109
+ | neetoDesk | :x: | :x: | |
110
+ | neetoInvoice | :x: | :x: | |