@pega/cosmos-react-demos 4.0.0-dev.20.0 → 4.0.0-dev.21.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/jsx/build/AppShell/AppShell.stories.d.ts +5 -5
- package/jsx/build/AppShell/AppShell.stories.d.ts.map +1 -1
- package/jsx/build/AppShell/AppShell.stories.jsx.map +1 -1
- package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +3 -3
- package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
- package/jsx/build/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -1
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +8 -8
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +1 -1
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx +1 -2
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.stories.jsx.map +1 -1
- package/jsx/build/FlowModeller/FlowModeller.stories.d.ts +5 -5
- package/jsx/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
- package/jsx/build/FlowModeller/FlowModeller.stories.jsx.map +1 -1
- package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts +3 -3
- package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
- package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx +1 -2
- package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx.map +1 -1
- package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +6 -6
- package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
- package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +1 -1
- package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +3 -3
- package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +1 -1
- package/jsx/build/MobileBuildSummary/MobileBuildSummary.stories.jsx.map +1 -1
- package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts +6 -6
- package/jsx/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -1
- package/jsx/build/ObjectSelect/ObjectSelect.stories.jsx.map +1 -1
- package/jsx/build/PageBanner/PageBanner.stories.d.ts +5 -5
- package/jsx/build/PageBanner/PageBanner.stories.d.ts.map +1 -1
- package/jsx/build/PageBanner/PageBanner.stories.jsx.map +1 -1
- package/jsx/build/PageTemplates/GalleryPage.stories.d.ts +4 -4
- package/jsx/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
- package/jsx/build/PageTemplates/GalleryPage.stories.jsx.map +1 -1
- package/jsx/build/PageTemplates/PageTemplates.stories.d.ts +5 -5
- package/jsx/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/jsx/build/PageTemplates/PageTemplates.stories.jsx.map +1 -1
- package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts +5 -5
- package/jsx/build/PageTemplates/ShowcasePage.stories.d.ts.map +1 -1
- package/jsx/build/PageTemplates/ShowcasePage.stories.jsx.map +1 -1
- package/jsx/build/Workbench/Workbench.stories.d.ts +4 -4
- package/jsx/build/Workbench/Workbench.stories.d.ts.map +1 -1
- package/jsx/build/Workbench/Workbench.stories.jsx.map +1 -1
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +5 -5
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +1 -1
- package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts +4 -4
- package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +1 -1
- package/jsx/condition-builder/ConditionInput/ConditionInput.stories.jsx.map +1 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +3 -3
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +1 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx.map +1 -1
- package/jsx/core/AIButton/AIButton.stories.d.ts +7 -7
- package/jsx/core/AIButton/AIButton.stories.d.ts.map +1 -1
- package/jsx/core/AIButton/AIButton.stories.jsx.map +1 -1
- package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts +4 -4
- package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -1
- package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx.map +1 -1
- package/jsx/core/AppShell/AppShell.stories.d.ts +5 -5
- package/jsx/core/AppShell/AppShell.stories.d.ts.map +1 -1
- package/jsx/core/AppShell/AppShell.stories.jsx.map +1 -1
- package/jsx/core/Avatar/Avatar.stories.d.ts +9 -9
- package/jsx/core/Avatar/Avatar.stories.d.ts.map +1 -1
- package/jsx/core/Avatar/Avatar.stories.jsx.map +1 -1
- package/jsx/core/Backdrop/Backdrop.stories.d.ts +5 -5
- package/jsx/core/Backdrop/Backdrop.stories.d.ts.map +1 -1
- package/jsx/core/Backdrop/Backdrop.stories.jsx.map +1 -1
- package/jsx/core/Badges/Alert.stories.d.ts +4 -4
- package/jsx/core/Badges/Alert.stories.d.ts.map +1 -1
- package/jsx/core/Badges/Alert.stories.jsx.map +1 -1
- package/jsx/core/Badges/Count.stories.d.ts +4 -4
- package/jsx/core/Badges/Count.stories.d.ts.map +1 -1
- package/jsx/core/Badges/Count.stories.jsx.map +1 -1
- package/jsx/core/Badges/Keyboard.stories.d.ts +4 -4
- package/jsx/core/Badges/Keyboard.stories.d.ts.map +1 -1
- package/jsx/core/Badges/Keyboard.stories.jsx.map +1 -1
- package/jsx/core/Badges/Selection.stories.d.ts +3 -3
- package/jsx/core/Badges/Selection.stories.d.ts.map +1 -1
- package/jsx/core/Badges/Selection.stories.jsx.map +1 -1
- package/jsx/core/Badges/Status.stories.d.ts +5 -5
- package/jsx/core/Badges/Status.stories.d.ts.map +1 -1
- package/jsx/core/Badges/Status.stories.jsx.map +1 -1
- package/jsx/core/Badges/Tag.stories.d.ts +3 -3
- package/jsx/core/Badges/Tag.stories.d.ts.map +1 -1
- package/jsx/core/Badges/Tag.stories.jsx.map +1 -1
- package/jsx/core/Banner/Banner.stories.d.ts +7 -7
- package/jsx/core/Banner/Banner.stories.d.ts.map +1 -1
- package/jsx/core/Banner/Banner.stories.jsx.map +1 -1
- package/jsx/core/Boolean/BooleanDisplay.stories.d.ts +4 -4
- package/jsx/core/Boolean/BooleanDisplay.stories.d.ts.map +1 -1
- package/jsx/core/Boolean/BooleanDisplay.stories.jsx.map +1 -1
- package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +4 -4
- package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
- package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -1
- package/jsx/core/Button/Button.stories.d.ts +9 -9
- package/jsx/core/Button/Button.stories.d.ts.map +1 -1
- package/jsx/core/Button/Button.stories.jsx.map +1 -1
- package/jsx/core/Card/Card.stories.d.ts +6 -6
- package/jsx/core/Card/Card.stories.d.ts.map +1 -1
- package/jsx/core/Card/Card.stories.jsx.map +1 -1
- package/jsx/core/Checkbox/Checkbox.stories.d.ts +6 -6
- package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/jsx/core/Checkbox/Checkbox.stories.jsx.map +1 -1
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts +5 -5
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -1
- package/jsx/core/ColorPicker/ColorPicker.stories.d.ts +5 -5
- package/jsx/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
- package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +1 -1
- package/jsx/core/ComboBox/ComboBox.stories.d.ts +9 -9
- package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
- package/jsx/core/ComboBox/ComboBox.stories.jsx.map +1 -1
- package/jsx/core/CompositeInput/CompositeInput.stories.d.ts +3 -3
- package/jsx/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -1
- package/jsx/core/CompositeInput/CompositeInput.stories.jsx.map +1 -1
- package/jsx/core/Configuration/Configuration.stories.d.ts +8 -8
- package/jsx/core/Configuration/Configuration.stories.d.ts.map +1 -1
- package/jsx/core/Configuration/Configuration.stories.jsx.map +1 -1
- package/jsx/core/CreditCard/CreditCard.stories.d.ts +4 -4
- package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +1 -1
- package/jsx/core/CreditCard/CreditCard.stories.jsx +1 -2
- package/jsx/core/CreditCard/CreditCard.stories.jsx.map +1 -1
- package/jsx/core/Currency/Currency.stories.d.ts +5 -5
- package/jsx/core/Currency/Currency.stories.d.ts.map +1 -1
- package/jsx/core/Currency/Currency.stories.jsx.map +1 -1
- package/jsx/core/DangerButton/DangerButton.stories.d.ts +4 -4
- package/jsx/core/DangerButton/DangerButton.stories.d.ts.map +1 -1
- package/jsx/core/DangerButton/DangerButton.stories.jsx.map +1 -1
- package/jsx/core/DateTime/DateTime.stories.d.ts +13 -13
- package/jsx/core/DateTime/DateTime.stories.d.ts.map +1 -1
- package/jsx/core/DateTime/DateTime.stories.jsx.map +1 -1
- package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts +5 -5
- package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -1
- package/jsx/core/DateTime/DateTimeDisplay.stories.jsx.map +1 -1
- package/jsx/core/DateTime/DateTimePicker.stories.d.ts +5 -5
- package/jsx/core/DateTime/DateTimePicker.stories.d.ts.map +1 -1
- package/jsx/core/DateTime/DateTimePicker.stories.jsx.map +1 -1
- package/jsx/core/Dialog/Dialog.stories.d.ts +5 -5
- package/jsx/core/Dialog/Dialog.stories.d.ts.map +1 -1
- package/jsx/core/Dialog/Dialog.stories.jsx.map +1 -1
- package/jsx/core/Drawer/Drawer.stories.d.ts +5 -5
- package/jsx/core/Drawer/Drawer.stories.d.ts.map +1 -1
- package/jsx/core/Drawer/Drawer.stories.jsx.map +1 -1
- package/jsx/core/Email/EmailDisplay.stories.d.ts +4 -4
- package/jsx/core/Email/EmailDisplay.stories.d.ts.map +1 -1
- package/jsx/core/Email/EmailDisplay.stories.jsx.map +1 -1
- package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts +6 -6
- package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts.map +1 -1
- package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx.map +1 -1
- package/jsx/core/EmptyState/EmptyState.stories.d.ts +4 -4
- package/jsx/core/EmptyState/EmptyState.stories.d.ts.map +1 -1
- package/jsx/core/EmptyState/EmptyState.stories.jsx.map +1 -1
- package/jsx/core/ErrorState/ErrorState.stories.d.ts +4 -4
- package/jsx/core/ErrorState/ErrorState.stories.d.ts.map +1 -1
- package/jsx/core/ErrorState/ErrorState.stories.jsx.map +1 -1
- package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts +5 -5
- package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +1 -1
- package/jsx/core/ExpandCollapse/ExpandCollapse.stories.jsx.map +1 -1
- package/jsx/core/FieldGroup/FieldGroup.stories.d.ts +4 -4
- package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
- package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +1 -1
- package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts +5 -5
- package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
- package/jsx/core/FieldGroup/FieldGroupList.stories.jsx.map +1 -1
- package/jsx/core/FieldValueList/FieldValueList.stories.d.ts +4 -4
- package/jsx/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
- package/jsx/core/FieldValueList/FieldValueList.stories.jsx.map +1 -1
- package/jsx/core/File/FileDisplay.stories.d.ts +6 -6
- package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -1
- package/jsx/core/File/FileDisplay.stories.jsx.map +1 -1
- package/jsx/core/File/FileInput.stories.d.ts +4 -4
- package/jsx/core/File/FileInput.stories.d.ts.map +1 -1
- package/jsx/core/File/FileInput.stories.jsx.map +1 -1
- package/jsx/core/Flex/FlexContainer.stories.d.ts +10 -10
- package/jsx/core/Flex/FlexContainer.stories.d.ts.map +1 -1
- package/jsx/core/Flex/FlexContainer.stories.jsx.map +1 -1
- package/jsx/core/Flex/FlexItem.stories.d.ts +6 -6
- package/jsx/core/Flex/FlexItem.stories.d.ts.map +1 -1
- package/jsx/core/Flex/FlexItem.stories.jsx.map +1 -1
- package/jsx/core/Form/Form.stories.d.ts +8 -8
- package/jsx/core/Form/Form.stories.d.ts.map +1 -1
- package/jsx/core/Form/Form.stories.jsx.map +1 -1
- package/jsx/core/Grid/GridContainer.stories.d.ts +12 -12
- package/jsx/core/Grid/GridContainer.stories.d.ts.map +1 -1
- package/jsx/core/Grid/GridContainer.stories.jsx.map +1 -1
- package/jsx/core/Grid/GridItem.stories.d.ts +6 -6
- package/jsx/core/Grid/GridItem.stories.d.ts.map +1 -1
- package/jsx/core/Grid/GridItem.stories.jsx.map +1 -1
- package/jsx/core/HTML/HTML.stories.d.ts +4 -4
- package/jsx/core/HTML/HTML.stories.d.ts.map +1 -1
- package/jsx/core/HTML/HTML.stories.jsx.map +1 -1
- package/jsx/core/Icon/Icon.stories.d.ts +6 -6
- package/jsx/core/Icon/Icon.stories.d.ts.map +1 -1
- package/jsx/core/Icon/Icon.stories.jsx.map +1 -1
- package/jsx/core/IconPicker/IconPicker.stories.d.ts +4 -4
- package/jsx/core/IconPicker/IconPicker.stories.d.ts.map +1 -1
- package/jsx/core/IconPicker/IconPicker.stories.jsx.map +1 -1
- package/jsx/core/Image/Image.stories.d.ts +3 -3
- package/jsx/core/Image/Image.stories.d.ts.map +1 -1
- package/jsx/core/Image/Image.stories.jsx.map +1 -1
- package/jsx/core/Input/Input.stories.d.ts +6 -6
- package/jsx/core/Input/Input.stories.d.ts.map +1 -1
- package/jsx/core/Input/Input.stories.jsx.map +1 -1
- package/jsx/core/Label/Label.stories.d.ts +5 -5
- package/jsx/core/Label/Label.stories.d.ts.map +1 -1
- package/jsx/core/Label/Label.stories.jsx.map +1 -1
- package/jsx/core/Lightbox/Lightbox.stories.d.ts +3 -3
- package/jsx/core/Lightbox/Lightbox.stories.d.ts.map +1 -1
- package/jsx/core/Lightbox/Lightbox.stories.jsx.map +1 -1
- package/jsx/core/Link/Link.stories.d.ts +7 -7
- package/jsx/core/Link/Link.stories.d.ts.map +1 -1
- package/jsx/core/Link/Link.stories.jsx.map +1 -1
- package/jsx/core/List/CommaSeparatedList.stories.d.ts +4 -4
- package/jsx/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
- package/jsx/core/List/CommaSeparatedList.stories.jsx.map +1 -1
- package/jsx/core/List/OrderedList.stories.d.ts +4 -4
- package/jsx/core/List/OrderedList.stories.d.ts.map +1 -1
- package/jsx/core/List/OrderedList.stories.jsx.map +1 -1
- package/jsx/core/List/UnorderedList.stories.d.ts +4 -4
- package/jsx/core/List/UnorderedList.stories.d.ts.map +1 -1
- package/jsx/core/List/UnorderedList.stories.jsx.map +1 -1
- package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +5 -5
- package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
- package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -1
- package/jsx/core/LiveLog/LiveLog.stories.d.ts +4 -4
- package/jsx/core/LiveLog/LiveLog.stories.d.ts.map +1 -1
- package/jsx/core/LiveLog/LiveLog.stories.jsx.map +1 -1
- package/jsx/core/Location/Location.stories.d.ts +7 -7
- package/jsx/core/Location/Location.stories.d.ts.map +1 -1
- package/jsx/core/Location/Location.stories.jsx +6 -2
- package/jsx/core/Location/Location.stories.jsx.map +1 -1
- package/jsx/core/Menu/Menu.stories.d.ts +6 -6
- package/jsx/core/Menu/Menu.stories.d.ts.map +1 -1
- package/jsx/core/Menu/Menu.stories.jsx.map +1 -1
- package/jsx/core/MenuButton/MenuButton.stories.d.ts +7 -7
- package/jsx/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
- package/jsx/core/MenuButton/MenuButton.stories.jsx.map +1 -1
- package/jsx/core/MetaList/MetaList.stories.d.ts +4 -4
- package/jsx/core/MetaList/MetaList.stories.d.ts.map +1 -1
- package/jsx/core/MetaList/MetaList.stories.jsx.map +1 -1
- package/jsx/core/Modal/Modal.stories.d.ts +11 -11
- package/jsx/core/Modal/Modal.stories.d.ts.map +1 -1
- package/jsx/core/Modal/Modal.stories.jsx.map +1 -1
- package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts +5 -5
- package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
- package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx.map +1 -1
- package/jsx/core/NoValue/NoValue.stories.d.ts +4 -4
- package/jsx/core/NoValue/NoValue.stories.d.ts.map +1 -1
- package/jsx/core/NoValue/NoValue.stories.jsx.map +1 -1
- package/jsx/core/Number/Number.stories.d.ts +7 -7
- package/jsx/core/Number/Number.stories.d.ts.map +1 -1
- package/jsx/core/Number/Number.stories.jsx.map +1 -1
- package/jsx/core/PageTemplates/PageTemplates.stories.d.ts +7 -7
- package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
- package/jsx/core/Pagination/Pagination.stories.d.ts +4 -4
- package/jsx/core/Pagination/Pagination.stories.d.ts.map +1 -1
- package/jsx/core/Pagination/Pagination.stories.jsx.map +1 -1
- package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts +4 -4
- package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts.map +1 -1
- package/jsx/core/Paragraph/ParagraphDisplay.stories.jsx.map +1 -1
- package/jsx/core/Phone/Phone.stories.d.ts +5 -5
- package/jsx/core/Phone/Phone.stories.d.ts.map +1 -1
- package/jsx/core/Phone/Phone.stories.jsx.map +1 -1
- package/jsx/core/Popover/Popover.stories.d.ts +7 -7
- package/jsx/core/Popover/Popover.stories.d.ts.map +1 -1
- package/jsx/core/Popover/Popover.stories.jsx.map +1 -1
- package/jsx/core/Progress/Progress.stories.d.ts +5 -5
- package/jsx/core/Progress/Progress.stories.d.ts.map +1 -1
- package/jsx/core/Progress/Progress.stories.jsx.map +1 -1
- package/jsx/core/QRCode/QRCode.stories.d.ts +3 -3
- package/jsx/core/QRCode/QRCode.stories.d.ts.map +1 -1
- package/jsx/core/QRCode/QRCode.stories.jsx.map +1 -1
- package/jsx/core/RadioButton/RadioButton.stories.d.ts +6 -6
- package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
- package/jsx/core/RadioButton/RadioButton.stories.jsx.map +1 -1
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +5 -5
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -1
- package/jsx/core/Rating/Rating.stories.d.ts +5 -5
- package/jsx/core/Rating/Rating.stories.d.ts.map +1 -1
- package/jsx/core/Rating/Rating.stories.jsx.map +1 -1
- package/jsx/core/SearchInput/SearchInput.stories.d.ts +5 -5
- package/jsx/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
- package/jsx/core/SearchInput/SearchInput.stories.jsx.map +1 -1
- package/jsx/core/Select/Select.stories.d.ts +5 -5
- package/jsx/core/Select/Select.stories.d.ts.map +1 -1
- package/jsx/core/Select/Select.stories.jsx.map +1 -1
- package/jsx/core/Sentiment/Sentiment.stories.d.ts +5 -5
- package/jsx/core/Sentiment/Sentiment.stories.d.ts.map +1 -1
- package/jsx/core/Sentiment/Sentiment.stories.jsx.map +1 -1
- package/jsx/core/SkipLinks/SkipLinks.stories.d.ts +4 -4
- package/jsx/core/SkipLinks/SkipLinks.stories.d.ts.map +1 -1
- package/jsx/core/SkipLinks/SkipLinks.stories.jsx.map +1 -1
- package/jsx/core/Slider/Slider.stories.d.ts +4 -4
- package/jsx/core/Slider/Slider.stories.d.ts.map +1 -1
- package/jsx/core/Slider/Slider.stories.jsx.map +1 -1
- package/jsx/core/SummaryItem/SummaryItem.stories.d.ts +4 -4
- package/jsx/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
- package/jsx/core/SummaryItem/SummaryItem.stories.jsx.map +1 -1
- package/jsx/core/SummaryList/SummaryList.stories.d.ts +5 -5
- package/jsx/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
- package/jsx/core/SummaryList/SummaryList.stories.jsx.map +1 -1
- package/jsx/core/Switch/Switch.stories.d.ts +6 -6
- package/jsx/core/Switch/Switch.stories.d.ts.map +1 -1
- package/jsx/core/Switch/Switch.stories.jsx.map +1 -1
- package/jsx/core/Table/Table.stories.d.ts +6 -6
- package/jsx/core/Table/Table.stories.d.ts.map +1 -1
- package/jsx/core/Table/Table.stories.jsx.map +1 -1
- package/jsx/core/Tabs/Tabs.stories.d.ts +4 -4
- package/jsx/core/Tabs/Tabs.stories.d.ts.map +1 -1
- package/jsx/core/Tabs/Tabs.stories.jsx.map +1 -1
- package/jsx/core/Text/Text.stories.d.ts +5 -5
- package/jsx/core/Text/Text.stories.d.ts.map +1 -1
- package/jsx/core/Text/Text.stories.jsx.map +1 -1
- package/jsx/core/TextArea/TextArea.stories.d.ts +5 -5
- package/jsx/core/TextArea/TextArea.stories.d.ts.map +1 -1
- package/jsx/core/TextArea/TextArea.stories.jsx.map +1 -1
- package/jsx/core/Toaster/Toaster.stories.d.ts +3 -3
- package/jsx/core/Toaster/Toaster.stories.d.ts.map +1 -1
- package/jsx/core/Toaster/Toaster.stories.jsx.map +1 -1
- package/jsx/core/Tooltip/Tooltip.stories.d.ts +5 -5
- package/jsx/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/jsx/core/Tooltip/Tooltip.stories.jsx.map +1 -1
- package/jsx/core/Tree/Tree.stories.d.ts +5 -5
- package/jsx/core/Tree/Tree.stories.d.ts.map +1 -1
- package/jsx/core/Tree/Tree.stories.jsx.map +1 -1
- package/jsx/core/URL/URL.stories.d.ts +4 -4
- package/jsx/core/URL/URL.stories.d.ts.map +1 -1
- package/jsx/core/URL/URL.stories.jsx.map +1 -1
- package/jsx/cs/Article/Article.stories.d.ts +3 -3
- package/jsx/cs/Article/Article.stories.d.ts.map +1 -1
- package/jsx/cs/Article/Article.stories.jsx.map +1 -1
- package/jsx/cs/ArticleList/ArticleList.mocks.js +1 -1
- package/jsx/cs/ArticleList/ArticleList.mocks.js.map +1 -1
- package/jsx/cs/ArticleList/ArticleList.stories.d.ts +3 -3
- package/jsx/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
- package/jsx/cs/ArticleList/ArticleList.stories.jsx.map +1 -1
- package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts +4 -4
- package/jsx/cs/CSAppShell/CSAppShell.stories.d.ts.map +1 -1
- package/jsx/cs/CSAppShell/CSAppShell.stories.jsx.map +1 -1
- package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts +5 -5
- package/jsx/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
- package/jsx/cs/CallControlPanel/CallControlPanel.stories.jsx.map +1 -1
- package/jsx/cs/DialPad/DialPad.stories.d.ts +4 -4
- package/jsx/cs/DialPad/DialPad.stories.d.ts.map +1 -1
- package/jsx/cs/DialPad/DialPad.stories.jsx.map +1 -1
- package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts +3 -3
- package/jsx/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
- package/jsx/cs/InteractionNotification/InteractionNotification.stories.jsx.map +1 -1
- package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts +4 -4
- package/jsx/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
- package/jsx/cs/InteractionTimer/InteractionTimer.stories.jsx.map +1 -1
- package/jsx/cs/Picker/Picker.stories.d.ts +6 -6
- package/jsx/cs/Picker/Picker.stories.d.ts.map +1 -1
- package/jsx/cs/Picker/Picker.stories.jsx.map +1 -1
- package/jsx/cs/TaskManager/TaskManager.stories.d.ts +5 -5
- package/jsx/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
- package/jsx/cs/TaskManager/TaskManager.stories.jsx.map +1 -1
- package/jsx/dnd/DragDropList/DragDropList.stories.d.ts +4 -4
- package/jsx/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
- package/jsx/dnd/DragDropList/DragDropList.stories.jsx.map +1 -1
- package/jsx/dnd/StandardDragDropList/Demo.d.ts +1 -0
- package/jsx/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +3 -3
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +1 -1
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx.map +1 -1
- package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +3 -3
- package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
- package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -1
- package/jsx/rte/Editor/Editor.stories.d.ts +8 -8
- package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -1
- package/jsx/rte/Editor/Editor.stories.jsx.map +1 -1
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts +4 -4
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +1 -1
- package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts +6 -6
- package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
- package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx.map +1 -1
- package/jsx/social/Chat/Chat.stories.d.ts +11 -11
- package/jsx/social/Chat/Chat.stories.d.ts.map +1 -1
- package/jsx/social/Chat/Chat.stories.jsx +8 -2
- package/jsx/social/Chat/Chat.stories.jsx.map +1 -1
- package/jsx/social/Email/Email.stories.d.ts +15 -15
- package/jsx/social/Email/Email.stories.d.ts.map +1 -1
- package/jsx/social/Email/Email.stories.jsx.map +1 -1
- package/jsx/social/Feed/Feed.stories.d.ts +5 -5
- package/jsx/social/Feed/Feed.stories.d.ts.map +1 -1
- package/jsx/social/Feed/Feed.stories.jsx.map +1 -1
- package/jsx/social/Feed/FeedNewPost.stories.d.ts +4 -4
- package/jsx/social/Feed/FeedNewPost.stories.d.ts.map +1 -1
- package/jsx/social/Feed/FeedNewPost.stories.jsx.map +1 -1
- package/jsx/social/Feed/FeedPost.stories.d.ts +6 -6
- package/jsx/social/Feed/FeedPost.stories.d.ts.map +1 -1
- package/jsx/social/Feed/FeedPost.stories.jsx.map +1 -1
- package/jsx/social/Feed/FeedReply.stories.d.ts +5 -5
- package/jsx/social/Feed/FeedReply.stories.d.ts.map +1 -1
- package/jsx/social/Feed/FeedReply.stories.jsx.map +1 -1
- package/jsx/social/Feed/FeedReplyInput.stories.d.ts +4 -4
- package/jsx/social/Feed/FeedReplyInput.stories.d.ts.map +1 -1
- package/jsx/social/Feed/FeedReplyInput.stories.jsx.map +1 -1
- package/jsx/tools/Clipboard/Clipboard.stories.d.ts +4 -4
- package/jsx/tools/Clipboard/Clipboard.stories.d.ts.map +1 -1
- package/jsx/tools/Clipboard/Clipboard.stories.jsx.map +1 -1
- package/jsx/tools/DevTools/DevTools.stories.d.ts +4 -4
- package/jsx/tools/DevTools/DevTools.stories.d.ts.map +1 -1
- package/jsx/tools/DevTools/DevTools.stories.jsx.map +1 -1
- package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts +7 -7
- package/jsx/tools/PreviewShell/PreviewShell.stories.d.ts.map +1 -1
- package/jsx/tools/PreviewShell/PreviewShell.stories.jsx.map +1 -1
- package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts +4 -4
- package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +1 -1
- package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx.map +1 -1
- package/jsx/work/Assignments/Assignments.stories.d.ts +4 -4
- package/jsx/work/Assignments/Assignments.stories.d.ts.map +1 -1
- package/jsx/work/Assignments/Assignments.stories.jsx.map +1 -1
- package/jsx/work/CaseView/CaseView.stories.d.ts +3 -3
- package/jsx/work/CaseView/CaseView.stories.d.ts.map +1 -1
- package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -1
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -3
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +1 -1
- package/jsx/work/Confirmation/Confirmation.stories.d.ts +4 -4
- package/jsx/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
- package/jsx/work/Confirmation/Confirmation.stories.jsx.map +1 -1
- package/jsx/work/Details/Details.stories.d.ts +3 -3
- package/jsx/work/Details/Details.stories.d.ts.map +1 -1
- package/jsx/work/Details/Details.stories.jsx.map +1 -1
- package/jsx/work/Glimpse/Glimpse.stories.d.ts +3 -3
- package/jsx/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
- package/jsx/work/Glimpse/Glimpse.stories.jsx.map +1 -1
- package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -4
- package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
- package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -1
- package/jsx/work/Predictions/Predictions.stories.d.ts +3 -3
- package/jsx/work/Predictions/Predictions.stories.d.ts.map +1 -1
- package/jsx/work/Predictions/Predictions.stories.jsx.map +1 -1
- package/jsx/work/SearchResults/SearchResults.stories.d.ts +3 -3
- package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
- package/jsx/work/SearchResults/SearchResults.stories.jsx.map +1 -1
- package/jsx/work/Stages/Stages.stories.d.ts +4 -4
- package/jsx/work/Stages/Stages.stories.d.ts.map +1 -1
- package/jsx/work/Stages/Stages.stories.jsx.map +1 -1
- package/jsx/work/Stakeholders/Stakeholders.stories.d.ts +3 -3
- package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
- package/jsx/work/Stakeholders/Stakeholders.stories.jsx.map +1 -1
- package/jsx/work/Tags/Tags.stories.d.ts +3 -3
- package/jsx/work/Tags/Tags.stories.d.ts.map +1 -1
- package/jsx/work/Tags/Tags.stories.jsx.map +1 -1
- package/jsx/work/Tasks/TaskList.stories.d.ts +3 -3
- package/jsx/work/Tasks/TaskList.stories.d.ts.map +1 -1
- package/jsx/work/Tasks/TaskList.stories.jsx.map +1 -1
- package/jsx/work/Tasks/Tasks.stories.d.ts +4 -4
- package/jsx/work/Tasks/Tasks.stories.d.ts.map +1 -1
- package/jsx/work/Tasks/Tasks.stories.jsx.map +1 -1
- package/jsx/work/Timeline/Timeline.stories.d.ts +6 -6
- package/jsx/work/Timeline/Timeline.stories.d.ts.map +1 -1
- package/jsx/work/Timeline/Timeline.stories.jsx.map +1 -1
- package/jsx/wss/AppShell/AppShell.stories.d.ts +5 -5
- package/jsx/wss/AppShell/AppShell.stories.d.ts.map +1 -1
- package/jsx/wss/AppShell/AppShell.stories.jsx.map +1 -1
- package/jsx/wss/CaseView/CaseView.stories.d.ts +3 -3
- package/jsx/wss/CaseView/CaseView.stories.d.ts.map +1 -1
- package/jsx/wss/CaseView/CaseView.stories.jsx.map +1 -1
- package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts +3 -3
- package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/jsx/wss/PageTemplates/PageTemplates.stories.jsx.map +1 -1
- package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts +3 -3
- package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -1
- package/jsx/wss/QuickCreate/QuickCreate.stories.jsx.map +1 -1
- package/lib/build/AppShell/AppShell.stories.d.ts +5 -5
- package/lib/build/AppShell/AppShell.stories.d.ts.map +1 -1
- package/lib/build/AppShell/AppShell.stories.js.map +1 -1
- package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts +3 -3
- package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
- package/lib/build/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -1
- package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts +8 -8
- package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.d.ts.map +1 -1
- package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js +1 -2
- package/lib/build/ExpressionBuilder/ExpressionBuilder.stories.js.map +1 -1
- package/lib/build/FlowModeller/FlowModeller.stories.d.ts +5 -5
- package/lib/build/FlowModeller/FlowModeller.stories.d.ts.map +1 -1
- package/lib/build/FlowModeller/FlowModeller.stories.js.map +1 -1
- package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts +3 -3
- package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -1
- package/lib/build/ItemLibrary/LibraryPicker.stories.js +1 -2
- package/lib/build/ItemLibrary/LibraryPicker.stories.js.map +1 -1
- package/lib/build/LifeCycle/LifeCycle.stories.d.ts +6 -6
- package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -1
- package/lib/build/LifeCycle/LifeCycle.stories.js.map +1 -1
- package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts +3 -3
- package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.d.ts.map +1 -1
- package/lib/build/MobileBuildSummary/MobileBuildSummary.stories.js.map +1 -1
- package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts +6 -6
- package/lib/build/ObjectSelect/ObjectSelect.stories.d.ts.map +1 -1
- package/lib/build/ObjectSelect/ObjectSelect.stories.js.map +1 -1
- package/lib/build/PageBanner/PageBanner.stories.d.ts +5 -5
- package/lib/build/PageBanner/PageBanner.stories.d.ts.map +1 -1
- package/lib/build/PageBanner/PageBanner.stories.js.map +1 -1
- package/lib/build/PageTemplates/GalleryPage.stories.d.ts +4 -4
- package/lib/build/PageTemplates/GalleryPage.stories.d.ts.map +1 -1
- package/lib/build/PageTemplates/GalleryPage.stories.js.map +1 -1
- package/lib/build/PageTemplates/PageTemplates.stories.d.ts +5 -5
- package/lib/build/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/lib/build/PageTemplates/PageTemplates.stories.js.map +1 -1
- package/lib/build/PageTemplates/ShowcasePage.stories.d.ts +5 -5
- package/lib/build/PageTemplates/ShowcasePage.stories.d.ts.map +1 -1
- package/lib/build/PageTemplates/ShowcasePage.stories.js.map +1 -1
- package/lib/build/Workbench/Workbench.stories.d.ts +4 -4
- package/lib/build/Workbench/Workbench.stories.d.ts.map +1 -1
- package/lib/build/Workbench/Workbench.stories.js.map +1 -1
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +5 -5
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -1
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js.map +1 -1
- package/lib/condition-builder/ConditionInput/ConditionInput.stories.d.ts +4 -4
- package/lib/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +1 -1
- package/lib/condition-builder/ConditionInput/ConditionInput.stories.js.map +1 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +3 -3
- package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +1 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.js.map +1 -1
- package/lib/core/AIButton/AIButton.stories.d.ts +7 -7
- package/lib/core/AIButton/AIButton.stories.d.ts.map +1 -1
- package/lib/core/AIButton/AIButton.stories.js.map +1 -1
- package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts +4 -4
- package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -1
- package/lib/core/AdditionalInfo/AdditionalInfo.stories.js.map +1 -1
- package/lib/core/AppShell/AppShell.stories.d.ts +5 -5
- package/lib/core/AppShell/AppShell.stories.d.ts.map +1 -1
- package/lib/core/AppShell/AppShell.stories.js.map +1 -1
- package/lib/core/Avatar/Avatar.stories.d.ts +9 -9
- package/lib/core/Avatar/Avatar.stories.d.ts.map +1 -1
- package/lib/core/Avatar/Avatar.stories.js.map +1 -1
- package/lib/core/Backdrop/Backdrop.stories.d.ts +5 -5
- package/lib/core/Backdrop/Backdrop.stories.d.ts.map +1 -1
- package/lib/core/Backdrop/Backdrop.stories.js.map +1 -1
- package/lib/core/Badges/Alert.stories.d.ts +4 -4
- package/lib/core/Badges/Alert.stories.d.ts.map +1 -1
- package/lib/core/Badges/Alert.stories.js.map +1 -1
- package/lib/core/Badges/Count.stories.d.ts +4 -4
- package/lib/core/Badges/Count.stories.d.ts.map +1 -1
- package/lib/core/Badges/Count.stories.js.map +1 -1
- package/lib/core/Badges/Keyboard.stories.d.ts +4 -4
- package/lib/core/Badges/Keyboard.stories.d.ts.map +1 -1
- package/lib/core/Badges/Keyboard.stories.js.map +1 -1
- package/lib/core/Badges/Selection.stories.d.ts +3 -3
- package/lib/core/Badges/Selection.stories.d.ts.map +1 -1
- package/lib/core/Badges/Selection.stories.js.map +1 -1
- package/lib/core/Badges/Status.stories.d.ts +5 -5
- package/lib/core/Badges/Status.stories.d.ts.map +1 -1
- package/lib/core/Badges/Status.stories.js.map +1 -1
- package/lib/core/Badges/Tag.stories.d.ts +3 -3
- package/lib/core/Badges/Tag.stories.d.ts.map +1 -1
- package/lib/core/Badges/Tag.stories.js.map +1 -1
- package/lib/core/Banner/Banner.stories.d.ts +7 -7
- package/lib/core/Banner/Banner.stories.d.ts.map +1 -1
- package/lib/core/Banner/Banner.stories.js.map +1 -1
- package/lib/core/Boolean/BooleanDisplay.stories.d.ts +4 -4
- package/lib/core/Boolean/BooleanDisplay.stories.d.ts.map +1 -1
- package/lib/core/Boolean/BooleanDisplay.stories.js.map +1 -1
- package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +4 -4
- package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
- package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +1 -1
- package/lib/core/Button/Button.stories.d.ts +9 -9
- package/lib/core/Button/Button.stories.d.ts.map +1 -1
- package/lib/core/Button/Button.stories.js.map +1 -1
- package/lib/core/Card/Card.stories.d.ts +6 -6
- package/lib/core/Card/Card.stories.d.ts.map +1 -1
- package/lib/core/Card/Card.stories.js.map +1 -1
- package/lib/core/Checkbox/Checkbox.stories.d.ts +6 -6
- package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/lib/core/Checkbox/Checkbox.stories.js.map +1 -1
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts +5 -5
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +1 -1
- package/lib/core/ColorPicker/ColorPicker.stories.d.ts +5 -5
- package/lib/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -1
- package/lib/core/ColorPicker/ColorPicker.stories.js.map +1 -1
- package/lib/core/ComboBox/ComboBox.stories.d.ts +9 -9
- package/lib/core/ComboBox/ComboBox.stories.d.ts.map +1 -1
- package/lib/core/ComboBox/ComboBox.stories.js.map +1 -1
- package/lib/core/CompositeInput/CompositeInput.stories.d.ts +3 -3
- package/lib/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -1
- package/lib/core/CompositeInput/CompositeInput.stories.js.map +1 -1
- package/lib/core/Configuration/Configuration.stories.d.ts +8 -8
- package/lib/core/Configuration/Configuration.stories.d.ts.map +1 -1
- package/lib/core/Configuration/Configuration.stories.js.map +1 -1
- package/lib/core/CreditCard/CreditCard.stories.d.ts +4 -4
- package/lib/core/CreditCard/CreditCard.stories.d.ts.map +1 -1
- package/lib/core/CreditCard/CreditCard.stories.js +1 -2
- package/lib/core/CreditCard/CreditCard.stories.js.map +1 -1
- package/lib/core/Currency/Currency.stories.d.ts +5 -5
- package/lib/core/Currency/Currency.stories.d.ts.map +1 -1
- package/lib/core/Currency/Currency.stories.js.map +1 -1
- package/lib/core/DangerButton/DangerButton.stories.d.ts +4 -4
- package/lib/core/DangerButton/DangerButton.stories.d.ts.map +1 -1
- package/lib/core/DangerButton/DangerButton.stories.js.map +1 -1
- package/lib/core/DateTime/DateTime.stories.d.ts +13 -13
- package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -1
- package/lib/core/DateTime/DateTime.stories.js.map +1 -1
- package/lib/core/DateTime/DateTimeDisplay.stories.d.ts +5 -5
- package/lib/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -1
- package/lib/core/DateTime/DateTimeDisplay.stories.js.map +1 -1
- package/lib/core/DateTime/DateTimePicker.stories.d.ts +5 -5
- package/lib/core/DateTime/DateTimePicker.stories.d.ts.map +1 -1
- package/lib/core/DateTime/DateTimePicker.stories.js.map +1 -1
- package/lib/core/Dialog/Dialog.stories.d.ts +5 -5
- package/lib/core/Dialog/Dialog.stories.d.ts.map +1 -1
- package/lib/core/Dialog/Dialog.stories.js.map +1 -1
- package/lib/core/Drawer/Drawer.stories.d.ts +5 -5
- package/lib/core/Drawer/Drawer.stories.d.ts.map +1 -1
- package/lib/core/Drawer/Drawer.stories.js.map +1 -1
- package/lib/core/Email/EmailDisplay.stories.d.ts +4 -4
- package/lib/core/Email/EmailDisplay.stories.d.ts.map +1 -1
- package/lib/core/Email/EmailDisplay.stories.js.map +1 -1
- package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts +6 -6
- package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts.map +1 -1
- package/lib/core/EmojiPicker/EmojiPicker.stories.js.map +1 -1
- package/lib/core/EmptyState/EmptyState.stories.d.ts +4 -4
- package/lib/core/EmptyState/EmptyState.stories.d.ts.map +1 -1
- package/lib/core/EmptyState/EmptyState.stories.js.map +1 -1
- package/lib/core/ErrorState/ErrorState.stories.d.ts +4 -4
- package/lib/core/ErrorState/ErrorState.stories.d.ts.map +1 -1
- package/lib/core/ErrorState/ErrorState.stories.js.map +1 -1
- package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts +5 -5
- package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +1 -1
- package/lib/core/ExpandCollapse/ExpandCollapse.stories.js.map +1 -1
- package/lib/core/FieldGroup/FieldGroup.stories.d.ts +4 -4
- package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -1
- package/lib/core/FieldGroup/FieldGroup.stories.js.map +1 -1
- package/lib/core/FieldGroup/FieldGroupList.stories.d.ts +5 -5
- package/lib/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -1
- package/lib/core/FieldGroup/FieldGroupList.stories.js.map +1 -1
- package/lib/core/FieldValueList/FieldValueList.stories.d.ts +4 -4
- package/lib/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -1
- package/lib/core/FieldValueList/FieldValueList.stories.js.map +1 -1
- package/lib/core/File/FileDisplay.stories.d.ts +6 -6
- package/lib/core/File/FileDisplay.stories.d.ts.map +1 -1
- package/lib/core/File/FileDisplay.stories.js.map +1 -1
- package/lib/core/File/FileInput.stories.d.ts +4 -4
- package/lib/core/File/FileInput.stories.d.ts.map +1 -1
- package/lib/core/File/FileInput.stories.js.map +1 -1
- package/lib/core/Flex/FlexContainer.stories.d.ts +10 -10
- package/lib/core/Flex/FlexContainer.stories.d.ts.map +1 -1
- package/lib/core/Flex/FlexContainer.stories.js.map +1 -1
- package/lib/core/Flex/FlexItem.stories.d.ts +6 -6
- package/lib/core/Flex/FlexItem.stories.d.ts.map +1 -1
- package/lib/core/Flex/FlexItem.stories.js.map +1 -1
- package/lib/core/Form/Form.stories.d.ts +8 -8
- package/lib/core/Form/Form.stories.d.ts.map +1 -1
- package/lib/core/Form/Form.stories.js.map +1 -1
- package/lib/core/Grid/GridContainer.stories.d.ts +12 -12
- package/lib/core/Grid/GridContainer.stories.d.ts.map +1 -1
- package/lib/core/Grid/GridContainer.stories.js.map +1 -1
- package/lib/core/Grid/GridItem.stories.d.ts +6 -6
- package/lib/core/Grid/GridItem.stories.d.ts.map +1 -1
- package/lib/core/Grid/GridItem.stories.js.map +1 -1
- package/lib/core/HTML/HTML.stories.d.ts +4 -4
- package/lib/core/HTML/HTML.stories.d.ts.map +1 -1
- package/lib/core/HTML/HTML.stories.js.map +1 -1
- package/lib/core/Icon/Icon.stories.d.ts +6 -6
- package/lib/core/Icon/Icon.stories.d.ts.map +1 -1
- package/lib/core/Icon/Icon.stories.js.map +1 -1
- package/lib/core/IconPicker/IconPicker.stories.d.ts +4 -4
- package/lib/core/IconPicker/IconPicker.stories.d.ts.map +1 -1
- package/lib/core/IconPicker/IconPicker.stories.js.map +1 -1
- package/lib/core/Image/Image.stories.d.ts +3 -3
- package/lib/core/Image/Image.stories.d.ts.map +1 -1
- package/lib/core/Image/Image.stories.js.map +1 -1
- package/lib/core/Input/Input.stories.d.ts +6 -6
- package/lib/core/Input/Input.stories.d.ts.map +1 -1
- package/lib/core/Input/Input.stories.js.map +1 -1
- package/lib/core/Label/Label.stories.d.ts +5 -5
- package/lib/core/Label/Label.stories.d.ts.map +1 -1
- package/lib/core/Label/Label.stories.js.map +1 -1
- package/lib/core/Lightbox/Lightbox.stories.d.ts +3 -3
- package/lib/core/Lightbox/Lightbox.stories.d.ts.map +1 -1
- package/lib/core/Lightbox/Lightbox.stories.js.map +1 -1
- package/lib/core/Link/Link.stories.d.ts +7 -7
- package/lib/core/Link/Link.stories.d.ts.map +1 -1
- package/lib/core/Link/Link.stories.js.map +1 -1
- package/lib/core/List/CommaSeparatedList.stories.d.ts +4 -4
- package/lib/core/List/CommaSeparatedList.stories.d.ts.map +1 -1
- package/lib/core/List/CommaSeparatedList.stories.js.map +1 -1
- package/lib/core/List/OrderedList.stories.d.ts +4 -4
- package/lib/core/List/OrderedList.stories.d.ts.map +1 -1
- package/lib/core/List/OrderedList.stories.js.map +1 -1
- package/lib/core/List/UnorderedList.stories.d.ts +4 -4
- package/lib/core/List/UnorderedList.stories.d.ts.map +1 -1
- package/lib/core/List/UnorderedList.stories.js.map +1 -1
- package/lib/core/ListToolbar/ListToolbar.stories.d.ts +5 -5
- package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -1
- package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -1
- package/lib/core/LiveLog/LiveLog.stories.d.ts +4 -4
- package/lib/core/LiveLog/LiveLog.stories.d.ts.map +1 -1
- package/lib/core/LiveLog/LiveLog.stories.js.map +1 -1
- package/lib/core/Location/Location.stories.d.ts +7 -7
- package/lib/core/Location/Location.stories.d.ts.map +1 -1
- package/lib/core/Location/Location.stories.js +6 -2
- package/lib/core/Location/Location.stories.js.map +1 -1
- package/lib/core/Menu/Menu.stories.d.ts +6 -6
- package/lib/core/Menu/Menu.stories.d.ts.map +1 -1
- package/lib/core/Menu/Menu.stories.js.map +1 -1
- package/lib/core/MenuButton/MenuButton.stories.d.ts +7 -7
- package/lib/core/MenuButton/MenuButton.stories.d.ts.map +1 -1
- package/lib/core/MenuButton/MenuButton.stories.js.map +1 -1
- package/lib/core/MetaList/MetaList.stories.d.ts +4 -4
- package/lib/core/MetaList/MetaList.stories.d.ts.map +1 -1
- package/lib/core/MetaList/MetaList.stories.js.map +1 -1
- package/lib/core/Modal/Modal.stories.d.ts +11 -11
- package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
- package/lib/core/Modal/Modal.stories.js.map +1 -1
- package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts +5 -5
- package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -1
- package/lib/core/MultiStepForm/MultiStepForm.stories.js.map +1 -1
- package/lib/core/NoValue/NoValue.stories.d.ts +4 -4
- package/lib/core/NoValue/NoValue.stories.d.ts.map +1 -1
- package/lib/core/NoValue/NoValue.stories.js.map +1 -1
- package/lib/core/Number/Number.stories.d.ts +7 -7
- package/lib/core/Number/Number.stories.d.ts.map +1 -1
- package/lib/core/Number/Number.stories.js.map +1 -1
- package/lib/core/PageTemplates/PageTemplates.stories.d.ts +7 -7
- package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
- package/lib/core/Pagination/Pagination.stories.d.ts +4 -4
- package/lib/core/Pagination/Pagination.stories.d.ts.map +1 -1
- package/lib/core/Pagination/Pagination.stories.js.map +1 -1
- package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts +4 -4
- package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts.map +1 -1
- package/lib/core/Paragraph/ParagraphDisplay.stories.js.map +1 -1
- package/lib/core/Phone/Phone.stories.d.ts +5 -5
- package/lib/core/Phone/Phone.stories.d.ts.map +1 -1
- package/lib/core/Phone/Phone.stories.js.map +1 -1
- package/lib/core/Popover/Popover.stories.d.ts +7 -7
- package/lib/core/Popover/Popover.stories.d.ts.map +1 -1
- package/lib/core/Popover/Popover.stories.js.map +1 -1
- package/lib/core/Progress/Progress.stories.d.ts +5 -5
- package/lib/core/Progress/Progress.stories.d.ts.map +1 -1
- package/lib/core/Progress/Progress.stories.js.map +1 -1
- package/lib/core/QRCode/QRCode.stories.d.ts +3 -3
- package/lib/core/QRCode/QRCode.stories.d.ts.map +1 -1
- package/lib/core/QRCode/QRCode.stories.js.map +1 -1
- package/lib/core/RadioButton/RadioButton.stories.d.ts +6 -6
- package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
- package/lib/core/RadioButton/RadioButton.stories.js.map +1 -1
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +5 -5
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -1
- package/lib/core/Rating/Rating.stories.d.ts +5 -5
- package/lib/core/Rating/Rating.stories.d.ts.map +1 -1
- package/lib/core/Rating/Rating.stories.js.map +1 -1
- package/lib/core/SearchInput/SearchInput.stories.d.ts +5 -5
- package/lib/core/SearchInput/SearchInput.stories.d.ts.map +1 -1
- package/lib/core/SearchInput/SearchInput.stories.js.map +1 -1
- package/lib/core/Select/Select.stories.d.ts +5 -5
- package/lib/core/Select/Select.stories.d.ts.map +1 -1
- package/lib/core/Select/Select.stories.js.map +1 -1
- package/lib/core/Sentiment/Sentiment.stories.d.ts +5 -5
- package/lib/core/Sentiment/Sentiment.stories.d.ts.map +1 -1
- package/lib/core/Sentiment/Sentiment.stories.js.map +1 -1
- package/lib/core/SkipLinks/SkipLinks.stories.d.ts +4 -4
- package/lib/core/SkipLinks/SkipLinks.stories.d.ts.map +1 -1
- package/lib/core/SkipLinks/SkipLinks.stories.js.map +1 -1
- package/lib/core/Slider/Slider.stories.d.ts +4 -4
- package/lib/core/Slider/Slider.stories.d.ts.map +1 -1
- package/lib/core/Slider/Slider.stories.js.map +1 -1
- package/lib/core/SummaryItem/SummaryItem.stories.d.ts +4 -4
- package/lib/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -1
- package/lib/core/SummaryItem/SummaryItem.stories.js.map +1 -1
- package/lib/core/SummaryList/SummaryList.stories.d.ts +5 -5
- package/lib/core/SummaryList/SummaryList.stories.d.ts.map +1 -1
- package/lib/core/SummaryList/SummaryList.stories.js.map +1 -1
- package/lib/core/Switch/Switch.stories.d.ts +6 -6
- package/lib/core/Switch/Switch.stories.d.ts.map +1 -1
- package/lib/core/Switch/Switch.stories.js.map +1 -1
- package/lib/core/Table/Table.stories.d.ts +6 -6
- package/lib/core/Table/Table.stories.d.ts.map +1 -1
- package/lib/core/Table/Table.stories.js.map +1 -1
- package/lib/core/Tabs/Tabs.stories.d.ts +4 -4
- package/lib/core/Tabs/Tabs.stories.d.ts.map +1 -1
- package/lib/core/Tabs/Tabs.stories.js.map +1 -1
- package/lib/core/Text/Text.stories.d.ts +5 -5
- package/lib/core/Text/Text.stories.d.ts.map +1 -1
- package/lib/core/Text/Text.stories.js.map +1 -1
- package/lib/core/TextArea/TextArea.stories.d.ts +5 -5
- package/lib/core/TextArea/TextArea.stories.d.ts.map +1 -1
- package/lib/core/TextArea/TextArea.stories.js.map +1 -1
- package/lib/core/Toaster/Toaster.stories.d.ts +3 -3
- package/lib/core/Toaster/Toaster.stories.d.ts.map +1 -1
- package/lib/core/Toaster/Toaster.stories.js.map +1 -1
- package/lib/core/Tooltip/Tooltip.stories.d.ts +5 -5
- package/lib/core/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/lib/core/Tooltip/Tooltip.stories.js.map +1 -1
- package/lib/core/Tree/Tree.stories.d.ts +5 -5
- package/lib/core/Tree/Tree.stories.d.ts.map +1 -1
- package/lib/core/Tree/Tree.stories.js.map +1 -1
- package/lib/core/URL/URL.stories.d.ts +4 -4
- package/lib/core/URL/URL.stories.d.ts.map +1 -1
- package/lib/core/URL/URL.stories.js.map +1 -1
- package/lib/cs/Article/Article.stories.d.ts +3 -3
- package/lib/cs/Article/Article.stories.d.ts.map +1 -1
- package/lib/cs/Article/Article.stories.js.map +1 -1
- package/lib/cs/ArticleList/ArticleList.mocks.js +1 -1
- package/lib/cs/ArticleList/ArticleList.mocks.js.map +1 -1
- package/lib/cs/ArticleList/ArticleList.stories.d.ts +3 -3
- package/lib/cs/ArticleList/ArticleList.stories.d.ts.map +1 -1
- package/lib/cs/ArticleList/ArticleList.stories.js.map +1 -1
- package/lib/cs/CSAppShell/CSAppShell.stories.d.ts +4 -4
- package/lib/cs/CSAppShell/CSAppShell.stories.d.ts.map +1 -1
- package/lib/cs/CSAppShell/CSAppShell.stories.js.map +1 -1
- package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts +5 -5
- package/lib/cs/CallControlPanel/CallControlPanel.stories.d.ts.map +1 -1
- package/lib/cs/CallControlPanel/CallControlPanel.stories.js.map +1 -1
- package/lib/cs/DialPad/DialPad.stories.d.ts +4 -4
- package/lib/cs/DialPad/DialPad.stories.d.ts.map +1 -1
- package/lib/cs/DialPad/DialPad.stories.js.map +1 -1
- package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts +3 -3
- package/lib/cs/InteractionNotification/InteractionNotification.stories.d.ts.map +1 -1
- package/lib/cs/InteractionNotification/InteractionNotification.stories.js.map +1 -1
- package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts +4 -4
- package/lib/cs/InteractionTimer/InteractionTimer.stories.d.ts.map +1 -1
- package/lib/cs/InteractionTimer/InteractionTimer.stories.js.map +1 -1
- package/lib/cs/Picker/Picker.stories.d.ts +6 -6
- package/lib/cs/Picker/Picker.stories.d.ts.map +1 -1
- package/lib/cs/Picker/Picker.stories.js.map +1 -1
- package/lib/cs/TaskManager/TaskManager.stories.d.ts +5 -5
- package/lib/cs/TaskManager/TaskManager.stories.d.ts.map +1 -1
- package/lib/cs/TaskManager/TaskManager.stories.js.map +1 -1
- package/lib/dnd/DragDropList/DragDropList.stories.d.ts +4 -4
- package/lib/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -1
- package/lib/dnd/DragDropList/DragDropList.stories.js.map +1 -1
- package/lib/dnd/StandardDragDropList/Demo.d.ts +1 -0
- package/lib/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
- package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +3 -3
- package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +1 -1
- package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.js.map +1 -1
- package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +3 -3
- package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -1
- package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -1
- package/lib/rte/Editor/Editor.stories.d.ts +8 -8
- package/lib/rte/Editor/Editor.stories.d.ts.map +1 -1
- package/lib/rte/Editor/Editor.stories.js.map +1 -1
- package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts +4 -4
- package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -1
- package/lib/rte/RichTextEditor/RichTextEditor.stories.js.map +1 -1
- package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts +6 -6
- package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -1
- package/lib/rte/RichTextEditor/RichTextViewer.stories.js.map +1 -1
- package/lib/social/Chat/Chat.stories.d.ts +11 -11
- package/lib/social/Chat/Chat.stories.d.ts.map +1 -1
- package/lib/social/Chat/Chat.stories.js +8 -2
- package/lib/social/Chat/Chat.stories.js.map +1 -1
- package/lib/social/Email/Email.stories.d.ts +15 -15
- package/lib/social/Email/Email.stories.d.ts.map +1 -1
- package/lib/social/Email/Email.stories.js.map +1 -1
- package/lib/social/Feed/Feed.stories.d.ts +5 -5
- package/lib/social/Feed/Feed.stories.d.ts.map +1 -1
- package/lib/social/Feed/Feed.stories.js.map +1 -1
- package/lib/social/Feed/FeedNewPost.stories.d.ts +4 -4
- package/lib/social/Feed/FeedNewPost.stories.d.ts.map +1 -1
- package/lib/social/Feed/FeedNewPost.stories.js.map +1 -1
- package/lib/social/Feed/FeedPost.stories.d.ts +6 -6
- package/lib/social/Feed/FeedPost.stories.d.ts.map +1 -1
- package/lib/social/Feed/FeedPost.stories.js.map +1 -1
- package/lib/social/Feed/FeedReply.stories.d.ts +5 -5
- package/lib/social/Feed/FeedReply.stories.d.ts.map +1 -1
- package/lib/social/Feed/FeedReply.stories.js.map +1 -1
- package/lib/social/Feed/FeedReplyInput.stories.d.ts +4 -4
- package/lib/social/Feed/FeedReplyInput.stories.d.ts.map +1 -1
- package/lib/social/Feed/FeedReplyInput.stories.js.map +1 -1
- package/lib/tools/Clipboard/Clipboard.stories.d.ts +4 -4
- package/lib/tools/Clipboard/Clipboard.stories.d.ts.map +1 -1
- package/lib/tools/Clipboard/Clipboard.stories.js.map +1 -1
- package/lib/tools/DevTools/DevTools.stories.d.ts +4 -4
- package/lib/tools/DevTools/DevTools.stories.d.ts.map +1 -1
- package/lib/tools/DevTools/DevTools.stories.js.map +1 -1
- package/lib/tools/PreviewShell/PreviewShell.stories.d.ts +7 -7
- package/lib/tools/PreviewShell/PreviewShell.stories.d.ts.map +1 -1
- package/lib/tools/PreviewShell/PreviewShell.stories.js.map +1 -1
- package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts +4 -4
- package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +1 -1
- package/lib/work/AppAnnouncement/AppAnnouncement.stories.js.map +1 -1
- package/lib/work/Assignments/Assignments.stories.d.ts +4 -4
- package/lib/work/Assignments/Assignments.stories.d.ts.map +1 -1
- package/lib/work/Assignments/Assignments.stories.js.map +1 -1
- package/lib/work/CaseView/CaseView.stories.d.ts +3 -3
- package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -1
- package/lib/work/CaseView/CaseView.stories.js.map +1 -1
- package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +3 -3
- package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -1
- package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js.map +1 -1
- package/lib/work/Confirmation/Confirmation.stories.d.ts +4 -4
- package/lib/work/Confirmation/Confirmation.stories.d.ts.map +1 -1
- package/lib/work/Confirmation/Confirmation.stories.js.map +1 -1
- package/lib/work/Details/Details.stories.d.ts +3 -3
- package/lib/work/Details/Details.stories.d.ts.map +1 -1
- package/lib/work/Details/Details.stories.js.map +1 -1
- package/lib/work/Glimpse/Glimpse.stories.d.ts +3 -3
- package/lib/work/Glimpse/Glimpse.stories.d.ts.map +1 -1
- package/lib/work/Glimpse/Glimpse.stories.js.map +1 -1
- package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +4 -4
- package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -1
- package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -1
- package/lib/work/Predictions/Predictions.stories.d.ts +3 -3
- package/lib/work/Predictions/Predictions.stories.d.ts.map +1 -1
- package/lib/work/Predictions/Predictions.stories.js.map +1 -1
- package/lib/work/SearchResults/SearchResults.stories.d.ts +3 -3
- package/lib/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
- package/lib/work/SearchResults/SearchResults.stories.js.map +1 -1
- package/lib/work/Stages/Stages.stories.d.ts +4 -4
- package/lib/work/Stages/Stages.stories.d.ts.map +1 -1
- package/lib/work/Stages/Stages.stories.js.map +1 -1
- package/lib/work/Stakeholders/Stakeholders.stories.d.ts +3 -3
- package/lib/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
- package/lib/work/Stakeholders/Stakeholders.stories.js.map +1 -1
- package/lib/work/Tags/Tags.stories.d.ts +3 -3
- package/lib/work/Tags/Tags.stories.d.ts.map +1 -1
- package/lib/work/Tags/Tags.stories.js.map +1 -1
- package/lib/work/Tasks/TaskList.stories.d.ts +3 -3
- package/lib/work/Tasks/TaskList.stories.d.ts.map +1 -1
- package/lib/work/Tasks/TaskList.stories.js.map +1 -1
- package/lib/work/Tasks/Tasks.stories.d.ts +4 -4
- package/lib/work/Tasks/Tasks.stories.d.ts.map +1 -1
- package/lib/work/Tasks/Tasks.stories.js.map +1 -1
- package/lib/work/Timeline/Timeline.stories.d.ts +6 -6
- package/lib/work/Timeline/Timeline.stories.d.ts.map +1 -1
- package/lib/work/Timeline/Timeline.stories.js.map +1 -1
- package/lib/wss/AppShell/AppShell.stories.d.ts +5 -5
- package/lib/wss/AppShell/AppShell.stories.d.ts.map +1 -1
- package/lib/wss/AppShell/AppShell.stories.js.map +1 -1
- package/lib/wss/CaseView/CaseView.stories.d.ts +3 -3
- package/lib/wss/CaseView/CaseView.stories.d.ts.map +1 -1
- package/lib/wss/CaseView/CaseView.stories.js.map +1 -1
- package/lib/wss/PageTemplates/PageTemplates.stories.d.ts +3 -3
- package/lib/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/lib/wss/PageTemplates/PageTemplates.stories.js.map +1 -1
- package/lib/wss/QuickCreate/QuickCreate.stories.d.ts +3 -3
- package/lib/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -1
- package/lib/wss/QuickCreate/QuickCreate.stories.js.map +1 -1
- package/package.json +17 -17
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RichTextViewer.stories.jsx","sourceRoot":"","sources":["../../../src/rte/RichTextEditor/RichTextViewer.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,IAAI,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"RichTextViewer.stories.jsx","sourceRoot":"","sources":["../../../src/rte/RichTextEditor/RichTextViewer.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAErD,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrF,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,eAAe;IACb,KAAK,EAAE,oBAAoB;IAC3B,SAAS,EAAE,cAAc;CAClB,CAAC;AAEV,MAAM,CAAC,MAAM,kBAAkB,GAAY,GAAG,EAAE;IAC9C,MAAM,SAAS,GAAG,MAAM,CAAsB,IAAI,CAAC,CAAC;IACpD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE7C,OAAO,CACL,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,CAC/C;MAAA,CAAC,cAAc,CACb,GAAG,CAAC,CAAC,SAAS,CAAC,CACf,OAAO,CAAC,CAAC;YACP,gBAAgB;YAChB,SAAS;YACT,QAAQ;YACR,OAAO;YACP,OAAO;YACP,gBAAgB;YAChB,a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CACjB,IAAI,CAAC,UAAU,CACf,oBAAoB,CAAC,CAAC,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,CAAC,CACjE,WAAW,CAAC,CAAC;YACX,IAAI,EAAE,CAAC,SAA2B,EAAE,EAAE;gBACpC,IAAI,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC,cAAc,CAAC;oBAAE,OAAO,aAAa,CAAC;YACrE,CAAC;SACF,CAAC,EAEN;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\nimport { useRef, useState } from 'react';\n\nimport { Flex, Link } from '@pega/cosmos-react-core';\nimport type { MenuItemProps } from '@pega/cosmos-react-core';\nimport { HashtagButtonConfig, MentionButtonConfig } from '@pega/cosmos-react-social';\nimport { RichTextViewer, RichTextEditor } from '@pega/cosmos-react-rte';\nimport type { RichTextEditorState, TokenMap } from '@pega/cosmos-react-rte';\n\nimport { demoUsers } from './RichTextEditor.mocks';\n\nexport default {\n title: 'RTE/RichTextViewer',\n component: RichTextViewer\n} as Meta;\n\nexport const RichTextViewerDemo: StoryFn = () => {\n const editorRef = useRef<RichTextEditorState>(null);\n const [content, setContent] = useState('[]');\n\n return (\n <Flex container={{ direction: 'column', gap: 2 }}>\n <RichTextEditor\n ref={editorRef}\n toolbar={[\n 'inline-styling',\n 'headers',\n 'tables',\n 'links',\n 'lists',\n 'cut-copy-paste',\n 'indentation'\n ]}\n onChange={() => setContent(editorRef.current?.getRichText() || '')}\n />\n\n <RichTextViewer content={content} type='richtext' />\n </Flex>\n );\n};\n\nexport const RichTextViewerHTMLDemo: StoryFn = () => {\n const editorRef = useRef<RichTextEditorState>(null);\n const [content, setContent] = useState('');\n\n return (\n <Flex container={{ direction: 'column', gap: 2 }}>\n <RichTextEditor\n ref={editorRef}\n toolbar={[\n 'inline-styling',\n 'headers',\n 'tables',\n 'links',\n 'lists',\n 'cut-copy-paste',\n 'indentation'\n ]}\n onChange={() => setContent(editorRef.current?.getHtml() || '')}\n />\n\n <RichTextViewer content={content} type='html' />\n </Flex>\n );\n};\n\nexport const RichTextViewerHTMLOverflowDemo: StoryFn = () => {\n const editorRef = useRef<RichTextEditorState>(null);\n const [content, setContent] = useState(\n () => \"<p style='background-color: green; width: 110%; height: 100px;'>hi</p>\"\n );\n\n return (\n <Flex container={{ direction: 'column', gap: 2 }}>\n <RichTextEditor\n ref={editorRef}\n toolbar={[\n 'inline-styling',\n 'headers',\n 'tables',\n 'links',\n 'lists',\n 'cut-copy-paste',\n 'indentation'\n ]}\n defaultValue={content}\n onChange={() => setContent(editorRef.current?.getHtml() || '')}\n />\n\n <RichTextViewer content={content} type='html' />\n </Flex>\n );\n};\n\nexport const RichTextViewerMDDemo: StoryFn = () => {\n const LinkComponent = ({ token }: { token: TokenMap['link'] }) => {\n return (\n <Link href={token.href} previewable>\n {token.text}\n </Link>\n );\n };\n\n const editorRef = useRef<RichTextEditorState>(null);\n const [content, setContent] = useState('');\n const [users, setUsers] = useState<MenuItemProps[]>(demoUsers);\n\n const searchUsers = (event: { search: string; trigger: string }) => {\n if (event.trigger === '@') {\n setUsers(\n demoUsers.filter(user => {\n return user.primary.toLowerCase().includes(event.search.toLowerCase());\n })\n );\n }\n };\n\n return (\n <Flex container={{ direction: 'column', gap: 2 }}>\n <RichTextEditor\n ref={editorRef}\n searchTriggers={[{ trigger: '@', regex: '[a-zA-Z]*(?: [a-zA-Z]*)?' }]}\n onSearch={searchUsers}\n getSearchItemReplacement={(id: string) => {\n const item = demoUsers.find(({ id: itemId }) => itemId === id);\n\n if (!item) return undefined;\n\n return {\n markdown: `@${item.id}:${item.primary}:user:`,\n text: item.primary\n };\n }}\n menu={users.length ? { items: users } : undefined}\n markdownOnly\n defaultValue={\n \"# Try writing some of your own markdown and see how it renders!\\n\\nYou can interact with mentions such as <pega-mention id='deans' text='Seth DeAngelo' type='user'/>\\n\\nThere is built in support for <pega-tag tag='tags'/> as well!\\n\\nComponent renderings can also be conditionally overwritten: [Link](https://www.google.com) -- [Link with preview](https://www.pega.com)\"\n }\n onChange={() => setContent(editorRef.current?.getPlainText() || '')}\n />\n\n <RichTextViewer\n content={content}\n type='markdown'\n interactionRenderers={[MentionButtonConfig, HashtagButtonConfig]}\n markdownMap={{\n link: (linkToken: TokenMap['link']) => {\n if (linkToken.href?.includes('www.pega.com')) return LinkComponent;\n }\n }}\n />\n </Flex>\n );\n};\n"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { OmitStrict } from '@pega/cosmos-react-core';
|
|
3
|
-
import { ChatHeaderProps, MessageProps, SystemMessageProps, MessageHeaderProps } from '@pega/cosmos-react-social';
|
|
4
|
-
declare const _default:
|
|
1
|
+
import type { StoryFn } from '@storybook/react';
|
|
2
|
+
import type { OmitStrict } from '@pega/cosmos-react-core';
|
|
3
|
+
import type { ChatHeaderProps, MessageProps, SystemMessageProps, MessageHeaderProps } from '@pega/cosmos-react-social';
|
|
4
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
5
5
|
export default _default;
|
|
6
6
|
interface ChatHeaderDemoProps extends OmitStrict<ChatHeaderProps, 'actions' | 'sentiment' | 'context'> {
|
|
7
7
|
}
|
|
8
|
-
export declare const ChatHeaderDemo:
|
|
8
|
+
export declare const ChatHeaderDemo: StoryFn<ChatHeaderDemoProps>;
|
|
9
9
|
interface MessageDemoProps extends OmitStrict<MessageProps, 'senderId' | 'messageHeader'> {
|
|
10
10
|
showTimestamp: boolean;
|
|
11
11
|
showStatus: boolean;
|
|
@@ -16,21 +16,21 @@ interface MessageDemoProps extends OmitStrict<MessageProps, 'senderId' | 'messag
|
|
|
16
16
|
showAttachments: boolean;
|
|
17
17
|
showMediaPageLinks: boolean;
|
|
18
18
|
}
|
|
19
|
-
export declare const MessageDemo:
|
|
20
|
-
export declare const SystemMessageDemo:
|
|
19
|
+
export declare const MessageDemo: StoryFn<MessageDemoProps>;
|
|
20
|
+
export declare const SystemMessageDemo: StoryFn<SystemMessageProps>;
|
|
21
21
|
interface TypeIndicatorDemoProps {
|
|
22
22
|
message?: string;
|
|
23
23
|
}
|
|
24
|
-
export declare const TypeIndicatorDemo:
|
|
24
|
+
export declare const TypeIndicatorDemo: StoryFn<TypeIndicatorDemoProps>;
|
|
25
25
|
interface SuggestedReplyPickerDemoProps {
|
|
26
26
|
showNotification?: boolean;
|
|
27
27
|
singleSuggestedReply?: boolean;
|
|
28
28
|
}
|
|
29
|
-
export declare const SuggestedReplyPickerDemo:
|
|
29
|
+
export declare const SuggestedReplyPickerDemo: StoryFn<SuggestedReplyPickerDemoProps>;
|
|
30
30
|
interface ChatComposerDemoProps {
|
|
31
31
|
maxAttachments?: number;
|
|
32
32
|
}
|
|
33
|
-
export declare const ChatComposerDemo:
|
|
33
|
+
export declare const ChatComposerDemo: StoryFn<ChatComposerDemoProps>;
|
|
34
34
|
interface StandardChatProps {
|
|
35
35
|
maxAttachments?: number;
|
|
36
36
|
chatWidth?: string;
|
|
@@ -46,5 +46,5 @@ interface StandardChatProps {
|
|
|
46
46
|
loading?: boolean;
|
|
47
47
|
typingIndicator?: boolean;
|
|
48
48
|
}
|
|
49
|
-
export declare const StandardChat:
|
|
49
|
+
export declare const StandardChat: StoryFn<StandardChatProps>;
|
|
50
50
|
//# sourceMappingURL=Chat.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chat.stories.d.ts","sourceRoot":"","sources":["../../../src/social/Chat/Chat.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Chat.stories.d.ts","sourceRoot":"","sources":["../../../src/social/Chat/Chat.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AA4BtD,OAAO,KAAK,EAIV,UAAU,EACX,MAAM,yBAAyB,CAAC;AAejC,OAAO,KAAK,EACV,eAAe,EACf,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S,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,iBAAiB,CAuhBnD,CAAC"}
|
|
@@ -154,13 +154,14 @@ TypeIndicatorDemo.argTypes = {
|
|
|
154
154
|
};
|
|
155
155
|
export const SuggestedReplyPickerDemo = (args) => {
|
|
156
156
|
const [suggestedRepliesCollapsed, setSuggestedRepliesCollapsed] = useState(false);
|
|
157
|
+
const [currentReplyId, setCurrentReplyId] = useState(ChatMockData.suggestedReplies[0].id);
|
|
157
158
|
return (<SuggestedReplyPicker replies={args.singleSuggestedReply
|
|
158
159
|
? [ChatMockData.suggestedReplies[0]]
|
|
159
160
|
: ChatMockData.suggestedReplies} onSelect={suggestedReply => {
|
|
160
161
|
action(`Suggested reply picked ${suggestedReply.message}`)();
|
|
161
162
|
}} collapsed={suggestedRepliesCollapsed} onExpandCollapse={() => {
|
|
162
163
|
setSuggestedRepliesCollapsed(prev => !prev);
|
|
163
|
-
}} showNotification={args.showNotification}/>);
|
|
164
|
+
}} currentReplyId={currentReplyId} onReplyChange={setCurrentReplyId} showNotification={args.showNotification}/>);
|
|
164
165
|
};
|
|
165
166
|
SuggestedReplyPickerDemo.args = {
|
|
166
167
|
showNotification: false,
|
|
@@ -433,6 +434,7 @@ export const StandardChat = (args) => {
|
|
|
433
434
|
const menuListID = `${menuID}--list`;
|
|
434
435
|
const [buttonEl, setButtonEl] = useElement(null);
|
|
435
436
|
const [popoverEl, setPopoverEl] = useElement(null);
|
|
437
|
+
const [currentReply, setCurrentReply] = useState(suggestedReplies[0].id);
|
|
436
438
|
useOuterEvent('mousedown', [popoverEl, buttonEl], () => {
|
|
437
439
|
setIsOpen(false);
|
|
438
440
|
setSearch('');
|
|
@@ -528,7 +530,11 @@ export const StandardChat = (args) => {
|
|
|
528
530
|
onExpandCollapse: () => {
|
|
529
531
|
setSuggestedRepliesCollapsed(prev => !prev);
|
|
530
532
|
},
|
|
531
|
-
showNotification: true
|
|
533
|
+
showNotification: true,
|
|
534
|
+
currentReplyId: currentReply,
|
|
535
|
+
onReplyChange: id => {
|
|
536
|
+
setCurrentReply(id);
|
|
537
|
+
}
|
|
532
538
|
};
|
|
533
539
|
const emojiCtx = useMemo(() => ({
|
|
534
540
|
set: 'google',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chat.stories.jsx","sourceRoot":"","sources":["../../../src/social/Chat/Chat.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAAkB,MAAM,OAAO,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAGlD,OAAO,EACL,MAAM,EACN,IAAI,EACJ,YAAY,EACZ,IAAI,EACJ,UAAU,EACV,IAAI,EACJ,OAAO,EACP,IAAI,EACJ,YAAY,EAEZ,SAAS,EACT,aAAa,EACb,MAAM,EACN,MAAM,EACN,UAAU,EACV,eAAe,EACf,eAAe,EACf,KAAK,EACL,WAAW,EACX,UAAU,EACV,WAAW,EACX,WAAW,EAEX,kBAAkB,EAClB,IAAI,EACJ,SAAS,EAGV,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,kBAAkB,MAAM,yEAAyE,CAAC;AAC9G,OAAO,KAAK,SAAS,MAAM,8DA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,KAAK;IAC3B,eAAe,EAAE,KAAK;IACtB,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,eAAe;IAC5B,cAAc,EACZ,2FAA2F;IAC7F,SAAS,EAAE,GAAG;IACd,OAAO,EAAE,KAAK;CACf,CAAC;AAEF,YAAY,CAAC,QAAQ,GAAG;IACtB,cAAc,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAC/C,eAAe,EAAE,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAC9F,cAAc,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAChD,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC7C,oBAAoB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACtD,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACjD,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACtC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC1C,cAAc,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC7C,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAC1C,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC1C,CAAC;AAEF,YAAY,CAAC,UAAU,GAAG;IACxB,MAAM,EAAE,YAAY;CACrB,CAAC","sourcesContent":["import { useState, useRef, useEffect, useCallback, useMemo, SyntheticEvent } from 'react';\nimport { action } from '@storybook/addon-actions';\nimport { Meta, Story } from '@storybook/react';\n\nimport {\n Button,\n Icon,\n registerIcon,\n Text,\n MenuButton,\n Flex,\n Popover,\n Link,\n EmojiContext,\n BannerProps,\n createUID,\n useOuterEvent,\n Select,\n Option,\n useElement,\n useModalManager,\n useModalContext,\n Modal,\n SummaryItem,\n useToaster,\n SearchInput,\n menuHelpers,\n MenuItemProps,\n VisuallyHiddenText,\n Menu,\n useEscape,\n FieldValueListItemProps,\n OmitStrict\n} from '@pega/cosmos-react-core';\nimport * as arrowMicroDownIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/arrow-micro-down.icon';\nimport * as replyIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/reply.icon';\nimport * as replyAllIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/reply-all.icon';\nimport * as forwardIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/forward.icon';\nimport {\n Chat,\n ChatHeader,\n ChatHeaderProps,\n ChatComposer,\n Message,\n MessageProps,\n NewMessageSeparatorId,\n AttachmentItemProps,\n ChatComposerImperativeHandleProps,\n SuggestedReply,\n SuggestedReplyPicker,\n SystemMessage,\n SystemMessageProps,\n TypeIndicator,\n ChatComposerProps,\n SuggestedReplyPickerProps,\n ChatBodyProps,\n ChatBodyHandleValue,\n MessageHeaderProps\n} from '@pega/cosmos-react-social';\n\nimport {\n ChatMockData,\n phrasesDisplayNames,\n phrasesMessages,\n pagePushList,\n contextItems as contextItemsMock,\n BotConversation,\n ClaimsAgentConversation,\n LiveChatConversation\n} from './Chat.mocks';\n\nregisterIcon(forwardIcon, replyIcon, replyAllIcon, arrowMicroDownIcon);\n\nexport default {\n title: 'Social/Chat',\n component: Chat\n} as Meta;\n\n/** *********************** ChatHeader component - START *********************** */\ninterface ChatHeaderDemoProps\n extends OmitStrict<ChatHeaderProps, 'actions' | 'sentiment' | 'context'> {}\n\nexport const ChatHeaderDemo: Story<ChatHeaderDemoProps> = (args: ChatHeaderDemoProps) => {\n const { title, icon, customer, authenticated } = args;\n\n const [contextItems, setContextItems] = useState<FieldValueListItemProps[]>([]);\n const [loading, setLoading] = useState(false);\n\n return (\n <ChatHeader\n title={title}\n icon={icon || 'chat'}\n actions={[\n { id: 'action-1', primary: 'Transfer' },\n { id: 'action-2', primary: 'End chat' }\n ]}\n sentiment={{\n variant: 'positive',\n 'aria-label': 'Sentiment is positive'\n }}\n customer={customer}\n authenticated={authenticated}\n context={{\n items: contextItems,\n onClick: () => {\n setLoading(true);\n setTimeout(() => {\n setContextItems(contextItemsMock);\n setLoading(false);\n }, 1000);\n },\n loading\n }}\n />\n );\n};\n\nChatHeaderDemo.args = {\n title: 'Live chat',\n icon: 'chat',\n customer: 'Ginger Ventura',\n authenticated: true\n};\n\nChatHeaderDemo.argTypes = {\n title: { control: { type: 'text' } },\n icon: { control: { type: 'text' }, type: { name: 'string', required: false } },\n customer: { control: { type: 'text' } },\n authenticated: { control: { type: 'boolean' }, type: { name: 'string', required: false } }\n};\n/** ***************************** ChatHeader component - END ******************* */\n\n/** ***************************** Message component - START ********************** */\n\ninterface MessageDemoProps extends OmitStrict<MessageProps, 'senderId' | 'messageHeader'> {\n showTimestamp: boolean;\n showStatus: boolean;\n showHeader: boolean;\n headerContent: MessageHeaderProps['content'];\n headerMeta: MessageHeaderProps['meta'];\n showAvatarImage: boolean;\n showAttachments: boolean;\n showMediaPageLinks: boolean;\n}\n\nexport const MessageDemo: Story<MessageDemoProps> = (args: MessageDemoProps) => {\n const actions: AttachmentItemProps['actions'] = [\n {\n text: 'Associate with case',\n id: 'Associate with case',\n onClick: () => {\n action('Associate with case');\n }\n },\n {\n text: 'Download',\n id: 'Download',\n onClick: () => {\n action('Download');\n }\n }\n ];\n\n const attachments = [\n {\n id: '2499167340',\n name: 'Location',\n icon: 'document',\n meta: 'PNG 0.1 MB',\n thumbnail:\n 'https://pegasystems.github.io/uplus-wss/health_provider/img/secondary-options.jpg',\n actions\n },\n {\n id: '2499167341',\n name: 'FAQ with detailed terms and conditions of the policy',\n icon: 'document-pdf',\n meta: 'PDF 0.7 MB',\n actions\n }\n ];\n const mediaPageLinks = [\n {\n id: '2499167349',\n href: 'https://collaborate.pega.com/',\n thumbnail:\n 'https://community.pega.com/sites/default/files/styles/480/public/media/images/2020-02/AskExpert.png?itok=ef2MVbOV',\n title: 'Ask the expert'\n }\n ];\n return (\n <Message\n attachments={args.showAttachments ? attachments : undefined}\n mediaPageLinks={args.showMediaPageLinks ? mediaPageLinks : undefined}\n avatarInfo={\n args.direction === 'in' && args.senderType !== 'bot'\n ? {\n name: 'John Brown',\n imageSrc: args.showAvatarImage\n ? 'https://pegasystems.github.io/uplus-wss/insurance/img/option-1.jpg'\n : undefined\n }\n : undefined\n }\n timestamp={args.showTimestamp ? args.timestamp : undefined}\n status={args.showStatus ? args.status : undefined}\n message={args.message}\n direction={args.direction}\n senderType={args.senderType}\n senderId={createUID()}\n agentVariant={args.agentVariant}\n messageHeader={\n args.showHeader ? { content: args.headerContent, meta: args.headerMeta } : undefined\n }\n />\n );\n};\n\nMessageDemo.args = {\n direction: 'in',\n senderType: 'customer',\n agentVariant: 0,\n message: 'Hi, Welcome to u-plus. How can I help you ?',\n showStatus: true,\n status: 'delivered',\n showTimestamp: true,\n timestamp: '1:44 PM',\n showHeader: false,\n headerContent: 'Public Reply',\n headerMeta: 'I-12345',\n showAvatarImage: false,\n showAttachments: false,\n showMediaPageLinks: false\n};\n\nMessageDemo.argTypes = {\n direction: { options: ['in', 'out'], control: { type: 'inline-radio' } },\n senderType: { options: ['agent', 'customer', 'bot'], control: { type: 'inline-radio' } },\n agentVariant: { type: 'number' },\n message: { type: 'string' },\n showTimestamp: { type: 'boolean' },\n timestamp: { control: 'text' },\n showStatus: { type: 'boolean' },\n status: {\n options: ['delivered', 'opened', 'undeliverable', 'sent'],\n control: { type: 'inline-radio' }\n },\n showHeader: { control: 'boolean' },\n headerContent: { control: 'text' },\n headerMeta: { control: 'text' },\n showAvatarImage: { control: 'boolean' },\n showAttachments: { control: 'boolean' },\n showMediaPageLinks: { control: 'boolean' }\n};\n/** ***************************** Message component - END *********************** */\n\n/** **************************** SystemMessage component - START ***************** */\nexport const SystemMessageDemo: Story<SystemMessageProps> = (args: SystemMessageProps) => (\n <SystemMessage message={args.message} timestamp={args.timestamp} variant={args.variant} />\n);\n\nSystemMessageDemo.args = {\n message: 'John Brown has joined',\n variant: 'secondary',\n timestamp: '10:00 AM'\n};\n\nSystemMessageDemo.argTypes = {\n message: { control: { type: 'text' } },\n variant: { options: ['primary', 'secondary'], control: { type: 'select' } },\n timestamp: { control: { type: 'text' } }\n};\n/** ***************************** SystemMessage component - END ******************** */\n\n/** ***************************** TypeIndicator component - START ****************** */\ninterface TypeIndicatorDemoProps {\n message?: string;\n}\nexport const TypeIndicatorDemo: Story<TypeIndicatorDemoProps> = (args: TypeIndicatorDemoProps) => {\n return (\n <TypeIndicator\n avatarInfo={{ name: 'John Brown' }}\n message={args.message}\n senderId='johnBrown'\n senderType='agent'\n />\n );\n};\n\nTypeIndicatorDemo.args = {\n message: ''\n};\n\nTypeIndicatorDemo.argTypes = {\n message: { control: { type: 'text' } }\n};\n/** *************************** TypeIndicator component - END *********************** */\n\n/** *************************** SuggestedReplyPicker component - START ****************** */\ninterface SuggestedReplyPickerDemoProps {\n showNotification?: boolean;\n singleSuggestedReply?: boolean;\n}\n\nexport const SuggestedReplyPickerDemo: Story<SuggestedReplyPickerDemoProps> = (\n args: SuggestedReplyPickerDemoProps\n) => {\n const [suggestedRepliesCollapsed, setSuggestedRepliesCollapsed] = useState<boolean>(false);\n return (\n <SuggestedReplyPicker\n replies={\n args.singleSuggestedReply\n ? [ChatMockData.suggestedReplies[0]]\n : ChatMockData.suggestedReplies\n }\n onSelect={suggestedReply => {\n action(`Suggested reply picked ${suggestedReply.message}`)();\n }}\n collapsed={suggestedRepliesCollapsed}\n onExpandCollapse={() => {\n setSuggestedRepliesCollapsed(prev => !prev);\n }}\n showNotification={args.showNotification}\n />\n );\n};\nSuggestedReplyPickerDemo.args = {\n showNotification: false,\n singleSuggestedReply: false\n};\n\nSuggestedReplyPickerDemo.argTypes = {\n showNotification: { type: 'boolean' },\n singleSuggestedReply: { type: 'boolean' }\n};\n\n/** *************************** SuggestedReplyPicker component - END ****************** */\n\n/** ******************************* ChatComposer component - START ************************ */\ninterface ChatComposerDemoProps {\n maxAttachments?: number;\n}\n\nexport const ChatComposerDemo: Story<ChatComposerDemoProps> = (args: ChatComposerDemoProps) => (\n <ChatComposer\n maxAttachments={args.maxAttachments}\n attachments={ChatMockData.defaultAttachments}\n maxLength={256}\n placeholder='Type here to send message'\n onSend={() => {}}\n >\n <MenuButton text='Phrases' menu={{ items: [] }} />\n <MenuButton text='Page Push' menu={{ items: [] }} />\n </ChatComposer>\n);\n\nChatComposerDemo.args = {\n maxAttachments: 2\n};\n\nChatComposerDemo.argTypes = {\n maxAttachments: { control: { type: 'number' } }\n};\n/** *********************************** ChatComposer component - END ********************** */\n\n/** *********************************** Standard Chat component - START ******************** */\ninterface StandardChatProps {\n maxAttachments?: number;\n chatWidth?: string;\n chatHeight?: string;\n selectedChannel?: string;\n showChatBanner?: boolean;\n disableChat?: boolean;\n simulateConversation?: boolean;\n message?: string;\n placeholder?: string;\n defaultMessage?: string;\n maxLength?: number;\n loading?: boolean;\n typingIndicator?: boolean;\n}\n\nexport const StandardChat: Story<StandardChatProps> = (args: StandardChatProps) => {\n const ChatMockDataClone: any = useMemo(() => {\n return JSON.parse(JSON.stringify(ChatMockData));\n }, [ChatMockData]);\n\n const Channels: {\n label: string;\n options: any;\n } = {\n label: 'Channel',\n options: {\n LiveChat: {\n title: 'Live chat',\n icon: 'chat'\n },\n Twitter: {\n title: 'Twitter chat',\n icon: 'twitter'\n },\n Facebook: {\n title: 'Facebook messenger',\n icon: 'facebook'\n }\n }\n };\n\n const {\n chatMessages: mockChatMessagesJson,\n defaultAttachments,\n suggestedReplies\n }: {\n participants: any;\n chatMessages: any[];\n defaultAttachments: any[];\n suggestedReplies: SuggestedReply[];\n } = ChatMockDataClone;\n\n const { create } = useModalManager();\n\n const MyModal = () => {\n const { dismiss } = useModalContext();\n const { push } = useToaster();\n\n return (\n <Modal\n heading='Associate with case'\n actions={\n <>\n <Button\n onClick={() => {\n dismiss();\n push({ content: 'Cancelled' });\n }}\n >\n Cancel\n </Button>\n <Button\n variant='primary'\n onClick={() => {\n dismiss();\n push({ content: 'Successfully Submitted!!' });\n }}\n >\n Submit\n </Button>\n </>\n }\n center\n >\n <Flex container={{ gap: 2, direction: 'column' }}>\n <SummaryItem\n primary={<Text variant='secondary'>Security policy</Text>}\n secondary={<Text variant='secondary'>PNG - 6.1MB</Text>}\n visual={<Icon name='document-doc' />}\n />\n <Select label='Select a service case' style={{ width: '15rem' }}>\n <Option value=''>Select…</Option>\n <Option value='Make payment' selected>\n Make payment\n </Option>\n <Option value='Facilities'>Facilities</Option>\n </Select>\n </Flex>\n </Modal>\n );\n };\n\n const onAssociateWithCase = () => {\n create(MyModal);\n };\n\n const actions: AttachmentItemProps['actions'] = [\n {\n text: 'Associate with case',\n id: 'Associate with case',\n onClick: () => {\n action('Associate with case');\n onAssociateWithCase();\n }\n },\n {\n text: 'Download',\n id: 'Download',\n onClick: () => {\n action('Download');\n }\n }\n ];\n\n const mockChatMessages = useMemo(() => {\n return [\n ...mockChatMessagesJson.map(message => {\n const { messagePrivacy, ...restMessageData } = message;\n if (messagePrivacy) {\n restMessageData.messageHeader = {\n content: <span>{messagePrivacy}</span>,\n meta: <Link href='/'>I-12345</Link>\n };\n }\n if (restMessageData.attachments) {\n restMessageData.attachments = restMessageData.attachments.map(\n (item: AttachmentItemProps) => {\n return {\n ...item,\n actions\n };\n }\n );\n }\n return restMessageData;\n })\n ];\n }, []);\n\n const conversationRef = useRef<ChatBodyHandleValue>(null);\n const timers = useRef<number[]>([]);\n\n useEffect(() => {\n return () => {\n timers.current.forEach(clearTimeout);\n };\n }, []);\n\n const [attachments, setAttachments] = useState<AttachmentItemProps[]>(defaultAttachments);\n const [unreadMessageCount, setUnreadMessageCount] = useState(0);\n const [chatMessages, setChatMessages] = useState<any[]>(\n LiveChatConversation.map(message => {\n if (message.type === 'message' && message.attachments) {\n message.attachments = message.attachments.map((item: AttachmentItemProps) => {\n return {\n ...item,\n actions\n };\n });\n }\n return message;\n })\n );\n const [contextItems, setContextItems] = useState<FieldValueListItemProps[]>([]);\n const [contextLoading, setContextLoading] = useState(false);\n const [suggestedRepliesCollapsed, setSuggestedRepliesCollapsed] = useState<boolean>(false);\n\n const onDeleteAttachment = useCallback(\n (name: string) => {\n setAttachments(prevAttachments => prevAttachments.filter(item => item.name !== name));\n },\n [setAttachments]\n );\n\n useEffect(() => {\n setAttachments(\n defaultAttachments.map((item: any) => {\n return {\n ...item,\n onDelete: onDeleteAttachment\n };\n })\n );\n }, [defaultAttachments]);\n\n const appendMessage = (message: any) => {\n const incrementUnreadMessageCount = conversationRef.current?.isScrolledToLatest();\n setChatMessages(prevChatMessages => {\n const newMockMessage: any = {\n ...message\n };\n newMockMessage.id = `m-${message.id ? message.id : prevChatMessages.length}`;\n if (\n !incrementUnreadMessageCount &&\n prevChatMessages.filter(({ id }) => id === NewMessageSeparatorId).length === 0\n ) {\n return [\n ...prevChatMessages,\n {\n id: NewMessageSeparatorId,\n type: 'system',\n message: 'New messages',\n variant: 'primary'\n },\n newMockMessage\n ];\n }\n return [...prevChatMessages, newMockMessage];\n });\n if (!incrementUnreadMessageCount) {\n setUnreadMessageCount(prevCount => prevCount + 1);\n }\n };\n\n useEffect(() => {\n if (args.simulateConversation) {\n const timeOutId = setTimeout(() => {\n if (mockChatMessages.length) {\n appendMessage(mockChatMessages.shift());\n }\n }, 1500);\n return () => {\n clearTimeout(timeOutId);\n };\n }\n }, [chatMessages, args.simulateConversation]);\n\n const chatBanner: BannerProps = {\n messages: ['This is a public interaction and any responses will be public and visible'],\n variant: 'warning'\n };\n\n const bodyProps: ChatBodyProps = {\n unreadMessageCount,\n handle: conversationRef,\n transcripts: [\n { id: createUID(), messages: BotConversation },\n { id: createUID(), messages: ClaimsAgentConversation }\n ],\n liveChat:\n !args.simulateConversation && args.typingIndicator\n ? [\n ...chatMessages,\n {\n id: 'typingMessage',\n type: 'typing',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n message: args.message,\n senderId: 'gingerVentura',\n senderType: 'customer'\n }\n ]\n : chatMessages,\n onScrollToButtonClick: () => {\n const timeOutId: number = window.setTimeout(() => {\n setChatMessages(prevChatMessages =>\n prevChatMessages.filter(({ id }) => id !== NewMessageSeparatorId)\n );\n timers.current = timers.current.filter(id => id !== timeOutId);\n }, 5000);\n timers.current.push(timeOutId);\n setUnreadMessageCount(0);\n },\n loadMore: action('Load more'),\n offset: 5,\n loading: args.loading\n };\n\n const chatComposerImperativeHandleRef = useRef<ChatComposerImperativeHandleProps>(null);\n\n const [mountPopover, setMountPopover] = useState(false);\n const specialKeysConfig = {\n keys: ['//'],\n onSpecialKey: (e: SyntheticEvent<HTMLTextAreaElement>, key: string) => {\n action(`Event is ${e}`)();\n action(`Typed special key is ${key}`)();\n if (chatComposerImperativeHandleRef.current) {\n setMountPopover(!mountPopover);\n }\n }\n };\n\n const insertPhrasesMessage = (message: string) => {\n if (chatComposerImperativeHandleRef.current) {\n chatComposerImperativeHandleRef.current.appendToMessage(message, 'specialKey');\n setMountPopover(false);\n }\n };\n\n useOuterEvent(\n 'mousedown',\n [chatComposerImperativeHandleRef?.current?.chatComposerRef?.current as Element],\n () => {\n setMountPopover(false);\n }\n );\n\n const [search, setSearch] = useState('');\n const [isOpen, setIsOpen] = useState(false);\n const searchEleRef = useRef<HTMLInputElement>(null);\n const [announcement, setAnnouncement] = useState('');\n\n const searchRegex = useMemo(() => {\n const escapedSearch = search.replace(/[.*+\\-?^${}()|[\\]\\\\]/g, '\\\\$&');\n return new RegExp(escapedSearch);\n }, [search]);\n\n const itemsToRender = useMemo(() => {\n return menuHelpers.mapTree(\n search\n ? menuHelpers.flatten(phrasesDisplayNames).filter(({ primary }: MenuItemProps) => {\n return searchRegex.test(primary);\n })\n : phrasesDisplayNames,\n item => {\n return {\n ...item\n };\n }\n );\n }, [search, phrasesDisplayNames, searchRegex]);\n\n useEffect(() => {\n if (isOpen) {\n searchEleRef?.current?.focus();\n }\n }, [isOpen, searchEleRef.current]);\n\n const menuID = createUID();\n const menuListID = `${menuID}--list`;\n const [buttonEl, setButtonEl] = useElement<HTMLButtonElement>(null);\n const [popoverEl, setPopoverEl] = useElement<HTMLElement>(null);\n\n useOuterEvent('mousedown', [popoverEl, buttonEl], () => {\n setIsOpen(false);\n setSearch('');\n });\n\n useEscape(() => {\n setIsOpen(false);\n });\n\n const pagePushItemsRender = useMemo(() => {\n return pagePushList.map(item => {\n return { id: item.id, primary: item.message };\n });\n }, [pagePushList]);\n\n const composerChildren = (\n <>\n <Button\n ref={setButtonEl}\n onClick={() => setIsOpen(cur => !cur)}\n variant='secondary'\n disabled={args.disableChat}\n >\n <Flex container={{ alignItems: 'center', gap: 1 }}>\n <Text>Phrases</Text>\n <Icon name='arrow-micro-down' />\n </Flex>\n </Button>\n\n <Popover show={isOpen} ref={setPopoverEl} target={buttonEl}>\n <Menu\n id={menuID}\n listId={menuListID}\n mode='action'\n variant='flyout'\n items={itemsToRender}\n role='listbox'\n onItemClick={id => {\n insertPhrasesMessage(phrasesMessages.filter(message => message.id === id)[0].message);\n setAnnouncement('Phrase inserted');\n setIsOpen(false);\n setSearch('');\n }}\n accent={search ? searchRegex : undefined}\n focusControlEl={searchEleRef.current || undefined}\n footer={\n <SearchInput\n ref={searchEleRef}\n onSearchChange={setSearch}\n value={search}\n role='searchbox'\n searchInputAriaLabel='Start typing to search.'\n />\n }\n />\n </Popover>\n\n <MenuButton\n text='Page push'\n disabled={args.disableChat}\n menu={{\n id: menuID,\n listId: menuListID,\n mode: 'action',\n variant: 'flyout',\n items: pagePushItemsRender,\n role: 'listbox',\n onItemClick: id => {\n setAnnouncement('Link inserted');\n setChatMessages(prevChatMessages => [\n ...prevChatMessages,\n pagePushList.filter(item => item.id === id)[0]\n ]);\n }\n }}\n />\n <Popover\n show={mountPopover}\n target={chatComposerImperativeHandleRef?.current?.textAreaRef?.current as Element}\n placement='top-start'\n >\n <Menu\n scrollAt={20}\n items={itemsToRender}\n onItemClick={id => {\n insertPhrasesMessage(phrasesMessages.filter(message => message.id === id)[0].message);\n setAnnouncement('Phrase inserted');\n }}\n focusControlEl={\n chatComposerImperativeHandleRef?.current?.textAreaRef?.current as\n | HTMLElement\n | undefined\n }\n />\n </Popover>\n </>\n );\n\n const composerProps: ChatComposerProps = {\n ref: chatComposerImperativeHandleRef,\n maxAttachments: args.maxAttachments,\n attachments,\n specialKeysConfig,\n showEmoji: true,\n disabled: args.disableChat,\n onAddAttachment: () => {\n setAttachments([\n ...attachments,\n {\n id: `${attachments.length} statement.pdf`,\n name: `${attachments.length} statement.pdf`,\n onDelete: onDeleteAttachment\n }\n ]);\n },\n maxLength: args.maxLength,\n placeholder: args.placeholder,\n defaultMessage: args.defaultMessage,\n onSend: (message: string) => {\n action(`onAppendMessage: ${message}`)();\n appendMessage({\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward Green'\n },\n type: 'message',\n message,\n timeStamp: '2:08'\n });\n },\n children: composerChildren\n };\n\n const suggestedReplyPickerProps: SuggestedReplyPickerProps = {\n replies: suggestedReplies,\n onSelect: (suggestedReply: SuggestedReply) => {\n chatComposerImperativeHandleRef.current?.appendToMessage(suggestedReply.message, 'cursor');\n },\n collapsed: suggestedRepliesCollapsed,\n onExpandCollapse: () => {\n setSuggestedRepliesCollapsed(prev => !prev);\n },\n showNotification: true\n };\n\n const emojiCtx = useMemo(\n () =>\n ({\n set: 'google',\n spriteSrcResolver: () =>\n 'https://unpkg.com/emoji-datasource-google@5.0.1/img/google/sheets-256/64.png'\n } as const),\n []\n );\n\n return (\n <EmojiContext.Provider value={emojiCtx}>\n <Flex\n container={{\n justify: 'center'\n }}\n style={{\n height: args.chatHeight || 'calc(100vh)',\n width: args.chatWidth || '30rem',\n margin: 'auto'\n }}\n >\n <VisuallyHiddenText aria-live='assertive'>{announcement}</VisuallyHiddenText>\n <Chat\n header={{\n title: Channels.options[args.selectedChannel || 'LiveChat'].title,\n icon: Channels.options[args.selectedChannel || 'LiveChat'].icon,\n customer: 'Ginger Ventura',\n authenticated: true,\n sentiment: { variant: 'positive' },\n context: {\n items: contextItems,\n onClick: () => {\n setContextLoading(true);\n setTimeout(() => {\n setContextItems(contextItemsMock);\n setContextLoading(false);\n }, 1000);\n },\n loading: contextLoading\n },\n actions: [\n { id: 'action-1', primary: 'Transfer' },\n { id: 'action-2', primary: 'End chat' }\n ]\n }}\n banner={args.showChatBanner ? chatBanner : undefined}\n body={bodyProps}\n suggestedReplyPicker={suggestedReplyPickerProps}\n composer={composerProps}\n />\n </Flex>\n </EmojiContext.Provider>\n );\n};\n\nStandardChat.args = {\n maxAttachments: 2,\n selectedChannel: 'LiveChat',\n showChatBanner: true,\n disableChat: false,\n simulateConversation: false,\n typingIndicator: false,\n message: '',\n placeholder: 'Enter message',\n defaultMessage:\n 'Greetings! Hope you are having a great time, Please reach out to us for any help, Thanks!',\n maxLength: 280,\n loading: false\n};\n\nStandardChat.argTypes = {\n maxAttachments: { control: { type: 'number' } },\n selectedChannel: { options: ['LiveChat', 'Twitter', 'Facebook'], control: { type: 'select' } },\n showChatBanner: { control: { type: 'boolean' } },\n disableChat: { control: { type: 'boolean' } },\n simulateConversation: { control: { type: 'boolean' } },\n typingIndicator: { control: { type: 'boolean' } },\n message: { control: { type: 'text' } },\n placeholder: { control: { type: 'text' } },\n defaultMessage: { control: { type: 'text' } },\n maxLength: { control: { type: 'number' } },\n loading: { control: { type: 'boolean' } }\n};\n\nStandardChat.parameters = {\n layout: 'fullscreen'\n};\n\n/** *************************** Standard Chat component - END ************************ */\n"]}
|
|
1
|
+
{"version":3,"file":"Chat.stories.jsx","sourceRoot":"","sources":["../../../src/social/Chat/Chat.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,W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S,EAAE,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAC9F,cAAc,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAChD,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC7C,oBAAoB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACtD,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACjD,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACtC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC1C,cAAc,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC7C,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAC1C,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC1C,CAAC;AAEF,YAAY,CAAC,UAAU,GAAG;IACxB,MAAM,EAAE,YAAY;CACrB,CAAC","sourcesContent":["import { useState, useRef, useEffect, useCallback, useMemo } from 'react';\nimport type { SyntheticEvent } from 'react';\nimport { action } from '@storybook/addon-actions';\nimport type { Meta, StoryFn } from '@storybook/react';\n\nimport {\n Button,\n Icon,\n registerIcon,\n Text,\n MenuButton,\n Flex,\n Popover,\n Link,\n EmojiContext,\n createUID,\n useOuterEvent,\n Select,\n Option,\n useElement,\n useModalManager,\n useModalContext,\n Modal,\n SummaryItem,\n useToaster,\n SearchInput,\n menuHelpers,\n VisuallyHiddenText,\n Menu,\n useEscape\n} from '@pega/cosmos-react-core';\nimport type {\n BannerProps,\n MenuItemProps,\n FieldValueListItemProps,\n OmitStrict\n} from '@pega/cosmos-react-core';\nimport * as arrowMicroDownIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/arrow-micro-down.icon';\nimport * as replyIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/reply.icon';\nimport * as replyAllIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/reply-all.icon';\nimport * as forwardIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/forward.icon';\nimport {\n Chat,\n ChatHeader,\n ChatComposer,\n Message,\n NewMessageSeparatorId,\n SuggestedReplyPicker,\n SystemMessage,\n TypeIndicator\n} from '@pega/cosmos-react-social';\nimport type {\n ChatHeaderProps,\n MessageProps,\n AttachmentItemProps,\n ChatComposerImperativeHandleProps,\n SuggestedReply,\n SystemMessageProps,\n ChatComposerProps,\n SuggestedReplyPickerProps,\n ChatBodyProps,\n ChatBodyHandleValue,\n MessageHeaderProps\n} from '@pega/cosmos-react-social';\n\nimport {\n ChatMockData,\n phrasesDisplayNames,\n phrasesMessages,\n pagePushList,\n contextItems as contextItemsMock,\n BotConversation,\n ClaimsAgentConversation,\n LiveChatConversation\n} from './Chat.mocks';\n\nregisterIcon(forwardIcon, replyIcon, replyAllIcon, arrowMicroDownIcon);\n\nexport default {\n title: 'Social/Chat',\n component: Chat\n} as Meta;\n\n/** *********************** ChatHeader component - START *********************** */\ninterface ChatHeaderDemoProps\n extends OmitStrict<ChatHeaderProps, 'actions' | 'sentiment' | 'context'> {}\n\nexport const ChatHeaderDemo: StoryFn<ChatHeaderDemoProps> = (args: ChatHeaderDemoProps) => {\n const { title, icon, customer, authenticated } = args;\n\n const [contextItems, setContextItems] = useState<FieldValueListItemProps[]>([]);\n const [loading, setLoading] = useState(false);\n\n return (\n <ChatHeader\n title={title}\n icon={icon || 'chat'}\n actions={[\n { id: 'action-1', primary: 'Transfer' },\n { id: 'action-2', primary: 'End chat' }\n ]}\n sentiment={{\n variant: 'positive',\n 'aria-label': 'Sentiment is positive'\n }}\n customer={customer}\n authenticated={authenticated}\n context={{\n items: contextItems,\n onClick: () => {\n setLoading(true);\n setTimeout(() => {\n setContextItems(contextItemsMock);\n setLoading(false);\n }, 1000);\n },\n loading\n }}\n />\n );\n};\n\nChatHeaderDemo.args = {\n title: 'Live chat',\n icon: 'chat',\n customer: 'Ginger Ventura',\n authenticated: true\n};\n\nChatHeaderDemo.argTypes = {\n title: { control: { type: 'text' } },\n icon: { control: { type: 'text' }, type: { name: 'string', required: false } },\n customer: { control: { type: 'text' } },\n authenticated: { control: { type: 'boolean' }, type: { name: 'string', required: false } }\n};\n/** ***************************** ChatHeader component - END ******************* */\n\n/** ***************************** Message component - START ********************** */\n\ninterface MessageDemoProps extends OmitStrict<MessageProps, 'senderId' | 'messageHeader'> {\n showTimestamp: boolean;\n showStatus: boolean;\n showHeader: boolean;\n headerContent: MessageHeaderProps['content'];\n headerMeta: MessageHeaderProps['meta'];\n showAvatarImage: boolean;\n showAttachments: boolean;\n showMediaPageLinks: boolean;\n}\n\nexport const MessageDemo: StoryFn<MessageDemoProps> = (args: MessageDemoProps) => {\n const actions: AttachmentItemProps['actions'] = [\n {\n text: 'Associate with case',\n id: 'Associate with case',\n onClick: () => {\n action('Associate with case');\n }\n },\n {\n text: 'Download',\n id: 'Download',\n onClick: () => {\n action('Download');\n }\n }\n ];\n\n const attachments = [\n {\n id: '2499167340',\n name: 'Location',\n icon: 'document',\n meta: 'PNG 0.1 MB',\n thumbnail:\n 'https://pegasystems.github.io/uplus-wss/health_provider/img/secondary-options.jpg',\n actions\n },\n {\n id: '2499167341',\n name: 'FAQ with detailed terms and conditions of the policy',\n icon: 'document-pdf',\n meta: 'PDF 0.7 MB',\n actions\n }\n ];\n const mediaPageLinks = [\n {\n id: '2499167349',\n href: 'https://collaborate.pega.com/',\n thumbnail:\n 'https://community.pega.com/sites/default/files/styles/480/public/media/images/2020-02/AskExpert.png?itok=ef2MVbOV',\n title: 'Ask the expert'\n }\n ];\n return (\n <Message\n attachments={args.showAttachments ? attachments : undefined}\n mediaPageLinks={args.showMediaPageLinks ? mediaPageLinks : undefined}\n avatarInfo={\n args.direction === 'in' && args.senderType !== 'bot'\n ? {\n name: 'John Brown',\n imageSrc: args.showAvatarImage\n ? 'https://pegasystems.github.io/uplus-wss/insurance/img/option-1.jpg'\n : undefined\n }\n : undefined\n }\n timestamp={args.showTimestamp ? args.timestamp : undefined}\n status={args.showStatus ? args.status : undefined}\n message={args.message}\n direction={args.direction}\n senderType={args.senderType}\n senderId={createUID()}\n agentVariant={args.agentVariant}\n messageHeader={\n args.showHeader ? { content: args.headerContent, meta: args.headerMeta } : undefined\n }\n />\n );\n};\n\nMessageDemo.args = {\n direction: 'in',\n senderType: 'customer',\n agentVariant: 0,\n message: 'Hi, Welcome to u-plus. How can I help you ?',\n showStatus: true,\n status: 'delivered',\n showTimestamp: true,\n timestamp: '1:44 PM',\n showHeader: false,\n headerContent: 'Public Reply',\n headerMeta: 'I-12345',\n showAvatarImage: false,\n showAttachments: false,\n showMediaPageLinks: false\n};\n\nMessageDemo.argTypes = {\n direction: { options: ['in', 'out'], control: { type: 'inline-radio' } },\n senderType: { options: ['agent', 'customer', 'bot'], control: { type: 'inline-radio' } },\n agentVariant: { type: 'number' },\n message: { type: 'string' },\n showTimestamp: { type: 'boolean' },\n timestamp: { control: 'text' },\n showStatus: { type: 'boolean' },\n status: {\n options: ['delivered', 'opened', 'undeliverable', 'sent'],\n control: { type: 'inline-radio' }\n },\n showHeader: { control: 'boolean' },\n headerContent: { control: 'text' },\n headerMeta: { control: 'text' },\n showAvatarImage: { control: 'boolean' },\n showAttachments: { control: 'boolean' },\n showMediaPageLinks: { control: 'boolean' }\n};\n/** ***************************** Message component - END *********************** */\n\n/** **************************** SystemMessage component - START ***************** */\nexport const SystemMessageDemo: StoryFn<SystemMessageProps> = (args: SystemMessageProps) => (\n <SystemMessage message={args.message} timestamp={args.timestamp} variant={args.variant} />\n);\n\nSystemMessageDemo.args = {\n message: 'John Brown has joined',\n variant: 'secondary',\n timestamp: '10:00 AM'\n};\n\nSystemMessageDemo.argTypes = {\n message: { control: { type: 'text' } },\n variant: { options: ['primary', 'secondary'], control: { type: 'select' } },\n timestamp: { control: { type: 'text' } }\n};\n/** ***************************** SystemMessage component - END ******************** */\n\n/** ***************************** TypeIndicator component - START ****************** */\ninterface TypeIndicatorDemoProps {\n message?: string;\n}\nexport const TypeIndicatorDemo: StoryFn<TypeIndicatorDemoProps> = (\n args: TypeIndicatorDemoProps\n) => {\n return (\n <TypeIndicator\n avatarInfo={{ name: 'John Brown' }}\n message={args.message}\n senderId='johnBrown'\n senderType='agent'\n />\n );\n};\n\nTypeIndicatorDemo.args = {\n message: ''\n};\n\nTypeIndicatorDemo.argTypes = {\n message: { control: { type: 'text' } }\n};\n/** *************************** TypeIndicator component - END *********************** */\n\n/** *************************** SuggestedReplyPicker component - START ****************** */\ninterface SuggestedReplyPickerDemoProps {\n showNotification?: boolean;\n singleSuggestedReply?: boolean;\n}\n\nexport const SuggestedReplyPickerDemo: StoryFn<SuggestedReplyPickerDemoProps> = (\n args: SuggestedReplyPickerDemoProps\n) => {\n const [suggestedRepliesCollapsed, setSuggestedRepliesCollapsed] = useState<boolean>(false);\n const [currentReplyId, setCurrentReplyId] = useState(ChatMockData.suggestedReplies[0].id);\n return (\n <SuggestedReplyPicker\n replies={\n args.singleSuggestedReply\n ? [ChatMockData.suggestedReplies[0]]\n : ChatMockData.suggestedReplies\n }\n onSelect={suggestedReply => {\n action(`Suggested reply picked ${suggestedReply.message}`)();\n }}\n collapsed={suggestedRepliesCollapsed}\n onExpandCollapse={() => {\n setSuggestedRepliesCollapsed(prev => !prev);\n }}\n currentReplyId={currentReplyId}\n onReplyChange={setCurrentReplyId}\n showNotification={args.showNotification}\n />\n );\n};\nSuggestedReplyPickerDemo.args = {\n showNotification: false,\n singleSuggestedReply: false\n};\n\nSuggestedReplyPickerDemo.argTypes = {\n showNotification: { type: 'boolean' },\n singleSuggestedReply: { type: 'boolean' }\n};\n\n/** *************************** SuggestedReplyPicker component - END ****************** */\n\n/** ******************************* ChatComposer component - START ************************ */\ninterface ChatComposerDemoProps {\n maxAttachments?: number;\n}\n\nexport const ChatComposerDemo: StoryFn<ChatComposerDemoProps> = (args: ChatComposerDemoProps) => (\n <ChatComposer\n maxAttachments={args.maxAttachments}\n attachments={ChatMockData.defaultAttachments}\n maxLength={256}\n placeholder='Type here to send message'\n onSend={() => {}}\n >\n <MenuButton text='Phrases' menu={{ items: [] }} />\n <MenuButton text='Page Push' menu={{ items: [] }} />\n </ChatComposer>\n);\n\nChatComposerDemo.args = {\n maxAttachments: 2\n};\n\nChatComposerDemo.argTypes = {\n maxAttachments: { control: { type: 'number' } }\n};\n/** *********************************** ChatComposer component - END ********************** */\n\n/** *********************************** Standard Chat component - START ******************** */\ninterface StandardChatProps {\n maxAttachments?: number;\n chatWidth?: string;\n chatHeight?: string;\n selectedChannel?: string;\n showChatBanner?: boolean;\n disableChat?: boolean;\n simulateConversation?: boolean;\n message?: string;\n placeholder?: string;\n defaultMessage?: string;\n maxLength?: number;\n loading?: boolean;\n typingIndicator?: boolean;\n}\n\nexport const StandardChat: StoryFn<StandardChatProps> = (args: StandardChatProps) => {\n const ChatMockDataClone: any = useMemo(() => {\n return JSON.parse(JSON.stringify(ChatMockData));\n }, [ChatMockData]);\n\n const Channels: {\n label: string;\n options: any;\n } = {\n label: 'Channel',\n options: {\n LiveChat: {\n title: 'Live chat',\n icon: 'chat'\n },\n Twitter: {\n title: 'Twitter chat',\n icon: 'twitter'\n },\n Facebook: {\n title: 'Facebook messenger',\n icon: 'facebook'\n }\n }\n };\n\n const {\n chatMessages: mockChatMessagesJson,\n defaultAttachments,\n suggestedReplies\n }: {\n participants: any;\n chatMessages: any[];\n defaultAttachments: any[];\n suggestedReplies: SuggestedReply[];\n } = ChatMockDataClone;\n\n const { create } = useModalManager();\n\n const MyModal = () => {\n const { dismiss } = useModalContext();\n const { push } = useToaster();\n\n return (\n <Modal\n heading='Associate with case'\n actions={\n <>\n <Button\n onClick={() => {\n dismiss();\n push({ content: 'Cancelled' });\n }}\n >\n Cancel\n </Button>\n <Button\n variant='primary'\n onClick={() => {\n dismiss();\n push({ content: 'Successfully Submitted!!' });\n }}\n >\n Submit\n </Button>\n </>\n }\n center\n >\n <Flex container={{ gap: 2, direction: 'column' }}>\n <SummaryItem\n primary={<Text variant='secondary'>Security policy</Text>}\n secondary={<Text variant='secondary'>PNG - 6.1MB</Text>}\n visual={<Icon name='document-doc' />}\n />\n <Select label='Select a service case' style={{ width: '15rem' }}>\n <Option value=''>Select…</Option>\n <Option value='Make payment' selected>\n Make payment\n </Option>\n <Option value='Facilities'>Facilities</Option>\n </Select>\n </Flex>\n </Modal>\n );\n };\n\n const onAssociateWithCase = () => {\n create(MyModal);\n };\n\n const actions: AttachmentItemProps['actions'] = [\n {\n text: 'Associate with case',\n id: 'Associate with case',\n onClick: () => {\n action('Associate with case');\n onAssociateWithCase();\n }\n },\n {\n text: 'Download',\n id: 'Download',\n onClick: () => {\n action('Download');\n }\n }\n ];\n\n const mockChatMessages = useMemo(() => {\n return [\n ...mockChatMessagesJson.map(message => {\n const { messagePrivacy, ...restMessageData } = message;\n if (messagePrivacy) {\n restMessageData.messageHeader = {\n content: <span>{messagePrivacy}</span>,\n meta: <Link href='/'>I-12345</Link>\n };\n }\n if (restMessageData.attachments) {\n restMessageData.attachments = restMessageData.attachments.map(\n (item: AttachmentItemProps) => {\n return {\n ...item,\n actions\n };\n }\n );\n }\n return restMessageData;\n })\n ];\n }, []);\n\n const conversationRef = useRef<ChatBodyHandleValue>(null);\n const timers = useRef<number[]>([]);\n\n useEffect(() => {\n return () => {\n timers.current.forEach(clearTimeout);\n };\n }, []);\n\n const [attachments, setAttachments] = useState<AttachmentItemProps[]>(defaultAttachments);\n const [unreadMessageCount, setUnreadMessageCount] = useState(0);\n const [chatMessages, setChatMessages] = useState<any[]>(\n LiveChatConversation.map(message => {\n if (message.type === 'message' && message.attachments) {\n message.attachments = message.attachments.map((item: AttachmentItemProps) => {\n return {\n ...item,\n actions\n };\n });\n }\n return message;\n })\n );\n const [contextItems, setContextItems] = useState<FieldValueListItemProps[]>([]);\n const [contextLoading, setContextLoading] = useState(false);\n const [suggestedRepliesCollapsed, setSuggestedRepliesCollapsed] = useState<boolean>(false);\n\n const onDeleteAttachment = useCallback(\n (name: string) => {\n setAttachments(prevAttachments => prevAttachments.filter(item => item.name !== name));\n },\n [setAttachments]\n );\n\n useEffect(() => {\n setAttachments(\n defaultAttachments.map((item: any) => {\n return {\n ...item,\n onDelete: onDeleteAttachment\n };\n })\n );\n }, [defaultAttachments]);\n\n const appendMessage = (message: any) => {\n const incrementUnreadMessageCount = conversationRef.current?.isScrolledToLatest();\n setChatMessages(prevChatMessages => {\n const newMockMessage: any = {\n ...message\n };\n newMockMessage.id = `m-${message.id ? message.id : prevChatMessages.length}`;\n if (\n !incrementUnreadMessageCount &&\n prevChatMessages.filter(({ id }) => id === NewMessageSeparatorId).length === 0\n ) {\n return [\n ...prevChatMessages,\n {\n id: NewMessageSeparatorId,\n type: 'system',\n message: 'New messages',\n variant: 'primary'\n },\n newMockMessage\n ];\n }\n return [...prevChatMessages, newMockMessage];\n });\n if (!incrementUnreadMessageCount) {\n setUnreadMessageCount(prevCount => prevCount + 1);\n }\n };\n\n useEffect(() => {\n if (args.simulateConversation) {\n const timeOutId = setTimeout(() => {\n if (mockChatMessages.length) {\n appendMessage(mockChatMessages.shift());\n }\n }, 1500);\n return () => {\n clearTimeout(timeOutId);\n };\n }\n }, [chatMessages, args.simulateConversation]);\n\n const chatBanner: BannerProps = {\n messages: ['This is a public interaction and any responses will be public and visible'],\n variant: 'warning'\n };\n\n const bodyProps: ChatBodyProps = {\n unreadMessageCount,\n handle: conversationRef,\n transcripts: [\n { id: createUID(), messages: BotConversation },\n { id: createUID(), messages: ClaimsAgentConversation }\n ],\n liveChat:\n !args.simulateConversation && args.typingIndicator\n ? [\n ...chatMessages,\n {\n id: 'typingMessage',\n type: 'typing',\n avatarInfo: {\n name: 'Ginger Ventura'\n },\n message: args.message,\n senderId: 'gingerVentura',\n senderType: 'customer'\n }\n ]\n : chatMessages,\n onScrollToButtonClick: () => {\n const timeOutId: number = window.setTimeout(() => {\n setChatMessages(prevChatMessages =>\n prevChatMessages.filter(({ id }) => id !== NewMessageSeparatorId)\n );\n timers.current = timers.current.filter(id => id !== timeOutId);\n }, 5000);\n timers.current.push(timeOutId);\n setUnreadMessageCount(0);\n },\n loadMore: action('Load more'),\n offset: 5,\n loading: args.loading\n };\n\n const chatComposerImperativeHandleRef = useRef<ChatComposerImperativeHandleProps>(null);\n\n const [mountPopover, setMountPopover] = useState(false);\n const specialKeysConfig = {\n keys: ['//'],\n onSpecialKey: (e: SyntheticEvent<HTMLTextAreaElement>, key: string) => {\n action(`Event is ${e}`)();\n action(`Typed special key is ${key}`)();\n if (chatComposerImperativeHandleRef.current) {\n setMountPopover(!mountPopover);\n }\n }\n };\n\n const insertPhrasesMessage = (message: string) => {\n if (chatComposerImperativeHandleRef.current) {\n chatComposerImperativeHandleRef.current.appendToMessage(message, 'specialKey');\n setMountPopover(false);\n }\n };\n\n useOuterEvent(\n 'mousedown',\n [chatComposerImperativeHandleRef?.current?.chatComposerRef?.current as Element],\n () => {\n setMountPopover(false);\n }\n );\n\n const [search, setSearch] = useState('');\n const [isOpen, setIsOpen] = useState(false);\n const searchEleRef = useRef<HTMLInputElement>(null);\n const [announcement, setAnnouncement] = useState('');\n\n const searchRegex = useMemo(() => {\n const escapedSearch = search.replace(/[.*+\\-?^${}()|[\\]\\\\]/g, '\\\\$&');\n return new RegExp(escapedSearch);\n }, [search]);\n\n const itemsToRender = useMemo(() => {\n return menuHelpers.mapTree(\n search\n ? menuHelpers.flatten(phrasesDisplayNames).filter(({ primary }: MenuItemProps) => {\n return searchRegex.test(primary);\n })\n : phrasesDisplayNames,\n item => {\n return {\n ...item\n };\n }\n );\n }, [search, phrasesDisplayNames, searchRegex]);\n\n useEffect(() => {\n if (isOpen) {\n searchEleRef?.current?.focus();\n }\n }, [isOpen, searchEleRef.current]);\n\n const menuID = createUID();\n const menuListID = `${menuID}--list`;\n const [buttonEl, setButtonEl] = useElement<HTMLButtonElement>(null);\n const [popoverEl, setPopoverEl] = useElement<HTMLElement>(null);\n const [currentReply, setCurrentReply] = useState(suggestedReplies[0].id);\n\n useOuterEvent('mousedown', [popoverEl, buttonEl], () => {\n setIsOpen(false);\n setSearch('');\n });\n\n useEscape(() => {\n setIsOpen(false);\n });\n\n const pagePushItemsRender = useMemo(() => {\n return pagePushList.map(item => {\n return { id: item.id, primary: item.message };\n });\n }, [pagePushList]);\n\n const composerChildren = (\n <>\n <Button\n ref={setButtonEl}\n onClick={() => setIsOpen(cur => !cur)}\n variant='secondary'\n disabled={args.disableChat}\n >\n <Flex container={{ alignItems: 'center', gap: 1 }}>\n <Text>Phrases</Text>\n <Icon name='arrow-micro-down' />\n </Flex>\n </Button>\n\n <Popover show={isOpen} ref={setPopoverEl} target={buttonEl}>\n <Menu\n id={menuID}\n listId={menuListID}\n mode='action'\n variant='flyout'\n items={itemsToRender}\n role='listbox'\n onItemClick={id => {\n insertPhrasesMessage(phrasesMessages.filter(message => message.id === id)[0].message);\n setAnnouncement('Phrase inserted');\n setIsOpen(false);\n setSearch('');\n }}\n accent={search ? searchRegex : undefined}\n focusControlEl={searchEleRef.current || undefined}\n footer={\n <SearchInput\n ref={searchEleRef}\n onSearchChange={setSearch}\n value={search}\n role='searchbox'\n searchInputAriaLabel='Start typing to search.'\n />\n }\n />\n </Popover>\n\n <MenuButton\n text='Page push'\n disabled={args.disableChat}\n menu={{\n id: menuID,\n listId: menuListID,\n mode: 'action',\n variant: 'flyout',\n items: pagePushItemsRender,\n role: 'listbox',\n onItemClick: id => {\n setAnnouncement('Link inserted');\n setChatMessages(prevChatMessages => [\n ...prevChatMessages,\n pagePushList.filter(item => item.id === id)[0]\n ]);\n }\n }}\n />\n <Popover\n show={mountPopover}\n target={chatComposerImperativeHandleRef?.current?.textAreaRef?.current as Element}\n placement='top-start'\n >\n <Menu\n scrollAt={20}\n items={itemsToRender}\n onItemClick={id => {\n insertPhrasesMessage(phrasesMessages.filter(message => message.id === id)[0].message);\n setAnnouncement('Phrase inserted');\n }}\n focusControlEl={\n chatComposerImperativeHandleRef?.current?.textAreaRef?.current as\n | HTMLElement\n | undefined\n }\n />\n </Popover>\n </>\n );\n\n const composerProps: ChatComposerProps = {\n ref: chatComposerImperativeHandleRef,\n maxAttachments: args.maxAttachments,\n attachments,\n specialKeysConfig,\n showEmoji: true,\n disabled: args.disableChat,\n onAddAttachment: () => {\n setAttachments([\n ...attachments,\n {\n id: `${attachments.length} statement.pdf`,\n name: `${attachments.length} statement.pdf`,\n onDelete: onDeleteAttachment\n }\n ]);\n },\n maxLength: args.maxLength,\n placeholder: args.placeholder,\n defaultMessage: args.defaultMessage,\n onSend: (message: string) => {\n action(`onAppendMessage: ${message}`)();\n appendMessage({\n senderType: 'agent',\n direction: 'out',\n avatarInfo: {\n name: 'Edward Green'\n },\n type: 'message',\n message,\n timeStamp: '2:08'\n });\n },\n children: composerChildren\n };\n\n const suggestedReplyPickerProps: SuggestedReplyPickerProps = {\n replies: suggestedReplies,\n onSelect: (suggestedReply: SuggestedReply) => {\n chatComposerImperativeHandleRef.current?.appendToMessage(suggestedReply.message, 'cursor');\n },\n collapsed: suggestedRepliesCollapsed,\n onExpandCollapse: () => {\n setSuggestedRepliesCollapsed(prev => !prev);\n },\n showNotification: true,\n currentReplyId: currentReply,\n onReplyChange: id => {\n setCurrentReply(id);\n }\n };\n\n const emojiCtx = useMemo(\n () =>\n ({\n set: 'google',\n spriteSrcResolver: () =>\n 'https://unpkg.com/emoji-datasource-google@5.0.1/img/google/sheets-256/64.png'\n } as const),\n []\n );\n\n return (\n <EmojiContext.Provider value={emojiCtx}>\n <Flex\n container={{\n justify: 'center'\n }}\n style={{\n height: args.chatHeight || 'calc(100vh)',\n width: args.chatWidth || '30rem',\n margin: 'auto'\n }}\n >\n <VisuallyHiddenText aria-live='assertive'>{announcement}</VisuallyHiddenText>\n <Chat\n header={{\n title: Channels.options[args.selectedChannel || 'LiveChat'].title,\n icon: Channels.options[args.selectedChannel || 'LiveChat'].icon,\n customer: 'Ginger Ventura',\n authenticated: true,\n sentiment: { variant: 'positive' },\n context: {\n items: contextItems,\n onClick: () => {\n setContextLoading(true);\n setTimeout(() => {\n setContextItems(contextItemsMock);\n setContextLoading(false);\n }, 1000);\n },\n loading: contextLoading\n },\n actions: [\n { id: 'action-1', primary: 'Transfer' },\n { id: 'action-2', primary: 'End chat' }\n ]\n }}\n banner={args.showChatBanner ? chatBanner : undefined}\n body={bodyProps}\n suggestedReplyPicker={suggestedReplyPickerProps}\n composer={composerProps}\n />\n </Flex>\n </EmojiContext.Provider>\n );\n};\n\nStandardChat.args = {\n maxAttachments: 2,\n selectedChannel: 'LiveChat',\n showChatBanner: true,\n disableChat: false,\n simulateConversation: false,\n typingIndicator: false,\n message: '',\n placeholder: 'Enter message',\n defaultMessage:\n 'Greetings! Hope you are having a great time, Please reach out to us for any help, Thanks!',\n maxLength: 280,\n loading: false\n};\n\nStandardChat.argTypes = {\n maxAttachments: { control: { type: 'number' } },\n selectedChannel: { options: ['LiveChat', 'Twitter', 'Facebook'], control: { type: 'select' } },\n showChatBanner: { control: { type: 'boolean' } },\n disableChat: { control: { type: 'boolean' } },\n simulateConversation: { control: { type: 'boolean' } },\n typingIndicator: { control: { type: 'boolean' } },\n message: { control: { type: 'text' } },\n placeholder: { control: { type: 'text' } },\n defaultMessage: { control: { type: 'text' } },\n maxLength: { control: { type: 'number' } },\n loading: { control: { type: 'boolean' } }\n};\n\nStandardChat.parameters = {\n layout: 'fullscreen'\n};\n\n/** *************************** Standard Chat component - END ************************ */\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MouseEvent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { EmailProps, EmailConversationProps, EmailComposerProps, EntityListProps, EmailSummaryListProps, EmailCaseViewProps } from '@pega/cosmos-react-social';
|
|
4
|
-
import { EmailShellProps } from '@pega/cosmos-react-social/lib/components/Email/Email.types';
|
|
5
|
-
declare const _default:
|
|
1
|
+
import type { MouseEvent } from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import type { EmailProps, EmailConversationProps, EmailComposerProps, EntityListProps, EmailSummaryListProps, EmailCaseViewProps } from '@pega/cosmos-react-social';
|
|
4
|
+
import type { EmailShellProps } from '@pega/cosmos-react-social/lib/components/Email/Email.types';
|
|
5
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
6
6
|
export default _default;
|
|
7
7
|
interface EmailDemoProps extends EmailProps {
|
|
8
8
|
enableEntityHighlighting?: boolean;
|
|
@@ -12,7 +12,7 @@ interface EmailDemoProps extends EmailProps {
|
|
|
12
12
|
showDraft?: boolean;
|
|
13
13
|
body?: string;
|
|
14
14
|
}
|
|
15
|
-
export declare const Email:
|
|
15
|
+
export declare const Email: StoryFn<EmailDemoProps>;
|
|
16
16
|
interface ComposerDemoProps {
|
|
17
17
|
enableResponseTypeToggle?: boolean;
|
|
18
18
|
enableSaveAsDraft?: boolean;
|
|
@@ -22,7 +22,7 @@ interface ComposerDemoProps {
|
|
|
22
22
|
onChange?: EmailComposerProps['onChange'];
|
|
23
23
|
data?: EmailComposerProps['data'];
|
|
24
24
|
}
|
|
25
|
-
export declare const Composer:
|
|
25
|
+
export declare const Composer: StoryFn<ComposerDemoProps>;
|
|
26
26
|
interface OutboundEmailProps {
|
|
27
27
|
enableResponseTypeToggle?: boolean;
|
|
28
28
|
enableSaveAsDraft?: boolean;
|
|
@@ -32,26 +32,26 @@ interface OutboundEmailProps {
|
|
|
32
32
|
onChange?: EmailComposerProps['onChange'];
|
|
33
33
|
data?: EmailComposerProps['data'];
|
|
34
34
|
}
|
|
35
|
-
export declare const OutboundEmail:
|
|
36
|
-
export declare const Conversation:
|
|
35
|
+
export declare const OutboundEmail: StoryFn<OutboundEmailProps>;
|
|
36
|
+
export declare const Conversation: StoryFn<EmailConversationProps>;
|
|
37
37
|
interface EmailShellDemoProps extends EmailShellProps {
|
|
38
38
|
autoCollapse?: boolean;
|
|
39
39
|
hideSuggestions?: boolean;
|
|
40
40
|
singleConversation?: boolean;
|
|
41
41
|
showHeader?: boolean;
|
|
42
42
|
}
|
|
43
|
-
export declare const EmailShellDemo:
|
|
43
|
+
export declare const EmailShellDemo: StoryFn<EmailShellDemoProps>;
|
|
44
44
|
interface EntityListDemoProps {
|
|
45
45
|
enableContextMenu?: boolean;
|
|
46
46
|
onContextMenu?: (e: MouseEvent) => void;
|
|
47
47
|
content?: EntityListProps['content'];
|
|
48
48
|
}
|
|
49
|
-
export declare const EntityListDemo:
|
|
49
|
+
export declare const EntityListDemo: StoryFn<EntityListDemoProps>;
|
|
50
50
|
interface EmailSummaryItemDemoProps {
|
|
51
51
|
unreadEmailCount?: number;
|
|
52
52
|
isActive?: boolean;
|
|
53
53
|
}
|
|
54
|
-
export declare const EmailSummaryItemDemo:
|
|
54
|
+
export declare const EmailSummaryItemDemo: StoryFn<EmailSummaryItemDemoProps>;
|
|
55
55
|
interface EmailSummaryListStoryProps {
|
|
56
56
|
onItemClick?: EmailSummaryListProps['onItemClick'];
|
|
57
57
|
items?: EmailSummaryListProps['items'];
|
|
@@ -59,13 +59,13 @@ interface EmailSummaryListStoryProps {
|
|
|
59
59
|
loading?: EmailSummaryListProps['loading'];
|
|
60
60
|
currentItemId?: EmailSummaryListProps['currentItemId'];
|
|
61
61
|
}
|
|
62
|
-
export declare const EmailSummaryListDemo:
|
|
62
|
+
export declare const EmailSummaryListDemo: StoryFn<EmailSummaryListStoryProps>;
|
|
63
63
|
interface EmailCaseViewStoryProps extends EmailCaseViewProps {
|
|
64
64
|
showBanners?: boolean;
|
|
65
65
|
noUtilityView?: boolean;
|
|
66
66
|
showHeader?: boolean;
|
|
67
67
|
}
|
|
68
|
-
export declare const EmailCaseViewDemo:
|
|
68
|
+
export declare const EmailCaseViewDemo: StoryFn<EmailCaseViewStoryProps>;
|
|
69
69
|
interface EmailManagerAppShellProps {
|
|
70
70
|
enableContextMenu?: boolean;
|
|
71
71
|
onContextMenu?: (e: MouseEvent) => void;
|
|
@@ -75,5 +75,5 @@ interface EmailManagerAppShellProps {
|
|
|
75
75
|
noItemViewInEmailCaseView?: boolean;
|
|
76
76
|
showUtilities: boolean;
|
|
77
77
|
}
|
|
78
|
-
export declare const EmailManagerAppShell:
|
|
78
|
+
export declare const EmailManagerAppShell: StoryFn<EmailManagerAppShellProps>;
|
|
79
79
|
//# sourceMappingURL=Email.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Email.stories.d.ts","sourceRoot":"","sources":["../../../src/social/Email/Email.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Email.stories.d.ts","sourceRoot":"","sources":["../../../src/social/Email/Email.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAa,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAqCtD,OAAO,KAAK,EACV,UAAU,EACV,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EAErB,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAKV,eAAe,EAEhB,MAAM,4DAA4D,CAAC;;AA0CpE,wBAGU;AASV,UAAU,cAAe,SAAQ,UAAU;IACzC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,cAAc,CAmHzC,CAAC;AA2BF,UAAU,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