@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.
@@ -1797,7 +1797,7 @@
1797
1797
 
1798
1798
  function create_else_block$2(ctx) {
1799
1799
  let t0;
1800
- let div;
1800
+ let slot;
1801
1801
  let t1;
1802
1802
  let if_block1_anchor;
1803
1803
  let if_block0 =
@@ -1810,18 +1810,17 @@
1810
1810
  c() {
1811
1811
  if (if_block0) if_block0.c();
1812
1812
  t0 = space();
1813
- div = element("div");
1814
- div.innerHTML = `<slot></slot>`;
1813
+ slot = element("slot");
1815
1814
  t1 = space();
1816
1815
  if (if_block1) if_block1.c();
1817
1816
  if_block1_anchor = empty();
1818
- attr(div, "class", "text");
1817
+ attr(slot, "class", "text");
1819
1818
  },
1820
1819
 
1821
1820
  m(target, anchor) {
1822
1821
  if (if_block0) if_block0.m(target, anchor);
1823
1822
  insert(target, t0, anchor);
1824
- insert(target, div, anchor);
1823
+ insert(target, slot, anchor);
1825
1824
  insert(target, t1, anchor);
1826
1825
  if (if_block1) if_block1.m(target, anchor);
1827
1826
  insert(target, if_block1_anchor, anchor);
@@ -1862,7 +1861,7 @@
1862
1861
  d(detaching) {
1863
1862
  if (if_block0) if_block0.d(detaching);
1864
1863
  if (detaching) detach(t0);
1865
- if (detaching) detach(div);
1864
+ if (detaching) detach(slot);
1866
1865
  if (detaching) detach(t1);
1867
1866
  if (if_block1) if_block1.d(detaching);
1868
1867
  if (detaching) detach(if_block1_anchor);
@@ -1873,23 +1872,22 @@
1873
1872
 
1874
1873
 
1875
1874
  function create_if_block$h(ctx) {
1876
- let div;
1875
+ let slot;
1877
1876
  let t;
1878
1877
  let goa_icon;
1879
1878
  return {
1880
1879
  c() {
1881
- div = element("div");
1882
- div.innerHTML = `<slot></slot>`;
1880
+ slot = element("slot");
1883
1881
  t = space();
1884
1882
  goa_icon = element("goa-icon");
1885
- attr(div, "class", "text");
1883
+ attr(slot, "class", "text");
1886
1884
  set_custom_element_data(goa_icon, "id", "trailing-icon");
1887
1885
  set_custom_element_data(goa_icon, "type", "arrow-forward");
1888
1886
  set_custom_element_data(goa_icon, "inverted", "true");
1889
1887
  },
1890
1888
 
1891
1889
  m(target, anchor) {
1892
- insert(target, div, anchor);
1890
+ insert(target, slot, anchor);
1893
1891
  insert(target, t, anchor);
1894
1892
  insert(target, goa_icon, anchor);
1895
1893
  },
@@ -1897,13 +1895,13 @@
1897
1895
  p: noop,
1898
1896
 
1899
1897
  d(detaching) {
1900
- if (detaching) detach(div);
1898
+ if (detaching) detach(slot);
1901
1899
  if (detaching) detach(t);
1902
1900
  if (detaching) detach(goa_icon);
1903
1901
  }
1904
1902
 
1905
1903
  };
1906
- } // (59:4) {#if leadingicon}
1904
+ } // (57:4) {#if leadingicon}
1907
1905
 
1908
1906
 
1909
1907
  function create_if_block_2$7(ctx) {
@@ -1947,7 +1945,7 @@
1947
1945
  }
1948
1946
 
1949
1947
  };
1950
- } // (65:4) {#if trailingicon}
1948
+ } // (61:4) {#if trailingicon}
1951
1949
 
1952
1950
 
1953
1951
  function create_if_block_1$a(ctx) {
@@ -2212,7 +2210,7 @@
2212
2210
  constructor(options) {
2213
2211
  super();
2214
2212
  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,
2215
- 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>`;
2213
+ 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>`;
2216
2214
  init(this, {
2217
2215
  target: this.shadowRoot,
2218
2216
  props: attribute_to_object(this.attributes),
@@ -4853,18 +4851,18 @@
4853
4851
  }
4854
4852
 
4855
4853
  };
4856
- } // (234:4) {#each options as option, index}
4854
+ } // (239:4) {#each options as option, index}
4857
4855
 
4858
4856
 
4859
4857
  function create_each_block$4(ctx) {
4860
4858
  let li;
4861
- let t0_value = (
4859
+ let t_value = (
4862
4860
  /*option*/
4863
4861
  ctx[39].label ||
4864
4862
  /*option*/
4865
4863
  ctx[39].value) + "";
4866
- let t0;
4867
- let t1;
4864
+ let t;
4865
+ let li_id_value;
4868
4866
  let li_aria_label_value;
4869
4867
  let li_data_testid_value;
4870
4868
  let li_data_index_value;
@@ -4884,13 +4882,16 @@
4884
4882
  return {
4885
4883
  c() {
4886
4884
  li = element("li");
4887
- t0 = text(t0_value);
4888
- t1 = space();
4885
+ t = text(t_value);
4886
+ attr(li, "id", li_id_value =
4887
+ /*option*/
4888
+ ctx[39].label);
4889
4889
  attr(li, "aria-label", li_aria_label_value =
4890
4890
  /*option*/
4891
4891
  ctx[39].label ||
4892
4892
  /*option*/
4893
4893
  ctx[39].value);
4894
+ attr(li, "role", "option");
4894
4895
  attr(li, "data-testid", li_data_testid_value = `${
4895
4896
  /*option*/
4896
4897
  ctx[39].value}-dropdown-item`);
@@ -4914,8 +4915,7 @@
4914
4915
 
4915
4916
  m(target, anchor) {
4916
4917
  insert(target, li, anchor);
4917
- append(li, t0);
4918
- append(li, t1);
4918
+ append(li, t);
4919
4919
 
4920
4920
  if (!mounted) {
4921
4921
  dispose = listen(li, "click", click_handler);
@@ -4927,11 +4927,19 @@
4927
4927
  ctx = new_ctx;
4928
4928
  if (dirty[0] &
4929
4929
  /*options*/
4930
- 1024 && t0_value !== (t0_value = (
4930
+ 1024 && t_value !== (t_value = (
4931
4931
  /*option*/
4932
4932
  ctx[39].label ||
4933
4933
  /*option*/
4934
- ctx[39].value) + "")) set_data(t0, t0_value);
4934
+ ctx[39].value) + "")) set_data(t, t_value);
4935
+
4936
+ if (dirty[0] &
4937
+ /*options*/
4938
+ 1024 && li_id_value !== (li_id_value =
4939
+ /*option*/
4940
+ ctx[39].label)) {
4941
+ attr(li, "id", li_id_value);
4942
+ }
4935
4943
 
4936
4944
  if (dirty[0] &
4937
4945
  /*options*/
@@ -4991,8 +4999,8 @@
4991
4999
  let div0_data_testid_value;
4992
5000
  let t1;
4993
5001
  let ul;
4994
- let slot;
4995
5002
  let t2;
5003
+ let slot;
4996
5004
  let ul_style_value;
4997
5005
  let div1_style_value;
4998
5006
  let mounted;
@@ -5018,13 +5026,13 @@
5018
5026
  goa_input = element("goa-input");
5019
5027
  t1 = space();
5020
5028
  ul = element("ul");
5021
- slot = element("slot");
5022
- t2 = space();
5023
5029
 
5024
5030
  for (let i = 0; i < each_blocks.length; i += 1) {
5025
5031
  each_blocks[i].c();
5026
5032
  }
5027
5033
 
5034
+ t2 = space();
5035
+ slot = element("slot");
5028
5036
  this.c = noop;
5029
5037
  set_custom_element_data(goa_input, "error",
5030
5038
  /*error*/
@@ -5042,11 +5050,16 @@
5042
5050
  set_custom_element_data(goa_input, "id", goa_input_id_value = `${
5043
5051
  /*name*/
5044
5052
  ctx[0]}-dropdown-input`);
5053
+ set_custom_element_data(goa_input, "role", "combobox");
5045
5054
  set_custom_element_data(goa_input, "aria-label", goa_input_aria_label_value =
5046
5055
  /*arialabel*/
5047
5056
  ctx[1] ||
5048
5057
  /*name*/
5049
5058
  ctx[0]);
5059
+ set_custom_element_data(goa_input, "aria-expanded",
5060
+ /*isMenuVisible*/
5061
+ ctx[12]);
5062
+ set_custom_element_data(goa_input, "aria-controls", "menu");
5050
5063
  set_custom_element_data(goa_input, "readonly", "");
5051
5064
  set_custom_element_data(goa_input, "trailingicon", "chevron-down");
5052
5065
  set_custom_element_data(goa_input, "type", "text");
@@ -5056,6 +5069,11 @@
5056
5069
  attr(div0, "data-testid", div0_data_testid_value = `${
5057
5070
  /*name*/
5058
5071
  ctx[0]}-dropdown`);
5072
+ attr(ul, "id", "menu");
5073
+ attr(ul, "role", "listbox");
5074
+ attr(ul, "aria-activedescendant",
5075
+ /*selectedLabel*/
5076
+ ctx[11]);
5059
5077
  attr(ul, "data-testid", "dropdown-menu");
5060
5078
  attr(ul, "tabindex", "0");
5061
5079
  attr(ul, "class", "goa-dropdown-list");
@@ -5084,14 +5102,14 @@
5084
5102
  append(div0, goa_input);
5085
5103
  append(div1, t1);
5086
5104
  append(div1, ul);
5087
- append(ul, slot);
5088
- append(ul, t2);
5089
5105
 
5090
5106
  for (let i = 0; i < each_blocks.length; i += 1) {
5091
5107
  each_blocks[i].m(ul, null);
5092
5108
  }
5093
- /*ul_binding*/
5094
5109
 
5110
+ append(ul, t2);
5111
+ append(ul, slot);
5112
+ /*ul_binding*/
5095
5113
 
5096
5114
  ctx[23](ul);
5097
5115
  /*div1_binding*/
@@ -5172,6 +5190,14 @@
5172
5190
  set_custom_element_data(goa_input, "aria-label", goa_input_aria_label_value);
5173
5191
  }
5174
5192
 
5193
+ if (dirty[0] &
5194
+ /*isMenuVisible*/
5195
+ 4096) {
5196
+ set_custom_element_data(goa_input, "aria-expanded",
5197
+ /*isMenuVisible*/
5198
+ ctx[12]);
5199
+ }
5200
+
5175
5201
  if (dirty[0] &
5176
5202
  /*selectedLabel*/
5177
5203
  2048) {
@@ -5204,7 +5230,7 @@
5204
5230
  } else {
5205
5231
  each_blocks[i] = create_each_block$4(child_ctx);
5206
5232
  each_blocks[i].c();
5207
- each_blocks[i].m(ul, null);
5233
+ each_blocks[i].m(ul, t2);
5208
5234
  }
5209
5235
  }
5210
5236
 
@@ -5215,6 +5241,14 @@
5215
5241
  each_blocks.length = each_value.length;
5216
5242
  }
5217
5243
 
5244
+ if (dirty[0] &
5245
+ /*selectedLabel*/
5246
+ 2048) {
5247
+ attr(ul, "aria-activedescendant",
5248
+ /*selectedLabel*/
5249
+ ctx[11]);
5250
+ }
5251
+
5218
5252
  if (dirty[0] &
5219
5253
  /*maxheight*/
5220
5254
  8 && ul_style_value !== (ul_style_value = `overflow-y: auto; max-height: ${
@@ -8265,7 +8299,7 @@
8265
8299
  div = element("div");
8266
8300
  t = text(
8267
8301
  /*prefix*/
8268
- ctx[13]);
8302
+ ctx[14]);
8269
8303
  attr(div, "class", "prefix");
8270
8304
  },
8271
8305
 
@@ -8275,11 +8309,11 @@
8275
8309
  },
8276
8310
 
8277
8311
  p(ctx, dirty) {
8278
- if (dirty &
8312
+ if (dirty[0] &
8279
8313
  /*prefix*/
8280
- 8192) set_data(t,
8314
+ 16384) set_data(t,
8281
8315
  /*prefix*/
8282
- ctx[13]);
8316
+ ctx[14]);
8283
8317
  },
8284
8318
 
8285
8319
  d(detaching) {
@@ -8287,7 +8321,7 @@
8287
8321
  }
8288
8322
 
8289
8323
  };
8290
- } // (81:4) {#if leadingicon}
8324
+ } // (82:4) {#if leadingicon}
8291
8325
 
8292
8326
 
8293
8327
  function create_if_block_6(ctx) {
@@ -8299,7 +8333,7 @@
8299
8333
  set_custom_element_data(goa_icon, "data-testid", "leading-icon");
8300
8334
  set_custom_element_data(goa_icon, "type",
8301
8335
  /*leadingicon*/
8302
- ctx[4]);
8336
+ ctx[5]);
8303
8337
  },
8304
8338
 
8305
8339
  m(target, anchor) {
@@ -8307,12 +8341,12 @@
8307
8341
  },
8308
8342
 
8309
8343
  p(ctx, dirty) {
8310
- if (dirty &
8344
+ if (dirty[0] &
8311
8345
  /*leadingicon*/
8312
- 16) {
8346
+ 32) {
8313
8347
  set_custom_element_data(goa_icon, "type",
8314
8348
  /*leadingicon*/
8315
- ctx[4]);
8349
+ ctx[5]);
8316
8350
  }
8317
8351
  },
8318
8352
 
@@ -8321,7 +8355,7 @@
8321
8355
  }
8322
8356
 
8323
8357
  };
8324
- } // (110:4) {#if trailingicon && !handlesTrailingIconClick}
8358
+ } // (112:4) {#if trailingicon && !handlesTrailingIconClick}
8325
8359
 
8326
8360
 
8327
8361
  function create_if_block_5(ctx) {
@@ -8334,7 +8368,7 @@
8334
8368
  set_custom_element_data(goa_icon, "size", "medium");
8335
8369
  set_custom_element_data(goa_icon, "type",
8336
8370
  /*trailingicon*/
8337
- ctx[5]);
8371
+ ctx[6]);
8338
8372
  },
8339
8373
 
8340
8374
  m(target, anchor) {
@@ -8342,12 +8376,12 @@
8342
8376
  },
8343
8377
 
8344
8378
  p(ctx, dirty) {
8345
- if (dirty &
8379
+ if (dirty[0] &
8346
8380
  /*trailingicon*/
8347
- 32) {
8381
+ 64) {
8348
8382
  set_custom_element_data(goa_icon, "type",
8349
8383
  /*trailingicon*/
8350
- ctx[5]);
8384
+ ctx[6]);
8351
8385
  }
8352
8386
  },
8353
8387
 
@@ -8356,7 +8390,7 @@
8356
8390
  }
8357
8391
 
8358
8392
  };
8359
- } // (120:4) {#if trailingicon && handlesTrailingIconClick}
8393
+ } // (122:4) {#if trailingicon && handlesTrailingIconClick}
8360
8394
 
8361
8395
 
8362
8396
  function create_if_block_4(ctx) {
@@ -8368,12 +8402,12 @@
8368
8402
  goa_icon_button = element("goa-icon-button");
8369
8403
  set_custom_element_data(goa_icon_button, "disabled",
8370
8404
  /*isDisabled*/
8371
- ctx[18]);
8405
+ ctx[19]);
8372
8406
  set_custom_element_data(goa_icon_button, "variant", "nocolor");
8373
8407
  set_custom_element_data(goa_icon_button, "size", "medium");
8374
8408
  set_custom_element_data(goa_icon_button, "type",
8375
8409
  /*trailingicon*/
8376
- ctx[5]);
8410
+ ctx[6]);
8377
8411
  set_custom_element_data(goa_icon_button, "data-testid", "trailing-icon-button");
8378
8412
  },
8379
8413
 
@@ -8387,20 +8421,20 @@
8387
8421
  },
8388
8422
 
8389
8423
  p(ctx, dirty) {
8390
- if (dirty &
8424
+ if (dirty[0] &
8391
8425
  /*isDisabled*/
8392
- 262144) {
8426
+ 524288) {
8393
8427
  set_custom_element_data(goa_icon_button, "disabled",
8394
8428
  /*isDisabled*/
8395
- ctx[18]);
8429
+ ctx[19]);
8396
8430
  }
8397
8431
 
8398
- if (dirty &
8432
+ if (dirty[0] &
8399
8433
  /*trailingicon*/
8400
- 32) {
8434
+ 64) {
8401
8435
  set_custom_element_data(goa_icon_button, "type",
8402
8436
  /*trailingicon*/
8403
- ctx[5]);
8437
+ ctx[6]);
8404
8438
  }
8405
8439
  },
8406
8440
 
@@ -8411,7 +8445,7 @@
8411
8445
  }
8412
8446
 
8413
8447
  };
8414
- } // (131:4) {#if suffix}
8448
+ } // (133:4) {#if suffix}
8415
8449
 
8416
8450
 
8417
8451
  function create_if_block_3$2(ctx) {
@@ -8422,7 +8456,7 @@
8422
8456
  span = element("span");
8423
8457
  t = text(
8424
8458
  /*suffix*/
8425
- ctx[14]);
8459
+ ctx[15]);
8426
8460
  attr(span, "class", "suffix");
8427
8461
  },
8428
8462
 
@@ -8432,11 +8466,11 @@
8432
8466
  },
8433
8467
 
8434
8468
  p(ctx, dirty) {
8435
- if (dirty &
8469
+ if (dirty[0] &
8436
8470
  /*suffix*/
8437
- 16384) set_data(t,
8471
+ 32768) set_data(t,
8438
8472
  /*suffix*/
8439
- ctx[14]);
8473
+ ctx[15]);
8440
8474
  },
8441
8475
 
8442
8476
  d(detaching) {
@@ -8444,7 +8478,7 @@
8444
8478
  }
8445
8479
 
8446
8480
  };
8447
- } // (137:2) {#if showCounter}
8481
+ } // (139:2) {#if showCounter}
8448
8482
 
8449
8483
 
8450
8484
  function create_if_block$7(ctx) {
@@ -8453,7 +8487,7 @@
8453
8487
  function select_block_type(ctx, dirty) {
8454
8488
  if (
8455
8489
  /*maxcharcount*/
8456
- ctx[15] > 0) return create_if_block_1$5;
8490
+ ctx[16] > 0) return create_if_block_1$5;
8457
8491
  if (
8458
8492
  /*value*/
8459
8493
  ctx[0].length > 0) return create_if_block_2$4;
@@ -8495,7 +8529,7 @@
8495
8529
  }
8496
8530
 
8497
8531
  };
8498
- } // (142:31)
8532
+ } // (144:31)
8499
8533
 
8500
8534
 
8501
8535
  function create_if_block_2$4(ctx) {
@@ -8517,7 +8551,7 @@
8517
8551
  },
8518
8552
 
8519
8553
  p(ctx, dirty) {
8520
- if (dirty &
8554
+ if (dirty[0] &
8521
8555
  /*value*/
8522
8556
  1 && t_value !== (t_value =
8523
8557
  /*value*/
@@ -8529,7 +8563,7 @@
8529
8563
  }
8530
8564
 
8531
8565
  };
8532
- } // (138:4) {#if maxcharcount > 0}
8566
+ } // (140:4) {#if maxcharcount > 0}
8533
8567
 
8534
8568
 
8535
8569
  function create_if_block_1$5(ctx) {
@@ -8540,7 +8574,7 @@
8540
8574
  let t0;
8541
8575
  let t1_value = `/${
8542
8576
  /*maxcharcount*/
8543
- ctx[15]}` + "";
8577
+ ctx[16]}` + "";
8544
8578
  let t1;
8545
8579
  return {
8546
8580
  c() {
@@ -8552,7 +8586,7 @@
8552
8586
  /*value*/
8553
8587
  ctx[0].length >
8554
8588
  /*maxcharcount*/
8555
- ctx[15]);
8589
+ ctx[16]);
8556
8590
  },
8557
8591
 
8558
8592
  m(target, anchor) {
@@ -8562,25 +8596,25 @@
8562
8596
  },
8563
8597
 
8564
8598
  p(ctx, dirty) {
8565
- if (dirty &
8599
+ if (dirty[0] &
8566
8600
  /*value*/
8567
8601
  1 && t0_value !== (t0_value =
8568
8602
  /*value*/
8569
8603
  ctx[0].length + "")) set_data(t0, t0_value);
8570
- if (dirty &
8604
+ if (dirty[0] &
8571
8605
  /*maxcharcount*/
8572
- 32768 && t1_value !== (t1_value = `/${
8606
+ 65536 && t1_value !== (t1_value = `/${
8573
8607
  /*maxcharcount*/
8574
- ctx[15]}` + "")) set_data(t1, t1_value);
8608
+ ctx[16]}` + "")) set_data(t1, t1_value);
8575
8609
 
8576
- if (dirty &
8610
+ if (dirty[0] &
8577
8611
  /*value, maxcharcount*/
8578
- 32769) {
8612
+ 65537) {
8579
8613
  toggle_class(div, "counter-error",
8580
8614
  /*value*/
8581
8615
  ctx[0].length >
8582
8616
  /*maxcharcount*/
8583
- ctx[15]);
8617
+ ctx[16]);
8584
8618
  }
8585
8619
  },
8586
8620
 
@@ -8610,26 +8644,26 @@
8610
8644
  let dispose;
8611
8645
  let if_block0 =
8612
8646
  /*prefix*/
8613
- ctx[13] && create_if_block_7(ctx);
8647
+ ctx[14] && create_if_block_7(ctx);
8614
8648
  let if_block1 =
8615
8649
  /*leadingicon*/
8616
- ctx[4] && create_if_block_6(ctx);
8650
+ ctx[5] && create_if_block_6(ctx);
8617
8651
  let if_block2 =
8618
8652
  /*trailingicon*/
8619
- ctx[5] && !
8653
+ ctx[6] && !
8620
8654
  /*handlesTrailingIconClick*/
8621
- ctx[21] && create_if_block_5(ctx);
8655
+ ctx[22] && create_if_block_5(ctx);
8622
8656
  let if_block3 =
8623
8657
  /*trailingicon*/
8624
- ctx[5] &&
8658
+ ctx[6] &&
8625
8659
  /*handlesTrailingIconClick*/
8626
- ctx[21] && create_if_block_4(ctx);
8660
+ ctx[22] && create_if_block_4(ctx);
8627
8661
  let if_block4 =
8628
8662
  /*suffix*/
8629
- ctx[14] && create_if_block_3$2(ctx);
8663
+ ctx[15] && create_if_block_3$2(ctx);
8630
8664
  let if_block5 =
8631
8665
  /*showCounter*/
8632
- ctx[17] && create_if_block$7(ctx);
8666
+ ctx[18] && create_if_block$7(ctx);
8633
8667
  return {
8634
8668
  c() {
8635
8669
  div1 = element("div");
@@ -8650,19 +8684,22 @@
8650
8684
  this.c = noop;
8651
8685
  attr(input, "class", input_class_value = `input--${
8652
8686
  /*variant*/
8653
- ctx[6]}`);
8687
+ ctx[7]}`);
8654
8688
  attr(input, "style", input_style_value = `--search-icon-offset: ${
8655
8689
  /*trailingicon*/
8656
- ctx[5] ? "-0.5rem" : "0"}`);
8690
+ ctx[6] ? "-0.5rem" : "0"}`);
8657
8691
  input.readOnly =
8658
8692
  /*isReadonly*/
8659
- ctx[20];
8693
+ ctx[21];
8660
8694
  input.disabled =
8661
8695
  /*isDisabled*/
8662
- ctx[18];
8696
+ ctx[19];
8663
8697
  attr(input, "data-testid",
8664
8698
  /*testid*/
8665
- ctx[7]);
8699
+ ctx[8]);
8700
+ attr(input, "autocapitalize",
8701
+ /*autocapitalize*/
8702
+ ctx[3]);
8666
8703
  attr(input, "name",
8667
8704
  /*name*/
8668
8705
  ctx[2]);
@@ -8674,42 +8711,42 @@
8674
8711
  ctx[0];
8675
8712
  attr(input, "placeholder",
8676
8713
  /*placeholder*/
8677
- ctx[3]);
8714
+ ctx[4]);
8678
8715
  attr(input, "min",
8679
8716
  /*min*/
8680
- ctx[10]);
8717
+ ctx[11]);
8681
8718
  attr(input, "max",
8682
8719
  /*max*/
8683
- ctx[11]);
8720
+ ctx[12]);
8684
8721
  attr(input, "step",
8685
8722
  /*step*/
8686
- ctx[12]);
8723
+ ctx[13]);
8687
8724
  attr(input, "role", "textbox");
8688
8725
  attr(input, "aria-label", input_aria_label_value =
8689
8726
  /*arialabel*/
8690
- ctx[9] ||
8727
+ ctx[10] ||
8691
8728
  /*name*/
8692
8729
  ctx[2]);
8693
8730
  attr(div0, "class", div0_class_value = `
8694
8731
  goa-input
8695
8732
  ${
8696
8733
  /*isDisabled*/
8697
- ctx[18] ? "goa-input--disabled" : ""}
8734
+ ctx[19] ? "goa-input--disabled" : ""}
8698
8735
  variant--${
8699
8736
  /*variant*/
8700
- ctx[6]}
8737
+ ctx[7]}
8701
8738
  type--${
8702
8739
  /*type*/
8703
8740
  ctx[1]}
8704
8741
  `);
8705
8742
  toggle_class(div0, "error",
8706
8743
  /*isError*/
8707
- ctx[19]);
8744
+ ctx[20]);
8708
8745
  attr(div1, "class", "container");
8709
8746
  attr(div1, "style", div1_style_value = `
8710
8747
  --width: ${
8711
8748
  /*width*/
8712
- ctx[8]};
8749
+ ctx[9]};
8713
8750
  `);
8714
8751
  },
8715
8752
 
@@ -8723,7 +8760,7 @@
8723
8760
  append(div0, input);
8724
8761
  /*input_binding*/
8725
8762
 
8726
- ctx[30](input);
8763
+ ctx[31](input);
8727
8764
  append(div0, t2);
8728
8765
  if (if_block2) if_block2.m(div0, null);
8729
8766
  append(div0, t3);
@@ -8736,17 +8773,17 @@
8736
8773
  if (!mounted) {
8737
8774
  dispose = [listen(input, "keyup",
8738
8775
  /*onKeyUp*/
8739
- ctx[22]), listen(input, "change",
8776
+ ctx[23]), listen(input, "change",
8740
8777
  /*onKeyUp*/
8741
- ctx[22])];
8778
+ ctx[23])];
8742
8779
  mounted = true;
8743
8780
  }
8744
8781
  },
8745
8782
 
8746
- p(ctx, [dirty]) {
8783
+ p(ctx, dirty) {
8747
8784
  if (
8748
8785
  /*prefix*/
8749
- ctx[13]) {
8786
+ ctx[14]) {
8750
8787
  if (if_block0) {
8751
8788
  if_block0.p(ctx, dirty);
8752
8789
  } else {
@@ -8761,7 +8798,7 @@
8761
8798
 
8762
8799
  if (
8763
8800
  /*leadingicon*/
8764
- ctx[4]) {
8801
+ ctx[5]) {
8765
8802
  if (if_block1) {
8766
8803
  if_block1.p(ctx, dirty);
8767
8804
  } else {
@@ -8774,47 +8811,55 @@
8774
8811
  if_block1 = null;
8775
8812
  }
8776
8813
 
8777
- if (dirty &
8814
+ if (dirty[0] &
8778
8815
  /*variant*/
8779
- 64 && input_class_value !== (input_class_value = `input--${
8816
+ 128 && input_class_value !== (input_class_value = `input--${
8780
8817
  /*variant*/
8781
- ctx[6]}`)) {
8818
+ ctx[7]}`)) {
8782
8819
  attr(input, "class", input_class_value);
8783
8820
  }
8784
8821
 
8785
- if (dirty &
8822
+ if (dirty[0] &
8786
8823
  /*trailingicon*/
8787
- 32 && input_style_value !== (input_style_value = `--search-icon-offset: ${
8824
+ 64 && input_style_value !== (input_style_value = `--search-icon-offset: ${
8788
8825
  /*trailingicon*/
8789
- ctx[5] ? "-0.5rem" : "0"}`)) {
8826
+ ctx[6] ? "-0.5rem" : "0"}`)) {
8790
8827
  attr(input, "style", input_style_value);
8791
8828
  }
8792
8829
 
8793
- if (dirty &
8830
+ if (dirty[0] &
8794
8831
  /*isReadonly*/
8795
- 1048576) {
8832
+ 2097152) {
8796
8833
  input.readOnly =
8797
8834
  /*isReadonly*/
8798
- ctx[20];
8835
+ ctx[21];
8799
8836
  }
8800
8837
 
8801
- if (dirty &
8838
+ if (dirty[0] &
8802
8839
  /*isDisabled*/
8803
- 262144) {
8840
+ 524288) {
8804
8841
  input.disabled =
8805
8842
  /*isDisabled*/
8806
- ctx[18];
8843
+ ctx[19];
8807
8844
  }
8808
8845
 
8809
- if (dirty &
8846
+ if (dirty[0] &
8810
8847
  /*testid*/
8811
- 128) {
8848
+ 256) {
8812
8849
  attr(input, "data-testid",
8813
8850
  /*testid*/
8814
- ctx[7]);
8851
+ ctx[8]);
8815
8852
  }
8816
8853
 
8817
- if (dirty &
8854
+ if (dirty[0] &
8855
+ /*autocapitalize*/
8856
+ 8) {
8857
+ attr(input, "autocapitalize",
8858
+ /*autocapitalize*/
8859
+ ctx[3]);
8860
+ }
8861
+
8862
+ if (dirty[0] &
8818
8863
  /*name*/
8819
8864
  4) {
8820
8865
  attr(input, "name",
@@ -8822,7 +8867,7 @@
8822
8867
  ctx[2]);
8823
8868
  }
8824
8869
 
8825
- if (dirty &
8870
+ if (dirty[0] &
8826
8871
  /*type*/
8827
8872
  2) {
8828
8873
  attr(input, "type",
@@ -8830,7 +8875,7 @@
8830
8875
  ctx[1]);
8831
8876
  }
8832
8877
 
8833
- if (dirty &
8878
+ if (dirty[0] &
8834
8879
  /*value*/
8835
8880
  1 && input.value !==
8836
8881
  /*value*/
@@ -8840,43 +8885,43 @@
8840
8885
  ctx[0];
8841
8886
  }
8842
8887
 
8843
- if (dirty &
8888
+ if (dirty[0] &
8844
8889
  /*placeholder*/
8845
- 8) {
8890
+ 16) {
8846
8891
  attr(input, "placeholder",
8847
8892
  /*placeholder*/
8848
- ctx[3]);
8893
+ ctx[4]);
8849
8894
  }
8850
8895
 
8851
- if (dirty &
8896
+ if (dirty[0] &
8852
8897
  /*min*/
8853
- 1024) {
8898
+ 2048) {
8854
8899
  attr(input, "min",
8855
8900
  /*min*/
8856
- ctx[10]);
8901
+ ctx[11]);
8857
8902
  }
8858
8903
 
8859
- if (dirty &
8904
+ if (dirty[0] &
8860
8905
  /*max*/
8861
- 2048) {
8906
+ 4096) {
8862
8907
  attr(input, "max",
8863
8908
  /*max*/
8864
- ctx[11]);
8909
+ ctx[12]);
8865
8910
  }
8866
8911
 
8867
- if (dirty &
8912
+ if (dirty[0] &
8868
8913
  /*step*/
8869
- 4096) {
8914
+ 8192) {
8870
8915
  attr(input, "step",
8871
8916
  /*step*/
8872
- ctx[12]);
8917
+ ctx[13]);
8873
8918
  }
8874
8919
 
8875
- if (dirty &
8920
+ if (dirty[0] &
8876
8921
  /*arialabel, name*/
8877
- 516 && input_aria_label_value !== (input_aria_label_value =
8922
+ 1028 && input_aria_label_value !== (input_aria_label_value =
8878
8923
  /*arialabel*/
8879
- ctx[9] ||
8924
+ ctx[10] ||
8880
8925
  /*name*/
8881
8926
  ctx[2])) {
8882
8927
  attr(input, "aria-label", input_aria_label_value);
@@ -8884,9 +8929,9 @@
8884
8929
 
8885
8930
  if (
8886
8931
  /*trailingicon*/
8887
- ctx[5] && !
8932
+ ctx[6] && !
8888
8933
  /*handlesTrailingIconClick*/
8889
- ctx[21]) {
8934
+ ctx[22]) {
8890
8935
  if (if_block2) {
8891
8936
  if_block2.p(ctx, dirty);
8892
8937
  } else {
@@ -8901,9 +8946,9 @@
8901
8946
 
8902
8947
  if (
8903
8948
  /*trailingicon*/
8904
- ctx[5] &&
8949
+ ctx[6] &&
8905
8950
  /*handlesTrailingIconClick*/
8906
- ctx[21]) {
8951
+ ctx[22]) {
8907
8952
  if (if_block3) {
8908
8953
  if_block3.p(ctx, dirty);
8909
8954
  } else {
@@ -8918,7 +8963,7 @@
8918
8963
 
8919
8964
  if (
8920
8965
  /*suffix*/
8921
- ctx[14]) {
8966
+ ctx[15]) {
8922
8967
  if (if_block4) {
8923
8968
  if_block4.p(ctx, dirty);
8924
8969
  } else {
@@ -8931,16 +8976,16 @@
8931
8976
  if_block4 = null;
8932
8977
  }
8933
8978
 
8934
- if (dirty &
8979
+ if (dirty[0] &
8935
8980
  /*isDisabled, variant, type*/
8936
- 262210 && div0_class_value !== (div0_class_value = `
8981
+ 524418 && div0_class_value !== (div0_class_value = `
8937
8982
  goa-input
8938
8983
  ${
8939
8984
  /*isDisabled*/
8940
- ctx[18] ? "goa-input--disabled" : ""}
8985
+ ctx[19] ? "goa-input--disabled" : ""}
8941
8986
  variant--${
8942
8987
  /*variant*/
8943
- ctx[6]}
8988
+ ctx[7]}
8944
8989
  type--${
8945
8990
  /*type*/
8946
8991
  ctx[1]}
@@ -8948,17 +8993,17 @@
8948
8993
  attr(div0, "class", div0_class_value);
8949
8994
  }
8950
8995
 
8951
- if (dirty &
8996
+ if (dirty[0] &
8952
8997
  /*isDisabled, variant, type, isError*/
8953
- 786498) {
8998
+ 1572994) {
8954
8999
  toggle_class(div0, "error",
8955
9000
  /*isError*/
8956
- ctx[19]);
9001
+ ctx[20]);
8957
9002
  }
8958
9003
 
8959
9004
  if (
8960
9005
  /*showCounter*/
8961
- ctx[17]) {
9006
+ ctx[18]) {
8962
9007
  if (if_block5) {
8963
9008
  if_block5.p(ctx, dirty);
8964
9009
  } else {
@@ -8971,12 +9016,12 @@
8971
9016
  if_block5 = null;
8972
9017
  }
8973
9018
 
8974
- if (dirty &
9019
+ if (dirty[0] &
8975
9020
  /*width*/
8976
- 256 && div1_style_value !== (div1_style_value = `
9021
+ 512 && div1_style_value !== (div1_style_value = `
8977
9022
  --width: ${
8978
9023
  /*width*/
8979
- ctx[8]};
9024
+ ctx[9]};
8980
9025
  `)) {
8981
9026
  attr(div1, "style", div1_style_value);
8982
9027
  }
@@ -8991,7 +9036,7 @@
8991
9036
  if (if_block1) if_block1.d();
8992
9037
  /*input_binding*/
8993
9038
 
8994
- ctx[30](null);
9039
+ ctx[31](null);
8995
9040
  if (if_block2) if_block2.d();
8996
9041
  if (if_block3) if_block3.d();
8997
9042
  if (if_block4) if_block4.d();
@@ -9025,6 +9070,9 @@
9025
9070
  let {
9026
9071
  value = ""
9027
9072
  } = $$props;
9073
+ let {
9074
+ autocapitalize = "off"
9075
+ } = $$props;
9028
9076
  let {
9029
9077
  placeholder = ""
9030
9078
  } = $$props;
@@ -9100,7 +9148,7 @@
9100
9148
  function input_binding($$value) {
9101
9149
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
9102
9150
  inputEl = $$value;
9103
- $$invalidate(16, inputEl);
9151
+ $$invalidate(17, inputEl);
9104
9152
  });
9105
9153
  }
9106
9154
 
@@ -9108,75 +9156,76 @@
9108
9156
  if ('type' in $$props) $$invalidate(1, type = $$props.type);
9109
9157
  if ('name' in $$props) $$invalidate(2, name = $$props.name);
9110
9158
  if ('value' in $$props) $$invalidate(0, value = $$props.value);
9111
- if ('placeholder' in $$props) $$invalidate(3, placeholder = $$props.placeholder);
9112
- if ('leadingicon' in $$props) $$invalidate(4, leadingicon = $$props.leadingicon);
9113
- if ('trailingicon' in $$props) $$invalidate(5, trailingicon = $$props.trailingicon);
9114
- if ('variant' in $$props) $$invalidate(6, variant = $$props.variant);
9115
- if ('disabled' in $$props) $$invalidate(23, disabled = $$props.disabled);
9116
- if ('handletrailingiconclick' in $$props) $$invalidate(24, handletrailingiconclick = $$props.handletrailingiconclick);
9117
- if ('focused' in $$props) $$invalidate(25, focused = $$props.focused);
9118
- if ('readonly' in $$props) $$invalidate(26, readonly = $$props.readonly);
9119
- if ('error' in $$props) $$invalidate(27, error = $$props.error);
9120
- if ('testid' in $$props) $$invalidate(7, testid = $$props.testid);
9121
- if ('width' in $$props) $$invalidate(8, width = $$props.width);
9122
- if ('arialabel' in $$props) $$invalidate(9, arialabel = $$props.arialabel);
9123
- if ('min' in $$props) $$invalidate(10, min = $$props.min);
9124
- if ('max' in $$props) $$invalidate(11, max = $$props.max);
9125
- if ('step' in $$props) $$invalidate(12, step = $$props.step);
9126
- if ('prefix' in $$props) $$invalidate(13, prefix = $$props.prefix);
9127
- if ('suffix' in $$props) $$invalidate(14, suffix = $$props.suffix);
9128
- if ('showcounter' in $$props) $$invalidate(28, showcounter = $$props.showcounter);
9129
- if ('maxcharcount' in $$props) $$invalidate(15, maxcharcount = $$props.maxcharcount);
9159
+ if ('autocapitalize' in $$props) $$invalidate(3, autocapitalize = $$props.autocapitalize);
9160
+ if ('placeholder' in $$props) $$invalidate(4, placeholder = $$props.placeholder);
9161
+ if ('leadingicon' in $$props) $$invalidate(5, leadingicon = $$props.leadingicon);
9162
+ if ('trailingicon' in $$props) $$invalidate(6, trailingicon = $$props.trailingicon);
9163
+ if ('variant' in $$props) $$invalidate(7, variant = $$props.variant);
9164
+ if ('disabled' in $$props) $$invalidate(24, disabled = $$props.disabled);
9165
+ if ('handletrailingiconclick' in $$props) $$invalidate(25, handletrailingiconclick = $$props.handletrailingiconclick);
9166
+ if ('focused' in $$props) $$invalidate(26, focused = $$props.focused);
9167
+ if ('readonly' in $$props) $$invalidate(27, readonly = $$props.readonly);
9168
+ if ('error' in $$props) $$invalidate(28, error = $$props.error);
9169
+ if ('testid' in $$props) $$invalidate(8, testid = $$props.testid);
9170
+ if ('width' in $$props) $$invalidate(9, width = $$props.width);
9171
+ if ('arialabel' in $$props) $$invalidate(10, arialabel = $$props.arialabel);
9172
+ if ('min' in $$props) $$invalidate(11, min = $$props.min);
9173
+ if ('max' in $$props) $$invalidate(12, max = $$props.max);
9174
+ if ('step' in $$props) $$invalidate(13, step = $$props.step);
9175
+ if ('prefix' in $$props) $$invalidate(14, prefix = $$props.prefix);
9176
+ if ('suffix' in $$props) $$invalidate(15, suffix = $$props.suffix);
9177
+ if ('showcounter' in $$props) $$invalidate(29, showcounter = $$props.showcounter);
9178
+ if ('maxcharcount' in $$props) $$invalidate(16, maxcharcount = $$props.maxcharcount);
9130
9179
  };
9131
9180
 
9132
9181
  $$self.$$.update = () => {
9133
- if ($$self.$$.dirty &
9182
+ if ($$self.$$.dirty[0] &
9134
9183
  /*handletrailingiconclick*/
9135
- 16777216) {
9136
- $$invalidate(21, handlesTrailingIconClick = toBoolean(handletrailingiconclick));
9184
+ 33554432) {
9185
+ $$invalidate(22, handlesTrailingIconClick = toBoolean(handletrailingiconclick));
9137
9186
  }
9138
9187
 
9139
- if ($$self.$$.dirty &
9188
+ if ($$self.$$.dirty[0] &
9140
9189
  /*focused*/
9141
- 33554432) {
9142
- $$invalidate(29, isFocused = toBoolean(focused));
9190
+ 67108864) {
9191
+ $$invalidate(30, isFocused = toBoolean(focused));
9143
9192
  }
9144
9193
 
9145
- if ($$self.$$.dirty &
9194
+ if ($$self.$$.dirty[0] &
9146
9195
  /*readonly*/
9147
- 67108864) {
9148
- $$invalidate(20, isReadonly = toBoolean(readonly));
9196
+ 134217728) {
9197
+ $$invalidate(21, isReadonly = toBoolean(readonly));
9149
9198
  }
9150
9199
 
9151
- if ($$self.$$.dirty &
9200
+ if ($$self.$$.dirty[0] &
9152
9201
  /*error*/
9153
- 134217728) {
9154
- $$invalidate(19, isError = toBoolean(error));
9202
+ 268435456) {
9203
+ $$invalidate(20, isError = toBoolean(error));
9155
9204
  }
9156
9205
 
9157
- if ($$self.$$.dirty &
9206
+ if ($$self.$$.dirty[0] &
9158
9207
  /*disabled*/
9159
- 8388608) {
9160
- $$invalidate(18, isDisabled = toBoolean(disabled));
9208
+ 16777216) {
9209
+ $$invalidate(19, isDisabled = toBoolean(disabled));
9161
9210
  }
9162
9211
 
9163
- if ($$self.$$.dirty &
9212
+ if ($$self.$$.dirty[0] &
9164
9213
  /*showcounter*/
9165
- 268435456) {
9166
- $$invalidate(17, showCounter = toBoolean(showcounter));
9214
+ 536870912) {
9215
+ $$invalidate(18, showCounter = toBoolean(showcounter));
9167
9216
  }
9168
9217
 
9169
- if ($$self.$$.dirty &
9218
+ if ($$self.$$.dirty[0] &
9170
9219
  /*isFocused, inputEl*/
9171
- 536936448) {
9220
+ 1073872896) {
9172
9221
  if (isFocused && inputEl) {
9173
9222
  setTimeout(() => inputEl.focus(), 1);
9174
9223
  }
9175
9224
  }
9176
9225
 
9177
- if ($$self.$$.dirty &
9226
+ if ($$self.$$.dirty[0] &
9178
9227
  /*inputEl, type*/
9179
- 65538) {
9228
+ 131074) {
9180
9229
  if (inputEl && type === "search") {
9181
9230
  inputEl.addEventListener("search", e => {
9182
9231
  onKeyUp(e);
@@ -9185,7 +9234,7 @@
9185
9234
  }
9186
9235
  };
9187
9236
 
9188
- 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];
9237
+ 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];
9189
9238
  }
9190
9239
 
9191
9240
  class Input extends SvelteElement {
@@ -9201,26 +9250,27 @@
9201
9250
  type: 1,
9202
9251
  name: 2,
9203
9252
  value: 0,
9204
- placeholder: 3,
9205
- leadingicon: 4,
9206
- trailingicon: 5,
9207
- variant: 6,
9208
- disabled: 23,
9209
- handletrailingiconclick: 24,
9210
- focused: 25,
9211
- readonly: 26,
9212
- error: 27,
9213
- testid: 7,
9214
- width: 8,
9215
- arialabel: 9,
9216
- min: 10,
9217
- max: 11,
9218
- step: 12,
9219
- prefix: 13,
9220
- suffix: 14,
9221
- showcounter: 28,
9222
- maxcharcount: 15
9223
- }, null);
9253
+ autocapitalize: 3,
9254
+ placeholder: 4,
9255
+ leadingicon: 5,
9256
+ trailingicon: 6,
9257
+ variant: 7,
9258
+ disabled: 24,
9259
+ handletrailingiconclick: 25,
9260
+ focused: 26,
9261
+ readonly: 27,
9262
+ error: 28,
9263
+ testid: 8,
9264
+ width: 9,
9265
+ arialabel: 10,
9266
+ min: 11,
9267
+ max: 12,
9268
+ step: 13,
9269
+ prefix: 14,
9270
+ suffix: 15,
9271
+ showcounter: 29,
9272
+ maxcharcount: 16
9273
+ }, null, [-1, -1]);
9224
9274
 
9225
9275
  if (options) {
9226
9276
  if (options.target) {
@@ -9235,7 +9285,7 @@
9235
9285
  }
9236
9286
 
9237
9287
  static get observedAttributes() {
9238
- return ["type", "name", "value", "placeholder", "leadingicon", "trailingicon", "variant", "disabled", "handletrailingiconclick", "focused", "readonly", "error", "testid", "width", "arialabel", "min", "max", "step", "prefix", "suffix", "showcounter", "maxcharcount"];
9288
+ return ["type", "name", "value", "autocapitalize", "placeholder", "leadingicon", "trailingicon", "variant", "disabled", "handletrailingiconclick", "focused", "readonly", "error", "testid", "width", "arialabel", "min", "max", "step", "prefix", "suffix", "showcounter", "maxcharcount"];
9239
9289
  }
9240
9290
 
9241
9291
  get type() {
@@ -9271,10 +9321,21 @@
9271
9321
  flush();
9272
9322
  }
9273
9323
 
9274
- get placeholder() {
9324
+ get autocapitalize() {
9275
9325
  return this.$$.ctx[3];
9276
9326
  }
9277
9327
 
9328
+ set autocapitalize(autocapitalize) {
9329
+ this.$$set({
9330
+ autocapitalize
9331
+ });
9332
+ flush();
9333
+ }
9334
+
9335
+ get placeholder() {
9336
+ return this.$$.ctx[4];
9337
+ }
9338
+
9278
9339
  set placeholder(placeholder) {
9279
9340
  this.$$set({
9280
9341
  placeholder
@@ -9283,7 +9344,7 @@
9283
9344
  }
9284
9345
 
9285
9346
  get leadingicon() {
9286
- return this.$$.ctx[4];
9347
+ return this.$$.ctx[5];
9287
9348
  }
9288
9349
 
9289
9350
  set leadingicon(leadingicon) {
@@ -9294,7 +9355,7 @@
9294
9355
  }
9295
9356
 
9296
9357
  get trailingicon() {
9297
- return this.$$.ctx[5];
9358
+ return this.$$.ctx[6];
9298
9359
  }
9299
9360
 
9300
9361
  set trailingicon(trailingicon) {
@@ -9305,7 +9366,7 @@
9305
9366
  }
9306
9367
 
9307
9368
  get variant() {
9308
- return this.$$.ctx[6];
9369
+ return this.$$.ctx[7];
9309
9370
  }
9310
9371
 
9311
9372
  set variant(variant) {
@@ -9316,7 +9377,7 @@
9316
9377
  }
9317
9378
 
9318
9379
  get disabled() {
9319
- return this.$$.ctx[23];
9380
+ return this.$$.ctx[24];
9320
9381
  }
9321
9382
 
9322
9383
  set disabled(disabled) {
@@ -9327,7 +9388,7 @@
9327
9388
  }
9328
9389
 
9329
9390
  get handletrailingiconclick() {
9330
- return this.$$.ctx[24];
9391
+ return this.$$.ctx[25];
9331
9392
  }
9332
9393
 
9333
9394
  set handletrailingiconclick(handletrailingiconclick) {
@@ -9338,7 +9399,7 @@
9338
9399
  }
9339
9400
 
9340
9401
  get focused() {
9341
- return this.$$.ctx[25];
9402
+ return this.$$.ctx[26];
9342
9403
  }
9343
9404
 
9344
9405
  set focused(focused) {
@@ -9349,7 +9410,7 @@
9349
9410
  }
9350
9411
 
9351
9412
  get readonly() {
9352
- return this.$$.ctx[26];
9413
+ return this.$$.ctx[27];
9353
9414
  }
9354
9415
 
9355
9416
  set readonly(readonly) {
@@ -9360,7 +9421,7 @@
9360
9421
  }
9361
9422
 
9362
9423
  get error() {
9363
- return this.$$.ctx[27];
9424
+ return this.$$.ctx[28];
9364
9425
  }
9365
9426
 
9366
9427
  set error(error) {
@@ -9371,7 +9432,7 @@
9371
9432
  }
9372
9433
 
9373
9434
  get testid() {
9374
- return this.$$.ctx[7];
9435
+ return this.$$.ctx[8];
9375
9436
  }
9376
9437
 
9377
9438
  set testid(testid) {
@@ -9382,7 +9443,7 @@
9382
9443
  }
9383
9444
 
9384
9445
  get width() {
9385
- return this.$$.ctx[8];
9446
+ return this.$$.ctx[9];
9386
9447
  }
9387
9448
 
9388
9449
  set width(width) {
@@ -9393,7 +9454,7 @@
9393
9454
  }
9394
9455
 
9395
9456
  get arialabel() {
9396
- return this.$$.ctx[9];
9457
+ return this.$$.ctx[10];
9397
9458
  }
9398
9459
 
9399
9460
  set arialabel(arialabel) {
@@ -9404,7 +9465,7 @@
9404
9465
  }
9405
9466
 
9406
9467
  get min() {
9407
- return this.$$.ctx[10];
9468
+ return this.$$.ctx[11];
9408
9469
  }
9409
9470
 
9410
9471
  set min(min) {
@@ -9415,7 +9476,7 @@
9415
9476
  }
9416
9477
 
9417
9478
  get max() {
9418
- return this.$$.ctx[11];
9479
+ return this.$$.ctx[12];
9419
9480
  }
9420
9481
 
9421
9482
  set max(max) {
@@ -9426,7 +9487,7 @@
9426
9487
  }
9427
9488
 
9428
9489
  get step() {
9429
- return this.$$.ctx[12];
9490
+ return this.$$.ctx[13];
9430
9491
  }
9431
9492
 
9432
9493
  set step(step) {
@@ -9437,7 +9498,7 @@
9437
9498
  }
9438
9499
 
9439
9500
  get prefix() {
9440
- return this.$$.ctx[13];
9501
+ return this.$$.ctx[14];
9441
9502
  }
9442
9503
 
9443
9504
  set prefix(prefix) {
@@ -9448,7 +9509,7 @@
9448
9509
  }
9449
9510
 
9450
9511
  get suffix() {
9451
- return this.$$.ctx[14];
9512
+ return this.$$.ctx[15];
9452
9513
  }
9453
9514
 
9454
9515
  set suffix(suffix) {
@@ -9459,7 +9520,7 @@
9459
9520
  }
9460
9521
 
9461
9522
  get showcounter() {
9462
- return this.$$.ctx[28];
9523
+ return this.$$.ctx[29];
9463
9524
  }
9464
9525
 
9465
9526
  set showcounter(showcounter) {
@@ -9470,7 +9531,7 @@
9470
9531
  }
9471
9532
 
9472
9533
  get maxcharcount() {
9473
- return this.$$.ctx[15];
9534
+ return this.$$.ctx[16];
9474
9535
  }
9475
9536
 
9476
9537
  set maxcharcount(maxcharcount) {
@@ -14473,6 +14534,7 @@
14473
14534
  var id = _a.id,
14474
14535
  name = _a.name,
14475
14536
  type = _a.type,
14537
+ autoCapitalize = _a.autoCapitalize,
14476
14538
  leadingIcon = _a.leadingIcon,
14477
14539
  trailingIcon = _a.trailingIcon,
14478
14540
  _b = _a.variant,
@@ -14525,6 +14587,7 @@
14525
14587
  focused: focused,
14526
14588
  type: type,
14527
14589
  name: name,
14590
+ autocapitalize: autoCapitalize,
14528
14591
  id: id,
14529
14592
  leadingicon: leadingIcon,
14530
14593
  trailingicon: trailingIcon,