@abgov/react-components 4.0.0-alpha.25 → 4.0.0-alpha.28

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.
@@ -1411,7 +1411,7 @@
1411
1411
  class AppHeader extends SvelteElement {
1412
1412
  constructor(options) {
1413
1413
  super();
1414
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:1rem 0.5rem;border-bottom:1px solid var(--color-gray-100)}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 768px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>`;
1414
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:1rem 1.5rem;border-bottom:1px solid var(--color-gray-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 768px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>`;
1415
1415
  init(this, {
1416
1416
  target: this.shadowRoot,
1417
1417
  props: attribute_to_object(this.attributes),
@@ -2256,7 +2256,7 @@
2256
2256
  constructor(options) {
2257
2257
  super();
2258
2258
  this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-family:var(--font-family);font-size:var(--fs-lg);font-weight:400;height:var(--button-height);letter-spacing:0.5px;line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
2259
- border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background:var(--color-white);color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.primary.danger{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.danger:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.danger:focus,.primary.danger:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.danger{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.danger:focus,.secondary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger:focus,.tertiary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}</style>`;
2259
+ border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background:transparent;color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.primary.danger{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.danger:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.danger:focus,.primary.danger:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.danger{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.danger:focus,.secondary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger:focus,.tertiary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}</style>`;
2260
2260
  init(this, {
2261
2261
  target: this.shadowRoot,
2262
2262
  props: attribute_to_object(this.attributes),
@@ -2650,7 +2650,7 @@
2650
2650
  type
2651
2651
  } = $$props;
2652
2652
  let {
2653
- heading
2653
+ heading = ""
2654
2654
  } = $$props;
2655
2655
  let {
2656
2656
  testid = ""
@@ -7707,7 +7707,7 @@
7707
7707
  ctx[2] && `--width: ${
7708
7708
  /*width*/
7709
7709
  ctx[2]};`) + ";");
7710
- set_custom_element_data(goa_focus_trap, "open",
7710
+ set_custom_element_data(goa_focus_trap, "active",
7711
7711
  /*open*/
7712
7712
  ctx[1]);
7713
7713
  },
@@ -7808,7 +7808,7 @@
7808
7808
  if (!current || dirty &
7809
7809
  /*open*/
7810
7810
  2) {
7811
- set_custom_element_data(goa_focus_trap, "open",
7811
+ set_custom_element_data(goa_focus_trap, "active",
7812
7812
  /*open*/
7813
7813
  ctx[1]);
7814
7814
  }
@@ -8540,10 +8540,10 @@
8540
8540
  function select_block_type(ctx, dirty) {
8541
8541
  if (
8542
8542
  /*fullscreen*/
8543
- ctx[4]) return 0;
8543
+ ctx[3]) return 0;
8544
8544
  if (
8545
8545
  /*inline*/
8546
- ctx[5]) return 1;
8546
+ ctx[4]) return 1;
8547
8547
  return -1;
8548
8548
  }
8549
8549
 
@@ -8621,39 +8621,35 @@
8621
8621
  }
8622
8622
 
8623
8623
  };
8624
- } // (39:19)
8624
+ } // (38:19)
8625
8625
 
8626
8626
 
8627
8627
  function create_if_block_3$1(ctx) {
8628
8628
  let div;
8629
8629
  let goa_spinner;
8630
- let goa_spinner_progress_value;
8631
8630
  let t;
8632
8631
  let div_class_value;
8633
8632
  let if_block =
8634
8633
  /*message*/
8635
- ctx[1] && create_if_block_4(ctx);
8634
+ ctx[0] && create_if_block_4(ctx);
8636
8635
  return {
8637
8636
  c() {
8638
8637
  div = element("div");
8639
8638
  goa_spinner = element("goa-spinner");
8640
8639
  t = space();
8641
8640
  if (if_block) if_block.c();
8642
- set_custom_element_data(goa_spinner, "type",
8643
- /*type*/
8644
- ctx[0]);
8645
8641
  set_custom_element_data(goa_spinner, "size",
8646
8642
  /*spinnerSize*/
8647
- ctx[3]);
8648
- set_custom_element_data(goa_spinner, "progress", goa_spinner_progress_value =
8643
+ ctx[2]);
8644
+ set_custom_element_data(goa_spinner, "progress",
8649
8645
  /*progress*/
8650
- ctx[2] || 0);
8646
+ ctx[1]);
8651
8647
  attr(div, "class", div_class_value = "spinner-" +
8652
8648
  /*spinnerSize*/
8653
- ctx[3]);
8649
+ ctx[2]);
8654
8650
  toggle_class(div, "inline",
8655
8651
  /*inline*/
8656
- ctx[5]);
8652
+ ctx[4]);
8657
8653
  },
8658
8654
 
8659
8655
  m(target, anchor) {
@@ -8664,33 +8660,25 @@
8664
8660
  },
8665
8661
 
8666
8662
  p(ctx, dirty) {
8667
- if (dirty &
8668
- /*type*/
8669
- 1) {
8670
- set_custom_element_data(goa_spinner, "type",
8671
- /*type*/
8672
- ctx[0]);
8673
- }
8674
-
8675
8663
  if (dirty &
8676
8664
  /*spinnerSize*/
8677
- 8) {
8665
+ 4) {
8678
8666
  set_custom_element_data(goa_spinner, "size",
8679
8667
  /*spinnerSize*/
8680
- ctx[3]);
8668
+ ctx[2]);
8681
8669
  }
8682
8670
 
8683
8671
  if (dirty &
8684
8672
  /*progress*/
8685
- 4 && goa_spinner_progress_value !== (goa_spinner_progress_value =
8686
- /*progress*/
8687
- ctx[2] || 0)) {
8688
- set_custom_element_data(goa_spinner, "progress", goa_spinner_progress_value);
8673
+ 2) {
8674
+ set_custom_element_data(goa_spinner, "progress",
8675
+ /*progress*/
8676
+ ctx[1]);
8689
8677
  }
8690
8678
 
8691
8679
  if (
8692
8680
  /*message*/
8693
- ctx[1]) {
8681
+ ctx[0]) {
8694
8682
  if (if_block) {
8695
8683
  if_block.p(ctx, dirty);
8696
8684
  } else {
@@ -8705,18 +8693,18 @@
8705
8693
 
8706
8694
  if (dirty &
8707
8695
  /*spinnerSize*/
8708
- 8 && div_class_value !== (div_class_value = "spinner-" +
8696
+ 4 && div_class_value !== (div_class_value = "spinner-" +
8709
8697
  /*spinnerSize*/
8710
- ctx[3])) {
8698
+ ctx[2])) {
8711
8699
  attr(div, "class", div_class_value);
8712
8700
  }
8713
8701
 
8714
8702
  if (dirty &
8715
8703
  /*spinnerSize, inline*/
8716
- 40) {
8704
+ 20) {
8717
8705
  toggle_class(div, "inline",
8718
8706
  /*inline*/
8719
- ctx[5]);
8707
+ ctx[4]);
8720
8708
  }
8721
8709
  },
8722
8710
 
@@ -8729,13 +8717,12 @@
8729
8717
  }
8730
8718
 
8731
8719
  };
8732
- } // (28:2) {#if fullscreen}
8720
+ } // (27:2) {#if fullscreen}
8733
8721
 
8734
8722
 
8735
8723
  function create_if_block_1$4(ctx) {
8736
8724
  let div;
8737
8725
  let goa_spinner;
8738
- let goa_spinner_progress_value;
8739
8726
  let t;
8740
8727
  let div_transition;
8741
8728
  let current;
@@ -8743,25 +8730,22 @@
8743
8730
  let dispose;
8744
8731
  let if_block =
8745
8732
  /*message*/
8746
- ctx[1] && create_if_block_2$3(ctx);
8733
+ ctx[0] && create_if_block_2$3(ctx);
8747
8734
  return {
8748
8735
  c() {
8749
8736
  div = element("div");
8750
8737
  goa_spinner = element("goa-spinner");
8751
8738
  t = space();
8752
8739
  if (if_block) if_block.c();
8753
- set_custom_element_data(goa_spinner, "type",
8754
- /*type*/
8755
- ctx[0]);
8756
8740
  set_custom_element_data(goa_spinner, "size",
8757
8741
  /*spinnerSize*/
8758
- ctx[3]);
8759
- set_custom_element_data(goa_spinner, "progress", goa_spinner_progress_value =
8742
+ ctx[2]);
8743
+ set_custom_element_data(goa_spinner, "progress",
8760
8744
  /*progress*/
8761
- ctx[2] || 0);
8745
+ ctx[1]);
8762
8746
  toggle_class(div, "fullscreen",
8763
8747
  /*fullscreen*/
8764
- ctx[4]);
8748
+ ctx[3]);
8765
8749
  },
8766
8750
 
8767
8751
  m(target, anchor) {
@@ -8780,33 +8764,25 @@
8780
8764
  },
8781
8765
 
8782
8766
  p(ctx, dirty) {
8783
- if (!current || dirty &
8784
- /*type*/
8785
- 1) {
8786
- set_custom_element_data(goa_spinner, "type",
8787
- /*type*/
8788
- ctx[0]);
8789
- }
8790
-
8791
8767
  if (!current || dirty &
8792
8768
  /*spinnerSize*/
8793
- 8) {
8769
+ 4) {
8794
8770
  set_custom_element_data(goa_spinner, "size",
8795
8771
  /*spinnerSize*/
8796
- ctx[3]);
8772
+ ctx[2]);
8797
8773
  }
8798
8774
 
8799
8775
  if (!current || dirty &
8800
8776
  /*progress*/
8801
- 4 && goa_spinner_progress_value !== (goa_spinner_progress_value =
8802
- /*progress*/
8803
- ctx[2] || 0)) {
8804
- set_custom_element_data(goa_spinner, "progress", goa_spinner_progress_value);
8777
+ 2) {
8778
+ set_custom_element_data(goa_spinner, "progress",
8779
+ /*progress*/
8780
+ ctx[1]);
8805
8781
  }
8806
8782
 
8807
8783
  if (
8808
8784
  /*message*/
8809
- ctx[1]) {
8785
+ ctx[0]) {
8810
8786
  if (if_block) {
8811
8787
  if_block.p(ctx, dirty);
8812
8788
  } else {
@@ -8821,10 +8797,10 @@
8821
8797
 
8822
8798
  if (dirty &
8823
8799
  /*fullscreen*/
8824
- 16) {
8800
+ 8) {
8825
8801
  toggle_class(div, "fullscreen",
8826
8802
  /*fullscreen*/
8827
- ctx[4]);
8803
+ ctx[3]);
8828
8804
  }
8829
8805
  },
8830
8806
 
@@ -8856,7 +8832,7 @@
8856
8832
  }
8857
8833
 
8858
8834
  };
8859
- } // (42:6) {#if message}
8835
+ } // (41:6) {#if message}
8860
8836
 
8861
8837
 
8862
8838
  function create_if_block_4(ctx) {
@@ -8867,7 +8843,7 @@
8867
8843
  div = element("div");
8868
8844
  t = text(
8869
8845
  /*message*/
8870
- ctx[1]);
8846
+ ctx[0]);
8871
8847
  attr(div, "class", "message");
8872
8848
  },
8873
8849
 
@@ -8879,9 +8855,9 @@
8879
8855
  p(ctx, dirty) {
8880
8856
  if (dirty &
8881
8857
  /*message*/
8882
- 2) set_data(t,
8858
+ 1) set_data(t,
8883
8859
  /*message*/
8884
- ctx[1]);
8860
+ ctx[0]);
8885
8861
  },
8886
8862
 
8887
8863
  d(detaching) {
@@ -8889,7 +8865,7 @@
8889
8865
  }
8890
8866
 
8891
8867
  };
8892
- } // (35:6) {#if message}
8868
+ } // (34:6) {#if message}
8893
8869
 
8894
8870
 
8895
8871
  function create_if_block_2$3(ctx) {
@@ -8900,7 +8876,7 @@
8900
8876
  div = element("div");
8901
8877
  t = text(
8902
8878
  /*message*/
8903
- ctx[1]);
8879
+ ctx[0]);
8904
8880
  attr(div, "class", "message");
8905
8881
  },
8906
8882
 
@@ -8912,9 +8888,9 @@
8912
8888
  p(ctx, dirty) {
8913
8889
  if (dirty &
8914
8890
  /*message*/
8915
- 2) set_data(t,
8891
+ 1) set_data(t,
8916
8892
  /*message*/
8917
- ctx[1]);
8893
+ ctx[0]);
8918
8894
  },
8919
8895
 
8920
8896
  d(detaching) {
@@ -8929,7 +8905,7 @@
8929
8905
  let current;
8930
8906
  let if_block =
8931
8907
  /*isVisible*/
8932
- ctx[6] && create_if_block$7(ctx);
8908
+ ctx[5] && create_if_block$7(ctx);
8933
8909
  return {
8934
8910
  c() {
8935
8911
  if (if_block) if_block.c();
@@ -8946,13 +8922,13 @@
8946
8922
  p(ctx, [dirty]) {
8947
8923
  if (
8948
8924
  /*isVisible*/
8949
- ctx[6]) {
8925
+ ctx[5]) {
8950
8926
  if (if_block) {
8951
8927
  if_block.p(ctx, dirty);
8952
8928
 
8953
8929
  if (dirty &
8954
8930
  /*isVisible*/
8955
- 64) {
8931
+ 32) {
8956
8932
  transition_in(if_block, 1);
8957
8933
  }
8958
8934
  } else {
@@ -8991,9 +8967,6 @@
8991
8967
 
8992
8968
  function instance$e($$self, $$props, $$invalidate) {
8993
8969
  let isVisible;
8994
- let {
8995
- type = "infinite"
8996
- } = $$props;
8997
8970
  let {
8998
8971
  variant = "inline"
8999
8972
  } = $$props;
@@ -9004,7 +8977,7 @@
9004
8977
  message = ""
9005
8978
  } = $$props;
9006
8979
  let {
9007
- progress = 0
8980
+ progress = -1
9008
8981
  } = $$props;
9009
8982
  let {
9010
8983
  visible = "false"
@@ -9013,30 +8986,29 @@
9013
8986
  let fullscreen;
9014
8987
  let inline;
9015
8988
  onMount(_async(function () {
9016
- $$invalidate(3, spinnerSize = size === "small" ? "large" : "xlarge");
9017
- $$invalidate(4, fullscreen = variant === "fullscreen");
9018
- $$invalidate(5, inline = variant === "inline");
8989
+ $$invalidate(2, spinnerSize = size === "small" ? "large" : "xlarge");
8990
+ $$invalidate(3, fullscreen = variant === "fullscreen");
8991
+ $$invalidate(4, inline = variant === "inline");
9019
8992
  return _await();
9020
8993
  }));
9021
8994
 
9022
8995
  $$self.$$set = $$props => {
9023
- if ('type' in $$props) $$invalidate(0, type = $$props.type);
9024
- if ('variant' in $$props) $$invalidate(7, variant = $$props.variant);
9025
- if ('size' in $$props) $$invalidate(8, size = $$props.size);
9026
- if ('message' in $$props) $$invalidate(1, message = $$props.message);
9027
- if ('progress' in $$props) $$invalidate(2, progress = $$props.progress);
9028
- if ('visible' in $$props) $$invalidate(9, visible = $$props.visible);
8996
+ if ('variant' in $$props) $$invalidate(6, variant = $$props.variant);
8997
+ if ('size' in $$props) $$invalidate(7, size = $$props.size);
8998
+ if ('message' in $$props) $$invalidate(0, message = $$props.message);
8999
+ if ('progress' in $$props) $$invalidate(1, progress = $$props.progress);
9000
+ if ('visible' in $$props) $$invalidate(8, visible = $$props.visible);
9029
9001
  };
9030
9002
 
9031
9003
  $$self.$$.update = () => {
9032
9004
  if ($$self.$$.dirty &
9033
9005
  /*visible*/
9034
- 512) {
9035
- $$invalidate(6, isVisible = toBoolean(visible));
9006
+ 256) {
9007
+ $$invalidate(5, isVisible = toBoolean(visible));
9036
9008
  }
9037
9009
  };
9038
9010
 
9039
- return [type, message, progress, spinnerSize, fullscreen, inline, isVisible, variant, size, visible];
9011
+ return [message, progress, spinnerSize, fullscreen, inline, isVisible, variant, size, visible];
9040
9012
  }
9041
9013
 
9042
9014
  class CircularProgress extends SvelteElement {
@@ -9048,12 +9020,11 @@
9048
9020
  props: attribute_to_object(this.attributes),
9049
9021
  customElement: true
9050
9022
  }, instance$e, create_fragment$f, safe_not_equal, {
9051
- type: 0,
9052
- variant: 7,
9053
- size: 8,
9054
- message: 1,
9055
- progress: 2,
9056
- visible: 9
9023
+ variant: 6,
9024
+ size: 7,
9025
+ message: 0,
9026
+ progress: 1,
9027
+ visible: 8
9057
9028
  }, null);
9058
9029
 
9059
9030
  if (options) {
@@ -9069,22 +9040,11 @@
9069
9040
  }
9070
9041
 
9071
9042
  static get observedAttributes() {
9072
- return ["type", "variant", "size", "message", "progress", "visible"];
9073
- }
9074
-
9075
- get type() {
9076
- return this.$$.ctx[0];
9077
- }
9078
-
9079
- set type(type) {
9080
- this.$$set({
9081
- type
9082
- });
9083
- flush();
9043
+ return ["variant", "size", "message", "progress", "visible"];
9084
9044
  }
9085
9045
 
9086
9046
  get variant() {
9087
- return this.$$.ctx[7];
9047
+ return this.$$.ctx[6];
9088
9048
  }
9089
9049
 
9090
9050
  set variant(variant) {
@@ -9095,7 +9055,7 @@
9095
9055
  }
9096
9056
 
9097
9057
  get size() {
9098
- return this.$$.ctx[8];
9058
+ return this.$$.ctx[7];
9099
9059
  }
9100
9060
 
9101
9061
  set size(size) {
@@ -9106,7 +9066,7 @@
9106
9066
  }
9107
9067
 
9108
9068
  get message() {
9109
- return this.$$.ctx[1];
9069
+ return this.$$.ctx[0];
9110
9070
  }
9111
9071
 
9112
9072
  set message(message) {
@@ -9117,7 +9077,7 @@
9117
9077
  }
9118
9078
 
9119
9079
  get progress() {
9120
- return this.$$.ctx[2];
9080
+ return this.$$.ctx[1];
9121
9081
  }
9122
9082
 
9123
9083
  set progress(progress) {
@@ -9128,7 +9088,7 @@
9128
9088
  }
9129
9089
 
9130
9090
  get visible() {
9131
- return this.$$.ctx[9];
9091
+ return this.$$.ctx[8];
9132
9092
  }
9133
9093
 
9134
9094
  set visible(visible) {
@@ -9922,7 +9882,7 @@
9922
9882
  }
9923
9883
 
9924
9884
  };
9925
- } // (42:2) {#if ["alpha", "beta"].includes(level)}
9885
+ } // (34:2) {#if ["alpha", "beta"].includes(level)}
9926
9886
 
9927
9887
 
9928
9888
  function create_if_block_1$3(ctx) {
@@ -9949,7 +9909,7 @@
9949
9909
  t2 = text("This is a new ");
9950
9910
  a = element("a");
9951
9911
  a.textContent = "Alberta Government";
9952
- t4 = text("\n service\n ");
9912
+ t4 = text(" service\n ");
9953
9913
  if (if_block) if_block.c();
9954
9914
  attr(div0, "data-testid", "level");
9955
9915
  attr(div0, "class", div0_class_value = "service-level service-level--" +
@@ -10010,7 +9970,7 @@
10010
9970
  }
10011
9971
 
10012
9972
  };
10013
- } // (52:6) {#if feedbackurl}
9973
+ } // (43:6) {#if feedbackurl}
10014
9974
 
10015
9975
 
10016
9976
  function create_if_block_2$2(ctx) {
@@ -10052,7 +10012,7 @@
10052
10012
  }
10053
10013
 
10054
10014
  };
10055
- } // (60:2) {#if version}
10015
+ } // (49:2) {#if version}
10056
10016
 
10057
10017
 
10058
10018
  function create_if_block$6(ctx) {
@@ -10220,7 +10180,7 @@
10220
10180
  class MicrositeHeader extends SvelteElement {
10221
10181
  constructor(options) {
10222
10182
  super();
10223
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;height:2.5rem;padding:0 0.5rem;gap:0.5rem}.spacer{flex:1 1 auto}.version{color:var(--goa-color-600)}.service-level{font-weight:bold;padding:0 0.5rem;height:1.5rem;display:flex;align-items:center}.service-level--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-level--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-level--live{padding:0}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--goa-color-text)}</style>`;
10183
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-sm);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;padding:0.5rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-level{font-weight:bold;padding:0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-level--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-level--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-level--live{padding:0}.site-text{color:var(--goa-color-text);line-height:1.25rem}</style>`;
10224
10184
  init(this, {
10225
10185
  target: this.shadowRoot,
10226
10186
  props: attribute_to_object(this.attributes),
@@ -11092,7 +11052,7 @@
11092
11052
  attr(path, "stroke-linecap", "round");
11093
11053
  attr(svg, "class", svg_class_value = `spinner-${
11094
11054
  /*type*/
11095
- ctx[1]}`);
11055
+ ctx[2]}`);
11096
11056
  attr(svg, "fill", "none");
11097
11057
  attr(svg, "viewBox", svg_viewBox_value = "0 0 " +
11098
11058
  /*diameter*/
@@ -11107,7 +11067,7 @@
11107
11067
  ctx[5]);
11108
11068
  attr(svg, "data-testid",
11109
11069
  /*testid*/
11110
- ctx[2]);
11070
+ ctx[1]);
11111
11071
  attr(svg, "xmlns", "http://www.w3.org/2000/svg");
11112
11072
  },
11113
11073
 
@@ -11188,9 +11148,9 @@
11188
11148
 
11189
11149
  if (dirty &
11190
11150
  /*type*/
11191
- 2 && svg_class_value !== (svg_class_value = `spinner-${
11151
+ 4 && svg_class_value !== (svg_class_value = `spinner-${
11192
11152
  /*type*/
11193
- ctx[1]}`)) {
11153
+ ctx[2]}`)) {
11194
11154
  attr(svg, "class", svg_class_value);
11195
11155
  }
11196
11156
 
@@ -11222,10 +11182,10 @@
11222
11182
 
11223
11183
  if (dirty &
11224
11184
  /*testid*/
11225
- 4) {
11185
+ 2) {
11226
11186
  attr(svg, "data-testid",
11227
11187
  /*testid*/
11228
- ctx[2]);
11188
+ ctx[1]);
11229
11189
  }
11230
11190
  },
11231
11191
 
@@ -11295,14 +11255,12 @@
11295
11255
  invert = false
11296
11256
  } = $$props;
11297
11257
  let {
11298
- type = "infinite"
11299
- } = $$props;
11300
- let {
11301
- progress = "0"
11258
+ progress = -1
11302
11259
  } = $$props;
11303
11260
  let {
11304
11261
  testid = ""
11305
11262
  } = $$props;
11263
+ let type = "infinite";
11306
11264
 
11307
11265
  const _progress = tweened(0, {
11308
11266
  duration: 500,
@@ -11339,9 +11297,8 @@
11339
11297
  $$self.$$set = $$props => {
11340
11298
  if ('size' in $$props) $$invalidate(10, size = $$props.size);
11341
11299
  if ('invert' in $$props) $$invalidate(0, invert = $$props.invert);
11342
- if ('type' in $$props) $$invalidate(1, type = $$props.type);
11343
11300
  if ('progress' in $$props) $$invalidate(11, progress = $$props.progress);
11344
- if ('testid' in $$props) $$invalidate(2, testid = $$props.testid);
11301
+ if ('testid' in $$props) $$invalidate(1, testid = $$props.testid);
11345
11302
  };
11346
11303
 
11347
11304
  $$self.$$.update = () => {
@@ -11350,7 +11307,16 @@
11350
11307
  2048) {
11351
11308
  // Reactive
11352
11309
  {
11353
- _progress.set(parseFloat(progress));
11310
+ // Typescript recognizes `progress` as a number, but once compiled, due to it being a web component, progress is a string.
11311
+ // This line makes both sides happy.
11312
+ const p = parseFloat(progress + '');
11313
+
11314
+ if (p >= 0) {
11315
+ _progress.set(p || 1); // start at 1 to prevent incorrect arc calculations
11316
+
11317
+
11318
+ $$invalidate(2, type = "progress");
11319
+ }
11354
11320
  }
11355
11321
  }
11356
11322
 
@@ -11390,12 +11356,12 @@
11390
11356
 
11391
11357
  if ($$self.$$.dirty &
11392
11358
  /*type, pathRadius, progress*/
11393
- 6146) {
11359
+ 6148) {
11394
11360
  $$invalidate(6, ready = type === "infinite" ? pathRadius : pathRadius && progress);
11395
11361
  }
11396
11362
  };
11397
11363
 
11398
- return [invert, type, testid, radius, strokewidth, diameter, ready, $_progress, _progress, getArc, size, progress, pathRadius];
11364
+ return [invert, testid, type, radius, strokewidth, diameter, ready, $_progress, _progress, getArc, size, progress, pathRadius];
11399
11365
  }
11400
11366
 
11401
11367
  class Spinner extends SvelteElement {
@@ -11409,9 +11375,8 @@
11409
11375
  }, instance$8, create_fragment$9, safe_not_equal, {
11410
11376
  size: 10,
11411
11377
  invert: 0,
11412
- type: 1,
11413
11378
  progress: 11,
11414
- testid: 2
11379
+ testid: 1
11415
11380
  }, null);
11416
11381
 
11417
11382
  if (options) {
@@ -11427,7 +11392,7 @@
11427
11392
  }
11428
11393
 
11429
11394
  static get observedAttributes() {
11430
- return ["size", "invert", "type", "progress", "testid"];
11395
+ return ["size", "invert", "progress", "testid"];
11431
11396
  }
11432
11397
 
11433
11398
  get size() {
@@ -11452,17 +11417,6 @@
11452
11417
  flush();
11453
11418
  }
11454
11419
 
11455
- get type() {
11456
- return this.$$.ctx[1];
11457
- }
11458
-
11459
- set type(type) {
11460
- this.$$set({
11461
- type
11462
- });
11463
- flush();
11464
- }
11465
-
11466
11420
  get progress() {
11467
11421
  return this.$$.ctx[11];
11468
11422
  }
@@ -11475,7 +11429,7 @@
11475
11429
  }
11476
11430
 
11477
11431
  get testid() {
11478
- return this.$$.ctx[2];
11432
+ return this.$$.ctx[1];
11479
11433
  }
11480
11434
 
11481
11435
  set testid(testid) {
@@ -11904,7 +11858,7 @@
11904
11858
  class TextArea extends SvelteElement {
11905
11859
  constructor(options) {
11906
11860
  super();
11907
- this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:var(--color-white);color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family);min-width:100%}@media(min-width: 640px){.goa-textarea{min-width:0;width:var(--width)}}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-textarea:disabled{border-color:var(--color-gray-200)}.goa-textarea:disabled:hover{border-color:var(--color-gray-200)}.goa-textarea:disabled:focus,.goa-textarea:disabled:active{box-shadow:none}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--fs-sm)}.counter-error{color:var(--goa-color-interactive--error)
11861
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:var(--color-white);color:var(--color-black, #ccc);padding:var(--textarea-padding-vertical, 0.5rem) var(--textarea-padding-horizontal, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family);min-width:100%}@media(min-width: 640px){.goa-textarea{min-width:0;width:var(--width)}}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-textarea:disabled{border-color:var(--color-gray-200)}.goa-textarea:disabled:hover{border-color:var(--color-gray-200)}.goa-textarea:disabled:focus,.goa-textarea:disabled:active{box-shadow:none}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--fs-sm)}.counter-error{color:var(--goa-color-interactive--error)
11908
11862
  }.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`;
11909
11863
  init(this, {
11910
11864
  target: this.shadowRoot,
@@ -12081,7 +12035,7 @@
12081
12035
  insert(target, div, anchor);
12082
12036
  /*div_binding*/
12083
12037
 
12084
- ctx[3](div);
12038
+ ctx[4](div);
12085
12039
  },
12086
12040
 
12087
12041
  p: noop,
@@ -12092,20 +12046,16 @@
12092
12046
  if (detaching) detach(div);
12093
12047
  /*div_binding*/
12094
12048
 
12095
- ctx[3](null);
12049
+ ctx[4](null);
12096
12050
  }
12097
12051
 
12098
12052
  };
12099
12053
  }
12100
12054
 
12101
12055
  function isFocusable(element) {
12102
- if (element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute('tabIndex') !== null) {
12103
- return true;
12104
- }
12105
-
12106
- if (element.disabled) {
12107
- return false;
12108
- }
12056
+ const isTabbable = element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute('tabIndex') !== null;
12057
+ if (isTabbable) return true;
12058
+ if (element.disabled) return false;
12109
12059
 
12110
12060
  switch (element.nodeName) {
12111
12061
  case 'A':
@@ -12125,13 +12075,14 @@
12125
12075
  }
12126
12076
 
12127
12077
  function instance$6($$self, $$props, $$invalidate) {
12128
- let isOpen;
12078
+ let isActive;
12079
+ let {
12080
+ active
12081
+ } = $$props;
12129
12082
  let ignoreFocusChanges = false;
12130
12083
  let lastFocus;
12131
12084
  let element;
12132
- let {
12133
- open
12134
- } = $$props;
12085
+ let hasListeners = false;
12135
12086
 
12136
12087
  function removeListeners() {
12137
12088
  document.removeEventListener('focus', trapFocus, true);
@@ -12139,15 +12090,18 @@
12139
12090
 
12140
12091
  function addListeners() {
12141
12092
  document.addEventListener('focus', trapFocus, true);
12142
- }
12093
+ } // ====
12094
+ // First Node
12095
+ // ====
12143
12096
 
12144
- function attemptFocusOnFirstDescendant(descendants) {
12145
- if (!descendants) return false;
12146
12097
 
12147
- for (let i = 0; i < descendants.length; i++) {
12148
- let descendant = descendants[i];
12098
+ function focusOnFirstNode(nodes) {
12099
+ if (!nodes) return false;
12149
12100
 
12150
- if (attemptFocus(descendant) || attemptFocusOnFirstDescendant(descendant.childNodes) || attemptFocusOnFirstDescendantOfSlotElement(descendant) || attemptFocusOnFirstDescendantOfShadowDOM(descendant)) {
12101
+ for (const node of nodes) {
12102
+ const isFocusable = focus(node) || focusOnFirstNode(node.childNodes) || focusOnFirstNodeOfSlot(node) || focusOnFirstNodeOfShadowDOM(node);
12103
+
12104
+ if (isFocusable) {
12151
12105
  return true;
12152
12106
  }
12153
12107
  }
@@ -12155,37 +12109,34 @@
12155
12109
  return false;
12156
12110
  }
12157
12111
 
12158
- function attemptFocusOnFirstDescendantOfSlotElement(node) {
12159
- var _a;
12160
-
12161
- if (node instanceof HTMLSlotElement) {
12162
- let assingedNodesOfSlotElement = (_a = node) === null || _a === void 0 ? void 0 : _a.assignedNodes();
12112
+ function focusOnFirstNodeOfSlot(node) {
12113
+ if (!(node instanceof HTMLSlotElement)) return false;
12163
12114
 
12164
- if (attemptFocusOnFirstDescendant(assingedNodesOfSlotElement)) {
12165
- return true;
12166
- }
12115
+ if (focusOnFirstNode(node.assignedNodes())) {
12116
+ return true;
12167
12117
  }
12168
12118
  }
12169
12119
 
12170
- function attemptFocusOnFirstDescendantOfShadowDOM(node) {
12171
- var _a, _b;
12120
+ function focusOnFirstNodeOfShadowDOM(node) {
12121
+ var _a;
12172
12122
 
12173
- if (node instanceof HTMLElement) {
12174
- let childNodesOfShadowRoot = (_b = (_a = node) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.childNodes;
12123
+ if (!(node instanceof HTMLElement)) return false;
12175
12124
 
12176
- if (attemptFocusOnFirstDescendant(childNodesOfShadowRoot)) {
12177
- return true;
12178
- }
12125
+ if (focusOnFirstNode((_a = node.shadowRoot) === null || _a === void 0 ? void 0 : _a.childNodes)) {
12126
+ return true;
12179
12127
  }
12180
- }
12128
+ } // ====
12129
+ // Last Node
12130
+ // ====
12131
+
12181
12132
 
12182
- function attemptFocusOnLastDescendant(descendants) {
12183
- if (!descendants) return false;
12133
+ function focusOnLastNode(nodes) {
12134
+ if (!nodes) return false;
12184
12135
 
12185
- for (let i = descendants.length - 1; i >= 0; i--) {
12186
- let descendant = descendants[i];
12136
+ for (let i = nodes.length - 1; i >= 0; i--) {
12137
+ let node = nodes[i];
12187
12138
 
12188
- if (attemptFocus(descendant) || attemptFocusOnLastDescendant(descendant.childNodes) || attemptFocusOnLastDescendantOfSlotElement(descendant) || attemptFocusOnLastDescendantOfShadowDOM(descendant)) {
12139
+ if (focus(node) || focusOnLastNode(node.childNodes) || focusOnLastNodeOfSlot(node) || focusOnLastNodeOfShadowDOM(node)) {
12189
12140
  return true;
12190
12141
  }
12191
12142
  }
@@ -12193,67 +12144,57 @@
12193
12144
  return false;
12194
12145
  }
12195
12146
 
12196
- function attemptFocusOnLastDescendantOfSlotElement(node) {
12197
- var _a;
12198
-
12199
- if (node instanceof HTMLSlotElement) {
12200
- let assingedNodesOfSlotElement = (_a = node) === null || _a === void 0 ? void 0 : _a.assignedNodes();
12147
+ function focusOnLastNodeOfSlot(node) {
12148
+ if (!(node instanceof HTMLSlotElement)) return false;
12201
12149
 
12202
- if (attemptFocusOnLastDescendant(assingedNodesOfSlotElement)) {
12203
- return true;
12204
- }
12150
+ if (focusOnLastNode(node.assignedNodes())) {
12151
+ return true;
12205
12152
  }
12206
12153
  }
12207
12154
 
12208
- function attemptFocusOnLastDescendantOfShadowDOM(node) {
12209
- var _a, _b;
12155
+ function focusOnLastNodeOfShadowDOM(node) {
12156
+ var _a;
12210
12157
 
12211
- if (node instanceof HTMLElement) {
12212
- let childNodesOfShadowRoot = (_b = (_a = node) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.childNodes;
12158
+ if (!(node instanceof HTMLElement)) return false;
12213
12159
 
12214
- if (attemptFocusOnLastDescendant(childNodesOfShadowRoot)) {
12215
- return true;
12216
- }
12160
+ if (focusOnLastNode((_a = node.shadowRoot) === null || _a === void 0 ? void 0 : _a.childNodes)) {
12161
+ return true;
12217
12162
  }
12218
12163
  }
12219
12164
 
12220
- function attemptFocus(element) {
12221
- if (!isFocusable(element)) {
12222
- return false;
12223
- }
12224
-
12225
- ignoreFocusChanges = true;
12165
+ function focus(element) {
12166
+ if (!isFocusable(element)) return false;
12226
12167
 
12227
12168
  try {
12169
+ ignoreFocusChanges = true;
12228
12170
  element.focus();
12229
- } catch (e) {}
12171
+ } catch (e) {} finally {
12172
+ ignoreFocusChanges = false;
12173
+ }
12230
12174
 
12231
- ignoreFocusChanges = false;
12232
12175
  return document.activeElement === element;
12233
12176
  }
12234
12177
 
12235
12178
  function trapFocus(event) {
12236
12179
  var _a;
12237
12180
 
12238
- if (ignoreFocusChanges) {
12239
- return;
12240
- }
12241
-
12181
+ if (ignoreFocusChanges) return;
12242
12182
  const slotElements = (_a = element.firstChild) === null || _a === void 0 ? void 0 : _a.assignedElements();
12243
12183
  if (!(slotElements === null || slotElements === void 0 ? void 0 : slotElements.length)) return;
12244
12184
  const contentRootElement = slotElements[0];
12245
12185
 
12246
12186
  if (event.composedPath().includes(contentRootElement)) {
12247
12187
  lastFocus = event.target;
12248
- } else {
12249
- attemptFocusOnFirstDescendant(contentRootElement.childNodes);
12188
+ return;
12189
+ }
12250
12190
 
12251
- if (lastFocus == document.activeElement) {
12252
- attemptFocusOnLastDescendant(contentRootElement.childNodes);
12253
- }
12191
+ focusOnFirstNode(contentRootElement.childNodes);
12254
12192
 
12255
- lastFocus = document.activeElement;
12193
+ if (lastFocus == document.activeElement) {
12194
+ focusOnLastNode(contentRootElement.childNodes);
12256
12195
  }
12196
+
12197
+ lastFocus = document.activeElement;
12257
12198
  }
12258
12199
 
12259
12200
  function div_binding($$value) {
@@ -12264,30 +12205,34 @@
12264
12205
  }
12265
12206
 
12266
12207
  $$self.$$set = $$props => {
12267
- if ('open' in $$props) $$invalidate(1, open = $$props.open);
12208
+ if ('active' in $$props) $$invalidate(1, active = $$props.active);
12268
12209
  };
12269
12210
 
12270
12211
  $$self.$$.update = () => {
12271
12212
  if ($$self.$$.dirty &
12272
- /*open*/
12213
+ /*active*/
12273
12214
  2) {
12274
- $$invalidate(2, isOpen = toBoolean(open));
12215
+ $$invalidate(3, isActive = toBoolean(active));
12275
12216
  }
12276
12217
 
12277
12218
  if ($$self.$$.dirty &
12278
- /*isOpen*/
12279
- 4) {
12219
+ /*isActive, hasListeners*/
12220
+ 12) {
12280
12221
  {
12281
- if (isOpen) {
12222
+ if (isActive && !hasListeners) {
12282
12223
  addListeners();
12283
- } else {
12224
+ $$invalidate(2, hasListeners = true);
12225
+ }
12226
+
12227
+ if (!isActive && hasListeners) {
12284
12228
  removeListeners();
12229
+ $$invalidate(2, hasListeners = false);
12285
12230
  }
12286
12231
  }
12287
12232
  }
12288
12233
  };
12289
12234
 
12290
- return [element, open, isOpen, div_binding];
12235
+ return [element, active, hasListeners, isActive, div_binding];
12291
12236
  }
12292
12237
 
12293
12238
  class FocusTrap extends SvelteElement {
@@ -12298,7 +12243,7 @@
12298
12243
  props: attribute_to_object(this.attributes),
12299
12244
  customElement: true
12300
12245
  }, instance$6, create_fragment$7, safe_not_equal, {
12301
- open: 1
12246
+ active: 1
12302
12247
  }, null);
12303
12248
 
12304
12249
  if (options) {
@@ -12314,16 +12259,16 @@
12314
12259
  }
12315
12260
 
12316
12261
  static get observedAttributes() {
12317
- return ["open"];
12262
+ return ["active"];
12318
12263
  }
12319
12264
 
12320
- get open() {
12265
+ get active() {
12321
12266
  return this.$$.ctx[1];
12322
12267
  }
12323
12268
 
12324
- set open(open) {
12269
+ set active(active) {
12325
12270
  this.$$set({
12326
- open
12271
+ active
12327
12272
  });
12328
12273
  flush();
12329
12274
  }
@@ -14054,14 +13999,12 @@
14054
13999
  };
14055
14000
 
14056
14001
  var GoACircularProgress = function GoACircularProgress(_a) {
14057
- var type = _a.type,
14058
- visible = _a.visible,
14002
+ var visible = _a.visible,
14059
14003
  message = _a.message,
14060
14004
  progress = _a.progress,
14061
14005
  variant = _a.variant,
14062
14006
  size = _a.size;
14063
14007
  return jsxRuntime.jsx("goa-circular-progress", {
14064
- type: type,
14065
14008
  visible: visible ? "true" : "false",
14066
14009
  message: message,
14067
14010
  progress: progress,