@spaced-out/ui-design-system 0.5.11 → 0.5.12
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/CHANGELOG.md +17 -0
- package/lib/components/Accordion/Accordion.d.ts +1 -0
- package/lib/components/Accordion/Accordion.d.ts.map +1 -1
- package/lib/components/Accordion/Accordion.js +29 -4
- package/lib/components/Accordion/AccordionGroup.d.ts +2 -1
- package/lib/components/Accordion/AccordionGroup.d.ts.map +1 -1
- package/lib/components/Accordion/AccordionGroup.js +13 -2
- package/lib/components/Avatar/Avatar.d.ts +3 -1
- package/lib/components/Avatar/Avatar.d.ts.map +1 -1
- package/lib/components/Avatar/Avatar.js +58 -11
- package/lib/components/AvatarGroup/AvatarGroup.d.ts +1 -0
- package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +1 -1
- package/lib/components/AvatarGroup/AvatarGroup.js +27 -3
- package/lib/components/Badge/Badge.d.ts +1 -0
- package/lib/components/Badge/Badge.d.ts.map +1 -1
- package/lib/components/Badge/Badge.js +22 -5
- package/lib/components/BadgedIcon/BadgedIcon.d.ts +2 -1
- package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +1 -1
- package/lib/components/BadgedIcon/BadgedIcon.js +20 -4
- package/lib/components/Banner/Banner.d.ts +1 -0
- package/lib/components/Banner/Banner.d.ts.map +1 -1
- package/lib/components/Banner/Banner.js +2 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +1 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js +6 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +1 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.js +31 -11
- package/lib/components/Button/Button.d.ts +1 -0
- package/lib/components/Button/Button.d.ts.map +1 -1
- package/lib/components/Button/Button.js +50 -6
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +1 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +1 -1
- package/lib/components/ButtonDropdown/ButtonDropdown.js +22 -1
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +1 -0
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +1 -1
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +2 -0
- package/lib/components/ChatBubble/ChatBubble.d.ts +13 -6
- package/lib/components/ChatBubble/ChatBubble.d.ts.map +1 -1
- package/lib/components/ChatBubble/ChatBubble.js +57 -14
- package/lib/components/Checkbox/Checkbox.d.ts +1 -0
- package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/lib/components/Checkbox/Checkbox.js +34 -5
- package/lib/components/Checkbox/CheckboxGroup.d.ts +1 -0
- package/lib/components/Checkbox/CheckboxGroup.d.ts.map +1 -1
- package/lib/components/Checkbox/CheckboxGroup.js +21 -2
- package/lib/components/Chip/Chip.d.ts +1 -0
- package/lib/components/Chip/Chip.d.ts.map +1 -1
- package/lib/components/Chip/Chip.js +24 -3
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +5 -2
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +1 -1
- package/lib/components/CollapsibleCard/CollapsibleCard.js +46 -7
- package/lib/components/Dialog/Dialog.d.ts +10 -5
- package/lib/components/Dialog/Dialog.d.ts.map +1 -1
- package/lib/components/Dialog/Dialog.js +76 -11
- package/lib/components/Dropdown/Dropdown.d.ts +1 -0
- package/lib/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/lib/components/Dropdown/Dropdown.js +19 -2
- package/lib/components/Dropdown/SimpleDropdown.d.ts +1 -0
- package/lib/components/Dropdown/SimpleDropdown.d.ts.map +1 -1
- package/lib/components/Dropdown/SimpleDropdown.js +2 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +1 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +1 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.js +58 -10
- package/lib/components/FileUpload/FileUpload.d.ts +1 -0
- package/lib/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/lib/components/FileUpload/FileUpload.js +30 -4
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +2 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +1 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js +11 -1
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +1 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +1 -1
- package/lib/components/FormTitleWrapper/FormTitleWrapper.js +24 -3
- package/lib/components/Icon/ClickableIcon.d.ts +2 -0
- package/lib/components/Icon/ClickableIcon.d.ts.map +1 -1
- package/lib/components/Icon/ClickableIcon.js +13 -1
- package/lib/components/Icon/Icon.docs.d.ts +11 -0
- package/lib/components/Icon/Icon.docs.d.ts.map +1 -1
- package/lib/components/Icon/Icon.docs.js +11 -0
- package/lib/components/Icon/SemanticIcon.d.ts +2 -1
- package/lib/components/Icon/SemanticIcon.d.ts.map +1 -1
- package/lib/components/Icon/SemanticIcon.js +11 -1
- package/lib/components/InContextAlert/InContextAlert.d.ts +3 -1
- package/lib/components/InContextAlert/InContextAlert.d.ts.map +1 -1
- package/lib/components/InContextAlert/InContextAlert.js +58 -10
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts +1 -0
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts.map +1 -1
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.js +30 -3
- package/lib/components/KPIBox/KPIBox.d.ts +1 -0
- package/lib/components/KPIBox/KPIBox.d.ts.map +1 -1
- package/lib/components/KPIBox/KPIBox.js +27 -2
- package/lib/components/Link/Link.d.ts +1 -0
- package/lib/components/Link/Link.d.ts.map +1 -1
- package/lib/components/Link/Link.js +24 -2
- package/lib/components/Menu/Menu.d.ts +2 -0
- package/lib/components/Menu/Menu.d.ts.map +1 -1
- package/lib/components/Menu/Menu.js +64 -7
- package/lib/components/Menu/MenuOptionButton.d.ts +1 -0
- package/lib/components/Menu/MenuOptionButton.d.ts.map +1 -1
- package/lib/components/Menu/MenuOptionButton.js +84 -8
- package/lib/components/Modal/Modal.d.ts +9 -5
- package/lib/components/Modal/Modal.d.ts.map +1 -1
- package/lib/components/Modal/Modal.js +48 -5
- package/lib/components/Notification/Notification.d.ts +1 -0
- package/lib/components/Notification/Notification.d.ts.map +1 -1
- package/lib/components/Notification/Notification.js +24 -4
- package/lib/components/PageTitle/PageTitle.d.ts +7 -3
- package/lib/components/PageTitle/PageTitle.d.ts.map +1 -1
- package/lib/components/PageTitle/PageTitle.js +41 -4
- package/lib/components/Panel/Panel.d.ts +7 -3
- package/lib/components/Panel/Panel.d.ts.map +1 -1
- package/lib/components/Panel/Panel.js +34 -4
- package/lib/components/ProgressDonut/ProgressDonut.d.ts +1 -0
- package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +1 -1
- package/lib/components/ProgressDonut/ProgressDonut.js +11 -2
- package/lib/components/PromptChip/PromptChip.d.ts +1 -0
- package/lib/components/PromptChip/PromptChip.d.ts.map +1 -1
- package/lib/components/PromptChip/PromptChip.js +42 -5
- package/lib/components/PromptInput/PromptInput.d.ts +1 -0
- package/lib/components/PromptInput/PromptInput.d.ts.map +1 -1
- package/lib/components/PromptInput/PromptInput.js +24 -3
- package/lib/components/RadioButton/RadioButton.d.ts +1 -0
- package/lib/components/RadioButton/RadioButton.d.ts.map +1 -1
- package/lib/components/RadioButton/RadioButton.js +14 -0
- package/lib/components/RadioButton/RadioGroup.d.ts +1 -0
- package/lib/components/RadioButton/RadioGroup.d.ts.map +1 -1
- package/lib/components/RadioButton/RadioGroup.js +17 -2
- package/lib/components/RadioTile/RadioTile.d.ts +1 -0
- package/lib/components/RadioTile/RadioTile.d.ts.map +1 -1
- package/lib/components/RadioTile/RadioTile.js +31 -6
- package/lib/components/RangeSlider/RangeSlider.d.ts +1 -0
- package/lib/components/RangeSlider/RangeSlider.d.ts.map +1 -1
- package/lib/components/RangeSlider/RangeSlider.js +33 -4
- package/lib/components/Rating/Rating.d.ts +1 -0
- package/lib/components/Rating/Rating.d.ts.map +1 -1
- package/lib/components/Rating/Rating.js +22 -3
- package/lib/components/ScoreBar/ScoreBar.d.ts +1 -0
- package/lib/components/ScoreBar/ScoreBar.d.ts.map +1 -1
- package/lib/components/ScoreBar/ScoreBar.js +16 -2
- package/lib/components/SearchInput/SearchInput.d.ts +1 -0
- package/lib/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/lib/components/SearchInput/SearchInput.js +20 -2
- package/lib/components/SideMenuLink/SideMenuLink.d.ts +1 -0
- package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +1 -1
- package/lib/components/SideMenuLink/SideMenuLink.js +33 -3
- package/lib/components/Stepper/Step/Step.d.ts +1 -0
- package/lib/components/Stepper/Step/Step.d.ts.map +1 -1
- package/lib/components/Stepper/Step/Step.js +30 -4
- package/lib/components/Stepper/Step/StepContent.d.ts +2 -1
- package/lib/components/Stepper/Step/StepContent.d.ts.map +1 -1
- package/lib/components/Stepper/Step/StepContent.js +7 -1
- package/lib/components/Stepper/Step/StepLabel.d.ts +2 -1
- package/lib/components/Stepper/Step/StepLabel.d.ts.map +1 -1
- package/lib/components/Stepper/Step/StepLabel.js +7 -1
- package/lib/components/Stepper/Stepper.d.ts +1 -0
- package/lib/components/Stepper/Stepper.d.ts.map +1 -1
- package/lib/components/Stepper/Stepper.js +13 -2
- package/lib/components/SubMenu/SubMenu.d.ts +1 -0
- package/lib/components/SubMenu/SubMenu.d.ts.map +1 -1
- package/lib/components/SubMenu/SubMenu.js +21 -3
- package/lib/components/TextTile/TextTile.d.ts +1 -0
- package/lib/components/TextTile/TextTile.d.ts.map +1 -1
- package/lib/components/TextTile/TextTile.js +24 -3
- package/lib/components/Textarea/Textarea.d.ts +1 -0
- package/lib/components/Textarea/Textarea.d.ts.map +1 -1
- package/lib/components/Textarea/Textarea.js +38 -0
- package/lib/components/Timeline/Timeline.d.ts +1 -0
- package/lib/components/Timeline/Timeline.d.ts.map +1 -1
- package/lib/components/Timeline/Timeline.js +15 -4
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +2 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +1 -1
- package/lib/components/Timeline/TimelineItem/TimelineItem.js +46 -4
- package/lib/components/Toast/Toast.d.ts +6 -2
- package/lib/components/Toast/Toast.d.ts.map +1 -1
- package/lib/components/Toast/Toast.js +81 -14
- package/lib/components/Tooltip/Tooltip.d.ts +2 -1
- package/lib/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/lib/components/Tooltip/Tooltip.js +23 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +2 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +1 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +15 -1
- package/lib/components/Typeahead/SimpleTypeahead.d.ts +1 -0
- package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +1 -1
- package/lib/components/Typeahead/SimpleTypeahead.js +3 -1
- package/lib/components/Typeahead/Typeahead.d.ts +1 -0
- package/lib/components/Typeahead/Typeahead.d.ts.map +1 -1
- package/lib/components/Typeahead/Typeahead.js +19 -2
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +1 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +1 -1
- package/lib/components/WeekdayPicker/WeekdayPicker.js +16 -4
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Timeline = exports.ORIENTATION = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _classify = require("../../utils/classify");
|
|
9
|
+
var _qa = require("../../utils/qa");
|
|
9
10
|
var _TimelineModule = _interopRequireDefault(require("./Timeline.module.css"));
|
|
10
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -23,10 +24,11 @@ const Timeline_ = (_ref, ref) => {
|
|
|
23
24
|
let {
|
|
24
25
|
classNames,
|
|
25
26
|
orientation = ORIENTATION.left,
|
|
26
|
-
children
|
|
27
|
+
children,
|
|
28
|
+
testId
|
|
27
29
|
} = _ref;
|
|
28
30
|
const childrenArray = React.Children.toArray(children).filter(Boolean);
|
|
29
|
-
const timelineItems = childrenArray.map(timelineItem => {
|
|
31
|
+
const timelineItems = childrenArray.map((timelineItem, index) => {
|
|
30
32
|
// Type guard to ensure timelineItem is a ReactElement
|
|
31
33
|
if (! /*#__PURE__*/React.isValidElement(timelineItem)) {
|
|
32
34
|
return timelineItem;
|
|
@@ -37,13 +39,22 @@ const Timeline_ = (_ref, ref) => {
|
|
|
37
39
|
const timelineItemProps = timelineItemElement.props;
|
|
38
40
|
return /*#__PURE__*/React.cloneElement(timelineItemElement, {
|
|
39
41
|
...timelineItemProps,
|
|
40
|
-
|
|
42
|
+
last: index + 1 === childrenArray.length,
|
|
43
|
+
orientation,
|
|
44
|
+
testId: (0, _qa.generateTestId)({
|
|
45
|
+
base: testId,
|
|
46
|
+
slot: 'item',
|
|
47
|
+
index: index.toString()
|
|
48
|
+
})
|
|
41
49
|
});
|
|
42
50
|
});
|
|
43
51
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
44
52
|
ref: ref,
|
|
45
53
|
className: (0, _classify.classify)(_TimelineModule.default.timelineWrapper, classNames?.wrapper),
|
|
46
|
-
"data-testid":
|
|
54
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
55
|
+
base: testId,
|
|
56
|
+
slot: 'root'
|
|
57
|
+
}),
|
|
47
58
|
children: timelineItems
|
|
48
59
|
});
|
|
49
60
|
};
|
|
@@ -12,6 +12,7 @@ type ClassNames = Readonly<{
|
|
|
12
12
|
}>;
|
|
13
13
|
export interface TimelineItemProps {
|
|
14
14
|
id?: string;
|
|
15
|
+
last?: boolean;
|
|
15
16
|
title?: React.ReactNode;
|
|
16
17
|
iconName: string;
|
|
17
18
|
children: React.ReactNode;
|
|
@@ -22,6 +23,7 @@ export interface TimelineItemProps {
|
|
|
22
23
|
orientation?: Orientation;
|
|
23
24
|
parentComponent?: React.ReactNode;
|
|
24
25
|
enableCardWrapper?: boolean;
|
|
26
|
+
testId?: string;
|
|
25
27
|
}
|
|
26
28
|
export declare const TimelineItem: Flow.AbstractComponent<TimelineItemProps, HTMLDivElement>;
|
|
27
29
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimelineItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Timeline/TimelineItem/TimelineItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAErD,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"TimelineItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Timeline/TimelineItem/TimelineItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAErD,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAOrD,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,qBAAqB,CAAC;AAElD,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,kCAAkC,CAAC;AAMlE,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC,CAAC;AAEH,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AA8GD,eAAO,MAAM,YAAY,EAEpB,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC"}
|
|
@@ -7,6 +7,7 @@ exports.TimelineItem = void 0;
|
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _typography = require("../../../types/typography");
|
|
9
9
|
var _classify = require("../../../utils/classify");
|
|
10
|
+
var _qa = require("../../../utils/qa");
|
|
10
11
|
var _Card = require("../../Card");
|
|
11
12
|
var _ConditionalWrapper = require("../../ConditionalWrapper");
|
|
12
13
|
var _Icon = require("../../Icon");
|
|
@@ -18,6 +19,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
18
19
|
const TimelineItem_ = (_ref, ref) => {
|
|
19
20
|
let {
|
|
20
21
|
id,
|
|
22
|
+
last,
|
|
21
23
|
title,
|
|
22
24
|
iconName,
|
|
23
25
|
iconType = _Icon.ICON_TYPE.solid,
|
|
@@ -27,11 +29,15 @@ const TimelineItem_ = (_ref, ref) => {
|
|
|
27
29
|
description,
|
|
28
30
|
orientation = _Timeline.ORIENTATION.left,
|
|
29
31
|
parentComponent,
|
|
30
|
-
enableCardWrapper = true
|
|
32
|
+
enableCardWrapper = true,
|
|
33
|
+
testId
|
|
31
34
|
} = _ref;
|
|
32
35
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
33
36
|
id: id,
|
|
34
|
-
"data-testid":
|
|
37
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
38
|
+
base: testId,
|
|
39
|
+
slot: 'root'
|
|
40
|
+
}),
|
|
35
41
|
className: (0, _classify.classify)(_TimelineModule.default.timelineItemWrapper, classNames?.wrapper),
|
|
36
42
|
style: {
|
|
37
43
|
'--align': orientation === 'left' ? 'flex-start' : 'flex-end'
|
|
@@ -42,29 +48,61 @@ const TimelineItem_ = (_ref, ref) => {
|
|
|
42
48
|
'--direction': orientation === 'left' ? 'row' : 'row-reverse'
|
|
43
49
|
},
|
|
44
50
|
className: _TimelineModule.default.timelineItemContent,
|
|
51
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
52
|
+
base: testId,
|
|
53
|
+
slot: 'content'
|
|
54
|
+
}),
|
|
45
55
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
46
56
|
className: _TimelineModule.default.timelineItemIconWrapper,
|
|
57
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
58
|
+
base: testId,
|
|
59
|
+
slot: 'icon-wrapper'
|
|
60
|
+
}),
|
|
47
61
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
48
62
|
name: iconName,
|
|
49
63
|
type: iconType,
|
|
50
64
|
size: _Icon.ICON_SIZE.small,
|
|
51
65
|
color: iconColor,
|
|
52
|
-
className: (0, _classify.classify)(_TimelineModule.default.timelineItemIcon, classNames?.icon)
|
|
53
|
-
|
|
66
|
+
className: (0, _classify.classify)(_TimelineModule.default.timelineItemIcon, classNames?.icon),
|
|
67
|
+
testId: (0, _qa.generateTestId)({
|
|
68
|
+
base: testId,
|
|
69
|
+
slot: 'icon'
|
|
70
|
+
})
|
|
71
|
+
}), !last && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
54
72
|
className: _TimelineModule.default.timelineItemBorder,
|
|
73
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
74
|
+
base: testId,
|
|
75
|
+
slot: 'border'
|
|
76
|
+
}),
|
|
55
77
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
56
78
|
className: _TimelineModule.default.border
|
|
57
79
|
})
|
|
58
80
|
})]
|
|
59
81
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
60
82
|
className: _TimelineModule.default.timelineItemEventDetails,
|
|
83
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
84
|
+
base: testId,
|
|
85
|
+
slot: 'details'
|
|
86
|
+
}),
|
|
61
87
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
62
88
|
className: _TimelineModule.default.timelineItemInfo,
|
|
89
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
90
|
+
base: testId,
|
|
91
|
+
slot: 'info'
|
|
92
|
+
}),
|
|
63
93
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
64
94
|
className: (0, _classify.classify)(_TimelineModule.default.timelineItemTitle, classNames?.title),
|
|
95
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
96
|
+
base: testId,
|
|
97
|
+
slot: 'title'
|
|
98
|
+
}),
|
|
65
99
|
children: title
|
|
66
100
|
}), description ? /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
67
101
|
className: (0, _classify.classify)(_TimelineModule.default.timelineItemDescription, classNames?.description),
|
|
102
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
103
|
+
base: testId,
|
|
104
|
+
slot: 'description'
|
|
105
|
+
}),
|
|
68
106
|
children: description
|
|
69
107
|
}) : null]
|
|
70
108
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ConditionalWrapper.ConditionalWrapper, {
|
|
@@ -75,6 +113,10 @@ const TimelineItem_ = (_ref, ref) => {
|
|
|
75
113
|
classNames: {
|
|
76
114
|
wrapper: (0, _classify.classify)(_TimelineModule.default.timelineItemCardWrapper, classNames?.card)
|
|
77
115
|
},
|
|
116
|
+
testId: (0, _qa.generateTestId)({
|
|
117
|
+
base: testId,
|
|
118
|
+
slot: 'card'
|
|
119
|
+
}),
|
|
78
120
|
children: children
|
|
79
121
|
}),
|
|
80
122
|
children: children
|
|
@@ -21,26 +21,30 @@ export interface ToastProps {
|
|
|
21
21
|
initialFocus?: number;
|
|
22
22
|
customIcon?: React.ReactNode;
|
|
23
23
|
hideCloseIcon?: boolean;
|
|
24
|
+
testId?: string;
|
|
24
25
|
}
|
|
25
26
|
export interface ToastTitleProps {
|
|
26
27
|
children?: React.ReactNode;
|
|
27
28
|
className?: string;
|
|
28
29
|
semantic?: ToastSemanticType;
|
|
30
|
+
testId?: string;
|
|
29
31
|
}
|
|
30
32
|
export declare const ToastTitle: Flow.AbstractComponent<ToastTitleProps, HTMLDivElement>;
|
|
31
33
|
export interface ToastBodyProps {
|
|
32
34
|
children?: React.ReactNode;
|
|
33
35
|
className?: string;
|
|
36
|
+
testId?: string;
|
|
34
37
|
}
|
|
35
38
|
export declare const ToastBody: Flow.AbstractComponent<ToastBodyProps, HTMLDivElement>;
|
|
36
39
|
export interface ToastFooterProps {
|
|
37
40
|
children?: React.ReactNode;
|
|
38
41
|
onClose?: () => void;
|
|
42
|
+
testId?: string;
|
|
39
43
|
}
|
|
40
44
|
export declare const ToastFooter: {
|
|
41
|
-
({ children, onClose }: ToastFooterProps): React.JSX.Element | null;
|
|
45
|
+
({ children, onClose, testId }: ToastFooterProps): React.JSX.Element | null;
|
|
42
46
|
displayName: string;
|
|
43
47
|
};
|
|
44
|
-
export declare const Toast: ({ classNames, children, time, semantic, onClose, initialFocus, customIcon, hideCloseIcon, }: ToastProps) => React.JSX.Element;
|
|
48
|
+
export declare const Toast: ({ classNames, children, time, semantic, onClose, initialFocus, customIcon, hideCloseIcon, testId, }: ToastProps) => React.JSX.Element;
|
|
45
49
|
export {};
|
|
46
50
|
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAYrD,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;EAMzB,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEvD,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAoGD,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,EAAE,IAAI,CAAC,iBAAiB,CAC7C,eAAe,EACf,cAAc,CAqBf,CAAC;AAIF,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,SAAS,EAAE,IAAI,CAAC,iBAAiB,CAAC,cAAc,EAAE,cAAc,CAY1E,CAAC;AAIJ,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,WAAW;oCAAiC,gBAAgB;;CAoDxE,CAAC;AAIF,eAAO,MAAM,KAAK,GAAI,qGAUnB,UAAU,sBAuEZ,CAAC"}
|
|
@@ -7,6 +7,7 @@ exports.ToastTitle = exports.ToastFooter = exports.ToastBody = exports.Toast = e
|
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _react2 = require("@floating-ui/react");
|
|
9
9
|
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
10
|
+
var _qa = require("../../utils/qa");
|
|
10
11
|
var _Icon = require("../Icon");
|
|
11
12
|
var _Text = require("../Text");
|
|
12
13
|
var _ToastModule = _interopRequireDefault(require("./Toast.module.css"));
|
|
@@ -32,7 +33,8 @@ const TOAST_SEMANTIC = exports.TOAST_SEMANTIC = Object.freeze({
|
|
|
32
33
|
|
|
33
34
|
const ToastIcon = _ref => {
|
|
34
35
|
let {
|
|
35
|
-
semantic
|
|
36
|
+
semantic,
|
|
37
|
+
testId
|
|
36
38
|
} = _ref;
|
|
37
39
|
switch (semantic) {
|
|
38
40
|
case 'success':
|
|
@@ -40,35 +42,55 @@ const ToastIcon = _ref => {
|
|
|
40
42
|
name: "circle-check",
|
|
41
43
|
size: "medium",
|
|
42
44
|
color: _Text.TEXT_COLORS.success,
|
|
43
|
-
type: "solid"
|
|
45
|
+
type: "solid",
|
|
46
|
+
testId: (0, _qa.generateTestId)({
|
|
47
|
+
base: testId,
|
|
48
|
+
slot: 'icon'
|
|
49
|
+
})
|
|
44
50
|
});
|
|
45
51
|
case TOAST_SEMANTIC.information:
|
|
46
52
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
47
53
|
name: "circle-info",
|
|
48
54
|
size: "medium",
|
|
49
55
|
color: _Text.TEXT_COLORS.information,
|
|
50
|
-
type: "solid"
|
|
56
|
+
type: "solid",
|
|
57
|
+
testId: (0, _qa.generateTestId)({
|
|
58
|
+
base: testId,
|
|
59
|
+
slot: 'icon'
|
|
60
|
+
})
|
|
51
61
|
});
|
|
52
62
|
case TOAST_SEMANTIC.warning:
|
|
53
63
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
54
64
|
name: "circle-exclamation",
|
|
55
65
|
size: "medium",
|
|
56
66
|
color: _Text.TEXT_COLORS.warning,
|
|
57
|
-
type: "solid"
|
|
67
|
+
type: "solid",
|
|
68
|
+
testId: (0, _qa.generateTestId)({
|
|
69
|
+
base: testId,
|
|
70
|
+
slot: 'icon'
|
|
71
|
+
})
|
|
58
72
|
});
|
|
59
73
|
case TOAST_SEMANTIC.danger:
|
|
60
74
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
61
75
|
name: "shield-exclamation",
|
|
62
76
|
size: "medium",
|
|
63
77
|
color: _Text.TEXT_COLORS.danger,
|
|
64
|
-
type: "solid"
|
|
78
|
+
type: "solid",
|
|
79
|
+
testId: (0, _qa.generateTestId)({
|
|
80
|
+
base: testId,
|
|
81
|
+
slot: 'icon'
|
|
82
|
+
})
|
|
65
83
|
});
|
|
66
84
|
default:
|
|
67
85
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
68
86
|
color: _Text.TEXT_COLORS.neutral,
|
|
69
87
|
name: "face-smile",
|
|
70
88
|
size: "medium",
|
|
71
|
-
type: "solid"
|
|
89
|
+
type: "solid",
|
|
90
|
+
testId: (0, _qa.generateTestId)({
|
|
91
|
+
base: testId,
|
|
92
|
+
slot: 'icon'
|
|
93
|
+
})
|
|
72
94
|
});
|
|
73
95
|
}
|
|
74
96
|
};
|
|
@@ -77,12 +99,17 @@ const ToastTitle = exports.ToastTitle = /*#__PURE__*/React.forwardRef((_ref2, re
|
|
|
77
99
|
children,
|
|
78
100
|
semantic = TOAST_SEMANTIC.information,
|
|
79
101
|
className,
|
|
102
|
+
testId,
|
|
80
103
|
...props
|
|
81
104
|
} = _ref2;
|
|
82
105
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
83
106
|
className: (0, _classify.default)(_ToastModule.default.toastTitle, _typographyModule.default[semantic], className),
|
|
84
107
|
...props,
|
|
85
108
|
ref: ref,
|
|
109
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
110
|
+
base: testId,
|
|
111
|
+
slot: 'title'
|
|
112
|
+
}),
|
|
86
113
|
children: children
|
|
87
114
|
});
|
|
88
115
|
});
|
|
@@ -91,12 +118,17 @@ const ToastBody = exports.ToastBody = /*#__PURE__*/React.forwardRef((_ref3, ref)
|
|
|
91
118
|
let {
|
|
92
119
|
children,
|
|
93
120
|
className,
|
|
121
|
+
testId,
|
|
94
122
|
...props
|
|
95
123
|
} = _ref3;
|
|
96
124
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
97
125
|
className: (0, _classify.default)(_ToastModule.default.toastBody, className),
|
|
98
126
|
...props,
|
|
99
127
|
ref: ref,
|
|
128
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
129
|
+
base: testId,
|
|
130
|
+
slot: 'body'
|
|
131
|
+
}),
|
|
100
132
|
children: children
|
|
101
133
|
});
|
|
102
134
|
});
|
|
@@ -104,7 +136,8 @@ ToastBody.displayName = 'ToastBody';
|
|
|
104
136
|
const ToastFooter = _ref4 => {
|
|
105
137
|
let {
|
|
106
138
|
children,
|
|
107
|
-
onClose
|
|
139
|
+
onClose,
|
|
140
|
+
testId
|
|
108
141
|
} = _ref4;
|
|
109
142
|
const arrayChildren = React.Children.toArray(children);
|
|
110
143
|
const footerActions = React.Children.map(children, (child, index) => {
|
|
@@ -125,14 +158,24 @@ const ToastFooter = _ref4 => {
|
|
|
125
158
|
size: 'small',
|
|
126
159
|
type: 'primary',
|
|
127
160
|
...buttonProps,
|
|
128
|
-
onClick: buttonClickHandler
|
|
161
|
+
onClick: buttonClickHandler,
|
|
162
|
+
testId: (0, _qa.generateTestId)({
|
|
163
|
+
base: testId,
|
|
164
|
+
slot: 'button',
|
|
165
|
+
index: index.toString()
|
|
166
|
+
})
|
|
129
167
|
});
|
|
130
168
|
} else if (buttonElement?.type?.displayName === 'Button') {
|
|
131
169
|
return /*#__PURE__*/React.cloneElement(buttonElement, {
|
|
132
170
|
size: 'small',
|
|
133
171
|
type: 'tertiary',
|
|
134
172
|
...buttonProps,
|
|
135
|
-
onClick: buttonClickHandler
|
|
173
|
+
onClick: buttonClickHandler,
|
|
174
|
+
testId: (0, _qa.generateTestId)({
|
|
175
|
+
base: testId,
|
|
176
|
+
slot: 'button',
|
|
177
|
+
index: index.toString()
|
|
178
|
+
})
|
|
136
179
|
});
|
|
137
180
|
}
|
|
138
181
|
}
|
|
@@ -140,6 +183,10 @@ const ToastFooter = _ref4 => {
|
|
|
140
183
|
});
|
|
141
184
|
return React.Children.count(children) > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
142
185
|
className: _ToastModule.default.toastFooterActions,
|
|
186
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
187
|
+
base: testId,
|
|
188
|
+
slot: 'footer'
|
|
189
|
+
}),
|
|
143
190
|
children: footerActions
|
|
144
191
|
}) : null;
|
|
145
192
|
};
|
|
@@ -154,7 +201,8 @@ const Toast = _ref5 => {
|
|
|
154
201
|
onClose,
|
|
155
202
|
initialFocus = -1,
|
|
156
203
|
customIcon,
|
|
157
|
-
hideCloseIcon
|
|
204
|
+
hideCloseIcon,
|
|
205
|
+
testId
|
|
158
206
|
} = _ref5;
|
|
159
207
|
const {
|
|
160
208
|
refs,
|
|
@@ -173,7 +221,8 @@ const Toast = _ref5 => {
|
|
|
173
221
|
const toastChildElement = child;
|
|
174
222
|
if (toastChildElement?.type?.displayName === comp) {
|
|
175
223
|
nodes.push(/*#__PURE__*/React.cloneElement(toastChildElement, {
|
|
176
|
-
semantic
|
|
224
|
+
semantic,
|
|
225
|
+
testId
|
|
177
226
|
}));
|
|
178
227
|
}
|
|
179
228
|
}
|
|
@@ -184,7 +233,8 @@ const Toast = _ref5 => {
|
|
|
184
233
|
};
|
|
185
234
|
const footer = getComp('ToastFooter');
|
|
186
235
|
const footerWithClose = footer ? /*#__PURE__*/React.cloneElement(footer, {
|
|
187
|
-
onClose
|
|
236
|
+
onClose,
|
|
237
|
+
testId
|
|
188
238
|
}) : null;
|
|
189
239
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react2.FloatingFocusManager, {
|
|
190
240
|
context: context,
|
|
@@ -192,10 +242,19 @@ const Toast = _ref5 => {
|
|
|
192
242
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
193
243
|
className: (0, _classify.default)(_ToastModule.default.toastContainer, classNames?.wrapper),
|
|
194
244
|
ref: refs.setFloating,
|
|
245
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
246
|
+
base: testId,
|
|
247
|
+
slot: 'root'
|
|
248
|
+
}),
|
|
195
249
|
children: [customIcon || /*#__PURE__*/(0, _jsxRuntime.jsx)(ToastIcon, {
|
|
196
|
-
semantic: semantic
|
|
250
|
+
semantic: semantic,
|
|
251
|
+
testId: testId
|
|
197
252
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
198
253
|
className: _ToastModule.default.toastMidSection,
|
|
254
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
255
|
+
base: testId,
|
|
256
|
+
slot: 'content'
|
|
257
|
+
}),
|
|
199
258
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
200
259
|
className: _ToastModule.default.contentWrap,
|
|
201
260
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
@@ -203,6 +262,10 @@ const Toast = _ref5 => {
|
|
|
203
262
|
children: [getComp('ToastTitle'), getComp('ToastBody')]
|
|
204
263
|
}), time && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.SubTitleExtraSmall, {
|
|
205
264
|
className: classNames?.time,
|
|
265
|
+
testId: (0, _qa.generateTestId)({
|
|
266
|
+
base: testId,
|
|
267
|
+
slot: 'time'
|
|
268
|
+
}),
|
|
206
269
|
children: time
|
|
207
270
|
})]
|
|
208
271
|
}), footerWithClose]
|
|
@@ -211,7 +274,11 @@ const Toast = _ref5 => {
|
|
|
211
274
|
button: _ToastModule.default.closeIcon
|
|
212
275
|
},
|
|
213
276
|
onClick: onClose,
|
|
214
|
-
ariaLabel: "Close Button"
|
|
277
|
+
ariaLabel: "Close Button",
|
|
278
|
+
testId: (0, _qa.generateTestId)({
|
|
279
|
+
base: testId,
|
|
280
|
+
slot: 'close'
|
|
281
|
+
})
|
|
215
282
|
})]
|
|
216
283
|
})
|
|
217
284
|
});
|
|
@@ -34,11 +34,12 @@ export interface BaseTooltipProps {
|
|
|
34
34
|
delayMotionDuration?: DelayMotionDurationType;
|
|
35
35
|
hidden?: boolean;
|
|
36
36
|
elevation?: ElevationType;
|
|
37
|
+
testId?: string;
|
|
37
38
|
}
|
|
38
39
|
export interface TooltipProps extends Omit<BaseTooltipProps, 'children'> {
|
|
39
40
|
children: React.ReactNode;
|
|
40
41
|
}
|
|
41
42
|
export declare const getElevationValue: (elevation: string) => string;
|
|
42
|
-
export declare const Tooltip: ({ classNames, children, title, body, placement, bodyMaxLines, titleMaxLines, delayMotionDuration, elevation, hidden, }: TooltipProps) => React.JSX.Element;
|
|
43
|
+
export declare const Tooltip: ({ classNames, children, title, body, placement, bodyMaxLines, titleMaxLines, delayMotionDuration, elevation, hidden, testId, }: TooltipProps) => React.JSX.Element;
|
|
43
44
|
export {};
|
|
44
45
|
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA6B/B,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;EAOtC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC;AAEjF,eAAO,MAAM,eAAe;;;;;;;;EAQ1B,CAAC;AAEH,MAAM,MAAM,aAAa,GACvB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD,MAAM,MAAM,aAAa,GACrB,KAAK,GACL,WAAW,GACX,SAAS,GACT,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,OAAO,CAAC;AAEZ,MAAM,WAAW,gBAAgB;IAC/B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,uBAAuB,CAAC;IAC9C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC;IACtE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,iBAAiB,GAAI,WAAW,MAAM,KAAG,MAIrD,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,gIAYrB,YAAY,sBAyHd,CAAC"}
|
|
@@ -10,6 +10,7 @@ var ELEVATION = _interopRequireWildcard(require("../../styles/variables/_elevati
|
|
|
10
10
|
var MOTION = _interopRequireWildcard(require("../../styles/variables/_motion"));
|
|
11
11
|
var _space = require("../../styles/variables/_space");
|
|
12
12
|
var _classify = require("../../utils/classify");
|
|
13
|
+
var _qa = require("../../utils/qa");
|
|
13
14
|
var _string = require("../../utils/string");
|
|
14
15
|
var _Truncate = require("../Truncate");
|
|
15
16
|
var _TooltipModule = _interopRequireDefault(require("./Tooltip.module.css"));
|
|
@@ -49,7 +50,8 @@ const Tooltip = _ref => {
|
|
|
49
50
|
titleMaxLines = 1,
|
|
50
51
|
delayMotionDuration = 'none',
|
|
51
52
|
elevation = 'tooltip',
|
|
52
|
-
hidden
|
|
53
|
+
hidden,
|
|
54
|
+
testId
|
|
53
55
|
} = _ref;
|
|
54
56
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
55
57
|
const {
|
|
@@ -97,6 +99,10 @@ const Tooltip = _ref => {
|
|
|
97
99
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
98
100
|
children: !hidden && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
99
101
|
ref: refs.setFloating,
|
|
102
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
103
|
+
base: testId,
|
|
104
|
+
slot: 'tooltip'
|
|
105
|
+
}),
|
|
100
106
|
className: (0, _classify.classify)(_TooltipModule.default.tooltip, classNames?.tooltip),
|
|
101
107
|
style: {
|
|
102
108
|
position: strategy,
|
|
@@ -107,14 +113,30 @@ const Tooltip = _ref => {
|
|
|
107
113
|
children: [!!title && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Truncate.Truncate, {
|
|
108
114
|
line: titleMaxLines,
|
|
109
115
|
wordBreak: "initial",
|
|
116
|
+
testId: (0, _qa.generateTestId)({
|
|
117
|
+
base: testId,
|
|
118
|
+
slot: 'title'
|
|
119
|
+
}),
|
|
110
120
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
121
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
122
|
+
base: testId,
|
|
123
|
+
slot: 'title'
|
|
124
|
+
}),
|
|
111
125
|
className: (0, _classify.classify)(_TooltipModule.default.title, classNames?.title),
|
|
112
126
|
children: title
|
|
113
127
|
})
|
|
114
128
|
}), !!body && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Truncate.Truncate, {
|
|
115
129
|
line: bodyMaxLines,
|
|
116
130
|
wordBreak: "initial",
|
|
131
|
+
testId: (0, _qa.generateTestId)({
|
|
132
|
+
base: testId,
|
|
133
|
+
slot: 'body'
|
|
134
|
+
}),
|
|
117
135
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
136
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
137
|
+
base: testId,
|
|
138
|
+
slot: 'body'
|
|
139
|
+
}),
|
|
118
140
|
className: (0, _classify.classify)(_TooltipModule.default.body, {
|
|
119
141
|
[_TooltipModule.default.hasTitle]: !!title
|
|
120
142
|
}, classNames?.body),
|
|
@@ -10,7 +10,8 @@ export interface TruncatedTextWithTooltipProps {
|
|
|
10
10
|
line?: number;
|
|
11
11
|
wordBreak?: string;
|
|
12
12
|
wrapText?: boolean;
|
|
13
|
+
testId?: string;
|
|
13
14
|
}
|
|
14
|
-
export declare const TruncatedTextWithTooltip: ({ classNames, children, tooltip, wrapText, line, wordBreak, }: TruncatedTextWithTooltipProps) => React.JSX.Element;
|
|
15
|
+
export declare const TruncatedTextWithTooltip: ({ classNames, children, tooltip, wrapText, line, wordBreak, testId, }: TruncatedTextWithTooltipProps) => React.JSX.Element;
|
|
15
16
|
export {};
|
|
16
17
|
//# sourceMappingURL=TruncatedTextWithTooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TruncatedTextWithTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TruncatedTextWithTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,wBAAwB,CAAC;AAM7D,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAYD,eAAO,MAAM,wBAAwB,GAAI,uEAQtC,6BAA6B,sBAuF/B,CAAC"}
|
|
@@ -8,6 +8,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
8
8
|
var _debounce = _interopRequireDefault(require("lodash/debounce"));
|
|
9
9
|
var _useWindowSize = require("../../hooks/useWindowSize");
|
|
10
10
|
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
11
|
+
var _qa = require("../../utils/qa");
|
|
11
12
|
var _ConditionalWrapper = require("../ConditionalWrapper");
|
|
12
13
|
var _Tooltip = require("../Tooltip");
|
|
13
14
|
var _TruncatedTextWithTooltipModule = _interopRequireDefault(require("./TruncatedTextWithTooltip.module.css"));
|
|
@@ -25,7 +26,8 @@ const TruncatedTextWithTooltip = _ref => {
|
|
|
25
26
|
tooltip,
|
|
26
27
|
wrapText = false,
|
|
27
28
|
line = 1,
|
|
28
|
-
wordBreak = 'break-all'
|
|
29
|
+
wordBreak = 'break-all',
|
|
30
|
+
testId
|
|
29
31
|
} = _ref;
|
|
30
32
|
const {
|
|
31
33
|
width
|
|
@@ -75,8 +77,16 @@ const TruncatedTextWithTooltip = _ref => {
|
|
|
75
77
|
...tooltip,
|
|
76
78
|
body: tooltip?.body || modifiedChild,
|
|
77
79
|
elevation: tooltip?.elevation ?? 'toast',
|
|
80
|
+
testId: (0, _qa.generateTestId)({
|
|
81
|
+
base: testId,
|
|
82
|
+
slot: 'tooltip'
|
|
83
|
+
}),
|
|
78
84
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
79
85
|
className: _TruncatedTextWithTooltipModule.default.childrenWrapper,
|
|
86
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
87
|
+
base: testId,
|
|
88
|
+
slot: 'wrapper'
|
|
89
|
+
}),
|
|
80
90
|
children: children
|
|
81
91
|
})
|
|
82
92
|
});
|
|
@@ -85,6 +95,10 @@ const TruncatedTextWithTooltip = _ref => {
|
|
|
85
95
|
className: (0, _classify.default)(_TruncatedTextWithTooltipModule.default.truncateLineClamp, classNames?.wrapper),
|
|
86
96
|
style: styles,
|
|
87
97
|
ref: truncatedRef,
|
|
98
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
99
|
+
base: testId,
|
|
100
|
+
slot: 'text'
|
|
101
|
+
}),
|
|
88
102
|
children: children
|
|
89
103
|
})
|
|
90
104
|
});
|
|
@@ -35,6 +35,7 @@ export interface SimpleTypeaheadProps extends Omit<InputProps, 'isLoading' | 'me
|
|
|
35
35
|
clickAwayRef?: React.RefObject<ClickAwayRefType | null>;
|
|
36
36
|
allowInternalFilter?: boolean;
|
|
37
37
|
typeaheadInputText?: string;
|
|
38
|
+
testId?: string;
|
|
38
39
|
}
|
|
39
40
|
export declare const SimpleTypeahead: Flow.AbstractComponent<SimpleTypeaheadProps, SimpleTypeaheadRef>;
|
|
40
41
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleTypeahead.d.ts","sourceRoot":"","sources":["../../../src/components/Typeahead/SimpleTypeahead.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAErD,OAAO,KAAK,EAAC,cAAc,EAAE,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AACrE,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAG3D,OAAO,KAAK,EAAC,UAAU,EAA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AK,OAAO,CAAC;IACjE,UAAU,CAAC,EAAE,MAAM,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChE,qBAAqB,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACzE,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACxD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AA8GD,eAAO,MAAM,eAAe,EAAE,IAAI,CAAC,iBAAiB,CAClD,oBAAoB,EACpB,kBAAkB,CAGnB,CAAC"}
|
|
@@ -32,6 +32,7 @@ const SimpleTypeaheadBase = (props, ref) => {
|
|
|
32
32
|
allowInternalFilter = true,
|
|
33
33
|
allowWrap = false,
|
|
34
34
|
elevation = 'modal',
|
|
35
|
+
testId,
|
|
35
36
|
...inputProps
|
|
36
37
|
} = props;
|
|
37
38
|
const [typeaheadInputText, setTypeaheadInputText] = React.useState('');
|
|
@@ -87,7 +88,8 @@ const SimpleTypeaheadBase = (props, ref) => {
|
|
|
87
88
|
allowWrap
|
|
88
89
|
},
|
|
89
90
|
clickAwayRef: clickAwayRef,
|
|
90
|
-
elevation: elevation
|
|
91
|
+
elevation: elevation,
|
|
92
|
+
testId: testId
|
|
91
93
|
});
|
|
92
94
|
};
|
|
93
95
|
const SimpleTypeahead = exports.SimpleTypeahead = /*#__PURE__*/React.forwardRef(SimpleTypeaheadBase);
|
|
@@ -21,6 +21,7 @@ interface BaseTypeaheadProps extends Omit<InputProps, 'classNames' | 'onSelect'
|
|
|
21
21
|
menuOpenOffset?: number;
|
|
22
22
|
clickAwayRef?: React.RefObject<ClickAwayRefType | null>;
|
|
23
23
|
elevation?: ElevationType;
|
|
24
|
+
testId?: string;
|
|
24
25
|
}
|
|
25
26
|
export interface TypeaheadProps extends Omit<BaseTypeaheadProps, 'allowInternalFilter'> {
|
|
26
27
|
allowInternalFilter?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typeahead.d.ts","sourceRoot":"","sources":["../../../src/components/Typeahead/Typeahead.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAKrD,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"Typeahead.d.ts","sourceRoot":"","sources":["../../../src/components/Typeahead/Typeahead.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAKrD,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAK3D,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAC,UAAU,EAAE,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAG/D,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAM1D,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC,CAAC;AAEH,UAAU,kBACR,SAAQ,IAAI,CACV,UAAU,EACR,YAAY,GACZ,UAAU,GACV,UAAU,GACV,YAAY,GACZ,aAAa,GACb,oBAAoB,GACpB,MAAM,GACN,SAAS,GACT,WAAW,GACX,gBAAgB,GAChB,cA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