@pega/cosmos-react-demos 7.11.3 → 7.11.4-10
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/package.json +7 -7
- package/jsx/build/DynamicInput/DynamicInput.mocks.d.ts +0 -22
- package/jsx/build/DynamicInput/DynamicInput.mocks.d.ts.map +0 -1
- package/jsx/build/DynamicInput/DynamicInput.mocks.js +0 -75
- package/jsx/build/DynamicInput/DynamicInput.mocks.js.map +0 -1
- package/jsx/build/DynamicInput/DynamicInput.stories.d.ts +0 -12
- package/jsx/build/DynamicInput/DynamicInput.stories.d.ts.map +0 -1
- package/jsx/build/DynamicInput/DynamicInput.stories.jsx +0 -326
- package/jsx/build/DynamicInput/DynamicInput.stories.jsx.map +0 -1
- package/jsx/build/FieldReference/FieldReference.mocks.d.ts +0 -22
- package/jsx/build/FieldReference/FieldReference.mocks.d.ts.map +0 -1
- package/jsx/build/FieldReference/FieldReference.mocks.js +0 -727
- package/jsx/build/FieldReference/FieldReference.mocks.js.map +0 -1
- package/jsx/build/FieldReference/FieldReference.stories.d.ts +0 -30
- package/jsx/build/FieldReference/FieldReference.stories.d.ts.map +0 -1
- package/jsx/build/FieldReference/FieldReference.stories.jsx +0 -164
- package/jsx/build/FieldReference/FieldReference.stories.jsx.map +0 -1
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +0 -3
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +0 -1
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +0 -15
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +0 -1
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +0 -19
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +0 -1
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx +0 -297
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.stories.jsx.map +0 -1
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +0 -5
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +0 -1
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +0 -15
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +0 -1
- package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts +0 -6
- package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +0 -1
- package/jsx/condition-builder/ConditionBuilder/props.mock.js +0 -230
- package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +0 -1
- package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts +0 -10
- package/jsx/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +0 -1
- package/jsx/condition-builder/ConditionInput/ConditionInput.stories.jsx +0 -40
- package/jsx/condition-builder/ConditionInput/ConditionInput.stories.jsx.map +0 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +0 -4
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +0 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js +0 -233
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +0 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +0 -8
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +0 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx +0 -31
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx.map +0 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts +0 -9
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts.map +0 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.js +0 -35
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.js.map +0 -1
- package/jsx/core/AIButton/AIButton.mocks.d.ts +0 -22
- package/jsx/core/AIButton/AIButton.mocks.d.ts.map +0 -1
- package/jsx/core/AIButton/AIButton.mocks.js +0 -136
- package/jsx/core/AIButton/AIButton.mocks.js.map +0 -1
- package/jsx/core/AIButton/AIButton.stories.d.ts +0 -23
- package/jsx/core/AIButton/AIButton.stories.d.ts.map +0 -1
- package/jsx/core/AIButton/AIButton.stories.jsx +0 -318
- package/jsx/core/AIButton/AIButton.stories.jsx.map +0 -1
- package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts +0 -9
- package/jsx/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +0 -1
- package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx +0 -25
- package/jsx/core/AdditionalInfo/AdditionalInfo.stories.jsx.map +0 -1
- package/jsx/core/AppShell/AppShell.mocks.d.ts +0 -30
- package/jsx/core/AppShell/AppShell.mocks.d.ts.map +0 -1
- package/jsx/core/AppShell/AppShell.mocks.jsx +0 -169
- package/jsx/core/AppShell/AppShell.mocks.jsx.map +0 -1
- package/jsx/core/AppShell/AppShell.stories.d.ts +0 -40
- package/jsx/core/AppShell/AppShell.stories.d.ts.map +0 -1
- package/jsx/core/AppShell/AppShell.stories.jsx +0 -268
- package/jsx/core/AppShell/AppShell.stories.jsx.map +0 -1
- package/jsx/core/AppShell/AppShell.styles.d.ts +0 -2
- package/jsx/core/AppShell/AppShell.styles.d.ts.map +0 -1
- package/jsx/core/AppShell/AppShell.styles.js +0 -5
- package/jsx/core/AppShell/AppShell.styles.js.map +0 -1
- package/jsx/core/Avatar/Avatar.stories.d.ts +0 -15
- package/jsx/core/Avatar/Avatar.stories.d.ts.map +0 -1
- package/jsx/core/Avatar/Avatar.stories.jsx +0 -75
- package/jsx/core/Avatar/Avatar.stories.jsx.map +0 -1
- package/jsx/core/Backdrop/Backdrop.stories.d.ts +0 -7
- package/jsx/core/Backdrop/Backdrop.stories.d.ts.map +0 -1
- package/jsx/core/Backdrop/Backdrop.stories.jsx +0 -43
- package/jsx/core/Backdrop/Backdrop.stories.jsx.map +0 -1
- package/jsx/core/Badges/Alert.stories.d.ts +0 -6
- package/jsx/core/Badges/Alert.stories.d.ts.map +0 -1
- package/jsx/core/Badges/Alert.stories.jsx +0 -15
- package/jsx/core/Badges/Alert.stories.jsx.map +0 -1
- package/jsx/core/Badges/Count.stories.d.ts +0 -6
- package/jsx/core/Badges/Count.stories.d.ts.map +0 -1
- package/jsx/core/Badges/Count.stories.jsx +0 -20
- package/jsx/core/Badges/Count.stories.jsx.map +0 -1
- package/jsx/core/Badges/Keyboard.stories.d.ts +0 -6
- package/jsx/core/Badges/Keyboard.stories.d.ts.map +0 -1
- package/jsx/core/Badges/Keyboard.stories.jsx +0 -17
- package/jsx/core/Badges/Keyboard.stories.jsx.map +0 -1
- package/jsx/core/Badges/Selection.stories.d.ts +0 -5
- package/jsx/core/Badges/Selection.stories.d.ts.map +0 -1
- package/jsx/core/Badges/Selection.stories.jsx +0 -9
- package/jsx/core/Badges/Selection.stories.jsx.map +0 -1
- package/jsx/core/Badges/Status.stories.d.ts +0 -11
- package/jsx/core/Badges/Status.stories.d.ts.map +0 -1
- package/jsx/core/Badges/Status.stories.jsx +0 -43
- package/jsx/core/Badges/Status.stories.jsx.map +0 -1
- package/jsx/core/Badges/Tag.stories.d.ts +0 -5
- package/jsx/core/Badges/Tag.stories.d.ts.map +0 -1
- package/jsx/core/Badges/Tag.stories.jsx +0 -9
- package/jsx/core/Badges/Tag.stories.jsx.map +0 -1
- package/jsx/core/Banner/Banner.mocks.d.ts +0 -18
- package/jsx/core/Banner/Banner.mocks.d.ts.map +0 -1
- package/jsx/core/Banner/Banner.mocks.jsx +0 -41
- package/jsx/core/Banner/Banner.mocks.jsx.map +0 -1
- package/jsx/core/Banner/Banner.stories.d.ts +0 -18
- package/jsx/core/Banner/Banner.stories.d.ts.map +0 -1
- package/jsx/core/Banner/Banner.stories.jsx +0 -156
- package/jsx/core/Banner/Banner.stories.jsx.map +0 -1
- package/jsx/core/Boolean/BooleanDisplay.stories.d.ts +0 -6
- package/jsx/core/Boolean/BooleanDisplay.stories.d.ts.map +0 -1
- package/jsx/core/Boolean/BooleanDisplay.stories.jsx +0 -19
- package/jsx/core/Boolean/BooleanDisplay.stories.jsx.map +0 -1
- package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +0 -2
- package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +0 -1
- package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js +0 -8
- package/jsx/core/Breadcrumbs/Breadcrumbs.mocks.js.map +0 -1
- package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -11
- package/jsx/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +0 -1
- package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx +0 -69
- package/jsx/core/Breadcrumbs/Breadcrumbs.stories.jsx.map +0 -1
- package/jsx/core/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -2
- package/jsx/core/Breadcrumbs/Breadcrumbs.styles.d.ts.map +0 -1
- package/jsx/core/Breadcrumbs/Breadcrumbs.styles.js +0 -12
- package/jsx/core/Breadcrumbs/Breadcrumbs.styles.js.map +0 -1
- package/jsx/core/Button/Button.stories.d.ts +0 -18
- package/jsx/core/Button/Button.stories.d.ts.map +0 -1
- package/jsx/core/Button/Button.stories.jsx +0 -119
- package/jsx/core/Button/Button.stories.jsx.map +0 -1
- package/jsx/core/Card/Card.stories.d.ts +0 -12
- package/jsx/core/Card/Card.stories.d.ts.map +0 -1
- package/jsx/core/Card/Card.stories.jsx +0 -85
- package/jsx/core/Card/Card.stories.jsx.map +0 -1
- package/jsx/core/Card/Card.styles.d.ts +0 -2
- package/jsx/core/Card/Card.styles.d.ts.map +0 -1
- package/jsx/core/Card/Card.styles.js +0 -5
- package/jsx/core/Card/Card.styles.js.map +0 -1
- package/jsx/core/Checkbox/Checkbox.stories.d.ts +0 -23
- package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +0 -1
- package/jsx/core/Checkbox/Checkbox.stories.jsx +0 -104
- package/jsx/core/Checkbox/Checkbox.stories.jsx.map +0 -1
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts +0 -11
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +0 -1
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx +0 -103
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +0 -1
- package/jsx/core/CheckboxGroup/CheckboxGroup.styles.d.ts +0 -4
- package/jsx/core/CheckboxGroup/CheckboxGroup.styles.d.ts.map +0 -1
- package/jsx/core/CheckboxGroup/CheckboxGroup.styles.js +0 -9
- package/jsx/core/CheckboxGroup/CheckboxGroup.styles.js.map +0 -1
- package/jsx/core/ColorPicker/ColorPicker.stories.d.ts +0 -10
- package/jsx/core/ColorPicker/ColorPicker.stories.d.ts.map +0 -1
- package/jsx/core/ColorPicker/ColorPicker.stories.jsx +0 -89
- package/jsx/core/ColorPicker/ColorPicker.stories.jsx.map +0 -1
- package/jsx/core/ColorPicker/ColorPicker.styles.d.ts +0 -4
- package/jsx/core/ColorPicker/ColorPicker.styles.d.ts.map +0 -1
- package/jsx/core/ColorPicker/ColorPicker.styles.js +0 -10
- package/jsx/core/ColorPicker/ColorPicker.styles.js.map +0 -1
- package/jsx/core/ComboBox/ComboBox.mocks.d.ts +0 -26
- package/jsx/core/ComboBox/ComboBox.mocks.d.ts.map +0 -1
- package/jsx/core/ComboBox/ComboBox.mocks.jsx +0 -58
- package/jsx/core/ComboBox/ComboBox.mocks.jsx.map +0 -1
- package/jsx/core/ComboBox/ComboBox.stories.d.ts +0 -25
- package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +0 -1
- package/jsx/core/ComboBox/ComboBox.stories.jsx +0 -418
- package/jsx/core/ComboBox/ComboBox.stories.jsx.map +0 -1
- package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts +0 -8
- package/jsx/core/CompositeInput/CompositeInput.mocks.d.ts.map +0 -1
- package/jsx/core/CompositeInput/CompositeInput.mocks.jsx +0 -8
- package/jsx/core/CompositeInput/CompositeInput.mocks.jsx.map +0 -1
- package/jsx/core/CompositeInput/CompositeInput.stories.d.ts +0 -9
- package/jsx/core/CompositeInput/CompositeInput.stories.d.ts.map +0 -1
- package/jsx/core/CompositeInput/CompositeInput.stories.jsx +0 -52
- package/jsx/core/CompositeInput/CompositeInput.stories.jsx.map +0 -1
- package/jsx/core/Configuration/Configuration.mocks.d.ts +0 -7
- package/jsx/core/Configuration/Configuration.mocks.d.ts.map +0 -1
- package/jsx/core/Configuration/Configuration.mocks.jsx +0 -9
- package/jsx/core/Configuration/Configuration.mocks.jsx.map +0 -1
- package/jsx/core/Configuration/Configuration.stories.d.ts +0 -25
- package/jsx/core/Configuration/Configuration.stories.d.ts.map +0 -1
- package/jsx/core/Configuration/Configuration.stories.jsx +0 -196
- package/jsx/core/Configuration/Configuration.stories.jsx.map +0 -1
- package/jsx/core/Configuration/Configuration.styles.d.ts +0 -6
- package/jsx/core/Configuration/Configuration.styles.d.ts.map +0 -1
- package/jsx/core/Configuration/Configuration.styles.js +0 -12
- package/jsx/core/Configuration/Configuration.styles.js.map +0 -1
- package/jsx/core/CreditCard/CreditCard.stories.d.ts +0 -14
- package/jsx/core/CreditCard/CreditCard.stories.d.ts.map +0 -1
- package/jsx/core/CreditCard/CreditCard.stories.jsx +0 -50
- package/jsx/core/CreditCard/CreditCard.stories.jsx.map +0 -1
- package/jsx/core/Currency/Currency.stories.d.ts +0 -19
- package/jsx/core/Currency/Currency.stories.d.ts.map +0 -1
- package/jsx/core/Currency/Currency.stories.jsx +0 -105
- package/jsx/core/Currency/Currency.stories.jsx.map +0 -1
- package/jsx/core/DangerButton/DangerButton.stories.d.ts +0 -6
- package/jsx/core/DangerButton/DangerButton.stories.d.ts.map +0 -1
- package/jsx/core/DangerButton/DangerButton.stories.jsx +0 -17
- package/jsx/core/DangerButton/DangerButton.stories.jsx.map +0 -1
- package/jsx/core/DateTime/DateTime.stories.d.ts +0 -54
- package/jsx/core/DateTime/DateTime.stories.d.ts.map +0 -1
- package/jsx/core/DateTime/DateTime.stories.jsx +0 -292
- package/jsx/core/DateTime/DateTime.stories.jsx.map +0 -1
- package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts +0 -7
- package/jsx/core/DateTime/DateTimeDisplay.stories.d.ts.map +0 -1
- package/jsx/core/DateTime/DateTimeDisplay.stories.jsx +0 -54
- package/jsx/core/DateTime/DateTimeDisplay.stories.jsx.map +0 -1
- package/jsx/core/DateTime/DateTimePicker.stories.d.ts +0 -7
- package/jsx/core/DateTime/DateTimePicker.stories.d.ts.map +0 -1
- package/jsx/core/DateTime/DateTimePicker.stories.jsx +0 -34
- package/jsx/core/DateTime/DateTimePicker.stories.jsx.map +0 -1
- package/jsx/core/Dialog/Dialog.stories.d.ts +0 -7
- package/jsx/core/Dialog/Dialog.stories.d.ts.map +0 -1
- package/jsx/core/Dialog/Dialog.stories.jsx +0 -15
- package/jsx/core/Dialog/Dialog.stories.jsx.map +0 -1
- package/jsx/core/Dialog/FormDialog.mocks.d.ts +0 -27
- package/jsx/core/Dialog/FormDialog.mocks.d.ts.map +0 -1
- package/jsx/core/Dialog/FormDialog.mocks.jsx +0 -194
- package/jsx/core/Dialog/FormDialog.mocks.jsx.map +0 -1
- package/jsx/core/Dialog/InfoDialog.mocks.d.ts +0 -4
- package/jsx/core/Dialog/InfoDialog.mocks.d.ts.map +0 -1
- package/jsx/core/Dialog/InfoDialog.mocks.jsx +0 -64
- package/jsx/core/Dialog/InfoDialog.mocks.jsx.map +0 -1
- package/jsx/core/Drawer/Drawer.stories.d.ts +0 -7
- package/jsx/core/Drawer/Drawer.stories.d.ts.map +0 -1
- package/jsx/core/Drawer/Drawer.stories.jsx +0 -98
- package/jsx/core/Drawer/Drawer.stories.jsx.map +0 -1
- package/jsx/core/Drawer/Drawer.styles.d.ts +0 -2
- package/jsx/core/Drawer/Drawer.styles.d.ts.map +0 -1
- package/jsx/core/Drawer/Drawer.styles.js +0 -11
- package/jsx/core/Drawer/Drawer.styles.js.map +0 -1
- package/jsx/core/Email/EmailDisplay.stories.d.ts +0 -6
- package/jsx/core/Email/EmailDisplay.stories.d.ts.map +0 -1
- package/jsx/core/Email/EmailDisplay.stories.jsx +0 -19
- package/jsx/core/Email/EmailDisplay.stories.jsx.map +0 -1
- package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts +0 -8
- package/jsx/core/EmojiPicker/EmojiPicker.stories.d.ts.map +0 -1
- package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx +0 -53
- package/jsx/core/EmojiPicker/EmojiPicker.stories.jsx.map +0 -1
- package/jsx/core/EmptyState/EmptyState.stories.d.ts +0 -6
- package/jsx/core/EmptyState/EmptyState.stories.d.ts.map +0 -1
- package/jsx/core/EmptyState/EmptyState.stories.jsx +0 -18
- package/jsx/core/EmptyState/EmptyState.stories.jsx.map +0 -1
- package/jsx/core/ErrorState/ErrorState.stories.d.ts +0 -9
- package/jsx/core/ErrorState/ErrorState.stories.d.ts.map +0 -1
- package/jsx/core/ErrorState/ErrorState.stories.jsx +0 -20
- package/jsx/core/ErrorState/ErrorState.stories.jsx.map +0 -1
- package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts +0 -7
- package/jsx/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +0 -1
- package/jsx/core/ExpandCollapse/ExpandCollapse.stories.jsx +0 -73
- package/jsx/core/ExpandCollapse/ExpandCollapse.stories.jsx.map +0 -1
- package/jsx/core/ExpandCollapse/ExpandCollapse.styles.d.ts +0 -4
- package/jsx/core/ExpandCollapse/ExpandCollapse.styles.d.ts.map +0 -1
- package/jsx/core/ExpandCollapse/ExpandCollapse.styles.js +0 -17
- package/jsx/core/ExpandCollapse/ExpandCollapse.styles.js.map +0 -1
- package/jsx/core/FieldGroup/FieldGroup.stories.d.ts +0 -20
- package/jsx/core/FieldGroup/FieldGroup.stories.d.ts.map +0 -1
- package/jsx/core/FieldGroup/FieldGroup.stories.jsx +0 -94
- package/jsx/core/FieldGroup/FieldGroup.stories.jsx.map +0 -1
- package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts +0 -25
- package/jsx/core/FieldGroup/FieldGroupList.mocks.d.ts.map +0 -1
- package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx +0 -109
- package/jsx/core/FieldGroup/FieldGroupList.mocks.jsx.map +0 -1
- package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts +0 -13
- package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +0 -1
- package/jsx/core/FieldGroup/FieldGroupList.stories.jsx +0 -136
- package/jsx/core/FieldGroup/FieldGroupList.stories.jsx.map +0 -1
- package/jsx/core/FieldValueList/FieldValueList.mocks.d.ts +0 -20
- package/jsx/core/FieldValueList/FieldValueList.mocks.d.ts.map +0 -1
- package/jsx/core/FieldValueList/FieldValueList.mocks.jsx +0 -54
- package/jsx/core/FieldValueList/FieldValueList.mocks.jsx.map +0 -1
- package/jsx/core/FieldValueList/FieldValueList.stories.d.ts +0 -11
- package/jsx/core/FieldValueList/FieldValueList.stories.d.ts.map +0 -1
- package/jsx/core/FieldValueList/FieldValueList.stories.jsx +0 -37
- package/jsx/core/FieldValueList/FieldValueList.stories.jsx.map +0 -1
- package/jsx/core/FieldValueList/FieldValueList.styles.d.ts +0 -2
- package/jsx/core/FieldValueList/FieldValueList.styles.d.ts.map +0 -1
- package/jsx/core/FieldValueList/FieldValueList.styles.js +0 -8
- package/jsx/core/FieldValueList/FieldValueList.styles.js.map +0 -1
- package/jsx/core/File/FileDisplay.mocks.d.ts +0 -4
- package/jsx/core/File/FileDisplay.mocks.d.ts.map +0 -1
- package/jsx/core/File/FileDisplay.mocks.js +0 -126
- package/jsx/core/File/FileDisplay.mocks.js.map +0 -1
- package/jsx/core/File/FileDisplay.stories.d.ts +0 -27
- package/jsx/core/File/FileDisplay.stories.d.ts.map +0 -1
- package/jsx/core/File/FileDisplay.stories.jsx +0 -179
- package/jsx/core/File/FileDisplay.stories.jsx.map +0 -1
- package/jsx/core/File/FileInput.stories.d.ts +0 -13
- package/jsx/core/File/FileInput.stories.d.ts.map +0 -1
- package/jsx/core/File/FileInput.stories.jsx +0 -162
- package/jsx/core/File/FileInput.stories.jsx.map +0 -1
- package/jsx/core/File/FileService.mock.d.ts +0 -31
- package/jsx/core/File/FileService.mock.d.ts.map +0 -1
- package/jsx/core/File/FileService.mock.jsx +0 -119
- package/jsx/core/File/FileService.mock.jsx.map +0 -1
- package/jsx/core/File/MockFileInput.d.ts +0 -6
- package/jsx/core/File/MockFileInput.d.ts.map +0 -1
- package/jsx/core/File/MockFileInput.jsx +0 -25
- package/jsx/core/File/MockFileInput.jsx.map +0 -1
- package/jsx/core/Flex/Flex.styles.d.ts +0 -10
- package/jsx/core/Flex/Flex.styles.d.ts.map +0 -1
- package/jsx/core/Flex/Flex.styles.js +0 -41
- package/jsx/core/Flex/Flex.styles.js.map +0 -1
- package/jsx/core/Flex/FlexContainer.stories.d.ts +0 -21
- package/jsx/core/Flex/FlexContainer.stories.d.ts.map +0 -1
- package/jsx/core/Flex/FlexContainer.stories.jsx +0 -164
- package/jsx/core/Flex/FlexContainer.stories.jsx.map +0 -1
- package/jsx/core/Flex/FlexItem.stories.d.ts +0 -13
- package/jsx/core/Flex/FlexItem.stories.d.ts.map +0 -1
- package/jsx/core/Flex/FlexItem.stories.jsx +0 -71
- package/jsx/core/Flex/FlexItem.stories.jsx.map +0 -1
- package/jsx/core/Form/Form.mocks.d.ts +0 -14
- package/jsx/core/Form/Form.mocks.d.ts.map +0 -1
- package/jsx/core/Form/Form.mocks.jsx +0 -276
- package/jsx/core/Form/Form.mocks.jsx.map +0 -1
- package/jsx/core/Form/Form.stories.d.ts +0 -25
- package/jsx/core/Form/Form.stories.d.ts.map +0 -1
- package/jsx/core/Form/Form.stories.jsx +0 -106
- package/jsx/core/Form/Form.stories.jsx.map +0 -1
- package/jsx/core/Fullscreen/Fullscreen.stories.d.ts +0 -5
- package/jsx/core/Fullscreen/Fullscreen.stories.d.ts.map +0 -1
- package/jsx/core/Fullscreen/Fullscreen.stories.jsx +0 -22
- package/jsx/core/Fullscreen/Fullscreen.stories.jsx.map +0 -1
- package/jsx/core/Fullscreen/Fullscreen.styles.d.ts +0 -3
- package/jsx/core/Fullscreen/Fullscreen.styles.d.ts.map +0 -1
- package/jsx/core/Fullscreen/Fullscreen.styles.js +0 -9
- package/jsx/core/Fullscreen/Fullscreen.styles.js.map +0 -1
- package/jsx/core/Grid/Grid.styles.d.ts +0 -6
- package/jsx/core/Grid/Grid.styles.d.ts.map +0 -1
- package/jsx/core/Grid/Grid.styles.js +0 -36
- package/jsx/core/Grid/Grid.styles.js.map +0 -1
- package/jsx/core/Grid/GridContainer.stories.d.ts +0 -23
- package/jsx/core/Grid/GridContainer.stories.d.ts.map +0 -1
- package/jsx/core/Grid/GridContainer.stories.jsx +0 -168
- package/jsx/core/Grid/GridContainer.stories.jsx.map +0 -1
- package/jsx/core/Grid/GridItem.stories.d.ts +0 -12
- package/jsx/core/Grid/GridItem.stories.d.ts.map +0 -1
- package/jsx/core/Grid/GridItem.stories.jsx +0 -74
- package/jsx/core/Grid/GridItem.stories.jsx.map +0 -1
- package/jsx/core/HTML/HTML.stories.d.ts +0 -6
- package/jsx/core/HTML/HTML.stories.d.ts.map +0 -1
- package/jsx/core/HTML/HTML.stories.jsx +0 -13
- package/jsx/core/HTML/HTML.stories.jsx.map +0 -1
- package/jsx/core/Icon/Icon.mocks.d.ts +0 -26
- package/jsx/core/Icon/Icon.mocks.d.ts.map +0 -1
- package/jsx/core/Icon/Icon.mocks.jsx +0 -32
- package/jsx/core/Icon/Icon.mocks.jsx.map +0 -1
- package/jsx/core/Icon/Icon.stories.d.ts +0 -21
- package/jsx/core/Icon/Icon.stories.d.ts.map +0 -1
- package/jsx/core/Icon/Icon.stories.jsx +0 -112
- package/jsx/core/Icon/Icon.stories.jsx.map +0 -1
- package/jsx/core/Icon/Icon.styles.d.ts +0 -4
- package/jsx/core/Icon/Icon.styles.d.ts.map +0 -1
- package/jsx/core/Icon/Icon.styles.js +0 -25
- package/jsx/core/Icon/Icon.styles.js.map +0 -1
- package/jsx/core/IconPicker/IconPicker.mocks.d.ts +0 -2
- package/jsx/core/IconPicker/IconPicker.mocks.d.ts.map +0 -1
- package/jsx/core/IconPicker/IconPicker.mocks.js +0 -3
- package/jsx/core/IconPicker/IconPicker.mocks.js.map +0 -1
- package/jsx/core/IconPicker/IconPicker.stories.d.ts +0 -6
- package/jsx/core/IconPicker/IconPicker.stories.d.ts.map +0 -1
- package/jsx/core/IconPicker/IconPicker.stories.jsx +0 -38
- package/jsx/core/IconPicker/IconPicker.stories.jsx.map +0 -1
- package/jsx/core/Image/Image.stories.d.ts +0 -5
- package/jsx/core/Image/Image.stories.d.ts.map +0 -1
- package/jsx/core/Image/Image.stories.jsx +0 -9
- package/jsx/core/Image/Image.stories.jsx.map +0 -1
- package/jsx/core/Input/Input.stories.d.ts +0 -20
- package/jsx/core/Input/Input.stories.d.ts.map +0 -1
- package/jsx/core/Input/Input.stories.jsx +0 -159
- package/jsx/core/Input/Input.stories.jsx.map +0 -1
- package/jsx/core/Label/Label.stories.d.ts +0 -10
- package/jsx/core/Label/Label.stories.d.ts.map +0 -1
- package/jsx/core/Label/Label.stories.jsx +0 -33
- package/jsx/core/Label/Label.stories.jsx.map +0 -1
- package/jsx/core/Lightbox/Lightbox.mocks.d.ts +0 -28
- package/jsx/core/Lightbox/Lightbox.mocks.d.ts.map +0 -1
- package/jsx/core/Lightbox/Lightbox.mocks.js +0 -118
- package/jsx/core/Lightbox/Lightbox.mocks.js.map +0 -1
- package/jsx/core/Lightbox/Lightbox.stories.d.ts +0 -10
- package/jsx/core/Lightbox/Lightbox.stories.d.ts.map +0 -1
- package/jsx/core/Lightbox/Lightbox.stories.jsx +0 -69
- package/jsx/core/Lightbox/Lightbox.stories.jsx.map +0 -1
- package/jsx/core/Link/Link.stories.d.ts +0 -14
- package/jsx/core/Link/Link.stories.d.ts.map +0 -1
- package/jsx/core/Link/Link.stories.jsx +0 -48
- package/jsx/core/Link/Link.stories.jsx.map +0 -1
- package/jsx/core/List/CommaSeparatedList.stories.d.ts +0 -6
- package/jsx/core/List/CommaSeparatedList.stories.d.ts.map +0 -1
- package/jsx/core/List/CommaSeparatedList.stories.jsx +0 -31
- package/jsx/core/List/CommaSeparatedList.stories.jsx.map +0 -1
- package/jsx/core/List/OrderedList.stories.d.ts +0 -10
- package/jsx/core/List/OrderedList.stories.d.ts.map +0 -1
- package/jsx/core/List/OrderedList.stories.jsx +0 -38
- package/jsx/core/List/OrderedList.stories.jsx.map +0 -1
- package/jsx/core/List/UnorderedList.stories.d.ts +0 -10
- package/jsx/core/List/UnorderedList.stories.d.ts.map +0 -1
- package/jsx/core/List/UnorderedList.stories.jsx +0 -38
- package/jsx/core/List/UnorderedList.stories.jsx.map +0 -1
- package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts +0 -9
- package/jsx/core/ListToolbar/ListToolbar.mocks.d.ts.map +0 -1
- package/jsx/core/ListToolbar/ListToolbar.mocks.jsx +0 -58
- package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +0 -1
- package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +0 -17
- package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +0 -1
- package/jsx/core/ListToolbar/ListToolbar.stories.jsx +0 -141
- package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +0 -1
- package/jsx/core/LiveLog/LiveLog.mocks.d.ts +0 -5
- package/jsx/core/LiveLog/LiveLog.mocks.d.ts.map +0 -1
- package/jsx/core/LiveLog/LiveLog.mocks.jsx +0 -47
- package/jsx/core/LiveLog/LiveLog.mocks.jsx.map +0 -1
- package/jsx/core/LiveLog/LiveLog.stories.d.ts +0 -6
- package/jsx/core/LiveLog/LiveLog.stories.d.ts.map +0 -1
- package/jsx/core/LiveLog/LiveLog.stories.jsx +0 -13
- package/jsx/core/LiveLog/LiveLog.stories.jsx.map +0 -1
- package/jsx/core/Location/Location.stories.d.ts +0 -25
- package/jsx/core/Location/Location.stories.d.ts.map +0 -1
- package/jsx/core/Location/Location.stories.jsx +0 -200
- package/jsx/core/Location/Location.stories.jsx.map +0 -1
- package/jsx/core/Location/locationTestUtils.d.ts +0 -8
- package/jsx/core/Location/locationTestUtils.d.ts.map +0 -1
- package/jsx/core/Location/locationTestUtils.js +0 -73
- package/jsx/core/Location/locationTestUtils.js.map +0 -1
- package/jsx/core/Menu/Menu.mocks.d.ts +0 -4
- package/jsx/core/Menu/Menu.mocks.d.ts.map +0 -1
- package/jsx/core/Menu/Menu.mocks.js +0 -183
- package/jsx/core/Menu/Menu.mocks.js.map +0 -1
- package/jsx/core/Menu/Menu.stories.d.ts +0 -18
- package/jsx/core/Menu/Menu.stories.d.ts.map +0 -1
- package/jsx/core/Menu/Menu.stories.jsx +0 -209
- package/jsx/core/Menu/Menu.stories.jsx.map +0 -1
- package/jsx/core/Menu/Menu.styles.d.ts +0 -2
- package/jsx/core/Menu/Menu.styles.d.ts.map +0 -1
- package/jsx/core/Menu/Menu.styles.js +0 -6
- package/jsx/core/Menu/Menu.styles.js.map +0 -1
- package/jsx/core/MenuButton/MenuButton.stories.d.ts +0 -16
- package/jsx/core/MenuButton/MenuButton.stories.d.ts.map +0 -1
- package/jsx/core/MenuButton/MenuButton.stories.jsx +0 -194
- package/jsx/core/MenuButton/MenuButton.stories.jsx.map +0 -1
- package/jsx/core/MetaList/MetaList.stories.d.ts +0 -9
- package/jsx/core/MetaList/MetaList.stories.d.ts.map +0 -1
- package/jsx/core/MetaList/MetaList.stories.jsx +0 -24
- package/jsx/core/MetaList/MetaList.stories.jsx.map +0 -1
- package/jsx/core/Modal/Modal.mocks.d.ts +0 -45
- package/jsx/core/Modal/Modal.mocks.d.ts.map +0 -1
- package/jsx/core/Modal/Modal.mocks.jsx +0 -204
- package/jsx/core/Modal/Modal.mocks.jsx.map +0 -1
- package/jsx/core/Modal/Modal.stories.d.ts +0 -12
- package/jsx/core/Modal/Modal.stories.d.ts.map +0 -1
- package/jsx/core/Modal/Modal.stories.jsx +0 -175
- package/jsx/core/Modal/Modal.stories.jsx.map +0 -1
- package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts +0 -70
- package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +0 -1
- package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx +0 -408
- package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx.map +0 -1
- package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts +0 -7
- package/jsx/core/MultiStepForm/MultiStepForm.stories.d.ts.map +0 -1
- package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx +0 -133
- package/jsx/core/MultiStepForm/MultiStepForm.stories.jsx.map +0 -1
- package/jsx/core/NoValue/NoValue.stories.d.ts +0 -6
- package/jsx/core/NoValue/NoValue.stories.d.ts.map +0 -1
- package/jsx/core/NoValue/NoValue.stories.jsx +0 -30
- package/jsx/core/NoValue/NoValue.stories.jsx.map +0 -1
- package/jsx/core/Number/Number.stories.d.ts +0 -19
- package/jsx/core/Number/Number.stories.d.ts.map +0 -1
- package/jsx/core/Number/Number.stories.jsx +0 -303
- package/jsx/core/Number/Number.stories.jsx.map +0 -1
- package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts +0 -3
- package/jsx/core/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
- package/jsx/core/PageTemplates/PageTemplates.mocks.js +0 -10
- package/jsx/core/PageTemplates/PageTemplates.mocks.js.map +0 -1
- package/jsx/core/PageTemplates/PageTemplates.stories.d.ts +0 -35
- package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
- package/jsx/core/PageTemplates/PageTemplates.stories.jsx +0 -301
- package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +0 -1
- package/jsx/core/PageTemplates/PageTemplates.styles.d.ts +0 -5
- package/jsx/core/PageTemplates/PageTemplates.styles.d.ts.map +0 -1
- package/jsx/core/PageTemplates/PageTemplates.styles.js +0 -40
- package/jsx/core/PageTemplates/PageTemplates.styles.js.map +0 -1
- package/jsx/core/Pagination/Pagination.stories.d.ts +0 -6
- package/jsx/core/Pagination/Pagination.stories.d.ts.map +0 -1
- package/jsx/core/Pagination/Pagination.stories.jsx +0 -19
- package/jsx/core/Pagination/Pagination.stories.jsx.map +0 -1
- package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts +0 -6
- package/jsx/core/Paragraph/ParagraphDisplay.stories.d.ts.map +0 -1
- package/jsx/core/Paragraph/ParagraphDisplay.stories.jsx +0 -15
- package/jsx/core/Paragraph/ParagraphDisplay.stories.jsx.map +0 -1
- package/jsx/core/Phone/Phone.stories.d.ts +0 -13
- package/jsx/core/Phone/Phone.stories.d.ts.map +0 -1
- package/jsx/core/Phone/Phone.stories.jsx +0 -52
- package/jsx/core/Phone/Phone.stories.jsx.map +0 -1
- package/jsx/core/Popover/Popover.mocks.d.ts +0 -9
- package/jsx/core/Popover/Popover.mocks.d.ts.map +0 -1
- package/jsx/core/Popover/Popover.mocks.jsx +0 -114
- package/jsx/core/Popover/Popover.mocks.jsx.map +0 -1
- package/jsx/core/Popover/Popover.stories.d.ts +0 -13
- package/jsx/core/Popover/Popover.stories.d.ts.map +0 -1
- package/jsx/core/Popover/Popover.stories.jsx +0 -209
- package/jsx/core/Popover/Popover.stories.jsx.map +0 -1
- package/jsx/core/Progress/Progress.mocks.d.ts +0 -2
- package/jsx/core/Progress/Progress.mocks.d.ts.map +0 -1
- package/jsx/core/Progress/Progress.mocks.js +0 -2
- package/jsx/core/Progress/Progress.mocks.js.map +0 -1
- package/jsx/core/Progress/Progress.stories.d.ts +0 -16
- package/jsx/core/Progress/Progress.stories.d.ts.map +0 -1
- package/jsx/core/Progress/Progress.stories.jsx +0 -124
- package/jsx/core/Progress/Progress.stories.jsx.map +0 -1
- package/jsx/core/Progress/Progress.styles.d.ts +0 -2
- package/jsx/core/Progress/Progress.styles.d.ts.map +0 -1
- package/jsx/core/Progress/Progress.styles.js +0 -14
- package/jsx/core/Progress/Progress.styles.js.map +0 -1
- package/jsx/core/QRCode/QRCode.stories.d.ts +0 -9
- package/jsx/core/QRCode/QRCode.stories.d.ts.map +0 -1
- package/jsx/core/QRCode/QRCode.stories.jsx +0 -17
- package/jsx/core/QRCode/QRCode.stories.jsx.map +0 -1
- package/jsx/core/RadioButton/RadioButton.stories.d.ts +0 -23
- package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +0 -1
- package/jsx/core/RadioButton/RadioButton.stories.jsx +0 -99
- package/jsx/core/RadioButton/RadioButton.stories.jsx.map +0 -1
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +0 -14
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +0 -1
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +0 -105
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +0 -1
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts +0 -4
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts.map +0 -1
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.js +0 -9
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.js.map +0 -1
- package/jsx/core/Rating/Rating.stories.d.ts +0 -13
- package/jsx/core/Rating/Rating.stories.d.ts.map +0 -1
- package/jsx/core/Rating/Rating.stories.jsx +0 -39
- package/jsx/core/Rating/Rating.stories.jsx.map +0 -1
- package/jsx/core/SearchInput/SearchInput.mocks.d.ts +0 -12
- package/jsx/core/SearchInput/SearchInput.mocks.d.ts.map +0 -1
- package/jsx/core/SearchInput/SearchInput.mocks.js +0 -25
- package/jsx/core/SearchInput/SearchInput.mocks.js.map +0 -1
- package/jsx/core/SearchInput/SearchInput.stories.d.ts +0 -8
- package/jsx/core/SearchInput/SearchInput.stories.d.ts.map +0 -1
- package/jsx/core/SearchInput/SearchInput.stories.jsx +0 -63
- package/jsx/core/SearchInput/SearchInput.stories.jsx.map +0 -1
- package/jsx/core/Select/Select.stories.d.ts +0 -18
- package/jsx/core/Select/Select.stories.d.ts.map +0 -1
- package/jsx/core/Select/Select.stories.jsx +0 -83
- package/jsx/core/Select/Select.stories.jsx.map +0 -1
- package/jsx/core/Sentiment/Sentiment.stories.d.ts +0 -20
- package/jsx/core/Sentiment/Sentiment.stories.d.ts.map +0 -1
- package/jsx/core/Sentiment/Sentiment.stories.jsx +0 -71
- package/jsx/core/Sentiment/Sentiment.stories.jsx.map +0 -1
- package/jsx/core/SkipLinks/SkipLinks.stories.d.ts +0 -6
- package/jsx/core/SkipLinks/SkipLinks.stories.d.ts.map +0 -1
- package/jsx/core/SkipLinks/SkipLinks.stories.jsx +0 -29
- package/jsx/core/SkipLinks/SkipLinks.stories.jsx.map +0 -1
- package/jsx/core/SkipLinks/SkipLinks.styles.d.ts +0 -2
- package/jsx/core/SkipLinks/SkipLinks.styles.d.ts.map +0 -1
- package/jsx/core/SkipLinks/SkipLinks.styles.js +0 -16
- package/jsx/core/SkipLinks/SkipLinks.styles.js.map +0 -1
- package/jsx/core/Slider/Slider.stories.d.ts +0 -13
- package/jsx/core/Slider/Slider.stories.d.ts.map +0 -1
- package/jsx/core/Slider/Slider.stories.jsx +0 -78
- package/jsx/core/Slider/Slider.stories.jsx.map +0 -1
- package/jsx/core/SummaryItem/SummaryItem.stories.d.ts +0 -11
- package/jsx/core/SummaryItem/SummaryItem.stories.d.ts.map +0 -1
- package/jsx/core/SummaryItem/SummaryItem.stories.jsx +0 -38
- package/jsx/core/SummaryItem/SummaryItem.stories.jsx.map +0 -1
- package/jsx/core/SummaryList/SummaryList.mocks.d.ts +0 -20
- package/jsx/core/SummaryList/SummaryList.mocks.d.ts.map +0 -1
- package/jsx/core/SummaryList/SummaryList.mocks.jsx +0 -48
- package/jsx/core/SummaryList/SummaryList.mocks.jsx.map +0 -1
- package/jsx/core/SummaryList/SummaryList.stories.d.ts +0 -13
- package/jsx/core/SummaryList/SummaryList.stories.d.ts.map +0 -1
- package/jsx/core/SummaryList/SummaryList.stories.jsx +0 -131
- package/jsx/core/SummaryList/SummaryList.stories.jsx.map +0 -1
- package/jsx/core/SummaryList/mockUsers.d.ts +0 -16
- package/jsx/core/SummaryList/mockUsers.d.ts.map +0 -1
- package/jsx/core/SummaryList/mockUsers.js +0 -904
- package/jsx/core/SummaryList/mockUsers.js.map +0 -1
- package/jsx/core/Switch/Switch.stories.d.ts +0 -14
- package/jsx/core/Switch/Switch.stories.d.ts.map +0 -1
- package/jsx/core/Switch/Switch.stories.jsx +0 -60
- package/jsx/core/Switch/Switch.stories.jsx.map +0 -1
- package/jsx/core/Switch/Switch.styles.d.ts +0 -2
- package/jsx/core/Switch/Switch.styles.d.ts.map +0 -1
- package/jsx/core/Switch/Switch.styles.js +0 -13
- package/jsx/core/Switch/Switch.styles.js.map +0 -1
- package/jsx/core/Table/Table.mocks.d.ts +0 -25
- package/jsx/core/Table/Table.mocks.d.ts.map +0 -1
- package/jsx/core/Table/Table.mocks.jsx +0 -166
- package/jsx/core/Table/Table.mocks.jsx.map +0 -1
- package/jsx/core/Table/Table.stories.d.ts +0 -39
- package/jsx/core/Table/Table.stories.d.ts.map +0 -1
- package/jsx/core/Table/Table.stories.jsx +0 -178
- package/jsx/core/Table/Table.stories.jsx.map +0 -1
- package/jsx/core/Table/Table.styles.d.ts +0 -4
- package/jsx/core/Table/Table.styles.d.ts.map +0 -1
- package/jsx/core/Table/Table.styles.js +0 -9
- package/jsx/core/Table/Table.styles.js.map +0 -1
- package/jsx/core/Tabs/Tabs.mocks.d.ts +0 -6
- package/jsx/core/Tabs/Tabs.mocks.d.ts.map +0 -1
- package/jsx/core/Tabs/Tabs.mocks.jsx +0 -29
- package/jsx/core/Tabs/Tabs.mocks.jsx.map +0 -1
- package/jsx/core/Tabs/Tabs.stories.d.ts +0 -9
- package/jsx/core/Tabs/Tabs.stories.d.ts.map +0 -1
- package/jsx/core/Tabs/Tabs.stories.jsx +0 -51
- package/jsx/core/Tabs/Tabs.stories.jsx.map +0 -1
- package/jsx/core/Text/Text.stories.d.ts +0 -25
- package/jsx/core/Text/Text.stories.d.ts.map +0 -1
- package/jsx/core/Text/Text.stories.jsx +0 -134
- package/jsx/core/Text/Text.stories.jsx.map +0 -1
- package/jsx/core/TextArea/TextArea.stories.d.ts +0 -14
- package/jsx/core/TextArea/TextArea.stories.d.ts.map +0 -1
- package/jsx/core/TextArea/TextArea.stories.jsx +0 -71
- package/jsx/core/TextArea/TextArea.stories.jsx.map +0 -1
- package/jsx/core/Toaster/Toaster.stories.d.ts +0 -6
- package/jsx/core/Toaster/Toaster.stories.d.ts.map +0 -1
- package/jsx/core/Toaster/Toaster.stories.jsx +0 -45
- package/jsx/core/Toaster/Toaster.stories.jsx.map +0 -1
- package/jsx/core/Tooltip/Tooltip.stories.d.ts +0 -11
- package/jsx/core/Tooltip/Tooltip.stories.d.ts.map +0 -1
- package/jsx/core/Tooltip/Tooltip.stories.jsx +0 -66
- package/jsx/core/Tooltip/Tooltip.stories.jsx.map +0 -1
- package/jsx/core/Tooltip/Tooltip.styles.d.ts +0 -2
- package/jsx/core/Tooltip/Tooltip.styles.d.ts.map +0 -1
- package/jsx/core/Tooltip/Tooltip.styles.js +0 -23
- package/jsx/core/Tooltip/Tooltip.styles.js.map +0 -1
- package/jsx/core/Tree/Tree.mocks.d.ts +0 -2
- package/jsx/core/Tree/Tree.mocks.d.ts.map +0 -1
- package/jsx/core/Tree/Tree.mocks.js +0 -20
- package/jsx/core/Tree/Tree.mocks.js.map +0 -1
- package/jsx/core/Tree/Tree.stories.d.ts +0 -7
- package/jsx/core/Tree/Tree.stories.d.ts.map +0 -1
- package/jsx/core/Tree/Tree.stories.jsx +0 -95
- package/jsx/core/Tree/Tree.stories.jsx.map +0 -1
- package/jsx/core/Tree/Tree.styles.d.ts +0 -3
- package/jsx/core/Tree/Tree.styles.d.ts.map +0 -1
- package/jsx/core/Tree/Tree.styles.js +0 -10
- package/jsx/core/Tree/Tree.styles.js.map +0 -1
- package/jsx/core/URL/URL.stories.d.ts +0 -6
- package/jsx/core/URL/URL.stories.d.ts.map +0 -1
- package/jsx/core/URL/URL.stories.jsx +0 -17
- package/jsx/core/URL/URL.stories.jsx.map +0 -1
- package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts +0 -15
- package/jsx/dnd/DragDropList/DragDropList.mocks.d.ts.map +0 -1
- package/jsx/dnd/DragDropList/DragDropList.mocks.jsx +0 -33
- package/jsx/dnd/DragDropList/DragDropList.mocks.jsx.map +0 -1
- package/jsx/dnd/DragDropList/DragDropList.stories.d.ts +0 -10
- package/jsx/dnd/DragDropList/DragDropList.stories.d.ts.map +0 -1
- package/jsx/dnd/DragDropList/DragDropList.stories.jsx +0 -55
- package/jsx/dnd/DragDropList/DragDropList.stories.jsx.map +0 -1
- package/jsx/dnd/DragDropList/DragDropList.styles.d.ts +0 -6
- package/jsx/dnd/DragDropList/DragDropList.styles.d.ts.map +0 -1
- package/jsx/dnd/DragDropList/DragDropList.styles.js +0 -32
- package/jsx/dnd/DragDropList/DragDropList.styles.js.map +0 -1
- package/jsx/dnd/StandardDragDropList/Demo.d.ts +0 -13
- package/jsx/dnd/StandardDragDropList/Demo.d.ts.map +0 -1
- package/jsx/dnd/StandardDragDropList/Demo.jsx +0 -168
- package/jsx/dnd/StandardDragDropList/Demo.jsx.map +0 -1
- package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts +0 -10
- package/jsx/dnd/StandardDragDropList/GroupConfig.d.ts.map +0 -1
- package/jsx/dnd/StandardDragDropList/GroupConfig.jsx +0 -26
- package/jsx/dnd/StandardDragDropList/GroupConfig.jsx.map +0 -1
- package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts +0 -12
- package/jsx/dnd/StandardDragDropList/ItemConfig.d.ts.map +0 -1
- package/jsx/dnd/StandardDragDropList/ItemConfig.jsx +0 -21
- package/jsx/dnd/StandardDragDropList/ItemConfig.jsx.map +0 -1
- package/jsx/dnd/StandardDragDropList/Popover.d.ts +0 -14
- package/jsx/dnd/StandardDragDropList/Popover.d.ts.map +0 -1
- package/jsx/dnd/StandardDragDropList/Popover.jsx +0 -51
- package/jsx/dnd/StandardDragDropList/Popover.jsx.map +0 -1
- package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts +0 -17
- package/jsx/dnd/StandardDragDropList/SelectionMenu.d.ts.map +0 -1
- package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx +0 -104
- package/jsx/dnd/StandardDragDropList/SelectionMenu.jsx.map +0 -1
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +0 -9
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +0 -1
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx +0 -31
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx.map +0 -1
- package/jsx/dnd/StandardDragDropList/mockData.d.ts +0 -25
- package/jsx/dnd/StandardDragDropList/mockData.d.ts.map +0 -1
- package/jsx/dnd/StandardDragDropList/mockData.js +0 -67
- package/jsx/dnd/StandardDragDropList/mockData.js.map +0 -1
- package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +0 -8
- package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +0 -1
- package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx +0 -103
- package/jsx/rte/DynamicContentEditor/DynamicContentEditor.stories.jsx.map +0 -1
- package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts +0 -11
- package/jsx/rte/DynamicContentEditor/FieldSelector.d.ts.map +0 -1
- package/jsx/rte/DynamicContentEditor/FieldSelector.jsx +0 -82
- package/jsx/rte/DynamicContentEditor/FieldSelector.jsx.map +0 -1
- package/jsx/rte/Editor/Editor.mocks.d.ts +0 -334
- package/jsx/rte/Editor/Editor.mocks.d.ts.map +0 -1
- package/jsx/rte/Editor/Editor.mocks.jsx +0 -46
- package/jsx/rte/Editor/Editor.mocks.jsx.map +0 -1
- package/jsx/rte/Editor/Editor.stories.d.ts +0 -15
- package/jsx/rte/Editor/Editor.stories.d.ts.map +0 -1
- package/jsx/rte/Editor/Editor.stories.jsx +0 -197
- package/jsx/rte/Editor/Editor.stories.jsx.map +0 -1
- package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts +0 -3
- package/jsx/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +0 -1
- package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx +0 -34
- package/jsx/rte/RichTextEditor/RichTextEditor.mocks.jsx.map +0 -1
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts +0 -7
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +0 -1
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx +0 -108
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +0 -1
- package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts +0 -13
- package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +0 -1
- package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx +0 -155
- package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx.map +0 -1
- package/jsx/social/Chat/Chat.mocks.d.ts +0 -51
- package/jsx/social/Chat/Chat.mocks.d.ts.map +0 -1
- package/jsx/social/Chat/Chat.mocks.js +0 -756
- package/jsx/social/Chat/Chat.mocks.js.map +0 -1
- package/jsx/social/Chat/Chat.stories.d.ts +0 -57
- package/jsx/social/Chat/Chat.stories.d.ts.map +0 -1
- package/jsx/social/Chat/Chat.stories.jsx +0 -767
- package/jsx/social/Chat/Chat.stories.jsx.map +0 -1
- package/jsx/social/Email/Email.mocks.d.ts +0 -353
- package/jsx/social/Email/Email.mocks.d.ts.map +0 -1
- package/jsx/social/Email/Email.mocks.jsx +0 -1226
- package/jsx/social/Email/Email.mocks.jsx.map +0 -1
- package/jsx/social/Email/Email.stories.d.ts +0 -83
- package/jsx/social/Email/Email.stories.d.ts.map +0 -1
- package/jsx/social/Email/Email.stories.jsx +0 -1268
- package/jsx/social/Email/Email.stories.jsx.map +0 -1
- package/jsx/social/Email/Email.styles.d.ts +0 -3
- package/jsx/social/Email/Email.styles.d.ts.map +0 -1
- package/jsx/social/Email/Email.styles.js +0 -11
- package/jsx/social/Email/Email.styles.js.map +0 -1
- package/jsx/social/Feed/Feed.mocks.d.ts +0 -55
- package/jsx/social/Feed/Feed.mocks.d.ts.map +0 -1
- package/jsx/social/Feed/Feed.mocks.jsx +0 -433
- package/jsx/social/Feed/Feed.mocks.jsx.map +0 -1
- package/jsx/social/Feed/Feed.stories.d.ts +0 -11
- package/jsx/social/Feed/Feed.stories.d.ts.map +0 -1
- package/jsx/social/Feed/Feed.stories.jsx +0 -223
- package/jsx/social/Feed/Feed.stories.jsx.map +0 -1
- package/jsx/social/Feed/FeedNewPost.mocks.d.ts +0 -8
- package/jsx/social/Feed/FeedNewPost.mocks.d.ts.map +0 -1
- package/jsx/social/Feed/FeedNewPost.mocks.jsx +0 -72
- package/jsx/social/Feed/FeedNewPost.mocks.jsx.map +0 -1
- package/jsx/social/Feed/FeedPost.mocks.d.ts +0 -4
- package/jsx/social/Feed/FeedPost.mocks.d.ts.map +0 -1
- package/jsx/social/Feed/FeedPost.mocks.jsx +0 -192
- package/jsx/social/Feed/FeedPost.mocks.jsx.map +0 -1
- package/jsx/social/Feed/FeedReply.mocks.d.ts +0 -13
- package/jsx/social/Feed/FeedReply.mocks.d.ts.map +0 -1
- package/jsx/social/Feed/FeedReply.mocks.jsx +0 -83
- package/jsx/social/Feed/FeedReply.mocks.jsx.map +0 -1
- package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts +0 -6
- package/jsx/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +0 -1
- package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx +0 -30
- package/jsx/work/AppAnnouncement/AppAnnouncement.stories.jsx.map +0 -1
- package/jsx/work/Article/Article.mocks.d.ts +0 -18
- package/jsx/work/Article/Article.mocks.d.ts.map +0 -1
- package/jsx/work/Article/Article.mocks.js +0 -18
- package/jsx/work/Article/Article.mocks.js.map +0 -1
- package/jsx/work/Article/Article.stories.d.ts +0 -18
- package/jsx/work/Article/Article.stories.d.ts.map +0 -1
- package/jsx/work/Article/Article.stories.jsx +0 -272
- package/jsx/work/Article/Article.stories.jsx.map +0 -1
- package/jsx/work/ArticleList/ArticleBuddy.stories.d.ts +0 -12
- package/jsx/work/ArticleList/ArticleBuddy.stories.d.ts.map +0 -1
- package/jsx/work/ArticleList/ArticleBuddy.stories.jsx +0 -143
- package/jsx/work/ArticleList/ArticleBuddy.stories.jsx.map +0 -1
- package/jsx/work/ArticleList/ArticleList.mocks.d.ts +0 -223
- package/jsx/work/ArticleList/ArticleList.mocks.d.ts.map +0 -1
- package/jsx/work/ArticleList/ArticleList.mocks.js +0 -652
- package/jsx/work/ArticleList/ArticleList.mocks.js.map +0 -1
- package/jsx/work/ArticleList/ArticleList.stories.d.ts +0 -18
- package/jsx/work/ArticleList/ArticleList.stories.d.ts.map +0 -1
- package/jsx/work/ArticleList/ArticleList.stories.jsx +0 -882
- package/jsx/work/ArticleList/ArticleList.stories.jsx.map +0 -1
- package/jsx/work/Assignments/Assignments.stories.d.ts +0 -11
- package/jsx/work/Assignments/Assignments.stories.d.ts.map +0 -1
- package/jsx/work/Assignments/Assignments.stories.jsx +0 -64
- package/jsx/work/Assignments/Assignments.stories.jsx.map +0 -1
- package/jsx/work/CaseView/Attachments.mocks.d.ts +0 -3
- package/jsx/work/CaseView/Attachments.mocks.d.ts.map +0 -1
- package/jsx/work/CaseView/Attachments.mocks.jsx +0 -395
- package/jsx/work/CaseView/Attachments.mocks.jsx.map +0 -1
- package/jsx/work/CaseView/CaseView.mocks.d.ts +0 -121
- package/jsx/work/CaseView/CaseView.mocks.d.ts.map +0 -1
- package/jsx/work/CaseView/CaseView.mocks.jsx +0 -693
- package/jsx/work/CaseView/CaseView.mocks.jsx.map +0 -1
- package/jsx/work/CaseView/CaseView.stories.d.ts +0 -6
- package/jsx/work/CaseView/CaseView.stories.d.ts.map +0 -1
- package/jsx/work/CaseView/CaseView.stories.jsx +0 -65
- package/jsx/work/CaseView/CaseView.stories.jsx.map +0 -1
- package/jsx/work/CaseView/Details.mocks.d.ts +0 -3
- package/jsx/work/CaseView/Details.mocks.d.ts.map +0 -1
- package/jsx/work/CaseView/Details.mocks.jsx +0 -21
- package/jsx/work/CaseView/Details.mocks.jsx.map +0 -1
- package/jsx/work/CaseView/Pulse.mocks.d.ts +0 -7
- package/jsx/work/CaseView/Pulse.mocks.d.ts.map +0 -1
- package/jsx/work/CaseView/Pulse.mocks.jsx +0 -36
- package/jsx/work/CaseView/Pulse.mocks.jsx.map +0 -1
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +0 -45
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +0 -1
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx +0 -166
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.mocks.jsx.map +0 -1
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +0 -5
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +0 -1
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx +0 -24
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.stories.jsx.map +0 -1
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +0 -4
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +0 -1
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js +0 -11
- package/jsx/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +0 -1
- package/jsx/work/Confirmation/Confirmation.stories.d.ts +0 -13
- package/jsx/work/Confirmation/Confirmation.stories.d.ts.map +0 -1
- package/jsx/work/Confirmation/Confirmation.stories.jsx +0 -37
- package/jsx/work/Confirmation/Confirmation.stories.jsx.map +0 -1
- package/jsx/work/Confirmation/Confirmation.styles.d.ts +0 -2
- package/jsx/work/Confirmation/Confirmation.styles.d.ts.map +0 -1
- package/jsx/work/Confirmation/Confirmation.styles.js +0 -7
- package/jsx/work/Confirmation/Confirmation.styles.js.map +0 -1
- package/jsx/work/Details/Details.stories.d.ts +0 -10
- package/jsx/work/Details/Details.stories.d.ts.map +0 -1
- package/jsx/work/Details/Details.stories.jsx +0 -214
- package/jsx/work/Details/Details.stories.jsx.map +0 -1
- package/jsx/work/GenAICoach/GenAICoach.mocks.d.ts +0 -22
- package/jsx/work/GenAICoach/GenAICoach.mocks.d.ts.map +0 -1
- package/jsx/work/GenAICoach/GenAICoach.mocks.js +0 -124
- package/jsx/work/GenAICoach/GenAICoach.mocks.js.map +0 -1
- package/jsx/work/GenAICoach/GenAICoach.stories.d.ts +0 -19
- package/jsx/work/GenAICoach/GenAICoach.stories.d.ts.map +0 -1
- package/jsx/work/GenAICoach/GenAICoach.stories.jsx +0 -133
- package/jsx/work/GenAICoach/GenAICoach.stories.jsx.map +0 -1
- package/jsx/work/GenAICoach/useGenAICoach.d.ts +0 -5
- package/jsx/work/GenAICoach/useGenAICoach.d.ts.map +0 -1
- package/jsx/work/GenAICoach/useGenAICoach.js +0 -90
- package/jsx/work/GenAICoach/useGenAICoach.js.map +0 -1
- package/jsx/work/Glimpse/Glimpse.stories.d.ts +0 -5
- package/jsx/work/Glimpse/Glimpse.stories.d.ts.map +0 -1
- package/jsx/work/Glimpse/Glimpse.stories.jsx +0 -42
- package/jsx/work/Glimpse/Glimpse.stories.jsx.map +0 -1
- package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.mock.d.ts +0 -24
- package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.mock.d.ts.map +0 -1
- package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.mock.jsx +0 -558
- package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.mock.jsx.map +0 -1
- package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.stories.d.ts +0 -13
- package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.stories.d.ts.map +0 -1
- package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.stories.jsx +0 -134
- package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.stories.jsx.map +0 -1
- package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -5
- package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +0 -1
- package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx +0 -115
- package/jsx/work/IntelligentGuidance/IntelligentGuidance.stories.jsx.map +0 -1
- package/jsx/work/InteractionNotification/InteractionNotification.stories.d.ts +0 -12
- package/jsx/work/InteractionNotification/InteractionNotification.stories.d.ts.map +0 -1
- package/jsx/work/InteractionNotification/InteractionNotification.stories.jsx +0 -54
- package/jsx/work/InteractionNotification/InteractionNotification.stories.jsx.map +0 -1
- package/jsx/work/Predictions/Predictions.mocks.d.ts +0 -3
- package/jsx/work/Predictions/Predictions.mocks.d.ts.map +0 -1
- package/jsx/work/Predictions/Predictions.mocks.jsx +0 -18
- package/jsx/work/Predictions/Predictions.mocks.jsx.map +0 -1
- package/jsx/work/Predictions/Predictions.stories.d.ts +0 -5
- package/jsx/work/Predictions/Predictions.stories.d.ts.map +0 -1
- package/jsx/work/Predictions/Predictions.stories.jsx +0 -53
- package/jsx/work/Predictions/Predictions.stories.jsx.map +0 -1
- package/jsx/work/SearchResults/SearchResults.mocks.d.ts +0 -14
- package/jsx/work/SearchResults/SearchResults.mocks.d.ts.map +0 -1
- package/jsx/work/SearchResults/SearchResults.mocks.jsx +0 -97
- package/jsx/work/SearchResults/SearchResults.mocks.jsx.map +0 -1
- package/jsx/work/SearchResults/SearchResults.stories.d.ts +0 -9
- package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +0 -1
- package/jsx/work/SearchResults/SearchResults.stories.jsx +0 -242
- package/jsx/work/SearchResults/SearchResults.stories.jsx.map +0 -1
- package/jsx/work/SearchResults/SearchResults.styles.d.ts +0 -5
- package/jsx/work/SearchResults/SearchResults.styles.d.ts.map +0 -1
- package/jsx/work/SearchResults/SearchResults.styles.js +0 -12
- package/jsx/work/SearchResults/SearchResults.styles.js.map +0 -1
- package/jsx/work/Stages/Stages.mocks.d.ts +0 -14
- package/jsx/work/Stages/Stages.mocks.d.ts.map +0 -1
- package/jsx/work/Stages/Stages.mocks.jsx +0 -40
- package/jsx/work/Stages/Stages.mocks.jsx.map +0 -1
- package/jsx/work/Stages/Stages.stories.d.ts +0 -11
- package/jsx/work/Stages/Stages.stories.d.ts.map +0 -1
- package/jsx/work/Stages/Stages.stories.jsx +0 -48
- package/jsx/work/Stages/Stages.stories.jsx.map +0 -1
- package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts +0 -17
- package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +0 -1
- package/jsx/work/Stakeholders/Stakeholders.mocks.jsx +0 -36
- package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +0 -1
- package/jsx/work/Stakeholders/Stakeholders.stories.d.ts +0 -8
- package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +0 -1
- package/jsx/work/Stakeholders/Stakeholders.stories.jsx +0 -99
- package/jsx/work/Stakeholders/Stakeholders.stories.jsx.map +0 -1
- package/jsx/work/Tags/Tags.mocks.d.ts +0 -3
- package/jsx/work/Tags/Tags.mocks.d.ts.map +0 -1
- package/jsx/work/Tags/Tags.mocks.js +0 -76
- package/jsx/work/Tags/Tags.mocks.js.map +0 -1
- package/jsx/work/Tags/Tags.stories.d.ts +0 -10
- package/jsx/work/Tags/Tags.stories.d.ts.map +0 -1
- package/jsx/work/Tags/Tags.stories.jsx +0 -66
- package/jsx/work/Tags/Tags.stories.jsx.map +0 -1
- package/jsx/work/Tasks/TaskList.stories.d.ts +0 -5
- package/jsx/work/Tasks/TaskList.stories.d.ts.map +0 -1
- package/jsx/work/Tasks/TaskList.stories.jsx +0 -19
- package/jsx/work/Tasks/TaskList.stories.jsx.map +0 -1
- package/jsx/work/Tasks/Tasks.mocks.d.ts +0 -22
- package/jsx/work/Tasks/Tasks.mocks.d.ts.map +0 -1
- package/jsx/work/Tasks/Tasks.mocks.js +0 -51
- package/jsx/work/Tasks/Tasks.mocks.js.map +0 -1
- package/jsx/work/Tasks/Tasks.stories.d.ts +0 -15
- package/jsx/work/Tasks/Tasks.stories.d.ts.map +0 -1
- package/jsx/work/Tasks/Tasks.stories.jsx +0 -88
- package/jsx/work/Tasks/Tasks.stories.jsx.map +0 -1
- package/jsx/work/Timeline/Timeline.mocks.d.ts +0 -3
- package/jsx/work/Timeline/Timeline.mocks.d.ts.map +0 -1
- package/jsx/work/Timeline/Timeline.mocks.jsx +0 -151
- package/jsx/work/Timeline/Timeline.mocks.jsx.map +0 -1
- package/jsx/work/Timeline/Timeline.stories.d.ts +0 -11
- package/jsx/work/Timeline/Timeline.stories.d.ts.map +0 -1
- package/jsx/work/Timeline/Timeline.stories.jsx +0 -85
- package/jsx/work/Timeline/Timeline.stories.jsx.map +0 -1
- package/jsx/work/UtilitiesLayout/UtilitiesLayout.stories.d.ts +0 -12
- package/jsx/work/UtilitiesLayout/UtilitiesLayout.stories.d.ts.map +0 -1
- package/jsx/work/UtilitiesLayout/UtilitiesLayout.stories.jsx +0 -29
- package/jsx/work/UtilitiesLayout/UtilitiesLayout.stories.jsx.map +0 -1
- package/jsx/wss/AppShell/AppShell.mocks.d.ts +0 -24
- package/jsx/wss/AppShell/AppShell.mocks.d.ts.map +0 -1
- package/jsx/wss/AppShell/AppShell.mocks.jsx +0 -64
- package/jsx/wss/AppShell/AppShell.mocks.jsx.map +0 -1
- package/jsx/wss/AppShell/AppShell.stories.d.ts +0 -19
- package/jsx/wss/AppShell/AppShell.stories.d.ts.map +0 -1
- package/jsx/wss/AppShell/AppShell.stories.jsx +0 -96
- package/jsx/wss/AppShell/AppShell.stories.jsx.map +0 -1
- package/jsx/wss/AppShell/AppShell.styles.d.ts +0 -2
- package/jsx/wss/AppShell/AppShell.styles.d.ts.map +0 -1
- package/jsx/wss/AppShell/AppShell.styles.js +0 -5
- package/jsx/wss/AppShell/AppShell.styles.js.map +0 -1
- package/jsx/wss/CaseView/CaseView.mocks.d.ts +0 -13
- package/jsx/wss/CaseView/CaseView.mocks.d.ts.map +0 -1
- package/jsx/wss/CaseView/CaseView.mocks.jsx +0 -34
- package/jsx/wss/CaseView/CaseView.mocks.jsx.map +0 -1
- package/jsx/wss/CaseView/CaseView.stories.d.ts +0 -12
- package/jsx/wss/CaseView/CaseView.stories.d.ts.map +0 -1
- package/jsx/wss/CaseView/CaseView.stories.jsx +0 -74
- package/jsx/wss/CaseView/CaseView.stories.jsx.map +0 -1
- package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts +0 -16
- package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
- package/jsx/wss/PageTemplates/PageTemplates.stories.jsx +0 -47
- package/jsx/wss/PageTemplates/PageTemplates.stories.jsx.map +0 -1
- package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts +0 -11
- package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts.map +0 -1
- package/jsx/wss/QuickCreate/QuickCreate.stories.jsx +0 -28
- package/jsx/wss/QuickCreate/QuickCreate.stories.jsx.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArticleList.stories.jsx","sourceRoot":"","sources":["../../../src/work/ArticleList/ArticleList.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGlE,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,OAAO,EACL,SAAS,EACT,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,KAAK,EACN,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAA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AAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC9C,mBAAmB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACrD,oBAAoB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACtD,wBAAwB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC3D,CAAC","sourcesContent":["import { useCallback, useEffect, useMemo, useState } from 'react';\nimport type { ChangeEvent } from 'react';\nimport type { Meta, StoryFn } from '@storybook/react';\nimport { action } from '@storybook/addon-actions';\n\nimport {\n createUID,\n menuHelpers,\n registerIcon,\n escapeRegExp,\n HTML,\n Flex,\n Button,\n Count\n} from '@pega/cosmos-react-core';\nimport type { Action, MenuItemProps, MenuProps, OmitStrict } from '@pega/cosmos-react-core';\nimport * as thumbsUpSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/thumbs-up-solid.icon';\nimport * as thumbsDownSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/thumbs-down-solid.icon';\nimport * as bookOpen from '@pega/cosmos-react-core/lib/components/Icon/icons/book-open.icon';\nimport { ArticleList, ArticleSummary, ArticleListFilter } from '@pega/cosmos-react-work';\nimport type {\n ArticleSummaryProps,\n AIArticleSummaryProps,\n Articles,\n QuickFilter,\n ArticleBuddyProps,\n Reaction,\n BuddyResponseProps,\n BuddySuggestedArticlesProps,\n SemanticSearchArticles,\n AutoAnsweredItem,\n DetectedItem,\n ArticleProps\n} from '@pega/cosmos-react-work';\n\nimport { ArticleMockData } from '../Article/Article.mocks';\n\nimport {\n suggestedMock,\n followedMock,\n searchMock,\n ArticleBuddyMockData,\n searchSemanticArticles,\n semanticFilterOptions,\n BuddyListMockData\n} from './ArticleList.mocks';\n\nexport default {\n title: 'Work/ArticleList',\n component: ArticleList,\n subcomponents: { ArticleSummary, ArticleListFilter },\n parameters: {\n layout: 'fullscreen'\n }\n} as Meta;\n\nregisterIcon(thumbsUpSolidIcon, thumbsDownSolidIcon, bookOpen);\n\nexport interface ArticleListDemoProps {\n isSuggestArticleAction: boolean;\n showAction: boolean;\n showHeader: boolean;\n showHeaderIcon: boolean;\n showQuickFilters: boolean;\n showCount: boolean;\n showResults: boolean;\n showLoadMore: boolean;\n enableAISuggestions: boolean;\n enableSemanticSearch: boolean;\n enableVoiceAISuggestions: boolean;\n}\n\ntype MockArticles = ArticleSummaryProps & {\n isLiked: boolean;\n isFollowed: boolean;\n};\ntype MockBuddyArticles = OmitStrict<ArticleBuddyProps, 'query' | 'onSubmit' | 'onClear'>;\n\nexport const ArticleListDemo: StoryFn<ArticleListDemoProps> = (args: ArticleListDemoProps) => {\n const [searchVal, setSearchVal] = useState('');\n const [activeTab, setActiveTab] = useState('Suggested');\n const [loading, setLoading] = useState(false);\n const [categoryList, setCategoryList] = useState<MenuProps['items']>([]);\n const [sortBy, setSortBy] = useState<MenuProps['items']>([]);\n const [articles, setArticles] = useState<ArticleSummaryProps[]>([]);\n const [aiArticles, setAiArticles] = useState<AIArticleSummaryProps[]>();\n const [quickFilters, setQuickFilters] = useState<QuickFilter[]>([]);\n const [loadingMore, isSetLoadMore] = useState(false);\n const [hasMore, setHasMore] = useState(true);\n const [filterCategoryValue, setFilterCategoryValue] = useState('');\n const [buddyContent, setBuddyContent] = useState<BuddyResponseProps>();\n const [buddyLoader, setBuddyLoader] = useState(false);\n const [commentVal, setCommentVal] = useState('');\n const [buddyReaction, setBuddyReaction] = useState<Reaction>(undefined);\n const [showThankYouMessage, setShowThankYouMessage] = useState<boolean>(false);\n const [listResult, setListResult] = useState<BuddySuggestedArticlesProps>();\n const [fullList, setFullList] = useState<BuddySuggestedArticlesProps>();\n const [showMore, setShowMore] = useState(false);\n const [activeArticleByTab, setActiveArticleByTab] = useState<{\n [tab: string]: Articles['activeArticle'];\n }>({});\n\n const [semanticFilterList, setSemanticFilterList] =\n useState<MenuProps['items']>(semanticFilterOptions);\n const [initialMessage, setInitialMessage] = useState(true);\n\n const selectedSortByOption = useMemo(() => menuHelpers.getSelected(sortBy)[0], [sortBy]);\n\n const selectSortByOption = useCallback((id: MenuItemProps['id']) => {\n setSortBy(cur => menuHelpers.selectItem(cur, id, 'single-select'));\n }, []);\n\n const selectedCategory = useMemo(() => {\n return menuHelpers.getSelected(categoryList).map(item => ({ text: item.primary, id: item.id }));\n }, [categoryList]);\n\n const categoryListToRender = useMemo(() => {\n return menuHelpers.mapTree(categoryList, item => ({\n ...item,\n selected: !!item.selected\n }));\n }, [categoryList]);\n\n const toggleItem = (id: MenuItemProps['id']) => {\n setCategoryList(cur => menuHelpers.toggleSelected(cur, id, 'multi-select'));\n };\n\n const onReaction: Required<ArticleSummaryProps>['feedback']['onReaction'] = (\n articleId,\n reaction\n ) => {\n setArticles(prevArticles => {\n const itemIndex = prevArticles.findIndex(article => article?.articleId === articleId);\n const updatedData = [...prevArticles];\n if (itemIndex !== -1) {\n const currentItemFeedback = updatedData[itemIndex].feedback;\n if (currentItemFeedback) {\n const likeValue = currentItemFeedback?.likes || 0;\n const dislikeValue = currentItemFeedback?.dislikes || 0;\n\n if (!reaction) {\n if (currentItemFeedback.reaction === 'liked') {\n currentItemFeedback.likes = likeValue - 1;\n } else {\n currentItemFeedback.dislikes = dislikeValue - 1;\n }\n currentItemFeedback.reaction = undefined;\n }\n\n if (reaction === 'liked') {\n if (currentItemFeedback?.reaction === 'disliked') {\n currentItemFeedback.dislikes = dislikeValue - 1;\n }\n\n currentItemFeedback.likes = likeValue + 1;\n currentItemFeedback.reaction = 'liked';\n }\n\n if (reaction === 'disliked') {\n if (currentItemFeedback.reaction === 'liked') {\n currentItemFeedback.likes = likeValue - 1;\n }\n currentItemFeedback.dislikes = dislikeValue + 1;\n currentItemFeedback.reaction = 'disliked';\n }\n }\n }\n\n return updatedData;\n });\n };\n const openArticle = (\n id: ArticleSummaryProps['articleId'],\n tab: string,\n title: string,\n isBuddy: boolean = false\n ) => {\n let article: ArticleProps | BuddyResponseProps = {\n backNavigation: {\n title: 'Back to list',\n onClick: () => {\n setActiveArticleByTab(prev => {\n return { ...prev, [activeTab]: undefined };\n });\n }\n },\n title,\n content: <HTML content={ArticleBuddyMockData.content} />,\n references: buddyContent?.references,\n disclaimer: ArticleBuddyMockData.disclaimer\n };\n\n if (!isBuddy) {\n article = {\n articleId: id,\n backNavigation: {\n title: 'Back to list',\n onClick: () => {\n setActiveArticleByTab(prev => {\n return { ...prev, [activeTab]: undefined };\n });\n }\n },\n primaryActions: [\n {\n icon: 'star',\n label: 'Follow',\n id: createUID(),\n onClick: articleId => {\n action('Follow')(articleId);\n }\n },\n {\n icon: 'open',\n label: 'Open',\n id: createUID(),\n onClick: articleId => {\n action('Open')(articleId);\n }\n }\n ],\n secondaryActions: [\n {\n text: 'Send in email',\n id: 'action1',\n onClick: action('Action')\n },\n {\n text: 'Send in chat',\n id: 'action2',\n onClick: action('Action')\n }\n ],\n content: <HTML content={ArticleMockData.fullArticleContent.content} />,\n title,\n meta: {\n category: ArticleMockData.fullArticleContent.meta.category,\n publishedDate: ArticleMockData.fullArticleContent.meta.publishedDate\n },\n footer: {\n tags: {\n list: [\n {\n id: 'Retail banking',\n tagName: '#Retail_banking'\n },\n {\n id: 'Billing',\n tagName: '#Billing'\n },\n {\n id: '223444',\n tagName: '#CSR_Skills'\n },\n {\n id: '223446',\n tagName: '#Premium_Customers'\n },\n {\n id: '223447',\n tagName: '#Rare_Customers'\n },\n {\n id: '223448',\n tagName: '#Finance_Customers'\n }\n ],\n onTagClick: action('Tag clicked')\n },\n relatedLinks: [\n { title: 'Retail banking for beginners', href: 'https://pega.com' },\n { title: 'How to handle premium customers', href: 'https://pega.com' }\n ],\n relatedArticles: [\n {\n title: 'What are the implications of change in billing cycle',\n onClick: action('Related article'),\n id: createUID()\n },\n {\n title: 'What is the best billing cycle for premium customers',\n onClick: action('Related article'),\n id: createUID()\n },\n {\n title: 'How to enable automatic bill payment',\n onClick: action('Related article'),\n id: createUID()\n }\n ]\n },\n loading: false\n };\n }\n\n setActiveArticleByTab(prev => {\n return { ...prev, [tab]: article };\n });\n };\n\n const updateArticles = (mockArticles: MockArticles[]) => {\n const data = Object.values(mockArticles);\n return data.map(\n ({\n isLiked = false,\n isFollowed = false,\n articleId = '',\n title,\n href,\n abstract,\n meta,\n feedback,\n quickFilters: quickFilterTags\n }) => {\n const actionObj = [{ id: '1', text: 'Edit' }];\n if (isLiked) {\n actionObj.push({ id: '3', text: 'Dislike' });\n } else {\n actionObj.push({ id: '3', text: 'Like' });\n }\n if (isFollowed) {\n actionObj.push({ id: '4', text: 'Unfollow' });\n } else {\n actionObj.push({ id: '4', text: 'Follow' });\n }\n\n return {\n articleId,\n href,\n title,\n abstract,\n onTitleClick: () => {\n action('onTitleClick')(articleId);\n openArticle(articleId, activeTab, title);\n },\n actions: actionObj,\n meta,\n feedback,\n quickFilters:\n args.showQuickFilters && quickFilterTags?.length\n ? quickFilterTags?.map(obj => {\n return obj;\n })\n : []\n };\n }\n );\n };\n\n const fetchArticleContent: (activeTabName: string) => Promise<{\n articles: ArticleSummaryProps[];\n aiSuggestedArticles?: AIArticleSummaryProps[];\n category: MenuProps['items'];\n sortBy: MenuProps['items'];\n }> = activeTabName => {\n return new Promise(resolve => {\n let activeTabContent: any = null;\n\n if (!activeTabName || activeTabName === 'Search') activeTabContent = { ...searchMock };\n else if (activeTabName === 'Suggested') activeTabContent = { ...suggestedMock };\n else if (activeTabName === 'Followed') activeTabContent = { ...followedMock };\n\n setTimeout(() => {\n if (activeTabContent) {\n resolve({\n articles: updateArticles(activeTabContent.articles),\n aiSuggestedArticles: activeTabContent.aiSuggestions ?? undefined,\n category: activeTabContent.category || [],\n sortBy: activeTabContent.sortBy || []\n });\n }\n }, 500);\n });\n };\n\n searchMock.articles = searchMock.articles.map(article => {\n return {\n ...article,\n feedback: {\n ...article.feedback,\n id: article.articleId,\n onReaction\n }\n };\n });\n\n suggestedMock.articles = suggestedMock.articles.map(article => {\n return {\n ...article,\n feedback: {\n ...article.feedback,\n id: article.articleId,\n onReaction\n }\n };\n });\n\n followedMock.articles = followedMock.articles.map(article => {\n return {\n ...article,\n feedback: {\n ...article.feedback,\n id: article.articleId,\n onReaction\n }\n };\n });\n\n /** for buddy */\n const updateBuddyArticles = (mockBuddyArticle: MockBuddyArticles['response']) => {\n const actionItems = [\n { id: '1', text: 'Share' },\n { id: '2', text: 'Copy' }\n ];\n return {\n title: mockBuddyArticle?.title,\n content: mockBuddyArticle?.content,\n references: mockBuddyArticle?.references,\n disclaimer: mockBuddyArticle?.disclaimer,\n actions: actionItems\n };\n };\n const fetchBuddySearchResult: () => Promise<{\n data: BuddyResponseProps;\n }> = () => {\n return new Promise(resolve => {\n setTimeout(() => {\n resolve({\n data: updateBuddyArticles(ArticleBuddyMockData)\n });\n }, 1000);\n });\n };\n\n const getBuddyResults = async () => {\n setBuddyLoader(true);\n const res = await fetchBuddySearchResult();\n setBuddyContent(res.data);\n setBuddyLoader(false);\n };\n\n const buddyQuery: ArticleBuddyProps['query'] = {\n label: 'Ask Bubby',\n placeholder: 'Ask your question here...',\n value: searchVal,\n onChange: (e: ChangeEvent<HTMLTextAreaElement>) => setSearchVal(e.target.value),\n labelHidden: true\n };\n const feedbackParams: BuddyResponseProps['feedback'] = {\n comment: {\n labelHidden: true,\n placeholder: 'How can I improve...',\n value: commentVal,\n onChange: (e: ChangeEvent<HTMLTextAreaElement>) => setCommentVal(e.target.value)\n },\n question: args.enableSemanticSearch ? 'Was this search helpful?' : 'Was this helpful?',\n reaction: buddyReaction,\n onReaction: (reaction: Reaction) => {\n setBuddyReaction(reaction);\n },\n onSubmit: (response: { reaction: Reaction; comment: string }) => {\n action('onClick')(`action ${response.reaction} ${response.comment}`);\n setCommentVal('');\n setBuddyReaction(undefined);\n setShowThankYouMessage(true);\n },\n showThankYouMessage\n };\n\n const handleTabChange = (id: string) => {\n setArticles([]);\n setCategoryList([]);\n setLoading(true);\n fetchArticleContent(id).then(res => {\n setArticles(res.articles);\n setAiArticles(args.enableAISuggestions ? res.aiSuggestedArticles : undefined);\n setCategoryList(res.category);\n setSortBy(res.sortBy);\n setLoading(false);\n });\n\n setActiveTab(id);\n setSearchVal('');\n if (id !== 'Search') {\n setQuickFilters([]);\n }\n };\n\n useEffect(() => {\n setLoading(true);\n fetchArticleContent(activeTab).then(res => {\n setLoading(false);\n setArticles(res.articles);\n setAiArticles(args.enableAISuggestions ? res.aiSuggestedArticles : undefined);\n });\n }, [activeTab, args.enableAISuggestions]);\n\n const filterRegex = useMemo(() => escapeRegExp(filterCategoryValue), [filterCategoryValue]);\n\n const categoryProps: Articles['category'] = {\n label: 'Category',\n placeholder: 'Select categories',\n onChange: e => {\n setFilterCategoryValue(e.target.value);\n },\n value: filterCategoryValue,\n mode: 'multi-select',\n selected: {\n items: selectedCategory\n },\n menu: {\n items: filterCategoryValue\n ? menuHelpers.flatten(categoryList).filter(({ primary }: MenuItemProps) => {\n return filterRegex.toLowerCase().includes(primary.toLowerCase());\n })\n : categoryListToRender,\n onItemClick: toggleItem\n }\n };\n\n const sortByProps: Articles['sortBy'] = {\n label: 'Sort by',\n placeholder: 'Select sort by',\n selected: selectedSortByOption\n ? {\n items: {\n id: selectedSortByOption.id,\n text: selectedSortByOption.primary\n }\n }\n : undefined,\n menu: {\n items: sortBy,\n onItemClick: selectSortByOption\n }\n };\n const [searchFilter, setSearchFilter] = useState<MenuProps['items']>(\n ['Buddy 1- taking care of customer operations', 'Buddy 2', 'Buddy 3'].map(name => ({\n id: name,\n primary: name\n }))\n );\n const selectedFilter = useMemo(() => {\n const selected = menuHelpers.getSelected(searchFilter)[0];\n return selected ? selected.primary : 'Select buddy';\n }, [searchFilter]);\n\n const itemsToRender = useMemo(() => {\n return menuHelpers.mapTree(searchFilter, item => {\n return {\n ...item\n };\n });\n }, [searchFilter]);\n\n const searchOptions: Articles['searchInput'] = {\n placeholder: 'Search article',\n value: searchVal,\n onSearchChange: (val: string) => {\n setSearchVal(val);\n },\n onSearchSubmit: (val: string) => {\n setInitialMessage(false);\n return val;\n },\n searchFilter: {\n text: selectedFilter,\n variant: 'text',\n menu: {\n items: itemsToRender,\n mode: 'single-select',\n onItemClick: (id: MenuItemProps['id']) => {\n setSearchFilter(cur => menuHelpers.toggleSelected(cur, id, 'single-select'));\n }\n }\n },\n filterInfo:\n selectedFilter !== 'Select buddy'\n ? {\n title: selectedFilter,\n description: 'This gives information on filter selected'\n }\n : undefined\n };\n\n const actionOptions = [\n {\n id: '1',\n text: 'Action 1',\n onClick: (id: string) => action('onClick')(`action ${id}`)\n },\n {\n id: '2',\n text: 'Action 2',\n onClick: (id: string) => action('onClick')(`action ${id}`)\n },\n {\n id: '3',\n text: 'Action 3',\n onClick: (id: string) => action('onClick')(`action ${id}`)\n }\n ];\n\n const suggestNewArticleAction: Action = {\n id: 'Suggest action',\n text: 'Suggest action',\n onClick: (id: string) => action('onClick')(id),\n icon: 'plus'\n };\n\n let actions;\n if (args.showAction) {\n if (args.isSuggestArticleAction) {\n actions = [suggestNewArticleAction];\n } else {\n actions = actionOptions;\n }\n }\n const handleClearClick = () => {\n setQuickFilters([]);\n setSearchVal('');\n setCategoryList(curr => {\n return curr?.map(categoryListItem => {\n return {\n ...categoryListItem,\n selected: false\n };\n });\n });\n setSortBy(curr => {\n return curr?.map(sortByListItem => {\n return {\n ...sortByListItem,\n selected: false\n };\n });\n });\n };\n\n let timeoutId: ReturnType<typeof setTimeout>;\n const stopTimeout = () => {\n clearTimeout(timeoutId);\n };\n\n const onLoadMore = useCallback(() => {\n if (!loading && !loadingMore && activeTab) {\n isSetLoadMore(true);\n setLoading(false);\n timeoutId = setTimeout(() => {\n isSetLoadMore(false);\n setLoading(false);\n setHasMore(true);\n setArticles(prevArticles => [\n ...prevArticles,\n {\n articleId: createUID(),\n title: 'Last article alert!!!',\n href: 'design.pega.com',\n abstract:\n 'Last article alert. This is the last article , hence the last index to be noted. This will be appended at the end of the list',\n meta: {\n category: 'Retail',\n publishedDate: '2023-04-06'\n },\n feedback: {\n articleId: createUID(),\n likes: 20,\n dislikes: 80,\n liked: true,\n disliked: false,\n onReaction: () => {}\n },\n isFollowed: false,\n isLiked: true,\n quickFilters: [\n { id: '1', name: 'insurance' },\n { id: '2', name: 'policy' }\n ]\n }\n ]);\n }, 3000);\n }\n }, [loading, loadingMore, activeTab]);\n\n useEffect(() => {\n return () => stopTimeout();\n }, []);\n\n const onQuickFilterClick = (quickFilterParam: QuickFilter) => {\n handleTabChange('Search');\n setQuickFilters([...quickFilters, quickFilterParam]);\n setSemanticFilterList(cur =>\n menuHelpers.toggleSelected(cur, quickFilterParam.id, 'multi-select')\n );\n };\n\n const updateSematicResults = searchSemanticArticles.map(article => ({\n ...article,\n onQuickFilterClick\n }));\n\n const sematicFilterItems = useMemo(() => {\n return menuHelpers.mapTree(semanticFilterList, item => {\n let selectable = false;\n\n if (!item.items) {\n selectable = true;\n }\n\n return {\n ...item,\n visual: undefined,\n count: item.items ? item.items.length : undefined,\n secondary: undefined,\n selected: selectable ? !!item.selected : undefined,\n tooltip: undefined\n };\n });\n }, [semanticFilterList]);\n\n const selections = useMemo(\n () => menuHelpers.getSelected(semanticFilterList),\n [semanticFilterList]\n );\n\n const semanticFilterProps: SemanticSearchArticles['semanticFilter'] = {\n id: 'sematic-filter',\n listId: 'sematic-filter-list',\n items: sematicFilterItems,\n mode: 'multi-select',\n role: 'listbox',\n emptyText: 'No items found.',\n onItemClick: (selectedItemId: string | undefined) => {\n if (selectedItemId)\n setSemanticFilterList(cur =>\n menuHelpers.toggleSelected(cur, selectedItemId, 'multi-select')\n );\n },\n footer: (\n <Flex container={{ justify: 'between' }}>\n <Button\n onClick={() => {\n action('clear');\n }}\n >\n Clear\n </Button>\n\n <Button\n variant='primary'\n onClick={() => {\n handleTabChange('Search');\n const filters = selections.map(item => {\n return {\n id: item.id,\n name: item.primary\n };\n });\n setQuickFilters(filters);\n }}\n >\n Add\n <> {selections && selections.length > 0 && <Count>{selections.length}</Count>}</>\n </Button>\n </Flex>\n )\n };\n\n const searchCommonProps = {\n count: args.showCount ? searchMock.count : undefined,\n\n searchInput: searchOptions,\n category: categoryProps,\n sortBy: sortByProps,\n onClearClick: handleClearClick,\n quickFilters,\n handleQuickFilterRemove: (id: string) => {\n setQuickFilters(quickFilters.filter(item => item.id !== id));\n if (activeTab === 'Search' && args.enableSemanticSearch) {\n setSemanticFilterList(cur => menuHelpers.toggleSelected(cur, id, 'multi-select'));\n }\n },\n showResults: args.showResults\n };\n\n const semanticSearchProps = {\n ...searchCommonProps,\n semanticSearch: true,\n semanticFilter: semanticFilterProps,\n articles: updateSematicResults,\n feedback: feedbackParams,\n error: false,\n initialMessage,\n activeArticle: activeArticleByTab.Search\n };\n\n const nonSemanticSearch = {\n ...searchCommonProps,\n articles: articles.map(article => {\n if (\n !article.feedback ||\n article.feedback.likes === undefined ||\n article.feedback.dislikes === undefined\n ) {\n return article;\n }\n\n const likesValue =\n (article.feedback?.likes ?? 0 * 100) / article.feedback.likes + article.feedback.dislikes;\n const disLikeValue =\n (article.feedback.dislikes ?? 0 * 100) / article.feedback.likes + article.feedback.dislikes;\n return {\n ...article,\n feedback: {\n ...article.feedback,\n likes: likesValue,\n\n dislikes: disLikeValue\n }\n };\n }),\n activeArticle: activeArticleByTab.Search\n };\n\n const onNotRelevant = (id: string) => {\n setListResult(prev => ({\n ...prev,\n detected: prev?.detected?.filter(item => item.id !== id)\n }));\n };\n\n const updateBuddyList = (mockBuddyList: BuddySuggestedArticlesProps) => {\n const updatedAutoAnsweredList = mockBuddyList?.autoAnswered\n ? mockBuddyList?.autoAnswered.map(item => ({\n ...item,\n onTitleClick: (id: string) => {\n action('onTitleClick')(id);\n openArticle(id, activeTab, item.query, true);\n }\n }))\n : [];\n\n const updateDetectedList = mockBuddyList?.detected\n ? mockBuddyList?.detected.map(item => ({\n ...item,\n actions: [\n {\n id: '1',\n text: 'Edit',\n onClick: () => {\n action('onEdit');\n }\n },\n {\n id: '2',\n text: 'Not relevant',\n onClick: () => {\n onNotRelevant(item.id);\n }\n }\n ],\n onTitleClick: (id: string) => {\n action('onTitleClick')(id);\n handleTabChange('Buddy');\n setSearchVal(item.query);\n }\n }))\n : [];\n\n return {\n autoAnswered: updatedAutoAnsweredList,\n detected: updateDetectedList,\n pastQuestions: mockBuddyList?.pastQuestions,\n notRelevantQuestions: mockBuddyList?.notRelevantQuestions\n };\n };\n\n const fetchListResult: () => Promise<{\n data: BuddySuggestedArticlesProps;\n }> = () => {\n return new Promise(resolve => {\n setTimeout(() => {\n resolve({\n data: updateBuddyList(BuddyListMockData)\n });\n }, 1000);\n });\n };\n\n const loadInitial = (\n autoAnsweredList: AutoAnsweredItem[],\n detectedList: DetectedItem[],\n pastQuestionsList: string[],\n notRelevantList: string[]\n ) => {\n const limit = 3;\n const result: any = {};\n\n // Check if autoAnswered array has enough items\n if (autoAnsweredList?.length >= limit) {\n result.autoAnswered = autoAnsweredList.slice(0, limit);\n } else {\n result.autoAnswered = autoAnsweredList;\n // Calculate remaining space based on autoAnswered items\n const remainingSpace = limit - (autoAnsweredList?.length || 0);\n\n // Check if detected array has enough items to fill the remaining space\n if (detectedList && detectedList?.length >= remainingSpace) {\n result.detected = detectedList.slice(0, remainingSpace);\n } else {\n result.detected = detectedList;\n }\n }\n if (pastQuestionsList && notRelevantList) {\n action('more content to show');\n }\n\n return result;\n };\n\n const getBuddyList = async () => {\n setLoading(true);\n const res = await fetchListResult();\n setFullList(res.data);\n setListResult(\n loadInitial(\n res?.data?.autoAnswered ?? [],\n res?.data?.detected ?? [],\n res?.data?.pastQuestions ?? [],\n res?.data?.notRelevantQuestions ?? []\n )\n );\n setLoading(false);\n };\n\n useEffect(() => {\n if (args.enableVoiceAISuggestions) {\n getBuddyList();\n }\n }, [args.enableVoiceAISuggestions]);\n\n useEffect(() => {\n if (showMore) {\n setListResult(fullList);\n } else {\n setListResult(\n loadInitial(\n listResult?.autoAnswered ?? [],\n listResult?.detected ?? [],\n listResult?.pastQuestions ?? [],\n listResult?.notRelevantQuestions ?? []\n )\n );\n }\n }, [showMore]);\n\n return (\n <div\n style={{\n width: '25rem',\n margin: ' 0 0.2rem 0'\n }}\n >\n <ArticleList\n header={\n args.showHeader\n ? {\n title: 'Knowledge articles',\n icon: args.showHeaderIcon ? 'book-open' : '',\n actions\n }\n : undefined\n }\n activeTab={activeTab}\n onTabClick={handleTabChange}\n skeletonize={false}\n suggested={{\n count: args.showCount ? suggestedMock.count : undefined,\n articles: args.enableVoiceAISuggestions\n ? {\n ...listResult,\n showMore,\n onShowMoreToggle: () => {\n setShowMore(!showMore);\n }\n }\n : articles.map(article => {\n if (\n !article.feedback ||\n article.feedback.likes === undefined ||\n article.feedback.dislikes === undefined\n ) {\n return article;\n }\n\n const likesValue =\n (article.feedback?.likes ?? 0 * 100) / article.feedback.likes +\n article.feedback.dislikes;\n const disLikeValue =\n (article.feedback.dislikes ?? 0 * 100) / article.feedback.likes +\n article.feedback.dislikes;\n return {\n ...article,\n feedback: {\n ...article.feedback,\n likes: likesValue,\n\n dislikes: disLikeValue\n }\n };\n }),\n\n aiSuggestedArticles: args.enableVoiceAISuggestions ? undefined : aiArticles,\n activeArticle: activeArticleByTab.Suggested\n }}\n followed={{\n count: args.showCount ? followedMock.count : undefined,\n articles: articles.map(article => {\n if (\n !article.feedback ||\n article.feedback.likes === undefined ||\n article.feedback.dislikes === undefined\n ) {\n return article;\n }\n\n const likesValue =\n (article.feedback?.likes ?? 0 * 100) / article.feedback.likes +\n article.feedback.dislikes;\n const disLikeValue =\n (article.feedback.dislikes ?? 0 * 100) / article.feedback.likes +\n article.feedback.dislikes;\n return {\n ...article,\n feedback: {\n ...article.feedback,\n likes: likesValue,\n\n dislikes: disLikeValue\n }\n };\n }),\n searchInput: searchOptions,\n category: categoryProps,\n sortBy: sortByProps,\n onClearClick: handleClearClick,\n showResults: args.showResults,\n activeArticle: activeArticleByTab.Followed\n }}\n search={args.enableSemanticSearch ? semanticSearchProps : nonSemanticSearch}\n buddy={{\n title: 'Ask buddy',\n content: {\n query: buddyQuery,\n onSubmit: getBuddyResults,\n onClear: () => {\n setSearchVal('');\n },\n loading: buddyLoader,\n response: {\n title: buddyContent?.title ?? '',\n actions: buddyContent?.actions ?? [],\n content: buddyContent?.content ? (\n <HTML content={ArticleBuddyMockData.content} />\n ) : (\n buddyContent?.content\n ),\n references: buddyContent?.references,\n feedback: feedbackParams,\n disclaimer: ArticleBuddyMockData.disclaimer\n }\n }\n }}\n onQuickFilterClick={(quickFilterParam: QuickFilter) => {\n handleTabChange('Search');\n setQuickFilters([...quickFilters, quickFilterParam]);\n }}\n loading={loading}\n loadingMore={loadingMore}\n onLoadMore={args.showLoadMore && hasMore ? onLoadMore : undefined}\n />\n </div>\n );\n};\n\nArticleListDemo.args = {\n isSuggestArticleAction: true,\n showAction: true,\n showHeader: true,\n showHeaderIcon: true,\n showQuickFilters: true,\n showCount: true,\n showResults: true,\n showLoadMore: false,\n enableAISuggestions: true,\n enableSemanticSearch: true,\n enableVoiceAISuggestions: true\n};\n\nArticleListDemo.argTypes = {\n isSuggestArticleAction: { control: { type: 'boolean' } },\n showAction: { control: { type: 'boolean' } },\n showHeader: { control: { type: 'boolean' } },\n showHeaderIcon: { control: { type: 'boolean' } },\n showQuickFilters: { control: { type: 'boolean' } },\n showCount: { control: { type: 'boolean' } },\n showResults: { control: { type: 'boolean' } },\n showLoadMore: { control: { type: 'boolean' } },\n enableAISuggestions: { control: { type: 'boolean' } },\n enableSemanticSearch: { control: { type: 'boolean' } },\n enableVoiceAISuggestions: { control: { type: 'boolean' } }\n};\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { StoryFn } from '@storybook/react';
|
|
2
|
-
import type { AssignmentsProps } from '@pega/cosmos-react-work';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/dist/types-a5624094").ReactRenderer, import("@storybook/csf").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
interface AssignmentsStoryProps {
|
|
6
|
-
collapsed?: boolean;
|
|
7
|
-
count?: AssignmentsProps['count'];
|
|
8
|
-
openableTasks?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const AssignmentsDemo: StoryFn<AssignmentsStoryProps>;
|
|
11
|
-
//# sourceMappingURL=Assignments.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Assignments.stories.d.ts","sourceRoot":"","sources":["../../../src/work/Assignments/Assignments.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAItD,OAAO,KAAK,EAAE,gBAAgB,EAAiB,MAAM,yBAAyB,CAAC;;AAK/E,wBAGU;AAEV,UAAU,qBAAqB;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAClC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,eAAe,EAAE,OAAO,CAAC,qBAAqB,CAqE1D,CAAC"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { useState } from 'react';
|
|
2
|
-
import { MetaList, Text, Link, DateTimeDisplay, Avatar } from '@pega/cosmos-react-core';
|
|
3
|
-
import { Assignments, tasksHelpers as helpers } from '@pega/cosmos-react-work';
|
|
4
|
-
import { AIButtonFormDemo } from '../../core/AIButton/AIButton.stories';
|
|
5
|
-
import viewGroups from '../Tasks/Tasks.mocks';
|
|
6
|
-
export default {
|
|
7
|
-
title: 'Work/Assignments',
|
|
8
|
-
component: Assignments
|
|
9
|
-
};
|
|
10
|
-
export const AssignmentsDemo = (args) => {
|
|
11
|
-
const [hasOpenTask, setHasOpenTask] = useState(false);
|
|
12
|
-
const [open, setOpen] = useState(true);
|
|
13
|
-
const activeView = helpers.getSelectedView(viewGroups);
|
|
14
|
-
const activeViewTaskCount = args.count ?? activeView?.count ?? 0;
|
|
15
|
-
const taskArray = Array.from({
|
|
16
|
-
length: args.count ?? activeViewTaskCount
|
|
17
|
-
}, (_, i) => {
|
|
18
|
-
const dueIn = 86400000 * i;
|
|
19
|
-
return {
|
|
20
|
-
id: `${i}`,
|
|
21
|
-
name: `Task ${i + 1}`,
|
|
22
|
-
processName: i % 2 ? 'Demo process' : undefined,
|
|
23
|
-
avatar: <Avatar name='James Gregory'/>,
|
|
24
|
-
meta: (<MetaList items={[
|
|
25
|
-
<Text variant='secondary'>
|
|
26
|
-
Due <DateTimeDisplay variant='relative' value={Date.now() + dueIn}/>
|
|
27
|
-
</Text>,
|
|
28
|
-
<Link href='#demo'>Parent case link</Link>
|
|
29
|
-
]}/>),
|
|
30
|
-
additionalActions: [
|
|
31
|
-
{
|
|
32
|
-
id: '1',
|
|
33
|
-
text: 'Action 1'
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
id: '2',
|
|
37
|
-
text: 'Action 2'
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
onOpen: args.openableTasks !== false
|
|
41
|
-
? () => {
|
|
42
|
-
setHasOpenTask(true);
|
|
43
|
-
}
|
|
44
|
-
: undefined,
|
|
45
|
-
content: hasOpenTask ? (<AIButtonFormDemo onCancel={() => setHasOpenTask(false)} onSubmit={() => setHasOpenTask(false)}/>) : null
|
|
46
|
-
};
|
|
47
|
-
});
|
|
48
|
-
return (<Assignments count={activeViewTaskCount} items={taskArray} collapsed={args.collapsed !== false ? open : undefined} onToggleCollapsed={args.collapsed !== false
|
|
49
|
-
? () => {
|
|
50
|
-
setOpen(cur => !cur);
|
|
51
|
-
}
|
|
52
|
-
: undefined}/>);
|
|
53
|
-
};
|
|
54
|
-
AssignmentsDemo.args = {
|
|
55
|
-
openableTasks: true,
|
|
56
|
-
count: undefined,
|
|
57
|
-
collapsed: true
|
|
58
|
-
};
|
|
59
|
-
AssignmentsDemo.argTypes = {
|
|
60
|
-
count: { control: { type: 'number' } },
|
|
61
|
-
openableTasks: { control: { type: 'boolean' } },
|
|
62
|
-
collapsed: { control: { type: 'boolean' } }
|
|
63
|
-
};
|
|
64
|
-
//# sourceMappingURL=Assignments.stories.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Assignments.stories.jsx","sourceRoot":"","sources":["../../../src/work/Assignments/Assignments.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,YAAY,IAAI,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAG/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAE9C,eAAe;IACb,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE,WAAW;CACf,CAAC;AAQV,MAAM,CAAC,MAAM,eAAe,GAAmC,CAAC,IAA2B,EAAE,EAAE;IAC7F,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEvC,MAAM,UAAU,GAAG,OAAO,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;IACvD,MAAM,mBAAmB,GAAG,IAAI,CAAC,KAAK,IAAI,UAAU,EAAE,KAAK,IAAI,CAAC,CAAC;IAEjE,MAAM,SAAS,GAAoB,KAAK,CAAC,IAAI,CAC3C;QACE,MAAM,EAAE,IAAI,CAAC,KAAK,IAAI,mBAAmB;KAC1C,EACD,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QACP,MAAM,KAAK,GAAG,QAAQ,GAAG,CAAC,CAAC;QAE3B,OAAO;YACL,EAAE,EAAE,GAAG,CAAC,EAAE;YACV,IAAI,EAAE,QAAQ,CAAC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,KAAK,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CACvD,iBAAiB,CAAC,CAChB,IAAI,CAAC,SAAS,KAAK,KAAK;YACtB,CAAC,CAAC,GAAG,EAAE;gBACH,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC;YACvB,CAAC;YACH,CAAC,CAAC,SAAS,CACd,EACD,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,CAAC,IAAI,GAAG;IACrB,aAAa,EAAE,IAAI;IACnB,KAAK,EAAE,SAAS;IAChB,SAAS,EAAE,IAAI;CAChB,CAAC;AAEF,eAAe,CAAC,QAAQ,GAAG;IACzB,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACtC,aAAa,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC/C,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;CAC5C,CAAC","sourcesContent":["import { useState } from 'react';\nimport type { Meta, StoryFn } from '@storybook/react';\n\nimport { MetaList, Text, Link, DateTimeDisplay, Avatar } from '@pega/cosmos-react-core';\nimport { Assignments, tasksHelpers as helpers } from '@pega/cosmos-react-work';\nimport type { AssignmentsProps, TaskItemProps } from '@pega/cosmos-react-work';\n\nimport { AIButtonFormDemo } from '../../core/AIButton/AIButton.stories';\nimport viewGroups from '../Tasks/Tasks.mocks';\n\nexport default {\n title: 'Work/Assignments',\n component: Assignments\n} as Meta;\n\ninterface AssignmentsStoryProps {\n collapsed?: boolean;\n count?: AssignmentsProps['count'];\n openableTasks?: boolean;\n}\n\nexport const AssignmentsDemo: StoryFn<AssignmentsStoryProps> = (args: AssignmentsStoryProps) => {\n const [hasOpenTask, setHasOpenTask] = useState(false);\n const [open, setOpen] = useState(true);\n\n const activeView = helpers.getSelectedView(viewGroups);\n const activeViewTaskCount = args.count ?? activeView?.count ?? 0;\n\n const taskArray: TaskItemProps[] = Array.from(\n {\n length: args.count ?? activeViewTaskCount\n },\n (_, i) => {\n const dueIn = 86400000 * i;\n\n return {\n id: `${i}`,\n name: `Task ${i + 1}`,\n processName: i % 2 ? 'Demo process' : undefined,\n avatar: <Avatar name='James Gregory' />,\n meta: (\n <MetaList\n items={[\n <Text variant='secondary'>\n Due <DateTimeDisplay variant='relative' value={Date.now() + dueIn} />\n </Text>,\n <Link href='#demo'>Parent case link</Link>\n ]}\n />\n ),\n additionalActions: [\n {\n id: '1',\n text: 'Action 1'\n },\n {\n id: '2',\n text: 'Action 2'\n }\n ],\n onOpen:\n args.openableTasks !== false\n ? () => {\n setHasOpenTask(true);\n }\n : undefined,\n content: hasOpenTask ? (\n <AIButtonFormDemo\n onCancel={() => setHasOpenTask(false)}\n onSubmit={() => setHasOpenTask(false)}\n />\n ) : null\n };\n }\n );\n\n return (\n <Assignments\n count={activeViewTaskCount}\n items={taskArray}\n collapsed={args.collapsed !== false ? open : undefined}\n onToggleCollapsed={\n args.collapsed !== false\n ? () => {\n setOpen(cur => !cur);\n }\n : undefined\n }\n />\n );\n};\n\nAssignmentsDemo.args = {\n openableTasks: true,\n count: undefined,\n collapsed: true\n};\n\nAssignmentsDemo.argTypes = {\n count: { control: { type: 'number' } },\n openableTasks: { control: { type: 'boolean' } },\n collapsed: { control: { type: 'boolean' } }\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Attachments.mocks.d.ts","sourceRoot":"","sources":["../../../src/work/CaseView/Attachments.mocks.tsx"],"names":[],"mappings":";AAkfA,eAAO,MAAM,eAAe,mCAkI3B,CAAC"}
|
|
@@ -1,395 +0,0 @@
|
|
|
1
|
-
import { useState, useCallback, useContext, useEffect, useRef, useMemo, forwardRef } from 'react';
|
|
2
|
-
import { Button, FileInput, FileVisual, Progress, Modal, Text, SummaryList, ViewAll, getKindFromMimeType, getMimeTypeFromFile, Flex, Input, ComboBox, createUID, useModalManager, useModalContext, useToaster, DateTimeDisplay, MetaList, FormDialog } from '@pega/cosmos-react-core';
|
|
3
|
-
import { loadingTimeoutMS } from '../../core/Progress/Progress.mocks';
|
|
4
|
-
import { FileServiceContext, mockAttachmentListRequest, mockCategories } from '../../core/File/FileService.mock';
|
|
5
|
-
const getSummaryListItemProps = ({ ref, file, editFile, cancelFile, deleteFile }) => {
|
|
6
|
-
let actions;
|
|
7
|
-
let visual;
|
|
8
|
-
if ('progress' in file && typeof file.progress === 'number' && file.progress < 100) {
|
|
9
|
-
visual = <Progress value={file.progress} placement='inline' variant='ring'/>;
|
|
10
|
-
actions = [
|
|
11
|
-
{
|
|
12
|
-
id: 'Cancel',
|
|
13
|
-
text: 'Cancel',
|
|
14
|
-
icon: 'times',
|
|
15
|
-
onClick: () => {
|
|
16
|
-
cancelFile(file.id);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
];
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
visual = (<FileVisual type={getKindFromMimeType(getMimeTypeFromFile(file.name) ?? '')} thumbnail={file.thumbnail}/>);
|
|
23
|
-
actions = [
|
|
24
|
-
{
|
|
25
|
-
id: 'Edit',
|
|
26
|
-
text: 'Edit',
|
|
27
|
-
icon: 'pencil',
|
|
28
|
-
onClick: () => {
|
|
29
|
-
editFile?.(file);
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
id: 'Download',
|
|
34
|
-
text: 'Download',
|
|
35
|
-
icon: 'download',
|
|
36
|
-
onClick: () => { }
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
id: 'Delete',
|
|
40
|
-
text: 'Delete',
|
|
41
|
-
icon: 'trash',
|
|
42
|
-
onClick: () => {
|
|
43
|
-
deleteFile(file.id);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
];
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
ref,
|
|
50
|
-
id: file.id,
|
|
51
|
-
visual,
|
|
52
|
-
primary: file.name,
|
|
53
|
-
contextualLabel: file.name,
|
|
54
|
-
secondary: (<Text variant='secondary'>
|
|
55
|
-
{'progress' in file && typeof file.progress === 'number' && file.progress < 100 ? (`Uploading…${Math.floor(file.progress)}%`) : (<MetaList items={[
|
|
56
|
-
file.category,
|
|
57
|
-
<>
|
|
58
|
-
Uploaded{' '}
|
|
59
|
-
<DateTimeDisplay variant='relative' value={file.createDate}/>
|
|
60
|
-
</>
|
|
61
|
-
]}/>)}
|
|
62
|
-
</Text>),
|
|
63
|
-
actions
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
const EditDialog = forwardRef(function EditDialog({ file, target, onSubmit, onCancel }, ref) {
|
|
67
|
-
const [name, setName] = useState(file.name);
|
|
68
|
-
const [error, setError] = useState('');
|
|
69
|
-
const [loading, setLoading] = useState(false);
|
|
70
|
-
const [categories, setCategories] = useState(() => {
|
|
71
|
-
return [
|
|
72
|
-
{ id: createUID(), primary: 'No category', selected: false },
|
|
73
|
-
...mockCategories.map(category => {
|
|
74
|
-
return {
|
|
75
|
-
id: createUID(),
|
|
76
|
-
primary: category,
|
|
77
|
-
selected: file.category === category
|
|
78
|
-
};
|
|
79
|
-
})
|
|
80
|
-
];
|
|
81
|
-
});
|
|
82
|
-
const selectedCategory = useMemo(() => {
|
|
83
|
-
const sc = categories.find(c => c.selected);
|
|
84
|
-
return sc
|
|
85
|
-
? {
|
|
86
|
-
items: {
|
|
87
|
-
id: sc.id,
|
|
88
|
-
text: sc.primary
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
: undefined;
|
|
92
|
-
}, [categories]);
|
|
93
|
-
return (<FormDialog ref={ref} heading='Edit attachment' target={target} progress={loading ? 'Updating attachment...' : undefined} placement='bottom-start' onCancel={onCancel} onSubmit={() => {
|
|
94
|
-
if (error)
|
|
95
|
-
return;
|
|
96
|
-
setLoading(true);
|
|
97
|
-
setTimeout(() => {
|
|
98
|
-
onSubmit({
|
|
99
|
-
name,
|
|
100
|
-
category: !selectedCategory || selectedCategory.items.text === 'No category'
|
|
101
|
-
? ''
|
|
102
|
-
: selectedCategory.items.text
|
|
103
|
-
});
|
|
104
|
-
setLoading(false);
|
|
105
|
-
}, loadingTimeoutMS);
|
|
106
|
-
}}>
|
|
107
|
-
<Flex container={{ direction: 'column', gap: 2 }}>
|
|
108
|
-
<Input label='Name' placeholder='Enter name…' value={name} info={error} status={error ? 'error' : undefined} autoFocus required onChange={(e) => {
|
|
109
|
-
setName(e.target.value);
|
|
110
|
-
if (error && e.target.value) {
|
|
111
|
-
setError('');
|
|
112
|
-
}
|
|
113
|
-
}} onBlur={() => {
|
|
114
|
-
if (!name) {
|
|
115
|
-
setError('Name is required.');
|
|
116
|
-
}
|
|
117
|
-
}}/>
|
|
118
|
-
<ComboBox label='Category' placeholder='Choose…' selected={selectedCategory} menu={{
|
|
119
|
-
mode: 'single-select',
|
|
120
|
-
items: categories,
|
|
121
|
-
onItemClick: id => {
|
|
122
|
-
setCategories(cur => {
|
|
123
|
-
return cur.map(category => {
|
|
124
|
-
return {
|
|
125
|
-
...category,
|
|
126
|
-
selected: category.id === id
|
|
127
|
-
};
|
|
128
|
-
});
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
}}/>
|
|
132
|
-
</Flex>
|
|
133
|
-
</FormDialog>);
|
|
134
|
-
});
|
|
135
|
-
const AttachmentsModal = ({ defaultMode }) => {
|
|
136
|
-
const [mode, setMode] = useState(defaultMode);
|
|
137
|
-
const { push: pushToaster } = useToaster();
|
|
138
|
-
const { dismiss } = useModalContext();
|
|
139
|
-
const { files, setFiles, cancelFile, attachFile, deleteFile } = useContext(FileServiceContext);
|
|
140
|
-
const [search, setSearch] = useState('');
|
|
141
|
-
const [viewAllLoading, setViewAllLoading] = useState(true);
|
|
142
|
-
const [addNewLoading, setAddNewLoading] = useState(false);
|
|
143
|
-
const [newFiles, setNewFiles] = useState([]);
|
|
144
|
-
const attachSelected = useCallback(() => {
|
|
145
|
-
newFiles.forEach(attachFile);
|
|
146
|
-
dismiss();
|
|
147
|
-
}, [newFiles, attachFile]);
|
|
148
|
-
const listItemEls = useRef([]);
|
|
149
|
-
const [editFileIndex, setEditFileIndex] = useState(-1);
|
|
150
|
-
const editDialogTargetLi = useMemo(() => {
|
|
151
|
-
return editFileIndex !== undefined ? listItemEls.current[editFileIndex] : undefined;
|
|
152
|
-
}, [editFileIndex, listItemEls]);
|
|
153
|
-
const menuButton = useMemo(() => editDialogTargetLi
|
|
154
|
-
? editDialogTargetLi.querySelector('button[aria-haspopup="menu"]')
|
|
155
|
-
: null, [editDialogTargetLi]);
|
|
156
|
-
const handleDialogClose = useCallback(() => {
|
|
157
|
-
if (!editDialogTargetLi)
|
|
158
|
-
return;
|
|
159
|
-
setEditFileIndex(-1);
|
|
160
|
-
menuButton?.focus();
|
|
161
|
-
}, [menuButton, editDialogTargetLi]);
|
|
162
|
-
const handleKeydown = useCallback((e) => {
|
|
163
|
-
if (e.key === 'Escape') {
|
|
164
|
-
setEditFileIndex(-1);
|
|
165
|
-
}
|
|
166
|
-
}, []);
|
|
167
|
-
const editDialogRef = useRef(null);
|
|
168
|
-
useEffect(() => {
|
|
169
|
-
if (mode === 'viewAll') {
|
|
170
|
-
const timeout = setTimeout(() => {
|
|
171
|
-
setViewAllLoading(false);
|
|
172
|
-
}, 1000);
|
|
173
|
-
return () => {
|
|
174
|
-
clearTimeout(timeout);
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
}, [mode]);
|
|
178
|
-
useEffect(() => {
|
|
179
|
-
if (!editDialogTargetLi)
|
|
180
|
-
return;
|
|
181
|
-
document.addEventListener('keydown', handleKeydown);
|
|
182
|
-
return () => {
|
|
183
|
-
document.removeEventListener('keydown', handleKeydown);
|
|
184
|
-
};
|
|
185
|
-
}, [editDialogTargetLi]);
|
|
186
|
-
useEffect(() => {
|
|
187
|
-
listItemEls.current = [];
|
|
188
|
-
}, [mode]);
|
|
189
|
-
const onFilesAdded = useCallback((newlyAddedFiles) => {
|
|
190
|
-
setNewFiles(current => [
|
|
191
|
-
...newlyAddedFiles.map((file, i) => {
|
|
192
|
-
const id = createUID();
|
|
193
|
-
return {
|
|
194
|
-
id,
|
|
195
|
-
name: file.name,
|
|
196
|
-
format: file.name.split('.').pop(),
|
|
197
|
-
category: '',
|
|
198
|
-
File: file,
|
|
199
|
-
onEdit: () => {
|
|
200
|
-
setEditFileIndex(i);
|
|
201
|
-
},
|
|
202
|
-
onCancel: () => {
|
|
203
|
-
setNewFiles(c => c.filter(f => f.id !== id));
|
|
204
|
-
}
|
|
205
|
-
};
|
|
206
|
-
}),
|
|
207
|
-
...current
|
|
208
|
-
]);
|
|
209
|
-
}, [files]);
|
|
210
|
-
const actions = mode === 'addNew' ? (<>
|
|
211
|
-
<Button onClick={dismiss} disabled={addNewLoading}>
|
|
212
|
-
Cancel
|
|
213
|
-
</Button>
|
|
214
|
-
<Button type='submit' variant='primary' onClick={() => {
|
|
215
|
-
setAddNewLoading(true);
|
|
216
|
-
setTimeout(() => {
|
|
217
|
-
attachSelected();
|
|
218
|
-
setAddNewLoading(false);
|
|
219
|
-
}, loadingTimeoutMS);
|
|
220
|
-
}} disabled={newFiles.length === 0 || addNewLoading}>
|
|
221
|
-
Upload files
|
|
222
|
-
</Button>
|
|
223
|
-
</>) : null;
|
|
224
|
-
const content = mode === 'addNew' ? (<FileInput multiple label='Select files to upload' onFilesAdded={onFilesAdded} files={newFiles.map(f => ({ ...f, meta: f.category || undefined }))}/>) : (<ViewAll loading={viewAllLoading} items={(search ? files.filter(f => f.name.includes(search)) : files).map((file, i) => {
|
|
225
|
-
return getSummaryListItemProps({
|
|
226
|
-
ref: (el) => {
|
|
227
|
-
listItemEls.current[i] = el;
|
|
228
|
-
},
|
|
229
|
-
file,
|
|
230
|
-
editFile: () => {
|
|
231
|
-
setEditFileIndex(i);
|
|
232
|
-
},
|
|
233
|
-
cancelFile: id => {
|
|
234
|
-
const canceledFile = files.find(f => f.id === id);
|
|
235
|
-
cancelFile(id);
|
|
236
|
-
pushToaster({ content: `Cancelled uploading ${canceledFile.name}` });
|
|
237
|
-
},
|
|
238
|
-
deleteFile: async (id) => {
|
|
239
|
-
const deletedFile = files.find(f => f.id === id);
|
|
240
|
-
await deleteFile(id);
|
|
241
|
-
pushToaster({ content: `${deletedFile.name} deleted` });
|
|
242
|
-
}
|
|
243
|
-
});
|
|
244
|
-
})} actions={[
|
|
245
|
-
{
|
|
246
|
-
id: 'addNewFile',
|
|
247
|
-
text: 'Add files',
|
|
248
|
-
onClick: () => {
|
|
249
|
-
setMode('addNew');
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
id: 'addNewLink',
|
|
254
|
-
text: 'Add links',
|
|
255
|
-
onClick: () => {
|
|
256
|
-
setMode('addNew');
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
]} searchInputProps={{ onSearchChange: value => setSearch(value) }}/>);
|
|
260
|
-
return (<Modal as={mode === 'addNew' ? 'form' : undefined} heading={mode === 'addNew' ? 'Add attachments' : 'Attachments'} actions={actions} progress={addNewLoading ? { message: 'Adding attachments...' } : undefined} onRequestDismiss={() => {
|
|
261
|
-
return !editDialogTargetLi;
|
|
262
|
-
}} onSubmit={mode === 'addNew'
|
|
263
|
-
? (e) => {
|
|
264
|
-
e.preventDefault();
|
|
265
|
-
}
|
|
266
|
-
: undefined}>
|
|
267
|
-
<>
|
|
268
|
-
{content}
|
|
269
|
-
{editDialogTargetLi && menuButton && (<EditDialog ref={editDialogRef} target={menuButton} file={mode === 'addNew' ? newFiles[editFileIndex] : files[editFileIndex]} onCancel={handleDialogClose} onSubmit={({ name, category }) => {
|
|
270
|
-
handleDialogClose();
|
|
271
|
-
if (mode === 'addNew') {
|
|
272
|
-
setNewFiles(cur => {
|
|
273
|
-
return cur.map((file, i) => {
|
|
274
|
-
if (i === editFileIndex) {
|
|
275
|
-
return {
|
|
276
|
-
...file,
|
|
277
|
-
name,
|
|
278
|
-
category
|
|
279
|
-
};
|
|
280
|
-
}
|
|
281
|
-
return file;
|
|
282
|
-
});
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
else {
|
|
286
|
-
setFiles(cur => cur.map((file, i) => {
|
|
287
|
-
if (i === editFileIndex) {
|
|
288
|
-
return {
|
|
289
|
-
...file,
|
|
290
|
-
name,
|
|
291
|
-
category
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
return file;
|
|
295
|
-
}));
|
|
296
|
-
}
|
|
297
|
-
}}/>)}
|
|
298
|
-
</>
|
|
299
|
-
</Modal>);
|
|
300
|
-
};
|
|
301
|
-
export const AttachmentsMock = () => {
|
|
302
|
-
const { push: pushToaster } = useToaster();
|
|
303
|
-
const { create: createModal } = useModalManager();
|
|
304
|
-
const [loading, setLoading] = useState(true);
|
|
305
|
-
const { files, setFiles, cancelFile, deleteFile } = useContext(FileServiceContext);
|
|
306
|
-
const listItemEls = useRef([]);
|
|
307
|
-
const [editFileIndex, setEditFileIndex] = useState(-1);
|
|
308
|
-
const editDialogTargetLi = useMemo(() => {
|
|
309
|
-
return editFileIndex !== undefined ? listItemEls.current[editFileIndex] : undefined;
|
|
310
|
-
}, [editFileIndex, listItemEls]);
|
|
311
|
-
const menuButton = useMemo(() => editDialogTargetLi
|
|
312
|
-
? editDialogTargetLi.querySelector('button[aria-haspopup="menu"]')
|
|
313
|
-
: null, [editDialogTargetLi]);
|
|
314
|
-
const handleDialogClose = useCallback(() => {
|
|
315
|
-
if (!editDialogTargetLi)
|
|
316
|
-
return;
|
|
317
|
-
setEditFileIndex(-1);
|
|
318
|
-
menuButton?.focus();
|
|
319
|
-
}, [menuButton, editDialogTargetLi]);
|
|
320
|
-
const handleKeydown = useCallback((e) => {
|
|
321
|
-
if (e.key === 'Escape') {
|
|
322
|
-
setEditFileIndex(-1);
|
|
323
|
-
}
|
|
324
|
-
}, []);
|
|
325
|
-
const editDialogRef = useRef(null);
|
|
326
|
-
useEffect(() => {
|
|
327
|
-
let mounted = true;
|
|
328
|
-
(async () => {
|
|
329
|
-
const attachments = await mockAttachmentListRequest();
|
|
330
|
-
if (mounted) {
|
|
331
|
-
setLoading(false);
|
|
332
|
-
setFiles(attachments);
|
|
333
|
-
}
|
|
334
|
-
})();
|
|
335
|
-
return () => {
|
|
336
|
-
mounted = false;
|
|
337
|
-
};
|
|
338
|
-
}, []);
|
|
339
|
-
useEffect(() => {
|
|
340
|
-
if (!editDialogTargetLi)
|
|
341
|
-
return;
|
|
342
|
-
document.addEventListener('keydown', handleKeydown);
|
|
343
|
-
return () => {
|
|
344
|
-
document.removeEventListener('keydown', handleKeydown);
|
|
345
|
-
};
|
|
346
|
-
}, [editDialogTargetLi]);
|
|
347
|
-
return (<>
|
|
348
|
-
<SummaryList icon='paper-clip' name='Attachments' headingTag='h3' loading={loading} count={!loading && Array.isArray(files) ? files.length : undefined} actions={[
|
|
349
|
-
{
|
|
350
|
-
text: 'Add',
|
|
351
|
-
id: 'addNew',
|
|
352
|
-
icon: 'plus',
|
|
353
|
-
onClick() {
|
|
354
|
-
createModal(AttachmentsModal, { defaultMode: 'addNew' });
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
]} items={files.slice(0, 3).map((file, i) => {
|
|
358
|
-
return getSummaryListItemProps({
|
|
359
|
-
ref: (el) => {
|
|
360
|
-
listItemEls.current[i] = el;
|
|
361
|
-
},
|
|
362
|
-
file,
|
|
363
|
-
editFile: () => {
|
|
364
|
-
setEditFileIndex(i);
|
|
365
|
-
},
|
|
366
|
-
cancelFile: id => {
|
|
367
|
-
const canceledFile = files.find(f => f.id === id);
|
|
368
|
-
cancelFile(id);
|
|
369
|
-
pushToaster({ content: `Cancelled uploading ${canceledFile.name}` });
|
|
370
|
-
},
|
|
371
|
-
deleteFile: async (id) => {
|
|
372
|
-
const deletedFile = files.find(f => f.id === id);
|
|
373
|
-
await deleteFile(id);
|
|
374
|
-
pushToaster({ content: `${deletedFile.name} deleted` });
|
|
375
|
-
}
|
|
376
|
-
});
|
|
377
|
-
})} onViewAll={() => {
|
|
378
|
-
createModal(AttachmentsModal, { defaultMode: 'viewAll' });
|
|
379
|
-
}}/>
|
|
380
|
-
{editDialogTargetLi && menuButton && (<EditDialog ref={editDialogRef} target={menuButton} file={files[editFileIndex]} onCancel={handleDialogClose} onSubmit={({ name, category }) => {
|
|
381
|
-
handleDialogClose();
|
|
382
|
-
setFiles(cur => cur.map((file, i) => {
|
|
383
|
-
if (i === editFileIndex) {
|
|
384
|
-
return {
|
|
385
|
-
...file,
|
|
386
|
-
name,
|
|
387
|
-
category
|
|
388
|
-
};
|
|
389
|
-
}
|
|
390
|
-
return file;
|
|
391
|
-
}));
|
|
392
|
-
}}/>)}
|
|
393
|
-
</>);
|
|
394
|
-
};
|
|
395
|
-
//# sourceMappingURL=Attachments.mocks.jsx.map
|