@appcorp/fusion-storybook 0.1.52 → 0.1.53

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.
@@ -25,7 +25,7 @@ import { useTranslations } from "next-intl";
25
25
  export const EnrollmentForm = () => {
26
26
  const { state: { courseId, enabled, enrollmentDate, errors, sectionId, studentProfileId, }, handleChange, } = useEnrollmentModule();
27
27
  const t = useTranslations("enrollment");
28
- return (_jsxs("div", { className: "space-y-4", children: [_jsx("h4", { className: "text-sm font-semibold text-muted-foreground", children: t("enrollmentInformation") }), _jsx(EnhancedInput, { error: errors.enrollmentDate, id: "enrollmentDate", info: t("enrollmentDateInfo"), label: t("enrollmentDate"), onChange: (e) => handleChange("enrollmentDate", e.target.value), placeholder: t("enrollmentDatePlaceholder"), required: true, type: "date", value: enrollmentDate
28
+ return (_jsxs("div", { className: "space-y-4", children: [_jsx(EnhancedInput, { error: errors.enrollmentDate, id: "enrollmentDate", info: t("enrollmentDateInfo"), label: t("enrollmentDate"), onChange: (e) => handleChange("enrollmentDate", e.target.value), placeholder: t("enrollmentDatePlaceholder"), required: true, type: "date", value: enrollmentDate
29
29
  ? formatDate(enrollmentDate, DATE_FORMATS.YYYY_MM_DD)
30
30
  : "" }), _jsx(Separator, {}), _jsx(EnhancedCombobox, { emptyText: t("noStudentFound"), error: errors.studentProfileId, id: "studentProfileId", info: t("studentInfo"), label: t("student"), onValueChange: (value) => handleChange("studentProfileId", value), options: (getCachedStudentProfilesSync().items || []).map((s) => ({
31
31
  label: s.studentCode || s.id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/fusion-storybook",
3
- "version": "0.1.52",
3
+ "version": "0.1.53",
4
4
  "scripts": {
5
5
  "build-storybook": "storybook build",
6
6
  "build:next": "next build",