@seeqdev/qomponents 0.0.224 → 0.0.229
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +37 -37
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +31 -31
- package/dist/index.js.map +1 -1
- package/dist/src/Accordion/Accordion.d.ts +10 -2
- package/dist/src/Accordion/Accordion.types.d.ts +4 -4
- package/dist/src/Alert/Alert.d.ts +12 -3
- package/dist/src/Alert/Alert.types.d.ts +2 -2
- package/dist/src/Badge/Badge.d.ts +2 -2
- package/dist/src/Button/Button.d.ts +26 -1
- package/dist/src/Button/Button.types.d.ts +2 -2
- package/dist/src/ButtonGroup/ButtonGroup.d.ts +2 -3
- package/dist/src/ButtonGroup/ButtonGroup.types.d.ts +6 -6
- package/dist/src/ButtonWithDropdown/ButtonWithDropdown.d.ts +19 -3
- package/dist/src/ButtonWithDropdown/ButtonWithDropdown.types.d.ts +6 -6
- package/dist/src/ButtonWithPopover/ButtonWithPopover.d.ts +26 -2
- package/dist/src/ButtonWithPopover/ButtonWithPopover.types.d.ts +2 -2
- package/dist/src/Carousel/Carousel.d.ts +16 -2
- package/dist/src/Carousel/Carousel.types.d.ts +2 -2
- package/dist/src/Checkbox/Checkbox.d.ts +2 -3
- package/dist/src/Checkbox/Checkbox.types.d.ts +2 -2
- package/dist/src/Collapse/Collapse.d.ts +5 -2
- package/dist/src/Collapse/Collapse.types.d.ts +2 -2
- package/dist/src/ColorPickerControl/ColorPickerControl.d.ts +2 -2
- package/dist/src/ColorPickerControl/ColorPickerControl.types.d.ts +2 -2
- package/dist/src/ColorSwatch/ColorSwatch.d.ts +2 -2
- package/dist/src/ColorSwatch/ColorSwatch.types.d.ts +2 -2
- package/dist/src/EditorPanel/EditorPanel.d.ts +14 -2
- package/dist/src/EditorPanel/EditorPanel.types.d.ts +2 -2
- package/dist/src/ExternalLink/ExternalLink.d.ts +17 -0
- package/dist/src/ExternalLink/ExternalLink.types.d.ts +28 -0
- package/dist/src/ExternalLink/index.d.ts +2 -0
- package/dist/src/Icon/Icon.d.ts +17 -2
- package/dist/src/Icon/Icon.types.d.ts +3 -3
- package/dist/src/InputGroup/InputGroup.d.ts +2 -3
- package/dist/src/InputGroup/InputGroup.types.d.ts +6 -6
- package/dist/src/LoadingIndicator/LoadingIndicator.d.ts +2 -2
- package/dist/src/Modal/Modal.d.ts +44 -3
- package/dist/src/Modal/Modal.types.d.ts +5 -5
- package/dist/src/ProgressBar/ProgressBar.d.ts +7 -2
- package/dist/src/ProgressBar/ProgressBar.types.d.ts +4 -4
- package/dist/src/SeeqActionDropdown/SeeqActionDropdown.d.ts +20 -2
- package/dist/src/SeeqActionDropdown/SeeqActionDropdown.types.d.ts +4 -4
- package/dist/src/SeeqActionDropdown/variants.d.ts +4 -4
- package/dist/src/SegmentedControl/SegmentedControl.d.ts +2 -2
- package/dist/src/SegmentedControl/SegmentedControl.types.d.ts +4 -4
- package/dist/src/Select/Select.d.ts +40 -2
- package/dist/src/Select/Select.types.d.ts +4 -4
- package/dist/src/Slider/Slider.d.ts +17 -4
- package/dist/src/Slider/Slider.types.d.ts +2 -2
- package/dist/src/SvgIcon/SvgIcon.d.ts +13 -2
- package/dist/src/SvgIcon/SvgIcon.types.d.ts +3 -3
- package/dist/src/Tabs/Tabs.d.ts +11 -2
- package/dist/src/Tabs/Tabs.types.d.ts +2 -2
- package/dist/src/TextArea/TextArea.d.ts +2 -3
- package/dist/src/TextArea/TextArea.types.d.ts +2 -2
- package/dist/src/TextField/TextField.d.ts +34 -4
- package/dist/src/TextField/TextField.types.d.ts +8 -7
- package/dist/src/ToolbarButton/ToolbarButton.d.ts +27 -2
- package/dist/src/ToolbarButton/ToolbarButton.types.d.ts +7 -2
- package/dist/src/Tooltip/QTip.types.d.ts +2 -2
- package/dist/src/Tooltip/Qtip.d.ts +2 -2
- package/dist/src/Tooltip/Tooltip.d.ts +7 -2
- package/dist/src/Tooltip/Tooltip.types.d.ts +4 -4
- package/dist/src/TriggerWithDropdown/TriggerWithDropdown.d.ts +2 -2
- package/dist/src/TriggerWithDropdown/TriggerWithDropdown.types.d.ts +2 -2
- package/dist/src/index.build.d.ts +26 -24
- package/dist/src/index.d.ts +26 -24
- package/dist/src/types.d.ts +5 -4
- package/dist/styles.css +40 -8
- package/package.json +5 -3
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { AccordionProps } from "./Accordion.types.js";
|
|
2
|
-
import
|
|
2
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/Accordion/Accordion.d.ts
|
|
5
|
-
declare const Accordion:
|
|
5
|
+
declare const Accordion: ({
|
|
6
|
+
accordionItems,
|
|
7
|
+
defaultValue,
|
|
8
|
+
value,
|
|
9
|
+
onItemSelect,
|
|
10
|
+
disabled,
|
|
11
|
+
extraClassNames,
|
|
12
|
+
testId
|
|
13
|
+
}: AccordionProps) => react_jsx_runtime30.JSX.Element;
|
|
6
14
|
//#endregion
|
|
7
15
|
export { Accordion as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/Accordion/Accordion.types.d.ts
|
|
4
|
-
|
|
4
|
+
type AccordionProps = {
|
|
5
5
|
/**
|
|
6
6
|
* Additional CSS classes to apply to the accordion container.
|
|
7
7
|
* Use this to customize the styling of the entire accordion component.
|
|
@@ -40,8 +40,8 @@ interface AccordionProps {
|
|
|
40
40
|
* Use this to handle accordion state changes and update the `value` prop accordingly.
|
|
41
41
|
*/
|
|
42
42
|
onItemSelect: (key: string) => void;
|
|
43
|
-
}
|
|
44
|
-
|
|
43
|
+
};
|
|
44
|
+
type AccordionItem = {
|
|
45
45
|
/**
|
|
46
46
|
* Unique identifier for the accordion item.
|
|
47
47
|
* This value is used to determine which item is currently expanded and
|
|
@@ -84,6 +84,6 @@ interface AccordionItem {
|
|
|
84
84
|
* Does not affect the trigger/header styling.
|
|
85
85
|
*/
|
|
86
86
|
contentClassNames?: string;
|
|
87
|
-
}
|
|
87
|
+
};
|
|
88
88
|
//#endregion
|
|
89
89
|
export { AccordionProps };
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { AlertProps } from "./Alert.types.js";
|
|
2
|
-
import
|
|
2
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/Alert/Alert.d.ts
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Alert.
|
|
8
7
|
*/
|
|
9
|
-
declare const Alert:
|
|
8
|
+
declare const Alert: ({
|
|
9
|
+
children,
|
|
10
|
+
dismissible,
|
|
11
|
+
onClose,
|
|
12
|
+
show,
|
|
13
|
+
variant,
|
|
14
|
+
testId,
|
|
15
|
+
id,
|
|
16
|
+
extraClassNames,
|
|
17
|
+
...tooltipProps
|
|
18
|
+
}: AlertProps) => react_jsx_runtime31.JSX.Element;
|
|
10
19
|
//#endregion
|
|
11
20
|
export { Alert };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TooltipComponentProps } from "../Tooltip/Tooltip.types.js";
|
|
2
2
|
|
|
3
3
|
//#region src/Alert/Alert.types.d.ts
|
|
4
|
-
|
|
4
|
+
type Props = {
|
|
5
5
|
/**
|
|
6
6
|
* The content to be displayed inside the alert message.
|
|
7
7
|
* Can include text, icons, buttons, or any other React elements.
|
|
@@ -54,7 +54,7 @@ interface Props {
|
|
|
54
54
|
* Classes are combined with the component's default styling.
|
|
55
55
|
*/
|
|
56
56
|
extraClassNames?: string;
|
|
57
|
-
}
|
|
57
|
+
};
|
|
58
58
|
/**
|
|
59
59
|
* Combined props for the Alert component.
|
|
60
60
|
* Includes all Alert-specific properties plus tooltip functionality
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BadgeProps } from "./Badge.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/Badge/Badge.d.ts
|
|
5
5
|
/**
|
|
@@ -10,6 +10,6 @@ declare const Badge: ({
|
|
|
10
10
|
variant,
|
|
11
11
|
testId,
|
|
12
12
|
extraClassNames
|
|
13
|
-
}: BadgeProps) =>
|
|
13
|
+
}: BadgeProps) => react_jsx_runtime28.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Badge, Badge as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ButtonProps } from "./Button.types.js";
|
|
2
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
2
3
|
import React from "react";
|
|
3
4
|
|
|
4
5
|
//#region src/Button/Button.d.ts
|
|
@@ -8,6 +9,30 @@ type ButtonComponentProps = ButtonProps & React.RefAttributes<HTMLButtonElement>
|
|
|
8
9
|
* - use "variant" to achieve the desired style
|
|
9
10
|
* - include tooltips and/or icons
|
|
10
11
|
*/
|
|
11
|
-
declare const Button:
|
|
12
|
+
declare const Button: ({
|
|
13
|
+
onClick,
|
|
14
|
+
label,
|
|
15
|
+
variant,
|
|
16
|
+
type,
|
|
17
|
+
size,
|
|
18
|
+
disabled,
|
|
19
|
+
inProgress,
|
|
20
|
+
extraClassNames,
|
|
21
|
+
id,
|
|
22
|
+
testId,
|
|
23
|
+
stopPropagation,
|
|
24
|
+
tooltip,
|
|
25
|
+
tooltipOptions,
|
|
26
|
+
iconStyle,
|
|
27
|
+
icon,
|
|
28
|
+
iconColor,
|
|
29
|
+
iconPosition,
|
|
30
|
+
iconPrefix,
|
|
31
|
+
preventBlur,
|
|
32
|
+
isHtmlTooltip,
|
|
33
|
+
tooltipTestId,
|
|
34
|
+
ref,
|
|
35
|
+
...rest
|
|
36
|
+
}: ButtonComponentProps) => react_jsx_runtime29.JSX.Element;
|
|
12
37
|
//#endregion
|
|
13
38
|
export { Button as default };
|
|
@@ -11,7 +11,7 @@ type ButtonType = (typeof buttonTypes)[number];
|
|
|
11
11
|
type ButtonSize = (typeof buttonSizes)[number];
|
|
12
12
|
type ButtonVariant = (typeof buttonVariants)[number];
|
|
13
13
|
type IconPosition = (typeof iconPositions)[number];
|
|
14
|
-
|
|
14
|
+
type ButtonProps = {
|
|
15
15
|
/**
|
|
16
16
|
* Callback function triggered when the button is clicked.
|
|
17
17
|
* Receives the mouse event as a parameter for additional event handling.
|
|
@@ -152,6 +152,6 @@ interface ButtonProps {
|
|
|
152
152
|
* @default false
|
|
153
153
|
*/
|
|
154
154
|
preventBlur?: boolean;
|
|
155
|
-
}
|
|
155
|
+
};
|
|
156
156
|
//#endregion
|
|
157
157
|
export { ButtonProps, ButtonSize, ButtonType, ButtonVariant, IconPosition, buttonSizes, buttonTypes, buttonVariants, iconPositions };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { ButtonGroupProps } from "./ButtonGroup.types.js";
|
|
2
|
-
import
|
|
2
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/ButtonGroup/ButtonGroup.d.ts
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* ButtonGroup.
|
|
8
7
|
*/
|
|
9
|
-
declare const ButtonGroup:
|
|
8
|
+
declare const ButtonGroup: (props: ButtonGroupProps) => react_jsx_runtime24.JSX.Element;
|
|
10
9
|
//#endregion
|
|
11
10
|
export { ButtonGroup };
|
|
@@ -7,7 +7,7 @@ import { ButtonProps } from "../Button/Button.types.js";
|
|
|
7
7
|
* Interface representing the properties for a button within a ButtonGroup.
|
|
8
8
|
* Used when you want to include an interactive button as part of the group.
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
type AppendedButtonProps = {
|
|
11
11
|
/**
|
|
12
12
|
* Specifies that this group item is a clickable button.
|
|
13
13
|
* Button items can be selected, have active states, and trigger onChange events.
|
|
@@ -24,12 +24,12 @@ interface AppendedButtonProps {
|
|
|
24
24
|
/** Whether this button is currently in the active/selected state */
|
|
25
25
|
isActive?: boolean;
|
|
26
26
|
};
|
|
27
|
-
}
|
|
27
|
+
};
|
|
28
28
|
/**
|
|
29
29
|
* Interface for including custom React elements within a ButtonGroup.
|
|
30
30
|
* Used when you need to add non-button content like separators, labels, or custom components.
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
type ElementProps = {
|
|
33
33
|
/**
|
|
34
34
|
* Specifies that this group item is a custom React element.
|
|
35
35
|
* Element items are purely presentational and don't participate in selection logic.
|
|
@@ -45,13 +45,13 @@ interface ElementProps {
|
|
|
45
45
|
* Use this to style the element consistently with the button group's appearance.
|
|
46
46
|
*/
|
|
47
47
|
extraClassNames?: string;
|
|
48
|
-
}
|
|
48
|
+
};
|
|
49
49
|
type Props = AppendedButtonProps | ElementProps | undefined;
|
|
50
50
|
/**
|
|
51
51
|
* Props for the ButtonGroup component that creates a cohesive group of related buttons.
|
|
52
52
|
* Extends TooltipComponentProps to support tooltip functionality on the entire group.
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
type ButtonGroupProps = {
|
|
55
55
|
/**
|
|
56
56
|
* Array of items to display in the button group.
|
|
57
57
|
* Each item can be either a button (for interactive elements) or an element (for decorative content).
|
|
@@ -79,6 +79,6 @@ interface ButtonGroupProps extends TooltipComponentProps {
|
|
|
79
79
|
* Applied to the group's root element for test targeting and interaction.
|
|
80
80
|
*/
|
|
81
81
|
testId?: string;
|
|
82
|
-
}
|
|
82
|
+
} & TooltipComponentProps;
|
|
83
83
|
//#endregion
|
|
84
84
|
export { ButtonGroupProps };
|
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
import { ButtonWithDropdownProps } from "./ButtonWithDropdown.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/ButtonWithDropdown/ButtonWithDropdown.d.ts
|
|
5
|
-
declare const ButtonWithDropdown:
|
|
6
|
-
declare const Dropdown:
|
|
5
|
+
declare const ButtonWithDropdown: (props: ButtonWithDropdownProps) => react_jsx_runtime26.JSX.Element;
|
|
6
|
+
declare const Dropdown: ({
|
|
7
|
+
dropdownItems,
|
|
8
|
+
id,
|
|
9
|
+
children,
|
|
10
|
+
contentExtraClassNames,
|
|
11
|
+
containerTestId,
|
|
12
|
+
align,
|
|
13
|
+
placement,
|
|
14
|
+
placementOffset,
|
|
15
|
+
alignOffset,
|
|
16
|
+
hasArrow,
|
|
17
|
+
onOpenChange,
|
|
18
|
+
isOpen,
|
|
19
|
+
setFocusOnTriggerOnClose,
|
|
20
|
+
keepFocusInsideDropdown,
|
|
21
|
+
onContainerClick
|
|
22
|
+
}: ButtonWithDropdownProps) => react_jsx_runtime26.JSX.Element;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { Dropdown, ButtonWithDropdown as default };
|
|
@@ -7,7 +7,7 @@ import { ButtonProps } from "../Button/Button.types.js";
|
|
|
7
7
|
* Interface for sub-menu items that appear in nested dropdown menus.
|
|
8
8
|
* Used to create hierarchical menu structures within dropdown items.
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
type DropdownSubItem = {
|
|
11
11
|
/**
|
|
12
12
|
* Icon class name to display next to the sub-item label.
|
|
13
13
|
* Typically uses FontAwesome classes (e.g., 'fc-zoom', 'fc-delete').
|
|
@@ -34,12 +34,12 @@ interface DropdownSubItem {
|
|
|
34
34
|
* Provides additional context or information about the sub-item's action.
|
|
35
35
|
*/
|
|
36
36
|
tooltip?: string;
|
|
37
|
-
}
|
|
37
|
+
};
|
|
38
38
|
/**
|
|
39
39
|
* Interface for main dropdown menu items that can contain sub-menus.
|
|
40
40
|
* Extends TooltipComponentProps for enhanced tooltip functionality.
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
type DropdownItems = {
|
|
43
43
|
/**
|
|
44
44
|
* HTML ID attribute for the dropdown item element.
|
|
45
45
|
* Should be unique for proper HTML semantics and accessibility.
|
|
@@ -140,7 +140,7 @@ interface DropdownItems extends TooltipComponentProps {
|
|
|
140
140
|
* Creates hierarchical dropdown menus for organizing related actions.
|
|
141
141
|
*/
|
|
142
142
|
subMenuItems?: DropdownSubItem[];
|
|
143
|
-
}
|
|
143
|
+
} & TooltipComponentProps;
|
|
144
144
|
/**
|
|
145
145
|
* Props for the ButtonWithDropdown component that creates a Qomponents-styled Button
|
|
146
146
|
* with an attached dropdown menu.
|
|
@@ -152,7 +152,7 @@ interface DropdownItems extends TooltipComponentProps {
|
|
|
152
152
|
* Uses the asChild prop on DropdownMenu.Trigger to avoid nesting <button> elements.
|
|
153
153
|
*/
|
|
154
154
|
type ButtonWithDropdownProps = TooltipComponentProps & ButtonProps & DropdownProps;
|
|
155
|
-
|
|
155
|
+
type DropdownProps = {
|
|
156
156
|
children?: React.ReactNode;
|
|
157
157
|
/**
|
|
158
158
|
* Array of items to display in the dropdown menu.
|
|
@@ -230,6 +230,6 @@ interface DropdownProps {
|
|
|
230
230
|
* Receives the click event. Use this for handling container-level interactions.
|
|
231
231
|
*/
|
|
232
232
|
onContainerClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
233
|
-
}
|
|
233
|
+
};
|
|
234
234
|
//#endregion
|
|
235
235
|
export { ButtonWithDropdownProps, DropdownItems, DropdownProps, DropdownSubItem };
|
|
@@ -1,7 +1,31 @@
|
|
|
1
1
|
import { ButtonWithPopoverProps } from "./ButtonWithPopover.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/ButtonWithPopover/ButtonWithPopover.d.ts
|
|
5
|
-
declare const ButtonWithPopover:
|
|
5
|
+
declare const ButtonWithPopover: ({
|
|
6
|
+
children,
|
|
7
|
+
trigger,
|
|
8
|
+
id,
|
|
9
|
+
hasArrow,
|
|
10
|
+
extraTriggerClassNames,
|
|
11
|
+
extraPopoverClassNames,
|
|
12
|
+
containerTestId,
|
|
13
|
+
onInteractOutside,
|
|
14
|
+
onPointerDownOutside,
|
|
15
|
+
isTriggerAsChild,
|
|
16
|
+
shouldTriggerFullWidth,
|
|
17
|
+
disabled,
|
|
18
|
+
align,
|
|
19
|
+
alignOffset,
|
|
20
|
+
placement,
|
|
21
|
+
placementOffset,
|
|
22
|
+
isHoverEnabled,
|
|
23
|
+
hoverOpenDelay,
|
|
24
|
+
onOpenChange,
|
|
25
|
+
isOpen,
|
|
26
|
+
isCloseOnContentClick,
|
|
27
|
+
isPortal,
|
|
28
|
+
...tooltipProps
|
|
29
|
+
}: ButtonWithPopoverProps) => react_jsx_runtime25.JSX.Element;
|
|
6
30
|
//#endregion
|
|
7
31
|
export { ButtonWithPopover as default };
|
|
@@ -7,7 +7,7 @@ import React from "react";
|
|
|
7
7
|
* Props for the ButtonWithPopover component that creates a button with an attached popover.
|
|
8
8
|
* Extends TooltipComponentProps to support tooltip functionality on the trigger button.
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
type ButtonWithPopoverProps = {
|
|
11
11
|
/**
|
|
12
12
|
* React element to use as the clickable trigger for the popover.
|
|
13
13
|
* Can be an icon, text, button, or any interactive element that users click to open the popover.
|
|
@@ -134,6 +134,6 @@ interface ButtonWithPopoverProps extends TooltipComponentProps {
|
|
|
134
134
|
* z-index issues and ensure the popover appears above other content.
|
|
135
135
|
*/
|
|
136
136
|
isPortal?: boolean;
|
|
137
|
-
}
|
|
137
|
+
} & TooltipComponentProps;
|
|
138
138
|
//#endregion
|
|
139
139
|
export { ButtonWithPopoverProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CarouselProps } from "./Carousel.types.js";
|
|
2
|
-
import
|
|
2
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/Carousel/Carousel.d.ts
|
|
5
5
|
|
|
@@ -8,6 +8,20 @@ import React from "react";
|
|
|
8
8
|
* - Easily create a carousel with custom slides.
|
|
9
9
|
* - Supports automatic sliding, navigation arrows, and slide indicators.
|
|
10
10
|
*/
|
|
11
|
-
declare const Carousel:
|
|
11
|
+
declare const Carousel: ({
|
|
12
|
+
testId,
|
|
13
|
+
activeIndex,
|
|
14
|
+
extraClassNames,
|
|
15
|
+
onSlide,
|
|
16
|
+
autoSlide,
|
|
17
|
+
showIndicators,
|
|
18
|
+
continuous,
|
|
19
|
+
interval,
|
|
20
|
+
prevIcon,
|
|
21
|
+
nextIcon,
|
|
22
|
+
showArrows,
|
|
23
|
+
iconExtraClassNames,
|
|
24
|
+
carouselItems
|
|
25
|
+
}: CarouselProps) => react_jsx_runtime20.JSX.Element;
|
|
12
26
|
//#endregion
|
|
13
27
|
export { Carousel as default };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Properties for the Carousel component that creates a sliding content viewer.
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
type CarouselProps = {
|
|
6
6
|
/**
|
|
7
7
|
* Test ID attribute for the carousel container used in automated testing.
|
|
8
8
|
* Applied to the main carousel element for test targeting and interaction.
|
|
@@ -83,6 +83,6 @@ interface CarouselProps {
|
|
|
83
83
|
* images, text, cards, or complex components. The order determines slide sequence.
|
|
84
84
|
*/
|
|
85
85
|
carouselItems: React.ReactNode[];
|
|
86
|
-
}
|
|
86
|
+
};
|
|
87
87
|
//#endregion
|
|
88
88
|
export { CarouselProps };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { CheckboxProps } from "./Checkbox.types.js";
|
|
2
|
-
import
|
|
2
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/Checkbox/Checkbox.d.ts
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Checkbox and Radio Box Component.
|
|
8
7
|
*/
|
|
9
|
-
declare const Checkbox:
|
|
8
|
+
declare const Checkbox: (props: CheckboxProps) => react_jsx_runtime22.JSX.Element;
|
|
10
9
|
//#endregion
|
|
11
10
|
export { Checkbox };
|
|
@@ -2,7 +2,7 @@ import { TooltipComponentProps } from "../Tooltip/Tooltip.types.js";
|
|
|
2
2
|
|
|
3
3
|
//#region src/Checkbox/Checkbox.types.d.ts
|
|
4
4
|
type FormControlElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
|
|
5
|
-
|
|
5
|
+
type CheckboxProps = {
|
|
6
6
|
/**
|
|
7
7
|
* Additional CSS classes to apply to the checkbox container.
|
|
8
8
|
* These classes are combined with the component's built-in styling.
|
|
@@ -89,6 +89,6 @@ interface CheckboxProps extends TooltipComponentProps {
|
|
|
89
89
|
* Helps identify this specific checkbox/radio button in tests.
|
|
90
90
|
*/
|
|
91
91
|
testId?: string;
|
|
92
|
-
}
|
|
92
|
+
} & TooltipComponentProps;
|
|
93
93
|
//#endregion
|
|
94
94
|
export { CheckboxProps };
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { CollapseProps } from "./Collapse.types.js";
|
|
2
|
-
import
|
|
2
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/Collapse/Collapse.d.ts
|
|
5
|
-
declare const Collapse:
|
|
5
|
+
declare const Collapse: ({
|
|
6
|
+
isVisible,
|
|
7
|
+
children
|
|
8
|
+
}: CollapseProps) => react_jsx_runtime18.JSX.Element;
|
|
6
9
|
//#endregion
|
|
7
10
|
export { Collapse as default };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Props for the Collapse component that creates smooth expand/collapse animations.
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
type CollapseProps = {
|
|
6
6
|
/**
|
|
7
7
|
* Controls whether the collapse content is visible and expanded.
|
|
8
8
|
* When true, the content smoothly expands to full height.
|
|
@@ -16,6 +16,6 @@ interface CollapseProps {
|
|
|
16
16
|
* The content will be measured and animated when expanding or collapsing.
|
|
17
17
|
*/
|
|
18
18
|
children: React.ReactNode;
|
|
19
|
-
}
|
|
19
|
+
};
|
|
20
20
|
//#endregion
|
|
21
21
|
export { CollapseProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ColorPickerControlProps } from "./ColorPickerControl.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/ColorPickerControl/ColorPickerControl.d.ts
|
|
5
5
|
declare function ColorPickerControl({
|
|
@@ -12,6 +12,6 @@ declare function ColorPickerControl({
|
|
|
12
12
|
id,
|
|
13
13
|
testId,
|
|
14
14
|
onOpen
|
|
15
|
-
}: ColorPickerControlProps):
|
|
15
|
+
}: ColorPickerControlProps): react_jsx_runtime17.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { ColorPickerControl as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/ColorPickerControl/ColorPickerControl.types.d.ts
|
|
4
|
-
|
|
4
|
+
type ColorPickerControlProps = {
|
|
5
5
|
/** The currently selected color, displayed as a square swatch inside the trigger button. */
|
|
6
6
|
color: string;
|
|
7
7
|
/** Label text rendered alongside the swatch trigger button. */
|
|
@@ -20,6 +20,6 @@ interface ColorPickerControlProps {
|
|
|
20
20
|
id?: string;
|
|
21
21
|
/** Test ID attribute applied to the popover container, used in automated testing. */
|
|
22
22
|
testId?: string;
|
|
23
|
-
}
|
|
23
|
+
};
|
|
24
24
|
//#endregion
|
|
25
25
|
export { ColorPickerControlProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ColorSwatchProps } from "./ColorSwatch.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react12 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/ColorSwatch/ColorSwatch.d.ts
|
|
5
|
-
declare const ColorSwatch:
|
|
5
|
+
declare const ColorSwatch: react12.ForwardRefExoticComponent<ColorSwatchProps & react12.RefAttributes<HTMLButtonElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ColorSwatch as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/ColorSwatch/ColorSwatch.types.d.ts
|
|
2
|
-
|
|
2
|
+
type ColorSwatchProps = {
|
|
3
3
|
/** The background color of the swatch button, as any valid CSS color string. */
|
|
4
4
|
'color': string;
|
|
5
5
|
/** Called when the swatch button is clicked. */
|
|
@@ -14,6 +14,6 @@ interface ColorSwatchProps {
|
|
|
14
14
|
'id'?: string;
|
|
15
15
|
/** Test ID attribute for the swatch button, used in automated testing. */
|
|
16
16
|
'testId'?: string;
|
|
17
|
-
}
|
|
17
|
+
};
|
|
18
18
|
//#endregion
|
|
19
19
|
export { ColorSwatchProps };
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import { EditorPanelProps } from "./EditorPanel.types.js";
|
|
2
|
-
import
|
|
2
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/EditorPanel/EditorPanel.d.ts
|
|
5
|
-
declare const EditorPanel:
|
|
5
|
+
declare const EditorPanel: ({
|
|
6
|
+
title,
|
|
7
|
+
children,
|
|
8
|
+
onApply,
|
|
9
|
+
onCancel,
|
|
10
|
+
isApplyDisabled,
|
|
11
|
+
applyLabel,
|
|
12
|
+
cancelLabel,
|
|
13
|
+
spacing,
|
|
14
|
+
extraClassNames,
|
|
15
|
+
id,
|
|
16
|
+
testId
|
|
17
|
+
}: EditorPanelProps) => react_jsx_runtime14.JSX.Element;
|
|
6
18
|
//#endregion
|
|
7
19
|
export { EditorPanel as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/EditorPanel/EditorPanel.types.d.ts
|
|
4
|
-
|
|
4
|
+
type EditorPanelProps = {
|
|
5
5
|
/** The title displayed as a kicker above the panel content. */
|
|
6
6
|
title: string;
|
|
7
7
|
/** Content rendered inside the panel body between the title and action buttons. */
|
|
@@ -24,6 +24,6 @@ interface EditorPanelProps {
|
|
|
24
24
|
id?: string;
|
|
25
25
|
/** Test ID attribute for the panel container element, used in automated testing. */
|
|
26
26
|
testId?: string;
|
|
27
|
-
}
|
|
27
|
+
};
|
|
28
28
|
//#endregion
|
|
29
29
|
export { EditorPanelProps };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ExternalLinkProps } from "./ExternalLink.types.js";
|
|
2
|
+
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/ExternalLink/ExternalLink.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Renders an external anchor (`target="_blank"`, `rel="noopener"`) with optional leading label on the same line.
|
|
7
|
+
*/
|
|
8
|
+
declare const ExternalLink: ({
|
|
9
|
+
variant,
|
|
10
|
+
label,
|
|
11
|
+
href,
|
|
12
|
+
children,
|
|
13
|
+
extraClassNames,
|
|
14
|
+
testId
|
|
15
|
+
}: ExternalLinkProps) => react_jsx_runtime15.JSX.Element;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { ExternalLink, ExternalLink as default };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/ExternalLink/ExternalLink.types.d.ts
|
|
4
|
+
/** Product theme wrapper classes (for layouts/stories that set context on an ancestor). */
|
|
5
|
+
declare const externalLinkThemeClasses: readonly ["color_topic", "color_analysis", "color_datalab", "color_vantage", "color_insights"];
|
|
6
|
+
type ExternalLinkThemeClass = (typeof externalLinkThemeClasses)[number];
|
|
7
|
+
type ExternalLinkVariant = 'link' | 'icon';
|
|
8
|
+
type ExternalLinkProps = {
|
|
9
|
+
/**
|
|
10
|
+
* `link` (default): theme link color and underline for text links.
|
|
11
|
+
* `icon`: minimal anchor styling for icon-only help links; appearance comes from children.
|
|
12
|
+
*/
|
|
13
|
+
variant?: ExternalLinkVariant;
|
|
14
|
+
/**
|
|
15
|
+
* Optional content before the anchor, shown on the same line as the link (with spacing via flex gap).
|
|
16
|
+
*/
|
|
17
|
+
label?: ReactNode;
|
|
18
|
+
/** Destination URL opened in a new tab. */
|
|
19
|
+
href: string;
|
|
20
|
+
/** Content rendered inside the anchor (text or elements). */
|
|
21
|
+
children: ReactNode;
|
|
22
|
+
/** Additional CSS classes on the anchor element. */
|
|
23
|
+
extraClassNames?: string;
|
|
24
|
+
/** Optional `data-testid` on the anchor. */
|
|
25
|
+
testId?: string;
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
export { ExternalLinkProps, ExternalLinkThemeClass, ExternalLinkVariant, externalLinkThemeClasses };
|
package/dist/src/Icon/Icon.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IconProps } from "./Icon.types.js";
|
|
2
|
-
import
|
|
2
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/Icon/Icon.d.ts
|
|
5
5
|
|
|
@@ -8,6 +8,21 @@ import React from "react";
|
|
|
8
8
|
* - access to Seeq custom icons by providing the desired icon
|
|
9
9
|
* - leverage "type" to style your icon
|
|
10
10
|
*/
|
|
11
|
-
declare const Icon:
|
|
11
|
+
declare const Icon: ({
|
|
12
|
+
onClick,
|
|
13
|
+
icon,
|
|
14
|
+
iconPrefix,
|
|
15
|
+
type,
|
|
16
|
+
extraClassNames,
|
|
17
|
+
id,
|
|
18
|
+
large,
|
|
19
|
+
small,
|
|
20
|
+
size,
|
|
21
|
+
color,
|
|
22
|
+
testId,
|
|
23
|
+
customId,
|
|
24
|
+
number,
|
|
25
|
+
...tooltipProps
|
|
26
|
+
}: IconProps) => react_jsx_runtime23.JSX.Element;
|
|
12
27
|
//#endregion
|
|
13
28
|
export { Icon as default };
|