hplx-feature-library 1.0.21 → 1.0.22

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/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { P as o } from "./PediatricsCalculatorTable-sg4rUfSL.js";
1
+ import { P as o } from "./PediatricsCalculatorTable-7y6QcDmh.js";
2
2
  export {
3
3
  o as PediatricsCalculator
4
4
  };
@@ -20,6 +20,7 @@ export interface I_CalcFields_MlKg {
20
20
  max_ml_day: string;
21
21
  pedia_dosage: string;
22
22
  }
23
+ export type CalcFieldKeys = keyof I_CalcFields_MgKg | keyof I_CalcFields_MlKg;
23
24
  export interface I_Medicine {
24
25
  medicine_id: string;
25
26
  medicine_name: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hplx-feature-library",
3
3
  "private": false,
4
- "version": "1.0.21",
4
+ "version": "1.0.22",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -1,9 +0,0 @@
1
- import { I_CalcFields_MgKg, I_CalcFields_MlKg } from '../../types/PediatricsCalculatorTypes';
2
- interface Props {
3
- isEditable: boolean;
4
- calculationType: string;
5
- calcFields: I_CalcFields_MgKg | I_CalcFields_MlKg;
6
- handleCalcFieldChange: (field: string, value: string | number) => void;
7
- }
8
- declare const _default: import('react').MemoExoticComponent<({ isEditable, calcFields, calculationType, handleCalcFieldChange }: Props) => import("react/jsx-runtime").JSX.Element>;
9
- export default _default;