@jield/solodb-react-components 1.2.2 → 1.2.4

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.
@@ -1,4 +1,4 @@
1
- import { Run } from '@jield/solodb-typescript-core';
1
+ import { Run, RunTypeEnum } from '@jield/solodb-typescript-core';
2
2
  import { SelectedSubstrate } from '../substrateSelect';
3
3
  export type CreateRunFormValues = {
4
4
  name: string;
@@ -8,8 +8,7 @@ export type CreateRunFormValues = {
8
8
  projectId: number;
9
9
  parts: number;
10
10
  location: string;
11
- conclusion: string;
12
- runType: "research" | "production";
11
+ runType: RunTypeEnum;
13
12
  };
14
13
  type CreateRunFormProps = {
15
14
  isSubmitting: boolean;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- export default function FormSection({ title, isFirst, children, }: {
2
+ export default function FormSection({ title, children }: {
3
3
  title: string;
4
4
  isFirst?: boolean;
5
5
  children: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jield/solodb-react-components",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "type": "module",
5
5
  "repository": "jield-webdev/solodb-react-components",
6
6
  "main": "./dist/index.cjs",
@@ -22,12 +22,13 @@
22
22
  "build": "tsc && vite build",
23
23
  "dev": "cd example && yarn dev",
24
24
  "example:install": "cd example && yarn install",
25
+ "release": "bash scripts/release.sh",
25
26
  "test": "vitest",
26
27
  "test:watch": "vitest --watch",
27
28
  "coverage": "vitest run --coverage"
28
29
  },
29
30
  "dependencies": {
30
- "@jield/solodb-typescript-core": "1.2.2",
31
+ "@jield/solodb-typescript-core": "^1.2.3",
31
32
  "@testing-library/dom": "^10.4.1",
32
33
  "moment": "^2.30.1",
33
34
  "moment-timezone": "^0.6.2",
@@ -51,8 +52,8 @@
51
52
  },
52
53
  "devDependencies": {
53
54
  "@originjs/vite-plugin-commonjs": "^1.0.3",
54
- "@tanstack/react-query": "~5.101.0",
55
- "@tanstack/react-query-devtools": "~5.101.0",
55
+ "@tanstack/react-query": "^5.101.0",
56
+ "@tanstack/react-query-devtools": "^5.101.0",
56
57
  "@tanstack/react-table": "^8.21.3",
57
58
  "@testing-library/jest-dom": "^6.9.1",
58
59
  "@testing-library/react": "^16.3.2",