Merge branch 'main' into chore/split-components
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { UmbThemeContext } from '../themes/theme.context';
|
||||
import { UmbThemeContext } from './themes/theme.context';
|
||||
import { manifests as settingsSectionManifests } from './section.manifests';
|
||||
import { manifests as settingsMenuManifests } from './menu.manifests';
|
||||
import { manifests as dashboardManifests } from './dashboards/manifests';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { css, html, PropertyValues } from 'lit';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { createRef, Ref, ref } from 'lit/directives/ref.js';
|
||||
import { UMB_THEME_CONTEXT_TOKEN } from '../../../themes/theme.context';
|
||||
import { UMB_THEME_CONTEXT_TOKEN } from '../../../settings/themes/theme.context';
|
||||
import { UmbCodeEditorController } from './code-editor.controller';
|
||||
import { CodeEditorLanguage, CodeEditorTheme, UmbCodeEditorHost } from './code-editor.model';
|
||||
import { monacoEditorStyles, monacoJumpingCursorHack } from './styles';
|
||||
@@ -22,8 +22,6 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
*/
|
||||
@customElement('umb-code-editor')
|
||||
export class UmbCodeEditorElement extends UmbLitElement implements UmbCodeEditorHost {
|
||||
|
||||
|
||||
private containerRef: Ref<HTMLElement> = createRef();
|
||||
|
||||
get container() {
|
||||
@@ -146,7 +144,7 @@ export class UmbCodeEditorElement extends UmbLitElement implements UmbCodeEditor
|
||||
render() {
|
||||
return html` <div id="editor-container" ${ref(this.containerRef)}></div> `;
|
||||
}
|
||||
|
||||
|
||||
static styles = [
|
||||
monacoEditorStyles,
|
||||
monacoJumpingCursorHack,
|
||||
|
||||
@@ -2,15 +2,13 @@ import { css, html } from 'lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css/lib';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
import { UUISelectEvent } from '@umbraco-ui/uui';
|
||||
import { UmbThemeContext, UMB_THEME_CONTEXT_TOKEN } from '../../../themes/theme.context';
|
||||
import { UmbThemeContext, UMB_THEME_CONTEXT_TOKEN } from '../../../settings/themes/theme.context';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
import { umbExtensionsRegistry } from '@umbraco-cms/backoffice/extensions-api';
|
||||
import { ManifestTheme } from '@umbraco-cms/backoffice/extensions-registry';
|
||||
|
||||
@customElement('umb-user-profile-app-themes')
|
||||
export class UmbUserProfileAppThemesElement extends UmbLitElement {
|
||||
|
||||
|
||||
#themeService?: UmbThemeContext;
|
||||
|
||||
@state()
|
||||
@@ -55,7 +53,7 @@ export class UmbUserProfileAppThemesElement extends UmbLitElement {
|
||||
.options=${this.#options}></uui-select>
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
static styles = [
|
||||
UUITextStyles,
|
||||
css`
|
||||
|
||||
Reference in New Issue
Block a user