@abgov/react-components 4.0.0-alpha.142 → 4.0.0-alpha.143
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 +1 -1
- package/react-components.esm.js +11 -21
- package/react-components.umd.js +11 -21
package/package.json
CHANGED
package/react-components.esm.js
CHANGED
|
@@ -12361,35 +12361,25 @@ customElements.define("goa-input", Input);
|
|
|
12361
12361
|
/* libs/web-components/src/components/microsite-header/MicrositeHeader.svelte generated by Svelte v3.51.0 */
|
|
12362
12362
|
|
|
12363
12363
|
function create_if_block_3$5(ctx) {
|
|
12364
|
-
let
|
|
12365
|
-
let t0;
|
|
12366
|
-
let div1;
|
|
12364
|
+
let div;
|
|
12367
12365
|
return {
|
|
12368
12366
|
c() {
|
|
12369
|
-
|
|
12370
|
-
|
|
12371
|
-
|
|
12372
|
-
|
|
12373
|
-
div1.innerHTML = `An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>`;
|
|
12374
|
-
attr(div0, "class", "service-type service-type--live");
|
|
12375
|
-
attr(div1, "data-testid", "type");
|
|
12376
|
-
attr(div1, "class", "site-text");
|
|
12367
|
+
div = element("div");
|
|
12368
|
+
div.innerHTML = `An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>`;
|
|
12369
|
+
attr(div, "data-testid", "type");
|
|
12370
|
+
attr(div, "class", "site-text");
|
|
12377
12371
|
},
|
|
12378
12372
|
|
|
12379
12373
|
m(target, anchor) {
|
|
12380
|
-
insert(target,
|
|
12381
|
-
insert(target, t0, anchor);
|
|
12382
|
-
insert(target, div1, anchor);
|
|
12374
|
+
insert(target, div, anchor);
|
|
12383
12375
|
},
|
|
12384
12376
|
|
|
12385
12377
|
d(detaching) {
|
|
12386
|
-
if (detaching) detach(
|
|
12387
|
-
if (detaching) detach(t0);
|
|
12388
|
-
if (detaching) detach(div1);
|
|
12378
|
+
if (detaching) detach(div);
|
|
12389
12379
|
}
|
|
12390
12380
|
|
|
12391
12381
|
};
|
|
12392
|
-
} // (
|
|
12382
|
+
} // (29:2) {#if ["alpha", "beta"].includes(type)}
|
|
12393
12383
|
|
|
12394
12384
|
|
|
12395
12385
|
function create_if_block_1$5(ctx) {
|
|
@@ -12477,7 +12467,7 @@ function create_if_block_1$5(ctx) {
|
|
|
12477
12467
|
}
|
|
12478
12468
|
|
|
12479
12469
|
};
|
|
12480
|
-
} // (
|
|
12470
|
+
} // (38:6) {#if feedbackurl}
|
|
12481
12471
|
|
|
12482
12472
|
|
|
12483
12473
|
function create_if_block_2$5(ctx) {
|
|
@@ -12519,7 +12509,7 @@ function create_if_block_2$5(ctx) {
|
|
|
12519
12509
|
}
|
|
12520
12510
|
|
|
12521
12511
|
};
|
|
12522
|
-
} // (
|
|
12512
|
+
} // (44:2) {#if version}
|
|
12523
12513
|
|
|
12524
12514
|
|
|
12525
12515
|
function create_if_block$b(ctx) {
|
|
@@ -12691,7 +12681,7 @@ function instance$k($$self, $$props, $$invalidate) {
|
|
|
12691
12681
|
class MicrositeHeader extends SvelteElement {
|
|
12692
12682
|
constructor(options) {
|
|
12693
12683
|
super();
|
|
12694
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.
|
|
12684
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}</style>`;
|
|
12695
12685
|
init(this, {
|
|
12696
12686
|
target: this.shadowRoot,
|
|
12697
12687
|
props: attribute_to_object(this.attributes),
|
package/react-components.umd.js
CHANGED
|
@@ -12407,35 +12407,25 @@
|
|
|
12407
12407
|
/* libs/web-components/src/components/microsite-header/MicrositeHeader.svelte generated by Svelte v3.51.0 */
|
|
12408
12408
|
|
|
12409
12409
|
function create_if_block_3$5(ctx) {
|
|
12410
|
-
let
|
|
12411
|
-
let t0;
|
|
12412
|
-
let div1;
|
|
12410
|
+
let div;
|
|
12413
12411
|
return {
|
|
12414
12412
|
c() {
|
|
12415
|
-
|
|
12416
|
-
|
|
12417
|
-
|
|
12418
|
-
|
|
12419
|
-
div1.innerHTML = `An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>`;
|
|
12420
|
-
attr(div0, "class", "service-type service-type--live");
|
|
12421
|
-
attr(div1, "data-testid", "type");
|
|
12422
|
-
attr(div1, "class", "site-text");
|
|
12413
|
+
div = element("div");
|
|
12414
|
+
div.innerHTML = `An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>`;
|
|
12415
|
+
attr(div, "data-testid", "type");
|
|
12416
|
+
attr(div, "class", "site-text");
|
|
12423
12417
|
},
|
|
12424
12418
|
|
|
12425
12419
|
m(target, anchor) {
|
|
12426
|
-
insert(target,
|
|
12427
|
-
insert(target, t0, anchor);
|
|
12428
|
-
insert(target, div1, anchor);
|
|
12420
|
+
insert(target, div, anchor);
|
|
12429
12421
|
},
|
|
12430
12422
|
|
|
12431
12423
|
d(detaching) {
|
|
12432
|
-
if (detaching) detach(
|
|
12433
|
-
if (detaching) detach(t0);
|
|
12434
|
-
if (detaching) detach(div1);
|
|
12424
|
+
if (detaching) detach(div);
|
|
12435
12425
|
}
|
|
12436
12426
|
|
|
12437
12427
|
};
|
|
12438
|
-
} // (
|
|
12428
|
+
} // (29:2) {#if ["alpha", "beta"].includes(type)}
|
|
12439
12429
|
|
|
12440
12430
|
|
|
12441
12431
|
function create_if_block_1$5(ctx) {
|
|
@@ -12523,7 +12513,7 @@
|
|
|
12523
12513
|
}
|
|
12524
12514
|
|
|
12525
12515
|
};
|
|
12526
|
-
} // (
|
|
12516
|
+
} // (38:6) {#if feedbackurl}
|
|
12527
12517
|
|
|
12528
12518
|
|
|
12529
12519
|
function create_if_block_2$5(ctx) {
|
|
@@ -12565,7 +12555,7 @@
|
|
|
12565
12555
|
}
|
|
12566
12556
|
|
|
12567
12557
|
};
|
|
12568
|
-
} // (
|
|
12558
|
+
} // (44:2) {#if version}
|
|
12569
12559
|
|
|
12570
12560
|
|
|
12571
12561
|
function create_if_block$b(ctx) {
|
|
@@ -12737,7 +12727,7 @@
|
|
|
12737
12727
|
class MicrositeHeader extends SvelteElement {
|
|
12738
12728
|
constructor(options) {
|
|
12739
12729
|
super();
|
|
12740
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.
|
|
12730
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}</style>`;
|
|
12741
12731
|
init(this, {
|
|
12742
12732
|
target: this.shadowRoot,
|
|
12743
12733
|
props: attribute_to_object(this.attributes),
|