@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,169 +0,0 @@
|
|
|
1
|
-
import { Avatar, Card, CardContent, Flex, Text } from '@pega/cosmos-react-core';
|
|
2
|
-
import { StyledMainContent } from './AppShell.styles';
|
|
3
|
-
export const defaultLinks = [
|
|
4
|
-
{
|
|
5
|
-
id: '01',
|
|
6
|
-
name: 'Home',
|
|
7
|
-
href: '#home',
|
|
8
|
-
icon: 'home-solid',
|
|
9
|
-
active: true
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
id: '02',
|
|
13
|
-
name: 'My Dashboard',
|
|
14
|
-
href: '#dashboard',
|
|
15
|
-
icon: 'gauge-solid'
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
id: '03',
|
|
19
|
-
name: 'Spaces',
|
|
20
|
-
href: '#spaces',
|
|
21
|
-
icon: 'social-solid'
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
id: '04',
|
|
25
|
-
name: 'Bugs',
|
|
26
|
-
href: '#bugs',
|
|
27
|
-
icon: 'users-solid'
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
id: '05',
|
|
31
|
-
name: 'Epics',
|
|
32
|
-
href: '#epics',
|
|
33
|
-
icon: 'book-solid'
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
id: '06',
|
|
37
|
-
name: 'Goals',
|
|
38
|
-
href: '#goals',
|
|
39
|
-
icon: 'analytics-good'
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
id: 'collaboration-group',
|
|
43
|
-
name: 'Collaboration',
|
|
44
|
-
icon: 'book',
|
|
45
|
-
href: '#',
|
|
46
|
-
links: [
|
|
47
|
-
{
|
|
48
|
-
id: 'teams-link',
|
|
49
|
-
name: 'Teams',
|
|
50
|
-
href: '#team',
|
|
51
|
-
icon: 'users-solid'
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
id: 'documents-link',
|
|
55
|
-
name: 'Documents',
|
|
56
|
-
href: '#documents',
|
|
57
|
-
icon: 'document'
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
];
|
|
62
|
-
export const defaultNotifications = [
|
|
63
|
-
{
|
|
64
|
-
id: '123',
|
|
65
|
-
primary: "Dean Thomas mentioned your team in a bug 'Button does not initiate onClick event handler'.",
|
|
66
|
-
secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()],
|
|
67
|
-
visual: <Avatar name='Dean Thomas'/>,
|
|
68
|
-
unread: true
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
id: '456',
|
|
72
|
-
primary: "Seth DeAngelo mentioned your team in a bug 'Text variant h1 renders as h3 in DOM'.",
|
|
73
|
-
visual: <Avatar name='Seth DeAngelo'/>,
|
|
74
|
-
unread: true
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
id: '789',
|
|
78
|
-
primary: "Janet Moore mentioned your team in a bug 'Tree expanded state does not match the state that was set on the component'.",
|
|
79
|
-
secondary: ['BUG-12345', new Date(2020, 9, 2, 9, 22).toDateString()],
|
|
80
|
-
visual: <Avatar name='Janet Moore'/>,
|
|
81
|
-
unread: true
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
id: '000',
|
|
85
|
-
primary: 'You have been awarded Employee of the Month! Congratulations!',
|
|
86
|
-
secondary: [new Date(2020, 9, 8, 14, 46).toDateString()],
|
|
87
|
-
unread: true
|
|
88
|
-
}
|
|
89
|
-
];
|
|
90
|
-
export const defaultRecents = [
|
|
91
|
-
{
|
|
92
|
-
id: '123',
|
|
93
|
-
primary: "BUG-12345: 'Button does not initiate onClick event handler'.",
|
|
94
|
-
secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()]
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
id: '456',
|
|
98
|
-
primary: "BUG-54321: 'Text variant h1 renders as h3 in DOM'."
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
id: '789',
|
|
102
|
-
primary: "BUG-00000: 'Tree expanded state does not match the state that was set on the component'.",
|
|
103
|
-
secondary: ['BUG-00000', new Date(2020, 9, 2, 9, 22).toDateString()]
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
id: '111',
|
|
107
|
-
primary: "BUG-12345: 'Button does not initiate onClick event handler'.",
|
|
108
|
-
secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()]
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
id: '222',
|
|
112
|
-
primary: "BUG-54321: 'Text variant h1 renders as h3 in DOM'."
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
id: '333',
|
|
116
|
-
primary: "BUG-00000: 'Tree expanded state does not match the state that was set on the component'.",
|
|
117
|
-
secondary: ['BUG-00000', new Date(2020, 9, 2, 9, 22).toDateString()]
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
id: '444',
|
|
121
|
-
primary: "BUG-12345: 'Button does not initiate onClick event handler'.",
|
|
122
|
-
secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()]
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
id: '555',
|
|
126
|
-
primary: "BUG-54321: 'Text variant h1 renders as h3 in DOM'."
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
id: '666',
|
|
130
|
-
primary: "BUG-00000: 'Tree expanded state does not match the state that was set on the component'.",
|
|
131
|
-
secondary: ['BUG-00000', new Date(2020, 9, 2, 9, 22).toDateString()]
|
|
132
|
-
}
|
|
133
|
-
];
|
|
134
|
-
export const defaultMainContent = (<Flex container={{ justify: 'center', alignItems: 'center' }} as={StyledMainContent}>
|
|
135
|
-
<Card>
|
|
136
|
-
<CardContent>
|
|
137
|
-
<Text variant='h1'>This is the main content</Text>
|
|
138
|
-
</CardContent>
|
|
139
|
-
</Card>
|
|
140
|
-
</Flex>);
|
|
141
|
-
export const operatorData = {
|
|
142
|
-
avatar: <Avatar name='Cindy Turner'/>,
|
|
143
|
-
actions: [
|
|
144
|
-
{ primary: 'Profile', id: 'profile' },
|
|
145
|
-
{ primary: 'Settings', id: 'settings' },
|
|
146
|
-
{ primary: 'My applications', id: 'apps' },
|
|
147
|
-
{ primary: 'Help center', id: 'help' },
|
|
148
|
-
{ primary: 'Log out', id: 'logout' }
|
|
149
|
-
],
|
|
150
|
-
name: 'Cindy Turner'
|
|
151
|
-
};
|
|
152
|
-
export const defaultCases = [
|
|
153
|
-
{
|
|
154
|
-
primary: 'Phone interaction 1',
|
|
155
|
-
secondary: 'Received 40s ago',
|
|
156
|
-
collapsedItemInfo: 'I-4123567',
|
|
157
|
-
createdAt: 1626789059860,
|
|
158
|
-
id: 'demo-phone-interaction_1',
|
|
159
|
-
active: false
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
primary: 'Chat interaction 3',
|
|
163
|
-
secondary: 'Sent 2h ago',
|
|
164
|
-
createdAt: 1626789063045,
|
|
165
|
-
id: 'demo-chat-interaction_1',
|
|
166
|
-
active: false
|
|
167
|
-
}
|
|
168
|
-
];
|
|
169
|
-
//# sourceMappingURL=AppShell.mocks.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppShell.mocks.jsx","sourceRoot":"","sources":["../../../src/core/AppShell/AppShell.mocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAGhF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,CAAC,MAAM,YAAY,GAA2B;IAClD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,aAAa;KACpB;IACD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,cAAc;KACrB;IACD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,aAAa;KACpB;IACD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,YAAY;KACnB;IACD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,gBAAgB;K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,iBAAiB,EAAE,WAAW;QAC9B,SAAS,EAAE,aAAa;QACxB,EAAE,EAAE,0BAA0B;QAC9B,MAAM,EAAE,KAAK;KACd;IACD;QACE,OAAO,EAAE,oBAAoB;QAC7B,SAAS,EAAE,aAAa;QACxB,SAAS,EAAE,aAAa;QACxB,EAAE,EAAE,yBAAyB;QAC7B,MAAM,EAAE,KAAK;KACd;CACF,CAAC","sourcesContent":["import { Avatar, Card, CardContent, Flex, Text } from '@pega/cosmos-react-core';\nimport type { AppShellProps, DrawerItemProps, ForwardProps } from '@pega/cosmos-react-core';\n\nimport { StyledMainContent } from './AppShell.styles';\n\nexport const defaultLinks: AppShellProps['links'] = [\n {\n id: '01',\n name: 'Home',\n href: '#home',\n icon: 'home-solid',\n active: true\n },\n {\n id: '02',\n name: 'My Dashboard',\n href: '#dashboard',\n icon: 'gauge-solid'\n },\n {\n id: '03',\n name: 'Spaces',\n href: '#spaces',\n icon: 'social-solid'\n },\n {\n id: '04',\n name: 'Bugs',\n href: '#bugs',\n icon: 'users-solid'\n },\n {\n id: '05',\n name: 'Epics',\n href: '#epics',\n icon: 'book-solid'\n },\n {\n id: '06',\n name: 'Goals',\n href: '#goals',\n icon: 'analytics-good'\n },\n {\n id: 'collaboration-group',\n name: 'Collaboration',\n icon: 'book',\n // FIXME: Temporary until additional interface and DOM changes can be easily adopted.\n href: '#',\n links: [\n {\n id: 'teams-link',\n name: 'Teams',\n href: '#team',\n icon: 'users-solid'\n },\n {\n id: 'documents-link',\n name: 'Documents',\n href: '#documents',\n icon: 'document'\n }\n ]\n }\n];\n\nexport const defaultNotifications: (DrawerItemProps & ForwardProps)[] = [\n {\n id: '123',\n primary:\n \"Dean Thomas mentioned your team in a bug 'Button does not initiate onClick event handler'.\",\n secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()],\n visual: <Avatar name='Dean Thomas' />,\n unread: true\n },\n {\n id: '456',\n primary: \"Seth DeAngelo mentioned your team in a bug 'Text variant h1 renders as h3 in DOM'.\",\n visual: <Avatar name='Seth DeAngelo' />,\n unread: true\n },\n {\n id: '789',\n primary:\n \"Janet Moore mentioned your team in a bug 'Tree expanded state does not match the state that was set on the component'.\",\n secondary: ['BUG-12345', new Date(2020, 9, 2, 9, 22).toDateString()],\n visual: <Avatar name='Janet Moore' />,\n unread: true\n },\n {\n id: '000',\n primary: 'You have been awarded Employee of the Month! Congratulations!',\n secondary: [new Date(2020, 9, 8, 14, 46).toDateString()],\n unread: true\n }\n];\n\nexport const defaultRecents: (DrawerItemProps & ForwardProps)[] = [\n {\n id: '123',\n primary: \"BUG-12345: 'Button does not initiate onClick event handler'.\",\n secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()]\n },\n {\n id: '456',\n primary: \"BUG-54321: 'Text variant h1 renders as h3 in DOM'.\"\n },\n {\n id: '789',\n primary:\n \"BUG-00000: 'Tree expanded state does not match the state that was set on the component'.\",\n secondary: ['BUG-00000', new Date(2020, 9, 2, 9, 22).toDateString()]\n },\n {\n id: '111',\n primary: \"BUG-12345: 'Button does not initiate onClick event handler'.\",\n secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()]\n },\n {\n id: '222',\n primary: \"BUG-54321: 'Text variant h1 renders as h3 in DOM'.\"\n },\n {\n id: '333',\n primary:\n \"BUG-00000: 'Tree expanded state does not match the state that was set on the component'.\",\n secondary: ['BUG-00000', new Date(2020, 9, 2, 9, 22).toDateString()]\n },\n {\n id: '444',\n primary: \"BUG-12345: 'Button does not initiate onClick event handler'.\",\n secondary: ['BUG-12345', new Date(2020, 8, 31, 13, 23).toDateString()]\n },\n {\n id: '555',\n primary: \"BUG-54321: 'Text variant h1 renders as h3 in DOM'.\"\n },\n {\n id: '666',\n primary:\n \"BUG-00000: 'Tree expanded state does not match the state that was set on the component'.\",\n secondary: ['BUG-00000', new Date(2020, 9, 2, 9, 22).toDateString()]\n }\n];\n\nexport const defaultMainContent = (\n <Flex container={{ justify: 'center', alignItems: 'center' }} as={StyledMainContent}>\n <Card>\n <CardContent>\n <Text variant='h1'>This is the main content</Text>\n </CardContent>\n </Card>\n </Flex>\n);\n\nexport const operatorData = {\n avatar: <Avatar name='Cindy Turner' />,\n actions: [\n { primary: 'Profile', id: 'profile' },\n { primary: 'Settings', id: 'settings' },\n { primary: 'My applications', id: 'apps' },\n { primary: 'Help center', id: 'help' },\n { primary: 'Log out', id: 'logout' }\n ],\n name: 'Cindy Turner'\n};\n\nexport const defaultCases = [\n {\n primary: 'Phone interaction 1',\n secondary: 'Received 40s ago',\n collapsedItemInfo: 'I-4123567',\n createdAt: 1626789059860,\n id: 'demo-phone-interaction_1',\n active: false\n },\n {\n primary: 'Chat interaction 3',\n secondary: 'Sent 2h ago',\n createdAt: 1626789063045,\n id: 'demo-chat-interaction_1',\n active: false\n }\n];\n"]}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { StoryFn } from '@storybook/react';
|
|
2
|
-
import type { AppShellProps } from '@pega/cosmos-react-core';
|
|
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 AppShellStoryProps {
|
|
6
|
-
main?: AppShellProps['main'];
|
|
7
|
-
appInfo?: AppShellProps['appInfo'];
|
|
8
|
-
searchPage?: AppShellProps['searchPage'];
|
|
9
|
-
banners?: AppShellProps['banners'];
|
|
10
|
-
cases?: AppShellProps['cases'];
|
|
11
|
-
caseLinks?: AppShellProps['links'];
|
|
12
|
-
createLinks?: any[];
|
|
13
|
-
recentItems?: any[];
|
|
14
|
-
utils?: AppShellProps['utils'];
|
|
15
|
-
onLinkClick?: (name: string) => void;
|
|
16
|
-
collapsedHoverMenus?: boolean;
|
|
17
|
-
appName?: AppShellProps['appInfo']['appName'];
|
|
18
|
-
appNameHidden?: AppShellProps['appInfo']['appNameHidden'];
|
|
19
|
-
portalName?: AppShellProps['appInfo']['portalName'];
|
|
20
|
-
href?: AppShellProps['appInfo']['href'];
|
|
21
|
-
imageSrc?: AppShellProps['appInfo']['imageSrc'];
|
|
22
|
-
fullImageSrc?: AppShellProps['appInfo']['fullImageSrc'];
|
|
23
|
-
withSearch?: boolean;
|
|
24
|
-
appHeader?: AppShellProps['appHeader'];
|
|
25
|
-
progress?: AppShellProps['progress'];
|
|
26
|
-
notificationsEmpty?: boolean;
|
|
27
|
-
notificationsLoading?: boolean;
|
|
28
|
-
casesTypesEmpty?: boolean;
|
|
29
|
-
recentsEmpty?: boolean;
|
|
30
|
-
recentsLoading?: boolean;
|
|
31
|
-
pinsLoading?: boolean;
|
|
32
|
-
showCases?: boolean;
|
|
33
|
-
}
|
|
34
|
-
export declare const AppShellDemo: StoryFn<AppShellStoryProps>;
|
|
35
|
-
interface ConfigurableAppShellProps {
|
|
36
|
-
navColor?: string;
|
|
37
|
-
headerColor?: string;
|
|
38
|
-
}
|
|
39
|
-
export declare const ConfigurableAppShell: StoryFn<ConfigurableAppShellProps>;
|
|
40
|
-
//# sourceMappingURL=AppShell.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppShell.stories.d.ts","sourceRoot":"","sources":["../../../src/core/AppShell/AppShell.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAetD,OAAO,KAAK,EACV,aAAa,EAMd,MAAM,yBAAyB,CAAC;;AAkBjC,wBAOU;AAEV,UAAU,kBAAkB;IAE1B,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACnC,UAAU,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACzC,OAAO,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACnC,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,SAAS,CAAC,EA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,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,yBAAyB,CAqBnE,CAAC"}
|
|
@@ -1,268 +0,0 @@
|
|
|
1
|
-
import { useState, useMemo, useRef } from 'react';
|
|
2
|
-
import { AppShell, AppShellList, Icon, registerIcon, useModalManager, useAfterInitialEffect, windowIsAvailable, ThemeOverride, menuHelpers } from '@pega/cosmos-react-core';
|
|
3
|
-
import * as bellSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/bell-solid.icon';
|
|
4
|
-
import * as clockSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/clock-solid.icon';
|
|
5
|
-
import { recentSearches, searchResults } from '../SearchInput/SearchInput.mocks';
|
|
6
|
-
import { MultiStepModal } from '../MultiStepForm/MultiStepForm.mocks';
|
|
7
|
-
import { defaultCases, defaultLinks, defaultMainContent, defaultNotifications, defaultRecents, operatorData } from './AppShell.mocks';
|
|
8
|
-
registerIcon(bellSolidIcon, clockSolidIcon);
|
|
9
|
-
export default {
|
|
10
|
-
title: 'Core/App Shell',
|
|
11
|
-
component: AppShell,
|
|
12
|
-
excludeStories: ['ConfigurableAppShell'],
|
|
13
|
-
parameters: {
|
|
14
|
-
layout: 'fullscreen'
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
export const AppShellDemo = (args) => {
|
|
18
|
-
const [activeAppName, setActiveAppName] = useState(args.appName || 'UI Audit');
|
|
19
|
-
const caseLinks = args.caseLinks || defaultLinks;
|
|
20
|
-
const showSearch = args.withSearch !== undefined ? args.withSearch : true;
|
|
21
|
-
const { create: createModal } = useModalManager();
|
|
22
|
-
const [links, setLinks] = useState(caseLinks);
|
|
23
|
-
const [notifications, setNotifications] = useState(defaultNotifications);
|
|
24
|
-
const [recents, setRecents] = useState(args.recentItems || defaultRecents);
|
|
25
|
-
const [numNewNotifications, setNumNewNotifications] = useState(notifications.filter(x => x.unread).length);
|
|
26
|
-
const [searchVal, setSearchVal] = useState('');
|
|
27
|
-
const [searchLoading, setSearchLoading] = useState(false);
|
|
28
|
-
const [results, setResults] = useState([]);
|
|
29
|
-
const [searchTimeout, setSearchTimeout] = useState();
|
|
30
|
-
const [progress, setProgress] = useState('');
|
|
31
|
-
useAfterInitialEffect(() => {
|
|
32
|
-
setLinks(caseLinks);
|
|
33
|
-
}, [caseLinks]);
|
|
34
|
-
const addHandlersToLinks = (appShellLinks) => {
|
|
35
|
-
return (appShellLinks || []).map(link => ({
|
|
36
|
-
...link,
|
|
37
|
-
onClick(e) {
|
|
38
|
-
e.preventDefault();
|
|
39
|
-
setLinks((prevLinks = []) => {
|
|
40
|
-
return prevLinks.map(prevLink => {
|
|
41
|
-
return {
|
|
42
|
-
...prevLink,
|
|
43
|
-
active: prevLink.name === link.name
|
|
44
|
-
};
|
|
45
|
-
});
|
|
46
|
-
});
|
|
47
|
-
setProgress(`${link.name} loading...`);
|
|
48
|
-
setTimeout(() => {
|
|
49
|
-
args.onLinkClick?.(link.name);
|
|
50
|
-
setProgress('');
|
|
51
|
-
}, 1000);
|
|
52
|
-
},
|
|
53
|
-
links: link.links ? addHandlersToLinks(link.links) : undefined
|
|
54
|
-
}));
|
|
55
|
-
};
|
|
56
|
-
const linksWithHandlers = useMemo(() => {
|
|
57
|
-
return addHandlersToLinks(links);
|
|
58
|
-
}, [links]);
|
|
59
|
-
const defaultCreateLinks = [
|
|
60
|
-
'Data Analyst interview',
|
|
61
|
-
'Designer interview',
|
|
62
|
-
'Product Manager interview',
|
|
63
|
-
'Sales Representative interview',
|
|
64
|
-
'Software Engineer interview'
|
|
65
|
-
].map(name => ({
|
|
66
|
-
name,
|
|
67
|
-
onClick: () => {
|
|
68
|
-
createModal(MultiStepModal, { heading: name, stepIndicator: 'horizontal' });
|
|
69
|
-
}
|
|
70
|
-
}));
|
|
71
|
-
const handleNotificationClick = (passedId) => {
|
|
72
|
-
setNotifications(cur => cur.map(({ id, unread, ...item }) => ({
|
|
73
|
-
id,
|
|
74
|
-
unread: passedId === id ? false : unread,
|
|
75
|
-
...item
|
|
76
|
-
})));
|
|
77
|
-
};
|
|
78
|
-
const handlePinToggle = (passedId) => {
|
|
79
|
-
setRecents(cur => cur.map(({ id, pinned, ...item }) => ({
|
|
80
|
-
id,
|
|
81
|
-
pinned: passedId === id ? !pinned : pinned,
|
|
82
|
-
...item
|
|
83
|
-
})));
|
|
84
|
-
};
|
|
85
|
-
const onSearch = (val) => {
|
|
86
|
-
setSearchVal(val);
|
|
87
|
-
if (searchTimeout) {
|
|
88
|
-
clearTimeout(searchTimeout);
|
|
89
|
-
setSearchTimeout(null);
|
|
90
|
-
}
|
|
91
|
-
setResults([]);
|
|
92
|
-
if (val) {
|
|
93
|
-
setSearchLoading(true);
|
|
94
|
-
const timeout = setTimeout(() => {
|
|
95
|
-
setSearchLoading(false);
|
|
96
|
-
setResults(searchResults.filter(res => res.primary.includes(val)));
|
|
97
|
-
}, 1000);
|
|
98
|
-
setSearchTimeout(timeout);
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
const notificationViewItems = [
|
|
102
|
-
{
|
|
103
|
-
id: '234',
|
|
104
|
-
items: args.notificationsEmpty ? [] : notifications,
|
|
105
|
-
loading: args.notificationsLoading,
|
|
106
|
-
onItemClick: handleNotificationClick,
|
|
107
|
-
viewAll: {
|
|
108
|
-
href: '#'
|
|
109
|
-
},
|
|
110
|
-
emptyText: 'No notifications'
|
|
111
|
-
}
|
|
112
|
-
];
|
|
113
|
-
const recentViewItems = [
|
|
114
|
-
{
|
|
115
|
-
id: '456',
|
|
116
|
-
items: recents.filter(x => x.pinned),
|
|
117
|
-
loading: args.pinsLoading,
|
|
118
|
-
onItemPinToggle: handlePinToggle,
|
|
119
|
-
viewAll: {
|
|
120
|
-
href: '#'
|
|
121
|
-
},
|
|
122
|
-
displayPins: true,
|
|
123
|
-
headingText: 'Pinned items',
|
|
124
|
-
emptyText: 'No pinned items'
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
id: '789',
|
|
128
|
-
items: args.recentsEmpty ? [] : recents,
|
|
129
|
-
loading: args.recentsLoading,
|
|
130
|
-
onItemPinToggle: handlePinToggle,
|
|
131
|
-
viewAll: {
|
|
132
|
-
href: '#'
|
|
133
|
-
},
|
|
134
|
-
displayPins: true,
|
|
135
|
-
headingText: 'Recently viewed',
|
|
136
|
-
emptyText: 'No recents'
|
|
137
|
-
}
|
|
138
|
-
];
|
|
139
|
-
const [contexts, setContexts] = useState([
|
|
140
|
-
{
|
|
141
|
-
id: '1',
|
|
142
|
-
primary: activeAppName,
|
|
143
|
-
selected: true,
|
|
144
|
-
visual: <Icon name='app'/>
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
id: '2',
|
|
148
|
-
primary: 'BI Warehouse',
|
|
149
|
-
selected: false,
|
|
150
|
-
visual: <Icon name='cloud'/>
|
|
151
|
-
}
|
|
152
|
-
]);
|
|
153
|
-
const newNotificationCountTimerRef = useRef(NaN);
|
|
154
|
-
const defaultUtils = [
|
|
155
|
-
{
|
|
156
|
-
name: 'Notifications',
|
|
157
|
-
visual: <Icon name='bell-solid'/>,
|
|
158
|
-
count: args.notificationsEmpty ? 0 : numNewNotifications,
|
|
159
|
-
drawerView: <AppShellList listView={notificationViewItems}/>,
|
|
160
|
-
onDrawerOpen: () => {
|
|
161
|
-
clearInterval(newNotificationCountTimerRef.current);
|
|
162
|
-
setNumNewNotifications(0);
|
|
163
|
-
},
|
|
164
|
-
onDrawerClose: () => {
|
|
165
|
-
if (windowIsAvailable) {
|
|
166
|
-
newNotificationCountTimerRef.current = window.setInterval(() => {
|
|
167
|
-
setNumNewNotifications(cur => cur + 2);
|
|
168
|
-
}, 60000);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
name: 'Recents',
|
|
174
|
-
visual: <Icon name='clock-solid'/>,
|
|
175
|
-
drawerView: <AppShellList listView={recentViewItems}/>
|
|
176
|
-
}
|
|
177
|
-
];
|
|
178
|
-
return (<AppShell contextSwitcher={{
|
|
179
|
-
contexts,
|
|
180
|
-
onContextClick: (id) => {
|
|
181
|
-
setActiveAppName(menuHelpers.getItem(contexts, id).primary);
|
|
182
|
-
setContexts(cur => cur.map(ctx => {
|
|
183
|
-
return { ...ctx, selected: id === ctx.id };
|
|
184
|
-
}));
|
|
185
|
-
}
|
|
186
|
-
}} appInfo={args.appInfo || {
|
|
187
|
-
href: args.href || 'https://www.pega.com/',
|
|
188
|
-
imageSrc: args.imageSrc || './pega_logo_vertical_white.svg',
|
|
189
|
-
fullImageSrc: args.fullImageSrc ||
|
|
190
|
-
'https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg',
|
|
191
|
-
appName: activeAppName,
|
|
192
|
-
portalName: args.portalName || 'Scrum',
|
|
193
|
-
appNameHidden: args.appNameHidden
|
|
194
|
-
}} searchInput={showSearch
|
|
195
|
-
? {
|
|
196
|
-
onSearchChange: (value) => {
|
|
197
|
-
onSearch(value);
|
|
198
|
-
},
|
|
199
|
-
value: searchVal,
|
|
200
|
-
searchResults: results,
|
|
201
|
-
recentSearches,
|
|
202
|
-
loading: searchLoading,
|
|
203
|
-
filters: ['Story', 'Bug'],
|
|
204
|
-
advancedSearchLink: { href: '/' }
|
|
205
|
-
}
|
|
206
|
-
: undefined} appHeader={args.appHeader} searchPage={args.searchPage} caseTypes={args.casesTypesEmpty ? [] : args.createLinks || defaultCreateLinks} links={linksWithHandlers} main={args.main || defaultMainContent} progress={args.progress || progress} cases={args.showCases ? defaultCases : args.cases} banners={args.banners} operator={operatorData} utils={args.utils || defaultUtils} collapsedHoverMenus={args.collapsedHoverMenus}/>);
|
|
207
|
-
};
|
|
208
|
-
AppShellDemo.args = {
|
|
209
|
-
appName: 'UI Audit',
|
|
210
|
-
appNameHidden: false,
|
|
211
|
-
portalName: 'Scrum',
|
|
212
|
-
href: 'https://www.pega.com/',
|
|
213
|
-
imageSrc: './pega_logo_vertical_white.svg',
|
|
214
|
-
fullImageSrc: 'https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg',
|
|
215
|
-
withSearch: true,
|
|
216
|
-
appHeader: true,
|
|
217
|
-
progress: false,
|
|
218
|
-
notificationsEmpty: false,
|
|
219
|
-
notificationsLoading: false,
|
|
220
|
-
casesTypesEmpty: false,
|
|
221
|
-
recentsEmpty: false,
|
|
222
|
-
recentsLoading: false,
|
|
223
|
-
pinsLoading: false,
|
|
224
|
-
showCases: false
|
|
225
|
-
};
|
|
226
|
-
AppShellDemo.argTypes = {
|
|
227
|
-
appName: { control: { type: 'text' } },
|
|
228
|
-
appNameHidden: { control: { type: 'boolean' } },
|
|
229
|
-
portalName: { control: { type: 'text' } },
|
|
230
|
-
href: { control: { type: 'text' } },
|
|
231
|
-
imageSrc: { control: { type: 'text' } },
|
|
232
|
-
fullImageSrc: { control: { type: 'text' } },
|
|
233
|
-
withSearch: { control: { type: 'boolean' } },
|
|
234
|
-
appHeader: { control: { type: 'boolean' } },
|
|
235
|
-
progress: { control: { type: 'boolean' } },
|
|
236
|
-
notificationsEmpty: { control: { type: 'boolean' } },
|
|
237
|
-
notificationsLoading: { control: { type: 'boolean' } },
|
|
238
|
-
casesTypesEmpty: { control: { type: 'boolean' } },
|
|
239
|
-
recentsEmpty: { control: { type: 'boolean' } },
|
|
240
|
-
recentsLoading: { control: { type: 'boolean' } },
|
|
241
|
-
pinsLoading: { control: { type: 'boolean' } },
|
|
242
|
-
showCases: { control: { type: 'boolean' } }
|
|
243
|
-
};
|
|
244
|
-
export const ConfigurableAppShell = (args) => {
|
|
245
|
-
return (<ThemeOverride theme={{
|
|
246
|
-
components: {
|
|
247
|
-
'app-shell': {
|
|
248
|
-
nav: {
|
|
249
|
-
'background-color': args.navColor
|
|
250
|
-
},
|
|
251
|
-
header: {
|
|
252
|
-
'background-color': args.headerColor
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}}>
|
|
257
|
-
<AppShellDemo appHeader/>
|
|
258
|
-
</ThemeOverride>);
|
|
259
|
-
};
|
|
260
|
-
ConfigurableAppShell.args = {
|
|
261
|
-
navColor: '#252c32',
|
|
262
|
-
headerColor: '#e2f1ff'
|
|
263
|
-
};
|
|
264
|
-
ConfigurableAppShell.argTypes = {
|
|
265
|
-
navColor: { control: { type: 'color' } },
|
|
266
|
-
headerColor: { control: { type: 'color' } }
|
|
267
|
-
};
|
|
268
|
-
//# sourceMappingURL=AppShell.stories.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppShell.stories.jsx","sourceRoot":"","sources":["../../../src/core/AppShell/AppShell.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,IAAI,EACJ,YAAY,EACZ,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,WAAW,EACZ,MAAM,yBAAyB,CAAC;AASjC,OAAO,KAAK,aAAa,MAAM,mEAAmE,CAAC;AACnG,OAAO,KAAK,cAAc,MAAM,oEAAoE,CAAC;AAErG,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAEtE,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,YAAY,EACb,MAAM,kBAAkB,CAAC;AAE1B,YAAY,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC;AAE5C,eAAe;IACb,KAAK,EAAE,gBAAgB;IACvB,SAAS,EAAE,QAAQ;IACnB,cAAc,EAAE,CAAC,sBAAsB,CAAC;IACxC,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;CACM,CAAC;AAmCV,MAAM,CAAC,MAAM,YAAY,GAAgC,CAAC,IAAwB,EA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;YACL,UAAU,EAAE;gBACV,WAAW,EAAE;oBACX,GAAG,EAAE;wBACH,kBAAkB,EAAE,IAAI,CAAC,QAAQ;qBAClC;oBACD,MAAM,EAAE;wBACN,kBAAkB,EAAE,IAAI,CAAC,WAAW;qBACrC;iBACF;aACF;SACF,CAAC,CAEF;MAAA,CAAC,YAAY,CAAC,SAAS,EACzB;IAAA,EAAE,aAAa,CAAC,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,oBAAoB,CAAC,IAAI,GAAG;IAC1B,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,SAAS;CACvB,CAAC;AAEF,oBAAoB,CAAC,QAAQ,GAAG;IAC9B,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IACxC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;CAC5C,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\nimport { useState, useMemo, useRef } from 'react';\nimport type { MouseEvent } from 'react';\n\nimport {\n AppShell,\n AppShellList,\n Icon,\n registerIcon,\n useModalManager,\n useAfterInitialEffect,\n windowIsAvailable,\n ThemeOverride,\n menuHelpers\n} from '@pega/cosmos-react-core';\nimport type {\n AppShellProps,\n ContextSwitcherProps,\n ForwardProps,\n DrawerItemProps,\n SearchInputProps,\n ProgressProps\n} from '@pega/cosmos-react-core';\nimport * as bellSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/bell-solid.icon';\nimport * as clockSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/clock-solid.icon';\n\nimport { recentSearches, searchResults } from '../SearchInput/SearchInput.mocks';\nimport { MultiStepModal } from '../MultiStepForm/MultiStepForm.mocks';\n\nimport {\n defaultCases,\n defaultLinks,\n defaultMainContent,\n defaultNotifications,\n defaultRecents,\n operatorData\n} from './AppShell.mocks';\n\nregisterIcon(bellSolidIcon, clockSolidIcon);\n\nexport default {\n title: 'Core/App Shell',\n component: AppShell,\n excludeStories: ['ConfigurableAppShell'],\n parameters: {\n layout: 'fullscreen'\n }\n} as Meta;\n\ninterface AppShellStoryProps {\n /** Demo props */\n main?: AppShellProps['main'];\n appInfo?: AppShellProps['appInfo'];\n searchPage?: AppShellProps['searchPage'];\n banners?: AppShellProps['banners'];\n cases?: AppShellProps['cases'];\n caseLinks?: AppShellProps['links'];\n createLinks?: any[];\n recentItems?: any[];\n utils?: AppShellProps['utils'];\n onLinkClick?: (name: string) => void;\n collapsedHoverMenus?: boolean;\n\n /** Storybook controls */\n appName?: AppShellProps['appInfo']['appName'];\n appNameHidden?: AppShellProps['appInfo']['appNameHidden'];\n portalName?: AppShellProps['appInfo']['portalName'];\n href?: AppShellProps['appInfo']['href'];\n imageSrc?: AppShellProps['appInfo']['imageSrc'];\n fullImageSrc?: AppShellProps['appInfo']['fullImageSrc'];\n withSearch?: boolean;\n appHeader?: AppShellProps['appHeader'];\n progress?: AppShellProps['progress'];\n notificationsEmpty?: boolean;\n notificationsLoading?: boolean;\n casesTypesEmpty?: boolean;\n recentsEmpty?: boolean;\n recentsLoading?: boolean;\n pinsLoading?: boolean;\n showCases?: boolean;\n}\n\nexport const AppShellDemo: StoryFn<AppShellStoryProps> = (args: AppShellStoryProps) => {\n const [activeAppName, setActiveAppName] = useState(args.appName || 'UI Audit');\n const caseLinks = args.caseLinks || defaultLinks;\n const showSearch = args.withSearch !== undefined ? args.withSearch : true;\n\n const { create: createModal } = useModalManager();\n const [links, setLinks] = useState<AppShellProps['links']>(caseLinks);\n const [notifications, setNotifications] =\n useState<(DrawerItemProps & ForwardProps)[]>(defaultNotifications);\n const [recents, setRecents] = useState<(DrawerItemProps & ForwardProps)[]>(\n args.recentItems || defaultRecents\n );\n const [numNewNotifications, setNumNewNotifications] = useState(\n notifications.filter(x => x.unread).length\n );\n const [searchVal, setSearchVal] = useState('');\n const [searchLoading, setSearchLoading] = useState(false);\n const [results, setResults] = useState<SearchInputProps['searchResults']>([]);\n const [searchTimeout, setSearchTimeout] = useState<number | null>();\n const [progress, setProgress] = useState<ProgressProps['message']>('');\n\n useAfterInitialEffect(() => {\n setLinks(caseLinks);\n }, [caseLinks]);\n\n const addHandlersToLinks = (appShellLinks: AppShellProps['links']): AppShellProps['links'] => {\n return (appShellLinks || []).map(link => ({\n ...link,\n onClick(e: MouseEvent<HTMLAnchorElement>) {\n e.preventDefault();\n setLinks((prevLinks = []) => {\n return prevLinks.map(prevLink => {\n return {\n ...prevLink,\n active: prevLink.name === link.name\n };\n });\n });\n\n setProgress(`${link.name} loading...`);\n setTimeout(() => {\n args.onLinkClick?.(link.name);\n setProgress('');\n }, 1000);\n },\n links: link.links ? addHandlersToLinks(link.links) : undefined\n }));\n };\n\n const linksWithHandlers = useMemo<AppShellProps['links']>(() => {\n return addHandlersToLinks(links);\n }, [links]);\n\n const defaultCreateLinks = [\n 'Data Analyst interview',\n 'Designer interview',\n 'Product Manager interview',\n 'Sales Representative interview',\n 'Software Engineer interview'\n ].map(name => ({\n name,\n onClick: () => {\n createModal(MultiStepModal, { heading: name, stepIndicator: 'horizontal' });\n }\n }));\n\n const handleNotificationClick = (passedId: string) => {\n setNotifications(cur =>\n cur.map(({ id, unread, ...item }) => ({\n id,\n unread: passedId === id ? false : unread,\n ...item\n }))\n );\n };\n\n const handlePinToggle = (passedId: string) => {\n setRecents(cur =>\n cur.map(({ id, pinned, ...item }) => ({\n id,\n pinned: passedId === id ? !pinned : pinned,\n ...item\n }))\n );\n };\n\n const onSearch = (val: string) => {\n setSearchVal(val);\n if (searchTimeout) {\n clearTimeout(searchTimeout);\n setSearchTimeout(null);\n }\n setResults([]);\n if (val) {\n setSearchLoading(true);\n const timeout = setTimeout(() => {\n setSearchLoading(false);\n setResults(searchResults.filter(res => res.primary.includes(val)));\n }, 1000);\n setSearchTimeout(timeout as unknown as number);\n }\n };\n\n const notificationViewItems = [\n {\n id: '234',\n items: args.notificationsEmpty ? [] : notifications,\n loading: args.notificationsLoading,\n onItemClick: handleNotificationClick,\n viewAll: {\n href: '#'\n },\n emptyText: 'No notifications'\n }\n ];\n\n const recentViewItems = [\n {\n id: '456',\n items: recents.filter(x => x.pinned),\n loading: args.pinsLoading,\n onItemPinToggle: handlePinToggle,\n viewAll: {\n href: '#'\n },\n displayPins: true,\n headingText: 'Pinned items',\n emptyText: 'No pinned items'\n },\n {\n id: '789',\n items: args.recentsEmpty ? [] : recents,\n loading: args.recentsLoading,\n onItemPinToggle: handlePinToggle,\n viewAll: {\n href: '#'\n },\n displayPins: true,\n headingText: 'Recently viewed',\n emptyText: 'No recents'\n }\n ];\n\n const [contexts, setContexts] = useState<ContextSwitcherProps['contexts']>([\n {\n id: '1',\n primary: activeAppName,\n selected: true,\n visual: <Icon name='app' />\n },\n {\n id: '2',\n primary: 'BI Warehouse',\n selected: false,\n visual: <Icon name='cloud' />\n }\n ]);\n\n const newNotificationCountTimerRef = useRef(NaN);\n\n const defaultUtils = [\n {\n name: 'Notifications',\n visual: <Icon name='bell-solid' />,\n count: args.notificationsEmpty ? 0 : numNewNotifications,\n drawerView: <AppShellList listView={notificationViewItems} />,\n onDrawerOpen: () => {\n clearInterval(newNotificationCountTimerRef.current);\n setNumNewNotifications(0);\n },\n onDrawerClose: () => {\n if (windowIsAvailable) {\n // Mock new notifications arriving on a minute interval after the drawer closes.\n // Let's face it, you're popular.\n newNotificationCountTimerRef.current = window.setInterval(() => {\n setNumNewNotifications(cur => cur + 2);\n }, 60000);\n }\n }\n },\n {\n name: 'Recents',\n visual: <Icon name='clock-solid' />,\n drawerView: <AppShellList listView={recentViewItems} />\n }\n ];\n\n return (\n <AppShell\n contextSwitcher={{\n contexts,\n onContextClick: (id: string) => {\n setActiveAppName(menuHelpers.getItem(contexts, id)!.primary);\n setContexts(cur =>\n cur!.map(ctx => {\n return { ...ctx, selected: id === ctx.id };\n })\n );\n }\n }}\n appInfo={\n args.appInfo || {\n href: args.href || 'https://www.pega.com/',\n imageSrc: args.imageSrc || './pega_logo_vertical_white.svg',\n fullImageSrc:\n args.fullImageSrc ||\n 'https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg',\n appName: activeAppName,\n portalName: args.portalName || 'Scrum',\n appNameHidden: args.appNameHidden\n }\n }\n searchInput={\n showSearch\n ? {\n onSearchChange: (value: string) => {\n onSearch(value);\n },\n value: searchVal,\n searchResults: results,\n recentSearches,\n loading: searchLoading,\n filters: ['Story', 'Bug'],\n advancedSearchLink: { href: '/' }\n }\n : undefined\n }\n appHeader={args.appHeader}\n searchPage={args.searchPage}\n caseTypes={args.casesTypesEmpty ? [] : args.createLinks || defaultCreateLinks}\n links={linksWithHandlers}\n main={args.main || defaultMainContent}\n progress={args.progress || progress}\n cases={args.showCases ? defaultCases : args.cases}\n banners={args.banners}\n operator={operatorData}\n utils={args.utils || defaultUtils}\n collapsedHoverMenus={args.collapsedHoverMenus}\n />\n );\n};\n\nAppShellDemo.args = {\n appName: 'UI Audit',\n appNameHidden: false,\n portalName: 'Scrum',\n href: 'https://www.pega.com/',\n imageSrc: './pega_logo_vertical_white.svg',\n fullImageSrc: 'https://www.pega.com/themes/custom/pegawww_theme/images/pega-logo.svg',\n withSearch: true,\n appHeader: true,\n progress: false,\n notificationsEmpty: false,\n notificationsLoading: false,\n casesTypesEmpty: false,\n recentsEmpty: false,\n recentsLoading: false,\n pinsLoading: false,\n showCases: false\n};\n\nAppShellDemo.argTypes = {\n appName: { control: { type: 'text' } },\n appNameHidden: { control: { type: 'boolean' } },\n portalName: { control: { type: 'text' } },\n href: { control: { type: 'text' } },\n imageSrc: { control: { type: 'text' } },\n fullImageSrc: { control: { type: 'text' } },\n withSearch: { control: { type: 'boolean' } },\n appHeader: { control: { type: 'boolean' } },\n progress: { control: { type: 'boolean' } },\n notificationsEmpty: { control: { type: 'boolean' } },\n notificationsLoading: { control: { type: 'boolean' } },\n casesTypesEmpty: { control: { type: 'boolean' } },\n recentsEmpty: { control: { type: 'boolean' } },\n recentsLoading: { control: { type: 'boolean' } },\n pinsLoading: { control: { type: 'boolean' } },\n showCases: { control: { type: 'boolean' } }\n};\n\ninterface ConfigurableAppShellProps {\n navColor?: string;\n headerColor?: string;\n}\n\nexport const ConfigurableAppShell: StoryFn<ConfigurableAppShellProps> = (\n args: ConfigurableAppShellProps\n) => {\n return (\n <ThemeOverride\n theme={{\n components: {\n 'app-shell': {\n nav: {\n 'background-color': args.navColor\n },\n header: {\n 'background-color': args.headerColor\n }\n }\n }\n }}\n >\n <AppShellDemo appHeader />\n </ThemeOverride>\n );\n};\n\nConfigurableAppShell.args = {\n navColor: '#252c32',\n headerColor: '#e2f1ff'\n};\n\nConfigurableAppShell.argTypes = {\n navColor: { control: { type: 'color' } },\n headerColor: { control: { type: 'color' } }\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppShell.styles.d.ts","sourceRoot":"","sources":["../../../src/core/AppShell/AppShell.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,yGAE7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppShell.styles.js","sourceRoot":"","sources":["../../../src/core/AppShell/AppShell.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAA;;CAE1C,CAAC","sourcesContent":["import styled from 'styled-components';\n\nexport const StyledMainContent = styled.div`\n min-height: inherit;\n`;\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { StoryFn } from '@storybook/react';
|
|
2
|
-
import type { AvatarProps } from '@pega/cosmos-react-core';
|
|
3
|
-
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/dist/types-a5624094").ReactRenderer, import("@storybook/csf").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const DefaultAvatar: StoryFn<AvatarProps>;
|
|
6
|
-
export declare const TextOnlyAvatar: StoryFn<AvatarProps>;
|
|
7
|
-
export declare const TransparentAvatar: StoryFn<AvatarProps>;
|
|
8
|
-
export declare const IconAvatar: StoryFn<AvatarProps>;
|
|
9
|
-
export declare const StatusAvatar: StoryFn<AvatarProps>;
|
|
10
|
-
interface ConfigurableAvatarProps extends AvatarProps {
|
|
11
|
-
backgroundColor?: string;
|
|
12
|
-
borderRadius?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const ConfigurableAvatar: StoryFn<ConfigurableAvatarProps>;
|
|
15
|
-
//# sourceMappingURL=Avatar.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Avatar/Avatar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;;AAE3D,wBAcU;AAEV,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,WAAW,CAE9C,CAAC;AAWF,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,WAAW,CAE/C,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,WAAW,CASlD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,OAAO,CAAC,WAAW,CAW3C,CAAC;AAcF,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,WAAW,CAE7C,CAAC;AAUF,UAAU,uBAAwB,SAAQ,WAAW;IACnD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAC,uBAAuB,CAgB/D,CAAC"}
|