@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
@@ -1,43 +1,44 @@
1
1
  'use strict';
2
2
 
3
- var chunkNH2JVQ6V_cjs = require('../../chunk-NH2JVQ6V.cjs');
4
- require('../../chunk-BR2XGATJ.cjs');
3
+ var chunkI7L6CQXR_cjs = require('../../chunk-I7L6CQXR.cjs');
4
+ require('../../chunk-NNEFAUHV.cjs');
5
5
  require('../../chunk-FHY3K6PL.cjs');
6
+ require('../../chunk-SCV7C55E.cjs');
6
7
  require('../../chunk-OR5DRJCW.cjs');
7
8
 
8
9
 
9
10
 
10
11
  Object.defineProperty(exports, "Modal", {
11
12
  enumerable: true,
12
- get: function () { return chunkNH2JVQ6V_cjs.Modal; }
13
+ get: function () { return chunkI7L6CQXR_cjs.Modal; }
13
14
  });
14
15
  Object.defineProperty(exports, "ModalBody", {
15
16
  enumerable: true,
16
- get: function () { return chunkNH2JVQ6V_cjs.ModalBody; }
17
+ get: function () { return chunkI7L6CQXR_cjs.ModalBody; }
17
18
  });
18
19
  Object.defineProperty(exports, "ModalClose", {
19
20
  enumerable: true,
20
- get: function () { return chunkNH2JVQ6V_cjs.ModalClose; }
21
+ get: function () { return chunkI7L6CQXR_cjs.ModalClose; }
21
22
  });
22
23
  Object.defineProperty(exports, "ModalFooter", {
23
24
  enumerable: true,
24
- get: function () { return chunkNH2JVQ6V_cjs.ModalFooter; }
25
+ get: function () { return chunkI7L6CQXR_cjs.ModalFooter; }
25
26
  });
26
27
  Object.defineProperty(exports, "ModalHeader", {
27
28
  enumerable: true,
28
- get: function () { return chunkNH2JVQ6V_cjs.ModalHeader; }
29
+ get: function () { return chunkI7L6CQXR_cjs.ModalHeader; }
29
30
  });
30
31
  Object.defineProperty(exports, "ModalTitle", {
31
32
  enumerable: true,
32
- get: function () { return chunkNH2JVQ6V_cjs.ModalTitle; }
33
+ get: function () { return chunkI7L6CQXR_cjs.ModalTitle; }
33
34
  });
34
35
  Object.defineProperty(exports, "modalContentVariants", {
35
36
  enumerable: true,
36
- get: function () { return chunkNH2JVQ6V_cjs.modalContentVariants; }
37
+ get: function () { return chunkI7L6CQXR_cjs.modalContentVariants; }
37
38
  });
38
39
  Object.defineProperty(exports, "modalOverlayVariants", {
39
40
  enumerable: true,
40
- get: function () { return chunkNH2JVQ6V_cjs.modalOverlayVariants; }
41
+ get: function () { return chunkI7L6CQXR_cjs.modalOverlayVariants; }
41
42
  });
42
43
  //# sourceMappingURL=index.cjs.map
43
44
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,7 @@
1
- export { Modal, ModalBody, ModalClose, ModalFooter, ModalHeader, ModalTitle, modalContentVariants, modalOverlayVariants } from '../../chunk-D5IBXXF2.js';
2
- import '../../chunk-CLNOI5J7.js';
1
+ export { Modal, ModalBody, ModalClose, ModalFooter, ModalHeader, ModalTitle, modalContentVariants, modalOverlayVariants } from '../../chunk-SD44QJIP.js';
2
+ import '../../chunk-4SMSH4OY.js';
3
3
  import '../../chunk-T4ME7QCT.js';
4
+ import '../../chunk-VSQF22GL.js';
4
5
  import '../../chunk-F3SOEIN2.js';
5
6
  //# sourceMappingURL=index.js.map
6
7
  //# sourceMappingURL=index.js.map
@@ -1,25 +1,21 @@
1
1
  'use strict';
2
2
 
3
- var chunkHLW3XD5R_cjs = require('../../chunk-HLW3XD5R.cjs');
3
+ var chunk5T3AWNHG_cjs = require('../../chunk-5T3AWNHG.cjs');
4
4
  require('../../chunk-OR5DRJCW.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "RecordButton", {
9
9
  enumerable: true,
10
- get: function () { return chunkHLW3XD5R_cjs.RecordButton; }
10
+ get: function () { return chunk5T3AWNHG_cjs.RecordButton; }
11
11
  });
12
12
  Object.defineProperty(exports, "formatDuration", {
13
13
  enumerable: true,
14
- get: function () { return chunkHLW3XD5R_cjs.formatDuration; }
14
+ get: function () { return chunk5T3AWNHG_cjs.formatDuration; }
15
15
  });
16
16
  Object.defineProperty(exports, "recordButtonVariants", {
17
17
  enumerable: true,
18
- get: function () { return chunkHLW3XD5R_cjs.recordButtonVariants; }
19
- });
20
- Object.defineProperty(exports, "recordingIndicatorVariants", {
21
- enumerable: true,
22
- get: function () { return chunkHLW3XD5R_cjs.recordingIndicatorVariants; }
18
+ get: function () { return chunk5T3AWNHG_cjs.recordButtonVariants; }
23
19
  });
24
20
  //# sourceMappingURL=index.cjs.map
25
21
  //# sourceMappingURL=index.cjs.map
@@ -1,9 +1,9 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
2
  import * as React from 'react';
4
- import { VariantProps } from 'class-variance-authority';
5
3
 
6
- type RecordButtonState = 'idle' | 'recording' | 'processing';
4
+ type RecordButtonState = 'idle' | 'recording' | 'processing' | 'disabled' | 'error' | 'success';
5
+ type RecordButtonVariant = 'default' | 'outline' | 'ghost' | 'minimal';
6
+ type RecordButtonSize = 'sm' | 'md' | 'lg';
7
7
  /** Transcription state for integration with transcription services */
8
8
  type TranscriptionState = 'idle' | 'recording' | 'transcribing' | 'streaming' | 'complete' | 'error';
9
9
  interface TranscriptionResult {
@@ -14,23 +14,17 @@ interface TranscriptionResult {
14
14
  /** Confidence score (0-1) if available */
15
15
  confidence?: number;
16
16
  }
17
- interface RecordButtonProps extends VariantProps<typeof recordButtonVariants> {
18
- /** Callback when recording is complete with the audio blob */
19
- onRecordingComplete?: (blob: Blob, duration: number) => void;
20
- /** Callback when recording starts */
21
- onRecordingStart?: () => void;
22
- /** Callback when an error occurs */
23
- onError?: (error: Error) => void;
24
- /** Maximum recording duration in seconds (0 for unlimited) */
25
- maxDuration?: number;
26
- /** Audio MIME type */
27
- mimeType?: string;
28
- /** Whether the button is disabled */
29
- disabled?: boolean;
30
- /** Additional class name */
31
- className?: string;
32
- /** Accessible label */
33
- 'aria-label'?: string;
17
+ interface RecordButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
18
+ /** Current state of the button */
19
+ state?: RecordButtonState;
20
+ /** Size of the button */
21
+ size?: RecordButtonSize;
22
+ /** Visual style variant */
23
+ variant?: RecordButtonVariant;
24
+ /** Show waveform bars when recording (instead of stop icon) */
25
+ showWaveform?: boolean;
26
+ /** Show pulse rings when recording */
27
+ showPulse?: boolean;
34
28
  /** Show recording duration while recording */
35
29
  showDuration?: boolean;
36
30
  /** Custom idle icon */
@@ -41,43 +35,62 @@ interface RecordButtonProps extends VariantProps<typeof recordButtonVariants> {
41
35
  transcriptionState?: TranscriptionState;
42
36
  /** Show transcription state indicator */
43
37
  showTranscriptionState?: boolean;
38
+ /** Callback when recording is complete with the audio blob */
39
+ onRecordingComplete?: (blob: Blob, duration: number) => void;
40
+ /** Callback when recording starts */
41
+ onRecordingStart?: () => void;
42
+ /** Callback when a recording error occurs */
43
+ onRecordingError?: (error: Error) => void;
44
+ /** Maximum recording duration in seconds (0 for unlimited) */
45
+ maxDuration?: number;
46
+ /** Audio MIME type */
47
+ mimeType?: string;
44
48
  }
45
49
  declare const recordButtonVariants: (props?: ({
46
- variant?: "primary" | "default" | "filled" | null | undefined;
47
- size?: "sm" | "md" | "lg" | null | undefined;
48
- } & class_variance_authority_types.ClassProp) | undefined) => string;
49
- declare const recordingIndicatorVariants: (props?: ({
50
+ variant?: "ghost" | "outline" | "default" | "minimal" | null | undefined;
50
51
  size?: "sm" | "md" | "lg" | null | undefined;
51
52
  } & class_variance_authority_types.ClassProp) | undefined) => string;
52
53
  declare function formatDuration(seconds: number): string;
53
54
  /**
54
- * A simple microphone recording button that can be placed anywhere.
55
- * Perfect for adding voice input to text fields, chat inputs, or forms.
55
+ * A voice recording button with 6 states and 4 visual variants.
56
+ * Supports pulse animations, waveform visualization, and transcription integration.
57
+ *
58
+ * ## Controlled vs Uncontrolled Mode
59
+ *
60
+ * **Uncontrolled mode** (default): The component manages its own recording state.
61
+ * Use `onRecordingComplete`, `onRecordingStart`, and `onRecordingError` callbacks.
62
+ *
63
+ * **Controlled mode**: When the `state` prop is provided, the component becomes
64
+ * controlled and you must manage state changes externally. Note: In controlled mode,
65
+ * the internal MediaRecorder functionality is disabled - you must implement your own
66
+ * recording logic.
67
+ *
68
+ * ## State Precedence
69
+ *
70
+ * When multiple state-controlling props are provided, they follow this precedence:
71
+ * 1. `disabled` prop (highest priority)
72
+ * 2. `transcriptionState` prop
73
+ * 3. `state` prop
74
+ * 4. Internal state (uncontrolled)
56
75
  *
57
76
  * @example
58
77
  * ```tsx
59
- * // Basic usage
78
+ * // Uncontrolled with recording callbacks
60
79
  * <RecordButton
61
- * onRecordingComplete={(blob, duration) => {
62
- * console.log('Recorded:', blob, duration);
63
- * }}
80
+ * onRecordingComplete={(blob, duration) => console.log('Recorded:', blob)}
81
+ * onRecordingError={(error) => console.error('Recording failed:', error)}
64
82
  * />
65
83
  *
66
- * // In an input field
67
- * <div className="relative">
68
- * <Input className="pr-12" />
69
- * <div className="absolute right-2 top-1/2 -translate-y-1/2">
70
- * <RecordButton size="sm" onRecordingComplete={handleRecording} />
71
- * </div>
72
- * </div>
84
+ * // Controlled state (requires external recording implementation)
85
+ * <RecordButton state="idle" onClick={handleClick} />
86
+ *
87
+ * // Different variants
88
+ * <RecordButton variant="outline" size="lg" />
73
89
  *
74
- * // With max duration
75
- * <RecordButton maxDuration={30} showDuration />
90
+ * // With waveform animation
91
+ * <RecordButton state="recording" showWaveform showPulse />
76
92
  * ```
77
93
  */
78
- declare function RecordButton({ onRecordingComplete, onRecordingStart, onError, maxDuration, mimeType, disabled, variant, size, className, 'aria-label': ariaLabel, showDuration, idleIcon, recordingIcon, transcriptionState, showTranscriptionState, }: RecordButtonProps): react_jsx_runtime.JSX.Element;
79
- declare namespace RecordButton {
80
- var displayName: string;
81
- }
94
+ declare const RecordButton: React.ForwardRefExoticComponent<RecordButtonProps & React.RefAttributes<HTMLButtonElement>>;
82
95
 
83
- export { RecordButton, type RecordButtonProps, type RecordButtonState, type TranscriptionResult, type TranscriptionState, formatDuration, recordButtonVariants, recordingIndicatorVariants };
96
+ export { RecordButton, type RecordButtonProps, type RecordButtonSize, type RecordButtonState, type RecordButtonVariant, type TranscriptionResult, type TranscriptionState, formatDuration, recordButtonVariants };
@@ -1,9 +1,9 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
2
  import * as React from 'react';
4
- import { VariantProps } from 'class-variance-authority';
5
3
 
6
- type RecordButtonState = 'idle' | 'recording' | 'processing';
4
+ type RecordButtonState = 'idle' | 'recording' | 'processing' | 'disabled' | 'error' | 'success';
5
+ type RecordButtonVariant = 'default' | 'outline' | 'ghost' | 'minimal';
6
+ type RecordButtonSize = 'sm' | 'md' | 'lg';
7
7
  /** Transcription state for integration with transcription services */
8
8
  type TranscriptionState = 'idle' | 'recording' | 'transcribing' | 'streaming' | 'complete' | 'error';
9
9
  interface TranscriptionResult {
@@ -14,23 +14,17 @@ interface TranscriptionResult {
14
14
  /** Confidence score (0-1) if available */
15
15
  confidence?: number;
16
16
  }
17
- interface RecordButtonProps extends VariantProps<typeof recordButtonVariants> {
18
- /** Callback when recording is complete with the audio blob */
19
- onRecordingComplete?: (blob: Blob, duration: number) => void;
20
- /** Callback when recording starts */
21
- onRecordingStart?: () => void;
22
- /** Callback when an error occurs */
23
- onError?: (error: Error) => void;
24
- /** Maximum recording duration in seconds (0 for unlimited) */
25
- maxDuration?: number;
26
- /** Audio MIME type */
27
- mimeType?: string;
28
- /** Whether the button is disabled */
29
- disabled?: boolean;
30
- /** Additional class name */
31
- className?: string;
32
- /** Accessible label */
33
- 'aria-label'?: string;
17
+ interface RecordButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
18
+ /** Current state of the button */
19
+ state?: RecordButtonState;
20
+ /** Size of the button */
21
+ size?: RecordButtonSize;
22
+ /** Visual style variant */
23
+ variant?: RecordButtonVariant;
24
+ /** Show waveform bars when recording (instead of stop icon) */
25
+ showWaveform?: boolean;
26
+ /** Show pulse rings when recording */
27
+ showPulse?: boolean;
34
28
  /** Show recording duration while recording */
35
29
  showDuration?: boolean;
36
30
  /** Custom idle icon */
@@ -41,43 +35,62 @@ interface RecordButtonProps extends VariantProps<typeof recordButtonVariants> {
41
35
  transcriptionState?: TranscriptionState;
42
36
  /** Show transcription state indicator */
43
37
  showTranscriptionState?: boolean;
38
+ /** Callback when recording is complete with the audio blob */
39
+ onRecordingComplete?: (blob: Blob, duration: number) => void;
40
+ /** Callback when recording starts */
41
+ onRecordingStart?: () => void;
42
+ /** Callback when a recording error occurs */
43
+ onRecordingError?: (error: Error) => void;
44
+ /** Maximum recording duration in seconds (0 for unlimited) */
45
+ maxDuration?: number;
46
+ /** Audio MIME type */
47
+ mimeType?: string;
44
48
  }
45
49
  declare const recordButtonVariants: (props?: ({
46
- variant?: "primary" | "default" | "filled" | null | undefined;
47
- size?: "sm" | "md" | "lg" | null | undefined;
48
- } & class_variance_authority_types.ClassProp) | undefined) => string;
49
- declare const recordingIndicatorVariants: (props?: ({
50
+ variant?: "ghost" | "outline" | "default" | "minimal" | null | undefined;
50
51
  size?: "sm" | "md" | "lg" | null | undefined;
51
52
  } & class_variance_authority_types.ClassProp) | undefined) => string;
52
53
  declare function formatDuration(seconds: number): string;
53
54
  /**
54
- * A simple microphone recording button that can be placed anywhere.
55
- * Perfect for adding voice input to text fields, chat inputs, or forms.
55
+ * A voice recording button with 6 states and 4 visual variants.
56
+ * Supports pulse animations, waveform visualization, and transcription integration.
57
+ *
58
+ * ## Controlled vs Uncontrolled Mode
59
+ *
60
+ * **Uncontrolled mode** (default): The component manages its own recording state.
61
+ * Use `onRecordingComplete`, `onRecordingStart`, and `onRecordingError` callbacks.
62
+ *
63
+ * **Controlled mode**: When the `state` prop is provided, the component becomes
64
+ * controlled and you must manage state changes externally. Note: In controlled mode,
65
+ * the internal MediaRecorder functionality is disabled - you must implement your own
66
+ * recording logic.
67
+ *
68
+ * ## State Precedence
69
+ *
70
+ * When multiple state-controlling props are provided, they follow this precedence:
71
+ * 1. `disabled` prop (highest priority)
72
+ * 2. `transcriptionState` prop
73
+ * 3. `state` prop
74
+ * 4. Internal state (uncontrolled)
56
75
  *
57
76
  * @example
58
77
  * ```tsx
59
- * // Basic usage
78
+ * // Uncontrolled with recording callbacks
60
79
  * <RecordButton
61
- * onRecordingComplete={(blob, duration) => {
62
- * console.log('Recorded:', blob, duration);
63
- * }}
80
+ * onRecordingComplete={(blob, duration) => console.log('Recorded:', blob)}
81
+ * onRecordingError={(error) => console.error('Recording failed:', error)}
64
82
  * />
65
83
  *
66
- * // In an input field
67
- * <div className="relative">
68
- * <Input className="pr-12" />
69
- * <div className="absolute right-2 top-1/2 -translate-y-1/2">
70
- * <RecordButton size="sm" onRecordingComplete={handleRecording} />
71
- * </div>
72
- * </div>
84
+ * // Controlled state (requires external recording implementation)
85
+ * <RecordButton state="idle" onClick={handleClick} />
86
+ *
87
+ * // Different variants
88
+ * <RecordButton variant="outline" size="lg" />
73
89
  *
74
- * // With max duration
75
- * <RecordButton maxDuration={30} showDuration />
90
+ * // With waveform animation
91
+ * <RecordButton state="recording" showWaveform showPulse />
76
92
  * ```
77
93
  */
78
- declare function RecordButton({ onRecordingComplete, onRecordingStart, onError, maxDuration, mimeType, disabled, variant, size, className, 'aria-label': ariaLabel, showDuration, idleIcon, recordingIcon, transcriptionState, showTranscriptionState, }: RecordButtonProps): react_jsx_runtime.JSX.Element;
79
- declare namespace RecordButton {
80
- var displayName: string;
81
- }
94
+ declare const RecordButton: React.ForwardRefExoticComponent<RecordButtonProps & React.RefAttributes<HTMLButtonElement>>;
82
95
 
83
- export { RecordButton, type RecordButtonProps, type RecordButtonState, type TranscriptionResult, type TranscriptionState, formatDuration, recordButtonVariants, recordingIndicatorVariants };
96
+ export { RecordButton, type RecordButtonProps, type RecordButtonSize, type RecordButtonState, type RecordButtonVariant, type TranscriptionResult, type TranscriptionState, formatDuration, recordButtonVariants };
@@ -1,4 +1,4 @@
1
- export { RecordButton, formatDuration, recordButtonVariants, recordingIndicatorVariants } from '../../chunk-FQ5G7J24.js';
1
+ export { RecordButton, formatDuration, recordButtonVariants } from '../../chunk-XVZ4SLQB.js';
2
2
  import '../../chunk-F3SOEIN2.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkLEE3NMNP_cjs = require('../../chunk-LEE3NMNP.cjs');
4
- require('../../chunk-SWMRCGL4.cjs');
3
+ var chunkNL3CZNBH_cjs = require('../../chunk-NL3CZNBH.cjs');
5
4
  require('../../chunk-FHY3K6PL.cjs');
6
5
  require('../../chunk-OR5DRJCW.cjs');
7
6
 
@@ -9,11 +8,11 @@ require('../../chunk-OR5DRJCW.cjs');
9
8
 
10
9
  Object.defineProperty(exports, "Select", {
11
10
  enumerable: true,
12
- get: function () { return chunkLEE3NMNP_cjs.Select; }
11
+ get: function () { return chunkNL3CZNBH_cjs.Select; }
13
12
  });
14
13
  Object.defineProperty(exports, "selectTriggerVariants", {
15
14
  enumerable: true,
16
- get: function () { return chunkLEE3NMNP_cjs.selectTriggerVariants; }
15
+ get: function () { return chunkNL3CZNBH_cjs.selectTriggerVariants; }
17
16
  });
18
17
  //# sourceMappingURL=index.cjs.map
19
18
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,4 @@
1
- export { Select, selectTriggerVariants } from '../../chunk-KJOFWJHV.js';
2
- import '../../chunk-OT36EMM5.js';
1
+ export { Select, selectTriggerVariants } from '../../chunk-MFB4FS7D.js';
3
2
  import '../../chunk-T4ME7QCT.js';
4
3
  import '../../chunk-F3SOEIN2.js';
5
4
  //# sourceMappingURL=index.js.map
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const spinnerVariants: (props?: ({
7
7
  size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
8
- variant?: "default" | "white" | "muted" | null | undefined;
8
+ variant?: "white" | "default" | "muted" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
11
11
  /** Accessible label for the spinner */
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const spinnerVariants: (props?: ({
7
7
  size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
8
- variant?: "default" | "white" | "muted" | null | undefined;
8
+ variant?: "white" | "default" | "muted" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
11
11
  /** Accessible label for the spinner */
@@ -3,9 +3,10 @@
3
3
  var chunkR4DM4635_cjs = require('../chunk-R4DM4635.cjs');
4
4
  var chunk2O7D6F67_cjs = require('../chunk-2O7D6F67.cjs');
5
5
  var chunk6HFFWEM3_cjs = require('../chunk-6HFFWEM3.cjs');
6
- var chunkBR2XGATJ_cjs = require('../chunk-BR2XGATJ.cjs');
6
+ var chunkNNEFAUHV_cjs = require('../chunk-NNEFAUHV.cjs');
7
7
  var chunkSWMRCGL4_cjs = require('../chunk-SWMRCGL4.cjs');
8
8
  var chunkFHY3K6PL_cjs = require('../chunk-FHY3K6PL.cjs');
9
+ require('../chunk-SCV7C55E.cjs');
9
10
 
10
11
 
11
12
 
@@ -55,7 +56,7 @@ Object.defineProperty(exports, "usePrefersReducedMotion", {
55
56
  });
56
57
  Object.defineProperty(exports, "useFocusTrap", {
57
58
  enumerable: true,
58
- get: function () { return chunkBR2XGATJ_cjs.useFocusTrap; }
59
+ get: function () { return chunkNNEFAUHV_cjs.useFocusTrap; }
59
60
  });
60
61
  Object.defineProperty(exports, "useClickOutside", {
61
62
  enumerable: true,
@@ -1,8 +1,9 @@
1
1
  export { useCommandK, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useMediaQuery } from '../chunk-CP7NPDQW.js';
2
2
  export { useTheme } from '../chunk-KJZNEVYM.js';
3
3
  export { usePrefersReducedMotion } from '../chunk-HB7C7NB5.js';
4
- export { useFocusTrap } from '../chunk-CLNOI5J7.js';
4
+ export { useFocusTrap } from '../chunk-4SMSH4OY.js';
5
5
  export { useClickOutside } from '../chunk-OT36EMM5.js';
6
6
  export { useEscapeKey } from '../chunk-T4ME7QCT.js';
7
+ import '../chunk-VSQF22GL.js';
7
8
  //# sourceMappingURL=index.js.map
8
9
  //# sourceMappingURL=index.js.map