Skip to content

Commit 3406bf3

Browse files
committed
feat: replace deprecated @import in scss with @use
Signed-off-by: Stefano Cappa <stefano.cappa.ks89@gmail.com>
1 parent 60fdaf3 commit 3406bf3

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010

1111
### Examples
1212

13-
- upgrade all examples to Angular 20 and the new syntax
13+
- upgrade all examples to Angular 20 and control flow syntax
14+
15+
### Documentation
16+
17+
- upgrade doc website to Angular 20 component based with control flow syntax
1418

1519

1620
# 13.0.0

examples/angular-cli-20/src/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
// *********** required by @ks89/angular-modal-gallery *************
2727
// *****************************************************************
2828
// ATTENTION: You have to install @angular/cdk to be able to use @ks89/angular-modal-gallery properly
29-
@use "@angular/cdk/overlay-prebuilt.css";
29+
@use "@angular/cdk/overlay-prebuilt.css" as *;
3030

3131
.ks-modal-gallery-backdrop {
3232
background: #000 !important;;

examples/angular-cli-material/src/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
// *********** required by @ks89/angular-modal-gallery *************
2727
// *****************************************************************
2828
// ATTENTION: You have to install @angular/cdk to be able to use @ks89/angular-modal-gallery properly
29-
@use "@angular/cdk/overlay-prebuilt.css";
29+
@use "@angular/cdk/overlay-prebuilt.css" as *;
3030

3131
.ks-modal-gallery-backdrop {
3232
background: #000 !important;;

examples/universal/src/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
// *********** required by @ks89/angular-modal-gallery *************
2727
// *****************************************************************
2828
// ATTENTION: You have to install @angular/cdk to be able to use @ks89/angular-modal-gallery properly
29-
@use "@angular/cdk/overlay-prebuilt.css";
29+
@use "@angular/cdk/overlay-prebuilt.css" as *;
3030

3131
.ks-modal-gallery-backdrop {
3232
background: #000 !important;;

projects/ks89/angular-modal-gallery/src/public-api.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export type { CarouselImageConfig } from './lib/model/carousel-image-config.inte
4747
export type { Size } from './lib/model/size.interface';
4848

4949
export { ButtonsStrategy, ButtonType } from './lib/model/buttons-config.interface';
50-
export type { ButtonsConfig, ButtonEvent } from './lib/model/buttons-config.interface';
50+
export type { ButtonsConfig, ButtonConfig, ButtonEvent } from './lib/model/buttons-config.interface';
5151

5252
export type { ModalLibConfig, PlainLibConfig, CarouselLibConfig } from './lib/model/lib-config.interface';
5353

@@ -60,6 +60,8 @@ export type { LoadingConfig } from './lib/model/loading-config.interface';
6060

6161
export type { InteractionEvent } from './lib/model/interaction-event.interface';
6262

63+
export type { SidePreviewsConfig, SlideConfig } from './lib/model/slide-config.interface';
64+
6365
export { KS_DEFAULT_ACCESSIBILITY_CONFIG } from './lib/components/accessibility-default';
6466
export {
6567
KS_DEFAULT_BTN_FULL_SCREEN,

src/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
// *********** required by @ks89/angular-modal-gallery *************
2727
// *****************************************************************
2828
// ATTENTION: You have to install @angular/cdk to be able to use @ks89/angular-modal-gallery properly
29-
@use "@angular/cdk/overlay-prebuilt.css";
29+
@use "@angular/cdk/overlay-prebuilt.css" as *;
3030

3131
.ks-modal-gallery-backdrop {
3232
background: #000 !important;;

0 commit comments

Comments
 (0)