@pega/cosmos-react-demos 5.0.0-dev.4.6 → 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,182 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
/* eslint-disable react/no-unescaped-entities */
|
|
3
|
-
import { useRef, useState } from 'react';
|
|
4
|
-
import { Card, CardContent, Text, Button, Popover, useElement, useOuterEvent, Flex, useI18n } from '@pega/cosmos-react-core';
|
|
5
|
-
import { ConditionBuilder, FieldCondition, AtomicCondition, getInitConditionForLhs, isValidCondition, formatCondition } from '@pega/cosmos-react-condition-builder';
|
|
6
|
-
import { demoFields, demoCondition, demoComparators, demoDateFunctions } from './props.mock';
|
|
7
|
-
import { StyledCodeBlock, StyledGrid, StyledList } from './ConditionBuilder.styles';
|
|
8
|
-
import { convertRhsTypes } from './ConditionBuilder.mocks';
|
|
9
|
-
export default {
|
|
10
|
-
title: 'Condition Builder/ConditionBuilder',
|
|
11
|
-
component: ConditionBuilder
|
|
12
|
-
};
|
|
13
|
-
export const DefaultBuilder = (args) => {
|
|
14
|
-
const translate = useI18n();
|
|
15
|
-
const [condition, setCondition] = useState(() => {
|
|
16
|
-
// If a previous condition exists on the session, use it
|
|
17
|
-
const prevCondition = sessionStorage.getItem('CBDemoCondition');
|
|
18
|
-
if (prevCondition !== null) {
|
|
19
|
-
// If an empty condition was submitted previously, start with an empty one
|
|
20
|
-
if (prevCondition === 'undefined') {
|
|
21
|
-
return undefined;
|
|
22
|
-
}
|
|
23
|
-
return JSON.parse(prevCondition);
|
|
24
|
-
}
|
|
25
|
-
return demoCondition;
|
|
26
|
-
});
|
|
27
|
-
// Set up content for rendering inside a Popover
|
|
28
|
-
const buttonRef = useRef(null); // Ref for the opener button
|
|
29
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
30
|
-
const [popoverEl, setPopoverEl] = useElement(null);
|
|
31
|
-
const hidePopover = () => {
|
|
32
|
-
if (isOpen) {
|
|
33
|
-
setIsOpen(false);
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
useOuterEvent('mousedown', [popoverEl, buttonRef.current], hidePopover); // Call the method on clicking outside these elements
|
|
37
|
-
const hideOnEscape = (e) => {
|
|
38
|
-
if (e.key === 'Escape')
|
|
39
|
-
hidePopover(); // Call the method when Escape key is pressed
|
|
40
|
-
};
|
|
41
|
-
const handle = useRef(null);
|
|
42
|
-
const builderJsx = (_jsxs(_Fragment, { children: [_jsx(ConditionBuilder, { fields: demoFields, condition: condition, validComparators: args.validComparators ? demoComparators : undefined, validRhsTypes: new Set(['LITERAL', 'FIELD', 'DATE_FUNCTION', 'RELATIVE_DATE', 'PARAMETER']), dateFunctions: args.dateFunctions ? demoDateFunctions : undefined, disallowNOT: args.disallowNOT, handle: handle }), _jsx(Flex, { container: { justify: 'end' }, children: _jsx(Button, { variant: 'primary', onClick: () => {
|
|
43
|
-
if (handle?.current) {
|
|
44
|
-
const [valid, newCondition] = handle.current.getCondition();
|
|
45
|
-
if (valid) {
|
|
46
|
-
setCondition(newCondition);
|
|
47
|
-
hidePopover();
|
|
48
|
-
sessionStorage.setItem('CBDemoCondition', JSON.stringify(newCondition)); // Persist on sessionStorage for the next time
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}, children: "Submit" }) })] }));
|
|
52
|
-
return (_jsxs(StyledGrid, { container: {
|
|
53
|
-
cols: '1fr',
|
|
54
|
-
rowGap: 3
|
|
55
|
-
}, children: [!args.renderInPopover && builderJsx, args.renderInPopover && (_jsxs(_Fragment, { children: [_jsx(Button, { ref: buttonRef, "aria-haspopup": true, "aria-expanded": isOpen, onClick: () => setIsOpen(!isOpen), onKeyDown: hideOnEscape, children: "Open Condition builder" }), _jsx(Popover, { show: isOpen, ref: setPopoverEl, target: buttonRef.current, placement: 'bottom-start', children: _jsx(Flex, { container: { pad: 1, direction: 'column' }, children: builderJsx }) })] })), _jsxs("div", { children: [_jsx(Text, { variant: 'h4', children: "Output:" }), _jsx(StyledCodeBlock, { children: condition ? JSON.stringify(condition, null, 2) : '(No condition)' })] }), _jsxs("div", { children: [_jsx(Text, { variant: 'h4', children: "Formatted Output:" }), _jsx(StyledCodeBlock, { children: condition ? formatCondition(condition, demoFields, translate) : '(No condition)' })] })] }));
|
|
56
|
-
};
|
|
57
|
-
DefaultBuilder.args = {
|
|
58
|
-
validComparators: false,
|
|
59
|
-
disallowNOT: false,
|
|
60
|
-
renderInPopover: false,
|
|
61
|
-
dateFunctions: true
|
|
62
|
-
};
|
|
63
|
-
DefaultBuilder.argTypes = {
|
|
64
|
-
validComparators: { control: { type: 'boolean' } },
|
|
65
|
-
disallowNOT: { control: { type: 'boolean' } },
|
|
66
|
-
renderInPopover: { control: { type: 'boolean' } },
|
|
67
|
-
dateFunctions: { control: { type: 'boolean' } }
|
|
68
|
-
};
|
|
69
|
-
export const FieldConditionDemo = (args) => {
|
|
70
|
-
const translate = useI18n();
|
|
71
|
-
const [condition, setCondition] = useState(undefined);
|
|
72
|
-
// Set up content for rendering inside a Popover
|
|
73
|
-
const buttonRef = useRef(null); // Ref for the opener button
|
|
74
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
75
|
-
const [popoverEl, setPopoverEl] = useElement(null);
|
|
76
|
-
const hidePopover = () => {
|
|
77
|
-
if (isOpen) {
|
|
78
|
-
setIsOpen(false);
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
useOuterEvent('mousedown', [popoverEl, buttonRef.current], hidePopover); // Call the method on clicking outside these elements
|
|
82
|
-
const hideOnEscape = (e) => {
|
|
83
|
-
if (e.key === 'Escape')
|
|
84
|
-
hidePopover(); // Call the method when Escape key is pressed
|
|
85
|
-
};
|
|
86
|
-
const handle = useRef(null);
|
|
87
|
-
const builderJsx = (_jsxs(Flex, { container: { direction: 'column', gap: 2 }, children: [_jsx(FieldCondition, { targetField: 'technicalDetails.lastActivityAt', fields: demoFields, condition: condition, validComparators: args.validComparators ? demoComparators : undefined, validRhsTypes: new Set(['LITERAL', 'FIELD', 'DATE_FUNCTION', 'RELATIVE_DATE']), dateFunctions: args.dateFunctions ? demoDateFunctions : undefined, handle: handle }), _jsx(Flex, { container: { justify: 'end' }, children: _jsx(Button, { name: 'field-condition-submit', variant: 'primary', onClick: () => {
|
|
88
|
-
if (!handle.current)
|
|
89
|
-
return;
|
|
90
|
-
const [isValid, c] = handle.current.getCondition();
|
|
91
|
-
if (!isValid)
|
|
92
|
-
return;
|
|
93
|
-
hidePopover();
|
|
94
|
-
setCondition(c);
|
|
95
|
-
}, children: "Submit" }) })] }));
|
|
96
|
-
return (_jsxs(StyledGrid, { container: {
|
|
97
|
-
cols: 'repeat(2, minmax(0, 1fr))',
|
|
98
|
-
justifyItems: 'stretch',
|
|
99
|
-
alignItems: 'start',
|
|
100
|
-
colGap: 4
|
|
101
|
-
}, children: [!args.renderInPopover && builderJsx, args.renderInPopover && (_jsxs(_Fragment, { children: [_jsx(Button, { ref: buttonRef, "aria-haspopup": true, "aria-expanded": isOpen, onClick: () => setIsOpen(!isOpen), onKeyDown: hideOnEscape, children: "Open Condition builder" }), _jsx(Popover, { show: isOpen, ref: setPopoverEl, target: buttonRef.current, placement: 'bottom-start', children: _jsx(Flex, { container: { pad: 1 }, children: builderJsx }) })] })), _jsxs("div", { children: [_jsx(Text, { variant: 'h4', children: "Output:" }), _jsx(StyledCodeBlock, { children: condition ? JSON.stringify(condition, null, 2) : '(No condition)' }), _jsx(Text, { variant: 'h4', children: "Formatted Output:" }), _jsx(StyledCodeBlock, { children: condition ? formatCondition({ condition }, demoFields, translate) : '(No condition)' })] })] }));
|
|
102
|
-
};
|
|
103
|
-
FieldConditionDemo.args = {
|
|
104
|
-
validComparators: false,
|
|
105
|
-
renderInPopover: false,
|
|
106
|
-
dateFunctions: true
|
|
107
|
-
};
|
|
108
|
-
FieldConditionDemo.argTypes = {
|
|
109
|
-
validComparators: { control: { type: 'boolean' } },
|
|
110
|
-
renderInPopover: { control: { type: 'boolean' } },
|
|
111
|
-
dateFunctions: { control: { type: 'boolean' } }
|
|
112
|
-
};
|
|
113
|
-
export const AtomicConditionDemo = (args) => {
|
|
114
|
-
const translate = useI18n();
|
|
115
|
-
const validRHSTypes = convertRhsTypes(!!args.useLiteralRHSType, !!args.useFieldRHSType, !!args.useRelativeDatesRHSType, !!args.useParameterRHSType, args.dateFunctions ? demoDateFunctions : undefined);
|
|
116
|
-
// Story State object to simulate "submitting"
|
|
117
|
-
const [submitCondition, setSubmitCondition] = useState(undefined);
|
|
118
|
-
// State needed to use Popover in Story
|
|
119
|
-
const buttonRef = useRef(null); // Ref for the opener button
|
|
120
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
121
|
-
const [popoverEl, setPopoverEl] = useElement(null);
|
|
122
|
-
const hidePopover = () => {
|
|
123
|
-
if (isOpen) {
|
|
124
|
-
setIsOpen(false);
|
|
125
|
-
}
|
|
126
|
-
};
|
|
127
|
-
useOuterEvent('mousedown', [popoverEl, buttonRef.current], hidePopover); // Call the method on clicking outside these elements
|
|
128
|
-
const hideOnEscape = (e) => {
|
|
129
|
-
if (e.key === 'Escape')
|
|
130
|
-
hidePopover(); // Call the method when Escape key is pressed
|
|
131
|
-
};
|
|
132
|
-
// State handling needed to manage/use the AtomicCondition component
|
|
133
|
-
const [showErrorIndicators, setShowErrorIndicators] = useState(false);
|
|
134
|
-
const [condition, setCondition] = useState(
|
|
135
|
-
// If editing use the seedCondition, otherwise, determine an initial condition based on the targetField
|
|
136
|
-
() => submitCondition ||
|
|
137
|
-
getInitConditionForLhs({ field: 'details.age' }, demoFields, validRHSTypes, args.validComparators ? demoComparators : undefined, args.dateFunctions ? demoDateFunctions : undefined));
|
|
138
|
-
const handleSubmission = () => {
|
|
139
|
-
setShowErrorIndicators(false);
|
|
140
|
-
if (isValidCondition(condition, demoFields, true)) {
|
|
141
|
-
// Insert all "submit" logic to use the valid condition that you've created.
|
|
142
|
-
if (args.renderInPopover)
|
|
143
|
-
setIsOpen(false);
|
|
144
|
-
setSubmitCondition(condition);
|
|
145
|
-
}
|
|
146
|
-
else {
|
|
147
|
-
setShowErrorIndicators(true);
|
|
148
|
-
}
|
|
149
|
-
};
|
|
150
|
-
const atomicConditionJSX = (_jsxs(Flex, { container: { direction: 'column', gap: 2 }, children: [_jsx(AtomicCondition, { condition: condition, fields: demoFields, indicateErrors: showErrorIndicators, validComparators: args.validComparators ? demoComparators : undefined, dateFunctions: args.dateFunctions ? demoDateFunctions : undefined, onChange: c => setCondition(c), itemDirection: args.itemDirection, lhsMode: args.lhsMode, validRhsTypes: validRHSTypes }), _jsx(Flex, { container: { justify: 'end' }, children: _jsx(Button, { variant: 'primary', onClick: handleSubmission, children: "Submit" }) })] }));
|
|
151
|
-
return (_jsxs(StyledGrid, { container: {
|
|
152
|
-
cols: 'repeat(2, minmax(0, 1fr))',
|
|
153
|
-
justifyItems: 'stretch',
|
|
154
|
-
alignItems: 'start',
|
|
155
|
-
colGap: 4
|
|
156
|
-
}, children: [!args.renderInPopover && atomicConditionJSX, args.renderInPopover && (_jsxs(_Fragment, { children: [_jsx(Button, { ref: buttonRef, "aria-haspopup": true, "aria-expanded": isOpen, onClick: () => setIsOpen(!isOpen), onKeyDown: hideOnEscape, children: `${isOpen ? 'Close' : 'Open'} Atomic Condition` }), _jsx(Popover, { show: isOpen, ref: setPopoverEl, target: buttonRef.current, placement: 'bottom-start', children: _jsx(Flex, { container: { pad: 1 }, children: atomicConditionJSX }) })] })), _jsx(Card, { children: _jsxs(CardContent, { children: [_jsx(Text, { variant: 'h4', children: "Output:" }), _jsx(StyledCodeBlock, { children: submitCondition ? JSON.stringify(submitCondition, null, 2) : '(No condition)' }), _jsx(Text, { variant: 'h4', children: "Formatted Output:" }), _jsx(StyledCodeBlock, { children: submitCondition
|
|
157
|
-
? formatCondition({ condition: submitCondition }, demoFields, translate)
|
|
158
|
-
: '(No condition)' }), _jsxs(Flex, { container: { gap: 1, direction: 'column' }, children: [_jsxs(Flex, { container: { gap: 1, direction: 'column' }, children: [_jsx(Text, { variant: 'h2', status: 'error', children: "validRhsTypes Prop Warning" }), _jsxs(Text, { children: ["There are LHS(Left Hand Side Field)/Comparator pairings that ", _jsx("u", { children: "require" }), " specific RHS(Right Hand Side Value) types. Please be mindful of these incompatibilities when limiting RHS value types using this prop. We ", _jsx("b", { children: "do not" }), " support limiting RHS field types to incompatible types and it will result in a validation error if you do so. The pairings referred to here are as follows:"] })] }), _jsxs(StyledList, { children: [_jsxs("li", { children: ["BOOLEAN LHS Fields coupled with \"EQ\" or \"NEQ\" comparators, will ", _jsx("u", { children: "always yield" }), ' ', "a Field RHS"] }), _jsxs("li", { children: ["Any LHS Fields coupled with \"IN\" or \"NOT_IN\" comparators, will ", _jsx("u", { children: "always yield" }), " a Literal RHS (Comma separated list)"] })] }), _jsx(Flex, { container: { direction: 'column' }, children: _jsxs(Text, { children: ["If you would like to limit RHS value types and avoid these incompatibilities, you will need to exclude these comparators using the ", _jsx("b", { children: "validComparators" }), " prop."] }) })] })] }) })] }));
|
|
159
|
-
};
|
|
160
|
-
AtomicConditionDemo.args = {
|
|
161
|
-
validComparators: false,
|
|
162
|
-
renderInPopover: false,
|
|
163
|
-
dateFunctions: true,
|
|
164
|
-
itemDirection: 'column',
|
|
165
|
-
useLiteralRHSType: true,
|
|
166
|
-
useParameterRHSType: true,
|
|
167
|
-
useFieldRHSType: true,
|
|
168
|
-
useRelativeDatesRHSType: true,
|
|
169
|
-
lhsMode: 'input'
|
|
170
|
-
};
|
|
171
|
-
AtomicConditionDemo.argTypes = {
|
|
172
|
-
validComparators: { control: { type: 'boolean' } },
|
|
173
|
-
renderInPopover: { control: { type: 'boolean' } },
|
|
174
|
-
dateFunctions: { control: { type: 'boolean' } },
|
|
175
|
-
itemDirection: { options: ['column', 'row'], control: { type: 'select' } },
|
|
176
|
-
useLiteralRHSType: { control: { type: 'boolean' } },
|
|
177
|
-
useParameterRHSType: { control: { type: 'boolean' } },
|
|
178
|
-
useFieldRHSType: { control: { type: 'boolean' } },
|
|
179
|
-
useRelativeDatesRHSType: { control: { type: 'boolean' } },
|
|
180
|
-
lhsMode: { options: ['input', 'label', 'hidden'], control: { type: 'select' } }
|
|
181
|
-
};
|
|
182
|
-
//# sourceMappingURL=ConditionBuilder.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionBuilder.stories.js","sourceRoot":"","sources":["../../../src/condition-builder/ConditionBuilder/ConditionBuilder.stories.tsx"],"names":[],"mappings":";AAAA,gDAAgD;AAChD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,EACL,IAAI,EACJ,WAAW,EACX,IAAI,EACJ,MAAM,EACN,OAAO,EACP,UAAU,EACV,aAAa,EACb,IAAI,EACJ,OAAO,EACR,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,gBAAgB,EAChB,cA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,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACjD,uBAAuB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACzD,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CAChF,CAAC","sourcesContent":["/* eslint-disable react/no-unescaped-entities */\nimport { useRef, useState } from 'react';\nimport type { Meta, StoryFn } from '@storybook/react';\n\nimport {\n Card,\n CardContent,\n Text,\n Button,\n Popover,\n useElement,\n useOuterEvent,\n Flex,\n useI18n\n} from '@pega/cosmos-react-core';\nimport {\n ConditionBuilder,\n FieldCondition,\n AtomicCondition,\n getInitConditionForLhs,\n isValidCondition,\n formatCondition\n} from '@pega/cosmos-react-condition-builder';\nimport type { Condition, LeafCondition, RHSType } from '@pega/cosmos-react-condition-builder';\nimport type { HandleValue as ConditionBuilderHandleValue } from '@pega/cosmos-react-condition-builder/lib/components/ConditionBuilder/ConditionBuilder.types';\nimport type { HandleValue as FieldConditionHandleValue } from '@pega/cosmos-react-condition-builder/lib/components/ConditionBuilder/FieldCondition.types';\n\nimport { demoFields, demoCondition, demoComparators, demoDateFunctions } from './props.mock';\nimport { StyledCodeBlock, StyledGrid, StyledList } from './ConditionBuilder.styles';\nimport { convertRhsTypes } from './ConditionBuilder.mocks';\n\nexport default {\n title: 'Condition Builder/ConditionBuilder',\n component: ConditionBuilder\n} as Meta;\n\ninterface ConditionBuilderStoryProps {\n validComparators?: boolean;\n disallowNOT?: boolean;\n renderInPopover?: boolean;\n dateFunctions?: boolean;\n itemDirection?: 'column' | 'row';\n useLiteralRHSType?: boolean;\n useParameterRHSType?: boolean;\n useFieldRHSType?: boolean;\n useRelativeDatesRHSType?: boolean;\n lhsMode?: 'input' | 'label' | 'hidden';\n}\n\nexport const DefaultBuilder: StoryFn<ConditionBuilderStoryProps> = (\n args: ConditionBuilderStoryProps\n) => {\n const translate = useI18n();\n const [condition, setCondition] = useState<Condition | undefined>(() => {\n // If a previous condition exists on the session, use it\n const prevCondition = sessionStorage.getItem('CBDemoCondition');\n if (prevCondition !== null) {\n // If an empty condition was submitted previously, start with an empty one\n if (prevCondition === 'undefined') {\n return undefined;\n }\n return JSON.parse(prevCondition);\n }\n return demoCondition;\n });\n\n // Set up content for rendering inside a Popover\n const buttonRef = useRef(null); // Ref for the opener button\n const [isOpen, setIsOpen] = useState(false);\n const [popoverEl, setPopoverEl] = useElement<HTMLElement>(null);\n const hidePopover = () => {\n if (isOpen) {\n setIsOpen(false);\n }\n };\n\n useOuterEvent('mousedown', [popoverEl, buttonRef.current], hidePopover); // Call the method on clicking outside these elements\n const hideOnEscape = (e: KeyboardEvent) => {\n if (e.key === 'Escape') hidePopover(); // Call the method when Escape key is pressed\n };\n\n const handle = useRef<ConditionBuilderHandleValue>(null);\n\n const builderJsx = (\n <>\n <ConditionBuilder\n fields={demoFields}\n condition={condition}\n validComparators={args.validComparators ? demoComparators : undefined}\n validRhsTypes={new Set(['LITERAL', 'FIELD', 'DATE_FUNCTION', 'RELATIVE_DATE', 'PARAMETER'])}\n dateFunctions={args.dateFunctions ? demoDateFunctions : undefined}\n disallowNOT={args.disallowNOT}\n handle={handle}\n />\n <Flex container={{ justify: 'end' }}>\n <Button\n variant='primary'\n onClick={() => {\n if (handle?.current) {\n const [valid, newCondition] = handle.current.getCondition();\n if (valid) {\n setCondition(newCondition);\n hidePopover();\n sessionStorage.setItem('CBDemoCondition', JSON.stringify(newCondition)); // Persist on sessionStorage for the next time\n }\n }\n }}\n >\n Submit\n </Button>\n </Flex>\n </>\n );\n\n return (\n <StyledGrid\n container={{\n cols: '1fr',\n rowGap: 3\n }}\n >\n {!args.renderInPopover && builderJsx}\n\n {args.renderInPopover && (\n <>\n <Button\n ref={buttonRef}\n aria-haspopup\n aria-expanded={isOpen}\n onClick={() => setIsOpen(!isOpen)}\n onKeyDown={hideOnEscape}\n >\n Open Condition builder\n </Button>\n\n <Popover\n show={isOpen}\n ref={setPopoverEl}\n target={buttonRef.current}\n placement='bottom-start'\n >\n <Flex container={{ pad: 1, direction: 'column' }}>{builderJsx}</Flex>\n </Popover>\n </>\n )}\n\n <div>\n <Text variant='h4'>Output:</Text>\n <StyledCodeBlock>\n {condition ? JSON.stringify(condition, null, 2) : '(No condition)'}\n </StyledCodeBlock>\n </div>\n\n <div>\n <Text variant='h4'>Formatted Output:</Text>\n <StyledCodeBlock>\n {condition ? formatCondition(condition, demoFields, translate) : '(No condition)'}\n </StyledCodeBlock>\n </div>\n </StyledGrid>\n );\n};\n\nDefaultBuilder.args = {\n validComparators: false,\n disallowNOT: false,\n renderInPopover: false,\n dateFunctions: true\n};\n\nDefaultBuilder.argTypes = {\n validComparators: { control: { type: 'boolean' } },\n disallowNOT: { control: { type: 'boolean' } },\n renderInPopover: { control: { type: 'boolean' } },\n dateFunctions: { control: { type: 'boolean' } }\n};\n\nexport const FieldConditionDemo: StoryFn<ConditionBuilderStoryProps> = (\n args: ConditionBuilderStoryProps\n) => {\n const translate = useI18n();\n const [condition, setCondition] = useState<LeafCondition | undefined>(undefined);\n\n // Set up content for rendering inside a Popover\n const buttonRef = useRef(null); // Ref for the opener button\n const [isOpen, setIsOpen] = useState(false);\n const [popoverEl, setPopoverEl] = useElement<HTMLElement>(null);\n const hidePopover = () => {\n if (isOpen) {\n setIsOpen(false);\n }\n };\n useOuterEvent('mousedown', [popoverEl, buttonRef.current], hidePopover); // Call the method on clicking outside these elements\n const hideOnEscape = (e: KeyboardEvent) => {\n if (e.key === 'Escape') hidePopover(); // Call the method when Escape key is pressed\n };\n\n const handle = useRef<FieldConditionHandleValue>(null);\n\n const builderJsx = (\n <Flex container={{ direction: 'column', gap: 2 }}>\n <FieldCondition\n targetField='technicalDetails.lastActivityAt'\n fields={demoFields}\n condition={condition}\n validComparators={args.validComparators ? demoComparators : undefined}\n validRhsTypes={new Set(['LITERAL', 'FIELD', 'DATE_FUNCTION', 'RELATIVE_DATE'])}\n dateFunctions={args.dateFunctions ? demoDateFunctions : undefined}\n handle={handle}\n />\n\n <Flex container={{ justify: 'end' }}>\n <Button\n name='field-condition-submit'\n variant='primary'\n onClick={() => {\n if (!handle.current) return;\n\n const [isValid, c] = handle.current.getCondition();\n if (!isValid) return;\n\n hidePopover();\n setCondition(c);\n }}\n >\n Submit\n </Button>\n </Flex>\n </Flex>\n );\n\n return (\n <StyledGrid\n container={{\n cols: 'repeat(2, minmax(0, 1fr))',\n justifyItems: 'stretch',\n alignItems: 'start',\n colGap: 4\n }}\n >\n {!args.renderInPopover && builderJsx}\n\n {args.renderInPopover && (\n <>\n <Button\n ref={buttonRef}\n aria-haspopup\n aria-expanded={isOpen}\n onClick={() => setIsOpen(!isOpen)}\n onKeyDown={hideOnEscape}\n >\n Open Condition builder\n </Button>\n\n <Popover\n show={isOpen}\n ref={setPopoverEl}\n target={buttonRef.current}\n placement='bottom-start'\n >\n <Flex container={{ pad: 1 }}>{builderJsx}</Flex>\n </Popover>\n </>\n )}\n\n <div>\n <Text variant='h4'>Output:</Text>\n <StyledCodeBlock>\n {condition ? JSON.stringify(condition, null, 2) : '(No condition)'}\n </StyledCodeBlock>\n\n <Text variant='h4'>Formatted Output:</Text>\n <StyledCodeBlock>\n {condition ? formatCondition({ condition }, demoFields, translate) : '(No condition)'}\n </StyledCodeBlock>\n </div>\n </StyledGrid>\n );\n};\n\nFieldConditionDemo.args = {\n validComparators: false,\n renderInPopover: false,\n dateFunctions: true\n};\n\nFieldConditionDemo.argTypes = {\n validComparators: { control: { type: 'boolean' } },\n renderInPopover: { control: { type: 'boolean' } },\n dateFunctions: { control: { type: 'boolean' } }\n};\n\nexport const AtomicConditionDemo: StoryFn<ConditionBuilderStoryProps> = (\n args: ConditionBuilderStoryProps\n) => {\n const translate = useI18n();\n\n const validRHSTypes: Set<RHSType> = convertRhsTypes(\n !!args.useLiteralRHSType,\n !!args.useFieldRHSType,\n !!args.useRelativeDatesRHSType,\n !!args.useParameterRHSType,\n args.dateFunctions ? demoDateFunctions : undefined\n );\n\n // Story State object to simulate \"submitting\"\n const [submitCondition, setSubmitCondition] = useState<LeafCondition | undefined>(undefined);\n // State needed to use Popover in Story\n const buttonRef = useRef(null); // Ref for the opener button\n const [isOpen, setIsOpen] = useState(false);\n const [popoverEl, setPopoverEl] = useElement<HTMLElement>(null);\n const hidePopover = () => {\n if (isOpen) {\n setIsOpen(false);\n }\n };\n useOuterEvent('mousedown', [popoverEl, buttonRef.current], hidePopover); // Call the method on clicking outside these elements\n const hideOnEscape = (e: KeyboardEvent) => {\n if (e.key === 'Escape') hidePopover(); // Call the method when Escape key is pressed\n };\n\n // State handling needed to manage/use the AtomicCondition component\n const [showErrorIndicators, setShowErrorIndicators] = useState(false);\n const [condition, setCondition] = useState(\n // If editing use the seedCondition, otherwise, determine an initial condition based on the targetField\n () =>\n submitCondition ||\n getInitConditionForLhs(\n { field: 'details.age' },\n demoFields,\n validRHSTypes,\n args.validComparators ? demoComparators : undefined,\n args.dateFunctions ? demoDateFunctions : undefined\n )\n );\n\n const handleSubmission = () => {\n setShowErrorIndicators(false);\n if (isValidCondition(condition, demoFields, true)) {\n // Insert all \"submit\" logic to use the valid condition that you've created.\n if (args.renderInPopover) setIsOpen(false);\n setSubmitCondition(condition);\n } else {\n setShowErrorIndicators(true);\n }\n };\n\n const atomicConditionJSX = (\n <Flex container={{ direction: 'column', gap: 2 }}>\n <AtomicCondition\n condition={condition}\n fields={demoFields}\n indicateErrors={showErrorIndicators}\n validComparators={args.validComparators ? demoComparators : undefined}\n dateFunctions={args.dateFunctions ? demoDateFunctions : undefined}\n onChange={c => setCondition(c)}\n itemDirection={args.itemDirection}\n lhsMode={args.lhsMode}\n validRhsTypes={validRHSTypes}\n />\n <Flex container={{ justify: 'end' }}>\n <Button variant='primary' onClick={handleSubmission}>\n Submit\n </Button>\n </Flex>\n </Flex>\n );\n\n return (\n <StyledGrid\n container={{\n cols: 'repeat(2, minmax(0, 1fr))',\n justifyItems: 'stretch',\n alignItems: 'start',\n colGap: 4\n }}\n >\n {!args.renderInPopover && atomicConditionJSX}\n\n {args.renderInPopover && (\n <>\n <Button\n ref={buttonRef}\n aria-haspopup\n aria-expanded={isOpen}\n onClick={() => setIsOpen(!isOpen)}\n onKeyDown={hideOnEscape}\n >\n {`${isOpen ? 'Close' : 'Open'} Atomic Condition`}\n </Button>\n\n <Popover\n show={isOpen}\n ref={setPopoverEl}\n target={buttonRef.current}\n placement='bottom-start'\n >\n <Flex container={{ pad: 1 }}>{atomicConditionJSX}</Flex>\n </Popover>\n </>\n )}\n <Card>\n <CardContent>\n <Text variant='h4'>Output:</Text>\n <StyledCodeBlock>\n {submitCondition ? JSON.stringify(submitCondition, null, 2) : '(No condition)'}\n </StyledCodeBlock>\n\n <Text variant='h4'>Formatted Output:</Text>\n <StyledCodeBlock>\n {submitCondition\n ? formatCondition({ condition: submitCondition }, demoFields, translate)\n : '(No condition)'}\n </StyledCodeBlock>\n <Flex container={{ gap: 1, direction: 'column' }}>\n <Flex container={{ gap: 1, direction: 'column' }}>\n <Text variant='h2' status='error'>\n validRhsTypes Prop Warning\n </Text>\n <Text>\n There are LHS(Left Hand Side Field)/Comparator pairings that <u>require</u> specific\n RHS(Right Hand Side Value) types. Please be mindful of these incompatibilities when\n limiting RHS value types using this prop. We <b>do not</b> support limiting RHS\n field types to incompatible types and it will result in a validation error if you do\n so. The pairings referred to here are as follows:\n </Text>\n </Flex>\n <StyledList>\n <li>\n BOOLEAN LHS Fields coupled with \"EQ\" or \"NEQ\" comparators, will <u>always yield</u>{' '}\n a Field RHS\n </li>\n <li>\n Any LHS Fields coupled with \"IN\" or \"NOT_IN\" comparators, will <u>always yield</u> a\n Literal RHS (Comma separated list)\n </li>\n </StyledList>\n <Flex container={{ direction: 'column' }}>\n <Text>\n If you would like to limit RHS value types and avoid these incompatibilities, you\n will need to exclude these comparators using the <b>validComparators</b> prop.\n </Text>\n </Flex>\n </Flex>\n </CardContent>\n </Card>\n </StyledGrid>\n );\n};\n\nAtomicConditionDemo.args = {\n validComparators: false,\n renderInPopover: false,\n dateFunctions: true,\n itemDirection: 'column',\n useLiteralRHSType: true,\n useParameterRHSType: true,\n useFieldRHSType: true,\n useRelativeDatesRHSType: true,\n lhsMode: 'input'\n};\n\nAtomicConditionDemo.argTypes = {\n validComparators: { control: { type: 'boolean' } },\n renderInPopover: { control: { type: 'boolean' } },\n dateFunctions: { control: { type: 'boolean' } },\n itemDirection: { options: ['column', 'row'], control: { type: 'select' } },\n useLiteralRHSType: { control: { type: 'boolean' } },\n useParameterRHSType: { control: { type: 'boolean' } },\n useFieldRHSType: { control: { type: 'boolean' } },\n useRelativeDatesRHSType: { control: { type: 'boolean' } },\n lhsMode: { options: ['input', 'label', 'hidden'], control: { type: 'select' } }\n};\n"]}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const StyledGrid: import("styled-components").StyledComponent<import("react").FunctionComponent<import("@pega/cosmos-react-core/lib/components/Grid/Grid.types").default & import("@pega/cosmos-react-core").ForwardProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const StyledCodeBlock: import("styled-components").StyledComponent<"pre", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
-
export declare const StyledList: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
//# sourceMappingURL=ConditionBuilder.styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionBuilder.styles.d.ts","sourceRoot":"","sources":["../../../src/condition-builder/ConditionBuilder/ConditionBuilder.styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,UAAU,gQAEtB,CAAC;AAEF,eAAO,MAAM,eAAe,yGAG3B,CAAC;AAGF,eAAO,MAAM,UAAU,wGAEtB,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components';
|
|
2
|
-
import { Grid, defaultThemeProp } from '@pega/cosmos-react-core';
|
|
3
|
-
export const StyledGrid = styled(Grid) `
|
|
4
|
-
max-width: 60rem;
|
|
5
|
-
`;
|
|
6
|
-
export const StyledCodeBlock = styled.pre `
|
|
7
|
-
padding: ${props => props.theme.base.spacing};
|
|
8
|
-
margin-bottom: ${props => props.theme.base.spacing};
|
|
9
|
-
`;
|
|
10
|
-
StyledCodeBlock.defaultProps = defaultThemeProp;
|
|
11
|
-
export const StyledList = styled.ul `
|
|
12
|
-
padding-left: calc(4 * ${props => props.theme.base.spacing});
|
|
13
|
-
`;
|
|
14
|
-
StyledList.defaultProps = defaultThemeProp;
|
|
15
|
-
//# sourceMappingURL=ConditionBuilder.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionBuilder.styles.js","sourceRoot":"","sources":["../../../src/condition-builder/ConditionBuilder/ConditionBuilder.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;;CAErC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAA;aAC5B,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO;mBAC3B,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO;CACnD,CAAC;AACF,eAAe,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAEhD,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,EAAE,CAAA;2BACR,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO;CAC3D,CAAC;AACF,UAAU,CAAC,YAAY,GAAG,gBAAgB,CAAC","sourcesContent":["import styled from 'styled-components';\n\nimport { Grid, defaultThemeProp } from '@pega/cosmos-react-core';\n\nexport const StyledGrid = styled(Grid)`\n max-width: 60rem;\n`;\n\nexport const StyledCodeBlock = styled.pre`\n padding: ${props => props.theme.base.spacing};\n margin-bottom: ${props => props.theme.base.spacing};\n`;\nStyledCodeBlock.defaultProps = defaultThemeProp;\n\nexport const StyledList = styled.ul`\n padding-left: calc(4 * ${props => props.theme.base.spacing});\n`;\nStyledList.defaultProps = defaultThemeProp;\n"]}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ComparatorsByType, Condition, DateFunctionsByType, Field } from '@pega/cosmos-react-condition-builder';
|
|
2
|
-
export declare const demoFields: Field[];
|
|
3
|
-
export declare const demoCondition: Condition;
|
|
4
|
-
export declare const demoComparators: ComparatorsByType[];
|
|
5
|
-
export declare const demoDateFunctions: DateFunctionsByType;
|
|
6
|
-
//# sourceMappingURL=props.mock.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"props.mock.d.ts","sourceRoot":"","sources":["../../../src/condition-builder/ConditionBuilder/props.mock.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,mBAAmB,EACnB,KAAK,EACN,MAAM,sCAAsC,CAAC;AAE9C,eAAO,MAAM,UAAU,EAAE,KAAK,EAmK7B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,SAiC3B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,iBAAiB,EAI9C,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,mBAwB/B,CAAC"}
|
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
export const demoFields = [
|
|
2
|
-
{
|
|
3
|
-
id: 'employeeId',
|
|
4
|
-
primary: 'Employee ID',
|
|
5
|
-
type: 'TEXT',
|
|
6
|
-
possibleValues: [
|
|
7
|
-
'Customer Service',
|
|
8
|
-
'Engineering',
|
|
9
|
-
'Facilities',
|
|
10
|
-
'Finance',
|
|
11
|
-
'HR',
|
|
12
|
-
'IT',
|
|
13
|
-
' Sales '
|
|
14
|
-
]
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
id: 'details',
|
|
18
|
-
primary: 'Details',
|
|
19
|
-
items: [
|
|
20
|
-
{
|
|
21
|
-
id: 'details.firstName',
|
|
22
|
-
primary: 'First Name',
|
|
23
|
-
type: 'TEXT'
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
id: 'details.lastName',
|
|
27
|
-
primary: 'Last Name',
|
|
28
|
-
type: 'TEXT',
|
|
29
|
-
possibleValues: () => {
|
|
30
|
-
return new Promise(resolve => {
|
|
31
|
-
setTimeout(() => {
|
|
32
|
-
resolve([
|
|
33
|
-
'Value 1',
|
|
34
|
-
'Value 2',
|
|
35
|
-
'Value 3',
|
|
36
|
-
'Value 4',
|
|
37
|
-
'Value 5',
|
|
38
|
-
'Value 6',
|
|
39
|
-
'Value 7'
|
|
40
|
-
]);
|
|
41
|
-
}, 5000);
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
{ id: 'details.gender', primary: 'Gender', type: 'TEXT' },
|
|
46
|
-
{
|
|
47
|
-
id: 'details.age',
|
|
48
|
-
primary: 'Age',
|
|
49
|
-
type: 'NUMBER'
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
id: 'details.profileDetails',
|
|
53
|
-
primary: 'Profile Details',
|
|
54
|
-
items: [
|
|
55
|
-
{
|
|
56
|
-
id: 'details.profileDetails.experience',
|
|
57
|
-
primary: 'Experience (yrs)',
|
|
58
|
-
type: 'NUMBER'
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
id: 'details.profileDetails.department',
|
|
62
|
-
primary: 'Department',
|
|
63
|
-
type: 'TEXT',
|
|
64
|
-
possibleValues: [
|
|
65
|
-
'Customer Service',
|
|
66
|
-
'Engineering',
|
|
67
|
-
'Facilities',
|
|
68
|
-
'Finance',
|
|
69
|
-
'HR',
|
|
70
|
-
'IT',
|
|
71
|
-
'Sales'
|
|
72
|
-
]
|
|
73
|
-
}
|
|
74
|
-
]
|
|
75
|
-
}
|
|
76
|
-
]
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
id: 'salary',
|
|
80
|
-
primary: 'Salary',
|
|
81
|
-
type: 'NUMBER'
|
|
82
|
-
},
|
|
83
|
-
{ id: 'hireDate', primary: 'Hire Date', type: 'DATE_ONLY' },
|
|
84
|
-
{ id: 'dateOfBirth', primary: 'Date of Birth', type: 'DATE_ONLY' },
|
|
85
|
-
{
|
|
86
|
-
id: 'technicalDetails',
|
|
87
|
-
primary: 'Technical details',
|
|
88
|
-
items: [
|
|
89
|
-
{
|
|
90
|
-
id: 'technicalDetails.shiftStartTime',
|
|
91
|
-
primary: 'Shift start time',
|
|
92
|
-
type: 'TIME_ONLY'
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
id: 'technicalDetails.shiftEndTime',
|
|
96
|
-
primary: 'Shift end time',
|
|
97
|
-
type: 'TIME_ONLY'
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
id: 'technicalDetails.lastActivityAt',
|
|
101
|
-
primary: 'Last activity at',
|
|
102
|
-
type: 'DATE_TIME'
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
id: 'technicalDetails.nextPasswordReset',
|
|
106
|
-
primary: 'Next password reset',
|
|
107
|
-
type: 'DATE_TIME'
|
|
108
|
-
}
|
|
109
|
-
]
|
|
110
|
-
},
|
|
111
|
-
{ id: 'isSeniorCitizen', primary: 'Is Senior Citizen', type: 'BOOLEAN' },
|
|
112
|
-
{ id: 'isRemoteEmployee', primary: 'Is Remote Employee', type: 'BOOLEAN' },
|
|
113
|
-
{
|
|
114
|
-
id: 'createOperator',
|
|
115
|
-
primary: 'Create operator',
|
|
116
|
-
type: 'TEXT',
|
|
117
|
-
parameters: [
|
|
118
|
-
{
|
|
119
|
-
id: 'currentOperator',
|
|
120
|
-
primary: 'Current operator'
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
id: 'manager',
|
|
124
|
-
primary: 'Manager'
|
|
125
|
-
}
|
|
126
|
-
],
|
|
127
|
-
possibleValues: ['Value 1', 'Value 2', 'Value 3', 'Value 4', 'Value 5', 'Value 6', 'Value 7']
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
id: 'organization',
|
|
131
|
-
primary: 'Organization',
|
|
132
|
-
type: 'TEXT',
|
|
133
|
-
parameters: [
|
|
134
|
-
{
|
|
135
|
-
id: 'currentOrganization',
|
|
136
|
-
primary: 'Current organization'
|
|
137
|
-
}
|
|
138
|
-
]
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
id: 'workgroup',
|
|
142
|
-
primary: 'Workgroup',
|
|
143
|
-
type: 'TEXT',
|
|
144
|
-
parameters: [
|
|
145
|
-
{
|
|
146
|
-
id: 'currentWorkgroup',
|
|
147
|
-
primary: 'Current workgroup'
|
|
148
|
-
}
|
|
149
|
-
],
|
|
150
|
-
possibleValues: ['Value 1', 'Value 2', 'Value 3', 'Value 4', 'Value 5', 'Value 6', 'Value 7']
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
id: 'invalidField',
|
|
154
|
-
primary: 'Invalid Field',
|
|
155
|
-
type: 'TEXT',
|
|
156
|
-
possibleValues: () => {
|
|
157
|
-
return new Promise((_, reject) => {
|
|
158
|
-
setTimeout(() => {
|
|
159
|
-
reject(new Error());
|
|
160
|
-
}, 5000);
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
];
|
|
165
|
-
export const demoCondition = {
|
|
166
|
-
AND: [
|
|
167
|
-
{
|
|
168
|
-
condition: {
|
|
169
|
-
lhs: {
|
|
170
|
-
field: 'technicalDetails.lastActivityAt'
|
|
171
|
-
},
|
|
172
|
-
comparator: 'EQ',
|
|
173
|
-
rhs: {
|
|
174
|
-
value: '2021-08-13T14:30'
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
NOT: {
|
|
180
|
-
OR: [
|
|
181
|
-
{
|
|
182
|
-
condition: {
|
|
183
|
-
lhs: { field: 'details.profileDetails.experience' },
|
|
184
|
-
comparator: 'GTE',
|
|
185
|
-
rhs: { value: 10 }
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
condition: {
|
|
190
|
-
lhs: { field: 'isRemoteEmployee' },
|
|
191
|
-
comparator: 'IS_TRUE'
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
]
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
]
|
|
198
|
-
};
|
|
199
|
-
export const demoComparators = [
|
|
200
|
-
{ type: 'TEXT', comparators: ['EQ', 'NEQ'] },
|
|
201
|
-
{ type: 'NUMBER', comparators: ['GT', 'GTE', 'LT', 'LTE'] },
|
|
202
|
-
{ type: 'BOOLEAN', comparators: ['IS_TRUE', 'IS_FALSE'] }
|
|
203
|
-
];
|
|
204
|
-
export const demoDateFunctions = {
|
|
205
|
-
DATE_TIME: [
|
|
206
|
-
'YEARS',
|
|
207
|
-
'QUARTERS',
|
|
208
|
-
'MONTHS',
|
|
209
|
-
'WEEKS',
|
|
210
|
-
'DAYS',
|
|
211
|
-
'HOURS',
|
|
212
|
-
'MINUTES',
|
|
213
|
-
'SECONDS',
|
|
214
|
-
'MONTHS_OF_YEAR',
|
|
215
|
-
'DAYS_OF_MONTH',
|
|
216
|
-
'DAYS_OF_WEEK',
|
|
217
|
-
'HOURS_OF_DAY'
|
|
218
|
-
],
|
|
219
|
-
DATE_ONLY: [
|
|
220
|
-
'YEARS',
|
|
221
|
-
'QUARTERS',
|
|
222
|
-
'MONTHS',
|
|
223
|
-
'WEEKS',
|
|
224
|
-
'MONTHS_OF_YEAR',
|
|
225
|
-
'DAYS_OF_MONTH',
|
|
226
|
-
'DAYS_OF_WEEK'
|
|
227
|
-
]
|
|
228
|
-
};
|
|
229
|
-
//# sourceMappingURL=props.mock.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"props.mock.js","sourceRoot":"","sources":["../../../src/condition-builder/ConditionBuilder/props.mock.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,MAAM,UAAU,GAAY;IACjC;QACE,EAAE,EAAE,YAAY;QAChB,OAAO,EAAE,aAAa;QACtB,IAAI,EAAE,MAAM;QACZ,cAAc,EAAE;YACd,kBAAkB;YAClB,aAAa;YACb,YAAY;YACZ,SAAS;YACT,IAAI;YACJ,IAAI;YACJ,SAAS;SACV;KACF;IACD;QACE,EAAE,EAAE,SAAS;QACb,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE;YACL;gBACE,EAAE,EAAE,mBAAmB;gBACvB,OAAO,EAAE,YAAY;gBACrB,IAAI,EAAE,MAAM;aACb;YACD;gBACE,EAAE,EAAE,kBAAkB;gBACtB,OAAO,EAAE,WAAW;gBACpB,IAAI,EAAE,MAAM;gBACZ,cAAc,EAAE,GAAG,EAAE;oBACnB,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE;wBAC3B,UAAU,CAAC,GAAG,EAAE;4BACd,OAAO,CAAC;gCACN,SAAS;gCACT,SAAS;gCACT,SAAS;gCACT,SAAS;gCACT,SAAS;gCACT,SAAS;gCACT,SAAS;6BACV,CAAC,CAAC;wBACL,CAAC,EAAE,IAAI,CAAC,CAAC;oBACX,CAAC,CAAC,CAAC;gBACL,CAAC;aACF;YACD,EAAE,EAAE,EAAE,gBAAgB,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;YACzD;gBACE,EAAE,EAAE,aAAa;gBACjB,OAAO,EAAE,KAAK;gBACd,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,EAAE,EAAE,wBAAwB;gBAC5B,OAAO,EAAE,iBAAiB;gBAC1B,KAAK,EAAE;oBACL;wBACE,EAAE,EAAE,mCAAm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AG,EAAE;oBACH,KAAK,EAAE,kBAAkB;iBAC1B;aACF;SACF;QACD;YACE,GAAG,EAAE;gBACH,EAAE,EAAE;oBACF;wBACE,SAAS,EAAE;4BACT,GAAG,EAAE,EAAE,KAAK,EAAE,mCAAmC,EAAE;4BACnD,UAAU,EAAE,KAAK;4BACjB,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;yBACnB;qBACF;oBACD;wBACE,SAAS,EAAE;4BACT,GAAG,EAAE,EAAE,KAAK,EAAE,kBAAkB,EAAE;4BAClC,UAAU,EAAE,SAAS;yBACtB;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAwB;IAClD,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE;IAC5C,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,EAAE;IAC3D,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC,EAAE;CAC1D,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAwB;IACpD,SAAS,EAAE;QACT,OAAO;QACP,UAAU;QACV,QAAQ;QACR,OAAO;QACP,MAAM;QACN,OAAO;QACP,SAAS;QACT,SAAS;QACT,gBAAgB;QAChB,eAAe;QACf,cAAc;QACd,cAAc;KACf;IACD,SAAS,EAAE;QACT,OAAO;QACP,UAAU;QACV,QAAQ;QACR,OAAO;QACP,gBAAgB;QAChB,eAAe;QACf,cAAc;KACf;CACF,CAAC","sourcesContent":["import {\n ComparatorsByType,\n Condition,\n DateFunctionsByType,\n Field\n} from '@pega/cosmos-react-condition-builder';\n\nexport const demoFields: Field[] = [\n {\n id: 'employeeId',\n primary: 'Employee ID',\n type: 'TEXT',\n possibleValues: [\n 'Customer Service',\n 'Engineering',\n 'Facilities',\n 'Finance',\n 'HR',\n 'IT',\n ' Sales '\n ]\n },\n {\n id: 'details',\n primary: 'Details',\n items: [\n {\n id: 'details.firstName',\n primary: 'First Name',\n type: 'TEXT'\n },\n {\n id: 'details.lastName',\n primary: 'Last Name',\n type: 'TEXT',\n possibleValues: () => {\n return new Promise(resolve => {\n setTimeout(() => {\n resolve([\n 'Value 1',\n 'Value 2',\n 'Value 3',\n 'Value 4',\n 'Value 5',\n 'Value 6',\n 'Value 7'\n ]);\n }, 5000);\n });\n }\n },\n { id: 'details.gender', primary: 'Gender', type: 'TEXT' },\n {\n id: 'details.age',\n primary: 'Age',\n type: 'NUMBER'\n },\n {\n id: 'details.profileDetails',\n primary: 'Profile Details',\n items: [\n {\n id: 'details.profileDetails.experience',\n primary: 'Experience (yrs)',\n type: 'NUMBER'\n },\n {\n id: 'details.profileDetails.department',\n primary: 'Department',\n type: 'TEXT',\n possibleValues: [\n 'Customer Service',\n 'Engineering',\n 'Facilities',\n 'Finance',\n 'HR',\n 'IT',\n 'Sales'\n ]\n }\n ]\n }\n ]\n },\n {\n id: 'salary',\n primary: 'Salary',\n type: 'NUMBER'\n },\n { id: 'hireDate', primary: 'Hire Date', type: 'DATE_ONLY' },\n { id: 'dateOfBirth', primary: 'Date of Birth', type: 'DATE_ONLY' },\n {\n id: 'technicalDetails',\n primary: 'Technical details',\n items: [\n {\n id: 'technicalDetails.shiftStartTime',\n primary: 'Shift start time',\n type: 'TIME_ONLY'\n },\n {\n id: 'technicalDetails.shiftEndTime',\n primary: 'Shift end time',\n type: 'TIME_ONLY'\n },\n {\n id: 'technicalDetails.lastActivityAt',\n primary: 'Last activity at',\n type: 'DATE_TIME'\n },\n {\n id: 'technicalDetails.nextPasswordReset',\n primary: 'Next password reset',\n type: 'DATE_TIME'\n }\n ]\n },\n { id: 'isSeniorCitizen', primary: 'Is Senior Citizen', type: 'BOOLEAN' },\n { id: 'isRemoteEmployee', primary: 'Is Remote Employee', type: 'BOOLEAN' },\n {\n id: 'createOperator',\n primary: 'Create operator',\n type: 'TEXT',\n parameters: [\n {\n id: 'currentOperator',\n primary: 'Current operator'\n },\n {\n id: 'manager',\n primary: 'Manager'\n }\n ],\n possibleValues: ['Value 1', 'Value 2', 'Value 3', 'Value 4', 'Value 5', 'Value 6', 'Value 7']\n },\n {\n id: 'organization',\n primary: 'Organization',\n type: 'TEXT',\n parameters: [\n {\n id: 'currentOrganization',\n primary: 'Current organization'\n }\n ]\n },\n {\n id: 'workgroup',\n primary: 'Workgroup',\n type: 'TEXT',\n parameters: [\n {\n id: 'currentWorkgroup',\n primary: 'Current workgroup'\n }\n ],\n possibleValues: ['Value 1', 'Value 2', 'Value 3', 'Value 4', 'Value 5', 'Value 6', 'Value 7']\n },\n {\n id: 'invalidField',\n primary: 'Invalid Field',\n type: 'TEXT',\n possibleValues: () => {\n return new Promise((_, reject) => {\n setTimeout(() => {\n reject(new Error());\n }, 5000);\n });\n }\n }\n];\n\nexport const demoCondition: Condition = {\n AND: [\n {\n condition: {\n lhs: {\n field: 'technicalDetails.lastActivityAt'\n },\n comparator: 'EQ',\n rhs: {\n value: '2021-08-13T14:30'\n }\n }\n },\n {\n NOT: {\n OR: [\n {\n condition: {\n lhs: { field: 'details.profileDetails.experience' },\n comparator: 'GTE',\n rhs: { value: 10 }\n }\n },\n {\n condition: {\n lhs: { field: 'isRemoteEmployee' },\n comparator: 'IS_TRUE'\n }\n }\n ]\n }\n }\n ]\n};\n\nexport const demoComparators: ComparatorsByType[] = [\n { type: 'TEXT', comparators: ['EQ', 'NEQ'] },\n { type: 'NUMBER', comparators: ['GT', 'GTE', 'LT', 'LTE'] },\n { type: 'BOOLEAN', comparators: ['IS_TRUE', 'IS_FALSE'] }\n];\n\nexport const demoDateFunctions: DateFunctionsByType = {\n DATE_TIME: [\n 'YEARS',\n 'QUARTERS',\n 'MONTHS',\n 'WEEKS',\n 'DAYS',\n 'HOURS',\n 'MINUTES',\n 'SECONDS',\n 'MONTHS_OF_YEAR',\n 'DAYS_OF_MONTH',\n 'DAYS_OF_WEEK',\n 'HOURS_OF_DAY'\n ],\n DATE_ONLY: [\n 'YEARS',\n 'QUARTERS',\n 'MONTHS',\n 'WEEKS',\n 'MONTHS_OF_YEAR',\n 'DAYS_OF_MONTH',\n 'DAYS_OF_WEEK'\n ]\n};\n"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { StoryFn } from '@storybook/react';
|
|
2
|
-
import type { ConditionInputMode, ConditionFieldType } from '@pega/cosmos-react-condition-builder';
|
|
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 ConditionInputStoryProps {
|
|
6
|
-
fieldType: ConditionFieldType;
|
|
7
|
-
mode: ConditionInputMode;
|
|
8
|
-
}
|
|
9
|
-
export declare const ConditionInputDemo: StoryFn<ConditionInputStoryProps>;
|
|
10
|
-
//# sourceMappingURL=ConditionInput.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionInput.stories.d.ts","sourceRoot":"","sources":["../../../src/condition-builder/ConditionInput/ConditionInput.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAItD,OAAO,KAAK,EACV,kBAAkB,EAElB,kBAAkB,EACnB,MAAM,sCAAsC,CAAC;;AAE9C,wBAGU;AAEV,UAAU,wBAAwB;IAChC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAC,wBAAwB,CAYhE,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useState } from 'react';
|
|
3
|
-
import { ConditionInput } from '@pega/cosmos-react-condition-builder';
|
|
4
|
-
export default {
|
|
5
|
-
title: 'Condition Builder/ConditionInput',
|
|
6
|
-
component: ConditionInput
|
|
7
|
-
};
|
|
8
|
-
export const ConditionInputDemo = (args) => {
|
|
9
|
-
const [condition, setCondition] = useState();
|
|
10
|
-
const field = {
|
|
11
|
-
name: 'Field Value',
|
|
12
|
-
type: args.fieldType
|
|
13
|
-
};
|
|
14
|
-
return (_jsx(ConditionInput, { field: field, mode: args.mode, condition: condition, onChange: setCondition }));
|
|
15
|
-
};
|
|
16
|
-
ConditionInputDemo.args = {
|
|
17
|
-
fieldType: 'TEXT',
|
|
18
|
-
mode: 'advanced'
|
|
19
|
-
};
|
|
20
|
-
ConditionInputDemo.argTypes = {
|
|
21
|
-
fieldType: {
|
|
22
|
-
options: [
|
|
23
|
-
'TEXT',
|
|
24
|
-
'INTEGER',
|
|
25
|
-
'BOOLEAN',
|
|
26
|
-
'DECIMAL',
|
|
27
|
-
'EMAIL',
|
|
28
|
-
'URL',
|
|
29
|
-
'PERCENTAGE',
|
|
30
|
-
'CURRENCY',
|
|
31
|
-
'PHONE',
|
|
32
|
-
'DATE_ONLY',
|
|
33
|
-
'TIME_ONLY',
|
|
34
|
-
'DATE_TIME',
|
|
35
|
-
'PICKLIST'
|
|
36
|
-
],
|
|
37
|
-
control: { type: 'select' }
|
|
38
|
-
},
|
|
39
|
-
mode: { options: ['default', 'advanced'], control: { type: 'select' } }
|
|
40
|
-
};
|
|
41
|
-
//# sourceMappingURL=ConditionInput.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionInput.stories.js","sourceRoot":"","sources":["../../../src/condition-builder/ConditionInput/ConditionInput.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAOtE,eAAe;IACb,KAAK,EAAE,kCAAkC;IACzC,SAAS,EAAE,cAAc;CAClB,CAAC;AAOV,MAAM,CAAC,MAAM,kBAAkB,GAAsC,CACnE,IAA8B,EAC9B,EAAE;IACF,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,EAA6B,CAAC;IACxE,MAAM,KAAK,GAAG;QACZ,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,IAAI,CAAC,SAAS;KACrB,CAAC;IAEF,OAAO,CACL,KAAC,cAAc,IAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,GAAI,CAChG,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAkB,CAAC,IAAI,GAAG;IACxB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,UAAU;CACjB,CAAC;AAEF,kBAAkB,CAAC,QAAQ,GAAG;IAC5B,SAAS,EAAE;QACT,OAAO,EAAE;YACP,MAAM;YACN,SAAS;YACT,SAAS;YACT,SAAS;YACT,OAAO;YACP,KAAK;YACL,YAAY;YACZ,UAAU;YACV,OAAO;YACP,WAAW;YACX,WAAW;YACX,WAAW;YACX,UAAU;SACX;QACD,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;IACD,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CACxE,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\nimport { useState } from 'react';\n\nimport { ConditionInput } from '@pega/cosmos-react-condition-builder';\nimport type {\n ConditionInputMode,\n LeafCondition,\n ConditionFieldType\n} from '@pega/cosmos-react-condition-builder';\n\nexport default {\n title: 'Condition Builder/ConditionInput',\n component: ConditionInput\n} as Meta;\n\ninterface ConditionInputStoryProps {\n fieldType: ConditionFieldType;\n mode: ConditionInputMode;\n}\n\nexport const ConditionInputDemo: StoryFn<ConditionInputStoryProps> = (\n args: ConditionInputStoryProps\n) => {\n const [condition, setCondition] = useState<LeafCondition | undefined>();\n const field = {\n name: 'Field Value',\n type: args.fieldType\n };\n\n return (\n <ConditionInput field={field} mode={args.mode} condition={condition} onChange={setCondition} />\n );\n};\n\nConditionInputDemo.args = {\n fieldType: 'TEXT',\n mode: 'advanced'\n};\n\nConditionInputDemo.argTypes = {\n fieldType: {\n options: [\n 'TEXT',\n 'INTEGER',\n 'BOOLEAN',\n 'DECIMAL',\n 'EMAIL',\n 'URL',\n 'PERCENTAGE',\n 'CURRENCY',\n 'PHONE',\n 'DATE_ONLY',\n 'TIME_ONLY',\n 'DATE_TIME',\n 'PICKLIST'\n ],\n control: { type: 'select' }\n },\n mode: { options: ['default', 'advanced'], control: { type: 'select' } }\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PromotedFilters.mocks.d.ts","sourceRoot":"","sources":["../../../src/condition-builder/PromotedFilters/PromotedFilters.mocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAEvF,eAAO,MAAM,aAAa,EAAE,SAoB3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,oBAAoB,CAAC,SAAS,CAmNvD,CAAC"}
|