chem-generic-ui 2.0.0-rc9 → 2.1.0-rc1

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/CHANGELOG.md CHANGED
@@ -1,6 +1,92 @@
1
-
2
1
  # Chem-Generic-UI Changelog
3
2
 
3
+ ## [2.1.0]
4
+ > 2025-03-04
5
+
6
+ * Features and enhancements:
7
+ * Introduced multiple selections feature.
8
+ * Elimiated the JavaScript warning related to two children with the same key.
9
+
10
+ ## [2.0.0]
11
+ > 2025-03-25
12
+
13
+ This is a major release and includes a breaking change.
14
+
15
+ * Features and enhancements:
16
+ * Upgraded the main UI component, introducing a breaking change with react-bootstrap. Please note that this version is only compatible with ELN version using react-bootstrap v2.
17
+ * Added new units ([#43](https://github.com/LabIMotion/labimotion/issues/43)).
18
+ * Introduced a new form layout for **Designer**.
19
+ * Introduced a new field type, `Select (Multiple)`, for **Designers**; the multiple selections feature is now supported.
20
+ * Introduced the `Arrange Layers` and `Arrange Fields` feature for reordering the layers and fields.
21
+ * Expanded the `LabIMotion Vocabulary (Lab-Vocab)`, more vocabularies are added.
22
+ * Template version information is now available for **Users**.
23
+ * Introduced the `Quick Filter` feature for **Designers**.
24
+ * Set the first layer to be expanded by default for improved usability.
25
+ * Added a feature allowing **User** to collapse or expand all layers with a single click.
26
+ * Metadata Auto Mapper: Automatically prioritises the retrieval of parameters from Bruker's primary files.
27
+
28
+ For more details, see the [Discussion](https://github.com/LabIMotion/labimotion/discussions/39).
29
+
30
+ * LabIMotion Vocabulary (Lab-Vocab).
31
+ * [Concept of LabIMotion Vocabulary (Lab-Vocab)](https://doi.org/10.5281/zenodo.13881070)
32
+ * Standard Layer.
33
+ * User Interface Foundation.
34
+ * Extract "other solvent" for dataset.
35
+
36
+ For more details, see the [Discussion](https://github.com/LabIMotion/labimotion/discussions/37).
37
+
38
+ * Bug fixes:
39
+ * Fixed an issue where the links for `Drag Element` and `Drag Sample` would vanish. ([#42](https://github.com/LabIMotion/labimotion/issues/42))
40
+ * Fixed an issue where the `Record Time` text would disappear. ([#40](https://github.com/LabIMotion/labimotion/issues/40))
41
+ * Fixed an issue where an unexpected page was dislayed when no dataset existed for the CV case.
42
+ * Fixed an issue where the selection was not working in the dataset after the library upgrade.
43
+ * Fixed an issue where the new selection list does not immediately reflect in the table after the library upgrade.
44
+ * Fixed a JavaScript warning related to the missing key prop for unique elements.
45
+
46
+ * Chores:
47
+ * Updated library dependencies.
48
+
49
+ #### Note: The planned 1.5.0 release was postponed due to dependencies in a consuming project. All updates from 1.5.0 are included in 2.0.0, along with additional features and a breaking change.
50
+
51
+ ## [1.4.9]
52
+ > 2024-11-11
53
+
54
+ * Features and enhancements:
55
+ * Introduced the `Workflow for Segement` feature.
56
+ * Given the default wording 'Learn more' for the Designer Helper.
57
+
58
+ * Bug fixes:
59
+ * Fixed an issue where an extra line was created in the CV template.
60
+ * Resolved a page-breaking error that occurred when reloading the template.
61
+ * Fixed an incorrect layout with the "datetime-range" type field.
62
+ * Corrected the layout problem for columns with the "hasOwnLine" attribute enabled.
63
+
64
+ * Chores:
65
+ * Bumped webpack from 5.86.0 to 5.94.0.
66
+ * Bumped micromatch from 4.0.5 to 4.0.8.
67
+
68
+ ## [1.4.0]
69
+ > 2024-08-22
70
+
71
+ * Features and enhancements:
72
+ * Added image preview feature for the "Upload" type field when the uploaded file is an image.
73
+ * Introduced the `Drag Reaction to Element` feature for users.
74
+ * Introduced the feature to use the drag-and-drop functionality to arrange the layer or field order.
75
+ * Auto-mapping CV dataset data to reaction description.
76
+ * Added the ability for users to record their work steps and visualize them as a flow diagram.
77
+ * Refactored the "Date-Time" component in the layer header.
78
+ * Style: Better view size for template hub.
79
+ * Style: Aligned field styles for better consistency.
80
+ * Style: Selection options style to be vertically aligned.
81
+
82
+ * Chores:
83
+ * Bumped ejs from 3.1.9 to 3.1.10
84
+ * Bumped ws from 7.5.9 to 7.5.10
85
+ * Bumped braces from 3.0.2 to 3.0.3
86
+ * Upgraded ag-grid to 32.0.1
87
+ * Upgraded nodejs to 18.20.3
88
+ * Upgraded yarn to 1.22.22
89
+
4
90
  ## [1.3.0]
5
91
  > 2024-04-24
6
92
 
package/README.md CHANGED
@@ -1,25 +1,25 @@
1
- # chem-generic-ui [![npm version](https://img.shields.io/npm/v/chem-generic-ui)](https://www.npmjs.com/package/chem-generic-ui) [![Downloads](https://img.shields.io/npm/dm/chem-generic-ui)](https://www.npmjs.com/package/chem-generic-ui) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.8305319.svg)](https://doi.org/10.5281/zenodo.8305319)
1
+ # chem-generic-ui
2
+ [![npm version](https://img.shields.io/npm/v/chem-generic-ui)](https://www.npmjs.com/package/chem-generic-ui)
3
+ [![Downloads](https://img.shields.io/npm/dm/chem-generic-ui)](https://www.npmjs.com/package/chem-generic-ui)
4
+ [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.8305319.svg)](https://doi.org/10.5281/zenodo.8305319)
2
5
 
3
6
  A React component for dynamically building user interfaces.
4
7
 
5
8
  This library is purely written in JavaScript and is based on the [React](https://reactjs.org/) library.
6
9
 
7
- **Community**
8
- - [GitHub discussions](https://github.com/LabIMotion/chem-generic-ui/discussions)
10
+ ## Project Showcase
9
11
 
10
- **Code**
11
- - [GitHub code](https://github.com/LabIMotion/chem-generic-ui)
12
+ ### [LabIMotion](https://www.chemotion.net/docs/labimotion)
12
13
 
14
+ <img src="https://labimotion.github.io/assets/images/labimotion_logo.png" alt="LabIMotion Logo" width="300" />
13
15
 
14
- ## Projects
16
+ #### Flexible Layout Designs
15
17
 
16
- Our favorite projects:
17
-
18
- ### :star: LabIMotion: Designer, you design what you need.
19
-
20
- [LabIMotion](https://www.chemotion.net/docs/labimotion)
21
-
22
- [![LabIMotion: Designer, you design what you need](https://img.youtube.com/vi/8o1U4QXU-B0/0.jpg)](https://www.youtube.com/watch?v=8o1U4QXU-B0)
18
+ - [Rich UI Components](https://www.chemotion.net/docs/labimotion/designer/components/fields/types)
19
+ - Different Layout Designs
20
+ - Element Details: [Text fields, checkboxes, selection inputs and drag-and-drop](https://www.chemotion.net/docs/labimotion/user/elements/details)
21
+ - Segment Details: [Table-Based layout, for multiple records with drag-and-drop functionality inside tables](https://www.chemotion.net/docs/labimotion/user/segments/details)
22
+ - Dataset Details: [Styling and unit conversion](https://www.chemotion.net/docs/labimotion/user/datasets/details)
23
23
 
24
24
  ## Installation
25
25
 
@@ -35,10 +35,6 @@ or Yarn:
35
35
  yarn add chem-generic-ui
36
36
  ```
37
37
 
38
- ## Engage with Us
39
-
40
- Feel free to utilize the [Discussions](https://github.com/LabIMotion/labimotion/discussions) section to share any inquiries, concerns, suggestions, ideas, or even express your interest in collaboration. We welcome your participation! :sun_with_face:
41
-
42
- ## License
38
+ ## Support and Community
43
39
 
44
- Code released under the [AGPL-3.0 License](https://www.gnu.org/licenses/agpl-3.0.txt).
40
+ If you have questions, comments, or suggestions, the best place to share them is in the [Discussions](https://github.com/LabIMotion/chem-generic-ui/discussions) section. We welcome your feedback and participation!