@bigbinary/neeto-tags-frontend 1.5.19 → 1.6.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 +4 -0
- package/dist/index.cjs.js +4 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +14 -11
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@ The `neeto-tags-nano` manages tags across neeto applications. The nano exports t
|
|
|
9
9
|
- [Usage](#usage)
|
|
10
10
|
- [Frontend package](#frontend-package)
|
|
11
11
|
- [Installation](#installation-1)
|
|
12
|
+
- [Instructions for development](#instructions-for-development)
|
|
12
13
|
- [Components](#components)
|
|
13
14
|
2. [Instructions for Publishing](#instructions-for-publishing)
|
|
14
15
|
|
|
@@ -62,6 +63,9 @@ The package also exports one hook: `refetchTags`.
|
|
|
62
63
|
yarn add @bigbinary/neeto-tags-frontend
|
|
63
64
|
```
|
|
64
65
|
|
|
66
|
+
### Instructions for development
|
|
67
|
+
Check the [Frontend package development guide](https://neeto-engineering.neetokb.com/p/a-d34cb4b0) for step-by-step instructions to develop the frontend package.
|
|
68
|
+
|
|
65
69
|
### Components
|
|
66
70
|
#### `NeetoTags` ([source code](https://github.com/bigbinary/neeto-tags-nano/blob/e61f7bd2b9cab9fbf29fcfecf57e66131c86e6ef/app/javascript/src/index.jsx))
|
|
67
71
|
This component provides a dashboard to manage tags for an application.
|
package/dist/index.cjs.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var neetoCist = require('@bigbinary/neeto-cist');
|
|
7
7
|
var constants = require('@bigbinary/neeto-commons-frontend/constants');
|
|
8
|
-
var
|
|
8
|
+
var useHotkeys = require('@bigbinary/neeto-hotkeys');
|
|
9
9
|
var neetoIcons = require('@bigbinary/neeto-icons');
|
|
10
10
|
var neetoui = require('@bigbinary/neetoui');
|
|
11
11
|
var ramda = require('ramda');
|
|
@@ -13,6 +13,7 @@ var reactI18next = require('react-i18next');
|
|
|
13
13
|
var i18next = require('i18next');
|
|
14
14
|
var classNames = require('classnames');
|
|
15
15
|
var Metadata = require('@bigbinary/neeto-molecules/Metadata');
|
|
16
|
+
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
16
17
|
var reactRouterDom = require('react-router-dom');
|
|
17
18
|
var neetoFiltersFrontend = require('@bigbinary/neeto-filters-frontend');
|
|
18
19
|
var Container$1 = require('@bigbinary/neeto-molecules/Container');
|
|
@@ -48,6 +49,7 @@ function _interopNamespace(e) {
|
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
52
|
+
var useHotkeys__default = /*#__PURE__*/_interopDefaultLegacy(useHotkeys);
|
|
51
53
|
var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
|
|
52
54
|
var Metadata__default = /*#__PURE__*/_interopDefaultLegacy(Metadata);
|
|
53
55
|
var Container__default = /*#__PURE__*/_interopDefaultLegacy(Container$1);
|
|
@@ -308,7 +310,7 @@ var Tags$2 = function Tags(_ref) {
|
|
|
308
310
|
_useState2 = _slicedToArray(_useState, 2),
|
|
309
311
|
isTagsDropdownVisible = _useState2[0],
|
|
310
312
|
setIsTagsDropdownVisible = _useState2[1];
|
|
311
|
-
|
|
313
|
+
useHotkeys__default["default"](KEYBOARD_SHORTCUTS.addTag.sequence, function (event) {
|
|
312
314
|
event.preventDefault();
|
|
313
315
|
setIsTagsDropdownVisible(true);
|
|
314
316
|
});
|