opus-toolkit-components 0.5.2 → 0.5.3
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.
|
@@ -870,6 +870,7 @@ function DatePicker(_ref) {
|
|
|
870
870
|
// Add onChange prop for passing event to parent
|
|
871
871
|
value,
|
|
872
872
|
className = '',
|
|
873
|
+
title = '',
|
|
873
874
|
required = false // Add the required prop
|
|
874
875
|
} = _ref;
|
|
875
876
|
const [selectedDate, setSelectedDate] = (0,external_react_.useState)(value || initialDate);
|
|
@@ -899,6 +900,8 @@ function DatePicker(_ref) {
|
|
|
899
900
|
name: name // Pass the name to identify the input in the event
|
|
900
901
|
,
|
|
901
902
|
value: selectedDate,
|
|
903
|
+
title: title,
|
|
904
|
+
"aria-label": title,
|
|
902
905
|
onChange: handleDateChange,
|
|
903
906
|
className: inputClasses,
|
|
904
907
|
required: required // Apply the required attribute to the input
|
|
@@ -9500,4 +9503,4 @@ const Modal = _ref => {
|
|
|
9500
9503
|
/******/ })()
|
|
9501
9504
|
;
|
|
9502
9505
|
});
|
|
9503
|
-
//# sourceMappingURL=main.
|
|
9506
|
+
//# sourceMappingURL=main.6da54ee86d2456bdb71c.js.map
|