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

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.
@@ -1756,7 +1756,7 @@ customElements.define("goa-button-group", ButtonGroup);
1756
1756
 
1757
1757
  function create_else_block$2(ctx) {
1758
1758
  let t0;
1759
- let div;
1759
+ let slot;
1760
1760
  let t1;
1761
1761
  let if_block1_anchor;
1762
1762
  let if_block0 =
@@ -1769,18 +1769,17 @@ function create_else_block$2(ctx) {
1769
1769
  c() {
1770
1770
  if (if_block0) if_block0.c();
1771
1771
  t0 = space();
1772
- div = element("div");
1773
- div.innerHTML = `<slot></slot>`;
1772
+ slot = element("slot");
1774
1773
  t1 = space();
1775
1774
  if (if_block1) if_block1.c();
1776
1775
  if_block1_anchor = empty();
1777
- attr(div, "class", "text");
1776
+ attr(slot, "class", "text");
1778
1777
  },
1779
1778
 
1780
1779
  m(target, anchor) {
1781
1780
  if (if_block0) if_block0.m(target, anchor);
1782
1781
  insert(target, t0, anchor);
1783
- insert(target, div, anchor);
1782
+ insert(target, slot, anchor);
1784
1783
  insert(target, t1, anchor);
1785
1784
  if (if_block1) if_block1.m(target, anchor);
1786
1785
  insert(target, if_block1_anchor, anchor);
@@ -1821,7 +1820,7 @@ function create_else_block$2(ctx) {
1821
1820
  d(detaching) {
1822
1821
  if (if_block0) if_block0.d(detaching);
1823
1822
  if (detaching) detach(t0);
1824
- if (detaching) detach(div);
1823
+ if (detaching) detach(slot);
1825
1824
  if (detaching) detach(t1);
1826
1825
  if (if_block1) if_block1.d(detaching);
1827
1826
  if (detaching) detach(if_block1_anchor);
@@ -1832,23 +1831,22 @@ function create_else_block$2(ctx) {
1832
1831
 
1833
1832
 
1834
1833
  function create_if_block$h(ctx) {
1835
- let div;
1834
+ let slot;
1836
1835
  let t;
1837
1836
  let goa_icon;
1838
1837
  return {
1839
1838
  c() {
1840
- div = element("div");
1841
- div.innerHTML = `<slot></slot>`;
1839
+ slot = element("slot");
1842
1840
  t = space();
1843
1841
  goa_icon = element("goa-icon");
1844
- attr(div, "class", "text");
1842
+ attr(slot, "class", "text");
1845
1843
  set_custom_element_data(goa_icon, "id", "trailing-icon");
1846
1844
  set_custom_element_data(goa_icon, "type", "arrow-forward");
1847
1845
  set_custom_element_data(goa_icon, "inverted", "true");
1848
1846
  },
1849
1847
 
1850
1848
  m(target, anchor) {
1851
- insert(target, div, anchor);
1849
+ insert(target, slot, anchor);
1852
1850
  insert(target, t, anchor);
1853
1851
  insert(target, goa_icon, anchor);
1854
1852
  },
@@ -1856,13 +1854,13 @@ function create_if_block$h(ctx) {
1856
1854
  p: noop,
1857
1855
 
1858
1856
  d(detaching) {
1859
- if (detaching) detach(div);
1857
+ if (detaching) detach(slot);
1860
1858
  if (detaching) detach(t);
1861
1859
  if (detaching) detach(goa_icon);
1862
1860
  }
1863
1861
 
1864
1862
  };
1865
- } // (59:4) {#if leadingicon}
1863
+ } // (57:4) {#if leadingicon}
1866
1864
 
1867
1865
 
1868
1866
  function create_if_block_2$7(ctx) {
@@ -1906,7 +1904,7 @@ function create_if_block_2$7(ctx) {
1906
1904
  }
1907
1905
 
1908
1906
  };
1909
- } // (65:4) {#if trailingicon}
1907
+ } // (61:4) {#if trailingicon}
1910
1908
 
1911
1909
 
1912
1910
  function create_if_block_1$a(ctx) {
@@ -2171,7 +2169,7 @@ class Button extends SvelteElement {
2171
2169
  constructor(options) {
2172
2170
  super();
2173
2171
  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:inline-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,
2174
- 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.submit,button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.submit:focus,button.submit: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}.submit.destructive,.primary.destructive{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.submit.destructive:hover,.primary.destructive:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.destructive{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.destructive{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}</style>`;
2172
+ 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.submit,button.primary{border:2px solid var(--goa-color-interactive);background-color:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background-color:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.submit:focus,button.submit: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-color:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background-color: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-color: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-color:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background-color: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-color:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background-color:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.submit.destructive,.primary.destructive{color:var(--color-white);background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.destructive{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background-color:var(--color-white)}.secondary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background-color:var(--color-white)}.tertiary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}</style>`;
2175
2173
  init(this, {
2176
2174
  target: this.shadowRoot,
2177
2175
  props: attribute_to_object(this.attributes),
@@ -4811,18 +4809,18 @@ function create_if_block$c(ctx) {
4811
4809
  }
4812
4810
 
4813
4811
  };
4814
- } // (234:4) {#each options as option, index}
4812
+ } // (239:4) {#each options as option, index}
4815
4813
 
4816
4814
 
4817
4815
  function create_each_block$4(ctx) {
4818
4816
  let li;
4819
- let t0_value = (
4817
+ let t_value = (
4820
4818
  /*option*/
4821
4819
  ctx[39].label ||
4822
4820
  /*option*/
4823
4821
  ctx[39].value) + "";
4824
- let t0;
4825
- let t1;
4822
+ let t;
4823
+ let li_id_value;
4826
4824
  let li_aria_label_value;
4827
4825
  let li_data_testid_value;
4828
4826
  let li_data_index_value;
@@ -4842,13 +4840,16 @@ function create_each_block$4(ctx) {
4842
4840
  return {
4843
4841
  c() {
4844
4842
  li = element("li");
4845
- t0 = text(t0_value);
4846
- t1 = space();
4843
+ t = text(t_value);
4844
+ attr(li, "id", li_id_value =
4845
+ /*option*/
4846
+ ctx[39].label);
4847
4847
  attr(li, "aria-label", li_aria_label_value =
4848
4848
  /*option*/
4849
4849
  ctx[39].label ||
4850
4850
  /*option*/
4851
4851
  ctx[39].value);
4852
+ attr(li, "role", "option");
4852
4853
  attr(li, "data-testid", li_data_testid_value = `${
4853
4854
  /*option*/
4854
4855
  ctx[39].value}-dropdown-item`);
@@ -4872,8 +4873,7 @@ function create_each_block$4(ctx) {
4872
4873
 
4873
4874
  m(target, anchor) {
4874
4875
  insert(target, li, anchor);
4875
- append(li, t0);
4876
- append(li, t1);
4876
+ append(li, t);
4877
4877
 
4878
4878
  if (!mounted) {
4879
4879
  dispose = listen(li, "click", click_handler);
@@ -4885,11 +4885,19 @@ function create_each_block$4(ctx) {
4885
4885
  ctx = new_ctx;
4886
4886
  if (dirty[0] &
4887
4887
  /*options*/
4888
- 1024 && t0_value !== (t0_value = (
4888
+ 1024 && t_value !== (t_value = (
4889
4889
  /*option*/
4890
4890
  ctx[39].label ||
4891
4891
  /*option*/
4892
- ctx[39].value) + "")) set_data(t0, t0_value);
4892
+ ctx[39].value) + "")) set_data(t, t_value);
4893
+
4894
+ if (dirty[0] &
4895
+ /*options*/
4896
+ 1024 && li_id_value !== (li_id_value =
4897
+ /*option*/
4898
+ ctx[39].label)) {
4899
+ attr(li, "id", li_id_value);
4900
+ }
4893
4901
 
4894
4902
  if (dirty[0] &
4895
4903
  /*options*/
@@ -4949,8 +4957,8 @@ function create_fragment$q(ctx) {
4949
4957
  let div0_data_testid_value;
4950
4958
  let t1;
4951
4959
  let ul;
4952
- let slot;
4953
4960
  let t2;
4961
+ let slot;
4954
4962
  let ul_style_value;
4955
4963
  let div1_style_value;
4956
4964
  let mounted;
@@ -4976,13 +4984,13 @@ function create_fragment$q(ctx) {
4976
4984
  goa_input = element("goa-input");
4977
4985
  t1 = space();
4978
4986
  ul = element("ul");
4979
- slot = element("slot");
4980
- t2 = space();
4981
4987
 
4982
4988
  for (let i = 0; i < each_blocks.length; i += 1) {
4983
4989
  each_blocks[i].c();
4984
4990
  }
4985
4991
 
4992
+ t2 = space();
4993
+ slot = element("slot");
4986
4994
  this.c = noop;
4987
4995
  set_custom_element_data(goa_input, "error",
4988
4996
  /*error*/
@@ -5000,11 +5008,16 @@ function create_fragment$q(ctx) {
5000
5008
  set_custom_element_data(goa_input, "id", goa_input_id_value = `${
5001
5009
  /*name*/
5002
5010
  ctx[0]}-dropdown-input`);
5011
+ set_custom_element_data(goa_input, "role", "combobox");
5003
5012
  set_custom_element_data(goa_input, "aria-label", goa_input_aria_label_value =
5004
5013
  /*arialabel*/
5005
5014
  ctx[1] ||
5006
5015
  /*name*/
5007
5016
  ctx[0]);
5017
+ set_custom_element_data(goa_input, "aria-expanded",
5018
+ /*isMenuVisible*/
5019
+ ctx[12]);
5020
+ set_custom_element_data(goa_input, "aria-controls", "menu");
5008
5021
  set_custom_element_data(goa_input, "readonly", "");
5009
5022
  set_custom_element_data(goa_input, "trailingicon", "chevron-down");
5010
5023
  set_custom_element_data(goa_input, "type", "text");
@@ -5014,6 +5027,11 @@ function create_fragment$q(ctx) {
5014
5027
  attr(div0, "data-testid", div0_data_testid_value = `${
5015
5028
  /*name*/
5016
5029
  ctx[0]}-dropdown`);
5030
+ attr(ul, "id", "menu");
5031
+ attr(ul, "role", "listbox");
5032
+ attr(ul, "aria-activedescendant",
5033
+ /*selectedLabel*/
5034
+ ctx[11]);
5017
5035
  attr(ul, "data-testid", "dropdown-menu");
5018
5036
  attr(ul, "tabindex", "0");
5019
5037
  attr(ul, "class", "goa-dropdown-list");
@@ -5042,14 +5060,14 @@ function create_fragment$q(ctx) {
5042
5060
  append(div0, goa_input);
5043
5061
  append(div1, t1);
5044
5062
  append(div1, ul);
5045
- append(ul, slot);
5046
- append(ul, t2);
5047
5063
 
5048
5064
  for (let i = 0; i < each_blocks.length; i += 1) {
5049
5065
  each_blocks[i].m(ul, null);
5050
5066
  }
5051
- /*ul_binding*/
5052
5067
 
5068
+ append(ul, t2);
5069
+ append(ul, slot);
5070
+ /*ul_binding*/
5053
5071
 
5054
5072
  ctx[23](ul);
5055
5073
  /*div1_binding*/
@@ -5130,6 +5148,14 @@ function create_fragment$q(ctx) {
5130
5148
  set_custom_element_data(goa_input, "aria-label", goa_input_aria_label_value);
5131
5149
  }
5132
5150
 
5151
+ if (dirty[0] &
5152
+ /*isMenuVisible*/
5153
+ 4096) {
5154
+ set_custom_element_data(goa_input, "aria-expanded",
5155
+ /*isMenuVisible*/
5156
+ ctx[12]);
5157
+ }
5158
+
5133
5159
  if (dirty[0] &
5134
5160
  /*selectedLabel*/
5135
5161
  2048) {
@@ -5162,7 +5188,7 @@ function create_fragment$q(ctx) {
5162
5188
  } else {
5163
5189
  each_blocks[i] = create_each_block$4(child_ctx);
5164
5190
  each_blocks[i].c();
5165
- each_blocks[i].m(ul, null);
5191
+ each_blocks[i].m(ul, t2);
5166
5192
  }
5167
5193
  }
5168
5194
 
@@ -5173,6 +5199,14 @@ function create_fragment$q(ctx) {
5173
5199
  each_blocks.length = each_value.length;
5174
5200
  }
5175
5201
 
5202
+ if (dirty[0] &
5203
+ /*selectedLabel*/
5204
+ 2048) {
5205
+ attr(ul, "aria-activedescendant",
5206
+ /*selectedLabel*/
5207
+ ctx[11]);
5208
+ }
5209
+
5176
5210
  if (dirty[0] &
5177
5211
  /*maxheight*/
5178
5212
  8 && ul_style_value !== (ul_style_value = `overflow-y: auto; max-height: ${
@@ -8218,7 +8252,7 @@ function create_if_block_7(ctx) {
8218
8252
  div = element("div");
8219
8253
  t = text(
8220
8254
  /*prefix*/
8221
- ctx[13]);
8255
+ ctx[14]);
8222
8256
  attr(div, "class", "prefix");
8223
8257
  },
8224
8258
 
@@ -8228,11 +8262,11 @@ function create_if_block_7(ctx) {
8228
8262
  },
8229
8263
 
8230
8264
  p(ctx, dirty) {
8231
- if (dirty &
8265
+ if (dirty[0] &
8232
8266
  /*prefix*/
8233
- 8192) set_data(t,
8267
+ 16384) set_data(t,
8234
8268
  /*prefix*/
8235
- ctx[13]);
8269
+ ctx[14]);
8236
8270
  },
8237
8271
 
8238
8272
  d(detaching) {
@@ -8240,7 +8274,7 @@ function create_if_block_7(ctx) {
8240
8274
  }
8241
8275
 
8242
8276
  };
8243
- } // (81:4) {#if leadingicon}
8277
+ } // (82:4) {#if leadingicon}
8244
8278
 
8245
8279
 
8246
8280
  function create_if_block_6(ctx) {
@@ -8252,7 +8286,7 @@ function create_if_block_6(ctx) {
8252
8286
  set_custom_element_data(goa_icon, "data-testid", "leading-icon");
8253
8287
  set_custom_element_data(goa_icon, "type",
8254
8288
  /*leadingicon*/
8255
- ctx[4]);
8289
+ ctx[5]);
8256
8290
  },
8257
8291
 
8258
8292
  m(target, anchor) {
@@ -8260,12 +8294,12 @@ function create_if_block_6(ctx) {
8260
8294
  },
8261
8295
 
8262
8296
  p(ctx, dirty) {
8263
- if (dirty &
8297
+ if (dirty[0] &
8264
8298
  /*leadingicon*/
8265
- 16) {
8299
+ 32) {
8266
8300
  set_custom_element_data(goa_icon, "type",
8267
8301
  /*leadingicon*/
8268
- ctx[4]);
8302
+ ctx[5]);
8269
8303
  }
8270
8304
  },
8271
8305
 
@@ -8274,7 +8308,7 @@ function create_if_block_6(ctx) {
8274
8308
  }
8275
8309
 
8276
8310
  };
8277
- } // (110:4) {#if trailingicon && !handlesTrailingIconClick}
8311
+ } // (112:4) {#if trailingicon && !handlesTrailingIconClick}
8278
8312
 
8279
8313
 
8280
8314
  function create_if_block_5(ctx) {
@@ -8287,7 +8321,7 @@ function create_if_block_5(ctx) {
8287
8321
  set_custom_element_data(goa_icon, "size", "medium");
8288
8322
  set_custom_element_data(goa_icon, "type",
8289
8323
  /*trailingicon*/
8290
- ctx[5]);
8324
+ ctx[6]);
8291
8325
  },
8292
8326
 
8293
8327
  m(target, anchor) {
@@ -8295,12 +8329,12 @@ function create_if_block_5(ctx) {
8295
8329
  },
8296
8330
 
8297
8331
  p(ctx, dirty) {
8298
- if (dirty &
8332
+ if (dirty[0] &
8299
8333
  /*trailingicon*/
8300
- 32) {
8334
+ 64) {
8301
8335
  set_custom_element_data(goa_icon, "type",
8302
8336
  /*trailingicon*/
8303
- ctx[5]);
8337
+ ctx[6]);
8304
8338
  }
8305
8339
  },
8306
8340
 
@@ -8309,7 +8343,7 @@ function create_if_block_5(ctx) {
8309
8343
  }
8310
8344
 
8311
8345
  };
8312
- } // (120:4) {#if trailingicon && handlesTrailingIconClick}
8346
+ } // (122:4) {#if trailingicon && handlesTrailingIconClick}
8313
8347
 
8314
8348
 
8315
8349
  function create_if_block_4(ctx) {
@@ -8321,12 +8355,12 @@ function create_if_block_4(ctx) {
8321
8355
  goa_icon_button = element("goa-icon-button");
8322
8356
  set_custom_element_data(goa_icon_button, "disabled",
8323
8357
  /*isDisabled*/
8324
- ctx[18]);
8358
+ ctx[19]);
8325
8359
  set_custom_element_data(goa_icon_button, "variant", "nocolor");
8326
8360
  set_custom_element_data(goa_icon_button, "size", "medium");
8327
8361
  set_custom_element_data(goa_icon_button, "type",
8328
8362
  /*trailingicon*/
8329
- ctx[5]);
8363
+ ctx[6]);
8330
8364
  set_custom_element_data(goa_icon_button, "data-testid", "trailing-icon-button");
8331
8365
  },
8332
8366
 
@@ -8340,20 +8374,20 @@ function create_if_block_4(ctx) {
8340
8374
  },
8341
8375
 
8342
8376
  p(ctx, dirty) {
8343
- if (dirty &
8377
+ if (dirty[0] &
8344
8378
  /*isDisabled*/
8345
- 262144) {
8379
+ 524288) {
8346
8380
  set_custom_element_data(goa_icon_button, "disabled",
8347
8381
  /*isDisabled*/
8348
- ctx[18]);
8382
+ ctx[19]);
8349
8383
  }
8350
8384
 
8351
- if (dirty &
8385
+ if (dirty[0] &
8352
8386
  /*trailingicon*/
8353
- 32) {
8387
+ 64) {
8354
8388
  set_custom_element_data(goa_icon_button, "type",
8355
8389
  /*trailingicon*/
8356
- ctx[5]);
8390
+ ctx[6]);
8357
8391
  }
8358
8392
  },
8359
8393
 
@@ -8364,7 +8398,7 @@ function create_if_block_4(ctx) {
8364
8398
  }
8365
8399
 
8366
8400
  };
8367
- } // (131:4) {#if suffix}
8401
+ } // (133:4) {#if suffix}
8368
8402
 
8369
8403
 
8370
8404
  function create_if_block_3$2(ctx) {
@@ -8375,7 +8409,7 @@ function create_if_block_3$2(ctx) {
8375
8409
  span = element("span");
8376
8410
  t = text(
8377
8411
  /*suffix*/
8378
- ctx[14]);
8412
+ ctx[15]);
8379
8413
  attr(span, "class", "suffix");
8380
8414
  },
8381
8415
 
@@ -8385,11 +8419,11 @@ function create_if_block_3$2(ctx) {
8385
8419
  },
8386
8420
 
8387
8421
  p(ctx, dirty) {
8388
- if (dirty &
8422
+ if (dirty[0] &
8389
8423
  /*suffix*/
8390
- 16384) set_data(t,
8424
+ 32768) set_data(t,
8391
8425
  /*suffix*/
8392
- ctx[14]);
8426
+ ctx[15]);
8393
8427
  },
8394
8428
 
8395
8429
  d(detaching) {
@@ -8397,7 +8431,7 @@ function create_if_block_3$2(ctx) {
8397
8431
  }
8398
8432
 
8399
8433
  };
8400
- } // (137:2) {#if showCounter}
8434
+ } // (139:2) {#if showCounter}
8401
8435
 
8402
8436
 
8403
8437
  function create_if_block$7(ctx) {
@@ -8406,7 +8440,7 @@ function create_if_block$7(ctx) {
8406
8440
  function select_block_type(ctx, dirty) {
8407
8441
  if (
8408
8442
  /*maxcharcount*/
8409
- ctx[15] > 0) return create_if_block_1$5;
8443
+ ctx[16] > 0) return create_if_block_1$5;
8410
8444
  if (
8411
8445
  /*value*/
8412
8446
  ctx[0].length > 0) return create_if_block_2$4;
@@ -8448,7 +8482,7 @@ function create_if_block$7(ctx) {
8448
8482
  }
8449
8483
 
8450
8484
  };
8451
- } // (142:31)
8485
+ } // (144:31)
8452
8486
 
8453
8487
 
8454
8488
  function create_if_block_2$4(ctx) {
@@ -8470,7 +8504,7 @@ function create_if_block_2$4(ctx) {
8470
8504
  },
8471
8505
 
8472
8506
  p(ctx, dirty) {
8473
- if (dirty &
8507
+ if (dirty[0] &
8474
8508
  /*value*/
8475
8509
  1 && t_value !== (t_value =
8476
8510
  /*value*/
@@ -8482,7 +8516,7 @@ function create_if_block_2$4(ctx) {
8482
8516
  }
8483
8517
 
8484
8518
  };
8485
- } // (138:4) {#if maxcharcount > 0}
8519
+ } // (140:4) {#if maxcharcount > 0}
8486
8520
 
8487
8521
 
8488
8522
  function create_if_block_1$5(ctx) {
@@ -8493,7 +8527,7 @@ function create_if_block_1$5(ctx) {
8493
8527
  let t0;
8494
8528
  let t1_value = `/${
8495
8529
  /*maxcharcount*/
8496
- ctx[15]}` + "";
8530
+ ctx[16]}` + "";
8497
8531
  let t1;
8498
8532
  return {
8499
8533
  c() {
@@ -8505,7 +8539,7 @@ function create_if_block_1$5(ctx) {
8505
8539
  /*value*/
8506
8540
  ctx[0].length >
8507
8541
  /*maxcharcount*/
8508
- ctx[15]);
8542
+ ctx[16]);
8509
8543
  },
8510
8544
 
8511
8545
  m(target, anchor) {
@@ -8515,25 +8549,25 @@ function create_if_block_1$5(ctx) {
8515
8549
  },
8516
8550
 
8517
8551
  p(ctx, dirty) {
8518
- if (dirty &
8552
+ if (dirty[0] &
8519
8553
  /*value*/
8520
8554
  1 && t0_value !== (t0_value =
8521
8555
  /*value*/
8522
8556
  ctx[0].length + "")) set_data(t0, t0_value);
8523
- if (dirty &
8557
+ if (dirty[0] &
8524
8558
  /*maxcharcount*/
8525
- 32768 && t1_value !== (t1_value = `/${
8559
+ 65536 && t1_value !== (t1_value = `/${
8526
8560
  /*maxcharcount*/
8527
- ctx[15]}` + "")) set_data(t1, t1_value);
8561
+ ctx[16]}` + "")) set_data(t1, t1_value);
8528
8562
 
8529
- if (dirty &
8563
+ if (dirty[0] &
8530
8564
  /*value, maxcharcount*/
8531
- 32769) {
8565
+ 65537) {
8532
8566
  toggle_class(div, "counter-error",
8533
8567
  /*value*/
8534
8568
  ctx[0].length >
8535
8569
  /*maxcharcount*/
8536
- ctx[15]);
8570
+ ctx[16]);
8537
8571
  }
8538
8572
  },
8539
8573
 
@@ -8563,26 +8597,26 @@ function create_fragment$e(ctx) {
8563
8597
  let dispose;
8564
8598
  let if_block0 =
8565
8599
  /*prefix*/
8566
- ctx[13] && create_if_block_7(ctx);
8600
+ ctx[14] && create_if_block_7(ctx);
8567
8601
  let if_block1 =
8568
8602
  /*leadingicon*/
8569
- ctx[4] && create_if_block_6(ctx);
8603
+ ctx[5] && create_if_block_6(ctx);
8570
8604
  let if_block2 =
8571
8605
  /*trailingicon*/
8572
- ctx[5] && !
8606
+ ctx[6] && !
8573
8607
  /*handlesTrailingIconClick*/
8574
- ctx[21] && create_if_block_5(ctx);
8608
+ ctx[22] && create_if_block_5(ctx);
8575
8609
  let if_block3 =
8576
8610
  /*trailingicon*/
8577
- ctx[5] &&
8611
+ ctx[6] &&
8578
8612
  /*handlesTrailingIconClick*/
8579
- ctx[21] && create_if_block_4(ctx);
8613
+ ctx[22] && create_if_block_4(ctx);
8580
8614
  let if_block4 =
8581
8615
  /*suffix*/
8582
- ctx[14] && create_if_block_3$2(ctx);
8616
+ ctx[15] && create_if_block_3$2(ctx);
8583
8617
  let if_block5 =
8584
8618
  /*showCounter*/
8585
- ctx[17] && create_if_block$7(ctx);
8619
+ ctx[18] && create_if_block$7(ctx);
8586
8620
  return {
8587
8621
  c() {
8588
8622
  div1 = element("div");
@@ -8603,19 +8637,22 @@ function create_fragment$e(ctx) {
8603
8637
  this.c = noop;
8604
8638
  attr(input, "class", input_class_value = `input--${
8605
8639
  /*variant*/
8606
- ctx[6]}`);
8640
+ ctx[7]}`);
8607
8641
  attr(input, "style", input_style_value = `--search-icon-offset: ${
8608
8642
  /*trailingicon*/
8609
- ctx[5] ? "-0.5rem" : "0"}`);
8643
+ ctx[6] ? "-0.5rem" : "0"}`);
8610
8644
  input.readOnly =
8611
8645
  /*isReadonly*/
8612
- ctx[20];
8646
+ ctx[21];
8613
8647
  input.disabled =
8614
8648
  /*isDisabled*/
8615
- ctx[18];
8649
+ ctx[19];
8616
8650
  attr(input, "data-testid",
8617
8651
  /*testid*/
8618
- ctx[7]);
8652
+ ctx[8]);
8653
+ attr(input, "autocapitalize",
8654
+ /*autocapitalize*/
8655
+ ctx[3]);
8619
8656
  attr(input, "name",
8620
8657
  /*name*/
8621
8658
  ctx[2]);
@@ -8627,42 +8664,42 @@ function create_fragment$e(ctx) {
8627
8664
  ctx[0];
8628
8665
  attr(input, "placeholder",
8629
8666
  /*placeholder*/
8630
- ctx[3]);
8667
+ ctx[4]);
8631
8668
  attr(input, "min",
8632
8669
  /*min*/
8633
- ctx[10]);
8670
+ ctx[11]);
8634
8671
  attr(input, "max",
8635
8672
  /*max*/
8636
- ctx[11]);
8673
+ ctx[12]);
8637
8674
  attr(input, "step",
8638
8675
  /*step*/
8639
- ctx[12]);
8676
+ ctx[13]);
8640
8677
  attr(input, "role", "textbox");
8641
8678
  attr(input, "aria-label", input_aria_label_value =
8642
8679
  /*arialabel*/
8643
- ctx[9] ||
8680
+ ctx[10] ||
8644
8681
  /*name*/
8645
8682
  ctx[2]);
8646
8683
  attr(div0, "class", div0_class_value = `
8647
8684
  goa-input
8648
8685
  ${
8649
8686
  /*isDisabled*/
8650
- ctx[18] ? "goa-input--disabled" : ""}
8687
+ ctx[19] ? "goa-input--disabled" : ""}
8651
8688
  variant--${
8652
8689
  /*variant*/
8653
- ctx[6]}
8690
+ ctx[7]}
8654
8691
  type--${
8655
8692
  /*type*/
8656
8693
  ctx[1]}
8657
8694
  `);
8658
8695
  toggle_class(div0, "error",
8659
8696
  /*isError*/
8660
- ctx[19]);
8697
+ ctx[20]);
8661
8698
  attr(div1, "class", "container");
8662
8699
  attr(div1, "style", div1_style_value = `
8663
8700
  --width: ${
8664
8701
  /*width*/
8665
- ctx[8]};
8702
+ ctx[9]};
8666
8703
  `);
8667
8704
  },
8668
8705
 
@@ -8676,7 +8713,7 @@ function create_fragment$e(ctx) {
8676
8713
  append(div0, input);
8677
8714
  /*input_binding*/
8678
8715
 
8679
- ctx[30](input);
8716
+ ctx[31](input);
8680
8717
  append(div0, t2);
8681
8718
  if (if_block2) if_block2.m(div0, null);
8682
8719
  append(div0, t3);
@@ -8689,17 +8726,17 @@ function create_fragment$e(ctx) {
8689
8726
  if (!mounted) {
8690
8727
  dispose = [listen(input, "keyup",
8691
8728
  /*onKeyUp*/
8692
- ctx[22]), listen(input, "change",
8729
+ ctx[23]), listen(input, "change",
8693
8730
  /*onKeyUp*/
8694
- ctx[22])];
8731
+ ctx[23])];
8695
8732
  mounted = true;
8696
8733
  }
8697
8734
  },
8698
8735
 
8699
- p(ctx, [dirty]) {
8736
+ p(ctx, dirty) {
8700
8737
  if (
8701
8738
  /*prefix*/
8702
- ctx[13]) {
8739
+ ctx[14]) {
8703
8740
  if (if_block0) {
8704
8741
  if_block0.p(ctx, dirty);
8705
8742
  } else {
@@ -8714,7 +8751,7 @@ function create_fragment$e(ctx) {
8714
8751
 
8715
8752
  if (
8716
8753
  /*leadingicon*/
8717
- ctx[4]) {
8754
+ ctx[5]) {
8718
8755
  if (if_block1) {
8719
8756
  if_block1.p(ctx, dirty);
8720
8757
  } else {
@@ -8727,47 +8764,55 @@ function create_fragment$e(ctx) {
8727
8764
  if_block1 = null;
8728
8765
  }
8729
8766
 
8730
- if (dirty &
8767
+ if (dirty[0] &
8731
8768
  /*variant*/
8732
- 64 && input_class_value !== (input_class_value = `input--${
8769
+ 128 && input_class_value !== (input_class_value = `input--${
8733
8770
  /*variant*/
8734
- ctx[6]}`)) {
8771
+ ctx[7]}`)) {
8735
8772
  attr(input, "class", input_class_value);
8736
8773
  }
8737
8774
 
8738
- if (dirty &
8775
+ if (dirty[0] &
8739
8776
  /*trailingicon*/
8740
- 32 && input_style_value !== (input_style_value = `--search-icon-offset: ${
8777
+ 64 && input_style_value !== (input_style_value = `--search-icon-offset: ${
8741
8778
  /*trailingicon*/
8742
- ctx[5] ? "-0.5rem" : "0"}`)) {
8779
+ ctx[6] ? "-0.5rem" : "0"}`)) {
8743
8780
  attr(input, "style", input_style_value);
8744
8781
  }
8745
8782
 
8746
- if (dirty &
8783
+ if (dirty[0] &
8747
8784
  /*isReadonly*/
8748
- 1048576) {
8785
+ 2097152) {
8749
8786
  input.readOnly =
8750
8787
  /*isReadonly*/
8751
- ctx[20];
8788
+ ctx[21];
8752
8789
  }
8753
8790
 
8754
- if (dirty &
8791
+ if (dirty[0] &
8755
8792
  /*isDisabled*/
8756
- 262144) {
8793
+ 524288) {
8757
8794
  input.disabled =
8758
8795
  /*isDisabled*/
8759
- ctx[18];
8796
+ ctx[19];
8760
8797
  }
8761
8798
 
8762
- if (dirty &
8799
+ if (dirty[0] &
8763
8800
  /*testid*/
8764
- 128) {
8801
+ 256) {
8765
8802
  attr(input, "data-testid",
8766
8803
  /*testid*/
8767
- ctx[7]);
8804
+ ctx[8]);
8768
8805
  }
8769
8806
 
8770
- if (dirty &
8807
+ if (dirty[0] &
8808
+ /*autocapitalize*/
8809
+ 8) {
8810
+ attr(input, "autocapitalize",
8811
+ /*autocapitalize*/
8812
+ ctx[3]);
8813
+ }
8814
+
8815
+ if (dirty[0] &
8771
8816
  /*name*/
8772
8817
  4) {
8773
8818
  attr(input, "name",
@@ -8775,7 +8820,7 @@ function create_fragment$e(ctx) {
8775
8820
  ctx[2]);
8776
8821
  }
8777
8822
 
8778
- if (dirty &
8823
+ if (dirty[0] &
8779
8824
  /*type*/
8780
8825
  2) {
8781
8826
  attr(input, "type",
@@ -8783,7 +8828,7 @@ function create_fragment$e(ctx) {
8783
8828
  ctx[1]);
8784
8829
  }
8785
8830
 
8786
- if (dirty &
8831
+ if (dirty[0] &
8787
8832
  /*value*/
8788
8833
  1 && input.value !==
8789
8834
  /*value*/
@@ -8793,43 +8838,43 @@ function create_fragment$e(ctx) {
8793
8838
  ctx[0];
8794
8839
  }
8795
8840
 
8796
- if (dirty &
8841
+ if (dirty[0] &
8797
8842
  /*placeholder*/
8798
- 8) {
8843
+ 16) {
8799
8844
  attr(input, "placeholder",
8800
8845
  /*placeholder*/
8801
- ctx[3]);
8846
+ ctx[4]);
8802
8847
  }
8803
8848
 
8804
- if (dirty &
8849
+ if (dirty[0] &
8805
8850
  /*min*/
8806
- 1024) {
8851
+ 2048) {
8807
8852
  attr(input, "min",
8808
8853
  /*min*/
8809
- ctx[10]);
8854
+ ctx[11]);
8810
8855
  }
8811
8856
 
8812
- if (dirty &
8857
+ if (dirty[0] &
8813
8858
  /*max*/
8814
- 2048) {
8859
+ 4096) {
8815
8860
  attr(input, "max",
8816
8861
  /*max*/
8817
- ctx[11]);
8862
+ ctx[12]);
8818
8863
  }
8819
8864
 
8820
- if (dirty &
8865
+ if (dirty[0] &
8821
8866
  /*step*/
8822
- 4096) {
8867
+ 8192) {
8823
8868
  attr(input, "step",
8824
8869
  /*step*/
8825
- ctx[12]);
8870
+ ctx[13]);
8826
8871
  }
8827
8872
 
8828
- if (dirty &
8873
+ if (dirty[0] &
8829
8874
  /*arialabel, name*/
8830
- 516 && input_aria_label_value !== (input_aria_label_value =
8875
+ 1028 && input_aria_label_value !== (input_aria_label_value =
8831
8876
  /*arialabel*/
8832
- ctx[9] ||
8877
+ ctx[10] ||
8833
8878
  /*name*/
8834
8879
  ctx[2])) {
8835
8880
  attr(input, "aria-label", input_aria_label_value);
@@ -8837,9 +8882,9 @@ function create_fragment$e(ctx) {
8837
8882
 
8838
8883
  if (
8839
8884
  /*trailingicon*/
8840
- ctx[5] && !
8885
+ ctx[6] && !
8841
8886
  /*handlesTrailingIconClick*/
8842
- ctx[21]) {
8887
+ ctx[22]) {
8843
8888
  if (if_block2) {
8844
8889
  if_block2.p(ctx, dirty);
8845
8890
  } else {
@@ -8854,9 +8899,9 @@ function create_fragment$e(ctx) {
8854
8899
 
8855
8900
  if (
8856
8901
  /*trailingicon*/
8857
- ctx[5] &&
8902
+ ctx[6] &&
8858
8903
  /*handlesTrailingIconClick*/
8859
- ctx[21]) {
8904
+ ctx[22]) {
8860
8905
  if (if_block3) {
8861
8906
  if_block3.p(ctx, dirty);
8862
8907
  } else {
@@ -8871,7 +8916,7 @@ function create_fragment$e(ctx) {
8871
8916
 
8872
8917
  if (
8873
8918
  /*suffix*/
8874
- ctx[14]) {
8919
+ ctx[15]) {
8875
8920
  if (if_block4) {
8876
8921
  if_block4.p(ctx, dirty);
8877
8922
  } else {
@@ -8884,16 +8929,16 @@ function create_fragment$e(ctx) {
8884
8929
  if_block4 = null;
8885
8930
  }
8886
8931
 
8887
- if (dirty &
8932
+ if (dirty[0] &
8888
8933
  /*isDisabled, variant, type*/
8889
- 262210 && div0_class_value !== (div0_class_value = `
8934
+ 524418 && div0_class_value !== (div0_class_value = `
8890
8935
  goa-input
8891
8936
  ${
8892
8937
  /*isDisabled*/
8893
- ctx[18] ? "goa-input--disabled" : ""}
8938
+ ctx[19] ? "goa-input--disabled" : ""}
8894
8939
  variant--${
8895
8940
  /*variant*/
8896
- ctx[6]}
8941
+ ctx[7]}
8897
8942
  type--${
8898
8943
  /*type*/
8899
8944
  ctx[1]}
@@ -8901,17 +8946,17 @@ function create_fragment$e(ctx) {
8901
8946
  attr(div0, "class", div0_class_value);
8902
8947
  }
8903
8948
 
8904
- if (dirty &
8949
+ if (dirty[0] &
8905
8950
  /*isDisabled, variant, type, isError*/
8906
- 786498) {
8951
+ 1572994) {
8907
8952
  toggle_class(div0, "error",
8908
8953
  /*isError*/
8909
- ctx[19]);
8954
+ ctx[20]);
8910
8955
  }
8911
8956
 
8912
8957
  if (
8913
8958
  /*showCounter*/
8914
- ctx[17]) {
8959
+ ctx[18]) {
8915
8960
  if (if_block5) {
8916
8961
  if_block5.p(ctx, dirty);
8917
8962
  } else {
@@ -8924,12 +8969,12 @@ function create_fragment$e(ctx) {
8924
8969
  if_block5 = null;
8925
8970
  }
8926
8971
 
8927
- if (dirty &
8972
+ if (dirty[0] &
8928
8973
  /*width*/
8929
- 256 && div1_style_value !== (div1_style_value = `
8974
+ 512 && div1_style_value !== (div1_style_value = `
8930
8975
  --width: ${
8931
8976
  /*width*/
8932
- ctx[8]};
8977
+ ctx[9]};
8933
8978
  `)) {
8934
8979
  attr(div1, "style", div1_style_value);
8935
8980
  }
@@ -8944,7 +8989,7 @@ function create_fragment$e(ctx) {
8944
8989
  if (if_block1) if_block1.d();
8945
8990
  /*input_binding*/
8946
8991
 
8947
- ctx[30](null);
8992
+ ctx[31](null);
8948
8993
  if (if_block2) if_block2.d();
8949
8994
  if (if_block3) if_block3.d();
8950
8995
  if (if_block4) if_block4.d();
@@ -8978,6 +9023,9 @@ function instance$c($$self, $$props, $$invalidate) {
8978
9023
  let {
8979
9024
  value = ""
8980
9025
  } = $$props;
9026
+ let {
9027
+ autocapitalize = "off"
9028
+ } = $$props;
8981
9029
  let {
8982
9030
  placeholder = ""
8983
9031
  } = $$props;
@@ -9053,7 +9101,7 @@ function instance$c($$self, $$props, $$invalidate) {
9053
9101
  function input_binding($$value) {
9054
9102
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
9055
9103
  inputEl = $$value;
9056
- $$invalidate(16, inputEl);
9104
+ $$invalidate(17, inputEl);
9057
9105
  });
9058
9106
  }
9059
9107
 
@@ -9061,75 +9109,76 @@ function instance$c($$self, $$props, $$invalidate) {
9061
9109
  if ('type' in $$props) $$invalidate(1, type = $$props.type);
9062
9110
  if ('name' in $$props) $$invalidate(2, name = $$props.name);
9063
9111
  if ('value' in $$props) $$invalidate(0, value = $$props.value);
9064
- if ('placeholder' in $$props) $$invalidate(3, placeholder = $$props.placeholder);
9065
- if ('leadingicon' in $$props) $$invalidate(4, leadingicon = $$props.leadingicon);
9066
- if ('trailingicon' in $$props) $$invalidate(5, trailingicon = $$props.trailingicon);
9067
- if ('variant' in $$props) $$invalidate(6, variant = $$props.variant);
9068
- if ('disabled' in $$props) $$invalidate(23, disabled = $$props.disabled);
9069
- if ('handletrailingiconclick' in $$props) $$invalidate(24, handletrailingiconclick = $$props.handletrailingiconclick);
9070
- if ('focused' in $$props) $$invalidate(25, focused = $$props.focused);
9071
- if ('readonly' in $$props) $$invalidate(26, readonly = $$props.readonly);
9072
- if ('error' in $$props) $$invalidate(27, error = $$props.error);
9073
- if ('testid' in $$props) $$invalidate(7, testid = $$props.testid);
9074
- if ('width' in $$props) $$invalidate(8, width = $$props.width);
9075
- if ('arialabel' in $$props) $$invalidate(9, arialabel = $$props.arialabel);
9076
- if ('min' in $$props) $$invalidate(10, min = $$props.min);
9077
- if ('max' in $$props) $$invalidate(11, max = $$props.max);
9078
- if ('step' in $$props) $$invalidate(12, step = $$props.step);
9079
- if ('prefix' in $$props) $$invalidate(13, prefix = $$props.prefix);
9080
- if ('suffix' in $$props) $$invalidate(14, suffix = $$props.suffix);
9081
- if ('showcounter' in $$props) $$invalidate(28, showcounter = $$props.showcounter);
9082
- if ('maxcharcount' in $$props) $$invalidate(15, maxcharcount = $$props.maxcharcount);
9112
+ if ('autocapitalize' in $$props) $$invalidate(3, autocapitalize = $$props.autocapitalize);
9113
+ if ('placeholder' in $$props) $$invalidate(4, placeholder = $$props.placeholder);
9114
+ if ('leadingicon' in $$props) $$invalidate(5, leadingicon = $$props.leadingicon);
9115
+ if ('trailingicon' in $$props) $$invalidate(6, trailingicon = $$props.trailingicon);
9116
+ if ('variant' in $$props) $$invalidate(7, variant = $$props.variant);
9117
+ if ('disabled' in $$props) $$invalidate(24, disabled = $$props.disabled);
9118
+ if ('handletrailingiconclick' in $$props) $$invalidate(25, handletrailingiconclick = $$props.handletrailingiconclick);
9119
+ if ('focused' in $$props) $$invalidate(26, focused = $$props.focused);
9120
+ if ('readonly' in $$props) $$invalidate(27, readonly = $$props.readonly);
9121
+ if ('error' in $$props) $$invalidate(28, error = $$props.error);
9122
+ if ('testid' in $$props) $$invalidate(8, testid = $$props.testid);
9123
+ if ('width' in $$props) $$invalidate(9, width = $$props.width);
9124
+ if ('arialabel' in $$props) $$invalidate(10, arialabel = $$props.arialabel);
9125
+ if ('min' in $$props) $$invalidate(11, min = $$props.min);
9126
+ if ('max' in $$props) $$invalidate(12, max = $$props.max);
9127
+ if ('step' in $$props) $$invalidate(13, step = $$props.step);
9128
+ if ('prefix' in $$props) $$invalidate(14, prefix = $$props.prefix);
9129
+ if ('suffix' in $$props) $$invalidate(15, suffix = $$props.suffix);
9130
+ if ('showcounter' in $$props) $$invalidate(29, showcounter = $$props.showcounter);
9131
+ if ('maxcharcount' in $$props) $$invalidate(16, maxcharcount = $$props.maxcharcount);
9083
9132
  };
9084
9133
 
9085
9134
  $$self.$$.update = () => {
9086
- if ($$self.$$.dirty &
9135
+ if ($$self.$$.dirty[0] &
9087
9136
  /*handletrailingiconclick*/
9088
- 16777216) {
9089
- $$invalidate(21, handlesTrailingIconClick = toBoolean(handletrailingiconclick));
9137
+ 33554432) {
9138
+ $$invalidate(22, handlesTrailingIconClick = toBoolean(handletrailingiconclick));
9090
9139
  }
9091
9140
 
9092
- if ($$self.$$.dirty &
9141
+ if ($$self.$$.dirty[0] &
9093
9142
  /*focused*/
9094
- 33554432) {
9095
- $$invalidate(29, isFocused = toBoolean(focused));
9143
+ 67108864) {
9144
+ $$invalidate(30, isFocused = toBoolean(focused));
9096
9145
  }
9097
9146
 
9098
- if ($$self.$$.dirty &
9147
+ if ($$self.$$.dirty[0] &
9099
9148
  /*readonly*/
9100
- 67108864) {
9101
- $$invalidate(20, isReadonly = toBoolean(readonly));
9149
+ 134217728) {
9150
+ $$invalidate(21, isReadonly = toBoolean(readonly));
9102
9151
  }
9103
9152
 
9104
- if ($$self.$$.dirty &
9153
+ if ($$self.$$.dirty[0] &
9105
9154
  /*error*/
9106
- 134217728) {
9107
- $$invalidate(19, isError = toBoolean(error));
9155
+ 268435456) {
9156
+ $$invalidate(20, isError = toBoolean(error));
9108
9157
  }
9109
9158
 
9110
- if ($$self.$$.dirty &
9159
+ if ($$self.$$.dirty[0] &
9111
9160
  /*disabled*/
9112
- 8388608) {
9113
- $$invalidate(18, isDisabled = toBoolean(disabled));
9161
+ 16777216) {
9162
+ $$invalidate(19, isDisabled = toBoolean(disabled));
9114
9163
  }
9115
9164
 
9116
- if ($$self.$$.dirty &
9165
+ if ($$self.$$.dirty[0] &
9117
9166
  /*showcounter*/
9118
- 268435456) {
9119
- $$invalidate(17, showCounter = toBoolean(showcounter));
9167
+ 536870912) {
9168
+ $$invalidate(18, showCounter = toBoolean(showcounter));
9120
9169
  }
9121
9170
 
9122
- if ($$self.$$.dirty &
9171
+ if ($$self.$$.dirty[0] &
9123
9172
  /*isFocused, inputEl*/
9124
- 536936448) {
9173
+ 1073872896) {
9125
9174
  if (isFocused && inputEl) {
9126
9175
  setTimeout(() => inputEl.focus(), 1);
9127
9176
  }
9128
9177
  }
9129
9178
 
9130
- if ($$self.$$.dirty &
9179
+ if ($$self.$$.dirty[0] &
9131
9180
  /*inputEl, type*/
9132
- 65538) {
9181
+ 131074) {
9133
9182
  if (inputEl && type === "search") {
9134
9183
  inputEl.addEventListener("search", e => {
9135
9184
  onKeyUp(e);
@@ -9138,7 +9187,7 @@ function instance$c($$self, $$props, $$invalidate) {
9138
9187
  }
9139
9188
  };
9140
9189
 
9141
- return [value, type, name, placeholder, leadingicon, trailingicon, variant, testid, width, arialabel, min, max, step, prefix, suffix, maxcharcount, inputEl, showCounter, isDisabled, isError, isReadonly, handlesTrailingIconClick, onKeyUp, disabled, handletrailingiconclick, focused, readonly, error, showcounter, isFocused, input_binding];
9190
+ return [value, type, name, autocapitalize, placeholder, leadingicon, trailingicon, variant, testid, width, arialabel, min, max, step, prefix, suffix, maxcharcount, inputEl, showCounter, isDisabled, isError, isReadonly, handlesTrailingIconClick, onKeyUp, disabled, handletrailingiconclick, focused, readonly, error, showcounter, isFocused, input_binding];
9142
9191
  }
9143
9192
 
9144
9193
  class Input extends SvelteElement {
@@ -9154,26 +9203,27 @@ class Input extends SvelteElement {
9154
9203
  type: 1,
9155
9204
  name: 2,
9156
9205
  value: 0,
9157
- placeholder: 3,
9158
- leadingicon: 4,
9159
- trailingicon: 5,
9160
- variant: 6,
9161
- disabled: 23,
9162
- handletrailingiconclick: 24,
9163
- focused: 25,
9164
- readonly: 26,
9165
- error: 27,
9166
- testid: 7,
9167
- width: 8,
9168
- arialabel: 9,
9169
- min: 10,
9170
- max: 11,
9171
- step: 12,
9172
- prefix: 13,
9173
- suffix: 14,
9174
- showcounter: 28,
9175
- maxcharcount: 15
9176
- }, null);
9206
+ autocapitalize: 3,
9207
+ placeholder: 4,
9208
+ leadingicon: 5,
9209
+ trailingicon: 6,
9210
+ variant: 7,
9211
+ disabled: 24,
9212
+ handletrailingiconclick: 25,
9213
+ focused: 26,
9214
+ readonly: 27,
9215
+ error: 28,
9216
+ testid: 8,
9217
+ width: 9,
9218
+ arialabel: 10,
9219
+ min: 11,
9220
+ max: 12,
9221
+ step: 13,
9222
+ prefix: 14,
9223
+ suffix: 15,
9224
+ showcounter: 29,
9225
+ maxcharcount: 16
9226
+ }, null, [-1, -1]);
9177
9227
 
9178
9228
  if (options) {
9179
9229
  if (options.target) {
@@ -9188,7 +9238,7 @@ class Input extends SvelteElement {
9188
9238
  }
9189
9239
 
9190
9240
  static get observedAttributes() {
9191
- return ["type", "name", "value", "placeholder", "leadingicon", "trailingicon", "variant", "disabled", "handletrailingiconclick", "focused", "readonly", "error", "testid", "width", "arialabel", "min", "max", "step", "prefix", "suffix", "showcounter", "maxcharcount"];
9241
+ return ["type", "name", "value", "autocapitalize", "placeholder", "leadingicon", "trailingicon", "variant", "disabled", "handletrailingiconclick", "focused", "readonly", "error", "testid", "width", "arialabel", "min", "max", "step", "prefix", "suffix", "showcounter", "maxcharcount"];
9192
9242
  }
9193
9243
 
9194
9244
  get type() {
@@ -9224,10 +9274,21 @@ class Input extends SvelteElement {
9224
9274
  flush();
9225
9275
  }
9226
9276
 
9227
- get placeholder() {
9277
+ get autocapitalize() {
9228
9278
  return this.$$.ctx[3];
9229
9279
  }
9230
9280
 
9281
+ set autocapitalize(autocapitalize) {
9282
+ this.$$set({
9283
+ autocapitalize
9284
+ });
9285
+ flush();
9286
+ }
9287
+
9288
+ get placeholder() {
9289
+ return this.$$.ctx[4];
9290
+ }
9291
+
9231
9292
  set placeholder(placeholder) {
9232
9293
  this.$$set({
9233
9294
  placeholder
@@ -9236,7 +9297,7 @@ class Input extends SvelteElement {
9236
9297
  }
9237
9298
 
9238
9299
  get leadingicon() {
9239
- return this.$$.ctx[4];
9300
+ return this.$$.ctx[5];
9240
9301
  }
9241
9302
 
9242
9303
  set leadingicon(leadingicon) {
@@ -9247,7 +9308,7 @@ class Input extends SvelteElement {
9247
9308
  }
9248
9309
 
9249
9310
  get trailingicon() {
9250
- return this.$$.ctx[5];
9311
+ return this.$$.ctx[6];
9251
9312
  }
9252
9313
 
9253
9314
  set trailingicon(trailingicon) {
@@ -9258,7 +9319,7 @@ class Input extends SvelteElement {
9258
9319
  }
9259
9320
 
9260
9321
  get variant() {
9261
- return this.$$.ctx[6];
9322
+ return this.$$.ctx[7];
9262
9323
  }
9263
9324
 
9264
9325
  set variant(variant) {
@@ -9269,7 +9330,7 @@ class Input extends SvelteElement {
9269
9330
  }
9270
9331
 
9271
9332
  get disabled() {
9272
- return this.$$.ctx[23];
9333
+ return this.$$.ctx[24];
9273
9334
  }
9274
9335
 
9275
9336
  set disabled(disabled) {
@@ -9280,7 +9341,7 @@ class Input extends SvelteElement {
9280
9341
  }
9281
9342
 
9282
9343
  get handletrailingiconclick() {
9283
- return this.$$.ctx[24];
9344
+ return this.$$.ctx[25];
9284
9345
  }
9285
9346
 
9286
9347
  set handletrailingiconclick(handletrailingiconclick) {
@@ -9291,7 +9352,7 @@ class Input extends SvelteElement {
9291
9352
  }
9292
9353
 
9293
9354
  get focused() {
9294
- return this.$$.ctx[25];
9355
+ return this.$$.ctx[26];
9295
9356
  }
9296
9357
 
9297
9358
  set focused(focused) {
@@ -9302,7 +9363,7 @@ class Input extends SvelteElement {
9302
9363
  }
9303
9364
 
9304
9365
  get readonly() {
9305
- return this.$$.ctx[26];
9366
+ return this.$$.ctx[27];
9306
9367
  }
9307
9368
 
9308
9369
  set readonly(readonly) {
@@ -9313,7 +9374,7 @@ class Input extends SvelteElement {
9313
9374
  }
9314
9375
 
9315
9376
  get error() {
9316
- return this.$$.ctx[27];
9377
+ return this.$$.ctx[28];
9317
9378
  }
9318
9379
 
9319
9380
  set error(error) {
@@ -9324,7 +9385,7 @@ class Input extends SvelteElement {
9324
9385
  }
9325
9386
 
9326
9387
  get testid() {
9327
- return this.$$.ctx[7];
9388
+ return this.$$.ctx[8];
9328
9389
  }
9329
9390
 
9330
9391
  set testid(testid) {
@@ -9335,7 +9396,7 @@ class Input extends SvelteElement {
9335
9396
  }
9336
9397
 
9337
9398
  get width() {
9338
- return this.$$.ctx[8];
9399
+ return this.$$.ctx[9];
9339
9400
  }
9340
9401
 
9341
9402
  set width(width) {
@@ -9346,7 +9407,7 @@ class Input extends SvelteElement {
9346
9407
  }
9347
9408
 
9348
9409
  get arialabel() {
9349
- return this.$$.ctx[9];
9410
+ return this.$$.ctx[10];
9350
9411
  }
9351
9412
 
9352
9413
  set arialabel(arialabel) {
@@ -9357,7 +9418,7 @@ class Input extends SvelteElement {
9357
9418
  }
9358
9419
 
9359
9420
  get min() {
9360
- return this.$$.ctx[10];
9421
+ return this.$$.ctx[11];
9361
9422
  }
9362
9423
 
9363
9424
  set min(min) {
@@ -9368,7 +9429,7 @@ class Input extends SvelteElement {
9368
9429
  }
9369
9430
 
9370
9431
  get max() {
9371
- return this.$$.ctx[11];
9432
+ return this.$$.ctx[12];
9372
9433
  }
9373
9434
 
9374
9435
  set max(max) {
@@ -9379,7 +9440,7 @@ class Input extends SvelteElement {
9379
9440
  }
9380
9441
 
9381
9442
  get step() {
9382
- return this.$$.ctx[12];
9443
+ return this.$$.ctx[13];
9383
9444
  }
9384
9445
 
9385
9446
  set step(step) {
@@ -9390,7 +9451,7 @@ class Input extends SvelteElement {
9390
9451
  }
9391
9452
 
9392
9453
  get prefix() {
9393
- return this.$$.ctx[13];
9454
+ return this.$$.ctx[14];
9394
9455
  }
9395
9456
 
9396
9457
  set prefix(prefix) {
@@ -9401,7 +9462,7 @@ class Input extends SvelteElement {
9401
9462
  }
9402
9463
 
9403
9464
  get suffix() {
9404
- return this.$$.ctx[14];
9465
+ return this.$$.ctx[15];
9405
9466
  }
9406
9467
 
9407
9468
  set suffix(suffix) {
@@ -9412,7 +9473,7 @@ class Input extends SvelteElement {
9412
9473
  }
9413
9474
 
9414
9475
  get showcounter() {
9415
- return this.$$.ctx[28];
9476
+ return this.$$.ctx[29];
9416
9477
  }
9417
9478
 
9418
9479
  set showcounter(showcounter) {
@@ -9423,7 +9484,7 @@ class Input extends SvelteElement {
9423
9484
  }
9424
9485
 
9425
9486
  get maxcharcount() {
9426
- return this.$$.ctx[15];
9487
+ return this.$$.ctx[16];
9427
9488
  }
9428
9489
 
9429
9490
  set maxcharcount(maxcharcount) {
@@ -14425,6 +14486,7 @@ const GoAInput = ({
14425
14486
  id,
14426
14487
  name,
14427
14488
  type,
14489
+ autoCapitalize,
14428
14490
  leadingIcon,
14429
14491
  trailingIcon,
14430
14492
  variant: _variant = 'goa',
@@ -14478,6 +14540,7 @@ const GoAInput = ({
14478
14540
  focused: focused,
14479
14541
  type: type,
14480
14542
  name: name,
14543
+ autocapitalize: autoCapitalize,
14481
14544
  id: id,
14482
14545
  leadingicon: leadingIcon,
14483
14546
  trailingicon: trailingIcon,