Skip to content

Commit

Permalink
Merge pull request #2519 from umbraco/v15/feature/fix-block-grid-edit…
Browse files Browse the repository at this point in the history
…or-circular-imports-take-1

Feature: Fix imports for circular deps
  • Loading branch information
nielslyngsoe authored Nov 7, 2024
2 parents 8916717 + 5ae423e commit f3eefdd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import type { UmbBlockGridTypeAreaType } from '../../types.js';
import { UMB_BLOCK_GRID_ENTRY_CONTEXT } from '../../context/index.js';
import { UMB_BLOCK_GRID_MANAGER_CONTEXT } from '../../context/block-grid-manager.context-token.js';
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
import { css, customElement, html, repeat, state } from '@umbraco-cms/backoffice/external/lit';
import { UMB_BLOCK_GRID_ENTRY_CONTEXT, type UmbBlockGridTypeAreaType } from '@umbraco-cms/backoffice/block-grid';

import '../block-grid-entries/index.js';
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { UmbBlockGridEntriesContext } from '../../context/block-grid-entries.context.js';
import type { UmbBlockGridEntryElement } from '../block-grid-entry/index.js';
import type { UmbBlockGridLayoutModel } from '../../types.js';
import {
getAccumulatedValueOfIndex,
getInterpolatedIndexOfPositionInWeightMap,
Expand All @@ -16,7 +17,6 @@ import {
type UmbFormControlValidatorConfig,
} from '@umbraco-cms/backoffice/validation';
import type { UmbNumberRangeValueType } from '@umbraco-cms/backoffice/models';
import type { UmbBlockGridLayoutModel } from '@umbraco-cms/backoffice/block-grid';

/**
* Notice this utility method is not really shareable with others as it also takes areas into account. [NL]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { UmbBlockGridEntryContext } from '../../context/block-grid-entry.context.js';
import type { UmbBlockGridLayoutModel } from '../../types.js';
import { UMB_BLOCK_GRID } from '../../constants.js';
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
import { html, css, customElement, property, state, nothing } from '@umbraco-cms/backoffice/external/lit';
import type { PropertyValueMap } from '@umbraco-cms/backoffice/external/lit';
import type { UmbPropertyEditorUiElement } from '@umbraco-cms/backoffice/property-editor';
import { stringOrStringArrayContains } from '@umbraco-cms/backoffice/utils';
import { UMB_BLOCK_GRID, type UmbBlockGridLayoutModel } from '@umbraco-cms/backoffice/block-grid';

import '../block-grid-block-inline/index.js';
import '../block-grid-block/index.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
import { html, css, customElement } from '@umbraco-cms/backoffice/external/lit';
import type { UmbPropertyEditorUiElement } from '@umbraco-cms/backoffice/property-editor';
import '../block-grid-block/index.js';

/**
* @element umb-block-scale-handler
Expand Down

0 comments on commit f3eefdd

Please sign in to comment.