@mieweb/ui 0.10.0-dev.33 → 0.10.0-dev.35

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.
Files changed (108) hide show
  1. package/dist/{chunk-VPIYTQCV.cjs → chunk-2I4IRQQG.cjs} +12 -5
  2. package/dist/chunk-2I4IRQQG.cjs.map +1 -0
  3. package/dist/{chunk-FKGFOBC2.js → chunk-434L5RYF.js} +4 -4
  4. package/dist/{chunk-FKGFOBC2.js.map → chunk-434L5RYF.js.map} +1 -1
  5. package/dist/{chunk-TPWKM7JH.js → chunk-43K7OQ3E.js} +3 -3
  6. package/dist/{chunk-TPWKM7JH.js.map → chunk-43K7OQ3E.js.map} +1 -1
  7. package/dist/chunk-522WJIVI.js +99 -0
  8. package/dist/chunk-522WJIVI.js.map +1 -0
  9. package/dist/{chunk-LRRSD7LR.js → chunk-5HKZR6UG.js} +3 -3
  10. package/dist/{chunk-LRRSD7LR.js.map → chunk-5HKZR6UG.js.map} +1 -1
  11. package/dist/{chunk-MJJJDQ5P.cjs → chunk-6WX2OR3U.cjs} +10 -2
  12. package/dist/chunk-6WX2OR3U.cjs.map +1 -0
  13. package/dist/chunk-7E46YDOT.cjs +122 -0
  14. package/dist/chunk-7E46YDOT.cjs.map +1 -0
  15. package/dist/{chunk-I2MMUFCN.cjs → chunk-ARIJ5OHW.cjs} +9 -24
  16. package/dist/chunk-ARIJ5OHW.cjs.map +1 -0
  17. package/dist/{chunk-VOYLX32A.cjs → chunk-CLQW724U.cjs} +4 -4
  18. package/dist/{chunk-VOYLX32A.cjs.map → chunk-CLQW724U.cjs.map} +1 -1
  19. package/dist/{chunk-VNEAQCY2.js → chunk-DGHS5IVD.js} +19 -22
  20. package/dist/chunk-DGHS5IVD.js.map +1 -0
  21. package/dist/{chunk-TKWNXAFI.js → chunk-FDA3R5E7.js} +10 -2
  22. package/dist/chunk-FDA3R5E7.js.map +1 -0
  23. package/dist/{chunk-LSMS6DY7.cjs → chunk-FSWHZY3T.cjs} +18 -21
  24. package/dist/chunk-FSWHZY3T.cjs.map +1 -0
  25. package/dist/{chunk-ISUIKUX7.cjs → chunk-H3P7POFC.cjs} +7 -7
  26. package/dist/{chunk-ISUIKUX7.cjs.map → chunk-H3P7POFC.cjs.map} +1 -1
  27. package/dist/{chunk-462XSCP3.cjs → chunk-HCIXGFWR.cjs} +4 -4
  28. package/dist/{chunk-462XSCP3.cjs.map → chunk-HCIXGFWR.cjs.map} +1 -1
  29. package/dist/{chunk-CCAVJSWL.cjs → chunk-HNNWWLKY.cjs} +8 -8
  30. package/dist/{chunk-CCAVJSWL.cjs.map → chunk-HNNWWLKY.cjs.map} +1 -1
  31. package/dist/{chunk-3RXZWHCU.js → chunk-LDBNUJB7.js} +3 -3
  32. package/dist/{chunk-3RXZWHCU.js.map → chunk-LDBNUJB7.js.map} +1 -1
  33. package/dist/{chunk-ADW7ZYCY.cjs → chunk-LRAAJRE7.cjs} +4 -4
  34. package/dist/{chunk-ADW7ZYCY.cjs.map → chunk-LRAAJRE7.cjs.map} +1 -1
  35. package/dist/{chunk-YMILRSRO.js → chunk-MHR2OS5I.js} +3 -3
  36. package/dist/{chunk-YMILRSRO.js.map → chunk-MHR2OS5I.js.map} +1 -1
  37. package/dist/{chunk-ORCCJ5VY.cjs → chunk-OIMXMPH2.cjs} +4 -4
  38. package/dist/{chunk-ORCCJ5VY.cjs.map → chunk-OIMXMPH2.cjs.map} +1 -1
  39. package/dist/{chunk-CEQJGUAS.js → chunk-P4E3K3ND.js} +12 -5
  40. package/dist/chunk-P4E3K3ND.js.map +1 -0
  41. package/dist/{chunk-6JSFT2J5.js → chunk-RLVYWUXG.js} +9 -24
  42. package/dist/chunk-RLVYWUXG.js.map +1 -0
  43. package/dist/{chunk-YRHBSSQ3.cjs → chunk-RV45J2ZT.cjs} +4 -4
  44. package/dist/{chunk-YRHBSSQ3.cjs.map → chunk-RV45J2ZT.cjs.map} +1 -1
  45. package/dist/{chunk-EPTP3VKT.js → chunk-WFL4N5PC.js} +3 -3
  46. package/dist/{chunk-EPTP3VKT.js.map → chunk-WFL4N5PC.js.map} +1 -1
  47. package/dist/{chunk-H3QPREIJ.js → chunk-X3RSNAMX.js} +3 -3
  48. package/dist/{chunk-H3QPREIJ.js.map → chunk-X3RSNAMX.js.map} +1 -1
  49. package/dist/{chunk-T4JYUICS.js → chunk-Y7ZJZLJY.js} +3 -3
  50. package/dist/{chunk-T4JYUICS.js.map → chunk-Y7ZJZLJY.js.map} +1 -1
  51. package/dist/{chunk-P55LNEDH.cjs → chunk-ZSNFL736.cjs} +4 -4
  52. package/dist/{chunk-P55LNEDH.cjs.map → chunk-ZSNFL736.cjs.map} +1 -1
  53. package/dist/components/ActionPlan/index.cjs +5 -5
  54. package/dist/components/ActionPlan/index.js +3 -3
  55. package/dist/components/AssociationList/index.cjs +4 -4
  56. package/dist/components/AssociationList/index.js +2 -2
  57. package/dist/components/Badge/index.cjs +3 -3
  58. package/dist/components/Badge/index.d.cts +15 -1
  59. package/dist/components/Badge/index.d.ts +15 -1
  60. package/dist/components/Badge/index.js +1 -1
  61. package/dist/components/CompletenessMeter/index.cjs +5 -4
  62. package/dist/components/CompletenessMeter/index.js +2 -1
  63. package/dist/components/Progress/index.cjs +6 -6
  64. package/dist/components/Progress/index.d.cts +7 -1
  65. package/dist/components/Progress/index.d.ts +7 -1
  66. package/dist/components/Progress/index.js +1 -1
  67. package/dist/components/RadialExplorer/index.cjs +3 -3
  68. package/dist/components/RadialExplorer/index.js +2 -2
  69. package/dist/components/RecordHeader/index.cjs +4 -4
  70. package/dist/components/RecordHeader/index.d.cts +11 -1
  71. package/dist/components/RecordHeader/index.d.ts +11 -1
  72. package/dist/components/RecordHeader/index.js +2 -2
  73. package/dist/components/RecordLayout/index.cjs +4 -4
  74. package/dist/components/RecordLayout/index.js +2 -2
  75. package/dist/components/SuperChat/index.cjs +2 -2
  76. package/dist/components/SuperChat/index.js +1 -1
  77. package/dist/components/TagEditor/index.cjs +5 -3
  78. package/dist/components/TagEditor/index.js +3 -1
  79. package/dist/components/VideoCard/index.cjs +4 -4
  80. package/dist/components/VideoCard/index.js +2 -2
  81. package/dist/datavis.cjs +2 -2
  82. package/dist/datavis.js +1 -1
  83. package/dist/esheet.cjs +5 -5
  84. package/dist/esheet.js +2 -2
  85. package/dist/index.cjs +151 -165
  86. package/dist/index.cjs.map +1 -1
  87. package/dist/index.d.cts +22 -2
  88. package/dist/index.d.ts +22 -2
  89. package/dist/index.js +22 -36
  90. package/dist/index.js.map +1 -1
  91. package/dist/styles.css +1 -1
  92. package/dist/tailwind-preset.cjs +4 -4
  93. package/dist/tailwind-preset.js +1 -1
  94. package/dist/templates.cjs +31 -31
  95. package/dist/templates.js +2 -2
  96. package/package.json +1 -1
  97. package/dist/chunk-6JSFT2J5.js.map +0 -1
  98. package/dist/chunk-BMSG4NBH.js +0 -56
  99. package/dist/chunk-BMSG4NBH.js.map +0 -1
  100. package/dist/chunk-CEQJGUAS.js.map +0 -1
  101. package/dist/chunk-I2MMUFCN.cjs.map +0 -1
  102. package/dist/chunk-LSMS6DY7.cjs.map +0 -1
  103. package/dist/chunk-MJJJDQ5P.cjs.map +0 -1
  104. package/dist/chunk-TKWNXAFI.js.map +0 -1
  105. package/dist/chunk-VNEAQCY2.js.map +0 -1
  106. package/dist/chunk-VPIYTQCV.cjs.map +0 -1
  107. package/dist/chunk-YVL3XATO.cjs +0 -79
  108. package/dist/chunk-YVL3XATO.cjs.map +0 -1
package/dist/index.d.cts CHANGED
@@ -4521,19 +4521,33 @@ declare const AvatarGroup: React$1.ForwardRefExoticComponent<AvatarGroupProps &
4521
4521
  declare const badgeVariants: (props?: ({
4522
4522
  variant?: "default" | "secondary" | "outline" | "danger" | "warning" | "success" | null | undefined;
4523
4523
  size?: "sm" | "md" | "lg" | null | undefined;
4524
+ removable?: boolean | null | undefined;
4524
4525
  } & class_variance_authority_types.ClassProp) | undefined) => string;
4525
- interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
4526
+ interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement>, Omit<VariantProps<typeof badgeVariants>, 'removable'> {
4526
4527
  /** Optional icon before the text */
4527
4528
  icon?: React$1.ReactNode;
4529
+ /** Renders a remove button after the text; the badge becomes a chip. */
4530
+ onRemove?: (event: React$1.MouseEvent<HTMLButtonElement>) => void;
4531
+ /**
4532
+ * Accessible name of the remove button. Always pass a translated string;
4533
+ * the English default only guards against a missing label.
4534
+ */
4535
+ removeLabel?: string;
4536
+ /** Disables the remove button. */
4537
+ removeDisabled?: boolean;
4528
4538
  }
4529
4539
  /**
4530
4540
  * A badge component for displaying status, labels, or counts.
4541
+ * With `onRemove` it becomes a removable chip.
4531
4542
  *
4532
4543
  * @example
4533
4544
  * ```tsx
4534
4545
  * <Badge variant="success">Active</Badge>
4535
4546
  * <Badge variant="warning" size="sm">Pending</Badge>
4536
4547
  * <Badge variant="danger" icon={<AlertIcon />}>Error</Badge>
4548
+ * <Badge onRemove={() => clear(tag)} removeLabel={t('removeTag', { tag })}>
4549
+ * {tag}
4550
+ * </Badge>
4537
4551
  * ```
4538
4552
  */
4539
4553
  declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
@@ -13355,12 +13369,18 @@ interface ProgressProps extends VariantProps<typeof progressBarTrackVariants>, V
13355
13369
  max?: number;
13356
13370
  /** Label for the progress bar */
13357
13371
  label?: string;
13372
+ /** Accessible name when no visible `label` is rendered. */
13373
+ srLabel?: string;
13374
+ /** Human-readable `aria-valuetext` announced instead of the raw value. */
13375
+ valueText?: string;
13358
13376
  /** Show the percentage value */
13359
13377
  showValue?: boolean;
13360
13378
  /** Format the displayed value */
13361
13379
  formatValue?: (value: number, max: number) => string;
13362
13380
  /** Additional class name */
13363
13381
  className?: string;
13382
+ /** Class for the fill, e.g. to tone its colour by value. */
13383
+ fillClassName?: string;
13364
13384
  /** Whether the progress is indeterminate */
13365
13385
  indeterminate?: boolean;
13366
13386
  }
@@ -13374,7 +13394,7 @@ interface ProgressProps extends VariantProps<typeof progressBarTrackVariants>, V
13374
13394
  * <Progress value={30} variant="success" striped />
13375
13395
  * ```
13376
13396
  */
13377
- declare function Progress({ value, max, label, showValue, formatValue, size, variant, animated, striped, className, indeterminate, }: ProgressProps): react_jsx_runtime.JSX.Element;
13397
+ declare function Progress({ value, max, label, srLabel, valueText, showValue, formatValue, size, variant, animated, striped, className, fillClassName, indeterminate, }: ProgressProps): react_jsx_runtime.JSX.Element;
13378
13398
  declare namespace Progress {
13379
13399
  var displayName: string;
13380
13400
  }
package/dist/index.d.ts CHANGED
@@ -4521,19 +4521,33 @@ declare const AvatarGroup: React$1.ForwardRefExoticComponent<AvatarGroupProps &
4521
4521
  declare const badgeVariants: (props?: ({
4522
4522
  variant?: "default" | "secondary" | "outline" | "danger" | "warning" | "success" | null | undefined;
4523
4523
  size?: "sm" | "md" | "lg" | null | undefined;
4524
+ removable?: boolean | null | undefined;
4524
4525
  } & class_variance_authority_types.ClassProp) | undefined) => string;
4525
- interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
4526
+ interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement>, Omit<VariantProps<typeof badgeVariants>, 'removable'> {
4526
4527
  /** Optional icon before the text */
4527
4528
  icon?: React$1.ReactNode;
4529
+ /** Renders a remove button after the text; the badge becomes a chip. */
4530
+ onRemove?: (event: React$1.MouseEvent<HTMLButtonElement>) => void;
4531
+ /**
4532
+ * Accessible name of the remove button. Always pass a translated string;
4533
+ * the English default only guards against a missing label.
4534
+ */
4535
+ removeLabel?: string;
4536
+ /** Disables the remove button. */
4537
+ removeDisabled?: boolean;
4528
4538
  }
4529
4539
  /**
4530
4540
  * A badge component for displaying status, labels, or counts.
4541
+ * With `onRemove` it becomes a removable chip.
4531
4542
  *
4532
4543
  * @example
4533
4544
  * ```tsx
4534
4545
  * <Badge variant="success">Active</Badge>
4535
4546
  * <Badge variant="warning" size="sm">Pending</Badge>
4536
4547
  * <Badge variant="danger" icon={<AlertIcon />}>Error</Badge>
4548
+ * <Badge onRemove={() => clear(tag)} removeLabel={t('removeTag', { tag })}>
4549
+ * {tag}
4550
+ * </Badge>
4537
4551
  * ```
4538
4552
  */
4539
4553
  declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
@@ -13355,12 +13369,18 @@ interface ProgressProps extends VariantProps<typeof progressBarTrackVariants>, V
13355
13369
  max?: number;
13356
13370
  /** Label for the progress bar */
13357
13371
  label?: string;
13372
+ /** Accessible name when no visible `label` is rendered. */
13373
+ srLabel?: string;
13374
+ /** Human-readable `aria-valuetext` announced instead of the raw value. */
13375
+ valueText?: string;
13358
13376
  /** Show the percentage value */
13359
13377
  showValue?: boolean;
13360
13378
  /** Format the displayed value */
13361
13379
  formatValue?: (value: number, max: number) => string;
13362
13380
  /** Additional class name */
13363
13381
  className?: string;
13382
+ /** Class for the fill, e.g. to tone its colour by value. */
13383
+ fillClassName?: string;
13364
13384
  /** Whether the progress is indeterminate */
13365
13385
  indeterminate?: boolean;
13366
13386
  }
@@ -13374,7 +13394,7 @@ interface ProgressProps extends VariantProps<typeof progressBarTrackVariants>, V
13374
13394
  * <Progress value={30} variant="success" striped />
13375
13395
  * ```
13376
13396
  */
13377
- declare function Progress({ value, max, label, showValue, formatValue, size, variant, animated, striped, className, indeterminate, }: ProgressProps): react_jsx_runtime.JSX.Element;
13397
+ declare function Progress({ value, max, label, srLabel, valueText, showValue, formatValue, size, variant, animated, striped, className, fillClassName, indeterminate, }: ProgressProps): react_jsx_runtime.JSX.Element;
13378
13398
  declare namespace Progress {
13379
13399
  var displayName: string;
13380
13400
  }
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { getModelBytes } from './chunk-6I7IDZ4A.js';
2
2
  import { loadWhatPrints, saveWhatPrints, clearWhatPrints } from './chunk-74ENCTIK.js';
3
3
  export { clearVoiceprints, clearWhatPrints, getVoiceprints, loadWhatPrints, saveWhatPrints, setVoiceprints } from './chunk-74ENCTIK.js';
4
- export { RecordLayout, defaultRecordLayoutLabels } from './chunk-H3QPREIJ.js';
5
- export { TagEditor, defaultTagEditorLabels } from './chunk-VNEAQCY2.js';
4
+ export { RecordLayout, defaultRecordLayoutLabels } from './chunk-X3RSNAMX.js';
5
+ export { TagEditor, defaultTagEditorLabels } from './chunk-DGHS5IVD.js';
6
6
  export { UserPicker, defaultUserPickerLabels } from './chunk-SZSRGUVO.js';
7
7
  export { brands } from './chunk-RPFATYUI.js';
8
8
  export { miewebBrand } from './chunk-NERS5ZT6.js';
@@ -14,21 +14,21 @@ export { createBrandPreset, generateBrandCSS, generateTailwindTheme } from './ch
14
14
  export { bluehiveBrand } from './chunk-PJEL5ZZV.js';
15
15
  export { ccmeBrand } from './chunk-SCQRJPSV.js';
16
16
  export { ozwellBrand } from './chunk-5YUBQIC7.js';
17
- export { CompletenessMeter, defaultCompletenessMeterLabels, getCompleteness } from './chunk-6JSFT2J5.js';
17
+ export { CompletenessMeter, defaultCompletenessMeterLabels, getCompleteness } from './chunk-RLVYWUXG.js';
18
18
  export { FieldHistory, defaultFieldHistoryLabels } from './chunk-6N7NMOSV.js';
19
19
  export { LogoUploader, defaultLogoUploaderLabels } from './chunk-WQHBMZSC.js';
20
20
  export { PhiMask, defaultPhiMaskLabels } from './chunk-DHGCLPFZ.js';
21
21
  export { PropertyList, defaultPropertyListLabels } from './chunk-7HUTR6RX.js';
22
22
  export { InlineEdit, defaultInlineEditLabels } from './chunk-M3VPGJMV.js';
23
23
  export { Rating, ReviewCard, defaultRatingLabels, defaultReviewCardLabels } from './chunk-CBBKWRLG.js';
24
- export { RecordHeader, defaultRecordHeaderLabels } from './chunk-EPTP3VKT.js';
25
- export { PlayButton, VideoCard } from './chunk-TPWKM7JH.js';
24
+ export { RecordHeader, defaultRecordHeaderLabels } from './chunk-WFL4N5PC.js';
25
+ export { PlayButton, VideoCard } from './chunk-43K7OQ3E.js';
26
26
  export { VisuallyHidden } from './chunk-H2CIKJQI.js';
27
27
  export { MONTH_LETTERS, MONTH_NAMES, YearTimeline, resolveCurrent } from './chunk-SQJFBZ42.js';
28
- export { ActionPlan, defaultActionPlanLabels } from './chunk-FKGFOBC2.js';
28
+ export { ActionPlan, defaultActionPlanLabels } from './chunk-434L5RYF.js';
29
29
  export { ActivityFeed, defaultActivityFeedLabels } from './chunk-X5JOEZVR.js';
30
30
  import './chunk-YGS2TRMP.js';
31
- export { AssociationList, defaultAssociationListLabels } from './chunk-LRRSD7LR.js';
31
+ export { AssociationList, defaultAssociationListLabels } from './chunk-5HKZR6UG.js';
32
32
  import './chunk-FTEZNCRI.js';
33
33
  import './chunk-Y424YL55.js';
34
34
  import './chunk-GY5SP4ST.js';
@@ -58,8 +58,8 @@ export { SectionSpyNav } from './chunk-FIKO4WR6.js';
58
58
  export { AnimatedNumber, SliderCalculator } from './chunk-NUB5HRKS.js';
59
59
  import { Skeleton } from './chunk-ZIUADGAR.js';
60
60
  export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants } from './chunk-ZIUADGAR.js';
61
- import { Progress } from './chunk-CEQJGUAS.js';
62
- export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-CEQJGUAS.js';
61
+ import { Progress } from './chunk-P4E3K3ND.js';
62
+ export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-P4E3K3ND.js';
63
63
  export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-TQDZLRIE.js';
64
64
  export { ReadingProgressBar } from './chunk-WKSUL2ZN.js';
65
65
  import { RecordButton } from './chunk-VNWJTCBQ.js';
@@ -72,7 +72,7 @@ import './chunk-RISZWWEQ.js';
72
72
  import { normalizePath, MegaMenuBar } from './chunk-THLIL6PY.js';
73
73
  export { MegaMenu, MegaMenuBar, normalizePath } from './chunk-THLIL6PY.js';
74
74
  export { OrbitRing } from './chunk-SUS3WFY3.js';
75
- export { RadialExplorer } from './chunk-3RXZWHCU.js';
75
+ export { RadialExplorer } from './chunk-LDBNUJB7.js';
76
76
  export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-PFKRHNYV.js';
77
77
  export { PhoneInput, PhoneInputGroup } from './chunk-XOIIUO6O.js';
78
78
  export { GanttView, defaultGanttLabels } from './chunk-Y4QNLW7W.js';
@@ -118,7 +118,7 @@ export { AudioPlayer, ProgressBar, audioPlayerVariants, formatTime as formatAudi
118
118
  export { AudioRecorder, audioRecorderVariants, controlButtonVariants, formatTime, waveformContainerVariants } from './chunk-2DW4PUJD.js';
119
119
  export { Autocomplete } from './chunk-UBOVDAD7.js';
120
120
  export { BoardView, cardVariants as boardViewCardVariants, defaultBoardLabels } from './chunk-XVW5DPPP.js';
121
- export { BenchmarkTableSection, ComparisonSection, CtaSection, FaqSection, FeatureGridSection, HeroSection, LandingPage, LeadFormSection, LinkGroupsSection, LogoCloudSection, MetricListSection, PdfEmbedSection, PricingSection, ProcessStepsSection, RankedListSection, ReportByline, ReportLegend, ReportMethodology, ResourceCardsSection, SplitContentSection, StatsSection, TestimonialSection, TileCartogramSection, VideoSection, defaultLeadFormFields, landingPresets, quartileBuckets, usStateTiles, validateLandingPage } from './chunk-T4JYUICS.js';
121
+ export { BenchmarkTableSection, ComparisonSection, CtaSection, FaqSection, FeatureGridSection, HeroSection, LandingPage, LeadFormSection, LinkGroupsSection, LogoCloudSection, MetricListSection, PdfEmbedSection, PricingSection, ProcessStepsSection, RankedListSection, ReportByline, ReportLegend, ReportMethodology, ResourceCardsSection, SplitContentSection, StatsSection, TestimonialSection, TileCartogramSection, VideoSection, defaultLeadFormFields, landingPresets, quartileBuckets, usStateTiles, validateLandingPage } from './chunk-Y7ZJZLJY.js';
122
122
  import './chunk-IQ4KQJAO.js';
123
123
  export { MetricStatusBadge, SectionHeading, SectionShell, TemplateIcon, defaultMetricStatusLabels, templateIcons } from './chunk-FBCDYTWM.js';
124
124
  import { useDirection, useCommandK, useIsMobile, useMediaQuery } from './chunk-F3EWRDIT.js';
@@ -136,7 +136,7 @@ export { useMediaTransport } from './chunk-GW4RFJZ5.js';
136
136
  import './chunk-7XUN3OQT.js';
137
137
  export { isHtmlEmpty, stripHtmlTags } from './chunk-ERLPVXOV.js';
138
138
  export { formatPhoneNumber, isPhoneNumberEmpty, isValidPhoneNumber, unformatPhoneNumber } from './chunk-ZVPJ2MH6.js';
139
- export { miewebUIPreset, miewebUISafelist } from './chunk-TKWNXAFI.js';
139
+ export { miewebUIPreset, miewebUISafelist } from './chunk-FDA3R5E7.js';
140
140
  export { Accordion } from './chunk-JUJGWUAN.js';
141
141
  import './chunk-H2Y7HZV5.js';
142
142
  export { AvatarGroup, defaultAvatarGroupLabels } from './chunk-DVDT7TX7.js';
@@ -147,8 +147,8 @@ import { Spinner, SpinnerWithLabel } from './chunk-UA7E7PDS.js';
147
147
  export { FullPageSpinner, Spinner, SpinnerWithLabel, spinnerVariants } from './chunk-UA7E7PDS.js';
148
148
  import { evaluateDue, completedKeys, normalizeOrders } from './chunk-Y5KEFV5O.js';
149
149
  export { buildChartOrderRows, buildEncounterOrderRows, dueForOrder, evaluateDue, evaluateProgram, isApplicable } from './chunk-Y5KEFV5O.js';
150
- import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-YMILRSRO.js';
151
- export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-YMILRSRO.js';
150
+ import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-MHR2OS5I.js';
151
+ export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-MHR2OS5I.js';
152
152
  import { Textarea } from './chunk-H3YO5GBM.js';
153
153
  export { Textarea, textareaVariants } from './chunk-H3YO5GBM.js';
154
154
  import { Tooltip } from './chunk-7X6R3JIA.js';
@@ -188,8 +188,8 @@ import { Plus, GripVertical, RefreshCw, Pencil, Trash2, AlertCircle, ArrowLeft,
188
188
  export { Accessibility as AccessibilityIcon, Activity as ActivityIcon, AlertCircle as AlertCircleIcon, AlertTriangle as AlertTriangleIcon, Wheat as AllergyIcon, WheatOff as AllergyOffIcon, Ambulance as AmbulanceIcon, ArrowLeft as ArrowLeftIcon, ArrowRight as ArrowRightIcon, ArrowUpDown as ArrowUpDownIcon, ArrowUp as ArrowUpIcon, AtSign as AtSignIcon, Baby as BabyIcon, BadgeAlert as BadgeAlertIcon, BadgeCheck as BadgeCheckIcon, BadgeMinus as BadgeMinusIcon, BadgePlus as BadgePlusIcon, BadgeX as BadgeXIcon, Ban as BanIcon, Bandage as BandageIcon, BedDouble as BedDoubleIcon, Bed as BedIcon, BedSingle as BedSingleIcon, Bell as BellIcon, BellOff as BellOffIcon, Biohazard as BiohazardIcon, Bone as BoneIcon, BookOpenCheck as BookOpenCheckIcon, BookOpen as BookOpenIcon, Bookmark as BookmarkIcon, Bot as BotIcon, Brain as BrainIcon, Briefcase as BriefcaseIcon, BriefcaseMedical as BriefcaseMedicalIcon, Building as BuildingIcon, CalendarCheck as CalendarCheckIcon, Calendar as CalendarIcon, Camera as CameraIcon, Cannabis as CannabisIcon, BarChart3 as ChartIcon, CheckCircle as CheckCircleIcon, Check as CheckIcon, ChevronDown as ChevronDownIcon, ChevronLeft as ChevronLeftIcon, ChevronRight as ChevronRightIcon, ChevronUp as ChevronUpIcon, Cigarette as CigaretteIcon, CigaretteOff as CigaretteOffIcon, CircleDotDashed as CircleDotDashedIcon, CircleDot as CircleDotIcon, CircleUser as CircleUserIcon, ClipboardCheck as ClipboardCheckIcon, Clipboard as ClipboardIcon, ClipboardList as ClipboardListIcon, ClipboardPlus as ClipboardPlusIcon, Clock as ClockIcon, Cog as CogIcon, Columns as ColumnsIcon, Copy as CopyIcon, CreditCard as CreditCardIcon, Cross as CrossIcon, Dna as DnaIcon, DollarSign as DollarSignIcon, Download as DownloadIcon, Droplet as DropletIcon, Droplets as DropletsIcon, Ear as EarIcon, ExternalLink as ExternalLinkIcon, Eye as EyeIcon, EyeOff as EyeOffIcon, FileCheck2 as FileCheck2Icon, FileCheck as FileCheckIcon, FileHeart as FileHeartIcon, File as FileIcon, FilePlus2 as FilePlus2Icon, FilePlus as FilePlusIcon, FileText as FileTextIcon, Filter as FilterIcon, Fingerprint as FingerprintIcon, Flag as FlagIcon, FlaskConical as FlaskIcon, FlaskRound as FlaskRoundIcon, Folder as FolderIcon, FolderOpen as FolderOpenIcon, Footprints as FootprintsIcon, Glasses as GlassesIcon, Globe as GlobeIcon, LayoutGrid as GridIcon, GripVertical as GripVerticalIcon, Hand as HandIcon, HandMetal as HandMetalIcon, Hash as HashIcon, Heart as HeartIcon, HeartOff as HeartOffIcon, HeartPulse as HeartPulseIcon, HelpCircle as HelpCircleIcon, History as HistoryIcon, Home as HomeIcon, Hospital as HospitalIcon, Image as ImageIcon, Info as InfoIcon, Key as KeyIcon, Link as LinkIcon, List as ListIcon, Loader2 as LoaderIcon, Lock as LockIcon, LogIn as LogInIcon, LogOut as LogOutIcon, Mail as MailIcon, MapPin as MapPinIcon, Maximize as MaximizeIcon, Menu as MenuIcon, MessageSquare as MessageIcon, Mic as MicIcon, Microscope as MicroscopeIcon, Minimize as MinimizeIcon, Minus as MinusIcon, Monitor as MonitorIcon, Moon as MoonIcon, MoreHorizontal as MoreHorizontalIcon, MoreVertical as MoreVerticalIcon, NotebookPen as NotebookPenIcon, Palette as PaletteIcon, Paperclip as PaperclipIcon, CircleUserRound as PatientIcon, Pencil as PencilIcon, UserRound as PersonIcon, Phone as PhoneIcon, PieChart as PieChartIcon, Pill as PillIcon, Plus as PlusIcon, Printer as PrinterIcon, Radiation as RadiationIcon, Ruler as RulerIcon, Save as SaveIcon, Scale as ScaleIcon, Scaling as ScalingIcon, ScanEye as ScanEyeIcon, Scan as ScanIcon, ScanLine as ScanLineIcon, Search as SearchIcon, Settings as SettingsIcon, Share as ShareIcon, ShieldCheck as ShieldCheckIcon, Shield as ShieldIcon, ShieldPlus as ShieldPlusIcon, Sliders as SlidersIcon, Sparkle as SparkleIcon, Star as StarIcon, Stethoscope as StethoscopeIcon, StickyNote as StickyNoteIcon, Square as StopIcon, Sun as SunIcon, Syringe as SyringeIcon, Table as TableIcon, Tablets as TabletsIcon, Tag as TagIcon, TestTube2 as TestTubeIcon, TestTubes as TestTubesIcon, Thermometer as ThermometerIcon, ThermometerSun as ThermometerSunIcon, ThumbsDown as ThumbsDownIcon, ThumbsUp as ThumbsUpIcon, Timer as TimerIcon, Trash2 as TrashIcon, TrendingDown as TrendingDownIcon, TrendingUp as TrendingUpIcon, Truck as TruckIcon, Unlock as UnlockIcon, Upload as UploadIcon, UserCheck as UserCheckIcon, User as UserIcon, UserMinus as UserMinusIcon, UserPlus as UserPlusIcon, UserRoundCheck as UserRoundCheckIcon, UserRoundMinus as UserRoundMinusIcon, UserRoundPlus as UserRoundPlusIcon, UserRoundX as UserRoundXIcon, Users as UsersIcon, Weight as WeightIcon, Wrench as WrenchIcon, XCircle as XCircleIcon, X2 as XIcon, Zap as ZapIcon } from './chunk-BKSPDTX4.js';
189
189
  import { usePrefersReducedMotion } from './chunk-XDU65GLW.js';
190
190
  export { usePrefersReducedMotion } from './chunk-XDU65GLW.js';
191
- import { Badge } from './chunk-BMSG4NBH.js';
192
- export { Badge, badgeVariants } from './chunk-BMSG4NBH.js';
191
+ import { Badge } from './chunk-522WJIVI.js';
192
+ export { Badge, badgeVariants } from './chunk-522WJIVI.js';
193
193
  import './chunk-N5JDL4VE.js';
194
194
  import { Button } from './chunk-WFBUBT54.js';
195
195
  export { Button } from './chunk-WFBUBT54.js';
@@ -34563,27 +34563,13 @@ function ActiveFilters({
34563
34563
  "data-slot": "provider-active-filters",
34564
34564
  children: [
34565
34565
  /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm", children: "Active filters:" }),
34566
- activeFilters.map((filter) => /* @__PURE__ */ jsxs(
34567
- "span",
34566
+ activeFilters.map((filter) => /* @__PURE__ */ jsx(
34567
+ Badge,
34568
34568
  {
34569
- className: cn(
34570
- "inline-flex items-center gap-1 rounded-full px-2 py-1 text-sm",
34571
- "bg-neutral-100 text-neutral-700",
34572
- "dark:bg-neutral-700 dark:text-neutral-300"
34573
- ),
34574
- children: [
34575
- filter.label,
34576
- /* @__PURE__ */ jsx(
34577
- "button",
34578
- {
34579
- type: "button",
34580
- onClick: filter.onClear,
34581
- className: "ms-1 rounded-full p-0.5 hover:bg-neutral-200 dark:hover:bg-neutral-600",
34582
- "aria-label": `Remove filter: ${filter.label}`,
34583
- children: /* @__PURE__ */ jsx(XMarkIcon, { className: "h-3 w-3" })
34584
- }
34585
- )
34586
- ]
34569
+ variant: "secondary",
34570
+ onRemove: filter.onClear,
34571
+ removeLabel: `Remove filter: ${filter.label}`,
34572
+ children: filter.label
34587
34573
  },
34588
34574
  filter.key
34589
34575
  )),