@abgov/react-components 4.0.0-alpha.67 → 4.0.0-alpha.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/react-components.esm.js
CHANGED
|
@@ -13578,7 +13578,7 @@ function create_fragment$4(ctx) {
|
|
|
13578
13578
|
class OneColumnLayout extends SvelteElement {
|
|
13579
13579
|
constructor(options) {
|
|
13580
13580
|
super();
|
|
13581
|
-
this.shadowRoot.innerHTML = `<style>.page{height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}</style>`;
|
|
13581
|
+
this.shadowRoot.innerHTML = `<style>.page{min-height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}</style>`;
|
|
13582
13582
|
init(this, {
|
|
13583
13583
|
target: this.shadowRoot,
|
|
13584
13584
|
props: attribute_to_object(this.attributes),
|
|
@@ -13686,7 +13686,7 @@ function instance$2($$self, $$props, $$invalidate) {
|
|
|
13686
13686
|
class TwoColumnLayout extends SvelteElement {
|
|
13687
13687
|
constructor(options) {
|
|
13688
13688
|
super();
|
|
13689
|
-
this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box}.page{height:100vh;display:flex;flex-direction:column;position:relative}.content{flex:1 1 auto;position:relative;display:flex;flex-direction:column;gap:2rem}.header,.footer{flex:0 0 auto}main{flex:1 1 auto;padding:0 1rem}.nav{padding:0 1rem;transition:transform 200ms ease-in-out;background-color:var(--color-white)}.nav>*{display:block;padding:0.5rem 0}@media(min-width: 640px){.page{gap:2rem}.content{display:flex;flex-direction:row;justify-content:center;width:min(var(--max-content-width), 100vw);margin:0 auto}.nav{padding:0 2rem}main{padding-right:2rem}}@media(min-width: 1300px){main{padding-right:4.5rem}}@media(min-width: 640px){.nav{transform:translateX(0);flex:0 0 var(--nav-column-width)}}</style>`;
|
|
13689
|
+
this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box}.page{min-height:100vh;display:flex;flex-direction:column;position:relative}.content{flex:1 1 auto;position:relative;display:flex;flex-direction:column;gap:2rem}.header,.footer{flex:0 0 auto}main{flex:1 1 auto;padding:0 1rem}.nav{padding:0 1rem;transition:transform 200ms ease-in-out;background-color:var(--color-white)}.nav>*{display:block;padding:0.5rem 0}@media(min-width: 640px){.page{gap:2rem}.content{display:flex;flex-direction:row;justify-content:center;width:min(var(--max-content-width), 100vw);margin:0 auto}.nav{padding:0 2rem}main{padding-right:2rem}}@media(min-width: 1300px){main{padding-right:4.5rem}}@media(min-width: 640px){.nav{transform:translateX(0);flex:0 0 var(--nav-column-width)}}</style>`;
|
|
13690
13690
|
init(this, {
|
|
13691
13691
|
target: this.shadowRoot,
|
|
13692
13692
|
props: attribute_to_object(this.attributes),
|
package/react-components.umd.js
CHANGED
|
@@ -13627,7 +13627,7 @@
|
|
|
13627
13627
|
class OneColumnLayout extends SvelteElement {
|
|
13628
13628
|
constructor(options) {
|
|
13629
13629
|
super();
|
|
13630
|
-
this.shadowRoot.innerHTML = `<style>.page{height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}</style>`;
|
|
13630
|
+
this.shadowRoot.innerHTML = `<style>.page{min-height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}</style>`;
|
|
13631
13631
|
init(this, {
|
|
13632
13632
|
target: this.shadowRoot,
|
|
13633
13633
|
props: attribute_to_object(this.attributes),
|
|
@@ -13735,7 +13735,7 @@
|
|
|
13735
13735
|
class TwoColumnLayout extends SvelteElement {
|
|
13736
13736
|
constructor(options) {
|
|
13737
13737
|
super();
|
|
13738
|
-
this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box}.page{height:100vh;display:flex;flex-direction:column;position:relative}.content{flex:1 1 auto;position:relative;display:flex;flex-direction:column;gap:2rem}.header,.footer{flex:0 0 auto}main{flex:1 1 auto;padding:0 1rem}.nav{padding:0 1rem;transition:transform 200ms ease-in-out;background-color:var(--color-white)}.nav>*{display:block;padding:0.5rem 0}@media(min-width: 640px){.page{gap:2rem}.content{display:flex;flex-direction:row;justify-content:center;width:min(var(--max-content-width), 100vw);margin:0 auto}.nav{padding:0 2rem}main{padding-right:2rem}}@media(min-width: 1300px){main{padding-right:4.5rem}}@media(min-width: 640px){.nav{transform:translateX(0);flex:0 0 var(--nav-column-width)}}</style>`;
|
|
13738
|
+
this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box}.page{min-height:100vh;display:flex;flex-direction:column;position:relative}.content{flex:1 1 auto;position:relative;display:flex;flex-direction:column;gap:2rem}.header,.footer{flex:0 0 auto}main{flex:1 1 auto;padding:0 1rem}.nav{padding:0 1rem;transition:transform 200ms ease-in-out;background-color:var(--color-white)}.nav>*{display:block;padding:0.5rem 0}@media(min-width: 640px){.page{gap:2rem}.content{display:flex;flex-direction:row;justify-content:center;width:min(var(--max-content-width), 100vw);margin:0 auto}.nav{padding:0 2rem}main{padding-right:2rem}}@media(min-width: 1300px){main{padding-right:4.5rem}}@media(min-width: 640px){.nav{transform:translateX(0);flex:0 0 var(--nav-column-width)}}</style>`;
|
|
13739
13739
|
init(this, {
|
|
13740
13740
|
target: this.shadowRoot,
|
|
13741
13741
|
props: attribute_to_object(this.attributes),
|