Skip to content

Commit

Permalink
refactor(base): flatten project structure (#227)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: All files required from the base now have different
path. sap/ui/webcomponents/base/ is removed.

old: @ui5/webcomponents-base/src/sap/ui/webcomponents/base/WebComponent
new: @ui5/webcomponents-base/src/WebComponent
  • Loading branch information
MapTo0 authored Mar 22, 2019
1 parent 839a66e commit 0e8e460
Show file tree
Hide file tree
Showing 163 changed files with 250 additions and 250 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,21 @@ If your application should run on browsers without native Web Components support
### Edge only

```js
import "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/browsersupport/Edge";
import "@ui5/webcomponents-base/src/browsersupport/Edge";
```

### Edge and IE11

```js
import "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/browsersupport/IE11";
import "@ui5/webcomponents-base/src/browsersupport/IE11";
```

*Note:* Importing the module for IE11 support automatically enables Edge support as well, so there is no need to import them both explicitly.

Example:

```js
import "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/browsersupport/IE11"; // This will enable Edge and IE11 support for all Web Components below
import "@ui5/webcomponents-base/src/browsersupport/IE11"; // This will enable Edge and IE11 support for all Web Components below
import "@ui5/webcomponents/dist/Button"; // loads ui5-button
import "@ui5/webcomponents/dist/Label"; // loads ui5-label
```
Expand Down
2 changes: 1 addition & 1 deletion packages/base/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Note: Changes to this file also must be applied to the top level .eslintignore file.
test
src/sap/ui/webcomponents/base/thirdparty
src/thirdparty
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions packages/main/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,21 @@ If your application should run on browsers without native Web Components support
### Edge only

```js
import "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/browsersupport/Edge";
import "@ui5/webcomponents-base/src/browsersupport/Edge";
```

### Edge and IE11

```js
import "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/browsersupport/IE11";
import "@ui5/webcomponents-base/src/browsersupport/IE11";
```

*Note:* Importing the module for IE11 support automatically enables Edge support as well, so there is no need to import them both explicitly.

Example:

```js
import "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/browsersupport/IE11"; // This will enable Edge and IE11 support for all Web Components below
import "@ui5/webcomponents-base/src/browsersupport/IE11"; // This will enable Edge and IE11 support for all Web Components below
import "@ui5/webcomponents/dist/Button"; // loads ui5-button
import "@ui5/webcomponents/dist/Label"; // loads ui5-label
```
Expand Down
6 changes: 3 additions & 3 deletions packages/main/bundle.es5.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// ES5 bundle targets IE11 only
import "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/browsersupport/IE11";
import "@ui5/webcomponents-base/src/browsersupport/IE11";

import * as configuration from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Configuration";
import * as Theming from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Theming";
import * as configuration from "@ui5/webcomponents-base/src/Configuration";
import * as Theming from "@ui5/webcomponents-base/src/Theming";
import "./bundle.esm";

export {
Expand Down
10 changes: 5 additions & 5 deletions packages/main/bundle.esm.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ESM bundle targets Edge + browsers with native support
import "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/browsersupport/Edge";
import "@ui5/webcomponents-base/src/browsersupport/Edge";

import "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/shims/jquery-shim";
import "@ui5/webcomponents-base/src/shims/jquery-shim";
import "./src/ThemePropertiesProvider";

import Gregorian from "@ui5/webcomponents-core/dist/sap/ui/core/date/Gregorian";
Expand Down Expand Up @@ -50,15 +50,15 @@ import CustomListItem from "./dist/CustomListItem";
import GroupHeaderListItem from "./dist/GroupHeaderListItem";

// used in test pages
import RenderScheduler from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/RenderScheduler";
import RenderScheduler from "@ui5/webcomponents-base/src/RenderScheduler";
window.RenderScheduler = RenderScheduler;
import { isIE } from "@ui5/webcomponents-core/dist/sap/ui/Device";
window.isIE = isIE; // attached to the window object for testing purposes


// Note: keep in sync with rollup.config value for IIFE
import * as configuration from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Configuration";
import * as Theming from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Theming";
import * as configuration from "@ui5/webcomponents-base/src/Configuration";
import * as Theming from "@ui5/webcomponents-base/src/Theming";
window["sap-ui-webcomponents-main-bundle"] = {
configuration,
Theming,
Expand Down
4 changes: 2 additions & 2 deletions packages/main/lib/hbs2ui5/RenderTemplates/LitRenderer.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const buildRenderer = (controlName, litTemplate) => {
return `
/* eslint no-unused-vars: 0 */
import ifTruthy from '@ui5/webcomponents-base/src/sap/ui/webcomponents/base/renderer/ifTruthy';
import { html, svg, repeat } from '@ui5/webcomponents-base/src/sap/ui/webcomponents/base/renderer/LitRenderer';
import ifTruthy from '@ui5/webcomponents-base/src/renderer/ifTruthy';
import { html, svg, repeat } from '@ui5/webcomponents-base/src/renderer/LitRenderer';
const ${controlName}LitRenderer = {};
${litTemplate}
${controlName}LitRenderer.render = renderMe;
Expand Down
2 changes: 1 addition & 1 deletion packages/main/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function ui5DevImportCheckerPlugin() {
}

if (/import.*"@ui5\/webcomponents-core\/dist\/sap\/ui\/core\/IconPool/.test(code)) {
throw new Error(`You need to import '@ui5/webcomponents-base/src/sap/ui/webcomponents/base/IconPool' instead of IconPool ${file}`);
throw new Error(`You need to import '@ui5/webcomponents-base/src/IconPool' instead of IconPool ${file}`);
}
}
};
Expand Down
10 changes: 5 additions & 5 deletions packages/main/src/Button.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import WebComponent from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/WebComponent";
import URI from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/types/URI";
import Bootstrap from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Bootstrap";
import WebComponent from "@ui5/webcomponents-base/src/WebComponent";
import URI from "@ui5/webcomponents-base/src/types/URI";
import Bootstrap from "@ui5/webcomponents-base/src/Bootstrap";
import KeyCodes from "@ui5/webcomponents-core/dist/sap/ui/events/KeyCodes";

// import { addCustomCSS } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/theming/CustomStyle";
import ShadowDOM from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/compatibility/ShadowDOM";
// import { addCustomCSS } from "@ui5/webcomponents-base/src/theming/CustomStyle";
import ShadowDOM from "@ui5/webcomponents-base/src/compatibility/ShadowDOM";

import ButtonTemplateContext from "./ButtonTemplateContext";
import ButtonType from "./types/ButtonType";
Expand Down
24 changes: 12 additions & 12 deletions packages/main/src/Calendar.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/shims/jquery-shim";
import "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/shims/Core-shim";
import WebComponent from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/WebComponent";
import { fetchCldrData } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/CLDR";
import Bootstrap from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Bootstrap";
import { getLocale } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/LocaleProvider";
import { getCalendarType } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Configuration";
import { getFormatLocale } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/FormatSettings";
import "@ui5/webcomponents-base/src/shims/jquery-shim";
import "@ui5/webcomponents-base/src/shims/Core-shim";
import WebComponent from "@ui5/webcomponents-base/src/WebComponent";
import { fetchCldrData } from "@ui5/webcomponents-base/src/CLDR";
import Bootstrap from "@ui5/webcomponents-base/src/Bootstrap";
import { getLocale } from "@ui5/webcomponents-base/src/LocaleProvider";
import { getCalendarType } from "@ui5/webcomponents-base/src/Configuration";
import { getFormatLocale } from "@ui5/webcomponents-base/src/FormatSettings";
import DateFormat from "@ui5/webcomponents-core/dist/sap/ui/core/format/DateFormat";
import LocaleData from "@ui5/webcomponents-core/dist/sap/ui/core/LocaleData";
import CalendarDate from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/dates/CalendarDate";
import CalendarType from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/dates/CalendarType";
import Integer from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/types/Integer";
import ShadowDOM from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/compatibility/ShadowDOM";
import CalendarDate from "@ui5/webcomponents-base/src/dates/CalendarDate";
import CalendarType from "@ui5/webcomponents-base/src/dates/CalendarType";
import Integer from "@ui5/webcomponents-base/src/types/Integer";
import ShadowDOM from "@ui5/webcomponents-base/src/compatibility/ShadowDOM";
import CalendarTemplateContext from "./CalendarTemplateContext";
import CalendarHeader from "./CalendarHeader";
import DayPicker from "./DayPicker";
Expand Down
6 changes: 3 additions & 3 deletions packages/main/src/CalendarHeader.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import WebComponent from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/WebComponent";
import Bootstrap from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Bootstrap";
import WebComponent from "@ui5/webcomponents-base/src/WebComponent";
import Bootstrap from "@ui5/webcomponents-base/src/Bootstrap";
import KeyCodes from "@ui5/webcomponents-core/dist/sap/ui/events/KeyCodes";
import ShadowDOM from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/compatibility/ShadowDOM";
import ShadowDOM from "@ui5/webcomponents-base/src/compatibility/ShadowDOM";
import CalendarHeaderTemplateContext from "./CalendarHeaderTemplateContext";
import Button from "./Button";
import ButtonType from "./types/ButtonType";
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/CalendarTemplateContext.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import CalendarType from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/dates/CalendarType";
import CalendarType from "@ui5/webcomponents-base/src/dates/CalendarType";

class CalendarTemplateContext {
static calculate(state) {
Expand Down
10 changes: 5 additions & 5 deletions packages/main/src/Card.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import WebComponent from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/WebComponent";
import URI from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/types/URI";
import Bootstrap from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Bootstrap";
import ShadowDOM from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/compatibility/ShadowDOM";
import { isIconURI } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/IconPool";
import WebComponent from "@ui5/webcomponents-base/src/WebComponent";
import URI from "@ui5/webcomponents-base/src/types/URI";
import Bootstrap from "@ui5/webcomponents-base/src/Bootstrap";
import ShadowDOM from "@ui5/webcomponents-base/src/compatibility/ShadowDOM";
import { isIconURI } from "@ui5/webcomponents-base/src/IconPool";
import CardRenderer from "./build/compiled/CardRenderer.lit";
import Icon from "./Icon";

Expand Down
8 changes: 4 additions & 4 deletions packages/main/src/CheckBox.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import WebComponent from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/WebComponent";
import Bootstrap from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Bootstrap";
import WebComponent from "@ui5/webcomponents-base/src/WebComponent";
import Bootstrap from "@ui5/webcomponents-base/src/Bootstrap";
import KeyCodes from "@ui5/webcomponents-core/dist/sap/ui/events/KeyCodes";
import ValueState from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/types/ValueState";
import ValueState from "@ui5/webcomponents-base/src/types/ValueState";

// Template
import ShadowDOM from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/compatibility/ShadowDOM";
import ShadowDOM from "@ui5/webcomponents-base/src/compatibility/ShadowDOM";
import CheckBoxRenderer from "./build/compiled/CheckBoxRenderer.lit";
import CheckBoxTemplateContext from "./CheckBoxTemplateContext";
import Label from "./Label";
Expand Down
4 changes: 2 additions & 2 deletions packages/main/src/CustomListItem.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Bootstrap from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Bootstrap";
import ShadowDOM from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/compatibility/ShadowDOM";
import Bootstrap from "@ui5/webcomponents-base/src/Bootstrap";
import ShadowDOM from "@ui5/webcomponents-base/src/compatibility/ShadowDOM";
import ListItem from "./ListItem";
import CustomListItemTemplateContext from "./CustomListItemTemplateContext";
import CustomListItemRenderer from "./build/compiled/CustomListItemRenderer.lit";
Expand Down
24 changes: 12 additions & 12 deletions packages/main/src/DatePicker.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/shims/jquery-shim";
import "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/shims/Core-shim";
import WebComponent from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/WebComponent";
import { fetchCldrData } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/CLDR";
import Bootstrap from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Bootstrap";
import "@ui5/webcomponents-base/src/shims/jquery-shim";
import "@ui5/webcomponents-base/src/shims/Core-shim";
import WebComponent from "@ui5/webcomponents-base/src/WebComponent";
import { fetchCldrData } from "@ui5/webcomponents-base/src/CLDR";
import Bootstrap from "@ui5/webcomponents-base/src/Bootstrap";
import KeyCodes from "@ui5/webcomponents-core/dist/sap/ui/events/KeyCodes";
import { getCalendarType } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Configuration";
import { getLocale } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/LocaleProvider";
import { getIconURI } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/IconPool";
import { getCalendarType } from "@ui5/webcomponents-base/src/Configuration";
import { getLocale } from "@ui5/webcomponents-base/src/LocaleProvider";
import { getIconURI } from "@ui5/webcomponents-base/src/IconPool";
import LocaleData from "@ui5/webcomponents-core/dist/sap/ui/core/LocaleData";
import DateFormat from "@ui5/webcomponents-core/dist/sap/ui/core/format/DateFormat";
import CalendarType from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/dates/CalendarType";
import CalendarDate from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/dates/CalendarDate";
import ValueState from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/types/ValueState";
import ShadowDOM from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/compatibility/ShadowDOM";
import CalendarType from "@ui5/webcomponents-base/src/dates/CalendarType";
import CalendarDate from "@ui5/webcomponents-base/src/dates/CalendarDate";
import ValueState from "@ui5/webcomponents-base/src/types/ValueState";
import ShadowDOM from "@ui5/webcomponents-base/src/compatibility/ShadowDOM";
import DatePickerTemplateContext from "./DatePickerTemplateContext";
import Icon from "./Icon";
import Popover from "./Popover";
Expand Down
24 changes: 12 additions & 12 deletions packages/main/src/DayPicker.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import WebComponent from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/WebComponent";
import Bootstrap from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Bootstrap";
import { getLocale } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/LocaleProvider";
import { getCalendarType } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Configuration";
import { getFormatLocale } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/FormatSettings";
import ItemNavigation from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/delegate/ItemNavigation";
import { isSpace, isEnter } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/events/PseudoEvents";
import Integer from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/types/Integer";
import WebComponent from "@ui5/webcomponents-base/src/WebComponent";
import Bootstrap from "@ui5/webcomponents-base/src/Bootstrap";
import { getLocale } from "@ui5/webcomponents-base/src/LocaleProvider";
import { getCalendarType } from "@ui5/webcomponents-base/src/Configuration";
import { getFormatLocale } from "@ui5/webcomponents-base/src/FormatSettings";
import ItemNavigation from "@ui5/webcomponents-base/src/delegate/ItemNavigation";
import { isSpace, isEnter } from "@ui5/webcomponents-base/src/events/PseudoEvents";
import Integer from "@ui5/webcomponents-base/src/types/Integer";
import LocaleData from "@ui5/webcomponents-core/dist/sap/ui/core/LocaleData";
import CalendarDate from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/dates/CalendarDate";
import { calculateWeekNumber } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/dates/CalendarUtils";
import CalendarType from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/dates/CalendarType";
import ShadowDOM from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/compatibility/ShadowDOM";
import CalendarDate from "@ui5/webcomponents-base/src/dates/CalendarDate";
import { calculateWeekNumber } from "@ui5/webcomponents-base/src/dates/CalendarUtils";
import CalendarType from "@ui5/webcomponents-base/src/dates/CalendarType";
import ShadowDOM from "@ui5/webcomponents-base/src/compatibility/ShadowDOM";
import DayPickerTemplateContext from "./DayPickerTemplateContext";
import DayPickerRenderer from "./build/compiled/DayPickerRenderer.lit";

Expand Down
4 changes: 2 additions & 2 deletions packages/main/src/Dialog.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Bootstrap from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Bootstrap";
import ShadowDOM from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/compatibility/ShadowDOM";
import Bootstrap from "@ui5/webcomponents-base/src/Bootstrap";
import ShadowDOM from "@ui5/webcomponents-base/src/compatibility/ShadowDOM";
import DialogTemplateContext from "./DialogTemplateContext";
import Popup from "./Popup";
// Template
Expand Down
4 changes: 2 additions & 2 deletions packages/main/src/GroupHeaderListItem.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Bootstrap from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Bootstrap";
import ShadowDOM from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/compatibility/ShadowDOM";
import Bootstrap from "@ui5/webcomponents-base/src/Bootstrap";
import ShadowDOM from "@ui5/webcomponents-base/src/compatibility/ShadowDOM";
import ListItemBase from "./ListItemBase";
// Template
import GroupHeaderListItemRenderer from "./build/compiled/GroupHeaderListItemRenderer.lit";
Expand Down
10 changes: 5 additions & 5 deletions packages/main/src/Icon.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import WebComponent from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/WebComponent";
import URI from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/types/URI";
import Bootstrap from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Bootstrap";
import ShadowDOM from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/compatibility/ShadowDOM";
import { isSpace, isEnter } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/events/PseudoEvents";
import WebComponent from "@ui5/webcomponents-base/src/WebComponent";
import URI from "@ui5/webcomponents-base/src/types/URI";
import Bootstrap from "@ui5/webcomponents-base/src/Bootstrap";
import ShadowDOM from "@ui5/webcomponents-base/src/compatibility/ShadowDOM";
import { isSpace, isEnter } from "@ui5/webcomponents-base/src/events/PseudoEvents";
import IconTemplateContext from "./IconTemplateContext";
import IconRenderer from "./build/compiled/IconRenderer.lit";

Expand Down
4 changes: 2 additions & 2 deletions packages/main/src/IconTemplateContext.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getIconInfo } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/IconPool";
import { getRTL } from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Configuration";
import { getIconInfo } from "@ui5/webcomponents-base/src/IconPool";
import { getRTL } from "@ui5/webcomponents-base/src/Configuration";

const dir = getRTL() ? "rtl" : "ltr";

Expand Down
10 changes: 5 additions & 5 deletions packages/main/src/Input.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import WebComponent from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/WebComponent";
import Bootstrap from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Bootstrap";
import WebComponent from "@ui5/webcomponents-base/src/WebComponent";
import Bootstrap from "@ui5/webcomponents-base/src/Bootstrap";
import { isIE } from "@ui5/webcomponents-core/dist/sap/ui/Device";
import ValueState from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/types/ValueState";
import ShadowDOM from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/compatibility/ShadowDOM";
import ValueState from "@ui5/webcomponents-base/src/types/ValueState";
import ShadowDOM from "@ui5/webcomponents-base/src/compatibility/ShadowDOM";
import {
isUp,
isDown,
isLeft,
isSpace,
isEnter,
isRight,
} from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/events/PseudoEvents";
} from "@ui5/webcomponents-base/src/events/PseudoEvents";
import Icon from "./Icon";
import InputType from "./types/InputType";
// Template
Expand Down
Loading

0 comments on commit 0e8e460

Please sign in to comment.