@abgov/react-components 4.0.0-alpha.53 → 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),
@@ -8254,7 +8252,7 @@ function create_if_block_7(ctx) {
8254
8252
  div = element("div");
8255
8253
  t = text(
8256
8254
  /*prefix*/
8257
- ctx[13]);
8255
+ ctx[14]);
8258
8256
  attr(div, "class", "prefix");
8259
8257
  },
8260
8258
 
@@ -8264,11 +8262,11 @@ function create_if_block_7(ctx) {
8264
8262
  },
8265
8263
 
8266
8264
  p(ctx, dirty) {
8267
- if (dirty &
8265
+ if (dirty[0] &
8268
8266
  /*prefix*/
8269
- 8192) set_data(t,
8267
+ 16384) set_data(t,
8270
8268
  /*prefix*/
8271
- ctx[13]);
8269
+ ctx[14]);
8272
8270
  },
8273
8271
 
8274
8272
  d(detaching) {
@@ -8276,7 +8274,7 @@ function create_if_block_7(ctx) {
8276
8274
  }
8277
8275
 
8278
8276
  };
8279
- } // (81:4) {#if leadingicon}
8277
+ } // (82:4) {#if leadingicon}
8280
8278
 
8281
8279
 
8282
8280
  function create_if_block_6(ctx) {
@@ -8288,7 +8286,7 @@ function create_if_block_6(ctx) {
8288
8286
  set_custom_element_data(goa_icon, "data-testid", "leading-icon");
8289
8287
  set_custom_element_data(goa_icon, "type",
8290
8288
  /*leadingicon*/
8291
- ctx[4]);
8289
+ ctx[5]);
8292
8290
  },
8293
8291
 
8294
8292
  m(target, anchor) {
@@ -8296,12 +8294,12 @@ function create_if_block_6(ctx) {
8296
8294
  },
8297
8295
 
8298
8296
  p(ctx, dirty) {
8299
- if (dirty &
8297
+ if (dirty[0] &
8300
8298
  /*leadingicon*/
8301
- 16) {
8299
+ 32) {
8302
8300
  set_custom_element_data(goa_icon, "type",
8303
8301
  /*leadingicon*/
8304
- ctx[4]);
8302
+ ctx[5]);
8305
8303
  }
8306
8304
  },
8307
8305
 
@@ -8310,7 +8308,7 @@ function create_if_block_6(ctx) {
8310
8308
  }
8311
8309
 
8312
8310
  };
8313
- } // (110:4) {#if trailingicon && !handlesTrailingIconClick}
8311
+ } // (112:4) {#if trailingicon && !handlesTrailingIconClick}
8314
8312
 
8315
8313
 
8316
8314
  function create_if_block_5(ctx) {
@@ -8323,7 +8321,7 @@ function create_if_block_5(ctx) {
8323
8321
  set_custom_element_data(goa_icon, "size", "medium");
8324
8322
  set_custom_element_data(goa_icon, "type",
8325
8323
  /*trailingicon*/
8326
- ctx[5]);
8324
+ ctx[6]);
8327
8325
  },
8328
8326
 
8329
8327
  m(target, anchor) {
@@ -8331,12 +8329,12 @@ function create_if_block_5(ctx) {
8331
8329
  },
8332
8330
 
8333
8331
  p(ctx, dirty) {
8334
- if (dirty &
8332
+ if (dirty[0] &
8335
8333
  /*trailingicon*/
8336
- 32) {
8334
+ 64) {
8337
8335
  set_custom_element_data(goa_icon, "type",
8338
8336
  /*trailingicon*/
8339
- ctx[5]);
8337
+ ctx[6]);
8340
8338
  }
8341
8339
  },
8342
8340
 
@@ -8345,7 +8343,7 @@ function create_if_block_5(ctx) {
8345
8343
  }
8346
8344
 
8347
8345
  };
8348
- } // (120:4) {#if trailingicon && handlesTrailingIconClick}
8346
+ } // (122:4) {#if trailingicon && handlesTrailingIconClick}
8349
8347
 
8350
8348
 
8351
8349
  function create_if_block_4(ctx) {
@@ -8357,12 +8355,12 @@ function create_if_block_4(ctx) {
8357
8355
  goa_icon_button = element("goa-icon-button");
8358
8356
  set_custom_element_data(goa_icon_button, "disabled",
8359
8357
  /*isDisabled*/
8360
- ctx[18]);
8358
+ ctx[19]);
8361
8359
  set_custom_element_data(goa_icon_button, "variant", "nocolor");
8362
8360
  set_custom_element_data(goa_icon_button, "size", "medium");
8363
8361
  set_custom_element_data(goa_icon_button, "type",
8364
8362
  /*trailingicon*/
8365
- ctx[5]);
8363
+ ctx[6]);
8366
8364
  set_custom_element_data(goa_icon_button, "data-testid", "trailing-icon-button");
8367
8365
  },
8368
8366
 
@@ -8376,20 +8374,20 @@ function create_if_block_4(ctx) {
8376
8374
  },
8377
8375
 
8378
8376
  p(ctx, dirty) {
8379
- if (dirty &
8377
+ if (dirty[0] &
8380
8378
  /*isDisabled*/
8381
- 262144) {
8379
+ 524288) {
8382
8380
  set_custom_element_data(goa_icon_button, "disabled",
8383
8381
  /*isDisabled*/
8384
- ctx[18]);
8382
+ ctx[19]);
8385
8383
  }
8386
8384
 
8387
- if (dirty &
8385
+ if (dirty[0] &
8388
8386
  /*trailingicon*/
8389
- 32) {
8387
+ 64) {
8390
8388
  set_custom_element_data(goa_icon_button, "type",
8391
8389
  /*trailingicon*/
8392
- ctx[5]);
8390
+ ctx[6]);
8393
8391
  }
8394
8392
  },
8395
8393
 
@@ -8400,7 +8398,7 @@ function create_if_block_4(ctx) {
8400
8398
  }
8401
8399
 
8402
8400
  };
8403
- } // (131:4) {#if suffix}
8401
+ } // (133:4) {#if suffix}
8404
8402
 
8405
8403
 
8406
8404
  function create_if_block_3$2(ctx) {
@@ -8411,7 +8409,7 @@ function create_if_block_3$2(ctx) {
8411
8409
  span = element("span");
8412
8410
  t = text(
8413
8411
  /*suffix*/
8414
- ctx[14]);
8412
+ ctx[15]);
8415
8413
  attr(span, "class", "suffix");
8416
8414
  },
8417
8415
 
@@ -8421,11 +8419,11 @@ function create_if_block_3$2(ctx) {
8421
8419
  },
8422
8420
 
8423
8421
  p(ctx, dirty) {
8424
- if (dirty &
8422
+ if (dirty[0] &
8425
8423
  /*suffix*/
8426
- 16384) set_data(t,
8424
+ 32768) set_data(t,
8427
8425
  /*suffix*/
8428
- ctx[14]);
8426
+ ctx[15]);
8429
8427
  },
8430
8428
 
8431
8429
  d(detaching) {
@@ -8433,7 +8431,7 @@ function create_if_block_3$2(ctx) {
8433
8431
  }
8434
8432
 
8435
8433
  };
8436
- } // (137:2) {#if showCounter}
8434
+ } // (139:2) {#if showCounter}
8437
8435
 
8438
8436
 
8439
8437
  function create_if_block$7(ctx) {
@@ -8442,7 +8440,7 @@ function create_if_block$7(ctx) {
8442
8440
  function select_block_type(ctx, dirty) {
8443
8441
  if (
8444
8442
  /*maxcharcount*/
8445
- ctx[15] > 0) return create_if_block_1$5;
8443
+ ctx[16] > 0) return create_if_block_1$5;
8446
8444
  if (
8447
8445
  /*value*/
8448
8446
  ctx[0].length > 0) return create_if_block_2$4;
@@ -8484,7 +8482,7 @@ function create_if_block$7(ctx) {
8484
8482
  }
8485
8483
 
8486
8484
  };
8487
- } // (142:31)
8485
+ } // (144:31)
8488
8486
 
8489
8487
 
8490
8488
  function create_if_block_2$4(ctx) {
@@ -8506,7 +8504,7 @@ function create_if_block_2$4(ctx) {
8506
8504
  },
8507
8505
 
8508
8506
  p(ctx, dirty) {
8509
- if (dirty &
8507
+ if (dirty[0] &
8510
8508
  /*value*/
8511
8509
  1 && t_value !== (t_value =
8512
8510
  /*value*/
@@ -8518,7 +8516,7 @@ function create_if_block_2$4(ctx) {
8518
8516
  }
8519
8517
 
8520
8518
  };
8521
- } // (138:4) {#if maxcharcount > 0}
8519
+ } // (140:4) {#if maxcharcount > 0}
8522
8520
 
8523
8521
 
8524
8522
  function create_if_block_1$5(ctx) {
@@ -8529,7 +8527,7 @@ function create_if_block_1$5(ctx) {
8529
8527
  let t0;
8530
8528
  let t1_value = `/${
8531
8529
  /*maxcharcount*/
8532
- ctx[15]}` + "";
8530
+ ctx[16]}` + "";
8533
8531
  let t1;
8534
8532
  return {
8535
8533
  c() {
@@ -8541,7 +8539,7 @@ function create_if_block_1$5(ctx) {
8541
8539
  /*value*/
8542
8540
  ctx[0].length >
8543
8541
  /*maxcharcount*/
8544
- ctx[15]);
8542
+ ctx[16]);
8545
8543
  },
8546
8544
 
8547
8545
  m(target, anchor) {
@@ -8551,25 +8549,25 @@ function create_if_block_1$5(ctx) {
8551
8549
  },
8552
8550
 
8553
8551
  p(ctx, dirty) {
8554
- if (dirty &
8552
+ if (dirty[0] &
8555
8553
  /*value*/
8556
8554
  1 && t0_value !== (t0_value =
8557
8555
  /*value*/
8558
8556
  ctx[0].length + "")) set_data(t0, t0_value);
8559
- if (dirty &
8557
+ if (dirty[0] &
8560
8558
  /*maxcharcount*/
8561
- 32768 && t1_value !== (t1_value = `/${
8559
+ 65536 && t1_value !== (t1_value = `/${
8562
8560
  /*maxcharcount*/
8563
- ctx[15]}` + "")) set_data(t1, t1_value);
8561
+ ctx[16]}` + "")) set_data(t1, t1_value);
8564
8562
 
8565
- if (dirty &
8563
+ if (dirty[0] &
8566
8564
  /*value, maxcharcount*/
8567
- 32769) {
8565
+ 65537) {
8568
8566
  toggle_class(div, "counter-error",
8569
8567
  /*value*/
8570
8568
  ctx[0].length >
8571
8569
  /*maxcharcount*/
8572
- ctx[15]);
8570
+ ctx[16]);
8573
8571
  }
8574
8572
  },
8575
8573
 
@@ -8599,26 +8597,26 @@ function create_fragment$e(ctx) {
8599
8597
  let dispose;
8600
8598
  let if_block0 =
8601
8599
  /*prefix*/
8602
- ctx[13] && create_if_block_7(ctx);
8600
+ ctx[14] && create_if_block_7(ctx);
8603
8601
  let if_block1 =
8604
8602
  /*leadingicon*/
8605
- ctx[4] && create_if_block_6(ctx);
8603
+ ctx[5] && create_if_block_6(ctx);
8606
8604
  let if_block2 =
8607
8605
  /*trailingicon*/
8608
- ctx[5] && !
8606
+ ctx[6] && !
8609
8607
  /*handlesTrailingIconClick*/
8610
- ctx[21] && create_if_block_5(ctx);
8608
+ ctx[22] && create_if_block_5(ctx);
8611
8609
  let if_block3 =
8612
8610
  /*trailingicon*/
8613
- ctx[5] &&
8611
+ ctx[6] &&
8614
8612
  /*handlesTrailingIconClick*/
8615
- ctx[21] && create_if_block_4(ctx);
8613
+ ctx[22] && create_if_block_4(ctx);
8616
8614
  let if_block4 =
8617
8615
  /*suffix*/
8618
- ctx[14] && create_if_block_3$2(ctx);
8616
+ ctx[15] && create_if_block_3$2(ctx);
8619
8617
  let if_block5 =
8620
8618
  /*showCounter*/
8621
- ctx[17] && create_if_block$7(ctx);
8619
+ ctx[18] && create_if_block$7(ctx);
8622
8620
  return {
8623
8621
  c() {
8624
8622
  div1 = element("div");
@@ -8639,19 +8637,22 @@ function create_fragment$e(ctx) {
8639
8637
  this.c = noop;
8640
8638
  attr(input, "class", input_class_value = `input--${
8641
8639
  /*variant*/
8642
- ctx[6]}`);
8640
+ ctx[7]}`);
8643
8641
  attr(input, "style", input_style_value = `--search-icon-offset: ${
8644
8642
  /*trailingicon*/
8645
- ctx[5] ? "-0.5rem" : "0"}`);
8643
+ ctx[6] ? "-0.5rem" : "0"}`);
8646
8644
  input.readOnly =
8647
8645
  /*isReadonly*/
8648
- ctx[20];
8646
+ ctx[21];
8649
8647
  input.disabled =
8650
8648
  /*isDisabled*/
8651
- ctx[18];
8649
+ ctx[19];
8652
8650
  attr(input, "data-testid",
8653
8651
  /*testid*/
8654
- ctx[7]);
8652
+ ctx[8]);
8653
+ attr(input, "autocapitalize",
8654
+ /*autocapitalize*/
8655
+ ctx[3]);
8655
8656
  attr(input, "name",
8656
8657
  /*name*/
8657
8658
  ctx[2]);
@@ -8663,42 +8664,42 @@ function create_fragment$e(ctx) {
8663
8664
  ctx[0];
8664
8665
  attr(input, "placeholder",
8665
8666
  /*placeholder*/
8666
- ctx[3]);
8667
+ ctx[4]);
8667
8668
  attr(input, "min",
8668
8669
  /*min*/
8669
- ctx[10]);
8670
+ ctx[11]);
8670
8671
  attr(input, "max",
8671
8672
  /*max*/
8672
- ctx[11]);
8673
+ ctx[12]);
8673
8674
  attr(input, "step",
8674
8675
  /*step*/
8675
- ctx[12]);
8676
+ ctx[13]);
8676
8677
  attr(input, "role", "textbox");
8677
8678
  attr(input, "aria-label", input_aria_label_value =
8678
8679
  /*arialabel*/
8679
- ctx[9] ||
8680
+ ctx[10] ||
8680
8681
  /*name*/
8681
8682
  ctx[2]);
8682
8683
  attr(div0, "class", div0_class_value = `
8683
8684
  goa-input
8684
8685
  ${
8685
8686
  /*isDisabled*/
8686
- ctx[18] ? "goa-input--disabled" : ""}
8687
+ ctx[19] ? "goa-input--disabled" : ""}
8687
8688
  variant--${
8688
8689
  /*variant*/
8689
- ctx[6]}
8690
+ ctx[7]}
8690
8691
  type--${
8691
8692
  /*type*/
8692
8693
  ctx[1]}
8693
8694
  `);
8694
8695
  toggle_class(div0, "error",
8695
8696
  /*isError*/
8696
- ctx[19]);
8697
+ ctx[20]);
8697
8698
  attr(div1, "class", "container");
8698
8699
  attr(div1, "style", div1_style_value = `
8699
8700
  --width: ${
8700
8701
  /*width*/
8701
- ctx[8]};
8702
+ ctx[9]};
8702
8703
  `);
8703
8704
  },
8704
8705
 
@@ -8712,7 +8713,7 @@ function create_fragment$e(ctx) {
8712
8713
  append(div0, input);
8713
8714
  /*input_binding*/
8714
8715
 
8715
- ctx[30](input);
8716
+ ctx[31](input);
8716
8717
  append(div0, t2);
8717
8718
  if (if_block2) if_block2.m(div0, null);
8718
8719
  append(div0, t3);
@@ -8725,17 +8726,17 @@ function create_fragment$e(ctx) {
8725
8726
  if (!mounted) {
8726
8727
  dispose = [listen(input, "keyup",
8727
8728
  /*onKeyUp*/
8728
- ctx[22]), listen(input, "change",
8729
+ ctx[23]), listen(input, "change",
8729
8730
  /*onKeyUp*/
8730
- ctx[22])];
8731
+ ctx[23])];
8731
8732
  mounted = true;
8732
8733
  }
8733
8734
  },
8734
8735
 
8735
- p(ctx, [dirty]) {
8736
+ p(ctx, dirty) {
8736
8737
  if (
8737
8738
  /*prefix*/
8738
- ctx[13]) {
8739
+ ctx[14]) {
8739
8740
  if (if_block0) {
8740
8741
  if_block0.p(ctx, dirty);
8741
8742
  } else {
@@ -8750,7 +8751,7 @@ function create_fragment$e(ctx) {
8750
8751
 
8751
8752
  if (
8752
8753
  /*leadingicon*/
8753
- ctx[4]) {
8754
+ ctx[5]) {
8754
8755
  if (if_block1) {
8755
8756
  if_block1.p(ctx, dirty);
8756
8757
  } else {
@@ -8763,47 +8764,55 @@ function create_fragment$e(ctx) {
8763
8764
  if_block1 = null;
8764
8765
  }
8765
8766
 
8766
- if (dirty &
8767
+ if (dirty[0] &
8767
8768
  /*variant*/
8768
- 64 && input_class_value !== (input_class_value = `input--${
8769
+ 128 && input_class_value !== (input_class_value = `input--${
8769
8770
  /*variant*/
8770
- ctx[6]}`)) {
8771
+ ctx[7]}`)) {
8771
8772
  attr(input, "class", input_class_value);
8772
8773
  }
8773
8774
 
8774
- if (dirty &
8775
+ if (dirty[0] &
8775
8776
  /*trailingicon*/
8776
- 32 && input_style_value !== (input_style_value = `--search-icon-offset: ${
8777
+ 64 && input_style_value !== (input_style_value = `--search-icon-offset: ${
8777
8778
  /*trailingicon*/
8778
- ctx[5] ? "-0.5rem" : "0"}`)) {
8779
+ ctx[6] ? "-0.5rem" : "0"}`)) {
8779
8780
  attr(input, "style", input_style_value);
8780
8781
  }
8781
8782
 
8782
- if (dirty &
8783
+ if (dirty[0] &
8783
8784
  /*isReadonly*/
8784
- 1048576) {
8785
+ 2097152) {
8785
8786
  input.readOnly =
8786
8787
  /*isReadonly*/
8787
- ctx[20];
8788
+ ctx[21];
8788
8789
  }
8789
8790
 
8790
- if (dirty &
8791
+ if (dirty[0] &
8791
8792
  /*isDisabled*/
8792
- 262144) {
8793
+ 524288) {
8793
8794
  input.disabled =
8794
8795
  /*isDisabled*/
8795
- ctx[18];
8796
+ ctx[19];
8796
8797
  }
8797
8798
 
8798
- if (dirty &
8799
+ if (dirty[0] &
8799
8800
  /*testid*/
8800
- 128) {
8801
+ 256) {
8801
8802
  attr(input, "data-testid",
8802
8803
  /*testid*/
8803
- ctx[7]);
8804
+ ctx[8]);
8804
8805
  }
8805
8806
 
8806
- 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] &
8807
8816
  /*name*/
8808
8817
  4) {
8809
8818
  attr(input, "name",
@@ -8811,7 +8820,7 @@ function create_fragment$e(ctx) {
8811
8820
  ctx[2]);
8812
8821
  }
8813
8822
 
8814
- if (dirty &
8823
+ if (dirty[0] &
8815
8824
  /*type*/
8816
8825
  2) {
8817
8826
  attr(input, "type",
@@ -8819,7 +8828,7 @@ function create_fragment$e(ctx) {
8819
8828
  ctx[1]);
8820
8829
  }
8821
8830
 
8822
- if (dirty &
8831
+ if (dirty[0] &
8823
8832
  /*value*/
8824
8833
  1 && input.value !==
8825
8834
  /*value*/
@@ -8829,43 +8838,43 @@ function create_fragment$e(ctx) {
8829
8838
  ctx[0];
8830
8839
  }
8831
8840
 
8832
- if (dirty &
8841
+ if (dirty[0] &
8833
8842
  /*placeholder*/
8834
- 8) {
8843
+ 16) {
8835
8844
  attr(input, "placeholder",
8836
8845
  /*placeholder*/
8837
- ctx[3]);
8846
+ ctx[4]);
8838
8847
  }
8839
8848
 
8840
- if (dirty &
8849
+ if (dirty[0] &
8841
8850
  /*min*/
8842
- 1024) {
8851
+ 2048) {
8843
8852
  attr(input, "min",
8844
8853
  /*min*/
8845
- ctx[10]);
8854
+ ctx[11]);
8846
8855
  }
8847
8856
 
8848
- if (dirty &
8857
+ if (dirty[0] &
8849
8858
  /*max*/
8850
- 2048) {
8859
+ 4096) {
8851
8860
  attr(input, "max",
8852
8861
  /*max*/
8853
- ctx[11]);
8862
+ ctx[12]);
8854
8863
  }
8855
8864
 
8856
- if (dirty &
8865
+ if (dirty[0] &
8857
8866
  /*step*/
8858
- 4096) {
8867
+ 8192) {
8859
8868
  attr(input, "step",
8860
8869
  /*step*/
8861
- ctx[12]);
8870
+ ctx[13]);
8862
8871
  }
8863
8872
 
8864
- if (dirty &
8873
+ if (dirty[0] &
8865
8874
  /*arialabel, name*/
8866
- 516 && input_aria_label_value !== (input_aria_label_value =
8875
+ 1028 && input_aria_label_value !== (input_aria_label_value =
8867
8876
  /*arialabel*/
8868
- ctx[9] ||
8877
+ ctx[10] ||
8869
8878
  /*name*/
8870
8879
  ctx[2])) {
8871
8880
  attr(input, "aria-label", input_aria_label_value);
@@ -8873,9 +8882,9 @@ function create_fragment$e(ctx) {
8873
8882
 
8874
8883
  if (
8875
8884
  /*trailingicon*/
8876
- ctx[5] && !
8885
+ ctx[6] && !
8877
8886
  /*handlesTrailingIconClick*/
8878
- ctx[21]) {
8887
+ ctx[22]) {
8879
8888
  if (if_block2) {
8880
8889
  if_block2.p(ctx, dirty);
8881
8890
  } else {
@@ -8890,9 +8899,9 @@ function create_fragment$e(ctx) {
8890
8899
 
8891
8900
  if (
8892
8901
  /*trailingicon*/
8893
- ctx[5] &&
8902
+ ctx[6] &&
8894
8903
  /*handlesTrailingIconClick*/
8895
- ctx[21]) {
8904
+ ctx[22]) {
8896
8905
  if (if_block3) {
8897
8906
  if_block3.p(ctx, dirty);
8898
8907
  } else {
@@ -8907,7 +8916,7 @@ function create_fragment$e(ctx) {
8907
8916
 
8908
8917
  if (
8909
8918
  /*suffix*/
8910
- ctx[14]) {
8919
+ ctx[15]) {
8911
8920
  if (if_block4) {
8912
8921
  if_block4.p(ctx, dirty);
8913
8922
  } else {
@@ -8920,16 +8929,16 @@ function create_fragment$e(ctx) {
8920
8929
  if_block4 = null;
8921
8930
  }
8922
8931
 
8923
- if (dirty &
8932
+ if (dirty[0] &
8924
8933
  /*isDisabled, variant, type*/
8925
- 262210 && div0_class_value !== (div0_class_value = `
8934
+ 524418 && div0_class_value !== (div0_class_value = `
8926
8935
  goa-input
8927
8936
  ${
8928
8937
  /*isDisabled*/
8929
- ctx[18] ? "goa-input--disabled" : ""}
8938
+ ctx[19] ? "goa-input--disabled" : ""}
8930
8939
  variant--${
8931
8940
  /*variant*/
8932
- ctx[6]}
8941
+ ctx[7]}
8933
8942
  type--${
8934
8943
  /*type*/
8935
8944
  ctx[1]}
@@ -8937,17 +8946,17 @@ function create_fragment$e(ctx) {
8937
8946
  attr(div0, "class", div0_class_value);
8938
8947
  }
8939
8948
 
8940
- if (dirty &
8949
+ if (dirty[0] &
8941
8950
  /*isDisabled, variant, type, isError*/
8942
- 786498) {
8951
+ 1572994) {
8943
8952
  toggle_class(div0, "error",
8944
8953
  /*isError*/
8945
- ctx[19]);
8954
+ ctx[20]);
8946
8955
  }
8947
8956
 
8948
8957
  if (
8949
8958
  /*showCounter*/
8950
- ctx[17]) {
8959
+ ctx[18]) {
8951
8960
  if (if_block5) {
8952
8961
  if_block5.p(ctx, dirty);
8953
8962
  } else {
@@ -8960,12 +8969,12 @@ function create_fragment$e(ctx) {
8960
8969
  if_block5 = null;
8961
8970
  }
8962
8971
 
8963
- if (dirty &
8972
+ if (dirty[0] &
8964
8973
  /*width*/
8965
- 256 && div1_style_value !== (div1_style_value = `
8974
+ 512 && div1_style_value !== (div1_style_value = `
8966
8975
  --width: ${
8967
8976
  /*width*/
8968
- ctx[8]};
8977
+ ctx[9]};
8969
8978
  `)) {
8970
8979
  attr(div1, "style", div1_style_value);
8971
8980
  }
@@ -8980,7 +8989,7 @@ function create_fragment$e(ctx) {
8980
8989
  if (if_block1) if_block1.d();
8981
8990
  /*input_binding*/
8982
8991
 
8983
- ctx[30](null);
8992
+ ctx[31](null);
8984
8993
  if (if_block2) if_block2.d();
8985
8994
  if (if_block3) if_block3.d();
8986
8995
  if (if_block4) if_block4.d();
@@ -9014,6 +9023,9 @@ function instance$c($$self, $$props, $$invalidate) {
9014
9023
  let {
9015
9024
  value = ""
9016
9025
  } = $$props;
9026
+ let {
9027
+ autocapitalize = "off"
9028
+ } = $$props;
9017
9029
  let {
9018
9030
  placeholder = ""
9019
9031
  } = $$props;
@@ -9089,7 +9101,7 @@ function instance$c($$self, $$props, $$invalidate) {
9089
9101
  function input_binding($$value) {
9090
9102
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
9091
9103
  inputEl = $$value;
9092
- $$invalidate(16, inputEl);
9104
+ $$invalidate(17, inputEl);
9093
9105
  });
9094
9106
  }
9095
9107
 
@@ -9097,75 +9109,76 @@ function instance$c($$self, $$props, $$invalidate) {
9097
9109
  if ('type' in $$props) $$invalidate(1, type = $$props.type);
9098
9110
  if ('name' in $$props) $$invalidate(2, name = $$props.name);
9099
9111
  if ('value' in $$props) $$invalidate(0, value = $$props.value);
9100
- if ('placeholder' in $$props) $$invalidate(3, placeholder = $$props.placeholder);
9101
- if ('leadingicon' in $$props) $$invalidate(4, leadingicon = $$props.leadingicon);
9102
- if ('trailingicon' in $$props) $$invalidate(5, trailingicon = $$props.trailingicon);
9103
- if ('variant' in $$props) $$invalidate(6, variant = $$props.variant);
9104
- if ('disabled' in $$props) $$invalidate(23, disabled = $$props.disabled);
9105
- if ('handletrailingiconclick' in $$props) $$invalidate(24, handletrailingiconclick = $$props.handletrailingiconclick);
9106
- if ('focused' in $$props) $$invalidate(25, focused = $$props.focused);
9107
- if ('readonly' in $$props) $$invalidate(26, readonly = $$props.readonly);
9108
- if ('error' in $$props) $$invalidate(27, error = $$props.error);
9109
- if ('testid' in $$props) $$invalidate(7, testid = $$props.testid);
9110
- if ('width' in $$props) $$invalidate(8, width = $$props.width);
9111
- if ('arialabel' in $$props) $$invalidate(9, arialabel = $$props.arialabel);
9112
- if ('min' in $$props) $$invalidate(10, min = $$props.min);
9113
- if ('max' in $$props) $$invalidate(11, max = $$props.max);
9114
- if ('step' in $$props) $$invalidate(12, step = $$props.step);
9115
- if ('prefix' in $$props) $$invalidate(13, prefix = $$props.prefix);
9116
- if ('suffix' in $$props) $$invalidate(14, suffix = $$props.suffix);
9117
- if ('showcounter' in $$props) $$invalidate(28, showcounter = $$props.showcounter);
9118
- 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);
9119
9132
  };
9120
9133
 
9121
9134
  $$self.$$.update = () => {
9122
- if ($$self.$$.dirty &
9135
+ if ($$self.$$.dirty[0] &
9123
9136
  /*handletrailingiconclick*/
9124
- 16777216) {
9125
- $$invalidate(21, handlesTrailingIconClick = toBoolean(handletrailingiconclick));
9137
+ 33554432) {
9138
+ $$invalidate(22, handlesTrailingIconClick = toBoolean(handletrailingiconclick));
9126
9139
  }
9127
9140
 
9128
- if ($$self.$$.dirty &
9141
+ if ($$self.$$.dirty[0] &
9129
9142
  /*focused*/
9130
- 33554432) {
9131
- $$invalidate(29, isFocused = toBoolean(focused));
9143
+ 67108864) {
9144
+ $$invalidate(30, isFocused = toBoolean(focused));
9132
9145
  }
9133
9146
 
9134
- if ($$self.$$.dirty &
9147
+ if ($$self.$$.dirty[0] &
9135
9148
  /*readonly*/
9136
- 67108864) {
9137
- $$invalidate(20, isReadonly = toBoolean(readonly));
9149
+ 134217728) {
9150
+ $$invalidate(21, isReadonly = toBoolean(readonly));
9138
9151
  }
9139
9152
 
9140
- if ($$self.$$.dirty &
9153
+ if ($$self.$$.dirty[0] &
9141
9154
  /*error*/
9142
- 134217728) {
9143
- $$invalidate(19, isError = toBoolean(error));
9155
+ 268435456) {
9156
+ $$invalidate(20, isError = toBoolean(error));
9144
9157
  }
9145
9158
 
9146
- if ($$self.$$.dirty &
9159
+ if ($$self.$$.dirty[0] &
9147
9160
  /*disabled*/
9148
- 8388608) {
9149
- $$invalidate(18, isDisabled = toBoolean(disabled));
9161
+ 16777216) {
9162
+ $$invalidate(19, isDisabled = toBoolean(disabled));
9150
9163
  }
9151
9164
 
9152
- if ($$self.$$.dirty &
9165
+ if ($$self.$$.dirty[0] &
9153
9166
  /*showcounter*/
9154
- 268435456) {
9155
- $$invalidate(17, showCounter = toBoolean(showcounter));
9167
+ 536870912) {
9168
+ $$invalidate(18, showCounter = toBoolean(showcounter));
9156
9169
  }
9157
9170
 
9158
- if ($$self.$$.dirty &
9171
+ if ($$self.$$.dirty[0] &
9159
9172
  /*isFocused, inputEl*/
9160
- 536936448) {
9173
+ 1073872896) {
9161
9174
  if (isFocused && inputEl) {
9162
9175
  setTimeout(() => inputEl.focus(), 1);
9163
9176
  }
9164
9177
  }
9165
9178
 
9166
- if ($$self.$$.dirty &
9179
+ if ($$self.$$.dirty[0] &
9167
9180
  /*inputEl, type*/
9168
- 65538) {
9181
+ 131074) {
9169
9182
  if (inputEl && type === "search") {
9170
9183
  inputEl.addEventListener("search", e => {
9171
9184
  onKeyUp(e);
@@ -9174,7 +9187,7 @@ function instance$c($$self, $$props, $$invalidate) {
9174
9187
  }
9175
9188
  };
9176
9189
 
9177
- 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];
9178
9191
  }
9179
9192
 
9180
9193
  class Input extends SvelteElement {
@@ -9190,26 +9203,27 @@ class Input extends SvelteElement {
9190
9203
  type: 1,
9191
9204
  name: 2,
9192
9205
  value: 0,
9193
- placeholder: 3,
9194
- leadingicon: 4,
9195
- trailingicon: 5,
9196
- variant: 6,
9197
- disabled: 23,
9198
- handletrailingiconclick: 24,
9199
- focused: 25,
9200
- readonly: 26,
9201
- error: 27,
9202
- testid: 7,
9203
- width: 8,
9204
- arialabel: 9,
9205
- min: 10,
9206
- max: 11,
9207
- step: 12,
9208
- prefix: 13,
9209
- suffix: 14,
9210
- showcounter: 28,
9211
- maxcharcount: 15
9212
- }, 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]);
9213
9227
 
9214
9228
  if (options) {
9215
9229
  if (options.target) {
@@ -9224,7 +9238,7 @@ class Input extends SvelteElement {
9224
9238
  }
9225
9239
 
9226
9240
  static get observedAttributes() {
9227
- 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"];
9228
9242
  }
9229
9243
 
9230
9244
  get type() {
@@ -9260,10 +9274,21 @@ class Input extends SvelteElement {
9260
9274
  flush();
9261
9275
  }
9262
9276
 
9263
- get placeholder() {
9277
+ get autocapitalize() {
9264
9278
  return this.$$.ctx[3];
9265
9279
  }
9266
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
+
9267
9292
  set placeholder(placeholder) {
9268
9293
  this.$$set({
9269
9294
  placeholder
@@ -9272,7 +9297,7 @@ class Input extends SvelteElement {
9272
9297
  }
9273
9298
 
9274
9299
  get leadingicon() {
9275
- return this.$$.ctx[4];
9300
+ return this.$$.ctx[5];
9276
9301
  }
9277
9302
 
9278
9303
  set leadingicon(leadingicon) {
@@ -9283,7 +9308,7 @@ class Input extends SvelteElement {
9283
9308
  }
9284
9309
 
9285
9310
  get trailingicon() {
9286
- return this.$$.ctx[5];
9311
+ return this.$$.ctx[6];
9287
9312
  }
9288
9313
 
9289
9314
  set trailingicon(trailingicon) {
@@ -9294,7 +9319,7 @@ class Input extends SvelteElement {
9294
9319
  }
9295
9320
 
9296
9321
  get variant() {
9297
- return this.$$.ctx[6];
9322
+ return this.$$.ctx[7];
9298
9323
  }
9299
9324
 
9300
9325
  set variant(variant) {
@@ -9305,7 +9330,7 @@ class Input extends SvelteElement {
9305
9330
  }
9306
9331
 
9307
9332
  get disabled() {
9308
- return this.$$.ctx[23];
9333
+ return this.$$.ctx[24];
9309
9334
  }
9310
9335
 
9311
9336
  set disabled(disabled) {
@@ -9316,7 +9341,7 @@ class Input extends SvelteElement {
9316
9341
  }
9317
9342
 
9318
9343
  get handletrailingiconclick() {
9319
- return this.$$.ctx[24];
9344
+ return this.$$.ctx[25];
9320
9345
  }
9321
9346
 
9322
9347
  set handletrailingiconclick(handletrailingiconclick) {
@@ -9327,7 +9352,7 @@ class Input extends SvelteElement {
9327
9352
  }
9328
9353
 
9329
9354
  get focused() {
9330
- return this.$$.ctx[25];
9355
+ return this.$$.ctx[26];
9331
9356
  }
9332
9357
 
9333
9358
  set focused(focused) {
@@ -9338,7 +9363,7 @@ class Input extends SvelteElement {
9338
9363
  }
9339
9364
 
9340
9365
  get readonly() {
9341
- return this.$$.ctx[26];
9366
+ return this.$$.ctx[27];
9342
9367
  }
9343
9368
 
9344
9369
  set readonly(readonly) {
@@ -9349,7 +9374,7 @@ class Input extends SvelteElement {
9349
9374
  }
9350
9375
 
9351
9376
  get error() {
9352
- return this.$$.ctx[27];
9377
+ return this.$$.ctx[28];
9353
9378
  }
9354
9379
 
9355
9380
  set error(error) {
@@ -9360,7 +9385,7 @@ class Input extends SvelteElement {
9360
9385
  }
9361
9386
 
9362
9387
  get testid() {
9363
- return this.$$.ctx[7];
9388
+ return this.$$.ctx[8];
9364
9389
  }
9365
9390
 
9366
9391
  set testid(testid) {
@@ -9371,7 +9396,7 @@ class Input extends SvelteElement {
9371
9396
  }
9372
9397
 
9373
9398
  get width() {
9374
- return this.$$.ctx[8];
9399
+ return this.$$.ctx[9];
9375
9400
  }
9376
9401
 
9377
9402
  set width(width) {
@@ -9382,7 +9407,7 @@ class Input extends SvelteElement {
9382
9407
  }
9383
9408
 
9384
9409
  get arialabel() {
9385
- return this.$$.ctx[9];
9410
+ return this.$$.ctx[10];
9386
9411
  }
9387
9412
 
9388
9413
  set arialabel(arialabel) {
@@ -9393,7 +9418,7 @@ class Input extends SvelteElement {
9393
9418
  }
9394
9419
 
9395
9420
  get min() {
9396
- return this.$$.ctx[10];
9421
+ return this.$$.ctx[11];
9397
9422
  }
9398
9423
 
9399
9424
  set min(min) {
@@ -9404,7 +9429,7 @@ class Input extends SvelteElement {
9404
9429
  }
9405
9430
 
9406
9431
  get max() {
9407
- return this.$$.ctx[11];
9432
+ return this.$$.ctx[12];
9408
9433
  }
9409
9434
 
9410
9435
  set max(max) {
@@ -9415,7 +9440,7 @@ class Input extends SvelteElement {
9415
9440
  }
9416
9441
 
9417
9442
  get step() {
9418
- return this.$$.ctx[12];
9443
+ return this.$$.ctx[13];
9419
9444
  }
9420
9445
 
9421
9446
  set step(step) {
@@ -9426,7 +9451,7 @@ class Input extends SvelteElement {
9426
9451
  }
9427
9452
 
9428
9453
  get prefix() {
9429
- return this.$$.ctx[13];
9454
+ return this.$$.ctx[14];
9430
9455
  }
9431
9456
 
9432
9457
  set prefix(prefix) {
@@ -9437,7 +9462,7 @@ class Input extends SvelteElement {
9437
9462
  }
9438
9463
 
9439
9464
  get suffix() {
9440
- return this.$$.ctx[14];
9465
+ return this.$$.ctx[15];
9441
9466
  }
9442
9467
 
9443
9468
  set suffix(suffix) {
@@ -9448,7 +9473,7 @@ class Input extends SvelteElement {
9448
9473
  }
9449
9474
 
9450
9475
  get showcounter() {
9451
- return this.$$.ctx[28];
9476
+ return this.$$.ctx[29];
9452
9477
  }
9453
9478
 
9454
9479
  set showcounter(showcounter) {
@@ -9459,7 +9484,7 @@ class Input extends SvelteElement {
9459
9484
  }
9460
9485
 
9461
9486
  get maxcharcount() {
9462
- return this.$$.ctx[15];
9487
+ return this.$$.ctx[16];
9463
9488
  }
9464
9489
 
9465
9490
  set maxcharcount(maxcharcount) {
@@ -14461,6 +14486,7 @@ const GoAInput = ({
14461
14486
  id,
14462
14487
  name,
14463
14488
  type,
14489
+ autoCapitalize,
14464
14490
  leadingIcon,
14465
14491
  trailingIcon,
14466
14492
  variant: _variant = 'goa',
@@ -14514,6 +14540,7 @@ const GoAInput = ({
14514
14540
  focused: focused,
14515
14541
  type: type,
14516
14542
  name: name,
14543
+ autocapitalize: autoCapitalize,
14517
14544
  id: id,
14518
14545
  leadingicon: leadingIcon,
14519
14546
  trailingicon: trailingIcon,