Skip to content

Commit

Permalink
feat: remove ClrDragAndDropModule in favor of @angular/cdk
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The `ClrDragAndDropModule` has been removed.
Please use the `DragDropModule` module from `@angular/cdk` instead.
  • Loading branch information
kevinbuhmann committed Dec 19, 2022
1 parent 3f93d4c commit b0f7ba6
Show file tree
Hide file tree
Showing 64 changed files with 30 additions and 4,733 deletions.
208 changes: 26 additions & 182 deletions projects/angular/clarity.api.md

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions projects/angular/src/clr-angular.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { ClrProgressBarModule } from './progress/progress-bars/progress-bar.modu
import { ClrSpinnerModule } from './progress/spinner/spinner.module';
import { ClrTimelineModule } from './timeline/timeline.module';
import { ClrConditionalModule } from './utils/conditional/conditional.module';
import { ClrDragAndDropModule } from './utils/drag-and-drop/drag-and-drop.module';
import { ClrFocusTrapModule } from './utils/focus-trap/focus-trap.module';
import { ClrFocusOnViewInitModule } from './utils/focus/focus-on-view-init/focus-on-view-init.module';
import { ClrForTypeAheadModule } from './utils/for-type-ahead/for-type-ahead.module';
Expand All @@ -46,7 +45,6 @@ import '@cds/core/icon/register';
ClrLayoutModule,
ClrPopoverModule,
ClrWizardModule,
ClrDragAndDropModule,
ClrStepperModule,
ClrSpinnerModule,
ClrProgressBarModule,
Expand Down
2 changes: 1 addition & 1 deletion projects/angular/src/color/_properties.color.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
--clr-color-on-action-900: #{$clr-color-on-action-900};
--clr-color-on-action-1000: #{$clr-color-on-action-1000};

// Secondary Action palette -- actions but off-the-beaten-path actions, like drag-and-drop
// Secondary Action palette -- actions but off-the-beaten-path actions

--clr-color-secondary-action-50: #{$clr-color-secondary-action-50};
--clr-color-secondary-action-100: #{$clr-color-secondary-action-100};
Expand Down
3 changes: 0 additions & 3 deletions projects/angular/src/utils/_components.clarity.scss
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@
// Signposts
@import '../popover/signpost/signposts.clarity';

// Drag and Drop
@import '../utils/drag-and-drop/drag-and-drop.clarity';

// Stepper
@import '../accordion/accordion.clarity';

Expand Down
2 changes: 1 addition & 1 deletion projects/angular/src/utils/_overwrites.clarity.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ $clr-color-on-action-800: null; // #fff
$clr-color-on-action-900: null; // #fff
$clr-color-on-action-1000: null; // #fff

// Secondary Action palette (purple) -- actions but off-the-beaten-path actions, like drag-and-drop
// Secondary Action palette (purple) -- actions but off-the-beaten-path actions
$clr-color-secondary-action-50: null; // #f3e6ff
$clr-color-secondary-action-100: null; // #e1c9f1
$clr-color-secondary-action-200: null; // #d0ace4
Expand Down

This file was deleted.

48 changes: 0 additions & 48 deletions projects/angular/src/utils/drag-and-drop/all.spec.ts

This file was deleted.

Loading

0 comments on commit b0f7ba6

Please sign in to comment.