diff --git a/libs/core/src/lib/components/layout/layout-config-private.ts b/libs/core/src/lib/components/layout/layout-config-private.ts index ecde7a6..d8b0c8c 100644 --- a/libs/core/src/lib/components/layout/layout-config-private.ts +++ b/libs/core/src/lib/components/layout/layout-config-private.ts @@ -6,7 +6,6 @@ export const BERG_LAYOUT_BOTTOM_BELOW_LEFT_CLASS = 'berg-layout-bottom-below-left'; export const BERG_LAYOUT_BOTTOM_BELOW_RIGHT_CLASS = 'berg-layout-bottom-below-right'; -export const BERG_LAYOUT_RESIZE_TOGGLE_CLASS = 'berg-layout-resize-toggle'; export const BERG_LAYOUT_RESIZING_VERTICAL_CLASS = 'berg-layout-resizing-vertical'; export const BERG_LAYOUT_RESIZING_HORIZONTAL_CLASS = diff --git a/libs/core/src/lib/components/layout/layout.ts b/libs/core/src/lib/components/layout/layout.ts index 734e289..238bcd1 100644 --- a/libs/core/src/lib/components/layout/layout.ts +++ b/libs/core/src/lib/components/layout/layout.ts @@ -1,6 +1,7 @@ import { fromEvent, merge, Observable } from 'rxjs'; import { coerceBooleanProperty, coerceNumberProperty } from '../../util'; import { BergPanelSlot } from '../panel'; +import { BERG_PANEL_RESIZE_TOGGLE_CLASS } from '../panel/panel-config-private'; import { WebComponent } from '../web-component'; import { BERG_LAYOUT_ATTRIBUTE_BY_INPUT, @@ -14,7 +15,6 @@ import { BERG_LAYOUT_CLASS, BERG_LAYOUT_OVERFLOW_X_CLASS, BERG_LAYOUT_OVERFLOW_Y_CLASS, - BERG_LAYOUT_RESIZE_TOGGLE_CLASS, BERG_LAYOUT_TOP_ABOVE_LEFT_CLASS, BERG_LAYOUT_TOP_ABOVE_RIGHT_CLASS, } from './layout-config-private'; @@ -305,8 +305,8 @@ export class BergLayoutElement extends WebComponent { const div = document.createElement('div'); div.classList.add( - BERG_LAYOUT_RESIZE_TOGGLE_CLASS, - `${BERG_LAYOUT_RESIZE_TOGGLE_CLASS}-${slot}` + BERG_PANEL_RESIZE_TOGGLE_CLASS, + `${BERG_PANEL_RESIZE_TOGGLE_CLASS}-${slot}` ); return div; diff --git a/libs/core/src/lib/components/panel/panel-config-private.ts b/libs/core/src/lib/components/panel/panel-config-private.ts index fd668f2..be1584e 100644 --- a/libs/core/src/lib/components/panel/panel-config-private.ts +++ b/libs/core/src/lib/components/panel/panel-config-private.ts @@ -6,6 +6,7 @@ export const BERG_PANEL_HORIZONTAL_CLASS = 'berg-panel-horizontal'; export const BERG_PANEL_PREVIEWING_CLASS = 'berg-panel-previewing'; export const BERG_PANEL_RESIZE_DISABLED_CLASS = 'berg-panel-resize-disabled'; export const BERG_PANEL_RESIZING_CLASS = 'berg-panel-resizing'; +export const BERG_PANEL_RESIZE_TOGGLE_CLASS = 'berg-panel-resize-toggle'; export const BERG_PANEL_CLASS = 'berg-panel'; export const BERG_PANEL_VERTICAL_CLASS = 'berg-panel-vertical'; export const BERG_PANEL_NO_TRANSITION_CLASS = 'berg-panel-no-transition';