@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.
- package/LICENSE +39 -15
- package/README.md +9 -1
- package/dist/{chunk-CLNOI5J7.js → chunk-4SMSH4OY.js} +4 -4
- package/dist/chunk-4SMSH4OY.js.map +1 -0
- package/dist/chunk-5T3AWNHG.cjs +471 -0
- package/dist/chunk-5T3AWNHG.cjs.map +1 -0
- package/dist/chunk-74K3RRU7.cjs +4 -0
- package/dist/{chunk-ZO46CFVN.cjs.map → chunk-74K3RRU7.cjs.map} +1 -1
- package/dist/{chunk-VWXGUNBR.cjs → chunk-AKTUXJPI.cjs} +107 -18
- package/dist/chunk-AKTUXJPI.cjs.map +1 -0
- package/dist/{chunk-NH2JVQ6V.cjs → chunk-I7L6CQXR.cjs} +21 -9
- package/dist/chunk-I7L6CQXR.cjs.map +1 -0
- package/dist/{chunk-KJOFWJHV.js → chunk-MFB4FS7D.js} +120 -81
- package/dist/chunk-MFB4FS7D.js.map +1 -0
- package/dist/{chunk-LEE3NMNP.cjs → chunk-NL3CZNBH.cjs} +120 -81
- package/dist/chunk-NL3CZNBH.cjs.map +1 -0
- package/dist/{chunk-BR2XGATJ.cjs → chunk-NNEFAUHV.cjs} +4 -4
- package/dist/chunk-NNEFAUHV.cjs.map +1 -0
- package/dist/chunk-SCV7C55E.cjs +11 -0
- package/dist/chunk-SCV7C55E.cjs.map +1 -0
- package/dist/{chunk-D5IBXXF2.js → chunk-SD44QJIP.js} +20 -8
- package/dist/chunk-SD44QJIP.js.map +1 -0
- package/dist/{chunk-QBWVTJKF.js → chunk-UBRDKNLQ.js} +107 -18
- package/dist/chunk-UBRDKNLQ.js.map +1 -0
- package/dist/chunk-V2DF2GUE.js +3 -0
- package/dist/{chunk-ZQ4XMJH7.js.map → chunk-V2DF2GUE.js.map} +1 -1
- package/dist/chunk-VSQF22GL.js +9 -0
- package/dist/chunk-VSQF22GL.js.map +1 -0
- package/dist/chunk-XVZ4SLQB.js +447 -0
- package/dist/chunk-XVZ4SLQB.js.map +1 -0
- package/dist/components/AudioPlayer/index.cjs +6 -6
- package/dist/components/AudioPlayer/index.d.cts +5 -1
- package/dist/components/AudioPlayer/index.d.ts +5 -1
- package/dist/components/AudioPlayer/index.js +1 -1
- package/dist/components/Modal/index.cjs +11 -10
- package/dist/components/Modal/index.js +3 -2
- package/dist/components/RecordButton/index.cjs +4 -8
- package/dist/components/RecordButton/index.d.cts +57 -44
- package/dist/components/RecordButton/index.d.ts +57 -44
- package/dist/components/RecordButton/index.js +1 -1
- package/dist/components/Select/index.cjs +3 -4
- package/dist/components/Select/index.js +1 -2
- package/dist/components/Spinner/index.d.cts +1 -1
- package/dist/components/Spinner/index.d.ts +1 -1
- package/dist/hooks/index.cjs +3 -2
- package/dist/hooks/index.js +2 -1
- package/dist/index.cjs +880 -667
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -11
- package/dist/index.d.ts +16 -11
- package/dist/index.js +801 -588
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/utils/index.cjs +6 -1
- package/dist/utils/index.d.cts +14 -1
- package/dist/utils/index.d.ts +14 -1
- package/dist/utils/index.js +2 -1
- package/package.json +7 -7
- package/dist/chunk-BR2XGATJ.cjs.map +0 -1
- package/dist/chunk-CLNOI5J7.js.map +0 -1
- package/dist/chunk-D5IBXXF2.js.map +0 -1
- package/dist/chunk-FQ5G7J24.js +0 -297
- package/dist/chunk-FQ5G7J24.js.map +0 -1
- package/dist/chunk-HLW3XD5R.cjs +0 -322
- package/dist/chunk-HLW3XD5R.cjs.map +0 -1
- package/dist/chunk-KJOFWJHV.js.map +0 -1
- package/dist/chunk-LEE3NMNP.cjs.map +0 -1
- package/dist/chunk-NH2JVQ6V.cjs.map +0 -1
- package/dist/chunk-QBWVTJKF.js.map +0 -1
- package/dist/chunk-VWXGUNBR.cjs.map +0 -1
- package/dist/chunk-ZO46CFVN.cjs +0 -4
- 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
|
|
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" | "
|
|
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?: "
|
|
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" | "
|
|
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
|
|
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" | "
|
|
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?: "
|
|
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" | "
|
|
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?: {
|