@spaced-out/ui-design-system 0.5.11 → 0.5.12-beta.0
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 +13 -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/ButtonTabs/ButtonTab/ButtonTab.d.ts +1 -0
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.js +2 -0
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +2 -1
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTabDropdown.js +19 -2
- package/lib/components/ButtonTabs/ButtonTabs.d.ts +1 -0
- package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTabs.js +19 -4
- package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts +1 -0
- package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts.map +1 -1
- package/lib/components/Charts/ChartWrapper/ChartWrapper.js +37 -5
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +2 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +1 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.js +2 -0
- package/lib/components/Charts/DonutChart/DonutChart.d.ts +2 -1
- package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +1 -1
- package/lib/components/Charts/DonutChart/DonutChart.js +2 -0
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +2 -1
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +1 -1
- package/lib/components/Charts/FunnelChart/FunnelChart.js +2 -0
- package/lib/components/Charts/LineChart/LineChart.d.ts +2 -1
- package/lib/components/Charts/LineChart/LineChart.d.ts.map +1 -1
- package/lib/components/Charts/LineChart/LineChart.js +2 -0
- package/lib/components/Charts/SankeyChart/SankeyChart.d.ts +2 -1
- package/lib/components/Charts/SankeyChart/SankeyChart.d.ts.map +1 -1
- package/lib/components/Charts/SankeyChart/SankeyChart.js +2 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +2 -1
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +1 -1
- package/lib/components/Charts/SpiderChart/SpiderChart.js +2 -0
- package/lib/components/Charts/StackedBarChart/StackedBarChart.d.ts +2 -1
- package/lib/components/Charts/StackedBarChart/StackedBarChart.d.ts.map +1 -1
- package/lib/components/Charts/StackedBarChart/StackedBarChart.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/Combobox/Combobox.d.ts +1 -0
- package/lib/components/Combobox/Combobox.d.ts.map +1 -1
- package/lib/components/Combobox/Combobox.js +45 -3
- package/lib/components/DateRangePicker/Calendar.d.ts +2 -1
- package/lib/components/DateRangePicker/Calendar.d.ts.map +1 -1
- package/lib/components/DateRangePicker/Calendar.js +24 -2
- package/lib/components/DateRangePicker/DateRangePicker.d.ts +1 -0
- package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/lib/components/DateRangePicker/DateRangePicker.js +4 -2
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +1 -0
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +1 -1
- package/lib/components/DateRangePicker/DateRangeWrapper.js +104 -14
- package/lib/components/DateRangePicker/Day.d.ts +2 -1
- package/lib/components/DateRangePicker/Day.d.ts.map +1 -1
- package/lib/components/DateRangePicker/Day.js +11 -1
- 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/FilterButtonOverlay/FilterButtonOverlay.d.ts +1 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +1 -1
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +18 -1
- 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/InfinitePagination/InfinitePagination.d.ts +1 -0
- package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +1 -1
- package/lib/components/InfinitePagination/InfinitePagination.js +20 -3
- package/lib/components/InlineDropdown/InlineDropdown.d.ts +1 -0
- package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +1 -1
- package/lib/components/InlineDropdown/InlineDropdown.js +27 -2
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +2 -1
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +1 -1
- package/lib/components/InlineDropdown/SimpleInlineDropdown.js +2 -0
- 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/OptionButton/OptionButton.d.ts +1 -0
- package/lib/components/OptionButton/OptionButton.d.ts.map +1 -1
- package/lib/components/OptionButton/OptionButton.js +20 -2
- package/lib/components/OptionButton/SimpleOptionButton.d.ts +2 -1
- package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +1 -1
- package/lib/components/OptionButton/SimpleOptionButton.js +2 -0
- 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/Pagination/Pagination.d.ts +2 -0
- package/lib/components/Pagination/Pagination.d.ts.map +1 -1
- package/lib/components/Pagination/Pagination.js +33 -3
- package/lib/components/Pagination/PaginationItem.d.ts.map +1 -1
- package/lib/components/Pagination/PaginationItem.js +31 -5
- 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/Table/Cell.d.ts +13 -7
- package/lib/components/Table/Cell.d.ts.map +1 -1
- package/lib/components/Table/Cell.js +40 -9
- package/lib/components/Table/DefaultRow.d.ts +5 -2
- package/lib/components/Table/DefaultRow.d.ts.map +1 -1
- package/lib/components/Table/DefaultRow.js +38 -6
- package/lib/components/Table/DefaultTableHeader.d.ts +2 -0
- package/lib/components/Table/DefaultTableHeader.d.ts.map +1 -1
- package/lib/components/Table/DefaultTableHeader.js +17 -2
- package/lib/components/Table/StaticTable.d.ts.map +1 -1
- package/lib/components/Table/StaticTable.js +45 -11
- package/lib/components/Table/Table.d.ts +1 -0
- package/lib/components/Table/Table.d.ts.map +1 -1
- package/lib/components/Table/Table.docs.d.ts +11 -0
- package/lib/components/Table/Table.docs.d.ts.map +1 -1
- package/lib/components/Table/Table.docs.js +11 -0
- package/lib/components/Table/Table.js +6 -3
- package/lib/components/Table/TableActionBar.d.ts +8 -3
- package/lib/components/Table/TableActionBar.d.ts.map +1 -1
- package/lib/components/Table/TableActionBar.js +16 -3
- package/lib/components/Table/TableBottomBar.d.ts +2 -1
- package/lib/components/Table/TableBottomBar.d.ts.map +1 -1
- package/lib/components/Table/TableBottomBar.js +6 -1
- package/lib/components/Table/TableTopBar.d.ts +2 -1
- package/lib/components/Table/TableTopBar.d.ts.map +1 -1
- package/lib/components/Table/TableTopBar.js +6 -1
- package/lib/components/Tabs/Tab/Tab.d.ts +1 -0
- package/lib/components/Tabs/Tab/Tab.d.ts.map +1 -1
- package/lib/components/Tabs/Tab/Tab.js +9 -1
- package/lib/components/Tabs/TabList/TabDropdown.d.ts +2 -1
- package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +1 -1
- package/lib/components/Tabs/TabList/TabDropdown.js +21 -4
- package/lib/components/Tabs/TabList/TabList.d.ts +1 -0
- package/lib/components/Tabs/TabList/TabList.d.ts.map +1 -1
- package/lib/components/Tabs/TabList/TabList.js +20 -5
- 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 +14 -4
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +1 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +1 -1
- package/lib/components/Timeline/TimelineItem/TimelineItem.js +44 -3
- 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/TokenListInput/TokenListInput.d.ts +1 -0
- package/lib/components/TokenListInput/TokenListInput.d.ts.map +1 -1
- package/lib/components/TokenListInput/TokenListInput.js +56 -7
- package/lib/components/TokenListInput/TokenValueChips.d.ts +2 -0
- package/lib/components/TokenListInput/TokenValueChips.d.ts.map +1 -1
- package/lib/components/TokenListInput/TokenValueChips.js +12 -3
- 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
|
@@ -28,7 +28,8 @@ const DateRangePicker = exports.DateRangePicker = /*#__PURE__*/React.forwardRef(
|
|
|
28
28
|
startDateLabel,
|
|
29
29
|
endDateLabel,
|
|
30
30
|
t,
|
|
31
|
-
locale
|
|
31
|
+
locale,
|
|
32
|
+
testId
|
|
32
33
|
} = _ref;
|
|
33
34
|
const localTimezone = _momentTimezone.default.tz.guess();
|
|
34
35
|
const {
|
|
@@ -137,6 +138,7 @@ const DateRangePicker = exports.DateRangePicker = /*#__PURE__*/React.forwardRef(
|
|
|
137
138
|
startDateLabel: startDateLabel,
|
|
138
139
|
endDateLabel: endDateLabel,
|
|
139
140
|
t: t,
|
|
140
|
-
locale: locale
|
|
141
|
+
locale: locale,
|
|
142
|
+
testId: testId
|
|
141
143
|
});
|
|
142
144
|
});
|
|
@@ -27,6 +27,7 @@ interface DateRangeWrapperProps {
|
|
|
27
27
|
endDateLabel?: string;
|
|
28
28
|
t?: ((key: string, fallback: string) => string) | null | undefined;
|
|
29
29
|
locale?: string;
|
|
30
|
+
testId?: string;
|
|
30
31
|
}
|
|
31
32
|
export declare const DateRangeWrapper: Flow.AbstractComponent<DateRangeWrapperProps, HTMLDivElement>;
|
|
32
33
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateRangeWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/DateRangePicker/DateRangeWrapper.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAGrD,OAAO,KAAK,EAAC,SAAS,EAAE,qBAAqB,EAAC,MAAM,WAAW,CAAC;AAChE,OAAO,EAML,OAAO,EACP,iBAAiB,EAClB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"DateRangeWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/DateRangePicker/DateRangeWrapper.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAGrD,OAAO,KAAK,EAAC,SAAS,EAAE,qBAAqB,EAAC,MAAM,WAAW,CAAC;AAChE,OAAO,EAML,OAAO,EACP,iBAAiB,EAClB,MAAM,WAAW,CAAC;AAgDnB,UAAU,qBAAqB;IAC7B,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,kBAAkB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,CAAC,uBAAuB,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAClE,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;IACvC,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE;QACR,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QAClC,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QAClC,eAAe,EAAE,CACf,MAAM,EAAE,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,OAAO,OAAO,CAAC,EAC9C,MAAM,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,KAC/D,IAAI,CAAC;KACX,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACnE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAoGD,eAAO,MAAM,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,CACnD,qBAAqB,EACrB,cAAc,CA4Pf,CAAC"}
|
|
@@ -9,6 +9,7 @@ var _moment = _interopRequireDefault(require("moment"));
|
|
|
9
9
|
var _utils = require("../../utils");
|
|
10
10
|
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
11
11
|
var _dateRangePicker = require("../../utils/date-range-picker");
|
|
12
|
+
var _qa = require("../../utils/qa");
|
|
12
13
|
var _Button = require("../Button");
|
|
13
14
|
var _Card = require("../Card");
|
|
14
15
|
var _Calendar = require("./Calendar");
|
|
@@ -33,7 +34,8 @@ const CalendarHeader = _ref => {
|
|
|
33
34
|
onClickNext,
|
|
34
35
|
nextDisabled,
|
|
35
36
|
prevDisabled,
|
|
36
|
-
onClickPrevious
|
|
37
|
+
onClickPrevious,
|
|
38
|
+
testId
|
|
37
39
|
} = _ref;
|
|
38
40
|
const availableYears = (0, _utils.generateAvailableYears)({
|
|
39
41
|
marker,
|
|
@@ -53,6 +55,10 @@ const CalendarHeader = _ref => {
|
|
|
53
55
|
const MONTHS = (0, _utils.getMonths)(t);
|
|
54
56
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
55
57
|
className: _DateRangeWrapperModule.default.calendarHeader,
|
|
58
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
59
|
+
base: testId,
|
|
60
|
+
slot: `header-${marker}`
|
|
61
|
+
}),
|
|
56
62
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.ClickableIcon, {
|
|
57
63
|
ariaLabel: (0, _dateRangePicker.getTranslation)(t, 'Select Previous Month'),
|
|
58
64
|
size: "small",
|
|
@@ -61,7 +67,11 @@ const CalendarHeader = _ref => {
|
|
|
61
67
|
[_DateRangeWrapperModule.default.disabledIcon]: prevDisabled
|
|
62
68
|
}),
|
|
63
69
|
onClick: () => !prevDisabled && onClickPrevious(),
|
|
64
|
-
color: prevDisabled ? 'disabled' : 'secondary'
|
|
70
|
+
color: prevDisabled ? 'disabled' : 'secondary',
|
|
71
|
+
testId: (0, _qa.generateTestId)({
|
|
72
|
+
base: testId,
|
|
73
|
+
slot: `prev-button-${marker}`
|
|
74
|
+
})
|
|
65
75
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Dropdown.Dropdown, {
|
|
66
76
|
size: "small",
|
|
67
77
|
disabled: !availableMonths.length || (0, _dateRangePicker.isAfter)(minDate, maxDate),
|
|
@@ -73,7 +83,11 @@ const CalendarHeader = _ref => {
|
|
|
73
83
|
setMonth((0, _utils.getMonthEndDate)(_moment.default.utc(date).set('M', Number(event.key))));
|
|
74
84
|
},
|
|
75
85
|
dropdownInputText: MONTHS[_moment.default.utc(date).month()].label,
|
|
76
|
-
scrollMenuToBottom: true
|
|
86
|
+
scrollMenuToBottom: true,
|
|
87
|
+
testId: (0, _qa.generateTestId)({
|
|
88
|
+
base: testId,
|
|
89
|
+
slot: `month-dropdown-${marker}`
|
|
90
|
+
})
|
|
77
91
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Dropdown.Dropdown, {
|
|
78
92
|
disabled: !availableYears.length || (0, _dateRangePicker.isAfter)(minDate, maxDate),
|
|
79
93
|
menu: {
|
|
@@ -85,7 +99,11 @@ const CalendarHeader = _ref => {
|
|
|
85
99
|
setMonth((0, _utils.getMonthEndDate)(_moment.default.utc(date).set('y', Number(event.key))));
|
|
86
100
|
},
|
|
87
101
|
dropdownInputText: _moment.default.utc(date).year().toString(),
|
|
88
|
-
scrollMenuToBottom: true
|
|
102
|
+
scrollMenuToBottom: true,
|
|
103
|
+
testId: (0, _qa.generateTestId)({
|
|
104
|
+
base: testId,
|
|
105
|
+
slot: `year-dropdown-${marker}`
|
|
106
|
+
})
|
|
89
107
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.ClickableIcon, {
|
|
90
108
|
size: "small",
|
|
91
109
|
ariaLabel: (0, _dateRangePicker.getTranslation)(t, 'Select Next Month'),
|
|
@@ -94,7 +112,11 @@ const CalendarHeader = _ref => {
|
|
|
94
112
|
[_DateRangeWrapperModule.default.disabledIcon]: nextDisabled
|
|
95
113
|
}),
|
|
96
114
|
onClick: () => !nextDisabled && onClickNext(),
|
|
97
|
-
color: nextDisabled ? 'disabled' : 'secondary'
|
|
115
|
+
color: nextDisabled ? 'disabled' : 'secondary',
|
|
116
|
+
testId: (0, _qa.generateTestId)({
|
|
117
|
+
base: testId,
|
|
118
|
+
slot: `next-button-${marker}`
|
|
119
|
+
})
|
|
98
120
|
})]
|
|
99
121
|
});
|
|
100
122
|
};
|
|
@@ -120,7 +142,8 @@ const DateRangeWrapper = exports.DateRangeWrapper = /*#__PURE__*/React.forwardRe
|
|
|
120
142
|
startDateLabel,
|
|
121
143
|
endDateLabel,
|
|
122
144
|
t,
|
|
123
|
-
locale
|
|
145
|
+
locale,
|
|
146
|
+
testId
|
|
124
147
|
} = _ref2;
|
|
125
148
|
const canNavigateCloser = _moment.default.utc(rangeStartMonth).year() !== _moment.default.utc(rangeEndMonth).year() || Math.abs(_moment.default.utc(rangeStartMonth).month() - _moment.default.utc(rangeEndMonth).month()) > 1;
|
|
126
149
|
const handleApplyClick = () => {
|
|
@@ -149,7 +172,8 @@ const DateRangeWrapper = exports.DateRangeWrapper = /*#__PURE__*/React.forwardRe
|
|
|
149
172
|
minDate,
|
|
150
173
|
maxDate,
|
|
151
174
|
today,
|
|
152
|
-
t
|
|
175
|
+
t,
|
|
176
|
+
testId
|
|
153
177
|
};
|
|
154
178
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_FocusManager.FocusManager, {
|
|
155
179
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Card.Card, {
|
|
@@ -157,24 +181,48 @@ const DateRangeWrapper = exports.DateRangeWrapper = /*#__PURE__*/React.forwardRe
|
|
|
157
181
|
wrapper: (0, _classify.default)(_DateRangeWrapperModule.default.dateRangeWrapper, cardWrapperClass)
|
|
158
182
|
},
|
|
159
183
|
ref: ref,
|
|
184
|
+
testId: (0, _qa.generateTestId)({
|
|
185
|
+
base: testId,
|
|
186
|
+
slot: 'card'
|
|
187
|
+
}),
|
|
160
188
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_Card.CardHeader, {
|
|
161
189
|
className: _DateRangeWrapperModule.default.cardHeader,
|
|
190
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
191
|
+
base: testId,
|
|
192
|
+
slot: 'header'
|
|
193
|
+
}),
|
|
162
194
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.BodySmall, {
|
|
163
195
|
className: _DateRangeWrapperModule.default.selectedDate,
|
|
164
196
|
color: _Text.TEXT_COLORS.secondary,
|
|
197
|
+
testId: (0, _qa.generateTestId)({
|
|
198
|
+
base: testId,
|
|
199
|
+
slot: 'start-date-label'
|
|
200
|
+
}),
|
|
165
201
|
children: `${startDateLabel || (0, _dateRangePicker.getTranslation)(t, 'Start Date')}: ${(0, _dateRangePicker.getFormattedDate)(_utils.MARKERS.DATE_RANGE_START, dateRange, locale)}`
|
|
166
202
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
167
203
|
name: "minus",
|
|
168
204
|
size: _Icon.ICON_SIZE.small,
|
|
169
205
|
type: _Icon.ICON_TYPE.regular,
|
|
170
|
-
color: _Text.TEXT_COLORS.secondary
|
|
206
|
+
color: _Text.TEXT_COLORS.secondary,
|
|
207
|
+
testId: (0, _qa.generateTestId)({
|
|
208
|
+
base: testId,
|
|
209
|
+
slot: 'separator-icon'
|
|
210
|
+
})
|
|
171
211
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.BodySmall, {
|
|
172
212
|
className: _DateRangeWrapperModule.default.selectedDate,
|
|
173
213
|
color: _Text.TEXT_COLORS.secondary,
|
|
214
|
+
testId: (0, _qa.generateTestId)({
|
|
215
|
+
base: testId,
|
|
216
|
+
slot: 'end-date-label'
|
|
217
|
+
}),
|
|
174
218
|
children: `${endDateLabel || (0, _dateRangePicker.getTranslation)(t, 'End Date')}: ${(0, _dateRangePicker.getFormattedDate)(_utils.MARKERS.DATE_RANGE_END, dateRange, locale)}`
|
|
175
219
|
})]
|
|
176
220
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
177
221
|
className: _DateRangeWrapperModule.default.calendarMenuContainer,
|
|
222
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
223
|
+
base: testId,
|
|
224
|
+
slot: 'calendar-menu-container'
|
|
225
|
+
}),
|
|
178
226
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(CalendarHeader, {
|
|
179
227
|
t: t,
|
|
180
228
|
marker: _utils.MARKERS.DATE_RANGE_START,
|
|
@@ -187,7 +235,8 @@ const DateRangeWrapper = exports.DateRangeWrapper = /*#__PURE__*/React.forwardRe
|
|
|
187
235
|
minDate: minDate,
|
|
188
236
|
maxDate: maxDate,
|
|
189
237
|
onClickNext: () => onMonthNavigate(_utils.MARKERS.DATE_RANGE_START, _utils.NAVIGATION_ACTION.NEXT),
|
|
190
|
-
onClickPrevious: () => onMonthNavigate(_utils.MARKERS.DATE_RANGE_START, _utils.NAVIGATION_ACTION.PREV)
|
|
238
|
+
onClickPrevious: () => onMonthNavigate(_utils.MARKERS.DATE_RANGE_START, _utils.NAVIGATION_ACTION.PREV),
|
|
239
|
+
testId: testId
|
|
191
240
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(CalendarHeader, {
|
|
192
241
|
t: t,
|
|
193
242
|
marker: _utils.MARKERS.DATE_RANGE_END,
|
|
@@ -200,25 +249,50 @@ const DateRangeWrapper = exports.DateRangeWrapper = /*#__PURE__*/React.forwardRe
|
|
|
200
249
|
minDate: minDate,
|
|
201
250
|
maxDate: maxDate,
|
|
202
251
|
onClickNext: () => onMonthNavigate(_utils.MARKERS.DATE_RANGE_END, _utils.NAVIGATION_ACTION.NEXT),
|
|
203
|
-
onClickPrevious: () => onMonthNavigate(_utils.MARKERS.DATE_RANGE_END, _utils.NAVIGATION_ACTION.PREV)
|
|
252
|
+
onClickPrevious: () => onMonthNavigate(_utils.MARKERS.DATE_RANGE_END, _utils.NAVIGATION_ACTION.PREV),
|
|
253
|
+
testId: testId
|
|
204
254
|
})]
|
|
205
255
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Card.CardContent, {
|
|
206
256
|
className: _DateRangeWrapperModule.default.dateRangeCalendars,
|
|
257
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
258
|
+
base: testId,
|
|
259
|
+
slot: 'calendars'
|
|
260
|
+
}),
|
|
207
261
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Calendar.Calendar, {
|
|
208
262
|
marker: _utils.MARKERS.DATE_RANGE_START,
|
|
209
263
|
value: rangeStartMonth,
|
|
210
|
-
...commonProps
|
|
264
|
+
...commonProps,
|
|
265
|
+
testId: (0, _qa.generateTestId)({
|
|
266
|
+
base: testId,
|
|
267
|
+
slot: 'start-calendar'
|
|
268
|
+
})
|
|
211
269
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
212
|
-
className: _DateRangeWrapperModule.default.divider
|
|
270
|
+
className: _DateRangeWrapperModule.default.divider,
|
|
271
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
272
|
+
base: testId,
|
|
273
|
+
slot: 'divider'
|
|
274
|
+
})
|
|
213
275
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Calendar.Calendar, {
|
|
214
276
|
marker: _utils.MARKERS.DATE_RANGE_END,
|
|
215
277
|
value: rangeEndMonth,
|
|
216
|
-
...commonProps
|
|
278
|
+
...commonProps,
|
|
279
|
+
testId: (0, _qa.generateTestId)({
|
|
280
|
+
base: testId,
|
|
281
|
+
slot: 'end-calendar'
|
|
282
|
+
})
|
|
217
283
|
})]
|
|
218
284
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Card.CardFooter, {
|
|
219
285
|
className: _DateRangeWrapperModule.default.cardFooter,
|
|
286
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
287
|
+
base: testId,
|
|
288
|
+
slot: 'footer'
|
|
289
|
+
}),
|
|
220
290
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Card.CardTitle, {
|
|
221
291
|
className: _DateRangeWrapperModule.default.timezoneDropdownContainer,
|
|
292
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
293
|
+
base: testId,
|
|
294
|
+
slot: 'timezone-container'
|
|
295
|
+
}),
|
|
222
296
|
children: !hideTimezone && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Dropdown.Dropdown, {
|
|
223
297
|
menu: {
|
|
224
298
|
selectedKeys: [timezone],
|
|
@@ -239,18 +313,34 @@ const DateRangeWrapper = exports.DateRangeWrapper = /*#__PURE__*/React.forwardRe
|
|
|
239
313
|
box: _DateRangeWrapperModule.default.timezoneDropdown
|
|
240
314
|
},
|
|
241
315
|
onChange: event => setTimezone(event.key),
|
|
242
|
-
size: "small"
|
|
316
|
+
size: "small",
|
|
317
|
+
testId: (0, _qa.generateTestId)({
|
|
318
|
+
base: testId,
|
|
319
|
+
slot: 'timezone-dropdown'
|
|
320
|
+
})
|
|
243
321
|
})
|
|
244
322
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Card.CardActions, {
|
|
323
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
324
|
+
base: testId,
|
|
325
|
+
slot: 'actions'
|
|
326
|
+
}),
|
|
245
327
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
246
328
|
type: "ghost",
|
|
247
329
|
onClick: onCancel,
|
|
248
330
|
size: "small",
|
|
331
|
+
testId: (0, _qa.generateTestId)({
|
|
332
|
+
base: testId,
|
|
333
|
+
slot: 'cancel-button'
|
|
334
|
+
}),
|
|
249
335
|
children: (0, _dateRangePicker.getTranslation)(t, 'Cancel')
|
|
250
336
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
251
337
|
onClick: handleApplyClick,
|
|
252
338
|
size: "small",
|
|
253
339
|
disabled: !(dateRange.startDate && dateRange.endDate),
|
|
340
|
+
testId: (0, _qa.generateTestId)({
|
|
341
|
+
base: testId,
|
|
342
|
+
slot: 'apply-button'
|
|
343
|
+
}),
|
|
254
344
|
children: (0, _dateRangePicker.getTranslation)(t, 'Apply')
|
|
255
345
|
})]
|
|
256
346
|
})]
|
|
@@ -11,7 +11,8 @@ interface DayProps {
|
|
|
11
11
|
startOfRange: boolean;
|
|
12
12
|
onClick: () => void;
|
|
13
13
|
onHover: () => void;
|
|
14
|
+
testId?: string;
|
|
14
15
|
}
|
|
15
|
-
export declare const Day: ({ date, value, filled, onHover, onClick, disabled, hoverDay, outlined, endOfRange, highlighted, startOfRange, }: DayProps) => React.JSX.Element;
|
|
16
|
+
export declare const Day: ({ date, value, filled, onHover, onClick, disabled, hoverDay, outlined, endOfRange, highlighted, startOfRange, testId, }: DayProps) => React.JSX.Element;
|
|
16
17
|
export {};
|
|
17
18
|
//# sourceMappingURL=Day.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Day.d.ts","sourceRoot":"","sources":["../../../src/components/DateRangePicker/Day.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Day.d.ts","sourceRoot":"","sources":["../../../src/components/DateRangePicker/Day.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,UAAU,QAAQ;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAYD,eAAO,MAAM,GAAG,GAAI,yHAajB,QAAQ,sBA0BV,CAAC"}
|
|
@@ -7,6 +7,7 @@ exports.Day = void 0;
|
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _moment = _interopRequireDefault(require("moment"));
|
|
9
9
|
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
10
|
+
var _qa = require("../../utils/qa");
|
|
10
11
|
var _Button = require("../Button");
|
|
11
12
|
var _Text = require("../Text");
|
|
12
13
|
var _DayModule = _interopRequireDefault(require("./Day.module.css"));
|
|
@@ -34,7 +35,8 @@ const Day = _ref => {
|
|
|
34
35
|
outlined,
|
|
35
36
|
endOfRange,
|
|
36
37
|
highlighted,
|
|
37
|
-
startOfRange
|
|
38
|
+
startOfRange,
|
|
39
|
+
testId
|
|
38
40
|
} = _ref;
|
|
39
41
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.UnstyledButton, {
|
|
40
42
|
tabIndex: disabled ? -1 : 0,
|
|
@@ -45,6 +47,10 @@ const Day = _ref => {
|
|
|
45
47
|
onMouseOver: onHover,
|
|
46
48
|
onClick: onClick,
|
|
47
49
|
onKeyUp: onHover,
|
|
50
|
+
testId: (0, _qa.generateTestId)({
|
|
51
|
+
base: testId,
|
|
52
|
+
slot: `day-button-${date}`
|
|
53
|
+
}),
|
|
48
54
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.BodyMedium, {
|
|
49
55
|
color: getTextColor(disabled, filled),
|
|
50
56
|
className: (0, _classify.default)(_DayModule.default.calendarRowItem, {
|
|
@@ -52,6 +58,10 @@ const Day = _ref => {
|
|
|
52
58
|
[_DayModule.default.calendarRowItemFilled]: !disabled && filled,
|
|
53
59
|
[_DayModule.default.calendarRowItemOutlined]: outlined
|
|
54
60
|
}),
|
|
61
|
+
testId: (0, _qa.generateTestId)({
|
|
62
|
+
base: testId,
|
|
63
|
+
slot: `day-text-${date}`
|
|
64
|
+
}),
|
|
55
65
|
children: value
|
|
56
66
|
})
|
|
57
67
|
});
|
|
@@ -15,19 +15,23 @@ export type DialogSemanticType = (typeof DIALOG_SEMANTIC)[keyof typeof DIALOG_SE
|
|
|
15
15
|
export interface DialogHeaderProps {
|
|
16
16
|
children?: React.ReactNode;
|
|
17
17
|
className?: string;
|
|
18
|
+
testId?: string;
|
|
18
19
|
}
|
|
19
20
|
export interface DialogFooterProps {
|
|
20
21
|
children?: React.ReactNode;
|
|
21
22
|
classNames?: FooterClassNames;
|
|
23
|
+
testId?: string;
|
|
22
24
|
}
|
|
23
25
|
export interface DialogBodyProps {
|
|
24
26
|
children?: React.ReactNode;
|
|
25
27
|
className?: string;
|
|
28
|
+
testId?: string;
|
|
26
29
|
}
|
|
27
30
|
export type DialogPropsBase = ModalProps;
|
|
28
31
|
export interface DialogProps extends Omit<DialogPropsBase, 'semantic' | 'iconName'> {
|
|
29
32
|
semantic?: DialogSemanticType;
|
|
30
33
|
iconName?: string;
|
|
34
|
+
testId?: string;
|
|
31
35
|
}
|
|
32
36
|
export interface BasicDialogProps extends Omit<DialogProps, 'heading' | 'body' | 'confirmText' | 'abortText' | 'handleConfirm' | 'handleAbort'> {
|
|
33
37
|
heading?: React.ReactNode;
|
|
@@ -36,11 +40,12 @@ export interface BasicDialogProps extends Omit<DialogProps, 'heading' | 'body' |
|
|
|
36
40
|
abortText?: string;
|
|
37
41
|
handleConfirm?: (event: React.SyntheticEvent) => unknown;
|
|
38
42
|
handleAbort?: (event: React.SyntheticEvent) => unknown;
|
|
43
|
+
testId?: string;
|
|
39
44
|
}
|
|
40
|
-
export declare const DialogHeader: ({ children, className }: DialogHeaderProps) => React.JSX.Element;
|
|
41
|
-
export declare const DialogBody: ({ children, className }: DialogBodyProps) => React.JSX.Element;
|
|
42
|
-
export declare const DialogFooter: ({ children, classNames }: DialogFooterProps) => React.JSX.Element;
|
|
43
|
-
export declare const Dialog: ({ children, isOpen, hideBackdrop, onClose, tapOutsideToClose, iconName, semantic, classNames, ...restDialogProps }: DialogProps) => React.JSX.Element;
|
|
44
|
-
export declare const BasicDialog: ({ heading, body, confirmText, abortText, handleConfirm, handleAbort, ...restDialogProps }: BasicDialogProps) => React.JSX.Element;
|
|
45
|
+
export declare const DialogHeader: ({ children, className, testId, }: DialogHeaderProps) => React.JSX.Element;
|
|
46
|
+
export declare const DialogBody: ({ children, className, testId }: DialogBodyProps) => React.JSX.Element;
|
|
47
|
+
export declare const DialogFooter: ({ children, classNames, testId, }: DialogFooterProps) => React.JSX.Element;
|
|
48
|
+
export declare const Dialog: ({ children, isOpen, hideBackdrop, onClose, tapOutsideToClose, iconName, semantic, classNames, testId, ...restDialogProps }: DialogProps) => React.JSX.Element;
|
|
49
|
+
export declare const BasicDialog: ({ heading, body, confirmText, abortText, handleConfirm, handleAbort, testId, ...restDialogProps }: BasicDialogProps) => React.JSX.Element;
|
|
45
50
|
export {};
|
|
46
51
|
//# sourceMappingURL=Dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAMrD,KAAK,gBAAgB,GAAG,QAAQ,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;EAM1B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC;AAEzC,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,UAAU,CAAC;IACtD,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,gBACf,SAAQ,IAAI,CACV,WAAW,EACT,SAAS,GACT,MAAM,GACN,aAAa,GACb,WAAW,GACX,eAAe,GACf,aAAa,CAChB;IACD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,KAAK,OAAO,CAAC;IACzD,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,KAAK,OAAO,CAAC;IACvD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAyED,eAAO,MAAM,YAAY,GAAI,kCAI1B,iBAAiB,sBAWnB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,iCAA+B,eAAe,sBAOxE,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,mCAI1B,iBAAiB,sBAgBnB,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,4HAWpB,WAAW,sBA8Bb,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,mGASzB,gBAAgB,sBA0BlB,CAAC"}
|
|
@@ -7,6 +7,7 @@ exports.DialogHeader = exports.DialogFooter = exports.DialogBody = exports.Dialo
|
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _typography = require("../../types/typography");
|
|
9
9
|
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
10
|
+
var _qa = require("../../utils/qa");
|
|
10
11
|
var _Button = require("../Button");
|
|
11
12
|
var _Icon = require("../Icon");
|
|
12
13
|
var _Modal = require("../Modal");
|
|
@@ -24,55 +25,85 @@ const DIALOG_SEMANTIC = exports.DIALOG_SEMANTIC = Object.freeze({
|
|
|
24
25
|
const DialogIcon = _ref => {
|
|
25
26
|
let {
|
|
26
27
|
semantic,
|
|
27
|
-
iconName
|
|
28
|
+
iconName,
|
|
29
|
+
testId
|
|
28
30
|
} = _ref;
|
|
29
31
|
switch (semantic) {
|
|
30
32
|
case DIALOG_SEMANTIC.neutral:
|
|
31
33
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
32
34
|
color: _typography.TEXT_COLORS.neutral,
|
|
33
35
|
name: iconName ? iconName : 'face-smile',
|
|
34
|
-
type: "solid"
|
|
36
|
+
type: "solid",
|
|
37
|
+
testId: (0, _qa.generateTestId)({
|
|
38
|
+
base: testId,
|
|
39
|
+
slot: 'icon'
|
|
40
|
+
})
|
|
35
41
|
});
|
|
36
42
|
case DIALOG_SEMANTIC.success:
|
|
37
43
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
38
44
|
name: iconName ? iconName : 'circle-check',
|
|
39
45
|
color: _typography.TEXT_COLORS.success,
|
|
40
|
-
type: "solid"
|
|
46
|
+
type: "solid",
|
|
47
|
+
testId: (0, _qa.generateTestId)({
|
|
48
|
+
base: testId,
|
|
49
|
+
slot: 'icon'
|
|
50
|
+
})
|
|
41
51
|
});
|
|
42
52
|
case DIALOG_SEMANTIC.information:
|
|
43
53
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
44
54
|
name: iconName ? iconName : 'circle-info',
|
|
45
55
|
color: _typography.TEXT_COLORS.information,
|
|
46
|
-
type: "solid"
|
|
56
|
+
type: "solid",
|
|
57
|
+
testId: (0, _qa.generateTestId)({
|
|
58
|
+
base: testId,
|
|
59
|
+
slot: 'icon'
|
|
60
|
+
})
|
|
47
61
|
});
|
|
48
62
|
case DIALOG_SEMANTIC.warning:
|
|
49
63
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
50
64
|
name: iconName ? iconName : 'circle-exclamation',
|
|
51
65
|
color: _typography.TEXT_COLORS.warning,
|
|
52
|
-
type: "solid"
|
|
66
|
+
type: "solid",
|
|
67
|
+
testId: (0, _qa.generateTestId)({
|
|
68
|
+
base: testId,
|
|
69
|
+
slot: 'icon'
|
|
70
|
+
})
|
|
53
71
|
});
|
|
54
72
|
case DIALOG_SEMANTIC.danger:
|
|
55
73
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
56
74
|
name: iconName ? iconName : 'shield-exclamation',
|
|
57
75
|
color: _typography.TEXT_COLORS.danger,
|
|
58
|
-
type: "solid"
|
|
76
|
+
type: "solid",
|
|
77
|
+
testId: (0, _qa.generateTestId)({
|
|
78
|
+
base: testId,
|
|
79
|
+
slot: 'icon'
|
|
80
|
+
})
|
|
59
81
|
});
|
|
60
82
|
default:
|
|
61
83
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
62
84
|
color: _typography.TEXT_COLORS.neutral,
|
|
63
85
|
name: iconName ? iconName : 'face-smile',
|
|
64
|
-
type: "solid"
|
|
86
|
+
type: "solid",
|
|
87
|
+
testId: (0, _qa.generateTestId)({
|
|
88
|
+
base: testId,
|
|
89
|
+
slot: 'icon'
|
|
90
|
+
})
|
|
65
91
|
});
|
|
66
92
|
}
|
|
67
93
|
};
|
|
68
94
|
const DialogHeader = _ref2 => {
|
|
69
95
|
let {
|
|
70
96
|
children,
|
|
71
|
-
className
|
|
97
|
+
className,
|
|
98
|
+
testId
|
|
72
99
|
} = _ref2;
|
|
73
100
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
74
101
|
children: React.Children.count(children) > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
75
102
|
className: (0, _classify.default)(_DialogModule.default.dialogHeader, className),
|
|
103
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
104
|
+
base: testId,
|
|
105
|
+
slot: 'header'
|
|
106
|
+
}),
|
|
76
107
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
77
108
|
className: _DialogModule.default.headerContent,
|
|
78
109
|
children: children
|
|
@@ -84,10 +115,15 @@ exports.DialogHeader = DialogHeader;
|
|
|
84
115
|
const DialogBody = _ref3 => {
|
|
85
116
|
let {
|
|
86
117
|
children,
|
|
87
|
-
className
|
|
118
|
+
className,
|
|
119
|
+
testId
|
|
88
120
|
} = _ref3;
|
|
89
121
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
90
122
|
className: (0, _classify.default)(_DialogModule.default.dialogBody, className),
|
|
123
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
124
|
+
base: testId,
|
|
125
|
+
slot: 'body'
|
|
126
|
+
}),
|
|
91
127
|
children: children
|
|
92
128
|
});
|
|
93
129
|
};
|
|
@@ -95,13 +131,22 @@ exports.DialogBody = DialogBody;
|
|
|
95
131
|
const DialogFooter = _ref4 => {
|
|
96
132
|
let {
|
|
97
133
|
children,
|
|
98
|
-
classNames
|
|
134
|
+
classNames,
|
|
135
|
+
testId
|
|
99
136
|
} = _ref4;
|
|
100
137
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
101
138
|
children: React.Children.count(children) > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
102
139
|
className: (0, _classify.default)(_DialogModule.default.dialogFooter, classNames?.wrapper),
|
|
140
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
141
|
+
base: testId,
|
|
142
|
+
slot: 'footer'
|
|
143
|
+
}),
|
|
103
144
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
104
145
|
className: (0, _classify.default)(_DialogModule.default.dialogFooterActions, classNames?.actions),
|
|
146
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
147
|
+
base: testId,
|
|
148
|
+
slot: 'actions'
|
|
149
|
+
}),
|
|
105
150
|
children: children
|
|
106
151
|
})
|
|
107
152
|
})
|
|
@@ -118,6 +163,7 @@ const Dialog = _ref5 => {
|
|
|
118
163
|
iconName = '',
|
|
119
164
|
semantic = 'neutral',
|
|
120
165
|
classNames,
|
|
166
|
+
testId,
|
|
121
167
|
...restDialogProps
|
|
122
168
|
} = _ref5;
|
|
123
169
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Modal.Modal, {
|
|
@@ -125,6 +171,7 @@ const Dialog = _ref5 => {
|
|
|
125
171
|
onClose: onClose,
|
|
126
172
|
hideBackdrop: hideBackdrop,
|
|
127
173
|
tapOutsideToClose: tapOutsideToClose,
|
|
174
|
+
testId: testId,
|
|
128
175
|
...restDialogProps,
|
|
129
176
|
classNames: {
|
|
130
177
|
content: (0, _classify.default)(_DialogModule.default.dialog, classNames?.content),
|
|
@@ -141,9 +188,14 @@ const Dialog = _ref5 => {
|
|
|
141
188
|
[_DialogModule.default.warning]: semantic === DIALOG_SEMANTIC.warning,
|
|
142
189
|
[_DialogModule.default.danger]: semantic === DIALOG_SEMANTIC.danger
|
|
143
190
|
}),
|
|
191
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
192
|
+
base: testId,
|
|
193
|
+
slot: 'icon-container'
|
|
194
|
+
}),
|
|
144
195
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(DialogIcon, {
|
|
145
196
|
semantic: semantic,
|
|
146
|
-
iconName: iconName
|
|
197
|
+
iconName: iconName,
|
|
198
|
+
testId: testId
|
|
147
199
|
})
|
|
148
200
|
})
|
|
149
201
|
}), children]
|
|
@@ -158,23 +210,36 @@ const BasicDialog = _ref6 => {
|
|
|
158
210
|
abortText,
|
|
159
211
|
handleConfirm,
|
|
160
212
|
handleAbort,
|
|
213
|
+
testId,
|
|
161
214
|
...restDialogProps
|
|
162
215
|
} = _ref6;
|
|
163
216
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Dialog, {
|
|
164
217
|
...restDialogProps,
|
|
218
|
+
testId: testId,
|
|
165
219
|
children: [!!heading && /*#__PURE__*/(0, _jsxRuntime.jsx)(DialogHeader, {
|
|
220
|
+
testId: testId,
|
|
166
221
|
children: heading
|
|
167
222
|
}), !!body && /*#__PURE__*/(0, _jsxRuntime.jsx)(DialogBody, {
|
|
223
|
+
testId: testId,
|
|
168
224
|
children: body
|
|
169
225
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(DialogFooter, {
|
|
226
|
+
testId: testId,
|
|
170
227
|
children: [!!abortText && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
171
228
|
isFluid: true,
|
|
172
229
|
type: "tertiary",
|
|
173
230
|
onClick: handleAbort,
|
|
231
|
+
testId: (0, _qa.generateTestId)({
|
|
232
|
+
base: testId,
|
|
233
|
+
slot: 'abort-button'
|
|
234
|
+
}),
|
|
174
235
|
children: abortText
|
|
175
236
|
}), !!confirmText && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
176
237
|
isFluid: true,
|
|
177
238
|
onClick: handleConfirm,
|
|
239
|
+
testId: (0, _qa.generateTestId)({
|
|
240
|
+
base: testId,
|
|
241
|
+
slot: 'confirm-button'
|
|
242
|
+
}),
|
|
178
243
|
children: confirmText
|
|
179
244
|
})]
|
|
180
245
|
})]
|
|
@@ -19,6 +19,7 @@ export interface DropdownProps extends Omit<InputProps, 'classNames' | 'onChange
|
|
|
19
19
|
menu?: MenuProps;
|
|
20
20
|
elevation?: ElevationType;
|
|
21
21
|
clickAwayRef?: React.RefObject<ClickAwayRefType | null>;
|
|
22
|
+
testId?: string;
|
|
22
23
|
}
|
|
23
24
|
export declare const Dropdown: Flow.AbstractComponent<DropdownProps, HTMLInputElement>;
|
|
24
25
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.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":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.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;AAErD,OAAO,KAAK,EAAC,UAAU,EAAE,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAE/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;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH,MAAM,WAAW,aACf,SAAQ,IAAI,CACV,UAAU,EACR,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,aAAa,GACb,oBAAoB,GACpB,mBAAmB,GACnB,MAAM,GACN,WAAW,GACX,cAAc,CACjB;IACD,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,CACT,MAAM,EAAE,UAAU,EAClB,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,GAAG,SAAS,KACxD,OAAO,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC;IAC5B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACxD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,QAAQ,EAAE,IAAI,CAAC,iBAAiB,CAAC,aAAa,EAAE,gBAAgB,CAgJ1E,CAAC"}
|