@pega/cosmos-react-demos 5.0.0-dev.4.7 → 5.0.0-dev.4.8
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/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 -229
- 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 -306
- 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 -15
- package/jsx/core/AppShell/AppShell.mocks.d.ts.map +0 -1
- package/jsx/core/AppShell/AppShell.mocks.jsx +0 -132
- package/jsx/core/AppShell/AppShell.mocks.jsx.map +0 -1
- package/jsx/core/AppShell/AppShell.stories.d.ts +0 -39
- package/jsx/core/AppShell/AppShell.stories.d.ts.map +0 -1
- package/jsx/core/AppShell/AppShell.stories.jsx +0 -266
- 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 -77
- 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 -103
- 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 -105
- 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 -90
- 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 -11
- 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 -24
- package/jsx/core/ComboBox/ComboBox.stories.d.ts.map +0 -1
- package/jsx/core/ComboBox/ComboBox.stories.jsx +0 -375
- 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 -54
- 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 -51
- 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 -106
- 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 -51
- package/jsx/core/DateTime/DateTime.stories.d.ts.map +0 -1
- package/jsx/core/DateTime/DateTime.stories.jsx +0 -301
- 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 -49
- 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 -89
- 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 -12
- package/jsx/core/FieldGroup/FieldGroupList.stories.d.ts.map +0 -1
- package/jsx/core/FieldGroup/FieldGroupList.stories.jsx +0 -134
- 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.stories.d.ts +0 -20
- package/jsx/core/File/FileDisplay.stories.d.ts.map +0 -1
- package/jsx/core/File/FileDisplay.stories.jsx +0 -138
- package/jsx/core/File/FileDisplay.stories.jsx.map +0 -1
- package/jsx/core/File/FileInput.stories.d.ts +0 -10
- package/jsx/core/File/FileInput.stories.d.ts.map +0 -1
- package/jsx/core/File/FileInput.stories.jsx +0 -97
- package/jsx/core/File/FileInput.stories.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 -265
- 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/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.stories.d.ts +0 -6
- package/jsx/core/IconPicker/IconPicker.stories.d.ts.map +0 -1
- package/jsx/core/IconPicker/IconPicker.stories.jsx +0 -35
- 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 -160
- 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 -15
- package/jsx/core/Lightbox/Lightbox.mocks.d.ts.map +0 -1
- package/jsx/core/Lightbox/Lightbox.mocks.js +0 -59
- 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 -55
- package/jsx/core/Lightbox/Lightbox.stories.jsx.map +0 -1
- package/jsx/core/Link/Link.stories.d.ts +0 -13
- package/jsx/core/Link/Link.stories.d.ts.map +0 -1
- package/jsx/core/Link/Link.stories.jsx +0 -43
- 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 -66
- package/jsx/core/ListToolbar/ListToolbar.mocks.jsx.map +0 -1
- package/jsx/core/ListToolbar/ListToolbar.stories.d.ts +0 -12
- package/jsx/core/ListToolbar/ListToolbar.stories.d.ts.map +0 -1
- package/jsx/core/ListToolbar/ListToolbar.stories.jsx +0 -118
- 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 -9
- package/jsx/core/LiveLog/LiveLog.stories.d.ts.map +0 -1
- package/jsx/core/LiveLog/LiveLog.stories.jsx +0 -19
- package/jsx/core/LiveLog/LiveLog.stories.jsx.map +0 -1
- package/jsx/core/Location/Location.stories.d.ts +0 -15
- package/jsx/core/Location/Location.stories.d.ts.map +0 -1
- package/jsx/core/Location/Location.stories.jsx +0 -143
- package/jsx/core/Location/Location.stories.jsx.map +0 -1
- package/jsx/core/Location/locationTestUtils.d.ts +0 -3
- package/jsx/core/Location/locationTestUtils.d.ts.map +0 -1
- package/jsx/core/Location/locationTestUtils.js +0 -29
- 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 -179
- 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 -196
- 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 -188
- 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 -4
- package/jsx/core/Modal/Modal.mocks.d.ts.map +0 -1
- package/jsx/core/Modal/Modal.mocks.jsx +0 -44
- package/jsx/core/Modal/Modal.mocks.jsx.map +0 -1
- package/jsx/core/Modal/Modal.stories.d.ts +0 -35
- package/jsx/core/Modal/Modal.stories.d.ts.map +0 -1
- package/jsx/core/Modal/Modal.stories.jsx +0 -315
- 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 -401
- 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 -299
- 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 -33
- package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
- package/jsx/core/PageTemplates/PageTemplates.stories.jsx +0 -287
- 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 -53
- 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 -98
- package/jsx/core/RadioButton/RadioButton.stories.jsx.map +0 -1
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +0 -11
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +0 -1
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +0 -107
- 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 -7
- package/jsx/core/SearchInput/SearchInput.stories.d.ts.map +0 -1
- package/jsx/core/SearchInput/SearchInput.stories.jsx +0 -44
- 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 -84
- 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 -79
- 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 -36
- 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.stories.d.ts +0 -9
- package/jsx/core/Tabs/Tabs.stories.d.ts.map +0 -1
- package/jsx/core/Tabs/Tabs.stories.jsx +0 -59
- 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 -72
- package/jsx/core/TextArea/TextArea.stories.jsx.map +0 -1
- package/jsx/core/Toaster/Toaster.stories.d.ts +0 -5
- package/jsx/core/Toaster/Toaster.stories.d.ts.map +0 -1
- package/jsx/core/Toaster/Toaster.stories.jsx +0 -27
- 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 -8
- package/jsx/dnd/StandardDragDropList/Demo.d.ts.map +0 -1
- package/jsx/dnd/StandardDragDropList/Demo.jsx +0 -156
- 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 -16
- 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 -5
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +0 -1
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx +0 -15
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx.map +0 -1
- package/jsx/dnd/StandardDragDropList/mockData.d.ts +0 -26
- package/jsx/dnd/StandardDragDropList/mockData.d.ts.map +0 -1
- package/jsx/dnd/StandardDragDropList/mockData.js +0 -77
- 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 -330
- package/jsx/rte/Editor/Editor.mocks.d.ts.map +0 -1
- package/jsx/rte/Editor/Editor.mocks.jsx +0 -23
- package/jsx/rte/Editor/Editor.mocks.jsx.map +0 -1
- package/jsx/rte/Editor/Editor.stories.d.ts +0 -13
- package/jsx/rte/Editor/Editor.stories.d.ts.map +0 -1
- package/jsx/rte/Editor/Editor.stories.jsx +0 -126
- 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 -6
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +0 -1
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx +0 -45
- package/jsx/rte/RichTextEditor/RichTextEditor.stories.jsx.map +0 -1
- package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts +0 -8
- package/jsx/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +0 -1
- package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx +0 -96
- package/jsx/rte/RichTextEditor/RichTextViewer.stories.jsx.map +0 -1
- package/jsx/social/Chat/Chat.mocks.d.ts +0 -64
- package/jsx/social/Chat/Chat.mocks.d.ts.map +0 -1
- package/jsx/social/Chat/Chat.mocks.js +0 -744
- package/jsx/social/Chat/Chat.mocks.js.map +0 -1
- package/jsx/social/Chat/Chat.stories.d.ts +0 -52
- package/jsx/social/Chat/Chat.stories.d.ts.map +0 -1
- package/jsx/social/Chat/Chat.stories.jsx +0 -624
- package/jsx/social/Chat/Chat.stories.jsx.map +0 -1
- package/jsx/social/Email/Email.mocks.d.ts +0 -352
- package/jsx/social/Email/Email.mocks.d.ts.map +0 -1
- package/jsx/social/Email/Email.mocks.jsx +0 -1215
- package/jsx/social/Email/Email.mocks.jsx.map +0 -1
- package/jsx/social/Email/Email.stories.d.ts +0 -81
- package/jsx/social/Email/Email.stories.d.ts.map +0 -1
- package/jsx/social/Email/Email.stories.jsx +0 -1199
- 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 -53
- package/jsx/social/Feed/Feed.mocks.d.ts.map +0 -1
- package/jsx/social/Feed/Feed.mocks.jsx +0 -412
- 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 -215
- 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 -29
- 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 -182
- 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 -14
- package/jsx/work/Article/Article.mocks.d.ts.map +0 -1
- package/jsx/work/Article/Article.mocks.js +0 -14
- package/jsx/work/Article/Article.mocks.js.map +0 -1
- package/jsx/work/Article/Article.stories.d.ts +0 -17
- package/jsx/work/Article/Article.stories.d.ts.map +0 -1
- package/jsx/work/Article/Article.stories.jsx +0 -201
- package/jsx/work/Article/Article.stories.jsx.map +0 -1
- package/jsx/work/ArticleList/ArticleList.mocks.d.ts +0 -140
- package/jsx/work/ArticleList/ArticleList.mocks.d.ts.map +0 -1
- package/jsx/work/ArticleList/ArticleList.mocks.js +0 -414
- package/jsx/work/ArticleList/ArticleList.mocks.js.map +0 -1
- package/jsx/work/ArticleList/ArticleList.stories.d.ts +0 -14
- package/jsx/work/ArticleList/ArticleList.stories.d.ts.map +0 -1
- package/jsx/work/ArticleList/ArticleList.stories.jsx +0 -313
- 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 -397
- package/jsx/work/CaseView/Attachments.mocks.jsx.map +0 -1
- package/jsx/work/CaseView/CaseView.mocks.d.ts +0 -113
- package/jsx/work/CaseView/CaseView.mocks.d.ts.map +0 -1
- package/jsx/work/CaseView/CaseView.mocks.jsx +0 -596
- 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 -57
- 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/FileService.mock.d.ts +0 -28
- package/jsx/work/CaseView/FileService.mock.d.ts.map +0 -1
- package/jsx/work/CaseView/FileService.mock.jsx +0 -139
- package/jsx/work/CaseView/FileService.mock.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 -35
- 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 -39
- 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 -8
- package/jsx/work/Details/Details.stories.d.ts.map +0 -1
- package/jsx/work/Details/Details.stories.jsx +0 -87
- package/jsx/work/Details/Details.stories.jsx.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/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/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 -45
- 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 -5
- package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +0 -1
- package/jsx/work/Stakeholders/Stakeholders.stories.jsx +0 -91
- 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 -79
- 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 -144
- 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 -78
- package/jsx/work/Timeline/Timeline.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 -15
- package/jsx/wss/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
- package/jsx/wss/PageTemplates/PageTemplates.stories.jsx +0 -48
- package/jsx/wss/PageTemplates/PageTemplates.stories.jsx.map +0 -1
- package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts +0 -10
- package/jsx/wss/QuickCreate/QuickCreate.stories.d.ts.map +0 -1
- package/jsx/wss/QuickCreate/QuickCreate.stories.jsx +0 -37
- package/jsx/wss/QuickCreate/QuickCreate.stories.jsx.map +0 -1
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts +0 -3
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.d.ts.map +0 -1
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js +0 -15
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.mocks.js.map +0 -1
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts +0 -19
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.d.ts.map +0 -1
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js +0 -182
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.stories.js.map +0 -1
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +0 -5
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +0 -1
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js +0 -15
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.js.map +0 -1
- package/lib/condition-builder/ConditionBuilder/props.mock.d.ts +0 -6
- package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +0 -1
- package/lib/condition-builder/ConditionBuilder/props.mock.js +0 -229
- package/lib/condition-builder/ConditionBuilder/props.mock.js.map +0 -1
- package/lib/condition-builder/ConditionInput/ConditionInput.stories.d.ts +0 -10
- package/lib/condition-builder/ConditionInput/ConditionInput.stories.d.ts.map +0 -1
- package/lib/condition-builder/ConditionInput/ConditionInput.stories.js +0 -41
- package/lib/condition-builder/ConditionInput/ConditionInput.stories.js.map +0 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +0 -4
- package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +0 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js +0 -233
- package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +0 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts +0 -8
- package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +0 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.js +0 -24
- package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.js.map +0 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts +0 -9
- package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts.map +0 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.js +0 -35
- package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.js.map +0 -1
- package/lib/core/AIButton/AIButton.mocks.d.ts +0 -22
- package/lib/core/AIButton/AIButton.mocks.d.ts.map +0 -1
- package/lib/core/AIButton/AIButton.mocks.js +0 -139
- package/lib/core/AIButton/AIButton.mocks.js.map +0 -1
- package/lib/core/AIButton/AIButton.stories.d.ts +0 -23
- package/lib/core/AIButton/AIButton.stories.d.ts.map +0 -1
- package/lib/core/AIButton/AIButton.stories.js +0 -223
- package/lib/core/AIButton/AIButton.stories.js.map +0 -1
- package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts +0 -9
- package/lib/core/AdditionalInfo/AdditionalInfo.stories.d.ts.map +0 -1
- package/lib/core/AdditionalInfo/AdditionalInfo.stories.js +0 -16
- package/lib/core/AdditionalInfo/AdditionalInfo.stories.js.map +0 -1
- package/lib/core/AppShell/AppShell.mocks.d.ts +0 -15
- package/lib/core/AppShell/AppShell.mocks.d.ts.map +0 -1
- package/lib/core/AppShell/AppShell.mocks.js +0 -127
- package/lib/core/AppShell/AppShell.mocks.js.map +0 -1
- package/lib/core/AppShell/AppShell.stories.d.ts +0 -41
- package/lib/core/AppShell/AppShell.stories.d.ts.map +0 -1
- package/lib/core/AppShell/AppShell.stories.js +0 -267
- package/lib/core/AppShell/AppShell.stories.js.map +0 -1
- package/lib/core/AppShell/AppShell.styles.d.ts +0 -2
- package/lib/core/AppShell/AppShell.styles.d.ts.map +0 -1
- package/lib/core/AppShell/AppShell.styles.js +0 -5
- package/lib/core/AppShell/AppShell.styles.js.map +0 -1
- package/lib/core/Avatar/Avatar.stories.d.ts +0 -15
- package/lib/core/Avatar/Avatar.stories.d.ts.map +0 -1
- package/lib/core/Avatar/Avatar.stories.js +0 -76
- package/lib/core/Avatar/Avatar.stories.js.map +0 -1
- package/lib/core/Backdrop/Backdrop.stories.d.ts +0 -7
- package/lib/core/Backdrop/Backdrop.stories.d.ts.map +0 -1
- package/lib/core/Backdrop/Backdrop.stories.js +0 -26
- package/lib/core/Backdrop/Backdrop.stories.js.map +0 -1
- package/lib/core/Badges/Alert.stories.d.ts +0 -6
- package/lib/core/Badges/Alert.stories.d.ts.map +0 -1
- package/lib/core/Badges/Alert.stories.js +0 -16
- package/lib/core/Badges/Alert.stories.js.map +0 -1
- package/lib/core/Badges/Count.stories.d.ts +0 -6
- package/lib/core/Badges/Count.stories.d.ts.map +0 -1
- package/lib/core/Badges/Count.stories.js +0 -21
- package/lib/core/Badges/Count.stories.js.map +0 -1
- package/lib/core/Badges/Keyboard.stories.d.ts +0 -6
- package/lib/core/Badges/Keyboard.stories.d.ts.map +0 -1
- package/lib/core/Badges/Keyboard.stories.js +0 -16
- package/lib/core/Badges/Keyboard.stories.js.map +0 -1
- package/lib/core/Badges/Selection.stories.d.ts +0 -5
- package/lib/core/Badges/Selection.stories.d.ts.map +0 -1
- package/lib/core/Badges/Selection.stories.js +0 -10
- package/lib/core/Badges/Selection.stories.js.map +0 -1
- package/lib/core/Badges/Status.stories.d.ts +0 -11
- package/lib/core/Badges/Status.stories.d.ts.map +0 -1
- package/lib/core/Badges/Status.stories.js +0 -42
- package/lib/core/Badges/Status.stories.js.map +0 -1
- package/lib/core/Badges/Tag.stories.d.ts +0 -5
- package/lib/core/Badges/Tag.stories.d.ts.map +0 -1
- package/lib/core/Badges/Tag.stories.js +0 -10
- package/lib/core/Badges/Tag.stories.js.map +0 -1
- package/lib/core/Banner/Banner.mocks.d.ts +0 -18
- package/lib/core/Banner/Banner.mocks.d.ts.map +0 -1
- package/lib/core/Banner/Banner.mocks.js +0 -36
- package/lib/core/Banner/Banner.mocks.js.map +0 -1
- package/lib/core/Banner/Banner.stories.d.ts +0 -18
- package/lib/core/Banner/Banner.stories.d.ts.map +0 -1
- package/lib/core/Banner/Banner.stories.js +0 -154
- package/lib/core/Banner/Banner.stories.js.map +0 -1
- package/lib/core/Boolean/BooleanDisplay.stories.d.ts +0 -6
- package/lib/core/Boolean/BooleanDisplay.stories.d.ts.map +0 -1
- package/lib/core/Boolean/BooleanDisplay.stories.js +0 -20
- package/lib/core/Boolean/BooleanDisplay.stories.js.map +0 -1
- package/lib/core/Breadcrumbs/Breadcrumbs.mocks.d.ts +0 -2
- package/lib/core/Breadcrumbs/Breadcrumbs.mocks.d.ts.map +0 -1
- package/lib/core/Breadcrumbs/Breadcrumbs.mocks.js +0 -8
- package/lib/core/Breadcrumbs/Breadcrumbs.mocks.js.map +0 -1
- package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -11
- package/lib/core/Breadcrumbs/Breadcrumbs.stories.d.ts.map +0 -1
- package/lib/core/Breadcrumbs/Breadcrumbs.stories.js +0 -68
- package/lib/core/Breadcrumbs/Breadcrumbs.stories.js.map +0 -1
- package/lib/core/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -2
- package/lib/core/Breadcrumbs/Breadcrumbs.styles.d.ts.map +0 -1
- package/lib/core/Breadcrumbs/Breadcrumbs.styles.js +0 -12
- package/lib/core/Breadcrumbs/Breadcrumbs.styles.js.map +0 -1
- package/lib/core/Button/Button.stories.d.ts +0 -18
- package/lib/core/Button/Button.stories.d.ts.map +0 -1
- package/lib/core/Button/Button.stories.js +0 -80
- package/lib/core/Button/Button.stories.js.map +0 -1
- package/lib/core/Card/Card.stories.d.ts +0 -12
- package/lib/core/Card/Card.stories.d.ts.map +0 -1
- package/lib/core/Card/Card.stories.js +0 -51
- package/lib/core/Card/Card.stories.js.map +0 -1
- package/lib/core/Card/Card.styles.d.ts +0 -2
- package/lib/core/Card/Card.styles.d.ts.map +0 -1
- package/lib/core/Card/Card.styles.js +0 -5
- package/lib/core/Card/Card.styles.js.map +0 -1
- package/lib/core/Checkbox/Checkbox.stories.d.ts +0 -23
- package/lib/core/Checkbox/Checkbox.stories.d.ts.map +0 -1
- package/lib/core/Checkbox/Checkbox.stories.js +0 -102
- package/lib/core/Checkbox/Checkbox.stories.js.map +0 -1
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts +0 -11
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +0 -1
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.js +0 -72
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +0 -1
- package/lib/core/CheckboxGroup/CheckboxGroup.styles.d.ts +0 -4
- package/lib/core/CheckboxGroup/CheckboxGroup.styles.d.ts.map +0 -1
- package/lib/core/CheckboxGroup/CheckboxGroup.styles.js +0 -9
- package/lib/core/CheckboxGroup/CheckboxGroup.styles.js.map +0 -1
- package/lib/core/ColorPicker/ColorPicker.stories.d.ts +0 -10
- package/lib/core/ColorPicker/ColorPicker.stories.d.ts.map +0 -1
- package/lib/core/ColorPicker/ColorPicker.stories.js +0 -75
- package/lib/core/ColorPicker/ColorPicker.stories.js.map +0 -1
- package/lib/core/ColorPicker/ColorPicker.styles.d.ts +0 -4
- package/lib/core/ColorPicker/ColorPicker.styles.d.ts.map +0 -1
- package/lib/core/ColorPicker/ColorPicker.styles.js +0 -11
- package/lib/core/ColorPicker/ColorPicker.styles.js.map +0 -1
- package/lib/core/ComboBox/ComboBox.mocks.d.ts +0 -26
- package/lib/core/ComboBox/ComboBox.mocks.d.ts.map +0 -1
- package/lib/core/ComboBox/ComboBox.mocks.js +0 -57
- package/lib/core/ComboBox/ComboBox.mocks.js.map +0 -1
- package/lib/core/ComboBox/ComboBox.stories.d.ts +0 -34
- package/lib/core/ComboBox/ComboBox.stories.d.ts.map +0 -1
- package/lib/core/ComboBox/ComboBox.stories.js +0 -428
- package/lib/core/ComboBox/ComboBox.stories.js.map +0 -1
- package/lib/core/CompositeInput/CompositeInput.mocks.d.ts +0 -8
- package/lib/core/CompositeInput/CompositeInput.mocks.d.ts.map +0 -1
- package/lib/core/CompositeInput/CompositeInput.mocks.js +0 -6
- package/lib/core/CompositeInput/CompositeInput.mocks.js.map +0 -1
- package/lib/core/CompositeInput/CompositeInput.stories.d.ts +0 -9
- package/lib/core/CompositeInput/CompositeInput.stories.d.ts.map +0 -1
- package/lib/core/CompositeInput/CompositeInput.stories.js +0 -55
- package/lib/core/CompositeInput/CompositeInput.stories.js.map +0 -1
- package/lib/core/Configuration/Configuration.mocks.d.ts +0 -7
- package/lib/core/Configuration/Configuration.mocks.d.ts.map +0 -1
- package/lib/core/Configuration/Configuration.mocks.js +0 -6
- package/lib/core/Configuration/Configuration.mocks.js.map +0 -1
- package/lib/core/Configuration/Configuration.stories.d.ts +0 -25
- package/lib/core/Configuration/Configuration.stories.d.ts.map +0 -1
- package/lib/core/Configuration/Configuration.stories.js +0 -123
- package/lib/core/Configuration/Configuration.stories.js.map +0 -1
- package/lib/core/Configuration/Configuration.styles.d.ts +0 -6
- package/lib/core/Configuration/Configuration.styles.d.ts.map +0 -1
- package/lib/core/Configuration/Configuration.styles.js +0 -12
- package/lib/core/Configuration/Configuration.styles.js.map +0 -1
- package/lib/core/CreditCard/CreditCard.stories.d.ts +0 -14
- package/lib/core/CreditCard/CreditCard.stories.d.ts.map +0 -1
- package/lib/core/CreditCard/CreditCard.stories.js +0 -52
- package/lib/core/CreditCard/CreditCard.stories.js.map +0 -1
- package/lib/core/Currency/Currency.stories.d.ts +0 -19
- package/lib/core/Currency/Currency.stories.d.ts.map +0 -1
- package/lib/core/Currency/Currency.stories.js +0 -107
- package/lib/core/Currency/Currency.stories.js.map +0 -1
- package/lib/core/DangerButton/DangerButton.stories.d.ts +0 -6
- package/lib/core/DangerButton/DangerButton.stories.d.ts.map +0 -1
- package/lib/core/DangerButton/DangerButton.stories.js +0 -18
- package/lib/core/DangerButton/DangerButton.stories.js.map +0 -1
- package/lib/core/DateTime/DateTime.stories.d.ts +0 -51
- package/lib/core/DateTime/DateTime.stories.d.ts.map +0 -1
- package/lib/core/DateTime/DateTime.stories.js +0 -303
- package/lib/core/DateTime/DateTime.stories.js.map +0 -1
- package/lib/core/DateTime/DateTimeDisplay.stories.d.ts +0 -7
- package/lib/core/DateTime/DateTimeDisplay.stories.d.ts.map +0 -1
- package/lib/core/DateTime/DateTimeDisplay.stories.js +0 -50
- package/lib/core/DateTime/DateTimeDisplay.stories.js.map +0 -1
- package/lib/core/DateTime/DateTimePicker.stories.d.ts +0 -7
- package/lib/core/DateTime/DateTimePicker.stories.d.ts.map +0 -1
- package/lib/core/DateTime/DateTimePicker.stories.js +0 -35
- package/lib/core/DateTime/DateTimePicker.stories.js.map +0 -1
- package/lib/core/Dialog/Dialog.stories.d.ts +0 -7
- package/lib/core/Dialog/Dialog.stories.d.ts.map +0 -1
- package/lib/core/Dialog/Dialog.stories.js +0 -16
- package/lib/core/Dialog/Dialog.stories.js.map +0 -1
- package/lib/core/Dialog/FormDialog.mocks.d.ts +0 -27
- package/lib/core/Dialog/FormDialog.mocks.d.ts.map +0 -1
- package/lib/core/Dialog/FormDialog.mocks.js +0 -188
- package/lib/core/Dialog/FormDialog.mocks.js.map +0 -1
- package/lib/core/Dialog/InfoDialog.mocks.d.ts +0 -4
- package/lib/core/Dialog/InfoDialog.mocks.d.ts.map +0 -1
- package/lib/core/Dialog/InfoDialog.mocks.js +0 -41
- package/lib/core/Dialog/InfoDialog.mocks.js.map +0 -1
- package/lib/core/Drawer/Drawer.stories.d.ts +0 -7
- package/lib/core/Drawer/Drawer.stories.d.ts.map +0 -1
- package/lib/core/Drawer/Drawer.stories.js +0 -71
- package/lib/core/Drawer/Drawer.stories.js.map +0 -1
- package/lib/core/Drawer/Drawer.styles.d.ts +0 -2
- package/lib/core/Drawer/Drawer.styles.d.ts.map +0 -1
- package/lib/core/Drawer/Drawer.styles.js +0 -11
- package/lib/core/Drawer/Drawer.styles.js.map +0 -1
- package/lib/core/Email/EmailDisplay.stories.d.ts +0 -6
- package/lib/core/Email/EmailDisplay.stories.d.ts.map +0 -1
- package/lib/core/Email/EmailDisplay.stories.js +0 -20
- package/lib/core/Email/EmailDisplay.stories.js.map +0 -1
- package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts +0 -8
- package/lib/core/EmojiPicker/EmojiPicker.stories.d.ts.map +0 -1
- package/lib/core/EmojiPicker/EmojiPicker.stories.js +0 -43
- package/lib/core/EmojiPicker/EmojiPicker.stories.js.map +0 -1
- package/lib/core/EmptyState/EmptyState.stories.d.ts +0 -6
- package/lib/core/EmptyState/EmptyState.stories.d.ts.map +0 -1
- package/lib/core/EmptyState/EmptyState.stories.js +0 -19
- package/lib/core/EmptyState/EmptyState.stories.js.map +0 -1
- package/lib/core/ErrorState/ErrorState.stories.d.ts +0 -9
- package/lib/core/ErrorState/ErrorState.stories.d.ts.map +0 -1
- package/lib/core/ErrorState/ErrorState.stories.js +0 -21
- package/lib/core/ErrorState/ErrorState.stories.js.map +0 -1
- package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts +0 -7
- package/lib/core/ExpandCollapse/ExpandCollapse.stories.d.ts.map +0 -1
- package/lib/core/ExpandCollapse/ExpandCollapse.stories.js +0 -28
- package/lib/core/ExpandCollapse/ExpandCollapse.stories.js.map +0 -1
- package/lib/core/ExpandCollapse/ExpandCollapse.styles.d.ts +0 -4
- package/lib/core/ExpandCollapse/ExpandCollapse.styles.d.ts.map +0 -1
- package/lib/core/ExpandCollapse/ExpandCollapse.styles.js +0 -17
- package/lib/core/ExpandCollapse/ExpandCollapse.styles.js.map +0 -1
- package/lib/core/FieldGroup/FieldGroup.stories.d.ts +0 -20
- package/lib/core/FieldGroup/FieldGroup.stories.d.ts.map +0 -1
- package/lib/core/FieldGroup/FieldGroup.stories.js +0 -59
- package/lib/core/FieldGroup/FieldGroup.stories.js.map +0 -1
- package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +0 -25
- package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +0 -1
- package/lib/core/FieldGroup/FieldGroupList.mocks.js +0 -87
- package/lib/core/FieldGroup/FieldGroupList.mocks.js.map +0 -1
- package/lib/core/FieldGroup/FieldGroupList.stories.d.ts +0 -12
- package/lib/core/FieldGroup/FieldGroupList.stories.d.ts.map +0 -1
- package/lib/core/FieldGroup/FieldGroupList.stories.js +0 -114
- package/lib/core/FieldGroup/FieldGroupList.stories.js.map +0 -1
- package/lib/core/FieldValueList/FieldValueList.mocks.d.ts +0 -20
- package/lib/core/FieldValueList/FieldValueList.mocks.d.ts.map +0 -1
- package/lib/core/FieldValueList/FieldValueList.mocks.js +0 -51
- package/lib/core/FieldValueList/FieldValueList.mocks.js.map +0 -1
- package/lib/core/FieldValueList/FieldValueList.stories.d.ts +0 -11
- package/lib/core/FieldValueList/FieldValueList.stories.d.ts.map +0 -1
- package/lib/core/FieldValueList/FieldValueList.stories.js +0 -36
- package/lib/core/FieldValueList/FieldValueList.stories.js.map +0 -1
- package/lib/core/FieldValueList/FieldValueList.styles.d.ts +0 -2
- package/lib/core/FieldValueList/FieldValueList.styles.d.ts.map +0 -1
- package/lib/core/FieldValueList/FieldValueList.styles.js +0 -8
- package/lib/core/FieldValueList/FieldValueList.styles.js.map +0 -1
- package/lib/core/File/FileDisplay.stories.d.ts +0 -20
- package/lib/core/File/FileDisplay.stories.d.ts.map +0 -1
- package/lib/core/File/FileDisplay.stories.js +0 -139
- package/lib/core/File/FileDisplay.stories.js.map +0 -1
- package/lib/core/File/FileInput.stories.d.ts +0 -10
- package/lib/core/File/FileInput.stories.d.ts.map +0 -1
- package/lib/core/File/FileInput.stories.js +0 -85
- package/lib/core/File/FileInput.stories.js.map +0 -1
- package/lib/core/Flex/Flex.styles.d.ts +0 -10
- package/lib/core/Flex/Flex.styles.d.ts.map +0 -1
- package/lib/core/Flex/Flex.styles.js +0 -41
- package/lib/core/Flex/Flex.styles.js.map +0 -1
- package/lib/core/Flex/FlexContainer.stories.d.ts +0 -21
- package/lib/core/Flex/FlexContainer.stories.d.ts.map +0 -1
- package/lib/core/Flex/FlexContainer.stories.js +0 -82
- package/lib/core/Flex/FlexContainer.stories.js.map +0 -1
- package/lib/core/Flex/FlexItem.stories.d.ts +0 -13
- package/lib/core/Flex/FlexItem.stories.d.ts.map +0 -1
- package/lib/core/Flex/FlexItem.stories.js +0 -41
- package/lib/core/Flex/FlexItem.stories.js.map +0 -1
- package/lib/core/Form/Form.mocks.d.ts +0 -14
- package/lib/core/Form/Form.mocks.d.ts.map +0 -1
- package/lib/core/Form/Form.mocks.js +0 -165
- package/lib/core/Form/Form.mocks.js.map +0 -1
- package/lib/core/Form/Form.stories.d.ts +0 -25
- package/lib/core/Form/Form.stories.d.ts.map +0 -1
- package/lib/core/Form/Form.stories.js +0 -94
- package/lib/core/Form/Form.stories.js.map +0 -1
- package/lib/core/Grid/Grid.styles.d.ts +0 -6
- package/lib/core/Grid/Grid.styles.d.ts.map +0 -1
- package/lib/core/Grid/Grid.styles.js +0 -36
- package/lib/core/Grid/Grid.styles.js.map +0 -1
- package/lib/core/Grid/GridContainer.stories.d.ts +0 -23
- package/lib/core/Grid/GridContainer.stories.d.ts.map +0 -1
- package/lib/core/Grid/GridContainer.stories.js +0 -115
- package/lib/core/Grid/GridContainer.stories.js.map +0 -1
- package/lib/core/Grid/GridItem.stories.d.ts +0 -12
- package/lib/core/Grid/GridItem.stories.d.ts.map +0 -1
- package/lib/core/Grid/GridItem.stories.js +0 -36
- package/lib/core/Grid/GridItem.stories.js.map +0 -1
- package/lib/core/HTML/HTML.stories.d.ts +0 -6
- package/lib/core/HTML/HTML.stories.d.ts.map +0 -1
- package/lib/core/HTML/HTML.stories.js +0 -14
- package/lib/core/HTML/HTML.stories.js.map +0 -1
- package/lib/core/Icon/Icon.mocks.d.ts +0 -26
- package/lib/core/Icon/Icon.mocks.d.ts.map +0 -1
- package/lib/core/Icon/Icon.mocks.js +0 -33
- package/lib/core/Icon/Icon.mocks.js.map +0 -1
- package/lib/core/Icon/Icon.stories.d.ts +0 -21
- package/lib/core/Icon/Icon.stories.d.ts.map +0 -1
- package/lib/core/Icon/Icon.stories.js +0 -101
- package/lib/core/Icon/Icon.stories.js.map +0 -1
- package/lib/core/Icon/Icon.styles.d.ts +0 -4
- package/lib/core/Icon/Icon.styles.d.ts.map +0 -1
- package/lib/core/Icon/Icon.styles.js +0 -25
- package/lib/core/Icon/Icon.styles.js.map +0 -1
- package/lib/core/IconPicker/IconPicker.stories.d.ts +0 -6
- package/lib/core/IconPicker/IconPicker.stories.d.ts.map +0 -1
- package/lib/core/IconPicker/IconPicker.stories.js +0 -36
- package/lib/core/IconPicker/IconPicker.stories.js.map +0 -1
- package/lib/core/Image/Image.stories.d.ts +0 -5
- package/lib/core/Image/Image.stories.d.ts.map +0 -1
- package/lib/core/Image/Image.stories.js +0 -10
- package/lib/core/Image/Image.stories.js.map +0 -1
- package/lib/core/Input/Input.stories.d.ts +0 -20
- package/lib/core/Input/Input.stories.d.ts.map +0 -1
- package/lib/core/Input/Input.stories.js +0 -159
- package/lib/core/Input/Input.stories.js.map +0 -1
- package/lib/core/Label/Label.stories.d.ts +0 -10
- package/lib/core/Label/Label.stories.d.ts.map +0 -1
- package/lib/core/Label/Label.stories.js +0 -32
- package/lib/core/Label/Label.stories.js.map +0 -1
- package/lib/core/Lightbox/Lightbox.mocks.d.ts +0 -15
- package/lib/core/Lightbox/Lightbox.mocks.d.ts.map +0 -1
- package/lib/core/Lightbox/Lightbox.mocks.js +0 -59
- package/lib/core/Lightbox/Lightbox.mocks.js.map +0 -1
- package/lib/core/Lightbox/Lightbox.stories.d.ts +0 -10
- package/lib/core/Lightbox/Lightbox.stories.d.ts.map +0 -1
- package/lib/core/Lightbox/Lightbox.stories.js +0 -51
- package/lib/core/Lightbox/Lightbox.stories.js.map +0 -1
- package/lib/core/Link/Link.stories.d.ts +0 -13
- package/lib/core/Link/Link.stories.d.ts.map +0 -1
- package/lib/core/Link/Link.stories.js +0 -31
- package/lib/core/Link/Link.stories.js.map +0 -1
- package/lib/core/List/CommaSeparatedList.stories.d.ts +0 -6
- package/lib/core/List/CommaSeparatedList.stories.d.ts.map +0 -1
- package/lib/core/List/CommaSeparatedList.stories.js +0 -32
- package/lib/core/List/CommaSeparatedList.stories.js.map +0 -1
- package/lib/core/List/OrderedList.stories.d.ts +0 -10
- package/lib/core/List/OrderedList.stories.d.ts.map +0 -1
- package/lib/core/List/OrderedList.stories.js +0 -39
- package/lib/core/List/OrderedList.stories.js.map +0 -1
- package/lib/core/List/UnorderedList.stories.d.ts +0 -10
- package/lib/core/List/UnorderedList.stories.d.ts.map +0 -1
- package/lib/core/List/UnorderedList.stories.js +0 -39
- package/lib/core/List/UnorderedList.stories.js.map +0 -1
- package/lib/core/ListToolbar/ListToolbar.mocks.d.ts +0 -9
- package/lib/core/ListToolbar/ListToolbar.mocks.d.ts.map +0 -1
- package/lib/core/ListToolbar/ListToolbar.mocks.js +0 -43
- package/lib/core/ListToolbar/ListToolbar.mocks.js.map +0 -1
- package/lib/core/ListToolbar/ListToolbar.stories.d.ts +0 -12
- package/lib/core/ListToolbar/ListToolbar.stories.d.ts.map +0 -1
- package/lib/core/ListToolbar/ListToolbar.stories.js +0 -104
- package/lib/core/ListToolbar/ListToolbar.stories.js.map +0 -1
- package/lib/core/LiveLog/LiveLog.mocks.d.ts +0 -5
- package/lib/core/LiveLog/LiveLog.mocks.d.ts.map +0 -1
- package/lib/core/LiveLog/LiveLog.mocks.js +0 -29
- package/lib/core/LiveLog/LiveLog.mocks.js.map +0 -1
- package/lib/core/LiveLog/LiveLog.stories.d.ts +0 -9
- package/lib/core/LiveLog/LiveLog.stories.d.ts.map +0 -1
- package/lib/core/LiveLog/LiveLog.stories.js +0 -20
- package/lib/core/LiveLog/LiveLog.stories.js.map +0 -1
- package/lib/core/Location/Location.stories.d.ts +0 -15
- package/lib/core/Location/Location.stories.d.ts.map +0 -1
- package/lib/core/Location/Location.stories.js +0 -136
- package/lib/core/Location/Location.stories.js.map +0 -1
- package/lib/core/Location/locationTestUtils.d.ts +0 -3
- package/lib/core/Location/locationTestUtils.d.ts.map +0 -1
- package/lib/core/Location/locationTestUtils.js +0 -30
- package/lib/core/Location/locationTestUtils.js.map +0 -1
- package/lib/core/Menu/Menu.mocks.d.ts +0 -4
- package/lib/core/Menu/Menu.mocks.d.ts.map +0 -1
- package/lib/core/Menu/Menu.mocks.js +0 -179
- package/lib/core/Menu/Menu.mocks.js.map +0 -1
- package/lib/core/Menu/Menu.stories.d.ts +0 -18
- package/lib/core/Menu/Menu.stories.d.ts.map +0 -1
- package/lib/core/Menu/Menu.stories.js +0 -174
- package/lib/core/Menu/Menu.stories.js.map +0 -1
- package/lib/core/Menu/Menu.styles.d.ts +0 -2
- package/lib/core/Menu/Menu.styles.d.ts.map +0 -1
- package/lib/core/Menu/Menu.styles.js +0 -6
- package/lib/core/Menu/Menu.styles.js.map +0 -1
- package/lib/core/MenuButton/MenuButton.stories.d.ts +0 -16
- package/lib/core/MenuButton/MenuButton.stories.d.ts.map +0 -1
- package/lib/core/MenuButton/MenuButton.stories.js +0 -185
- package/lib/core/MenuButton/MenuButton.stories.js.map +0 -1
- package/lib/core/MetaList/MetaList.stories.d.ts +0 -9
- package/lib/core/MetaList/MetaList.stories.d.ts.map +0 -1
- package/lib/core/MetaList/MetaList.stories.js +0 -20
- package/lib/core/MetaList/MetaList.stories.js.map +0 -1
- package/lib/core/Modal/Modal.mocks.d.ts +0 -4
- package/lib/core/Modal/Modal.mocks.d.ts.map +0 -1
- package/lib/core/Modal/Modal.mocks.js +0 -36
- package/lib/core/Modal/Modal.mocks.js.map +0 -1
- package/lib/core/Modal/Modal.stories.d.ts +0 -35
- package/lib/core/Modal/Modal.stories.d.ts.map +0 -1
- package/lib/core/Modal/Modal.stories.js +0 -258
- package/lib/core/Modal/Modal.stories.js.map +0 -1
- package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts +0 -70
- package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +0 -1
- package/lib/core/MultiStepForm/MultiStepForm.mocks.js +0 -326
- package/lib/core/MultiStepForm/MultiStepForm.mocks.js.map +0 -1
- package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts +0 -7
- package/lib/core/MultiStepForm/MultiStepForm.stories.d.ts.map +0 -1
- package/lib/core/MultiStepForm/MultiStepForm.stories.js +0 -109
- package/lib/core/MultiStepForm/MultiStepForm.stories.js.map +0 -1
- package/lib/core/NoValue/NoValue.stories.d.ts +0 -6
- package/lib/core/NoValue/NoValue.stories.d.ts.map +0 -1
- package/lib/core/NoValue/NoValue.stories.js +0 -29
- package/lib/core/NoValue/NoValue.stories.js.map +0 -1
- package/lib/core/Number/Number.stories.d.ts +0 -19
- package/lib/core/Number/Number.stories.d.ts.map +0 -1
- package/lib/core/Number/Number.stories.js +0 -300
- package/lib/core/Number/Number.stories.js.map +0 -1
- package/lib/core/PageTemplates/PageTemplates.mocks.d.ts +0 -3
- package/lib/core/PageTemplates/PageTemplates.mocks.d.ts.map +0 -1
- package/lib/core/PageTemplates/PageTemplates.mocks.js +0 -10
- package/lib/core/PageTemplates/PageTemplates.mocks.js.map +0 -1
- package/lib/core/PageTemplates/PageTemplates.stories.d.ts +0 -33
- package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
- package/lib/core/PageTemplates/PageTemplates.stories.js +0 -272
- package/lib/core/PageTemplates/PageTemplates.stories.js.map +0 -1
- package/lib/core/PageTemplates/PageTemplates.styles.d.ts +0 -5
- package/lib/core/PageTemplates/PageTemplates.styles.d.ts.map +0 -1
- package/lib/core/PageTemplates/PageTemplates.styles.js +0 -40
- package/lib/core/PageTemplates/PageTemplates.styles.js.map +0 -1
- package/lib/core/Pagination/Pagination.stories.d.ts +0 -6
- package/lib/core/Pagination/Pagination.stories.d.ts.map +0 -1
- package/lib/core/Pagination/Pagination.stories.js +0 -20
- package/lib/core/Pagination/Pagination.stories.js.map +0 -1
- package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts +0 -6
- package/lib/core/Paragraph/ParagraphDisplay.stories.d.ts.map +0 -1
- package/lib/core/Paragraph/ParagraphDisplay.stories.js +0 -16
- package/lib/core/Paragraph/ParagraphDisplay.stories.js.map +0 -1
- package/lib/core/Phone/Phone.stories.d.ts +0 -13
- package/lib/core/Phone/Phone.stories.d.ts.map +0 -1
- package/lib/core/Phone/Phone.stories.js +0 -54
- package/lib/core/Phone/Phone.stories.js.map +0 -1
- package/lib/core/Popover/Popover.mocks.d.ts +0 -9
- package/lib/core/Popover/Popover.mocks.d.ts.map +0 -1
- package/lib/core/Popover/Popover.mocks.js +0 -105
- package/lib/core/Popover/Popover.mocks.js.map +0 -1
- package/lib/core/Popover/Popover.stories.d.ts +0 -13
- package/lib/core/Popover/Popover.stories.d.ts.map +0 -1
- package/lib/core/Popover/Popover.stories.js +0 -122
- package/lib/core/Popover/Popover.stories.js.map +0 -1
- package/lib/core/Progress/Progress.mocks.d.ts +0 -2
- package/lib/core/Progress/Progress.mocks.d.ts.map +0 -1
- package/lib/core/Progress/Progress.mocks.js +0 -2
- package/lib/core/Progress/Progress.mocks.js.map +0 -1
- package/lib/core/Progress/Progress.stories.d.ts +0 -16
- package/lib/core/Progress/Progress.stories.d.ts.map +0 -1
- package/lib/core/Progress/Progress.stories.js +0 -106
- package/lib/core/Progress/Progress.stories.js.map +0 -1
- package/lib/core/Progress/Progress.styles.d.ts +0 -2
- package/lib/core/Progress/Progress.styles.d.ts.map +0 -1
- package/lib/core/Progress/Progress.styles.js +0 -14
- package/lib/core/Progress/Progress.styles.js.map +0 -1
- package/lib/core/QRCode/QRCode.stories.d.ts +0 -9
- package/lib/core/QRCode/QRCode.stories.d.ts.map +0 -1
- package/lib/core/QRCode/QRCode.stories.js +0 -18
- package/lib/core/QRCode/QRCode.stories.js.map +0 -1
- package/lib/core/RadioButton/RadioButton.stories.d.ts +0 -23
- package/lib/core/RadioButton/RadioButton.stories.d.ts.map +0 -1
- package/lib/core/RadioButton/RadioButton.stories.js +0 -97
- package/lib/core/RadioButton/RadioButton.stories.js.map +0 -1
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +0 -11
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +0 -1
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js +0 -74
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +0 -1
- package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts +0 -4
- package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts.map +0 -1
- package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.js +0 -9
- package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.js.map +0 -1
- package/lib/core/Rating/Rating.stories.d.ts +0 -13
- package/lib/core/Rating/Rating.stories.d.ts.map +0 -1
- package/lib/core/Rating/Rating.stories.js +0 -38
- package/lib/core/Rating/Rating.stories.js.map +0 -1
- package/lib/core/SearchInput/SearchInput.mocks.d.ts +0 -12
- package/lib/core/SearchInput/SearchInput.mocks.d.ts.map +0 -1
- package/lib/core/SearchInput/SearchInput.mocks.js +0 -25
- package/lib/core/SearchInput/SearchInput.mocks.js.map +0 -1
- package/lib/core/SearchInput/SearchInput.stories.d.ts +0 -7
- package/lib/core/SearchInput/SearchInput.stories.d.ts.map +0 -1
- package/lib/core/SearchInput/SearchInput.stories.js +0 -45
- package/lib/core/SearchInput/SearchInput.stories.js.map +0 -1
- package/lib/core/Select/Select.stories.d.ts +0 -18
- package/lib/core/Select/Select.stories.d.ts.map +0 -1
- package/lib/core/Select/Select.stories.js +0 -73
- package/lib/core/Select/Select.stories.js.map +0 -1
- package/lib/core/Sentiment/Sentiment.stories.d.ts +0 -20
- package/lib/core/Sentiment/Sentiment.stories.d.ts.map +0 -1
- package/lib/core/Sentiment/Sentiment.stories.js +0 -68
- package/lib/core/Sentiment/Sentiment.stories.js.map +0 -1
- package/lib/core/SkipLinks/SkipLinks.stories.d.ts +0 -6
- package/lib/core/SkipLinks/SkipLinks.stories.d.ts.map +0 -1
- package/lib/core/SkipLinks/SkipLinks.stories.js +0 -28
- package/lib/core/SkipLinks/SkipLinks.stories.js.map +0 -1
- package/lib/core/SkipLinks/SkipLinks.styles.d.ts +0 -2
- package/lib/core/SkipLinks/SkipLinks.styles.d.ts.map +0 -1
- package/lib/core/SkipLinks/SkipLinks.styles.js +0 -16
- package/lib/core/SkipLinks/SkipLinks.styles.js.map +0 -1
- package/lib/core/Slider/Slider.stories.d.ts +0 -13
- package/lib/core/Slider/Slider.stories.d.ts.map +0 -1
- package/lib/core/Slider/Slider.stories.js +0 -66
- package/lib/core/Slider/Slider.stories.js.map +0 -1
- package/lib/core/SummaryItem/SummaryItem.stories.d.ts +0 -11
- package/lib/core/SummaryItem/SummaryItem.stories.d.ts.map +0 -1
- package/lib/core/SummaryItem/SummaryItem.stories.js +0 -32
- package/lib/core/SummaryItem/SummaryItem.stories.js.map +0 -1
- package/lib/core/SummaryList/SummaryList.mocks.d.ts +0 -20
- package/lib/core/SummaryList/SummaryList.mocks.d.ts.map +0 -1
- package/lib/core/SummaryList/SummaryList.mocks.js +0 -48
- package/lib/core/SummaryList/SummaryList.mocks.js.map +0 -1
- package/lib/core/SummaryList/SummaryList.stories.d.ts +0 -13
- package/lib/core/SummaryList/SummaryList.stories.d.ts.map +0 -1
- package/lib/core/SummaryList/SummaryList.stories.js +0 -126
- package/lib/core/SummaryList/SummaryList.stories.js.map +0 -1
- package/lib/core/SummaryList/mockUsers.d.ts +0 -16
- package/lib/core/SummaryList/mockUsers.d.ts.map +0 -1
- package/lib/core/SummaryList/mockUsers.js +0 -906
- package/lib/core/SummaryList/mockUsers.js.map +0 -1
- package/lib/core/Switch/Switch.stories.d.ts +0 -14
- package/lib/core/Switch/Switch.stories.d.ts.map +0 -1
- package/lib/core/Switch/Switch.stories.js +0 -57
- package/lib/core/Switch/Switch.stories.js.map +0 -1
- package/lib/core/Switch/Switch.styles.d.ts +0 -2
- package/lib/core/Switch/Switch.styles.d.ts.map +0 -1
- package/lib/core/Switch/Switch.styles.js +0 -13
- package/lib/core/Switch/Switch.styles.js.map +0 -1
- package/lib/core/Table/Table.mocks.d.ts +0 -25
- package/lib/core/Table/Table.mocks.d.ts.map +0 -1
- package/lib/core/Table/Table.mocks.js +0 -164
- package/lib/core/Table/Table.mocks.js.map +0 -1
- package/lib/core/Table/Table.stories.d.ts +0 -39
- package/lib/core/Table/Table.stories.d.ts.map +0 -1
- package/lib/core/Table/Table.stories.js +0 -167
- package/lib/core/Table/Table.stories.js.map +0 -1
- package/lib/core/Table/Table.styles.d.ts +0 -4
- package/lib/core/Table/Table.styles.d.ts.map +0 -1
- package/lib/core/Table/Table.styles.js +0 -9
- package/lib/core/Table/Table.styles.js.map +0 -1
- package/lib/core/Tabs/Tabs.stories.d.ts +0 -9
- package/lib/core/Tabs/Tabs.stories.d.ts.map +0 -1
- package/lib/core/Tabs/Tabs.stories.js +0 -42
- package/lib/core/Tabs/Tabs.stories.js.map +0 -1
- package/lib/core/Text/Text.stories.d.ts +0 -25
- package/lib/core/Text/Text.stories.d.ts.map +0 -1
- package/lib/core/Text/Text.stories.js +0 -122
- package/lib/core/Text/Text.stories.js.map +0 -1
- package/lib/core/TextArea/TextArea.stories.d.ts +0 -14
- package/lib/core/TextArea/TextArea.stories.d.ts.map +0 -1
- package/lib/core/TextArea/TextArea.stories.js +0 -71
- package/lib/core/TextArea/TextArea.stories.js.map +0 -1
- package/lib/core/Toaster/Toaster.stories.d.ts +0 -5
- package/lib/core/Toaster/Toaster.stories.d.ts.map +0 -1
- package/lib/core/Toaster/Toaster.stories.js +0 -26
- package/lib/core/Toaster/Toaster.stories.js.map +0 -1
- package/lib/core/Tooltip/Tooltip.stories.d.ts +0 -11
- package/lib/core/Tooltip/Tooltip.stories.d.ts.map +0 -1
- package/lib/core/Tooltip/Tooltip.stories.js +0 -39
- package/lib/core/Tooltip/Tooltip.stories.js.map +0 -1
- package/lib/core/Tooltip/Tooltip.styles.d.ts +0 -2
- package/lib/core/Tooltip/Tooltip.styles.d.ts.map +0 -1
- package/lib/core/Tooltip/Tooltip.styles.js +0 -23
- package/lib/core/Tooltip/Tooltip.styles.js.map +0 -1
- package/lib/core/Tree/Tree.mocks.d.ts +0 -2
- package/lib/core/Tree/Tree.mocks.d.ts.map +0 -1
- package/lib/core/Tree/Tree.mocks.js +0 -22
- package/lib/core/Tree/Tree.mocks.js.map +0 -1
- package/lib/core/Tree/Tree.stories.d.ts +0 -7
- package/lib/core/Tree/Tree.stories.d.ts.map +0 -1
- package/lib/core/Tree/Tree.stories.js +0 -91
- package/lib/core/Tree/Tree.stories.js.map +0 -1
- package/lib/core/Tree/Tree.styles.d.ts +0 -3
- package/lib/core/Tree/Tree.styles.d.ts.map +0 -1
- package/lib/core/Tree/Tree.styles.js +0 -10
- package/lib/core/Tree/Tree.styles.js.map +0 -1
- package/lib/core/URL/URL.stories.d.ts +0 -6
- package/lib/core/URL/URL.stories.d.ts.map +0 -1
- package/lib/core/URL/URL.stories.js +0 -18
- package/lib/core/URL/URL.stories.js.map +0 -1
- package/lib/dnd/DragDropList/DragDropList.mocks.d.ts +0 -15
- package/lib/dnd/DragDropList/DragDropList.mocks.d.ts.map +0 -1
- package/lib/dnd/DragDropList/DragDropList.mocks.js +0 -32
- package/lib/dnd/DragDropList/DragDropList.mocks.js.map +0 -1
- package/lib/dnd/DragDropList/DragDropList.stories.d.ts +0 -10
- package/lib/dnd/DragDropList/DragDropList.stories.d.ts.map +0 -1
- package/lib/dnd/DragDropList/DragDropList.stories.js +0 -42
- package/lib/dnd/DragDropList/DragDropList.stories.js.map +0 -1
- package/lib/dnd/DragDropList/DragDropList.styles.d.ts +0 -6
- package/lib/dnd/DragDropList/DragDropList.styles.d.ts.map +0 -1
- package/lib/dnd/DragDropList/DragDropList.styles.js +0 -32
- package/lib/dnd/DragDropList/DragDropList.styles.js.map +0 -1
- package/lib/dnd/StandardDragDropList/Demo.d.ts +0 -8
- package/lib/dnd/StandardDragDropList/Demo.d.ts.map +0 -1
- package/lib/dnd/StandardDragDropList/Demo.js +0 -151
- package/lib/dnd/StandardDragDropList/Demo.js.map +0 -1
- package/lib/dnd/StandardDragDropList/GroupConfig.d.ts +0 -10
- package/lib/dnd/StandardDragDropList/GroupConfig.d.ts.map +0 -1
- package/lib/dnd/StandardDragDropList/GroupConfig.js +0 -18
- package/lib/dnd/StandardDragDropList/GroupConfig.js.map +0 -1
- package/lib/dnd/StandardDragDropList/ItemConfig.d.ts +0 -12
- package/lib/dnd/StandardDragDropList/ItemConfig.d.ts.map +0 -1
- package/lib/dnd/StandardDragDropList/ItemConfig.js +0 -20
- package/lib/dnd/StandardDragDropList/ItemConfig.js.map +0 -1
- package/lib/dnd/StandardDragDropList/Popover.d.ts +0 -14
- package/lib/dnd/StandardDragDropList/Popover.d.ts.map +0 -1
- package/lib/dnd/StandardDragDropList/Popover.js +0 -33
- package/lib/dnd/StandardDragDropList/Popover.js.map +0 -1
- package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts +0 -16
- package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts.map +0 -1
- package/lib/dnd/StandardDragDropList/SelectionMenu.js +0 -100
- package/lib/dnd/StandardDragDropList/SelectionMenu.js.map +0 -1
- package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +0 -5
- package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +0 -1
- package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.js +0 -13
- package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.js.map +0 -1
- package/lib/dnd/StandardDragDropList/mockData.d.ts +0 -26
- package/lib/dnd/StandardDragDropList/mockData.d.ts.map +0 -1
- package/lib/dnd/StandardDragDropList/mockData.js +0 -78
- package/lib/dnd/StandardDragDropList/mockData.js.map +0 -1
- package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts +0 -8
- package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.d.ts.map +0 -1
- package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.js +0 -87
- package/lib/rte/DynamicContentEditor/DynamicContentEditor.stories.js.map +0 -1
- package/lib/rte/DynamicContentEditor/FieldSelector.d.ts +0 -14
- package/lib/rte/DynamicContentEditor/FieldSelector.d.ts.map +0 -1
- package/lib/rte/DynamicContentEditor/FieldSelector.js +0 -83
- package/lib/rte/DynamicContentEditor/FieldSelector.js.map +0 -1
- package/lib/rte/Editor/Editor.mocks.d.ts +0 -330
- package/lib/rte/Editor/Editor.mocks.d.ts.map +0 -1
- package/lib/rte/Editor/Editor.mocks.js +0 -26
- package/lib/rte/Editor/Editor.mocks.js.map +0 -1
- package/lib/rte/Editor/Editor.stories.d.ts +0 -13
- package/lib/rte/Editor/Editor.stories.d.ts.map +0 -1
- package/lib/rte/Editor/Editor.stories.js +0 -91
- package/lib/rte/Editor/Editor.stories.js.map +0 -1
- package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts +0 -3
- package/lib/rte/RichTextEditor/RichTextEditor.mocks.d.ts.map +0 -1
- package/lib/rte/RichTextEditor/RichTextEditor.mocks.js +0 -36
- package/lib/rte/RichTextEditor/RichTextEditor.mocks.js.map +0 -1
- package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts +0 -6
- package/lib/rte/RichTextEditor/RichTextEditor.stories.d.ts.map +0 -1
- package/lib/rte/RichTextEditor/RichTextEditor.stories.js +0 -46
- package/lib/rte/RichTextEditor/RichTextEditor.stories.js.map +0 -1
- package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts +0 -8
- package/lib/rte/RichTextEditor/RichTextViewer.stories.d.ts.map +0 -1
- package/lib/rte/RichTextEditor/RichTextViewer.stories.js +0 -79
- package/lib/rte/RichTextEditor/RichTextViewer.stories.js.map +0 -1
- package/lib/social/Chat/Chat.mocks.d.ts +0 -64
- package/lib/social/Chat/Chat.mocks.d.ts.map +0 -1
- package/lib/social/Chat/Chat.mocks.js +0 -744
- package/lib/social/Chat/Chat.mocks.js.map +0 -1
- package/lib/social/Chat/Chat.stories.d.ts +0 -66
- package/lib/social/Chat/Chat.stories.d.ts.map +0 -1
- package/lib/social/Chat/Chat.stories.js +0 -585
- package/lib/social/Chat/Chat.stories.js.map +0 -1
- package/lib/social/Email/Email.mocks.d.ts +0 -352
- package/lib/social/Email/Email.mocks.d.ts.map +0 -1
- package/lib/social/Email/Email.mocks.js +0 -1216
- package/lib/social/Email/Email.mocks.js.map +0 -1
- package/lib/social/Email/Email.stories.d.ts +0 -81
- package/lib/social/Email/Email.stories.d.ts.map +0 -1
- package/lib/social/Email/Email.stories.js +0 -1167
- package/lib/social/Email/Email.stories.js.map +0 -1
- package/lib/social/Email/Email.styles.d.ts +0 -3
- package/lib/social/Email/Email.styles.d.ts.map +0 -1
- package/lib/social/Email/Email.styles.js +0 -11
- package/lib/social/Email/Email.styles.js.map +0 -1
- package/lib/social/Feed/Feed.mocks.d.ts +0 -53
- package/lib/social/Feed/Feed.mocks.d.ts.map +0 -1
- package/lib/social/Feed/Feed.mocks.js +0 -404
- package/lib/social/Feed/Feed.mocks.js.map +0 -1
- package/lib/social/Feed/Feed.stories.d.ts +0 -11
- package/lib/social/Feed/Feed.stories.d.ts.map +0 -1
- package/lib/social/Feed/Feed.stories.js +0 -214
- package/lib/social/Feed/Feed.stories.js.map +0 -1
- package/lib/social/Feed/FeedNewPost.mocks.d.ts +0 -8
- package/lib/social/Feed/FeedNewPost.mocks.d.ts.map +0 -1
- package/lib/social/Feed/FeedNewPost.mocks.js +0 -30
- package/lib/social/Feed/FeedNewPost.mocks.js.map +0 -1
- package/lib/social/Feed/FeedPost.mocks.d.ts +0 -4
- package/lib/social/Feed/FeedPost.mocks.d.ts.map +0 -1
- package/lib/social/Feed/FeedPost.mocks.js +0 -180
- package/lib/social/Feed/FeedPost.mocks.js.map +0 -1
- package/lib/social/Feed/FeedReply.mocks.d.ts +0 -13
- package/lib/social/Feed/FeedReply.mocks.d.ts.map +0 -1
- package/lib/social/Feed/FeedReply.mocks.js +0 -81
- package/lib/social/Feed/FeedReply.mocks.js.map +0 -1
- package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts +0 -6
- package/lib/work/AppAnnouncement/AppAnnouncement.stories.d.ts.map +0 -1
- package/lib/work/AppAnnouncement/AppAnnouncement.stories.js +0 -31
- package/lib/work/AppAnnouncement/AppAnnouncement.stories.js.map +0 -1
- package/lib/work/Article/Article.mocks.d.ts +0 -14
- package/lib/work/Article/Article.mocks.d.ts.map +0 -1
- package/lib/work/Article/Article.mocks.js +0 -14
- package/lib/work/Article/Article.mocks.js.map +0 -1
- package/lib/work/Article/Article.stories.d.ts +0 -17
- package/lib/work/Article/Article.stories.d.ts.map +0 -1
- package/lib/work/Article/Article.stories.js +0 -200
- package/lib/work/Article/Article.stories.js.map +0 -1
- package/lib/work/ArticleList/ArticleList.mocks.d.ts +0 -140
- package/lib/work/ArticleList/ArticleList.mocks.d.ts.map +0 -1
- package/lib/work/ArticleList/ArticleList.mocks.js +0 -414
- package/lib/work/ArticleList/ArticleList.mocks.js.map +0 -1
- package/lib/work/ArticleList/ArticleList.stories.d.ts +0 -14
- package/lib/work/ArticleList/ArticleList.stories.d.ts.map +0 -1
- package/lib/work/ArticleList/ArticleList.stories.js +0 -312
- package/lib/work/ArticleList/ArticleList.stories.js.map +0 -1
- package/lib/work/Assignments/Assignments.stories.d.ts +0 -11
- package/lib/work/Assignments/Assignments.stories.d.ts.map +0 -1
- package/lib/work/Assignments/Assignments.stories.js +0 -63
- package/lib/work/Assignments/Assignments.stories.js.map +0 -1
- package/lib/work/CaseView/Attachments.mocks.d.ts +0 -3
- package/lib/work/CaseView/Attachments.mocks.d.ts.map +0 -1
- package/lib/work/CaseView/Attachments.mocks.js +0 -388
- package/lib/work/CaseView/Attachments.mocks.js.map +0 -1
- package/lib/work/CaseView/CaseView.mocks.d.ts +0 -113
- package/lib/work/CaseView/CaseView.mocks.d.ts.map +0 -1
- package/lib/work/CaseView/CaseView.mocks.js +0 -533
- package/lib/work/CaseView/CaseView.mocks.js.map +0 -1
- package/lib/work/CaseView/CaseView.stories.d.ts +0 -6
- package/lib/work/CaseView/CaseView.stories.d.ts.map +0 -1
- package/lib/work/CaseView/CaseView.stories.js +0 -58
- package/lib/work/CaseView/CaseView.stories.js.map +0 -1
- package/lib/work/CaseView/Details.mocks.d.ts +0 -3
- package/lib/work/CaseView/Details.mocks.d.ts.map +0 -1
- package/lib/work/CaseView/Details.mocks.js +0 -7
- package/lib/work/CaseView/Details.mocks.js.map +0 -1
- package/lib/work/CaseView/FileService.mock.d.ts +0 -28
- package/lib/work/CaseView/FileService.mock.d.ts.map +0 -1
- package/lib/work/CaseView/FileService.mock.js +0 -158
- package/lib/work/CaseView/FileService.mock.js.map +0 -1
- package/lib/work/CaseView/Pulse.mocks.d.ts +0 -7
- package/lib/work/CaseView/Pulse.mocks.d.ts.map +0 -1
- package/lib/work/CaseView/Pulse.mocks.js +0 -25
- package/lib/work/CaseView/Pulse.mocks.js.map +0 -1
- package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +0 -45
- package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +0 -1
- package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js +0 -165
- package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.js.map +0 -1
- package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts +0 -5
- package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.d.ts.map +0 -1
- package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js +0 -25
- package/lib/work/ConfigurableLayout/ConfigurableLayout.stories.js.map +0 -1
- package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts +0 -4
- package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.d.ts.map +0 -1
- package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js +0 -11
- package/lib/work/ConfigurableLayout/ConfigurableLayout.styles.js.map +0 -1
- package/lib/work/Confirmation/Confirmation.stories.d.ts +0 -13
- package/lib/work/Confirmation/Confirmation.stories.d.ts.map +0 -1
- package/lib/work/Confirmation/Confirmation.stories.js +0 -35
- package/lib/work/Confirmation/Confirmation.stories.js.map +0 -1
- package/lib/work/Confirmation/Confirmation.styles.d.ts +0 -2
- package/lib/work/Confirmation/Confirmation.styles.d.ts.map +0 -1
- package/lib/work/Confirmation/Confirmation.styles.js +0 -7
- package/lib/work/Confirmation/Confirmation.styles.js.map +0 -1
- package/lib/work/Details/Details.stories.d.ts +0 -8
- package/lib/work/Details/Details.stories.d.ts.map +0 -1
- package/lib/work/Details/Details.stories.js +0 -32
- package/lib/work/Details/Details.stories.js.map +0 -1
- package/lib/work/Glimpse/Glimpse.stories.d.ts +0 -5
- package/lib/work/Glimpse/Glimpse.stories.d.ts.map +0 -1
- package/lib/work/Glimpse/Glimpse.stories.js +0 -38
- package/lib/work/Glimpse/Glimpse.stories.js.map +0 -1
- package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts +0 -5
- package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.d.ts.map +0 -1
- package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js +0 -116
- package/lib/work/IntelligentGuidance/IntelligentGuidance.stories.js.map +0 -1
- package/lib/work/Predictions/Predictions.mocks.d.ts +0 -3
- package/lib/work/Predictions/Predictions.mocks.d.ts.map +0 -1
- package/lib/work/Predictions/Predictions.mocks.js +0 -6
- package/lib/work/Predictions/Predictions.mocks.js.map +0 -1
- package/lib/work/Predictions/Predictions.stories.d.ts +0 -5
- package/lib/work/Predictions/Predictions.stories.d.ts.map +0 -1
- package/lib/work/Predictions/Predictions.stories.js +0 -54
- package/lib/work/Predictions/Predictions.stories.js.map +0 -1
- package/lib/work/SearchResults/SearchResults.mocks.d.ts +0 -14
- package/lib/work/SearchResults/SearchResults.mocks.d.ts.map +0 -1
- package/lib/work/SearchResults/SearchResults.mocks.js +0 -98
- package/lib/work/SearchResults/SearchResults.mocks.js.map +0 -1
- package/lib/work/SearchResults/SearchResults.stories.d.ts +0 -9
- package/lib/work/SearchResults/SearchResults.stories.d.ts.map +0 -1
- package/lib/work/SearchResults/SearchResults.stories.js +0 -235
- package/lib/work/SearchResults/SearchResults.stories.js.map +0 -1
- package/lib/work/SearchResults/SearchResults.styles.d.ts +0 -5
- package/lib/work/SearchResults/SearchResults.styles.d.ts.map +0 -1
- package/lib/work/SearchResults/SearchResults.styles.js +0 -12
- package/lib/work/SearchResults/SearchResults.styles.js.map +0 -1
- package/lib/work/Stages/Stages.mocks.d.ts +0 -14
- package/lib/work/Stages/Stages.mocks.d.ts.map +0 -1
- package/lib/work/Stages/Stages.mocks.js +0 -39
- package/lib/work/Stages/Stages.mocks.js.map +0 -1
- package/lib/work/Stages/Stages.stories.d.ts +0 -11
- package/lib/work/Stages/Stages.stories.d.ts.map +0 -1
- package/lib/work/Stages/Stages.stories.js +0 -46
- package/lib/work/Stages/Stages.stories.js.map +0 -1
- package/lib/work/Stakeholders/Stakeholders.mocks.d.ts +0 -22
- package/lib/work/Stakeholders/Stakeholders.mocks.d.ts.map +0 -1
- package/lib/work/Stakeholders/Stakeholders.mocks.js +0 -38
- package/lib/work/Stakeholders/Stakeholders.mocks.js.map +0 -1
- package/lib/work/Stakeholders/Stakeholders.stories.d.ts +0 -5
- package/lib/work/Stakeholders/Stakeholders.stories.d.ts.map +0 -1
- package/lib/work/Stakeholders/Stakeholders.stories.js +0 -112
- package/lib/work/Stakeholders/Stakeholders.stories.js.map +0 -1
- package/lib/work/Tags/Tags.mocks.d.ts +0 -3
- package/lib/work/Tags/Tags.mocks.d.ts.map +0 -1
- package/lib/work/Tags/Tags.mocks.js +0 -76
- package/lib/work/Tags/Tags.mocks.js.map +0 -1
- package/lib/work/Tags/Tags.stories.d.ts +0 -10
- package/lib/work/Tags/Tags.stories.d.ts.map +0 -1
- package/lib/work/Tags/Tags.stories.js +0 -68
- package/lib/work/Tags/Tags.stories.js.map +0 -1
- package/lib/work/Tasks/TaskList.stories.d.ts +0 -5
- package/lib/work/Tasks/TaskList.stories.d.ts.map +0 -1
- package/lib/work/Tasks/TaskList.stories.js +0 -20
- package/lib/work/Tasks/TaskList.stories.js.map +0 -1
- package/lib/work/Tasks/Tasks.mocks.d.ts +0 -22
- package/lib/work/Tasks/Tasks.mocks.d.ts.map +0 -1
- package/lib/work/Tasks/Tasks.mocks.js +0 -51
- package/lib/work/Tasks/Tasks.mocks.js.map +0 -1
- package/lib/work/Tasks/Tasks.stories.d.ts +0 -15
- package/lib/work/Tasks/Tasks.stories.d.ts.map +0 -1
- package/lib/work/Tasks/Tasks.stories.js +0 -78
- package/lib/work/Tasks/Tasks.stories.js.map +0 -1
- package/lib/work/Timeline/Timeline.mocks.d.ts +0 -3
- package/lib/work/Timeline/Timeline.mocks.d.ts.map +0 -1
- package/lib/work/Timeline/Timeline.mocks.js +0 -132
- package/lib/work/Timeline/Timeline.mocks.js.map +0 -1
- package/lib/work/Timeline/Timeline.stories.d.ts +0 -11
- package/lib/work/Timeline/Timeline.stories.d.ts.map +0 -1
- package/lib/work/Timeline/Timeline.stories.js +0 -72
- package/lib/work/Timeline/Timeline.stories.js.map +0 -1
- package/lib/wss/AppShell/AppShell.mocks.d.ts +0 -24
- package/lib/wss/AppShell/AppShell.mocks.d.ts.map +0 -1
- package/lib/wss/AppShell/AppShell.mocks.js +0 -59
- package/lib/wss/AppShell/AppShell.mocks.js.map +0 -1
- package/lib/wss/AppShell/AppShell.stories.d.ts +0 -19
- package/lib/wss/AppShell/AppShell.stories.d.ts.map +0 -1
- package/lib/wss/AppShell/AppShell.stories.js +0 -97
- package/lib/wss/AppShell/AppShell.stories.js.map +0 -1
- package/lib/wss/AppShell/AppShell.styles.d.ts +0 -2
- package/lib/wss/AppShell/AppShell.styles.d.ts.map +0 -1
- package/lib/wss/AppShell/AppShell.styles.js +0 -5
- package/lib/wss/AppShell/AppShell.styles.js.map +0 -1
- package/lib/wss/CaseView/CaseView.mocks.d.ts +0 -13
- package/lib/wss/CaseView/CaseView.mocks.d.ts.map +0 -1
- package/lib/wss/CaseView/CaseView.mocks.js +0 -35
- package/lib/wss/CaseView/CaseView.mocks.js.map +0 -1
- package/lib/wss/CaseView/CaseView.stories.d.ts +0 -12
- package/lib/wss/CaseView/CaseView.stories.d.ts.map +0 -1
- package/lib/wss/CaseView/CaseView.stories.js +0 -71
- package/lib/wss/CaseView/CaseView.stories.js.map +0 -1
- package/lib/wss/PageTemplates/PageTemplates.stories.d.ts +0 -15
- package/lib/wss/PageTemplates/PageTemplates.stories.d.ts.map +0 -1
- package/lib/wss/PageTemplates/PageTemplates.stories.js +0 -41
- package/lib/wss/PageTemplates/PageTemplates.stories.js.map +0 -1
- package/lib/wss/QuickCreate/QuickCreate.stories.d.ts +0 -10
- package/lib/wss/QuickCreate/QuickCreate.stories.d.ts.map +0 -1
- package/lib/wss/QuickCreate/QuickCreate.stories.js +0 -36
- package/lib/wss/QuickCreate/QuickCreate.stories.js.map +0 -1
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useReducer } from 'react';
|
|
3
|
-
import { action } from '@storybook/addon-actions';
|
|
4
|
-
import { Button, createUID, FieldGroupList, Form, Text } from '@pega/cosmos-react-core';
|
|
5
|
-
import { DemoFieldRenderer, demoGroupMeta, ExpensesFieldRenderer, expensesGroupMeta, fieldGroupReducer, InsuranceFieldRenderer, insuranceGroupMeta } from './FieldGroupList.mocks';
|
|
6
|
-
export default {
|
|
7
|
-
title: 'Core/FieldGroupList',
|
|
8
|
-
component: FieldGroupList,
|
|
9
|
-
args: {
|
|
10
|
-
allowAdd: true,
|
|
11
|
-
allowDelete: true,
|
|
12
|
-
itemLevelDelete: false
|
|
13
|
-
},
|
|
14
|
-
argTypes: {
|
|
15
|
-
allowAdd: { control: { type: 'boolean' } },
|
|
16
|
-
allowDelete: { control: { type: 'boolean' } },
|
|
17
|
-
itemLevelDelete: { control: { type: 'boolean' } }
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
export const ExpensesDemo = (args) => {
|
|
21
|
-
const [state, dispatch] = useReducer(fieldGroupReducer(expensesGroupMeta, ExpensesFieldRenderer), [
|
|
22
|
-
{
|
|
23
|
-
name: `${expensesGroupMeta.label} 1`,
|
|
24
|
-
id: createUID(),
|
|
25
|
-
headingTag: 'h3',
|
|
26
|
-
children: expensesGroupMeta.fields.map(ExpensesFieldRenderer)
|
|
27
|
-
}
|
|
28
|
-
]);
|
|
29
|
-
return (_jsxs(Form, { actions: _jsxs(_Fragment, { children: [_jsx(Button, { name: 'Cancel', variant: 'secondary', onClick: (e) => {
|
|
30
|
-
action('Click')(`${e.currentTarget.name}:${e.type}`);
|
|
31
|
-
}, children: "Cancel" }), _jsx(Button, { name: 'Submit', type: 'submit', variant: 'primary', children: "Submit" })] }), onSubmit: (e) => {
|
|
32
|
-
e.preventDefault();
|
|
33
|
-
action('Submit')(`Form:${e.type}`);
|
|
34
|
-
}, style: { margin: 'auto', maxWidth: '37.5rem' }, children: [_jsx(Text, { variant: 'h2', children: "Expense report" }), _jsx(FieldGroupList, { items: args.itemLevelDelete
|
|
35
|
-
? state.map((item, i) => ({
|
|
36
|
-
...item,
|
|
37
|
-
onDelete: args.allowDelete && i !== 0
|
|
38
|
-
? id => {
|
|
39
|
-
dispatch({ action: 'delete', id });
|
|
40
|
-
}
|
|
41
|
-
: undefined
|
|
42
|
-
}))
|
|
43
|
-
: state, onAdd: args.allowAdd
|
|
44
|
-
? () => {
|
|
45
|
-
dispatch({ action: 'add' });
|
|
46
|
-
}
|
|
47
|
-
: undefined, onDelete: args.allowDelete && !args.itemLevelDelete
|
|
48
|
-
? id => {
|
|
49
|
-
dispatch({ action: 'delete', id });
|
|
50
|
-
}
|
|
51
|
-
: undefined })] }));
|
|
52
|
-
};
|
|
53
|
-
export const InsuranceDemo = (args) => {
|
|
54
|
-
const [state, dispatch] = useReducer(fieldGroupReducer(insuranceGroupMeta, InsuranceFieldRenderer), [
|
|
55
|
-
{
|
|
56
|
-
name: `${insuranceGroupMeta.label} 1`,
|
|
57
|
-
id: createUID(),
|
|
58
|
-
headingTag: 'h3',
|
|
59
|
-
children: insuranceGroupMeta.fields.map(InsuranceFieldRenderer)
|
|
60
|
-
}
|
|
61
|
-
]);
|
|
62
|
-
return (_jsxs(Form, { actions: _jsxs(_Fragment, { children: [_jsx(Button, { name: 'Cancel', variant: 'secondary', onClick: (e) => {
|
|
63
|
-
action('Click')(`${e.currentTarget.name}:${e.type}`);
|
|
64
|
-
}, children: "Cancel" }), _jsx(Button, { name: 'Submit', type: 'submit', variant: 'primary', children: "Submit" })] }), onSubmit: (e) => {
|
|
65
|
-
e.preventDefault();
|
|
66
|
-
action('Submit')(`Form:${e.type}`);
|
|
67
|
-
}, style: { margin: 'auto', maxWidth: '37.5rem' }, children: [_jsx(Text, { variant: 'h1', children: "Insurance step 1" }), _jsx(Text, { variant: 'h2', children: "Dependants" }), _jsx(FieldGroupList, { items: args.itemLevelDelete
|
|
68
|
-
? state.map((item, i) => ({
|
|
69
|
-
...item,
|
|
70
|
-
onDelete: args.allowDelete && i !== 0
|
|
71
|
-
? id => {
|
|
72
|
-
dispatch({ action: 'delete', id });
|
|
73
|
-
}
|
|
74
|
-
: undefined
|
|
75
|
-
}))
|
|
76
|
-
: state, onAdd: args.allowAdd
|
|
77
|
-
? () => {
|
|
78
|
-
dispatch({ action: 'add' });
|
|
79
|
-
}
|
|
80
|
-
: undefined, onDelete: args.allowDelete && !args.itemLevelDelete
|
|
81
|
-
? id => {
|
|
82
|
-
dispatch({ action: 'delete', id });
|
|
83
|
-
}
|
|
84
|
-
: undefined })] }));
|
|
85
|
-
};
|
|
86
|
-
export const FieldGroupListDemo = (args) => {
|
|
87
|
-
const [state, dispatch] = useReducer(fieldGroupReducer(demoGroupMeta, DemoFieldRenderer), [
|
|
88
|
-
{
|
|
89
|
-
name: `${demoGroupMeta.label} 1`,
|
|
90
|
-
id: createUID(),
|
|
91
|
-
headingTag: 'h3',
|
|
92
|
-
children: demoGroupMeta.fields.map(DemoFieldRenderer)
|
|
93
|
-
}
|
|
94
|
-
]);
|
|
95
|
-
return (_jsx(FieldGroupList, { items: args.itemLevelDelete
|
|
96
|
-
? state.map((item, i) => ({
|
|
97
|
-
...item,
|
|
98
|
-
onDelete: args.allowDelete && i !== 0
|
|
99
|
-
? id => {
|
|
100
|
-
dispatch({ action: 'delete', id });
|
|
101
|
-
}
|
|
102
|
-
: undefined
|
|
103
|
-
}))
|
|
104
|
-
: state, onAdd: args.allowAdd
|
|
105
|
-
? () => {
|
|
106
|
-
dispatch({ action: 'add' });
|
|
107
|
-
}
|
|
108
|
-
: undefined, onDelete: args.allowDelete && !args.itemLevelDelete
|
|
109
|
-
? id => {
|
|
110
|
-
dispatch({ action: 'delete', id });
|
|
111
|
-
}
|
|
112
|
-
: undefined }));
|
|
113
|
-
};
|
|
114
|
-
//# sourceMappingURL=FieldGroupList.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldGroupList.stories.js","sourceRoot":"","sources":["../../../src/core/FieldGroup/FieldGroupList.stories.tsx"],"names":[],"mappings":"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","sourcesContent":["import { useReducer } from 'react';\nimport type { MouseEvent, FormEvent } from 'react';\nimport { action } from '@storybook/addon-actions';\nimport type { Meta, StoryFn } from '@storybook/react';\n\nimport { Button, createUID, FieldGroupList, Form, Text } from '@pega/cosmos-react-core';\n\nimport {\n DemoFieldRenderer,\n demoGroupMeta,\n ExpensesFieldRenderer,\n expensesGroupMeta,\n fieldGroupReducer,\n InsuranceFieldRenderer,\n insuranceGroupMeta\n} from './FieldGroupList.mocks';\n\nexport default {\n title: 'Core/FieldGroupList',\n component: FieldGroupList,\n args: {\n allowAdd: true,\n allowDelete: true,\n itemLevelDelete: false\n },\n argTypes: {\n allowAdd: { control: { type: 'boolean' } },\n allowDelete: { control: { type: 'boolean' } },\n itemLevelDelete: { control: { type: 'boolean' } }\n }\n} as Meta;\n\ninterface FieldGroupListDemoProps {\n allowAdd?: boolean;\n allowDelete?: boolean;\n itemLevelDelete?: boolean;\n}\n\nexport const ExpensesDemo: StoryFn<FieldGroupListDemoProps> = (args: FieldGroupListDemoProps) => {\n const [state, dispatch] = useReducer(\n fieldGroupReducer(expensesGroupMeta, ExpensesFieldRenderer),\n [\n {\n name: `${expensesGroupMeta.label} 1`,\n id: createUID(),\n headingTag: 'h3',\n children: expensesGroupMeta.fields.map(ExpensesFieldRenderer)\n }\n ]\n );\n\n return (\n <Form\n actions={\n <>\n <Button\n name='Cancel'\n variant='secondary'\n onClick={(e: MouseEvent<HTMLButtonElement>) => {\n action('Click')(`${e.currentTarget.name}:${e.type}`);\n }}\n >\n Cancel\n </Button>\n <Button name='Submit' type='submit' variant='primary'>\n Submit\n </Button>\n </>\n }\n onSubmit={(e: FormEvent) => {\n e.preventDefault();\n action('Submit')(`Form:${e.type}`);\n }}\n style={{ margin: 'auto', maxWidth: '37.5rem' }}\n >\n <Text variant='h2'>Expense report</Text>\n <FieldGroupList\n items={\n args.itemLevelDelete\n ? state.map((item, i) => ({\n ...item,\n onDelete:\n args.allowDelete && i !== 0\n ? id => {\n dispatch({ action: 'delete', id });\n }\n : undefined\n }))\n : state\n }\n onAdd={\n args.allowAdd\n ? () => {\n dispatch({ action: 'add' });\n }\n : undefined\n }\n onDelete={\n args.allowDelete && !args.itemLevelDelete\n ? id => {\n dispatch({ action: 'delete', id });\n }\n : undefined\n }\n />\n </Form>\n );\n};\n\nexport const InsuranceDemo: StoryFn<FieldGroupListDemoProps> = (args: FieldGroupListDemoProps) => {\n const [state, dispatch] = useReducer(\n fieldGroupReducer(insuranceGroupMeta, InsuranceFieldRenderer),\n [\n {\n name: `${insuranceGroupMeta.label} 1`,\n id: createUID(),\n headingTag: 'h3',\n children: insuranceGroupMeta.fields.map(InsuranceFieldRenderer)\n }\n ]\n );\n\n return (\n <Form\n actions={\n <>\n <Button\n name='Cancel'\n variant='secondary'\n onClick={(e: MouseEvent<HTMLButtonElement>) => {\n action('Click')(`${e.currentTarget.name}:${e.type}`);\n }}\n >\n Cancel\n </Button>\n <Button name='Submit' type='submit' variant='primary'>\n Submit\n </Button>\n </>\n }\n onSubmit={(e: FormEvent) => {\n e.preventDefault();\n action('Submit')(`Form:${e.type}`);\n }}\n style={{ margin: 'auto', maxWidth: '37.5rem' }}\n >\n <Text variant='h1'>Insurance step 1</Text>\n <Text variant='h2'>Dependants</Text>\n <FieldGroupList\n items={\n args.itemLevelDelete\n ? state.map((item, i) => ({\n ...item,\n onDelete:\n args.allowDelete && i !== 0\n ? id => {\n dispatch({ action: 'delete', id });\n }\n : undefined\n }))\n : state\n }\n onAdd={\n args.allowAdd\n ? () => {\n dispatch({ action: 'add' });\n }\n : undefined\n }\n onDelete={\n args.allowDelete && !args.itemLevelDelete\n ? id => {\n dispatch({ action: 'delete', id });\n }\n : undefined\n }\n />\n </Form>\n );\n};\n\nexport const FieldGroupListDemo: StoryFn<FieldGroupListDemoProps> = (\n args: FieldGroupListDemoProps\n) => {\n const [state, dispatch] = useReducer(fieldGroupReducer(demoGroupMeta, DemoFieldRenderer), [\n {\n name: `${demoGroupMeta.label} 1`,\n id: createUID(),\n headingTag: 'h3',\n children: demoGroupMeta.fields.map(DemoFieldRenderer)\n }\n ]);\n\n return (\n <FieldGroupList\n items={\n args.itemLevelDelete\n ? state.map((item, i) => ({\n ...item,\n onDelete:\n args.allowDelete && i !== 0\n ? id => {\n dispatch({ action: 'delete', id });\n }\n : undefined\n }))\n : state\n }\n onAdd={\n args.allowAdd\n ? () => {\n dispatch({ action: 'add' });\n }\n : undefined\n }\n onDelete={\n args.allowDelete && !args.itemLevelDelete\n ? id => {\n dispatch({ action: 'delete', id });\n }\n : undefined\n }\n />\n );\n};\n"]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const mockData: ({
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
value: JSX.Element;
|
|
6
|
-
} | {
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
value: string;
|
|
10
|
-
} | {
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
value?: undefined;
|
|
14
|
-
})[];
|
|
15
|
-
export declare const mockNumericData: {
|
|
16
|
-
id: string;
|
|
17
|
-
name: string;
|
|
18
|
-
value: number;
|
|
19
|
-
}[];
|
|
20
|
-
//# sourceMappingURL=FieldValueList.mocks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldValueList.mocks.d.ts","sourceRoot":"","sources":["../../../src/core/FieldValueList/FieldValueList.mocks.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;IAiCpB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;GAqB3B,CAAC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Link, Status, Text } from '@pega/cosmos-react-core';
|
|
3
|
-
export const mockData = [
|
|
4
|
-
{
|
|
5
|
-
id: 'id',
|
|
6
|
-
name: 'ID',
|
|
7
|
-
value: (_jsx(Text, { variant: 'h1', as: 'span', children: "C-1234" }))
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
id: 'status',
|
|
11
|
-
name: 'Status',
|
|
12
|
-
value: _jsx(Status, { variant: 'pending', children: "pending" })
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
id: 'link',
|
|
16
|
-
name: 'Link',
|
|
17
|
-
value: (_jsx(Link, { href: 'https://www.pega.com', target: '_blank', children: "C-ABC" }))
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
id: 'created',
|
|
21
|
-
name: 'Created',
|
|
22
|
-
value: new Date().toLocaleDateString()
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
id: 'no value',
|
|
26
|
-
name: 'No Value'
|
|
27
|
-
}
|
|
28
|
-
];
|
|
29
|
-
export const mockNumericData = [
|
|
30
|
-
{
|
|
31
|
-
id: 'open',
|
|
32
|
-
name: 'Open',
|
|
33
|
-
value: 405
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
id: 'close',
|
|
37
|
-
name: 'Close',
|
|
38
|
-
value: 401
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
id: 'year_high',
|
|
42
|
-
name: '52 week high',
|
|
43
|
-
value: 445
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
id: 'year_low',
|
|
47
|
-
name: '52 week low',
|
|
48
|
-
value: 335
|
|
49
|
-
}
|
|
50
|
-
];
|
|
51
|
-
//# sourceMappingURL=FieldValueList.mocks.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldValueList.mocks.js","sourceRoot":"","sources":["../../../src/core/FieldValueList/FieldValueList.mocks.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,IAAI;QACV,KAAK,EAAE,CACL,KAAC,IAAI,IAAC,OAAO,EAAC,IAAI,EAAC,EAAE,EAAC,MAAM,uBAErB,CACR;KACF;IACD;QACE,EAAE,EAAE,QAAQ;QACZ,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,wBAAiB;KAClD;IACD;QACE,EAAE,EAAE,MAAM;QACV,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,CACL,KAAC,IAAI,IAAC,IAAI,EAAC,sBAAsB,EAAC,MAAM,EAAC,QAAQ,sBAE1C,CACR;KACF;IACD;QACE,EAAE,EAAE,SAAS;QACb,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,kBAAkB,EAAE;KACvC;IACD;QACE,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,UAAU;KACjB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B;QACE,EAAE,EAAE,MAAM;QACV,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,GAAG;KACX;IACD;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,GAAG;KACX;IACD;QACE,EAAE,EAAE,WAAW;QACf,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,GAAG;KACX;IACD;QACE,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,GAAG;KACX;CACF,CAAC","sourcesContent":["import { Link, Status, Text } from '@pega/cosmos-react-core';\n\nexport const mockData = [\n {\n id: 'id',\n name: 'ID',\n value: (\n <Text variant='h1' as='span'>\n C-1234\n </Text>\n )\n },\n {\n id: 'status',\n name: 'Status',\n value: <Status variant='pending'>pending</Status>\n },\n {\n id: 'link',\n name: 'Link',\n value: (\n <Link href='https://www.pega.com' target='_blank'>\n C-ABC\n </Link>\n )\n },\n {\n id: 'created',\n name: 'Created',\n value: new Date().toLocaleDateString()\n },\n {\n id: 'no value',\n name: 'No Value'\n }\n];\n\nexport const mockNumericData = [\n {\n id: 'open',\n name: 'Open',\n value: 405\n },\n {\n id: 'close',\n name: 'Close',\n value: 401\n },\n {\n id: 'year_high',\n name: '52 week high',\n value: 445\n },\n {\n id: 'year_low',\n name: '52 week low',\n value: 335\n }\n];\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { StoryFn } from '@storybook/react';
|
|
2
|
-
import type { FieldValueListProps, OmitStrict } from '@pega/cosmos-react-core';
|
|
3
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
interface FieldValueListStoryProps extends OmitStrict<FieldValueListProps, 'fields'> {
|
|
6
|
-
name: string;
|
|
7
|
-
value: string;
|
|
8
|
-
inContentContainer?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const FieldValueListDemo: StoryFn<FieldValueListStoryProps>;
|
|
11
|
-
//# sourceMappingURL=FieldValueList.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldValueList.stories.d.ts","sourceRoot":"","sources":["../../../src/core/FieldValueList/FieldValueList.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;;AAK/E,wBAGU;AAEV,UAAU,wBAAyB,SAAQ,UAAU,CAAC,mBAAmB,EAAE,QAAQ,CAAC;IAClF,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAC,wBAAwB,CAoBhE,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Fragment } from 'react';
|
|
3
|
-
import { FieldValueList } from '@pega/cosmos-react-core';
|
|
4
|
-
import { StyledDemoContainer } from './FieldValueList.styles';
|
|
5
|
-
import { mockData, mockNumericData } from './FieldValueList.mocks';
|
|
6
|
-
export default {
|
|
7
|
-
title: 'Core/FieldValueList',
|
|
8
|
-
component: FieldValueList
|
|
9
|
-
};
|
|
10
|
-
export const FieldValueListDemo = (args) => {
|
|
11
|
-
const Wrapper = args.inContentContainer ? StyledDemoContainer : Fragment;
|
|
12
|
-
const data = mockData.concat([
|
|
13
|
-
{
|
|
14
|
-
id: 'dynamic',
|
|
15
|
-
name: args.name,
|
|
16
|
-
value: args.value
|
|
17
|
-
}
|
|
18
|
-
]);
|
|
19
|
-
return (_jsx(Wrapper, { children: _jsx(FieldValueList, { variant: args.variant, fields: args.variant === 'value-comparison' ? mockNumericData : data }) }));
|
|
20
|
-
};
|
|
21
|
-
FieldValueListDemo.args = {
|
|
22
|
-
variant: 'inline',
|
|
23
|
-
inContentContainer: true,
|
|
24
|
-
name: 'Name',
|
|
25
|
-
value: 'Value'
|
|
26
|
-
};
|
|
27
|
-
FieldValueListDemo.argTypes = {
|
|
28
|
-
variant: {
|
|
29
|
-
options: ['inline', 'stacked', 'value-comparison'],
|
|
30
|
-
control: { type: 'select' }
|
|
31
|
-
},
|
|
32
|
-
inContentContainer: { control: { type: 'boolean' } },
|
|
33
|
-
name: { control: { type: 'text' } },
|
|
34
|
-
value: { control: { type: 'text' } }
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL=FieldValueList.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldValueList.stories.js","sourceRoot":"","sources":["../../../src/core/FieldValueList/FieldValueList.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAGzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEnE,eAAe;IACb,KAAK,EAAE,qBAAqB;IAC5B,SAAS,EAAE,cAAc;CAClB,CAAC;AAQV,MAAM,CAAC,MAAM,kBAAkB,GAAsC,CACnE,IAA8B,EAC9B,EAAE;IACF,MAAM,OAAO,GAAG,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,QAAQ,CAAC;IACzE,MAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC;QAC3B;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB;KACF,CAAC,CAAC;IAEH,OAAO,CACL,KAAC,OAAO,cACN,KAAC,cAAc,IACb,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,OAAO,KAAK,kBAAkB,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI,GACpE,GACM,CACX,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAkB,CAAC,IAAI,GAAG;IACxB,OAAO,EAAE,QAAQ;IACjB,kBAAkB,EAAE,IAAI;IACxB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACf,CAAC;AAEF,kBAAkB,CAAC,QAAQ,GAAG;IAC5B,OAAO,EAAE;QACP,OAAO,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,kBAAkB,CAAC;QAClD,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;IACD,kBAAkB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACpD,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACnC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;CACrC,CAAC","sourcesContent":["import { Fragment } from 'react';\nimport type { Meta, StoryFn } from '@storybook/react';\n\nimport { FieldValueList } from '@pega/cosmos-react-core';\nimport type { FieldValueListProps, OmitStrict } from '@pega/cosmos-react-core';\n\nimport { StyledDemoContainer } from './FieldValueList.styles';\nimport { mockData, mockNumericData } from './FieldValueList.mocks';\n\nexport default {\n title: 'Core/FieldValueList',\n component: FieldValueList\n} as Meta;\n\ninterface FieldValueListStoryProps extends OmitStrict<FieldValueListProps, 'fields'> {\n name: string;\n value: string;\n inContentContainer?: boolean;\n}\n\nexport const FieldValueListDemo: StoryFn<FieldValueListStoryProps> = (\n args: FieldValueListStoryProps\n) => {\n const Wrapper = args.inContentContainer ? StyledDemoContainer : Fragment;\n const data = mockData.concat([\n {\n id: 'dynamic',\n name: args.name,\n value: args.value\n }\n ]);\n\n return (\n <Wrapper>\n <FieldValueList\n variant={args.variant}\n fields={args.variant === 'value-comparison' ? mockNumericData : data}\n />\n </Wrapper>\n );\n};\n\nFieldValueListDemo.args = {\n variant: 'inline',\n inContentContainer: true,\n name: 'Name',\n value: 'Value'\n};\n\nFieldValueListDemo.argTypes = {\n variant: {\n options: ['inline', 'stacked', 'value-comparison'],\n control: { type: 'select' }\n },\n inContentContainer: { control: { type: 'boolean' } },\n name: { control: { type: 'text' } },\n value: { control: { type: 'text' } }\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldValueList.styles.d.ts","sourceRoot":"","sources":["../../../src/core/FieldValueList/FieldValueList.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,yGAU9B,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import styled, { css } from 'styled-components';
|
|
2
|
-
export const StyledDemoContainer = styled.div(({ theme }) => {
|
|
3
|
-
const { base: { 'content-width': { md } } } = theme;
|
|
4
|
-
return css `
|
|
5
|
-
max-width: ${md};
|
|
6
|
-
`;
|
|
7
|
-
});
|
|
8
|
-
//# sourceMappingURL=FieldValueList.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldValueList.styles.js","sourceRoot":"","sources":["../../../src/core/FieldValueList/FieldValueList.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IAC1D,MAAM,EACJ,IAAI,EAAE,EACJ,eAAe,EAAE,EAAE,EAAE,EAAE,EACxB,EACF,GAAG,KAAK,CAAC;IAEV,OAAO,GAAG,CAAA;iBACK,EAAE;GAChB,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["import styled, { css } from 'styled-components';\n\nexport const StyledDemoContainer = styled.div(({ theme }) => {\n const {\n base: {\n 'content-width': { md }\n }\n } = theme;\n\n return css`\n max-width: ${md};\n `;\n});\n"]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { StoryFn } from '@storybook/react';
|
|
2
|
-
import type { FileDisplayProps, FileUploadItemProps } from '@pega/cosmos-react-core';
|
|
3
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
interface FileDisplayDemoProps {
|
|
6
|
-
withDisplayText?: boolean;
|
|
7
|
-
withValue?: boolean;
|
|
8
|
-
withPreview?: boolean;
|
|
9
|
-
withDownload?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const FileDisplayTypes: StoryFn<FileDisplayDemoProps>;
|
|
12
|
-
export declare const FileDisplayDemo: StoryFn<FileDisplayProps & FileDisplayDemoProps>;
|
|
13
|
-
interface FileUploadItemDemoProps extends FileDisplayDemoProps {
|
|
14
|
-
name: FileUploadItemProps['name'];
|
|
15
|
-
meta?: FileUploadItemProps['meta'];
|
|
16
|
-
error?: FileUploadItemProps['error'];
|
|
17
|
-
progress?: FileUploadItemProps['progress'];
|
|
18
|
-
}
|
|
19
|
-
export declare const FileUploadItemDemo: StoryFn<FileUploadItemDemoProps>;
|
|
20
|
-
//# sourceMappingURL=FileDisplay.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FileDisplay.stories.d.ts","sourceRoot":"","sources":["../../../src/core/File/FileDisplay.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,gBAAgB,EAAiB,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;;AAEpG,wBAaU;AAEV,UAAU,oBAAoB;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,oBAAoB,CAmK1D,CAAC;AAUF,eAAO,MAAM,eAAe,EAAE,OAAO,CAAC,gBAAgB,GAAG,oBAAoB,CAyB5E,CAAC;AAYF,UAAU,uBAAwB,SAAQ,oBAAoB;IAC5D,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC;IACnC,KAAK,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACrC,QAAQ,CAAC,EAAE,mBAAmB,CAAC,UAAU,CAAC,CAAC;CAC5C;AAED,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAC,uBAAuB,CA2B/D,CAAC"}
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { FileDisplay, FieldValueList, useToaster, FileUploadItem } from '@pega/cosmos-react-core';
|
|
3
|
-
export default {
|
|
4
|
-
title: 'Core/File/Display',
|
|
5
|
-
component: FileDisplay,
|
|
6
|
-
args: {
|
|
7
|
-
withValue: true,
|
|
8
|
-
withPreview: true,
|
|
9
|
-
withDownload: true
|
|
10
|
-
},
|
|
11
|
-
argTypes: {
|
|
12
|
-
withValue: { control: { type: 'boolean' } },
|
|
13
|
-
withPreview: { control: { type: 'boolean' } },
|
|
14
|
-
withDownload: { control: { type: 'boolean' } }
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
export const FileDisplayTypes = (args) => {
|
|
18
|
-
const { push } = useToaster();
|
|
19
|
-
const handlePreview = args.withPreview
|
|
20
|
-
? (url) => push({ content: `Previewed ${url}` })
|
|
21
|
-
: undefined;
|
|
22
|
-
const handleDownload = args.withDownload
|
|
23
|
-
? (url) => push({ content: `Downloaded ${url}` })
|
|
24
|
-
: undefined;
|
|
25
|
-
const imageSrc = 'https://www.pega.com/sites/default/files/styles/480/public/media/images/2021-02/pwi-2021-prevcard.jpg';
|
|
26
|
-
const fields = [
|
|
27
|
-
{
|
|
28
|
-
id: '1',
|
|
29
|
-
name: 'Image file',
|
|
30
|
-
value: (_jsx(FileDisplay, { displayText: args.withDisplayText ? 'image.jpg' : undefined, value: args.withValue ? 'https://pbs.twimg.com/media/ENNN5PAXkAE-hag.jpg' : undefined, onPreview: handlePreview, onDownload: handleDownload }))
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
id: '1',
|
|
34
|
-
name: 'Image file with thumbnail',
|
|
35
|
-
value: (_jsx(FileDisplay, { displayText: args.withDisplayText ? 'image.jpg' : undefined, value: args.withValue ? 'https://pbs.twimg.com/media/ENNN5PAXkAE-hag.jpg' : undefined, thumbnail: imageSrc, onPreview: handlePreview, onDownload: handleDownload }))
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
id: '2',
|
|
39
|
-
name: 'Video file',
|
|
40
|
-
value: (_jsx(FileDisplay, { displayText: args.withDisplayText ? 'video.avi' : undefined, value: args.withValue ? 'https://pega.com/media/some-video.avi' : undefined, onPreview: handlePreview, onDownload: handleDownload }))
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
id: '3',
|
|
44
|
-
name: 'Audio file',
|
|
45
|
-
value: (_jsx(FileDisplay, { displayText: args.withDisplayText ? 'recording.mp3' : undefined, value: args.withValue ? 'https://pega.com/media/sprint-review-recording.mp3' : undefined, onPreview: handlePreview, onDownload: handleDownload }))
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
id: '4',
|
|
49
|
-
name: 'Document file',
|
|
50
|
-
value: (_jsx(FileDisplay, { displayText: args.withDisplayText ? 'document.doc' : undefined, value: args.withValue ? 'https://pega.com/media/document.doc' : undefined, onPreview: handlePreview, onDownload: handleDownload }))
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
id: '5',
|
|
54
|
-
name: 'PDF file',
|
|
55
|
-
value: (_jsx(FileDisplay, { displayText: args.withDisplayText ? 'invoice.pdf' : undefined, value: args.withValue ? 'https://pega.com/media/invoice.pdf' : undefined, onPreview: handlePreview, onDownload: handleDownload }))
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
id: '6',
|
|
59
|
-
name: 'Presentation file',
|
|
60
|
-
value: (_jsx(FileDisplay, { displayText: args.withDisplayText ? 'review.pps' : undefined, value: args.withValue ? 'https://pega.com/media/review.pps' : undefined, onPreview: handlePreview, onDownload: handleDownload }))
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
id: '7',
|
|
64
|
-
name: 'Spreadsheet file',
|
|
65
|
-
value: (_jsx(FileDisplay, { displayText: args.withDisplayText ? 'welfare.xlsx' : undefined, value: args.withValue ? 'https://pega.com/media/welfare.xlsx' : undefined, onPreview: handlePreview, onDownload: handleDownload }))
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
id: '8',
|
|
69
|
-
name: 'Email',
|
|
70
|
-
value: (_jsx(FileDisplay, { displayText: args.withDisplayText ? 'message.eml' : undefined, value: args.withValue ? 'https://pega.com/media/message.eml' : undefined, onPreview: handlePreview, onDownload: handleDownload }))
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
id: '9',
|
|
74
|
-
name: 'Database',
|
|
75
|
-
value: (_jsx(FileDisplay, { displayText: args.withDisplayText ? 'data.odb' : undefined, value: args.withValue ? 'https://pega.com/media/data.odb' : undefined, onPreview: handlePreview, onDownload: handleDownload }))
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
id: '10',
|
|
79
|
-
name: 'Zip file',
|
|
80
|
-
value: (_jsx(FileDisplay, { displayText: args.withDisplayText ? 'compress.zip' : undefined, value: args.withValue ? 'https://pega.com/media/compress.zip' : undefined, onPreview: handlePreview, onDownload: handleDownload }))
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
id: '11',
|
|
84
|
-
name: 'Unknown file type',
|
|
85
|
-
value: (_jsx(FileDisplay, { displayText: args.withDisplayText ? 'foo.xyz' : undefined, value: args.withValue ? 'https://pega.com/media/foo.xyz' : undefined, onPreview: handlePreview, onDownload: handleDownload }))
|
|
86
|
-
}
|
|
87
|
-
];
|
|
88
|
-
return _jsx(FieldValueList, { fields: fields });
|
|
89
|
-
};
|
|
90
|
-
FileDisplayTypes.args = {
|
|
91
|
-
withDisplayText: true
|
|
92
|
-
};
|
|
93
|
-
FileDisplayTypes.argTypes = {
|
|
94
|
-
withDisplayText: { control: { type: 'boolean' } }
|
|
95
|
-
};
|
|
96
|
-
export const FileDisplayDemo = (args) => {
|
|
97
|
-
const { push } = useToaster();
|
|
98
|
-
const handlePreview = args.withPreview
|
|
99
|
-
? (url) => push({ content: `Previewed ${url}` })
|
|
100
|
-
: undefined;
|
|
101
|
-
const handleDownload = args.withDownload
|
|
102
|
-
? (url) => push({ content: `Downloaded ${url}` })
|
|
103
|
-
: undefined;
|
|
104
|
-
const imageSrc = 'https://www.pega.com/sites/default/files/styles/480/public/media/images/2021-02/pwi-2021-prevcard.jpg';
|
|
105
|
-
return (_jsx(FileDisplay, { variant: args.variant, displayText: args.displayText, value: args.withValue ? imageSrc : undefined, onPreview: handlePreview, onDownload: handleDownload }));
|
|
106
|
-
};
|
|
107
|
-
FileDisplayDemo.args = {
|
|
108
|
-
variant: 'file',
|
|
109
|
-
displayText: 'Pega World iNspire'
|
|
110
|
-
};
|
|
111
|
-
FileDisplayDemo.argTypes = {
|
|
112
|
-
variant: { options: ['file', 'text', 'link'], control: { type: 'radio' } },
|
|
113
|
-
displayText: { control: { type: 'text' } }
|
|
114
|
-
};
|
|
115
|
-
export const FileUploadItemDemo = (args) => {
|
|
116
|
-
const { push } = useToaster();
|
|
117
|
-
const handlePreview = args.withPreview
|
|
118
|
-
? (url) => push({ content: `Previewed ${url}` })
|
|
119
|
-
: undefined;
|
|
120
|
-
const handleDownload = args.withDownload
|
|
121
|
-
? (url) => push({ content: `Downloaded ${url}` })
|
|
122
|
-
: undefined;
|
|
123
|
-
const imageSrc = 'https://www.pega.com/sites/default/files/styles/480/public/media/images/2021-02/pwi-2021-prevcard.jpg';
|
|
124
|
-
return (_jsx(FileUploadItem, { name: args.name, meta: args.meta, error: args.error, progress: args.progress, thumbnail: imageSrc, onPreview: handlePreview, onDownload: handleDownload }));
|
|
125
|
-
};
|
|
126
|
-
FileUploadItemDemo.args = {
|
|
127
|
-
name: 'Pega World iNspire',
|
|
128
|
-
meta: 'Some additional information',
|
|
129
|
-
error: false,
|
|
130
|
-
progress: 100
|
|
131
|
-
};
|
|
132
|
-
FileUploadItemDemo.argTypes = {
|
|
133
|
-
withValue: { table: { disable: true } },
|
|
134
|
-
name: { control: { type: 'text' } },
|
|
135
|
-
meta: { control: { type: 'text' } },
|
|
136
|
-
error: { control: { type: 'boolean' } },
|
|
137
|
-
progress: { control: { type: 'number' } }
|
|
138
|
-
};
|
|
139
|
-
//# sourceMappingURL=FileDisplay.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FileDisplay.stories.js","sourceRoot":"","sources":["../../../src/core/File/FileDisplay.stories.tsx"],"names":[],"mappings":"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","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\n\nimport { FileDisplay, FieldValueList, useToaster, FileUploadItem } from '@pega/cosmos-react-core';\nimport type { FileDisplayProps, FileItemProps, FileUploadItemProps } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/File/Display',\n component: FileDisplay,\n args: {\n withValue: true,\n withPreview: true,\n withDownload: true\n },\n argTypes: {\n withValue: { control: { type: 'boolean' } },\n withPreview: { control: { type: 'boolean' } },\n withDownload: { control: { type: 'boolean' } }\n }\n} as Meta;\n\ninterface FileDisplayDemoProps {\n withDisplayText?: boolean;\n withValue?: boolean;\n withPreview?: boolean;\n withDownload?: boolean;\n}\n\nexport const FileDisplayTypes: StoryFn<FileDisplayDemoProps> = (args: FileDisplayDemoProps) => {\n const { push } = useToaster();\n\n const handlePreview = args.withPreview\n ? (url: FileItemProps['url']) => push({ content: `Previewed ${url}` })\n : undefined;\n\n const handleDownload = args.withDownload\n ? (url: FileItemProps['url']) => push({ content: `Downloaded ${url}` })\n : undefined;\n\n const imageSrc =\n 'https://www.pega.com/sites/default/files/styles/480/public/media/images/2021-02/pwi-2021-prevcard.jpg';\n\n const fields = [\n {\n id: '1',\n name: 'Image file',\n value: (\n <FileDisplay\n displayText={args.withDisplayText ? 'image.jpg' : undefined}\n value={args.withValue ? 'https://pbs.twimg.com/media/ENNN5PAXkAE-hag.jpg' : undefined}\n onPreview={handlePreview}\n onDownload={handleDownload}\n />\n )\n },\n {\n id: '1',\n name: 'Image file with thumbnail',\n value: (\n <FileDisplay\n displayText={args.withDisplayText ? 'image.jpg' : undefined}\n value={args.withValue ? 'https://pbs.twimg.com/media/ENNN5PAXkAE-hag.jpg' : undefined}\n thumbnail={imageSrc}\n onPreview={handlePreview}\n onDownload={handleDownload}\n />\n )\n },\n {\n id: '2',\n name: 'Video file',\n value: (\n <FileDisplay\n displayText={args.withDisplayText ? 'video.avi' : undefined}\n value={args.withValue ? 'https://pega.com/media/some-video.avi' : undefined}\n onPreview={handlePreview}\n onDownload={handleDownload}\n />\n )\n },\n {\n id: '3',\n name: 'Audio file',\n value: (\n <FileDisplay\n displayText={args.withDisplayText ? 'recording.mp3' : undefined}\n value={args.withValue ? 'https://pega.com/media/sprint-review-recording.mp3' : undefined}\n onPreview={handlePreview}\n onDownload={handleDownload}\n />\n )\n },\n {\n id: '4',\n name: 'Document file',\n value: (\n <FileDisplay\n displayText={args.withDisplayText ? 'document.doc' : undefined}\n value={args.withValue ? 'https://pega.com/media/document.doc' : undefined}\n onPreview={handlePreview}\n onDownload={handleDownload}\n />\n )\n },\n {\n id: '5',\n name: 'PDF file',\n value: (\n <FileDisplay\n displayText={args.withDisplayText ? 'invoice.pdf' : undefined}\n value={args.withValue ? 'https://pega.com/media/invoice.pdf' : undefined}\n onPreview={handlePreview}\n onDownload={handleDownload}\n />\n )\n },\n {\n id: '6',\n name: 'Presentation file',\n value: (\n <FileDisplay\n displayText={args.withDisplayText ? 'review.pps' : undefined}\n value={args.withValue ? 'https://pega.com/media/review.pps' : undefined}\n onPreview={handlePreview}\n onDownload={handleDownload}\n />\n )\n },\n {\n id: '7',\n name: 'Spreadsheet file',\n value: (\n <FileDisplay\n displayText={args.withDisplayText ? 'welfare.xlsx' : undefined}\n value={args.withValue ? 'https://pega.com/media/welfare.xlsx' : undefined}\n onPreview={handlePreview}\n onDownload={handleDownload}\n />\n )\n },\n {\n id: '8',\n name: 'Email',\n value: (\n <FileDisplay\n displayText={args.withDisplayText ? 'message.eml' : undefined}\n value={args.withValue ? 'https://pega.com/media/message.eml' : undefined}\n onPreview={handlePreview}\n onDownload={handleDownload}\n />\n )\n },\n {\n id: '9',\n name: 'Database',\n value: (\n <FileDisplay\n displayText={args.withDisplayText ? 'data.odb' : undefined}\n value={args.withValue ? 'https://pega.com/media/data.odb' : undefined}\n onPreview={handlePreview}\n onDownload={handleDownload}\n />\n )\n },\n {\n id: '10',\n name: 'Zip file',\n value: (\n <FileDisplay\n displayText={args.withDisplayText ? 'compress.zip' : undefined}\n value={args.withValue ? 'https://pega.com/media/compress.zip' : undefined}\n onPreview={handlePreview}\n onDownload={handleDownload}\n />\n )\n },\n {\n id: '11',\n name: 'Unknown file type',\n value: (\n <FileDisplay\n displayText={args.withDisplayText ? 'foo.xyz' : undefined}\n value={args.withValue ? 'https://pega.com/media/foo.xyz' : undefined}\n onPreview={handlePreview}\n onDownload={handleDownload}\n />\n )\n }\n ];\n\n return <FieldValueList fields={fields} />;\n};\n\nFileDisplayTypes.args = {\n withDisplayText: true\n};\n\nFileDisplayTypes.argTypes = {\n withDisplayText: { control: { type: 'boolean' } }\n};\n\nexport const FileDisplayDemo: StoryFn<FileDisplayProps & FileDisplayDemoProps> = (\n args: FileDisplayProps & FileDisplayDemoProps\n) => {\n const { push } = useToaster();\n\n const handlePreview = args.withPreview\n ? (url: FileItemProps['url']) => push({ content: `Previewed ${url}` })\n : undefined;\n\n const handleDownload = args.withDownload\n ? (url: FileItemProps['url']) => push({ content: `Downloaded ${url}` })\n : undefined;\n\n const imageSrc =\n 'https://www.pega.com/sites/default/files/styles/480/public/media/images/2021-02/pwi-2021-prevcard.jpg';\n\n return (\n <FileDisplay\n variant={args.variant}\n displayText={args.displayText}\n value={args.withValue ? imageSrc : undefined}\n onPreview={handlePreview}\n onDownload={handleDownload}\n />\n );\n};\n\nFileDisplayDemo.args = {\n variant: 'file',\n displayText: 'Pega World iNspire'\n};\n\nFileDisplayDemo.argTypes = {\n variant: { options: ['file', 'text', 'link'], control: { type: 'radio' } },\n displayText: { control: { type: 'text' } }\n};\n\ninterface FileUploadItemDemoProps extends FileDisplayDemoProps {\n name: FileUploadItemProps['name'];\n meta?: FileUploadItemProps['meta'];\n error?: FileUploadItemProps['error'];\n progress?: FileUploadItemProps['progress'];\n}\n\nexport const FileUploadItemDemo: StoryFn<FileUploadItemDemoProps> = (\n args: FileUploadItemDemoProps\n) => {\n const { push } = useToaster();\n\n const handlePreview = args.withPreview\n ? (url: FileItemProps['url']) => push({ content: `Previewed ${url}` })\n : undefined;\n\n const handleDownload = args.withDownload\n ? (url: FileItemProps['url']) => push({ content: `Downloaded ${url}` })\n : undefined;\n\n const imageSrc =\n 'https://www.pega.com/sites/default/files/styles/480/public/media/images/2021-02/pwi-2021-prevcard.jpg';\n\n return (\n <FileUploadItem\n name={args.name}\n meta={args.meta}\n error={args.error}\n progress={args.progress}\n thumbnail={imageSrc}\n onPreview={handlePreview}\n onDownload={handleDownload}\n />\n );\n};\n\nFileUploadItemDemo.args = {\n name: 'Pega World iNspire',\n meta: 'Some additional information',\n error: false,\n progress: 100\n};\n\nFileUploadItemDemo.argTypes = {\n withValue: { table: { disable: true } },\n name: { control: { type: 'text' } },\n meta: { control: { type: 'text' } },\n error: { control: { type: 'boolean' } },\n progress: { control: { type: 'number' } }\n};\n"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { StoryFn } from '@storybook/react';
|
|
2
|
-
import type { FileInputProps } from '@pega/cosmos-react-core';
|
|
3
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
interface FileInputStoryProps extends FileInputProps {
|
|
6
|
-
sizeLimit?: number;
|
|
7
|
-
showAdditionalInfo?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const FileInputDemo: StoryFn<FileInputStoryProps>;
|
|
10
|
-
//# sourceMappingURL=FileInput.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FileInput.stories.d.ts","sourceRoot":"","sources":["../../../src/core/File/FileInput.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAItD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;;AAI9D,wBAGU;AAEV,UAAU,mBAAoB,SAAQ,cAAc;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,mBAAmB,CAuGtD,CAAC"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useMemo, useCallback, useRef, useContext } from 'react';
|
|
3
|
-
import { FileInput, createUID, useAfterInitialEffect, Flex, Link } from '@pega/cosmos-react-core';
|
|
4
|
-
import { FileServiceContext } from '../../work/CaseView/FileService.mock';
|
|
5
|
-
export default {
|
|
6
|
-
title: 'Core/File/Input',
|
|
7
|
-
component: FileInput
|
|
8
|
-
};
|
|
9
|
-
export const FileInputDemo = (args) => {
|
|
10
|
-
const { files, attachFile, cancelFile, deleteFile } = useContext(FileServiceContext);
|
|
11
|
-
const errCounts = useRef({ invalidType: 0, invalidSize: 0 });
|
|
12
|
-
const [hasError, setHasError] = useState(false);
|
|
13
|
-
const sizeLimit = args.sizeLimit || 100;
|
|
14
|
-
// Fires anytime files are added to the input either through selection or drop
|
|
15
|
-
const onFilesAdded = useCallback((addedFiles) => {
|
|
16
|
-
errCounts.current = { invalidType: 0, invalidSize: 0 };
|
|
17
|
-
const newFiles = addedFiles.filter(f => {
|
|
18
|
-
let isValidSize = true;
|
|
19
|
-
if (f.size / 1000000 > sizeLimit) {
|
|
20
|
-
errCounts.current.invalidSize += 1;
|
|
21
|
-
isValidSize = false;
|
|
22
|
-
}
|
|
23
|
-
return isValidSize;
|
|
24
|
-
});
|
|
25
|
-
setHasError(newFiles.length < addedFiles.length);
|
|
26
|
-
newFiles.forEach((File) => {
|
|
27
|
-
const id = createUID();
|
|
28
|
-
attachFile({
|
|
29
|
-
id,
|
|
30
|
-
thumbnail: File.type.startsWith('image') ? URL.createObjectURL(File) : undefined,
|
|
31
|
-
name: File.name,
|
|
32
|
-
category: '',
|
|
33
|
-
File,
|
|
34
|
-
onCancel: () => {
|
|
35
|
-
cancelFile(id);
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
}, [attachFile, deleteFile]);
|
|
40
|
-
useAfterInitialEffect(() => {
|
|
41
|
-
if (files.length === 0)
|
|
42
|
-
setHasError(false);
|
|
43
|
-
}, [files.length]);
|
|
44
|
-
const info = useMemo(() => {
|
|
45
|
-
return hasError
|
|
46
|
-
? errCounts.current.invalidSize > 0 && (_jsx("div", { children: `File size must be less than ${sizeLimit}MB` }))
|
|
47
|
-
: null;
|
|
48
|
-
}, [hasError]);
|
|
49
|
-
return (_jsx(FileInput, { label: args.label, labelHidden: args.labelHidden, multiple: args.multiple, status: hasError ? 'error' : undefined, info: info, required: args.required, disabled: args.disabled, onFilesAdded: onFilesAdded, files: files.map(file => {
|
|
50
|
-
return {
|
|
51
|
-
...file,
|
|
52
|
-
onCancel: undefined,
|
|
53
|
-
onPreview: () => { },
|
|
54
|
-
onDownload: () => { },
|
|
55
|
-
onDelete: () => {
|
|
56
|
-
deleteFile(file.id);
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
return file;
|
|
60
|
-
}), additionalInfo: args.showAdditionalInfo
|
|
61
|
-
? {
|
|
62
|
-
heading: 'Additional Info',
|
|
63
|
-
content: (_jsxs(Flex, { container: { direction: 'column', alignItems: 'start', gap: 2 }, children: [_jsx("p", { children: "Lorem ipsum dolor sit amet, consectetur it, sed do tempor incididunt ut labore magna aliqua. Nibh praesent tristique magna sit amet. Nec tincidunt praesent semper feugiat nibh sed pulvinar proin gravida." }), _jsx("p", { children: "Pharetra pharetra massa massa ultricies mi quis hendrerit dolor. Est velit egestas dui id ornare arcu odio ut. Varius sit amet mattis vulputate enim nulla aliquet porttitor lacus." }), _jsx(Link, { href: '/', target: '_blank', children: "Neque vitae" })] }))
|
|
64
|
-
}
|
|
65
|
-
: undefined }));
|
|
66
|
-
};
|
|
67
|
-
FileInputDemo.args = {
|
|
68
|
-
multiple: true,
|
|
69
|
-
sizeLimit: 100,
|
|
70
|
-
label: 'File input label',
|
|
71
|
-
labelHidden: false,
|
|
72
|
-
required: false,
|
|
73
|
-
disabled: false,
|
|
74
|
-
showAdditionalInfo: false
|
|
75
|
-
};
|
|
76
|
-
FileInputDemo.argTypes = {
|
|
77
|
-
multiple: { control: { type: 'boolean' } },
|
|
78
|
-
sizeLimit: { control: { type: 'number' } },
|
|
79
|
-
label: { control: { type: 'text' } },
|
|
80
|
-
labelHidden: { control: { type: 'boolean' } },
|
|
81
|
-
required: { control: { type: 'boolean' } },
|
|
82
|
-
disabled: { control: { type: 'boolean' } },
|
|
83
|
-
showAdditionalInfo: { control: { type: 'boolean' } }
|
|
84
|
-
};
|
|
85
|
-
//# sourceMappingURL=FileInput.stories.js.map
|