@ctlyst.id/internal-ui 4.1.12 → 4.1.13

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -731,6 +731,7 @@ declare class Time {
731
731
  }
732
732
  declare const timeFromString: (timeString: string) => Time;
733
733
  interface TimeInputProps {
734
+ name?: string;
734
735
  config?: TimeOptions;
735
736
  value?: Time;
736
737
  seconds?: boolean;
package/dist/index.d.ts CHANGED
@@ -731,6 +731,7 @@ declare class Time {
731
731
  }
732
732
  declare const timeFromString: (timeString: string) => Time;
733
733
  interface TimeInputProps {
734
+ name?: string;
734
735
  config?: TimeOptions;
735
736
  value?: Time;
736
737
  seconds?: boolean;
package/dist/index.js CHANGED
@@ -5541,6 +5541,7 @@ var InputTimeArea = (0, import_react85.forwardRef)((props, ref) => {
5541
5541
  });
5542
5542
  var TimeInput2 = (0, import_react85.forwardRef)(
5543
5543
  ({
5544
+ name,
5544
5545
  config: config2,
5545
5546
  label,
5546
5547
  isError,
@@ -5623,6 +5624,7 @@ var TimeInput2 = (0, import_react85.forwardRef)(
5623
5624
  cursor: isDisabled ? "not-allowed" : "default",
5624
5625
  alignItems: "center",
5625
5626
  gap: 3,
5627
+ "data-test-id": `CT_Component_TimeInput${name ? `_${name}` : ""}`,
5626
5628
  children: [
5627
5629
  /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_react85.Flex, { gap: "1px", width: "100%", alignItems: "center", pl: 2, children: [
5628
5630
  /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(InputTimeArea, { "data-test-id": "start-time", ...hoursProps }),