@mieweb/ui 0.2.2 → 0.2.4

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.d.cts CHANGED
@@ -1970,6 +1970,8 @@ interface CountBadgeProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonEl
1970
1970
  onDelete?: (item: CountBadgeItem) => void;
1971
1971
  /** Label used in the delete confirmation dialog (e.g. "task", "encounter"). Defaults to "item". */
1972
1972
  deleteLabel?: string;
1973
+ /** Independent variant for the count chip. When set, overrides `variant` for just the number. */
1974
+ countVariant?: VariantProps<typeof countChipVariants>['variant'];
1973
1975
  }
1974
1976
  /**
1975
1977
  * A pill-shaped badge with a label and count chip, ideal for navigation
@@ -5505,7 +5507,7 @@ interface PatientData {
5505
5507
  /** Family/PCP provider name */
5506
5508
  familyProvider?: string;
5507
5509
  }
5508
- type PatientOverflowAction = 'edit-patient' | 'add-task' | 'add-encounter' | 'add-due-list' | 'add-order' | 'add-esign' | 'add-allergy' | 'add-medication' | 'add-alert' | 'add-condition' | 'add-vitals' | 'send-message' | 'schedule-appointment' | 'print-summary' | 'export-record';
5510
+ type PatientOverflowAction = 'edit-patient' | 'add-task' | 'add-encounter' | 'add-due-list' | 'add-order' | 'add-esign' | 'add-allergy' | 'add-medication' | 'add-alert' | 'add-condition' | 'add-vitals' | 'contact' | 'send-message' | 'schedule-appointment' | 'print-summary' | 'export-record';
5509
5511
  interface PatientHeaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'className'> {
5510
5512
  /** Patient data object */
5511
5513
  patient: PatientData;
@@ -5529,10 +5531,10 @@ interface PatientHeaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>
5529
5531
  showMedicationBanner?: boolean;
5530
5532
  /** Whether to show the comments row (default: false) */
5531
5533
  showCommentsBanner?: boolean;
5532
- /** Show collapsible demographics detail section (default: false) */
5533
- showDetails?: boolean;
5534
- /** Whether demographics details are expanded initially (default: true) */
5535
- detailsExpanded?: boolean;
5534
+ /** Whether to show the attending/family provider row (default: false) */
5535
+ showProviderBanner?: boolean;
5536
+ /** Whether to show the flag ribbon at the bottom, e.g. Duplicate (default: false) */
5537
+ showFlagBanner?: boolean;
5536
5538
  /** Maximum medications to display before "+N more" (default: 4) */
5537
5539
  maxVisibleMeds?: number;
5538
5540
  /** Show the patient-level overflow menu to the right of count badges (default: false) */
@@ -5577,7 +5579,7 @@ interface PatientHeaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>
5577
5579
  * ]}
5578
5580
  * showAllergyBanner
5579
5581
  * showMedicationBanner
5580
- * showDetails
5582
+ * showProviderBanner
5581
5583
  * />
5582
5584
  * ```
5583
5585
  */
package/dist/index.d.ts CHANGED
@@ -1970,6 +1970,8 @@ interface CountBadgeProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonEl
1970
1970
  onDelete?: (item: CountBadgeItem) => void;
1971
1971
  /** Label used in the delete confirmation dialog (e.g. "task", "encounter"). Defaults to "item". */
1972
1972
  deleteLabel?: string;
1973
+ /** Independent variant for the count chip. When set, overrides `variant` for just the number. */
1974
+ countVariant?: VariantProps<typeof countChipVariants>['variant'];
1973
1975
  }
1974
1976
  /**
1975
1977
  * A pill-shaped badge with a label and count chip, ideal for navigation
@@ -5505,7 +5507,7 @@ interface PatientData {
5505
5507
  /** Family/PCP provider name */
5506
5508
  familyProvider?: string;
5507
5509
  }
5508
- type PatientOverflowAction = 'edit-patient' | 'add-task' | 'add-encounter' | 'add-due-list' | 'add-order' | 'add-esign' | 'add-allergy' | 'add-medication' | 'add-alert' | 'add-condition' | 'add-vitals' | 'send-message' | 'schedule-appointment' | 'print-summary' | 'export-record';
5510
+ type PatientOverflowAction = 'edit-patient' | 'add-task' | 'add-encounter' | 'add-due-list' | 'add-order' | 'add-esign' | 'add-allergy' | 'add-medication' | 'add-alert' | 'add-condition' | 'add-vitals' | 'contact' | 'send-message' | 'schedule-appointment' | 'print-summary' | 'export-record';
5509
5511
  interface PatientHeaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'className'> {
5510
5512
  /** Patient data object */
5511
5513
  patient: PatientData;
@@ -5529,10 +5531,10 @@ interface PatientHeaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>
5529
5531
  showMedicationBanner?: boolean;
5530
5532
  /** Whether to show the comments row (default: false) */
5531
5533
  showCommentsBanner?: boolean;
5532
- /** Show collapsible demographics detail section (default: false) */
5533
- showDetails?: boolean;
5534
- /** Whether demographics details are expanded initially (default: true) */
5535
- detailsExpanded?: boolean;
5534
+ /** Whether to show the attending/family provider row (default: false) */
5535
+ showProviderBanner?: boolean;
5536
+ /** Whether to show the flag ribbon at the bottom, e.g. Duplicate (default: false) */
5537
+ showFlagBanner?: boolean;
5536
5538
  /** Maximum medications to display before "+N more" (default: 4) */
5537
5539
  maxVisibleMeds?: number;
5538
5540
  /** Show the patient-level overflow menu to the right of count badges (default: false) */
@@ -5577,7 +5579,7 @@ interface PatientHeaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>
5577
5579
  * ]}
5578
5580
  * showAllergyBanner
5579
5581
  * showMedicationBanner
5580
- * showDetails
5582
+ * showProviderBanner
5581
5583
  * />
5582
5584
  * ```
5583
5585
  */