@bahmni/design-system 0.0.1-dev.384 → 0.0.1-dev.385
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/timePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,IAAI,qBAAqB,EACzC,MAAM,eAAe,CAAC;AACvB,OAAO,KAAgC,MAAM,OAAO,CAAC;AAMrD,MAAM,MAAM,eAAe,GAAG,qBAAqB,GAAG;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/timePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,IAAI,qBAAqB,EACzC,MAAM,eAAe,CAAC;AACvB,OAAO,KAAgC,MAAM,OAAO,CAAC;AAMrD,MAAM,MAAM,eAAe,GAAG,qBAAqB,GAAG;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA4NhD,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -78943,9 +78943,10 @@ const a_2 = ({
|
|
|
78943
78943
|
return C;
|
|
78944
78944
|
const H = M.slice(0, 4);
|
|
78945
78945
|
let L = H.slice(0, 2), x = H.slice(2), _ = parseInt(L, 10);
|
|
78946
|
-
|
|
78947
|
-
|
|
78948
|
-
|
|
78946
|
+
const N = o ? 23 : 12;
|
|
78947
|
+
if (_ > N ? (_ = N, L = String(N).padStart(2, "0")) : !o && _ === 0 ? (_ = 1, L = "01") : _ < 10 && L.length === 1 && (L = "0" + L), x.length > 0) {
|
|
78948
|
+
let b = parseInt(x, 10);
|
|
78949
|
+
b > 59 ? (b = 59, x = "59") : b < 10 && x.length === 1 && (x = "0" + x);
|
|
78949
78950
|
}
|
|
78950
78951
|
return `${L}:${x}`;
|
|
78951
78952
|
}, E = z1(
|