@abgov/web-components 1.0.0-alpha.140 → 1.0.0-alpha.141

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.
@@ -977,7 +977,7 @@ function create_if_block$h(ctx) {
977
977
  };
978
978
  }
979
979
 
980
- function create_fragment$F(ctx) {
980
+ function create_fragment$G(ctx) {
981
981
  let div2;
982
982
  let div1;
983
983
  let t;
@@ -1043,7 +1043,7 @@ function create_fragment$F(ctx) {
1043
1043
  };
1044
1044
  }
1045
1045
 
1046
- function instance$A($$self, $$props, $$invalidate) {
1046
+ function instance$B($$self, $$props, $$invalidate) {
1047
1047
  let { heading = "" } = $$props;
1048
1048
  let { url = "" } = $$props;
1049
1049
  let { testid = "" } = $$props;
@@ -1071,8 +1071,8 @@ class AppHeader extends SvelteElement {
1071
1071
  props: attribute_to_object(this.attributes),
1072
1072
  customElement: true
1073
1073
  },
1074
- instance$A,
1075
- create_fragment$F,
1074
+ instance$B,
1075
+ create_fragment$G,
1076
1076
  safe_not_equal,
1077
1077
  {
1078
1078
  heading: 0,
@@ -1257,7 +1257,7 @@ function create_if_block$g(ctx) {
1257
1257
  };
1258
1258
  }
1259
1259
 
1260
- function create_fragment$E(ctx) {
1260
+ function create_fragment$F(ctx) {
1261
1261
  let div;
1262
1262
  let t;
1263
1263
  let div_style_value;
@@ -1343,7 +1343,7 @@ function create_fragment$E(ctx) {
1343
1343
  };
1344
1344
  }
1345
1345
 
1346
- function instance$z($$self, $$props, $$invalidate) {
1346
+ function instance$A($$self, $$props, $$invalidate) {
1347
1347
  let showIcon;
1348
1348
  let iconType;
1349
1349
  const [Types, validateType] = typeValidator("Badge type", ["success", "important", "information", "emergency", "dark", "midtone", "light"], true);
@@ -1411,8 +1411,8 @@ class Badge extends SvelteElement {
1411
1411
  props: attribute_to_object(this.attributes),
1412
1412
  customElement: true
1413
1413
  },
1414
- instance$z,
1415
- create_fragment$E,
1414
+ instance$A,
1415
+ create_fragment$F,
1416
1416
  safe_not_equal,
1417
1417
  {
1418
1418
  type: 0,
@@ -1520,7 +1520,7 @@ customElements.define("goa-badge", Badge);
1520
1520
 
1521
1521
  /* libs/web-components/src/components/block/Block.svelte generated by Svelte v3.51.0 */
1522
1522
 
1523
- function create_fragment$D(ctx) {
1523
+ function create_fragment$E(ctx) {
1524
1524
  let div;
1525
1525
  let slot;
1526
1526
  let div_style_value;
@@ -1561,7 +1561,7 @@ function create_fragment$D(ctx) {
1561
1561
  };
1562
1562
  }
1563
1563
 
1564
- function instance$y($$self, $$props, $$invalidate) {
1564
+ function instance$z($$self, $$props, $$invalidate) {
1565
1565
  let { gap = "m" } = $$props;
1566
1566
  let { direction = "row" } = $$props;
1567
1567
  let { alignment = "start" } = $$props;
@@ -1595,8 +1595,8 @@ class Block extends SvelteElement {
1595
1595
  props: attribute_to_object(this.attributes),
1596
1596
  customElement: true
1597
1597
  },
1598
- instance$y,
1599
- create_fragment$D,
1598
+ instance$z,
1599
+ create_fragment$E,
1600
1600
  safe_not_equal,
1601
1601
  {
1602
1602
  gap: 0,
@@ -1692,191 +1692,6 @@ class Block extends SvelteElement {
1692
1692
 
1693
1693
  customElements.define("goa-block", Block);
1694
1694
 
1695
- /* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.51.0 */
1696
-
1697
- function create_fragment$C(ctx) {
1698
- let div;
1699
- let slot;
1700
- let div_style_value;
1701
-
1702
- return {
1703
- c() {
1704
- div = element("div");
1705
- slot = element("slot");
1706
- this.c = noop;
1707
- attr(div, "data-testid", /*testid*/ ctx[1]);
1708
- attr(div, "style", div_style_value = "" + (calculateMargin(/*mt*/ ctx[2], /*mr*/ ctx[3], /*mb*/ ctx[4], /*ml*/ ctx[5]) + "; --alignment: " + /*_alignment*/ ctx[6] + "; --gap-size: " + (/*gap*/ ctx[0] === "relaxed" ? "1rem" : "0.75rem")));
1709
- },
1710
- m(target, anchor) {
1711
- insert(target, div, anchor);
1712
- append(div, slot);
1713
- },
1714
- p(ctx, [dirty]) {
1715
- if (dirty & /*testid*/ 2) {
1716
- attr(div, "data-testid", /*testid*/ ctx[1]);
1717
- }
1718
-
1719
- if (dirty & /*mt, mr, mb, ml, _alignment, gap*/ 125 && div_style_value !== (div_style_value = "" + (calculateMargin(/*mt*/ ctx[2], /*mr*/ ctx[3], /*mb*/ ctx[4], /*ml*/ ctx[5]) + "; --alignment: " + /*_alignment*/ ctx[6] + "; --gap-size: " + (/*gap*/ ctx[0] === "relaxed" ? "1rem" : "0.75rem")))) {
1720
- attr(div, "style", div_style_value);
1721
- }
1722
- },
1723
- i: noop,
1724
- o: noop,
1725
- d(detaching) {
1726
- if (detaching) detach(div);
1727
- }
1728
- };
1729
- }
1730
-
1731
- function instance$x($$self, $$props, $$invalidate) {
1732
- let _alignment;
1733
- let { alignment = "start" } = $$props;
1734
- let { gap = "relaxed" } = $$props;
1735
- let { testid = "" } = $$props;
1736
- let { mt = null } = $$props;
1737
- let { mr = null } = $$props;
1738
- let { mb = null } = $$props;
1739
- let { ml = null } = $$props;
1740
- const [BUTTON_ALIGNMENTS, validateAlignment] = typeValidator("alignment", ["start", "end", "center"]);
1741
- const [GAPS, validateGap] = typeValidator("gap", ["relaxed", "compact"]);
1742
-
1743
- onMount(() => {
1744
- validateAlignment(alignment);
1745
- validateGap(gap);
1746
- });
1747
-
1748
- $$self.$$set = $$props => {
1749
- if ('alignment' in $$props) $$invalidate(7, alignment = $$props.alignment);
1750
- if ('gap' in $$props) $$invalidate(0, gap = $$props.gap);
1751
- if ('testid' in $$props) $$invalidate(1, testid = $$props.testid);
1752
- if ('mt' in $$props) $$invalidate(2, mt = $$props.mt);
1753
- if ('mr' in $$props) $$invalidate(3, mr = $$props.mr);
1754
- if ('mb' in $$props) $$invalidate(4, mb = $$props.mb);
1755
- if ('ml' in $$props) $$invalidate(5, ml = $$props.ml);
1756
- };
1757
-
1758
- $$self.$$.update = () => {
1759
- if ($$self.$$.dirty & /*alignment*/ 128) {
1760
- $$invalidate(6, _alignment = ({
1761
- start: "flex-start",
1762
- end: "flex-end",
1763
- center: "center"
1764
- })[alignment]);
1765
- }
1766
- };
1767
-
1768
- return [gap, testid, mt, mr, mb, ml, _alignment, alignment];
1769
- }
1770
-
1771
- class ButtonGroup extends SvelteElement {
1772
- constructor(options) {
1773
- super();
1774
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>`;
1775
-
1776
- init(
1777
- this,
1778
- {
1779
- target: this.shadowRoot,
1780
- props: attribute_to_object(this.attributes),
1781
- customElement: true
1782
- },
1783
- instance$x,
1784
- create_fragment$C,
1785
- safe_not_equal,
1786
- {
1787
- alignment: 7,
1788
- gap: 0,
1789
- testid: 1,
1790
- mt: 2,
1791
- mr: 3,
1792
- mb: 4,
1793
- ml: 5
1794
- },
1795
- null
1796
- );
1797
-
1798
- if (options) {
1799
- if (options.target) {
1800
- insert(options.target, this, options.anchor);
1801
- }
1802
-
1803
- if (options.props) {
1804
- this.$set(options.props);
1805
- flush();
1806
- }
1807
- }
1808
- }
1809
-
1810
- static get observedAttributes() {
1811
- return ["alignment", "gap", "testid", "mt", "mr", "mb", "ml"];
1812
- }
1813
-
1814
- get alignment() {
1815
- return this.$$.ctx[7];
1816
- }
1817
-
1818
- set alignment(alignment) {
1819
- this.$$set({ alignment });
1820
- flush();
1821
- }
1822
-
1823
- get gap() {
1824
- return this.$$.ctx[0];
1825
- }
1826
-
1827
- set gap(gap) {
1828
- this.$$set({ gap });
1829
- flush();
1830
- }
1831
-
1832
- get testid() {
1833
- return this.$$.ctx[1];
1834
- }
1835
-
1836
- set testid(testid) {
1837
- this.$$set({ testid });
1838
- flush();
1839
- }
1840
-
1841
- get mt() {
1842
- return this.$$.ctx[2];
1843
- }
1844
-
1845
- set mt(mt) {
1846
- this.$$set({ mt });
1847
- flush();
1848
- }
1849
-
1850
- get mr() {
1851
- return this.$$.ctx[3];
1852
- }
1853
-
1854
- set mr(mr) {
1855
- this.$$set({ mr });
1856
- flush();
1857
- }
1858
-
1859
- get mb() {
1860
- return this.$$.ctx[4];
1861
- }
1862
-
1863
- set mb(mb) {
1864
- this.$$set({ mb });
1865
- flush();
1866
- }
1867
-
1868
- get ml() {
1869
- return this.$$.ctx[5];
1870
- }
1871
-
1872
- set ml(ml) {
1873
- this.$$set({ ml });
1874
- flush();
1875
- }
1876
- }
1877
-
1878
- customElements.define("goa-button-group", ButtonGroup);
1879
-
1880
1695
  /* libs/web-components/src/components/button/Button.svelte generated by Svelte v3.51.0 */
1881
1696
 
1882
1697
  function create_else_block$2(ctx) {
@@ -2031,7 +1846,7 @@ function create_if_block_1$9(ctx) {
2031
1846
  };
2032
1847
  }
2033
1848
 
2034
- function create_fragment$B(ctx) {
1849
+ function create_fragment$D(ctx) {
2035
1850
  let button;
2036
1851
  let button_class_value;
2037
1852
  let button_style_value;
@@ -2124,7 +1939,7 @@ function clickHandler(e) {
2124
1939
  e.stopPropagation();
2125
1940
  }
2126
1941
 
2127
- function instance$w($$self, $$props, $$invalidate) {
1942
+ function instance$y($$self, $$props, $$invalidate) {
2128
1943
  let isDisabled;
2129
1944
  let isButtonDark;
2130
1945
  const [Types, validateType] = typeValidator("Button type", ["primary", "submit", "secondary", "tertiary", "start"], true);
@@ -2205,8 +2020,8 @@ class Button extends SvelteElement {
2205
2020
  props: attribute_to_object(this.attributes),
2206
2021
  customElement: true
2207
2022
  },
2208
- instance$w,
2209
- create_fragment$B,
2023
+ instance$y,
2024
+ create_fragment$D,
2210
2025
  safe_not_equal,
2211
2026
  {
2212
2027
  type: 0,
@@ -2354,39 +2169,224 @@ class Button extends SvelteElement {
2354
2169
 
2355
2170
  customElements.define("goa-button", Button);
2356
2171
 
2357
- /* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
2172
+ /* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.51.0 */
2358
2173
 
2359
- function create_if_block$e(ctx) {
2360
- let h3;
2361
- let t;
2174
+ function create_fragment$C(ctx) {
2175
+ let div;
2176
+ let slot;
2177
+ let div_style_value;
2362
2178
 
2363
2179
  return {
2364
2180
  c() {
2365
- h3 = element("h3");
2366
- t = text(/*heading*/ ctx[5]);
2181
+ div = element("div");
2182
+ slot = element("slot");
2183
+ this.c = noop;
2184
+ attr(div, "data-testid", /*testid*/ ctx[1]);
2185
+ attr(div, "style", div_style_value = "" + (calculateMargin(/*mt*/ ctx[2], /*mr*/ ctx[3], /*mb*/ ctx[4], /*ml*/ ctx[5]) + "; --alignment: " + /*_alignment*/ ctx[6] + "; --gap-size: " + (/*gap*/ ctx[0] === "relaxed" ? "1rem" : "0.75rem")));
2367
2186
  },
2368
2187
  m(target, anchor) {
2369
- insert(target, h3, anchor);
2370
- append(h3, t);
2188
+ insert(target, div, anchor);
2189
+ append(div, slot);
2371
2190
  },
2372
- p(ctx, dirty) {
2373
- if (dirty & /*heading*/ 32) set_data(t, /*heading*/ ctx[5]);
2191
+ p(ctx, [dirty]) {
2192
+ if (dirty & /*testid*/ 2) {
2193
+ attr(div, "data-testid", /*testid*/ ctx[1]);
2194
+ }
2195
+
2196
+ if (dirty & /*mt, mr, mb, ml, _alignment, gap*/ 125 && div_style_value !== (div_style_value = "" + (calculateMargin(/*mt*/ ctx[2], /*mr*/ ctx[3], /*mb*/ ctx[4], /*ml*/ ctx[5]) + "; --alignment: " + /*_alignment*/ ctx[6] + "; --gap-size: " + (/*gap*/ ctx[0] === "relaxed" ? "1rem" : "0.75rem")))) {
2197
+ attr(div, "style", div_style_value);
2198
+ }
2374
2199
  },
2200
+ i: noop,
2201
+ o: noop,
2375
2202
  d(detaching) {
2376
- if (detaching) detach(h3);
2203
+ if (detaching) detach(div);
2377
2204
  }
2378
2205
  };
2379
2206
  }
2380
2207
 
2381
- function create_fragment$A(ctx) {
2382
- let div;
2383
- let span0;
2384
- let goa_icon;
2385
- let goa_icon_inverted_value;
2386
- let span0_class_value;
2387
- let t0;
2388
- let span1;
2389
- let t1;
2208
+ function instance$x($$self, $$props, $$invalidate) {
2209
+ let _alignment;
2210
+ let { alignment = "start" } = $$props;
2211
+ let { gap = "relaxed" } = $$props;
2212
+ let { testid = "" } = $$props;
2213
+ let { mt = null } = $$props;
2214
+ let { mr = null } = $$props;
2215
+ let { mb = null } = $$props;
2216
+ let { ml = null } = $$props;
2217
+ const [BUTTON_ALIGNMENTS, validateAlignment] = typeValidator("alignment", ["start", "end", "center"]);
2218
+ const [GAPS, validateGap] = typeValidator("gap", ["relaxed", "compact"]);
2219
+
2220
+ onMount(() => {
2221
+ validateAlignment(alignment);
2222
+ validateGap(gap);
2223
+ });
2224
+
2225
+ $$self.$$set = $$props => {
2226
+ if ('alignment' in $$props) $$invalidate(7, alignment = $$props.alignment);
2227
+ if ('gap' in $$props) $$invalidate(0, gap = $$props.gap);
2228
+ if ('testid' in $$props) $$invalidate(1, testid = $$props.testid);
2229
+ if ('mt' in $$props) $$invalidate(2, mt = $$props.mt);
2230
+ if ('mr' in $$props) $$invalidate(3, mr = $$props.mr);
2231
+ if ('mb' in $$props) $$invalidate(4, mb = $$props.mb);
2232
+ if ('ml' in $$props) $$invalidate(5, ml = $$props.ml);
2233
+ };
2234
+
2235
+ $$self.$$.update = () => {
2236
+ if ($$self.$$.dirty & /*alignment*/ 128) {
2237
+ $$invalidate(6, _alignment = ({
2238
+ start: "flex-start",
2239
+ end: "flex-end",
2240
+ center: "center"
2241
+ })[alignment]);
2242
+ }
2243
+ };
2244
+
2245
+ return [gap, testid, mt, mr, mb, ml, _alignment, alignment];
2246
+ }
2247
+
2248
+ class ButtonGroup extends SvelteElement {
2249
+ constructor(options) {
2250
+ super();
2251
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>`;
2252
+
2253
+ init(
2254
+ this,
2255
+ {
2256
+ target: this.shadowRoot,
2257
+ props: attribute_to_object(this.attributes),
2258
+ customElement: true
2259
+ },
2260
+ instance$x,
2261
+ create_fragment$C,
2262
+ safe_not_equal,
2263
+ {
2264
+ alignment: 7,
2265
+ gap: 0,
2266
+ testid: 1,
2267
+ mt: 2,
2268
+ mr: 3,
2269
+ mb: 4,
2270
+ ml: 5
2271
+ },
2272
+ null
2273
+ );
2274
+
2275
+ if (options) {
2276
+ if (options.target) {
2277
+ insert(options.target, this, options.anchor);
2278
+ }
2279
+
2280
+ if (options.props) {
2281
+ this.$set(options.props);
2282
+ flush();
2283
+ }
2284
+ }
2285
+ }
2286
+
2287
+ static get observedAttributes() {
2288
+ return ["alignment", "gap", "testid", "mt", "mr", "mb", "ml"];
2289
+ }
2290
+
2291
+ get alignment() {
2292
+ return this.$$.ctx[7];
2293
+ }
2294
+
2295
+ set alignment(alignment) {
2296
+ this.$$set({ alignment });
2297
+ flush();
2298
+ }
2299
+
2300
+ get gap() {
2301
+ return this.$$.ctx[0];
2302
+ }
2303
+
2304
+ set gap(gap) {
2305
+ this.$$set({ gap });
2306
+ flush();
2307
+ }
2308
+
2309
+ get testid() {
2310
+ return this.$$.ctx[1];
2311
+ }
2312
+
2313
+ set testid(testid) {
2314
+ this.$$set({ testid });
2315
+ flush();
2316
+ }
2317
+
2318
+ get mt() {
2319
+ return this.$$.ctx[2];
2320
+ }
2321
+
2322
+ set mt(mt) {
2323
+ this.$$set({ mt });
2324
+ flush();
2325
+ }
2326
+
2327
+ get mr() {
2328
+ return this.$$.ctx[3];
2329
+ }
2330
+
2331
+ set mr(mr) {
2332
+ this.$$set({ mr });
2333
+ flush();
2334
+ }
2335
+
2336
+ get mb() {
2337
+ return this.$$.ctx[4];
2338
+ }
2339
+
2340
+ set mb(mb) {
2341
+ this.$$set({ mb });
2342
+ flush();
2343
+ }
2344
+
2345
+ get ml() {
2346
+ return this.$$.ctx[5];
2347
+ }
2348
+
2349
+ set ml(ml) {
2350
+ this.$$set({ ml });
2351
+ flush();
2352
+ }
2353
+ }
2354
+
2355
+ customElements.define("goa-button-group", ButtonGroup);
2356
+
2357
+ /* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
2358
+
2359
+ function create_if_block$e(ctx) {
2360
+ let h3;
2361
+ let t;
2362
+
2363
+ return {
2364
+ c() {
2365
+ h3 = element("h3");
2366
+ t = text(/*heading*/ ctx[5]);
2367
+ },
2368
+ m(target, anchor) {
2369
+ insert(target, h3, anchor);
2370
+ append(h3, t);
2371
+ },
2372
+ p(ctx, dirty) {
2373
+ if (dirty & /*heading*/ 32) set_data(t, /*heading*/ ctx[5]);
2374
+ },
2375
+ d(detaching) {
2376
+ if (detaching) detach(h3);
2377
+ }
2378
+ };
2379
+ }
2380
+
2381
+ function create_fragment$B(ctx) {
2382
+ let div;
2383
+ let span0;
2384
+ let goa_icon;
2385
+ let goa_icon_inverted_value;
2386
+ let span0_class_value;
2387
+ let t0;
2388
+ let span1;
2389
+ let t1;
2390
2390
  let slot;
2391
2391
  let div_style_value;
2392
2392
  let if_block = /*heading*/ ctx[5] && create_if_block$e(ctx);
@@ -2463,7 +2463,7 @@ function create_fragment$A(ctx) {
2463
2463
  };
2464
2464
  }
2465
2465
 
2466
- function instance$v($$self, $$props, $$invalidate) {
2466
+ function instance$w($$self, $$props, $$invalidate) {
2467
2467
  let iconType;
2468
2468
  const [Types, validateType] = typeValidator("Callout type", ["emergency", "important", "information", "event", "success"], true);
2469
2469
  let { mt = null } = $$props;
@@ -2517,8 +2517,8 @@ class Callout extends SvelteElement {
2517
2517
  props: attribute_to_object(this.attributes),
2518
2518
  customElement: true
2519
2519
  },
2520
- instance$v,
2521
- create_fragment$A,
2520
+ instance$w,
2521
+ create_fragment$B,
2522
2522
  safe_not_equal,
2523
2523
  {
2524
2524
  mt: 0,
@@ -2616,7 +2616,7 @@ customElements.define("goa-callout", Callout);
2616
2616
 
2617
2617
  /* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.51.0 */
2618
2618
 
2619
- function create_fragment$z(ctx) {
2619
+ function create_fragment$A(ctx) {
2620
2620
  let goa_card_content;
2621
2621
 
2622
2622
  return {
@@ -2649,7 +2649,7 @@ class CardActions extends SvelteElement {
2649
2649
  customElement: true
2650
2650
  },
2651
2651
  null,
2652
- create_fragment$z,
2652
+ create_fragment$A,
2653
2653
  safe_not_equal,
2654
2654
  {},
2655
2655
  null
@@ -2665,22 +2665,40 @@ class CardActions extends SvelteElement {
2665
2665
 
2666
2666
  customElements.define("goa-card-actions", CardActions);
2667
2667
 
2668
- /* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
2668
+ /* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
2669
2669
 
2670
- function create_fragment$y(ctx) {
2670
+ function create_fragment$z(ctx) {
2671
2671
  let div;
2672
+ let slot;
2673
+ let div_style_value;
2672
2674
 
2673
2675
  return {
2674
2676
  c() {
2675
2677
  div = element("div");
2676
- div.innerHTML = `<slot></slot>`;
2678
+ slot = element("slot");
2677
2679
  this.c = noop;
2678
- attr(div, "class", "card-content");
2680
+ attr(div, "data-testid", /*testid*/ ctx[7]);
2681
+ attr(div, "class", "card");
2682
+
2683
+ attr(div, "style", div_style_value = "--width: " + /*width*/ ctx[1] + "; --height: " + (/*height*/ ctx[2] === 'auto' ? 'auto' : '100%') + "; " + calculateMargin(/*mt*/ ctx[3], /*mr*/ ctx[4], /*mb*/ ctx[5], /*ml*/ ctx[6]) + " " + (/*elevation*/ ctx[0] === 0
2684
+ ? `border: 1px solid var(--color-gray-200);`
2685
+ : `box-shadow: var(--shadow-${/*elevation*/ ctx[0]});`) + "");
2679
2686
  },
2680
2687
  m(target, anchor) {
2681
2688
  insert(target, div, anchor);
2689
+ append(div, slot);
2690
+ },
2691
+ p(ctx, [dirty]) {
2692
+ if (dirty & /*testid*/ 128) {
2693
+ attr(div, "data-testid", /*testid*/ ctx[7]);
2694
+ }
2695
+
2696
+ if (dirty & /*width, height, mt, mr, mb, ml, elevation*/ 127 && div_style_value !== (div_style_value = "--width: " + /*width*/ ctx[1] + "; --height: " + (/*height*/ ctx[2] === 'auto' ? 'auto' : '100%') + "; " + calculateMargin(/*mt*/ ctx[3], /*mr*/ ctx[4], /*mb*/ ctx[5], /*ml*/ ctx[6]) + " " + (/*elevation*/ ctx[0] === 0
2697
+ ? `border: 1px solid var(--color-gray-200);`
2698
+ : `box-shadow: var(--shadow-${/*elevation*/ ctx[0]});`) + "")) {
2699
+ attr(div, "style", div_style_value);
2700
+ }
2682
2701
  },
2683
- p: noop,
2684
2702
  i: noop,
2685
2703
  o: noop,
2686
2704
  d(detaching) {
@@ -2689,10 +2707,34 @@ function create_fragment$y(ctx) {
2689
2707
  };
2690
2708
  }
2691
2709
 
2692
- class CardContent extends SvelteElement {
2710
+ function instance$v($$self, $$props, $$invalidate) {
2711
+ let { elevation = 0 } = $$props;
2712
+ let { width = "100%" } = $$props;
2713
+ let { height = "auto" } = $$props;
2714
+ let { mt = null } = $$props;
2715
+ let { mr = null } = $$props;
2716
+ let { mb = null } = $$props;
2717
+ let { ml = null } = $$props;
2718
+ let { testid = "" } = $$props;
2719
+
2720
+ $$self.$$set = $$props => {
2721
+ if ('elevation' in $$props) $$invalidate(0, elevation = $$props.elevation);
2722
+ if ('width' in $$props) $$invalidate(1, width = $$props.width);
2723
+ if ('height' in $$props) $$invalidate(2, height = $$props.height);
2724
+ if ('mt' in $$props) $$invalidate(3, mt = $$props.mt);
2725
+ if ('mr' in $$props) $$invalidate(4, mr = $$props.mr);
2726
+ if ('mb' in $$props) $$invalidate(5, mb = $$props.mb);
2727
+ if ('ml' in $$props) $$invalidate(6, ml = $$props.ml);
2728
+ if ('testid' in $$props) $$invalidate(7, testid = $$props.testid);
2729
+ };
2730
+
2731
+ return [elevation, width, height, mt, mr, mb, ml, testid];
2732
+ }
2733
+
2734
+ class Card extends SvelteElement {
2693
2735
  constructor(options) {
2694
2736
  super();
2695
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>`;
2737
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{background-color:var(--color-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>`;
2696
2738
 
2697
2739
  init(
2698
2740
  this,
@@ -2701,26 +2743,116 @@ class CardContent extends SvelteElement {
2701
2743
  props: attribute_to_object(this.attributes),
2702
2744
  customElement: true
2703
2745
  },
2704
- null,
2705
- create_fragment$y,
2746
+ instance$v,
2747
+ create_fragment$z,
2706
2748
  safe_not_equal,
2707
- {},
2708
- null
2709
- );
2710
-
2749
+ {
2750
+ elevation: 0,
2751
+ width: 1,
2752
+ height: 2,
2753
+ mt: 3,
2754
+ mr: 4,
2755
+ mb: 5,
2756
+ ml: 6,
2757
+ testid: 7
2758
+ },
2759
+ null
2760
+ );
2761
+
2711
2762
  if (options) {
2712
2763
  if (options.target) {
2713
2764
  insert(options.target, this, options.anchor);
2714
2765
  }
2766
+
2767
+ if (options.props) {
2768
+ this.$set(options.props);
2769
+ flush();
2770
+ }
2715
2771
  }
2716
2772
  }
2773
+
2774
+ static get observedAttributes() {
2775
+ return ["elevation", "width", "height", "mt", "mr", "mb", "ml", "testid"];
2776
+ }
2777
+
2778
+ get elevation() {
2779
+ return this.$$.ctx[0];
2780
+ }
2781
+
2782
+ set elevation(elevation) {
2783
+ this.$$set({ elevation });
2784
+ flush();
2785
+ }
2786
+
2787
+ get width() {
2788
+ return this.$$.ctx[1];
2789
+ }
2790
+
2791
+ set width(width) {
2792
+ this.$$set({ width });
2793
+ flush();
2794
+ }
2795
+
2796
+ get height() {
2797
+ return this.$$.ctx[2];
2798
+ }
2799
+
2800
+ set height(height) {
2801
+ this.$$set({ height });
2802
+ flush();
2803
+ }
2804
+
2805
+ get mt() {
2806
+ return this.$$.ctx[3];
2807
+ }
2808
+
2809
+ set mt(mt) {
2810
+ this.$$set({ mt });
2811
+ flush();
2812
+ }
2813
+
2814
+ get mr() {
2815
+ return this.$$.ctx[4];
2816
+ }
2817
+
2818
+ set mr(mr) {
2819
+ this.$$set({ mr });
2820
+ flush();
2821
+ }
2822
+
2823
+ get mb() {
2824
+ return this.$$.ctx[5];
2825
+ }
2826
+
2827
+ set mb(mb) {
2828
+ this.$$set({ mb });
2829
+ flush();
2830
+ }
2831
+
2832
+ get ml() {
2833
+ return this.$$.ctx[6];
2834
+ }
2835
+
2836
+ set ml(ml) {
2837
+ this.$$set({ ml });
2838
+ flush();
2839
+ }
2840
+
2841
+ get testid() {
2842
+ return this.$$.ctx[7];
2843
+ }
2844
+
2845
+ set testid(testid) {
2846
+ this.$$set({ testid });
2847
+ flush();
2848
+ }
2717
2849
  }
2718
2850
 
2719
- customElements.define("goa-card-content", CardContent);
2851
+ customElements.define("goa-card", Card);
2720
2852
 
2721
- /* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
2853
+ /* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
2722
2854
 
2723
- function create_fragment$x(ctx) {
2855
+ function create_fragment$y(ctx) {
2724
2856
  let div;
2725
2857
 
2726
2858
  return {
@@ -2728,7 +2860,7 @@ function create_fragment$x(ctx) {
2728
2860
  div = element("div");
2729
2861
  div.innerHTML = `<slot></slot>`;
2730
2862
  this.c = noop;
2731
- attr(div, "class", "card-group");
2863
+ attr(div, "class", "card-content");
2732
2864
  },
2733
2865
  m(target, anchor) {
2734
2866
  insert(target, div, anchor);
@@ -2742,10 +2874,10 @@ function create_fragment$x(ctx) {
2742
2874
  };
2743
2875
  }
2744
2876
 
2745
- class CardGroup extends SvelteElement {
2877
+ class CardContent extends SvelteElement {
2746
2878
  constructor(options) {
2747
2879
  super();
2748
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>`;
2880
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>`;
2749
2881
 
2750
2882
  init(
2751
2883
  this,
@@ -2755,7 +2887,7 @@ class CardGroup extends SvelteElement {
2755
2887
  customElement: true
2756
2888
  },
2757
2889
  null,
2758
- create_fragment$x,
2890
+ create_fragment$y,
2759
2891
  safe_not_equal,
2760
2892
  {},
2761
2893
  null
@@ -2769,34 +2901,24 @@ class CardGroup extends SvelteElement {
2769
2901
  }
2770
2902
  }
2771
2903
 
2772
- customElements.define("goa-card-group", CardGroup);
2904
+ customElements.define("goa-card-content", CardContent);
2773
2905
 
2774
- /* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
2906
+ /* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
2775
2907
 
2776
- function create_fragment$w(ctx) {
2908
+ function create_fragment$x(ctx) {
2777
2909
  let div;
2778
2910
 
2779
2911
  return {
2780
2912
  c() {
2781
2913
  div = element("div");
2914
+ div.innerHTML = `<slot></slot>`;
2782
2915
  this.c = noop;
2783
- set_style(div, "background-image", "url(" + /*src*/ ctx[0] + ")");
2784
- set_style(div, "height", /*height*/ ctx[1]);
2785
- set_style(div, "background-size", "cover");
2786
- set_style(div, "background-position", "center");
2916
+ attr(div, "class", "card-group");
2787
2917
  },
2788
2918
  m(target, anchor) {
2789
2919
  insert(target, div, anchor);
2790
2920
  },
2791
- p(ctx, [dirty]) {
2792
- if (dirty & /*src*/ 1) {
2793
- set_style(div, "background-image", "url(" + /*src*/ ctx[0] + ")");
2794
- }
2795
-
2796
- if (dirty & /*height*/ 2) {
2797
- set_style(div, "height", /*height*/ ctx[1]);
2798
- }
2799
- },
2921
+ p: noop,
2800
2922
  i: noop,
2801
2923
  o: noop,
2802
2924
  d(detaching) {
@@ -2805,22 +2927,10 @@ function create_fragment$w(ctx) {
2805
2927
  };
2806
2928
  }
2807
2929
 
2808
- function instance$u($$self, $$props, $$invalidate) {
2809
- let { src } = $$props;
2810
- let { height = "100%" } = $$props;
2811
-
2812
- $$self.$$set = $$props => {
2813
- if ('src' in $$props) $$invalidate(0, src = $$props.src);
2814
- if ('height' in $$props) $$invalidate(1, height = $$props.height);
2815
- };
2816
-
2817
- return [src, height];
2818
- }
2819
-
2820
- class CardImage extends SvelteElement {
2930
+ class CardGroup extends SvelteElement {
2821
2931
  constructor(options) {
2822
2932
  super();
2823
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>`;
2933
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>`;
2824
2934
 
2825
2935
  init(
2826
2936
  this,
@@ -2829,10 +2939,10 @@ class CardImage extends SvelteElement {
2829
2939
  props: attribute_to_object(this.attributes),
2830
2940
  customElement: true
2831
2941
  },
2832
- instance$u,
2833
- create_fragment$w,
2942
+ null,
2943
+ create_fragment$x,
2834
2944
  safe_not_equal,
2835
- { src: 0, height: 1 },
2945
+ {},
2836
2946
  null
2837
2947
  );
2838
2948
 
@@ -2840,71 +2950,36 @@ class CardImage extends SvelteElement {
2840
2950
  if (options.target) {
2841
2951
  insert(options.target, this, options.anchor);
2842
2952
  }
2843
-
2844
- if (options.props) {
2845
- this.$set(options.props);
2846
- flush();
2847
- }
2848
2953
  }
2849
2954
  }
2850
-
2851
- static get observedAttributes() {
2852
- return ["src", "height"];
2853
- }
2854
-
2855
- get src() {
2856
- return this.$$.ctx[0];
2857
- }
2858
-
2859
- set src(src) {
2860
- this.$$set({ src });
2861
- flush();
2862
- }
2863
-
2864
- get height() {
2865
- return this.$$.ctx[1];
2866
- }
2867
-
2868
- set height(height) {
2869
- this.$$set({ height });
2870
- flush();
2871
- }
2872
2955
  }
2873
2956
 
2874
- customElements.define("goa-card-image", CardImage);
2957
+ customElements.define("goa-card-group", CardGroup);
2875
2958
 
2876
- /* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
2959
+ /* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
2877
2960
 
2878
- function create_fragment$v(ctx) {
2961
+ function create_fragment$w(ctx) {
2879
2962
  let div;
2880
- let slot;
2881
- let div_style_value;
2882
2963
 
2883
2964
  return {
2884
2965
  c() {
2885
2966
  div = element("div");
2886
- slot = element("slot");
2887
2967
  this.c = noop;
2888
- attr(div, "data-testid", /*testid*/ ctx[7]);
2889
- attr(div, "class", "card");
2890
-
2891
- attr(div, "style", div_style_value = "--width: " + /*width*/ ctx[1] + "; --height: " + (/*height*/ ctx[2] === 'auto' ? 'auto' : '100%') + "; " + calculateMargin(/*mt*/ ctx[3], /*mr*/ ctx[4], /*mb*/ ctx[5], /*ml*/ ctx[6]) + " " + (/*elevation*/ ctx[0] === 0
2892
- ? `border: 1px solid var(--color-gray-200);`
2893
- : `box-shadow: var(--shadow-${/*elevation*/ ctx[0]});`) + "");
2968
+ set_style(div, "background-image", "url(" + /*src*/ ctx[0] + ")");
2969
+ set_style(div, "height", /*height*/ ctx[1]);
2970
+ set_style(div, "background-size", "cover");
2971
+ set_style(div, "background-position", "center");
2894
2972
  },
2895
2973
  m(target, anchor) {
2896
2974
  insert(target, div, anchor);
2897
- append(div, slot);
2898
2975
  },
2899
2976
  p(ctx, [dirty]) {
2900
- if (dirty & /*testid*/ 128) {
2901
- attr(div, "data-testid", /*testid*/ ctx[7]);
2977
+ if (dirty & /*src*/ 1) {
2978
+ set_style(div, "background-image", "url(" + /*src*/ ctx[0] + ")");
2902
2979
  }
2903
2980
 
2904
- if (dirty & /*width, height, mt, mr, mb, ml, elevation*/ 127 && div_style_value !== (div_style_value = "--width: " + /*width*/ ctx[1] + "; --height: " + (/*height*/ ctx[2] === 'auto' ? 'auto' : '100%') + "; " + calculateMargin(/*mt*/ ctx[3], /*mr*/ ctx[4], /*mb*/ ctx[5], /*ml*/ ctx[6]) + " " + (/*elevation*/ ctx[0] === 0
2905
- ? `border: 1px solid var(--color-gray-200);`
2906
- : `box-shadow: var(--shadow-${/*elevation*/ ctx[0]});`) + "")) {
2907
- attr(div, "style", div_style_value);
2981
+ if (dirty & /*height*/ 2) {
2982
+ set_style(div, "height", /*height*/ ctx[1]);
2908
2983
  }
2909
2984
  },
2910
2985
  i: noop,
@@ -2915,34 +2990,22 @@ function create_fragment$v(ctx) {
2915
2990
  };
2916
2991
  }
2917
2992
 
2918
- function instance$t($$self, $$props, $$invalidate) {
2919
- let { elevation = 0 } = $$props;
2920
- let { width = "100%" } = $$props;
2921
- let { height = "auto" } = $$props;
2922
- let { mt = null } = $$props;
2923
- let { mr = null } = $$props;
2924
- let { mb = null } = $$props;
2925
- let { ml = null } = $$props;
2926
- let { testid = "" } = $$props;
2993
+ function instance$u($$self, $$props, $$invalidate) {
2994
+ let { src } = $$props;
2995
+ let { height = "100%" } = $$props;
2927
2996
 
2928
2997
  $$self.$$set = $$props => {
2929
- if ('elevation' in $$props) $$invalidate(0, elevation = $$props.elevation);
2930
- if ('width' in $$props) $$invalidate(1, width = $$props.width);
2931
- if ('height' in $$props) $$invalidate(2, height = $$props.height);
2932
- if ('mt' in $$props) $$invalidate(3, mt = $$props.mt);
2933
- if ('mr' in $$props) $$invalidate(4, mr = $$props.mr);
2934
- if ('mb' in $$props) $$invalidate(5, mb = $$props.mb);
2935
- if ('ml' in $$props) $$invalidate(6, ml = $$props.ml);
2936
- if ('testid' in $$props) $$invalidate(7, testid = $$props.testid);
2998
+ if ('src' in $$props) $$invalidate(0, src = $$props.src);
2999
+ if ('height' in $$props) $$invalidate(1, height = $$props.height);
2937
3000
  };
2938
3001
 
2939
- return [elevation, width, height, mt, mr, mb, ml, testid];
3002
+ return [src, height];
2940
3003
  }
2941
3004
 
2942
- class Card extends SvelteElement {
3005
+ class CardImage extends SvelteElement {
2943
3006
  constructor(options) {
2944
3007
  super();
2945
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{background-color:var(--color-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>`;
3008
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>`;
2946
3009
 
2947
3010
  init(
2948
3011
  this,
@@ -2951,19 +3014,10 @@ class Card extends SvelteElement {
2951
3014
  props: attribute_to_object(this.attributes),
2952
3015
  customElement: true
2953
3016
  },
2954
- instance$t,
2955
- create_fragment$v,
3017
+ instance$u,
3018
+ create_fragment$w,
2956
3019
  safe_not_equal,
2957
- {
2958
- elevation: 0,
2959
- width: 1,
2960
- height: 2,
2961
- mt: 3,
2962
- mr: 4,
2963
- mb: 5,
2964
- ml: 6,
2965
- testid: 7
2966
- },
3020
+ { src: 0, height: 1 },
2967
3021
  null
2968
3022
  );
2969
3023
 
@@ -2980,83 +3034,29 @@ class Card extends SvelteElement {
2980
3034
  }
2981
3035
 
2982
3036
  static get observedAttributes() {
2983
- return ["elevation", "width", "height", "mt", "mr", "mb", "ml", "testid"];
3037
+ return ["src", "height"];
2984
3038
  }
2985
3039
 
2986
- get elevation() {
3040
+ get src() {
2987
3041
  return this.$$.ctx[0];
2988
3042
  }
2989
3043
 
2990
- set elevation(elevation) {
2991
- this.$$set({ elevation });
2992
- flush();
2993
- }
2994
-
2995
- get width() {
2996
- return this.$$.ctx[1];
2997
- }
2998
-
2999
- set width(width) {
3000
- this.$$set({ width });
3044
+ set src(src) {
3045
+ this.$$set({ src });
3001
3046
  flush();
3002
3047
  }
3003
3048
 
3004
3049
  get height() {
3005
- return this.$$.ctx[2];
3050
+ return this.$$.ctx[1];
3006
3051
  }
3007
3052
 
3008
3053
  set height(height) {
3009
3054
  this.$$set({ height });
3010
3055
  flush();
3011
3056
  }
3012
-
3013
- get mt() {
3014
- return this.$$.ctx[3];
3015
- }
3016
-
3017
- set mt(mt) {
3018
- this.$$set({ mt });
3019
- flush();
3020
- }
3021
-
3022
- get mr() {
3023
- return this.$$.ctx[4];
3024
- }
3025
-
3026
- set mr(mr) {
3027
- this.$$set({ mr });
3028
- flush();
3029
- }
3030
-
3031
- get mb() {
3032
- return this.$$.ctx[5];
3033
- }
3034
-
3035
- set mb(mb) {
3036
- this.$$set({ mb });
3037
- flush();
3038
- }
3039
-
3040
- get ml() {
3041
- return this.$$.ctx[6];
3042
- }
3043
-
3044
- set ml(ml) {
3045
- this.$$set({ ml });
3046
- flush();
3047
- }
3048
-
3049
- get testid() {
3050
- return this.$$.ctx[7];
3051
- }
3052
-
3053
- set testid(testid) {
3054
- this.$$set({ testid });
3055
- flush();
3056
- }
3057
3057
  }
3058
3058
 
3059
- customElements.define("goa-card", Card);
3059
+ customElements.define("goa-card-image", CardImage);
3060
3060
 
3061
3061
  /* libs/web-components/src/components/checkbox/Checkbox.svelte generated by Svelte v3.51.0 */
3062
3062
 
@@ -3110,7 +3110,7 @@ function create_if_block$d(ctx) {
3110
3110
  };
3111
3111
  }
3112
3112
 
3113
- function create_fragment$u(ctx) {
3113
+ function create_fragment$v(ctx) {
3114
3114
  let label;
3115
3115
  let div0;
3116
3116
  let input;
@@ -3255,7 +3255,7 @@ function create_fragment$u(ctx) {
3255
3255
  };
3256
3256
  }
3257
3257
 
3258
- function instance$s($$self, $$props, $$invalidate) {
3258
+ function instance$t($$self, $$props, $$invalidate) {
3259
3259
  let isDisabled;
3260
3260
  let isError;
3261
3261
  let isChecked;
@@ -3367,8 +3367,8 @@ class Checkbox extends SvelteElement {
3367
3367
  props: attribute_to_object(this.attributes),
3368
3368
  customElement: true
3369
3369
  },
3370
- instance$s,
3371
- create_fragment$u,
3370
+ instance$t,
3371
+ create_fragment$v,
3372
3372
  safe_not_equal,
3373
3373
  {
3374
3374
  name: 0,
@@ -3597,7 +3597,7 @@ function create_if_block$c(ctx) {
3597
3597
  };
3598
3598
  }
3599
3599
 
3600
- function create_fragment$t(ctx) {
3600
+ function create_fragment$u(ctx) {
3601
3601
  let div1;
3602
3602
  let t0;
3603
3603
  let div0;
@@ -3712,7 +3712,7 @@ function create_fragment$t(ctx) {
3712
3712
  };
3713
3713
  }
3714
3714
 
3715
- function instance$r($$self, $$props, $$invalidate) {
3715
+ function instance$s($$self, $$props, $$invalidate) {
3716
3716
  let { mt = null } = $$props;
3717
3717
  let { mr = null } = $$props;
3718
3718
  let { mb = null } = $$props;
@@ -3809,8 +3809,8 @@ class Chip extends SvelteElement {
3809
3809
  props: attribute_to_object(this.attributes),
3810
3810
  customElement: true
3811
3811
  },
3812
- instance$r,
3813
- create_fragment$t,
3812
+ instance$s,
3813
+ create_fragment$u,
3814
3814
  safe_not_equal,
3815
3815
  {
3816
3816
  mt: 0,
@@ -4318,7 +4318,7 @@ function create_if_block_2$5(ctx) {
4318
4318
  };
4319
4319
  }
4320
4320
 
4321
- function create_fragment$s(ctx) {
4321
+ function create_fragment$t(ctx) {
4322
4322
  let if_block_anchor;
4323
4323
  let current;
4324
4324
  let if_block = /*isVisible*/ ctx[5] && create_if_block$b(ctx);
@@ -4374,7 +4374,7 @@ function create_fragment$s(ctx) {
4374
4374
  };
4375
4375
  }
4376
4376
 
4377
- function instance$q($$self, $$props, $$invalidate) {
4377
+ function instance$r($$self, $$props, $$invalidate) {
4378
4378
  let isVisible;
4379
4379
  const [Variants, validateVariant] = typeValidator("Circular progress variant", ["fullscreen", "inline"]);
4380
4380
  const [Sizes, validateSize] = typeValidator("Button size", ["small", "large"]);
@@ -4434,8 +4434,8 @@ class CircularProgress extends SvelteElement {
4434
4434
  props: attribute_to_object(this.attributes),
4435
4435
  customElement: true
4436
4436
  },
4437
- instance$q,
4438
- create_fragment$s,
4437
+ instance$r,
4438
+ create_fragment$t,
4439
4439
  safe_not_equal,
4440
4440
  {
4441
4441
  variant: 6,
@@ -4513,7 +4513,7 @@ customElements.define("goa-circular-progress", CircularProgress);
4513
4513
 
4514
4514
  /* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.51.0 */
4515
4515
 
4516
- function create_fragment$r(ctx) {
4516
+ function create_fragment$s(ctx) {
4517
4517
  let div3;
4518
4518
  let header;
4519
4519
  let div0;
@@ -4591,7 +4591,7 @@ function create_fragment$r(ctx) {
4591
4591
  };
4592
4592
  }
4593
4593
 
4594
- function instance$p($$self, $$props, $$invalidate) {
4594
+ function instance$q($$self, $$props, $$invalidate) {
4595
4595
  const [Types, validateType] = typeValidator("Container type", ["interactive", "info", "error", "success", "important", "non-interactive"]);
4596
4596
  const [Accents, validateAccent] = typeValidator("Container accent", ["thick", "thin", "filled"]);
4597
4597
  const [Paddings, validatePadding] = typeValidator("Container padding", ["relaxed", "compact"]);
@@ -4636,8 +4636,8 @@ class Container extends SvelteElement {
4636
4636
  props: attribute_to_object(this.attributes),
4637
4637
  customElement: true
4638
4638
  },
4639
- instance$p,
4640
- create_fragment$r,
4639
+ instance$q,
4640
+ create_fragment$s,
4641
4641
  safe_not_equal,
4642
4642
  {
4643
4643
  type: 0,
@@ -4745,7 +4745,7 @@ customElements.define("goa-container", Container);
4745
4745
 
4746
4746
  /* libs/web-components/src/components/divider/Divider.svelte generated by Svelte v3.51.0 */
4747
4747
 
4748
- function create_fragment$q(ctx) {
4748
+ function create_fragment$r(ctx) {
4749
4749
  let hr;
4750
4750
  let hr_style_value;
4751
4751
 
@@ -4776,7 +4776,7 @@ function create_fragment$q(ctx) {
4776
4776
  };
4777
4777
  }
4778
4778
 
4779
- function instance$o($$self, $$props, $$invalidate) {
4779
+ function instance$p($$self, $$props, $$invalidate) {
4780
4780
  let { testid = "" } = $$props;
4781
4781
  let { mt = null } = $$props;
4782
4782
  let { mr = null } = $$props;
@@ -4806,8 +4806,8 @@ class Divider extends SvelteElement {
4806
4806
  props: attribute_to_object(this.attributes),
4807
4807
  customElement: true
4808
4808
  },
4809
- instance$o,
4810
- create_fragment$q,
4809
+ instance$p,
4810
+ create_fragment$r,
4811
4811
  safe_not_equal,
4812
4812
  { testid: 0, mt: 1, mr: 2, mb: 3, ml: 4 },
4813
4813
  null
@@ -4960,6 +4960,120 @@ function deleteContext(name) {
4960
4960
  delete stores[name];
4961
4961
  }
4962
4962
 
4963
+ /* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.51.0 */
4964
+
4965
+ function create_fragment$q(ctx) {
4966
+ return {
4967
+ c() {
4968
+ this.c = noop;
4969
+ },
4970
+ m: noop,
4971
+ p: noop,
4972
+ i: noop,
4973
+ o: noop,
4974
+ d: noop
4975
+ };
4976
+ }
4977
+
4978
+ function instance$o($$self, $$props, $$invalidate) {
4979
+ let { name = "" } = $$props;
4980
+ let { value = "" } = $$props;
4981
+ let { label = "" } = $$props;
4982
+
4983
+ // private
4984
+ let ctx;
4985
+
4986
+ let isBound = false;
4987
+
4988
+ $$self.$$set = $$props => {
4989
+ if ('name' in $$props) $$invalidate(0, name = $$props.name);
4990
+ if ('value' in $$props) $$invalidate(1, value = $$props.value);
4991
+ if ('label' in $$props) $$invalidate(2, label = $$props.label);
4992
+ };
4993
+
4994
+ $$self.$$.update = () => {
4995
+ if ($$self.$$.dirty & /*isBound, name, ctx, label, value*/ 31) {
4996
+ {
4997
+ (async () => {
4998
+ await tick();
4999
+
5000
+ if (!isBound) {
5001
+ $$invalidate(4, isBound = true);
5002
+ $$invalidate(3, ctx = getContext(name));
5003
+ ctx.notify({ type: "bind", name, label, value });
5004
+ }
5005
+ })();
5006
+ }
5007
+ }
5008
+ };
5009
+
5010
+ return [name, value, label, ctx, isBound];
5011
+ }
5012
+
5013
+ class DropdownItem extends SvelteElement {
5014
+ constructor(options) {
5015
+ super();
5016
+
5017
+ init(
5018
+ this,
5019
+ {
5020
+ target: this.shadowRoot,
5021
+ props: attribute_to_object(this.attributes),
5022
+ customElement: true
5023
+ },
5024
+ instance$o,
5025
+ create_fragment$q,
5026
+ safe_not_equal,
5027
+ { name: 0, value: 1, label: 2 },
5028
+ null
5029
+ );
5030
+
5031
+ if (options) {
5032
+ if (options.target) {
5033
+ insert(options.target, this, options.anchor);
5034
+ }
5035
+
5036
+ if (options.props) {
5037
+ this.$set(options.props);
5038
+ flush();
5039
+ }
5040
+ }
5041
+ }
5042
+
5043
+ static get observedAttributes() {
5044
+ return ["name", "value", "label"];
5045
+ }
5046
+
5047
+ get name() {
5048
+ return this.$$.ctx[0];
5049
+ }
5050
+
5051
+ set name(name) {
5052
+ this.$$set({ name });
5053
+ flush();
5054
+ }
5055
+
5056
+ get value() {
5057
+ return this.$$.ctx[1];
5058
+ }
5059
+
5060
+ set value(value) {
5061
+ this.$$set({ value });
5062
+ flush();
5063
+ }
5064
+
5065
+ get label() {
5066
+ return this.$$.ctx[2];
5067
+ }
5068
+
5069
+ set label(label) {
5070
+ this.$$set({ label });
5071
+ flush();
5072
+ }
5073
+ }
5074
+
5075
+ customElements.define("goa-dropdown-item", DropdownItem);
5076
+
4963
5077
  /* libs/web-components/src/components/dropdown/Dropdown.svelte generated by Svelte v3.51.0 */
4964
5078
 
4965
5079
  function get_each_context_1(ctx, list, i) {
@@ -5908,175 +6022,61 @@ class Dropdown extends SvelteElement {
5908
6022
  }
5909
6023
 
5910
6024
  set multiselect(multiselect) {
5911
- this.$$set({ multiselect });
5912
- flush();
5913
- }
5914
-
5915
- get native() {
5916
- return this.$$.ctx[27];
5917
- }
5918
-
5919
- set native(native) {
5920
- this.$$set({ native });
5921
- flush();
5922
- }
5923
-
5924
- get mt() {
5925
- return this.$$.ctx[9];
5926
- }
5927
-
5928
- set mt(mt) {
5929
- this.$$set({ mt });
5930
- flush();
5931
- }
5932
-
5933
- get mr() {
5934
- return this.$$.ctx[10];
5935
- }
5936
-
5937
- set mr(mr) {
5938
- this.$$set({ mr });
5939
- flush();
5940
- }
5941
-
5942
- get mb() {
5943
- return this.$$.ctx[11];
5944
- }
5945
-
5946
- set mb(mb) {
5947
- this.$$set({ mb });
5948
- flush();
5949
- }
5950
-
5951
- get ml() {
5952
- return this.$$.ctx[12];
5953
- }
5954
-
5955
- set ml(ml) {
5956
- this.$$set({ ml });
5957
- flush();
5958
- }
5959
- }
5960
-
5961
- customElements.define("goa-dropdown", Dropdown);
5962
-
5963
- /* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.51.0 */
5964
-
5965
- function create_fragment$o(ctx) {
5966
- return {
5967
- c() {
5968
- this.c = noop;
5969
- },
5970
- m: noop,
5971
- p: noop,
5972
- i: noop,
5973
- o: noop,
5974
- d: noop
5975
- };
5976
- }
5977
-
5978
- function instance$m($$self, $$props, $$invalidate) {
5979
- let { name = "" } = $$props;
5980
- let { value = "" } = $$props;
5981
- let { label = "" } = $$props;
5982
-
5983
- // private
5984
- let ctx;
5985
-
5986
- let isBound = false;
5987
-
5988
- $$self.$$set = $$props => {
5989
- if ('name' in $$props) $$invalidate(0, name = $$props.name);
5990
- if ('value' in $$props) $$invalidate(1, value = $$props.value);
5991
- if ('label' in $$props) $$invalidate(2, label = $$props.label);
5992
- };
5993
-
5994
- $$self.$$.update = () => {
5995
- if ($$self.$$.dirty & /*isBound, name, ctx, label, value*/ 31) {
5996
- {
5997
- (async () => {
5998
- await tick();
5999
-
6000
- if (!isBound) {
6001
- $$invalidate(4, isBound = true);
6002
- $$invalidate(3, ctx = getContext(name));
6003
- ctx.notify({ type: "bind", name, label, value });
6004
- }
6005
- })();
6006
- }
6007
- }
6008
- };
6009
-
6010
- return [name, value, label, ctx, isBound];
6011
- }
6012
-
6013
- class DropdownItem extends SvelteElement {
6014
- constructor(options) {
6015
- super();
6025
+ this.$$set({ multiselect });
6026
+ flush();
6027
+ }
6016
6028
 
6017
- init(
6018
- this,
6019
- {
6020
- target: this.shadowRoot,
6021
- props: attribute_to_object(this.attributes),
6022
- customElement: true
6023
- },
6024
- instance$m,
6025
- create_fragment$o,
6026
- safe_not_equal,
6027
- { name: 0, value: 1, label: 2 },
6028
- null
6029
- );
6029
+ get native() {
6030
+ return this.$$.ctx[27];
6031
+ }
6030
6032
 
6031
- if (options) {
6032
- if (options.target) {
6033
- insert(options.target, this, options.anchor);
6034
- }
6033
+ set native(native) {
6034
+ this.$$set({ native });
6035
+ flush();
6036
+ }
6035
6037
 
6036
- if (options.props) {
6037
- this.$set(options.props);
6038
- flush();
6039
- }
6040
- }
6038
+ get mt() {
6039
+ return this.$$.ctx[9];
6041
6040
  }
6042
6041
 
6043
- static get observedAttributes() {
6044
- return ["name", "value", "label"];
6042
+ set mt(mt) {
6043
+ this.$$set({ mt });
6044
+ flush();
6045
6045
  }
6046
6046
 
6047
- get name() {
6048
- return this.$$.ctx[0];
6047
+ get mr() {
6048
+ return this.$$.ctx[10];
6049
6049
  }
6050
6050
 
6051
- set name(name) {
6052
- this.$$set({ name });
6051
+ set mr(mr) {
6052
+ this.$$set({ mr });
6053
6053
  flush();
6054
6054
  }
6055
6055
 
6056
- get value() {
6057
- return this.$$.ctx[1];
6056
+ get mb() {
6057
+ return this.$$.ctx[11];
6058
6058
  }
6059
6059
 
6060
- set value(value) {
6061
- this.$$set({ value });
6060
+ set mb(mb) {
6061
+ this.$$set({ mb });
6062
6062
  flush();
6063
6063
  }
6064
6064
 
6065
- get label() {
6066
- return this.$$.ctx[2];
6065
+ get ml() {
6066
+ return this.$$.ctx[12];
6067
6067
  }
6068
6068
 
6069
- set label(label) {
6070
- this.$$set({ label });
6069
+ set ml(ml) {
6070
+ this.$$set({ ml });
6071
6071
  flush();
6072
6072
  }
6073
6073
  }
6074
6074
 
6075
- customElements.define("goa-dropdown-item", DropdownItem);
6075
+ customElements.define("goa-dropdown", Dropdown);
6076
6076
 
6077
6077
  /* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.51.0 */
6078
6078
 
6079
- function create_fragment$n(ctx) {
6079
+ function create_fragment$o(ctx) {
6080
6080
  let div;
6081
6081
 
6082
6082
  return {
@@ -6129,7 +6129,7 @@ function isFocusable(element) {
6129
6129
  }
6130
6130
  }
6131
6131
 
6132
- function instance$l($$self, $$props, $$invalidate) {
6132
+ function instance$m($$self, $$props, $$invalidate) {
6133
6133
  let isActive;
6134
6134
  let { active } = $$props;
6135
6135
  let ignoreFocusChanges = false;
@@ -6283,21 +6283,215 @@ function instance$l($$self, $$props, $$invalidate) {
6283
6283
  $$invalidate(2, hasListeners = true);
6284
6284
  }
6285
6285
 
6286
- if (!isActive && hasListeners) {
6287
- removeListeners();
6288
- $$invalidate(2, hasListeners = false);
6289
- }
6290
- }
6291
- }
6286
+ if (!isActive && hasListeners) {
6287
+ removeListeners();
6288
+ $$invalidate(2, hasListeners = false);
6289
+ }
6290
+ }
6291
+ }
6292
+ };
6293
+
6294
+ return [element, active, hasListeners, isActive, div_binding];
6295
+ }
6296
+
6297
+ class FocusTrap extends SvelteElement {
6298
+ constructor(options) {
6299
+ super();
6300
+ this.shadowRoot.innerHTML = `<style>#root{display:inline}</style>`;
6301
+
6302
+ init(
6303
+ this,
6304
+ {
6305
+ target: this.shadowRoot,
6306
+ props: attribute_to_object(this.attributes),
6307
+ customElement: true
6308
+ },
6309
+ instance$m,
6310
+ create_fragment$o,
6311
+ safe_not_equal,
6312
+ { active: 1 },
6313
+ null
6314
+ );
6315
+
6316
+ if (options) {
6317
+ if (options.target) {
6318
+ insert(options.target, this, options.anchor);
6319
+ }
6320
+
6321
+ if (options.props) {
6322
+ this.$set(options.props);
6323
+ flush();
6324
+ }
6325
+ }
6326
+ }
6327
+
6328
+ static get observedAttributes() {
6329
+ return ["active"];
6330
+ }
6331
+
6332
+ get active() {
6333
+ return this.$$.ctx[1];
6334
+ }
6335
+
6336
+ set active(active) {
6337
+ this.$$set({ active });
6338
+ flush();
6339
+ }
6340
+ }
6341
+
6342
+ customElements.define("goa-focus-trap", FocusTrap);
6343
+
6344
+ /* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
6345
+
6346
+ function create_if_block$9(ctx) {
6347
+ let goa_divider;
6348
+
6349
+ return {
6350
+ c() {
6351
+ goa_divider = element("goa-divider");
6352
+ set_custom_element_data(goa_divider, "spacing", "small");
6353
+ },
6354
+ m(target, anchor) {
6355
+ insert(target, goa_divider, anchor);
6356
+ },
6357
+ d(detaching) {
6358
+ if (detaching) detach(goa_divider);
6359
+ }
6360
+ };
6361
+ }
6362
+
6363
+ function create_fragment$n(ctx) {
6364
+ let div5;
6365
+ let div4;
6366
+ let div0;
6367
+ let t0;
6368
+ let t1;
6369
+ let div3;
6370
+ let div1;
6371
+ let t2;
6372
+ let div2;
6373
+ let a0;
6374
+ let t3;
6375
+ let a1;
6376
+ let div5_style_value;
6377
+ let if_block = /*navLinks*/ ctx[2]?.length && create_if_block$9();
6378
+
6379
+ return {
6380
+ c() {
6381
+ div5 = element("div");
6382
+ div4 = element("div");
6383
+ div0 = element("div");
6384
+ div0.innerHTML = `<slot name="nav"></slot>`;
6385
+ t0 = space();
6386
+ if (if_block) if_block.c();
6387
+ t1 = space();
6388
+ div3 = element("div");
6389
+ div1 = element("div");
6390
+ div1.innerHTML = `<slot name="meta"></slot>`;
6391
+ t2 = space();
6392
+ div2 = element("div");
6393
+ a0 = element("a");
6394
+ a0.innerHTML = `<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns=&#39;http://www.w3.org/2000/svg&#39; xmlns:xlink=&#39;http://www.w3.org/1999/xlink&#39; width=&#39;149.351&#39; height=&#39;42&#39; viewBox=&#39;0 0 149.351 42&#39;%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id=&#39;a&#39;%3E%3Crect class=&#39;a&#39; width=&#39;149.351&#39; height=&#39;42&#39;/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class=&#39;b&#39;%3E%3Crect class=&#39;c&#39; width=&#39;13.555&#39; height=&#39;13.555&#39; transform=&#39;translate(135.796 21.524)&#39;/%3E%3Cpath class=&#39;d&#39; d=&#39;M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83&#39; transform=&#39;translate(-0.038 0.124)&#39;/%3E%3C/g%3E%3C/svg%3E"/>`;
6395
+ t3 = space();
6396
+ a1 = element("a");
6397
+ a1.textContent = `© ${/*year*/ ctx[4]} Government of Alberta`;
6398
+ this.c = noop;
6399
+ attr(div0, "class", "nav-links");
6400
+ attr(div1, "class", "meta-links");
6401
+ attr(a0, "href", "https://alberta.ca");
6402
+ attr(a1, "href", "https://alberta.ca");
6403
+ attr(a1, "class", "goa-copyright");
6404
+ attr(div2, "class", "abgov");
6405
+ toggle_class(div2, "with-meta-links", /*metaLinks*/ ctx[3]?.length);
6406
+ attr(div3, "class", "meta-section");
6407
+ toggle_class(div3, "with-meta-links", /*metaLinks*/ ctx[3]?.length);
6408
+ attr(div4, "class", "content");
6409
+ attr(div5, "class", "app-footer");
6410
+ attr(div5, "style", div5_style_value = `--max-content-width: ${/*maxcontentwidth*/ ctx[0] || "100%"}`);
6411
+ },
6412
+ m(target, anchor) {
6413
+ insert(target, div5, anchor);
6414
+ append(div5, div4);
6415
+ append(div4, div0);
6416
+ append(div4, t0);
6417
+ if (if_block) if_block.m(div4, null);
6418
+ append(div4, t1);
6419
+ append(div4, div3);
6420
+ append(div3, div1);
6421
+ append(div3, t2);
6422
+ append(div3, div2);
6423
+ append(div2, a0);
6424
+ append(div2, t3);
6425
+ append(div2, a1);
6426
+ /*div5_binding*/ ctx[5](div5);
6427
+ },
6428
+ p(ctx, [dirty]) {
6429
+ if (/*navLinks*/ ctx[2]?.length) {
6430
+ if (if_block) ; else {
6431
+ if_block = create_if_block$9();
6432
+ if_block.c();
6433
+ if_block.m(div4, t1);
6434
+ }
6435
+ } else if (if_block) {
6436
+ if_block.d(1);
6437
+ if_block = null;
6438
+ }
6439
+
6440
+ if (dirty & /*metaLinks*/ 8) {
6441
+ toggle_class(div2, "with-meta-links", /*metaLinks*/ ctx[3]?.length);
6442
+ }
6443
+
6444
+ if (dirty & /*metaLinks*/ 8) {
6445
+ toggle_class(div3, "with-meta-links", /*metaLinks*/ ctx[3]?.length);
6446
+ }
6447
+
6448
+ if (dirty & /*maxcontentwidth*/ 1 && div5_style_value !== (div5_style_value = `--max-content-width: ${/*maxcontentwidth*/ ctx[0] || "100%"}`)) {
6449
+ attr(div5, "style", div5_style_value);
6450
+ }
6451
+ },
6452
+ i: noop,
6453
+ o: noop,
6454
+ d(detaching) {
6455
+ if (detaching) detach(div5);
6456
+ if (if_block) if_block.d();
6457
+ /*div5_binding*/ ctx[5](null);
6458
+ }
6459
+ };
6460
+ }
6461
+
6462
+ function instance$l($$self, $$props, $$invalidate) {
6463
+ let { maxcontentwidth = "" } = $$props;
6464
+ let rootEl;
6465
+ let navLinks;
6466
+ let metaLinks;
6467
+ const year = new Date().getFullYear();
6468
+
6469
+ onMount(async () => {
6470
+ await tick();
6471
+ const navSlot = rootEl.querySelector("slot[name=nav]");
6472
+ const metaSlot = rootEl.querySelector("slot[name=meta]");
6473
+ $$invalidate(2, navLinks = navSlot.assignedElements());
6474
+ $$invalidate(3, metaLinks = metaSlot.assignedElements());
6475
+ });
6476
+
6477
+ function div5_binding($$value) {
6478
+ binding_callbacks[$$value ? 'unshift' : 'push'](() => {
6479
+ rootEl = $$value;
6480
+ $$invalidate(1, rootEl);
6481
+ });
6482
+ }
6483
+
6484
+ $$self.$$set = $$props => {
6485
+ if ('maxcontentwidth' in $$props) $$invalidate(0, maxcontentwidth = $$props.maxcontentwidth);
6292
6486
  };
6293
6487
 
6294
- return [element, active, hasListeners, isActive, div_binding];
6488
+ return [maxcontentwidth, rootEl, navLinks, metaLinks, year, div5_binding];
6295
6489
  }
6296
6490
 
6297
- class FocusTrap extends SvelteElement {
6491
+ class Footer extends SvelteElement {
6298
6492
  constructor(options) {
6299
6493
  super();
6300
- this.shadowRoot.innerHTML = `<style>#root{display:inline}</style>`;
6494
+ 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), 100%)}@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>`;
6301
6495
 
6302
6496
  init(
6303
6497
  this,
@@ -6309,7 +6503,7 @@ class FocusTrap extends SvelteElement {
6309
6503
  instance$l,
6310
6504
  create_fragment$n,
6311
6505
  safe_not_equal,
6312
- { active: 1 },
6506
+ { maxcontentwidth: 0 },
6313
6507
  null
6314
6508
  );
6315
6509
 
@@ -6326,20 +6520,20 @@ class FocusTrap extends SvelteElement {
6326
6520
  }
6327
6521
 
6328
6522
  static get observedAttributes() {
6329
- return ["active"];
6523
+ return ["maxcontentwidth"];
6330
6524
  }
6331
6525
 
6332
- get active() {
6333
- return this.$$.ctx[1];
6526
+ get maxcontentwidth() {
6527
+ return this.$$.ctx[0];
6334
6528
  }
6335
6529
 
6336
- set active(active) {
6337
- this.$$set({ active });
6530
+ set maxcontentwidth(maxcontentwidth) {
6531
+ this.$$set({ maxcontentwidth });
6338
6532
  flush();
6339
6533
  }
6340
6534
  }
6341
6535
 
6342
- customElements.define("goa-focus-trap", FocusTrap);
6536
+ customElements.define("goa-app-footer", Footer);
6343
6537
 
6344
6538
  /* libs/web-components/src/components/footer-meta-section/FooterMetaSection.svelte generated by Svelte v3.51.0 */
6345
6539
 
@@ -6525,7 +6719,7 @@ function get_each_context$2(ctx, list, i) {
6525
6719
  }
6526
6720
 
6527
6721
  // (31:2) {#if heading}
6528
- function create_if_block$9(ctx) {
6722
+ function create_if_block$8(ctx) {
6529
6723
  let div;
6530
6724
  let t0;
6531
6725
  let t1;
@@ -6597,7 +6791,7 @@ function create_fragment$l(ctx) {
6597
6791
  let t1;
6598
6792
  let ul;
6599
6793
  let ul_style_value;
6600
- let if_block = /*heading*/ ctx[0] && create_if_block$9(ctx);
6794
+ let if_block = /*heading*/ ctx[0] && create_if_block$8(ctx);
6601
6795
  let each_value = /*children*/ ctx[3];
6602
6796
  let each_blocks = [];
6603
6797
 
@@ -6651,7 +6845,7 @@ function create_fragment$l(ctx) {
6651
6845
  if (if_block) {
6652
6846
  if_block.p(ctx, dirty);
6653
6847
  } else {
6654
- if_block = create_if_block$9(ctx);
6848
+ if_block = create_if_block$8(ctx);
6655
6849
  if_block.c();
6656
6850
  if_block.m(section, t0);
6657
6851
  }
@@ -6804,200 +6998,6 @@ class FooterNavSection extends SvelteElement {
6804
6998
 
6805
6999
  customElements.define("goa-app-footer-nav-section", FooterNavSection);
6806
7000
 
6807
- /* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
6808
-
6809
- function create_if_block$8(ctx) {
6810
- let goa_divider;
6811
-
6812
- return {
6813
- c() {
6814
- goa_divider = element("goa-divider");
6815
- set_custom_element_data(goa_divider, "spacing", "small");
6816
- },
6817
- m(target, anchor) {
6818
- insert(target, goa_divider, anchor);
6819
- },
6820
- d(detaching) {
6821
- if (detaching) detach(goa_divider);
6822
- }
6823
- };
6824
- }
6825
-
6826
- function create_fragment$k(ctx) {
6827
- let div5;
6828
- let div4;
6829
- let div0;
6830
- let t0;
6831
- let t1;
6832
- let div3;
6833
- let div1;
6834
- let t2;
6835
- let div2;
6836
- let a0;
6837
- let t3;
6838
- let a1;
6839
- let div5_style_value;
6840
- let if_block = /*navLinks*/ ctx[2]?.length && create_if_block$8();
6841
-
6842
- return {
6843
- c() {
6844
- div5 = element("div");
6845
- div4 = element("div");
6846
- div0 = element("div");
6847
- div0.innerHTML = `<slot name="nav"></slot>`;
6848
- t0 = space();
6849
- if (if_block) if_block.c();
6850
- t1 = space();
6851
- div3 = element("div");
6852
- div1 = element("div");
6853
- div1.innerHTML = `<slot name="meta"></slot>`;
6854
- t2 = space();
6855
- div2 = element("div");
6856
- a0 = element("a");
6857
- a0.innerHTML = `<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns=&#39;http://www.w3.org/2000/svg&#39; xmlns:xlink=&#39;http://www.w3.org/1999/xlink&#39; width=&#39;149.351&#39; height=&#39;42&#39; viewBox=&#39;0 0 149.351 42&#39;%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id=&#39;a&#39;%3E%3Crect class=&#39;a&#39; width=&#39;149.351&#39; height=&#39;42&#39;/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class=&#39;b&#39;%3E%3Crect class=&#39;c&#39; width=&#39;13.555&#39; height=&#39;13.555&#39; transform=&#39;translate(135.796 21.524)&#39;/%3E%3Cpath class=&#39;d&#39; d=&#39;M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83&#39; transform=&#39;translate(-0.038 0.124)&#39;/%3E%3C/g%3E%3C/svg%3E"/>`;
6858
- t3 = space();
6859
- a1 = element("a");
6860
- a1.textContent = `© ${/*year*/ ctx[4]} Government of Alberta`;
6861
- this.c = noop;
6862
- attr(div0, "class", "nav-links");
6863
- attr(div1, "class", "meta-links");
6864
- attr(a0, "href", "https://alberta.ca");
6865
- attr(a1, "href", "https://alberta.ca");
6866
- attr(a1, "class", "goa-copyright");
6867
- attr(div2, "class", "abgov");
6868
- toggle_class(div2, "with-meta-links", /*metaLinks*/ ctx[3]?.length);
6869
- attr(div3, "class", "meta-section");
6870
- toggle_class(div3, "with-meta-links", /*metaLinks*/ ctx[3]?.length);
6871
- attr(div4, "class", "content");
6872
- attr(div5, "class", "app-footer");
6873
- attr(div5, "style", div5_style_value = `--max-content-width: ${/*maxcontentwidth*/ ctx[0] || "100%"}`);
6874
- },
6875
- m(target, anchor) {
6876
- insert(target, div5, anchor);
6877
- append(div5, div4);
6878
- append(div4, div0);
6879
- append(div4, t0);
6880
- if (if_block) if_block.m(div4, null);
6881
- append(div4, t1);
6882
- append(div4, div3);
6883
- append(div3, div1);
6884
- append(div3, t2);
6885
- append(div3, div2);
6886
- append(div2, a0);
6887
- append(div2, t3);
6888
- append(div2, a1);
6889
- /*div5_binding*/ ctx[5](div5);
6890
- },
6891
- p(ctx, [dirty]) {
6892
- if (/*navLinks*/ ctx[2]?.length) {
6893
- if (if_block) ; else {
6894
- if_block = create_if_block$8();
6895
- if_block.c();
6896
- if_block.m(div4, t1);
6897
- }
6898
- } else if (if_block) {
6899
- if_block.d(1);
6900
- if_block = null;
6901
- }
6902
-
6903
- if (dirty & /*metaLinks*/ 8) {
6904
- toggle_class(div2, "with-meta-links", /*metaLinks*/ ctx[3]?.length);
6905
- }
6906
-
6907
- if (dirty & /*metaLinks*/ 8) {
6908
- toggle_class(div3, "with-meta-links", /*metaLinks*/ ctx[3]?.length);
6909
- }
6910
-
6911
- if (dirty & /*maxcontentwidth*/ 1 && div5_style_value !== (div5_style_value = `--max-content-width: ${/*maxcontentwidth*/ ctx[0] || "100%"}`)) {
6912
- attr(div5, "style", div5_style_value);
6913
- }
6914
- },
6915
- i: noop,
6916
- o: noop,
6917
- d(detaching) {
6918
- if (detaching) detach(div5);
6919
- if (if_block) if_block.d();
6920
- /*div5_binding*/ ctx[5](null);
6921
- }
6922
- };
6923
- }
6924
-
6925
- function instance$i($$self, $$props, $$invalidate) {
6926
- let { maxcontentwidth = "" } = $$props;
6927
- let rootEl;
6928
- let navLinks;
6929
- let metaLinks;
6930
- const year = new Date().getFullYear();
6931
-
6932
- onMount(async () => {
6933
- await tick();
6934
- const navSlot = rootEl.querySelector("slot[name=nav]");
6935
- const metaSlot = rootEl.querySelector("slot[name=meta]");
6936
- $$invalidate(2, navLinks = navSlot.assignedElements());
6937
- $$invalidate(3, metaLinks = metaSlot.assignedElements());
6938
- });
6939
-
6940
- function div5_binding($$value) {
6941
- binding_callbacks[$$value ? 'unshift' : 'push'](() => {
6942
- rootEl = $$value;
6943
- $$invalidate(1, rootEl);
6944
- });
6945
- }
6946
-
6947
- $$self.$$set = $$props => {
6948
- if ('maxcontentwidth' in $$props) $$invalidate(0, maxcontentwidth = $$props.maxcontentwidth);
6949
- };
6950
-
6951
- return [maxcontentwidth, rootEl, navLinks, metaLinks, year, div5_binding];
6952
- }
6953
-
6954
- class Footer extends SvelteElement {
6955
- constructor(options) {
6956
- super();
6957
- 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), 100%)}@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>`;
6958
-
6959
- init(
6960
- this,
6961
- {
6962
- target: this.shadowRoot,
6963
- props: attribute_to_object(this.attributes),
6964
- customElement: true
6965
- },
6966
- instance$i,
6967
- create_fragment$k,
6968
- safe_not_equal,
6969
- { maxcontentwidth: 0 },
6970
- null
6971
- );
6972
-
6973
- if (options) {
6974
- if (options.target) {
6975
- insert(options.target, this, options.anchor);
6976
- }
6977
-
6978
- if (options.props) {
6979
- this.$set(options.props);
6980
- flush();
6981
- }
6982
- }
6983
- }
6984
-
6985
- static get observedAttributes() {
6986
- return ["maxcontentwidth"];
6987
- }
6988
-
6989
- get maxcontentwidth() {
6990
- return this.$$.ctx[0];
6991
- }
6992
-
6993
- set maxcontentwidth(maxcontentwidth) {
6994
- this.$$set({ maxcontentwidth });
6995
- flush();
6996
- }
6997
- }
6998
-
6999
- customElements.define("goa-app-footer", Footer);
7000
-
7001
7001
  /* libs/web-components/src/components/form-item/FormItem.svelte generated by Svelte v3.51.0 */
7002
7002
 
7003
7003
  function create_if_block_2$4(ctx) {
@@ -7132,7 +7132,7 @@ function create_if_block$7(ctx) {
7132
7132
  };
7133
7133
  }
7134
7134
 
7135
- function create_fragment$j(ctx) {
7135
+ function create_fragment$k(ctx) {
7136
7136
  let div1;
7137
7137
  let t0;
7138
7138
  let div0;
@@ -7229,7 +7229,7 @@ function create_fragment$j(ctx) {
7229
7229
  };
7230
7230
  }
7231
7231
 
7232
- function instance$h($$self, $$props, $$invalidate) {
7232
+ function instance$i($$self, $$props, $$invalidate) {
7233
7233
  const [REQUIREMENT_TYPES, validateRequirementType] = typeValidator("Requirement type", ["optional", "required"], false);
7234
7234
  let { testid = "" } = $$props;
7235
7235
  let { mt = null } = $$props;
@@ -7272,8 +7272,8 @@ class FormItem extends SvelteElement {
7272
7272
  props: attribute_to_object(this.attributes),
7273
7273
  customElement: true
7274
7274
  },
7275
- instance$h,
7276
- create_fragment$j,
7275
+ instance$i,
7276
+ create_fragment$k,
7277
7277
  safe_not_equal,
7278
7278
  {
7279
7279
  testid: 0,
@@ -7401,7 +7401,7 @@ customElements.define("goa-form-item", FormItem);
7401
7401
 
7402
7402
  /* libs/web-components/src/components/grid/Grid.svelte generated by Svelte v3.51.0 */
7403
7403
 
7404
- function create_fragment$i(ctx) {
7404
+ function create_fragment$j(ctx) {
7405
7405
  let div;
7406
7406
  let slot;
7407
7407
  let div_style_value;
@@ -7440,7 +7440,7 @@ function create_fragment$i(ctx) {
7440
7440
  };
7441
7441
  }
7442
7442
 
7443
- function instance$g($$self, $$props, $$invalidate) {
7443
+ function instance$h($$self, $$props, $$invalidate) {
7444
7444
  let { gap = "m" } = $$props;
7445
7445
  let { minchildwidth = "" } = $$props;
7446
7446
  let { mt = null } = $$props;
@@ -7476,8 +7476,8 @@ class Grid extends SvelteElement {
7476
7476
  props: attribute_to_object(this.attributes),
7477
7477
  customElement: true
7478
7478
  },
7479
- instance$g,
7480
- create_fragment$i,
7479
+ instance$h,
7480
+ create_fragment$j,
7481
7481
  safe_not_equal,
7482
7482
  {
7483
7483
  gap: 0,
@@ -7565,7 +7565,7 @@ customElements.define("goa-grid", Grid);
7565
7565
 
7566
7566
  /* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.51.0 */
7567
7567
 
7568
- function create_fragment$h(ctx) {
7568
+ function create_fragment$i(ctx) {
7569
7569
  let div1;
7570
7570
  let goa_page_block;
7571
7571
  let h1;
@@ -7628,7 +7628,7 @@ function create_fragment$h(ctx) {
7628
7628
  };
7629
7629
  }
7630
7630
 
7631
- function instance$f($$self, $$props, $$invalidate) {
7631
+ function instance$g($$self, $$props, $$invalidate) {
7632
7632
  let { heading } = $$props;
7633
7633
  let { backgroundurl } = $$props;
7634
7634
  let { minheight = "600px" } = $$props;
@@ -7654,8 +7654,8 @@ class HeroBanner extends SvelteElement {
7654
7654
  props: attribute_to_object(this.attributes),
7655
7655
  customElement: true
7656
7656
  },
7657
- instance$f,
7658
- create_fragment$h,
7657
+ instance$g,
7658
+ create_fragment$i,
7659
7659
  safe_not_equal,
7660
7660
  {
7661
7661
  heading: 0,
@@ -7713,7 +7713,7 @@ customElements.define("goa-hero-banner", HeroBanner);
7713
7713
 
7714
7714
  /* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.51.0 */
7715
7715
 
7716
- function create_fragment$g(ctx) {
7716
+ function create_fragment$h(ctx) {
7717
7717
  let button;
7718
7718
  let goa_icon;
7719
7719
  let button_style_value;
@@ -7800,7 +7800,7 @@ function handleClick(e) {
7800
7800
  e.target.dispatchEvent(new CustomEvent("_click", { composed: true, detail: { event: e } }));
7801
7801
  }
7802
7802
 
7803
- function instance$e($$self, $$props, $$invalidate) {
7803
+ function instance$f($$self, $$props, $$invalidate) {
7804
7804
  let css;
7805
7805
  let isDisabled;
7806
7806
  let isInverted;
@@ -7893,8 +7893,8 @@ class IconButton extends SvelteElement {
7893
7893
  props: attribute_to_object(this.attributes),
7894
7894
  customElement: true
7895
7895
  },
7896
- instance$e,
7897
- create_fragment$g,
7896
+ instance$f,
7897
+ create_fragment$h,
7898
7898
  safe_not_equal,
7899
7899
  {
7900
7900
  icon: 0,
@@ -8083,7 +8083,7 @@ function create_if_block$6(ctx) {
8083
8083
  };
8084
8084
  }
8085
8085
 
8086
- function create_fragment$f(ctx) {
8086
+ function create_fragment$g(ctx) {
8087
8087
  let div;
8088
8088
  let div_style_value;
8089
8089
  let if_block = /*type*/ ctx[4] && create_if_block$6(ctx);
@@ -8156,7 +8156,7 @@ function create_fragment$f(ctx) {
8156
8156
  };
8157
8157
  }
8158
8158
 
8159
- function instance$d($$self, $$props, $$invalidate) {
8159
+ function instance$e($$self, $$props, $$invalidate) {
8160
8160
  let isInverted;
8161
8161
  let _size;
8162
8162
  let { mt = null } = $$props;
@@ -8234,8 +8234,8 @@ class Icon extends SvelteElement {
8234
8234
  props: attribute_to_object(this.attributes),
8235
8235
  customElement: true
8236
8236
  },
8237
- instance$d,
8238
- create_fragment$f,
8237
+ instance$e,
8238
+ create_fragment$g,
8239
8239
  safe_not_equal,
8240
8240
  {
8241
8241
  mt: 0,
@@ -8545,7 +8545,7 @@ function create_if_block$5(ctx) {
8545
8545
  };
8546
8546
  }
8547
8547
 
8548
- function create_fragment$e(ctx) {
8548
+ function create_fragment$f(ctx) {
8549
8549
  let div3;
8550
8550
  let div2;
8551
8551
  let t0;
@@ -8817,7 +8817,7 @@ function doClick() {
8817
8817
  this.dispatchEvent(new CustomEvent("_trailingIconClick", { composed: true }));
8818
8818
  }
8819
8819
 
8820
- function instance$c($$self, $$props, $$invalidate) {
8820
+ function instance$d($$self, $$props, $$invalidate) {
8821
8821
  let handlesTrailingIconClick;
8822
8822
  let isFocused;
8823
8823
  let isReadonly;
@@ -9013,8 +9013,8 @@ class Input extends SvelteElement {
9013
9013
  props: attribute_to_object(this.attributes),
9014
9014
  customElement: true
9015
9015
  },
9016
- instance$c,
9017
- create_fragment$e,
9016
+ instance$d,
9017
+ create_fragment$f,
9018
9018
  safe_not_equal,
9019
9019
  {
9020
9020
  type: 1,
@@ -9475,7 +9475,7 @@ function create_if_block$4(ctx) {
9475
9475
  };
9476
9476
  }
9477
9477
 
9478
- function create_fragment$d(ctx) {
9478
+ function create_fragment$e(ctx) {
9479
9479
  let header;
9480
9480
  let t0;
9481
9481
  let show_if = ["alpha", "beta"].includes(/*type*/ ctx[0]);
@@ -9566,7 +9566,7 @@ function capitalize(val) {
9566
9566
  return val[0].toUpperCase() + val.slice(1);
9567
9567
  }
9568
9568
 
9569
- function instance$b($$self, $$props, $$invalidate) {
9569
+ function instance$c($$self, $$props, $$invalidate) {
9570
9570
  const [Types, validateType] = typeValidator("Microsite header type", ["live", "alpha", "beta"], true);
9571
9571
  let { type } = $$props;
9572
9572
  let { version = "" } = $$props;
@@ -9597,8 +9597,8 @@ class MicrositeHeader extends SvelteElement {
9597
9597
  props: attribute_to_object(this.attributes),
9598
9598
  customElement: true
9599
9599
  },
9600
- instance$b,
9601
- create_fragment$d,
9600
+ instance$c,
9601
+ create_fragment$e,
9602
9602
  safe_not_equal,
9603
9603
  { type: 0, version: 1, feedbackurl: 2 },
9604
9604
  null
@@ -9980,7 +9980,7 @@ function create_if_block_1$1(ctx) {
9980
9980
  };
9981
9981
  }
9982
9982
 
9983
- function create_fragment$c(ctx) {
9983
+ function create_fragment$d(ctx) {
9984
9984
  let if_block_anchor;
9985
9985
  let current;
9986
9986
  let if_block = /*isOpen*/ ctx[7] && create_if_block$3(ctx);
@@ -10036,7 +10036,7 @@ function create_fragment$c(ctx) {
10036
10036
  };
10037
10037
  }
10038
10038
 
10039
- function instance$a($$self, $$props, $$invalidate) {
10039
+ function instance$b($$self, $$props, $$invalidate) {
10040
10040
  let isClosable;
10041
10041
  let isOpen;
10042
10042
  let _transitionTime;
@@ -10128,8 +10128,8 @@ class Modal extends SvelteElement {
10128
10128
  props: attribute_to_object(this.attributes),
10129
10129
  customElement: true
10130
10130
  },
10131
- instance$a,
10132
- create_fragment$c,
10131
+ instance$b,
10132
+ create_fragment$d,
10133
10133
  safe_not_equal,
10134
10134
  {
10135
10135
  heading: 0,
@@ -10312,7 +10312,7 @@ function create_if_block$2(ctx) {
10312
10312
  };
10313
10313
  }
10314
10314
 
10315
- function create_fragment$b(ctx) {
10315
+ function create_fragment$c(ctx) {
10316
10316
  let if_block_anchor;
10317
10317
  let current;
10318
10318
  let if_block = /*show*/ ctx[1] && create_if_block$2(ctx);
@@ -10368,7 +10368,7 @@ function create_fragment$b(ctx) {
10368
10368
  };
10369
10369
  }
10370
10370
 
10371
- function instance$9($$self, $$props, $$invalidate) {
10371
+ function instance$a($$self, $$props, $$invalidate) {
10372
10372
  let iconType;
10373
10373
  const [Types, validateType] = typeValidator("Notification type", ["emergency", "important", "information", "event"], true);
10374
10374
  let { type = "" } = $$props;
@@ -10413,8 +10413,8 @@ class Notification extends SvelteElement {
10413
10413
  props: attribute_to_object(this.attributes),
10414
10414
  customElement: true
10415
10415
  },
10416
- instance$9,
10417
- create_fragment$b,
10416
+ instance$a,
10417
+ create_fragment$c,
10418
10418
  safe_not_equal,
10419
10419
  { type: 0 },
10420
10420
  null
@@ -10455,7 +10455,7 @@ function isValidDimension(value) {
10455
10455
 
10456
10456
  /* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.51.0 */
10457
10457
 
10458
- function create_fragment$a(ctx) {
10458
+ function create_fragment$b(ctx) {
10459
10459
  let div;
10460
10460
  let slot;
10461
10461
  let div_style_value;
@@ -10485,7 +10485,7 @@ function create_fragment$a(ctx) {
10485
10485
  };
10486
10486
  }
10487
10487
 
10488
- function instance$8($$self, $$props, $$invalidate) {
10488
+ function instance$9($$self, $$props, $$invalidate) {
10489
10489
  const Sizes = { "full": "100%" };
10490
10490
  let { width } = $$props;
10491
10491
  let { _width } = $$props;
@@ -10524,8 +10524,8 @@ class PageBlock extends SvelteElement {
10524
10524
  props: attribute_to_object(this.attributes),
10525
10525
  customElement: true
10526
10526
  },
10527
- instance$8,
10528
- create_fragment$a,
10527
+ instance$9,
10528
+ create_fragment$b,
10529
10529
  safe_not_equal,
10530
10530
  { width: 1, _width: 0 },
10531
10531
  null
@@ -10684,7 +10684,7 @@ function create_each_block$1(key_1, ctx) {
10684
10684
  };
10685
10685
  }
10686
10686
 
10687
- function create_fragment$9(ctx) {
10687
+ function create_fragment$a(ctx) {
10688
10688
  let div;
10689
10689
  let slot;
10690
10690
  let t;
@@ -10759,7 +10759,7 @@ function create_fragment$9(ctx) {
10759
10759
  };
10760
10760
  }
10761
10761
 
10762
- function instance$7($$self, $$props, $$invalidate) {
10762
+ function instance$8($$self, $$props, $$invalidate) {
10763
10763
  let isDisabled;
10764
10764
  const [Orientations, validateOrientation] = typeValidator("Radio group orientation", ["vertical", "horizontal"]);
10765
10765
  let { name } = $$props;
@@ -10882,8 +10882,8 @@ class RadioGroup extends SvelteElement {
10882
10882
  props: attribute_to_object(this.attributes),
10883
10883
  customElement: true
10884
10884
  },
10885
- instance$7,
10886
- create_fragment$9,
10885
+ instance$8,
10886
+ create_fragment$a,
10887
10887
  safe_not_equal,
10888
10888
  {
10889
10889
  name: 1,
@@ -11033,7 +11033,7 @@ customElements.define("goa-radio-group", RadioGroup);
11033
11033
 
11034
11034
  /* libs/web-components/src/components/radio-group/RadioItem.svelte generated by Svelte v3.51.0 */
11035
11035
 
11036
- function create_fragment$8(ctx) {
11036
+ function create_fragment$9(ctx) {
11037
11037
  return {
11038
11038
  c() {
11039
11039
  this.c = noop;
@@ -11046,7 +11046,7 @@ function create_fragment$8(ctx) {
11046
11046
  };
11047
11047
  }
11048
11048
 
11049
- function instance$6($$self, $$props, $$invalidate) {
11049
+ function instance$7($$self, $$props, $$invalidate) {
11050
11050
  let { value } = $$props;
11051
11051
  let { label } = $$props;
11052
11052
  let { name } = $$props;
@@ -11089,8 +11089,8 @@ class RadioItem extends SvelteElement {
11089
11089
  props: attribute_to_object(this.attributes),
11090
11090
  customElement: true
11091
11091
  },
11092
- instance$6,
11093
- create_fragment$8,
11092
+ instance$7,
11093
+ create_fragment$9,
11094
11094
  safe_not_equal,
11095
11095
  { value: 0, label: 1, name: 2 },
11096
11096
  null
@@ -11144,7 +11144,7 @@ customElements.define("goa-radio-item", RadioItem);
11144
11144
 
11145
11145
  /* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.51.0 */
11146
11146
 
11147
- function create_fragment$7(ctx) {
11147
+ function create_fragment$8(ctx) {
11148
11148
  let div;
11149
11149
  let slot;
11150
11150
  let div_style_value;
@@ -11191,7 +11191,7 @@ function create_fragment$7(ctx) {
11191
11191
  };
11192
11192
  }
11193
11193
 
11194
- function instance$5($$self, $$props, $$invalidate) {
11194
+ function instance$6($$self, $$props, $$invalidate) {
11195
11195
  let { direction = "vertical" } = $$props;
11196
11196
  let { hpadding = 0 } = $$props;
11197
11197
  let { vpadding = 0 } = $$props;
@@ -11219,8 +11219,8 @@ class Scrollable extends SvelteElement {
11219
11219
  props: attribute_to_object(this.attributes),
11220
11220
  customElement: true
11221
11221
  },
11222
- instance$5,
11223
- create_fragment$7,
11222
+ instance$6,
11223
+ create_fragment$8,
11224
11224
  safe_not_equal,
11225
11225
  {
11226
11226
  direction: 0,
@@ -11628,7 +11628,7 @@ function create_each_block(ctx) {
11628
11628
  };
11629
11629
  }
11630
11630
 
11631
- function create_fragment$6(ctx) {
11631
+ function create_fragment$7(ctx) {
11632
11632
  let div;
11633
11633
  let current_block_type_index;
11634
11634
  let if_block;
@@ -11711,7 +11711,7 @@ function create_fragment$6(ctx) {
11711
11711
  };
11712
11712
  }
11713
11713
 
11714
- function instance$4($$self, $$props, $$invalidate) {
11714
+ function instance$5($$self, $$props, $$invalidate) {
11715
11715
  const [Types, validateType] = typeValidator(
11716
11716
  "Skeleton type",
11717
11717
  [
@@ -11773,8 +11773,8 @@ class Skeleton extends SvelteElement {
11773
11773
  props: attribute_to_object(this.attributes),
11774
11774
  customElement: true
11775
11775
  },
11776
- instance$4,
11777
- create_fragment$6,
11776
+ instance$5,
11777
+ create_fragment$7,
11778
11778
  safe_not_equal,
11779
11779
  {
11780
11780
  maxwidth: 0,
@@ -11892,7 +11892,7 @@ customElements.define("goa-skeleton", Skeleton);
11892
11892
 
11893
11893
  /* libs/web-components/src/components/spacer/Spacer.svelte generated by Svelte v3.51.0 */
11894
11894
 
11895
- function create_fragment$5(ctx) {
11895
+ function create_fragment$6(ctx) {
11896
11896
  let div;
11897
11897
 
11898
11898
  return {
@@ -11914,7 +11914,7 @@ function create_fragment$5(ctx) {
11914
11914
  };
11915
11915
  }
11916
11916
 
11917
- function instance$3($$self, $$props, $$invalidate) {
11917
+ function instance$4($$self, $$props, $$invalidate) {
11918
11918
  let { hspacing = "none" } = $$props;
11919
11919
  let { vspacing = "none" } = $$props;
11920
11920
  let rootEl;
@@ -11952,8 +11952,8 @@ class Spacer extends SvelteElement {
11952
11952
  props: attribute_to_object(this.attributes),
11953
11953
  customElement: true
11954
11954
  },
11955
- instance$3,
11956
- create_fragment$5,
11955
+ instance$4,
11956
+ create_fragment$6,
11957
11957
  safe_not_equal,
11958
11958
  { hspacing: 1, vspacing: 2 },
11959
11959
  null
@@ -12206,7 +12206,7 @@ function create_if_block(ctx) {
12206
12206
  };
12207
12207
  }
12208
12208
 
12209
- function create_fragment$4(ctx) {
12209
+ function create_fragment$5(ctx) {
12210
12210
  let if_block_anchor;
12211
12211
  let if_block = /*ready*/ ctx[6] && create_if_block(ctx);
12212
12212
 
@@ -12243,7 +12243,7 @@ function create_fragment$4(ctx) {
12243
12243
  };
12244
12244
  }
12245
12245
 
12246
- function instance$2($$self, $$props, $$invalidate) {
12246
+ function instance$3($$self, $$props, $$invalidate) {
12247
12247
  let diameter;
12248
12248
  let strokewidth;
12249
12249
  let radius;
@@ -12362,8 +12362,8 @@ class Spinner extends SvelteElement {
12362
12362
  props: attribute_to_object(this.attributes),
12363
12363
  customElement: true
12364
12364
  },
12365
- instance$2,
12366
- create_fragment$4,
12365
+ instance$3,
12366
+ create_fragment$5,
12367
12367
  safe_not_equal,
12368
12368
  {
12369
12369
  size: 10,
@@ -12429,6 +12429,212 @@ class Spinner extends SvelteElement {
12429
12429
 
12430
12430
  customElements.define("goa-spinner", Spinner);
12431
12431
 
12432
+ /* libs/web-components/src/components/table/Table.svelte generated by Svelte v3.51.0 */
12433
+
12434
+ function create_fragment$4(ctx) {
12435
+ let table;
12436
+ let slot;
12437
+ let t0;
12438
+ let template;
12439
+ let table_style_value;
12440
+
12441
+ return {
12442
+ c() {
12443
+ table = element("table");
12444
+ slot = element("slot");
12445
+ t0 = space();
12446
+ template = element("template");
12447
+
12448
+ template.innerHTML = `<thead><tr><th></th></tr></thead>
12449
+ <tbody><tr><td></td></tr></tbody>
12450
+ <tfoot><tr><td></td></tr></tfoot>`;
12451
+
12452
+ this.c = noop;
12453
+
12454
+ attr(table, "style", table_style_value = `
12455
+ width: ${/*width*/ ctx[0]};
12456
+ ${calculateMargin(/*mt*/ ctx[1], /*mr*/ ctx[2], /*mb*/ ctx[3], /*ml*/ ctx[4])}
12457
+ `);
12458
+
12459
+ toggle_class(table, "sticky", /*_stickyHeader*/ ctx[6]);
12460
+ },
12461
+ m(target, anchor) {
12462
+ insert(target, table, anchor);
12463
+ append(table, slot);
12464
+ append(table, t0);
12465
+ append(table, template);
12466
+ /*table_binding*/ ctx[8](table);
12467
+ },
12468
+ p(ctx, [dirty]) {
12469
+ if (dirty & /*width, mt, mr, mb, ml*/ 31 && table_style_value !== (table_style_value = `
12470
+ width: ${/*width*/ ctx[0]};
12471
+ ${calculateMargin(/*mt*/ ctx[1], /*mr*/ ctx[2], /*mb*/ ctx[3], /*ml*/ ctx[4])}
12472
+ `)) {
12473
+ attr(table, "style", table_style_value);
12474
+ }
12475
+
12476
+ if (dirty & /*_stickyHeader*/ 64) {
12477
+ toggle_class(table, "sticky", /*_stickyHeader*/ ctx[6]);
12478
+ }
12479
+ },
12480
+ i: noop,
12481
+ o: noop,
12482
+ d(detaching) {
12483
+ if (detaching) detach(table);
12484
+ /*table_binding*/ ctx[8](null);
12485
+ }
12486
+ };
12487
+ }
12488
+
12489
+ function instance$2($$self, $$props, $$invalidate) {
12490
+ let _stickyHeader;
12491
+ let { width = "" } = $$props;
12492
+ let { stickyheader = "false" } = $$props;
12493
+ let { mt = null } = $$props;
12494
+ let { mr = null } = $$props;
12495
+ let { mb = null } = $$props;
12496
+ let { ml = null } = $$props;
12497
+
12498
+ // Private
12499
+ let _rootEl;
12500
+
12501
+ onMount(() => {
12502
+ const slot = _rootEl.querySelector("slot");
12503
+
12504
+ if (slot) {
12505
+ // React needs to nest data in a <table>...</table>
12506
+ const content = slot.assignedElements()[0].querySelectorAll("template table > *");
12507
+
12508
+ _rootEl.append(...content.length > 0 ? content : slot.assignedElements());
12509
+ } else {
12510
+ return [..._rootEl.children];
12511
+ }
12512
+ });
12513
+
12514
+ function table_binding($$value) {
12515
+ binding_callbacks[$$value ? 'unshift' : 'push'](() => {
12516
+ _rootEl = $$value;
12517
+ $$invalidate(5, _rootEl);
12518
+ });
12519
+ }
12520
+
12521
+ $$self.$$set = $$props => {
12522
+ if ('width' in $$props) $$invalidate(0, width = $$props.width);
12523
+ if ('stickyheader' in $$props) $$invalidate(7, stickyheader = $$props.stickyheader);
12524
+ if ('mt' in $$props) $$invalidate(1, mt = $$props.mt);
12525
+ if ('mr' in $$props) $$invalidate(2, mr = $$props.mr);
12526
+ if ('mb' in $$props) $$invalidate(3, mb = $$props.mb);
12527
+ if ('ml' in $$props) $$invalidate(4, ml = $$props.ml);
12528
+ };
12529
+
12530
+ $$self.$$.update = () => {
12531
+ if ($$self.$$.dirty & /*stickyheader*/ 128) {
12532
+ $$invalidate(6, _stickyHeader = toBoolean(stickyheader));
12533
+ }
12534
+ };
12535
+
12536
+ return [width, mt, mr, mb, ml, _rootEl, _stickyHeader, stickyheader, table_binding];
12537
+ }
12538
+
12539
+ class Table extends SvelteElement {
12540
+ constructor(options) {
12541
+ super();
12542
+ this.shadowRoot.innerHTML = `<style>table{border-collapse:collapse}table.sticky{position:relative}table.sticky thead{position:sticky;top:0}td{padding:1rem 1.5rem;border-bottom:1px solid var(--color-gray-200);line-height:1rem}th{background-color:var(--color-white);color:var(--goa-color-text-secondary);padding:1rem;vertical-align:middle;text-align:left;border-bottom:2px solid var(--color-gray-600)}tfoot td{background-color:var(--color-gray-100)}tfoot tr:first-child td{border-top:2px solid var(--color-gray-200)}tfoot tr:last-child td{border-bottom:none}</style>`;
12543
+
12544
+ init(
12545
+ this,
12546
+ {
12547
+ target: this.shadowRoot,
12548
+ props: attribute_to_object(this.attributes),
12549
+ customElement: true
12550
+ },
12551
+ instance$2,
12552
+ create_fragment$4,
12553
+ safe_not_equal,
12554
+ {
12555
+ width: 0,
12556
+ stickyheader: 7,
12557
+ mt: 1,
12558
+ mr: 2,
12559
+ mb: 3,
12560
+ ml: 4
12561
+ },
12562
+ null
12563
+ );
12564
+
12565
+ if (options) {
12566
+ if (options.target) {
12567
+ insert(options.target, this, options.anchor);
12568
+ }
12569
+
12570
+ if (options.props) {
12571
+ this.$set(options.props);
12572
+ flush();
12573
+ }
12574
+ }
12575
+ }
12576
+
12577
+ static get observedAttributes() {
12578
+ return ["width", "stickyheader", "mt", "mr", "mb", "ml"];
12579
+ }
12580
+
12581
+ get width() {
12582
+ return this.$$.ctx[0];
12583
+ }
12584
+
12585
+ set width(width) {
12586
+ this.$$set({ width });
12587
+ flush();
12588
+ }
12589
+
12590
+ get stickyheader() {
12591
+ return this.$$.ctx[7];
12592
+ }
12593
+
12594
+ set stickyheader(stickyheader) {
12595
+ this.$$set({ stickyheader });
12596
+ flush();
12597
+ }
12598
+
12599
+ get mt() {
12600
+ return this.$$.ctx[1];
12601
+ }
12602
+
12603
+ set mt(mt) {
12604
+ this.$$set({ mt });
12605
+ flush();
12606
+ }
12607
+
12608
+ get mr() {
12609
+ return this.$$.ctx[2];
12610
+ }
12611
+
12612
+ set mr(mr) {
12613
+ this.$$set({ mr });
12614
+ flush();
12615
+ }
12616
+
12617
+ get mb() {
12618
+ return this.$$.ctx[3];
12619
+ }
12620
+
12621
+ set mb(mb) {
12622
+ this.$$set({ mb });
12623
+ flush();
12624
+ }
12625
+
12626
+ get ml() {
12627
+ return this.$$.ctx[4];
12628
+ }
12629
+
12630
+ set ml(ml) {
12631
+ this.$$set({ ml });
12632
+ flush();
12633
+ }
12634
+ }
12635
+
12636
+ customElements.define("goa-table", Table);
12637
+
12432
12638
  /* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.51.0 */
12433
12639
 
12434
12640
  function create_fragment$3(ctx) {