@bigbinary/neeto-molecules 1.1.42 → 1.1.43

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-molecules",
3
- "version": "1.1.42",
3
+ "version": "1.1.43",
4
4
  "description": "A package of reusable molecular components for neeto products.",
5
5
  "repository": "git@github.com:bigbinary/neeto-molecules.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",
@@ -65,7 +65,7 @@
65
65
  "@bigbinary/eslint-plugin-neeto": "^1.1.14",
66
66
  "@bigbinary/neeto-audit-frontend": "2.0.1",
67
67
  "@bigbinary/neeto-cist": "^1.0.2",
68
- "@bigbinary/neeto-commons-frontend": "^2.1.33",
68
+ "@bigbinary/neeto-commons-frontend": "^2.1.35",
69
69
  "@bigbinary/neeto-editor": "1.28.25",
70
70
  "@bigbinary/neeto-filters-frontend": "^2.11.15",
71
71
  "@bigbinary/neeto-icons": "^1.14.0",
@@ -1,10 +1,48 @@
1
1
  import React from "react";
2
-
2
+ /**
3
+ *
4
+ * The Taxonomy component is used to manage taxonomies in a project.
5
+ *
6
+ * ![EmailPreview](https://user-images.githubusercontent.com/26121158/281420197-d00435c5-f07d-4e5a-a201-5bbda89e746a.png|height=200|width=300)
7
+ *
8
+ * @example
9
+ *
10
+ * import React from "react";
11
+ * import Settings from "@bigbinary/neeto-molecules/Settings";
12
+ * import Taxonomy from "@bigbinary/neeto-molecules/Taxonomy";
13
+ *
14
+ * const Component = () => (
15
+ * <Settings
16
+ * categories={[
17
+ * {
18
+ * id: "general-settings",
19
+ * label: "General Settings",
20
+ * items: [
21
+ * {
22
+ * label: "Taxonomy",
23
+ * description: "Manage default labels for entities",
24
+ * icon: Tags,
25
+ * path: "/settings/general/taxonomy",
26
+ * component: () => (
27
+ * <Taxonomy
28
+ * breadcrumbs={[
29
+ * { text: "Settings", link: "/settings/general" },
30
+ * { text: "Taxonomy" },
31
+ * ]}
32
+ * />
33
+ * ),
34
+ * },
35
+ * ],
36
+ * },
37
+ * ]}
38
+ * />
39
+ * );
40
+ * @endexample
41
+ */
3
42
  const Taxonomy: React.FC<{
4
43
  breadcrumbs: {
5
44
  text: string;
6
45
  link: string;
7
46
  }[];
8
47
  }>;
9
-
10
- export default Taxonomy;
48
+ export default Taxonomy;