@mieweb/ui 0.1.0 → 0.1.1

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 (72) hide show
  1. package/LICENSE +39 -15
  2. package/README.md +9 -1
  3. package/dist/{chunk-CLNOI5J7.js → chunk-4SMSH4OY.js} +4 -4
  4. package/dist/chunk-4SMSH4OY.js.map +1 -0
  5. package/dist/chunk-5T3AWNHG.cjs +471 -0
  6. package/dist/chunk-5T3AWNHG.cjs.map +1 -0
  7. package/dist/chunk-74K3RRU7.cjs +4 -0
  8. package/dist/{chunk-ZO46CFVN.cjs.map → chunk-74K3RRU7.cjs.map} +1 -1
  9. package/dist/{chunk-VWXGUNBR.cjs → chunk-AKTUXJPI.cjs} +107 -18
  10. package/dist/chunk-AKTUXJPI.cjs.map +1 -0
  11. package/dist/{chunk-NH2JVQ6V.cjs → chunk-I7L6CQXR.cjs} +21 -9
  12. package/dist/chunk-I7L6CQXR.cjs.map +1 -0
  13. package/dist/{chunk-KJOFWJHV.js → chunk-MFB4FS7D.js} +120 -81
  14. package/dist/chunk-MFB4FS7D.js.map +1 -0
  15. package/dist/{chunk-LEE3NMNP.cjs → chunk-NL3CZNBH.cjs} +120 -81
  16. package/dist/chunk-NL3CZNBH.cjs.map +1 -0
  17. package/dist/{chunk-BR2XGATJ.cjs → chunk-NNEFAUHV.cjs} +4 -4
  18. package/dist/chunk-NNEFAUHV.cjs.map +1 -0
  19. package/dist/chunk-SCV7C55E.cjs +11 -0
  20. package/dist/chunk-SCV7C55E.cjs.map +1 -0
  21. package/dist/{chunk-D5IBXXF2.js → chunk-SD44QJIP.js} +20 -8
  22. package/dist/chunk-SD44QJIP.js.map +1 -0
  23. package/dist/{chunk-QBWVTJKF.js → chunk-UBRDKNLQ.js} +107 -18
  24. package/dist/chunk-UBRDKNLQ.js.map +1 -0
  25. package/dist/chunk-V2DF2GUE.js +3 -0
  26. package/dist/{chunk-ZQ4XMJH7.js.map → chunk-V2DF2GUE.js.map} +1 -1
  27. package/dist/chunk-VSQF22GL.js +9 -0
  28. package/dist/chunk-VSQF22GL.js.map +1 -0
  29. package/dist/chunk-XVZ4SLQB.js +447 -0
  30. package/dist/chunk-XVZ4SLQB.js.map +1 -0
  31. package/dist/components/AudioPlayer/index.cjs +6 -6
  32. package/dist/components/AudioPlayer/index.d.cts +5 -1
  33. package/dist/components/AudioPlayer/index.d.ts +5 -1
  34. package/dist/components/AudioPlayer/index.js +1 -1
  35. package/dist/components/Modal/index.cjs +11 -10
  36. package/dist/components/Modal/index.js +3 -2
  37. package/dist/components/RecordButton/index.cjs +4 -8
  38. package/dist/components/RecordButton/index.d.cts +57 -44
  39. package/dist/components/RecordButton/index.d.ts +57 -44
  40. package/dist/components/RecordButton/index.js +1 -1
  41. package/dist/components/Select/index.cjs +3 -4
  42. package/dist/components/Select/index.js +1 -2
  43. package/dist/components/Spinner/index.d.cts +1 -1
  44. package/dist/components/Spinner/index.d.ts +1 -1
  45. package/dist/hooks/index.cjs +3 -2
  46. package/dist/hooks/index.js +2 -1
  47. package/dist/index.cjs +880 -667
  48. package/dist/index.cjs.map +1 -1
  49. package/dist/index.d.cts +16 -11
  50. package/dist/index.d.ts +16 -11
  51. package/dist/index.js +801 -588
  52. package/dist/index.js.map +1 -1
  53. package/dist/styles.css +1 -1
  54. package/dist/utils/index.cjs +6 -1
  55. package/dist/utils/index.d.cts +14 -1
  56. package/dist/utils/index.d.ts +14 -1
  57. package/dist/utils/index.js +2 -1
  58. package/package.json +7 -7
  59. package/dist/chunk-BR2XGATJ.cjs.map +0 -1
  60. package/dist/chunk-CLNOI5J7.js.map +0 -1
  61. package/dist/chunk-D5IBXXF2.js.map +0 -1
  62. package/dist/chunk-FQ5G7J24.js +0 -297
  63. package/dist/chunk-FQ5G7J24.js.map +0 -1
  64. package/dist/chunk-HLW3XD5R.cjs +0 -322
  65. package/dist/chunk-HLW3XD5R.cjs.map +0 -1
  66. package/dist/chunk-KJOFWJHV.js.map +0 -1
  67. package/dist/chunk-LEE3NMNP.cjs.map +0 -1
  68. package/dist/chunk-NH2JVQ6V.cjs.map +0 -1
  69. package/dist/chunk-QBWVTJKF.js.map +0 -1
  70. package/dist/chunk-VWXGUNBR.cjs.map +0 -1
  71. package/dist/chunk-ZO46CFVN.cjs +0 -4
  72. package/dist/chunk-ZQ4XMJH7.js +0 -3
package/dist/index.d.cts CHANGED
@@ -30,7 +30,7 @@ export { PhoneEntry, PhoneInput, PhoneInputGroup, PhoneInputGroupProps, PhoneInp
30
30
  export { CircularProgress, CircularProgressProps, Progress, ProgressProps, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './components/Progress/index.cjs';
31
31
  export { QuickAction, QuickActionColor, QuickActionGroup, QuickActionGroupProps, QuickActionIcons, QuickActionProps, quickActionIconVariants, quickActionVariants } from './components/QuickAction/index.cjs';
32
32
  export { Radio, RadioGroup, RadioGroupProps, RadioProps, radioVariants } from './components/Radio/index.cjs';
33
- export { RecordButton, RecordButtonProps, RecordButtonState, TranscriptionResult, TranscriptionState, formatDuration, recordButtonVariants, recordingIndicatorVariants } from './components/RecordButton/index.cjs';
33
+ export { RecordButton, RecordButtonProps, RecordButtonSize, RecordButtonState, RecordButtonVariant, TranscriptionResult, TranscriptionState, formatDuration, recordButtonVariants } from './components/RecordButton/index.cjs';
34
34
  export { DateButton, DateButtonProps, DatePicker, DatePickerProps, RadioOption, RadioOptionProps, SchedulePicker, SchedulePickerProps, TimeButton, TimeButtonProps, TimePicker, TimePickerProps, dateButtonVariants, radioOptionVariants, timeButtonVariants } from './components/SchedulePicker/index.cjs';
35
35
  export { Select, SelectGroup, SelectOption, SelectProps, selectTriggerVariants } from './components/Select/index.cjs';
36
36
  export { Skeleton, SkeletonCard, SkeletonCardProps, SkeletonProps, SkeletonTable, SkeletonTableProps, SkeletonText, SkeletonTextProps, skeletonVariants } from './components/Skeleton/index.cjs';
@@ -44,7 +44,7 @@ export { Tooltip, TooltipPlacement, TooltipProps } from './components/Tooltip/in
44
44
  export { VisuallyHidden, VisuallyHiddenProps } from './components/VisuallyHidden/index.cjs';
45
45
  export { R as ResolvedTheme, T as Theme, u as useTheme } from './useTheme-B9SWu6ui.cjs';
46
46
  export { KeyboardShortcutOptions, useClickOutside, useCommandK, useEscapeKey, useFocusTrap, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useMediaQuery, usePrefersReducedMotion } from './hooks/index.cjs';
47
- export { calculateAge, cn, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isPhoneNumberEmpty, isValidDate, isValidDrivingAge, isValidPhoneNumber, parseDateValue, unformatPhoneNumber } from './utils/index.cjs';
47
+ export { calculateAge, cn, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, parseDateValue, unformatPhoneNumber } from './utils/index.cjs';
48
48
  export { default as miewebUIPreset, miewebUISafelist } from './tailwind-preset.cjs';
49
49
  export { brands, defaultBrand, enterpriseHealthBrand, miewebBrand, wagglelineBrand, webchartBrand } from './brands/index.cjs';
50
50
  export { default as bluehiveBrand } from './brands/bluehive.cjs';
@@ -1663,7 +1663,7 @@ interface BusinessHoursSchedule {
1663
1663
  timezone?: string;
1664
1664
  }
1665
1665
  declare const containerVariants$1: (props?: ({
1666
- variant?: "inline" | "compact" | "default" | "card" | null | undefined;
1666
+ variant?: "inline" | "default" | "compact" | "card" | null | undefined;
1667
1667
  size?: "sm" | "md" | "lg" | null | undefined;
1668
1668
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1669
1669
  interface OpenStatusBadgeProps {
@@ -1802,6 +1802,10 @@ interface CheckrIntegrationProps {
1802
1802
  onInviteCandidate?: (candidate: Omit<BackgroundCheckCandidate, 'id'>, packageId: string) => void;
1803
1803
  /** Callback to view a report */
1804
1804
  onViewReport?: (report: BackgroundCheckReport) => void;
1805
+ /** Callback to view selected reports */
1806
+ onViewSelected?: (reports: BackgroundCheckReport[]) => void;
1807
+ /** Callback to export selected reports */
1808
+ onExportSelected?: (reports: BackgroundCheckReport[]) => void;
1805
1809
  /** Callback to refresh reports */
1806
1810
  onRefresh?: () => void;
1807
1811
  /** Loading state */
@@ -1832,9 +1836,12 @@ interface CheckrIntegrationProps {
1832
1836
  package?: string;
1833
1837
  submit?: string;
1834
1838
  cancel?: string;
1839
+ exportSelected?: string;
1840
+ viewDetails?: string;
1841
+ noReportsSelected?: string;
1835
1842
  };
1836
1843
  }
1837
- declare function CheckrIntegration({ connected, account, reports, packages, onConnect, onDisconnect, onInviteCandidate, onViewReport, onRefresh, loading, error, className, labels, }: CheckrIntegrationProps): react_jsx_runtime.JSX.Element;
1844
+ declare function CheckrIntegration({ connected, account, reports, packages, onConnect, onDisconnect, onInviteCandidate, onViewReport, onViewSelected, onExportSelected, onRefresh, loading, error, className, labels, }: CheckrIntegrationProps): react_jsx_runtime.JSX.Element;
1838
1845
 
1839
1846
  interface CommandPaletteItem {
1840
1847
  /** Unique identifier */
@@ -2106,7 +2113,7 @@ interface CookieConsentLink {
2106
2113
  href: string;
2107
2114
  }
2108
2115
  declare const bannerVariants: (props?: ({
2109
- position?: "top" | "bottom" | "bottom-right" | "bottom-left" | null | undefined;
2116
+ position?: "bottom" | "top" | "bottom-right" | "bottom-left" | null | undefined;
2110
2117
  variant?: "default" | "minimal" | "branded" | null | undefined;
2111
2118
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2112
2119
  interface CookieConsentBannerProps extends VariantProps<typeof bannerVariants> {
@@ -2255,10 +2262,6 @@ interface CSVColumnMapperProps {
2255
2262
  includeAll?: string;
2256
2263
  ignoreUncompleted?: string;
2257
2264
  import?: string;
2258
- ignore?: string;
2259
- include?: string;
2260
- incomingSample?: string;
2261
- fieldType?: string;
2262
2265
  ensureAccurateData?: string;
2263
2266
  ensureAccurateDataDescription?: string;
2264
2267
  instructions?: string;
@@ -5376,6 +5379,8 @@ interface PageHeaderProps {
5376
5379
  subtitle?: string;
5377
5380
  /** Optional icon to display before the title */
5378
5381
  icon?: React$1.ReactNode;
5382
+ /** Vertical alignment of the icon */
5383
+ iconAlign?: 'top' | 'center';
5379
5384
  /** Action buttons or controls to display on the right */
5380
5385
  actions?: React$1.ReactNode;
5381
5386
  /** Additional content below the title (e.g., breadcrumbs, tabs) */
@@ -5391,7 +5396,7 @@ interface PageHeaderProps {
5391
5396
  * PageHeader displays a section header with title, subtitle, and action buttons.
5392
5397
  * Used as a consistent header pattern across pages and sections.
5393
5398
  */
5394
- declare function PageHeader({ title, subtitle, icon, actions, children, className, bordered, size, }: PageHeaderProps): react_jsx_runtime.JSX.Element;
5399
+ declare function PageHeader({ title, subtitle, icon, iconAlign, actions, children, className, bordered, size, }: PageHeaderProps): react_jsx_runtime.JSX.Element;
5395
5400
 
5396
5401
  interface Payment {
5397
5402
  id: string;
@@ -7521,7 +7526,7 @@ interface DisclaimerTextProps {
7521
7526
  }
7522
7527
  declare function DisclaimerText({ children, variant, className, }: DisclaimerTextProps): react_jsx_runtime.JSX.Element;
7523
7528
  declare const footerVariants: (props?: ({
7524
- variant?: "primary" | "default" | "white" | "dark" | null | undefined;
7529
+ variant?: "primary" | "white" | "dark" | "default" | null | undefined;
7525
7530
  } & class_variance_authority_types.ClassProp) | undefined) => string;
7526
7531
  interface SiteFooterProps extends VariantProps<typeof footerVariants> {
7527
7532
  logo?: {
package/dist/index.d.ts CHANGED
@@ -30,7 +30,7 @@ export { PhoneEntry, PhoneInput, PhoneInputGroup, PhoneInputGroupProps, PhoneInp
30
30
  export { CircularProgress, CircularProgressProps, Progress, ProgressProps, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './components/Progress/index.js';
31
31
  export { QuickAction, QuickActionColor, QuickActionGroup, QuickActionGroupProps, QuickActionIcons, QuickActionProps, quickActionIconVariants, quickActionVariants } from './components/QuickAction/index.js';
32
32
  export { Radio, RadioGroup, RadioGroupProps, RadioProps, radioVariants } from './components/Radio/index.js';
33
- export { RecordButton, RecordButtonProps, RecordButtonState, TranscriptionResult, TranscriptionState, formatDuration, recordButtonVariants, recordingIndicatorVariants } from './components/RecordButton/index.js';
33
+ export { RecordButton, RecordButtonProps, RecordButtonSize, RecordButtonState, RecordButtonVariant, TranscriptionResult, TranscriptionState, formatDuration, recordButtonVariants } from './components/RecordButton/index.js';
34
34
  export { DateButton, DateButtonProps, DatePicker, DatePickerProps, RadioOption, RadioOptionProps, SchedulePicker, SchedulePickerProps, TimeButton, TimeButtonProps, TimePicker, TimePickerProps, dateButtonVariants, radioOptionVariants, timeButtonVariants } from './components/SchedulePicker/index.js';
35
35
  export { Select, SelectGroup, SelectOption, SelectProps, selectTriggerVariants } from './components/Select/index.js';
36
36
  export { Skeleton, SkeletonCard, SkeletonCardProps, SkeletonProps, SkeletonTable, SkeletonTableProps, SkeletonText, SkeletonTextProps, skeletonVariants } from './components/Skeleton/index.js';
@@ -44,7 +44,7 @@ export { Tooltip, TooltipPlacement, TooltipProps } from './components/Tooltip/in
44
44
  export { VisuallyHidden, VisuallyHiddenProps } from './components/VisuallyHidden/index.js';
45
45
  export { R as ResolvedTheme, T as Theme, u as useTheme } from './useTheme-B9SWu6ui.js';
46
46
  export { KeyboardShortcutOptions, useClickOutside, useCommandK, useEscapeKey, useFocusTrap, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useMediaQuery, usePrefersReducedMotion } from './hooks/index.js';
47
- export { calculateAge, cn, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isPhoneNumberEmpty, isValidDate, isValidDrivingAge, isValidPhoneNumber, parseDateValue, unformatPhoneNumber } from './utils/index.js';
47
+ export { calculateAge, cn, formatDateValue, formatPhoneNumber, isDateEmpty, isDateInFuture, isDateInPast, isPhoneNumberEmpty, isStorybookDocsMode, isValidDate, isValidDrivingAge, isValidPhoneNumber, parseDateValue, unformatPhoneNumber } from './utils/index.js';
48
48
  export { default as miewebUIPreset, miewebUISafelist } from './tailwind-preset.js';
49
49
  export { brands, defaultBrand, enterpriseHealthBrand, miewebBrand, wagglelineBrand, webchartBrand } from './brands/index.js';
50
50
  export { default as bluehiveBrand } from './brands/bluehive.js';
@@ -1663,7 +1663,7 @@ interface BusinessHoursSchedule {
1663
1663
  timezone?: string;
1664
1664
  }
1665
1665
  declare const containerVariants$1: (props?: ({
1666
- variant?: "inline" | "compact" | "default" | "card" | null | undefined;
1666
+ variant?: "inline" | "default" | "compact" | "card" | null | undefined;
1667
1667
  size?: "sm" | "md" | "lg" | null | undefined;
1668
1668
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1669
1669
  interface OpenStatusBadgeProps {
@@ -1802,6 +1802,10 @@ interface CheckrIntegrationProps {
1802
1802
  onInviteCandidate?: (candidate: Omit<BackgroundCheckCandidate, 'id'>, packageId: string) => void;
1803
1803
  /** Callback to view a report */
1804
1804
  onViewReport?: (report: BackgroundCheckReport) => void;
1805
+ /** Callback to view selected reports */
1806
+ onViewSelected?: (reports: BackgroundCheckReport[]) => void;
1807
+ /** Callback to export selected reports */
1808
+ onExportSelected?: (reports: BackgroundCheckReport[]) => void;
1805
1809
  /** Callback to refresh reports */
1806
1810
  onRefresh?: () => void;
1807
1811
  /** Loading state */
@@ -1832,9 +1836,12 @@ interface CheckrIntegrationProps {
1832
1836
  package?: string;
1833
1837
  submit?: string;
1834
1838
  cancel?: string;
1839
+ exportSelected?: string;
1840
+ viewDetails?: string;
1841
+ noReportsSelected?: string;
1835
1842
  };
1836
1843
  }
1837
- declare function CheckrIntegration({ connected, account, reports, packages, onConnect, onDisconnect, onInviteCandidate, onViewReport, onRefresh, loading, error, className, labels, }: CheckrIntegrationProps): react_jsx_runtime.JSX.Element;
1844
+ declare function CheckrIntegration({ connected, account, reports, packages, onConnect, onDisconnect, onInviteCandidate, onViewReport, onViewSelected, onExportSelected, onRefresh, loading, error, className, labels, }: CheckrIntegrationProps): react_jsx_runtime.JSX.Element;
1838
1845
 
1839
1846
  interface CommandPaletteItem {
1840
1847
  /** Unique identifier */
@@ -2106,7 +2113,7 @@ interface CookieConsentLink {
2106
2113
  href: string;
2107
2114
  }
2108
2115
  declare const bannerVariants: (props?: ({
2109
- position?: "top" | "bottom" | "bottom-right" | "bottom-left" | null | undefined;
2116
+ position?: "bottom" | "top" | "bottom-right" | "bottom-left" | null | undefined;
2110
2117
  variant?: "default" | "minimal" | "branded" | null | undefined;
2111
2118
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2112
2119
  interface CookieConsentBannerProps extends VariantProps<typeof bannerVariants> {
@@ -2255,10 +2262,6 @@ interface CSVColumnMapperProps {
2255
2262
  includeAll?: string;
2256
2263
  ignoreUncompleted?: string;
2257
2264
  import?: string;
2258
- ignore?: string;
2259
- include?: string;
2260
- incomingSample?: string;
2261
- fieldType?: string;
2262
2265
  ensureAccurateData?: string;
2263
2266
  ensureAccurateDataDescription?: string;
2264
2267
  instructions?: string;
@@ -5376,6 +5379,8 @@ interface PageHeaderProps {
5376
5379
  subtitle?: string;
5377
5380
  /** Optional icon to display before the title */
5378
5381
  icon?: React$1.ReactNode;
5382
+ /** Vertical alignment of the icon */
5383
+ iconAlign?: 'top' | 'center';
5379
5384
  /** Action buttons or controls to display on the right */
5380
5385
  actions?: React$1.ReactNode;
5381
5386
  /** Additional content below the title (e.g., breadcrumbs, tabs) */
@@ -5391,7 +5396,7 @@ interface PageHeaderProps {
5391
5396
  * PageHeader displays a section header with title, subtitle, and action buttons.
5392
5397
  * Used as a consistent header pattern across pages and sections.
5393
5398
  */
5394
- declare function PageHeader({ title, subtitle, icon, actions, children, className, bordered, size, }: PageHeaderProps): react_jsx_runtime.JSX.Element;
5399
+ declare function PageHeader({ title, subtitle, icon, iconAlign, actions, children, className, bordered, size, }: PageHeaderProps): react_jsx_runtime.JSX.Element;
5395
5400
 
5396
5401
  interface Payment {
5397
5402
  id: string;
@@ -7521,7 +7526,7 @@ interface DisclaimerTextProps {
7521
7526
  }
7522
7527
  declare function DisclaimerText({ children, variant, className, }: DisclaimerTextProps): react_jsx_runtime.JSX.Element;
7523
7528
  declare const footerVariants: (props?: ({
7524
- variant?: "primary" | "default" | "white" | "dark" | null | undefined;
7529
+ variant?: "primary" | "white" | "dark" | "default" | null | undefined;
7525
7530
  } & class_variance_authority_types.ClassProp) | undefined) => string;
7526
7531
  interface SiteFooterProps extends VariantProps<typeof footerVariants> {
7527
7532
  logo?: {