@bigbinary/neeto-team-members-frontend 5.0.55 → 5.0.57

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/index.js CHANGED
@@ -92,6 +92,7 @@ import '@babel/runtime/helpers/typeof';
92
92
  import '@bigbinary/neeto-icons/InfoRound';
93
93
  import '@bigbinary/neeto-molecules/HelpPopover';
94
94
  import '@bigbinary/neeto-molecules/Search';
95
+ import '@bigbinary/neeto-icons/Right';
95
96
  import '@bigbinary/neeto-icons/Up';
96
97
  import '@bigbinary/neeto-filters-frontend/Bar';
97
98
  import '@bigbinary/neeto-molecules/Columns';
@@ -99,7 +100,6 @@ import './constants.js';
99
100
  import './useTeams-Bw4eltN1.js';
100
101
  import '@bigbinary/neeto-filters-frontend/utils';
101
102
  import './utils-3WlshQ9e.js';
102
- import '@bigbinary/neeto-icons/Right';
103
103
  import '@bigbinary/neetoui/Radio';
104
104
  import '@bigbinary/neeto-icons/Info';
105
105
  import '@bigbinary/neeto-icons/LeftArrow';
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ var lucideReact = require('lucide-react');
4
+ var initializers = require('@bigbinary/neeto-commons-frontend/initializers');
5
+ var constants = require('./constants-D_H6M1Pm.js');
6
+
7
+ var useMembersSidenav = function useMembersSidenav(_ref) {
8
+ var route = _ref.route;
9
+ return {
10
+ icon: lucideReact.CircleUser,
11
+ label: initializers.taxonomies.member.plural,
12
+ to: route,
13
+ "data-testid": "members-nav-tab",
14
+ permissions: constants.VIEW_MEMBERS_PERMISSION
15
+ };
16
+ };
17
+
18
+ exports.useMembersSidenav = useMembersSidenav;
19
+ //# sourceMappingURL=useMembersSidenav-CTK2-tT0.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMembersSidenav-CTK2-tT0.js","sources":["../app/javascript/src/v2/hooks/useMembersSidenav.js"],"sourcesContent":["import { CircleUser } from \"lucide-react\";\nimport { taxonomies } from \"neetocommons/initializers\";\n\nimport { VIEW_MEMBERS_PERMISSION } from \"common/constants\";\n\nconst useMembersSidenav = ({ route }) => ({\n icon: CircleUser,\n label: taxonomies.member.plural,\n to: route,\n \"data-testid\": \"members-nav-tab\",\n permissions: VIEW_MEMBERS_PERMISSION,\n});\n\nexport default useMembersSidenav;\n"],"names":["useMembersSidenav","_ref","route","icon","CircleUser","label","taxonomies","member","plural","to","permissions","VIEW_MEMBERS_PERMISSION"],"mappings":";;;;;;AAKA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,KAAK,GAAAD,IAAA,CAALC,KAAK;EAAA,OAAQ;AACxCC,IAAAA,IAAI,EAAEC,sBAAU;AAChBC,IAAAA,KAAK,EAAEC,uBAAU,CAACC,MAAM,CAACC,MAAM;AAC/BC,IAAAA,EAAE,EAAEP,KAAK;AACT,IAAA,aAAa,EAAE,iBAAiB;AAChCQ,IAAAA,WAAW,EAAEC;GACd;AAAA;;;;"}
@@ -0,0 +1,17 @@
1
+ import { CircleUser } from 'lucide-react';
2
+ import { taxonomies } from '@bigbinary/neeto-commons-frontend/initializers';
3
+ import { V as VIEW_MEMBERS_PERMISSION } from './constants-CXdiW8NZ.js';
4
+
5
+ var useMembersSidenav = function useMembersSidenav(_ref) {
6
+ var route = _ref.route;
7
+ return {
8
+ icon: CircleUser,
9
+ label: taxonomies.member.plural,
10
+ to: route,
11
+ "data-testid": "members-nav-tab",
12
+ permissions: VIEW_MEMBERS_PERMISSION
13
+ };
14
+ };
15
+
16
+ export { useMembersSidenav as u };
17
+ //# sourceMappingURL=useMembersSidenav-Dj60wgFC.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMembersSidenav-Dj60wgFC.js","sources":["../app/javascript/src/v2/hooks/useMembersSidenav.js"],"sourcesContent":["import { CircleUser } from \"lucide-react\";\nimport { taxonomies } from \"neetocommons/initializers\";\n\nimport { VIEW_MEMBERS_PERMISSION } from \"common/constants\";\n\nconst useMembersSidenav = ({ route }) => ({\n icon: CircleUser,\n label: taxonomies.member.plural,\n to: route,\n \"data-testid\": \"members-nav-tab\",\n permissions: VIEW_MEMBERS_PERMISSION,\n});\n\nexport default useMembersSidenav;\n"],"names":["useMembersSidenav","_ref","route","icon","CircleUser","label","taxonomies","member","plural","to","permissions","VIEW_MEMBERS_PERMISSION"],"mappings":";;;;AAKA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,KAAK,GAAAD,IAAA,CAALC,KAAK;EAAA,OAAQ;AACxCC,IAAAA,IAAI,EAAEC,UAAU;AAChBC,IAAAA,KAAK,EAAEC,UAAU,CAACC,MAAM,CAACC,MAAM;AAC/BC,IAAAA,EAAE,EAAEP,KAAK;AACT,IAAA,aAAa,EAAE,iBAAiB;AAChCQ,IAAAA,WAAW,EAAEC;GACd;AAAA;;;;"}
package/dist/v2/Roles.js CHANGED
@@ -24,7 +24,7 @@ import { a as FormikForm } from '../Select-DZ56UG-l.js';
24
24
  import '@babel/runtime/helpers/objectWithoutProperties';
25
25
  import 'formik';
26
26
  import { S as ScrollToErrorField } from '../index-CKQDhbTA.js';
27
- import { Info, ChevronUp, ChevronDown, UserCog, Search as Search$1 } from 'lucide-react';
27
+ import { Info, ChevronUp, ChevronRight, UserCog, Search as Search$1 } from 'lucide-react';
28
28
  import classnames from 'classnames';
29
29
  import '@babel/runtime/helpers/toConsumableArray';
30
30
  import _typeof from '@babel/runtime/helpers/typeof';
@@ -836,7 +836,7 @@ var ToggleDropdown = function ToggleDropdown(_ref) {
836
836
  "data-testid": "ntm-permission-category-hide-button",
837
837
  size: 16,
838
838
  strokeWidth: 2
839
- }) : /*#__PURE__*/jsx(ChevronDown, {
839
+ }) : /*#__PURE__*/jsx(ChevronRight, {
840
840
  className: "ntm-roles-table-sidebar__drop-down-button cursor-pointer text-muted-foreground",
841
841
  "data-testid": "ntm-permission-category-show-button",
842
842
  size: 16,