@seeqdev/qomponents 0.0.209 → 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 (88) hide show
  1. package/dist/iconFont/FontCustom.woff +0 -0
  2. package/dist/iconFont/FontCustom.woff2 +0 -0
  3. package/dist/index.esm.js +76 -29429
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.js +78 -29481
  6. package/dist/index.js.map +1 -1
  7. package/dist/src/Accordion/Accordion.d.ts +6 -3
  8. package/dist/src/Accordion/Accordion.types.d.ts +86 -83
  9. package/dist/src/Accordion/index.d.ts +2 -1
  10. package/dist/src/Alert/Alert.d.ts +8 -3
  11. package/dist/src/Alert/Alert.types.d.ts +58 -55
  12. package/dist/src/Alert/index.d.ts +2 -1
  13. package/dist/src/Button/Button.d.ts +6 -3
  14. package/dist/src/Button/Button.types.d.ts +151 -147
  15. package/dist/src/Button/index.d.ts +2 -1
  16. package/dist/src/ButtonGroup/ButtonGroup.d.ts +8 -3
  17. package/dist/src/ButtonGroup/ButtonGroup.types.d.ts +66 -62
  18. package/dist/src/ButtonGroup/index.d.ts +2 -1
  19. package/dist/src/ButtonWithDropdown/ButtonWithDropdown.d.ts +8 -5
  20. package/dist/src/ButtonWithDropdown/ButtonWithDropdown.types.d.ts +209 -204
  21. package/dist/src/ButtonWithDropdown/index.d.ts +2 -1
  22. package/dist/src/ButtonWithPopover/ButtonWithPopover.d.ts +7 -4
  23. package/dist/src/ButtonWithPopover/ButtonWithPopover.types.d.ts +134 -129
  24. package/dist/src/ButtonWithPopover/index.d.ts +2 -1
  25. package/dist/src/Carousel/Carousel.d.ts +7 -3
  26. package/dist/src/Carousel/Carousel.types.d.ts +84 -81
  27. package/dist/src/Carousel/index.d.ts +2 -1
  28. package/dist/src/Checkbox/Checkbox.d.ts +8 -3
  29. package/dist/src/Checkbox/Checkbox.types.d.ts +92 -89
  30. package/dist/src/Checkbox/index.d.ts +2 -1
  31. package/dist/src/Collapse/Collapse.d.ts +6 -3
  32. package/dist/src/Collapse/Collapse.types.d.ts +17 -14
  33. package/dist/src/Collapse/index.d.ts +2 -1
  34. package/dist/src/Icon/Icon.d.ts +7 -3
  35. package/dist/src/Icon/Icon.types.d.ts +89 -85
  36. package/dist/src/Icon/index.d.ts +2 -1
  37. package/dist/src/InputGroup/InputGroup.d.ts +8 -3
  38. package/dist/src/InputGroup/InputGroup.types.d.ts +42 -38
  39. package/dist/src/InputGroup/index.d.ts +3 -2
  40. package/dist/src/Modal/Modal.d.ts +8 -3
  41. package/dist/src/Modal/Modal.types.d.ts +253 -249
  42. package/dist/src/Modal/index.d.ts +2 -1
  43. package/dist/src/ProgressBar/ProgressBar.d.ts +6 -3
  44. package/dist/src/ProgressBar/ProgressBar.types.d.ts +71 -66
  45. package/dist/src/ProgressBar/index.d.ts +2 -1
  46. package/dist/src/SeeqActionDropdown/SeeqActionDropdown.d.ts +7 -4
  47. package/dist/src/SeeqActionDropdown/SeeqActionDropdown.types.d.ts +159 -154
  48. package/dist/src/SeeqActionDropdown/index.d.ts +2 -1
  49. package/dist/src/SeeqActionDropdown/variants.d.ts +9 -5
  50. package/dist/src/Select/Select.d.ts +9 -6
  51. package/dist/src/Select/Select.types.d.ts +219 -213
  52. package/dist/src/Select/index.d.ts +3 -2
  53. package/dist/src/Slider/Slider.d.ts +8 -3
  54. package/dist/src/Slider/Slider.types.d.ts +83 -80
  55. package/dist/src/Slider/index.d.ts +2 -1
  56. package/dist/src/SvgIcon/SvgIcon.d.ts +7 -3
  57. package/dist/src/SvgIcon/SvgIcon.types.d.ts +73 -69
  58. package/dist/src/SvgIcon/index.d.ts +2 -1
  59. package/dist/src/Tabs/Tabs.d.ts +6 -3
  60. package/dist/src/Tabs/Tabs.types.d.ts +83 -78
  61. package/dist/src/Tabs/index.d.ts +2 -1
  62. package/dist/src/TextArea/TextArea.d.ts +8 -3
  63. package/dist/src/TextArea/TextArea.types.d.ts +116 -111
  64. package/dist/src/TextArea/index.d.ts +2 -1
  65. package/dist/src/TextField/TextField.d.ts +8 -3
  66. package/dist/src/TextField/TextField.types.d.ts +198 -194
  67. package/dist/src/TextField/index.d.ts +2 -1
  68. package/dist/src/ToolbarButton/ToolbarButton.d.ts +7 -3
  69. package/dist/src/ToolbarButton/ToolbarButton.types.d.ts +121 -117
  70. package/dist/src/ToolbarButton/index.d.ts +2 -1
  71. package/dist/src/Tooltip/QTip.types.d.ts +16 -12
  72. package/dist/src/Tooltip/Qtip.d.ts +7 -2
  73. package/dist/src/Tooltip/Tooltip.d.ts +8 -3
  74. package/dist/src/Tooltip/Tooltip.types.d.ts +24 -20
  75. package/dist/src/Tooltip/index.d.ts +3 -2
  76. package/dist/src/Tooltip/qTip.utilities.d.ts +13 -3
  77. package/dist/src/TriggerWithDropdown/TriggerWithDropdown.d.ts +7 -4
  78. package/dist/src/TriggerWithDropdown/TriggerWithDropdown.types.d.ts +99 -94
  79. package/dist/src/TriggerWithDropdown/index.d.ts +2 -1
  80. package/dist/src/index.build.d.ts +50 -6
  81. package/dist/src/index.d.ts +50 -46
  82. package/dist/src/test-utils/is-browser-mode.d.ts +7 -4
  83. package/dist/src/types.d.ts +30 -28
  84. package/dist/src/utils/browserId.d.ts +8 -5
  85. package/dist/src/utils/svg.d.ts +6 -3
  86. package/dist/src/utils/validateStyleDimension.d.ts +6 -2
  87. package/dist/styles.css +16 -31
  88. package/package.json +13 -12
@@ -1,91 +1,94 @@
1
- import { TooltipComponentProps } from '../Tooltip/Tooltip.types';
1
+ import { TooltipComponentProps } from "../Tooltip/Tooltip.types.js";
2
+
3
+ //#region src/Checkbox/Checkbox.types.d.ts
2
4
  type FormControlElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
3
- export interface CheckboxProps extends TooltipComponentProps {
4
- /**
5
- * Additional CSS classes to apply to the checkbox container.
6
- * These classes are combined with the component's built-in styling.
7
- * Use this to customize the overall appearance of the checkbox wrapper.
8
- */
9
- extraClassNames?: string;
10
- /**
11
- * Additional CSS classes to apply specifically to the label element.
12
- * Use this to customize the styling of the text label that appears next to the checkbox.
13
- * Does not affect the input element itself.
14
- */
15
- extraLabelClassNames?: string;
16
- /**
17
- * Determines the type of input control to render:
18
- * - `checkbox`: Standard checkbox that can be checked/unchecked independently
19
- * - `radio`: Radio button that is typically part of a group where only one can be selected
20
- * @default 'checkbox'
21
- */
22
- type?: 'radio' | 'checkbox';
23
- /**
24
- * HTML ID attribute for the input element.
25
- * Should be unique across the entire page for proper HTML semantics and accessibility.
26
- * If not provided, a random ID will be generated automatically.
27
- * Used for associating the label with the input for accessibility.
28
- */
29
- id?: string;
30
- /**
31
- * Name attribute for the input element, used for form submission and grouping.
32
- * For radio buttons, all options in the same group should share the same name.
33
- * For checkboxes, this identifies the field when the form is submitted.
34
- */
35
- name?: string;
36
- /**
37
- * Controls whether the checkbox/radio button is currently checked.
38
- * Use this for controlled components where you manage the state externally.
39
- * When provided, the component becomes controlled and you must handle state changes via `onChange`.
40
- */
41
- checked?: boolean;
42
- /**
43
- * Sets the initial checked state for uncontrolled components.
44
- * Only used when `checked` is not provided (uncontrolled mode).
45
- * The component will manage its own state after the initial render.
46
- */
47
- defaultChecked?: boolean;
48
- /**
49
- * The value associated with this checkbox/radio button.
50
- * This is the value that will be submitted with the form when the input is checked.
51
- * For radio buttons, each option in a group should have a unique value.
52
- */
53
- value?: string | number;
54
- /**
55
- * The text or content to display as the label next to the checkbox/radio button.
56
- * Can be a simple string or any React element for more complex label content.
57
- * Clicking on this label will toggle the input due to proper accessibility association.
58
- */
59
- label?: string | React.ReactNode;
60
- /**
61
- * Callback function triggered when the checkbox/radio button state changes.
62
- * Receives the change event which contains the new checked state and value.
63
- * Use this to update your component state when in controlled mode.
64
- */
65
- onChange?: React.ChangeEventHandler<FormControlElement>;
66
- /**
67
- * Callback function triggered when a key is pressed while the input has focus.
68
- * Useful for implementing custom keyboard navigation or shortcuts.
69
- * Receives the keyboard event with details about the pressed key.
70
- */
71
- onKeyDown?: React.KeyboardEventHandler<FormControlElement>;
72
- /**
73
- * Callback function triggered when the input element is clicked.
74
- * This fires before the onChange event and can be used for additional click handling.
75
- * Note that clicking the associated label will also trigger this event.
76
- */
77
- onClick?: React.MouseEventHandler<FormControlElement>;
78
- /**
79
- * When true, disables the checkbox/radio button preventing user interaction.
80
- * Disabled inputs appear visually dimmed and do not respond to user actions.
81
- * The input will not be included in form submissions when disabled.
82
- */
83
- disabled?: boolean;
84
- /**
85
- * Test ID attribute for the input element used in automated testing.
86
- * Applied to the `data-testid` attribute for element selection in test suites.
87
- * Helps identify this specific checkbox/radio button in tests.
88
- */
89
- testId?: string;
5
+ interface CheckboxProps extends TooltipComponentProps {
6
+ /**
7
+ * Additional CSS classes to apply to the checkbox container.
8
+ * These classes are combined with the component's built-in styling.
9
+ * Use this to customize the overall appearance of the checkbox wrapper.
10
+ */
11
+ extraClassNames?: string;
12
+ /**
13
+ * Additional CSS classes to apply specifically to the label element.
14
+ * Use this to customize the styling of the text label that appears next to the checkbox.
15
+ * Does not affect the input element itself.
16
+ */
17
+ extraLabelClassNames?: string;
18
+ /**
19
+ * Determines the type of input control to render:
20
+ * - `checkbox`: Standard checkbox that can be checked/unchecked independently
21
+ * - `radio`: Radio button that is typically part of a group where only one can be selected
22
+ * @default 'checkbox'
23
+ */
24
+ type?: 'radio' | 'checkbox';
25
+ /**
26
+ * HTML ID attribute for the input element.
27
+ * Should be unique across the entire page for proper HTML semantics and accessibility.
28
+ * If not provided, a random ID will be generated automatically.
29
+ * Used for associating the label with the input for accessibility.
30
+ */
31
+ id?: string;
32
+ /**
33
+ * Name attribute for the input element, used for form submission and grouping.
34
+ * For radio buttons, all options in the same group should share the same name.
35
+ * For checkboxes, this identifies the field when the form is submitted.
36
+ */
37
+ name?: string;
38
+ /**
39
+ * Controls whether the checkbox/radio button is currently checked.
40
+ * Use this for controlled components where you manage the state externally.
41
+ * When provided, the component becomes controlled and you must handle state changes via `onChange`.
42
+ */
43
+ checked?: boolean;
44
+ /**
45
+ * Sets the initial checked state for uncontrolled components.
46
+ * Only used when `checked` is not provided (uncontrolled mode).
47
+ * The component will manage its own state after the initial render.
48
+ */
49
+ defaultChecked?: boolean;
50
+ /**
51
+ * The value associated with this checkbox/radio button.
52
+ * This is the value that will be submitted with the form when the input is checked.
53
+ * For radio buttons, each option in a group should have a unique value.
54
+ */
55
+ value?: string | number;
56
+ /**
57
+ * The text or content to display as the label next to the checkbox/radio button.
58
+ * Can be a simple string or any React element for more complex label content.
59
+ * Clicking on this label will toggle the input due to proper accessibility association.
60
+ */
61
+ label?: string | React.ReactNode;
62
+ /**
63
+ * Callback function triggered when the checkbox/radio button state changes.
64
+ * Receives the change event which contains the new checked state and value.
65
+ * Use this to update your component state when in controlled mode.
66
+ */
67
+ onChange?: React.ChangeEventHandler<FormControlElement>;
68
+ /**
69
+ * Callback function triggered when a key is pressed while the input has focus.
70
+ * Useful for implementing custom keyboard navigation or shortcuts.
71
+ * Receives the keyboard event with details about the pressed key.
72
+ */
73
+ onKeyDown?: React.KeyboardEventHandler<FormControlElement>;
74
+ /**
75
+ * Callback function triggered when the input element is clicked.
76
+ * This fires before the onChange event and can be used for additional click handling.
77
+ * Note that clicking the associated label will also trigger this event.
78
+ */
79
+ onClick?: React.MouseEventHandler<FormControlElement>;
80
+ /**
81
+ * When true, disables the checkbox/radio button preventing user interaction.
82
+ * Disabled inputs appear visually dimmed and do not respond to user actions.
83
+ * The input will not be included in form submissions when disabled.
84
+ */
85
+ disabled?: boolean;
86
+ /**
87
+ * Test ID attribute for the input element used in automated testing.
88
+ * Applied to the `data-testid` attribute for element selection in test suites.
89
+ * Helps identify this specific checkbox/radio button in tests.
90
+ */
91
+ testId?: string;
90
92
  }
91
- export {};
93
+ //#endregion
94
+ export { CheckboxProps };
@@ -1 +1,2 @@
1
- export { Checkbox as default } from './Checkbox';
1
+ import { Checkbox } from "./Checkbox.js";
2
+ export { Checkbox as default };
@@ -1,4 +1,7 @@
1
- import React from 'react';
2
- import { CollapseProps } from './Collapse.types';
1
+ import { CollapseProps } from "./Collapse.types.js";
2
+ import React from "react";
3
+
4
+ //#region src/Collapse/Collapse.d.ts
3
5
  declare const Collapse: React.FunctionComponent<CollapseProps>;
4
- export default Collapse;
6
+ //#endregion
7
+ export { Collapse as default };
@@ -1,18 +1,21 @@
1
+ //#region src/Collapse/Collapse.types.d.ts
1
2
  /**
2
3
  * Props for the Collapse component that creates smooth expand/collapse animations.
3
4
  */
4
- export interface CollapseProps {
5
- /**
6
- * Controls whether the collapse content is visible and expanded.
7
- * When true, the content smoothly expands to full height.
8
- * When false, the content smoothly collapses to zero height.
9
- * Use this to control the collapse state from parent components.
10
- */
11
- isVisible: boolean;
12
- /**
13
- * Content to display inside the collapsible area.
14
- * Can be any React elements that you want to show/hide with animation.
15
- * The content will be measured and animated when expanding or collapsing.
16
- */
17
- children: React.ReactNode;
5
+ interface CollapseProps {
6
+ /**
7
+ * Controls whether the collapse content is visible and expanded.
8
+ * When true, the content smoothly expands to full height.
9
+ * When false, the content smoothly collapses to zero height.
10
+ * Use this to control the collapse state from parent components.
11
+ */
12
+ isVisible: boolean;
13
+ /**
14
+ * Content to display inside the collapsible area.
15
+ * Can be any React elements that you want to show/hide with animation.
16
+ * The content will be measured and animated when expanding or collapsing.
17
+ */
18
+ children: React.ReactNode;
18
19
  }
20
+ //#endregion
21
+ export { CollapseProps };
@@ -1 +1,2 @@
1
- export { default } from './Collapse';
1
+ import Collapse from "./Collapse.js";
2
+ export { Collapse as default };
@@ -1,9 +1,13 @@
1
- import React from 'react';
2
- import { IconProps } from './Icon.types';
1
+ import { IconProps } from "./Icon.types.js";
2
+ import React from "react";
3
+
4
+ //#region src/Icon/Icon.d.ts
5
+
3
6
  /**
4
7
  * Icon:
5
8
  * - access to Seeq custom icons by providing the desired icon
6
9
  * - leverage "type" to style your icon
7
10
  */
8
11
  declare const Icon: React.FunctionComponent<IconProps>;
9
- export default Icon;
12
+ //#endregion
13
+ export { Icon as default };
@@ -1,90 +1,94 @@
1
- import { TooltipComponentProps } from '../Tooltip/Tooltip.types';
2
- export declare const iconTypes: readonly ["theme", "white", "dark-gray", "darkish-gray", "gray", "color", "info", "text", "warning", "inherit", "danger", "theme-light", "success"];
3
- export type IconType = (typeof iconTypes)[number];
4
- export type IconSize = '2xs' | 'xs' | 'sm' | 'lg' | 'xl' | '2xl' | '1x' | '2x' | '3x' | '4x' | '5x' | '6x' | '7x' | '8x' | '9x' | '10x';
1
+ import { TooltipComponentProps } from "../Tooltip/Tooltip.types.js";
2
+
3
+ //#region src/Icon/Icon.types.d.ts
4
+ declare const iconTypes: readonly ["theme", "white", "dark-gray", "darkish-gray", "gray", "color", "info", "text", "warning", "inherit", "danger", "theme-light", "success"];
5
+ type IconType = (typeof iconTypes)[number];
6
+ type IconSize = '2xs' | 'xs' | 'sm' | 'lg' | 'xl' | '2xl' | '1x' | '2x' | '3x' | '4x' | '5x' | '6x' | '7x' | '8x' | '9x' | '10x';
5
7
  /**
6
8
  * Props for the Icon component that renders customizable icons with various styling options.
7
9
  * Extends TooltipComponentProps to support tooltip functionality on the icon.
8
10
  */
9
- export interface IconProps extends TooltipComponentProps {
10
- /**
11
- * Icon class name to display, typically from FontAwesome.
12
- * Examples: 'fc-zoom', 'fc-delete', 'fc-save'. This determines which icon is rendered.
13
- */
14
- icon: string;
15
- /**
16
- * Custom prefix for the icon class when not using standard FontAwesome icons.
17
- * By default, icons are prefixed with 'fa-sharp fa-regular', but some icons
18
- * from different icon sets require specific prefixes. Use this to override the default.
19
- */
20
- iconPrefix?: string;
21
- /**
22
- * Visual style type that determines the icon's color and appearance:
23
- * - `theme`: Uses primary theme colors (default)
24
- * - `white`: Pure white color
25
- * - `text`: Uses standard text color
26
- * - `dark-gray`: Dark gray color
27
- * - `darkish-gray`: Medium-dark gray color
28
- * - `gray`: Standard gray color
29
- * - `color`: Uses custom color specified in `color` prop
30
- * - `info`: Blue informational color
31
- * - `warning`: Yellow/orange warning color
32
- * - `danger`: Red error/danger color
33
- * - `success`: Green success color
34
- * - `theme-light`: Lighter version of theme color
35
- * - `inherit`: Inherits color from parent element
36
- * @default 'theme'
37
- */
38
- type?: IconType;
39
- /**
40
- * Icon size, mapped to FontAwesome sizing classes so it works for both FA and FontCustom icons.
41
- * Examples: 'sm', 'lg', 'xl', '2xl', '1x'...'10x', 'xs', '2xs'.
42
- */
43
- size?: IconSize;
44
- /**
45
- * Custom color value for the icon when `type` is set to 'color'.
46
- * Can be any valid CSS color (hex, rgb, color names, etc.).
47
- * This property is required when type is 'color'.
48
- */
49
- color?: string;
50
- /**
51
- * Callback function triggered when the icon is clicked.
52
- * Receives the mouse event as a parameter. Use this to make icons interactive
53
- * for actions like opening menus, triggering functions, or navigation.
54
- */
55
- onClick?: (e?: React.MouseEvent<HTMLElement, MouseEvent>) => any;
56
- /**
57
- * Additional CSS classes to apply to the icon element.
58
- * Use this to customize the icon's appearance, spacing, or behavior beyond built-in options.
59
- */
60
- extraClassNames?: string;
61
- /**
62
- * HTML ID attribute for the icon element.
63
- * Should be unique across the page for proper HTML semantics and accessibility.
64
- */
65
- id?: string;
66
- /**
67
- * @deprecated Use `size="lg"` instead.
68
- */
69
- large?: boolean;
70
- /**
71
- * @deprecated Use `size="sm"` instead.
72
- */
73
- small?: boolean;
74
- /**
75
- * Test ID attribute for the icon element used in automated testing.
76
- * Applied to the `data-testid` attribute for element selection in test suites.
77
- */
78
- testId?: string;
79
- /**
80
- * Custom identifier placed in the `data-customid` attribute on the icon element.
81
- * Useful for identifying the specific icon in event handlers when multiple icons
82
- * share the same click handler. Helps distinguish which icon was clicked.
83
- */
84
- customId?: string;
85
- /**
86
- * Numeric value associated with the icon, purpose depends on specific use case.
87
- * Can be used for ordering, counting, or any numeric data related to the icon.
88
- */
89
- number?: number;
11
+ interface IconProps extends TooltipComponentProps {
12
+ /**
13
+ * Icon class name to display, typically from FontAwesome.
14
+ * Examples: 'fc-zoom', 'fc-delete', 'fc-save'. This determines which icon is rendered.
15
+ */
16
+ icon: string;
17
+ /**
18
+ * Custom prefix for the icon class when not using standard FontAwesome icons.
19
+ * By default, icons are prefixed with 'fa-sharp fa-regular', but some icons
20
+ * from different icon sets require specific prefixes. Use this to override the default.
21
+ */
22
+ iconPrefix?: string;
23
+ /**
24
+ * Visual style type that determines the icon's color and appearance:
25
+ * - `theme`: Uses primary theme colors (default)
26
+ * - `white`: Pure white color
27
+ * - `text`: Uses standard text color
28
+ * - `dark-gray`: Dark gray color
29
+ * - `darkish-gray`: Medium-dark gray color
30
+ * - `gray`: Standard gray color
31
+ * - `color`: Uses custom color specified in `color` prop
32
+ * - `info`: Blue informational color
33
+ * - `warning`: Yellow/orange warning color
34
+ * - `danger`: Red error/danger color
35
+ * - `success`: Green success color
36
+ * - `theme-light`: Lighter version of theme color
37
+ * - `inherit`: Inherits color from parent element
38
+ * @default 'theme'
39
+ */
40
+ type?: IconType;
41
+ /**
42
+ * Icon size, mapped to FontAwesome sizing classes so it works for both FA and FontCustom icons.
43
+ * Examples: 'sm', 'lg', 'xl', '2xl', '1x'...'10x', 'xs', '2xs'.
44
+ */
45
+ size?: IconSize;
46
+ /**
47
+ * Custom color value for the icon when `type` is set to 'color'.
48
+ * Can be any valid CSS color (hex, rgb, color names, etc.).
49
+ * This property is required when type is 'color'.
50
+ */
51
+ color?: string;
52
+ /**
53
+ * Callback function triggered when the icon is clicked.
54
+ * Receives the mouse event as a parameter. Use this to make icons interactive
55
+ * for actions like opening menus, triggering functions, or navigation.
56
+ */
57
+ onClick?: (e?: React.MouseEvent<HTMLElement, MouseEvent>) => any;
58
+ /**
59
+ * Additional CSS classes to apply to the icon element.
60
+ * Use this to customize the icon's appearance, spacing, or behavior beyond built-in options.
61
+ */
62
+ extraClassNames?: string;
63
+ /**
64
+ * HTML ID attribute for the icon element.
65
+ * Should be unique across the page for proper HTML semantics and accessibility.
66
+ */
67
+ id?: string;
68
+ /**
69
+ * @deprecated Use `size="lg"` instead.
70
+ */
71
+ large?: boolean;
72
+ /**
73
+ * @deprecated Use `size="sm"` instead.
74
+ */
75
+ small?: boolean;
76
+ /**
77
+ * Test ID attribute for the icon element used in automated testing.
78
+ * Applied to the `data-testid` attribute for element selection in test suites.
79
+ */
80
+ testId?: string;
81
+ /**
82
+ * Custom identifier placed in the `data-customid` attribute on the icon element.
83
+ * Useful for identifying the specific icon in event handlers when multiple icons
84
+ * share the same click handler. Helps distinguish which icon was clicked.
85
+ */
86
+ customId?: string;
87
+ /**
88
+ * Numeric value associated with the icon, purpose depends on specific use case.
89
+ * Can be used for ordering, counting, or any numeric data related to the icon.
90
+ */
91
+ number?: number;
90
92
  }
93
+ //#endregion
94
+ export { IconProps, IconSize, IconType, iconTypes };
@@ -1 +1,2 @@
1
- export { default } from './Icon';
1
+ import Icon from "./Icon.js";
2
+ export { Icon as default };
@@ -1,6 +1,11 @@
1
- import React from 'react';
2
- import { InputGroupProps } from './InputGroup.types';
1
+ import { InputGroupProps } from "./InputGroup.types.js";
2
+ import React from "react";
3
+
4
+ //#region src/InputGroup/InputGroup.d.ts
5
+
3
6
  /**
4
7
  * InputGroup.
5
8
  */
6
- export declare const InputGroup: React.ForwardRefExoticComponent<Omit<InputGroupProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
9
+ declare const InputGroup: React.ForwardRefExoticComponent<Omit<InputGroupProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
10
+ //#endregion
11
+ export { InputGroup };
@@ -1,61 +1,65 @@
1
- import { ButtonProps } from '../Button/Button.types';
2
- import { InputLengthStyleProps, TextFieldProps } from '../TextField/TextField.types';
3
- import { TooltipComponentProps } from '../Tooltip/Tooltip.types';
1
+ import { TooltipComponentProps } from "../Tooltip/Tooltip.types.js";
2
+ import { ButtonProps } from "../Button/Button.types.js";
3
+ import { InputLengthStyleProps, TextFieldProps } from "../TextField/TextField.types.js";
4
+
5
+ //#region src/InputGroup/InputGroup.types.d.ts
6
+
4
7
  /**
5
8
  * Interface for button elements that can be appended to an InputGroup.
6
9
  * Used when you want to add interactive buttons alongside the input field.
7
10
  */
8
11
  interface AppendedButtonProps {
9
- /**
10
- * Specifies that this appended item is an interactive button.
11
- * Button items can trigger actions and provide additional functionality to the input.
12
- */
13
- variant: 'button';
14
- /**
15
- * Configuration properties for the button component.
16
- * Uses all standard Button props including click handlers, styling, icons, and tooltips.
17
- */
18
- buttonProps: ButtonProps;
12
+ /**
13
+ * Specifies that this appended item is an interactive button.
14
+ * Button items can trigger actions and provide additional functionality to the input.
15
+ */
16
+ variant: 'button';
17
+ /**
18
+ * Configuration properties for the button component.
19
+ * Uses all standard Button props including click handlers, styling, icons, and tooltips.
20
+ */
21
+ buttonProps: ButtonProps;
19
22
  }
20
23
  /**
21
24
  * Interface for custom React elements that can be appended to an InputGroup.
22
25
  * Used when you need to add non-button content like icons, labels, or decorative elements.
23
26
  */
24
27
  interface ElementProps {
25
- /**
26
- * Specifies that this appended item is a custom React element.
27
- * Element items are typically decorative or informational and don't have built-in interactivity.
28
- */
29
- variant: 'element';
30
- /**
31
- * The React content to render alongside the input field.
32
- * Can be any valid React node including text, icons, indicators, or complex components.
33
- */
34
- element: React.ReactNode;
28
+ /**
29
+ * Specifies that this appended item is a custom React element.
30
+ * Element items are typically decorative or informational and don't have built-in interactivity.
31
+ */
32
+ variant: 'element';
33
+ /**
34
+ * The React content to render alongside the input field.
35
+ * Can be any valid React node including text, icons, indicators, or complex components.
36
+ */
37
+ element: React.ReactNode;
35
38
  }
36
- export type AppendedProps = AppendedButtonProps | ElementProps | undefined;
39
+ type AppendedProps = AppendedButtonProps | ElementProps | undefined;
37
40
  /**
38
41
  * Base interface for InputGroup component properties.
39
42
  * Extends TextFieldProps to inherit all text input functionality while adding group-specific features.
40
43
  */
41
44
  interface BaseInputGroupProps extends TextFieldProps {
42
- /**
43
- * Array of elements to append to the right side of the input field.
44
- * Each item can be either a button (for interactive functionality) or an element (for decoration).
45
- * Items are displayed in the order they appear in the array, creating a cohesive input group.
46
- */
47
- append: AppendedProps[];
48
- /**
49
- * Custom input field component to render instead of the default TextField.
50
- * Use this when you need specialized input behavior while maintaining the group styling.
51
- * The field will be integrated seamlessly with the appended elements.
52
- */
53
- field?: React.ReactNode;
45
+ /**
46
+ * Array of elements to append to the right side of the input field.
47
+ * Each item can be either a button (for interactive functionality) or an element (for decoration).
48
+ * Items are displayed in the order they appear in the array, creating a cohesive input group.
49
+ */
50
+ append: AppendedProps[];
51
+ /**
52
+ * Custom input field component to render instead of the default TextField.
53
+ * Use this when you need specialized input behavior while maintaining the group styling.
54
+ * The field will be integrated seamlessly with the appended elements.
55
+ */
56
+ field?: React.ReactNode;
54
57
  }
55
58
  /**
56
59
  * Complete props interface for the InputGroup component.
57
60
  * Combines base input group functionality with tooltip support and text length constraints.
58
61
  * Creates a cohesive input control with attached buttons or decorative elements.
59
62
  */
60
- export type InputGroupProps = BaseInputGroupProps & TooltipComponentProps & InputLengthStyleProps;
61
- export {};
63
+ type InputGroupProps = BaseInputGroupProps & TooltipComponentProps & InputLengthStyleProps;
64
+ //#endregion
65
+ export { AppendedProps, InputGroupProps };
@@ -1,2 +1,3 @@
1
- export { InputGroup as default } from './InputGroup';
2
- export type { AppendedProps } from './InputGroup.types';
1
+ import { AppendedProps } from "./InputGroup.types.js";
2
+ import { InputGroup } from "./InputGroup.js";
3
+ export { type AppendedProps, InputGroup as default };
@@ -1,4 +1,9 @@
1
- import React from 'react';
2
- import { ModalProps } from './Modal.types';
1
+ import { ModalProps } from "./Modal.types.js";
2
+ import React from "react";
3
+ import "react/jsx-runtime";
4
+
5
+ //#region src/Modal/Modal.d.ts
6
+
3
7
  declare const Modal: React.FunctionComponent<ModalProps>;
4
- export default Modal;
8
+ //#endregion
9
+ export { Modal as default };