@abgov/react-components 4.0.0-alpha.121 → 4.0.0-alpha.122

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.
@@ -1193,7 +1193,7 @@
1193
1193
  /* libs/web-components/src/components/accordion/Accordion.svelte generated by Svelte v3.51.0 */
1194
1194
 
1195
1195
 
1196
- function create_fragment$M(ctx) {
1196
+ function create_fragment$N(ctx) {
1197
1197
  let div3;
1198
1198
  let details;
1199
1199
  let summary;
@@ -1396,7 +1396,7 @@
1396
1396
  };
1397
1397
  }
1398
1398
 
1399
- function instance$G($$self, $$props, $$invalidate) {
1399
+ function instance$H($$self, $$props, $$invalidate) {
1400
1400
  let isOpen;
1401
1401
  const [HeadingSizes, validateHeadingSize] = typeValidator("Accordion heading size", ["small", "medium"]);
1402
1402
  let {
@@ -1474,7 +1474,7 @@
1474
1474
  target: this.shadowRoot,
1475
1475
  props: attribute_to_object(this.attributes),
1476
1476
  customElement: true
1477
- }, instance$G, create_fragment$M, safe_not_equal, {
1477
+ }, instance$H, create_fragment$N, safe_not_equal, {
1478
1478
  open: 10,
1479
1479
  heading: 0,
1480
1480
  secondarytext: 1,
@@ -1663,7 +1663,7 @@
1663
1663
  } // (19:4) {#if url}
1664
1664
 
1665
1665
 
1666
- function create_if_block$l(ctx) {
1666
+ function create_if_block$m(ctx) {
1667
1667
  let a;
1668
1668
  let img0;
1669
1669
  let img0_src_value;
@@ -1730,7 +1730,7 @@
1730
1730
  };
1731
1731
  }
1732
1732
 
1733
- function create_fragment$L(ctx) {
1733
+ function create_fragment$M(ctx) {
1734
1734
  let div2;
1735
1735
  let div1;
1736
1736
  let t;
@@ -1740,7 +1740,7 @@
1740
1740
  function select_block_type(ctx, dirty) {
1741
1741
  if (
1742
1742
  /*url*/
1743
- ctx[1]) return create_if_block$l;
1743
+ ctx[1]) return create_if_block$m;
1744
1744
  return create_else_block$8;
1745
1745
  }
1746
1746
 
@@ -1814,7 +1814,7 @@
1814
1814
  };
1815
1815
  }
1816
1816
 
1817
- function instance$F($$self, $$props, $$invalidate) {
1817
+ function instance$G($$self, $$props, $$invalidate) {
1818
1818
  let {
1819
1819
  heading = ""
1820
1820
  } = $$props;
@@ -1846,7 +1846,7 @@
1846
1846
  target: this.shadowRoot,
1847
1847
  props: attribute_to_object(this.attributes),
1848
1848
  customElement: true
1849
- }, instance$F, create_fragment$L, safe_not_equal, {
1849
+ }, instance$G, create_fragment$M, safe_not_equal, {
1850
1850
  heading: 0,
1851
1851
  url: 1,
1852
1852
  testid: 2,
@@ -1974,7 +1974,7 @@
1974
1974
  } // (50:2) {#if content}
1975
1975
 
1976
1976
 
1977
- function create_if_block$k(ctx) {
1977
+ function create_if_block$l(ctx) {
1978
1978
  let div;
1979
1979
  let t;
1980
1980
  return {
@@ -2006,7 +2006,7 @@
2006
2006
  };
2007
2007
  }
2008
2008
 
2009
- function create_fragment$K(ctx) {
2009
+ function create_fragment$L(ctx) {
2010
2010
  let div;
2011
2011
  let t;
2012
2012
  let div_style_value;
@@ -2023,7 +2023,7 @@
2023
2023
  let if_block0 = current_block_type(ctx);
2024
2024
  let if_block1 =
2025
2025
  /*content*/
2026
- ctx[2] && create_if_block$k(ctx);
2026
+ ctx[2] && create_if_block$l(ctx);
2027
2027
  return {
2028
2028
  c() {
2029
2029
  div = element("div");
@@ -2080,7 +2080,7 @@
2080
2080
  if (if_block1) {
2081
2081
  if_block1.p(ctx, dirty);
2082
2082
  } else {
2083
- if_block1 = create_if_block$k(ctx);
2083
+ if_block1 = create_if_block$l(ctx);
2084
2084
  if_block1.c();
2085
2085
  if_block1.m(div, null);
2086
2086
  }
@@ -2142,7 +2142,7 @@
2142
2142
  };
2143
2143
  }
2144
2144
 
2145
- function instance$E($$self, $$props, $$invalidate) {
2145
+ function instance$F($$self, $$props, $$invalidate) {
2146
2146
  let showIcon;
2147
2147
  let iconType;
2148
2148
  const [Types, validateType] = typeValidator("Badge type", ["success", "important", "information", "emergency", "dark", "midtone", "light"], true);
@@ -2222,7 +2222,7 @@
2222
2222
  target: this.shadowRoot,
2223
2223
  props: attribute_to_object(this.attributes),
2224
2224
  customElement: true
2225
- }, instance$E, create_fragment$K, safe_not_equal, {
2225
+ }, instance$F, create_fragment$L, safe_not_equal, {
2226
2226
  type: 0,
2227
2227
  testid: 1,
2228
2228
  content: 2,
@@ -2342,7 +2342,7 @@
2342
2342
  customElements.define("goa-badge", Badge);
2343
2343
  /* libs/web-components/src/components/block/Block.svelte generated by Svelte v3.51.0 */
2344
2344
 
2345
- function create_fragment$J(ctx) {
2345
+ function create_fragment$K(ctx) {
2346
2346
  let div;
2347
2347
  let slot;
2348
2348
  let div_style_value;
@@ -2416,7 +2416,7 @@
2416
2416
  };
2417
2417
  }
2418
2418
 
2419
- function instance$D($$self, $$props, $$invalidate) {
2419
+ function instance$E($$self, $$props, $$invalidate) {
2420
2420
  let {
2421
2421
  gap = "m"
2422
2422
  } = $$props;
@@ -2460,7 +2460,7 @@
2460
2460
  target: this.shadowRoot,
2461
2461
  props: attribute_to_object(this.attributes),
2462
2462
  customElement: true
2463
- }, instance$D, create_fragment$J, safe_not_equal, {
2463
+ }, instance$E, create_fragment$K, safe_not_equal, {
2464
2464
  gap: 0,
2465
2465
  direction: 1,
2466
2466
  alignment: 2,
@@ -2645,7 +2645,7 @@
2645
2645
  } // (46:2) {#if type === "start"}
2646
2646
 
2647
2647
 
2648
- function create_if_block$j(ctx) {
2648
+ function create_if_block$k(ctx) {
2649
2649
  let span;
2650
2650
  let t;
2651
2651
  let goa_icon;
@@ -2766,7 +2766,7 @@
2766
2766
  };
2767
2767
  }
2768
2768
 
2769
- function create_fragment$I(ctx) {
2769
+ function create_fragment$J(ctx) {
2770
2770
  let button;
2771
2771
  let button_class_value;
2772
2772
  let button_style_value;
@@ -2776,7 +2776,7 @@
2776
2776
  function select_block_type(ctx, dirty) {
2777
2777
  if (
2778
2778
  /*type*/
2779
- ctx[0] === "start") return create_if_block$j;
2779
+ ctx[0] === "start") return create_if_block$k;
2780
2780
  return create_else_block$6;
2781
2781
  }
2782
2782
 
@@ -2920,7 +2920,7 @@
2920
2920
  };
2921
2921
  }
2922
2922
 
2923
- function instance$C($$self, $$props, $$invalidate) {
2923
+ function instance$D($$self, $$props, $$invalidate) {
2924
2924
  let isDisabled;
2925
2925
  let isButtonDark;
2926
2926
  const [Types, validateType] = typeValidator("Button type", ["primary", "submit", "secondary", "tertiary", "start"], true);
@@ -3015,7 +3015,7 @@
3015
3015
  target: this.shadowRoot,
3016
3016
  props: attribute_to_object(this.attributes),
3017
3017
  customElement: true
3018
- }, instance$C, create_fragment$I, safe_not_equal, {
3018
+ }, instance$D, create_fragment$J, safe_not_equal, {
3019
3019
  type: 0,
3020
3020
  size: 1,
3021
3021
  variant: 2,
@@ -3171,7 +3171,7 @@
3171
3171
  customElements.define("goa-button", Button);
3172
3172
  /* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.51.0 */
3173
3173
 
3174
- function create_fragment$H(ctx) {
3174
+ function create_fragment$I(ctx) {
3175
3175
  let div;
3176
3176
  let slot;
3177
3177
  let div_style_value;
@@ -3241,7 +3241,7 @@
3241
3241
  };
3242
3242
  }
3243
3243
 
3244
- function instance$B($$self, $$props, $$invalidate) {
3244
+ function instance$C($$self, $$props, $$invalidate) {
3245
3245
  let _alignment;
3246
3246
 
3247
3247
  let {
@@ -3305,7 +3305,7 @@
3305
3305
  target: this.shadowRoot,
3306
3306
  props: attribute_to_object(this.attributes),
3307
3307
  customElement: true
3308
- }, instance$B, create_fragment$H, safe_not_equal, {
3308
+ }, instance$C, create_fragment$I, safe_not_equal, {
3309
3309
  alignment: 7,
3310
3310
  gap: 0,
3311
3311
  testid: 1,
@@ -3413,7 +3413,7 @@
3413
3413
  customElements.define("goa-button-group", ButtonGroup);
3414
3414
  /* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
3415
3415
 
3416
- function create_if_block$i(ctx) {
3416
+ function create_if_block$j(ctx) {
3417
3417
  let h3;
3418
3418
  let t;
3419
3419
  return {
@@ -3444,7 +3444,7 @@
3444
3444
  };
3445
3445
  }
3446
3446
 
3447
- function create_fragment$G(ctx) {
3447
+ function create_fragment$H(ctx) {
3448
3448
  let div;
3449
3449
  let span0;
3450
3450
  let goa_icon;
@@ -3457,7 +3457,7 @@
3457
3457
  let div_style_value;
3458
3458
  let if_block =
3459
3459
  /*heading*/
3460
- ctx[5] && create_if_block$i(ctx);
3460
+ ctx[5] && create_if_block$j(ctx);
3461
3461
  return {
3462
3462
  c() {
3463
3463
  div = element("div");
@@ -3536,7 +3536,7 @@
3536
3536
  if (if_block) {
3537
3537
  if_block.p(ctx, dirty);
3538
3538
  } else {
3539
- if_block = create_if_block$i(ctx);
3539
+ if_block = create_if_block$j(ctx);
3540
3540
  if_block.c();
3541
3541
  if_block.m(span1, t1);
3542
3542
  }
@@ -3579,7 +3579,7 @@
3579
3579
  };
3580
3580
  }
3581
3581
 
3582
- function instance$A($$self, $$props, $$invalidate) {
3582
+ function instance$B($$self, $$props, $$invalidate) {
3583
3583
  let iconType;
3584
3584
  const [Types, validateType] = typeValidator("Callout type", ["emergency", "important", "information", "event", "success"], true);
3585
3585
  let {
@@ -3636,7 +3636,7 @@
3636
3636
  target: this.shadowRoot,
3637
3637
  props: attribute_to_object(this.attributes),
3638
3638
  customElement: true
3639
- }, instance$A, create_fragment$G, safe_not_equal, {
3639
+ }, instance$B, create_fragment$H, safe_not_equal, {
3640
3640
  mt: 0,
3641
3641
  mr: 1,
3642
3642
  mb: 2,
@@ -3744,7 +3744,7 @@
3744
3744
  customElements.define("goa-callout", Callout);
3745
3745
  /* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.51.0 */
3746
3746
 
3747
- function create_fragment$F(ctx) {
3747
+ function create_fragment$G(ctx) {
3748
3748
  let goa_card_content;
3749
3749
  return {
3750
3750
  c() {
@@ -3775,7 +3775,7 @@
3775
3775
  target: this.shadowRoot,
3776
3776
  props: attribute_to_object(this.attributes),
3777
3777
  customElement: true
3778
- }, null, create_fragment$F, safe_not_equal, {}, null);
3778
+ }, null, create_fragment$G, safe_not_equal, {}, null);
3779
3779
 
3780
3780
  if (options) {
3781
3781
  if (options.target) {
@@ -3789,7 +3789,7 @@
3789
3789
  customElements.define("goa-card-actions", CardActions);
3790
3790
  /* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
3791
3791
 
3792
- function create_fragment$E(ctx) {
3792
+ function create_fragment$F(ctx) {
3793
3793
  let div;
3794
3794
  let slot;
3795
3795
  let div_style_value;
@@ -3868,7 +3868,7 @@
3868
3868
  };
3869
3869
  }
3870
3870
 
3871
- function instance$z($$self, $$props, $$invalidate) {
3871
+ function instance$A($$self, $$props, $$invalidate) {
3872
3872
  let {
3873
3873
  elevation = 0
3874
3874
  } = $$props;
@@ -3916,7 +3916,7 @@
3916
3916
  target: this.shadowRoot,
3917
3917
  props: attribute_to_object(this.attributes),
3918
3918
  customElement: true
3919
- }, instance$z, create_fragment$E, safe_not_equal, {
3919
+ }, instance$A, create_fragment$F, safe_not_equal, {
3920
3920
  elevation: 0,
3921
3921
  width: 1,
3922
3922
  height: 2,
@@ -4036,7 +4036,7 @@
4036
4036
  customElements.define("goa-card", Card);
4037
4037
  /* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
4038
4038
 
4039
- function create_fragment$D(ctx) {
4039
+ function create_fragment$E(ctx) {
4040
4040
  let div;
4041
4041
  return {
4042
4042
  c() {
@@ -4069,7 +4069,7 @@
4069
4069
  target: this.shadowRoot,
4070
4070
  props: attribute_to_object(this.attributes),
4071
4071
  customElement: true
4072
- }, null, create_fragment$D, safe_not_equal, {}, null);
4072
+ }, null, create_fragment$E, safe_not_equal, {}, null);
4073
4073
 
4074
4074
  if (options) {
4075
4075
  if (options.target) {
@@ -4083,7 +4083,7 @@
4083
4083
  customElements.define("goa-card-content", CardContent);
4084
4084
  /* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
4085
4085
 
4086
- function create_fragment$C(ctx) {
4086
+ function create_fragment$D(ctx) {
4087
4087
  let div;
4088
4088
  return {
4089
4089
  c() {
@@ -4116,7 +4116,7 @@
4116
4116
  target: this.shadowRoot,
4117
4117
  props: attribute_to_object(this.attributes),
4118
4118
  customElement: true
4119
- }, null, create_fragment$C, safe_not_equal, {}, null);
4119
+ }, null, create_fragment$D, safe_not_equal, {}, null);
4120
4120
 
4121
4121
  if (options) {
4122
4122
  if (options.target) {
@@ -4130,7 +4130,7 @@
4130
4130
  customElements.define("goa-card-group", CardGroup);
4131
4131
  /* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
4132
4132
 
4133
- function create_fragment$B(ctx) {
4133
+ function create_fragment$C(ctx) {
4134
4134
  let div;
4135
4135
  return {
4136
4136
  c() {
@@ -4178,7 +4178,7 @@
4178
4178
  };
4179
4179
  }
4180
4180
 
4181
- function instance$y($$self, $$props, $$invalidate) {
4181
+ function instance$z($$self, $$props, $$invalidate) {
4182
4182
  let {
4183
4183
  src
4184
4184
  } = $$props;
@@ -4202,7 +4202,7 @@
4202
4202
  target: this.shadowRoot,
4203
4203
  props: attribute_to_object(this.attributes),
4204
4204
  customElement: true
4205
- }, instance$y, create_fragment$B, safe_not_equal, {
4205
+ }, instance$z, create_fragment$C, safe_not_equal, {
4206
4206
  src: 0,
4207
4207
  height: 1
4208
4208
  }, null);
@@ -4277,7 +4277,7 @@
4277
4277
  } // (68:4) {#if isIndeterminate}
4278
4278
 
4279
4279
 
4280
- function create_if_block$h(ctx) {
4280
+ function create_if_block$i(ctx) {
4281
4281
  let svg;
4282
4282
  let rect;
4283
4283
  return {
@@ -4304,7 +4304,7 @@
4304
4304
  };
4305
4305
  }
4306
4306
 
4307
- function create_fragment$A(ctx) {
4307
+ function create_fragment$B(ctx) {
4308
4308
  let label;
4309
4309
  let div0;
4310
4310
  let input;
@@ -4322,7 +4322,7 @@
4322
4322
  function select_block_type(ctx, dirty) {
4323
4323
  if (
4324
4324
  /*isIndeterminate*/
4325
- ctx[10]) return create_if_block$h;
4325
+ ctx[10]) return create_if_block$i;
4326
4326
  if (
4327
4327
  /*isChecked*/
4328
4328
  ctx[9]) return create_if_block_1$a;
@@ -4553,7 +4553,7 @@
4553
4553
  };
4554
4554
  }
4555
4555
 
4556
- function instance$x($$self, $$props, $$invalidate) {
4556
+ function instance$y($$self, $$props, $$invalidate) {
4557
4557
  let isDisabled;
4558
4558
  let isError;
4559
4559
  let isChecked;
@@ -4668,7 +4668,7 @@
4668
4668
  target: this.shadowRoot,
4669
4669
  props: attribute_to_object(this.attributes),
4670
4670
  customElement: true
4671
- }, instance$x, create_fragment$A, safe_not_equal, {
4671
+ }, instance$y, create_fragment$B, safe_not_equal, {
4672
4672
  name: 0,
4673
4673
  checked: 14,
4674
4674
  text: 1,
@@ -4870,7 +4870,7 @@
4870
4870
  } // (54:2) {#if _deletable}
4871
4871
 
4872
4872
 
4873
- function create_if_block$g(ctx) {
4873
+ function create_if_block$h(ctx) {
4874
4874
  let goa_icon;
4875
4875
  let goa_icon_fillcolor_value;
4876
4876
  let goa_icon_opacity_value;
@@ -4926,7 +4926,7 @@
4926
4926
  };
4927
4927
  }
4928
4928
 
4929
- function create_fragment$z(ctx) {
4929
+ function create_fragment$A(ctx) {
4930
4930
  let div1;
4931
4931
  let t0;
4932
4932
  let div0;
@@ -4940,7 +4940,7 @@
4940
4940
  ctx[4] && create_if_block_1$9(ctx);
4941
4941
  let if_block1 =
4942
4942
  /*_deletable*/
4943
- ctx[11] && create_if_block$g(ctx);
4943
+ ctx[11] && create_if_block$h(ctx);
4944
4944
  return {
4945
4945
  c() {
4946
4946
  div1 = element("div");
@@ -5035,7 +5035,7 @@
5035
5035
  if (if_block1) {
5036
5036
  if_block1.p(ctx, dirty);
5037
5037
  } else {
5038
- if_block1 = create_if_block$g(ctx);
5038
+ if_block1 = create_if_block$h(ctx);
5039
5039
  if_block1.c();
5040
5040
  if_block1.m(div1, null);
5041
5041
  }
@@ -5108,7 +5108,7 @@
5108
5108
  };
5109
5109
  }
5110
5110
 
5111
- function instance$w($$self, $$props, $$invalidate) {
5111
+ function instance$x($$self, $$props, $$invalidate) {
5112
5112
  let {
5113
5113
  mt = null
5114
5114
  } = $$props;
@@ -5209,7 +5209,7 @@
5209
5209
  target: this.shadowRoot,
5210
5210
  props: attribute_to_object(this.attributes),
5211
5211
  customElement: true
5212
- }, instance$w, create_fragment$z, safe_not_equal, {
5212
+ }, instance$x, create_fragment$A, safe_not_equal, {
5213
5213
  mt: 0,
5214
5214
  mr: 1,
5215
5215
  mb: 2,
@@ -5463,7 +5463,7 @@
5463
5463
  /* libs/web-components/src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.51.0 */
5464
5464
 
5465
5465
 
5466
- function create_if_block$f(ctx) {
5466
+ function create_if_block$g(ctx) {
5467
5467
  let current_block_type_index;
5468
5468
  let if_block;
5469
5469
  let if_block_anchor;
@@ -5834,12 +5834,12 @@
5834
5834
  };
5835
5835
  }
5836
5836
 
5837
- function create_fragment$y(ctx) {
5837
+ function create_fragment$z(ctx) {
5838
5838
  let if_block_anchor;
5839
5839
  let current;
5840
5840
  let if_block =
5841
5841
  /*isVisible*/
5842
- ctx[5] && create_if_block$f(ctx);
5842
+ ctx[5] && create_if_block$g(ctx);
5843
5843
  return {
5844
5844
  c() {
5845
5845
  if (if_block) if_block.c();
@@ -5866,7 +5866,7 @@
5866
5866
  transition_in(if_block, 1);
5867
5867
  }
5868
5868
  } else {
5869
- if_block = create_if_block$f(ctx);
5869
+ if_block = create_if_block$g(ctx);
5870
5870
  if_block.c();
5871
5871
  transition_in(if_block, 1);
5872
5872
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -5899,7 +5899,7 @@
5899
5899
  };
5900
5900
  }
5901
5901
 
5902
- function instance$v($$self, $$props, $$invalidate) {
5902
+ function instance$w($$self, $$props, $$invalidate) {
5903
5903
  let isVisible;
5904
5904
  const [Variants, validateVariant] = typeValidator("Circular progress variant", ["fullscreen", "inline"]);
5905
5905
  const [Sizes, validateSize] = typeValidator("Button size", ["small", "large"]);
@@ -5957,7 +5957,7 @@
5957
5957
  target: this.shadowRoot,
5958
5958
  props: attribute_to_object(this.attributes),
5959
5959
  customElement: true
5960
- }, instance$v, create_fragment$y, safe_not_equal, {
5960
+ }, instance$w, create_fragment$z, safe_not_equal, {
5961
5961
  variant: 6,
5962
5962
  size: 7,
5963
5963
  message: 0,
@@ -6041,7 +6041,7 @@
6041
6041
  customElements.define("goa-circular-progress", CircularProgress);
6042
6042
  /* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.51.0 */
6043
6043
 
6044
- function create_fragment$x(ctx) {
6044
+ function create_fragment$y(ctx) {
6045
6045
  let div3;
6046
6046
  let header;
6047
6047
  let div0;
@@ -6166,7 +6166,7 @@
6166
6166
  };
6167
6167
  }
6168
6168
 
6169
- function instance$u($$self, $$props, $$invalidate) {
6169
+ function instance$v($$self, $$props, $$invalidate) {
6170
6170
  const [Types, validateType] = typeValidator("Container type", ["interactive", "info", "error", "success", "important", "non-interactive"]);
6171
6171
  const [Accents, validateAccent] = typeValidator("Container accent", ["thick", "thin", "filled"]);
6172
6172
  const [Paddings, validatePadding] = typeValidator("Container padding", ["relaxed", "compact"]);
@@ -6222,7 +6222,7 @@
6222
6222
  target: this.shadowRoot,
6223
6223
  props: attribute_to_object(this.attributes),
6224
6224
  customElement: true
6225
- }, instance$u, create_fragment$x, safe_not_equal, {
6225
+ }, instance$v, create_fragment$y, safe_not_equal, {
6226
6226
  type: 0,
6227
6227
  accent: 1,
6228
6228
  padding: 2,
@@ -6342,7 +6342,7 @@
6342
6342
  customElements.define("goa-container", Container);
6343
6343
  /* libs/web-components/src/components/details/Details.svelte generated by Svelte v3.51.0 */
6344
6344
 
6345
- function create_fragment$w(ctx) {
6345
+ function create_fragment$x(ctx) {
6346
6346
  let details;
6347
6347
  let summary;
6348
6348
  let goa_icon;
@@ -6442,7 +6442,7 @@
6442
6442
  };
6443
6443
  }
6444
6444
 
6445
- function instance$t($$self, $$props, $$invalidate) {
6445
+ function instance$u($$self, $$props, $$invalidate) {
6446
6446
  let {
6447
6447
  heading
6448
6448
  } = $$props;
@@ -6502,7 +6502,7 @@
6502
6502
  target: this.shadowRoot,
6503
6503
  props: attribute_to_object(this.attributes),
6504
6504
  customElement: true
6505
- }, instance$t, create_fragment$w, safe_not_equal, {
6505
+ }, instance$u, create_fragment$x, safe_not_equal, {
6506
6506
  heading: 0,
6507
6507
  mt: 1,
6508
6508
  mr: 2,
@@ -6586,7 +6586,7 @@
6586
6586
  customElements.define("goa-details", Details);
6587
6587
  /* libs/web-components/src/components/divider/Divider.svelte generated by Svelte v3.51.0 */
6588
6588
 
6589
- function create_fragment$v(ctx) {
6589
+ function create_fragment$w(ctx) {
6590
6590
  let hr;
6591
6591
  let hr_style_value;
6592
6592
  return {
@@ -6645,7 +6645,7 @@
6645
6645
  };
6646
6646
  }
6647
6647
 
6648
- function instance$s($$self, $$props, $$invalidate) {
6648
+ function instance$t($$self, $$props, $$invalidate) {
6649
6649
  let {
6650
6650
  testid = ""
6651
6651
  } = $$props;
@@ -6681,7 +6681,7 @@
6681
6681
  target: this.shadowRoot,
6682
6682
  props: attribute_to_object(this.attributes),
6683
6683
  customElement: true
6684
- }, instance$s, create_fragment$v, safe_not_equal, {
6684
+ }, instance$t, create_fragment$w, safe_not_equal, {
6685
6685
  testid: 0,
6686
6686
  mt: 1,
6687
6687
  mr: 2,
@@ -7048,7 +7048,7 @@
7048
7048
  } // (237:2) {#if _native}
7049
7049
 
7050
7050
 
7051
- function create_if_block$e(ctx) {
7051
+ function create_if_block$f(ctx) {
7052
7052
  let select;
7053
7053
  let slot;
7054
7054
  let select_aria_label_value;
@@ -7471,7 +7471,7 @@
7471
7471
  };
7472
7472
  }
7473
7473
 
7474
- function create_fragment$u(ctx) {
7474
+ function create_fragment$v(ctx) {
7475
7475
  let div;
7476
7476
  let div_data_testid_value;
7477
7477
  let div_style_value;
@@ -7479,7 +7479,7 @@
7479
7479
  function select_block_type(ctx, dirty) {
7480
7480
  if (
7481
7481
  /*_native*/
7482
- ctx[22]) return create_if_block$e;
7482
+ ctx[22]) return create_if_block$f;
7483
7483
  return create_else_block$5;
7484
7484
  }
7485
7485
 
@@ -7588,7 +7588,7 @@
7588
7588
  };
7589
7589
  }
7590
7590
 
7591
- function instance$r($$self, $$props, $$invalidate) {
7591
+ function instance$s($$self, $$props, $$invalidate) {
7592
7592
  const showMenu = _async(function () {
7593
7593
  if (_disabled || _isMenuVisible) {
7594
7594
  return;
@@ -7980,7 +7980,7 @@
7980
7980
  target: this.shadowRoot,
7981
7981
  props: attribute_to_object(this.attributes),
7982
7982
  customElement: true
7983
- }, instance$r, create_fragment$u, safe_not_equal, {
7983
+ }, instance$s, create_fragment$v, safe_not_equal, {
7984
7984
  name: 0,
7985
7985
  arialabel: 1,
7986
7986
  value: 28,
@@ -8184,7 +8184,7 @@
8184
8184
  customElements.define("goa-dropdown", Dropdown);
8185
8185
  /* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.51.0 */
8186
8186
 
8187
- function create_fragment$t(ctx) {
8187
+ function create_fragment$u(ctx) {
8188
8188
  return {
8189
8189
  c() {
8190
8190
  this.c = noop;
@@ -8205,7 +8205,7 @@
8205
8205
  target: this.shadowRoot,
8206
8206
  props: attribute_to_object(this.attributes),
8207
8207
  customElement: true
8208
- }, null, create_fragment$t, safe_not_equal, {}, null);
8208
+ }, null, create_fragment$u, safe_not_equal, {}, null);
8209
8209
 
8210
8210
  if (options) {
8211
8211
  if (options.target) {
@@ -8219,7 +8219,7 @@
8219
8219
  customElements.define("goa-dropdown-item", DropdownItem);
8220
8220
  /* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.51.0 */
8221
8221
 
8222
- function create_fragment$s(ctx) {
8222
+ function create_fragment$t(ctx) {
8223
8223
  let div;
8224
8224
  return {
8225
8225
  c() {
@@ -8279,7 +8279,7 @@
8279
8279
  }
8280
8280
  }
8281
8281
 
8282
- function instance$q($$self, $$props, $$invalidate) {
8282
+ function instance$r($$self, $$props, $$invalidate) {
8283
8283
  let isActive;
8284
8284
  let {
8285
8285
  active
@@ -8448,7 +8448,7 @@
8448
8448
  target: this.shadowRoot,
8449
8449
  props: attribute_to_object(this.attributes),
8450
8450
  customElement: true
8451
- }, instance$q, create_fragment$s, safe_not_equal, {
8451
+ }, instance$r, create_fragment$t, safe_not_equal, {
8452
8452
  active: 1
8453
8453
  }, null);
8454
8454
 
@@ -8484,7 +8484,7 @@
8484
8484
  customElements.define("goa-focus-trap", FocusTrap);
8485
8485
  /* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
8486
8486
 
8487
- function create_if_block$d(ctx) {
8487
+ function create_if_block$e(ctx) {
8488
8488
  let goa_divider;
8489
8489
  return {
8490
8490
  c() {
@@ -8503,7 +8503,7 @@
8503
8503
  };
8504
8504
  }
8505
8505
 
8506
- function create_fragment$r(ctx) {
8506
+ function create_fragment$s(ctx) {
8507
8507
  let div5;
8508
8508
  let div4;
8509
8509
  let div0;
@@ -8521,7 +8521,7 @@
8521
8521
  /*navLinks*/
8522
8522
  ctx[2] &&
8523
8523
  /*navLinks*/
8524
- ctx[2].length > 0 && create_if_block$d();
8524
+ ctx[2].length > 0 && create_if_block$e();
8525
8525
  return {
8526
8526
  c() {
8527
8527
  div5 = element("div");
@@ -8594,7 +8594,7 @@
8594
8594
  /*navLinks*/
8595
8595
  ctx[2].length > 0) {
8596
8596
  if (if_block) ;else {
8597
- if_block = create_if_block$d();
8597
+ if_block = create_if_block$e();
8598
8598
  if_block.c();
8599
8599
  if_block.m(div4, t1);
8600
8600
  }
@@ -8646,7 +8646,7 @@
8646
8646
  };
8647
8647
  }
8648
8648
 
8649
- function instance$p($$self, $$props, $$invalidate) {
8649
+ function instance$q($$self, $$props, $$invalidate) {
8650
8650
  let {
8651
8651
  maxcontentwidth = ""
8652
8652
  } = $$props;
@@ -8685,7 +8685,7 @@
8685
8685
  target: this.shadowRoot,
8686
8686
  props: attribute_to_object(this.attributes),
8687
8687
  customElement: true
8688
- }, instance$p, create_fragment$r, safe_not_equal, {
8688
+ }, instance$q, create_fragment$s, safe_not_equal, {
8689
8689
  maxcontentwidth: 0
8690
8690
  }, null);
8691
8691
 
@@ -8775,7 +8775,7 @@
8775
8775
  };
8776
8776
  }
8777
8777
 
8778
- function create_fragment$q(ctx) {
8778
+ function create_fragment$r(ctx) {
8779
8779
  let section;
8780
8780
  let div;
8781
8781
  let t;
@@ -8863,7 +8863,7 @@
8863
8863
  };
8864
8864
  }
8865
8865
 
8866
- function instance$o($$self, $$props, $$invalidate) {
8866
+ function instance$p($$self, $$props, $$invalidate) {
8867
8867
  let rootEl;
8868
8868
  let children = [];
8869
8869
  onMount(function () {
@@ -8898,7 +8898,7 @@
8898
8898
  target: this.shadowRoot,
8899
8899
  props: attribute_to_object(this.attributes),
8900
8900
  customElement: true
8901
- }, instance$o, create_fragment$q, safe_not_equal, {}, null);
8901
+ }, instance$p, create_fragment$r, safe_not_equal, {}, null);
8902
8902
 
8903
8903
  if (options) {
8904
8904
  if (options.target) {
@@ -8919,7 +8919,7 @@
8919
8919
  } // (31:2) {#if heading}
8920
8920
 
8921
8921
 
8922
- function create_if_block$c(ctx) {
8922
+ function create_if_block$d(ctx) {
8923
8923
  let div;
8924
8924
  let t0;
8925
8925
  let t1;
@@ -9008,7 +9008,7 @@
9008
9008
  };
9009
9009
  }
9010
9010
 
9011
- function create_fragment$p(ctx) {
9011
+ function create_fragment$q(ctx) {
9012
9012
  let section;
9013
9013
  let t0;
9014
9014
  let div;
@@ -9017,7 +9017,7 @@
9017
9017
  let ul_style_value;
9018
9018
  let if_block =
9019
9019
  /*heading*/
9020
- ctx[0] && create_if_block$c(ctx);
9020
+ ctx[0] && create_if_block$d(ctx);
9021
9021
  let each_value =
9022
9022
  /*children*/
9023
9023
  ctx[3];
@@ -9084,7 +9084,7 @@
9084
9084
  if (if_block) {
9085
9085
  if_block.p(ctx, dirty);
9086
9086
  } else {
9087
- if_block = create_if_block$c(ctx);
9087
+ if_block = create_if_block$d(ctx);
9088
9088
  if_block.c();
9089
9089
  if_block.m(section, t0);
9090
9090
  }
@@ -9155,7 +9155,7 @@
9155
9155
  };
9156
9156
  }
9157
9157
 
9158
- function instance$n($$self, $$props, $$invalidate) {
9158
+ function instance$o($$self, $$props, $$invalidate) {
9159
9159
  let {
9160
9160
  heading = ""
9161
9161
  } = $$props;
@@ -9207,7 +9207,7 @@
9207
9207
  target: this.shadowRoot,
9208
9208
  props: attribute_to_object(this.attributes),
9209
9209
  customElement: true
9210
- }, instance$n, create_fragment$p, safe_not_equal, {
9210
+ }, instance$o, create_fragment$q, safe_not_equal, {
9211
9211
  heading: 0,
9212
9212
  maxcolumncount: 1
9213
9213
  }, null);
@@ -9405,7 +9405,7 @@
9405
9405
  } // (48:2) {#if helptext}
9406
9406
 
9407
9407
 
9408
- function create_if_block$b(ctx) {
9408
+ function create_if_block$c(ctx) {
9409
9409
  let div;
9410
9410
  let t;
9411
9411
  return {
@@ -9437,7 +9437,7 @@
9437
9437
  };
9438
9438
  }
9439
9439
 
9440
- function create_fragment$o(ctx) {
9440
+ function create_fragment$p(ctx) {
9441
9441
  let div1;
9442
9442
  let t0;
9443
9443
  let div0;
@@ -9452,7 +9452,7 @@
9452
9452
  ctx[7] && create_if_block_1$6(ctx);
9453
9453
  let if_block2 =
9454
9454
  /*helptext*/
9455
- ctx[6] && create_if_block$b(ctx);
9455
+ ctx[6] && create_if_block$c(ctx);
9456
9456
  return {
9457
9457
  c() {
9458
9458
  div1 = element("div");
@@ -9529,7 +9529,7 @@
9529
9529
  if (if_block2) {
9530
9530
  if_block2.p(ctx, dirty);
9531
9531
  } else {
9532
- if_block2 = create_if_block$b(ctx);
9532
+ if_block2 = create_if_block$c(ctx);
9533
9533
  if_block2.c();
9534
9534
  if_block2.m(div1, null);
9535
9535
  }
@@ -9574,7 +9574,7 @@
9574
9574
  };
9575
9575
  }
9576
9576
 
9577
- function instance$m($$self, $$props, $$invalidate) {
9577
+ function instance$n($$self, $$props, $$invalidate) {
9578
9578
  const [REQUIREMENT_TYPES, validateRequirementType] = typeValidator("Requirement type", ["optional", "required"], false);
9579
9579
  let {
9580
9580
  testid = ""
@@ -9630,7 +9630,7 @@
9630
9630
  target: this.shadowRoot,
9631
9631
  props: attribute_to_object(this.attributes),
9632
9632
  customElement: true
9633
- }, instance$m, create_fragment$o, safe_not_equal, {
9633
+ }, instance$n, create_fragment$p, safe_not_equal, {
9634
9634
  testid: 0,
9635
9635
  mt: 1,
9636
9636
  mr: 2,
@@ -9762,7 +9762,7 @@
9762
9762
  customElements.define("goa-form-item", FormItem);
9763
9763
  /* libs/web-components/src/components/grid/Grid.svelte generated by Svelte v3.51.0 */
9764
9764
 
9765
- function create_fragment$n(ctx) {
9765
+ function create_fragment$o(ctx) {
9766
9766
  let div;
9767
9767
  let slot;
9768
9768
  let div_style_value;
@@ -9830,7 +9830,7 @@
9830
9830
  };
9831
9831
  }
9832
9832
 
9833
- function instance$l($$self, $$props, $$invalidate) {
9833
+ function instance$m($$self, $$props, $$invalidate) {
9834
9834
  let {
9835
9835
  gap = "m"
9836
9836
  } = $$props;
@@ -9875,7 +9875,7 @@
9875
9875
  target: this.shadowRoot,
9876
9876
  props: attribute_to_object(this.attributes),
9877
9877
  customElement: true
9878
- }, instance$l, create_fragment$n, safe_not_equal, {
9878
+ }, instance$m, create_fragment$o, safe_not_equal, {
9879
9879
  gap: 0,
9880
9880
  minchildwidth: 1,
9881
9881
  mt: 2,
@@ -9971,7 +9971,7 @@
9971
9971
  customElements.define("goa-grid", Grid);
9972
9972
  /* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.51.0 */
9973
9973
 
9974
- function create_fragment$m(ctx) {
9974
+ function create_fragment$n(ctx) {
9975
9975
  let div1;
9976
9976
  let goa_page_block;
9977
9977
  let h1;
@@ -10056,7 +10056,7 @@
10056
10056
  };
10057
10057
  }
10058
10058
 
10059
- function instance$k($$self, $$props, $$invalidate) {
10059
+ function instance$l($$self, $$props, $$invalidate) {
10060
10060
  let {
10061
10061
  heading
10062
10062
  } = $$props;
@@ -10084,7 +10084,7 @@
10084
10084
  target: this.shadowRoot,
10085
10085
  props: attribute_to_object(this.attributes),
10086
10086
  customElement: true
10087
- }, instance$k, create_fragment$m, safe_not_equal, {
10087
+ }, instance$l, create_fragment$n, safe_not_equal, {
10088
10088
  heading: 0,
10089
10089
  backgroundurl: 1,
10090
10090
  minheight: 2
@@ -10144,7 +10144,7 @@
10144
10144
  customElements.define("goa-hero-banner", HeroBanner);
10145
10145
  /* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.51.0 */
10146
10146
 
10147
- function create_fragment$l(ctx) {
10147
+ function create_fragment$m(ctx) {
10148
10148
  let button;
10149
10149
  let goa_icon;
10150
10150
  let button_style_value;
@@ -10316,7 +10316,7 @@
10316
10316
  }));
10317
10317
  }
10318
10318
 
10319
- function instance$j($$self, $$props, $$invalidate) {
10319
+ function instance$k($$self, $$props, $$invalidate) {
10320
10320
  let css;
10321
10321
  let isDisabled;
10322
10322
  let isInverted;
@@ -10421,7 +10421,7 @@
10421
10421
  target: this.shadowRoot,
10422
10422
  props: attribute_to_object(this.attributes),
10423
10423
  customElement: true
10424
- }, instance$j, create_fragment$l, safe_not_equal, {
10424
+ }, instance$k, create_fragment$m, safe_not_equal, {
10425
10425
  icon: 0,
10426
10426
  size: 1,
10427
10427
  theme: 2,
@@ -10589,7 +10589,7 @@
10589
10589
  customElements.define("goa-icon-button", IconButton);
10590
10590
  /* libs/web-components/src/components/icon/Icon.svelte generated by Svelte v3.51.0 */
10591
10591
 
10592
- function create_if_block$a(ctx) {
10592
+ function create_if_block$b(ctx) {
10593
10593
  let show_if;
10594
10594
  let if_block_anchor;
10595
10595
 
@@ -10735,12 +10735,12 @@
10735
10735
  };
10736
10736
  }
10737
10737
 
10738
- function create_fragment$k(ctx) {
10738
+ function create_fragment$l(ctx) {
10739
10739
  let div;
10740
10740
  let div_style_value;
10741
10741
  let if_block =
10742
10742
  /*type*/
10743
- ctx[4] && create_if_block$a(ctx);
10743
+ ctx[4] && create_if_block$b(ctx);
10744
10744
  return {
10745
10745
  c() {
10746
10746
  div = element("div");
@@ -10793,7 +10793,7 @@
10793
10793
  if (if_block) {
10794
10794
  if_block.p(ctx, dirty);
10795
10795
  } else {
10796
- if_block = create_if_block$a(ctx);
10796
+ if_block = create_if_block$b(ctx);
10797
10797
  if_block.c();
10798
10798
  if_block.m(div, null);
10799
10799
  }
@@ -10866,7 +10866,7 @@
10866
10866
  };
10867
10867
  }
10868
10868
 
10869
- function instance$i($$self, $$props, $$invalidate) {
10869
+ function instance$j($$self, $$props, $$invalidate) {
10870
10870
  let isInverted;
10871
10871
 
10872
10872
  let _size;
@@ -10968,7 +10968,7 @@
10968
10968
  target: this.shadowRoot,
10969
10969
  props: attribute_to_object(this.attributes),
10970
10970
  customElement: true
10971
- }, instance$i, create_fragment$k, safe_not_equal, {
10971
+ }, instance$j, create_fragment$l, safe_not_equal, {
10972
10972
  mt: 0,
10973
10973
  mr: 1,
10974
10974
  mb: 2,
@@ -11305,7 +11305,7 @@
11305
11305
  } // (161:4) {#if suffix}
11306
11306
 
11307
11307
 
11308
- function create_if_block$9(ctx) {
11308
+ function create_if_block$a(ctx) {
11309
11309
  let span;
11310
11310
  let t;
11311
11311
  return {
@@ -11337,7 +11337,7 @@
11337
11337
  };
11338
11338
  }
11339
11339
 
11340
- function create_fragment$j(ctx) {
11340
+ function create_fragment$k(ctx) {
11341
11341
  let div3;
11342
11342
  let div2;
11343
11343
  let t0;
@@ -11375,7 +11375,7 @@
11375
11375
  ctx[24] && create_if_block_1$4(ctx);
11376
11376
  let if_block4 =
11377
11377
  /*suffix*/
11378
- ctx[15] && create_if_block$9(ctx);
11378
+ ctx[15] && create_if_block$a(ctx);
11379
11379
  return {
11380
11380
  c() {
11381
11381
  div3 = element("div");
@@ -11696,7 +11696,7 @@
11696
11696
  if (if_block4) {
11697
11697
  if_block4.p(ctx, dirty);
11698
11698
  } else {
11699
- if_block4 = create_if_block$9(ctx);
11699
+ if_block4 = create_if_block$a(ctx);
11700
11700
  if_block4.c();
11701
11701
  if_block4.m(div2, t6);
11702
11702
  }
@@ -11776,7 +11776,7 @@
11776
11776
  }));
11777
11777
  }
11778
11778
 
11779
- function instance$h($$self, $$props, $$invalidate) {
11779
+ function instance$i($$self, $$props, $$invalidate) {
11780
11780
  let handlesTrailingIconClick;
11781
11781
  let isFocused;
11782
11782
  let isReadonly;
@@ -11996,7 +11996,7 @@
11996
11996
  target: this.shadowRoot,
11997
11997
  props: attribute_to_object(this.attributes),
11998
11998
  customElement: true
11999
- }, instance$h, create_fragment$j, safe_not_equal, {
11999
+ }, instance$i, create_fragment$k, safe_not_equal, {
12000
12000
  type: 1,
12001
12001
  name: 2,
12002
12002
  value: 0,
@@ -12494,7 +12494,7 @@
12494
12494
  } // (56:2) {#if version}
12495
12495
 
12496
12496
 
12497
- function create_if_block$8(ctx) {
12497
+ function create_if_block$9(ctx) {
12498
12498
  let div;
12499
12499
  let t;
12500
12500
  return {
@@ -12527,7 +12527,7 @@
12527
12527
  };
12528
12528
  }
12529
12529
 
12530
- function create_fragment$i(ctx) {
12530
+ function create_fragment$j(ctx) {
12531
12531
  let header;
12532
12532
  let t0;
12533
12533
  let show_if = ["alpha", "beta"].includes(
@@ -12542,7 +12542,7 @@
12542
12542
  let if_block1 = show_if && create_if_block_1$3(ctx);
12543
12543
  let if_block2 =
12544
12544
  /*version*/
12545
- ctx[1] && create_if_block$8(ctx);
12545
+ ctx[1] && create_if_block$9(ctx);
12546
12546
  return {
12547
12547
  c() {
12548
12548
  header = element("header");
@@ -12608,7 +12608,7 @@
12608
12608
  if (if_block2) {
12609
12609
  if_block2.p(ctx, dirty);
12610
12610
  } else {
12611
- if_block2 = create_if_block$8(ctx);
12611
+ if_block2 = create_if_block$9(ctx);
12612
12612
  if_block2.c();
12613
12613
  if_block2.m(header, null);
12614
12614
  }
@@ -12636,7 +12636,7 @@
12636
12636
  return val[0].toUpperCase() + val.slice(1);
12637
12637
  }
12638
12638
 
12639
- function instance$g($$self, $$props, $$invalidate) {
12639
+ function instance$h($$self, $$props, $$invalidate) {
12640
12640
  const [Types, validateType] = typeValidator("Microsite header type", ["live", "alpha", "beta"], true);
12641
12641
  let {
12642
12642
  type
@@ -12668,7 +12668,7 @@
12668
12668
  target: this.shadowRoot,
12669
12669
  props: attribute_to_object(this.attributes),
12670
12670
  customElement: true
12671
- }, instance$g, create_fragment$i, safe_not_equal, {
12671
+ }, instance$h, create_fragment$j, safe_not_equal, {
12672
12672
  type: 0,
12673
12673
  version: 1,
12674
12674
  feedbackurl: 2
@@ -12728,7 +12728,7 @@
12728
12728
  customElements.define("goa-microsite-header", MicrositeHeader);
12729
12729
  /* libs/web-components/src/components/modal/Modal.svelte generated by Svelte v3.51.0 */
12730
12730
 
12731
- function create_if_block$7(ctx) {
12731
+ function create_if_block$8(ctx) {
12732
12732
  let goa_focus_trap;
12733
12733
  let div6;
12734
12734
  let div0;
@@ -12768,7 +12768,7 @@
12768
12768
  let if_block1 = current_block_type(ctx);
12769
12769
  let if_block2 =
12770
12770
  /*_isClosable*/
12771
- ctx[7] && create_if_block_1$2(ctx);
12771
+ ctx[8] && create_if_block_1$2(ctx);
12772
12772
  return {
12773
12773
  c() {
12774
12774
  goa_focus_trap = element("goa-focus-trap");
@@ -12835,20 +12835,23 @@
12835
12835
  append(div2, goa_scrollable);
12836
12836
  /*goa_scrollable_binding*/
12837
12837
 
12838
- ctx[14](goa_scrollable);
12838
+ ctx[15](goa_scrollable);
12839
12839
  /*div2_binding*/
12840
12840
 
12841
- ctx[15](div2);
12841
+ ctx[16](div2);
12842
12842
  append(div4, t4);
12843
12843
  append(div4, div3);
12844
+ /*div6_binding*/
12845
+
12846
+ ctx[17](div6);
12844
12847
  current = true;
12845
12848
 
12846
12849
  if (!mounted) {
12847
12850
  dispose = [listen(div0, "click",
12848
12851
  /*close*/
12849
- ctx[10]), listen(goa_scrollable, "_scroll",
12852
+ ctx[11]), listen(goa_scrollable, "_scroll",
12850
12853
  /*handleScroll*/
12851
- ctx[11]), action_destroyer(noscroll_action = noscroll.call(null, div6, {
12854
+ ctx[12]), action_destroyer(noscroll_action = noscroll.call(null, div6, {
12852
12855
  enable:
12853
12856
  /*_isOpen*/
12854
12857
  ctx[6]
@@ -12889,7 +12892,7 @@
12889
12892
 
12890
12893
  if (
12891
12894
  /*_isClosable*/
12892
- ctx[7]) {
12895
+ ctx[8]) {
12893
12896
  if (if_block2) {
12894
12897
  if_block2.p(ctx, dirty);
12895
12898
  } else {
@@ -12936,7 +12939,7 @@
12936
12939
  div5_intro = create_in_transition(div5, fly, {
12937
12940
  duration:
12938
12941
  /*_transitionTime*/
12939
- ctx[9],
12942
+ ctx[10],
12940
12943
  y: 200
12941
12944
  });
12942
12945
  div5_intro.start();
@@ -12946,7 +12949,7 @@
12946
12949
  div6_intro = create_in_transition(div6, fade, {
12947
12950
  duration:
12948
12951
  /*_transitionTime*/
12949
- ctx[9]
12952
+ ctx[10]
12950
12953
  });
12951
12954
  div6_intro.start();
12952
12955
  });
@@ -12958,20 +12961,20 @@
12958
12961
  div5_outro = create_out_transition(div5, fly, {
12959
12962
  delay:
12960
12963
  /*_transitionTime*/
12961
- ctx[9],
12964
+ ctx[10],
12962
12965
  duration:
12963
12966
  /*_transitionTime*/
12964
- ctx[9],
12967
+ ctx[10],
12965
12968
  y: -100
12966
12969
  });
12967
12970
  if (div6_intro) div6_intro.invalidate();
12968
12971
  div6_outro = create_out_transition(div6, fade, {
12969
12972
  delay:
12970
12973
  /*_transitionTime*/
12971
- ctx[9],
12974
+ ctx[10],
12972
12975
  duration:
12973
12976
  /*_transitionTime*/
12974
- ctx[9]
12977
+ ctx[10]
12975
12978
  });
12976
12979
  current = false;
12977
12980
  },
@@ -12983,18 +12986,21 @@
12983
12986
  if (if_block2) if_block2.d();
12984
12987
  /*goa_scrollable_binding*/
12985
12988
 
12986
- ctx[14](null);
12989
+ ctx[15](null);
12987
12990
  /*div2_binding*/
12988
12991
 
12989
- ctx[15](null);
12992
+ ctx[16](null);
12990
12993
  if (detaching && div5_outro) div5_outro.end();
12994
+ /*div6_binding*/
12995
+
12996
+ ctx[17](null);
12991
12997
  if (detaching && div6_outro) div6_outro.end();
12992
12998
  mounted = false;
12993
12999
  run_all(dispose);
12994
13000
  }
12995
13001
 
12996
13002
  };
12997
- } // (102:8) {#if calloutvariant !== null}
13003
+ } // (116:8) {#if calloutvariant !== null}
12998
13004
 
12999
13005
 
13000
13006
  function create_if_block_3$2(ctx) {
@@ -13008,7 +13014,7 @@
13008
13014
  goa_icon = element("goa-icon");
13009
13015
  set_custom_element_data(goa_icon, "type",
13010
13016
  /*_iconType*/
13011
- ctx[8]);
13017
+ ctx[9]);
13012
13018
  set_custom_element_data(goa_icon, "inverted", goa_icon_inverted_value =
13013
13019
  /*calloutvariant*/
13014
13020
  ctx[3] === "important" ? "false" : "true");
@@ -13025,10 +13031,10 @@
13025
13031
  p(ctx, dirty) {
13026
13032
  if (dirty &
13027
13033
  /*_iconType*/
13028
- 256) {
13034
+ 512) {
13029
13035
  set_custom_element_data(goa_icon, "type",
13030
13036
  /*_iconType*/
13031
- ctx[8]);
13037
+ ctx[9]);
13032
13038
  }
13033
13039
 
13034
13040
  if (dirty &
@@ -13053,7 +13059,7 @@
13053
13059
  }
13054
13060
 
13055
13061
  };
13056
- } // (115:14) {:else}
13062
+ } // (129:14) {:else}
13057
13063
 
13058
13064
 
13059
13065
  function create_else_block$3(ctx) {
@@ -13075,7 +13081,7 @@
13075
13081
  }
13076
13082
 
13077
13083
  };
13078
- } // (113:14) {#if heading}
13084
+ } // (127:14) {#if heading}
13079
13085
 
13080
13086
 
13081
13087
  function create_if_block_2$2(ctx) {
@@ -13104,7 +13110,7 @@
13104
13110
  }
13105
13111
 
13106
13112
  };
13107
- } // (119:12) {#if _isClosable}
13113
+ } // (133:12) {#if _isClosable}
13108
13114
 
13109
13115
 
13110
13116
  function create_if_block_1$2(ctx) {
@@ -13129,7 +13135,7 @@
13129
13135
  if (!mounted) {
13130
13136
  dispose = listen(goa_icon_button, "click",
13131
13137
  /*close*/
13132
- ctx[10]);
13138
+ ctx[11]);
13133
13139
  mounted = true;
13134
13140
  }
13135
13141
  },
@@ -13145,12 +13151,12 @@
13145
13151
  };
13146
13152
  }
13147
13153
 
13148
- function create_fragment$h(ctx) {
13154
+ function create_fragment$i(ctx) {
13149
13155
  let if_block_anchor;
13150
13156
  let current;
13151
13157
  let if_block =
13152
13158
  /*_isOpen*/
13153
- ctx[6] && create_if_block$7(ctx);
13159
+ ctx[6] && create_if_block$8(ctx);
13154
13160
  return {
13155
13161
  c() {
13156
13162
  if (if_block) if_block.c();
@@ -13177,7 +13183,7 @@
13177
13183
  transition_in(if_block, 1);
13178
13184
  }
13179
13185
  } else {
13180
- if_block = create_if_block$7(ctx);
13186
+ if_block = create_if_block$8(ctx);
13181
13187
  if_block.c();
13182
13188
  transition_in(if_block, 1);
13183
13189
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -13210,7 +13216,7 @@
13210
13216
  };
13211
13217
  }
13212
13218
 
13213
- function instance$f($$self, $$props, $$invalidate) {
13219
+ function instance$g($$self, $$props, $$invalidate) {
13214
13220
  let _isClosable;
13215
13221
 
13216
13222
  let _isOpen;
@@ -13238,6 +13244,7 @@
13238
13244
  calloutvariant = null
13239
13245
  } = $$props; // Private
13240
13246
 
13247
+ let _rootEl = null;
13241
13248
  let _contentEl = null;
13242
13249
  let _scrollEl = null; // Type verification
13243
13250
 
@@ -13254,12 +13261,21 @@
13254
13261
  return;
13255
13262
  }
13256
13263
 
13257
- e.target.dispatchEvent(new CustomEvent("_close", {
13264
+ _rootEl === null || _rootEl === void 0 ? void 0 : _rootEl.dispatchEvent(new CustomEvent("_close", {
13258
13265
  composed: true
13259
13266
  }));
13260
13267
  e.stopPropagation();
13261
13268
  }
13262
13269
 
13270
+ const onInputKeyDown = e => {
13271
+ switch (e.key) {
13272
+ case "Escape":
13273
+ close(e);
13274
+ e.preventDefault();
13275
+ break;
13276
+ }
13277
+ };
13278
+
13263
13279
  function handleScroll(e) {
13264
13280
  const hasScroll = e.detail.scrollHeight > e.detail.offsetHeight;
13265
13281
 
@@ -13293,11 +13309,18 @@
13293
13309
  });
13294
13310
  }
13295
13311
 
13312
+ function div6_binding($$value) {
13313
+ binding_callbacks[$$value ? 'unshift' : 'push'](() => {
13314
+ _rootEl = $$value;
13315
+ ($$invalidate(7, _rootEl), $$invalidate(6, _isOpen)), $$invalidate(1, open);
13316
+ });
13317
+ }
13318
+
13296
13319
  $$self.$$set = $$props => {
13297
13320
  if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
13298
- if ('closable' in $$props) $$invalidate(12, closable = $$props.closable);
13321
+ if ('closable' in $$props) $$invalidate(13, closable = $$props.closable);
13299
13322
  if ('open' in $$props) $$invalidate(1, open = $$props.open);
13300
- if ('transition' in $$props) $$invalidate(13, transition = $$props.transition);
13323
+ if ('transition' in $$props) $$invalidate(14, transition = $$props.transition);
13301
13324
  if ('width' in $$props) $$invalidate(2, width = $$props.width);
13302
13325
  if ('calloutvariant' in $$props) $$invalidate(3, calloutvariant = $$props.calloutvariant);
13303
13326
  };
@@ -13305,9 +13328,9 @@
13305
13328
  $$self.$$.update = () => {
13306
13329
  if ($$self.$$.dirty &
13307
13330
  /*closable*/
13308
- 4096) {
13331
+ 8192) {
13309
13332
  // Reactive
13310
- $$invalidate(7, _isClosable = toBoolean(closable));
13333
+ $$invalidate(8, _isClosable = toBoolean(closable));
13311
13334
  }
13312
13335
 
13313
13336
  if ($$self.$$.dirty &
@@ -13321,7 +13344,8 @@
13321
13344
  64) {
13322
13345
  if (!_isOpen) {
13323
13346
  // prevent null issues
13324
- $$invalidate(4, _contentEl = $$invalidate(5, _scrollEl = null));
13347
+ $$invalidate(4, _contentEl = $$invalidate(5, _scrollEl = $$invalidate(7, _rootEl = null)));
13348
+ window.removeEventListener('keydown', onInputKeyDown);
13325
13349
  }
13326
13350
  }
13327
13351
 
@@ -13337,20 +13361,28 @@
13337
13361
  }
13338
13362
  }
13339
13363
 
13364
+ if ($$self.$$.dirty &
13365
+ /*_isOpen, _contentEl*/
13366
+ 80) {
13367
+ if (_isOpen && _contentEl) {
13368
+ window.addEventListener('keydown', onInputKeyDown);
13369
+ }
13370
+ }
13371
+
13340
13372
  if ($$self.$$.dirty &
13341
13373
  /*transition*/
13342
- 8192) {
13343
- $$invalidate(9, _transitionTime = transition === "none" ? 0 : transition === "slow" ? 400 : 200);
13374
+ 16384) {
13375
+ $$invalidate(10, _transitionTime = transition === "none" ? 0 : transition === "slow" ? 400 : 200);
13344
13376
  }
13345
13377
 
13346
13378
  if ($$self.$$.dirty &
13347
13379
  /*calloutvariant*/
13348
13380
  8) {
13349
- $$invalidate(8, _iconType = calloutvariant === "emergency" ? "warning" : calloutvariant === "important" ? "alert-circle" : calloutvariant === "information" ? "information-circle" : calloutvariant === "success" ? "checkmark-circle" : calloutvariant === "event" ? "calendar" : "");
13381
+ $$invalidate(9, _iconType = calloutvariant === "emergency" ? "warning" : calloutvariant === "important" ? "alert-circle" : calloutvariant === "information" ? "information-circle" : calloutvariant === "success" ? "checkmark-circle" : calloutvariant === "event" ? "calendar" : "");
13350
13382
  }
13351
13383
  };
13352
13384
 
13353
- return [heading, open, width, calloutvariant, _contentEl, _scrollEl, _isOpen, _isClosable, _iconType, _transitionTime, close, handleScroll, closable, transition, goa_scrollable_binding, div2_binding];
13385
+ return [heading, open, width, calloutvariant, _contentEl, _scrollEl, _isOpen, _rootEl, _isClosable, _iconType, _transitionTime, close, handleScroll, closable, transition, goa_scrollable_binding, div2_binding, div6_binding];
13354
13386
  }
13355
13387
 
13356
13388
  class Modal extends SvelteElement {
@@ -13361,11 +13393,11 @@
13361
13393
  target: this.shadowRoot,
13362
13394
  props: attribute_to_object(this.attributes),
13363
13395
  customElement: true
13364
- }, instance$f, create_fragment$h, safe_not_equal, {
13396
+ }, instance$g, create_fragment$i, safe_not_equal, {
13365
13397
  heading: 0,
13366
- closable: 12,
13398
+ closable: 13,
13367
13399
  open: 1,
13368
- transition: 13,
13400
+ transition: 14,
13369
13401
  width: 2,
13370
13402
  calloutvariant: 3
13371
13403
  }, null);
@@ -13398,7 +13430,7 @@
13398
13430
  }
13399
13431
 
13400
13432
  get closable() {
13401
- return this.$$.ctx[12];
13433
+ return this.$$.ctx[13];
13402
13434
  }
13403
13435
 
13404
13436
  set closable(closable) {
@@ -13420,7 +13452,7 @@
13420
13452
  }
13421
13453
 
13422
13454
  get transition() {
13423
- return this.$$.ctx[13];
13455
+ return this.$$.ctx[14];
13424
13456
  }
13425
13457
 
13426
13458
  set transition(transition) {
@@ -13457,7 +13489,7 @@
13457
13489
  customElements.define("goa-modal", Modal);
13458
13490
  /* libs/web-components/src/components/notification/Notification.svelte generated by Svelte v3.51.0 */
13459
13491
 
13460
- function create_if_block$6(ctx) {
13492
+ function create_if_block$7(ctx) {
13461
13493
  let div3;
13462
13494
  let div0;
13463
13495
  let goa_icon;
@@ -13581,12 +13613,12 @@
13581
13613
  };
13582
13614
  }
13583
13615
 
13584
- function create_fragment$g(ctx) {
13616
+ function create_fragment$h(ctx) {
13585
13617
  let if_block_anchor;
13586
13618
  let current;
13587
13619
  let if_block =
13588
13620
  /*show*/
13589
- ctx[1] && create_if_block$6(ctx);
13621
+ ctx[1] && create_if_block$7(ctx);
13590
13622
  return {
13591
13623
  c() {
13592
13624
  if (if_block) if_block.c();
@@ -13613,7 +13645,7 @@
13613
13645
  transition_in(if_block, 1);
13614
13646
  }
13615
13647
  } else {
13616
- if_block = create_if_block$6(ctx);
13648
+ if_block = create_if_block$7(ctx);
13617
13649
  if_block.c();
13618
13650
  transition_in(if_block, 1);
13619
13651
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -13646,7 +13678,7 @@
13646
13678
  };
13647
13679
  }
13648
13680
 
13649
- function instance$e($$self, $$props, $$invalidate) {
13681
+ function instance$f($$self, $$props, $$invalidate) {
13650
13682
  let iconType;
13651
13683
  const [Types, validateType] = typeValidator("Notification type", ["emergency", "important", "information", "event"], true);
13652
13684
  let {
@@ -13688,7 +13720,7 @@
13688
13720
  target: this.shadowRoot,
13689
13721
  props: attribute_to_object(this.attributes),
13690
13722
  customElement: true
13691
- }, instance$e, create_fragment$g, safe_not_equal, {
13723
+ }, instance$f, create_fragment$h, safe_not_equal, {
13692
13724
  type: 0
13693
13725
  }, null);
13694
13726
 
@@ -13730,7 +13762,7 @@
13730
13762
  /* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.51.0 */
13731
13763
 
13732
13764
 
13733
- function create_fragment$f(ctx) {
13765
+ function create_fragment$g(ctx) {
13734
13766
  let div;
13735
13767
  let slot;
13736
13768
  let div_style_value;
@@ -13770,7 +13802,7 @@
13770
13802
  };
13771
13803
  }
13772
13804
 
13773
- function instance$d($$self, $$props, $$invalidate) {
13805
+ function instance$e($$self, $$props, $$invalidate) {
13774
13806
  const Sizes = {
13775
13807
  "full": "100%"
13776
13808
  };
@@ -13811,7 +13843,7 @@
13811
13843
  target: this.shadowRoot,
13812
13844
  props: attribute_to_object(this.attributes),
13813
13845
  customElement: true
13814
- }, instance$d, create_fragment$f, safe_not_equal, {
13846
+ }, instance$e, create_fragment$g, safe_not_equal, {
13815
13847
  width: 1,
13816
13848
  _width: 0
13817
13849
  }, null);
@@ -13859,7 +13891,7 @@
13859
13891
  customElements.define("goa-page-block", PageBlock);
13860
13892
  /* libs/web-components/src/components/pagination/Pagination.svelte generated by Svelte v3.51.0 */
13861
13893
 
13862
- function create_if_block$5(ctx) {
13894
+ function create_if_block$6(ctx) {
13863
13895
  let goa_block;
13864
13896
  let span0;
13865
13897
  let t1;
@@ -13957,7 +13989,7 @@
13957
13989
  };
13958
13990
  }
13959
13991
 
13960
- function create_fragment$e(ctx) {
13992
+ function create_fragment$f(ctx) {
13961
13993
  let goa_block1;
13962
13994
  let div;
13963
13995
  let t0;
@@ -13973,7 +14005,7 @@
13973
14005
  let dispose;
13974
14006
  let if_block =
13975
14007
  /*variant*/
13976
- ctx[1] === "all" && create_if_block$5(ctx);
14008
+ ctx[1] === "all" && create_if_block$6(ctx);
13977
14009
  return {
13978
14010
  c() {
13979
14011
  goa_block1 = element("goa-block");
@@ -14047,7 +14079,7 @@
14047
14079
  if (if_block) {
14048
14080
  if_block.p(ctx, dirty);
14049
14081
  } else {
14050
- if_block = create_if_block$5(ctx);
14082
+ if_block = create_if_block$6(ctx);
14051
14083
  if_block.c();
14052
14084
  if_block.m(div, t0);
14053
14085
  }
@@ -14120,7 +14152,7 @@
14120
14152
  };
14121
14153
  }
14122
14154
 
14123
- function instance$c($$self, $$props, $$invalidate) {
14155
+ function instance$d($$self, $$props, $$invalidate) {
14124
14156
  let _pageCount;
14125
14157
 
14126
14158
  const [Variants, validateVariant] = typeValidator("Pagination variant", ["all", "links-only"]);
@@ -14246,7 +14278,7 @@
14246
14278
  target: this.shadowRoot,
14247
14279
  props: attribute_to_object(this.attributes),
14248
14280
  customElement: true
14249
- }, instance$c, create_fragment$e, safe_not_equal, {
14281
+ }, instance$d, create_fragment$f, safe_not_equal, {
14250
14282
  pagenumber: 0,
14251
14283
  itemcount: 10,
14252
14284
  perpagecount: 11,
@@ -14364,6 +14396,327 @@
14364
14396
  }
14365
14397
 
14366
14398
  customElements.define("goa-pagination", Pagination);
14399
+ /* libs/web-components/src/components/popover/Popover.svelte generated by Svelte v3.51.0 */
14400
+
14401
+ function create_if_block$5(ctx) {
14402
+ let goa_focus_trap;
14403
+ let div0;
14404
+ let t;
14405
+ let div1;
14406
+ let section;
14407
+ let slot;
14408
+ let mounted;
14409
+ let dispose;
14410
+ return {
14411
+ c() {
14412
+ goa_focus_trap = element("goa-focus-trap");
14413
+ div0 = element("div");
14414
+ t = space();
14415
+ div1 = element("div");
14416
+ section = element("section");
14417
+ slot = element("slot");
14418
+ attr(div0, "data-testid", "popover-background");
14419
+ attr(div0, "class", "popover-background");
14420
+ attr(section, "data-testid", "popover-content");
14421
+ attr(section, "class", "popover-content");
14422
+ set_style(section, "max-width",
14423
+ /*maxwidth*/
14424
+ ctx[1]);
14425
+ set_style(section, "padding",
14426
+ /*paddedContent*/
14427
+ ctx[4] ? 'var(--goa-space-m)' : '0');
14428
+ attr(div1, "class", "popover-container");
14429
+ set_custom_element_data(goa_focus_trap, "active",
14430
+ /*_isContentVisible*/
14431
+ ctx[2]);
14432
+ },
14433
+
14434
+ m(target, anchor) {
14435
+ insert(target, goa_focus_trap, anchor);
14436
+ append(goa_focus_trap, div0);
14437
+ append(goa_focus_trap, t);
14438
+ append(goa_focus_trap, div1);
14439
+ append(div1, section);
14440
+ append(section, slot);
14441
+
14442
+ if (!mounted) {
14443
+ dispose = listen(div0, "click",
14444
+ /*closePopover*/
14445
+ ctx[6]);
14446
+ mounted = true;
14447
+ }
14448
+ },
14449
+
14450
+ p(ctx, dirty) {
14451
+ if (dirty &
14452
+ /*maxwidth*/
14453
+ 2) {
14454
+ set_style(section, "max-width",
14455
+ /*maxwidth*/
14456
+ ctx[1]);
14457
+ }
14458
+
14459
+ if (dirty &
14460
+ /*paddedContent*/
14461
+ 16) {
14462
+ set_style(section, "padding",
14463
+ /*paddedContent*/
14464
+ ctx[4] ? 'var(--goa-space-m)' : '0');
14465
+ }
14466
+
14467
+ if (dirty &
14468
+ /*_isContentVisible*/
14469
+ 4) {
14470
+ set_custom_element_data(goa_focus_trap, "active",
14471
+ /*_isContentVisible*/
14472
+ ctx[2]);
14473
+ }
14474
+ },
14475
+
14476
+ d(detaching) {
14477
+ if (detaching) detach(goa_focus_trap);
14478
+ mounted = false;
14479
+ dispose();
14480
+ }
14481
+
14482
+ };
14483
+ }
14484
+
14485
+ function create_fragment$e(ctx) {
14486
+ let div1;
14487
+ let div0;
14488
+ let t;
14489
+ let mounted;
14490
+ let dispose;
14491
+ let if_block =
14492
+ /*_isContentVisible*/
14493
+ ctx[2] && create_if_block$5(ctx);
14494
+ return {
14495
+ c() {
14496
+ div1 = element("div");
14497
+ div0 = element("div");
14498
+ div0.innerHTML = `<slot name="target" tabindex="-1"></slot>`;
14499
+ t = space();
14500
+ if (if_block) if_block.c();
14501
+ this.c = noop;
14502
+ attr(div0, "class", "popover-target");
14503
+ attr(div0, "tabindex", "0");
14504
+ attr(div0, "data-testid", "popover-target");
14505
+ attr(div1, "data-testid",
14506
+ /*testid*/
14507
+ ctx[0]);
14508
+ },
14509
+
14510
+ m(target, anchor) {
14511
+ insert(target, div1, anchor);
14512
+ append(div1, div0);
14513
+ /*div0_binding*/
14514
+
14515
+ ctx[8](div0);
14516
+ append(div1, t);
14517
+ if (if_block) if_block.m(div1, null);
14518
+
14519
+ if (!mounted) {
14520
+ dispose = listen(div0, "click",
14521
+ /*showPopover*/
14522
+ ctx[5]);
14523
+ mounted = true;
14524
+ }
14525
+ },
14526
+
14527
+ p(ctx, [dirty]) {
14528
+ if (
14529
+ /*_isContentVisible*/
14530
+ ctx[2]) {
14531
+ if (if_block) {
14532
+ if_block.p(ctx, dirty);
14533
+ } else {
14534
+ if_block = create_if_block$5(ctx);
14535
+ if_block.c();
14536
+ if_block.m(div1, null);
14537
+ }
14538
+ } else if (if_block) {
14539
+ if_block.d(1);
14540
+ if_block = null;
14541
+ }
14542
+
14543
+ if (dirty &
14544
+ /*testid*/
14545
+ 1) {
14546
+ attr(div1, "data-testid",
14547
+ /*testid*/
14548
+ ctx[0]);
14549
+ }
14550
+ },
14551
+
14552
+ i: noop,
14553
+ o: noop,
14554
+
14555
+ d(detaching) {
14556
+ if (detaching) detach(div1);
14557
+ /*div0_binding*/
14558
+
14559
+ ctx[8](null);
14560
+ if (if_block) if_block.d();
14561
+ mounted = false;
14562
+ dispose();
14563
+ }
14564
+
14565
+ };
14566
+ }
14567
+
14568
+ function instance$c($$self, $$props, $$invalidate) {
14569
+ let paddedContent;
14570
+ let {
14571
+ testid = ""
14572
+ } = $$props;
14573
+ let {
14574
+ maxwidth = "320px"
14575
+ } = $$props;
14576
+ let {
14577
+ padded = "true"
14578
+ } = $$props;
14579
+ let _isContentVisible = false;
14580
+
14581
+ let _targetEl;
14582
+
14583
+ onMount(function () {
14584
+ return _call(tick, function () {
14585
+ addFocusEventListener();
14586
+ });
14587
+ });
14588
+ onDestroy(() => {
14589
+ removeEventListeners();
14590
+ });
14591
+
14592
+ function showPopover() {
14593
+ $$invalidate(2, _isContentVisible = true);
14594
+ }
14595
+
14596
+ function closePopover() {
14597
+ $$invalidate(2, _isContentVisible = false);
14598
+ }
14599
+
14600
+ const onInputKeyDown = e => {
14601
+ switch (e.key) {
14602
+ case " ":
14603
+ case "Enter":
14604
+ _isContentVisible ? closePopover() : showPopover();
14605
+ e.preventDefault();
14606
+ break;
14607
+
14608
+ case "Escape":
14609
+ _isContentVisible && closePopover();
14610
+ e.preventDefault();
14611
+ break;
14612
+ }
14613
+ };
14614
+
14615
+ function addFocusEventListener() {
14616
+ _targetEl.addEventListener("focus", onFocus, true);
14617
+ }
14618
+
14619
+ function removeEventListeners() {
14620
+ _targetEl.removeEventListener("focus", onFocus);
14621
+
14622
+ _targetEl.removeEventListener("keydown", onInputKeyDown);
14623
+ } // add required bindings to component
14624
+
14625
+
14626
+ function onFocus() {
14627
+ _targetEl.addEventListener("keydown", onInputKeyDown);
14628
+ }
14629
+
14630
+ function div0_binding($$value) {
14631
+ binding_callbacks[$$value ? 'unshift' : 'push'](() => {
14632
+ _targetEl = $$value;
14633
+ $$invalidate(3, _targetEl);
14634
+ });
14635
+ }
14636
+
14637
+ $$self.$$set = $$props => {
14638
+ if ('testid' in $$props) $$invalidate(0, testid = $$props.testid);
14639
+ if ('maxwidth' in $$props) $$invalidate(1, maxwidth = $$props.maxwidth);
14640
+ if ('padded' in $$props) $$invalidate(7, padded = $$props.padded);
14641
+ };
14642
+
14643
+ $$self.$$.update = () => {
14644
+ if ($$self.$$.dirty &
14645
+ /*padded*/
14646
+ 128) {
14647
+ $$invalidate(4, paddedContent = toBoolean(padded));
14648
+ }
14649
+ };
14650
+
14651
+ return [testid, maxwidth, _isContentVisible, _targetEl, paddedContent, showPopover, closePopover, padded, div0_binding];
14652
+ }
14653
+
14654
+ class Popover extends SvelteElement {
14655
+ constructor(options) {
14656
+ super();
14657
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.popover-target{width:fit-content;cursor:pointer}.popover-target:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}.popover-content{position:absolute;left:0;right:0;margin-top:3px;list-style-type:none;background:var(--goa-color-greyscale-white);border-radius:var(--goa-border-radius-m);outline:none;box-shadow:var(--shadow-1);z-index:99}.popover-background{cursor:default;position:fixed;z-index:98;inset:0}.popover-container{position:relative}</style>`;
14658
+ init(this, {
14659
+ target: this.shadowRoot,
14660
+ props: attribute_to_object(this.attributes),
14661
+ customElement: true
14662
+ }, instance$c, create_fragment$e, safe_not_equal, {
14663
+ testid: 0,
14664
+ maxwidth: 1,
14665
+ padded: 7
14666
+ }, null);
14667
+
14668
+ if (options) {
14669
+ if (options.target) {
14670
+ insert(options.target, this, options.anchor);
14671
+ }
14672
+
14673
+ if (options.props) {
14674
+ this.$set(options.props);
14675
+ flush();
14676
+ }
14677
+ }
14678
+ }
14679
+
14680
+ static get observedAttributes() {
14681
+ return ["testid", "maxwidth", "padded"];
14682
+ }
14683
+
14684
+ get testid() {
14685
+ return this.$$.ctx[0];
14686
+ }
14687
+
14688
+ set testid(testid) {
14689
+ this.$$set({
14690
+ testid
14691
+ });
14692
+ flush();
14693
+ }
14694
+
14695
+ get maxwidth() {
14696
+ return this.$$.ctx[1];
14697
+ }
14698
+
14699
+ set maxwidth(maxwidth) {
14700
+ this.$$set({
14701
+ maxwidth
14702
+ });
14703
+ flush();
14704
+ }
14705
+
14706
+ get padded() {
14707
+ return this.$$.ctx[7];
14708
+ }
14709
+
14710
+ set padded(padded) {
14711
+ this.$$set({
14712
+ padded
14713
+ });
14714
+ flush();
14715
+ }
14716
+
14717
+ }
14718
+
14719
+ customElements.define("goa-popover", Popover);
14367
14720
  /* libs/web-components/src/components/radio-group/RadioGroup.svelte generated by Svelte v3.51.0 */
14368
14721
 
14369
14722
  function get_each_context$1(ctx, list, i) {
@@ -20628,6 +20981,25 @@
20628
20981
  }, void 0);
20629
20982
  }
20630
20983
 
20984
+ var GoAPopover = function GoAPopover(_a) {
20985
+ var target = _a.target,
20986
+ testId = _a.testId,
20987
+ maxWidth = _a.maxWidth,
20988
+ padded = _a.padded,
20989
+ children = _a.children;
20990
+ return jsxRuntime.jsxs("goa-popover", __assign({
20991
+ "data-testid": testId,
20992
+ maxwidth: maxWidth,
20993
+ padded: padded
20994
+ }, {
20995
+ children: [children, target && jsxRuntime.jsx("div", __assign({
20996
+ slot: "target"
20997
+ }, {
20998
+ children: target
20999
+ }), void 0)]
21000
+ }), void 0);
21001
+ };
21002
+
20631
21003
  var GoASkeleton = function GoASkeleton(_a) {
20632
21004
  var maxWidth = _a.maxWidth,
20633
21005
  size = _a.size,
@@ -20845,6 +21217,7 @@
20845
21217
  exports.GoAPageBlock = GoAPageBlock;
20846
21218
  exports.GoAPages = GoAPages;
20847
21219
  exports.GoAPagination = GoAPagination;
21220
+ exports.GoAPopover = GoAPopover;
20848
21221
  exports.GoARadioGroup = GoARadioGroup;
20849
21222
  exports.GoARadioItem = GoARadioItem;
20850
21223
  exports.GoASkeleton = GoASkeleton;