V14: Login updates (#16359)
* switch logos around to support new login image * add new login image * update npm dependencies * chore: compress the image further
This commit is contained in:
@@ -20,8 +20,8 @@ public class ContentSettings
|
||||
internal const string StaticDisallowedUploadFiles = "ashx,aspx,ascx,config,cshtml,vbhtml,asmx,air,axd,xamlx";
|
||||
internal const bool StaticShowDeprecatedPropertyEditors = false;
|
||||
internal const string StaticLoginBackgroundImage = "login/login.jpg";
|
||||
internal const string StaticLoginLogoImage = "login/logo_dark.svg";
|
||||
internal const string StaticLoginLogoImageAlternative = "login/logo_light.svg";
|
||||
internal const string StaticLoginLogoImage = "login/logo_light.svg";
|
||||
internal const string StaticLoginLogoImageAlternative = "login/logo_dark.svg";
|
||||
internal const bool StaticHideBackOfficeLogo = false;
|
||||
internal const bool StaticDisableDeleteWhenReferenced = false;
|
||||
internal const bool StaticDisableUnpublishWhenReferenced = false;
|
||||
@@ -80,8 +80,8 @@ public class ContentSettings
|
||||
/// of a light background (e.g. in mobile resolutions).
|
||||
/// </summary>
|
||||
/// <remarks>This is the alternative version to the regular logo found at <see cref="LoginLogoImage"/>.</remarks>
|
||||
[DefaultValue(StaticLoginLogoImage)]
|
||||
public string LoginLogoImageAlternative { get; set; } = StaticLoginLogoImage;
|
||||
[DefaultValue(StaticLoginLogoImageAlternative)]
|
||||
public string LoginLogoImageAlternative { get; set; } = StaticLoginLogoImageAlternative;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether to hide the backoffice umbraco logo or not.
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
</div>
|
||||
</noscript>
|
||||
<umb-auth
|
||||
logo-image="/logo_dark.svg"
|
||||
logo-image="/logo_light.svg"
|
||||
logo-image-alternative="/logo_dark.svg"
|
||||
background-image="/login.jpg"
|
||||
username-is-email="true"
|
||||
|
||||
53
src/Umbraco.Web.UI.Login/package-lock.json
generated
53
src/Umbraco.Web.UI.Login/package-lock.json
generated
@@ -8,9 +8,9 @@
|
||||
"devDependencies": {
|
||||
"@umbraco-cms/backoffice": "file:../Umbraco.Web.UI.Client",
|
||||
"@umbraco-ui/uui-css": "^1.8.0-rc.0",
|
||||
"msw": "^2.2.13",
|
||||
"typescript": "^5.3.3",
|
||||
"vite": "^5.2.2",
|
||||
"msw": "^2.3.0",
|
||||
"typescript": "^5.4.5",
|
||||
"vite": "^5.2.11",
|
||||
"vite-tsconfig-paths": "^4.3.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -19,6 +19,7 @@
|
||||
}
|
||||
},
|
||||
"../Umbraco.Web.UI.Client": {
|
||||
"name": "@umbraco-cms/backoffice",
|
||||
"version": "14.0.0-rc2",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
@@ -30,7 +31,7 @@
|
||||
"@umbraco-ui/uui-css": "1.8.0-rc.0",
|
||||
"base64-js": "^1.5.1",
|
||||
"diff": "^5.2.0",
|
||||
"dompurify": "^3.0.9",
|
||||
"dompurify": "^3.1.4",
|
||||
"element-internals-polyfill": "^1.3.10",
|
||||
"lit": "^3.1.2",
|
||||
"marked": "^12.0.0",
|
||||
@@ -59,7 +60,7 @@
|
||||
"@storybook/web-components-vite": "^7.6.17",
|
||||
"@types/chai": "^4.3.5",
|
||||
"@types/mocha": "^10.0.1",
|
||||
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
||||
"@typescript-eslint/parser": "^7.1.0",
|
||||
"@web/dev-server-esbuild": "^1.0.2",
|
||||
"@web/dev-server-import-maps": "^0.2.0",
|
||||
@@ -93,7 +94,7 @@
|
||||
"tiny-glob": "^0.2.9",
|
||||
"tsc-alias": "^1.8.8",
|
||||
"typedoc": "^0.25.10",
|
||||
"typescript": "^5.3.3",
|
||||
"typescript": "^5.4.5",
|
||||
"typescript-json-schema": "^0.63.0",
|
||||
"vite": "^5.2.9",
|
||||
"vite-plugin-static-copy": "^1.0.2",
|
||||
@@ -579,9 +580,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@mswjs/interceptors": {
|
||||
"version": "0.26.15",
|
||||
"resolved": "https://registry.npmjs.org/@mswjs/interceptors/-/interceptors-0.26.15.tgz",
|
||||
"integrity": "sha512-HM47Lu1YFmnYHKMBynFfjCp0U/yRskHj/8QEJW0CBEPOlw8Gkmjfll+S9b8M7V5CNDw2/ciRxjjnWeaCiblSIQ==",
|
||||
"version": "0.29.1",
|
||||
"resolved": "https://registry.npmjs.org/@mswjs/interceptors/-/interceptors-0.29.1.tgz",
|
||||
"integrity": "sha512-3rDakgJZ77+RiQUuSK69t1F0m8BQKA8Vh5DCS5V0DWvNY67zob2JhhQrhCO0AKLGINTRSFd1tBaHcJTkhefoSw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@open-draft/deferred-promise": "^2.2.0",
|
||||
@@ -1180,9 +1181,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/msw": {
|
||||
"version": "2.2.13",
|
||||
"resolved": "https://registry.npmjs.org/msw/-/msw-2.2.13.tgz",
|
||||
"integrity": "sha512-ljFf1xZsU0b4zv1l7xzEmC6OZA6yD06hcx0H+dc8V0VypaP3HGYJa1rMLjQbBWl32ptGhcfwcPCWDB1wjmsftw==",
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmjs.org/msw/-/msw-2.3.0.tgz",
|
||||
"integrity": "sha512-cDr1q/QTMzaWhY8n9lpGhceY209k29UZtdTgJ3P8Bzne3TSMchX2EM/ldvn4ATLOktpCefCU2gcEgzHc31GTPw==",
|
||||
"dev": true,
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
@@ -1190,7 +1191,7 @@
|
||||
"@bundled-es-modules/statuses": "^1.0.1",
|
||||
"@inquirer/confirm": "^3.0.0",
|
||||
"@mswjs/cookies": "^1.1.0",
|
||||
"@mswjs/interceptors": "^0.26.14",
|
||||
"@mswjs/interceptors": "^0.29.0",
|
||||
"@open-draft/until": "^2.1.0",
|
||||
"@types/cookie": "^0.6.0",
|
||||
"@types/statuses": "^2.0.4",
|
||||
@@ -1262,15 +1263,15 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/picocolors": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
||||
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz",
|
||||
"integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/postcss": {
|
||||
"version": "8.4.37",
|
||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.37.tgz",
|
||||
"integrity": "sha512-7iB/v/r7Woof0glKLH8b1SPHrsX7uhdO+Geb41QpF/+mWZHU3uxxSlN+UXGVit1PawOYDToO+AbZzhBzWRDwbQ==",
|
||||
"version": "8.4.38",
|
||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz",
|
||||
"integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
@@ -1452,9 +1453,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "5.3.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz",
|
||||
"integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==",
|
||||
"version": "5.4.5",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz",
|
||||
"integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
@@ -1471,13 +1472,13 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/vite": {
|
||||
"version": "5.2.2",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-5.2.2.tgz",
|
||||
"integrity": "sha512-FWZbz0oSdLq5snUI0b6sULbz58iXFXdvkZfZWR/F0ZJuKTSPO7v72QPXt6KqYeMFb0yytNp6kZosxJ96Nr/wDQ==",
|
||||
"version": "5.2.11",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-5.2.11.tgz",
|
||||
"integrity": "sha512-HndV31LWW05i1BLPMUCE1B9E9GFbOu1MbenhS58FuK6owSO5qHm7GiCotrNY1YE5rMeQSFBGmT5ZaLEjFizgiQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"esbuild": "^0.20.1",
|
||||
"postcss": "^8.4.36",
|
||||
"postcss": "^8.4.38",
|
||||
"rollup": "^4.13.0"
|
||||
},
|
||||
"bin": {
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
"devDependencies": {
|
||||
"@umbraco-cms/backoffice": "file:../Umbraco.Web.UI.Client",
|
||||
"@umbraco-ui/uui-css": "^1.8.0-rc.0",
|
||||
"msw": "^2.2.13",
|
||||
"typescript": "^5.3.3",
|
||||
"vite": "^5.2.2",
|
||||
"msw": "^2.3.0",
|
||||
"typescript": "^5.4.5",
|
||||
"vite": "^5.2.11",
|
||||
"vite-tsconfig-paths": "^4.3.2"
|
||||
},
|
||||
"msw": {
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 559 KiB After Width: | Height: | Size: 287 KiB |
@@ -8,7 +8,7 @@
|
||||
* - Please do NOT serve this file on production.
|
||||
*/
|
||||
|
||||
const PACKAGE_VERSION = '2.2.13'
|
||||
const PACKAGE_VERSION = '2.3.0'
|
||||
const INTEGRITY_CHECKSUM = '26357c79639bfa20d64c0efca2a87423'
|
||||
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
|
||||
const activeClientIds = new Set()
|
||||
|
||||
Reference in New Issue
Block a user