@seeqdev/qomponents 0.0.214 → 0.0.215

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 (86) hide show
  1. package/dist/index.esm.js +76 -29429
  2. package/dist/index.esm.js.map +1 -1
  3. package/dist/index.js +78 -29481
  4. package/dist/index.js.map +1 -1
  5. package/dist/src/Accordion/Accordion.d.ts +6 -3
  6. package/dist/src/Accordion/Accordion.types.d.ts +86 -83
  7. package/dist/src/Accordion/index.d.ts +2 -1
  8. package/dist/src/Alert/Alert.d.ts +8 -3
  9. package/dist/src/Alert/Alert.types.d.ts +58 -55
  10. package/dist/src/Alert/index.d.ts +2 -1
  11. package/dist/src/Button/Button.d.ts +6 -3
  12. package/dist/src/Button/Button.types.d.ts +151 -147
  13. package/dist/src/Button/index.d.ts +2 -1
  14. package/dist/src/ButtonGroup/ButtonGroup.d.ts +8 -3
  15. package/dist/src/ButtonGroup/ButtonGroup.types.d.ts +66 -62
  16. package/dist/src/ButtonGroup/index.d.ts +2 -1
  17. package/dist/src/ButtonWithDropdown/ButtonWithDropdown.d.ts +8 -5
  18. package/dist/src/ButtonWithDropdown/ButtonWithDropdown.types.d.ts +209 -204
  19. package/dist/src/ButtonWithDropdown/index.d.ts +2 -1
  20. package/dist/src/ButtonWithPopover/ButtonWithPopover.d.ts +7 -4
  21. package/dist/src/ButtonWithPopover/ButtonWithPopover.types.d.ts +134 -129
  22. package/dist/src/ButtonWithPopover/index.d.ts +2 -1
  23. package/dist/src/Carousel/Carousel.d.ts +7 -3
  24. package/dist/src/Carousel/Carousel.types.d.ts +84 -81
  25. package/dist/src/Carousel/index.d.ts +2 -1
  26. package/dist/src/Checkbox/Checkbox.d.ts +8 -3
  27. package/dist/src/Checkbox/Checkbox.types.d.ts +92 -89
  28. package/dist/src/Checkbox/index.d.ts +2 -1
  29. package/dist/src/Collapse/Collapse.d.ts +6 -3
  30. package/dist/src/Collapse/Collapse.types.d.ts +17 -14
  31. package/dist/src/Collapse/index.d.ts +2 -1
  32. package/dist/src/Icon/Icon.d.ts +7 -3
  33. package/dist/src/Icon/Icon.types.d.ts +89 -85
  34. package/dist/src/Icon/index.d.ts +2 -1
  35. package/dist/src/InputGroup/InputGroup.d.ts +8 -3
  36. package/dist/src/InputGroup/InputGroup.types.d.ts +42 -38
  37. package/dist/src/InputGroup/index.d.ts +3 -2
  38. package/dist/src/Modal/Modal.d.ts +8 -3
  39. package/dist/src/Modal/Modal.types.d.ts +253 -249
  40. package/dist/src/Modal/index.d.ts +2 -1
  41. package/dist/src/ProgressBar/ProgressBar.d.ts +6 -3
  42. package/dist/src/ProgressBar/ProgressBar.types.d.ts +71 -66
  43. package/dist/src/ProgressBar/index.d.ts +2 -1
  44. package/dist/src/SeeqActionDropdown/SeeqActionDropdown.d.ts +7 -4
  45. package/dist/src/SeeqActionDropdown/SeeqActionDropdown.types.d.ts +159 -154
  46. package/dist/src/SeeqActionDropdown/index.d.ts +2 -1
  47. package/dist/src/SeeqActionDropdown/variants.d.ts +9 -5
  48. package/dist/src/Select/Select.d.ts +9 -6
  49. package/dist/src/Select/Select.types.d.ts +219 -213
  50. package/dist/src/Select/index.d.ts +3 -2
  51. package/dist/src/Slider/Slider.d.ts +8 -3
  52. package/dist/src/Slider/Slider.types.d.ts +83 -80
  53. package/dist/src/Slider/index.d.ts +2 -1
  54. package/dist/src/SvgIcon/SvgIcon.d.ts +7 -3
  55. package/dist/src/SvgIcon/SvgIcon.types.d.ts +73 -69
  56. package/dist/src/SvgIcon/index.d.ts +2 -1
  57. package/dist/src/Tabs/Tabs.d.ts +6 -3
  58. package/dist/src/Tabs/Tabs.types.d.ts +83 -78
  59. package/dist/src/Tabs/index.d.ts +2 -1
  60. package/dist/src/TextArea/TextArea.d.ts +8 -3
  61. package/dist/src/TextArea/TextArea.types.d.ts +116 -111
  62. package/dist/src/TextArea/index.d.ts +2 -1
  63. package/dist/src/TextField/TextField.d.ts +8 -3
  64. package/dist/src/TextField/TextField.types.d.ts +198 -194
  65. package/dist/src/TextField/index.d.ts +2 -1
  66. package/dist/src/ToolbarButton/ToolbarButton.d.ts +7 -3
  67. package/dist/src/ToolbarButton/ToolbarButton.types.d.ts +121 -117
  68. package/dist/src/ToolbarButton/index.d.ts +2 -1
  69. package/dist/src/Tooltip/QTip.types.d.ts +16 -12
  70. package/dist/src/Tooltip/Qtip.d.ts +7 -2
  71. package/dist/src/Tooltip/Tooltip.d.ts +8 -3
  72. package/dist/src/Tooltip/Tooltip.types.d.ts +24 -20
  73. package/dist/src/Tooltip/index.d.ts +3 -2
  74. package/dist/src/Tooltip/qTip.utilities.d.ts +13 -3
  75. package/dist/src/TriggerWithDropdown/TriggerWithDropdown.d.ts +7 -4
  76. package/dist/src/TriggerWithDropdown/TriggerWithDropdown.types.d.ts +99 -94
  77. package/dist/src/TriggerWithDropdown/index.d.ts +2 -1
  78. package/dist/src/index.build.d.ts +50 -6
  79. package/dist/src/index.d.ts +50 -46
  80. package/dist/src/test-utils/is-browser-mode.d.ts +7 -4
  81. package/dist/src/types.d.ts +30 -28
  82. package/dist/src/utils/browserId.d.ts +8 -5
  83. package/dist/src/utils/svg.d.ts +6 -3
  84. package/dist/src/utils/validateStyleDimension.d.ts +6 -2
  85. package/package.json +9 -8
  86. package/dist/src/styles.build.css.d.ts +0 -1
@@ -1,250 +1,254 @@
1
- import { FormControlElement } from '../types';
2
- import React from 'react';
3
- import { ButtonVariant } from '../Button/Button.types';
4
- export type ModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl';
5
- export type TitleIconPosition = 'left' | 'right';
6
- export interface ModalProps {
7
- /**
8
- * Main title text displayed prominently in the modal header.
9
- * This is the primary heading that identifies the purpose or content of the modal.
10
- */
11
- title: string;
12
- /**
13
- * Additional text to append after the main title.
14
- * Useful for adding context, version numbers, or secondary information to the title.
15
- */
16
- titleSuffixLabel?: string;
17
- /**
18
- * Secondary text displayed below the main title in the header.
19
- * Use this for additional context, descriptions, or instructions for the modal content.
20
- */
21
- subtitle?: string;
22
- /**
23
- * Icon to display next to the title in the header.
24
- * Can be an icon class name (string) for font icons or a React element for custom icons.
25
- * Helps provide visual context for the modal's purpose.
26
- */
27
- titleIcon?: string | React.ReactElement;
28
- /**
29
- * Position of the title icon relative to the title text:
30
- * - `left`: Icon appears before the title text
31
- * - `right`: Icon appears after the title text
32
- * @default 'left'
33
- */
34
- titleIconPosition?: TitleIconPosition;
35
- /**
36
- * Main content of the modal body.
37
- * This is where you place the primary content, forms, information, or interactive elements.
38
- * Accepts any renderable React content: elements, strings, numbers, arrays, fragments, etc.
39
- */
40
- children: React.ReactNode;
41
- /**
42
- * Custom footer content that completely replaces the default button footer.
43
- * When provided, all default buttons (submit, cancel, custom) are hidden.
44
- * Use this when you need complete control over the footer layout and actions.
45
- * Accepts any renderable React content: elements, strings, numbers, arrays, fragments, etc.
46
- */
47
- modalFooter?: React.ReactNode;
48
- /**
49
- * Controls whether the modal is currently visible and open.
50
- * When true, the modal is displayed with overlay. When false, the modal is hidden.
51
- * Use this prop to control modal visibility from parent components.
52
- */
53
- open: boolean;
54
- /**
55
- * Callback function triggered when the user attempts to close the modal.
56
- * Called when clicking the X button, cancel button, or clicking outside the modal.
57
- * Use this to handle modal closure logic and update the `open` state.
58
- */
59
- onClose?: () => any;
60
- /**
61
- * When true, displays an additional custom button in the footer alongside default buttons.
62
- * The custom button appears before the submit and cancel buttons.
63
- * Configure the button's appearance and behavior with related custom button props.
64
- */
65
- customButton?: boolean;
66
- /**
67
- * Text label for the custom button when `customButton` is true.
68
- * This text will be displayed on the button to indicate its purpose or action.
69
- */
70
- customButtonLabel?: string;
71
- /**
72
- * Callback function triggered when the custom button is clicked.
73
- * Use this to define the action that should occur when users click the custom button.
74
- */
75
- onClickCustomButton?: () => any;
76
- /**
77
- * Text label for the primary submit/confirmation button.
78
- * This button typically confirms the modal action or submits form data.
79
- * @default "OK"
80
- */
81
- submitButtonLabel?: string;
82
- /**
83
- * Text label for the cancel/dismiss button.
84
- * This button typically closes the modal without saving changes or performing actions.
85
- * @default "Cancel"
86
- */
87
- cancelButtonLabel?: string;
88
- /**
89
- * When true, disables the submit button preventing user interaction.
90
- * Useful when form validation fails or when an operation is in progress.
91
- * The button will appear visually disabled and won't respond to clicks.
92
- */
93
- disableSubmitButton?: boolean;
94
- /**
95
- * Controls whether the submit button click event should stop propagation.
96
- * When true, prevents the click event from bubbling up to parent elements.
97
- * @default true
98
- */
99
- stopPropagationSubmitButton?: boolean;
100
- /**
101
- * Callback function triggered when the submit button is clicked.
102
- * Receives the click event as a parameter for additional event handling.
103
- * Use this to handle form submission, data processing, or confirmation actions.
104
- */
105
- onSubmit?: (event: React.MouseEvent) => any;
106
- /**
107
- * When true, allows the title text to be edited inline by clicking on it.
108
- * The title becomes an input field that users can modify directly in the modal header.
109
- * Useful for renaming operations or title customization workflows.
110
- */
111
- isTitleEditable?: boolean;
112
- /**
113
- * Callback function triggered when the editable title text changes.
114
- * Only relevant when `isTitleEditable` is true. Receives the change event
115
- * which contains the new title value. Use this to update your title state.
116
- */
117
- onTitleChanged?: React.ChangeEventHandler<FormControlElement>;
118
- /**
119
- * Additional CSS classes to apply to the title input field.
120
- * Only used when `isTitleEditable` is true. Use this to customize
121
- * the appearance of the editable title input beyond default styling.
122
- */
123
- inputExtraClassNames?: string;
124
- /**
125
- * When true, hides the X close icon button in the modal header.
126
- * Users will only be able to close the modal using footer buttons or by clicking outside.
127
- * Useful when you want to force users to make an explicit choice via footer buttons.
128
- */
129
- hideCloseIcon?: boolean;
130
- /**
131
- * Size variant that controls the modal's width and maximum dimensions:
132
- * - `xs`: Extra small modal (280px max width)
133
- * - `sm`: Small modal (384px max width)
134
- * - `md`: Medium modal (448px max width)
135
- * - `lg`: Large modal (512px max width)
136
- * - `xl`: Extra large modal (576px max width)
137
- * - `2xl` through `6xl`: Progressively larger sizes up to full screen
138
- */
139
- size?: ModalSize;
140
- /**
141
- * When true, completely hides all default footer buttons (submit, cancel, custom).
142
- * The modal will only have header and body content. Useful when you provide
143
- * custom actions within the modal body or use a custom footer.
144
- */
145
- hideFooterButtons?: boolean;
146
- /**
147
- * When true, hides only the submit button while keeping other footer buttons visible.
148
- * Useful for information-only modals that don't require a confirmation action.
149
- */
150
- hideSubmitButton?: boolean;
151
- /**
152
- * When true, hides only the cancel button while keeping other footer buttons visible.
153
- * Useful for critical operations where cancellation should not be easily accessible.
154
- */
155
- hideCancelButton?: boolean;
156
- /**
157
- * Test ID attribute for the modal container element.
158
- * Used for automated testing to identify and interact with the modal.
159
- * Applied to the modal's root element for test targeting.
160
- */
161
- testId?: string;
162
- /**
163
- * Additional CSS classes to apply to the modal dialog container.
164
- * Use this to customize the modal's positioning, sizing, or appearance
165
- * beyond the built-in size variants and default styling.
166
- */
167
- dialogClassName?: string;
168
- /**
169
- * Placeholder text displayed in the title input when `isTitleEditable` is true.
170
- * Shows helpful text when the title field is empty, guiding users on what to enter.
171
- */
172
- titlePlaceholder?: string;
173
- /**
174
- * When true, makes the title field required when `isTitleEditable` is true.
175
- * Prevents submission or validation if the title is empty. Usually combined
176
- * with validation feedback and error handling.
177
- */
178
- titleRequired?: boolean;
179
- /**
180
- * Error message to display when the editable title has validation issues.
181
- * Only shown when `isTitleEditable` is true and there's a title validation error.
182
- * Provides user feedback about what needs to be corrected.
183
- */
184
- titleError?: string;
185
- /**
186
- * Tooltip text to display when hovering over the submit button.
187
- * Provides additional context or instructions about what the submit action will do.
188
- * Helpful for clarifying the button's purpose in complex workflows.
189
- */
190
- submitButtonTooltip?: string;
191
- /**
192
- * Tooltip text to display when hovering over the cancel button.
193
- * Can provide information about what happens when canceling or any data loss warnings.
194
- */
195
- cancelButtonTooltip?: string;
196
- /**
197
- * When true, disables the custom button preventing user interaction.
198
- * Only relevant when `customButton` is true. The button will appear
199
- * visually disabled and won't respond to clicks.
200
- */
201
- disableCustomButton?: boolean;
202
- /**
203
- * Custom header content that completely replaces the default modal header.
204
- * When provided, the default title, subtitle, and close button are not rendered.
205
- * Use this when you need complete control over the header layout and content.
206
- */
207
- customHeader?: React.ReactElement;
208
- /**
209
- * Content to display in the center area of the footer between buttons.
210
- * Useful for adding status messages, progress indicators, or additional
211
- * information that should be visible alongside the action buttons.
212
- */
213
- middleFooterSection?: React.ReactElement;
214
- /**
215
- * Visual style variant for the custom button when `customButton` is true.
216
- * Determines the button's appearance and color scheme. Uses the same
217
- * variants as the standard Button component (outline, theme, danger, etc.).
218
- */
219
- customButtonVariant?: ButtonVariant;
220
- /**
221
- * Controls whether focus should be trapped within the modal when open.
222
- * When true (default), focus cycles through modal elements only. Set to false
223
- * if you need to interact with elements outside the modal (like tooltips with inputs).
224
- * @default true
225
- */
226
- keepFocusInsideModal?: boolean;
227
- /**
228
- * Visual style variant for the submit button.
229
- * Determines the button's appearance and color scheme. Use 'theme' for primary
230
- * actions, 'danger' for destructive actions, or other variants as appropriate.
231
- */
232
- submitButtonVariant?: ButtonVariant;
233
- /**
234
- * ARIA attribute that references the ID of an element containing descriptive text for the modal.
235
- * This prop is passed to the modal dialog element as `aria-describedby` for accessibility purposes.
236
- */
237
- ariaDescribedBy?: string;
238
- /**
239
- * Callback function triggered when the user clicks/taps outside the modal dialog.
240
- * Receives the pointer event. Use this to customize outside-click behavior,
241
- * such as preventing closure in certain conditions or showing warnings.
242
- */
243
- onPointerDownOutside?: (e: Event) => void;
244
- /**
245
- * Callback function triggered when the user interacts outside the modal.
246
- * This includes clicks, taps, and other interactions outside the modal area.
247
- * More general than `onPointerDownOutside` and covers additional interaction types.
248
- */
249
- onInteractOutside?: (e: Event) => void;
1
+ import { ButtonVariant } from "../Button/Button.types.js";
2
+ import { FormControlElement } from "../types.js";
3
+ import React from "react";
4
+
5
+ //#region src/Modal/Modal.types.d.ts
6
+ type ModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl';
7
+ type TitleIconPosition = 'left' | 'right';
8
+ interface ModalProps {
9
+ /**
10
+ * Main title text displayed prominently in the modal header.
11
+ * This is the primary heading that identifies the purpose or content of the modal.
12
+ */
13
+ title: string;
14
+ /**
15
+ * Additional text to append after the main title.
16
+ * Useful for adding context, version numbers, or secondary information to the title.
17
+ */
18
+ titleSuffixLabel?: string;
19
+ /**
20
+ * Secondary text displayed below the main title in the header.
21
+ * Use this for additional context, descriptions, or instructions for the modal content.
22
+ */
23
+ subtitle?: string;
24
+ /**
25
+ * Icon to display next to the title in the header.
26
+ * Can be an icon class name (string) for font icons or a React element for custom icons.
27
+ * Helps provide visual context for the modal's purpose.
28
+ */
29
+ titleIcon?: string | React.ReactElement;
30
+ /**
31
+ * Position of the title icon relative to the title text:
32
+ * - `left`: Icon appears before the title text
33
+ * - `right`: Icon appears after the title text
34
+ * @default 'left'
35
+ */
36
+ titleIconPosition?: TitleIconPosition;
37
+ /**
38
+ * Main content of the modal body.
39
+ * This is where you place the primary content, forms, information, or interactive elements.
40
+ * Accepts any renderable React content: elements, strings, numbers, arrays, fragments, etc.
41
+ */
42
+ children: React.ReactNode;
43
+ /**
44
+ * Custom footer content that completely replaces the default button footer.
45
+ * When provided, all default buttons (submit, cancel, custom) are hidden.
46
+ * Use this when you need complete control over the footer layout and actions.
47
+ * Accepts any renderable React content: elements, strings, numbers, arrays, fragments, etc.
48
+ */
49
+ modalFooter?: React.ReactNode;
50
+ /**
51
+ * Controls whether the modal is currently visible and open.
52
+ * When true, the modal is displayed with overlay. When false, the modal is hidden.
53
+ * Use this prop to control modal visibility from parent components.
54
+ */
55
+ open: boolean;
56
+ /**
57
+ * Callback function triggered when the user attempts to close the modal.
58
+ * Called when clicking the X button, cancel button, or clicking outside the modal.
59
+ * Use this to handle modal closure logic and update the `open` state.
60
+ */
61
+ onClose?: () => any;
62
+ /**
63
+ * When true, displays an additional custom button in the footer alongside default buttons.
64
+ * The custom button appears before the submit and cancel buttons.
65
+ * Configure the button's appearance and behavior with related custom button props.
66
+ */
67
+ customButton?: boolean;
68
+ /**
69
+ * Text label for the custom button when `customButton` is true.
70
+ * This text will be displayed on the button to indicate its purpose or action.
71
+ */
72
+ customButtonLabel?: string;
73
+ /**
74
+ * Callback function triggered when the custom button is clicked.
75
+ * Use this to define the action that should occur when users click the custom button.
76
+ */
77
+ onClickCustomButton?: () => any;
78
+ /**
79
+ * Text label for the primary submit/confirmation button.
80
+ * This button typically confirms the modal action or submits form data.
81
+ * @default "OK"
82
+ */
83
+ submitButtonLabel?: string;
84
+ /**
85
+ * Text label for the cancel/dismiss button.
86
+ * This button typically closes the modal without saving changes or performing actions.
87
+ * @default "Cancel"
88
+ */
89
+ cancelButtonLabel?: string;
90
+ /**
91
+ * When true, disables the submit button preventing user interaction.
92
+ * Useful when form validation fails or when an operation is in progress.
93
+ * The button will appear visually disabled and won't respond to clicks.
94
+ */
95
+ disableSubmitButton?: boolean;
96
+ /**
97
+ * Controls whether the submit button click event should stop propagation.
98
+ * When true, prevents the click event from bubbling up to parent elements.
99
+ * @default true
100
+ */
101
+ stopPropagationSubmitButton?: boolean;
102
+ /**
103
+ * Callback function triggered when the submit button is clicked.
104
+ * Receives the click event as a parameter for additional event handling.
105
+ * Use this to handle form submission, data processing, or confirmation actions.
106
+ */
107
+ onSubmit?: (event: React.MouseEvent) => any;
108
+ /**
109
+ * When true, allows the title text to be edited inline by clicking on it.
110
+ * The title becomes an input field that users can modify directly in the modal header.
111
+ * Useful for renaming operations or title customization workflows.
112
+ */
113
+ isTitleEditable?: boolean;
114
+ /**
115
+ * Callback function triggered when the editable title text changes.
116
+ * Only relevant when `isTitleEditable` is true. Receives the change event
117
+ * which contains the new title value. Use this to update your title state.
118
+ */
119
+ onTitleChanged?: React.ChangeEventHandler<FormControlElement>;
120
+ /**
121
+ * Additional CSS classes to apply to the title input field.
122
+ * Only used when `isTitleEditable` is true. Use this to customize
123
+ * the appearance of the editable title input beyond default styling.
124
+ */
125
+ inputExtraClassNames?: string;
126
+ /**
127
+ * When true, hides the X close icon button in the modal header.
128
+ * Users will only be able to close the modal using footer buttons or by clicking outside.
129
+ * Useful when you want to force users to make an explicit choice via footer buttons.
130
+ */
131
+ hideCloseIcon?: boolean;
132
+ /**
133
+ * Size variant that controls the modal's width and maximum dimensions:
134
+ * - `xs`: Extra small modal (280px max width)
135
+ * - `sm`: Small modal (384px max width)
136
+ * - `md`: Medium modal (448px max width)
137
+ * - `lg`: Large modal (512px max width)
138
+ * - `xl`: Extra large modal (576px max width)
139
+ * - `2xl` through `6xl`: Progressively larger sizes up to full screen
140
+ */
141
+ size?: ModalSize;
142
+ /**
143
+ * When true, completely hides all default footer buttons (submit, cancel, custom).
144
+ * The modal will only have header and body content. Useful when you provide
145
+ * custom actions within the modal body or use a custom footer.
146
+ */
147
+ hideFooterButtons?: boolean;
148
+ /**
149
+ * When true, hides only the submit button while keeping other footer buttons visible.
150
+ * Useful for information-only modals that don't require a confirmation action.
151
+ */
152
+ hideSubmitButton?: boolean;
153
+ /**
154
+ * When true, hides only the cancel button while keeping other footer buttons visible.
155
+ * Useful for critical operations where cancellation should not be easily accessible.
156
+ */
157
+ hideCancelButton?: boolean;
158
+ /**
159
+ * Test ID attribute for the modal container element.
160
+ * Used for automated testing to identify and interact with the modal.
161
+ * Applied to the modal's root element for test targeting.
162
+ */
163
+ testId?: string;
164
+ /**
165
+ * Additional CSS classes to apply to the modal dialog container.
166
+ * Use this to customize the modal's positioning, sizing, or appearance
167
+ * beyond the built-in size variants and default styling.
168
+ */
169
+ dialogClassName?: string;
170
+ /**
171
+ * Placeholder text displayed in the title input when `isTitleEditable` is true.
172
+ * Shows helpful text when the title field is empty, guiding users on what to enter.
173
+ */
174
+ titlePlaceholder?: string;
175
+ /**
176
+ * When true, makes the title field required when `isTitleEditable` is true.
177
+ * Prevents submission or validation if the title is empty. Usually combined
178
+ * with validation feedback and error handling.
179
+ */
180
+ titleRequired?: boolean;
181
+ /**
182
+ * Error message to display when the editable title has validation issues.
183
+ * Only shown when `isTitleEditable` is true and there's a title validation error.
184
+ * Provides user feedback about what needs to be corrected.
185
+ */
186
+ titleError?: string;
187
+ /**
188
+ * Tooltip text to display when hovering over the submit button.
189
+ * Provides additional context or instructions about what the submit action will do.
190
+ * Helpful for clarifying the button's purpose in complex workflows.
191
+ */
192
+ submitButtonTooltip?: string;
193
+ /**
194
+ * Tooltip text to display when hovering over the cancel button.
195
+ * Can provide information about what happens when canceling or any data loss warnings.
196
+ */
197
+ cancelButtonTooltip?: string;
198
+ /**
199
+ * When true, disables the custom button preventing user interaction.
200
+ * Only relevant when `customButton` is true. The button will appear
201
+ * visually disabled and won't respond to clicks.
202
+ */
203
+ disableCustomButton?: boolean;
204
+ /**
205
+ * Custom header content that completely replaces the default modal header.
206
+ * When provided, the default title, subtitle, and close button are not rendered.
207
+ * Use this when you need complete control over the header layout and content.
208
+ */
209
+ customHeader?: React.ReactElement;
210
+ /**
211
+ * Content to display in the center area of the footer between buttons.
212
+ * Useful for adding status messages, progress indicators, or additional
213
+ * information that should be visible alongside the action buttons.
214
+ */
215
+ middleFooterSection?: React.ReactElement;
216
+ /**
217
+ * Visual style variant for the custom button when `customButton` is true.
218
+ * Determines the button's appearance and color scheme. Uses the same
219
+ * variants as the standard Button component (outline, theme, danger, etc.).
220
+ */
221
+ customButtonVariant?: ButtonVariant;
222
+ /**
223
+ * Controls whether focus should be trapped within the modal when open.
224
+ * When true (default), focus cycles through modal elements only. Set to false
225
+ * if you need to interact with elements outside the modal (like tooltips with inputs).
226
+ * @default true
227
+ */
228
+ keepFocusInsideModal?: boolean;
229
+ /**
230
+ * Visual style variant for the submit button.
231
+ * Determines the button's appearance and color scheme. Use 'theme' for primary
232
+ * actions, 'danger' for destructive actions, or other variants as appropriate.
233
+ */
234
+ submitButtonVariant?: ButtonVariant;
235
+ /**
236
+ * ARIA attribute that references the ID of an element containing descriptive text for the modal.
237
+ * This prop is passed to the modal dialog element as `aria-describedby` for accessibility purposes.
238
+ */
239
+ ariaDescribedBy?: string;
240
+ /**
241
+ * Callback function triggered when the user clicks/taps outside the modal dialog.
242
+ * Receives the pointer event. Use this to customize outside-click behavior,
243
+ * such as preventing closure in certain conditions or showing warnings.
244
+ */
245
+ onPointerDownOutside?: (e: Event) => void;
246
+ /**
247
+ * Callback function triggered when the user interacts outside the modal.
248
+ * This includes clicks, taps, and other interactions outside the modal area.
249
+ * More general than `onPointerDownOutside` and covers additional interaction types.
250
+ */
251
+ onInteractOutside?: (e: Event) => void;
250
252
  }
253
+ //#endregion
254
+ export { ModalProps, ModalSize, TitleIconPosition };
@@ -1 +1,2 @@
1
- export { default } from './Modal';
1
+ import Modal from "./Modal.js";
2
+ export { Modal as default };
@@ -1,4 +1,7 @@
1
- import React from 'react';
2
- import { ProgressBarProps } from './ProgressBar.types';
1
+ import { ProgressBarProps } from "./ProgressBar.types.js";
2
+ import React from "react";
3
+
4
+ //#region src/ProgressBar/ProgressBar.d.ts
3
5
  declare const ProgressBar: React.FunctionComponent<ProgressBarProps>;
4
- export default ProgressBar;
6
+ //#endregion
7
+ export { ProgressBar as default };