diff --git a/docs/V5/_content/BlazorStrap/blazorstrap.js b/docs/V5/_content/BlazorStrap/blazorstrap.js index cf2b74d9..c618d4bf 100644 --- a/docs/V5/_content/BlazorStrap/blazorstrap.js +++ b/docs/V5/_content/BlazorStrap/blazorstrap.js @@ -12,8 +12,10 @@ window.blazorStrap = { if (blazorStrap.EventHandlers[id] === undefined) { blazorStrap.EventHandlers[id] = {}; } - blazorStrap.EventHandlers[id][name] = { - [type]: { + if(blazorStrap.EventHandlers[id][name] === undefined) { + blazorStrap.EventHandlers[id][name] = {}; + } + blazorStrap.EventHandlers[id][name][type] = { Callback: function (event) { if (name === "documentDropdown") { let parent = document.querySelector("[data-blazorstrap='" + id + "']"); @@ -41,7 +43,7 @@ window.blazorStrap = { } } } - } + element.addEventListener(type, blazorStrap.EventHandlers[id][name][type].Callback, false); resolve(); @@ -212,6 +214,11 @@ window.blazorStrap = { resolve(element.offsetHeight); }); }, + GetInnerHeight: async function () { + return new Promise(function (resolve) { + resolve(window.innerHeight); + }); + }, SetBodyStyle: async function (style, value) { return new Promise(function (resolve) { document.body.style[style] = value; diff --git a/docs/V5/_framework/BlazorStrap-Docs.dll b/docs/V5/_framework/BlazorStrap-Docs.dll index 6eb0fd0c..e95f9376 100644 Binary files a/docs/V5/_framework/BlazorStrap-Docs.dll and b/docs/V5/_framework/BlazorStrap-Docs.dll differ diff --git a/docs/V5/_framework/BlazorStrap-Docs.dll.br b/docs/V5/_framework/BlazorStrap-Docs.dll.br index 1b7e7109..e50f3341 100644 Binary files a/docs/V5/_framework/BlazorStrap-Docs.dll.br and b/docs/V5/_framework/BlazorStrap-Docs.dll.br differ diff --git a/docs/V5/_framework/BlazorStrap-Docs.dll.gz b/docs/V5/_framework/BlazorStrap-Docs.dll.gz index 12953b93..4525de83 100644 Binary files a/docs/V5/_framework/BlazorStrap-Docs.dll.gz and b/docs/V5/_framework/BlazorStrap-Docs.dll.gz differ diff --git a/docs/V5/_framework/BlazorStrap-Docs.pdb.gz b/docs/V5/_framework/BlazorStrap-Docs.pdb.gz index dc8b153b..f73734f2 100644 Binary files a/docs/V5/_framework/BlazorStrap-Docs.pdb.gz and b/docs/V5/_framework/BlazorStrap-Docs.pdb.gz differ diff --git a/docs/V5/_framework/BlazorStrap.WASM.dll b/docs/V5/_framework/BlazorStrap.WASM.dll index 4e8e9de3..91be8ab1 100644 Binary files a/docs/V5/_framework/BlazorStrap.WASM.dll and b/docs/V5/_framework/BlazorStrap.WASM.dll differ diff --git a/docs/V5/_framework/BlazorStrap.WASM.dll.br b/docs/V5/_framework/BlazorStrap.WASM.dll.br index 39a6c98c..e4733a01 100644 Binary files a/docs/V5/_framework/BlazorStrap.WASM.dll.br and b/docs/V5/_framework/BlazorStrap.WASM.dll.br differ diff --git a/docs/V5/_framework/BlazorStrap.WASM.dll.gz b/docs/V5/_framework/BlazorStrap.WASM.dll.gz index d70a41ed..83c2e6d7 100644 Binary files a/docs/V5/_framework/BlazorStrap.WASM.dll.gz and b/docs/V5/_framework/BlazorStrap.WASM.dll.gz differ diff --git a/docs/V5/_framework/BlazorStrap.WASM.pdb.gz b/docs/V5/_framework/BlazorStrap.WASM.pdb.gz index c6a78e6b..3475d893 100644 Binary files a/docs/V5/_framework/BlazorStrap.WASM.pdb.gz and b/docs/V5/_framework/BlazorStrap.WASM.pdb.gz differ diff --git a/docs/V5/_framework/BlazorStrap.dll b/docs/V5/_framework/BlazorStrap.dll index d93435b8..369e1c20 100644 Binary files a/docs/V5/_framework/BlazorStrap.dll and b/docs/V5/_framework/BlazorStrap.dll differ diff --git a/docs/V5/_framework/BlazorStrap.dll.br b/docs/V5/_framework/BlazorStrap.dll.br index 16b928ec..49a9137e 100644 Binary files a/docs/V5/_framework/BlazorStrap.dll.br and b/docs/V5/_framework/BlazorStrap.dll.br differ diff --git a/docs/V5/_framework/BlazorStrap.dll.gz b/docs/V5/_framework/BlazorStrap.dll.gz index e7ee7b6e..1f254dd8 100644 Binary files a/docs/V5/_framework/BlazorStrap.dll.gz and b/docs/V5/_framework/BlazorStrap.dll.gz differ diff --git a/docs/V5/_framework/BlazorStrap.pdb.gz b/docs/V5/_framework/BlazorStrap.pdb.gz index 06e4db5d..9d687d48 100644 Binary files a/docs/V5/_framework/BlazorStrap.pdb.gz and b/docs/V5/_framework/BlazorStrap.pdb.gz differ diff --git a/docs/V5/_framework/System.Console.dll b/docs/V5/_framework/System.Console.dll index 139a6d9b..af22f420 100644 Binary files a/docs/V5/_framework/System.Console.dll and b/docs/V5/_framework/System.Console.dll differ diff --git a/docs/V5/_framework/System.Console.dll.br b/docs/V5/_framework/System.Console.dll.br index c19671c8..d01544c0 100644 Binary files a/docs/V5/_framework/System.Console.dll.br and b/docs/V5/_framework/System.Console.dll.br differ diff --git a/docs/V5/_framework/System.Console.dll.gz b/docs/V5/_framework/System.Console.dll.gz index 531182e2..86f2e03a 100644 Binary files a/docs/V5/_framework/System.Console.dll.gz and b/docs/V5/_framework/System.Console.dll.gz differ diff --git a/docs/V5/_framework/System.Private.CoreLib.dll b/docs/V5/_framework/System.Private.CoreLib.dll index 43280be3..eb96d89d 100644 Binary files a/docs/V5/_framework/System.Private.CoreLib.dll and b/docs/V5/_framework/System.Private.CoreLib.dll differ diff --git a/docs/V5/_framework/System.Private.CoreLib.dll.br b/docs/V5/_framework/System.Private.CoreLib.dll.br index b773806e..f32dc0a4 100644 Binary files a/docs/V5/_framework/System.Private.CoreLib.dll.br and b/docs/V5/_framework/System.Private.CoreLib.dll.br differ diff --git a/docs/V5/_framework/System.Private.CoreLib.dll.gz b/docs/V5/_framework/System.Private.CoreLib.dll.gz index 1c470595..953e2a71 100644 Binary files a/docs/V5/_framework/System.Private.CoreLib.dll.gz and b/docs/V5/_framework/System.Private.CoreLib.dll.gz differ diff --git a/docs/V5/_framework/blazor.boot.json b/docs/V5/_framework/blazor.boot.json index 080c0c24..c0060ffd 100644 --- a/docs/V5/_framework/blazor.boot.json +++ b/docs/V5/_framework/blazor.boot.json @@ -8,9 +8,9 @@ "resources": { "assembly": { "BlazorComponentUtilities.dll": "sha256-UapksNiQg3lu5QM9uVSLyjEuzRH\/7o22fmcmxcLAAeI=", - "BlazorStrap-Docs.dll": "sha256-QPsBBm3ID+Ljd1DXCkbxx19xTCFvPARHwxrFFoJWA68=", - "BlazorStrap.dll": "sha256-zhaNXMlq591uel9LGwiLg1mg74cxKGP1GaZXWQT95qk=", - "BlazorStrap.WASM.dll": "sha256-1Obwaj0xMRDR3w8Fsc+SNIzL+\/0DDD9chAumFXbWLpc=", + "BlazorStrap-Docs.dll": "sha256-0OzYgHCvuBU86\/k\/TawVqZ00CqCfpLW3emZ37nqCN3E=", + "BlazorStrap.dll": "sha256-oxVqtCugIyTriWvxvKQ1e9Vq\/5v59yJghzbq0zD7aNw=", + "BlazorStrap.WASM.dll": "sha256-n4f8T\/vC7ddIJ\/9AohQInkFy2OZyMhiv9hIoJDdE\/kg=", "ColorCode.dll": "sha256-hF07ps23in9mbwaN4uSoZklQVfyJIw2Ep4R448bfkOk=", "Markdig.dll": "sha256-9\/ICq2gSL+hjhMdZXNoIRs8wyZFtZpr3yFSW+RQVdoQ=", "Markdig.SyntaxHighlighting.dll": "sha256-qkuHEt7805bTVSkNsvDi5CT5M3Q4VSK619BHVC+FdKs=", @@ -38,7 +38,7 @@ "System.ComponentModel.dll": "sha256-\/eQi+z1IrCQXONcPmrGod6Bu2pAFpr1LGFdW7i52bF8=", "System.ComponentModel.Primitives.dll": "sha256-yN2PcPE475CTFMg3wQM4XM+thL3INF\/yOuPJ4uP+ZR4=", "System.ComponentModel.TypeConverter.dll": "sha256-+AV0djVTWMh6MsReQpKk4ZMSlQ0MDjWXBy5zISm0o9E=", - "System.Console.dll": "sha256-RvZJFwiaFmb5z9G0xtjiaVkeYaNdVk9heydTZXzp2sk=", + "System.Console.dll": "sha256-uKoz\/t+y8GAFonO2Bi0okxm4r5F5UJ6m+TRioPnP2ds=", "System.Diagnostics.Debug.dll": "sha256-ZN03o0OTamcF8miD4XDkeM6vu4b5Wo+iQRTucJw6hdI=", "System.Diagnostics.Tools.dll": "sha256-qlSoBzpCyTcZ7a0UBwVIcqTmG+Zj1ozZhwgt8F4SyY8=", "System.dll": "sha256-rFMZGggawTEgR+1\/wxo6rVc33DGl6yRKgeobdnLzUmQ=", @@ -48,7 +48,7 @@ "System.Net.Http.dll": "sha256-SG1ErxalwWL+oTNjRbGYkVXkuk1onIlIJTlyaGj\/d44=", "System.Net.Primitives.dll": "sha256-3sI1NNIqa\/NbsiwoB9ge3te+b4FnMCiOJO1UBN3PeUA=", "System.ObjectModel.dll": "sha256-UG4O9ciL695mY+vsFCa\/RG7XLv2tIXBQF2ChiVBasFE=", - "System.Private.CoreLib.dll": "sha256-BssDLPaUB6rCJJ2BEhbhF71aPR\/00S4IiunH18MN0E4=", + "System.Private.CoreLib.dll": "sha256-nFwq6vHxCw2w+IyxLLUlsPjz2bmR7dp9eptPj\/txYhY=", "System.Private.Runtime.InteropServices.JavaScript.dll": "sha256-C00EjhH1PgivSevy5JGkGQ6O6iWgPnZ6YYi9\/nQBPa4=", "System.Private.Uri.dll": "sha256-S5HrTdUD7cIVcEOhVBdvWtQkO2n5w9JKWvt0tJQJHeQ=", "System.Resources.ResourceManager.dll": "sha256-gzbrKVMiTK1iPLy43DV1yztdRJ7ai4r7P0dbHJgXLjE=", diff --git a/docs/V5/_framework/blazor.boot.json.br b/docs/V5/_framework/blazor.boot.json.br index 11f3304a..10c895c9 100644 Binary files a/docs/V5/_framework/blazor.boot.json.br and b/docs/V5/_framework/blazor.boot.json.br differ diff --git a/docs/V5/_framework/blazor.boot.json.gz b/docs/V5/_framework/blazor.boot.json.gz index ee4909ea..1ef3fd06 100644 Binary files a/docs/V5/_framework/blazor.boot.json.gz and b/docs/V5/_framework/blazor.boot.json.gz differ diff --git a/docs/V5/docs/Samples/Components/Carousel/Carousel8.md b/docs/V5/docs/Samples/Components/Carousel/Carousel8.md index 149e0cc5..e6c63c5c 100644 --- a/docs/V5/docs/Samples/Components/Carousel/Carousel8.md +++ b/docs/V5/docs/Samples/Components/Carousel/Carousel8.md @@ -17,7 +17,7 @@

Some representative placeholder content for the second slide.

- + Third slide diff --git a/docs/V5/docs/Samples/Components/Modal/Modal3.md b/docs/V5/docs/Samples/Components/Modal/Modal3.md index 87446bc9..92f5d5a1 100644 --- a/docs/V5/docs/Samples/Components/Modal/Modal3.md +++ b/docs/V5/docs/Samples/Components/Modal/Modal3.md @@ -1 +1,11 @@ - \ No newline at end of file + +
Modal Title
+ +

This is some placeholder content to show the scrolling behavior for modals. We use repeated line breaks to demonstrate how content can exceed minimum inner height, thereby showing inner scrolling. When content becomes longer than the prefedined max-height of modal, content will be cropped and scrollable within the modal.

+
+
+ Close + Understood +
+
+Launch demo modal \ No newline at end of file diff --git a/docs/V5/docs/Samples/Components/Modal/Modal7.md b/docs/V5/docs/Samples/Components/Modal/Modal7.md index 17e5bbf9..c7bdee0e 100644 --- a/docs/V5/docs/Samples/Components/Modal/Modal7.md +++ b/docs/V5/docs/Samples/Components/Modal/Modal7.md @@ -5,7 +5,7 @@ Open second modal - +
Modal 2
Hide this modal and show the first with the button below.
diff --git a/docs/V5/docs/Static/Components/ListGroup.md b/docs/V5/docs/Static/Components/Listgroup.md similarity index 100% rename from docs/V5/docs/Static/Components/ListGroup.md rename to docs/V5/docs/Static/Components/Listgroup.md diff --git a/docs/V5/docs/Static/Forms/FormControls.md b/docs/V5/docs/Static/Forms/Formcontrols.md similarity index 100% rename from docs/V5/docs/Static/Forms/FormControls.md rename to docs/V5/docs/Static/Forms/Formcontrols.md diff --git a/docs/V5/docs/Static/Forms/InputFile.md b/docs/V5/docs/Static/Forms/Inputfile.md similarity index 100% rename from docs/V5/docs/Static/Forms/InputFile.md rename to docs/V5/docs/Static/Forms/Inputfile.md diff --git a/docs/V5/docs/Static/Forms/InputGroup.md b/docs/V5/docs/Static/Forms/Inputgroup.md similarity index 100% rename from docs/V5/docs/Static/Forms/InputGroup.md rename to docs/V5/docs/Static/Forms/Inputgroup.md diff --git a/src/BlazorStrap-Docs/Samples/Components/Carousel/Carousel8.razor b/src/BlazorStrap-Docs/Samples/Components/Carousel/Carousel8.razor index 7a500943..af5b3154 100644 --- a/src/BlazorStrap-Docs/Samples/Components/Carousel/Carousel8.razor +++ b/src/BlazorStrap-Docs/Samples/Components/Carousel/Carousel8.razor @@ -17,7 +17,7 @@

Some representative placeholder content for the second slide.

- + Third slide diff --git a/src/BlazorStrap-Docs/Samples/Components/Modal/Modal3.razor b/src/BlazorStrap-Docs/Samples/Components/Modal/Modal3.razor index 87446bc9..bafde7d9 100644 --- a/src/BlazorStrap-Docs/Samples/Components/Modal/Modal3.razor +++ b/src/BlazorStrap-Docs/Samples/Components/Modal/Modal3.razor @@ -1 +1,11 @@ - \ No newline at end of file + +
Modal Title
+ +

This is some placeholder content to show the scrolling behavior for modals. We use repeated line breaks to demonstrate how content can exceed minimum inner height, thereby showing inner scrolling. When content becomes longer than the prefedined max-height of modal, content will be cropped and scrollable within the modal.

+
+
+ Close + Understood +
+
+Launch demo modal \ No newline at end of file diff --git a/src/BlazorStrap-Docs/Samples/Components/Modal/Modal7.razor b/src/BlazorStrap-Docs/Samples/Components/Modal/Modal7.razor index 38ec89a8..4d92d200 100644 --- a/src/BlazorStrap-Docs/Samples/Components/Modal/Modal7.razor +++ b/src/BlazorStrap-Docs/Samples/Components/Modal/Modal7.razor @@ -5,7 +5,7 @@ Open second modal
- +
Modal 2
Hide this modal and show the first with the button below.
diff --git a/src/BlazorStrap-Docs/wwwroot/Samples/Components/Carousel/Carousel8.md b/src/BlazorStrap-Docs/wwwroot/Samples/Components/Carousel/Carousel8.md index 7a500943..af5b3154 100644 --- a/src/BlazorStrap-Docs/wwwroot/Samples/Components/Carousel/Carousel8.md +++ b/src/BlazorStrap-Docs/wwwroot/Samples/Components/Carousel/Carousel8.md @@ -17,7 +17,7 @@

Some representative placeholder content for the second slide.

- + Third slide diff --git a/src/BlazorStrap-Docs/wwwroot/Samples/Components/Modal/Modal3.md b/src/BlazorStrap-Docs/wwwroot/Samples/Components/Modal/Modal3.md index 87446bc9..bafde7d9 100644 --- a/src/BlazorStrap-Docs/wwwroot/Samples/Components/Modal/Modal3.md +++ b/src/BlazorStrap-Docs/wwwroot/Samples/Components/Modal/Modal3.md @@ -1 +1,11 @@ - \ No newline at end of file + +
Modal Title
+ +

This is some placeholder content to show the scrolling behavior for modals. We use repeated line breaks to demonstrate how content can exceed minimum inner height, thereby showing inner scrolling. When content becomes longer than the prefedined max-height of modal, content will be cropped and scrollable within the modal.

+
+
+ Close + Understood +
+
+Launch demo modal \ No newline at end of file diff --git a/src/BlazorStrap-Docs/wwwroot/Samples/Components/Modal/Modal7.md b/src/BlazorStrap-Docs/wwwroot/Samples/Components/Modal/Modal7.md index 38ec89a8..4d92d200 100644 --- a/src/BlazorStrap-Docs/wwwroot/Samples/Components/Modal/Modal7.md +++ b/src/BlazorStrap-Docs/wwwroot/Samples/Components/Modal/Modal7.md @@ -5,7 +5,7 @@ Open second modal
- +
Modal 2
Hide this modal and show the first with the button below.