reimport lit from external
This commit is contained in:
8
src/Umbraco.Web.UI.Client/external/lit/index.ts
vendored
Normal file
8
src/Umbraco.Web.UI.Client/external/lit/index.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
export * from 'lit';
|
||||
export * from 'lit/decorators.js';
|
||||
export * from 'lit/directives/class-map.js';
|
||||
export * from 'lit/directives/if-defined.js';
|
||||
export * from 'lit/directives/style-map.js';
|
||||
export * from 'lit/directives/repeat.js';
|
||||
export * from 'lit/directives/unsafe-html.js';
|
||||
export * from 'lit-html/directives/when.js';
|
||||
@@ -1,5 +1,4 @@
|
||||
import { css, html, nothing, unsafeCSS } from 'lit';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { css, html, nothing, unsafeCSS, customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
import type { ProblemDetailsModel } from '@umbraco-cms/backoffice/backend-api';
|
||||
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
//import 'element-internals-polyfill';
|
||||
|
||||
import { UUIIconRegistryEssential } from '@umbraco-ui/uui';
|
||||
import { css, html } from 'lit';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { css, html, customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import type { UmbAppErrorElement } from './app-error.element.js';
|
||||
import { UmbAuthFlow } from './auth/index.js';
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { css, html } from 'lit';
|
||||
import { css, html, customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { UmbExtensionInitializer } from './extension.controller.js';
|
||||
import { UmbBackofficeContext, UMB_BACKOFFICE_CONTEXT_TOKEN } from './backoffice.context.js';
|
||||
import { UmbEntryPointExtensionInitializer } from '@umbraco-cms/backoffice/extension-api';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import type { UmbBackofficeElement } from './backoffice.element.js';
|
||||
import './backoffice.element';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { css, CSSResultGroup, html, LitElement } from 'lit';
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
import { css, CSSResultGroup, html, LitElement, customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
@customElement('umb-backoffice-header-apps')
|
||||
export class UmbBackofficeHeaderAppsElement extends LitElement {
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import { css, CSSResultGroup, html } from 'lit';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
import { when } from 'lit/directives/when.js';
|
||||
import { css, CSSResultGroup, html, when, customElement, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UMB_BACKOFFICE_CONTEXT_TOKEN } from '../backoffice.context.js';
|
||||
import type { UmbBackofficeContext } from '../backoffice.context.js';
|
||||
import type { ManifestSection } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { css, CSSResultGroup, html } from 'lit';
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
import { css, CSSResultGroup, html, customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
//import logoImg from '/umbraco_logomark_white.svg';
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { css, html } from 'lit';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
import { css, html, customElement, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbBackofficeContext, UMB_BACKOFFICE_CONTEXT_TOKEN } from '../backoffice.context.js';
|
||||
import { UmbSectionContext, UMB_SECTION_CONTEXT_TOKEN } from '@umbraco-cms/backoffice/section';
|
||||
import type { UmbRoute, UmbRouterSlotChangeEvent } from '@umbraco-cms/backoffice/router';
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
import { css, CSSResultGroup, html } from 'lit';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
||||
import { css, CSSResultGroup, html, customElement, state, unsafeHTML } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import { UmbInstallerContext, UMB_INSTALLER_CONTEXT_TOKEN } from '../installer.context.js';
|
||||
import {
|
||||
ConsentLevelPresentationModel,
|
||||
TelemetryResponseModel,
|
||||
TelemetryLevelModel,
|
||||
} from '@umbraco-cms/backoffice/backend-api';
|
||||
import { UmbInstallerContext, UMB_INSTALLER_CONTEXT_TOKEN } from '../installer.context.js';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
@customElement('umb-installer-consent')
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import { installerContextProvider } from '../shared/utils.story-helpers.js';
|
||||
import type { UmbInstallerConsentElement } from './installer-consent.element.js';
|
||||
|
||||
@@ -1,8 +1,15 @@
|
||||
import { UUIButtonElement } from '@umbraco-ui/uui';
|
||||
import { css, CSSResultGroup, html, nothing } from 'lit';
|
||||
import { customElement, property, query, state } from 'lit/decorators.js';
|
||||
import {
|
||||
css,
|
||||
CSSResultGroup,
|
||||
html,
|
||||
nothing,
|
||||
customElement,
|
||||
property,
|
||||
query,
|
||||
state,
|
||||
} from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import { UmbInstallerContext, UMB_INSTALLER_CONTEXT_TOKEN } from '../installer.context.js';
|
||||
import {
|
||||
ApiError,
|
||||
DatabaseInstallResponseModel,
|
||||
@@ -10,6 +17,7 @@ import {
|
||||
InstallResource,
|
||||
ProblemDetailsModel,
|
||||
} from '@umbraco-cms/backoffice/backend-api';
|
||||
import { UmbInstallerContext, UMB_INSTALLER_CONTEXT_TOKEN } from '../installer.context.js';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
import { tryExecute } from '@umbraco-cms/backoffice/resources';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import './installer-database.element';
|
||||
|
||||
import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
const { rest } = window.MockServiceWorker;
|
||||
|
||||
import { installerContextProvider } from '../shared/utils.story-helpers.js';
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import { css, CSSResultGroup, html, nothing } from 'lit';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
|
||||
import { UmbInstallerContext, UMB_INSTALLER_CONTEXT_TOKEN } from '../installer.context.js';
|
||||
import { css, CSSResultGroup, html, nothing, customElement, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { ProblemDetailsModel } from '@umbraco-cms/backoffice/backend-api';
|
||||
import { UmbInstallerContext, UMB_INSTALLER_CONTEXT_TOKEN } from '../installer.context.js';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
@customElement('umb-installer-error')
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import { installerContextProvider } from '../shared/utils.story-helpers.js';
|
||||
import { UmbInstallerContext } from '../installer.context.js';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { css, CSSResultGroup, html } from 'lit';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
import { css, CSSResultGroup, html, customElement, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbInstallerContext, UMB_INSTALLER_CONTEXT_TOKEN } from './installer.context.js';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import '.';
|
||||
|
||||
|
||||
@@ -1,17 +1,14 @@
|
||||
import { css, CSSResultGroup, html, LitElement } from 'lit';
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
import { css, CSSResultGroup, html, LitElement, customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
@customElement('umb-installer-installing')
|
||||
export class UmbInstallerInstallingElement extends LitElement {
|
||||
|
||||
|
||||
render() {
|
||||
return html` <div class="uui-text" data-test="installer-installing">
|
||||
<h1 class="uui-h3">Installing Umbraco</h1>
|
||||
<uui-loader-bar></uui-loader-bar>
|
||||
</div>`;
|
||||
}
|
||||
|
||||
|
||||
static styles: CSSResultGroup = [
|
||||
css`
|
||||
h1 {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import { installerContextProvider } from '../shared/utils.story-helpers.js';
|
||||
import type { UmbInstallerInstallingElement } from './installer-installing.element.js';
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
import { css, CSSResultGroup, html, LitElement, unsafeCSS } from 'lit';
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
import { css, CSSResultGroup, html, LitElement, unsafeCSS, customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
import logoImg from '/umbraco_logomark_white.svg';
|
||||
import installerImg from '/installer.jpg';
|
||||
|
||||
@customElement('umb-installer-layout')
|
||||
export class UmbInstallerLayoutElement extends LitElement {
|
||||
|
||||
|
||||
render() {
|
||||
return html`<div>
|
||||
<div id="background" aria-hidden="true"></div>
|
||||
@@ -22,7 +19,7 @@ export class UmbInstallerLayoutElement extends LitElement {
|
||||
</main>
|
||||
</div>`;
|
||||
}
|
||||
|
||||
|
||||
static styles: CSSResultGroup = [
|
||||
css`
|
||||
#background {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import type { UmbInstallerLayoutElement } from './installer-layout.element.js';
|
||||
import './installer-layout.element';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbInstallerContext } from '../installer.context.js';
|
||||
|
||||
export const installerContextProvider = (story: any, installerContext = new UmbInstallerContext()) => html`
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { css, CSSResultGroup, html } from 'lit';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
import { css, CSSResultGroup, html, customElement, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbInstallerContext, UMB_INSTALLER_CONTEXT_TOKEN } from '../installer.context.js';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import { installerContextProvider } from '../shared/utils.story-helpers.js';
|
||||
import type { UmbInstallerUserElement } from './installer-user.element.js';
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
import { css, CSSResultGroup, html, LitElement } from 'lit';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import {
|
||||
css,
|
||||
CSSResultGroup,
|
||||
html,
|
||||
LitElement,
|
||||
customElement,
|
||||
property,
|
||||
ifDefined,
|
||||
} from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UpgradeSettingsResponseModel } from '@umbraco-cms/backoffice/backend-api';
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { html } from 'lit';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
import { html, customElement, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UpgradeResource, UpgradeSettingsResponseModel, ApiError } from '@umbraco-cms/backoffice/backend-api';
|
||||
import { tryExecute } from '@umbraco-cms/backoffice/resources';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import './upgrader-view.element';
|
||||
|
||||
import type { Meta, StoryObj } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import type { UmbUpgraderViewElement } from './upgrader-view.element.js';
|
||||
|
||||
|
||||
@@ -104,8 +104,7 @@ Then go to the element located in `src/my-element.ts` and replace it with the fo
|
||||
|
||||
```typescript
|
||||
// src/my-element.ts
|
||||
import { LitElement, html } from 'lit';
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
import { LitElement, html, customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbElementMixin } from '@umbraco-cms/backoffice/element-api';
|
||||
import { UmbNotificationContext, UMB_NOTIFICATION_CONTEXT_TOKEN } from '@umbraco-cms/backoffice/notification';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
import { customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbContextConsumerController } from '../consume/context-consumer.controller.js';
|
||||
import { UmbContextProviderElement } from './context-provider.element.js';
|
||||
import { UmbControllerHostMixin } from '@umbraco-cms/backoffice/controller-api';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
import { customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbControllerHostInitializerElement } from './controller-host-initializer.element.js';
|
||||
import { UmbControllerHostElement, UmbControllerHostMixin } from './controller-host.mixin.js';
|
||||
import { UmbContextConsumerController, UmbContextProviderController } from '@umbraco-cms/backoffice/context-api';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { expect } from '@open-wc/testing';
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
import { customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbControllerHostElement, UmbControllerHostMixin } from './controller-host.mixin.js';
|
||||
import { UmbContextProviderController } from '@umbraco-cms/backoffice/context-api';
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, html, nothing } from 'lit';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
import { css, html, nothing, customElement, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { map } from '@umbraco-cms/backoffice/external/rxjs';
|
||||
import { UMB_COLLECTION_CONTEXT_TOKEN, UmbCollectionContext } from '@umbraco-cms/backoffice/collection';
|
||||
import { ManifestEntityBulkAction, umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, html, nothing } from 'lit';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import { css, html, nothing, customElement, property, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { map } from '@umbraco-cms/backoffice/external/rxjs';
|
||||
import type { TooltipMenuItem } from '../components/tooltip-menu/index.js';
|
||||
import { ManifestCollectionView, umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, html, nothing } from 'lit';
|
||||
import { customElement, state, property } from 'lit/decorators.js';
|
||||
import { css, html, nothing, customElement, state, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { map } from '@umbraco-cms/backoffice/external/rxjs';
|
||||
import { UmbCollectionContext, UMB_COLLECTION_CONTEXT_TOKEN } from '@umbraco-cms/backoffice/collection';
|
||||
import { createExtensionElement } from '@umbraco-cms/backoffice/extension-api';
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, html } from 'lit';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import { css, html, customElement, state, ifDefined } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UMB_COLLECTION_CONTEXT_TOKEN, UmbCollectionContext } from '@umbraco-cms/backoffice/collection';
|
||||
import type { ManifestDashboardCollection } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { FolderTreeItemResponseModel } from '@umbraco-cms/backoffice/backend-api';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import type { UmbDashboardCollectionElement } from './dashboard-collection.element.js';
|
||||
import './dashboard-collection.element';
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, CSSResultGroup, html } from 'lit';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
import { repeat } from 'lit/directives/repeat.js';
|
||||
import { css, CSSResultGroup, html, repeat, customElement, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbModalHandler, UmbModalContext, UMB_MODAL_CONTEXT_TOKEN } from '@umbraco-cms/backoffice/modal';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, CSSResultGroup, html } from 'lit';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
import { repeat } from 'lit/directives/repeat.js';
|
||||
import { css, CSSResultGroup, html, customElement, state, repeat } from '@umbraco-cms/backoffice/external/lit';
|
||||
import {
|
||||
UmbNotificationHandler,
|
||||
UmbNotificationContext,
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { css, html, LitElement, nothing } from 'lit';
|
||||
import { css, html, LitElement, nothing, customElement, property, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
|
||||
/**
|
||||
* @element umb-body-layout
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta, StoryObj } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import './body-layout.element';
|
||||
import type { UmbBodyLayoutElement } from './body-layout.element.js';
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, html, LitElement } from 'lit';
|
||||
import { customElement, property, query } from 'lit/decorators.js';
|
||||
import { css, html, LitElement, customElement, property, query } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { PopoverPlacement, UUIPopoverElement, UUISymbolExpandElement } from '@umbraco-ui/uui';
|
||||
import { InterfaceColor, InterfaceLook } from '@umbraco-ui/uui-base/lib/types';
|
||||
|
||||
@@ -8,7 +7,6 @@ import { InterfaceColor, InterfaceLook } from '@umbraco-ui/uui-base/lib/types';
|
||||
// TODO: consider not using this, but instead use dropdown, which is more generic shared component of backoffice. (this is at the movement only used in Log Viewer)
|
||||
@customElement('umb-button-with-dropdown')
|
||||
export class UmbButtonWithDropdownElement extends LitElement {
|
||||
|
||||
@property()
|
||||
label = '';
|
||||
|
||||
@@ -69,7 +67,7 @@ export class UmbButtonWithDropdownElement extends LitElement {
|
||||
</uui-popover>
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
static styles = [
|
||||
UUITextStyles,
|
||||
css`
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbButtonWithDropdownElement } from './button-with-dropdown.element.js';
|
||||
|
||||
export default {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, html, LitElement } from 'lit';
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
import { css, html, LitElement, customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
/**
|
||||
* A simple styled box for showing code-based error messages.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta, StoryObj } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import './code-block.element';
|
||||
import type { UmbCodeBlockElement } from './code-block.element.js';
|
||||
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
import { css, html, PropertyValues } from 'lit';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { createRef, Ref, ref } from 'lit/directives/ref.js';
|
||||
import {
|
||||
css,
|
||||
html,
|
||||
PropertyValues,
|
||||
createRef,
|
||||
Ref,
|
||||
ref,
|
||||
customElement,
|
||||
property,
|
||||
} from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UMB_THEME_CONTEXT_TOKEN } from '../../../settings/themes/theme.context.js';
|
||||
import { UmbCodeEditorController } from './code-editor.controller.js';
|
||||
import { CodeEditorLanguage, CodeEditorTheme, UmbCodeEditorHost } from './code-editor.model.js';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta, StoryObj } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbCodeEditorElement } from './code-editor.element.js';
|
||||
import { CodeEditorLanguage, CodeEditorTheme } from './code-editor.model.js';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { css, unsafeCSS } from 'lit';
|
||||
import { css, unsafeCSS } from '@umbraco-cms/backoffice/external/lit';
|
||||
import styles from 'monaco-editor/min/vs/editor/editor.main.css?inline';
|
||||
|
||||
export const monacoEditorStyles = css`
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { css, html } from 'lit';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import { css, html, ifDefined, customElement, property, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import {} from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import {} from '@umbraco-cms/backoffice/external/lit';
|
||||
import { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';
|
||||
import type { UUIInputEvent } from '@umbraco-ui/uui';
|
||||
import { UmbConfigRepository } from '../../repositories/config/config.repository.js';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta, StoryObj } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import './date-input.element';
|
||||
import type { UmbDateInputElement } from './date-input.element.js';
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, html, nothing } from 'lit';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { css, html, nothing, customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
// TODO: maybe move this to UI Library.
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, html, LitElement } from 'lit';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { css, html, LitElement, customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
@customElement('umb-empty-state')
|
||||
export class UmbEmptyStateElement extends LitElement {
|
||||
|
||||
|
||||
/**
|
||||
* Set the text size
|
||||
*/
|
||||
@@ -23,7 +20,7 @@ export class UmbEmptyStateElement extends LitElement {
|
||||
render() {
|
||||
return html`<slot></slot>`;
|
||||
}
|
||||
|
||||
|
||||
static styles = [
|
||||
UUITextStyles,
|
||||
css`
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta, StoryObj } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import './empty-state.element';
|
||||
import type { UmbEmptyStateElement } from './empty-state.element.js';
|
||||
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { css, nothing } from 'lit';
|
||||
import type { TemplateResult } from 'lit';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import {
|
||||
css,
|
||||
nothing,
|
||||
repeat,
|
||||
TemplateResult,
|
||||
customElement,
|
||||
property,
|
||||
state,
|
||||
} from '@umbraco-cms/backoffice/external/lit';
|
||||
import { map } from '@umbraco-cms/backoffice/external/rxjs';
|
||||
import { repeat } from 'lit/directives/repeat.js';
|
||||
import { createExtensionElement, isManifestElementableType } from '@umbraco-cms/backoffice/extension-api';
|
||||
import { umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
import { customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { expect, fixture, html } from '@open-wc/testing';
|
||||
import { InitializedExtension, UmbExtensionSlotElement } from './extension-slot.element.js';
|
||||
import { ManifestDashboard, umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { css, html, LitElement } from 'lit';
|
||||
import { css, html, LitElement, customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
|
||||
/**
|
||||
* @element umb-footer-layout
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import './footer-layout.element';
|
||||
|
||||
import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import type { UmbFooterLayoutElement } from './footer-layout.element.js';
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, CSSResultGroup, html, LitElement } from 'lit';
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import { css, CSSResultGroup, html, LitElement, customElement, ifDefined } from '@umbraco-cms/backoffice/external/lit';
|
||||
import {
|
||||
ManifestHeaderAppButtonKind,
|
||||
UmbBackofficeManifestKind,
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { css, html } from 'lit';
|
||||
import { css, html, customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
@customElement('umb-history-item')
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { css, html } from 'lit';
|
||||
import { css, html, customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
@customElement('umb-history-list')
|
||||
|
||||
@@ -2,7 +2,7 @@ import './history-list.element';
|
||||
import './history-item.element';
|
||||
|
||||
import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import type { UmbHistoryListElement } from './history-list.element.js';
|
||||
import type { UmbHistoryItemElement } from './history-item.element.js';
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import { css, html, nothing } from 'lit';
|
||||
import { css, html, nothing, repeat, customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';
|
||||
import { repeat } from 'lit/directives/repeat.js';
|
||||
import { UUIBooleanInputEvent } from '@umbraco-ui/uui';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { html } from 'lit';
|
||||
import { html, customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';
|
||||
import { UUIColorSwatchesEvent } from '@umbraco-ui/uui';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { css, html } from 'lit';
|
||||
import { css, html, customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';
|
||||
import { UUIColorPickerChangeEvent } from '@umbraco-ui/uui';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { html } from 'lit';
|
||||
import { property } from 'lit/decorators.js';
|
||||
import { html, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import type { UUIModalSidebarSize } from '@umbraco-ui/uui';
|
||||
import {
|
||||
UmbModalContext,
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { css, html } from 'lit';
|
||||
import { css, html, customElement, property, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';
|
||||
import type { UUIModalSidebarSize } from '@umbraco-ui/uui';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { css, html } from 'lit';
|
||||
import { css, html, customElement, property, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import { css, html, nothing } from 'lit';
|
||||
import { css, html, nothing, repeat, customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';
|
||||
import { repeat } from 'lit/directives/repeat.js';
|
||||
import { UUIBooleanInputEvent } from '@umbraco-ui/uui';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, html, nothing } from 'lit';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
import { css, html, nothing, customElement, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbInputListBaseElement } from '../input-list-base/input-list-base.js';
|
||||
import { UMB_SECTION_PICKER_MODAL } from '@umbraco-cms/backoffice/modal';
|
||||
import { ManifestSection, umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { css, html } from 'lit';
|
||||
import { css, html, customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';
|
||||
import { UUISliderEvent } from '@umbraco-ui/uui';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { css, html } from 'lit';
|
||||
import { css, html, customElement, property, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';
|
||||
import { UUIBooleanInputEvent } from '@umbraco-ui/uui';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import { css, html, nothing } from 'lit';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { until } from 'lit/directives/until.js';
|
||||
import { css, html, nothing, until, customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
type FileItem = {
|
||||
|
||||
@@ -1,9 +1,16 @@
|
||||
import { css, html, nothing } from 'lit';
|
||||
import {
|
||||
css,
|
||||
html,
|
||||
nothing,
|
||||
map,
|
||||
ifDefined,
|
||||
customElement,
|
||||
property,
|
||||
query,
|
||||
state,
|
||||
} from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property, query, state } from 'lit/decorators.js';
|
||||
import { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import { map } from 'lit/directives/map.js';
|
||||
import type { UUIFileDropzoneElement, UUIFileDropzoneEvent } from '@umbraco-ui/uui';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import { html } from 'lit';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import { html, customElement, property, state, ifDefined } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import {
|
||||
PropertyEditorConfigDefaultData,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import type { UmbPropertyEditorConfigElement } from './property-editor-config.element.js';
|
||||
import './property-editor-config.element';
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, html } from 'lit';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import { css, html, ifDefined, customElement, property, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbDataTypeRepository } from '@umbraco-cms/backoffice/data-type';
|
||||
import { UmbDocumentWorkspaceContext } from '@umbraco-cms/backoffice/document';
|
||||
import type { UmbVariantId } from '@umbraco-cms/backoffice/variant';
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { UUIRefNodeElement } from '@umbraco-ui/uui';
|
||||
import { html } from 'lit';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { html, customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
/**
|
||||
* @element umb-ref-property-editor-ui
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Meta, StoryObj } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import './ref-property-editor-ui.element';
|
||||
import type { UmbRefPropertyEditorUIElement } from './ref-property-editor-ui.element.js';
|
||||
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, html, LitElement } from 'lit';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import { when } from 'lit/directives/when.js';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import { repeat } from 'lit/directives/repeat.js';
|
||||
import {
|
||||
css,
|
||||
html,
|
||||
LitElement,
|
||||
ifDefined,
|
||||
when,
|
||||
customElement,
|
||||
property,
|
||||
state,
|
||||
repeat,
|
||||
} from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
// TODO: move to UI Library - entity actions should NOT be moved to UI Library but stay in an UmbTable element
|
||||
export interface UmbTableItem {
|
||||
@@ -59,8 +65,6 @@ export class UmbTableOrderedEvent extends Event {
|
||||
*/
|
||||
@customElement('umb-table')
|
||||
export class UmbTableElement extends LitElement {
|
||||
|
||||
|
||||
/**
|
||||
* Table Items
|
||||
* @type {Array<UmbTableItem>}
|
||||
@@ -242,7 +246,7 @@ export class UmbTableElement extends LitElement {
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
static styles = [
|
||||
UUITextStyles,
|
||||
css`
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, html, LitElement, nothing } from 'lit';
|
||||
import { repeat } from 'lit/directives/repeat.js';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { css, html, LitElement, nothing, repeat, customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
export interface TooltipMenuItem {
|
||||
label: string;
|
||||
@@ -11,8 +9,6 @@ export interface TooltipMenuItem {
|
||||
|
||||
@customElement('umb-tooltip-menu')
|
||||
export class UmbTooltipMenuElement extends LitElement {
|
||||
|
||||
|
||||
@property({ type: Boolean, reflect: true, attribute: 'icon-only' })
|
||||
public iconOnly = false;
|
||||
|
||||
@@ -55,7 +51,7 @@ export class UmbTooltipMenuElement extends LitElement {
|
||||
(item) => this._renderItem(item)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
static styles = [
|
||||
UUITextStyles,
|
||||
css`
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, html, nothing } from 'lit';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import { css, html, nothing, customElement, property, state, ifDefined } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUIInputElement, UUIInputEvent } from '@umbraco-ui/uui';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import {
|
||||
UmbWorkspaceVariantContext,
|
||||
UMB_WORKSPACE_VARIANT_CONTEXT_TOKEN,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, html, nothing, TemplateResult } from 'lit';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import { css, html, nothing, TemplateResult } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { customElement, property, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import {
|
||||
contextData,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { css, html } from 'lit';
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
import { css, html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { customElement } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { UmbContextDebuggerModalData } from '@umbraco-cms/backoffice/modal';
|
||||
import { UmbModalBaseElement } from '@umbraco-cms/internal/modal';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { html } from 'lit';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { customElement, property, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { map } from '@umbraco-cms/backoffice/external/rxjs';
|
||||
import { ManifestEntityAction, umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { html, nothing } from 'lit';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import { html, nothing } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { ifDefined } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUIMenuItemEvent } from '@umbraco-ui/uui';
|
||||
import { UmbExecutedEvent } from '@umbraco-cms/backoffice/events';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { html } from 'lit';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { ifDefined } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbEntityBulkAction } from './entity-bulk-action.js';
|
||||
import { UmbExecutedEvent } from '@umbraco-cms/backoffice/events';
|
||||
import { ManifestEntityBulkAction } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { css, html, nothing } from 'lit';
|
||||
import { css, html, nothing } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import { customElement, property, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { ifDefined } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { map } from '@umbraco-cms/backoffice/external/rxjs';
|
||||
import {
|
||||
UmbSectionSidebarContext,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import { customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { ifDefined } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
import type { ManifestMenuItem, UmbMenuItemExtensionElement } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { html } from 'lit';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { ManifestMenu, ManifestMenuItem } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property } from 'lit/decorators.js';
|
||||
import { customElement, property } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbConfirmModalData, UmbConfirmModalResult, UmbModalHandler } from '@umbraco-cms/backoffice/modal';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import './confirm-modal.element';
|
||||
|
||||
import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import type { UmbConfirmModalElement } from './confirm-modal.element.js';
|
||||
import type { UmbConfirmModalData } from '@umbraco-cms/backoffice/modal';
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import { css, html } from 'lit';
|
||||
import { css, html, unsafeHTML, when, customElement, property, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import { when } from 'lit-html/directives/when.js';
|
||||
import { unsafeHTML } from 'lit-html/directives/unsafe-html.js';
|
||||
import {
|
||||
OEmbedResult,
|
||||
OEmbedStatus,
|
||||
|
||||
@@ -2,7 +2,7 @@ import '../../../components/body-layout/body-layout.element';
|
||||
import './embedded-media-modal.element';
|
||||
|
||||
import { Meta } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbEmbeddedMediaModalData } from '@umbraco-cms/backoffice/modal';
|
||||
|
||||
export default {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { css, html } from 'lit';
|
||||
import { css, html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, property, query, state } from 'lit/decorators.js';
|
||||
import { customElement, property, query, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbFolderModalData, UmbFolderModalResult, UmbModalHandler } from '@umbraco-cms/backoffice/modal';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
import { UmbFolderRepository } from '@umbraco-cms/backoffice/repository';
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import type { UUIColorSwatchesEvent } from '@umbraco-ui/uui';
|
||||
|
||||
import { css, html } from 'lit';
|
||||
import { css, html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
import { styleMap } from 'lit/directives/style-map.js';
|
||||
import { customElement, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { styleMap } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import icons from '../../../../../../public-assets/icons/icons.json';
|
||||
import { UmbIconPickerModalData, UmbIconPickerModalResult } from '@umbraco-cms/backoffice/modal';
|
||||
|
||||
@@ -2,7 +2,7 @@ import '../../../components/body-layout/body-layout.element';
|
||||
import './icon-picker-modal.element';
|
||||
|
||||
import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import type { UmbIconPickerModalElement } from './icon-picker-modal.element.js';
|
||||
import { UmbIconPickerModalData } from '@umbraco-cms/backoffice/modal';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { css, html, nothing } from 'lit';
|
||||
import { css, html, nothing } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, query, state } from 'lit/decorators.js';
|
||||
import { customElement, query, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUIBooleanInputEvent, UUIInputElement } from '@umbraco-ui/uui';
|
||||
import { UmbTreeElement } from '../../../tree/tree.element.js';
|
||||
import {
|
||||
|
||||
@@ -2,7 +2,7 @@ import '../../../components/body-layout/body-layout.element';
|
||||
import './link-picker-modal.element';
|
||||
|
||||
import { Meta, Story } from '@storybook/web-components';
|
||||
import { html } from 'lit';
|
||||
import { html } from '@umbraco-cms/backoffice/external/lit';
|
||||
|
||||
import type { UmbLinkPickerModalElement } from './link-picker-modal.element.js';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { UUIBooleanInputEvent, UUIInputEvent, UUISelectEvent } from '@umbraco-ui/uui';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { PropertyValueMap, css, html, nothing } from 'lit';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
import { PropertyValueMap, css, html, nothing } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { customElement, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbModalBaseElement } from '@umbraco-cms/internal/modal';
|
||||
import { UmbPropertySettingsModalResult, UmbPropertySettingsModalData } from '@umbraco-cms/backoffice/modal';
|
||||
import { generateAlias } from '@umbraco-cms/backoffice/utils';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { css, html } from 'lit';
|
||||
import { customElement, state } from 'lit/decorators.js';
|
||||
import { css, html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { customElement, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbSelectionManagerBase } from '@umbraco-cms/backoffice/utils';
|
||||
import { UmbModalBaseElement } from '@umbraco-cms/internal/modal';
|
||||
import { ManifestSection, umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { css, html } from 'lit';
|
||||
import { css, html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css';
|
||||
import { customElement, query, state } from 'lit/decorators.js';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import { customElement, query, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { ifDefined } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUIInputEvent } from '@umbraco-ui/uui';
|
||||
import { UmbCodeEditor } from '../../../components/code-editor/index.js';
|
||||
import { UmbTemplateModalData, UmbTemplateModalResult } from '@umbraco-cms/backoffice/modal';
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user