Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit e96df10

Browse files
refactor: rename editor component and move packages to deck (#1378)
* refactor: rename deck editor cmp Signed-off-by: peterpeterparker <[email protected]> * refactor: move package Signed-off-by: peterpeterparker <[email protected]> * refactor: move packages to deck Signed-off-by: peterpeterparker <[email protected]>
1 parent ba6fabb commit e96df10

File tree

83 files changed

+230
-230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+230
-230
lines changed

studio/src/app/components/editor/actions/footer/app-actions-editor/app-actions-editor.scss renamed to studio/src/app/components/editor/deck/actions/app-actions-deck-editor/app-actions-deck-editor.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@use "../../../../../../global/theme/mixins/button";
22

3-
app-actions-editor {
3+
app-actions-deck-editor {
44
background: transparent;
55
display: block;
66

studio/src/app/components/editor/actions/footer/app-actions-editor/app-actions-editor.tsx renamed to studio/src/app/components/editor/deck/actions/app-actions-deck-editor/app-actions-deck-editor.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import undoRedoStore from '../../../../../stores/undo-redo.store';
88
import {BreadcrumbsStep} from '../../../../../types/editor/breadcrumbs-step';
99

1010
@Component({
11-
tag: 'app-actions-editor',
12-
styleUrl: 'app-actions-editor.scss',
11+
tag: 'app-actions-deck-editor',
12+
styleUrl: 'app-actions-deck-editor.scss',
1313
shadow: false
1414
})
15-
export class AppActionsEditor {
15+
export class AppActionsDeckEditor {
1616
@Element() el: HTMLElement;
1717

1818
@Prop()

studio/src/app/components/editor/actions/app-breadcrumbs/app-breadcrumbs.tsx renamed to studio/src/app/components/editor/deck/actions/app-breadcrumbs/app-breadcrumbs.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import {Component, Prop, h, Host, EventEmitter, Event, Fragment} from '@stencil/
22

33
import {deckSelector, selectSlide} from '@deckdeckgo/editor';
44

5-
import busyStore from '../../../../stores/busy.store';
6-
import editorStore from '../../../../stores/editor.store';
5+
import busyStore from '../../../../../stores/busy.store';
6+
import editorStore from '../../../../../stores/editor.store';
77

8-
import {BreadcrumbsStep} from '../../../../types/editor/breadcrumbs-step';
8+
import {BreadcrumbsStep} from '../../../../../types/editor/breadcrumbs-step';
99

1010
@Component({
1111
tag: 'app-breadcrumbs',

studio/src/app/components/editor/actions/app-slides-aside/app-slides-aside.scss renamed to studio/src/app/components/editor/deck/actions/app-slides-aside/app-slides-aside.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use "../../../../../global/theme/mixins/button";
1+
@use "../../../../../../global/theme/mixins/button";
22

33
app-slides-aside {
44
position: relative;

studio/src/app/components/editor/actions/app-slides-aside/app-slides-aside.tsx renamed to studio/src/app/components/editor/deck/actions/app-slides-aside/app-slides-aside.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {debounce} from '@deckdeckgo/utils';
66
import {isSlide} from '@deckdeckgo/deck-utils';
77
import {deckSelector, slideTo, selectDeckSlide} from '@deckdeckgo/editor';
88

9-
import {SlideUtils} from '../../../../utils/editor/slide.utils';
9+
import {SlideUtils} from '../../../../../utils/editor/slide.utils';
1010

1111
@Component({
1212
tag: 'app-slides-aside',

studio/src/app/components/editor/actions/deck/app-action-add-slide/app-action-add-slide.tsx renamed to studio/src/app/components/editor/deck/actions/deck/app-action-add-slide/app-action-add-slide.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import {modalController, popoverController} from '@ionic/core';
55

66
import {SlideAttributes, SlideSplitType, SlideTemplate, StorageFile} from '@deckdeckgo/editor';
77

8-
import i18n from '../../../../../stores/i18n.store';
8+
import i18n from '../../../../../../stores/i18n.store';
99

10-
import {CreateSlidesUtils} from '../../../../../utils/editor/create-slides.utils';
11-
import {PlaygroundAction} from '../../../../../types/editor/playground-action';
12-
import {DemoAction} from '../../../../../types/editor/demo-action';
10+
import {CreateSlidesUtils} from '../../../../../../utils/editor/create-slides.utils';
11+
import {PlaygroundAction} from '../../../../../../types/editor/playground-action';
12+
import {DemoAction} from '../../../../../../types/editor/demo-action';
1313

1414
@Component({
1515
tag: 'app-action-add-slide',

0 commit comments

Comments
 (0)