diff --git a/config/jest.config.js b/config/jest.config.js index 2cf8216e429..1e7177bebee 100644 --- a/config/jest.config.js +++ b/config/jest.config.js @@ -28,11 +28,6 @@ module.exports = { testMatch: ['/**/?(*.)(spec|test).{js,jsx,ts,tsx}'], moduleNameMapper: { '^@shared/(.*)$': '/shared/$1', - '^@lib/(.*)$': '/packages/fiori3/src/lib/$1', - '^@fiori-for-react/charts$': '/packages/charts/src', - '^@fiori-for-react/fiori3(.*)?': '/packages/fiori3/src$1', - '^@fiori-for-react/utils': '/packages/utils/src', - '^@fiori-for-react/styles': '/packages/styles/src', '^@ui5/webcomponents/dist(.*)$': 'identity-obj-proxy', // ui5 web components can be mocked, not relevant for jest tests '\\.(css|less)$': 'identity-obj-proxy' }, diff --git a/config/karma.webpack.config.js b/config/karma.webpack.config.js index ecfcc5a9cb5..abd6b65f050 100644 --- a/config/karma.webpack.config.js +++ b/config/karma.webpack.config.js @@ -13,11 +13,6 @@ module.exports = function() { resolve: { extensions: ['.ts', '.tsx', '.js', '.jsx', '.cjs', '.mjs', '.esm'], alias: { - '@fiori-for-react/styles': path.join(PATHS.packages, 'styles', 'src', 'index.ts'), - '@fiori-for-react/utils': path.join(PATHS.packages, 'utils', 'src', 'index.ts'), - '@fiori-for-react/fiori3': path.join(PATHS.packages, 'fiori3', 'src', 'index.ts'), - '@fiori-for-react/charts': path.join(PATHS.packages, 'charts', 'src', 'index.ts'), - '@lib': path.join(PATHS.packages, 'fiori3', 'src', 'lib'), '@shared': PATHS.shared } }, diff --git a/packages/charts/index.ts b/packages/charts/index.ts new file mode 100644 index 00000000000..8420b1093fd --- /dev/null +++ b/packages/charts/index.ts @@ -0,0 +1 @@ +export * from './src'; diff --git a/packages/docs/.storybook/webpack.config.js b/packages/docs/.storybook/webpack.config.js index d79b5919c87..f61ace99fbf 100644 --- a/packages/docs/.storybook/webpack.config.js +++ b/packages/docs/.storybook/webpack.config.js @@ -57,7 +57,6 @@ SKIP_DOC_GENERATION=true alias: { ...config.resolve.alias, '@shared': path.join(PATHS.root, 'shared'), - '@lib': path.join(PATHS.root, 'packages', 'fiori3', 'src', 'lib'), '@fiori-for-react/fiori3': path.join(PATHS.root, 'packages', 'fiori3', 'src', 'index.ts'), '@fiori-for-react/charts': path.join(PATHS.root, 'packages', 'charts', 'src', 'index.ts'), '@fiori-for-react/utils': path.join(PATHS.root, 'packages', 'utils', 'src', 'index.ts'), diff --git a/packages/fiori3/__karma_snapshots__/FilterBar.md b/packages/fiori3/__karma_snapshots__/FilterBar.md new file mode 100644 index 00000000000..c629ffa5d28 --- /dev/null +++ b/packages/fiori3/__karma_snapshots__/FilterBar.md @@ -0,0 +1,517 @@ +# `FilterBar` + +#### `Render without crashing` + +``` + + + + + +
+
+ + + + + +
+
+ + + <WithWebComponent theme={{...}} level="H4"> + <ui5-title level="H4" class="sapUiSizeCompact"> + Variant 1 + </ui5-title> + </WithWebComponent> + + + +
+
+ + + + + + + + + + + Variant 1 + + + + + + + Variant 2 + + + + + + + + + +
+
+
+
+
+
+ + + + + +
+
+ +
+
+
+ + + +
+ + +
+
+
+
+ + + +
+ +
+ + + + + +
+
+
+
+
+
+
+
+
+
+
+
+``` + +#### `Hide Filter Bar` + +``` + + + + + +
+
+ + + + + +
+
+ + + <WithWebComponent theme={{...}} level="H4"> + <ui5-title level="H4" class="sapUiSizeCompact"> + Variant 1 + </ui5-title> + </WithWebComponent> + + + +
+
+ + + + + + + + + + + Variant 1 + + + + + + + Variant 2 + + + + + + + + + +
+
+
+
+
+
+ + + + + +
+
+ +
+
+
+ + + +
+ + +
+
+
+
+ + + +
+ +
+ + + + + +
+
+
+
+
+ + + +
+ + + + +
+
+
+
+
+ + + +
+ + + +
+
+ + + + + +``` + +#### `Select Filter Item` + +``` + + + + + +
+
+ + + + + +
+
+ + + <WithWebComponent theme={{...}} level="H4"> + <ui5-title level="H4" class="sapUiSizeCompact"> + Variant 1 + </ui5-title> + </WithWebComponent> + + + +
+
+ + + + + + + + + + + Variant 1 + + + + + + + Variant 2 + + + + + + + + + +
+
+
+
+
+
+ + + + + +
+
+ +
+
+
+ + + +
+ + +
+
+
+
+ + + +
+ + + + +
+
+
+
+
+ + + +
+ + + + + + +
+ + + + + + +
+
+
+
+
+
+ + + + + +``` + diff --git a/packages/fiori3/index.ts b/packages/fiori3/index.ts new file mode 100644 index 00000000000..8420b1093fd --- /dev/null +++ b/packages/fiori3/index.ts @@ -0,0 +1 @@ +export * from './src'; diff --git a/packages/fiori3/scripts/wrapperGeneration/generateTypingsWeb.js b/packages/fiori3/scripts/wrapperGeneration/generateTypingsWeb.js index 2ae2f8da9d6..ea2461c7bc8 100644 --- a/packages/fiori3/scripts/wrapperGeneration/generateTypingsWeb.js +++ b/packages/fiori3/scripts/wrapperGeneration/generateTypingsWeb.js @@ -22,67 +22,67 @@ import TimelineItem from '@ui5/webcomponents/dist/TimelineItem'; const mappings = { [UI5ButtonType]: { - importStatement: "import { ButtonType } from '@lib/ButtonType';", + importStatement: "import { ButtonType } from '../../lib/ButtonType';", tsType: 'ButtonType', isEnum: true }, [UI5PopoverPlacementTypes]: { - importStatement: "import { PlacementType } from '@lib/PlacementType';", + importStatement: "import { PlacementType } from '../../lib/PlacementType';", tsType: 'PlacementType', isEnum: true }, [UI5PopoverHorizontalAligns]: { - importStatement: "import { PopoverHorizontalAlign } from '@lib/PopoverHorizontalAlign';", + importStatement: "import { PopoverHorizontalAlign } from '../../lib/PopoverHorizontalAlign';", tsType: 'PopoverHorizontalAlign', isEnum: true }, [UI5PopoverVerticalAligns]: { - importStatement: "import { PopoverVerticalAlign } from '@lib/PopoverVerticalAlign';", + importStatement: "import { PopoverVerticalAlign } from '../../lib/PopoverVerticalAlign';", tsType: 'PopoverVerticalAlign', isEnum: true }, [UI5LinkType]: { - importStatement: "import { LinkType } from '@lib/LinkType';", + importStatement: "import { LinkType } from '../../lib/LinkType';", tsType: 'LinkType', isEnum: true }, [UI5IconColors]: { - importStatement: "import { IconColor } from '@lib/IconColor';", + importStatement: "import { IconColor } from '../../lib/IconColor';", tsType: 'IconColor', isEnum: true }, [UI5ListItemTypes]: { - importStatement: "import { ListItemTypes } from '@lib/ListItemTypes';", + importStatement: "import { ListItemTypes } from '../../lib/ListItemTypes';", tsType: 'ListItemTypes', isEnum: true }, [UI5PanelAccessibleRoles]: { - importStatement: "import { PanelAccessibleRoles } from '@lib/PanelAccessibleRoles';", + importStatement: "import { PanelAccessibleRoles } from '../../lib/PanelAccessibleRoles';", tsType: 'PanelAccessibleRoles', isEnum: true }, [UI5ListSeparators]: { - importStatement: "import { ListSeparators } from '@lib/ListSeparators';", + importStatement: "import { ListSeparators } from '../../lib/ListSeparators';", tsType: 'ListSeparators', isEnum: true }, [UI5ListMode]: { - importStatement: "import { ListMode } from '@lib/ListMode';", + importStatement: "import { ListMode } from '../../lib/ListMode';", tsType: 'ListMode', isEnum: true }, [UI5TitleLevel]: { - importStatement: "import { TitleLevel } from '@lib/TitleLevel';", + importStatement: "import { TitleLevel } from '../../lib/TitleLevel';", tsType: 'TitleLevel', isEnum: true }, [UI5BackgroundDesign]: { - importStatement: "import { BackgroundDesign } from '@lib/BackgroundDesign';", + importStatement: "import { BackgroundDesign } from '../../lib/BackgroundDesign';", tsType: 'BackgroundDesign', isEnum: true }, [UI5InputType]: { - importStatement: "import { InputType } from '@lib/InputType';", + importStatement: "import { InputType } from '../../lib/InputType';", tsType: 'InputType', isEnum: true }, @@ -91,17 +91,17 @@ const mappings = { comment: 'UI5 Icon Web Component' }, [UI5CalendarType]: { - importStatement: "import { CalendarType } from '@lib/CalendarType';", + importStatement: "import { CalendarType } from '../../lib/CalendarType';", tsType: 'CalendarType', isEnum: true }, [UI5ValueState]: { - importStatement: "import { ValueState } from '@lib/ValueState';", + importStatement: "import { ValueState } from '../../lib/ValueState';", tsType: 'ValueState', isEnum: true }, [UI5MessageStripType]: { - importStatement: "import { MessageStripType } from '@lib/MessageStripType';", + importStatement: "import { MessageStripType } from '../../lib/MessageStripType';", tsType: 'MessageStripType', isEnum: true }, diff --git a/packages/fiori3/src/components/ActionSheet/ActionSheet.karma.tsx b/packages/fiori3/src/components/ActionSheet/ActionSheet.karma.tsx index c9ea8843fff..e56e5cff8ac 100644 --- a/packages/fiori3/src/components/ActionSheet/ActionSheet.karma.tsx +++ b/packages/fiori3/src/components/ActionSheet/ActionSheet.karma.tsx @@ -1,4 +1,4 @@ -import { Button } from '@lib/Button'; +import { Button } from '../../lib/Button'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/components/ActionSheet/demo.stories.tsx b/packages/fiori3/src/components/ActionSheet/demo.stories.tsx index 6b329952f30..1fd59f8d73c 100644 --- a/packages/fiori3/src/components/ActionSheet/demo.stories.tsx +++ b/packages/fiori3/src/components/ActionSheet/demo.stories.tsx @@ -1,6 +1,6 @@ -import { ActionSheet } from '@lib/ActionSheet'; -import { Button } from '@lib/Button'; -import { PlacementType } from '@lib/PlacementType'; +import { ActionSheet } from '../../lib/ActionSheet'; +import { Button } from '../../lib/Button'; +import { PlacementType } from '../../lib/PlacementType'; import { select } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; import React from 'react'; diff --git a/packages/fiori3/src/components/ActionSheet/index.tsx b/packages/fiori3/src/components/ActionSheet/index.tsx index 02665f4c435..6c00674b5c8 100644 --- a/packages/fiori3/src/components/ActionSheet/index.tsx +++ b/packages/fiori3/src/components/ActionSheet/index.tsx @@ -1,8 +1,8 @@ import { withStyles } from '@fiori-for-react/styles'; import { Device, StyleClassHelper } from '@fiori-for-react/utils'; -import { ButtonType } from '@lib/ButtonType'; -import { PlacementType } from '@lib/PlacementType'; -import { ResponsivePopover } from '@lib/ResponsivePopover'; +import { ButtonType } from '../../lib/ButtonType'; +import { PlacementType } from '../../lib/PlacementType'; +import { ResponsivePopover } from '../../lib/ResponsivePopover'; import React, { Children, cloneElement, Component, ReactElement, ReactNode } from 'react'; import { ClassProps } from '../../interfaces/ClassProps'; import { Fiori3CommonProps } from '../../interfaces/Fiori3CommonProps'; diff --git a/packages/fiori3/src/components/AnalyticalCard/AnalyticalCard.karma.tsx b/packages/fiori3/src/components/AnalyticalCard/AnalyticalCard.karma.tsx index eb15d53d9f5..7100646cbbf 100644 --- a/packages/fiori3/src/components/AnalyticalCard/AnalyticalCard.karma.tsx +++ b/packages/fiori3/src/components/AnalyticalCard/AnalyticalCard.karma.tsx @@ -1,8 +1,8 @@ -import { AnalyticalCard } from '@lib/AnalyticalCard'; -import { AnalyticalCardHeader } from '@lib/AnalyticalCardHeader'; -import { DeviationIndicator } from '@lib/DeviationIndicator'; -import { Text } from '@lib/Text'; -import { ValueState } from '@lib/ValueState'; +import { AnalyticalCard } from '../../lib/AnalyticalCard'; +import { AnalyticalCardHeader } from '../../lib/AnalyticalCardHeader'; +import { DeviationIndicator } from '../../lib/DeviationIndicator'; +import { Text } from '../../lib/Text'; +import { ValueState } from '../../lib/ValueState'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/components/AnalyticalCard/demo.stories.tsx b/packages/fiori3/src/components/AnalyticalCard/demo.stories.tsx index 1e41244fb58..2307aec84dc 100644 --- a/packages/fiori3/src/components/AnalyticalCard/demo.stories.tsx +++ b/packages/fiori3/src/components/AnalyticalCard/demo.stories.tsx @@ -1,8 +1,8 @@ import { LineChart } from '@fiori-for-react/charts'; -import { AnalyticalCard } from '@lib/AnalyticalCard'; -import { AnalyticalCardHeader } from '@lib/AnalyticalCardHeader'; -import { DeviationIndicator } from '@lib/DeviationIndicator'; -import { ValueState } from '@lib/ValueState'; +import { AnalyticalCard } from '../../lib/AnalyticalCard'; +import { AnalyticalCardHeader } from '../../lib/AnalyticalCardHeader'; +import { DeviationIndicator } from '../../lib/DeviationIndicator'; +import { ValueState } from '../../lib/ValueState'; import { action } from '@storybook/addon-actions'; import { boolean, select } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; diff --git a/packages/fiori3/src/components/AnalyticalCard/header/AnalyticalCardHeader.tsx b/packages/fiori3/src/components/AnalyticalCard/header/AnalyticalCardHeader.tsx index ee3e01f7f43..d868e2fb74a 100644 --- a/packages/fiori3/src/components/AnalyticalCard/header/AnalyticalCardHeader.tsx +++ b/packages/fiori3/src/components/AnalyticalCard/header/AnalyticalCardHeader.tsx @@ -1,9 +1,9 @@ import { Event, StyleClassHelper } from '@fiori-for-react/utils'; -import { BusyIndicator } from '@lib/BusyIndicator'; -import { DeviationIndicator } from '@lib/DeviationIndicator'; -import { Label } from '@lib/Label'; -import { Text } from '@lib/Text'; -import { ValueState } from '@lib/ValueState'; +import { BusyIndicator } from '../../../lib/BusyIndicator'; +import { DeviationIndicator } from '../../../lib/DeviationIndicator'; +import { Label } from '../../../lib/Label'; +import { Text } from '../../../lib/Text'; +import { ValueState } from '../../../lib/ValueState'; import React, { Fragment, PureComponent } from 'react'; import { ClassProps } from '../../../interfaces/ClassProps'; import { CommonProps } from '../../../interfaces/CommonProps'; diff --git a/packages/fiori3/src/components/AnalyticalCard/index.tsx b/packages/fiori3/src/components/AnalyticalCard/index.tsx index ce8433a976f..76195ca430b 100644 --- a/packages/fiori3/src/components/AnalyticalCard/index.tsx +++ b/packages/fiori3/src/components/AnalyticalCard/index.tsx @@ -1,6 +1,6 @@ import { StyleClassHelper } from '@fiori-for-react/utils'; -import { ContentDensity } from '@lib/ContentDensity'; -import { Themes } from '@lib/Themes'; +import { ContentDensity } from '../../lib/ContentDensity'; +import { Themes } from '../../lib/Themes'; import React, { PureComponent, ReactNode, ReactNodeArray } from 'react'; import { ClassProps } from '../../interfaces/ClassProps'; import { Fiori3CommonProps } from '../../interfaces/Fiori3CommonProps'; diff --git a/packages/fiori3/src/components/Avatar/Avatar.karma.tsx b/packages/fiori3/src/components/Avatar/Avatar.karma.tsx index dcd503fbb32..e2fa6c60682 100644 --- a/packages/fiori3/src/components/Avatar/Avatar.karma.tsx +++ b/packages/fiori3/src/components/Avatar/Avatar.karma.tsx @@ -1,6 +1,6 @@ import { KeyCodes } from '@fiori-for-react/utils'; -import { AvatarShape } from '@lib/AvatarShape'; -import { AvatarSize } from '@lib/AvatarSize'; +import { AvatarShape } from '../../lib/AvatarShape'; +import { AvatarSize } from '../../lib/AvatarSize'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/components/Avatar/demo.stories.tsx b/packages/fiori3/src/components/Avatar/demo.stories.tsx index afff20c953a..9d87b7f8b39 100644 --- a/packages/fiori3/src/components/Avatar/demo.stories.tsx +++ b/packages/fiori3/src/components/Avatar/demo.stories.tsx @@ -1,7 +1,7 @@ -import { Avatar } from '@lib/Avatar'; -import { AvatarShape } from '@lib/AvatarShape'; -import { AvatarSize } from '@lib/AvatarSize'; -import { Icon } from '@lib/Icon'; +import { Avatar } from '../../lib/Avatar'; +import { AvatarShape } from '../../lib/AvatarShape'; +import { AvatarSize } from '../../lib/AvatarSize'; +import { Icon } from '../../lib/Icon'; import { action } from '@storybook/addon-actions/'; import { select, text } from '@storybook/addon-knobs/'; import { storiesOf } from '@storybook/react'; diff --git a/packages/fiori3/src/components/Avatar/index.tsx b/packages/fiori3/src/components/Avatar/index.tsx index fdc9ffb36ef..804fefb1b06 100644 --- a/packages/fiori3/src/components/Avatar/index.tsx +++ b/packages/fiori3/src/components/Avatar/index.tsx @@ -1,6 +1,6 @@ import { Event, KeyCodes } from '@fiori-for-react/utils'; -import { AvatarShape } from '@lib/AvatarShape'; -import { AvatarSize } from '@lib/AvatarSize'; +import { AvatarShape } from '../../lib/AvatarShape'; +import { AvatarSize } from '../../lib/AvatarSize'; import React, { CSSProperties, PureComponent } from 'react'; import { ClassProps } from '../../interfaces/ClassProps'; import { Fiori3CommonProps } from '../../interfaces/Fiori3CommonProps'; diff --git a/packages/fiori3/src/components/Bar/Bar.jss.ts b/packages/fiori3/src/components/Bar/Bar.jss.ts index 661cd7b3338..a1bc0fae37d 100644 --- a/packages/fiori3/src/components/Bar/Bar.jss.ts +++ b/packages/fiori3/src/components/Bar/Bar.jss.ts @@ -1,4 +1,4 @@ -import { ContentDensity } from '@lib/ContentDensity'; +import { ContentDensity } from '../../lib/ContentDensity'; /** * Style Class Generator Function diff --git a/packages/fiori3/src/components/Bar/Bar.test.tsx b/packages/fiori3/src/components/Bar/Bar.test.tsx index 8750adade51..4b594b0b5ad 100644 --- a/packages/fiori3/src/components/Bar/Bar.test.tsx +++ b/packages/fiori3/src/components/Bar/Bar.test.tsx @@ -1,4 +1,4 @@ -import { Bar } from '@lib/Bar'; +import { Bar } from '../../lib/Bar'; import { mountThemedComponent, renderThemedComponent } from '@shared/tests/utils'; import React from 'react'; diff --git a/packages/fiori3/src/components/Bar/demo.stories.tsx b/packages/fiori3/src/components/Bar/demo.stories.tsx index 4169e80ac2b..121f55f9a75 100644 --- a/packages/fiori3/src/components/Bar/demo.stories.tsx +++ b/packages/fiori3/src/components/Bar/demo.stories.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { storiesOf } from '@storybook/react'; -import { Bar } from '@lib/Bar'; -import { Label } from '@lib/Label'; +import { Bar } from '../../lib/Bar'; +import { Label } from '../../lib/Label'; function renderStory() { return ( diff --git a/packages/fiori3/src/components/BusyIndicator/BusyIndicator.karma.tsx b/packages/fiori3/src/components/BusyIndicator/BusyIndicator.karma.tsx index 51995630538..a38eafd04a2 100644 --- a/packages/fiori3/src/components/BusyIndicator/BusyIndicator.karma.tsx +++ b/packages/fiori3/src/components/BusyIndicator/BusyIndicator.karma.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { BusyIndicator } from '@lib/BusyIndicator'; +import { BusyIndicator } from '../../lib/BusyIndicator'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; import { mountThemedComponent } from '@shared/tests/utils'; diff --git a/packages/fiori3/src/components/BusyIndicator/demo.stories.tsx b/packages/fiori3/src/components/BusyIndicator/demo.stories.tsx index 15ba327ff61..4d489c1ed9d 100644 --- a/packages/fiori3/src/components/BusyIndicator/demo.stories.tsx +++ b/packages/fiori3/src/components/BusyIndicator/demo.stories.tsx @@ -1,4 +1,4 @@ -import { BusyIndicator } from '@lib/BusyIndicator'; +import { BusyIndicator } from '../../lib/BusyIndicator'; import { boolean } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; import React from 'react'; diff --git a/packages/fiori3/src/components/Carousel/Carousel.karma.tsx b/packages/fiori3/src/components/Carousel/Carousel.karma.tsx index 237db5f54a9..5be96b43da8 100644 --- a/packages/fiori3/src/components/Carousel/Carousel.karma.tsx +++ b/packages/fiori3/src/components/Carousel/Carousel.karma.tsx @@ -1,7 +1,7 @@ -import { Carousel } from '@lib/Carousel'; -import { CarouselArrowsPlacement } from '@lib/CarouselArrowsPlacement'; -import { Icon } from '@lib/Icon'; -import { PlacementType } from '@lib/PlacementType'; +import { Carousel } from '../../lib/Carousel'; +import { CarouselArrowsPlacement } from '../../lib/CarouselArrowsPlacement'; +import { Icon } from '../../lib/Icon'; +import { PlacementType } from '../../lib/PlacementType'; import { getEventFromCallback, mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/components/Carousel/CarouselPagination.tsx b/packages/fiori3/src/components/Carousel/CarouselPagination.tsx index 0c766a880cd..86f8d3c4f8d 100644 --- a/packages/fiori3/src/components/Carousel/CarouselPagination.tsx +++ b/packages/fiori3/src/components/Carousel/CarouselPagination.tsx @@ -1,8 +1,8 @@ import { Event, StyleClassHelper } from '@fiori-for-react/utils'; -import { CarouselArrowsPlacement } from '@lib/CarouselArrowsPlacement'; -import { Icon } from '@lib/Icon'; -import { Label } from '@lib/Label'; -import { PlacementType } from '@lib/PlacementType'; +import { CarouselArrowsPlacement } from '../../lib/CarouselArrowsPlacement'; +import { Icon } from '../../lib/Icon'; +import { Label } from '../../lib/Label'; +import { PlacementType } from '../../lib/PlacementType'; import React, { Children, Component } from 'react'; import { ClassProps } from '../../interfaces/ClassProps'; import { withStyles } from '@fiori-for-react/styles'; diff --git a/packages/fiori3/src/components/Carousel/demo.stories.tsx b/packages/fiori3/src/components/Carousel/demo.stories.tsx index 66e9f454b9e..d143931d52b 100644 --- a/packages/fiori3/src/components/Carousel/demo.stories.tsx +++ b/packages/fiori3/src/components/Carousel/demo.stories.tsx @@ -1,7 +1,7 @@ -import { Carousel } from '@lib/Carousel'; -import { CarouselArrowsPlacement } from '@lib/CarouselArrowsPlacement'; -import { Label } from '@lib/Label'; -import { PlacementType } from '@lib/PlacementType'; +import { Carousel } from '../../lib/Carousel'; +import { CarouselArrowsPlacement } from '../../lib/CarouselArrowsPlacement'; +import { Label } from '../../lib/Label'; +import { PlacementType } from '../../lib/PlacementType'; import { boolean, number, select } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; import React from 'react'; diff --git a/packages/fiori3/src/components/Carousel/index.tsx b/packages/fiori3/src/components/Carousel/index.tsx index 0e8b5848e8b..47b3956b0c4 100644 --- a/packages/fiori3/src/components/Carousel/index.tsx +++ b/packages/fiori3/src/components/Carousel/index.tsx @@ -1,6 +1,6 @@ import { Event, StyleClassHelper } from '@fiori-for-react/utils'; -import { CarouselArrowsPlacement } from '@lib/CarouselArrowsPlacement'; -import { PlacementType } from '@lib/PlacementType'; +import { CarouselArrowsPlacement } from '../../lib/CarouselArrowsPlacement'; +import { PlacementType } from '../../lib/PlacementType'; import React, { Children, Component, CSSProperties, Fragment, ReactNode, ReactNodeArray } from 'react'; import { ClassProps } from '../../interfaces/ClassProps'; import { Fiori3CommonProps } from '../../interfaces/Fiori3CommonProps'; diff --git a/packages/fiori3/src/components/FilterBar/FilterBar.karma.tsx b/packages/fiori3/src/components/FilterBar/FilterBar.karma.tsx index 037487ec8b5..24a9d35a8b9 100644 --- a/packages/fiori3/src/components/FilterBar/FilterBar.karma.tsx +++ b/packages/fiori3/src/components/FilterBar/FilterBar.karma.tsx @@ -1,12 +1,12 @@ -import { FilterBar } from '@lib/FilterBar'; +import { FilterBar } from '../../lib/FilterBar'; import React from 'react'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; -import { VariantManagement } from '@lib/VariantManagement'; -import { FilterItem } from '@lib/FilterItem'; -import { FilterType } from '@lib/FilterType'; -import { Switch } from '@lib/Switch'; +import { VariantManagement } from '../../lib/VariantManagement'; +import { FilterItem } from '../../lib/FilterItem'; +import { FilterType } from '../../lib/FilterType'; +import { Switch } from '../../lib/Switch'; const variantItems = [{ label: 'Variant 1', key: '1' }, { label: 'Variant 2', key: '2' }]; const filterItems = [{ text: 'Text 1', key: '1' }, { text: 'Text 2', key: '2' }]; diff --git a/packages/fiori3/src/components/FilterBar/demo.stories.tsx b/packages/fiori3/src/components/FilterBar/demo.stories.tsx index d175c2c9a1e..badcd8054bd 100644 --- a/packages/fiori3/src/components/FilterBar/demo.stories.tsx +++ b/packages/fiori3/src/components/FilterBar/demo.stories.tsx @@ -1,13 +1,13 @@ import React from 'react'; import { storiesOf } from '@storybook/react'; import { boolean, select } from '@storybook/addon-knobs'; -import { FilterBar } from '@lib/FilterBar'; -import { VariantManagement } from '@lib/VariantManagement'; -import { FilterItem } from '@lib/FilterItem'; -import { PlacementType } from '@lib/PlacementType'; -import { TitleLevel } from '@lib/TitleLevel'; -import { FilterType } from '@lib/FilterType'; -import { Switch } from '@lib/Switch'; +import { FilterBar } from '../../lib/FilterBar'; +import { VariantManagement } from '../../lib/VariantManagement'; +import { FilterItem } from '../../lib/FilterItem'; +import { PlacementType } from '../../lib/PlacementType'; +import { TitleLevel } from '../../lib/TitleLevel'; +import { FilterType } from '../../lib/FilterType'; +import { Switch } from '../../lib/Switch'; const flavours = []; for (let i = 1; i <= 9; i++) { diff --git a/packages/fiori3/src/components/FilterBar/index.tsx b/packages/fiori3/src/components/FilterBar/index.tsx index 8bd031ead52..04e258d63dd 100644 --- a/packages/fiori3/src/components/FilterBar/index.tsx +++ b/packages/fiori3/src/components/FilterBar/index.tsx @@ -3,9 +3,9 @@ import { withStyles } from '@fiori-for-react/styles'; import React, { PureComponent, ReactNode, ReactNodeArray } from 'react'; import { Fiori3CommonProps } from '../../interfaces/Fiori3CommonProps'; import styles from './FilterBar.jss'; -import { Input } from '@lib/Input'; -import { Button } from '@lib/Button'; -import { ButtonType } from '@lib/ButtonType'; +import { Input } from '../../lib/Input'; +import { Button } from '../../lib/Button'; +import { ButtonType } from '../../lib/ButtonType'; export interface FilterBarPropTypes extends Fiori3CommonProps { renderVariants?: () => JSX.Element; diff --git a/packages/fiori3/src/components/FilterItem/index.tsx b/packages/fiori3/src/components/FilterItem/index.tsx index 8f6d4c7f316..ba5186da89d 100644 --- a/packages/fiori3/src/components/FilterItem/index.tsx +++ b/packages/fiori3/src/components/FilterItem/index.tsx @@ -1,16 +1,16 @@ import { ClassProps } from '../../interfaces/ClassProps'; import React, { PureComponent, ReactNode } from 'react'; import styles from './FilterItem.jss'; -import { Label } from '@lib/Label'; -import { Input } from '@lib/Input'; -import { Select } from '@lib/Select'; -import { StandardListItem } from '@lib/StandardListItem'; -import { BusyIndicator } from '@lib/BusyIndicator'; -import { FilterType } from '@lib/FilterType'; +import { Label } from '../../lib/Label'; +import { Input } from '../../lib/Input'; +import { Select } from '../../lib/Select'; +import { StandardListItem } from '../../lib/StandardListItem'; +import { BusyIndicator } from '../../lib/BusyIndicator'; +import { FilterType } from '../../lib/FilterType'; import { Event, StyleClassHelper } from '@fiori-for-react/utils'; import { withStyles } from '@fiori-for-react/styles'; import { CommonProps } from '../../interfaces/CommonProps'; -import { ListItemTypes } from '@lib/ListItemTypes'; +import { ListItemTypes } from '../../lib/ListItemTypes'; export interface FilterItemPropTypes extends CommonProps { placeholder?: string; diff --git a/packages/fiori3/src/components/FlexBox/FlexBox.test.tsx b/packages/fiori3/src/components/FlexBox/FlexBox.test.tsx index 0e9150181e2..a745b23a0b1 100644 --- a/packages/fiori3/src/components/FlexBox/FlexBox.test.tsx +++ b/packages/fiori3/src/components/FlexBox/FlexBox.test.tsx @@ -1,5 +1,5 @@ -import { FlexBox } from '@lib/FlexBox'; -import { FlexBoxJustifyContent } from '@lib/FlexBoxJustifyContent'; +import { FlexBox } from '../../lib/FlexBox'; +import { FlexBoxJustifyContent } from '../../lib/FlexBoxJustifyContent'; import { mountThemedComponent } from '@shared/tests/utils'; import * as React from 'react'; diff --git a/packages/fiori3/src/components/InfoLabel/InfoLabel.test.tsx b/packages/fiori3/src/components/InfoLabel/InfoLabel.test.tsx index 6cc0bf5bfea..c34e7b02254 100644 --- a/packages/fiori3/src/components/InfoLabel/InfoLabel.test.tsx +++ b/packages/fiori3/src/components/InfoLabel/InfoLabel.test.tsx @@ -1,4 +1,4 @@ -import { InfoLabel } from '@lib/InfoLabel'; +import { InfoLabel } from '../../lib/InfoLabel'; import { mountThemedComponent } from '@shared/tests/utils'; import React from 'react'; diff --git a/packages/fiori3/src/components/InfoLabel/demo.stories.tsx b/packages/fiori3/src/components/InfoLabel/demo.stories.tsx index 10cfb97f8ed..656121e8d46 100644 --- a/packages/fiori3/src/components/InfoLabel/demo.stories.tsx +++ b/packages/fiori3/src/components/InfoLabel/demo.stories.tsx @@ -1,5 +1,5 @@ -import { InfoLabel } from '@lib/InfoLabel'; -import { Label } from '@lib/Label'; +import { InfoLabel } from '../../lib/InfoLabel'; +import { Label } from '../../lib/Label'; import { boolean, text, select } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; import React from 'react'; diff --git a/packages/fiori3/src/components/MessageBox/MessageBox.jss.ts b/packages/fiori3/src/components/MessageBox/MessageBox.jss.ts index cfb03f136d6..43d4f6cf8bd 100644 --- a/packages/fiori3/src/components/MessageBox/MessageBox.jss.ts +++ b/packages/fiori3/src/components/MessageBox/MessageBox.jss.ts @@ -1,7 +1,7 @@ import { fonts } from '@fiori-for-react/styles'; import { JSSTheme } from '../../interfaces/JSSTheme'; import { ZIndex } from '../../enums/ZIndex'; -import { ContentDensity } from '@lib/ContentDensity'; +import { ContentDensity } from '../../lib/ContentDensity'; const style = ({ parameters, contentDensity }: JSSTheme) => ({ overlay: { diff --git a/packages/fiori3/src/components/MessageBox/MessageBox.karma.tsx b/packages/fiori3/src/components/MessageBox/MessageBox.karma.tsx index 934c1f6ab6a..62109f0e1d6 100644 --- a/packages/fiori3/src/components/MessageBox/MessageBox.karma.tsx +++ b/packages/fiori3/src/components/MessageBox/MessageBox.karma.tsx @@ -1,6 +1,6 @@ -import { MessageBox } from '@lib/MessageBox'; -import { MessageBoxActions } from '@lib/MessageBoxActions'; -import { MessageBoxTypes } from '@lib/MessageBoxTypes'; +import { MessageBox } from '../../lib/MessageBox'; +import { MessageBoxActions } from '../../lib/MessageBoxActions'; +import { MessageBoxTypes } from '../../lib/MessageBoxTypes'; import { getEventFromCallback, mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/components/MessageBox/MessageBoxButton.tsx b/packages/fiori3/src/components/MessageBox/MessageBoxButton.tsx index 2daa1985ec4..e03c850d984 100644 --- a/packages/fiori3/src/components/MessageBox/MessageBoxButton.tsx +++ b/packages/fiori3/src/components/MessageBox/MessageBoxButton.tsx @@ -1,6 +1,6 @@ -import { Button } from '@lib/Button'; -import { ButtonType } from '@lib/ButtonType'; -import { MessageBoxActions } from '@lib/MessageBoxActions'; +import { Button } from '../../lib/Button'; +import { ButtonType } from '../../lib/ButtonType'; +import { MessageBoxActions } from '../../lib/MessageBoxActions'; import React, { PureComponent } from 'react'; export class MessageBoxButton extends PureComponent<{ diff --git a/packages/fiori3/src/components/MessageBox/demo.stories.tsx b/packages/fiori3/src/components/MessageBox/demo.stories.tsx index 59868d36169..4b6dfb472e5 100644 --- a/packages/fiori3/src/components/MessageBox/demo.stories.tsx +++ b/packages/fiori3/src/components/MessageBox/demo.stories.tsx @@ -2,8 +2,8 @@ import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { boolean, select, text } from '@storybook/addon-knobs'; -import { MessageBox } from '@lib/MessageBox'; -import { MessageBoxTypes } from '@lib/MessageBoxTypes'; +import { MessageBox } from '../../lib/MessageBox'; +import { MessageBoxTypes } from '../../lib/MessageBoxTypes'; storiesOf('F4R Components | MessageBox', module) .addParameters({ diff --git a/packages/fiori3/src/components/MessageBox/index.tsx b/packages/fiori3/src/components/MessageBox/index.tsx index 6dba41787ee..07294e40965 100644 --- a/packages/fiori3/src/components/MessageBox/index.tsx +++ b/packages/fiori3/src/components/MessageBox/index.tsx @@ -1,9 +1,9 @@ import { Event, StyleClassHelper } from '@fiori-for-react/utils'; -import { Icon } from '@lib/Icon'; -import { MessageBoxButton } from '@lib/MessageBoxButton'; -import { Text } from '@lib/Text'; -import { Title } from '@lib/Title'; -import { TitleLevel } from '@lib/TitleLevel'; +import { Icon } from '../../lib/Icon'; +import { MessageBoxButton } from '../../lib/MessageBoxButton'; +import { Text } from '../../lib/Text'; +import { Title } from '../../lib/Title'; +import { TitleLevel } from '../../lib/TitleLevel'; import React, { isValidElement, PureComponent, ReactNode } from 'react'; import { ClassProps } from '../../interfaces/ClassProps'; import { Fiori3CommonProps } from '../../interfaces/Fiori3CommonProps'; diff --git a/packages/fiori3/src/components/MessageToast/MessageToast.karma.tsx b/packages/fiori3/src/components/MessageToast/MessageToast.karma.tsx index a5010adb4ec..74ba6dd9871 100644 --- a/packages/fiori3/src/components/MessageToast/MessageToast.karma.tsx +++ b/packages/fiori3/src/components/MessageToast/MessageToast.karma.tsx @@ -1,4 +1,4 @@ -import { MessageToast } from '@lib/MessageToast'; +import { MessageToast } from '../../lib/MessageToast'; import { expect } from 'chai'; import sinon from 'sinon'; import { ExtendedWindow } from '../../interfaces/ExtendedWindow'; diff --git a/packages/fiori3/src/components/MessageToast/demo.stories.tsx b/packages/fiori3/src/components/MessageToast/demo.stories.tsx index 0b7083cdfda..f434147a0a7 100644 --- a/packages/fiori3/src/components/MessageToast/demo.stories.tsx +++ b/packages/fiori3/src/components/MessageToast/demo.stories.tsx @@ -1,6 +1,6 @@ -import { Button } from '@lib/Button'; -import { MessageToast } from '@lib/MessageToast'; -import { ThemeProvider } from '@lib/ThemeProvider'; +import { Button } from '../../lib/Button'; +import { MessageToast } from '../../lib/MessageToast'; +import { ThemeProvider } from '../../lib/ThemeProvider'; import { storiesOf } from '@storybook/react'; import React from 'react'; diff --git a/packages/fiori3/src/components/MessageToast/index.tsx b/packages/fiori3/src/components/MessageToast/index.tsx index 2fce9ac8ca3..6c3e7ad6dd2 100644 --- a/packages/fiori3/src/components/MessageToast/index.tsx +++ b/packages/fiori3/src/components/MessageToast/index.tsx @@ -1,5 +1,5 @@ -import { Icon } from '@lib/Icon'; -import { ValueState } from '@lib/ValueState'; +import { Icon } from '../../lib/Icon'; +import { ValueState } from '../../lib/ValueState'; import React, { PureComponent } from 'react'; import { createPortal } from 'react-dom'; import { toast, ToastContainer } from 'react-toastify'; diff --git a/packages/fiori3/src/components/ObjectPage/ObjectPage.karma.tsx b/packages/fiori3/src/components/ObjectPage/ObjectPage.karma.tsx index c5d1be49313..91d5661b771 100644 --- a/packages/fiori3/src/components/ObjectPage/ObjectPage.karma.tsx +++ b/packages/fiori3/src/components/ObjectPage/ObjectPage.karma.tsx @@ -1,11 +1,11 @@ -import { Button } from '@lib/Button'; -import { Label } from '@lib/Label'; -import { Link } from '@lib/Link'; -import { ObjectPage } from '@lib/ObjectPage'; -import { ObjectPageMode } from '@lib/ObjectPageMode'; -import { ObjectPageSection } from '@lib/ObjectPageSection'; -import { ObjectPageSubSection } from '@lib/ObjectPageSubSection'; -import { Text } from '@lib/Text'; +import { Button } from '../../lib/Button'; +import { Label } from '../../lib/Label'; +import { Link } from '../../lib/Link'; +import { ObjectPage } from '../../lib/ObjectPage'; +import { ObjectPageMode } from '../../lib/ObjectPageMode'; +import { ObjectPageSection } from '../../lib/ObjectPageSection'; +import { ObjectPageSubSection } from '../../lib/ObjectPageSubSection'; +import { Text } from '../../lib/Text'; import { getEventFromCallback, mountThemedComponent, renderThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/components/ObjectPage/ObjectPageAnchor.tsx b/packages/fiori3/src/components/ObjectPage/ObjectPageAnchor.tsx index 5af67668f7e..458794e5bb5 100644 --- a/packages/fiori3/src/components/ObjectPage/ObjectPageAnchor.tsx +++ b/packages/fiori3/src/components/ObjectPage/ObjectPageAnchor.tsx @@ -1,14 +1,14 @@ import { Event, StyleClassHelper } from '@fiori-for-react/utils'; -import { Button } from '@lib/Button'; -import { ButtonType } from '@lib/ButtonType'; -import { CustomListItem } from '@lib/CustomListItem'; -import { Icon } from '@lib/Icon'; -import { Label } from '@lib/Label'; -import { List } from '@lib/List'; -import { ListItemTypes } from '@lib/ListItemTypes'; -import { ObjectPageMode } from '@lib/ObjectPageMode'; -import { PlacementType } from '@lib/PlacementType'; -import { Popover } from '@lib/Popover'; +import { Button } from '../../lib/Button'; +import { ButtonType } from '../../lib/ButtonType'; +import { CustomListItem } from '../../lib/CustomListItem'; +import { Icon } from '../../lib/Icon'; +import { Label } from '../../lib/Label'; +import { List } from '../../lib/List'; +import { ListItemTypes } from '../../lib/ListItemTypes'; +import { ObjectPageMode } from '../../lib/ObjectPageMode'; +import { PlacementType } from '../../lib/PlacementType'; +import { Popover } from '../../lib/Popover'; import React, { Component } from 'react'; import { Link } from 'react-scroll'; import { ObjectWithVariableKeys } from '../../interfaces/ObjectWithVariableKeys'; diff --git a/packages/fiori3/src/components/ObjectPage/demo.stories.tsx b/packages/fiori3/src/components/ObjectPage/demo.stories.tsx index ab64a27857a..ced2af78ffc 100644 --- a/packages/fiori3/src/components/ObjectPage/demo.stories.tsx +++ b/packages/fiori3/src/components/ObjectPage/demo.stories.tsx @@ -1,12 +1,12 @@ -import { Button } from '@lib/Button'; -import { ButtonType } from '@lib/ButtonType'; -import { Label } from '@lib/Label'; -import { Link } from '@lib/Link'; -import { ObjectPage } from '@lib/ObjectPage'; -import { ObjectPageMode } from '@lib/ObjectPageMode'; -import { ObjectPageSection } from '@lib/ObjectPageSection'; -import { ObjectPageSubSection } from '@lib/ObjectPageSubSection'; -import { Text } from '@lib/Text'; +import { Button } from '../../lib/Button'; +import { ButtonType } from '../../lib/ButtonType'; +import { Label } from '../../lib/Label'; +import { Link } from '../../lib/Link'; +import { ObjectPage } from '../../lib/ObjectPage'; +import { ObjectPageMode } from '../../lib/ObjectPageMode'; +import { ObjectPageSection } from '../../lib/ObjectPageSection'; +import { ObjectPageSubSection } from '../../lib/ObjectPageSubSection'; +import { Text } from '../../lib/Text'; import { action } from '@storybook/addon-actions'; import { boolean, select, text } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; diff --git a/packages/fiori3/src/components/ObjectPage/index.tsx b/packages/fiori3/src/components/ObjectPage/index.tsx index 99c146bef04..b0979dc334e 100644 --- a/packages/fiori3/src/components/ObjectPage/index.tsx +++ b/packages/fiori3/src/components/ObjectPage/index.tsx @@ -1,4 +1,4 @@ -import { ObjectPageMode } from '@lib/ObjectPageMode'; +import { ObjectPageMode } from '../../lib/ObjectPageMode'; import { ClassProps } from '../../interfaces/ClassProps'; import { JSSTheme } from '../../interfaces/JSSTheme'; import { withStyles } from '@fiori-for-react/styles'; diff --git a/packages/fiori3/src/components/ObjectPageSection/ObjectPageSection.karma.tsx b/packages/fiori3/src/components/ObjectPageSection/ObjectPageSection.karma.tsx index 76d6413e3a5..bf6b7ea0a49 100644 --- a/packages/fiori3/src/components/ObjectPageSection/ObjectPageSection.karma.tsx +++ b/packages/fiori3/src/components/ObjectPageSection/ObjectPageSection.karma.tsx @@ -1,4 +1,4 @@ -import { ObjectPageSection } from '@lib/ObjectPageSection'; +import { ObjectPageSection } from '../../lib/ObjectPageSection'; import { renderThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/components/ObjectPageSubSection/ObjectPageSubSection.karma.tsx b/packages/fiori3/src/components/ObjectPageSubSection/ObjectPageSubSection.karma.tsx index f8247a9b3b3..7c7adb08891 100644 --- a/packages/fiori3/src/components/ObjectPageSubSection/ObjectPageSubSection.karma.tsx +++ b/packages/fiori3/src/components/ObjectPageSubSection/ObjectPageSubSection.karma.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { ObjectPageSubSection } from '@lib/ObjectPageSubSection'; +import { ObjectPageSubSection } from '../../lib/ObjectPageSubSection'; import { shallow } from 'enzyme'; import { renderThemedComponent } from '@shared/tests/utils'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/components/ObjectStatus/ObjectStatus.karma.tsx b/packages/fiori3/src/components/ObjectStatus/ObjectStatus.karma.tsx index 95006a08704..0e0af6ff38c 100644 --- a/packages/fiori3/src/components/ObjectStatus/ObjectStatus.karma.tsx +++ b/packages/fiori3/src/components/ObjectStatus/ObjectStatus.karma.tsx @@ -1,6 +1,6 @@ -import { ValueState } from '@lib/ValueState'; +import { ValueState } from '../../lib/ValueState'; import React from 'react'; -import { ObjectStatus } from '@lib/ObjectStatus'; +import { ObjectStatus } from '../../lib/ObjectStatus'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/components/ObjectStatus/demo.stories.tsx b/packages/fiori3/src/components/ObjectStatus/demo.stories.tsx index 02f8a28661c..5d34c987365 100644 --- a/packages/fiori3/src/components/ObjectStatus/demo.stories.tsx +++ b/packages/fiori3/src/components/ObjectStatus/demo.stories.tsx @@ -1,6 +1,6 @@ -import { Icon } from '@lib/Icon'; -import { ObjectStatus } from '@lib/ObjectStatus'; -import { ValueState } from '@lib/ValueState'; +import { Icon } from '../../lib/Icon'; +import { ObjectStatus } from '../../lib/ObjectStatus'; +import { ValueState } from '../../lib/ValueState'; import { boolean, select } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; import React from 'react'; diff --git a/packages/fiori3/src/components/ObjectStatus/index.tsx b/packages/fiori3/src/components/ObjectStatus/index.tsx index a621afef043..ee4a184959e 100644 --- a/packages/fiori3/src/components/ObjectStatus/index.tsx +++ b/packages/fiori3/src/components/ObjectStatus/index.tsx @@ -1,10 +1,10 @@ -import { ValueState } from '@lib/ValueState'; +import { ValueState } from '../../lib/ValueState'; import { ClassProps } from '../../interfaces/ClassProps'; import { withStyles } from '@fiori-for-react/styles'; import { StyleClassHelper } from '@fiori-for-react/utils'; import React, { FC, ReactNode } from 'react'; import { Fiori3CommonProps } from '../../interfaces/Fiori3CommonProps'; -import { Icon } from '@lib/Icon'; +import { Icon } from '../../lib/Icon'; import styles from './ObjectStatus.jss'; export interface ObjectStatusPropTypes extends Fiori3CommonProps { diff --git a/packages/fiori3/src/components/Page/Page.jss.ts b/packages/fiori3/src/components/Page/Page.jss.ts index d2bcb5ef968..9d6485cf7b8 100644 --- a/packages/fiori3/src/components/Page/Page.jss.ts +++ b/packages/fiori3/src/components/Page/Page.jss.ts @@ -1,5 +1,5 @@ import { JSSTheme } from '../../interfaces/JSSTheme'; -import { ContentDensity } from '@lib/ContentDensity'; +import { ContentDensity } from '../../lib/ContentDensity'; /** * Style Class Generator Function diff --git a/packages/fiori3/src/components/Page/demo.stories.tsx b/packages/fiori3/src/components/Page/demo.stories.tsx index 04d968d4a6b..eb891a178c7 100644 --- a/packages/fiori3/src/components/Page/demo.stories.tsx +++ b/packages/fiori3/src/components/Page/demo.stories.tsx @@ -1,8 +1,8 @@ -import { Bar } from '@lib/Bar'; -import { Button } from '@lib/Button'; -import { Label } from '@lib/Label'; -import { Page } from '@lib/Page'; -import { PageBackgroundDesign } from '@lib/PageBackgroundDesign'; +import { Bar } from '../../lib/Bar'; +import { Button } from '../../lib/Button'; +import { Label } from '../../lib/Label'; +import { Page } from '../../lib/Page'; +import { PageBackgroundDesign } from '../../lib/PageBackgroundDesign'; import { boolean, select } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; import React from 'react'; diff --git a/packages/fiori3/src/components/Page/index.tsx b/packages/fiori3/src/components/Page/index.tsx index 0a1926af17e..0f7fc321647 100644 --- a/packages/fiori3/src/components/Page/index.tsx +++ b/packages/fiori3/src/components/Page/index.tsx @@ -1,10 +1,10 @@ import { Event, StyleClassHelper } from '@fiori-for-react/utils'; -import { Bar } from '@lib/Bar'; -import { Button } from '@lib/Button'; -import { ButtonType } from '@lib/ButtonType'; -import { PageBackgroundDesign } from '@lib/PageBackgroundDesign'; -import { Title } from '@lib/Title'; -import { TitleLevel } from '@lib/TitleLevel'; +import { Bar } from '../../lib/Bar'; +import { Button } from '../../lib/Button'; +import { ButtonType } from '../../lib/ButtonType'; +import { PageBackgroundDesign } from '../../lib/PageBackgroundDesign'; +import { Title } from '../../lib/Title'; +import { TitleLevel } from '../../lib/TitleLevel'; import React, { Component, ReactElement, ReactNode } from 'react'; import { ClassProps } from '../../interfaces/ClassProps'; import { Fiori3CommonProps } from '../../interfaces/Fiori3CommonProps'; diff --git a/packages/fiori3/src/components/Page/page.karma.tsx b/packages/fiori3/src/components/Page/page.karma.tsx index 5df784e1bda..4904bff8958 100644 --- a/packages/fiori3/src/components/Page/page.karma.tsx +++ b/packages/fiori3/src/components/Page/page.karma.tsx @@ -1,4 +1,4 @@ -import { Page } from '@lib/Page'; +import { Page } from '../../lib/Page'; import { renderThemedComponent, ThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/components/ProgressIndicator/ProgressIndicator.jss.ts b/packages/fiori3/src/components/ProgressIndicator/ProgressIndicator.jss.ts index 0e77f8119bc..8764e939480 100644 --- a/packages/fiori3/src/components/ProgressIndicator/ProgressIndicator.jss.ts +++ b/packages/fiori3/src/components/ProgressIndicator/ProgressIndicator.jss.ts @@ -1,4 +1,4 @@ -import { ValueState } from '@lib/ValueState'; +import { ValueState } from '../../lib/ValueState'; import { JSSTheme } from '../../interfaces/JSSTheme'; import { fonts, HSLColor } from '@fiori-for-react/styles'; diff --git a/packages/fiori3/src/components/ProgressIndicator/ProgressIndicator.karma.tsx b/packages/fiori3/src/components/ProgressIndicator/ProgressIndicator.karma.tsx index f2b1c41c8c1..1a4208b5a51 100644 --- a/packages/fiori3/src/components/ProgressIndicator/ProgressIndicator.karma.tsx +++ b/packages/fiori3/src/components/ProgressIndicator/ProgressIndicator.karma.tsx @@ -1,6 +1,6 @@ -import { ContentDensity } from '@lib/ContentDensity'; -import { ProgressIndicator } from '@lib/ProgressIndicator'; -import { ValueState } from '@lib/ValueState'; +import { ContentDensity } from '../../lib/ContentDensity'; +import { ProgressIndicator } from '../../lib/ProgressIndicator'; +import { ValueState } from '../../lib/ValueState'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect } from 'chai'; import React from 'react'; diff --git a/packages/fiori3/src/components/ProgressIndicator/demo.stories.tsx b/packages/fiori3/src/components/ProgressIndicator/demo.stories.tsx index 46454bfc007..01fc5eba9ff 100644 --- a/packages/fiori3/src/components/ProgressIndicator/demo.stories.tsx +++ b/packages/fiori3/src/components/ProgressIndicator/demo.stories.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { storiesOf } from '@storybook/react'; -import { ProgressIndicator } from '@lib/ProgressIndicator'; +import { ProgressIndicator } from '../../lib/ProgressIndicator'; function renderStory() { return ( diff --git a/packages/fiori3/src/components/ProgressIndicator/index.tsx b/packages/fiori3/src/components/ProgressIndicator/index.tsx index 4b4e87564bb..0e570c6015e 100644 --- a/packages/fiori3/src/components/ProgressIndicator/index.tsx +++ b/packages/fiori3/src/components/ProgressIndicator/index.tsx @@ -1,4 +1,4 @@ -import { ContentDensity } from '@lib/ContentDensity'; +import { ContentDensity } from '../../lib/ContentDensity'; import { ClassProps } from '../../interfaces/ClassProps'; import { JSSTheme } from '../../interfaces/JSSTheme'; import { withStyles } from '@fiori-for-react/styles'; diff --git a/packages/fiori3/src/components/ResponsivePopover/ResponsivePopover.karma.tsx b/packages/fiori3/src/components/ResponsivePopover/ResponsivePopover.karma.tsx index 18032ad49cc..295d973504c 100644 --- a/packages/fiori3/src/components/ResponsivePopover/ResponsivePopover.karma.tsx +++ b/packages/fiori3/src/components/ResponsivePopover/ResponsivePopover.karma.tsx @@ -1,5 +1,5 @@ import { Device } from '@fiori-for-react/utils'; -import { ResponsivePopover } from '@lib/ResponsivePopover'; +import { ResponsivePopover } from '../../lib/ResponsivePopover'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/components/ResponsivePopover/demo.stories.tsx b/packages/fiori3/src/components/ResponsivePopover/demo.stories.tsx index 199cbdb754e..f7098d121cb 100644 --- a/packages/fiori3/src/components/ResponsivePopover/demo.stories.tsx +++ b/packages/fiori3/src/components/ResponsivePopover/demo.stories.tsx @@ -1,8 +1,8 @@ -import { Button } from '@lib/Button'; -import { PlacementType } from '@lib/PlacementType'; -import { PopoverHorizontalAlign } from '@lib/PopoverHorizontalAlign'; -import { PopoverVerticalAlign } from '@lib/PopoverVerticalAlign'; -import { ResponsivePopover } from '@lib/ResponsivePopover'; +import { Button } from '../../lib/Button'; +import { PlacementType } from '../../lib/PlacementType'; +import { PopoverHorizontalAlign } from '../../lib/PopoverHorizontalAlign'; +import { PopoverVerticalAlign } from '../../lib/PopoverVerticalAlign'; +import { ResponsivePopover } from '../../lib/ResponsivePopover'; import { boolean, select } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; import React from 'react'; diff --git a/packages/fiori3/src/components/ResponsivePopover/index.tsx b/packages/fiori3/src/components/ResponsivePopover/index.tsx index 4fe44d1f022..90293384292 100644 --- a/packages/fiori3/src/components/ResponsivePopover/index.tsx +++ b/packages/fiori3/src/components/ResponsivePopover/index.tsx @@ -1,7 +1,7 @@ import { Device, Event } from '@fiori-for-react/utils'; import React, { Component } from 'react'; -import { Dialog } from '@lib/Dialog'; -import { Popover } from '@lib/Popover'; +import { Dialog } from '../../lib/Dialog'; +import { Popover } from '../../lib/Popover'; import { DialogPropTypes } from '../../webComponents/Dialog'; import { PopoverPropTypes } from '../../webComponents/Popover'; diff --git a/packages/fiori3/src/components/SegmentedButton/SegmentedButton.karma.tsx b/packages/fiori3/src/components/SegmentedButton/SegmentedButton.karma.tsx index a8cf8507978..16d8e323677 100644 --- a/packages/fiori3/src/components/SegmentedButton/SegmentedButton.karma.tsx +++ b/packages/fiori3/src/components/SegmentedButton/SegmentedButton.karma.tsx @@ -1,5 +1,5 @@ -import { SegmentedButton } from '@lib/SegmentedButton'; -import { SegmentedButtonItem } from '@lib/SegmentedButtonItem'; +import { SegmentedButton } from '../../lib/SegmentedButton'; +import { SegmentedButtonItem } from '../../lib/SegmentedButtonItem'; import { getEventFromCallback, mountThemedComponent } from '@shared/tests/utils'; import { expect } from 'chai'; import { mount } from 'enzyme'; diff --git a/packages/fiori3/src/components/SegmentedButton/demo.stories.tsx b/packages/fiori3/src/components/SegmentedButton/demo.stories.tsx index 0963c36137c..48f4c445690 100644 --- a/packages/fiori3/src/components/SegmentedButton/demo.stories.tsx +++ b/packages/fiori3/src/components/SegmentedButton/demo.stories.tsx @@ -1,6 +1,6 @@ -import { Icon } from '@lib/Icon'; -import { SegmentedButton } from '@lib/SegmentedButton'; -import { SegmentedButtonItem } from '@lib/SegmentedButtonItem'; +import { Icon } from '../../lib/Icon'; +import { SegmentedButton } from '../../lib/SegmentedButton'; +import { SegmentedButtonItem } from '../../lib/SegmentedButtonItem'; import { action } from '@storybook/addon-actions'; import { boolean, number } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; diff --git a/packages/fiori3/src/components/SegmentedButton/index.tsx b/packages/fiori3/src/components/SegmentedButton/index.tsx index b0fdc2e3666..e0731abaed1 100644 --- a/packages/fiori3/src/components/SegmentedButton/index.tsx +++ b/packages/fiori3/src/components/SegmentedButton/index.tsx @@ -1,4 +1,4 @@ -import { ContentDensity } from '@lib/ContentDensity'; +import { ContentDensity } from '../../lib/ContentDensity'; import { ClassProps } from '../../interfaces/ClassProps'; import { withStyles } from '@fiori-for-react/styles'; import { Event, StyleClassHelper } from '@fiori-for-react/utils'; diff --git a/packages/fiori3/src/components/SegmentedButtonItem/SegmentedButtonItem.jss.ts b/packages/fiori3/src/components/SegmentedButtonItem/SegmentedButtonItem.jss.ts index c392f4f26d6..9ee5ad14524 100644 --- a/packages/fiori3/src/components/SegmentedButtonItem/SegmentedButtonItem.jss.ts +++ b/packages/fiori3/src/components/SegmentedButtonItem/SegmentedButtonItem.jss.ts @@ -1,4 +1,4 @@ -import { ContentDensity } from '@lib/ContentDensity'; +import { ContentDensity } from '../../lib/ContentDensity'; import { fonts } from '@fiori-for-react/styles'; import { JSSTheme } from '../../interfaces/JSSTheme'; diff --git a/packages/fiori3/src/components/SegmentedButtonItem/SegmentedButtonItem.karma.tsx b/packages/fiori3/src/components/SegmentedButtonItem/SegmentedButtonItem.karma.tsx index b7de44c42ec..226add05c1c 100644 --- a/packages/fiori3/src/components/SegmentedButtonItem/SegmentedButtonItem.karma.tsx +++ b/packages/fiori3/src/components/SegmentedButtonItem/SegmentedButtonItem.karma.tsx @@ -1,5 +1,5 @@ -import { Icon } from '@lib/Icon'; -import { SegmentedButtonItem } from '@lib/SegmentedButtonItem'; +import { Icon } from '../../lib/Icon'; +import { SegmentedButtonItem } from '../../lib/SegmentedButtonItem'; import { getEventFromCallback, mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/components/Spinner/Spinner.test.tsx b/packages/fiori3/src/components/Spinner/Spinner.test.tsx index bc1eb1e2e05..5a3d1409eaf 100644 --- a/packages/fiori3/src/components/Spinner/Spinner.test.tsx +++ b/packages/fiori3/src/components/Spinner/Spinner.test.tsx @@ -1,5 +1,5 @@ -import { Size } from '@lib/Size'; -import { Spinner } from '@lib/Spinner'; +import { Size } from '../../lib/Size'; +import { Spinner } from '../../lib/Spinner'; import { renderThemedComponent } from '@shared/tests/utils'; import React from 'react'; diff --git a/packages/fiori3/src/components/Spinner/demo.stories.tsx b/packages/fiori3/src/components/Spinner/demo.stories.tsx index 14d39546145..b1bcba2e08e 100644 --- a/packages/fiori3/src/components/Spinner/demo.stories.tsx +++ b/packages/fiori3/src/components/Spinner/demo.stories.tsx @@ -1,5 +1,5 @@ -import { Size } from '@lib/Size'; -import { Spinner } from '@lib/Spinner'; +import { Size } from '../../lib/Size'; +import { Spinner } from '../../lib/Spinner'; import { select } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; import React from 'react'; diff --git a/packages/fiori3/src/components/Spinner/index.tsx b/packages/fiori3/src/components/Spinner/index.tsx index aca12fc4d3c..fcacfdeddac 100644 --- a/packages/fiori3/src/components/Spinner/index.tsx +++ b/packages/fiori3/src/components/Spinner/index.tsx @@ -1,5 +1,5 @@ import { StyleClassHelper } from '@fiori-for-react/utils'; -import { Size } from '@lib/Size'; +import { Size } from '../../lib/Size'; import React, { FC } from 'react'; import { ClassProps } from '../../interfaces/ClassProps'; import { Fiori3CommonProps } from '../../interfaces/Fiori3CommonProps'; diff --git a/packages/fiori3/src/components/Text/Text.karma.tsx b/packages/fiori3/src/components/Text/Text.karma.tsx index 1b306309e22..22916b3820b 100644 --- a/packages/fiori3/src/components/Text/Text.karma.tsx +++ b/packages/fiori3/src/components/Text/Text.karma.tsx @@ -1,4 +1,4 @@ -import { Text } from '@lib/Text'; +import { Text } from '../../lib/Text'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/components/Text/demo.stories.tsx b/packages/fiori3/src/components/Text/demo.stories.tsx index fbfcbbbed7a..b315daa3a50 100644 --- a/packages/fiori3/src/components/Text/demo.stories.tsx +++ b/packages/fiori3/src/components/Text/demo.stories.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { storiesOf } from '@storybook/react'; import { boolean, text } from '@storybook/addon-knobs'; -import { Text } from '@lib/Text'; +import { Text } from '../../lib/Text'; function renderStory() { return ( diff --git a/packages/fiori3/src/components/ThemeProvider/ThemeProvider.karma.tsx b/packages/fiori3/src/components/ThemeProvider/ThemeProvider.karma.tsx index fa3b876f738..33adfc4518a 100644 --- a/packages/fiori3/src/components/ThemeProvider/ThemeProvider.karma.tsx +++ b/packages/fiori3/src/components/ThemeProvider/ThemeProvider.karma.tsx @@ -1,6 +1,6 @@ -import { ContentDensity } from '@lib/ContentDensity'; -import { ThemeProvider } from '@lib/ThemeProvider'; -import { Themes } from '@lib/Themes'; +import { ContentDensity } from '../../lib/ContentDensity'; +import { ThemeProvider } from '../../lib/ThemeProvider'; +import { Themes } from '../../lib/Themes'; import { expect } from 'chai'; import { mount } from 'enzyme'; import React from 'react'; diff --git a/packages/fiori3/src/components/ThemeProvider/index.tsx b/packages/fiori3/src/components/ThemeProvider/index.tsx index 7ecdd45084d..f34698f631c 100644 --- a/packages/fiori3/src/components/ThemeProvider/index.tsx +++ b/packages/fiori3/src/components/ThemeProvider/index.tsx @@ -1,6 +1,6 @@ -import { ContentDensity } from '@lib/ContentDensity'; -import { MessageToast } from '@lib/MessageToast'; -import { Themes } from '@lib/Themes'; +import { ContentDensity } from '../../lib/ContentDensity'; +import { MessageToast } from '../../lib/MessageToast'; +import { Themes } from '../../lib/Themes'; import { jss, ThemeProvider as ReactJssThemeProvider } from 'react-jss'; import React, { Fragment, PureComponent, ReactNode } from 'react'; import { bootstrap, sap_fiori3_light } from '@fiori-for-react/styles'; diff --git a/packages/fiori3/src/components/Token/Token.jss.ts b/packages/fiori3/src/components/Token/Token.jss.ts index a13ad131ef9..128aed2bdc6 100644 --- a/packages/fiori3/src/components/Token/Token.jss.ts +++ b/packages/fiori3/src/components/Token/Token.jss.ts @@ -1,5 +1,5 @@ import { fonts, HSLColor } from '@fiori-for-react/styles'; -import { ContentDensity } from '@lib/ContentDensity'; +import { ContentDensity } from '../../lib/ContentDensity'; import { JSSTheme } from '../../interfaces/JSSTheme'; const darken = (amount, color) => HSLColor.of(color).darken(amount * 100).hsl; diff --git a/packages/fiori3/src/components/Token/Token.karma.tsx b/packages/fiori3/src/components/Token/Token.karma.tsx index 90568606fd3..257461ce051 100644 --- a/packages/fiori3/src/components/Token/Token.karma.tsx +++ b/packages/fiori3/src/components/Token/Token.karma.tsx @@ -1,4 +1,4 @@ -import { Token } from '@lib/Token'; +import { Token } from '../../lib/Token'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/components/Token/demo.stories.tsx b/packages/fiori3/src/components/Token/demo.stories.tsx index b3723da10ad..66733861d56 100644 --- a/packages/fiori3/src/components/Token/demo.stories.tsx +++ b/packages/fiori3/src/components/Token/demo.stories.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { storiesOf } from '@storybook/react'; import { boolean } from '@storybook/addon-knobs'; import { action } from '@storybook/addon-actions'; -import { Token } from '@lib/Token'; +import { Token } from '../../lib/Token'; function renderStory() { return ( diff --git a/packages/fiori3/src/components/Token/index.tsx b/packages/fiori3/src/components/Token/index.tsx index 4e2d385b5bc..7af3118bfaf 100644 --- a/packages/fiori3/src/components/Token/index.tsx +++ b/packages/fiori3/src/components/Token/index.tsx @@ -1,7 +1,7 @@ import { fonts } from '@fiori-for-react/styles'; import { Event, StyleClassHelper } from '@fiori-for-react/utils'; -import { ContentDensity } from '@lib/ContentDensity'; -import { Icon } from '@lib/Icon'; +import { ContentDensity } from '../../lib/ContentDensity'; +import { Icon } from '../../lib/Icon'; import React, { Component } from 'react'; import { ClassProps } from '../../interfaces/ClassProps'; import { Fiori3CommonProps } from '../../interfaces/Fiori3CommonProps'; diff --git a/packages/fiori3/src/components/Tokenizer/Tokenizer.jss.ts b/packages/fiori3/src/components/Tokenizer/Tokenizer.jss.ts index 510f694b3a2..5b5c379d1ca 100644 --- a/packages/fiori3/src/components/Tokenizer/Tokenizer.jss.ts +++ b/packages/fiori3/src/components/Tokenizer/Tokenizer.jss.ts @@ -1,4 +1,4 @@ -import { ContentDensity } from '@lib/ContentDensity'; +import { ContentDensity } from '../../lib/ContentDensity'; import { JSSTheme } from '../../interfaces/JSSTheme'; import { fonts } from '@fiori-for-react/styles'; diff --git a/packages/fiori3/src/components/Tokenizer/Tokenizer.karma.tsx b/packages/fiori3/src/components/Tokenizer/Tokenizer.karma.tsx index d2862c5ab59..7ae5057b8f6 100644 --- a/packages/fiori3/src/components/Tokenizer/Tokenizer.karma.tsx +++ b/packages/fiori3/src/components/Tokenizer/Tokenizer.karma.tsx @@ -1,5 +1,5 @@ -import { Icon } from '@lib/Icon'; -import { Tokenizer } from '@lib/Tokenizer'; +import { Icon } from '../../lib/Icon'; +import { Tokenizer } from '../../lib/Tokenizer'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/components/Tokenizer/demo.stories.tsx b/packages/fiori3/src/components/Tokenizer/demo.stories.tsx index 2bf05e24212..cd2e1fade89 100644 --- a/packages/fiori3/src/components/Tokenizer/demo.stories.tsx +++ b/packages/fiori3/src/components/Tokenizer/demo.stories.tsx @@ -2,7 +2,7 @@ import { action } from '@storybook/addon-actions'; import { boolean, object as objectKnob } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; import React from 'react'; -import { Tokenizer } from '@lib/Tokenizer'; +import { Tokenizer } from '../../lib/Tokenizer'; storiesOf('F4R Components | Tokenizer', module).add('Default', () => ( ( diff --git a/packages/fiori3/src/webComponents/Input/Input.karma.tsx b/packages/fiori3/src/webComponents/Input/Input.karma.tsx index b665440bf82..8b1a7ccad6f 100644 --- a/packages/fiori3/src/webComponents/Input/Input.karma.tsx +++ b/packages/fiori3/src/webComponents/Input/Input.karma.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; -import { Input } from '@lib/Input'; +import { Input } from '../../lib/Input'; import { mountThemedComponent } from '@shared/tests/utils'; use(matchSnapshot); diff --git a/packages/fiori3/src/webComponents/Input/demo.stories.tsx b/packages/fiori3/src/webComponents/Input/demo.stories.tsx index 1f409f003d8..4b5fe012152 100644 --- a/packages/fiori3/src/webComponents/Input/demo.stories.tsx +++ b/packages/fiori3/src/webComponents/Input/demo.stories.tsx @@ -1,6 +1,6 @@ -import { Input } from '@lib/Input'; -import { InputType } from '@lib/InputType'; -import { ValueState } from '@lib/ValueState'; +import { Input } from '../../lib/Input'; +import { InputType } from '../../lib/InputType'; +import { ValueState } from '../../lib/ValueState'; import { action } from '@storybook/addon-actions'; import { boolean, select } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; diff --git a/packages/fiori3/src/webComponents/Input/index.tsx b/packages/fiori3/src/webComponents/Input/index.tsx index a7a5a98660a..c0438858c1b 100644 --- a/packages/fiori3/src/webComponents/Input/index.tsx +++ b/packages/fiori3/src/webComponents/Input/index.tsx @@ -1,6 +1,6 @@ -import { ValueState } from '@lib/ValueState'; +import { ValueState } from '../../lib/ValueState'; import React, { FC } from 'react'; -import { InputType } from '@lib/InputType'; +import { InputType } from '../../lib/InputType'; import UI5Input from '@ui5/webcomponents/dist/Input'; import { Event } from '@fiori-for-react/utils'; import { withWebComponent, WithWebComponentPropTypes } from '../../internal/withWebComponent'; diff --git a/packages/fiori3/src/webComponents/Label/Label.karma.tsx b/packages/fiori3/src/webComponents/Label/Label.karma.tsx index 968bf802462..0c8267650f3 100644 --- a/packages/fiori3/src/webComponents/Label/Label.karma.tsx +++ b/packages/fiori3/src/webComponents/Label/Label.karma.tsx @@ -1,4 +1,4 @@ -import { Label } from '@lib/Label'; +import { Label } from '../../lib/Label'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/webComponents/Label/demo.stories.tsx b/packages/fiori3/src/webComponents/Label/demo.stories.tsx index 16d10d7290c..8f633551987 100644 --- a/packages/fiori3/src/webComponents/Label/demo.stories.tsx +++ b/packages/fiori3/src/webComponents/Label/demo.stories.tsx @@ -1,4 +1,4 @@ -import { Label } from '@lib/Label'; +import { Label } from '../../lib/Label'; import { boolean } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; import React from 'react'; diff --git a/packages/fiori3/src/webComponents/Link/Link.karma.tsx b/packages/fiori3/src/webComponents/Link/Link.karma.tsx index 7d32df6f168..6cec8ea2202 100644 --- a/packages/fiori3/src/webComponents/Link/Link.karma.tsx +++ b/packages/fiori3/src/webComponents/Link/Link.karma.tsx @@ -1,4 +1,4 @@ -import { Link } from '@lib/Link'; +import { Link } from '../../lib/Link'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/webComponents/Link/demo.stories.tsx b/packages/fiori3/src/webComponents/Link/demo.stories.tsx index 05aa29b1c41..4fd1ba4fa3a 100644 --- a/packages/fiori3/src/webComponents/Link/demo.stories.tsx +++ b/packages/fiori3/src/webComponents/Link/demo.stories.tsx @@ -1,5 +1,5 @@ -import { Link } from '@lib/Link'; -import { LinkType } from '@lib/LinkType'; +import { Link } from '../../lib/Link'; +import { LinkType } from '../../lib/LinkType'; import { boolean, select } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; import React from 'react'; diff --git a/packages/fiori3/src/webComponents/Link/index.tsx b/packages/fiori3/src/webComponents/Link/index.tsx index 8d9412d915e..3ed135dccd1 100644 --- a/packages/fiori3/src/webComponents/Link/index.tsx +++ b/packages/fiori3/src/webComponents/Link/index.tsx @@ -1,5 +1,5 @@ import React, { FC } from 'react'; -import { LinkType } from '@lib/LinkType'; +import { LinkType } from '../../lib/LinkType'; import { Event } from '@fiori-for-react/utils'; import UI5Link from '@ui5/webcomponents/dist/Link'; import { withWebComponent, WithWebComponentPropTypes } from '../../internal/withWebComponent'; diff --git a/packages/fiori3/src/webComponents/List/List.karma.tsx b/packages/fiori3/src/webComponents/List/List.karma.tsx index a771b34c906..33af625494f 100644 --- a/packages/fiori3/src/webComponents/List/List.karma.tsx +++ b/packages/fiori3/src/webComponents/List/List.karma.tsx @@ -1,4 +1,4 @@ -import { List } from '@lib/List'; +import { List } from '../../lib/List'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/webComponents/List/demo.stories.tsx b/packages/fiori3/src/webComponents/List/demo.stories.tsx index 152a9bc6fb4..5ec6e35008e 100644 --- a/packages/fiori3/src/webComponents/List/demo.stories.tsx +++ b/packages/fiori3/src/webComponents/List/demo.stories.tsx @@ -1,8 +1,8 @@ -import { BackgroundDesign } from '@lib/BackgroundDesign'; -import { List } from '@lib/List'; -import { ListMode } from '@lib/ListMode'; -import { ListSeparators } from '@lib/ListSeparators'; -import { StandardListItem } from '@lib/StandardListItem'; +import { BackgroundDesign } from '../../lib/BackgroundDesign'; +import { List } from '../../lib/List'; +import { ListMode } from '../../lib/ListMode'; +import { ListSeparators } from '../../lib/ListSeparators'; +import { StandardListItem } from '../../lib/StandardListItem'; import { boolean, select } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; import React from 'react'; diff --git a/packages/fiori3/src/webComponents/List/index.tsx b/packages/fiori3/src/webComponents/List/index.tsx index 8330d1bb652..bbd8a179933 100644 --- a/packages/fiori3/src/webComponents/List/index.tsx +++ b/packages/fiori3/src/webComponents/List/index.tsx @@ -1,7 +1,7 @@ import { Event } from '@fiori-for-react/utils'; -import { BackgroundDesign } from '@lib/BackgroundDesign'; -import { ListMode } from '@lib/ListMode'; -import { ListSeparators } from '@lib/ListSeparators'; +import { BackgroundDesign } from '../../lib/BackgroundDesign'; +import { ListMode } from '../../lib/ListMode'; +import { ListSeparators } from '../../lib/ListSeparators'; import UI5List from '@ui5/webcomponents/dist/List'; import React, { FC, ReactNode } from 'react'; import { withWebComponent } from '../../internal/withWebComponent'; diff --git a/packages/fiori3/src/webComponents/ListItem/ListItem.karma.tsx b/packages/fiori3/src/webComponents/ListItem/ListItem.karma.tsx index c0f9308abe7..35081183abf 100644 --- a/packages/fiori3/src/webComponents/ListItem/ListItem.karma.tsx +++ b/packages/fiori3/src/webComponents/ListItem/ListItem.karma.tsx @@ -1,4 +1,4 @@ -import { ListItem } from '@lib/ListItem'; +import { ListItem } from '../../lib/ListItem'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/webComponents/ListItem/index.tsx b/packages/fiori3/src/webComponents/ListItem/index.tsx index 8cbe7599f01..effbba0b735 100644 --- a/packages/fiori3/src/webComponents/ListItem/index.tsx +++ b/packages/fiori3/src/webComponents/ListItem/index.tsx @@ -1,4 +1,4 @@ -import { ListItemTypes } from '@lib/ListItemTypes'; +import { ListItemTypes } from '../../lib/ListItemTypes'; import React, { FC } from 'react'; import UI5ListItem from '@ui5/webcomponents/dist/ListItem'; import { withWebComponent, WithWebComponentPropTypes } from '../../internal/withWebComponent'; diff --git a/packages/fiori3/src/webComponents/ListItemBase/ListItemBase.karma.tsx b/packages/fiori3/src/webComponents/ListItemBase/ListItemBase.karma.tsx index 5ab60eda68b..65b12f5473d 100644 --- a/packages/fiori3/src/webComponents/ListItemBase/ListItemBase.karma.tsx +++ b/packages/fiori3/src/webComponents/ListItemBase/ListItemBase.karma.tsx @@ -1,4 +1,4 @@ -import { ListItemBase } from '@lib/ListItemBase'; +import { ListItemBase } from '../../lib/ListItemBase'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/webComponents/MessageStrip/demo.stories.tsx b/packages/fiori3/src/webComponents/MessageStrip/demo.stories.tsx index 32e54e0882e..8228ee872f1 100644 --- a/packages/fiori3/src/webComponents/MessageStrip/demo.stories.tsx +++ b/packages/fiori3/src/webComponents/MessageStrip/demo.stories.tsx @@ -1,5 +1,5 @@ -import { MessageStrip } from '@lib/MessageStrip'; -import { MessageStripType } from '@lib/MessageStripType'; +import { MessageStrip } from '../../lib/MessageStrip'; +import { MessageStripType } from '../../lib/MessageStripType'; import { action } from '@storybook/addon-actions'; import { boolean, select, text } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; diff --git a/packages/fiori3/src/webComponents/MessageStrip/index.tsx b/packages/fiori3/src/webComponents/MessageStrip/index.tsx index 8eae315195a..bbe7b961b4f 100644 --- a/packages/fiori3/src/webComponents/MessageStrip/index.tsx +++ b/packages/fiori3/src/webComponents/MessageStrip/index.tsx @@ -1,5 +1,5 @@ import { Event } from '@fiori-for-react/utils'; -import { MessageStripType } from '@lib/MessageStripType'; +import { MessageStripType } from '../../lib/MessageStripType'; import UI5MessageStrip from '@ui5/webcomponents/dist/MessageStrip'; import React, { FC } from 'react'; import { withWebComponent, WithWebComponentPropTypes } from '../../internal/withWebComponent'; diff --git a/packages/fiori3/src/webComponents/MonthPicker/MonthPicker.karma.tsx b/packages/fiori3/src/webComponents/MonthPicker/MonthPicker.karma.tsx index ca6e5bf1c42..54b583f7829 100644 --- a/packages/fiori3/src/webComponents/MonthPicker/MonthPicker.karma.tsx +++ b/packages/fiori3/src/webComponents/MonthPicker/MonthPicker.karma.tsx @@ -1,4 +1,4 @@ -import { MonthPicker } from '@lib/MonthPicker'; +import { MonthPicker } from '../../lib/MonthPicker'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/webComponents/MonthPicker/index.tsx b/packages/fiori3/src/webComponents/MonthPicker/index.tsx index c470a426379..f265fa9df91 100644 --- a/packages/fiori3/src/webComponents/MonthPicker/index.tsx +++ b/packages/fiori3/src/webComponents/MonthPicker/index.tsx @@ -1,5 +1,5 @@ import React, { FC } from 'react'; -import { CalendarType } from '@lib/CalendarType'; +import { CalendarType } from '../../lib/CalendarType'; import { Event } from '@fiori-for-react/utils'; import UI5MonthPicker from '@ui5/webcomponents/dist/MonthPicker'; import { withWebComponent, WithWebComponentPropTypes } from '../../internal/withWebComponent'; diff --git a/packages/fiori3/src/webComponents/Panel/Panel.karma.tsx b/packages/fiori3/src/webComponents/Panel/Panel.karma.tsx index 2e1f6db0b9d..9435f37cbd3 100644 --- a/packages/fiori3/src/webComponents/Panel/Panel.karma.tsx +++ b/packages/fiori3/src/webComponents/Panel/Panel.karma.tsx @@ -1,4 +1,4 @@ -import { Panel } from '@lib/Panel'; +import { Panel } from '../../lib/Panel'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/webComponents/Panel/demo.stories.tsx b/packages/fiori3/src/webComponents/Panel/demo.stories.tsx index 621777e8f27..cd0e67b7ce5 100644 --- a/packages/fiori3/src/webComponents/Panel/demo.stories.tsx +++ b/packages/fiori3/src/webComponents/Panel/demo.stories.tsx @@ -1,6 +1,6 @@ -import { BackgroundDesign } from '@lib/BackgroundDesign'; -import { Panel } from '@lib/Panel'; -import { PanelAccessibleRoles } from '@lib/PanelAccessibleRoles'; +import { BackgroundDesign } from '../../lib/BackgroundDesign'; +import { Panel } from '../../lib/Panel'; +import { PanelAccessibleRoles } from '../../lib/PanelAccessibleRoles'; import { action } from '@storybook/addon-actions'; import { boolean, select } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; diff --git a/packages/fiori3/src/webComponents/Panel/index.tsx b/packages/fiori3/src/webComponents/Panel/index.tsx index 9af415f144a..cb3355d4a03 100644 --- a/packages/fiori3/src/webComponents/Panel/index.tsx +++ b/packages/fiori3/src/webComponents/Panel/index.tsx @@ -1,6 +1,6 @@ import { Event } from '@fiori-for-react/utils'; -import { BackgroundDesign } from '@lib/BackgroundDesign'; -import { PanelAccessibleRoles } from '@lib/PanelAccessibleRoles'; +import { BackgroundDesign } from '../../lib/BackgroundDesign'; +import { PanelAccessibleRoles } from '../../lib/PanelAccessibleRoles'; import UI5Panel from '@ui5/webcomponents/dist/Panel'; import React, { FC, ReactNode } from 'react'; import { withWebComponent, WithWebComponentPropTypes } from '../../internal/withWebComponent'; diff --git a/packages/fiori3/src/webComponents/Popover/Popover.karma.tsx b/packages/fiori3/src/webComponents/Popover/Popover.karma.tsx index a22222cb93d..13f308c9d67 100644 --- a/packages/fiori3/src/webComponents/Popover/Popover.karma.tsx +++ b/packages/fiori3/src/webComponents/Popover/Popover.karma.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; -import { Popover } from '@lib/Popover'; +import { Popover } from '../../lib/Popover'; import { mountThemedComponent } from '@shared/tests/utils'; use(matchSnapshot); diff --git a/packages/fiori3/src/webComponents/Popover/demo.stories.tsx b/packages/fiori3/src/webComponents/Popover/demo.stories.tsx index 9ff2c1d2818..e82c77af3c1 100644 --- a/packages/fiori3/src/webComponents/Popover/demo.stories.tsx +++ b/packages/fiori3/src/webComponents/Popover/demo.stories.tsx @@ -1,8 +1,8 @@ -import { Button } from '@lib/Button'; -import { PlacementType } from '@lib/PlacementType'; -import { Popover } from '@lib/Popover'; -import { PopoverHorizontalAlign } from '@lib/PopoverHorizontalAlign'; -import { PopoverVerticalAlign } from '@lib/PopoverVerticalAlign'; +import { Button } from '../../lib/Button'; +import { PlacementType } from '../../lib/PlacementType'; +import { Popover } from '../../lib/Popover'; +import { PopoverHorizontalAlign } from '../../lib/PopoverHorizontalAlign'; +import { PopoverVerticalAlign } from '../../lib/PopoverVerticalAlign'; import { boolean, select } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; import React from 'react'; diff --git a/packages/fiori3/src/webComponents/Popover/index.tsx b/packages/fiori3/src/webComponents/Popover/index.tsx index 037262011c1..f6125da1638 100644 --- a/packages/fiori3/src/webComponents/Popover/index.tsx +++ b/packages/fiori3/src/webComponents/Popover/index.tsx @@ -1,7 +1,7 @@ import React, { Component, ReactNode, RefObject } from 'react'; -import { PlacementType } from '@lib/PlacementType'; -import { PopoverHorizontalAlign } from '@lib/PopoverHorizontalAlign'; -import { PopoverVerticalAlign } from '@lib/PopoverVerticalAlign'; +import { PlacementType } from '../../lib/PlacementType'; +import { PopoverHorizontalAlign } from '../../lib/PopoverHorizontalAlign'; +import { PopoverVerticalAlign } from '../../lib/PopoverVerticalAlign'; import UI5Popover from '@ui5/webcomponents/dist/Popover'; import { Event } from '@fiori-for-react/utils'; import { withWebComponent, WithWebComponentPropTypes } from '../../internal/withWebComponent'; diff --git a/packages/fiori3/src/webComponents/Popup/Popup.karma.tsx b/packages/fiori3/src/webComponents/Popup/Popup.karma.tsx index d61131936ab..e9f70bf9bd3 100644 --- a/packages/fiori3/src/webComponents/Popup/Popup.karma.tsx +++ b/packages/fiori3/src/webComponents/Popup/Popup.karma.tsx @@ -1,4 +1,4 @@ -import { Popup } from '@lib/Popup'; +import { Popup } from '../../lib/Popup'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/webComponents/RadioButton/RadioButton.karma.tsx b/packages/fiori3/src/webComponents/RadioButton/RadioButton.karma.tsx index 13b03085597..459d9a955c2 100644 --- a/packages/fiori3/src/webComponents/RadioButton/RadioButton.karma.tsx +++ b/packages/fiori3/src/webComponents/RadioButton/RadioButton.karma.tsx @@ -1,4 +1,4 @@ -import { RadioButton } from '@lib/RadioButton'; +import { RadioButton } from '../../lib/RadioButton'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/webComponents/RadioButton/demo.stories.tsx b/packages/fiori3/src/webComponents/RadioButton/demo.stories.tsx index 38f327aef75..610eb87c09e 100644 --- a/packages/fiori3/src/webComponents/RadioButton/demo.stories.tsx +++ b/packages/fiori3/src/webComponents/RadioButton/demo.stories.tsx @@ -1,5 +1,5 @@ -import { RadioButton } from '@lib/RadioButton'; -import { ValueState } from '@lib/ValueState'; +import { RadioButton } from '../../lib/RadioButton'; +import { ValueState } from '../../lib/ValueState'; import { action } from '@storybook/addon-actions'; import { boolean, select, text } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; diff --git a/packages/fiori3/src/webComponents/RadioButton/index.tsx b/packages/fiori3/src/webComponents/RadioButton/index.tsx index 366e1269624..6083356b8ed 100644 --- a/packages/fiori3/src/webComponents/RadioButton/index.tsx +++ b/packages/fiori3/src/webComponents/RadioButton/index.tsx @@ -1,5 +1,5 @@ import { Event } from '@fiori-for-react/utils'; -import { ValueState } from '@lib/ValueState'; +import { ValueState } from '../../lib/ValueState'; import UI5RadioButton from '@ui5/webcomponents/dist/RadioButton'; import React, { FC } from 'react'; import { withWebComponent, WithWebComponentPropTypes } from '../../internal/withWebComponent'; diff --git a/packages/fiori3/src/webComponents/Select/Select.karma.tsx b/packages/fiori3/src/webComponents/Select/Select.karma.tsx index d2d64550f2d..a7cc581df54 100644 --- a/packages/fiori3/src/webComponents/Select/Select.karma.tsx +++ b/packages/fiori3/src/webComponents/Select/Select.karma.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; -import { Select } from '@lib/Select'; +import { Select } from '../../lib/Select'; import { mountThemedComponent } from '@shared/tests/utils'; use(matchSnapshot); diff --git a/packages/fiori3/src/webComponents/Select/demo.stories.tsx b/packages/fiori3/src/webComponents/Select/demo.stories.tsx index eca6b522723..5b93430a3ee 100644 --- a/packages/fiori3/src/webComponents/Select/demo.stories.tsx +++ b/packages/fiori3/src/webComponents/Select/demo.stories.tsx @@ -1,7 +1,7 @@ -import { ListItemTypes } from '@lib/ListItemTypes'; -import { Select } from '@lib/Select'; -import { StandardListItem } from '@lib/StandardListItem'; -import { ValueState } from '@lib/ValueState'; +import { ListItemTypes } from '../../lib/ListItemTypes'; +import { Select } from '../../lib/Select'; +import { StandardListItem } from '../../lib/StandardListItem'; +import { ValueState } from '../../lib/ValueState'; import { action } from '@storybook/addon-actions'; import { boolean, select } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; diff --git a/packages/fiori3/src/webComponents/Select/index.tsx b/packages/fiori3/src/webComponents/Select/index.tsx index 458b7f187cf..28ab6c1b9c9 100644 --- a/packages/fiori3/src/webComponents/Select/index.tsx +++ b/packages/fiori3/src/webComponents/Select/index.tsx @@ -1,4 +1,4 @@ -import { ValueState } from '@lib/ValueState'; +import { ValueState } from '../../lib/ValueState'; import React, { FC, ReactNode } from 'react'; import { Event } from '@fiori-for-react/utils'; import UI5Select from '@ui5/webcomponents/dist/Select'; diff --git a/packages/fiori3/src/webComponents/ShellBar/ShellBar.karma.tsx b/packages/fiori3/src/webComponents/ShellBar/ShellBar.karma.tsx index ac344cb57c6..738919f31bb 100644 --- a/packages/fiori3/src/webComponents/ShellBar/ShellBar.karma.tsx +++ b/packages/fiori3/src/webComponents/ShellBar/ShellBar.karma.tsx @@ -1,4 +1,4 @@ -import { ShellBar } from '@lib/ShellBar'; +import { ShellBar } from '../../lib/ShellBar'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/webComponents/ShellBar/demo.stories.tsx b/packages/fiori3/src/webComponents/ShellBar/demo.stories.tsx index f34328a1606..2942a8bf5be 100644 --- a/packages/fiori3/src/webComponents/ShellBar/demo.stories.tsx +++ b/packages/fiori3/src/webComponents/ShellBar/demo.stories.tsx @@ -1,5 +1,5 @@ -import { ShellBar } from '@lib/ShellBar'; -import { ShellBarItem } from '@lib/ShellBarItem'; +import { ShellBar } from '../../lib/ShellBar'; +import { ShellBarItem } from '../../lib/ShellBarItem'; import { action } from '@storybook/addon-actions'; import { boolean, number } from '@storybook/addon-knobs'; import { storiesOf } from '@storybook/react'; diff --git a/packages/fiori3/src/webComponents/ShellBarItem/ShellBarItem.karma.tsx b/packages/fiori3/src/webComponents/ShellBarItem/ShellBarItem.karma.tsx index 1ca652bfac6..f553143622e 100644 --- a/packages/fiori3/src/webComponents/ShellBarItem/ShellBarItem.karma.tsx +++ b/packages/fiori3/src/webComponents/ShellBarItem/ShellBarItem.karma.tsx @@ -1,4 +1,4 @@ -import { ShellBarItem } from '@lib/ShellBarItem'; +import { ShellBarItem } from '../../lib/ShellBarItem'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/webComponents/StandardListItem/StandardListItem.karma.tsx b/packages/fiori3/src/webComponents/StandardListItem/StandardListItem.karma.tsx index 450ddd4e6f3..379a1ddcd44 100644 --- a/packages/fiori3/src/webComponents/StandardListItem/StandardListItem.karma.tsx +++ b/packages/fiori3/src/webComponents/StandardListItem/StandardListItem.karma.tsx @@ -1,4 +1,4 @@ -import { StandardListItem } from '@lib/StandardListItem'; +import { StandardListItem } from '../../lib/StandardListItem'; import { mountThemedComponent } from '@shared/tests/utils'; import { expect, use } from 'chai'; import { matchSnapshot } from 'chai-karma-snapshot'; diff --git a/packages/fiori3/src/webComponents/StandardListItem/index.tsx b/packages/fiori3/src/webComponents/StandardListItem/index.tsx index 38be5104639..5e0d2d4f6f6 100644 --- a/packages/fiori3/src/webComponents/StandardListItem/index.tsx +++ b/packages/fiori3/src/webComponents/StandardListItem/index.tsx @@ -1,4 +1,4 @@ -import { ListItemTypes } from '@lib/ListItemTypes'; +import { ListItemTypes } from '../../lib/ListItemTypes'; import UI5StandardListItem from '@ui5/webcomponents/dist/StandardListItem'; import React, { FC } from 'react'; import { withWebComponent, WithWebComponentPropTypes } from '../../internal/withWebComponent'; diff --git a/packages/fiori3/src/webComponents/Switch/demo.stories.tsx b/packages/fiori3/src/webComponents/Switch/demo.stories.tsx index 2464b9242b4..96dc6154245 100644 --- a/packages/fiori3/src/webComponents/Switch/demo.stories.tsx +++ b/packages/fiori3/src/webComponents/Switch/demo.stories.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { storiesOf } from '@storybook/react'; import { boolean, select, text } from '@storybook/addon-knobs'; import { action } from '@storybook/addon-actions'; -import { Switch } from '@lib/Switch'; +import { Switch } from '../../lib/Switch'; storiesOf('UI5 Web Components | Switch', module).add('Generated default story', () => (