@mieweb/ui 0.3.0-dev.88 → 0.3.0-dev.89

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.js CHANGED
@@ -29259,7 +29259,7 @@ function ProviderSettings({
29259
29259
  ] }),
29260
29260
  /* @__PURE__ */ jsx(TabsContent, { value: "general", children: /* @__PURE__ */ jsxs("div", { className: "grid gap-6 md:grid-cols-2", children: [
29261
29261
  /* @__PURE__ */ jsxs(Card, { children: [
29262
- /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { className: "text-lg", children: "Basic Information" }) }),
29262
+ /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { as: "h2", className: "text-lg", children: "Basic Information" }) }),
29263
29263
  /* @__PURE__ */ jsxs(CardContent, { className: "space-y-4", children: [
29264
29264
  /* @__PURE__ */ jsxs("div", { children: [
29265
29265
  /* @__PURE__ */ jsx(
@@ -29339,7 +29339,7 @@ function ProviderSettings({
29339
29339
  ] })
29340
29340
  ] }),
29341
29341
  /* @__PURE__ */ jsxs(Card, { children: [
29342
- /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { className: "text-lg", children: "Contact Information" }) }),
29342
+ /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { as: "h2", className: "text-lg", children: "Contact Information" }) }),
29343
29343
  /* @__PURE__ */ jsxs(CardContent, { className: "space-y-4", children: [
29344
29344
  /* @__PURE__ */ jsxs("div", { children: [
29345
29345
  /* @__PURE__ */ jsx(
@@ -29401,7 +29401,7 @@ function ProviderSettings({
29401
29401
  ] })
29402
29402
  ] }),
29403
29403
  /* @__PURE__ */ jsxs(Card, { className: "md:col-span-2", children: [
29404
- /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { className: "text-lg", children: "Address" }) }),
29404
+ /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { as: "h2", className: "text-lg", children: "Address" }) }),
29405
29405
  /* @__PURE__ */ jsxs(CardContent, { className: "space-y-4", children: [
29406
29406
  /* @__PURE__ */ jsxs("div", { className: "grid gap-4 md:grid-cols-2", children: [
29407
29407
  /* @__PURE__ */ jsxs("div", { children: [
@@ -29519,7 +29519,7 @@ function ProviderSettings({
29519
29519
  ] })
29520
29520
  ] }) }),
29521
29521
  /* @__PURE__ */ jsx(TabsContent, { value: "notifications", children: /* @__PURE__ */ jsx("div", { "data-slot": "provider-settings-notifications", children: /* @__PURE__ */ jsxs(Card, { children: [
29522
- /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { className: "text-lg", children: "Notification Preferences" }) }),
29522
+ /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { as: "h2", className: "text-lg", children: "Notification Preferences" }) }),
29523
29523
  /* @__PURE__ */ jsxs(CardContent, { className: "space-y-6", children: [
29524
29524
  /* @__PURE__ */ jsxs("div", { children: [
29525
29525
  /* @__PURE__ */ jsx("h3", { className: "mb-4 font-medium text-gray-900 dark:text-white", children: "Email Notifications" }),
@@ -29533,7 +29533,8 @@ function ProviderSettings({
29533
29533
  Switch,
29534
29534
  {
29535
29535
  checked: settings.notifications.emailNewOrders,
29536
- onCheckedChange: (checked) => updateNotifications("emailNewOrders", checked)
29536
+ onCheckedChange: (checked) => updateNotifications("emailNewOrders", checked),
29537
+ "aria-label": "Email new orders"
29537
29538
  }
29538
29539
  )
29539
29540
  ] }),
@@ -29546,7 +29547,8 @@ function ProviderSettings({
29546
29547
  Switch,
29547
29548
  {
29548
29549
  checked: settings.notifications.emailOrderUpdates,
29549
- onCheckedChange: (checked) => updateNotifications("emailOrderUpdates", checked)
29550
+ onCheckedChange: (checked) => updateNotifications("emailOrderUpdates", checked),
29551
+ "aria-label": "Email order updates"
29550
29552
  }
29551
29553
  )
29552
29554
  ] }),
@@ -29559,7 +29561,8 @@ function ProviderSettings({
29559
29561
  Switch,
29560
29562
  {
29561
29563
  checked: settings.notifications.emailInvoices,
29562
- onCheckedChange: (checked) => updateNotifications("emailInvoices", checked)
29564
+ onCheckedChange: (checked) => updateNotifications("emailInvoices", checked),
29565
+ "aria-label": "Email invoice notifications"
29563
29566
  }
29564
29567
  )
29565
29568
  ] })
@@ -29577,7 +29580,8 @@ function ProviderSettings({
29577
29580
  Switch,
29578
29581
  {
29579
29582
  checked: settings.notifications.smsNewOrders,
29580
- onCheckedChange: (checked) => updateNotifications("smsNewOrders", checked)
29583
+ onCheckedChange: (checked) => updateNotifications("smsNewOrders", checked),
29584
+ "aria-label": "SMS new orders"
29581
29585
  }
29582
29586
  )
29583
29587
  ] }),
@@ -29590,7 +29594,8 @@ function ProviderSettings({
29590
29594
  Switch,
29591
29595
  {
29592
29596
  checked: settings.notifications.smsOrderUpdates,
29593
- onCheckedChange: (checked) => updateNotifications("smsOrderUpdates", checked)
29597
+ onCheckedChange: (checked) => updateNotifications("smsOrderUpdates", checked),
29598
+ "aria-label": "SMS order updates"
29594
29599
  }
29595
29600
  )
29596
29601
  ] })
@@ -29599,7 +29604,7 @@ function ProviderSettings({
29599
29604
  ] })
29600
29605
  ] }) }) }),
29601
29606
  /* @__PURE__ */ jsx(TabsContent, { value: "scheduling", children: /* @__PURE__ */ jsx("div", { "data-slot": "provider-settings-scheduling", children: /* @__PURE__ */ jsxs(Card, { children: [
29602
- /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { className: "text-lg", children: "Scheduling Settings" }) }),
29607
+ /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { as: "h2", className: "text-lg", children: "Scheduling Settings" }) }),
29603
29608
  /* @__PURE__ */ jsxs(CardContent, { className: "space-y-6", children: [
29604
29609
  /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
29605
29610
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
@@ -29611,7 +29616,8 @@ function ProviderSettings({
29611
29616
  Switch,
29612
29617
  {
29613
29618
  checked: settings.scheduling.acceptingNewPatients,
29614
- onCheckedChange: (checked) => updateScheduling("acceptingNewPatients", checked)
29619
+ onCheckedChange: (checked) => updateScheduling("acceptingNewPatients", checked),
29620
+ "aria-label": "Accepting new patients"
29615
29621
  }
29616
29622
  )
29617
29623
  ] }),
@@ -29624,7 +29630,8 @@ function ProviderSettings({
29624
29630
  Switch,
29625
29631
  {
29626
29632
  checked: settings.scheduling.requireAppointment,
29627
- onCheckedChange: (checked) => updateScheduling("requireAppointment", checked)
29633
+ onCheckedChange: (checked) => updateScheduling("requireAppointment", checked),
29634
+ "aria-label": "Require appointment"
29628
29635
  }
29629
29636
  )
29630
29637
  ] })
@@ -29682,7 +29689,7 @@ function ProviderSettings({
29682
29689
  ] })
29683
29690
  ] }) }) }),
29684
29691
  /* @__PURE__ */ jsx(TabsContent, { value: "payments", children: /* @__PURE__ */ jsx("div", { "data-slot": "provider-settings-payments", children: /* @__PURE__ */ jsxs(Card, { children: [
29685
- /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { className: "text-lg", children: "Payment Settings" }) }),
29692
+ /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { as: "h2", className: "text-lg", children: "Payment Settings" }) }),
29686
29693
  /* @__PURE__ */ jsxs(CardContent, { className: "space-y-6", children: [
29687
29694
  /* @__PURE__ */ jsxs("div", { children: [
29688
29695
  /* @__PURE__ */ jsx("h3", { className: "mb-4 font-medium text-gray-900 dark:text-white", children: "Accepted Payment Methods" }),
@@ -29713,7 +29720,8 @@ function ProviderSettings({
29713
29720
  Switch,
29714
29721
  {
29715
29722
  checked: settings.payments.acceptsCreditCard,
29716
- onCheckedChange: (checked) => updatePayments("acceptsCreditCard", checked)
29723
+ onCheckedChange: (checked) => updatePayments("acceptsCreditCard", checked),
29724
+ "aria-label": "Accept credit card"
29717
29725
  }
29718
29726
  )
29719
29727
  ] }),
@@ -29743,7 +29751,8 @@ function ProviderSettings({
29743
29751
  Switch,
29744
29752
  {
29745
29753
  checked: settings.payments.acceptsACH,
29746
- onCheckedChange: (checked) => updatePayments("acceptsACH", checked)
29754
+ onCheckedChange: (checked) => updatePayments("acceptsACH", checked),
29755
+ "aria-label": "Accept ACH / bank transfer"
29747
29756
  }
29748
29757
  )
29749
29758
  ] }),
@@ -29773,7 +29782,8 @@ function ProviderSettings({
29773
29782
  Switch,
29774
29783
  {
29775
29784
  checked: settings.payments.acceptsCash,
29776
- onCheckedChange: (checked) => updatePayments("acceptsCash", checked)
29785
+ onCheckedChange: (checked) => updatePayments("acceptsCash", checked),
29786
+ "aria-label": "Accept cash"
29777
29787
  }
29778
29788
  )
29779
29789
  ] }),
@@ -29803,7 +29813,8 @@ function ProviderSettings({
29803
29813
  Switch,
29804
29814
  {
29805
29815
  checked: settings.payments.acceptsCheck,
29806
- onCheckedChange: (checked) => updatePayments("acceptsCheck", checked)
29816
+ onCheckedChange: (checked) => updatePayments("acceptsCheck", checked),
29817
+ "aria-label": "Accept check"
29807
29818
  }
29808
29819
  )
29809
29820
  ] })