@pega/cosmos-react-demos 5.0.0-dev.4.8 → 5.0.0-dev.5.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/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +3 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +15 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +19 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx +297 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +1 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +5 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +15 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +1 -0
- package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts +6 -0
- package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -0
- package/jsx/condition-builder/ConditionBuilder/props.mock.js +229 -0
- package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +1 -0
- package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts +10 -0
- package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +1 -0
- package/jsx/condition-builder/ConditionInput/ConditionInput.stories.jsx +40 -0
- package/jsx/condition-builder/ConditionInput/ConditionInput.stories.jsx.map +1 -0
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +4 -0
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -0
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js +233 -0
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -0
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +8 -0
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +1 -0
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx +31 -0
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx.map +1 -0
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts +9 -0
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts.map +1 -0
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.js +35 -0
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.js.map +1 -0
- package/jsx/core/AIButton/AIButton.mocks.d.ts +22 -0
- package/jsx/core/AIButton/AIButton.mocks.d.ts.map +1 -0
- package/jsx/core/AIButton/AIButton.mocks.js +136 -0
- package/jsx/core/AIButton/AIButton.mocks.js.map +1 -0
- package/jsx/core/AIButton/AIButton.stories.d.ts +23 -0
- package/jsx/core/AIButton/AIButton.stories.d.ts.map +1 -0
- package/jsx/core/AIButton/AIButton.stories.jsx +306 -0
- package/jsx/core/AIButton/AIButton.stories.jsx.map +1 -0
- package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts +9 -0
- package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -0
- package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx +25 -0
- package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx.map +1 -0
- package/jsx/core/AppShell/AppShell.mocks.d.ts +15 -0
- package/jsx/core/AppShell/AppShell.mocks.d.ts.map +1 -0
- package/jsx/core/AppShell/AppShell.mocks.jsx +132 -0
- package/jsx/core/AppShell/AppShell.mocks.jsx.map +1 -0
- package/jsx/core/AppShell/AppShell.stories.d.ts +39 -0
- package/jsx/core/AppShell/AppShell.stories.d.ts.map +1 -0
- package/jsx/core/AppShell/AppShell.stories.jsx +266 -0
- package/jsx/core/AppShell/AppShell.stories.jsx.map +1 -0
- package/jsx/core/AppShell/AppShell.styles.d.ts +2 -0
- package/jsx/core/AppShell/AppShell.styles.d.ts.map +1 -0
- package/jsx/core/AppShell/AppShell.styles.js +5 -0
- package/jsx/core/AppShell/AppShell.styles.js.map +1 -0
- package/jsx/core/Avatar/Avatar.stories.d.ts +15 -0
- package/jsx/core/Avatar/Avatar.stories.d.ts.map +1 -0
- package/jsx/core/Avatar/Avatar.stories.jsx +77 -0
- package/jsx/core/Avatar/Avatar.stories.jsx.map +1 -0
- package/jsx/core/Backdrop/Backdrop.stories.d.ts +7 -0
- package/jsx/core/Backdrop/Backdrop.stories.d.ts.map +1 -0
- package/jsx/core/Backdrop/Backdrop.stories.jsx +43 -0
- package/jsx/core/Backdrop/Backdrop.stories.jsx.map +1 -0
- package/jsx/core/Badges/Alert.stories.d.ts +6 -0
- package/jsx/core/Badges/Alert.stories.d.ts.map +1 -0
- package/jsx/core/Badges/Alert.stories.jsx +15 -0
- package/jsx/core/Badges/Alert.stories.jsx.map +1 -0
- package/jsx/core/Badges/Count.stories.d.ts +6 -0
- package/jsx/core/Badges/Count.stories.d.ts.map +1 -0
- package/jsx/core/Badges/Count.stories.jsx +20 -0
- package/jsx/core/Badges/Count.stories.jsx.map +1 -0
- package/jsx/core/Badges/Keyboard.stories.d.ts +6 -0
- package/jsx/core/Badges/Keyboard.stories.d.ts.map +1 -0
- package/jsx/core/Badges/Keyboard.stories.jsx +17 -0
- package/jsx/core/Badges/Keyboard.stories.jsx.map +1 -0
- package/jsx/core/Badges/Selection.stories.d.ts +5 -0
- package/jsx/core/Badges/Selection.stories.d.ts.map +1 -0
- package/jsx/core/Badges/Selection.stories.jsx +9 -0
- package/jsx/core/Badges/Selection.stories.jsx.map +1 -0
- package/jsx/core/Badges/Status.stories.d.ts +11 -0
- package/jsx/core/Badges/Status.stories.d.ts.map +1 -0
- package/jsx/core/Badges/Status.stories.jsx +43 -0
- package/jsx/core/Badges/Status.stories.jsx.map +1 -0
- package/jsx/core/Badges/Tag.stories.d.ts +5 -0
- package/jsx/core/Badges/Tag.stories.d.ts.map +1 -0
- package/jsx/core/Badges/Tag.stories.jsx +9 -0
- package/jsx/core/Badges/Tag.stories.jsx.map +1 -0
- package/jsx/core/Banner/Banner.mocks.d.ts +18 -0
- package/jsx/core/Banner/Banner.mocks.d.ts.map +1 -0
- package/jsx/core/Banner/Banner.mocks.jsx +41 -0
- package/jsx/core/Banner/Banner.mocks.jsx.map +1 -0
- package/jsx/core/Banner/Banner.stories.d.ts +18 -0
- package/jsx/core/Banner/Banner.stories.d.ts.map +1 -0
- package/jsx/core/Banner/Banner.stories.jsx +156 -0
- package/jsx/core/Banner/Banner.stories.jsx.map +1 -0
- package/jsx/core/Boolean/BooleanDisplay.stories.d.ts +6 -0
- package/jsx/core/Boolean/BooleanDisplay.stories.d.ts.map +1 -0
- package/jsx/core/Boolean/BooleanDisplay.stories.jsx +19 -0
- package/jsx/core/Boolean/BooleanDisplay.stories.jsx.map +1 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +2 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +1 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js +8 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js.map +1 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +11 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx +69 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +1 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.styles.d.ts.map +1 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.styles.js +12 -0
- package/jsx/core/Breadcrumbs/Breadcrumbs.styles.js.map +1 -0
- package/jsx/core/Button/Button.stories.d.ts +18 -0
- package/jsx/core/Button/Button.stories.d.ts.map +1 -0
- package/jsx/core/Button/Button.stories.jsx +119 -0
- package/jsx/core/Button/Button.stories.jsx.map +1 -0
- package/jsx/core/Card/Card.stories.d.ts +12 -0
- package/jsx/core/Card/Card.stories.d.ts.map +1 -0
- package/jsx/core/Card/Card.stories.jsx +85 -0
- package/jsx/core/Card/Card.stories.jsx.map +1 -0
- package/jsx/core/Card/Card.styles.d.ts +2 -0
- package/jsx/core/Card/Card.styles.d.ts.map +1 -0
- package/jsx/core/Card/Card.styles.js +5 -0
- package/jsx/core/Card/Card.styles.js.map +1 -0
- package/jsx/core/Checkbox/Checkbox.stories.d.ts +23 -0
- package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/jsx/core/Checkbox/Checkbox.stories.jsx +103 -0
- package/jsx/core/Checkbox/Checkbox.stories.jsx.map +1 -0
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts +11 -0
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -0
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx +105 -0
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -0
- package/jsx/core/CheckboxGroup/CheckboxGroup.styles.d.ts +4 -0
- package/jsx/core/CheckboxGroup/CheckboxGroup.styles.d.ts.map +1 -0
- package/jsx/core/CheckboxGroup/CheckboxGroup.styles.js +9 -0
- package/jsx/core/CheckboxGroup/CheckboxGroup.styles.js.map +1 -0
- package/jsx/core/ColorPicker/ColorPicker.stories.d.ts +10 -0
- package/jsx/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -0
- package/jsx/core/ColorPicker/ColorPicker.stories.jsx +90 -0
- package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +1 -0
- package/jsx/core/ColorPicker/ColorPicker.styles.d.ts +4 -0
- package/jsx/core/ColorPicker/ColorPicker.styles.d.ts.map +1 -0
- package/jsx/core/ColorPicker/ColorPicker.styles.js +11 -0
- package/jsx/core/ColorPicker/ColorPicker.styles.js.map +1 -0
- package/jsx/core/ComboBox/ComboBox.mocks.d.ts +26 -0
- package/jsx/core/ComboBox/ComboBox.mocks.d.ts.map +1 -0
- package/jsx/core/ComboBox/ComboBox.mocks.jsx +58 -0
- package/jsx/core/ComboBox/ComboBox.mocks.jsx.map +1 -0
- package/jsx/core/ComboBox/ComboBox.stories.d.ts +24 -0
- package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +1 -0
- package/jsx/core/ComboBox/ComboBox.stories.jsx +375 -0
- package/jsx/core/ComboBox/ComboBox.stories.jsx.map +1 -0
- package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts +8 -0
- package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts.map +1 -0
- package/jsx/core/CompositeInput/CompositeInput.mocks.jsx +8 -0
- package/jsx/core/CompositeInput/CompositeInput.mocks.jsx.map +1 -0
- package/jsx/core/CompositeInput/CompositeInput.stories.d.ts +9 -0
- package/jsx/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -0
- package/jsx/core/CompositeInput/CompositeInput.stories.jsx +54 -0
- package/jsx/core/CompositeInput/CompositeInput.stories.jsx.map +1 -0
- package/jsx/core/Configuration/Configuration.mocks.d.ts +7 -0
- package/jsx/core/Configuration/Configuration.mocks.d.ts.map +1 -0
- package/jsx/core/Configuration/Configuration.mocks.jsx +9 -0
- package/jsx/core/Configuration/Configuration.mocks.jsx.map +1 -0
- package/jsx/core/Configuration/Configuration.stories.d.ts +25 -0
- package/jsx/core/Configuration/Configuration.stories.d.ts.map +1 -0
- package/jsx/core/Configuration/Configuration.stories.jsx +196 -0
- package/jsx/core/Configuration/Configuration.stories.jsx.map +1 -0
- package/jsx/core/Configuration/Configuration.styles.d.ts +6 -0
- package/jsx/core/Configuration/Configuration.styles.d.ts.map +1 -0
- package/jsx/core/Configuration/Configuration.styles.js +12 -0
- package/jsx/core/Configuration/Configuration.styles.js.map +1 -0
- package/jsx/core/CreditCard/CreditCard.stories.d.ts +14 -0
- package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +1 -0
- package/jsx/core/CreditCard/CreditCard.stories.jsx +51 -0
- package/jsx/core/CreditCard/CreditCard.stories.jsx.map +1 -0
- package/jsx/core/Currency/Currency.stories.d.ts +19 -0
- package/jsx/core/Currency/Currency.stories.d.ts.map +1 -0
- package/jsx/core/Currency/Currency.stories.jsx +106 -0
- package/jsx/core/Currency/Currency.stories.jsx.map +1 -0
- package/jsx/core/DangerButton/DangerButton.stories.d.ts +6 -0
- package/jsx/core/DangerButton/DangerButton.stories.d.ts.map +1 -0
- package/jsx/core/DangerButton/DangerButton.stories.jsx +17 -0
- package/jsx/core/DangerButton/DangerButton.stories.jsx.map +1 -0
- package/jsx/core/DateTime/DateTime.stories.d.ts +51 -0
- package/jsx/core/DateTime/DateTime.stories.d.ts.map +1 -0
- package/jsx/core/DateTime/DateTime.stories.jsx +301 -0
- package/jsx/core/DateTime/DateTime.stories.jsx.map +1 -0
- package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts +7 -0
- package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -0
- package/jsx/core/DateTime/DateTimeDisplay.stories.jsx +49 -0
- package/jsx/core/DateTime/DateTimeDisplay.stories.jsx.map +1 -0
- package/jsx/core/DateTime/DateTimePicker.stories.d.ts +7 -0
- package/jsx/core/DateTime/DateTimePicker.stories.d.ts.map +1 -0
- package/jsx/core/DateTime/DateTimePicker.stories.jsx +34 -0
- package/jsx/core/DateTime/DateTimePicker.stories.jsx.map +1 -0
- package/jsx/core/Dialog/Dialog.stories.d.ts +7 -0
- package/jsx/core/Dialog/Dialog.stories.d.ts.map +1 -0
- package/jsx/core/Dialog/Dialog.stories.jsx +15 -0
- package/jsx/core/Dialog/Dialog.stories.jsx.map +1 -0
- package/jsx/core/Dialog/FormDialog.mocks.d.ts +27 -0
- package/jsx/core/Dialog/FormDialog.mocks.d.ts.map +1 -0
- package/jsx/core/Dialog/FormDialog.mocks.jsx +194 -0
- package/jsx/core/Dialog/FormDialog.mocks.jsx.map +1 -0
- package/jsx/core/Dialog/InfoDialog.mocks.d.ts +4 -0
- package/jsx/core/Dialog/InfoDialog.mocks.d.ts.map +1 -0
- package/jsx/core/Dialog/InfoDialog.mocks.jsx +64 -0
- package/jsx/core/Dialog/InfoDialog.mocks.jsx.map +1 -0
- package/jsx/core/Drawer/Drawer.stories.d.ts +7 -0
- package/jsx/core/Drawer/Drawer.stories.d.ts.map +1 -0
- package/jsx/core/Drawer/Drawer.stories.jsx +98 -0
- package/jsx/core/Drawer/Drawer.stories.jsx.map +1 -0
- package/jsx/core/Drawer/Drawer.styles.d.ts +2 -0
- package/jsx/core/Drawer/Drawer.styles.d.ts.map +1 -0
- package/jsx/core/Drawer/Drawer.styles.js +11 -0
- package/jsx/core/Drawer/Drawer.styles.js.map +1 -0
- package/jsx/core/Email/EmailDisplay.stories.d.ts +6 -0
- package/jsx/core/Email/EmailDisplay.stories.d.ts.map +1 -0
- package/jsx/core/Email/EmailDisplay.stories.jsx +19 -0
- package/jsx/core/Email/EmailDisplay.stories.jsx.map +1 -0
- package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts +8 -0
- package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts.map +1 -0
- package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx +53 -0
- package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx.map +1 -0
- package/jsx/core/EmptyState/EmptyState.stories.d.ts +6 -0
- package/jsx/core/EmptyState/EmptyState.stories.d.ts.map +1 -0
- package/jsx/core/EmptyState/EmptyState.stories.jsx +18 -0
- package/jsx/core/EmptyState/EmptyState.stories.jsx.map +1 -0
- package/jsx/core/ErrorState/ErrorState.stories.d.ts +9 -0
- package/jsx/core/ErrorState/ErrorState.stories.d.ts.map +1 -0
- package/jsx/core/ErrorState/ErrorState.stories.jsx +20 -0
- package/jsx/core/ErrorState/ErrorState.stories.jsx.map +1 -0
- package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts +7 -0
- package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +1 -0
- package/jsx/core/ExpandCollapse/ExpandCollapse.stories.jsx +73 -0
- package/jsx/core/ExpandCollapse/ExpandCollapse.stories.jsx.map +1 -0
- package/jsx/core/ExpandCollapse/ExpandCollapse.styles.d.ts +4 -0
- package/jsx/core/ExpandCollapse/ExpandCollapse.styles.d.ts.map +1 -0
- package/jsx/core/ExpandCollapse/ExpandCollapse.styles.js +17 -0
- package/jsx/core/ExpandCollapse/ExpandCollapse.styles.js.map +1 -0
- package/jsx/core/FieldGroup/FieldGroup.stories.d.ts +20 -0
- package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -0
- package/jsx/core/FieldGroup/FieldGroup.stories.jsx +89 -0
- package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +1 -0
- package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +25 -0
- package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -0
- package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx +109 -0
- package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +1 -0
- package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts +12 -0
- package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -0
- package/jsx/core/FieldGroup/FieldGroupList.stories.jsx +134 -0
- package/jsx/core/FieldGroup/FieldGroupList.stories.jsx.map +1 -0
- package/jsx/core/FieldValueList/FieldValueList.mocks.d.ts +20 -0
- package/jsx/core/FieldValueList/FieldValueList.mocks.d.ts.map +1 -0
- package/jsx/core/FieldValueList/FieldValueList.mocks.jsx +54 -0
- package/jsx/core/FieldValueList/FieldValueList.mocks.jsx.map +1 -0
- package/jsx/core/FieldValueList/FieldValueList.stories.d.ts +11 -0
- package/jsx/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -0
- package/jsx/core/FieldValueList/FieldValueList.stories.jsx +37 -0
- package/jsx/core/FieldValueList/FieldValueList.stories.jsx.map +1 -0
- package/jsx/core/FieldValueList/FieldValueList.styles.d.ts +2 -0
- package/jsx/core/FieldValueList/FieldValueList.styles.d.ts.map +1 -0
- package/jsx/core/FieldValueList/FieldValueList.styles.js +8 -0
- package/jsx/core/FieldValueList/FieldValueList.styles.js.map +1 -0
- package/jsx/core/File/FileDisplay.stories.d.ts +20 -0
- package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -0
- package/jsx/core/File/FileDisplay.stories.jsx +138 -0
- package/jsx/core/File/FileDisplay.stories.jsx.map +1 -0
- package/jsx/core/File/FileInput.stories.d.ts +10 -0
- package/jsx/core/File/FileInput.stories.d.ts.map +1 -0
- package/jsx/core/File/FileInput.stories.jsx +97 -0
- package/jsx/core/File/FileInput.stories.jsx.map +1 -0
- package/jsx/core/Flex/Flex.styles.d.ts +10 -0
- package/jsx/core/Flex/Flex.styles.d.ts.map +1 -0
- package/jsx/core/Flex/Flex.styles.js +41 -0
- package/jsx/core/Flex/Flex.styles.js.map +1 -0
- package/jsx/core/Flex/FlexContainer.stories.d.ts +21 -0
- package/jsx/core/Flex/FlexContainer.stories.d.ts.map +1 -0
- package/jsx/core/Flex/FlexContainer.stories.jsx +164 -0
- package/jsx/core/Flex/FlexContainer.stories.jsx.map +1 -0
- package/jsx/core/Flex/FlexItem.stories.d.ts +13 -0
- package/jsx/core/Flex/FlexItem.stories.d.ts.map +1 -0
- package/jsx/core/Flex/FlexItem.stories.jsx +71 -0
- package/jsx/core/Flex/FlexItem.stories.jsx.map +1 -0
- package/jsx/core/Form/Form.mocks.d.ts +14 -0
- package/jsx/core/Form/Form.mocks.d.ts.map +1 -0
- package/jsx/core/Form/Form.mocks.jsx +265 -0
- package/jsx/core/Form/Form.mocks.jsx.map +1 -0
- package/jsx/core/Form/Form.stories.d.ts +25 -0
- package/jsx/core/Form/Form.stories.d.ts.map +1 -0
- package/jsx/core/Form/Form.stories.jsx +106 -0
- package/jsx/core/Form/Form.stories.jsx.map +1 -0
- package/jsx/core/Grid/Grid.styles.d.ts +6 -0
- package/jsx/core/Grid/Grid.styles.d.ts.map +1 -0
- package/jsx/core/Grid/Grid.styles.js +36 -0
- package/jsx/core/Grid/Grid.styles.js.map +1 -0
- package/jsx/core/Grid/GridContainer.stories.d.ts +23 -0
- package/jsx/core/Grid/GridContainer.stories.d.ts.map +1 -0
- package/jsx/core/Grid/GridContainer.stories.jsx +168 -0
- package/jsx/core/Grid/GridContainer.stories.jsx.map +1 -0
- package/jsx/core/Grid/GridItem.stories.d.ts +12 -0
- package/jsx/core/Grid/GridItem.stories.d.ts.map +1 -0
- package/jsx/core/Grid/GridItem.stories.jsx +74 -0
- package/jsx/core/Grid/GridItem.stories.jsx.map +1 -0
- package/jsx/core/HTML/HTML.stories.d.ts +6 -0
- package/jsx/core/HTML/HTML.stories.d.ts.map +1 -0
- package/jsx/core/HTML/HTML.stories.jsx +13 -0
- package/jsx/core/HTML/HTML.stories.jsx.map +1 -0
- package/jsx/core/Icon/Icon.mocks.d.ts +26 -0
- package/jsx/core/Icon/Icon.mocks.d.ts.map +1 -0
- package/jsx/core/Icon/Icon.mocks.jsx +32 -0
- package/jsx/core/Icon/Icon.mocks.jsx.map +1 -0
- package/jsx/core/Icon/Icon.stories.d.ts +21 -0
- package/jsx/core/Icon/Icon.stories.d.ts.map +1 -0
- package/jsx/core/Icon/Icon.stories.jsx +112 -0
- package/jsx/core/Icon/Icon.stories.jsx.map +1 -0
- package/jsx/core/Icon/Icon.styles.d.ts +4 -0
- package/jsx/core/Icon/Icon.styles.d.ts.map +1 -0
- package/jsx/core/Icon/Icon.styles.js +25 -0
- package/jsx/core/Icon/Icon.styles.js.map +1 -0
- package/jsx/core/IconPicker/IconPicker.stories.d.ts +6 -0
- package/jsx/core/IconPicker/IconPicker.stories.d.ts.map +1 -0
- package/jsx/core/IconPicker/IconPicker.stories.jsx +35 -0
- package/jsx/core/IconPicker/IconPicker.stories.jsx.map +1 -0
- package/jsx/core/Image/Image.stories.d.ts +5 -0
- package/jsx/core/Image/Image.stories.d.ts.map +1 -0
- package/jsx/core/Image/Image.stories.jsx +9 -0
- package/jsx/core/Image/Image.stories.jsx.map +1 -0
- package/jsx/core/Input/Input.stories.d.ts +20 -0
- package/jsx/core/Input/Input.stories.d.ts.map +1 -0
- package/jsx/core/Input/Input.stories.jsx +160 -0
- package/jsx/core/Input/Input.stories.jsx.map +1 -0
- package/jsx/core/Label/Label.stories.d.ts +10 -0
- package/jsx/core/Label/Label.stories.d.ts.map +1 -0
- package/jsx/core/Label/Label.stories.jsx +33 -0
- package/jsx/core/Label/Label.stories.jsx.map +1 -0
- package/jsx/core/Lightbox/Lightbox.mocks.d.ts +15 -0
- package/jsx/core/Lightbox/Lightbox.mocks.d.ts.map +1 -0
- package/jsx/core/Lightbox/Lightbox.mocks.js +59 -0
- package/jsx/core/Lightbox/Lightbox.mocks.js.map +1 -0
- package/jsx/core/Lightbox/Lightbox.stories.d.ts +10 -0
- package/jsx/core/Lightbox/Lightbox.stories.d.ts.map +1 -0
- package/jsx/core/Lightbox/Lightbox.stories.jsx +55 -0
- package/jsx/core/Lightbox/Lightbox.stories.jsx.map +1 -0
- package/jsx/core/Link/Link.stories.d.ts +13 -0
- package/jsx/core/Link/Link.stories.d.ts.map +1 -0
- package/jsx/core/Link/Link.stories.jsx +43 -0
- package/jsx/core/Link/Link.stories.jsx.map +1 -0
- package/jsx/core/List/CommaSeparatedList.stories.d.ts +6 -0
- package/jsx/core/List/CommaSeparatedList.stories.d.ts.map +1 -0
- package/jsx/core/List/CommaSeparatedList.stories.jsx +31 -0
- package/jsx/core/List/CommaSeparatedList.stories.jsx.map +1 -0
- package/jsx/core/List/OrderedList.stories.d.ts +10 -0
- package/jsx/core/List/OrderedList.stories.d.ts.map +1 -0
- package/jsx/core/List/OrderedList.stories.jsx +38 -0
- package/jsx/core/List/OrderedList.stories.jsx.map +1 -0
- package/jsx/core/List/UnorderedList.stories.d.ts +10 -0
- package/jsx/core/List/UnorderedList.stories.d.ts.map +1 -0
- package/jsx/core/List/UnorderedList.stories.jsx +38 -0
- package/jsx/core/List/UnorderedList.stories.jsx.map +1 -0
- package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts +9 -0
- package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -0
- package/jsx/core/ListToolbar/ListToolbar.mocks.jsx +66 -0
- package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +1 -0
- package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +12 -0
- package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -0
- package/jsx/core/ListToolbar/ListToolbar.stories.jsx +121 -0
- package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -0
- package/jsx/core/LiveLog/LiveLog.mocks.d.ts +5 -0
- package/jsx/core/LiveLog/LiveLog.mocks.d.ts.map +1 -0
- package/jsx/core/LiveLog/LiveLog.mocks.jsx +47 -0
- package/jsx/core/LiveLog/LiveLog.mocks.jsx.map +1 -0
- package/jsx/core/LiveLog/LiveLog.stories.d.ts +9 -0
- package/jsx/core/LiveLog/LiveLog.stories.d.ts.map +1 -0
- package/jsx/core/LiveLog/LiveLog.stories.jsx +19 -0
- package/jsx/core/LiveLog/LiveLog.stories.jsx.map +1 -0
- package/jsx/core/Location/Location.stories.d.ts +15 -0
- package/jsx/core/Location/Location.stories.d.ts.map +1 -0
- package/jsx/core/Location/Location.stories.jsx +143 -0
- package/jsx/core/Location/Location.stories.jsx.map +1 -0
- package/jsx/core/Location/locationTestUtils.d.ts +3 -0
- package/jsx/core/Location/locationTestUtils.d.ts.map +1 -0
- package/jsx/core/Location/locationTestUtils.js +29 -0
- package/jsx/core/Location/locationTestUtils.js.map +1 -0
- package/jsx/core/Menu/Menu.mocks.d.ts +4 -0
- package/jsx/core/Menu/Menu.mocks.d.ts.map +1 -0
- package/jsx/core/Menu/Menu.mocks.js +179 -0
- package/jsx/core/Menu/Menu.mocks.js.map +1 -0
- package/jsx/core/Menu/Menu.stories.d.ts +18 -0
- package/jsx/core/Menu/Menu.stories.d.ts.map +1 -0
- package/jsx/core/Menu/Menu.stories.jsx +196 -0
- package/jsx/core/Menu/Menu.stories.jsx.map +1 -0
- package/jsx/core/Menu/Menu.styles.d.ts +2 -0
- package/jsx/core/Menu/Menu.styles.d.ts.map +1 -0
- package/jsx/core/Menu/Menu.styles.js +6 -0
- package/jsx/core/Menu/Menu.styles.js.map +1 -0
- package/jsx/core/MenuButton/MenuButton.stories.d.ts +16 -0
- package/jsx/core/MenuButton/MenuButton.stories.d.ts.map +1 -0
- package/jsx/core/MenuButton/MenuButton.stories.jsx +188 -0
- package/jsx/core/MenuButton/MenuButton.stories.jsx.map +1 -0
- package/jsx/core/MetaList/MetaList.stories.d.ts +9 -0
- package/jsx/core/MetaList/MetaList.stories.d.ts.map +1 -0
- package/jsx/core/MetaList/MetaList.stories.jsx +24 -0
- package/jsx/core/MetaList/MetaList.stories.jsx.map +1 -0
- package/jsx/core/Modal/Modal.mocks.d.ts +4 -0
- package/jsx/core/Modal/Modal.mocks.d.ts.map +1 -0
- package/jsx/core/Modal/Modal.mocks.jsx +44 -0
- package/jsx/core/Modal/Modal.mocks.jsx.map +1 -0
- package/jsx/core/Modal/Modal.stories.d.ts +35 -0
- package/jsx/core/Modal/Modal.stories.d.ts.map +1 -0
- package/jsx/core/Modal/Modal.stories.jsx +315 -0
- package/jsx/core/Modal/Modal.stories.jsx.map +1 -0
- package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts +70 -0
- package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -0
- package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx +401 -0
- package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx.map +1 -0
- package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts +7 -0
- package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -0
- package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx +133 -0
- package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx.map +1 -0
- package/jsx/core/NoValue/NoValue.stories.d.ts +6 -0
- package/jsx/core/NoValue/NoValue.stories.d.ts.map +1 -0
- package/jsx/core/NoValue/NoValue.stories.jsx +30 -0
- package/jsx/core/NoValue/NoValue.stories.jsx.map +1 -0
- package/jsx/core/Number/Number.stories.d.ts +19 -0
- package/jsx/core/Number/Number.stories.d.ts.map +1 -0
- package/jsx/core/Number/Number.stories.jsx +299 -0
- package/jsx/core/Number/Number.stories.jsx.map +1 -0
- package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts +3 -0
- package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
- package/jsx/core/PageTemplates/PageTemplates.mocks.js +10 -0
- package/jsx/core/PageTemplates/PageTemplates.mocks.js.map +1 -0
- package/jsx/core/PageTemplates/PageTemplates.stories.d.ts +33 -0
- package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -0
- package/jsx/core/PageTemplates/PageTemplates.stories.jsx +287 -0
- package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -0
- package/jsx/core/PageTemplates/PageTemplates.styles.d.ts +5 -0
- package/jsx/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -0
- package/jsx/core/PageTemplates/PageTemplates.styles.js +40 -0
- package/jsx/core/PageTemplates/PageTemplates.styles.js.map +1 -0
- package/jsx/core/Pagination/Pagination.stories.d.ts +6 -0
- package/jsx/core/Pagination/Pagination.stories.d.ts.map +1 -0
- package/jsx/core/Pagination/Pagination.stories.jsx +19 -0
- package/jsx/core/Pagination/Pagination.stories.jsx.map +1 -0
- package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts +6 -0
- package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts.map +1 -0
- package/jsx/core/Paragraph/ParagraphDisplay.stories.jsx +15 -0
- package/jsx/core/Paragraph/ParagraphDisplay.stories.jsx.map +1 -0
- package/jsx/core/Phone/Phone.stories.d.ts +13 -0
- package/jsx/core/Phone/Phone.stories.d.ts.map +1 -0
- package/jsx/core/Phone/Phone.stories.jsx +53 -0
- package/jsx/core/Phone/Phone.stories.jsx.map +1 -0
- package/jsx/core/Popover/Popover.mocks.d.ts +9 -0
- package/jsx/core/Popover/Popover.mocks.d.ts.map +1 -0
- package/jsx/core/Popover/Popover.mocks.jsx +114 -0
- package/jsx/core/Popover/Popover.mocks.jsx.map +1 -0
- package/jsx/core/Popover/Popover.stories.d.ts +13 -0
- package/jsx/core/Popover/Popover.stories.d.ts.map +1 -0
- package/jsx/core/Popover/Popover.stories.jsx +209 -0
- package/jsx/core/Popover/Popover.stories.jsx.map +1 -0
- package/jsx/core/Progress/Progress.mocks.d.ts +2 -0
- package/jsx/core/Progress/Progress.mocks.d.ts.map +1 -0
- package/jsx/core/Progress/Progress.mocks.js +2 -0
- package/jsx/core/Progress/Progress.mocks.js.map +1 -0
- package/jsx/core/Progress/Progress.stories.d.ts +16 -0
- package/jsx/core/Progress/Progress.stories.d.ts.map +1 -0
- package/jsx/core/Progress/Progress.stories.jsx +124 -0
- package/jsx/core/Progress/Progress.stories.jsx.map +1 -0
- package/jsx/core/Progress/Progress.styles.d.ts +2 -0
- package/jsx/core/Progress/Progress.styles.d.ts.map +1 -0
- package/jsx/core/Progress/Progress.styles.js +14 -0
- package/jsx/core/Progress/Progress.styles.js.map +1 -0
- package/jsx/core/QRCode/QRCode.stories.d.ts +9 -0
- package/jsx/core/QRCode/QRCode.stories.d.ts.map +1 -0
- package/jsx/core/QRCode/QRCode.stories.jsx +17 -0
- package/jsx/core/QRCode/QRCode.stories.jsx.map +1 -0
- package/jsx/core/RadioButton/RadioButton.stories.d.ts +23 -0
- package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +1 -0
- package/jsx/core/RadioButton/RadioButton.stories.jsx +98 -0
- package/jsx/core/RadioButton/RadioButton.stories.jsx.map +1 -0
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +11 -0
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -0
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +107 -0
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -0
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts +4 -0
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts.map +1 -0
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.js +9 -0
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.js.map +1 -0
- package/jsx/core/Rating/Rating.stories.d.ts +13 -0
- package/jsx/core/Rating/Rating.stories.d.ts.map +1 -0
- package/jsx/core/Rating/Rating.stories.jsx +39 -0
- package/jsx/core/Rating/Rating.stories.jsx.map +1 -0
- package/jsx/core/SearchInput/SearchInput.mocks.d.ts +12 -0
- package/jsx/core/SearchInput/SearchInput.mocks.d.ts.map +1 -0
- package/jsx/core/SearchInput/SearchInput.mocks.js +25 -0
- package/jsx/core/SearchInput/SearchInput.mocks.js.map +1 -0
- package/jsx/core/SearchInput/SearchInput.stories.d.ts +7 -0
- package/jsx/core/SearchInput/SearchInput.stories.d.ts.map +1 -0
- package/jsx/core/SearchInput/SearchInput.stories.jsx +44 -0
- package/jsx/core/SearchInput/SearchInput.stories.jsx.map +1 -0
- package/jsx/core/Select/Select.stories.d.ts +18 -0
- package/jsx/core/Select/Select.stories.d.ts.map +1 -0
- package/jsx/core/Select/Select.stories.jsx +84 -0
- package/jsx/core/Select/Select.stories.jsx.map +1 -0
- package/jsx/core/Sentiment/Sentiment.stories.d.ts +20 -0
- package/jsx/core/Sentiment/Sentiment.stories.d.ts.map +1 -0
- package/jsx/core/Sentiment/Sentiment.stories.jsx +71 -0
- package/jsx/core/Sentiment/Sentiment.stories.jsx.map +1 -0
- package/jsx/core/SkipLinks/SkipLinks.stories.d.ts +6 -0
- package/jsx/core/SkipLinks/SkipLinks.stories.d.ts.map +1 -0
- package/jsx/core/SkipLinks/SkipLinks.stories.jsx +29 -0
- package/jsx/core/SkipLinks/SkipLinks.stories.jsx.map +1 -0
- package/jsx/core/SkipLinks/SkipLinks.styles.d.ts +2 -0
- package/jsx/core/SkipLinks/SkipLinks.styles.d.ts.map +1 -0
- package/jsx/core/SkipLinks/SkipLinks.styles.js +16 -0
- package/jsx/core/SkipLinks/SkipLinks.styles.js.map +1 -0
- package/jsx/core/Slider/Slider.stories.d.ts +13 -0
- package/jsx/core/Slider/Slider.stories.d.ts.map +1 -0
- package/jsx/core/Slider/Slider.stories.jsx +79 -0
- package/jsx/core/Slider/Slider.stories.jsx.map +1 -0
- package/jsx/core/SummaryItem/SummaryItem.stories.d.ts +11 -0
- package/jsx/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -0
- package/jsx/core/SummaryItem/SummaryItem.stories.jsx +36 -0
- package/jsx/core/SummaryItem/SummaryItem.stories.jsx.map +1 -0
- package/jsx/core/SummaryList/SummaryList.mocks.d.ts +20 -0
- package/jsx/core/SummaryList/SummaryList.mocks.d.ts.map +1 -0
- package/jsx/core/SummaryList/SummaryList.mocks.jsx +48 -0
- package/jsx/core/SummaryList/SummaryList.mocks.jsx.map +1 -0
- package/jsx/core/SummaryList/SummaryList.stories.d.ts +13 -0
- package/jsx/core/SummaryList/SummaryList.stories.d.ts.map +1 -0
- package/jsx/core/SummaryList/SummaryList.stories.jsx +131 -0
- package/jsx/core/SummaryList/SummaryList.stories.jsx.map +1 -0
- package/jsx/core/SummaryList/mockUsers.d.ts +16 -0
- package/jsx/core/SummaryList/mockUsers.d.ts.map +1 -0
- package/jsx/core/SummaryList/mockUsers.js +904 -0
- package/jsx/core/SummaryList/mockUsers.js.map +1 -0
- package/jsx/core/Switch/Switch.stories.d.ts +14 -0
- package/jsx/core/Switch/Switch.stories.d.ts.map +1 -0
- package/jsx/core/Switch/Switch.stories.jsx +60 -0
- package/jsx/core/Switch/Switch.stories.jsx.map +1 -0
- package/jsx/core/Switch/Switch.styles.d.ts +2 -0
- package/jsx/core/Switch/Switch.styles.d.ts.map +1 -0
- package/jsx/core/Switch/Switch.styles.js +13 -0
- package/jsx/core/Switch/Switch.styles.js.map +1 -0
- package/jsx/core/Table/Table.mocks.d.ts +25 -0
- package/jsx/core/Table/Table.mocks.d.ts.map +1 -0
- package/jsx/core/Table/Table.mocks.jsx +166 -0
- package/jsx/core/Table/Table.mocks.jsx.map +1 -0
- package/jsx/core/Table/Table.stories.d.ts +39 -0
- package/jsx/core/Table/Table.stories.d.ts.map +1 -0
- package/jsx/core/Table/Table.stories.jsx +178 -0
- package/jsx/core/Table/Table.stories.jsx.map +1 -0
- package/jsx/core/Table/Table.styles.d.ts +4 -0
- package/jsx/core/Table/Table.styles.d.ts.map +1 -0
- package/jsx/core/Table/Table.styles.js +9 -0
- package/jsx/core/Table/Table.styles.js.map +1 -0
- package/jsx/core/Tabs/Tabs.stories.d.ts +9 -0
- package/jsx/core/Tabs/Tabs.stories.d.ts.map +1 -0
- package/jsx/core/Tabs/Tabs.stories.jsx +59 -0
- package/jsx/core/Tabs/Tabs.stories.jsx.map +1 -0
- package/jsx/core/Text/Text.stories.d.ts +25 -0
- package/jsx/core/Text/Text.stories.d.ts.map +1 -0
- package/jsx/core/Text/Text.stories.jsx +134 -0
- package/jsx/core/Text/Text.stories.jsx.map +1 -0
- package/jsx/core/TextArea/TextArea.stories.d.ts +14 -0
- package/jsx/core/TextArea/TextArea.stories.d.ts.map +1 -0
- package/jsx/core/TextArea/TextArea.stories.jsx +72 -0
- package/jsx/core/TextArea/TextArea.stories.jsx.map +1 -0
- package/jsx/core/Toaster/Toaster.stories.d.ts +5 -0
- package/jsx/core/Toaster/Toaster.stories.d.ts.map +1 -0
- package/jsx/core/Toaster/Toaster.stories.jsx +27 -0
- package/jsx/core/Toaster/Toaster.stories.jsx.map +1 -0
- package/jsx/core/Tooltip/Tooltip.stories.d.ts +11 -0
- package/jsx/core/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/jsx/core/Tooltip/Tooltip.stories.jsx +66 -0
- package/jsx/core/Tooltip/Tooltip.stories.jsx.map +1 -0
- package/jsx/core/Tooltip/Tooltip.styles.d.ts +2 -0
- package/jsx/core/Tooltip/Tooltip.styles.d.ts.map +1 -0
- package/jsx/core/Tooltip/Tooltip.styles.js +23 -0
- package/jsx/core/Tooltip/Tooltip.styles.js.map +1 -0
- package/jsx/core/Tree/Tree.mocks.d.ts +2 -0
- package/jsx/core/Tree/Tree.mocks.d.ts.map +1 -0
- package/jsx/core/Tree/Tree.mocks.js +20 -0
- package/jsx/core/Tree/Tree.mocks.js.map +1 -0
- package/jsx/core/Tree/Tree.stories.d.ts +7 -0
- package/jsx/core/Tree/Tree.stories.d.ts.map +1 -0
- package/jsx/core/Tree/Tree.stories.jsx +95 -0
- package/jsx/core/Tree/Tree.stories.jsx.map +1 -0
- package/jsx/core/Tree/Tree.styles.d.ts +3 -0
- package/jsx/core/Tree/Tree.styles.d.ts.map +1 -0
- package/jsx/core/Tree/Tree.styles.js +10 -0
- package/jsx/core/Tree/Tree.styles.js.map +1 -0
- package/jsx/core/URL/URL.stories.d.ts +6 -0
- package/jsx/core/URL/URL.stories.d.ts.map +1 -0
- package/jsx/core/URL/URL.stories.jsx +17 -0
- package/jsx/core/URL/URL.stories.jsx.map +1 -0
- package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts +15 -0
- package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -0
- package/jsx/dnd/DragDropList/DragDropList.mocks.jsx +33 -0
- package/jsx/dnd/DragDropList/DragDropList.mocks.jsx.map +1 -0
- package/jsx/dnd/DragDropList/DragDropList.stories.d.ts +10 -0
- package/jsx/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -0
- package/jsx/dnd/DragDropList/DragDropList.stories.jsx +55 -0
- package/jsx/dnd/DragDropList/DragDropList.stories.jsx.map +1 -0
- package/jsx/dnd/DragDropList/DragDropList.styles.d.ts +6 -0
- package/jsx/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -0
- package/jsx/dnd/DragDropList/DragDropList.styles.js +32 -0
- package/jsx/dnd/DragDropList/DragDropList.styles.js.map +1 -0
- package/jsx/dnd/StandardDragDropList/Demo.d.ts +8 -0
- package/jsx/dnd/StandardDragDropList/Demo.d.ts.map +1 -0
- package/jsx/dnd/StandardDragDropList/Demo.jsx +156 -0
- package/jsx/dnd/StandardDragDropList/Demo.jsx.map +1 -0
- package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts +10 -0
- package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts.map +1 -0
- package/jsx/dnd/StandardDragDropList/GroupConfig.jsx +26 -0
- package/jsx/dnd/StandardDragDropList/GroupConfig.jsx.map +1 -0
- package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts +12 -0
- package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -0
- package/jsx/dnd/StandardDragDropList/ItemConfig.jsx +21 -0
- package/jsx/dnd/StandardDragDropList/ItemConfig.jsx.map +1 -0
- package/jsx/dnd/StandardDragDropList/Popover.d.ts +14 -0
- package/jsx/dnd/StandardDragDropList/Popover.d.ts.map +1 -0
- package/jsx/dnd/StandardDragDropList/Popover.jsx +51 -0
- package/jsx/dnd/StandardDragDropList/Popover.jsx.map +1 -0
- package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts +16 -0
- package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -0
- package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx +104 -0
- package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx.map +1 -0
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +5 -0
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +1 -0
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx +15 -0
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx.map +1 -0
- package/jsx/dnd/StandardDragDropList/mockData.d.ts +26 -0
- package/jsx/dnd/StandardDragDropList/mockData.d.ts.map +1 -0
- package/jsx/dnd/StandardDragDropList/mockData.js +77 -0
- package/jsx/dnd/StandardDragDropList/mockData.js.map +1 -0
- package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +8 -0
- package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -0
- package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx +103 -0
- package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +1 -0
- package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts +11 -0
- package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts.map +1 -0
- package/jsx/rte/DynamicContentEditor/FieldSelector.jsx +82 -0
- package/jsx/rte/DynamicContentEditor/FieldSelector.jsx.map +1 -0
- package/jsx/rte/Editor/Editor.mocks.d.ts +330 -0
- package/jsx/rte/Editor/Editor.mocks.d.ts.map +1 -0
- package/jsx/rte/Editor/Editor.mocks.jsx +23 -0
- package/jsx/rte/Editor/Editor.mocks.jsx.map +1 -0
- package/jsx/rte/Editor/Editor.stories.d.ts +13 -0
- package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -0
- package/jsx/rte/Editor/Editor.stories.jsx +126 -0
- package/jsx/rte/Editor/Editor.stories.jsx.map +1 -0
- package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts +3 -0
- package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +1 -0
- package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx +34 -0
- package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +1 -0
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts +6 -0
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -0
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx +45 -0
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +1 -0
- package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts +8 -0
- package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -0
- package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx +96 -0
- package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx.map +1 -0
- package/jsx/social/Chat/Chat.mocks.d.ts +64 -0
- package/jsx/social/Chat/Chat.mocks.d.ts.map +1 -0
- package/jsx/social/Chat/Chat.mocks.js +744 -0
- package/jsx/social/Chat/Chat.mocks.js.map +1 -0
- package/jsx/social/Chat/Chat.stories.d.ts +52 -0
- package/jsx/social/Chat/Chat.stories.d.ts.map +1 -0
- package/jsx/social/Chat/Chat.stories.jsx +624 -0
- package/jsx/social/Chat/Chat.stories.jsx.map +1 -0
- package/jsx/social/Email/Email.mocks.d.ts +352 -0
- package/jsx/social/Email/Email.mocks.d.ts.map +1 -0
- package/jsx/social/Email/Email.mocks.jsx +1215 -0
- package/jsx/social/Email/Email.mocks.jsx.map +1 -0
- package/jsx/social/Email/Email.stories.d.ts +81 -0
- package/jsx/social/Email/Email.stories.d.ts.map +1 -0
- package/jsx/social/Email/Email.stories.jsx +1199 -0
- package/jsx/social/Email/Email.stories.jsx.map +1 -0
- package/jsx/social/Email/Email.styles.d.ts +3 -0
- package/jsx/social/Email/Email.styles.d.ts.map +1 -0
- package/jsx/social/Email/Email.styles.js +11 -0
- package/jsx/social/Email/Email.styles.js.map +1 -0
- package/jsx/social/Feed/Feed.mocks.d.ts +53 -0
- package/jsx/social/Feed/Feed.mocks.d.ts.map +1 -0
- package/jsx/social/Feed/Feed.mocks.jsx +412 -0
- package/jsx/social/Feed/Feed.mocks.jsx.map +1 -0
- package/jsx/social/Feed/Feed.stories.d.ts +11 -0
- package/jsx/social/Feed/Feed.stories.d.ts.map +1 -0
- package/jsx/social/Feed/Feed.stories.jsx +215 -0
- package/jsx/social/Feed/Feed.stories.jsx.map +1 -0
- package/jsx/social/Feed/FeedNewPost.mocks.d.ts +8 -0
- package/jsx/social/Feed/FeedNewPost.mocks.d.ts.map +1 -0
- package/jsx/social/Feed/FeedNewPost.mocks.jsx +29 -0
- package/jsx/social/Feed/FeedNewPost.mocks.jsx.map +1 -0
- package/jsx/social/Feed/FeedPost.mocks.d.ts +4 -0
- package/jsx/social/Feed/FeedPost.mocks.d.ts.map +1 -0
- package/jsx/social/Feed/FeedPost.mocks.jsx +182 -0
- package/jsx/social/Feed/FeedPost.mocks.jsx.map +1 -0
- package/jsx/social/Feed/FeedReply.mocks.d.ts +13 -0
- package/jsx/social/Feed/FeedReply.mocks.d.ts.map +1 -0
- package/jsx/social/Feed/FeedReply.mocks.jsx +83 -0
- package/jsx/social/Feed/FeedReply.mocks.jsx.map +1 -0
- package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts +6 -0
- package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +1 -0
- package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx +30 -0
- package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx.map +1 -0
- package/jsx/work/Article/Article.mocks.d.ts +22 -0
- package/jsx/work/Article/Article.mocks.d.ts.map +1 -0
- package/jsx/work/Article/Article.mocks.js +22 -0
- package/jsx/work/Article/Article.mocks.js.map +1 -0
- package/jsx/work/Article/Article.stories.d.ts +18 -0
- package/jsx/work/Article/Article.stories.d.ts.map +1 -0
- package/jsx/work/Article/Article.stories.jsx +244 -0
- package/jsx/work/Article/Article.stories.jsx.map +1 -0
- package/jsx/work/ArticleList/ArticleList.mocks.d.ts +165 -0
- package/jsx/work/ArticleList/ArticleList.mocks.d.ts.map +1 -0
- package/jsx/work/ArticleList/ArticleList.mocks.js +450 -0
- package/jsx/work/ArticleList/ArticleList.mocks.js.map +1 -0
- package/jsx/work/ArticleList/ArticleList.stories.d.ts +15 -0
- package/jsx/work/ArticleList/ArticleList.stories.d.ts.map +1 -0
- package/jsx/work/ArticleList/ArticleList.stories.jsx +520 -0
- package/jsx/work/ArticleList/ArticleList.stories.jsx.map +1 -0
- package/jsx/work/Assignments/Assignments.stories.d.ts +11 -0
- package/jsx/work/Assignments/Assignments.stories.d.ts.map +1 -0
- package/jsx/work/Assignments/Assignments.stories.jsx +64 -0
- package/jsx/work/Assignments/Assignments.stories.jsx.map +1 -0
- package/jsx/work/CaseView/Attachments.mocks.d.ts +3 -0
- package/jsx/work/CaseView/Attachments.mocks.d.ts.map +1 -0
- package/jsx/work/CaseView/Attachments.mocks.jsx +397 -0
- package/jsx/work/CaseView/Attachments.mocks.jsx.map +1 -0
- package/jsx/work/CaseView/CaseView.mocks.d.ts +113 -0
- package/jsx/work/CaseView/CaseView.mocks.d.ts.map +1 -0
- package/jsx/work/CaseView/CaseView.mocks.jsx +596 -0
- package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -0
- package/jsx/work/CaseView/CaseView.stories.d.ts +6 -0
- package/jsx/work/CaseView/CaseView.stories.d.ts.map +1 -0
- package/jsx/work/CaseView/CaseView.stories.jsx +57 -0
- package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -0
- package/jsx/work/CaseView/Details.mocks.d.ts +3 -0
- package/jsx/work/CaseView/Details.mocks.d.ts.map +1 -0
- package/jsx/work/CaseView/Details.mocks.jsx +21 -0
- package/jsx/work/CaseView/Details.mocks.jsx.map +1 -0
- package/jsx/work/CaseView/FileService.mock.d.ts +28 -0
- package/jsx/work/CaseView/FileService.mock.d.ts.map +1 -0
- package/jsx/work/CaseView/FileService.mock.jsx +139 -0
- package/jsx/work/CaseView/FileService.mock.jsx.map +1 -0
- package/jsx/work/CaseView/Pulse.mocks.d.ts +7 -0
- package/jsx/work/CaseView/Pulse.mocks.d.ts.map +1 -0
- package/jsx/work/CaseView/Pulse.mocks.jsx +35 -0
- package/jsx/work/CaseView/Pulse.mocks.jsx.map +1 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +45 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx +166 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx.map +1 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +5 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx +24 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +1 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +4 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +1 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js +11 -0
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +1 -0
- package/jsx/work/Confirmation/Confirmation.stories.d.ts +13 -0
- package/jsx/work/Confirmation/Confirmation.stories.d.ts.map +1 -0
- package/jsx/work/Confirmation/Confirmation.stories.jsx +39 -0
- package/jsx/work/Confirmation/Confirmation.stories.jsx.map +1 -0
- package/jsx/work/Confirmation/Confirmation.styles.d.ts +2 -0
- package/jsx/work/Confirmation/Confirmation.styles.d.ts.map +1 -0
- package/jsx/work/Confirmation/Confirmation.styles.js +7 -0
- package/jsx/work/Confirmation/Confirmation.styles.js.map +1 -0
- package/jsx/work/Details/Details.stories.d.ts +10 -0
- package/jsx/work/Details/Details.stories.d.ts.map +1 -0
- package/jsx/work/Details/Details.stories.jsx +110 -0
- package/jsx/work/Details/Details.stories.jsx.map +1 -0
- package/jsx/work/Glimpse/Glimpse.stories.d.ts +5 -0
- package/jsx/work/Glimpse/Glimpse.stories.d.ts.map +1 -0
- package/jsx/work/Glimpse/Glimpse.stories.jsx +42 -0
- package/jsx/work/Glimpse/Glimpse.stories.jsx.map +1 -0
- package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +5 -0
- package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -0
- package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx +115 -0
- package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +1 -0
- package/jsx/work/Predictions/Predictions.mocks.d.ts +3 -0
- package/jsx/work/Predictions/Predictions.mocks.d.ts.map +1 -0
- package/jsx/work/Predictions/Predictions.mocks.jsx +18 -0
- package/jsx/work/Predictions/Predictions.mocks.jsx.map +1 -0
- package/jsx/work/Predictions/Predictions.stories.d.ts +5 -0
- package/jsx/work/Predictions/Predictions.stories.d.ts.map +1 -0
- package/jsx/work/Predictions/Predictions.stories.jsx +53 -0
- package/jsx/work/Predictions/Predictions.stories.jsx.map +1 -0
- package/jsx/work/SearchResults/SearchResults.mocks.d.ts +14 -0
- package/jsx/work/SearchResults/SearchResults.mocks.d.ts.map +1 -0
- package/jsx/work/SearchResults/SearchResults.mocks.jsx +97 -0
- package/jsx/work/SearchResults/SearchResults.mocks.jsx.map +1 -0
- package/jsx/work/SearchResults/SearchResults.stories.d.ts +9 -0
- package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +1 -0
- package/jsx/work/SearchResults/SearchResults.stories.jsx +242 -0
- package/jsx/work/SearchResults/SearchResults.stories.jsx.map +1 -0
- package/jsx/work/SearchResults/SearchResults.styles.d.ts +5 -0
- package/jsx/work/SearchResults/SearchResults.styles.d.ts.map +1 -0
- package/jsx/work/SearchResults/SearchResults.styles.js +12 -0
- package/jsx/work/SearchResults/SearchResults.styles.js.map +1 -0
- package/jsx/work/Stages/Stages.mocks.d.ts +14 -0
- package/jsx/work/Stages/Stages.mocks.d.ts.map +1 -0
- package/jsx/work/Stages/Stages.mocks.jsx +40 -0
- package/jsx/work/Stages/Stages.mocks.jsx.map +1 -0
- package/jsx/work/Stages/Stages.stories.d.ts +11 -0
- package/jsx/work/Stages/Stages.stories.d.ts.map +1 -0
- package/jsx/work/Stages/Stages.stories.jsx +45 -0
- package/jsx/work/Stages/Stages.stories.jsx.map +1 -0
- package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts +17 -0
- package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -0
- package/jsx/work/Stakeholders/Stakeholders.mocks.jsx +36 -0
- package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +1 -0
- package/jsx/work/Stakeholders/Stakeholders.stories.d.ts +5 -0
- package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -0
- package/jsx/work/Stakeholders/Stakeholders.stories.jsx +91 -0
- package/jsx/work/Stakeholders/Stakeholders.stories.jsx.map +1 -0
- package/jsx/work/Tags/Tags.mocks.d.ts +3 -0
- package/jsx/work/Tags/Tags.mocks.d.ts.map +1 -0
- package/jsx/work/Tags/Tags.mocks.js +76 -0
- package/jsx/work/Tags/Tags.mocks.js.map +1 -0
- package/jsx/work/Tags/Tags.stories.d.ts +10 -0
- package/jsx/work/Tags/Tags.stories.d.ts.map +1 -0
- package/jsx/work/Tags/Tags.stories.jsx +66 -0
- package/jsx/work/Tags/Tags.stories.jsx.map +1 -0
- package/jsx/work/Tasks/TaskList.stories.d.ts +5 -0
- package/jsx/work/Tasks/TaskList.stories.d.ts.map +1 -0
- package/jsx/work/Tasks/TaskList.stories.jsx +19 -0
- package/jsx/work/Tasks/TaskList.stories.jsx.map +1 -0
- package/jsx/work/Tasks/Tasks.mocks.d.ts +22 -0
- package/jsx/work/Tasks/Tasks.mocks.d.ts.map +1 -0
- package/jsx/work/Tasks/Tasks.mocks.js +51 -0
- package/jsx/work/Tasks/Tasks.mocks.js.map +1 -0
- package/jsx/work/Tasks/Tasks.stories.d.ts +15 -0
- package/jsx/work/Tasks/Tasks.stories.d.ts.map +1 -0
- package/jsx/work/Tasks/Tasks.stories.jsx +79 -0
- package/jsx/work/Tasks/Tasks.stories.jsx.map +1 -0
- package/jsx/work/Timeline/Timeline.mocks.d.ts +3 -0
- package/jsx/work/Timeline/Timeline.mocks.d.ts.map +1 -0
- package/jsx/work/Timeline/Timeline.mocks.jsx +144 -0
- package/jsx/work/Timeline/Timeline.mocks.jsx.map +1 -0
- package/jsx/work/Timeline/Timeline.stories.d.ts +11 -0
- package/jsx/work/Timeline/Timeline.stories.d.ts.map +1 -0
- package/jsx/work/Timeline/Timeline.stories.jsx +78 -0
- package/jsx/work/Timeline/Timeline.stories.jsx.map +1 -0
- package/jsx/wss/AppShell/AppShell.mocks.d.ts +24 -0
- package/jsx/wss/AppShell/AppShell.mocks.d.ts.map +1 -0
- package/jsx/wss/AppShell/AppShell.mocks.jsx +64 -0
- package/jsx/wss/AppShell/AppShell.mocks.jsx.map +1 -0
- package/jsx/wss/AppShell/AppShell.stories.d.ts +19 -0
- package/jsx/wss/AppShell/AppShell.stories.d.ts.map +1 -0
- package/jsx/wss/AppShell/AppShell.stories.jsx +96 -0
- package/jsx/wss/AppShell/AppShell.stories.jsx.map +1 -0
- package/jsx/wss/AppShell/AppShell.styles.d.ts +2 -0
- package/jsx/wss/AppShell/AppShell.styles.d.ts.map +1 -0
- package/jsx/wss/AppShell/AppShell.styles.js +5 -0
- package/jsx/wss/AppShell/AppShell.styles.js.map +1 -0
- package/jsx/wss/CaseView/CaseView.mocks.d.ts +13 -0
- package/jsx/wss/CaseView/CaseView.mocks.d.ts.map +1 -0
- package/jsx/wss/CaseView/CaseView.mocks.jsx +34 -0
- package/jsx/wss/CaseView/CaseView.mocks.jsx.map +1 -0
- package/jsx/wss/CaseView/CaseView.stories.d.ts +12 -0
- package/jsx/wss/CaseView/CaseView.stories.d.ts.map +1 -0
- package/jsx/wss/CaseView/CaseView.stories.jsx +74 -0
- package/jsx/wss/CaseView/CaseView.stories.jsx.map +1 -0
- package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts +15 -0
- package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -0
- package/jsx/wss/PageTemplates/PageTemplates.stories.jsx +48 -0
- package/jsx/wss/PageTemplates/PageTemplates.stories.jsx.map +1 -0
- package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts +10 -0
- package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -0
- package/jsx/wss/QuickCreate/QuickCreate.stories.jsx +37 -0
- package/jsx/wss/QuickCreate/QuickCreate.stories.jsx.map +1 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +3 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +1 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +15 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +1 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +19 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +1 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js +182 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js.map +1 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +5 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +15 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +1 -0
- package/lib/condition-builder/ConditionBuilder/props.mock.d.ts +6 -0
- package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -0
- package/lib/condition-builder/ConditionBuilder/props.mock.js +229 -0
- package/lib/condition-builder/ConditionBuilder/props.mock.js.map +1 -0
- package/lib/condition-builder/ConditionInput/ConditionInput.stories.d.ts +10 -0
- package/lib/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +1 -0
- package/lib/condition-builder/ConditionInput/ConditionInput.stories.js +41 -0
- package/lib/condition-builder/ConditionInput/ConditionInput.stories.js.map +1 -0
- package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +4 -0
- package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -0
- package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js +233 -0
- package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -0
- package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +8 -0
- package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +1 -0
- package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.js +24 -0
- package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.js.map +1 -0
- package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts +9 -0
- package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts.map +1 -0
- package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.js +35 -0
- package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.js.map +1 -0
- package/lib/core/AIButton/AIButton.mocks.d.ts +22 -0
- package/lib/core/AIButton/AIButton.mocks.d.ts.map +1 -0
- package/lib/core/AIButton/AIButton.mocks.js +139 -0
- package/lib/core/AIButton/AIButton.mocks.js.map +1 -0
- package/lib/core/AIButton/AIButton.stories.d.ts +23 -0
- package/lib/core/AIButton/AIButton.stories.d.ts.map +1 -0
- package/lib/core/AIButton/AIButton.stories.js +223 -0
- package/lib/core/AIButton/AIButton.stories.js.map +1 -0
- package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts +9 -0
- package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +1 -0
- package/lib/core/AdditionalInfo/AdditionalInfo.stories.js +16 -0
- package/lib/core/AdditionalInfo/AdditionalInfo.stories.js.map +1 -0
- package/lib/core/AppShell/AppShell.mocks.d.ts +15 -0
- package/lib/core/AppShell/AppShell.mocks.d.ts.map +1 -0
- package/lib/core/AppShell/AppShell.mocks.js +127 -0
- package/lib/core/AppShell/AppShell.mocks.js.map +1 -0
- package/lib/core/AppShell/AppShell.stories.d.ts +41 -0
- package/lib/core/AppShell/AppShell.stories.d.ts.map +1 -0
- package/lib/core/AppShell/AppShell.stories.js +267 -0
- package/lib/core/AppShell/AppShell.stories.js.map +1 -0
- package/lib/core/AppShell/AppShell.styles.d.ts +2 -0
- package/lib/core/AppShell/AppShell.styles.d.ts.map +1 -0
- package/lib/core/AppShell/AppShell.styles.js +5 -0
- package/lib/core/AppShell/AppShell.styles.js.map +1 -0
- package/lib/core/Avatar/Avatar.stories.d.ts +15 -0
- package/lib/core/Avatar/Avatar.stories.d.ts.map +1 -0
- package/lib/core/Avatar/Avatar.stories.js +76 -0
- package/lib/core/Avatar/Avatar.stories.js.map +1 -0
- package/lib/core/Backdrop/Backdrop.stories.d.ts +7 -0
- package/lib/core/Backdrop/Backdrop.stories.d.ts.map +1 -0
- package/lib/core/Backdrop/Backdrop.stories.js +26 -0
- package/lib/core/Backdrop/Backdrop.stories.js.map +1 -0
- package/lib/core/Badges/Alert.stories.d.ts +6 -0
- package/lib/core/Badges/Alert.stories.d.ts.map +1 -0
- package/lib/core/Badges/Alert.stories.js +16 -0
- package/lib/core/Badges/Alert.stories.js.map +1 -0
- package/lib/core/Badges/Count.stories.d.ts +6 -0
- package/lib/core/Badges/Count.stories.d.ts.map +1 -0
- package/lib/core/Badges/Count.stories.js +21 -0
- package/lib/core/Badges/Count.stories.js.map +1 -0
- package/lib/core/Badges/Keyboard.stories.d.ts +6 -0
- package/lib/core/Badges/Keyboard.stories.d.ts.map +1 -0
- package/lib/core/Badges/Keyboard.stories.js +16 -0
- package/lib/core/Badges/Keyboard.stories.js.map +1 -0
- package/lib/core/Badges/Selection.stories.d.ts +5 -0
- package/lib/core/Badges/Selection.stories.d.ts.map +1 -0
- package/lib/core/Badges/Selection.stories.js +10 -0
- package/lib/core/Badges/Selection.stories.js.map +1 -0
- package/lib/core/Badges/Status.stories.d.ts +11 -0
- package/lib/core/Badges/Status.stories.d.ts.map +1 -0
- package/lib/core/Badges/Status.stories.js +42 -0
- package/lib/core/Badges/Status.stories.js.map +1 -0
- package/lib/core/Badges/Tag.stories.d.ts +5 -0
- package/lib/core/Badges/Tag.stories.d.ts.map +1 -0
- package/lib/core/Badges/Tag.stories.js +10 -0
- package/lib/core/Badges/Tag.stories.js.map +1 -0
- package/lib/core/Banner/Banner.mocks.d.ts +18 -0
- package/lib/core/Banner/Banner.mocks.d.ts.map +1 -0
- package/lib/core/Banner/Banner.mocks.js +36 -0
- package/lib/core/Banner/Banner.mocks.js.map +1 -0
- package/lib/core/Banner/Banner.stories.d.ts +18 -0
- package/lib/core/Banner/Banner.stories.d.ts.map +1 -0
- package/lib/core/Banner/Banner.stories.js +154 -0
- package/lib/core/Banner/Banner.stories.js.map +1 -0
- package/lib/core/Boolean/BooleanDisplay.stories.d.ts +6 -0
- package/lib/core/Boolean/BooleanDisplay.stories.d.ts.map +1 -0
- package/lib/core/Boolean/BooleanDisplay.stories.js +20 -0
- package/lib/core/Boolean/BooleanDisplay.stories.js.map +1 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +2 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +1 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.mocks.js +8 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.mocks.js.map +1 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +11 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.stories.js +68 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +1 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.styles.d.ts.map +1 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.styles.js +12 -0
- package/lib/core/Breadcrumbs/Breadcrumbs.styles.js.map +1 -0
- package/lib/core/Button/Button.stories.d.ts +18 -0
- package/lib/core/Button/Button.stories.d.ts.map +1 -0
- package/lib/core/Button/Button.stories.js +80 -0
- package/lib/core/Button/Button.stories.js.map +1 -0
- package/lib/core/Card/Card.stories.d.ts +12 -0
- package/lib/core/Card/Card.stories.d.ts.map +1 -0
- package/lib/core/Card/Card.stories.js +51 -0
- package/lib/core/Card/Card.stories.js.map +1 -0
- package/lib/core/Card/Card.styles.d.ts +2 -0
- package/lib/core/Card/Card.styles.d.ts.map +1 -0
- package/lib/core/Card/Card.styles.js +5 -0
- package/lib/core/Card/Card.styles.js.map +1 -0
- package/lib/core/Checkbox/Checkbox.stories.d.ts +23 -0
- package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/lib/core/Checkbox/Checkbox.stories.js +102 -0
- package/lib/core/Checkbox/Checkbox.stories.js.map +1 -0
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts +11 -0
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -0
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.js +72 -0
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +1 -0
- package/lib/core/CheckboxGroup/CheckboxGroup.styles.d.ts +4 -0
- package/lib/core/CheckboxGroup/CheckboxGroup.styles.d.ts.map +1 -0
- package/lib/core/CheckboxGroup/CheckboxGroup.styles.js +9 -0
- package/lib/core/CheckboxGroup/CheckboxGroup.styles.js.map +1 -0
- package/lib/core/ColorPicker/ColorPicker.stories.d.ts +10 -0
- package/lib/core/ColorPicker/ColorPicker.stories.d.ts.map +1 -0
- package/lib/core/ColorPicker/ColorPicker.stories.js +75 -0
- package/lib/core/ColorPicker/ColorPicker.stories.js.map +1 -0
- package/lib/core/ColorPicker/ColorPicker.styles.d.ts +4 -0
- package/lib/core/ColorPicker/ColorPicker.styles.d.ts.map +1 -0
- package/lib/core/ColorPicker/ColorPicker.styles.js +11 -0
- package/lib/core/ColorPicker/ColorPicker.styles.js.map +1 -0
- package/lib/core/ComboBox/ComboBox.mocks.d.ts +26 -0
- package/lib/core/ComboBox/ComboBox.mocks.d.ts.map +1 -0
- package/lib/core/ComboBox/ComboBox.mocks.js +57 -0
- package/lib/core/ComboBox/ComboBox.mocks.js.map +1 -0
- package/lib/core/ComboBox/ComboBox.stories.d.ts +34 -0
- package/lib/core/ComboBox/ComboBox.stories.d.ts.map +1 -0
- package/lib/core/ComboBox/ComboBox.stories.js +428 -0
- package/lib/core/ComboBox/ComboBox.stories.js.map +1 -0
- package/lib/core/CompositeInput/CompositeInput.mocks.d.ts +8 -0
- package/lib/core/CompositeInput/CompositeInput.mocks.d.ts.map +1 -0
- package/lib/core/CompositeInput/CompositeInput.mocks.js +6 -0
- package/lib/core/CompositeInput/CompositeInput.mocks.js.map +1 -0
- package/lib/core/CompositeInput/CompositeInput.stories.d.ts +9 -0
- package/lib/core/CompositeInput/CompositeInput.stories.d.ts.map +1 -0
- package/lib/core/CompositeInput/CompositeInput.stories.js +55 -0
- package/lib/core/CompositeInput/CompositeInput.stories.js.map +1 -0
- package/lib/core/Configuration/Configuration.mocks.d.ts +7 -0
- package/lib/core/Configuration/Configuration.mocks.d.ts.map +1 -0
- package/lib/core/Configuration/Configuration.mocks.js +6 -0
- package/lib/core/Configuration/Configuration.mocks.js.map +1 -0
- package/lib/core/Configuration/Configuration.stories.d.ts +25 -0
- package/lib/core/Configuration/Configuration.stories.d.ts.map +1 -0
- package/lib/core/Configuration/Configuration.stories.js +123 -0
- package/lib/core/Configuration/Configuration.stories.js.map +1 -0
- package/lib/core/Configuration/Configuration.styles.d.ts +6 -0
- package/lib/core/Configuration/Configuration.styles.d.ts.map +1 -0
- package/lib/core/Configuration/Configuration.styles.js +12 -0
- package/lib/core/Configuration/Configuration.styles.js.map +1 -0
- package/lib/core/CreditCard/CreditCard.stories.d.ts +14 -0
- package/lib/core/CreditCard/CreditCard.stories.d.ts.map +1 -0
- package/lib/core/CreditCard/CreditCard.stories.js +52 -0
- package/lib/core/CreditCard/CreditCard.stories.js.map +1 -0
- package/lib/core/Currency/Currency.stories.d.ts +19 -0
- package/lib/core/Currency/Currency.stories.d.ts.map +1 -0
- package/lib/core/Currency/Currency.stories.js +107 -0
- package/lib/core/Currency/Currency.stories.js.map +1 -0
- package/lib/core/DangerButton/DangerButton.stories.d.ts +6 -0
- package/lib/core/DangerButton/DangerButton.stories.d.ts.map +1 -0
- package/lib/core/DangerButton/DangerButton.stories.js +18 -0
- package/lib/core/DangerButton/DangerButton.stories.js.map +1 -0
- package/lib/core/DateTime/DateTime.stories.d.ts +51 -0
- package/lib/core/DateTime/DateTime.stories.d.ts.map +1 -0
- package/lib/core/DateTime/DateTime.stories.js +303 -0
- package/lib/core/DateTime/DateTime.stories.js.map +1 -0
- package/lib/core/DateTime/DateTimeDisplay.stories.d.ts +7 -0
- package/lib/core/DateTime/DateTimeDisplay.stories.d.ts.map +1 -0
- package/lib/core/DateTime/DateTimeDisplay.stories.js +50 -0
- package/lib/core/DateTime/DateTimeDisplay.stories.js.map +1 -0
- package/lib/core/DateTime/DateTimePicker.stories.d.ts +7 -0
- package/lib/core/DateTime/DateTimePicker.stories.d.ts.map +1 -0
- package/lib/core/DateTime/DateTimePicker.stories.js +35 -0
- package/lib/core/DateTime/DateTimePicker.stories.js.map +1 -0
- package/lib/core/Dialog/Dialog.stories.d.ts +7 -0
- package/lib/core/Dialog/Dialog.stories.d.ts.map +1 -0
- package/lib/core/Dialog/Dialog.stories.js +16 -0
- package/lib/core/Dialog/Dialog.stories.js.map +1 -0
- package/lib/core/Dialog/FormDialog.mocks.d.ts +27 -0
- package/lib/core/Dialog/FormDialog.mocks.d.ts.map +1 -0
- package/lib/core/Dialog/FormDialog.mocks.js +188 -0
- package/lib/core/Dialog/FormDialog.mocks.js.map +1 -0
- package/lib/core/Dialog/InfoDialog.mocks.d.ts +4 -0
- package/lib/core/Dialog/InfoDialog.mocks.d.ts.map +1 -0
- package/lib/core/Dialog/InfoDialog.mocks.js +41 -0
- package/lib/core/Dialog/InfoDialog.mocks.js.map +1 -0
- package/lib/core/Drawer/Drawer.stories.d.ts +7 -0
- package/lib/core/Drawer/Drawer.stories.d.ts.map +1 -0
- package/lib/core/Drawer/Drawer.stories.js +71 -0
- package/lib/core/Drawer/Drawer.stories.js.map +1 -0
- package/lib/core/Drawer/Drawer.styles.d.ts +2 -0
- package/lib/core/Drawer/Drawer.styles.d.ts.map +1 -0
- package/lib/core/Drawer/Drawer.styles.js +11 -0
- package/lib/core/Drawer/Drawer.styles.js.map +1 -0
- package/lib/core/Email/EmailDisplay.stories.d.ts +6 -0
- package/lib/core/Email/EmailDisplay.stories.d.ts.map +1 -0
- package/lib/core/Email/EmailDisplay.stories.js +20 -0
- package/lib/core/Email/EmailDisplay.stories.js.map +1 -0
- package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts +8 -0
- package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts.map +1 -0
- package/lib/core/EmojiPicker/EmojiPicker.stories.js +43 -0
- package/lib/core/EmojiPicker/EmojiPicker.stories.js.map +1 -0
- package/lib/core/EmptyState/EmptyState.stories.d.ts +6 -0
- package/lib/core/EmptyState/EmptyState.stories.d.ts.map +1 -0
- package/lib/core/EmptyState/EmptyState.stories.js +19 -0
- package/lib/core/EmptyState/EmptyState.stories.js.map +1 -0
- package/lib/core/ErrorState/ErrorState.stories.d.ts +9 -0
- package/lib/core/ErrorState/ErrorState.stories.d.ts.map +1 -0
- package/lib/core/ErrorState/ErrorState.stories.js +21 -0
- package/lib/core/ErrorState/ErrorState.stories.js.map +1 -0
- package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts +7 -0
- package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +1 -0
- package/lib/core/ExpandCollapse/ExpandCollapse.stories.js +28 -0
- package/lib/core/ExpandCollapse/ExpandCollapse.stories.js.map +1 -0
- package/lib/core/ExpandCollapse/ExpandCollapse.styles.d.ts +4 -0
- package/lib/core/ExpandCollapse/ExpandCollapse.styles.d.ts.map +1 -0
- package/lib/core/ExpandCollapse/ExpandCollapse.styles.js +17 -0
- package/lib/core/ExpandCollapse/ExpandCollapse.styles.js.map +1 -0
- package/lib/core/FieldGroup/FieldGroup.stories.d.ts +20 -0
- package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +1 -0
- package/lib/core/FieldGroup/FieldGroup.stories.js +59 -0
- package/lib/core/FieldGroup/FieldGroup.stories.js.map +1 -0
- package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +25 -0
- package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -0
- package/lib/core/FieldGroup/FieldGroupList.mocks.js +87 -0
- package/lib/core/FieldGroup/FieldGroupList.mocks.js.map +1 -0
- package/lib/core/FieldGroup/FieldGroupList.stories.d.ts +12 -0
- package/lib/core/FieldGroup/FieldGroupList.stories.d.ts.map +1 -0
- package/lib/core/FieldGroup/FieldGroupList.stories.js +114 -0
- package/lib/core/FieldGroup/FieldGroupList.stories.js.map +1 -0
- package/lib/core/FieldValueList/FieldValueList.mocks.d.ts +20 -0
- package/lib/core/FieldValueList/FieldValueList.mocks.d.ts.map +1 -0
- package/lib/core/FieldValueList/FieldValueList.mocks.js +51 -0
- package/lib/core/FieldValueList/FieldValueList.mocks.js.map +1 -0
- package/lib/core/FieldValueList/FieldValueList.stories.d.ts +11 -0
- package/lib/core/FieldValueList/FieldValueList.stories.d.ts.map +1 -0
- package/lib/core/FieldValueList/FieldValueList.stories.js +36 -0
- package/lib/core/FieldValueList/FieldValueList.stories.js.map +1 -0
- package/lib/core/FieldValueList/FieldValueList.styles.d.ts +2 -0
- package/lib/core/FieldValueList/FieldValueList.styles.d.ts.map +1 -0
- package/lib/core/FieldValueList/FieldValueList.styles.js +8 -0
- package/lib/core/FieldValueList/FieldValueList.styles.js.map +1 -0
- package/lib/core/File/FileDisplay.stories.d.ts +20 -0
- package/lib/core/File/FileDisplay.stories.d.ts.map +1 -0
- package/lib/core/File/FileDisplay.stories.js +139 -0
- package/lib/core/File/FileDisplay.stories.js.map +1 -0
- package/lib/core/File/FileInput.stories.d.ts +10 -0
- package/lib/core/File/FileInput.stories.d.ts.map +1 -0
- package/lib/core/File/FileInput.stories.js +85 -0
- package/lib/core/File/FileInput.stories.js.map +1 -0
- package/lib/core/Flex/Flex.styles.d.ts +10 -0
- package/lib/core/Flex/Flex.styles.d.ts.map +1 -0
- package/lib/core/Flex/Flex.styles.js +41 -0
- package/lib/core/Flex/Flex.styles.js.map +1 -0
- package/lib/core/Flex/FlexContainer.stories.d.ts +21 -0
- package/lib/core/Flex/FlexContainer.stories.d.ts.map +1 -0
- package/lib/core/Flex/FlexContainer.stories.js +82 -0
- package/lib/core/Flex/FlexContainer.stories.js.map +1 -0
- package/lib/core/Flex/FlexItem.stories.d.ts +13 -0
- package/lib/core/Flex/FlexItem.stories.d.ts.map +1 -0
- package/lib/core/Flex/FlexItem.stories.js +41 -0
- package/lib/core/Flex/FlexItem.stories.js.map +1 -0
- package/lib/core/Form/Form.mocks.d.ts +14 -0
- package/lib/core/Form/Form.mocks.d.ts.map +1 -0
- package/lib/core/Form/Form.mocks.js +165 -0
- package/lib/core/Form/Form.mocks.js.map +1 -0
- package/lib/core/Form/Form.stories.d.ts +25 -0
- package/lib/core/Form/Form.stories.d.ts.map +1 -0
- package/lib/core/Form/Form.stories.js +94 -0
- package/lib/core/Form/Form.stories.js.map +1 -0
- package/lib/core/Grid/Grid.styles.d.ts +6 -0
- package/lib/core/Grid/Grid.styles.d.ts.map +1 -0
- package/lib/core/Grid/Grid.styles.js +36 -0
- package/lib/core/Grid/Grid.styles.js.map +1 -0
- package/lib/core/Grid/GridContainer.stories.d.ts +23 -0
- package/lib/core/Grid/GridContainer.stories.d.ts.map +1 -0
- package/lib/core/Grid/GridContainer.stories.js +115 -0
- package/lib/core/Grid/GridContainer.stories.js.map +1 -0
- package/lib/core/Grid/GridItem.stories.d.ts +12 -0
- package/lib/core/Grid/GridItem.stories.d.ts.map +1 -0
- package/lib/core/Grid/GridItem.stories.js +36 -0
- package/lib/core/Grid/GridItem.stories.js.map +1 -0
- package/lib/core/HTML/HTML.stories.d.ts +6 -0
- package/lib/core/HTML/HTML.stories.d.ts.map +1 -0
- package/lib/core/HTML/HTML.stories.js +14 -0
- package/lib/core/HTML/HTML.stories.js.map +1 -0
- package/lib/core/Icon/Icon.mocks.d.ts +26 -0
- package/lib/core/Icon/Icon.mocks.d.ts.map +1 -0
- package/lib/core/Icon/Icon.mocks.js +33 -0
- package/lib/core/Icon/Icon.mocks.js.map +1 -0
- package/lib/core/Icon/Icon.stories.d.ts +21 -0
- package/lib/core/Icon/Icon.stories.d.ts.map +1 -0
- package/lib/core/Icon/Icon.stories.js +101 -0
- package/lib/core/Icon/Icon.stories.js.map +1 -0
- package/lib/core/Icon/Icon.styles.d.ts +4 -0
- package/lib/core/Icon/Icon.styles.d.ts.map +1 -0
- package/lib/core/Icon/Icon.styles.js +25 -0
- package/lib/core/Icon/Icon.styles.js.map +1 -0
- package/lib/core/IconPicker/IconPicker.stories.d.ts +6 -0
- package/lib/core/IconPicker/IconPicker.stories.d.ts.map +1 -0
- package/lib/core/IconPicker/IconPicker.stories.js +36 -0
- package/lib/core/IconPicker/IconPicker.stories.js.map +1 -0
- package/lib/core/Image/Image.stories.d.ts +5 -0
- package/lib/core/Image/Image.stories.d.ts.map +1 -0
- package/lib/core/Image/Image.stories.js +10 -0
- package/lib/core/Image/Image.stories.js.map +1 -0
- package/lib/core/Input/Input.stories.d.ts +20 -0
- package/lib/core/Input/Input.stories.d.ts.map +1 -0
- package/lib/core/Input/Input.stories.js +159 -0
- package/lib/core/Input/Input.stories.js.map +1 -0
- package/lib/core/Label/Label.stories.d.ts +10 -0
- package/lib/core/Label/Label.stories.d.ts.map +1 -0
- package/lib/core/Label/Label.stories.js +32 -0
- package/lib/core/Label/Label.stories.js.map +1 -0
- package/lib/core/Lightbox/Lightbox.mocks.d.ts +15 -0
- package/lib/core/Lightbox/Lightbox.mocks.d.ts.map +1 -0
- package/lib/core/Lightbox/Lightbox.mocks.js +59 -0
- package/lib/core/Lightbox/Lightbox.mocks.js.map +1 -0
- package/lib/core/Lightbox/Lightbox.stories.d.ts +10 -0
- package/lib/core/Lightbox/Lightbox.stories.d.ts.map +1 -0
- package/lib/core/Lightbox/Lightbox.stories.js +51 -0
- package/lib/core/Lightbox/Lightbox.stories.js.map +1 -0
- package/lib/core/Link/Link.stories.d.ts +13 -0
- package/lib/core/Link/Link.stories.d.ts.map +1 -0
- package/lib/core/Link/Link.stories.js +31 -0
- package/lib/core/Link/Link.stories.js.map +1 -0
- package/lib/core/List/CommaSeparatedList.stories.d.ts +6 -0
- package/lib/core/List/CommaSeparatedList.stories.d.ts.map +1 -0
- package/lib/core/List/CommaSeparatedList.stories.js +32 -0
- package/lib/core/List/CommaSeparatedList.stories.js.map +1 -0
- package/lib/core/List/OrderedList.stories.d.ts +10 -0
- package/lib/core/List/OrderedList.stories.d.ts.map +1 -0
- package/lib/core/List/OrderedList.stories.js +39 -0
- package/lib/core/List/OrderedList.stories.js.map +1 -0
- package/lib/core/List/UnorderedList.stories.d.ts +10 -0
- package/lib/core/List/UnorderedList.stories.d.ts.map +1 -0
- package/lib/core/List/UnorderedList.stories.js +39 -0
- package/lib/core/List/UnorderedList.stories.js.map +1 -0
- package/lib/core/ListToolbar/ListToolbar.mocks.d.ts +9 -0
- package/lib/core/ListToolbar/ListToolbar.mocks.d.ts.map +1 -0
- package/lib/core/ListToolbar/ListToolbar.mocks.js +43 -0
- package/lib/core/ListToolbar/ListToolbar.mocks.js.map +1 -0
- package/lib/core/ListToolbar/ListToolbar.stories.d.ts +12 -0
- package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +1 -0
- package/lib/core/ListToolbar/ListToolbar.stories.js +107 -0
- package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -0
- package/lib/core/LiveLog/LiveLog.mocks.d.ts +5 -0
- package/lib/core/LiveLog/LiveLog.mocks.d.ts.map +1 -0
- package/lib/core/LiveLog/LiveLog.mocks.js +29 -0
- package/lib/core/LiveLog/LiveLog.mocks.js.map +1 -0
- package/lib/core/LiveLog/LiveLog.stories.d.ts +9 -0
- package/lib/core/LiveLog/LiveLog.stories.d.ts.map +1 -0
- package/lib/core/LiveLog/LiveLog.stories.js +20 -0
- package/lib/core/LiveLog/LiveLog.stories.js.map +1 -0
- package/lib/core/Location/Location.stories.d.ts +15 -0
- package/lib/core/Location/Location.stories.d.ts.map +1 -0
- package/lib/core/Location/Location.stories.js +136 -0
- package/lib/core/Location/Location.stories.js.map +1 -0
- package/lib/core/Location/locationTestUtils.d.ts +3 -0
- package/lib/core/Location/locationTestUtils.d.ts.map +1 -0
- package/lib/core/Location/locationTestUtils.js +30 -0
- package/lib/core/Location/locationTestUtils.js.map +1 -0
- package/lib/core/Menu/Menu.mocks.d.ts +4 -0
- package/lib/core/Menu/Menu.mocks.d.ts.map +1 -0
- package/lib/core/Menu/Menu.mocks.js +179 -0
- package/lib/core/Menu/Menu.mocks.js.map +1 -0
- package/lib/core/Menu/Menu.stories.d.ts +18 -0
- package/lib/core/Menu/Menu.stories.d.ts.map +1 -0
- package/lib/core/Menu/Menu.stories.js +174 -0
- package/lib/core/Menu/Menu.stories.js.map +1 -0
- package/lib/core/Menu/Menu.styles.d.ts +2 -0
- package/lib/core/Menu/Menu.styles.d.ts.map +1 -0
- package/lib/core/Menu/Menu.styles.js +6 -0
- package/lib/core/Menu/Menu.styles.js.map +1 -0
- package/lib/core/MenuButton/MenuButton.stories.d.ts +16 -0
- package/lib/core/MenuButton/MenuButton.stories.d.ts.map +1 -0
- package/lib/core/MenuButton/MenuButton.stories.js +185 -0
- package/lib/core/MenuButton/MenuButton.stories.js.map +1 -0
- package/lib/core/MetaList/MetaList.stories.d.ts +9 -0
- package/lib/core/MetaList/MetaList.stories.d.ts.map +1 -0
- package/lib/core/MetaList/MetaList.stories.js +20 -0
- package/lib/core/MetaList/MetaList.stories.js.map +1 -0
- package/lib/core/Modal/Modal.mocks.d.ts +4 -0
- package/lib/core/Modal/Modal.mocks.d.ts.map +1 -0
- package/lib/core/Modal/Modal.mocks.js +36 -0
- package/lib/core/Modal/Modal.mocks.js.map +1 -0
- package/lib/core/Modal/Modal.stories.d.ts +35 -0
- package/lib/core/Modal/Modal.stories.d.ts.map +1 -0
- package/lib/core/Modal/Modal.stories.js +258 -0
- package/lib/core/Modal/Modal.stories.js.map +1 -0
- package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts +70 -0
- package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -0
- package/lib/core/MultiStepForm/MultiStepForm.mocks.js +326 -0
- package/lib/core/MultiStepForm/MultiStepForm.mocks.js.map +1 -0
- package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts +7 -0
- package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts.map +1 -0
- package/lib/core/MultiStepForm/MultiStepForm.stories.js +109 -0
- package/lib/core/MultiStepForm/MultiStepForm.stories.js.map +1 -0
- package/lib/core/NoValue/NoValue.stories.d.ts +6 -0
- package/lib/core/NoValue/NoValue.stories.d.ts.map +1 -0
- package/lib/core/NoValue/NoValue.stories.js +29 -0
- package/lib/core/NoValue/NoValue.stories.js.map +1 -0
- package/lib/core/Number/Number.stories.d.ts +19 -0
- package/lib/core/Number/Number.stories.d.ts.map +1 -0
- package/lib/core/Number/Number.stories.js +300 -0
- package/lib/core/Number/Number.stories.js.map +1 -0
- package/lib/core/PageTemplates/PageTemplates.mocks.d.ts +3 -0
- package/lib/core/PageTemplates/PageTemplates.mocks.d.ts.map +1 -0
- package/lib/core/PageTemplates/PageTemplates.mocks.js +10 -0
- package/lib/core/PageTemplates/PageTemplates.mocks.js.map +1 -0
- package/lib/core/PageTemplates/PageTemplates.stories.d.ts +33 -0
- package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -0
- package/lib/core/PageTemplates/PageTemplates.stories.js +272 -0
- package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -0
- package/lib/core/PageTemplates/PageTemplates.styles.d.ts +5 -0
- package/lib/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -0
- package/lib/core/PageTemplates/PageTemplates.styles.js +40 -0
- package/lib/core/PageTemplates/PageTemplates.styles.js.map +1 -0
- package/lib/core/Pagination/Pagination.stories.d.ts +6 -0
- package/lib/core/Pagination/Pagination.stories.d.ts.map +1 -0
- package/lib/core/Pagination/Pagination.stories.js +20 -0
- package/lib/core/Pagination/Pagination.stories.js.map +1 -0
- package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts +6 -0
- package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts.map +1 -0
- package/lib/core/Paragraph/ParagraphDisplay.stories.js +16 -0
- package/lib/core/Paragraph/ParagraphDisplay.stories.js.map +1 -0
- package/lib/core/Phone/Phone.stories.d.ts +13 -0
- package/lib/core/Phone/Phone.stories.d.ts.map +1 -0
- package/lib/core/Phone/Phone.stories.js +54 -0
- package/lib/core/Phone/Phone.stories.js.map +1 -0
- package/lib/core/Popover/Popover.mocks.d.ts +9 -0
- package/lib/core/Popover/Popover.mocks.d.ts.map +1 -0
- package/lib/core/Popover/Popover.mocks.js +105 -0
- package/lib/core/Popover/Popover.mocks.js.map +1 -0
- package/lib/core/Popover/Popover.stories.d.ts +13 -0
- package/lib/core/Popover/Popover.stories.d.ts.map +1 -0
- package/lib/core/Popover/Popover.stories.js +122 -0
- package/lib/core/Popover/Popover.stories.js.map +1 -0
- package/lib/core/Progress/Progress.mocks.d.ts +2 -0
- package/lib/core/Progress/Progress.mocks.d.ts.map +1 -0
- package/lib/core/Progress/Progress.mocks.js +2 -0
- package/lib/core/Progress/Progress.mocks.js.map +1 -0
- package/lib/core/Progress/Progress.stories.d.ts +16 -0
- package/lib/core/Progress/Progress.stories.d.ts.map +1 -0
- package/lib/core/Progress/Progress.stories.js +106 -0
- package/lib/core/Progress/Progress.stories.js.map +1 -0
- package/lib/core/Progress/Progress.styles.d.ts +2 -0
- package/lib/core/Progress/Progress.styles.d.ts.map +1 -0
- package/lib/core/Progress/Progress.styles.js +14 -0
- package/lib/core/Progress/Progress.styles.js.map +1 -0
- package/lib/core/QRCode/QRCode.stories.d.ts +9 -0
- package/lib/core/QRCode/QRCode.stories.d.ts.map +1 -0
- package/lib/core/QRCode/QRCode.stories.js +18 -0
- package/lib/core/QRCode/QRCode.stories.js.map +1 -0
- package/lib/core/RadioButton/RadioButton.stories.d.ts +23 -0
- package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -0
- package/lib/core/RadioButton/RadioButton.stories.js +97 -0
- package/lib/core/RadioButton/RadioButton.stories.js.map +1 -0
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +11 -0
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -0
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js +74 -0
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -0
- package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts +4 -0
- package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts.map +1 -0
- package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.js +9 -0
- package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.js.map +1 -0
- package/lib/core/Rating/Rating.stories.d.ts +13 -0
- package/lib/core/Rating/Rating.stories.d.ts.map +1 -0
- package/lib/core/Rating/Rating.stories.js +38 -0
- package/lib/core/Rating/Rating.stories.js.map +1 -0
- package/lib/core/SearchInput/SearchInput.mocks.d.ts +12 -0
- package/lib/core/SearchInput/SearchInput.mocks.d.ts.map +1 -0
- package/lib/core/SearchInput/SearchInput.mocks.js +25 -0
- package/lib/core/SearchInput/SearchInput.mocks.js.map +1 -0
- package/lib/core/SearchInput/SearchInput.stories.d.ts +7 -0
- package/lib/core/SearchInput/SearchInput.stories.d.ts.map +1 -0
- package/lib/core/SearchInput/SearchInput.stories.js +45 -0
- package/lib/core/SearchInput/SearchInput.stories.js.map +1 -0
- package/lib/core/Select/Select.stories.d.ts +18 -0
- package/lib/core/Select/Select.stories.d.ts.map +1 -0
- package/lib/core/Select/Select.stories.js +73 -0
- package/lib/core/Select/Select.stories.js.map +1 -0
- package/lib/core/Sentiment/Sentiment.stories.d.ts +20 -0
- package/lib/core/Sentiment/Sentiment.stories.d.ts.map +1 -0
- package/lib/core/Sentiment/Sentiment.stories.js +68 -0
- package/lib/core/Sentiment/Sentiment.stories.js.map +1 -0
- package/lib/core/SkipLinks/SkipLinks.stories.d.ts +6 -0
- package/lib/core/SkipLinks/SkipLinks.stories.d.ts.map +1 -0
- package/lib/core/SkipLinks/SkipLinks.stories.js +28 -0
- package/lib/core/SkipLinks/SkipLinks.stories.js.map +1 -0
- package/lib/core/SkipLinks/SkipLinks.styles.d.ts +2 -0
- package/lib/core/SkipLinks/SkipLinks.styles.d.ts.map +1 -0
- package/lib/core/SkipLinks/SkipLinks.styles.js +16 -0
- package/lib/core/SkipLinks/SkipLinks.styles.js.map +1 -0
- package/lib/core/Slider/Slider.stories.d.ts +13 -0
- package/lib/core/Slider/Slider.stories.d.ts.map +1 -0
- package/lib/core/Slider/Slider.stories.js +66 -0
- package/lib/core/Slider/Slider.stories.js.map +1 -0
- package/lib/core/SummaryItem/SummaryItem.stories.d.ts +11 -0
- package/lib/core/SummaryItem/SummaryItem.stories.d.ts.map +1 -0
- package/lib/core/SummaryItem/SummaryItem.stories.js +32 -0
- package/lib/core/SummaryItem/SummaryItem.stories.js.map +1 -0
- package/lib/core/SummaryList/SummaryList.mocks.d.ts +20 -0
- package/lib/core/SummaryList/SummaryList.mocks.d.ts.map +1 -0
- package/lib/core/SummaryList/SummaryList.mocks.js +48 -0
- package/lib/core/SummaryList/SummaryList.mocks.js.map +1 -0
- package/lib/core/SummaryList/SummaryList.stories.d.ts +13 -0
- package/lib/core/SummaryList/SummaryList.stories.d.ts.map +1 -0
- package/lib/core/SummaryList/SummaryList.stories.js +126 -0
- package/lib/core/SummaryList/SummaryList.stories.js.map +1 -0
- package/lib/core/SummaryList/mockUsers.d.ts +16 -0
- package/lib/core/SummaryList/mockUsers.d.ts.map +1 -0
- package/lib/core/SummaryList/mockUsers.js +906 -0
- package/lib/core/SummaryList/mockUsers.js.map +1 -0
- package/lib/core/Switch/Switch.stories.d.ts +14 -0
- package/lib/core/Switch/Switch.stories.d.ts.map +1 -0
- package/lib/core/Switch/Switch.stories.js +57 -0
- package/lib/core/Switch/Switch.stories.js.map +1 -0
- package/lib/core/Switch/Switch.styles.d.ts +2 -0
- package/lib/core/Switch/Switch.styles.d.ts.map +1 -0
- package/lib/core/Switch/Switch.styles.js +13 -0
- package/lib/core/Switch/Switch.styles.js.map +1 -0
- package/lib/core/Table/Table.mocks.d.ts +25 -0
- package/lib/core/Table/Table.mocks.d.ts.map +1 -0
- package/lib/core/Table/Table.mocks.js +164 -0
- package/lib/core/Table/Table.mocks.js.map +1 -0
- package/lib/core/Table/Table.stories.d.ts +39 -0
- package/lib/core/Table/Table.stories.d.ts.map +1 -0
- package/lib/core/Table/Table.stories.js +167 -0
- package/lib/core/Table/Table.stories.js.map +1 -0
- package/lib/core/Table/Table.styles.d.ts +4 -0
- package/lib/core/Table/Table.styles.d.ts.map +1 -0
- package/lib/core/Table/Table.styles.js +9 -0
- package/lib/core/Table/Table.styles.js.map +1 -0
- package/lib/core/Tabs/Tabs.stories.d.ts +9 -0
- package/lib/core/Tabs/Tabs.stories.d.ts.map +1 -0
- package/lib/core/Tabs/Tabs.stories.js +42 -0
- package/lib/core/Tabs/Tabs.stories.js.map +1 -0
- package/lib/core/Text/Text.stories.d.ts +25 -0
- package/lib/core/Text/Text.stories.d.ts.map +1 -0
- package/lib/core/Text/Text.stories.js +122 -0
- package/lib/core/Text/Text.stories.js.map +1 -0
- package/lib/core/TextArea/TextArea.stories.d.ts +14 -0
- package/lib/core/TextArea/TextArea.stories.d.ts.map +1 -0
- package/lib/core/TextArea/TextArea.stories.js +71 -0
- package/lib/core/TextArea/TextArea.stories.js.map +1 -0
- package/lib/core/Toaster/Toaster.stories.d.ts +5 -0
- package/lib/core/Toaster/Toaster.stories.d.ts.map +1 -0
- package/lib/core/Toaster/Toaster.stories.js +26 -0
- package/lib/core/Toaster/Toaster.stories.js.map +1 -0
- package/lib/core/Tooltip/Tooltip.stories.d.ts +11 -0
- package/lib/core/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/lib/core/Tooltip/Tooltip.stories.js +39 -0
- package/lib/core/Tooltip/Tooltip.stories.js.map +1 -0
- package/lib/core/Tooltip/Tooltip.styles.d.ts +2 -0
- package/lib/core/Tooltip/Tooltip.styles.d.ts.map +1 -0
- package/lib/core/Tooltip/Tooltip.styles.js +23 -0
- package/lib/core/Tooltip/Tooltip.styles.js.map +1 -0
- package/lib/core/Tree/Tree.mocks.d.ts +2 -0
- package/lib/core/Tree/Tree.mocks.d.ts.map +1 -0
- package/lib/core/Tree/Tree.mocks.js +22 -0
- package/lib/core/Tree/Tree.mocks.js.map +1 -0
- package/lib/core/Tree/Tree.stories.d.ts +7 -0
- package/lib/core/Tree/Tree.stories.d.ts.map +1 -0
- package/lib/core/Tree/Tree.stories.js +91 -0
- package/lib/core/Tree/Tree.stories.js.map +1 -0
- package/lib/core/Tree/Tree.styles.d.ts +3 -0
- package/lib/core/Tree/Tree.styles.d.ts.map +1 -0
- package/lib/core/Tree/Tree.styles.js +10 -0
- package/lib/core/Tree/Tree.styles.js.map +1 -0
- package/lib/core/URL/URL.stories.d.ts +6 -0
- package/lib/core/URL/URL.stories.d.ts.map +1 -0
- package/lib/core/URL/URL.stories.js +18 -0
- package/lib/core/URL/URL.stories.js.map +1 -0
- package/lib/dnd/DragDropList/DragDropList.mocks.d.ts +15 -0
- package/lib/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -0
- package/lib/dnd/DragDropList/DragDropList.mocks.js +32 -0
- package/lib/dnd/DragDropList/DragDropList.mocks.js.map +1 -0
- package/lib/dnd/DragDropList/DragDropList.stories.d.ts +10 -0
- package/lib/dnd/DragDropList/DragDropList.stories.d.ts.map +1 -0
- package/lib/dnd/DragDropList/DragDropList.stories.js +42 -0
- package/lib/dnd/DragDropList/DragDropList.stories.js.map +1 -0
- package/lib/dnd/DragDropList/DragDropList.styles.d.ts +6 -0
- package/lib/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -0
- package/lib/dnd/DragDropList/DragDropList.styles.js +32 -0
- package/lib/dnd/DragDropList/DragDropList.styles.js.map +1 -0
- package/lib/dnd/StandardDragDropList/Demo.d.ts +8 -0
- package/lib/dnd/StandardDragDropList/Demo.d.ts.map +1 -0
- package/lib/dnd/StandardDragDropList/Demo.js +151 -0
- package/lib/dnd/StandardDragDropList/Demo.js.map +1 -0
- package/lib/dnd/StandardDragDropList/GroupConfig.d.ts +10 -0
- package/lib/dnd/StandardDragDropList/GroupConfig.d.ts.map +1 -0
- package/lib/dnd/StandardDragDropList/GroupConfig.js +18 -0
- package/lib/dnd/StandardDragDropList/GroupConfig.js.map +1 -0
- package/lib/dnd/StandardDragDropList/ItemConfig.d.ts +12 -0
- package/lib/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -0
- package/lib/dnd/StandardDragDropList/ItemConfig.js +20 -0
- package/lib/dnd/StandardDragDropList/ItemConfig.js.map +1 -0
- package/lib/dnd/StandardDragDropList/Popover.d.ts +14 -0
- package/lib/dnd/StandardDragDropList/Popover.d.ts.map +1 -0
- package/lib/dnd/StandardDragDropList/Popover.js +33 -0
- package/lib/dnd/StandardDragDropList/Popover.js.map +1 -0
- package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts +16 -0
- package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -0
- package/lib/dnd/StandardDragDropList/SelectionMenu.js +100 -0
- package/lib/dnd/StandardDragDropList/SelectionMenu.js.map +1 -0
- package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +5 -0
- package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +1 -0
- package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.js +13 -0
- package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.js.map +1 -0
- package/lib/dnd/StandardDragDropList/mockData.d.ts +26 -0
- package/lib/dnd/StandardDragDropList/mockData.d.ts.map +1 -0
- package/lib/dnd/StandardDragDropList/mockData.js +78 -0
- package/lib/dnd/StandardDragDropList/mockData.js.map +1 -0
- package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +8 -0
- package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +1 -0
- package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.js +87 -0
- package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.js.map +1 -0
- package/lib/rte/DynamicContentEditor/FieldSelector.d.ts +14 -0
- package/lib/rte/DynamicContentEditor/FieldSelector.d.ts.map +1 -0
- package/lib/rte/DynamicContentEditor/FieldSelector.js +83 -0
- package/lib/rte/DynamicContentEditor/FieldSelector.js.map +1 -0
- package/lib/rte/Editor/Editor.mocks.d.ts +330 -0
- package/lib/rte/Editor/Editor.mocks.d.ts.map +1 -0
- package/lib/rte/Editor/Editor.mocks.js +26 -0
- package/lib/rte/Editor/Editor.mocks.js.map +1 -0
- package/lib/rte/Editor/Editor.stories.d.ts +13 -0
- package/lib/rte/Editor/Editor.stories.d.ts.map +1 -0
- package/lib/rte/Editor/Editor.stories.js +91 -0
- package/lib/rte/Editor/Editor.stories.js.map +1 -0
- package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts +3 -0
- package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +1 -0
- package/lib/rte/RichTextEditor/RichTextEditor.mocks.js +36 -0
- package/lib/rte/RichTextEditor/RichTextEditor.mocks.js.map +1 -0
- package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts +6 -0
- package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +1 -0
- package/lib/rte/RichTextEditor/RichTextEditor.stories.js +46 -0
- package/lib/rte/RichTextEditor/RichTextEditor.stories.js.map +1 -0
- package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts +8 -0
- package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +1 -0
- package/lib/rte/RichTextEditor/RichTextViewer.stories.js +79 -0
- package/lib/rte/RichTextEditor/RichTextViewer.stories.js.map +1 -0
- package/lib/social/Chat/Chat.mocks.d.ts +64 -0
- package/lib/social/Chat/Chat.mocks.d.ts.map +1 -0
- package/lib/social/Chat/Chat.mocks.js +744 -0
- package/lib/social/Chat/Chat.mocks.js.map +1 -0
- package/lib/social/Chat/Chat.stories.d.ts +66 -0
- package/lib/social/Chat/Chat.stories.d.ts.map +1 -0
- package/lib/social/Chat/Chat.stories.js +585 -0
- package/lib/social/Chat/Chat.stories.js.map +1 -0
- package/lib/social/Email/Email.mocks.d.ts +352 -0
- package/lib/social/Email/Email.mocks.d.ts.map +1 -0
- package/lib/social/Email/Email.mocks.js +1216 -0
- package/lib/social/Email/Email.mocks.js.map +1 -0
- package/lib/social/Email/Email.stories.d.ts +81 -0
- package/lib/social/Email/Email.stories.d.ts.map +1 -0
- package/lib/social/Email/Email.stories.js +1167 -0
- package/lib/social/Email/Email.stories.js.map +1 -0
- package/lib/social/Email/Email.styles.d.ts +3 -0
- package/lib/social/Email/Email.styles.d.ts.map +1 -0
- package/lib/social/Email/Email.styles.js +11 -0
- package/lib/social/Email/Email.styles.js.map +1 -0
- package/lib/social/Feed/Feed.mocks.d.ts +53 -0
- package/lib/social/Feed/Feed.mocks.d.ts.map +1 -0
- package/lib/social/Feed/Feed.mocks.js +404 -0
- package/lib/social/Feed/Feed.mocks.js.map +1 -0
- package/lib/social/Feed/Feed.stories.d.ts +11 -0
- package/lib/social/Feed/Feed.stories.d.ts.map +1 -0
- package/lib/social/Feed/Feed.stories.js +214 -0
- package/lib/social/Feed/Feed.stories.js.map +1 -0
- package/lib/social/Feed/FeedNewPost.mocks.d.ts +8 -0
- package/lib/social/Feed/FeedNewPost.mocks.d.ts.map +1 -0
- package/lib/social/Feed/FeedNewPost.mocks.js +30 -0
- package/lib/social/Feed/FeedNewPost.mocks.js.map +1 -0
- package/lib/social/Feed/FeedPost.mocks.d.ts +4 -0
- package/lib/social/Feed/FeedPost.mocks.d.ts.map +1 -0
- package/lib/social/Feed/FeedPost.mocks.js +180 -0
- package/lib/social/Feed/FeedPost.mocks.js.map +1 -0
- package/lib/social/Feed/FeedReply.mocks.d.ts +13 -0
- package/lib/social/Feed/FeedReply.mocks.d.ts.map +1 -0
- package/lib/social/Feed/FeedReply.mocks.js +81 -0
- package/lib/social/Feed/FeedReply.mocks.js.map +1 -0
- package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts +6 -0
- package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +1 -0
- package/lib/work/AppAnnouncement/AppAnnouncement.stories.js +31 -0
- package/lib/work/AppAnnouncement/AppAnnouncement.stories.js.map +1 -0
- package/lib/work/Article/Article.mocks.d.ts +22 -0
- package/lib/work/Article/Article.mocks.d.ts.map +1 -0
- package/lib/work/Article/Article.mocks.js +22 -0
- package/lib/work/Article/Article.mocks.js.map +1 -0
- package/lib/work/Article/Article.stories.d.ts +18 -0
- package/lib/work/Article/Article.stories.d.ts.map +1 -0
- package/lib/work/Article/Article.stories.js +244 -0
- package/lib/work/Article/Article.stories.js.map +1 -0
- package/lib/work/ArticleList/ArticleList.mocks.d.ts +165 -0
- package/lib/work/ArticleList/ArticleList.mocks.d.ts.map +1 -0
- package/lib/work/ArticleList/ArticleList.mocks.js +450 -0
- package/lib/work/ArticleList/ArticleList.mocks.js.map +1 -0
- package/lib/work/ArticleList/ArticleList.stories.d.ts +15 -0
- package/lib/work/ArticleList/ArticleList.stories.d.ts.map +1 -0
- package/lib/work/ArticleList/ArticleList.stories.js +519 -0
- package/lib/work/ArticleList/ArticleList.stories.js.map +1 -0
- package/lib/work/Assignments/Assignments.stories.d.ts +11 -0
- package/lib/work/Assignments/Assignments.stories.d.ts.map +1 -0
- package/lib/work/Assignments/Assignments.stories.js +63 -0
- package/lib/work/Assignments/Assignments.stories.js.map +1 -0
- package/lib/work/CaseView/Attachments.mocks.d.ts +3 -0
- package/lib/work/CaseView/Attachments.mocks.d.ts.map +1 -0
- package/lib/work/CaseView/Attachments.mocks.js +388 -0
- package/lib/work/CaseView/Attachments.mocks.js.map +1 -0
- package/lib/work/CaseView/CaseView.mocks.d.ts +113 -0
- package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -0
- package/lib/work/CaseView/CaseView.mocks.js +533 -0
- package/lib/work/CaseView/CaseView.mocks.js.map +1 -0
- package/lib/work/CaseView/CaseView.stories.d.ts +6 -0
- package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -0
- package/lib/work/CaseView/CaseView.stories.js +58 -0
- package/lib/work/CaseView/CaseView.stories.js.map +1 -0
- package/lib/work/CaseView/Details.mocks.d.ts +3 -0
- package/lib/work/CaseView/Details.mocks.d.ts.map +1 -0
- package/lib/work/CaseView/Details.mocks.js +7 -0
- package/lib/work/CaseView/Details.mocks.js.map +1 -0
- package/lib/work/CaseView/FileService.mock.d.ts +28 -0
- package/lib/work/CaseView/FileService.mock.d.ts.map +1 -0
- package/lib/work/CaseView/FileService.mock.js +158 -0
- package/lib/work/CaseView/FileService.mock.js.map +1 -0
- package/lib/work/CaseView/Pulse.mocks.d.ts +7 -0
- package/lib/work/CaseView/Pulse.mocks.d.ts.map +1 -0
- package/lib/work/CaseView/Pulse.mocks.js +25 -0
- package/lib/work/CaseView/Pulse.mocks.js.map +1 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +45 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js +165 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js.map +1 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +5 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +1 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js +25 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js.map +1 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +4 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +1 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js +11 -0
- package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +1 -0
- package/lib/work/Confirmation/Confirmation.stories.d.ts +13 -0
- package/lib/work/Confirmation/Confirmation.stories.d.ts.map +1 -0
- package/lib/work/Confirmation/Confirmation.stories.js +35 -0
- package/lib/work/Confirmation/Confirmation.stories.js.map +1 -0
- package/lib/work/Confirmation/Confirmation.styles.d.ts +2 -0
- package/lib/work/Confirmation/Confirmation.styles.d.ts.map +1 -0
- package/lib/work/Confirmation/Confirmation.styles.js +7 -0
- package/lib/work/Confirmation/Confirmation.styles.js.map +1 -0
- package/lib/work/Details/Details.stories.d.ts +10 -0
- package/lib/work/Details/Details.stories.d.ts.map +1 -0
- package/lib/work/Details/Details.stories.js +41 -0
- package/lib/work/Details/Details.stories.js.map +1 -0
- package/lib/work/Glimpse/Glimpse.stories.d.ts +5 -0
- package/lib/work/Glimpse/Glimpse.stories.d.ts.map +1 -0
- package/lib/work/Glimpse/Glimpse.stories.js +38 -0
- package/lib/work/Glimpse/Glimpse.stories.js.map +1 -0
- package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +5 -0
- package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +1 -0
- package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js +116 -0
- package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js.map +1 -0
- package/lib/work/Predictions/Predictions.mocks.d.ts +3 -0
- package/lib/work/Predictions/Predictions.mocks.d.ts.map +1 -0
- package/lib/work/Predictions/Predictions.mocks.js +6 -0
- package/lib/work/Predictions/Predictions.mocks.js.map +1 -0
- package/lib/work/Predictions/Predictions.stories.d.ts +5 -0
- package/lib/work/Predictions/Predictions.stories.d.ts.map +1 -0
- package/lib/work/Predictions/Predictions.stories.js +54 -0
- package/lib/work/Predictions/Predictions.stories.js.map +1 -0
- package/lib/work/SearchResults/SearchResults.mocks.d.ts +14 -0
- package/lib/work/SearchResults/SearchResults.mocks.d.ts.map +1 -0
- package/lib/work/SearchResults/SearchResults.mocks.js +98 -0
- package/lib/work/SearchResults/SearchResults.mocks.js.map +1 -0
- package/lib/work/SearchResults/SearchResults.stories.d.ts +9 -0
- package/lib/work/SearchResults/SearchResults.stories.d.ts.map +1 -0
- package/lib/work/SearchResults/SearchResults.stories.js +235 -0
- package/lib/work/SearchResults/SearchResults.stories.js.map +1 -0
- package/lib/work/SearchResults/SearchResults.styles.d.ts +5 -0
- package/lib/work/SearchResults/SearchResults.styles.d.ts.map +1 -0
- package/lib/work/SearchResults/SearchResults.styles.js +12 -0
- package/lib/work/SearchResults/SearchResults.styles.js.map +1 -0
- package/lib/work/Stages/Stages.mocks.d.ts +14 -0
- package/lib/work/Stages/Stages.mocks.d.ts.map +1 -0
- package/lib/work/Stages/Stages.mocks.js +39 -0
- package/lib/work/Stages/Stages.mocks.js.map +1 -0
- package/lib/work/Stages/Stages.stories.d.ts +11 -0
- package/lib/work/Stages/Stages.stories.d.ts.map +1 -0
- package/lib/work/Stages/Stages.stories.js +46 -0
- package/lib/work/Stages/Stages.stories.js.map +1 -0
- package/lib/work/Stakeholders/Stakeholders.mocks.d.ts +22 -0
- package/lib/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -0
- package/lib/work/Stakeholders/Stakeholders.mocks.js +38 -0
- package/lib/work/Stakeholders/Stakeholders.mocks.js.map +1 -0
- package/lib/work/Stakeholders/Stakeholders.stories.d.ts +5 -0
- package/lib/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -0
- package/lib/work/Stakeholders/Stakeholders.stories.js +112 -0
- package/lib/work/Stakeholders/Stakeholders.stories.js.map +1 -0
- package/lib/work/Tags/Tags.mocks.d.ts +3 -0
- package/lib/work/Tags/Tags.mocks.d.ts.map +1 -0
- package/lib/work/Tags/Tags.mocks.js +76 -0
- package/lib/work/Tags/Tags.mocks.js.map +1 -0
- package/lib/work/Tags/Tags.stories.d.ts +10 -0
- package/lib/work/Tags/Tags.stories.d.ts.map +1 -0
- package/lib/work/Tags/Tags.stories.js +68 -0
- package/lib/work/Tags/Tags.stories.js.map +1 -0
- package/lib/work/Tasks/TaskList.stories.d.ts +5 -0
- package/lib/work/Tasks/TaskList.stories.d.ts.map +1 -0
- package/lib/work/Tasks/TaskList.stories.js +20 -0
- package/lib/work/Tasks/TaskList.stories.js.map +1 -0
- package/lib/work/Tasks/Tasks.mocks.d.ts +22 -0
- package/lib/work/Tasks/Tasks.mocks.d.ts.map +1 -0
- package/lib/work/Tasks/Tasks.mocks.js +51 -0
- package/lib/work/Tasks/Tasks.mocks.js.map +1 -0
- package/lib/work/Tasks/Tasks.stories.d.ts +15 -0
- package/lib/work/Tasks/Tasks.stories.d.ts.map +1 -0
- package/lib/work/Tasks/Tasks.stories.js +78 -0
- package/lib/work/Tasks/Tasks.stories.js.map +1 -0
- package/lib/work/Timeline/Timeline.mocks.d.ts +3 -0
- package/lib/work/Timeline/Timeline.mocks.d.ts.map +1 -0
- package/lib/work/Timeline/Timeline.mocks.js +132 -0
- package/lib/work/Timeline/Timeline.mocks.js.map +1 -0
- package/lib/work/Timeline/Timeline.stories.d.ts +11 -0
- package/lib/work/Timeline/Timeline.stories.d.ts.map +1 -0
- package/lib/work/Timeline/Timeline.stories.js +72 -0
- package/lib/work/Timeline/Timeline.stories.js.map +1 -0
- package/lib/wss/AppShell/AppShell.mocks.d.ts +24 -0
- package/lib/wss/AppShell/AppShell.mocks.d.ts.map +1 -0
- package/lib/wss/AppShell/AppShell.mocks.js +59 -0
- package/lib/wss/AppShell/AppShell.mocks.js.map +1 -0
- package/lib/wss/AppShell/AppShell.stories.d.ts +19 -0
- package/lib/wss/AppShell/AppShell.stories.d.ts.map +1 -0
- package/lib/wss/AppShell/AppShell.stories.js +97 -0
- package/lib/wss/AppShell/AppShell.stories.js.map +1 -0
- package/lib/wss/AppShell/AppShell.styles.d.ts +2 -0
- package/lib/wss/AppShell/AppShell.styles.d.ts.map +1 -0
- package/lib/wss/AppShell/AppShell.styles.js +5 -0
- package/lib/wss/AppShell/AppShell.styles.js.map +1 -0
- package/lib/wss/CaseView/CaseView.mocks.d.ts +13 -0
- package/lib/wss/CaseView/CaseView.mocks.d.ts.map +1 -0
- package/lib/wss/CaseView/CaseView.mocks.js +35 -0
- package/lib/wss/CaseView/CaseView.mocks.js.map +1 -0
- package/lib/wss/CaseView/CaseView.stories.d.ts +12 -0
- package/lib/wss/CaseView/CaseView.stories.d.ts.map +1 -0
- package/lib/wss/CaseView/CaseView.stories.js +71 -0
- package/lib/wss/CaseView/CaseView.stories.js.map +1 -0
- package/lib/wss/PageTemplates/PageTemplates.stories.d.ts +15 -0
- package/lib/wss/PageTemplates/PageTemplates.stories.d.ts.map +1 -0
- package/lib/wss/PageTemplates/PageTemplates.stories.js +41 -0
- package/lib/wss/PageTemplates/PageTemplates.stories.js.map +1 -0
- package/lib/wss/QuickCreate/QuickCreate.stories.d.ts +10 -0
- package/lib/wss/QuickCreate/QuickCreate.stories.d.ts.map +1 -0
- package/lib/wss/QuickCreate/QuickCreate.stories.js +36 -0
- package/lib/wss/QuickCreate/QuickCreate.stories.js.map +1 -0
- package/package.json +7 -7
|
@@ -0,0 +1,1167 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
// cspell:words calibri Trichy Nagercoil
|
|
3
|
+
import { useState, useRef, useCallback, useEffect, createRef } from 'react';
|
|
4
|
+
import { action } from '@storybook/addon-actions';
|
|
5
|
+
import { Card, CardContent, createUID, MenuButton, Icon, registerIcon, Flex, Button, menuHelpers, CardHeader, Text, SummaryList, Grid, FieldValueList, StyledLabel, Modal, useModalManager, useModalContext, useToaster, Banner } from '@pega/cosmos-react-core';
|
|
6
|
+
import * as filterIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/filter.icon';
|
|
7
|
+
import { Email as EmailComponent, EmailConversation, EmailComposer, EmailShell, EmailSummaryItem, EmailSummaryList, EntityList, EmailManager, EmailCaseView } from '@pega/cosmos-react-social';
|
|
8
|
+
import { AppShellDemo } from '../../core/AppShell/AppShell.stories';
|
|
9
|
+
import { bccParticipants, ccParticipants, emailBodyContent, participants, toParticipants, emailAttachments, EntityListMockData, viewAnalysisEmailHeaderMock, topicListMock, generateEmailConversationParticipants, templates, handleExternalEntry, emailDemoActions, LaunchAction, baseComposerProps, sentiment, emailSummaryItems, mockEmails, mockSuggestedReplies, forwardedContent, getCompositeId, emptyFieldErrorMessage, fieldValidation, emailWorklistItemsMock, contextMenuItemsMock, highlightedEntitiesMock, mockUploadImage, mailDeliverySystemEmail, supportTeamEmail, bodyData, emailAccounts, getTemplate } from './Email.mocks';
|
|
10
|
+
import { StyledEmailCardContent } from './Email.styles';
|
|
11
|
+
registerIcon(filterIcon);
|
|
12
|
+
export default {
|
|
13
|
+
title: 'Social/Email',
|
|
14
|
+
component: EmailComponent
|
|
15
|
+
};
|
|
16
|
+
export const Email = (args) => {
|
|
17
|
+
const contextMenuHandle = useRef(null);
|
|
18
|
+
const timeout = useRef(null);
|
|
19
|
+
const handleRightClick = (id, e) => {
|
|
20
|
+
action('onContextMenu')(id, e);
|
|
21
|
+
if (contextMenuHandle.current && args.enableContextMenu) {
|
|
22
|
+
const { setItems, setOpen, setLoading } = contextMenuHandle.current;
|
|
23
|
+
// Deciding not to show browser context menu
|
|
24
|
+
// This should be synchronus
|
|
25
|
+
e.preventDefault();
|
|
26
|
+
// Now open the custom context menu using the handle and show loader
|
|
27
|
+
setLoading(true);
|
|
28
|
+
setItems([]);
|
|
29
|
+
setOpen(true);
|
|
30
|
+
if (timeout.current) {
|
|
31
|
+
clearTimeout(timeout.current);
|
|
32
|
+
}
|
|
33
|
+
timeout.current = window.setTimeout(() => {
|
|
34
|
+
setItems(contextMenuItemsMock);
|
|
35
|
+
// Hide the loader
|
|
36
|
+
setLoading(false);
|
|
37
|
+
}, 1000);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
useEffect(() => {
|
|
41
|
+
return () => {
|
|
42
|
+
if (timeout.current) {
|
|
43
|
+
window.clearTimeout(timeout.current);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
}, []);
|
|
47
|
+
return (_jsx(Card, { children: _jsx(StyledEmailCardContent, { children: _jsx(EmailComponent, { id: createUID(), timeStamp: '2021-01-05T09:12', from: mockEmails['Laura Stevens'], cc: [mockEmails['Adam Gillchrist'], mockEmails['John Paul']], bcc: [mockEmails['Anton, Randy'], mockEmails['Hugh Phillips']], to: [mockEmails['Sara Davis'], mockEmails['John Brown'], mockEmails['Joe Stevens']], body: args.body ||
|
|
48
|
+
'<div style="font-size: 0.95em;">Hi,<p>I am one of the customer of Indian Overseas Bank, <b><i>Nagercoil</i></b> branch, with code <b><a href="https://www.pega.com" target="_blank"><i>3967</i></a></b>. I have a saving bank account here. My account number is <i>6785420965476</i> with an account balance of ₹97,398.57.</p><p>I have been given a debit cum ATM card from this bank and the same has been lost when I was traveling from Nagercoil to Trichy by Bus on Jan 04, 2021. I remember that my ATM card number was 1920 6746 8653 1256.</p><p>I hereby request you to block my debit card immediately to prevent misuse of the same by some others. Also I request you to send me an new debit card to my address, 22-6-14/A(99M5+RR), Gandhi Road, Hyderabad, as early as possible.<p><br/><p style="font-weight: bold; color: #0fa4ad">Regards,<br/>Laura Stevens</p><img style="width: 100px; margin-left: -8px;" loading="lazy" alt="Pega logo" src="https://www.pega.com/sites/default/files/media/images/2021-10/pega-logo-vertical-positive-rgb-01.png" /></div>', forwardedContent: args.forwardedContent, entityHighlightMapping: args.enableEntityHighlighting
|
|
49
|
+
? args.entityHighlightMapping || highlightedEntitiesMock
|
|
50
|
+
: undefined, subject: args.subject || 'I lost my debit card', banner: args.showEmailBanner
|
|
51
|
+
? {
|
|
52
|
+
messages: [
|
|
53
|
+
{
|
|
54
|
+
label: 'Address not found.',
|
|
55
|
+
description: '550 5.1.1 The email account that you tried to reach does not exist. Please try double-checking the recipients email address for typos or unnecessary spaces. Learn more at https://support.google.com/mail/?p=NoSuchUser k24-20020aa790d8000000b0050dd7e3b84csor451330pfk.28'
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
: undefined, onReply: args.onReply || (args.showDraft ? undefined : action('On reply')), onReplyAll: args.onReplyAll || (args.showDraft ? undefined : action('On reply all')), onForward: args.onForward || (args.showDraft ? undefined : action('On forward')), onEditDraft: args.onEditDraft || (args.showDraft ? action('On forward') : undefined), onDeleteDraft: args.onDeleteDraft || (args.showDraft ? action('On forward') : undefined), onSuggestionClick: args.onSuggestionClick || action('On Suggested reply clicked'), sentiment: {
|
|
60
|
+
variant: 'neutral'
|
|
61
|
+
}, status: args.showDraft ? 'draft' : undefined, suggestions: mockSuggestedReplies, contextMenu: args.contextMenu ||
|
|
62
|
+
(args.enableContextMenu
|
|
63
|
+
? {
|
|
64
|
+
onItemClick: (selectedValue) => {
|
|
65
|
+
action('onItemClick')(selectedValue);
|
|
66
|
+
contextMenuHandle.current?.setOpen(false);
|
|
67
|
+
},
|
|
68
|
+
onContextMenu: handleRightClick,
|
|
69
|
+
handle: contextMenuHandle
|
|
70
|
+
}
|
|
71
|
+
: undefined), attachments: [
|
|
72
|
+
{
|
|
73
|
+
id: 'attachment_0',
|
|
74
|
+
value: 'https://pega.com/media/document.doc',
|
|
75
|
+
displayText: 'Policy document'
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
id: 'attachment_1',
|
|
79
|
+
value: 'https://pbs.twimg.com/media/ENNN5PAXkAE-hag.jpg',
|
|
80
|
+
displayText: 'E-Ticket'
|
|
81
|
+
}
|
|
82
|
+
].map(attachment => {
|
|
83
|
+
return {
|
|
84
|
+
...attachment,
|
|
85
|
+
onDownload: action('On attachment download'),
|
|
86
|
+
onPreview: action('On attachment preview')
|
|
87
|
+
};
|
|
88
|
+
}) }) }) }));
|
|
89
|
+
};
|
|
90
|
+
Email.args = {
|
|
91
|
+
enableEntityHighlighting: false,
|
|
92
|
+
enableContextMenu: false,
|
|
93
|
+
// eslint-disable-next-line demo-patterns/literal-args
|
|
94
|
+
forwardedContent,
|
|
95
|
+
showEmailBanner: false,
|
|
96
|
+
showDraft: false
|
|
97
|
+
};
|
|
98
|
+
Email.argTypes = {
|
|
99
|
+
enableEntityHighlighting: { control: { type: 'boolean' } },
|
|
100
|
+
enableContextMenu: { control: { type: 'boolean' } },
|
|
101
|
+
forwardedContent: { control: { type: 'text' } },
|
|
102
|
+
showEmailBanner: { control: { type: 'boolean' } },
|
|
103
|
+
showDraft: { control: { type: 'boolean' } }
|
|
104
|
+
};
|
|
105
|
+
export const Composer = (args) => {
|
|
106
|
+
const { enableResponseTypeToggle = true, enableSaveAsDraft = true } = args;
|
|
107
|
+
const [composerProgress, setComposerProgress] = useState(false);
|
|
108
|
+
const composerHandle = useRef(null);
|
|
109
|
+
const [data, setData] = useState({
|
|
110
|
+
to: { value: toParticipants },
|
|
111
|
+
cc: { value: [] },
|
|
112
|
+
bcc: { value: [] },
|
|
113
|
+
subject: { value: 'Request: Pause service' },
|
|
114
|
+
bodyContent: {
|
|
115
|
+
defaultValue: ''
|
|
116
|
+
},
|
|
117
|
+
responseType: 'reply',
|
|
118
|
+
selectedTemplateId: '',
|
|
119
|
+
attachments: emailAttachments,
|
|
120
|
+
bodyContentCurrentValue: ''
|
|
121
|
+
});
|
|
122
|
+
const handleOnChange = (field, value) => {
|
|
123
|
+
if (field === 'bodyContent') {
|
|
124
|
+
setData(prev => ({
|
|
125
|
+
...prev,
|
|
126
|
+
bodyContentCurrentValue: value
|
|
127
|
+
}));
|
|
128
|
+
}
|
|
129
|
+
if (['responseType', 'attachments', 'selectedTemplateId'].includes(field)) {
|
|
130
|
+
setData(prev => ({
|
|
131
|
+
...prev,
|
|
132
|
+
[field]: value
|
|
133
|
+
}));
|
|
134
|
+
}
|
|
135
|
+
else {
|
|
136
|
+
// Clearing error message as soon as value changes
|
|
137
|
+
setData(prev => {
|
|
138
|
+
return {
|
|
139
|
+
...prev,
|
|
140
|
+
[field]: { error: undefined, value }
|
|
141
|
+
};
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
action('onChange')(field, value);
|
|
145
|
+
};
|
|
146
|
+
useEffect(() => {
|
|
147
|
+
if (data.responseType === 'reply') {
|
|
148
|
+
setData(prev => {
|
|
149
|
+
return {
|
|
150
|
+
...prev,
|
|
151
|
+
to: {
|
|
152
|
+
...prev.to,
|
|
153
|
+
value: [toParticipants[0]]
|
|
154
|
+
},
|
|
155
|
+
cc: {
|
|
156
|
+
...prev.cc,
|
|
157
|
+
value: []
|
|
158
|
+
},
|
|
159
|
+
bcc: {
|
|
160
|
+
...prev.bcc,
|
|
161
|
+
value: []
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
else if (data.responseType === 'replyAll') {
|
|
167
|
+
setData(prev => {
|
|
168
|
+
return {
|
|
169
|
+
...prev,
|
|
170
|
+
to: {
|
|
171
|
+
...prev.to,
|
|
172
|
+
value: toParticipants
|
|
173
|
+
},
|
|
174
|
+
cc: {
|
|
175
|
+
...prev.cc,
|
|
176
|
+
value: ccParticipants
|
|
177
|
+
},
|
|
178
|
+
bcc: {
|
|
179
|
+
...prev.bcc,
|
|
180
|
+
value: bccParticipants
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
else if (data.responseType === 'forward') {
|
|
186
|
+
setData(prev => {
|
|
187
|
+
return {
|
|
188
|
+
...prev,
|
|
189
|
+
to: {
|
|
190
|
+
...prev.to,
|
|
191
|
+
value: []
|
|
192
|
+
},
|
|
193
|
+
cc: {
|
|
194
|
+
...prev.cc,
|
|
195
|
+
value: []
|
|
196
|
+
},
|
|
197
|
+
bcc: {
|
|
198
|
+
...prev.bcc,
|
|
199
|
+
value: []
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
}, [data.responseType]);
|
|
205
|
+
const onTemplateChange = (templateId) => {
|
|
206
|
+
const selectedTemplate = getTemplate(templateId);
|
|
207
|
+
// Simulating api call
|
|
208
|
+
setComposerProgress({ message: 'Loading template...' });
|
|
209
|
+
setTimeout(() => {
|
|
210
|
+
setComposerProgress(false);
|
|
211
|
+
composerHandle.current?.replaceBodyContent(selectedTemplate?.content || '');
|
|
212
|
+
// Brings the cursor to the beginning of the body.
|
|
213
|
+
composerHandle.current?.setCursorLocationToStart?.();
|
|
214
|
+
}, 1000);
|
|
215
|
+
};
|
|
216
|
+
useEffect(() => {
|
|
217
|
+
if (data.selectedTemplateId)
|
|
218
|
+
onTemplateChange(data.selectedTemplateId);
|
|
219
|
+
}, [data.selectedTemplateId]);
|
|
220
|
+
const handleOnSend = () => {
|
|
221
|
+
setData(prev => {
|
|
222
|
+
return {
|
|
223
|
+
...prev,
|
|
224
|
+
to: {
|
|
225
|
+
value: prev.to?.value || [],
|
|
226
|
+
error: data?.to?.value.length === 0 ? emptyFieldErrorMessage : fieldValidation(data?.to?.value)
|
|
227
|
+
},
|
|
228
|
+
cc: {
|
|
229
|
+
value: prev.cc?.value || [],
|
|
230
|
+
error: data.cc === undefined ? undefined : fieldValidation(data.cc.value)
|
|
231
|
+
},
|
|
232
|
+
bcc: {
|
|
233
|
+
value: prev.bcc?.value || [],
|
|
234
|
+
error: data.bcc === undefined ? undefined : fieldValidation(data.bcc.value)
|
|
235
|
+
},
|
|
236
|
+
subject: {
|
|
237
|
+
...prev.subject,
|
|
238
|
+
error: data.subject?.value === '' ? emptyFieldErrorMessage : undefined
|
|
239
|
+
},
|
|
240
|
+
bodyContent: {
|
|
241
|
+
...prev.bodyContent,
|
|
242
|
+
error: data.bodyContentCurrentValue === '' ? emptyFieldErrorMessage : undefined
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
});
|
|
246
|
+
};
|
|
247
|
+
const onImageAdded = (image, id) => {
|
|
248
|
+
action('On Image added');
|
|
249
|
+
setComposerProgress({ message: 'Uploading image' });
|
|
250
|
+
// Simulate image upload
|
|
251
|
+
mockUploadImage(image)
|
|
252
|
+
.then(({ src, alt }) => {
|
|
253
|
+
composerHandle.current?.updateImage({ src, alt }, id);
|
|
254
|
+
setComposerProgress(false);
|
|
255
|
+
})
|
|
256
|
+
.catch(() => {
|
|
257
|
+
setComposerProgress(false);
|
|
258
|
+
});
|
|
259
|
+
};
|
|
260
|
+
const onEditorInit = () => {
|
|
261
|
+
composerHandle.current?.replaceBodyContent(bodyData);
|
|
262
|
+
// Brings the cursor to the beginning of the body.
|
|
263
|
+
composerHandle.current?.setCursorLocationToStart?.();
|
|
264
|
+
};
|
|
265
|
+
return (_jsx(EmailComposer, { handle: composerHandle, progress: composerProgress, onSave: args.onSave || (enableSaveAsDraft ? action('On save') : undefined), onSend: args.onSend || handleOnSend, onCancel: args.onCancel || action('On cancel'), externalValidator: handleExternalEntry, participants: participants, onChange: args.onChange || handleOnChange, data: args.data || {
|
|
266
|
+
...data,
|
|
267
|
+
responseType: enableResponseTypeToggle ? data.responseType : undefined
|
|
268
|
+
}, templates: templates, onImageAdded: onImageAdded, onEditorInit: onEditorInit }));
|
|
269
|
+
};
|
|
270
|
+
Composer.args = {
|
|
271
|
+
enableResponseTypeToggle: true,
|
|
272
|
+
enableSaveAsDraft: true
|
|
273
|
+
};
|
|
274
|
+
Composer.argTypes = {
|
|
275
|
+
enableResponseTypeToggle: {
|
|
276
|
+
control: 'boolean'
|
|
277
|
+
},
|
|
278
|
+
enableSaveAsDraft: {
|
|
279
|
+
control: { type: 'boolean' }
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
export const OutboundEmail = (args) => {
|
|
283
|
+
const { enableResponseTypeToggle = true, enableSaveAsDraft = true } = args;
|
|
284
|
+
const [composerProgress, setComposerProgress] = useState(false);
|
|
285
|
+
const composerHandle = useRef(null);
|
|
286
|
+
const [data, setData] = useState({
|
|
287
|
+
to: { value: [] },
|
|
288
|
+
cc: { value: [] },
|
|
289
|
+
bcc: { value: [] },
|
|
290
|
+
subject: { value: '' },
|
|
291
|
+
selectedTemplateId: '',
|
|
292
|
+
bodyContent: {
|
|
293
|
+
defaultValue: ''
|
|
294
|
+
},
|
|
295
|
+
bodyContentCurrentValue: ''
|
|
296
|
+
});
|
|
297
|
+
const handleOnChange = (field, value) => {
|
|
298
|
+
if (field === 'bodyContent') {
|
|
299
|
+
setData(prev => ({
|
|
300
|
+
...prev,
|
|
301
|
+
bodyContentCurrentValue: value
|
|
302
|
+
}));
|
|
303
|
+
}
|
|
304
|
+
else if (['attachments', 'selectedTemplateId'].includes(field)) {
|
|
305
|
+
setData(prev => ({
|
|
306
|
+
...prev,
|
|
307
|
+
[field]: value
|
|
308
|
+
}));
|
|
309
|
+
}
|
|
310
|
+
else {
|
|
311
|
+
// Clearing error message as soon as value changes
|
|
312
|
+
setData(prev => {
|
|
313
|
+
return {
|
|
314
|
+
...prev,
|
|
315
|
+
[field]: { error: undefined, value }
|
|
316
|
+
};
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
action('onChange')(field, value);
|
|
320
|
+
};
|
|
321
|
+
const onTemplateChange = (templateId) => {
|
|
322
|
+
const selectedTemplate = getTemplate(templateId);
|
|
323
|
+
// Simulating api call
|
|
324
|
+
setComposerProgress({ message: 'Loading template...' });
|
|
325
|
+
setTimeout(() => {
|
|
326
|
+
setComposerProgress(false);
|
|
327
|
+
composerHandle.current?.replaceBodyContent(selectedTemplate?.content || '');
|
|
328
|
+
// Brings the cursor to the beginning of the body.
|
|
329
|
+
composerHandle.current?.setCursorLocationToStart?.();
|
|
330
|
+
}, 1000);
|
|
331
|
+
};
|
|
332
|
+
useEffect(() => {
|
|
333
|
+
if (data.selectedTemplateId)
|
|
334
|
+
onTemplateChange(data.selectedTemplateId);
|
|
335
|
+
}, [data.selectedTemplateId]);
|
|
336
|
+
const handleOnSend = () => {
|
|
337
|
+
setData(prev => {
|
|
338
|
+
return {
|
|
339
|
+
...prev,
|
|
340
|
+
emailAccount: {
|
|
341
|
+
value: prev.emailAccount?.value || '',
|
|
342
|
+
error: data.emailAccount?.value ? undefined : emptyFieldErrorMessage
|
|
343
|
+
},
|
|
344
|
+
to: {
|
|
345
|
+
value: prev.to?.value || [],
|
|
346
|
+
error: data?.to?.value.length === 0 ? emptyFieldErrorMessage : fieldValidation(data?.to?.value)
|
|
347
|
+
},
|
|
348
|
+
cc: {
|
|
349
|
+
value: prev.cc?.value || [],
|
|
350
|
+
error: data.cc === undefined ? undefined : fieldValidation(data.cc.value)
|
|
351
|
+
},
|
|
352
|
+
bcc: {
|
|
353
|
+
value: prev.bcc?.value || [],
|
|
354
|
+
error: data.bcc === undefined ? undefined : fieldValidation(data.bcc.value)
|
|
355
|
+
},
|
|
356
|
+
subject: {
|
|
357
|
+
...prev.subject,
|
|
358
|
+
error: data.subject?.value === '' ? emptyFieldErrorMessage : undefined
|
|
359
|
+
},
|
|
360
|
+
bodyContent: {
|
|
361
|
+
...prev.bodyContent,
|
|
362
|
+
error: data.bodyContentCurrentValue === '' ? emptyFieldErrorMessage : undefined
|
|
363
|
+
}
|
|
364
|
+
};
|
|
365
|
+
});
|
|
366
|
+
};
|
|
367
|
+
const onImageAdded = (image, id) => {
|
|
368
|
+
action('On Image added');
|
|
369
|
+
setComposerProgress({ message: 'Uploading image' });
|
|
370
|
+
// Simulate image upload
|
|
371
|
+
mockUploadImage(image)
|
|
372
|
+
.then(({ src, alt }) => {
|
|
373
|
+
composerHandle.current?.updateImage({ src, alt }, id);
|
|
374
|
+
setComposerProgress(false);
|
|
375
|
+
})
|
|
376
|
+
.catch(() => {
|
|
377
|
+
setComposerProgress(false);
|
|
378
|
+
});
|
|
379
|
+
};
|
|
380
|
+
const onEditorInit = () => {
|
|
381
|
+
composerHandle.current?.replaceBodyContent(bodyData);
|
|
382
|
+
// Brings the cursor to the beginning of the body.
|
|
383
|
+
composerHandle.current?.setCursorLocationToStart?.();
|
|
384
|
+
};
|
|
385
|
+
return (_jsx(EmailComposer, { handle: composerHandle, progress: composerProgress, onSave: args.onSave || (enableSaveAsDraft ? action('On save') : undefined), onSend: args.onSend || handleOnSend, onCancel: args.onCancel || action('On cancel'), externalValidator: handleExternalEntry, participants: participants, senderAccounts: emailAccounts, onChange: args.onChange || handleOnChange, data: args.data || {
|
|
386
|
+
...data,
|
|
387
|
+
responseType: enableResponseTypeToggle ? data.responseType : undefined
|
|
388
|
+
}, templates: templates, onImageAdded: onImageAdded, onEditorInit: onEditorInit }));
|
|
389
|
+
};
|
|
390
|
+
OutboundEmail.args = {
|
|
391
|
+
enableResponseTypeToggle: false,
|
|
392
|
+
enableSaveAsDraft: false
|
|
393
|
+
};
|
|
394
|
+
OutboundEmail.argTypes = {
|
|
395
|
+
enableResponseTypeToggle: {
|
|
396
|
+
control: 'boolean'
|
|
397
|
+
},
|
|
398
|
+
enableSaveAsDraft: {
|
|
399
|
+
control: { type: 'boolean' }
|
|
400
|
+
}
|
|
401
|
+
};
|
|
402
|
+
// ______ ______ .__ __. ____ ____ _______ .______ _______. ___ .___________. __ ______ .__ __.
|
|
403
|
+
// / | / __ \ | \ | | \ \ / / | ____|| _ \ / | / \ | || | / __ \ | \ | |
|
|
404
|
+
// | ,----'| | | | | \| | \ \/ / | |__ | |_) | | (----` / ^ \ `---| |----`| | | | | | | \| |
|
|
405
|
+
// | | | | | | | . ` | \ / | __| | / \ \ / /_\ \ | | | | | | | | | . ` |
|
|
406
|
+
// | `----.| `--' | | |\ | \ / | |____ | |\ \----.----) | / _____ \ | | | | | `--' | | |\ |
|
|
407
|
+
// \______| \______/ |__| \__| \__/ |_______|| _| `._____|_______/ /__/ \__\ |__| |__| \______/ |__| \__|
|
|
408
|
+
export const Conversation = (args) => {
|
|
409
|
+
const emailArr = [
|
|
410
|
+
{
|
|
411
|
+
id: 'item_0',
|
|
412
|
+
timeStamp: '2021-01-05T09:12',
|
|
413
|
+
from: mockEmails['Laura Stevens'],
|
|
414
|
+
cc: [mockEmails['Adam Gillchrist'], mockEmails['John Paul']],
|
|
415
|
+
bcc: [mockEmails['Anton, Randy'], mockEmails['Hugh Phillips']],
|
|
416
|
+
to: [mockEmails['Sara Davis'], mockEmails['John Brown'], mockEmails['Joe Stevens']],
|
|
417
|
+
body: '<div> Hi, <br /> <br /> <div>Sure.. Here is your E-Ticket !! </div> <br /><br /> Regards, <br /> Laura Stevens </div>',
|
|
418
|
+
unRead: true,
|
|
419
|
+
onReply: action('On reply'),
|
|
420
|
+
onForward: action('On forward'),
|
|
421
|
+
onSuggestionClick: action('On Suggested reply clicked'),
|
|
422
|
+
suggestions: mockSuggestedReplies
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
id: 'item_1',
|
|
426
|
+
timeStamp: '2021-01-02T03:12',
|
|
427
|
+
from: mockEmails['Sara Davis'],
|
|
428
|
+
cc: [mockEmails['Adam Gillchrist'], mockEmails['John Paul']],
|
|
429
|
+
bcc: [mockEmails['Anton, Randy'], mockEmails['Hugh Phillips']],
|
|
430
|
+
to: [mockEmails['Laura Stevens'], mockEmails['John Brown'], mockEmails['Joe Stevens']],
|
|
431
|
+
body: '<div> Hi, <br /> <br /> <div>I’m still at the airport, I need help now!! </div> <br /><br /> Regards, <br /> Sara Davis </div>',
|
|
432
|
+
onReply: action('On reply'),
|
|
433
|
+
onForward: action('On forward'),
|
|
434
|
+
onSuggestionClick: action('On Suggested reply clicked')
|
|
435
|
+
}
|
|
436
|
+
];
|
|
437
|
+
return (_jsx(EmailConversation, { participants: generateEmailConversationParticipants(emailArr), from: generateEmailConversationParticipants(emailArr, ['from'])[0], to: generateEmailConversationParticipants(emailArr, ['to']), id: createUID(), timeStamp: emailArr[0].timeStamp, unReadEmailCount: args.unReadEmailCount !== undefined
|
|
438
|
+
? args.unReadEmailCount
|
|
439
|
+
: emailArr.filter(item => item.unRead).length, emails: args.emails || emailArr, isForwarded: args.isForwarded || false, isCollapsed: args.isCollapsed || false, undelivered: args.undelivered || false, drafts: args.drafts || false }));
|
|
440
|
+
};
|
|
441
|
+
export const EmailShellDemo = (args) => {
|
|
442
|
+
const { create } = useModalManager();
|
|
443
|
+
const { push } = useToaster();
|
|
444
|
+
const actions = ['Transfer', 'End conversation'].map(name => ({
|
|
445
|
+
primary: name,
|
|
446
|
+
id: name,
|
|
447
|
+
onClick: action(`Clicked ${name}`)
|
|
448
|
+
}));
|
|
449
|
+
const [composersData, setComposersData] = useState({});
|
|
450
|
+
const [conversationEmails, setConversationEmails] = useState([]);
|
|
451
|
+
const handleResponseTypeChange = (uid, responseType) => {
|
|
452
|
+
if (responseType === 'reply') {
|
|
453
|
+
setComposersData(prev => {
|
|
454
|
+
return {
|
|
455
|
+
...prev,
|
|
456
|
+
[uid]: {
|
|
457
|
+
...prev[uid],
|
|
458
|
+
data: {
|
|
459
|
+
...prev[uid].data,
|
|
460
|
+
to: {
|
|
461
|
+
...prev[uid].data.to,
|
|
462
|
+
value: [toParticipants[0]]
|
|
463
|
+
},
|
|
464
|
+
cc: {
|
|
465
|
+
...prev[uid].data.cc,
|
|
466
|
+
value: []
|
|
467
|
+
},
|
|
468
|
+
bcc: {
|
|
469
|
+
...prev[uid].data.bcc,
|
|
470
|
+
value: []
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
};
|
|
475
|
+
});
|
|
476
|
+
}
|
|
477
|
+
else if (responseType === 'replyAll') {
|
|
478
|
+
setComposersData(prev => {
|
|
479
|
+
return {
|
|
480
|
+
...prev,
|
|
481
|
+
[uid]: {
|
|
482
|
+
...prev[uid],
|
|
483
|
+
data: {
|
|
484
|
+
...prev[uid].data,
|
|
485
|
+
to: {
|
|
486
|
+
...prev[uid].data.to,
|
|
487
|
+
value: toParticipants
|
|
488
|
+
},
|
|
489
|
+
cc: {
|
|
490
|
+
...prev[uid].data.cc,
|
|
491
|
+
value: ccParticipants
|
|
492
|
+
},
|
|
493
|
+
bcc: {
|
|
494
|
+
...prev[uid].data.bcc,
|
|
495
|
+
value: bccParticipants
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
};
|
|
500
|
+
});
|
|
501
|
+
}
|
|
502
|
+
};
|
|
503
|
+
const handleTemplateChange = (uid, templateId) => {
|
|
504
|
+
const selectedTemplate = getTemplate(templateId);
|
|
505
|
+
setComposersData(prev => {
|
|
506
|
+
return {
|
|
507
|
+
...prev,
|
|
508
|
+
[uid]: {
|
|
509
|
+
...prev[uid],
|
|
510
|
+
progress: { message: 'Loading template...' }
|
|
511
|
+
}
|
|
512
|
+
};
|
|
513
|
+
});
|
|
514
|
+
// Simulating api call
|
|
515
|
+
setTimeout(() => {
|
|
516
|
+
setComposersData(prev => {
|
|
517
|
+
return {
|
|
518
|
+
...prev,
|
|
519
|
+
[uid]: {
|
|
520
|
+
...prev[uid],
|
|
521
|
+
progress: false
|
|
522
|
+
}
|
|
523
|
+
};
|
|
524
|
+
});
|
|
525
|
+
let currentData = {};
|
|
526
|
+
setComposersData(prev => {
|
|
527
|
+
currentData = prev;
|
|
528
|
+
return prev;
|
|
529
|
+
});
|
|
530
|
+
if (currentData) {
|
|
531
|
+
currentData[uid]?.handle?.current?.replaceBodyContent(selectedTemplate?.content || '');
|
|
532
|
+
}
|
|
533
|
+
}, 1000);
|
|
534
|
+
};
|
|
535
|
+
const handleChange = (uid, field, value) => {
|
|
536
|
+
setComposersData(prevData => {
|
|
537
|
+
if (field === 'bodyContent' && typeof value === 'string') {
|
|
538
|
+
return {
|
|
539
|
+
...prevData,
|
|
540
|
+
[uid]: {
|
|
541
|
+
...prevData[uid],
|
|
542
|
+
bodyContentCurrentValue: value
|
|
543
|
+
}
|
|
544
|
+
};
|
|
545
|
+
}
|
|
546
|
+
return {
|
|
547
|
+
...prevData,
|
|
548
|
+
[uid]: {
|
|
549
|
+
...prevData[uid],
|
|
550
|
+
data: {
|
|
551
|
+
...prevData[uid].data,
|
|
552
|
+
[field]: ['responseType', 'attachments', 'selectedTemplateId'].includes(field)
|
|
553
|
+
? value
|
|
554
|
+
: {
|
|
555
|
+
error: undefined,
|
|
556
|
+
value
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
};
|
|
561
|
+
});
|
|
562
|
+
if (field === 'responseType' && typeof value === 'string') {
|
|
563
|
+
handleResponseTypeChange(uid, value);
|
|
564
|
+
}
|
|
565
|
+
else if (field === 'selectedTemplateId' && typeof value === 'string') {
|
|
566
|
+
handleTemplateChange(uid, value);
|
|
567
|
+
}
|
|
568
|
+
};
|
|
569
|
+
const MyModal = ({ currentID }) => {
|
|
570
|
+
const { dismiss } = useModalContext();
|
|
571
|
+
return (_jsx(Modal, { heading: 'Discard unsaved changes?', actions: _jsxs(_Fragment, { children: [_jsx(Button, { onClick: dismiss, children: "Go back" }), _jsxs("div", { children: [_jsx(Button, { onClick: () => {
|
|
572
|
+
dismiss();
|
|
573
|
+
setComposersData(prev => {
|
|
574
|
+
return {
|
|
575
|
+
...prev,
|
|
576
|
+
[currentID]: {
|
|
577
|
+
...prev[currentID],
|
|
578
|
+
progress: true
|
|
579
|
+
}
|
|
580
|
+
};
|
|
581
|
+
});
|
|
582
|
+
setTimeout(() => {
|
|
583
|
+
setComposersData(prev => {
|
|
584
|
+
const newComposersData = { ...prev };
|
|
585
|
+
delete newComposersData[currentID];
|
|
586
|
+
return newComposersData;
|
|
587
|
+
});
|
|
588
|
+
push({ content: 'Draft Saved' });
|
|
589
|
+
}, 1000);
|
|
590
|
+
}, children: "Save & close" }), _jsx(Button, { variant: 'primary', onClick: () => {
|
|
591
|
+
dismiss();
|
|
592
|
+
setComposersData(prev => {
|
|
593
|
+
const newComposersData = { ...prev };
|
|
594
|
+
delete newComposersData[currentID];
|
|
595
|
+
return newComposersData;
|
|
596
|
+
});
|
|
597
|
+
}, children: "Discard" })] })] }), children: _jsx(Text, { variant: 'primary', children: "You have unsaved changes. You can discard them or go back to keep working." }) }));
|
|
598
|
+
};
|
|
599
|
+
const handleCancel = (uid) => {
|
|
600
|
+
create(MyModal, { currentID: uid }, { alert: true });
|
|
601
|
+
};
|
|
602
|
+
const handleSend = (uid) => {
|
|
603
|
+
action('Send')();
|
|
604
|
+
setComposersData(prev => {
|
|
605
|
+
return {
|
|
606
|
+
...prev,
|
|
607
|
+
[uid]: {
|
|
608
|
+
...prev[uid],
|
|
609
|
+
progress: true
|
|
610
|
+
}
|
|
611
|
+
};
|
|
612
|
+
});
|
|
613
|
+
setTimeout(() => {
|
|
614
|
+
setComposersData(prev => {
|
|
615
|
+
const newComposersData = { ...prev };
|
|
616
|
+
delete newComposersData[uid];
|
|
617
|
+
return newComposersData;
|
|
618
|
+
});
|
|
619
|
+
push({ content: 'Email Send' });
|
|
620
|
+
}, 1000);
|
|
621
|
+
};
|
|
622
|
+
const handleSave = (uid) => {
|
|
623
|
+
action('Save')();
|
|
624
|
+
setComposersData(prev => {
|
|
625
|
+
return {
|
|
626
|
+
...prev,
|
|
627
|
+
[uid]: {
|
|
628
|
+
...prev[uid],
|
|
629
|
+
progress: true
|
|
630
|
+
}
|
|
631
|
+
};
|
|
632
|
+
});
|
|
633
|
+
setTimeout(() => {
|
|
634
|
+
setComposersData(prev => {
|
|
635
|
+
const newComposersData = { ...prev };
|
|
636
|
+
delete newComposersData[uid];
|
|
637
|
+
return newComposersData;
|
|
638
|
+
});
|
|
639
|
+
push({ content: 'Draft Saved' });
|
|
640
|
+
}, 1000);
|
|
641
|
+
};
|
|
642
|
+
const createOrActivateComposer = (id, launchAction, composerProps) => {
|
|
643
|
+
const uid = getCompositeId(id, launchAction);
|
|
644
|
+
if (composersData[uid]) {
|
|
645
|
+
// Activate the existing composer
|
|
646
|
+
composersData[uid].handle?.current?.activate();
|
|
647
|
+
}
|
|
648
|
+
else {
|
|
649
|
+
// Create new composer
|
|
650
|
+
setComposersData(prev => {
|
|
651
|
+
const composerHandle = createRef();
|
|
652
|
+
return {
|
|
653
|
+
...prev,
|
|
654
|
+
[uid]: {
|
|
655
|
+
...composerProps,
|
|
656
|
+
bodyContentCurrentValue: composerProps.data.bodyContent.defaultValue,
|
|
657
|
+
handle: composerHandle,
|
|
658
|
+
onChange: (field, value) => handleChange(uid, field, value),
|
|
659
|
+
onCancel: () => handleCancel(uid),
|
|
660
|
+
onSend: () => handleSend(uid),
|
|
661
|
+
onSave: () => handleSave(uid)
|
|
662
|
+
}
|
|
663
|
+
};
|
|
664
|
+
});
|
|
665
|
+
}
|
|
666
|
+
};
|
|
667
|
+
const emailsData = [
|
|
668
|
+
{
|
|
669
|
+
id: 'item0',
|
|
670
|
+
timeStamp: '2021-01-05T09:12',
|
|
671
|
+
from: participants[0],
|
|
672
|
+
to: participants.slice(0, 2),
|
|
673
|
+
body: '<div>Hi, <br /> <br /><div>Your address change request is approved.</div> <br /> <br />Regards, <br />Laura Stevens </div>',
|
|
674
|
+
unRead: true,
|
|
675
|
+
subject: 'Pause service',
|
|
676
|
+
suggestions: args.hideSuggestions ? undefined : mockSuggestedReplies,
|
|
677
|
+
attachments: [
|
|
678
|
+
{
|
|
679
|
+
id: 'item_1_0',
|
|
680
|
+
value: 'https://pega.com/media/document.doc',
|
|
681
|
+
displayText: 'Policy document'
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
id: 'item_1_1',
|
|
685
|
+
value: 'https://pbs.twimg.com/media/ENNN5PAXkAE-hag.jpg',
|
|
686
|
+
displayText: 'E-Ticket'
|
|
687
|
+
}
|
|
688
|
+
].map(attachment => {
|
|
689
|
+
return {
|
|
690
|
+
...attachment,
|
|
691
|
+
onDownload: action('On attachment download'),
|
|
692
|
+
onPreview: action('On attachment preview')
|
|
693
|
+
};
|
|
694
|
+
})
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
id: 'item1',
|
|
698
|
+
timeStamp: '2021-01-02T03:12',
|
|
699
|
+
from: participants[3],
|
|
700
|
+
to: participants.slice(2, 4),
|
|
701
|
+
body: emailBodyContent,
|
|
702
|
+
unRead: true,
|
|
703
|
+
subject: 'Pause service'
|
|
704
|
+
}
|
|
705
|
+
].map(emailData => {
|
|
706
|
+
const emailActionItems = emailDemoActions(emailData.id, emailData.subject, createOrActivateComposer, false, emailData.body);
|
|
707
|
+
return {
|
|
708
|
+
...emailData,
|
|
709
|
+
onReply: (id) => {
|
|
710
|
+
createOrActivateComposer(id, LaunchAction.REPLY, {
|
|
711
|
+
...baseComposerProps,
|
|
712
|
+
data: {
|
|
713
|
+
...baseComposerProps.data,
|
|
714
|
+
responseType: 'reply',
|
|
715
|
+
subject: { value: `Re-${emailData.subject}` || '' }
|
|
716
|
+
},
|
|
717
|
+
externalValidator: handleExternalEntry
|
|
718
|
+
});
|
|
719
|
+
},
|
|
720
|
+
onForward: id => {
|
|
721
|
+
createOrActivateComposer(id, LaunchAction.FORWARD, {
|
|
722
|
+
...baseComposerProps,
|
|
723
|
+
data: {
|
|
724
|
+
...baseComposerProps.data,
|
|
725
|
+
responseType: 'forward',
|
|
726
|
+
subject: { value: `Fw-${emailData.subject}` || '' }
|
|
727
|
+
},
|
|
728
|
+
externalValidator: handleExternalEntry
|
|
729
|
+
});
|
|
730
|
+
},
|
|
731
|
+
onSuggestionClick: (id, suggestionId) => {
|
|
732
|
+
const suggestion = emailData.suggestions?.find(item => item.id === suggestionId);
|
|
733
|
+
createOrActivateComposer(id, LaunchAction.SUGGESTION, {
|
|
734
|
+
...baseComposerProps,
|
|
735
|
+
data: {
|
|
736
|
+
...baseComposerProps.data,
|
|
737
|
+
responseType: 'reply',
|
|
738
|
+
subject: { value: suggestion?.title || '' },
|
|
739
|
+
bodyContent: { defaultValue: suggestion ? suggestion.content : '' },
|
|
740
|
+
selectedTemplateId: suggestionId
|
|
741
|
+
},
|
|
742
|
+
externalValidator: handleExternalEntry
|
|
743
|
+
});
|
|
744
|
+
},
|
|
745
|
+
actions: emailActionItems,
|
|
746
|
+
tags: args.hideSuggestions
|
|
747
|
+
? undefined
|
|
748
|
+
: {
|
|
749
|
+
items: ['Pause service', 'Lost or stolen'],
|
|
750
|
+
label: 'Associated service cases',
|
|
751
|
+
onRemove: action('On Associated service case remove'),
|
|
752
|
+
dismissable: true
|
|
753
|
+
}
|
|
754
|
+
};
|
|
755
|
+
});
|
|
756
|
+
const DeleteDraft = ({ currentID }) => {
|
|
757
|
+
const { dismiss } = useModalContext();
|
|
758
|
+
return (_jsx(Modal, { heading: 'Delete draft?', actions: _jsxs(_Fragment, { children: [_jsx(Button, { onClick: dismiss, children: "Go back" }), _jsx(Button, { variant: 'primary', onClick: () => {
|
|
759
|
+
dismiss();
|
|
760
|
+
setConversationEmails(prev => {
|
|
761
|
+
const newEmailConversation = [];
|
|
762
|
+
prev.forEach(arr => {
|
|
763
|
+
const newArr = arr.filter(index => index.id !== currentID);
|
|
764
|
+
if (newArr.length !== 0)
|
|
765
|
+
newEmailConversation.push(newArr);
|
|
766
|
+
});
|
|
767
|
+
return newEmailConversation;
|
|
768
|
+
});
|
|
769
|
+
}, children: "Delete" })] }), children: _jsx(Text, { children: "Are you sure that you want to permanently delete the selected message?" }) }));
|
|
770
|
+
};
|
|
771
|
+
const deleteEmail = (id) => {
|
|
772
|
+
create(DeleteDraft, { currentID: id }, { alert: true });
|
|
773
|
+
};
|
|
774
|
+
useEffect(() => {
|
|
775
|
+
setConversationEmails([
|
|
776
|
+
[
|
|
777
|
+
{
|
|
778
|
+
...emailsData[1],
|
|
779
|
+
id: 'item0',
|
|
780
|
+
from: mailDeliverySystemEmail,
|
|
781
|
+
to: [supportTeamEmail],
|
|
782
|
+
body: '<div>Hi, <br /> <br /><div>Your address change request is approved.</div> <br /> <br />Regards, <br />Support team </div>',
|
|
783
|
+
banner: {
|
|
784
|
+
messages: [
|
|
785
|
+
{
|
|
786
|
+
label: 'Address not found.',
|
|
787
|
+
description: '550 5.1.1 The email account that you tried to reach does not exist. Please try double-checking the recipients email address for typos or unnecessary spaces. Learn more at https://support.google.com/mail/?p=NoSuchUser k24-20020aa790d8000000b0050dd7e3b84csor451330pfk.28'
|
|
788
|
+
}
|
|
789
|
+
]
|
|
790
|
+
},
|
|
791
|
+
onReply: undefined,
|
|
792
|
+
onForward: undefined
|
|
793
|
+
},
|
|
794
|
+
{ ...emailsData[1], unRead: false }
|
|
795
|
+
],
|
|
796
|
+
[
|
|
797
|
+
{
|
|
798
|
+
...emailsData[0],
|
|
799
|
+
id: 'item2',
|
|
800
|
+
status: 'draft',
|
|
801
|
+
onEditDraft: (id) => createOrActivateComposer(id, LaunchAction.REPLY, {
|
|
802
|
+
...baseComposerProps,
|
|
803
|
+
data: {
|
|
804
|
+
...baseComposerProps.data,
|
|
805
|
+
responseType: 'reply',
|
|
806
|
+
subject: { value: `Re-${emailsData[0].subject}` || '' },
|
|
807
|
+
bodyContent: { defaultValue: emailsData[0].body || '' }
|
|
808
|
+
}
|
|
809
|
+
}),
|
|
810
|
+
onDeleteDraft: (id) => deleteEmail(id),
|
|
811
|
+
onReply: undefined,
|
|
812
|
+
onForward: undefined,
|
|
813
|
+
suggestions: undefined,
|
|
814
|
+
unRead: false,
|
|
815
|
+
timeStamp: '2021-01-03T17:15',
|
|
816
|
+
from: mockEmails['Hugh Phillips'],
|
|
817
|
+
to: [mockEmails['Mystery Rey'], ...emailsData[0].to],
|
|
818
|
+
cc: [mockEmails['Adam Gillchrist']],
|
|
819
|
+
bcc: [mockEmails['Anton, Randy'], mockEmails['Hugh Phillips']],
|
|
820
|
+
body: '<div>Hi, <br /> <br /><div>Sure, Our executive will come and check your connection in 24hrs. </div> <br />Regards, <br />Hugh Phillips </div>'
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
...emailsData[1],
|
|
824
|
+
id: 'item3',
|
|
825
|
+
status: 'draft',
|
|
826
|
+
onEditDraft: (id) => createOrActivateComposer(id, LaunchAction.REPLY, {
|
|
827
|
+
...baseComposerProps,
|
|
828
|
+
data: {
|
|
829
|
+
...baseComposerProps.data,
|
|
830
|
+
responseType: 'reply',
|
|
831
|
+
subject: { value: `Re-${emailsData[0].subject}` || '' },
|
|
832
|
+
bodyContent: { defaultValue: emailsData[0].body || '' }
|
|
833
|
+
}
|
|
834
|
+
}),
|
|
835
|
+
onDeleteDraft: (id) => deleteEmail(id),
|
|
836
|
+
onReply: undefined,
|
|
837
|
+
onForward: undefined,
|
|
838
|
+
suggestions: undefined,
|
|
839
|
+
unRead: false,
|
|
840
|
+
timeStamp: '2021-01-02T14:16',
|
|
841
|
+
from: mockEmails['Mystery Rey'],
|
|
842
|
+
to: [mockEmails['Hugh Phillips']],
|
|
843
|
+
body: '<div>Hi, <br /> <br /><div>Can you fix my internet connection. </div> <br /> <br />Regards, <br />Rey Mystery </div>'
|
|
844
|
+
}
|
|
845
|
+
],
|
|
846
|
+
[
|
|
847
|
+
{
|
|
848
|
+
...emailsData[0],
|
|
849
|
+
id: 'item4',
|
|
850
|
+
unRead: true,
|
|
851
|
+
timeStamp: '2020-12-05T18:18',
|
|
852
|
+
from: mockEmails['Laura Stevens'],
|
|
853
|
+
to: [mockEmails['Sara Davis']],
|
|
854
|
+
body: '<div>Hi, <br /> <br /><div>Sure, Our executive will call you shortly. </div> <br /> <br />Regards, <br />Laura Stevens </div>',
|
|
855
|
+
sentiment: {
|
|
856
|
+
variant: 'positive'
|
|
857
|
+
}
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
...emailsData[1],
|
|
861
|
+
id: 'item5',
|
|
862
|
+
unRead: true,
|
|
863
|
+
timeStamp: '2021-01-04T08:30',
|
|
864
|
+
from: mockEmails['Sara Davis'],
|
|
865
|
+
to: [mockEmails['Laura Stevens']],
|
|
866
|
+
body: '<div>Hi, <br /> <br /><div>Can you show please explain your new mobile plans. </div> <br /> <br />Regards, <br />Sara Davis </div>'
|
|
867
|
+
}
|
|
868
|
+
]
|
|
869
|
+
]);
|
|
870
|
+
}, []);
|
|
871
|
+
const emailConversations = conversationEmails.map((emails, i) => {
|
|
872
|
+
return {
|
|
873
|
+
from: i === 0 ? emails[1].from : generateEmailConversationParticipants(emails, ['from'])[0],
|
|
874
|
+
to: i === 0 ? emails[1].to : emails[0].to,
|
|
875
|
+
id: `item_${i}`,
|
|
876
|
+
timeStamp: emails[0].timeStamp,
|
|
877
|
+
unReadEmailCount: emails.filter(item => item.unRead).length,
|
|
878
|
+
emails,
|
|
879
|
+
sentiment: emails[0].sentiment,
|
|
880
|
+
isForwarded: i !== 2,
|
|
881
|
+
isCollapsed: i !== 0,
|
|
882
|
+
drafts: i === 1,
|
|
883
|
+
undelivered: i === 0
|
|
884
|
+
};
|
|
885
|
+
});
|
|
886
|
+
const singleEmailConversation = [
|
|
887
|
+
{
|
|
888
|
+
from: generateEmailConversationParticipants(emailsData, ['from'])[0],
|
|
889
|
+
to: generateEmailConversationParticipants(emailsData, ['to']),
|
|
890
|
+
id: 'item_0',
|
|
891
|
+
timeStamp: new Date(emailsData[0].timeStamp),
|
|
892
|
+
unReadEmailCount: 1,
|
|
893
|
+
emails: [
|
|
894
|
+
{
|
|
895
|
+
...emailsData[1],
|
|
896
|
+
id: 'item0',
|
|
897
|
+
from: mailDeliverySystemEmail,
|
|
898
|
+
to: [supportTeamEmail],
|
|
899
|
+
body: '<div>Hi, <br /> <br /><div>Your address change request is approved.</div> <br /> <br />Regards, <br />Support team </div>',
|
|
900
|
+
banner: {
|
|
901
|
+
messages: [
|
|
902
|
+
{
|
|
903
|
+
label: 'Address not found.',
|
|
904
|
+
description: '550 5.1.1 The email account that you tried to reach does not exist. Please try double-checking the recipients email address for typos or unnecessary spaces. Learn more at https://support.google.com/mail/?p=NoSuchUser k24-20020aa790d8000000b0050dd7e3b84csor451330pfk.28'
|
|
905
|
+
}
|
|
906
|
+
]
|
|
907
|
+
},
|
|
908
|
+
onReply: undefined,
|
|
909
|
+
onForward: undefined
|
|
910
|
+
},
|
|
911
|
+
{ ...emailsData[1], unRead: false }
|
|
912
|
+
]
|
|
913
|
+
}
|
|
914
|
+
];
|
|
915
|
+
return (_jsxs(_Fragment, { children: [_jsx(EmailShell, { headerProps: args.headerProps ||
|
|
916
|
+
(args.showHeader
|
|
917
|
+
? {
|
|
918
|
+
actions: (_jsxs(Flex, { container: {
|
|
919
|
+
alignItems: 'center',
|
|
920
|
+
gap: 0
|
|
921
|
+
}, children: [_jsx(Button, { variant: 'simple', icon: true, children: _jsx(Icon, { name: 'filter' }) }), _jsx(MenuButton, { variant: 'simple', text: 'More actions', icon: 'more', iconOnly: true, portal: true, menu: { items: actions } })] })),
|
|
922
|
+
subject: 'Pause service'
|
|
923
|
+
}
|
|
924
|
+
: undefined), autoCollapse: args.autoCollapse, conversations: args.conversations ||
|
|
925
|
+
(args.singleConversation ? singleEmailConversation : emailConversations) }), _jsx(_Fragment, { children: Object.keys(composersData).map(guid => {
|
|
926
|
+
return _jsx(EmailComposer, { ...composersData[guid] }, guid);
|
|
927
|
+
}) })] }));
|
|
928
|
+
};
|
|
929
|
+
EmailShellDemo.args = {
|
|
930
|
+
autoCollapse: true,
|
|
931
|
+
hideSuggestions: false,
|
|
932
|
+
singleConversation: false,
|
|
933
|
+
showHeader: true
|
|
934
|
+
};
|
|
935
|
+
EmailShellDemo.argTypes = {
|
|
936
|
+
autoCollapse: { control: { type: 'boolean' } },
|
|
937
|
+
hideSuggestions: { control: { type: 'boolean' } },
|
|
938
|
+
singleConversation: { control: { type: 'boolean' } },
|
|
939
|
+
showHeader: { control: { type: 'boolean' } }
|
|
940
|
+
};
|
|
941
|
+
export const EntityListDemo = (args) => {
|
|
942
|
+
const itemCounter = useRef(3);
|
|
943
|
+
const timeout = useRef(null);
|
|
944
|
+
const contextMenuHandle = useRef(null);
|
|
945
|
+
const headerProps = {
|
|
946
|
+
icon: 'list-number',
|
|
947
|
+
text: 'Entities'
|
|
948
|
+
};
|
|
949
|
+
const handleRightClick = (e) => {
|
|
950
|
+
action('onContextMenu')(e);
|
|
951
|
+
if (contextMenuHandle.current && args.enableContextMenu) {
|
|
952
|
+
itemCounter.current += 1;
|
|
953
|
+
const { setItems, setOpen, setLoading } = contextMenuHandle.current;
|
|
954
|
+
// Deciding not to show browser context menu
|
|
955
|
+
// This should be synchronus
|
|
956
|
+
e.preventDefault();
|
|
957
|
+
// Now open the custom context menu using the handle and show loader
|
|
958
|
+
setLoading(true);
|
|
959
|
+
setItems([]);
|
|
960
|
+
setOpen(true);
|
|
961
|
+
if (timeout.current) {
|
|
962
|
+
window.clearTimeout(timeout.current);
|
|
963
|
+
}
|
|
964
|
+
timeout.current = window.setTimeout(() => {
|
|
965
|
+
setItems(contextMenuItemsMock);
|
|
966
|
+
// Hide the loader
|
|
967
|
+
setLoading(false);
|
|
968
|
+
}, 1000);
|
|
969
|
+
}
|
|
970
|
+
};
|
|
971
|
+
useEffect(() => {
|
|
972
|
+
return () => {
|
|
973
|
+
if (timeout.current) {
|
|
974
|
+
window.clearTimeout(timeout.current);
|
|
975
|
+
}
|
|
976
|
+
};
|
|
977
|
+
}, []);
|
|
978
|
+
return (_jsx(EntityList, { header: headerProps, content: args.content || EntityListMockData, contextMenu: {
|
|
979
|
+
onItemClick: action('onItemClick'),
|
|
980
|
+
onContextMenu: args.onContextMenu || handleRightClick,
|
|
981
|
+
handle: contextMenuHandle
|
|
982
|
+
} }));
|
|
983
|
+
};
|
|
984
|
+
EntityListDemo.args = {
|
|
985
|
+
enableContextMenu: true
|
|
986
|
+
};
|
|
987
|
+
EntityListDemo.argTypes = {
|
|
988
|
+
enableContextMenu: { control: { type: 'boolean' } }
|
|
989
|
+
};
|
|
990
|
+
export const EmailSummaryItemDemo = (args) => {
|
|
991
|
+
return (_jsx(EmailSummaryItem, { id: createUID(), activeParticipants: [
|
|
992
|
+
{
|
|
993
|
+
shortName: 'Robert',
|
|
994
|
+
fullName: 'Robert Downer',
|
|
995
|
+
emailAddress: 'robert.downey@example.com'
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
shortName: 'Nathan',
|
|
999
|
+
fullName: 'Nathan Swanson',
|
|
1000
|
+
emailAddress: 'nathan.swanson@example.com'
|
|
1001
|
+
}
|
|
1002
|
+
], message: 'I have a quick question on traveling to India. How do I reach Hyderabad?', timeStamp: new Date(Date.UTC(new Date().getUTCFullYear(), new Date().getUTCMonth(), 24)), topic: 'Missing Luggage', sentiment: sentiment, urgency: 10, unreadEmailCount: args.unreadEmailCount, active: args.isActive, onSelect: (id) => {
|
|
1003
|
+
action('onSelect')(id);
|
|
1004
|
+
} }));
|
|
1005
|
+
};
|
|
1006
|
+
EmailSummaryItemDemo.args = {
|
|
1007
|
+
unreadEmailCount: 0,
|
|
1008
|
+
isActive: false
|
|
1009
|
+
};
|
|
1010
|
+
EmailSummaryItemDemo.argTypes = {
|
|
1011
|
+
unreadEmailCount: { control: { type: 'number' } },
|
|
1012
|
+
isActive: { control: { type: 'boolean' } }
|
|
1013
|
+
};
|
|
1014
|
+
export const EmailSummaryListDemo = (args) => {
|
|
1015
|
+
const INITIAL_CHUNK_SIZE = 9;
|
|
1016
|
+
const APPEND_CHUNK_SIZE = 1;
|
|
1017
|
+
const [allEmailItems, setAllEmailItems] = useState(emailSummaryItems.slice(0, INITIAL_CHUNK_SIZE));
|
|
1018
|
+
const [categories, setCategories] = useState(emailWorklistItemsMock);
|
|
1019
|
+
const [currentItemId, setCurrentItemId] = useState(emailSummaryItems[0].id);
|
|
1020
|
+
const handleItemClick = (id) => {
|
|
1021
|
+
const index = allEmailItems.findIndex(emailItem => {
|
|
1022
|
+
return emailItem.id === id;
|
|
1023
|
+
});
|
|
1024
|
+
const newEmailItems = [...allEmailItems];
|
|
1025
|
+
newEmailItems.splice(index, 1, { ...allEmailItems[index], unreadEmailCount: 0 });
|
|
1026
|
+
setAllEmailItems(newEmailItems);
|
|
1027
|
+
setCurrentItemId(id);
|
|
1028
|
+
};
|
|
1029
|
+
const onCategoryClick = (id) => {
|
|
1030
|
+
setCategories(cur => menuHelpers.toggleSelected(cur, id, 'single-select'));
|
|
1031
|
+
};
|
|
1032
|
+
const [loading, setLoading] = useState(false);
|
|
1033
|
+
const [hasMore, setHasMore] = useState(true);
|
|
1034
|
+
const loadMore = useCallback(() => {
|
|
1035
|
+
if (!loading) {
|
|
1036
|
+
setLoading(true);
|
|
1037
|
+
setTimeout(() => {
|
|
1038
|
+
setLoading(false);
|
|
1039
|
+
setAllEmailItems(prevItems => {
|
|
1040
|
+
const previousItemsLength = prevItems.length;
|
|
1041
|
+
const newItems = emailSummaryItems.slice(previousItemsLength, previousItemsLength + APPEND_CHUNK_SIZE);
|
|
1042
|
+
if (newItems.length === 0) {
|
|
1043
|
+
setHasMore(false);
|
|
1044
|
+
}
|
|
1045
|
+
return [...prevItems, ...newItems];
|
|
1046
|
+
});
|
|
1047
|
+
}, 1500);
|
|
1048
|
+
}
|
|
1049
|
+
}, [loading]);
|
|
1050
|
+
return (_jsx(EmailSummaryList, { unreadEmailCount: 99, categories: categories, searchQuery: args.searchQuery, items: args.items || allEmailItems, onItemClick: args.onItemClick || handleItemClick, onCategoryClick: onCategoryClick, onLoadMore: args.onLoadMore || (hasMore ? loadMore : undefined), loading: args.loading || loading, emptyMessage: 'No emails.', currentItemId: args.currentItemId || currentItemId }));
|
|
1051
|
+
};
|
|
1052
|
+
EmailSummaryListDemo.args = {
|
|
1053
|
+
searchQuery: ''
|
|
1054
|
+
};
|
|
1055
|
+
EmailSummaryListDemo.argTypes = {
|
|
1056
|
+
searchQuery: { control: { type: 'text' } }
|
|
1057
|
+
};
|
|
1058
|
+
export const EmailCaseViewDemo = (args) => {
|
|
1059
|
+
const content = _jsx(EmailShellDemo, {});
|
|
1060
|
+
const utilities = (
|
|
1061
|
+
// View analysis utility
|
|
1062
|
+
_jsxs(Grid, { container: { rowGap: 2 }, children: [_jsx(EntityListDemo, {}), _jsxs(Card, { children: [_jsxs(CardHeader, { container: { alignItems: 'center', gap: 1 }, children: [_jsx(Icon, { name: 'document-doc' }), _jsx(Text, { variant: 'h3', children: "Email header" })] }), _jsx(CardContent, { children: _jsx(FieldValueList, { fields: viewAnalysisEmailHeaderMock, variant: 'stacked' }) })] }), _jsx(SummaryList, { name: 'Topics', icon: 'headline', items: topicListMock.map(items => ({
|
|
1063
|
+
...items,
|
|
1064
|
+
primary: _jsx(StyledLabel, { children: items.primary }),
|
|
1065
|
+
secondary: (_jsxs(Flex, { container: { direction: 'row', justify: 'between' }, children: [_jsx(Text, { variant: 'primary', children: items.secondary.indicator }), _jsx(StyledLabel, { children: items.secondary.value })] }))
|
|
1066
|
+
})), noItemsText: 'No items' })] }));
|
|
1067
|
+
return (_jsx(AppShellDemo, { appHeader: true, main: _jsx(EmailCaseView, { header: args.showHeader
|
|
1068
|
+
? {
|
|
1069
|
+
icon: 'mail',
|
|
1070
|
+
title: 'ET-5432'
|
|
1071
|
+
}
|
|
1072
|
+
: undefined, banners: args.showBanners && (_jsx(Banner, { variant: 'urgent', messages: ['Your email could not be delivered due to poor network connection.'] })), content: content, utilities: !args.noUtilityView && utilities, utilitiesSummaryItems: !args.noUtilityView
|
|
1073
|
+
? [
|
|
1074
|
+
{ iconName: 'list-number', count: 7, name: 'Entities' },
|
|
1075
|
+
{ iconName: 'document-doc', count: 1, name: 'Email header' },
|
|
1076
|
+
{ iconName: 'headline', count: 4, name: 'Topics' }
|
|
1077
|
+
]
|
|
1078
|
+
: undefined, defaultUtilitiesExpanded: true }) }));
|
|
1079
|
+
};
|
|
1080
|
+
EmailCaseViewDemo.args = {
|
|
1081
|
+
showBanners: false,
|
|
1082
|
+
noUtilityView: false,
|
|
1083
|
+
showHeader: true
|
|
1084
|
+
};
|
|
1085
|
+
EmailCaseViewDemo.argTypes = {
|
|
1086
|
+
showBanners: { control: { type: 'boolean' } },
|
|
1087
|
+
noUtilityView: { control: { type: 'boolean' } },
|
|
1088
|
+
showHeader: { control: { type: 'boolean' } }
|
|
1089
|
+
};
|
|
1090
|
+
EmailCaseViewDemo.parameters = {
|
|
1091
|
+
layout: 'fullscreen'
|
|
1092
|
+
};
|
|
1093
|
+
export const EmailManagerAppShell = (args) => {
|
|
1094
|
+
const INITIAL_CHUNK_SIZE = 9;
|
|
1095
|
+
const APPEND_CHUNK_SIZE = 1;
|
|
1096
|
+
const [emailList, setEmailList] = useState(emailSummaryItems.slice(0, INITIAL_CHUNK_SIZE));
|
|
1097
|
+
const [loading, setLoading] = useState(false);
|
|
1098
|
+
const [hasMore, setHasMore] = useState(true);
|
|
1099
|
+
const [currentItemId, setCurrentItemId] = useState(emailSummaryItems[0].id);
|
|
1100
|
+
const handleEmailItemClick = (id) => {
|
|
1101
|
+
const index = emailList.findIndex(emailItem => {
|
|
1102
|
+
return emailItem.id === id;
|
|
1103
|
+
});
|
|
1104
|
+
const newEmailList = [...emailList];
|
|
1105
|
+
newEmailList.splice(index, 1, { ...emailList[index], unreadEmailCount: 0 });
|
|
1106
|
+
setEmailList(newEmailList);
|
|
1107
|
+
setCurrentItemId(id);
|
|
1108
|
+
};
|
|
1109
|
+
const onLoadMore = useCallback(() => {
|
|
1110
|
+
if (!loading) {
|
|
1111
|
+
setLoading(true);
|
|
1112
|
+
setTimeout(() => {
|
|
1113
|
+
setLoading(false);
|
|
1114
|
+
setEmailList(prevItems => {
|
|
1115
|
+
const previousItemsLength = prevItems.length;
|
|
1116
|
+
const newItems = emailSummaryItems.slice(previousItemsLength, previousItemsLength + APPEND_CHUNK_SIZE);
|
|
1117
|
+
if (newItems.length === 0) {
|
|
1118
|
+
setHasMore(false);
|
|
1119
|
+
}
|
|
1120
|
+
return [...prevItems, ...newItems];
|
|
1121
|
+
});
|
|
1122
|
+
}, 1500);
|
|
1123
|
+
}
|
|
1124
|
+
}, [loading]);
|
|
1125
|
+
const utilities = (
|
|
1126
|
+
// View analysis utility
|
|
1127
|
+
_jsxs(Grid, { container: { rowGap: 2 }, children: [_jsx(EntityListDemo, {}), _jsxs(Card, { children: [_jsxs(CardHeader, { container: { alignItems: 'center', gap: 1 }, children: [_jsx(Icon, { name: 'document-doc' }), _jsx(Text, { variant: 'h3', children: "Email header" })] }), _jsx(CardContent, { children: _jsx(FieldValueList, { fields: viewAnalysisEmailHeaderMock, variant: 'stacked' }) })] }), _jsx(SummaryList, { name: 'Topics', icon: 'headline', items: topicListMock.map(items => ({
|
|
1128
|
+
...items,
|
|
1129
|
+
primary: _jsx(StyledLabel, { children: items.primary }),
|
|
1130
|
+
secondary: (_jsxs(Flex, { container: { direction: 'row', justify: 'between' }, children: [_jsx(Text, { variant: 'primary', children: items.secondary.indicator }), _jsx(StyledLabel, { children: items.secondary.value })] }))
|
|
1131
|
+
})), noItemsText: 'No items' })] }));
|
|
1132
|
+
const content = _jsx(EmailShellDemo, { showHeader: false });
|
|
1133
|
+
return (_jsx(AppShellDemo, { appHeader: true, main: _jsx(EmailManager, { header: args.showHeader
|
|
1134
|
+
? {
|
|
1135
|
+
icon: 'mail',
|
|
1136
|
+
title: 'Inbox'
|
|
1137
|
+
}
|
|
1138
|
+
: undefined, list: _jsx(EmailSummaryListDemo, { onItemClick: handleEmailItemClick, items: emailList, onLoadMore: hasMore ? onLoadMore : undefined, loading: loading, currentItemId: currentItemId, searchQuery: args.searchQuery }), emailCaseDetails: !args.showEmptyView && (_jsx(EmailCaseView, { banners: args.showCaseViewBanners && (_jsx(Banner, { variant: 'urgent', messages: [
|
|
1139
|
+
'Your email could not be delivered due to poor network connection.'
|
|
1140
|
+
] })), content: content, utilities: args.showUtilities && utilities, utilitiesSummaryItems: args.showUtilities
|
|
1141
|
+
? [
|
|
1142
|
+
{ iconName: 'list-number', count: 7, name: 'Entities' },
|
|
1143
|
+
{ iconName: 'document-doc', count: 1, name: 'Email header' },
|
|
1144
|
+
{ iconName: 'headline', count: 4, name: 'Topics' }
|
|
1145
|
+
]
|
|
1146
|
+
: undefined, defaultUtilitiesExpanded: false })) }) }));
|
|
1147
|
+
};
|
|
1148
|
+
EmailManagerAppShell.args = {
|
|
1149
|
+
enableContextMenu: true,
|
|
1150
|
+
showEmptyView: false,
|
|
1151
|
+
showHeader: true,
|
|
1152
|
+
showCaseViewBanners: false,
|
|
1153
|
+
showUtilities: true,
|
|
1154
|
+
searchQuery: ''
|
|
1155
|
+
};
|
|
1156
|
+
EmailManagerAppShell.argTypes = {
|
|
1157
|
+
enableContextMenu: { control: { type: 'boolean' } },
|
|
1158
|
+
showEmptyView: { control: { type: 'boolean' } },
|
|
1159
|
+
showHeader: { control: { type: 'boolean' } },
|
|
1160
|
+
showCaseViewBanners: { control: { type: 'boolean' } },
|
|
1161
|
+
showUtilities: { control: { type: 'boolean' } },
|
|
1162
|
+
searchQuery: { control: { type: 'text' } }
|
|
1163
|
+
};
|
|
1164
|
+
EmailManagerAppShell.parameters = {
|
|
1165
|
+
layout: 'fullscreen'
|
|
1166
|
+
};
|
|
1167
|
+
//# sourceMappingURL=Email.stories.js.map
|