@abgov/react-components 4.0.0-alpha.54 → 4.0.0-alpha.56

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.
@@ -1101,7 +1101,7 @@
1101
1101
  }
1102
1102
 
1103
1103
  };
1104
- } // (12:2) {#if url}
1104
+ } // (18:4) {#if url}
1105
1105
 
1106
1106
 
1107
1107
  function create_if_block$j(ctx) {
@@ -1171,10 +1171,12 @@
1171
1171
  };
1172
1172
  }
1173
1173
 
1174
- function create_fragment$E(ctx) {
1174
+ function create_fragment$F(ctx) {
1175
+ let div2;
1175
1176
  let div1;
1176
1177
  let t;
1177
1178
  let div0;
1179
+ let div2_style_value;
1178
1180
 
1179
1181
  function select_block_type(ctx, dirty) {
1180
1182
  if (
@@ -1187,20 +1189,26 @@
1187
1189
  let if_block = current_block_type(ctx);
1188
1190
  return {
1189
1191
  c() {
1192
+ div2 = element("div");
1190
1193
  div1 = element("div");
1191
1194
  if_block.c();
1192
1195
  t = space();
1193
1196
  div0 = element("div");
1194
1197
  div0.innerHTML = `<slot></slot>`;
1195
1198
  this.c = noop;
1196
- attr(div1, "class", "app-header");
1197
- attr(div1, "data-testid",
1199
+ attr(div1, "class", "content");
1200
+ attr(div2, "class", "app-header");
1201
+ attr(div2, "data-testid",
1198
1202
  /*testid*/
1199
1203
  ctx[2]);
1204
+ attr(div2, "style", div2_style_value = `--max-content-width: ${
1205
+ /*maxcontentwidth*/
1206
+ ctx[3] || "var(--layout-max-content-width)"}`);
1200
1207
  },
1201
1208
 
1202
1209
  m(target, anchor) {
1203
- insert(target, div1, anchor);
1210
+ insert(target, div2, anchor);
1211
+ append(div2, div1);
1204
1212
  if_block.m(div1, null);
1205
1213
  append(div1, t);
1206
1214
  append(div1, div0);
@@ -1222,24 +1230,32 @@
1222
1230
  if (dirty &
1223
1231
  /*testid*/
1224
1232
  4) {
1225
- attr(div1, "data-testid",
1233
+ attr(div2, "data-testid",
1226
1234
  /*testid*/
1227
1235
  ctx[2]);
1228
1236
  }
1237
+
1238
+ if (dirty &
1239
+ /*maxcontentwidth*/
1240
+ 8 && div2_style_value !== (div2_style_value = `--max-content-width: ${
1241
+ /*maxcontentwidth*/
1242
+ ctx[3] || "var(--layout-max-content-width)"}`)) {
1243
+ attr(div2, "style", div2_style_value);
1244
+ }
1229
1245
  },
1230
1246
 
1231
1247
  i: noop,
1232
1248
  o: noop,
1233
1249
 
1234
1250
  d(detaching) {
1235
- if (detaching) detach(div1);
1251
+ if (detaching) detach(div2);
1236
1252
  if_block.d();
1237
1253
  }
1238
1254
 
1239
1255
  };
1240
1256
  }
1241
1257
 
1242
- function instance$z($$self, $$props, $$invalidate) {
1258
+ function instance$A($$self, $$props, $$invalidate) {
1243
1259
  let {
1244
1260
  heading = ""
1245
1261
  } = $$props;
@@ -1249,28 +1265,33 @@
1249
1265
  let {
1250
1266
  testid = ""
1251
1267
  } = $$props;
1268
+ let {
1269
+ maxcontentwidth = ""
1270
+ } = $$props;
1252
1271
 
1253
1272
  $$self.$$set = $$props => {
1254
1273
  if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
1255
1274
  if ('url' in $$props) $$invalidate(1, url = $$props.url);
1256
1275
  if ('testid' in $$props) $$invalidate(2, testid = $$props.testid);
1276
+ if ('maxcontentwidth' in $$props) $$invalidate(3, maxcontentwidth = $$props.maxcontentwidth);
1257
1277
  };
1258
1278
 
1259
- return [heading, url, testid];
1279
+ return [heading, url, testid, maxcontentwidth];
1260
1280
  }
1261
1281
 
1262
1282
  class AppHeader extends SvelteElement {
1263
1283
  constructor(options) {
1264
1284
  super();
1265
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:1rem 1.5rem;border-bottom:1px solid var(--color-gray-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 768px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>`;
1285
+ this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box;font-family:var(--font-family)}.app-header{margin:0 auto;border-bottom:1px solid var(--color-gray-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.content{margin:0 auto;width:min(var(--max-content-width), 100%);display:flex;align-items:center;justify-content:space-between}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 640px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>`;
1266
1286
  init(this, {
1267
1287
  target: this.shadowRoot,
1268
1288
  props: attribute_to_object(this.attributes),
1269
1289
  customElement: true
1270
- }, instance$z, create_fragment$E, safe_not_equal, {
1290
+ }, instance$A, create_fragment$F, safe_not_equal, {
1271
1291
  heading: 0,
1272
1292
  url: 1,
1273
- testid: 2
1293
+ testid: 2,
1294
+ maxcontentwidth: 3
1274
1295
  }, null);
1275
1296
 
1276
1297
  if (options) {
@@ -1286,7 +1307,7 @@
1286
1307
  }
1287
1308
 
1288
1309
  static get observedAttributes() {
1289
- return ["heading", "url", "testid"];
1310
+ return ["heading", "url", "testid", "maxcontentwidth"];
1290
1311
  }
1291
1312
 
1292
1313
  get heading() {
@@ -1322,6 +1343,17 @@
1322
1343
  flush();
1323
1344
  }
1324
1345
 
1346
+ get maxcontentwidth() {
1347
+ return this.$$.ctx[3];
1348
+ }
1349
+
1350
+ set maxcontentwidth(maxcontentwidth) {
1351
+ this.$$set({
1352
+ maxcontentwidth
1353
+ });
1354
+ flush();
1355
+ }
1356
+
1325
1357
  }
1326
1358
 
1327
1359
  customElements.define("goa-app-header", AppHeader);
@@ -1428,7 +1460,7 @@
1428
1460
  };
1429
1461
  }
1430
1462
 
1431
- function create_fragment$D(ctx) {
1463
+ function create_fragment$E(ctx) {
1432
1464
  let div;
1433
1465
  let t;
1434
1466
  let div_class_value;
@@ -1540,7 +1572,7 @@
1540
1572
  };
1541
1573
  }
1542
1574
 
1543
- function instance$y($$self, $$props, $$invalidate) {
1575
+ function instance$z($$self, $$props, $$invalidate) {
1544
1576
  let showIcon;
1545
1577
  let iconType;
1546
1578
  let {
@@ -1602,7 +1634,7 @@
1602
1634
  target: this.shadowRoot,
1603
1635
  props: attribute_to_object(this.attributes),
1604
1636
  customElement: true
1605
- }, instance$y, create_fragment$D, safe_not_equal, {
1637
+ }, instance$z, create_fragment$E, safe_not_equal, {
1606
1638
  type: 0,
1607
1639
  testid: 1,
1608
1640
  icon: 5,
@@ -1674,7 +1706,7 @@
1674
1706
  customElements.define("goa-badge", Badge);
1675
1707
  /* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.49.0 */
1676
1708
 
1677
- function create_fragment$C(ctx) {
1709
+ function create_fragment$D(ctx) {
1678
1710
  let div;
1679
1711
  let slot;
1680
1712
  return {
@@ -1723,7 +1755,7 @@
1723
1755
  };
1724
1756
  }
1725
1757
 
1726
- function instance$x($$self, $$props, $$invalidate) {
1758
+ function instance$y($$self, $$props, $$invalidate) {
1727
1759
  let {
1728
1760
  gap = "medium"
1729
1761
  } = $$props;
@@ -1747,7 +1779,7 @@
1747
1779
  target: this.shadowRoot,
1748
1780
  props: attribute_to_object(this.attributes),
1749
1781
  customElement: true
1750
- }, instance$x, create_fragment$C, safe_not_equal, {
1782
+ }, instance$y, create_fragment$D, safe_not_equal, {
1751
1783
  gap: 0,
1752
1784
  alignment: 1
1753
1785
  }, null);
@@ -1991,7 +2023,7 @@
1991
2023
  };
1992
2024
  }
1993
2025
 
1994
- function create_fragment$B(ctx) {
2026
+ function create_fragment$C(ctx) {
1995
2027
  let button;
1996
2028
  let button_class_value;
1997
2029
  let mounted;
@@ -2125,7 +2157,7 @@
2125
2157
  e.stopPropagation();
2126
2158
  }
2127
2159
 
2128
- function instance$w($$self, $$props, $$invalidate) {
2160
+ function instance$x($$self, $$props, $$invalidate) {
2129
2161
  let isDisabled;
2130
2162
  let isButtonDark;
2131
2163
  const BUTTON_TYPES = ["primary", "submit", "secondary", "tertiary", "start"];
@@ -2215,7 +2247,7 @@
2215
2247
  target: this.shadowRoot,
2216
2248
  props: attribute_to_object(this.attributes),
2217
2249
  customElement: true
2218
- }, instance$w, create_fragment$B, safe_not_equal, {
2250
+ }, instance$x, create_fragment$C, safe_not_equal, {
2219
2251
  type: 0,
2220
2252
  size: 1,
2221
2253
  variant: 2,
@@ -2354,7 +2386,7 @@
2354
2386
  };
2355
2387
  }
2356
2388
 
2357
- function create_fragment$A(ctx) {
2389
+ function create_fragment$B(ctx) {
2358
2390
  let div;
2359
2391
  let span0;
2360
2392
  let goa_icon;
@@ -2465,7 +2497,7 @@
2465
2497
  };
2466
2498
  }
2467
2499
 
2468
- function instance$v($$self, $$props, $$invalidate) {
2500
+ function instance$w($$self, $$props, $$invalidate) {
2469
2501
  let iconType;
2470
2502
  let {
2471
2503
  type
@@ -2502,7 +2534,7 @@
2502
2534
  target: this.shadowRoot,
2503
2535
  props: attribute_to_object(this.attributes),
2504
2536
  customElement: true
2505
- }, instance$v, create_fragment$A, safe_not_equal, {
2537
+ }, instance$w, create_fragment$B, safe_not_equal, {
2506
2538
  type: 0,
2507
2539
  heading: 1,
2508
2540
  testid: 2
@@ -2562,7 +2594,7 @@
2562
2594
  customElements.define("goa-callout", Callout);
2563
2595
  /* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.49.0 */
2564
2596
 
2565
- function create_fragment$z(ctx) {
2597
+ function create_fragment$A(ctx) {
2566
2598
  let goa_card_content;
2567
2599
  return {
2568
2600
  c() {
@@ -2593,7 +2625,7 @@
2593
2625
  target: this.shadowRoot,
2594
2626
  props: attribute_to_object(this.attributes),
2595
2627
  customElement: true
2596
- }, null, create_fragment$z, safe_not_equal, {}, null);
2628
+ }, null, create_fragment$A, safe_not_equal, {}, null);
2597
2629
 
2598
2630
  if (options) {
2599
2631
  if (options.target) {
@@ -2607,7 +2639,7 @@
2607
2639
  customElements.define("goa-card-actions", CardActions);
2608
2640
  /* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.49.0 */
2609
2641
 
2610
- function create_fragment$y(ctx) {
2642
+ function create_fragment$z(ctx) {
2611
2643
  let div;
2612
2644
  return {
2613
2645
  c() {
@@ -2640,7 +2672,7 @@
2640
2672
  target: this.shadowRoot,
2641
2673
  props: attribute_to_object(this.attributes),
2642
2674
  customElement: true
2643
- }, null, create_fragment$y, safe_not_equal, {}, null);
2675
+ }, null, create_fragment$z, safe_not_equal, {}, null);
2644
2676
 
2645
2677
  if (options) {
2646
2678
  if (options.target) {
@@ -2654,7 +2686,7 @@
2654
2686
  customElements.define("goa-card-content", CardContent);
2655
2687
  /* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.49.0 */
2656
2688
 
2657
- function create_fragment$x(ctx) {
2689
+ function create_fragment$y(ctx) {
2658
2690
  let div;
2659
2691
  return {
2660
2692
  c() {
@@ -2687,7 +2719,7 @@
2687
2719
  target: this.shadowRoot,
2688
2720
  props: attribute_to_object(this.attributes),
2689
2721
  customElement: true
2690
- }, null, create_fragment$x, safe_not_equal, {}, null);
2722
+ }, null, create_fragment$y, safe_not_equal, {}, null);
2691
2723
 
2692
2724
  if (options) {
2693
2725
  if (options.target) {
@@ -2701,7 +2733,7 @@
2701
2733
  customElements.define("goa-card-group", CardGroup);
2702
2734
  /* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.49.0 */
2703
2735
 
2704
- function create_fragment$w(ctx) {
2736
+ function create_fragment$x(ctx) {
2705
2737
  let div;
2706
2738
  return {
2707
2739
  c() {
@@ -2750,7 +2782,7 @@
2750
2782
  };
2751
2783
  }
2752
2784
 
2753
- function instance$u($$self, $$props, $$invalidate) {
2785
+ function instance$v($$self, $$props, $$invalidate) {
2754
2786
  let {
2755
2787
  src
2756
2788
  } = $$props;
@@ -2774,7 +2806,7 @@
2774
2806
  target: this.shadowRoot,
2775
2807
  props: attribute_to_object(this.attributes),
2776
2808
  customElement: true
2777
- }, instance$u, create_fragment$w, safe_not_equal, {
2809
+ }, instance$v, create_fragment$x, safe_not_equal, {
2778
2810
  src: 0,
2779
2811
  height: 1
2780
2812
  }, null);
@@ -2822,7 +2854,7 @@
2822
2854
  customElements.define("goa-card-image", CardImage);
2823
2855
  /* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.49.0 */
2824
2856
 
2825
- function create_fragment$v(ctx) {
2857
+ function create_fragment$w(ctx) {
2826
2858
  let div;
2827
2859
  let slot;
2828
2860
  let div_style_value;
@@ -2881,7 +2913,7 @@
2881
2913
  };
2882
2914
  }
2883
2915
 
2884
- function instance$t($$self, $$props, $$invalidate) {
2916
+ function instance$u($$self, $$props, $$invalidate) {
2885
2917
  let {
2886
2918
  elevation = 0
2887
2919
  } = $$props;
@@ -2910,7 +2942,7 @@
2910
2942
  target: this.shadowRoot,
2911
2943
  props: attribute_to_object(this.attributes),
2912
2944
  customElement: true
2913
- }, instance$t, create_fragment$v, safe_not_equal, {
2945
+ }, instance$u, create_fragment$w, safe_not_equal, {
2914
2946
  elevation: 0,
2915
2947
  width: 1,
2916
2948
  testId: 2
@@ -3024,7 +3056,7 @@
3024
3056
  };
3025
3057
  }
3026
3058
 
3027
- function create_fragment$u(ctx) {
3059
+ function create_fragment$v(ctx) {
3028
3060
  let label;
3029
3061
  let div0;
3030
3062
  let input;
@@ -3233,7 +3265,7 @@
3233
3265
  };
3234
3266
  }
3235
3267
 
3236
- function instance$s($$self, $$props, $$invalidate) {
3268
+ function instance$t($$self, $$props, $$invalidate) {
3237
3269
  let isDisabled;
3238
3270
  let isError;
3239
3271
  let isChecked;
@@ -3320,7 +3352,7 @@
3320
3352
  target: this.shadowRoot,
3321
3353
  props: attribute_to_object(this.attributes),
3322
3354
  customElement: true
3323
- }, instance$s, create_fragment$u, safe_not_equal, {
3355
+ }, instance$t, create_fragment$v, safe_not_equal, {
3324
3356
  name: 0,
3325
3357
  checked: 9,
3326
3358
  text: 1,
@@ -3518,7 +3550,7 @@
3518
3550
  };
3519
3551
  }
3520
3552
 
3521
- function create_fragment$t(ctx) {
3553
+ function create_fragment$u(ctx) {
3522
3554
  let div1;
3523
3555
  let t0;
3524
3556
  let div0;
@@ -3655,7 +3687,7 @@
3655
3687
  };
3656
3688
  }
3657
3689
 
3658
- function instance$r($$self, $$props, $$invalidate) {
3690
+ function instance$s($$self, $$props, $$invalidate) {
3659
3691
  let {
3660
3692
  leadingicon = null
3661
3693
  } = $$props;
@@ -3732,7 +3764,7 @@
3732
3764
  target: this.shadowRoot,
3733
3765
  props: attribute_to_object(this.attributes),
3734
3766
  customElement: true
3735
- }, instance$r, create_fragment$t, safe_not_equal, {
3767
+ }, instance$s, create_fragment$u, safe_not_equal, {
3736
3768
  leadingicon: 0,
3737
3769
  error: 7,
3738
3770
  deletable: 8,
@@ -4288,7 +4320,7 @@
4288
4320
  };
4289
4321
  }
4290
4322
 
4291
- function create_fragment$s(ctx) {
4323
+ function create_fragment$t(ctx) {
4292
4324
  let if_block_anchor;
4293
4325
  let current;
4294
4326
  let if_block =
@@ -4353,7 +4385,7 @@
4353
4385
  };
4354
4386
  }
4355
4387
 
4356
- function instance$q($$self, $$props, $$invalidate) {
4388
+ function instance$r($$self, $$props, $$invalidate) {
4357
4389
  let isVisible;
4358
4390
  let {
4359
4391
  variant = "inline"
@@ -4407,7 +4439,7 @@
4407
4439
  target: this.shadowRoot,
4408
4440
  props: attribute_to_object(this.attributes),
4409
4441
  customElement: true
4410
- }, instance$q, create_fragment$s, safe_not_equal, {
4442
+ }, instance$r, create_fragment$t, safe_not_equal, {
4411
4443
  variant: 6,
4412
4444
  size: 7,
4413
4445
  message: 0,
@@ -4491,7 +4523,7 @@
4491
4523
  customElements.define("goa-circular-progress", CircularProgress);
4492
4524
  /* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.49.0 */
4493
4525
 
4494
- function create_fragment$r(ctx) {
4526
+ function create_fragment$s(ctx) {
4495
4527
  let div3;
4496
4528
  let header;
4497
4529
  let div0;
@@ -4586,7 +4618,7 @@
4586
4618
  };
4587
4619
  }
4588
4620
 
4589
- function instance$p($$self, $$props, $$invalidate) {
4621
+ function instance$q($$self, $$props, $$invalidate) {
4590
4622
  let _colored;
4591
4623
 
4592
4624
  let {
@@ -4628,7 +4660,7 @@
4628
4660
  target: this.shadowRoot,
4629
4661
  props: attribute_to_object(this.attributes),
4630
4662
  customElement: true
4631
- }, instance$p, create_fragment$r, safe_not_equal, {
4663
+ }, instance$q, create_fragment$s, safe_not_equal, {
4632
4664
  type: 0,
4633
4665
  colored: 4,
4634
4666
  headingsize: 1,
@@ -4989,7 +5021,7 @@
4989
5021
  };
4990
5022
  }
4991
5023
 
4992
- function create_fragment$q(ctx) {
5024
+ function create_fragment$r(ctx) {
4993
5025
  let div1;
4994
5026
  let t0;
4995
5027
  let div0;
@@ -5306,7 +5338,7 @@
5306
5338
 
5307
5339
  const MAX_HEIGHT = "300px";
5308
5340
 
5309
- function instance$o($$self, $$props, $$invalidate) {
5341
+ function instance$p($$self, $$props, $$invalidate) {
5310
5342
  const showMenu = _async(function () {
5311
5343
  if (_disabled || isMenuVisible) {
5312
5344
  return;
@@ -5602,7 +5634,7 @@
5602
5634
  target: this.shadowRoot,
5603
5635
  props: attribute_to_object(this.attributes),
5604
5636
  customElement: true
5605
- }, instance$o, create_fragment$q, safe_not_equal, {
5637
+ }, instance$p, create_fragment$r, safe_not_equal, {
5606
5638
  name: 0,
5607
5639
  arialabel: 1,
5608
5640
  value: 20,
@@ -5758,7 +5790,7 @@
5758
5790
  customElements.define("goa-dropdown", Dropdown);
5759
5791
  /* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.49.0 */
5760
5792
 
5761
- function create_fragment$p(ctx) {
5793
+ function create_fragment$q(ctx) {
5762
5794
  return {
5763
5795
  c() {
5764
5796
  this.c = noop;
@@ -5772,7 +5804,7 @@
5772
5804
  };
5773
5805
  }
5774
5806
 
5775
- function instance$n($$self, $$props, $$invalidate) {
5807
+ function instance$o($$self, $$props, $$invalidate) {
5776
5808
  let {
5777
5809
  name = ""
5778
5810
  } = $$props;
@@ -5820,7 +5852,7 @@
5820
5852
  target: this.shadowRoot,
5821
5853
  props: attribute_to_object(this.attributes),
5822
5854
  customElement: true
5823
- }, instance$n, create_fragment$p, safe_not_equal, {
5855
+ }, instance$o, create_fragment$q, safe_not_equal, {
5824
5856
  name: 0,
5825
5857
  value: 1,
5826
5858
  label: 2
@@ -5880,7 +5912,7 @@
5880
5912
  customElements.define("goa-dropdown-item", DropdownItem);
5881
5913
  /* libs/web-components/src/components/flex-column/FlexColumn.svelte generated by Svelte v3.49.0 */
5882
5914
 
5883
- function create_fragment$o(ctx) {
5915
+ function create_fragment$p(ctx) {
5884
5916
  let div;
5885
5917
  let slot;
5886
5918
  return {
@@ -5919,7 +5951,7 @@
5919
5951
  };
5920
5952
  }
5921
5953
 
5922
- function instance$m($$self, $$props, $$invalidate) {
5954
+ function instance$n($$self, $$props, $$invalidate) {
5923
5955
  let _gap;
5924
5956
 
5925
5957
  let {
@@ -5949,7 +5981,7 @@
5949
5981
  target: this.shadowRoot,
5950
5982
  props: attribute_to_object(this.attributes),
5951
5983
  customElement: true
5952
- }, instance$m, create_fragment$o, safe_not_equal, {
5984
+ }, instance$n, create_fragment$p, safe_not_equal, {
5953
5985
  gap: 1
5954
5986
  }, null);
5955
5987
 
@@ -5985,7 +6017,7 @@
5985
6017
  customElements.define("goa-flex-col", FlexColumn);
5986
6018
  /* libs/web-components/src/components/flex-row/FlexRow.svelte generated by Svelte v3.49.0 */
5987
6019
 
5988
- function create_fragment$n(ctx) {
6020
+ function create_fragment$o(ctx) {
5989
6021
  let div;
5990
6022
  let slot;
5991
6023
  return {
@@ -6024,7 +6056,7 @@
6024
6056
  };
6025
6057
  }
6026
6058
 
6027
- function instance$l($$self, $$props, $$invalidate) {
6059
+ function instance$m($$self, $$props, $$invalidate) {
6028
6060
  let _gap;
6029
6061
 
6030
6062
  let {
@@ -6054,7 +6086,7 @@
6054
6086
  target: this.shadowRoot,
6055
6087
  props: attribute_to_object(this.attributes),
6056
6088
  customElement: true
6057
- }, instance$l, create_fragment$n, safe_not_equal, {
6089
+ }, instance$m, create_fragment$o, safe_not_equal, {
6058
6090
  gap: 1
6059
6091
  }, null);
6060
6092
 
@@ -6090,7 +6122,7 @@
6090
6122
  customElements.define("goa-flex-row", FlexRow);
6091
6123
  /* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.49.0 */
6092
6124
 
6093
- function create_fragment$m(ctx) {
6125
+ function create_fragment$n(ctx) {
6094
6126
  let div;
6095
6127
  return {
6096
6128
  c() {
@@ -6144,7 +6176,7 @@
6144
6176
  }
6145
6177
  }
6146
6178
 
6147
- function instance$k($$self, $$props, $$invalidate) {
6179
+ function instance$l($$self, $$props, $$invalidate) {
6148
6180
  let isActive;
6149
6181
  let {
6150
6182
  active
@@ -6312,7 +6344,7 @@
6312
6344
  target: this.shadowRoot,
6313
6345
  props: attribute_to_object(this.attributes),
6314
6346
  customElement: true
6315
- }, instance$k, create_fragment$m, safe_not_equal, {
6347
+ }, instance$l, create_fragment$n, safe_not_equal, {
6316
6348
  active: 1
6317
6349
  }, null);
6318
6350
 
@@ -6402,7 +6434,7 @@
6402
6434
  };
6403
6435
  }
6404
6436
 
6405
- function create_fragment$l(ctx) {
6437
+ function create_fragment$m(ctx) {
6406
6438
  let section;
6407
6439
  let div;
6408
6440
  let t;
@@ -6490,7 +6522,7 @@
6490
6522
  };
6491
6523
  }
6492
6524
 
6493
- function instance$j($$self, $$props, $$invalidate) {
6525
+ function instance$k($$self, $$props, $$invalidate) {
6494
6526
  let rootEl;
6495
6527
  let children = [];
6496
6528
  onMount(function () {
@@ -6525,7 +6557,7 @@
6525
6557
  target: this.shadowRoot,
6526
6558
  props: attribute_to_object(this.attributes),
6527
6559
  customElement: true
6528
- }, instance$j, create_fragment$l, safe_not_equal, {}, null);
6560
+ }, instance$k, create_fragment$m, safe_not_equal, {}, null);
6529
6561
 
6530
6562
  if (options) {
6531
6563
  if (options.target) {
@@ -6635,7 +6667,7 @@
6635
6667
  };
6636
6668
  }
6637
6669
 
6638
- function create_fragment$k(ctx) {
6670
+ function create_fragment$l(ctx) {
6639
6671
  let section;
6640
6672
  let t0;
6641
6673
  let div;
@@ -6782,7 +6814,7 @@
6782
6814
  };
6783
6815
  }
6784
6816
 
6785
- function instance$i($$self, $$props, $$invalidate) {
6817
+ function instance$j($$self, $$props, $$invalidate) {
6786
6818
  let {
6787
6819
  name = ""
6788
6820
  } = $$props;
@@ -6840,7 +6872,7 @@
6840
6872
  target: this.shadowRoot,
6841
6873
  props: attribute_to_object(this.attributes),
6842
6874
  customElement: true
6843
- }, instance$i, create_fragment$k, safe_not_equal, {
6875
+ }, instance$j, create_fragment$l, safe_not_equal, {
6844
6876
  name: 0,
6845
6877
  maxcolumncount: 1
6846
6878
  }, null);
@@ -6907,9 +6939,10 @@
6907
6939
  };
6908
6940
  }
6909
6941
 
6910
- function create_fragment$j(ctx) {
6942
+ function create_fragment$k(ctx) {
6911
6943
  var _ctx$;
6912
6944
 
6945
+ let div5;
6913
6946
  let div4;
6914
6947
  let div0;
6915
6948
  let t0;
@@ -6921,13 +6954,15 @@
6921
6954
  let a0;
6922
6955
  let t3;
6923
6956
  let a1;
6957
+ let div5_style_value;
6924
6958
  let if_block =
6925
6959
  /*navLinks*/
6926
- ((_ctx$ = ctx[1]) === null || _ctx$ === void 0 ? void 0 : _ctx$.length) && create_if_block$a();
6960
+ ((_ctx$ = ctx[2]) === null || _ctx$ === void 0 ? void 0 : _ctx$.length) && create_if_block$a();
6927
6961
  return {
6928
6962
  c() {
6929
6963
  var _ctx$2, _ctx$3;
6930
6964
 
6965
+ div5 = element("div");
6931
6966
  div4 = element("div");
6932
6967
  div0 = element("div");
6933
6968
  div0.innerHTML = `<slot name="nav"></slot>`;
@@ -6945,7 +6980,7 @@
6945
6980
  a1 = element("a");
6946
6981
  a1.textContent = `© ${
6947
6982
  /*year*/
6948
- ctx[3]} Government of Alberta`;
6983
+ ctx[4]} Government of Alberta`;
6949
6984
  this.c = noop;
6950
6985
  attr(div0, "class", "nav-links");
6951
6986
  attr(div1, "class", "meta-links");
@@ -6955,16 +6990,21 @@
6955
6990
  attr(div2, "class", "abgov");
6956
6991
  toggle_class(div2, "with-meta-links",
6957
6992
  /*metaLinks*/
6958
- (_ctx$2 = ctx[2]) === null || _ctx$2 === void 0 ? void 0 : _ctx$2.length);
6993
+ (_ctx$2 = ctx[3]) === null || _ctx$2 === void 0 ? void 0 : _ctx$2.length);
6959
6994
  attr(div3, "class", "meta-section");
6960
6995
  toggle_class(div3, "with-meta-links",
6961
6996
  /*metaLinks*/
6962
- (_ctx$3 = ctx[2]) === null || _ctx$3 === void 0 ? void 0 : _ctx$3.length);
6963
- attr(div4, "class", "app-footer");
6997
+ (_ctx$3 = ctx[3]) === null || _ctx$3 === void 0 ? void 0 : _ctx$3.length);
6998
+ attr(div4, "class", "content");
6999
+ attr(div5, "class", "app-footer");
7000
+ attr(div5, "style", div5_style_value = `--max-content-width: ${
7001
+ /*maxcontentwidth*/
7002
+ ctx[0] || "var(--layout-max-content-width)"}`);
6964
7003
  },
6965
7004
 
6966
7005
  m(target, anchor) {
6967
- insert(target, div4, anchor);
7006
+ insert(target, div5, anchor);
7007
+ append(div5, div4);
6968
7008
  append(div4, div0);
6969
7009
  append(div4, t0);
6970
7010
  if (if_block) if_block.m(div4, null);
@@ -6976,9 +7016,9 @@
6976
7016
  append(div2, a0);
6977
7017
  append(div2, t3);
6978
7018
  append(div2, a1);
6979
- /*div4_binding*/
7019
+ /*div5_binding*/
6980
7020
 
6981
- ctx[4](div4);
7021
+ ctx[5](div5);
6982
7022
  },
6983
7023
 
6984
7024
  p(ctx, [dirty]) {
@@ -6986,7 +7026,7 @@
6986
7026
 
6987
7027
  if (
6988
7028
  /*navLinks*/
6989
- (_ctx$4 = ctx[1]) !== null && _ctx$4 !== void 0 && _ctx$4.length) {
7029
+ (_ctx$4 = ctx[2]) !== null && _ctx$4 !== void 0 && _ctx$4.length) {
6990
7030
  if (if_block) ;else {
6991
7031
  if_block = create_if_block$a();
6992
7032
  if_block.c();
@@ -6999,22 +7039,30 @@
6999
7039
 
7000
7040
  if (dirty &
7001
7041
  /*metaLinks*/
7002
- 4) {
7042
+ 8) {
7003
7043
  var _ctx$5;
7004
7044
 
7005
7045
  toggle_class(div2, "with-meta-links",
7006
7046
  /*metaLinks*/
7007
- (_ctx$5 = ctx[2]) === null || _ctx$5 === void 0 ? void 0 : _ctx$5.length);
7047
+ (_ctx$5 = ctx[3]) === null || _ctx$5 === void 0 ? void 0 : _ctx$5.length);
7008
7048
  }
7009
7049
 
7010
7050
  if (dirty &
7011
7051
  /*metaLinks*/
7012
- 4) {
7052
+ 8) {
7013
7053
  var _ctx$6;
7014
7054
 
7015
7055
  toggle_class(div3, "with-meta-links",
7016
7056
  /*metaLinks*/
7017
- (_ctx$6 = ctx[2]) === null || _ctx$6 === void 0 ? void 0 : _ctx$6.length);
7057
+ (_ctx$6 = ctx[3]) === null || _ctx$6 === void 0 ? void 0 : _ctx$6.length);
7058
+ }
7059
+
7060
+ if (dirty &
7061
+ /*maxcontentwidth*/
7062
+ 1 && div5_style_value !== (div5_style_value = `--max-content-width: ${
7063
+ /*maxcontentwidth*/
7064
+ ctx[0] || "var(--layout-max-content-width)"}`)) {
7065
+ attr(div5, "style", div5_style_value);
7018
7066
  }
7019
7067
  },
7020
7068
 
@@ -7022,17 +7070,20 @@
7022
7070
  o: noop,
7023
7071
 
7024
7072
  d(detaching) {
7025
- if (detaching) detach(div4);
7073
+ if (detaching) detach(div5);
7026
7074
  if (if_block) if_block.d();
7027
- /*div4_binding*/
7075
+ /*div5_binding*/
7028
7076
 
7029
- ctx[4](null);
7077
+ ctx[5](null);
7030
7078
  }
7031
7079
 
7032
7080
  };
7033
7081
  }
7034
7082
 
7035
- function instance$h($$self, $$props, $$invalidate) {
7083
+ function instance$i($$self, $$props, $$invalidate) {
7084
+ let {
7085
+ maxcontentwidth = ""
7086
+ } = $$props;
7036
7087
  let rootEl;
7037
7088
  let navLinks;
7038
7089
  let metaLinks;
@@ -7041,38 +7092,64 @@
7041
7092
  return _call(tick, function () {
7042
7093
  const navSlot = rootEl.querySelector("slot[name=nav]");
7043
7094
  const metaSlot = rootEl.querySelector("slot[name=meta]");
7044
- $$invalidate(1, navLinks = navSlot.assignedElements());
7045
- $$invalidate(2, metaLinks = metaSlot.assignedElements());
7095
+ $$invalidate(2, navLinks = navSlot.assignedElements());
7096
+ $$invalidate(3, metaLinks = metaSlot.assignedElements());
7046
7097
  });
7047
7098
  });
7048
7099
 
7049
- function div4_binding($$value) {
7100
+ function div5_binding($$value) {
7050
7101
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
7051
7102
  rootEl = $$value;
7052
- $$invalidate(0, rootEl);
7103
+ $$invalidate(1, rootEl);
7053
7104
  });
7054
7105
  }
7055
7106
 
7056
- return [rootEl, navLinks, metaLinks, year, div4_binding];
7107
+ $$self.$$set = $$props => {
7108
+ if ('maxcontentwidth' in $$props) $$invalidate(0, maxcontentwidth = $$props.maxcontentwidth);
7109
+ };
7110
+
7111
+ return [maxcontentwidth, rootEl, navLinks, metaLinks, year, div5_binding];
7057
7112
  }
7058
7113
 
7059
7114
  class Footer extends SvelteElement {
7060
7115
  constructor(options) {
7061
7116
  super();
7062
- this.shadowRoot.innerHTML = `<style>.app-footer{background-color:var(--color-gray-100);padding:2rem;border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>`;
7117
+ this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box}.app-footer{background-color:var(--color-gray-100);border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100vw)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>`;
7063
7118
  init(this, {
7064
7119
  target: this.shadowRoot,
7065
7120
  props: attribute_to_object(this.attributes),
7066
7121
  customElement: true
7067
- }, instance$h, create_fragment$j, safe_not_equal, {}, null);
7122
+ }, instance$i, create_fragment$k, safe_not_equal, {
7123
+ maxcontentwidth: 0
7124
+ }, null);
7068
7125
 
7069
7126
  if (options) {
7070
7127
  if (options.target) {
7071
7128
  insert(options.target, this, options.anchor);
7072
7129
  }
7130
+
7131
+ if (options.props) {
7132
+ this.$set(options.props);
7133
+ flush();
7134
+ }
7073
7135
  }
7074
7136
  }
7075
7137
 
7138
+ static get observedAttributes() {
7139
+ return ["maxcontentwidth"];
7140
+ }
7141
+
7142
+ get maxcontentwidth() {
7143
+ return this.$$.ctx[0];
7144
+ }
7145
+
7146
+ set maxcontentwidth(maxcontentwidth) {
7147
+ this.$$set({
7148
+ maxcontentwidth
7149
+ });
7150
+ flush();
7151
+ }
7152
+
7076
7153
  }
7077
7154
 
7078
7155
  customElements.define("goa-app-footer", Footer);
@@ -7218,7 +7295,7 @@
7218
7295
  };
7219
7296
  }
7220
7297
 
7221
- function create_fragment$i(ctx) {
7298
+ function create_fragment$j(ctx) {
7222
7299
  let div1;
7223
7300
  let t0;
7224
7301
  let div0;
@@ -7320,7 +7397,7 @@
7320
7397
  };
7321
7398
  }
7322
7399
 
7323
- function instance$g($$self, $$props, $$invalidate) {
7400
+ function instance$h($$self, $$props, $$invalidate) {
7324
7401
  let isOptional;
7325
7402
  let {
7326
7403
  label = ""
@@ -7361,7 +7438,7 @@
7361
7438
  target: this.shadowRoot,
7362
7439
  props: attribute_to_object(this.attributes),
7363
7440
  customElement: true
7364
- }, instance$g, create_fragment$i, safe_not_equal, {
7441
+ }, instance$h, create_fragment$j, safe_not_equal, {
7365
7442
  label: 0,
7366
7443
  helptext: 1,
7367
7444
  error: 2,
@@ -7433,7 +7510,7 @@
7433
7510
  customElements.define("goa-form-item", FormItem);
7434
7511
  /* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.49.0 */
7435
7512
 
7436
- function create_fragment$h(ctx) {
7513
+ function create_fragment$i(ctx) {
7437
7514
  let div1;
7438
7515
  let goa_page_block;
7439
7516
  let h1;
@@ -7507,7 +7584,7 @@
7507
7584
  };
7508
7585
  }
7509
7586
 
7510
- function instance$f($$self, $$props, $$invalidate) {
7587
+ function instance$g($$self, $$props, $$invalidate) {
7511
7588
  let {
7512
7589
  heading
7513
7590
  } = $$props;
@@ -7531,7 +7608,7 @@
7531
7608
  target: this.shadowRoot,
7532
7609
  props: attribute_to_object(this.attributes),
7533
7610
  customElement: true
7534
- }, instance$f, create_fragment$h, safe_not_equal, {
7611
+ }, instance$g, create_fragment$i, safe_not_equal, {
7535
7612
  heading: 0,
7536
7613
  backgroundurl: 1
7537
7614
  }, null);
@@ -7579,7 +7656,7 @@
7579
7656
  customElements.define("goa-hero-banner", HeroBanner);
7580
7657
  /* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.49.0 */
7581
7658
 
7582
- function create_fragment$g(ctx) {
7659
+ function create_fragment$h(ctx) {
7583
7660
  let button;
7584
7661
  let goa_icon;
7585
7662
  let mounted;
@@ -7734,7 +7811,7 @@
7734
7811
  }));
7735
7812
  }
7736
7813
 
7737
- function instance$e($$self, $$props, $$invalidate) {
7814
+ function instance$f($$self, $$props, $$invalidate) {
7738
7815
  let css;
7739
7816
  let isDisabled;
7740
7817
  let isInverted;
@@ -7819,7 +7896,7 @@
7819
7896
  target: this.shadowRoot,
7820
7897
  props: attribute_to_object(this.attributes),
7821
7898
  customElement: true
7822
- }, instance$e, create_fragment$g, safe_not_equal, {
7899
+ }, instance$f, create_fragment$h, safe_not_equal, {
7823
7900
  type: 0,
7824
7901
  size: 1,
7825
7902
  theme: 2,
@@ -7987,7 +8064,7 @@
7987
8064
  };
7988
8065
  }
7989
8066
 
7990
- function create_fragment$f(ctx) {
8067
+ function create_fragment$g(ctx) {
7991
8068
  let div;
7992
8069
  let div_data_testid_value;
7993
8070
  let div_style_value;
@@ -8101,7 +8178,7 @@
8101
8178
  };
8102
8179
  }
8103
8180
 
8104
- function instance$d($$self, $$props, $$invalidate) {
8181
+ function instance$e($$self, $$props, $$invalidate) {
8105
8182
  let isInverted;
8106
8183
 
8107
8184
  let _size;
@@ -8171,7 +8248,7 @@
8171
8248
  target: this.shadowRoot,
8172
8249
  props: attribute_to_object(this.attributes),
8173
8250
  customElement: true
8174
- }, instance$d, create_fragment$f, safe_not_equal, {
8251
+ }, instance$e, create_fragment$g, safe_not_equal, {
8175
8252
  type: 0,
8176
8253
  size: 8,
8177
8254
  theme: 1,
@@ -8625,7 +8702,7 @@
8625
8702
  };
8626
8703
  }
8627
8704
 
8628
- function create_fragment$e(ctx) {
8705
+ function create_fragment$f(ctx) {
8629
8706
  let div1;
8630
8707
  let div0;
8631
8708
  let t0;
@@ -9054,7 +9131,7 @@
9054
9131
  }));
9055
9132
  }
9056
9133
 
9057
- function instance$c($$self, $$props, $$invalidate) {
9134
+ function instance$d($$self, $$props, $$invalidate) {
9058
9135
  let handlesTrailingIconClick;
9059
9136
  let isFocused;
9060
9137
  let isReadonly;
@@ -9246,7 +9323,7 @@
9246
9323
  target: this.shadowRoot,
9247
9324
  props: attribute_to_object(this.attributes),
9248
9325
  customElement: true
9249
- }, instance$c, create_fragment$e, safe_not_equal, {
9326
+ }, instance$d, create_fragment$f, safe_not_equal, {
9250
9327
  type: 1,
9251
9328
  name: 2,
9252
9329
  value: 0,
@@ -9741,7 +9818,7 @@
9741
9818
  };
9742
9819
  }
9743
9820
 
9744
- function create_fragment$d(ctx) {
9821
+ function create_fragment$e(ctx) {
9745
9822
  let header;
9746
9823
  let t0;
9747
9824
  let show_if = ["alpha", "beta"].includes(
@@ -9850,7 +9927,7 @@
9850
9927
  return val[0].toUpperCase() + val.slice(1);
9851
9928
  }
9852
9929
 
9853
- function instance$b($$self, $$props, $$invalidate) {
9930
+ function instance$c($$self, $$props, $$invalidate) {
9854
9931
  let {
9855
9932
  type
9856
9933
  } = $$props;
@@ -9878,7 +9955,7 @@
9878
9955
  target: this.shadowRoot,
9879
9956
  props: attribute_to_object(this.attributes),
9880
9957
  customElement: true
9881
- }, instance$b, create_fragment$d, safe_not_equal, {
9958
+ }, instance$c, create_fragment$e, safe_not_equal, {
9882
9959
  type: 0,
9883
9960
  version: 1,
9884
9961
  feedbackurl: 2
@@ -10290,7 +10367,7 @@
10290
10367
  };
10291
10368
  }
10292
10369
 
10293
- function create_fragment$c(ctx) {
10370
+ function create_fragment$d(ctx) {
10294
10371
  let if_block_anchor;
10295
10372
  let current;
10296
10373
  let if_block =
@@ -10355,7 +10432,7 @@
10355
10432
  };
10356
10433
  }
10357
10434
 
10358
- function instance$a($$self, $$props, $$invalidate) {
10435
+ function instance$b($$self, $$props, $$invalidate) {
10359
10436
  let isClosable;
10360
10437
  let isScrollable;
10361
10438
  let isOpen;
@@ -10441,7 +10518,7 @@
10441
10518
  target: this.shadowRoot,
10442
10519
  props: attribute_to_object(this.attributes),
10443
10520
  customElement: true
10444
- }, instance$a, create_fragment$c, safe_not_equal, {
10521
+ }, instance$b, create_fragment$d, safe_not_equal, {
10445
10522
  heading: 0,
10446
10523
  closable: 8,
10447
10524
  scrollable: 9,
@@ -10638,7 +10715,7 @@
10638
10715
  };
10639
10716
  }
10640
10717
 
10641
- function create_fragment$b(ctx) {
10718
+ function create_fragment$c(ctx) {
10642
10719
  let if_block_anchor;
10643
10720
  let current;
10644
10721
  let if_block =
@@ -10703,7 +10780,7 @@
10703
10780
  };
10704
10781
  }
10705
10782
 
10706
- function instance$9($$self, $$props, $$invalidate) {
10783
+ function instance$a($$self, $$props, $$invalidate) {
10707
10784
  let iconType;
10708
10785
  let {
10709
10786
  type
@@ -10737,7 +10814,7 @@
10737
10814
  target: this.shadowRoot,
10738
10815
  props: attribute_to_object(this.attributes),
10739
10816
  customElement: true
10740
- }, instance$9, create_fragment$b, safe_not_equal, {
10817
+ }, instance$a, create_fragment$c, safe_not_equal, {
10741
10818
  type: 0
10742
10819
  }, null);
10743
10820
 
@@ -10779,7 +10856,7 @@
10779
10856
  /* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.49.0 */
10780
10857
 
10781
10858
 
10782
- function create_fragment$a(ctx) {
10859
+ function create_fragment$b(ctx) {
10783
10860
  let div;
10784
10861
  let slot;
10785
10862
  let div_style_value;
@@ -10819,7 +10896,7 @@
10819
10896
  };
10820
10897
  }
10821
10898
 
10822
- function instance$8($$self, $$props, $$invalidate) {
10899
+ function instance$9($$self, $$props, $$invalidate) {
10823
10900
  const Sizes = {
10824
10901
  "full": "100%"
10825
10902
  };
@@ -10860,7 +10937,7 @@
10860
10937
  target: this.shadowRoot,
10861
10938
  props: attribute_to_object(this.attributes),
10862
10939
  customElement: true
10863
- }, instance$8, create_fragment$a, safe_not_equal, {
10940
+ }, instance$9, create_fragment$b, safe_not_equal, {
10864
10941
  width: 1,
10865
10942
  _width: 0
10866
10943
  }, null);
@@ -11083,7 +11160,7 @@
11083
11160
  };
11084
11161
  }
11085
11162
 
11086
- function create_fragment$9(ctx) {
11163
+ function create_fragment$a(ctx) {
11087
11164
  let div;
11088
11165
  let slot;
11089
11166
  let t;
@@ -11182,7 +11259,7 @@
11182
11259
  };
11183
11260
  }
11184
11261
 
11185
- function instance$7($$self, $$props, $$invalidate) {
11262
+ function instance$8($$self, $$props, $$invalidate) {
11186
11263
  let isDisabled;
11187
11264
  let {
11188
11265
  name
@@ -11294,7 +11371,7 @@
11294
11371
  target: this.shadowRoot,
11295
11372
  props: attribute_to_object(this.attributes),
11296
11373
  customElement: true
11297
- }, instance$7, create_fragment$9, safe_not_equal, {
11374
+ }, instance$8, create_fragment$a, safe_not_equal, {
11298
11375
  name: 1,
11299
11376
  value: 0,
11300
11377
  orientation: 2,
@@ -11390,7 +11467,7 @@
11390
11467
  customElements.define("goa-radio-group", RadioGroup);
11391
11468
  /* libs/web-components/src/components/radio-group/RadioItem.svelte generated by Svelte v3.49.0 */
11392
11469
 
11393
- function create_fragment$8(ctx) {
11470
+ function create_fragment$9(ctx) {
11394
11471
  return {
11395
11472
  c() {
11396
11473
  this.c = noop;
@@ -11404,7 +11481,7 @@
11404
11481
  };
11405
11482
  }
11406
11483
 
11407
- function instance$6($$self, $$props, $$invalidate) {
11484
+ function instance$7($$self, $$props, $$invalidate) {
11408
11485
  let {
11409
11486
  value
11410
11487
  } = $$props;
@@ -11459,7 +11536,7 @@
11459
11536
  target: this.shadowRoot,
11460
11537
  props: attribute_to_object(this.attributes),
11461
11538
  customElement: true
11462
- }, instance$6, create_fragment$8, safe_not_equal, {
11539
+ }, instance$7, create_fragment$9, safe_not_equal, {
11463
11540
  value: 0,
11464
11541
  label: 1,
11465
11542
  name: 2
@@ -11519,7 +11596,7 @@
11519
11596
  customElements.define("goa-radio-item", RadioItem);
11520
11597
  /* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.49.0 */
11521
11598
 
11522
- function create_fragment$7(ctx) {
11599
+ function create_fragment$8(ctx) {
11523
11600
  let div;
11524
11601
  let slot;
11525
11602
  let div_style_value;
@@ -11587,7 +11664,7 @@
11587
11664
  };
11588
11665
  }
11589
11666
 
11590
- function instance$5($$self, $$props, $$invalidate) {
11667
+ function instance$6($$self, $$props, $$invalidate) {
11591
11668
  let {
11592
11669
  direction = "vertical"
11593
11670
  } = $$props;
@@ -11619,7 +11696,7 @@
11619
11696
  target: this.shadowRoot,
11620
11697
  props: attribute_to_object(this.attributes),
11621
11698
  customElement: true
11622
- }, instance$5, create_fragment$7, safe_not_equal, {
11699
+ }, instance$6, create_fragment$8, safe_not_equal, {
11623
11700
  direction: 0,
11624
11701
  hpadding: 1,
11625
11702
  vpadding: 2,
@@ -12147,7 +12224,7 @@
12147
12224
  };
12148
12225
  }
12149
12226
 
12150
- function create_fragment$6(ctx) {
12227
+ function create_fragment$7(ctx) {
12151
12228
  let current_block_type_index;
12152
12229
  let if_block;
12153
12230
  let if_block_anchor;
@@ -12228,7 +12305,7 @@
12228
12305
  };
12229
12306
  }
12230
12307
 
12231
- function instance$4($$self, $$props, $$invalidate) {
12308
+ function instance$5($$self, $$props, $$invalidate) {
12232
12309
  let {
12233
12310
  width = 320
12234
12311
  } = $$props;
@@ -12260,7 +12337,7 @@
12260
12337
  target: this.shadowRoot,
12261
12338
  props: attribute_to_object(this.attributes),
12262
12339
  customElement: true
12263
- }, instance$4, create_fragment$6, safe_not_equal, {
12340
+ }, instance$5, create_fragment$7, safe_not_equal, {
12264
12341
  width: 0,
12265
12342
  size: 1,
12266
12343
  linecount: 2,
@@ -12642,7 +12719,7 @@
12642
12719
  };
12643
12720
  }
12644
12721
 
12645
- function create_fragment$5(ctx) {
12722
+ function create_fragment$6(ctx) {
12646
12723
  let if_block_anchor;
12647
12724
  let if_block =
12648
12725
  /*ready*/
@@ -12687,7 +12764,7 @@
12687
12764
  };
12688
12765
  }
12689
12766
 
12690
- function instance$3($$self, $$props, $$invalidate) {
12767
+ function instance$4($$self, $$props, $$invalidate) {
12691
12768
  let diameter;
12692
12769
  let strokewidth;
12693
12770
  let radius;
@@ -12818,7 +12895,7 @@
12818
12895
  target: this.shadowRoot,
12819
12896
  props: attribute_to_object(this.attributes),
12820
12897
  customElement: true
12821
- }, instance$3, create_fragment$5, safe_not_equal, {
12898
+ }, instance$4, create_fragment$6, safe_not_equal, {
12822
12899
  size: 10,
12823
12900
  invert: 0,
12824
12901
  progress: 11,
@@ -13034,7 +13111,7 @@
13034
13111
  };
13035
13112
  }
13036
13113
 
13037
- function create_fragment$4(ctx) {
13114
+ function create_fragment$5(ctx) {
13038
13115
  let div;
13039
13116
  let textarea;
13040
13117
  let textarea_aria_label_value;
@@ -13218,7 +13295,7 @@
13218
13295
  };
13219
13296
  }
13220
13297
 
13221
- function instance$2($$self, $$props, $$invalidate) {
13298
+ function instance$3($$self, $$props, $$invalidate) {
13222
13299
  let isError;
13223
13300
  let isDisabled;
13224
13301
  let isReadonly;
@@ -13330,7 +13407,7 @@
13330
13407
  target: this.shadowRoot,
13331
13408
  props: attribute_to_object(this.attributes),
13332
13409
  customElement: true
13333
- }, instance$2, create_fragment$4, safe_not_equal, {
13410
+ }, instance$3, create_fragment$5, safe_not_equal, {
13334
13411
  name: 0,
13335
13412
  value: 1,
13336
13413
  placeholder: 2,
@@ -13496,6 +13573,148 @@
13496
13573
  }
13497
13574
 
13498
13575
  customElements.define("goa-textarea", TextArea);
13576
+ /* libs/web-components/src/layouts/two-column-layout/TwoColumnLayout.svelte generated by Svelte v3.49.0 */
13577
+
13578
+ function create_fragment$4(ctx) {
13579
+ let div;
13580
+ let header;
13581
+ let t0;
13582
+ let section;
13583
+ let t2;
13584
+ let footer;
13585
+ let div_style_value;
13586
+ return {
13587
+ c() {
13588
+ div = element("div");
13589
+ header = element("header");
13590
+ header.innerHTML = `<slot name="header"></slot>`;
13591
+ t0 = space();
13592
+ section = element("section");
13593
+ section.innerHTML = `<nav class="nav"><slot name="nav"></slot></nav>
13594
+
13595
+ <main><slot></slot></main>`;
13596
+ t2 = space();
13597
+ footer = element("footer");
13598
+ footer.innerHTML = `<slot name="footer"></slot>`;
13599
+ this.c = noop;
13600
+ attr(header, "class", "header");
13601
+ attr(section, "class", "content");
13602
+ attr(footer, "class", "footer");
13603
+ attr(div, "class", "page");
13604
+ attr(div, "style", div_style_value = `
13605
+ --max-content-width: ${
13606
+ /*maxcontentwidth*/
13607
+ ctx[1] || "var(--layout-max-content-width)"};
13608
+ --nav-column-width: ${
13609
+ /*navcolumnwidth*/
13610
+ ctx[0] || "var(--layout-nav-column-width)"};
13611
+ `);
13612
+ },
13613
+
13614
+ m(target, anchor) {
13615
+ insert(target, div, anchor);
13616
+ append(div, header);
13617
+ append(div, t0);
13618
+ append(div, section);
13619
+ append(div, t2);
13620
+ append(div, footer);
13621
+ },
13622
+
13623
+ p(ctx, [dirty]) {
13624
+ if (dirty &
13625
+ /*maxcontentwidth, navcolumnwidth*/
13626
+ 3 && div_style_value !== (div_style_value = `
13627
+ --max-content-width: ${
13628
+ /*maxcontentwidth*/
13629
+ ctx[1] || "var(--layout-max-content-width)"};
13630
+ --nav-column-width: ${
13631
+ /*navcolumnwidth*/
13632
+ ctx[0] || "var(--layout-nav-column-width)"};
13633
+ `)) {
13634
+ attr(div, "style", div_style_value);
13635
+ }
13636
+ },
13637
+
13638
+ i: noop,
13639
+ o: noop,
13640
+
13641
+ d(detaching) {
13642
+ if (detaching) detach(div);
13643
+ }
13644
+
13645
+ };
13646
+ }
13647
+
13648
+ function instance$2($$self, $$props, $$invalidate) {
13649
+ let {
13650
+ navcolumnwidth = ""
13651
+ } = $$props;
13652
+ let {
13653
+ maxcontentwidth = ""
13654
+ } = $$props;
13655
+
13656
+ $$self.$$set = $$props => {
13657
+ if ('navcolumnwidth' in $$props) $$invalidate(0, navcolumnwidth = $$props.navcolumnwidth);
13658
+ if ('maxcontentwidth' in $$props) $$invalidate(1, maxcontentwidth = $$props.maxcontentwidth);
13659
+ };
13660
+
13661
+ return [navcolumnwidth, maxcontentwidth];
13662
+ }
13663
+
13664
+ class TwoColumnLayout extends SvelteElement {
13665
+ constructor(options) {
13666
+ super();
13667
+ this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box}.page{height:100vh;display:flex;flex-direction:column;position:relative}.content{flex:1 1 auto;position:relative;display:flex;flex-direction:column;gap:2rem}.header,.footer{flex:0 0 auto}main{flex:1 1 auto;padding:0 1rem}.nav{padding:0 1rem;transition:transform 200ms ease-in-out;background-color:var(--color-white)}.nav>*{display:block;padding:0.5rem 0}@media(min-width: 640px){.page{gap:2rem}.content{display:flex;flex-direction:row;justify-content:center;width:min(var(--max-content-width), 100vw);margin:0 auto}.nav{padding:0 2rem}main{padding-right:2rem}}@media(min-width: 1300px){main{padding-right:4.5rem}}@media(min-width: 640px){.nav{transform:translateX(0);flex:0 0 var(--nav-column-width)}}</style>`;
13668
+ init(this, {
13669
+ target: this.shadowRoot,
13670
+ props: attribute_to_object(this.attributes),
13671
+ customElement: true
13672
+ }, instance$2, create_fragment$4, safe_not_equal, {
13673
+ navcolumnwidth: 0,
13674
+ maxcontentwidth: 1
13675
+ }, null);
13676
+
13677
+ if (options) {
13678
+ if (options.target) {
13679
+ insert(options.target, this, options.anchor);
13680
+ }
13681
+
13682
+ if (options.props) {
13683
+ this.$set(options.props);
13684
+ flush();
13685
+ }
13686
+ }
13687
+ }
13688
+
13689
+ static get observedAttributes() {
13690
+ return ["navcolumnwidth", "maxcontentwidth"];
13691
+ }
13692
+
13693
+ get navcolumnwidth() {
13694
+ return this.$$.ctx[0];
13695
+ }
13696
+
13697
+ set navcolumnwidth(navcolumnwidth) {
13698
+ this.$$set({
13699
+ navcolumnwidth
13700
+ });
13701
+ flush();
13702
+ }
13703
+
13704
+ get maxcontentwidth() {
13705
+ return this.$$.ctx[1];
13706
+ }
13707
+
13708
+ set maxcontentwidth(maxcontentwidth) {
13709
+ this.$$set({
13710
+ maxcontentwidth
13711
+ });
13712
+ flush();
13713
+ }
13714
+
13715
+ }
13716
+
13717
+ customElements.define("goa-two-column-layout", TwoColumnLayout);
13499
13718
  /* libs/web-components/src/layouts/FullScreenNavbarLayout.svelte generated by Svelte v3.49.0 */
13500
13719
 
13501
13720
  function create_fragment$3(ctx) {
@@ -14055,10 +14274,12 @@
14055
14274
  var GoAAppHeader = function GoAAppHeader(_a) {
14056
14275
  var heading = _a.heading,
14057
14276
  url = _a.url,
14277
+ maxContentWidth = _a.maxContentWidth,
14058
14278
  children = _a.children;
14059
14279
  return jsxRuntime.jsx("goa-app-header", __assign({
14060
14280
  heading: heading,
14061
- url: url
14281
+ url: url,
14282
+ maxcontentwidth: maxContentWidth
14062
14283
  }, {
14063
14284
  children: children
14064
14285
  }), void 0);
@@ -14435,10 +14656,13 @@
14435
14656
  }
14436
14657
 
14437
14658
  function GoAAppFooter(_a) {
14438
- var children = _a.children;
14439
- return jsxRuntime.jsx("goa-app-footer", {
14659
+ var maxContentWidth = _a.maxContentWidth,
14660
+ children = _a.children;
14661
+ return jsxRuntime.jsx("goa-app-footer", __assign({
14662
+ maxcontentwidth: maxContentWidth
14663
+ }, {
14440
14664
  children: children
14441
- }, void 0);
14665
+ }), void 0);
14442
14666
  }
14443
14667
 
14444
14668
  var GoAFormItem = function GoAFormItem(_a) {
@@ -14941,6 +15165,27 @@
14941
15165
  }, void 0);
14942
15166
  };
14943
15167
 
15168
+ function GoATwoColumnLayout(props) {
15169
+ return jsxRuntime.jsxs("goa-two-column-layout", __assign({
15170
+ navcolumnwidth: props.navColumnWidth,
15171
+ maxcontentwidth: props.maxContentWidth
15172
+ }, {
15173
+ children: [props.header && jsxRuntime.jsx("div", __assign({
15174
+ slot: "header"
15175
+ }, {
15176
+ children: props.header
15177
+ }), void 0), props.nav && jsxRuntime.jsx("div", __assign({
15178
+ slot: "nav"
15179
+ }, {
15180
+ children: props.nav
15181
+ }), void 0), props.children, props.footer && jsxRuntime.jsx("div", __assign({
15182
+ slot: "footer"
15183
+ }, {
15184
+ children: props.footer
15185
+ }), void 0)]
15186
+ }), void 0);
15187
+ }
15188
+
14944
15189
  exports.GoAAppFooter = GoAAppFooter;
14945
15190
  exports.GoAAppFooterMetaSection = GoAAppFooterMetaSection;
14946
15191
  exports.GoAAppFooterNavSection = GoAAppFooterNavSection;
@@ -14991,6 +15236,7 @@
14991
15236
  exports.GoASpinner = GoASpinner;
14992
15237
  exports.GoASuccessBadge = GoASuccessBadge;
14993
15238
  exports.GoATextArea = GoATextArea;
15239
+ exports.GoATwoColumnLayout = GoATwoColumnLayout;
14994
15240
 
14995
15241
  Object.defineProperty(exports, '__esModule', { value: true });
14996
15242