@sudobility/healthcare-components 1.0.11 → 1.1.1
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.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +14 -14
- package/dist/index.umd.js +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from './allergen-filter';
|
|
2
|
+
export * from './compliance-checker';
|
|
1
3
|
/**
|
|
2
4
|
* healthcare-components
|
|
3
5
|
*
|
|
@@ -5,10 +7,8 @@
|
|
|
5
7
|
*
|
|
6
8
|
* @package @sudobility/healthcare-components
|
|
7
9
|
*/
|
|
8
|
-
export * from './allergen-filter';
|
|
9
10
|
export * from './appointment-booking';
|
|
10
11
|
export * from './appointment-slot';
|
|
11
|
-
export * from './compliance-checker';
|
|
12
12
|
export * from './patient-record';
|
|
13
13
|
export * from './prescription-manager';
|
|
14
14
|
export * from './vital-signs';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC;;;;;;GAMG;AAEH,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC"}
|
package/dist/index.esm.js
CHANGED
|
@@ -38,14 +38,13 @@ const d = ({
|
|
|
38
38
|
e
|
|
39
39
|
),
|
|
40
40
|
role: "region",
|
|
41
|
-
"aria-label": "
|
|
42
|
-
children: o || "
|
|
41
|
+
"aria-label": "ComplianceChecker",
|
|
42
|
+
children: o || "ComplianceChecker Component"
|
|
43
43
|
}
|
|
44
44
|
), c = ({
|
|
45
45
|
className: e,
|
|
46
46
|
children: o,
|
|
47
|
-
disabled: r
|
|
48
|
-
onClick: n
|
|
47
|
+
disabled: r
|
|
49
48
|
}) => /* @__PURE__ */ a(
|
|
50
49
|
"div",
|
|
51
50
|
{
|
|
@@ -55,18 +54,17 @@ const d = ({
|
|
|
55
54
|
"border-gray-200 dark:border-gray-700",
|
|
56
55
|
"text-gray-900 dark:text-white",
|
|
57
56
|
r && "opacity-50 cursor-not-allowed",
|
|
58
|
-
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
59
57
|
e
|
|
60
58
|
),
|
|
61
|
-
onClick: r ? void 0 : n,
|
|
62
59
|
role: "region",
|
|
63
|
-
"aria-label": "
|
|
64
|
-
children: o || "
|
|
60
|
+
"aria-label": "AppointmentBooking",
|
|
61
|
+
children: o || "AppointmentBooking Component"
|
|
65
62
|
}
|
|
66
63
|
), s = ({
|
|
67
64
|
className: e,
|
|
68
65
|
children: o,
|
|
69
|
-
disabled: r
|
|
66
|
+
disabled: r = !1,
|
|
67
|
+
onClick: n
|
|
70
68
|
}) => /* @__PURE__ */ a(
|
|
71
69
|
"div",
|
|
72
70
|
{
|
|
@@ -76,11 +74,13 @@ const d = ({
|
|
|
76
74
|
"border-gray-200 dark:border-gray-700",
|
|
77
75
|
"text-gray-900 dark:text-white",
|
|
78
76
|
r && "opacity-50 cursor-not-allowed",
|
|
77
|
+
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
79
78
|
e
|
|
80
79
|
),
|
|
80
|
+
onClick: r ? void 0 : n,
|
|
81
81
|
role: "region",
|
|
82
|
-
"aria-label": "
|
|
83
|
-
children: o || "
|
|
82
|
+
"aria-label": "UappointmentUslot",
|
|
83
|
+
children: o || "UappointmentUslot Component"
|
|
84
84
|
}
|
|
85
85
|
), b = ({
|
|
86
86
|
className: e,
|
|
@@ -141,11 +141,11 @@ const d = ({
|
|
|
141
141
|
}
|
|
142
142
|
);
|
|
143
143
|
export {
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
c as AppointmentBooking,
|
|
145
|
+
g as ComplianceChecker,
|
|
146
146
|
b as PatientRecord,
|
|
147
147
|
p as PrescriptionManager,
|
|
148
148
|
d as UallergenUfilter,
|
|
149
|
-
|
|
149
|
+
s as UappointmentUslot,
|
|
150
150
|
y as VitalSigns
|
|
151
151
|
};
|
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("react/jsx-runtime"),require("@sudobility/components")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@sudobility/components"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.Web3Components={},e.ReactJSXRuntime,e.SudobilityComponents))})(this,(function(e,t,n){"use strict";const d=({className:o,children:a,disabled:r=!1,onClick:i})=>t.jsx("div",{className:n.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",o),onClick:r?void 0:i,role:"region","aria-label":"UallergenUfilter",children:a||"UallergenUfilter Component"}),l=({className:o,children:a,disabled:r})=>t.jsx("div",{className:n.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed",o),role:"region","aria-label":"
|
|
1
|
+
(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("react/jsx-runtime"),require("@sudobility/components")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@sudobility/components"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.Web3Components={},e.ReactJSXRuntime,e.SudobilityComponents))})(this,(function(e,t,n){"use strict";const d=({className:o,children:a,disabled:r=!1,onClick:i})=>t.jsx("div",{className:n.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",o),onClick:r?void 0:i,role:"region","aria-label":"UallergenUfilter",children:a||"UallergenUfilter Component"}),l=({className:o,children:a,disabled:r})=>t.jsx("div",{className:n.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed",o),role:"region","aria-label":"ComplianceChecker",children:a||"ComplianceChecker Component"}),g=({className:o,children:a,disabled:r})=>t.jsx("div",{className:n.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed",o),role:"region","aria-label":"AppointmentBooking",children:a||"AppointmentBooking Component"}),c=({className:o,children:a,disabled:r=!1,onClick:i})=>t.jsx("div",{className:n.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",o),onClick:r?void 0:i,role:"region","aria-label":"UappointmentUslot",children:a||"UappointmentUslot Component"}),s=({className:o,children:a,disabled:r})=>t.jsx("div",{className:n.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed",o),role:"region","aria-label":"PatientRecord",children:a||"PatientRecord Component"}),b=({className:o,children:a,disabled:r})=>t.jsx("div",{className:n.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed",o),role:"region","aria-label":"PrescriptionManager",children:a||"PrescriptionManager Component"}),y=({className:o,children:a,disabled:r})=>t.jsx("div",{className:n.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed",o),role:"region","aria-label":"VitalSigns",children:a||"VitalSigns Component"});e.AppointmentBooking=g,e.ComplianceChecker=l,e.PatientRecord=s,e.PrescriptionManager=b,e.UallergenUfilter=d,e.UappointmentUslot=c,e.VitalSigns=y,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sudobility/healthcare-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Healthcare and medical UI components for React",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
"@heroicons/react": "^2.2.0",
|
|
36
36
|
"@sudobility/design": "^1.1.3",
|
|
37
37
|
"react": "^18.0.0 || ^19.0.0",
|
|
38
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
38
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
39
|
+
"@sudobility/components": "^4.0.0"
|
|
39
40
|
},
|
|
40
41
|
"devDependencies": {
|
|
41
42
|
"@heroicons/react": "^2.2.0",
|