@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,77 +1,82 @@
1
- import { TooltipComponentProps } from '../Tooltip/Tooltip.types';
1
+ import { TooltipComponentProps } from "../Tooltip/Tooltip.types.js";
2
+
3
+ //#region src/ProgressBar/ProgressBar.types.d.ts
4
+
2
5
  /**
3
6
  * Props for individual progress indicators within a ProgressBar.
4
7
  * Each indicator represents a segment of the overall progress with its own value and styling.
5
8
  * Extends TooltipComponentProps to support tooltip functionality on individual indicators.
6
9
  */
7
- export interface ProgressIndicatorProps extends TooltipComponentProps {
8
- /**
9
- * Additional CSS classes to apply to this specific progress indicator.
10
- * Use this to customize the appearance of individual indicators within the progress bar.
11
- */
12
- extraClasses?: string;
13
- /**
14
- * Test ID attribute for this progress indicator used in automated testing.
15
- * Helps identify and interact with specific indicators in test suites.
16
- */
17
- testId?: string;
18
- /**
19
- * Current value of this progress indicator.
20
- * Should be between 0 and the progress bar's max value. The indicator's width
21
- * will be calculated as a percentage based on this value relative to the max.
22
- */
23
- value: number;
24
- /**
25
- * Custom color for this progress indicator.
26
- * Can be any valid CSS color value (hex, rgb, color names, etc.).
27
- * If not provided, uses the default theme color for progress indicators.
28
- */
29
- color?: string;
30
- /**
31
- * Text label to display on or next to this progress indicator.
32
- * Useful for showing the indicator's name, category, or current value.
33
- * Can be positioned and styled using labelClasses.
34
- */
35
- label?: string;
36
- /**
37
- * Additional CSS classes to apply specifically to the indicator's label.
38
- * Use this to customize the label's typography, positioning, or styling
39
- * independently from the indicator itself.
40
- */
41
- labelClasses?: string;
10
+ interface ProgressIndicatorProps extends TooltipComponentProps {
11
+ /**
12
+ * Additional CSS classes to apply to this specific progress indicator.
13
+ * Use this to customize the appearance of individual indicators within the progress bar.
14
+ */
15
+ extraClasses?: string;
16
+ /**
17
+ * Test ID attribute for this progress indicator used in automated testing.
18
+ * Helps identify and interact with specific indicators in test suites.
19
+ */
20
+ testId?: string;
21
+ /**
22
+ * Current value of this progress indicator.
23
+ * Should be between 0 and the progress bar's max value. The indicator's width
24
+ * will be calculated as a percentage based on this value relative to the max.
25
+ */
26
+ value: number;
27
+ /**
28
+ * Custom color for this progress indicator.
29
+ * Can be any valid CSS color value (hex, rgb, color names, etc.).
30
+ * If not provided, uses the default theme color for progress indicators.
31
+ */
32
+ color?: string;
33
+ /**
34
+ * Text label to display on or next to this progress indicator.
35
+ * Useful for showing the indicator's name, category, or current value.
36
+ * Can be positioned and styled using labelClasses.
37
+ */
38
+ label?: string;
39
+ /**
40
+ * Additional CSS classes to apply specifically to the indicator's label.
41
+ * Use this to customize the label's typography, positioning, or styling
42
+ * independently from the indicator itself.
43
+ */
44
+ labelClasses?: string;
42
45
  }
43
46
  /**
44
47
  * Props for the ProgressBar component that displays one or more progress indicators.
45
48
  * Supports multiple indicators for showing different categories or segments of progress.
46
49
  */
47
- export interface ProgressBarProps {
48
- /**
49
- * Array of progress indicators to display within the progress bar.
50
- * Each indicator can have its own value, color, label, and styling.
51
- * Indicators are rendered in the order they appear in the array.
52
- */
53
- values: ProgressIndicatorProps[];
54
- /**
55
- * Maximum value for the progress bar scale.
56
- * All indicator values are calculated as percentages relative to this maximum.
57
- * Determines the full width (100%) of the progress bar.
58
- * @default 100
59
- */
60
- max?: number;
61
- /**
62
- * Additional CSS classes to apply to the progress bar container.
63
- * Use this to customize the overall appearance, spacing, or layout of the entire progress bar.
64
- */
65
- containerExtraClasses?: string;
66
- /**
67
- * Test ID attribute for the progress bar container used in automated testing.
68
- * Applied to the main container element for test targeting and interaction.
69
- */
70
- testId?: string;
71
- /**
72
- * Text label to display when all progress indicators have a value of zero.
73
- * Useful for providing context or instructions when no progress has been made.
74
- * Only shown when the total progress is zero.
75
- */
76
- zeroValueLabel?: string;
50
+ interface ProgressBarProps {
51
+ /**
52
+ * Array of progress indicators to display within the progress bar.
53
+ * Each indicator can have its own value, color, label, and styling.
54
+ * Indicators are rendered in the order they appear in the array.
55
+ */
56
+ values: ProgressIndicatorProps[];
57
+ /**
58
+ * Maximum value for the progress bar scale.
59
+ * All indicator values are calculated as percentages relative to this maximum.
60
+ * Determines the full width (100%) of the progress bar.
61
+ * @default 100
62
+ */
63
+ max?: number;
64
+ /**
65
+ * Additional CSS classes to apply to the progress bar container.
66
+ * Use this to customize the overall appearance, spacing, or layout of the entire progress bar.
67
+ */
68
+ containerExtraClasses?: string;
69
+ /**
70
+ * Test ID attribute for the progress bar container used in automated testing.
71
+ * Applied to the main container element for test targeting and interaction.
72
+ */
73
+ testId?: string;
74
+ /**
75
+ * Text label to display when all progress indicators have a value of zero.
76
+ * Useful for providing context or instructions when no progress has been made.
77
+ * Only shown when the total progress is zero.
78
+ */
79
+ zeroValueLabel?: string;
77
80
  }
81
+ //#endregion
82
+ export { ProgressBarProps, ProgressIndicatorProps };
@@ -1 +1,2 @@
1
- export { default } from './ProgressBar';
1
+ import ProgressBar from "./ProgressBar.js";
2
+ export { ProgressBar as default };
@@ -1,4 +1,7 @@
1
- import * as React from 'react';
2
- import { SeeqActionDropdownProps } from './SeeqActionDropdown.types';
3
- declare const SeeqActionDropdown: React.FunctionComponent<SeeqActionDropdownProps>;
4
- export default SeeqActionDropdown;
1
+ import { SeeqActionDropdownProps } from "./SeeqActionDropdown.types.js";
2
+ import * as React$1 from "react";
3
+
4
+ //#region src/SeeqActionDropdown/SeeqActionDropdown.d.ts
5
+ declare const SeeqActionDropdown: React$1.FunctionComponent<SeeqActionDropdownProps>;
6
+ //#endregion
7
+ export { SeeqActionDropdown as default };
@@ -1,164 +1,169 @@
1
- import { TooltipComponentProps } from '../Tooltip/Tooltip.types';
1
+ import { TooltipComponentProps } from "../Tooltip/Tooltip.types.js";
2
+
3
+ //#region src/SeeqActionDropdown/SeeqActionDropdown.types.d.ts
4
+
2
5
  /**
3
6
  * Interface for individual action items within a SeeqActionDropdown.
4
7
  * Each item represents a clickable action with optional icon, text, and divider.
5
8
  */
6
- export interface SeeqActionDropdownItems {
7
- /**
8
- * HTML ID attribute for the dropdown item element.
9
- * Should be unique for proper HTML semantics and accessibility.
10
- */
11
- id?: string;
12
- /**
13
- * Icon class name to display next to the item label.
14
- * Typically uses FontAwesome classes (e.g., 'fc-zoom', 'fc-delete').
15
- * Provides visual context for the action.
16
- */
17
- icon?: string;
18
- /**
19
- * Additional CSS classes to apply to the icon element.
20
- * Use this to customize icon appearance beyond standard styling.
21
- */
22
- iconExtraClassNames?: string;
23
- /**
24
- * Additional CSS classes to apply to the dropdown icon container.
25
- * Use this to customize the icon's appearance beyond default Seeq styling.
26
- */
27
- iconContainerExtraClassNames?: string;
28
- /**
29
- * Main display text for the dropdown item.
30
- * This is the primary text that users see and click on to trigger the action.
31
- */
32
- display: string;
33
- /**
34
- * Callback function triggered when the dropdown item is clicked.
35
- * Use this to define the specific action that should occur when users select this item.
36
- */
37
- action: (e?: Event) => void;
38
- /**
39
- * When true, the item is clickable and interactive.
40
- * When false, the item appears disabled and doesn't respond to clicks.
41
- * @default true
42
- */
43
- enabled?: boolean;
44
- /**
45
- * When true, displays a visual divider line below this dropdown item.
46
- * Useful for grouping related items or separating different sections of actions.
47
- */
48
- divider?: boolean;
49
- /**
50
- * Test ID attribute for the dropdown item used in automated testing.
51
- * Helps identify and interact with specific action items in test suites.
52
- */
53
- testId?: string;
54
- /**
55
- * Secondary descriptive text displayed below the main display text.
56
- * Provides additional context or explanation about what the action does.
57
- */
58
- text?: string;
9
+ interface SeeqActionDropdownItems {
10
+ /**
11
+ * HTML ID attribute for the dropdown item element.
12
+ * Should be unique for proper HTML semantics and accessibility.
13
+ */
14
+ id?: string;
15
+ /**
16
+ * Icon class name to display next to the item label.
17
+ * Typically uses FontAwesome classes (e.g., 'fc-zoom', 'fc-delete').
18
+ * Provides visual context for the action.
19
+ */
20
+ icon?: string;
21
+ /**
22
+ * Additional CSS classes to apply to the icon element.
23
+ * Use this to customize icon appearance beyond standard styling.
24
+ */
25
+ iconExtraClassNames?: string;
26
+ /**
27
+ * Additional CSS classes to apply to the dropdown icon container.
28
+ * Use this to customize the icon's appearance beyond default Seeq styling.
29
+ */
30
+ iconContainerExtraClassNames?: string;
31
+ /**
32
+ * Main display text for the dropdown item.
33
+ * This is the primary text that users see and click on to trigger the action.
34
+ */
35
+ display: string;
36
+ /**
37
+ * Callback function triggered when the dropdown item is clicked.
38
+ * Use this to define the specific action that should occur when users select this item.
39
+ */
40
+ action: (e?: Event) => void;
41
+ /**
42
+ * When true, the item is clickable and interactive.
43
+ * When false, the item appears disabled and doesn't respond to clicks.
44
+ * @default true
45
+ */
46
+ enabled?: boolean;
47
+ /**
48
+ * When true, displays a visual divider line below this dropdown item.
49
+ * Useful for grouping related items or separating different sections of actions.
50
+ */
51
+ divider?: boolean;
52
+ /**
53
+ * Test ID attribute for the dropdown item used in automated testing.
54
+ * Helps identify and interact with specific action items in test suites.
55
+ */
56
+ testId?: string;
57
+ /**
58
+ * Secondary descriptive text displayed below the main display text.
59
+ * Provides additional context or explanation about what the action does.
60
+ */
61
+ text?: string;
59
62
  }
60
63
  /**
61
64
  * Props for the SeeqActionDropdown component that creates specialized Seeq-branded action menus.
62
65
  * Extends TooltipComponentProps to support tooltip functionality on the trigger.
63
66
  */
64
- export interface SeeqActionDropdownProps extends TooltipComponentProps {
65
- /**
66
- * Array of action items to display in the dropdown menu.
67
- * Each item represents a specific action users can perform, with icons and descriptions.
68
- */
69
- seeqActionDropdownItems: SeeqActionDropdownItems[];
70
- /**
71
- * React element to use as the clickable trigger for the dropdown.
72
- * Typically a button, icon, or text element that users click to open the action menu.
73
- */
74
- trigger: React.ReactNode;
75
- /**
76
- * HTML ID attribute for the dropdown trigger element.
77
- * Should be unique across the page for proper HTML semantics and accessibility.
78
- */
79
- id?: string;
80
- /**
81
- * Additional CSS classes to apply to the dropdown container.
82
- * Use this to customize the dropdown's appearance beyond default Seeq styling.
83
- */
84
- extraClassNames?: string;
85
- /**
86
- * Test ID attribute for the dropdown container element used in automated testing.
87
- * Applied to the main container that wraps both trigger and dropdown content.
88
- */
89
- containerTestId?: string;
90
- /**
91
- * When true, disables the dropdown trigger preventing user interaction.
92
- * Disabled triggers appear visually dimmed and don't open the dropdown when clicked.
93
- */
94
- disabled?: boolean;
95
- /**
96
- * Callback function triggered when the trigger is clicked.
97
- * Primarily used for tracking or analytics purposes. Note: this doesn't control
98
- * dropdown opening, which is handled separately.
99
- */
100
- onClick?: (e: MouseEvent) => void;
101
- /**
102
- * Horizontal alignment of the dropdown content relative to the trigger:
103
- * - `start`: Aligns to the left edge of the trigger
104
- * - `center`: Centers the dropdown on the trigger
105
- * - `end`: Aligns to the right edge of the trigger
106
- */
107
- align?: 'start' | 'center' | 'end';
108
- /**
109
- * Numeric offset in pixels from the aligned position.
110
- * Positive values move the dropdown further from the trigger in the align direction.
111
- */
112
- alignOffset?: number;
113
- /**
114
- * Position of the dropdown relative to the trigger element:
115
- * - `top`: Dropdown appears above the trigger
116
- * - `bottom`: Dropdown appears below the trigger
117
- * - `left`: Dropdown appears to the left of the trigger
118
- * - `right`: Dropdown appears to the right of the trigger
119
- */
120
- placement?: 'top' | 'bottom' | 'left' | 'right';
121
- /**
122
- * Numeric offset in pixels from the placement position.
123
- * Positive values move the dropdown further away from the trigger.
124
- */
125
- placementOffset?: number;
126
- /**
127
- * When true, displays a visual arrow pointing from the dropdown to the trigger.
128
- * Helps users understand the relationship between trigger and dropdown content.
129
- */
130
- hasArrow?: boolean;
131
- /**
132
- * Controls whether the dropdown is currently open and visible.
133
- * Use this for controlled dropdown behavior where you manage open state externally.
134
- */
135
- isOpen?: boolean;
136
- /**
137
- * Callback function triggered when the dropdown open state changes.
138
- * Receives the new open state as a boolean parameter. Use this to sync with external state.
139
- */
140
- onOpenChange?: (isOpen: boolean) => void;
141
- /**
142
- * When true, automatically focuses the trigger button when the dropdown closes.
143
- * Improves keyboard navigation and accessibility by returning focus to the trigger.
144
- */
145
- setFocusOnTriggerOnClose?: boolean;
146
- /**
147
- * When true, automatically closes the dropdown when any content inside it is clicked.
148
- * Useful for action dropdowns where selecting an option should close the dropdown.
149
- */
150
- isCloseOnContentClick?: boolean;
151
- /**
152
- * When true, traps keyboard focus within the dropdown when it's open.
153
- * Prevents users from tabbing outside the dropdown, improving accessibility.
154
- */
155
- keepFocusInsideDropdown?: boolean;
156
- /**
157
- * Predefined variant that determines the dropdown's styling and behavior:
158
- * - `create-workbench`: For workbench creation actions
159
- * - `view-workbench`: For workbench viewing and management actions
160
- * - `insert-seeq-content`: For inserting Seeq-specific content and objects
161
- * Each variant has specific styling and may filter available actions.
162
- */
163
- variant: 'create-workbench' | 'view-workbench' | 'insert-seeq-content';
67
+ interface SeeqActionDropdownProps extends TooltipComponentProps {
68
+ /**
69
+ * Array of action items to display in the dropdown menu.
70
+ * Each item represents a specific action users can perform, with icons and descriptions.
71
+ */
72
+ seeqActionDropdownItems: SeeqActionDropdownItems[];
73
+ /**
74
+ * React element to use as the clickable trigger for the dropdown.
75
+ * Typically a button, icon, or text element that users click to open the action menu.
76
+ */
77
+ trigger: React.ReactNode;
78
+ /**
79
+ * HTML ID attribute for the dropdown trigger element.
80
+ * Should be unique across the page for proper HTML semantics and accessibility.
81
+ */
82
+ id?: string;
83
+ /**
84
+ * Additional CSS classes to apply to the dropdown container.
85
+ * Use this to customize the dropdown's appearance beyond default Seeq styling.
86
+ */
87
+ extraClassNames?: string;
88
+ /**
89
+ * Test ID attribute for the dropdown container element used in automated testing.
90
+ * Applied to the main container that wraps both trigger and dropdown content.
91
+ */
92
+ containerTestId?: string;
93
+ /**
94
+ * When true, disables the dropdown trigger preventing user interaction.
95
+ * Disabled triggers appear visually dimmed and don't open the dropdown when clicked.
96
+ */
97
+ disabled?: boolean;
98
+ /**
99
+ * Callback function triggered when the trigger is clicked.
100
+ * Primarily used for tracking or analytics purposes. Note: this doesn't control
101
+ * dropdown opening, which is handled separately.
102
+ */
103
+ onClick?: (e: MouseEvent) => void;
104
+ /**
105
+ * Horizontal alignment of the dropdown content relative to the trigger:
106
+ * - `start`: Aligns to the left edge of the trigger
107
+ * - `center`: Centers the dropdown on the trigger
108
+ * - `end`: Aligns to the right edge of the trigger
109
+ */
110
+ align?: 'start' | 'center' | 'end';
111
+ /**
112
+ * Numeric offset in pixels from the aligned position.
113
+ * Positive values move the dropdown further from the trigger in the align direction.
114
+ */
115
+ alignOffset?: number;
116
+ /**
117
+ * Position of the dropdown relative to the trigger element:
118
+ * - `top`: Dropdown appears above the trigger
119
+ * - `bottom`: Dropdown appears below the trigger
120
+ * - `left`: Dropdown appears to the left of the trigger
121
+ * - `right`: Dropdown appears to the right of the trigger
122
+ */
123
+ placement?: 'top' | 'bottom' | 'left' | 'right';
124
+ /**
125
+ * Numeric offset in pixels from the placement position.
126
+ * Positive values move the dropdown further away from the trigger.
127
+ */
128
+ placementOffset?: number;
129
+ /**
130
+ * When true, displays a visual arrow pointing from the dropdown to the trigger.
131
+ * Helps users understand the relationship between trigger and dropdown content.
132
+ */
133
+ hasArrow?: boolean;
134
+ /**
135
+ * Controls whether the dropdown is currently open and visible.
136
+ * Use this for controlled dropdown behavior where you manage open state externally.
137
+ */
138
+ isOpen?: boolean;
139
+ /**
140
+ * Callback function triggered when the dropdown open state changes.
141
+ * Receives the new open state as a boolean parameter. Use this to sync with external state.
142
+ */
143
+ onOpenChange?: (isOpen: boolean) => void;
144
+ /**
145
+ * When true, automatically focuses the trigger button when the dropdown closes.
146
+ * Improves keyboard navigation and accessibility by returning focus to the trigger.
147
+ */
148
+ setFocusOnTriggerOnClose?: boolean;
149
+ /**
150
+ * When true, automatically closes the dropdown when any content inside it is clicked.
151
+ * Useful for action dropdowns where selecting an option should close the dropdown.
152
+ */
153
+ isCloseOnContentClick?: boolean;
154
+ /**
155
+ * When true, traps keyboard focus within the dropdown when it's open.
156
+ * Prevents users from tabbing outside the dropdown, improving accessibility.
157
+ */
158
+ keepFocusInsideDropdown?: boolean;
159
+ /**
160
+ * Predefined variant that determines the dropdown's styling and behavior:
161
+ * - `create-workbench`: For workbench creation actions
162
+ * - `view-workbench`: For workbench viewing and management actions
163
+ * - `insert-seeq-content`: For inserting Seeq-specific content and objects
164
+ * Each variant has specific styling and may filter available actions.
165
+ */
166
+ variant: 'create-workbench' | 'view-workbench' | 'insert-seeq-content';
164
167
  }
168
+ //#endregion
169
+ export { SeeqActionDropdownItems, SeeqActionDropdownProps };
@@ -1 +1,2 @@
1
- export { default } from './SeeqActionDropdown';
1
+ import SeeqActionDropdown from "./SeeqActionDropdown.js";
2
+ export { SeeqActionDropdown as default };
@@ -1,5 +1,9 @@
1
- import React from 'react';
2
- import { SeeqActionDropdownItems } from './SeeqActionDropdown.types';
3
- export declare const SeeqActionDropdownItem: React.FC<SeeqActionDropdownItems>;
4
- export declare const ViewWorkbench: React.FC<SeeqActionDropdownItems>;
5
- export declare const InsertSeeqContent: React.FC<SeeqActionDropdownItems>;
1
+ import { SeeqActionDropdownItems } from "./SeeqActionDropdown.types.js";
2
+ import React from "react";
3
+
4
+ //#region src/SeeqActionDropdown/variants.d.ts
5
+ declare const SeeqActionDropdownItem: React.FC<SeeqActionDropdownItems>;
6
+ declare const ViewWorkbench: React.FC<SeeqActionDropdownItems>;
7
+ declare const InsertSeeqContent: React.FC<SeeqActionDropdownItems>;
8
+ //#endregion
9
+ export { InsertSeeqContent, SeeqActionDropdownItem, ViewWorkbench };
@@ -1,8 +1,10 @@
1
- import React from 'react';
2
- import { SelectProps } from './Select.types';
3
- import { MultiValue as MV, SingleValue as SV } from 'react-select';
4
- export type MultiValue<T> = MV<T>;
5
- export type SingleValue<T> = SV<T>;
1
+ import { SelectProps } from "./Select.types.js";
2
+ import React from "react";
3
+ import { MultiValue as MultiValue$1, SingleValue as SingleValue$1 } from "react-select";
4
+
5
+ //#region src/Select/Select.d.ts
6
+ type MultiValue<T> = MultiValue$1<T>;
7
+ type SingleValue<T> = SingleValue$1<T>;
6
8
  /**
7
9
  * Select Component
8
10
  * - based on react-select (https://react-select.com/)
@@ -11,4 +13,5 @@ export type SingleValue<T> = SV<T>;
11
13
  *
12
14
  */
13
15
  declare const Select: React.FunctionComponent<SelectProps>;
14
- export default Select;
16
+ //#endregion
17
+ export { MultiValue, SingleValue, Select as default };