@opencloning/ui 1.4.7 → 1.4.9

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,5 +1,25 @@
1
1
  # @opencloning/ui
2
2
 
3
+ ## 1.4.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [#640](https://github.com/manulera/OpenCloning_frontend/pull/640) [`2a8015b`](https://github.com/manulera/OpenCloning_frontend/commit/2a8015b63534c56dc7a7ae38b5fab7f14db1262d) Thanks [@manulera](https://github.com/manulera)! - Improve width of assembler plasmids dropdowns
8
+
9
+ - Updated dependencies []:
10
+ - @opencloning/store@1.4.9
11
+ - @opencloning/utils@1.4.9
12
+
13
+ ## 1.4.8
14
+
15
+ ### Patch Changes
16
+
17
+ - [#637](https://github.com/manulera/OpenCloning_frontend/pull/637) [`600d6e3`](https://github.com/manulera/OpenCloning_frontend/commit/600d6e341feb308fe62d22dc11d6b1e256dd43d4) Thanks [@manulera](https://github.com/manulera)! - Fix kcal > cal in thermodynamics
18
+
19
+ - Updated dependencies []:
20
+ - @opencloning/store@1.4.8
21
+ - @opencloning/utils@1.4.8
22
+
3
23
  ## 1.4.7
4
24
 
5
25
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencloning/ui",
3
- "version": "1.4.7",
3
+ "version": "1.4.9",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
@@ -25,8 +25,8 @@
25
25
  "@emotion/styled": "^11.14.0",
26
26
  "@mui/icons-material": "^5.15.17",
27
27
  "@mui/material": "^5.15.17",
28
- "@opencloning/store": "1.4.7",
29
- "@opencloning/utils": "1.4.7",
28
+ "@opencloning/store": "1.4.9",
29
+ "@opencloning/utils": "1.4.9",
30
30
  "@teselagen/bio-parsers": "^0.4.34",
31
31
  "@teselagen/ove": "^0.8.34",
32
32
  "@teselagen/range-utils": "^0.3.20",
@@ -105,6 +105,11 @@ function AssemblerBox({ item, index, setCategory, setId, categories, plasmids, a
105
105
  options={allowedPlasmids.map((item) => item.id)}
106
106
  getOptionLabel={(id) => formatItemName(plasmids.find((d) => d.id === id))}
107
107
  renderInput={(params) => <TextField {...params} label="Plasmids" />}
108
+ componentsProps={{
109
+ popper: {
110
+ sx: { minWidth: 'max-content' },
111
+ },
112
+ }}
108
113
  renderOption={(props, option) => {
109
114
  const { key, ...restProps } = props
110
115
  const plasmid = plasmids.find((d) => d.id === option)
@@ -42,7 +42,7 @@ describe('PCRTable', () => {
42
42
  });
43
43
 
44
44
  cy.contains('.pcr-table tr', 'ΔG (heterodimer)').within(() => {
45
- cy.get('td').should('contain', '-5276 kcal/mol');
45
+ cy.get('td').should('contain', '-5276 cal/mol');
46
46
  });
47
47
 
48
48
  // Verify heterodimer figure exists
@@ -25,7 +25,7 @@ export default function PCRTable({ pcrDetail }) {
25
25
  {heterodimer && (
26
26
  <>
27
27
  <TableSection
28
- values={[['Tm (heterodimer)', `${formatMeltingTemperature(heterodimer.melting_temperature)} °C`], ['ΔG (heterodimer)', `${formatDeltaG(heterodimer.deltaG)} kcal/mol`]]}
28
+ values={[['Tm (heterodimer)', `${formatMeltingTemperature(heterodimer.melting_temperature)} °C`], ['ΔG (heterodimer)', `${formatDeltaG(heterodimer.deltaG)} cal/mol`]]}
29
29
  />
30
30
  <Primer3Figure figure={heterodimer.figure} />
31
31
  </>
@@ -91,7 +91,7 @@ describe('PrimerInfoDialog Component', () => {
91
91
  cy.get('tr').eq(7).find('td').eq(0)
92
92
  .should('contain', 'ΔG (homodimer)');
93
93
  cy.get('tr').eq(7).find('td').eq(1)
94
- .should('contain', '-100 kcal/mol');
94
+ .should('contain', '-100 cal/mol');
95
95
 
96
96
  // Hairpin section
97
97
  cy.get('tr').eq(9).should('contain', 'Hairpin');
@@ -102,7 +102,7 @@ describe('PrimerInfoDialog Component', () => {
102
102
  cy.get('tr').eq(11).find('td').eq(0)
103
103
  .should('contain', 'ΔG (hairpin)');
104
104
  cy.get('tr').eq(11).find('td').eq(1)
105
- .should('contain', '-100 kcal/mol');
105
+ .should('contain', '-100 cal/mol');
106
106
  cy.get('.pcr-table').should('not.exist');
107
107
  });
108
108
 
@@ -30,7 +30,7 @@ export function PrimerInfoDialog({ primerDetails, open, onClose, pcrDetails }) {
30
30
  title="Homodimer"
31
31
  values={[
32
32
  ['Tm (homodimer)', `${formatMeltingTemperature(primerDetails.homodimer.melting_temperature)} °C`],
33
- ['ΔG (homodimer)', `${formatDeltaG(primerDetails.homodimer.deltaG)} kcal/mol`],
33
+ ['ΔG (homodimer)', `${formatDeltaG(primerDetails.homodimer.deltaG)} cal/mol`],
34
34
  ]}
35
35
  />
36
36
  <Primer3Figure figure={primerDetails.homodimer.figure} />
@@ -42,7 +42,7 @@ export function PrimerInfoDialog({ primerDetails, open, onClose, pcrDetails }) {
42
42
  title="Hairpin"
43
43
  values={[
44
44
  ['Tm (hairpin)', `${formatMeltingTemperature(primerDetails.hairpin.melting_temperature)} °C`],
45
- ['ΔG (hairpin)', `${formatDeltaG(primerDetails.hairpin.deltaG)} kcal/mol`],
45
+ ['ΔG (hairpin)', `${formatDeltaG(primerDetails.hairpin.deltaG)} cal/mol`],
46
46
  ]}
47
47
  />
48
48
  <Primer3Figure figure={primerDetails.hairpin.figure} />
package/src/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Version placeholder - replaced at publish time via prepack script
2
- export const version = "1.4.7";
2
+ export const version = "1.4.9";