From c9fa496c20bd0415b5bf73ad705ee7a739cf18b0 Mon Sep 17 00:00:00 2001 From: kyubisation Date: Mon, 16 Sep 2019 16:44:08 +0200 Subject: [PATCH] fix: handle scrolling correctly (#168) Closes #161 --- angular.json | 1 - .../src/app/app.component.html | 68 ++++++++++--------- .../angular-showcase/src/app/app.module.ts | 4 +- .../src/app/business/business.module.ts | 4 +- .../src/app/core/core.module.ts | 4 +- .../src/app/core/core/core.component.ts | 3 +- .../src/app/icons/icons.module.ts | 4 +- .../src/app/public/public.module.ts | 4 +- .../src/app/shared/shared.module.ts | 4 +- .../sbb-esta/angular-core/ng-package.json | 1 + projects/sbb-esta/angular-core/package.json | 3 + projects/sbb-esta/angular-core/public-api.ts | 1 + .../sbb-esta/angular-core/scrolling/index.ts | 1 + .../angular-core/scrolling/package.json | 19 ++++++ .../angular-core/scrolling/scrolling.md | 28 ++++++++ .../src/ps-scrollable.directive.spec.ts | 58 ++++++++++++++++ .../scrolling/src/ps-scrollable.directive.ts | 59 ++++++++++++++++ .../angular-core/scrolling/src/public_api.ts | 2 + .../scrolling/src/scrolling.module.ts | 11 +++ .../lightbox/src/lightbox.module.ts | 4 +- .../lightbox/src/lightbox/lightbox.spec.ts | 4 +- .../select/src/select.module.ts | 12 +--- .../src/select/select.component.spec.ts | 4 +- .../angular-public/tabs/src/tabs.module.ts | 4 +- .../tabs/src/tabs/tabs.component.spec.ts | 4 +- 25 files changed, 247 insertions(+), 64 deletions(-) create mode 100644 projects/sbb-esta/angular-core/scrolling/index.ts create mode 100644 projects/sbb-esta/angular-core/scrolling/package.json create mode 100644 projects/sbb-esta/angular-core/scrolling/scrolling.md create mode 100644 projects/sbb-esta/angular-core/scrolling/src/ps-scrollable.directive.spec.ts create mode 100644 projects/sbb-esta/angular-core/scrolling/src/ps-scrollable.directive.ts create mode 100644 projects/sbb-esta/angular-core/scrolling/src/public_api.ts create mode 100644 projects/sbb-esta/angular-core/scrolling/src/scrolling.module.ts diff --git a/angular.json b/angular.json index 4f2cbd17e1..7c225740a0 100644 --- a/angular.json +++ b/angular.json @@ -32,7 +32,6 @@ ], "styles": [ "projects/angular-showcase/src/styles.scss", - "node_modules/perfect-scrollbar/css/perfect-scrollbar.css", "node_modules/highlight.js/styles/github.css" ], "scripts": [], diff --git a/projects/angular-showcase/src/app/app.component.html b/projects/angular-showcase/src/app/app.component.html index 02c6c6c56b..1f83315dc5 100644 --- a/projects/angular-showcase/src/app/app.component.html +++ b/projects/angular-showcase/src/app/app.component.html @@ -1,34 +1,36 @@ -