@abgov/react-components 4.0.0-alpha.97 → 4.0.0-alpha.99

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.
@@ -2,6 +2,7 @@ import React, { FC } from "react";
2
2
  interface WCProps {
3
3
  heading: string;
4
4
  backgroundurl: string;
5
+ minheight?: string;
5
6
  }
6
7
  declare global {
7
8
  namespace JSX {
@@ -13,6 +14,7 @@ declare global {
13
14
  interface Props {
14
15
  heading: string;
15
16
  backgroundUrl: string;
17
+ minHeight?: string;
16
18
  children?: React.ReactNode;
17
19
  }
18
20
  export declare const GoAHeroBanner: FC<Props>;
@@ -54,6 +54,8 @@ interface BaseProps extends Margins {
54
54
  suffix?: string;
55
55
  testId?: string;
56
56
  ariaLabel?: string;
57
+ leadingContent?: React.ReactNode;
58
+ trailingContent?: React.ReactNode;
57
59
  }
58
60
  declare type OnChange = (name: string, value: string) => void;
59
61
  export interface InputProps extends BaseProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "4.0.0-alpha.97",
3
+ "version": "4.0.0-alpha.99",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"
@@ -9299,6 +9299,9 @@ function create_fragment$h(ctx) {
9299
9299
  set_style(div1, "background-size", "cover");
9300
9300
  set_style(div1, "background-position", "center");
9301
9301
  set_style(div1, "background-repeat", "no-repeat");
9302
+ set_style(div1, "min-height",
9303
+ /*minheight*/
9304
+ ctx[2]);
9302
9305
  },
9303
9306
 
9304
9307
  m(target, anchor) {
@@ -9326,6 +9329,14 @@ function create_fragment$h(ctx) {
9326
9329
  /*backgroundurl*/
9327
9330
  ctx[1] + ")");
9328
9331
  }
9332
+
9333
+ if (dirty &
9334
+ /*minheight*/
9335
+ 4) {
9336
+ set_style(div1, "min-height",
9337
+ /*minheight*/
9338
+ ctx[2]);
9339
+ }
9329
9340
  },
9330
9341
 
9331
9342
  i: noop,
@@ -9345,26 +9356,31 @@ function instance$f($$self, $$props, $$invalidate) {
9345
9356
  let {
9346
9357
  backgroundurl
9347
9358
  } = $$props;
9359
+ let {
9360
+ minheight = "600px"
9361
+ } = $$props;
9348
9362
 
9349
9363
  $$self.$$set = $$props => {
9350
9364
  if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
9351
9365
  if ('backgroundurl' in $$props) $$invalidate(1, backgroundurl = $$props.backgroundurl);
9366
+ if ('minheight' in $$props) $$invalidate(2, minheight = $$props.minheight);
9352
9367
  };
9353
9368
 
9354
- return [heading, backgroundurl];
9369
+ return [heading, backgroundurl, minheight];
9355
9370
  }
9356
9371
 
9357
9372
  class HeroBanner extends SvelteElement {
9358
9373
  constructor(options) {
9359
9374
  super();
9360
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>`;
9375
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>`;
9361
9376
  init(this, {
9362
9377
  target: this.shadowRoot,
9363
9378
  props: attribute_to_object(this.attributes),
9364
9379
  customElement: true
9365
9380
  }, instance$f, create_fragment$h, safe_not_equal, {
9366
9381
  heading: 0,
9367
- backgroundurl: 1
9382
+ backgroundurl: 1,
9383
+ minheight: 2
9368
9384
  }, null);
9369
9385
 
9370
9386
  if (options) {
@@ -9380,7 +9396,7 @@ class HeroBanner extends SvelteElement {
9380
9396
  }
9381
9397
 
9382
9398
  static get observedAttributes() {
9383
- return ["heading", "backgroundurl"];
9399
+ return ["heading", "backgroundurl", "minheight"];
9384
9400
  }
9385
9401
 
9386
9402
  get heading() {
@@ -9405,6 +9421,17 @@ class HeroBanner extends SvelteElement {
9405
9421
  flush();
9406
9422
  }
9407
9423
 
9424
+ get minheight() {
9425
+ return this.$$.ctx[2];
9426
+ }
9427
+
9428
+ set minheight(minheight) {
9429
+ this.$$set({
9430
+ minheight
9431
+ });
9432
+ flush();
9433
+ }
9434
+
9408
9435
  }
9409
9436
 
9410
9437
  customElements.define("goa-hero-banner", HeroBanner);
@@ -10330,7 +10357,7 @@ function create_if_block_4$1(ctx) {
10330
10357
  }
10331
10358
 
10332
10359
  };
10333
- } // (86:4) {#if leadingicon}
10360
+ } // (95:4) {#if leadingicon}
10334
10361
 
10335
10362
 
10336
10363
  function create_if_block_3$2(ctx) {
@@ -10364,7 +10391,7 @@ function create_if_block_3$2(ctx) {
10364
10391
  }
10365
10392
 
10366
10393
  };
10367
- } // (116:4) {#if trailingicon && !handlesTrailingIconClick}
10394
+ } // (125:4) {#if trailingicon && !handlesTrailingIconClick}
10368
10395
 
10369
10396
 
10370
10397
  function create_if_block_2$3(ctx) {
@@ -10399,7 +10426,7 @@ function create_if_block_2$3(ctx) {
10399
10426
  }
10400
10427
 
10401
10428
  };
10402
- } // (126:4) {#if trailingicon && handlesTrailingIconClick}
10429
+ } // (135:4) {#if trailingicon && handlesTrailingIconClick}
10403
10430
 
10404
10431
 
10405
10432
  function create_if_block_1$3(ctx) {
@@ -10454,7 +10481,7 @@ function create_if_block_1$3(ctx) {
10454
10481
  }
10455
10482
 
10456
10483
  };
10457
- } // (138:4) {#if suffix}
10484
+ } // (147:4) {#if suffix}
10458
10485
 
10459
10486
 
10460
10487
  function create_if_block$5(ctx) {
@@ -10490,19 +10517,23 @@ function create_if_block$5(ctx) {
10490
10517
  }
10491
10518
 
10492
10519
  function create_fragment$e(ctx) {
10493
- let div1;
10494
- let div0;
10520
+ let div3;
10521
+ let div2;
10495
10522
  let t0;
10523
+ let div0;
10496
10524
  let t1;
10525
+ let t2;
10497
10526
  let input;
10498
10527
  let input_class_value;
10499
10528
  let input_style_value;
10500
10529
  let input_aria_label_value;
10501
- let t2;
10502
10530
  let t3;
10503
10531
  let t4;
10504
- let div0_class_value;
10505
- let div1_style_value;
10532
+ let t5;
10533
+ let t6;
10534
+ let div1;
10535
+ let div2_class_value;
10536
+ let div3_style_value;
10506
10537
  let mounted;
10507
10538
  let dispose;
10508
10539
  let if_block0 =
@@ -10526,20 +10557,27 @@ function create_fragment$e(ctx) {
10526
10557
  ctx[15] && create_if_block$5(ctx);
10527
10558
  return {
10528
10559
  c() {
10529
- div1 = element("div");
10530
- div0 = element("div");
10560
+ div3 = element("div");
10561
+ div2 = element("div");
10531
10562
  if (if_block0) if_block0.c();
10532
10563
  t0 = space();
10533
- if (if_block1) if_block1.c();
10564
+ div0 = element("div");
10565
+ div0.innerHTML = `<slot name="leadingContent"></slot>`;
10534
10566
  t1 = space();
10535
- input = element("input");
10567
+ if (if_block1) if_block1.c();
10536
10568
  t2 = space();
10537
- if (if_block2) if_block2.c();
10569
+ input = element("input");
10538
10570
  t3 = space();
10539
- if (if_block3) if_block3.c();
10571
+ if (if_block2) if_block2.c();
10540
10572
  t4 = space();
10573
+ if (if_block3) if_block3.c();
10574
+ t5 = space();
10541
10575
  if (if_block4) if_block4.c();
10576
+ t6 = space();
10577
+ div1 = element("div");
10578
+ div1.innerHTML = `<slot name="trailingContent"></slot>`;
10542
10579
  this.c = noop;
10580
+ attr(div0, "class", "leading-content");
10543
10581
  attr(input, "class", input_class_value = `input--${
10544
10582
  /*variant*/
10545
10583
  ctx[7]}`);
@@ -10585,7 +10623,8 @@ function create_fragment$e(ctx) {
10585
10623
  ctx[10] ||
10586
10624
  /*name*/
10587
10625
  ctx[2]);
10588
- attr(div0, "class", div0_class_value = `
10626
+ attr(div1, "class", "trailing-content");
10627
+ attr(div2, "class", div2_class_value = `
10589
10628
  goa-input
10590
10629
  ${
10591
10630
  /*isDisabled*/
@@ -10597,11 +10636,11 @@ function create_fragment$e(ctx) {
10597
10636
  /*type*/
10598
10637
  ctx[1]}
10599
10638
  `);
10600
- toggle_class(div0, "error",
10639
+ toggle_class(div2, "error",
10601
10640
  /*isError*/
10602
10641
  ctx[22]);
10603
- attr(div1, "class", "container");
10604
- attr(div1, "style", div1_style_value = `
10642
+ attr(div3, "class", "container");
10643
+ attr(div3, "style", div3_style_value = `
10605
10644
  ${calculateMargin(
10606
10645
  /*mt*/
10607
10646
  ctx[16],
@@ -10618,22 +10657,26 @@ function create_fragment$e(ctx) {
10618
10657
  },
10619
10658
 
10620
10659
  m(target, anchor) {
10621
- insert(target, div1, anchor);
10622
- append(div1, div0);
10623
- if (if_block0) if_block0.m(div0, null);
10624
- append(div0, t0);
10625
- if (if_block1) if_block1.m(div0, null);
10626
- append(div0, t1);
10627
- append(div0, input);
10660
+ insert(target, div3, anchor);
10661
+ append(div3, div2);
10662
+ if (if_block0) if_block0.m(div2, null);
10663
+ append(div2, t0);
10664
+ append(div2, div0);
10665
+ append(div2, t1);
10666
+ if (if_block1) if_block1.m(div2, null);
10667
+ append(div2, t2);
10668
+ append(div2, input);
10628
10669
  /*input_binding*/
10629
10670
 
10630
10671
  ctx[32](input);
10631
- append(div0, t2);
10632
- if (if_block2) if_block2.m(div0, null);
10633
- append(div0, t3);
10634
- if (if_block3) if_block3.m(div0, null);
10635
- append(div0, t4);
10636
- if (if_block4) if_block4.m(div0, null);
10672
+ append(div2, t3);
10673
+ if (if_block2) if_block2.m(div2, null);
10674
+ append(div2, t4);
10675
+ if (if_block3) if_block3.m(div2, null);
10676
+ append(div2, t5);
10677
+ if (if_block4) if_block4.m(div2, null);
10678
+ append(div2, t6);
10679
+ append(div2, div1);
10637
10680
 
10638
10681
  if (!mounted) {
10639
10682
  dispose = [listen(input, "keyup",
@@ -10654,7 +10697,7 @@ function create_fragment$e(ctx) {
10654
10697
  } else {
10655
10698
  if_block0 = create_if_block_4$1(ctx);
10656
10699
  if_block0.c();
10657
- if_block0.m(div0, t0);
10700
+ if_block0.m(div2, t0);
10658
10701
  }
10659
10702
  } else if (if_block0) {
10660
10703
  if_block0.d(1);
@@ -10669,7 +10712,7 @@ function create_fragment$e(ctx) {
10669
10712
  } else {
10670
10713
  if_block1 = create_if_block_3$2(ctx);
10671
10714
  if_block1.c();
10672
- if_block1.m(div0, t1);
10715
+ if_block1.m(div2, t2);
10673
10716
  }
10674
10717
  } else if (if_block1) {
10675
10718
  if_block1.d(1);
@@ -10802,7 +10845,7 @@ function create_fragment$e(ctx) {
10802
10845
  } else {
10803
10846
  if_block2 = create_if_block_2$3(ctx);
10804
10847
  if_block2.c();
10805
- if_block2.m(div0, t3);
10848
+ if_block2.m(div2, t4);
10806
10849
  }
10807
10850
  } else if (if_block2) {
10808
10851
  if_block2.d(1);
@@ -10819,7 +10862,7 @@ function create_fragment$e(ctx) {
10819
10862
  } else {
10820
10863
  if_block3 = create_if_block_1$3(ctx);
10821
10864
  if_block3.c();
10822
- if_block3.m(div0, t4);
10865
+ if_block3.m(div2, t5);
10823
10866
  }
10824
10867
  } else if (if_block3) {
10825
10868
  if_block3.d(1);
@@ -10834,7 +10877,7 @@ function create_fragment$e(ctx) {
10834
10877
  } else {
10835
10878
  if_block4 = create_if_block$5(ctx);
10836
10879
  if_block4.c();
10837
- if_block4.m(div0, null);
10880
+ if_block4.m(div2, t6);
10838
10881
  }
10839
10882
  } else if (if_block4) {
10840
10883
  if_block4.d(1);
@@ -10843,7 +10886,7 @@ function create_fragment$e(ctx) {
10843
10886
 
10844
10887
  if (dirty[0] &
10845
10888
  /*isDisabled, variant, type*/
10846
- 2097282 && div0_class_value !== (div0_class_value = `
10889
+ 2097282 && div2_class_value !== (div2_class_value = `
10847
10890
  goa-input
10848
10891
  ${
10849
10892
  /*isDisabled*/
@@ -10855,20 +10898,20 @@ function create_fragment$e(ctx) {
10855
10898
  /*type*/
10856
10899
  ctx[1]}
10857
10900
  `)) {
10858
- attr(div0, "class", div0_class_value);
10901
+ attr(div2, "class", div2_class_value);
10859
10902
  }
10860
10903
 
10861
10904
  if (dirty[0] &
10862
10905
  /*isDisabled, variant, type, isError*/
10863
10906
  6291586) {
10864
- toggle_class(div0, "error",
10907
+ toggle_class(div2, "error",
10865
10908
  /*isError*/
10866
10909
  ctx[22]);
10867
10910
  }
10868
10911
 
10869
10912
  if (dirty[0] &
10870
10913
  /*mt, mr, mb, ml, width*/
10871
- 983552 && div1_style_value !== (div1_style_value = `
10914
+ 983552 && div3_style_value !== (div3_style_value = `
10872
10915
  ${calculateMargin(
10873
10916
  /*mt*/
10874
10917
  ctx[16],
@@ -10882,7 +10925,7 @@ function create_fragment$e(ctx) {
10882
10925
  /*width*/
10883
10926
  ctx[9]};
10884
10927
  `)) {
10885
- attr(div1, "style", div1_style_value);
10928
+ attr(div3, "style", div3_style_value);
10886
10929
  }
10887
10930
  },
10888
10931
 
@@ -10890,7 +10933,7 @@ function create_fragment$e(ctx) {
10890
10933
  o: noop,
10891
10934
 
10892
10935
  d(detaching) {
10893
- if (detaching) detach(div1);
10936
+ if (detaching) detach(div3);
10894
10937
  if (if_block0) if_block0.d();
10895
10938
  if (if_block1) if_block1.d();
10896
10939
  /*input_binding*/
@@ -11009,6 +11052,12 @@ function instance$c($$self, $$props, $$invalidate) {
11009
11052
  $$invalidate(0, value = ee.value);
11010
11053
  }
11011
11054
 
11055
+ onMount(() => {
11056
+ if (prefix != "" || suffix != "") {
11057
+ console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.");
11058
+ }
11059
+ });
11060
+
11012
11061
  function input_binding($$value) {
11013
11062
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
11014
11063
  inputEl = $$value;
@@ -11102,7 +11151,7 @@ function instance$c($$self, $$props, $$invalidate) {
11102
11151
  class Input extends SvelteElement {
11103
11152
  constructor(options) {
11104
11153
  super();
11105
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[type="text"],input[type="date"],input[type="time"],input[type="datetime-local"],input[type="number"]{font-family:var(--font-family)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix{background-color:var(--color-gray-100);padding:0 0.75rem;display:flex;align-items:center}.prefix{border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius);border-right:1px solid var(--color-gray-600)}.suffix{border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius);border-left:1px solid var(--color-gray-600)}.goa-input--disabled .prefix{border-right:1px solid var(--color-gray-200)}.goa-input--disabled .suffix{border-left:1px solid var(--color-gray-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
11154
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[type="text"],input[type="date"],input[type="time"],input[type="datetime-local"],input[type="number"]{font-family:var(--font-family)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--color-gray-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius);border-right:1px solid var(--color-gray-600)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius);border-left:1px solid var(--color-gray-600)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--color-gray-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--color-gray-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
11106
11155
  center center no-repeat}</style>`;
11107
11156
  init(this, {
11108
11157
  target: this.shadowRoot,
@@ -16489,11 +16538,13 @@ const GoAGrid = ({
16489
16538
  const GoAHeroBanner = ({
16490
16539
  heading,
16491
16540
  backgroundUrl,
16541
+ minHeight,
16492
16542
  children
16493
16543
  }) => {
16494
16544
  return jsx("goa-hero-banner", Object.assign({
16495
16545
  heading: heading,
16496
- backgroundurl: backgroundUrl
16546
+ backgroundurl: backgroundUrl,
16547
+ minheight: minHeight
16497
16548
  }, {
16498
16549
  children: children
16499
16550
  }), void 0);
@@ -16632,6 +16683,8 @@ const GoAInput = ({
16632
16683
  mr,
16633
16684
  mb,
16634
16685
  ml,
16686
+ leadingContent,
16687
+ trailingContent,
16635
16688
  onTrailingIconClick,
16636
16689
  onChange
16637
16690
  }) => {
@@ -16662,7 +16715,7 @@ const GoAInput = ({
16662
16715
  current.removeEventListener("_trailingIconClick", clickListener);
16663
16716
  };
16664
16717
  }, [ref, onChange, onTrailingIconClick]);
16665
- return jsx("goa-input", {
16718
+ return jsxs("goa-input", Object.assign({
16666
16719
  ref: ref,
16667
16720
  focused: focused,
16668
16721
  type: type,
@@ -16690,7 +16743,17 @@ const GoAInput = ({
16690
16743
  mb: mb,
16691
16744
  ml: ml,
16692
16745
  handletrailingiconclick: !!onTrailingIconClick
16693
- }, void 0);
16746
+ }, {
16747
+ children: [leadingContent && jsx("div", Object.assign({
16748
+ slot: "leadingContent"
16749
+ }, {
16750
+ children: leadingContent
16751
+ }), void 0), trailingContent && jsx("div", Object.assign({
16752
+ slot: "trailingContent"
16753
+ }, {
16754
+ children: trailingContent
16755
+ }), void 0)]
16756
+ }), void 0);
16694
16757
  };
16695
16758
 
16696
16759
  const onDateChangeHandler = onChange => {
@@ -9344,6 +9344,9 @@
9344
9344
  set_style(div1, "background-size", "cover");
9345
9345
  set_style(div1, "background-position", "center");
9346
9346
  set_style(div1, "background-repeat", "no-repeat");
9347
+ set_style(div1, "min-height",
9348
+ /*minheight*/
9349
+ ctx[2]);
9347
9350
  },
9348
9351
 
9349
9352
  m(target, anchor) {
@@ -9371,6 +9374,14 @@
9371
9374
  /*backgroundurl*/
9372
9375
  ctx[1] + ")");
9373
9376
  }
9377
+
9378
+ if (dirty &
9379
+ /*minheight*/
9380
+ 4) {
9381
+ set_style(div1, "min-height",
9382
+ /*minheight*/
9383
+ ctx[2]);
9384
+ }
9374
9385
  },
9375
9386
 
9376
9387
  i: noop,
@@ -9390,26 +9401,31 @@
9390
9401
  let {
9391
9402
  backgroundurl
9392
9403
  } = $$props;
9404
+ let {
9405
+ minheight = "600px"
9406
+ } = $$props;
9393
9407
 
9394
9408
  $$self.$$set = $$props => {
9395
9409
  if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
9396
9410
  if ('backgroundurl' in $$props) $$invalidate(1, backgroundurl = $$props.backgroundurl);
9411
+ if ('minheight' in $$props) $$invalidate(2, minheight = $$props.minheight);
9397
9412
  };
9398
9413
 
9399
- return [heading, backgroundurl];
9414
+ return [heading, backgroundurl, minheight];
9400
9415
  }
9401
9416
 
9402
9417
  class HeroBanner extends SvelteElement {
9403
9418
  constructor(options) {
9404
9419
  super();
9405
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>`;
9420
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>`;
9406
9421
  init(this, {
9407
9422
  target: this.shadowRoot,
9408
9423
  props: attribute_to_object(this.attributes),
9409
9424
  customElement: true
9410
9425
  }, instance$f, create_fragment$h, safe_not_equal, {
9411
9426
  heading: 0,
9412
- backgroundurl: 1
9427
+ backgroundurl: 1,
9428
+ minheight: 2
9413
9429
  }, null);
9414
9430
 
9415
9431
  if (options) {
@@ -9425,7 +9441,7 @@
9425
9441
  }
9426
9442
 
9427
9443
  static get observedAttributes() {
9428
- return ["heading", "backgroundurl"];
9444
+ return ["heading", "backgroundurl", "minheight"];
9429
9445
  }
9430
9446
 
9431
9447
  get heading() {
@@ -9450,6 +9466,17 @@
9450
9466
  flush();
9451
9467
  }
9452
9468
 
9469
+ get minheight() {
9470
+ return this.$$.ctx[2];
9471
+ }
9472
+
9473
+ set minheight(minheight) {
9474
+ this.$$set({
9475
+ minheight
9476
+ });
9477
+ flush();
9478
+ }
9479
+
9453
9480
  }
9454
9481
 
9455
9482
  customElements.define("goa-hero-banner", HeroBanner);
@@ -10375,7 +10402,7 @@
10375
10402
  }
10376
10403
 
10377
10404
  };
10378
- } // (86:4) {#if leadingicon}
10405
+ } // (95:4) {#if leadingicon}
10379
10406
 
10380
10407
 
10381
10408
  function create_if_block_3$2(ctx) {
@@ -10409,7 +10436,7 @@
10409
10436
  }
10410
10437
 
10411
10438
  };
10412
- } // (116:4) {#if trailingicon && !handlesTrailingIconClick}
10439
+ } // (125:4) {#if trailingicon && !handlesTrailingIconClick}
10413
10440
 
10414
10441
 
10415
10442
  function create_if_block_2$3(ctx) {
@@ -10444,7 +10471,7 @@
10444
10471
  }
10445
10472
 
10446
10473
  };
10447
- } // (126:4) {#if trailingicon && handlesTrailingIconClick}
10474
+ } // (135:4) {#if trailingicon && handlesTrailingIconClick}
10448
10475
 
10449
10476
 
10450
10477
  function create_if_block_1$3(ctx) {
@@ -10499,7 +10526,7 @@
10499
10526
  }
10500
10527
 
10501
10528
  };
10502
- } // (138:4) {#if suffix}
10529
+ } // (147:4) {#if suffix}
10503
10530
 
10504
10531
 
10505
10532
  function create_if_block$5(ctx) {
@@ -10535,19 +10562,23 @@
10535
10562
  }
10536
10563
 
10537
10564
  function create_fragment$e(ctx) {
10538
- let div1;
10539
- let div0;
10565
+ let div3;
10566
+ let div2;
10540
10567
  let t0;
10568
+ let div0;
10541
10569
  let t1;
10570
+ let t2;
10542
10571
  let input;
10543
10572
  let input_class_value;
10544
10573
  let input_style_value;
10545
10574
  let input_aria_label_value;
10546
- let t2;
10547
10575
  let t3;
10548
10576
  let t4;
10549
- let div0_class_value;
10550
- let div1_style_value;
10577
+ let t5;
10578
+ let t6;
10579
+ let div1;
10580
+ let div2_class_value;
10581
+ let div3_style_value;
10551
10582
  let mounted;
10552
10583
  let dispose;
10553
10584
  let if_block0 =
@@ -10571,20 +10602,27 @@
10571
10602
  ctx[15] && create_if_block$5(ctx);
10572
10603
  return {
10573
10604
  c() {
10574
- div1 = element("div");
10575
- div0 = element("div");
10605
+ div3 = element("div");
10606
+ div2 = element("div");
10576
10607
  if (if_block0) if_block0.c();
10577
10608
  t0 = space();
10578
- if (if_block1) if_block1.c();
10609
+ div0 = element("div");
10610
+ div0.innerHTML = `<slot name="leadingContent"></slot>`;
10579
10611
  t1 = space();
10580
- input = element("input");
10612
+ if (if_block1) if_block1.c();
10581
10613
  t2 = space();
10582
- if (if_block2) if_block2.c();
10614
+ input = element("input");
10583
10615
  t3 = space();
10584
- if (if_block3) if_block3.c();
10616
+ if (if_block2) if_block2.c();
10585
10617
  t4 = space();
10618
+ if (if_block3) if_block3.c();
10619
+ t5 = space();
10586
10620
  if (if_block4) if_block4.c();
10621
+ t6 = space();
10622
+ div1 = element("div");
10623
+ div1.innerHTML = `<slot name="trailingContent"></slot>`;
10587
10624
  this.c = noop;
10625
+ attr(div0, "class", "leading-content");
10588
10626
  attr(input, "class", input_class_value = `input--${
10589
10627
  /*variant*/
10590
10628
  ctx[7]}`);
@@ -10630,7 +10668,8 @@
10630
10668
  ctx[10] ||
10631
10669
  /*name*/
10632
10670
  ctx[2]);
10633
- attr(div0, "class", div0_class_value = `
10671
+ attr(div1, "class", "trailing-content");
10672
+ attr(div2, "class", div2_class_value = `
10634
10673
  goa-input
10635
10674
  ${
10636
10675
  /*isDisabled*/
@@ -10642,11 +10681,11 @@
10642
10681
  /*type*/
10643
10682
  ctx[1]}
10644
10683
  `);
10645
- toggle_class(div0, "error",
10684
+ toggle_class(div2, "error",
10646
10685
  /*isError*/
10647
10686
  ctx[22]);
10648
- attr(div1, "class", "container");
10649
- attr(div1, "style", div1_style_value = `
10687
+ attr(div3, "class", "container");
10688
+ attr(div3, "style", div3_style_value = `
10650
10689
  ${calculateMargin(
10651
10690
  /*mt*/
10652
10691
  ctx[16],
@@ -10663,22 +10702,26 @@
10663
10702
  },
10664
10703
 
10665
10704
  m(target, anchor) {
10666
- insert(target, div1, anchor);
10667
- append(div1, div0);
10668
- if (if_block0) if_block0.m(div0, null);
10669
- append(div0, t0);
10670
- if (if_block1) if_block1.m(div0, null);
10671
- append(div0, t1);
10672
- append(div0, input);
10705
+ insert(target, div3, anchor);
10706
+ append(div3, div2);
10707
+ if (if_block0) if_block0.m(div2, null);
10708
+ append(div2, t0);
10709
+ append(div2, div0);
10710
+ append(div2, t1);
10711
+ if (if_block1) if_block1.m(div2, null);
10712
+ append(div2, t2);
10713
+ append(div2, input);
10673
10714
  /*input_binding*/
10674
10715
 
10675
10716
  ctx[32](input);
10676
- append(div0, t2);
10677
- if (if_block2) if_block2.m(div0, null);
10678
- append(div0, t3);
10679
- if (if_block3) if_block3.m(div0, null);
10680
- append(div0, t4);
10681
- if (if_block4) if_block4.m(div0, null);
10717
+ append(div2, t3);
10718
+ if (if_block2) if_block2.m(div2, null);
10719
+ append(div2, t4);
10720
+ if (if_block3) if_block3.m(div2, null);
10721
+ append(div2, t5);
10722
+ if (if_block4) if_block4.m(div2, null);
10723
+ append(div2, t6);
10724
+ append(div2, div1);
10682
10725
 
10683
10726
  if (!mounted) {
10684
10727
  dispose = [listen(input, "keyup",
@@ -10699,7 +10742,7 @@
10699
10742
  } else {
10700
10743
  if_block0 = create_if_block_4$1(ctx);
10701
10744
  if_block0.c();
10702
- if_block0.m(div0, t0);
10745
+ if_block0.m(div2, t0);
10703
10746
  }
10704
10747
  } else if (if_block0) {
10705
10748
  if_block0.d(1);
@@ -10714,7 +10757,7 @@
10714
10757
  } else {
10715
10758
  if_block1 = create_if_block_3$2(ctx);
10716
10759
  if_block1.c();
10717
- if_block1.m(div0, t1);
10760
+ if_block1.m(div2, t2);
10718
10761
  }
10719
10762
  } else if (if_block1) {
10720
10763
  if_block1.d(1);
@@ -10847,7 +10890,7 @@
10847
10890
  } else {
10848
10891
  if_block2 = create_if_block_2$3(ctx);
10849
10892
  if_block2.c();
10850
- if_block2.m(div0, t3);
10893
+ if_block2.m(div2, t4);
10851
10894
  }
10852
10895
  } else if (if_block2) {
10853
10896
  if_block2.d(1);
@@ -10864,7 +10907,7 @@
10864
10907
  } else {
10865
10908
  if_block3 = create_if_block_1$3(ctx);
10866
10909
  if_block3.c();
10867
- if_block3.m(div0, t4);
10910
+ if_block3.m(div2, t5);
10868
10911
  }
10869
10912
  } else if (if_block3) {
10870
10913
  if_block3.d(1);
@@ -10879,7 +10922,7 @@
10879
10922
  } else {
10880
10923
  if_block4 = create_if_block$5(ctx);
10881
10924
  if_block4.c();
10882
- if_block4.m(div0, null);
10925
+ if_block4.m(div2, t6);
10883
10926
  }
10884
10927
  } else if (if_block4) {
10885
10928
  if_block4.d(1);
@@ -10888,7 +10931,7 @@
10888
10931
 
10889
10932
  if (dirty[0] &
10890
10933
  /*isDisabled, variant, type*/
10891
- 2097282 && div0_class_value !== (div0_class_value = `
10934
+ 2097282 && div2_class_value !== (div2_class_value = `
10892
10935
  goa-input
10893
10936
  ${
10894
10937
  /*isDisabled*/
@@ -10900,20 +10943,20 @@
10900
10943
  /*type*/
10901
10944
  ctx[1]}
10902
10945
  `)) {
10903
- attr(div0, "class", div0_class_value);
10946
+ attr(div2, "class", div2_class_value);
10904
10947
  }
10905
10948
 
10906
10949
  if (dirty[0] &
10907
10950
  /*isDisabled, variant, type, isError*/
10908
10951
  6291586) {
10909
- toggle_class(div0, "error",
10952
+ toggle_class(div2, "error",
10910
10953
  /*isError*/
10911
10954
  ctx[22]);
10912
10955
  }
10913
10956
 
10914
10957
  if (dirty[0] &
10915
10958
  /*mt, mr, mb, ml, width*/
10916
- 983552 && div1_style_value !== (div1_style_value = `
10959
+ 983552 && div3_style_value !== (div3_style_value = `
10917
10960
  ${calculateMargin(
10918
10961
  /*mt*/
10919
10962
  ctx[16],
@@ -10927,7 +10970,7 @@
10927
10970
  /*width*/
10928
10971
  ctx[9]};
10929
10972
  `)) {
10930
- attr(div1, "style", div1_style_value);
10973
+ attr(div3, "style", div3_style_value);
10931
10974
  }
10932
10975
  },
10933
10976
 
@@ -10935,7 +10978,7 @@
10935
10978
  o: noop,
10936
10979
 
10937
10980
  d(detaching) {
10938
- if (detaching) detach(div1);
10981
+ if (detaching) detach(div3);
10939
10982
  if (if_block0) if_block0.d();
10940
10983
  if (if_block1) if_block1.d();
10941
10984
  /*input_binding*/
@@ -11054,6 +11097,12 @@
11054
11097
  $$invalidate(0, value = ee.value);
11055
11098
  }
11056
11099
 
11100
+ onMount(() => {
11101
+ if (prefix != "" || suffix != "") {
11102
+ console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.");
11103
+ }
11104
+ });
11105
+
11057
11106
  function input_binding($$value) {
11058
11107
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
11059
11108
  inputEl = $$value;
@@ -11147,7 +11196,7 @@
11147
11196
  class Input extends SvelteElement {
11148
11197
  constructor(options) {
11149
11198
  super();
11150
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[type="text"],input[type="date"],input[type="time"],input[type="datetime-local"],input[type="number"]{font-family:var(--font-family)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix{background-color:var(--color-gray-100);padding:0 0.75rem;display:flex;align-items:center}.prefix{border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius);border-right:1px solid var(--color-gray-600)}.suffix{border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius);border-left:1px solid var(--color-gray-600)}.goa-input--disabled .prefix{border-right:1px solid var(--color-gray-200)}.goa-input--disabled .suffix{border-left:1px solid var(--color-gray-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
11199
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[type="text"],input[type="date"],input[type="time"],input[type="datetime-local"],input[type="number"]{font-family:var(--font-family)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--color-gray-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius);border-right:1px solid var(--color-gray-600)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius);border-left:1px solid var(--color-gray-600)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--color-gray-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--color-gray-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
11151
11200
  center center no-repeat}</style>`;
11152
11201
  init(this, {
11153
11202
  target: this.shadowRoot,
@@ -16560,10 +16609,12 @@
16560
16609
  var GoAHeroBanner = function GoAHeroBanner(_a) {
16561
16610
  var heading = _a.heading,
16562
16611
  backgroundUrl = _a.backgroundUrl,
16612
+ minHeight = _a.minHeight,
16563
16613
  children = _a.children;
16564
16614
  return jsxRuntime.jsx("goa-hero-banner", __assign({
16565
16615
  heading: heading,
16566
- backgroundurl: backgroundUrl
16616
+ backgroundurl: backgroundUrl,
16617
+ minheight: minHeight
16567
16618
  }, {
16568
16619
  children: children
16569
16620
  }), void 0);
@@ -16675,6 +16726,8 @@
16675
16726
  mr = _a.mr,
16676
16727
  mb = _a.mb,
16677
16728
  ml = _a.ml,
16729
+ leadingContent = _a.leadingContent,
16730
+ trailingContent = _a.trailingContent,
16678
16731
  onTrailingIconClick = _a.onTrailingIconClick,
16679
16732
  onChange = _a.onChange;
16680
16733
  var ref = react.useRef(null);
@@ -16703,7 +16756,7 @@
16703
16756
  current.removeEventListener("_trailingIconClick", clickListener);
16704
16757
  };
16705
16758
  }, [ref, onChange, onTrailingIconClick]);
16706
- return jsxRuntime.jsx("goa-input", {
16759
+ return jsxRuntime.jsxs("goa-input", __assign({
16707
16760
  ref: ref,
16708
16761
  focused: focused,
16709
16762
  type: type,
@@ -16731,7 +16784,17 @@
16731
16784
  mb: mb,
16732
16785
  ml: ml,
16733
16786
  handletrailingiconclick: !!onTrailingIconClick
16734
- }, void 0);
16787
+ }, {
16788
+ children: [leadingContent && jsxRuntime.jsx("div", __assign({
16789
+ slot: "leadingContent"
16790
+ }, {
16791
+ children: leadingContent
16792
+ }), void 0), trailingContent && jsxRuntime.jsx("div", __assign({
16793
+ slot: "trailingContent"
16794
+ }, {
16795
+ children: trailingContent
16796
+ }), void 0)]
16797
+ }), void 0);
16735
16798
  };
16736
16799
 
16737
16800
  var onDateChangeHandler = function onDateChangeHandler(onChange) {