@abgov/react-components 4.0.0-alpha.89 → 4.0.0-alpha.90

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "4.0.0-alpha.89",
3
+ "version": "4.0.0-alpha.90",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"
@@ -5656,7 +5656,7 @@ function get_each_context$4(ctx, list, i) {
5656
5656
  child_ctx[44] = list[i];
5657
5657
  child_ctx[46] = i;
5658
5658
  return child_ctx;
5659
- } // (197:2) {#if isMenuVisible}
5659
+ } // (200:2) {#if isMenuVisible}
5660
5660
 
5661
5661
 
5662
5662
  function create_if_block$b(ctx) {
@@ -5701,7 +5701,7 @@ function create_if_block$b(ctx) {
5701
5701
  }
5702
5702
 
5703
5703
  };
5704
- } // (238:4) {#each options as option, index}
5704
+ } // (241:4) {#each options as option, index}
5705
5705
 
5706
5706
 
5707
5707
  function create_each_block$4(ctx) {
@@ -6463,12 +6463,16 @@ function instance$q($$self, $$props, $$invalidate) {
6463
6463
  /*name, el, isBound*/
6464
6464
  33558529) {
6465
6465
  {
6466
- if (name && el && !isBound) {
6467
- $$invalidate(25, isBound = true);
6468
- addEventListeners();
6469
- parseValues();
6470
- bindContext();
6471
- }
6466
+ (async () => {
6467
+ await tick();
6468
+
6469
+ if (name && el && !isBound) {
6470
+ $$invalidate(25, isBound = true);
6471
+ addEventListeners();
6472
+ parseValues();
6473
+ bindContext();
6474
+ }
6475
+ })();
6472
6476
  }
6473
6477
  }
6474
6478
  };
@@ -6712,19 +6716,23 @@ function instance$p($$self, $$props, $$invalidate) {
6712
6716
 
6713
6717
  $$self.$$.update = () => {
6714
6718
  if ($$self.$$.dirty &
6715
- /*name, isBound, ctx, label, value*/
6719
+ /*isBound, name, ctx, label, value*/
6716
6720
  31) {
6717
6721
  {
6718
- if (name && !isBound) {
6719
- $$invalidate(4, isBound = true);
6720
- $$invalidate(3, ctx = getContext(name));
6721
- ctx.notify({
6722
- type: "bind",
6723
- name,
6724
- label,
6725
- value
6726
- });
6727
- }
6722
+ (async () => {
6723
+ await tick();
6724
+
6725
+ if (!isBound) {
6726
+ $$invalidate(4, isBound = true);
6727
+ $$invalidate(3, ctx = getContext(name));
6728
+ ctx.notify({
6729
+ type: "bind",
6730
+ name,
6731
+ label,
6732
+ value
6733
+ });
6734
+ }
6735
+ })();
6728
6736
  }
6729
6737
  }
6730
6738
  };
@@ -12769,18 +12777,22 @@ function instance$9($$self, $$props, $$invalidate) {
12769
12777
 
12770
12778
  $$self.$$.update = () => {
12771
12779
  if ($$self.$$.dirty &
12772
- /*name, isBound, ctx, value, label*/
12780
+ /*isBound, name, ctx, value, label*/
12773
12781
  31) {
12774
12782
  {
12775
- if (name && !isBound) {
12776
- $$invalidate(4, isBound = true);
12777
- $$invalidate(3, ctx = getContext(name));
12778
- ctx.notify({
12779
- type: "bind",
12780
- value,
12781
- label
12782
- });
12783
- }
12783
+ (async () => {
12784
+ await tick();
12785
+
12786
+ if (!isBound) {
12787
+ $$invalidate(4, isBound = true);
12788
+ $$invalidate(3, ctx = getContext(name));
12789
+ ctx.notify({
12790
+ type: "bind",
12791
+ value,
12792
+ label
12793
+ });
12794
+ }
12795
+ })();
12784
12796
  }
12785
12797
  }
12786
12798
  };
@@ -5698,7 +5698,7 @@
5698
5698
  child_ctx[44] = list[i];
5699
5699
  child_ctx[46] = i;
5700
5700
  return child_ctx;
5701
- } // (197:2) {#if isMenuVisible}
5701
+ } // (200:2) {#if isMenuVisible}
5702
5702
 
5703
5703
 
5704
5704
  function create_if_block$b(ctx) {
@@ -5743,7 +5743,7 @@
5743
5743
  }
5744
5744
 
5745
5745
  };
5746
- } // (238:4) {#each options as option, index}
5746
+ } // (241:4) {#each options as option, index}
5747
5747
 
5748
5748
 
5749
5749
  function create_each_block$4(ctx) {
@@ -6506,12 +6506,16 @@
6506
6506
  /*name, el, isBound*/
6507
6507
  33558529) {
6508
6508
  {
6509
- if (name && el && !isBound) {
6510
- $$invalidate(25, isBound = true);
6511
- addEventListeners();
6512
- parseValues();
6513
- bindContext();
6514
- }
6509
+ (function () {
6510
+ return _call(tick, function () {
6511
+ if (name && el && !isBound) {
6512
+ $$invalidate(25, isBound = true);
6513
+ addEventListeners();
6514
+ parseValues();
6515
+ bindContext();
6516
+ }
6517
+ });
6518
+ })();
6515
6519
  }
6516
6520
  }
6517
6521
  };
@@ -6755,19 +6759,23 @@
6755
6759
 
6756
6760
  $$self.$$.update = () => {
6757
6761
  if ($$self.$$.dirty &
6758
- /*name, isBound, ctx, label, value*/
6762
+ /*isBound, name, ctx, label, value*/
6759
6763
  31) {
6760
6764
  {
6761
- if (name && !isBound) {
6762
- $$invalidate(4, isBound = true);
6763
- $$invalidate(3, ctx = getContext(name));
6764
- ctx.notify({
6765
- type: "bind",
6766
- name,
6767
- label,
6768
- value
6765
+ (function () {
6766
+ return _call(tick, function () {
6767
+ if (!isBound) {
6768
+ $$invalidate(4, isBound = true);
6769
+ $$invalidate(3, ctx = getContext(name));
6770
+ ctx.notify({
6771
+ type: "bind",
6772
+ name,
6773
+ label,
6774
+ value
6775
+ });
6776
+ }
6769
6777
  });
6770
- }
6778
+ })();
6771
6779
  }
6772
6780
  }
6773
6781
  };
@@ -12814,18 +12822,22 @@
12814
12822
 
12815
12823
  $$self.$$.update = () => {
12816
12824
  if ($$self.$$.dirty &
12817
- /*name, isBound, ctx, value, label*/
12825
+ /*isBound, name, ctx, value, label*/
12818
12826
  31) {
12819
12827
  {
12820
- if (name && !isBound) {
12821
- $$invalidate(4, isBound = true);
12822
- $$invalidate(3, ctx = getContext(name));
12823
- ctx.notify({
12824
- type: "bind",
12825
- value,
12826
- label
12828
+ (function () {
12829
+ return _call(tick, function () {
12830
+ if (!isBound) {
12831
+ $$invalidate(4, isBound = true);
12832
+ $$invalidate(3, ctx = getContext(name));
12833
+ ctx.notify({
12834
+ type: "bind",
12835
+ value,
12836
+ label
12837
+ });
12838
+ }
12827
12839
  });
12828
- }
12840
+ })();
12829
12841
  }
12830
12842
  }
12831
12843
  };